PageSourceSearch

https://www.getjusto.com/_next/static/chunks/app/layout-3829ddb977956d8c.js

js getjusto.com collected 2026-10-01 14:00:26 UTC 3,992 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{408:(e,t,r)=>{"use strict";r.d(t,{P:()=>u,Pk:()=>s,_t:()=>l,d5:()=>d});let n="14583074154",a="justo_fbclid",o=/^[A-Za-z0-9._-]{1,500}$/,i=/\s*\[fbclid:[^\]]+\]\s*/g;function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search,t=new URLSearchParams(e).get("fbclid");if(!t||!m(t))return c();try{window.sessionStorage.setItem(a,t)}catch(e){}return t}function c(){try{let e=window.sessionStorage.getItem(a);return e&&m(e)?e:null}catch(e){return null}}function l(){let{text:e="Hola! Quiero conocer sobre los productos de Justo",fbclid:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=new URLSearchParams({phone:n,text:function(e,t){let r=e.replace(i," ").replace(/\s+/g," ").trim();if(!t||!m(t))return r;let n="[fbclid:".concat(t,"]"),a=r.match(/^hola[!,]?/i);return a?"".concat(a[0].replace(/[!,]$/,"")," ").concat(n).concat(r.slice(a[0].length)).trim():"".concat(n," ").concat(r).trim()}(e,null!=t?t:c())});return"https://api.whatsapp.com/send?".concat(r.toString())}function u(e){let t=h(e);return t?l({text:t.text}):e}function d(e){return null!==h(e)}function h(e){try{let t=new URL(e,window.location.href);if("api.whatsapp.com"===t.hostname&&"/send"===t.pathname){if(t.searchParams.get("phone")!==n)return null;return{text:t.searchParams.get("text")||void 0}}if("wa.me"===t.hostname&&t.pathname.replace("/","")===n)return{text:t.searchParams.get("text")||void 0}}catch(e){}return null}function m(e){return o.test(e)}},6404:(e,t,r)=>{"use strict";function n(){try{var e;if("true"===localStorage.getItem("countryAutoDetectionDisabled"))return"CL";let t=Intl.DateTimeFormat().resolvedOptions().timeZone,r={"America/Santiago":"CL","America/Bogota":"CO","America/Mexico_City":"MX","America/Monterrey":"MX","America/Lima":"PE","America/Guayaquil":"EC","Pacific/Galapagos":"EC"};if(t&&r[t])return r[t];let n=navigator.language||(null==(e=navigator.languages)?void 0:e[0])||"",a={"es-CL":"CL","es-CO":"CO","es-MX":"MX","es-PE":"PE","es-EC":"EC"};if(n&&a[n])return a[n];return n.startsWith("es"),"INT"}catch(e){return console.warn("Country detection failed:",e),"INT"}}r.d(t,{d:()=>n})},7492:(e,t,r)=>{"use strict";r.d(t,{WhatsAppAttribution:()=>o});var n=r(2115),a=r(408);function o(){return(0,n.useEffect)(()=>{(0,a.Pk)();let e=window.open,t=()=>{document.querySelectorAll("a[href]").forEach(e=>{(0,a.d5)(e.href)&&(e.href=(0,a.P)(e.href))})};window.open=(t,r,n)=>{let o="string"==typeof t?(0,a.P)(t):t;return e.call(window,o,r,n)},t();let r=new MutationObserver(t);return r.observe(document.body,{childList:!0,subtree:!0}),()=>{r.disconnect(),window.open=e}},[]),null}},7563:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,9324,23)),Promise.resolve().then(r.bind(r,7969)),Promise.resolve().then(r.bind(r,9304)),Promise.resolve().then(r.bind(r,7971)),Promise.resolve().then(r.bind(r,7492)),Promise.resolve().then(r.t.bind(r,9243,23)),Promise.resolve().then(r.t.bind(r,5958,23))},7971:(e,t,r)=>{"use strict";r.d(t,{ThemeToggle:()=>c});var n=r(5155),a=r(2098),o=r(3509),i=r(1362),s=r(7168);function c(){let{theme:e,setTheme:t}=(0,i.D)();return(0,n.jsx)("div",{className:"fixed bottom-6 right-6 z-50",children:(0,n.jsxs)(s.$,{variant:"outline",size:"icon",onClick:()=>t("dark"===e?"light":"dark"),className:"rounded-full h-12 w-12 shadow-lg bg-background border-primary/20 hover:bg-background/90",children:[(0,n.jsx)(a.A,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,n.jsx)(o.A,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,n.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})})}},9304:(e,t,r)=>{"use strict";r.d(t,{ThemeProvider:()=>o});var n=r(5155),a=r(1362);function o(e){let{children:t,...r}=e;return(0,n.jsx)(a.N,{...r,children:t})}},9324:()=>{}},e=>{var t=t=>e(e.s=t);e.O(0,[2533,8019,6766,4277,3963,6506,7969,8441,1684,7358],()=>t(7563)),_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.