@golstats/gsc-game-data 1.0.228 → 1.0.229

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3572,11 +3572,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3572
3572
  `).slice(2):`
3573
3573
  `+Y.split(`
3574
3574
  `).map(function(le){return" "+le}).join(`
3575
- `)):Y=R.stylize("[Circular]","special")),k(G)){if(X&&H.match(/^\d+$/))return Y;(G=JSON.stringify(""+H)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(G=G.slice(1,-1),G=R.stylize(G,"name")):(G=G.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),G=R.stylize(G,"string"))}return G+": "+Y}function f(R){return Array.isArray(R)}function y(R){return typeof R=="boolean"}function w(R){return R===null}function x(R){return typeof R=="number"}function M(R){return typeof R=="string"}function k(R){return R===void 0}function C(R){return T(R)&&S(R)==="[object RegExp]"}function T(R){return typeof R=="object"&&R!==null}function A(R){return T(R)&&S(R)==="[object Date]"}function E(R){return T(R)&&(S(R)==="[object Error]"||R instanceof Error)}function B(R){return typeof R=="function"}function S(R){return Object.prototype.toString.call(R)}function L(R){return R<10?"0"+R.toString(10):R.toString(10)}m.debuglog=function(R){if(R=R.toUpperCase(),!_[R])if(b.test(R)){var j=v.pid;_[R]=function(){var q=m.format.apply(m,arguments);console.error("%s %d: %s",R,j,q)}}else _[R]=function(){};return _[R]},m.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},m.types=a(41088),m.isArray=f,m.isBoolean=y,m.isNull=w,m.isNullOrUndefined=function(R){return R==null},m.isNumber=x,m.isString=M,m.isSymbol=function(R){return typeof R=="symbol"},m.isUndefined=k,m.isRegExp=C,m.types.isRegExp=C,m.isObject=T,m.isDate=A,m.types.isDate=A,m.isError=E,m.types.isNativeError=E,m.isFunction=B,m.isPrimitive=function(R){return R===null||typeof R=="boolean"||typeof R=="number"||typeof R=="string"||typeof R=="symbol"||R===void 0},m.isBuffer=a(75272);var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(R,j){return Object.prototype.hasOwnProperty.call(R,j)}m.log=function(){var R,j;console.log("%s - %s",(j=[L((R=new Date).getHours()),L(R.getMinutes()),L(R.getSeconds())].join(":"),[R.getDate(),N[R.getMonth()],j].join(" ")),m.format.apply(m,arguments))},m.inherits=a(6768),m._extend=function(R,j){if(!j||!T(j))return R;for(var q=Object.keys(j),$=q.length;$--;)R[q[$]]=j[q[$]];return R};var z=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function V(R,j){if(!R){var q=new Error("Promise was rejected with a falsy value");q.reason=R,R=q}return j(R)}m.promisify=function(R){if(typeof R!="function")throw new TypeError('The "original" argument must be of type Function');if(z&&R[z]){var j;if(typeof(j=R[z])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(j,z,{value:j,enumerable:!1,writable:!1,configurable:!0}),j}function j(){for(var q,$,H=new Promise(function(Y,K){q=Y,$=K}),X=[],G=0;G<arguments.length;G++)X.push(arguments[G]);X.push(function(Y,K){Y?$(Y):q(K)});try{R.apply(this,X)}catch(Y){$(Y)}return H}return Object.setPrototypeOf(j,Object.getPrototypeOf(R)),z&&Object.defineProperty(j,z,{value:j,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(j,g(R))},m.promisify.custom=z,m.callbackify=function(R){if(typeof R!="function")throw new TypeError('The "original" argument must be of type Function');function j(){for(var q=[],$=0;$<arguments.length;$++)q.push(arguments[$]);var H=q.pop();if(typeof H!="function")throw new TypeError("The last argument must be of type Function");var X=this,G=function(){return H.apply(X,arguments)};R.apply(this,q).then(function(Y){v.nextTick(G.bind(null,null,Y))},function(Y){v.nextTick(V.bind(null,Y,G))})}return Object.setPrototypeOf(j,Object.getPrototypeOf(R)),Object.defineProperties(j,g(R)),j}},5408:function(h,m,a){var v=a(13380);h.exports=function(g){return v("webgl",g)}},96632:function(h,m,a){var v=a(46492),g=a(63436),i=a(57916),_=a(99676),b=a(2304),c=_("Object.prototype.toString"),s=a(46672)(),o=typeof globalThis>"u"?a.g:globalThis,l=g(),d=_("String.prototype.slice"),u=Object.getPrototypeOf,p=_("Array.prototype.indexOf",!0)||function(y,w){for(var x=0;x<y.length;x+=1)if(y[x]===w)return x;return-1},f={__proto__:null};v(l,s&&b&&u?function(y){var w=new o[y];if(Symbol.toStringTag in w){var x=u(w),M=b(x,Symbol.toStringTag);if(!M){var k=u(x);M=b(k,Symbol.toStringTag)}f["$"+y]=i(M.get)}}:function(y){var w=new o[y],x=w.slice||w.set;x&&(f["$"+y]=i(x))}),h.exports=function(y){if(!y||typeof y!="object")return!1;if(!s){var w=d(c(y),8,-1);return p(l,w)>-1?w:w==="Object"&&function(x){var M=!1;return v(f,function(k,C){if(!M)try{k(x),M=d(C,1)}catch{}}),M}(y)}return b?function(x){var M=!1;return v(f,function(k,C){if(!M)try{"$"+k(x)===C&&(M=d(C,1))}catch{}}),M}(y):null}},67020:function(h,m,a){var v=a(38700),g=a(50896),i=v.instance();function _(u){this.local=this.regionalOptions[u||""]||this.regionalOptions[""]}_.prototype=new v.baseCalendar,g(_.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(u,p){if(typeof u=="string"){var f=u.match(c);return f?f[0]:""}var y=this._validateYear(u),w=u.month(),x=""+this.toChineseMonth(y,w);return p&&x.length<2&&(x="0"+x),this.isIntercalaryMonth(y,w)&&(x+="i"),x},monthNames:function(u){if(typeof u=="string"){var p=u.match(s);return p?p[0]:""}var f=this._validateYear(u),y=u.month(),w=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][this.toChineseMonth(f,y)-1];return this.isIntercalaryMonth(f,y)&&(w="闰"+w),w},monthNamesShort:function(u){if(typeof u=="string"){var p=u.match(o);return p?p[0]:""}var f=this._validateYear(u),y=u.month(),w=["一","二","三","四","五","六","七","八","九","十","十一","十二"][this.toChineseMonth(f,y)-1];return this.isIntercalaryMonth(f,y)&&(w="闰"+w),w},parseMonth:function(u,p){u=this._validateYear(u);var f,y=parseInt(p);if(isNaN(y))p[0]==="闰"&&(f=!0,p=p.substring(1)),p[p.length-1]==="月"&&(p=p.substring(0,p.length-1)),y=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(p);else{var w=p[p.length-1];f=w==="i"||w==="I"}return this.toMonthIndex(u,y,f)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(u,p){if(u.year&&(u=u.year()),typeof u!="number"||u<1888||u>2111)throw p.replace(/\{0\}/,this.local.name);return u},toMonthIndex:function(u,p,f){var y=this.intercalaryMonth(u);if(f&&p!==y||p<1||p>12)throw v.local.invalidMonth.replace(/\{0\}/,this.local.name);return y?!f&&p<=y?p-1:p:p-1},toChineseMonth:function(u,p){u.year&&(p=(u=u.year()).month());var f=this.intercalaryMonth(u);if(p<0||p>(f?12:11))throw v.local.invalidMonth.replace(/\{0\}/,this.local.name);return f?p<f?p+1:p:p+1},intercalaryMonth:function(u){return u=this._validateYear(u),l[u-l[0]]>>13},isIntercalaryMonth:function(u,p){u.year&&(p=(u=u.year()).month());var f=this.intercalaryMonth(u);return!!f&&f===p},leapYear:function(u){return this.intercalaryMonth(u)!==0},weekOfYear:function(u,p,f){var y,w=this._validateYear(u,v.local.invalidyear),x=d[w-d[0]],M=x>>9&4095,k=x>>5&15,C=31&x;(y=i.newDate(M,k,C)).add(4-(y.dayOfWeek()||7),"d");var T=this.toJD(u,p,f)-y.toJD();return 1+Math.floor(T/7)},monthsInYear:function(u){return this.leapYear(u)?13:12},daysInMonth:function(u,p){u.year&&(p=u.month(),u=u.year()),u=this._validateYear(u);var f=l[u-l[0]];if(p>(f>>13?12:11))throw v.local.invalidMonth.replace(/\{0\}/,this.local.name);return f&1<<12-p?30:29},weekDay:function(u,p,f){return(this.dayOfWeek(u,p,f)||7)<6},toJD:function(u,p,f){var y=this._validate(u,x,f,v.local.invalidDate);u=this._validateYear(y.year()),p=y.month(),f=y.day();var w=this.isIntercalaryMonth(u,p),x=this.toChineseMonth(u,p),M=function(k,C,T,A,E){var B,S,L;if(typeof k=="object")S=k,B=C||{};else{var N;if(!(typeof k=="number"&&k>=1888&&k<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof C=="number"&&C>=1&&C<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof T=="number"&&T>=1&&T<=30))throw new Error("Lunar day outside range 1 - 30");typeof A=="object"?(N=!1,B=A):(N=!!A,B={}),S={year:k,month:C,day:T,isIntercalary:N}}L=S.day-1;var O,z=l[S.year-l[0]],V=z>>13;O=V&&(S.month>V||S.isIntercalary)?S.month:S.month-1;for(var R=0;R<O;R++)L+=z&1<<12-R?30:29;var j=d[S.year-d[0]],q=new Date(j>>9&4095,(j>>5&15)-1,(31&j)+L);return B.year=q.getFullYear(),B.month=1+q.getMonth(),B.day=q.getDate(),B}(u,x,f,w);return i.toJD(M.year,M.month,M.day)},fromJD:function(u){var p=i.fromJD(u),f=function(w,x,M,k){var C,T;if(typeof w=="object")C=w,T=x||{};else{if(!(typeof w=="number"&&w>=1888&&w<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof x=="number"&&x>=1&&x<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof M=="number"&&M>=1&&M<=31))throw new Error("Solar day outside range 1 - 31");C={year:w,month:x,day:M},T={}}var A=d[C.year-d[0]],E=C.year<<9|C.month<<5|C.day;T.year=E>=A?C.year:C.year-1,A=d[T.year-d[0]];var B,S=new Date(A>>9&4095,(A>>5&15)-1,31&A),L=new Date(C.year,C.month-1,C.day);B=Math.round((L-S)/864e5);var N,O=l[T.year-l[0]];for(N=0;N<13;N++){var z=O&1<<12-N?30:29;if(B<z)break;B-=z}var V=O>>13;return!V||N<V?(T.isIntercalary=!1,T.month=1+N):N===V?(T.isIntercalary=!0,T.month=N):(T.isIntercalary=!1,T.month=N),T.day=1+B,T}(p.year(),p.month(),p.day()),y=this.toMonthIndex(f.year,f.month,f.isIntercalary);return this.newDate(f.year,y,f.day)},fromString:function(u){var p=u.match(b),f=this._validateYear(+p[1]),y=+p[2],w=!!p[3],x=this.toMonthIndex(f,y,w),M=+p[4];return this.newDate(f,x,M)},add:function(u,p,f){var y=u.year(),w=u.month(),x=this.isIntercalaryMonth(y,w),M=this.toChineseMonth(y,w),k=Object.getPrototypeOf(_.prototype).add.call(this,u,p,f);if(f==="y"){var C=k.year(),T=k.month(),A=this.isIntercalaryMonth(C,M),E=x&&A?this.toMonthIndex(C,M,!0):this.toMonthIndex(C,M,!1);E!==T&&k.month(E)}return k}});var b=/^\s*(-?\d\d\d\d|\d\d)[-/](\d?\d)([iI]?)[-/](\d?\d)/m,c=/^\d?\d[iI]?/m,s=/^闰?十?[一二三四五六七八九]?月/m,o=/^闰?十?[一二三四五六七八九]?/m;v.calendars.chinese=_;var l=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],d=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904]},89792:function(h,m,a){var v=a(38700),g=a(50896);function i(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Coptic",jdEpoch:18250295e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Coptic",epochs:["BAM","AM"],monthNames:["Thout","Paopi","Hathor","Koiak","Tobi","Meshir","Paremhat","Paremoude","Pashons","Paoni","Epip","Mesori","Pi Kogi Enavot"],monthNamesShort:["Tho","Pao","Hath","Koi","Tob","Mesh","Pat","Pad","Pash","Pao","Epi","Meso","PiK"],dayNames:["Tkyriaka","Pesnau","Pshoment","Peftoou","Ptiou","Psoou","Psabbaton"],dayNamesShort:["Tky","Pes","Psh","Pef","Pti","Pso","Psa"],dayNamesMin:["Tk","Pes","Psh","Pef","Pt","Pso","Psa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(_){var b=this._validate(_,this.minMonth,this.minDay,v.local.invalidYear);return(_=b.year()+(b.year()<0?1:0))%4==3||_%4==-1},monthsInYear:function(_){return this._validate(_,this.minMonth,this.minDay,v.local.invalidYear||v.regionalOptions[""].invalidYear),13},weekOfYear:function(_,b,c){var s=this.newDate(_,b,c);return s.add(-s.dayOfWeek(),"d"),Math.floor((s.dayOfYear()-1)/7)+1},daysInMonth:function(_,b){var c=this._validate(_,b,this.minDay,v.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===13&&this.leapYear(c.year())?1:0)},weekDay:function(_,b,c){return(this.dayOfWeek(_,b,c)||7)<6},toJD:function(_,b,c){var s=this._validate(_,b,c,v.local.invalidDate);return(_=s.year())<0&&_++,s.day()+30*(s.month()-1)+365*(_-1)+Math.floor(_/4)+this.jdEpoch-1},fromJD:function(_){var b=Math.floor(_)+.5-this.jdEpoch,c=Math.floor((b-Math.floor((b+366)/1461))/365)+1;c<=0&&c--,b=Math.floor(_)+.5-this.newDate(c,1,1).toJD();var s=Math.floor(b/30)+1,o=b-30*(s-1)+1;return this.newDate(c,s,o)}}),v.calendars.coptic=i},55668:function(h,m,a){var v=a(38700),g=a(50896);function i(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Discworld",jdEpoch:17214255e-1,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Discworld",epochs:["BUC","UC"],monthNames:["Ick","Offle","February","March","April","May","June","Grune","August","Spune","Sektober","Ember","December"],monthNamesShort:["Ick","Off","Feb","Mar","Apr","May","Jun","Gru","Aug","Spu","Sek","Emb","Dec"],dayNames:["Sunday","Octeday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Oct","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Oc","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:2,isRTL:!1}},leapYear:function(b){return this._validate(b,this.minMonth,this.minDay,v.local.invalidYear),!1},monthsInYear:function(b){return this._validate(b,this.minMonth,this.minDay,v.local.invalidYear),13},daysInYear:function(b){return this._validate(b,this.minMonth,this.minDay,v.local.invalidYear),400},weekOfYear:function(b,c,s){var o=this.newDate(b,c,s);return o.add(-o.dayOfWeek(),"d"),Math.floor((o.dayOfYear()-1)/8)+1},daysInMonth:function(b,c){var s=this._validate(b,c,this.minDay,v.local.invalidMonth);return this.daysPerMonth[s.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(b,c,s){return(this._validate(b,c,s,v.local.invalidDate).day()+1)%8},weekDay:function(b,c,s){var o=this.dayOfWeek(b,c,s);return o>=2&&o<=6},extraInfo:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate);return{century:_[Math.floor((o.year()-1)/100)+1]||""}},toJD:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate);return b=o.year()+(o.year()<0?1:0),c=o.month(),(s=o.day())+(c>1?16:0)+(c>2?32*(c-2):0)+400*(b-1)+this.jdEpoch-1},fromJD:function(b){b=Math.floor(b+.5)-Math.floor(this.jdEpoch)-1;var c=Math.floor(b/400)+1;b-=400*(c-1),b+=b>15?16:0;var s=Math.floor(b/32)+1,o=b-32*(s-1)+1;return this.newDate(c<=0?c-1:c,s,o)}});var _={20:"Fruitbat",21:"Anchovy"};v.calendars.discworld=i},65168:function(h,m,a){var v=a(38700),g=a(50896);function i(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(_){var b=this._validate(_,this.minMonth,this.minDay,v.local.invalidYear);return(_=b.year()+(b.year()<0?1:0))%4==3||_%4==-1},monthsInYear:function(_){return this._validate(_,this.minMonth,this.minDay,v.local.invalidYear||v.regionalOptions[""].invalidYear),13},weekOfYear:function(_,b,c){var s=this.newDate(_,b,c);return s.add(-s.dayOfWeek(),"d"),Math.floor((s.dayOfYear()-1)/7)+1},daysInMonth:function(_,b){var c=this._validate(_,b,this.minDay,v.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===13&&this.leapYear(c.year())?1:0)},weekDay:function(_,b,c){return(this.dayOfWeek(_,b,c)||7)<6},toJD:function(_,b,c){var s=this._validate(_,b,c,v.local.invalidDate);return(_=s.year())<0&&_++,s.day()+30*(s.month()-1)+365*(_-1)+Math.floor(_/4)+this.jdEpoch-1},fromJD:function(_){var b=Math.floor(_)+.5-this.jdEpoch,c=Math.floor((b-Math.floor((b+366)/1461))/365)+1;c<=0&&c--,b=Math.floor(_)+.5-this.newDate(c,1,1).toJD();var s=Math.floor(b/30)+1,o=b-30*(s-1)+1;return this.newDate(c,s,o)}}),v.calendars.ethiopian=i},2084:function(h,m,a){var v=a(38700),g=a(50896);function i(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}function _(b,c){return b-c*Math.floor(b/c)}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(b){var c=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear);return this._leapYear(c.year())},_leapYear:function(b){return _(7*(b=b<0?b+1:b)+1,19)<7},monthsInYear:function(b){return this._validate(b,this.minMonth,this.minDay,v.local.invalidYear),this._leapYear(b.year?b.year():b)?13:12},weekOfYear:function(b,c,s){var o=this.newDate(b,c,s);return o.add(-o.dayOfWeek(),"d"),Math.floor((o.dayOfYear()-1)/7)+1},daysInYear:function(b){return b=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear).year(),this.toJD(b===-1?1:b+1,7,1)-this.toJD(b,7,1)},daysInMonth:function(b,c){return b.year&&(c=b.month(),b=b.year()),this._validate(b,c,this.minDay,v.local.invalidMonth),c===12&&this.leapYear(b)||c===8&&_(this.daysInYear(b),10)===5?30:c===9&&_(this.daysInYear(b),10)===3?29:this.daysPerMonth[c-1]},weekDay:function(b,c,s){return this.dayOfWeek(b,c,s)!==6},extraInfo:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate);return{yearType:(this.leapYear(o)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(o)%10-3]}},toJD:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate);b=o.year(),c=o.month(),s=o.day();var l=b<=0?b+1:b,d=this.jdEpoch+this._delay1(l)+this._delay2(l)+s+1;if(c<7){for(var u=7;u<=this.monthsInYear(b);u++)d+=this.daysInMonth(b,u);for(u=1;u<c;u++)d+=this.daysInMonth(b,u)}else for(u=7;u<c;u++)d+=this.daysInMonth(b,u);return d},_delay1:function(b){var c=Math.floor((235*b-234)/19),s=12084+13753*c,o=29*c+Math.floor(s/25920);return _(3*(o+1),7)<3&&o++,o},_delay2:function(b){var c=this._delay1(b-1),s=this._delay1(b);return this._delay1(b+1)-s==356?2:s-c==382?1:0},fromJD:function(b){b=Math.floor(b)+.5;for(var c=Math.floor(98496*(b-this.jdEpoch)/35975351)-1;b>=this.toJD(c===-1?1:c+1,7,1);)c++;for(var s=b<this.toJD(c,1,1)?7:1;b>this.toJD(c,s,this.daysInMonth(c,s));)s++;var o=b-this.toJD(c,s,1)+1;return this.newDate(c,s,o)}}),v.calendars.hebrew=i},26368:function(h,m,a){var v=a(38700),g=a(50896);function i(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(_){return(11*this._validate(_,this.minMonth,this.minDay,v.local.invalidYear).year()+14)%30<11},weekOfYear:function(_,b,c){var s=this.newDate(_,b,c);return s.add(-s.dayOfWeek(),"d"),Math.floor((s.dayOfYear()-1)/7)+1},daysInYear:function(_){return this.leapYear(_)?355:354},daysInMonth:function(_,b){var c=this._validate(_,b,this.minDay,v.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===12&&this.leapYear(c.year())?1:0)},weekDay:function(_,b,c){return this.dayOfWeek(_,b,c)!==5},toJD:function(_,b,c){var s=this._validate(_,b,c,v.local.invalidDate);return _=s.year(),b=s.month(),_=_<=0?_+1:_,(c=s.day())+Math.ceil(29.5*(b-1))+354*(_-1)+Math.floor((3+11*_)/30)+this.jdEpoch-1},fromJD:function(_){_=Math.floor(_)+.5;var b=Math.floor((30*(_-this.jdEpoch)+10646)/10631);b=b<=0?b-1:b;var c=Math.min(12,Math.ceil((_-29-this.toJD(b,1,1))/29.5)+1),s=_-this.toJD(b,c,1)+1;return this.newDate(b,c,s)}}),v.calendars.islamic=i},24747:function(h,m,a){var v=a(38700),g=a(50896);function i(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(_){var b=this._validate(_,this.minMonth,this.minDay,v.local.invalidYear);return(_=b.year()<0?b.year()+1:b.year())%4==0},weekOfYear:function(_,b,c){var s=this.newDate(_,b,c);return s.add(4-(s.dayOfWeek()||7),"d"),Math.floor((s.dayOfYear()-1)/7)+1},daysInMonth:function(_,b){var c=this._validate(_,b,this.minDay,v.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===2&&this.leapYear(c.year())?1:0)},weekDay:function(_,b,c){return(this.dayOfWeek(_,b,c)||7)<6},toJD:function(_,b,c){var s=this._validate(_,b,c,v.local.invalidDate);return _=s.year(),b=s.month(),c=s.day(),_<0&&_++,b<=2&&(_--,b+=12),Math.floor(365.25*(_+4716))+Math.floor(30.6001*(b+1))+c-1524.5},fromJD:function(_){var b=Math.floor(_+.5)+1524,c=Math.floor((b-122.1)/365.25),s=Math.floor(365.25*c),o=Math.floor((b-s)/30.6001),l=o-Math.floor(o<14?1:13),d=c-Math.floor(l>2?4716:4715),u=b-s-Math.floor(30.6001*o);return d<=0&&d--,this.newDate(d,l,u)}}),v.calendars.julian=i},65616:function(h,m,a){var v=a(38700),g=a(50896);function i(c){this.local=this.regionalOptions[c||""]||this.regionalOptions[""]}function _(c,s){return c-s*Math.floor(c/s)}function b(c,s){return _(c-1,s)+1}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(c){return this._validate(c,this.minMonth,this.minDay,v.local.invalidYear),!1},formatYear:function(c){c=this._validate(c,this.minMonth,this.minDay,v.local.invalidYear).year();var s=Math.floor(c/400);return c%=400,c+=c<0?400:0,s+"."+Math.floor(c/20)+"."+c%20},forYear:function(c){if((c=c.split(".")).length<3)throw"Invalid Mayan year";for(var s=0,o=0;o<c.length;o++){var l=parseInt(c[o],10);if(Math.abs(l)>19||o>0&&l<0)throw"Invalid Mayan year";s=20*s+l}return s},monthsInYear:function(c){return this._validate(c,this.minMonth,this.minDay,v.local.invalidYear),18},weekOfYear:function(c,s,o){return this._validate(c,s,o,v.local.invalidDate),0},daysInYear:function(c){return this._validate(c,this.minMonth,this.minDay,v.local.invalidYear),360},daysInMonth:function(c,s){return this._validate(c,s,this.minDay,v.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(c,s,o){return this._validate(c,s,o,v.local.invalidDate).day()},weekDay:function(c,s,o){return this._validate(c,s,o,v.local.invalidDate),!0},extraInfo:function(c,s,o){var l=this._validate(c,s,o,v.local.invalidDate).toJD(),d=this._toHaab(l),u=this._toTzolkin(l);return{haabMonthName:this.local.haabMonths[d[0]-1],haabMonth:d[0],haabDay:d[1],tzolkinDayName:this.local.tzolkinMonths[u[0]-1],tzolkinDay:u[0],tzolkinTrecena:u[1]}},_toHaab:function(c){var s=_(8+(c-=this.jdEpoch)+340,365);return[Math.floor(s/20)+1,_(s,20)]},_toTzolkin:function(c){return[b(20+(c-=this.jdEpoch),20),b(c+4,13)]},toJD:function(c,s,o){var l=this._validate(c,s,o,v.local.invalidDate);return l.day()+20*l.month()+360*l.year()+this.jdEpoch},fromJD:function(c){c=Math.floor(c)+.5-this.jdEpoch;var s=Math.floor(c/360);c%=360,c+=c<0?360:0;var o=Math.floor(c/20),l=c%20;return this.newDate(s,o,l)}}),v.calendars.mayan=i},30632:function(h,m,a){var v=a(38700),g=a(50896);function i(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar;var _=v.instance("gregorian");g(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(b){var c=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear||v.regionalOptions[""].invalidYear);return _.leapYear(c.year()+(c.year()<1?1:0)+1469)},weekOfYear:function(b,c,s){var o=this.newDate(b,c,s);return o.add(1-(o.dayOfWeek()||7),"d"),Math.floor((o.dayOfYear()-1)/7)+1},daysInMonth:function(b,c){var s=this._validate(b,c,this.minDay,v.local.invalidMonth);return this.daysPerMonth[s.month()-1]+(s.month()===12&&this.leapYear(s.year())?1:0)},weekDay:function(b,c,s){return(this.dayOfWeek(b,c,s)||7)<6},toJD:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidMonth);(b=o.year())<0&&b++;for(var l=o.day(),d=1;d<o.month();d++)l+=this.daysPerMonth[d-1];return l+_.toJD(b+1468,3,13)},fromJD:function(b){b=Math.floor(b+.5);for(var c=Math.floor((b-(this.jdEpoch-1))/366);b>=this.toJD(c+1,1,1);)c++;for(var s=b-Math.floor(this.toJD(c,1,1)+.5)+1,o=1;s>this.daysInMonth(c,o);)s-=this.daysInMonth(c,o),o++;return this.newDate(c,o,s)}}),v.calendars.nanakshahi=i},73040:function(h,m,a){var v=a(38700),g=a(50896);function i(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(_){return this.daysInYear(_)!==this.daysPerYear},weekOfYear:function(_,b,c){var s=this.newDate(_,b,c);return s.add(-s.dayOfWeek(),"d"),Math.floor((s.dayOfYear()-1)/7)+1},daysInYear:function(_){if(_=this._validate(_,this.minMonth,this.minDay,v.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[_]===void 0)return this.daysPerYear;for(var b=0,c=this.minMonth;c<=12;c++)b+=this.NEPALI_CALENDAR_DATA[_][c];return b},daysInMonth:function(_,b){return _.year&&(b=_.month(),_=_.year()),this._validate(_,b,this.minDay,v.local.invalidMonth),this.NEPALI_CALENDAR_DATA[_]===void 0?this.daysPerMonth[b-1]:this.NEPALI_CALENDAR_DATA[_][b]},weekDay:function(_,b,c){return this.dayOfWeek(_,b,c)!==6},toJD:function(_,b,c){var s=this._validate(_,b,c,v.local.invalidDate);_=s.year(),b=s.month(),c=s.day();var o=v.instance(),l=0,d=b,u=_;this._createMissingCalendarData(_);var p=_-(d>9||d===9&&c>=this.NEPALI_CALENDAR_DATA[u][0]?56:57);for(b!==9&&(l=c,d--);d!==9;)d<=0&&(d=12,u--),l+=this.NEPALI_CALENDAR_DATA[u][d],d--;return b===9?(l+=c-this.NEPALI_CALENDAR_DATA[u][0])<0&&(l+=o.daysInYear(p)):l+=this.NEPALI_CALENDAR_DATA[u][9]-this.NEPALI_CALENDAR_DATA[u][0],o.newDate(p,1,1).add(l,"d").toJD()},fromJD:function(_){var b=v.instance().fromJD(_),c=b.year(),s=b.dayOfYear(),o=c+56;this._createMissingCalendarData(o);for(var l=9,d=this.NEPALI_CALENDAR_DATA[o][0],u=this.NEPALI_CALENDAR_DATA[o][l]-d+1;s>u;)++l>12&&(l=1,o++),u+=this.NEPALI_CALENDAR_DATA[o][l];var p=this.NEPALI_CALENDAR_DATA[o][l]-(u-s);return this.newDate(o,l,p)},_createMissingCalendarData:function(_){var b=this.daysPerMonth.slice(0);b.unshift(17);for(var c=_-1;c<_+2;c++)this.NEPALI_CALENDAR_DATA[c]===void 0&&(this.NEPALI_CALENDAR_DATA[c]=b)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}}),v.calendars.nepali=i},1104:function(h,m,a){var v=a(38700),g=a(50896);function i(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}function _(b,c){return b-c*Math.floor(b/c)}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Persian",jdEpoch:19483205e-1,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Persian",epochs:["BP","AP"],monthNames:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Day","Bahman","Esfand"],monthNamesShort:["Far","Ord","Kho","Tir","Mor","Sha","Meh","Aba","Aza","Day","Bah","Esf"],dayNames:["Yekshambe","Doshambe","Seshambe","Chæharshambe","Panjshambe","Jom'e","Shambe"],dayNamesShort:["Yek","Do","Se","Chæ","Panj","Jom","Sha"],dayNamesMin:["Ye","Do","Se","Ch","Pa","Jo","Sh"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(b){var c=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear);return 682*((c.year()-(c.year()>0?474:473))%2820+474+38)%2816<682},weekOfYear:function(b,c,s){var o=this.newDate(b,c,s);return o.add(-(o.dayOfWeek()+1)%7,"d"),Math.floor((o.dayOfYear()-1)/7)+1},daysInMonth:function(b,c){var s=this._validate(b,c,this.minDay,v.local.invalidMonth);return this.daysPerMonth[s.month()-1]+(s.month()===12&&this.leapYear(s.year())?1:0)},weekDay:function(b,c,s){return this.dayOfWeek(b,c,s)!==5},toJD:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate);b=o.year(),c=o.month(),s=o.day();var l=b-(b>=0?474:473),d=474+_(l,2820);return s+(c<=7?31*(c-1):30*(c-1)+6)+Math.floor((682*d-110)/2816)+365*(d-1)+1029983*Math.floor(l/2820)+this.jdEpoch-1},fromJD:function(b){var c=(b=Math.floor(b)+.5)-this.toJD(475,1,1),s=Math.floor(c/1029983),o=_(c,1029983),l=2820;if(o!==1029982){var d=Math.floor(o/366),u=_(o,366);l=Math.floor((2134*d+2816*u+2815)/1028522)+d+1}var p=l+2820*s+474;p=p<=0?p-1:p;var f=b-this.toJD(p,1,1)+1,y=f<=186?Math.ceil(f/31):Math.ceil((f-6)/30),w=b-this.toJD(p,y,1)+1;return this.newDate(p,y,w)}}),v.calendars.persian=i,v.calendars.jalali=i},51456:function(h,m,a){var v=a(38700),g=a(50896),i=v.instance();function _(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}_.prototype=new v.baseCalendar,g(_.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(b){var c=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear);return b=this._t2gYear(c.year()),i.leapYear(b)},weekOfYear:function(b,c,s){var o=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear);return b=this._t2gYear(o.year()),i.weekOfYear(b,o.month(),o.day())},daysInMonth:function(b,c){var s=this._validate(b,c,this.minDay,v.local.invalidMonth);return this.daysPerMonth[s.month()-1]+(s.month()===2&&this.leapYear(s.year())?1:0)},weekDay:function(b,c,s){return(this.dayOfWeek(b,c,s)||7)<6},toJD:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate);return b=this._t2gYear(o.year()),i.toJD(b,o.month(),o.day())},fromJD:function(b){var c=i.fromJD(b),s=this._g2tYear(c.year());return this.newDate(s,c.month(),c.day())},_t2gYear:function(b){return b+this.yearsOffset+(b>=-this.yearsOffset&&b<=-1?1:0)},_g2tYear:function(b){return b-this.yearsOffset-(b>=1&&b<=this.yearsOffset?1:0)}}),v.calendars.taiwan=_},4592:function(h,m,a){var v=a(38700),g=a(50896),i=v.instance();function _(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}_.prototype=new v.baseCalendar,g(_.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(b){var c=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear);return b=this._t2gYear(c.year()),i.leapYear(b)},weekOfYear:function(b,c,s){var o=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear);return b=this._t2gYear(o.year()),i.weekOfYear(b,o.month(),o.day())},daysInMonth:function(b,c){var s=this._validate(b,c,this.minDay,v.local.invalidMonth);return this.daysPerMonth[s.month()-1]+(s.month()===2&&this.leapYear(s.year())?1:0)},weekDay:function(b,c,s){return(this.dayOfWeek(b,c,s)||7)<6},toJD:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate);return b=this._t2gYear(o.year()),i.toJD(b,o.month(),o.day())},fromJD:function(b){var c=i.fromJD(b),s=this._g2tYear(c.year());return this.newDate(s,c.month(),c.day())},_t2gYear:function(b){return b-this.yearsOffset-(b>=1&&b<=this.yearsOffset?1:0)},_g2tYear:function(b){return b+this.yearsOffset+(b>=-this.yearsOffset&&b<=-1?1:0)}}),v.calendars.thai=_},45348:function(h,m,a){var v=a(38700),g=a(50896);function i(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar,g(i.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(b){var c=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear);return this.daysInYear(c.year())===355},weekOfYear:function(b,c,s){var o=this.newDate(b,c,s);return o.add(-o.dayOfWeek(),"d"),Math.floor((o.dayOfYear()-1)/7)+1},daysInYear:function(b){for(var c=0,s=1;s<=12;s++)c+=this.daysInMonth(b,s);return c},daysInMonth:function(b,c){for(var s=this._validate(b,c,this.minDay,v.local.invalidMonth).toJD()-24e5+.5,o=0,l=0;l<_.length;l++){if(_[l]>s)return _[o]-_[o-1];o++}return 30},weekDay:function(b,c,s){return this.dayOfWeek(b,c,s)!==5},toJD:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate),l=12*(o.year()-1)+o.month()-15292;return o.day()+_[l-1]-1+24e5-.5},fromJD:function(b){for(var c=b-24e5+.5,s=0,o=0;o<_.length&&!(_[o]>c);o++)s++;var l=s+15292,d=Math.floor((l-1)/12),u=d+1,p=l-12*d,f=c-_[s-1]+1;return this.newDate(u,p,f)},isValid:function(b,c,s){var o=v.baseCalendar.prototype.isValid.apply(this,arguments);return o&&(o=(b=b.year!=null?b.year:b)>=1276&&b<=1500),o},_validate:function(b,c,s,o){var l=v.baseCalendar.prototype._validate.apply(this,arguments);if(l.year<1276||l.year>1500)throw o.replace(/\{0\}/,this.local.name);return l}}),v.calendars.ummalqura=i;var _=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},38700:function(h,m,a){var v=a(50896);function g(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function i(o,l,d,u){if(this._calendar=o,this._year=l,this._month=d,this._day=u,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(s.local.invalidDate||s.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function _(o,l){return"000000".substring(0,l-(o=""+o).length)+o}function b(){this.shortYearCutoff="+10"}function c(o){this.local=this.regionalOptions[o]||this.regionalOptions[""]}v(g.prototype,{instance:function(o,l){o=(o||"gregorian").toLowerCase(),l=l||"";var d=this._localCals[o+"-"+l];if(!d&&this.calendars[o]&&(d=new this.calendars[o](l),this._localCals[o+"-"+l]=d),!d)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,o);return d},newDate:function(o,l,d,u,p){return(u=(o!=null&&o.year?o.calendar():typeof u=="string"?this.instance(u,p):u)||this.instance()).newDate(o,l,d)},substituteDigits:function(o){return function(l){return(l+"").replace(/[0-9]/g,function(d){return o[d]})}},substituteChineseDigits:function(o,l){return function(d){for(var u="",p=0;d>0;){var f=d%10;u=(f===0?"":o[f]+l[p])+u,p++,d=Math.floor(d/10)}return u.indexOf(o[1]+l[1])===0&&(u=u.substr(1)),u||o[0]}}}),v(i.prototype,{newDate:function(o,l,d){return this._calendar.newDate(o??this,l,d)},year:function(o){return arguments.length===0?this._year:this.set(o,"y")},month:function(o){return arguments.length===0?this._month:this.set(o,"m")},day:function(o){return arguments.length===0?this._day:this.set(o,"d")},date:function(o,l,d){if(!this._calendar.isValid(o,l,d))throw(s.local.invalidDate||s.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=o,this._month=l,this._day=d,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(o,l){return this._calendar.add(this,o,l)},set:function(o,l){return this._calendar.set(this,o,l)},compareTo:function(o){if(this._calendar.name!==o._calendar.name)throw(s.local.differentCalendars||s.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,o._calendar.local.name);var l=this._year!==o._year?this._year-o._year:this._month!==o._month?this.monthOfYear()-o.monthOfYear():this._day-o._day;return l===0?0:l<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(o){return this._calendar.fromJD(o)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(o){return this._calendar.fromJSDate(o)},toString:function(){return(this.year()<0?"-":"")+_(Math.abs(this.year()),4)+"-"+_(this.month(),2)+"-"+_(this.day(),2)}}),v(b.prototype,{_validateLevel:0,newDate:function(o,l,d){return o==null?this.today():(o.year&&(this._validate(o,l,d,s.local.invalidDate||s.regionalOptions[""].invalidDate),d=o.day(),l=o.month(),o=o.year()),new i(this,o,l,d))},today:function(){return this.fromJSDate(new Date)},epoch:function(o){return this._validate(o,this.minMonth,this.minDay,s.local.invalidYear||s.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(o){var l=this._validate(o,this.minMonth,this.minDay,s.local.invalidYear||s.regionalOptions[""].invalidYear);return(l.year()<0?"-":"")+_(Math.abs(l.year()),4)},monthsInYear:function(o){return this._validate(o,this.minMonth,this.minDay,s.local.invalidYear||s.regionalOptions[""].invalidYear),12},monthOfYear:function(o,l){var d=this._validate(o,l,this.minDay,s.local.invalidMonth||s.regionalOptions[""].invalidMonth);return(d.month()+this.monthsInYear(d)-this.firstMonth)%this.monthsInYear(d)+this.minMonth},fromMonthOfYear:function(o,l){var d=(l+this.firstMonth-2*this.minMonth)%this.monthsInYear(o)+this.minMonth;return this._validate(o,d,this.minDay,s.local.invalidMonth||s.regionalOptions[""].invalidMonth),d},daysInYear:function(o){var l=this._validate(o,this.minMonth,this.minDay,s.local.invalidYear||s.regionalOptions[""].invalidYear);return this.leapYear(l)?366:365},dayOfYear:function(o,l,d){var u=this._validate(o,l,d,s.local.invalidDate||s.regionalOptions[""].invalidDate);return u.toJD()-this.newDate(u.year(),this.fromMonthOfYear(u.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(o,l,d){var u=this._validate(o,l,d,s.local.invalidDate||s.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(u))+2)%this.daysInWeek()},extraInfo:function(o,l,d){return this._validate(o,l,d,s.local.invalidDate||s.regionalOptions[""].invalidDate),{}},add:function(o,l,d){return this._validate(o,this.minMonth,this.minDay,s.local.invalidDate||s.regionalOptions[""].invalidDate),this._correctAdd(o,this._add(o,l,d),l,d)},_add:function(o,l,d){if(this._validateLevel++,d==="d"||d==="w"){var u=o.toJD()+l*(d==="w"?this.daysInWeek():1),p=o.calendar().fromJD(u);return this._validateLevel--,[p.year(),p.month(),p.day()]}try{var f=o.year()+(d==="y"?l:0),y=o.monthOfYear()+(d==="m"?l:0);p=o.day(),d==="y"?(o.month()!==this.fromMonthOfYear(f,y)&&(y=this.newDate(f,o.month(),this.minDay).monthOfYear()),y=Math.min(y,this.monthsInYear(f)),p=Math.min(p,this.daysInMonth(f,this.fromMonthOfYear(f,y)))):d==="m"&&(function(x){for(;y<x.minMonth;)f--,y+=x.monthsInYear(f);for(var M=x.monthsInYear(f);y>M-1+x.minMonth;)f++,y-=M,M=x.monthsInYear(f)}(this),p=Math.min(p,this.daysInMonth(f,this.fromMonthOfYear(f,y))));var w=[f,this.fromMonthOfYear(f,y),p];return this._validateLevel--,w}catch(x){throw this._validateLevel--,x}},_correctAdd:function(o,l,d,u){if(!(this.hasYearZero||u!=="y"&&u!=="m"||l[0]!==0&&o.year()>0==l[0]>0)){var p={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[u],f=d<0?-1:1;l=this._add(o,d*p[0]+f*p[1],p[2])}return o.date(l[0],l[1],l[2])},set:function(o,l,d){this._validate(o,this.minMonth,this.minDay,s.local.invalidDate||s.regionalOptions[""].invalidDate);var u=d==="y"?l:o.year(),p=d==="m"?l:o.month(),f=d==="d"?l:o.day();return d!=="y"&&d!=="m"||(f=Math.min(f,this.daysInMonth(u,p))),o.date(u,p,f)},isValid:function(o,l,d){this._validateLevel++;var u=this.hasYearZero||o!==0;if(u){var p=this.newDate(o,l,this.minDay);u=l>=this.minMonth&&l-this.minMonth<this.monthsInYear(p)&&d>=this.minDay&&d-this.minDay<this.daysInMonth(p)}return this._validateLevel--,u},toJSDate:function(o,l,d){var u=this._validate(o,l,d,s.local.invalidDate||s.regionalOptions[""].invalidDate);return s.instance().fromJD(this.toJD(u)).toJSDate()},fromJSDate:function(o){return this.fromJD(s.instance().fromJSDate(o).toJD())},_validate:function(o,l,d,u){if(o.year){if(this._validateLevel===0&&this.name!==o.calendar().name)throw(s.local.differentCalendars||s.regionalOptions[""].differentCalendars).replace(/\{0\}/,this.local.name).replace(/\{1\}/,o.calendar().local.name);return o}try{if(this._validateLevel++,this._validateLevel===1&&!this.isValid(o,l,d))throw u.replace(/\{0\}/,this.local.name);var p=this.newDate(o,l,d);return this._validateLevel--,p}catch(f){throw this._validateLevel--,f}}}),c.prototype=new b,v(c.prototype,{name:"Gregorian",jdEpoch:17214255e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Gregorian",epochs:["BCE","CE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(o){var l=this._validate(o,this.minMonth,this.minDay,s.local.invalidYear||s.regionalOptions[""].invalidYear);return(o=l.year()+(l.year()<0?1:0))%4==0&&(o%100!=0||o%400==0)},weekOfYear:function(o,l,d){var u=this.newDate(o,l,d);return u.add(4-(u.dayOfWeek()||7),"d"),Math.floor((u.dayOfYear()-1)/7)+1},daysInMonth:function(o,l){var d=this._validate(o,l,this.minDay,s.local.invalidMonth||s.regionalOptions[""].invalidMonth);return this.daysPerMonth[d.month()-1]+(d.month()===2&&this.leapYear(d.year())?1:0)},weekDay:function(o,l,d){return(this.dayOfWeek(o,l,d)||7)<6},toJD:function(o,l,d){var u=this._validate(o,l,d,s.local.invalidDate||s.regionalOptions[""].invalidDate);o=u.year(),l=u.month(),d=u.day(),o<0&&o++,l<3&&(l+=12,o--);var p=Math.floor(o/100),f=2-p+Math.floor(p/4);return Math.floor(365.25*(o+4716))+Math.floor(30.6001*(l+1))+d+f-1524.5},fromJD:function(o){var l=Math.floor(o+.5),d=Math.floor((l-186721625e-2)/36524.25),u=1524+(d=l+1+d-Math.floor(d/4)),p=Math.floor((u-122.1)/365.25),f=Math.floor(365.25*p),y=Math.floor((u-f)/30.6001),w=u-f-Math.floor(30.6001*y),x=y-(y>13.5?13:1),M=p-(x>2.5?4716:4715);return M<=0&&M--,this.newDate(M,x,w)},toJSDate:function(o,l,d){var u=this._validate(o,l,d,s.local.invalidDate||s.regionalOptions[""].invalidDate),p=new Date(u.year(),u.month()-1,u.day());return p.setHours(0),p.setMinutes(0),p.setSeconds(0),p.setMilliseconds(0),p.setHours(p.getHours()>12?p.getHours()+2:0),p},fromJSDate:function(o){return this.newDate(o.getFullYear(),o.getMonth()+1,o.getDate())}});var s=h.exports=new g;s.cdate=i,s.baseCalendar=b,s.calendars.gregorian=c},15168:function(h,m,a){var v=a(50896),g=a(38700);v(g.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),g.local=g.regionalOptions[""],v(g.cdate.prototype,{formatDate:function(i,_){return typeof i!="string"&&(_=i,i=""),this._calendar.formatDate(i||"",this,_)}}),v(g.baseCalendar.prototype,{UNIX_EPOCH:g.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:g.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(i,_,b){if(typeof i!="string"&&(b=_,_=i,i=""),!_)return"";if(_.calendar()!==this)throw g.local.invalidFormat||g.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat;for(var c,s,o,l=(b=b||{}).dayNamesShort||this.local.dayNamesShort,d=b.dayNames||this.local.dayNames,u=b.monthNumbers||this.local.monthNumbers,p=b.monthNamesShort||this.local.monthNamesShort,f=b.monthNames||this.local.monthNames,y=(b.calculateWeek||this.local.calculateWeek,function(S,L){for(var N=1;B+N<i.length&&i.charAt(B+N)===S;)N++;return B+=N-1,Math.floor(N/(L||1))>1}),w=function(S,L,N,O){var z=""+L;if(y(S,O))for(;z.length<N;)z="0"+z;return z},x=this,M=function(S){return typeof u=="function"?u.call(x,S,y("m")):T(w("m",S.month(),2))},k=function(S,L){return L?typeof f=="function"?f.call(x,S):f[S.month()-x.minMonth]:typeof p=="function"?p.call(x,S):p[S.month()-x.minMonth]},C=this.local.digits,T=function(S){return b.localNumbers&&C?C(S):S},A="",E=!1,B=0;B<i.length;B++)if(E)i.charAt(B)!=="'"||y("'")?A+=i.charAt(B):E=!1;else switch(i.charAt(B)){case"d":A+=T(w("d",_.day(),2));break;case"D":A+=(c=_.dayOfWeek(),s=l,o=d,y("D")?o[c]:s[c]);break;case"o":A+=w("o",_.dayOfYear(),3);break;case"w":A+=w("w",_.weekOfYear(),2);break;case"m":A+=M(_);break;case"M":A+=k(_,y("M"));break;case"y":A+=y("y",2)?_.year():(_.year()%100<10?"0":"")+_.year()%100;break;case"Y":y("Y",2),A+=_.formatYear();break;case"J":A+=_.toJD();break;case"@":A+=(_.toJD()-this.UNIX_EPOCH)*this.SECS_PER_DAY;break;case"!":A+=(_.toJD()-this.TICKS_EPOCH)*this.TICKS_PER_DAY;break;case"'":y("'")?A+="'":E=!0;break;default:A+=i.charAt(B)}return A},parseDate:function(i,_,b){if(_==null)throw g.local.invalidArguments||g.regionalOptions[""].invalidArguments;if((_=typeof _=="object"?_.toString():_+"")==="")return null;i=i||this.local.dateFormat;var c=(b=b||{}).shortYearCutoff||this.shortYearCutoff;c=typeof c!="string"?c:this.today().year()%100+parseInt(c,10);for(var s=b.dayNamesShort||this.local.dayNamesShort,o=b.dayNames||this.local.dayNames,l=b.parseMonth||this.local.parseMonth,d=b.monthNumbers||this.local.monthNumbers,u=b.monthNamesShort||this.local.monthNamesShort,p=b.monthNames||this.local.monthNames,f=-1,y=-1,w=-1,x=-1,M=-1,k=!1,C=!1,T=function(j,q){for(var $=1;z+$<i.length&&i.charAt(z+$)===j;)$++;return z+=$-1,Math.floor($/(q||1))>1},A=function(j,q){var $=T(j,q),H=[2,3,$?4:2,$?4:2,10,11,20]["oyYJ@!".indexOf(j)+1],X=new RegExp("^-?\\d{1,"+H+"}"),G=_.substring(O).match(X);if(!G)throw(g.local.missingNumberAt||g.regionalOptions[""].missingNumberAt).replace(/\{0\}/,O);return O+=G[0].length,parseInt(G[0],10)},E=this,B=function(){if(typeof d=="function"){T("m");var j=d.call(E,_.substring(O));return O+=j.length,j}return A("m")},S=function(j,q,$,H){for(var X=T(j,H)?$:q,G=0;G<X.length;G++)if(_.substr(O,X[G].length).toLowerCase()===X[G].toLowerCase())return O+=X[G].length,G+E.minMonth;throw(g.local.unknownNameAt||g.regionalOptions[""].unknownNameAt).replace(/\{0\}/,O)},L=function(){if(typeof p=="function"){var j=T("M")?p.call(E,_.substring(O)):u.call(E,_.substring(O));return O+=j.length,j}return S("M",u,p)},N=function(){if(_.charAt(O)!==i.charAt(z))throw(g.local.unexpectedLiteralAt||g.regionalOptions[""].unexpectedLiteralAt).replace(/\{0\}/,O);O++},O=0,z=0;z<i.length;z++)if(C)i.charAt(z)!=="'"||T("'")?N():C=!1;else switch(i.charAt(z)){case"d":x=A("d");break;case"D":S("D",s,o);break;case"o":M=A("o");break;case"w":A("w");break;case"m":w=B();break;case"M":w=L();break;case"y":var V=z;k=!T("y",2),z=V,y=A("y",2);break;case"Y":y=A("Y",2);break;case"J":f=A("J")+.5,_.charAt(O)==="."&&(O++,A("J"));break;case"@":f=A("@")/this.SECS_PER_DAY+this.UNIX_EPOCH;break;case"!":f=A("!")/this.TICKS_PER_DAY+this.TICKS_EPOCH;break;case"*":O=_.length;break;case"'":T("'")?N():C=!0;break;default:N()}if(O<_.length)throw g.local.unexpectedText||g.regionalOptions[""].unexpectedText;if(y===-1?y=this.today().year():y<100&&k&&(y+=c===-1?1900:this.today().year()-this.today().year()%100-(y<=c?0:100)),typeof w=="string"&&(w=l.call(this,y,w)),M>-1){w=1,x=M;for(var R=this.daysInMonth(y,w);x>R;R=this.daysInMonth(y,w))w++,x-=R}return f>-1?this.fromJD(f):this.newDate(y,w,x)},determineDate:function(i,_,b,c,s){b&&typeof b!="object"&&(s=c,c=b,b=null),typeof c!="string"&&(s=c,c="");var o=this;return _=_?_.newDate():null,i==null?_:typeof i=="string"?function(l){try{return o.parseDate(c,l,s)}catch{}for(var d=((l=l.toLowerCase()).match(/^c/)&&b?b.newDate():null)||o.today(),u=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,p=u.exec(l);p;)d.add(parseInt(p[1],10),p[2]||"d"),p=u.exec(l);return d}(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?_:o.today().add(i,"d"):o.newDate(i)}})},21576:function(){},19768:function(){},63436:function(h,m,a){var v=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],g=typeof globalThis>"u"?a.g:globalThis;h.exports=function(){for(var i=[],_=0;_<v.length;_++)typeof g[v[_]]=="function"&&(i[i.length]=v[_]);return i}},67756:function(h,m,a){function v(me,ye,be){me.prototype=ye.prototype=be,be.constructor=me}function g(me,ye){var be=Object.create(me.prototype);for(var we in ye)be[we]=ye[we];return be}function i(){}a.d(m,{qy:function(){return fe},Gz:function(){return oe}});var _=.7,b=1/_,c="\\s*([+-]?\\d+)\\s*",s="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",o="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,d=new RegExp("^rgb\\(".concat(c,",").concat(c,",").concat(c,"\\)$")),u=new RegExp("^rgb\\(".concat(o,",").concat(o,",").concat(o,"\\)$")),p=new RegExp("^rgba\\(".concat(c,",").concat(c,",").concat(c,",").concat(s,"\\)$")),f=new RegExp("^rgba\\(".concat(o,",").concat(o,",").concat(o,",").concat(s,"\\)$")),y=new RegExp("^hsl\\(".concat(s,",").concat(o,",").concat(o,"\\)$")),w=new RegExp("^hsla\\(".concat(s,",").concat(o,",").concat(o,",").concat(s,"\\)$")),x={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function M(){return this.rgb().formatHex()}function k(){return this.rgb().formatRgb()}function C(me){var ye,be;return me=(me+"").trim().toLowerCase(),(ye=l.exec(me))?(be=ye[1].length,ye=parseInt(ye[1],16),be===6?T(ye):be===3?new B(ye>>8&15|ye>>4&240,ye>>4&15|240&ye,(15&ye)<<4|15&ye,1):be===8?A(ye>>24&255,ye>>16&255,ye>>8&255,(255&ye)/255):be===4?A(ye>>12&15|ye>>8&240,ye>>8&15|ye>>4&240,ye>>4&15|240&ye,((15&ye)<<4|15&ye)/255):null):(ye=d.exec(me))?new B(ye[1],ye[2],ye[3],1):(ye=u.exec(me))?new B(255*ye[1]/100,255*ye[2]/100,255*ye[3]/100,1):(ye=p.exec(me))?A(ye[1],ye[2],ye[3],ye[4]):(ye=f.exec(me))?A(255*ye[1]/100,255*ye[2]/100,255*ye[3]/100,ye[4]):(ye=y.exec(me))?V(ye[1],ye[2]/100,ye[3]/100,1):(ye=w.exec(me))?V(ye[1],ye[2]/100,ye[3]/100,ye[4]):x.hasOwnProperty(me)?T(x[me]):me==="transparent"?new B(NaN,NaN,NaN,0):null}function T(me){return new B(me>>16&255,me>>8&255,255&me,1)}function A(me,ye,be,we){return we<=0&&(me=ye=be=NaN),new B(me,ye,be,we)}function E(me,ye,be,we){return arguments.length===1?((Se=me)instanceof i||(Se=C(Se)),Se?new B((Se=Se.rgb()).r,Se.g,Se.b,Se.opacity):new B):new B(me,ye,be,we??1);var Se}function B(me,ye,be,we){this.r=+me,this.g=+ye,this.b=+be,this.opacity=+we}function S(){return"#".concat(z(this.r)).concat(z(this.g)).concat(z(this.b))}function L(){var me=N(this.opacity);return"".concat(me===1?"rgb(":"rgba(").concat(O(this.r),", ").concat(O(this.g),", ").concat(O(this.b)).concat(me===1?")":", ".concat(me,")"))}function N(me){return isNaN(me)?1:Math.max(0,Math.min(1,me))}function O(me){return Math.max(0,Math.min(255,Math.round(me)||0))}function z(me){return((me=O(me))<16?"0":"")+me.toString(16)}function V(me,ye,be,we){return we<=0?me=ye=be=NaN:be<=0||be>=1?me=ye=NaN:ye<=0&&(me=NaN),new j(me,ye,be,we)}function R(me){if(me instanceof j)return new j(me.h,me.s,me.l,me.opacity);if(me instanceof i||(me=C(me)),!me)return new j;if(me instanceof j)return me;var ye=(me=me.rgb()).r/255,be=me.g/255,we=me.b/255,Se=Math.min(ye,be,we),Me=Math.max(ye,be,we),Re=NaN,ke=Me-Se,pe=(Me+Se)/2;return ke?(Re=ye===Me?(be-we)/ke+6*(be<we):be===Me?(we-ye)/ke+2:(ye-be)/ke+4,ke/=pe<.5?Me+Se:2-Me-Se,Re*=60):ke=pe>0&&pe<1?0:Re,new j(Re,ke,pe,me.opacity)}function j(me,ye,be,we){this.h=+me,this.s=+ye,this.l=+be,this.opacity=+we}function q(me){return(me=(me||0)%360)<0?me+360:me}function $(me){return Math.max(0,Math.min(1,me||0))}function H(me,ye,be){return 255*(me<60?ye+(be-ye)*me/60:me<180?be:me<240?ye+(be-ye)*(240-me)/60:ye)}v(i,C,{copy:function(me){return Object.assign(new this.constructor,this,me)},displayable:function(){return this.rgb().displayable()},hex:M,formatHex:M,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return R(this).formatHsl()},formatRgb:k,toString:k}),v(B,E,g(i,{brighter:function(me){return me=me==null?b:Math.pow(b,me),new B(this.r*me,this.g*me,this.b*me,this.opacity)},darker:function(me){return me=me==null?_:Math.pow(_,me),new B(this.r*me,this.g*me,this.b*me,this.opacity)},rgb:function(){return this},clamp:function(){return new B(O(this.r),O(this.g),O(this.b),N(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatHex8:function(){return"#".concat(z(this.r)).concat(z(this.g)).concat(z(this.b)).concat(z(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:L,toString:L})),v(j,function(me,ye,be,we){return arguments.length===1?R(me):new j(me,ye,be,we??1)},g(i,{brighter:function(me){return me=me==null?b:Math.pow(b,me),new j(this.h,this.s,this.l*me,this.opacity)},darker:function(me){return me=me==null?_:Math.pow(_,me),new j(this.h,this.s,this.l*me,this.opacity)},rgb:function(){var me=this.h%360+360*(this.h<0),ye=isNaN(me)||isNaN(this.s)?0:this.s,be=this.l,we=be+(be<.5?be:1-be)*ye,Se=2*be-we;return new B(H(me>=240?me-240:me+120,Se,we),H(me,Se,we),H(me<120?me+240:me-120,Se,we),this.opacity)},clamp:function(){return new j(q(this.h),$(this.s),$(this.l),N(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var me=N(this.opacity);return"".concat(me===1?"hsl(":"hsla(").concat(q(this.h),", ").concat(100*$(this.s),"%, ").concat(100*$(this.l),"%").concat(me===1?")":", ".concat(me,")"))}}));var X=function(me){return function(){return me}};function G(me,ye){var be=ye-me;return be?function(we,Se){return function(Me){return we+Me*Se}}(me,be):X(isNaN(me)?ye:me)}var Y=function me(ye){var be=function(Se){return(Se=+Se)==1?G:function(Me,Re){return Re-Me?function(ke,pe,ue){return ke=Math.pow(ke,ue),pe=Math.pow(pe,ue)-ke,ue=1/ue,function(_e){return Math.pow(ke+_e*pe,ue)}}(Me,Re,Se):X(isNaN(Me)?Re:Me)}}(ye);function we(Se,Me){var Re=be((Se=E(Se)).r,(Me=E(Me)).r),ke=be(Se.g,Me.g),pe=be(Se.b,Me.b),ue=G(Se.opacity,Me.opacity);return function(_e){return Se.r=Re(_e),Se.g=ke(_e),Se.b=pe(_e),Se.opacity=ue(_e),Se+""}}return we.gamma=me,we}(1);function K(me,ye){var be,we=ye?ye.length:0,Se=me?Math.min(we,me.length):0,Me=new Array(Se),Re=new Array(we);for(be=0;be<Se;++be)Me[be]=fe(me[be],ye[be]);for(;be<we;++be)Re[be]=ye[be];return function(ke){for(be=0;be<Se;++be)Re[be]=Me[be](ke);return Re}}function le(me,ye){var be=new Date;return me=+me,ye=+ye,function(we){return be.setTime(me*(1-we)+ye*we),be}}function oe(me,ye){return me=+me,ye=+ye,function(be){return me*(1-be)+ye*be}}function ne(me){return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ye){return typeof ye}:function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye},ne(me)}function se(me,ye){var be,we={},Se={};for(be in me!==null&&ne(me)==="object"||(me={}),ye!==null&&ne(ye)==="object"||(ye={}),ye)be in me?we[be]=fe(me[be],ye[be]):Se[be]=ye[be];return function(Me){for(be in we)Se[be]=we[be](Me);return Se}}var te=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ee=new RegExp(te.source,"g");function re(me,ye){var be,we,Se,Me=te.lastIndex=ee.lastIndex=0,Re=-1,ke=[],pe=[];for(me+="",ye+="";(be=te.exec(me))&&(we=ee.exec(ye));)(Se=we.index)>Me&&(Se=ye.slice(Me,Se),ke[Re]?ke[Re]+=Se:ke[++Re]=Se),(be=be[0])===(we=we[0])?ke[Re]?ke[Re]+=we:ke[++Re]=we:(ke[++Re]=null,pe.push({i:Re,x:oe(be,we)})),Me=ee.lastIndex;return Me<ye.length&&(Se=ye.slice(Me),ke[Re]?ke[Re]+=Se:ke[++Re]=Se),ke.length<2?pe[0]?function(ue){return function(_e){return ue(_e)+""}}(pe[0].x):function(ue){return function(){return ue}}(ye):(ye=pe.length,function(ue){for(var _e,Pe=0;Pe<ye;++Pe)ke[(_e=pe[Pe]).i]=_e.x(ue);return ke.join("")})}function ce(me,ye){ye||(ye=[]);var be,we=me?Math.min(ye.length,me.length):0,Se=ye.slice();return function(Me){for(be=0;be<we;++be)Se[be]=me[be]*(1-Me)+ye[be]*Me;return Se}}function he(me){return he=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ye){return typeof ye}:function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye},he(me)}function fe(me,ye){var be,we,Se=he(ye);return ye==null||Se==="boolean"?X(ye):(Se==="number"?oe:Se==="string"?(be=C(ye))?(ye=be,Y):re:ye instanceof C?Y:ye instanceof Date?le:(we=ye,!ArrayBuffer.isView(we)||we instanceof DataView?Array.isArray(ye)?K:typeof ye.valueOf!="function"&&typeof ye.toString!="function"||isNaN(ye)?se:oe:ce))(me,ye)}},30584:function(h){h.exports=JSON.parse('["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"]')},7294:function(h){h.exports=JSON.parse('["normal","condensed","semi-condensed","extra-condensed","ultra-condensed","expanded","semi-expanded","extra-expanded","ultra-expanded"]')},47916:function(h){h.exports=JSON.parse('["normal","italic","oblique"]')},2904:function(h){h.exports=JSON.parse('["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900"]')},68194:function(h){h.exports=JSON.parse('["inherit","initial","unset"]')},3748:function(h){h.exports=JSON.parse('["caption","icon","menu","message-box","small-caption","status-bar"]')}},I={};function F(h){var m=I[h];if(m!==void 0)return m.exports;var a=I[h]={exports:{}};return r[h].call(a.exports,a,a.exports,F),a.exports}return F.n=function(h){var m=h&&h.__esModule?function(){return h.default}:function(){return h};return F.d(m,{a:m}),m},F.d=function(h,m){for(var a in m)F.o(m,a)&&!F.o(h,a)&&Object.defineProperty(h,a,{enumerable:!0,get:m[a]})},F.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),F.o=function(h,m){return Object.prototype.hasOwnProperty.call(h,m)},F.r=function(h){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(h,"__esModule",{value:!0})},F(13792)}()})})(WW);var BNt=WW.exports;const qW=Iw(BNt),I0a="",N0a="",PNt={ref:"card",class:"card-volumetric-field"},YW=1,ONt=800,XW=300,LNt=-46,JW=100,ZW=-14,FNt=Hr({__name:"VolumetricField",props:{passesPlays:{type:Array,default:()=>[]},playIndexes:{type:Object,default:()=>{}}},setup(e){const n=e,r=new Set([2,20,308,310]),I=[[0,"rgb(12,31,82)"],[.2,"rgb(115,248,253)"],[.4,"rgb(117,251,98)"],[.6,"rgb(255,255,84)"],[.8,"rgb(242,168,59)"],[1,"rgb(234,55,36)"]];let F=null;const h=t.ref(null),m=t.ref(null),a=t.ref(0),v=t.ref(null);t.watch(()=>n.passesPlays,p=>{const f=p.reduce((y,w)=>(r.has(w[n.playIndexes.categoryId])&&y.push({x1:w[n.playIndexes.coordinate1X],y1:w[n.playIndexes.coordinate1Y],x2:w[n.playIndexes.coordinate2X],y2:w[n.playIndexes.coordinate2Y],x3:w[n.playIndexes.coordinate3X],y3:w[n.playIndexes.coordinate3Y]}),y),[]);u(f)}),t.watch(()=>a.value,(p,f)=>{v.value&&(o(p),m.value.style.height=`${l(p)}px`,v.value.style.top=`${d(l(p))}px`)});function g(){F=new ResizeObserver(p=>{for(const f of p)a.value=f.contentRect.width}),F.observe(h.value)}function i(p){return Array.from({length:p},()=>0)}function _(p,f){let y=.01351,w=.02439,x=0,M=0,k=[];const C=f.length,T=Math.floor(C/10);for(;x<74;)M=f.filter(A=>1-A.y3>=x*y&&1-A.y3<=(x+1)*y&&1-A.x3>=p*w&&1-A.x3<=(p+1)*w).map(A=>A.y3).length,k.push(parseFloat((M/T).toFixed(4))),x++;return k.reverse()}function b(p){let f=[i(74),i(74)],y=[],w=39;for(;w>0&&w<=39;)y=_(w,p),f.push(y),w--;return f.push(i(74),i(74)),f}function c(p,f,y){const w=[];let k=0,C=0;w.push(p[0]);for(let T=1;T<y-1;T++){const A=[];A.push(p[T][0]);for(let E=1;E<f-1;E++)k=p[T][E-1],C=p[T][E+1],A.push(k+.5*(p[T][E]+C-k));A.push(p[T][f-1]),w.push(A)}w.push(p[y-1]);for(let T=1;T<f-1;T++)for(let A=1;A<y-1;A++)k=w[A-1][T],C=w[A+1][T],w[A][T]=k+.5*(w[A][T]+C-k);return w}function s(p){let f=0,y=0;for(let w=0;w<p.length;w++){y=y+p[w].reduce(function(M,k){return M+k});const x=Math.max.apply(null,p[w]);x>f&&(f=x)}return f}function o(p){qW.relayout(h.value,{width:p,height:l(p)})}function l(p){return Math.round(XW/ONt*p,0)}function d(p){return ZW+(p-JW)/(XW-JW)*(LNt-ZW)}function u(p){let f=b(p),y=f.length,w=f[0].length;f=c(c(f,w,y),w,y),w=f[0].length,y=f.length;const x=s(f),M=[{z:f,type:"surface",connectgaps:!0,opacity:.25,colorscale:I,autoscale:!1,showscale:!1}],k=[0,w],C=[0,y],T=[0,x*5],A={scene:{xaxis:{title:"",showgrid:!1,showline:!1,zeroline:!1,showticklabels:!1,showbackground:!1,backgroundcolor:"transparent",range:k},yaxis:{title:"",showgrid:!1,showline:!1,zeroline:!1,showticklabels:!1,showbackground:!1,backgroundcolor:"transparent",range:C},zaxis:{title:"",showgrid:!1,showline:!1,zeroline:!1,showticklabels:!1,showbackground:!1,backgroundcolor:"transparent",range:T},aspectratio:{x:1,y:.419,z:1},camera:{eye:{x:-.006743829259037479,y:.33535167247712533,z:-.0014332540873207011},center:{x:-.00679220694254041,y:.10728256468650094,z:-.30848979628595363}}},showlegend:!1,width:a.value,height:l(a.value),paper_bgcolor:"rgba(0,0,0,0)",margin:{l:0,r:0,b:0,t:0}};m.value&&(m.value.style.height=`${l(a.value)}px`);const E=[];for(let B=0;B<w;B++){const S=[],L=[],N=[];for(let O=0;O<y;O++)S.push(B),L.push(O),N.push(M[0].z[O][B]);E.push({x:S,y:L,z:N,type:"scatter3d",mode:"lines",line:{cmin:-.1,cmax:x,width:YW,color:N,colorscale:I,shape:"spline",smoothing:.6,dash:"dotline"}})}for(let B=0;B<y;B++){const S=[],L=[],N=[];for(let O=0;O<w;O++)S.push(O),L.push(B),N.push(M[0].z[B][O]);E.push({x:S,y:L,z:N,type:"scatter3d",mode:"lines",line:{cmin:-.1,cmax:x,width:YW,color:N,colorscale:I,shape:"spline",smoothing:.6,dash:"dotline"}})}qW.newPlot("surface-plot",M.concat(E),A,{displayModeBar:!1},{responsive:!0}),v.value=document.getElementsByClassName("plot-container")[0],v.value&&(v.value.style.top=`${d(l(a.value))}px`)}return t.onMounted(()=>{h.value&&(h.value.style.pointerEvents="none"),g()}),(p,f)=>(t.openBlock(),t.createElementBlock("div",PNt,[t.createElementVNode("div",{ref_key:"volumetricField",ref:m,class:"card-volumetric-field__volumetric-field"},[t.createElementVNode("div",{ref_key:"surfacePlot",ref:h,id:"surface-plot"},null,512)],512)],512))}},[["__scopeId","data-v-46439c02"]]),P0a="",KW=e=>(t.pushScopeId("data-v-885deed1"),e=e(),t.popScopeId(),e),DNt=KW(()=>t.createElementVNode("div",{class:"attack-direction__line"},null,-1)),zNt=KW(()=>t.createElementVNode("div",{class:"attack-direction__text"},"Ataca",-1)),VNt=Hr({__name:"AttackDirection",props:{team:{type:Object,required:!0}},setup(e){const n=e,r=t.computed(()=>({"--flex-direction-info":n.team.isHomeTeam?"flex":"row-reverse","--justify-content-info":n.team.isHomeTeam?"flex-start":"flex-end","--arrow-color":n.team.isHomeTeam?"#336dff":"#7ed321"}));return(I,F)=>(t.openBlock(),t.createElementBlock("div",{class:"attack-direction",style:t.normalizeStyle(r.value)},[DNt,t.createElementVNode("div",{class:t.normalizeClass(`attack-direction__triangle-${e.team.isHomeTeam?"right":"left"}`)},null,2),zNt],4))}},[["__scopeId","data-v-885deed1"]]),RNt=["playId","gameId","teamId","playerId","momentOfPlay","categoryId","categoryType","matchLapse","section","matchResult","playingAs","total","coordinate1X","coordinate1Y","coordinate2X","coordinate2Y","coordinate3X","coordinate3Y","xGi","xGf","distance","fieldArea"];let sT=null;function $Nt(){return sT||(sT=Y0(RNt)),sT}const L0a="",jNt=e=>(t.pushScopeId("data-v-734b6082"),e=e(),t.popScopeId(),e),UNt={class:"volumetric-section-container"},GNt=jNt(()=>t.createElementVNode("div",{class:"volumetric-section-container__title"},"Volumétrica",-1)),HNt={key:0,class:"volumetric-section-container__switch"},WNt={class:"volumetric-section-container__attack-direction"},qNt={class:"volumetric-section-container__field"},YNt=Hr({__name:"VolumetricSectionContainer",props:{game:{type:Object,default:()=>({})},seasonSelected:{type:Object,default:()=>({})},token:{type:String,default:""},isGamePreMatch:{type:Boolean,default:!1},teamSelectedPreMatch:{type:Object,default:()=>({})},volumetricFieldIntervalMinutes:{type:Number,default:2}},setup(e){const n=e,r=$Nt(),I=new Set([2,20,308,310]),F=new Set([3,21,309]),h=new Set([...I,...F]);let m=null;const a=t.ref(0),v=t.ref(new Map),g=t.ref({teamId:0}),i=t.computed(()=>[{teamId:n.game.homeTeam.team_id,text:n.game.homeTeam.colloquial_name,img:n.game.homeTeam.logo,isHomeTeam:!0},{teamId:n.game.awayTeam.team_id,text:n.game.awayTeam.colloquial_name,img:n.game.awayTeam.logo,isHomeTeam:!1}]),_=t.computed(()=>v.value.get(n.isGamePreMatch?n.teamSelectedPreMatch.teamId:g.value.teamId)||[]);t.watch(()=>i.value,()=>{a.value=0,g.value=i.value[a.value]},{immediate:!0}),t.watch(()=>n.game.gameId,p=>{p&&(u(),c(n.game.is_live&&n.game.game_status===4))},{immediate:!0});function b(){m=setInterval(()=>{c()},1e3*60*n.volumetricFieldIntervalMinutes)}async function c(p=!0){try{const f=await o();v.value.set(n.game.homeTeam.team_id,f.homeTeam),v.value.set(n.game.awayTeam.team_id,f.awayTeam),p&&b()}catch(f){throw new Error(f)}}function s(p){return n.game.game_status===4&&!n.game.is_live?p[r.gameId]!==n.game.gameId:p[r.gameId]===n.game.gameId}async function o(){try{let p={homeTeam:[],awayTeam:[]};if(n.game.is_live||n.game.game_status===0){const f=await cl.get(`https://2uj7ojhmt5.execute-api.us-west-2.amazonaws.com/prod/V2/statisticsLive/${n.game.gameId}`),y=f.data?f.data.data||[]:[],w=new Set;y.forEach(x=>{w.add(x[r.categoryId]),x[r.teamId]===n.game.homeTeam.team_id&&h.has(x[r.categoryId])&&s(x)?(l(x),p.homeTeam.push(x)):x[r.teamId]===n.game.awayTeam.team_id&&h.has(x[r.categoryId])&&s(x)&&(x[r.coordinate1Y]=1-x[r.coordinate1Y],x[r.coordinate2Y]=1-x[r.coordinate2Y],x[r.coordinate3Y]=1-x[r.coordinate3Y],x[r.coordinate1X]=1-x[r.coordinate1X],x[r.coordinate2X]=1-x[r.coordinate2X],x[r.coordinate3X]=1-x[r.coordinate3X],l(x),p.awayTeam.push(x))})}else{const[f,y]=await Promise.all([cl.get(`https://golstats-microservices.s3-us-west-2.amazonaws.com/statsTeamBySeason-${n.game.seasonId}-${n.game.homeTeam.team_id}.json`,{headers:{Authorization:""}}),cl.get(`https://golstats-microservices.s3-us-west-2.amazonaws.com/statsTeamBySeason-${n.game.seasonId}-${n.game.awayTeam.team_id}.json`,{headers:{Authorization:""}})]);p={homeTeam:f.data.data.posession.filter(w=>w[r.teamId]===n.game.homeTeam.team_id&&h.has(w[r.categoryId])&&s(w)),awayTeam:y.data.data.posession.filter(w=>w[r.teamId]===n.game.awayTeam.team_id&&h.has(w[r.categoryId])&&s(w)?(w[r.coordinate1Y]=1-w[r.coordinate1Y],w[r.coordinate2Y]=1-w[r.coordinate2Y],w[r.coordinate3Y]=1-w[r.coordinate3Y],w[r.coordinate1X]=1-w[r.coordinate1X],w[r.coordinate2X]=1-w[r.coordinate2X],w[r.coordinate3X]=1-w[r.coordinate3X],!0):!1)}}return p}catch(p){throw new Error(p)}}function l(p){const f=p[r.coordinate1X],y=p[r.coordinate2X],w=p[r.coordinate3X];return p[r.coordinate1X]=p[r.coordinate1Y],p[r.coordinate2X]=p[r.coordinate2Y],p[r.coordinate3X]=p[r.coordinate3Y],p[r.coordinate1Y]=f,p[r.coordinate2Y]=y,p[r.coordinate3Y]=w,p}function d(p){a.value=p.index,g.value=p.button}function u(){m&&clearInterval(m)}return t.onUnmounted(()=>{u()}),(p,f)=>(t.openBlock(),t.createElementBlock("div",UNt,[GNt,e.isGamePreMatch?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",HNt,[t.createVNode(V4,{"selected-button-index":a.value,buttons:i.value,width:"320px","border-radius":"16px",onChange:d},null,8,["selected-button-index","buttons"])])),t.createElementVNode("div",WNt,[t.createVNode(VNt,{team:e.isGamePreMatch?e.teamSelectedPreMatch:g.value},null,8,["team"])]),t.createElementVNode("div",qNt,[t.createVNode(FNt,{"passes-plays":_.value,"play-indexes":t.unref(r)},null,8,["passes-plays","play-indexes"])])]))}},[["__scopeId","data-v-734b6082"]]),D0a="";let QW=null;const XNt={components:{GSCHighlights:Ibt,ToggleButtons:V4,VolumetricSectionContainer:YNt,DataProminentGame:Gbt,HighlightsProminentGameLive:_3t,HighlightsProminentGame:Wxt,GSCRadioToggle:pH,FieldPosesion:kxt,EventsLine:c4t,ChalkboardSectionContainer:NNt},props:{timeLiveProminentData:{type:Number,default:6e4},timeLiveHighlightsProminentAndVideo:{type:Number,default:6e4},timeLivePossesion:{type:Number,default:6e4},game:{type:Object,default:()=>({})},token:{type:String,default:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NTg2LCJuYW1lIjoiSkFTIEdvbFN0YXRzIiwidXNlcm5hbWUiOiJ5YXRlYW1lcmljYSIsImVtYWlsIjoiIiwicHJvdmlkZXJfaWQiOjEsImxvZ2luX2dvbHN0YXRzIjoxLCJpYXQiOjE2OTYzNjU1ODcsImV4cCI6MTcyNzkwMTU4N30.jynRtgtFM8sf8gtqZJ-1gHLc2Ws13TIykXcfrlOvv1g"},seasonSelected:{type:Object,default:()=>({})},isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},tournamentSelected:{type:Object,default:()=>({})},canPlayVideos:{type:Boolean,default:!1},is_captured:{type:Number,default:1},videoPrivilegesPlayingAs:{type:Set,default:()=>new Set([1,2])},playVideosPrivileges:{type:Object,default:null},volumetricFieldIntervalMinutes:{type:Number,default:2},chalkboardIntervalMinutes:{type:Number,default:2},gameEventsIntervalMinutes:{type:Number,default:1}},data(){return{widthSection:0,viewVolumtrica:!0,teamButtonSelectedIndex:0,switchTypeViewFiled:"Porcentajes",teamSelected:{teamId:0}}},computed:{toggleButtons(){return[{teamId:this.game.homeTeam.team_id,text:this.game.homeTeam.colloquial_name,img:this.game.homeTeam.logo,isHomeTeam:!0},{teamId:this.game.awayTeam.team_id,text:this.game.awayTeam.colloquial_name,img:this.game.awayTeam.logo,isHomeTeam:!1}]},isGamePreMatch(){return this.game&&this.game.game_status===4&&!this.game.is_live}},watch:{widthSection(){this.viewVolumtrica=this.widthSection>=760},toggleButtons:{handler(){this.teamButtonSelectedIndex=0,this.teamSelected=this.toggleButtons[0]},deep:!0,immediate:!0}},methods:{intervalidhighlive(e){this.$emit("intervalidhighlive",e)},intervalidpossesion(e){this.$emit("intervalidpossesion",e)},onChangeToggle(e){this.teamButtonSelectedIndex=e.index,this.teamSelected=e.button},setUpResizeObserver(){if(window.ResizeObserver)QW=new ResizeObserver(()=>{this.widthSection=this.$refs.prominent.clientWidth}),QW.observe(this.$refs.prominent);else throw new Error("Resize observer not supported!")},async ChangeRadio(e){typeof e=="string"&&(this.switchTypeViewFiled=e)},openmedia(e){this.$emit("openmedia",e)},onClickPlayEvent(e){const n={seasonId:this.seasonSelected.id,isFeaturedPlayers:!1,mainSectionType:1,playListType:1,playerIds:[],categoryIds:[e.categoryId],matchResult:[1,2,3],currentPlayIndex:0,playsIds:new Set([e.playId])};this.$emit("openmedia",n)},onOpenMediaPlayer(e){this.canPlayVideos&&this.$emit("open-media-player",e)}},async mounted(){setTimeout(()=>{this.setUpResizeObserver()},1e3)}},Sp=e=>(t.pushScopeId("data-v-910718b2"),e=e(),t.popScopeId(),e),JNt={class:"container-prominent",ref:"prominent"},ZNt={class:"container-prominent-data"},KNt={class:"container-prominent-section"},QNt={class:"highlights-containers"},eBt=Sp(()=>t.createElementVNode("div",{class:"fields-section-title"},"Posesión",-1)),tBt={key:0,class:"container-leyend-prematch"},aBt=Sp(()=>t.createElementVNode("span",{class:"leyend-bold"},"IMPORTANTE:",-1)),nBt={key:1,class:"container-leyend-prematch-movil"},rBt=Sp(()=>t.createElementVNode("span",{class:"leyend-bold"},"IMPORTANTE:",-1)),iBt=Sp(()=>t.createElementVNode("br",null,null,-1)),oBt=Sp(()=>t.createElementVNode("br",null,null,-1)),sBt={key:2,class:"container-leyend-prematch-movil"},lBt=Sp(()=>t.createElementVNode("span",{class:"leyend-bold"},"IMPORTANTE:",-1)),cBt=Sp(()=>t.createElementVNode("br",null,null,-1)),dBt=Sp(()=>t.createElementVNode("br",null,null,-1)),uBt={class:"container-switch-toggle"},hBt={class:"container-prominent-section__chalkboard"},pBt=Sp(()=>t.createElementVNode("div",{class:"fields-section-title"},"Pizarra",-1));function fBt(e,n,r,I,F,h){const m=t.resolveComponent("DataProminentGame"),a=t.resolveComponent("HighlightsProminentGameLive"),v=t.resolveComponent("HighlightsProminentGame"),g=t.resolveComponent("GSCHighlights"),i=t.resolveComponent("EventsLine"),_=t.resolveComponent("ToggleButtons"),b=t.resolveComponent("GSCRadioToggle"),c=t.resolveComponent("FieldPosesion"),s=t.resolveComponent("VolumetricSectionContainer"),o=t.resolveComponent("ChalkboardSectionContainer");return t.openBlock(),t.createElementBlock("div",JNt,[t.createElementVNode("div",ZNt,[t.createVNode(m,{"is-widget":r.isWidget,"team-widget":r.teamWidget,"time-live-prominent-data":r.timeLiveProminentData,game:r.game,"can-play-videos":r.canPlayVideos,onOpenmedia:h.openmedia},null,8,["is-widget","team-widget","time-live-prominent-data","game","can-play-videos","onOpenmedia"])]),t.createElementVNode("div",KNt,[t.createElementVNode("div",QNt,[(r.game.is_live==1||r.game.game_status==0)&&r.canPlayVideos?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[r.game.is_live==1||r.game.game_status==0?(t.openBlock(),t.createBlock(a,{key:0,"time-live-highlights-prominent-and-video":r.timeLiveHighlightsProminentAndVideo,"can-play-videos":r.canPlayVideos,game:r.game,onIntervalidhighlive:h.intervalidhighlive,onOpenmedia:h.openmedia},null,8,["time-live-highlights-prominent-and-video","can-play-videos","game","onIntervalidhighlive","onOpenmedia"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[r.game.status==1&&r.canPlayVideos?(t.openBlock(),t.createBlock(v,{key:0,"can-play-videos":r.canPlayVideos,game:r.game,onOpenmedia:h.openmedia},null,8,["can-play-videos","game","onOpenmedia"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[r.canPlayVideos?(t.openBlock(),t.createBlock(g,{key:0,data:{game:r.game.gameId,season:r.game.seasonId,type:"historic"},"can-play-videos":r.canPlayVideos,"video-privileges-playing-as":r.videoPrivilegesPlayingAs,onOpenmedia:h.openmedia},null,8,["data","can-play-videos","video-privileges-playing-as","onOpenmedia"])):t.createCommentVNode("",!0)],64))],64))]),h.isGamePreMatch?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(F.widthSection>920?"container-prominent-section__events-line":"container-prominent-section__events-line-mobile")},[t.createVNode(i,{token:r.token,game:r.game,widthScreen:F.widthSection,"can-play-videos":r.canPlayVideos,"game-events-interval-minutes":r.gameEventsIntervalMinutes,onPlayVideo:h.onClickPlayEvent},null,8,["token","game","widthScreen","can-play-videos","game-events-interval-minutes","onPlayVideo"])],2)),t.createElementVNode("div",{class:t.normalizeClass(F.widthSection>760?"fields-section-container":"fields-section-container-movil")},[eBt,r.game.game_status==4&&r.game.is_live!=1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[F.widthSection>590?(t.openBlock(),t.createElementBlock("div",tBt,[aBt,t.createTextVNode("  Es en base a las estadisticas de los partidos ya jugados en el torneo. ")])):t.createCommentVNode("",!0),F.widthSection>340&&F.widthSection<=590?(t.openBlock(),t.createElementBlock("div",nBt,[rBt,t.createTextVNode("  "),iBt,t.createTextVNode("Es en base a las estadisticas de los partidos ya "),oBt,t.createTextVNode(" jugados en el torneo. ")])):t.createCommentVNode("",!0),F.widthSection<=340?(t.openBlock(),t.createElementBlock("div",sBt,[lBt,t.createTextVNode("  "),cBt,t.createTextVNode("Es en base a las estadisticas de los "),dBt,t.createTextVNode("partidos ya jugados en el torneo. ")])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(F.widthSection>420?"container-switch-prematch-teams":"container-switch-prematch-teams-movil")},[t.createVNode(_,{"selected-button-index":F.teamButtonSelectedIndex,buttons:h.toggleButtons,width:"320px","border-radius":"16px",onChange:h.onChangeToggle},null,8,["selected-button-index","buttons","onChange"])],2)],64)):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",uBt,[t.createVNode(b,{height:"20px",width:"41px","background-color":"none","width-circle":"15px","height-circle":"15px","circle-color-switch":"#CBEE6B","font-color":"#ffffff","value-default":"Porcentajes",textOptionLeft:"Porcentajes",textOptionRight:"Volumétrico",onChange:h.ChangeRadio},null,8,["onChange"])],512),[[t.vShow,F.widthSection<=760]]),t.createElementVNode("div",{class:t.normalizeClass(F.widthSection>760?"fields-container":"fields-container-movil")},[t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(F.widthSection>760?"field-possesion-container":"field-possesion-container-movil")},[t.createVNode(c,{"width-Section":F.widthSection,game:r.game,"time-live-possesion":r.timeLivePossesion,onIntervalidpossesion:h.intervalidpossesion,"team-selected":F.teamSelected.teamId==0?h.toggleButtons[0]:F.teamSelected},null,8,["width-Section","game","time-live-possesion","onIntervalidpossesion","team-selected"])],2),[[t.vShow,F.switchTypeViewFiled=="Porcentajes"||F.widthSection>760]]),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(F.widthSection>760?"field-volumetrica-container":"field-volumetrica-container-movil")},[t.createVNode(s,{game:r.game,"season-selected":r.seasonSelected,token:r.token,"is-game-pre-match":h.isGamePreMatch,"team-selected-pre-match":F.teamSelected,"volumetric-field-interval-minutes":r.volumetricFieldIntervalMinutes},null,8,["game","season-selected","token","is-game-pre-match","team-selected-pre-match","volumetric-field-interval-minutes"])],2),[[t.vShow,F.viewVolumtrica&&F.widthSection>760||F.switchTypeViewFiled=="Volumétrico"]])],2),t.createCommentVNode("",!0)],2),t.createElementVNode("div",hBt,[pBt,t.createVNode(o,{"is-female":r.tournamentSelected.is_female==1,game:r.game,"season-selected":r.seasonSelected,"tournament-selected":r.tournamentSelected,token:r.token,"width-section":F.widthSection,"can-play-videos":r.canPlayVideos,"is-game-pre-match":h.isGamePreMatch,"play-videos-privileges":r.playVideosPrivileges,"volumetric-field-interval-minutes":r.volumetricFieldIntervalMinutes,"chalkboard-interval-minutes":r.chalkboardIntervalMinutes,"game-events-interval-minutes":r.gameEventsIntervalMinutes,onOpenMediaPlayer:h.onOpenMediaPlayer},null,8,["is-female","game","season-selected","tournament-selected","token","width-section","can-play-videos","is-game-pre-match","play-videos-privileges","volumetric-field-interval-minutes","chalkboard-interval-minutes","game-events-interval-minutes","onOpenMediaPlayer"])])])],512)}const mBt=Hr(XNt,[["render",fBt],["__scopeId","data-v-910718b2"]]),z0a="",gBt={class:"datagame-container"},yBt=Hr({__name:"GSCProminentMain",props:{timeLiveProminentData:{type:Number,default:6e4},timeLiveHighlightsProminentAndVideo:{type:Number,default:6e4},timeLivePossesion:{type:Number,default:6e4},game:{type:Object,default:()=>({})},seasonSelected:{type:Object,default:()=>({})},tournamentSelected:{type:Object,default:()=>({})},isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},canPlayVideos:{type:Boolean,default:!1},is_captured:{type:Number,default:1},videoPrivilegesPlayingAs:{type:Set,default:()=>new Set([1,2])},playVideosPrivileges:{type:Object,default:null},volumetricFieldIntervalMinutes:{type:Number,default:2},chalkboardIntervalMinutes:{type:Number,default:2},gameEventsIntervalMinutes:{type:Number,default:1}},emits:["click-play-event","openmedia","intervalidpossesion","intervalidhighlive"],setup(e,{emit:n}){function r(m){n("intervalidhighlive",m)}function I(m){n("intervalidpossesion",m)}function F(m){n("openmedia",m)}function h(m){n("openmedia",m)}return(m,a)=>(t.openBlock(),t.createElementBlock("div",gBt,[t.createVNode(mBt,{game:e.game,is_captured:e.is_captured,"is-widget":e.isWidget,"team-widget":e.teamWidget,"time-live-prominent-data":e.timeLiveProminentData,"time-live-highlights-prominent-and-video":e.timeLiveHighlightsProminentAndVideo,"time-live-possesion":e.timeLivePossesion,"season-selected":e.seasonSelected,"tournament-selected":e.tournamentSelected,"can-play-videos":e.canPlayVideos,"video-privileges-playing-as":e.videoPrivilegesPlayingAs,"play-videos-privileges":e.playVideosPrivileges,"volumetric-field-interval-minutes":e.volumetricFieldIntervalMinutes,"chalkboard-interval-minutes":e.chalkboardIntervalMinutes,"game-events-interval-minutes":e.gameEventsIntervalMinutes,onIntervalidpossesion:I,onIntervalidhighlive:r,onOpenmedia:F,onOpenMediaPlayer:h},null,8,["game","is_captured","is-widget","team-widget","time-live-prominent-data","time-live-highlights-prominent-and-video","time-live-possesion","season-selected","tournament-selected","can-play-videos","video-privileges-playing-as","play-videos-privileges","volumetric-field-interval-minutes","chalkboard-interval-minutes","game-events-interval-minutes"])]))}},[["__scopeId","data-v-a8ac4916"]]),vBt={class:"datagame-container"},_Bt={__name:"GSCDatosGSMainAvanced",props:{isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},game:{type:Object,default:()=>({gameId:79623,seasonId:1772,status:1,dateTimeUTC:"2023-10-01T22:20:00Z",homeTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/18.png",team_id:10,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/18.png",colloquial_name:"Toluca",acronym:"TOL",team_name:"Toluca"},awayTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/1.png",team_id:1,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/1.png",colloquial_name:"Chivas",acronym:"CHI",team_name:"Guadalajara"}})},tournamentSelected:{type:Object,default:()=>({})},playVideosPrivileges:{type:Object,default:null}},emits:["openmedia","intervalidgs"],setup(e,{emit:n}){const r=e,I=t.ref(0);t.watch(()=>r.game,m=>{I.value=m.gameId},{deep:!0,immediate:!0});function F(m){n("openmedia",m)}function h(m){n("intervalidgs",m)}return(m,a)=>(t.openBlock(),t.createElementBlock("div",vBt,[e.game.is_live==1||e.game.game_status==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(oy),{key:I.value,type:3,"is-widget":e.isWidget,"team-widget":e.teamWidget,data:{season:e.game.seasonId,game:e.game.gameId,game_status:e.game.game_status,home_team_id:e.game.homeTeam.team_id,away_team_id:e.game.awayTeam.team_id,team_view:2},"tournament-selected":e.tournamentSelected,onIntervalidgs:h,"play-videos-privileges":e.playVideosPrivileges,onOpenmedia:F},null,8,["is-widget","team-widget","data","tournament-selected","play-videos-privileges"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.game.game_status==4?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(oy),{key:I.value,type:0,"is-widget":e.isWidget,"team-widget":e.teamWidget,data:{season:e.game.seasonId,game:e.game.gameId,game_status:e.game.game_status,home_team_id:e.game.homeTeam.team_id,away_team_id:e.game.awayTeam.team_id,team_view:1},"tournament-selected":e.tournamentSelected,"play-videos-privileges":e.playVideosPrivileges,onOpenmedia:F},null,8,["is-widget","team-widget","data","tournament-selected","play-videos-privileges"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(oy),{key:I.value,type:1,"is-widget":e.isWidget,"team-widget":e.teamWidget,data:{season:e.game.seasonId,game:e.game.gameId,game_status:e.game.game_status,home_team_id:e.game.homeTeam.team_id,away_team_id:e.game.awayTeam.team_id,team_view:2},"tournament-selected":e.tournamentSelected,"play-videos-privileges":e.playVideosPrivileges,onOpenmedia:F},null,8,["is-widget","team-widget","data","tournament-selected","play-videos-privileges"])):t.createCommentVNode("",!0)],64))],64))]))}},bBt={computed:{sizeTabsFontMP(){const e=this.elementSize.width;return e<=380?"12px":e<=768?"14px":"16px"},sizeTabsFontMS(){const e=this.elementSize.width;return e<=600?"12px":e<=768?"13px":"14px"},sizeTabsMS(){const e=this.elementSize.width;return e<=480?"145px":e<=600?"153px":e<=620?"163px":e<=640?"170px":e<=660?"175px":e<=680?"180px":e<=700?"185px":e<=720?"195px":"200px"},sizeTabsMP(){const e=this.elementSize.width;return e<=319?"68px":e<=330?"73px":e<=340?"78px":e<=350?"82px":e<=360||e<=370?"90px":e<=390?"95px":e<=410?"105px":e<=430?"110px":e<=450?"117px":e<=470?"122px":e<=500?"130px":e<=530?"138px":e<=560?"155px":e<=590?"163px":e<=620?"175px":e<=650?"180px":e<=680?"195px":e<=730?"210px":e<=768?"100px":"110px"},comextleyemdmultipleleaguesClass(){return this.elementSize.width<=380?this.$style.comtextleyemdmultipleleagues380:this.$style.comtextleyemdmultipleleagues},comdropdownParentClass(){return this.elementSize.width<=730?this.$style.comdropdownParent730:this.$style.comdropdownParent},comdescubreVideosClass(){const e=this.elementSize.width;return e<=960?this.$style.comdescubreVideos960:e<=1232?this.$style.comdescubreVideos1232:this.$style.comdescubreVideos},comquitarFiltrosClass(){const e=this.elementSize.width;return e<=380?this.$style.comquitarFiltros380:e<=480?this.$style.comquitarFiltros480:e<=730?this.$style.comquitarFiltros730:this.$style.comquitarFiltros},commejoresJugadoresClass(){const e=this.elementSize.width;return e<=480?this.$style.commejoresJugadores480:e<=730?this.$style.commejoresJugadores730:this.$style.commejoresJugadores},menuSectionClass(){return this.elementSize.width<=960?this.$style.commenuSection960:this.$style.commenuSection},topFiltersClass(){const e=this.elementSize.width;return e<=420?this.$style.comtopFilters420:e<=460?this.$style.comtopFilters460:e<=1232?this.$style.comtopFilters1232:this.$style.comtopFilters},toniKroosWrapperClass(){const e=this.elementSize.width;return e<=319?this.$style.comtoniKroosWrapper320:e<=420?this.$style.comtoniKroosWrapper420:e<=916?this.$style.comtoniKroosWrapper760:e<=975?this.$style.comtoniKroosWrapper975:e<=1079?this.$style.comtoniKroosWrapper1080:this.$style.comtoniKroosWrapper},containerTablesClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerTables320:e<=916?this.$style.comcontainerTables760:e<=1079?this.$style.comcontainerTables960:this.$style.comcontainerTables},containerTheBestClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerTheBest320:e<=960?this.$style.comcontainerTheBest960:e<=1232?this.$style.comcontainerTheBest1232:this.$style.comcontainerTheBest},menuSectionHeaderClass(){const e=this.elementSize.width;return e<=730?this.$style.commenuSectionHeader730:e<=960?this.$style.commenuSectionHeader960:e<=1232?this.$style.commenuSectionHeader1232:this.$style.commenuSectionHeader},losMejoresClass(){const e=this.elementSize.width;return e<=380?this.$style.comlosMejores380:e<=530?this.$style.comlosMejores530:e<=730?this.$style.comlosMejores730:this.$style.comlosMejores},dropdownClass(){return this.elementSize.width<=730?this.$style.comdropdown730:this.$style.comdropdown},dropdown1Class(){return this.elementSize.width<=730?this.$style.comdropdown1730:this.$style.comdropdown1},menuSectionParentHeaderClass(){const e=this.elementSize.width;return e<=430?this.$style.commenuSectionParentHeader430:e<=730?this.$style.commenuSectionParentHeader730:e<=960?this.$style.commenuSectionParentHeader960:e<=1232?this.$style.commenuSectionParentHeader1232:this.$style.commenuSectionParentHeader},templateLosMejoresClass(){const e=this.elementSize.width;return e<=319?this.$style.comtemplateLosMejores1320:e<=350?this.$style.comtemplateLosMejores1350:e<=420?this.$style.comtemplateLosMejores1420:e<=540?this.$style.comtemplateLosMejores1540:e<=960?this.$style.comtemplateLosMejores1960:e<=1232?this.$style.comtemplateLosMejores11232:this.$style.comtemplateLosMejores1},containerMenuClass(){return this.elementSize.width<=760?this.$style.comcontainerMenu760:this.$style.comcontainerMenu},titleSectionClass(){return this.elementSize.width<=540?this.$style.comtitleSection540:this.$style.comtitleSection},containerSectionClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerSection320:e<=350?this.$style.comcontainerSection350:e<=960?this.$style.comcontainerSection960:e<=1232?this.$style.comcontainerSection1232:this.$style.comcontainerSection},filtersContainerClass(){const e=this.elementSize.width;return e<=420?this.$style.comfiltersContainer420:e<=760?this.$style.comfiltersContainer760:e<=1232?this.$style.comfiltersContainer1232:this.$style.comfiltersContainer},topFiltersParentClass(){const e=this.elementSize.width;return e<=420?this.$style.comtopFiltersParent420:e<=460?this.$style.comtopFiltersParent460:e<=1232?this.$style.comtopFiltersParent1232:this.$style.comtopFiltersParent}}};function mv(e){const n=t.ref({width:0,height:0});function r(){const I=e.value.getBoundingClientRect();n.value.width=I.width,n.value.height=I.height}return t.onMounted(()=>{r(),window.addEventListener("resize",r)}),t.onUnmounted(()=>{window.removeEventListener("resize",r)}),{elementSize:n}}const xBt={containerLeftTitles:"_containerLeftTitles_zc6z8_119",containerLeftTitles420:"_containerLeftTitles420_zc6z8_135",containerLeftTitles620:"_containerLeftTitles620_zc6z8_151",containerLeftTitlesTeam:"_containerLeftTitlesTeam_zc6z8_169",containerLeftTitlesTeam1180:"_containerLeftTitlesTeam1180_zc6z8_185",containerLeftTitlesTeam1090:"_containerLeftTitlesTeam1090_zc6z8_201",containerLeftTitlesTeam960:"_containerLeftTitlesTeam960_zc6z8_217",containerLeftTitlesTeam860:"_containerLeftTitlesTeam860_zc6z8_233",containerLeftTitlesTeam768:"_containerLeftTitlesTeam768_zc6z8_249",containerLeftTitlesTeam680:"_containerLeftTitlesTeam680_zc6z8_265",containerLeftTitlesTeam620:"_containerLeftTitlesTeam620_zc6z8_281",containerLeftTitlesTeam420:"_containerLeftTitlesTeam420_zc6z8_297",headTitles:"_headTitles_zc6z8_315",headTitles960:"_headTitles960_zc6z8_345",headTitles420:"_headTitles420_zc6z8_375",headTitles540:"_headTitles540_zc6z8_415",headTitles460:"_headTitles460_zc6z8_445",headTitles620:"_headTitles620_zc6z8_475",position:"_position_zc6z8_505",position420:"_position420_zc6z8_523",player:"_player_zc6z8_529",player420:"_player420_zc6z8_551",containerRightType1:"_containerRightType1_zc6z8_559",containerRightTitles:"_containerRightTitles_zc6z8_573",containerRightTitles960:"_containerRightTitles960_zc6z8_591",block02Titles:"_block02Titles_zc6z8_609",block02Titles620:"_block02Titles620_zc6z8_625",mon1Scouting:"_mon1Scouting_zc6z8_633",mon1Scouting960:"_mon1Scouting960_zc6z8_653",mon1:"_mon1_zc6z8_633",mon1420:"_mon1420_zc6z8_689",mon1620:"_mon1620_zc6z8_709",icnIcon:"_icnIcon_zc6z8_729",icnIcon960:"_icnIcon960_zc6z8_739",icnIcon420:"_icnIcon420_zc6z8_751",teamTitle:"_teamTitle_zc6z8_759",positionTitle:"_positionTitle_zc6z8_779",ageTitle:"_ageTitle_zc6z8_795",partidos:"_partidos_zc6z8_811",playedGamesTitle:"_playedGamesTitle_zc6z8_819",playedMinutesTitle:"_playedMinutesTitle_zc6z8_839",block01Titles:"_block01Titles_zc6z8_857",mon:"_mon_zc6z8_633",containesOptionsTitles:"_containesOptionsTitles_zc6z8_889",templateTablaProductividadType1:"_templateTablaProductividadType1_zc6z8_903",templateTablaProductividadType1400:"_templateTablaProductividadType1400_zc6z8_927",headTitlesType1:"_headTitlesType1_zc6z8_955",headTitlesType1420:"_headTitlesType1420_zc6z8_981",headTitlesType1400:"_headTitlesType1400_zc6z8_1013",headTitlesType1540:"_headTitlesType1540_zc6z8_1045",headTitlesType1460:"_headTitlesType1460_zc6z8_1073",headTitlesType1680:"_headTitlesType1680_zc6z8_1101",headTitlesType1350:"_headTitlesType1350_zc6z8_1127",positionType1:"_positionType1_zc6z8_1157",positionType1400:"_positionType1400_zc6z8_1175",teamType1:"_teamType1_zc6z8_1195",teamType1400:"_teamType1400_zc6z8_1213",frecuenciaType1:"_frecuenciaType1_zc6z8_1233",frecuenciaType1540:"_frecuenciaType1540_zc6z8_1249",containerLeftTitlesType1:"_containerLeftTitlesType1_zc6z8_1267",frecuenciaWrapperType1:"_frecuenciaWrapperType1_zc6z8_1283",frecuenciaWrapperType1680:"_frecuenciaWrapperType1680_zc6z8_1301",promedioPartidoType1:"_promedioPartidoType1_zc6z8_1317",promedioEstePartidoType1:"_promedioEstePartidoType1_zc6z8_1325",promedioEstePartidoType1960:"_promedioEstePartidoType1960_zc6z8_1341",promedioEstePartidoWrapperType1:"_promedioEstePartidoWrapperType1_zc6z8_1349",promedioEstePartidoWrapperType11200:"_promedioEstePartidoWrapperType11200_zc6z8_1365",promedioEstePartidoWrapperType11090:"_promedioEstePartidoWrapperType11090_zc6z8_1383",promedioEstePartidoWrapperType11086:"_promedioEstePartidoWrapperType11086_zc6z8_1403",promedioPartidosType1:"_promedioPartidosType1_zc6z8_1421",promedioPartidosWrapperType1:"_promedioPartidosWrapperType1_zc6z8_1435",promedioPartidosWrapperType1960:"_promedioPartidosWrapperType1960_zc6z8_1451",promedioPartidosWrapperType11086:"_promedioPartidosWrapperType11086_zc6z8_1457",partidosJugadosType1:"_partidosJugadosType1_zc6z8_1463",partidosJugadosType1960:"_partidosJugadosType1960_zc6z8_1475",partidosJugadosWrapperType1:"_partidosJugadosWrapperType1_zc6z8_1489",partidosJugadosWrapperType11200:"_partidosJugadosWrapperType11200_zc6z8_1505",partidosJugadosWrapperType11180:"_partidosJugadosWrapperType11180_zc6z8_1521",partidosJugadosWrapperType11170:"_partidosJugadosWrapperType11170_zc6z8_1537",partidosJugadosWrapperType11140:"_partidosJugadosWrapperType11140_zc6z8_1553",partidosJugadosWrapperType11086:"_partidosJugadosWrapperType11086_zc6z8_1569",partidosJugadosWrapperType1960:"_partidosJugadosWrapperType1960_zc6z8_1585",partidosJugadosWrapperType1880:"_partidosJugadosWrapperType1880_zc6z8_1601",partidosJugadosWrapperType1860:"_partidosJugadosWrapperType1860_zc6z8_1617",partidosJugadosWrapperType1830:"_partidosJugadosWrapperType1830_zc6z8_1633",partidosJugadosWrapperType1790:"_partidosJugadosWrapperType1790_zc6z8_1649",partidosJugadosWrapperType1930:"_partidosJugadosWrapperType1930_zc6z8_1665",partidosJugadosWrapperType1770:"_partidosJugadosWrapperType1770_zc6z8_1681",block01TitlesType1:"_block01TitlesType1_zc6z8_1687",monType1:"_monType1_zc6z8_1703",monType1960:"_monType1960_zc6z8_1721",monType1680:"_monType1680_zc6z8_1741",videosType1:"_videosType1_zc6z8_1747",videosType1680:"_videosType1680_zc6z8_1767",videosType1600:"_videosType1600_zc6z8_1785",videosType1540:"_videosType1540_zc6z8_1803",videosType1420:"_videosType1420_zc6z8_1821",videosType1400:"_videosType1400_zc6z8_1839",containesOptionsTitlesType1:"_containesOptionsTitlesType1_zc6z8_1863",containesOptionsTitlesType1768:"_containesOptionsTitlesType1768_zc6z8_1879",containesOptionsTitlesType1730:"_containesOptionsTitlesType1730_zc6z8_1893",containesOptionsTitlesType1690:"_containesOptionsTitlesType1690_zc6z8_1907",icnIconType1:"_icnIconType1_zc6z8_1921",icnIconType1420:"_icnIconType1420_zc6z8_1933",icnIconType1400:"_icnIconType1400_zc6z8_1947",block02TitlesType1:"_block02TitlesType1_zc6z8_1955",block02TitlesType1680:"_block02TitlesType1680_zc6z8_1969",block02TitlesType1350:"_block02TitlesType1350_zc6z8_1983",containerRightTitlesType1:"_containerRightTitlesType1_zc6z8_1997",containerRightTitlesType1420:"_containerRightTitlesType1420_zc6z8_2015"},lT={components:{},computed:{icnIconType1Class(){const e=this.elementSize.width;return e<=400?this.$style.icnIconType1400:e<=420?this.$style.icnIconType1420:this.$style.icnIconType1},videosType1Class(){const e=this.elementSize.width;return e<=400?this.$style.videosType1400:e<=420?this.$style.videosType1420:e<=540?this.$style.videosType1540:e<=600?this.$style.videosType1600:e<=680?this.$style.videosType1680:this.$style.videosType1},monType1Class(){const e=this.elementSize.width;return e<=680?this.$style.monType1680:e<=960?this.$style.monType1960:this.$style.monType1},block02TitlesType1Class(){const e=this.elementSize.width;return e<=350?this.$style.block02TitlesType1350:e<=680?this.$style.block02TitlesType1680:this.$style.block02TitlesType1},containesOptionsTitlesType1Class(){const e=this.elementSize.width;return e<=400?this.$style.containesOptionsTitlesType1400:e<=690?this.$style.containesOptionsTitlesType1690:e<=730?this.$style.containesOptionsTitlesType1730:e<=768?this.$style.containesOptionsTitlesType1768:this.$style.containesOptionsTitlesType1},partidosJugadosWrapperType1Class(){const e=this.elementSize.width;return e<=770?this.$style.promedioPartidosWrapperType1770:e<=790?this.$style.partidosJugadosWrapperType1790:e<=830?this.$style.partidosJugadosWrapperType1830:e<=860?this.$style.partidosJugadosWrapperType1860:e<=880?this.$style.partidosJugadosWrapperType1880:e<=930?this.$style.partidosJugadosWrapperType1930:e<=960?this.$style.partidosJugadosWrapperType1960:e<=1086?this.$style.partidosJugadosWrapperType11086:e<=1140?this.$style.partidosJugadosWrapperType11140:e<=1170?this.$style.partidosJugadosWrapperType11170:e<=1180?this.$style.partidosJugadosWrapperType11180:e<=1200?this.$style.partidosJugadosWrapperType11200:this.$style.partidosJugadosWrapperType1},promedioPartidosWrapperType1Class(){const e=this.elementSize.width;return e<=960?this.$style.promedioPartidosWrapperType1960:e<=1086?this.$style.promedioPartidosWrapperType11086:this.$style.promedioPartidosWrapperType1},partidosJugadosType1Class(){return this.elementSize.width<=960?this.$style.partidosJugadosType1960:this.$style.partidosJugadosType1},templateTablaProductividadType1Class(){return this.elementSize.width<=400?this.$style.templateTablaProductividadType1400:this.$style.templateTablaProductividadType1},promedioEstePartidoType1Class(){return this.elementSize.width<=960?this.$style.promedioEstePartidoType1960:this.$style.promedioEstePartidoType1},headTitlesType1Class(){const e=this.elementSize.width;return e<=350?this.$style.headTitlesType1350:e<=400?this.$style.headTitlesType1400:e<=420?this.$style.headTitlesType1420:e<=460?this.$style.headTitlesType1460:e<=540?this.$style.headTitlesType1540:e<=680?this.$style.headTitlesType1680:this.$style.headTitlesType1},headTitlesClass(){const e=this.elementSize.width;return e<=420?this.$style.headTitles420:e<=460?this.$style.headTitles460:e<=540?this.$style.headTitles540:e<=620?this.$style.headTitles620:e<=960?this.$style.headTitles960:this.$style.headTitles},containerLeftTitlesClass(){const e=this.elementSize.width;return e<=420?this.$style.containerLeftTitles420:e<=620?this.$style.containerLeftTitles620:this.$style.containerLeftTitles},containerLeftTitlesClassTeam(){const e=this.elementSize.width;return e<=420?this.$style.containerLeftTitlesTeam420:e<=620?this.$style.containerLeftTitlesTeam620:e<=680?this.$style.containerLeftTitlesTeam680:e<=768?this.$style.containerLeftTitlesTeam768:e<=860?this.$style.containerLeftTitlesTeam860:e<=960?this.$style.containerLeftTitlesTeam960:e<=1090?this.$style.containerLeftTitlesTeam1090:e<=1180?this.$style.containerLeftTitlesTeam1180:this.$style.containerLeftTitlesTeam},icnIconClass(){const e=this.elementSize.width;return e<=420?this.$style.icnIcon420:e<=960?this.$style.icnIcon960:this.$style.icnIcon},mon1Class(){const e=this.elementSize.width;return e<=420?this.$style.mon1420:e<=620?this.$style.mon1620:this.$style.mon1},mon1ScoutingClass(){const e=this.elementSize.width;return e<=420?this.$style.mon1420:e<=960?this.$style.mon1Scouting960:this.$style.mon1Scouting},promedioEstePartidoWrapperType1Class(){const e=this.elementSize.width;return e<=1086?this.$style.promedioEstePartidoWrapperType11086:e<=1090?this.$style.promedioEstePartidoWrapperType11090:e<=1200?this.$style.promedioEstePartidoWrapperType11200:this.$style.promedioEstePartidoWrapperType1},frecuenciaWrapperType1Class(){return this.elementSize.width<=680?this.$style.frecuenciaWrapperType1680:this.$style.frecuenciaWrapperType1},frecuenciaType1Class(){return this.elementSize.width<=540?this.$style.frecuenciaType1540:this.$style.frecuenciaType1},positionType1Class(){return this.elementSize.width<=400?this.$style.positionType1400:this.$style.positionType1},containerRightType1Class(){return this.elementSize.width<=420?this.$style.containerRightType1420:this.$style.containerRightType1},containerRightTitlesType1Class(){return this.elementSize.width<=420?this.$style.containerRightTitlesType1420:this.$style.containerRightTitlesType1},teamType1Class(){return this.elementSize.width<=400?this.$style.teamType1400:this.$style.teamType1},playerClass(){return this.elementSize.width<=420?this.$style.player420:this.$style.player},positionClass(){return this.elementSize.width<=420?this.$style.position420:this.$style.position},containerRightTitlesClass(){return this.elementSize.width<=960?this.$style.containerRightTitles960:this.$style.containerRightTitles},block02TitlesClass(){return this.elementSize.width<=620?this.$style.block02Titles960:this.$style.block02Titles}},setup(){const e=t.ref("myDivRef"),{elementSize:n}=mv(e);return{myDivRef:e,elementSize:n}},props:{type:{type:Number,default:0},background:{type:String,default:"#172531"},height:{type:String,default:"71px"},heightTeam:{type:String,default:"65px"},fontColor:{type:String,default:"#FFFFFF"},fontSize:{type:String,default:"12px"},fontFamily:{type:String,default:"Poppins-Regular"}},watch:{},data:()=>({}),async created(){},methods:{}},eq=()=>{t.useCssVars(e=>({"36b4a6f1":e.background,"14723c6a":e.height,"0b468773":e.fontSize,"5cab7631":e.fontColor,"3d1cee56":e.fontFamily,"421ca432":e.heightTeam}))},tq=lT.setup;lT.setup=tq?(e,n)=>(eq(),tq(e,n)):eq;const wBt={ref:"myDivRef"},kBt=t.createElementVNode("br",null,null,-1),CBt=t.createElementVNode("br",null,null,-1);function SBt(e,n,r,I,F,h){return t.openBlock(),t.createElementBlock("div",wBt,[r.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(h.headTitlesClass),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(h.containerLeftTitlesClass),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(h.positionClass)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(h.playerClass)},"Jugador",2)],2),t.createElementVNode("div",{class:t.normalizeClass(h.containerRightTitlesClass),id:"container-right-titles"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01Titles)},[I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamTitle)},"Equipo",2)):t.createCommentVNode("",!0),I.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.positionTitle)},"Posición",2)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.ageTitle)},"edad",2)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.ageTitle)},"País",2)):t.createCommentVNode("",!0),I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGamesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Partidos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),I.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Minutos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(h.block02TitlesClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsTitles)},[I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.mon)},"Total",2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(h.mon1Class)},"Videos",2)],2)],2)],2)],2)):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(h.templateTablaProductividadType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(h.headTitlesType1Class),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(h.containerLeftTitlesClassTeam),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(h.positionType1Class)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(h.teamType1Class)},"Equipo",2)],2),t.createElementVNode("div",{class:t.normalizeClass(h.containerRightType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(h.frecuenciaWrapperType1Class)},[I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(h.frecuenciaType1Class)},"Frecuencia",2)):t.createCommentVNode("",!0)],2),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(h.promedioEstePartidoWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(h.promedioEstePartidoType1Class)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},"Promedio partido",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},"este Torneo",2)],2)],2)):t.createCommentVNode("",!0),I.elementSize.width>1086?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(h.promedioPartidosWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.promedioPartidosType1)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},[t.createTextVNode("Promedio partido"),kBt,t.createTextVNode("Torneo anterior")],2)],2)],2)):t.createCommentVNode("",!0),I.elementSize.width>770?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(h.partidosJugadosWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.partidosJugadosType1)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},[t.createTextVNode("Partidos "),CBt,t.createTextVNode("Jugados")],2)],2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(h.containesOptionsTitlesType1Class)},[I.elementSize.width>680?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(h.monType1Class)},"total",2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(h.videosType1Class)},"Videos",2)],2)],2)],2)):t.createCommentVNode("",!0),r.type==2?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(h.headTitlesClass),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(h.containerLeftTitlesClass),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(h.positionClass)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(h.playerClass)},"Jugador",2)],2),t.createElementVNode("div",{class:t.normalizeClass(h.containerRightTitlesClass),id:"container-right-titles"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01Titles)},[I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamTitle)},"Equipo",2)):t.createCommentVNode("",!0),I.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.positionTitle)},"Posición",2)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.ageTitle)},"edad",2)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.ageTitle)},"País",2)):t.createCommentVNode("",!0),I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGamesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Partidos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),I.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Minutos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),I.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:6,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Liga",2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(h.block02TitlesClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsTitles)},[t.createElementVNode("div",{class:t.normalizeClass(h.mon1ScoutingClass)},"Videos",2)],2)],2)],2)],2)):t.createCommentVNode("",!0)],512)}const aq=Hr(lT,[["render",SBt],["__cssModules",{$style:xBt}]]),Uga="",cT={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:{type:String,default:"https://golstatsimages.blob.core.windows.net/images-library/arrow-btn.png"},iconPosition:{type:String,default:"left"},iconSize:String,mini:{type:Boolean,default:!1},fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},buttonMaxWidth:{type:String,default:"auto"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,maxWidth:this.buttonMaxWidth,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},nq=()=>{t.useCssVars(e=>({"124740d4":e.height,"10134ca2":e.borderWidthBtn,"3c6b92b3":e.borderType,"50129b0a":e.borderColor,"69df146a":e.borderRadius,22745479:e.width,"6940cc70":e.backgroundColor,"5644e646":e.cursorType,"3027cd46":e.fontSize,"159c0fd5":e.fontStyle,f2b4a480:e.fontFamily,cd9e6514:e.marginLeftStat,"777d9d51":e.fontSizeStat}))},rq=cT.setup;cT.setup=rq?(e,n)=>(nq(),rq(e,n)):nq;const TBt=e=>(t.pushScopeId("data-v-04a0bdbd"),e=e(),t.popScopeId(),e),EBt=["src"],ABt={key:1,class:"text"},MBt=["src"],IBt={class:"stats"},NBt=TBt(()=>t.createElementVNode("img",{class:"iconstats",src:"https://az755631.vo.msecnd.net/todoelfut/playdes.png"},null,-1)),BBt={class:"numstats"},PBt={class:"leyend"};function OBt(e,n,r,I,F,h){return t.openBlock(),t.createElementBlock("div",null,[r.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",F.status&&r.typeOnOff&&"button-active"]),style:t.normalizeStyle([h.customStyle,F.status&&r.typeOnOff&&h.customActive]),onClick:n[0]||(n[0]=(...m)=>h.btnClick&&h.btnClick(...m))},[r.icon&&r.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(r.mini?"icon-txt":"icon"),style:t.normalizeStyle({width:r.iconSize}),src:r.icon},null,14,EBt)):t.createCommentVNode("",!0),r.textValue?(t.openBlock(),t.createElementBlock("div",ABt,t.toDisplayString(r.textValue),1)):t.createCommentVNode("",!0),r.icon&&r.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:r.iconSize}),src:r.icon},null,12,MBt)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:n[1]||(n[1]=(...m)=>h.btnClick&&h.btnClick(...m))},[t.createElementVNode("div",IBt,[NBt,t.createElementVNode("div",BBt,t.toDisplayString(r.textStat),1)]),t.createElementVNode("div",PBt,t.toDisplayString(r.textCategory),1)])):t.createCommentVNode("",!0)])}const iq=Hr(cT,[["render",OBt],["__scopeId","data-v-04a0bdbd"]]),LBt={rotate:"_rotate_1cvqy_5",positionContainer:"_positionContainer_1cvqy_99",positionContainer620:"_positionContainer620_1cvqy_113",rowwPlayerGames:"_rowwPlayerGames_1cvqy_127",rowwPlayer960Games:"_rowwPlayer960Games_1cvqy_159",rowwPlayer420Games:"_rowwPlayer420Games_1cvqy_189",rowwPlayer460Games:"_rowwPlayer460Games_1cvqy_221",containerLeftGames:"_containerLeftGames_1cvqy_255",containerLeft420Games:"_containerLeft420Games_1cvqy_271",containerLeft620Games:"_containerLeft620Games_1cvqy_287",iconFavoritesType1:"_iconFavoritesType1_1cvqy_301",iconFavoritesType1320:"_iconFavoritesType1320_1cvqy_317",iconFavorites:"_iconFavorites_1cvqy_301",iconFavorites420:"_iconFavorites420_1cvqy_349",playerContainerGames:"_playerContainerGames_1cvqy_365",playerContainer420Games:"_playerContainer420Games_1cvqy_389",playerContainer460Games:"_playerContainer460Games_1cvqy_413",playerContainerType1Games:"_playerContainerType1Games_1cvqy_437",playerContainerType1320Games:"_playerContainerType1320Games_1cvqy_457",playerContainerType1460Games:"_playerContainerType1460Games_1cvqy_477",imgPlayerIcon:"_imgPlayerIcon_1cvqy_497",imgPlayerIcon460:"_imgPlayerIcon460_1cvqy_517",imgPlayerIcon420:"_imgPlayerIcon420_1cvqy_537",manchesterUnitedGames:"_manchesterUnitedGames_1cvqy_557",manchesterUnited360Games:"_manchesterUnited360Games_1cvqy_579",manchesterUnited420Games:"_manchesterUnited420Games_1cvqy_601",manchesterUnited460Games:"_manchesterUnited460Games_1cvqy_623",containerRightGames:"_containerRightGames_1cvqy_645",containerRight960Games:"_containerRight960Games_1cvqy_663",containerRight420Games:"_containerRight420Games_1cvqy_683",numberOfVideos:"_numberOfVideos_1cvqy_705",numberOfVideos620:"_numberOfVideos620_1cvqy_717",block02Games:"_block02Games_1cvqy_729",block02960Games:"_block02960Games_1cvqy_749",block02620Games:"_block02620Games_1cvqy_767",block02420Games:"_block02420Games_1cvqy_781",verVideos:"_verVideos_1cvqy_797",verVideos620:"_verVideos620_1cvqy_809",numberPosition:"_numberPosition_1cvqy_815",shapeIcon:"_shapeIcon_1cvqy_827",chivasIcon:"_chivasIcon_1cvqy_837",imgTeamIcon:"_imgTeamIcon_1cvqy_859",teamName:"_teamName_1cvqy_869",nameTeamGames:"_nameTeamGames_1cvqy_881",dfC:"_dfC_1cvqy_899",position:"_position_1cvqy_99",age:"_age_1cvqy_919",manchesterUnitedIcon:"_manchesterUnitedIcon_1cvqy_935",country:"_country_1cvqy_949",playedGames:"_playedGames_1cvqy_963",playedMinutes:"_playedMinutes_1cvqy_977",block01:"_block01_1cvqy_991",leagueName:"_leagueName_1cvqy_1005",roleCharacterIcon:"_roleCharacterIcon_1cvqy_1017",btnVideosGames:"_btnVideosGames_1cvqy_1033",containerBtnVideosGames:"_containerBtnVideosGames_1cvqy_1063",containerBtnVideos620Games:"_containerBtnVideos620Games_1cvqy_1083",containesOptions:"_containesOptions_1cvqy_1101",arrowExpandIcon:"_arrowExpandIcon_1cvqy_1115",rowTeam:"_rowTeam_1cvqy_1133",rowTeam420:"_rowTeam420_1cvqy_1169",rowTeam320:"_rowTeam320_1cvqy_1205",rowTeam460:"_rowTeam460_1cvqy_1243",rowTeam350:"_rowTeam350_1cvqy_1281",containerLeftType1:"_containerLeftType1_1cvqy_1317",containerLeftType1680:"_containerLeftType1680_1cvqy_1329",containerLeftType1320:"_containerLeftType1320_1cvqy_1343",containerLeftType1350:"_containerLeftType1350_1cvqy_1359",positionContainertype1:"_positionContainertype1_1cvqy_1373",positionContainertype1380:"_positionContainertype1380_1cvqy_1389",positionContainertype1680:"_positionContainertype1680_1cvqy_1405",positionContainertype1420:"_positionContainertype1420_1cvqy_1421",manchesterUnitedType1:"_manchesterUnitedType1_1cvqy_1437",manchesterUnitedType1460:"_manchesterUnitedType1460_1cvqy_1449",manchesterUnitedType1320:"_manchesterUnitedType1320_1cvqy_1463",containerRightType1Games:"_containerRightType1Games_1cvqy_1477",containerRightType1420Games:"_containerRightType1420Games_1cvqy_1499",containerRightType1320Games:"_containerRightType1320Games_1cvqy_1521",teamNameWrapperType1:"_teamNameWrapperType1_1cvqy_1543",teamNameWrapperType1960:"_teamNameWrapperType1960_1cvqy_1557",teamNameWrapperType11086:"_teamNameWrapperType11086_1cvqy_1571",ageWrapperType1:"_ageWrapperType1_1cvqy_1585",ageWrapperType1680:"_ageWrapperType1680_1cvqy_1599",ageWrapperType11086:"_ageWrapperType11086_1cvqy_1615",ageType1:"_ageType1_1cvqy_1631",ageType1960:"_ageType1960_1cvqy_1647",playedGamesWrapperType1:"_playedGamesWrapperType1_1cvqy_1653",playedGamesWrapperType1680:"_playedGamesWrapperType1680_1cvqy_1667",playedGamesWrapperType1960:"_playedGamesWrapperType1960_1cvqy_1673",playedGamesType1:"_playedGamesType1_1cvqy_1679",playedGamesType1540:"_playedGamesType1540_1cvqy_1693",playedGamesType1960:"_playedGamesType1960_1cvqy_1701",playedGamesType11086:"_playedGamesType11086_1cvqy_1707",playedMinutesWrapperType1:"_playedMinutesWrapperType1_1cvqy_1713",playedMinutesWrapperType11086:"_playedMinutesWrapperType11086_1cvqy_1727",playedMinutesType1:"_playedMinutesType1_1cvqy_1741",playedMinutesType1680:"_playedMinutesType1680_1cvqy_1755",block02Type1Games:"_block02Type1Games_1cvqy_1761",block02Type1680Games:"_block02Type1680Games_1cvqy_1777",block02Type1320Games:"_block02Type1320Games_1cvqy_1793",block02Type1350Games:"_block02Type1350Games_1cvqy_1811",leagueNameWrapperType1:"_leagueNameWrapperType1_1cvqy_1827",leagueNameWrapperType1680:"_leagueNameWrapperType1680_1cvqy_1843",leagueNameWrapperType1960:"_leagueNameWrapperType1960_1cvqy_1849",leagueNameType1:"_leagueNameType1_1cvqy_1865",leagueNameType1960:"_leagueNameType1960_1cvqy_1885",numberOfVideosType1:"_numberOfVideosType1_1cvqy_1905",numberOfVideosType1680:"_numberOfVideosType1680_1cvqy_1919",numberOfVideosType11232:"_numberOfVideosType11232_1cvqy_1933",vectorIconType1:"_vectorIconType1_1cvqy_1947",block01TitlesType1:"_block01TitlesType1_1cvqy_1981",numberPositionType1:"_numberPositionType1_1cvqy_1995",shapeIconType1:"_shapeIconType1_1cvqy_2007",tijuanaIconType1:"_tijuanaIconType1_1cvqy_2019",tijuanaWrapperType1:"_tijuanaWrapperType1_1cvqy_2031",tijuanaWrapperType1NoBg:"_tijuanaWrapperType1NoBg_1cvqy_2053",teamNameType1:"_teamNameType1_1cvqy_2069",roleCharacterIconType1:"_roleCharacterIconType1_1cvqy_2083",verVideosType1:"_verVideosType1_1cvqy_2097",btnVideosType1Games:"_btnVideosType1Games_1cvqy_2109",containerBtnVideosType1Games:"_containerBtnVideosType1Games_1cvqy_2139",containesOptionsType1Games:"_containesOptionsType1Games_1cvqy_2161",arrowExpandIconType1:"_arrowExpandIconType1_1cvqy_2177",templateTablaProductividadType1:"_templateTablaProductividadType1_1cvqy_2189",verVideosType11232:"_verVideosType11232_1cvqy_2213",templateTablaProductividadType1320:"_templateTablaProductividadType1320_1cvqy_2221",verVideosType1680:"_verVideosType1680_1cvqy_2229"},dT={components:{GSCButton:iq},computed:{manchesterUnitedType1Class(){const e=this.elementSize.width;return e<=320?this.$style.manchesterUnitedType1320:e<=460?this.$style.manchesterUnitedType1460:this.$style.manchesterUnitedType1},containerRightType1Class(){const e=this.elementSize.width;return e<=320?this.$style.containerRightType1320Games:e<=420?this.$style.containerRightType1420Games:this.$style.containerRightType1Games},teamNameWrapperType1Class(){const e=this.elementSize.width;return e<=960?this.$style.teamNameWrapperType1960:e<=1086?this.$style.teamNameWrapperType11086:this.$style.teamNameWrapperType1},ageWrapperType1Class(){const e=this.elementSize.width;return e<=680?this.$style.ageWrapperType1680:e<=1086?this.$style.ageWrapperType11086:this.$style.ageWrapperType1},ageType1Class(){return this.elementSize.width<=960?this.$style.ageType1960:this.$style.ageType1},playedGamesWrapperType1Class(){const e=this.elementSize.width;return e<=680?this.$style.playedGamesWrapperType1680:e<=960?this.$style.playedGamesWrapperType1960:this.$style.playedGamesWrapperType1},playedGamesType1Class(){const e=this.elementSize.width;return e<=540?this.$style.playedGamesType1540:e<=960?this.$style.playedGamesType1960:e<=1086?this.$style.playedGamesType11086:this.$style.playedGamesType1},playedMinutesWrapperType1Class(){return this.elementSize.width<=1086?this.$style.playedMinutesWrapperType11086:this.$style.playedMinutesWrapperType1},playedMinutesType1Class(){return this.elementSize.width<=680?this.$style.playedMinutesType1680:this.$style.playedMinutesType1},block02Type1Class(){const e=this.elementSize.width;return e<=320?this.$style.block02Type1320Games:e<=350?this.$style.block02Type1350Games:e<=680?this.$style.block02Type1680Games:this.$style.block02Type1Games},leagueNameWrapperType1Class(){const e=this.elementSize.width;return e<=680?this.$style.leagueNameWrapperType1680:e<=960?this.$style.leagueNameWrapperType1960:this.$style.leagueNameWrapperType1},leagueNameType1Class(){return this.elementSize.width<=960?this.$style.leagueNameType1960:this.$style.leagueNameType1},numberOfVideosType1Class(){const e=this.elementSize.width;return e<=680?this.$style.numberOfVideosType1680:e<=1232?this.$style.numberOfVideosType11232:this.$style.numberOfVideosType1},containerLeftType1Class(){const e=this.elementSize.width;return e<=320?this.$style.containerLeftType1320:e<=350?this.$style.containerLeftType1350:e<=680?this.$style.containerLeftType1680:this.$style.containerLeftType1},positionContainertype1Class(){const e=this.elementSize.width;return e<=380?this.$style.positionContainertype1380:e<=420?this.$style.positionContainertype1420:e<=680?this.$style.positionContainertype1680:this.$style.positionContainertype1},rowTeamClass(){const e=this.elementSize.width;return e<=320?this.$style.rowTeam320:e<=350?this.$style.rowTeam350:e<=420?this.$style.rowTeam420:e<=460?this.$style.rowTeam460:this.$style.rowTeam},containerBtnVideosClass(){return this.$style.containerBtnVideosGames},numberOfVideosClass(){return this.elementSize.width<=620?this.$style.numberOfVideos620:this.$style.numberOfVideos},block02Class(){const e=this.elementSize.width;return e<=420?this.$style.block02420Games:e<=620?this.$style.block02620Games:e<=960?this.$style.block02960Games:this.$style.block02Games},imgPlayerIconClass(){const e=this.elementSize.width;return e<=420?this.$style.imgPlayerIcon420:e<=460?this.$style.imgPlayerIcon460:this.$style.imgPlayerIcon},manchesterUnitedClass(){const e=this.elementSize.width;return e<=360?this.$style.manchesterUnited360Games:e<=420?this.$style.manchesterUnited420Games:e<=460?this.$style.manchesterUnited460Games:this.$style.manchesterUnitedGames},containerRightClass(){const e=this.elementSize.width;return e<=420?this.$style.containerRight420Games:e<=960?this.$style.containerRight960Games:this.$style.containerRightGames},playerContainerType1Class(){const e=this.elementSize.width;return e<=320?this.$style.playerContainerType1320Games:e<=460?this.$style.playerContainerType1460Games:this.$style.playerContainerType1Games},playerContainerClass(){const e=this.elementSize.width;return e<=420?this.$style.playerContainer420Games:e<=460?this.$style.playerContainer460Games:this.$style.playerContainerGames},iconFavoritesClass(){return this.elementSize.width<=420?this.$style.iconFavorites420:this.$style.iconFavorites},iconFavoritesType1Class(){return this.elementSize.width<=320?this.$style.iconFavoritesType1320:this.$style.iconFavoritesType1},containerLeftClass(){const e=this.elementSize.width;return e<=420?this.$style.containerLeft420Games:e<=620?this.$style.containerLeft620Games:this.$style.containerLeftGames},positionContainerClass(){return this.elementSize.width<=620?this.$style.positionContainer620:this.$style.positionContainer},rowwPlayerClass(){const e=this.elementSize.width;return e<=420?this.$style.rowwPlayer420Games:e<=460?this.$style.rowwPlayer460Games:e<=960?this.$style.rowwPlayer960Games:this.$style.rowwPlayerGames}},setup(){const e=t.ref("myDivRef2"),{elementSize:n}=mv(e);return{myDivRef2:e,elementSize:n}},props:{typeData:{type:Number,default:1},canPlayVideos:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},type:{type:Number,default:0},typeView:{type:Number,default:0},isExpanded:{type:Boolean,default:!1},background:{type:String,default:"#172531"},height:{type:String,default:"35px"},fontColor:{type:String,default:"#F4F4F4"},fontSize:{type:String,default:"12px"},fontFamily:{type:String,default:"Poppins-Regular"},data:{type:Object,default:()=>{}},game:{type:Object,default:()=>{}},colorArrow:{type:String,default:"#D9D9D9"},buttonTextValue:{type:String,default:"Ver videos"},iconVideos:{type:String,default:"https://golstatsimages.blob.core.windows.net/images-library/arrow-btn.png"},iconSize:{type:String,default:"13px"},iconSizeMini:{type:String,default:"13px"},iconPosition:{type:String,default:"left"},buttonWidth:{type:String,default:"93px"},buttonWidthMini:{type:String,default:"24px"},buttonHeightMini:{type:String,default:"24px"},buttonHeight:{type:String,default:"30px"},buttonRadius:{type:String,default:"30px"},buttonBorderWidth:{type:Number,default:1},buttonBackground:{type:String,default:"#ffffff1a"},buttonfontFamily:{type:String,default:"Poppins-Regular"},buttonBorderColor:{type:String,default:"#55636e"},buttonFontSize:{type:String,default:"10px"}},data:()=>({expand:!1}),methods:{clickExpand(e){this.$emit("expand",{expand:!this.isExpanded,id:e})},emitEventMedia(e){this.$emit("mediadata",e)}}},oq=()=>{t.useCssVars(e=>({"20b41037":e.height,"39c46784":e.background,"0e629c00":e.fontSize,"85dc1978":e.fontColor,"2cf3d8ba":e.fontFamily}))},sq=dT.setup;dT.setup=sq?(e,n)=>(oq(),sq(e,n)):oq;const FBt={ref:"myDivRef2",style:{"border-left":"rgba(13,29,41,0.7) 1px solid","border-right":"rgba(13,29,41,0.7) 1px solid"}},DBt=["src"],zBt=["src"],VBt=["src"],RBt=["src"],$Bt=["fill"],jBt=["fill"],UBt=["src"],GBt=["src"],HBt=["fill"],WBt=["fill"],qBt=["src"],YBt=["src"],XBt=["src"],JBt=["src"],ZBt=["fill"],KBt=["fill"];function QBt(e,n,r,I,F,h){const m=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",FBt,[r.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(h.rowwPlayerClass),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(h.containerLeftClass),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(h.positionContainerClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.numberPosition)},t.toDisplayString(r.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(h.playerContainerClass)},[t.createElementVNode("img",{class:t.normalizeClass(h.imgPlayerIconClass),src:r.data.player_photo},null,10,DBt),t.createElementVNode("div",{class:t.normalizeClass(h.manchesterUnitedClass)},[I.elementSize.width<=420?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(r.data.player_short),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(r.data.player_name),1)],64))],2),I.elementSize.width<=420?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.chivasIcon),alt:"",src:r.data.team_logo},null,10,zBt)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(h.containerRightClass),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01)},[I.elementSize.width>420?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.nameTeamGames)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgTeamIcon),alt:"",src:r.data.team_logo},null,10,VBt),I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamName)},t.toDisplayString(r.data.team_abrev),3)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),I.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.position)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.dfC)},t.toDisplayString(r.data.player_position),3)],2)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.age)},t.toDisplayString(r.data.player_age),3)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.country)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.manchesterUnitedIcon),alt:"",src:r.data.player_country_flag},null,10,RBt)],2)):t.createCommentVNode("",!0),I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGames)},t.toDisplayString(r.data.player_games),3)):t.createCommentVNode("",!0),I.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutes)},t.toDisplayString(r.data.player_min),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(h.block02Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptions)},[I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.leagueName)},t.toDisplayString(r.data.total),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(h.containerBtnVideosClass)},[r.canPlayVideos||r.game.awayTeam.team_id==r.teamWidget&&r.typeData!=1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[I.elementSize.width>635?(t.openBlock(),t.createBlock(m,{key:0,icon:r.iconVideos,"icon-size":r.iconSize,"icon-position":r.iconPosition,width:r.buttonWidth,height:r.buttonHeight,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"text-value":r.buttonTextValue,"font-size":r.buttonFontSize,onClick:n[0]||(n[0]=a=>h.emitEventMedia(r.data))},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"])):(t.openBlock(),t.createBlock(m,{key:1,mini:!0,icon:r.iconVideos,"icon-size":r.iconSizeMini,"icon-position":r.iconPosition,width:r.buttonWidthMini,height:r.buttonHeightMini,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"font-size":r.buttonFontSize,onClick:n[1]||(n[1]=a=>h.emitEventMedia(r.data))},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","font-size"]))],64)):t.createCommentVNode("",!0),I.elementSize.width<=635?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(h.numberOfVideosClass)},t.toDisplayString(r.data.total),3)):t.createCommentVNode("",!0)],2)],2),(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,r.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:r.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:n[2]||(n[2]=a=>h.clickExpand(r.data.id))},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:r.colorArrow},null,8,jBt)],10,$Bt))],2)],2)],2)):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(h.rowTeamClass),style:t.normalizeStyle(I.elementSize.width>540?"border-bottom: 1px solid rgba(255, 255, 255, 0.1)":""),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(h.containerLeftType1Class),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(h.positionContainertype1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.numberPositionType1)},t.toDisplayString(r.data.position),3),t.createElementVNode("div",{class:t.normalizeClass(h.iconFavoritesType1Class)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIconType1),alt:"",src:r.data.team_logo},null,10,UBt)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(h.playerContainerType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(r.typeView==0?e.$style.tijuanaWrapperType1:e.$style.tijuanaWrapperType1NoBg)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.tijuanaIconType1),alt:"",src:r.data.team_logo},null,10,GBt)],2),t.createElementVNode("div",{class:t.normalizeClass(h.manchesterUnitedType1Class)},t.toDisplayString(r.data.team_abrev),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(h.containerRightType1Class),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01TitlesType1)},[I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(h.teamNameWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamNameType1)},[t.createTextVNode(" C/"+t.toDisplayString(r.data.frequency)+" ",1),r.data.category!=2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("min")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("segs")],64))],2)],2)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(h.ageWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(h.ageType1Class)},t.toDisplayString(r.data.promthistournament),3)],2)):t.createCommentVNode("",!0),I.elementSize.width>1086?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(h.playedGamesWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(h.playedGamesType1Class)},t.toDisplayString(r.data.promlasttournament),3)],2)):t.createCommentVNode("",!0),I.elementSize.width>770?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(h.playedMinutesWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(h.playedMinutesType1Class)},t.toDisplayString(r.data.team_games),3)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(h.block02Type1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsType1Games)},[t.createElementVNode("div",{class:t.normalizeClass(h.leagueNameWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(h.leagueNameType1Class)},t.toDisplayString(r.data.total),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerBtnVideosType1Games)},[I.elementSize.width>679&&r.canPlayVideos?(t.openBlock(),t.createBlock(m,{key:0,icon:r.iconVideos,"icon-size":r.iconSize,"icon-position":r.iconPosition,width:r.buttonWidth,height:r.buttonHeight,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"text-value":r.buttonTextValue,"font-size":r.buttonFontSize,onClick:n[3]||(n[3]=a=>h.emitEventMedia(r.data))},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"])):(t.openBlock(),t.createBlock(m,{key:1,mini:!0,icon:r.iconVideos,"icon-size":r.iconSizeMini,"icon-position":r.iconPosition,width:r.buttonWidthMini,height:r.buttonHeightMini,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"font-size":r.buttonFontSize,onClick:n[4]||(n[4]=a=>h.emitEventMedia(r.data))},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","font-size"])),t.createElementVNode("div",{class:t.normalizeClass(h.numberOfVideosType1Class)},t.toDisplayString(r.data.total),3)],2)],2),(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,r.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:r.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:n[5]||(n[5]=a=>h.clickExpand(r.data.id))},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:r.colorArrow},null,8,WBt)],10,HBt))],2)],2)],6)):t.createCommentVNode("",!0),r.type==2?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(h.rowwPlayerClass),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(h.containerLeftClass),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(h.positionContainerClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.numberPosition)},t.toDisplayString(r.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(h.playerContainerClass)},[t.createElementVNode("img",{class:t.normalizeClass(h.imgPlayerIconClass),src:r.data.player_photo},null,10,qBt),t.createElementVNode("div",{class:t.normalizeClass(h.manchesterUnitedClass)},t.toDisplayString(r.data.player_name),3),I.elementSize.width<=420?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.chivasIcon),alt:"",src:r.data.team_logo},null,10,YBt)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(h.containerRightClass),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01)},[I.elementSize.width>420?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.nameTeamGames)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgTeamIcon),alt:"",src:r.data.team_logo},null,10,XBt),I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamName)},t.toDisplayString(r.data.team_abrev),3)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),I.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.position)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.dfC)},t.toDisplayString(r.data.player_position),3)],2)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.age)},t.toDisplayString(r.data.player_age),3)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.country)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.manchesterUnitedIcon),alt:"",src:r.data.player_country_flag},null,10,JBt)],2)):t.createCommentVNode("",!0),I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGames)},t.toDisplayString(r.data.player_games),3)):t.createCommentVNode("",!0),I.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutes)},t.toDisplayString(r.data.player_min),3)):t.createCommentVNode("",!0),I.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:6,class:t.normalizeClass(e.$style.playedMinutes)},t.toDisplayString(r.data.league_name),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(h.block02Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptions)},[t.createElementVNode("div",{class:t.normalizeClass(h.containerBtnVideosClass)},[r.canPlayVideos?(t.openBlock(),t.createBlock(m,{key:0,icon:r.iconVideos,"icon-size":r.iconSize,"icon-position":r.iconPosition,width:I.elementSize.width<=680?"83px":r.buttonWidth,height:r.buttonHeight,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"text-value":r.buttonTextValue,"font-size":r.buttonFontSize,onClick:n[6]||(n[6]=a=>h.emitEventMedia(r.data)),style:t.normalizeStyle(I.elementSize.width<=680?I.elementSize.width<=420?"margin-right: 35px;":"margin-right: 0px;":"")},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size","style"])):t.createCommentVNode("",!0)],2)],2),(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,r.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:r.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:n[7]||(n[7]=a=>h.clickExpand(r.data.id))},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:r.colorArrow},null,8,KBt)],10,ZBt))],2)],2)],2)):t.createCommentVNode("",!0)],512)}const lq=Hr(dT,[["render",QBt],["__cssModules",{$style:LBt}]]),ePt=(e,n)=>{const r=e.__vccOpts||e;for(const[I,F]of n)r[I]=F;return r},uT={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},cq=()=>{t.useCssVars(e=>({"1c960139":e.height,b2f635d8:e.borderWidthBtn,"06e99898":e.borderType,"55555c76":e.borderColor,"23b6d320":e.borderRadius,"22c97374":e.width,"22bb09fa":e.backgroundColor,c148da7c:e.cursorType,cce756fc:e.fontSize,cff98d60:e.fontStyle,"5123b3a5":e.fontFamily,"47bf58db":e.marginLeftStat,cadc8414:e.fontSizeStat}))},dq=uT.setup;uT.setup=dq?(e,n)=>(cq(),dq(e,n)):cq;const tPt=e=>(t.pushScopeId("data-v-fb269a1e"),e=e(),t.popScopeId(),e),aPt=["src"],nPt={key:1,class:"text"},rPt=["src"],iPt={class:"stats"},oPt=tPt(()=>t.createElementVNode("img",{class:"iconstats",src:"https://az755631.vo.msecnd.net/todoelfut/playdes.png"},null,-1)),sPt={class:"numstats"},lPt={class:"leyend"};function cPt(e,n,r,I,F,h){return t.openBlock(),t.createElementBlock("div",null,[r.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",F.status&&r.typeOnOff&&"button-active"]),style:t.normalizeStyle([h.customStyle,F.status&&r.typeOnOff&&h.customActive]),onClick:n[0]||(n[0]=(...m)=>h.btnClick&&h.btnClick(...m))},[r.icon&&r.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:r.iconSize}),src:r.icon},null,12,aPt)):t.createCommentVNode("",!0),r.textValue?(t.openBlock(),t.createElementBlock("div",nPt,t.toDisplayString(r.textValue),1)):t.createCommentVNode("",!0),r.icon&&r.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:r.iconSize}),src:r.icon},null,12,rPt)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:n[1]||(n[1]=(...m)=>h.btnClick&&h.btnClick(...m))},[t.createElementVNode("div",iPt,[oPt,t.createElementVNode("div",sPt,t.toDisplayString(r.textStat),1)]),t.createElementVNode("div",lPt,t.toDisplayString(r.textCategory),1)])):t.createCommentVNode("",!0)])}const dPt=ePt(uT,[["render",cPt],["__scopeId","data-v-fb269a1e"]]),uPt=(e,n)=>{const r=e.__vccOpts||e;for(const[I,F]of n)r[I]=F;return r},hT={components:{GSCButton:dPt},props:{hiddenButtonAll:{type:Boolean,default:!1},teamId:{type:Number,default:0},height:{type:String,default:"71px"},backgroundColor:{type:String,default:"#0d1d29"},containBorderType:{type:String,default:"solid"},containBorderWidth:{type:Number,default:0},containBorderColor:{type:String,default:""},componentontainBorderRadius:{type:String,default:"0px"},teamBorderType:{type:String,default:"solid"},teamBorderWidth:{type:Number,default:1},teamBorderColor:{type:String,default:"#566068"},teamBorderRadius:{type:String,default:"43px"},teamHeight:{type:String,default:"43px"},teamWidth:{type:String,default:"43px"},data:{type:Array,default:()=>[]}},data(){return{teamselect:this.teamId,scrollBar:!1}},watch:{teamId:{handler:function(e){this.teamselect=e},immediate:!0}},computed:{centerTextCustom(){return this.hiddenButtonAll&&!this.scrollBar?"center":"left"},marginCustom(){return this.hiddenButtonAll?"0px":"12px"},customStyleContain(){return{height:this.height,backgroundColor:this.backgroundColor,borderRadius:this.containBorderRadius,border:`${this.containBorderType} ${this.containBorderWidth}px ${this.containBorderColor}`}},customStyleTeam(){return{height:this.teamHeight,width:this.teamWidth,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.teamBorderType} ${this.teamBorderWidth}px ${this.teamBorderColor}`}}},methods:{checkIfElementHasScroll(){const e=this.$refs.container.querySelector("#panelteams");e.scrollWidth>e.clientWidth?this.scrollBar=!0:this.scrollBar=!1},btnTeamClick(e){this.$emit("clickTeam",e),this.teamselect=e},click(){this.$emit("clickAll",0),this.teamselect=0}},mounted(){this.checkIfElementHasScroll(),window.addEventListener("resize",this.checkIfElementHasScroll)},beforeUnmount(){window.removeEventListener("resize",this.checkIfElementHasScroll)}},uq=()=>{t.useCssVars(e=>({"132156c0":e.centerTextCustom,"096d3ecc":e.marginCustom}))},hq=hT.setup;hT.setup=hq?(e,n)=>(uq(),hq(e,n)):uq;const hPt={id:"panelteams",class:"gsc-filterperteam__panel-teams",ref:"panel"},pPt={class:"gsc-filterperteam__panel-teams__cont-teams"},fPt=["onClick"],mPt=["src","alt","title"];function gPt(e,n,r,I,F,h){const m=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",{class:"gsc-filterperteam",ref:"container",style:t.normalizeStyle(h.customStyleContain)},[t.createElementVNode("div",hPt,[t.createElementVNode("div",pPt,[r.hiddenButtonAll?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(h.customStyleTeam),class:t.normalizeClass(["gsc-filterperteam__panel-teams__cont-teams__button-all",this.teamselect!==0?"--disabled":""])},[t.createVNode(m,{"text-value":"Todos",width:"76px",height:"28px","font-family":"Poppins-Light","font-size":"13px","border-color":"#cbee6b","border-type":"solid","border-width":"1","background-color":"#2A3641","border-radius":"64px",onClick:h.click},null,8,["onClick"])],6)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.data,(a,v)=>(t.openBlock(),t.createElementBlock("div",{key:v,style:t.normalizeStyle(h.customStyleTeam),class:t.normalizeClass([a.id==F.teamselect?"colorselect":"","gsc-filterperteam__panel-teams__cont-teams__btn-team hover-team"]),onClick:g=>h.btnTeamClick(a.id)},[t.createElementVNode("img",{src:a.logo,alt:a.name,title:a.name},null,8,mPt)],14,fPt))),128))])],512)],4)}const yPt=uPt(hT,[["render",gPt],["__scopeId","data-v-ab79352d"]]),vPt={tablePositionGames:"_tablePositionGames_1reko_91",tablePositionWrapperGames:"_tablePositionWrapperGames_1reko_123",imgHenrryIcon:"_imgHenrryIcon_1reko_141",americaIcon:"_americaIcon_1reko_157",playerPhotoGames:"_playerPhotoGames_1reko_181",toniKroosGames:"_toniKroosGames_1reko_199",shapeIcon:"_shapeIcon_1reko_221",menuiconsTeams:"_menuiconsTeams_1reko_233",component31:"_component31_1reko_251",playerNameGames:"_playerNameGames_1reko_273",icnPlayIcon:"_icnPlayIcon_1reko_289",goles:"_goles_1reko_305",americaIcon1:"_americaIcon1_1reko_319",teamsAmerica:"_teamsAmerica_1reko_347",containerData:"_containerData_1reko_359",shapeIcon1:"_shapeIcon1_1reko_375",icnExpand1:"_icnExpand1_1reko_387",icnExpand:"_icnExpand_1reko_387",playerDataGames:"_playerDataGames_1reko_427",playerInfoGames:"_playerInfoGames_1reko_449",headerTopGame:"_headerTopGame_1reko_479",playerRow:"_playerRow_1reko_507",groupsLeague:"_groupsLeague_1reko_529",text:"_text_1reko_547",btnViewFullList:"_btnViewFullList_1reko_563",headerTopsGames:"_headerTopsGames_1reko_597",btnVideosOptions:"_btnVideosOptions_1reko_741",position:"_position_1reko_1095",positionWrapper:"_positionWrapper_1reko_1119",imgNecaxaIcon:"_imgNecaxaIcon_1reko_1135",teamLogo:"_teamLogo_1reko_1147",teamPhoto:"_teamPhoto_1reko_1163",name:"_name_1reko_1179",icnPlayIconType1:"_icnPlayIconType1_1reko_1195",verVideosType1:"_verVideosType1_1reko_1209",btnVideosOptionsType1:"_btnVideosOptionsType1_1reko_1221",btnVideosOptions1Games:"_btnVideosOptions1Games_1reko_1245",leftContainer:"_leftContainer_1reko_1269",shapeIconType1:"_shapeIconType1_1reko_1287",icnExpandType1:"_icnExpandType1_1reko_1297",arrowExpand:"_arrowExpand_1reko_1317",containerInfoGames:"_containerInfoGames_1reko_1333",headerTopTeam:"_headerTopTeam_1reko_1357",containerHeader:"_containerHeader_1reko_1385",goles1:"_goles1_1reko_1403",golesType1:"_golesType1_1reko_1409",golesWrapper:"_golesWrapper_1reko_1419",btnViewAll:"_btnViewAll_1reko_1437",headerTopsTeams:"_headerTopsTeams_1reko_1471",arrowExpandIcon:"_arrowExpandIcon_1reko_1705",rotate:"_rotate_1reko_1715"},pT={components:{GSCButton:iq},props:{type:{type:Number,default:0},isExpanded:{type:Boolean,default:!1},canPlayVideos:{type:Boolean,default:!1},categoryName:{type:String,default:""},categoryId:{type:String,default:""},data:{type:Object,default:()=>{}},backgroundColor:{type:String,default:"#0d1d29"},backgroundColorHeader:{type:String,default:"#183143"},fontColorName:{type:String,default:"#F4F4F4"},fontSizeName:{type:String,default:"14px"},fontFamilyName:{type:String,default:"Poppins-Regular"},fontColorTopNum:{type:String,default:"#FFFFFF"},fontSizeTopNum:{type:String,default:"96px"},fontFamilyTopNum:{type:String,default:"Oswald-Bold"},fontColorCategory:{type:String,default:"#FFFFFF"},fontSizeCategory:{type:String,default:"12px"},fontFamilyCategory:{type:String,default:"Poppins-Regular"},opacityColorTopNum:{type:Number,default:.09},borderColorCategory:{type:String,default:"#cbee6b"},iconVideos:{type:String,default:"https://golstatsimages.blob.core.windows.net/images-library/arrow-btn.png"},iconSize:{type:String,default:"18px"},iconPosition:{type:String,default:"left"},colorArrow:{type:String,default:"#D9D9D9"},buttonWidth:{type:String,default:"fit-content"},buttonMaxWidth:{type:String,default:"180px"},buttonHeight:{type:String,default:"24px"},buttonRadius:{type:String,default:"30px"},buttonBorderWidth:{type:Number,default:1},buttonBackground:{type:String,default:"#ffffff1a"},buttonfontFamily:{type:String,default:"Poppins-Regular"},buttonBorderColor:{type:String,default:"#cbee6b"},buttonFontSize:{type:String,default:"12px"}},data:()=>({expand:!1}),methods:{viewProfile(e){this.$emit("play",e)},clickMore(e){this.$emit("more",e)},clickExpand(e){this.$emit("expand",{expand:!this.isExpanded,id:e})},clickFav(e){this.$emit("fav",e)},clickEventMedia(e){this.$emit("mediadata",e)}}},pq=()=>{t.useCssVars(e=>({"7a9bce60":e.fontSizeTopNum,"5cdc5673":e.fontFamilyTopNum,"1215e114":e.fontColorTopNum,"118bdf10":e.opacityColorTopNum,"5f58b150":e.fontColorName,"6f6f938d":e.fontFamilyName,a4c76dac:e.fontSizeName,"72c73113":e.backgroundColorHeader,"56b2f600":e.fontFamilyCategory,"1c15241d":e.fontSizeCategory,"4b750943":e.fontColorCategory,"4eb26046":e.borderColorCategory}))},fq=pT.setup;pT.setup=fq?(e,n)=>(pq(),fq(e,n)):pq;const _Pt=["src"],bPt=["src"],xPt=["src"],wPt=["src"],kPt=["fill"],CPt=["fill"],SPt=["src"],TPt=["fill"],EPt=["fill"];function APt(e,n,r,I,F,h){const m=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",null,[r.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.headerTopsGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerRow),id:"player-row"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerTopGame)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerPhotoGames),id:"container-player-photp"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.tablePositionWrapperGames)},[t.createElementVNode("b",{class:t.normalizeClass(e.$style.tablePositionGames)},t.toDisplayString(r.data.top),3)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHenrryIcon),alt:"",src:r.data.photo},null,10,_Pt),t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIcon),alt:"",src:r.data.logo},null,10,bPt)],2),t.createElementVNode("main",{class:t.normalizeClass(e.$style.playerInfoGames),id:"container-player-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerNameGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.toniKroosGames)},t.toDisplayString(r.data.name),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerDataGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[r.canPlayVideos?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(m,{"icon-size":r.iconSize,"icon-position":r.iconPosition,width:r.buttonWidth,"button-max-width":r.buttonMaxWidth,height:r.buttonHeight,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"text-value":r.data.total+" "+r.categoryName.toLowerCase(),"font-size":r.buttonFontSize,onClick:n[0]||(n[0]=a=>h.clickEventMedia(r.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamsAmerica)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIcon1),alt:"",src:r.data.logo},null,10,xPt)],2)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(m,{icon:"","icon-size":r.iconSize,"icon-position":r.iconPosition,width:r.buttonWidth,"button-max-width":r.buttonMaxWidth,height:r.buttonHeight,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"text-value":r.data.total+" "+r.categoryName.toLowerCase(),"font-size":r.buttonFontSize},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamsAmerica)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIcon1),alt:"",src:r.data.logo},null,10,wPt)],2)],64))],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.icnExpand),onClick:n[1]||(n[1]=a=>h.clickExpand(r.data.player_id))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,r.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:r.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:r.colorArrow},null,8,CPt)],10,kPt))],2)],2)],2)],2)],2)],2)):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.headerTopsTeams)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerHeader),id:"header-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerTopTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamPhoto),id:"container-team"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.positionWrapper)},[t.createElementVNode("b",{class:t.normalizeClass(e.$style.position)},t.toDisplayString(r.data.top),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamLogo)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgNecaxaIcon),alt:"",src:r.data.logo},null,10,SPt)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerInfoGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leftContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(r.data.name_team),3),t.createVNode(m,{"icon-size":r.iconSize,"icon-position":r.iconPosition,width:r.buttonWidth,"button-max-width":r.buttonMaxWidth,height:r.buttonHeight,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"text-value":r.data.total+" "+r.categoryName.toLowerCase(),"font-size":r.buttonFontSize,onClick:n[2]||(n[2]=a=>h.clickEventMedia(r.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideosOptions1Games)},[t.createVNode(m,{"icon-size":r.iconSize,"icon-position":r.iconPosition,width:r.buttonWidth,"button-max-width":r.buttonMaxWidth,height:r.buttonHeight,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"text-value":r.data.total+" "+r.categoryName.toLowerCase(),"font-size":r.buttonFontSize,onClick:n[3]||(n[3]=a=>h.clickEventMedia(r.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideosType1)},t.toDisplayString(r.data.total),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.arrowExpand),onClick:n[4]||(n[4]=a=>h.clickExpand(r.data.player_id))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,r.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:r.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:r.colorArrow},null,8,EPt)],10,TPt))],2)],2)],2)],2)],2)):t.createCommentVNode("",!0)])}const MPt=Hr(pT,[["render",APt],["__cssModules",{$style:vPt}]]),IPt=(e,n)=>{const r=e.__vccOpts||e;for(const[I,F]of n)r[I]=F;return r},fT={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},mq=()=>{t.useCssVars(e=>({"1c960139":e.height,b2f635d8:e.borderWidthBtn,"06e99898":e.borderType,"55555c76":e.borderColor,"23b6d320":e.borderRadius,"22c97374":e.width,"22bb09fa":e.backgroundColor,c148da7c:e.cursorType,cce756fc:e.fontSize,cff98d60:e.fontStyle,"5123b3a5":e.fontFamily,"47bf58db":e.marginLeftStat,cadc8414:e.fontSizeStat}))},gq=fT.setup;fT.setup=gq?(e,n)=>(mq(),gq(e,n)):mq;const NPt=e=>(t.pushScopeId("data-v-fb269a1e"),e=e(),t.popScopeId(),e),BPt=["src"],PPt={key:1,class:"text"},OPt=["src"],LPt={class:"stats"},FPt=NPt(()=>t.createElementVNode("img",{class:"iconstats",src:"https://az755631.vo.msecnd.net/todoelfut/playdes.png"},null,-1)),DPt={class:"numstats"},zPt={class:"leyend"};function VPt(e,n,r,I,F,h){return t.openBlock(),t.createElementBlock("div",null,[r.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",F.status&&r.typeOnOff&&"button-active"]),style:t.normalizeStyle([h.customStyle,F.status&&r.typeOnOff&&h.customActive]),onClick:n[0]||(n[0]=(...m)=>h.btnClick&&h.btnClick(...m))},[r.icon&&r.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:r.iconSize}),src:r.icon},null,12,BPt)):t.createCommentVNode("",!0),r.textValue?(t.openBlock(),t.createElementBlock("div",PPt,t.toDisplayString(r.textValue),1)):t.createCommentVNode("",!0),r.icon&&r.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:r.iconSize}),src:r.icon},null,12,OPt)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:n[1]||(n[1]=(...m)=>h.btnClick&&h.btnClick(...m))},[t.createElementVNode("div",LPt,[FPt,t.createElementVNode("div",DPt,t.toDisplayString(r.textStat),1)]),t.createElementVNode("div",zPt,t.toDisplayString(r.textCategory),1)])):t.createCommentVNode("",!0)])}const RPt=IPt(fT,[["render",VPt],["__scopeId","data-v-fb269a1e"]]),l_a="",c_a="",$Pt={equipoGames:"_equipoGames_fst7d_75",atlasSeleccinGames:"_atlasSeleccinGames_fst7d_85",equipoAtlasSeleccinMexiGames:"_equipoAtlasSeleccinMexiGames_fst7d_93",aosGames:"_aosGames_fst7d_101",span12:"_span12_fst7d_109",nacionalidadMex:"_nacionalidadMex_fst7d_115",manchesterUnited:"_manchesterUnited_fst7d_121",manchesterUnited12:"_manchesterUnited12_fst7d_135",containerInfoGames:"_containerInfoGames_fst7d_155",verPerfil12:"_verPerfil12_fst7d_173",btnProfile:"_btnProfile_fst7d_191",containerButton:"_containerButton_fst7d_223",dataContainer:"_dataContainer_fst7d_237",expandedInfoPlayerGames:"_expandedInfoPlayerGames_fst7d_257",containerDataBg:"_containerDataBg_fst7d_437",containerDataSm:"_containerDataSm_fst7d_459",span:"_span_fst7d_109",manchesterUnited14:"_manchesterUnited14_fst7d_481",filter:"_filter_fst7d_491",verPerfil:"_verPerfil_fst7d_173",manchesterUnited8:"_manchesterUnited8_fst7d_533",manchesterUnitedParent1:"_manchesterUnitedParent1_fst7d_545",manchesterUnited1:"_manchesterUnited1_fst7d_135",manchesterUnitedParent:"_manchesterUnitedParent_fst7d_545",frameDiv:"_frameDiv_fst7d_589",infoExpanded:"_infoExpanded_fst7d_605",countryFlag:"_countryFlag_fst7d_911"},mT={components:{GSCButton:RPt},props:{isLive:{type:Boolean,default:!1},background:{type:String,default:"#172531"},type:{type:Number,default:1},viewButton:{type:Boolean,default:!0},viewTeam:{type:Boolean,default:!0},viewAge:{type:Boolean,default:!0},viewNationality:{type:Boolean,default:!0},viewPosition:{type:Boolean,default:!0},viewGames:{type:Boolean,default:!0},viewMin:{type:Boolean,default:!0},viewGoals:{type:Boolean,default:!0},viewEffectiveness:{type:Boolean,default:!0},height:{type:String,default:"134px"},fontColor:{type:String,default:"#ffffffb3"},fontColorValue:{type:String,default:"#ffffff"},fontFamily:{type:String,default:"Poppins-Regular"},fontSize:{type:String,default:"10px"},additionalClass:{type:String,default:""},data:{type:Object,default:()=>{}}},setup(){const e=t.ref("myDivRef"),{elementSize:n}=mv(e);return{myDivRef:e,elementSize:n}},data(){return{}},computed:{},methods:{viewProfile(e){this.$emit("viewprofile",e)}}},yq=()=>{t.useCssVars(e=>({a297a8e8:e.fontFamily,"05868b8a":e.fontColor,"9181d814":e.fontColorValue,c650cbae:e.fontSize,af6837b2:e.background}))},vq=mT.setup;mT.setup=vq?(e,n)=>(yq(),vq(e,n)):yq;const Dd=e=>(t.pushScopeId("data-v-5dd9e88d"),e=e(),t.popScopeId(),e),jPt={ref:"myDivRef"},UPt=["src"],GPt=Dd(()=>t.createElementVNode("span",null,"Posición en la tabla: ",-1)),HPt=Dd(()=>t.createElementVNode("span",null,"Goles anotados: ",-1)),WPt=Dd(()=>t.createElementVNode("span",null,"Goles recibidos: ",-1)),qPt=Dd(()=>t.createElementVNode("span",null,"Partidos jugados:",-1)),YPt=Dd(()=>t.createElementVNode("span",null,"Efectividad de pases: ",-1)),XPt=Dd(()=>t.createElementVNode("span",null,"xG: ",-1)),JPt=Dd(()=>t.createElementVNode("span",null,"Efectividad de pases: ",-1)),ZPt=Dd(()=>t.createElementVNode("span",null,"xG: ",-1)),KPt=Dd(()=>t.createElementVNode("span",null,"Posición en la tabla: ",-1)),QPt=Dd(()=>t.createElementVNode("span",null,"Goles anotados: ",-1)),eOt=Dd(()=>t.createElementVNode("span",null,"Goles recibidos: ",-1)),tOt=Dd(()=>t.createElementVNode("span",null,"Partidos jugados: ",-1)),aOt=Dd(()=>t.createElementVNode("span",null,"Efectividad de pases: ",-1)),nOt=Dd(()=>t.createElementVNode("span",null,"xG: ",-1));function rOt(e,n,r,I,F,h){const m=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",jPt,[r.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.expandedInfoPlayerGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.dataContainer),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass([e.$style.containerInfoGames,r.additionalClass]),id:"container-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},[r.viewTeam?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(e.$style.equipoAtlasSeleccinMexiGames)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.equipoGames)},"Equipo: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.atlasSeleccinGames)},t.toDisplayString(r.data.teams),3)],2)):t.createCommentVNode("",!0),r.viewAge?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.equipoGames)},"Edad: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(r.data.age)+" años",3),t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)}," ("+t.toDisplayString(r.data.dataofbirth)+")",3)],2)):t.createCommentVNode("",!0),r.viewNationality?(t.openBlock(),t.createElementBlock("p",{key:2,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Nacionalidad: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},[t.createTextVNode(t.toDisplayString(r.data.nationality.substring(0,3).toUpperCase())+" ",1),t.createElementVNode("div",{class:t.normalizeClass(e.$style.countryFlag)},[t.createElementVNode("img",{src:r.data.countryFlag},null,8,UPt)],2)],2)],2)):t.createCommentVNode("",!0),r.viewPosition?(t.openBlock(),t.createElementBlock("p",{key:3,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Posición: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(r.data.position),3)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited12)},[r.viewGames&&!r.isLive?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"partidos Jugados: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(r.data.games),3)],2)):t.createCommentVNode("",!0),r.viewMin&&!r.isLive?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Minutos Jugados: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(r.data.min),3)],2)):t.createCommentVNode("",!0),r.viewGoals?(t.openBlock(),t.createElementBlock("p",{key:2,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},t.toDisplayString(r.data.category)+": ",3),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(r.data.goals),3)],2)):t.createCommentVNode("",!0),r.viewEffectiveness?(t.openBlock(),t.createElementBlock("p",{key:3,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Efectividad de pases: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(r.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerButton),id:"btn-container"},[r.viewButton?(t.openBlock(),t.createBlock(m,{key:0,style:t.normalizeStyle(r.additionalClass!=""&&I.elementSize.width>540?"margin-right: 50px":""),width:"88px",height:"30px","border-radius":"30px","border-width":1,"background-color":"#ffffff1a","font-family":"Poppins-Semibold","border-color":"#cbee6b","text-value":"Ver perfil","font-size":"10px",onClick:n[0]||(n[0]=a=>h.viewProfile(r.data.id))},null,8,["style"])):t.createCommentVNode("",!0)],2)],2)],2)):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.infoExpanded)},[t.createElementVNode("div",{class:t.normalizeClass([e.$style.containerDataBg,r.additionalClass])},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[GPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[HPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.goals),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[WPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.goals_received),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[qPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.games_played),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[r.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited1)},[YPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[XPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.xg),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[t.createElementVNode("span",null,t.toDisplayString(r.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.total),3)],2),r.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited8)},[JPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.effectiveness)+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited8)},[ZPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.xg),3)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerDataSm)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameDiv)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[KPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[QPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.goals),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[eOt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.goals_received),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[tOt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.games_played),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent1)},[r.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited14)},[aOt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[nOt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.xg),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[t.createElementVNode("span",null,t.toDisplayString(r.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.total),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited8)},[t.createElementVNode("span",null,t.toDisplayString(r.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.total),3)],2)],2)],2),r.viewButton?(t.openBlock(),t.createBlock(m,{key:0,style:t.normalizeStyle(r.additionalClass!=""&&I.elementSize.width>540?"margin-right: 42px":""),width:"88px",height:"30px","border-radius":"30px","border-width":1,"background-color":"#ffffff1a","font-family":"Poppins-Semibold","border-color":"#cbee6b","text-value":"Ver perfil","font-size":"10px",onClick:n[1]||(n[1]=a=>h.viewProfile(r.data.id))},null,8,["style"])):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0)],512)}const _q=Hr(mT,[["render",rOt],["__cssModules",{$style:$Pt}],["__scopeId","data-v-5dd9e88d"]]);/**
3575
+ `)):Y=R.stylize("[Circular]","special")),k(G)){if(X&&H.match(/^\d+$/))return Y;(G=JSON.stringify(""+H)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(G=G.slice(1,-1),G=R.stylize(G,"name")):(G=G.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),G=R.stylize(G,"string"))}return G+": "+Y}function f(R){return Array.isArray(R)}function y(R){return typeof R=="boolean"}function w(R){return R===null}function x(R){return typeof R=="number"}function M(R){return typeof R=="string"}function k(R){return R===void 0}function C(R){return T(R)&&S(R)==="[object RegExp]"}function T(R){return typeof R=="object"&&R!==null}function A(R){return T(R)&&S(R)==="[object Date]"}function E(R){return T(R)&&(S(R)==="[object Error]"||R instanceof Error)}function B(R){return typeof R=="function"}function S(R){return Object.prototype.toString.call(R)}function L(R){return R<10?"0"+R.toString(10):R.toString(10)}m.debuglog=function(R){if(R=R.toUpperCase(),!_[R])if(b.test(R)){var j=v.pid;_[R]=function(){var q=m.format.apply(m,arguments);console.error("%s %d: %s",R,j,q)}}else _[R]=function(){};return _[R]},m.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},m.types=a(41088),m.isArray=f,m.isBoolean=y,m.isNull=w,m.isNullOrUndefined=function(R){return R==null},m.isNumber=x,m.isString=M,m.isSymbol=function(R){return typeof R=="symbol"},m.isUndefined=k,m.isRegExp=C,m.types.isRegExp=C,m.isObject=T,m.isDate=A,m.types.isDate=A,m.isError=E,m.types.isNativeError=E,m.isFunction=B,m.isPrimitive=function(R){return R===null||typeof R=="boolean"||typeof R=="number"||typeof R=="string"||typeof R=="symbol"||R===void 0},m.isBuffer=a(75272);var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(R,j){return Object.prototype.hasOwnProperty.call(R,j)}m.log=function(){var R,j;console.log("%s - %s",(j=[L((R=new Date).getHours()),L(R.getMinutes()),L(R.getSeconds())].join(":"),[R.getDate(),N[R.getMonth()],j].join(" ")),m.format.apply(m,arguments))},m.inherits=a(6768),m._extend=function(R,j){if(!j||!T(j))return R;for(var q=Object.keys(j),$=q.length;$--;)R[q[$]]=j[q[$]];return R};var z=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function V(R,j){if(!R){var q=new Error("Promise was rejected with a falsy value");q.reason=R,R=q}return j(R)}m.promisify=function(R){if(typeof R!="function")throw new TypeError('The "original" argument must be of type Function');if(z&&R[z]){var j;if(typeof(j=R[z])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(j,z,{value:j,enumerable:!1,writable:!1,configurable:!0}),j}function j(){for(var q,$,H=new Promise(function(Y,K){q=Y,$=K}),X=[],G=0;G<arguments.length;G++)X.push(arguments[G]);X.push(function(Y,K){Y?$(Y):q(K)});try{R.apply(this,X)}catch(Y){$(Y)}return H}return Object.setPrototypeOf(j,Object.getPrototypeOf(R)),z&&Object.defineProperty(j,z,{value:j,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(j,g(R))},m.promisify.custom=z,m.callbackify=function(R){if(typeof R!="function")throw new TypeError('The "original" argument must be of type Function');function j(){for(var q=[],$=0;$<arguments.length;$++)q.push(arguments[$]);var H=q.pop();if(typeof H!="function")throw new TypeError("The last argument must be of type Function");var X=this,G=function(){return H.apply(X,arguments)};R.apply(this,q).then(function(Y){v.nextTick(G.bind(null,null,Y))},function(Y){v.nextTick(V.bind(null,Y,G))})}return Object.setPrototypeOf(j,Object.getPrototypeOf(R)),Object.defineProperties(j,g(R)),j}},5408:function(h,m,a){var v=a(13380);h.exports=function(g){return v("webgl",g)}},96632:function(h,m,a){var v=a(46492),g=a(63436),i=a(57916),_=a(99676),b=a(2304),c=_("Object.prototype.toString"),s=a(46672)(),o=typeof globalThis>"u"?a.g:globalThis,l=g(),d=_("String.prototype.slice"),u=Object.getPrototypeOf,p=_("Array.prototype.indexOf",!0)||function(y,w){for(var x=0;x<y.length;x+=1)if(y[x]===w)return x;return-1},f={__proto__:null};v(l,s&&b&&u?function(y){var w=new o[y];if(Symbol.toStringTag in w){var x=u(w),M=b(x,Symbol.toStringTag);if(!M){var k=u(x);M=b(k,Symbol.toStringTag)}f["$"+y]=i(M.get)}}:function(y){var w=new o[y],x=w.slice||w.set;x&&(f["$"+y]=i(x))}),h.exports=function(y){if(!y||typeof y!="object")return!1;if(!s){var w=d(c(y),8,-1);return p(l,w)>-1?w:w==="Object"&&function(x){var M=!1;return v(f,function(k,C){if(!M)try{k(x),M=d(C,1)}catch{}}),M}(y)}return b?function(x){var M=!1;return v(f,function(k,C){if(!M)try{"$"+k(x)===C&&(M=d(C,1))}catch{}}),M}(y):null}},67020:function(h,m,a){var v=a(38700),g=a(50896),i=v.instance();function _(u){this.local=this.regionalOptions[u||""]||this.regionalOptions[""]}_.prototype=new v.baseCalendar,g(_.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(u,p){if(typeof u=="string"){var f=u.match(c);return f?f[0]:""}var y=this._validateYear(u),w=u.month(),x=""+this.toChineseMonth(y,w);return p&&x.length<2&&(x="0"+x),this.isIntercalaryMonth(y,w)&&(x+="i"),x},monthNames:function(u){if(typeof u=="string"){var p=u.match(s);return p?p[0]:""}var f=this._validateYear(u),y=u.month(),w=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][this.toChineseMonth(f,y)-1];return this.isIntercalaryMonth(f,y)&&(w="闰"+w),w},monthNamesShort:function(u){if(typeof u=="string"){var p=u.match(o);return p?p[0]:""}var f=this._validateYear(u),y=u.month(),w=["一","二","三","四","五","六","七","八","九","十","十一","十二"][this.toChineseMonth(f,y)-1];return this.isIntercalaryMonth(f,y)&&(w="闰"+w),w},parseMonth:function(u,p){u=this._validateYear(u);var f,y=parseInt(p);if(isNaN(y))p[0]==="闰"&&(f=!0,p=p.substring(1)),p[p.length-1]==="月"&&(p=p.substring(0,p.length-1)),y=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(p);else{var w=p[p.length-1];f=w==="i"||w==="I"}return this.toMonthIndex(u,y,f)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(u,p){if(u.year&&(u=u.year()),typeof u!="number"||u<1888||u>2111)throw p.replace(/\{0\}/,this.local.name);return u},toMonthIndex:function(u,p,f){var y=this.intercalaryMonth(u);if(f&&p!==y||p<1||p>12)throw v.local.invalidMonth.replace(/\{0\}/,this.local.name);return y?!f&&p<=y?p-1:p:p-1},toChineseMonth:function(u,p){u.year&&(p=(u=u.year()).month());var f=this.intercalaryMonth(u);if(p<0||p>(f?12:11))throw v.local.invalidMonth.replace(/\{0\}/,this.local.name);return f?p<f?p+1:p:p+1},intercalaryMonth:function(u){return u=this._validateYear(u),l[u-l[0]]>>13},isIntercalaryMonth:function(u,p){u.year&&(p=(u=u.year()).month());var f=this.intercalaryMonth(u);return!!f&&f===p},leapYear:function(u){return this.intercalaryMonth(u)!==0},weekOfYear:function(u,p,f){var y,w=this._validateYear(u,v.local.invalidyear),x=d[w-d[0]],M=x>>9&4095,k=x>>5&15,C=31&x;(y=i.newDate(M,k,C)).add(4-(y.dayOfWeek()||7),"d");var T=this.toJD(u,p,f)-y.toJD();return 1+Math.floor(T/7)},monthsInYear:function(u){return this.leapYear(u)?13:12},daysInMonth:function(u,p){u.year&&(p=u.month(),u=u.year()),u=this._validateYear(u);var f=l[u-l[0]];if(p>(f>>13?12:11))throw v.local.invalidMonth.replace(/\{0\}/,this.local.name);return f&1<<12-p?30:29},weekDay:function(u,p,f){return(this.dayOfWeek(u,p,f)||7)<6},toJD:function(u,p,f){var y=this._validate(u,x,f,v.local.invalidDate);u=this._validateYear(y.year()),p=y.month(),f=y.day();var w=this.isIntercalaryMonth(u,p),x=this.toChineseMonth(u,p),M=function(k,C,T,A,E){var B,S,L;if(typeof k=="object")S=k,B=C||{};else{var N;if(!(typeof k=="number"&&k>=1888&&k<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof C=="number"&&C>=1&&C<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof T=="number"&&T>=1&&T<=30))throw new Error("Lunar day outside range 1 - 30");typeof A=="object"?(N=!1,B=A):(N=!!A,B={}),S={year:k,month:C,day:T,isIntercalary:N}}L=S.day-1;var O,z=l[S.year-l[0]],V=z>>13;O=V&&(S.month>V||S.isIntercalary)?S.month:S.month-1;for(var R=0;R<O;R++)L+=z&1<<12-R?30:29;var j=d[S.year-d[0]],q=new Date(j>>9&4095,(j>>5&15)-1,(31&j)+L);return B.year=q.getFullYear(),B.month=1+q.getMonth(),B.day=q.getDate(),B}(u,x,f,w);return i.toJD(M.year,M.month,M.day)},fromJD:function(u){var p=i.fromJD(u),f=function(w,x,M,k){var C,T;if(typeof w=="object")C=w,T=x||{};else{if(!(typeof w=="number"&&w>=1888&&w<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof x=="number"&&x>=1&&x<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof M=="number"&&M>=1&&M<=31))throw new Error("Solar day outside range 1 - 31");C={year:w,month:x,day:M},T={}}var A=d[C.year-d[0]],E=C.year<<9|C.month<<5|C.day;T.year=E>=A?C.year:C.year-1,A=d[T.year-d[0]];var B,S=new Date(A>>9&4095,(A>>5&15)-1,31&A),L=new Date(C.year,C.month-1,C.day);B=Math.round((L-S)/864e5);var N,O=l[T.year-l[0]];for(N=0;N<13;N++){var z=O&1<<12-N?30:29;if(B<z)break;B-=z}var V=O>>13;return!V||N<V?(T.isIntercalary=!1,T.month=1+N):N===V?(T.isIntercalary=!0,T.month=N):(T.isIntercalary=!1,T.month=N),T.day=1+B,T}(p.year(),p.month(),p.day()),y=this.toMonthIndex(f.year,f.month,f.isIntercalary);return this.newDate(f.year,y,f.day)},fromString:function(u){var p=u.match(b),f=this._validateYear(+p[1]),y=+p[2],w=!!p[3],x=this.toMonthIndex(f,y,w),M=+p[4];return this.newDate(f,x,M)},add:function(u,p,f){var y=u.year(),w=u.month(),x=this.isIntercalaryMonth(y,w),M=this.toChineseMonth(y,w),k=Object.getPrototypeOf(_.prototype).add.call(this,u,p,f);if(f==="y"){var C=k.year(),T=k.month(),A=this.isIntercalaryMonth(C,M),E=x&&A?this.toMonthIndex(C,M,!0):this.toMonthIndex(C,M,!1);E!==T&&k.month(E)}return k}});var b=/^\s*(-?\d\d\d\d|\d\d)[-/](\d?\d)([iI]?)[-/](\d?\d)/m,c=/^\d?\d[iI]?/m,s=/^闰?十?[一二三四五六七八九]?月/m,o=/^闰?十?[一二三四五六七八九]?/m;v.calendars.chinese=_;var l=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],d=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904]},89792:function(h,m,a){var v=a(38700),g=a(50896);function i(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Coptic",jdEpoch:18250295e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Coptic",epochs:["BAM","AM"],monthNames:["Thout","Paopi","Hathor","Koiak","Tobi","Meshir","Paremhat","Paremoude","Pashons","Paoni","Epip","Mesori","Pi Kogi Enavot"],monthNamesShort:["Tho","Pao","Hath","Koi","Tob","Mesh","Pat","Pad","Pash","Pao","Epi","Meso","PiK"],dayNames:["Tkyriaka","Pesnau","Pshoment","Peftoou","Ptiou","Psoou","Psabbaton"],dayNamesShort:["Tky","Pes","Psh","Pef","Pti","Pso","Psa"],dayNamesMin:["Tk","Pes","Psh","Pef","Pt","Pso","Psa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(_){var b=this._validate(_,this.minMonth,this.minDay,v.local.invalidYear);return(_=b.year()+(b.year()<0?1:0))%4==3||_%4==-1},monthsInYear:function(_){return this._validate(_,this.minMonth,this.minDay,v.local.invalidYear||v.regionalOptions[""].invalidYear),13},weekOfYear:function(_,b,c){var s=this.newDate(_,b,c);return s.add(-s.dayOfWeek(),"d"),Math.floor((s.dayOfYear()-1)/7)+1},daysInMonth:function(_,b){var c=this._validate(_,b,this.minDay,v.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===13&&this.leapYear(c.year())?1:0)},weekDay:function(_,b,c){return(this.dayOfWeek(_,b,c)||7)<6},toJD:function(_,b,c){var s=this._validate(_,b,c,v.local.invalidDate);return(_=s.year())<0&&_++,s.day()+30*(s.month()-1)+365*(_-1)+Math.floor(_/4)+this.jdEpoch-1},fromJD:function(_){var b=Math.floor(_)+.5-this.jdEpoch,c=Math.floor((b-Math.floor((b+366)/1461))/365)+1;c<=0&&c--,b=Math.floor(_)+.5-this.newDate(c,1,1).toJD();var s=Math.floor(b/30)+1,o=b-30*(s-1)+1;return this.newDate(c,s,o)}}),v.calendars.coptic=i},55668:function(h,m,a){var v=a(38700),g=a(50896);function i(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Discworld",jdEpoch:17214255e-1,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Discworld",epochs:["BUC","UC"],monthNames:["Ick","Offle","February","March","April","May","June","Grune","August","Spune","Sektober","Ember","December"],monthNamesShort:["Ick","Off","Feb","Mar","Apr","May","Jun","Gru","Aug","Spu","Sek","Emb","Dec"],dayNames:["Sunday","Octeday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Oct","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Oc","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:2,isRTL:!1}},leapYear:function(b){return this._validate(b,this.minMonth,this.minDay,v.local.invalidYear),!1},monthsInYear:function(b){return this._validate(b,this.minMonth,this.minDay,v.local.invalidYear),13},daysInYear:function(b){return this._validate(b,this.minMonth,this.minDay,v.local.invalidYear),400},weekOfYear:function(b,c,s){var o=this.newDate(b,c,s);return o.add(-o.dayOfWeek(),"d"),Math.floor((o.dayOfYear()-1)/8)+1},daysInMonth:function(b,c){var s=this._validate(b,c,this.minDay,v.local.invalidMonth);return this.daysPerMonth[s.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(b,c,s){return(this._validate(b,c,s,v.local.invalidDate).day()+1)%8},weekDay:function(b,c,s){var o=this.dayOfWeek(b,c,s);return o>=2&&o<=6},extraInfo:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate);return{century:_[Math.floor((o.year()-1)/100)+1]||""}},toJD:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate);return b=o.year()+(o.year()<0?1:0),c=o.month(),(s=o.day())+(c>1?16:0)+(c>2?32*(c-2):0)+400*(b-1)+this.jdEpoch-1},fromJD:function(b){b=Math.floor(b+.5)-Math.floor(this.jdEpoch)-1;var c=Math.floor(b/400)+1;b-=400*(c-1),b+=b>15?16:0;var s=Math.floor(b/32)+1,o=b-32*(s-1)+1;return this.newDate(c<=0?c-1:c,s,o)}});var _={20:"Fruitbat",21:"Anchovy"};v.calendars.discworld=i},65168:function(h,m,a){var v=a(38700),g=a(50896);function i(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(_){var b=this._validate(_,this.minMonth,this.minDay,v.local.invalidYear);return(_=b.year()+(b.year()<0?1:0))%4==3||_%4==-1},monthsInYear:function(_){return this._validate(_,this.minMonth,this.minDay,v.local.invalidYear||v.regionalOptions[""].invalidYear),13},weekOfYear:function(_,b,c){var s=this.newDate(_,b,c);return s.add(-s.dayOfWeek(),"d"),Math.floor((s.dayOfYear()-1)/7)+1},daysInMonth:function(_,b){var c=this._validate(_,b,this.minDay,v.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===13&&this.leapYear(c.year())?1:0)},weekDay:function(_,b,c){return(this.dayOfWeek(_,b,c)||7)<6},toJD:function(_,b,c){var s=this._validate(_,b,c,v.local.invalidDate);return(_=s.year())<0&&_++,s.day()+30*(s.month()-1)+365*(_-1)+Math.floor(_/4)+this.jdEpoch-1},fromJD:function(_){var b=Math.floor(_)+.5-this.jdEpoch,c=Math.floor((b-Math.floor((b+366)/1461))/365)+1;c<=0&&c--,b=Math.floor(_)+.5-this.newDate(c,1,1).toJD();var s=Math.floor(b/30)+1,o=b-30*(s-1)+1;return this.newDate(c,s,o)}}),v.calendars.ethiopian=i},2084:function(h,m,a){var v=a(38700),g=a(50896);function i(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}function _(b,c){return b-c*Math.floor(b/c)}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(b){var c=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear);return this._leapYear(c.year())},_leapYear:function(b){return _(7*(b=b<0?b+1:b)+1,19)<7},monthsInYear:function(b){return this._validate(b,this.minMonth,this.minDay,v.local.invalidYear),this._leapYear(b.year?b.year():b)?13:12},weekOfYear:function(b,c,s){var o=this.newDate(b,c,s);return o.add(-o.dayOfWeek(),"d"),Math.floor((o.dayOfYear()-1)/7)+1},daysInYear:function(b){return b=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear).year(),this.toJD(b===-1?1:b+1,7,1)-this.toJD(b,7,1)},daysInMonth:function(b,c){return b.year&&(c=b.month(),b=b.year()),this._validate(b,c,this.minDay,v.local.invalidMonth),c===12&&this.leapYear(b)||c===8&&_(this.daysInYear(b),10)===5?30:c===9&&_(this.daysInYear(b),10)===3?29:this.daysPerMonth[c-1]},weekDay:function(b,c,s){return this.dayOfWeek(b,c,s)!==6},extraInfo:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate);return{yearType:(this.leapYear(o)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(o)%10-3]}},toJD:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate);b=o.year(),c=o.month(),s=o.day();var l=b<=0?b+1:b,d=this.jdEpoch+this._delay1(l)+this._delay2(l)+s+1;if(c<7){for(var u=7;u<=this.monthsInYear(b);u++)d+=this.daysInMonth(b,u);for(u=1;u<c;u++)d+=this.daysInMonth(b,u)}else for(u=7;u<c;u++)d+=this.daysInMonth(b,u);return d},_delay1:function(b){var c=Math.floor((235*b-234)/19),s=12084+13753*c,o=29*c+Math.floor(s/25920);return _(3*(o+1),7)<3&&o++,o},_delay2:function(b){var c=this._delay1(b-1),s=this._delay1(b);return this._delay1(b+1)-s==356?2:s-c==382?1:0},fromJD:function(b){b=Math.floor(b)+.5;for(var c=Math.floor(98496*(b-this.jdEpoch)/35975351)-1;b>=this.toJD(c===-1?1:c+1,7,1);)c++;for(var s=b<this.toJD(c,1,1)?7:1;b>this.toJD(c,s,this.daysInMonth(c,s));)s++;var o=b-this.toJD(c,s,1)+1;return this.newDate(c,s,o)}}),v.calendars.hebrew=i},26368:function(h,m,a){var v=a(38700),g=a(50896);function i(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(_){return(11*this._validate(_,this.minMonth,this.minDay,v.local.invalidYear).year()+14)%30<11},weekOfYear:function(_,b,c){var s=this.newDate(_,b,c);return s.add(-s.dayOfWeek(),"d"),Math.floor((s.dayOfYear()-1)/7)+1},daysInYear:function(_){return this.leapYear(_)?355:354},daysInMonth:function(_,b){var c=this._validate(_,b,this.minDay,v.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===12&&this.leapYear(c.year())?1:0)},weekDay:function(_,b,c){return this.dayOfWeek(_,b,c)!==5},toJD:function(_,b,c){var s=this._validate(_,b,c,v.local.invalidDate);return _=s.year(),b=s.month(),_=_<=0?_+1:_,(c=s.day())+Math.ceil(29.5*(b-1))+354*(_-1)+Math.floor((3+11*_)/30)+this.jdEpoch-1},fromJD:function(_){_=Math.floor(_)+.5;var b=Math.floor((30*(_-this.jdEpoch)+10646)/10631);b=b<=0?b-1:b;var c=Math.min(12,Math.ceil((_-29-this.toJD(b,1,1))/29.5)+1),s=_-this.toJD(b,c,1)+1;return this.newDate(b,c,s)}}),v.calendars.islamic=i},24747:function(h,m,a){var v=a(38700),g=a(50896);function i(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(_){var b=this._validate(_,this.minMonth,this.minDay,v.local.invalidYear);return(_=b.year()<0?b.year()+1:b.year())%4==0},weekOfYear:function(_,b,c){var s=this.newDate(_,b,c);return s.add(4-(s.dayOfWeek()||7),"d"),Math.floor((s.dayOfYear()-1)/7)+1},daysInMonth:function(_,b){var c=this._validate(_,b,this.minDay,v.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===2&&this.leapYear(c.year())?1:0)},weekDay:function(_,b,c){return(this.dayOfWeek(_,b,c)||7)<6},toJD:function(_,b,c){var s=this._validate(_,b,c,v.local.invalidDate);return _=s.year(),b=s.month(),c=s.day(),_<0&&_++,b<=2&&(_--,b+=12),Math.floor(365.25*(_+4716))+Math.floor(30.6001*(b+1))+c-1524.5},fromJD:function(_){var b=Math.floor(_+.5)+1524,c=Math.floor((b-122.1)/365.25),s=Math.floor(365.25*c),o=Math.floor((b-s)/30.6001),l=o-Math.floor(o<14?1:13),d=c-Math.floor(l>2?4716:4715),u=b-s-Math.floor(30.6001*o);return d<=0&&d--,this.newDate(d,l,u)}}),v.calendars.julian=i},65616:function(h,m,a){var v=a(38700),g=a(50896);function i(c){this.local=this.regionalOptions[c||""]||this.regionalOptions[""]}function _(c,s){return c-s*Math.floor(c/s)}function b(c,s){return _(c-1,s)+1}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(c){return this._validate(c,this.minMonth,this.minDay,v.local.invalidYear),!1},formatYear:function(c){c=this._validate(c,this.minMonth,this.minDay,v.local.invalidYear).year();var s=Math.floor(c/400);return c%=400,c+=c<0?400:0,s+"."+Math.floor(c/20)+"."+c%20},forYear:function(c){if((c=c.split(".")).length<3)throw"Invalid Mayan year";for(var s=0,o=0;o<c.length;o++){var l=parseInt(c[o],10);if(Math.abs(l)>19||o>0&&l<0)throw"Invalid Mayan year";s=20*s+l}return s},monthsInYear:function(c){return this._validate(c,this.minMonth,this.minDay,v.local.invalidYear),18},weekOfYear:function(c,s,o){return this._validate(c,s,o,v.local.invalidDate),0},daysInYear:function(c){return this._validate(c,this.minMonth,this.minDay,v.local.invalidYear),360},daysInMonth:function(c,s){return this._validate(c,s,this.minDay,v.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(c,s,o){return this._validate(c,s,o,v.local.invalidDate).day()},weekDay:function(c,s,o){return this._validate(c,s,o,v.local.invalidDate),!0},extraInfo:function(c,s,o){var l=this._validate(c,s,o,v.local.invalidDate).toJD(),d=this._toHaab(l),u=this._toTzolkin(l);return{haabMonthName:this.local.haabMonths[d[0]-1],haabMonth:d[0],haabDay:d[1],tzolkinDayName:this.local.tzolkinMonths[u[0]-1],tzolkinDay:u[0],tzolkinTrecena:u[1]}},_toHaab:function(c){var s=_(8+(c-=this.jdEpoch)+340,365);return[Math.floor(s/20)+1,_(s,20)]},_toTzolkin:function(c){return[b(20+(c-=this.jdEpoch),20),b(c+4,13)]},toJD:function(c,s,o){var l=this._validate(c,s,o,v.local.invalidDate);return l.day()+20*l.month()+360*l.year()+this.jdEpoch},fromJD:function(c){c=Math.floor(c)+.5-this.jdEpoch;var s=Math.floor(c/360);c%=360,c+=c<0?360:0;var o=Math.floor(c/20),l=c%20;return this.newDate(s,o,l)}}),v.calendars.mayan=i},30632:function(h,m,a){var v=a(38700),g=a(50896);function i(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar;var _=v.instance("gregorian");g(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(b){var c=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear||v.regionalOptions[""].invalidYear);return _.leapYear(c.year()+(c.year()<1?1:0)+1469)},weekOfYear:function(b,c,s){var o=this.newDate(b,c,s);return o.add(1-(o.dayOfWeek()||7),"d"),Math.floor((o.dayOfYear()-1)/7)+1},daysInMonth:function(b,c){var s=this._validate(b,c,this.minDay,v.local.invalidMonth);return this.daysPerMonth[s.month()-1]+(s.month()===12&&this.leapYear(s.year())?1:0)},weekDay:function(b,c,s){return(this.dayOfWeek(b,c,s)||7)<6},toJD:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidMonth);(b=o.year())<0&&b++;for(var l=o.day(),d=1;d<o.month();d++)l+=this.daysPerMonth[d-1];return l+_.toJD(b+1468,3,13)},fromJD:function(b){b=Math.floor(b+.5);for(var c=Math.floor((b-(this.jdEpoch-1))/366);b>=this.toJD(c+1,1,1);)c++;for(var s=b-Math.floor(this.toJD(c,1,1)+.5)+1,o=1;s>this.daysInMonth(c,o);)s-=this.daysInMonth(c,o),o++;return this.newDate(c,o,s)}}),v.calendars.nanakshahi=i},73040:function(h,m,a){var v=a(38700),g=a(50896);function i(_){this.local=this.regionalOptions[_||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(_){return this.daysInYear(_)!==this.daysPerYear},weekOfYear:function(_,b,c){var s=this.newDate(_,b,c);return s.add(-s.dayOfWeek(),"d"),Math.floor((s.dayOfYear()-1)/7)+1},daysInYear:function(_){if(_=this._validate(_,this.minMonth,this.minDay,v.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[_]===void 0)return this.daysPerYear;for(var b=0,c=this.minMonth;c<=12;c++)b+=this.NEPALI_CALENDAR_DATA[_][c];return b},daysInMonth:function(_,b){return _.year&&(b=_.month(),_=_.year()),this._validate(_,b,this.minDay,v.local.invalidMonth),this.NEPALI_CALENDAR_DATA[_]===void 0?this.daysPerMonth[b-1]:this.NEPALI_CALENDAR_DATA[_][b]},weekDay:function(_,b,c){return this.dayOfWeek(_,b,c)!==6},toJD:function(_,b,c){var s=this._validate(_,b,c,v.local.invalidDate);_=s.year(),b=s.month(),c=s.day();var o=v.instance(),l=0,d=b,u=_;this._createMissingCalendarData(_);var p=_-(d>9||d===9&&c>=this.NEPALI_CALENDAR_DATA[u][0]?56:57);for(b!==9&&(l=c,d--);d!==9;)d<=0&&(d=12,u--),l+=this.NEPALI_CALENDAR_DATA[u][d],d--;return b===9?(l+=c-this.NEPALI_CALENDAR_DATA[u][0])<0&&(l+=o.daysInYear(p)):l+=this.NEPALI_CALENDAR_DATA[u][9]-this.NEPALI_CALENDAR_DATA[u][0],o.newDate(p,1,1).add(l,"d").toJD()},fromJD:function(_){var b=v.instance().fromJD(_),c=b.year(),s=b.dayOfYear(),o=c+56;this._createMissingCalendarData(o);for(var l=9,d=this.NEPALI_CALENDAR_DATA[o][0],u=this.NEPALI_CALENDAR_DATA[o][l]-d+1;s>u;)++l>12&&(l=1,o++),u+=this.NEPALI_CALENDAR_DATA[o][l];var p=this.NEPALI_CALENDAR_DATA[o][l]-(u-s);return this.newDate(o,l,p)},_createMissingCalendarData:function(_){var b=this.daysPerMonth.slice(0);b.unshift(17);for(var c=_-1;c<_+2;c++)this.NEPALI_CALENDAR_DATA[c]===void 0&&(this.NEPALI_CALENDAR_DATA[c]=b)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}}),v.calendars.nepali=i},1104:function(h,m,a){var v=a(38700),g=a(50896);function i(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}function _(b,c){return b-c*Math.floor(b/c)}i.prototype=new v.baseCalendar,g(i.prototype,{name:"Persian",jdEpoch:19483205e-1,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Persian",epochs:["BP","AP"],monthNames:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Day","Bahman","Esfand"],monthNamesShort:["Far","Ord","Kho","Tir","Mor","Sha","Meh","Aba","Aza","Day","Bah","Esf"],dayNames:["Yekshambe","Doshambe","Seshambe","Chæharshambe","Panjshambe","Jom'e","Shambe"],dayNamesShort:["Yek","Do","Se","Chæ","Panj","Jom","Sha"],dayNamesMin:["Ye","Do","Se","Ch","Pa","Jo","Sh"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(b){var c=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear);return 682*((c.year()-(c.year()>0?474:473))%2820+474+38)%2816<682},weekOfYear:function(b,c,s){var o=this.newDate(b,c,s);return o.add(-(o.dayOfWeek()+1)%7,"d"),Math.floor((o.dayOfYear()-1)/7)+1},daysInMonth:function(b,c){var s=this._validate(b,c,this.minDay,v.local.invalidMonth);return this.daysPerMonth[s.month()-1]+(s.month()===12&&this.leapYear(s.year())?1:0)},weekDay:function(b,c,s){return this.dayOfWeek(b,c,s)!==5},toJD:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate);b=o.year(),c=o.month(),s=o.day();var l=b-(b>=0?474:473),d=474+_(l,2820);return s+(c<=7?31*(c-1):30*(c-1)+6)+Math.floor((682*d-110)/2816)+365*(d-1)+1029983*Math.floor(l/2820)+this.jdEpoch-1},fromJD:function(b){var c=(b=Math.floor(b)+.5)-this.toJD(475,1,1),s=Math.floor(c/1029983),o=_(c,1029983),l=2820;if(o!==1029982){var d=Math.floor(o/366),u=_(o,366);l=Math.floor((2134*d+2816*u+2815)/1028522)+d+1}var p=l+2820*s+474;p=p<=0?p-1:p;var f=b-this.toJD(p,1,1)+1,y=f<=186?Math.ceil(f/31):Math.ceil((f-6)/30),w=b-this.toJD(p,y,1)+1;return this.newDate(p,y,w)}}),v.calendars.persian=i,v.calendars.jalali=i},51456:function(h,m,a){var v=a(38700),g=a(50896),i=v.instance();function _(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}_.prototype=new v.baseCalendar,g(_.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(b){var c=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear);return b=this._t2gYear(c.year()),i.leapYear(b)},weekOfYear:function(b,c,s){var o=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear);return b=this._t2gYear(o.year()),i.weekOfYear(b,o.month(),o.day())},daysInMonth:function(b,c){var s=this._validate(b,c,this.minDay,v.local.invalidMonth);return this.daysPerMonth[s.month()-1]+(s.month()===2&&this.leapYear(s.year())?1:0)},weekDay:function(b,c,s){return(this.dayOfWeek(b,c,s)||7)<6},toJD:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate);return b=this._t2gYear(o.year()),i.toJD(b,o.month(),o.day())},fromJD:function(b){var c=i.fromJD(b),s=this._g2tYear(c.year());return this.newDate(s,c.month(),c.day())},_t2gYear:function(b){return b+this.yearsOffset+(b>=-this.yearsOffset&&b<=-1?1:0)},_g2tYear:function(b){return b-this.yearsOffset-(b>=1&&b<=this.yearsOffset?1:0)}}),v.calendars.taiwan=_},4592:function(h,m,a){var v=a(38700),g=a(50896),i=v.instance();function _(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}_.prototype=new v.baseCalendar,g(_.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(b){var c=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear);return b=this._t2gYear(c.year()),i.leapYear(b)},weekOfYear:function(b,c,s){var o=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear);return b=this._t2gYear(o.year()),i.weekOfYear(b,o.month(),o.day())},daysInMonth:function(b,c){var s=this._validate(b,c,this.minDay,v.local.invalidMonth);return this.daysPerMonth[s.month()-1]+(s.month()===2&&this.leapYear(s.year())?1:0)},weekDay:function(b,c,s){return(this.dayOfWeek(b,c,s)||7)<6},toJD:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate);return b=this._t2gYear(o.year()),i.toJD(b,o.month(),o.day())},fromJD:function(b){var c=i.fromJD(b),s=this._g2tYear(c.year());return this.newDate(s,c.month(),c.day())},_t2gYear:function(b){return b-this.yearsOffset-(b>=1&&b<=this.yearsOffset?1:0)},_g2tYear:function(b){return b+this.yearsOffset+(b>=-this.yearsOffset&&b<=-1?1:0)}}),v.calendars.thai=_},45348:function(h,m,a){var v=a(38700),g=a(50896);function i(b){this.local=this.regionalOptions[b||""]||this.regionalOptions[""]}i.prototype=new v.baseCalendar,g(i.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(b){var c=this._validate(b,this.minMonth,this.minDay,v.local.invalidYear);return this.daysInYear(c.year())===355},weekOfYear:function(b,c,s){var o=this.newDate(b,c,s);return o.add(-o.dayOfWeek(),"d"),Math.floor((o.dayOfYear()-1)/7)+1},daysInYear:function(b){for(var c=0,s=1;s<=12;s++)c+=this.daysInMonth(b,s);return c},daysInMonth:function(b,c){for(var s=this._validate(b,c,this.minDay,v.local.invalidMonth).toJD()-24e5+.5,o=0,l=0;l<_.length;l++){if(_[l]>s)return _[o]-_[o-1];o++}return 30},weekDay:function(b,c,s){return this.dayOfWeek(b,c,s)!==5},toJD:function(b,c,s){var o=this._validate(b,c,s,v.local.invalidDate),l=12*(o.year()-1)+o.month()-15292;return o.day()+_[l-1]-1+24e5-.5},fromJD:function(b){for(var c=b-24e5+.5,s=0,o=0;o<_.length&&!(_[o]>c);o++)s++;var l=s+15292,d=Math.floor((l-1)/12),u=d+1,p=l-12*d,f=c-_[s-1]+1;return this.newDate(u,p,f)},isValid:function(b,c,s){var o=v.baseCalendar.prototype.isValid.apply(this,arguments);return o&&(o=(b=b.year!=null?b.year:b)>=1276&&b<=1500),o},_validate:function(b,c,s,o){var l=v.baseCalendar.prototype._validate.apply(this,arguments);if(l.year<1276||l.year>1500)throw o.replace(/\{0\}/,this.local.name);return l}}),v.calendars.ummalqura=i;var _=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},38700:function(h,m,a){var v=a(50896);function g(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function i(o,l,d,u){if(this._calendar=o,this._year=l,this._month=d,this._day=u,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(s.local.invalidDate||s.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function _(o,l){return"000000".substring(0,l-(o=""+o).length)+o}function b(){this.shortYearCutoff="+10"}function c(o){this.local=this.regionalOptions[o]||this.regionalOptions[""]}v(g.prototype,{instance:function(o,l){o=(o||"gregorian").toLowerCase(),l=l||"";var d=this._localCals[o+"-"+l];if(!d&&this.calendars[o]&&(d=new this.calendars[o](l),this._localCals[o+"-"+l]=d),!d)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,o);return d},newDate:function(o,l,d,u,p){return(u=(o!=null&&o.year?o.calendar():typeof u=="string"?this.instance(u,p):u)||this.instance()).newDate(o,l,d)},substituteDigits:function(o){return function(l){return(l+"").replace(/[0-9]/g,function(d){return o[d]})}},substituteChineseDigits:function(o,l){return function(d){for(var u="",p=0;d>0;){var f=d%10;u=(f===0?"":o[f]+l[p])+u,p++,d=Math.floor(d/10)}return u.indexOf(o[1]+l[1])===0&&(u=u.substr(1)),u||o[0]}}}),v(i.prototype,{newDate:function(o,l,d){return this._calendar.newDate(o??this,l,d)},year:function(o){return arguments.length===0?this._year:this.set(o,"y")},month:function(o){return arguments.length===0?this._month:this.set(o,"m")},day:function(o){return arguments.length===0?this._day:this.set(o,"d")},date:function(o,l,d){if(!this._calendar.isValid(o,l,d))throw(s.local.invalidDate||s.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=o,this._month=l,this._day=d,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(o,l){return this._calendar.add(this,o,l)},set:function(o,l){return this._calendar.set(this,o,l)},compareTo:function(o){if(this._calendar.name!==o._calendar.name)throw(s.local.differentCalendars||s.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,o._calendar.local.name);var l=this._year!==o._year?this._year-o._year:this._month!==o._month?this.monthOfYear()-o.monthOfYear():this._day-o._day;return l===0?0:l<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(o){return this._calendar.fromJD(o)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(o){return this._calendar.fromJSDate(o)},toString:function(){return(this.year()<0?"-":"")+_(Math.abs(this.year()),4)+"-"+_(this.month(),2)+"-"+_(this.day(),2)}}),v(b.prototype,{_validateLevel:0,newDate:function(o,l,d){return o==null?this.today():(o.year&&(this._validate(o,l,d,s.local.invalidDate||s.regionalOptions[""].invalidDate),d=o.day(),l=o.month(),o=o.year()),new i(this,o,l,d))},today:function(){return this.fromJSDate(new Date)},epoch:function(o){return this._validate(o,this.minMonth,this.minDay,s.local.invalidYear||s.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(o){var l=this._validate(o,this.minMonth,this.minDay,s.local.invalidYear||s.regionalOptions[""].invalidYear);return(l.year()<0?"-":"")+_(Math.abs(l.year()),4)},monthsInYear:function(o){return this._validate(o,this.minMonth,this.minDay,s.local.invalidYear||s.regionalOptions[""].invalidYear),12},monthOfYear:function(o,l){var d=this._validate(o,l,this.minDay,s.local.invalidMonth||s.regionalOptions[""].invalidMonth);return(d.month()+this.monthsInYear(d)-this.firstMonth)%this.monthsInYear(d)+this.minMonth},fromMonthOfYear:function(o,l){var d=(l+this.firstMonth-2*this.minMonth)%this.monthsInYear(o)+this.minMonth;return this._validate(o,d,this.minDay,s.local.invalidMonth||s.regionalOptions[""].invalidMonth),d},daysInYear:function(o){var l=this._validate(o,this.minMonth,this.minDay,s.local.invalidYear||s.regionalOptions[""].invalidYear);return this.leapYear(l)?366:365},dayOfYear:function(o,l,d){var u=this._validate(o,l,d,s.local.invalidDate||s.regionalOptions[""].invalidDate);return u.toJD()-this.newDate(u.year(),this.fromMonthOfYear(u.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(o,l,d){var u=this._validate(o,l,d,s.local.invalidDate||s.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(u))+2)%this.daysInWeek()},extraInfo:function(o,l,d){return this._validate(o,l,d,s.local.invalidDate||s.regionalOptions[""].invalidDate),{}},add:function(o,l,d){return this._validate(o,this.minMonth,this.minDay,s.local.invalidDate||s.regionalOptions[""].invalidDate),this._correctAdd(o,this._add(o,l,d),l,d)},_add:function(o,l,d){if(this._validateLevel++,d==="d"||d==="w"){var u=o.toJD()+l*(d==="w"?this.daysInWeek():1),p=o.calendar().fromJD(u);return this._validateLevel--,[p.year(),p.month(),p.day()]}try{var f=o.year()+(d==="y"?l:0),y=o.monthOfYear()+(d==="m"?l:0);p=o.day(),d==="y"?(o.month()!==this.fromMonthOfYear(f,y)&&(y=this.newDate(f,o.month(),this.minDay).monthOfYear()),y=Math.min(y,this.monthsInYear(f)),p=Math.min(p,this.daysInMonth(f,this.fromMonthOfYear(f,y)))):d==="m"&&(function(x){for(;y<x.minMonth;)f--,y+=x.monthsInYear(f);for(var M=x.monthsInYear(f);y>M-1+x.minMonth;)f++,y-=M,M=x.monthsInYear(f)}(this),p=Math.min(p,this.daysInMonth(f,this.fromMonthOfYear(f,y))));var w=[f,this.fromMonthOfYear(f,y),p];return this._validateLevel--,w}catch(x){throw this._validateLevel--,x}},_correctAdd:function(o,l,d,u){if(!(this.hasYearZero||u!=="y"&&u!=="m"||l[0]!==0&&o.year()>0==l[0]>0)){var p={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[u],f=d<0?-1:1;l=this._add(o,d*p[0]+f*p[1],p[2])}return o.date(l[0],l[1],l[2])},set:function(o,l,d){this._validate(o,this.minMonth,this.minDay,s.local.invalidDate||s.regionalOptions[""].invalidDate);var u=d==="y"?l:o.year(),p=d==="m"?l:o.month(),f=d==="d"?l:o.day();return d!=="y"&&d!=="m"||(f=Math.min(f,this.daysInMonth(u,p))),o.date(u,p,f)},isValid:function(o,l,d){this._validateLevel++;var u=this.hasYearZero||o!==0;if(u){var p=this.newDate(o,l,this.minDay);u=l>=this.minMonth&&l-this.minMonth<this.monthsInYear(p)&&d>=this.minDay&&d-this.minDay<this.daysInMonth(p)}return this._validateLevel--,u},toJSDate:function(o,l,d){var u=this._validate(o,l,d,s.local.invalidDate||s.regionalOptions[""].invalidDate);return s.instance().fromJD(this.toJD(u)).toJSDate()},fromJSDate:function(o){return this.fromJD(s.instance().fromJSDate(o).toJD())},_validate:function(o,l,d,u){if(o.year){if(this._validateLevel===0&&this.name!==o.calendar().name)throw(s.local.differentCalendars||s.regionalOptions[""].differentCalendars).replace(/\{0\}/,this.local.name).replace(/\{1\}/,o.calendar().local.name);return o}try{if(this._validateLevel++,this._validateLevel===1&&!this.isValid(o,l,d))throw u.replace(/\{0\}/,this.local.name);var p=this.newDate(o,l,d);return this._validateLevel--,p}catch(f){throw this._validateLevel--,f}}}),c.prototype=new b,v(c.prototype,{name:"Gregorian",jdEpoch:17214255e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Gregorian",epochs:["BCE","CE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(o){var l=this._validate(o,this.minMonth,this.minDay,s.local.invalidYear||s.regionalOptions[""].invalidYear);return(o=l.year()+(l.year()<0?1:0))%4==0&&(o%100!=0||o%400==0)},weekOfYear:function(o,l,d){var u=this.newDate(o,l,d);return u.add(4-(u.dayOfWeek()||7),"d"),Math.floor((u.dayOfYear()-1)/7)+1},daysInMonth:function(o,l){var d=this._validate(o,l,this.minDay,s.local.invalidMonth||s.regionalOptions[""].invalidMonth);return this.daysPerMonth[d.month()-1]+(d.month()===2&&this.leapYear(d.year())?1:0)},weekDay:function(o,l,d){return(this.dayOfWeek(o,l,d)||7)<6},toJD:function(o,l,d){var u=this._validate(o,l,d,s.local.invalidDate||s.regionalOptions[""].invalidDate);o=u.year(),l=u.month(),d=u.day(),o<0&&o++,l<3&&(l+=12,o--);var p=Math.floor(o/100),f=2-p+Math.floor(p/4);return Math.floor(365.25*(o+4716))+Math.floor(30.6001*(l+1))+d+f-1524.5},fromJD:function(o){var l=Math.floor(o+.5),d=Math.floor((l-186721625e-2)/36524.25),u=1524+(d=l+1+d-Math.floor(d/4)),p=Math.floor((u-122.1)/365.25),f=Math.floor(365.25*p),y=Math.floor((u-f)/30.6001),w=u-f-Math.floor(30.6001*y),x=y-(y>13.5?13:1),M=p-(x>2.5?4716:4715);return M<=0&&M--,this.newDate(M,x,w)},toJSDate:function(o,l,d){var u=this._validate(o,l,d,s.local.invalidDate||s.regionalOptions[""].invalidDate),p=new Date(u.year(),u.month()-1,u.day());return p.setHours(0),p.setMinutes(0),p.setSeconds(0),p.setMilliseconds(0),p.setHours(p.getHours()>12?p.getHours()+2:0),p},fromJSDate:function(o){return this.newDate(o.getFullYear(),o.getMonth()+1,o.getDate())}});var s=h.exports=new g;s.cdate=i,s.baseCalendar=b,s.calendars.gregorian=c},15168:function(h,m,a){var v=a(50896),g=a(38700);v(g.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),g.local=g.regionalOptions[""],v(g.cdate.prototype,{formatDate:function(i,_){return typeof i!="string"&&(_=i,i=""),this._calendar.formatDate(i||"",this,_)}}),v(g.baseCalendar.prototype,{UNIX_EPOCH:g.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:g.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(i,_,b){if(typeof i!="string"&&(b=_,_=i,i=""),!_)return"";if(_.calendar()!==this)throw g.local.invalidFormat||g.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat;for(var c,s,o,l=(b=b||{}).dayNamesShort||this.local.dayNamesShort,d=b.dayNames||this.local.dayNames,u=b.monthNumbers||this.local.monthNumbers,p=b.monthNamesShort||this.local.monthNamesShort,f=b.monthNames||this.local.monthNames,y=(b.calculateWeek||this.local.calculateWeek,function(S,L){for(var N=1;B+N<i.length&&i.charAt(B+N)===S;)N++;return B+=N-1,Math.floor(N/(L||1))>1}),w=function(S,L,N,O){var z=""+L;if(y(S,O))for(;z.length<N;)z="0"+z;return z},x=this,M=function(S){return typeof u=="function"?u.call(x,S,y("m")):T(w("m",S.month(),2))},k=function(S,L){return L?typeof f=="function"?f.call(x,S):f[S.month()-x.minMonth]:typeof p=="function"?p.call(x,S):p[S.month()-x.minMonth]},C=this.local.digits,T=function(S){return b.localNumbers&&C?C(S):S},A="",E=!1,B=0;B<i.length;B++)if(E)i.charAt(B)!=="'"||y("'")?A+=i.charAt(B):E=!1;else switch(i.charAt(B)){case"d":A+=T(w("d",_.day(),2));break;case"D":A+=(c=_.dayOfWeek(),s=l,o=d,y("D")?o[c]:s[c]);break;case"o":A+=w("o",_.dayOfYear(),3);break;case"w":A+=w("w",_.weekOfYear(),2);break;case"m":A+=M(_);break;case"M":A+=k(_,y("M"));break;case"y":A+=y("y",2)?_.year():(_.year()%100<10?"0":"")+_.year()%100;break;case"Y":y("Y",2),A+=_.formatYear();break;case"J":A+=_.toJD();break;case"@":A+=(_.toJD()-this.UNIX_EPOCH)*this.SECS_PER_DAY;break;case"!":A+=(_.toJD()-this.TICKS_EPOCH)*this.TICKS_PER_DAY;break;case"'":y("'")?A+="'":E=!0;break;default:A+=i.charAt(B)}return A},parseDate:function(i,_,b){if(_==null)throw g.local.invalidArguments||g.regionalOptions[""].invalidArguments;if((_=typeof _=="object"?_.toString():_+"")==="")return null;i=i||this.local.dateFormat;var c=(b=b||{}).shortYearCutoff||this.shortYearCutoff;c=typeof c!="string"?c:this.today().year()%100+parseInt(c,10);for(var s=b.dayNamesShort||this.local.dayNamesShort,o=b.dayNames||this.local.dayNames,l=b.parseMonth||this.local.parseMonth,d=b.monthNumbers||this.local.monthNumbers,u=b.monthNamesShort||this.local.monthNamesShort,p=b.monthNames||this.local.monthNames,f=-1,y=-1,w=-1,x=-1,M=-1,k=!1,C=!1,T=function(j,q){for(var $=1;z+$<i.length&&i.charAt(z+$)===j;)$++;return z+=$-1,Math.floor($/(q||1))>1},A=function(j,q){var $=T(j,q),H=[2,3,$?4:2,$?4:2,10,11,20]["oyYJ@!".indexOf(j)+1],X=new RegExp("^-?\\d{1,"+H+"}"),G=_.substring(O).match(X);if(!G)throw(g.local.missingNumberAt||g.regionalOptions[""].missingNumberAt).replace(/\{0\}/,O);return O+=G[0].length,parseInt(G[0],10)},E=this,B=function(){if(typeof d=="function"){T("m");var j=d.call(E,_.substring(O));return O+=j.length,j}return A("m")},S=function(j,q,$,H){for(var X=T(j,H)?$:q,G=0;G<X.length;G++)if(_.substr(O,X[G].length).toLowerCase()===X[G].toLowerCase())return O+=X[G].length,G+E.minMonth;throw(g.local.unknownNameAt||g.regionalOptions[""].unknownNameAt).replace(/\{0\}/,O)},L=function(){if(typeof p=="function"){var j=T("M")?p.call(E,_.substring(O)):u.call(E,_.substring(O));return O+=j.length,j}return S("M",u,p)},N=function(){if(_.charAt(O)!==i.charAt(z))throw(g.local.unexpectedLiteralAt||g.regionalOptions[""].unexpectedLiteralAt).replace(/\{0\}/,O);O++},O=0,z=0;z<i.length;z++)if(C)i.charAt(z)!=="'"||T("'")?N():C=!1;else switch(i.charAt(z)){case"d":x=A("d");break;case"D":S("D",s,o);break;case"o":M=A("o");break;case"w":A("w");break;case"m":w=B();break;case"M":w=L();break;case"y":var V=z;k=!T("y",2),z=V,y=A("y",2);break;case"Y":y=A("Y",2);break;case"J":f=A("J")+.5,_.charAt(O)==="."&&(O++,A("J"));break;case"@":f=A("@")/this.SECS_PER_DAY+this.UNIX_EPOCH;break;case"!":f=A("!")/this.TICKS_PER_DAY+this.TICKS_EPOCH;break;case"*":O=_.length;break;case"'":T("'")?N():C=!0;break;default:N()}if(O<_.length)throw g.local.unexpectedText||g.regionalOptions[""].unexpectedText;if(y===-1?y=this.today().year():y<100&&k&&(y+=c===-1?1900:this.today().year()-this.today().year()%100-(y<=c?0:100)),typeof w=="string"&&(w=l.call(this,y,w)),M>-1){w=1,x=M;for(var R=this.daysInMonth(y,w);x>R;R=this.daysInMonth(y,w))w++,x-=R}return f>-1?this.fromJD(f):this.newDate(y,w,x)},determineDate:function(i,_,b,c,s){b&&typeof b!="object"&&(s=c,c=b,b=null),typeof c!="string"&&(s=c,c="");var o=this;return _=_?_.newDate():null,i==null?_:typeof i=="string"?function(l){try{return o.parseDate(c,l,s)}catch{}for(var d=((l=l.toLowerCase()).match(/^c/)&&b?b.newDate():null)||o.today(),u=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,p=u.exec(l);p;)d.add(parseInt(p[1],10),p[2]||"d"),p=u.exec(l);return d}(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?_:o.today().add(i,"d"):o.newDate(i)}})},21576:function(){},19768:function(){},63436:function(h,m,a){var v=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],g=typeof globalThis>"u"?a.g:globalThis;h.exports=function(){for(var i=[],_=0;_<v.length;_++)typeof g[v[_]]=="function"&&(i[i.length]=v[_]);return i}},67756:function(h,m,a){function v(me,ye,be){me.prototype=ye.prototype=be,be.constructor=me}function g(me,ye){var be=Object.create(me.prototype);for(var we in ye)be[we]=ye[we];return be}function i(){}a.d(m,{qy:function(){return fe},Gz:function(){return oe}});var _=.7,b=1/_,c="\\s*([+-]?\\d+)\\s*",s="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",o="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,d=new RegExp("^rgb\\(".concat(c,",").concat(c,",").concat(c,"\\)$")),u=new RegExp("^rgb\\(".concat(o,",").concat(o,",").concat(o,"\\)$")),p=new RegExp("^rgba\\(".concat(c,",").concat(c,",").concat(c,",").concat(s,"\\)$")),f=new RegExp("^rgba\\(".concat(o,",").concat(o,",").concat(o,",").concat(s,"\\)$")),y=new RegExp("^hsl\\(".concat(s,",").concat(o,",").concat(o,"\\)$")),w=new RegExp("^hsla\\(".concat(s,",").concat(o,",").concat(o,",").concat(s,"\\)$")),x={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function M(){return this.rgb().formatHex()}function k(){return this.rgb().formatRgb()}function C(me){var ye,be;return me=(me+"").trim().toLowerCase(),(ye=l.exec(me))?(be=ye[1].length,ye=parseInt(ye[1],16),be===6?T(ye):be===3?new B(ye>>8&15|ye>>4&240,ye>>4&15|240&ye,(15&ye)<<4|15&ye,1):be===8?A(ye>>24&255,ye>>16&255,ye>>8&255,(255&ye)/255):be===4?A(ye>>12&15|ye>>8&240,ye>>8&15|ye>>4&240,ye>>4&15|240&ye,((15&ye)<<4|15&ye)/255):null):(ye=d.exec(me))?new B(ye[1],ye[2],ye[3],1):(ye=u.exec(me))?new B(255*ye[1]/100,255*ye[2]/100,255*ye[3]/100,1):(ye=p.exec(me))?A(ye[1],ye[2],ye[3],ye[4]):(ye=f.exec(me))?A(255*ye[1]/100,255*ye[2]/100,255*ye[3]/100,ye[4]):(ye=y.exec(me))?V(ye[1],ye[2]/100,ye[3]/100,1):(ye=w.exec(me))?V(ye[1],ye[2]/100,ye[3]/100,ye[4]):x.hasOwnProperty(me)?T(x[me]):me==="transparent"?new B(NaN,NaN,NaN,0):null}function T(me){return new B(me>>16&255,me>>8&255,255&me,1)}function A(me,ye,be,we){return we<=0&&(me=ye=be=NaN),new B(me,ye,be,we)}function E(me,ye,be,we){return arguments.length===1?((Se=me)instanceof i||(Se=C(Se)),Se?new B((Se=Se.rgb()).r,Se.g,Se.b,Se.opacity):new B):new B(me,ye,be,we??1);var Se}function B(me,ye,be,we){this.r=+me,this.g=+ye,this.b=+be,this.opacity=+we}function S(){return"#".concat(z(this.r)).concat(z(this.g)).concat(z(this.b))}function L(){var me=N(this.opacity);return"".concat(me===1?"rgb(":"rgba(").concat(O(this.r),", ").concat(O(this.g),", ").concat(O(this.b)).concat(me===1?")":", ".concat(me,")"))}function N(me){return isNaN(me)?1:Math.max(0,Math.min(1,me))}function O(me){return Math.max(0,Math.min(255,Math.round(me)||0))}function z(me){return((me=O(me))<16?"0":"")+me.toString(16)}function V(me,ye,be,we){return we<=0?me=ye=be=NaN:be<=0||be>=1?me=ye=NaN:ye<=0&&(me=NaN),new j(me,ye,be,we)}function R(me){if(me instanceof j)return new j(me.h,me.s,me.l,me.opacity);if(me instanceof i||(me=C(me)),!me)return new j;if(me instanceof j)return me;var ye=(me=me.rgb()).r/255,be=me.g/255,we=me.b/255,Se=Math.min(ye,be,we),Me=Math.max(ye,be,we),Re=NaN,ke=Me-Se,pe=(Me+Se)/2;return ke?(Re=ye===Me?(be-we)/ke+6*(be<we):be===Me?(we-ye)/ke+2:(ye-be)/ke+4,ke/=pe<.5?Me+Se:2-Me-Se,Re*=60):ke=pe>0&&pe<1?0:Re,new j(Re,ke,pe,me.opacity)}function j(me,ye,be,we){this.h=+me,this.s=+ye,this.l=+be,this.opacity=+we}function q(me){return(me=(me||0)%360)<0?me+360:me}function $(me){return Math.max(0,Math.min(1,me||0))}function H(me,ye,be){return 255*(me<60?ye+(be-ye)*me/60:me<180?be:me<240?ye+(be-ye)*(240-me)/60:ye)}v(i,C,{copy:function(me){return Object.assign(new this.constructor,this,me)},displayable:function(){return this.rgb().displayable()},hex:M,formatHex:M,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return R(this).formatHsl()},formatRgb:k,toString:k}),v(B,E,g(i,{brighter:function(me){return me=me==null?b:Math.pow(b,me),new B(this.r*me,this.g*me,this.b*me,this.opacity)},darker:function(me){return me=me==null?_:Math.pow(_,me),new B(this.r*me,this.g*me,this.b*me,this.opacity)},rgb:function(){return this},clamp:function(){return new B(O(this.r),O(this.g),O(this.b),N(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatHex8:function(){return"#".concat(z(this.r)).concat(z(this.g)).concat(z(this.b)).concat(z(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:L,toString:L})),v(j,function(me,ye,be,we){return arguments.length===1?R(me):new j(me,ye,be,we??1)},g(i,{brighter:function(me){return me=me==null?b:Math.pow(b,me),new j(this.h,this.s,this.l*me,this.opacity)},darker:function(me){return me=me==null?_:Math.pow(_,me),new j(this.h,this.s,this.l*me,this.opacity)},rgb:function(){var me=this.h%360+360*(this.h<0),ye=isNaN(me)||isNaN(this.s)?0:this.s,be=this.l,we=be+(be<.5?be:1-be)*ye,Se=2*be-we;return new B(H(me>=240?me-240:me+120,Se,we),H(me,Se,we),H(me<120?me+240:me-120,Se,we),this.opacity)},clamp:function(){return new j(q(this.h),$(this.s),$(this.l),N(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var me=N(this.opacity);return"".concat(me===1?"hsl(":"hsla(").concat(q(this.h),", ").concat(100*$(this.s),"%, ").concat(100*$(this.l),"%").concat(me===1?")":", ".concat(me,")"))}}));var X=function(me){return function(){return me}};function G(me,ye){var be=ye-me;return be?function(we,Se){return function(Me){return we+Me*Se}}(me,be):X(isNaN(me)?ye:me)}var Y=function me(ye){var be=function(Se){return(Se=+Se)==1?G:function(Me,Re){return Re-Me?function(ke,pe,ue){return ke=Math.pow(ke,ue),pe=Math.pow(pe,ue)-ke,ue=1/ue,function(_e){return Math.pow(ke+_e*pe,ue)}}(Me,Re,Se):X(isNaN(Me)?Re:Me)}}(ye);function we(Se,Me){var Re=be((Se=E(Se)).r,(Me=E(Me)).r),ke=be(Se.g,Me.g),pe=be(Se.b,Me.b),ue=G(Se.opacity,Me.opacity);return function(_e){return Se.r=Re(_e),Se.g=ke(_e),Se.b=pe(_e),Se.opacity=ue(_e),Se+""}}return we.gamma=me,we}(1);function K(me,ye){var be,we=ye?ye.length:0,Se=me?Math.min(we,me.length):0,Me=new Array(Se),Re=new Array(we);for(be=0;be<Se;++be)Me[be]=fe(me[be],ye[be]);for(;be<we;++be)Re[be]=ye[be];return function(ke){for(be=0;be<Se;++be)Re[be]=Me[be](ke);return Re}}function le(me,ye){var be=new Date;return me=+me,ye=+ye,function(we){return be.setTime(me*(1-we)+ye*we),be}}function oe(me,ye){return me=+me,ye=+ye,function(be){return me*(1-be)+ye*be}}function ne(me){return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ye){return typeof ye}:function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye},ne(me)}function se(me,ye){var be,we={},Se={};for(be in me!==null&&ne(me)==="object"||(me={}),ye!==null&&ne(ye)==="object"||(ye={}),ye)be in me?we[be]=fe(me[be],ye[be]):Se[be]=ye[be];return function(Me){for(be in we)Se[be]=we[be](Me);return Se}}var te=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ee=new RegExp(te.source,"g");function re(me,ye){var be,we,Se,Me=te.lastIndex=ee.lastIndex=0,Re=-1,ke=[],pe=[];for(me+="",ye+="";(be=te.exec(me))&&(we=ee.exec(ye));)(Se=we.index)>Me&&(Se=ye.slice(Me,Se),ke[Re]?ke[Re]+=Se:ke[++Re]=Se),(be=be[0])===(we=we[0])?ke[Re]?ke[Re]+=we:ke[++Re]=we:(ke[++Re]=null,pe.push({i:Re,x:oe(be,we)})),Me=ee.lastIndex;return Me<ye.length&&(Se=ye.slice(Me),ke[Re]?ke[Re]+=Se:ke[++Re]=Se),ke.length<2?pe[0]?function(ue){return function(_e){return ue(_e)+""}}(pe[0].x):function(ue){return function(){return ue}}(ye):(ye=pe.length,function(ue){for(var _e,Pe=0;Pe<ye;++Pe)ke[(_e=pe[Pe]).i]=_e.x(ue);return ke.join("")})}function ce(me,ye){ye||(ye=[]);var be,we=me?Math.min(ye.length,me.length):0,Se=ye.slice();return function(Me){for(be=0;be<we;++be)Se[be]=me[be]*(1-Me)+ye[be]*Me;return Se}}function he(me){return he=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ye){return typeof ye}:function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye},he(me)}function fe(me,ye){var be,we,Se=he(ye);return ye==null||Se==="boolean"?X(ye):(Se==="number"?oe:Se==="string"?(be=C(ye))?(ye=be,Y):re:ye instanceof C?Y:ye instanceof Date?le:(we=ye,!ArrayBuffer.isView(we)||we instanceof DataView?Array.isArray(ye)?K:typeof ye.valueOf!="function"&&typeof ye.toString!="function"||isNaN(ye)?se:oe:ce))(me,ye)}},30584:function(h){h.exports=JSON.parse('["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"]')},7294:function(h){h.exports=JSON.parse('["normal","condensed","semi-condensed","extra-condensed","ultra-condensed","expanded","semi-expanded","extra-expanded","ultra-expanded"]')},47916:function(h){h.exports=JSON.parse('["normal","italic","oblique"]')},2904:function(h){h.exports=JSON.parse('["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900"]')},68194:function(h){h.exports=JSON.parse('["inherit","initial","unset"]')},3748:function(h){h.exports=JSON.parse('["caption","icon","menu","message-box","small-caption","status-bar"]')}},I={};function F(h){var m=I[h];if(m!==void 0)return m.exports;var a=I[h]={exports:{}};return r[h].call(a.exports,a,a.exports,F),a.exports}return F.n=function(h){var m=h&&h.__esModule?function(){return h.default}:function(){return h};return F.d(m,{a:m}),m},F.d=function(h,m){for(var a in m)F.o(m,a)&&!F.o(h,a)&&Object.defineProperty(h,a,{enumerable:!0,get:m[a]})},F.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),F.o=function(h,m){return Object.prototype.hasOwnProperty.call(h,m)},F.r=function(h){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(h,"__esModule",{value:!0})},F(13792)}()})})(WW);var BNt=WW.exports;const qW=Iw(BNt),I0a="",N0a="",PNt={ref:"card",class:"card-volumetric-field"},YW=1,ONt=800,XW=300,LNt=-46,JW=100,ZW=-14,FNt=Hr({__name:"VolumetricField",props:{passesPlays:{type:Array,default:()=>[]},playIndexes:{type:Object,default:()=>{}}},setup(e){const n=e,r=new Set([2,20,308,310]),I=[[0,"rgb(12,31,82)"],[.2,"rgb(115,248,253)"],[.4,"rgb(117,251,98)"],[.6,"rgb(255,255,84)"],[.8,"rgb(242,168,59)"],[1,"rgb(234,55,36)"]];let F=null;const h=t.ref(null),m=t.ref(null),a=t.ref(0),v=t.ref(null);t.watch(()=>n.passesPlays,p=>{const f=p.reduce((y,w)=>(r.has(w[n.playIndexes.categoryId])&&y.push({x1:w[n.playIndexes.coordinate1X],y1:w[n.playIndexes.coordinate1Y],x2:w[n.playIndexes.coordinate2X],y2:w[n.playIndexes.coordinate2Y],x3:w[n.playIndexes.coordinate3X],y3:w[n.playIndexes.coordinate3Y]}),y),[]);u(f)}),t.watch(()=>a.value,(p,f)=>{v.value&&(o(p),m.value.style.height=`${l(p)}px`,v.value.style.top=`${d(l(p))}px`)});function g(){F=new ResizeObserver(p=>{for(const f of p)a.value=f.contentRect.width}),F.observe(h.value)}function i(p){return Array.from({length:p},()=>0)}function _(p,f){let y=.01351,w=.02439,x=0,M=0,k=[];const C=f.length,T=Math.floor(C/10);for(;x<74;)M=f.filter(A=>1-A.y3>=x*y&&1-A.y3<=(x+1)*y&&1-A.x3>=p*w&&1-A.x3<=(p+1)*w).map(A=>A.y3).length,k.push(parseFloat((M/T).toFixed(4))),x++;return k.reverse()}function b(p){let f=[i(74),i(74)],y=[],w=39;for(;w>0&&w<=39;)y=_(w,p),f.push(y),w--;return f.push(i(74),i(74)),f}function c(p,f,y){const w=[];let k=0,C=0;w.push(p[0]);for(let T=1;T<y-1;T++){const A=[];A.push(p[T][0]);for(let E=1;E<f-1;E++)k=p[T][E-1],C=p[T][E+1],A.push(k+.5*(p[T][E]+C-k));A.push(p[T][f-1]),w.push(A)}w.push(p[y-1]);for(let T=1;T<f-1;T++)for(let A=1;A<y-1;A++)k=w[A-1][T],C=w[A+1][T],w[A][T]=k+.5*(w[A][T]+C-k);return w}function s(p){let f=0,y=0;for(let w=0;w<p.length;w++){y=y+p[w].reduce(function(M,k){return M+k});const x=Math.max.apply(null,p[w]);x>f&&(f=x)}return f}function o(p){qW.relayout(h.value,{width:p,height:l(p)})}function l(p){return Math.round(XW/ONt*p,0)}function d(p){return ZW+(p-JW)/(XW-JW)*(LNt-ZW)}function u(p){let f=b(p),y=f.length,w=f[0].length;f=c(c(f,w,y),w,y),w=f[0].length,y=f.length;const x=s(f),M=[{z:f,type:"surface",connectgaps:!0,opacity:.25,colorscale:I,autoscale:!1,showscale:!1}],k=[0,w],C=[0,y],T=[0,x*5],A={scene:{xaxis:{title:"",showgrid:!1,showline:!1,zeroline:!1,showticklabels:!1,showbackground:!1,backgroundcolor:"transparent",range:k},yaxis:{title:"",showgrid:!1,showline:!1,zeroline:!1,showticklabels:!1,showbackground:!1,backgroundcolor:"transparent",range:C},zaxis:{title:"",showgrid:!1,showline:!1,zeroline:!1,showticklabels:!1,showbackground:!1,backgroundcolor:"transparent",range:T},aspectratio:{x:1,y:.419,z:1},camera:{eye:{x:-.006743829259037479,y:.33535167247712533,z:-.0014332540873207011},center:{x:-.00679220694254041,y:.10728256468650094,z:-.30848979628595363}}},showlegend:!1,width:a.value,height:l(a.value),paper_bgcolor:"rgba(0,0,0,0)",margin:{l:0,r:0,b:0,t:0}};m.value&&(m.value.style.height=`${l(a.value)}px`);const E=[];for(let B=0;B<w;B++){const S=[],L=[],N=[];for(let O=0;O<y;O++)S.push(B),L.push(O),N.push(M[0].z[O][B]);E.push({x:S,y:L,z:N,type:"scatter3d",mode:"lines",line:{cmin:-.1,cmax:x,width:YW,color:N,colorscale:I,shape:"spline",smoothing:.6,dash:"dotline"}})}for(let B=0;B<y;B++){const S=[],L=[],N=[];for(let O=0;O<w;O++)S.push(O),L.push(B),N.push(M[0].z[B][O]);E.push({x:S,y:L,z:N,type:"scatter3d",mode:"lines",line:{cmin:-.1,cmax:x,width:YW,color:N,colorscale:I,shape:"spline",smoothing:.6,dash:"dotline"}})}qW.newPlot("surface-plot",M.concat(E),A,{displayModeBar:!1},{responsive:!0}),v.value=document.getElementsByClassName("plot-container")[0],v.value&&(v.value.style.top=`${d(l(a.value))}px`)}return t.onMounted(()=>{h.value&&(h.value.style.pointerEvents="none"),g()}),(p,f)=>(t.openBlock(),t.createElementBlock("div",PNt,[t.createElementVNode("div",{ref_key:"volumetricField",ref:m,class:"card-volumetric-field__volumetric-field"},[t.createElementVNode("div",{ref_key:"surfacePlot",ref:h,id:"surface-plot"},null,512)],512)],512))}},[["__scopeId","data-v-46439c02"]]),P0a="",KW=e=>(t.pushScopeId("data-v-885deed1"),e=e(),t.popScopeId(),e),DNt=KW(()=>t.createElementVNode("div",{class:"attack-direction__line"},null,-1)),zNt=KW(()=>t.createElementVNode("div",{class:"attack-direction__text"},"Ataca",-1)),VNt=Hr({__name:"AttackDirection",props:{team:{type:Object,required:!0}},setup(e){const n=e,r=t.computed(()=>({"--flex-direction-info":n.team.isHomeTeam?"flex":"row-reverse","--justify-content-info":n.team.isHomeTeam?"flex-start":"flex-end","--arrow-color":n.team.isHomeTeam?"#336dff":"#7ed321"}));return(I,F)=>(t.openBlock(),t.createElementBlock("div",{class:"attack-direction",style:t.normalizeStyle(r.value)},[DNt,t.createElementVNode("div",{class:t.normalizeClass(`attack-direction__triangle-${e.team.isHomeTeam?"right":"left"}`)},null,2),zNt],4))}},[["__scopeId","data-v-885deed1"]]),RNt=["playId","gameId","teamId","playerId","momentOfPlay","categoryId","categoryType","matchLapse","section","matchResult","playingAs","total","coordinate1X","coordinate1Y","coordinate2X","coordinate2Y","coordinate3X","coordinate3Y","xGi","xGf","distance","fieldArea"];let sT=null;function $Nt(){return sT||(sT=Y0(RNt)),sT}const L0a="",jNt=e=>(t.pushScopeId("data-v-734b6082"),e=e(),t.popScopeId(),e),UNt={class:"volumetric-section-container"},GNt=jNt(()=>t.createElementVNode("div",{class:"volumetric-section-container__title"},"Volumétrica",-1)),HNt={key:0,class:"volumetric-section-container__switch"},WNt={class:"volumetric-section-container__attack-direction"},qNt={class:"volumetric-section-container__field"},YNt=Hr({__name:"VolumetricSectionContainer",props:{game:{type:Object,default:()=>({})},seasonSelected:{type:Object,default:()=>({})},token:{type:String,default:""},isGamePreMatch:{type:Boolean,default:!1},teamSelectedPreMatch:{type:Object,default:()=>({})},volumetricFieldIntervalMinutes:{type:Number,default:2}},setup(e){const n=e,r=$Nt(),I=new Set([2,20,308,310]),F=new Set([3,21,309]),h=new Set([...I,...F]);let m=null;const a=t.ref(0),v=t.ref(new Map),g=t.ref({teamId:0}),i=t.computed(()=>[{teamId:n.game.homeTeam.team_id,text:n.game.homeTeam.colloquial_name,img:n.game.homeTeam.logo,isHomeTeam:!0},{teamId:n.game.awayTeam.team_id,text:n.game.awayTeam.colloquial_name,img:n.game.awayTeam.logo,isHomeTeam:!1}]),_=t.computed(()=>v.value.get(n.isGamePreMatch?n.teamSelectedPreMatch.teamId:g.value.teamId)||[]);t.watch(()=>i.value,()=>{a.value=0,g.value=i.value[a.value]},{immediate:!0}),t.watch(()=>n.game.gameId,p=>{p&&(u(),c(n.game.is_live&&n.game.game_status===4))},{immediate:!0});function b(){m=setInterval(()=>{c()},1e3*60*n.volumetricFieldIntervalMinutes)}async function c(p=!0){try{const f=await o();v.value.set(n.game.homeTeam.team_id,f.homeTeam),v.value.set(n.game.awayTeam.team_id,f.awayTeam),p&&b()}catch(f){throw new Error(f)}}function s(p){return n.game.game_status===4&&!n.game.is_live?p[r.gameId]!==n.game.gameId:p[r.gameId]===n.game.gameId}async function o(){try{let p={homeTeam:[],awayTeam:[]};if(n.game.is_live||n.game.game_status===0){const f=await cl.get(`https://2uj7ojhmt5.execute-api.us-west-2.amazonaws.com/prod/V2/statisticsLive/${n.game.gameId}`),y=f.data?f.data.data||[]:[],w=new Set;y.forEach(x=>{w.add(x[r.categoryId]),x[r.teamId]===n.game.homeTeam.team_id&&h.has(x[r.categoryId])&&s(x)?(l(x),p.homeTeam.push(x)):x[r.teamId]===n.game.awayTeam.team_id&&h.has(x[r.categoryId])&&s(x)&&(x[r.coordinate1Y]=1-x[r.coordinate1Y],x[r.coordinate2Y]=1-x[r.coordinate2Y],x[r.coordinate3Y]=1-x[r.coordinate3Y],x[r.coordinate1X]=1-x[r.coordinate1X],x[r.coordinate2X]=1-x[r.coordinate2X],x[r.coordinate3X]=1-x[r.coordinate3X],l(x),p.awayTeam.push(x))})}else{const[f,y]=await Promise.all([cl.get(`https://golstats-microservices.s3-us-west-2.amazonaws.com/statsTeamBySeason-${n.game.seasonId}-${n.game.homeTeam.team_id}.json`,{headers:{Authorization:""}}),cl.get(`https://golstats-microservices.s3-us-west-2.amazonaws.com/statsTeamBySeason-${n.game.seasonId}-${n.game.awayTeam.team_id}.json`,{headers:{Authorization:""}})]);p={homeTeam:f.data.data.posession.filter(w=>w[r.teamId]===n.game.homeTeam.team_id&&h.has(w[r.categoryId])&&s(w)),awayTeam:y.data.data.posession.filter(w=>w[r.teamId]===n.game.awayTeam.team_id&&h.has(w[r.categoryId])&&s(w)?(w[r.coordinate1Y]=1-w[r.coordinate1Y],w[r.coordinate2Y]=1-w[r.coordinate2Y],w[r.coordinate3Y]=1-w[r.coordinate3Y],w[r.coordinate1X]=1-w[r.coordinate1X],w[r.coordinate2X]=1-w[r.coordinate2X],w[r.coordinate3X]=1-w[r.coordinate3X],!0):!1)}}return p}catch(p){throw new Error(p)}}function l(p){const f=p[r.coordinate1X],y=p[r.coordinate2X],w=p[r.coordinate3X];return p[r.coordinate1X]=p[r.coordinate1Y],p[r.coordinate2X]=p[r.coordinate2Y],p[r.coordinate3X]=p[r.coordinate3Y],p[r.coordinate1Y]=f,p[r.coordinate2Y]=y,p[r.coordinate3Y]=w,p}function d(p){a.value=p.index,g.value=p.button}function u(){m&&clearInterval(m)}return t.onUnmounted(()=>{u()}),(p,f)=>(t.openBlock(),t.createElementBlock("div",UNt,[GNt,e.isGamePreMatch?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",HNt,[t.createVNode(V4,{"selected-button-index":a.value,buttons:i.value,width:"320px","border-radius":"16px",onChange:d},null,8,["selected-button-index","buttons"])])),t.createElementVNode("div",WNt,[t.createVNode(VNt,{team:e.isGamePreMatch?e.teamSelectedPreMatch:g.value},null,8,["team"])]),t.createElementVNode("div",qNt,[t.createVNode(FNt,{"passes-plays":_.value,"play-indexes":t.unref(r)},null,8,["passes-plays","play-indexes"])])]))}},[["__scopeId","data-v-734b6082"]]),D0a="";let QW=null;const XNt={components:{GSCHighlights:Ibt,ToggleButtons:V4,VolumetricSectionContainer:YNt,DataProminentGame:Gbt,HighlightsProminentGameLive:_3t,HighlightsProminentGame:Wxt,GSCRadioToggle:pH,FieldPosesion:kxt,EventsLine:c4t,ChalkboardSectionContainer:NNt},props:{timeLiveProminentData:{type:Number,default:6e4},timeLiveHighlightsProminentAndVideo:{type:Number,default:6e4},timeLivePossesion:{type:Number,default:6e4},game:{type:Object,default:()=>({})},token:{type:String,default:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NTg2LCJuYW1lIjoiSkFTIEdvbFN0YXRzIiwidXNlcm5hbWUiOiJ5YXRlYW1lcmljYSIsImVtYWlsIjoiIiwicHJvdmlkZXJfaWQiOjEsImxvZ2luX2dvbHN0YXRzIjoxLCJpYXQiOjE2OTYzNjU1ODcsImV4cCI6MTcyNzkwMTU4N30.jynRtgtFM8sf8gtqZJ-1gHLc2Ws13TIykXcfrlOvv1g"},seasonSelected:{type:Object,default:()=>({})},isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},tournamentSelected:{type:Object,default:()=>({})},canPlayVideos:{type:Boolean,default:!1},is_captured:{type:Number,default:1},videoPrivilegesPlayingAs:{type:Set,default:()=>new Set([1,2])},playVideosPrivileges:{type:Object,default:null},volumetricFieldIntervalMinutes:{type:Number,default:2},chalkboardIntervalMinutes:{type:Number,default:2},gameEventsIntervalMinutes:{type:Number,default:1}},data(){return{widthSection:0,viewVolumtrica:!0,teamButtonSelectedIndex:0,switchTypeViewFiled:"Porcentajes",teamSelected:{teamId:0}}},computed:{toggleButtons(){return[{teamId:this.game.homeTeam.team_id,text:this.game.homeTeam.colloquial_name,img:this.game.homeTeam.logo,isHomeTeam:!0},{teamId:this.game.awayTeam.team_id,text:this.game.awayTeam.colloquial_name,img:this.game.awayTeam.logo,isHomeTeam:!1}]},isGamePreMatch(){return this.game&&this.game.game_status===4&&!this.game.is_live}},watch:{widthSection(){this.viewVolumtrica=this.widthSection>=760},toggleButtons:{handler(){this.teamButtonSelectedIndex=0,this.teamSelected=this.toggleButtons[0]},deep:!0,immediate:!0}},methods:{intervalidhighlive(e){this.$emit("intervalidhighlive",e)},intervalidpossesion(e){this.$emit("intervalidpossesion",e)},onChangeToggle(e){this.teamButtonSelectedIndex=e.index,this.teamSelected=e.button},setUpResizeObserver(){if(window.ResizeObserver)QW=new ResizeObserver(()=>{this.widthSection=this.$refs.prominent.clientWidth}),QW.observe(this.$refs.prominent);else throw new Error("Resize observer not supported!")},async ChangeRadio(e){typeof e=="string"&&(this.switchTypeViewFiled=e)},openmedia(e){this.$emit("openmedia",e)},onClickPlayEvent(e){const n={seasonId:this.seasonSelected.id,isFeaturedPlayers:!1,mainSectionType:1,playListType:1,playerIds:[],categoryIds:[e.categoryId],matchResult:[1,2,3],currentPlayIndex:0,playsIds:new Set([e.playId])};this.$emit("openmedia",n)},onOpenMediaPlayer(e){this.canPlayVideos&&this.$emit("open-media-player",e)}},async mounted(){setTimeout(()=>{this.setUpResizeObserver()},1e3)}},Sp=e=>(t.pushScopeId("data-v-910718b2"),e=e(),t.popScopeId(),e),JNt={class:"container-prominent",ref:"prominent"},ZNt={class:"container-prominent-data"},KNt={class:"container-prominent-section"},QNt={class:"highlights-containers"},eBt=Sp(()=>t.createElementVNode("div",{class:"fields-section-title"},"Posesión",-1)),tBt={key:0,class:"container-leyend-prematch"},aBt=Sp(()=>t.createElementVNode("span",{class:"leyend-bold"},"IMPORTANTE:",-1)),nBt={key:1,class:"container-leyend-prematch-movil"},rBt=Sp(()=>t.createElementVNode("span",{class:"leyend-bold"},"IMPORTANTE:",-1)),iBt=Sp(()=>t.createElementVNode("br",null,null,-1)),oBt=Sp(()=>t.createElementVNode("br",null,null,-1)),sBt={key:2,class:"container-leyend-prematch-movil"},lBt=Sp(()=>t.createElementVNode("span",{class:"leyend-bold"},"IMPORTANTE:",-1)),cBt=Sp(()=>t.createElementVNode("br",null,null,-1)),dBt=Sp(()=>t.createElementVNode("br",null,null,-1)),uBt={class:"container-switch-toggle"},hBt={class:"container-prominent-section__chalkboard"},pBt=Sp(()=>t.createElementVNode("div",{class:"fields-section-title"},"Pizarra",-1));function fBt(e,n,r,I,F,h){const m=t.resolveComponent("DataProminentGame"),a=t.resolveComponent("HighlightsProminentGameLive"),v=t.resolveComponent("HighlightsProminentGame"),g=t.resolveComponent("GSCHighlights"),i=t.resolveComponent("EventsLine"),_=t.resolveComponent("ToggleButtons"),b=t.resolveComponent("GSCRadioToggle"),c=t.resolveComponent("FieldPosesion"),s=t.resolveComponent("VolumetricSectionContainer"),o=t.resolveComponent("ChalkboardSectionContainer");return t.openBlock(),t.createElementBlock("div",JNt,[t.createElementVNode("div",ZNt,[t.createVNode(m,{"is-widget":r.isWidget,"team-widget":r.teamWidget,"time-live-prominent-data":r.timeLiveProminentData,game:r.game,"can-play-videos":r.canPlayVideos,onOpenmedia:h.openmedia},null,8,["is-widget","team-widget","time-live-prominent-data","game","can-play-videos","onOpenmedia"])]),t.createElementVNode("div",KNt,[t.createElementVNode("div",QNt,[(r.game.is_live==1||r.game.game_status==0)&&r.canPlayVideos?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[r.game.is_live==1||r.game.game_status==0?(t.openBlock(),t.createBlock(a,{key:0,"time-live-highlights-prominent-and-video":r.timeLiveHighlightsProminentAndVideo,"can-play-videos":r.canPlayVideos,game:r.game,onIntervalidhighlive:h.intervalidhighlive,onOpenmedia:h.openmedia},null,8,["time-live-highlights-prominent-and-video","can-play-videos","game","onIntervalidhighlive","onOpenmedia"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[r.game.status==1&&r.canPlayVideos?(t.openBlock(),t.createBlock(v,{key:0,"can-play-videos":r.canPlayVideos,game:r.game,onOpenmedia:h.openmedia},null,8,["can-play-videos","game","onOpenmedia"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[r.canPlayVideos?(t.openBlock(),t.createBlock(g,{key:0,data:{game:r.game.gameId,season:r.game.seasonId,type:"historic"},"can-play-videos":r.canPlayVideos,"video-privileges-playing-as":r.videoPrivilegesPlayingAs,onOpenmedia:h.openmedia},null,8,["data","can-play-videos","video-privileges-playing-as","onOpenmedia"])):t.createCommentVNode("",!0)],64))],64))]),h.isGamePreMatch?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(F.widthSection>920?"container-prominent-section__events-line":"container-prominent-section__events-line-mobile")},[t.createVNode(i,{token:r.token,game:r.game,widthScreen:F.widthSection,"can-play-videos":r.canPlayVideos,"game-events-interval-minutes":r.gameEventsIntervalMinutes,onPlayVideo:h.onClickPlayEvent},null,8,["token","game","widthScreen","can-play-videos","game-events-interval-minutes","onPlayVideo"])],2)),t.createElementVNode("div",{class:t.normalizeClass(F.widthSection>760?"fields-section-container":"fields-section-container-movil")},[eBt,r.game.game_status==4&&r.game.is_live!=1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[F.widthSection>590?(t.openBlock(),t.createElementBlock("div",tBt,[aBt,t.createTextVNode("  Es en base a las estadisticas de los partidos ya jugados en el torneo. ")])):t.createCommentVNode("",!0),F.widthSection>340&&F.widthSection<=590?(t.openBlock(),t.createElementBlock("div",nBt,[rBt,t.createTextVNode("  "),iBt,t.createTextVNode("Es en base a las estadisticas de los partidos ya "),oBt,t.createTextVNode(" jugados en el torneo. ")])):t.createCommentVNode("",!0),F.widthSection<=340?(t.openBlock(),t.createElementBlock("div",sBt,[lBt,t.createTextVNode("  "),cBt,t.createTextVNode("Es en base a las estadisticas de los "),dBt,t.createTextVNode("partidos ya jugados en el torneo. ")])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(F.widthSection>420?"container-switch-prematch-teams":"container-switch-prematch-teams-movil")},[t.createVNode(_,{"selected-button-index":F.teamButtonSelectedIndex,buttons:h.toggleButtons,width:"320px","border-radius":"16px",onChange:h.onChangeToggle},null,8,["selected-button-index","buttons","onChange"])],2)],64)):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",uBt,[t.createVNode(b,{height:"20px",width:"41px","background-color":"none","width-circle":"15px","height-circle":"15px","circle-color-switch":"#CBEE6B","font-color":"#ffffff","value-default":"Porcentajes",textOptionLeft:"Porcentajes",textOptionRight:"Volumétrico",onChange:h.ChangeRadio},null,8,["onChange"])],512),[[t.vShow,F.widthSection<=760]]),t.createElementVNode("div",{class:t.normalizeClass(F.widthSection>760?"fields-container":"fields-container-movil")},[t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(F.widthSection>760?"field-possesion-container":"field-possesion-container-movil")},[t.createVNode(c,{"width-Section":F.widthSection,game:r.game,"time-live-possesion":r.timeLivePossesion,onIntervalidpossesion:h.intervalidpossesion,"team-selected":F.teamSelected.teamId==0?h.toggleButtons[0]:F.teamSelected},null,8,["width-Section","game","time-live-possesion","onIntervalidpossesion","team-selected"])],2),[[t.vShow,F.switchTypeViewFiled=="Porcentajes"||F.widthSection>760]]),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(F.widthSection>760?"field-volumetrica-container":"field-volumetrica-container-movil")},[t.createVNode(s,{game:r.game,"season-selected":r.seasonSelected,token:r.token,"is-game-pre-match":h.isGamePreMatch,"team-selected-pre-match":F.teamSelected,"volumetric-field-interval-minutes":r.volumetricFieldIntervalMinutes},null,8,["game","season-selected","token","is-game-pre-match","team-selected-pre-match","volumetric-field-interval-minutes"])],2),[[t.vShow,F.viewVolumtrica&&F.widthSection>760||F.switchTypeViewFiled=="Volumétrico"]])],2),t.createCommentVNode("",!0)],2),t.createElementVNode("div",hBt,[pBt,t.createVNode(o,{"is-female":r.tournamentSelected.is_female==1,game:r.game,"season-selected":r.seasonSelected,"tournament-selected":r.tournamentSelected,token:r.token,"width-section":F.widthSection,"can-play-videos":r.canPlayVideos,"is-game-pre-match":h.isGamePreMatch,"play-videos-privileges":r.playVideosPrivileges,"volumetric-field-interval-minutes":r.volumetricFieldIntervalMinutes,"chalkboard-interval-minutes":r.chalkboardIntervalMinutes,"game-events-interval-minutes":r.gameEventsIntervalMinutes,onOpenMediaPlayer:h.onOpenMediaPlayer},null,8,["is-female","game","season-selected","tournament-selected","token","width-section","can-play-videos","is-game-pre-match","play-videos-privileges","volumetric-field-interval-minutes","chalkboard-interval-minutes","game-events-interval-minutes","onOpenMediaPlayer"])])])],512)}const mBt=Hr(XNt,[["render",fBt],["__scopeId","data-v-910718b2"]]),z0a="",gBt={class:"datagame-container"},yBt=Hr({__name:"GSCProminentMain",props:{timeLiveProminentData:{type:Number,default:6e4},timeLiveHighlightsProminentAndVideo:{type:Number,default:6e4},timeLivePossesion:{type:Number,default:6e4},game:{type:Object,default:()=>({})},seasonSelected:{type:Object,default:()=>({})},tournamentSelected:{type:Object,default:()=>({})},isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},canPlayVideos:{type:Boolean,default:!1},is_captured:{type:Number,default:1},videoPrivilegesPlayingAs:{type:Set,default:()=>new Set([1,2])},playVideosPrivileges:{type:Object,default:null},volumetricFieldIntervalMinutes:{type:Number,default:2},chalkboardIntervalMinutes:{type:Number,default:2},gameEventsIntervalMinutes:{type:Number,default:1}},emits:["click-play-event","openmedia","intervalidpossesion","intervalidhighlive"],setup(e,{emit:n}){function r(m){n("intervalidhighlive",m)}function I(m){n("intervalidpossesion",m)}function F(m){n("openmedia",m)}function h(m){n("openmedia",m)}return(m,a)=>(t.openBlock(),t.createElementBlock("div",gBt,[t.createVNode(mBt,{game:e.game,is_captured:e.is_captured,"is-widget":e.isWidget,"team-widget":e.teamWidget,"time-live-prominent-data":e.timeLiveProminentData,"time-live-highlights-prominent-and-video":e.timeLiveHighlightsProminentAndVideo,"time-live-possesion":e.timeLivePossesion,"season-selected":e.seasonSelected,"tournament-selected":e.tournamentSelected,"can-play-videos":e.canPlayVideos,"video-privileges-playing-as":e.videoPrivilegesPlayingAs,"play-videos-privileges":e.playVideosPrivileges,"volumetric-field-interval-minutes":e.volumetricFieldIntervalMinutes,"chalkboard-interval-minutes":e.chalkboardIntervalMinutes,"game-events-interval-minutes":e.gameEventsIntervalMinutes,onIntervalidpossesion:I,onIntervalidhighlive:r,onOpenmedia:F,onOpenMediaPlayer:h},null,8,["game","is_captured","is-widget","team-widget","time-live-prominent-data","time-live-highlights-prominent-and-video","time-live-possesion","season-selected","tournament-selected","can-play-videos","video-privileges-playing-as","play-videos-privileges","volumetric-field-interval-minutes","chalkboard-interval-minutes","game-events-interval-minutes"])]))}},[["__scopeId","data-v-a8ac4916"]]),vBt={class:"datagame-container"},_Bt={__name:"GSCDatosGSMainAvanced",props:{isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},game:{type:Object,default:()=>({gameId:79623,seasonId:1772,status:1,dateTimeUTC:"2023-10-01T22:20:00Z",homeTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/18.png",team_id:10,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/18.png",colloquial_name:"Toluca",acronym:"TOL",team_name:"Toluca"},awayTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/1.png",team_id:1,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/1.png",colloquial_name:"Chivas",acronym:"CHI",team_name:"Guadalajara"}})},tournamentSelected:{type:Object,default:()=>({})},playVideosPrivileges:{type:Object,default:null}},emits:["openmedia","intervalidgs"],setup(e,{emit:n}){const r=e,I=t.ref(0);t.watch(()=>r.game,m=>{I.value=m.gameId},{deep:!0,immediate:!0});function F(m){n("openmedia",m)}function h(m){n("intervalidgs",m)}return(m,a)=>(t.openBlock(),t.createElementBlock("div",vBt,[e.game.is_live==1||e.game.game_status==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(oy),{key:I.value,type:3,"is-widget":e.isWidget,"team-widget":e.teamWidget,data:{season:e.game.seasonId,game:e.game.gameId,game_status:e.game.game_status,home_team_id:e.game.homeTeam.team_id,away_team_id:e.game.awayTeam.team_id,team_view:2},"tournament-selected":e.tournamentSelected,onIntervalidgs:h,"play-videos-privileges":e.playVideosPrivileges,onOpenmedia:F},null,8,["is-widget","team-widget","data","tournament-selected","play-videos-privileges"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.game.game_status==4?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(oy),{key:I.value,type:0,"is-widget":e.isWidget,"team-widget":e.teamWidget,data:{season:e.game.seasonId,game:e.game.gameId,game_status:e.game.game_status,home_team_id:e.game.homeTeam.team_id,away_team_id:e.game.awayTeam.team_id,team_view:1},"tournament-selected":e.tournamentSelected,"play-videos-privileges":e.playVideosPrivileges,onOpenmedia:F},null,8,["is-widget","team-widget","data","tournament-selected","play-videos-privileges"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(oy),{key:I.value,type:1,"is-widget":e.isWidget,"team-widget":e.teamWidget,data:{season:e.game.seasonId,game:e.game.gameId,game_status:e.game.game_status,home_team_id:e.game.homeTeam.team_id,away_team_id:e.game.awayTeam.team_id,team_view:2},"tournament-selected":e.tournamentSelected,"play-videos-privileges":e.playVideosPrivileges,onOpenmedia:F},null,8,["is-widget","team-widget","data","tournament-selected","play-videos-privileges"])):t.createCommentVNode("",!0)],64))],64))]))}},bBt={computed:{sizeTabsFontMP(){const e=this.elementSize.width;return e<=380?"12px":e<=768?"14px":"16px"},sizeTabsFontMS(){const e=this.elementSize.width;return e<=600?"12px":e<=768?"13px":"14px"},sizeTabsMS(){const e=this.elementSize.width;return e<=480?"145px":e<=600?"153px":e<=620?"163px":e<=640?"170px":e<=660?"175px":e<=680?"180px":e<=700?"185px":e<=720?"195px":"200px"},sizeTabsMP(){const e=this.elementSize.width;return e<=319?"68px":e<=330?"73px":e<=340?"78px":e<=350?"82px":e<=360||e<=370?"90px":e<=390?"95px":e<=410?"105px":e<=430?"110px":e<=450?"117px":e<=470?"122px":e<=500?"130px":e<=530?"138px":e<=560?"155px":e<=590?"163px":e<=620?"175px":e<=650?"180px":e<=680?"195px":e<=730?"210px":e<=768?"100px":"110px"},comextleyemdmultipleleaguesClass(){return this.elementSize.width<=380?this.$style.comtextleyemdmultipleleagues380:this.$style.comtextleyemdmultipleleagues},comdropdownParentClass(){return this.elementSize.width<=730?this.$style.comdropdownParent730:this.$style.comdropdownParent},comdescubreVideosClass(){const e=this.elementSize.width;return e<=960?this.$style.comdescubreVideos960:e<=1232?this.$style.comdescubreVideos1232:this.$style.comdescubreVideos},comquitarFiltrosClass(){const e=this.elementSize.width;return e<=380?this.$style.comquitarFiltros380:e<=480?this.$style.comquitarFiltros480:e<=730?this.$style.comquitarFiltros730:this.$style.comquitarFiltros},commejoresJugadoresClass(){const e=this.elementSize.width;return e<=480?this.$style.commejoresJugadores480:e<=730?this.$style.commejoresJugadores730:this.$style.commejoresJugadores},menuSectionClass(){return this.elementSize.width<=960?this.$style.commenuSection960:this.$style.commenuSection},topFiltersClass(){const e=this.elementSize.width;return e<=420?this.$style.comtopFilters420:e<=460?this.$style.comtopFilters460:e<=1232?this.$style.comtopFilters1232:this.$style.comtopFilters},toniKroosWrapperClass(){const e=this.elementSize.width;return e<=319?this.$style.comtoniKroosWrapper320:e<=420?this.$style.comtoniKroosWrapper420:e<=916?this.$style.comtoniKroosWrapper760:e<=975?this.$style.comtoniKroosWrapper975:e<=1079?this.$style.comtoniKroosWrapper1080:this.$style.comtoniKroosWrapper},containerTablesClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerTables320:e<=916?this.$style.comcontainerTables760:e<=1079?this.$style.comcontainerTables960:this.$style.comcontainerTables},containerTheBestClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerTheBest320:e<=960?this.$style.comcontainerTheBest960:e<=1232?this.$style.comcontainerTheBest1232:this.$style.comcontainerTheBest},menuSectionHeaderClass(){const e=this.elementSize.width;return e<=730?this.$style.commenuSectionHeader730:e<=960?this.$style.commenuSectionHeader960:e<=1232?this.$style.commenuSectionHeader1232:this.$style.commenuSectionHeader},losMejoresClass(){const e=this.elementSize.width;return e<=380?this.$style.comlosMejores380:e<=530?this.$style.comlosMejores530:e<=730?this.$style.comlosMejores730:this.$style.comlosMejores},dropdownClass(){return this.elementSize.width<=730?this.$style.comdropdown730:this.$style.comdropdown},dropdown1Class(){return this.elementSize.width<=730?this.$style.comdropdown1730:this.$style.comdropdown1},menuSectionParentHeaderClass(){const e=this.elementSize.width;return e<=430?this.$style.commenuSectionParentHeader430:e<=730?this.$style.commenuSectionParentHeader730:e<=960?this.$style.commenuSectionParentHeader960:e<=1232?this.$style.commenuSectionParentHeader1232:this.$style.commenuSectionParentHeader},templateLosMejoresClass(){const e=this.elementSize.width;return e<=319?this.$style.comtemplateLosMejores1320:e<=350?this.$style.comtemplateLosMejores1350:e<=420?this.$style.comtemplateLosMejores1420:e<=540?this.$style.comtemplateLosMejores1540:e<=960?this.$style.comtemplateLosMejores1960:e<=1232?this.$style.comtemplateLosMejores11232:this.$style.comtemplateLosMejores1},containerMenuClass(){return this.elementSize.width<=760?this.$style.comcontainerMenu760:this.$style.comcontainerMenu},titleSectionClass(){return this.elementSize.width<=540?this.$style.comtitleSection540:this.$style.comtitleSection},containerSectionClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerSection320:e<=350?this.$style.comcontainerSection350:e<=960?this.$style.comcontainerSection960:e<=1232?this.$style.comcontainerSection1232:this.$style.comcontainerSection},filtersContainerClass(){const e=this.elementSize.width;return e<=420?this.$style.comfiltersContainer420:e<=760?this.$style.comfiltersContainer760:e<=1232?this.$style.comfiltersContainer1232:this.$style.comfiltersContainer},topFiltersParentClass(){const e=this.elementSize.width;return e<=420?this.$style.comtopFiltersParent420:e<=460?this.$style.comtopFiltersParent460:e<=1232?this.$style.comtopFiltersParent1232:this.$style.comtopFiltersParent}}};function mv(e){const n=t.ref({width:0,height:0});function r(){const I=e.value.getBoundingClientRect();n.value.width=I.width,n.value.height=I.height}return t.onMounted(()=>{r(),window.addEventListener("resize",r)}),t.onUnmounted(()=>{window.removeEventListener("resize",r)}),{elementSize:n}}const xBt={containerLeftTitles:"_containerLeftTitles_zc6z8_119",containerLeftTitles420:"_containerLeftTitles420_zc6z8_135",containerLeftTitles620:"_containerLeftTitles620_zc6z8_151",containerLeftTitlesTeam:"_containerLeftTitlesTeam_zc6z8_169",containerLeftTitlesTeam1180:"_containerLeftTitlesTeam1180_zc6z8_185",containerLeftTitlesTeam1090:"_containerLeftTitlesTeam1090_zc6z8_201",containerLeftTitlesTeam960:"_containerLeftTitlesTeam960_zc6z8_217",containerLeftTitlesTeam860:"_containerLeftTitlesTeam860_zc6z8_233",containerLeftTitlesTeam768:"_containerLeftTitlesTeam768_zc6z8_249",containerLeftTitlesTeam680:"_containerLeftTitlesTeam680_zc6z8_265",containerLeftTitlesTeam620:"_containerLeftTitlesTeam620_zc6z8_281",containerLeftTitlesTeam420:"_containerLeftTitlesTeam420_zc6z8_297",headTitles:"_headTitles_zc6z8_315",headTitles960:"_headTitles960_zc6z8_345",headTitles420:"_headTitles420_zc6z8_375",headTitles540:"_headTitles540_zc6z8_415",headTitles460:"_headTitles460_zc6z8_445",headTitles620:"_headTitles620_zc6z8_475",position:"_position_zc6z8_505",position420:"_position420_zc6z8_523",player:"_player_zc6z8_529",player420:"_player420_zc6z8_551",containerRightType1:"_containerRightType1_zc6z8_559",containerRightTitles:"_containerRightTitles_zc6z8_573",containerRightTitles960:"_containerRightTitles960_zc6z8_591",block02Titles:"_block02Titles_zc6z8_609",block02Titles620:"_block02Titles620_zc6z8_625",mon1Scouting:"_mon1Scouting_zc6z8_633",mon1Scouting960:"_mon1Scouting960_zc6z8_653",mon1:"_mon1_zc6z8_633",mon1420:"_mon1420_zc6z8_689",mon1620:"_mon1620_zc6z8_709",icnIcon:"_icnIcon_zc6z8_729",icnIcon960:"_icnIcon960_zc6z8_739",icnIcon420:"_icnIcon420_zc6z8_751",teamTitle:"_teamTitle_zc6z8_759",positionTitle:"_positionTitle_zc6z8_779",ageTitle:"_ageTitle_zc6z8_795",partidos:"_partidos_zc6z8_811",playedGamesTitle:"_playedGamesTitle_zc6z8_819",playedMinutesTitle:"_playedMinutesTitle_zc6z8_839",block01Titles:"_block01Titles_zc6z8_857",mon:"_mon_zc6z8_633",containesOptionsTitles:"_containesOptionsTitles_zc6z8_889",templateTablaProductividadType1:"_templateTablaProductividadType1_zc6z8_903",templateTablaProductividadType1400:"_templateTablaProductividadType1400_zc6z8_927",headTitlesType1:"_headTitlesType1_zc6z8_955",headTitlesType1420:"_headTitlesType1420_zc6z8_981",headTitlesType1400:"_headTitlesType1400_zc6z8_1013",headTitlesType1540:"_headTitlesType1540_zc6z8_1045",headTitlesType1460:"_headTitlesType1460_zc6z8_1073",headTitlesType1680:"_headTitlesType1680_zc6z8_1101",headTitlesType1350:"_headTitlesType1350_zc6z8_1127",positionType1:"_positionType1_zc6z8_1157",positionType1400:"_positionType1400_zc6z8_1175",teamType1:"_teamType1_zc6z8_1195",teamType1400:"_teamType1400_zc6z8_1213",frecuenciaType1:"_frecuenciaType1_zc6z8_1233",frecuenciaType1540:"_frecuenciaType1540_zc6z8_1249",containerLeftTitlesType1:"_containerLeftTitlesType1_zc6z8_1267",frecuenciaWrapperType1:"_frecuenciaWrapperType1_zc6z8_1283",frecuenciaWrapperType1680:"_frecuenciaWrapperType1680_zc6z8_1301",promedioPartidoType1:"_promedioPartidoType1_zc6z8_1317",promedioEstePartidoType1:"_promedioEstePartidoType1_zc6z8_1325",promedioEstePartidoType1960:"_promedioEstePartidoType1960_zc6z8_1341",promedioEstePartidoWrapperType1:"_promedioEstePartidoWrapperType1_zc6z8_1349",promedioEstePartidoWrapperType11200:"_promedioEstePartidoWrapperType11200_zc6z8_1365",promedioEstePartidoWrapperType11090:"_promedioEstePartidoWrapperType11090_zc6z8_1383",promedioEstePartidoWrapperType11086:"_promedioEstePartidoWrapperType11086_zc6z8_1403",promedioPartidosType1:"_promedioPartidosType1_zc6z8_1421",promedioPartidosWrapperType1:"_promedioPartidosWrapperType1_zc6z8_1435",promedioPartidosWrapperType1960:"_promedioPartidosWrapperType1960_zc6z8_1451",promedioPartidosWrapperType11086:"_promedioPartidosWrapperType11086_zc6z8_1457",partidosJugadosType1:"_partidosJugadosType1_zc6z8_1463",partidosJugadosType1960:"_partidosJugadosType1960_zc6z8_1475",partidosJugadosWrapperType1:"_partidosJugadosWrapperType1_zc6z8_1489",partidosJugadosWrapperType11200:"_partidosJugadosWrapperType11200_zc6z8_1505",partidosJugadosWrapperType11180:"_partidosJugadosWrapperType11180_zc6z8_1521",partidosJugadosWrapperType11170:"_partidosJugadosWrapperType11170_zc6z8_1537",partidosJugadosWrapperType11140:"_partidosJugadosWrapperType11140_zc6z8_1553",partidosJugadosWrapperType11086:"_partidosJugadosWrapperType11086_zc6z8_1569",partidosJugadosWrapperType1960:"_partidosJugadosWrapperType1960_zc6z8_1585",partidosJugadosWrapperType1880:"_partidosJugadosWrapperType1880_zc6z8_1601",partidosJugadosWrapperType1860:"_partidosJugadosWrapperType1860_zc6z8_1617",partidosJugadosWrapperType1830:"_partidosJugadosWrapperType1830_zc6z8_1633",partidosJugadosWrapperType1790:"_partidosJugadosWrapperType1790_zc6z8_1649",partidosJugadosWrapperType1930:"_partidosJugadosWrapperType1930_zc6z8_1665",partidosJugadosWrapperType1770:"_partidosJugadosWrapperType1770_zc6z8_1681",block01TitlesType1:"_block01TitlesType1_zc6z8_1687",monType1:"_monType1_zc6z8_1703",monType1960:"_monType1960_zc6z8_1721",monType1680:"_monType1680_zc6z8_1741",videosType1:"_videosType1_zc6z8_1747",videosType1680:"_videosType1680_zc6z8_1767",videosType1600:"_videosType1600_zc6z8_1785",videosType1540:"_videosType1540_zc6z8_1803",videosType1420:"_videosType1420_zc6z8_1821",videosType1400:"_videosType1400_zc6z8_1839",containesOptionsTitlesType1:"_containesOptionsTitlesType1_zc6z8_1863",containesOptionsTitlesType1768:"_containesOptionsTitlesType1768_zc6z8_1879",containesOptionsTitlesType1730:"_containesOptionsTitlesType1730_zc6z8_1893",containesOptionsTitlesType1690:"_containesOptionsTitlesType1690_zc6z8_1907",icnIconType1:"_icnIconType1_zc6z8_1921",icnIconType1420:"_icnIconType1420_zc6z8_1933",icnIconType1400:"_icnIconType1400_zc6z8_1947",block02TitlesType1:"_block02TitlesType1_zc6z8_1955",block02TitlesType1680:"_block02TitlesType1680_zc6z8_1969",block02TitlesType1350:"_block02TitlesType1350_zc6z8_1983",containerRightTitlesType1:"_containerRightTitlesType1_zc6z8_1997",containerRightTitlesType1420:"_containerRightTitlesType1420_zc6z8_2015"},lT={components:{},computed:{icnIconType1Class(){const e=this.elementSize.width;return e<=400?this.$style.icnIconType1400:e<=420?this.$style.icnIconType1420:this.$style.icnIconType1},videosType1Class(){const e=this.elementSize.width;return e<=400?this.$style.videosType1400:e<=420?this.$style.videosType1420:e<=540?this.$style.videosType1540:e<=600?this.$style.videosType1600:e<=680?this.$style.videosType1680:this.$style.videosType1},monType1Class(){const e=this.elementSize.width;return e<=680?this.$style.monType1680:e<=960?this.$style.monType1960:this.$style.monType1},block02TitlesType1Class(){const e=this.elementSize.width;return e<=350?this.$style.block02TitlesType1350:e<=680?this.$style.block02TitlesType1680:this.$style.block02TitlesType1},containesOptionsTitlesType1Class(){const e=this.elementSize.width;return e<=400?this.$style.containesOptionsTitlesType1400:e<=690?this.$style.containesOptionsTitlesType1690:e<=730?this.$style.containesOptionsTitlesType1730:e<=768?this.$style.containesOptionsTitlesType1768:this.$style.containesOptionsTitlesType1},partidosJugadosWrapperType1Class(){const e=this.elementSize.width;return e<=770?this.$style.promedioPartidosWrapperType1770:e<=790?this.$style.partidosJugadosWrapperType1790:e<=830?this.$style.partidosJugadosWrapperType1830:e<=860?this.$style.partidosJugadosWrapperType1860:e<=880?this.$style.partidosJugadosWrapperType1880:e<=930?this.$style.partidosJugadosWrapperType1930:e<=960?this.$style.partidosJugadosWrapperType1960:e<=1086?this.$style.partidosJugadosWrapperType11086:e<=1140?this.$style.partidosJugadosWrapperType11140:e<=1170?this.$style.partidosJugadosWrapperType11170:e<=1180?this.$style.partidosJugadosWrapperType11180:e<=1200?this.$style.partidosJugadosWrapperType11200:this.$style.partidosJugadosWrapperType1},promedioPartidosWrapperType1Class(){const e=this.elementSize.width;return e<=960?this.$style.promedioPartidosWrapperType1960:e<=1086?this.$style.promedioPartidosWrapperType11086:this.$style.promedioPartidosWrapperType1},partidosJugadosType1Class(){return this.elementSize.width<=960?this.$style.partidosJugadosType1960:this.$style.partidosJugadosType1},templateTablaProductividadType1Class(){return this.elementSize.width<=400?this.$style.templateTablaProductividadType1400:this.$style.templateTablaProductividadType1},promedioEstePartidoType1Class(){return this.elementSize.width<=960?this.$style.promedioEstePartidoType1960:this.$style.promedioEstePartidoType1},headTitlesType1Class(){const e=this.elementSize.width;return e<=350?this.$style.headTitlesType1350:e<=400?this.$style.headTitlesType1400:e<=420?this.$style.headTitlesType1420:e<=460?this.$style.headTitlesType1460:e<=540?this.$style.headTitlesType1540:e<=680?this.$style.headTitlesType1680:this.$style.headTitlesType1},headTitlesClass(){const e=this.elementSize.width;return e<=420?this.$style.headTitles420:e<=460?this.$style.headTitles460:e<=540?this.$style.headTitles540:e<=620?this.$style.headTitles620:e<=960?this.$style.headTitles960:this.$style.headTitles},containerLeftTitlesClass(){const e=this.elementSize.width;return e<=420?this.$style.containerLeftTitles420:e<=620?this.$style.containerLeftTitles620:this.$style.containerLeftTitles},containerLeftTitlesClassTeam(){const e=this.elementSize.width;return e<=420?this.$style.containerLeftTitlesTeam420:e<=620?this.$style.containerLeftTitlesTeam620:e<=680?this.$style.containerLeftTitlesTeam680:e<=768?this.$style.containerLeftTitlesTeam768:e<=860?this.$style.containerLeftTitlesTeam860:e<=960?this.$style.containerLeftTitlesTeam960:e<=1090?this.$style.containerLeftTitlesTeam1090:e<=1180?this.$style.containerLeftTitlesTeam1180:this.$style.containerLeftTitlesTeam},icnIconClass(){const e=this.elementSize.width;return e<=420?this.$style.icnIcon420:e<=960?this.$style.icnIcon960:this.$style.icnIcon},mon1Class(){const e=this.elementSize.width;return e<=420?this.$style.mon1420:e<=620?this.$style.mon1620:this.$style.mon1},mon1ScoutingClass(){const e=this.elementSize.width;return e<=420?this.$style.mon1420:e<=960?this.$style.mon1Scouting960:this.$style.mon1Scouting},promedioEstePartidoWrapperType1Class(){const e=this.elementSize.width;return e<=1086?this.$style.promedioEstePartidoWrapperType11086:e<=1090?this.$style.promedioEstePartidoWrapperType11090:e<=1200?this.$style.promedioEstePartidoWrapperType11200:this.$style.promedioEstePartidoWrapperType1},frecuenciaWrapperType1Class(){return this.elementSize.width<=680?this.$style.frecuenciaWrapperType1680:this.$style.frecuenciaWrapperType1},frecuenciaType1Class(){return this.elementSize.width<=540?this.$style.frecuenciaType1540:this.$style.frecuenciaType1},positionType1Class(){return this.elementSize.width<=400?this.$style.positionType1400:this.$style.positionType1},containerRightType1Class(){return this.elementSize.width<=420?this.$style.containerRightType1420:this.$style.containerRightType1},containerRightTitlesType1Class(){return this.elementSize.width<=420?this.$style.containerRightTitlesType1420:this.$style.containerRightTitlesType1},teamType1Class(){return this.elementSize.width<=400?this.$style.teamType1400:this.$style.teamType1},playerClass(){return this.elementSize.width<=420?this.$style.player420:this.$style.player},positionClass(){return this.elementSize.width<=420?this.$style.position420:this.$style.position},containerRightTitlesClass(){return this.elementSize.width<=960?this.$style.containerRightTitles960:this.$style.containerRightTitles},block02TitlesClass(){return this.elementSize.width<=620?this.$style.block02Titles960:this.$style.block02Titles}},setup(){const e=t.ref("myDivRef"),{elementSize:n}=mv(e);return{myDivRef:e,elementSize:n}},props:{type:{type:Number,default:0},background:{type:String,default:"#172531"},height:{type:String,default:"71px"},heightTeam:{type:String,default:"65px"},fontColor:{type:String,default:"#FFFFFF"},fontSize:{type:String,default:"12px"},fontFamily:{type:String,default:"Poppins-Regular"}},watch:{},data:()=>({}),async created(){},methods:{}},eq=()=>{t.useCssVars(e=>({"36b4a6f1":e.background,"14723c6a":e.height,"0b468773":e.fontSize,"5cab7631":e.fontColor,"3d1cee56":e.fontFamily,"421ca432":e.heightTeam}))},tq=lT.setup;lT.setup=tq?(e,n)=>(eq(),tq(e,n)):eq;const wBt={ref:"myDivRef"},kBt=t.createElementVNode("br",null,null,-1),CBt=t.createElementVNode("br",null,null,-1);function SBt(e,n,r,I,F,h){return t.openBlock(),t.createElementBlock("div",wBt,[r.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(h.headTitlesClass),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(h.containerLeftTitlesClass),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(h.positionClass)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(h.playerClass)},"Jugador",2)],2),t.createElementVNode("div",{class:t.normalizeClass(h.containerRightTitlesClass),id:"container-right-titles"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01Titles)},[I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamTitle)},"Equipo",2)):t.createCommentVNode("",!0),I.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.positionTitle)},"Posición",2)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.ageTitle)},"edad",2)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.ageTitle)},"País",2)):t.createCommentVNode("",!0),I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGamesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Partidos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),I.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Minutos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(h.block02TitlesClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsTitles)},[I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.mon)},"Total",2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(h.mon1Class)},"Videos",2)],2)],2)],2)],2)):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(h.templateTablaProductividadType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(h.headTitlesType1Class),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(h.containerLeftTitlesClassTeam),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(h.positionType1Class)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(h.teamType1Class)},"Equipo",2)],2),t.createElementVNode("div",{class:t.normalizeClass(h.containerRightType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(h.frecuenciaWrapperType1Class)},[I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(h.frecuenciaType1Class)},"Frecuencia",2)):t.createCommentVNode("",!0)],2),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(h.promedioEstePartidoWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(h.promedioEstePartidoType1Class)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},"Promedio partido",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},"este Torneo",2)],2)],2)):t.createCommentVNode("",!0),I.elementSize.width>1086?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(h.promedioPartidosWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.promedioPartidosType1)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},[t.createTextVNode("Promedio partido"),kBt,t.createTextVNode("Torneo anterior")],2)],2)],2)):t.createCommentVNode("",!0),I.elementSize.width>770?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(h.partidosJugadosWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.partidosJugadosType1)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},[t.createTextVNode("Partidos "),CBt,t.createTextVNode("Jugados")],2)],2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(h.containesOptionsTitlesType1Class)},[I.elementSize.width>680?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(h.monType1Class)},"total",2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(h.videosType1Class)},"Videos",2)],2)],2)],2)):t.createCommentVNode("",!0),r.type==2?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(h.headTitlesClass),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(h.containerLeftTitlesClass),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(h.positionClass)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(h.playerClass)},"Jugador",2)],2),t.createElementVNode("div",{class:t.normalizeClass(h.containerRightTitlesClass),id:"container-right-titles"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01Titles)},[I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamTitle)},"Equipo",2)):t.createCommentVNode("",!0),I.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.positionTitle)},"Posición",2)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.ageTitle)},"edad",2)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.ageTitle)},"País",2)):t.createCommentVNode("",!0),I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGamesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Partidos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),I.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Minutos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),I.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:6,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Liga",2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(h.block02TitlesClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsTitles)},[t.createElementVNode("div",{class:t.normalizeClass(h.mon1ScoutingClass)},"Videos",2)],2)],2)],2)],2)):t.createCommentVNode("",!0)],512)}const aq=Hr(lT,[["render",SBt],["__cssModules",{$style:xBt}]]),Uga="",cT={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:{type:String,default:"https://golstatsimages.blob.core.windows.net/images-library/arrow-btn.png"},iconPosition:{type:String,default:"left"},iconSize:String,mini:{type:Boolean,default:!1},fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},buttonMaxWidth:{type:String,default:"auto"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,maxWidth:this.buttonMaxWidth,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},nq=()=>{t.useCssVars(e=>({"124740d4":e.height,"10134ca2":e.borderWidthBtn,"3c6b92b3":e.borderType,"50129b0a":e.borderColor,"69df146a":e.borderRadius,22745479:e.width,"6940cc70":e.backgroundColor,"5644e646":e.cursorType,"3027cd46":e.fontSize,"159c0fd5":e.fontStyle,f2b4a480:e.fontFamily,cd9e6514:e.marginLeftStat,"777d9d51":e.fontSizeStat}))},rq=cT.setup;cT.setup=rq?(e,n)=>(nq(),rq(e,n)):nq;const TBt=e=>(t.pushScopeId("data-v-04a0bdbd"),e=e(),t.popScopeId(),e),EBt=["src"],ABt={key:1,class:"text"},MBt=["src"],IBt={class:"stats"},NBt=TBt(()=>t.createElementVNode("img",{class:"iconstats",src:"https://az755631.vo.msecnd.net/todoelfut/playdes.png"},null,-1)),BBt={class:"numstats"},PBt={class:"leyend"};function OBt(e,n,r,I,F,h){return t.openBlock(),t.createElementBlock("div",null,[r.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",F.status&&r.typeOnOff&&"button-active"]),style:t.normalizeStyle([h.customStyle,F.status&&r.typeOnOff&&h.customActive]),onClick:n[0]||(n[0]=(...m)=>h.btnClick&&h.btnClick(...m))},[r.icon&&r.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(r.mini?"icon-txt":"icon"),style:t.normalizeStyle({width:r.iconSize}),src:r.icon},null,14,EBt)):t.createCommentVNode("",!0),r.textValue?(t.openBlock(),t.createElementBlock("div",ABt,t.toDisplayString(r.textValue),1)):t.createCommentVNode("",!0),r.icon&&r.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:r.iconSize}),src:r.icon},null,12,MBt)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:n[1]||(n[1]=(...m)=>h.btnClick&&h.btnClick(...m))},[t.createElementVNode("div",IBt,[NBt,t.createElementVNode("div",BBt,t.toDisplayString(r.textStat),1)]),t.createElementVNode("div",PBt,t.toDisplayString(r.textCategory),1)])):t.createCommentVNode("",!0)])}const iq=Hr(cT,[["render",OBt],["__scopeId","data-v-04a0bdbd"]]),LBt={rotate:"_rotate_1cvqy_5",positionContainer:"_positionContainer_1cvqy_99",positionContainer620:"_positionContainer620_1cvqy_113",rowwPlayerGames:"_rowwPlayerGames_1cvqy_127",rowwPlayer960Games:"_rowwPlayer960Games_1cvqy_159",rowwPlayer420Games:"_rowwPlayer420Games_1cvqy_189",rowwPlayer460Games:"_rowwPlayer460Games_1cvqy_221",containerLeftGames:"_containerLeftGames_1cvqy_255",containerLeft420Games:"_containerLeft420Games_1cvqy_271",containerLeft620Games:"_containerLeft620Games_1cvqy_287",iconFavoritesType1:"_iconFavoritesType1_1cvqy_301",iconFavoritesType1320:"_iconFavoritesType1320_1cvqy_317",iconFavorites:"_iconFavorites_1cvqy_301",iconFavorites420:"_iconFavorites420_1cvqy_349",playerContainerGames:"_playerContainerGames_1cvqy_365",playerContainer420Games:"_playerContainer420Games_1cvqy_389",playerContainer460Games:"_playerContainer460Games_1cvqy_413",playerContainerType1Games:"_playerContainerType1Games_1cvqy_437",playerContainerType1320Games:"_playerContainerType1320Games_1cvqy_457",playerContainerType1460Games:"_playerContainerType1460Games_1cvqy_477",imgPlayerIcon:"_imgPlayerIcon_1cvqy_497",imgPlayerIcon460:"_imgPlayerIcon460_1cvqy_517",imgPlayerIcon420:"_imgPlayerIcon420_1cvqy_537",manchesterUnitedGames:"_manchesterUnitedGames_1cvqy_557",manchesterUnited360Games:"_manchesterUnited360Games_1cvqy_579",manchesterUnited420Games:"_manchesterUnited420Games_1cvqy_601",manchesterUnited460Games:"_manchesterUnited460Games_1cvqy_623",containerRightGames:"_containerRightGames_1cvqy_645",containerRight960Games:"_containerRight960Games_1cvqy_663",containerRight420Games:"_containerRight420Games_1cvqy_683",numberOfVideos:"_numberOfVideos_1cvqy_705",numberOfVideos620:"_numberOfVideos620_1cvqy_717",block02Games:"_block02Games_1cvqy_729",block02960Games:"_block02960Games_1cvqy_749",block02620Games:"_block02620Games_1cvqy_767",block02420Games:"_block02420Games_1cvqy_781",verVideos:"_verVideos_1cvqy_797",verVideos620:"_verVideos620_1cvqy_809",numberPosition:"_numberPosition_1cvqy_815",shapeIcon:"_shapeIcon_1cvqy_827",chivasIcon:"_chivasIcon_1cvqy_837",imgTeamIcon:"_imgTeamIcon_1cvqy_859",teamName:"_teamName_1cvqy_869",nameTeamGames:"_nameTeamGames_1cvqy_881",dfC:"_dfC_1cvqy_899",position:"_position_1cvqy_99",age:"_age_1cvqy_919",manchesterUnitedIcon:"_manchesterUnitedIcon_1cvqy_935",country:"_country_1cvqy_949",playedGames:"_playedGames_1cvqy_963",playedMinutes:"_playedMinutes_1cvqy_977",block01:"_block01_1cvqy_991",leagueName:"_leagueName_1cvqy_1005",roleCharacterIcon:"_roleCharacterIcon_1cvqy_1017",btnVideosGames:"_btnVideosGames_1cvqy_1033",containerBtnVideosGames:"_containerBtnVideosGames_1cvqy_1063",containerBtnVideos620Games:"_containerBtnVideos620Games_1cvqy_1083",containesOptions:"_containesOptions_1cvqy_1101",arrowExpandIcon:"_arrowExpandIcon_1cvqy_1115",rowTeam:"_rowTeam_1cvqy_1133",rowTeam420:"_rowTeam420_1cvqy_1169",rowTeam320:"_rowTeam320_1cvqy_1205",rowTeam460:"_rowTeam460_1cvqy_1243",rowTeam350:"_rowTeam350_1cvqy_1281",containerLeftType1:"_containerLeftType1_1cvqy_1317",containerLeftType1680:"_containerLeftType1680_1cvqy_1329",containerLeftType1320:"_containerLeftType1320_1cvqy_1343",containerLeftType1350:"_containerLeftType1350_1cvqy_1359",positionContainertype1:"_positionContainertype1_1cvqy_1373",positionContainertype1380:"_positionContainertype1380_1cvqy_1389",positionContainertype1680:"_positionContainertype1680_1cvqy_1405",positionContainertype1420:"_positionContainertype1420_1cvqy_1421",manchesterUnitedType1:"_manchesterUnitedType1_1cvqy_1437",manchesterUnitedType1460:"_manchesterUnitedType1460_1cvqy_1449",manchesterUnitedType1320:"_manchesterUnitedType1320_1cvqy_1463",containerRightType1Games:"_containerRightType1Games_1cvqy_1477",containerRightType1420Games:"_containerRightType1420Games_1cvqy_1499",containerRightType1320Games:"_containerRightType1320Games_1cvqy_1521",teamNameWrapperType1:"_teamNameWrapperType1_1cvqy_1543",teamNameWrapperType1960:"_teamNameWrapperType1960_1cvqy_1557",teamNameWrapperType11086:"_teamNameWrapperType11086_1cvqy_1571",ageWrapperType1:"_ageWrapperType1_1cvqy_1585",ageWrapperType1680:"_ageWrapperType1680_1cvqy_1599",ageWrapperType11086:"_ageWrapperType11086_1cvqy_1615",ageType1:"_ageType1_1cvqy_1631",ageType1960:"_ageType1960_1cvqy_1647",playedGamesWrapperType1:"_playedGamesWrapperType1_1cvqy_1653",playedGamesWrapperType1680:"_playedGamesWrapperType1680_1cvqy_1667",playedGamesWrapperType1960:"_playedGamesWrapperType1960_1cvqy_1673",playedGamesType1:"_playedGamesType1_1cvqy_1679",playedGamesType1540:"_playedGamesType1540_1cvqy_1693",playedGamesType1960:"_playedGamesType1960_1cvqy_1701",playedGamesType11086:"_playedGamesType11086_1cvqy_1707",playedMinutesWrapperType1:"_playedMinutesWrapperType1_1cvqy_1713",playedMinutesWrapperType11086:"_playedMinutesWrapperType11086_1cvqy_1727",playedMinutesType1:"_playedMinutesType1_1cvqy_1741",playedMinutesType1680:"_playedMinutesType1680_1cvqy_1755",block02Type1Games:"_block02Type1Games_1cvqy_1761",block02Type1680Games:"_block02Type1680Games_1cvqy_1777",block02Type1320Games:"_block02Type1320Games_1cvqy_1793",block02Type1350Games:"_block02Type1350Games_1cvqy_1811",leagueNameWrapperType1:"_leagueNameWrapperType1_1cvqy_1827",leagueNameWrapperType1680:"_leagueNameWrapperType1680_1cvqy_1843",leagueNameWrapperType1960:"_leagueNameWrapperType1960_1cvqy_1849",leagueNameType1:"_leagueNameType1_1cvqy_1865",leagueNameType1960:"_leagueNameType1960_1cvqy_1885",numberOfVideosType1:"_numberOfVideosType1_1cvqy_1905",numberOfVideosType1680:"_numberOfVideosType1680_1cvqy_1919",numberOfVideosType11232:"_numberOfVideosType11232_1cvqy_1933",vectorIconType1:"_vectorIconType1_1cvqy_1947",block01TitlesType1:"_block01TitlesType1_1cvqy_1981",numberPositionType1:"_numberPositionType1_1cvqy_1995",shapeIconType1:"_shapeIconType1_1cvqy_2007",tijuanaIconType1:"_tijuanaIconType1_1cvqy_2019",tijuanaWrapperType1:"_tijuanaWrapperType1_1cvqy_2031",tijuanaWrapperType1NoBg:"_tijuanaWrapperType1NoBg_1cvqy_2053",teamNameType1:"_teamNameType1_1cvqy_2069",roleCharacterIconType1:"_roleCharacterIconType1_1cvqy_2083",verVideosType1:"_verVideosType1_1cvqy_2097",btnVideosType1Games:"_btnVideosType1Games_1cvqy_2109",containerBtnVideosType1Games:"_containerBtnVideosType1Games_1cvqy_2139",containesOptionsType1Games:"_containesOptionsType1Games_1cvqy_2161",arrowExpandIconType1:"_arrowExpandIconType1_1cvqy_2177",templateTablaProductividadType1:"_templateTablaProductividadType1_1cvqy_2189",verVideosType11232:"_verVideosType11232_1cvqy_2213",templateTablaProductividadType1320:"_templateTablaProductividadType1320_1cvqy_2221",verVideosType1680:"_verVideosType1680_1cvqy_2229"},dT={components:{GSCButton:iq},computed:{manchesterUnitedType1Class(){const e=this.elementSize.width;return e<=320?this.$style.manchesterUnitedType1320:e<=460?this.$style.manchesterUnitedType1460:this.$style.manchesterUnitedType1},containerRightType1Class(){const e=this.elementSize.width;return e<=320?this.$style.containerRightType1320Games:e<=420?this.$style.containerRightType1420Games:this.$style.containerRightType1Games},teamNameWrapperType1Class(){const e=this.elementSize.width;return e<=960?this.$style.teamNameWrapperType1960:e<=1086?this.$style.teamNameWrapperType11086:this.$style.teamNameWrapperType1},ageWrapperType1Class(){const e=this.elementSize.width;return e<=680?this.$style.ageWrapperType1680:e<=1086?this.$style.ageWrapperType11086:this.$style.ageWrapperType1},ageType1Class(){return this.elementSize.width<=960?this.$style.ageType1960:this.$style.ageType1},playedGamesWrapperType1Class(){const e=this.elementSize.width;return e<=680?this.$style.playedGamesWrapperType1680:e<=960?this.$style.playedGamesWrapperType1960:this.$style.playedGamesWrapperType1},playedGamesType1Class(){const e=this.elementSize.width;return e<=540?this.$style.playedGamesType1540:e<=960?this.$style.playedGamesType1960:e<=1086?this.$style.playedGamesType11086:this.$style.playedGamesType1},playedMinutesWrapperType1Class(){return this.elementSize.width<=1086?this.$style.playedMinutesWrapperType11086:this.$style.playedMinutesWrapperType1},playedMinutesType1Class(){return this.elementSize.width<=680?this.$style.playedMinutesType1680:this.$style.playedMinutesType1},block02Type1Class(){const e=this.elementSize.width;return e<=320?this.$style.block02Type1320Games:e<=350?this.$style.block02Type1350Games:e<=680?this.$style.block02Type1680Games:this.$style.block02Type1Games},leagueNameWrapperType1Class(){const e=this.elementSize.width;return e<=680?this.$style.leagueNameWrapperType1680:e<=960?this.$style.leagueNameWrapperType1960:this.$style.leagueNameWrapperType1},leagueNameType1Class(){return this.elementSize.width<=960?this.$style.leagueNameType1960:this.$style.leagueNameType1},numberOfVideosType1Class(){const e=this.elementSize.width;return e<=680?this.$style.numberOfVideosType1680:e<=1232?this.$style.numberOfVideosType11232:this.$style.numberOfVideosType1},containerLeftType1Class(){const e=this.elementSize.width;return e<=320?this.$style.containerLeftType1320:e<=350?this.$style.containerLeftType1350:e<=680?this.$style.containerLeftType1680:this.$style.containerLeftType1},positionContainertype1Class(){const e=this.elementSize.width;return e<=380?this.$style.positionContainertype1380:e<=420?this.$style.positionContainertype1420:e<=680?this.$style.positionContainertype1680:this.$style.positionContainertype1},rowTeamClass(){const e=this.elementSize.width;return e<=320?this.$style.rowTeam320:e<=350?this.$style.rowTeam350:e<=420?this.$style.rowTeam420:e<=460?this.$style.rowTeam460:this.$style.rowTeam},containerBtnVideosClass(){return this.$style.containerBtnVideosGames},numberOfVideosClass(){return this.elementSize.width<=620?this.$style.numberOfVideos620:this.$style.numberOfVideos},block02Class(){const e=this.elementSize.width;return e<=420?this.$style.block02420Games:e<=620?this.$style.block02620Games:e<=960?this.$style.block02960Games:this.$style.block02Games},imgPlayerIconClass(){const e=this.elementSize.width;return e<=420?this.$style.imgPlayerIcon420:e<=460?this.$style.imgPlayerIcon460:this.$style.imgPlayerIcon},manchesterUnitedClass(){const e=this.elementSize.width;return e<=360?this.$style.manchesterUnited360Games:e<=420?this.$style.manchesterUnited420Games:e<=460?this.$style.manchesterUnited460Games:this.$style.manchesterUnitedGames},containerRightClass(){const e=this.elementSize.width;return e<=420?this.$style.containerRight420Games:e<=960?this.$style.containerRight960Games:this.$style.containerRightGames},playerContainerType1Class(){const e=this.elementSize.width;return e<=320?this.$style.playerContainerType1320Games:e<=460?this.$style.playerContainerType1460Games:this.$style.playerContainerType1Games},playerContainerClass(){const e=this.elementSize.width;return e<=420?this.$style.playerContainer420Games:e<=460?this.$style.playerContainer460Games:this.$style.playerContainerGames},iconFavoritesClass(){return this.elementSize.width<=420?this.$style.iconFavorites420:this.$style.iconFavorites},iconFavoritesType1Class(){return this.elementSize.width<=320?this.$style.iconFavoritesType1320:this.$style.iconFavoritesType1},containerLeftClass(){const e=this.elementSize.width;return e<=420?this.$style.containerLeft420Games:e<=620?this.$style.containerLeft620Games:this.$style.containerLeftGames},positionContainerClass(){return this.elementSize.width<=620?this.$style.positionContainer620:this.$style.positionContainer},rowwPlayerClass(){const e=this.elementSize.width;return e<=420?this.$style.rowwPlayer420Games:e<=460?this.$style.rowwPlayer460Games:e<=960?this.$style.rowwPlayer960Games:this.$style.rowwPlayerGames}},setup(){const e=t.ref("myDivRef2"),{elementSize:n}=mv(e);return{myDivRef2:e,elementSize:n}},props:{typeData:{type:Number,default:1},canPlayVideos:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},type:{type:Number,default:0},typeView:{type:Number,default:0},isExpanded:{type:Boolean,default:!1},background:{type:String,default:"#172531"},height:{type:String,default:"35px"},fontColor:{type:String,default:"#F4F4F4"},fontSize:{type:String,default:"12px"},fontFamily:{type:String,default:"Poppins-Regular"},data:{type:Object,default:()=>{}},game:{type:Object,default:()=>{}},colorArrow:{type:String,default:"#D9D9D9"},buttonTextValue:{type:String,default:"Ver videos"},iconVideos:{type:String,default:"https://golstatsimages.blob.core.windows.net/images-library/arrow-btn.png"},iconSize:{type:String,default:"13px"},iconSizeMini:{type:String,default:"13px"},iconPosition:{type:String,default:"left"},buttonWidth:{type:String,default:"93px"},buttonWidthMini:{type:String,default:"24px"},buttonHeightMini:{type:String,default:"24px"},buttonHeight:{type:String,default:"30px"},buttonRadius:{type:String,default:"30px"},buttonBorderWidth:{type:Number,default:1},buttonBackground:{type:String,default:"#ffffff1a"},buttonfontFamily:{type:String,default:"Poppins-Regular"},buttonBorderColor:{type:String,default:"#55636e"},buttonFontSize:{type:String,default:"10px"}},data:()=>({expand:!1}),methods:{clickExpand(e){this.$emit("expand",{expand:!this.isExpanded,id:e})},emitEventMedia(e){this.$emit("mediadata",e)}}},oq=()=>{t.useCssVars(e=>({"20b41037":e.height,"39c46784":e.background,"0e629c00":e.fontSize,"85dc1978":e.fontColor,"2cf3d8ba":e.fontFamily}))},sq=dT.setup;dT.setup=sq?(e,n)=>(oq(),sq(e,n)):oq;const FBt={ref:"myDivRef2",style:{"border-left":"rgba(13,29,41,0.7) 1px solid","border-right":"rgba(13,29,41,0.7) 1px solid"}},DBt=["src"],zBt=["src"],VBt=["src"],RBt=["src"],$Bt=["fill"],jBt=["fill"],UBt=["src"],GBt=["src"],HBt=["fill"],WBt=["fill"],qBt=["src"],YBt=["src"],XBt=["src"],JBt=["src"],ZBt=["fill"],KBt=["fill"];function QBt(e,n,r,I,F,h){const m=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",FBt,[r.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(h.rowwPlayerClass),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(h.containerLeftClass),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(h.positionContainerClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.numberPosition)},t.toDisplayString(r.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(h.playerContainerClass)},[t.createElementVNode("img",{class:t.normalizeClass(h.imgPlayerIconClass),src:r.data.player_photo},null,10,DBt),t.createElementVNode("div",{class:t.normalizeClass(h.manchesterUnitedClass)},[I.elementSize.width<=420?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(r.data.player_short),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(r.data.player_name),1)],64))],2),I.elementSize.width<=420?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.chivasIcon),alt:"",src:r.data.team_logo},null,10,zBt)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(h.containerRightClass),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01)},[I.elementSize.width>420?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.nameTeamGames)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgTeamIcon),alt:"",src:r.data.team_logo},null,10,VBt),I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamName)},t.toDisplayString(r.data.team_abrev),3)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),I.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.position)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.dfC)},t.toDisplayString(r.data.player_position),3)],2)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.age)},t.toDisplayString(r.data.player_age),3)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.country)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.manchesterUnitedIcon),alt:"",src:r.data.player_country_flag},null,10,RBt)],2)):t.createCommentVNode("",!0),I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGames)},t.toDisplayString(r.data.player_games),3)):t.createCommentVNode("",!0),I.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutes)},t.toDisplayString(r.data.player_min),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(h.block02Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptions)},[I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.leagueName)},t.toDisplayString(r.data.total),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(h.containerBtnVideosClass)},[r.canPlayVideos||r.game.awayTeam.team_id==r.teamWidget&&r.typeData!=1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[I.elementSize.width>635?(t.openBlock(),t.createBlock(m,{key:0,icon:r.iconVideos,"icon-size":r.iconSize,"icon-position":r.iconPosition,width:r.buttonWidth,height:r.buttonHeight,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"text-value":r.buttonTextValue,"font-size":r.buttonFontSize,onClick:n[0]||(n[0]=a=>h.emitEventMedia(r.data))},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"])):(t.openBlock(),t.createBlock(m,{key:1,mini:!0,icon:r.iconVideos,"icon-size":r.iconSizeMini,"icon-position":r.iconPosition,width:r.buttonWidthMini,height:r.buttonHeightMini,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"font-size":r.buttonFontSize,onClick:n[1]||(n[1]=a=>h.emitEventMedia(r.data))},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","font-size"]))],64)):t.createCommentVNode("",!0),I.elementSize.width<=635?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(h.numberOfVideosClass)},t.toDisplayString(r.data.total),3)):t.createCommentVNode("",!0)],2)],2),(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,r.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:r.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:n[2]||(n[2]=a=>h.clickExpand(r.data.id))},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:r.colorArrow},null,8,jBt)],10,$Bt))],2)],2)],2)):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(h.rowTeamClass),style:t.normalizeStyle(I.elementSize.width>540?"border-bottom: 1px solid rgba(255, 255, 255, 0.1)":""),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(h.containerLeftType1Class),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(h.positionContainertype1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.numberPositionType1)},t.toDisplayString(r.data.position),3),t.createElementVNode("div",{class:t.normalizeClass(h.iconFavoritesType1Class)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIconType1),alt:"",src:r.data.team_logo},null,10,UBt)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(h.playerContainerType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(r.typeView==0?e.$style.tijuanaWrapperType1:e.$style.tijuanaWrapperType1NoBg)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.tijuanaIconType1),alt:"",src:r.data.team_logo},null,10,GBt)],2),t.createElementVNode("div",{class:t.normalizeClass(h.manchesterUnitedType1Class)},t.toDisplayString(r.data.team_abrev),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(h.containerRightType1Class),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01TitlesType1)},[I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(h.teamNameWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamNameType1)},[t.createTextVNode(" C/"+t.toDisplayString(r.data.frequency)+" ",1),r.data.category!=2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("min")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("segs")],64))],2)],2)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(h.ageWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(h.ageType1Class)},t.toDisplayString(r.data.promthistournament),3)],2)):t.createCommentVNode("",!0),I.elementSize.width>1086?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(h.playedGamesWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(h.playedGamesType1Class)},t.toDisplayString(r.data.promlasttournament),3)],2)):t.createCommentVNode("",!0),I.elementSize.width>770?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(h.playedMinutesWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(h.playedMinutesType1Class)},t.toDisplayString(r.data.team_games),3)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(h.block02Type1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsType1Games)},[t.createElementVNode("div",{class:t.normalizeClass(h.leagueNameWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(h.leagueNameType1Class)},t.toDisplayString(r.data.total),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerBtnVideosType1Games)},[I.elementSize.width>679&&r.canPlayVideos?(t.openBlock(),t.createBlock(m,{key:0,icon:r.iconVideos,"icon-size":r.iconSize,"icon-position":r.iconPosition,width:r.buttonWidth,height:r.buttonHeight,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"text-value":r.buttonTextValue,"font-size":r.buttonFontSize,onClick:n[3]||(n[3]=a=>h.emitEventMedia(r.data))},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"])):(t.openBlock(),t.createBlock(m,{key:1,mini:!0,icon:r.iconVideos,"icon-size":r.iconSizeMini,"icon-position":r.iconPosition,width:r.buttonWidthMini,height:r.buttonHeightMini,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"font-size":r.buttonFontSize,onClick:n[4]||(n[4]=a=>h.emitEventMedia(r.data))},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","font-size"])),t.createElementVNode("div",{class:t.normalizeClass(h.numberOfVideosType1Class)},t.toDisplayString(r.data.total),3)],2)],2),(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,r.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:r.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:n[5]||(n[5]=a=>h.clickExpand(r.data.id))},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:r.colorArrow},null,8,WBt)],10,HBt))],2)],2)],6)):t.createCommentVNode("",!0),r.type==2?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(h.rowwPlayerClass),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(h.containerLeftClass),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(h.positionContainerClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.numberPosition)},t.toDisplayString(r.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(h.playerContainerClass)},[t.createElementVNode("img",{class:t.normalizeClass(h.imgPlayerIconClass),src:r.data.player_photo},null,10,qBt),t.createElementVNode("div",{class:t.normalizeClass(h.manchesterUnitedClass)},t.toDisplayString(r.data.player_name),3),I.elementSize.width<=420?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.chivasIcon),alt:"",src:r.data.team_logo},null,10,YBt)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(h.containerRightClass),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01)},[I.elementSize.width>420?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.nameTeamGames)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgTeamIcon),alt:"",src:r.data.team_logo},null,10,XBt),I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamName)},t.toDisplayString(r.data.team_abrev),3)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),I.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.position)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.dfC)},t.toDisplayString(r.data.player_position),3)],2)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.age)},t.toDisplayString(r.data.player_age),3)):t.createCommentVNode("",!0),I.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.country)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.manchesterUnitedIcon),alt:"",src:r.data.player_country_flag},null,10,JBt)],2)):t.createCommentVNode("",!0),I.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGames)},t.toDisplayString(r.data.player_games),3)):t.createCommentVNode("",!0),I.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutes)},t.toDisplayString(r.data.player_min),3)):t.createCommentVNode("",!0),I.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:6,class:t.normalizeClass(e.$style.playedMinutes)},t.toDisplayString(r.data.league_name),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(h.block02Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptions)},[t.createElementVNode("div",{class:t.normalizeClass(h.containerBtnVideosClass)},[r.canPlayVideos?(t.openBlock(),t.createBlock(m,{key:0,icon:r.iconVideos,"icon-size":r.iconSize,"icon-position":r.iconPosition,width:I.elementSize.width<=680?"83px":r.buttonWidth,height:r.buttonHeight,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"text-value":r.buttonTextValue,"font-size":r.buttonFontSize,onClick:n[6]||(n[6]=a=>h.emitEventMedia(r.data)),style:t.normalizeStyle(I.elementSize.width<=680?I.elementSize.width<=420?"margin-right: 35px;":"margin-right: 0px;":"")},null,8,["icon","icon-size","icon-position","width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size","style"])):t.createCommentVNode("",!0)],2)],2),(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,r.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:r.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:n[7]||(n[7]=a=>h.clickExpand(r.data.id))},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:r.colorArrow},null,8,KBt)],10,ZBt))],2)],2)],2)):t.createCommentVNode("",!0)],512)}const lq=Hr(dT,[["render",QBt],["__cssModules",{$style:LBt}]]),ePt=(e,n)=>{const r=e.__vccOpts||e;for(const[I,F]of n)r[I]=F;return r},uT={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},cq=()=>{t.useCssVars(e=>({"1c960139":e.height,b2f635d8:e.borderWidthBtn,"06e99898":e.borderType,"55555c76":e.borderColor,"23b6d320":e.borderRadius,"22c97374":e.width,"22bb09fa":e.backgroundColor,c148da7c:e.cursorType,cce756fc:e.fontSize,cff98d60:e.fontStyle,"5123b3a5":e.fontFamily,"47bf58db":e.marginLeftStat,cadc8414:e.fontSizeStat}))},dq=uT.setup;uT.setup=dq?(e,n)=>(cq(),dq(e,n)):cq;const tPt=e=>(t.pushScopeId("data-v-fb269a1e"),e=e(),t.popScopeId(),e),aPt=["src"],nPt={key:1,class:"text"},rPt=["src"],iPt={class:"stats"},oPt=tPt(()=>t.createElementVNode("img",{class:"iconstats",src:"https://az755631.vo.msecnd.net/todoelfut/playdes.png"},null,-1)),sPt={class:"numstats"},lPt={class:"leyend"};function cPt(e,n,r,I,F,h){return t.openBlock(),t.createElementBlock("div",null,[r.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",F.status&&r.typeOnOff&&"button-active"]),style:t.normalizeStyle([h.customStyle,F.status&&r.typeOnOff&&h.customActive]),onClick:n[0]||(n[0]=(...m)=>h.btnClick&&h.btnClick(...m))},[r.icon&&r.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:r.iconSize}),src:r.icon},null,12,aPt)):t.createCommentVNode("",!0),r.textValue?(t.openBlock(),t.createElementBlock("div",nPt,t.toDisplayString(r.textValue),1)):t.createCommentVNode("",!0),r.icon&&r.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:r.iconSize}),src:r.icon},null,12,rPt)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:n[1]||(n[1]=(...m)=>h.btnClick&&h.btnClick(...m))},[t.createElementVNode("div",iPt,[oPt,t.createElementVNode("div",sPt,t.toDisplayString(r.textStat),1)]),t.createElementVNode("div",lPt,t.toDisplayString(r.textCategory),1)])):t.createCommentVNode("",!0)])}const dPt=ePt(uT,[["render",cPt],["__scopeId","data-v-fb269a1e"]]),uPt=(e,n)=>{const r=e.__vccOpts||e;for(const[I,F]of n)r[I]=F;return r},hT={components:{GSCButton:dPt},props:{hiddenButtonAll:{type:Boolean,default:!1},teamId:{type:Number,default:0},height:{type:String,default:"71px"},backgroundColor:{type:String,default:"#0d1d29"},containBorderType:{type:String,default:"solid"},containBorderWidth:{type:Number,default:0},containBorderColor:{type:String,default:""},componentontainBorderRadius:{type:String,default:"0px"},teamBorderType:{type:String,default:"solid"},teamBorderWidth:{type:Number,default:1},teamBorderColor:{type:String,default:"#566068"},teamBorderRadius:{type:String,default:"43px"},teamHeight:{type:String,default:"43px"},teamWidth:{type:String,default:"43px"},data:{type:Array,default:()=>[]}},data(){return{teamselect:this.teamId,scrollBar:!1}},watch:{teamId:{handler:function(e){this.teamselect=e},immediate:!0}},computed:{centerTextCustom(){return this.hiddenButtonAll&&!this.scrollBar?"center":"left"},marginCustom(){return this.hiddenButtonAll?"0px":"12px"},customStyleContain(){return{height:this.height,backgroundColor:this.backgroundColor,borderRadius:this.containBorderRadius,border:`${this.containBorderType} ${this.containBorderWidth}px ${this.containBorderColor}`}},customStyleTeam(){return{height:this.teamHeight,width:this.teamWidth,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.teamBorderType} ${this.teamBorderWidth}px ${this.teamBorderColor}`}}},methods:{checkIfElementHasScroll(){const e=this.$refs.container.querySelector("#panelteams");e.scrollWidth>e.clientWidth?this.scrollBar=!0:this.scrollBar=!1},btnTeamClick(e){this.$emit("clickTeam",e),this.teamselect=e},click(){this.$emit("clickAll",0),this.teamselect=0}},mounted(){this.checkIfElementHasScroll(),window.addEventListener("resize",this.checkIfElementHasScroll)},beforeUnmount(){window.removeEventListener("resize",this.checkIfElementHasScroll)}},uq=()=>{t.useCssVars(e=>({"132156c0":e.centerTextCustom,"096d3ecc":e.marginCustom}))},hq=hT.setup;hT.setup=hq?(e,n)=>(uq(),hq(e,n)):uq;const hPt={id:"panelteams",class:"gsc-filterperteam__panel-teams",ref:"panel"},pPt={class:"gsc-filterperteam__panel-teams__cont-teams"},fPt=["onClick"],mPt=["src","alt","title"];function gPt(e,n,r,I,F,h){const m=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",{class:"gsc-filterperteam",ref:"container",style:t.normalizeStyle(h.customStyleContain)},[t.createElementVNode("div",hPt,[t.createElementVNode("div",pPt,[r.hiddenButtonAll?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(h.customStyleTeam),class:t.normalizeClass(["gsc-filterperteam__panel-teams__cont-teams__button-all",this.teamselect!==0?"--disabled":""])},[t.createVNode(m,{"text-value":"Todos",width:"76px",height:"28px","font-family":"Poppins-Light","font-size":"13px","border-color":"#cbee6b","border-type":"solid","border-width":"1","background-color":"#2A3641","border-radius":"64px",onClick:h.click},null,8,["onClick"])],6)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.data,(a,v)=>(t.openBlock(),t.createElementBlock("div",{key:v,style:t.normalizeStyle(h.customStyleTeam),class:t.normalizeClass([a.id==F.teamselect?"colorselect":"","gsc-filterperteam__panel-teams__cont-teams__btn-team hover-team"]),onClick:g=>h.btnTeamClick(a.id)},[t.createElementVNode("img",{src:a.logo,alt:a.name,title:a.name},null,8,mPt)],14,fPt))),128))])],512)],4)}const yPt=uPt(hT,[["render",gPt],["__scopeId","data-v-ab79352d"]]),vPt={tablePositionGames:"_tablePositionGames_1reko_91",tablePositionWrapperGames:"_tablePositionWrapperGames_1reko_123",imgHenrryIcon:"_imgHenrryIcon_1reko_141",americaIcon:"_americaIcon_1reko_157",playerPhotoGames:"_playerPhotoGames_1reko_181",toniKroosGames:"_toniKroosGames_1reko_199",shapeIcon:"_shapeIcon_1reko_221",menuiconsTeams:"_menuiconsTeams_1reko_233",component31:"_component31_1reko_251",playerNameGames:"_playerNameGames_1reko_273",icnPlayIcon:"_icnPlayIcon_1reko_289",goles:"_goles_1reko_305",americaIcon1:"_americaIcon1_1reko_319",teamsAmerica:"_teamsAmerica_1reko_347",containerData:"_containerData_1reko_359",shapeIcon1:"_shapeIcon1_1reko_375",icnExpand1:"_icnExpand1_1reko_387",icnExpand:"_icnExpand_1reko_387",playerDataGames:"_playerDataGames_1reko_427",playerInfoGames:"_playerInfoGames_1reko_449",headerTopGame:"_headerTopGame_1reko_479",playerRow:"_playerRow_1reko_507",groupsLeague:"_groupsLeague_1reko_529",text:"_text_1reko_547",btnViewFullList:"_btnViewFullList_1reko_563",headerTopsGames:"_headerTopsGames_1reko_597",btnVideosOptions:"_btnVideosOptions_1reko_741",position:"_position_1reko_1095",positionWrapper:"_positionWrapper_1reko_1119",imgNecaxaIcon:"_imgNecaxaIcon_1reko_1135",teamLogo:"_teamLogo_1reko_1147",teamPhoto:"_teamPhoto_1reko_1163",name:"_name_1reko_1179",icnPlayIconType1:"_icnPlayIconType1_1reko_1195",verVideosType1:"_verVideosType1_1reko_1209",btnVideosOptionsType1:"_btnVideosOptionsType1_1reko_1221",btnVideosOptions1Games:"_btnVideosOptions1Games_1reko_1245",leftContainer:"_leftContainer_1reko_1269",shapeIconType1:"_shapeIconType1_1reko_1287",icnExpandType1:"_icnExpandType1_1reko_1297",arrowExpand:"_arrowExpand_1reko_1317",containerInfoGames:"_containerInfoGames_1reko_1333",headerTopTeam:"_headerTopTeam_1reko_1357",containerHeader:"_containerHeader_1reko_1385",goles1:"_goles1_1reko_1403",golesType1:"_golesType1_1reko_1409",golesWrapper:"_golesWrapper_1reko_1419",btnViewAll:"_btnViewAll_1reko_1437",headerTopsTeams:"_headerTopsTeams_1reko_1471",arrowExpandIcon:"_arrowExpandIcon_1reko_1705",rotate:"_rotate_1reko_1715"},pT={components:{GSCButton:iq},props:{typeData:{type:Number,default:1},teamWidget:{type:Number,default:0},game:{type:Object,default:()=>{}},type:{type:Number,default:0},isExpanded:{type:Boolean,default:!1},canPlayVideos:{type:Boolean,default:!1},categoryName:{type:String,default:""},categoryId:{type:String,default:""},data:{type:Object,default:()=>{}},backgroundColor:{type:String,default:"#0d1d29"},backgroundColorHeader:{type:String,default:"#183143"},fontColorName:{type:String,default:"#F4F4F4"},fontSizeName:{type:String,default:"14px"},fontFamilyName:{type:String,default:"Poppins-Regular"},fontColorTopNum:{type:String,default:"#FFFFFF"},fontSizeTopNum:{type:String,default:"96px"},fontFamilyTopNum:{type:String,default:"Oswald-Bold"},fontColorCategory:{type:String,default:"#FFFFFF"},fontSizeCategory:{type:String,default:"12px"},fontFamilyCategory:{type:String,default:"Poppins-Regular"},opacityColorTopNum:{type:Number,default:.09},borderColorCategory:{type:String,default:"#cbee6b"},iconVideos:{type:String,default:"https://golstatsimages.blob.core.windows.net/images-library/arrow-btn.png"},iconSize:{type:String,default:"18px"},iconPosition:{type:String,default:"left"},colorArrow:{type:String,default:"#D9D9D9"},buttonWidth:{type:String,default:"fit-content"},buttonMaxWidth:{type:String,default:"180px"},buttonHeight:{type:String,default:"24px"},buttonRadius:{type:String,default:"30px"},buttonBorderWidth:{type:Number,default:1},buttonBackground:{type:String,default:"#ffffff1a"},buttonfontFamily:{type:String,default:"Poppins-Regular"},buttonBorderColor:{type:String,default:"#cbee6b"},buttonFontSize:{type:String,default:"12px"}},data:()=>({expand:!1}),methods:{viewProfile(e){this.$emit("play",e)},clickMore(e){this.$emit("more",e)},clickExpand(e){this.$emit("expand",{expand:!this.isExpanded,id:e})},clickFav(e){this.$emit("fav",e)},clickEventMedia(e){this.$emit("mediadata",e)}}},pq=()=>{t.useCssVars(e=>({"5b159b56":e.fontSizeTopNum,ef81ba90:e.fontFamilyTopNum,"40d5b2de":e.fontColorTopNum,"55ca4106":e.opacityColorTopNum,"488c59aa":e.fontColorName,"7f32ad12":e.fontFamilyName,"081c0022":e.fontSizeName,b1fb7024:e.backgroundColorHeader,"9af157f6":e.fontFamilyCategory,"4777f062":e.fontSizeCategory,e72874c4:e.fontColorCategory,"2ceb71e1":e.borderColorCategory}))},fq=pT.setup;pT.setup=fq?(e,n)=>(pq(),fq(e,n)):pq;const _Pt=["src"],bPt=["src"],xPt=["src"],wPt=["src"],kPt=["fill"],CPt=["fill"],SPt=["src"],TPt=["fill"],EPt=["fill"];function APt(e,n,r,I,F,h){const m=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",null,[r.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.headerTopsGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerRow),id:"player-row"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerTopGame)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerPhotoGames),id:"container-player-photp"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.tablePositionWrapperGames)},[t.createElementVNode("b",{class:t.normalizeClass(e.$style.tablePositionGames)},t.toDisplayString(r.data.top),3)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHenrryIcon),alt:"",src:r.data.photo},null,10,_Pt),t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIcon),alt:"",src:r.data.logo},null,10,bPt)],2),t.createElementVNode("main",{class:t.normalizeClass(e.$style.playerInfoGames),id:"container-player-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerNameGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.toniKroosGames)},t.toDisplayString(r.data.name),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerDataGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[r.canPlayVideos||r.game.awayTeam.team_id==r.teamWidget&&r.typeData!=1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(m,{"icon-size":r.iconSize,"icon-position":r.iconPosition,width:r.buttonWidth,"button-max-width":r.buttonMaxWidth,height:r.buttonHeight,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"text-value":r.data.total+" "+r.categoryName.toLowerCase(),"font-size":r.buttonFontSize,onClick:n[0]||(n[0]=a=>h.clickEventMedia(r.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamsAmerica)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIcon1),alt:"",src:r.data.logo},null,10,xPt)],2)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(m,{icon:"","icon-size":r.iconSize,"icon-position":r.iconPosition,width:r.buttonWidth,"button-max-width":r.buttonMaxWidth,height:r.buttonHeight,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"text-value":r.data.total+" "+r.categoryName.toLowerCase(),"font-size":r.buttonFontSize},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamsAmerica)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIcon1),alt:"",src:r.data.logo},null,10,wPt)],2)],64))],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.icnExpand),onClick:n[1]||(n[1]=a=>h.clickExpand(r.data.player_id))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,r.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:r.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:r.colorArrow},null,8,CPt)],10,kPt))],2)],2)],2)],2)],2)],2)):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.headerTopsTeams)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerHeader),id:"header-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerTopTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamPhoto),id:"container-team"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.positionWrapper)},[t.createElementVNode("b",{class:t.normalizeClass(e.$style.position)},t.toDisplayString(r.data.top),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamLogo)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgNecaxaIcon),alt:"",src:r.data.logo},null,10,SPt)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerInfoGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leftContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(r.data.name_team),3),t.createVNode(m,{"icon-size":r.iconSize,"icon-position":r.iconPosition,width:r.buttonWidth,"button-max-width":r.buttonMaxWidth,height:r.buttonHeight,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"text-value":r.data.total+" "+r.categoryName.toLowerCase(),"font-size":r.buttonFontSize,onClick:n[2]||(n[2]=a=>h.clickEventMedia(r.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideosOptions1Games)},[t.createVNode(m,{"icon-size":r.iconSize,"icon-position":r.iconPosition,width:r.buttonWidth,"button-max-width":r.buttonMaxWidth,height:r.buttonHeight,"border-radius":r.buttonRadius,"border-width":r.buttonBorderWidth,"background-color":r.buttonBackground,"font-family":r.buttonfontFamily,"border-color":r.buttonBorderColor,"text-value":r.data.total+" "+r.categoryName.toLowerCase(),"font-size":r.buttonFontSize,onClick:n[3]||(n[3]=a=>h.clickEventMedia(r.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideosType1)},t.toDisplayString(r.data.total),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.arrowExpand),onClick:n[4]||(n[4]=a=>h.clickExpand(r.data.player_id))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,r.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:r.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",fill:r.colorArrow},null,8,EPt)],10,TPt))],2)],2)],2)],2)],2)):t.createCommentVNode("",!0)])}const MPt=Hr(pT,[["render",APt],["__cssModules",{$style:vPt}]]),IPt=(e,n)=>{const r=e.__vccOpts||e;for(const[I,F]of n)r[I]=F;return r},fT={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},mq=()=>{t.useCssVars(e=>({"1c960139":e.height,b2f635d8:e.borderWidthBtn,"06e99898":e.borderType,"55555c76":e.borderColor,"23b6d320":e.borderRadius,"22c97374":e.width,"22bb09fa":e.backgroundColor,c148da7c:e.cursorType,cce756fc:e.fontSize,cff98d60:e.fontStyle,"5123b3a5":e.fontFamily,"47bf58db":e.marginLeftStat,cadc8414:e.fontSizeStat}))},gq=fT.setup;fT.setup=gq?(e,n)=>(mq(),gq(e,n)):mq;const NPt=e=>(t.pushScopeId("data-v-fb269a1e"),e=e(),t.popScopeId(),e),BPt=["src"],PPt={key:1,class:"text"},OPt=["src"],LPt={class:"stats"},FPt=NPt(()=>t.createElementVNode("img",{class:"iconstats",src:"https://az755631.vo.msecnd.net/todoelfut/playdes.png"},null,-1)),DPt={class:"numstats"},zPt={class:"leyend"};function VPt(e,n,r,I,F,h){return t.openBlock(),t.createElementBlock("div",null,[r.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",F.status&&r.typeOnOff&&"button-active"]),style:t.normalizeStyle([h.customStyle,F.status&&r.typeOnOff&&h.customActive]),onClick:n[0]||(n[0]=(...m)=>h.btnClick&&h.btnClick(...m))},[r.icon&&r.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:r.iconSize}),src:r.icon},null,12,BPt)):t.createCommentVNode("",!0),r.textValue?(t.openBlock(),t.createElementBlock("div",PPt,t.toDisplayString(r.textValue),1)):t.createCommentVNode("",!0),r.icon&&r.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:r.iconSize}),src:r.icon},null,12,OPt)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:n[1]||(n[1]=(...m)=>h.btnClick&&h.btnClick(...m))},[t.createElementVNode("div",LPt,[FPt,t.createElementVNode("div",DPt,t.toDisplayString(r.textStat),1)]),t.createElementVNode("div",zPt,t.toDisplayString(r.textCategory),1)])):t.createCommentVNode("",!0)])}const RPt=IPt(fT,[["render",VPt],["__scopeId","data-v-fb269a1e"]]),l_a="",c_a="",$Pt={equipoGames:"_equipoGames_fst7d_75",atlasSeleccinGames:"_atlasSeleccinGames_fst7d_85",equipoAtlasSeleccinMexiGames:"_equipoAtlasSeleccinMexiGames_fst7d_93",aosGames:"_aosGames_fst7d_101",span12:"_span12_fst7d_109",nacionalidadMex:"_nacionalidadMex_fst7d_115",manchesterUnited:"_manchesterUnited_fst7d_121",manchesterUnited12:"_manchesterUnited12_fst7d_135",containerInfoGames:"_containerInfoGames_fst7d_155",verPerfil12:"_verPerfil12_fst7d_173",btnProfile:"_btnProfile_fst7d_191",containerButton:"_containerButton_fst7d_223",dataContainer:"_dataContainer_fst7d_237",expandedInfoPlayerGames:"_expandedInfoPlayerGames_fst7d_257",containerDataBg:"_containerDataBg_fst7d_437",containerDataSm:"_containerDataSm_fst7d_459",span:"_span_fst7d_109",manchesterUnited14:"_manchesterUnited14_fst7d_481",filter:"_filter_fst7d_491",verPerfil:"_verPerfil_fst7d_173",manchesterUnited8:"_manchesterUnited8_fst7d_533",manchesterUnitedParent1:"_manchesterUnitedParent1_fst7d_545",manchesterUnited1:"_manchesterUnited1_fst7d_135",manchesterUnitedParent:"_manchesterUnitedParent_fst7d_545",frameDiv:"_frameDiv_fst7d_589",infoExpanded:"_infoExpanded_fst7d_605",countryFlag:"_countryFlag_fst7d_911"},mT={components:{GSCButton:RPt},props:{isLive:{type:Boolean,default:!1},background:{type:String,default:"#172531"},type:{type:Number,default:1},viewButton:{type:Boolean,default:!0},viewTeam:{type:Boolean,default:!0},viewAge:{type:Boolean,default:!0},viewNationality:{type:Boolean,default:!0},viewPosition:{type:Boolean,default:!0},viewGames:{type:Boolean,default:!0},viewMin:{type:Boolean,default:!0},viewGoals:{type:Boolean,default:!0},viewEffectiveness:{type:Boolean,default:!0},height:{type:String,default:"134px"},fontColor:{type:String,default:"#ffffffb3"},fontColorValue:{type:String,default:"#ffffff"},fontFamily:{type:String,default:"Poppins-Regular"},fontSize:{type:String,default:"10px"},additionalClass:{type:String,default:""},data:{type:Object,default:()=>{}}},setup(){const e=t.ref("myDivRef"),{elementSize:n}=mv(e);return{myDivRef:e,elementSize:n}},data(){return{}},computed:{},methods:{viewProfile(e){this.$emit("viewprofile",e)}}},yq=()=>{t.useCssVars(e=>({a297a8e8:e.fontFamily,"05868b8a":e.fontColor,"9181d814":e.fontColorValue,c650cbae:e.fontSize,af6837b2:e.background}))},vq=mT.setup;mT.setup=vq?(e,n)=>(yq(),vq(e,n)):yq;const Dd=e=>(t.pushScopeId("data-v-5dd9e88d"),e=e(),t.popScopeId(),e),jPt={ref:"myDivRef"},UPt=["src"],GPt=Dd(()=>t.createElementVNode("span",null,"Posición en la tabla: ",-1)),HPt=Dd(()=>t.createElementVNode("span",null,"Goles anotados: ",-1)),WPt=Dd(()=>t.createElementVNode("span",null,"Goles recibidos: ",-1)),qPt=Dd(()=>t.createElementVNode("span",null,"Partidos jugados:",-1)),YPt=Dd(()=>t.createElementVNode("span",null,"Efectividad de pases: ",-1)),XPt=Dd(()=>t.createElementVNode("span",null,"xG: ",-1)),JPt=Dd(()=>t.createElementVNode("span",null,"Efectividad de pases: ",-1)),ZPt=Dd(()=>t.createElementVNode("span",null,"xG: ",-1)),KPt=Dd(()=>t.createElementVNode("span",null,"Posición en la tabla: ",-1)),QPt=Dd(()=>t.createElementVNode("span",null,"Goles anotados: ",-1)),eOt=Dd(()=>t.createElementVNode("span",null,"Goles recibidos: ",-1)),tOt=Dd(()=>t.createElementVNode("span",null,"Partidos jugados: ",-1)),aOt=Dd(()=>t.createElementVNode("span",null,"Efectividad de pases: ",-1)),nOt=Dd(()=>t.createElementVNode("span",null,"xG: ",-1));function rOt(e,n,r,I,F,h){const m=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",jPt,[r.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.expandedInfoPlayerGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.dataContainer),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass([e.$style.containerInfoGames,r.additionalClass]),id:"container-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},[r.viewTeam?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(e.$style.equipoAtlasSeleccinMexiGames)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.equipoGames)},"Equipo: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.atlasSeleccinGames)},t.toDisplayString(r.data.teams),3)],2)):t.createCommentVNode("",!0),r.viewAge?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.equipoGames)},"Edad: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(r.data.age)+" años",3),t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)}," ("+t.toDisplayString(r.data.dataofbirth)+")",3)],2)):t.createCommentVNode("",!0),r.viewNationality?(t.openBlock(),t.createElementBlock("p",{key:2,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Nacionalidad: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},[t.createTextVNode(t.toDisplayString(r.data.nationality.substring(0,3).toUpperCase())+" ",1),t.createElementVNode("div",{class:t.normalizeClass(e.$style.countryFlag)},[t.createElementVNode("img",{src:r.data.countryFlag},null,8,UPt)],2)],2)],2)):t.createCommentVNode("",!0),r.viewPosition?(t.openBlock(),t.createElementBlock("p",{key:3,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Posición: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(r.data.position),3)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited12)},[r.viewGames&&!r.isLive?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"partidos Jugados: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(r.data.games),3)],2)):t.createCommentVNode("",!0),r.viewMin&&!r.isLive?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Minutos Jugados: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(r.data.min),3)],2)):t.createCommentVNode("",!0),r.viewGoals?(t.openBlock(),t.createElementBlock("p",{key:2,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},t.toDisplayString(r.data.category)+": ",3),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(r.data.goals),3)],2)):t.createCommentVNode("",!0),r.viewEffectiveness?(t.openBlock(),t.createElementBlock("p",{key:3,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Efectividad de pases: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(r.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerButton),id:"btn-container"},[r.viewButton?(t.openBlock(),t.createBlock(m,{key:0,style:t.normalizeStyle(r.additionalClass!=""&&I.elementSize.width>540?"margin-right: 50px":""),width:"88px",height:"30px","border-radius":"30px","border-width":1,"background-color":"#ffffff1a","font-family":"Poppins-Semibold","border-color":"#cbee6b","text-value":"Ver perfil","font-size":"10px",onClick:n[0]||(n[0]=a=>h.viewProfile(r.data.id))},null,8,["style"])):t.createCommentVNode("",!0)],2)],2)],2)):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.infoExpanded)},[t.createElementVNode("div",{class:t.normalizeClass([e.$style.containerDataBg,r.additionalClass])},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[GPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[HPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.goals),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[WPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.goals_received),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[qPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.games_played),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[r.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited1)},[YPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[XPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.xg),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[t.createElementVNode("span",null,t.toDisplayString(r.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.total),3)],2),r.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited8)},[JPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.effectiveness)+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited8)},[ZPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.xg),3)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerDataSm)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameDiv)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[KPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[QPt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.goals),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[eOt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.goals_received),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[tOt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.games_played),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent1)},[r.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited14)},[aOt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[nOt,t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.xg),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[t.createElementVNode("span",null,t.toDisplayString(r.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.total),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited8)},[t.createElementVNode("span",null,t.toDisplayString(r.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(r.data.total),3)],2)],2)],2),r.viewButton?(t.openBlock(),t.createBlock(m,{key:0,style:t.normalizeStyle(r.additionalClass!=""&&I.elementSize.width>540?"margin-right: 42px":""),width:"88px",height:"30px","border-radius":"30px","border-width":1,"background-color":"#ffffff1a","font-family":"Poppins-Semibold","border-color":"#cbee6b","text-value":"Ver perfil","font-size":"10px",onClick:n[1]||(n[1]=a=>h.viewProfile(r.data.id))},null,8,["style"])):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0)],512)}const _q=Hr(mT,[["render",rOt],["__cssModules",{$style:$Pt}],["__scopeId","data-v-5dd9e88d"]]);/**
3576
3576
  * Vue 3 Carousel 0.3.1
3577
3577
  * (c) 2023
3578
3578
  * @license MIT
3579
- */const Qc={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},bq={itemsToShow:{default:Qc.itemsToShow,type:Number},itemsToScroll:{default:Qc.itemsToScroll,type:Number},wrapAround:{default:Qc.wrapAround,type:Boolean},throttle:{default:Qc.throttle,type:Number},snapAlign:{default:Qc.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:Qc.transition,type:Number},breakpoints:{default:Qc.breakpoints,type:Object},autoplay:{default:Qc.autoplay,type:Number},pauseAutoplayOnHover:{default:Qc.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:Qc.mouseDrag,type:Boolean},touchDrag:{default:Qc.touchDrag,type:Boolean},dir:{default:Qc.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:Qc.i18n,type:Object},settings:{default(){return{}},type:Object}};function iOt({config:e,slidesCount:n}){const{snapAlign:r,wrapAround:I,itemsToShow:F=1}=e;if(I)return Math.max(n-1,0);let h;switch(r){case"start":h=n-F;break;case"end":h=n-1;break;case"center":case"center-odd":h=n-Math.ceil((F-.5)/2);break;case"center-even":h=n-Math.ceil(F/2);break;default:h=0;break}return Math.max(h,0)}function oOt({config:e,slidesCount:n}){const{wrapAround:r,snapAlign:I,itemsToShow:F=1}=e;let h=0;if(r||F>n)return h;switch(I){case"start":h=0;break;case"end":h=F-1;break;case"center":case"center-odd":h=Math.floor((F-1)/2);break;case"center-even":h=Math.floor((F-2)/2);break;default:h=0;break}return h}function gT({val:e,max:n,min:r}){return n<r?e:Math.min(Math.max(e,r),n)}function sOt({config:e,currentSlide:n,slidesCount:r}){const{snapAlign:I,wrapAround:F,itemsToShow:h=1}=e;let m=n;switch(I){case"center":case"center-odd":m-=(h-1)/2;break;case"center-even":m-=(h-2)/2;break;case"end":m-=h-1;break}return F?m:gT({val:m,max:r-h,min:0})}function xq(e){return e?e.reduce((n,r)=>{var I;return r.type===t.Fragment?[...n,...xq(r.children)]:((I=r.type)===null||I===void 0?void 0:I.name)==="CarouselSlide"?[...n,r]:n},[]):[]}function yT({val:e,max:n,min:r=0}){return e>n?yT({val:e-(n+1),max:n,min:r}):e<r?yT({val:e+(n+1),max:n,min:r}):e}function lOt(e,n){let r;return n?function(...I){const F=this;r||(e.apply(F,I),r=!0,setTimeout(()=>r=!1,n))}:e}function cOt(e,n){let r;return function(...I){r&&clearTimeout(r),r=setTimeout(()=>{e(...I),r=null},n)}}function dOt(e="",n={}){return Object.entries(n).reduce((r,[I,F])=>r.replace(`{${I}}`,String(F)),e)}var uOt=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},Qc))),n=t.inject("currentSlide",t.ref(0)),r=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},dOt(e.i18n.itemXofY,{currentSlide:n.value+1,slidesCount:r.value}))}}),hOt=t.defineComponent({name:"Carousel",props:bq,setup(e,{slots:n,emit:r,expose:I}){var F;const h=t.ref(null),m=t.ref([]),a=t.ref(0),v=t.ref(0),g=t.reactive(Object.assign({},Qc));let i=Object.assign({},Qc),_;const b=t.ref((F=e.modelValue)!==null&&F!==void 0?F:0),c=t.ref(0),s=t.ref(0),o=t.ref(0),l=t.ref(0);let d,u;t.provide("config",g),t.provide("slidesCount",v),t.provide("currentSlide",b),t.provide("maxSlide",o),t.provide("minSlide",l),t.provide("slideWidth",a);function p(){_=Object.assign({},e.breakpoints),i=Object.assign(Object.assign(Object.assign({},i),e),{i18n:Object.assign(Object.assign({},i.i18n),e.i18n),breakpoints:void 0}),y(i)}function f(){if(!_||!Object.keys(_).length)return;const te=Object.keys(_).map(re=>Number(re)).sort((re,ce)=>+ce-+re);let ee=Object.assign({},i);te.some(re=>{const ce=window.matchMedia(`(min-width: ${re}px)`).matches;return ce&&(ee=Object.assign(Object.assign({},ee),_[re])),ce}),y(ee)}function y(te){Object.entries(te).forEach(([ee,re])=>g[ee]=re)}const w=cOt(()=>{f(),x()},16);function x(){if(!h.value)return;const te=h.value.getBoundingClientRect();a.value=te.width/g.itemsToShow}function M(){v.value<=0||(s.value=Math.ceil((v.value-1)/2),o.value=iOt({config:g,slidesCount:v.value}),l.value=oOt({config:g,slidesCount:v.value}),g.wrapAround||(b.value=gT({val:b.value,max:o.value,min:l.value})))}t.onMounted(()=>{t.nextTick(()=>x()),setTimeout(()=>x(),1e3),f(),V(),window.addEventListener("resize",w,{passive:!0}),r("init")}),t.onUnmounted(()=>{u&&clearTimeout(u),d&&clearInterval(d),window.removeEventListener("resize",w,{passive:!0})});let k=!1;const C={x:0,y:0},T={x:0,y:0},A=t.reactive({x:0,y:0}),E=t.ref(!1),B=t.ref(!1),S=()=>{E.value=!0},L=()=>{E.value=!1};function N(te){["INPUT","TEXTAREA","SELECT"].includes(te.target.tagName)||(k=te.type==="touchstart",k||te.preventDefault(),!(!k&&te.button!==0||j.value)&&(C.x=k?te.touches[0].clientX:te.clientX,C.y=k?te.touches[0].clientY:te.clientY,document.addEventListener(k?"touchmove":"mousemove",O,!0),document.addEventListener(k?"touchend":"mouseup",z,!0)))}const O=lOt(te=>{B.value=!0,T.x=k?te.touches[0].clientX:te.clientX,T.y=k?te.touches[0].clientY:te.clientY;const ee=T.x-C.x,re=T.y-C.y;A.y=re,A.x=ee},g.throttle);function z(){const te=g.dir==="rtl"?-1:1,ee=Math.sign(A.x)*.4,re=Math.round(A.x/a.value+ee)*te;if(re&&!k){const ce=he=>{he.stopPropagation(),window.removeEventListener("click",ce,!0)};window.addEventListener("click",ce,!0)}q(b.value-re),A.x=0,A.y=0,B.value=!1,document.removeEventListener(k?"touchmove":"mousemove",O,!0),document.removeEventListener(k?"touchend":"mouseup",z,!0)}function V(){!g.autoplay||g.autoplay<=0||(d=setInterval(()=>{g.pauseAutoplayOnHover&&E.value||$()},g.autoplay))}function R(){d&&(clearInterval(d),d=null),V()}const j=t.ref(!1);function q(te){const ee=g.wrapAround?te:gT({val:te,max:o.value,min:l.value});b.value===ee||j.value||(r("slide-start",{slidingToIndex:te,currentSlideIndex:b.value,prevSlideIndex:c.value,slidesCount:v.value}),j.value=!0,c.value=b.value,b.value=ee,u=setTimeout(()=>{if(g.wrapAround){const re=yT({val:ee,max:o.value,min:0});re!==b.value&&(b.value=re,r("loop",{currentSlideIndex:b.value,slidingToIndex:te}))}r("update:modelValue",b.value),r("slide-end",{currentSlideIndex:b.value,prevSlideIndex:c.value,slidesCount:v.value}),j.value=!1,R()},g.transition))}function $(){q(b.value+g.itemsToScroll)}function H(){q(b.value-g.itemsToScroll)}const X={slideTo:q,next:$,prev:H};t.provide("nav",X),t.provide("isSliding",j);const G=t.computed(()=>sOt({config:g,currentSlide:b.value,slidesCount:v.value}));t.provide("slidesToScroll",G);const Y=t.computed(()=>{const te=g.dir==="rtl"?-1:1,ee=G.value*a.value*te;return{transform:`translateX(${A.x-ee}px)`,transition:`${j.value?g.transition:0}ms`,margin:g.wrapAround?`0 -${v.value*a.value}px`:"",width:"100%"}});function K(){p(),f(),M(),x(),R()}Object.keys(bq).forEach(te=>{["modelValue"].includes(te)||t.watch(()=>e[te],K)}),t.watch(()=>e.modelValue,te=>{te!==b.value&&q(Number(te))}),t.watch(v,M),r("before-init"),p();const le={config:g,slidesCount:v,slideWidth:a,next:$,prev:H,slideTo:q,currentSlide:b,maxSlide:o,minSlide:l,middleSlide:s};I({updateBreakpointsConfigs:f,updateSlidesData:M,updateSlideWidth:x,initDefaultConfigs:p,restartCarousel:K,slideTo:q,next:$,prev:H,nav:X,data:le});const oe=n.default||n.slides,ne=n.addons,se=t.reactive(le);return()=>{const te=xq(oe==null?void 0:oe(se)),ee=(ne==null?void 0:ne(se))||[];te.forEach((fe,me)=>fe.props.index=me);let re=te;if(g.wrapAround){const fe=te.map((ye,be)=>t.cloneVNode(ye,{index:-te.length+be,isClone:!0,key:`clone-before-${be}`})),me=te.map((ye,be)=>t.cloneVNode(ye,{index:te.length+be,isClone:!0,key:`clone-after-${be}`}));re=[...fe,...te,...me]}m.value=te,v.value=Math.max(te.length,1);const ce=t.h("ol",{class:"carousel__track",style:Y.value,onMousedownCapture:g.mouseDrag?N:null,onTouchstartPassiveCapture:g.touchDrag?N:null},re),he=t.h("div",{class:"carousel__viewport"},ce);return t.h("section",{ref:h,class:{carousel:!0,"is-sliding":j.value,"is-dragging":B.value,"is-hover":E.value,"carousel--rtl":g.dir==="rtl"},dir:g.dir,"aria-label":g.i18n.ariaGallery,tabindex:"0",onMouseenter:S,onMouseleave:L},[he,ee,t.h(uOt)])}}}),wq;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(wq||(wq={}));var pOt=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:n}){const r=t.inject("config",t.reactive(Object.assign({},Qc))),I=t.inject("currentSlide",t.ref(0)),F=t.inject("slidesToScroll",t.ref(0)),h=t.inject("isSliding",t.ref(!1)),m=()=>e.index===I.value,a=()=>e.index===I.value-1,v=()=>e.index===I.value+1,g=()=>{const i=Math.floor(F.value),_=Math.ceil(F.value+r.itemsToShow-1);return e.index>=i&&e.index<=_};return()=>{var i;return t.h("li",{style:{width:`${100/r.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":g(),"carousel__slide--active":m(),"carousel__slide--prev":a(),"carousel__slide--next":v(),"carousel__slide--sliding":h.value},"aria-hidden":!g()},(i=n.default)===null||i===void 0?void 0:i.call(n))}}});const fOt=(e,n)=>{const r=e.__vccOpts||e;for(const[I,F]of n)r[I]=F;return r},mOt=e=>(t.pushScopeId("data-v-54620d25"),e=e(),t.popScopeId(),e),gOt={class:"gsc-carousel"},yOt={key:0},vOt=mOt(()=>t.createElementVNode("div",null,"no hay",-1)),_Ot=[vOt],bOt={class:"gsc-carousel__2d__slides"},xOt={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wOt=["fill"],kOt={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},COt=["fill"],SOt={class:"gsc-carousel__2d__navigation"},TOt={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EOt=["stroke"],AOt={key:1,class:"gsc-carousel__2d__navigation__pagination"},MOt=["onClick"],IOt={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},NOt=["stroke"],BOt={__name:"GSC-Carousel",props:{currentItemIndex:{type:Number,default:0},items:{type:Array,default:()=>[]},is3d:{type:Boolean,default:!1},isPaginationVisible:{type:Boolean,default:!1},areNavigationArrowsVisible:{type:Boolean,default:!0},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(n=>n in e)},navigationHeight:{type:Number,default:4},navigationBorderRadius:{type:Number,default:4},navigationColor:{type:String,default:"rgba(255, 255, 255, 0.4)"},navigationActiveColor:{type:String,default:"#cbee6b"},navigationActiveWidth:{type:Number,default:30},arrowsColor:{type:String,default:"#cbee6b"},arrowsMaxWidth:{type:String,default:"20px"},wrapAround:{type:Boolean,default:!1},itemsToShow:{type:Number,default:1},isMainSlidePriority:{type:Boolean,default:!1},areSlidesArrowsVisible:{type:Boolean,default:!1},slideLeftArrowBackgroundImage:{type:String,default:"linear-gradient(to right, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},slideRightArrowBackgroundImage:{type:String,default:"linear-gradient(to left, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},areSlidesArrowsRounded:{type:Boolean,default:!1},slidesArrowsLeftAndRight:{type:String,default:"20px"},secondarySlidesOpacity:{type:Number,default:.8},marginTop:{type:String,default:"0"}},emits:["input","update:currentItemIndex"],setup(e,{expose:n,emit:r}){const I=e;t.useCssVars(o=>({"2c72d674":e.slideLeftArrowBackgroundImage,"90a63f40":e.slidesArrowsLeftAndRight,"2627d097":e.slideRightArrowBackgroundImage,"1904d43f":e.marginTop,cfb58986:e.secondarySlidesOpacity}));const F=t.ref(null),h=t.ref({}),m=t.ref(0),a=t.ref(!1);t.watch(F,o=>{o&&a.value?(a.value=!1,v(I.items)):o&&o.slideTo&&o.slideTo(m.value)},{deep:!0}),t.watch(()=>I.currentItemIndex,o=>{m.value!==o&&b(o)}),t.watch(()=>I.defaultItemByIndex,o=>{m.value!==o&&b(o)}),t.watch(()=>I.items,o=>{F.value?v(o):a.value=!0},{immediate:!0});function v(o){o&&o.length&&F.value&&setTimeout(()=>{if(I.defaultItemByProp){const l=I.items.findIndex(d=>d[I.defaultItemByProp.propName]===I.defaultItemByProp.value);l!==-1?(m.value=l,h.value=o[l]):(m.value=0,h.value=o[0])}else m.value=I.defaultItemByIndex,h.value=o[I.defaultItemByIndex];F.value.slideTo&&F.value.slideTo(m.value),h.value&&m.value===0&&r("input",{selectedItem:h.value,selectedItemIndex:m.value})},500)}function g(){F.value&&F.value.next()}function i(){F.value&&F.value.prev()}function _(){F.value&&F.value.updateSlideWidth()}function b(o){F.value&&F.value.slideTo(o)}function c(o){F.value.slideTo(o)}function s(o){const l=o.slidingToIndex<0?I.items.length-1:o.slidingToIndex===I.items.length?0:o.slidingToIndex;m.value=l,h.value=I.items[l],r("update:currentItemIndex",l),r("input",{selectedItem:h.value,selectedItemIndex:m.value})}return n({prev:i,next:g,updateSlideWidth:_,slideTo:b}),(o,l)=>(t.openBlock(),t.createElementBlock("div",gOt,[I.is3d?(t.openBlock(),t.createElementBlock("div",yOt,_Ot)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",bOt,[t.createVNode(t.unref(hOt),{ref_key:"carousel2d",ref:F,"items-to-show":e.itemsToShow,"wrap-around":e.wrapAround,onSlideStart:s},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(d,u)=>(t.openBlock(),t.createBlock(t.unref(pOt),{key:u},{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default",{item:d},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible&&e.items.length>1?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",style:t.normalizeStyle("max-width:"+e.arrowsMaxWidth+"!important"),onClick:l[0]||(l[0]=d=>F.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",xOt,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.10399 9L8.62342 15.4393C9.12552 16.0251 9.12552 16.9749 8.62342 17.5607C8.12132 18.1464 7.30725 18.1464 6.80514 17.5607L0.376575 10.0607C-0.125528 9.47487 -0.125528 8.52512 0.376575 7.93934L6.80515 0.439339C7.30725 -0.146447 8.12132 -0.146447 8.62342 0.43934C9.12553 1.02513 9.12553 1.97487 8.62342 2.56066L3.10399 9Z",fill:e.arrowsColor},null,8,wOt)]))],2)],4)):t.createCommentVNode("",!0),e.areSlidesArrowsVisible&&e.items.length>1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",style:t.normalizeStyle("max-width:"+e.arrowsMaxWidth+"!important"),onClick:l[1]||(l[1]=d=>g())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",kOt,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.89601 9L0.376575 2.56066C-0.125528 1.97487 -0.125528 1.02513 0.376575 0.439339C0.878675 -0.146447 1.69275 -0.146447 2.19486 0.43934L8.62343 7.93934C9.12553 8.52513 9.12553 9.47487 8.62343 10.0607L2.19486 17.5607C1.69275 18.1464 0.878675 18.1464 0.376575 17.5607C-0.125528 16.9749 -0.125528 16.0251 0.376575 15.4393L5.89601 9Z",fill:e.arrowsColor},null,8,COt)]))],2)],4)):t.createCommentVNode("",!0),t.createElementVNode("div",SOt,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:l[2]||(l[2]=d=>i())},[(t.openBlock(),t.createElementBlock("svg",TOt,[t.createElementVNode("path",{d:"M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",stroke:I.arrowsColor},null,8,EOt)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",AOt,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(d,u)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${u}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${I.navigationHeight}px`,width:`${m.value===u?I.navigationActiveWidth:I.navigationActiveWidth/2}px`,borderRadius:`${I.navigationBorderRadius}px`,backgroundColor:`${m.value===u?I.navigationActiveColor:I.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:p=>c(u)},null,12,MOt))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:l[3]||(l[3]=d=>F.value.next())},[(t.openBlock(),t.createElementBlock("svg",IOt,[t.createElementVNode("path",{d:"M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",stroke:I.arrowsColor},null,8,NOt)]))])):t.createCommentVNode("",!0)])],2))]))}},POt=fOt(BOt,[["__scopeId","data-v-54620d25"]]),z_a="",kq={3:"Albanesa",4:"Argelina",6:"Andorrano",7:"Angoleña",8:"Anguillan",9:"Antiguan",10:"Argentina",11:"Armenia",12:"Arubeño",13:"Austríaca",14:"Austríaca",15:"Azerbaiyano",16:"Bahamas",17:"Bareini",18:"Bangladesí",19:"Barbadense",20:"Bielorrusa",21:"Belga",22:"Beliceña",23:"Beninesa",24:"Bermudeña",25:"Butanés",26:"Boliviana",27:"Bosnia",28:"Botsuano",29:"Brasileña",30:"Islas Vírgenes Británicas",31:"Bruneano",32:"Búlgara",33:"Burundés",34:"Burmesa",35:"Burundés",36:"Camboyana",37:"Camerunés",38:"Canadiense",39:"Caboverdiano",40:"Caimanés",41:"Centroafricana",42:"Chadiano",43:"Chilena",44:"China",45:"Isla de Navidad",46:"Cocos Island",47:"Colombiana",48:"Comorense",49:"Congoleña",50:"Cookiano",51:"Costarricense",52:"Marfileña",53:"Croata",54:"Cubana",55:"Chipriota",56:"Checa",57:"Danesa",58:"Djibouti",60:"Dominicana",61:"Timorense",62:"Ecuatoriana",63:"Egipcia",64:"Salvadoreña",65:"Inglesa",66:"Ecuatoguineano",67:"Eritreo",68:"Estoniana",69:"Etíope",70:"Islas Malvinas",71:"Feroés",72:"Fiyiano",73:"Finlandesa",74:"Francesa",75:"Guayana Francesa",76:"Francopolinecio",77:"Gabonesa",78:"Gambiana",79:"Georgiano",80:"Alemana",81:"Ghanesa",82:"Gibraltareño",221:"Británico",84:"Griega",85:"Groenlandés",86:"Granadino",87:"Guadeloupeño",89:"Guatemalteca",90:"Guineana",91:"Guyanés",92:"Haitiana",93:"Hondureña",94:"Hongkongese",95:"Húngaro",96:"Islandesa",97:"Indio",98:"Indonesia",99:"Iraní",100:"Iraquí",101:"Irlandesa",102:"Manés",103:"Israelí",104:"Italiana",105:"Jamaiquina",106:"Japonesa",107:"Jordana",108:"Kazaja",109:"Keniana",110:"Kiribatiano",111:"Coreana",112:"Surcoreana",113:"Kosovan",114:"Kuwaití",115:"Kirguisa",116:"Laosiano",117:"Letona",118:"Libanesa",119:"Basotho",120:"Liberiana",121:"Libia",122:"Liechtenstein",123:"Lituano",124:"Luxemburguesa",125:"Macaneso",126:"Macedonia",127:"Malgache",128:"Malaya",129:"Malaya",130:"Maldivo",131:"Mali",132:"Maltesa",133:"Marshallese",134:"Martiniqueña",135:"Mauritania",136:"Mauriciano",137:"Mahoran",138:"Mexicana",139:"Micronesio",140:"Moldava",141:"Monacan",142:"Mongol",143:"Montenegrina",144:"Montserratiano",145:"Marroqui",146:"Mozambiqueña",147:"Namibio",148:"Nauruan",149:"Nepalí",150:"Holandesa",151:"Neocaledonio",152:"Neozelandesa",153:"Nicaragüense",154:"Niueño",155:"Nigerina",156:"Nigeriana",157:"Noruega",158:"Normariano",159:"Omaní",160:"Palestina",161:"Palestina",162:"Palauan",163:"Panameña",164:"Papú",165:"Paraguaya",166:"Peruana",167:"Filipina",168:"Pitcairnés",169:"Polaca",170:"Portuguesa",171:"Puertorriqueña",172:"Catari",173:"Reunionés",174:"Rumana",175:"Rusa",176:"Ruandés",177:"Santa Elena",178:"Sancristobaleña",179:"Santa Lucía",180:"Miquelonnais",181:"Sanvicentina",182:"Samoano",183:"Sanmariense",184:"Santotomense",185:"Saudí",186:"Escocesa",187:"Senegalense",188:"Serbia",189:"Seychellense",190:"Sierraleonesa",191:"Singapurense",192:"Eslovena",193:"Eslovena",194:"Salomonense",195:"Somalí",196:"Sudafricana",197:"Surosetio",198:"Española",199:"Esrilanques",200:"Sudanés",201:"Surinamés",202:"Swazi",203:"Sueca",204:"Suiza",205:"Sirio",206:"Taiwanesa",207:"Tayiko",208:"Tanzano",209:"Tailandesa",210:"Togo",211:"Tongano",212:"Trinitaria",213:"Tunecina",214:"Turca",215:"Turkmena",216:"none",217:"Tuvaluano",218:"Ugandesa",219:"Ucraniana",220:"Emiratí",222:"Americana",223:"Uruguaya",224:"Uzbeka",225:"Vanuatuense",226:"Venezolana",227:"Vietnamita",228:"Islas Vírgenes",229:"Galesa",230:"Walisiano",231:"Saharaui",232:"Yemení",233:"Zambiana",234:"Zimbabuense",236:"Curazaleña",237:"San Martín",239:"Debutante"},V_a="",vT={components:{GSCCarousel:POt,GSCLeaders:MPt,GSCRowTable:lq,GSCTableHeader:aq,GSCExpandedInfo:_q},props:{isTeam:{type:Boolean,default:!1},typeTable:{type:Number,default:0},typeData:{type:Number,default:1},gameId:{type:Number,default:0},filtersProp:{type:Object,default:()=>{}},game:{type:Object,default:()=>({})},isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},canPlayVideos:{type:Boolean,default:!1},filterTeam:{type:Number,default:0},timeLiveComparativeAvanced:{type:Number,default:6e4},category:{type:Number,default:1},categoryName:{type:String,default:"Goles"},season:{type:Number,default:1772},type:{type:Number,default:0},borderRadius:{type:String,default:"8px"},borderWidth:{type:String,default:"2px"},borderColor:{type:String,default:"#cfcfcf"},backgroundOdd:{type:String,default:"#172531"},backgroundEven:{type:String,default:"#0d1d29"},numRows:{type:Number,default:5}},setup(){const e=t.ref("myDivRef"),{elementSize:n}=mv(e);return{myDivRef:e,elementSize:n}},watch:{season:{immediate:!1,async handler(e){e&&(this.playersInfo={},this.teamInfo={},this.isloading=!0,this.formatFilterStats=[],await this.getCategoryStats(this.season))}},typeData:{immediate:!1,async handler(e){await this.getCategoryStats(this.season)}},filtersProp:{immediate:!1,deep:!0,async handler(e,n){e&&(JSON.stringify(e)!==JSON.stringify(n)||this.sonConjuntosDistintos(e.setNationalitiesIds,n.setNationalitiesIds))&&(this.isloading=!0,this.filterEmitAux=e,[1,23,3,4,5,7,6,9,8,11,10,12,13,15,14,17,16,22].includes(this.category)?this.filterEmitAux.typeZone=1:this.filterEmitAux.typeZone=2,this.formatFilterStats=await this.filterRecords(this.filterEmitAux))}}},computed:{topData(){if(this.changeStateLoading(!0),Object.entries(this.statsData).length>0&&this.formatFilterStats.length>0){var e={},n={},r=[],I=[],F=[];return this.formatFilterStats.map(h=>{e[h.team_id]?e[h.team_id].total=e[h.team_id].total+h.total:(e[h.team_id]={},e[h.team_id].total=h.total,e[h.team_id].id=this.teamInfo[h.team_id].id,e[h.team_id].name=this.teamInfo[h.team_id].name.replace(" Femenil",""),e[h.team_id].img="https://az755631.vo.msecnd.net/teams-80/"+h.team_id+".png",e[h.team_id].effectiveness=this.teamInfo[h.team_id].effectiveness,e[h.team_id].frecuency=this.teamInfo[h.team_id].frecuency,e[h.team_id].game_avg=this.teamInfo[h.team_id].game_avg,e[h.team_id].game_avg_last_season=this.teamInfo[h.team_id].game_avg_last_season,e[h.team_id].games_played_lastseason=this.teamInfo[h.team_id].games_played_lastseason,e[h.team_id].games_played=this.teamInfo[h.team_id].games_played,e[h.team_id].positiontable=this.teamInfo[h.team_id].positiontable,e[h.team_id].goals=this.teamInfo[h.team_id].goals,e[h.team_id].goalsrecived=this.teamInfo[h.team_id].goalsrecived,e[h.team_id].xg=this.teamInfo[h.team_id].xg),n[h.player_id]?h.player_id!=0&&h.player_id!=62117&&(n[h.player_id].total=n[h.player_id].total+h.total):h.player_id!=0&&h.player_id!=62117&&(n[h.player_id]={},n[h.player_id].total=h.total,h.player_id&&this.playersInfo[h.player_id]?(n[h.player_id].name=this.playersInfo[h.player_id].name,n[h.player_id].name_short=this.getnameshort(this.playersInfo[h.player_id].name),n[h.player_id].img=this.playersInfo[h.player_id].img,n[h.player_id].id=this.playersInfo[h.player_id].id,n[h.player_id].age=this.playersInfo[h.player_id].age,n[h.player_id].team=this.playersInfo[h.player_id].team,n[h.player_id].teamname=this.playersInfo[h.player_id].teamname,n[h.player_id].teamid=this.playersInfo[h.player_id].teamid,n[h.player_id].position=this.playersInfo[h.player_id].position,n[h.player_id].positionId=this.playersInfo[h.player_id].positionId,n[h.player_id].positionfull=this.playersInfo[h.player_id].positionfull,n[h.player_id].country=this.playersInfo[h.player_id].country,n[h.player_id].effectiveness=this.playersInfo[h.player_id].effectiveness,n[h.player_id].minutes=this.playersInfo[h.player_id].minutes_played,n[h.player_id].games=this.playersInfo[h.player_id].games_played,n[h.player_id].date=this.playersInfo[h.player_id].date,n[h.player_id].nationality=this.playersInfo[h.player_id].nationality,n[h.player_id].player_country_flag=this.playersInfo[h.player_id].player_country_flag,n[h.player_id].categoryName=this.categoryName):(n[h.player_id].id=h.player_id,n[h.player_id].name=h.player_id,n[h.player_id].img="SIN IMAGEN",n[h.player_id].age="",n[h.player_id].teamname="",n[h.player_id].team="",n[h.player_id].teamid=0,n[h.player_id].position="",n[h.player_id].positionId=0,n[h.player_id].positionfull="",n[h.player_id].country="",n[h.player_id].effectiveness="",n[h.player_id].minutes="",n[h.player_id].games="",n[h.player_id].date="00-00-0000",n[h.player_id].nationality="",n[h.player_id].player_country_flag="",n[h.player_id].categoryName=""))}),r.push(...Object.values(e)),I.push(...Object.values(n)),r=this.sortAndSlice(Object.values(e),60),I=I.sort(this.compareObjectsMinutes).slice(0,60),I=I.map((h,m)=>(h.top=m<9?"0"+(m+1):""+(m+1),h)),r=r.map((h,m)=>(h.top=m<9?"0"+(m+1):""+(m+1),h)),this.filterTeam!==0&&!this.isTeam&&(F=I.filter(h=>h.teamid===this.filterTeam)),this.changeStateLoading(!1),this.isTeam?this.formatArrayPaginate(r):this.filterTeam!=0?this.formatArrayPaginate(F):this.formatArrayPaginate(I)}else return this.changeStateLoading(!1),[]}},data:()=>({url:"https://8grl16o77j.execute-api.us-west-2.amazonaws.com/prod/live/tops",urlPrematch:"https://8grl16o77j.execute-api.us-west-2.amazonaws.com/prod/topsBySeasonAndCategory/",data_headers:["team_id","player_id","playing_as","match_result","section","total","origen","destino"],token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",mapPlayers:new Map,setNationalityIds:new Set,arrayAgeRange:[0,0],arePlaysEmpty:!1,teamInfo:{},formatFilterStats:[],formatStats:[],playersInfo:{},isloading:!0,statsData:{},updateSlider:0,intervalIdtops:null,filterEmitAux:{},filtersSelect:{playingAs:[],matchResult:[],sections:[],zone:[],typeZone:[]},filtersValues:{type:1,sections:[1,2,3,4,5,6],matchResult:[1,2,3],playingAs:[1,2],zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],typeZone:1,arrayAgeRange:[1,60],setNationalitiesIds:[],setPositionsIds:[1,2,3,4,5,6,7,8,9]},expand:!1,playerexpand:0,positions:[{name:"Portero",fullname:"POR"},{name:"Defensa central",fullname:"DFC"},{name:"Lateral por izquierda",fullname:"LI"},{name:"Lateral por derecha",fullname:"LD"},{name:"Volante por izquierda",fullname:"VI"},{name:"Volante por derecha",fullname:"VD"},{name:"Volante defensivo",fullname:"VDF"},{name:"Volante ofensivo",fullname:"VO"},{name:"Delantero",fullname:"DEL"},{name:"Desconocida",fullname:"Desc"}],categories:[{id:1,name:"Goles"}]}),methods:{changeStateLoading(e){this.isloading=e},compareObjectsMinutes(e,n){return e.total>n.total?-1:e.total<n.total?1:e.minutes<n.minutes?-1:e.minutes>n.minutes?1:0},sonConjuntosDistintos(e,n){const r=Array.from(e),I=Array.from(n);if(r.length!==I.length)return!0;for(let F=0;F<r.length;F++)if(!n.has(r[F]))return!0;return!1},getnameshort(e){var n=e.split(","),r=n[0].split(" "),I=n[1].trim().split(" "),F="";r.length==2||r.length==1?r[0].length<4?F=r[0]+" "+r[1]:F=r[0]:r.length==3?F=r[0]+" "+r[1]:r.length==4&&(F=r[1]+" "+r[2]+" "+r[3]);var h=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";return F=F.replace(",",""),h+". "+F},changeCarrousel(){this.expand=!1,this.playerexpand=0},compareObjects(e,n){return e.total<n.total?-1:e.total>n.total?1:e.name<n.name?-1:e.name>n.name?1:0},sortAndSlice(e,n){return e.sort((r,I)=>(r.name<I.name?1:-1)&&(r.total<I.total?1:-1)).slice(0,n)},getCategoryName(e){let n="";for(let r=0;r<this.categories.length;r++)e==this.categories[r].id&&(n=this.categories[r].name);return n},translateTopCategories(e){return{1:[12,55,"35_r","54_r"],2:[2,20],3:[485,486,487,488],4:[10,324],5:[27,323],6:[510],7:[537,540,544,547],8:[328],9:[231,238,280,287,294,406],10:[13,25],11:[98,101,104,105,109,112,115,116],12:[4],13:[88],14:[5],15:[34],16:[23],17:[11],18:[17,50],19:[18,49],20:[14,52],21:[15,53],22:[39],23:[31,32]}[e]||[]},getCoordinatePointPerCategory(e){return{1:2,2:3,3:1,4:2,5:1,6:2,7:2,8:1,9:1,10:2,11:2,12:1,13:1,14:1,15:1,16:1,17:1,18:3,19:3,20:3,21:3,22:1,23:1}[e]||0},emitEventMedia(e,n,r){let I=this.filtersValues.matchResult,F=this.filtersValues.playingAs,h=this.filtersValues.sections,m=this.filtersValues.zone,a=this.translateTopCategories(n);Object.keys(this.filterEmitAux).length>0&&(I=this.filterEmitAux.matchResult,F=this.filterEmitAux.playingAs,h=this.filterEmitAux.sections,m=this.filterEmitAux.zone);const v=1,g=2,i=3,_=this.isTeam?i:g,b=e.player_id;let c=[],s=this.isTeam?e.id:this.filterTeam;b?this.isTeam?s=b:(c=[b],a=a.filter(l=>!l.toString().includes("_r"))):this.isTeam?s=e.id:(c=[e.id],a=a.filter(l=>!l.toString().includes("_r")));const o={seasonId:this.season,isFeaturedPlayers:!1,mainSectionType:v,playListType:_,gameIds:null,playerIds:c,goalkeeperIds:[],categoryIds:this.translateTopCategories(n),teamId:s||0,matchResult:I,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:r,playingAs:F,timeSections:h,fieldSections:m,coordinatePoint:this.getCoordinatePointPerCategory(n)}};this.$emit("setopenmedia",o)},emitEventMediaFullTable(e,n,r){let I=this.filtersValues.matchResult,F=this.filtersValues.playingAs,h=this.filtersValues.sections,m=this.filtersValues.zone,a=this.translateTopCategories(n);Object.keys(this.filterEmitAux).length>0&&(I=this.filterEmitAux.matchResult,F=this.filterEmitAux.playingAs,h=this.filterEmitAux.sections,m=this.filterEmitAux.zone);const v=1,g=2,i=3,_=this.isTeam?i:g;let b=[],c=this.isTeam?e.id:this.filterTeam;this.isTeam?c=e.id:(b=[e.id],a=a.filter(o=>!o.toString().includes("_r")));const s={seasonId:this.season,isFeaturedPlayers:!1,mainSectionType:v,playListType:_,gameIds:null,playerIds:b,goalkeeperIds:[],categoryIds:a,teamId:c||0,matchResult:I,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:r,playingAs:F,timeSections:h,fieldSections:m,coordinatePoint:this.getCoordinatePointPerCategory(n)}};this.$emit("setopenmedia",s)},replaceImgPlayer(e){return e.replace("https://az755631.vo.msecnd.net/players-profile/","https://az755631.vo.msecnd.net/players-profile-no-bg/")},abrevName(e){var n=e.split(","),r=n[0].split(" "),I=n[1].trim().split(" "),F="";r.length==2||r.length==1?r[0].length<4?F=r[0]+" "+r[1]:F=r[0]:r.length==3?F=r[0]+" "+r[1]:r.length==4&&(F=r[1]+" "+r[2]+" "+r[3]);var h=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";F=F.replace(",","");var m=h+". "+F;return m},clickMore(e){this.$emit("more",{category:e,categoryName:this.categoryName})},morestats(){this.$emit("more",this.category)},viewprofile(e,n){this.$emit("clickprofile",{id:e,teamId:n,isTeam:this.isTeam})},clickexpand(e){this.expand=e.expand,this.playerexpand=e.id},async getCategoryStats(e){this.mapPlayers=new Map;try{if(!e)return;let n=[],r={},I={};this.arePlaysEmpty=!1;const F=cl.create({headers:{Authorization:`${this.token}`}});this.isloading=!0;let h={};if(this.typeData==1?this.isWidget&&this.teamWidget!=0?h=await F.get(this.url+"/"+this.gameId+"/"+this.category+"?t="+this.teamWidget):h=await F.get(this.url+"/"+this.gameId+"/"+this.category):this.game.game_status==1?this.isWidget&&this.teamWidget!=0?h=await F.get(this.url+"/"+this.gameId+"/"+this.category+"?acc=1&t="+this.teamWidget):h=await F.get(this.url+"/"+this.gameId+"/"+this.category+"?acc=1"):this.isWidget&&this.teamWidget!=0?h=await F.get(this.urlPrematch+this.season+"/"+this.category+"?t="+this.teamWidget):h=await F.get(this.urlPrematch+this.season+"/"+this.category+"?t="+this.game.homeTeam.team_id+"&t="+this.game.awayTeam.team_id),h&&h.data&&h.data.data&&h.data.data.length>0){n=h.data.data.map(a=>this.formatStatsData(a)),h.data.teams.forEach(a=>{r[a[0]]={},r[a[0]].id=a[0],r[a[0]].name=a[1],r[a[0]].abrv=a[2],r[a[0]].img=a[3],r[a[0]].effectiveness=a[4],r[a[0]].games_played=a[5],r[a[0]].games_played_lastseason=a[6],r[a[0]].positiontable=a[7],r[a[0]].goals=a[8],r[a[0]].goalsrecived=a[9],r[a[0]].xg=a[10],r[a[0]].frecuency=a[11],r[a[0]].game_avg=a[12],r[a[0]].game_avg_last_season=a[13]});const m=new Set;h.data.players.forEach(a=>{const v=this.getObjectPlayer(a);this.mapPlayers.set(v.numberId,v);const g=v.numberAge,i=v.teamName.length>0?v.teamName[0].acronym:"",_=v.teamName.length>0?r[v.teamName[0].team_id].name:"",b=v.teamName.length>0?v.teamName[0].team_id:"",c=this.positions[v.numberPositionId-1].fullname,s=this.positions[v.numberPositionId-1].name,o=v.countryId.length>0?v.countryId[0].nationality_id:"",l=v.effectiveness,d=v.min,u=v.games,p=v.date;v.arrayNationalities.forEach(f=>{m.add(f.numberId)}),I[a[0]]={id:a[0],name:a[1],img:a[2],age:g,team:i,teamname:_,teamid:b,position:c,positionfull:s,effectiveness:l,country:o,games_played:u,minutes_played:d,date:p,nationality:v.stringNationalityName,player_country_flag:v.player_country_flag,positionId:v.numberPositionId}}),this.setNationalityIds=m,this.arrayAgeRange=[h.data.min_age,h.data.max_age]}else this.arePlaysEmpty=!0;this.teamInfo=r,this.playersInfo=I,this.formatStats=n,this.formatFilterStats=this.filterRecords(this.filtersSelect),this.statsData=h}catch(n){return Promise.reject(n)}},filterRecords(e){return this.formatStats.length>0?this.formatStats.filter(n=>{const r=e.playingAs.includes(n.playing_as),I=e.matchResult.includes(n.match_result),F=e.sections.includes(n.section),h=e.typeZone===1&&e.zone.includes(n.origen)||e.typeZone===2&&e.zone.includes(n.destino);if(e.setPositionsIds&&e.setNationalitiesIds&&e.arrayAgeRange&&e.setYear&&!this.isTeam){const m=this.mapPlayers.get(n.player_id);if(!m)return!1;if(e.booleanAreNationalTeamsVisible){if(e.setAvailableNationalTeamsPlayersIds.size>0&&!e.setAvailableNationalTeamsPlayersIds.has(n.player_id))return!1}else{let a=!1;for(const v of m.arrayNationalitiesIds)if(e.setNationalitiesIds.has(v)){a=!0;break}if(!a)return!1}if(m.numberAge<e.arrayAgeRange[0]||m.numberAge>e.arrayAgeRange[1]||m.date<e.setYear||!e.setPositionsIds.includes(m.numberPositionId))return!1}return(e.playingAs.length===0||r)&&(e.matchResult.length===0||I)&&(e.sections.length===0||F)&&(e.zone.length===0||h)}):[]},updateSliderF(){this.updateSlider+=1},formatStatsData(e){const n={};return e[1]===0&&(e[2]===1||e[2]===2)&&(e[2]=3-e[2]),e[1]===0&&(e[3]===1||e[3]===2)&&(e[3]=3-e[3]),this.data_headers.forEach((r,I)=>{n[r]=e[I]}),n},getObjectPlayer(e){const n=[],r=e[7].map(F=>(n.push(F.nationality_id),{stringName:F.nationality,numberId:F.nationality_id})),I=e[9].split("-");return{numberId:e[0]!==void 0?e[0]:"",stringFullName:e[1]!==void 0?e[1]:"",stringImageUrl:e[2]!==void 0?e[2]:"",numberTeamId:e[3]!==void 0?e[3]:"",player_country_flag:"https://az755631.vo.msecnd.net/flags/"+e[3]+".jpg",stringNationalityName:kq[e[3]],numberAge:e[5]!==void 0?e[5]:"",numberPositionId:e[6]!==void 0?e[6]:"",countryId:e[7]!==void 0?e[7]:"",teamName:e[10]!==void 0?e[10]:"",effectiveness:e[11]!==void 0?e[11]:"",min:e[13]!==void 0?e[13]:"",games:e[12]!==void 0?e[12]:"",date:I.length>0?Number(I[0]):0,arrayNationalities:r,category:this.categoryName,arrayNationalitiesIds:n}},formatArrayPaginate(e){const n=Math.ceil(e.length/this.numRows);return Array.from({length:n},(r,I)=>{const F=I*this.numRows,h=F+this.numRows;return e.slice(F,h)})}},async created(){try{await this.getCategoryStats(this.season),this.game.is_live==1&&(this.intervalIdtops=setInterval(async()=>{await this.getCategoryStats(this.season)},this.timeLiveComparativeAvanced),this.$emit("intervalidtops",this.intervalIdtops))}catch(e){throw new Error(e)}},beforeDestroy(){clearInterval(this.intervalIdtops)}},Cq=()=>{t.useCssVars(e=>({"62d9bb21":e.borderRadius,77175157:e.borderWidth,"760052f4":e.borderColor}))},Sq=vT.setup;vT.setup=Sq?(e,n)=>(Cq(),Sq(e,n)):Cq;const a5=e=>(t.pushScopeId("data-v-3d454d9d"),e=e(),t.popScopeId(),e),OOt={ref:"myDivRef"},LOt={class:"btnViewFullList"},FOt={class:"text"},DOt={class:"groupsLeague"},zOt={class:"row-table-carrousel"},VOt={key:1,class:"container-no-search-result"},ROt={key:0,class:"overlay-loading-top"},$Ot=[a5(()=>t.createElementVNode("div",{class:"overlay-loading-top__spinner"},[t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/balon_liga.png",alt:""})],-1)),a5(()=>t.createElementVNode("div",{class:"overlay-loading-top__text"},"Loading...",-1))],jOt=a5(()=>t.createElementVNode("div",{class:"container-no-search-result-title"},"No existen resultados",-1)),UOt=a5(()=>t.createElementVNode("div",{class:"container-no-search-result-subtitle"},[t.createTextVNode(" No existen resultados para este tipo de"),t.createElementVNode("br"),t.createTextVNode(" jugada, considerando el torneo y otros"),t.createElementVNode("br"),t.createTextVNode(" filtros que has seleccionado. ")],-1));function GOt(e,n,r,I,F,h){const m=t.resolveComponent("GSCLeaders"),a=t.resolveComponent("GSCRowTable"),v=t.resolveComponent("GSCExpandedInfo"),g=t.resolveComponent("GSCCarousel"),i=t.resolveComponent("GSCTableHeader");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(r.type==0?"gsc-top":"gsc-top-full")},[t.createElementVNode("div",OOt,[t.createElementVNode("div",LOt,[t.createElementVNode("div",FOt,[t.createElementVNode("div",DOt,t.toDisplayString(r.categoryName),1)])]),r.type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[h.topData.length>0?(t.openBlock(),t.createBlock(g,{key:0,items:h.topData,"is-pagination-visible":!0,"are-navigation-arrows-visible":!0,onInput:h.changeCarrousel},{default:t.withCtx(({item:_})=>[t.createElementVNode("div",zOt,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_,(b,c)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[b.top==1?(t.openBlock(),t.createBlock(m,{key:0,onMediadata:n[0]||(n[0]=s=>h.emitEventMedia(s,r.category,r.categoryName)),type:r.typeTable,"can-play-videos":r.canPlayVideos,"is-expanded":e.playerexpand==b.id&&e.expand,ref_for:!0,ref:"GSCLeaders",data:r.typeTable==0?{top:"01",photo:b.img,logo:"https://az755631.vo.msecnd.net/teams-80/"+b.teamid+".png",name:b.name,player_short:b.name_short,player_id:b.id,categoryId:r.category,total:b.total}:{top:"01",logo:b.img,total:b.total,name_team:b.name,player_id:b.id},"category-name":r.categoryName,buttonMaxWidth:r.typeTable!=0?I.elementSize.width>360?"210px":"130px":I.elementSize.width>360?"180px":"110px",buttonFontSize:"12px",iconSize:"11px",onExpand:h.clickexpand,onMore:h.morestats},null,8,["type","can-play-videos","is-expanded","data","category-name","buttonMaxWidth","onExpand","onMore"])):(t.openBlock(),t.createBlock(a,{key:1,"type-data":r.typeData,"team-widget":r.teamWidget,game:r.game,type:r.typeTable,"type-view":r.type,"is-expanded":e.playerexpand==b.id&&e.expand,onMediadata:n[1]||(n[1]=s=>h.emitEventMedia(s,r.category,r.categoryName)),data:r.typeTable==0?{position:b.top,player_name:b.name,player_short:b.name_short,player_photo:b.img,total:b.total,id:b.id,player_age:b.age,team_abrev:b.team,team_logo:"https://az755631.vo.msecnd.net/teams-80/"+b.teamid+".png",player_position:b.position,player_country_flag:"https://az755631.vo.msecnd.net/flags/"+b.country+".jpg",player_games:b.minutes,player_min:b.games,league_name:"          Liga MX          "}:{position:b.top,team_logo:b.img,team_abrev:b.name,frequency:b.frecuency,promthistournament:b.game_avg,promlasttournament:b.game_avg_last_season,teams_games:"-",category:r.category,total:b.total,id:b.id},height:"71px","can-play-videos":r.canPlayVideos,background:c%2===0?r.backgroundEven:r.backgroundOdd,onExpand:h.clickexpand},null,8,["type-data","team-widget","game","type","type-view","is-expanded","data","can-play-videos","background","onExpand"])),e.expand&&e.playerexpand==b.id?(t.openBlock(),t.createBlock(v,{key:2,type:r.typeTable,"is-live":r.game.is_live,"view-effectiveness":b.positionId!==1,data:r.typeTable==0?{teams:b.teamname,age:b.age,dataofbirth:b.date,nationality:b.nationality,countryFlag:b.player_country_flag,position:b.position,games:b.games,min:b.minutes,goals:b.total,effectiveness:b.effectiveness,category:r.categoryName,id:b.id}:{position:b.positiontable,goals:b.goals,goals_received:b.goalsrecived,games_played:b.games_played,category:r.categoryName,effectiveness:b.effectiveness,xg:b.xg,total:b.total,attendance:"-",id:b.id},onViewprofile:s=>h.viewprofile(s,b.teamid),background:c%2===0?r.backgroundEven:r.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):t.createCommentVNode("",!0)],64))),128))])]),_:1},8,["items","onInput"])):(t.openBlock(),t.createElementBlock("div",VOt,[e.isloading?(t.openBlock(),t.createElementBlock("div",ROt,$Ot)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[jOt,UOt],64))]))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(i,{background:"#183143",type:r.typeTable},null,8,["type"]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h.topData,(_,b)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:b},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_,(c,s)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:s},[t.createVNode(a,{"type-data":r.typeData,"team-widget":r.teamWidget,game:r.game,type:r.typeTable,"type-view":r.type,"can-play-videos":r.canPlayVideos,"is-expanded":e.playerexpand==c.id&&e.expand,onMediadata:n[2]||(n[2]=o=>h.emitEventMediaFullTable(o,r.category,r.categoryName)),data:r.typeTable==0?{position:c.top,player_name:c.name,player_short:c.name_short,player_photo:c.img,total:c.total,id:c.id,player_age:c.age,team_abrev:c.team,team_logo:"https://az755631.vo.msecnd.net/teams-80/"+c.teamid+".png",player_position:c.position,player_country_flag:"https://az755631.vo.msecnd.net/flags/"+c.country+".jpg",player_games:c.games,player_min:c.minutes,league_name:"          Liga MX          "}:{position:c.positiontable,team_logo:c.img,team_abrev:c.name,frequency:c.frecuency,promthistournament:c.game_avg,promlasttournament:c.game_avg_last_season,category:r.category,team_games:c.games_played,total:c.total,id:c.id},height:"71px",background:((b+1)*5+s)%2===0?r.backgroundOdd:r.backgroundEven,onExpand:h.clickexpand},null,8,["type-data","team-widget","game","type","type-view","can-play-videos","is-expanded","data","background","onExpand"]),e.expand&&e.playerexpand==c.id?(t.openBlock(),t.createBlock(v,{key:0,type:r.typeTable,"is-live":r.game.is_live,additionalClass:"fullTable","view-effectiveness":c.positionId!==1,data:r.typeTable==0?{teams:c.teamname,age:c.age,dataofbirth:c.date,nationality:c.nationality,countryFlag:c.player_country_flag,position:c.positionfull,positionfull:c.positionfull,games:c.games,min:c.minutes,goals:c.total,effectiveness:c.effectiveness,category:h.getCategoryName(r.category),id:c.id}:{position:c.positiontable,goals:c.goals,goals_received:c.goalsrecived,games_played:c.games_played,category:r.categoryName,effectiveness:c.effectiveness,xg:c.xg,total:c.total,category:h.getCategoryName(r.category),attendance:"-",id:c.id},onViewprofile:o=>h.viewprofile(o,c.teamid),background:s%2===0?r.backgroundEven:r.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):t.createCommentVNode("",!0)],64))),128))],64))),128))],64))],512)],2)}const HOt=Hr(vT,[["render",GOt],["__scopeId","data-v-3d454d9d"]]),WOt=(e,n)=>{const r=e.__vccOpts||e;for(const[I,F]of n)r[I]=F;return r},qOt={props:{id:Number,textValue:String,icon:String,numFilter:Number,iconVisible:{type:Boolean,default:!0},activeClickLabel:{type:Boolean,default:!1},height:{type:String,default:"35px"},borderRadius:{type:String,default:"30px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderColor:String,backgroundColor:{type:String,default:"#23303B"},fontSize:{type:String,default:"13px"},fontColor:{type:String,default:"#FFFFFF"},fontFamily:{type:String,default:"Poppins-Regular"},iconSize:{type:String,default:"20px"}},computed:{customStyle(){return{height:this.height,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,cursor:this.cursorType,fontSize:this.fontSize,fontFamily:`${this.fontFamily} !important`}},customIcon(){return{width:this.iconSize}}},methods:{btnLabel(){this.$emit("clickLabel",this.id)},btnClose(){this.$emit("clickClose",this.id)}}},YOt=["src"],XOt=["src"];function JOt(e,n,r,I,F,h){return t.openBlock(),t.createElementBlock("div",null,[r.activeClickLabel?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(h.customStyle),class:"gsc-label",onClick:n[0]||(n[0]=(...m)=>h.btnLabel&&h.btnLabel(...m))},[t.createTextVNode(t.toDisplayString(r.numFilter)+" "+t.toDisplayString(r.textValue)+" ",1),r.iconVisible?(t.openBlock(),t.createElementBlock("img",{key:0,style:t.normalizeStyle(h.customIcon),class:"icon",src:r.icon},null,12,YOt)):t.createCommentVNode("",!0)],4)):(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-label",style:t.normalizeStyle(h.customStyle)},[t.createTextVNode(t.toDisplayString(r.numFilter)+" "+t.toDisplayString(r.textValue)+" ",1),r.iconVisible?(t.openBlock(),t.createElementBlock("img",{key:0,onClick:n[1]||(n[1]=(...m)=>h.btnClose&&h.btnClose(...m)),style:t.normalizeStyle(h.customIcon),class:"icon",src:r.icon},null,12,XOt)):t.createCommentVNode("",!0)],4))])}const ZOt=WOt(qOt,[["render",JOt],["__scopeId","data-v-42ff544a"]]);function KOt(e){const n=t.ref({width:0,height:0});function r(){const I=e.value.getBoundingClientRect();n.value.width=I.width,n.value.height=I.height}return t.onMounted(()=>{r(),window.addEventListener("resize",r)}),t.onUnmounted(()=>{window.removeEventListener("resize",r)}),{elementSize:n}}const QOt=(e,n)=>{const r=e.__vccOpts||e;for(const[I,F]of n)r[I]=F;return r},_T={name:"ScrollableContainer",props:{backgroundColor:{type:String,default:"#0D1D29"},pxScroll:{type:Number,default:100},arrows:{type:Boolean,default:!0},arrowsHideOnNoScroll:{type:Boolean,default:!1},arrowsScrollHide:{type:Boolean,default:!1},arrowsColor:{type:String,default:"#CBEE6B"},arrowsHeight:{type:Number,default:15},arrowsWidth:{type:Number,default:15},arrowsPadding:{type:Number,default:5},arrowsMargin:{type:Number,default:10},arrowsRadius:{type:String,default:"0%"},arrowsBorder:{type:String,default:"none"},arrowsBackground:{type:String,default:"#0D1D29"},arrowsContainerBgL:{type:String,default:"#0D1D29"},arrowsContainerBgR:{type:String,default:"#0D1D29"},scrollColor:{type:String,default:"#c3e569"},arrowsPosition:{type:String,default:"relative"},height:{type:String,default:"100%"}},data(){return{showLeftArrow:!1,showRightArrow:!0,intervalid1:""}},mounted(){this.getScroll(),this.arrowsHideOnNoScroll&&window.addEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&this.listenerLoad()},beforeUnmount(){this.arrowsHideOnNoScroll&&window.removeEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&clearInterval(this.intervalid1)},computed:{getViewBox(){return`-2 0 ${this.arrowsWidth} ${this.arrowsHeight}`},hideShowLeftArrow(){let e="";return this.arrowsPosition=="absolute"?e="leftAbsolute":e="leftRelative",this.arrowsScrollHide?this.showLeftArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e},hideShowRightArrow(){let e="";return this.arrowsPosition=="absolute"?e="rightAbsolute":e="rightRelative",this.arrowsScrollHide?this.showRightArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e}},methods:{scrollLeft(){this.$refs.content.scrollLeft-=this.pxScroll},scrollRight(){this.$refs.content.scrollLeft+=this.pxScroll},getScroll(){let e=0;this.arrowsPosition=="relative"?e=this.$refs.content.scrollWidth-this.$el.clientWidth+this.arrowsMargin*2+this.arrowsWidth*4:e=this.$refs.content.scrollWidth-this.$el.clientWidth,this.$refs.content.scrollLeft==0?this.showLeftArrow=!1:this.showLeftArrow=!0,e>0&&(this.$refs.content.scrollLeft==e?this.showRightArrow=!1:this.showRightArrow=!0),this.arrowsHideOnNoScroll&&this.$refs.content.clientWidth===this.$refs.content.scrollWidth&&(this.showRightArrow=!1)},resizeSlider(){this.getScroll();let e;clearTimeout(e),e=setTimeout(this.getScroll,1e3)},listenerLoad(){this.intervalid1=setInterval((function(){var e=this.$el.clientWidth,n=this.$refs.content.scrollWidth;n>0&&e>0&&(n>e?(this.showRightArrow=!0,clearInterval(this.intervalid1)):clearInterval(this.intervalid1))}).bind(this),3e3)}}},Tq=()=>{t.useCssVars(e=>({"42d3dba6":e.backgroundColor,"4de5d2cf":e.height,"67bafa7b":e.arrowsPosition,"61e1032e":e.arrowsPadding+"px","79a4ac00":e.arrowsBackground,"6b8355c6":e.arrowsHeight*2+"px","29a58368":e.arrowsWidth*2+"px","3622fa64":e.arrowsRadius,"1ba101fe":e.arrowsBorder,"0bafb5e6":e.arrowsMargin+"px","423a44b8":e.arrowsContainerBgL,"423a44be":e.arrowsContainerBgR,"10b117ee":e.scrollColor}))},Eq=_T.setup;_T.setup=Eq?(e,n)=>(Tq(),Eq(e,n)):Tq;const eLt={ref:"gscScrollableContainer",class:"scrollable-container"},tLt={class:"scrollable-arrows"},aLt=["width","height","viewBox"],nLt=["stroke"],rLt={class:"scrollable-wrapper"},iLt={class:"scrollable-arrows"},oLt=["width","height","viewBox"],sLt=["stroke"];function lLt(e,n,r,I,F,h){return t.openBlock(),t.createElementBlock("div",eLt,[r.arrows?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["arrows-container",h.hideShowLeftArrow]),onClick:n[0]||(n[0]=(...m)=>h.scrollLeft&&h.scrollLeft(...m))},[t.createElementVNode("div",tLt,[(t.openBlock(),t.createElementBlock("svg",{width:r.arrowsWidth,height:r.arrowsHeight,viewBox:h.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M6.36523 13.788L1.10146 8.52429C0.479824 7.90265 0.479824 6.88541 1.10147 6.26377L6.36523 1",stroke:r.arrowsColor},null,8,nLt)],8,aLt))])],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"scrollable-content scrollable-content-slider",ref:"content",onScroll:n[1]||(n[1]=(...m)=>h.getScroll&&h.getScroll(...m))},[t.createElementVNode("div",rLt,[t.renderSlot(e.$slots,"default",{},void 0,!0)])],544),r.arrows?(t.openBlock(),t.createElementBlock("div",{key:1,id:"arrows-container-right",class:t.normalizeClass(["arrows-container",h.hideShowRightArrow]),onClick:n[2]||(n[2]=(...m)=>h.scrollRight&&h.scrollRight(...m))},[t.createElementVNode("div",iLt,[(t.openBlock(),t.createElementBlock("svg",{width:r.arrowsWidth,height:r.arrowsHeight,viewBox:h.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.634765 1.21195L5.89853 6.47571C6.52018 7.09735 6.52018 8.11459 5.89853 8.73623L0.634766 14",stroke:r.arrowsColor},null,8,sLt)],8,oLt))])],2)):t.createCommentVNode("",!0)],512)}const cLt=QOt(_T,[["render",lLt],["__scopeId","data-v-b548a08d"]]),dLt=(e,n)=>{const r=e.__vccOpts||e;for(const[I,F]of n)r[I]=F;return r},bT={components:{GSCSlider:cLt},props:{arrow:{type:Boolean,required:!0},buttons:{type:Array,required:!0},width:{type:String,default:"300px"},height:{type:String,default:"80px"},fontSize:{type:String,default:"16px"},colorFont:{type:String,default:"#ffffff"},backgroundOptionActive:{type:String,default:"#0d1d29"},colorOptionActive:{type:String,default:"#cbee6b"},colorOptionDisable:{type:String,default:"gray"},backgroundOptionDisable:{type:String,default:"#0d1d29"},fontFamily:{type:String,default:"Poppins-Semibold"},borderWidth:{type:String,default:"3px"},borderRadius:{type:String,default:"0px"},selectedOption:{type:String,default:""},type:{type:Number,default:0},borderWidthContainer:{type:String,default:"1px"},background:{type:String,default:"#0d1d29"},borderColorContainer:{type:String,default:"#505355"},pxScroll:{type:Number,default:100},scrollColor:{type:String,default:"#c3e569"},arrowsPosition:{type:String,default:"relative"},arrowsScrollHide:{type:Boolean,default:!1},arrowsBackground:{type:String,default:"#0D1D29"},arrowsContainerBgL:{type:String,default:"#0D1D29"},arrowsContainerBgR:{type:String,default:"#0D1D29"},arrowsMargin:{type:Number,default:10},arrowsRadius:{type:String,default:"0%"},arrowsBorder:{type:String,default:"none"}},setup(){const e=t.ref("myDivRef"),{elementSize:n}=KOt(e);return{myDivRef:e,elementSize:n}},methods:{clickEmitEvent(e){this.$emit("input",e)},customGrid(e){var n={};return e.width>768?n={fontSize:"16px"}:e.width>480?n={fontSize:"14px"}:n={fontSize:"12px"},n}}},Aq=()=>{t.useCssVars(e=>({cff4a118:e.fontSize,"42aab7f6":e.borderWidth,d29bcbd2:e.fontFamily,df6c5a9c:e.background,"09b32862":e.borderRadius,"8c0d6daa":e.borderWidthContainer,e8a86fa4:e.borderColorContainer,"179494da":e.colorOptionActive,cea5647c:e.width}))},Mq=bT.setup;bT.setup=Mq?(e,n)=>(Aq(),Mq(e,n)):Aq;const uLt={ref:"myDivRef"},hLt={key:0,class:"gs-switch-container"},pLt=["onClick"],fLt={key:1,class:"gs-switch-container-type"},mLt=["onClick"],gLt={key:2,class:"gs-switch-container-carousel"},yLt=["onClick"];function vLt(e,n,r,I,F,h){const m=t.resolveComponent("GSCSlider");return t.openBlock(),t.createElementBlock("div",uLt,[r.type==0?(t.openBlock(),t.createElementBlock("div",hLt,[t.createElementVNode("div",{class:"gs-switch-container__control",style:t.normalizeStyle([h.customGrid(I.elementSize)])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.buttons,(a,v)=>(t.openBlock(),t.createElementBlock("div",{class:"gs-switch-container__control__button-option",style:t.normalizeStyle([{height:r.height},r.selectedOption==a?{borderColor:r.colorOptionActive,color:r.colorFont+"!important",background:r.backgroundOptionActive}:{borderColor:r.colorOptionDisable,color:"grey !important"}]),key:v,onClick:g=>(r.selectedOption=a,h.clickEmitEvent(a))},t.toDisplayString(a),13,pLt))),128))],4),t.renderSlot(e.$slots,r.selectedOption,{},void 0,!0)])):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",fLt,[t.createElementVNode("div",{class:"gs-switch-container-type__control",style:t.normalizeStyle([h.customGrid(I.elementSize)])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.buttons,(a,v)=>(t.openBlock(),t.createElementBlock("div",{class:"gs-switch-container-type__control__button-option-type",style:t.normalizeStyle([{height:r.height},r.selectedOption==a?{borderColor:r.colorOptionActive,color:r.colorFont+"!important",background:r.backgroundOptionActive}:{borderColor:r.colorOptionDisable,borderWidth:"0px",borderWidth:"0px !important",color:"grey !important",background:r.backgroundOptionDisable}]),key:v,onClick:g=>(r.selectedOption=a,h.clickEmitEvent(a))},t.toDisplayString(a),13,mLt))),128))],4)])):t.createCommentVNode("",!0),r.type==2?(t.openBlock(),t.createElementBlock("div",gLt,[t.createVNode(m,{arrows:r.arrow,"background-color":r.background,"px-scroll":r.pxScroll,"scroll-color":r.scrollColor,"arrows-position":r.arrowsPosition,arrowsScrollHide:r.arrowsScrollHide,"arrows-background":r.arrowsBackground,"arrows-container-bg-l":r.arrowsContainerBgL,"arrows-container-bg-r":r.arrowsContainerBgR,"arrows-margin":r.arrowsMargin,"arrows-radius":r.arrowsRadius,"arrows-border":r.arrowsBorder},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.buttons,(a,v)=>(t.openBlock(),t.createElementBlock("div",{class:"button-option-multi",style:t.normalizeStyle([{height:r.height},r.selectedOption==a?{borderColor:r.colorOptionActive,color:r.colorFont+"!important",background:r.backgroundOptionActive}:{borderColor:r.colorOptionDisable,color:"grey !important"}]),key:v,onClick:g=>(r.selectedOption=a,h.clickEmitEvent(a))},t.toDisplayString(a),13,yLt))),128))]),_:1},8,["arrows","background-color","px-scroll","scroll-color","arrows-position","arrowsScrollHide","arrows-background","arrows-container-bg-l","arrows-container-bg-r","arrows-margin","arrows-radius","arrows-border"])])):t.createCommentVNode("",!0)],512)}const xT=dLt(bT,[["render",vLt],["__scopeId","data-v-8a86dfaf"]]),j_a="",U_a="";function _Lt(){return{backgroundColor:"#2e3b46",borderColor:"rgba(255, 255, 255, 0.20)",infoBorderColor:"rgba(255, 255, 255, 0.20)",height:"40px",padding:"5px 12px",textFontFamily:"'Poppins-Regular'"}}const G_a="",bLt={comfiltersContainer:"_comfiltersContainer_xl2as_1",comfiltersContainer1232:"_comfiltersContainer1232_xl2as_1",closeFiltersPc:"_closeFiltersPc_xl2as_1",comtextleyemdmultipleleagues:"_comtextleyemdmultipleleagues_xl2as_1",comtextleyemdmultipleleagues380:"_comtextleyemdmultipleleagues380_xl2as_1",comfiltersContainer760:"_comfiltersContainer760_xl2as_1",comfiltersContainer460:"_comfiltersContainer460_xl2as_1",comcontainerSection:"_comcontainerSection_xl2as_1",comcontainerSection1232:"_comcontainerSection1232_xl2as_1",comcontainerSection960:"_comcontainerSection960_xl2as_1",comcontainerSection320:"_comcontainerSection320_xl2as_1",comcontainerSection350:"_comcontainerSection350_xl2as_1",comtemplateLosMejores1:"_comtemplateLosMejores1_xl2as_1",comtemplateLosMejores11232:"_comtemplateLosMejores11232_xl2as_1",comtemplateLosMejores1960:"_comtemplateLosMejores1960_xl2as_1",comtemplateLosMejores1420:"_comtemplateLosMejores1420_xl2as_1",comtemplateLosMejores1320:"_comtemplateLosMejores1320_xl2as_1",comtemplateLosMejores1540:"_comtemplateLosMejores1540_xl2as_1",comtemplateLosMejores1350:"_comtemplateLosMejores1350_xl2as_1",comtopFiltersParent:"_comtopFiltersParent_xl2as_1",comtopFiltersParent1232:"_comtopFiltersParent1232_xl2as_1",comtopFiltersParent960:"_comtopFiltersParent960_xl2as_1",comtopFiltersParent460:"_comtopFiltersParent460_xl2as_1",comtopFiltersParent420:"_comtopFiltersParent420_xl2as_1",comcontainerTheBest:"_comcontainerTheBest_xl2as_1",comcontainerTheBest1232:"_comcontainerTheBest1232_xl2as_1",comcontainerTheBest960:"_comcontainerTheBest960_xl2as_1",comcontainerTheBest320:"_comcontainerTheBest320_xl2as_1",comtitleSection:"_comtitleSection_xl2as_1",comtitleSection540:"_comtitleSection540_xl2as_1",comcontainerTables:"_comcontainerTables_xl2as_1",comcontainerTables960:"_comcontainerTables960_xl2as_1",comcontainerTables760:"_comcontainerTables760_xl2as_1",comcontainerTables320:"_comcontainerTables320_xl2as_1",comtoniKroosWrapper:"_comtoniKroosWrapper_xl2as_1",comtoniKroosWrapper1080:"_comtoniKroosWrapper1080_xl2as_1",comtoniKroosWrapper975:"_comtoniKroosWrapper975_xl2as_1",comtoniKroosWrapper760:"_comtoniKroosWrapper760_xl2as_1",comtoniKroosWrapper420:"_comtoniKroosWrapper420_xl2as_1",comtoniKroosWrapper320:"_comtoniKroosWrapper320_xl2as_1",frameChild:"_frameChild_xl2as_1",filtros:"_filtros_xl2as_1",groupParent:"_groupParent_xl2as_1",shapeIcon:"_shapeIcon_xl2as_1",btnFilters:"_btnFilters_xl2as_1",btnFiltersPC:"_btnFiltersPC_xl2as_1",comquitarFiltros:"_comquitarFiltros_xl2as_1",comquitarFiltros730:"_comquitarFiltros730_xl2as_1",comquitarFiltros480:"_comquitarFiltros480_xl2as_1",comquitarFiltros380:"_comquitarFiltros380_xl2as_1",btnCloseFilters:"_btnCloseFilters_xl2as_1",commejoresJugadores:"_commejoresJugadores_xl2as_1",commejoresJugadores730:"_commejoresJugadores730_xl2as_1",commejoresJugadores480:"_commejoresJugadores480_xl2as_1",mejoresJugadoresSM:"_mejoresJugadoresSM_xl2as_1",toniKroos:"_toniKroos_xl2as_1",teamBar:"_teamBar_xl2as_1",commenuSection:"_commenuSection_xl2as_1",commenuSection960:"_commenuSection960_xl2as_1",comcontainerMenu:"_comcontainerMenu_xl2as_1",comcontainerMenu760:"_comcontainerMenu760_xl2as_1",containerFilters:"_containerFilters_xl2as_1",teamBarParent:"_teamBarParent_xl2as_1",comtopFilters:"_comtopFilters_xl2as_1",comtopFilters1232:"_comtopFilters1232_xl2as_1",comtopFilters420:"_comtopFilters420_xl2as_1",comtopFilters460:"_comtopFilters460_xl2as_1",comlosMejores:"_comlosMejores_xl2as_1",comlosMejores380:"_comlosMejores380_xl2as_1",comlosMejores530:"_comlosMejores530_xl2as_1",comlosMejores730:"_comlosMejores730_xl2as_1",commenuSectionHeader:"_commenuSectionHeader_xl2as_1",commenuSectionHeader1232:"_commenuSectionHeader1232_xl2as_1",commenuSectionHeader960:"_commenuSectionHeader960_xl2as_1",commenuSectionHeader730:"_commenuSectionHeader730_xl2as_1",comdropdown:"_comdropdown_xl2as_1",comdropdown730:"_comdropdown730_xl2as_1",comdropdown1:"_comdropdown1_xl2as_1",comdropdown1730:"_comdropdown1730_xl2as_1",comdropdownParent:"_comdropdownParent_xl2as_1",comdropdownParent730:"_comdropdownParent730_xl2as_1",commenuSectionParentHeader:"_commenuSectionParentHeader_xl2as_1",commenuSectionParentHeader1232:"_commenuSectionParentHeader1232_xl2as_1",commenuSectionParentHeader960:"_commenuSectionParentHeader960_xl2as_1",commenuSectionParentHeader730:"_commenuSectionParentHeader730_xl2as_1",commenuSectionParentHeader430:"_commenuSectionParentHeader430_xl2as_1",comdescubreVideos:"_comdescubreVideos_xl2as_1",comdescubreVideos1232:"_comdescubreVideos1232_xl2as_1",comdescubreVideos960:"_comdescubreVideos960_xl2as_1",allCategories:"_allCategories_xl2as_1",containerScountingBtncom:"_containerScountingBtncom_xl2as_3",btnDeleteAplicacom:"_btnDeleteAplicacom_xl2as_13",SearchBtnBarcom:"_SearchBtnBarcom_xl2as_33",btnLeyendTxtcom:"_btnLeyendTxtcom_xl2as_52",BtnSearchScountingcom:"_BtnSearchScountingcom_xl2as_61",containerPredefinedcom:"_containerPredefinedcom_xl2as_85",containerPredefinedScountingcom:"_containerPredefinedScountingcom_xl2as_92",titleContainerPredefinedcom:"_titleContainerPredefinedcom_xl2as_100",subtitleContainerPredefinedcom:"_subtitleContainerPredefinedcom_xl2as_111"},xLt=t.ref(_Lt()),wLt={components:{GSCTableHeader:aq,GscSwitchComponent:xT,GSCFilterperteam:yPt,GSCFilters:DW,GSCExpandedInfo:_q,GSCLabel:ZOt,GSCSeasonSelect:JM,GSCTopCategory:HOt,GSCTournamentSelect:qM,GSCRowTable:lq},computed:{...bBt.computed,filterChangePredefined(){return this.filtersPredefinedF},filterChange(){const e={zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.fVnationalities,setPositionsIds:[1,2,3,4,5,6,7,8,9],booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set},n=JSON.stringify(e);if(JSON.stringify(this.filters)!=n)return n},filterGolstats(){return this.FVfilterGolstats},filterButtonProps(){return{...xLt.value}}},props:{timeLiveComparativeAvanced:{type:Number,default:6e4},currentSeasonId:{type:Number,default:0},typeData:{type:Number,default:1},canPlayVideos:{type:Boolean,default:!1},teamId:{type:Number,default:0},gameId:{type:Number,default:0},isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},game:{type:Object,default:()=>({})},teamselect:{type:Number,default:0},seasonActive:{type:Number,default:0},defaultSection:{type:String,default:"Jugadores"},backgroundOdd:{type:String,default:"#172531"},backgroundEven:{type:String,default:"#0d1d29"},tournamentsApiUrl:{type:String,default:""}},watch:{async seasonActive(){if(this.seasonActive!=0){this.teams=[];const e=await this.fetchTeams();for(let n=0;n<e.teams.length;n++)this.teams.push({id:e.teams[n].team_id,team:e.teams[n].colloquial_name,logo:e.teams[n].logo})}}},setup(){const e=t.ref("myDivRefTopsFull"),{elementSize:n}=mv(e);return{myDivRefTopsFull:e,elementSize:n}},data(){return{elegibilidadArray:[],updateFilterTeamsScouting:0,modifidFiltersFlag:!1,showfiltersPc:!1,positions:[{name:"Portero",fullname:"POR"},{name:"Defensa central",fullname:"DFC"},{name:"Lateral por izquierda",fullname:"LI"},{name:"Lateral por derecha",fullname:"LD"},{name:"Volante por izquierda",fullname:"VI"},{name:"Volante por derecha",fullname:"VD"},{name:"Volante defensivo",fullname:"VDF"},{name:"Volante ofensivo",fullname:"VO"},{name:"Delantero",fullname:"DEL"},{name:"Desconocida",fullname:"Desc"}],universeData:{minutesPlayed:0,percentMinutesPlayed:0,lastMonths:Array.from({length:24},(e,n)=>n+1),selectedMonth:12,statistics:{totals:!0,averagePerGame:!1,averagePerMinute:!1}},FVbooleanAreNationalTeamsVisible:!1,teamsscouting:[],filterScounting:{tournaments:[1],seasonId:0,categories:[{name:"Goles",ids:[12]},{name:"Asistencias",ids:[10]},{name:"Participaciones en gol",ids:[27]},{name:"Cabeceos en área rival",ids:[330,333,423,577,578,331,334,424]},{name:"Tiros a gol totales",ids:[91,95,92,93,96,97]}],range_age:[10,40],age_or_year:1,year:1989,nationalities:[3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,221,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,222,223,224,225,226,227,228,229,230,231,232,233,234,236,237,239],elegibles:[],minutes_played:211,minutes_played_avg:40,last_months:12,type_stats:1,positions:[1,2,3,4,5,6,7,8,9,10],fouls:!1,yellow_cards:!1,red_cards:!1},expand:!1,playerexpand:0,arrayFiltersPlays:[],filtersPredefinedF:{},categoryPredefinedActive:!1,categoryPredefined:0,typeTable:0,keyUpdateFilter:0,loadingActive:!1,isTeam:!1,arrayPredefinedFilters:[],arrayCategoryFilter:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],arrayCategoryFilterFull:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],FVsetAvailableNationalTeamsPlayersIds:new Set,showOnlyCategories:!1,showFullCategory:0,categoryName:"",showFullTable:!1,expansionPanelModePropsTypePlays:{isExpansionPanel:!1,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",width:"400px",maxWidth:"400px"},expansionPanelProps:{width:"400px",borderRadius:"8px"},fieldComponentProps:{widthContainer:"400px"}},expansionPanelModeProps:{isExpansionPanel:!1,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)"},expansionPanelProps:{width:"400px",borderRadius:"8px",fontFamily:"'Poppins-Regular'"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"13px"}},expansionPanelModePropsMobil:{isExpansionPanel:!0,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",padding:"20px 0"},expansionPanelProps:{width:"300px",borderRadius:"8px",height:"45px",fontColor:"rgba(255,255,255, 0.7)",textFontSize:"14px",textFontFamily:"'Poppins-Regular'",padding:"0px 10px"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"12px",widthField:268,widthFieldGrid:"268px",heightField:180,heightFieldGrid:"180px",heightContainer:"280px"}},expansionPanelModePropsMobil270:{isExpansionPanel:!0,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",padding:"20px 0"},expansionPanelProps:{width:"270px",borderRadius:"8px",height:"45px",fontColor:"rgba(255,255,255, 0.7)",textFontSize:"14px",textFontFamily:"'Poppins-Regular'",padding:"0px 10px"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"12px",widthField:268,widthFieldGrid:"268px",heightField:180,heightFieldGrid:"180px",heightContainer:"280px"}},filters:{zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.setNationalitiesIds,setPositionsIds:[1,2,3,4,5,6,7,8,9],booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set},detaildProductivityCategories:{offensive:{title:"Ofensivo",categories:[{name:"Goles",isSelected:!1,id:[12]},{name:"Asistencias",isSelected:!1,id:[10]},{name:"Participaciones en gol",isSelected:!1,id:[27]},{name:"Cabeceos en área rival",isSelected:!1,id:[330,333,423,577,578,331,334,424]},{name:"Tiros a gol totales",isSelected:!1,id:[91,95,92,93,96,97]},{name:"Tiros a gol con destino a portería",isSelected:!1,id:[91,95]},{name:"Tiros a gol fuera del área",isSelected:!1,id:[94]},{name:"Tiros a gol fuera del área con destino a portería",isSelected:!1,id:[95]},{name:"Tiros a gol dentro del área",isSelected:!1,id:[90]},{name:"Tiros a gol dentro del área con destino a portería",isSelected:!1,id:[91]},{name:"Centros por izquierda",isSelected:!1,id:[13]},{name:"Centros por izquierda acertados",isSelected:!1,id:[98,101,104,105]},{name:"Centros por derecha",isSelected:!1,id:[25]},{name:"Centros por derecha acertados",isSelected:!1,id:[109,112,115,116]},{name:"1vs1 exitosos ofensivos",isSelected:!1,id:[4]},{name:"1vs1 que terminan en gol",isSelected:!1,id:[88]}]},defensive:{title:"Defensivo",categories:[{name:"Bálones ganados en área propia",isSelected:!1,id:[234,241,281,288,399,401,211,231,238,244,280,287,294]},{name:"Cabeceo en área propia",isSelected:!1,id:[211,231,238,244,280,287,294]},{name:"1vs1 defensivos exitosos",isSelected:!1,id:[5]},{name:"Rechaces",isSelected:!1,id:[34]}]},possession:{title:"Posesión",categories:[{name:"Bálones recuperados totales",isSelected:!1,id:[222,223,224,225]},{name:"Bálones recuperados 1/4 de cancha",isSelected:!1,id:[222]},{name:"Bálones recuperados 2/4 de cancha",isSelected:!1,id:[223]},{name:"Bálones recuperados 3/4 de cancha",isSelected:!1,id:[224]},{name:"Bálones recuperados 4/4 de cancha",isSelected:!1,id:[225]},{name:"Pases acertados",isSelected:!1,id:[213,214,215,216]},{name:"Pases acertados en 1/4 de cancha",isSelected:!1,id:[213]},{name:"Pases acertados en 2/4 de cancha",isSelected:!1,id:[214]},{name:"Pases acertados en 3/4 de cancha",isSelected:!1,id:[215]},{name:"Pases acertados en 4/4 de cancha",isSelected:!1,id:[216]}]},offensesConditions:{areYellowCardSelected:!1,areRedCardSelected:!1,areFoulsCommittedSelected:!1}},detailsObject:{playingAs:[{name:"Local",isSelected:!0},{name:"Visitante",isSelected:!0}],gameSections:[{text:"0-15",value:1,isSelected:!0},{text:"16-30",value:2,isSelected:!0},{text:"31-45",value:3,isSelected:!0},{text:"46-60",value:4,isSelected:!0},{text:"61-75",value:5,isSelected:!0},{text:"76-90",value:6,isSelected:!0}]},nameLeagueSelected:"",categoriesPlaysTypes:{offensive:{title:"Ofensivo",categories:[{name:"Goles",isSelected:!0,id:1},{name:"Tiros a gol",isSelected:!0,id:6},{name:"Tiros a gol con destino a portería",isSelected:!0,id:7},{name:"Asistencias",isSelected:!0,id:4},{name:"Centros",isSelected:!0,id:10},{name:"Centros acertados",isSelected:!0,id:11},{name:"Participaciones en gol",isSelected:!0,id:5},{name:"1vs1 exitosos ofensivos",isSelected:!0,id:12},{name:"1vs1 exitosos ofensivos que terminan en gol",isSelected:!0,id:13},{name:"Balones ganados en área rival",isSelected:!0,id:17},{name:"Cabeceos en área rival",isSelected:!0,id:8},{name:"Tiros de esquina",isSelected:!0,id:23}]},defensive:{title:"Defensivo",categories:[{name:"1vs1 defensivos exitosos",isSelected:!0,id:14},{name:"Cabeceo en área propia",isSelected:!0,id:9},{name:"Balones ganados en área propia",isSelected:!0,id:16},{name:"Rechaces",isSelected:!0,id:15},{name:"Atajadas",isSelected:!0,id:22}]},possession:{title:"Posesión",categories:[{name:"Pases acertados",isSelected:!0,id:2},{name:"Balones recuperados en disputa",isSelected:!0,id:3}]},offenses:{title:"Infracciones",categories:[{name:"Faltas cometidas",isSelected:!0,id:18},{name:"Faltas recibidas",isSelected:!0,id:19},{name:"Tarjetas amarillas",isSelected:!0,id:20},{name:"Tarjetas rojas",isSelected:!0,id:21}]},offensesConditions:{areYellowCardSelected:!1,areRedCardSelected:!1,areFoulsCommittedSelected:!1}},categoriesDefault:[{id:1,name:"Goles",isSelected:!1},{id:2,name:"Pases acertados",isSelected:!1},{id:23,name:"Tiros de Esquina",isSelected:!1},{id:3,name:"Balones recuperados en disputa",isSelected:!1},{id:4,name:"Asistencias",isSelected:!1},{id:5,name:"Participaciones en gol",isSelected:!1},{id:6,name:"Tiros a gol",isSelected:!1},{id:7,name:"Tiros a gol que llegaron a la portería",isSelected:!1},{id:8,name:"Cabeceos en área rival",isSelected:!1},{id:9,name:"Cabeceos en área propia",isSelected:!1},{id:10,name:"Centros",isSelected:!1},{id:11,name:"Centros acertados",isSelected:!1},{id:12,name:"1vs1 exitosos ofensivos",isSelected:!1},{id:13,name:"1vs1 exitosos ofensivos que terminaron en gol",isSelected:!1},{id:14,name:"1vs1 defensivos exitoso",isSelected:!1},{id:15,name:"Rechaces",isSelected:!1},{id:16,name:"Balones ganados en área propia",isSelected:!1},{id:17,name:"Balones ganados en área rival",isSelected:!1},{id:18,name:"Faltas cometidas",isSelected:!1},{id:19,name:"Faltas recibidas",isSelected:!1},{id:20,name:"Tarjetas amarillas",isSelected:!1},{id:21,name:"Tarjetas rojas",isSelected:!1},{id:22,name:"Atajadas",isSelected:!1}],seasonsFilterSelected:0,tournamentsToFilter:[{name:"Liga MX",logo:"https://az755631.vo.msecnd.net/tournaments/liga_mx.png",isSelected:!0,id:1,show_logos:1,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1772,type:0},{name:"Clausura 2023",related_seasons:[{type:2,id:1745},{type:1,id:1746}],id:1694,type:0},{name:"Apertura 2022",related_seasons:[{type:2,id:1591},{type:1,id:1594}],id:1535,type:0},{name:"Grita Mexico C22",related_seasons:[{type:2,id:1520},{type:1,id:1525}],id:1476,type:0},{name:"Grita Mexico A21",related_seasons:[{type:2,id:1446},{type:1,id:1456}],id:1401,type:0},{name:"Guard1anes Clausura 2021",related_seasons:[{type:2,id:1382},{type:1,id:1383}],id:1325,type:0},{name:"Guard1anes 2020",related_seasons:[{type:2,id:1311},{type:1,id:1316}],id:1275,type:0},{name:"Clausura 2020",related_seasons:[],id:1239,type:0},{name:"Apertura 2019",related_seasons:[{type:1,id:1231}],id:1155,type:0},{name:"Clausura 2019",related_seasons:[{type:1,id:1135}],id:1093,type:0},{name:"Apertura 2018",related_seasons:[{type:1,id:1075}],id:1002,type:0}]},{name:"Liga MX Femenil",logo:"https://az755631.vo.msecnd.net/tournaments/femenil_mx.png",isSelected:!0,id:1001,show_logos:1,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1777,type:0},{name:"Clausura 2023",related_seasons:[{type:1,id:1747}],id:1696,type:0},{name:"Apertura 2022",related_seasons:[{type:1,id:1655}],id:1539,type:0},{name:"Grita Mexico C22",related_seasons:[{type:1,id:1523}],id:1485,type:0},{name:"Grita Mexico A21",related_seasons:[{type:1,id:1458}],id:1402,type:0},{name:"Guard1anes Clausura 2021",related_seasons:[{type:1,id:1384}],id:1323,type:0},{name:"Guard1anes 2020",related_seasons:[{type:1,id:1318}],id:1283,type:0},{name:"Clausura 2020",related_seasons:[],id:1241,type:0},{name:"Apertura 2019",related_seasons:[{type:1,id:1227}],id:1157,type:0},{name:"Clausura 2019",related_seasons:[{type:1,id:1132}],id:1095,type:0},{name:"Apertura 2018",related_seasons:[{type:1,id:1072}],id:1004,type:0},{name:"Clausura 2018",related_seasons:[{type:1,id:1237}],id:1236,type:0}]},{name:"Liga Expansion MX",logo:"https://az755631.vo.msecnd.net/tournaments/expansion_mx.png",isSelected:!0,id:1071,show_logos:1,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1776,type:0},{name:"Clausura 2023",related_seasons:[{type:2,id:1742},{type:1,id:1748}],id:1695,type:0},{name:"Apertura 2022",related_seasons:[{type:2,id:1598},{type:1,id:1618}],id:1544,type:0},{name:"Grita Mexico C22",related_seasons:[{type:2,id:1515},{type:1,id:1519}],id:1484,type:0},{name:"Grita Mexico A21",related_seasons:[{type:2,id:1454},{type:1,id:1463}],id:1408,type:0},{name:"Guard1anes Clausura 2021",related_seasons:[{type:2,id:1378},{type:1,id:1380}],id:1327,type:0},{name:"Guard1anes 2020",related_seasons:[{type:2,id:1315},{type:1,id:1317}],id:1287,type:0}]},{name:"Sub-23",logo:null,isSelected:!0,id:1143,show_logos:0,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1785,type:0}]},{name:"Sub-18",logo:null,isSelected:!0,id:1096,show_logos:0,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1782,type:0},{name:"Clausura 2023",related_seasons:[{type:1,id:1751}],id:1714,type:0},{name:"Apertura 2022",related_seasons:[{type:1,id:1593}],id:1543,type:0},{name:"Grita Mexico C22",related_seasons:[{type:1,id:1522}],id:1487,type:0}]},{name:"Sub-16",logo:null,isSelected:!0,id:1095,show_logos:0,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1783,type:0},{name:"Clausura 2023",related_seasons:[{type:1,id:1750}],id:1715,type:0},{name:"Apertura 2022",related_seasons:[{type:1,id:1652}],id:1541,type:0},{name:"Grita Mexico C22",related_seasons:[{type:1,id:1527}],id:1488,type:0}]}],isCup:!1,arrayPredefinedOrigin:[],indexPredefinedFiltersSelected:0,predefinedFiltersMatchLapse:[],predefinedFiltersPlayingAs:[],predefinedFiltersSections:[],updateTables:0,updateTablesfull:0,optionSelected:"Jugadores",optionSelectedSubmenu:"Todas las jugadas",tournamentsUrl:"https://17zyhpyc7c.execute-api.us-west-2.amazonaws.com/prod/tournaments",teamsUrl:"https://d2oco6mqmc.execute-api.us-west-2.amazonaws.com/prod/teamsBySeason/",urlFilter:"https://cqqxaonvm6.execute-api.us-east-2.amazonaws.com/prod/gs2/tops/filters?categories=",retries:3,teams:[],updateFilterGolstats:0,updateFilterPlaytypesGolstats:0,arrayTournaments:[],arraySeasons:{},seasonBytournament:[],updateFilterTeamsScouting:0,filtersTypes:Tn,token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",fVnationalities:new Set,fVzone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],fVplayingAs:[1,2],fVsections:[1,2,3,4,5,6],fVmatchResult:[1,2,3],fVarrayAgeRange:[10,40],FVeligible:[],FVYear:1900,keyTournamentValue:0,fVtypeZone:2,fVsetPositionsIds:[1,2,3,4,5,6,7,8,9],currentIndex:-1,delay:800,teamselectrec:0,tournamentSelected:0,tournamentSelectedObj:{},FVfilterGolstats:[],updateFilterField:0,rowScoutingData:[],openMenuMobil:!1,selectedTournament:{seasons:[]},selectedSeasonObj:{}}},methods:{getnameshort(e){var n=e.split(","),r=n[0].split(" "),I=n[1].trim().split(" "),F="";r.length==2||r.length==1?r[0].length<4?F=r[0]+" "+r[1]:F=r[0]:r.length==3?F=r[0]+" "+r[1]:r.length==4&&(F=r[1]+" "+r[2]+" "+r[3]);var h=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";return F=F.replace(",",""),h+". "+F},setUpTournamentsToFilter(){this.tournamentsToFilter.forEach(e=>{const n=e.id===this.selectedTournament.id;e.isSelected=n,e.isDefaultTournament=n})},async onClickDeleteFilter(){if(this.optionSelectedSubmenu=="Predeterminados")this.resetPredefinedTeamAll();else{this.rowScoutingData=[];for(let I=0;I<this.detaildProductivityCategories.offensive.categories.length;I++)this.detaildProductivityCategories.offensive.categories[I].isSelected=!1;for(let I=0;I<this.detaildProductivityCategories.defensive.categories.length;I++)this.detaildProductivityCategories.defensive.categories[I].isSelected=!1;for(let I=0;I<this.detaildProductivityCategories.possession.categories.length;I++)this.detaildProductivityCategories.possession.categories[I].isSelected=!1;for(let I=0;I<this.detaildProductivityCategories.offensesConditions.length;I++)this.detaildProductivityCategories.offensesConditions[I]=!1;this.setUpTournamentsToFilter();const n=this.$refs.personalDataFilter;n.clearFilters(Yl.All),n.clearFilters(Yl.AGE_RANGE),n.clearFilters(Yl.YEAR),n.clearFilters(Yl.NATIONALITY),n.clearFilters(Yl.POSITION),this.universeData.minutesPlayed=0,this.universeData.percentMinutesPlayed=0,this.universeData.lastMonths=Array.from({length:24},(I,F)=>F+1),this.universeData.statistics.totals=!0,this.universeData.statistics.averagePerGame=!1,this.universeData.statistics.percentMinutesPlayed=!1;var e=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersTournaments");this.arrayFiltersPlays.splice(e,1);const r=await this.fetchTeamsScouting(this.currentSeasonId);this.teamselect=0,this.teamsscouting=[];for(let I=0;I<r.teams.length;I++)this.teamsscouting.push({id:r.teams[I].team_id,team:r.teams[I].colloquial_name,logo:r.teams[I].logo});setTimeout(()=>{this.modifidFiltersFlag=!1},200)}},clickOpenFilters(){this.showfiltersPc=!0},clickCloseFilters(){this.showfiltersPc=!1},async selectedSeason(e){this.seasonActive!==e.id&&(this.seasonActive=e.id,this.resetPredefinedTeamAll(),this.$emit("change-season-id",e.id))},changeTournament(e){e.id!==this.selectedTournament.id&&(this.selectedTournament=e,this.tournamentSelectedObj={propName:"id",value:e.id},this.teamselect=0,this.resetPredefinedTeamAll(),this.setUpTournamentsToFilter())},changeTournamentMovil(e){this.tournamentSelectedObj={propName:"id",value:e.id},this.seasonBytournament=e.seasons,this.teamselect=0},selectedSeasonMovil(e){this.seasonActive=e.id},setRelevantCategoriesPlayer(e){return e===1?[39,40,52,53,54,55,323,324,608,774,802]:[10,12,14,15,27,35,61,217,257,466,519,607,702,730,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,211,232,235,239,242,282,284,289,291,296,485,486,487,488]},setOpenMedia(e){this.$emit("openmedia",e)},setMediaData(e){let F=[e.id],h=e.team_id;const m={seasonId:e.season_id,isFeaturedPlayers:!1,mainSectionType:1,playListType:2,gameIds:null,playerIds:F,goalkeeperIds:[],categoryIds:this.setRelevantCategoriesPlayer(e.position),teamId:h||0,matchResult:[1,2,3],categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:"Jugadas Relevantes"}};this.$emit("openmedia",m)},clickprofile(e){e.isTeam?this.$emit("openProfileTeam",{teamId:e.id,seasonId:this.seasonActive}):this.$emit("openProfilePlayer",{playerId:e.id,teamId:e.teamId,seasonId:this.seasonActive})},viewprofile(e,n,r){this.$emit("openProfilePlayer",{playerId:e,teamId:r,seasonId:n||this.seasonActive})},openMenuFilters(){this.openMenuMobil=!this.openMenuMobil,this.showfiltersPc=!0},clickexpand(e){this.expand=e.expand,this.playerexpand=e.id},async getScoutingData(){this.arrayFiltersPlays=[],this.loadingActive=!0;const e=cl.create({headers:{Authorization:`${this.token}`}}),{data:n}=await e.post("https://eh9nhj69z7.execute-api.us-west-2.amazonaws.com/prod/players/productivity",this.filterScounting,{headers:{"Content-Type":"application/json"}});if(this.filterScounting.tournaments.length>0){var r=this.arrayFiltersPlays.findIndex(F=>F.type==="onFiltersTournaments");r!==-1?this.arrayFiltersPlays[r].name=this.filterScounting.tournaments.length>1?"Ligas "+this.filterScounting.tournaments.length:this.nameLeagueSelected!=""?this.nameLeagueSelected:"Liga MX":this.arrayFiltersPlays.push({name:this.filterScounting.tournaments.length>1?"Ligas "+this.filterScounting.tournaments.length:this.nameLeagueSelected!=""?this.nameLeagueSelected:"Liga MX",type:"onFiltersTournaments"})}this.rowScoutingData=[];for(let F=0;F<n.length;F++){n[F];let m=n[F].dob.split("T")[0].split("-");var I={position:F+1,player_name:this.abrevName(n[F].name),player_photo:"https://az755631.vo.msecnd.net/players-profile/"+n[F].player_id+".png",total:n[F].total.toFixed(0),id:n[F].player_id,player_age:this.calcularEdad(n[F].dob),team_abrev:n[F].teams[0].acronym,team_name:n[F].teams[0].team_name,team_logo:"https://az755631.vo.msecnd.net/teams-80/"+n[F].teams[0].team_id+".png",player_position:n[F].position_id,player_country_flag:"https://az755631.vo.msecnd.net/flags/"+n[F].nationality_id+".jpg",date:m[2]+"."+m[1]+"."+m[0].substring(2,4),team_id:n[F].team_id,nationality_name:kq[n[F].nationality_id],player_games:n[F].games_played,player_min:n[F].minutes_played,league_name:n[F].tournament_name,seasons:n[F].seasons,season_id:n[F].seasons[0]};this.rowScoutingData.push(I)}if(this.seasonsFilterSelected!=0){const F=await this.fetchTeamsScouting(this.seasonsFilterSelected);this.teamselect=0,this.teamselectrec=0,this.teamsscouting=[];for(let h=0;h<F.teams.length;h++)this.teamsscouting.push({id:F.teams[h].team_id,team:F.teams[h].colloquial_name,logo:F.teams[h].logo})}this.loadingActive=!1},abrevName(e){var n=e.split(","),r=n[0].split(" "),I=n[1].trim().split(" "),F="";r.length==2||r.length==1?r[0].length<4?F=r[0]+" "+r[1]:F=r[0]:r.length==3?F=r[0]+" "+r[1]:r.length==4&&(F=r[1]+" "+r[2]+" "+r[3]);var h=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";F=F.replace(",","");var m=h+". "+F;return m},calcularEdad(e){var n=new Date(e),r=new Date,I=r-n,F=Math.floor(I/(1e3*60*60*24*365.25));return F},async onFiltersTournaments(e){this.modifidFiltersFlag=!0;var n=[];for(let r=0;r<e.length;r++)e[r].isSelected&&n.push(e[r].id);if(n.length==0&&(n=[1]),n.length==1)for(let r=0;r<e.length;r++)e[r].isSelected&&(this.nameLeagueSelected=e[r].name,this.seasonsFilterSelected=e[r].seasons[0].id);else this.seasonsFilterSelected=0,n.length>0&&(this.nameLeagueSelected=n.length+" Ligas");this.filterScounting.tournaments=n,this.filterScounting.seasonId=e[0].seasons[0].id},onFiltersPersonalData(e){if(this.modifidFiltersFlag=!0,e.hasOwnProperty("ageByRange")){const I=e.ageByRange.min==0?10:e.ageByRange.min,F=e.ageByRange.max==0?40:e.ageByRange.max;this.filterScounting.range_age=[I,F],this.filterScounting.age_or_year=1}else this.filterScounting.range_age=[];e.hasOwnProperty("year")?(this.filterScounting.year=e.year,this.filterScounting.age_or_year=0):this.filterScounting.year=0;var n=[];if(e.hasOwnProperty("nationalities")){for(let I=0;I<e.nationalities.length;I++)e.nationalities[I].isSelected&&n.push(e.nationalities[I].id);n.length==0&&(n=[3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,221,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,222,223,224,225,226,227,228,229,230,231,232,233,234,236,237,239])}this.filterScounting.elegibles=[],e.hasOwnProperty("eligibility")&&(this.filterScounting.elegibles=[e.eligibility[0].id]);var r=[];for(let I=0;I<e.positions.length;I++)e.positions[I].isSelected&&r.push(e.positions[I].id);r.length==0&&(r=[1,2,3,4,5,6,7,8,9,10]),this.filterScounting.positions=r,this.filterScounting.nationalities=n},onFiltersUniverse(e){this.modifidFiltersFlag=!0,this.filterScounting.minutes_played=Number(e.minutesPlayed),this.filterScounting.last_months=Number(e.lastMonths),this.filterScounting.minutes_played_avg=Number(e.percentMinutesPlayed),this.filterScounting.type_stats=e.statistics.averagePerGame?3:e.statistics.averagePerMinute?2:1},onFiltersProductivity(e){this.modifidFiltersFlag=!0;var n=[];for(let r=0;r<e.productivityFilters.length;r++)n[e.productivityFilters[r].priority-1]={name:e.productivityFilters[r].name,ids:e.productivityFilters[r].id};n.length==0&&(n=[]),this.filterScounting.categories=n,this.filterScounting.fouls=e.offensesConditions.areFoulsCommittedSelected,this.filterScounting.yellow_cards=e.offensesConditions.areYellowCardsSelected,this.filterScounting.red_cards=e.offensesConditions.areRedCardsSelected},onFiltersGolStats(e){if(e.length>0){var n=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersPredefined");n!==-1?this.arrayFiltersPlays[n].name=e[0].name:this.arrayFiltersPlays.push({name:e[0].name,type:"onFiltersPredefined"}),this.filtersPredefinedF=e[0].filters}else{var r=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&r!==-1){this.filtersPredefinedF=this.filters;for(let F=0;F<this.FVfilterGolstats.length;F++)this.FVfilterGolstats[F].isSelected=!1;var r=this.arrayFiltersPlays.findIndex(F=>F.type==="onFiltersPredefined");r!==-1&&this.arrayFiltersPlays.splice(r,1),this.updateFilterGolstats+=1}}},shouldRender(e){return e<=this.currentIndex},renderNext(){this.currentIndex++,this.currentIndex<this.categoriesDefault.length&&setTimeout(()=>{this.$nextTick(()=>{this.renderNext()})},this.delay)},async onFiltersPlaysTypes(e){if(e.length>0){this.categoryPredefinedActive=!0,this.loadingActive=!0,this.categoryPredefined=e[0].id;var n=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersPredefined");if(this.categoriesDefault.length>0&&n!==-1){this.FVfilterGolstats=[],this.filtersPredefinedF={},this.arrayFiltersPlays.splice(n,1);var r=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersPredefined");if(r!==-1){for(let I=0;I<this.FVfilterGolstats.length;I++)this.FVfilterGolstats[I].isSelected=!1;r!==-1&&this.arrayFiltersPlays.splice(r,1),this.updateFilterGolstats+=1}}this.updateTables+=1,setTimeout(()=>{this.loadingActive=!1},1e3),await this.getPredefinedfilters(e[0]),this.FVfilterGolstats.length>0&&(this.onFiltersGolStats([this.FVfilterGolstats[0]]),this.FVfilterGolstats[0].isSelected=!0)}else{var n=this.arrayFiltersPlays.findIndex(F=>F.type==="onFiltersPredefinedCategory");if(this.categoriesDefault.length>0&&n!==-1){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF=this.filters,this.arrayFiltersPlays.splice(n,1);for(let h=0;h<this.categoriesDefault.length;h++)this.categoriesDefault[h].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var r=this.arrayFiltersPlays.findIndex(h=>h.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&r!==-1){for(let h=0;h<this.FVfilterGolstats.length;h++)this.FVfilterGolstats[h].isSelected=!1;r!==-1&&this.arrayFiltersPlays.splice(r,1),this.updateFilterGolstats+=1}}}},deleteCategoryFilter(){this.categoryName="",this.showFullCategory=0,this.showFullTable=!1,delete this.filters.aux},onShowFullTable(e){this.categoryName=e.categoryName,this.showFullCategory=e.category,this.showFullTable=!0,this.loadingActive=!0,setTimeout(()=>{this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,aux:this.getRandomNumber(1,1e4),booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.loadingActive=!1},1e3)},getRandomNumber(e,n){return Math.floor(Math.random()*(n-e+1))+e},applyFiltersBtn(e){},onFiltersPlays(e){if(this.arrayCategoryFilter=[],this.arrayCategoryFilterFull=[],e.playsCategories.length==0){for(let r=0;r<this.categoriesPlaysTypes.offensive.categories.length;r++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offensive.categories[r].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[r]);for(let r=0;r<this.categoriesPlaysTypes.defensive.categories.length;r++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.defensive.categories[r].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[r]);for(let r=0;r<this.categoriesPlaysTypes.possession.categories.length;r++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.possession.categories[r].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[r]);for(let r=0;r<this.categoriesPlaysTypes.offenses.categories.length;r++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offenses.categories[r].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[r])}else for(let r=0;r<e.playsCategories.length;r++)e.playsCategories[r].isSelected&&(this.arrayCategoryFilter.push(e.playsCategories[r].id),this.arrayCategoryFilterFull.push(e.playsCategories[r]));var n=this.arrayFiltersPlays.findIndex(r=>r.type==="onFiltersPlays");this.arrayCategoryFilter.length>0&&this.arrayCategoryFilter.length!=23?this.arrayCategoryFilter.length==1?n!=-1?this.arrayFiltersPlays[n].name=this.arrayCategoryFilterFull[0].name:this.arrayFiltersPlays.push({name:this.arrayCategoryFilterFull[0].name,type:"onFiltersPlays"}):n!=-1?this.arrayFiltersPlays[n].name=this.arrayCategoryFilterFull.length+" Tipos de jugadas":this.arrayFiltersPlays.push({name:this.arrayCategoryFilterFull.length+" Tipos de jugadas",type:"onFiltersPlays"}):n!==-1&&this.arrayFiltersPlays.splice(n,1)},async deleteLabelFilter(e){var n=this.arrayFiltersPlays.findIndex(I=>I.type===e);if(n!==-1){if(e=="onFiltersTournaments"){this.rowScoutingData=[];for(let F=0;F<this.detaildProductivityCategories.offensive.categories.length;F++)this.detaildProductivityCategories.offensive.categories[F].isSelected=!1;for(let F=0;F<this.detaildProductivityCategories.defensive.categories.length;F++)this.detaildProductivityCategories.defensive.categories[F].isSelected=!1;for(let F=0;F<this.detaildProductivityCategories.possession.categories.length;F++)this.detaildProductivityCategories.possession.categories[F].isSelected=!1;for(let F=0;F<this.detaildProductivityCategories.offensesConditions.length;F++)this.detaildProductivityCategories.offensesConditions[F]=!1;this.setUpTournamentsToFilter(),this.universeData.minutesPlayed=10,this.universeData.percentMinutesPlayed=0,this.universeData.lastMonths=Array.from({length:24},(F,h)=>h+1),this.universeData.statistics.totals=!0,this.universeData.statistics.averagePerGame=!1,this.universeData.statistics.percentMinutesPlayed=!0;const I=await this.fetchTeamsScouting(this.currentSeasonId);this.teamsscouting=[];for(let F=0;F<I.teams.length;F++)this.teamsscouting.push({id:I.teams[F].team_id,team:I.teams[F].colloquial_name,logo:I.teams[F].logo});this.keyTournamentValue+=1,setTimeout(()=>{this.modifidFiltersFlag=!1},200)}if(e=="onFiltersPlays"){for(let I=0;I<this.categoriesPlaysTypes.offensive.categories.length;I++)this.categoriesPlaysTypes.offensive.categories[I].isSelected=!0;for(let I=0;I<this.categoriesPlaysTypes.defensive.categories.length;I++)this.categoriesPlaysTypes.defensive.categories[I].isSelected=!0,this.arrayCategoryFilter.push(),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[I]);for(let I=0;I<this.categoriesPlaysTypes.possession.categories.length;I++)this.categoriesPlaysTypes.possession.categories[I].isSelected=!0;for(let I=0;I<this.categoriesPlaysTypes.offenses.categories.length;I++)this.categoriesPlaysTypes.offenses.categories[I].isSelected=!0}if(e=="onFiltersField"&&(this.fVzone=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersPredefined"){this.filtersPredefinedF=this.filters;for(let I=0;I<this.FVfilterGolstats.length;I++)this.FVfilterGolstats[I].isSelected=!1;this.updateFilterGolstats+=1,this.resetPredefinedTeamAll()}if(e=="onFiltersPredefinedCategory"){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF=this.filters;var r=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersPredefined");r!==-1&&this.arrayFiltersPlays.splice(r,1);for(let I=0;I<this.categoriesDefault.length;I++)this.categoriesDefault[I].isSelected=!1;this.updateFilterPlaytypesGolstats+=1}e=="onFiltersDetailsTime"&&(this.detailsObject.gameSections[0].isSelected=!0,this.detailsObject.gameSections[1].isSelected=!0,this.detailsObject.gameSections[2].isSelected=!0,this.detailsObject.gameSections[3].isSelected=!0,this.detailsObject.gameSections[4].isSelected=!0,this.detailsObject.gameSections[5].isSelected=!0,this.fVsections=[1,2,3,4,5,6],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersDetailsPlayingAs"&&(this.detailsObject.playingAs[0].isSelected=!0,this.detailsObject.playingAs[1].isSelected=!0,this.fVplayingAs=[1,2],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersNationality"&&(this.fVnationalities.add(138),this.fVnationalities.add(222),this.fVnationalities.add(163),this.fVnationalities.add(51),this.fVnationalities.add(226),this.fVnationalities.add(10),this.fVnationalities.add(223),this.fVnationalities.add(96),this.fVnationalities.add(171),this.fVnationalities.add(198),this.fVnationalities.add(105),this.fVnationalities.add(80),this.fVnationalities.add(29),this.fVnationalities.add(74),this.fVnationalities.add(216),this.fVnationalities.add(196),this.fVnationalities.add(64),this.fVnationalities.add(155),this.fVnationalities.add(156),this.fVnationalities.add(89),this.fVnationalities.add(106),this.fVnationalities.add(81),this.fVnationalities.add(233),this.fVnationalities.add(204),this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Yl.NATIONALITY)),e=="onFiltersPosition"&&(this.fVsetPositionsIds=[1,2,3,4,5,6,7,8,9],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Yl.POSITION)),e=="onFiltersAge"&&(this.fVarrayAgeRange=[10,40],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Yl.AGE_RANGE)),e=="onFiltersElegibility"&&this.$refs.personalDataFilterPlayers.clearFilters(Yl.ELIGIBILITY),e=="onFiltersYear"&&(this.$refs.personalDataFilterPlayers.clearFilters(Yl.YEAR),this.FVYear=1900,this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds})}this.arrayFiltersPlays.splice(n,1)},onFiltersField(e){e.length==0?this.fVzone=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]:this.fVzone=e;var n=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersField");n!=-1?this.arrayFiltersPlays[n].name=this.fVzone.length+" zonas del campo":this.arrayFiltersPlays.push({name:this.fVzone.length+" zonas del campo",type:"onFiltersField"}),[1,23,3,4,5,7,6,9,8,11,10,12,13,15,14,17,16,22].includes(this.category)?this.fVtypeZone=1:this.fVtypeZone=2,this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},e.length!=16?(this.fVzone.length==4&&this.fVzone.includes(1)&&this.fVzone.includes(2)&&this.fVzone.includes(3)&&this.fVzone.includes(4)&&(n!=-1?this.arrayFiltersPlays[n].name="1/4 de cancha":this.arrayFiltersPlays.push({name:"1/4 de cancha",type:"onFiltersField"})),this.fVzone.length==4&&this.fVzone.includes(5)&&this.fVzone.includes(6)&&this.fVzone.includes(7)&&this.fVzone.includes(8)&&(n!=-1?this.arrayFiltersPlays[n].name="2/4 de cancha":this.arrayFiltersPlays.push({name:"2/4 de cancha",type:"onFiltersField"})),this.fVzone.length==4&&this.fVzone.includes(9)&&this.fVzone.includes(10)&&this.fVzone.includes(11)&&this.fVzone.includes(12)&&(n!=-1?this.arrayFiltersPlays[n].name="3/4 de cancha":this.arrayFiltersPlays.push({name:"3/4 de cancha",type:"onFiltersField"})),this.fVzone.length==4&&this.fVzone.includes(13)&&this.fVzone.includes(14)&&this.fVzone.includes(15)&&this.fVzone.includes(16)&&(n!=-1?this.arrayFiltersPlays[n].name="4/4 de cancha":this.arrayFiltersPlays.push({name:"4/4 de cancha",type:"onFiltersField"})),this.fVzone.length==8&&this.fVzone.includes(1)&&this.fVzone.includes(2)&&this.fVzone.includes(3)&&this.fVzone.includes(4)&&this.fVzone.includes(5)&&this.fVzone.includes(6)&&this.fVzone.includes(7)&&this.fVzone.includes(8)&&(n!=-1?this.arrayFiltersPlays[n].name="cancha propia":this.arrayFiltersPlays.push({name:"cancha propia",type:"onFiltersField"})),this.fVzone.length==8&&this.fVzone.includes(9)&&this.fVzone.includes(10)&&this.fVzone.includes(11)&&this.fVzone.includes(12)&&this.fVzone.includes(13)&&this.fVzone.includes(14)&&this.fVzone.includes(15)&&this.fVzone.includes(16)&&(n!=-1?this.arrayFiltersPlays[n].name="cancha rival":this.arrayFiltersPlays.push({name:"cancha rival",type:"onFiltersField"}))):this.arrayFiltersPlays.splice(n,1)},addFilterPlayingAS(){var e=this.arrayFiltersPlays.findIndex(n=>n.type==="onFiltersDetailsPlayingAs");e!=-1?this.fVplayingAs.length==1?this.arrayFiltersPlays[e].name=this.fVplayingAs.includes(1)?"Local":"Visitante":this.arrayFiltersPlays.splice(e,1):this.fVplayingAs.length==1&&this.arrayFiltersPlays.push({name:this.fVplayingAs.includes(1)?"Local":"Visitante",type:"onFiltersDetailsPlayingAs"})},onFiltersDetails(e){var n=[];this.filters.setNationalitiesIds=this.setNationalitiesIds;var r=[];for(let h=0;h<e.playingAs.length;h++)if(e.playingAs[h].isSelected){const m=e.playingAs[h].name=="Local"?1:2;n.push(m)}for(let h=0;h<e.gameSections.length;h++)e.gameSections[h].isSelected&&r.push(e.gameSections[h].value);this.fVsections=r,this.fVplayingAs=n;var I=this.arrayFiltersPlays.findIndex(h=>h.type==="onFiltersDetailsTime"),F="los minutos del ";this.fVsections.length!=6&&this.fVsections.length>0?(this.fVsections.includes(1)&&(F+=", 0-15"),this.fVsections.includes(2)&&(F+=", 15-30"),this.fVsections.includes(3)&&(F+=", 30-45"),this.fVsections.includes(4)&&(F+=", 45-60"),this.fVsections.includes(5)&&(F+=", 60-75"),this.fVsections.includes(6)&&(F+=", 75-90"),I!=-1?this.arrayFiltersPlays[I].name=F:this.arrayFiltersPlays.push({name:F,type:"onFiltersDetailsTime"}),this.fVsections.length==3&&this.fVsections.includes(1)&&this.fVsections.includes(2)&&this.fVsections.includes(3)&&(I!=-1?this.arrayFiltersPlays[I].name="Primer tiempo":this.arrayFiltersPlays.push({name:"Primer tiempo",type:"onFiltersDetailsTime"})),this.fVsections.length==3&&this.fVsections.includes(4)&&this.fVsections.includes(5)&&this.fVsections.includes(6)&&(I!=-1?this.arrayFiltersPlays[I].name="Segundo tiempo":this.arrayFiltersPlays.push({name:"Segundo tiempo",type:"onFiltersDetailsTime"})),this.fVsections.length==1&&this.fVsections.includes(1)&&(I!=-1?this.arrayFiltersPlays[I].name="los primeros 15 minutos del partido":this.arrayFiltersPlays.push({name:"los primeros 15 minutos del partido",type:"onFiltersDetailsTime"})),this.fVsections.length==1&&this.fVsections.includes(3)&&(I!=-1?this.arrayFiltersPlays[I].name="los últimos 15 minutos del primer tiempo":this.arrayFiltersPlays.push({name:"los últimos 15 minutos del primer tiempo",type:"onFiltersDetailsTime"})),this.fVsections.length==1&&this.fVsections.includes(4)&&(I!=-1?this.arrayFiltersPlays[I].name="los primeros 15 minutos del segundo tiempo":this.arrayFiltersPlays.push({name:"los primeros 15 minutos del segundo tiempo",type:"onFiltersDetailsTime"})),this.fVsections.length==1&&this.fVsections.includes(6)&&(I!=-1?this.arrayFiltersPlays[I].name="los últimos 15 minutos del segundo tiempo":this.arrayFiltersPlays.push({name:"los últimos 15 minutos del segundo tiempo",type:"onFiltersDetailsTime"})),this.fVsections.length==2&&this.fVsections.includes(1)&&this.fVsections.includes(2)&&(I!=-1?this.arrayFiltersPlays[I].name="los primeros 30 minutos del partido":this.arrayFiltersPlays.push({name:"los primeros 30 minutos del partido",type:"onFiltersDetailsTime"})),this.fVsections.length==2&&this.fVsections.includes(5)&&this.fVsections.includes(6)&&(I!=-1?this.arrayFiltersPlays[I].name="los últimos 30 minutos del segundo tiempo":this.arrayFiltersPlays.push({name:"los últimos 30 minutos del segundo tiempo",type:"onFiltersDetailsTime"}))):I!=-1&&this.arrayFiltersPlays.splice(I,1),this.addFilterPlayingAS(),this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}},async resetScouting(){this.universeData.minutesPlayed=0,this.universeData.percentMinutesPlayed=0,this.universeData.lastMonths=Array.from({length:24},(I,F)=>F+1),this.universeData.statistics.totals=!0,this.universeData.statistics.averagePerGame=!1,this.universeData.statistics.percentMinutesPlayed=!1;const e=this.$refs.personalDataFilter;e.clearFilters(Yl.All),e.clearFilters(Yl.AGE_RANGE),e.clearFilters(Yl.YEAR),e.clearFilters(Yl.NATIONALITY),e.clearFilters(Yl.POSITION),this.rowScoutingData=[];for(let I=0;I<this.detaildProductivityCategories.offensive.categories.length;I++)this.detaildProductivityCategories.offensive.categories[I].isSelected=!1;for(let I=0;I<this.detaildProductivityCategories.defensive.categories.length;I++)this.detaildProductivityCategories.defensive.categories[I].isSelected=!1;for(let I=0;I<this.detaildProductivityCategories.possession.categories.length;I++)this.detaildProductivityCategories.possession.categories[I].isSelected=!1;for(let I=0;I<this.detaildProductivityCategories.offensesConditions.length;I++)this.detaildProductivityCategories.offensesConditions[I]=!1;var n=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersTournaments");this.arrayFiltersPlays.splice(n,1),this.setUpTournamentsToFilter();const r=await this.fetchTeamsScouting(this.currentSeasonId);this.teamselect=0,this.teamsscouting=[];for(let I=0;I<r.teams.length;I++)this.teamsscouting.push({id:r.teams[I].team_id,team:r.teams[I].colloquial_name,logo:r.teams[I].logo})},onFiltersData(e){var n=0,r=0;e.ageByRange&&(e.ageByRange.min==0?n=1:n=e.ageByRange.min,e.ageByRange.max==0?r=40:r=e.ageByRange.max,this.fVarrayAgeRange=[n,r]),e.year&&(this.FVYear=e.year),this.fVnationalities=new Set;let I="",F="";if(this.fVsetPositionsIds=[],e.hasOwnProperty("nationalities")){this.FVbooleanAreNationalTeamsVisible=!1,this.FVsetAvailableNationalTeamsPlayersIds=new Set;for(let b=0;b<e.nationalities.length;b++)e.nationalities[b].isSelected&&this.fVnationalities.add(e.nationalities[b].id)}if(this.FVeligible=[],e.hasOwnProperty("eligibility")){this.FVbooleanAreNationalTeamsVisible=!0;for(let b=0;b<this.elegibilidadArray.length;b++)this.FVsetAvailableNationalTeamsPlayersIds.add(this.elegibilidadArray[b])}for(let b=0;b<e.positions.length;b++)e.positions[b].isSelected&&this.fVsetPositionsIds.push(e.positions[b].id);if(e.hasOwnProperty("nationalities"))var h=e.nationalities.filter(b=>b.isSelected===!0);var m=e.positions.filter(b=>b.isSelected===!0);if(m.length==1&&(I=m[0].name),e.hasOwnProperty("nationalities")&&h.length==1&&(F=h[0].name),setTimeout(()=>{this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,elegible:this.FVeligible,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}},1e3),this.FVbooleanAreNationalTeamsVisible){var a=this.arrayFiltersPlays.findIndex(b=>b.type==="onFiltersElegibility");a!=-1?this.arrayFiltersPlays[a].name="Elegibles":this.arrayFiltersPlays.push({name:"Elegibles",type:"onFiltersElegibility"})}else{var a=this.arrayFiltersPlays.findIndex(c=>c.type==="onFiltersElegibility");this.arrayFiltersPlays.splice(a,1)}if(this.fVsetPositionsIds.length!=9&&this.fVsetPositionsIds.length>0){var v=this.arrayFiltersPlays.findIndex(b=>b.type==="onFiltersPosition");v!=-1?this.fVsetPositionsIds.length>0?this.arrayFiltersPlays[v].name=this.fVsetPositionsIds.length>1?this.fVsetPositionsIds.length+" Posiciones de juego":"Posicion de juego "+I:this.arrayFiltersPlays.splice(v,1):this.arrayFiltersPlays.push({name:this.fVsetPositionsIds.length>1?this.fVsetPositionsIds.length+" Posiciones de juego":"Posicion de juego "+I,type:"onFiltersPosition"})}if(this.FVYear!=0&&this.FVYear!=1900&&this.FVYear){var g=this.arrayFiltersPlays.findIndex(b=>b.type==="onFiltersYear");g!=-1?this.arrayFiltersPlays[g].name=this.FVYear:this.arrayFiltersPlays.push({name:this.FVYear,type:"onFiltersYear"})}if(this.fVarrayAgeRange[0]>=e.ageLimits.min&&this.fVarrayAgeRange[1]<=e.ageLimits.max)if(this.fVarrayAgeRange[0]>e.ageLimits.min||this.fVarrayAgeRange[1]<e.ageLimits.max){var i=this.arrayFiltersPlays.findIndex(b=>b.type==="onFiltersAge");i!=-1?this.fVarrayAgeRange.length>0?this.arrayFiltersPlays[i].name=this.fVarrayAgeRange[0]!=this.fVarrayAgeRange[1]?this.fVarrayAgeRange[0]+" - "+this.fVarrayAgeRange[1]+" años":this.fVarrayAgeRange[1]+" años":this.arrayFiltersPlays.splice(i,1):this.arrayFiltersPlays.push({name:this.fVarrayAgeRange[0]!=this.fVarrayAgeRange[1]?this.fVarrayAgeRange[0]+" - "+this.fVarrayAgeRange[1]+" años":this.fVarrayAgeRange[1]+" años",type:"onFiltersAge"})}else{var i=this.arrayFiltersPlays.findIndex(c=>c.type==="onFiltersAge");i!=-1&&this.arrayFiltersPlays.splice(i,1)}if(e.hasOwnProperty("nationalities")&&this.fVnationalities.size!=e.nationalities.length&&this.fVnationalities.size>0){var _=this.arrayFiltersPlays.findIndex(b=>b.type==="onFiltersNationality");_!=-1?this.fVnationalities.size>0?this.arrayFiltersPlays[_].name=this.fVnationalities.size>1?this.fVnationalities.size+" Nacionalidades":"Nacionalidad "+F:this.arrayFiltersPlays.splice(_,1):this.arrayFiltersPlays.push({name:this.fVnationalities.size>1?this.fVnationalities.size+" Nacionalidades":"Nacionalidad "+F,type:"onFiltersNationality"})}},clickAll(e){},clickAllAll(e){},clickTeam(e){},clickTeamScouting(e){},resetFilterTeamAndPlayers(){this.filters={zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.setNationalitiesIds,setPositionsIds:[1,2,3,4,5,6,7,8,9],setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set}},async changeTabsGeneral(e){if(this.resetPredefinedTeamAll(),this.showfiltersPc=!0,this.optionSelected=e,this.optionSelectedSubmenu="Todas las jugadas",this.filtersPredefinedF={},this.categoryPredefinedActive=!1,this.categoryPredefined=0,e=="Equipos"&&(this.typeTable=1,this.isTeam=!0,this.updateTables+=1,this.rowScoutingData=[],this.arrayFiltersPlays=[],this.teamselect=0,this.resetFilterTeamAndPlayers(),this.resetScouting()),e=="Jugadores"&&(this.typeTable=0,this.isTeam=!1,this.teamselect=0,this.updateTables+=1,this.rowScoutingData=[],this.resetFilterTeamAndPlayers(),this.resetScouting()),e=="Scouting"){this.rowScoutingData=[],this.teamselect=0,this.arrayFiltersPlays=[];const n=await this.fetchTeamsScouting(this.currentSeasonId);this.teamsscouting=[];for(let r=0;r<n.teams.length;r++)this.teamsscouting.push({id:n.teams[r].team_id,team:n.teams[r].colloquial_name,logo:n.teams[r].logo});setTimeout(()=>{this.modifidFiltersFlag=!1},200),this.resetFilterTeamAndPlayers()}},resetPredefinedTeamAll(){var e=this.arrayFiltersPlays.findIndex(r=>r.type==="onFiltersPredefined");if(this.categoriesDefault.length>0&&e!==-1){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF={},this.arrayFiltersPlays.splice(e,1);for(let r=0;r<this.categoriesDefault.length;r++)this.categoriesDefault[r].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var n=this.arrayFiltersPlays.findIndex(r=>r.type==="onFiltersPredefined");if(n!==-1){for(let r=0;r<this.FVfilterGolstats.length;r++)this.FVfilterGolstats[r].isSelected=!1;n!==-1&&this.arrayFiltersPlays.splice(n,1),this.updateFilterGolstats+=1}}},changeTabsSubmenu(e){e!="Predeterminados"?this.resetPredefinedTeamAll():this.arrayFiltersPlays=[],this.optionSelectedSubmenu=e},async fetchTournaments(){const e=cl.create({headers:{Authorization:`${this.token}`}}),{data:n}=await e.get(this.tournamentsUrl);return n},async fetchTeams(){const e=cl.create({headers:{Authorization:`${this.token}`}}),{data:n}=await e.get(this.teamsUrl+this.seasonActive);return n},async fetchTeamsScouting(e){const n=cl.create({headers:{Authorization:`${this.token}`}}),{data:r}=await n.get(this.teamsUrl+e);return r},async getPredefinedfilters(e){this.arrayPredefinedFilters=[],this.arrayPredefinedOrigin=[];var n="";e.id==1?n=this.urlFilter:n=this.urlFilter;const r=cl.create({headers:{Authorization:`${this.token}`}}),{data:I}=await r.get(n+e.id);if(Object.keys(I[0].match_lapse_combinations).forEach(_=>{this.predefinedFiltersMatchLapse[_.toString()]=I[0].match_lapse_combinations[_]}),Object.keys(I[0].playing_as_combinations).forEach(_=>{this.predefinedFiltersPlayingAs[_.toString()]=I[0].playing_as_combinations[_]}),Object.keys(I[0].field_sections_combinations).forEach(_=>{this.predefinedFiltersSections[_.toString()]=I[0].field_sections_combinations[_]}),I[0]){for(let _=0;_<I[0].filter_records.length;_++){var F=I[0].description;if(I[0].filter_records[_].field_sections!==void 0){const c=I[0].filter_records[_].field_sections.toString();(this.predefinedFiltersSections[c]||this.predefinedFiltersSections[c]=="")&&(this.predefinedFiltersSections[c]==""?F=F.replace(" [en {field_sections}]",this.predefinedFiltersSections[c]):F=F.replace("{field_sections}",this.predefinedFiltersSections[c]))}if(I[0].filter_records[_].match_lapse!==void 0){const c=I[0].filter_records[_].match_lapse.toString();(this.predefinedFiltersMatchLapse[c]||this.predefinedFiltersMatchLapse[c]=="")&&(this.predefinedFiltersMatchLapse[c]==""?F=F.replace(" [durante {match_lapse}]",this.predefinedFiltersMatchLapse[c]):F=F.replace("{match_lapse}",this.predefinedFiltersMatchLapse[c]))}if(I[0].filter_records[_].playing_as!==void 0){const c=I[0].filter_records[_].playing_as.toString();(this.predefinedFiltersPlayingAs[c]||this.predefinedFiltersPlayingAs[c]=="")&&(this.predefinedFiltersPlayingAs[c]==""?F=F.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[c]):F=F.replace("{playing_as}",this.predefinedFiltersPlayingAs[c]))}I[0].filter_records[_].section_type!==void 0&&(this.optionSelected=="Jugadores"?F=F.replace("{section_type}","Jugadores"):F=F.replace("{section_type}","Equipos")),F=F.replace(/\[/g,""),F=F.replace(/\]/g,""),F=F.replace("{category_name}",I[0].category_name);const b=F.split(": ");var h=b[1];h.length>129&&this.windowWidth>1358&&(h=h.substring(0,129),h=h+"<span id='showIDtootip' class='dots' style='width: 100px; height: 20px; background: red; z-index: 6;'>...</span>"),(!this.isCup||I[0].filter_records[_].playing_as.length===2)&&this.arrayPredefinedFilters.push({id:_,category_name:e.name,id_category:I[0].id,title:b[0]+":",text:b[1],textOrigin:I[0].description,titledots:h,filtersPredefined:{matchResult:I[0].filter_records[_].match_result,playingAs:I[0].filter_records[_].playing_as,sections:I[0].filter_records[_].match_lapse,type:this.optionSelected=="Equipos"?2:1,typeZone:I[0].type_zone,zone:I[0].filter_records[_].field_sections,end_age:0,start_age:0,nationalities:[],elegible:[],positions:[]}})}var m=[];for(let _=0;_<this.arrayPredefinedFilters.length;_++){var a=0,v=new Set,g={},i=this.arrayPredefinedFilters[_].text.replace(/\*.*?\*/,"");if(i=i.replace(/\*/g,""),i=i.replace(/ +/g," "),this.arrayPredefinedFilters[_].filtersPredefined.elegible.length>0&&(a+=1),(this.arrayPredefinedFilters[_].filtersPredefined.end_age.length!=0||this.arrayPredefinedFilters[_].filtersPredefined.start_age.length!=0)&&(a+=1),this.arrayPredefinedFilters[_].filtersPredefined.end_age!=0&&this.arrayPredefinedFilters[_].filtersPredefined.start_age!=0?g.arrayAgeRange=[this.arrayPredefinedFilters[_].filtersPredefined.start_age,this.arrayPredefinedFilters[_].filtersPredefined.end_age]:this.arrayPredefinedFilters[_].filtersPredefined.end_age==0&&this.arrayPredefinedFilters[_].filtersPredefined.start_age==0?g.arrayAgeRange=[1,60]:this.arrayPredefinedFilters[_].filtersPredefined.start_age!=0&&this.arrayPredefinedFilters[_].filtersPredefined.end_age==0?g.arrayAgeRange=[this.arrayPredefinedFilters[_].filtersPredefined.start_age,60]:g.arrayAgeRange=[1,this.arrayPredefinedFilters[_].filtersPredefined.end_age],this.arrayPredefinedFilters[_].filtersPredefined.matchResult.length!=3&&(a+=1),g.matchResult=this.arrayPredefinedFilters[_].filtersPredefined.matchResult,this.arrayPredefinedFilters[_].filtersPredefined.nationalities.length>0&&(a+=1),this.arrayPredefinedFilters[_].filtersPredefined.nationalities.length!=0){for(let b=0;b<this.arrayPredefinedFilters[_].filtersPredefined.nationalities.length;b++)v.add(this.arrayPredefinedFilters[_].filtersPredefined.nationalities[b]);g.setNationalitiesIds=v}else v.add(138),v.add(222),v.add(163),v.add(51),v.add(226),v.add(10),v.add(223),v.add(96),v.add(171),v.add(198),v.add(105),v.add(80),v.add(29),v.add(74),v.add(216),v.add(196),v.add(64),v.add(155),v.add(156),v.add(89),v.add(106),v.add(81),v.add(233),v.add(204),g.setNationalitiesIds=v;this.arrayPredefinedFilters[_].filtersPredefined.playingAs.length!=2&&(a+=1),g.playingAs=this.arrayPredefinedFilters[_].filtersPredefined.playingAs,this.arrayPredefinedFilters[_].filtersPredefined.positions.length>0&&(a+=1),this.arrayPredefinedFilters[_].filtersPredefined.positions.length>0?g.setPositionsIds=this.arrayPredefinedFilters[_].filtersPredefined.positions:g.setPositionsIds=[1,2,3,4,5,6,7,8,9],this.arrayPredefinedFilters[_].filtersPredefined.sections.length!=6&&(a+=1),this.arrayPredefinedFilters[_].filtersPredefined.sections.length>0?g.sections=this.arrayPredefinedFilters[_].filtersPredefined.sections:g.sections=[1,2,3,4,5,6],this.arrayPredefinedFilters[_].filtersPredefined.zone.length!=16&&(a+=1),this.arrayPredefinedFilters[_].filtersPredefined.zone.length>0?g.zone=this.arrayPredefinedFilters[_].filtersPredefined.zone:g.zone=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],g.typeZone=this.arrayPredefinedFilters[_].filtersPredefined.typeZone,m.push({id:_+1,name:i,isSelected:!1,value:a,filters:g})}this.FVfilterGolstats=m,this.updateFilterGolstats+=1,this.arrayPredefinedOrigin=JSON.parse(JSON.stringify(this.arrayPredefinedFilters))}},getTextFilterPredefinedCustom(){this.setDinamicFilters(this.filterEmitAux);var e=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].textOrigin;const n=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.zone.sort((i,_)=>i-_).toString();this.predefinedFiltersSections[n]||this.predefinedFiltersSections[n]==""?this.predefinedFiltersSections[n]==""?e=e.replace(" [en {field_sections}]",this.predefinedFiltersSections[n]):e=e.replace("{field_sections}",this.predefinedFiltersSections[n]):e=e.replace("{field_sections}",this.predefinedFiltersSections.other);var r=!1;this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size>0?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size==this.setNationalityIds.size?(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size==1?(e=e.replace("[{nationality}]",this.$t(`gentilicios[${[...this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities][0]}]`)),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size>0&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size!=this.setPositionsIds.size?(r=!0,e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]","")):(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")),this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size>0?(r||this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size==this.setPositionsIds.size)&&(e=e.replace("[de las posiciones seleccionadas]","")):e=e.replace("[de las posiciones seleccionadas]",""),this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=0&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=0?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=this.arrayAgeRange[0]&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=this.arrayAgeRange[1]?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age==this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age?(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" años]")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" a "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age+" años]")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=this.arrayAgeRange[0]||this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=this.arrayAgeRange[1]?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age==this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age?(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" años]")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" a "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age+" años]")):(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]",""));const I=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.sections.sort().toString();if(this.predefinedFiltersMatchLapse[I]||this.predefinedFiltersMatchLapse[I]=="")this.predefinedFiltersMatchLapse[I]==""?e=e.replace(" [durante {match_lapse}]",this.predefinedFiltersMatchLapse[I]):e=e.replace("{match_lapse}",this.predefinedFiltersMatchLapse[I]);else{e=e.replace("{match_lapse}"," "+this.predefinedFiltersMatchLapse.other);var F="";I.includes(1)&&(F=F+"0-15, "),I.includes(2)&&(F=F+"16-30, "),I.includes(3)&&(F=F+"31-45, "),I.includes(4)&&(F=F+"46-60, "),I.includes(5)&&(F=F+"61-75, "),I.includes(6)&&(F=F+"76-90, "),F=F.slice(0,-2),F=F.replace(/,([^,]*)$/," y $1"),e=e.replace("{match_lapse_selected}",F)}const h=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.playingAs.sort().toString();(this.predefinedFiltersPlayingAs[h]||this.predefinedFiltersPlayingAs[h]=="")&&(this.predefinedFiltersPlayingAs[h]==""?e=e.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[h]):e=e.replace("{playing_as}",this.predefinedFiltersPlayingAs[h])),this.typeSelected==1?this.getUser.tournament==1001?this.category.id==22?e=e.replace("{section_type}","Porteras"):e=e.replace("{section_type}","Jugadoras"):this.category.id==22?e=e.replace("{section_type}","Porteros"):e=e.replace("{section_type}","Jugadores"):e=e.replace("{section_type}","Equipos"),e=e.replace(/\[/g,""),e=e.replace(/\]/g,""),e=e.replace("{category_name}",this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].category_name);const m=e.split(": ");let a=m[1].charAt(0).toUpperCase()+m[1].toLowerCase().slice(1),v=m[1].charAt(0).toUpperCase()+m[1].toLowerCase().slice(1);this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].text=a,this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].title=m[0]+":";const g=v.match(/\*/g);if(g&&g.length)if(g.length%2===0)for(let i=1;i<=g.length;i++)i%2===0||(v=v.replace("*",'<span style="color: #ffff03" >'));else v=v.replaceAll("*","");this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].titledots=v},intervalidtops(e){this.$emit("intervalidtops",e)}},mounted(){sessionStorage.getItem("sidpdfil")!==null&&sessionStorage.setItem("sidpdfil",0),this.renderNext(),this.teamId!==0&&this.optionSelected!=="Scouting"&&this.clickTeam(this.teamId),this.defaultSection!=="Jugadores"&&(this.defaultSection==="Scouting"&&this.selectedSeason(this.currentSeasonId),this.changeTabsGeneral(this.defaultSection))},async created(){try{const e=cl.create({headers:{"Content-Type":"application/json"}});e.interceptors.request.use(r=>(delete r.headers.Authorization,r));const n=await e.get("https://golstats-microservices.s3.us-west-2.amazonaws.com/eligibles/elegibles.json",{headers:{"Content-Type":"application/json"}});this.elegibilidadArray=n.data,this.fVnationalities.add(138),this.fVnationalities.add(222),this.fVnationalities.add(163),this.fVnationalities.add(51),this.fVnationalities.add(226),this.fVnationalities.add(10),this.fVnationalities.add(223),this.fVnationalities.add(96),this.fVnationalities.add(171),this.fVnationalities.add(198),this.fVnationalities.add(105),this.fVnationalities.add(80),this.fVnationalities.add(29),this.fVnationalities.add(74),this.fVnationalities.add(216),this.fVnationalities.add(196),this.fVnationalities.add(64),this.fVnationalities.add(155),this.fVnationalities.add(156),this.fVnationalities.add(89),this.fVnationalities.add(106),this.fVnationalities.add(81),this.fVnationalities.add(233),this.fVnationalities.add(204)}catch(e){throw new Error(e)}}},kLt={ref:"myDivRefTopsFull"},CLt={key:0,class:"overlay-loading"},SLt=[t.createElementVNode("div",{class:"overlay-loading__spinner"},[t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/balon_liga.png",alt:""})],-1),t.createElementVNode("div",{class:"overlay-loading__text"},"Loading...",-1)],TLt=[t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_close.png",style:{width:"10px"}},null,-1)],ELt={key:0,class:"cont-leyemd-multipleleagues"},ALt=t.createElementVNode("img",{class:"img-leyemd-multipleleagues",src:"http://golstatsimages.blob.core.windows.net/images-library/icn-multiples-ligas.png"},null,-1),MLt={key:0,style:{"margin-left":"10px"}},ILt=t.createElementVNode("span",null,"Tipo de Jugada",-1),NLt=t.createElementVNode("span",null,"Filtro GolStats",-1),BLt={key:3,style:{width:"100%",height:"295px"}};function PLt(e,n,r,I,F,h){t.resolveComponent("GSCTournamentSelect"),t.resolveComponent("GSCSeasonSelect");const m=t.resolveComponent("GscSwitchComponent"),a=t.resolveComponent("GSCFilterperteam"),v=t.resolveComponent("GSCFilters"),g=t.resolveComponent("GSCLabel"),i=t.resolveComponent("GSCTopCategory"),_=t.resolveComponent("GSCTableHeader"),b=t.resolveComponent("GSCRowTable"),c=t.resolveComponent("GSCExpandedInfo");return t.openBlock(),t.createElementBlock("div",kLt,[F.loadingActive?(t.openBlock(),t.createElementBlock("div",CLt,SLt)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.templateLosMejoresClass)},[t.createElementVNode("section",{class:t.normalizeClass(e.containerSectionClass),id:"container-section"},[t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.comdescubreVideosClass)},[t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.menuSectionParentHeaderClass)},[t.createCommentVNode("",!0),t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.topFiltersParentClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.topFiltersClass),id:"top-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamBarParent)},[F.optionSelected!="Scouting"&&F.optionSelected!="Equipos"?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamBar),id:"team-bar"},[t.createVNode(a,{data:F.teams,"team-id":r.teamId,"background-color":"#172531","contain-border-radius":"8px",onClickTeam:h.clickTeam,onClickAll:h.clickAll},null,8,["data","team-id","onClickTeam","onClickAll"])],2)):t.createCommentVNode("",!0),t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerFilters),id:"container-filters",style:t.normalizeStyle(F.showfiltersPc?"":I.elementSize.width>760?"display: none;":"")},[t.createElementVNode("div",{class:t.normalizeClass(e.menuSectionClass),id:"menu-section"},[I.elementSize.width>760&&F.optionSelected!="Scouting"?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.closeFiltersPc),onClick:n[1]||(n[1]=(...s)=>h.clickCloseFilters&&h.clickCloseFilters(...s))},TLt,2)):t.createCommentVNode("",!0),F.optionSelected!=="Scouting"?(t.openBlock(),t.createBlock(m,{key:1,type:2,buttons:["Todas las jugadas","Predeterminados"],"font-family":"Poppins-Regular","selected-option":F.optionSelectedSubmenu,"font-size":e.sizeTabsFontMS,width:e.sizeTabsMS,arrow:!1,borderWidth:"1px","background-option-active":"#172531",background:"#172531",height:"28px",onInput:h.changeTabsSubmenu},null,8,["selected-option","font-size","width","onInput"])):t.createCommentVNode("",!0)],2),t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnCloseFilters),style:t.normalizeStyle(F.optionSelected==="Scouting"?"margin-top: 4%; margin-left: 1%":""),onClick:n[3]||(n[3]=(...s)=>h.openMenuFilters&&h.openMenuFilters(...s))},null,6),[[t.vShow,I.elementSize.width<760&&F.openMenuMobil]]),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(e.containerMenuClass),id:"container-menu"},[F.optionSelectedSubmenu=="Todas las jugadas"&&F.optionSelected!="Scouting"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[I.elementSize.width>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.withDirectives(t.createVNode(v,t.mergeProps({"button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.PLAYS,"show-badge-on-filter-full":!1,"onUpdate:filters":h.onFiltersPlays,filters:F.categoriesPlaysTypes,onApply:h.applyFiltersBtn}),null,16,["button-filter-props","filter-type","onUpdate:filters","filters","onApply"]),[[t.vShow,!F.showFullTable]]),(t.openBlock(),t.createBlock(v,t.mergeProps({"button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{key:F.updateFilterField,"filter-type":F.filtersTypes.FIELD,"show-badge-on-filter-full":!1,"onUpdate:filters":h.onFiltersField,filters:F.fVzone}),null,16,["button-filter-props","filter-type","onUpdate:filters","filters"])),t.createVNode(v,t.mergeProps({"button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.DETAILS,"show-badge-on-filter-full":!1,"onUpdate:filters":h.onFiltersDetails,filters:F.detailsObject}),null,16,["button-filter-props","filter-type","onUpdate:filters","filters"]),F.optionSelected==="Jugadores"?(t.openBlock(),t.createBlock(v,t.mergeProps({key:0,ref:"personalDataFilterPlayers","button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.PERSONAL_DATA,"show-badge-on-filter-full":!1,season:{id:r.seasonActive,tournamentId:F.tournamentSelectedObj.value},token:F.token,"onUpdate:filters":h.onFiltersData}),null,16,["button-filter-props","filter-type","season","token","onUpdate:filters"])):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),F.optionSelected=="Scouting"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[I.elementSize.width>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(t.openBlock(),t.createBlock(v,t.mergeProps({"button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.TOURNAMENTS,"show-badge-on-filter-full":!1,filters:F.tournamentsToFilter,key:F.keyTournamentValue,"onUpdate:filters":h.onFiltersTournaments}),null,16,["button-filter-props","filter-type","filters","onUpdate:filters"])),t.createVNode(v,t.mergeProps({"button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.PERSONAL_DATA,"show-badge-on-filter-full":!1,season:{id:F.filterScounting.seasonId,tournamentId:F.filterScounting.tournaments[0]},ref:"personalDataFilter","onUpdate:filters":h.onFiltersPersonalData}),null,16,["button-filter-props","filter-type","season","onUpdate:filters"]),t.createVNode(v,t.mergeProps({"button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.UNIVERSE,"show-badge-on-filter-full":!1,filters:F.universeData,"onUpdate:filters":h.onFiltersUniverse}),null,16,["button-filter-props","filter-type","filters","onUpdate:filters"]),t.createVNode(v,t.mergeProps({"button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.PRODUCTIVITY,"show-badge-on-filter-full":!1,"onUpdate:filters":h.onFiltersProductivity,filters:F.detaildProductivityCategories}),null,16,["button-filter-props","filter-type","onUpdate:filters","filters"])],64)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.BtnSearchScountingcom),onClick:n[4]||(n[4]=(...s)=>h.getScoutingData&&h.getScoutingData(...s))},"Buscar",2)],64)):t.createCommentVNode("",!0),F.optionSelectedSubmenu=="Predeterminados"&&F.optionSelected!="Scouting"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[(t.openBlock(),t.createBlock(v,t.mergeProps({"button-filter-props":h.filterButtonProps,modalHeight:"300px"},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModePropsTypePlays,{"filter-type":F.filtersTypes.PLAYS_TYPES,"show-badge-on-filter-full":!1,key:F.updateFilterPlaytypesGolstats,"onUpdate:filters":h.onFiltersPlaysTypes,filters:F.categoriesDefault}),null,16,["button-filter-props","filter-type","onUpdate:filters","filters"])),(t.openBlock(),t.createBlock(v,t.mergeProps({"button-filter-props":h.filterButtonProps,modalHeight:"300px"},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.GOLSTATS,"show-badge-on-filter-full":!1,key:F.updateFilterGolstats,"onUpdate:filters":h.onFiltersGolStats,filters:h.filterGolstats}),null,16,["button-filter-props","filter-type","onUpdate:filters","filters"]))],64)):t.createCommentVNode("",!0)],2),[[t.vShow,I.elementSize.width>760||F.openMenuMobil]]),F.optionSelected=="Scouting"?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.teamBar),id:"team-bar"},[F.filterScounting.tournaments.length>1&&F.rowScoutingData.length>0?(t.openBlock(),t.createElementBlock("div",ELt,[ALt,t.createElementVNode("div",{class:t.normalizeClass(e.comextleyemdmultipleleaguesClass)}," El filtro por equipos solo se pude utilizar cuando se tiene maximo 1 liga seleccionada ",2)])):(t.openBlock(),t.createBlock(a,{data:F.teamsscouting,"team-id":F.teamselectrec,"background-color":"#172531","contain-border-radius":"8px",key:F.updateFilterTeamsScouting,onClickTeam:h.clickTeamScouting,onClickAll:h.clickAllAll},null,8,["data","team-id","onClickTeam","onClickAll"]))],2)):t.createCommentVNode("",!0)],6)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.containerTheBestClass),id:"container-the-best"},[t.createElementVNode("div",{class:t.normalizeClass(e.titleSectionClass)},[F.optionSelectedSubmenu!="Predeterminados"?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.commejoresJugadoresClass)},[F.arrayFiltersPlays.length>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[F.optionSelected!="Scouting"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Mejores jugadores: ")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Jugadores más productivos: ")],64))],64)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),F.optionSelected!="Scouting"&&F.optionSelectedSubmenu!="Predeterminados"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[F.showFullTable?(t.openBlock(),t.createElementBlock("div",MLt,[t.createVNode(g,{"text-value":"Categoría - "+F.categoryName+" ","font-size":"11px","font-color":"rgba(255, 255, 255, 0.7)",onClickClose:h.deleteCategoryFilter,icon:"https://az755631.vo.msecnd.net/todoelfut/icn_close.png","icon-size":"6px",height:"20px"},null,8,["text-value","onClickClose"])])):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(F.arrayFiltersPlays,(s,o)=>(t.openBlock(),t.createElementBlock("div",{key:o,style:{"margin-left":"10px"}},[t.createVNode(g,{"text-value":s.name+" ","font-size":"11px","font-color":"rgba(255, 255, 255, 0.7)",onClickClose:h.deleteLabelFilter,id:s.type,icon:"https://az755631.vo.msecnd.net/todoelfut/icn_close.png","icon-size":"6px",height:I.elementSize.width<768?"auto":"20px"},null,8,["text-value","onClickClose","id","height"])]))),128)),F.rowScoutingData.length!=0||F.optionSelectedSubmenu=="Predeterminados"&&F.arrayFiltersPlays.findIndex(s=>s.type==="onFiltersPredefined")!==-1?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.comquitarFiltrosClass),onClick:n[5]||(n[5]=(...s)=>h.onClickDeleteFilter&&h.onClickDeleteFilter(...s))}," Quitar filtros ",2)):t.createCommentVNode("",!0),t.createCommentVNode("",!0)],2),r.seasonActive!=0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.containerTablesClass),id:"container-tables",style:t.normalizeStyle(F.showFullTable?"gap: 0px!important;":"")},[F.optionSelected!=="Scouting"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[F.optionSelectedSubmenu=="Todas las jugadas"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(F.categoriesDefault,(s,o)=>(t.openBlock(),t.createElementBlock("div",{key:o,style:t.normalizeStyle(!F.showOnlyCategories&&F.arrayCategoryFilter.includes(s.id)?"":"display:none !important;")},[t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(e.toniKroosWrapperClass)},[(t.openBlock(),t.createBlock(i,{"is-widget":r.isWidget,"team-widget":r.teamWidget,"time-live-comparative-avanced":r.timeLiveComparativeAvanced,"is-team":F.isTeam,onMore:h.onShowFullTable,"border-width":0,onIntervalidtops:h.intervalidtops,"can-play-videos":r.canPlayVideos,"border-radius":"12px","game-id":r.gameId,game:r.game,typeData:r.typeData,"filters-prop":h.filterChange,category:s.id,"type-table":F.typeTable,categoryName:s.name,season:r.seasonActive,"filter-team":r.teamselect,key:F.updateTables,onClickprofile:h.clickprofile,onSetopenmedia:h.setOpenMedia,onComponentLoaded:e.onComponentLoaded},null,8,["is-widget","team-widget","time-live-comparative-avanced","is-team","onMore","onIntervalidtops","can-play-videos","game-id","game","typeData","filters-prop","category","type-table","categoryName","season","filter-team","onClickprofile","onSetopenmedia","onComponentLoaded"]))],2),[[t.vShow,!F.showOnlyCategories&&F.arrayCategoryFilter.includes(s.id)&&!F.showFullTable]])],4))),128)),F.showFullTable?(t.openBlock(),t.createBlock(i,{"time-live-comparative-avanced":r.timeLiveComparativeAvanced,"is-team":F.isTeam,"is-widget":r.isWidget,"team-widget":r.teamWidget,"border-width":0,"border-radius":"12px","game-id":r.gameId,onIntervalidtops:h.intervalidtops,game:r.game,typeData:r.typeData,category:F.showFullCategory,type:1,"type-table":F.typeTable,categoryName:"","filters-prop":h.filterChange,season:r.seasonActive,"filter-team":r.teamselect,key:F.updateTablesfull,onClickprofile:h.clickprofile,onSetopenmedia:h.setOpenMedia},null,8,["time-live-comparative-avanced","is-team","is-widget","team-widget","game-id","onIntervalidtops","game","typeData","category","type-table","filters-prop","season","filter-team","onClickprofile","onSetopenmedia"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[F.categoryPredefinedActive?(t.openBlock(),t.createBlock(i,{"is-widget":r.isWidget,"team-widget":r.teamWidget,"is-team":F.isTeam,"time-live-comparative-avanced":r.timeLiveComparativeAvanced,onIntervalidtops:h.intervalidtops,"border-width":0,"border-radius":"12px","can-play-videos":r.canPlayVideos,"game-id":r.gameId,game:r.game,typeData:r.typeData,category:F.categoryPredefined,type:1,"type-table":F.typeTable,categoryName:"","filters-prop":h.filterChangePredefined,season:r.seasonActive,"filter-team":r.teamselect,key:F.updateTables,onClickprofile:h.clickprofile,onSetopenmedia:h.setOpenMedia},null,8,["is-widget","team-widget","is-team","time-live-comparative-avanced","onIntervalidtops","can-play-videos","game-id","game","typeData","category","type-table","filters-prop","season","filter-team","onClickprofile","onSetopenmedia"])):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.containerPredefinedcom)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.titleContainerPredefinedcom)},[F.arrayFiltersPlays.length==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("No has seleccionado ningún filtro")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("No existen resultados")],64))],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.subtitleContainerPredefinedcom)},[F.arrayFiltersPlays.length==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Para visualizar resultados selecciona un")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("No existen resultados con los filtros")],64))],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.subtitleContainerPredefinedcom)},[F.arrayFiltersPlays.length==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[ILt,t.createTextVNode(" y un "),NLt,t.createTextVNode(" en la")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("que has seleccionado.")],64))],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.subtitleContainerPredefinedcom)},[F.arrayFiltersPlays.length==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("parte superior.")],64)):t.createCommentVNode("",!0)],2)],2))],64))],64)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.containerPredefinedScountingcom),style:t.normalizeStyle(F.rowScoutingData.length>0?"height: auto;":"")},[F.loadingActive?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[F.rowScoutingData.length>0?(t.openBlock(),t.createBlock(_,{key:0,background:"#183143",type:2})):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(F.rowScoutingData,(s,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:o},[F.teamselectrec==0||F.teamselectrec==s.team_id?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(b,{type:2,"is-expanded":F.playerexpand==s.id&&F.expand,onMediadata:h.setMediaData,data:{position:s.position,player_name:s.player_name,player_photo:s.player_photo,total:s.total,id:s.id,player_age:s.player_age,team_abrev:s.team_abrev,team_logo:s.team_logo,player_position:F.positions[s.player_position-1].fullname,player_country_flag:s.player_country_flag,player_games:s.player_games,player_min:s.player_min,league_name:s.league_name,seasons:s.seasons,season_id:s.season_id},height:"71px",background:o%2===0?r.backgroundOdd:r.backgroundEven,onExpand:h.clickexpand},null,8,["is-expanded","onMediadata","data","background","onExpand"]),F.expand&&F.playerexpand==s.id?(t.openBlock(),t.createBlock(c,{key:0,type:0,"view-effectiveness":!1,viewGoals:!1,additionalClass:"fullTable",data:{teams:s.team_name,age:s.player_age,dataofbirth:s.date,nationality:s.nationality_name,countryFlag:s.player_country_flag,position:F.positions[s.player_position-1].name,games:s.player_games,min:s.player_min,goals:s.total,effectiveness:"-",category:"total",id:s.id},onViewprofile:l=>h.viewprofile(l,s.season_id,s.team_id),background:o%2===0?r.backgroundOdd:r.backgroundEven},null,8,["data","onViewprofile","background"])):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64))),128))],64)),F.rowScoutingData.length==0&&!F.loadingActive?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.btnLeyendTxtcom)},' Haz click en "Buscar" para aplicar tus filtros ',2)):t.createCommentVNode("",!0),F.rowScoutingData.length==0&&!F.loadingActive?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.containerScountingBtncom)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDeleteAplicacom),onClick:n[6]||(n[6]=(...s)=>h.onClickDeleteFilter&&h.onClickDeleteFilter(...s))}," Eliminar filtros aplicados ",2),F.rowScoutingData.length==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.SearchBtnBarcom),onClick:n[7]||(n[7]=(...s)=>h.getScoutingData&&h.getScoutingData(...s))}," Buscar ",2)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),F.loadingActive?(t.openBlock(),t.createElementBlock("div",BLt)):t.createCommentVNode("",!0)],6))],6)):t.createCommentVNode("",!0)],2)],2)],2)],2)],512)}const OLt=Hr(wLt,[["render",PLt],["__cssModules",{$style:bLt}]]),Rxa="";let Iq=null;const LLt={components:{GSCDatosGSMain:_Bt,GSCCheckbox:q0,GSCRadioToggle:pH,GSCTopFull:OLt},props:{isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},timeLiveComparativeBestPlayers:{type:Number,default:6e4},timeLiveComparativeAvanced:{type:Number,default:6e4},tournamentSelected:{type:Object,default:()=>({})},game:{type:Object,default:()=>{}},playVideosPrivileges:{type:Object,default:null},canPlayVideos:{type:Boolean,default:!1}},data(){return{updateHomeCheck:0,updateAwayCheck:0,activeSection:"destacados",widthSection:0,teamactive:0,update:0,homeTeamCheck:!0,awayTeamCheck:!0,typeViewData:1}},watch:{game:{deep:!0,immediate:!0,handler(e){e&&(e.game_status==1||e.is_live==1||e.game_status==0?this.typeViewData=1:this.typeViewData=0),this.update+=1}}},computed:{},methods:{preventChange(e){e.preventDefault(),this.homeTeamCheck=!0},intervalidgs(e){this.$emit("intervalidgs",e)},onOpenProfileTeam(e){this.$emit("openProfileTeam",e)},intervalidtops(e){this.$emit("intervalidtops",e)},onOpenProfilePlayer(e){this.$emit("onOpenProfile",e)},ChangeRadio(e){typeof e=="string"&&(e=="Este partido"?this.typeViewData=1:this.typeViewData=0)},onCheckInactiveHome(e){e?(this.homeTeamCheck=!0,this.awayTeamCheck?this.teamactive=0:this.teamactive=this.game.homeTeam.team_id):this.awayTeamCheck?(this.homeTeamCheck=!1,this.teamactive=this.game.awayTeam.team_id):(this.updateHomeCheck+=1,this.homeTeamCheck=!0,this.teamactive=this.game.homeTeam.team_id)},onCheckInactiveAway(e){e?(this.awayTeamCheck=!0,this.homeTeamCheck?this.teamactive=0:this.teamactive=this.game.awayTeam.team_id):this.homeTeamCheck?(this.awayTeamCheck=!1,this.teamactive=this.game.homeTeam.team_id):(this.updateAwayCheck+=1,this.teamactive=this.game.awayTeam.team_id,this.awayTeamCheck=!0)},setUpResizeObserver(){if(window.ResizeObserver)Iq=new ResizeObserver(()=>{this.widthSection=this.$refs.comparative.clientWidth}),Iq.observe(this.$refs.comparative);else throw new Error("Resize observer not supported!")},clickOptSection(e){this.activeSection=e},openmedia(e){this.typeViewData==1?(e.gameIds=[this.game.gameId],this.$emit("openmedia",e)):this.$emit("openmedia",e)}},async mounted(){setTimeout(()=>{this.setUpResizeObserver()},1e3)}},FLt=e=>(t.pushScopeId("data-v-aa642141"),e=e(),t.popScopeId(),e),DLt={class:"container-comparative",ref:"comparative"},zLt={class:"container-btn"},VLt={class:"items-container-btn"},RLt={class:"container-sections"},$Lt={key:0,class:"container-teams-menu"},jLt={class:"container-team-menu-home"},ULt=["src"],GLt=FLt(()=>t.createElementVNode("div",{class:"container-team-menu-separator"},null,-1)),HLt={class:"container-team-menu-away"},WLt=["src"],qLt={key:1,class:"container-switch-menu"},YLt={class:"container-leyend"},XLt={class:"container-tops"};function JLt(e,n,r,I,F,h){const m=t.resolveComponent("GSCDatosGSMain"),a=t.resolveComponent("GSCCheckbox"),v=t.resolveComponent("GSCRadioToggle"),g=t.resolveComponent("GSCTopFull");return t.openBlock(),t.createElementBlock("div",DLt,[t.createElementVNode("div",zLt,[t.createElementVNode("div",VLt,[t.createElementVNode("div",{class:t.normalizeClass([F.widthSection>480?"btn-destacados":"btn-destacados-movil",F.activeSection=="destacados"?"active":""]),onClick:n[0]||(n[0]=i=>h.clickOptSection("destacados"))},[r.game.status==1||r.game.is_live==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[r.tournamentSelected.is_female==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Jugadoras destacadas")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Jugadores destacados")],64))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("General")],64))],2),t.createElementVNode("div",{class:t.normalizeClass([F.widthSection>480?"btn-avanced":"btn-avanced-movil",F.activeSection=="avanzado"?"active":""]),onClick:n[1]||(n[1]=i=>h.clickOptSection("avanzado"))},"Avanzado",2)])]),t.createElementVNode("div",RLt,[F.activeSection=="destacados"?(t.openBlock(),t.createBlock(m,{key:0,"is-widget":r.isWidget,"team-widget":r.teamWidget,"tournament-selected":r.tournamentSelected,"time-live-comparative-best-players":r.timeLiveComparativeBestPlayers,game:r.game,"play-videos-privileges":r.playVideosPrivileges,onOpenmedia:h.openmedia,onIntervalidgs:h.intervalidgs},null,8,["is-widget","team-widget","tournament-selected","time-live-comparative-best-players","game","play-videos-privileges","onOpenmedia","onIntervalidgs"])):t.createCommentVNode("",!0),F.activeSection=="avanzado"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[r.isWidget?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",$Lt,[t.createElementVNode("div",jLt,[(t.openBlock(),t.createBlock(a,{fontFamily:"Poppins-Regular","onUpdate:modelValue":h.onCheckInactiveHome,"label-color":"#8c9399",width:"25",key:F.updateHomeCheck,"model-value":F.homeTeamCheck,height:"25",style:{"margin-top":"-4px"}},null,8,["onUpdate:modelValue","model-value"])),t.createElementVNode("img",{class:"img-teams-selector-home",width:"23",src:r.game.homeTeam.logo},null,8,ULt),t.createElementVNode("div",{class:t.normalizeClass(F.widthSection>390?"label-team-home":"label-team-home-movil")},t.toDisplayString(r.game.homeTeam.colloquial_name),3)]),GLt,t.createElementVNode("div",HLt,[t.createElementVNode("div",{class:t.normalizeClass(F.widthSection>390?"label-team-away":"label-team-away-movil")},t.toDisplayString(r.game.awayTeam.colloquial_name),3),t.createElementVNode("img",{class:"img-teams-selector-away",width:"23",src:r.game.awayTeam.logo},null,8,WLt),(t.openBlock(),t.createBlock(a,{fontFamily:"Poppins-Regular","onUpdate:modelValue":h.onCheckInactiveAway,"label-color":"#8c9399",width:"25",key:F.updateAwayCheck,"model-value":F.awayTeamCheck,height:"25",style:{"margin-top":"-4px"}},null,8,["onUpdate:modelValue","model-value"]))])])),r.game.status==1?(t.openBlock(),t.createElementBlock("div",qLt,[t.createVNode(v,{height:"20px",width:"41px","background-color":"none","width-circle":"15px","height-circle":"15px","circle-color-switch":"#CBEE6B","font-color":"#ffffff","value-default":F.typeViewData==1?"Este partido":"Acumulado",textOptionLeft:"Este partido",textOptionRight:"Acumulado",onChange:h.ChangeRadio},null,8,["value-default","onChange"])])):t.createCommentVNode("",!0),t.createElementVNode("div",YLt,[F.typeViewData==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Jugadas destacadas durante este partido ")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[r.game.status==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Jugadas destacadas durante el torneo ")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[r.tournamentSelected.is_female==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Jugadoras destacadas durante lo que va del torneo")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Jugadores destacados durante lo que va del torneo")],64))],64))],64))]),t.createElementVNode("div",XLt,[t.createVNode(g,{"is-widget":r.isWidget,"team-widget":r.teamWidget,"time-live-comparative-avanced":r.timeLiveComparativeAvanced,"can-play-videos":r.canPlayVideos,onOpenmedia:h.openmedia,onOpenProfileTeam:h.onOpenProfileTeam,onIntervalidtops:h.intervalidtops,onOpenProfilePlayer:h.onOpenProfilePlayer,"type-data":F.typeViewData,"game-id":r.game.gameId,game:r.game,"current-season-id":r.game.seasonId,"team-id":F.teamactive,"season-active":r.game.seasonId,teamselect:F.teamactive},null,8,["is-widget","team-widget","time-live-comparative-avanced","can-play-videos","onOpenmedia","onOpenProfileTeam","onIntervalidtops","onOpenProfilePlayer","type-data","game-id","game","current-season-id","team-id","season-active","teamselect"])])],64)):t.createCommentVNode("",!0)])],512)}const ZLt=Hr(LLt,[["render",JLt],["__scopeId","data-v-aa642141"]]);function Nq(e,n){return function(){return e.apply(n,arguments)}}const{toString:KLt}=Object.prototype,{getPrototypeOf:wT}=Object,n5=(e=>n=>{const r=KLt.call(n);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),wh=e=>(e=e.toLowerCase(),n=>n5(n)===e),r5=e=>n=>typeof n===e,{isArray:K1}=Array,gv=r5("undefined");function QLt(e){return e!==null&&!gv(e)&&e.constructor!==null&&!gv(e.constructor)&&Yd(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Bq=wh("ArrayBuffer");function eFt(e){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(e):n=e&&e.buffer&&Bq(e.buffer),n}const tFt=r5("string"),Yd=r5("function"),Pq=r5("number"),i5=e=>e!==null&&typeof e=="object",aFt=e=>e===!0||e===!1,o5=e=>{if(n5(e)!=="object")return!1;const n=wT(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},nFt=wh("Date"),rFt=wh("File"),iFt=wh("Blob"),oFt=wh("FileList"),sFt=e=>i5(e)&&Yd(e.pipe),lFt=e=>{let n;return e&&(typeof FormData=="function"&&e instanceof FormData||Yd(e.append)&&((n=n5(e))==="formdata"||n==="object"&&Yd(e.toString)&&e.toString()==="[object FormData]"))},cFt=wh("URLSearchParams"),[dFt,uFt,hFt,pFt]=["ReadableStream","Request","Response","Headers"].map(wh),fFt=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function yv(e,n,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let I,F;if(typeof e!="object"&&(e=[e]),K1(e))for(I=0,F=e.length;I<F;I++)n.call(null,e[I],I,e);else{const h=r?Object.getOwnPropertyNames(e):Object.keys(e),m=h.length;let a;for(I=0;I<m;I++)a=h[I],n.call(null,e[a],a,e)}}function Oq(e,n){n=n.toLowerCase();const r=Object.keys(e);let I=r.length,F;for(;I-- >0;)if(F=r[I],n===F.toLowerCase())return F;return null}const Bm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Lq=e=>!gv(e)&&e!==Bm;function kT(){const{caseless:e}=Lq(this)&&this||{},n={},r=(I,F)=>{const h=e&&Oq(n,F)||F;o5(n[h])&&o5(I)?n[h]=kT(n[h],I):o5(I)?n[h]=kT({},I):K1(I)?n[h]=I.slice():n[h]=I};for(let I=0,F=arguments.length;I<F;I++)arguments[I]&&yv(arguments[I],r);return n}const mFt=(e,n,r,{allOwnKeys:I}={})=>(yv(n,(F,h)=>{r&&Yd(F)?e[h]=Nq(F,r):e[h]=F},{allOwnKeys:I}),e),gFt=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),yFt=(e,n,r,I)=>{e.prototype=Object.create(n.prototype,I),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:n.prototype}),r&&Object.assign(e.prototype,r)},vFt=(e,n,r,I)=>{let F,h,m;const a={};if(n=n||{},e==null)return n;do{for(F=Object.getOwnPropertyNames(e),h=F.length;h-- >0;)m=F[h],(!I||I(m,e,n))&&!a[m]&&(n[m]=e[m],a[m]=!0);e=r!==!1&&wT(e)}while(e&&(!r||r(e,n))&&e!==Object.prototype);return n},_Ft=(e,n,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=n.length;const I=e.indexOf(n,r);return I!==-1&&I===r},bFt=e=>{if(!e)return null;if(K1(e))return e;let n=e.length;if(!Pq(n))return null;const r=new Array(n);for(;n-- >0;)r[n]=e[n];return r},xFt=(e=>n=>e&&n instanceof e)(typeof Uint8Array<"u"&&wT(Uint8Array)),wFt=(e,n)=>{const r=(e&&e[Symbol.iterator]).call(e);let I;for(;(I=r.next())&&!I.done;){const F=I.value;n.call(e,F[0],F[1])}},kFt=(e,n)=>{let r;const I=[];for(;(r=e.exec(n))!==null;)I.push(r);return I},CFt=wh("HTMLFormElement"),SFt=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,I){return r.toUpperCase()+I}),Fq=(({hasOwnProperty:e})=>(n,r)=>e.call(n,r))(Object.prototype),TFt=wh("RegExp"),Dq=(e,n)=>{const r=Object.getOwnPropertyDescriptors(e),I={};yv(r,(F,h)=>{let m;(m=n(F,h,e))!==!1&&(I[h]=m||F)}),Object.defineProperties(e,I)},EFt=e=>{Dq(e,(n,r)=>{if(Yd(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const I=e[r];if(Yd(I)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},AFt=(e,n)=>{const r={},I=F=>{F.forEach(h=>{r[h]=!0})};return K1(e)?I(e):I(String(e).split(n)),r},MFt=()=>{},IFt=(e,n)=>e!=null&&Number.isFinite(e=+e)?e:n,CT="abcdefghijklmnopqrstuvwxyz",zq="0123456789",Vq={DIGIT:zq,ALPHA:CT,ALPHA_DIGIT:CT+CT.toUpperCase()+zq},NFt=(e=16,n=Vq.ALPHA_DIGIT)=>{let r="";const{length:I}=n;for(;e--;)r+=n[Math.random()*I|0];return r};function BFt(e){return!!(e&&Yd(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const PFt=e=>{const n=new Array(10),r=(I,F)=>{if(i5(I)){if(n.indexOf(I)>=0)return;if(!("toJSON"in I)){n[F]=I;const h=K1(I)?[]:{};return yv(I,(m,a)=>{const v=r(m,F+1);!gv(v)&&(h[a]=v)}),n[F]=void 0,h}}return I};return r(e,0)},OFt=wh("AsyncFunction"),LFt=e=>e&&(i5(e)||Yd(e))&&Yd(e.then)&&Yd(e.catch),Rq=((e,n)=>e?setImmediate:n?((r,I)=>(Bm.addEventListener("message",({source:F,data:h})=>{F===Bm&&h===r&&I.length&&I.shift()()},!1),F=>{I.push(F),Bm.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Yd(Bm.postMessage)),FFt=typeof queueMicrotask<"u"?queueMicrotask.bind(Bm):typeof process<"u"&&process.nextTick||Rq,Wn={isArray:K1,isArrayBuffer:Bq,isBuffer:QLt,isFormData:lFt,isArrayBufferView:eFt,isString:tFt,isNumber:Pq,isBoolean:aFt,isObject:i5,isPlainObject:o5,isReadableStream:dFt,isRequest:uFt,isResponse:hFt,isHeaders:pFt,isUndefined:gv,isDate:nFt,isFile:rFt,isBlob:iFt,isRegExp:TFt,isFunction:Yd,isStream:sFt,isURLSearchParams:cFt,isTypedArray:xFt,isFileList:oFt,forEach:yv,merge:kT,extend:mFt,trim:fFt,stripBOM:gFt,inherits:yFt,toFlatObject:vFt,kindOf:n5,kindOfTest:wh,endsWith:_Ft,toArray:bFt,forEachEntry:wFt,matchAll:kFt,isHTMLForm:CFt,hasOwnProperty:Fq,hasOwnProp:Fq,reduceDescriptors:Dq,freezeMethods:EFt,toObjectSet:AFt,toCamelCase:SFt,noop:MFt,toFiniteNumber:IFt,findKey:Oq,global:Bm,isContextDefined:Lq,ALPHABET:Vq,generateString:NFt,isSpecCompliantForm:BFt,toJSONObject:PFt,isAsyncFn:OFt,isThenable:LFt,setImmediate:Rq,asap:FFt};function Qi(e,n,r,I,F){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",n&&(this.code=n),r&&(this.config=r),I&&(this.request=I),F&&(this.response=F)}Wn.inherits(Qi,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Wn.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const $q=Qi.prototype,jq={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{jq[e]={value:e}}),Object.defineProperties(Qi,jq),Object.defineProperty($q,"isAxiosError",{value:!0}),Qi.from=(e,n,r,I,F,h)=>{const m=Object.create($q);return Wn.toFlatObject(e,m,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),Qi.call(m,e.message,n,r,I,F),m.cause=e,m.name=e.name,h&&Object.assign(m,h),m};const DFt=null;function ST(e){return Wn.isPlainObject(e)||Wn.isArray(e)}function Uq(e){return Wn.endsWith(e,"[]")?e.slice(0,-2):e}function Gq(e,n,r){return e?e.concat(n).map(function(I,F){return I=Uq(I),!r&&F?"["+I+"]":I}).join(r?".":""):n}function zFt(e){return Wn.isArray(e)&&!e.some(ST)}const VFt=Wn.toFlatObject(Wn,{},null,function(e){return/^is[A-Z]/.test(e)});function s5(e,n,r){if(!Wn.isObject(e))throw new TypeError("target must be an object");n=n||new FormData,r=Wn.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(c,s){return!Wn.isUndefined(s[c])});const I=r.metaTokens,F=r.visitor||g,h=r.dots,m=r.indexes,a=(r.Blob||typeof Blob<"u"&&Blob)&&Wn.isSpecCompliantForm(n);if(!Wn.isFunction(F))throw new TypeError("visitor must be a function");function v(c){if(c===null)return"";if(Wn.isDate(c))return c.toISOString();if(!a&&Wn.isBlob(c))throw new Qi("Blob is not supported. Use a Buffer instead.");return Wn.isArrayBuffer(c)||Wn.isTypedArray(c)?a&&typeof Blob=="function"?new Blob([c]):Buffer.from(c):c}function g(c,s,o){let l=c;if(c&&!o&&typeof c=="object"){if(Wn.endsWith(s,"{}"))s=I?s:s.slice(0,-2),c=JSON.stringify(c);else if(Wn.isArray(c)&&zFt(c)||(Wn.isFileList(c)||Wn.endsWith(s,"[]"))&&(l=Wn.toArray(c)))return s=Uq(s),l.forEach(function(d,u){!(Wn.isUndefined(d)||d===null)&&n.append(m===!0?Gq([s],u,h):m===null?s:s+"[]",v(d))}),!1}return ST(c)?!0:(n.append(Gq(o,s,h),v(c)),!1)}const i=[],_=Object.assign(VFt,{defaultVisitor:g,convertValue:v,isVisitable:ST});function b(c,s){if(!Wn.isUndefined(c)){if(i.indexOf(c)!==-1)throw Error("Circular reference detected in "+s.join("."));i.push(c),Wn.forEach(c,function(o,l){(!(Wn.isUndefined(o)||o===null)&&F.call(n,o,Wn.isString(l)?l.trim():l,s,_))===!0&&b(o,s?s.concat(l):[l])}),i.pop()}}if(!Wn.isObject(e))throw new TypeError("data must be an object");return b(e),n}function Hq(e){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return n[r]})}function TT(e,n){this._pairs=[],e&&s5(e,this,n)}const Wq=TT.prototype;Wq.append=function(e,n){this._pairs.push([e,n])},Wq.toString=function(e){const n=e?function(r){return e.call(this,r,Hq)}:Hq;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function RFt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function qq(e,n,r){if(!n)return e;const I=r&&r.encode||RFt,F=r&&r.serialize;let h;if(F?h=F(n,r):h=Wn.isURLSearchParams(n)?n.toString():new TT(n,r).toString(I),h){const m=e.indexOf("#");m!==-1&&(e=e.slice(0,m)),e+=(e.indexOf("?")===-1?"?":"&")+h}return e}class Yq{constructor(){this.handlers=[]}use(n,r,I){return this.handlers.push({fulfilled:n,rejected:r,synchronous:I?I.synchronous:!1,runWhen:I?I.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){Wn.forEach(this.handlers,function(r){r!==null&&n(r)})}}const Xq={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$Ft=typeof URLSearchParams<"u"?URLSearchParams:TT,jFt=typeof FormData<"u"?FormData:null,UFt=typeof Blob<"u"?Blob:null,GFt={isBrowser:!0,classes:{URLSearchParams:$Ft,FormData:jFt,Blob:UFt},protocols:["http","https","file","blob","url","data"]},ET=typeof window<"u"&&typeof document<"u",HFt=(e=>ET&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),WFt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",qFt=ET&&window.location.href||"http://localhost",YFt=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ET,hasStandardBrowserEnv:HFt,hasStandardBrowserWebWorkerEnv:WFt,origin:qFt},Symbol.toStringTag,{value:"Module"})),kh={...YFt,...GFt};function XFt(e,n){return s5(e,new kh.classes.URLSearchParams,Object.assign({visitor:function(r,I,F,h){return kh.isNode&&Wn.isBuffer(r)?(this.append(I,r.toString("base64")),!1):h.defaultVisitor.apply(this,arguments)}},n))}function JFt(e){return Wn.matchAll(/\w+|\[(\w*)]/g,e).map(n=>n[0]==="[]"?"":n[1]||n[0])}function ZFt(e){const n={},r=Object.keys(e);let I;const F=r.length;let h;for(I=0;I<F;I++)h=r[I],n[h]=e[h];return n}function Jq(e){function n(r,I,F,h){let m=r[h++];if(m==="__proto__")return!0;const a=Number.isFinite(+m),v=h>=r.length;return m=!m&&Wn.isArray(F)?F.length:m,v?(Wn.hasOwnProp(F,m)?F[m]=[F[m],I]:F[m]=I,!a):((!F[m]||!Wn.isObject(F[m]))&&(F[m]=[]),n(r,I,F[m],h)&&Wn.isArray(F[m])&&(F[m]=ZFt(F[m])),!a)}if(Wn.isFormData(e)&&Wn.isFunction(e.entries)){const r={};return Wn.forEachEntry(e,(I,F)=>{n(JFt(I),F,r,0)}),r}return null}function KFt(e,n,r){if(Wn.isString(e))try{return(n||JSON.parse)(e),Wn.trim(e)}catch(I){if(I.name!=="SyntaxError")throw I}return(r||JSON.stringify)(e)}const vv={transitional:Xq,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",I=r.indexOf("application/json")>-1,F=Wn.isObject(e);if(F&&Wn.isHTMLForm(e)&&(e=new FormData(e)),Wn.isFormData(e))return I?JSON.stringify(Jq(e)):e;if(Wn.isArrayBuffer(e)||Wn.isBuffer(e)||Wn.isStream(e)||Wn.isFile(e)||Wn.isBlob(e)||Wn.isReadableStream(e))return e;if(Wn.isArrayBufferView(e))return e.buffer;if(Wn.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let h;if(F){if(r.indexOf("application/x-www-form-urlencoded")>-1)return XFt(e,this.formSerializer).toString();if((h=Wn.isFileList(e))||r.indexOf("multipart/form-data")>-1){const m=this.env&&this.env.FormData;return s5(h?{"files[]":e}:e,m&&new m,this.formSerializer)}}return F||I?(n.setContentType("application/json",!1),KFt(e)):e}],transformResponse:[function(e){const n=this.transitional||vv.transitional,r=n&&n.forcedJSONParsing,I=this.responseType==="json";if(Wn.isResponse(e)||Wn.isReadableStream(e))return e;if(e&&Wn.isString(e)&&(r&&!this.responseType||I)){const F=!(n&&n.silentJSONParsing)&&I;try{return JSON.parse(e)}catch(h){if(F)throw h.name==="SyntaxError"?Qi.from(h,Qi.ERR_BAD_RESPONSE,this,null,this.response):h}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:kh.classes.FormData,Blob:kh.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Wn.forEach(["delete","get","head","post","put","patch"],e=>{vv.headers[e]={}});const QFt=Wn.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),eDt=e=>{const n={};let r,I,F;return e&&e.split(`
3579
+ */const Qc={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},bq={itemsToShow:{default:Qc.itemsToShow,type:Number},itemsToScroll:{default:Qc.itemsToScroll,type:Number},wrapAround:{default:Qc.wrapAround,type:Boolean},throttle:{default:Qc.throttle,type:Number},snapAlign:{default:Qc.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:Qc.transition,type:Number},breakpoints:{default:Qc.breakpoints,type:Object},autoplay:{default:Qc.autoplay,type:Number},pauseAutoplayOnHover:{default:Qc.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:Qc.mouseDrag,type:Boolean},touchDrag:{default:Qc.touchDrag,type:Boolean},dir:{default:Qc.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:Qc.i18n,type:Object},settings:{default(){return{}},type:Object}};function iOt({config:e,slidesCount:n}){const{snapAlign:r,wrapAround:I,itemsToShow:F=1}=e;if(I)return Math.max(n-1,0);let h;switch(r){case"start":h=n-F;break;case"end":h=n-1;break;case"center":case"center-odd":h=n-Math.ceil((F-.5)/2);break;case"center-even":h=n-Math.ceil(F/2);break;default:h=0;break}return Math.max(h,0)}function oOt({config:e,slidesCount:n}){const{wrapAround:r,snapAlign:I,itemsToShow:F=1}=e;let h=0;if(r||F>n)return h;switch(I){case"start":h=0;break;case"end":h=F-1;break;case"center":case"center-odd":h=Math.floor((F-1)/2);break;case"center-even":h=Math.floor((F-2)/2);break;default:h=0;break}return h}function gT({val:e,max:n,min:r}){return n<r?e:Math.min(Math.max(e,r),n)}function sOt({config:e,currentSlide:n,slidesCount:r}){const{snapAlign:I,wrapAround:F,itemsToShow:h=1}=e;let m=n;switch(I){case"center":case"center-odd":m-=(h-1)/2;break;case"center-even":m-=(h-2)/2;break;case"end":m-=h-1;break}return F?m:gT({val:m,max:r-h,min:0})}function xq(e){return e?e.reduce((n,r)=>{var I;return r.type===t.Fragment?[...n,...xq(r.children)]:((I=r.type)===null||I===void 0?void 0:I.name)==="CarouselSlide"?[...n,r]:n},[]):[]}function yT({val:e,max:n,min:r=0}){return e>n?yT({val:e-(n+1),max:n,min:r}):e<r?yT({val:e+(n+1),max:n,min:r}):e}function lOt(e,n){let r;return n?function(...I){const F=this;r||(e.apply(F,I),r=!0,setTimeout(()=>r=!1,n))}:e}function cOt(e,n){let r;return function(...I){r&&clearTimeout(r),r=setTimeout(()=>{e(...I),r=null},n)}}function dOt(e="",n={}){return Object.entries(n).reduce((r,[I,F])=>r.replace(`{${I}}`,String(F)),e)}var uOt=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},Qc))),n=t.inject("currentSlide",t.ref(0)),r=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},dOt(e.i18n.itemXofY,{currentSlide:n.value+1,slidesCount:r.value}))}}),hOt=t.defineComponent({name:"Carousel",props:bq,setup(e,{slots:n,emit:r,expose:I}){var F;const h=t.ref(null),m=t.ref([]),a=t.ref(0),v=t.ref(0),g=t.reactive(Object.assign({},Qc));let i=Object.assign({},Qc),_;const b=t.ref((F=e.modelValue)!==null&&F!==void 0?F:0),c=t.ref(0),s=t.ref(0),o=t.ref(0),l=t.ref(0);let d,u;t.provide("config",g),t.provide("slidesCount",v),t.provide("currentSlide",b),t.provide("maxSlide",o),t.provide("minSlide",l),t.provide("slideWidth",a);function p(){_=Object.assign({},e.breakpoints),i=Object.assign(Object.assign(Object.assign({},i),e),{i18n:Object.assign(Object.assign({},i.i18n),e.i18n),breakpoints:void 0}),y(i)}function f(){if(!_||!Object.keys(_).length)return;const te=Object.keys(_).map(re=>Number(re)).sort((re,ce)=>+ce-+re);let ee=Object.assign({},i);te.some(re=>{const ce=window.matchMedia(`(min-width: ${re}px)`).matches;return ce&&(ee=Object.assign(Object.assign({},ee),_[re])),ce}),y(ee)}function y(te){Object.entries(te).forEach(([ee,re])=>g[ee]=re)}const w=cOt(()=>{f(),x()},16);function x(){if(!h.value)return;const te=h.value.getBoundingClientRect();a.value=te.width/g.itemsToShow}function M(){v.value<=0||(s.value=Math.ceil((v.value-1)/2),o.value=iOt({config:g,slidesCount:v.value}),l.value=oOt({config:g,slidesCount:v.value}),g.wrapAround||(b.value=gT({val:b.value,max:o.value,min:l.value})))}t.onMounted(()=>{t.nextTick(()=>x()),setTimeout(()=>x(),1e3),f(),V(),window.addEventListener("resize",w,{passive:!0}),r("init")}),t.onUnmounted(()=>{u&&clearTimeout(u),d&&clearInterval(d),window.removeEventListener("resize",w,{passive:!0})});let k=!1;const C={x:0,y:0},T={x:0,y:0},A=t.reactive({x:0,y:0}),E=t.ref(!1),B=t.ref(!1),S=()=>{E.value=!0},L=()=>{E.value=!1};function N(te){["INPUT","TEXTAREA","SELECT"].includes(te.target.tagName)||(k=te.type==="touchstart",k||te.preventDefault(),!(!k&&te.button!==0||j.value)&&(C.x=k?te.touches[0].clientX:te.clientX,C.y=k?te.touches[0].clientY:te.clientY,document.addEventListener(k?"touchmove":"mousemove",O,!0),document.addEventListener(k?"touchend":"mouseup",z,!0)))}const O=lOt(te=>{B.value=!0,T.x=k?te.touches[0].clientX:te.clientX,T.y=k?te.touches[0].clientY:te.clientY;const ee=T.x-C.x,re=T.y-C.y;A.y=re,A.x=ee},g.throttle);function z(){const te=g.dir==="rtl"?-1:1,ee=Math.sign(A.x)*.4,re=Math.round(A.x/a.value+ee)*te;if(re&&!k){const ce=he=>{he.stopPropagation(),window.removeEventListener("click",ce,!0)};window.addEventListener("click",ce,!0)}q(b.value-re),A.x=0,A.y=0,B.value=!1,document.removeEventListener(k?"touchmove":"mousemove",O,!0),document.removeEventListener(k?"touchend":"mouseup",z,!0)}function V(){!g.autoplay||g.autoplay<=0||(d=setInterval(()=>{g.pauseAutoplayOnHover&&E.value||$()},g.autoplay))}function R(){d&&(clearInterval(d),d=null),V()}const j=t.ref(!1);function q(te){const ee=g.wrapAround?te:gT({val:te,max:o.value,min:l.value});b.value===ee||j.value||(r("slide-start",{slidingToIndex:te,currentSlideIndex:b.value,prevSlideIndex:c.value,slidesCount:v.value}),j.value=!0,c.value=b.value,b.value=ee,u=setTimeout(()=>{if(g.wrapAround){const re=yT({val:ee,max:o.value,min:0});re!==b.value&&(b.value=re,r("loop",{currentSlideIndex:b.value,slidingToIndex:te}))}r("update:modelValue",b.value),r("slide-end",{currentSlideIndex:b.value,prevSlideIndex:c.value,slidesCount:v.value}),j.value=!1,R()},g.transition))}function $(){q(b.value+g.itemsToScroll)}function H(){q(b.value-g.itemsToScroll)}const X={slideTo:q,next:$,prev:H};t.provide("nav",X),t.provide("isSliding",j);const G=t.computed(()=>sOt({config:g,currentSlide:b.value,slidesCount:v.value}));t.provide("slidesToScroll",G);const Y=t.computed(()=>{const te=g.dir==="rtl"?-1:1,ee=G.value*a.value*te;return{transform:`translateX(${A.x-ee}px)`,transition:`${j.value?g.transition:0}ms`,margin:g.wrapAround?`0 -${v.value*a.value}px`:"",width:"100%"}});function K(){p(),f(),M(),x(),R()}Object.keys(bq).forEach(te=>{["modelValue"].includes(te)||t.watch(()=>e[te],K)}),t.watch(()=>e.modelValue,te=>{te!==b.value&&q(Number(te))}),t.watch(v,M),r("before-init"),p();const le={config:g,slidesCount:v,slideWidth:a,next:$,prev:H,slideTo:q,currentSlide:b,maxSlide:o,minSlide:l,middleSlide:s};I({updateBreakpointsConfigs:f,updateSlidesData:M,updateSlideWidth:x,initDefaultConfigs:p,restartCarousel:K,slideTo:q,next:$,prev:H,nav:X,data:le});const oe=n.default||n.slides,ne=n.addons,se=t.reactive(le);return()=>{const te=xq(oe==null?void 0:oe(se)),ee=(ne==null?void 0:ne(se))||[];te.forEach((fe,me)=>fe.props.index=me);let re=te;if(g.wrapAround){const fe=te.map((ye,be)=>t.cloneVNode(ye,{index:-te.length+be,isClone:!0,key:`clone-before-${be}`})),me=te.map((ye,be)=>t.cloneVNode(ye,{index:te.length+be,isClone:!0,key:`clone-after-${be}`}));re=[...fe,...te,...me]}m.value=te,v.value=Math.max(te.length,1);const ce=t.h("ol",{class:"carousel__track",style:Y.value,onMousedownCapture:g.mouseDrag?N:null,onTouchstartPassiveCapture:g.touchDrag?N:null},re),he=t.h("div",{class:"carousel__viewport"},ce);return t.h("section",{ref:h,class:{carousel:!0,"is-sliding":j.value,"is-dragging":B.value,"is-hover":E.value,"carousel--rtl":g.dir==="rtl"},dir:g.dir,"aria-label":g.i18n.ariaGallery,tabindex:"0",onMouseenter:S,onMouseleave:L},[he,ee,t.h(uOt)])}}}),wq;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(wq||(wq={}));var pOt=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:n}){const r=t.inject("config",t.reactive(Object.assign({},Qc))),I=t.inject("currentSlide",t.ref(0)),F=t.inject("slidesToScroll",t.ref(0)),h=t.inject("isSliding",t.ref(!1)),m=()=>e.index===I.value,a=()=>e.index===I.value-1,v=()=>e.index===I.value+1,g=()=>{const i=Math.floor(F.value),_=Math.ceil(F.value+r.itemsToShow-1);return e.index>=i&&e.index<=_};return()=>{var i;return t.h("li",{style:{width:`${100/r.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":g(),"carousel__slide--active":m(),"carousel__slide--prev":a(),"carousel__slide--next":v(),"carousel__slide--sliding":h.value},"aria-hidden":!g()},(i=n.default)===null||i===void 0?void 0:i.call(n))}}});const fOt=(e,n)=>{const r=e.__vccOpts||e;for(const[I,F]of n)r[I]=F;return r},mOt=e=>(t.pushScopeId("data-v-54620d25"),e=e(),t.popScopeId(),e),gOt={class:"gsc-carousel"},yOt={key:0},vOt=mOt(()=>t.createElementVNode("div",null,"no hay",-1)),_Ot=[vOt],bOt={class:"gsc-carousel__2d__slides"},xOt={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wOt=["fill"],kOt={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},COt=["fill"],SOt={class:"gsc-carousel__2d__navigation"},TOt={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EOt=["stroke"],AOt={key:1,class:"gsc-carousel__2d__navigation__pagination"},MOt=["onClick"],IOt={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},NOt=["stroke"],BOt={__name:"GSC-Carousel",props:{currentItemIndex:{type:Number,default:0},items:{type:Array,default:()=>[]},is3d:{type:Boolean,default:!1},isPaginationVisible:{type:Boolean,default:!1},areNavigationArrowsVisible:{type:Boolean,default:!0},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(n=>n in e)},navigationHeight:{type:Number,default:4},navigationBorderRadius:{type:Number,default:4},navigationColor:{type:String,default:"rgba(255, 255, 255, 0.4)"},navigationActiveColor:{type:String,default:"#cbee6b"},navigationActiveWidth:{type:Number,default:30},arrowsColor:{type:String,default:"#cbee6b"},arrowsMaxWidth:{type:String,default:"20px"},wrapAround:{type:Boolean,default:!1},itemsToShow:{type:Number,default:1},isMainSlidePriority:{type:Boolean,default:!1},areSlidesArrowsVisible:{type:Boolean,default:!1},slideLeftArrowBackgroundImage:{type:String,default:"linear-gradient(to right, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},slideRightArrowBackgroundImage:{type:String,default:"linear-gradient(to left, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},areSlidesArrowsRounded:{type:Boolean,default:!1},slidesArrowsLeftAndRight:{type:String,default:"20px"},secondarySlidesOpacity:{type:Number,default:.8},marginTop:{type:String,default:"0"}},emits:["input","update:currentItemIndex"],setup(e,{expose:n,emit:r}){const I=e;t.useCssVars(o=>({"2c72d674":e.slideLeftArrowBackgroundImage,"90a63f40":e.slidesArrowsLeftAndRight,"2627d097":e.slideRightArrowBackgroundImage,"1904d43f":e.marginTop,cfb58986:e.secondarySlidesOpacity}));const F=t.ref(null),h=t.ref({}),m=t.ref(0),a=t.ref(!1);t.watch(F,o=>{o&&a.value?(a.value=!1,v(I.items)):o&&o.slideTo&&o.slideTo(m.value)},{deep:!0}),t.watch(()=>I.currentItemIndex,o=>{m.value!==o&&b(o)}),t.watch(()=>I.defaultItemByIndex,o=>{m.value!==o&&b(o)}),t.watch(()=>I.items,o=>{F.value?v(o):a.value=!0},{immediate:!0});function v(o){o&&o.length&&F.value&&setTimeout(()=>{if(I.defaultItemByProp){const l=I.items.findIndex(d=>d[I.defaultItemByProp.propName]===I.defaultItemByProp.value);l!==-1?(m.value=l,h.value=o[l]):(m.value=0,h.value=o[0])}else m.value=I.defaultItemByIndex,h.value=o[I.defaultItemByIndex];F.value.slideTo&&F.value.slideTo(m.value),h.value&&m.value===0&&r("input",{selectedItem:h.value,selectedItemIndex:m.value})},500)}function g(){F.value&&F.value.next()}function i(){F.value&&F.value.prev()}function _(){F.value&&F.value.updateSlideWidth()}function b(o){F.value&&F.value.slideTo(o)}function c(o){F.value.slideTo(o)}function s(o){const l=o.slidingToIndex<0?I.items.length-1:o.slidingToIndex===I.items.length?0:o.slidingToIndex;m.value=l,h.value=I.items[l],r("update:currentItemIndex",l),r("input",{selectedItem:h.value,selectedItemIndex:m.value})}return n({prev:i,next:g,updateSlideWidth:_,slideTo:b}),(o,l)=>(t.openBlock(),t.createElementBlock("div",gOt,[I.is3d?(t.openBlock(),t.createElementBlock("div",yOt,_Ot)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",bOt,[t.createVNode(t.unref(hOt),{ref_key:"carousel2d",ref:F,"items-to-show":e.itemsToShow,"wrap-around":e.wrapAround,onSlideStart:s},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(d,u)=>(t.openBlock(),t.createBlock(t.unref(pOt),{key:u},{default:t.withCtx(()=>[t.renderSlot(o.$slots,"default",{item:d},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible&&e.items.length>1?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",style:t.normalizeStyle("max-width:"+e.arrowsMaxWidth+"!important"),onClick:l[0]||(l[0]=d=>F.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",xOt,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.10399 9L8.62342 15.4393C9.12552 16.0251 9.12552 16.9749 8.62342 17.5607C8.12132 18.1464 7.30725 18.1464 6.80514 17.5607L0.376575 10.0607C-0.125528 9.47487 -0.125528 8.52512 0.376575 7.93934L6.80515 0.439339C7.30725 -0.146447 8.12132 -0.146447 8.62342 0.43934C9.12553 1.02513 9.12553 1.97487 8.62342 2.56066L3.10399 9Z",fill:e.arrowsColor},null,8,wOt)]))],2)],4)):t.createCommentVNode("",!0),e.areSlidesArrowsVisible&&e.items.length>1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",style:t.normalizeStyle("max-width:"+e.arrowsMaxWidth+"!important"),onClick:l[1]||(l[1]=d=>g())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",kOt,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.89601 9L0.376575 2.56066C-0.125528 1.97487 -0.125528 1.02513 0.376575 0.439339C0.878675 -0.146447 1.69275 -0.146447 2.19486 0.43934L8.62343 7.93934C9.12553 8.52513 9.12553 9.47487 8.62343 10.0607L2.19486 17.5607C1.69275 18.1464 0.878675 18.1464 0.376575 17.5607C-0.125528 16.9749 -0.125528 16.0251 0.376575 15.4393L5.89601 9Z",fill:e.arrowsColor},null,8,COt)]))],2)],4)):t.createCommentVNode("",!0),t.createElementVNode("div",SOt,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:l[2]||(l[2]=d=>i())},[(t.openBlock(),t.createElementBlock("svg",TOt,[t.createElementVNode("path",{d:"M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",stroke:I.arrowsColor},null,8,EOt)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",AOt,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(d,u)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${u}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${I.navigationHeight}px`,width:`${m.value===u?I.navigationActiveWidth:I.navigationActiveWidth/2}px`,borderRadius:`${I.navigationBorderRadius}px`,backgroundColor:`${m.value===u?I.navigationActiveColor:I.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:p=>c(u)},null,12,MOt))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:l[3]||(l[3]=d=>F.value.next())},[(t.openBlock(),t.createElementBlock("svg",IOt,[t.createElementVNode("path",{d:"M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",stroke:I.arrowsColor},null,8,NOt)]))])):t.createCommentVNode("",!0)])],2))]))}},POt=fOt(BOt,[["__scopeId","data-v-54620d25"]]),z_a="",kq={3:"Albanesa",4:"Argelina",6:"Andorrano",7:"Angoleña",8:"Anguillan",9:"Antiguan",10:"Argentina",11:"Armenia",12:"Arubeño",13:"Austríaca",14:"Austríaca",15:"Azerbaiyano",16:"Bahamas",17:"Bareini",18:"Bangladesí",19:"Barbadense",20:"Bielorrusa",21:"Belga",22:"Beliceña",23:"Beninesa",24:"Bermudeña",25:"Butanés",26:"Boliviana",27:"Bosnia",28:"Botsuano",29:"Brasileña",30:"Islas Vírgenes Británicas",31:"Bruneano",32:"Búlgara",33:"Burundés",34:"Burmesa",35:"Burundés",36:"Camboyana",37:"Camerunés",38:"Canadiense",39:"Caboverdiano",40:"Caimanés",41:"Centroafricana",42:"Chadiano",43:"Chilena",44:"China",45:"Isla de Navidad",46:"Cocos Island",47:"Colombiana",48:"Comorense",49:"Congoleña",50:"Cookiano",51:"Costarricense",52:"Marfileña",53:"Croata",54:"Cubana",55:"Chipriota",56:"Checa",57:"Danesa",58:"Djibouti",60:"Dominicana",61:"Timorense",62:"Ecuatoriana",63:"Egipcia",64:"Salvadoreña",65:"Inglesa",66:"Ecuatoguineano",67:"Eritreo",68:"Estoniana",69:"Etíope",70:"Islas Malvinas",71:"Feroés",72:"Fiyiano",73:"Finlandesa",74:"Francesa",75:"Guayana Francesa",76:"Francopolinecio",77:"Gabonesa",78:"Gambiana",79:"Georgiano",80:"Alemana",81:"Ghanesa",82:"Gibraltareño",221:"Británico",84:"Griega",85:"Groenlandés",86:"Granadino",87:"Guadeloupeño",89:"Guatemalteca",90:"Guineana",91:"Guyanés",92:"Haitiana",93:"Hondureña",94:"Hongkongese",95:"Húngaro",96:"Islandesa",97:"Indio",98:"Indonesia",99:"Iraní",100:"Iraquí",101:"Irlandesa",102:"Manés",103:"Israelí",104:"Italiana",105:"Jamaiquina",106:"Japonesa",107:"Jordana",108:"Kazaja",109:"Keniana",110:"Kiribatiano",111:"Coreana",112:"Surcoreana",113:"Kosovan",114:"Kuwaití",115:"Kirguisa",116:"Laosiano",117:"Letona",118:"Libanesa",119:"Basotho",120:"Liberiana",121:"Libia",122:"Liechtenstein",123:"Lituano",124:"Luxemburguesa",125:"Macaneso",126:"Macedonia",127:"Malgache",128:"Malaya",129:"Malaya",130:"Maldivo",131:"Mali",132:"Maltesa",133:"Marshallese",134:"Martiniqueña",135:"Mauritania",136:"Mauriciano",137:"Mahoran",138:"Mexicana",139:"Micronesio",140:"Moldava",141:"Monacan",142:"Mongol",143:"Montenegrina",144:"Montserratiano",145:"Marroqui",146:"Mozambiqueña",147:"Namibio",148:"Nauruan",149:"Nepalí",150:"Holandesa",151:"Neocaledonio",152:"Neozelandesa",153:"Nicaragüense",154:"Niueño",155:"Nigerina",156:"Nigeriana",157:"Noruega",158:"Normariano",159:"Omaní",160:"Palestina",161:"Palestina",162:"Palauan",163:"Panameña",164:"Papú",165:"Paraguaya",166:"Peruana",167:"Filipina",168:"Pitcairnés",169:"Polaca",170:"Portuguesa",171:"Puertorriqueña",172:"Catari",173:"Reunionés",174:"Rumana",175:"Rusa",176:"Ruandés",177:"Santa Elena",178:"Sancristobaleña",179:"Santa Lucía",180:"Miquelonnais",181:"Sanvicentina",182:"Samoano",183:"Sanmariense",184:"Santotomense",185:"Saudí",186:"Escocesa",187:"Senegalense",188:"Serbia",189:"Seychellense",190:"Sierraleonesa",191:"Singapurense",192:"Eslovena",193:"Eslovena",194:"Salomonense",195:"Somalí",196:"Sudafricana",197:"Surosetio",198:"Española",199:"Esrilanques",200:"Sudanés",201:"Surinamés",202:"Swazi",203:"Sueca",204:"Suiza",205:"Sirio",206:"Taiwanesa",207:"Tayiko",208:"Tanzano",209:"Tailandesa",210:"Togo",211:"Tongano",212:"Trinitaria",213:"Tunecina",214:"Turca",215:"Turkmena",216:"none",217:"Tuvaluano",218:"Ugandesa",219:"Ucraniana",220:"Emiratí",222:"Americana",223:"Uruguaya",224:"Uzbeka",225:"Vanuatuense",226:"Venezolana",227:"Vietnamita",228:"Islas Vírgenes",229:"Galesa",230:"Walisiano",231:"Saharaui",232:"Yemení",233:"Zambiana",234:"Zimbabuense",236:"Curazaleña",237:"San Martín",239:"Debutante"},V_a="",vT={components:{GSCCarousel:POt,GSCLeaders:MPt,GSCRowTable:lq,GSCTableHeader:aq,GSCExpandedInfo:_q},props:{isTeam:{type:Boolean,default:!1},typeTable:{type:Number,default:0},typeData:{type:Number,default:1},gameId:{type:Number,default:0},filtersProp:{type:Object,default:()=>{}},game:{type:Object,default:()=>({})},isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},canPlayVideos:{type:Boolean,default:!1},filterTeam:{type:Number,default:0},timeLiveComparativeAvanced:{type:Number,default:6e4},category:{type:Number,default:1},categoryName:{type:String,default:"Goles"},season:{type:Number,default:1772},type:{type:Number,default:0},borderRadius:{type:String,default:"8px"},borderWidth:{type:String,default:"2px"},borderColor:{type:String,default:"#cfcfcf"},backgroundOdd:{type:String,default:"#172531"},backgroundEven:{type:String,default:"#0d1d29"},numRows:{type:Number,default:5}},setup(){const e=t.ref("myDivRef"),{elementSize:n}=mv(e);return{myDivRef:e,elementSize:n}},watch:{season:{immediate:!1,async handler(e){e&&(this.playersInfo={},this.teamInfo={},this.isloading=!0,this.formatFilterStats=[],await this.getCategoryStats(this.season))}},typeData:{immediate:!1,async handler(e){await this.getCategoryStats(this.season)}},filtersProp:{immediate:!1,deep:!0,async handler(e,n){e&&(JSON.stringify(e)!==JSON.stringify(n)||this.sonConjuntosDistintos(e.setNationalitiesIds,n.setNationalitiesIds))&&(this.isloading=!0,this.filterEmitAux=e,[1,23,3,4,5,7,6,9,8,11,10,12,13,15,14,17,16,22].includes(this.category)?this.filterEmitAux.typeZone=1:this.filterEmitAux.typeZone=2,this.formatFilterStats=await this.filterRecords(this.filterEmitAux))}}},computed:{topData(){if(this.changeStateLoading(!0),Object.entries(this.statsData).length>0&&this.formatFilterStats.length>0){var e={},n={},r=[],I=[],F=[];return this.formatFilterStats.map(h=>{e[h.team_id]?e[h.team_id].total=e[h.team_id].total+h.total:(e[h.team_id]={},e[h.team_id].total=h.total,e[h.team_id].id=this.teamInfo[h.team_id].id,e[h.team_id].name=this.teamInfo[h.team_id].name.replace(" Femenil",""),e[h.team_id].img="https://az755631.vo.msecnd.net/teams-80/"+h.team_id+".png",e[h.team_id].effectiveness=this.teamInfo[h.team_id].effectiveness,e[h.team_id].frecuency=this.teamInfo[h.team_id].frecuency,e[h.team_id].game_avg=this.teamInfo[h.team_id].game_avg,e[h.team_id].game_avg_last_season=this.teamInfo[h.team_id].game_avg_last_season,e[h.team_id].games_played_lastseason=this.teamInfo[h.team_id].games_played_lastseason,e[h.team_id].games_played=this.teamInfo[h.team_id].games_played,e[h.team_id].positiontable=this.teamInfo[h.team_id].positiontable,e[h.team_id].goals=this.teamInfo[h.team_id].goals,e[h.team_id].goalsrecived=this.teamInfo[h.team_id].goalsrecived,e[h.team_id].xg=this.teamInfo[h.team_id].xg),n[h.player_id]?h.player_id!=0&&h.player_id!=62117&&(n[h.player_id].total=n[h.player_id].total+h.total):h.player_id!=0&&h.player_id!=62117&&(n[h.player_id]={},n[h.player_id].total=h.total,h.player_id&&this.playersInfo[h.player_id]?(n[h.player_id].name=this.playersInfo[h.player_id].name,n[h.player_id].name_short=this.getnameshort(this.playersInfo[h.player_id].name),n[h.player_id].img=this.playersInfo[h.player_id].img,n[h.player_id].id=this.playersInfo[h.player_id].id,n[h.player_id].age=this.playersInfo[h.player_id].age,n[h.player_id].team=this.playersInfo[h.player_id].team,n[h.player_id].teamname=this.playersInfo[h.player_id].teamname,n[h.player_id].teamid=this.playersInfo[h.player_id].teamid,n[h.player_id].position=this.playersInfo[h.player_id].position,n[h.player_id].positionId=this.playersInfo[h.player_id].positionId,n[h.player_id].positionfull=this.playersInfo[h.player_id].positionfull,n[h.player_id].country=this.playersInfo[h.player_id].country,n[h.player_id].effectiveness=this.playersInfo[h.player_id].effectiveness,n[h.player_id].minutes=this.playersInfo[h.player_id].minutes_played,n[h.player_id].games=this.playersInfo[h.player_id].games_played,n[h.player_id].date=this.playersInfo[h.player_id].date,n[h.player_id].nationality=this.playersInfo[h.player_id].nationality,n[h.player_id].player_country_flag=this.playersInfo[h.player_id].player_country_flag,n[h.player_id].categoryName=this.categoryName):(n[h.player_id].id=h.player_id,n[h.player_id].name=h.player_id,n[h.player_id].img="SIN IMAGEN",n[h.player_id].age="",n[h.player_id].teamname="",n[h.player_id].team="",n[h.player_id].teamid=0,n[h.player_id].position="",n[h.player_id].positionId=0,n[h.player_id].positionfull="",n[h.player_id].country="",n[h.player_id].effectiveness="",n[h.player_id].minutes="",n[h.player_id].games="",n[h.player_id].date="00-00-0000",n[h.player_id].nationality="",n[h.player_id].player_country_flag="",n[h.player_id].categoryName=""))}),r.push(...Object.values(e)),I.push(...Object.values(n)),r=this.sortAndSlice(Object.values(e),60),I=I.sort(this.compareObjectsMinutes).slice(0,60),I=I.map((h,m)=>(h.top=m<9?"0"+(m+1):""+(m+1),h)),r=r.map((h,m)=>(h.top=m<9?"0"+(m+1):""+(m+1),h)),this.filterTeam!==0&&!this.isTeam&&(F=I.filter(h=>h.teamid===this.filterTeam)),this.changeStateLoading(!1),this.isTeam?this.formatArrayPaginate(r):this.filterTeam!=0?this.formatArrayPaginate(F):this.formatArrayPaginate(I)}else return this.changeStateLoading(!1),[]}},data:()=>({url:"https://8grl16o77j.execute-api.us-west-2.amazonaws.com/prod/live/tops",urlPrematch:"https://8grl16o77j.execute-api.us-west-2.amazonaws.com/prod/topsBySeasonAndCategory/",data_headers:["team_id","player_id","playing_as","match_result","section","total","origen","destino"],token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",mapPlayers:new Map,setNationalityIds:new Set,arrayAgeRange:[0,0],arePlaysEmpty:!1,teamInfo:{},formatFilterStats:[],formatStats:[],playersInfo:{},isloading:!0,statsData:{},updateSlider:0,intervalIdtops:null,filterEmitAux:{},filtersSelect:{playingAs:[],matchResult:[],sections:[],zone:[],typeZone:[]},filtersValues:{type:1,sections:[1,2,3,4,5,6],matchResult:[1,2,3],playingAs:[1,2],zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],typeZone:1,arrayAgeRange:[1,60],setNationalitiesIds:[],setPositionsIds:[1,2,3,4,5,6,7,8,9]},expand:!1,playerexpand:0,positions:[{name:"Portero",fullname:"POR"},{name:"Defensa central",fullname:"DFC"},{name:"Lateral por izquierda",fullname:"LI"},{name:"Lateral por derecha",fullname:"LD"},{name:"Volante por izquierda",fullname:"VI"},{name:"Volante por derecha",fullname:"VD"},{name:"Volante defensivo",fullname:"VDF"},{name:"Volante ofensivo",fullname:"VO"},{name:"Delantero",fullname:"DEL"},{name:"Desconocida",fullname:"Desc"}],categories:[{id:1,name:"Goles"}]}),methods:{changeStateLoading(e){this.isloading=e},compareObjectsMinutes(e,n){return e.total>n.total?-1:e.total<n.total?1:e.minutes<n.minutes?-1:e.minutes>n.minutes?1:0},sonConjuntosDistintos(e,n){const r=Array.from(e),I=Array.from(n);if(r.length!==I.length)return!0;for(let F=0;F<r.length;F++)if(!n.has(r[F]))return!0;return!1},getnameshort(e){var n=e.split(","),r=n[0].split(" "),I=n[1].trim().split(" "),F="";r.length==2||r.length==1?r[0].length<4?F=r[0]+" "+r[1]:F=r[0]:r.length==3?F=r[0]+" "+r[1]:r.length==4&&(F=r[1]+" "+r[2]+" "+r[3]);var h=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";return F=F.replace(",",""),h+". "+F},changeCarrousel(){this.expand=!1,this.playerexpand=0},compareObjects(e,n){return e.total<n.total?-1:e.total>n.total?1:e.name<n.name?-1:e.name>n.name?1:0},sortAndSlice(e,n){return e.sort((r,I)=>(r.name<I.name?1:-1)&&(r.total<I.total?1:-1)).slice(0,n)},getCategoryName(e){let n="";for(let r=0;r<this.categories.length;r++)e==this.categories[r].id&&(n=this.categories[r].name);return n},translateTopCategories(e){return{1:[12,55,"35_r","54_r"],2:[2,20],3:[485,486,487,488],4:[10,324],5:[27,323],6:[510],7:[537,540,544,547],8:[328],9:[231,238,280,287,294,406],10:[13,25],11:[98,101,104,105,109,112,115,116],12:[4],13:[88],14:[5],15:[34],16:[23],17:[11],18:[17,50],19:[18,49],20:[14,52],21:[15,53],22:[39],23:[31,32]}[e]||[]},getCoordinatePointPerCategory(e){return{1:2,2:3,3:1,4:2,5:1,6:2,7:2,8:1,9:1,10:2,11:2,12:1,13:1,14:1,15:1,16:1,17:1,18:3,19:3,20:3,21:3,22:1,23:1}[e]||0},emitEventMedia(e,n,r){let I=this.filtersValues.matchResult,F=this.filtersValues.playingAs,h=this.filtersValues.sections,m=this.filtersValues.zone,a=this.translateTopCategories(n);Object.keys(this.filterEmitAux).length>0&&(I=this.filterEmitAux.matchResult,F=this.filterEmitAux.playingAs,h=this.filterEmitAux.sections,m=this.filterEmitAux.zone);const v=1,g=2,i=3,_=this.isTeam?i:g,b=e.player_id;let c=[],s=this.isTeam?e.id:this.filterTeam;b?this.isTeam?s=b:(c=[b],a=a.filter(l=>!l.toString().includes("_r"))):this.isTeam?s=e.id:(c=[e.id],a=a.filter(l=>!l.toString().includes("_r")));const o={seasonId:this.season,isFeaturedPlayers:!1,mainSectionType:v,playListType:_,gameIds:null,playerIds:c,goalkeeperIds:[],categoryIds:this.translateTopCategories(n),teamId:s||0,matchResult:I,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:r,playingAs:F,timeSections:h,fieldSections:m,coordinatePoint:this.getCoordinatePointPerCategory(n)}};this.$emit("setopenmedia",o)},emitEventMediaFullTable(e,n,r){let I=this.filtersValues.matchResult,F=this.filtersValues.playingAs,h=this.filtersValues.sections,m=this.filtersValues.zone,a=this.translateTopCategories(n);Object.keys(this.filterEmitAux).length>0&&(I=this.filterEmitAux.matchResult,F=this.filterEmitAux.playingAs,h=this.filterEmitAux.sections,m=this.filterEmitAux.zone);const v=1,g=2,i=3,_=this.isTeam?i:g;let b=[],c=this.isTeam?e.id:this.filterTeam;this.isTeam?c=e.id:(b=[e.id],a=a.filter(o=>!o.toString().includes("_r")));const s={seasonId:this.season,isFeaturedPlayers:!1,mainSectionType:v,playListType:_,gameIds:null,playerIds:b,goalkeeperIds:[],categoryIds:a,teamId:c||0,matchResult:I,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:r,playingAs:F,timeSections:h,fieldSections:m,coordinatePoint:this.getCoordinatePointPerCategory(n)}};this.$emit("setopenmedia",s)},replaceImgPlayer(e){return e.replace("https://az755631.vo.msecnd.net/players-profile/","https://az755631.vo.msecnd.net/players-profile-no-bg/")},abrevName(e){var n=e.split(","),r=n[0].split(" "),I=n[1].trim().split(" "),F="";r.length==2||r.length==1?r[0].length<4?F=r[0]+" "+r[1]:F=r[0]:r.length==3?F=r[0]+" "+r[1]:r.length==4&&(F=r[1]+" "+r[2]+" "+r[3]);var h=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";F=F.replace(",","");var m=h+". "+F;return m},clickMore(e){this.$emit("more",{category:e,categoryName:this.categoryName})},morestats(){this.$emit("more",this.category)},viewprofile(e,n){this.$emit("clickprofile",{id:e,teamId:n,isTeam:this.isTeam})},clickexpand(e){this.expand=e.expand,this.playerexpand=e.id},async getCategoryStats(e){this.mapPlayers=new Map;try{if(!e)return;let n=[],r={},I={};this.arePlaysEmpty=!1;const F=cl.create({headers:{Authorization:`${this.token}`}});this.isloading=!0;let h={};if(this.typeData==1?this.isWidget&&this.teamWidget!=0?h=await F.get(this.url+"/"+this.gameId+"/"+this.category+"?t="+this.teamWidget):h=await F.get(this.url+"/"+this.gameId+"/"+this.category):this.game.game_status==1?this.isWidget&&this.teamWidget!=0?h=await F.get(this.url+"/"+this.gameId+"/"+this.category+"?acc=1&t="+this.teamWidget):h=await F.get(this.url+"/"+this.gameId+"/"+this.category+"?acc=1"):this.isWidget&&this.teamWidget!=0?h=await F.get(this.urlPrematch+this.season+"/"+this.category+"?t="+this.teamWidget):h=await F.get(this.urlPrematch+this.season+"/"+this.category+"?t="+this.game.homeTeam.team_id+"&t="+this.game.awayTeam.team_id),h&&h.data&&h.data.data&&h.data.data.length>0){n=h.data.data.map(a=>this.formatStatsData(a)),h.data.teams.forEach(a=>{r[a[0]]={},r[a[0]].id=a[0],r[a[0]].name=a[1],r[a[0]].abrv=a[2],r[a[0]].img=a[3],r[a[0]].effectiveness=a[4],r[a[0]].games_played=a[5],r[a[0]].games_played_lastseason=a[6],r[a[0]].positiontable=a[7],r[a[0]].goals=a[8],r[a[0]].goalsrecived=a[9],r[a[0]].xg=a[10],r[a[0]].frecuency=a[11],r[a[0]].game_avg=a[12],r[a[0]].game_avg_last_season=a[13]});const m=new Set;h.data.players.forEach(a=>{const v=this.getObjectPlayer(a);this.mapPlayers.set(v.numberId,v);const g=v.numberAge,i=v.teamName.length>0?v.teamName[0].acronym:"",_=v.teamName.length>0?r[v.teamName[0].team_id].name:"",b=v.teamName.length>0?v.teamName[0].team_id:"",c=this.positions[v.numberPositionId-1].fullname,s=this.positions[v.numberPositionId-1].name,o=v.countryId.length>0?v.countryId[0].nationality_id:"",l=v.effectiveness,d=v.min,u=v.games,p=v.date;v.arrayNationalities.forEach(f=>{m.add(f.numberId)}),I[a[0]]={id:a[0],name:a[1],img:a[2],age:g,team:i,teamname:_,teamid:b,position:c,positionfull:s,effectiveness:l,country:o,games_played:u,minutes_played:d,date:p,nationality:v.stringNationalityName,player_country_flag:v.player_country_flag,positionId:v.numberPositionId}}),this.setNationalityIds=m,this.arrayAgeRange=[h.data.min_age,h.data.max_age]}else this.arePlaysEmpty=!0;this.teamInfo=r,this.playersInfo=I,this.formatStats=n,this.formatFilterStats=this.filterRecords(this.filtersSelect),this.statsData=h}catch(n){return Promise.reject(n)}},filterRecords(e){return this.formatStats.length>0?this.formatStats.filter(n=>{const r=e.playingAs.includes(n.playing_as),I=e.matchResult.includes(n.match_result),F=e.sections.includes(n.section),h=e.typeZone===1&&e.zone.includes(n.origen)||e.typeZone===2&&e.zone.includes(n.destino);if(e.setPositionsIds&&e.setNationalitiesIds&&e.arrayAgeRange&&e.setYear&&!this.isTeam){const m=this.mapPlayers.get(n.player_id);if(!m)return!1;if(e.booleanAreNationalTeamsVisible){if(e.setAvailableNationalTeamsPlayersIds.size>0&&!e.setAvailableNationalTeamsPlayersIds.has(n.player_id))return!1}else{let a=!1;for(const v of m.arrayNationalitiesIds)if(e.setNationalitiesIds.has(v)){a=!0;break}if(!a)return!1}if(m.numberAge<e.arrayAgeRange[0]||m.numberAge>e.arrayAgeRange[1]||m.date<e.setYear||!e.setPositionsIds.includes(m.numberPositionId))return!1}return(e.playingAs.length===0||r)&&(e.matchResult.length===0||I)&&(e.sections.length===0||F)&&(e.zone.length===0||h)}):[]},updateSliderF(){this.updateSlider+=1},formatStatsData(e){const n={};return e[1]===0&&(e[2]===1||e[2]===2)&&(e[2]=3-e[2]),e[1]===0&&(e[3]===1||e[3]===2)&&(e[3]=3-e[3]),this.data_headers.forEach((r,I)=>{n[r]=e[I]}),n},getObjectPlayer(e){const n=[],r=e[7].map(F=>(n.push(F.nationality_id),{stringName:F.nationality,numberId:F.nationality_id})),I=e[9].split("-");return{numberId:e[0]!==void 0?e[0]:"",stringFullName:e[1]!==void 0?e[1]:"",stringImageUrl:e[2]!==void 0?e[2]:"",numberTeamId:e[3]!==void 0?e[3]:"",player_country_flag:"https://az755631.vo.msecnd.net/flags/"+e[3]+".jpg",stringNationalityName:kq[e[3]],numberAge:e[5]!==void 0?e[5]:"",numberPositionId:e[6]!==void 0?e[6]:"",countryId:e[7]!==void 0?e[7]:"",teamName:e[10]!==void 0?e[10]:"",effectiveness:e[11]!==void 0?e[11]:"",min:e[13]!==void 0?e[13]:"",games:e[12]!==void 0?e[12]:"",date:I.length>0?Number(I[0]):0,arrayNationalities:r,category:this.categoryName,arrayNationalitiesIds:n}},formatArrayPaginate(e){const n=Math.ceil(e.length/this.numRows);return Array.from({length:n},(r,I)=>{const F=I*this.numRows,h=F+this.numRows;return e.slice(F,h)})}},async created(){try{await this.getCategoryStats(this.season),this.game.is_live==1&&(this.intervalIdtops=setInterval(async()=>{await this.getCategoryStats(this.season)},this.timeLiveComparativeAvanced),this.$emit("intervalidtops",this.intervalIdtops))}catch(e){throw new Error(e)}},beforeDestroy(){clearInterval(this.intervalIdtops)}},Cq=()=>{t.useCssVars(e=>({"33c01a78":e.borderRadius,"53abcd58":e.borderWidth,"55d9ca1e":e.borderColor}))},Sq=vT.setup;vT.setup=Sq?(e,n)=>(Cq(),Sq(e,n)):Cq;const a5=e=>(t.pushScopeId("data-v-76d87dc3"),e=e(),t.popScopeId(),e),OOt={ref:"myDivRef"},LOt={class:"btnViewFullList"},FOt={class:"text"},DOt={class:"groupsLeague"},zOt={class:"row-table-carrousel"},VOt={key:1,class:"container-no-search-result"},ROt={key:0,class:"overlay-loading-top"},$Ot=[a5(()=>t.createElementVNode("div",{class:"overlay-loading-top__spinner"},[t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/balon_liga.png",alt:""})],-1)),a5(()=>t.createElementVNode("div",{class:"overlay-loading-top__text"},"Loading...",-1))],jOt=a5(()=>t.createElementVNode("div",{class:"container-no-search-result-title"},"No existen resultados",-1)),UOt=a5(()=>t.createElementVNode("div",{class:"container-no-search-result-subtitle"},[t.createTextVNode(" No existen resultados para este tipo de"),t.createElementVNode("br"),t.createTextVNode(" jugada, considerando el torneo y otros"),t.createElementVNode("br"),t.createTextVNode(" filtros que has seleccionado. ")],-1));function GOt(e,n,r,I,F,h){const m=t.resolveComponent("GSCLeaders"),a=t.resolveComponent("GSCRowTable"),v=t.resolveComponent("GSCExpandedInfo"),g=t.resolveComponent("GSCCarousel"),i=t.resolveComponent("GSCTableHeader");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(r.type==0?"gsc-top":"gsc-top-full")},[t.createElementVNode("div",OOt,[t.createElementVNode("div",LOt,[t.createElementVNode("div",FOt,[t.createElementVNode("div",DOt,t.toDisplayString(r.categoryName),1)])]),r.type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[h.topData.length>0?(t.openBlock(),t.createBlock(g,{key:0,items:h.topData,"is-pagination-visible":!0,"are-navigation-arrows-visible":!0,onInput:h.changeCarrousel},{default:t.withCtx(({item:_})=>[t.createElementVNode("div",zOt,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_,(b,c)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[b.top==1?(t.openBlock(),t.createBlock(m,{key:0,onMediadata:n[0]||(n[0]=s=>h.emitEventMedia(s,r.category,r.categoryName)),type:r.typeTable,"type-data":r.typeData,game:r.game,"team-widget":r.teamWidget,"can-play-videos":r.canPlayVideos,"is-expanded":e.playerexpand==b.id&&e.expand,ref_for:!0,ref:"GSCLeaders",data:r.typeTable==0?{top:"01",photo:b.img,logo:"https://az755631.vo.msecnd.net/teams-80/"+b.teamid+".png",name:b.name,player_short:b.name_short,player_id:b.id,categoryId:r.category,total:b.total}:{top:"01",logo:b.img,total:b.total,name_team:b.name,player_id:b.id},"category-name":r.categoryName,buttonMaxWidth:r.typeTable!=0?I.elementSize.width>360?"210px":"130px":I.elementSize.width>360?"180px":"110px",buttonFontSize:"12px",iconSize:"11px",onExpand:h.clickexpand,onMore:h.morestats},null,8,["type","type-data","game","team-widget","can-play-videos","is-expanded","data","category-name","buttonMaxWidth","onExpand","onMore"])):(t.openBlock(),t.createBlock(a,{key:1,"type-data":r.typeData,"team-widget":r.teamWidget,game:r.game,type:r.typeTable,"type-view":r.type,"is-expanded":e.playerexpand==b.id&&e.expand,onMediadata:n[1]||(n[1]=s=>h.emitEventMedia(s,r.category,r.categoryName)),data:r.typeTable==0?{position:b.top,player_name:b.name,player_short:b.name_short,player_photo:b.img,total:b.total,id:b.id,player_age:b.age,team_abrev:b.team,team_logo:"https://az755631.vo.msecnd.net/teams-80/"+b.teamid+".png",player_position:b.position,player_country_flag:"https://az755631.vo.msecnd.net/flags/"+b.country+".jpg",player_games:b.minutes,player_min:b.games,league_name:"          Liga MX          "}:{position:b.top,team_logo:b.img,team_abrev:b.name,frequency:b.frecuency,promthistournament:b.game_avg,promlasttournament:b.game_avg_last_season,teams_games:"-",category:r.category,total:b.total,id:b.id},height:"71px","can-play-videos":r.canPlayVideos,background:c%2===0?r.backgroundEven:r.backgroundOdd,onExpand:h.clickexpand},null,8,["type-data","team-widget","game","type","type-view","is-expanded","data","can-play-videos","background","onExpand"])),e.expand&&e.playerexpand==b.id?(t.openBlock(),t.createBlock(v,{key:2,type:r.typeTable,"is-live":r.game.is_live,"view-effectiveness":b.positionId!==1,data:r.typeTable==0?{teams:b.teamname,age:b.age,dataofbirth:b.date,nationality:b.nationality,countryFlag:b.player_country_flag,position:b.position,games:b.games,min:b.minutes,goals:b.total,effectiveness:b.effectiveness,category:r.categoryName,id:b.id}:{position:b.positiontable,goals:b.goals,goals_received:b.goalsrecived,games_played:b.games_played,category:r.categoryName,effectiveness:b.effectiveness,xg:b.xg,total:b.total,attendance:"-",id:b.id},onViewprofile:s=>h.viewprofile(s,b.teamid),background:c%2===0?r.backgroundEven:r.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):t.createCommentVNode("",!0)],64))),128))])]),_:1},8,["items","onInput"])):(t.openBlock(),t.createElementBlock("div",VOt,[e.isloading?(t.openBlock(),t.createElementBlock("div",ROt,$Ot)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[jOt,UOt],64))]))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(i,{background:"#183143",type:r.typeTable},null,8,["type"]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h.topData,(_,b)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:b},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_,(c,s)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:s},[t.createVNode(a,{"type-data":r.typeData,"team-widget":r.teamWidget,game:r.game,type:r.typeTable,"type-view":r.type,"can-play-videos":r.canPlayVideos,"is-expanded":e.playerexpand==c.id&&e.expand,onMediadata:n[2]||(n[2]=o=>h.emitEventMediaFullTable(o,r.category,r.categoryName)),data:r.typeTable==0?{position:c.top,player_name:c.name,player_short:c.name_short,player_photo:c.img,total:c.total,id:c.id,player_age:c.age,team_abrev:c.team,team_logo:"https://az755631.vo.msecnd.net/teams-80/"+c.teamid+".png",player_position:c.position,player_country_flag:"https://az755631.vo.msecnd.net/flags/"+c.country+".jpg",player_games:c.games,player_min:c.minutes,league_name:"          Liga MX          "}:{position:c.positiontable,team_logo:c.img,team_abrev:c.name,frequency:c.frecuency,promthistournament:c.game_avg,promlasttournament:c.game_avg_last_season,category:r.category,team_games:c.games_played,total:c.total,id:c.id},height:"71px",background:((b+1)*5+s)%2===0?r.backgroundOdd:r.backgroundEven,onExpand:h.clickexpand},null,8,["type-data","team-widget","game","type","type-view","can-play-videos","is-expanded","data","background","onExpand"]),e.expand&&e.playerexpand==c.id?(t.openBlock(),t.createBlock(v,{key:0,type:r.typeTable,"is-live":r.game.is_live,additionalClass:"fullTable","view-effectiveness":c.positionId!==1,data:r.typeTable==0?{teams:c.teamname,age:c.age,dataofbirth:c.date,nationality:c.nationality,countryFlag:c.player_country_flag,position:c.positionfull,positionfull:c.positionfull,games:c.games,min:c.minutes,goals:c.total,effectiveness:c.effectiveness,category:h.getCategoryName(r.category),id:c.id}:{position:c.positiontable,goals:c.goals,goals_received:c.goalsrecived,games_played:c.games_played,category:r.categoryName,effectiveness:c.effectiveness,xg:c.xg,total:c.total,category:h.getCategoryName(r.category),attendance:"-",id:c.id},onViewprofile:o=>h.viewprofile(o,c.teamid),background:s%2===0?r.backgroundEven:r.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):t.createCommentVNode("",!0)],64))),128))],64))),128))],64))],512)],2)}const HOt=Hr(vT,[["render",GOt],["__scopeId","data-v-76d87dc3"]]),WOt=(e,n)=>{const r=e.__vccOpts||e;for(const[I,F]of n)r[I]=F;return r},qOt={props:{id:Number,textValue:String,icon:String,numFilter:Number,iconVisible:{type:Boolean,default:!0},activeClickLabel:{type:Boolean,default:!1},height:{type:String,default:"35px"},borderRadius:{type:String,default:"30px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderColor:String,backgroundColor:{type:String,default:"#23303B"},fontSize:{type:String,default:"13px"},fontColor:{type:String,default:"#FFFFFF"},fontFamily:{type:String,default:"Poppins-Regular"},iconSize:{type:String,default:"20px"}},computed:{customStyle(){return{height:this.height,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,cursor:this.cursorType,fontSize:this.fontSize,fontFamily:`${this.fontFamily} !important`}},customIcon(){return{width:this.iconSize}}},methods:{btnLabel(){this.$emit("clickLabel",this.id)},btnClose(){this.$emit("clickClose",this.id)}}},YOt=["src"],XOt=["src"];function JOt(e,n,r,I,F,h){return t.openBlock(),t.createElementBlock("div",null,[r.activeClickLabel?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(h.customStyle),class:"gsc-label",onClick:n[0]||(n[0]=(...m)=>h.btnLabel&&h.btnLabel(...m))},[t.createTextVNode(t.toDisplayString(r.numFilter)+" "+t.toDisplayString(r.textValue)+" ",1),r.iconVisible?(t.openBlock(),t.createElementBlock("img",{key:0,style:t.normalizeStyle(h.customIcon),class:"icon",src:r.icon},null,12,YOt)):t.createCommentVNode("",!0)],4)):(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-label",style:t.normalizeStyle(h.customStyle)},[t.createTextVNode(t.toDisplayString(r.numFilter)+" "+t.toDisplayString(r.textValue)+" ",1),r.iconVisible?(t.openBlock(),t.createElementBlock("img",{key:0,onClick:n[1]||(n[1]=(...m)=>h.btnClose&&h.btnClose(...m)),style:t.normalizeStyle(h.customIcon),class:"icon",src:r.icon},null,12,XOt)):t.createCommentVNode("",!0)],4))])}const ZOt=WOt(qOt,[["render",JOt],["__scopeId","data-v-42ff544a"]]);function KOt(e){const n=t.ref({width:0,height:0});function r(){const I=e.value.getBoundingClientRect();n.value.width=I.width,n.value.height=I.height}return t.onMounted(()=>{r(),window.addEventListener("resize",r)}),t.onUnmounted(()=>{window.removeEventListener("resize",r)}),{elementSize:n}}const QOt=(e,n)=>{const r=e.__vccOpts||e;for(const[I,F]of n)r[I]=F;return r},_T={name:"ScrollableContainer",props:{backgroundColor:{type:String,default:"#0D1D29"},pxScroll:{type:Number,default:100},arrows:{type:Boolean,default:!0},arrowsHideOnNoScroll:{type:Boolean,default:!1},arrowsScrollHide:{type:Boolean,default:!1},arrowsColor:{type:String,default:"#CBEE6B"},arrowsHeight:{type:Number,default:15},arrowsWidth:{type:Number,default:15},arrowsPadding:{type:Number,default:5},arrowsMargin:{type:Number,default:10},arrowsRadius:{type:String,default:"0%"},arrowsBorder:{type:String,default:"none"},arrowsBackground:{type:String,default:"#0D1D29"},arrowsContainerBgL:{type:String,default:"#0D1D29"},arrowsContainerBgR:{type:String,default:"#0D1D29"},scrollColor:{type:String,default:"#c3e569"},arrowsPosition:{type:String,default:"relative"},height:{type:String,default:"100%"}},data(){return{showLeftArrow:!1,showRightArrow:!0,intervalid1:""}},mounted(){this.getScroll(),this.arrowsHideOnNoScroll&&window.addEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&this.listenerLoad()},beforeUnmount(){this.arrowsHideOnNoScroll&&window.removeEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&clearInterval(this.intervalid1)},computed:{getViewBox(){return`-2 0 ${this.arrowsWidth} ${this.arrowsHeight}`},hideShowLeftArrow(){let e="";return this.arrowsPosition=="absolute"?e="leftAbsolute":e="leftRelative",this.arrowsScrollHide?this.showLeftArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e},hideShowRightArrow(){let e="";return this.arrowsPosition=="absolute"?e="rightAbsolute":e="rightRelative",this.arrowsScrollHide?this.showRightArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e}},methods:{scrollLeft(){this.$refs.content.scrollLeft-=this.pxScroll},scrollRight(){this.$refs.content.scrollLeft+=this.pxScroll},getScroll(){let e=0;this.arrowsPosition=="relative"?e=this.$refs.content.scrollWidth-this.$el.clientWidth+this.arrowsMargin*2+this.arrowsWidth*4:e=this.$refs.content.scrollWidth-this.$el.clientWidth,this.$refs.content.scrollLeft==0?this.showLeftArrow=!1:this.showLeftArrow=!0,e>0&&(this.$refs.content.scrollLeft==e?this.showRightArrow=!1:this.showRightArrow=!0),this.arrowsHideOnNoScroll&&this.$refs.content.clientWidth===this.$refs.content.scrollWidth&&(this.showRightArrow=!1)},resizeSlider(){this.getScroll();let e;clearTimeout(e),e=setTimeout(this.getScroll,1e3)},listenerLoad(){this.intervalid1=setInterval((function(){var e=this.$el.clientWidth,n=this.$refs.content.scrollWidth;n>0&&e>0&&(n>e?(this.showRightArrow=!0,clearInterval(this.intervalid1)):clearInterval(this.intervalid1))}).bind(this),3e3)}}},Tq=()=>{t.useCssVars(e=>({"42d3dba6":e.backgroundColor,"4de5d2cf":e.height,"67bafa7b":e.arrowsPosition,"61e1032e":e.arrowsPadding+"px","79a4ac00":e.arrowsBackground,"6b8355c6":e.arrowsHeight*2+"px","29a58368":e.arrowsWidth*2+"px","3622fa64":e.arrowsRadius,"1ba101fe":e.arrowsBorder,"0bafb5e6":e.arrowsMargin+"px","423a44b8":e.arrowsContainerBgL,"423a44be":e.arrowsContainerBgR,"10b117ee":e.scrollColor}))},Eq=_T.setup;_T.setup=Eq?(e,n)=>(Tq(),Eq(e,n)):Tq;const eLt={ref:"gscScrollableContainer",class:"scrollable-container"},tLt={class:"scrollable-arrows"},aLt=["width","height","viewBox"],nLt=["stroke"],rLt={class:"scrollable-wrapper"},iLt={class:"scrollable-arrows"},oLt=["width","height","viewBox"],sLt=["stroke"];function lLt(e,n,r,I,F,h){return t.openBlock(),t.createElementBlock("div",eLt,[r.arrows?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["arrows-container",h.hideShowLeftArrow]),onClick:n[0]||(n[0]=(...m)=>h.scrollLeft&&h.scrollLeft(...m))},[t.createElementVNode("div",tLt,[(t.openBlock(),t.createElementBlock("svg",{width:r.arrowsWidth,height:r.arrowsHeight,viewBox:h.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M6.36523 13.788L1.10146 8.52429C0.479824 7.90265 0.479824 6.88541 1.10147 6.26377L6.36523 1",stroke:r.arrowsColor},null,8,nLt)],8,aLt))])],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"scrollable-content scrollable-content-slider",ref:"content",onScroll:n[1]||(n[1]=(...m)=>h.getScroll&&h.getScroll(...m))},[t.createElementVNode("div",rLt,[t.renderSlot(e.$slots,"default",{},void 0,!0)])],544),r.arrows?(t.openBlock(),t.createElementBlock("div",{key:1,id:"arrows-container-right",class:t.normalizeClass(["arrows-container",h.hideShowRightArrow]),onClick:n[2]||(n[2]=(...m)=>h.scrollRight&&h.scrollRight(...m))},[t.createElementVNode("div",iLt,[(t.openBlock(),t.createElementBlock("svg",{width:r.arrowsWidth,height:r.arrowsHeight,viewBox:h.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.634765 1.21195L5.89853 6.47571C6.52018 7.09735 6.52018 8.11459 5.89853 8.73623L0.634766 14",stroke:r.arrowsColor},null,8,sLt)],8,oLt))])],2)):t.createCommentVNode("",!0)],512)}const cLt=QOt(_T,[["render",lLt],["__scopeId","data-v-b548a08d"]]),dLt=(e,n)=>{const r=e.__vccOpts||e;for(const[I,F]of n)r[I]=F;return r},bT={components:{GSCSlider:cLt},props:{arrow:{type:Boolean,required:!0},buttons:{type:Array,required:!0},width:{type:String,default:"300px"},height:{type:String,default:"80px"},fontSize:{type:String,default:"16px"},colorFont:{type:String,default:"#ffffff"},backgroundOptionActive:{type:String,default:"#0d1d29"},colorOptionActive:{type:String,default:"#cbee6b"},colorOptionDisable:{type:String,default:"gray"},backgroundOptionDisable:{type:String,default:"#0d1d29"},fontFamily:{type:String,default:"Poppins-Semibold"},borderWidth:{type:String,default:"3px"},borderRadius:{type:String,default:"0px"},selectedOption:{type:String,default:""},type:{type:Number,default:0},borderWidthContainer:{type:String,default:"1px"},background:{type:String,default:"#0d1d29"},borderColorContainer:{type:String,default:"#505355"},pxScroll:{type:Number,default:100},scrollColor:{type:String,default:"#c3e569"},arrowsPosition:{type:String,default:"relative"},arrowsScrollHide:{type:Boolean,default:!1},arrowsBackground:{type:String,default:"#0D1D29"},arrowsContainerBgL:{type:String,default:"#0D1D29"},arrowsContainerBgR:{type:String,default:"#0D1D29"},arrowsMargin:{type:Number,default:10},arrowsRadius:{type:String,default:"0%"},arrowsBorder:{type:String,default:"none"}},setup(){const e=t.ref("myDivRef"),{elementSize:n}=KOt(e);return{myDivRef:e,elementSize:n}},methods:{clickEmitEvent(e){this.$emit("input",e)},customGrid(e){var n={};return e.width>768?n={fontSize:"16px"}:e.width>480?n={fontSize:"14px"}:n={fontSize:"12px"},n}}},Aq=()=>{t.useCssVars(e=>({cff4a118:e.fontSize,"42aab7f6":e.borderWidth,d29bcbd2:e.fontFamily,df6c5a9c:e.background,"09b32862":e.borderRadius,"8c0d6daa":e.borderWidthContainer,e8a86fa4:e.borderColorContainer,"179494da":e.colorOptionActive,cea5647c:e.width}))},Mq=bT.setup;bT.setup=Mq?(e,n)=>(Aq(),Mq(e,n)):Aq;const uLt={ref:"myDivRef"},hLt={key:0,class:"gs-switch-container"},pLt=["onClick"],fLt={key:1,class:"gs-switch-container-type"},mLt=["onClick"],gLt={key:2,class:"gs-switch-container-carousel"},yLt=["onClick"];function vLt(e,n,r,I,F,h){const m=t.resolveComponent("GSCSlider");return t.openBlock(),t.createElementBlock("div",uLt,[r.type==0?(t.openBlock(),t.createElementBlock("div",hLt,[t.createElementVNode("div",{class:"gs-switch-container__control",style:t.normalizeStyle([h.customGrid(I.elementSize)])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.buttons,(a,v)=>(t.openBlock(),t.createElementBlock("div",{class:"gs-switch-container__control__button-option",style:t.normalizeStyle([{height:r.height},r.selectedOption==a?{borderColor:r.colorOptionActive,color:r.colorFont+"!important",background:r.backgroundOptionActive}:{borderColor:r.colorOptionDisable,color:"grey !important"}]),key:v,onClick:g=>(r.selectedOption=a,h.clickEmitEvent(a))},t.toDisplayString(a),13,pLt))),128))],4),t.renderSlot(e.$slots,r.selectedOption,{},void 0,!0)])):t.createCommentVNode("",!0),r.type==1?(t.openBlock(),t.createElementBlock("div",fLt,[t.createElementVNode("div",{class:"gs-switch-container-type__control",style:t.normalizeStyle([h.customGrid(I.elementSize)])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.buttons,(a,v)=>(t.openBlock(),t.createElementBlock("div",{class:"gs-switch-container-type__control__button-option-type",style:t.normalizeStyle([{height:r.height},r.selectedOption==a?{borderColor:r.colorOptionActive,color:r.colorFont+"!important",background:r.backgroundOptionActive}:{borderColor:r.colorOptionDisable,borderWidth:"0px",borderWidth:"0px !important",color:"grey !important",background:r.backgroundOptionDisable}]),key:v,onClick:g=>(r.selectedOption=a,h.clickEmitEvent(a))},t.toDisplayString(a),13,mLt))),128))],4)])):t.createCommentVNode("",!0),r.type==2?(t.openBlock(),t.createElementBlock("div",gLt,[t.createVNode(m,{arrows:r.arrow,"background-color":r.background,"px-scroll":r.pxScroll,"scroll-color":r.scrollColor,"arrows-position":r.arrowsPosition,arrowsScrollHide:r.arrowsScrollHide,"arrows-background":r.arrowsBackground,"arrows-container-bg-l":r.arrowsContainerBgL,"arrows-container-bg-r":r.arrowsContainerBgR,"arrows-margin":r.arrowsMargin,"arrows-radius":r.arrowsRadius,"arrows-border":r.arrowsBorder},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.buttons,(a,v)=>(t.openBlock(),t.createElementBlock("div",{class:"button-option-multi",style:t.normalizeStyle([{height:r.height},r.selectedOption==a?{borderColor:r.colorOptionActive,color:r.colorFont+"!important",background:r.backgroundOptionActive}:{borderColor:r.colorOptionDisable,color:"grey !important"}]),key:v,onClick:g=>(r.selectedOption=a,h.clickEmitEvent(a))},t.toDisplayString(a),13,yLt))),128))]),_:1},8,["arrows","background-color","px-scroll","scroll-color","arrows-position","arrowsScrollHide","arrows-background","arrows-container-bg-l","arrows-container-bg-r","arrows-margin","arrows-radius","arrows-border"])])):t.createCommentVNode("",!0)],512)}const xT=dLt(bT,[["render",vLt],["__scopeId","data-v-8a86dfaf"]]),j_a="",U_a="";function _Lt(){return{backgroundColor:"#2e3b46",borderColor:"rgba(255, 255, 255, 0.20)",infoBorderColor:"rgba(255, 255, 255, 0.20)",height:"40px",padding:"5px 12px",textFontFamily:"'Poppins-Regular'"}}const G_a="",bLt={comfiltersContainer:"_comfiltersContainer_xl2as_1",comfiltersContainer1232:"_comfiltersContainer1232_xl2as_1",closeFiltersPc:"_closeFiltersPc_xl2as_1",comtextleyemdmultipleleagues:"_comtextleyemdmultipleleagues_xl2as_1",comtextleyemdmultipleleagues380:"_comtextleyemdmultipleleagues380_xl2as_1",comfiltersContainer760:"_comfiltersContainer760_xl2as_1",comfiltersContainer460:"_comfiltersContainer460_xl2as_1",comcontainerSection:"_comcontainerSection_xl2as_1",comcontainerSection1232:"_comcontainerSection1232_xl2as_1",comcontainerSection960:"_comcontainerSection960_xl2as_1",comcontainerSection320:"_comcontainerSection320_xl2as_1",comcontainerSection350:"_comcontainerSection350_xl2as_1",comtemplateLosMejores1:"_comtemplateLosMejores1_xl2as_1",comtemplateLosMejores11232:"_comtemplateLosMejores11232_xl2as_1",comtemplateLosMejores1960:"_comtemplateLosMejores1960_xl2as_1",comtemplateLosMejores1420:"_comtemplateLosMejores1420_xl2as_1",comtemplateLosMejores1320:"_comtemplateLosMejores1320_xl2as_1",comtemplateLosMejores1540:"_comtemplateLosMejores1540_xl2as_1",comtemplateLosMejores1350:"_comtemplateLosMejores1350_xl2as_1",comtopFiltersParent:"_comtopFiltersParent_xl2as_1",comtopFiltersParent1232:"_comtopFiltersParent1232_xl2as_1",comtopFiltersParent960:"_comtopFiltersParent960_xl2as_1",comtopFiltersParent460:"_comtopFiltersParent460_xl2as_1",comtopFiltersParent420:"_comtopFiltersParent420_xl2as_1",comcontainerTheBest:"_comcontainerTheBest_xl2as_1",comcontainerTheBest1232:"_comcontainerTheBest1232_xl2as_1",comcontainerTheBest960:"_comcontainerTheBest960_xl2as_1",comcontainerTheBest320:"_comcontainerTheBest320_xl2as_1",comtitleSection:"_comtitleSection_xl2as_1",comtitleSection540:"_comtitleSection540_xl2as_1",comcontainerTables:"_comcontainerTables_xl2as_1",comcontainerTables960:"_comcontainerTables960_xl2as_1",comcontainerTables760:"_comcontainerTables760_xl2as_1",comcontainerTables320:"_comcontainerTables320_xl2as_1",comtoniKroosWrapper:"_comtoniKroosWrapper_xl2as_1",comtoniKroosWrapper1080:"_comtoniKroosWrapper1080_xl2as_1",comtoniKroosWrapper975:"_comtoniKroosWrapper975_xl2as_1",comtoniKroosWrapper760:"_comtoniKroosWrapper760_xl2as_1",comtoniKroosWrapper420:"_comtoniKroosWrapper420_xl2as_1",comtoniKroosWrapper320:"_comtoniKroosWrapper320_xl2as_1",frameChild:"_frameChild_xl2as_1",filtros:"_filtros_xl2as_1",groupParent:"_groupParent_xl2as_1",shapeIcon:"_shapeIcon_xl2as_1",btnFilters:"_btnFilters_xl2as_1",btnFiltersPC:"_btnFiltersPC_xl2as_1",comquitarFiltros:"_comquitarFiltros_xl2as_1",comquitarFiltros730:"_comquitarFiltros730_xl2as_1",comquitarFiltros480:"_comquitarFiltros480_xl2as_1",comquitarFiltros380:"_comquitarFiltros380_xl2as_1",btnCloseFilters:"_btnCloseFilters_xl2as_1",commejoresJugadores:"_commejoresJugadores_xl2as_1",commejoresJugadores730:"_commejoresJugadores730_xl2as_1",commejoresJugadores480:"_commejoresJugadores480_xl2as_1",mejoresJugadoresSM:"_mejoresJugadoresSM_xl2as_1",toniKroos:"_toniKroos_xl2as_1",teamBar:"_teamBar_xl2as_1",commenuSection:"_commenuSection_xl2as_1",commenuSection960:"_commenuSection960_xl2as_1",comcontainerMenu:"_comcontainerMenu_xl2as_1",comcontainerMenu760:"_comcontainerMenu760_xl2as_1",containerFilters:"_containerFilters_xl2as_1",teamBarParent:"_teamBarParent_xl2as_1",comtopFilters:"_comtopFilters_xl2as_1",comtopFilters1232:"_comtopFilters1232_xl2as_1",comtopFilters420:"_comtopFilters420_xl2as_1",comtopFilters460:"_comtopFilters460_xl2as_1",comlosMejores:"_comlosMejores_xl2as_1",comlosMejores380:"_comlosMejores380_xl2as_1",comlosMejores530:"_comlosMejores530_xl2as_1",comlosMejores730:"_comlosMejores730_xl2as_1",commenuSectionHeader:"_commenuSectionHeader_xl2as_1",commenuSectionHeader1232:"_commenuSectionHeader1232_xl2as_1",commenuSectionHeader960:"_commenuSectionHeader960_xl2as_1",commenuSectionHeader730:"_commenuSectionHeader730_xl2as_1",comdropdown:"_comdropdown_xl2as_1",comdropdown730:"_comdropdown730_xl2as_1",comdropdown1:"_comdropdown1_xl2as_1",comdropdown1730:"_comdropdown1730_xl2as_1",comdropdownParent:"_comdropdownParent_xl2as_1",comdropdownParent730:"_comdropdownParent730_xl2as_1",commenuSectionParentHeader:"_commenuSectionParentHeader_xl2as_1",commenuSectionParentHeader1232:"_commenuSectionParentHeader1232_xl2as_1",commenuSectionParentHeader960:"_commenuSectionParentHeader960_xl2as_1",commenuSectionParentHeader730:"_commenuSectionParentHeader730_xl2as_1",commenuSectionParentHeader430:"_commenuSectionParentHeader430_xl2as_1",comdescubreVideos:"_comdescubreVideos_xl2as_1",comdescubreVideos1232:"_comdescubreVideos1232_xl2as_1",comdescubreVideos960:"_comdescubreVideos960_xl2as_1",allCategories:"_allCategories_xl2as_1",containerScountingBtncom:"_containerScountingBtncom_xl2as_3",btnDeleteAplicacom:"_btnDeleteAplicacom_xl2as_13",SearchBtnBarcom:"_SearchBtnBarcom_xl2as_33",btnLeyendTxtcom:"_btnLeyendTxtcom_xl2as_52",BtnSearchScountingcom:"_BtnSearchScountingcom_xl2as_61",containerPredefinedcom:"_containerPredefinedcom_xl2as_85",containerPredefinedScountingcom:"_containerPredefinedScountingcom_xl2as_92",titleContainerPredefinedcom:"_titleContainerPredefinedcom_xl2as_100",subtitleContainerPredefinedcom:"_subtitleContainerPredefinedcom_xl2as_111"},xLt=t.ref(_Lt()),wLt={components:{GSCTableHeader:aq,GscSwitchComponent:xT,GSCFilterperteam:yPt,GSCFilters:DW,GSCExpandedInfo:_q,GSCLabel:ZOt,GSCSeasonSelect:JM,GSCTopCategory:HOt,GSCTournamentSelect:qM,GSCRowTable:lq},computed:{...bBt.computed,filterChangePredefined(){return this.filtersPredefinedF},filterChange(){const e={zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.fVnationalities,setPositionsIds:[1,2,3,4,5,6,7,8,9],booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set},n=JSON.stringify(e);if(JSON.stringify(this.filters)!=n)return n},filterGolstats(){return this.FVfilterGolstats},filterButtonProps(){return{...xLt.value}}},props:{timeLiveComparativeAvanced:{type:Number,default:6e4},currentSeasonId:{type:Number,default:0},typeData:{type:Number,default:1},canPlayVideos:{type:Boolean,default:!1},teamId:{type:Number,default:0},gameId:{type:Number,default:0},isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},game:{type:Object,default:()=>({})},teamselect:{type:Number,default:0},seasonActive:{type:Number,default:0},defaultSection:{type:String,default:"Jugadores"},backgroundOdd:{type:String,default:"#172531"},backgroundEven:{type:String,default:"#0d1d29"},tournamentsApiUrl:{type:String,default:""}},watch:{async seasonActive(){if(this.seasonActive!=0){this.teams=[];const e=await this.fetchTeams();for(let n=0;n<e.teams.length;n++)this.teams.push({id:e.teams[n].team_id,team:e.teams[n].colloquial_name,logo:e.teams[n].logo})}}},setup(){const e=t.ref("myDivRefTopsFull"),{elementSize:n}=mv(e);return{myDivRefTopsFull:e,elementSize:n}},data(){return{elegibilidadArray:[],updateFilterTeamsScouting:0,modifidFiltersFlag:!1,showfiltersPc:!1,positions:[{name:"Portero",fullname:"POR"},{name:"Defensa central",fullname:"DFC"},{name:"Lateral por izquierda",fullname:"LI"},{name:"Lateral por derecha",fullname:"LD"},{name:"Volante por izquierda",fullname:"VI"},{name:"Volante por derecha",fullname:"VD"},{name:"Volante defensivo",fullname:"VDF"},{name:"Volante ofensivo",fullname:"VO"},{name:"Delantero",fullname:"DEL"},{name:"Desconocida",fullname:"Desc"}],universeData:{minutesPlayed:0,percentMinutesPlayed:0,lastMonths:Array.from({length:24},(e,n)=>n+1),selectedMonth:12,statistics:{totals:!0,averagePerGame:!1,averagePerMinute:!1}},FVbooleanAreNationalTeamsVisible:!1,teamsscouting:[],filterScounting:{tournaments:[1],seasonId:0,categories:[{name:"Goles",ids:[12]},{name:"Asistencias",ids:[10]},{name:"Participaciones en gol",ids:[27]},{name:"Cabeceos en área rival",ids:[330,333,423,577,578,331,334,424]},{name:"Tiros a gol totales",ids:[91,95,92,93,96,97]}],range_age:[10,40],age_or_year:1,year:1989,nationalities:[3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,221,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,222,223,224,225,226,227,228,229,230,231,232,233,234,236,237,239],elegibles:[],minutes_played:211,minutes_played_avg:40,last_months:12,type_stats:1,positions:[1,2,3,4,5,6,7,8,9,10],fouls:!1,yellow_cards:!1,red_cards:!1},expand:!1,playerexpand:0,arrayFiltersPlays:[],filtersPredefinedF:{},categoryPredefinedActive:!1,categoryPredefined:0,typeTable:0,keyUpdateFilter:0,loadingActive:!1,isTeam:!1,arrayPredefinedFilters:[],arrayCategoryFilter:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],arrayCategoryFilterFull:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],FVsetAvailableNationalTeamsPlayersIds:new Set,showOnlyCategories:!1,showFullCategory:0,categoryName:"",showFullTable:!1,expansionPanelModePropsTypePlays:{isExpansionPanel:!1,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",width:"400px",maxWidth:"400px"},expansionPanelProps:{width:"400px",borderRadius:"8px"},fieldComponentProps:{widthContainer:"400px"}},expansionPanelModeProps:{isExpansionPanel:!1,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)"},expansionPanelProps:{width:"400px",borderRadius:"8px",fontFamily:"'Poppins-Regular'"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"13px"}},expansionPanelModePropsMobil:{isExpansionPanel:!0,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",padding:"20px 0"},expansionPanelProps:{width:"300px",borderRadius:"8px",height:"45px",fontColor:"rgba(255,255,255, 0.7)",textFontSize:"14px",textFontFamily:"'Poppins-Regular'",padding:"0px 10px"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"12px",widthField:268,widthFieldGrid:"268px",heightField:180,heightFieldGrid:"180px",heightContainer:"280px"}},expansionPanelModePropsMobil270:{isExpansionPanel:!0,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",padding:"20px 0"},expansionPanelProps:{width:"270px",borderRadius:"8px",height:"45px",fontColor:"rgba(255,255,255, 0.7)",textFontSize:"14px",textFontFamily:"'Poppins-Regular'",padding:"0px 10px"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"12px",widthField:268,widthFieldGrid:"268px",heightField:180,heightFieldGrid:"180px",heightContainer:"280px"}},filters:{zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.setNationalitiesIds,setPositionsIds:[1,2,3,4,5,6,7,8,9],booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set},detaildProductivityCategories:{offensive:{title:"Ofensivo",categories:[{name:"Goles",isSelected:!1,id:[12]},{name:"Asistencias",isSelected:!1,id:[10]},{name:"Participaciones en gol",isSelected:!1,id:[27]},{name:"Cabeceos en área rival",isSelected:!1,id:[330,333,423,577,578,331,334,424]},{name:"Tiros a gol totales",isSelected:!1,id:[91,95,92,93,96,97]},{name:"Tiros a gol con destino a portería",isSelected:!1,id:[91,95]},{name:"Tiros a gol fuera del área",isSelected:!1,id:[94]},{name:"Tiros a gol fuera del área con destino a portería",isSelected:!1,id:[95]},{name:"Tiros a gol dentro del área",isSelected:!1,id:[90]},{name:"Tiros a gol dentro del área con destino a portería",isSelected:!1,id:[91]},{name:"Centros por izquierda",isSelected:!1,id:[13]},{name:"Centros por izquierda acertados",isSelected:!1,id:[98,101,104,105]},{name:"Centros por derecha",isSelected:!1,id:[25]},{name:"Centros por derecha acertados",isSelected:!1,id:[109,112,115,116]},{name:"1vs1 exitosos ofensivos",isSelected:!1,id:[4]},{name:"1vs1 que terminan en gol",isSelected:!1,id:[88]}]},defensive:{title:"Defensivo",categories:[{name:"Bálones ganados en área propia",isSelected:!1,id:[234,241,281,288,399,401,211,231,238,244,280,287,294]},{name:"Cabeceo en área propia",isSelected:!1,id:[211,231,238,244,280,287,294]},{name:"1vs1 defensivos exitosos",isSelected:!1,id:[5]},{name:"Rechaces",isSelected:!1,id:[34]}]},possession:{title:"Posesión",categories:[{name:"Bálones recuperados totales",isSelected:!1,id:[222,223,224,225]},{name:"Bálones recuperados 1/4 de cancha",isSelected:!1,id:[222]},{name:"Bálones recuperados 2/4 de cancha",isSelected:!1,id:[223]},{name:"Bálones recuperados 3/4 de cancha",isSelected:!1,id:[224]},{name:"Bálones recuperados 4/4 de cancha",isSelected:!1,id:[225]},{name:"Pases acertados",isSelected:!1,id:[213,214,215,216]},{name:"Pases acertados en 1/4 de cancha",isSelected:!1,id:[213]},{name:"Pases acertados en 2/4 de cancha",isSelected:!1,id:[214]},{name:"Pases acertados en 3/4 de cancha",isSelected:!1,id:[215]},{name:"Pases acertados en 4/4 de cancha",isSelected:!1,id:[216]}]},offensesConditions:{areYellowCardSelected:!1,areRedCardSelected:!1,areFoulsCommittedSelected:!1}},detailsObject:{playingAs:[{name:"Local",isSelected:!0},{name:"Visitante",isSelected:!0}],gameSections:[{text:"0-15",value:1,isSelected:!0},{text:"16-30",value:2,isSelected:!0},{text:"31-45",value:3,isSelected:!0},{text:"46-60",value:4,isSelected:!0},{text:"61-75",value:5,isSelected:!0},{text:"76-90",value:6,isSelected:!0}]},nameLeagueSelected:"",categoriesPlaysTypes:{offensive:{title:"Ofensivo",categories:[{name:"Goles",isSelected:!0,id:1},{name:"Tiros a gol",isSelected:!0,id:6},{name:"Tiros a gol con destino a portería",isSelected:!0,id:7},{name:"Asistencias",isSelected:!0,id:4},{name:"Centros",isSelected:!0,id:10},{name:"Centros acertados",isSelected:!0,id:11},{name:"Participaciones en gol",isSelected:!0,id:5},{name:"1vs1 exitosos ofensivos",isSelected:!0,id:12},{name:"1vs1 exitosos ofensivos que terminan en gol",isSelected:!0,id:13},{name:"Balones ganados en área rival",isSelected:!0,id:17},{name:"Cabeceos en área rival",isSelected:!0,id:8},{name:"Tiros de esquina",isSelected:!0,id:23}]},defensive:{title:"Defensivo",categories:[{name:"1vs1 defensivos exitosos",isSelected:!0,id:14},{name:"Cabeceo en área propia",isSelected:!0,id:9},{name:"Balones ganados en área propia",isSelected:!0,id:16},{name:"Rechaces",isSelected:!0,id:15},{name:"Atajadas",isSelected:!0,id:22}]},possession:{title:"Posesión",categories:[{name:"Pases acertados",isSelected:!0,id:2},{name:"Balones recuperados en disputa",isSelected:!0,id:3}]},offenses:{title:"Infracciones",categories:[{name:"Faltas cometidas",isSelected:!0,id:18},{name:"Faltas recibidas",isSelected:!0,id:19},{name:"Tarjetas amarillas",isSelected:!0,id:20},{name:"Tarjetas rojas",isSelected:!0,id:21}]},offensesConditions:{areYellowCardSelected:!1,areRedCardSelected:!1,areFoulsCommittedSelected:!1}},categoriesDefault:[{id:1,name:"Goles",isSelected:!1},{id:2,name:"Pases acertados",isSelected:!1},{id:23,name:"Tiros de Esquina",isSelected:!1},{id:3,name:"Balones recuperados en disputa",isSelected:!1},{id:4,name:"Asistencias",isSelected:!1},{id:5,name:"Participaciones en gol",isSelected:!1},{id:6,name:"Tiros a gol",isSelected:!1},{id:7,name:"Tiros a gol que llegaron a la portería",isSelected:!1},{id:8,name:"Cabeceos en área rival",isSelected:!1},{id:9,name:"Cabeceos en área propia",isSelected:!1},{id:10,name:"Centros",isSelected:!1},{id:11,name:"Centros acertados",isSelected:!1},{id:12,name:"1vs1 exitosos ofensivos",isSelected:!1},{id:13,name:"1vs1 exitosos ofensivos que terminaron en gol",isSelected:!1},{id:14,name:"1vs1 defensivos exitoso",isSelected:!1},{id:15,name:"Rechaces",isSelected:!1},{id:16,name:"Balones ganados en área propia",isSelected:!1},{id:17,name:"Balones ganados en área rival",isSelected:!1},{id:18,name:"Faltas cometidas",isSelected:!1},{id:19,name:"Faltas recibidas",isSelected:!1},{id:20,name:"Tarjetas amarillas",isSelected:!1},{id:21,name:"Tarjetas rojas",isSelected:!1},{id:22,name:"Atajadas",isSelected:!1}],seasonsFilterSelected:0,tournamentsToFilter:[{name:"Liga MX",logo:"https://az755631.vo.msecnd.net/tournaments/liga_mx.png",isSelected:!0,id:1,show_logos:1,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1772,type:0},{name:"Clausura 2023",related_seasons:[{type:2,id:1745},{type:1,id:1746}],id:1694,type:0},{name:"Apertura 2022",related_seasons:[{type:2,id:1591},{type:1,id:1594}],id:1535,type:0},{name:"Grita Mexico C22",related_seasons:[{type:2,id:1520},{type:1,id:1525}],id:1476,type:0},{name:"Grita Mexico A21",related_seasons:[{type:2,id:1446},{type:1,id:1456}],id:1401,type:0},{name:"Guard1anes Clausura 2021",related_seasons:[{type:2,id:1382},{type:1,id:1383}],id:1325,type:0},{name:"Guard1anes 2020",related_seasons:[{type:2,id:1311},{type:1,id:1316}],id:1275,type:0},{name:"Clausura 2020",related_seasons:[],id:1239,type:0},{name:"Apertura 2019",related_seasons:[{type:1,id:1231}],id:1155,type:0},{name:"Clausura 2019",related_seasons:[{type:1,id:1135}],id:1093,type:0},{name:"Apertura 2018",related_seasons:[{type:1,id:1075}],id:1002,type:0}]},{name:"Liga MX Femenil",logo:"https://az755631.vo.msecnd.net/tournaments/femenil_mx.png",isSelected:!0,id:1001,show_logos:1,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1777,type:0},{name:"Clausura 2023",related_seasons:[{type:1,id:1747}],id:1696,type:0},{name:"Apertura 2022",related_seasons:[{type:1,id:1655}],id:1539,type:0},{name:"Grita Mexico C22",related_seasons:[{type:1,id:1523}],id:1485,type:0},{name:"Grita Mexico A21",related_seasons:[{type:1,id:1458}],id:1402,type:0},{name:"Guard1anes Clausura 2021",related_seasons:[{type:1,id:1384}],id:1323,type:0},{name:"Guard1anes 2020",related_seasons:[{type:1,id:1318}],id:1283,type:0},{name:"Clausura 2020",related_seasons:[],id:1241,type:0},{name:"Apertura 2019",related_seasons:[{type:1,id:1227}],id:1157,type:0},{name:"Clausura 2019",related_seasons:[{type:1,id:1132}],id:1095,type:0},{name:"Apertura 2018",related_seasons:[{type:1,id:1072}],id:1004,type:0},{name:"Clausura 2018",related_seasons:[{type:1,id:1237}],id:1236,type:0}]},{name:"Liga Expansion MX",logo:"https://az755631.vo.msecnd.net/tournaments/expansion_mx.png",isSelected:!0,id:1071,show_logos:1,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1776,type:0},{name:"Clausura 2023",related_seasons:[{type:2,id:1742},{type:1,id:1748}],id:1695,type:0},{name:"Apertura 2022",related_seasons:[{type:2,id:1598},{type:1,id:1618}],id:1544,type:0},{name:"Grita Mexico C22",related_seasons:[{type:2,id:1515},{type:1,id:1519}],id:1484,type:0},{name:"Grita Mexico A21",related_seasons:[{type:2,id:1454},{type:1,id:1463}],id:1408,type:0},{name:"Guard1anes Clausura 2021",related_seasons:[{type:2,id:1378},{type:1,id:1380}],id:1327,type:0},{name:"Guard1anes 2020",related_seasons:[{type:2,id:1315},{type:1,id:1317}],id:1287,type:0}]},{name:"Sub-23",logo:null,isSelected:!0,id:1143,show_logos:0,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1785,type:0}]},{name:"Sub-18",logo:null,isSelected:!0,id:1096,show_logos:0,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1782,type:0},{name:"Clausura 2023",related_seasons:[{type:1,id:1751}],id:1714,type:0},{name:"Apertura 2022",related_seasons:[{type:1,id:1593}],id:1543,type:0},{name:"Grita Mexico C22",related_seasons:[{type:1,id:1522}],id:1487,type:0}]},{name:"Sub-16",logo:null,isSelected:!0,id:1095,show_logos:0,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1783,type:0},{name:"Clausura 2023",related_seasons:[{type:1,id:1750}],id:1715,type:0},{name:"Apertura 2022",related_seasons:[{type:1,id:1652}],id:1541,type:0},{name:"Grita Mexico C22",related_seasons:[{type:1,id:1527}],id:1488,type:0}]}],isCup:!1,arrayPredefinedOrigin:[],indexPredefinedFiltersSelected:0,predefinedFiltersMatchLapse:[],predefinedFiltersPlayingAs:[],predefinedFiltersSections:[],updateTables:0,updateTablesfull:0,optionSelected:"Jugadores",optionSelectedSubmenu:"Todas las jugadas",tournamentsUrl:"https://17zyhpyc7c.execute-api.us-west-2.amazonaws.com/prod/tournaments",teamsUrl:"https://d2oco6mqmc.execute-api.us-west-2.amazonaws.com/prod/teamsBySeason/",urlFilter:"https://cqqxaonvm6.execute-api.us-east-2.amazonaws.com/prod/gs2/tops/filters?categories=",retries:3,teams:[],updateFilterGolstats:0,updateFilterPlaytypesGolstats:0,arrayTournaments:[],arraySeasons:{},seasonBytournament:[],updateFilterTeamsScouting:0,filtersTypes:Tn,token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",fVnationalities:new Set,fVzone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],fVplayingAs:[1,2],fVsections:[1,2,3,4,5,6],fVmatchResult:[1,2,3],fVarrayAgeRange:[10,40],FVeligible:[],FVYear:1900,keyTournamentValue:0,fVtypeZone:2,fVsetPositionsIds:[1,2,3,4,5,6,7,8,9],currentIndex:-1,delay:800,teamselectrec:0,tournamentSelected:0,tournamentSelectedObj:{},FVfilterGolstats:[],updateFilterField:0,rowScoutingData:[],openMenuMobil:!1,selectedTournament:{seasons:[]},selectedSeasonObj:{}}},methods:{getnameshort(e){var n=e.split(","),r=n[0].split(" "),I=n[1].trim().split(" "),F="";r.length==2||r.length==1?r[0].length<4?F=r[0]+" "+r[1]:F=r[0]:r.length==3?F=r[0]+" "+r[1]:r.length==4&&(F=r[1]+" "+r[2]+" "+r[3]);var h=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";return F=F.replace(",",""),h+". "+F},setUpTournamentsToFilter(){this.tournamentsToFilter.forEach(e=>{const n=e.id===this.selectedTournament.id;e.isSelected=n,e.isDefaultTournament=n})},async onClickDeleteFilter(){if(this.optionSelectedSubmenu=="Predeterminados")this.resetPredefinedTeamAll();else{this.rowScoutingData=[];for(let I=0;I<this.detaildProductivityCategories.offensive.categories.length;I++)this.detaildProductivityCategories.offensive.categories[I].isSelected=!1;for(let I=0;I<this.detaildProductivityCategories.defensive.categories.length;I++)this.detaildProductivityCategories.defensive.categories[I].isSelected=!1;for(let I=0;I<this.detaildProductivityCategories.possession.categories.length;I++)this.detaildProductivityCategories.possession.categories[I].isSelected=!1;for(let I=0;I<this.detaildProductivityCategories.offensesConditions.length;I++)this.detaildProductivityCategories.offensesConditions[I]=!1;this.setUpTournamentsToFilter();const n=this.$refs.personalDataFilter;n.clearFilters(Yl.All),n.clearFilters(Yl.AGE_RANGE),n.clearFilters(Yl.YEAR),n.clearFilters(Yl.NATIONALITY),n.clearFilters(Yl.POSITION),this.universeData.minutesPlayed=0,this.universeData.percentMinutesPlayed=0,this.universeData.lastMonths=Array.from({length:24},(I,F)=>F+1),this.universeData.statistics.totals=!0,this.universeData.statistics.averagePerGame=!1,this.universeData.statistics.percentMinutesPlayed=!1;var e=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersTournaments");this.arrayFiltersPlays.splice(e,1);const r=await this.fetchTeamsScouting(this.currentSeasonId);this.teamselect=0,this.teamsscouting=[];for(let I=0;I<r.teams.length;I++)this.teamsscouting.push({id:r.teams[I].team_id,team:r.teams[I].colloquial_name,logo:r.teams[I].logo});setTimeout(()=>{this.modifidFiltersFlag=!1},200)}},clickOpenFilters(){this.showfiltersPc=!0},clickCloseFilters(){this.showfiltersPc=!1},async selectedSeason(e){this.seasonActive!==e.id&&(this.seasonActive=e.id,this.resetPredefinedTeamAll(),this.$emit("change-season-id",e.id))},changeTournament(e){e.id!==this.selectedTournament.id&&(this.selectedTournament=e,this.tournamentSelectedObj={propName:"id",value:e.id},this.teamselect=0,this.resetPredefinedTeamAll(),this.setUpTournamentsToFilter())},changeTournamentMovil(e){this.tournamentSelectedObj={propName:"id",value:e.id},this.seasonBytournament=e.seasons,this.teamselect=0},selectedSeasonMovil(e){this.seasonActive=e.id},setRelevantCategoriesPlayer(e){return e===1?[39,40,52,53,54,55,323,324,608,774,802]:[10,12,14,15,27,35,61,217,257,466,519,607,702,730,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,211,232,235,239,242,282,284,289,291,296,485,486,487,488]},setOpenMedia(e){this.$emit("openmedia",e)},setMediaData(e){let F=[e.id],h=e.team_id;const m={seasonId:e.season_id,isFeaturedPlayers:!1,mainSectionType:1,playListType:2,gameIds:null,playerIds:F,goalkeeperIds:[],categoryIds:this.setRelevantCategoriesPlayer(e.position),teamId:h||0,matchResult:[1,2,3],categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:"Jugadas Relevantes"}};this.$emit("openmedia",m)},clickprofile(e){e.isTeam?this.$emit("openProfileTeam",{teamId:e.id,seasonId:this.seasonActive}):this.$emit("openProfilePlayer",{playerId:e.id,teamId:e.teamId,seasonId:this.seasonActive})},viewprofile(e,n,r){this.$emit("openProfilePlayer",{playerId:e,teamId:r,seasonId:n||this.seasonActive})},openMenuFilters(){this.openMenuMobil=!this.openMenuMobil,this.showfiltersPc=!0},clickexpand(e){this.expand=e.expand,this.playerexpand=e.id},async getScoutingData(){this.arrayFiltersPlays=[],this.loadingActive=!0;const e=cl.create({headers:{Authorization:`${this.token}`}}),{data:n}=await e.post("https://eh9nhj69z7.execute-api.us-west-2.amazonaws.com/prod/players/productivity",this.filterScounting,{headers:{"Content-Type":"application/json"}});if(this.filterScounting.tournaments.length>0){var r=this.arrayFiltersPlays.findIndex(F=>F.type==="onFiltersTournaments");r!==-1?this.arrayFiltersPlays[r].name=this.filterScounting.tournaments.length>1?"Ligas "+this.filterScounting.tournaments.length:this.nameLeagueSelected!=""?this.nameLeagueSelected:"Liga MX":this.arrayFiltersPlays.push({name:this.filterScounting.tournaments.length>1?"Ligas "+this.filterScounting.tournaments.length:this.nameLeagueSelected!=""?this.nameLeagueSelected:"Liga MX",type:"onFiltersTournaments"})}this.rowScoutingData=[];for(let F=0;F<n.length;F++){n[F];let m=n[F].dob.split("T")[0].split("-");var I={position:F+1,player_name:this.abrevName(n[F].name),player_photo:"https://az755631.vo.msecnd.net/players-profile/"+n[F].player_id+".png",total:n[F].total.toFixed(0),id:n[F].player_id,player_age:this.calcularEdad(n[F].dob),team_abrev:n[F].teams[0].acronym,team_name:n[F].teams[0].team_name,team_logo:"https://az755631.vo.msecnd.net/teams-80/"+n[F].teams[0].team_id+".png",player_position:n[F].position_id,player_country_flag:"https://az755631.vo.msecnd.net/flags/"+n[F].nationality_id+".jpg",date:m[2]+"."+m[1]+"."+m[0].substring(2,4),team_id:n[F].team_id,nationality_name:kq[n[F].nationality_id],player_games:n[F].games_played,player_min:n[F].minutes_played,league_name:n[F].tournament_name,seasons:n[F].seasons,season_id:n[F].seasons[0]};this.rowScoutingData.push(I)}if(this.seasonsFilterSelected!=0){const F=await this.fetchTeamsScouting(this.seasonsFilterSelected);this.teamselect=0,this.teamselectrec=0,this.teamsscouting=[];for(let h=0;h<F.teams.length;h++)this.teamsscouting.push({id:F.teams[h].team_id,team:F.teams[h].colloquial_name,logo:F.teams[h].logo})}this.loadingActive=!1},abrevName(e){var n=e.split(","),r=n[0].split(" "),I=n[1].trim().split(" "),F="";r.length==2||r.length==1?r[0].length<4?F=r[0]+" "+r[1]:F=r[0]:r.length==3?F=r[0]+" "+r[1]:r.length==4&&(F=r[1]+" "+r[2]+" "+r[3]);var h=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";F=F.replace(",","");var m=h+". "+F;return m},calcularEdad(e){var n=new Date(e),r=new Date,I=r-n,F=Math.floor(I/(1e3*60*60*24*365.25));return F},async onFiltersTournaments(e){this.modifidFiltersFlag=!0;var n=[];for(let r=0;r<e.length;r++)e[r].isSelected&&n.push(e[r].id);if(n.length==0&&(n=[1]),n.length==1)for(let r=0;r<e.length;r++)e[r].isSelected&&(this.nameLeagueSelected=e[r].name,this.seasonsFilterSelected=e[r].seasons[0].id);else this.seasonsFilterSelected=0,n.length>0&&(this.nameLeagueSelected=n.length+" Ligas");this.filterScounting.tournaments=n,this.filterScounting.seasonId=e[0].seasons[0].id},onFiltersPersonalData(e){if(this.modifidFiltersFlag=!0,e.hasOwnProperty("ageByRange")){const I=e.ageByRange.min==0?10:e.ageByRange.min,F=e.ageByRange.max==0?40:e.ageByRange.max;this.filterScounting.range_age=[I,F],this.filterScounting.age_or_year=1}else this.filterScounting.range_age=[];e.hasOwnProperty("year")?(this.filterScounting.year=e.year,this.filterScounting.age_or_year=0):this.filterScounting.year=0;var n=[];if(e.hasOwnProperty("nationalities")){for(let I=0;I<e.nationalities.length;I++)e.nationalities[I].isSelected&&n.push(e.nationalities[I].id);n.length==0&&(n=[3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,221,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,222,223,224,225,226,227,228,229,230,231,232,233,234,236,237,239])}this.filterScounting.elegibles=[],e.hasOwnProperty("eligibility")&&(this.filterScounting.elegibles=[e.eligibility[0].id]);var r=[];for(let I=0;I<e.positions.length;I++)e.positions[I].isSelected&&r.push(e.positions[I].id);r.length==0&&(r=[1,2,3,4,5,6,7,8,9,10]),this.filterScounting.positions=r,this.filterScounting.nationalities=n},onFiltersUniverse(e){this.modifidFiltersFlag=!0,this.filterScounting.minutes_played=Number(e.minutesPlayed),this.filterScounting.last_months=Number(e.lastMonths),this.filterScounting.minutes_played_avg=Number(e.percentMinutesPlayed),this.filterScounting.type_stats=e.statistics.averagePerGame?3:e.statistics.averagePerMinute?2:1},onFiltersProductivity(e){this.modifidFiltersFlag=!0;var n=[];for(let r=0;r<e.productivityFilters.length;r++)n[e.productivityFilters[r].priority-1]={name:e.productivityFilters[r].name,ids:e.productivityFilters[r].id};n.length==0&&(n=[]),this.filterScounting.categories=n,this.filterScounting.fouls=e.offensesConditions.areFoulsCommittedSelected,this.filterScounting.yellow_cards=e.offensesConditions.areYellowCardsSelected,this.filterScounting.red_cards=e.offensesConditions.areRedCardsSelected},onFiltersGolStats(e){if(e.length>0){var n=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersPredefined");n!==-1?this.arrayFiltersPlays[n].name=e[0].name:this.arrayFiltersPlays.push({name:e[0].name,type:"onFiltersPredefined"}),this.filtersPredefinedF=e[0].filters}else{var r=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&r!==-1){this.filtersPredefinedF=this.filters;for(let F=0;F<this.FVfilterGolstats.length;F++)this.FVfilterGolstats[F].isSelected=!1;var r=this.arrayFiltersPlays.findIndex(F=>F.type==="onFiltersPredefined");r!==-1&&this.arrayFiltersPlays.splice(r,1),this.updateFilterGolstats+=1}}},shouldRender(e){return e<=this.currentIndex},renderNext(){this.currentIndex++,this.currentIndex<this.categoriesDefault.length&&setTimeout(()=>{this.$nextTick(()=>{this.renderNext()})},this.delay)},async onFiltersPlaysTypes(e){if(e.length>0){this.categoryPredefinedActive=!0,this.loadingActive=!0,this.categoryPredefined=e[0].id;var n=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersPredefined");if(this.categoriesDefault.length>0&&n!==-1){this.FVfilterGolstats=[],this.filtersPredefinedF={},this.arrayFiltersPlays.splice(n,1);var r=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersPredefined");if(r!==-1){for(let I=0;I<this.FVfilterGolstats.length;I++)this.FVfilterGolstats[I].isSelected=!1;r!==-1&&this.arrayFiltersPlays.splice(r,1),this.updateFilterGolstats+=1}}this.updateTables+=1,setTimeout(()=>{this.loadingActive=!1},1e3),await this.getPredefinedfilters(e[0]),this.FVfilterGolstats.length>0&&(this.onFiltersGolStats([this.FVfilterGolstats[0]]),this.FVfilterGolstats[0].isSelected=!0)}else{var n=this.arrayFiltersPlays.findIndex(F=>F.type==="onFiltersPredefinedCategory");if(this.categoriesDefault.length>0&&n!==-1){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF=this.filters,this.arrayFiltersPlays.splice(n,1);for(let h=0;h<this.categoriesDefault.length;h++)this.categoriesDefault[h].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var r=this.arrayFiltersPlays.findIndex(h=>h.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&r!==-1){for(let h=0;h<this.FVfilterGolstats.length;h++)this.FVfilterGolstats[h].isSelected=!1;r!==-1&&this.arrayFiltersPlays.splice(r,1),this.updateFilterGolstats+=1}}}},deleteCategoryFilter(){this.categoryName="",this.showFullCategory=0,this.showFullTable=!1,delete this.filters.aux},onShowFullTable(e){this.categoryName=e.categoryName,this.showFullCategory=e.category,this.showFullTable=!0,this.loadingActive=!0,setTimeout(()=>{this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,aux:this.getRandomNumber(1,1e4),booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.loadingActive=!1},1e3)},getRandomNumber(e,n){return Math.floor(Math.random()*(n-e+1))+e},applyFiltersBtn(e){},onFiltersPlays(e){if(this.arrayCategoryFilter=[],this.arrayCategoryFilterFull=[],e.playsCategories.length==0){for(let r=0;r<this.categoriesPlaysTypes.offensive.categories.length;r++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offensive.categories[r].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[r]);for(let r=0;r<this.categoriesPlaysTypes.defensive.categories.length;r++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.defensive.categories[r].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[r]);for(let r=0;r<this.categoriesPlaysTypes.possession.categories.length;r++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.possession.categories[r].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[r]);for(let r=0;r<this.categoriesPlaysTypes.offenses.categories.length;r++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offenses.categories[r].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[r])}else for(let r=0;r<e.playsCategories.length;r++)e.playsCategories[r].isSelected&&(this.arrayCategoryFilter.push(e.playsCategories[r].id),this.arrayCategoryFilterFull.push(e.playsCategories[r]));var n=this.arrayFiltersPlays.findIndex(r=>r.type==="onFiltersPlays");this.arrayCategoryFilter.length>0&&this.arrayCategoryFilter.length!=23?this.arrayCategoryFilter.length==1?n!=-1?this.arrayFiltersPlays[n].name=this.arrayCategoryFilterFull[0].name:this.arrayFiltersPlays.push({name:this.arrayCategoryFilterFull[0].name,type:"onFiltersPlays"}):n!=-1?this.arrayFiltersPlays[n].name=this.arrayCategoryFilterFull.length+" Tipos de jugadas":this.arrayFiltersPlays.push({name:this.arrayCategoryFilterFull.length+" Tipos de jugadas",type:"onFiltersPlays"}):n!==-1&&this.arrayFiltersPlays.splice(n,1)},async deleteLabelFilter(e){var n=this.arrayFiltersPlays.findIndex(I=>I.type===e);if(n!==-1){if(e=="onFiltersTournaments"){this.rowScoutingData=[];for(let F=0;F<this.detaildProductivityCategories.offensive.categories.length;F++)this.detaildProductivityCategories.offensive.categories[F].isSelected=!1;for(let F=0;F<this.detaildProductivityCategories.defensive.categories.length;F++)this.detaildProductivityCategories.defensive.categories[F].isSelected=!1;for(let F=0;F<this.detaildProductivityCategories.possession.categories.length;F++)this.detaildProductivityCategories.possession.categories[F].isSelected=!1;for(let F=0;F<this.detaildProductivityCategories.offensesConditions.length;F++)this.detaildProductivityCategories.offensesConditions[F]=!1;this.setUpTournamentsToFilter(),this.universeData.minutesPlayed=10,this.universeData.percentMinutesPlayed=0,this.universeData.lastMonths=Array.from({length:24},(F,h)=>h+1),this.universeData.statistics.totals=!0,this.universeData.statistics.averagePerGame=!1,this.universeData.statistics.percentMinutesPlayed=!0;const I=await this.fetchTeamsScouting(this.currentSeasonId);this.teamsscouting=[];for(let F=0;F<I.teams.length;F++)this.teamsscouting.push({id:I.teams[F].team_id,team:I.teams[F].colloquial_name,logo:I.teams[F].logo});this.keyTournamentValue+=1,setTimeout(()=>{this.modifidFiltersFlag=!1},200)}if(e=="onFiltersPlays"){for(let I=0;I<this.categoriesPlaysTypes.offensive.categories.length;I++)this.categoriesPlaysTypes.offensive.categories[I].isSelected=!0;for(let I=0;I<this.categoriesPlaysTypes.defensive.categories.length;I++)this.categoriesPlaysTypes.defensive.categories[I].isSelected=!0,this.arrayCategoryFilter.push(),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[I]);for(let I=0;I<this.categoriesPlaysTypes.possession.categories.length;I++)this.categoriesPlaysTypes.possession.categories[I].isSelected=!0;for(let I=0;I<this.categoriesPlaysTypes.offenses.categories.length;I++)this.categoriesPlaysTypes.offenses.categories[I].isSelected=!0}if(e=="onFiltersField"&&(this.fVzone=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersPredefined"){this.filtersPredefinedF=this.filters;for(let I=0;I<this.FVfilterGolstats.length;I++)this.FVfilterGolstats[I].isSelected=!1;this.updateFilterGolstats+=1,this.resetPredefinedTeamAll()}if(e=="onFiltersPredefinedCategory"){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF=this.filters;var r=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersPredefined");r!==-1&&this.arrayFiltersPlays.splice(r,1);for(let I=0;I<this.categoriesDefault.length;I++)this.categoriesDefault[I].isSelected=!1;this.updateFilterPlaytypesGolstats+=1}e=="onFiltersDetailsTime"&&(this.detailsObject.gameSections[0].isSelected=!0,this.detailsObject.gameSections[1].isSelected=!0,this.detailsObject.gameSections[2].isSelected=!0,this.detailsObject.gameSections[3].isSelected=!0,this.detailsObject.gameSections[4].isSelected=!0,this.detailsObject.gameSections[5].isSelected=!0,this.fVsections=[1,2,3,4,5,6],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersDetailsPlayingAs"&&(this.detailsObject.playingAs[0].isSelected=!0,this.detailsObject.playingAs[1].isSelected=!0,this.fVplayingAs=[1,2],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersNationality"&&(this.fVnationalities.add(138),this.fVnationalities.add(222),this.fVnationalities.add(163),this.fVnationalities.add(51),this.fVnationalities.add(226),this.fVnationalities.add(10),this.fVnationalities.add(223),this.fVnationalities.add(96),this.fVnationalities.add(171),this.fVnationalities.add(198),this.fVnationalities.add(105),this.fVnationalities.add(80),this.fVnationalities.add(29),this.fVnationalities.add(74),this.fVnationalities.add(216),this.fVnationalities.add(196),this.fVnationalities.add(64),this.fVnationalities.add(155),this.fVnationalities.add(156),this.fVnationalities.add(89),this.fVnationalities.add(106),this.fVnationalities.add(81),this.fVnationalities.add(233),this.fVnationalities.add(204),this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Yl.NATIONALITY)),e=="onFiltersPosition"&&(this.fVsetPositionsIds=[1,2,3,4,5,6,7,8,9],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Yl.POSITION)),e=="onFiltersAge"&&(this.fVarrayAgeRange=[10,40],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Yl.AGE_RANGE)),e=="onFiltersElegibility"&&this.$refs.personalDataFilterPlayers.clearFilters(Yl.ELIGIBILITY),e=="onFiltersYear"&&(this.$refs.personalDataFilterPlayers.clearFilters(Yl.YEAR),this.FVYear=1900,this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds})}this.arrayFiltersPlays.splice(n,1)},onFiltersField(e){e.length==0?this.fVzone=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]:this.fVzone=e;var n=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersField");n!=-1?this.arrayFiltersPlays[n].name=this.fVzone.length+" zonas del campo":this.arrayFiltersPlays.push({name:this.fVzone.length+" zonas del campo",type:"onFiltersField"}),[1,23,3,4,5,7,6,9,8,11,10,12,13,15,14,17,16,22].includes(this.category)?this.fVtypeZone=1:this.fVtypeZone=2,this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},e.length!=16?(this.fVzone.length==4&&this.fVzone.includes(1)&&this.fVzone.includes(2)&&this.fVzone.includes(3)&&this.fVzone.includes(4)&&(n!=-1?this.arrayFiltersPlays[n].name="1/4 de cancha":this.arrayFiltersPlays.push({name:"1/4 de cancha",type:"onFiltersField"})),this.fVzone.length==4&&this.fVzone.includes(5)&&this.fVzone.includes(6)&&this.fVzone.includes(7)&&this.fVzone.includes(8)&&(n!=-1?this.arrayFiltersPlays[n].name="2/4 de cancha":this.arrayFiltersPlays.push({name:"2/4 de cancha",type:"onFiltersField"})),this.fVzone.length==4&&this.fVzone.includes(9)&&this.fVzone.includes(10)&&this.fVzone.includes(11)&&this.fVzone.includes(12)&&(n!=-1?this.arrayFiltersPlays[n].name="3/4 de cancha":this.arrayFiltersPlays.push({name:"3/4 de cancha",type:"onFiltersField"})),this.fVzone.length==4&&this.fVzone.includes(13)&&this.fVzone.includes(14)&&this.fVzone.includes(15)&&this.fVzone.includes(16)&&(n!=-1?this.arrayFiltersPlays[n].name="4/4 de cancha":this.arrayFiltersPlays.push({name:"4/4 de cancha",type:"onFiltersField"})),this.fVzone.length==8&&this.fVzone.includes(1)&&this.fVzone.includes(2)&&this.fVzone.includes(3)&&this.fVzone.includes(4)&&this.fVzone.includes(5)&&this.fVzone.includes(6)&&this.fVzone.includes(7)&&this.fVzone.includes(8)&&(n!=-1?this.arrayFiltersPlays[n].name="cancha propia":this.arrayFiltersPlays.push({name:"cancha propia",type:"onFiltersField"})),this.fVzone.length==8&&this.fVzone.includes(9)&&this.fVzone.includes(10)&&this.fVzone.includes(11)&&this.fVzone.includes(12)&&this.fVzone.includes(13)&&this.fVzone.includes(14)&&this.fVzone.includes(15)&&this.fVzone.includes(16)&&(n!=-1?this.arrayFiltersPlays[n].name="cancha rival":this.arrayFiltersPlays.push({name:"cancha rival",type:"onFiltersField"}))):this.arrayFiltersPlays.splice(n,1)},addFilterPlayingAS(){var e=this.arrayFiltersPlays.findIndex(n=>n.type==="onFiltersDetailsPlayingAs");e!=-1?this.fVplayingAs.length==1?this.arrayFiltersPlays[e].name=this.fVplayingAs.includes(1)?"Local":"Visitante":this.arrayFiltersPlays.splice(e,1):this.fVplayingAs.length==1&&this.arrayFiltersPlays.push({name:this.fVplayingAs.includes(1)?"Local":"Visitante",type:"onFiltersDetailsPlayingAs"})},onFiltersDetails(e){var n=[];this.filters.setNationalitiesIds=this.setNationalitiesIds;var r=[];for(let h=0;h<e.playingAs.length;h++)if(e.playingAs[h].isSelected){const m=e.playingAs[h].name=="Local"?1:2;n.push(m)}for(let h=0;h<e.gameSections.length;h++)e.gameSections[h].isSelected&&r.push(e.gameSections[h].value);this.fVsections=r,this.fVplayingAs=n;var I=this.arrayFiltersPlays.findIndex(h=>h.type==="onFiltersDetailsTime"),F="los minutos del ";this.fVsections.length!=6&&this.fVsections.length>0?(this.fVsections.includes(1)&&(F+=", 0-15"),this.fVsections.includes(2)&&(F+=", 15-30"),this.fVsections.includes(3)&&(F+=", 30-45"),this.fVsections.includes(4)&&(F+=", 45-60"),this.fVsections.includes(5)&&(F+=", 60-75"),this.fVsections.includes(6)&&(F+=", 75-90"),I!=-1?this.arrayFiltersPlays[I].name=F:this.arrayFiltersPlays.push({name:F,type:"onFiltersDetailsTime"}),this.fVsections.length==3&&this.fVsections.includes(1)&&this.fVsections.includes(2)&&this.fVsections.includes(3)&&(I!=-1?this.arrayFiltersPlays[I].name="Primer tiempo":this.arrayFiltersPlays.push({name:"Primer tiempo",type:"onFiltersDetailsTime"})),this.fVsections.length==3&&this.fVsections.includes(4)&&this.fVsections.includes(5)&&this.fVsections.includes(6)&&(I!=-1?this.arrayFiltersPlays[I].name="Segundo tiempo":this.arrayFiltersPlays.push({name:"Segundo tiempo",type:"onFiltersDetailsTime"})),this.fVsections.length==1&&this.fVsections.includes(1)&&(I!=-1?this.arrayFiltersPlays[I].name="los primeros 15 minutos del partido":this.arrayFiltersPlays.push({name:"los primeros 15 minutos del partido",type:"onFiltersDetailsTime"})),this.fVsections.length==1&&this.fVsections.includes(3)&&(I!=-1?this.arrayFiltersPlays[I].name="los últimos 15 minutos del primer tiempo":this.arrayFiltersPlays.push({name:"los últimos 15 minutos del primer tiempo",type:"onFiltersDetailsTime"})),this.fVsections.length==1&&this.fVsections.includes(4)&&(I!=-1?this.arrayFiltersPlays[I].name="los primeros 15 minutos del segundo tiempo":this.arrayFiltersPlays.push({name:"los primeros 15 minutos del segundo tiempo",type:"onFiltersDetailsTime"})),this.fVsections.length==1&&this.fVsections.includes(6)&&(I!=-1?this.arrayFiltersPlays[I].name="los últimos 15 minutos del segundo tiempo":this.arrayFiltersPlays.push({name:"los últimos 15 minutos del segundo tiempo",type:"onFiltersDetailsTime"})),this.fVsections.length==2&&this.fVsections.includes(1)&&this.fVsections.includes(2)&&(I!=-1?this.arrayFiltersPlays[I].name="los primeros 30 minutos del partido":this.arrayFiltersPlays.push({name:"los primeros 30 minutos del partido",type:"onFiltersDetailsTime"})),this.fVsections.length==2&&this.fVsections.includes(5)&&this.fVsections.includes(6)&&(I!=-1?this.arrayFiltersPlays[I].name="los últimos 30 minutos del segundo tiempo":this.arrayFiltersPlays.push({name:"los últimos 30 minutos del segundo tiempo",type:"onFiltersDetailsTime"}))):I!=-1&&this.arrayFiltersPlays.splice(I,1),this.addFilterPlayingAS(),this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}},async resetScouting(){this.universeData.minutesPlayed=0,this.universeData.percentMinutesPlayed=0,this.universeData.lastMonths=Array.from({length:24},(I,F)=>F+1),this.universeData.statistics.totals=!0,this.universeData.statistics.averagePerGame=!1,this.universeData.statistics.percentMinutesPlayed=!1;const e=this.$refs.personalDataFilter;e.clearFilters(Yl.All),e.clearFilters(Yl.AGE_RANGE),e.clearFilters(Yl.YEAR),e.clearFilters(Yl.NATIONALITY),e.clearFilters(Yl.POSITION),this.rowScoutingData=[];for(let I=0;I<this.detaildProductivityCategories.offensive.categories.length;I++)this.detaildProductivityCategories.offensive.categories[I].isSelected=!1;for(let I=0;I<this.detaildProductivityCategories.defensive.categories.length;I++)this.detaildProductivityCategories.defensive.categories[I].isSelected=!1;for(let I=0;I<this.detaildProductivityCategories.possession.categories.length;I++)this.detaildProductivityCategories.possession.categories[I].isSelected=!1;for(let I=0;I<this.detaildProductivityCategories.offensesConditions.length;I++)this.detaildProductivityCategories.offensesConditions[I]=!1;var n=this.arrayFiltersPlays.findIndex(I=>I.type==="onFiltersTournaments");this.arrayFiltersPlays.splice(n,1),this.setUpTournamentsToFilter();const r=await this.fetchTeamsScouting(this.currentSeasonId);this.teamselect=0,this.teamsscouting=[];for(let I=0;I<r.teams.length;I++)this.teamsscouting.push({id:r.teams[I].team_id,team:r.teams[I].colloquial_name,logo:r.teams[I].logo})},onFiltersData(e){var n=0,r=0;e.ageByRange&&(e.ageByRange.min==0?n=1:n=e.ageByRange.min,e.ageByRange.max==0?r=40:r=e.ageByRange.max,this.fVarrayAgeRange=[n,r]),e.year&&(this.FVYear=e.year),this.fVnationalities=new Set;let I="",F="";if(this.fVsetPositionsIds=[],e.hasOwnProperty("nationalities")){this.FVbooleanAreNationalTeamsVisible=!1,this.FVsetAvailableNationalTeamsPlayersIds=new Set;for(let b=0;b<e.nationalities.length;b++)e.nationalities[b].isSelected&&this.fVnationalities.add(e.nationalities[b].id)}if(this.FVeligible=[],e.hasOwnProperty("eligibility")){this.FVbooleanAreNationalTeamsVisible=!0;for(let b=0;b<this.elegibilidadArray.length;b++)this.FVsetAvailableNationalTeamsPlayersIds.add(this.elegibilidadArray[b])}for(let b=0;b<e.positions.length;b++)e.positions[b].isSelected&&this.fVsetPositionsIds.push(e.positions[b].id);if(e.hasOwnProperty("nationalities"))var h=e.nationalities.filter(b=>b.isSelected===!0);var m=e.positions.filter(b=>b.isSelected===!0);if(m.length==1&&(I=m[0].name),e.hasOwnProperty("nationalities")&&h.length==1&&(F=h[0].name),setTimeout(()=>{this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,elegible:this.FVeligible,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}},1e3),this.FVbooleanAreNationalTeamsVisible){var a=this.arrayFiltersPlays.findIndex(b=>b.type==="onFiltersElegibility");a!=-1?this.arrayFiltersPlays[a].name="Elegibles":this.arrayFiltersPlays.push({name:"Elegibles",type:"onFiltersElegibility"})}else{var a=this.arrayFiltersPlays.findIndex(c=>c.type==="onFiltersElegibility");this.arrayFiltersPlays.splice(a,1)}if(this.fVsetPositionsIds.length!=9&&this.fVsetPositionsIds.length>0){var v=this.arrayFiltersPlays.findIndex(b=>b.type==="onFiltersPosition");v!=-1?this.fVsetPositionsIds.length>0?this.arrayFiltersPlays[v].name=this.fVsetPositionsIds.length>1?this.fVsetPositionsIds.length+" Posiciones de juego":"Posicion de juego "+I:this.arrayFiltersPlays.splice(v,1):this.arrayFiltersPlays.push({name:this.fVsetPositionsIds.length>1?this.fVsetPositionsIds.length+" Posiciones de juego":"Posicion de juego "+I,type:"onFiltersPosition"})}if(this.FVYear!=0&&this.FVYear!=1900&&this.FVYear){var g=this.arrayFiltersPlays.findIndex(b=>b.type==="onFiltersYear");g!=-1?this.arrayFiltersPlays[g].name=this.FVYear:this.arrayFiltersPlays.push({name:this.FVYear,type:"onFiltersYear"})}if(this.fVarrayAgeRange[0]>=e.ageLimits.min&&this.fVarrayAgeRange[1]<=e.ageLimits.max)if(this.fVarrayAgeRange[0]>e.ageLimits.min||this.fVarrayAgeRange[1]<e.ageLimits.max){var i=this.arrayFiltersPlays.findIndex(b=>b.type==="onFiltersAge");i!=-1?this.fVarrayAgeRange.length>0?this.arrayFiltersPlays[i].name=this.fVarrayAgeRange[0]!=this.fVarrayAgeRange[1]?this.fVarrayAgeRange[0]+" - "+this.fVarrayAgeRange[1]+" años":this.fVarrayAgeRange[1]+" años":this.arrayFiltersPlays.splice(i,1):this.arrayFiltersPlays.push({name:this.fVarrayAgeRange[0]!=this.fVarrayAgeRange[1]?this.fVarrayAgeRange[0]+" - "+this.fVarrayAgeRange[1]+" años":this.fVarrayAgeRange[1]+" años",type:"onFiltersAge"})}else{var i=this.arrayFiltersPlays.findIndex(c=>c.type==="onFiltersAge");i!=-1&&this.arrayFiltersPlays.splice(i,1)}if(e.hasOwnProperty("nationalities")&&this.fVnationalities.size!=e.nationalities.length&&this.fVnationalities.size>0){var _=this.arrayFiltersPlays.findIndex(b=>b.type==="onFiltersNationality");_!=-1?this.fVnationalities.size>0?this.arrayFiltersPlays[_].name=this.fVnationalities.size>1?this.fVnationalities.size+" Nacionalidades":"Nacionalidad "+F:this.arrayFiltersPlays.splice(_,1):this.arrayFiltersPlays.push({name:this.fVnationalities.size>1?this.fVnationalities.size+" Nacionalidades":"Nacionalidad "+F,type:"onFiltersNationality"})}},clickAll(e){},clickAllAll(e){},clickTeam(e){},clickTeamScouting(e){},resetFilterTeamAndPlayers(){this.filters={zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.setNationalitiesIds,setPositionsIds:[1,2,3,4,5,6,7,8,9],setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set}},async changeTabsGeneral(e){if(this.resetPredefinedTeamAll(),this.showfiltersPc=!0,this.optionSelected=e,this.optionSelectedSubmenu="Todas las jugadas",this.filtersPredefinedF={},this.categoryPredefinedActive=!1,this.categoryPredefined=0,e=="Equipos"&&(this.typeTable=1,this.isTeam=!0,this.updateTables+=1,this.rowScoutingData=[],this.arrayFiltersPlays=[],this.teamselect=0,this.resetFilterTeamAndPlayers(),this.resetScouting()),e=="Jugadores"&&(this.typeTable=0,this.isTeam=!1,this.teamselect=0,this.updateTables+=1,this.rowScoutingData=[],this.resetFilterTeamAndPlayers(),this.resetScouting()),e=="Scouting"){this.rowScoutingData=[],this.teamselect=0,this.arrayFiltersPlays=[];const n=await this.fetchTeamsScouting(this.currentSeasonId);this.teamsscouting=[];for(let r=0;r<n.teams.length;r++)this.teamsscouting.push({id:n.teams[r].team_id,team:n.teams[r].colloquial_name,logo:n.teams[r].logo});setTimeout(()=>{this.modifidFiltersFlag=!1},200),this.resetFilterTeamAndPlayers()}},resetPredefinedTeamAll(){var e=this.arrayFiltersPlays.findIndex(r=>r.type==="onFiltersPredefined");if(this.categoriesDefault.length>0&&e!==-1){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF={},this.arrayFiltersPlays.splice(e,1);for(let r=0;r<this.categoriesDefault.length;r++)this.categoriesDefault[r].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var n=this.arrayFiltersPlays.findIndex(r=>r.type==="onFiltersPredefined");if(n!==-1){for(let r=0;r<this.FVfilterGolstats.length;r++)this.FVfilterGolstats[r].isSelected=!1;n!==-1&&this.arrayFiltersPlays.splice(n,1),this.updateFilterGolstats+=1}}},changeTabsSubmenu(e){e!="Predeterminados"?this.resetPredefinedTeamAll():this.arrayFiltersPlays=[],this.optionSelectedSubmenu=e},async fetchTournaments(){const e=cl.create({headers:{Authorization:`${this.token}`}}),{data:n}=await e.get(this.tournamentsUrl);return n},async fetchTeams(){const e=cl.create({headers:{Authorization:`${this.token}`}}),{data:n}=await e.get(this.teamsUrl+this.seasonActive);return n},async fetchTeamsScouting(e){const n=cl.create({headers:{Authorization:`${this.token}`}}),{data:r}=await n.get(this.teamsUrl+e);return r},async getPredefinedfilters(e){this.arrayPredefinedFilters=[],this.arrayPredefinedOrigin=[];var n="";e.id==1?n=this.urlFilter:n=this.urlFilter;const r=cl.create({headers:{Authorization:`${this.token}`}}),{data:I}=await r.get(n+e.id);if(Object.keys(I[0].match_lapse_combinations).forEach(_=>{this.predefinedFiltersMatchLapse[_.toString()]=I[0].match_lapse_combinations[_]}),Object.keys(I[0].playing_as_combinations).forEach(_=>{this.predefinedFiltersPlayingAs[_.toString()]=I[0].playing_as_combinations[_]}),Object.keys(I[0].field_sections_combinations).forEach(_=>{this.predefinedFiltersSections[_.toString()]=I[0].field_sections_combinations[_]}),I[0]){for(let _=0;_<I[0].filter_records.length;_++){var F=I[0].description;if(I[0].filter_records[_].field_sections!==void 0){const c=I[0].filter_records[_].field_sections.toString();(this.predefinedFiltersSections[c]||this.predefinedFiltersSections[c]=="")&&(this.predefinedFiltersSections[c]==""?F=F.replace(" [en {field_sections}]",this.predefinedFiltersSections[c]):F=F.replace("{field_sections}",this.predefinedFiltersSections[c]))}if(I[0].filter_records[_].match_lapse!==void 0){const c=I[0].filter_records[_].match_lapse.toString();(this.predefinedFiltersMatchLapse[c]||this.predefinedFiltersMatchLapse[c]=="")&&(this.predefinedFiltersMatchLapse[c]==""?F=F.replace(" [durante {match_lapse}]",this.predefinedFiltersMatchLapse[c]):F=F.replace("{match_lapse}",this.predefinedFiltersMatchLapse[c]))}if(I[0].filter_records[_].playing_as!==void 0){const c=I[0].filter_records[_].playing_as.toString();(this.predefinedFiltersPlayingAs[c]||this.predefinedFiltersPlayingAs[c]=="")&&(this.predefinedFiltersPlayingAs[c]==""?F=F.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[c]):F=F.replace("{playing_as}",this.predefinedFiltersPlayingAs[c]))}I[0].filter_records[_].section_type!==void 0&&(this.optionSelected=="Jugadores"?F=F.replace("{section_type}","Jugadores"):F=F.replace("{section_type}","Equipos")),F=F.replace(/\[/g,""),F=F.replace(/\]/g,""),F=F.replace("{category_name}",I[0].category_name);const b=F.split(": ");var h=b[1];h.length>129&&this.windowWidth>1358&&(h=h.substring(0,129),h=h+"<span id='showIDtootip' class='dots' style='width: 100px; height: 20px; background: red; z-index: 6;'>...</span>"),(!this.isCup||I[0].filter_records[_].playing_as.length===2)&&this.arrayPredefinedFilters.push({id:_,category_name:e.name,id_category:I[0].id,title:b[0]+":",text:b[1],textOrigin:I[0].description,titledots:h,filtersPredefined:{matchResult:I[0].filter_records[_].match_result,playingAs:I[0].filter_records[_].playing_as,sections:I[0].filter_records[_].match_lapse,type:this.optionSelected=="Equipos"?2:1,typeZone:I[0].type_zone,zone:I[0].filter_records[_].field_sections,end_age:0,start_age:0,nationalities:[],elegible:[],positions:[]}})}var m=[];for(let _=0;_<this.arrayPredefinedFilters.length;_++){var a=0,v=new Set,g={},i=this.arrayPredefinedFilters[_].text.replace(/\*.*?\*/,"");if(i=i.replace(/\*/g,""),i=i.replace(/ +/g," "),this.arrayPredefinedFilters[_].filtersPredefined.elegible.length>0&&(a+=1),(this.arrayPredefinedFilters[_].filtersPredefined.end_age.length!=0||this.arrayPredefinedFilters[_].filtersPredefined.start_age.length!=0)&&(a+=1),this.arrayPredefinedFilters[_].filtersPredefined.end_age!=0&&this.arrayPredefinedFilters[_].filtersPredefined.start_age!=0?g.arrayAgeRange=[this.arrayPredefinedFilters[_].filtersPredefined.start_age,this.arrayPredefinedFilters[_].filtersPredefined.end_age]:this.arrayPredefinedFilters[_].filtersPredefined.end_age==0&&this.arrayPredefinedFilters[_].filtersPredefined.start_age==0?g.arrayAgeRange=[1,60]:this.arrayPredefinedFilters[_].filtersPredefined.start_age!=0&&this.arrayPredefinedFilters[_].filtersPredefined.end_age==0?g.arrayAgeRange=[this.arrayPredefinedFilters[_].filtersPredefined.start_age,60]:g.arrayAgeRange=[1,this.arrayPredefinedFilters[_].filtersPredefined.end_age],this.arrayPredefinedFilters[_].filtersPredefined.matchResult.length!=3&&(a+=1),g.matchResult=this.arrayPredefinedFilters[_].filtersPredefined.matchResult,this.arrayPredefinedFilters[_].filtersPredefined.nationalities.length>0&&(a+=1),this.arrayPredefinedFilters[_].filtersPredefined.nationalities.length!=0){for(let b=0;b<this.arrayPredefinedFilters[_].filtersPredefined.nationalities.length;b++)v.add(this.arrayPredefinedFilters[_].filtersPredefined.nationalities[b]);g.setNationalitiesIds=v}else v.add(138),v.add(222),v.add(163),v.add(51),v.add(226),v.add(10),v.add(223),v.add(96),v.add(171),v.add(198),v.add(105),v.add(80),v.add(29),v.add(74),v.add(216),v.add(196),v.add(64),v.add(155),v.add(156),v.add(89),v.add(106),v.add(81),v.add(233),v.add(204),g.setNationalitiesIds=v;this.arrayPredefinedFilters[_].filtersPredefined.playingAs.length!=2&&(a+=1),g.playingAs=this.arrayPredefinedFilters[_].filtersPredefined.playingAs,this.arrayPredefinedFilters[_].filtersPredefined.positions.length>0&&(a+=1),this.arrayPredefinedFilters[_].filtersPredefined.positions.length>0?g.setPositionsIds=this.arrayPredefinedFilters[_].filtersPredefined.positions:g.setPositionsIds=[1,2,3,4,5,6,7,8,9],this.arrayPredefinedFilters[_].filtersPredefined.sections.length!=6&&(a+=1),this.arrayPredefinedFilters[_].filtersPredefined.sections.length>0?g.sections=this.arrayPredefinedFilters[_].filtersPredefined.sections:g.sections=[1,2,3,4,5,6],this.arrayPredefinedFilters[_].filtersPredefined.zone.length!=16&&(a+=1),this.arrayPredefinedFilters[_].filtersPredefined.zone.length>0?g.zone=this.arrayPredefinedFilters[_].filtersPredefined.zone:g.zone=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],g.typeZone=this.arrayPredefinedFilters[_].filtersPredefined.typeZone,m.push({id:_+1,name:i,isSelected:!1,value:a,filters:g})}this.FVfilterGolstats=m,this.updateFilterGolstats+=1,this.arrayPredefinedOrigin=JSON.parse(JSON.stringify(this.arrayPredefinedFilters))}},getTextFilterPredefinedCustom(){this.setDinamicFilters(this.filterEmitAux);var e=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].textOrigin;const n=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.zone.sort((i,_)=>i-_).toString();this.predefinedFiltersSections[n]||this.predefinedFiltersSections[n]==""?this.predefinedFiltersSections[n]==""?e=e.replace(" [en {field_sections}]",this.predefinedFiltersSections[n]):e=e.replace("{field_sections}",this.predefinedFiltersSections[n]):e=e.replace("{field_sections}",this.predefinedFiltersSections.other);var r=!1;this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size>0?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size==this.setNationalityIds.size?(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size==1?(e=e.replace("[{nationality}]",this.$t(`gentilicios[${[...this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities][0]}]`)),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size>0&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size!=this.setPositionsIds.size?(r=!0,e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]","")):(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")),this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size>0?(r||this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size==this.setPositionsIds.size)&&(e=e.replace("[de las posiciones seleccionadas]","")):e=e.replace("[de las posiciones seleccionadas]",""),this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=0&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=0?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=this.arrayAgeRange[0]&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=this.arrayAgeRange[1]?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age==this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age?(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" años]")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" a "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age+" años]")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=this.arrayAgeRange[0]||this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=this.arrayAgeRange[1]?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age==this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age?(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" años]")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" a "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age+" años]")):(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]",""));const I=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.sections.sort().toString();if(this.predefinedFiltersMatchLapse[I]||this.predefinedFiltersMatchLapse[I]=="")this.predefinedFiltersMatchLapse[I]==""?e=e.replace(" [durante {match_lapse}]",this.predefinedFiltersMatchLapse[I]):e=e.replace("{match_lapse}",this.predefinedFiltersMatchLapse[I]);else{e=e.replace("{match_lapse}"," "+this.predefinedFiltersMatchLapse.other);var F="";I.includes(1)&&(F=F+"0-15, "),I.includes(2)&&(F=F+"16-30, "),I.includes(3)&&(F=F+"31-45, "),I.includes(4)&&(F=F+"46-60, "),I.includes(5)&&(F=F+"61-75, "),I.includes(6)&&(F=F+"76-90, "),F=F.slice(0,-2),F=F.replace(/,([^,]*)$/," y $1"),e=e.replace("{match_lapse_selected}",F)}const h=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.playingAs.sort().toString();(this.predefinedFiltersPlayingAs[h]||this.predefinedFiltersPlayingAs[h]=="")&&(this.predefinedFiltersPlayingAs[h]==""?e=e.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[h]):e=e.replace("{playing_as}",this.predefinedFiltersPlayingAs[h])),this.typeSelected==1?this.getUser.tournament==1001?this.category.id==22?e=e.replace("{section_type}","Porteras"):e=e.replace("{section_type}","Jugadoras"):this.category.id==22?e=e.replace("{section_type}","Porteros"):e=e.replace("{section_type}","Jugadores"):e=e.replace("{section_type}","Equipos"),e=e.replace(/\[/g,""),e=e.replace(/\]/g,""),e=e.replace("{category_name}",this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].category_name);const m=e.split(": ");let a=m[1].charAt(0).toUpperCase()+m[1].toLowerCase().slice(1),v=m[1].charAt(0).toUpperCase()+m[1].toLowerCase().slice(1);this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].text=a,this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].title=m[0]+":";const g=v.match(/\*/g);if(g&&g.length)if(g.length%2===0)for(let i=1;i<=g.length;i++)i%2===0||(v=v.replace("*",'<span style="color: #ffff03" >'));else v=v.replaceAll("*","");this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].titledots=v},intervalidtops(e){this.$emit("intervalidtops",e)}},mounted(){sessionStorage.getItem("sidpdfil")!==null&&sessionStorage.setItem("sidpdfil",0),this.renderNext(),this.teamId!==0&&this.optionSelected!=="Scouting"&&this.clickTeam(this.teamId),this.defaultSection!=="Jugadores"&&(this.defaultSection==="Scouting"&&this.selectedSeason(this.currentSeasonId),this.changeTabsGeneral(this.defaultSection))},async created(){try{const e=cl.create({headers:{"Content-Type":"application/json"}});e.interceptors.request.use(r=>(delete r.headers.Authorization,r));const n=await e.get("https://golstats-microservices.s3.us-west-2.amazonaws.com/eligibles/elegibles.json",{headers:{"Content-Type":"application/json"}});this.elegibilidadArray=n.data,this.fVnationalities.add(138),this.fVnationalities.add(222),this.fVnationalities.add(163),this.fVnationalities.add(51),this.fVnationalities.add(226),this.fVnationalities.add(10),this.fVnationalities.add(223),this.fVnationalities.add(96),this.fVnationalities.add(171),this.fVnationalities.add(198),this.fVnationalities.add(105),this.fVnationalities.add(80),this.fVnationalities.add(29),this.fVnationalities.add(74),this.fVnationalities.add(216),this.fVnationalities.add(196),this.fVnationalities.add(64),this.fVnationalities.add(155),this.fVnationalities.add(156),this.fVnationalities.add(89),this.fVnationalities.add(106),this.fVnationalities.add(81),this.fVnationalities.add(233),this.fVnationalities.add(204)}catch(e){throw new Error(e)}}},kLt={ref:"myDivRefTopsFull"},CLt={key:0,class:"overlay-loading"},SLt=[t.createElementVNode("div",{class:"overlay-loading__spinner"},[t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/balon_liga.png",alt:""})],-1),t.createElementVNode("div",{class:"overlay-loading__text"},"Loading...",-1)],TLt=[t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_close.png",style:{width:"10px"}},null,-1)],ELt={key:0,class:"cont-leyemd-multipleleagues"},ALt=t.createElementVNode("img",{class:"img-leyemd-multipleleagues",src:"http://golstatsimages.blob.core.windows.net/images-library/icn-multiples-ligas.png"},null,-1),MLt={key:0,style:{"margin-left":"10px"}},ILt=t.createElementVNode("span",null,"Tipo de Jugada",-1),NLt=t.createElementVNode("span",null,"Filtro GolStats",-1),BLt={key:3,style:{width:"100%",height:"295px"}};function PLt(e,n,r,I,F,h){t.resolveComponent("GSCTournamentSelect"),t.resolveComponent("GSCSeasonSelect");const m=t.resolveComponent("GscSwitchComponent"),a=t.resolveComponent("GSCFilterperteam"),v=t.resolveComponent("GSCFilters"),g=t.resolveComponent("GSCLabel"),i=t.resolveComponent("GSCTopCategory"),_=t.resolveComponent("GSCTableHeader"),b=t.resolveComponent("GSCRowTable"),c=t.resolveComponent("GSCExpandedInfo");return t.openBlock(),t.createElementBlock("div",kLt,[F.loadingActive?(t.openBlock(),t.createElementBlock("div",CLt,SLt)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.templateLosMejoresClass)},[t.createElementVNode("section",{class:t.normalizeClass(e.containerSectionClass),id:"container-section"},[t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.comdescubreVideosClass)},[t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.menuSectionParentHeaderClass)},[t.createCommentVNode("",!0),t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.topFiltersParentClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.topFiltersClass),id:"top-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamBarParent)},[F.optionSelected!="Scouting"&&F.optionSelected!="Equipos"?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamBar),id:"team-bar"},[t.createVNode(a,{data:F.teams,"team-id":r.teamId,"background-color":"#172531","contain-border-radius":"8px",onClickTeam:h.clickTeam,onClickAll:h.clickAll},null,8,["data","team-id","onClickTeam","onClickAll"])],2)):t.createCommentVNode("",!0),t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerFilters),id:"container-filters",style:t.normalizeStyle(F.showfiltersPc?"":I.elementSize.width>760?"display: none;":"")},[t.createElementVNode("div",{class:t.normalizeClass(e.menuSectionClass),id:"menu-section"},[I.elementSize.width>760&&F.optionSelected!="Scouting"?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.closeFiltersPc),onClick:n[1]||(n[1]=(...s)=>h.clickCloseFilters&&h.clickCloseFilters(...s))},TLt,2)):t.createCommentVNode("",!0),F.optionSelected!=="Scouting"?(t.openBlock(),t.createBlock(m,{key:1,type:2,buttons:["Todas las jugadas","Predeterminados"],"font-family":"Poppins-Regular","selected-option":F.optionSelectedSubmenu,"font-size":e.sizeTabsFontMS,width:e.sizeTabsMS,arrow:!1,borderWidth:"1px","background-option-active":"#172531",background:"#172531",height:"28px",onInput:h.changeTabsSubmenu},null,8,["selected-option","font-size","width","onInput"])):t.createCommentVNode("",!0)],2),t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnCloseFilters),style:t.normalizeStyle(F.optionSelected==="Scouting"?"margin-top: 4%; margin-left: 1%":""),onClick:n[3]||(n[3]=(...s)=>h.openMenuFilters&&h.openMenuFilters(...s))},null,6),[[t.vShow,I.elementSize.width<760&&F.openMenuMobil]]),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(e.containerMenuClass),id:"container-menu"},[F.optionSelectedSubmenu=="Todas las jugadas"&&F.optionSelected!="Scouting"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[I.elementSize.width>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.withDirectives(t.createVNode(v,t.mergeProps({"button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.PLAYS,"show-badge-on-filter-full":!1,"onUpdate:filters":h.onFiltersPlays,filters:F.categoriesPlaysTypes,onApply:h.applyFiltersBtn}),null,16,["button-filter-props","filter-type","onUpdate:filters","filters","onApply"]),[[t.vShow,!F.showFullTable]]),(t.openBlock(),t.createBlock(v,t.mergeProps({"button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{key:F.updateFilterField,"filter-type":F.filtersTypes.FIELD,"show-badge-on-filter-full":!1,"onUpdate:filters":h.onFiltersField,filters:F.fVzone}),null,16,["button-filter-props","filter-type","onUpdate:filters","filters"])),t.createVNode(v,t.mergeProps({"button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.DETAILS,"show-badge-on-filter-full":!1,"onUpdate:filters":h.onFiltersDetails,filters:F.detailsObject}),null,16,["button-filter-props","filter-type","onUpdate:filters","filters"]),F.optionSelected==="Jugadores"?(t.openBlock(),t.createBlock(v,t.mergeProps({key:0,ref:"personalDataFilterPlayers","button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.PERSONAL_DATA,"show-badge-on-filter-full":!1,season:{id:r.seasonActive,tournamentId:F.tournamentSelectedObj.value},token:F.token,"onUpdate:filters":h.onFiltersData}),null,16,["button-filter-props","filter-type","season","token","onUpdate:filters"])):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),F.optionSelected=="Scouting"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[I.elementSize.width>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(t.openBlock(),t.createBlock(v,t.mergeProps({"button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.TOURNAMENTS,"show-badge-on-filter-full":!1,filters:F.tournamentsToFilter,key:F.keyTournamentValue,"onUpdate:filters":h.onFiltersTournaments}),null,16,["button-filter-props","filter-type","filters","onUpdate:filters"])),t.createVNode(v,t.mergeProps({"button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.PERSONAL_DATA,"show-badge-on-filter-full":!1,season:{id:F.filterScounting.seasonId,tournamentId:F.filterScounting.tournaments[0]},ref:"personalDataFilter","onUpdate:filters":h.onFiltersPersonalData}),null,16,["button-filter-props","filter-type","season","onUpdate:filters"]),t.createVNode(v,t.mergeProps({"button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.UNIVERSE,"show-badge-on-filter-full":!1,filters:F.universeData,"onUpdate:filters":h.onFiltersUniverse}),null,16,["button-filter-props","filter-type","filters","onUpdate:filters"]),t.createVNode(v,t.mergeProps({"button-filter-props":h.filterButtonProps},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.PRODUCTIVITY,"show-badge-on-filter-full":!1,"onUpdate:filters":h.onFiltersProductivity,filters:F.detaildProductivityCategories}),null,16,["button-filter-props","filter-type","onUpdate:filters","filters"])],64)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.BtnSearchScountingcom),onClick:n[4]||(n[4]=(...s)=>h.getScoutingData&&h.getScoutingData(...s))},"Buscar",2)],64)):t.createCommentVNode("",!0),F.optionSelectedSubmenu=="Predeterminados"&&F.optionSelected!="Scouting"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[(t.openBlock(),t.createBlock(v,t.mergeProps({"button-filter-props":h.filterButtonProps,modalHeight:"300px"},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModePropsTypePlays,{"filter-type":F.filtersTypes.PLAYS_TYPES,"show-badge-on-filter-full":!1,key:F.updateFilterPlaytypesGolstats,"onUpdate:filters":h.onFiltersPlaysTypes,filters:F.categoriesDefault}),null,16,["button-filter-props","filter-type","onUpdate:filters","filters"])),(t.openBlock(),t.createBlock(v,t.mergeProps({"button-filter-props":h.filterButtonProps,modalHeight:"300px"},I.elementSize.width<420?F.expansionPanelModePropsMobil270:I.elementSize.width<760?F.expansionPanelModePropsMobil:F.expansionPanelModeProps,{"filter-type":F.filtersTypes.GOLSTATS,"show-badge-on-filter-full":!1,key:F.updateFilterGolstats,"onUpdate:filters":h.onFiltersGolStats,filters:h.filterGolstats}),null,16,["button-filter-props","filter-type","onUpdate:filters","filters"]))],64)):t.createCommentVNode("",!0)],2),[[t.vShow,I.elementSize.width>760||F.openMenuMobil]]),F.optionSelected=="Scouting"?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.teamBar),id:"team-bar"},[F.filterScounting.tournaments.length>1&&F.rowScoutingData.length>0?(t.openBlock(),t.createElementBlock("div",ELt,[ALt,t.createElementVNode("div",{class:t.normalizeClass(e.comextleyemdmultipleleaguesClass)}," El filtro por equipos solo se pude utilizar cuando se tiene maximo 1 liga seleccionada ",2)])):(t.openBlock(),t.createBlock(a,{data:F.teamsscouting,"team-id":F.teamselectrec,"background-color":"#172531","contain-border-radius":"8px",key:F.updateFilterTeamsScouting,onClickTeam:h.clickTeamScouting,onClickAll:h.clickAllAll},null,8,["data","team-id","onClickTeam","onClickAll"]))],2)):t.createCommentVNode("",!0)],6)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.containerTheBestClass),id:"container-the-best"},[t.createElementVNode("div",{class:t.normalizeClass(e.titleSectionClass)},[F.optionSelectedSubmenu!="Predeterminados"?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.commejoresJugadoresClass)},[F.arrayFiltersPlays.length>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[F.optionSelected!="Scouting"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Mejores jugadores: ")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Jugadores más productivos: ")],64))],64)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),F.optionSelected!="Scouting"&&F.optionSelectedSubmenu!="Predeterminados"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[F.showFullTable?(t.openBlock(),t.createElementBlock("div",MLt,[t.createVNode(g,{"text-value":"Categoría - "+F.categoryName+" ","font-size":"11px","font-color":"rgba(255, 255, 255, 0.7)",onClickClose:h.deleteCategoryFilter,icon:"https://az755631.vo.msecnd.net/todoelfut/icn_close.png","icon-size":"6px",height:"20px"},null,8,["text-value","onClickClose"])])):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(F.arrayFiltersPlays,(s,o)=>(t.openBlock(),t.createElementBlock("div",{key:o,style:{"margin-left":"10px"}},[t.createVNode(g,{"text-value":s.name+" ","font-size":"11px","font-color":"rgba(255, 255, 255, 0.7)",onClickClose:h.deleteLabelFilter,id:s.type,icon:"https://az755631.vo.msecnd.net/todoelfut/icn_close.png","icon-size":"6px",height:I.elementSize.width<768?"auto":"20px"},null,8,["text-value","onClickClose","id","height"])]))),128)),F.rowScoutingData.length!=0||F.optionSelectedSubmenu=="Predeterminados"&&F.arrayFiltersPlays.findIndex(s=>s.type==="onFiltersPredefined")!==-1?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.comquitarFiltrosClass),onClick:n[5]||(n[5]=(...s)=>h.onClickDeleteFilter&&h.onClickDeleteFilter(...s))}," Quitar filtros ",2)):t.createCommentVNode("",!0),t.createCommentVNode("",!0)],2),r.seasonActive!=0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.containerTablesClass),id:"container-tables",style:t.normalizeStyle(F.showFullTable?"gap: 0px!important;":"")},[F.optionSelected!=="Scouting"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[F.optionSelectedSubmenu=="Todas las jugadas"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(F.categoriesDefault,(s,o)=>(t.openBlock(),t.createElementBlock("div",{key:o,style:t.normalizeStyle(!F.showOnlyCategories&&F.arrayCategoryFilter.includes(s.id)?"":"display:none !important;")},[t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(e.toniKroosWrapperClass)},[(t.openBlock(),t.createBlock(i,{"is-widget":r.isWidget,"team-widget":r.teamWidget,"time-live-comparative-avanced":r.timeLiveComparativeAvanced,"is-team":F.isTeam,onMore:h.onShowFullTable,"border-width":0,onIntervalidtops:h.intervalidtops,"can-play-videos":r.canPlayVideos,"border-radius":"12px","game-id":r.gameId,game:r.game,typeData:r.typeData,"filters-prop":h.filterChange,category:s.id,"type-table":F.typeTable,categoryName:s.name,season:r.seasonActive,"filter-team":r.teamselect,key:F.updateTables,onClickprofile:h.clickprofile,onSetopenmedia:h.setOpenMedia,onComponentLoaded:e.onComponentLoaded},null,8,["is-widget","team-widget","time-live-comparative-avanced","is-team","onMore","onIntervalidtops","can-play-videos","game-id","game","typeData","filters-prop","category","type-table","categoryName","season","filter-team","onClickprofile","onSetopenmedia","onComponentLoaded"]))],2),[[t.vShow,!F.showOnlyCategories&&F.arrayCategoryFilter.includes(s.id)&&!F.showFullTable]])],4))),128)),F.showFullTable?(t.openBlock(),t.createBlock(i,{"time-live-comparative-avanced":r.timeLiveComparativeAvanced,"is-team":F.isTeam,"is-widget":r.isWidget,"team-widget":r.teamWidget,"border-width":0,"border-radius":"12px","game-id":r.gameId,onIntervalidtops:h.intervalidtops,game:r.game,typeData:r.typeData,category:F.showFullCategory,type:1,"type-table":F.typeTable,categoryName:"","filters-prop":h.filterChange,season:r.seasonActive,"filter-team":r.teamselect,key:F.updateTablesfull,onClickprofile:h.clickprofile,onSetopenmedia:h.setOpenMedia},null,8,["time-live-comparative-avanced","is-team","is-widget","team-widget","game-id","onIntervalidtops","game","typeData","category","type-table","filters-prop","season","filter-team","onClickprofile","onSetopenmedia"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[F.categoryPredefinedActive?(t.openBlock(),t.createBlock(i,{"is-widget":r.isWidget,"team-widget":r.teamWidget,"is-team":F.isTeam,"time-live-comparative-avanced":r.timeLiveComparativeAvanced,onIntervalidtops:h.intervalidtops,"border-width":0,"border-radius":"12px","can-play-videos":r.canPlayVideos,"game-id":r.gameId,game:r.game,typeData:r.typeData,category:F.categoryPredefined,type:1,"type-table":F.typeTable,categoryName:"","filters-prop":h.filterChangePredefined,season:r.seasonActive,"filter-team":r.teamselect,key:F.updateTables,onClickprofile:h.clickprofile,onSetopenmedia:h.setOpenMedia},null,8,["is-widget","team-widget","is-team","time-live-comparative-avanced","onIntervalidtops","can-play-videos","game-id","game","typeData","category","type-table","filters-prop","season","filter-team","onClickprofile","onSetopenmedia"])):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.containerPredefinedcom)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.titleContainerPredefinedcom)},[F.arrayFiltersPlays.length==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("No has seleccionado ningún filtro")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("No existen resultados")],64))],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.subtitleContainerPredefinedcom)},[F.arrayFiltersPlays.length==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Para visualizar resultados selecciona un")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("No existen resultados con los filtros")],64))],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.subtitleContainerPredefinedcom)},[F.arrayFiltersPlays.length==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[ILt,t.createTextVNode(" y un "),NLt,t.createTextVNode(" en la")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("que has seleccionado.")],64))],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.subtitleContainerPredefinedcom)},[F.arrayFiltersPlays.length==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("parte superior.")],64)):t.createCommentVNode("",!0)],2)],2))],64))],64)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.containerPredefinedScountingcom),style:t.normalizeStyle(F.rowScoutingData.length>0?"height: auto;":"")},[F.loadingActive?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[F.rowScoutingData.length>0?(t.openBlock(),t.createBlock(_,{key:0,background:"#183143",type:2})):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(F.rowScoutingData,(s,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:o},[F.teamselectrec==0||F.teamselectrec==s.team_id?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(b,{type:2,"is-expanded":F.playerexpand==s.id&&F.expand,onMediadata:h.setMediaData,data:{position:s.position,player_name:s.player_name,player_photo:s.player_photo,total:s.total,id:s.id,player_age:s.player_age,team_abrev:s.team_abrev,team_logo:s.team_logo,player_position:F.positions[s.player_position-1].fullname,player_country_flag:s.player_country_flag,player_games:s.player_games,player_min:s.player_min,league_name:s.league_name,seasons:s.seasons,season_id:s.season_id},height:"71px",background:o%2===0?r.backgroundOdd:r.backgroundEven,onExpand:h.clickexpand},null,8,["is-expanded","onMediadata","data","background","onExpand"]),F.expand&&F.playerexpand==s.id?(t.openBlock(),t.createBlock(c,{key:0,type:0,"view-effectiveness":!1,viewGoals:!1,additionalClass:"fullTable",data:{teams:s.team_name,age:s.player_age,dataofbirth:s.date,nationality:s.nationality_name,countryFlag:s.player_country_flag,position:F.positions[s.player_position-1].name,games:s.player_games,min:s.player_min,goals:s.total,effectiveness:"-",category:"total",id:s.id},onViewprofile:l=>h.viewprofile(l,s.season_id,s.team_id),background:o%2===0?r.backgroundOdd:r.backgroundEven},null,8,["data","onViewprofile","background"])):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64))),128))],64)),F.rowScoutingData.length==0&&!F.loadingActive?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.btnLeyendTxtcom)},' Haz click en "Buscar" para aplicar tus filtros ',2)):t.createCommentVNode("",!0),F.rowScoutingData.length==0&&!F.loadingActive?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.containerScountingBtncom)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDeleteAplicacom),onClick:n[6]||(n[6]=(...s)=>h.onClickDeleteFilter&&h.onClickDeleteFilter(...s))}," Eliminar filtros aplicados ",2),F.rowScoutingData.length==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.SearchBtnBarcom),onClick:n[7]||(n[7]=(...s)=>h.getScoutingData&&h.getScoutingData(...s))}," Buscar ",2)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),F.loadingActive?(t.openBlock(),t.createElementBlock("div",BLt)):t.createCommentVNode("",!0)],6))],6)):t.createCommentVNode("",!0)],2)],2)],2)],2)],512)}const OLt=Hr(wLt,[["render",PLt],["__cssModules",{$style:bLt}]]),Rxa="";let Iq=null;const LLt={components:{GSCDatosGSMain:_Bt,GSCCheckbox:q0,GSCRadioToggle:pH,GSCTopFull:OLt},props:{isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},timeLiveComparativeBestPlayers:{type:Number,default:6e4},timeLiveComparativeAvanced:{type:Number,default:6e4},tournamentSelected:{type:Object,default:()=>({})},game:{type:Object,default:()=>{}},playVideosPrivileges:{type:Object,default:null},canPlayVideos:{type:Boolean,default:!1}},data(){return{updateHomeCheck:0,updateAwayCheck:0,activeSection:"destacados",widthSection:0,teamactive:0,update:0,homeTeamCheck:!0,awayTeamCheck:!0,typeViewData:1}},watch:{game:{deep:!0,immediate:!0,handler(e){e&&(e.game_status==1||e.is_live==1||e.game_status==0?this.typeViewData=1:this.typeViewData=0),this.update+=1}}},computed:{},methods:{preventChange(e){e.preventDefault(),this.homeTeamCheck=!0},intervalidgs(e){this.$emit("intervalidgs",e)},onOpenProfileTeam(e){this.$emit("openProfileTeam",e)},intervalidtops(e){this.$emit("intervalidtops",e)},onOpenProfilePlayer(e){this.$emit("onOpenProfile",e)},ChangeRadio(e){typeof e=="string"&&(e=="Este partido"?this.typeViewData=1:this.typeViewData=0)},onCheckInactiveHome(e){e?(this.homeTeamCheck=!0,this.awayTeamCheck?this.teamactive=0:this.teamactive=this.game.homeTeam.team_id):this.awayTeamCheck?(this.homeTeamCheck=!1,this.teamactive=this.game.awayTeam.team_id):(this.updateHomeCheck+=1,this.homeTeamCheck=!0,this.teamactive=this.game.homeTeam.team_id)},onCheckInactiveAway(e){e?(this.awayTeamCheck=!0,this.homeTeamCheck?this.teamactive=0:this.teamactive=this.game.awayTeam.team_id):this.homeTeamCheck?(this.awayTeamCheck=!1,this.teamactive=this.game.homeTeam.team_id):(this.updateAwayCheck+=1,this.teamactive=this.game.awayTeam.team_id,this.awayTeamCheck=!0)},setUpResizeObserver(){if(window.ResizeObserver)Iq=new ResizeObserver(()=>{this.widthSection=this.$refs.comparative.clientWidth}),Iq.observe(this.$refs.comparative);else throw new Error("Resize observer not supported!")},clickOptSection(e){this.activeSection=e},openmedia(e){this.typeViewData==1?(e.gameIds=[this.game.gameId],this.$emit("openmedia",e)):this.$emit("openmedia",e)}},async mounted(){setTimeout(()=>{this.setUpResizeObserver()},1e3)}},FLt=e=>(t.pushScopeId("data-v-aa642141"),e=e(),t.popScopeId(),e),DLt={class:"container-comparative",ref:"comparative"},zLt={class:"container-btn"},VLt={class:"items-container-btn"},RLt={class:"container-sections"},$Lt={key:0,class:"container-teams-menu"},jLt={class:"container-team-menu-home"},ULt=["src"],GLt=FLt(()=>t.createElementVNode("div",{class:"container-team-menu-separator"},null,-1)),HLt={class:"container-team-menu-away"},WLt=["src"],qLt={key:1,class:"container-switch-menu"},YLt={class:"container-leyend"},XLt={class:"container-tops"};function JLt(e,n,r,I,F,h){const m=t.resolveComponent("GSCDatosGSMain"),a=t.resolveComponent("GSCCheckbox"),v=t.resolveComponent("GSCRadioToggle"),g=t.resolveComponent("GSCTopFull");return t.openBlock(),t.createElementBlock("div",DLt,[t.createElementVNode("div",zLt,[t.createElementVNode("div",VLt,[t.createElementVNode("div",{class:t.normalizeClass([F.widthSection>480?"btn-destacados":"btn-destacados-movil",F.activeSection=="destacados"?"active":""]),onClick:n[0]||(n[0]=i=>h.clickOptSection("destacados"))},[r.game.status==1||r.game.is_live==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[r.tournamentSelected.is_female==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Jugadoras destacadas")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Jugadores destacados")],64))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("General")],64))],2),t.createElementVNode("div",{class:t.normalizeClass([F.widthSection>480?"btn-avanced":"btn-avanced-movil",F.activeSection=="avanzado"?"active":""]),onClick:n[1]||(n[1]=i=>h.clickOptSection("avanzado"))},"Avanzado",2)])]),t.createElementVNode("div",RLt,[F.activeSection=="destacados"?(t.openBlock(),t.createBlock(m,{key:0,"is-widget":r.isWidget,"team-widget":r.teamWidget,"tournament-selected":r.tournamentSelected,"time-live-comparative-best-players":r.timeLiveComparativeBestPlayers,game:r.game,"play-videos-privileges":r.playVideosPrivileges,onOpenmedia:h.openmedia,onIntervalidgs:h.intervalidgs},null,8,["is-widget","team-widget","tournament-selected","time-live-comparative-best-players","game","play-videos-privileges","onOpenmedia","onIntervalidgs"])):t.createCommentVNode("",!0),F.activeSection=="avanzado"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[r.isWidget?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",$Lt,[t.createElementVNode("div",jLt,[(t.openBlock(),t.createBlock(a,{fontFamily:"Poppins-Regular","onUpdate:modelValue":h.onCheckInactiveHome,"label-color":"#8c9399",width:"25",key:F.updateHomeCheck,"model-value":F.homeTeamCheck,height:"25",style:{"margin-top":"-4px"}},null,8,["onUpdate:modelValue","model-value"])),t.createElementVNode("img",{class:"img-teams-selector-home",width:"23",src:r.game.homeTeam.logo},null,8,ULt),t.createElementVNode("div",{class:t.normalizeClass(F.widthSection>390?"label-team-home":"label-team-home-movil")},t.toDisplayString(r.game.homeTeam.colloquial_name),3)]),GLt,t.createElementVNode("div",HLt,[t.createElementVNode("div",{class:t.normalizeClass(F.widthSection>390?"label-team-away":"label-team-away-movil")},t.toDisplayString(r.game.awayTeam.colloquial_name),3),t.createElementVNode("img",{class:"img-teams-selector-away",width:"23",src:r.game.awayTeam.logo},null,8,WLt),(t.openBlock(),t.createBlock(a,{fontFamily:"Poppins-Regular","onUpdate:modelValue":h.onCheckInactiveAway,"label-color":"#8c9399",width:"25",key:F.updateAwayCheck,"model-value":F.awayTeamCheck,height:"25",style:{"margin-top":"-4px"}},null,8,["onUpdate:modelValue","model-value"]))])])),r.game.status==1?(t.openBlock(),t.createElementBlock("div",qLt,[t.createVNode(v,{height:"20px",width:"41px","background-color":"none","width-circle":"15px","height-circle":"15px","circle-color-switch":"#CBEE6B","font-color":"#ffffff","value-default":F.typeViewData==1?"Este partido":"Acumulado",textOptionLeft:"Este partido",textOptionRight:"Acumulado",onChange:h.ChangeRadio},null,8,["value-default","onChange"])])):t.createCommentVNode("",!0),t.createElementVNode("div",YLt,[F.typeViewData==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Jugadas destacadas durante este partido ")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[r.game.status==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Jugadas destacadas durante el torneo ")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[r.tournamentSelected.is_female==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Jugadoras destacadas durante lo que va del torneo")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Jugadores destacados durante lo que va del torneo")],64))],64))],64))]),t.createElementVNode("div",XLt,[t.createVNode(g,{"is-widget":r.isWidget,"team-widget":r.teamWidget,"time-live-comparative-avanced":r.timeLiveComparativeAvanced,"can-play-videos":r.canPlayVideos,onOpenmedia:h.openmedia,onOpenProfileTeam:h.onOpenProfileTeam,onIntervalidtops:h.intervalidtops,onOpenProfilePlayer:h.onOpenProfilePlayer,"type-data":F.typeViewData,"game-id":r.game.gameId,game:r.game,"current-season-id":r.game.seasonId,"team-id":F.teamactive,"season-active":r.game.seasonId,teamselect:F.teamactive},null,8,["is-widget","team-widget","time-live-comparative-avanced","can-play-videos","onOpenmedia","onOpenProfileTeam","onIntervalidtops","onOpenProfilePlayer","type-data","game-id","game","current-season-id","team-id","season-active","teamselect"])])],64)):t.createCommentVNode("",!0)])],512)}const ZLt=Hr(LLt,[["render",JLt],["__scopeId","data-v-aa642141"]]);function Nq(e,n){return function(){return e.apply(n,arguments)}}const{toString:KLt}=Object.prototype,{getPrototypeOf:wT}=Object,n5=(e=>n=>{const r=KLt.call(n);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),wh=e=>(e=e.toLowerCase(),n=>n5(n)===e),r5=e=>n=>typeof n===e,{isArray:K1}=Array,gv=r5("undefined");function QLt(e){return e!==null&&!gv(e)&&e.constructor!==null&&!gv(e.constructor)&&Yd(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Bq=wh("ArrayBuffer");function eFt(e){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(e):n=e&&e.buffer&&Bq(e.buffer),n}const tFt=r5("string"),Yd=r5("function"),Pq=r5("number"),i5=e=>e!==null&&typeof e=="object",aFt=e=>e===!0||e===!1,o5=e=>{if(n5(e)!=="object")return!1;const n=wT(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},nFt=wh("Date"),rFt=wh("File"),iFt=wh("Blob"),oFt=wh("FileList"),sFt=e=>i5(e)&&Yd(e.pipe),lFt=e=>{let n;return e&&(typeof FormData=="function"&&e instanceof FormData||Yd(e.append)&&((n=n5(e))==="formdata"||n==="object"&&Yd(e.toString)&&e.toString()==="[object FormData]"))},cFt=wh("URLSearchParams"),[dFt,uFt,hFt,pFt]=["ReadableStream","Request","Response","Headers"].map(wh),fFt=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function yv(e,n,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let I,F;if(typeof e!="object"&&(e=[e]),K1(e))for(I=0,F=e.length;I<F;I++)n.call(null,e[I],I,e);else{const h=r?Object.getOwnPropertyNames(e):Object.keys(e),m=h.length;let a;for(I=0;I<m;I++)a=h[I],n.call(null,e[a],a,e)}}function Oq(e,n){n=n.toLowerCase();const r=Object.keys(e);let I=r.length,F;for(;I-- >0;)if(F=r[I],n===F.toLowerCase())return F;return null}const Bm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Lq=e=>!gv(e)&&e!==Bm;function kT(){const{caseless:e}=Lq(this)&&this||{},n={},r=(I,F)=>{const h=e&&Oq(n,F)||F;o5(n[h])&&o5(I)?n[h]=kT(n[h],I):o5(I)?n[h]=kT({},I):K1(I)?n[h]=I.slice():n[h]=I};for(let I=0,F=arguments.length;I<F;I++)arguments[I]&&yv(arguments[I],r);return n}const mFt=(e,n,r,{allOwnKeys:I}={})=>(yv(n,(F,h)=>{r&&Yd(F)?e[h]=Nq(F,r):e[h]=F},{allOwnKeys:I}),e),gFt=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),yFt=(e,n,r,I)=>{e.prototype=Object.create(n.prototype,I),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:n.prototype}),r&&Object.assign(e.prototype,r)},vFt=(e,n,r,I)=>{let F,h,m;const a={};if(n=n||{},e==null)return n;do{for(F=Object.getOwnPropertyNames(e),h=F.length;h-- >0;)m=F[h],(!I||I(m,e,n))&&!a[m]&&(n[m]=e[m],a[m]=!0);e=r!==!1&&wT(e)}while(e&&(!r||r(e,n))&&e!==Object.prototype);return n},_Ft=(e,n,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=n.length;const I=e.indexOf(n,r);return I!==-1&&I===r},bFt=e=>{if(!e)return null;if(K1(e))return e;let n=e.length;if(!Pq(n))return null;const r=new Array(n);for(;n-- >0;)r[n]=e[n];return r},xFt=(e=>n=>e&&n instanceof e)(typeof Uint8Array<"u"&&wT(Uint8Array)),wFt=(e,n)=>{const r=(e&&e[Symbol.iterator]).call(e);let I;for(;(I=r.next())&&!I.done;){const F=I.value;n.call(e,F[0],F[1])}},kFt=(e,n)=>{let r;const I=[];for(;(r=e.exec(n))!==null;)I.push(r);return I},CFt=wh("HTMLFormElement"),SFt=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,I){return r.toUpperCase()+I}),Fq=(({hasOwnProperty:e})=>(n,r)=>e.call(n,r))(Object.prototype),TFt=wh("RegExp"),Dq=(e,n)=>{const r=Object.getOwnPropertyDescriptors(e),I={};yv(r,(F,h)=>{let m;(m=n(F,h,e))!==!1&&(I[h]=m||F)}),Object.defineProperties(e,I)},EFt=e=>{Dq(e,(n,r)=>{if(Yd(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const I=e[r];if(Yd(I)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},AFt=(e,n)=>{const r={},I=F=>{F.forEach(h=>{r[h]=!0})};return K1(e)?I(e):I(String(e).split(n)),r},MFt=()=>{},IFt=(e,n)=>e!=null&&Number.isFinite(e=+e)?e:n,CT="abcdefghijklmnopqrstuvwxyz",zq="0123456789",Vq={DIGIT:zq,ALPHA:CT,ALPHA_DIGIT:CT+CT.toUpperCase()+zq},NFt=(e=16,n=Vq.ALPHA_DIGIT)=>{let r="";const{length:I}=n;for(;e--;)r+=n[Math.random()*I|0];return r};function BFt(e){return!!(e&&Yd(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const PFt=e=>{const n=new Array(10),r=(I,F)=>{if(i5(I)){if(n.indexOf(I)>=0)return;if(!("toJSON"in I)){n[F]=I;const h=K1(I)?[]:{};return yv(I,(m,a)=>{const v=r(m,F+1);!gv(v)&&(h[a]=v)}),n[F]=void 0,h}}return I};return r(e,0)},OFt=wh("AsyncFunction"),LFt=e=>e&&(i5(e)||Yd(e))&&Yd(e.then)&&Yd(e.catch),Rq=((e,n)=>e?setImmediate:n?((r,I)=>(Bm.addEventListener("message",({source:F,data:h})=>{F===Bm&&h===r&&I.length&&I.shift()()},!1),F=>{I.push(F),Bm.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Yd(Bm.postMessage)),FFt=typeof queueMicrotask<"u"?queueMicrotask.bind(Bm):typeof process<"u"&&process.nextTick||Rq,Wn={isArray:K1,isArrayBuffer:Bq,isBuffer:QLt,isFormData:lFt,isArrayBufferView:eFt,isString:tFt,isNumber:Pq,isBoolean:aFt,isObject:i5,isPlainObject:o5,isReadableStream:dFt,isRequest:uFt,isResponse:hFt,isHeaders:pFt,isUndefined:gv,isDate:nFt,isFile:rFt,isBlob:iFt,isRegExp:TFt,isFunction:Yd,isStream:sFt,isURLSearchParams:cFt,isTypedArray:xFt,isFileList:oFt,forEach:yv,merge:kT,extend:mFt,trim:fFt,stripBOM:gFt,inherits:yFt,toFlatObject:vFt,kindOf:n5,kindOfTest:wh,endsWith:_Ft,toArray:bFt,forEachEntry:wFt,matchAll:kFt,isHTMLForm:CFt,hasOwnProperty:Fq,hasOwnProp:Fq,reduceDescriptors:Dq,freezeMethods:EFt,toObjectSet:AFt,toCamelCase:SFt,noop:MFt,toFiniteNumber:IFt,findKey:Oq,global:Bm,isContextDefined:Lq,ALPHABET:Vq,generateString:NFt,isSpecCompliantForm:BFt,toJSONObject:PFt,isAsyncFn:OFt,isThenable:LFt,setImmediate:Rq,asap:FFt};function Qi(e,n,r,I,F){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",n&&(this.code=n),r&&(this.config=r),I&&(this.request=I),F&&(this.response=F)}Wn.inherits(Qi,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Wn.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const $q=Qi.prototype,jq={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{jq[e]={value:e}}),Object.defineProperties(Qi,jq),Object.defineProperty($q,"isAxiosError",{value:!0}),Qi.from=(e,n,r,I,F,h)=>{const m=Object.create($q);return Wn.toFlatObject(e,m,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),Qi.call(m,e.message,n,r,I,F),m.cause=e,m.name=e.name,h&&Object.assign(m,h),m};const DFt=null;function ST(e){return Wn.isPlainObject(e)||Wn.isArray(e)}function Uq(e){return Wn.endsWith(e,"[]")?e.slice(0,-2):e}function Gq(e,n,r){return e?e.concat(n).map(function(I,F){return I=Uq(I),!r&&F?"["+I+"]":I}).join(r?".":""):n}function zFt(e){return Wn.isArray(e)&&!e.some(ST)}const VFt=Wn.toFlatObject(Wn,{},null,function(e){return/^is[A-Z]/.test(e)});function s5(e,n,r){if(!Wn.isObject(e))throw new TypeError("target must be an object");n=n||new FormData,r=Wn.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(c,s){return!Wn.isUndefined(s[c])});const I=r.metaTokens,F=r.visitor||g,h=r.dots,m=r.indexes,a=(r.Blob||typeof Blob<"u"&&Blob)&&Wn.isSpecCompliantForm(n);if(!Wn.isFunction(F))throw new TypeError("visitor must be a function");function v(c){if(c===null)return"";if(Wn.isDate(c))return c.toISOString();if(!a&&Wn.isBlob(c))throw new Qi("Blob is not supported. Use a Buffer instead.");return Wn.isArrayBuffer(c)||Wn.isTypedArray(c)?a&&typeof Blob=="function"?new Blob([c]):Buffer.from(c):c}function g(c,s,o){let l=c;if(c&&!o&&typeof c=="object"){if(Wn.endsWith(s,"{}"))s=I?s:s.slice(0,-2),c=JSON.stringify(c);else if(Wn.isArray(c)&&zFt(c)||(Wn.isFileList(c)||Wn.endsWith(s,"[]"))&&(l=Wn.toArray(c)))return s=Uq(s),l.forEach(function(d,u){!(Wn.isUndefined(d)||d===null)&&n.append(m===!0?Gq([s],u,h):m===null?s:s+"[]",v(d))}),!1}return ST(c)?!0:(n.append(Gq(o,s,h),v(c)),!1)}const i=[],_=Object.assign(VFt,{defaultVisitor:g,convertValue:v,isVisitable:ST});function b(c,s){if(!Wn.isUndefined(c)){if(i.indexOf(c)!==-1)throw Error("Circular reference detected in "+s.join("."));i.push(c),Wn.forEach(c,function(o,l){(!(Wn.isUndefined(o)||o===null)&&F.call(n,o,Wn.isString(l)?l.trim():l,s,_))===!0&&b(o,s?s.concat(l):[l])}),i.pop()}}if(!Wn.isObject(e))throw new TypeError("data must be an object");return b(e),n}function Hq(e){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return n[r]})}function TT(e,n){this._pairs=[],e&&s5(e,this,n)}const Wq=TT.prototype;Wq.append=function(e,n){this._pairs.push([e,n])},Wq.toString=function(e){const n=e?function(r){return e.call(this,r,Hq)}:Hq;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function RFt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function qq(e,n,r){if(!n)return e;const I=r&&r.encode||RFt,F=r&&r.serialize;let h;if(F?h=F(n,r):h=Wn.isURLSearchParams(n)?n.toString():new TT(n,r).toString(I),h){const m=e.indexOf("#");m!==-1&&(e=e.slice(0,m)),e+=(e.indexOf("?")===-1?"?":"&")+h}return e}class Yq{constructor(){this.handlers=[]}use(n,r,I){return this.handlers.push({fulfilled:n,rejected:r,synchronous:I?I.synchronous:!1,runWhen:I?I.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){Wn.forEach(this.handlers,function(r){r!==null&&n(r)})}}const Xq={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$Ft=typeof URLSearchParams<"u"?URLSearchParams:TT,jFt=typeof FormData<"u"?FormData:null,UFt=typeof Blob<"u"?Blob:null,GFt={isBrowser:!0,classes:{URLSearchParams:$Ft,FormData:jFt,Blob:UFt},protocols:["http","https","file","blob","url","data"]},ET=typeof window<"u"&&typeof document<"u",HFt=(e=>ET&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),WFt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",qFt=ET&&window.location.href||"http://localhost",YFt=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ET,hasStandardBrowserEnv:HFt,hasStandardBrowserWebWorkerEnv:WFt,origin:qFt},Symbol.toStringTag,{value:"Module"})),kh={...YFt,...GFt};function XFt(e,n){return s5(e,new kh.classes.URLSearchParams,Object.assign({visitor:function(r,I,F,h){return kh.isNode&&Wn.isBuffer(r)?(this.append(I,r.toString("base64")),!1):h.defaultVisitor.apply(this,arguments)}},n))}function JFt(e){return Wn.matchAll(/\w+|\[(\w*)]/g,e).map(n=>n[0]==="[]"?"":n[1]||n[0])}function ZFt(e){const n={},r=Object.keys(e);let I;const F=r.length;let h;for(I=0;I<F;I++)h=r[I],n[h]=e[h];return n}function Jq(e){function n(r,I,F,h){let m=r[h++];if(m==="__proto__")return!0;const a=Number.isFinite(+m),v=h>=r.length;return m=!m&&Wn.isArray(F)?F.length:m,v?(Wn.hasOwnProp(F,m)?F[m]=[F[m],I]:F[m]=I,!a):((!F[m]||!Wn.isObject(F[m]))&&(F[m]=[]),n(r,I,F[m],h)&&Wn.isArray(F[m])&&(F[m]=ZFt(F[m])),!a)}if(Wn.isFormData(e)&&Wn.isFunction(e.entries)){const r={};return Wn.forEachEntry(e,(I,F)=>{n(JFt(I),F,r,0)}),r}return null}function KFt(e,n,r){if(Wn.isString(e))try{return(n||JSON.parse)(e),Wn.trim(e)}catch(I){if(I.name!=="SyntaxError")throw I}return(r||JSON.stringify)(e)}const vv={transitional:Xq,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",I=r.indexOf("application/json")>-1,F=Wn.isObject(e);if(F&&Wn.isHTMLForm(e)&&(e=new FormData(e)),Wn.isFormData(e))return I?JSON.stringify(Jq(e)):e;if(Wn.isArrayBuffer(e)||Wn.isBuffer(e)||Wn.isStream(e)||Wn.isFile(e)||Wn.isBlob(e)||Wn.isReadableStream(e))return e;if(Wn.isArrayBufferView(e))return e.buffer;if(Wn.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let h;if(F){if(r.indexOf("application/x-www-form-urlencoded")>-1)return XFt(e,this.formSerializer).toString();if((h=Wn.isFileList(e))||r.indexOf("multipart/form-data")>-1){const m=this.env&&this.env.FormData;return s5(h?{"files[]":e}:e,m&&new m,this.formSerializer)}}return F||I?(n.setContentType("application/json",!1),KFt(e)):e}],transformResponse:[function(e){const n=this.transitional||vv.transitional,r=n&&n.forcedJSONParsing,I=this.responseType==="json";if(Wn.isResponse(e)||Wn.isReadableStream(e))return e;if(e&&Wn.isString(e)&&(r&&!this.responseType||I)){const F=!(n&&n.silentJSONParsing)&&I;try{return JSON.parse(e)}catch(h){if(F)throw h.name==="SyntaxError"?Qi.from(h,Qi.ERR_BAD_RESPONSE,this,null,this.response):h}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:kh.classes.FormData,Blob:kh.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Wn.forEach(["delete","get","head","post","put","patch"],e=>{vv.headers[e]={}});const QFt=Wn.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),eDt=e=>{const n={};let r,I,F;return e&&e.split(`
3580
3580
  `).forEach(function(h){F=h.indexOf(":"),r=h.substring(0,F).trim().toLowerCase(),I=h.substring(F+1).trim(),!(!r||n[r]&&QFt[r])&&(r==="set-cookie"?n[r]?n[r].push(I):n[r]=[I]:n[r]=n[r]?n[r]+", "+I:I)}),n},Zq=Symbol("internals");function _v(e){return e&&String(e).trim().toLowerCase()}function l5(e){return e===!1||e==null?e:Wn.isArray(e)?e.map(l5):String(e)}function tDt(e){const n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let I;for(;I=r.exec(e);)n[I[1]]=I[2];return n}const aDt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function AT(e,n,r,I,F){if(Wn.isFunction(I))return I.call(this,n,r);if(F&&(n=r),!!Wn.isString(n)){if(Wn.isString(I))return n.indexOf(I)!==-1;if(Wn.isRegExp(I))return I.test(n)}}function nDt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,r,I)=>r.toUpperCase()+I)}function rDt(e,n){const r=Wn.toCamelCase(" "+n);["get","set","has"].forEach(I=>{Object.defineProperty(e,I+r,{value:function(F,h,m){return this[I].call(this,n,F,h,m)},configurable:!0})})}class zd{constructor(n){n&&this.set(n)}set(n,r,I){const F=this;function h(a,v,g){const i=_v(v);if(!i)throw new Error("header name must be a non-empty string");const _=Wn.findKey(F,i);(!_||F[_]===void 0||g===!0||g===void 0&&F[_]!==!1)&&(F[_||v]=l5(a))}const m=(a,v)=>Wn.forEach(a,(g,i)=>h(g,i,v));if(Wn.isPlainObject(n)||n instanceof this.constructor)m(n,r);else if(Wn.isString(n)&&(n=n.trim())&&!aDt(n))m(eDt(n),r);else if(Wn.isHeaders(n))for(const[a,v]of n.entries())h(v,a,I);else n!=null&&h(r,n,I);return this}get(n,r){if(n=_v(n),n){const I=Wn.findKey(this,n);if(I){const F=this[I];if(!r)return F;if(r===!0)return tDt(F);if(Wn.isFunction(r))return r.call(this,F,I);if(Wn.isRegExp(r))return r.exec(F);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,r){if(n=_v(n),n){const I=Wn.findKey(this,n);return!!(I&&this[I]!==void 0&&(!r||AT(this,this[I],I,r)))}return!1}delete(n,r){const I=this;let F=!1;function h(m){if(m=_v(m),m){const a=Wn.findKey(I,m);a&&(!r||AT(I,I[a],a,r))&&(delete I[a],F=!0)}}return Wn.isArray(n)?n.forEach(h):h(n),F}clear(n){const r=Object.keys(this);let I=r.length,F=!1;for(;I--;){const h=r[I];(!n||AT(this,this[h],h,n,!0))&&(delete this[h],F=!0)}return F}normalize(n){const r=this,I={};return Wn.forEach(this,(F,h)=>{const m=Wn.findKey(I,h);if(m){r[m]=l5(F),delete r[h];return}const a=n?nDt(h):String(h).trim();a!==h&&delete r[h],r[a]=l5(F),I[a]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const r=Object.create(null);return Wn.forEach(this,(I,F)=>{I!=null&&I!==!1&&(r[F]=n&&Wn.isArray(I)?I.join(", "):I)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,r])=>n+": "+r).join(`
3581
3581
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...r){const I=new this(n);return r.forEach(F=>I.set(F)),I}static accessor(n){const r=(this[Zq]=this[Zq]={accessors:{}}).accessors,I=this.prototype;function F(h){const m=_v(h);r[m]||(rDt(I,h),r[m]=!0)}return Wn.isArray(n)?n.forEach(F):F(n),this}}zd.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Wn.reduceDescriptors(zd.prototype,({value:e},n)=>{let r=n[0].toUpperCase()+n.slice(1);return{get:()=>e,set(I){this[r]=I}}}),Wn.freezeMethods(zd);function MT(e,n){const r=this||vv,I=n||r,F=zd.from(I.headers);let h=I.data;return Wn.forEach(e,function(m){h=m.call(r,h,F.normalize(),n?n.status:void 0)}),F.normalize(),h}function Kq(e){return!!(e&&e.__CANCEL__)}function Q1(e,n,r){Qi.call(this,e??"canceled",Qi.ERR_CANCELED,n,r),this.name="CanceledError"}Wn.inherits(Q1,Qi,{__CANCEL__:!0});function Qq(e,n,r){const I=r.config.validateStatus;!r.status||!I||I(r.status)?e(r):n(new Qi("Request failed with status code "+r.status,[Qi.ERR_BAD_REQUEST,Qi.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function iDt(e){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""}function oDt(e,n){e=e||10;const r=new Array(e),I=new Array(e);let F=0,h=0,m;return n=n!==void 0?n:1e3,function(a){const v=Date.now(),g=I[h];m||(m=v),r[F]=a,I[F]=v;let i=h,_=0;for(;i!==F;)_+=r[i++],i=i%e;if(F=(F+1)%e,F===h&&(h=(h+1)%e),v-m<n)return;const b=g&&v-g;return b?Math.round(_*1e3/b):void 0}}function sDt(e,n){let r=0,I=1e3/n,F,h;const m=(a,v=Date.now())=>{r=v,F=null,h&&(clearTimeout(h),h=null),e.apply(null,a)};return[(...a)=>{const v=Date.now(),g=v-r;g>=I?m(a,v):(F=a,h||(h=setTimeout(()=>{h=null,m(F)},I-g)))},()=>F&&m(F)]}const c5=(e,n,r=3)=>{let I=0;const F=oDt(50,250);return sDt(h=>{const m=h.loaded,a=h.lengthComputable?h.total:void 0,v=m-I,g=F(v),i=m<=a;I=m;const _={loaded:m,total:a,progress:a?m/a:void 0,bytes:v,rate:g||void 0,estimated:g&&a&&i?(a-m)/g:void 0,event:h,lengthComputable:a!=null,[n?"download":"upload"]:!0};e(_)},r)},eY=(e,n)=>{const r=e!=null;return[I=>n[0]({lengthComputable:r,total:e,loaded:I}),n[1]]},tY=e=>(...n)=>Wn.asap(()=>e(...n)),lDt=kh.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function I(F){let h=F;return e&&(n.setAttribute("href",h),h=n.href),n.setAttribute("href",h),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=I(window.location.href),function(F){const h=Wn.isString(F)?I(F):F;return h.protocol===r.protocol&&h.host===r.host}}():function(){return function(){return!0}}(),cDt=kh.hasStandardBrowserEnv?{write(e,n,r,I,F,h){const m=[e+"="+encodeURIComponent(n)];Wn.isNumber(r)&&m.push("expires="+new Date(r).toGMTString()),Wn.isString(I)&&m.push("path="+I),Wn.isString(F)&&m.push("domain="+F),h===!0&&m.push("secure"),document.cookie=m.join("; ")},read(e){const n=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function dDt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function uDt(e,n){return n?e.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):e}function aY(e,n){return e&&!dDt(n)?uDt(e,n):n}const nY=e=>e instanceof zd?{...e}:e;function Pm(e,n){n=n||{};const r={};function I(g,i,_){return Wn.isPlainObject(g)&&Wn.isPlainObject(i)?Wn.merge.call({caseless:_},g,i):Wn.isPlainObject(i)?Wn.merge({},i):Wn.isArray(i)?i.slice():i}function F(g,i,_){if(Wn.isUndefined(i)){if(!Wn.isUndefined(g))return I(void 0,g,_)}else return I(g,i,_)}function h(g,i){if(!Wn.isUndefined(i))return I(void 0,i)}function m(g,i){if(Wn.isUndefined(i)){if(!Wn.isUndefined(g))return I(void 0,g)}else return I(void 0,i)}function a(g,i,_){if(_ in n)return I(g,i);if(_ in e)return I(void 0,g)}const v={url:h,method:h,data:h,baseURL:m,transformRequest:m,transformResponse:m,paramsSerializer:m,timeout:m,timeoutMessage:m,withCredentials:m,withXSRFToken:m,adapter:m,responseType:m,xsrfCookieName:m,xsrfHeaderName:m,onUploadProgress:m,onDownloadProgress:m,decompress:m,maxContentLength:m,maxBodyLength:m,beforeRedirect:m,transport:m,httpAgent:m,httpsAgent:m,cancelToken:m,socketPath:m,responseEncoding:m,validateStatus:a,headers:(g,i)=>F(nY(g),nY(i),!0)};return Wn.forEach(Object.keys(Object.assign({},e,n)),function(g){const i=v[g]||F,_=i(e[g],n[g],g);Wn.isUndefined(_)&&i!==a||(r[g]=_)}),r}const rY=e=>{const n=Pm({},e);let{data:r,withXSRFToken:I,xsrfHeaderName:F,xsrfCookieName:h,headers:m,auth:a}=n;n.headers=m=zd.from(m),n.url=qq(aY(n.baseURL,n.url),e.params,e.paramsSerializer),a&&m.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let v;if(Wn.isFormData(r)){if(kh.hasStandardBrowserEnv||kh.hasStandardBrowserWebWorkerEnv)m.setContentType(void 0);else if((v=m.getContentType())!==!1){const[g,...i]=v?v.split(";").map(_=>_.trim()).filter(Boolean):[];m.setContentType([g||"multipart/form-data",...i].join("; "))}}if(kh.hasStandardBrowserEnv&&(I&&Wn.isFunction(I)&&(I=I(n)),I||I!==!1&&lDt(n.url))){const g=F&&h&&cDt.read(h);g&&m.set(F,g)}return n},hDt=typeof XMLHttpRequest<"u",pDt=hDt&&function(e){return new Promise(function(n,r){const I=rY(e);let F=I.data;const h=zd.from(I.headers).normalize();let{responseType:m,onUploadProgress:a,onDownloadProgress:v}=I,g,i,_,b,c;function s(){b&&b(),c&&c(),I.cancelToken&&I.cancelToken.unsubscribe(g),I.signal&&I.signal.removeEventListener("abort",g)}let o=new XMLHttpRequest;o.open(I.method.toUpperCase(),I.url,!0),o.timeout=I.timeout;function l(){if(!o)return;const u=zd.from("getAllResponseHeaders"in o&&o.getAllResponseHeaders()),p={data:!m||m==="text"||m==="json"?o.responseText:o.response,status:o.status,statusText:o.statusText,headers:u,config:e,request:o};Qq(function(f){n(f),s()},function(f){r(f),s()},p),o=null}"onloadend"in o?o.onloadend=l:o.onreadystatechange=function(){!o||o.readyState!==4||o.status===0&&!(o.responseURL&&o.responseURL.indexOf("file:")===0)||setTimeout(l)},o.onabort=function(){o&&(r(new Qi("Request aborted",Qi.ECONNABORTED,e,o)),o=null)},o.onerror=function(){r(new Qi("Network Error",Qi.ERR_NETWORK,e,o)),o=null},o.ontimeout=function(){let u=I.timeout?"timeout of "+I.timeout+"ms exceeded":"timeout exceeded";const p=I.transitional||Xq;I.timeoutErrorMessage&&(u=I.timeoutErrorMessage),r(new Qi(u,p.clarifyTimeoutError?Qi.ETIMEDOUT:Qi.ECONNABORTED,e,o)),o=null},F===void 0&&h.setContentType(null),"setRequestHeader"in o&&Wn.forEach(h.toJSON(),function(u,p){o.setRequestHeader(p,u)}),Wn.isUndefined(I.withCredentials)||(o.withCredentials=!!I.withCredentials),m&&m!=="json"&&(o.responseType=I.responseType),v&&([_,c]=c5(v,!0),o.addEventListener("progress",_)),a&&o.upload&&([i,b]=c5(a),o.upload.addEventListener("progress",i),o.upload.addEventListener("loadend",b)),(I.cancelToken||I.signal)&&(g=u=>{o&&(r(!u||u.type?new Q1(null,e,o):u),o.abort(),o=null)},I.cancelToken&&I.cancelToken.subscribe(g),I.signal&&(I.signal.aborted?g():I.signal.addEventListener("abort",g)));const d=iDt(I.url);if(d&&kh.protocols.indexOf(d)===-1){r(new Qi("Unsupported protocol "+d+":",Qi.ERR_BAD_REQUEST,e));return}o.send(F||null)})},fDt=(e,n)=>{let r=new AbortController,I;const F=function(v){if(!I){I=!0,m();const g=v instanceof Error?v:this.reason;r.abort(g instanceof Qi?g:new Q1(g instanceof Error?g.message:g))}};let h=n&&setTimeout(()=>{F(new Qi(`timeout ${n} of ms exceeded`,Qi.ETIMEDOUT))},n);const m=()=>{e&&(h&&clearTimeout(h),h=null,e.forEach(v=>{v&&(v.removeEventListener?v.removeEventListener("abort",F):v.unsubscribe(F))}),e=null)};e.forEach(v=>v&&v.addEventListener&&v.addEventListener("abort",F));const{signal:a}=r;return a.unsubscribe=m,[a,()=>{h&&clearTimeout(h),h=null}]},mDt=function*(e,n){let r=e.byteLength;if(!n||r<n){yield e;return}let I=0,F;for(;I<r;)F=I+n,yield e.slice(I,F),I=F},gDt=async function*(e,n,r){for await(const I of e)yield*mDt(ArrayBuffer.isView(I)?I:await r(String(I)),n)},iY=(e,n,r,I,F)=>{const h=gDt(e,n,F);let m=0,a,v=g=>{a||(a=!0,I&&I(g))};return new ReadableStream({async pull(g){try{const{done:i,value:_}=await h.next();if(i){v(),g.close();return}let b=_.byteLength;if(r){let c=m+=b;r(c)}g.enqueue(new Uint8Array(_))}catch(i){throw v(i),i}},cancel(g){return v(g),h.return()}},{highWaterMark:2})},d5=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",oY=d5&&typeof ReadableStream=="function",IT=d5&&(typeof TextEncoder=="function"?(e=>n=>e.encode(n))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),sY=(e,...n)=>{try{return!!e(...n)}catch{return!1}},yDt=oY&&sY(()=>{let e=!1;const n=new Request(kh.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!n}),lY=64*1024,NT=oY&&sY(()=>Wn.isReadableStream(new Response("").body)),u5={stream:NT&&(e=>e.body)};d5&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(n=>{!u5[n]&&(u5[n]=Wn.isFunction(e[n])?r=>r[n]():(r,I)=>{throw new Qi(`Response type '${n}' is not supported`,Qi.ERR_NOT_SUPPORT,I)})})})(new Response);const vDt=async e=>{if(e==null)return 0;if(Wn.isBlob(e))return e.size;if(Wn.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(Wn.isArrayBufferView(e)||Wn.isArrayBuffer(e))return e.byteLength;if(Wn.isURLSearchParams(e)&&(e=e+""),Wn.isString(e))return(await IT(e)).byteLength},_Dt=async(e,n)=>Wn.toFiniteNumber(e.getContentLength())??vDt(n),bDt=d5&&(async e=>{let{url:n,method:r,data:I,signal:F,cancelToken:h,timeout:m,onDownloadProgress:a,onUploadProgress:v,responseType:g,headers:i,withCredentials:_="same-origin",fetchOptions:b}=rY(e);g=g?(g+"").toLowerCase():"text";let[c,s]=F||h||m?fDt([F,h],m):[],o,l;const d=()=>{!o&&setTimeout(()=>{c&&c.unsubscribe()}),o=!0};let u;try{if(v&&yDt&&r!=="get"&&r!=="head"&&(u=await _Dt(i,I))!==0){let w=new Request(n,{method:"POST",body:I,duplex:"half"}),x;if(Wn.isFormData(I)&&(x=w.headers.get("content-type"))&&i.setContentType(x),w.body){const[M,k]=eY(u,c5(tY(v)));I=iY(w.body,lY,M,k,IT)}}Wn.isString(_)||(_=_?"include":"omit"),l=new Request(n,{...b,signal:c,method:r.toUpperCase(),headers:i.normalize().toJSON(),body:I,duplex:"half",credentials:_});let p=await fetch(l);const f=NT&&(g==="stream"||g==="response");if(NT&&(a||f)){const w={};["status","statusText","headers"].forEach(C=>{w[C]=p[C]});const x=Wn.toFiniteNumber(p.headers.get("content-length")),[M,k]=a&&eY(x,c5(tY(a),!0))||[];p=new Response(iY(p.body,lY,M,()=>{k&&k(),f&&d()},IT),w)}g=g||"text";let y=await u5[Wn.findKey(u5,g)||"text"](p,e);return!f&&d(),s&&s(),await new Promise((w,x)=>{Qq(w,x,{data:y,headers:zd.from(p.headers),status:p.status,statusText:p.statusText,config:e,request:l})})}catch(p){throw d(),p&&p.name==="TypeError"&&/fetch/i.test(p.message)?Object.assign(new Qi("Network Error",Qi.ERR_NETWORK,e,l),{cause:p.cause||p}):Qi.from(p,p&&p.code,e,l)}}),BT={http:DFt,xhr:pDt,fetch:bDt};Wn.forEach(BT,(e,n)=>{if(e){try{Object.defineProperty(e,"name",{value:n})}catch{}Object.defineProperty(e,"adapterName",{value:n})}});const cY=e=>`- ${e}`,xDt=e=>Wn.isFunction(e)||e===null||e===!1,dY={getAdapter:e=>{e=Wn.isArray(e)?e:[e];const{length:n}=e;let r,I;const F={};for(let h=0;h<n;h++){r=e[h];let m;if(I=r,!xDt(r)&&(I=BT[(m=String(r)).toLowerCase()],I===void 0))throw new Qi(`Unknown adapter '${m}'`);if(I)break;F[m||"#"+h]=I}if(!I){const h=Object.entries(F).map(([a,v])=>`adapter ${a} `+(v===!1?"is not supported by the environment":"is not available in the build"));let m=n?h.length>1?`since :
3582
3582
  `+h.map(cY).join(`