PageSourceSearch

https://simpleenergy.in/_next/static/chunks/pages/testRideAndBooki…/modifyBooking/success-49bf1450c1c934ae.js

js simpleenergy.in collected 2026-10-01 13:52:30 UTC 8,107 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8707],{1589:(e,o,s)=>{"use strict";s.d(o,{A:()=>u});var n=s(37876),i=s(14232),l=s(93134),t=s.n(l),a=s(11394),r=s(45416),c=s(98504),d=s(47326);let u=e=>{let{message:o,description:s,onClick:l,iconColor:u,buttonText:_,isLoading:m,showButton:h=!1,simpleLogoData:p,href:v}=e,[g,b]=(0,i.useState)(!1),[x]=(0,i.useState)(!1);return(0,i.useEffect)(()=>(x?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"}),[x]),(0,n.jsx)("div",{className:t().mainContainer,children:(0,n.jsxs)("div",{className:t().userDashboardContainer,children:[(0,n.jsx)(d.A,{isOpen:g,setIsOpen:b,simpleLogoData:p}),(0,n.jsx)("div",{className:t().confirmationContainer,children:m?(0,n.jsx)("div",{className:t().content,children:(0,n.jsx)(c.A,{height:"500px"})}):(0,n.jsxs)("div",{className:t().content,children:[(0,n.jsx)(a.A,{fill:u}),o&&(0,n.jsx)("h2",{children:o}),s&&(0,n.jsx)("p",{children:s}),h?(0,n.jsx)(r.A,{className:t().button,onClick:l,href:v,children:_}):""]})})]})})}},11394:(e,o,s)=>{"use strict";s.d(o,{A:()=>i});var n=s(37876);s(14232);let i=e=>{let{fill:o,width:s,height:i}=e;return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s||"20",height:i||"20",viewBox:"0 0 20 20",fill:"none",children:[(0,n.jsx)("path",{d:"M13.7811 8.23621C14.0252 7.99213 14.0252 7.59641 13.7811 7.35233C13.5371 7.10825 13.1413 7.10825 12.8973 7.35233L8.75586 11.4937L7.11447 9.85233C6.87039 9.60825 6.47466 9.60825 6.23058 9.85233C5.98651 10.0964 5.98651 10.4921 6.23058 10.7362L7.85442 12.3601C7.92639 12.4321 8.00442 12.5101 8.07749 12.5722C8.1602 12.6424 8.27668 12.7279 8.43397 12.779C8.64318 12.847 8.86854 12.847 9.07775 12.779C9.23504 12.7279 9.35152 12.6424 9.43423 12.5722C9.5073 12.5101 9.58533 12.4321 9.65729 12.3601L13.7811 8.23621Z",fill:o||"#18E575"}),(0,n.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.3164 10.0029C18.3164 14.5927 14.5956 18.3135 10.0059 18.3135C5.41607 18.3135 1.69531 14.5927 1.69531 10.0029C1.69531 5.41314 5.41607 1.69238 10.0059 1.69238C14.5956 1.69238 18.3164 5.41314 18.3164 10.0029ZM17.0664 10.0029C17.0664 13.9024 13.9053 17.0635 10.0059 17.0635C6.10643 17.0635 2.94531 13.9024 2.94531 10.0029C2.94531 6.1035 6.10643 2.94238 10.0059 2.94238C13.9053 2.94238 17.0664 6.1035 17.0664 10.0029Z",fill:o||"#18E575"})]})}},24497:e=>{e.exports={menuBar:"mobileBar_menuBar___CkmY",open:"mobileBar_open__5m6Vg",menuTopBar:"mobileBar_menuTopBar__h80Kc",logo:"mobileBar_logo__LoMlU",menuIcons:"mobileBar_menuIcons__26EzS",icons:"mobileBar_icons__CGTAk",pageContent:"mobileBar_pageContent__jdNhF",menuPage:"mobileBar_menuPage__IigD8",active:"mobileBar_active__x_AS5",product:"mobileBar_product__TwjkN",productDetails:"mobileBar_productDetails__wNlb_",desc:"mobileBar_desc__2w9KI",rightArrow:"mobileBar_rightArrow__iyDnV",line:"mobileBar_line__4joTm",userOptions:"mobileBar_userOptions__Ovx1n",optionList:"mobileBar_optionList__8Dr_G",optionListFirst:"mobileBar_optionListFirst__9fVLh",backdrop:"mobileBar_backdrop__5Y3YH",modalOverlay:"mobileBar_modalOverlay__Xeyed",modalContent:"mobileBar_modalContent__hLZJZ",modalClose:"mobileBar_modalClose__jiJbZ",modalTitle:"mobileBar_modalTitle__xfSo0",modalDescription:"mobileBar_modalDe
1scription__3ZqP3",signOutButton:"mobileBar_signOutButton__IG_6z",disabled:"mobileBar_disabled__J_gIo"}},47326:(e,o,s)=>{"use strict";s.d(o,{A:()=>x});var n=s(37876),i=s(8942),l=s(45416),t=s(39091),a=s(77922),r=s(2638),c=s(56853),d=s(54587),u=s.n(d),_=s(89099),m=s(14232),h=s(31777),p=s(51569),v=s(24497),g=s.n(v);let b=[{path:"/user-dashboard",title:"User details"},{path:"/testRideAndBookings",title:"Test rides & bookings"},{path:"/subscriptions",title:"Subscriptions"},{path:"/support-tickets",title:"Support Tickets"},{path:"/faq",title:"Frequently Asked Questions"}],x=e=>{var o,s,d,v,x,C,j,B;let{isOpen:f,setIsOpen:k,simpleLogoData:N,hasActiveOrder:A}=e,w=(0,_.useRouter)(),L=(0,h.d4)(e=>null==e?void 0:e.auth),T=null==L?void 0:L.userId,[y,I]=(0,m.useState)(null),{mutate:E}=(0,t.Tn)(a.aP,"/order",null!=(j=null==L?void 0:L.accessToken)?j:"",p.envConfig.NEXT_PUBLIC_API_GATEWAY_PUBLIC_X_API_KEY,e=>{var o,s;I((null!=(s=null==e||null==(o=e.getUserOrders)?void 0:o.data)?s:[]).length>0)},()=>{I(!1)});(0,m.useEffect)(()=>{T&&(null==L?void 0:L.accessToken)&&E({userId:T})},[T,null==L?void 0:L.accessToken,E]);let O=null!==y?y:null!=A&&A,P=b.filter(e=>"/subscriptions"===e.path||!!O||"Support Tickets"===e.title||"Frequently Asked Questions"===e.title),S=(0,h.wA)(),Y=(0,h.d4)(e=>null==e?void 0:e.auth),[D,Z]=(0,m.useState)(!1),{mutate:U}=(0,t.Tn)(a.rt,"/user",null!=(B=null==Y?void 0:Y.accessToken)?B:"",p.envConfig.NEXT_PUBLIC_API_GATEWAY_PUBLIC_X_API_KEY,e=>{var o;(0,c.Zx)(null==e||null==(o=e.signOut)?void 0:o.message),S((0,r.q0)()),w.push("/")});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"".concat(g().backdrop," ").concat(f?g().open:""),onClick:()=>k(!1)}),(0,n.jsxs)("div",{className:"".concat(g().menuBar," ").concat(f?g().open:""),children:[(0,n.jsxs)("div",{className:g().menuTopBar,children:[(0,n.jsx)("div",{className:g().logo,children:(0,n.jsx)(u(),{src:(null==N||null==(s=N.simpleLogo)||null==(o=s.Logo)?void 0:o.url)||"",alt:"logo",width:(null==N||null==(v=N.simpleLogo)||null==(d=v.Logo)?void 0:d.width)||120,height:(null==N||null==(C=N.simpleLogo)||null==(x=C.Logo)?void 0:x.height)||24})}),(0,n.jsx)("div",{className:g().menuIcons,children:(0,n.jsx)("div",{className:g().icons,onClick:()=>k(!1),children:(0,n.jsx)(u(),{src:i.i.closeIcon,alt:"close",height:24})})})]}),(0,n.jsxs)("div",{className:g().pageContent,children:[(0,n.jsx)("div",{className:g().menuPage,children:(0,n.jsx)("ul",{children:P.map((e,o)=>(0,n.jsx)("li",{className:w.pathname===e.path?g().active:"",onClick:()=>{w.push(null==e?void 0:e.path)},children:null==e?void 0:e.title},o))})}),(0,n.jsx)("div",{className:g().line}),(0,n.jsx)("div",{className:g().userOptions,children:(0,n.jsxs)("div",{className:"".concat(g().optionList," ").concat((null==L?void 0:L.isAuthenticated)?"":g().disabled),onClick:()=>{(null==L?void 0:L.isAuthenticated)&&Z(!0)},children:[(0,n.jsx)(u(),{src:i.i.AvatarMalepng,alt:"user"}),(0,n.jsx)("h3",{children:"Sign-out"})]})})]})]}),D&&(0,n.jsx)("div",{className:g().modalOverlay,children:(0,n.jsxs)("div",{className:g().modalContent,children:[(0,n.jsx)("button",{className:g().modalClose,onClick:()=>Z(!1),children:(0,n.jsx)(u(),{src:i.i.closeIcon,alt:"close",height:24})}),(0,n.jsxs)("div",{className:g().modalTitle,children:["Are you ",(0,n.jsx)("br",{}),"sure You to ",(0,n.jsx)("br",{})," sign out?"]}
1),(0,n.jsxs)("div",{className:g().modalDescription,children:["You can sign back in anytime to access your account and continue where you ",(0,n.jsx)("br",{})," left off"]}),(0,n.jsx)(l.A,{className:g().signOutButton,onClick:()=>{U({refreshToken:null==Y?void 0:Y.refreshToken,userId:null==Y?void 0:Y.userId}),Z(!1)},children:"Yes, sign out"})]})})]})}},51561:(e,o,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/testRideAndBookings/modifyBooking/success",function(){return s(56161)}])},56161:(e,o,s)=>{"use strict";s.r(o),s.d(o,{__N_SSP:()=>c,default:()=>d});var n=s(37876),i=s(1589),l=s(89099),t=s(14232),a=s(31777),r=s(57187),c=!0;let d=e=>{let{simpleLogoData:o}=e,s=(0,l.useRouter)(),c=(0,a.wA)();return(0,t.useEffect)(()=>{c((0,r.Ne)())},[c]),(0,t.useEffect)(()=>{let e=()=>{s.push("/testRideAndBookings")};return window.history.pushState(null,"",s.asPath),window.addEventListener("popstate",e),()=>{window.removeEventListener("popstate",e)}},[s]),(0,n.jsx)(i.A,{message:"Your scooter booking is modified Successfully !",description:"Once all your background check is done by the company, we will give you a call back .",buttonText:"Done",iconColor:"green",href:"/testRideAndBookings",showButton:!0,simpleLogoData:o})}},93134:e=>{e.exports={confirmationContainer:"confirmation_confirmationContainer__LdYyY",content:"confirmation_content__9TTLg",button:"confirmation_button__tHC8l",contentLoader:"confirmation_contentLoader__GAI3L"}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=51561)),_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.