PageSourceSearch

https://skybox.blockadelabs.com/_next/static/chunks/app/layout-5e53fcd5ca0797a7.js

js blockadelabs.com collected 2026-10-02 02:55:53 UTC 17,772 bytes, 6 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{96220:function(e,t,n){Promise.resolve().then(n.bind(n,65489)),Promise.resolve().then(n.bind(n,14456)),Promise.resolve().then(n.bind(n,54260)),Promise.resolve().then(n.bind(n,62380)),Promise.resolve().then(n.bind(n,39396)),Promise.resolve().then(n.bind(n,274)),Promise.resolve().then(n.bind(n,22251)),Promise.resolve().then(n.bind(n,96642)),Promise.resolve().then(n.bind(n,43929)),Promise.resolve().then(n.bind(n,23591)),Promise.resolve().then(n.bind(n,36830)),Promise.resolve().then(n.bind(n,90611)),Promise.resolve().then(n.bind(n,84428)),Promise.resolve().then(n.bind(n,42079)),Promise.resolve().then(n.bind(n,87446)),Promise.resolve().then(n.bind(n,3878)),Promise.resolve().then(n.t.bind(n,7697,23)),Promise.resolve().then(n.t.bind(n,30523,23)),Promise.resolve().then(n.t.bind(n,78398,23)),Promise.resolve().then(n.bind(n,91679)),Promise.resolve().then(n.bind(n,531)),Promise.resolve().then(n.bind(n,40838)),Promise.resolve().then(n.bind(n,8244)),Promise.resolve().then(n.bind(n,14258)),Promise.resolve().then(n.bind(n,51008)),Promise.resolve().then(n.bind(n,64605)),Promise.resolve().then(n.bind(n,82137)),Promise.resolve().then(n.bind(n,55488)),Promise.resolve().then(n.bind(n,36821)),Promise.resolve().then(n.bind(n,12119)),Promise.resolve().then(n.bind(n,36332)),Promise.resolve().then(n.bind(n,53530)),Promise.resolve().then(n.bind(n,91934)),Promise.resolve().then(n.bind(n,59451)),Promise.resolve().then(n.bind(n,70658)),Promise.resolve().then(n.bind(n,5637)),Promise.resolve().then(n.bind(n,85809)),Promise.resolve().then(n.bind(n,6777)),Promise.resolve().then(n.bind(n,99459)),Promise.resolve().then(n.bind(n,69499)),Promise.resolve().then(n.bind(n,41515)),Promise.resolve().then(n.bind(n,54855))},65489:function(e,t,n){"use strict";n.r(t),n.d(t,{Providers:function(){return f},usePostHogInit:function(){return p}});var r=n(27573),s=n(7653),i=n(31253),l=n(65229),a=n(10040),o=n(77130),u=n(84594),d=n(79287),c=n(5362);let h=s.createContext(!1),p=()=>s.useContext(h),f=e=>{let{children:t}=e,[n]=s.useState(()=>new l.S),[p,f]=s.useState(!1);return(0,c.Z)(()=>{d.ZP.init("phc_4PKLcxIvC1sB1RaGBxZwUsgIav6GT6ytXfKVPt3eF3x",{api_host:"/ph",ui_host:"https://us.i.posthog.com",defaults:"2025-11-30",autocapture:!1,capture_pageview:!0,capture_pageleave:!1,disable_session_recording:!0,fetch_options:{cache:"force-cache",next_options:{revalidate:60,tags:["posthog"]}}}),d.ZP.reset(),f(!0)}),(0,r.jsx)(i.zf,{client:d.ZP,children:(0,r.jsx)(h.Provider,{value:p,children:(0,r.jsx)(u.zt,{children:(0,r.jsxs)(a.QueryClientProvider,{client:n,children:[t,(0,r.jsx)(o.t,{})]})})})})}},14456:function(e,t,n){"use strict";n.r(t),n.d(t,{TranslateFix:function(){return i}});var r=n(27573),s=n(7653);let i=e=>{let{children:t}=e;return(0,s.useLayoutEffect)(()=>{if("function"==typeof Node&&Node.prototype){let e=Node.prototype.removeChild;Node.prototype.removeChild=function(t){return t.parentNode!==this?(console&&console.error("Cannot remove a child from a different parent",t,this),t):e.apply(this,arguments)};let t=Node.prototype.insertBefore;Node.prototype.insertBefore=function(e,n){return n&&n.parentNode!==this?(console&&console.error("Cannot insert before a reference node from a different parent",n,this),e):t.apply(this,arguments)}}}),(0,r.jsx)(r.Fragment,{children:t})}},54260:function(e,t,n){"use strict";n.r(t),n.d(t,{GTM_ID:function(){return o},GoogleTagManager:function(){return c},pageview:function(){return u}});var r=n(27573),s=n(7653),i=n(32859),l=n(35221),a=n.n(l);let o="GTM-W4BRWQZ",u=e=>{let t=window;t.dataLayer&&t.dataLayer.push({event:"pageview",page:e})},d=()=>o,c=()=>{let e=(0,i.usePathname)(),t=(0,i.useSearchParams)();return(0,s.useEffect)(()=>{e&&u(e)},[e,t]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("noscript",{children:(0,r.jsx)("iframe",{src:`https://www.googletagmanager.com/ns.html?id=${d()}`,height:"0",width:"0",style:{display:"none",visibility:"hidden"}})}),(0,r.jsx)(a(),{id:"gtm-script",strategy:"beforeInteractive",dangerouslySetInnerHTML:{__html:`
2    (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
3    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
4    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
5    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
6    })(window,document,'script','dataLayer','${d()}');`}})]})}},62380:function(e,t,n){"use strict";n.r(t),n.d(t,{HydrateUser:function(){return u}});var r=n(27573),s=n(7653),i=n(32859),l=n(55999),a=n(69585),o=n(69569);let u=e=>{let{user:t}=e,{push:n}=(0,i.useRouter)();return(0,o.Pu)([[a.Y,!!t]]),(0,s.useEffect)(()=>{if(l.Be){let e=window;e.profitwell&&(t?e.profitwell("start",{user_email:t.email}):e.profitwell("start",{}))}(null==t?void 0:t.no_email_error)&&t.no_email_error&&n("/lacking-email")},[t,n]),(0,r.jsx)(r.Fragment,{})}},39396:function(e,t,n){"use strict";n.r(t),n.d(t,{ExportNotifications:function(){return p}});var r=n(27573),s=n(7653),i=n(77605),l=n(88e3),a=n(38042),o=n(20337),u=n(10040),d=n(29059),c=n(84594),h=n(72505);let p=()=>{let[e,t]=(0,c.KO)(o.W),[,n]=(0,c.KO)(o.X),{toast:p}=(0,d.pm)(),f=(0,u.useQueryClient)(),m=(0,c.b9)(a.aO),v=(0,c.b9)(l.eZ),[x,g]=(0,c.KO)(a.QP),[b,w]=(0,c.KO)(a.P8);return(0,s.useEffect)(()=>{if(!x)return;let e=setInterval(()=>{let e=Date.now(),t=e-x,n=b?e-b:t;if(n>=15e3){let{dismiss:n}=p({title:t<3e4?"Export still processing...":"Almost ready...",description:(0,r.jsx)("span",{onClick:()=>{v(!1),m(!0),n()},className:"cursor-pointer text-green-500 underline underline-offset-2",children:"Open Download Manager"}),duration:5e3});w(e)}},5e3);return()=>clearInterval(e)},[x,b,p,m,w,v]),(0,i.H)({channel:null==e?void 0:e.channel,event:null==e?void 0:e.event,onUpdate:async s=>{if(!e)return;"dispatched"!==s.status&&"processing"!==s.status||x||g(Date.now());let i=h.o[s.status];if(n(e=>({...e,status:s.status,progress:i>e.progress?i:e.progress})),f.invalidateQueries(["export-history"]),"complete"===s.status&&s.file_url){g(null),w(null);let{dismiss:e}=p({title:"Export ready.",description:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{onClick:()=>{m(!0),e()},className:"cursor-pointer text-green-500 underline underline-offset-2",children:"Open Download Manager"}),(0,r.jsx)("span",{children:" to download your file."})]}),duration:5e3});t(null),n({isLoading:!1,status:s.status,data:s,progress:h.o[s.status]})}("abort"===s.status||"error"===s.status)&&(g(null),w(null),t(null),n({isLoading:!1,status:s.status,data:s,progress:h.o[s.status]}))}}),null}},274:function(e,t,n){"use strict";n.r(t),n.d(t,{BlockedFeatureModal:function(){return v},FeatureBlockAction:function(){return f},FeatureBlockLabel:function(){return m},useFeatureBlock:function(){return a}});var r=n(7653),s=n(32732),i=n(84594);let l=(0,s.cn)({isOpen:!1,type:"premium"}),a=()=>{let[e,t]=(0,i.KO)(l),n=(0,r.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"premium";return t({isOpen:!0,type:e})},[t]),s=(0,r.useCallback)(()=>t(e=>{let{type:t}=e;return{isOpen:!1,type:t}}),[t]);return{isFeatureBlockModalOpen:e.isOpen,reason:e.type,openFeatureBlockModal:n,closeFeatureBlockModal:s}};var o=n(27573),u=n(2056),d=n.n(u),c=n(50432),h=n(29059),p=n(21587);let f=e=>{let{hasFeature:t,children:n,disabled:r=!1,reason:s}=e,{openFeatureBlockModal:i}=a();return(0,o.jsx)(c.g7,{onChange:e=>{t||r||(e.preventDefault(),e.stopPropagation(),i(s))},onClick:e=>{t||r||(e.preventDefault(),e.stopPropagation(),i(s))},children:n})},m=e=>{let{hasFeature:t,children:n,disabled:r=!1,withSparkle:s,withNew:i,className:l,sparkleClassName:u,newClassName:d,ref:c,...f}=e,{openFeatureBlockModal:m}=a();return(0,o.jsxs)(h.__,{ref:c,onClick:e=>{t||r||(e.preventDefault(),e.stopPropagation(),m())},className:(0,h.cn)("flex items-center gap-2",l),...f,children:[n,(0,o.jsxs)("div",{className:"flex items-center gap-1",children:[s&&(0,o.jsx)(p.JY,{className:(0,h.cn)("h-4 w-4 text-green-500",u)}),i&&(0,o.jsx)(p.J1,{className:(0,h.cn)("h-6 w-6 text-green-500",d)})]})]})},v=()=>{let{isFeatureBlockModalOpen:e,closeFeatureBlockModal:t,reason:n}=a();return(0,o.jsx)(h.Vq,{open:e,children:(0,o.jsxs)(h.cZ,{closable:!0,onClose:t,children:["subscription"===n&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(h.fK,{children:"Upgrade required"}),(0,o.jsx)(h.Be,{children:"This feature is available on a paid plan."}),(0,o.jsxs)(h.cN,{className:"flex gap-2",children:[(0,o.jsx)(h.zx,{variant:"outlined",onClick:t,children:"Cancel"}),(0,o.jsx)(h.zx,{asChild:!0,onClick:t,children:(0,o.jsx)(d(),{href:"/plans",children:"View plans"})})]})]}),"premium"===n&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(h.fK,{children:"Upgrade required"}),(0,o.jsx)(h.Be,{children:"This feature is available on Essential, Standard, or Business."}),(0,o.jsxs)(h.cN,{className:"flex gap-2",children:[(0,o.jsx)(h.zx,{variant:"outlined",onClick:t,children:"Cancel"}),(0,o.jsx)(h.zx,{asChild:!0,onClick:t,children:(0,o.jsx)(d(),{href:"/plans",children:"View plans"})})]})]}),"experimental"===n&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(h.fK,{children:"Upgrade to Standard"}),(0,o.jsx)(h.Be,{children:"This experimental feature is available on Standard and Business."}),(0,o.jsxs)(h.cN,{className:"flex gap-2",children:[(0,o.jsx)(h.zx,{variant:"outlined",onClick:t,children:"Cancel"}),(0,o.jsx)(h.zx,{asChild:!0,onClick:t,children:(0,o.jsx)(d(),{href:"/plans",children:"View plans"})})]})]})]})})}},22251:function(e,t,n){"use strict";n.r(t),n.d(t,{HydrateStarters:function(){return l}});var r=n(27573),s=n(78500),i=n(69569);let l=e=>{let{starters:t}=e;return(0,i.Pu)([[s.Q,t]]),(0,r.jsx)(r.Fragment,{})}},43929:function(e,t,n){"use strict";n.r(t),n.d(t,{M4UpgradeModal:function(){return d},useM4UpgradeModal:function(){return a}});var r=n(7653),s=n(32732),i=n(84594);let l=(0,s.cn)(!1),a=()=>{let[e,t]=(0,i.KO)(l),n=(0,r.useCallback)(()=>t(!0),[t]),s=(0,r.useCallback)(()=>t(!1),[t]);return{isM4UpgradeModalOpen:e,openM4UpgradeModal:n,closeM4UpgradeModal:s}};var o=n(27573),u=n(36830);let d=()=>{let{isM4UpgradeModalOpen:e,closeM4UpgradeModal:t}=a(),[n,r]=(0,u.useNextPlanLadderFlow)();return e||"offer"!==n.step?(0,o.jsx)(u.NextPlanLadderContent,{isOpen:e,onClose:t,flow:n,setFlow:r,targetTier:"standard"}):null}},23591:function(e,t,n){"use strict";n.r(t),n.d(t,{NavigationEvents:function(){return a}});var r=n(7653),s=n(32859),i=n(44989),l=n(84594);
6function a(){let e=(0,s.usePathname)(),t=(0,s.useSearchParams)(),[n,a]=(0,l.KO)(i.t);return(0,r.useEffect)(()=>{let n=`${e}?${t}`;"/error"!==e&&a(n)},[e,t,a]),null}},84428:function(e,t,n){"use strict";n.r(t),n.d(t,{PosthogIdentify:function(){return a}});var r=n(7653),s=n(65489),i=n(74707),l=n(31253);let a=()=>{var e;let{user:t}=(0,i.a)(),n=(0,l.U0)(),a=(0,s.usePostHogInit)();return(0,r.useEffect)(()=>{if(a&&(null==t?void 0:t.id)){var e;n.identify(String(t.id),{name:t.name,email:t.email,subscription:null===(e=t.subscription_plan)||void 0===e?void 0:e.subscription_name})}},[a,n,null==t?void 0:t.email,null==t?void 0:t.id,null==t?void 0:t.name,null==t?void 0:null===(e=t.subscription_plan)||void 0===e?void 0:e.subscription_name]),null}},42079:function(e,t,n){"use strict";n.r(t),n.d(t,{Rewardfull:function(){return o}});var r=n(7653),s=n(32859),i=n(74707),l=n(13447),a=n(54087);let o=()=>{let{user:e}=(0,i.a)(),t=(0,s.useSearchParams)();return(0,r.useEffect)(()=>{if("rewardful"in window){let t=window;t.rewardful("ready",()=>{"Rewardful"in t&&"referral"in t.Rewardful&&t.Rewardful.referral&&e&&(0,a.yi)(`/api/v1/account/rewardful?rewardful_id=${t.Rewardful.referral}`,{method:"POST"}).pipe(l.Q).catch(()=>{console.error("Error while updating user rewardful id",t.Rewardful.referral)})})}},[e,t]),null}},72530:function(e,t,n){"use strict";n.d(t,{N:function(){return m},_:function(){return h}});var r=n(27573),s=n(67344),i=n(74707),l=n(12682),a=n(13447),o=n(40604),u=n(29059),d=n(96415),c=n(43432);let h=e=>{let{url:t,isOpen:n,onClose:s,onConfirm:i}=e;return(0,r.jsx)(u.Vq,{open:!!t&&n,onOpenChange:e=>{e||s()},children:(0,r.jsxs)(u.cZ,{className:"lg:max-w-xl",closable:!0,children:[(0,r.jsxs)(u.fK,{children:[(0,r.jsx)(u.$N,{children:"Verify payment"}),(0,r.jsx)(u.Be,{children:"You'll be redirected to Stripe to verify this payment with your bank."})]}),(0,r.jsx)(u.cN,{className:"flex gap-2",children:(0,r.jsx)("a",{href:t,className:"text-inherit no-underline hover:text-inherit hover:no-underline",onClick:i,children:(0,r.jsx)(u.zx,{children:"Confirm"})})})]})})};
6class p extends Error{constructor(e,t){super(e),this.statusCode=t,this.name="VerifyPaymentError"}}let f={402:"Verification didn't go through. Try again, or update your payment method.",422:"Auto top-up is no longer waiting on your bank."},m=e=>{let{onVerified:t,children:n,...m}=e,{invalidate:v}=(0,i.a)(),{url:x,redirect:g,isFallbackOpen:b,closeFallback:w}=(0,s.V)(),{mutate:j,isLoading:y}=(0,o.useMutation)({mutationKey:["retry-auto-topup"],mutationFn:async()=>{let e=await (0,l.AU)().pipe(d.wEe,a.Q);if(c.nM(e)){let t=e.left;throw new p(t.message,"FetchError"===t._tag?t.statusCode:void 0)}return e.right},onSuccess:async e=>{let{charge:n}=e;if(null==n?void 0:n.payment_url){g(n.payment_url);return}if((null==n?void 0:n.status)==="requires_action"){(0,u.Am)({variant:"destructive",title:"Couldn't open the verification page. Try again."}),await v();return}await v(),(null==n?void 0:n.status)==="skipped"&&(0,u.Am)({variant:"success",title:"Auto top-up is back on."}),null==t||t()},onError:async e=>{(0,u.Am)({variant:"destructive",title:f[e.statusCode??0]??e.message}),await v()}});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.zx,{...m,disabled:m.disabled||y,loading:y,onClick:()=>j(),children:n??"Verify payment"}),(0,r.jsx)(h,{url:x,isOpen:b,onClose:w})]})}},87446:function(e,t,n){"use strict";n.r(t),n.d(t,{useWalletChargeFailed:function(){return a}});var r=n(7653),s=n(32732),i=n(84594);let l=(0,s.cn)("hidden"),a=()=>{let[e,t]=(0,i.KO)(l),n=(0,r.useCallback)(()=>t(e=>"dismissed"===e?e:"open"),[t]),s=(0,r.useCallback)(()=>t("dismissed"),[t]),a=(0,r.useCallback)(()=>t("hidden"),[t]);return{isWalletChargeFailedOpen:"open"===e,openWalletChargeFailed:n,closeWalletChargeFailed:s,resetWalletChargeFailed:a}}},3878:function(e,t,n){"use strict";n.r(t),n.d(t,{WalletUpdates:function(){return g}});var r=n(27573),s=n(7653),i=n(28198),l=n(3274),a=n(10040),o=n(29059),u=n(87446),d=n(77605),c=n(74707);let h=()=>{let{user:e}=(0,c.a)(),t=(0,a.useQueryClient)(),{openWalletChargeFailed:n,resetWalletChargeFailed:r}=(0,u.useWalletChargeFailed)(),h=(null==e?void 0:e.obfuscated_id)?`wallet_update_${e.obfuscated_id}`:void 0,p=(0,s.useCallback)(e=>{if(t.setQueryData(i.A,t=>t?{...t,balance:e.balance,auto_topup:{...t.auto_topup,...e.auto_topup}}:t),"locked"===e.event){n();return}r(),"success"===e.event&&(0,o.Am)({variant:"success",title:"Credits added.",description:e.amount?`${(0,l.s5)(e.amount)} added to your wallet.`:void 0})},[t,n,r]);(0,d.m)([{channel:h,event:h,onUpdate:p}])};var p=n(74903),f=n(9375),m=n(72530);let v="h-auto rounded-md px-4 py-2 text-sm font-semibold normal-case",x=()=>{let{wallet:e}=(0,c.a)(),{isWalletChargeFailedOpen:t,closeWalletChargeFailed:n}=(0,u.useWalletChargeFailed)(),s=(null==e?void 0:e.auto_topup.lock_reason)==="authentication_required";return(0,r.jsx)(f.pK,{isOpen:t,title:s?"Payment needs verification":"Couldn't add credits",actions:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f.OH,{onClick:n,children:"Cancel"}),s?(0,r.jsx)(m.N,{className:v,onVerified:n}):(0,r.jsx)(p.E,{className:v,onOpened:n})]}),children:(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("p",{className:"text-sm font-medium text-white-700",children:s?"Your bank needs to approve this payment. Verify it to finish adding credits. Your plan stays active.":"Update your payment method. Your plan stays active until your wallet runs out of credit."}),(0,r.jsx)("p",{className:"text-xs text-black-500",children:s?"Auto top-up is locked until the payment is verified.":"Auto top-up is locked until payment succeeds."})]})})},g=()=>(h(),(0,r.jsx)(x,{}))},67344:function(e,t,n){"use strict";n.d(t,{V:function(){return i}});var r=n(7653),s=n(29059);let i=()=>{let[e,t]=(0,r.useState)(null),{isOpen:n,onOpen:i,onClose:l}=(0,s.qY)(),a=(0,r.useRef)();(0,r.useEffect)(()=>()=>clearTimeout(a.current),[]);let o=(0,r.useCallback)(e=>{t(e);try{window.location.assign(e)}catch{i();return}a.current=setTimeout(i,2e3)},[i]);return{url:e,redirect:o,isFallbackOpen:n,closeFallback:l}}},77605:function(e,t,n){"use strict";n.d(t,{H:function(){return a},m:function(){return l}});var r=n(7653),s=n(63640),i=n(84594);function l(e){let[t]=(0,i.KO)(s.s),n=(0,r.useRef)(e);(0,r.useEffect)(()=>{n.current=e});let l=e.map(e=>`${e.channel}:${e.event}`).join("|");(0,r.useEffect)(()=>{let e=n.current.filter(e=>e.channel&&e.event),r=[];return e.forEach((e,s)=>{if(!e.channel||!e.event)return;let i=t.channels.find(e.channel),l=i??t.subscribe(e.channel),a=e=>{var t;return null===(t=n.current[s])||void 0===t?void 0:t.onUpdate(e)};l.bind(e.event,a),r.push({channel:e.channel,event:e.event,handler:a})}),()=>
6{r.forEach(e=>{var n;let{channel:r,event:s,handler:i}=e;null===(n=t.channels.find(r))||void 0===n||n.unbind(s,i)})}},[l,t])}function a(e){let{event:t,channel:n,onUpdate:l}=e,[a]=(0,i.KO)(s.s),o=(0,r.useRef)(l);return(0,r.useEffect)(()=>{o.current=l},[l]),(0,r.useEffect)(()=>{if(!n||!t||a.channels.find(n))return;let e=a.subscribe(n),r=o.current;return e.bind(t,r),()=>{a.unsubscribe(n)}},[n,t,a]),null}},44989:function(e,t,n){"use strict";n.d(t,{t:function(){return s}});var r=n(32732);let s=(0,r.cn)(null)},78398:function(){}},function(e){e.O(0,[5458,7909,9442,8449,9265,9804,6710,1501,4594,7943,5517,1070,6996,8935,7899,7540,5677,4791,1587,8513,4316,1293,1053,1744],function(){return e(e.s=96220)}),_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.