PageSourceSearch

https://www.pinwheel.earth/_next/static/chunks/pages/login/magic-link-confirm-7f476eeb2f683c28.js

js pinwheel.earth collected 2026-10-08 01:12:16 UTC 4,560 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:{},o=(new e.Error).stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="77c0a475-96ad-4ef9-b66a-edf8c599aeaa",e._sentryDebugIdIdentifier="sentry-dbid-77c0a475-96ad-4ef9-b66a-edf8c599aeaa")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9083],{24322:(e,o,r)=>{e.exports=r(66731)},37055:(e,o,r)=>{"use strict";r.d(o,{A:()=>s});var n=r(26514),t=r(24322),l=r.n(t),a=r(92262);let s=e=>{let{title:o,description:r,absoluteThumbnailURL:t=null,relativeThumbnailURL:s=null,noTitlePrefix:i=!1,noIndex:d=!1,titlePrefix:c=" | Pinwheel",children:u}=e,p="https://www.pinwheel.earth";o=i?o:o+c;let m=t||(s?p+"/"+(0,a.Jp)(s):"".concat(p,"/img/thumbnails/pinwheel-projects.png"));return(0,n.jsxs)(l(),{children:[(0,n.jsx)("title",{children:o}),(0,n.jsx)("meta",{name:"description",content:r}),(0,n.jsx)("meta",{property:"og:title",content:o}),(0,n.jsx)("meta",{property:"og:description",content:r}),(0,n.jsx)("meta",{property:"og:image",content:m}),d&&(0,n.jsx)("meta",{name:"robots",content:"noindex"}),(0,n.jsx)("link",{rel:"icon",href:"/img/favicon/favicon.ico"}),!!u&&u]})}},56989:(e,o,r)=>{"use strict";r.d(o,{S:()=>n});var n=function(e){return e.wilderness="wilderness",e.oceanRescue="ocean_rescue",e.cleanTech="clean_tech",e.newHorizons="new_horizons",e.diamond="diamond",e}({})},70027:(e,o,r)=>{"use strict";r.r(o),r.d(o,{__N_SSG:()=>d,default:()=>c});var n=r(26514),t=r(75834),l=r(46225),a=r(37055),s=r(14765),i=r(83422),d=!0;let c=()=>{let{setNavbarStyle:e,setFooterStyle:o}=(0,s.f)(),r=(0,l.useRouter)(),[d,c]=(0,t.useState)(!1);(0,t.useEffect)(()=>{e({navbarColor:"navy",navbarMobileHamburgerIconColor:"navy",navbarTabletHamburgerIconColor:"navy",navbarLogo:"dark"}),o({showShortFooter:!0,footerBackgroundColor:"navy"})},[]),(0,t.useEffect)(()=>{r.isReady&&(r.query.token||r.replace("/login/magic-link?magic-link-error=invalid"))},[r.isReady,r.query.token]);let u=r.isReady?r.query.token:null;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.A,{title:"Confirm login",description:"Click to complete your login to your Pinwheel account."}),(0,n.jsx)("main",{className:"min-h-screen bg-paper text-navy",children:(0,n.jsx)(i.A,{className:"xl:px-52 py-8 pt-32 sm:pt-44 sm:pb-36 space-y-16 flex flex-col items-center",children:(0,n.jsx)("div",{className:"flex flex-col items-center flex-1 max-w-xl w-full mx-auto space-y-14",children:u?(0,n.jsxs)("div",{className:"flex flex-col items-center space-y-10 text-center w-full",children:[(0,n.jsxs)("div",{className:"flex flex-col justify-center",children:[(0,n.jsx)("h1",{className:"font-black text-heading2 sm:text-heading1",children:"Complete your sign in"}),(0,n.jsx)("p",{className:"text-body21 mt-4 max-w-md mx-auto",children:"Click the button below to complete signing in. This link can only be used once."})]}),(0,n.jsxs)("form",{method:"POST",action:"".concat("https://api.pinwheel.earth","/api/auth/sso/complete/magic-link"),onSubmit:()=>c(!0),className:"w-full",children:[(0,n.jsx)("input",{type:"hidden",name:"token",value:u}),(0,n.jsx)("button",{type:"submit",disabled:d,className:"max-w-md w-full py-4 px-10 rounded-full border border-wilderness bg-paper text-navy text-body16 font-normal hover:bg-wilderness transition-colors disabled:opacity-50",children:d?"Logging in…":"Log in"})]})]}):null})})})]})}},92262:(e,o,r)=>{"use strict";r.d(o,{Jp:()=>t,_E:()=>l,gB:()=>s});var n=r(56989);let t=e=>{let o=e.trim();return"/"===o.charAt(0)&&(o=o.substring(1)),o},l=(e,o)=>({type:"Feature",geometry:o,properties:{name:e}}),a={[n.S.wilderness]:{hexcode:"#17FF60",darkHexCode:"#0B1221",darkColor:"navy",footerColor:"navy",borderColor:"border-wilderness"},[n.S.oceanRescue]:{hexcode:"#00FFEF",darkHexCode:"#001533",darkColor:"deep-blue",footerColor:"deep-blue",borderColor:"border-ocean-rescue"},[n.S.cleanTech]:{hexcode:"#FFA200",darkHexCode:"#1A0300",darkColor:"palm-brown",footerColor:"palm-brown",borderColor:"border-clean-tech"},[n.S.newHorizons]:{hexcode:"#FF69E7",darkHexCode:"#19013D",darkColor:"sunset-purple",footerColor:"sunset-purple",borderColor:"border-new-horizons"},[n.S.diamond]:{hexcode:"#0B1221",darkHexCode:"#0B1221",darkColor:"navy",footerColor:"navy",borderColor:"border-navy"}},s=(e,o)=>{let r=a[e];return null==r?void 0:r[o]}},93084:(e,o,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/login/magic-link-confirm",function(){return r(70027)}])}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=93084)),_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.