1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5792],{3333:(e,r,l)=>{l.d(r,{A:()=>t});var s=l(33308),a=l(94402);function t(e,r,l,n={}){let i={...n};l?.refreshInterval&&(i.refreshInterval=l.refreshInterval);let u=(0,a.$C)(e,r,l);""===r&&(u=null);let{data:o,error:c,mutate:m}=(0,s.u)(u,i);return{data:o,error:o?.error??c,mutate:m}}},75792:(e,r,l)=>{l.r(r),l.d(r,{default:()=>u});var s=l(15383),a=l(31912),t=l(87717),n=l(89651),i=l(3333);function u({service:e}){let{t:r}=(0,a.Bd)(),{widget:l}=e,o=l.version??1,{data:c,error:m}=(0,i.A)(l,1===o?"statisticsv1":"statisticsv2");return m?(0,s.jsx)(n.A,{service:e,error:m}):c?(0,s.jsxs)(n.A,{service:e,children:[(0,s.jsx)(t.A,{label:"mealie.recipes",value:r("common.number",{value:c.totalRecipes})}),(0,s.jsx)(t.A,{label:"mealie.users",value:r("common.number",{value:c.totalUsers})}),(0,s.jsx)(t.A,{label:"mealie.categories",value:r("common.number",{value:c.totalCategories})}),(0,s.jsx)(t.A,{label:"mealie.tags",value:r("common.number",{value:c.totalTags})})]}):(0,s.jsxs)(n.A,{service:e,children:[(0,s.jsx)(t.A,{label:"mealie.recipes"}),(0,s.jsx)(t.A,{label:"mealie.users"}),(0,s.jsx)(t.A,{label:"mealie.categories"}),(0,s.jsx)(t.A,{label:"mealie.tags"})]})}},94402:(e,r,l)=>{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 a(e,r){let l=new URLSearchParams({group:e.service_group,service:e.service_name,index:e.index});return r&&l.append("endpoint",r),l}function t(e,r,l){let s=a(e,r);return l&&s.append("query",JSON.stringify(l)),`/api/services/proxy?${s.toString()}`}l.d(r,{$C:()=>t,Sk:()=>s,_V:()=>a})}}]);
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.