PageSourceSearch

https://donito.me/_nuxt/ca1546180d22/BUOoN5Ko.js

js donito.me collected 2026-10-02 07:42:40 UTC 4,037 bytes, 1 lines download raw bytes

1import{_ as N,x as B,r as h,c as T,m as w,D as C,a as I,o as n,b as i,h as d,z as b,e,t as r,f,F as m,d as g,i as S,g as V,C as A,I as F}from"./DsBqIO5m.js";import{_ as $}from"./DqsLXW3u.js";import{T as D}from"./Bnuwkk7L.js";import{a as H}from"./B4tLJtqo.js";import{g as M}from"./D80AN_xn.js";import{g as P}from"./BW1a5xWq.js";import"./BporYn2C.js";const R={class:"label-tools-page"},z={class:"label-tools-hero"},E={class:"label-tools-hero__icon"},j={class:"label-tools-hero__stat"},q={class:"label-tools-group__header"},G={class:"label-tools-group__icon"},J={class:"label-tools-group__count"},K={class:"label-tools-grid"},O={class:"label-card__period"},Q={class:"label-card__action"},U={key:0,class:"label-tools-empty"},W={__name:"index",setup(X){B({title:"برچسب‌ها"});const c=h([]),y=P("tools_label"),_=h(!0),v=T(()=>[{id:"highest",title:"بیشترین حمایت",description:"بزرگ‌ترین تراکنش ثبت‌شده را برای هر بازه نشان دهید.",icon:"trophy",matcher:"highest_donation"},{id:"total",title:"مجموع حمایت‌ها",description:"مجموع مبالغ حمایت را در بازه دلخواه روی استریم نگه دارید.",icon:"money-bill",matcher:"total_donation"},{id:"best",title:"بهترین حامی",description:"حامی دارای بیشترین مجموع حمایت را در هر بازه برجسته کنید.",icon:"users",matcher:"best_donator"},{id:"latest",title:"آخرین حمایت",description:"جدیدترین حمایت ثبت‌شده را به‌صورت زنده نمایش دهید.",icon:"clock",matcher:"latest_donation"}].map(t=>({...t,items:c.value.filter(o=>o.type.includes(t.matcher)).map(x)})).filter(t=>t.items.length));w(k);async function k(){var a,t,o,p,s;_.value=!0;try{const u=(p=(o=(t=(a=(await M()).data)==null?void 0:a[0])==null?void 0:t.children)==null?void 0:o.data)==null?void 0:p.find(L=>L.type==="tool_label");c.value=((s=u==null?void 0:u.children)==null?void 0:s.data)||[]}catch(l){c.value=[],C().$toast.error((l==null?void 0:l.message)||"دریافت برچسب‌ها انجام نشد.",{theme:"colored",type:"error",dangerouslyHTMLString:!0})}finally{_.value=!1}}function x(a){return{...a,period:H(a.type),link:`/panel/tools/tool_label/label?type=${a.type}`}}return(a,t)=>{const o=I("font-awesome-icon"),p=F;return n(),i("div",R,[d(b($),{breads:b(y),class:"label-tools-page__breadcrumb"},null,8,["breads"]),e("section",z,[e("span",E,[d(o,{icon:"bullhorn"})]),t[1]||(t[1]=e("div",{class:"label-tools-hero__copy"},[e("span",null,"اطلاعات زنده حمایت‌ها"),e("h1",null,"برچسب‌ها"),e("p",null,"آمار مهم حمایت‌ها را در بازه‌های زمانی مختلف با ظاهر اختصاصی روی پخش زنده نمایش دهید.")],-1)),e("div",j,[t[0]||(t[0]=e("span",null,"برچسب‌های آماده",-1)),e("strong",null,r(_.value?"—":c.value.length.toLocaleString("fa-IR")),1)])]),_.value?(n(),f(D,{key:0,label:"در حال آماده‌سازی برچسب‌ها…"})):(n(),i(m,{key:1},[(n(!0),i(m,null,g(v.value,s=>(n(),i("section",{key:s.id,class:"label-tools-group"},[e("header",q,[e("span",G,[d(o,{icon:s.icon},null,8,["icon"])]),e("div",null,[e("h2",null,r(s.title),1),e("p",null,r(s.description),1)]),e("span",J,r(s.items.length.toLocaleString("fa-IR"))+" برچسب",1)]),e("div",K,[(n(!0),i(m,null,g(s.items,l=>(n(),f(p,{key:l.type,to:l.link,class:"label-card"},{default:V(()=>[e("span",O,r(l.period),1),e("h3",null,r(l.name),1),e("span",Q,[t[2]||(t[2]=A("تنظیم برچسب ")),d(o,{icon:"chevron-left"})])]),_:2},1032,["to"]))),128))])]))),128)),c.value.length?S("",!0):(n(),i("div",U,[d(o,{icon:"exclamation-triangle"}),t[3]||(t[3]=e("strong",null,"برچسبی برای تنظیم پیدا نشد",-1)),t[4]||(t[4]=e("span",null,"دریافت تنظیمات انجام شد، اما برچسب فعالی برای این حساب وجود ندارد.",-1))]))],64))])}}},ae=N(W,[["__scopeId","data-v-23c147e2"]]);export{ae as default};

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.