1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8488],{8771:function(e,t,r){"use strict";var n=r(1682);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.default=function(e,t){var r=i.default,n={loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};e instanceof Promise?n.loader=function(){return e}:"function"===typeof e?n.loader=e:"object"===typeof e&&(n=a(a({},n),e));var o=n=a(a({},n),t);if(o.suspense)throw new Error("Invalid suspense option usage in next/dynamic. Read more: https://nextjs.org/docs/messages/invalid-dynamic-suspense");if(o.suspense)return r(o);n.loadableGenerated&&delete(n=a(a({},n),n.loadableGenerated)).loadableGenerated;if("boolean"===typeof n.ssr){if(!n.ssr)return delete n.ssr,u(r,n);delete n.ssr}return r(n)};s(r(7294));var i=s(r(4860));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return delete t.webpack,delete t.modules,e(t)}},1083:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var o=((n=r(7294))&&n.__esModule?n:{default:n}).default.createContext(null);t.LoadableContext=o},4860:function(e,t,r){"use strict";var n=r(2553),o=r(2012),a=r(1682);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"===typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c,f=(c=r(7294))&&c.__esModule?c:{default:c},d=r(7161),p=r(1083);var m=[],y=[],b=!1;function h(e){var t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then((function(e){return r.loading=!1,r.loaded=e,e})).catch((function(e){throw r.loading=!1,r.error=e,e})),r}var v=function(){function e(t,r){n(this,e),this._loadFn=t,this._opts=r,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return o(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,r=this._opts;t.loading&&("number"===typeof r.delay&&(0===r.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),r.delay)),"number"===typeof r.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),r.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=s(s({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function g(e){return function(e,t){var r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);r.suspense&&(r.lazy=f.default.lazy(r.loader));var n=null;function o(){if(!n){var t=new v(e,r);n={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return n.promise()}if(!b&&"function"===typeof r.webpack&&!r.suspense){var a=r.webpack();y.push((function(e){var t,r=u(a);try{for(r.s();!(t=r.n()).done;){var n=t.value;if(-1!==e.indexOf(n))return o()}}catch(i){r.e(i)}finally{r.f()}}))}var i=r.suspense?function(e,t){return f.default.createElement(r.lazy,s(s({},e),{},{ref:t}))}:function(e,t){o();
1var a=f.default.useContext(p.LoadableContext),i=d.useSubscription(n);return f.default.useImperativeHandle(t,(function(){return{retry:n.retry}}),[]),a&&Array.isArray(r.modules)&&r.modules.forEach((function(e){a(e)})),f.default.useMemo((function(){return i.loading||i.error?f.default.createElement(r.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:n.retry}):i.loaded?f.default.createElement(function(e){return e&&e.__esModule?e.default:e}(i.loaded),e):null}),[e,i])};return i.preload=function(){return!r.suspense&&o()},i.displayName="LoadableComponent",f.default.forwardRef(i)}(h,e)}function _(e,t){for(var r=[];e.length;){var n=e.pop();r.push(n(t))}return Promise.all(r).then((function(){if(e.length)return _(e,t)}))}g.preloadAll=function(){return new Promise((function(e,t){_(m).then(e,t)}))},g.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var r=function(){return b=!0,t()};_(y,e).then(r,r)}))},window.__NEXT_PRELOADREADY=g.preloadReady;var O=g;t.default=O},1340:function(e,t,r){"use strict";r.r(t);var n=r(2809),o=r(5152),a=r(1664),i=r(1163),s=r(7536),u=r(8834),l=r(9501),c=r(9249),f=r(5890),d=r(5893);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y=(0,o.default)((function(){return r.e(5545).then(r.bind(r,5545))}),{loadableGenerated:{webpack:function(){return[5545]},modules:["forgot_username.jsx -> components/layouts/PublicFullLayout"]}});t.default=function(){var e=(0,i.useRouter)(),t=l.Ry().shape({email:l.Z_().required("Email is required").email("Email is not a valid type")}),r={resolver:(0,u.X)(t)},n=(0,s.cI)(r),o=n.register,p=n.handleSubmit,b=n.formState,h=b.errors;return(0,d.jsx)(y,{reverse:!0,children:(0,d.jsxs)("div",{className:"flex-container",children:[(0,d.jsx)("div",{className:"container cuslogin-notification my-3",children:h&&Object.keys(h).map((function(e,t){return(0,d.jsx)("div",{children:h[e].message},"msg-"+t)}))}),(0,d.jsxs)("form",{className:"form-forgotusername",onSubmit:p((function(t){var r=t.email;return f.W4.forgotUsername({email:r}).then((function(t){var r=t.success,n=t.errorMessage;r?(c.Am.success("Successfully sent your username to the email"),e.push("/login")):c.Am.error(n)}))})),autoComplete:"off",children:[(0,d.jsxs)("div",{className:"d-flex flex-column align-items-center text-center m-2",children:[(0,d.jsx)("div",{children:(0,d.jsx)("h5",{className:"page-title",children:"Forgot Username?"})}),(0,d.jsx)("div",{className:"my-4",children:"Please enter your email to retrieve your username."})]}),(0,d.jsxs)("div",{className:"form-group mb-5 position-relative",children:[(0,d.jsx)("div",{className:"form-control-icon-left-secondary",children:(0,d.jsx)("i",{className:"fa-solid fa-envelope"})}),(0,d.jsx)("input",m(m({name:"email",type:"text",placeholder:"Email",autoFocus:!0},o("email")),{},{className:"form-control"}))]}),(0,d.jsxs)("button",{disabled:b.isSubmitting,className:"btn cus-btn-black",children:[b.isSubmitting&&(0,d.jsx)("span",{className:"spinner-border spinner-border-sm mr-1"}),"Next"]}),(0,d.jsx)("div",{className:"cusform-submit-panel mt-2",children:(0,d.jsx)(a.default,{href:"/login",className:"create-account",passHref:!0,children:(0,d.jsx)("div",{className:"create-account",children:"Sign In"})})})]})]})})}},9692:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/forgot_username",function(){return r(1340)}])},5152:function(e,t,r){e.exports=r(8771)}},function(e){e.O(0,[9774,3752,2888,179],(function(){return t=9692,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.