1(self.webpackChunkclient=self.webpackChunkclient||[]).push([[3988],{89163(e,t,n){"use strict";n.d(t,{A:()=>d});var a=n(5544),o=n(9950),r=n(98362),i=n(82569),s=n(32370),c=n(28987);const d=()=>{const e=(0,i.d4)(s.vg),t=(0,r.B)("global"),n=(0,a.A)(t,2)[1].language,d=(0,o.useRef)({country:e,language:n});return(0,o.useEffect)(()=>{d.current={country:e,language:n}},[e,n]),(0,o.useCallback)(e=>(0,c.Uf)(e,d.current),[])}},91516(e,t,n){"use strict";n.d(t,{A:()=>w});var a=n(5544),o=n(9950),r=n(98362),i=n(5205),s=n(80688),c=n(46589),d=n(42169),l=n(96319),u=n(60448),h=n(72183),m=n(99060),p=n(3594),g=n(44414);const w=e=>{let t=e.open,n=e.handleClose,w=e.url,f=e.game,x=void 0===f?null:f,v=e.launchedGame,y=void 0===v?null:v,A=e.loading,j=void 0!==A&&A;console.log("modal1");const S=(0,r.B)("global"),b=((0,a.A)(S,1)[0],(0,c.A)("(min-width:750px)"),(0,u.r)()),B=b.isFavorite,C=b.toggleFavorite,E=o.useState(!1),M=(0,a.A)(E,2),k=(M[0],M[1],x?"".concat(x.provider,"-").concat(x.id):null),L=!!k&&B(k),D=o.useState(0),R=(0,a.A)(D,2),_=(R[0],R[1],o.useState(!0)),K=(0,a.A)(_,2),O=K[0],U=K[1];(0,p.d)({active:t&&Boolean(w)&&!j,game:y||x});return(0,g.jsx)(i.A,{open:t,handleClose:n,children:(0,g.jsxs)(s.BC,{children:[(0,g.jsx)(s.H9,{children:(0,g.jsxs)(s.lX,{children:[x&&(0,g.jsx)(s.Oi,{title:"Favorito",onClick:()=>{x&&C(x)},active:L,children:L?(0,g.jsx)(h.A,{}):(0,g.jsx)(d.A,{})}),(0,g.jsx)(s.UM,{title:"Cerrar",onClick:n,children:(0,g.jsx)(l.A,{})})]})}),(0,g.jsx)(m.A,{className:"game-loader",show:j||O}),w&&(0,g.jsx)("iframe",{src:w,style:{opacity:O?0:1,transition:"opacity 0.5s ease"},onLoad:()=>U(!1)})]})})}},23988(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>L});var a=n(57528),o=n(5544),r=n(9950),i=n(80858),s=n(72772),c=n(98362),d=n(82569),l=n(28429),u=n(67079),h=n(59990),m=n(69401),p=n(32370),g=n(44414);const w=()=>(0,g.jsx)("div",{id:"altenarsportsbook",style:{minHeight:"300px",height:"100%"}});var f=n(5069),x=(n(22399),n(74847),n(91516)),v=n(48144),y=n(52167),A=n(76436),j=n.n(A),S=n(37604),b=n(93879),B=n(28834);var C,E,M=n(63844),k=n(89163);const L=()=>{const e=(0,r.useState)(!1),t=(0,o.A)(e,2),n=t[0],a=t[1],u=(0,d.d4)(p.Cd),A=(0,d.d4)(p.mB),C=(0,r.useState)(!0),E=(0,o.A)(C,2),L=E[0],_=E[1],K=(0,r.useState)(0),O=(0,o.A)(K,2),U=(O[0],O[1],(0,l.g)()),W=(0,i.A)(["user"]),H=(0,o.A)(W,1)[0],F=(0,d.d4)(p.nM),N=(0,d.d4)(p.Ge),P=(0,c.B)("global"),T=(0,o.A)(P,2),z=T[0],G=T[1],V=(0,l.Zp)(),J=(0,d.d4)(p.vg),I=(0,k.A)(),$=(0,r.useState)(!1),X=(0,o.A)($,2),q=X[0],Z=X[1],Q=(0,r.useState)(!1),Y=(0,o.A)(Q,2),ee=Y[0],te=Y[1],ne=window.location.origin,ae=(0,r.useState)(null),oe=(0,o.A)(ae,2),re=oe[0],ie=oe[1],se=(0,r.useState)(!1),ce=(0,o.A)(se,2),de=ce[0],le=ce[1],ue=(0,r.useState)(null),he=(0,o.A)(ue,2),me=he[0],pe=he[1],ge=(0,r.useState)(!1),we=(0,o.A)(ge,2),fe=we[0],xe=we[1],ve=(0,r.useState)(!1),ye=(0,o.A)(ve,2),Ae=ye[0],je=ye[1];(0,r.useEffect)(()=>{const e=()=>{a(e=>!e)};return window.addEventListener("home-v2:toggle-sidebar",e),()=>window.removeEventListener("home-v2:toggle-sidebar",e)},[]),(0,r.useEffect)(()=>{window.__homeV2SidebarCollapsed=n,window.dispatchEvent(new CustomEvent("home-v2:sidebar-state",{detail:{collapsed:n}}))},[n]);const Se=async(e,t)=>{const n=b.H.some(e=>e.toLowerCase()===t.toLowerCase());n?(xe(!0),je(!0)):(le(!0),je(!0));try{const n=await(async e=>{let t=e.symbol,n=e.proveedor,a=e.token,o=e.isLoged,r=e.country,i=e.id_uo,s=e.language,c=e.cleanProvider,d="",l=!1;if("pragmatic"===n)d=await(0,S.U)({symbol:t,language:s,token:o?a:null,country:r});else if("spinmatic"===n){const e="https://masterbets365.com",n=(0,f.Fr)()?"mobile":"desktop",r=j()((a||"")+t+e+(o?"":"0")+s+n+e+m.zT);d="".concat(m.A8,"?token=").concat(a||"","&game=").concat(t,"&backurl=").concat(e).concat(o?"":"&mode=0","&language=").concat(s,"&clientPlatform=").concat(n,"&cashierurl=").concat(e,"&h=").concat(r)}else if(b.H.some(e=>e.toLowerCase()===n.toLowerCase())){l=!0;const e=await y.A.post(m.H$+(a?"openCasinoGameSoft":"openGameSoftDemo"),a?{id_uo:i+"-master",token:a,id_game:c(n)+":"+t}:{id_uo:"121212",token:"121212-af121212fg2f2h1v212",id_game:c(n)+":"+t});200===e.data.code?d=e.data.response_data:(0,B.A2)("Ha ocurrido un error al intentar abrir el juego")}return{URLSlot:d,soft:l}}
1)({symbol:e,proveedor:t,token:u,isLoged:F,country:J,id_uo:N,language:G.language,cleanProvider:e=>"octoplay"===e?"penguinking":"voltent"===e?"wazdan":"bgaming"===e?"softswiss":e}),a=n.URLSlot,o=n.soft;if(!a)throw new Error("No se pudo obtener la URL del juego");o?(pe(a),je(!1)):(ie(a),je(!1))}catch(a){console.error("Error al abrir juego desde deportes:",a),n?(xe(!1),pe(null)):(le(!1),ie(null)),je(!1)}};(0,r.useEffect)(()=>{const e=e=>{e.data&&"OPEN_SPORT_GAME"===e.data.type&&Se(e.data.game,e.data.prov)};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[]),(0,r.useEffect)(()=>{F&&N&&window.xtremepush&&(window.xtremepush("event","pageview",{id_uo:N,usuario:A,page:"deportes"}),console.log("Xtremepush event event pageview deportes: ".concat(N)))},[N,F]);(0,r.useEffect)(()=>{window.altenarWSDK&&window.altenarWSDK.set({oddsFormat:"VE"===J?2:0})},[J,window.altenarWSDK]),(0,r.useEffect)(()=>{const e=()=>{window.location.reload()};return G.on("languageChanged",e),()=>{G.off("languageChanged",e)}},[G]),(0,r.useEffect)(()=>(setTimeout(()=>{te(!0)},3e3),()=>{window.ASB&&window.ASB.remove(),window.location.hash&&window.history.replaceState(null,"",window.location.pathname)}),[]);const be=()=>{if(!q&&J){let e=G.language+"-"+("pt"===G.language?"BR":G.language.toUpperCase());_(!1),Z(!0),window.altenarWSDK.init({integration:"masterbets365",culture:e,token:u,oddsFormat:"VE"===J?2:0}),window.ASB=window.altenarWSDK.addSportsBook({props:{onBannerLoad:e=>{if(I(e.ref),"Banner3"!==e.id&&"Banner4"!==e.id||(e.ref.style.height="560px"),"BannerTO"===e.id||"BannerMO"===e.id){function t(t){window.matchMedia("(max-width: 480px)").matches?e.ref.style.height="85px":window.matchMedia("(max-width: 551px)").matches?e.ref.style.height="90px":window.matchMedia("(max-width: 595px)").matches&&(e.ref.style.height="95px")}e.ref.style.width="100%",t(),window.onresize=function(e){t()}}if("id"!==e.id&&"BannerLO"!==e.id&&"BannerED"!==e.id&&"BannerSO"!==e.id&&"BannerCO"!==e.id&&"BannerCHO"!==e.id||(e.ref.style.height="560px"),"Banner"===e.id){function n(t){window.matchMedia("(max-width: 1450px)").matches?e.ref.style.height="115px":window.matchMedia("(max-width: 1650px)").matches?e.ref.style.height="155px":window.matchMedia("(max-width: 1760px)").matches?e.ref.style.height="175px":window.matchMedia("(max-width: 1900px)").matches?e.ref.style.height="195px":window.matchMedia("(max-width: 2060px)").matches?e.ref.style.height="215px":window.matchMedia("(max-width: 2160px)").matches?e.ref.style.height="235px":window.matchMedia("(max-width: 2260px)").matches?e.ref.style.height="255px":window.matchMedia("(min-width: 2260px)").matches&&(e.ref.style.height="275px")}n(),window.onresize=function(e){n()}}"Banner2"===e.id&&(J&&(e.ref.src="".concat(ne,"/banner-slider?country=").concat(J)),e.ref.style.width="100%",e.ref.style.height="clamp(240px, 16vw, 320px)",e.ref.style.aspectRatio="auto",window.matchMedia("(max-width: 400px)").matches?(e.ref.style.height="auto",e.ref.style.aspectRatio="11 / 8"):window.matchMedia("(max-width: 500px)").matches?(e.ref.style.height="auto",e.ref.style.aspectRatio="13 / 9"):window.matchMedia("(max-width: 600px)").matches&&(e.ref.style.height="auto",e.ref.style.aspectRatio="14 / 9"))}},container:document.getElementById("container")}),window.altenarWSDK.set({culture:e,token:u,oddsFormat:"VE"===J?2:0})}},Be="https://sb2wsdk-altenar2.biahosted.com/altenarWSDK.js";return(0,r.useEffect)(()=>{const e=(("undefined"===H.MBB||!H.MBB)&&("undefined"===H.MBA||!H.MBA)||""!==u)&&J;if(window.altenarWSDK)return te(!0),void(e&&be());if(!document.querySelector('script[src="'.concat(Be,'"]'))){const t=document.createElement("script");t.type="text/javascript",t.src=Be,t.defer=!0,t.onload=()=>{e&&be()},t.onerror=()=>{console.error("Error al cargar el script de AltenarWSDK.")},document.head.appendChild(t)}const t=setTimeout(()=>{window.altenarWSDK||ee||(te(!0),V("/"))},3e3);return()=>clearTimeout(t)},[u,G.language,ee,V,H,be,J]),(0,g.jsx)(D,{children:(0,g.jsx)(M.ll,{$collapsed:n,children:(0,g.jsx)(M.EJ,{children:(0,g.jsxs)(R,{className:F?"loged":null,children:[de&&(0,g.jsx)(x.A,{open:de,handleClose:()=>{le(!1),ie(null),je(!1)},url:re,loading:Ae}),fe&&(0,g.jsx)(v.A,{open:fe,handleClose:()=>{xe(!1),pe(null),je(!1)},serverResponse:me,loading:Ae}),(0,g.jsxs)(s.m,{children:[(0,g.jsx)("title",{children:"MasterBets365 | Jugar Apuesta Deportivas en vivo"}),"prelive"===U.type?(0,g.jsx)("link",{rel:"canonical",href:"https://masterbets365.com".concat(z("header.link-1.url"),"/prelive")}):(0,g.jsx)("link",{rel:"canonical",href:"https://masterbets365.com".concat(z("header.link-1.url"))}),"prelive"===U.type?(0,g.jsx)("meta",{property:"og:url",content:"https://masterbets365.com/deportes/prelive"}):(0,g.jsx)("meta",{property:"og:url",content:"https://masterbets365.com/deportes"}),(0,g.jsx)("meta",{property:"og:image",content:""}),(0,g.jsx)("meta",{property:"og:type",content:"website"}),(0,g.jsx)("meta",{property:"og:description",content:"Los mejores juegos en deportes virtuales online los encontrar\xe1s en MasterBets365. \xa1Reg\xedstrate hoy y empieza a disfrutar como nunca antes!"}),(0,g.jsx)("meta",{property:"og:site_name",content:"MasterBets365"}),(0,g.jsx)("meta",{property:"og:title",content:"MasterBets365 | Jugar Apuesta Deportivas en vivo"}),(0,g.jsx)("meta",{name:"description",content:"Los mejores juegos en deportes virtuales online los encontrar\xe1s en MasterBets365. \xa1Reg\xedstrate hoy y empieza a disfrutar como nunca antes!"})]}),L&&(0,g.jsx)(h.A,{}),(0,g.jsx)("div",{id:"container",style:{marginTop:"10px"}}),(0,g.jsx)(w,{})]})})})})},D=u.Ay.div(C||(C=(0,a.A)(["\n --sports-home-v2-header-offset: clamp(72px, 5.25vw, 100px);\n\n width: min(100%, 2200px);\n margin: 0 auto;\n padding: var(--sports-home-v2-header-offset) 1.5rem 2rem;\n\n html.new-navigation-enabled & {\n padding-top: 0;\n }\n\n @media screen and (max-width: 1180px) {\n padding-inline: 0;\n }\n\n @media screen and (max-width: 1080px) {\n padding-top: 0;\n }\n"]))),R=u.Ay.div.attrs(e=>({className:e.className}))(E||(E=(0,a.A)(["\n @media screen and (max-width: 1080px) {\n &.loged {\n margin-top: 80px;\n }\n &:not(.loged) {\n margin-top: 5rem;\n }\n }\n\n @media screen and (max-width: 480px) {\n &:not(.loged) {\n margin-top: 4rem;\n }\n }\n"])))},37604(e,t,n){"use strict";n.d(t,{U:()=>i});var a=n(52167),o=n(69401);const r="demo_"+Math.random().toString(36).slice(2)+Date.now().toString(36),i=async e=>{let t=e.symbol,n=e.language,i=e.token,s=e.country;const c=i?{language:n,token:i,symbol:t,pais:s}:{language:n,symbol:t,pais:s,externalPlayerId:r}
vendor: 3,930 bytes, line 1
1,d=(await a.A.post(o.H$+"openGameV2",c)).data,l="string"===typeof d?JSON.parse(d):d;if("0"!==String(l.error))throw new Error("Pragmatic game/url error ".concat(l.error,": ").concat(l.description));return l.gameURL}},76436(e,t,n){var a;!function(){"use strict";function o(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function r(e,t,n,a,r,i){return o((s=o(o(t,e),o(a,i)))<<(c=r)|s>>>32-c,n);var s,c}function i(e,t,n,a,o,i,s){return r(t&n|~t&a,e,t,o,i,s)}function s(e,t,n,a,o,i,s){return r(t&a|n&~a,e,t,o,i,s)}function c(e,t,n,a,o,i,s){return r(t^n^a,e,t,o,i,s)}function d(e,t,n,a,o,i,s){return r(n^(t|~a),e,t,o,i,s)}function l(e,t){var n,a,r,l,u;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var h=1732584193,m=-271733879,p=-1732584194,g=271733878;for(n=0;n<e.length;n+=16)a=h,r=m,l=p,u=g,h=i(h,m,p,g,e[n],7,-680876936),g=i(g,h,m,p,e[n+1],12,-389564586),p=i(p,g,h,m,e[n+2],17,606105819),m=i(m,p,g,h,e[n+3],22,-1044525330),h=i(h,m,p,g,e[n+4],7,-176418897),g=i(g,h,m,p,e[n+5],12,1200080426),p=i(p,g,h,m,e[n+6],17,-1473231341),m=i(m,p,g,h,e[n+7],22,-45705983),h=i(h,m,p,g,e[n+8],7,1770035416),g=i(g,h,m,p,e[n+9],12,-1958414417),p=i(p,g,h,m,e[n+10],17,-42063),m=i(m,p,g,h,e[n+11],22,-1990404162),h=i(h,m,p,g,e[n+12],7,1804603682),g=i(g,h,m,p,e[n+13],12,-40341101),p=i(p,g,h,m,e[n+14],17,-1502002290),h=s(h,m=i(m,p,g,h,e[n+15],22,1236535329),p,g,e[n+1],5,-165796510),g=s(g,h,m,p,e[n+6],9,-1069501632),p=s(p,g,h,m,e[n+11],14,643717713),m=s(m,p,g,h,e[n],20,-373897302),h=s(h,m,p,g,e[n+5],5,-701558691),g=s(g,h,m,p,e[n+10],9,38016083),p=s(p,g,h,m,e[n+15],14,-660478335),m=s(m,p,g,h,e[n+4],20,-405537848),h=s(h,m,p,g,e[n+9],5,568446438),g=s(g,h,m,p,e[n+14],9,-1019803690),p=s(p,g,h,m,e[n+3],14,-187363961),m=s(m,p,g,h,e[n+8],20,1163531501),h=s(h,m,p,g,e[n+13],5,-1444681467),g=s(g,h,m,p,e[n+2],9,-51403784),p=s(p,g,h,m,e[n+7],14,1735328473),h=c(h,m=s(m,p,g,h,e[n+12],20,-1926607734),p,g,e[n+5],4,-378558),g=c(g,h,m,p,e[n+8],11,-2022574463),p=c(p,g,h,m,e[n+11],16,1839030562),m=c(m,p,g,h,e[n+14],23,-35309556),h=c(h,m,p,g,e[n+1],4,-1530992060),g=c(g,h,m,p,e[n+4],11,1272893353),p=c(p,g,h,m,e[n+7],16,-155497632),m=c(m,p,g,h,e[n+10],23,-1094730640),h=c(h,m,p,g,e[n+13],4,681279174),g=c(g,h,m,p,e[n],11,-358537222),p=c(p,g,h,m,e[n+3],16,-722521979),m=c(m,p,g,h,e[n+6],23,76029189),h=c(h,m,p,g,e[n+9],4,-640364487),g=c(g,h,m,p,e[n+12],11,-421815835),p=c(p,g,h,m,e[n+15],16,530742520),h=d(h,m=c(m,p,g,h,e[n+2],23,-995338651),p,g,e[n],6,-198630844),g=d(g,h,m,p,e[n+7],10,1126891415),p=d(p,g,h,m,e[n+14],15,-1416354905),m=d(m,p,g,h,e[n+5],21,-57434055),h=d(h,m,p,g,e[n+12],6,1700485571),g=d(g,h,m,p,e[n+3],10,-1894986606),p=d(p,g,h,m,e[n+10],15,-1051523),m=d(m,p,g,h,e[n+1],21,-2054922799),h=d(h,m,p,g,e[n+8],6,1873313359),g=d(g,h,m,p,e[n+15],10,-30611744),p=d(p,g,h,m,e[n+6],15,-1560198380),m=d(m,p,g,h,e[n+13],21,1309151649),h=d(h,m,p,g,e[n+4],6,-145523070),g=d(g,h,m,p,e[n+11],10,-1120210379),p=d(p,g,h,m,e[n+2],15,718787259),m=d(m,p,g,h,e[n+9],21,-343485551),h=o(h,a),m=o(m,r),p=o(p,l),g=o(g,u);return[h,m,p,g]}function u(e){var t,n="",a=32*e.length;for(t=0;t<a;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n}function h(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;var a=8*e.length;for(t=0;t<a;t+=8)n[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return n}function m(e){var t,n,a="0123456789abcdef",o="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),o+=a.charAt(t>>>4&15)+a.charAt(15&t);return o}function p(e){return unescape(encodeURIComponent(e))}function g(e){return function(e){return u(l(h(e),8*e.length))}(p(e))}function w(e,t){return function(e,t){var n,a,o=h(e),r=[],i=[];for(r[15]=i[15]=void 0,o.length>16&&(o=l(o,8*e.length)),n=0;n<16;n+=1)r[n]=909522486^o[n],i[n]=1549556828^o[n];return a=l(r.concat(h(t)),512+8*t.length),u(l(i.concat(a),640))}(p(e),p(t))}function f(e,t,n){return t?n?w(t,e):m(w(t,e)):n?g(e):m(g(e))}void 0===(a=function(){return f}.call(t,n,t,e))||(e.exports=a)}()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.