PageSourceSearch

https://navisavitravel.com/_next/static/chunks/8028.12c151628f1bf9d6.js

js navisavitravel.com collected 2026-10-09 22:41:49 UTC 8,128 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=(new e.Error).stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="5d0837a5-2764-4c25-a14f-84b95cc3e1f0",e._sentryDebugIdIdentifier="sentry-dbid-5d0837a5-2764-4c25-a14f-84b95cc3e1f0")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8028],{38028:function(e,o,t){t.r(o),t.d(o,{default:function(){return _}});var r=t(62364),i=t(67294),d=t(29496),n=t(41664),a=t.n(n),s=t(11163),c=t(61312),l=t(87536),p=t(31500),h=t(60285),g=t(7877),u=t(98493),m=t(5810),f=t(85918),b=t(81517),w=t(15437),y=t(46347);let x=w.ZP.section.withConfig({componentId:"sc-e4add68-0"})(["width:100%;display:flex;flex-direction:column;gap:",";font-family:",";"],y.W0.dashboardContentGap,y.cp.fontFamily.primary),O=w.ZP.header.withConfig({componentId:"sc-e4add68-1"})(["display:flex;flex-direction:column;gap:",";"],y.W0.formFieldGap),P=w.ZP.h2.withConfig({componentId:"sc-e4add68-2"})(["margin:0;color:",";font-size:",";font-weight:",";line-height:",";"],y.O9.text.primary,y.cp.body.xl,y.cp.weight.bold,y.cp.lineHeight.heading),Z=w.ZP.p.withConfig({componentId:"sc-e4add68-3"})(["margin:0;color:",";font-size:",";font-weight:",";line-height:",";"],y.O9.text.secondary,y.cp.body.md,y.cp.weight.medium,y.cp.lineHeight.body),k=w.ZP.form.withConfig({componentId:"sc-e4add68-4"})(["width:100%;max-width:",";display:flex;flex-direction:column;gap:",";"],y.W0.dashboardNarrowWidth,y.W0.formGap),I=w.ZP.div.withConfig({componentId:"sc-e4add68-5"})(["position:relative;display:flex;flex-direction:column;gap:",";"],y.W0.formFieldGap),v=w.ZP.input.withConfig({componentId:"sc-e4add68-6"})(["width:100%;min-height:",";padding:0 "," 0 ",";border-radius:",";border:1px solid ",";background:",";color:",";font-family:",";font-size:",";font-weight:",";box-sizing:border-box;outline:none;transition:border-color 0.2s ease,background 0.2s ease,box-shadow 0.2s ease;&::placeholder{color:",";}&:focus{border-color:",";background:",";box-shadow:0 0 0 "," ",";}"],y.W0.heroBottomMobile,y.W0.heroBottomMobile,y.W0.cardPaddingMobile,y.W0.radiusInput,e=>{let{$hasError:o}=e;return o?y.O9.border.pinkSoft:y.O9.border.medium},y.O9.background.soft,y.O9.text.primary,y.cp.fontFamily.primary,y.cp.body.md,y.cp.weight.medium,y.O9.text.muted,y.O9.border.pinkSoft,y.O9.background.panel,y.W0.formFieldGap,y.O9.shadow.pink),C=w.ZP.button.withConfig({componentId:"sc-e4add68-7"})(["position:absolute;right:",";top:",";width:",";height:",";padding:0;border:1px solid transparent;border-radius:",";background:transparent;color:",";display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background 0.2s ease,border-color 0.2s ease,color 0.2s ease;&:hover{background:",";border-color:",";color:",";}"],y.W0.formFieldGap,y.W0.formFieldGap,y.W0.dashboardPageTop,y.W0.dashboardPageTop,y.W0.radiusButton,y.O9.text.secondary,y.O9.background.panel,y.O9.border.medium,y.O9.text.primary),W=w.ZP.p.withConfig({componentId:"sc-e4add68-8"})(["margin:0;color:",";font-size:",";font-weight:",";line-height:",";"],y.O9.brand.pink,y.cp.body.sm,y.cp.weight.semibold,y.cp.lineHeight.body),S=w.ZP.div.withConfig({componentId:"sc-e4add68-9"})(["padding:",";border:1px solid ",";border-radius:",";background:",";"],y.W0.cardPaddingCompact,y.O9.border.soft,y.W0.radiusCard,y.O9.background.soft),z=w.ZP.ul.withConfig({componentId:"sc-e4add68-10"})(["margin:0;padding:0;list-style:none;display:grid;gap:",";"],y.W0.formFieldGap),F=w.ZP.li.withConfig({componentId:"sc-e4add68-11"})(["position:relative;padding-left:",";color:",";font-size:",";font-weight:",";line-height:",";&::before{content:",";position:absolute;left:0;color:",";font-weight:",";}"],y.W0.cardPaddingCompact,e=>{let{$isValid:o}=e;return o?y.O9.text.primary:y.O9.text.muted},y.cp.body.sm,e=>{let{$isValid:o}=e;return o?y.cp.weight.semibold:y.cp.weight.medium},y.cp.lineHeight.body,e=>{let{$isValid:o}=e;return o?"'✓'":"'•'"},e=>{let{$isValid:o}=e;return o?y.O9.brand.pink:y.O9.text.muted},y.cp.weight.bold),B=w.ZP.button.withConfig({componentId:"sc-e4add68-12"})(["align-self:flex-start;min-height:",";padding:0 ",";border:1px solid ",";border-radius:",";background:",";color:",";display:inline-flex;align-items:center;justify-content:center;font-family:",";font-size:",";font-weight:",";cursor:pointer;box-shadow:0 1.4rem 3rem ",";transition:transform 0.2s ease,box-shadow 0.2s ease,opacity 0.2s ease;&:hover:enabled{transform:translateY(-1px);box-shadow:0 1.8rem 4rem ",";}&:disabled{opacity:0.55;cursor:not-allowed;box-shadow:none;}@media (max-width:640px){width:100%;}"],y.W0.heroBottomMobile,y.W0.cardPadding,y.O9.border.pinkSoft,y.W0.radiusButton,y.O9.brand.pink,y.O9.text.inverse,y.cp.fontFamily.primary,y.cp.button.lg,y.cp.weight.semibold,y.O9.shadow.pink,y.O9.shadow.pinkHover),G=w.ZP.div.withConfig({componentId:"sc-e4add68-13"})(["width:100%;padding:"," ",";border:1px solid ",";border-radius:",";background:",";color:",";font-size:",";font-weight:",";line-height:",";box-sizing:border-box;"],y.W0.formGroupGap,y.W0.cardPaddingMobile,y.O9.border.pinkSoft,y.W0.radiusCard,y.O9.background.soft,y.O9.brand.pink,y.cp.body.sm,y.cp.weight.semibold,y.cp.lineHeight.body),E=w.ZP.div.withConfig({componentId:"sc-e4add68-14"})(["margin:0;color:",";font-size:",";font-weight:",";line-height:",";a{margin-left:",";color:",";font-weight:",";text-decoration:none;}a:hover{text-decoration:underline;}"],y.O9.text.secondary,y.cp.body.sm,y.cp.weight.medium,y.cp.lineHeight.body,y.W0.formFieldGap,y.O9.brand.pink,y.cp.weight.semibold);var _=e=>{let{register:o,handleSubmit:t,formState:{errors:n,isSubmitting:w},watch:y,reset:_,setError:D}=(0,l.cI)(),H=(0,s.useRouter)(),{clearCart:M}=(0,m.iQ)(),{authChannel:N,changePassword:X}=(0,f.a)(),[A,T]=(0,i.useState)(!1),[U,$]=(0,i.useState)(null),[j,Q]=(0,i.useState)(""),[V,J]=(0,i.useState)({active:!1,message:""});(0,i.useEffect)(()=>{(null===g.I||void 0===g.I?void 0:g.I.currentUser)?$(g.I.currentUser):(0,u.T)(H,M)},[M,H]);let L=async e=>{if(Q(""),!U||!U.email){Q("User not available.");return}try{if(U.providerData.some(e=>"password"===e.providerId)){let o=b.w9.credential(U.email,e.currentPassword);await (0,b.aF)(U,o),await (0,b.gQ)(U,e.newPassword),await X(U.uid),(0,d.yv)("Password updated successfully!",{variant:"success"}),null==N||N.postMessage({type:"SESSION_INVALIDATED",timestamp:Date.now()}),H.push("/")}else{let o=b.w9.credential(U.email,e.newPassword);await (0,b.ZJ)(U,o),(0,d.yv)("Password created successfully!",{variant:"success"})}_()}catch(e){R(e)}},R=e=>{(null==e?void 0:e.code)==="auth/invalid-credential"?D("currentPassword",{type:"manual",message:"Incorrect current password"}):(Q("Something went wrong."),(0,d.yv)("Please try again.",{variant:"error"}))};if(V.active)return(0,r.tZ)(c.Z,{message:V.message});let Y=y("newPassword");return(0,r.BX)(x,{children:[(0,r.BX)(O,{children:[(0,r.tZ)(P,{children:"Change password"}),(0,r.tZ)(Z,{children:"Update your password to keep your account secure."})]}),j&&(0,r.tZ)(G,{children:j}),(0,r.BX)(k,{onSubmit:t(L),children:[(0,r.BX)(I,{children:[(0,r.tZ)(v,{type:"password",placeholder:"Current password",$hasError:!!n.currentPassword,...o("currentPassword")}),n.currentPassword&&(0,r.tZ)(W,{children:n.currentPassword.message})]}),(0,r.BX)(I,{children:[(0,r.tZ)(v,{type:A?"text":"password",placeholder:"New password",$hasError:!!n.newPassword,...o("newPassword")}),(0,r.tZ)(C,{type:"button",onClick:()=>T(!A),"aria-label":A?"Hide password":"Show password",children:A?(0,r.tZ)(p.Z,{}):(0,r.tZ)(h.Z,{})})]}),Y&&(0,r.tZ)(S,{children:(0,r.tZ)(z,{children:[{regex:/[a-z]/,text:"One lowercase letter"},{regex:/[A-Z]/,text:"One uppercase letter"},{regex:/\d/,text:"One number"},{regex:/[^a-zA-Z0-9]/,text:"One special character"},{regex:/^.{6,}$/,text:"Minimum 6 characters"}].map(e=>(0,r.tZ)(F,{$isValid:e.regex.test(Y),children:e.text},e.text))})}),(0,r.tZ)(B,{type:"submit",disabled:w,children:w?"Changing...":"Change password"})]}),(0,r.BX)(E,{children:["Forgot password?",(0,r.tZ)(a(),{href:"/reset-password",children:"Click here"})]})]})}}}]);

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.