PageSourceSearch

https://www.casaintelligence.com.au/_next/static/chunks/6522.5cabd7bee80b6d6f.js

js casaintelligence.com.au collected 2026-09-24 13:55:40 UTC 4,305 bytes, 16 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6522],{42421:function(e,t,r){r.d(t,{Z:function(){return a}});/**
2 * @license lucide-react v0.400.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let a=(0,r(78030).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},87592:function(e,t,r){r.d(t,{Z:function(){return a}});/**
7 * @license lucide-react v0.400.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */let a=(0,r(78030).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},51077:function(e,t,r){r.d(t,{Z:function(){return a}});/**
12 * @license lucide-react v0.400.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */let a=(0,r(78030).Z)("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]])},46522:function(e,t,r){r.r(t),r.d(t,{default:function(){return c}});var a=r(57437),n=r(2265),l=r(22023),s=r(51077),i=r(42421),d=r(87592);let o={infrastructure_charges:"bg-emerald-50 text-emerald-700 border-emerald-200",setback:"bg-blue-50 text-blue-700 border-blue-200",building_envelope:"bg-indigo-50 text-indigo-700 border-indigo-200",landscaping:"bg-green-50 text-green-700 border-green-200",stormwater:"bg-cyan-50 text-cyan-700 border-cyan-200",traffic:"bg-orange-50 text-orange-700 border-orange-200",access:"bg-yellow-50 text-yellow-700 border-yellow-200",noise:"bg-purple-50 text-purple-700 border-purple-200",earthworks:"bg-amber-50 text-amber-700 border-amber-200",environmental:"bg-teal-50 text-teal-700 border-teal-200",timing:"bg-rose-50 text-rose-700 border-rose-200"};function c(e){let{output:t}=e,r=(null==t?void 0:t.conditions)||[],[c,x]=(0,n.useState)(null);if(!r.length)return null;let u=r.reduce((e,t)=>{let r=t.category||"other";return(e[r]||(e[r]=[])).push(t),e},{}),m=r.filter(e=>e.charge_amount).reduce((e,t)=>e+(t.charge_amount||0),0);return(0,a.jsxs)("div",{className:"rounded-xl overflow-hidden border border-border/50 shadow-card",children:[(0,a.jsxs)("div",{className:"px-3 py-2 bg-casa-navy text-white text-xs font-medium flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)(l.Z,{className:"h-3.5 w-3.5"}),r.length," Conditions"]}),m>0&&(0,a.jsxs)("div",{className:"flex items-center gap-1 text-white/80",children:[(0,a.jsx)(s.Z,{className:"h-3 w-3"}),"$",m.toLocaleString()," total charges"]})]}),(0,a.jsx)("div",{className:"divide-y divide-border/30 max-h-[400px] overflow-y-auto",children:Object.entries(u).map(e=>{let[t,r]=e,n=c===t,l=r.filter(e=>e.charge_amount).reduce((e,t)=>e+(t.charge_amount||0),0),s=o[t]||"bg-gray-50 text-gray-700 border-gray-200";return(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{onClick:()=>x(n?null:t),className:"w-full flex items-center gap-2 px-3 py-2.5 hover:bg-subtle/50 transition-colors",children:[n?(0,a.jsx)(i.Z,{className:"h-3.5 w-3.5 text-text-tertiary"}):(0,a.jsx)(d.Z,{className:"h-3.5 w-3.5 text-text-tertiary"}),(0,a.jsx)("span",{className:"text-[10px] font-semibold px-1.5 py-0.5 rounded border ".concat(s),children:t.replace(/_/g," ")}),(0,a.jsxs)("span",{className:"text-[11px] text-text-secondary ml-auto",children:[r.length," condition",1!==r.length?"s":""]}),l>0&&(0,a.jsxs)("span",{className:"text-[10px] font-medium text-emerald-600",children:["$",l.toLocaleString()]})]}),n&&(0,a.jsx)("div",{className:"px-3 pb-3 pl-9 space-y-1.5",children:r.map((e,t)=>(0,a.jsxs)("div",{className:"text-[11px] bg-subtle rounded-lg px-2.5 py-2",children:[(0,a.jsx)("p",{className:"text-text-secondary leading-relaxed",children:e.condition_text}),(0,a.jsxs)("div",{className:"flex gap-3 mt-1 text-[10px]",children:[null!=e.charge_amount&&(0,a.jsxs)("span",{className:"text-emerald-600 font-medium",children:["$",e.charge_amount.toLocaleString()]}),null!=e.measurement_value&&(0,a.jsxs)("span",{className:"text-text-tertiary",children:[e.measurement_value,e.unit||""]}),e.deadline&&(0,a.jsx)("span",{className:"text-text-tertiary",children:e.deadline})]})]},t))})]},t)})})]})}}}]);

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.