1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7966],{47017:function(o,e,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account",function(){return l(58658)}])},58658:function(o,e,l){"use strict";l.r(e);var t=l(85893),n=l(67294),a=l(41664),i=l.n(a),c=l(2502),r=l(11163);e.default=o=>{var e,l,a;let{AppClient:s,isMobile:d}=o,u=[{id:"1",icon:"azPerson",text:null==s?void 0:s.Translate("PersonalInfo"),fill:"#0D222E",location:"/account/personal-information"},{id:"2",icon:"azCheckMark",text:null==s?void 0:s.Translate("PersonalAccountVerification"),fill:"#333333",location:"/account/verify"},{id:"3",icon:"azBell",text:null==s?void 0:s.Translate("NotificationPermissions"),size:22,color:"#0D222E",location:"/account/notification-permission"},{id:"4",icon:"azPulK\xf6\xe7\xfcr",text:null==s?void 0:s.Translate("TransferMoney"),color:"#414141",fill:"#414141",location:"/account/transfer-money"},{id:"5",icon:"azPulG\xf6t\xfcr",text:null==s?void 0:s.Translate("WithdrawMoney"),color:"#414141",fill:"#414141",location:"/account/withdraw-money"},{id:"6",icon:"azClock1",text:null==s?void 0:s.Translate("History"),fill:"#333333",location:"/account/history"},{id:"7",icon:"promocodeTicket",text:null==s?void 0:s.Translate("Promocode"),fill:"#333333",color:"#414141",size:20,location:"/account/promocode"},{id:"8",icon:"azEmail",text:null==s?void 0:s.Translate("Inbox"),fill:"#0D222E",location:"/account/messages"},{id:"9",icon:"azPassword",text:null==s?void 0:s.Translate("ChangePassword"),fill:"#333333",location:"/account/change-password"},{id:"10",icon:"azPersonX",text:null==s?void 0:s.Translate("AccountSuspension"),fill:"#0D222E",location:"/account/deactivate"}],x=[{id:"1",icon:"azPerson",text:null==s?void 0:s.Translate("PersonalInfo"),fill:"#0D222E",location:"/account/personal-information"},{id:"2",icon:"azCheckMark",text:null==s?void 0:s.Translate("PersonalAccountVerification"),fill:"#333333",location:"/account/verify"},{id:"3",icon:"azBell",text:null==s?void 0:s.Translate("NotificationPermissions"),fill:"#0D222E",size:22,location:"/account/notification-permission"},{id:"10",icon:"azPersonX",text:null==s?void 0:s.Translate("AccountSuspension"),color:"#0D222E",location:"/account/deactivate"}],{pathname:f}=(0,r.useRouter)(),{scrollContainerRef:p,activeLinkRef:m}=(0,c.hGT)(f),[v,h]=(0,n.useState)(""),z=null==s?void 0:null===(e=s.AppData)||void 0===e?void 0:e.details,b=(null==z?void 0:z.approvalStatus)==="APPROVED"?u.filter(o=>"2"!==o.id):u,g=(null==z?void 0:z.approvalStatus)==="APPROVED"?x.filter(o=>"2"!==o.id):x;return(0,t.jsx)(t.Fragment,{children:d?(0,t.jsx)("div",{ref:p,className:"flex w-full gap-x-1.5 md:gap-x-2 overflow-x-auto scrollbar-none pl-4 m-auto mr-break-out pr-break-out mt-3 mb-5 md:hidden",children:null==g?void 0:g.map(o=>(0,t.jsx)("div",{children:(0,t.jsx)(i(),{id:"mobileAccountLinksNotification",href:o.location,ref:f===o.location?m:null,className:"block w-max text-xs md:text-base p-2 md:p-3 font-medium text-azBlue bg-sky rounded-md md:rounded-lg ".concat(f===o.location?"border border-azBlue":""),children:o.text})},o.id))}):(0,t.jsxs)("div",{className:"min-w-60 max-md:hidden",children:[(0,t.jsxs)("div",{className:"bg-azBlack flex items-center gap-1.5 pt-3 pb-2.5 px-2 rounded-t",children:[(0,t.jsx)(c.JO$,{name:(null==z?void 0:z.profilePhoto)||"/assets/default-user.png",size:54,className:"rounded-full border border-[#333333] height-revert"}),(0,t.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("p",{className:"text-sm/[17px] font-semibold text-white",children:z?"".concat(null==z?void 0:z.firstName," ").concat(null==z?void 0:z.lastName):"-"}),(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("span",{className:"text-xxs/[15px] text-white",children:null==s?void 0:s.Translate("Balance:")}),(0,t.jsx)("p",{className:"text-xxs/[15px] font-semibold text-white w-max",children:z?"".concat((0,c.lt1)(null==s?void 0:null===(a=s.AppData)||void 0===a?void 0:null===(l=a.details)||void 0===l?void 0:l.totalAmount)," AZN"):"-"})]})]})]}),(0,t.jsx)("div",{className:"flex flex-col gap-1 rounded-b-[5px] pt-2.5 border-l border-r border-b border-pastelBlue p-[3px]",children:null==b?void 0:b.map((o,e)=>{let{location:l,icon:n,color:a,fill:r,text:s,size:d}=o||{},u=v===l||f.includes(l),x="\n ".concat(u?a?"stroke-azBlue":"fill-azBlue":"","\n ").concat(u?"":a?"group-hover:stroke-azBlue":"group-hover:fill-azBlue","\n ").trim(),p="\n ".concat(u?a?"fill-azBlue stroke-azBlue":"stroke-azBlue":"","\n ").concat(u?"":a?"group-hover:fill-azBlue group-hover:stroke-azBlue":"group-hover:stroke-azBlue","\n ").trim();return(0,t.jsxs)(i(),{href:l,onClick:()=>h(l),className:"bg-sky flex items-center gap-2.5 py-[11px] pl-3.5 group rounded-sm ".concat(u?"text-azBlue":""),children:[(0,t.jsx)(c.JO$,{name:n,size:d||20,color:a,fill:r,ext1:x,ext2:x,ext3:p}),(0,t.jsx)("p",{className:"text-xxs/[14px] font-semibold ".concat(u?"text-azBlue":"text-#231F20"," group-hover:text-azBlue"),suppressHydrationWarning:!0,children:s||"Default Text"})]},e)})})]})})}}},function(o){o.O(0,[2888,9774,179],function(){return o(o.s=47017)}),_N_E=o.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.