PageSourceSearch

https://dash.byteproxies.io/_next/static/chunks/app/(auth)/sign-up…?dpl=dpl_GL8sTSXjWdCubUJdco4t2WwQsxT8

js byteproxies.io collected 2026-10-02 01:58:13 UTC 8,376 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9431],{95226:function(e,s,t){Promise.resolve().then(t.t.bind(t,38173,23)),Promise.resolve().then(t.t.bind(t,231,23)),Promise.resolve().then(t.bind(t,37339)),Promise.resolve().then(t.bind(t,89921))},89921:function(e,s,t){"use strict";var r=t(57437),a=t(89523),l=t(576),o=t(31014),n=t(16463),i=t(2265),c=t(39343),d=t(80537);let m=d.Ry({email:d.Z_().email("Invalid email address"),password:d.Z_().min(8,"Password must be at least 8 characters long").regex(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)/,"Password must contain at least one uppercase letter, one lowercase letter, and one number"),confirmPassword:d.Z_(),acceptTerms:d.O7().refine(e=>!0===e,{message:"You must accept the Terms of Service and Privacy Policy"})}).refine(e=>e.password===e.confirmPassword,{message:"Passwords do not match",path:["confirmPassword"]});s.default=()=>{var e,s,t;let[d,p]=(0,i.useState)(!1),[u,h]=(0,i.useState)(null),x=(0,n.useRouter)(),{register:f,handleSubmit:b,formState:{errors:g}}=(0,c.cI)({resolver:(0,o.F)(m)}),w=async e=>{try{p(!0),h(null);let s=await fetch("/api/auth/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e.email.toLowerCase().trim(),password:e.password})}),t=await s.json();if(!s.ok)throw Error(t.error||"Registration failed");x.push("/login")}catch(e){h(e instanceof Error?e.message:"Registration failed")}finally{p(!1)}},v=[{HtmlFor:"email",LabelName:"Email",InputId:"email",InputType:"email",InputPlaceHolder:"[email protected]",error:null===(e=g.email)||void 0===e?void 0:e.message},{HtmlFor:"password",LabelName:"Password",InputId:"password",InputType:"password",InputPlaceHolder:"************",error:null===(s=g.password)||void 0===s?void 0:s.message},{HtmlFor:"confirmPassword",LabelName:"Confirm Password",InputId:"confirmPassword",InputType:"password",InputPlaceHolder:"************",error:null===(t=g.confirmPassword)||void 0===t?void 0:t.message}];return(0,r.jsxs)("form",{onSubmit:b(w),className:"mb-3",children:[u&&(0,r.jsx)("div",{className:"mb-4 rounded-lg bg-red-50 p-4 text-sm text-red-500",children:u}),v.map(e=>(0,r.jsx)("div",{className:"mb-4",children:(0,r.jsx)(l.Z,{HtmlFor:e.HtmlFor,LabelName:e.LabelName,InputId:e.InputId,InputType:e.InputType,InputPlaceHolder:e.InputPlaceHolder,showPasswordToggle:"password"===e.InputType,error:e.error,...f(e.HtmlFor)})},e.InputId)),(0,r.jsx)("div",{className:"mb-4",children:(0,r.jsxs)("div",{className:"flex items-start",children:[(0,r.jsx)("div",{className:"flex h-5 items-center",children:(0,r.jsx)("input",{type:"checkbox",id:"acceptTerms",...f("acceptTerms"),className:"h-4 w-4 rounded border-gray-300 text-blue-600 focus:ring-blue-500"})}),(0,r.jsxs)("div",{className:"ml-3",children:[(0,r.jsxs)("label",{htmlFor:"acceptTerms",className:"text-sm text-gray-600",children:["I agree to the"," ",(0,r.jsx)("a",{href:"https://byteproxies.io/terms-conditions/",className:"text-blue-600 hover:underline",target:"_blank",children:"Terms of Service"})," ","and"," ",(0,r.jsx)("a",{href:"https://byteproxies.io/privacy-policy/",className:"text-blue-600 hover:underline",target:"_blank",children:"Privacy Policy"})]}),g.acceptTerms&&(0,r.jsx)("p",{className:"mt-1 text-sm text-red-500",children:g.acceptTerms.message})]})]})}),(0,r.jsx)(a.Z,{type:"submit",btnClassName:"w-full",disabled:d,isLoading:d,children:d?"Signing up...":"Sign up"})]})}},89523:function(e,s,t){"use strict";var r=t(57437),a=t(16349),l=t(87138);t(2265),s.Z=e=>{let{children:s,isLink:t=!1,gradient:o=!0,LinkHref:n="",LinkClassName:i,btnClassName:c,onClick:d,type:m="button",disabled:p=!1,isLoading:u=!1}=e,h="button-gradient bg-clr-ef bg-gradient-to-t from-clr-ef to-clr-f1 text-white transition duration-300 ease-in-out hover:bg-gradient-to-b hover:from-clr-ef hover:to-clr-f1",x="opacity-50 cursor-not-allowed hover:bg-none";return t?(0,r.jsx)(l.default,{href:n,onClick:d,className:(0,a.cn)("block w-full rounded-lg px-3 py-3 text-sm font-semibold",h,p&&x,i),...p?{"aria-disabled":!0,tabIndex:-1}:{},children:u?(0,r.jsxs)("div",{className:"flex items-center justify-center",children:[(0,r.jsxs)("svg",{className:"h-5 w-5 animate-spin text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,r.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,r.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),(0,r.jsx)("span",{className:"ml-2",children:"Loading..."})]}):s}):o?(0,r.jsx)("button",{type:m,onClick:d,disabled:p||u,className:(0,a.cn)("rounded-lg border-b-clr-f2 px-2 py-3 text-sm font-medium",h,p&&x,c),children:u?(0,r.jsxs)("div",{className:"flex items-center justify-center",children:[(0,r.jsxs)("svg",{className:"h-5 w-5 animate-spin text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,r.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,r.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),(0,r.jsx)("span",{className:"ml-2",children:"Loading..."})]}):s}):(0,r.jsx)("button",{type:m,onClick:d,disabled:p||u,className:(0,a.cn)("rounded-lg border px-1 py-3 text-sm font-medium text-clr-80 transition duration-300 ease-in-out hover:bg-gradient-to-b hover:from-clr-ef hover:to-clr-f1 hover:text-white",p&&x,c),children:u?(0,r.jsxs)("div",{className:"flex items-center justify-center",children:[(0,r.jsxs)("svg",{className:"h-5 w-5 animate-spin text-current",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,r.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,r.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),(0,r.jsx)("span",{className:"ml-2",children:"Loading..."})]}):s})}},576:function(e,s,t){"use strict";var r=t(57437),a=t(16349),l=t(47193),o=t(52985),n=t(2265);let i=(0,n.forwardRef)((e,s)=>{let{HtmlFor:t,LabelName:i,LabelClassName:c,InputId:d,InputType:m="text",InputClassName:p,InputPlaceHolder:u,rootClassName:h,showPasswordToggle:x=!1,onChange:f,onBlur:b,onF
1ocus:g,isRequired:w=!1,error:v,disabled:y=!1,suffixIcon:N,suffixIconClassName:A,min:j,max:I,...P}=e,[C,k]=(0,n.useState)(!1),T=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{ref:s,id:d,name:P.name,type:"password"===m?C?"text":"password":m,className:(0,a.cn)("w-full rounded-lg border p-2 text-sm font-normal outline-none",v?"border-red-500 text-red-900":"border-clr-280 text-clr-80/40 hover:border-[#289ffb6c] focus-visible:border-[#289FFB]",y&&"cursor-not-allowed bg-gray-100 opacity-75",N&&"pr-10",p),disabled:y,placeholder:u,onChange:f,onFocus:g,onBlur:b,required:w,min:j,max:I,autoComplete:"password"===m?"current-password":"off",...P}),N&&(0,r.jsx)("div",{className:(0,a.cn)("absolute right-3 top-1/2 -translate-y-1/2",A),children:N})]}),x&&"password"===m&&(0,r.jsx)("button",{type:"button",onClick:()=>{k(e=>!e)},className:"absolute inset-y-4 right-3 flex h-full items-center justify-center text-clr-80/40 hover:text-clr-80",children:C?(0,r.jsx)(l.Z,{className:"size-6"}):(0,r.jsx)(o.Z,{className:"size-6"})})]});return(0,r.jsxs)("div",{className:(0,a.cn)("relative",h),children:[i&&(0,r.jsx)("label",{htmlFor:t,className:(0,a.cn)("mb-3 block text-sm font-medium text-clr-17",c),children:i}),T,v&&(0,r.jsx)("p",{className:"mt-1 text-xs text-red-500",children:v})]})});i.displayName="InputField",s.Z=i},16349:function(e,s,t){"use strict";t.d(s,{cn:function(){return l}});var r=t(44839),a=t(96164);function l(){for(var e=arguments.length,s=Array(e),t=0;t<e;t++)s[t]=arguments[t];return(0,a.m6)((0,r.Z)(...s))}},37339:function(e,s,t){"use strict";t.r(s),s.default={src:"/_next/static/media/logo.9fcf9aec.png",height:39,width:34,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAKlBMVEUpn/4pnf4pof9MaXEpn/4ypf8onf4pnv4pnv0onf0onf0pnP0rnPwsqP98UcgkAAAADXRSTlP+duYA1AybR/WIsLhYzNo/bAAAAAlwSFlzAAALEwAACxMBAJqcGAAAADNJREFUeJwdi8kNACAQhFj38Jz+2zX6IiGApzVLp4dQdJoAiQGMqs9p+/tl8TpVHd430y8iLQEep6VZ6AAAAABJRU5ErkJggg==",blurWidth:7,blurHeight:8}}},function(e){e.O(0,[231,4868,8173,4039,2971,7023,1744],function(){return e(e.s=95226)}),_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.