PageSourceSearch

https://www.iglinks.io/_next/static/chunks/pages/users/sign_in-e72ceb2e83510b1f8888.js

js iglinks.io collected 2026-10-01 11:47:06 UTC 5,664 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5735],{92932:function(a,r,s){"use strict";s.d(r,{Z:function(){return d}});var e=s(85893),n=s(67294),t=s(5580),i=s.n(t),o=s(2151),c=s(67814),l=s(51436);function d(a){var r=a.onChange,s=a.isLoading,t=(0,n.useState)(!1),d=t[0],u=t[1],p=function(){return u(!d)},_=(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(o.Z.Control,{type:"password",placeholder:"Password",onChange:r,className:i().formField,disabled:s}),(0,e.jsx)(c.G,{icon:l.Mdf,className:i().showPasswordIcon,onClick:p})]});return d&&(_=(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(o.Z.Control,{type:"text",placeholder:"Password",onChange:r,className:i().formField,disabled:s}),(0,e.jsx)(c.G,{icon:l.Aq,className:i().showPasswordIcon,onClick:p})]})),(0,e.jsxs)(o.Z.Group,{controlId:"signUpPassword",className:"mb-5 ".concat(i().formFieldWrapper),children:[_,(0,e.jsx)("div",{className:i().iconWrapper,children:(0,e.jsx)(c.G,{icon:l.byT})})]})}},80230:function(a,r,s){"use strict";s.d(r,{w:function(){return i},x:function(){return o}});var e=s(85893),n=s(23815),t=s.n(n),i=function(a){var r=a.center,s=t().floatBarsGWrapper;return r&&(s=t().floatBarsGWrapperCenter),(0,e.jsxs)("div",{className:s,children:[(0,e.jsx)("div",{id:t().G_1,className:t().floatBarsG}),(0,e.jsx)("div",{id:t().G_2,className:t().floatBarsG}),(0,e.jsx)("div",{id:t().G_3,className:t().floatBarsG}),(0,e.jsx)("div",{id:t().G_4,className:t().floatBarsG}),(0,e.jsx)("div",{id:t().G_5,className:t().floatBarsG})]})},o=function(){return(0,e.jsx)("div",{className:t().h38,children:(0,e.jsx)(i,{})})}},28842:function(a,r,s){"use strict";s.d(r,{N:function(){return i}});var e=s(85893),n=s(35005),t=s(80230),i=function(a){var r=a.width,s=void 0===r?"inherit":r;return(0,e.jsx)(n.Z,{variant:"primary",disabled:!0,style:{minHeight:"40px",width:s},children:(0,e.jsx)(t.w,{center:!0})})}},10492:function(a,r,s){"use strict";s.d(r,{Z:function(){return u}});var e=s(85893),n=s(5580),t=s.n(n),i=s(2151),o=s(80230),c=s(28842),l=s(67814),d=s(51436);function u(){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(i.Z.Group,{controlId:"signUpEmail",className:"mb-3 ".concat(t().formFieldWrapper),children:[(0,e.jsx)("div",{className:"w-100 px-3",children:(0,e.jsx)(o.x,{})}),(0,e.jsx)("div",{className:t().iconWrapper,children:(0,e.jsx)(l.G,{icon:d.FU$})})]}),(0,e.jsxs)(i.Z.Group,{controlId:"signUpPassword",className:"mb-5 ".concat(t().formFieldWrapper),children:[(0,e.jsx)("div",{className:"w-100 px-3",children:(0,e.jsx)(o.x,{})}),(0,e.jsx)("div",{className:t().iconWrapper,children:(0,e.jsx)(l.G,{icon:d.byT})})]}),(0,e.jsx)(c.N,{width:"100%"})]})}},94410:function(a,r,s){"use strict";s.r(r),s.d(r,{default:function(){return P}});var e=s(85893),n=s(13368),t=s(41664),i=s(11163),o=s(43202),c=s(10492),l=s(38347),d=s(67294),u=s(63144),p=s.n(u),_=s(2151),x=s(35005),h=s(39249),f=s(28842),m=s(5580),j=s.n(m),g=s(67814),v=s(51436),G=s(92932);function N(){var a=(0,d.useState)(""),r=a[0],s=a[1],n=(0,d.useState)(""),t=n[0],o=n[1],c=(0,d.useState)(!1),u=c[0],m=c[1];return(0,e.jsxs)(_.Z,{onSubmit:function(a){a.preventDefault(),m(!0);var s={users:{email:r,password:t}};p()("".concat("https://api.iglinks.io/v1","/auths/sign_in"),{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify(s)}).then((function(a){var r=a.status;(0,l.Z)(a,["status"]);200===r?i.default.push("/app/dashboard"):(h.Am.error("Incorrect email address or password"),m(!1))}))},children:[(0,e.jsxs)(_.Z.Group,{controlId:"signUpEmail",className:"mb-3 ".concat(j().formFieldWrapper),children:[(0,e.jsx)(_.Z.Control,{type:"email",placeholder:"Enter email",onChange:function(a){var r=a.target.value;return s(r)},className:j().formField,disabled:u}),(0,e.jsx)("div",{className:j().iconWrapper,children:(0,e.jsx)(g.G,{icon:v.FU$})})]}),(0,e.jsx)(G.Z,{onChange:function(a){var r=a.target.value;return o(r)},isLoading:u}),u?(0,e.jsx)(f.N,{width:"100%"}):(0,e.jsx)(x.Z,{variant:"primary",type:"submit",className:"w-100",children:"SIGN IN"})]})}var w=s(34051),B=s(31555);function P(){var a=(0,n.ZP)("".concat("https://api.iglinks.io/v1","/users/verify"),o.B).data,r=(0,e.jsx)(c.Z,{});return a&&a.id?i.default.push("/app/dashboard"):a&&"Please sign in before proceeding"===a.error&&(r=(0,e.jsx)(N,{})),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(w.Z,{children:[(0,e.jsx)(B.Z,{xs:"12",className:j().authTitle,children:(0,e.jsx)("h1",{children:"Sign In"})}),(0,e.jsxs)(B.Z,{xs:"12",className:"px-2",children:[r,(0,e.jsx)("div",{className:j().nextAuthBox,children:(0,e.jsx)(t.default,{href:"/users/sign_up",shallow:!0,children:(0,e.jsx)("a",{children:"New to IGLinks.io? Sign up here"})})})]})]}),(0,e.jsx)(h.Ix,{})]})}},22878:function(a,r,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/users/sign_in",function(){return s(94410)}])},5580:function(a){a.exports={authTitle:"authPage_authTitle__32mCS",nextAuthBox:"authPage_nextAuthBox__1H2oW",formFieldWrapper:"authPage_formFieldWrapper__LiBSl",formField:"authPage_formField__2FUBc",showPasswordIcon:"authPage_showPasswordIcon__2FwNR",iconWrapper:"authPage_iconWrapper__2rn3U"}},23815:function(a){a.exports={floatBarsGWrapperCenter:"textLoadingBar_floatBarsGWrapperCenter__24vHn",floatBarsGWrapper:"textLoadingBar_floatBarsGWrapper__l0iHK",floatBarsG:"textLoadingBar_floatBarsG__3Pvqr",bounce_floatBarsG:"textLoadingBar_bounce_floatBarsG__23ePm",G_1:"textLoadingBar_G_1__3jsLq",G_2:"textLoadingBar_G_2__1ssJG",G_3:"textLoadingBar_G_3__crnjV",G_4:"textLoadingBar_G_4__2vZJI",G_5:"textLoadingBar_G_5__2QC-N",h38:"textLoadingBar_h38__2jZ-n"}}},function(a){a.O(0,[8523,9921,9249,9774,2888,179],(function(){return r=22878,a(a.s=r);var r}));var r=a.O();_N_E=r}]);

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.