PageSourceSearch

https://despezzas.com.br/_next/static/chunks/2578-e2d562241898f608.js

js despezzas.com.br collected 2026-09-24 14:09:55 UTC 14,920 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2578],{7578:(e,t,r)=>{r.d(t,{default:()=>b});var i=r(95155),s=r(12115),l=r(98500),n=r.n(l),o=r(19057),a=r(22189),d=r(90467),h=r(12363),c=r(15955),x=r(40980);let f="text-foreground/75 hover:text-foreground rounded-full px-3.5 py-1.5 text-sm font-medium transition-colors",u="rounded-full px-4 py-1.5 text-sm font-medium text-white/70 transition-colors hover:bg-white/5 hover:text-white",g=({tool:e,isLight:t})=>{let r="calculator"===e.kind?o.A:a.A;return(0,i.jsxs)(n(),{href:e.href,className:(0,x.cn)("group/item flex items-start gap-3 rounded-xl p-3 transition-colors",t?"hover:bg-muted/80":"hover:bg-white/6"),children:[(0,i.jsx)("span",{className:(0,x.cn)("flex size-10 shrink-0 items-center justify-center rounded-xl ring-1 transition",t?"bg-muted text-foreground group-hover/item:bg-brand/10 group-hover/item:text-brand group-hover/item:ring-brand/20 ring-black/6":"text-lp-lime group-hover/item:bg-lp-lime/15 group-hover/item:ring-lp-lime/30 bg-white/5 ring-white/10"),children:(0,i.jsx)(r,{size:18,strokeWidth:2,"aria-hidden":!0})}),(0,i.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,i.jsxs)("span",{className:(0,x.cn)("flex items-center gap-1.5 text-sm font-semibold tracking-tight",t?"text-foreground":"text-white"),children:[e.name,(0,i.jsx)(d.A,{size:14,strokeWidth:2.25,"aria-hidden":!0,className:(0,x.cn)("shrink-0 -translate-x-1 opacity-0 transition-all duration-200 group-hover/item:translate-x-0 group-hover/item:opacity-100",t?"text-brand":"text-lp-lime")})]}),(0,i.jsx)("span",{className:(0,x.cn)("mt-0.5 block text-xs leading-snug",t?"text-muted-foreground":"text-white/55"),children:e.description})]})]})},p=({title:e,tools:t,isLight:r})=>0===t.length?null:(0,i.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,i.jsx)("p",{className:(0,x.cn)("px-3 pb-1 text-[11px] font-semibold tracking-[0.08em] uppercase",r?"text-muted-foreground":"text-white/65"),children:e}),(0,i.jsx)("div",{className:"flex flex-col",children:t.map(e=>(0,i.jsx)(g,{tool:e,isLight:r},e.href))})]}),m=({tools:e,toolsLabel:t,toolsDropdown:r,variant:s})=>{let l="light"===s,o=l?f:u,a=e.filter(e=>"calculator"===e.kind),c=e.filter(e=>"table"===e.kind);return(0,i.jsxs)("div",{className:"group relative",children:[(0,i.jsxs)(n(),{href:"/ferramentas",className:(0,x.cn)(o,"inline-flex items-center gap-1"),"aria-label":t,"aria-haspopup":"true",children:[t,(0,i.jsx)(h.A,{className:"size-3.5 opacity-70 transition-transform duration-200 group-focus-within:rotate-180 group-hover:rotate-180","aria-hidden":!0})]}),(0,i.jsx)("div",{className:(0,x.cn)("pointer-events-none absolute top-full left-1/2 z-50 w-[min(640px,calc(100vw-2rem))] -translate-x-1/2 pt-3","invisible translate-y-1 opacity-0 transition-all duration-200 ease-out","group-hover:pointer-events-auto group-hover:visible group-hover:translate-y-0 group-hover:opacity-100","group-focus-within:pointer-events-auto group-focus-within:visible group-focus-within:translate-y-0 group-focus-within:opacity-100"),children:(0,i.jsxs)("div",{className:(0,x.cn)("overflow-hidden rounded-2xl border shadow-[0_20px_50px_-16px_rgba(20,16,40,0.22)]",l?"bg-card border-black/8":"bg-lp-surface border-white/10 shadow-black/50"),children:[(0,i.jsxs)("div",{className:"grid grid-cols-2 gap-x-2 gap-y-3 p-3 sm:p-4",children:[(0,i.jsx)(p,{title:r.calculators,tools:a,isLight:l}),(0,i.jsx)(p,{title:r.tables,tools:c,isLight:l})]}),(0,i.jsx)("div",{className:(0,x.cn)("border-t px-3 py-2.5 sm:px-4",l?"bg-muted/40 border-black/6":"border-white/8 bg-white/3"),children:(0,i.jsxs)(n(),{href:"/ferramentas",className:(0,x.cn)("group/footer flex items-center justify-between gap-3 rounded-xl px-3 py-2.5 text-sm font-semibold transition-colors",l?"text-foreground hover:bg-card":"text-white hover:bg-white/5"),children:[(0,i.jsx)("span",{children:r.viewAll}),(0,i.jsx)(d.A,{size:16,strokeWidth:2.25,"aria-hidden":!0,className:(0,x.cn)("transition-transform duration-200 group-hover/footer:translate-x-0.5",l?"text-brand":"text-lp-lime")})]})})]})})]})},b=({toolsLabel:e,toolsDropdown:t,sectionLinks:r,blogLink:l,tools:o,variant:a="dark",revealOnScroll:d=!1})=>
1{let h="light"===a,g=(0,c.Z)(),[p,b]=(0,s.useState)(!d);(0,s.useEffect)(()=>{if(!d||h)return;let e=()=>b(window.scrollY>48);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[d,h]);let j=!(!d||(h?g:p)),w=(0,x.cn)("transition-all duration-300",j?"pointer-events-none max-w-0 -translate-y-1.5 overflow-hidden opacity-0":"max-w-none translate-y-0 opacity-100");return h?(0,i.jsxs)("div",{className:(0,x.cn)("hidden items-center justify-center gap-0.5 md:flex md:-translate-x-14",w),"aria-hidden":j,inert:j||void 0,children:[r.map(e=>(0,i.jsx)(n(),{href:e.href,className:f,children:e.label},e.href)),o.length>0?(0,i.jsx)(m,{tools:o,toolsLabel:e,toolsDropdown:t,variant:"light"}):null,(0,i.jsx)(n(),{href:l.href,className:f,children:l.label})]}):(0,i.jsxs)("div",{className:(0,x.cn)("hidden items-center gap-1 rounded-full border border-white/10 bg-white/5 p-1.5 backdrop-blur-sm md:flex",w),"aria-hidden":j,inert:j||void 0,children:[r.map(e=>(0,i.jsx)(n(),{href:e.href,className:u,children:e.label},e.href)),(0,i.jsx)(m,{tools:o,toolsLabel:e,toolsDropdown:t,variant:"dark"}),(0,i.jsx)(n(),{href:l.href,className:u,children:l.label})]})}},15955:(e,t,r)=>{r.d(t,{LightHeaderShell:()=>a,Z:()=>o});var i=r(95155),s=r(12115),l=r(40980);let n=(0,s.createContext)(!1),o=()=>(0,s.useContext)(n),a=({children:e})=>{let[t,r]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=()=>{r(window.scrollY>12)};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,i.jsx)(n,{value:t,children:(0,i.jsx)("div",{className:(0,l.cn)("mx-auto grid max-w-6xl grid-cols-[1fr_auto_1fr] items-center gap-3 rounded-full px-4 py-3 transition-[background-color,box-shadow,ring-color] duration-300 md:px-5",t&&"bg-card shadow-[0_12px_40px_-12px_rgba(20,16,40,0.12)] ring-1 ring-black/5"),children:e})})}},36990:(e,t,r)=>{r.d(t,{CountrySelectorV2:()=>p});var i=r(95155),s=r(12115),l=r(12363),n=r(50910),o=r(78076),a=r(73321),d=r(96995);let h=["BR","PT","ES","US","GB","CA","AU","NZ","IE","IN"],c={BR:"pt",PT:"pt",ES:"es",US:"en",GB:"en",CA:"en",AU:"en",NZ:"en",IE:"en",IN:"en"},x=({code:e,className:t})=>{let r=g[e]??u;return(0,i.jsx)("span",{"aria-hidden":!0,className:t??"inline-block h-3.5 w-[18px] shrink-0 overflow-hidden rounded-[3px] bg-white/10 shadow-[inset_0_0_0_1px_rgba(255,255,255,.12)]",children:(0,i.jsx)(r,{})})},f=e=>()=>(0,i.jsx)("svg",{viewBox:"0 0 30 21",className:"block size-full","aria-hidden":!0,children:e}),u=f((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("rect",{width:"30",height:"21",fill:"#3d4240"}),(0,i.jsx)("rect",{width:"30",height:"7",y:"7",fill:"#5a635d"})]})),g={BR:f((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("rect",{width:"30",height:"21",fill:"#009b3a"}),(0,i.jsx)("polygon",{points:"15,3.2 27.2,10.5 15,17.8 2.8,10.5",fill:"#fedf00"}),(0,i.jsx)("circle",{cx:"15",cy:"10.5",r:"4.1",fill:"#002776"})]})),PT:f((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("rect",{width:"12",height:"21",fill:"#006600"}),(0,i.jsx)("rect",{x:"12",width:"18",height:"21",fill:"#ff0000"}),(0,i.jsx)("circle",{cx:"12",cy:"10.5",r:"3.2",fill:"#ffcc00"})]})),ES:f((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("rect",{width:"30",height:"21",fill:"#c60b1e"}),(0,i.jsx)("rect",{y:"5.5",width:"30",height:"10",fill:"#ffc400"})]})),US:f((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("rect",{width:"30",height:"21",fill:"#bf0a30"}),(0,i.jsx)("rect",{y:"1.6",width:"30",height:"1.6",fill:"#fff"}),(0,i.jsx)("rect",{y:"4.8",width:"30",height:"1.6",fill:"#fff"}),(0,i.jsx)("rect",{y:"8",width:"30",height:"1.6",fill:"#fff"}),(0,i.jsx)("rect",{y:"11.2",width:"30",height:"1.6",fill:"#fff"}),(0,i.jsx)("rect",{y:"14.4",width:"30",height:"1.6",fill:"#fff"}),(0,i.jsx)("rect",{y:"17.6",width:"30",height:"1.6",fill:"#fff"}),(0,i.jsx)("rect",{width:"12",height:"11.2",fill:"#002868"})]})),GB:f((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("rect",{width:"30",height:"21",fill:"#012169"}),(0,i.jsx)("path",{d:"M0 0 L30 21 M30 0 L0 21",stroke:"#fff",strokeWidth:"4"}),(0,i.jsx)("path",{d:"M0 0 L30 21 M30 0 L0 21",stroke:"#c8102e",strokeWidth:"2"}),(0,i.jsx)("path",{d:"M15 0 V21 M0 10.5 H30",stroke:"#fff",strokeWidth:"7"}),(0,i.jsx)("path",{d:"M15 0 V21 M0 10.5 H30",stroke:"#c8102e",strokeWidth:"4"})]})),CA:f((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("rect",{width:"30",height:"21",fill:"#fff"}),(0,i.jsx)("rect",{width:"7.5",height:"21",fill:"#ff0000"}),(0,i.jsx)("rect",{x:"22.5",width:"7.5",height:"21",fill:"#ff0000"}),(0,i.jsx)("polygon",{points:"15,4.5 16.4,8.6 20.8,8.2 17.4,11 18.8,15.2 15,12.6 11.2,15.2 12.6,11 9.2,8.2 13.6,8.6",fill:"#ff0000"})]})),AU:f((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("rect",{width:"30",height:"21",fill:"#012169"}),(0,i.jsx)("rect",{width:"13",height:"10.5",fill:"#012169"}),(0,i.jsx)("path",{d:"M0 0 L13 10.5 M13 0 L0 10.5",stroke:"#fff",strokeWidth:"2"}),(0,i.jsx)("path",{d:"M6.5 0 V10.5 M0 5.25 H13",stroke:"#fff",strokeWidth:"3.4"}),(0,i.jsx)("path",{d:"M6.5 0 V10.5 M0 5.25 H13",stroke:"#c8102e",strokeWidth:"1.8"}),(0,i.jsx)("path",{d:"M0 0 L13 10.5 M13 0 L0 10.5",stroke:"#c8102e",strokeWidth:"1"}),(0,i.jsx)("polygon",{points:"20.5,7 21.2,9.2 23.5,9.2 21.6,10.5 22.3,12.7 20.5,11.4 18.7,12.7 19.4,10.5 17.5,9.2 19.8,9.2",fill:"#fff"})]})),NZ:f((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("rect",{width:"30",height:"21",fill:"#012169"}),(0,i.jsx)("rect",{width:"13",height:"10.5",fill:"#012169"}),(0,i.jsx)("path",{d:"M0 0 L13 10.5 M13 0 L0 10.5",stroke:"#fff",strokeWidth:"2"}),(0,i.jsx)("path",{d:"M6.5 0 V10.5 M0 5.25 H13",stroke:"#fff",strokeWidth:"3.4"}),(0,i.jsx)("path",{d:"M6.5 0 V10.5 M0 5.25 H13",stroke:"#c8102e",strokeWidth:"1.8"}),(0,i.jsx)("path",{d:"M0 0 L13 10.5 M13 0 L0 10.5",stroke:"#c8102e",strokeWidth:"1"}),(0,i.jsx)("polygon",{points:"21,6.2 21.5,7.8 23.2,7.8 21.8,8.8 22.3,10.4 21,9.4 19.7,10.4 20.2,8.8 18.8,7.8 20.5,7.8",fill:"#c8102e",stroke:"#fff",strokeWidth:".4"})]})),IE:f((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("rect",{width:"10",height:"21",fill:"#169b62"}),(0,i.jsx)("rect",{x:"10",width:"10",height:"21",fill:"#fff"}),(0,i.jsx)("rect",{x:"20",width:"10",height:"21",fill:"#ff883e"})]})),IN:f((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("rect",{width:"30",height:"7",fill:"#ff9933"}),(0,i.jsx)("rect",{y:"7",width:"30",height:"7",fill:"#fff"}),(0,i.jsx)("rect",{y:"14",width:"30",height:"7",fill:"#138808"}),(0,i.jsx)("circle",{cx:"15",cy:"10.5",r:"2.4",fill:"none",stroke:"#000080",strokeWidth:".9"})]}))},p=({country:e,tone:t="dark"})=>{let r=(0,n.c)("landpage.homeV2.header"),f=(0,o.Ym)(),u=(0,d._)(),g=(0,a.useRouter)(),p=(0,s.useRef)(null),m=(0,s.useMemo)(()=>new Intl.DisplayNames([f],{type:"region"}),[f]),b=(0,s.useMemo)(()=>h.includes(e)?h:[e,...h],[e]),j=e=>{try{return m.of(e)??e}catch{return e}},w=j(e),v="light"===t;return(0,i.jsxs)("details",{ref:p,"data-rsp":"navcountry",className:v?"relative":"relative max-[1020px]:hidden",children:[(0,i.jsxs)("summary",{"aria-label":r("countryLabel"),className:v?"text-foreground
1/80 hover:text-foreground inline-flex shrink-0 cursor-pointer list-none items-center gap-1.5 rounded-full px-2 py-2 text-sm font-medium transition-colors focus-visible:ring-2 focus-visible:ring-black/15 focus-visible:outline-none [&::-webkit-details-marker]:hidden":"inline-flex min-h-11 shrink-0 cursor-pointer list-none items-center gap-1.5 rounded-full px-2.5 py-2.5 text-sm font-semibold text-[#eef1ec] transition-colors hover:text-[#2fd07a] focus-visible:ring-2 focus-visible:ring-[#2fd07a]/70 focus-visible:outline-none [&::-webkit-details-marker]:hidden",children:[(0,i.jsx)(x,{code:e,className:v?"inline-block h-3.5 w-[18px] shrink-0 overflow-hidden rounded-[3px] ring-1 ring-black/10":void 0}),(0,i.jsx)("span",{className:v?"whitespace-nowrap":"max-[760px]:hidden whitespace-nowrap",children:w}),(0,i.jsx)(l.A,{size:14,strokeWidth:2.5,"aria-hidden":!0})]}),(0,i.jsx)("div",{className:v?"bg-card border-border absolute right-0 z-[70] mt-2 min-w-52 rounded-2xl border p-1.5 text-foreground shadow-[0_20px_50px_-16px_rgba(20,16,40,0.22)]":"absolute right-0 z-[70] mt-2 min-w-52 rounded-2xl border border-white/10 bg-[#1e2023] p-1.5 text-[#eef1ec] shadow-[0_24px_60px_rgba(0,0,0,.45)]",children:b.map(t=>(0,i.jsxs)("button",{type:"button",onClick:()=>(t=>{if(p.current?.removeAttribute("open"),t===e)return;document.cookie=`LANDING_COUNTRY=${t};path=/;max-age=31536000;SameSite=Lax`;let r=h.includes(t)?c[t]:null;r&&r!==f?u(r):g.refresh()})(t),className:v?"hover:bg-muted focus-visible:bg-muted flex w-full cursor-pointer items-center gap-2 rounded-xl px-3 py-2 text-left text-sm text-foreground focus-visible:outline-none":"flex w-full cursor-pointer items-center gap-2 rounded-xl px-3 py-2 text-left text-sm text-[#eef1ec] hover:bg-white/6 focus-visible:bg-white/6 focus-visible:outline-none",children:[(0,i.jsx)(x,{code:t,className:v?"inline-block h-3.5 w-[18px] shrink-0 overflow-hidden rounded-[3px] ring-1 ring-black/10":void 0}),(0,i.jsx)("span",{children:j(t)})]},t))})]})}},48156:(e,t,r)=>{r.d(t,{LandingThemeToggle:()=>d});var i=r(95155),s=r(47603),l=r(78890),n=r(50910),o=r(81102),a=r(40980);let d=({className:e})=>{let t=(0,n.c)("landpage.header"),{resolvedTheme:r,setTheme:d}=(0,o.D)(),h="dark"===r;return(0,i.jsx)("button",{type:"button",onClick:()=>d(h?"light":"dark"),"aria-label":t(h?"themeToggleLight":"themeToggleDark"),className:(0,a.cn)("text-foreground ring-border hover:bg-muted inline-flex size-9 shrink-0 items-center justify-center rounded-full ring-1 transition-colors",e),children:h?(0,i.jsx)(s.A,{size:17,strokeWidth:2,"aria-hidden":!0}):(0,i.jsx)(l.A,{size:17,strokeWidth:2,"aria-hidden":!0})})}},86796:(e,t,r)=>{r.d(t,{DownloadQrV2:()=>l});var i=r(95155),s=r(11439);let l=({value:e,label:t})=>(0,i.jsx)(s.h,{value:e,size:128,bgColor:"#ffffff",fgColor:"#0b140e",level:"M",marginSize:2,"aria-label":t})},90418:(e,t,r)=>{r.d(t,{LanguageSelectorLanding:()=>x});var i=r(95155),s=r(50626),l=r(12363),n=r(78076),o=r(96995),a=r(15422),d=r(89239),h=r(72264);let c={pt:"Portugu\xeas",en:"English",es:"Espa\xf1ol"},x=()=>{let e=(0,n.Ym)(),t=(0,o._)();return(0,i.jsxs)(h.rI,{children:[(0,i.jsx)(h.ty,{asChild:!0,children:(0,i.jsxs)(d.$,{type:"button",variant:"ghost",size:"sm","aria-label":"Selecionar idioma",className:"border-border bg-surface-elevated text-muted-foreground hover:bg-surface-sunken hover:text-foreground h-auto gap-2 rounded-full border px-3 py-1.5 text-sm font-normal",children:[(0,i.jsx)(s.A,{className:"size-4","aria-hidden":"true"}),(0,i.jsx)("span",{children:c[e]}),(0,i.jsx)(l.A,{className:"size-4 opacity-70","aria-hidden":"true"})]})}),(0,i.jsx)(h.SQ,{align:"start",className:"min-w-40",children:(0,i.jsx)(h.Hr,{value:e,onValueChange:t,children:a.D.locales.map(e=>(0,i.jsx)(h.Ht,{value:e,children:c[e]},e))})})]})}}}]);

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.