(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[477],{1824:function(e,n,t){"use strict";t.d(n,{$:function(){return l}});var r=t(5893),o=t(9008),i=t(296),a=t.n(i),u=t(5994),l=function(e){return(0,r.jsxs)("div",{className:a().Layout,children:[(0,r.jsxs)(o.default,{children:[(0,r.jsx)("title",{children:"Tom Lodge"}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,r.jsx)("meta",{charSet:"utf-8"})]}),(0,r.jsx)("div",{className:a().container,children:(0,r.jsx)("div",{className:a().column,children:(0,r.jsx)(u.b,{menu:e.topmenu,showbar:!1,image:e.rightimage,children:(0,r.jsx)("div",{className:a().content,children:(0,r.jsx)("div",{className:a().inner,children:e.children})})})})})]})}},5994:function(e,n,t){"use strict";t.d(n,{b:function(){return c}});var r=t(5893),o=t(1664),i=t(915),a=t.n(i),u=[{name:"design",id:"design"},{name:"backend",id:"backend"},{name:"frontend",id:"frontend"},{name:"mobile",id:"mobile"},{name:"hardware",id:"hardware"}],l=function(e){var n=e.map((function(e){return(0,r.jsx)(o.default,{href:"/".concat(e.id),children:e.name.toUpperCase()},e.id)}));return(0,r.jsx)("div",{id:a().header,children:n})},c=function(e){var n=e.showbar,t=void 0===n||n;return(0,r.jsxs)("div",{children:[l(e.menu||u),(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"row"},children:[t&&(0,r.jsx)("div",{className:a().leftbar}),e.children]})]})}},8418:function(e,n,t){"use strict";function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function o(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i=[],a=!0,u=!1;try{for(t=t.call(e);!(a=(r=t.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(l){u=!0,o=l}finally{try{a||null==t.return||t.return()}finally{if(u)throw o}}return i}}(e,n)||function(e,n){if(!e)return;if("string"===typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.default=void 0;var i,a=(i=t(7294))&&i.__esModule?i:{default:i},u=t(6273),l=t(387),c=t(7190);var s={};function f(e,n,t,r){if(e&&u.isLocalURL(n)){e.prefetch(n,t,r).catch((function(e){0}));var o=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;s[n+"%"+t+(o?"%"+o:"")]=!0}}var d=function(e){var n,t=!1!==e.prefetch,r=l.useRouter(),i=a.default.useMemo((function(){var n=o(u.resolveHref(r,e.href,!0),2),t=n[0],i=n[1];return{href:t,as:e.as?u.resolveHref(r,e.as):i||t}}),[r,e.href,e.as]),d=i.href,m=i.as,_=e.children,h=e.replace,p=e.shallow,v=e.scroll,y=e.locale;"string"===typeof _&&(_=a.default.createElement("a",null,_));var g=(n=a.default.Children.only(_))&&"object"===typeof n&&n.ref,b=o(c.useIntersection({rootMargin:"200px"}),2),x=b[0],H=b[1],j=a.default.useCallback((function(e){x(e),g&&("function"===typeof g?g(e):"object"===typeof g&&(g.current=e))}),[g,x]);a.default.useEffect((function(){var e=H&&t&&u.isLocalURL(d),n="undefined"!==typeof y?y:r&&r.locale,o=s[d+"%"+m+(n?"%"+n:"")];e&&!o&&f(r,d,m,{locale:n})}),[m,d,H,y,t,r]);var w={ref:j,onClick:function(e){n.props&&"function"===typeof n.props.onClick&&n.props.onClick(e),e.defaultPrevented||function(e,n,t,r,o,i,a,l){("A"!==e.currentTarget.nodeName.toUpperCase()||!function(e){var n=e.currentTarget.target;return n&&"_self"!==n||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&u.isLocalURL(t))&&(e.preventDefault(),n[o?"replace":"push"](t,r,{shallow:i,locale:l,scroll:a}))}(e,r,d,m,h,p,v,y)},onMouseEnter:function(e){n.props&&"function"===typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),u.isLocalURL(d)&&f(r,d,m,{priority:!0})}};if(e.passHref||"a"===n.type&&!("href"in n.props)){var L="undefined"!==typeof y?y:r&&r.locale,k=r&&r.isLocaleDomain&&u.getDomainLocale(m,L,r&&r.locales,r&&r.domainLocales);w.href=k||u.addBasePath(u.addLocale(m,L,r&&r.defaultLocale))}return a.default.cloneElement(n,w)};n.default=d},7190:function(e,n,t){"use strict";function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function o(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i=[],a=!0,u=!1;try{for(t=t.call(e);!(a=(r=t.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(l){u=!0,o=l}finally{try{a||null==t.return||t.return()}finally{if(u)throw o}}return i}}(e,n)||function(e,n){if(!e)return;if("string"===typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(n,"__esModule",{value:!0}),n.useIntersection=function(e){var n=e.rootRef,t=e.rootMargin,r=e.disabled||!u,s=i.useRef(),f=o(i.useState(!1),2),d=f[0],m=f[1],_=o(i.useState(n?n.current:null),2),h=_[0],p=_[1],v=i.useCallback((function(e){s.current&&(s.current(),s.current=void 0),r||d||e&&e.tagName&&(s.current=function(e,n,t){var r=function(e){var n,t={root:e.root||null,margin:e.rootMargin||""},r=c.find((function(e){return e.root===t.root&&e.margin===t.margin}));r?n=l.get(r):(n=l.get(t),c.push(t));if(n)return n;var o=new Map,i=new IntersectionObserver((function(e){e.forEach((function(e){var n=o.get(e.target),t=e.isIntersecting||e.intersectionRatio>0;n&&t&&n(t)}))}),e);return l.set(t,n={id:t,observer:i,elements:o}),n}(t),o=r.id,i=r.observer,a=r.elements;return a.set(e,n),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),l.delete(o);var n=c.findIndex((function(e){return e.root===o.root&&e.margin===o.margin}));n>-1&&c.splice(n,1)}}}(e,(function(e){return e&&m(e)}),{root:h,rootMargin:t}))}),[r,h,t,d]);return i.useEffect((function(){if(!u&&!d){var e=a.requestIdleCallback((function(){return m(!0)}));return function(){return a.cancelIdleCallback(e)}}}),[d]),i.useEffect((function(){n&&p(n.current)}),[n]),[v,d]};var i=t(7294),a=t(9311),u="undefined"!==typeof IntersectionObserver;var l=new Map,c=[]},296:function(e){e.exports={container:"Layout_container__FfLIV",column:"Layout_column__3uVHp",Layout:"Layout_Layout__MIvWD",content:"Layout_content__Uqh0f",inner:"Layout_inner__kM5Le"}},915:function(e){e.exports={header:"RightColumn_header__Tuj3B",leftbar:"RightColumn_leftbar__61_D0"}},1673:function(e){e.exports={inner:"Home_inner__k19bH",body:"Home_body__rmfLT",hero:"Home_hero__NQ1he",centered:"Home_centered___f9pj",right:"Home_right__Q3ZHY",emphasis:"Home_emphasis__BwOgB",myname:"Home_myname__geDWj",mynametag:"Home_mynametag__auvuw",box:"Home_box__1j7_f",viscontainer:"Home_viscontainer__MQTHj",vistextcontainer:"Home_vistextcontainer__2i_a8",visheading:"Home_visheading__B5duz",vistext:"Home_vistext__mPqym",leftcolumn:"Home_leftcolumn__mQ_k2",links:"Home_links__zo76K",link:"Home_link__huVil",highlighted:"Home_highlighted__dWZqm",moreinfo:"Home_moreinfo___RTJA",moreheading:"Home_moreheading__oaTMv",moresubheading:"Home_moresubheading__tqpw2",selectedmoresubheading:"Home_selectedmoresubheading__NUS5_",moretext:"Home_moretext__CoP9D",grid:"Home_grid__npx0i"}},9008:function(e,n,t){e.exports=t(5443)},1664:function(e,n,t){e.exports=t(8418)}}]);