PageSourceSearch

https://foregon.com/_next/static/chunks/app/page-4cf44eeffe24acfd.js

js foregon.com collected 2026-10-02 10:58:16 UTC 7,394 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{100:(e,t,n)=>{"use strict";n.d(t,{u:()=>l});var r=n(2732),o=n(2043),i=n(5155),s=n(2115),a="ca-pub-2444794068370795";function l(e){var t,n=e.slot,l=e.sizes,c=e.fixedOnMobile,u=void 0!==c&&c,d=e.deferUntilIdle,v=void 0!==d&&d,f=e.format,h=void 0===f?"auto":f,m=(0,s.useId)().replace(/:/g,"-"),b=(0,s.useRef)(null),g=(0,o._)((0,s.useState)("loading"),2),w=g[0],p=g[1],x=(0,o._)((0,s.useState)(!1),2),y=x[0],_=x[1],j=(0,o._)((0,s.useState)(!v),2),k=j[0],E=j[1],N=(0,o._)((0,s.useState)(!1),2),C=N[0],M=N[1],I=y&&k;if((0,s.useEffect)(function(){if(u){var e=window.matchMedia("(max-width: 639px)");M(e.matches);var t=function(e){return M(e.matches)};return e.addEventListener("change",t),function(){return e.removeEventListener("change",t)}}},[u]),(0,s.useEffect)(function(){if(v){var e=function(){return E(!0)};if("function"==typeof window.requestIdleCallback){var t=window.requestIdleCallback(e,{timeout:2200});return function(){var e,n;return null==(e=(n=window).cancelIdleCallback)?void 0:e.call(n,t)}}var n=setTimeout(e,2200);return function(){return clearTimeout(n)}}},[v]),(0,s.useEffect)(function(){var e=document.getElementById(m);if(e){var t=new IntersectionObserver(function(e){var t;(null==(t=e[0])?void 0:t.isIntersecting)&&_(!0)}
1,{rootMargin:"100% 0px"});return t.observe(e),function(){return t.disconnect()}}},[m]),(0,s.useEffect)(function(){if(I){try{window.adsbygoogle=window.adsbygoogle||[],window.adsbygoogle.push({})}catch(e){}var e=b.current;if(e){var t=new MutationObserver(function(){var t=e.getAttribute("data-ad-status");("filled"===t||"unfilled"===t)&&p(t)});return t.observe(e,{attributes:!0,attributeFilter:["data-ad-status"]}),function(){return t.disconnect()}}}},[I]),"unfilled"===w&&!v)return null;var L=(0,o._)(null!=(t=l[0])?t:[300,250],2),S=L[0],P=L[1],B=u&&C;return(0,i.jsxs)("div",{id:m,className:"ad-slot","data-ad-unit":n,style:{minHeight:P,maxHeight:Math.round(1.5*P),width:"100%"},children:["loading"===w&&!1,I&&B&&(0,i.jsx)("ins",{ref:b,className:"adsbygoogle",style:{display:"inline-block",width:S,height:P},"data-ad-client":a,"data-ad-slot":n}),I&&!B&&(0,i.jsx)("ins",(0,r._)({ref:b,className:"adsbygoogle",style:{display:"block",width:"100%",height:"100%"},"data-ad-client":a,"data-ad-slot":n,"data-ad-format":h},"horizontal"!==h?{"data-full-width-responsive":"true"}:{}))]})}},1665:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AdSlotBlock:()=>l});var r=n(2732),o=n(2043),i=n(5155),s=n(2115),a=n(100);function l(e){var t,n=(0,s.useRef)(null),l=Math.round(1.5*(0,o._)(null!=(t=e.sizes[0])?t:[300,250],2)[1])+32;return(0,s.useEffect)(function(){var e=n.current;if(e){var t={observer:null},r=function(){var n,r;null==(n=t.observer)||n.disconnect(),e.style.setProperty("max-height","".concat(l,"px"),"important"),e.style.setProperty("overflow","hidden","important"),null==(r=t.observer)||r.observe(e,{attributes:!0,attributeFilter:["style"],subtree:!0})};return t.observer=new MutationObserver(r),r(),function(){var e;return null==(e=t.observer)?void 0:e.disconnect()}}},[l]),(0,i.jsxs)("div",{ref:n,className:"ad-slot-wrapper",children:[(0,i.jsx)("span",{className:"ad-slot-wrapper__label",children:"Publicidade"}),(0,i.jsx)(a.u,(0,r._)({},e))]})}},2465:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,2619,23)),Promise.resolve().then(n.bind(n,1665)),Promise.resolve().then(n.bind(n,3061)),Promise.resolve().then(n.bind(n,4566)),Promise.resolve().then(n.bind(n,3505)),Promise.resolve().then(n.t.bind(n,6497,23))},3061:(e,t,n)=>{"use strict";n.d(t,{ContentsCarousel:()=>s});var r=n(2043),o=n(5155),i=n(2115);function s(e){var t=e.items,n=(0,i.useRef)(null),s=(0,r._)((0,i.useState)(!1),2),a=s[0],l=s[1],c=(0,r._)((0,i.useState)(t.length>1),2),u=c[0],d=c[1];function v(e){var t=n.current;if(t){var r=t.firstElementChild,o=parseFloat(getComputedStyle(t).gap||"0"),i=r?r.getBoundingClientRect().width+o:t.clientWidth;t.scrollBy({left:i*e,behavior:"smooth"})}}return(0,o.jsxs)("div",{className:"contents-carousel",children:[(0,o.jsx)("div",{className:"contents-carousel__viewport",ref:n,onScroll:function(){var e=n.current;e&&(l(e.scrollLeft>8),d(e.scrollLeft+e.clientWidth<e.scrollWidth-8))},children:t.map(function(e){return(0,o.jsxs)("a",{className:"content-card",href:"https://www.foregon.com/blog/".concat(e.slug,"/"),target:"_blank",rel:"noopener noreferrer",children:[(0,o.jsx)("div",{className:"content-card__frame",children:(0,o.jsx)("img",{src:e.image,alt:"",loading:"lazy",width:322,height:179})}),(0,o.jsxs)("div",{className:"content-card__body",children:[(0,o.jsx)("h3",{children:e.title}),(0,o.jsxs)("span",{children:["Ir para o blog",(0,o.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",children:(0,o.jsx)("path",{d:"M2 7h10M8 3l4 4-4 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]},e.slug)})}),a&&(0,o.jsx)("button",{type:"button",className:"contents-carousel__prev","aria-label":"Ver conte\xfados anteriores",onClick:function(){return v(-1)},children:(0,o.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,o.jsx)("path",{d:"M12 3L6 9l6 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),u&&(0,o.jsx)("button",{type:"button",className:"contents-carousel__next","aria-label":"Ver mais conte\xfados",onClick:function(){return v(1)},children:(0,o.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:(0,o.jsx)("path",{d:"M6 3l6 6-6 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})}},3505:(e,t,n)=>{"use strict";n.d(t,{HeroGlowParallax:()=>i});var r=n(2043),o=n(2115);function i(){return(0,o.useEffect)(function(){var e=function(){n||(n=!0,requestAnimationFrame(function(){var e=Math.max(-24,Math.min(0,.08*t.getBoundingClientRect().top));t.style.setProperty("--glow-offset","".concat(e,"px")),n=!1}))};if(!window.matchMedia("(prefers-reduced-motion: reduce)").matches){var t=document.querySelector(".hero-v2");if(t){var n=!1,o=new IntersectionObserver(function(t){var n=(0,r._)(t,1)[0];(null==n?void 0:n.isIntersecting)?window.addEventListener("scroll",e,{passive:!0}):window.removeEventListener("scroll",e)},{threshold:0});return o.observe(t),function(){o.disconnect(),window.removeEventListener("scroll",e)}}}},[]),null}},4566:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FadeIn:()=>l});var r=n(2043),o=n(5155),i=n(2115),s=null,a=new Map;function l(e){var t=e.children,n=e.delay,l=e.className,c=(0,i.useRef)(null),u=(0,r._)((0,i.useState)(!1),2),d=u[0],v=u[1];return(0,i.useEffect)(function(){var e=c.current;if(e){var t=s||(s=new IntersectionObserver(function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=e[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s,l=o.value;null==(s=a.get(l.target))||s(l.isIntersecting)}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}},{threshold:0,rootMargin:"0px 0px -40px 0px"})),n=!0;return a.set(e,function(r){if(n){n=!1,r||v(!0);return}r&&(v(!1),a.delete(e),t.unobserve(e))}),t.observe(e),function(){a.delete(e),t.unobserve(e)}}},[]),(0,o.jsx)("div",{ref:c,className:"reveal ".concat(d?"reveal--hidden":""," ").concat(void 0===l?"":l),style:{transitionDelay:d?"0ms":"".concat(void 0===n?0:n,"ms")},children:t})}},6497:()=>{}},e=>{e.O(0,[8606,2619,8441,9342,1255,7358],()=>e(e.s=2465)),_N_E=e.O()}]);

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.