1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,270385,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return s},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function i(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function l(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,l(e));else t.set(r,l(n));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},36659,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return b},MiddlewareNotFoundError:function(){return x},MissingStaticPage:function(){return w},NormalizeError:function(){return y},PageNotFoundError:function(){return v},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return i},execOnce:function(){return l},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return s},isResSent:function(){return f},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return E}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function l(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>o.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class b extends Error{}class y extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class w extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class x extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function E(e){return JSON.stringify({message:e.message,stack:e.stack})}},604438,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},27801,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return o},formatWithValidation:function(){return u},urlObjectKeys:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(744066)._(e.r(270385)),l=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",o=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(i.urlQueryToSearchParams(s)));let c=e.search||s&&`?${s}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||l.test(n))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),o&&"#"!==o[0]&&(o="#"+o),c&&"?"!==c[0]&&(c="?"+c),a=a.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${a}${c}${o}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return o(e)}},216580,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(359613);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=i(e,n)),t&&(a.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},98254,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=e.r(36659),a=e.r(950921);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},357336,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},677776,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return b},useLinkStatus:function(){return v}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(744066),l=e.r(836703),o=i._(e.r(359613)),s=e.r(27801),u=e.r(988068),c=e.r(216580),d=e.r(36659),f=e.r(361881);e.r(604438);let p=e.r(498978),h=e.r(856579),m=e.r(98254),g=e.r(30621);function b(t){var r,n;let a,i,b,[v,w]=(0,o.useOptimistic)(h.IDLE_LINK_STATUS),x=(0,o.useRef)(null),{href:E,as:S,children:_,prefetch:L=null,passHref:P,replace:k,shallow:j,scroll:C,onClick:N,onMouseEnter:O,onTouchStart:T,legacyBehavior:I=!1,onNavigate:R,transitionTypes:A,ref:$,unstable_dynamicOnHover:M,...D}=t;a=_,I&&("string"==typeof a||"number"==typeof a)&&(a=(0,l.jsx)("a",{children:a}));let U=o.default.useContext(u.AppRouterContext),z=!1!==L,F=!1!==L?null===(n=L)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,B="string"==typeof(r=S||E)?r:(0,s.formatUrl)(r);if(I){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});i=o.default.Children.only(a)}let H=I?i&&"object"==typeof i&&i.ref:$,V=o.default.useCallback(e=>(null!==U&&(x.current=(0,h.mountLinkInstance)(e,B,U,F,z,w)),()=>{x.current&&((0,h.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,h.unmountPrefetchableInstance)(e)}),[z,B,U,F,w]),q={ref:(0,c.useMergedRef)(V,H),onClick(t){I||"function"!=typeof N||N(t),I&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!U||t.defaultPrevented||function(t,r,n,a,i,l,s){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(740739);o.default.startTransition(()=>{d(r,a?"replace":"push",!1===i?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,s)})}}(t,B,x,k,C,R,A)},onMouseEnter(e){I||"function"!=typeof O||O(e),I&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),U&&z&&(0,h.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){I||"function"!=typeof T||T(e),I&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),U&&z&&(0,h.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,d.isAbsoluteUrl)(B)?q.href=B:I&&!P&&("a"!==i.type||"href"in i.props)||(q.href=(0,f.addBasePath)(B)),b=I?o.default.cloneElement(i,q):(0,l.jsx)("a",{...D,...q,children:a}),(0,l.jsx)(y.Provider,{value:v,children:b})}e.r(357336);let y=(0,o.createContext)(h.IDLE_LINK_STATUS),v=()=>(0,o.useContext)(y);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},715671,(e,t,r)=>{t.exports=e.r(911496)},780605,e=>{"use strict";let t=!!window.document&&!!window.document.createElement;e.s(["default",0,t])},370993,e=>{"use strict";var t=e.i(836703),r=e.i(359613),n=e.i(780605);let a=(0,r.createContext)({headerTheme:void 0,setHeaderTheme:()=>null});e.s(["HeaderThemeProvider",0,({children:e})=>{let[i,l]=(0,r.useState)(n.default?document.documentElement.getAttribute("data-theme"):void 0),o=(0,r.useCallback)(e=>{l(e)},[]);return(0,t.jsx)(a,{value:{headerTheme:i,setHeaderTheme:o},children:e})},"useHeaderTheme",0,()=>(0,r.use)(a)])},656447,e=>{"use strict";var t=e.i(112596),r=e.i(780605);e.s(["getClientSideURL",0,()=>{if(r.default){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return t.default.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${t.default.env.VERCEL_PROJECT_PRODUCTION_URL}`:t.default.env.NEXT_PUBLIC_SERVER_URL||""}])},33613,e=>{"use strict";var t=e.i(774741);e.s(["identifyLead",0,function(e,r={}){if(!t.default.__loaded)return;let n=e.trim().toLowerCase();n&&t.default.identify(n,{email:n,...r})},"setLeadProperties",0,function(e){t.default.__loaded&&t.default.setPersonProperties(e)}])},159232,e=>{"use strict";var t=e.i(836703);e.s(["DisabledButtonHint",0,function({reason:e,className:r,children:n}){return(0,t.jsx)("span",{className:`disabled-button-hint ${r??""}`,tabIndex:e?0:void 0,role:e?"group":void 0,"aria-label":e?`Unavailable: ${e}`:void 0,"data-hint":e||void 0,children:n})}])},550920,e=>{"use strict";let t=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;e.s(["isValidNewsletterEmail",0,function(e){let r=e.trim();return r.length<=254&&t.test(r)}])},268903,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return l},requestIdleCallback:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},l="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},275152,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ESCAPE_REGEX:function(){return l},htmlEscapeAttributeString:function(){return c},htmlEscapeJsonString:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},l=/[&><\u2028\u2029]/g,o={"&":"&",'"':""","'":"'","<":"<",">":">"},s=/[&"'<>]/g;function u(e){return e.replace(l,e=>i[e])}function c(e){return e.replace(s,e=>o[e])}},771544,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return w},handleClientScriptLoad:function(){return b},initScriptLoader:function(){return y}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(481258),l=e.r(744066),o=e.r(836703),s=i._(e.r(793251)),u=l._(e.r(359613)),c=e.r(435809),d=e.r(442167),f=e.r(268903),p=e.r(275152),h=new Map,m=new Set,g=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:i,children:l="",strategy:o="afterInteractive",onError:u,stylesheets:c}=e,f=r||t;if(f&&m.has(f))return;if(h.has(t)){m.add(f),h.get(t).then(n,u);return}let p=()=>{a&&a(),m.add(f)},g=document.createElement("script"),b=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),p()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});i?(g.innerHTML=i.__html||"",p()):l?(g.textContent="string"==typeof l?l:Array.isArray(l)?l.join(""):"",p()):t&&(g.src=t,h.set(t,b)),(0,d.setAttributesFromProps)(g,e),"w
1orker"===o&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",o),c&&(e=>{if(s.default.preinit)return e.forEach(e=>{s.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(c),document.body.appendChild(g)};function b(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>g(e))}):g(e)}function y(e){e.forEach(b),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");m.add(t)})}function v(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:a=null,strategy:i="afterInteractive",onError:l,stylesheets:d,...h}=e,{updateScripts:b,scripts:y,getIsSsr:v,appDir:w,nonce:x}=(0,u.useContext)(c.HeadManagerContext);x=h.nonce||x;let E=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||r;E.current||(a&&e&&m.has(e)&&a(),E.current=!0)},[a,t,r]);let S=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{if(!S.current){if("afterInteractive"===i)g(e);else"lazyOnload"===i&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>g(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>g(e))}));S.current=!0}},[e,i]),("beforeInteractive"===i||"worker"===i)&&(b?(y[i]=(y[i]||[]).concat([{id:t,src:r,onLoad:n,onReady:a,onError:l,...h,nonce:x}]),b(y)):v&&v()?m.add(t||r):v&&!v()&&g({...e,nonce:x})),w){if(d&&d.forEach(e=>{s.default.preinit(e,{as:"style"})}),"beforeInteractive"===i)if(!r)return h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,p.htmlEscapeJsonString)(JSON.stringify([0,{...h,id:t}]))})`}});else return s.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:x,crossOrigin:h.crossOrigin}:{as:"script",nonce:x,crossOrigin:h.crossOrigin}),(0,o.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,p.htmlEscapeJsonString)(JSON.stringify([r,{...h,id:t}]))})`}});"afterInteractive"===i&&r&&s.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:x,crossOrigin:h.crossOrigin}:{as:"script",nonce:x,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(v,"__nextScript",{value:!0});let w=v;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},620906,e=>{"use strict";var t=e.i(836703),r=e.i(530941),n=e.i(715671),a=e.i(359613);let i={id:"12345",email:"[email protected]"},l=e=>{let{id:r,adminPath:n="/admin",apiPath:l="/api",authCollectionSlug:o="users",className:s,classNames:u,cmsURL:c="http://localhost:8000",collectionLabels:d,collectionSlug:f,createProps:p,devMode:h,divProps:m,editProps:g,logo:b,logoProps:y,logoutProps:v,onAuthChange:w,onPreviewExit:x,preview:E,previewProps:S,style:_,unstyled:L,userProps:P}=e,[k,j]=(0,a.useState)();if((0,a.useEffect)(()=>{(async()=>{try{let e=await fetch(`${c}${l}/${o}/me`,{credentials:"include",method:"get"}),{user:t}=await e.json();t?j(t):!0!==h?j(null):j(i)}catch(e){console.warn(e),!0===h&&j(i)}})()},[c,n,l,h]),(0,a.useEffect)(()=>{"function"==typeof w&&w(k)},[k,w]),k){let{id:e,email:a}=k;return(0,t.jsxs)("div",{className:s,id:"payload-admin-bar",style:{...!0!==L?{alignItems:"center",backgroundColor:"#222",boxSizing:"border-box",color:"#fff",display:"flex",fontFamily:"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif",fontSize:"small",left:0,minWidth:"0",padding:"0.5rem",position:"fixed",top:0,width:"100%",zIndex:99999}:{},..._},children:[(0,t.jsx)("a",{className:u?.logo,href:`${c}${n}`,...y,style:{...!0!==L?{alignItems:"center",color:"inherit",display:"flex",flexShrink:0,height:"20px",marginRight:"10px",textDecoration:"none",...y?.style?{...y.style}:{}}:{}},children:b||"Payload CMS"}),(0,t.jsx)("a",{className:u?.user,href:`${c}${n}/collections/${o}/${e}`,rel:"noopener noreferrer",target:"_blank",...P,style:{...!0!==L?{color:"inherit",display:"block",marginRight:"10px",minWidth:"50px",overflow:"hidden",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",...P?.style?{...P.style}:{}}:{}},children:(0,t.jsx)("span",{style:{...!0!==L?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}},children:a||"Profile"})}),(0,t.jsxs)("div",{className:u?.controls,...m,style:{...!0!==L?{alignItems:"center",display:"flex",flexGrow:1,flexShrink:1,justifyContent:"flex-end",marginRight:"10px",...m?.style?{...m.style}:{}}:{}},children:[f&&r&&(0,t.jsx)("a",{className:u?.edit,href:`${c}${n}/collections/${f}/${r}`,rel:"noopener noreferrer",target:"_blank",...g,style:{display:"block",...!0!==L?{color:"inherit",flexShrink:1,marginRight:"10px",overflow:"hidden",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",...g?.style?{...g.style}:{}}:{}},children:(0,t.jsx)("span",{style:{...!0!==L?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}},children:`Edit ${d?.singular||"page"}`})}),f&&(0,t.jsx)("a",{className:u?.create,href:`${c}${n}/collections/${f}/create`,rel:"noopener noreferrer",target:"_blank",...p,style:{...!0!==L?{color:"inherit",display:"block",flexShrink:1,overflow:"hidden",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",...p?.style?{...p.style}:{}}:{}},children:(0,t.jsx)("span",{style:{...!0!==L?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}},children:`New ${d?.singular||"page"}`})}),E&&(0,t.jsx)("button",{className:u?.preview,onClick:x,...S,style:{...!0!==L?{background:"none",border:"none",color:"inherit",curs
1or:"pointer",fontFamily:"inherit",fontSize:"inherit",marginLeft:"10px",padding:0,...S?.style?{...S.style}:{}}:{}},type:"button",children:"Exit preview mode"})]}),(0,t.jsx)("a",{className:u?.logout,href:`${c}${n}/logout`,rel:"noopener noreferrer",target:"_blank",...v,style:{...!0!==L?{color:"inherit",display:"block",flexShrink:1,overflow:"hidden",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",...v?.style?{...v.style}:{}}:{}},children:(0,t.jsx)("span",{style:{...!0!==L?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}},children:"Logout"})})]})}return null};var o=e.i(656447);let s={pages:{plural:"Pages",singular:"Page"},posts:{plural:"Posts",singular:"Post"},projects:{plural:"Projects",singular:"Project"}},u=()=>(0,t.jsx)("span",{children:"Dashboard"});e.s(["AdminBar",0,e=>{let{adminBarProps:i}=e||{},c=(0,n.useSelectedLayoutSegments)(),[d,f]=(0,a.useState)(!1),p=s[c?.[1]]?c[1]:"pages",h=(0,n.useRouter)(),m=a.default.useCallback(e=>{f(!!e?.id)},[]);return(0,t.jsx)("div",{className:(0,r.cn)("admin-bar","py-2 bg-black text-white",{block:d,hidden:!d}),children:(0,t.jsx)("div",{className:"container",children:(0,t.jsx)(l,{...i,className:"py-2 text-white",classNames:{controls:"font-medium text-white",logo:"text-white",user:"text-white"},cmsURL:(0,o.getClientSideURL)(),collectionSlug:p,collectionLabels:{plural:s[p]?.plural||"Pages",singular:s[p]?.singular||"Page"},logo:(0,t.jsx)(u,{}),onAuthChange:m,onPreviewExit:()=>{fetch("/next/exit-preview").then(()=>{h.push("/"),h.refresh()})},style:{backgroundColor:"transparent",padding:0,position:"relative",zIndex:"unset"}})})})}],620906)},350155,e=>{"use strict";var t=e.i(715671),r=e.i(359613),n=e.i(64001);e.s(["HtmlLang",0,function(){let e=(0,t.usePathname)();return(0,r.useEffect)(()=>{let{locale:t}=(0,n.stripLocalePrefix)(e||"/"),r=n.LOCALE_HTML_LANG[t];document.documentElement.lang!==r&&(document.documentElement.lang=r)},[e]),null}])},548324,e=>{"use strict";var t=e.i(836703),r=e.i(677776),n=e.i(715671),a=e.i(359613),i=e.i(906030),l=e.i(64001);let o=/^\/dm(\/|$)/,s="hr_lang_banner",u={en:{text:"This page is also available in English.",switchLabel:"View in English",stayLabel:"No, thanks",close:"Close",region:"Language suggestion"},"es-ES":{text:"Esta página también está disponible en español.",switchLabel:"Ver en español",stayLabel:"No, gracias",close:"Cerrar",region:"Sugerencia de idioma"},fr:{text:"Cette page est aussi disponible en français.",switchLabel:"Voir en français",stayLabel:"Non, merci",close:"Fermer",region:"Suggestion de langue"},de:{text:"Diese Seite ist auch auf Deutsch verfügbar.",switchLabel:"Auf Deutsch ansehen",stayLabel:"Nein, danke",close:"SchlieÃen",region:"Sprachvorschlag"}};function c(e,t){try{window.localStorage.setItem(s,`${e}:${t}`)}catch{}}e.s(["LanguageSuggestionBanner",0,()=>{let e=(0,n.usePathname)()||"/",[d,f]=(0,a.useState)(null),{path:p,locale:h}=(0,l.stripLocalePrefix)(e),m=!l.LOCALE_SWITCH_HIDDEN_PATHS.test(p)&&!o.test(p);if((0,a.useEffect)(()=>{if(!m)return void f(null);if(d||function(){try{return null!==window.localStorage.getItem(s)}catch{return!1}}())return;let e=function(e){let t=(0,l.localeForLanguageTag)(e.browserLanguage);if(t)return t!==e.current&&(0,l.isPublicLocale)(t)?{locale:t,trigger:"language"}:null;let r=(0,l.localeForCountry)(e.country);return r&&r!==e.current&&(0,l.isPublicLocale)(r)?{locale:r,trigger:"country"}:null}({current:h,browserLanguage:navigator.language||navigator.languages?.[0]||"",country:function(e){try{let t=document.cookie.match(RegExp("(?:^|;\\s*)"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null}catch{return null}}("hr_country")});e&&(f(e),(0,i.pushDataLayer)({event:"lang_banner_shown",banner_path:window.location.pathname,browser_lang:navigator.language??"",suggested_locale:e.locale,trigger:e.trigger}))},[m,h]),!d||!m)return null;let g=u[d.locale],b=(0,l.localizeHref)(p,d.locale),y=()=>{c("dismissed",d.locale),(0,i.pushDataLayer)({event:"lang_banner_dismissed",banner_path:window.location.pathname,suggested_locale:d.locale,trigger:d.trigger}),f(null)};return(0,t.jsxs)("div",{role:"region","aria-label":g.region,lang:l.LOCALE_HREFLANG[d.locale],className:"fixed z-40 bottom-4 left-4 right-4 sm:right-auto sm:max-w-sm border border-hr-anchor-black/10 bg-hr-hull-white text-hr-anchor-black shadow-lg p-4 font-body text-sm",children:[(0,t.jsx)("p",{className:"pr-6",children:g.text}),(0,t.jsxs)("div",{className:"mt-3 flex items-center gap-3",children:[(0,t.jsx)(r.default,{href:b,hrefLang:l.LOCALE_HREFLANG[d.locale],onClick:()=>{c("switched",d.locale),(0,i.pushDataLayer)({event:"lang_banner_clicked",banner_path:window.location.pathname,banner_target:b,suggested_locale:d.locale,trigger:d.trigger}),f(null)},className:"bg-hr-anchor-black text-hr-hull-white px-4 py-2 text-[12px] uppercase leading-none tracking-[0.1em] hover:opacity-90 transition-opacity",children:g.switchLabel}),(0,t.jsx)("button",{type:"button",onClick:y,className:"text-hr-anchor-black/60 hover:text-hr-anchor-black text-sm underline underline-offset-2",children:g.stayLabel})]}),(0,t.jsx)("button",{type:"button",onClick:y,"aria-label":g.close,className:"absolute top-2 right-2 h-6 w-6 flex items-center justify-center text-hr-anchor-black/50 hover:text-hr-anchor-black",children:"Ã"})]})}],548324)},695439,e=>{"use strict";var t=e.i(836703),r=e.i(677776),n=e.i(715671),a=e.i(359613),i=e.i(550920);function l(e,t,r){if("u">typeof document)try{let n=Math.round(24*r*3600),a="u">typeof location&&"https:"===location.protocol?"; Secure":"";document.cookie=`${e}=${encodeURIComponent(t)}; Max-Age=${n}; Path=/; SameSite=Lax`+a}catch{}}var o=e.i(906030),s=e.i(64001),u=e.i(33613),c=e.i(159232);let d="hr_newsletter",f=/^\/(dm|contact|start)(\/|$)/,p={en:{heading:"Subscribe to our newsletter",body:"Product updates and the occasional note on AI in the real economy. No spam.",placeholder:"[email protected]",emailLabel:"Email address",submit:"Subscribe",submitting:"Subscribingâ¦",success:"You're in. You'll get our latest updates and newsletters.",error:"Something went wrong. Please try again.",invalidEmail:"Enter a valid email address.",rateLimited:"Too many attempts. Please try again later.",privacyPrefix:"By subscribing you agree to our ",privacyLink:"Privacy Policy",close:"Close"},"es-ES":{heading:"SuscrÃbete a nuestra newsletter",body:"Novedades de producto y alguna nota sobre la IA en la economÃa real. Sin spam.",placeholder:"[email protected]",emailLabel:"Correo electrónico",submit:"Suscribirme",submitting:"Env
1iandoâ¦",success:"¡Listo! Recibirás nuestras novedades y newsletters.",error:"Algo salió mal. Inténtalo de nuevo.",invalidEmail:"Introduce un correo electrónico válido.",rateLimited:"Demasiados intentos. Inténtalo de nuevo más tarde.",privacyPrefix:"Al suscribirte aceptas nuestra ",privacyLink:"PolÃtica de privacidad",close:"Cerrar"},fr:{heading:"Abonnez-vous à notre newsletter",body:"Les nouveautés produit et, de temps en temps, une note sur l'IA dans l'économie réelle. Sans spam.",placeholder:"[email protected]",emailLabel:"Adresse e-mail",submit:"S'abonner",submitting:"Inscriptionâ¦",success:"C'est fait. Vous recevrez nos dernières nouveautés et newsletters.",error:"Une erreur s'est produite. Veuillez réessayer.",invalidEmail:"Saisissez une adresse e-mail valide.",rateLimited:"Trop de tentatives. Veuillez réessayer plus tard.",privacyPrefix:"En vous abonnant, vous acceptez notre ",privacyLink:"Politique de confidentialité",close:"Fermer"},de:{heading:"Abonnieren Sie unseren Newsletter",body:"Produktneuigkeiten und gelegentlich eine Notiz zu KI in der Realwirtschaft. Kein Spam.",placeholder:"[email protected]",emailLabel:"E-Mail-Adresse",submit:"Abonnieren",submitting:"Wird gesendet â¦",success:"Sie sind dabei. Sie erhalten unsere neuesten Updates und Newsletter.",error:"Es ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.",invalidEmail:"Geben Sie eine gültige E-Mail-Adresse ein.",rateLimited:"Zu viele Versuche. Bitte versuchen Sie es später erneut.",privacyPrefix:"Mit dem Abonnieren akzeptieren Sie unsere ",privacyLink:"Datenschutzerklärung",close:"SchlieÃen"}};e.s(["NewsletterPopup",0,()=>{let e=(0,n.usePathname)()||"/",{path:h,locale:m}=(0,s.stripLocalePrefix)(e),g=p[m]??p[s.DEFAULT_LOCALE],[b,y]=(0,a.useState)(!1),[v,w]=(0,a.useState)("idle"),[x,E]=(0,a.useState)(""),[S,_]=(0,a.useState)(""),L=(0,a.useRef)("auto"),P=(0,a.useRef)(!1),k=(0,a.useRef)(!1),j=(0,a.useRef)(null),C=(0,a.useRef)(null),N=(0,i.isValidNewsletterEmail)(x),O="/press"===h||h.startsWith("/press/"),T=(0,a.useRef)(O);T.current=O;let I=(0,a.useCallback)(()=>null!==function(e){if("u"<typeof document)return null;try{let t=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=document.cookie.match(RegExp("(?:^|;\\s*)"+t+"=([^;]*)"));return r?decodeURIComponent(r[1]):null}catch{return null}}(d),[]),R=(0,a.useCallback)(()=>{P.current=!1,C.current&&(clearTimeout(C.current),C.current=null),y(!1)},[]),A=(0,a.useCallback)(e=>{T.current||P.current||(P.current=!0,L.current=e,w("idle"),y(!0),(0,o.pushDataLayer)({event:o.NEWSLETTER_EVENTS.shown,trigger:e,page:window.location.pathname}))},[]);(0,a.useEffect)(()=>{let e=()=>A("manual");return window.addEventListener("hr:open-newsletter",e),()=>window.removeEventListener("hr:open-newsletter",e)},[A]),(0,a.useEffect)(()=>{O&&P.current&&R()},[O,R]),(0,a.useEffect)(()=>{if(!("/"===h&&!f.test(h))||k.current||I())return;let e=!1,t=()=>{k.current||!e||!function(){try{let e=document.querySelectorAll('[class*="termly-styles-root"]');for(let t of Array.from(e))if("fixed"===getComputedStyle(t).position&&t.getBoundingClientRect().height>0)return!0;return!1}catch{return!1}}()&&(k.current=!0,i(),A("auto"))},r=()=>{window.scrollY>200&&(e=!0,t())},n=setTimeout(()=>{e=!0,t()},1e4),a=setInterval(t,1e3);function i(){clearTimeout(n),clearInterval(a),window.removeEventListener("scroll",r)}return window.addEventListener("scroll",r,{passive:!0}),i},[h,I,A]),(0,a.useEffect)(()=>{b&&"idle"===v&&j.current?.focus()},[b,v]);let $=(0,a.useCallback)(()=>{P.current&&(l(d,"dismissed",30),(0,o.pushDataLayer)({event:o.NEWSLETTER_EVENTS.dismissed,trigger:L.current,page:window.location.pathname}),R())},[R]);(0,a.useEffect)(()=>{if(!b)return;let e=e=>{"Escape"===e.key&&$()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[b,$]),(0,a.useEffect)(()=>()=>{C.current&&clearTimeout(C.current)},[]);let M=async e=>{e.preventDefault();let t=x.trim();if(!(0,i.isValidNewsletterEmail)(t)){w("invalid"),j.current?.focus();return}w("submitting");try{let e=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t,locale:m,page:window.location.pathname,trigger:L.current,website:S})});if(429===e.status)return void w("rate-limited");if(!e.ok)throw Error(`status ${e.status}`);l(d,"subscribed",365),(0,o.pushDataLayer)({event:o.NEWSLETTER_EVENTS.subscribed,trigger:L.current,page:window.location.pathname,email:t}),(0,u.identifyLead)(t,{newsletter_subscribed:!0}),w("success"),C.current=setTimeout(R,3200)}catch{w("error")}};if(!b)return null;let D=(0,s.localizeHref)("/legal/privacy-policy",m);return(0,t.jsxs)("div",{role:"dialog","aria-modal":"false","aria-label":g.heading,className:"fixed z-50 bottom-24 left-4 right-4 sm:left-auto sm:right-6 sm:bottom-24 sm:max-w-sm border border-hr-anchor-black/10 bg-hr-hull-white text-hr-anchor-black shadow-lg p-5 pb-8 font-body text-sm",children:[(0,t.jsx)("button",{type:"button",onClick:$,"aria-label":g.close,className:"absolute top-1.5 right-1.5 flex h-11 w-11 items-center justify-center text-xl leading-none text-hr-anchor-black/50 hover:text-hr-anchor-black",children:"Ã"}),"success"===v?(0,t.jsx)("p",{role:"status","aria-live":"polite",className:"pr-6 py-2 text-[15px] font-medium",children:g.success}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"pr-6 text-[15px] font-medium leading-snug",children:g.heading}),(0,t.jsx)("p",{className:"mt-1.5 text-[13px] leading-snug text-hr-anchor-black/70",children:g.body}),(0,t.jsxs)("form",{onSubmit:M,noValidate:!0,className:"mt-3.5",children:[(0,t.jsx)("input",{type:"text",name:"website",tabIndex:-1,autoComplete:"off","aria-hidden":"true",value:S,onChange:e=>_(e.target.value),className:"absolute left-[-9999px] h-0 w-0 opacity-0"}),(0,t.jsx)("label",{htmlFor:"newsletter-popup-email",className:"sr-only",children:g.emailLabel}),(0,t.jsx)("input",{ref:j,id:"newsletter-popup-email",type:"email",inputMode:"email",autoComplete:"email",required:!0,value:x,onChange:e=>{E(e.target.value),("invalid"===v||"error"===v||"rate-limited"===v)&&w("idle")},placeholder:g.placeholder,disabled:"submitting"===v,"aria-invalid":"invalid"===v||void 0,"aria-describedby":"invalid"===v||"error"===v||"rate-limited"===v?"newsletter-popup-error":void 0,className:"h-12 w-full border border-hr-anchor-black/20 bg-white px-3 text-base text-hr-anchor-black placeholder:text-hr-anchor-black/40 focu
1s:border-hr-anchor-black focus:outline-none disabled:opacity-60"}),(0,t.jsx)(c.DisabledButtonHint,{className:"mt-2 w-full",reason:"submitting"===v?g.submitting:N?void 0:g.invalidEmail,children:(0,t.jsx)("button",{type:"submit",disabled:!N||"submitting"===v,"aria-busy":"submitting"===v,className:"h-12 w-full bg-hr-anchor-black text-hr-hull-white text-[12px] uppercase leading-none tracking-[0.1em] transition-colors enabled:hover:opacity-90 disabled:cursor-not-allowed disabled:bg-hr-anchor-black/10 disabled:text-hr-anchor-black/35",children:"submitting"===v?g.submitting:g.submit})}),("invalid"===v||"error"===v||"rate-limited"===v)&&(0,t.jsx)("p",{id:"newsletter-popup-error",role:"alert",className:"mt-2 text-[12px] text-hr-rust",children:"invalid"===v?g.invalidEmail:"rate-limited"===v?g.rateLimited:g.error}),(0,t.jsxs)("p",{className:"mt-2.5 text-[11px] leading-snug text-hr-anchor-black/50",children:[g.privacyPrefix,(0,t.jsx)(r.default,{href:D,className:"underline underline-offset-2 hover:text-hr-anchor-black",children:g.privacyLink}),"."]})]})]})]})}],695439)},885929,e=>{"use strict";var t=e.i(836703),r=e.i(359613),n=e.i(780605);let a=(0,r.createContext)({setTheme:()=>null,theme:void 0});e.s(["ThemeProvider",0,({children:e})=>{let[i,l]=(0,r.useState)(n.default?document.documentElement.getAttribute("data-theme"):void 0),o=(0,r.useCallback)(e=>{document.documentElement.setAttribute("data-theme","light"),l("light")},[]);return(0,r.useEffect)(()=>{document.documentElement.setAttribute("data-theme","light"),l("light")},[]),(0,t.jsx)(a,{value:{setTheme:o,theme:i},children:e})},"useTheme",0,()=>(0,r.use)(a)])},354009,e=>{"use strict";var t=e.i(359613);function r(){let e=window.Termly?.getConsentState?.();if(!e||"function"!=typeof window.gtag)return;let t=!0===e.analytics?"granted":"denied",r=!0===e.advertising?"granted":"denied";window.gtag("consent","update",{analytics_storage:t,ad_storage:r,ad_user_data:r,ad_personalization:r})}e.s(["TermlyScripts",0,()=>((0,t.useEffect)(()=>{if(document.getElementById("termly-resource-blocker"))return;let e=document.createElement("script");e.id="termly-resource-blocker",e.src="https://app.termly.io/resource-blocker/d725edaf-9820-4761-a203-7a7772ed4806?autoBlock=off",e.async=!0,document.head.appendChild(e);let t=0,n=window.setInterval(()=>{if(window.Termly&&"function"==typeof window.Termly.on){window.clearInterval(n);try{window.Termly.on("initialized",r),window.Termly.on("consent",r)}catch{}r()}else++t>50&&window.clearInterval(n)},300);return()=>window.clearInterval(n)},[]),null)])}]);
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.