PageSourceSearch

https://my.emofid.com/_next/static/chunks/1803-7eb064769b82706d.js

js emofid.com collected 2026-09-25 22:02:17 UTC 17,450 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d216d05e-cf04-4e1a-902c-f26206f11da1",e._sentryDebugIdIdentifier="sentry-dbid-d216d05e-cf04-4e1a-902c-f26206f11da1")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1803],{48747:(e,t,s)=>{s.d(t,{A:()=>O});var a=s(37876),r=s(14232),l=s(54587),i=s.n(l),n=s(10118),d=s(55655),o=s(88609),c=s(87630),m=s(78986),x=s(32715),p=s(747),f=s(56297),u=s(52078),h=s(89099),g=s(10930),y=s(99623),b=s(28521),j=s(92508),w=s(39433),v=s(34863),N=s(5909),C=s(22572),S=s(61976);let E=e=>{let{title:t,hasCardHeaderBorder:s=!0,classNames:r,showSupportButtonOnMobile:l=!0,showSupportButtonOnDesktop:n=!1,isHeaderSticky:d=!1,hiddenStoryContainer:c=!1,hintComponent:m,shouldShowMofidLogo:x=!1}=e,p=(0,h.useRouter)(),f=(0,N.gT)(),u=(0,C.ZB)("md"),E=()=>{y.yl.open({children:m})},R=(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:(0,S.p)("mb-4 flex items-center justify-between border-solid border-gray-20 px-4 md:mb-0 md:pb-4",s&&"md:!mb-5 md:border-b",r?.root),children:[(0,a.jsx)(j.A,{className:(0,S.p)("!w-6",!n&&"md:h-[30px] md:w-[30px] md:!text-[16px]",r?.icon),color:"#004B69",icon:"close",onClick:()=>{f?p.replace(f):p.back()}}),(0,a.jsx)("div",{className:"flex flex-grow justify-center md:mr-2 md:justify-start",children:(0,a.jsxs)("div",{className:(0,S.p)("flex items-center justify-between gap-x-1 !text-sm font-demibold leading-3 text-gray-filled-primary-enabled md:flex-grow md:!text-xs",r?.title,!!m&&"cursor-pointer md:cursor-default"),onClick:m&&u?E:void 0,children:[x?(0,a.jsx)(i(),{alt:"mofid-logo",height:24,src:"https://mofidapp.s3.ir-thr-at1.arvanstorage.ir/register/Mofid-Long.svg",width:152}):(()=>{let{step:e}=p?.query;return t?"string"==typeof t?t:t?.[(e||1)-1]:""})(),m&&(0,a.jsx)("div",{className:"inline-flex items-center justify-center rounded-lg md:h-7 md:w-7 md:cursor-pointer md:bg-gray-00",onClick:m&&!u?E:void 0,children:(0,a.jsx)(o.I,{color:"green-20",icon:"info_outline",size:20})})]})}),c?(0,a.jsx)(w.A,{iconClassName:(0,S.p)("bg-gray-00",!n&&"md:!hidden",!l&&"invisible",r?.icon)}):(0,a.jsx)(v.A,{className:(0,S.p)("!w-6",!n&&"md:!hidden",!l&&"invisible",r?.icon),color:"#004B69",onClick:()=>{(0,b.d)({shouldOpenFullPage:!1})}})]})});return d?(0,a.jsx)(g.V,{className:"!bg-transparent !pt-0","data-sentry-element":"StickyHeader","data-sentry-component":"CardBackHeader","data-sentry-source-file":"CardBackHeader.tsx",children:R}):R},R=e=>{let{hasCardHeaderBorder:t,hintComponent:s,showSupportButtonOnMobile:r,showSupportButtonOnDesktop:l,hiddenStoryContainer:i=!1,isHeaderSticky:n=!0,title:h}=e,{isChild:g,isChildNationalIdAvailable:y}=(0,u.by)(),{data:b,isInitialLoading:j}=(0,f.d)({enabled:!g||y});return(0,a.jsxs)("div",{className:"mb-4 h-[110px] bg-[#e7eef1] px-4","data-sentry-component":"RegisterHeader","data-sentry-source-file":"RegisterHeader.tsx",children:[(0,a.jsx)(E,{classNames:{icon:"!bg-transparent ",root:"!mb-0 !px-0"},hasCardHeaderBorder:t,hiddenStoryContainer:i,hintComponent:s,isHeaderSticky:n,showSupportButtonOnDesktop:l,showSupportButtonOnMobile:r,title:h,"data-sentry-element":"CardBackHeader","data-sentry-source-file":"RegisterHeader.tsx"}),j?(0,a.jsx)(c.E,{className:"pt-1",height:32,width:"100%"}):(0,a.jsxs)("div",{className:"flex h-14 flex-col justify-around",children:[(0,a.jsx)(x.c,{className:"h-[1px] w-full bg-gray-filled-secondary-pressed"}),(0,a.jsxs)("div",{className:"flex items-center justify-between pt-1",children:[b?.fullName&&(0,a.jsxs)("div",{className:"flex w-1/2 items-center text-[#004B69]",children:[(0,a.jsx)(o.I,{className:"ml-[2px]",icon:"user_details_card",size:24}),(0,a.jsx)(d.E,{as:"div",className:"w-3/4 overflow-hidden text-ellipsis whitespace-nowrap",variant:"body",children:b?.fullName})]}),(0,a.jsx)(m.Ay,{className:"!h-8 w-1/2 !px-1",classNames:{childrenWrapper:"text-xs"},endAdornment:(0,a.jsx)(o.I,{icon:"chevron_left",size:18}),isFullWidth:!b?.fullName,variant:"outline",onClick:p.F,children:"خروج از حساب کاربری"})]})]})]})};var A=s(57177),k=s(88104),T=s(4133),_=s(66231);let B=()=>{let{isChild:e,isChildNationalIdAvailable:t}=(0,u.by)(),{data:s,isInitialLoading:r,isError:l}=(0,f.d)({enabled:!e||t}),i=!s||l?A.X:s?.stages.map(e=>({subTitle:e?.title,title:e?.description,iconName:e?.icon,titleEn:e?.titleEn,status:e?.
1status}));return r?(0,a.jsx)(a.Fragment,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"my-4 flex flex-col gap-y-1 ",children:[(0,a.jsx)(k.E,{className:"text-gray-filled-primary-enabled",size:"base",weight:"demibold","data-sentry-element":"LegacyText","data-sentry-source-file":"RegisterStepper.tsx",children:r?(0,a.jsx)(c.E,{height:24,width:"80%"}):s?.fullName?["کاربر گرامی،",s?.fullName].join(" "):"تکمیل فرآیند ثبت‌نام در کارگزاری مفید"}),(0,a.jsx)(d.E,{as:"div",className:"text-right text-gray-filled-primary-enabled",variant:"body","data-sentry-element":"Text","data-sentry-source-file":"RegisterStepper.tsx",children:"ثبت‌نام اولیه شما در کارگزاری مفید انجام شده است، جهت تکمیل فرآیند ثبت‌نام مراحل زیر را انجام دهید."})]}),(0,a.jsx)(T.oN,{"data-sentry-element":"VerticalStepper","data-sentry-source-file":"RegisterStepper.tsx",children:i.map((e,t)=>{let s=e?.status==="Pending",r=e?.status==="Completed",l=e?.status==="Rejected";return(0,a.jsx)(T.xE,{badgeText:(0,_.JN)(e?.status),classNames:(e=>{let{isPending:t,isCompleted:s,isRejected:a}=e,r=(0,S.p)("z-10 !h-8 !w-8",{"!border-mofidblue-solid-primary-enabled !bg-white shadow-[0px_0px_2px_4px_#a6d2fb]":t,"!border-mofidblue-solid-primary-enabled !bg-mofidblue-filled-primary-enabled":s,"!border-gray-solid-secondary-enabled !bg-white":!t&&!s});return{number:r,titlesContainer:"relative !top-[15px] flex !flex-col-reverse",title:"mt-1",badge:(0,S.p)("mt-1 !h-[26px] !font-medium",{"!bg-[#e9f5f9] text-mofidblue-filled-primary-enabled":t,"!bg-[#d6f4ed] text-success-filled-secondary-enabled":s,"!bg-red-10 !text-red-90":a}),root:"mb-3",connector:(0,S.p)("!h-full !bg-gray-filled-primary-pressed",{"!bg-mofidblue-filled-primary-enabled":t||s})}})({isCompleted:r,isPending:s,isRejected:l}),defaultExpanded:!1,isExpandable:!1,number:(0,a.jsx)(o.I,{color:s?"#004B69":r?"#fff":"#747D8A",icon:e?.iconName,size:20}),subTitle:e?.subTitle,title:e?.title},t)})}),(0,a.jsx)(m.Ay,{className:"mt-4 !bg-mofidblue-filled-secondary-enabled !text-mofidblue-filled-primary-enabled",startAdornment:(0,a.jsx)(o.I,{icon:"logout_v2",size:24}),isFullWidth:!0,onClick:p.F,"data-sentry-element":"Button","data-sentry-source-file":"RegisterStepper.tsx",children:"خروج از حساب کاربری"})]})};var F=s(14e3),L=s(16634),H=s(1928),I=s(49947);let z=()=>{let{data:e,isLoading:t,isError:s}=(0,I.M1)(["register","checkIsSejamAvailable"],{});return{isSejamAvailable:!!s||e?.sejamAvailable,sejamAvailabilityMessage:e?.sejamAvailableMessage,isLoading:t}};var M=s(95373),P=s(67817);let U=e=>{let{sejamAvailabilityMessage:t}=e;return(0,a.jsxs)("div",{className:"mx-auto md:w-3/4","data-sentry-component":"SejamUnavailable","data-sentry-source-file":"SejamUnavailable.tsx",children:[(0,a.jsxs)("div",{className:"my-4 flex flex-col items-center justify-center gap-y-1",children:[(0,a.jsx)(i(),{alt:"Sejam Logo",className:"mb-2 md:mt-14",height:64,src:"https://mofidapp.s3.ir-thr-at1.arvanstorage.ir/register/Sejam.webp",width:64,"data-sentry-element":"Image","data-sentry-source-file":"SejamUnavailable.tsx"}),(0,a.jsx)(d.E,{as:"div",className:"mb-4 text-gray-filled-primary-enabled",variant:"body","data-sentry-element":"Text","data-sentry-source-file":"SejamUnavailable.tsx",children:"در حال حاضر، سامانه سجام در دسترس نمی‌باشد!"}),(0,a.jsx)(P.F,{classNames:{root:"border border-warning-alpha-primary-enabled !px-4 !py-3",childrenWrapper:"text-center text-sm text-warning-filled-tertiary-enabled"},hasIcon:!1,variant:"warning","data-sentry-element":"Alert","data-sentry-source-file":"SejamUnavailable.tsx",children:t})]}),(0,a.jsx)(M.m6,{"data-sentry-element":"RegisterCompletedActions","data-sentry-source-file":"SejamUnavailable.tsx"})]})},W=e=>{let{children:t,childrenWrapperClassName:s}=e,{isSejamAvailable:l,sejamAvailabilityMessage:i,isLoading:n}=z(),d=(0,F.usePathname)()||"",o=(0,F.useRouter)(),[c,m]=(0,r.useState)(!0);return((0,r.useEffect)(()=>{let e=(0,L.do)();n||(A.N.includes(d)||e||!l?m(!1):o.push("/register"))},[l,n,d]),c)?(0,a.jsx)(H.E$,{className:"flex min-h-[200px] items-center justify-center",children:" "}):(0,a.jsx)("div",{className:(0,S.p)(s,"max-md:px-5"),id:"mainContentChildren","data-sentry-component":"SejamAvailabilityWrapper","data-sentry-source-file":"index.tsx",children:l?t:(0,a.jsx)(U,{sejamAvailabilityMessage:i})})},O=e=>{let{children:t,className:s="",shouldHideRegisterStepper:r=!1,shouldShowOnBaseLine:l=!1,classNames:d,hasPaddingX:o=!0,hasCardHeaderBorder:c,hintComponent:m,showSupportButtonOnMobile:x,showSupportButtonOnDesktop:p,hiddenStoryContainer:f=!1,isHeaderSticky:u=!0,isContentFixed:h=!1,title:g=""}=e,y=(0,C.ZB)("md"),{isSejamAvailable:b,isLoading:j}=z(),w=y?(0,S.p)("flex min-h-full flex-col bg-[#fff] md:bg-[transparent] md:!p-0 ",h&&"md:relative md:max-h-[calc(100vh-160px)]",d?.root):`z-[99998] flex justify-center bg-[#026187] page-full ${s}`,v=y?(0,S.p)("flex h-full min-h-full w-full flex-grow flex-col !bg-transparent !p-0 md:flex-grow-0",d?.container):(0,S.p)("flex !w-2/3 justify-center",!b&&"!h-full"),N=y?(0,S.p)("z-[1] flex flex-grow flex-col",h&&"md:overflow-y-auto",o&&"px-5",d?.children):(0,S.p)(r?"mb-[10%] w-full px-[25%]":"w-2/3 px-[10%]");return(0,a.jsxs)("div",{className:w,"data-sentry-component":"RegisterFlowPage","data-sentry-source-file":"RegisterFlowPage.layout.tsx",children:[(0,a.jsxs)("div",{className:y?"":(0,S.p)("relative flex h-full w-2/3 items-center overflow-y-auto rounded-bl-xl rounded-tl-xl bg-white pt-[150px] scroll-nice",l&&b&&!j&&"!items-baseline",r&&"justify-center"),children:[!y&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute top-0 h-[300px] w-full !bg-contain opacity-60",style:{background:"url('https://mofidapp.s3.ir-thr-at1.arvanstorage.
1ir/result/pattern.svg')"}}),!r&&(0,a.jsx)("div",{className:(0,S.p)("h-full w-1/3 justify-center px-[5%] ",!l&&"mt-[140px]",d?.stepperWrapper),children:(0,a.jsx)(B,{})})]}),(0,a.jsxs)(n.Z,{bgColor:"gray-white",borderColor:"none",borderRadius:"2xl",className:v,density:"3xl",elevation:"lvl0","data-sentry-element":"Card","data-sentry-source-file":"RegisterFlowPage.layout.tsx",children:[y&&(0,a.jsx)(R,{hasCardHeaderBorder:c,hiddenStoryContainer:f,hintComponent:m,isHeaderSticky:u,showSupportButtonOnDesktop:p,showSupportButtonOnMobile:x,title:g}),(0,a.jsx)(W,{childrenWrapperClassName:N,"data-sentry-element":"SejamAvailabilityWrapper","data-sentry-source-file":"RegisterFlowPage.layout.tsx",children:t})]})]}),!y&&(0,a.jsxs)("div",{className:(0,S.p)("relative flex h-full w-1/3 items-center justify-center "),children:[(0,a.jsx)(i(),{alt:"Mofid short",className:"relative bottom-[20%] w-[133px]",height:86,src:"https://mofidapp.s3.ir-thr-at1.arvanstorage.ir/register/Mofid-Short.svg",width:133}),(0,a.jsx)(i(),{alt:"pattern",className:"absolute bottom-0 left-0 z-[1] w-full",height:402,src:"https://mofidapp.s3.ir-thr-at1.arvanstorage.ir/register/pattern.png",width:720}),(0,a.jsx)(i(),{alt:"bull logo",className:"absolute bottom-0 left-0 w-full",height:500,src:"https://mofidapp.s3.ir-thr-at1.arvanstorage.ir/register/Bull.png",width:500})]})]})}},54477:(e,t,s)=>{s.d(t,{m:()=>d});var a=s(37876),r=s(77048),l=s(72090),i=s(1928),n=s(89403);let d=e=>{let t=t=>{let{data:s,isInitialLoading:d,isError:o,error:c,isFetching:m,refetch:x}=(0,r.b)(),p=s?.isLegal;return d?(0,a.jsx)(i.E$,{isFullHeight:!0}):o?(0,a.jsx)(l.L,{errorMessage:c?.message,isLoading:m,isFullHeight:!0,onRefetch:x}):p?(0,a.jsx)(n.A,{url:"/",replace:!0,children:(0,a.jsx)(i.E$,{isFullHeight:!0})}):(0,a.jsx)(e,{...t,"data-sentry-element":"WrappedComponent","data-sentry-component":"RegisterProtectedComponent","data-sentry-source-file":"withBlockLegalUser.tsx"})};return t.displayName=`withBlockLegalUser(${e.displayName||e.name})`,t}},59818:(e,t,s)=>{s.d(t,{L:()=>o});var a=s(37876),r=s(54587),l=s.n(r),i=s(88104),n=s(78986),d=s(61976);let o=e=>{let{isFullHeight:t=!0,onRefetch:s,isLoading:r,className:o,errorMessage:c,...m}=e;return(0,a.jsxs)("div",{className:(0,d.p)("flex flex-col items-center justify-center py-11",t&&"flex-grow",o),...m,"data-sentry-component":"ErrorTemplate","data-sentry-source-file":"ErrorTemplate.tsx",children:[(0,a.jsx)(l(),{alt:"خطا",height:104,src:"https://mofidapp.s3.ir-thr-at1.arvanstorage.ir/common/error.webp",width:104,"data-sentry-element":"Image","data-sentry-source-file":"ErrorTemplate.tsx"}),(0,a.jsxs)("div",{className:"mb-6 mt-8 flex flex-col items-center gap-y-3",children:[(0,a.jsx)(i.E,{color:"mofidblue-filled-primary-enabled",weight:"demibold","data-sentry-element":"Text","data-sentry-source-file":"ErrorTemplate.tsx",children:"خطا در دریافت اطلاعات"}),(0,a.jsx)(i.E,{color:"gray-filled-primary-enabled",size:"sm","data-sentry-element":"Text","data-sentry-source-file":"ErrorTemplate.tsx",children:c||"خطایی بوجود آمده، لطفا دوباره تلاش کنید."})]}),(0,a.jsx)(n.Ay,{className:"w-40 text-sm",isLoading:r,size:"md",onClick:s,"data-sentry-element":"Button","data-sentry-source-file":"ErrorTemplate.tsx",children:"تلاش مجدد"})]})}},66231:(e,t,s)=>{s.d(t,{Oi:()=>c,Ql:()=>x,aJ:()=>g,JN:()=>m}),s(98579);var a=s(37876),r=s(78213),l=s(88609),i=s(72090),n=s(96266),d=s(61976),o=s(87630);let c=()=>(0,a.jsx)("div",{className:"flex w-full flex-col gap-y-3","data-sentry-component":"RegStepSkeleton","data-sentry-source-file":"RegStepSkeleton.tsx",children:Array(6).fill("x").map((e,t)=>(0,a.jsxs)("div",{className:"flex h-[72px] w-full flex-row items-center justify-between rounded-[14px] border border-gray-20 px-4 py-[18px]",children:[(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsx)(o.E,{height:36,width:36}),(0,a.jsxs)("div",{className:"mr-2 grid grid-flow-row gap-1",children:[(0,a.jsx)(o.E,{height:22,width:124}),(0,a.jsx)(o.E,{height:18,width:47})]})]}),(0,a.jsx)(o.E,{height:24,width:72})]},t))}),m=e=>{switch(e){case"Completed":return"انجام شده";case"Pending":return"درحال انجام";case"Rejected":return"رد شده";default:return"انجام نشده"}},x=e=>{let{isLoading:t,stages:s,isError:o,refetch:x}=e;return t?(0,a.jsx)(c,{}):o?(0,a.jsx)(i.L,{isLoading:t,onRefetch:x}):(0,a.jsx)("div",{className:"flex w-full flex-col gap-y-3","data-sentry-component":"RegSteps","data-sentry-source-file":"RegSteps.tsx",children:s.map((e,t)=>{let s=e?.status==="Pending",i=e?.status==="Completed",o=e?.status==="Rejected";return(0,a.jsx)(n.j,{className:"rounded-sm border border-gray-20",classNames:{description:"!text-xs"},description:e.description,imageComponent:(0,a.jsx)("div",{className:"flex h-9 w-9 items-center justify-center rounded-[10px] bg-gray-10",children:(0,a.jsx)(l.I,{color:s?"#004C6A":i?"#156931":"#8C541C",icon:e?.icon,size:20})}),secondTitle:(0,a.jsx)(r.vu,{className:(0,d.p)("flex min-w-[72px] !flex-grow-0 items-center justify-center",{"!bg-success-10 !text-green-100":i,"!bg-gray-10 !text-black":s,"!bg-red-10 !text-red-90":o,"!bg-warning-20 !text-warning-100":"NotCompleted"===e.status}),color:"neutral",size:"xxs",variant:"tonal",children:m(e?.status)}),title:e.title},t)})})};s(14232);var p=s(57700),f=s(52078),u=s(69516),h=s(18596);let g=e=>{let{isRegisterDisabled:t,regStateData:s}=e,{doLogout:r}=(0,h.A)(),{continueRegister:l}=(0,f.Mh)(s);return(0,a.jsx)(p.N,{"data-sentry-element":"StickyFooter","data-sentry-component":"RegisterStepsActions","data-sentry-source-file":"RegisterStepsActions.tsx",children:(0,a.jsxs)("div",{className:"flex gap-2 children:flex-1 md:flex-col",children:[(0,a.jsx)(u.A,{analytics:["AUTH_COMPLETE_REGISTER"],className:"col-span-1 min-h-[48px]",disabled:t,id:"auth_submit_completerRegister",isFullWidth:!0,onClick:l,"data-sentry-element":"Button","data-sentry-source-file":"RegisterStepsActions.tsx",children:"تکمیل ثبت نام"}),(0,a.jsx)(u.A,{analytics:["AUTH_LOGOUT"],className:"!min-h-[48px]",color:"error",id:"auth_submit_logout",variant:"outline",isFullWidth:!0,onClick:()=>r(),"data-sentry-element":"Button","data-sentry-source-file":"RegisterStepsActions.tsx",children:"خروج"})]})})}},66271:(e,t,s)=>{s.d(t,{K:()=>i});var a=s(37876);s(14232);var r=s(69516),l=s(61976);let i=e=>{let{onRefetch:t,isLoading:s,errorMessage:i,className:n="",classNames:d,...o}=e;return(0,a.jsxs)("div",{className:(0,l.p)("flex flex-col items-center justify-center gap-y-6",n,d?.root),...o,"data-sentry-component":"ErrorTemplateRed","data-sentry-source-file":"ErrorTemplateRed.tsx",children:[(0,a.jsx)("span",{className:(0,l.p)("text-center text-sm font-medium text-error",d?.errorMessage),children:i||"خطا در دریافت اطلاعات، لطفا دوباره تلاش کنید!"}),!!t&&(0,a.jsx)(r.A,{className:(0,l.p)("h-[32px] w-full max-w-[160px]",d?.button),isLoading:s,onClick:t,children:"تلاش مجدد"})]})}},72090:(e,t,s)=>{s.d(t,{K:()=>r.K,L:()=>a.L});var a=s(59818),r=s(66271)}}]);

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.