PageSourceSearch

https://www.mage.space/_next/static/chunks/9912.e913fa480135ff7c.js

js mage.space collected 2026-09-24 19:38:17 UTC 2,803 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="4e5e00d8-beff-41df-a8b8-7923f4316d83",e._sentryDebugIdIdentifier="sentry-dbid-4e5e00d8-beff-41df-a8b8-7923f4316d83")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9912],{79912:(e,a,t)=>{t.d(a,{ActivatePowerPackModal:()=>x});var i=t(95155),r=t(34477);let s=(0,r.createServerReference)("00fb3b008ae8769916f08809bd36fccd1ed24b7965",r.callServer,void 0,r.findSourceMapURL,"activatePowerPack");var l=t(61282),n=t(77567),c=t(16791),o=t(60506),d=t(32191),b=t(18403),g=t(21220),p=t(70112),w=t(93751),f=t(95642),u=t(58887),h=t(26903),v=t(66610),k=t(91423),P=t(12115);function x(){let{availablePowerPacks:e,isDesktop:a}=(0,n.VT)("availablePowerPacks","isDesktop"),[t,r]=(0,P.useState)(!1),{hovered:x,ref:y}=(0,v.useHover)(),A=async()=>{if(!(0,d.Hl)(l.c.BASIC))return(0,c.bA)({title:"Active Membership Required",message:"Power Packs require an active Mage membership."});r(!0);try{let e=await s(),a=n.xV.getState();e?(a.setActivePowerPack(e),a.setAvailablePowerPacks(a.availablePowerPacks.filter(a=>a.id!==e.id)),a.setUserMembership(l.c.MAX),(0,c.wB)({title:"Power Pack Activated",message:"Your power pack is now active! ⚡ Happy generating!",autoClose:1e4})):(await (0,o.A)().catch(()=>{}),(0,c.bA)({title:"No Power Packs Available",message:"You don't have any available power packs to activate."})),(0,k.s7)()}catch(e){(0,c.p6)({title:"Activation Failed",message:"We had an issue activating your power pack. Please try again?"})}finally{r(!1)}};return(0,i.jsx)(b.Card,{bg:"black",withBorder:!0,p:"lg",radius:"lg",children:(0,i.jsxs)(g.Stack,{gap:"lg",children:[(0,i.jsxs)(p.Group,{justify:"space-between",children:[(0,i.jsx)(w.Title,{order:3,c:"white",children:a?"Activate Power Pack":"Activate"}),(0,i.jsx)(f.CloseButton,{onClick:()=>(0,k.s7)(),"aria-label":"Close modal",size:"lg",c:"white"})]}),(0,i.jsxs)(u.Text,{c:"white",size:"md",children:["You have ",e.length," Power Pack",1!==e.length?"s":""," available. Activate one now?"]}),(0,i.jsx)(h.Button,{ref:y,size:"xl",loading:t,onClick:A,color:"black",variant:"light",style:{boxShadow:x?"\n              0 0 30px rgba(255, 165, 0, 0.45),\n              0 0 60px rgba(255, 140, 0, 0.3),\n              0 0 90px rgba(255, 140, 0, 0.15),\n              0 6px 12px rgba(0, 0, 0, 0.4)\n            ":"\n              0 0 20px rgba(255, 165, 0, 0.3),\n              0 0 40px rgba(255, 140, 0, 0.2),\n              0 0 60px rgba(255, 140, 0, 0.1),\n              0 4px 8px rgba(0, 0, 0, 0.3)\n            ",transition:"all 0.3s ease"},c:"white",fw:600,children:"⚡ Activate"})]})})}}}]);

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.