PageSourceSearch

https://larya.com.br/_next/static/chunks/9841.c9fff986095654e5.js

js larya.com.br collected 2026-10-08 22:13:36 UTC 19,429 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9841],{14086:(e,t,a)=>{a.d(t,{A:()=>o});let o=(0,a(64499).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},17023:(e,t,a)=>{a.d(t,{EZ:()=>i,dF:()=>r,ie:()=>n,tP:()=>l});let o=e=>{if(!e)return"";let t=String(e).replace(/[^\d,]/g,"");if(!t||!/\d/.test(t))return"";let a=e=>e.replace(/\D/g,"").replace(/^0+(?=\d)/,"").replace(/\B(?=(\d{3})+(?!\d))/g,"."),o=t.indexOf(",");if(-1===o)return a(t);let n=t.slice(0,o),r=t.slice(o+1).replace(/\D/g,"").slice(0,2),l=a(n||"0");return r?"".concat(l,",").concat(r):"".concat(l,",")},n=e=>{if(!e)return"";let t=o(e);if(!t)return"";if(!t.includes(","))return"".concat(t,",00");let[a,n]=t.split(",");return"".concat(a,",").concat(n.padEnd(2,"0"))},r=(e,t)=>{switch(t){case"cpf":return e.replace(/\D/g,"").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})/,"$1-$2").replace(/(-\d{2})\d+?$/,"$1");case"cnpj":return e.replace(/\D/g,"").replace(/(\d{2})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1/$2").replace(/(\d{4})(\d)/,"$1-$2").replace(/(-\d{2})\d+?$/,"$1");case"phone":return e.replace(/\D/g,"").replace(/(\d{2})(\d)/,"($1) $2").replace(/(\d{4})(\d)/,"$1-$2").replace(/(\d{4})-(\d)(\d{4})/,"$1$2-$3").replace(/(-\d{4})\d+?$/,"$1");case"cep":return e.replace(/\D/g,"").replace(/^(\d{5})(\d)/,"$1-$2").replace(/(-\d{3})\d+?$/,"$1");case"date":return e.replace(/\D/g,"").replace(/(\d{2})(\d)/,"$1/$2").replace(/(\d{2})(\d)/,"$1/$2").replace(/(\d{4})\d+?$/,"$1");case"rg":return e.replace(/\D/g,"").replace(/(\d{2})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1})/,"$1-$2").replace(/(-\d{1})\d+?$/,"$1");case"currency":return o(e);default:return e}},l=e=>{switch(e){case"cpf":return 14;case"cnpj":return 18;case"phone":case"currency":return 15;case"cep":return 9;case"date":return 10;case"rg":return 12;default:return}},i=e=>{switch(e){case"cpf":return"000.000.000-00";case"cnpj":return"00.000.000/0000-00";case"phone":return"(11) 99999-9999";case"cep":return"00000-000";case"date":return"DD/MM/AAAA";case"rg":return"00.000.000-0";case"currency":return"R$ 0,00";default:return""}}},24527:(e,t,a)=>{a.d(t,{F:()=>r});let o="https://api.larya.com.br",n="https://servicodados.ibge.gov.br/api/v1/localidades",r={postFinancingCalculator:async e=>{let t=await fetch("".concat(o,"/mortgage-calculator/financing"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw Error("Failed to post financing data");return t.json()},postPotentialBanksCalculator:async e=>{let t=await fetch("".concat(o,"/mortgage-calculator/financing"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw Error("Failed to post financing data");return t.json()},postPropertyValueCalculator:async e=>{let t=await fetch("".concat(o,"/mortgage-calculator/monthly-payment"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw Error("Failed to post property value data");return t.json()},postPropertyBanksCalculator:async e=>{let t=await fetch("".concat(o,"/mortgage-calculator/monthly-payment"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw Error("Failed to post financing data");return t.json()},postInstallmentValueCalculator:async e=>{let t=await fetch("".concat(o,"/mortgage-calculator/target-payment"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw Error("Failed to post installment value data");return t.json()},postInstallmentBanksCalculator:async e=>{let t=await fetch("".concat(o,"/mortgage-calculator/target-payment"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw Error("Failed to post financing data");return t.json()},postHomeEquityCalculator:async e=>{let t=await fetch("".concat(o,"/calculator/home-equity"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw Error("Failed to post home equity data");return t.json()},postHomeEquityBanksCalculator:async e=>{let t=await fetch("".concat(o,"/calculator/home-equity"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw Error("Failed to post home equity data");return t.json()},postFinancingLead:async e=>{let t=JSON.stringify(e),a=await fetch("".concat(o,"/leads"),{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:t});if(!a.ok){let e=await a.text();throw console.error("API Error Response:",e),console.error("Response status text:",a.statusText),Error("Failed to post financing lead: ".concat(a.status," - ").concat(e))}return a.json()},postRenovationCalculator:async e=>{let t=await fetch("".concat(o,"/calculator/renovation"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw Error("Failed to calculate renovation");return t.json()},postRenovationLead:async e=>{let t=await fetch("".concat(o,"/calculator/renovation"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw Error("Failed to post financing lead");return t.json()},getBanks:async e=>{let t=e?"".concat(o,"/bank/").concat(e):"".concat(o,"/bank"),a=await fetch(t,{method:"GET",headers:{"Content-Type":"application/json"}});if(!a.ok)throw Error("Failed to get banks");return a.json()},postRefinancingLead:async e=>{let t=await fetch("".concat(o,"/calculator/refinancing"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw Error("Failed to post refinancing lead");return t.json()},getAddressByCep:async e=>{let t=await fetch("".concat("https://viacep.com.br/ws","/").concat(e,"/json"));if(!t.ok)throw Error("Failed to get address by cep");return t.json()},getStates:async()=>{let e=await fetch("".concat(n,"/estados"));if(!e.ok)throw Error("Failed to get states");return e.json()},getCitiesByState:async e=>{let t=await fetch("".concat(n,"/estados/").concat(e,"/municipios"));if(!t.ok)throw Error("Failed to get cities by state");return t.json()},postRealtor:async e=>{let t=await fetch("".concat(o,"/realtor"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok){let e=await t.text();throw console.error("API Error Response:",e),Error("Failed to create realtor: ".concat(t.status," - ").concat(e))}return t.json()},getProfile:async e=>{let t=await fetch("".concat(o,"/auth/profile"),{method:"GET",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)}});if(!t.ok)throw Error("Failed to get profile");return t.json()},postGoCasaLead:async e=>{let t=await fetch("".concat(o,"/leads/go-casa/"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw Error("Failed to post GoCasa lead");return t.json()},postCompany:async e=>{let t=await fetch("".concat(o,"/company"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok){let e=await t.text();throw console.error("API Error Response:",e),Error("Failed to create company: ".concat(t.status," - ").concat(e))}return t.json()}}},34316:(e,t,a)=>{a.d(t,{Qg:()=>l,bL:()=>s});var o=a(70804),n=a(51563),r=a(6520),l=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),i=o.forwardRef((e,t)=>
1(0,r.jsx)(n.sG.span,{...e,ref:t,style:{...l,...e.style}}));i.displayName="VisuallyHidden";var s=i},47112:(e,t,a)=>{a.d(t,{A:()=>o});let o=(0,a(64499).A)("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]])},51074:(e,t,a)=>{a.d(t,{o:()=>s});var o=a(6520),n=a(70804),r=a(93622),l=a(17023),i=a(45773);let s=n.forwardRef((e,t)=>{let{mask:a,value:s="",onChange:c,onRawChange:d,defaultValue:u,placeholder:p,maxLength:m,className:y,icon:h,floating:f=!0,onBlur:g,...x}=e;return(0,n.useEffect)(()=>{if(u){let e=(0,l.dF)(u,a);null==c||c(e)}},[u,a,c]),(0,o.jsx)(r.Input,{ref:t,...x,icon:h,value:s,onChange:e=>{let t=e.target.value,o=(0,l.dF)(t,a);null==c||c(o),d&&d(t.replace(/\D/g,""))},onBlur:e=>{if("currency"===a&&e.target.value){let t=(0,l.ie)(e.target.value);t&&t!==e.target.value&&(null==c||c(t))}null==g||g(e)},placeholder:p||(0,l.EZ)(a),maxLength:m||(0,l.tP)(a),className:(0,i.cn)(y),floating:f})});s.displayName="MaskedInput"},74320:(e,t,a)=>{a.r(t),a.d(t,{default:()=>x});var o=a(6520),n=a(70804),r=a(63916),l=a(47112),i=a(76724),s=a(14086);let c=(0,a(64499).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);var d=a(77344),u=a(88431),p=a(83213),m=a(51074),y=a(97174),h=a(45773),f=a(52248);let g=["J\xe1 tenho um financiamento e quero reduzir minha parcela","Quero trazer meu financiamento atual para outro banco","Desejo simular portabilidade do meu financiamento","Pretendo avaliar portabilidade nos pr\xf3ximos meses"];function x(e){let{setResult:t}=e,[a,x]=n.useState(void 0),[j,b]=n.useState(!1),[C,k]=n.useState({}),[v,w]=n.useState({propertyValue:"",portabilityBalance:"",familyIncome:"",monthlyPayment:""}),{setCalculatorRequest:F,setCalculatorResponse:E,setShowResult:S,setCalculatorType:$}=(0,f.$)();n.useEffect(()=>{$("portability")},[$]);let N=(0,d.ke)();return(0,o.jsxs)("div",{className:"w-full mx-auto bg-white p-6 rounded-[24px] space-y-6 flex flex-col justify-between h-full",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{className:"block font-medium mb-1 text-[#041F30] text-[14px] ",children:"Quando pretende usar a portabilidade?"}),(0,o.jsxs)(r.bL,{open:j,onOpenChange:b,children:[(0,o.jsx)(r.l9,{asChild:!0,children:(0,o.jsxs)("button",{className:"w-full border ".concat(C.date?"border-red-500":"border-[#EFEFEF]"," h-[56px] px-4 py-2 rounded-[16px] flex items-center justify-between"),children:[a?(0,o.jsxs)("span",{className:"text-[#041F30] text-[14px] flex items-center gap-x-1",children:[(0,o.jsx)(l.A,{size:19,color:"#041F30"}),a]}):(0,o.jsxs)("span",{className:"text-[#989898] text-[14px] flex items-center gap-x-1",children:[(0,o.jsx)(l.A,{size:19,color:"#041F30"}),"Selecione"]}),(0,o.jsx)(i.A,{})]})}),(0,o.jsx)(r.ZL,{children:(0,o.jsx)(r.UC,{className:"bg-white border rounded p-2 shadow-md w-full",children:g.map(e=>(0,o.jsxs)("div",{onClick:()=>{x(e),k(e=>({...e,date:""})),b(!1)},className:"cursor-pointer px-3 py-2 rounded-[16px] flex justify-between items-center hover:bg-gray-100 ".concat(a===e?"text-red-500 font-semibold":""),children:[(0,o.jsx)("span",{children:e}),a===e&&(0,o.jsx)(s.A,{})]},e))})})]}),C.date&&(0,o.jsx)("p",{className:"text-red-500 text-sm mt-1",children:C.date})]}),[{key:"propertyValue",label:"Quanto vale o seu im\xf3vel?",tooltip:"\uD83D\uDCA1 Informe o valor de mercado estimado do im\xf3vel que est\xe1 financiando."},{key:"portabilityBalance",label:"Qual o saldo para portabilidade?",tooltip:"\uD83D\uDCA1 Digite o saldo devedor atual do seu financiamento, ou seja, quanto ainda falta pagar."},{key:"familyIncome",label:"Qual sua renda familiar?",tooltip:"\uD83D\uDCA1 Some a renda mensal de todas as pessoas da fam\xedlia que contribuem para o pagamento das despesas."},{key:"monthlyPayment",label:"Aproximadamente quanto voc\xea paga mensalmente agora?",tooltip:"\uD83D\uDCA1 Informe o valor da parcela atual do seu financiamento imobili\xe1rio."}].map(e=>{let{key:t,label:a,tooltip:n}=e;return(0,o.jsxs)("div",{className:"space-y-2",children:[(0,o.jsxs)("div",{className:"flex items-center gap-2",children:[(0,o.jsxs)("label",{className:"text-gray-700 font-medium text-[14px]",children:[a," ",(0,o.jsx)("span",{className:"text-red-500",children:"*"})]}
1),(0,o.jsx)(u.Bc,{delayDuration:0,children:(0,o.jsxs)(p.Yo,{children:[(0,o.jsx)(p.k6,{children:(0,o.jsx)(c,{fill:"black",color:"white",size:15,className:"cursor-help"})}),(0,o.jsx)(p.hN,{children:(0,o.jsx)("p",{children:n})})]})})]}),(0,o.jsx)(m.o,{mask:"currency",value:v[t],onChange:e=>{w(a=>({...a,[t]:e})),k(e=>({...e,[t]:""}))},icon:(0,o.jsx)(y.A,{className:"h-5 w-5 text-primary-dark"}),floating:!1,className:"bg-white border-primary-light font-medium"}),C[t]&&(0,o.jsx)("p",{className:"text-red-500 text-sm mt-1",children:C[t]})]},t)}),(0,o.jsx)("button",{onClick:()=>{if(!(()=>{let e={};return a||(e.date="Selecione uma op\xe7\xe3o"),v.propertyValue||(e.propertyValue="Campo obrigat\xf3rio"),v.portabilityBalance||(e.portabilityBalance="Campo obrigat\xf3rio"),v.familyIncome||(e.familyIncome="Campo obrigat\xf3rio"),v.monthlyPayment||(e.monthlyPayment="Campo obrigat\xf3rio"),k(e),0===Object.keys(e).length})())return;$("portability");let e=(0,h.O)((null==v?void 0:v.monthlyPayment)||"0"),o=(0,h.O)((null==v?void 0:v.portabilityBalance)||"0"),n={currentDebt:o,currentFinancingValue:o,monthlyPayment:e,propertyValue:(0,h.O)((null==v?void 0:v.propertyValue)||"0"),familyIncome:(0,h.O)((null==v?void 0:v.familyIncome)||"0"),annualInterestRate:11.19,calculateAllBanks:!1,intendedUsageDate:a,usageReason:a};F(n),N.mutate(n,{onSuccess:e=>{t(e),E(e),S(!0)},onError:e=>{console.error(e),alert("❌ Something went wrong!")}})},disabled:N.isPending,className:"w-full mt-4 text-white py-2 px-4 rounded-[16px]  transition cursor-pointer ".concat(N.isPending?"bg-gray-400 cursor-not-allowed":"bg-[#3A2FA3] hover:bg-[#3A2FA8]"),children:N.isPending?"Calculando...":"Calcular"})]})}},77344:(e,t,a)=>{a.d(t,{D1:()=>x,DF:()=>f,Fh:()=>j,HD:()=>d,K3:()=>h,P3:()=>p,Rg:()=>b,d6:()=>c,dE:()=>s,iO:()=>u,ke:()=>m,mJ:()=>k,ni:()=>y,o_:()=>g,zc:()=>C});var o=a(10030),n=a(90176),r=a(98209),l=a(24527);let i={financingCalculator:["financingCalculator"],potentialBanksCalculator:["potentialBanksCalculator"],financingLead:["financingLead"],propertyValueCalculator:["propertyValueCalculator"],renovationValueCalcualator:["renovationValueCalcualator"],refinancingValueCalcualator:["refinancingValueCalcualator"],propertyBanksCalculator:["propertyBanksCalculator"],installmentValueCalculator:["installmentValueCalculator"],installmentBanksCalculator:["installmentBanksCalculator"],homeEquityCalculator:["homeEquityCalculator"],homeEquityBanksCalculator:["homeEquityBanksCalculator"],realtor:["realtor"],banks:["banks"],goCasaLead:["goCasaLead"]},s=()=>{let e=(0,o.jE)();return(0,n.n)({mutationFn:l.F.postFinancingCalculator,onSuccess:()=>{e.invalidateQueries({queryKey:i.financingCalculator})}})},c=()=>{let e=(0,o.jE)();return(0,n.n)({mutationFn:l.F.postPotentialBanksCalculator,onSuccess:()=>{e.invalidateQueries({queryKey:i.potentialBanksCalculator})}})},d=()=>{let e=(0,o.jE)();return(0,n.n)({mutationFn:l.F.postFinancingLead,onSuccess:()=>{e.invalidateQueries({queryKey:i.financingLead})}})},u=()=>{let e=(0,o.jE)();return(0,n.n)({mutationFn:l.F.postPropertyValueCalculator,onSuccess:()=>{e.invalidateQueries({queryKey:i.propertyValueCalculator})}})},p=()=>{let e=(0,o.jE)();return(0,n.n)({mutationFn:l.F.postRenovationCalculator,onSuccess:()=>{e.invalidateQueries({queryKey:i.renovationValueCalcualator})}})},m=()=>{let e=(0,o.jE)();return(0,n.n)({mutationFn:l.F.postRefinancingLead,onSuccess:()=>{e.invalidateQueries({queryKey:i.refinancingValueCalcualator})}})},y=()=>{let e=(0,o.jE)();return(0,n.n)({mutationFn:l.F.postPropertyBanksCalculator,onSuccess:()=>{e.invalidateQueries({queryKey:i.propertyBanksCalculator})}})},h=()=>{let e=(0,o.jE)();return(0,n.n)({mutationFn:l.F.postInstallmentValueCalculator,onSuccess:()=>{e.invalidateQueries({queryKey:i.installmentValueCalculator})}})},f=()=>{let e=(0,o.jE)();return(0,n.n)({mutationFn:l.F.postInstallmentBanksCalculator,onSuccess:()=>{e.invalidateQueries({queryKey:i.installmentBanksCalculator})}})},g=()=>{let e=(0,o.jE)();return(0,n.n)({mutationFn:l.F.postHomeEquityCalculator,onSuccess:()=>{e.invalidateQueries({queryKey:i.homeEquityCalculator})}})},x=()=>{let e=(0,o.jE)();return(0,n.n)({mutationFn:l.F.postHomeEquityBanksCalculator,onSuccess:()=>
1{e.invalidateQueries({queryKey:i.homeEquityBanksCalculator})}})},j=()=>{let e=(0,o.jE)();return(0,n.n)({mutationFn:l.F.postRealtor,onSuccess:()=>{e.invalidateQueries({queryKey:i.realtor})}})},b=()=>{let e=(0,o.jE)();return(0,n.n)({mutationFn:l.F.postCompany,onSuccess:()=>{e.invalidateQueries({queryKey:["company"]})}})},C=e=>(0,r.I)({queryKey:[i.banks,e],queryFn:()=>l.F.getBanks(e),staleTime:864e5,gcTime:6048e5}),k=()=>{let e=(0,o.jE)();return(0,n.n)({mutationFn:l.F.postGoCasaLead,onSuccess:()=>{e.invalidateQueries({queryKey:i.goCasaLead})}})}},83213:(e,t,a)=>{a.d(t,{Yo:()=>y,hN:()=>f,k6:()=>h,TouchProvider:()=>m});var o=a(6520),n=a(70804),r=a(88431),l=a(63916),i=a(45773);function s(e){let{...t}=e;return(0,o.jsx)(l.bL,{"data-slot":"popover",...t})}function c(e){let{...t}=e;return(0,o.jsx)(l.l9,{"data-slot":"popover-trigger",...t})}function d(e){let{className:t,align:a="center",sideOffset:n=4,...r}=e;return(0,o.jsx)(l.ZL,{children:(0,o.jsx)(l.UC,{"data-slot":"popover-content",align:a,sideOffset:n,className:(0,i.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",t),...r})})}let u=(0,n.createContext)(void 0),p=()=>(0,n.useContext)(u),m=e=>
1{let[t,a]=(0,n.useState)();return(0,n.useEffect)(()=>{a(window.matchMedia("(pointer: coarse)").matches)},[]),(0,o.jsx)(u.Provider,{value:t,...e})},y=e=>p()?(0,o.jsx)(s,{...e}):(0,o.jsx)(r.m_,{...e}),h=e=>p()?(0,o.jsx)(c,{...e}):(0,o.jsx)(r.k$,{...e}),f=e=>p()?(0,o.jsx)(d,{...e}):(0,o.jsx)(r.ZI,{...e})},88431:(e,t,a)=>{a.d(t,{Bc:()=>l,ZI:()=>c,k$:()=>s,m_:()=>i});var o=a(6520);a(70804);var n=a(98703),r=a(45773);function l(e){let{delayDuration:t=0,...a}=e;return(0,o.jsx)(n.Kq,{"data-slot":"tooltip-provider",delayDuration:t,...a})}function i(e){let{...t}=e;return(0,o.jsx)(l,{children:(0,o.jsx)(n.bL,{"data-slot":"tooltip",...t})})}function s(e){let{...t}=e;return(0,o.jsx)(n.l9,{"data-slot":"tooltip-trigger",...t})}function c(e){let{className:t,sideOffset:a=0,children:l,...i}=e;return(0,o.jsx)(n.ZL,{children:(0,o.jsxs)(n.UC,{"data-slot":"tooltip-content",sideOffset:a,className:(0,r.cn)("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",t),...i,children:[l,(0,o.jsx)(n.i3,{className:"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})})}}}]);

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.