https://appcasacor.com.br/_next/static/chunks/pages/ticket-purchase-list/[token]-9322e7e44b3e3922.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1200],{89789:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ticket-purchase-list/[token]",function(){return s(20345)}])},67773:function(e,t,s){"use strict";s.r(t);var c=s(85893),a=s(67294),i=s(11163),n=s(21313);let r=()=>{let e=(0,i.useRouter)();return a.useEffect(()=>{setTimeout(()=>{e.replace("/")},5e3)},[e]),(0,c.jsx)("div",{style:{justifyContent:"center",alignItems:"center",display:"flex",height:"100vh"},children:(0,c.jsx)(n.aN,{message:"\xc1rea destinada a compradores com um link de permiss\xe3o para alterar ingressos comprados"})})};t.default=r},20345:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return h},default:function(){return m}});var c=s(85893);s(67294);var a=s(11163),i=s(77058),n=s(32912),r=s(504),l=s(83321);let o=e=>{let t=(0,a.useRouter)(),{t:s,i18n:o}=(0,i.$)("common"),{payerUser:d,orderTicketsPurchases:u=[]}=e,{name:h}=d||{};return(0,c.jsxs)("div",{className:"ticket-purchase-list fade-in-animation",children:[(0,c.jsx)("div",{className:"header",style:{backgroundImage:"url(/NEWBG-HERO3.png)"}}),(0,c.jsxs)("div",{className:"content",children:[(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("section",{className:"d-flex d-flex-column",children:[(0,c.jsx)("h2",{children:" CASACOR / Meus Ingressos "}),(0,c.jsx)("h4",{children:"Ol\xe1 ".concat(h,", ").concat((null==u?void 0:u.length)?"voc\xea possui ".concat(u.length," ingressos que podem ser alterados"):"voc\xea n\xe3o possui ingressos que podem ser alterados")})]})}),(0,c.jsx)("div",{className:"row",children:(0,c.jsx)("div",{className:"tickets-list",children:u.map(e=>(0,c.jsxs)("div",{className:"ticket",onClick:()=>null,children:[(0,c.jsx)("div",{className:"title",children:"Ingresso ".concat(e.ticketPurchase.ticket.title.replace("Ingresso",""))}),(0,c.jsxs)("div",{className:"details",children:[(0,c.jsx)("div",{className:"title",children:"Detalhes da Compra"}),(0,c.jsx)("p",{children:"Valor do ingresso: ".concat((0,r.n)(e.ticketPurchase.value))}),(0,c.jsx)("p",{children:"M\xe9todo de pagamento: ".concat(e.paymentMethod?s("ticket_distribution."+e.paymentMethod):"N\xe3o aplicado")}),(0,c.jsx)("p",{children:"Canal de venda: ".concat(s("ticket_distribution."+e.channel))})]}),(0,c.jsxs)("div",{className:"details",children:[(0,c.jsx)("div",{className:"title",children:"Detalhes do ingresso"}),(0,c.jsx)("p",{children:"Tipo ingresso: ".concat(e.ticketPurchase.ticketType.type)}),(0,c.jsx)("p",{children:"Data da visita: ".concat(e.ticketPurchase.date?(0,n.Z)(new Date(e.ticketPurchase.date),"dd/MM/yyyy HH:mm"):"-")})]}),(0,c.jsxs)("div",{className:"details",children:[(0,c.jsx)("div",{className:"title",children:"Portador"}),(0,c.jsx)("p",{children:"Nome: ".concat(e.ticketPurchase.user.name)}),(0,c.jsx)("p",{children:"Email: ".concat(e.ticketPurchase.user.email)})]}),(0,c.jsx)(l.Z,{onClick:()=>t.push({pathname:t.asPath+"/ticket/".concat(e.ticketPurchase.id),query:{ticket:e.ticketPurchase.ticket.slug}}),children:"Alterar"})]},e._id))})})]})]})};var d=s(67773);let u=e=>e.error?(0,c.jsx)(d.default,{}):(0,c.jsx)(o,{...e});var h=!0,m=u},504:function(e,t,s){"use strict";s.d(t,{n:function(){return n}});var c=s(45332),a=s(50246);let i={pt:{locale:"pt-BR",currency:"BRL"},us:{locale:"en-US",currency:"USD"}};function n(e,t){let s=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!(0,c.Ft)(e))return(0,a.B)({value:s?(parseInt("".concat(e))/100).toString():e.toString(),decimalScale:2,intlConfig:i[t||"pt"]})}}},function(e){e.O(0,[246,9774,2888,179],function(){return e(e.s=89789)}),_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.