1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[95452],{101:(e,t,l)=>{"use strict";l.d(t,{Do:()=>p,H6:()=>u,I1:()=>d,NM:()=>g,at:()=>c,nE:()=>o,x9:()=>x,yy:()=>n});var a=l(26708),s=l(48934),r=l(22356),i=l(11917);function n(e,t){return(0,a.I)({queryKey:["public-product","getById",e],enabled:!!e,queryFn:async()=>(0,i.hY)(e),initialData:t??void 0})}function d(e){let t=(e.slug||"").trim();return(0,a.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 o(e,t){let l=(t||"").trim();return(0,a.I)({queryKey:["public-form","getById",e,l],enabled:!!e&&!!l,queryFn:async()=>(0,i.oL)(e,l)})}function c(){return(0,s.n)({mutationFn:async e=>(await r.FH.post("/Home/SubmitForm",e)).data})}function u(e,t){let l=(t||"").trim();return(0,a.I)({queryKey:["public-flipbook","getById",e,l],enabled:!!e&&!!l,queryFn:async()=>(0,i.gX)(e,l)})}function p(e,t){let l=(t||"").trim();return(0,a.I)({queryKey:["public-survey","getById",e,l],enabled:!!e&&!!l,queryFn:async()=>(0,i.oD)(e,l)})}function x(){return(0,s.n)({mutationFn:async e=>await (0,i.yN)(e)})}function g(e,t,l){let s=(t||"").trim();return(0,a.I)({queryKey:["public-survey","reportById",e,s,l||""],enabled:!!e&&!!s,queryFn:async()=>(0,i.yL)(e,s)})}},49210:(e,t,l)=>{"use strict";l.d(t,{p:()=>a});let a={languageId:"",count:6,categoryId:"",displayMode:"grid",titleText:"",sectionLabelText:"",viewAllText:"",viewAllHref:"posts",showExcerpt:!0}},55214:()=>{},95452:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>x});var a=l(95155),s=l(12115),r=l(30677),i=l(30992);l(33520),l(55214);var n=l(101),d=l(6576),o=l(82842),c=l(75073),u=l(80283),p=l(49210);function x({node:e,dir:t,page:l,language:g,theme:h,isDark:m=!1}){let y={...p.p,...e.defaultProps||{}},b=(0,c.I_)(t,l,g),f=(0,c.ah)(b,l,g),w="fa"===f.toLowerCase().split(/[-_]/)[0],v=h===u.Jb.BEHMALT,j=(0,s.useRef)(null),N=(0,n.I1)({slug:f,category:y.categoryId||void 0,page:1,pageSize:Math.max(1,Math.min(24,Number(y.count)||p.p.count)),isPhotoReport:!0}),I=(N.data?.datas||[]).filter(e=>!0===e.isPhotoReport),P=y.titleText||(w?"گزارشâÙØ§Û تصÙÛØ±Û":"Photo reports"),k=y.sectionLabelText||(w?"گزارش تصÙÛØ±Û":"Photo report"),q=y.viewAllText||(w?"Ù
Ø´Ø§ÙØ¯Ù ÙÙ
Ù":"View all"),$=(0,o.cO)(f,y.viewAllHref||"posts"),F=m?"border-slate-700 bg-slate-900/80 text-slate-100":"border-slate-200 bg-white text-slate-900",B=m?"text-slate-300":"text-slate-600",M=m?"bg-slate-800":"bg-slate-100";if(!I.length)return(0,a.jsx)("div",{dir:b,className:`rounded-2xl border p-6 text-center text-sm ${F}`,children:w?"گزارش تصÙÛØ±Û Ù
ÙØªØ´Ø±Ø´Ø¯ÙâØ§Û Ù¾ÛØ¯Ø§ ÙØ´Ø¯.":"No published photo reports found."});let R=(e,t,l=!1)=>{let s,r,i=(s=e.galleryImages?.[0],(r=s?.filePath||s?.id||e.previewImage?.filePath||e.previewImageId||"")&&(/^(https?:)?\/\//i.test(r)||r.startsWith("data:"))?r:(0,d.IB)(r)),n=(0,o.cO)(f,`posts/${e.id}`);return(0,a.jsxs)("article",{className:`group overflow-hidden rounded-[24px] border shadow-sm transition duration-300 hover:-translate-y-1 hover:shadow-xl ${F} ${l?"h-full":""}`,children:[(0,a.jsx)("a",{href:n,className:`block overflow-hidden ${l?"aspect-[16/10]":"aspect-[4/3]"} ${M}`,children:i?(0,a.jsx)("img",{src:i,alt:e.title,className:"h-full w-full object-cover transition duration-500 group-hover:scale-105",loading:0===t?"eager":"lazy",decoding:"async"}):null}),(0,a.jsxs)("div",{className:"space-y-2 p-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2 text-[11px] text-emerald-600",children:[(0,a.jsx)("span",{children:k}),(0,a.jsxs)("span",{children:[(e.galleryImages?.length||0).toLocaleString(w?"fa-IR":"en-US")," ",w?"تصÙÛØ±":"images"]})]}),(0,a.jsx)("a",{href:n,className:"block text-base font-bold leading-7 no-underline",children:e.title}),y.showExcerpt&&e.abstract?(0,a.jsx)("p",{className:`line-clamp-2 text-sm leading-7 ${B}`,children:e.abstract}):null]})]},e.id||t)};return(0,a.jsx)("section",{dir:b,className:`w-full px-4 py-10 ${v?"font-iran":""}`,children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl",children:[(0,a.jsxs)("div",{className:"mb-6 flex flex-wrap items-end justify-between gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"mb-2 text-xs font-bold uppercase tracking-[0.2em] text-emerald-600",children:k}),(0,a.jsx)("h2",{className:`text-2xl font-black md:text-3xl ${m?"text-white":"text-slate-900"}`,children:P})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("a",{href:$,className:`rounded-full border px-4 py-2 text-sm font-semibold no-underline ${F}`,children:q}),"slider"===y.displayMode?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{type:"button",className:`h-10 w-10 rounded-full border ${F}`,onClick:()=>j.current?.slidePrev(),"aria-label":w?"ÙØ¨ÙÛ":"Previous",children:"â¹"}),(0,a.jsx)("button",{type:"button",className:`h-10 w-10 rounded-full border ${F}`,onClick:()=>j.current?.slideNext(),"aria-label":w?"بعدÛ":"Next",children:"âº"})]}):null]})]}),"slider"===y.displayMode?(0,a.jsx)(r.RC,{onSwiper:e=>{j.current=e},dir:b,modules:[i.Ij,i.dK],spaceBetween:18,slidesPerView:1,pagination:{clickable:!0},autoplay:{delay:4200,disableOnInteraction:!1},breakpoints:{640:{slidesPerView:2},1024:{slidesPerView:3}},children:I.map((e,t)=>(0,a.jsx)(r.qr,{children:R(e,t)},e.id))}):"featured"===y.displayMode?(0,a.jsxs)("div",{className:"grid gap-5 lg:grid-cols-[1.35fr_1fr]",children:[R(I[0],0,!0),(0,a.jsx)("div",{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-1",children:I.slice(1).map((e,t)=>R(e,t+1))})]}):(0,a.jsx)("div",{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:I.map((e,t)=>R(e,t))})]})})}}}]);
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.