1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[71910],{101:(e,t,s)=>{"use strict";s.d(t,{Do:()=>u,H6:()=>x,I1:()=>c,NM:()=>p,at:()=>o,nE:()=>d,x9:()=>m,yy:()=>n});var r=s(26708),a=s(48934),l=s(22356),i=s(11917);function n(e,t){return(0,r.I)({queryKey:["public-product","getById",e],enabled:!!e,queryFn:async()=>(0,i.hY)(e),initialData:t??void 0})}function c(e){let t=(e.slug||"").trim();return(0,r.I)({queryKey:["public-posts",t,e.category||"",e.page??1,e.pageSize??9,e.isPhotoReport??null],enabled:!!t,queryFn:async()=>(0,i.dc)({slug:t,category:e.category,page:e.page,pageSize:e.pageSize,isPhotoReport:e.isPhotoReport})})}function d(e,t){let s=(t||"").trim();return(0,r.I)({queryKey:["public-form","getById",e,s],enabled:!!e&&!!s,queryFn:async()=>(0,i.oL)(e,s)})}function o(){return(0,a.n)({mutationFn:async e=>(await l.FH.post("/Home/SubmitForm",e)).data})}function x(e,t){let s=(t||"").trim();return(0,r.I)({queryKey:["public-flipbook","getById",e,s],enabled:!!e&&!!s,queryFn:async()=>(0,i.gX)(e,s)})}function u(e,t){let s=(t||"").trim();return(0,r.I)({queryKey:["public-survey","getById",e,s],enabled:!!e&&!!s,queryFn:async()=>(0,i.oD)(e,s)})}function m(){return(0,a.n)({mutationFn:async e=>await (0,i.yN)(e)})}function p(e,t,s){let a=(t||"").trim();return(0,r.I)({queryKey:["public-survey","reportById",e,a,s||""],enabled:!!e&&!!a,queryFn:async()=>(0,i.yL)(e,a)})}},27996:()=>{},42164:()=>{},55214:()=>{},61566:(e,t,s)=>{"use strict";s.d(t,{Ls:()=>a,sA:()=>l,xX:()=>i});var r,a=((r={})[r.DISABLED=0]="DISABLED",r[r.PUBLIC=1]="PUBLIC",r[r.AUTHENTICATED=2]="AUTHENTICATED",r);function l(e){if(e)return e.createdDateTime||e.createdAt||e.createDate||e.date||void 0}function i(e,t){let s=String(e||"").trim();if(!s){let e=String(t||"").trim().slice(0,10);return e?`${e}T12:00:00.000Z`:void 0}return`${s.slice(0,10)}T12:00:00.000Z`}},71910:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>m});var r=s(95155);s(42164);var a=s(12115),l=s(30677),i=s(30992);s(33520),s(27996),s(55214);var n=s(101),c=s(61566),d=s(6576),o=s(82842),x=s(80283),u=s(75073);function m({node:e,dir:t,page:s,theme:p,isDark:h=!1,language:y}){let g=e.defaultProps||{},b=(0,a.useRef)(null),f=(0,u.I_)(t,s,y),j="rtl"===f,v=p===x.Jb.BEHMALT,N=(0,u.ah)(f,s,y),w=(0,u.jX)(f,s,y),I="fa"===N.toLowerCase().split(/[-_]/)[0],k=j?"right":"left",A=g.viewAllText||(I?"Ù
Ø´Ø§ÙØ¯Ù ÙÙ
Ù":"View All"),P=(0,o.cO)(N,g.viewAllHref||"posts"),C=g.titleText||(I?"آخرÛÙ ÙÙØ´ØªÙâÙØ§":"Latest Posts"),F=g.sectionLabelText||(I?"Ø®Ø¨Ø±ÙØ§":"Editorial"),q=(0,n.I1)({slug:N,category:g?.categoryId||void 0,page:1,pageSize:g?.count||7}),B=q.data?.datas||[],D=e=>(0,o.cO)(N,`posts/${e?.id}`),S=h?"border-slate-700 bg-slate-900/80":"border-slate-200 bg-white",T=h?"bg-slate-800":"bg-slate-100",$=h?"text-slate-100":"text-slate-900",L=h?"text-slate-300":"text-slate-600",E=h?"border-slate-700 bg-slate-900/70 text-slate-200 hover:border-emerald-400 hover:text-emerald-400":"border-slate-200 bg-white text-slate-700 hover:border-emerald-400 hover:text-emerald-600",V=e=>{let t=(0,c.sA)(e);return t?new Date(t).toLocaleDateString(w):""},K=e=>(0,d.IB)(e.previewImage?.filePath||e.previewImageId||"");return B.length?v?(0,r.jsxs)("div",{className:"post-slider-widget-container",dir:f,children:[(0,r.jsxs)("div",{className:"post-slider-header",children:[(0,r.jsxs)("div",{className:"post-slider-title",children:[(0,r.jsx)("i",{className:"far fa-newspaper"}),(0,r.jsx)("h3",{children:C})]}),(0,r.jsxs)("div",{className:"post-slider-controls",children:[(0,r.jsx)("a",{href:P,className:"slider-control-btn !w-auto px-4 no-underline",children:A}),(0,r.jsx)("button",{className:"slider-control-btn",onClick:()=>b.current?.slidePrev(),"aria-label":"Previous",children:(0,r.jsx)("i",{className:`far ${j?"fa-arrow-right":"fa-arrow-left"}`})}),(0,r.jsx)("button",{className:"slider-control-btn",onClick:()=>b.current?.slideNext(),"aria-label":"Next",children:(0,r.jsx)("i",{className:`far ${j?"fa-arrow-left":"fa-arrow-right"}`})})]})]}),(0,r.jsx)(l.RC,{onSwiper:e=>b.current=e,dir:f,modules:[i.Vx,i.dK,i.Ij],spaceBetween:20,slidesPerView:1,navigation:!1,pagination:{clickable:!0},autoplay:{delay:3e3,disableOnInteraction:!1},breakpoints:{640:{slidesPerView:2},1024:{slidesPerView:3}},className:"mySwiper",children:B.map((e,t)=>(0,r.jsx)(l.qr,{children:(0,r.jsxs)("div",{className:"post-slide-card",children:[(0,r.jsx)("div",{className:"p-2",children:K(e)?(0,r.jsx)("a",{href:D(e),className:"block",children:(0,r.jsx)("img",{src:K(e),alt:e.title,className:"post-slide-image rounded-lg h-32",loading:0===t?"eager":"lazy",decoding:"async"})}):null}),(0,r.jsxs)("div",{className:"post-slide-content",children:[(0,r.jsxs)("div",{className:"post-slide-meta flex flex-row items-center justify-between",children:[(0,r.jsx)("div",{className:"post-categories-wrapper",children:e.postCategories&&e.postCategories.length>0?e.postCategories.map((e,t)=>(0,r.jsx)("span",{className:"rounded-tl-xl rounded-br-xl bg-[#F5F5F5] p-2 px-4 text-xs font-secondary text-gray-400 transition hover:bg-primary/10 hover:text-primary",children:e.name||e.title},t)):(0,r.jsx)("span",{className:"rounded-tl-xl rounded-br-xl bg-[#F5F5F5] p-2 px-2 text-xs font-secondary text-gray-400 transition hover:bg-primary/10 hover:text-primary",children:I?"بدÙ٠دستÙâØ¨ÙØ¯Û":"Uncategorized"})}),(0,r.jsx)("span",{className:"post-date font-secondary",children:V(e)})]}),(0,r.jsx)("a",{href:D(e),className:"block font-primary text-sm hover:text-primary",style:{textAlign:k,direction:f},children:e?.title}),(0,r.jsx)("p",{className:"font-secondary text-xs",style:{textAlign:k,direction:f},children:e?.abstract?.substring(0,120)})]})]})},t))})]}):(0,r.jsx)("section",{className:"mx-auto w-full px-4 py-10",dir:f,children:(0,r.jsxs)("div",{className:"mx-auto max-w-7xl",children:[(0,r.jsxs)("div",{className:"mb-6 flex items-end justify-between gap-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"mb-2 text-sm font-semibold uppercase tracking-[0.18em] text-emerald-600",children:F}),(0,r.jsx)("h2",{className:`text-2xl font-bold md:text-3xl ${$}`,children:C})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("a",{href:P,className:`inline-flex items-center gap-2 rounded-full border px-4 py-2 text-sm font-medium transition ${E}`,children:A}),(0,r.jsx)("button",{type:"button",className:`inline-flex h-11 w-11 items-center justify-center rounded-full border transition ${E}`,onClick:()=>b.current?.slidePrev(),children:j?"â":"â"}),(0,r.jsx)("button",{type:"button",className:`inline-flex h-11 w-11 items-center justify-center rounded-full border transition ${E}`,onClick:()=>b.current?.slideNext(),children:j?"â":"â"})]})]}),(0,r.jsx)(l.RC,{onSwiper:e=>b.current=e,dir:f,modules:[i.Vx,i.dK,i.Ij],spaceBetween:20,slidesPerView:1,pagination:{clickable:!0},autoplay:{delay:3e3,disableOnInteraction:!1},breakpoints:{640:{slidesPerView:2},1200:{slidesPerView:3}},children:B.map((e,t)=>(0,r.jsx)(l.qr,{children:(0,r.jsxs)("article",{className:`overflow-hidden rounded-[24px] border shadow-sm transition hover:-translate-y-1 hover:shadow-xl ${S}`,children:[(0,r.jsx)("div",{className:`aspect-[16/10] overflow-hidden ${T}`,children:K(e)?(0,r.jsx)("a",{href:D(e),className:"block h-full w-full",children:(0,r.jsx)("img",{src:K(e),alt:e.title,className:"h-full w-full object-cover",loading:0===t?"eager":"lazy",decoding:"async"})}):null}),(0,r.jsxs)("div",{className:"space-y-3 p-5",children:[(0,r.jsx)("div",{className:"text-xs font-medium uppercase tracking-[0.12em] text-slate-400",children:V(e)}),(0,r.jsx)("a",{href:D(e),className:`block text-lg font-semibold ${$}`,style:{textAlign:k,direction:f},children:e?.title}),(0,r.jsx)("p",{className:`line-clamp-3 text-sm leading-7 ${L}`,style:{textAlign:k,direction:f},children:e?.abstract?.substring(0,140)})]})]})},t))})]})}):(0,r.jsx)("div",{className:"p-4 text-center",children:I?"Ù
Ø·ÙØ¨Û ÛØ§Ùت ÙØ´Ø¯.":"No posts found."})}}}]);
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.