Lines 4446-4486javascript
4446 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-gray-900", children: y.supplier_name }),
4447 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-gray-600", children: y.due_date }),
4448 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right font-medium", children: d(y.outstanding) }),
4449 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right", children: y.current ? d(y.current) : "" }),
4450 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right", children: y.b1_30 ? d(y.b1_30) : "" }),
4451 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right", children: y.b31_60 ? d(y.b31_60) : "" }),
4452 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right", children: y.b61_90 ? d(y.b61_90) : "" }),
4453 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right text-red-600", children: y.b90_plus ? d(y.b90_plus) : "" })
4455 /* @__PURE__ */ e("tfoot", { className: "border-t-2 border-gray-300 bg-gray-50 font-semibold", children: /* @__PURE__ */ r("tr", { children: [
4456 /* @__PURE__ */ e("td", { className: "px-3 py-3", colSpan: 3, children: t("common.total") }),
4457 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: d(u.totals.outstanding) }),
4458 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: d(u.totals.current) }),
4459 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: d(u.totals.b1_30) }),
4460 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: d(u.totals.b31_60) }),
4461 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: d(u.totals.b61_90) }),
4462 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right text-red-600", children: d(u.totals.b90_plus) })
4467const ia = '(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 ...
4468function as(t) {
LowEval
Package source references a known benign dynamic code generation pattern.
dist/index.jsView on unpkg · L4466 4471 if (n = Tn && (self.URL || self.webkitURL).createObjectURL(Tn), !n) throw "";
4472 const a = new Worker(n, {
4473 name: t == null ? void 0 : t.name
4475 return a.addEventListener("error", () => {
4476 (self.URL || self.webkitURL).revokeObjectURL(n);
4480 "data:text/javascript;charset=utf-8," + encodeURIComponent(ia),
4482 name: t == null ? void 0 : t.name
4486 n && (self.URL || self.webkitURL).revokeObjectURL(n);
Long lines were clipped for display.