PageSourceSearch

https://gentlebirth.com/assets/ProviderOpportunities-4ZuM0WXW.js

js gentlebirth.com collected 2026-10-01 16:05:47 UTC 20,831 bytes, 6 lines download raw bytes

1import{ao as he,aH as xe,y as ge,x as ye,r as m,au as W,aG as B,Q as x,I as c,j as e,B as p,L as re,h as Q,K as f,C as ae,b as ie,aF as je,cv as ve,a8 as Ne,a9 as fe,aa as be,W as A,aY as we,an as _e,g as ke,$ as S,a0 as H,a2 as ne,aZ as Se}from"./index-CwRyDTkN.js";import{r as Ce,f as Pe}from"./stages-CugB8RD0.js";import{u as $e}from"./useMyProId-CsNHyoYG.js";import{P as Te}from"./ProNotificationBell-CQ5XuBhI.js";import{C as Ee}from"./coins-D1SKzswd.js";import{I as Me}from"./inbox-D0GHk5mY.js";import{C as Fe}from"./clock-BNPp408a.js";import{C as Ie}from"./circle-dollar-sign-CgkbXcVF.js";import{M as De}from"./message-circle-more-DtEpcp1X.js";import"./bell-D5AbDJpU.js";import"./formatDistanceToNow-CNr9vW1M.js";import"./constructNow-D7kAqTAn.js";import"./en-US-DPadWeoN.js";import"./getRoundingMethod-CUWwjBrg.js";import"./differenceInCalendarMonths-W08q3CmT.js";import"./endOfMonth-B4mgjSKu.js";import"./heart-handshake-Bv8ibm-e.js";import"./info-BZiUgeXH.js";/**
2 * @license lucide-react v0.553.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 */const qe=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Le=he("pencil-line",qe),de=o=>{if(!o)return"Waiting on your answer";const u=Math.floor((new Date(o).getTime()-Date.now())/36e5);return u<=0?"Response window closed — reply now or we move on":ve(u)},C=(o,u="USD")=>o==null?"Price to be confirmed":new Intl.NumberFormat("en-US",{style:"currency",currency:u,maximumFractionDigits:Number.isInteger(o)?0:2}).format(o),Ke=20,rs=()=>{const o=xe(),u=ge(),[P]=ye(),b=m.useRef(null),[h,w]=m.useState(null),[U,$]=m.useState(null),[j,T]=m.useState(""),[N,E]=m.useState(""),[R,M]=m.useState(""),[Y,F]=m.useState(""),[I,G]=m.useState({}),O=$e(),{data:g}=W({queryKey:["provider-token-balance"],queryFn:async()=>{const{data:s,error:a}=await c.auth.getUser();if(a)throw a;const{data:r,error:i}=await c.from("pros").select("token_balance, reserved_token_balance").eq("user_id",s.user.id).maybeSingle();if(i)throw i;if(!r)return null;const n=r.token_balance??0,d=r.reserved_token_balance??0;return{balance:n,reserved:d,available:Math.max(0,n-d)}}}),{data:D,isLoading:oe}=W({queryKey:["provider-lead-offers-mine"],queryFn:async()=>{const{data:s,error:a}=await c.from("provider_lead_offers").select("*").order("created_at",{ascending:!1});if(a)throw a;return s??[]}}),{data:le}=W({queryKey:["provider-lead-direct-messages-mine"],queryFn:async()=>{const{data:s,error:a}=await c.from("provider_lead_direct_messages").select("*").order("created_at",{ascending:!0});if(a)throw a;return s??[]},refetchInterval:15e3}),q=B({mutationFn:async({offer:s,body:a})=>{const{data:r,error:i}=await c.auth.getUser();if(i||!r.user)throw i??new Error("Sign in to message the family");const{error:n}=await c.from("provider_lead_direct_messages").insert({lead_id:s.lead_id,offer_id:s.id,sender_type:"provider",sender_user_id:r.user.id,body:a});if(n)throw n},onSuccess:(s,a)=>{G(r=>({...r,[a.offer.id]:""})),o.invalidateQueries({queryKey:["provider-lead-direct-messages-mine"]})},onError:s=>x({title:"Message failed",description:s.message,variant:"destructive"})}),L=B({mutationFn:async({offerId:s,action:a,price:r,deposit:i,paymentPlan:n,note:d})=>{w(s);const{data:l,error:y}=await c.functions.invoke("provider-lead-offer-respond",{body:{offer_id:s,action:a,suggested_price:r,suggested_deposit:i,suggested_payment_plan:n,suggested_note:d}});if(y)throw y;if(l&&typeof l=="object"&&"error"in l&&typeof l.error=="string")throw new Error(l.error);return l},onSuccess:(s,a)=>{o.invalidateQueries({queryKey:["provider-lead-offers-mine"]}),o.invalidateQueries({queryKey:["provider-token-balance"]}),a.action==="give_price"&&($(null),T(""),E(""),M(""),F("")),x({title:a.action==="accept"?"Offer accepted":a.action==="give_price"?"Your price was saved":"Match declined",description:a.action==="accept"?"We are holding your acceptance while the family chooses and pays. No contact details were shared.":a.action==="give_price"?"The family’s original offer will also go to other qualified providers. Your scope stays exactly the same.":"No tokens were used. We will continue matching the family."})},onError:s=>x({title:"Something went wrong",description:s.message,variant:"destructive"}),onSettled:()=>w(null)}),ce=B({mutationFn:async({offerId:s,tokensNeeded:a})=>{w(s);const r=Math.max(0,a-((g==null?void 0:g.available)??0)),i=Math.max(Ke,r),{data:n,error:d}=await c.functions.invoke("create-pro-token-checkout",{body:{quantity:i,returnPath:"/provider/opportunities",intent:{kind:"accept_offer",offer_id:s}}});if(d)throw d;if(n!=null&&n.error)throw new Error(n.error);if(!(n!=null&&n.url))throw new Error("Stripe Checkout did not return a payment link.");return n},onSuccess:({url:s})=>window.location.assign(s),onError:s=>{w(null),x({title:"Unable to start checkout",description:s.message,variant:"destructive"})}});m.useEffect(()=>{const s=P.get("purchase"),a=P.get("session_id");if(s){if(s==="cancelled"){if(b.current==="cancelled")return;b.current="cancelled",x({title:"Checkout cancelled",description:"Nothing was charged. The introduction is still open."}),u("/provider/opportunities",{replace:!0});return}s!=="success"||!a||b.current===a||(b.current=a,(async()=>{var r;try{const{data:i,error:n}=await c.functions.invoke("create-pro-token-checkout",{body:{action:"verify",sessionId:a}});if(n)throw n;if(i!=null&&i.error)throw new Error(i.error);if(!(i!=null&&i.ok))throw new Error("Stripe has not confirmed this payment yet.");await o.invalidateQueries({queryKey:["provider-token-balance"]}),x({title:`${i.quantity} Pro Tokens added`,description:`Your balance is now ${i.balance}.`});const d=((r=i.intent)==null?void 0:r.kind)==="accept_offer"?i.intent.offer_id:null;if(d){const{data:l,error:y}=await c.functions.invoke("provider-lead-offer-respond",{body:{offer_id:d,action:"accept"}});if(y)throw y;if(l!=null&&l.error)throw new Error(l.error);await o.invalidateQueries({queryKey:["provider-lead-offers-mine"]}),await o.invalidateQueries({queryKey:["provider-token-balance"]}),x({title:"This match is reserved for you",description:"Tokens added and your acceptance is in. We are holding it while the family confirms and pays."})}}catch(i){x({title:"Tokens added, but we could not reserve the match",description:i.message,variant:"destructive"})}finally{u("/provider/opportunities",{replace:!0})}})())}},[u,o,P]);const v=(D??[]).filter(s=>["offered","broadcast_offered"].includes(s.state)),_=(D??[]).filter(s=>s.state==="introduced").length,K=(D??[]).filter(s=>!["offered","broadcast_offered","introduced"].includes(s.state)),z=(s,a)=>{var X,ee,se;const r=s.lead_snapshot??{},i=(X=s.proposed_scope)!=null&&X.length?s.proposed_scope:r.proposed_scope??[],n=r.currency||"USD",d=s.token_cost??20,l=g!=null&&g.available<d,y=s.offer_role!=="alternate",Z=s.state==="provider_price"&&s.provider_suggested_price!=null?s.provider_suggested_price:s.proposed_price??r.proposed_price,J=s.state==="provider_price"?s.provider_suggested_deposit:s.proposed_deposit??r.proposed_deposit,V=s.state==="provider_price"?s.provider_suggested_payment_plan:s.proposed_payment_plan||r.proposed_payment_plan,me=(le??[]).filter(t=>t.offer_id===s.id);return e.jsxs(ae,{id:`offer-${s.id}`,className:a?"border-2 border-primary":void 0,children:[e.jsxs(Ne,{className:"space-y-2",children:[a&&e.jsxs("p",{className:"flex items-center gap-1.5 text-xs font-bold uppercase tracking-[0.12em] text-destructive",children:[e.jsx(Fe,{className:"h-3.5 w-3.5","aria-hidden":"true"}),de(s.expires_at)]}),e.jsxs("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx(fe,{className:"text-lg",children:r.service_type||"Support request"}),e.jsxs(be,{children:["Offered ",Ce(s.offered_at??s.created_at),a&&s.expires_at?` · expires ${new Date(s.expires_at).toLocaleStr
6ing()}`:""]})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[s.fit_score!=null&&e.jsxs(A,{className:"bg-emerald-100 text-emerald-900",children:[s.fit_score,"% fit"]}),!a&&e.jsx(A,{variant:"outline",children:s.state.replace(/_/g," ")})]})]})]}),e.jsxs(ie,{className:"space-y-5",children:[e.jsxs("section",{"aria-label":"Proposed service agreement",className:"rounded-xl bg-primary/5 px-5 py-5 sm:px-6",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold",children:"Here's the proposed match"}),e.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"The family is ready to move forward if you accept these terms as written."})]}),s.family_agreed_at&&e.jsxs(A,{className:"gap-1.5 bg-emerald-100 text-emerald-900",children:[e.jsx(Q,{className:"h-3.5 w-3.5"})," Family agreed"]})]}),e.jsxs("div",{className:"mt-5 grid gap-5 sm:grid-cols-[minmax(0,1fr)_auto] sm:items-end",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold",children:"What's included"}),i.length?e.jsx("ul",{className:"mt-2 list-inside list-disc space-y-1 text-sm",children:i.map(t=>e.jsx("li",{children:t},t))}):e.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Scope to be confirmed"})]}),e.jsxs("div",{className:"sm:text-right",children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:"Agreed total"}),e.jsx("p",{className:"text-2xl font-bold tracking-tight text-foreground",children:C(Z,n)}),J!=null&&e.jsxs("p",{className:"mt-1 text-sm text-muted-foreground",children:[C(J,n)," deposit"]})]})]}),V&&e.jsxs("p",{className:"mt-4 text-sm",children:[e.jsx("span",{className:"font-semibold",children:"Payment:"})," ",V]})]}),e.jsxs("dl",{className:"grid gap-4 text-sm sm:grid-cols-3",children:[e.jsxs("div",{children:[e.jsxs("dt",{className:"inline-flex items-center gap-1.5 text-muted-foreground",children:[e.jsx(we,{className:"h-4 w-4"})," Timing"]}),e.jsx("dd",{className:"font-medium",children:r.timing_note||"—"})]}),e.jsxs("div",{children:[e.jsxs("dt",{className:"inline-flex items-center gap-1.5 text-muted-foreground",children:[e.jsx(_e,{className:"h-4 w-4"})," Area"]}),e.jsxs("dd",{className:"font-medium",children:[r.location_text||"—",r.format?` · ${r.format}`:""]})]}),e.jsxs("div",{children:[e.jsxs("dt",{className:"inline-flex items-center gap-1.5 text-muted-foreground",children:[e.jsx(Ie,{className:"h-4 w-4"})," Budget"]}),e.jsx("dd",{className:"font-medium",children:Pe(r.budget_min??null,r.budget_max??null,r.budget_flexible??null)})]})]}),(ee=s.fit_reasons)!=null&&ee.length?e.jsxs("div",{children:[e.jsxs("p",{className:"mb-2 inline-flex items-center gap-1.5 text-xs uppercase tracking-wide text-muted-foreground",children:[e.jsx(ke,{className:"h-4 w-4"})," Why we thought of you"]}),e.jsx("ul",{className:"list-inside list-disc space-y-1 text-sm text-muted-foreground",children:s.fit_reasons.map(t=>e.jsx("li",{children:t},t))})]}):null,a&&e.jsxs("div",{className:"space-y-4 border-t border-border pt-4",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[l?e.jsxs(p,{className:"min-h-11",disabled:h===s.id,onClick:()=>ce.mutate({offerId:s.id,tokensNeeded:d}),children:[h===s.id?e.jsx(f,{className:"mr-2 h-4 w-4 animate-spin"}):null,"Buy tokens & reserve this match (",d," needed)"]}):e.jsxs(p,{className:"min-h-11",disabled:h===s.id,onClick:()=>L.mutate({offerId:s.id,action:"accept"}),children:[h===s.id?e.jsx(f,{className:"mr-2 h-4 w-4 animate-spin"}):null,"Accept ",C(s.proposed_price??r.proposed_price,n)]}),y&&e.jsxs(p,{variant:"outline",className:"min-h-11 gap-2",disabled:h===s.id||l,onClick:()=>{$(U===s.id?null:s.id),T(String(s.proposed_price??r.proposed_price??"")),E(String(s.proposed_deposit??r.proposed_deposit??"")),M(s.proposed_payment_plan??r.proposed_payment_plan??""),F("")},children:[e.jsx(Le,{className:"h-4 w-4"})," My price is…"]}),e.jsx(p,{variant:"ghost",className:"min-h-11",disabled:h===s.id,onClick:()=>L.mutate({offerId:s.id,action:"decline"}),children:"Pass"})]}),U===s.id&&e.jsxs("div",{className:"rounded-xl border border-border p-4",children:[e.jsx("h4",{className:"font-semibold",children:"Give one price for this same service"}),e.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"The included 
6service stays locked. Enter your exact total, deposit, and remaining payment schedule."}),e.jsxs("div",{className:"mt-4 grid gap-4 sm:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(S,{htmlFor:`suggested-price-${s.id}`,children:["Total price (",n,")"]}),e.jsx(H,{id:`suggested-price-${s.id}`,type:"number",min:"0",step:"1",value:j,onChange:t=>T(t.target.value)})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(S,{htmlFor:`suggested-deposit-${s.id}`,children:["Deposit due now (",n,")"]}),e.jsx(H,{id:`suggested-deposit-${s.id}`,type:"number",min:"0",step:"1",value:N,onChange:t=>E(t.target.value)})]}),e.jsxs("div",{className:"space-y-2 sm:col-span-2",children:[e.jsx(S,{htmlFor:`suggested-plan-${s.id}`,children:"Remaining payment schedule"}),e.jsx(H,{id:`suggested-plan-${s.id}`,value:R,onChange:t=>M(t.target.value),placeholder:"For example: $450 due at 36 weeks"})]}),e.jsxs("div",{className:"space-y-2 sm:col-span-2",children:[e.jsx(S,{htmlFor:`suggested-note-${s.id}`,children:"Optional note"}),e.jsx(ne,{id:`suggested-note-${s.id}`,value:Y,onChange:t=>F(t.target.value),placeholder:"Anything the family should know about this price",className:"min-h-24"})]})]}),e.jsxs("div",{className:"mt-4 flex flex-wrap gap-3",children:[e.jsxs(p,{disabled:h===s.id||!j||Number(j)<=0||N!==""&&Number(N)>Number(j),onClick:()=>L.mutate({offerId:s.id,action:"give_price",price:j?Number(j):null,deposit:N?Number(N):null,paymentPlan:R.trim(),note:Y.trim()}),children:[h===s.id?e.jsx(f,{className:"mr-2 h-4 w-4 animate-spin"}):null,"Save my price"]}),e.jsx(p,{variant:"ghost",onClick:()=>$(null),children:"Cancel"})]})]}),e.jsxs("p",{className:"text-xs text-muted-foreground",children:["Accepting reserves ",d," Pro Tokens. They are spent only if the family chooses you and pays. Contact details stay private until then."]})]}),s.state==="introduced"&&(()=>{const t=r.family_contact??null,k=((t==null?void 0:t.name)||"the family").split(" ")[0],pe=[`Reach out to ${k} first, ideally within 24 hours`,"Share your own service agreement and consent paperwork","Confirm dates and scheduling together","Arrange payment directly with your client"];return e.jsxs("section",{className:"space-y-4 rounded-xl border border-emerald-200 bg-emerald-50/60 p-5","aria-labelledby":`connected-${s.id}`,children:[e.jsxs("div",{children:[e.jsxs("h3",{id:`connected-${s.id}`,className:"flex items-center gap-2 text-lg font-semibold",children:[e.jsx(Q,{className:"h-5 w-5 text-emerald-700"})," You're connected with ",(t==null?void 0:t.name)||"this family"]}),e.jsxs("p",{className:"mt-1 text-sm text-muted-foreground",children:["The match is confirmed at ",C(Z,n),". They are expecting to hear from you first."]})]}),((t==null?void 0:t.email)||(t==null?void 0:t.phone))&&e.jsxs("dl",{className:"grid gap-3 border-y border-emerald-200 py-4 sm:grid-cols-2",children:[(t==null?void 0:t.email)&&e.jsxs("div",{children:[e.jsx("dt",{className:"text-xs font-bold uppercase tracking-wider text-muted-foreground",children:"Family email"}),e.jsx("dd",{className:"mt-1 font-medium",children:e.jsx("a",{className:"underline",href:`mailto:${t.email}`,children:t.email})})]}),(t==null?void 0:t.phone)&&e.jsxs("div",{children:[e.jsx("dt",{className:"text-xs font-bold uppercase tracking-wider text-muted-foreground",children:"Family phone"}),e.jsx("dd",{className:"mt-1 font-medium",children:e.jsx("a",{className:"underline",href:`tel:${t.phone}`,children:t.phone})})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold",children:"What happens next"}),e.jsx("ol",{className:"mt-2 space-y-2 text-sm text-muted-foreground",children:pe.map((te,ue)=>e.jsxs("li",{className:"flex gap-2",children:[e.jsxs("span",{className:"font-semibold text-emerald-800",children:[ue+1,"."]}),te]},te))})]}),(t==null?void 0:t.email)&&e.jsx(p,{asChild:!0,className:"min-h-11",children:e.jsxs("a",{href:`mailto:${t.email}?subject=${encodeURIComponent(`Hello from ${r.service_type||"your GentleBirth match"}`)}`,children:["Email ",k]})})]})})(),s.state==="introduced"&&e.jsxs("section",{className:"space-y-4 border-t border-border pt-5","aria-labelledby":`direct-conversation-${s.id}`,children:[e.jsxs("div",{children:[e.jsxs("h3",{id:`direct-conversation-${s.id}`,className:"flex items-center gap-2 text-lg font-semibold",children:[e.jsx(De,{className:"h-5 w-5 text-primary"})," Family conversation"]}),e.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"The match is confirmed and the agreement is locked. You can message the family directly here."})]}),e.jsx("div",{className:"space-y-3",children:me.map(t=>
6e.jsxs("div",{className:t.sender_type==="provider"?"ml-auto max-w-xl":"max-w-xl",children:[e.jsxs("p",{className:"mb-1 text-xs font-medium text-muted-foreground",children:[t.sender_type==="provider"?"You":t.sender_type==="family"?"Family":"GentleBirth"," · ",new Date(t.created_at).toLocaleString()]}),e.jsx("p",{className:`whitespace-pre-wrap rounded-lg border p-3 text-sm leading-relaxed ${t.sender_type==="provider"?"border-primary/20 bg-primary/5":"bg-background"}`,children:t.body})]},t.id))}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(ne,{value:I[s.id]??"",onChange:t=>G(k=>({...k,[s.id]:t.target.value})),maxLength:4e3,placeholder:"Write to the family…",className:"min-h-24"}),e.jsxs(p,{className:"min-h-11",disabled:!((se=I[s.id])!=null&&se.trim())||q.isPending,onClick:()=>q.mutate({offer:s,body:I[s.id].trim()}),children:[q.isPending?e.jsx(f,{className:"mr-2 h-4 w-4 animate-spin"}):e.jsx(Se,{className:"mr-2 h-4 w-4"})," Send to family"]})]})]})]})]},s.id)};return e.jsxs("div",{className:"mx-auto max-w-4xl space-y-8 px-4 py-10",children:[e.jsxs("header",{className:"flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-3xl font-bold tracking-tight",children:"Introduction offers"}),e.jsx("p",{className:"mt-2 text-muted-foreground",children:"Each family confirms one exact service and amount. Accept it, give your price for the same service, or pass."})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[O&&e.jsx(Te,{proId:O}),e.jsx(p,{asChild:!0,variant:"outline",className:"min-h-11 shrink-0 gap-2",children:e.jsxs(re,{to:"/pro-tokens",children:[e.jsx(Ee,{className:"h-4 w-4"}),g==null?"Manage Pro Tokens":`${g.available} available tokens`]})})]})]}),_>0&&e.jsxs(re,{to:"/provider/clients",className:"flex min-h-11 items-center gap-3 rounded-xl border border-emerald-200 bg-emerald-50/60 p-4 transition-colors hover:bg-emerald-100/60",children:[e.jsx(Q,{className:"h-5 w-5 shrink-0 text-emerald-700","aria-hidden":"true"}),e.jsxs("span",{className:"text-sm font-semibold text-foreground",children:[_," connected ",_===1?"client":"clients"," — see contact details and next steps in My clients"]})]}),oe?e.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[e.jsx(f,{className:"h-4 w-4 animate-spin"})," Loading offers…"]}):v.length===0&&K.length===0&&_===0?e.jsx(ae,{children:e.jsxs(ie,{className:"flex flex-col items-center gap-3 py-14 text-center text-muted-foreground",children:[e.jsx(Me,{className:"h-8 w-8"}),e.jsx("p",{children:"No introductions yet. Keep your availability and profile current so we can match you first."})]})}):e.jsxs("div",{className:"space-y-8",children:[v.length>0&&e.jsxs("section",{className:"space-y-4",children:[e.jsxs("div",{className:"rounded-2xl border-2 border-destructive bg-destructive/5 p-5",children:[e.jsxs("p",{className:"flex items-center gap-2 text-xs font-bold uppercase tracking-[0.12em] text-destructive",children:[e.jsx(je,{className:"h-4 w-4","aria-hidden":"true"})," Action needed"]}),e.jsx("h2",{className:"mt-2 text-xl font-bold text-foreground",children:v.length===1?"One family is waiting for your answer":`${v.length} families are waiting for your answer`}),e.jsx("p",{className:"mt-1 text-sm font-semibold text-destructive",children:de(v[0].expires_at)}),e.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"If the window closes we take the proposal to the next matched provider."})]}),e.jsx("h2",{className:"text-lg font-semibold",children:"Waiting on you"}),v.map(s=>z(s,!0))]}),K.length>0&&e.jsxs("section",{className:"space-y-4",children:[e.jsx("h2",{className:"text-lg font-semibold",children:"History"}),K.map(s=>z(s,!1))]})]})]})};export{rs as default};

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.