"use strict";(self.webpackChunkblog=self.webpackChunkblog||[]).push([[795],{7957:function(e,n,t){t.r(n),t.d(n,{default:function(){return y}});var r=t(3471);function o(e){return new Promise((function(n,t,r){(r=new XMLHttpRequest).open("GET",e,r.withCredentials=!0),r.onload=function(){200===r.status?n():t()},r.send()}))}var i,a=(i=document.createElement("link")).relList&&i.relList.supports&&i.relList.supports("prefetch")?function(e){return new Promise((function(n,t,r){(r=document.createElement("link")).rel="prefetch",r.href=e,r.onload=n,r.onerror=t,document.head.appendChild(r)}))}:o,u=window.requestIdleCallback||function(e){var n=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-n))}})}),1)},c=new Set,s=new Set,l=!1;function f(e){if(e){if(e.saveData)return new Error("Save-Data is enabled");if(/2g/.test(e.effectiveType))return new Error("network conditions are poor")}return!0}function d(e,n,t){var r=f(navigator.connection);return r instanceof Error?Promise.reject(new Error("Cannot prefetch, "+r.message)):(s.size>0&&!l&&console.warn("[Warning] You are using both prefetching and prerendering on the same document"),Promise.all([].concat(e).map((function(e){if(!c.has(e))return c.add(e),(n?function(e){return window.fetch?fetch(e,{credentials:"include"}):o(e)}:a)(new URL(e,location.href).toString())}))))}function h(e,n){var t=f(navigator.connection);if(t instanceof Error)return Promise.reject(new Error("Cannot prerender, "+t.message));if(!HTMLScriptElement.supports("speculationrules"))return d(e),Promise.reject(new Error("This browser does not support the speculation rules API. Falling back to prefetch."));if(document.querySelector('script[type="speculationrules"]'))return Promise.reject(new Error("Speculation Rules is already defined and cannot be altered."));for(var r=0,o=[].concat(e);r0&&!l&&console.warn("[Warning] You are using both prefetching and prerendering on the same document");var a=function(e){var n=document.createElement("script");n.type="speculationrules",n.text='{"prerender":[{"source": "list","urls": ["'+Array.from(e).join('","')+'"]}]}';try{document.head.appendChild(n)}catch(e){return e}return!0}(s);return!0===a?Promise.resolve():Promise.reject(a)}var m=t(2984);const p=".js-text-highlighter mark",w="is-highlighted",b=(e,n)=>{if("IntersectionObserver"in window){const t=new IntersectionObserver((r=>{r.forEach((r=>{r.intersectionRatio>0&&(n(),t.unobserve(e))}))}));t.observe(e)}};var v=()=>{const e=document.querySelectorAll(p);0!==e.length&&e.forEach((e=>{b(e,(()=>{e.classList.add(w)}))}))},g=function(){var e=document.querySelector('[data-jsmodule="adloader"]');e&&setTimeout((function(){e.remove()}),2e3)},y={mount:function(){new m.Z('[data-loader="products-by-group"]',(function(){Promise.all([t.e(214),t.e(734)]).then(t.bind(t,5676)).then((function(e){e.default.mount()}))}),{onScrolling:!0});var e=new r.F;e.pushTask((function(){return g()})),e.pushTask((function(){return v()})),e.pushTask((function(){new m.Z('[data-loader="subscribe"]',(function(){Promise.all([t.e(37),t.e(295)]).then(t.bind(t,9566)).then((function(e){(new(0,e.default)).mount()}))}),{})})),e.pushTask((function(){new m.Z('[data-loader="salary"]',(function(){Promise.all([t.e(37),t.e(821)]).then(t.bind(t,3484)).then((function(e){(new(0,e.default)).mount()}))}),{})})),e.pushTask((function(){new m.Z('[data-loader="termination"]',(function(){Promise.all([t.e(37),t.e(87)]).then(t.bind(t,937)).then((function(e){(new(0,e.default)).mount()}))}),{})})),e.pushTask((function(){new m.Z('[data-loader="table"]',(function(){t.e(986).then(t.bind(t,2713)).then((function(e){e.default.mount()}))}),{})})),e.pushTask((function(){var e=document.querySelector("#disqus_thread")?function(){!function(){var e=document,n=e.createElement("script");n.src="https://foregon-com.disqus.com/embed.js",n.setAttribute("data-timestamp",+new Date),(e.head||e.body).appendChild(n)}()}:function(){var e=document.createElement("script");e.async=!0,e.defer=!0,e.crossorigin="anonymous",e.type="text/javascript",e.src="https://connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v9.0&appId=511101169246113&autoLogAppEvents=1",e.setAttribute("nonce","HujVrsFY"),document.body.appendChild(e)};new m.Z(".js-ondemand-comments",e,{isFullyVisible:!1})})),e.pushTask((function(){new m.Z('[data-loader="evaluation"]',(function(){t.e(626).then(t.bind(t,1660)).then((function(e){e.default.mount()}))}),{})})),e.pushTask((function(){!function(e){if(e||(e={}),window.IntersectionObserver){var n=function(e){e=e||1;var n=[],t=0;function r(){t0&&(n.shift()(),t++)}return[function(e){n.push(e)>1||r()},function(){t--,r()}]}(e.throttle||1/0),t=n[0],r=n[1],o=e.limit||1/0,i=e.origins||[location.hostname],a=e.ignores||[],f=e.delay||0,m=[],p=e.timeoutFn||u,w="function"==typeof e.hrefFn&&e.hrefFn,b=e.prerender||!1;l=e.prerenderAndPrefetch||!1;var v=new IntersectionObserver((function(n){n.forEach((function(n){if(n.isIntersecting)m.push((n=n.target).href),function(e,n){n?setTimeout(e,n):e()}((function(){-1!==m.indexOf(n.href)&&(v.unobserve(n),(l||b)&&s.size<1?h(w?w(n):n.href).catch((function(n){if(!e.onError)throw n;e.onError(n)})):c.size-1&&m.splice(i)}}))}),{threshold:e.threshold||0});p((function(){(e.el||document).querySelectorAll("a").forEach((function(e){i.length&&!i.includes(e.hostname)||function e(n,t){return Array.isArray(t)?t.some((function(t){return e(n,t)})):(t.test||t).call(t,n.href,n)}(e,a)||v.observe(e)}))}),{timeout:e.timeout||2e3})}}({el:document.querySelector("main"),limit:15,delay:500,throttle:50})})),e.pushTask((function(){new m.Z('[data-loader="billboard"]',(function(){Promise.all([t.e(37),t.e(490)]).then(t.bind(t,2798)).then((function(e){(new(0,e.default)).mount()}))}),{})})),e.pushTask((function(){new m.Z('[data-loader="lead-unbounce"]',(function(){Promise.all([t.e(37),t.e(507)]).then(t.bind(t,9059)).then((function(e){(new(0,e.default)).mount()}))}),{})}))}}}}]); //# sourceMappingURL=postblog-page.0bf9a52832795298bd66.js.map