1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4851],{7990:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/creator/registration",function(){return i(70313)}])},70313:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return S}});var n=i(52322),a=i(76026),r=i(32799),o=i(96577),l=i.n(o),s=i(45847),c=i.n(s),d=i(2784),g=i(35505),m=i(24511),u=i(11445),h=i(22061),p=i(93864),f=i(29152);let x="GTM-5H4N6RR3",w=(0,g.iv)(["max-width:320px;margin:0 auto;"]),y=g.ZP.section.withConfig({componentId:"sc-59497790-0"})(["background-color:#000;height:100vh;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;"]),j=(0,g.ZP)(l()).withConfig({componentId:"sc-59497790-1"})(["pointer-events:none;"]),v=g.ZP.div.withConfig({componentId:"sc-59497790-2"})(["position:relative;width:100%;height:100%;"]),Z=g.ZP.div.withConfig({componentId:"sc-59497790-3"})(["margin:0 auto;position:absolute;top:30%;left:50%;transform:translate(-50%,-30%);text-align:center;"]),b=g.ZP.p.withConfig({componentId:"sc-59497790-4"})(["text-align:center;font-size:24px;font-style:normal;font-weight:600;line-height:normal;padding:16px;"]),C=g.ZP.form.withConfig({componentId:"sc-59497790-5"})(["text-align:left;",";"],w),_=g.ZP.div.withConfig({componentId:"sc-59497790-6"})(["display:flex;flex-direction:column;",";margin-top:16px;"],w),N=g.ZP.p.withConfig({componentId:"sc-59497790-7"})(["text-align:center;font-size:24px;font-style:normal;font-weight:600;line-height:normal;padding:16px;"]);var S=!0;t.default=()=>{let[e,t]=(0,d.useState)(!1),[i,o]=(0,d.useState)(!1),[s,g]=(0,d.useState)(null),[w,S]=(0,d.useState)(0),{values:E,errors:P,handleChange:I,handleSubmit:T}=(0,r.TA)({initialValues:{email:"",creatorName:""},onSubmit:async e=>{if(!s){alert(f.Z.t("Please complete the security verification"));return}t(!0);try{await a.DY.registerCreator({creatorName:e.creatorName,creatorEmail:e.email,turnstileToken:s}),o(!0)}catch(e){e instanceof Error&&alert(e.message),console.error(e),g(null),S(e=>e+1)}finally{t(!1)}},validateOnBlur:!1,validateOnChange:!1,validationSchema:m.Ry().shape({email:m.Z_().required(f.Z.t("Email required")).email(f.Z.t("Enter valid email")),creatorName:m.Z_().required(f.Z.t("Name required"))})});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c(),{id:"gtm-creator",strategy:"afterInteractive",children:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
1j.src=\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n})(window,document,'script','dataLayer','".concat(x,"');")}),(0,n.jsx)("noscript",{children:(0,n.jsx)("iframe",{src:"https://www.googletagmanager.com/ns.html?id=".concat(x),height:"0",width:"0",style:{display:"none",visibility:"hidden"}})}),(0,n.jsxs)(y,{children:[(0,n.jsx)(v,{children:(0,n.jsx)(j,{src:"/images/creator-landing-hero.png",alt:"Stargaze hero image",layout:"fill",objectFit:"cover"})}),(0,n.jsxs)(Z,{children:[(0,n.jsx)(l(),{src:"https://firebasestorage.googleapis.com/v0/b/tivio-production.appspot.com/o/web-assets%2Flogos%2Fstargaze-logo.svg?alt=media",alt:"Stargaze logo",width:247,height:44}),i?(0,n.jsx)(N,{children:f.Z.t("Thank you for your interest in Stargaze. We wish you a lot of success!")}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b,{children:f.Z.t("Start working with us")}),(0,n.jsx)(C,{onSubmit:T,children:(0,n.jsxs)(p.s,{spacing:2,children:[(0,n.jsxs)(u.S,{children:[(0,n.jsx)(a.wx.TextInput,{fullWidth:!0,name:"email",value:E.email,type:"email",onChange:I,required:!0,error:f.Z.t(P.email),label:f.Z.t("E-mail"),placeholder:f.Z.t("E-mail")}),(0,n.jsx)(a.wx.TextInput,{fullWidth:!0,name:"creatorName",value:E.creatorName,type:"text",onChange:I,required:!0,error:f.Z.t(P.creatorName),label:f.Z.t("Creator name"),placeholder:f.Z.t("Creator name")})]}),(0,n.jsx)(h.A,{action:"register_creator",errorLabel:f.Z.t("Security verification could not be loaded"),loadingLabel:f.Z.t("Loading security verification..."),onTokenChange:g,resetKey:w,retryLabel:f.Z.t("Try again")}),(0,n.jsx)(_,{children:(0,n.jsx)(a.wx.Button,{label:f.Z.t("Create account"),size:"large",isSubmit:!0,isDisabled:e||!s})})]})})]})]})]})]})}},11445:function(e,t,i){"use strict";i.d(t,{S:function(){return n}});let n=i(35505).ZP.div.withConfig({componentId:"sc-6676a9a8-0"})(["display:flex;flex-direction:column;gap:16px;"])},45847:function(e,t,i){e.exports=i(19406)}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=7990)}),_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.