PageSourceSearch

https://www.nuestrocine.mx/_next/static/chunks/pages/account/payments-87c82d592ad3d175.js

js nuestrocine.mx collected 2026-10-04 02:15:24 UTC 1,830 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[570],{7991:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/payments",function(){return r(7640)}])},7640:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return f}});var t=r(5893),s=r(7294),a=r(1163),o=r(1057),c=r(812),i=r(6699);function l(){let e=(0,s.useContext)(c.Z);var n,r=null;async function a(){var n;if(!(null===(n=e.user)||void 0===n?void 0:n.paymentSRC))try{let n=await (0,i.Hx)(e.token);if("Success"===n.status){r=window.open(n.url,"_blank","width=500,height=500");let t=setInterval(()=>{r?r.closed&&(clearInterval(t),e.refreshProfile()):(clearInterval(t),e.refreshProfile())},500)}else console.error("Failed to get payment URL")}catch(e){console.error("Error fetching payment popup URL:",e)}}return(0,s.useEffect)(()=>{a()},[]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{id:"account-form",className:"account-form",children:[(0,t.jsx)("h1",{children:"Tus formas de pago"}),(null===(n=e.user)||void 0===n?void 0:n.paymentSRC)?(0,t.jsx)("div",{className:"legend",children:"Forma de pago configurada."}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"legend",children:"No hay una forma de pago configurada."}),(0,t.jsx)("button",{className:"button filled",onClick:a,children:"Registrar forma de pago"})]})]})})}var u=r(8678),d=r(270);function f(){let e=(0,s.useContext)(c.Z),n=(0,a.useRouter)(),{authenticated:r,loading:i}=(0,d.Z)();return(0,s.useEffect)(()=>{i||r||n.push("/login")},[e.user,i,n]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(u.Z,{children:(0,t.jsx)("div",{className:"accountContainer",children:(0,t.jsxs)("div",{className:"content",children:[(0,t.jsx)(o.Z,{}),(0,t.jsx)(l,{})]})})})})}}},function(e){e.O(0,[571,5675,1664,6024,8678,1057,9774,2888,179],function(){return e(e.s=7991)}),_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.