PageSourceSearch

https://kliemax.com/_next/static/chunks/1096.5854edfba8ae7387.js

js kliemax.com collected 2026-10-01 13:07:49 UTC 1,621 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1096],{3333:(e,r,n)=>{n.d(r,{A:()=>t});var l=n(33308),s=n(94402);function t(e,r,n,i={}){let o={...i};n?.refreshInterval&&(o.refreshInterval=n.refreshInterval);let a=(0,s.$C)(e,r,n);""===r&&(a=null);let{data:u,error:c,mutate:p}=(0,l.u)(a,o);return{data:u,error:u?.error??c,mutate:p}}},11096:(e,r,n)=>{n.r(r),n.d(r,{default:()=>a});var l=n(15383),s=n(31912),t=n(87717),i=n(89651),o=n(3333);function a({service:e}){let{t:r}=(0,s.Bd)(),{widget:n}=e,{data:u,error:c}=(0,o.A)(n,"spools");if(c)return(0,l.jsx)(i.A,{service:e,error:c});if(!u){let r=n.spoolIds?.length??4;return(0,l.jsx)(i.A,{service:e,children:[...Array(r)].map((e,r)=>(0,l.jsx)(t.A,{label:"spoolman.loading"},r))})}return u.error||u.message?(0,l.jsx)(i.A,{service:e,error:u?.error??u}):0===u.length?(0,l.jsx)(i.A,{service:e,children:(0,l.jsx)(t.A,{label:"spoolman.noSpools"})}):(n.spoolIds?.length&&(u=u.filter(e=>n.spoolIds.includes(e.id))),u.length>4&&(u=u.slice(0,4)),(0,l.jsx)(i.A,{service:e,children:u.map(e=>(0,l.jsx)(t.A,{label:e.filament.name,value:r("common.percent",{value:e.remaining_weight/e.initial_weight*100})},e.id))}))}},94402:(e,r,n)=>{function l(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 s(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 l=s(e,r);return n&&l.append("query",JSON.stringify(n)),`/api/services/proxy?${l.toString()}`}n.d(r,{$C:()=>t,Sk:()=>l,_V:()=>s})}}]);

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.