1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4492],{62623:function(e,t,a){"use strict";var n=a(87462),s=a(63366),o=a(67294),i=a(90512),c=a(94780),r=a(90948),l=a(71657),d=a(21987),m=a(70975),p=a(85893);let u=["className","raised"],useUtilityClasses=e=>{let{classes:t}=e;return(0,c.Z)({root:["root"]},m.y,t)},_=(0,r.ZP)(d.Z,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),x=o.forwardRef(function(e,t){let a=(0,l.Z)({props:e,name:"MuiCard"}),{className:o,raised:c=!1}=a,r=(0,s.Z)(a,u),d=(0,n.Z)({},a,{raised:c}),m=useUtilityClasses(d);return(0,p.jsx)(_,(0,n.Z)({className:(0,i.Z)(m.root,o),elevation:c?8:void 0,ref:t,ownerState:d},r))});t.Z=x},70975:function(e,t,a){"use strict";a.d(t,{y:function(){return getCardUtilityClass}});var n=a(1588),s=a(34867);function getCardUtilityClass(e){return(0,s.Z)("MuiCard",e)}let o=(0,n.Z)("MuiCard",["root"]);t.Z=o},28492:function(e,t,a){"use strict";var n=a(87462),s=a(63366),o=a(67294),i=a(90512),c=a(94780),r=a(90948),l=a(71657),d=a(70567),m=a(85893);let p=["className","component"],useUtilityClasses=e=>{let{classes:t}=e;return(0,c.Z)({root:["root"]},d.N,t)},u=(0,r.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),_=o.forwardRef(function(e,t){let a=(0,l.Z)({props:e,name:"MuiCardContent"}),{className:o,component:c="div"}=a,r=(0,s.Z)(a,p),d=(0,n.Z)({},a,{component:c}),_=useUtilityClasses(d);return(0,m.jsx)(u,(0,n.Z)({as:c,className:(0,i.Z)(_.root,o),ownerState:d,ref:t},r))});t.Z=_},70567:function(e,t,a){"use strict";a.d(t,{N:function(){return getCardContentUtilityClass}});var n=a(1588),s=a(34867);function getCardContentUtilityClass(e){return(0,s.Z)("MuiCardContent",e)}let o=(0,n.Z)("MuiCardContent",["root"]);t.Z=o},76269:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/miseventos",function(){return a(14603)}])},17309:function(e,t,a){"use strict";a.d(t,{x:function(){return TabPanel}});var n=a(85893);a(67294);var s=a(36822);let TabPanel=e=>{let{children:t,value:a,index:o,classes:i,disablePadding:c=!1,...r}=e;return(0,n.jsx)("div",{role:"tabpanel",hidden:a!==o,id:"simple-tabpanel-".concat(o),"aria-labelledby":"simple-tab-".concat(o),...r,children:a===o&&(0,n.jsx)(s.Z,{sx:{p:c?0:3,paddingTop:3},children:t})})}},16141:function(e,t,a){"use strict";a.d(t,{Z:function(){return HeadComponent}});var n=a(85893),s=a(9008),o=a.n(s),i=a(4298),c=a.n(i);function HeadComponent(e){var t,a;let{title:s="SUPERBOLETOS. No hagas filas, compra en l\xednea",titleMeta:i}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o(),{children:[(0,n.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"}),(0,n.jsx)("title",{children:s}),(0,n.jsx)("meta",{name:"keywords",content:"Boletos,Boleto,artista,evento,superboletos,eventos"}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{name:"description",content:"Somos el sistema de venta de boletos en donde encontrar\xe1s los mejores eventos en todo M\xe9xico a solo un clic de distancia. No hagas fila⦠compra en l\xednea."}),(0,n.jsx)("meta",{property:"og:title",content:i||s}),(0,n.jsx)("meta",{property:"og:image",content:"https://d1y4lmvozupq5z.cloudfront.net/SuperBoletosRepositorio/apps/resources/img/ico/apple-touch-icon-180x180.png"}),(0,n.jsx)("meta",{property:"og:url",content:null===(a=window)||void 0===a?void 0:null===(t=a.location)||void 0===t?void 0:t.host}),(0,n.jsx)("meta",{name:"og:description",content:"Somos el sistema de venta de boletos en donde encontrar\xe1s los mejores eventos en todo M\xe9xico a solo un clic de distancia. No hagas fila⦠compra en l\xednea."}),(0,n.jsx)("meta",{name:"twitter:card",content:"photo"}),(0,n.jsx)("meta",{name:"twitter:title",content:i||s}),(0,n.jsx)("meta",{name:"twitter:image",content:"https://d1y4lmvozupq5z.cloudfront.net/SuperBoletosRepositorio/apps/resources/img/ico/apple-touch-icon-180x180.png"}),(0,n.jsx)("meta",{name:"twitter:description",content:"Somos el sistema de venta de boletos en donde encontrar\xe1s los mejores eventos en todo M\xe9xico a solo un clic de distancia. No hagas fila⦠compra en l\xednea."}),(0,n.jsx)("link",{rel:"apple-touch-icon",href:"https://d1y4lmvozupq5z.cloudfront.net/SuperBoletosRepositorio/apps/resources/img/ico/apple-touch-icon.png"}),(0,n.jsx)("link",{rel:"apple-touch-icon-precomposed",href:"https://d1y4lmvozupq5z.cloudfront.net/SuperBoletosRepositorio/apps/resources/img/ico/apple-touch-icon-precomposed.png"}),(0,n.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"https://d1y4lmvozupq5z.cloudfront.net/SuperBoletosRepositorio/apps/resources/img/ico/apple-touch-icon-57x57.png"}),(0,n.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"https://d1y4lmvozupq5z.cloudfront.net/SuperBoletosRepositorio/apps/resources/img/ico/apple-touch-icon-60x60.png"}),(0,n.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"https://d1y4lmvozupq5z.cloudfront.net/SuperBoletosRepositorio/apps/resources/img/ico/apple-touch-icon-72x72.png"}),(0,n.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"https://d1y4lmvozupq5z.cloudfront.net/SuperBoletosRepositorio/apps/resources/img/ico/apple-touch-icon-76x76.png"}),(0,n.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"https://d1y4lmvozupq5z.cloudfront.net/SuperBoletosRepositorio/apps/resources/img/ico/apple-touch-icon-114x114.png"}),(0,n.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"https://d1y4lmvozupq5z.cloudfront.net/SuperBoletosRepositorio/apps/resources/img/ico/apple-touch-icon-120x120.png"}),(0,n.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"https://d1y4lmvozupq5z.cloudfront.net/SuperBoletosRepositorio/apps/resources/img/ico/apple-touch-icon-144x144.png"}),(0,n.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"https://d1y4lmvozupq5z.cloudfront.net/SuperBoletosRepositorio/apps/resources/img/ico/apple-touch-icon-152x152.png"}),(0,n.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"https://d1y4lmvozupq5z.cloudfront.net/SuperBoletosRepositorio/apps/resources/img/ico/apple-touch-icon-180x180.png"}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,n.jsx)("link",{rel:"shortcut icon",type:"image/png",href:"https://d1y4lmvozupq5z.cloudfront.net/SuperBoletosRepositorio/apps/resources/img/favicon.ico"})]}),(0,n.jsx)(c(),{src:"https://www.google.com/recaptcha/api.js?render=".concat("6Lfe6pccAAAAADk_fkyEFM-b15cnGbyIOnJMcgwa"),strategy:"afterInteractive"}),(0,n.jsx)(c(),{src:"https://www.google.com/recaptcha/api.js",strategy:"afterInteractive"})]})}},14603:function(e,t,a){"use strict";a.r(t),a.d(t,{MyData:function(){return MyData},default:function(){return W}});
1var n=a(85893),s=a(67294),o=a(39332),i=a(48263),c=a(98396),r=a(52800),l=a(7492),d=a(9460),m=a(24650),p=a.n(m),u=a(16141),_=a(75316),x=a(26989),h=a(25675),y=a.n(h);function MainTabProps(e){return{id:"vertical-tab-".concat(e),"aria-controls":"vertical-tabpanel-".concat(e)}}var Events_EventsTabContainer=e=>{let{handleChange:t,handleMisEventosTabClick:a,handleMisDatosTabClick:s,titleQuery:o,handleCerrarSesion:i}=e;return(0,n.jsx)("div",{className:"cont-all-tabs",style:{marginLeft:o?"30px":null},children:(0,n.jsxs)(x.Z,{orientation:"vertical",variant:"scrollable",value:0,onChange:t,"aria-label":"Vertical tabs example",TabIndicatorProps:{sx:{display:"none",width:0,height:0,opacity:0,zIndex:0}},sx:{width:"90%",margin:"2px !important","& button.Mui-selected":{color:"#504DD3",borderColor:"transparent",backgroundColor:"#FFFFFF",fontWeight:"bold !important",paddingLeft:"20px !important",borderBottom:"2px solid #EF1D49 !important",boxShadow:"0px -1px 4px rgba(80, 77, 211, 0.25)"},"& button":{fontWeight:"normal !important"},"& button.MuiTab-root":{fontSize:"12px"}},children:[(0,n.jsx)(_.Z,{label:"Mis eventos",id:"tab",className:p()["vertical-tabs-legals"],sx:{marginTop:"30px",marginLeft:o?null:"30px",justifyContent:"left"},onClick:a,value:0,...MainTabProps(0)}),(0,n.jsx)(_.Z,{label:"Mis datos",id:"tab",className:p()["vertical-tabs-legals"],onClick:s,style:{marginLeft:o?null:"30px"},...MainTabProps(1)}),(0,n.jsx)("div",{className:p()["cont-button"],children:(0,n.jsxs)("button",{className:p()["button-close-session"],onClick:i,style:{background:"transparent",border:"none",cursor:"pointer"},children:["Cerrar sesi\xf3n",(0,n.jsx)(y(),{loading:"lazy",src:"/assets/img/icons/[email protected]",alt:"logout",height:44,width:44})]})})]})})},v=a(36822),g=a(93443),b=a(82693),j=a(50594),f=a(54799),N=a(69397),w=a(17309),C=a(62623),M=a(28492),Z=a(13614),S=a(4592),E=a(58439),k=a(21987),T=a(75921),z=a(98102),R=a(54924),B=a.n(R);let TicketsRowEvents=e=>{let{tickets:t,transactionNum:a,is_race:o}=e,[i,c]=(0,s.useState)(!1);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:B()["transaction-num"],children:[(0,n.jsxs)("p",{children:["TRANSACCI\xd3N ",a||"-"]}),(0,n.jsxs)("p",{children:[(null==t?void 0:t.length)?null==t?void 0:t.length:"-","\xa0BOLETO(S)",(null==t?void 0:t.length)>4?(0,n.jsx)("button",{className:B()["display-show-button"],onClick:()=>{c(!i)},style:{backgroundImage:"url(".concat(i?"/assets/chevron-up_blue.png":"/assets/chevron-down_blue.png",")")}}):null]})]}),(0,n.jsx)(S.Z,{component:k.Z,elevation:0,children:(0,n.jsx)(Z.Z,{"aria-label":"a dense table",size:"small",className:B()["table-myevent"],children:(0,n.jsx)(E.Z,{children:null==t?void 0:t.map((e,t)=>(0,n.jsx)(n.Fragment,{children:t>=4&&i||t<4?(0,n.jsx)(n.Fragment,{children:0==o?(0,n.jsxs)(T.Z,{sx:{"td, th":{borderBottom:"1px solid #78788D"}},children:[(0,n.jsx)(z.Z,{align:"left",padding:"none",children:(0,n.jsxs)("div",{className:B()["table-cell-me"],children:[(0,n.jsx)("p",{className:B().param,children:"FILA"}),(0,n.jsx)("p",{className:B()["param-value"],children:e.row_name?e.row_name:"-"})]})}),(0,n.jsx)(z.Z,{align:"left",padding:"none",children:(0,n.jsxs)("div",{className:B()["table-cell-me"],children:[(0,n.jsx)("p",{className:B().param,children:"ZONA"}),(0,n.jsx)("p",{className:B()["param-value"],children:e.price_zone_name?e.price_zone_name:"-"})]})}),(0,n.jsx)(z.Z,{align:"left",padding:"none",children:(0,n.jsxs)("div",{className:B()["table-cell-me"],children:[(0,n.jsx)("p",{className:B().param,children:"ASIENTOS"}),(0,n.jsx)("p",{className:B()["param-value"],children:e.column_name?e.column_name:"-"})]})}),(0,n.jsx)(z.Z,{align:"left",padding:"none",children:(0,n.jsxs)("div",{className:B()["table-cell-me"],children:[(0,n.jsx)("p",{className:B().param,children:"SECCI\xd3N"}),(0,n.jsx)("p",{className:B()["param-value"],children:e.section_name?e.section_name:"-"})]})}),(0,n.jsx)(z.Z,{align:"left"})]},e.ticket_id):(0,n.jsxs)(T.Z,{sx:{"td, th":{borderBottom:"1px solid #78788D"}},children:[(0,n.jsx)(z.Z,{align:"left",padding:"none",children:(0,n.jsxs)("div",{className:B()["table-cell-me"],children:[(0,n.jsx)("p",{className:B().param,children:"NOMBRE"}),(0,n.jsx)("p",{className:B()["param-value"],children:e.race.runner?e.race.runner:"-"})]})}),(0,n.jsx)(z.Z,{align:"left",padding:"none",children:(0,n.jsxs)("div",{className:B()["table-cell-me"],children:[(0,n.jsx)("p",{className:B().param,children:"CATEGORIA"}),(0,n.jsx)("p",{className:B()["param-value"],children:e.race.category_name?e.race.category_name:"-"})]})}),(0,n.jsx)(z.Z,{align:"left",padding:"none",children:(0,n.jsxs)("div",{className:B()["table-cell-me"],children:[(0,n.jsx)("p",{className:B().param,children:"DISTANCIA"}),(0,n.jsx)("p",{className:B()["param-value"],children:e.race.distance?e.race.distance:"-"})]})})]},e.ticket_id)}):null}))})})})]})};var I=a(49942);let A=(0,g.Z)({mobileContainer:{display:"flex",flexDirection:"column",alignItems:"center"},middleContainer:{display:"none",flexDirection:"row",alignItems:"top",height:"135px",width:"108%",overflow:"hidden"},desktopContainer:{display:"flex",flexDirection:"row",alignItems:"top"}});var components_CardMyEvents=e=>{let{sede:t,ciudad:a,fecha:s,name:o,presentation:i,transaction_id:r,imagen:l,imagenMobile:m,tickets:p,status:u,transactionNum:_,cantidad:x,longitud:h,latitud:v,is_race:g,openModal:b}=e,j=A(),w="".concat(d.X1,"/img/notfound/web/sb-w-md.webp"),Z=(0,c.Z)("(max-width: 820px)"),S=(0,c.Z)("(max-width: 767px)"),handleSendPurchase=()=>{(0,I.vM)(r).then(e=>{200==e.code&&b()})},getStatusText=e=>"PAGADA"==e?"PAGADO":"PAGO_REVISION"==e?"PENDIENTE DE PAGO":null;return(0,n.jsxs)(C.Z,{sx:{borderRadius:"0px",marginBottom:"20px",boxShadow:"0px 2px 10px rgba(0, 0, 0, 0.07)",padding:"0px !important"},className:B()["card-myevent-container"],children:[(0,n.jsx)("div",{className:B()["medio-circulo"]}),(0,n.jsxs)(M.Z,{className:B()["card-info-myevent"],children:[(0,n.jsx)("h4",{className:"".concat("PAGO_REVISION"==u?B()["status-pay-pendient"]:B()["status-pay-top"]),children:getStatusText(u)&&getStatusText(u)}),(0,n.jsxs)("div",{className:B()["cont-me"],children:[(0,n.jsx)("div",{className:"".concat(B()[Z?j.middleContainer:j.desktopContainer]," ").concat(B()["myevent-image-container"]),children:Z?(0,n.jsx)("div",{className:B()["cont-photo-event"],style:{backgroundImage:"url(".concat(m||w,")"),backgroundPosition:"center center",backgroundSize:"cover",borderRadius:"4px"}}):(0,n.jsx)("div",{className:B()["cont-photo-event"],children:l?(0,n.jsx)("img",{loading:"lazy",src:l,alt:"event"}):(0,n.jsx)("div",{style:{width:"115px"}})})}),(0,n.jsxs)("div",{className:B()["info-cont-myevent"],children:[(0,n.jsxs)("h4",{className:B()["sede-myevent"],children:[t||"-",(0,n.jsx)(f.Z,{href:"https://www.google.com/maps?q=".concat(v,",").concat(h),target:"_blank",children:(0,n.jsx)(y(),{width:44,height:44,src:"/assets/img/icons/map-pin_blue.png",alt:"map pin"})})]}),(0,n.jsx)("h4",{className:B()["name-myevent"],children:o||"-"}),(0,n.jsx)("h5",{className:B()["date-myevent"],children:s?(e=>{let t=e.split(" "),a=t[0].split("/"),n=t[1],s=a[0],o=a[1]-1,i=a[2];return new Date(i,o,s).toLocaleDateString("es-ES",{month:"long",day:"2-digit"}).replace(",","")+" "+n+" Hrs"})(s):i}),(0,n.jsx)("div",{className:B()["line-myevent"]}),(0,n.jsx)("div",{className:B()["body-info"],children:(0,n.jsx)(TicketsRowEvents,{tickets:p,transactionNum:_,is_race:g},r)})]})]}),(0,n.jsx)("div",{className:B()["cont-status"],children:(0,n.jsxs)("div",{className:B()["status-myevent"],children:[S?null:(0,n.jsx)(n.Fragment,{children:"PAGADA"==u?(0,n.jsx)("h4",{className:B()["status-pay"],children:"PAGADO"}
1):"PAGO_REVISION"==u?(0,n.jsx)("h4",{className:B()["status-pay-pendient-bottom"],children:"PENDIENTE DE PAGO"}):null}),(0,n.jsx)(N.Z,{className:B()["btn-send-comp"],style:{color:"#2B2974"},onClick:()=>{handleSendPurchase()},endIcon:(0,n.jsx)("img",{src:"/assets/img/icons/mail_blue.png",alt:"email"}),children:(0,n.jsx)("p",{children:"Enviar comprobante"})})]})})]}),(0,n.jsx)("div",{className:B()["medio-circulo-der"]})]})};let TicketsRowEventsHistory=e=>{let{tickets:t,transactionNum:a,is_race:o}=e,[i,c]=(0,s.useState)(!1);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:B()["transaction-num"],children:[(0,n.jsxs)("p",{children:["TRANSACCION ",a||"-"]}),(0,n.jsxs)("p",{children:[(null==t?void 0:t.length)?null==t?void 0:t.length:"-","\xa0BOLETO(S)",(null==t?void 0:t.length)>4?(0,n.jsx)("button",{className:B()["display-show-button"],onClick:()=>{c(!i)},style:{backgroundImage:"url(".concat(i?"/assets/chevron-up_blue.png":"/assets/chevron-down_blue.png",")")}}):null]})]}),(0,n.jsx)(S.Z,{component:k.Z,elevation:0,children:(0,n.jsx)(Z.Z,{"aria-label":"a dense table",size:"small",className:B()["table-myevent"],children:(0,n.jsx)(E.Z,{children:t.map((e,t)=>(0,n.jsx)(n.Fragment,{children:t>=4&&i||t<4?(0,n.jsx)(n.Fragment,{children:0==o?(0,n.jsxs)(T.Z,{sx:{"td, th":{borderBottom:"1px solid #78788D"}},children:[(0,n.jsx)(z.Z,{align:"left",padding:"none",children:(0,n.jsxs)("div",{className:B()["table-cell-me"],children:[(0,n.jsx)("p",{className:B().param,children:"FILA"}),(0,n.jsx)("p",{className:B()["param-value"],children:e.row_name?e.row_name:"-"})]})}),(0,n.jsx)(z.Z,{align:"left",padding:"none",children:(0,n.jsxs)("div",{className:B()["table-cell-me"],children:[(0,n.jsx)("p",{className:B().param,children:"ZONA"}),(0,n.jsx)("p",{className:B()["param-value"],children:e.price_zone_name?e.price_zone_name:"-"})]})}),(0,n.jsx)(z.Z,{align:"left",padding:"none",children:(0,n.jsxs)("div",{className:B()["table-cell-me"],children:[(0,n.jsx)("p",{className:B().param,children:"ASIENTOS"}),(0,n.jsx)("p",{className:B()["param-value"],children:e.column_name?e.column_name:"-"})]})}),(0,n.jsx)(z.Z,{align:"left",padding:"none",children:(0,n.jsxs)("div",{className:B()["table-cell-me"],children:[(0,n.jsx)("p",{className:B().param,children:"SECCI\xd3N"}),(0,n.jsx)("p",{className:B()["param-value"],children:e.section_name?e.section_name:"-"})]})})]},e.ticket_id):(0,n.jsxs)(T.Z,{sx:{"td, th":{borderBottom:"1px solid #78788D"}},children:[(0,n.jsx)(z.Z,{align:"left",padding:"none",children:(0,n.jsxs)("div",{className:B()["table-cell-me"],children:[(0,n.jsx)("p",{className:B().param,children:"NOMBRE"}),(0,n.jsx)("p",{className:B()["param-value"],children:e.race.runner?e.race.runner:"-"})]})}),(0,n.jsx)(z.Z,{align:"left",padding:"none",children:(0,n.jsxs)("div",{className:B()["table-cell-me"],children:[(0,n.jsx)("p",{className:B().param,children:"CATEGORIA"}),(0,n.jsx)("p",{className:B()["param-value"],children:e.race.category_name?e.race.category_name:"-"})]})}),(0,n.jsx)(z.Z,{align:"left",padding:"none",children:(0,n.jsxs)("div",{className:B()["table-cell-me"],children:[(0,n.jsx)("p",{className:B().param,children:"DISTANCIA"}),(0,n.jsx)("p",{className:B()["param-value"],children:e.race.distance?e.race.distance:"-"})]})})]},e.ticket_id)}):null}))})})})]})},P=(0,g.Z)({mobileContainer:{display:"flex",flexDirection:"column",alignItems:"center"},middleContainer:{display:"flex",flexDirection:"row",alignItems:"top",height:"135px",width:"108%",overflow:"hidden",marginTop:"10px",padding:"10px"},desktopContainer:{display:"flex",flexDirection:"row",alignItems:"top"}});var components_CardMyEventHistory=e=>{let{sede:t,ciudad:a,fecha:s,name:o,tickets:i,status:r,transactionNum:l,presentation:m,number:p,imagen:u,imagenMobile:_,longitud:x,latitud:h,transaction_id:y,is_race:v}=e,g="".concat(d.X1,"/img/notfound/web/sb-w-md.webp"),b=(0,c.Z)("(max-width: 820px)"),j=P();return(0,n.jsxs)(C.Z,{sx:{borderRadius:"0px",marginBottom:"20px",boxShadow:"0px 2px 10px rgba(0, 0, 0, 0.07)"},className:B()["card-myevent-container"],children:[(0,n.jsx)("div",{className:B()["medio-circulo"]}),(0,n.jsx)(M.Z,{className:B()["card-info-myevent"],children:(0,n.jsxs)("div",{className:B()["cont-me"],children:[(0,n.jsx)("div",{className:b?j.middleContainer:j.desktopContainer,children:b?(0,n.jsx)("div",{className:B()["cont-photo-event"],style:{backgroundImage:"url(".concat(_||g,")"),backgroundPosition:"center center",backgroundSize:"cover",borderRadius:"4px"}}):(0,n.jsx)("div",{className:B()["cont-photo-event"],children:u?(0,n.jsx)("img",{loading:"lazy",src:u,alt:"event",style:{height:"100px",width:"100px"}}):(0,n.jsx)("div",{style:{width:"100px"}})})}),(0,n.jsxs)("div",{className:B()["info-cont-myevent-history"],children:[(0,n.jsxs)("h4",{className:B()["sede-myevent"],children:[t||"-",(0,n.jsx)(f.Z,{href:"https://www.google.com/maps?q=".concat(h,",").concat(x),target:"_blank",children:(0,n.jsx)("img",{src:"/assets/img/icons/map-pin_blue.png",alt:"pin map"})})]}),(0,n.jsx)("h4",{className:B()["name-myevent"],children:o||"-"}),(0,n.jsx)("h5",{className:B()["date-myevent"],children:s?(e=>{let t=e.split(" "),a=t[0].split("/"),n=t[1],s=a[0],o=a[1]-1,i=a[2];return new Date(i,o,s).toLocaleDateString("es-ES",{month:"long",day:"2-digit"}).replace(",","")+" "+n+" Hrs"})(s):m}),(0,n.jsx)("hr",{}),(0,n.jsx)("div",{className:B()["body-info"],children:(0,n.jsx)(TicketsRowEventsHistory,{tickets:i,transactionNum:l,is_race:v},y)})]})]})}),(0,n.jsx)("div",{className:B()["medio-circulo-dere"]})]})},D=a(22864),O=a(20709),F=a(32431),q=a.n(F),G=a(62586),L=a.n(G),Events_EmptyMyEvent=e=>{let{btnText:t,onClick:a,children:s}=e;return(0,n.jsxs)("div",{className:q()["empty-event"],children:[s,(0,n.jsx)("div",{className:q()["cont-img-empty"],style:{backgroundImage:"url(".concat("/assets/img/interes/empty-state-search.png",")")},children:(0,n.jsx)("div",{className:p()["text-center"],children:(0,n.jsx)("button",{type:"submit",className:"btn btn-grad-default result-btn-center",onClick:a,children:t})})})]})};let H=(0,g.Z)(()=>({customIndicator:{backgroundColor:"#EF1D49",width:"30% !important",marginLeft:"10%",marginRight:"10%"},movileIndicator:{backgroundColor:"#EF1D49",width:"35% !important",marginLeft:"7.5%",marginRight:"7.5%"}}));function a11yProps(e){return{id:"vertical-tab-".concat(e),"aria-controls":"vertical-tabpanel-".concat(e)}}let U={display:{paddingLeft:0},width:"50%",textAlign:"center !important",padding:"0px !important",fontFamily:'"Poppins", sans serif',"&.Mui-selected":{backgroundColor:"transparent",fontWeight:"600 !important",color:"#504DD3",textDecoration:"none","&:hover":{textDecoration:"none"}},"&:hover":{textDecoration:"underline"}};
1function MyEvents(){let[e,t]=(0,s.useState)(!1),[a,i]=(0,s.useState)(!1),[r,l]=(0,s.useState)(0),d=H(),m=(0,c.Z)("(max-width: 600px)"),u=(0,o.useRouter)(),goToHome=()=>{u.push("/")},[h,y]=(0,s.useState)([]),[g,C]=(0,s.useState)([]);(0,s.useEffect)(()=>{obtenerMisEventos()},[]);let obtenerMisEventos=async()=>{t(!0);let e=await (0,b.ZW)();y(null==e?void 0:e.past_purchases),C(null==e?void 0:e.purchases),t(!1)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(D.default,{show:e}),(0,n.jsxs)(v.Z,{sx:{width:"100%"},children:[(0,n.jsx)(v.Z,{sx:{boxShadow:0},children:(0,n.jsxs)(x.Z,{value:r,onChange:(e,t)=>{l(t)},indicatorColor:m?d.movileIndicator:d.customIndicator,className:p()["tabs-c"],classes:{indicator:m?d.movileIndicator:d.customIndicator},"aria-label":"basic tabs example",sx:{"& button.MuiTab-root":{fontSize:"12px"},width:m?"100%":"40%",borderBottom:1,borderColor:"divider",boxShadow:0},children:[(0,n.jsx)(_.Z,{className:"tab-tab",label:"PR\xd3XIMOS",...a11yProps(0),sx:{...U}}),(0,n.jsx)(_.Z,{className:"tab-tab my-history-tab",label:"HISTORIAL",...a11yProps(1),sx:{...U}})]})}),(0,n.jsx)(w.x,{className:"tab-accordion",value:r,index:0,classes:d,disablePadding:m,children:(0,n.jsx)("div",{className:"cont-cards-me",children:(null==g?void 0:g.length)===0?(0,n.jsx)(Events_EmptyMyEvent,{btnText:"EXPLORAR EVENTOS",onClick:goToHome,children:(0,n.jsxs)("div",{className:q()["evento-empty-me"],children:["En esta secci\xf3n encontrar\xe1s ",(0,n.jsx)("b",{children:"la informaci\xf3n de tus boletos para los eventos a los que asistir\xe1s."})," \xa1Da clic en el bot\xf3n y descubre tu pr\xf3xima experiencia!"]})}):null==g?void 0:g.map((e,t)=>(0,n.jsx)(components_CardMyEvents,{sede:e.venue_name,fecha:e.presentation_date,presentation:e.presentation_name,transaction_id:e.transaction_id,name:e.event_name,tickets:e.tickets,status:e.status,transactionNum:e.transaction_number,cantidad:e.seats_quantity,longitud:e.longitude,latitud:e.latitude,is_race:e.is_race,imagen:e.images&&e.images.app?e.images.app.x1:"",imagenMobile:e.images&&e.images.app?e.images.app.x2:"",openModal:()=>i(!0)},"".concat(t+1)))})}),(0,n.jsx)(w.x,{className:"tab-accordion",value:r,index:1,classes:d,disablePadding:m,children:(0,n.jsx)("div",{className:q()["col-12"],children:(null==h?void 0:h.length)===0?(0,n.jsx)(Events_EmptyMyEvent,{btnText:"EXPLORAR EVENTOS",onClick:goToHome,children:(0,n.jsxs)("div",{className:q()["evento-empty-me"],children:[(0,n.jsx)("b",{children:"\xa1Bienvenido a tu historial de compras!"}),", aqu\xed encontrar\xe1s un listado con todos los conciertos, eventos y actividades que has realizado. Vive emociones nuevas y encuentra una nueva fecha de tu artista o evento favorito dando click en el bot\xf3n."]})}):null==h?void 0:h.map((e,t)=>(0,n.jsx)(components_CardMyEventHistory,{sede:e.venue_name,fecha:e.presentation_date,presentation:e.presentation_name,name:e.event_name,transaction_id:e.transaction_id,transactionNum:e.transaction_number,number:e.seats_quantity,longitud:e.longitude,latitud:e.latitude,tickets:e.tickets,is_race:e.is_race,imagen:e.images&&e.images.app?e.images.app.x1:"",imagenMobile:e.images&&e.images.app?e.images.app.x2:""},"".concat(t+1)))})}),(0,n.jsx)(O.Z,{show:a,onHide:()=>{i(!1)},sx:{marginTop:"70px"},children:(0,n.jsxs)("div",{className:L()["modal-gral-cont"],children:[(0,n.jsxs)("div",{className:L()["modal-header"],children:[(0,n.jsx)("div",{}),(0,n.jsx)(f.Z,{"aria-label":"delete",size:"small",id:"close-icon",onClick:()=>{i(!1)},children:(0,n.jsx)(j.Z,{sx:{fontSize:"20px"}})})]}),(0,n.jsx)("div",{style:{margin:"20px"},children:"\xa1Listo! El comprobante de tu(s) boleto(s) ha sido enviado al correo que tienes registrado."}),(0,n.jsx)("div",{className:L()["body-modal"],children:(0,n.jsx)("div",{className:L()["button-save"],children:(0,n.jsx)(N.Z,{className:L()["button-modal"],style:{paddingLeft:"60px",paddingRight:"60px"},variant:"outlined",onClick:()=>{i(!1)},children:"CERRAR"})})})]})})]})]})}var Events_EventsTabPanel=e=>{let{showHideTabs:t}=e;return(0,n.jsxs)("div",{className:"my-information-tabs-div",children:[(0,n.jsx)(w.x,{value:0,index:0,className:"tab-panel-md ".concat(p().myevents),id:"vertical-tabpanel-0","aria-labelledby":"tab-mis-eventos",disablePadding:t,children:(0,n.jsxs)(v.Z,{sx:{width:"100%"},children:[(0,n.jsx)("h1",{className:p()["mydata-title-text"],style:{color:"#2B2974"},children:"Mis eventos"}),(0,n.jsx)(MyEvents,{})]})}),(0,n.jsx)(w.x,{value:0,index:1,className:"tab-panel-md ".concat(p().mydirections),id:"vertical-tabpanel-1","aria-labelledby":"tab-mis-datos",disablePadding:t,children:(0,n.jsx)("div",{style:{width:"100%"},children:(0,n.jsx)("h1",{className:p()["mydata-title-text"],style:{color:"#2B2974"},children:"Mis datos"})})})]})},V=a(78722);let MyData=()=>{let{regionsList:e}=(0,V.Jv)(),t=(0,r.a)(),a=(0,o.useRouter)(),m=(0,c.Z)("(min-width: 993px) and (max-width: 1260px)"),_=(0,c.Z)("(max-width: 992px)"),[x,h]=(0,s.use
1State)([]),[y,v]=(0,s.useState)("es"),[g,b]=(0,s.useState)(!1),[j,f]=(0,s.useState)(!1),[N,w]=(0,s.useState)(!1);(0,s.useEffect)(()=>{GetEstados()},[e]);let GetEstados=async()=>{var t;let a=null==e?void 0:null===(t=e.es)||void 0===t?void 0:t.filter(e=>"OTRO"!=e.label);h(a)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u.Z,{}),(0,n.jsx)(l.Z,{language:y,setLanguage:v,stateList:x,userFlag:N,resetUserFlag:()=>{w(!1)}}),(0,n.jsx)("div",{style:{background:"ghostwhite"},children:(0,n.jsx)("div",{className:p()["container-mydata"],children:(0,n.jsx)("div",{className:p()["cont-tabs-mydata"],children:(0,n.jsxs)(i.ZP,{container:!0,spacing:3,className:p()["cont-tabs-mydata-grid"],children:[(0,n.jsx)(i.ZP,{item:!0,xs:0,sm:0,md:3,lg:3,className:p()["all-tabs"],style:{display:_?"none":"block"},children:(0,n.jsx)(Events_EventsTabContainer,{handleChange:(e,t)=>{0==t?a.push("/miseventos"):a.push("/miperfil")},handleMisEventosTabClick:()=>{b(!0),f(!1)},handleMisDatosTabClick:()=>{f(!0),b(!1)},titleQuery:m,isMisEventosClicked:g,isMisDatosClicked:j,handleCerrarSesion:()=>{t.closeSession();let e=window.open(d.Wj,"_blank");setTimeout(function(){e.close()},20)}})}),(0,n.jsx)(i.ZP,{item:!0,id:"my-information-tabs",xs:12,sm:12,md:9,lg:9,className:p()["tab-content-me"],children:(0,n.jsx)(Events_EventsTabPanel,{showHideTabs:_})})]})})})})]})};var W=MyData},24650:function(e){e.exports={"container-mydata":"mydata_container-mydata__E_Rr6","credit-card-note":"mydata_credit-card-note__p0FsL","cont-tabs-mydata-grid":"mydata_cont-tabs-mydata-grid__BaL17","empty-card":"mydata_empty-card__xLCRp","mydata-title-text":"mydata_mydata-title-text__tK3zp","cont-img-my-data":"mydata_cont-img-my-data__AZC_E","rounded-circle":"mydata_rounded-circle__wAD9Y","all-tabs":"mydata_all-tabs__mxFtW","cont-tabs-mydata":"mydata_cont-tabs-mydata__fEchD","css-1q2h7u5":"mydata_css-1q2h7u5__aNZNo","cont-button":"mydata_cont-button__BM4nJ","button-close-session":"mydata_button-close-session__vKWFd","vertical-tabs-legals":"mydata_vertical-tabs-legals__hDTG7","tab-title":"mydata_tab-title__I_603","css-1aquho2-MuiTabs-indicator":"mydata_css-1aquho2-MuiTabs-indicator__SGhn7","help-container":"mydata_help-container__8Sz_B","credit-card-alias":"mydata_credit-card-alias__d9iBM","credit-card-name":"mydata_credit-card-name__souAg","credit-card-number":"mydata_credit-card-number__SrucR","credit-card-expiration":"mydata_credit-card-expiration__YQnrF","credit-card-actions":"mydata_credit-card-actions__mCl1E","status-c":"mydata_status-c__bY_0g","status-card":"mydata_status-card__7B91_","actions-card":"mydata_actions-card__QhYM7","css-1w1rijm-MuiButtonBase-root-MuiButton-root":"mydata_css-1w1rijm-MuiButtonBase-root-MuiButton-root__UKrHR","credit-card-container":"mydata_credit-card-container__HNVHm",tarjeta:"mydata_tarjeta__h4xfV","text-center":"mydata_text-center__2TCjW","row-info":"mydata_row-info__iRKj9",detalle:"mydata_detalle__R2aM2","logo-tarjeta":"mydata_logo-tarjeta__eFzxB",numero:"mydata_numero__47XWz",informacion:"mydata_informacion__f1Uv_","button-card":"mydata_button-card__jfikQ","edit-icon":"mydata_edit-icon__L7Tr_",alias:"mydata_alias__NjOWV",nombre:"mydata_nombre__tOuEA",fecha:"mydata_fecha__EGQxO",buttons:"mydata_buttons__wMvc7","tarjeta-nombre":"mydata_tarjeta-nombre__M0N5H","add-credit-card":"mydata_add-credit-card__M87AB","delete-button":"mydata_delete-button__GiUvS","modal-delete-button":"mydata_modal-delete-button__y7sN1","modal-cancel-button":"mydata_modal-cancel-button__Xsc8n","help-cont":"mydata_help-cont__oORBX","action-text":"mydata_action-text__fYPgC","label-text":"mydata_label-text__llnqc","input-mydata":"mydata_input-mydata__Rogn7","value-text":"mydata_value-text__3RG2P","change-pass-icon":"mydata_change-pass-icon__5QbUh","info-text":"mydata_info-text__3CVuV","css-o4b71y-MuiAccordionSummary-content":"mydata_css-o4b71y-MuiAccordionSummary-content__pMBuV","css-i4bv87-MuiSvgIcon-root":"mydata_css-i4bv87-MuiSvgIcon-root__ZZH7B","tab-cont":"mydata_tab-cont__Svzvi","txt-tab":"mydata_txt-tab__OPtdx","css-1nqk2uo-MuiTabs-root":"mydata_css-1nqk2uo-MuiTabs-root__Pt5fB","tabs-c":"mydata_tabs-c__D5ryw","tab-content-me":"mydata_tab-content-me__920Fv","css-1kxfvsb-MuiButtonBase-root-MuiTab-root":"mydata_css-1kxfvsb-MuiButtonBase-root-MuiTab-root__s5a5J","MuiTabs-root":"mydata_MuiTabs-root__LmrqN","Mui-selected":"mydata_Mui-selected__rZfz_","css-heg063-MuiTabs-flexContainer":"mydata_css-heg063-MuiTabs-flexContainer__RMkS_","cont-data-my-data":"mydata_cont-data-my-data__0nMtl","add-card-cont":"mydata_add-card-cont__3hZhQ","css-a5rdam-MuiGrid-root":"mydata_css-a5rdam-MuiGrid-root__g5BC2","my-information-tabs":"mydata_my-information-tabs__nXhhb","css-1o7apob-MuiGrid-root":"mydata_css-1o7apob-MuiGrid-root__ufnpm","makeStyles-customIndicator-1":"mydata_makeStyles-customIndicator-1__G0tOk","cont-data-delete":"mydata_cont-data-delete__2T5Iw","css-rz3x8f-MuiGrid-root":"mydata_css-rz3x8f-MuiGrid-root__gClkE","MuiGrid-item":"mydata_MuiGrid-item__Zjp2M","css-yloaax":"myd
1ata_css-yloaax__9k5YN",mydirections:"mydata_mydirections__I6QAt",myevents:"mydata_myevents__5dTfB","info-cont":"mydata_info-cont__aZ_07","mydata_add-card-cont":"mydata_mydata_add-card-cont__zx7PS","credit-card":"mydata_credit-card__HFYU_","css-1cgx7kx-MuiTabs-scroller":"mydata_css-1cgx7kx-MuiTabs-scroller__1ehBs","css-1g6ltan":"mydata_css-1g6ltan__kBNlE"}},54924:function(e){e.exports={"card-myevent-container":"myeventcard_card-myevent-container__AIZ_F","table-myevent":"myeventcard_table-myevent__9FZI1","medio-circulo":"myeventcard_medio-circulo__3JU_A","medio-circulo-der":"myeventcard_medio-circulo-der__1ryD8","medio-circulo-dere":"myeventcard_medio-circulo-dere__DK5Bm","display-show-button":"myeventcard_display-show-button__nyxIy","card-info-myevent":"myeventcard_card-info-myevent__zHB_y","cont-me":"myeventcard_cont-me__bhCW0","cont-photo-event":"myeventcard_cont-photo-event__Po9mi","empty-img":"myeventcard_empty-img__CAojP","info-cont-myevent":"myeventcard_info-cont-myevent__bOd_d","info-cont-myevent-history":"myeventcard_info-cont-myevent-history__dhA44","sede-myevent":"myeventcard_sede-myevent__pMFSV","name-myevent":"myeventcard_name-myevent__JJk6x","date-myevent":"myeventcard_date-myevent__7YvFR","line-myevent":"myeventcard_line-myevent__PXA_J","css-1ex1afd-MuiTableCell-root":"myeventcard_css-1ex1afd-MuiTableCell-root__whPbI","table-cell-me":"myeventcard_table-cell-me__Gb2xF",param:"myeventcard_param___rnbj","param-value":"myeventcard_param-value__gsaWT","body-info":"myeventcard_body-info__TMcGQ","transaction-num":"myeventcard_transaction-num__hVzbN","cont-status":"myeventcard_cont-status__SqOFp","status-pay":"myeventcard_status-pay__JcARH","status-myevent":"myeventcard_status-myevent__aI7Vb","status-pay-pendient":"myeventcard_status-pay-pendient___bvU5","status-pay-pendient-bottom":"myeventcard_status-pay-pendient-bottom__CNW8F","status-pay-top":"myeventcard_status-pay-top__9ZSNs","btn-send-comp":"myeventcard_btn-send-comp__YOp8S","mydata-title-text":"myeventcard_mydata-title-text__DXUMU","css-9tj150-MuiButton-endIcon":"myeventcard_css-9tj150-MuiButton-endIcon__Wt6Ok","col-12":"myeventcard_col-12__cpiKH","myevent-image-container":"myeventcard_myevent-image-container__obKN_"}},32431:function(e){e.exports={"empty-event":"myevents_empty-event__Z63ff","empty-historial":"myevents_empty-historial__3AMUn","evento-empty-me":"myevents_evento-empty-me__SrTWv","cont-img-empty":"myevents_cont-img-empty__S9V3E","cont-img-empty-historial":"myevents_cont-img-empty-historial__ja4HS"}}},function(e){e.O(0,[4885,5065,5675,8158,1664,5488,7014,8263,5743,120,9849,7492,5373,9774,2888,179],function(){return e(e.s=76269)}),_N_E=e.O()}]);
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.