PageSourceSearch

https://exnovin.io/_next/static/chunks/pages/announcement-4389323bbf637b02.js

js exnovin.io collected 2026-10-01 23:54:24 UTC 7,829 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5279],{56396:function(e,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/announcement",function(){return t(18533)}])},45742:function(e,a,t){"use strict";var n=t(85893),o=t(67294),r=t(36822),i=t(2734),l=t(91685),s=t.n(l);a.Z=(0,o.memo)(function(){let e=(0,i.Z)();return(0,n.jsx)(r.Z,{component:"div",className:"rounded-b-150 w-full ",sx:{backgroundColor:"surfContainerLowest.main"},children:(0,n.jsxs)(r.Z,{component:"div",className:"p-300 w-full flex flex-col medium:flex-row items-center justify-center rounded-150 gap-100 relative",sx:{backgroundColor:"warningOpacity8.main",color:"warning.main"},children:[(0,n.jsx)(r.Z,{className:"iconErrorDiamond text-[24px]",sx:{color:"warning.main"}}),"نتیجه‌ای یافت نشد",(0,n.jsx)(r.Z,{sx:{background:"linear-gradient(-90deg,rgba(235, 154, 11, 0), ".concat(s()(e.palette.warning.main),", rgba(235, 154, 11, 0))")},className:"absolute left-0 right-0 bottom-0 w-full h-[2px]"})]})})})},45307:function(e,a,t){"use strict";t.d(a,{t:function(){return r}});var n=t(15054),o=t(40549);let r=(0,o.ZP)(n.Z)(e=>{let{theme:a}=e;return{height:36,minHeight:36,borderRadius:a.spacing(100),gap:a.spacing(100),color:a.palette.onSurfaceVar.main,"& .Mui-selected":{color:a.palette.onPrimaryContainer.main,backgroundColor:a.palette.primaryContainer.main,border:"1px solid",borderColor:a.palette.primaryOpacity12.main},"& .MuiPaginationItem-page.Mui-selected":{color:a.palette.onPrimaryContainer.main,backgroundColor:a.palette.primaryContainer.main},"& .MuiPaginationItem-page.Mui-selected:hover":{backgroundColor:a.palette.primaryContainer.main},"& .MuiPaginationItem-page:hover":{backgroundColor:a.palette.primaryOpacity8.main},"& .MuiButtonBase-root:hover":{backgroundColor:a.palette.primaryOpacity8.main},"& .MuiButtonBase-root":{color:a.palette.onSurfaceVar.main},"& .MuiPagination-ul":{flexWrap:"nowrap"}}})},63815:function(e,a,t){"use strict";t.d(a,{A:function(){return r}});var n=t(40044),o=t(40549);let r=(0,o.ZP)(n.Z)(e=>{let{theme:a}=e;return{height:48,minHeight:20,px:a.spacing(200),borderRadius:a.spacing(100),gap:a.spacing(100),color:a.palette.onSurfaceVar.main,"&&.Mui-selected":{color:a.palette.secondary.main,backgroundColor:a.palette.secondaryOpacity8.main},"&:hover":{backgroundColor:"transparent",color:a.palette.secondary.main},".MuiTouchRipple-child":{backgroundColor:a.palette.secondaryOpacity12.main},".MuiTouchRipple-rippleVisible":{opacity:1},"&:hover .MuiTouchRipple-root":{backgroundColor:a.palette.secondaryOpacity12.main,animationDuration:"200ms"}}})},66936:function(e,a,t){"use strict";t.d(a,{x:function(){return TabPanel}});var n=t(85893),o=t(36822);t(67294);let TabPanel=function(e){let{children:a,value:t,index:r,...i}=e;return(0,n.jsx)("div",{role:"tabpanel",hidden:t!==r,id:"horizontal-tabpanel-".concat(r),"aria-labelledby":"horizontal-tab-".concat(r),className:"h-full",...i,children:t===r&&(0,n.jsx)(o.Z,{className:"h-full",sx:{p:3},children:a})})};TabPanel.defaultProps={children:null}},18533:function(e,a,t){"use strict";t.r(a),t.d(a,{__N_SSG:function(){return N},default:function(){return announcement}});var n=t(85893),o=t(67294),r=t(36822),i=t(39341),l=t(60156),s=t(74428),c=t(77211),u=t(87109),p=t(91352),d=t(63815),m=t(66936),x=t(45307),h=t(45742),f=t(49988),g=t(3067),b=t.n(g),y=(0,o.memo)(function(e){let{item:a}=e,[t,i]=(0,o.useState)(!1),l=(0,o.useCallback)(()=>{i(!0)},[]),s=(0,o.useCallback)(()=>{i(!1)},[]);return(0,n.jsxs)(r.Z,{onMouseEnter:l,onMouseLeave:s,className:"flex flex-row gap-100 medium:items-center",children:[(0,n.jsx)(r.Z,{className:"!w-300 !h-300 flex items-center justify-center rounded-full",children:(0,n.jsx)(r.Z,{className:"!w-75 !h-75 rounded-full",sx:{backgroundColor:t?"onSurfaceVar.main":"surfContainerHighest.main"}})}),(0,n.jsx)(f.Z,{href:"/announcement/".concat(a.id),children:(0,n.jsxs)(r.Z,{className:"flex flex-col medium:flex-row gap-100 medium:items-center medium:py-100 rounded-100",children:[(0,n.jsx)(r.Z,{component:"h3",sx:{typography:"bodyMedium",color:t?"secondary.main":"onSurface.main",margin:0},children:a.attributes.hero.pageName}),(0,n.jsx)(r.Z,{component:"span",sx:{typography:"labelSmall",color:t?"onSurfaceVar.main":"outline.main"},children:b()(a.attributes.updatedAt).locale("fa").format("YYYY/MM/DD")})]})})]})}),j=(0,o.memo)(function(e){let{data:a}=e,[t,i]=(0,o.useState)(1),[l,s]=(0,o.useState)(a[0]);(0,o.useEffect)(()=>{s(a[0])},[a]);let c=(0,o.useCallback)((e,t)=>{i(t),s(a[t-1])},[a]);return(0,n.jsxs)(r.Z,{children:[(0,n.jsxs)(r.Z,{children:[null==l?void 0:l.map(e=>(0,n.jsx)(y,{item:e})),0===a.length&&(0,n.jsx)(h.Z,{})]}),(0,n.jsx)(r.Z,{className:"flex items-center justify-center",children:a.length>1&&(0,n.jsx)(x.t,{onChange:c,page:t,count:a.length,shape:"rounded",boun
1daryCount:1})})]})}),w=t(69621),C=t(4772),Z=t(2487),v=(0,o.memo)(function(e){let{data:a}=e,[t,i]=(0,o.useState)(""),[l,s]=o.useState(0),[x,h]=(0,o.useState)(a),f=(0,o.useCallback)(e=>{i(e.target.value)},[]);(0,o.useEffect)(()=>{if(t){let e=C.Z(a),n=e.filter(e=>e.attributes.hero.pageName.toUpperCase().includes(t.toUpperCase()));h(n)}else h(a)},[t,a]);let g=(0,o.useMemo)(()=>[{type:"all",title:"همه"},{type:"list_delist_token",title:"لیست/حذف رمزارز"},{type:"updates",title:"به‌روزرسانی"},{type:"withdraw_deposit",title:"واریز و برداشت"},{type:"trade",title:"معامله"},{type:"general",title:"عمومی"}],[]),a11yProps=e=>({id:"horizontal-tab-".concat(e),"aria-controls":"horizontal-tabpanel-".concat(e)}),b=(0,o.useCallback)(e=>"all"===e?(0,w.Z)(10,x):(0,w.Z)(10,x.filter(a=>a.attributes.tag===e)),[x]);return(0,n.jsx)(r.Z,{className:"z-50 rounded-100 p-200 pt-200 gap-300 flex flex-col",sx:{backgroundColor:"surfContainerLowest.main",boxShadow:5},children:(0,n.jsxs)(r.Z,{className:"flex flex-col gap-200",children:[(0,n.jsxs)(r.Z,{className:"flex flex-col medium:flex-row w-full items-center justify-between overflow-visible",children:[(0,n.jsx)(p.Z,{orientation:"horizontal",variant:"scrollable",scrollButtons:!1,value:l,onChange:(e,a)=>{s(a)},className:"w-full  overflow-visible",sx:{height:58,"&& .MuiTabs-flexContainer":{gap:150,position:"absolute",bottom:0},"&.MuiTabs-root":{},"& .MuiTabs-scroller":{overflowY:"visible"},"& .MuiBadge-badge":{left:e=>e.spacing(0),right:"unset",boxShadow:"0px 4px 8px 0px #FF572233"},"& .MuiBadge-root":{display:"contents"},"& .MuiButtonBase-root":{}},TabIndicatorProps:{style:{display:"none"}},children:g.map((e,a)=>(0,n.jsx)(d.A,{sx:{typography:"bodyMedium",height:48},...a11yProps(a),className:"overflow-visible",component:"h2",label:(0,n.jsx)(c.Z,{className:"w-[18px] h-[18px]",sx:{typography:"bodyMedium"},badgeContent:t&&b(e.type)?b(e.type).length:0,color:"secondary",anchorOrigin:{vertical:"top",horizontal:"right"},children:e.title})},e.title))}),(0,n.jsx)(Z.M,{id:"standard-basic",placeholder:"جستجو",variant:"standard",className:"w-full medium:w-[300px] mb-150 text-[13px]",sx:{height:56,typography:"13px",color:"onSurface.main"},value:t,onChange:f,InputProps:{endAdornment:(0,n.jsx)(u.Z,{position:"start",children:(0,n.jsx)(r.Z,{component:"span",sx:{color:"outline.main"},className:"iconSearch block text-center text-[1.125rem] cursor-pointer"})})}})]}),g.map((e,a)=>(0,n.jsx)(m.x,{value:l,index:a,children:(0,n.jsx)(j,{data:b(e.type)})},e.title))]})})}),N=!0,announcement=function(e){let{announcementData:a,seo:t,hero:o}=e,{description:c,title:u,image:p}=t;return(0,n.jsxs)(r.Z,{component:"div",className:"w-full",children:[(0,n.jsx)(i.Z,{hero:o}),(0,n.jsx)(l.Z,{title:u,description:c,image:p,path:"announcement"}),(0,n.jsxs)(r.Z,{className:"w-full flex flex-col gap-1000",children:[(0,n.jsx)(v,{data:a}),(0,n.jsx)(s.Z,{})]})]})}}},function(e){e.O(0,[7107,1063,3067,352,5054,8558,238,9774,2888,179],function(){return e(e.s=56396)}),_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.