1(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[5],{"+ego":function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),a=n("9ixD"),i=n("xvhg"),u=n("YFqc"),c=n.n(u),l=n("qKvR"),s=function(){return Object(l.a)(c.a,{href:"/"},Object(l.a)("a",{className:"inline-flex flex-col text-base font-medium leading-none origin-left transform scale-90 group sm:scale-100"},Object(l.a)("h1",{className:"text-base leading-tight sm:text-lg"},"Enterprise Jamstack"),Object(l.a)("div",{className:"text-sm sr-only opacity-80 sm:not-sr-only"},"with Jason Lengstorf")))},d=n("HALo"),f=n("dhJC"),m=n("20a2"),v=function(e){var t,n=e.href,r=e.children,a=e.activeClassName,i=e.partialMatch,u=void 0!==i&&i,s=Object(f.a)(e,["href","children","activeClassName","partialMatch"]),v=Object(m.useRouter)(),p=(null===r||void 0===r||null===(t=r.props)||void 0===t?void 0:t.className)||"";return u?v.asPath.includes("".concat(n))&&(p="".concat(p," ").concat(a)):v.asPath===n&&(p="".concat(a)),Object(l.a)(c.a,Object(d.a)({href:n},s),o.a.cloneElement(r,{className:p}))},p=n("RvY0"),b=n("guDI"),h=n("YKMc"),g=function(){var e=Object(h.b)().subscriber,t=r.useState(!1),n=Object(i.a)(t,2),o=n[0],a=n[1];return e?null:Object(l.a)(r.Fragment,null,Object(l.a)("button",{type:"button",onClick:function(){return a(!0)},className:"inline-flex items-center px-4 py-2 font-medium text-gray-900 transition-all duration-200 ease-in-out transform bg-gray-100 rounded-full hover:scale-105 hover:text-indigo-500 hover:bg-indigo-50"},Object(l.a)("svg",{"aria-hidden":"true",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"},Object(l.a)("g",{strokeLinecap:"square",strokeLinejoin:"miter",strokeWidth:"2",fill:"none",stroke:"currentColor",strokeMiterlimit:"10"},Object(l.a)("path",{d:"M1,13v6a2,2,0,0,0,2,2H21a2,2,0,0,0,2-2V13"}),Object(l.a)("path",{d:"M23,8V5a2,2,0,0,0-2-2H3A2,2,0,0,0,1,5V8l11,6Z",stroke:"currentColor"}))),Object(l.a)("div",{className:"pl-2"},"Subscribe")),Object(l.a)(p.a,{isOpen:o,onDismiss:function(){return a(!1)},"aria-label":"subscribe",className:"relative w-full max-w-screen-sm rounded-md shadow-xl"},Object(l.a)(b.a,{className:"p-5"}),Object(l.a)("button",{className:"absolute p-3 bg-gray-100 rounded-full top-3 right-3 hover:bg-gray-200",type:"button","aria-label":"close",onClick:function(){return a(!1)}},Object(l.a)("svg",{focusable:"false","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12"},Object(l.a)("g",{fill:"currentColor"},Object(l.a)("path",{d:"M10.707,1.293a1,1,0,0,0-1.414,0L6,4.586,2.707,1.293A1,1,0,0,0,1.293,2.707L4.586,6,1.293,9.293a1,1,0,1,0,1.414,1.414L6,7.414l3.293,3.293a1,1,0,0,0,1.414-1.414L7.414,6l3.293-3.293A1,1,0,0,0,10.707,1.293Z",fill:"currentColor"}))))))},y=function(){return Object(l.a)("nav",{className:"absolute top-0 left-0 w-full p-5"},Object(l.a)("div",{className:"flex items-center justify-between w-full max-w-screen-lg mx-auto"},Object(l.a)(s,null),Object(l.a)("div",{className:"flex items-center space-x-2 text-sm font-medium sm:text-base"},Object(l.a)(v,{href:"/blog",activeClassName:"sm:px-3 px-2 sm:py-2 py-1 transition-all duration-300 ease-in-out rounded-md hover:bg-gray-100"},Object(l.a)("a",{className:"px-2 py-1 transition-all duration-300 ease-in-out transform rounded-full sm:px-3 sm:py-2 hover:bg-indigo-50 hover:scale-105 hover:text-indigo-500"},"Blog")),Object(l.a)(g,null))))},O=function(){return Object(l.a)("footer",{className:"flex items-center justify-center py-8 sm:py-16"})};t.a=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,i=e.meta,u=e.noIndex,c=void 0!==u&&u,s=e.noFooter,d=void 0!==s&&s,f=i||{},m=f.title,v=f.description,p=f.titleAppendSiteName,b=void 0!==p&&p,h=f.url,g=f.ogImage;return Object(l.a)(o.a.Fragment,null,Object(l.a)(a.b,{title:m,description:v,titleTemplate:b?void 0:"%s",noindex:c,openGraph:{title:m,description:v,url:h,images:g?[g]:void 0},canonical:h}),Object(l.a)("div",{className:"flex flex-col min-h-screen"},Object(l.a)(y,null),Object(l.a)("main",{className:"px-5 flex-grow md:flex flex-col justify-center items-center ".concat(r)},t),!d&&Object(l.a)(O,null)))}},"20a2":function(e,t,n){e.exports=n("nOHt")},RvY0:function(e,t,n){"use strict";n.d(t,"a",(function(){return yt}));var r=n("q1tI"),o=n.n(r);function a(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}var i=a()?r.useLayoutEffect:r.useEffect;var u=n("i8i4"),c=function(e){var t=e.children,n=e.type,o=void 0===n?"reach-portal":n,a=Object(r.useRef)(null),c=Object(r.useRef)(null),l=function(){var e=Object(r.useState)(Object.create(null))[1];return Object(r.useCallback)((function(){e(Object.create(null))}),[])}();return i((function(){if(a.current){var e=a.current.ownerDocument;return c.current=null==e?void 0:e.createElement(o),e.body.appendChild(c.current),l(),function(){c.current&&c.current.ownerDocument&&c.current.ownerDocument.body.removeChild(c.current)}}}),[o,l]),c.current?Object(u.createPortal)(t,c.current):Object(r.createElement)("span",{ref:a})};function l(e){return a()?e?e.ownerDocument:document:null}function s(){}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"===typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function m(e,t){if(null!=e)if(function(e){return!(!e||"[object Function]"!={}.toString.call(e))}(e))e(t);else try{e.current=t}catch(n){throw new Error('Cannot assign value "'+t+'" to ref "'+e+'"')}}function v(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}}var p=n("zLVn");function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var h=n("17x9"),g=n.n(h),y="data-focus-lock",O="data-focus-lock-disabled";function w(e,t){return function(e,t){var n=Object(r.useState)((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}(t,(function(t){return e.forEach((function(e){return function(e,t){return"function"===typeof e?e(t):e&&(e.current=t),e}(e,t)}))}))}var x={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},E=function(e){var t=e.children;return r.createElement(r.Fragment,null,r.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:x}),t,t&&r.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:x}))};E.propTypes={},E.defaultProps={children:null};var j=function(){return(j=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function N(e){return e}function C(e,t){void 0===t&&(t=N);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;
1t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}}}function k(e,t){return void 0===t&&(t=N),C(e,t)}function S(e){void 0===e&&(e={});var t=C(null);return t.options=j({async:!0,ssr:!1},e),t}var I=k({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),L=k(),P=k(),M=S({async:!0}),F=[],T=r.forwardRef((function(e,t){var n,o=r.useState(),a=o[0],i=o[1],u=r.useRef(),c=r.useRef(!1),l=r.useRef(null),s=e.children,d=e.disabled,f=e.noFocusGuards,m=e.persistentFocus,v=e.crossFrame,p=e.autoFocus,h=(e.allowTextSelection,e.group),g=e.className,E=e.whiteList,j=e.shards,N=void 0===j?F:j,C=e.as,k=void 0===C?"div":C,S=e.lockProps,P=void 0===S?{}:S,T=e.sideCar,R=e.returnFocus,A=e.onActivation,D=e.onDeactivation,_=r.useState({})[0],B=r.useCallback((function(){l.current=l.current||document&&document.activeElement,u.current&&A&&A(u.current),c.current=!0}),[A]),q=r.useCallback((function(){c.current=!1,D&&D(u.current)}),[D]),Y=r.useCallback((function(e){var t=l.current;if(Boolean(R)&&t&&t.focus){var n="object"===typeof R?R:void 0;l.current=null,e?Promise.resolve().then((function(){return t.focus(n)})):t.focus(n)}}),[R]),U=r.useCallback((function(e){c.current&&I.useMedium(e)}),[]),K=L.useMedium,J=r.useCallback((function(e){u.current!==e&&(u.current=e,i(e))}),[]);var W=b(((n={})[O]=d&&"disabled",n[y]=h,n),P),G=!0!==f,H=G&&"tail"!==f,Z=w([t,J]);return r.createElement(r.Fragment,null,G&&[r.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:d?-1:0,style:x}),r.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:d?-1:1,style:x})],!d&&r.createElement(T,{id:_,sideCar:M,observed:a,disabled:d,persistentFocus:m,crossFrame:v,autoFocus:p,whiteList:E,shards:N,onActivation:B,onDeactivation:q,returnFocus:Y}),r.createElement(k,b({ref:Z},W,{className:g,onBlur:K,onFocus:U}),s),H&&r.createElement("div",{"data-focus-guard":!0,tabIndex:d?-1:0,style:x}))}));T.propTypes={},T.defaultProps={children:void 0,disabled:!1,returnFocus:!1,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var R=T,A=n("dI71"),D=n("rePB");var _=function(e,t){return function(n){var a,i=[];function u(){a=e(i.map((function(e){return e.props}))),t(a)}var c=function(e){function t(){return e.apply(this,arguments)||this}Object(A.a)(t,e),t.peek=function(){return a};var r=t.prototype;return r.componentDidMount=function(){i.push(this),u()},r.componentDidUpdate=function(){u()},r.componentWillUnmount=function(){var e=i.indexOf(this);i.splice(e,1),u()},r.render=function(){return o.a.createElement(n,this.props)},t}(r.PureComponent);return Object(D.a)(c,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(n)+")"),c}},B=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},q=function(e){return Array.isArray(e)?e:[e]},Y=function(e){return e.parentNode?Y(e.parentNode):e}
1,U=function(e){return q(e).filter(Boolean).reduce((function(e,t){var n=t.getAttribute(y);return e.push.apply(e,n?function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var a=e[r].compareDocumentPosition(e[o]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter((function(e,n){return!t.has(n)}))}(B(Y(t).querySelectorAll('[data-focus-lock="'+n+'"]:not(['+O+'="disabled"])'))):[t]),e}),[])},K=function(e){return Boolean(B(e.querySelectorAll("iframe")).some((function(e){return e===document.activeElement})))},J=function(e){var t=document&&document.activeElement;return!(!t||t.dataset&&t.dataset.focusGuard)&&U(e).reduce((function(e,n){return e||n.contains(t)||K(n)}),!1)},W=function(e){return"INPUT"===e.tagName&&"radio"===e.type},G=function(e,t){return W(e)&&e.name?function(e,t){return t.filter(W).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e},H=function(e){return e[0]&&e.length>1?G(e[0],e):e[0]},Z=function(e,t){return e.length>1?e.indexOf(G(e[t],e)):t},V=function(e){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!((t=window.getComputedStyle(e,null))&&t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility")))&&V(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode);var t},X=function(e){return Boolean(e&&e.dataset&&e.dataset.focusGuard)},z=function(e){return!X(e)},$=function(e){return Boolean(e)},Q="NEW_FOCUS",ee=function(e,t,n,r){var o=e.length,a=e[0],i=e[o-1],u=X(n);if(!(e.indexOf(n)>=0)){var c=t.indexOf(n),l=r?t.indexOf(r):c,s=r?e.indexOf(r):-1,d=c-l,f=t.indexOf(a),m=t.indexOf(i),v=function(e){var t=new Set;return e.forEach((function(n){return t.add(G(n,e))})),e.filter((function(e){return t.has(e)}))}(t),p=v.indexOf(n)-(r?v.indexOf(r):c),b=Z(e,0),h=Z(e,o-1);return-1===c||-1===s?Q:!d&&s>=0?s:c<=f&&u&&Math.abs(d)>1?h:c>=m&&u&&Math.abs(d)>1?b:d&&Math.abs(p)>1?s:c<=f?h:c>m?b:d?Math.abs(d)>1?s:(o+s+d)%o:void 0}},te=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return n||r},ne=function(e,t,n){return B(e).map((function(e,t){return{node:e,index:t,tabIndex:n&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(te)},re=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),oe=re+", [data-focus-guard]",ae=function(e,t){return e.reduce((function(e,n){return e.concat(B(n.querySelectorAll(t?oe:re)),n.parentNode?B(n.parentNode.querySelectorAll(re)).filter((function(e){return e===n})):[])}),[])},ie=function(e){return B(e).filter((function(e){return V(e)})).filter((function(e){return function(e){return!(("INPUT"===e.tagName||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))}(e)}))},ue=function(e,t){return ne(ie(ae(e,t)),!0,t)},ce=function(e){return ne(ie(ae(e)),!1)},le=function(e){return ie(function(e){var t=e.querySelectorAll("[data-autofocus-inside]");return B(t).map((function(e){return ae([e])})).reduce((function(e,t){return e.concat(t)}),[])}(e))},se=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&se(e.parentNode,t),t},de=function(e,t){for(var n=se(e),r=se(t),o=0;o<n.length;o+=1){var a=n[o];if(r.indexOf(a)>=0)return a}return!1},fe=function(e,t,n){var r=q(e),o=q(t),a=r[0],i=!1;
1return o.filter(Boolean).forEach((function(e){i=de(i||e,e)||i,n.filter(Boolean).forEach((function(e){var t=de(a,e);t&&(i=!i||t.contains(i)?t:de(t,i))}))})),i},me=function(e,t){var n=document&&document.activeElement,r=U(e).filter(z),o=fe(n||e,e,r),a=ce(r),i=ue(r).filter((function(e){var t=e.node;return z(t)}));if(i[0]||(i=a)[0]){var u,c=ce([o]).map((function(e){return e.node})),l=function(e,t){var n=new Map;return t.forEach((function(e){return n.set(e.node,e)})),e.map((function(e){return n.get(e)})).filter($)}(c,i),s=l.map((function(e){return e.node})),d=ee(s,c,n,t);if(d===Q){var f=a.map((function(e){return e.node})).filter((u=function(e){return e.reduce((function(e,t){return e.concat(le(t))}),[])}(r),function(e){return e.autofocus||e.dataset&&!!e.dataset.autofocus||u.indexOf(e)>=0}));return{node:f&&f.length?H(f):H(s)}}return void 0===d?d:l[d]}},ve=0,pe=!1,be=function(e,t){var n,r=me(e,t);if(!pe&&r){if(ve>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),pe=!0,void setTimeout((function(){pe=!1}),1);ve++,(n=r.node).focus(),"contentWindow"in n&&n.contentWindow&&n.c
1ontentWindow.focus(),ve--}};function he(e){var t=window.setImmediate;"undefined"!==typeof t?t(e):setTimeout(e,1)}var ge=function(){return document&&document.activeElement===document.body||document&&B(document.querySelectorAll("[data-no-focus-lock]")).some((function(e){return e.contains(document.activeElement)}))},ye=null,Oe=null,we=null,xe=!1,Ee=function(){return!0};function je(e,t,n,r){var o=null,a=e;do{var i=r[a];if(i.guard)i.node.dataset.focusAutoGuard&&(o=i);else{if(!i.lockItem)break;if(a!==e)return;o=null}}while((a+=n)!==t);o&&(o.node.tabIndex=0)}var Ne=function(e){return e&&"current"in e?e.current:e},Ce=function(){var e,t=!1;if(ye){var n=ye,r=n.observed,o=n.persistentFocus,a=n.autoFocus,i=n.shards,u=n.crossFrame,c=r||we&&we.portaledElement,l=document&&document.activeElement;if(c){var s=[c].concat(i.map(Ne).filter(Boolean));if(l&&!function(e){return(ye.whiteList||Ee)(e)}(l)||(o||(u?Boolean(xe):"meanwhile"===xe)||!ge()||!Oe&&a)&&(!c||J(s)||(e=l,we&&we.portaledElement===e)||(document&&!Oe&&l&&!a?(l.blur&&l.blur(),document.body.focus()):(t=be(s,Oe),we={})),xe=!1,Oe=document&&document.activeElement),document){var d=document&&document.activeElement,f=function(e){var t=U(e).filter(z),n=fe(e,e,t),r=ue([n],!0),o=ue(t).filter((function(e){var t=e.node;return z(t)})).map((function(e){return e.node}));return r.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:o.indexOf(t)>=0,guard:X(t)}}))}(s),m=f.map((function(e){return e.node})).indexOf(d);m>-1&&(f.filter((function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),je(m,f.length,1,f),je(m,-1,-1,f))}}}return t},ke=function(e){Ce()&&e&&(e.stopPropagation(),e.preventDefault())},Se=function(){return he(Ce)},Ie=function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(we={observerNode:n,portaledElement:t})},Le=function(){xe="just",setTimeout((function(){xe="meanwhile"}),0)};I.assignSyncMedium(Ie),L.assignMedium(Se),P.assignMedium((function(e){return e({moveFocusInside:be,focusInside:J})}));var Pe=_((function(e){return e.filter((function(e){return!e.disabled}))}),(function(e){var t=e.slice(-1)[0];t&&!ye&&(document.addEventListener("focusin",ke,!0),document.addEventListener("focusout",Se),window.addEventListener("blur",Le));var n=ye,r=n&&t&&t.id===n.id;ye=t,n&&!r&&(n.onDeactivation(),e.filter((function(e){return e.id===n.id})).length||n.returnFocus(!t)),t?(Oe=null,r&&n.observed===t.observed||t.onActivation(),Ce(),he(Ce)):(document.removeEventListener("focusin",ke,!0),document.removeEventListener("focusout",Se),window.removeEventListener("blur",Le),Oe=null)}))((function(){return null})),Me=r.forwardRef((function(e,t){return r.createElement(R,b({sideCar:Pe,ref:t},e))})),Fe=R.propTypes||{};Fe.sideCar,Object(p.a)(Fe,["sideCar"]);Me.propTypes={};var Te=Me;var Re=function(){return(Re=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};var Ae="right-scroll-bar-position",De="width-before-scroll-bar",_e=S(),Be=function(){},qe=r.forwardRef((function(e,t){var n=r.useRef(null),o=r.useState({onScrollCapture:Be,onWheelCapture:Be,onTouchMoveCapture:Be}),a=o[0],i=o[1],u=e.forwardProps,c=e.children,l=e.className,s=e.removeScrollBar,d=e.enabled,f=e.shards,m=e.sideCar,v=e.noIsolation,p=e.inert,b=e.allowPinchZoom,h=e.as,g=void 0===h?"div":h,y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),O=m,x=w([n,t]),E=Re({},y,a);return r.createElement(r.Fragment,null,d&&r.createElement(O,{sideCar:_e,removeScrollBar:s,shards:f,noIsolation:v,inert:p,setCallbacks:i,allowPinchZoom:!!b,lockRef:n}),u?r.cloneElement(r.Children.only(c),Re({},E,{ref:x})):r.createElement(g,Re({},E,{className:l,ref:x}),c))}));qe.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},qe.classNames={fullWidth:De,zeroRight:Ae};var Ye,Ue=function(e){var t=e.sideCar,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return r.createElement(o,j({},n))};
1Ue.isSideCarExport=!0;function Ke(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ye||n.nc;return t&&e.setAttribute("nonce",t),e}var Je=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=Ke())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},We=function(){var e=function(){var e=Je();return function(t){r.useEffect((function(){return e.add(t),function(){e.remove()}}),[])}}();return function(t){var n=t.styles;return e(n),null}},Ge={left:0,top:0,right:0,gap:0},He=function(e){return parseInt(e||"",10)||0},Ze=function(e){if(void 0===e&&(e="margin"),"undefined"===typeof window)return Ge;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[He(n),He(r),He(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Ve=We(),Xe=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .with-scroll-bars-hidden {\n overflow: hidden "+r+";\n padding-right: "+u+"px "+r+";\n }\n body {\n overflow: hidden "+r+";\n "+[t&&"position: relative "+r+";","margin"===n&&"\n padding-left: "+o+"px;\n padding-top: "+a+"px;\n padding-right: "+i+"px;\n margin-left:0;\n margin-top:0;\n margin-right: "+u+"px "+r+";\n ","padding"===n&&"padding-right: "+u+"px "+r+";"].filter(Boolean).join("")+"\n }\n \n ."+Ae+" {\n right: "+u+"px "+r+";\n }\n \n ."+De+" {\n margin-right: "+u+"px "+r+";\n }\n \n ."+Ae+" ."+Ae+" {\n right: 0 "+r+";\n }\n \n ."+De+" ."+De+" {\n margin-right: 0 "+r+";\n }\n \n body {\n --removed-body-scroll-bar-size: "+u+"px;\n }\n"},ze=function(e){var t=r.useState(Ze(e.gapMode)),n=t[0],o=t[1];r.useEffect((function(){o(Ze(e.gapMode))}),[e.gapMode]);
1var a=e.noRelative,i=e.noImportant,u=e.gapMode,c=void 0===u?"margin":u;return r.createElement(Ve,{styles:Xe(n,!a,c,i?"":"!important")})},$e=function(e,t){var n=t;do{if(Qe(e,n)){var r=et(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Qe=function(e,t){return"v"===e?function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)}(t):function(e){var t=window.getComputedStyle(e);return"range"===e.type||"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)}(t)},et=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},tt=!1;if("undefined"!==typeof window)try{var nt=Object.defineProperty({},"passive",{get:function(){return tt=!0,!0}});window.addEventListener("test",nt,nt),window.removeEventListener("test",nt,nt)}catch(Ot){tt=!1}var rt=!!tt&&{passive:!1},ot=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},at=function(e){return[e.deltaX,e.deltaY]},it=function(e){return e&&"current"in e?e.current:e},ut=function(e){return"\n .block-interactivity-"+e+" {pointer-events: none;}\n .allow-interactivity-"+e+" {pointer-events: all;}\n"},ct=0,lt=[];var st,dt=(st=function(e){var t=r.useRef([]),n=r.useRef([0,0]),o=r.useRef(),a=r.useState(ct++)[0],i=r.useState((function(){return We()}))[0],u=r.useRef(e);r.useEffect((function(){u.current=e}),[e]),r.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-"+a);var t=[e.lockRef.current].concat((e.shards||[]).map(it)).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-"+a)})),function(){document.body.classList.remove("block-interactivity-"+a),t.forEach((function(e){return e.classList.remove("allow-interactivity-"+a)}))}}}),[e.inert,e.lockRef.current,e.shards]);var c=r.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!u.current.allowPinchZoom;var r,a=ot(e),i=n.current,c="deltaX"in e?e.deltaX:i[0]-a[0],l="deltaY"in e?e.deltaY:i[1]-a[1],s=e.target,d=Math.abs(c)>Math.abs(l)?"h":"v",f=$e(d,s);if(!f)return!0;if(f?r=d:(r="v"===d?"h":"v",f=$e(d,s)),!f)return!1;if(!o.current&&"changedTouches"in e&&(c||l)&&(o.current=r),!r)return!0;var m=o.current||r;return function(e,t,n,r,o){var a=r,i=n.target,u=t.contains(i),c=!1,l=a>0,s=0,d=0;do{var f=et(e,i),m=f[0],v=f[1]-f[2]-m;(m||v)&&Qe(e,i)&&(s+=v,d+=m),i=i.parentNode}while(!u&&i!==document.body||u&&(t.contains(i)||t===i));return(l&&(o&&0===s||!o&&a>s)||!l&&(o&&0===d||!o&&-a>d))&&(c=!0),c}(m,t,e,"h"===m?c:l,!0)}),[]),l=r.useCallback((function(e){var n=e;if(lt.length&<[lt.length-1]===i){var r="deltaY"in n?at(n):ot(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o}))[0];if(o&&o.should)n.preventDefault();else if(!o){var a=(u.current.shards||[]).map(it).filter(Boolean).filter((function(e){return e.contains(n.target)}));(a.length>0?c(n,a[0]):!u.current.noIsolation)&&n.preventDefault()}}}),[]),s=r.useCallback((function(e,n,r,o){var a={name:e,delta:n,target:r,should:o};t.current.push(a),setTimeout((function(){t.current=t.current.filter((function(e){return e!==a}))}),1)}),[]),d=r.useCallback((function(e){n.current=ot(e),o.current=void 0}),[]),f=r.useCallback((function(t){s(t.type,at(t),t.target,c(t,e.lockRef.current))}),[]),m=r.useCallback((function(t){s(t.type,ot(t),t.target,c(t,e.lockRef.current))}),[]);r.useEffect((function(){return lt.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",l,rt),document.addEventListener("touchmove",l,rt),document.addEventListener("touchstart",d,rt),function(){lt=lt.filter((function(e){return e!==i})),document.removeEventListener("wheel",l,rt),document.removeEventListener("touchmove",l,rt),document.removeEventListener("touchstart",d,rt)}}),[]);var v=e.removeScrollBar,p=e.inert;return r.createElement(r.Fragment,null,p?r.createElement(i,{styles:ut(a)}):null,v?r.createElement(ze,{gapMode:"margin"}):null)},_e.useMedium(st),Ue),ft=r.forwardRef((function(e,t){return r.createElement(qe,Re({},e,{ref:t,sideCar:dt}))}));ft.classNames=qe.classNames;var mt=ft;function vt(){return(vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function pt(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}g.a.bool,g.a.bool,g.a.bool,g.a.func;var bt=Object(r.forwardRef)((function(e,t){var n=e.as,o=void 0===n?"div":n,a=e.isOpen,i=void 0===a||a,u=pt(e,["as","isOpen"]);return Object(r.useEffect)((function(){i?window.__REACH_DISABLE_TOOLTIPS=!0:window.requestAnimationFrame((function(){window.__REACH_DISABLE_TOOLTIPS=!1}))}),[i]),i?Object(r.createElement)(c,{"data-reach-dialog-wrapper":""},Object(r.createElement)(ht,vt({ref:t,as:o},u))):null}));var ht=Object(r.forwardRef)((function(e,t){var n=e.allowPinchZoom,o=e.as,a=void 0===o?"div":o,i=e.dangerouslyBypassFocusLock,u=void 0!==i&&i,c=e.dangerouslyBypassScrollLock,d=void 0!==c&&c,p=e.initialFocusRef,b=e.onClick,h=e.onDismiss,g=void 0===h?s:h,y=e.onKeyDown,O=e.onMouseDown,w=e.unstable_lockFocusAcrossFrames,x=void 0===w||w,E=pt(e,["allowPinchZoom","as","dangerouslyBypassFocusLock","dangerouslyBypassScrollLock","initialFocusRef","onClick","onDismiss","onKeyDown","onMouseDown","unstable_lockFocusAcrossFrames"]),j=Object(r.useRef)(null),N=Object(r.useRef)(null),C=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Object(r.useCallback)((function(e){for(var n,r=f(t);!(n=r()).done;)m(n.value,e)}),t)}(N,t),k=Object(r.useCallback)((function(){p&&p.current&&p.current.focus()}),[p]);return Object(r.useEffect)((function(){return N.current?function(e){var t=[],n=[],r=l(e);if(!e)return s;return Array.prototype.forEach.call(r.querySelectorAll("body > *"),(function(r){var o,a;if(r!==(null==(o=e.parentNode)||null==(a=o.parentNode)?void 0:a.parentNode)){var i=r.getAttribute("aria-hidden");null!==i&&"false"!==i||(t.push(i),n.push(r),r.setAttribute("aria-hidden","true"))}}
1)),function(){n.forEach((function(e,n){var r=t[n];null===r?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r)}))}}(N.current):void 0}),[]),Object(r.createElement)(Te,{autoFocus:!0,returnFocus:!0,onActivation:k,disabled:u,crossFrame:x},Object(r.createElement)(mt,{allowPinchZoom:n,enabled:!d},Object(r.createElement)(a,vt({},E,{ref:C,"data-reach-dialog-overlay":"",onClick:v(b,(function(e){j.current===e.target&&(e.stopPropagation(),g(e))})),onKeyDown:v(y,(function(e){"Escape"===e.key&&(e.stopPropagation(),g(e))})),onMouseDown:v(O,(function(e){j.current=e.target}))}))))}));var gt=Object(r.forwardRef)((function(e,t){var n=e.as,o=void 0===n?"div":n,a=e.onClick;e.onKeyDown;var i=pt(e,["as","onClick","onKeyDown"]);return Object(r.createElement)(o,vt({"aria-modal":"true",role:"dialog",tabIndex:-1},i,{ref:t,"data-reach-dialog-content":"",onClick:v(a,(function(e){e.stopPropagation()}))}))}));var yt=Object(r.forwardRef)((function(e,t){var n=e.allowPinchZoom,o=void 0!==n&&n,a=e.initialFocusRef,i=e.isOpen,u=e.onDismiss,c=void 0===u?s:u,l=pt(e,["allowPinchZoom","initialFocusRef","isOpen","onDismiss"]);return Object(r.createElement)(bt,{allowPinchZoom:o,initialFocusRef:a,isOpen:i,onDismiss:c},Object(r.createElement)(gt,vt({ref:t},l)))}))},YFqc:function(e,t,n){e.exports=n("cTJO")},cTJO:function(e,t,n){"use strict";var r=n("J4zp"),o=n("7KCV");t.__esModule=!0,t.default=void 0;var a=o(n("q1tI")),i=n("elyg"),u=n("nOHt"),c=n("vNVm"),l={};function s(e,t,n,r){if(e&&(0,i.isLocalURL)(t)){e.prefetch(t,n,r).catch((function(e){0}));var o=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;l[t+"%"+n+(o?"%"+o:"")]=!0}}var d=function(e){var t=!1!==e.prefetch,n=(0,u.useRouter)(),o=n&&n.pathname||"/",d=a.default.useMemo((function(){var t=(0,i.resolveHref)(o,e.href,!0),n=r(t,2),a=n[0],u=n[1];return{href:a,as:e.as?(0,i.resolveHref)(o,e.as):u||a}}),[o,e.href,e.as]),f=d.href,m=d.as,v=e.children,p=e.replace,b=e.shallow,h=e.scroll,g=e.locale;"string"===typeof v&&(v=a.default.createElement("a",null,v));var y=a.Children.only(v),O=y&&"object"===typeof y&&y.ref,w=(0,c.useIntersection)({rootMargin:"200px"}),x=r(w,2),E=x[0],j=x[1],N=a.default.useCallback((function(e){E(e),O&&("function"===typeof O?O(e):"object"===typeof O&&(O.current=e))}),[O,E]);(0,a.useEffect)((function(){var e=j&&t&&(0,i.isLocalURL)(f),r="undefined"!==typeof g?g:n&&n.locale,o=l[f+"%"+m+(r?"%"+r:"")];e&&!o&&s(n,f,m,{locale:r})}),[m,f,j,g,t,n]);var C={ref:N,onClick:function(e){y.props&&"function"===typeof y.props.onClick&&y.props.onClick(e),e.defaultPrevented||function(e,t,n,r,o,a,u,c){("A"!==e.currentTarget.nodeName||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&(0,i.isLocalURL)(n))&&(e.preventDefault(),null==u&&(u=r.indexOf("#")<0),t[o?"replace":"push"](n,r,{shallow:a,locale:c,scroll:u}))}(e,n,f,m,p,b,h,g)},onMouseEnter:function(e){(0,i.isLocalURL)(f)&&(y.props&&"function"===typeof y.props.onMouseEnter&&y.props.onMouseEnter(e),s(n,f,m,{priority:!0}))}};if(e.passHref||"a"===y.type&&!("href"in y.props)){var k="undefined"!==typeof g?g:n&&n.locale,S=n&&n.isLocaleDomain&&(0,i.getDomainLocale)(m,k,n&&n.locales,n&&n.domainLocales);C.href=S||(0,i.addBasePath)((0,i.addLocale)(m,k,n&&n.defaultLocale))}return a.default.cloneElement(y,C)};t.default=d},dhJC:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},guDI:function(e,t,n){"use strict";var r=n("YKMc"),o=(n("q1tI"),n("qKvR"));t.a=function(e){var t=e.onSubmit,n=e.className,a=void 0===n?"relative py-16 lg:py-40 xl:py-48 md:py-32 sm:py-24":n;return Object(r.b)().subscriber?null:Object(o.a)("div",{id:"subscribe",className:a},Object(o.a)("h3",{className:"max-w-screen-sm pb-4 mx-auto text-3xl text-center md:text-4xl"},"Unlock the Full Potential of"," ",Object(o.a)("strong",null,"Scalable & Production Ready")," Jamstack Architecture for Your Team"),Object(o.a)("h4",{className:"text-base text-center md:text-lg"},"Be the first to hear about updates to Enterprise Jamstack course"),Object(o.a)("form",{className:"grid w-full max-w-md grid-cols-1 gap-8 px-5 py-8 mx-auto bg-gray-1000",action:"https://app.convertkit.com/forms/".concat("1886128","/subscriptions"),method:"post"},Object(o.a)("div",{className:"flex flex-col"},Object(o.a)("label",{htmlFor:"fields[first_name]"},"First name"),Object(o.a)("input",{className:"px-4 py-3 text-lg bg-gray-100 border-none rounded-md form-input",id:"fields[first_name]",name:"fields[first_name]",type:"text",placeholder:"David"})),Object(o.a)("div",{className:"flex flex-col"},Object(o.a)("label",{htmlFor:"email_address"},"Email ",Object(o.a)("span",{className:"text-gray-400"},"*")),Object(o.a)("input",{className:"px-4 py-3 text-lg bg-gray-100 border-none rounded-md form-input",id:"email_address",name:"email_address",type:"email",placeholder:"[email protected]",required:!0})),Object(o.a)("button",{type:"submit",className:"flex items-center justify-center px-4 py-4 text-lg font-semibold text-center text-white transition-all duration-300 ease-in-out transform rounded-md group bg-gradient-to-r hover:shadow-xl from-indigo-600 to-indigo-500 hover:scale-105",onClick:function(){t&&t()}},Object(o.a)("span",{className:""},"Get Good at Jamstack"))),Object(o.a)("div",{className:"mt-4 text-sm text-center opacity-60"},"No spam, unsubscribe any time."))}},vNVm:function(e,t,n){"use strict";var r=n("J4zp");t.__esModule=!0,t.useIntersection=function(e){var t=e.rootMargin,n=e.disabled||!i,c=(0,o.useRef)(),l=(0,o.useState)(!1),s=r(l,2),d=s[0],f=s[1],m=(0,o.useCallback)((function(e){c.current&&(c.current(),c.current=void 0),n||d||e&&e.tagName&&(c.current=function(e,t,n){var r=function(e){var t=e.rootMargin||"",n=u.get(t);if(n)return n;var r=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var t=r.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return u.set(t,n={id:t,observer:o,elements:r}),n}(n),o=r.id,a=r.observer,i=r.elements;return i.set(e,t),a.observe(e),function(){i.delete(e),a.unobserve(e),0===i.size&&(a.disconnect(),u.delete(o))}}(e,(function(e){return e&&f(e)}),{rootMargin:t}))}),[n,t,d]);
1return(0,o.useEffect)((function(){if(!i&&!d){var e=(0,a.requestIdleCallback)((function(){return f(!0)}));return function(){return(0,a.cancelIdleCallback)(e)}}}),[d]),[m,d]};var o=n("q1tI"),a=n("0G5g"),i="undefined"!==typeof IntersectionObserver;var u=new Map}}]);
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.