1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1432],{18165:(e,r,n)=>{function s(e,r=null){return null==e||""===e?r:"number"==typeof e?Number.isInteger(e)&&e>=0?e:r:"string"==typeof e&&/^\d+$/.test(e)?Number(e):r}function l(e,r){let n=new URLSearchParams({group:e.service_group,service:e.service_name,index:e.index});return r&&n.append("endpoint",r),n}function t(e,r,n){let s=l(e,r);return n&&s.append("query",JSON.stringify(n)),`/api/services/proxy?${s.toString()}`}n.d(r,{$C:()=>t,Sk:()=>s,_V:()=>l})},21432:(e,r,n)=>{n.r(r),n.d(r,{default:()=>u});var s=n(89142),l=n(27030),t=n(42416),a=n(56833),i=n(68e3);function u({service:e}){let{t:r}=(0,a.Bd)(),{widget:n}=e,{data:o,error:c}=(0,i.A)(n);if(c)return(0,s.jsx)(t.A,{service:e,error:c});if(!o)return(0,s.jsxs)(t.A,{service:e,children:[(0,s.jsx)(l.A,{label:"transmission.leech"}),(0,s.jsx)(l.A,{label:"transmission.download"}),(0,s.jsx)(l.A,{label:"transmission.seed"}),(0,s.jsx)(l.A,{label:"transmission.upload"})]});let{torrents:d}=o.arguments,m=d.reduce((e,r)=>e+r.rateDownload,0),v=d.reduce((e,r)=>e+r.rateUpload,0),h=d.filter(e=>1===e.percentDone)?.length||0,p=d.length-h||0;return(0,s.jsxs)(t.A,{service:e,children:[(0,s.jsx)(l.A,{label:"transmission.leech",value:r("common.number",{value:p})}),(0,s.jsx)(l.A,{label:"transmission.download",value:r("common.byterate",{value:m}),highlightValue:m}),(0,s.jsx)(l.A,{label:"transmission.seed",value:r("common.number",{value:h})}),(0,s.jsx)(l.A,{label:"transmission.upload",value:r("common.byterate",{value:v}),highlightValue:v})]})}},68e3:(e,r,n)=>{n.d(r,{A:()=>t});var s=n(45911),l=n(18165);function t(e,...r){let n={};r&&r[1]?.refreshInterval&&(n.refreshInterval=r[1].refreshInterval);let a=(0,l.$C)(e,...r);""===r[0]&&(a=null);let{data:i,error:u,mutate:o}=(0,s.Ay)(a,n);return{data:i,error:i?.error??u,mutate:o}}}}]);
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.