PageSourceSearch

https://www.yashojewellers.com/_next/static/chunks/pages/auth/ForgotPassword-5e4cd05ea282400b.js

js yashojewellers.com collected 2026-10-02 01:52:40 UTC 5,055 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8002],{41527:function(t,e,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/ForgotPassword",function(){return a(60604)}])},14762:function(t,e,a){"use strict";var n=a(85893),s=a(67294),i=a(43495),r=a(8193);let o=t=>{let{isOpen:e,type:a,title:o,subText:c,onConfirm:l,onClose:u,autoClose:d,confirmLabel:p="Confirm",cancelLabel:m="Cancel",showConfirmButton:f=!0,showCancelButton:h=!0,showCloseIcon:x=!0}=t,g=(0,s.useRef)(),[w,y]=(0,s.useState)(!0);(0,s.useEffect)(()=>{let t;return e&&d&&(t=setTimeout(u,1e3*d)),()=>clearTimeout(t)},[e,d,u]),(0,s.useEffect)(()=>{let t=t=>{g.current&&!g.current.contains(t.target)&&u()};return e?document.addEventListener("mousedown",t):document.removeEventListener("mousedown",t),()=>document.removeEventListener("mousedown",t)},[e,u]),(0,s.useEffect)(()=>{e&&y(!0)},[e]);let _=async()=>{await l(),y(!1)};return e?(0,n.jsxs)("div",{className:"fixed inset-0 flex items-center justify-center z-[9999] px-4 py-6 sm:px-0 ",children:[(0,n.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 transition-opacity"}),(0,n.jsxs)(i.E.div,{ref:g,className:"bg-white p-6 rounded-xl font-primary shadow-2xl relative z-10 w-full max-w-md ",initial:{opacity:0,y:-50},animate:{opacity:1,y:0},exit:{opacity:0,y:50},transition:{duration:.5,ease:"easeInOut"},children:[(0,n.jsx)(i.E.div,{className:"absolute inset-x-0 -top-8 flex justify-center",initial:{y:-20,opacity:0},animate:{y:0,opacity:1},transition:{duration:.7,ease:"easeInOut"},children:(0,n.jsx)("div",{className:"bg-white w-20 h-20 rounded-full flex items-center justify-center",children:(()=>{switch(a){case"success":return(0,n.jsx)(r.KP3,{className:"text-green-600 h-10 w-10"});case"error":return(0,n.jsx)(r.SV5,{className:"text-red-600 h-10 w-10"});case"warning":return(0,n.jsx)(r.SR5,{className:"text-yellow-600 h-10 w-10"});case"info":return(0,n.jsx)(r.ocf,{className:"text-blue-600 h-10 w-10"});default:return null}})()})}),x&&(0,n.jsx)("button",{onClick:u,className:"absolute top-3 right-3 text-gray-500 hover:text-gray-700",children:(0,n.jsx)(r.SV5,{className:"h-6 w-6"})}),(0,n.jsxs)("div",{className:"text-center mt-10",children:[(0,n.jsx)("h2",{className:"text-xl md:text-2xl font-semibold",children:o}),(0,n.jsx)("p",{className:"text-gray-600 mt-2",children:c})]}),w&&(h||f)&&(0,n.jsxs)("div",{className:"flex justify-center space-x-4 mt-6",children:[h&&(0,n.jsx)("button",{className:"bg-gray-500 hover:bg-gray-600 text-white px-4 py-2 rounded-full transition-all duration-200 ease-in-out",onClick:u,children:m}),f&&(0,n.jsx)("button",{className:"bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-full transition-all duration-200 ease-in-out",onClick:_,children:p})]}),d&&(0,n.jsx)("div",{className:"mt-6 h-1 w-full bg-gray-100 rounded overflow-hidden relative",children:(0,n.jsx)(i.E.div,{className:"h-full bg-primary absolute left-0 top-0",initial:{width:"0%"},animate:{width:"100%"},transition:{ease:"linear",duration:d}})})]})]}):null};e.Z=o},15268:function(t,e,a){"use strict";var n=a(87066),s=a(43812);let i=s.BUILDER_URL,r=t=>{let{job_id:e,endpoint:a,payload:r,responseData:o,errorMsg:c}=t,l=JSON.stringify(r),u=JSON.stringify(c),d={responseData:JSON.stringify({job_id:e,endpoint:a,payLoad:l,responseData:o,error:u})};(0,s.isDevelopment)()||n.Z.post("".concat(i,"/error-log"),d).then(t=>{200===t.status&&console.log("Success response",t.data)}).catch(t=>{})};e.Z=r},4422:function(t,e,a){"use strict";var n=a(67294),s=a(82940),i=a(87066),r=a(37351);let o=()=>{let t="#";for(let e=0;e<6;e++)t+="0123456789ABCDEF"[Math.floor(16*Math.random())];return t},c=()=>{let t=new Date,e="".concat(t.getFullYear()).concat((t.getMonth()+1).toString().padStart(2,"0")).concat(t.getDate().toString().padStart(2,"0")).concat(t.getHours().toString().padStart(2,"0")).concat(t.getMinutes().toString().padStart(2,"0")).concat(t.getSeconds().toString().padStart(2,"0"));return e+o()},l=t=>{let e=(0,s.b)(),a=(0,n.useContext)(r.ThemeContext),o=async()=>{if(1===a.siteStatus){let n={};try{let s=await i.Z.get("https://api.ipify.org?format=json"),r=await i.Z.get("https://ipapi.co/".concat(s.data.ip,"/json/"));n=r.data}catch(u){console.warn("Failed to fetch IP details from ipapi.co. Trying fallback...");try{let o=await i.Z.get("https://ipwhois.app/json/");n=o.data}catch(l){console.warn("Failed to fetch IP details from fallback service. Proceeding without IP data.")}}let d={ipDetails:JSON.stringify(n),reference:window.location.hostname,track:"track",page:window.location.href,method:"open",page_type:t,UID:"",scode:c()};try{await e.post("user/tracking",d)}catch(p){console.error("Error sending tracking data:",p)}}else console.error("Tracking not enabled due to site status.")};return o};e.Z=l},17913:function(t){t.exports={input_group:"Form_input_group__ShipD",input_text:"Form_input_text__8qG1u",button:"Form_button__Jsx6p",button_custom:"Form_button_custom__DNuz8"}}},function(t){t.O(0,[4617,5445,6556,7066,3495,5675,1664,733,17,2940,4504,9774,2888,179],function(){return t(t.s=41527)}),_N_E=t.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.