PageSourceSearch

https://ppt.ir/_next/static/chunks/6100-ac477eac80a19198.js

js ppt.ir collected 2026-10-02 18:23:20 UTC 14,694 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6100],{70747:function(e,t,s){s.d(t,{Z:function(){return r}}),s(67294);var n=s(33374),i=s(85893);function r(e){var t=e.type,s=e.className;return(0,i.jsx)("div",{className:"empty-gallery "+t+(s?" "+s:""),children:(0,i.jsx)("img",{src:"/logo-".concat(n.Z.website,".png")})})}},88178:function(e,t,s){s.d(t,{Z:function(){return ex}});var n=s(55673),i=s(5789),r=s(67294),l=s(91633),a=s(10149),c=s(1229),o=s(70747),d=s(85893);function x(e){var t=e.file,s=(0,r.useState)([]),n=s[0],i=s[1],x=(0,r.useState)(!0),f=x[0],h=x[1],u=t.images?t.images:[];return(0,r.useEffect)(function(){u&&(u.length&&i(u.map(function(e){return{original:e,thumbnail:e}})),h(!1))},[u]),f?(0,d.jsx)(a.default.Image,{rootClassName:"gallery-active-skeleton",className:"gallery-active-skeleton-child",active:!0}):n&&n.length?(0,d.jsxs)("div",{className:"gallery",children:[(0,d.jsx)(c.Z,{showIndex:!0,lazyLoad:!0,isRTL:!0,autoPlay:!0,items:n,slideDuration:1e3,slideInterval:6e3},t._id),(0,d.jsxs)("div",{className:"gallery-detail",children:[(0,d.jsx)("p",{children:"در نمایش آنلاین فایل، ممکن است بعضی علائم، اعداد و حتی فونت‌ها به خوبی نمایش داده نشود. این مشکل در فایل اصلی وجود ندارد."}),(0,d.jsxs)("p",{children:["در نمایش آنلاین تعداد ",(0,d.jsx)("strong",{children:t.images.length})," از ",(0,d.jsx)("strong",{children:t.total_slides})," صفحه نمایش داده شده است. "]})]})]}):(0,d.jsx)(d.Fragment,{children:t.thumbnail?(0,d.jsx)(l.Z,{style:{margin:"25px 0"},src:t.thumbnail}):(0,d.jsx)(o.Z,{className:"empty-margin",type:t.type})})}var f=s(53740),h=s(84960),u=s(74253),j=s(91075),p=s(87547),g=s(3067),m=s.n(g),b=s(41664),y=s.n(b),v=s(33374);function _(e){var t=e.file,s=t.tag.map(function(e,t){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(y(),{title:e,href:"/"+("ppt"==v.Z.website?"slide-":"")+"tag/"+e,children:(0,d.jsx)("span",{children:e})},e),(0,d.jsx)("br",{})]})}),r=[{key:"part-1",title:"جزئیات",href:"#part-1"}];return(t.file_content&&!t.is_template&&""!=t.file_content||t.file_content_ref.length||t.file_content_abiword_ref.length)&&r.push({key:"part-2",title:"متن فایل",href:"#part-2"}),(0,d.jsxs)("div",{className:"file-detail",children:[(0,d.jsx)(j.Z,{direction:"horizontal",offsetTop:66,items:r,style:{padding:"0 0 10px",marginTop:0,backgroundColor:"#fff"}}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{id:"part-1",children:(0,d.jsxs)(n.Z,{gutter:15,children:[(0,d.jsxs)(i.Z,{md:16,children:[(0,d.jsx)("p",{className:"file-content",children:t.content}),(0,d.jsx)(u.Z,{}),(0,d.jsx)(h.Z,{size:64,icon:(0,d.jsx)(p.Z,{})}),(0,d.jsx)(y(),{className:"owner-name",href:"#",children:(0,d.jsx)("h4",{children:t.user.full_name})})]}),(0,d.jsx)(i.Z,{md:8,children:(0,d.jsxs)("div",{className:"file-details-count",children:[(0,d.jsxs)("span",{children:[(0,d.jsx)("strong",{children:t.total_slides})," صفحه"]}),(0,d.jsx)("br",{}),(0,d.jsxs)("span",{children:[(0,d.jsx)("strong",{children:t.views_count})," بازدید"]}),(0,d.jsx)("br",{}),(0,d.jsx)("span",{children:m()(t.created_at).locale("fa").format("jDD jMMMM jYYYY")}),(0,d.jsx)("br",{}),(0,d.jsx)("br",{}),t.tag.length?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{children:(0,d.jsx)("b",{children:"برچسب‌ها"})}),(0,d.jsx)("br",{}),(0,d.jsx)(f.Z.Paragraph,{ellipsis:{rows:5,expandable:!0,symbol:(0,d.jsx)("span",{title:"جهت مشاهده کلیک کنید",children:"مشاهده همه تگ‌ها"})},children:s})]}):null]})})]})}),t.file_content&&""!=t.file_content&&!t.is_template||t.file_content_ref.length||t.file_content_abiword_ref.length?(0,d.jsxs)("div",{id:"part-2",children:[t.file_content?(0,d.jsx)("div",{className:"file-text-content",children:t.file_content}):"",(0,d.jsx)("div",{className:"file-text-content",children:t.file_content_ref.map(function(e,t){return(0,d.jsxs)("p",{children:[(0,d.jsxs)("span",{style:{color:"#f95a36"},children:["صفحه ",t+1,":"]}),(0,d.jsx)("br",{}),e]})})}),t.file_content_abiword_ref?(0,d.jsxs)(d.Fragment,{children:[" ",(0,d.jsx)(u.Z,{})," ",(0,d.jsx)("div",{className:"file-text-content",children:(0,d.jsx)("p",{children:t.file_content_abiword_ref})})," "]}):""]}):null]})]})}var Z=s(65400),w=s.n(Z),N=s(1010),k=s(19985),O=s(59499),S=s(97538),C=s(16835),F=s(53635),P=s(31765),z=s(78298),D=s(67856);s(99937);var E=s(93205),L=s(33215),M=s(28437),T=s(63318),q=s(2947);function A(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,n)}return s}function B(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};
1t%2?A(Object(s),!0).forEach(function(t){(0,O.Z)(e,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):A(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}function I(e){var t=e.state,s=e.setState,n=e.file,i=(0,r.useState)(!1),l=i[0],a=i[1];(0,T.useTurnstile)();var c=S.Z.useForm(),o=(0,C.Z)(c,1)[0];return(0,r.useEffect)(function(){o.resetFields()},[t]),(0,d.jsxs)(F.Z,{state:t,title:"ثبت شکایت / گزارش مشکل",setState:s,children:[(0,d.jsxs)("p",{children:["در صورتی که صاحب فایل هستید و یا نسبت به محتوای فایل عرضه شده اعتراض دارید و انتشار آن را خلاف قوانین جمهوری اسلامی ایران می دانید همین حالا به ما اطلاع دهید تا آن را در اسرع وقت از سایت ایران فایلز حذف کنیم. ",(0,d.jsx)("br",{})," با تشکر از شما کاربران گرامی."]}),(0,d.jsx)("br",{}),(0,d.jsxs)(S.Z,{form:o,onFinish:function(e){a(!0);var t=B(B({},e),{},{file:n._id});(0,E.w)(L.Z.report,t,"post").then(function(e){(0,q.Am)(e.data.message,{pauseOnHover:!0,type:"success",closeButton:!1,position:"bottom-right"}),s(!1)}).catch(function(e){return(0,k.VQ)(e,[o])}).finally(function(){a(!1)})},disabled:l,children:[(0,d.jsx)(D.Z,{label:"فایل",disabled:!0,placeholder:n.title}),(0,d.jsx)(D.Z,{label:"نام و نام خانوادگی",name:"full_name",required:!0,placeholder:" "}),(0,d.jsx)(P.Z,{required:!0}),(0,d.jsx)(z.Z,{}),(0,d.jsx)(D.Z,{textarea:!0,required:!0,label:"توضیحات",name:"description",placeholder:"توضیحات خود را وارد نمایید",maxLength:500}),(0,d.jsx)(M.i,{form:o}),(0,d.jsx)(w(),{type:"primary",htmlType:"submit",disabled:l,loading:l,children:"ارسال"})]})]})}var H=s(64789),V=s(85060),Y=s(59117);function K(e){var t=e.file,s=e.is_exist,n=e.processFile,i=e.cartPage;return(0,d.jsx)(d.Fragment,{children:s?(0,d.jsx)(w(),{onClick:i,style:{backgroundColor:"green"},type:"primary",icon:(0,d.jsx)(Y.Z,{}),children:"تکمیل خرید"}):(0,d.jsx)(w(),{style:{backgroundColor:"#3dbf00"},onClick:n,type:"primary",icon:t.price&&!t.bought?(0,d.jsx)(H.Z,{}):(0,d.jsx)(V.Z,{}),children:t.price&&!t.bought?"افزودن به سبد خرید":"دریافت فایل"})})}var Q=s(23755),U=s(32354),G=s(86548);function R(e){var t=e.file,s=e.is_exist,n=e.processFile,i=e.cartPage,l=(0,r.useContext)(U.s).authUser,a=(0,r.useState)(!1),c=a[0],o=a[1],x=(0,r.useState)(!1),f=x[0],h=x[1];return(0,d.jsxs)(N.Z,{className:"sidebar-content buy-section",children:[(0,d.jsx)("h3",{children:t.price?(0,k.S2)(t.price)+" تومان":"رایگان"}),(0,d.jsx)(u.Z,{}),(0,d.jsx)("p",{children:"خرید فایل توسط کلیه کارت‌های شتاب امکان‌پذیر است و بلافاصله پس از خرید، لینک دانلود فایل در اختیار شما قرار خواهد گرفت."}),(0,d.jsx)("p",{children:"در صورت عدم رضایت سفارش برگشت و وجه به حساب شما برگشت داده خواهد شد."}),(0,d.jsx)("p",{children:"در صورت نیاز به شماره 09353405883 در ایتا پیام دهید."}),(0,d.jsx)(K,{file:t,is_exist:s,processFile:n,cartPage:i}),(0,d.jsx)(u.Z,{}),(0,d.jsx)(w(),{onClick:function(){return o(!0)},children:"ثبت شکایت / گزارش مشکل"}),l&&l.access_level&&"admin"==l.access_level&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(u.Z,{}),(0,d.jsx)(w(),{onClick:function(){return h(!0)},danger:!0,icon:(0,d.jsx)(G.Z,{}),children:"ویرایش"}),(0,d.jsx)(Q.Z,{fileID:t._id,visible:f,setVisible:h})]}),(0,d.jsx)(I,{file:t,state:c,setState:o})]})}var W=s(1350),X=s(27461),J=s(43069),$=s(4161),ee=s(97175),et=s(49354);function es(e){var t=e.file,s={zip:(0,d.jsx)(X.Z,{style:{color:"#face1b"}}),ppt:(0,d.jsx)(J.Z,{}),doc:(0,d.jsx)($.Z,{style:{color:"#4689f4"}}),excel:(0,d.jsx)(ee.Z,{style:{color:"#1ea462"}}),pdf:(0,d.jsx)(et.Z,{style:{color:"#cd0e0e"}})};return t?(0,d.jsx)(N.Z,{className:"related-file-single",children:(0,d.jsxs)(y(),{href:"".concat(v.Z.frontend,"/").concat("ppt"==v.Z.website?"slide":"file","/").concat(t.slug),children:[(0,d.jsxs)("div",{className:"related-file-image",style:t.images&&t.images.length?{backgroundImage:"url(".concat(t.images[0],")")}:{},children:[(0,d.jsx)("div",{className:"icon-container",children:s[t.type]}),t.images&&t.images.length?null:(0,d.jsx)(o.Z,{type:t.type})]}),(0,d.jsxs)("div",{className:"related-file-content",children:[(0,d.jsx)("h4",{title:t.title,children:t.title}),(0,d.jsxs)("span",{children:[t.views_count?t.views_count+" بازدید • ":"","  ",t.price?(0,k.S2)(t.price)+" تومان":"رایگان"]}),(0,d.jsx)("span",{children:" • "+(0,k.Gb)(t.created_at)})]})]})}):(0,d.jsx)(d.Fragment,{})}function en(e){var t=e.file,s=[];return t&&t.related&&(s=[{key:"1",label:"فایل‌های مشابه",children:t.related.map(function(e){return(0,d.jsx)(es,{file:e},e._id)})}]),t&&t.related?(0,d.jsx)("div",{className:"sidebar-content related-files",children:(0,d.jsx)(W.Z,{defaultActiveKey:"1",items:s})}):(0,d.jsx)(d.Fragment,{})}var ei=s(55655),er=s(62443),el=s(74048),ea=s(28472),ec=s(86204),eo=s(74855);function ed(e){var t=e.file,s=e.setLoginModal,n=(0,r.useContext)(U.s).authUser,i=(0,r.useState)(t.is_liked),l=i[0],a=i[1],c=(0,r.useState)(!1),o=c[0],x=c[1];(0,r.useEffect)(function(){a(t.is_liked)},[t]);var f=(0,k.Fe)(t),h=(0,d.jsxs)(el.default,{children:[(0,d.jsx)("a",{target:"_blank",href:"whatsapp://send?text="+t.title+"\n"+f,children:(0,d.jsx)(ec.xpo,{color:"#25d366",fontSize:24})}),(0,d.jsx)("a",{target:"_blank",href:"https://telegram.me/share/url?url="+f+"&text="+t.title,children:(0,d.jsx)(ec.Ww5,{color:"#0088cc",fontSize:24})}),(0,d.jsx)("a",{target:"_blank",href:"http://x.com/share?url="+f+"&text="+t.title,children:(0,d.jsx)(ec.LCd,{color:"#000",fontSize:24})}),(0,d.jsx)("a",{target:"_blank",href:"https://www.linkedin.com/sharing/share-offsite/?url="+f,children:(0,d.jsx)(ec.ltd,{color:"#0077B5",fontSize:24})}),(0,d.jsx)(eo.CopyToClipboard,{text:f,onCopy:function(){return(0,q.Am)("با موفقیت کپی شد!",{pauseOnHover:!0,type:"success",closeButton:!1,position:"bottom-right"})},children:(0,d.jsx)(ec.gjK,{style:{cursor:"pointer"},color:"#000",fontSize:24})})]});return(0,d.jsx)("div",{className:"btns-area",children:(0,d.jsxs)(el.default,{children:[(0,d.jsx)(w(),{loading:o,disabled:o,onClick:function(){n&&Object.keys(n).length?(x(!0),(0,E.w)(L.Z.like,{file:t._id,user:n._id},"post").then(function(e){return a(function(e){return!e})}).catch(k.VQ).finally(function(){return x(!1)})):((0,q.Am)("برای پسندیدن باید وارد حساب کاربری خود شوید!",{pauseOnHover:!0,type:"warning",closeButton:!1,position:"bottom-right"}),s(!0))},icon:l?(0,d.jsx)(ea.b8C,{}):(0,d.jsx)(ea.K_P,{}),children:"پسندیدن"}),(0,d.jsx)(er.default,{content:h,title:"اشتراک‌گذاری",children:(0,d.jsx)(w(),{icon:(0,d.jsx)(ea.Nxq,{}),children:"اشتراک‌گذاری"})})]})})}function ex(e){var t=e.file,s=(0,r.useContext)(U.s),l=s.setCart,a=s.cart,c=s.authUser,o=(0,r.useState)(!1),f=o[0],h=o[1],u=(0,r.useState)(!1),j=u[0],p=u[1],g=function(){t.price&&!t.bought?(0,k.Xq)(t,l):(0,E.w)(L.Z.getFileLink+t.slug).then(function(e){return window.open(e.data.data.link,"_blank")}
1).catch(function(e){(0,k.VQ)(e),e&&e.response&&401==e.response.status&&((0,q.Am)("برای دریافت فایل باید وارد حساب کاربری خود شوید!",{pauseOnHover:!0,type:"warning",closeButton:!1,position:"bottom-right"}),h(!0))})},m=function(){c&&Object.keys(c).length?window.location.href="/cart":h(!0)};return(0,r.useEffect)(function(){p(!!a.length&&1==a.filter(function(e){return e._id==t._id}).length)},[a]),(0,d.jsxs)("div",{className:"file-body",children:[(0,d.jsxs)("div",{className:"main-content-container",children:[(0,d.jsxs)(n.Z,{gutter:10,children:[(0,d.jsxs)(i.Z,{lg:17,md:24,children:[(0,d.jsx)(x,{file:t}),(0,d.jsx)(ed,{file:t,setLoginModal:h}),(0,d.jsx)(_,{file:t})]}),(0,d.jsxs)(i.Z,{lg:7,md:24,className:"sidebar",children:[(0,d.jsx)(R,{file:t,is_exist:j,cartPage:m,processFile:g}),(0,d.jsx)(en,{file:t})]})]}),(0,d.jsxs)("div",{className:"mobile-bottom",children:[(0,d.jsx)("div",{className:"btn",children:(0,d.jsx)(K,{file:t,is_exist:j,processFile:g,cartPage:m})}),(0,d.jsx)("div",{className:"price",children:(0,d.jsx)("span",{children:t.price?(0,k.S2)(t.price)+" تومان":"رایگان"})})]})]}),(0,d.jsx)(ei.Z,{type:"login",state:f,setState:h})]})}},99954:function(e,t,s){s.d(t,{Z:function(){return o}});var n=s(74253);s(67294);var i=s(33374),r=s(26079),l=s(41664),a=s.n(l),c=s(85893);function o(e){var t=e.file;return(0,c.jsxs)("div",{className:"file-header",children:["ppt"==i.Z.website?null:(0,c.jsx)("span",{className:"file-type file-type-"+t.type,children:r.Z.file_type[t.type]}),(0,c.jsxs)("div",{className:"file-header-container",children:[(0,c.jsx)("span",{className:"file-header-categories",children:t.category?t.category.map(function(e,s){return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(a(),{href:i.Z.frontend+"/"+("ppt"==i.Z.website?"slide-":"")+"category/"+(e.parent?e.parent.slug+"/":"")+e.slug,children:e.name},s),s!=t.category.length-1?" • ":""]})}):""}),(0,c.jsx)("h1",{children:t.title}),(0,c.jsx)(n.Z,{})]})]})}},26079:function(e,t){t.Z={order_status:{paid:"پرداخت شده",unpaid:"پرداخت نشده",cancel:"لغو شده"},file_status:{review:"در حال بررسی",draft:"پیش‌نویس",publish:"منتشرشده",delete:"حذف شده",reject:"رد شده"},file_type:{ppt:"پاورپوینت",doc:"ورد",excel:"اکسل",pdf:"پی‌دی‌اف",zip:"پروژه (زیپ)"},whitdraw_status:{pending:"در انتظار واریز",accepted:"واریز شده",rejected:"رد شده",cancelled:"لغو شده"}}}}]);

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.