1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b4ed27e1-214e-466d-a9c3-1951b6b427eb",e._sentryDebugIdIdentifier="sentry-dbid-b4ed27e1-214e-466d-a9c3-1951b6b427eb")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6805],{12258:function(e,t,n){Promise.resolve().then(n.bind(n,34885)),Promise.resolve().then(n.bind(n,85254)),Promise.resolve().then(n.t.bind(n,38173,23)),Promise.resolve().then(n.t.bind(n,231,23))},34885:function(e,t,n){"use strict";n.d(t,{CheckoutBuyButton:function(){return s}});var o=n(57437),r=n(2265),i=n(64503),a=n(85254);let c={leads:"leads","leads-annual":"leads-annual",tools:"tools","tools-q4":"tools-q4","leads-pro":"leads-pro","mentorship-monthly":"mentorship","mentorship-annual":"mentorship-annual","mentorship-pro":"mentorship-pro",books:"books","masterclass-member":"","masterclass-early":"","masterclass-public":""};function s(e){let{slug:t,kind:n,accent:s,isSignedIn:l,firstPaymentGBP:u}=e,[f,p]=(0,r.useState)(!1),[m,b]=(0,r.useState)(""),[h,g]=(0,r.useState)(null);if("subscription"===n){if(!l)return(0,o.jsx)("button",{id:a.b,type:"button",disabled:f,onClick:()=>{p(!0);let e=encodeURIComponent("/checkout/".concat(t));window.location.href="/api/auth/discord/free-join?returnTo=".concat(e)},style:d(s,f,"discord"),children:f?"Redirecting to Discordâ¦":"1ï¸â£ Connect Discord to continue â"});let e=c[t];return(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{padding:"10px 14px",background:"rgba(74,222,128,0.10)",border:"1px solid rgba(74,222,128,0.35)",borderRadius:"10px",fontSize:"13px",color:"#86efac",marginBottom:"12px"},children:"â Discord connected â your roles will be assigned automatically as soon as payment completes."}),(0,o.jsx)("button",{id:a.b,type:"button",disabled:f,onClick:()=>{p(!0),(0,i.hI)({content_name:t,..."number"==typeof u?{value:u}:{},currency:"GBP"}),window.location.href="/api/stripe/checkout?tier=".concat(encodeURIComponent(e))},style:d(s,f),children:f?"Opening secure checkoutâ¦":"2ï¸â£ Continue to payment â"})]})}if(!l)return(0,o.jsx)("button",{type:"button",disabled:f,onClick:()=>{p(!0);let e=encodeURIComponent("/checkout/".concat(t));window.location.href="/api/auth/discord/free-join?returnTo=".concat(e)},style:d(s,f,"discord"),children:f?"Redirecting to Discordâ¦":"1ï¸â£ Connect Discord to continue â"});async function y(){var e,n;g(null);let o=m.trim().toLowerCase();if(!o||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(o)){g("Please enter a valid email address.");return}p(!0);try{let n=await fetch("/api/stripe/masterclass-checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({slug:t,email:o})}),r=await n.json();if(!n.ok||!r.url){g(null!==(e=r.error)&&void 0!==e?e:"Could not start checkout."),p(!1);return}window.location.href=r.url}catch(e){g(null!==(n=null==e?void 0:e.message)&&void 0!==n?n:"Network error. Try again."),p(!1)}}return(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{style:{padding:"10px 14px",background:"rgba(74,222,128,0.10)",border:"1px solid rgba(74,222,128,0.35)",borderRadius:"10px",fontSize:"13px",color:"#86efac",marginBottom:"14px"},children:"â Discord connected â your cohort channel access is auto-assigned the moment payment clears."}),(0,o.jsx)("label",{htmlFor:"buyer-email",style:{display:"block",fontSize:"13px",fontWeight:700,color:"#bbb",marginBottom:"8px"},children:"Email for receipt + cohort updates"}),(0,o.jsx)("input",{id:"buyer-email",type:"email",value:m,onChange:e=>b(e.target.value),placeholder:"[email protected]",autoComplete:"email",style:{width:"100%",padding:"14px 16px",background:"#0a0a0a",border:"1px solid #2a2a2a",borderRadius:"10px",color:"#fff",fontSize:"15px",marginBottom:"12px",fontFamily:"inherit"}}),(0,o.jsx)("button",{type:"button",disabled:f,onClick:y,style:d(s,f),children:f?"Opening secure checkoutâ¦":"2ï¸â£ Continue to payment â"}),h&&(0,o.jsx)("div",{role:"alert",style:{marginTop:"14px",padding:"12px 16px",background:"rgba(248,113,113,0.10)",border:"1px solid rgba(248,113,113,0.30)",borderRadius:"10px",color:"#fecaca",fontSize:"13.5px",lineHeight:1.55},children:h})]})}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";return{width:"100%",padding:"16px 22px",background:t?"#222":"discord"===n?"linear-gradient(135deg, #5865f2, #7289da)":"linear-gradient(135deg, ".concat(e,", ").concat(e,"cc)"),color:t?"#888":"discord"===n?"#fff":"#000",border:"none",borderRadius:"12px",fontSize:"15px",fontWeight:800,letterSpacing:"0.02em",cursor:t?"wait":"pointer",fontFamily:"inherit",transition:"transform 0.15s ease"}}},85254:function(e,t,n){"use strict";n.d(t,{MobileStickyCta:function(){return a},b:function(){return i}});var o=n(57437),r=n(2265);let i="checkout-buy-button";function a(e){let{accent:t,priceLabel:n,isSignedIn:a}=e,[c,s]=(0,r.useState)(!1),[d,l]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=document.getElementById(i);if(!e||"undefined"==typeof IntersectionObserver)return;let t=new IntersectionObserver(e=>s(e.some(e=>e.isIntersecting)),{threshold:.4});return t.observe(e),()=>t.disconnect()},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n .co-sticky { display: none; }\n @media (max-width: 767px) {\n .co-sticky { display: flex; }\n .co-sticky-pad { padding-bottom: 96px !important; }\n }\n "}}),(0,o.jsxs)("div",{className:"co-sticky","aria-hidden":c,style:{position:"fixed",left:0,right:0,bottom:0,zIndex:40,padding:"10px 14px calc(10px + env(safe-area-inset-bottom, 0px))",background:"rgba(10,10,10,0.94)",backdropFilter:"blur(8px)",WebkitBackdropFilter:"blur(8px)",borderTop:"1px solid ".concat(t,"40"),alignItems:"center",gap:"12px",transform:c?"translateY(110%)":"translateY(0)",transition:"transform .2s ease",pointerEvents:c?"none":"auto"},children:[(0,o.jsx)("div",{style:{flex:"0 0 auto",color:"#fff",fontWeight:800,fontSize:"15px",letterSpacing:"-0.01em"},children:n}),(0,o.jsx)("button",{type:"button",onClick:function(){let e=document.getElementById(i);e&&(l(!0),e.click())},disabled:d,tabIndex:c?-1:0,style:{flex:1,minHeight:"46px",padding:"11px 14px",border:"none",borderRadius:"10px",background:d?"#222":a?"linear-gradient(135deg, ".concat(t,", ").concat(t,"cc)"):"linear-gradient(135deg, #5865f2, #7289da)",color:d?"#888":a?"#000":"#fff",fontSize:"14px",fontWeight:800,letterSpacing:"0.01em",curs
1or:d?"wait":"pointer",fontFamily:"inherit"},children:d?"One momentâ¦":a?"Continue to payment â":"Connect Discord to continue â"})]})]})}},64503:function(e,t,n){"use strict";n.d(t,{default:function(){return g},$Q:function(){return h},_H:function(){return q},hI:function(){return w},Qc:function(){return k},Q4:function(){return v}});var o=n(57437),r=n(2265),i=n(84080),a=n.n(i),c=n(16463),s=n(20357);let d="ic-cookie-consent-changed",l="ic-ad-pixels-ready",u=/^[A-Za-z0-9_-]{1,64}$/,f=m("2036619497056665"),p=m(s.env.NEXT_PUBLIC_TIKTOK_PIXEL_ID);function m(e){let t=(null!=e?e:"").trim();return u.test(t)?t:null}function b(){return(!!f||!!p)&&(!f||"function"==typeof window.fbq)&&(!p||!!window.ttq)}function h(e){if(!f&&!p)return()=>{};if(b())return e(),()=>{};let t=()=>{window.removeEventListener(l,t),e()};return window.addEventListener(l,t),()=>window.removeEventListener(l,t)}function g(){let e=!!(f||p),[t,n]=(0,r.useState)(!1),i=(0,c.usePathname)(),s=(0,r.useRef)(null);return((0,r.useEffect)(()=>{if(!e)return;let t=()=>{(function(){try{return"accepted"===localStorage.getItem("ic-cookie-consent")}catch(e){return!1}})()&&n(!0)};return t(),window.addEventListener(d,t),()=>window.removeEventListener(d,t)},[e]),(0,r.useEffect)(()=>{if(!t)return;let e=0,n=null,o=()=>{b()?window.dispatchEvent(new Event(l)):++e<30&&(n=setTimeout(o,100))};return o(),()=>{n&&clearTimeout(n)}},[t]),(0,r.useEffect)(()=>{if(t&&i){if(null===s.current){s.current=i;return}s.current!==i&&(s.current=i,f&&"function"==typeof window.fbq&&window.fbq("track","PageView"),p&&window.ttq&&window.ttq.page())}},[t,i]),t)?(0,o.jsxs)(o.Fragment,{children:[f&&(0,o.jsx)(a(),{id:"ic-meta-pixel",strategy:"afterInteractive",children:"!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');"+"fbq('init','".concat(f,"');fbq('track','PageView');")}),p&&(0,o.jsx)(a(),{id:"ic-tiktok-pixel",strategy:"afterInteractive",children:'!function(w,d,t){w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie","holdConsent","revokeConsent","grantConsent"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var r="https://analytics.tiktok.com/i18n/pixel/events.js",o=n&&n.partner;ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=r,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};var a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=r+"?sdkid="+e+"&lib="+t;var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(a,s)};'+"ttq.load('".concat(p,"');ttq.page();}(window,document,'ttq');")})]}):null}function y(e){let t={};for(let[n,o]of Object.entries(e))void 0!==o&&(t[n]=o);return t}function x(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{f&&"function"==typeof window.fbq&&window.fbq("track",e,y({...n})),p&&window.ttq&&window.ttq.track(t,function(e){var t,n,o,r;let i=null!==(n=null===(t=e.content_ids)||void 0===t?void 0:t[0])&&void 0!==n?n:e.content_name;return y({content_type:null!==(o=e.content_type)&&void 0!==o?o:"product",content_id:i,content_name:e.content_name,value:e.value,currency:e.currency,contents:i?[y({content_id:i,content_type:null!==(r=e.content_type)&&void 0!==r?r:"product",content_name:e.content_name,price:e.value,quantity:1})]:void 0})}(n))}catch(e){}}function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x("ViewContent","ViewContent",e)}function w(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x("InitiateCheckout","InitiateCheckout",e)}function k(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x("Purchase","CompletePayment",e)}function q(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};x("CompleteRegistration","CompleteRegistration",e)}},16463:function(e,t,n){"use strict";var o=n(71169);n.o(o,"usePathname")&&n.d(t,{usePathname:function(){return o.usePathname}}),n.o(o,"useRouter")&&n.d(t,{useRouter:function(){return o.useRouter}}),n.o(o,"useSearchParams")&&n.d(t,{useSearchParams:function(){return o.useSearchParams}})}},function(e){e.O(0,[231,8173,2971,3372,1744],function(){return e(e.s=12258)}),_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.