PageSourceSearch

https://vantevo.io/_next/static/chunks/pages/dashboard/payments-3c9a572d9974e4d3.js

js vantevo.io collected 2026-10-03 19:01:33 UTC 5,161 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7279],{3184:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/payments",function(){return s(57362)}])},57362:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return b}});var n=s(34051),a=s.n(n),i=s(85893),c=s(5152),l=s.n(c),r=s(11163),x=s(67294),d=s(36038),o=s(91903),u=s(65865),m=s(75398),f=s(20558),h=s(30381),p=s.n(h),w=s(16651);function v(e,t,s,n,a,i,c){try{var l=e[i](c),r=l.value}catch(x){return void s(x)}l.done?t(r):Promise.resolve(r).then(n,a)}var j=l()((function(){return s.e(2526).then(s.bind(s,52526))}),{loadableGenerated:{webpack:function(){return[52526]}},ssr:!1});function b(e){e=null!==e?e:function(e){throw e}(new TypeError("Cannot destructure undefined"));var t,s=(0,r.useRouter)(),n=(0,x.useContext)(w.A),c=n.t,l=n.lang,h=(0,f.ak)("type",s.asPath),b=(0,x.useState)(!0),N=b[0],g=b[1],y=(0,x.useState)(!1),_=y[0],k=y[1],E=(0,x.useState)({}),Y=E[0],C=E[1],M=(0,x.useState)({}),S=M[0],P=M[1],D=(0,x.useState)({page_views:0,events:0,domains:0}),T=D[0],z=D[1],X=(0,x.useCallback)((t=a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,m.EH)(m.Xf,{type:h&&"upgrade"==h?"active-last":"last"});case 2:if(!(t=e.sent)||200!=t.status){e.next=12;break}if(C(t.subscription||{}),!(h&&"upgrade"==h&&t.subscription.end_date<p()().unix())){e.next=8;break}return window.location="/sites/account-settings",e.abrupt("return",!1);case 8:z({page_views:t.page_views,events:t.events,domains:t.domains}),P(t.userInfo),e.next=13;break;case 12:k(!0);case 13:g(!1);case 14:case"end":return e.stop()}}),e)})),function(){var e=this,s=arguments;return new Promise((function(n,a){var i=t.apply(e,s);function c(e){v(i,n,a,c,l,"next",e)}function l(e){v(i,n,a,c,l,"throw",e)}c(void 0)}))}),[]);return(0,x.useEffect)((function(){return X(),function(){}}),[X]),(0,i.jsxs)(d.Z,{children:[(0,i.jsx)(o.Z,{title:c.tseo_payments,description:c.dseo_payments,url:"/sites/checkout",index:"none",lang:l}),(0,i.jsxs)("div",{className:"container mx-auto",children:[(0,i.jsx)("div",{className:"w-full max-w-2xl mx-auto flex flex-col md:flex-row flex-wrap justify-center items-center px-4 py-2 sticky top-0 bg-white z-10 rounded-md shadow-md",children:(0,i.jsxs)("div",{className:"flex flex-row w-full justify-between",children:[(0,i.jsxs)("a",{href:"/sites/account-settings",className:"text-left flex flex-row items-center space-x-1 cursor-pointer",children:[(0,i.jsx)("span",{children:(0,i.jsx)(u.hf,{className:"fill-current",strokeWidth:2,width:25,height:25})}),(0,i.jsx)("h3",{className:"capitalize",children:c.settings})]}),(0,i.jsx)("div",{className:"text-right",children:(0,i.jsx)("h3",{className:"text-lg",children:"Checkout"})})]})}),(0,i.jsx)("div",{className:"w-full max-w-2xl mx-auto mt-2",children:_&&(0,i.jsx)("div",{className:"flex flex-col md:flex-row flex-wrap justify-center items-center px-4 py-2 bg-red-200 z-10 rounded-md shadow-md",children:(0,i.jsx)("p",{className:"text-sm font-bold text-center text-black my-2",children:c.error1})})}),N&&(0,i.jsx)("div",{className:"w-full h-full flex justify-center items-center mt-12",children:(0,i.jsx)(u.F8,{color:"#000",width:30,height:30})}),!N&&!_&&(0,i.jsxs)("div",{className:"grid grid-rows gap-3 w-full md:max-w-2xl mx-auto my-0 mt-2",children:[(0,i.jsxs)("div",{className:"container-blocks",children:[!Y.free&&(0,i.jsx)("p",{className:"text-lg text-center my-3 text-black",children:c.plan}),Y.free&&(0,i.jsx)("p",{className:"text-lg text-center my-3 text-black",children:c.free_plan}),(0,i.jsxs)("div",{className:"flex flex-col space-x-0 space-y-3 md:flex-row md:space-x-3 md:space-y-0",children:[(0,i.jsxs)("div",{className:"flex flex-col w-full md:w-1/3 justify-between items-center bg-white shadow-md min-h-[100px] py-2",children:[(0,i.jsx)("p",{className:"text-vantevo text-lg",children:Y.pageviews}),(0,i.jsx)("p",{className:"text-black text-sm",children:c.views_month})]}),(0,i.jsxs)("div",{className:"flex flex-col w-full md:w-1/3 justify-between items-center bg-white shadow-md min-h-[100px] py-2",children:[(0,i.jsx)("p",{className:"text-vantevo text-lg",children:T.domains}),(0,i.jsx)("p",{className:"text-black text-sm",children:c.proprety_domain})]}),(0,i.jsxs)("div",{className:"flex flex-col w-full md:w-1/3 justify-between items-center bg-white shadow-md min-h-[100px] py-2",children:[(0,i.jsx)("p",{className:"".concat(Y.end_date>p()().unix()?"text-vantevo dark:text-white":"text-red-500"," text-lg"),children:p().unix(Y.end_date).format("it"==l.toLowerCase()?"DD MMM YYYY":"MMM DD, YYYY")}),(0,i.jsx)("p",{className:"text-black text-sm",children:c.expired})]})]}),(0,i.jsxs)("div",{className:"mt-3",children:[(0,i.jsx)("p",{className:"text-base text-black",children:c.info1}),(0,i.jsx)("p",{children:c.info2}),(0,i.jsx)("p",{className:"text-black mt-2",dangerouslySetInnerHTML:{__html:c.info3}})]})]}),(0,i.jsx)(j,{t:c,infoAccount:S,activeSubscription:Y,tab:h&&"upgrade"==h?2:1,lastPageviews:T.page_views})]})]})]})}}},function(e){e.O(0,[4885,2233,1664,5152,5865,558,8180,9774,2888,179],(function(){return t=3184,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.