PageSourceSearch

https://www.dhanalakshmijewellery.in/_next/static/chunks/pages/profile/GoldPlanResponse-450a205249acae7a.js

js dhanalakshmijewellery.in collected 2026-10-02 01:58:15 UTC 4,652 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7907],{9754:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/GoldPlanResponse",function(){return s(34857)}])},15268:function(e,t,s){"use strict";var a=s(87066),i=s(43812);let n=i.BUILDER_URL,l=e=>{let{job_id:t,endpoint:s,payload:l,responseData:r,errorMsg:o}=e,c=JSON.stringify(l),d=JSON.stringify(o),p={responseData:JSON.stringify({job_id:t,endpoint:s,payLoad:c,responseData:r,error:d})};(0,i.isDevelopment)()||a.Z.post("".concat(n,"/error-log"),p).then(e=>{200===e.status&&console.log("Success response",e.data)}).catch(e=>{})};t.Z=l},73658:function(e,t,s){"use strict";var a=s(85893),i=s(67294),n=s(733),l=s.n(n),r=s(37351),o=s(25675),c=s.n(o);let d=()=>{let e=(0,i.useContext)(r.ThemeContext),[t,s]=(0,i.useState)("");return((0,i.useEffect)(()=>{e.splashLogo&&""!==e.splashLogo&&s(e.splashLogo)},[e]),t)?(0,a.jsx)("div",{className:"flex justify-center items-center py-40",children:(0,a.jsx)(c(),{width:144,height:144,src:t,alt:"Loading",className:"w-36 h-36 object-contain"})}):(0,a.jsx)("div",{className:"w-full h-full flex justify-center items-center py-40",children:(0,a.jsx)(l(),{type:"spinningBubbles",color:"#000000",height:"10%",width:"10%"})})};t.Z=d},34857:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return m}});var a=s(85893),i=s(67294),n=s(11163),l=s(82940),r=s(43495),o=s(73658);s(41664),s(733);var c=s(68015),d=s(15268);let p=()=>{let e=(0,n.useRouter)(),t=(0,l.b)(),{jboId:s}=(0,c.useJobId)(),[p,m]=(0,i.useState)(!1),[h,u]=(0,i.useState)(!1),[x,g]=(0,i.useState)(!0),f=localStorage.getItem("subscriber_id");(0,i.useEffect)(()=>{let a=async()=>{let a=localStorage.getItem("savings_scheme_ledger_id"),i={savings_scheme_ledger_id:a};try{let n=await t.post("/savings_scheme/makePaymentResponse",i);1===n.data.status?(m(!0),localStorage.removeItem("savings_scheme_ledger_id")):u(!0)}catch(o){var l;let r=(null==o?void 0:null===(l=o.response)||void 0===l?void 0:l.data)?o.response.data:"";(0,d.Z)({job_id:s,endpoint:"/savings_scheme/makePaymentResponse",payload:i,responseData:r,errorMsg:o}),e.push("/profile/GoldPlans")}finally{g(!1)}};a()},[e]);let y=t=>{e.push("/profile/GoldPlans")},v={hidden:{opacity:0,y:50},visible:{opacity:1,y:0,transition:{type:"spring",stiffness:120,duration:.5}}},b={hidden:{scale:.6,opacity:0},visible:{scale:1,opacity:1,transition:{delay:.2,type:"spring",stiffness:200}}},_={hidden:{x:-20,opacity:0},visible:{x:0,opacity:1,transition:{delay:.4}}},j={hover:{scale:1.05,boxShadow:"0px 10px 20px rgba(0, 0, 0, 0.2)",transition:{duration:.3,yoyo:1/0}}};return x?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(o.Z,{})}):h?(0,a.jsxs)(r.E.div,{className:"flex flex-col items-center justify-center bg-white p-6 mb-6",variants:v,initial:"hidden",animate:"visible",children:[(0,a.jsx)(r.E.img,{src:"https://cdn-icons-png.flaticon.com/512/753/753345.png",alt:"Payment Failed",className:"w-48 h-48 md:w-64 md:h-64 mx-auto mb-8",variants:b}),(0,a.jsx)(r.E.h1,{className:"text-2xl lg:text-4xl font-semibold text-red-600",variants:_,children:"Payment Failed!"}),(0,a.jsx)(r.E.p,{className:"text-lg text-center text-gray-600 mt-4 mb-8",variants:_,children:"Your payment could not be processed. Please try again or contact support."}),(0,a.jsx)(r.E.div,{className:"flex space-x-4",variants:_,children:(0,a.jsx)(r.E.button,{onClick:()=>e.push("/profile/GoldPlans"),className:"bg-primary text-white py-3 px-8 rounded-full text-lg font-semibold shadow-lg cursor-pointer hover:bg-primary",variants:j,whileHover:"hover",children:"Go to Gold Plans"})})]}):p?(0,a.jsxs)(r.E.div,{className:"flex flex-col items-center justify-center bg-white p-6 mb-6",variants:v,initial:"hidden",animate:"visible",children:[(0,a.jsx)(r.E.img,{src:"https://okcredit-blog-images-prod.storage.googleapis.com/2020/12/payment3.jpg",alt:"Payment Success",className:"w-72 h-60 md:w-96 md:h-80 mx-auto mb-8",variants:b}),(0,a.jsx)(r.E.h1,{className:"text-2xl lg:text-4xl font-semibold text-gray-800",variants:_,children:"Payment Successful!"}),(0,a.jsx)(r.E.p,{className:"text-lg text-center text-gray-600 mt-4 mb-8",variants:_,children:"Your Payment for the Gold plan has been received and successfully processed."}),(0,a.jsx)(r.E.div,{className:"flex space-x-4",variants:_,children:(0,a.jsx)("span",{onClick:()=>y(f),children:(0,a.jsx)(r.E.a,{className:"bg-primary text-white py-3 px-8 rounded-full text-lg font-semibold shadow-lg cursor-pointer hover:bg-primary",variants:j,whileHover:"hover",children:"View Plans"})})})]}):null};var m=!0;t.default=p}},function(e){e.O(0,[7066,3495,5675,1664,733,17,2940,9774,2888,179],function(){return e(e.s=9754)}),_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.