PageSourceSearch

https://taaghche.com/tmp/_next/static/chunks/479.b35c0b2e4208152a.js

js taaghche.com collected 2026-10-01 11:28:32 UTC 2,404 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[479],{88985:function(e,t,i){"use strict";i.r(t);var n=i(85893),o=i(67294),s=i(82118),l=i(32130),a=i(77724),c=i(3220),r=i(59901),m=i(60550),d=i(94376),u=i.n(d),_=i(8198);t.default=e=>{var t,i,d,b,v;let{review:x,onEdit:j,onDelete:k}=e,[p,h]=(0,o.useState)(!1);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h2",{className:u().title,children:"نظر ثبت شده شما"}),(0,n.jsxs)("div",{className:u().card,children:[(0,n.jsxs)("div",{className:u().ratingSection,children:[(0,n.jsx)("p",{className:u().sectionLabel,children:"به این کتاب چه امتیازی می‌دهید؟"}),(0,n.jsx)(s.Z,{rating:null!==(t=null==x?void 0:x.rate)&&void 0!==t?t:0,color:"green",numberOfStars:5,showRatingNumber:!1})]}),null!=x.recommendation&&x.recommendation>0&&(0,n.jsx)(l.Z,{recommend:x.recommendation}),x.comment&&(0,n.jsx)("p",{className:u().commentText,children:x.comment}),(0,n.jsxs)("div",{className:u().footer,children:[(0,n.jsx)(a.Z,{usefulCount:null!==(i=x.likeCount)&&void 0!==i?i:0,uselessCount:null!==(d=x.dislikeCount)&&void 0!==d?d:0,reviewId:x.id}),(0,n.jsxs)("div",{className:u().actions,children:[(0,n.jsx)(_.Z,{type:"text",level:"secondary",className:u().iconButton,onClick:k,"aria-label":"حذف نظر",label:(0,n.jsx)(r.Z,{name:"ic-trash",size:20})}),(0,n.jsx)(_.Z,{type:"text",className:u().iconButton,onClick:()=>h(e=>!e),"aria-label":"پاسخ‌ها",level:"secondary",label:(0,n.jsxs)("div",{className:u().repliesCount,children:[(0,n.jsx)(r.Z,{name:"comments",size:20}),(0,n.jsx)("span",{children:(0,m.Iq)(null!==(b=x.repliesCount)&&void 0!==b?b:0)})]})}),(0,n.jsx)(_.Z,{type:"text",level:"secondary",className:u().iconButton,onClick:j,"aria-label":"ویرایش نظر",label:(0,n.jsx)(r.Z,{name:"ic-edit",size:20})})]})]}),p&&(0,n.jsx)(c.Z,{replies:null!==(v=x.latestReplies)&&void 0!==v?v:[],commentId:x.id,repliesCount:x.repliesCount})]})]})}},94376:function(e){e.exports={card:"bookSubmittedReview_card__IDay7",title:"bookSubmittedReview_title__2OPdM",ratingSection:"bookSubmittedReview_ratingSection__v_WRq",sectionLabel:"bookSubmittedReview_sectionLabel__jZevx",commentText:"bookSubmittedReview_commentText__lLYT6",footer:"bookSubmittedReview_footer__7Om7H",actions:"bookSubmittedReview_actions__9_o7A",iconButton:"bookSubmittedReview_iconButton__Sz7AP",repliesCount:"bookSubmittedReview_repliesCount__aYjRn"}}}]);

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.