<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{6071:function(e,r,n){"use strict";var t=n(3038),o=n(862);r.default=void 0;var a=o(n(7294)),s=n(1689),i=n(2441),c=n(5749),l={};function u(e,r,n,t){if(e&amp;&amp;(0,s.isLocalURL)(r)){e.prefetch(r,n,t).catch((function(e){0}));var o=t&amp;&amp;"undefined"!==typeof t.locale?t.locale:e&amp;&amp;e.locale;l[r+"%"+n+(o?"%"+o:"")]=!0}}var d=function(e){var r=!1!==e.prefetch,n=(0,i.useRouter)(),o=n&amp;&amp;n.asPath||"/",d=a.default.useMemo((function(){var r=(0,s.resolveHref)(o,e.href,!0),n=t(r,2),a=n[0],i=n[1];return{href:a,as:e.as?(0,s.resolveHref)(o,e.as):i||a}}),[o,e.href,e.as]),f=d.href,h=d.as,p=e.children,x=e.replace,v=e.shallow,b=e.scroll,m=e.locale;"string"===typeof p&amp;&amp;(p=a.default.createElement("a",null,p));var j=a.Children.only(p),g=j&amp;&amp;"object"===typeof j&amp;&amp;j.ref,y=(0,c.useIntersection)({rootMargin:"200px"}),w=t(y,2),k=w[0],N=w[1],O=a.default.useCallback((function(e){k(e),g&amp;&amp;("function"===typeof g?g(e):"object"===typeof g&amp;&amp;(g.current=e))}),[g,k]);(0,a.useEffect)((function(){var e=N&amp;&amp;r&amp;&amp;(0,s.isLocalURL)(f),t="undefined"!==typeof m?m:n&amp;&amp;n.locale,o=l[f+"%"+h+(t?"%"+t:"")];e&amp;&amp;!o&amp;&amp;u(n,f,h,{locale:t})}),[h,f,N,m,r,n]);var C={ref:O,onClick:function(e){j.props&amp;&amp;"function"===typeof j.props.onClick&amp;&amp;j.props.onClick(e),e.defaultPrevented||function(e,r,n,t,o,a,i,c){("A"!==e.currentTarget.nodeName||!function(e){var r=e.currentTarget.target;return r&amp;&amp;"_self"!==r||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&amp;&amp;2===e.nativeEvent.which}(e)&amp;&amp;(0,s.isLocalURL)(n))&amp;&amp;(e.preventDefault(),null==i&amp;&amp;(i=t.indexOf("#")&lt;0),r[o?"replace":"push"](n,t,{shallow:a,locale:c,scroll:i}))}(e,n,f,h,x,v,b,m)},onMouseEnter:function(e){(0,s.isLocalURL)(f)&amp;&amp;(j.props&amp;&amp;"function"===typeof j.props.onMouseEnter&amp;&amp;j.props.onMouseEnter(e),u(n,f,h,{priority:!0}))}};if(e.passHref||"a"===j.type&amp;&amp;!("href"in j.props)){var L="undefined"!==typeof m?m:n&amp;&amp;n.locale,E=n&amp;&amp;n.isLocaleDomain&amp;&amp;(0,s.getDomainLocale)(h,L,n&amp;&amp;n.locales,n&amp;&amp;n.domainLocales);C.href=E||(0,s.addBasePath)((0,s.addLocale)(h,L,n&amp;&amp;n.defaultLocale))}return a.default.cloneElement(j,C)};r.default=d},5749:function(e,r,n){"use strict";var t=n(3038);r.__esModule=!0,r.useIntersection=function(e){var r=e.rootMargin,n=e.disabled||!s,c=(0,o.useRef)(),l=(0,o.useState)(!1),u=t(l,2),d=u[0],f=u[1],h=(0,o.useCallback)((function(e){c.current&amp;&amp;(c.current(),c.current=void 0),n||d||e&amp;&amp;e.tagName&amp;&amp;(c.current=function(e,r,n){var t=function(e){var r=e.rootMargin||"",n=i.get(r);if(n)return n;var t=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var r=t.get(e.target),n=e.isIntersecting||e.intersectionRatio&gt;0;r&amp;&amp;n&amp;&amp;r(n)}))}),e);return i.set(r,n={id:r,observer:o,elements:t}),n}(n),o=t.id,a=t.observer,s=t.elements;return s.set(e,r),a.observe(e),function(){s.delete(e),a.unobserve(e),0===s.size&amp;&amp;(a.disconnect(),i.delete(o))}}(e,(function(e){return e&amp;&amp;f(e)}),{rootMargin:r}))}),[n,r,d]);return(0,o.useEffect)((function(){if(!s&amp;&amp;!d){var e=(0,a.requestIdleCallback)((function(){return f(!0)}));return function(){return(0,a.cancelIdleCallback)(e)}}}),[d]),[h,d]};var o=n(7294),a=n(8391),s="undefined"!==typeof IntersectionObserver;var i=new Map},2633:function(e,r,n){"use strict";function t(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}n.r(r),n.d(r,{default:function(){return h}});var o=n(5893),a=n(7294),s=n(1163);var i=function(){return(0,o.jsx)("footer",{className:"bg-gray-200 text-gray-900 h-28 mt-8",children:(0,o.jsxs)("div",{className:"flex justify-center mt-8",children:["Jon Vallejo \xa9 ",(new Date).getFullYear()]})})},c=n(1664);var l=function(){var e=(0,a.useState)(!1),r=e[0],n=e[1];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("header",{className:"my-7 max-w-screen-lg self-center hidden sm:block",children:(0,o.jsxs)("nav",{className:"hidden sm:grid sm:grid-cols-3 font-medium text-gray-800",children:[(0,o.jsx)("div",{className:"col-span-1 lg:col-span-2 ml-3",children:(0,o.jsx)(c.default,{href:"/",children:(0,o.jsx)("a",{children:"\xb7 Jon Vallejo \xb7 "})})}),(0,o.jsxs)("div",{className:"col-span-2 lg:col-span-1 flex justify-evenly space-x-4 mr-3",children:[(0,o.jsx)(c.default,{href:"/portafolio",children:(0,o.jsx)("a",{className:"border-b-2 border-gray-100 hover:border-gray-700 transition duration-200 ease-in-out",children:"Portafolio"})}),(0,o.jsx)(c.default,{href:"/sobre-mi",children:(0,o.jsx)("a",{className:"border-b-2 border-gray-100 hover:border-gray-700 transition duration-200 ease-in-out min-w-fit",children:"Sobre m\xed"})}),(0,o.jsx)(c.default,{href:"/contacto",children:(0,o.jsx)("a",{className:"border-b-2 border-gray-100 hover:border-gray-700 transition duration-200 ease-in-out",children:"Contacto"})}),(0,o.jsx)("a",{href:"https://www.instagram.com/jonvallejostock",target:"_blank",rel:"noopener noreferrer",className:"w-4 transition duration-300 ease-in-out transform hover:-translate-y-1 hover:scale-110",children:(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"#000",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,o.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,o.jsx)("rect",{x:"4",y:"4",width:"16",height:"16",rx:"4"}),(0,o.jsx)("circle",{cx:"12",cy:"12",r:"3"}),(0,o.jsx)("line",{x1:"16.5",y1:"7.5",x2:"16.5",y2:"7.501"})]})})]})]})}),(0,o.jsx)("div",{className:"pl-2 sm:hidden ".concat(r?"pt-4 bg-white":"py-4"),children:(0,o.jsxs)("button",{type:"button",className:"inline-flex items-center justify-center p-2 text-gray-400","aria-controls":"mobile-menu",e:"false",onClick:function(){n(!r)},children:[!r&amp;&amp;(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,o.jsx)("svg",{className:"block h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"#000000","aria-hidden":"true",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})]}),r&amp;&amp;(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"block h-6 w-6",width:"28",height:"28",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"#000000",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,o.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,o.jsx)("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2"}),(0,o.jsx)("path",{d:"M10 10l4 4m0 -4l-4 4"})]})]})}),(0,o.jsx)("div",{className:"".concat(r?"":"hidden"),children:(0,o.jsx)("div",{className:"px-2 pb-3 bg-white border-b-1 border-gray-300",children:(0,o.jsxs)("div",{className:"flex flex-col items-center",children:[(0,o.jsx)(c.default,{href:"/",children:(0,o.jsx)("a",{className:"border-b-2 border-white hover:border-gray-700 transition duration-200 ease-in-out p-2",onClick:function(){return n(!1)},children:"Jon Vallejo"})}),(0,o.jsx)(c.default,{href:"/portafolio",children:(0,o.jsx)("a",{className:"border-b-2 border-white hover:border-gray-700 transition duration-200 ease-in-out p-2",onClick:function(){return n(!1)},children:"Portafolio"})}),(0,o.jsx)(c.default,{href:"/sobre-mi",children:(0,o.jsx)("a",{className:"border-b-2 border-white hover:border-gray-700 transition duration-200 ease-in-out p-2",onClick:function(){return n(!1)},children:"Sobre m\xed"})}),(0,o.jsx)(c.default,{href:"/contacto",children:(0,o.jsx)("a",{className:"border-b-2 border-white hover:border-gray-700 transition duration-200 ease-in-out p-2",onClick:function(){return n(!1)},children:"Contacto"})}),(0,o.jsx)(c.default,{href:"https://www.instagram.com/jonvallejostock",children:(0,o.jsx)("a",{className:"border-b-2 border-white hover:border-gray-700 transition duration-200 ease-in-out p-2",onClick:function(){return n(!1)},children:"Instagram"})})]})})})]})};var u=function(e){var r=e.children;return(0,s.useRouter)().pathname.startsWith("/admin")?(0,o.jsx)("div",{className:"flex align-center justify-center min-h-screen bg-gray-100 text-lg min-w-max",children:(0,o.jsx)("main",{className:"w-7/12",children:r})}):(0,o.jsxs)("div",{className:"flex flex-col min-h-screen bg-gray-100 text-lg",children:[(0,o.jsx)(l,{}),(0,o.jsx)("main",{className:"flex-grow flex justify-center",children:r}),(0,o.jsx)(i,{})]})};n(3768);function d(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&amp;&amp;(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function f(e){for(var r=1;r&lt;arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?d(Object(n),!0).forEach((function(r){t(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var h=function(e){var r=e.Component,n=e.pageProps;return(0,o.jsx)(u,{children:(0,o.jsx)(r,f({},n))})}},1780:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(2633)}])},3768:function(){},1664:function(e,r,n){e.exports=n(6071)},1163:function(e,r,n){e.exports=n(2441)}},function(e){var r=function(r){return e(e.s=r)};e.O(0,[774,179],(function(){return r(1780),r(2441)}));var n=e.O();_N_E=n}]);</pre></body></html>