1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1e3],{18983:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(37876),s=a(77328),l=a.n(s),n=a(89099);function i(e){let{title:t,description:a,canonical:s,keywords:i,schema:o}=e,c=(0,n.useRouter)();return(0,r.jsxs)(l(),{children:[(0,r.jsx)("title",{children:t||"OtoSOR"}),(0,r.jsx)("meta",{name:"description",content:a||"OtoSOR"}),(0,r.jsx)("meta",{name:"keywords",content:i}),(0,r.jsx)("link",{rel:"canonical",href:s||"".concat("https://www.otosor.com.tr").concat(c.asPath)}),o]})}},24595:(e,t,a)=>{"use strict";a.d(t,{BD:()=>n,Fq:()=>s,G$:()=>r,OQ:()=>l,vx:()=>i});let{usePutApiV2PortalAccountV1Mutation:r,usePostApiV2PortalAccountV1Mutation:s,useDeleteApiV2PortalAccountV1Mutation:l,usePutApiV2PortalAccountV1ChangePasswordMutation:n,usePostApiV2PortalAccountV1ForgetPasswordMutation:i,usePostApiV2PortalAccountV1UploadProfilePictureMutation:o,useGetApiV2PortalAccountV1GetProfilePictureQuery:c,useLazyGetApiV2PortalAccountV1GetProfilePictureQuery:d,useDeleteApiV2PortalAccountV1DeleteProfilePictureMutation:u}=a(14559).F.injectEndpoints({endpoints:e=>({putApiV2PortalAccountV1:e.mutation({query:e=>({url:"/api/v2/portal/account/v1",method:"PUT",body:e.body,headers:{Authorization:e.authorization}})}),postApiV2PortalAccountV1:e.mutation({query:e=>({url:"/api/v2/portal/account/v1",method:"POST",body:e.body})}),deleteApiV2PortalAccountV1:e.mutation({query:e=>({url:"/api/v2/portal/account/v1",method:"DELETE",headers:{Authorization:e.authorization}})}),putApiV2PortalAccountV1ChangePassword:e.mutation({query:e=>({url:"/api/v2/portal/account/v1/change-password",method:"PUT",body:e.body,headers:{Authorization:e.authorization}})}),postApiV2PortalAccountV1ForgetPassword:e.mutation({query:e=>({url:"/api/v2/portal/account/v1/forget-password",method:"POST",body:e.body})}),postApiV2PortalAccountV1UploadProfilePicture:e.mutation({query:e=>({url:"/api/v2/portal/account/v1/upload-profile-picture",method:"POST",body:e.body})}),getApiV2PortalAccountV1GetProfilePicture:e.query({query:()=>({url:"/api/v2/portal/account/v1/get-profile-picture"})}),deleteApiV2PortalAccountV1DeleteProfilePicture:e.mutation({query:()=>({url:"/api/v2/portal/account/v1/delete-profile-picture",method:"DELETE"})})}),overrideExisting:!1})},65227:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/sifremi-unuttum",function(){return a(71419)}])},71419:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>x,default:()=>m});var r=a(37876),s=a(31192),l=a(14232),n=a(944),i=a(80915),o=a(97464),c=a(24595),d=a(18983),u=a(49038);function p(e){let{maxWidth:t,height:a,steps:s,currentStep:l,vertical:n,onChange:i,wide:o=!1}=e;return(0,r.jsx)("div",{className:"scrollbar ".concat(n?"flex-col items-center justify-start":"flex-row items-start justify-center"," flex gap-2 overflow-x-auto pt-2"),style:{height:a||"100px",maxWidth:t,width:"100%"},children:s.map((e,t)=>(0,r.jsxs)("div",{className:"flex items-center gap-2 ".concat(n?"flex-col":"flex-row"," "),children:[0!==t&&(0,r.jsxs)("div",{className:"flex ".concat(n?"flex-col":"flex-row"),children:[(0,r.jsx)("div",{className:"".concat(n?"h-5 w-[2px]":"h-[2px] rounded-full ".concat(o?"w-10":"w-5")," ").concat(t<=l+1?"bg-main-dark":"bg-border-grey-primary")}),(0,r.jsx)("div",{className:"".concat(n?"h-5 w-[2px]":"h-[2px] rounded-full ".concat(o?"w-10":"w-5")," ").concat(t<=l+1?"bg-main-dark":"bg-border-grey-primary")})]}),(0,r.jsxs)("div",{className:"relative flex cursor-pointer flex-col items-center ".concat(n?"justify-center":"justify-start"),onClick:()=>{l>=t&&i(t)},children:[(0,r.jsx)("span",{className:"flex h-6 w-6 items-center justify-center rounded-full ".concat(t<=l?"bg-main-dark":"bg-border-grey-primary"," text-12 font-semibold text-white"),children:t+1<=l?(0,r.jsx)(u.CMH,{size:12}):t+1}),(0,r.jsxs)("div",{className:"absolute !w-fit ".concat(n?"left-10 items-center":"top-10 items-center"," flex flex-col justify-center items-center"),children:[(0,r.jsx)("span",{className:"text-center leading-24 text-14 text-grey-primary ".concat(t===l?"font-bold ":"font-medium"," !w-full min-w-[100px]"),children:e.title}),e.description&&(0,r.jsx)("span",{className:"text-center text-12 leading-16 text-grey-secondary".concat("font-regular"),children:e.description})]})]})]},t))})}var x=!0;function m(e){var t,a;let{profileData:u,pageData:x}=e,[m,g]=(0,l.useState)(0),[h,y]=(0,l.useState)(""),[f,b]=(0,l.useState)(""),[v,w]=(0,l.useState)(""),[j,N]=(0,l.useState)(!1),[k,A]=(0,l.useState)(""),[S,C]=(0,l.useState)(""),[_,P]=(0,l.useState)(""),[z,E]=(0,l.useState)({}),[T,V]=(0,l.useState)(120),[O]=(0,c.vx)();(0,l.useEffect)(()=>{let e;return 1===m&&T>0?e=setInterval(()=>{V(e=>e-1)},1e3):0===T&&clearInterval(e),()=>clearInterval(e)},[T,m]);let B=async()=>{try{var e,t;V(120);let a=await O({body:{identityNo:h,clientInformation:{clientId:"string",deviceName:D(),deviceType:I(),remoteAddr:"string"}}}).unwrap();(null==(e=a.data)?void 0:e.type)=="S"?alert("SMS tekrar g\xf6nderildi."):(null==(t=a.data)?void 0:t.type)=="E"&&alert("SMS g\xf6nderimi ba
1Åarısız oldu.")}catch(e){console.error("Resend Error:",e)}};function D(){return navigator.userAgent||"Unknown Device"}function I(){let e=navigator.userAgent||"Unknown";return/mobile/i.test(e)?"Mobile":/tablet/i.test(e)?"Tablet":"Desktop"}let F=async()=>{N(!0),b(""),w("");try{var e,t,a,r,s,l,n,i,o;if(0!==m||(!h||11!==h.length||isNaN(h)?(E({tcNumber:"Ge\xe7erli bir TC Kimlik Numarası giriniz."}),1):(E({}),0)))if(1!==m||(k&&6===k.length?(E({}),0):(E({verificationCode:"Ge\xe7erli bir doÄrulama kodu giriniz."}),1))){if(2===m&&(!S||S.length<6?(E({password:"Åifre en az 6 karakter olmalıdır."}),!1):S!==_?(E({passwordre:"Åifreler eÅleÅmiyor."}),!1):(E({}),!0))){let e=await O({body:{identityNo:h,smsCode:k,newPassword:S,newPasswordValidate:_,clientInformation:{clientId:"string",deviceName:D(),deviceType:I(),remoteAddr:"string"}}}).unwrap();(null==(n=e.data)?void 0:n.type)=="S"?(w("Åifre BaÅarıyla DeÄiÅtirildi. GiriÅ Sayfasına Y\xf6nlendiriliyorsunuz."),setTimeout(()=>{window.location.href="/giris-yap"},4e3)):(null==(i=e.data)?void 0:i.type)=="E"&&b(null==(o=e.data)?void 0:o.errorMessage)}}else{let e=await O({body:{identityNo:h,smsCode:k,clientInformation:{clientId:"string",deviceName:D(),deviceType:I(),remoteAddr:"string"}}}).unwrap();(null==(r=e.data)?void 0:r.type)=="S"?g(2):(null==(s=e.data)?void 0:s.type)=="E"&&b(null==(l=e.data)?void 0:l.errorMessage)}else{let r=await O({body:{identityNo:h,clientInformation:{clientId:"string",deviceName:D(),deviceType:I(),remoteAddr:"string"}}}).unwrap();(null==(e=r.data)?void 0:e.type)=="S"?g(1):(null==(t=r.data)?void 0:t.type)=="E"&&b(null==(a=r.data)?void 0:a.errorMessage)}}catch(e){console.error(e),b("Bir hata oluÅtu, l\xfctfen tekrar deneyin.")}finally{N(!1)}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.A,{title:null==x?void 0:x.browser_title,description:null==x?void 0:x.meta_description,canonical:null==x?void 0:x.canonical_url,keywords:null==x?void 0:x.meta_keywords}),(0,r.jsx)(n.Q,{items:[{label:"",href:"/"},{label:"Åifremi Unuttum",href:"/sifremi-unuttum"}]}),(0,r.jsx)("div",{className:"profile-inner mx-auto flex max-w-[1280px] flex-col items-start justify-start gap-8 px-4 py-8 lg:flex-row lg:py-16",children:(0,r.jsxs)("div",{className:"flex w-full flex-col items-center justify-between gap-8 lg:flex-row",children:[0==m&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"w-full lg:w-5/12",children:[(null==u||null==(t=u.data)?void 0:t.c_forgot_password_title)&&(0,r.jsx)("h1",{className:"mb-4 text-24 font-bold leading-9 text-main-dark lg:text-36 lg:leading-[48px]",children:u.data.c_forgot_password_title}),(null==u||null==(a=u.data)?void 0:a.c_forgot_password_description)&&(0,r.jsx)("p",{className:"mb-4 text-16 leading-[24px] text-main-dark",children:u.data.c_forgot_password_description}),(0,r.jsxs)("div",{className:"flex flex-col items-start justify-start gap-6",children:[0===m&&(0,r.jsx)(i.A,{value:h,name:"tcNumber",type:"number",placeholder:"TC Kimlik Numarası",onChange:e=>y(e),maxLength:"11",touched:!!z.tcNumber,errorMessage:z.tcNumber}),(0,r.jsx)(s.A,{dark:!0,className:"!w-full",onClick:F,loading:j,children:2===m?"Onayla":"Devam Et"})]}),f&&(0,r.jsx)("div",{className:"alert alert-error mt-2 rounded bg-red-100 p-4 text-red-600",children:f}),v&&(0,r.jsx)("div",{className:"alert alert-success mt-4 rounded bg-green-100 p-4 text-green-800",children:v})]}),(0,r.jsx)("div",{className:"hidden w-full lg:block lg:w-7/12",children:(0,r.jsx)("img",{src:"/assets/images/uye-girisi.png",alt:"\xdcye Ol",className:"h-auto w-full",style:{maxWidth:"50%",margin:"0 auto"}})})]}),(1==m||2==m)&&(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-[480px] flex-col items-center justify-center",children:[(0,r.jsx)(p,{steps:[{title:"DoÄrulama Kodunu Girin",description:null},{title:"Åifre OluÅturun",description:null}],currentStep:m-1,height:"120px",onChange:e=>g(e+1),wide:!0}),1===m&&(0,r.jsx)("h1",{className:"my-4 text-center text-22 font-bold leading-[36px] text-main-dark md:text-28",children:"Telefonunuza g\xf6nderilen doÄrulama kodunu girin"}),2===m&&(0,r.jsx)("h1",{className:"my-4 text-center text-22 font-bold leading-[48px] text-main-dark md:text-36",children:"Yeni Åifre OluÅturun"}),1===m&&(0,r.jsx)(o.A,{length:6,setPin:e=>A(e),button:(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center gap-1",children:[(0,r.jsx)("p",{className:"color-black text-16 font-medium",children:T>0?(e=>{let t=Math.floor(e/60);return"0".concat(String(t),":").concat(String(e%60).padStart(2,"0"))})(T):"S\xfcre Doldu"}),0===T?(0,r.jsx)("p",{className:"cursor-pointer text-center text-14 text-main-dark",onClick:B,children:"Tekrar G\xf6nder"}):(0,r.jsx)("p",{className:"text-center text-14 text-[#B0BABF]",children:"Tekrar G\xf6nder"})]})}),2===m&&(0,r.jsxs)("div",{className:"flex w-full flex-col gap-6",children:[(0,r.jsx)(i.A,{value:S,name:"password",type:"text",placeholder:"Yeni Åifre",onChange:e=>C(e),touched:!!z.password,errorMessage:z.password}),(0,r.jsx)(i.A,{value:_,name:"passwordre",type:"text",placeholder:"Yeni Åifre Tekrar",onChange:e=>P(e),touched:!!z.passwordre,errorMessage:z.passwordre})]}),(0,r.jsx)(s.A,{dark:!0,className:"mt-6 !w-full",onClick:F,loading:j,children:1===m?"DoÄrula":"Onayla"}),f&&(0,r.jsx)("div",{className:"alert alert-error mt-2 rounded bg-red-100 p-4 text-red-600",children:f}),v&&(0,r.jsx)("div",{className:"alert alert-success mt-4 rounded bg-green-100 p-4 text-green-800",children:v})]})]})})]})}},80915:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var r=a(37876),s=a(54260),l=a(14232),n=a(77164),i=a(64366),o=a(1879);function c(e){let{value:t,name:a,type:c,placeholder:d,touched:u,errorMessage:p,onChange:x,showCloseIcon:m,maxLength:g,optional:h,onBlur:y,uppercase:f,showCurrencyIcon:b,validation:v,disabled:w,showTooltip:j,showSearchIcon:N,...k}=e,[A,S]=(0,l.useState)(!1),[C,_]=(0,l.useState)(!1);return(0,r.jsxs)("div",{className:"relative h-full min-h-fit w-full",children:["text"===c&&(0,r.jsxs)("div",{className:"relative h-[42px] w-full",children:[(0,r.jsx)("input",{...k,type:"password"===a||"passwordre"===a||"passwordreagain"===a?A?"text":"password":"text",name:a,value:t,onBlur:y||(()=>console.log("onBlur")),disabled:w,onChange:e=>{let r=e.target.value,s=e.target.selectionStart;(!g||r.length<=g||r.length<=t.length)&&(x(f?r.toUpperCase():r,a),b&&setTimeout(()=>{if(e.target){let t=(r.slice(0,s).match(/\./g)||[]).length,a=e.target.value,l=(a.slice(0,s+(a.match(/\./g)||[]).length-t).match(/\./g)||[]).length,n=s+l-t;e.target.setSelectionRange(n,n)}},0))},placeholder:d,className:"h-[42px] w-full rounded-lg border pr-5 focus:border-main-primary focus:outline-none ".concat(u&&p?"border-surface-error-primary":"border-border-grey-primary"," ").concat(b?"pl-9":N?"pl-12":"pl-5"," password-input disabled:bg-white")}),(0,r.jsxs)("div",{className:"absolute right-3 top-1/2 flex -translate-y-1/2 gap-x-2",children:[m&&t.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{className:"active:opacity-80",onClick:()=>{x("",a)},children:(0,r.jsx)(i.A,{className:"text-icon-grey-secondary"})}),("password"===a||"passwordre"===a||"passwordreagain"===a)&&(0,r.jsx)("span",{className:"h-6 w-[1px] bg-border-grey-primary"})]}),("password"===a||"passwordre"===a||"passwordreagain"===a)&&(0,r.jsx)("button",{className:"active:opacity-80",onClick:()=>{S(!A)},children:A?(0,r.jsx)(n.r5C,{size:24,className:"text-icon-grey-secondary"}):(0,r.jsx)(n.gZc,{size:24,className:"text-icon-grey-secondary"})})]}),h&&(0,r.jsx)("span",{className:"absolute right-3 top-1/2 flex -translate-y-1/2 gap-x-2 text-12 text-grey-400",children:"opsiyonel"}),b&&(0,r.jsx)("span",{className:"absolute left-5 top-1/2 flex -translate-y-1/2 gap-x-2 text-18",children:"âº"}),N&&(0,r.jsx)("span",{className:"absolute left-5 top-1/2 z-50 flex -translate-y-1/2 gap-x-2 text-18",children:(0,r.jsx)(o.A,{className:"text-icon-grey-secondary"})})]}),"number"===c&&(0,r.jsxs)("div",{className:"relative h-[42px] w-full",children:[(0,r.jsx)("input",{...k,type:"number",value:t,name:a,onBlur:y||(()=>console.log("onBlur")),disabled:w,onChange:e=>{if(g){let t=e.target.value;t.length<=g&&x(t,a)}else x(e.target.value,a)},onKeyDown:e=>{("e"===e.key||"E"===e.key||"+"===e.key||"-"===e.key)&&e.preventDefault()},placeholder:d,className:"h-[42px] w-full rounded-lg border pr-5 focus:border-main-primary focus:outline-none ".concat(u&&p?"border-surface-error-primary":"border-border-grey-primary"," ").concat(b?"pl-9":"pl-5"," password-input disabled:bg-white")}),(0,r.jsx)("div",{className:"absolute right-3 top-1/2 flex -translate-y-1/2 gap-x-2",children:m&&t.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{className:"active:opacity-80",onClick:()=>{x("",a)},children:(0,r.jsx)(i.A,{className:"text-icon-grey-secondary"})}),"password"===a&&(0,r.jsx)("span",{className:"h-6 w-[1px] bg-border-grey-primary"})]})}),h&&(0,r.jsx)("span",{className:"absolute right-3 top-1/2 flex -translate-y-1/2 gap-x-2 text-12 text-grey-400",children:"opsiyonel"}),b&&(0,r.jsx)("span",{className:"absolute left-5 top-1/2 flex -translate-y-1/2 gap-x-2 text-18",children:"âº"})]}),"tel"===c&&(0,r.jsxs)("div",{className:"relative h-[42px] w-full",children:[(0,r.jsx)("input",{...k,type:c,value:t,name:a,maxLength:17,onBlur:e=>{y&&(y(e),_(!1))},disabled:w,onFocus:()=>{j&&_(!0)},onChange:e=>{v?x(v(e.target.value),a):x((0,s.n4)(e.target.value),a)},placeholder:d,className:"h-[42px] w-full rounded-lg border px-5 focus:border-main-primary focus:outline-none ".concat(u&&p?"border-surface-error-primary":"border-border-grey-primary"," disabled:bg-white")}),m&&t.length>0&&(0,r.jsx)("button",{className:"absolute right-3 top-1/2 -translate-y-1/2 active:opacity-80",onClick:()=>{x("",a)},children:(0,r.jsx)(i.A,{size:24,className:"text-icon-grey-secondary"})}),h&&(0,r.jsx)("span",{className:"absolute right-3 top-1/2 flex -translate-y-1/2 gap-x-2 text-12 text-grey-400",children:"opsiyonel"}),j&&(0,r.jsx)("div",{className:"tooltip ".concat(C?"open":""," absolute rounded-lg bg-[#698CAE] p-4 text-14 leading-6 text-white"),style:{zIndex:500},children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"absolute -bottom-5 h-3 w-3 rotate-45 bg-[#698CAE]"}
1),(0,r.jsx)("p",{children:"Findeks sorgulamasının yapılabilmesi i\xe7in bankacılık sistemine kayıtlı cep telefonu numaranıza gelen mesaja onay vermeniz gerekmektedir. Bu onayı verirken mesajda tarif edildiÄi gibi verdiÄinizden emin olunuz. Aksi halde talebiniz deÄerlendirmeye alınmayacaktır."})]})})]}),"textarea"===c&&(0,r.jsxs)("div",{className:"relative w-full",children:[(0,r.jsx)("textarea",{...k,type:"password"===a||"passwordre"===a||"passwordreagain"===a?A?"text":"password":"text",name:a,value:t,onBlur:y||(()=>console.log("onBlur")),disabled:w,onChange:e=>{if(g){let t=e.target.value;t.length<=g&&(f?x(t.toUpperCase(),a):x(t,a))}else f?x(e.target.value.toUpperCase(),a):x(e.target.value,a)},placeholder:d,className:"w-full rounded-lg border py-2 pr-5 focus:border-main-primary focus:outline-none ".concat(u&&p?"border-surface-error-primary":"border-border-grey-primary"," ").concat(b?"pl-9":"pl-5"," password-input disabled:bg-white")}),(0,r.jsxs)("div",{className:"absolute right-3 top-1/2 flex -translate-y-1/2 gap-x-2",children:[m&&t.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{className:"active:opacity-80",onClick:()=>{x("",a)},children:(0,r.jsx)(i.A,{className:"text-icon-grey-secondary"})}),("password"===a||"passwordre"===a||"passwordreagain"===a)&&(0,r.jsx)("span",{className:"h-6 w-[1px] bg-border-grey-primary"})]}),("password"===a||"passwordre"===a||"passwordreagain"===a)&&(0,r.jsx)("button",{className:"active:opacity-80",onClick:()=>{S(!A)},children:A?(0,r.jsx)(n.r5C,{size:24,className:"text-icon-grey-secondary"}):(0,r.jsx)(n.gZc,{size:24,className:"text-icon-grey-secondary"})})]}),h&&(0,r.jsx)("span",{className:"absolute right-3 top-1/2 flex -translate-y-1/2 gap-x-2 text-12 text-grey-400",children:"opsiyonel"}),b&&(0,r.jsx)("span",{className:"absolute left-5 top-1/2 flex -translate-y-1/2 gap-x-2 text-18",children:"âº"})]}),u&&p&&(0,r.jsx)("div",{className:"flex items-center gap-x-1",children:(0,r.jsx)("p",{className:"text-12 leading-5 tracking-[-0.13px] text-surface-error-primary",children:p})})]})}}},e=>{e.O(0,[4938,253,636,6593,8792],()=>e(e.s=65227)),_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.