Lines 4564-4604javascript
4564 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-gray-900", children: f.supplier_name }),
4565 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-gray-600", children: f.due_date }),
4566 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right font-medium", children: m(f.outstanding) }),
4567 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right", children: f.current ? m(f.current) : "" }),
4568 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right", children: f.b1_30 ? m(f.b1_30) : "" }),
4569 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right", children: f.b31_60 ? m(f.b31_60) : "" }),
4570 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right", children: f.b61_90 ? m(f.b61_90) : "" }),
4571 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right text-red-600", children: f.b90_plus ? m(f.b90_plus) : "" })
4573 /* @__PURE__ */ e("tfoot", { className: "border-t-2 border-gray-300 bg-gray-50 font-semibold", children: /* @__PURE__ */ r("tr", { children: [
4574 /* @__PURE__ */ e("td", { className: "px-3 py-3", colSpan: 3, children: t("common.total") }),
4575 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: m(u.totals.outstanding) }),
4576 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: m(u.totals.current) }),
4577 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: m(u.totals.b1_30) }),
4578 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: m(u.totals.b31_60) }),
4579 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: m(u.totals.b61_90) }),
4580 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right text-red-600", children: m(u.totals.b90_plus) })
4585const la = '(function(){"use strict";function u(r,t){const e=Number(r??0)||0;return t==null?e:Number(e.toFixed(t))}const p={flt:u,sum(r,t){return r.reduce((e,a)=>typeof t=="function"?e+u(t(a)):typeof t=="string"?e+u(a[t]):e+u(a),0)},count(r){return r.length},sortBy(r,t,e="asc"){const n=(e===!0?"desc":e===!1?"asc":e)==="desc"?-1:1;return[...r].sort((s,i)=>{const c=s[t],o=i[t];return c==null&&o==null?0:c==null?1:o==null?-1:c<o?-1*n:c>o?1*n:0})},topN(r,t,e=10){return typeof t=="number"?r.slice(0,t):p.sortBy(r,t,"desc").slice(0,e)},group(r,t,e){if(typeof t=="function"){const s=new Map;for(const i ...
4586function cs(t) {
LowEval
Package source references a known benign dynamic code generation pattern.
dist/index.jsView on unpkg · L4584 4589 if (n = Rn && (self.URL || self.webkitURL).createObjectURL(Rn), !n) throw "";
4590 const a = new Worker(n, {
4591 name: t == null ? void 0 : t.name
4593 return a.addEventListener("error", () => {
4594 (self.URL || self.webkitURL).revokeObjectURL(n);
4598 "data:text/javascript;charset=utf-8," + encodeURIComponent(la),
4600 name: t == null ? void 0 : t.name
4604 n && (self.URL || self.webkitURL).revokeObjectURL(n);
Long lines were clipped for display.