PageSourceSearch

https://spawnlabs.ai/_next/static/chunks/43089-84a00964119f7c8b.js

js spawnlabs.ai collected 2026-10-05 12:56:37 UTC 10,291 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[43089],{43089:(s,e,c)=>{c.d(e,{ComplianceDemo:()=>x,InvoiceDemo:()=>o,ReportDemo:()=>u,TenderDemo:()=>d});var l=c(95155),i=c(12115),a=c(96745);function n(){let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.3,e=(0,i.useRef)(null),[c,l]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let c=e.current;if(!c)return;if("undefined"==typeof IntersectionObserver)return void l(!0);let i=new IntersectionObserver(s=>{let[e]=s;e.isIntersecting&&(l(!0),i.disconnect())},{threshold:s});return i.observe(c),()=>i.disconnect()},[s]),[e,c]}function r(s,e,c){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,[a,n]=(0,i.useState)(0);return(0,i.useEffect)(()=>{var i,a;let r;if(!s)return;if(null==(i=(a=window).matchMedia)?void 0:i.call(a,"(prefers-reduced-motion: reduce)").matches)return void n(e);let t=0,h=setTimeout(()=>{r=setInterval(()=>{n(t+=1),t>=e&&clearInterval(r)},c)},l);return()=>{clearTimeout(h),clearInterval(r)}},[s,e,c,l]),a}function t(s){let{innerRef:e,on:c,main:i,float:a,floatAt:n="right"}=s;return(0,l.jsxs)("div",{ref:e,className:"slh-sc ".concat(c?"is-on":""),children:[(0,l.jsx)("div",{className:"slh-sc-main",children:i}),(0,l.jsx)("div",{className:"slh-sc-float is-".concat(n),children:a})]})}function h(s){let{name:e,children:c}=s;return(0,l.jsxs)("div",{className:"slh-sc-who",children:[(0,l.jsx)("span",{className:"slh-sc-av","aria-hidden":"true",children:"✦"}),(0,l.jsx)("b",{children:e}),(0,l.jsx)("span",{children:c})]})}function d(){let[s,e]=n(),c=r(e,5,520,400);return(0,l.jsx)(t,{innerRef:s,on:e,main:(0,l.jsxs)("div",{className:"slh-sc-stack",children:[(0,l.jsx)("div",{className:"slh-sc-peek","aria-hidden":"true"}),(0,l.jsx)("div",{className:"slh-sc-peek is-2","aria-hidden":"true"}),(0,l.jsxs)("article",{className:"slh-sc-job",children:[(0,l.jsx)("span",{className:"slh-sc-crown",children:(0,l.jsx)("i",{style:{width:c>=1?"92%":"0%"}})}),(0,l.jsxs)("div",{className:"slh-sc-rubric",children:[(0,l.jsx)("span",{className:"slh-sc-idx",children:"01"}),(0,l.jsx)("span",{className:"slh-sc-rule"}),(0,l.jsx)("span",{className:"slh-sc-new",children:"New"}),(0,l.jsx)("span",{className:"slh-sc-days",children:"12d"})]}),(0,l.jsx)("h5",{children:"Switchgear replacement"}),(0,l.jsxs)("div",{className:"slh-sc-buyer",children:[(0,l.jsx)(a.PixelMark,{name:"Water utility"}),(0,l.jsx)("span",{children:"Water utility"})]}),(0,l.jsx)("div",{className:"slh-sc-where",children:"Public portal \xb7 pre-bid meeting in 6 days"}),(0,l.jsxs)("div",{className:"slh-sc-figs",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("b",{className:"slh-sc-money",children:[(0,l.jsx)("sup",{children:"$"}),"1.4",(0,l.jsx)("small",{children:"M"})]}),(0,l.jsx)("span",{children:"Published"})]}),(0,l.jsxs)("div",{className:"is-right",children:[(0,l.jsx)("b",{children:c>=1?92:"–"}),(0,l.jsx)("span",{children:"Match"})]})]}),(0,l.jsx)("p",{className:"slh-sc-about",children:"Replace two medium-voltage switchboards at the treatment works, with outage planning and commissioning."}),(0,l.jsx)("div",{className:"slh-sc-checks",children:[["Licence held","ok"],["Similar job, 2025","ok"],["Bid bond needed","warn"]].map((s,e)=>{let[i,a]=s;return(0,l.jsx)("span",{className:"is-".concat(a," ").concat(c>=e+2?"is-on":""),children:i},i)})})]})]}),float:(0,l.jsxs)("div",{className:"slh-sc-msg",children:[(0,l.jsx)(h,{name:"Bid worker",children:"just now"}),(0,l.jsx)("p",{children:"Three new tenders match your licences. This one is the strongest fit. Start the response?"}),(0,l.jsxs)("div",{className:"slh-sc-actions",children:[(0,l.jsx)("span",{className:"is-primary",children:"Start working →"}),(0,l.jsx)("span",{children:"Not for us"})]})]})})}function o(){let[s,e]=n(),c=r(e,2,1400,600);return(0,l.jsx)(t,{innerRef:s,on:e,floatAt:"left",main:(0,l.jsxs)("div",{className:"slh-sc-paper",children:[(0,l.jsxs)("div",{className:"slh-sc-paper-top",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"slh-sc-eyebrow",children:"Pay application"}),(0,l.jsx)("b",{className:"slh-sc-docno",children:"No. 8"})]}),(0,l.jsxs)("div",{className:"is-right",children:[(0,l.jsx)("span",{className:"slh-sc-eyebrow",children:"Period to"}),(0,l.jsx)("b",{children:"31 October"})]})]}),(0,l.jsxs)("div",{className:"slh-sc-bill",children:[(0,l.jsx)("span",{className:"slh-sc-eyebrow",children:"Project"}),(0,l.jsx)("b",{children:"Clinic fit-out, phase 2"}),(0,l.jsx)("span",{children:"Contract 61% complete \xb7 retainage 5%"})]}),(0,l.jsx)("div",{className:"slh-sc-lines",children:[["Electrical rough-in, level 2","$48,200"],["Mechanical, air handling","$31,650"],["Approved change order 3","$6,400"],["Retainage held, 5%","−$4,313"]].map(s=>{let[e,c]=s;return(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{children:e}),(0,l.jsx)("b",{className:c.startsWith("−")?"is-neg":"",children:c})]},e)})}),(0,l.jsxs)("div",{className:"slh-sc-total",children:[(0,l.jsx)("span",{children:"Due this period"}),(0,l.jsx)("b",{children:"$81,937"})]}),(0,l.jsx)("span",{className:"slh-sc-stamp ".concat(c>=2?"is-on":""),children:"Paid"})]}),float:(0,l.jsxs)("div",{className:"slh-sc-msg is-note",children:[(0,l.jsx)("span",{className:"slh-sc-check ".concat(c>=2?"is-on":""),"aria-hidden":"true"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("b",{children:c>=2?"Payment received \xb7 $81,937":"Followed up with accounts payable"}),(0,l.jsx)("span",{children:c>
1=2?"Matched to pay application 8, two days early":"Backup attached: site reports and photos"})]})]})})}let j=["Form completed","Fee paid","Submitted to the city","Confirmation filed"];function x(){let[s,e]=n(),c=r(e,j.length,650,500);return(0,l.jsx)(t,{innerRef:s,on:e,main:(0,l.jsxs)("div",{className:"slh-sc-cert",children:[(0,l.jsxs)("div",{className:"slh-sc-cert-top",children:[(0,l.jsx)(a.PixelMark,{name:"State licensing board"}),(0,l.jsx)("span",{className:"slh-sc-eyebrow",children:"State licensing board"})]}),(0,l.jsx)("b",{className:"slh-sc-cert-title",children:"Contractor licence"}),(0,l.jsx)("span",{className:"slh-sc-cert-sub",children:"Electrical and mechanical, unlimited"}),(0,l.jsxs)("div",{className:"slh-sc-cert-grid",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"slh-sc-eyebrow",children:"Licence no."}),(0,l.jsx)("b",{className:"is-mono",children:"CL-4471-0283"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"slh-sc-eyebrow",children:"Valid to"}),(0,l.jsx)("b",{children:"31 March 2028"})]})]}),(0,l.jsx)("div",{className:"slh-sc-cert-list",children:[["Vendor registration, city","21 days","is-live"],["Certificate of insurance","48 days",""],["Safety prequalification","74 days",""]].map(s=>{let[e,c,i]=s;return(0,l.jsxs)("div",{className:i,children:[(0,l.jsx)("i",{}),(0,l.jsx)("span",{children:e}),(0,l.jsx)("em",{children:c})]},e)})})]}),float:(0,l.jsxs)("div",{className:"slh-sc-msg is-task",children:[(0,l.jsx)(h,{name:"Compliance worker",children:c>=j.length?"Filed":"Renewing"}),(0,l.jsx)("b",{className:"slh-sc-task-t",children:"Vendor registration, city"}),(0,l.jsx)("ul",{children:j.map((s,e)=>(0,l.jsxs)("li",{className:c>e?"is-on":"",children:[(0,l.jsx)("i",{}),s]},s))})]})})}let m=[14.1,15,14.4,16.2,17,16.6,18.4],p=[["Clinic fit-out, phase 2","$1.92M","61%","21.3%","ok"],["Campus maintenance","$640k","Rolling","17.8%","ok"],["Pump station controls","$410k","84%","9.6%","warn"],["Switchgear replacement","$1.38M","Bid","—","idle"]];function u(){let[s,e]=n(),c=r(e,1,2600,400),i=m.map((s,e)=>"".concat(e/(m.length-1)*100,",").concat(100-(s-13)/6*100)).join(" ");return(0,l.jsx)(t,{innerRef:s,on:e,floatAt:"dock",main:(0,l.jsx)("div",{className:"slh-sc-report",children:(0,l.jsxs)("div",{className:"slh-sc-report-scroll",children:[(0,l.jsxs)("div",{className:"slh-sc-letter",children:[(0,l.jsx)("span",{className:"slh-sc-eyebrow",children:"Your firm \xb7 Partner report"}),(0,l.jsx)("span",{className:"slh-sc-eyebrow",children:"31 October"})]}),(0,l.jsx)("h5",{className:"slh-sc-report-h",children:"October: margin held on 12 of 14 jobs."}),(0,l.jsx)("p",{className:"slh-sc-report-p",children:"Revenue billed was $3.4M against a plan of $3.2M. Two jobs ran over on labour; both are explained below. Cash came in six days faster than September."}),(0,l.jsx)("div",{className:"slh-sc-kpis",children:[["Margin","18.4%","+1.8 pts"],["Days to paid","41","−6 days"],["Open bids","9","2 due"]].map(s=>{let[e,c,i]=s;return(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{children:e}),(0,l.jsx)("b",{children:c}),(0,l.jsx)("em",{children:i})]},e)})}),(0,l.jsx)("h6",{className:"slh-sc-report-sec",children:"Jobs"}),(0,l.jsxs)("table",{className:"slh-sc-table",children:[(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{children:"Job"}),(0,l.jsx)("th",{children:"Contract"}),(0,l.jsx)("th",{children:"Complete"}),(0,l.jsx)("th",{children:"Margin"})]})}),(0,l.jsx)("tbody",{children:p.map(s=>{let[e,c,i,a,n]=s;return(0,l.jsxs)("tr",{className:"is-".concat(n),children:[(0,l.jsxs)("td",{children:[(0,l.jsx)("i",{}),e]}),(0,l.jsx)("td",{children:c}),(0,l.jsx)("td",{children:i}),(0,l.jsx)("td",{children:a})]},e)})})]}),(0,l.jsx)("h6",{className:"slh-sc-report-sec",children:"Margin, last seven months"}),(0,l.jsxs)("div",{className:"slh-sc-chart",children:[(0,l.jsx)("svg",{viewBox:"0 0 100 100",preserveAspectRatio:"none","aria-hidden":"true",className:e?"is-on":"",children:(0,l.jsx)("polyline",{points:i})}),(0,l.jsx)("div",{children:["Apr","May","Jun","Jul","Aug","Sep","Oct"].map(s=>(0,l.jsx)("span",{children:s},s))})]}),(0,l.jsx)("h6",{className:"slh-sc-report-sec",children:"Decisions this week"}),(0,l.jsxs)("ol",{className:"slh-sc-decisions",children:[(0,l.jsx)("li",{children:"Approve overtime on the pump station to hold the handover date."}),(0,l.jsx)("li",{children:"Chase the retainage release on the clinic, now 30 days late."}),(0,l.jsx)("li",{children:"Go or no-go on the switchgear tender, due in 12 days."})]})]})}),float:(0,l.jsxs)("div",{className:"slh-sc-msg is-note",children:[(0,l.jsx)("span",{className:"slh-sc-check ".concat(c>=1?"is-on":""),"aria-hidden":"true"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("b",{children:c>=1?"Shared with the partners":"Writing the summary"}),(0,l.jsx)("span",{children:"Three calls need a decision this week"})]})]})})}}}]);

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.