PageSourceSearch

https://ino.school/_next/static/chunks/0rf0-ya9~l6la.js

js ino.school collected 2026-09-25 08:41:28 UTC 35,388 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17697,e=>{"use strict";let t=(0,e.i(48581).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",0,t],17697)},4112,e=>{"use strict";var t=e.i(13275),a=e.i(54149),l=e.i(97435),i=e.i(75157);e.s(["MobileHomeIndicator",0,function(e){let r,s,n=(0,a.c)(8),{className:o,variant:c}=e;if("bar"===(void 0===c?"asset":c)){let e,a;return n[0]!==o?(e=(0,i.cn)("block h-[4.5px] w-[140px] rounded-full bg-black",o),n[0]=o,n[1]=e):e=n[1],n[2]!==e?(a=(0,t.jsx)("span",{className:e,"aria-hidden":"true"}),n[2]=e,n[3]=a):a=n[3],a}return n[4]!==o?(r=(0,i.cn)("h-2 w-16",o),n[4]=o,n[5]=r):r=n[5],n[6]!==r?(s=(0,t.jsx)(l.default,{src:"/figma-login/home-indicator.svg",alt:"",width:64,height:8,className:r,"aria-hidden":"true"}),n[6]=r,n[7]=s):s=n[7],s}])},75379,e=>{"use strict";let t=new Intl.NumberFormat("fa-IR");function a(e){return Number.isFinite(e)?t.format(e):"—"}function l(e){let t="string"==typeof e?Number(e):e;return Math.round((Number.isFinite(t)?t:0)/10)}e.s(["formatNumberFa",0,a,"formatPhoneIntl",0,function(e){if(!e)return"";let t=e.replace(/\D/g,"").replace(/^0/,"");return 10!==t.length?e:`+98 ${t.slice(0,3)} ${t.slice(3,6)} ${t.slice(6,8)} ${t.slice(8)}`},"formatToman",0,function(e){return`${a(l(e))} تومان`},"rialsToToman",0,l])},83197,e=>{"use strict";let t=(0,e.i(48581).default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);e.s(["LogOut",0,t],83197)},93115,e=>{"use strict";let t=(0,e.i(48581).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],93115)},48189,e=>{"use strict";let t=(0,e.i(48581).default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);e.s(["BookOpen",0,t],48189)},639,e=>{"use strict";let t=(0,e.i(48581).default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Settings",0,t],639)},76851,e=>{"use strict";e.s(["hardNavigate",0,function(e){window.location.replace(e)}])},38017,e=>{"use strict";let t=(0,e.i(48581).default)("gem",[["path",{d:"M10.5 3 8 9l4 13 4-13-2.5-6",key:"b3dvk1"}],["path",{d:"M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z",key:"7w4byz"}],["path",{d:"M2 9h20",key:"16fsjt"}]]);e.s(["Gem",0,t],38017)},41947,e=>{"use strict";let t=(0,e.i(48581).default)("square-user-round",[["path",{d:"M18 21a6 6 0 0 0-12 0",key:"kaz2du"}],["circle",{cx:"12",cy:"11",r:"4",key:"1gt34v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);e.s(["SquareUserRound",0,t],41947)},25748,e=>{"use strict";let t=(0,e.i(48581).default)("circle-question-mark",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["CircleHelp",0,t],25748)},5580,e=>{"use strict";let t=(0,e.i(48581).default)("graduation-cap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);e.s(["GraduationCap",0,t],5580)},36737,52624,64312,e=>{"use strict";var t=e.i(48581);let a=(0,t.default)("newspaper",[["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2",key:"39pd36"}
1],["rect",{width:"8",height:"4",x:"10",y:"6",rx:"1",key:"aywv1n"}]]);e.s(["Newspaper",0,a],36737);let l=(0,t.default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["Phone",0,l],52624);let i=(0,t.default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);e.s(["Shield",0,i],64312)},3233,e=>{"use strict";let t=(0,e.i(48581).default)("wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]]);e.s(["Wallet",0,t],3233)},14206,e=>{"use strict";var t=e.i(54149),a=e.i(48189),l=e.i(25748),i=e.i(38017),r=e.i(5580),s=e.i(36737),n=e.i(52624),o=e.i(639),c=e.i(64312),d=e.i(41947),u=e.i(3233),h=e.i(91480);e.i(86691);var x=e.i(61238),m=e.i(76851);let p=[{label:"تنظیمات",href:"/profile/settings",icon:o.Settings,iconBg:"bg-primary-blue-50",comingSoon:!0},{label:"سوالات عمومی",href:"/faq",icon:l.CircleHelp,iconBg:"bg-neutral-50"},{label:"قوانین و مقررات",icon:c.Shield,iconBg:"bg-neutral-50",comingSoon:!0},{label:"تماس با ما",href:"/contact",icon:n.Phone,iconBg:"bg-neutral-50"}];e.s(["SUPPORT_ITEMS",0,p,"buildPrimaryItems",0,function(e){return[{label:"پروفایل",href:"/profile",icon:d.SquareUserRound,iconBg:"bg-primary-blue-50"},{label:"یادگیری",href:"/dashboard",icon:a.BookOpen,iconBg:"bg-green-50"},{label:"اشتراک‌ها",href:"/subscriptions",icon:i.Gem,iconBg:"bg-secondary-orange-50"},...e?[{label:"کیف پول من",href:"/profile/wallet",icon:u.Wallet,iconBg:"bg-green-50"}]:[],{label:"کتاب‌ها",href:"/books",icon:a.BookOpen,iconBg:"bg-green-50"},{label:"روزنامه دیواری",href:"https://ino.school/blog/",icon:s.Newspaper,iconBg:"bg-pink-50"},{label:"معلم‌ها",href:"/teachers",icon:r.GraduationCap,iconBg:"bg-neutral-50"}]},"useLogoutRedirect",0,function(){let e,a=(0,t.c)(2),l=(0,h.useQueryClient)();return a[0]!==l?(e=()=>{(0,x.logout)().then(()=>{l.clear(),(0,m.hardNavigate)("/login")})},a[0]=l,a[1]=e):e=a[1],e}])},96984,e=>{"use strict";let t=(0,e.i(49574).create)(e=>({isOpen:!1,openMenu:()=>e({isOpen:!0}),closeMenu:()=>e({isOpen:!1})}));e.s(["useAppMenu",0,t])},40014,e=>{"use strict";let t=(0,e.i(48581).default)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);e.s(["Pencil",0,t],40014)},31579,e=>{"use strict";let t=(0,e.i(48581).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",0,t],31579)},73454,e=>{"use strict";var t=e.i(13275),a=e.i(54149),l=e.i(59624),i=e.i(83281),r=e.i(93115),s=e.i(83197),n=e.i(40014),o=e.i(31579),c=e.i(3233),d=e.i(32048),u=e.i(41077);e.i(86691);var h=e.i(726),x=e.i(46968),m=e.i(51853),p=e.i(84361),f=e.i(75379),b=e.i(75157),g=e.i(96984),y=e.i(14206);function v(e){if(e.isExpired)return!1;let t=e.status.trim().toLowerCase();return"فعال"===t||"active"===t||"cancelled"!==t&&"force_expired"!==t&&"expired"!==t&&"منقضی"!==t&&"لغو شده"!==t&&"غیرفعال"!==t}function j(e){let l,s,n,o,c,d,u,h,x,m=(0,a.c)(36),{item:p,onNavigate:f}=e,g=p.icon,y=p.comingSoon,v=p.destructive?"bg-red-50":p.iconBg,j=y&&"opacity-60";m[0]!==v||m[1]!==j?(l=(0,b.cn)("flex size-[26.6px] shrink-0 items-center justify-center rounded-[7.6px]",v,j),m[0]=v,m[1]=j,m[2]=l):l=m[2];let w=p.destructive?"text-red-300":"text-primary-blue-700";m[3]!==w?(s=(0,b.cn)("size-[15px]",w),m[3]=w,m[4]=s):s=m[4],m[5]!==g||m[6]!==s?(n=(0,t.jsx)(g,{className:s}),m[5]=g,m[6]=s,m[7]=n):n=m[7],m[8]!==l||m[9]!==n?(o=(0,t.jsx)("span",{className:l,children:n}),m[8]=l,m[9]=n,m[10]=o):o=m[10];let N=p.destructive?"text-red-300":y?"text-neutral-400":"text-neutral-900";m[11]!==N?(c=(0,b.cn)("min-w-0 flex-1 text-caption-13 font-medium",N),m[11]=N,m[12]=c):c=m[12],m[13]!==p.label||m[14]!==c?(d=(0,t.jsx)("span",{className:c,children:p.label}),m[13]=p.label,m[14]=c,m[15]=d):d=m[15],m[16]!==y?(u=y?(0,t.jsx)("span",{className:"shrink-0 rounded-pill bg-neutral-100 px-2 py-0.5 text-label-10 font-medium text-neutral-400",children:"به‌زودی"}):(0,t.jsx)(r.ChevronLeft,{className:"size-2.5 shrink-0 text-neutral-900/20","aria-hidden":"true"}),m[16]=y,m[17]=u):u=m[17],m[18]!==d||m[19]!==u||m[20]!==o?(h=(0,t.jsxs)(t.Fragment,{children:[o,d,u]}),m[18]=d,m[19]=u,m[20]=o,m[21]=h):h=m[21];let k=h;if(p.comingSoon){let e,a;return m[22]===Symbol.for("react.memo_cache_sentinel")?(e=(0,b.cn)("flex w-full items-center gap-2.5 bg-white px-4 py-2.5 text-start transition-colors hover:bg-neutral-50/80","cursor-not-allowed hover:bg-white"),m[22]=e):e=m[22],m[23]!==k?(a=(0,t.jsx)("div",{className:e,"aria-disabled":"true",children:k}),m[23]=k,m[24]=a):a=m[24],a}if(p.onClick){let e;return m[25]!==k||m[26]!==p.onClick?(e=(0,t.jsx)("button",{type:"button",className:"flex w-full items-center gap-2.5 bg-white px-4 py-2.5 text-start transition-colors hover:bg-neutral-50/80",onClick:p.onClick,children:k}
1),m[25]=k,m[26]=p.onClick,m[27]=e):e=m[27],e}let M=p.href??"#",z=/^https?:\/\//.test(M),S=M.includes("#")?M.slice(M.indexOf("#")+1):"";if(z||S){let e;return m[28]!==k||m[29]!==M||m[30]!==f?(e=(0,t.jsx)("a",{href:M,className:"flex w-full items-center gap-2.5 bg-white px-4 py-2.5 text-start transition-colors hover:bg-neutral-50/80",onClick:f,children:k}),m[28]=k,m[29]=M,m[30]=f,m[31]=e):e=m[31],e}return m[32]!==k||m[33]!==M||m[34]!==f?(x=(0,t.jsx)(i.default,{href:M,className:"flex w-full items-center gap-2.5 bg-white px-4 py-2.5 text-start transition-colors hover:bg-neutral-50/80",onClick:f,children:k}),m[32]=k,m[33]=M,m[34]=f,m[35]=x):x=m[35],x}function w(e){let l,i,r=(0,a.c)(7),{items:s,onNavigate:n}=e;if(r[0]!==s||r[1]!==n){let e;r[3]!==n?(e=e=>(0,t.jsx)(j,{item:e,onNavigate:n},e.label),r[3]=n,r[4]=e):e=r[4],l=s.map(e),r[0]=s,r[1]=n,r[2]=l}else l=r[2];return r[5]!==l?(i=(0,t.jsx)("div",{className:"flex flex-col py-0.5",children:l}),r[5]=l,r[6]=i):i=r[6],i}function N(e){let r,s,d,u,h,x,m,p,b,g,y,v,j,w,N,k,M,z,S,_,C,B,P,A,L=(0,a.c)(53),{user:O,xp:T,walletToman:I,avatarUrl:E,hasActiveSubscription:R,onNavigate:U}=e;if(L[0]!==O){let e;r=(e=[O.gradeName,O.fieldName].filter(Boolean)).length>0?e.join(" · "):null,L[0]=O,L[1]=r}else r=L[1];let F=r;return(L[2]!==E?(s=(0,t.jsx)(l.SeoImage,{src:E,alt:"آواتار شما",width:54,height:54,className:"size-[54px] rounded-full object-cover"}),L[2]=E,L[3]=s):s=L[3],L[4]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("span",{className:"absolute -bottom-0.5 -end-0.5 flex size-3.5 items-center justify-center rounded-[12px] border border-white bg-primary-blue-500 text-white",children:(0,t.jsx)(n.Pencil,{className:"size-2","aria-hidden":!0})}),L[4]=d):d=L[4],L[5]!==U||L[6]!==s?(u=(0,t.jsxs)(i.default,{href:"/leaderboard?tab=avatar",onClick:U,"aria-label":"ویرایش آواتار",className:"relative shrink-0",children:[s,d]}),L[5]=U,L[6]=s,L[7]=u):u=L[7],L[8]!==O)?(h=[O.firstName,O.lastName].filter(Boolean).join(" ").trim()||O.username||"کاربر آی‌نو",L[8]=O,L[9]=h):h=L[9],L[10]!==h?(x=(0,t.jsx)("p",{className:"truncate text-body-15 font-medium text-white",children:h}),L[10]=h,L[11]=x):x=L[11],L[12]!==F?(m=F?(0,t.jsx)("p",{className:"mt-1.5 truncate text-label-11 font-bold text-secondary-orange-500",children:F}):null,L[12]=F,L[13]=m):m=L[13],L[14]!==O.phone?(p=(0,f.formatPhoneIntl)(O.phone)||O.phone,L[14]=O.phone,L[15]=p):p=L[15],L[16]!==p?(b=(0,t.jsx)("p",{className:"mt-1.5 text-label-11 font-bold text-white/45",dir:"ltr",children:p}),L[16]=p,L[17]=b):b=L[17],L[18]!==x||L[19]!==m||L[20]!==b?(g=(0,t.jsxs)("div",{className:"min-w-0 flex-1 pt-1 text-start",children:[x,m,b]}),L[18]=x,L[19]=m,L[20]=b,L[21]=g):g=L[21],L[22]!==g||L[23]!==u?(y=(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[u,g]}),L[22]=g,L[23]=u,L[24]=y):y=L[24],L[25]!==R||L[26]!==U?(v=R?(0,t.jsxs)("div",{className:"mt-3 flex h-[53px] items-center justify-between rounded-[15px] border border-green-400 bg-green-500/20 px-[13px]",children:[(0,t.jsx)("p",{className:"text-caption-12 font-medium text-white",children:"اشتراک فعال دارید"}),(0,t.jsx)(i.default,{href:"/profile/subscriptions",onClick:U,className:"flex h-[30px] min-w-[96px] items-center justify-center rounded-pill bg-green-500 px-2 text-label-11 font-bold text-primary-blue-50",children:"مشاهده اشتراک"})]}):(0,t.jsx)(i.default,{href:"/subscriptions",onClick:U,className:"mt-3 flex h-[53px] items-center justify-center rounded-[15px] bg-secondary-orange-500 text-caption-13 font-bold text-white",children:"خرید اشتراک"}),L[25]=R,L[26]=U,L[27]=v):v=L[27],L[28]===Symbol.for("react.memo_cache_sentinel")?(j=(0,t.jsx)(c.Wallet,{className:"size-5 text-white","aria-hidden":!0}),L[28]=j):j=L[28],L[29]!==I?(w=(0,f.formatNumberFa)(I),L[29]=I,L[30]=w):w=L[30],L[31]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)("span",{className:"text-label-11 text-white/60",children:"تومان"}),L[31]=N):N=L[31],L[32]!==w?(k=(0,t.jsxs)("p",{className:"text-center text-body-14 font-bold text-white",children:[w," ",N]}),L[32]=w,L[33]=k):k=L[33],L[34]!==U||L[35]!==k?(M=(0,t.jsxs)(i.default,{href:"/profile/wallet",onClick:U,className:"flex h-[57px] flex-col items-center justify-center gap-1 rounded-[10.6px] border border-white/10 bg-white/[0.08] px-1.5",children:[j,k]}),L[34]=U,L[35]=k,L[36]=M):M=L[36],L[37]===Symbol.for("react.memo_cache_sentinel")?(z=(0,t.jsx)(o.Star,{className:"size-5 fill-secondary-orange-500 text-secondary-orange-500","aria-hidden":!0}),L[37]=z):z=L[37],L[38]!==T?(S=(0,f.formatNumberFa)(T),L[38]=T,L[39]=S):S=L[39],L[40]===Symbol.for("react.memo_cache_sentinel")?(_=(0,t.jsx)("span",{className:"text-label-11 text-white/60",children:"امتیاز"}),L[40]=_):_=L[40],L[41]!==S?(C=(0,t.jsxs)("p",{className:"text-center text-body-14 font-bold text-white",children:[S," ",_]}),L[41]=S,L[42]=C):C=L[42],L[43]!==U||L[44]!==C?(B=(0,t.jsxs)(i.default,{href:"/leaderboard",onClick:U,className:"flex h-[57px] flex-col items-center justify-center gap-1 rounded-[10.6px] border border-white/10 bg-white/[0.08] px-1.5",children:[z,C]}),L[43]=U,L[44]=C,L[45]=B):B=L[45],L[46]!==M||L[47]!==B?(P=(0,t.jsxs)("div",{className:"mt-3 grid grid-cols-2 gap-[18px]",children:[M,B]}),L[46]=M,L[47]=B,L[48]=P):P=L[48],L[49]!==y||L[50]!==v||L[51]!==P?(A=(0,t.jsxs)("div",{className:"relative shrink-0 bg-[#2f4665] px-[15px] pb-4 pt-4",children:[y,v,P]}),L[49]=y,L[50]=v,L[51]=P,L[52]=A):A=L[52],A}e.s(["AppMenuDrawer",0,function(){let e,r,n,o,c,j,k,M=(0,a.c)(25),{isOpen:z,closeMenu:S}=(0,g.useAppMenu)(),_=(0,y.useLogoutRedirect)(),{data:C,isError:B}
1=(0,p.useUserMe)(z),P=!!C,A=z&&!C&&B,L=(0,x.useMyOrders)(z&&P),O=(0,m.useMyWallet)(z&&P),T=(0,h.useGamificationMe)(z&&P),I=(0,h.useGamificationProfile)(z&&P);M[0]!==L.data?(e=L.data??[],M[0]=L.data,M[1]=e):e=M[1],M[2]!==e?(r=e.some(v),M[2]=e,M[3]=r):r=M[3];let E=r,R=Number(O.data?.cashBalance??0)+Number(O.data?.incentiveBalance??0);M[4]!==R?(n=(0,f.rialsToToman)(R),M[4]=R,M[5]=n):n=M[5];let U=n,F=T.data?.totalXp??C?.score??0,H=I.data?.activeAvatar?.imageUrl??"/figma-onboarding/avatar.png";M[6]!==S||M[7]!==_?(o=()=>{S(),_()},M[6]=S,M[7]=_,M[8]=o):o=M[8];let V=o;M[9]!==S?(c=()=>{S()},M[9]=S,M[10]=c):c=M[10];let G=c;return M[11]!==H||M[12]!==S||M[13]!==V||M[14]!==G||M[15]!==E||M[16]!==P||M[17]!==z||M[18]!==A||M[19]!==C||M[20]!==U||M[21]!==F?(j=z?(0,t.jsxs)(u.motion.div,{className:"absolute inset-0 z-50 overflow-hidden",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},children:[(0,t.jsx)("button",{type:"button","aria-label":"بستن منو",onClick:S,className:"absolute inset-0 cursor-default bg-primary-blue-900/25 backdrop-blur-[4px]"}),(0,t.jsxs)(u.motion.div,{className:"absolute inset-y-0 left-0 w-[85%] max-w-[332px]",initial:{x:"-100%"},animate:{x:0},exit:{x:"-100%"},transition:{duration:.28,ease:"easeOut"},children:[(0,t.jsxs)("aside",{className:"flex h-full w-full flex-col overflow-hidden rounded-r-[20px] bg-surface-menu shadow-[8px_0_28px_rgba(10,50,102,0.25)]","aria-label":"منوی اصلی",children:[P&&C?(0,t.jsx)(N,{user:C,xp:F,walletToman:U,avatarUrl:H,hasActiveSubscription:E,onNavigate:G}):(0,t.jsxs)("div",{className:"relative h-[234px] shrink-0 overflow-hidden bg-primary-blue-800",children:[(0,t.jsx)(l.SeoImage,{src:"/figma-menu/header-banner.png",alt:"منوی آی‌نو",fill:!0,priority:!0,className:"object-cover object-top"}),A?(0,t.jsx)(i.default,{href:"/login",onClick:G,className:"absolute bottom-6 left-1/2 flex h-[30px] w-[194px] max-w-[calc(100%-4.5rem)] -translate-x-1/2 items-center justify-center rounded-pill bg-secondary-orange-500/90 px-4 text-body-14 font-bold text-surface-on-primary shadow-elevation-sm",children:"ثبت نام / ورود"}):null]}),(0,t.jsxs)("div",{className:"min-h-0 flex-1 overflow-y-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:[(0,t.jsx)(w,{items:(0,y.buildPrimaryItems)(P),onNavigate:G}),(0,t.jsx)(w,{items:y.SUPPORT_ITEMS,onNavigate:G}),P?(0,t.jsx)(w,{items:[{label:"خروج از حساب کاربری",icon:s.LogOut,iconBg:"bg-red-50",destructive:!0,onClick:V}],onNavigate:G}):null]}),(0,t.jsx)("div",{className:"flex shrink-0 items-center justify-center border-t border-neutral-100 bg-white px-4 pb-4 pt-3.5",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-1",children:[(0,t.jsx)(l.SeoImage,{src:"/figma-menu/footer-logo.svg",alt:"آی‌نو",width:27,height:22,className:"h-[22px] w-[27px]"}),(0,t.jsx)("p",{className:"text-label-10 font-bold text-primary-blue-700",children:"سامانه آموزش مجازی آی‌نو"})]})})]}),(0,t.jsx)("button",{type:"button",onClick:S,className:(0,b.cn)("absolute right-0 z-[60] flex size-[30px] translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full bg-secondary-orange-500 shadow-elevation-sm",P?"top-[220px]":"top-[234px]"),"aria-label":"بستن منو",children:(0,t.jsx)(l.SeoImage,{src:"/figma-menu/close-arrow.svg",alt:"بستن",width:30,height:30,className:"-rotate-90"})})]})]},"app-menu"):null,M[11]=H,M[12]=S,M[13]=V,M[14]=G,M[15]=E,M[16]=P,M[17]=z,M[18]=A,M[19]=C,M[20]=U,M[21]=F,M[22]=j):j=M[22],M[23]!==j?(k=(0,t.jsx)(d.AnimatePresence,{children:j}),M[23]=j,M[24]=k):k=M[24],k}])},20264,e=>{"use strict";var t=e.i(13275),a=e.i(54149),l=e.i(75157);let i="lg:h-[min(880px,calc(100dvh-3rem))] lg:min-h-[600px] lg:max-w-[480px] lg:rounded-3xl lg:shadow-elevation-lg",r={app:"lg:h-dvh lg:max-w-none lg:rounded-none lg:shadow-none lg:has-[[data-desktop-nav]]:pr-(--desktop-nav-width)",focused:i,fullbleed:"lg:h-dvh lg:max-w-none lg:rounded-none lg:shadow-none"};e.s(["DESKTOP_FOCUSED_FRAME",0,i,"HIDE_WITH_DESKTOP_NAV",0,"lg:group-has-[[data-desktop-nav]]/shell:hidden","MobilePhoneShell",0,function(e){let i,s,n,o,c,d,u,h=(0,a.c)(14);h[0]!==e?({className:s,scrollable:o,desktop:c,children:i,...n}=e,h[0]=e,h[1]=i,h[2]=s,h[3]=n,h[4]=o,h[5]=c):(i=h[1],s=h[2],n=h[3],o=h[4],c=h[5]);let x=void 0!==o&&o,m=r[void 0===c?"app":c],p=x?"overflow-x-clip overflow-y-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden":"overflow-x-clip overflow-y-hidden";return h[6]!==s||h[7]!==m||h[8]!==p?(d=(0,l.cn)("group/shell relative h-dvh 
1w-full bg-surface-card text-primary-blue-900 shadow-2xl sm:h-[844px] sm:max-w-[425px] sm:rounded-[40px]",m,p,s),h[6]=s,h[7]=m,h[8]=p,h[9]=d):d=h[9],h[10]!==i||h[11]!==n||h[12]!==d?(u=(0,t.jsx)("section",{className:d,...n,children:i}),h[10]=i,h[11]=n,h[12]=d,h[13]=u):u=h[13],u}])},5840,e=>{"use strict";e.s(["deferTask",0,function(e){let t=!1;return Promise.resolve().then(()=>{t||e()}),()=>{t=!0}}])},54792,2066,e=>{"use strict";var t=e.i(13275),a=e.i(54149),l=e.i(57350),i=e.i(7999);let r=(0,e.i(48581).default)("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);e.s(["Bell",0,r],2066);var s=e.i(32048),n=e.i(41077),o=e.i(5840),c=e.i(75157);function d(e){return(0,t.jsxs)("li",{className:"flex flex-col gap-1 border-b border-neutral-50 px-4 py-3 last:border-b-0",children:[(0,t.jsx)("span",{className:"text-caption-13 font-bold text-neutral-900",children:e.title}),(0,t.jsx)("span",{className:"text-caption-12 font-medium leading-relaxed text-neutral-500",children:e.body})]},e.id)}function u(e){return!e}function h(e){return e.unread}e.s(["NotificationBell",0,function(e){let x,m,p,f,b,g,y,v,j,w,N,k,M=(0,a.c)(33),{className:z,iconClassName:S,align:_,notifications:C,disabled:B}=e,P=void 0===_?"start":_;M[0]!==C?(x=void 0===C?[]:C,M[0]=C,M[1]=x):x=M[1];let A=x,L=void 0!==B&&B,[O,T]=(0,l.useState)(!1),[I,E]=(0,l.useState)(null),R=(0,l.useRef)(null),U=(0,l.useRef)(null);M[2]!==A?(m=A.some(h),M[2]=A,M[3]=m):m=M[3];let F=m;M[4]!==P?(p=()=>{let e=R.current?.getBoundingClientRect();e&&E({top:e.bottom+8,left:Math.min(Math.max(8,"end"===P?e.right-260:e.left),window.innerWidth-260-8)})},M[4]=P,M[5]=p):p=M[5];let H=p;M[6]!==O||M[7]!==H?(f=()=>{if(!O)return;let e=(0,o.deferTask)(()=>H()),t=e=>{let t=e.target;R.current?.contains(t)||U.current?.contains(t)||T(!1)},a=()=>T(!1);return document.addEventListener("mousedown",t),document.addEventListener("click",t),window.addEventListener("resize",a),window.addEventListener("scroll",a,!0),()=>{e(),document.removeEventListener("mousedown",t),document.removeEventListener("click",t),window.removeEventListener("resize",a),window.removeEventListener("scroll",a,!0)}},b=[O,H],M[6]=O,M[7]=H,M[8]=f,M[9]=b):(f=M[8],b=M[9]),(0,l.useEffect)(f,b),M[10]!==S?(g=(0,c.cn)("size-4",S),M[10]=S,M[11]=g):g=M[11],M[12]!==g?(y=(0,t.jsx)(r,{className:g}),M[12]=g,M[13]=y):y=M[13],M[14]!==L||M[15]!==F?(v=F&&!L?(0,t.jsx)("span",{className:"absolute right-1.5 top-1.5 size-[7px] rounded-full border border-white bg-secondary-orange-500"}):null,M[14]=L,M[15]=F,M[16]=v):v=M[16],M[17]!==y||M[18]!==v?(j=(0,t.jsxs)(t.Fragment,{children:[y,v]}),M[17]=y,M[18]=v,M[19]=j):j=M[19];let V=j;return M[20]!==z||M[21]!==L||M[22]!==O||M[23]!==V?(w=L?(0,t.jsx)("span",{className:(0,c.cn)("relative flex size-9 items-center justify-center rounded-[10px] bg-white/12 text-white",z),"aria-hidden":"true",children:V}):(0,t.jsx)("button",{ref:R,type:"button",className:(0,c.cn)("relative flex size-9 items-center justify-center rounded-[10px] bg-white/12 text-white",z),"aria-label":"اعلان‌ها","aria-haspopup":"dialog","aria-expanded":O,onClick:()=>T(u),children:V}),M[20]=z,M[21]=L,M[22]=O,M[23]=V,M[24]=w):w=M[24],M[25]!==I||M[26]!==L||M[27]!==A||M[28]!==O?(N="u"<typeof document||L?null:(0,i.createPortal)((0,t.jsx)(s.AnimatePresence,{children:O&&I?(0,t.jsxs)(n.motion.div,{ref:U,role:"dialog","aria-label":"اعلان‌ها",initial:{opacity:0,y:-6,scale:.97},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-6,scale:.97},transition:{duration:.16,ease:"easeOut"},dir:"rtl",style:{top:I.top,left:I.left,width:260},className:"fixed z-[200] overflow-hidden rounded-[16px] bg-white text-neutral-900 shadow-[0_12px_30px_rgba(10,50,102,0.22)]",children:[(0,t.jsx)("div",{className:"flex items-center justify-between border-b border-neutral-100 px-4 py-3",children:(0,t.jsx)("h3",{className:"text-body-14 font-bold text-neutral-900",children:"اعلان‌ها"})}),0===A.length?(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2 px-4 py-7 text-center",children:[(0,t.jsx)("span",{className:"flex size-11 items-center justify-center rounded-full bg-primary-blue-50 text-primary-blue-500",children:(0,t.jsx)(r,{className:"size-5"})}),(0,t.jsx)("p",{className:"text-caption-13 font-medium text-neutral-500",children:"فعلاً اعلان جدیدی نداری."})]}):(0,t.jsx)("ul",{className:"max-h-[280px] overflow-y-auto",children:A.map(d)})]}):null}),document.body),M[25]=I,M[26]=L,M[27]=A,M[28]=O,M[29]=N):N=M[29],M[30]!==w||M[31]!==N?(k=(0,t.jsxs)(t.Fragment,{children:[w,N]}),M[30]=w,M[31]=N,M[32]=k):k=M[32],k}],54792)},21588,e=>{"use strict";let t=(0,e.i(48581).default)("monitor-play",[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.
1645.645 0 0 1 .967-.56z",key:"vbtd3f"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]]);e.s(["MonitorPlay",0,t],21588)},64674,e=>{"use strict";let t=(0,e.i(48581).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["Menu",0,t],64674)},64267,e=>{"use strict";var t=e.i(13275),a=e.i(54149),l=e.i(97435),i=e.i(83281);e.i(86691);var r=e.i(726),s=e.i(84361),n=e.i(21743),o=e.i(75157);e.s(["UserAvatarLink",0,function(e){let c,d,u,h,x=(0,a.c)(13),{size:m,className:p,href:f}=e,b=void 0===m?36:m,g=(0,n.useAuthedHint)(),{data:y,isSuccess:v}=(0,s.useUserMe)(g),j=g&&v&&!!y,{data:w}=(0,r.useGamificationProfile)(j),N=w?.activeAvatar?.imageUrl??"/figma-onboarding/avatar.png",k=j?void 0===f?"/leaderboard?tab=avatar":f:"/login",M=j?"انتخاب آواتار":"ورود";x[0]!==p?(c=(0,o.cn)("block shrink-0 rounded-full",p),x[0]=p,x[1]=c):c=x[1];let z=40===b?"size-10":"size-9";return x[2]!==z?(d=(0,o.cn)("rounded-full",z),x[2]=z,x[3]=d):d=x[3],x[4]!==b||x[5]!==N||x[6]!==d?(u=(0,t.jsx)(l.default,{src:N,alt:"آواتار شما",width:b,height:b,className:d}),x[4]=b,x[5]=N,x[6]=d,x[7]=u):u=x[7],x[8]!==M||x[9]!==c||x[10]!==u||x[11]!==k?(h=(0,t.jsx)(i.default,{href:k,"aria-label":M,className:c,children:u}),x[8]=M,x[9]=c,x[10]=u,x[11]=k,x[12]=h):h=x[12],h}])},56013,47932,e=>{"use strict";var t=e.i(13275),a=e.i(54149),l=e.i(66428),i=e.i(48581);let r=(0,i.default)("chart-no-axes-column",[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]]);e.s(["ChartNoAxesColumn",0,r],47932);var s=e.i(38017),n=e.i(21588),o=e.i(17697),c=e.i(41947),d=e.i(4112),u=e.i(83281);let h=(0,i.default)("log-in",[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]]);var x=e.i(83197),m=e.i(59624);e.i(86691);var p=e.i(84361),f=e.i(21743),b=e.i(75157),g=e.i(54792),y=e.i(64267),v=e.i(14206);let j="outline-none focus-visible:ring-2 focus-visible:ring-primary-blue-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white";function w(e){let i,r,s,n,o,c,d,w,k,M,z,S,_,C,B,P=(0,a.c)(57),{items:A,active:L}=e,O=(0,l.usePathname)()??"",T=(0,f.useAuthedHint)(),{data:I,isSuccess:E}=(0,p.useUserMe)(T),R=T&&E&&!!I,U=(0,v.useLogoutRedirect)();P[0]!==A?(i=new Set(A.map(N)),P[0]=A,P[1]=i):i=P[1];let F=i;if(P[2]!==L||P[3]!==A||P[4]!==O||P[5]!==R||P[6]!==F||P[7]!==I?.firstName||P[8]!==I?.lastName){let e,a,l,i,h,x,p=[...(0,v.buildPrimaryItems)(R),...v.SUPPORT_ITEMS].filter(e=>!!e.href&&!e.comingSoon&&!F.has(e.href)),f=I?.firstName,y=I?.lastName;if(P[19]!==f||P[20]!==y?(e=[f,y].filter(Boolean),P[19]=f,P[20]=y,P[21]=e):e=P[21],r=e.join(" "),k="منوی اصلی",M="",z="absolute inset-y-0 right-0 z-30 hidden w-(--desktop-nav-width) flex-col border-l border-neutral-100 bg-surface-card lg:flex",P[22]===Symbol.for("react.memo_cache_sentinel")?(a=(0,b.cn)("flex min-w-0 items-center gap-2.5 rounded-xl py-1",j),l=(0,t.jsx)(m.SeoImage,{src:"/figma-menu/footer-logo.svg",alt:"آی‌نو",width:32,height:26,className:"h-[26px] w-8 shrink-0"}),P[22]=a,P[23]=l):(a=P[22],l=P[23]),P[24]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsxs)(u.default,{href:"/",prefetch:!1,"aria-label":"سامانه آموزش مجازی آی‌نو — صفحه اصلی",className:a,children:[l,(0,t.jsxs)("span",{className:"flex min-w-0 flex-col",children:[(0,t.jsx)("span",{className:"text-body-16 font-extrabold leading-tight text-primary-blue-700",children:"آی‌نو"}),(0,t.jsx)("span",{className:"truncate text-label-11 font-medium text-neutral-500",children:"سامانه آموزش مجازی"})]})]}),P[24]=i):i=P[24],P[25]!==R?(h=R?(0,t.jsx)(g.NotificationBell,{align:"end",className:(0,b.cn)("shrink-0 bg-neutral-50 text-neutral-600 transition-colors hover:bg-primary-blue-50 hover:text-primary-blue-600",j),iconClassName:"size-[18px]"}):null,P[25]=R,P[26]=h):h=P[26],P[27]!==h?(s=(0,t.jsxs)("div",{className:"flex shrink-0 items-center justify-between gap-2 pb-5 pl-4 pr-6 pt-6",children:[i,h]}),P[27]=h,P[28]=s):s=P[28],c="flex min-h-0 flex-1 flex-col overflow-y-auto px-3 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",P[29]!==L||P[30]!==A){let e;P[32]!==L?(e=e=>{let a=e.key===L,l=e.icon;return(0,t.jsx)("li",{children:(0,t.jsxs)(u.default,{href:e.href,"aria-current":a?"page":void 0,className:(0,b.cn)("group/nav relative flex h-11 w-full items-center gap-3 rounded-xl px-3 text-start text-body-14 transition-colors",j,a?"bg-primary-blue-50 font-bold text-primary-blue-600":"font-medium text-neutral-800 hover:bg-neutral-50 hover:text-primary-blue-700"),
1children:[a?(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute inset-y-2.5 -right-3 w-1 rounded-l-full bg-primary-blue-500"}):null,(0,t.jsx)(l,{className:(0,b.cn)("size-5 shrink-0 transition-colors",a?"text-primary-blue-500":"text-neutral-500 group-hover/nav:text-primary-blue-500")}),e.title]})},e.key)},P[32]=L,P[33]=e):e=P[33],x=A.map(e),P[29]=L,P[30]=A,P[31]=x}else x=P[31];P[34]!==x?(d=(0,t.jsx)("ul",{className:"flex flex-col gap-1 pt-0.5",children:x}),P[34]=x,P[35]=d):d=P[35],P[36]===Symbol.for("react.memo_cache_sentinel")?(w=(0,t.jsx)("div",{className:"mx-3 my-4 h-px shrink-0 bg-neutral-100"}),P[36]=w):w=P[36],n="flex flex-col gap-0.5 pb-4",o=p.map(e=>{let a,l=e.icon,i=(a=e.href,!/^https?:\/\//.test(a)&&(O===a||O.startsWith(`${a}/`))),r=(0,b.cn)("flex h-9 w-full items-center gap-3 rounded-xl px-3 text-caption-13 transition-colors",j,i?"bg-primary-blue-50/60 font-bold text-primary-blue-600":"font-medium text-neutral-500 hover:bg-neutral-50 hover:text-neutral-900"),s=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l,{className:"size-4 shrink-0"}),e.label]});return(0,t.jsx)("li",{children:/^https?:\/\//.test(e.href)?(0,t.jsx)("a",{href:e.href,className:r,children:s}):(0,t.jsx)(u.default,{href:e.href,"aria-current":i?"page":void 0,className:r,children:s})},e.label)}),P[2]=L,P[3]=A,P[4]=O,P[5]=R,P[6]=F,P[7]=I?.firstName,P[8]=I?.lastName,P[9]=r,P[10]=s,P[11]=n,P[12]=o,P[13]=c,P[14]=d,P[15]=w,P[16]=k,P[17]=M,P[18]=z}else r=P[9],s=P[10],n=P[11],o=P[12],c=P[13],d=P[14],w=P[15],k=P[16],M=P[17],z=P[18];return P[37]!==n||P[38]!==o?(S=(0,t.jsx)("ul",{className:n,children:o}),P[37]=n,P[38]=o,P[39]=S):S=P[39],P[40]!==S||P[41]!==c||P[42]!==d||P[43]!==w?(_=(0,t.jsxs)("div",{className:c,children:[d,w,S]}),P[40]=S,P[41]=c,P[42]=d,P[43]=w,P[44]=_):_=P[44],P[45]!==r||P[46]!==U||P[47]!==R||P[48]!==I?(C=(0,t.jsx)("div",{className:"flex shrink-0 items-center gap-3 border-t border-neutral-100 px-5 py-4",children:R?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.UserAvatarLink,{size:40,className:"bg-primary-blue-50"}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("p",{className:"truncate text-body-14 font-bold text-neutral-900",title:r||void 0,children:r||"کاربر آی‌نو"}),I?.username?(0,t.jsx)("p",{className:"truncate text-caption-12 font-medium text-neutral-400",dir:"ltr",children:I.username}):null]}),(0,t.jsx)("button",{type:"button",onClick:U,"aria-label":"خروج از حساب کاربری",title:"خروج از حساب کاربری",className:(0,b.cn)("flex size-9 shrink-0 items-center justify-center rounded-[10px] text-red-300 transition-colors hover:bg-red-50 hover:text-red-400",j),children:(0,t.jsx)(x.LogOut,{className:"size-[18px]"})})]}):(0,t.jsxs)(u.default,{href:"/login",className:(0,b.cn)("flex h-11 w-full items-center justify-center gap-2 rounded-pill bg-secondary-orange-500 text-body-14 font-bold text-white transition-opacity hover:opacity-90",j),children:[(0,t.jsx)(h,{className:"size-[18px]"}),"ثبت نام / ورود"]})}),P[45]=r,P[46]=U,P[47]=R,P[48]=I,P[49]=C):C=P[49],P[50]!==s||P[51]!==_||P[52]!==C||P[53]!==k||P[54]!==M||P[55]!==z?(B=(0,t.jsxs)("nav",{"aria-label":k,"data-desktop-nav":M,className:z,children:[s,_,C]}),P[50]=s,P[51]=_,P[52]=C,P[53]=k,P[54]=M,P[55]=z,P[56]=B):B=P[56],B}function N(e){return e.href}let k=[{key:"profile",title:"پروفایل",icon:c.SquareUserRound,href:"/profile"},{key:"search",title:"جستجو",icon:o.Search,href:"/search"},{key:"learning",title:"یادگیری",icon:n.MonitorPlay,href:"/dashboard"},{key:"subscription",title:"اشتراک",icon:s.Gem,href:"/subscriptions"},{key:"leaderboard",title:"ماموریت‌ها",icon:r,href:"/leaderboard"}];function M(e){let i,r,s,n,o=(0,a.c)(8),{active:c}=e,u=(0,l.useRouter)();return o[0]!==c||o[1]!==u?(i=k.map(e=>{let a=e.key===c,l="learning"===e.key,i=e.icon;return l?(0,t.jsxs)("button",{type:"button","aria-current":a?"page":void 0,onClick:a?void 0:()=>u.push(e.href),className:"-mt-4.5 flex min-w-0 flex-1 flex-col items-center gap-1.75 pb-2.5",children:[(0,t.jsx)("span",{className:"flex size-11.25 items-center justify-center rounded-full bg-primary-blue-500 text-white ring-4 ring-white",children:(0,t.jsx)(i,{className:"size-6"})}),(0,t.jsx)("span",{className:"whitespace-nowrap text-body-15 font-extrabold text-primary-blue-500",children:e.title})]},e.key):(0,t.jsxs)("button",{type:"button","aria-current":a?"page":void 0,onClick:a?void 0:()=>u.push(e.href),className:(0,b.cn)("flex min-w-0 flex-1 flex-col items-center gap-1.5 py-[5px]",a?"rounded-[17px] bg-[rgb(229_229_229/0.6)] shadow-[0_0.2px_3px_rgb(0_0_0/0.2)] backdrop-blur-[1px]":"pb-1"),children:[(0,t.jsx)(i,{className:"size-[18px] text-neutral-900"}),(0,t.jsx)("span",{className:"whitespace-nowrap text-caption-12 font-medium text-neutral-900",children:e.title})]},e.key)}),o[0]=c,o[1]=u,o[2]=i):i=o[2],o[3]!==i?(r=(0,t.jsx)("div",{className:"flex items-end justify-center px-3 pt-1",dir:"ltr",children:i}),o[3]=i,o[4]=r):r=o[4],o[5]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("div",{className:"flex justify-center pb-2 pt-1.5",children:(0,t.jsx)(d.MobileHomeIndicator,{variant:"bar",className:"w-[135px] bg-neutral-200"})}),o[5]=s):s=o[5],o[6]!==r?(n=(0,t.jsxs)("nav",{"aria-label":"منوی پایین",className:"absolute inset-x-0 bottom-0 z-30 bg-white shadow-elevation-sm lg:hidden",children:[r,s]}),o[6]=r,o[7]=n):n=o[7],n}e.s(["BookCaptureBottomNav",0,function(e){let l,i=(0,a.c)(2),{active:r}=e;return i[0]!==r?(l=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(M,{active:r}),(0,t.jsx)(w,{items:k,active:r})]}),i[0]=r,i[1]=l):l=i[1],l}],56013)}]);

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.