1/*! For license information please see src_components_pages_ForgotPassword_ForgotPasswordPage_tsx-node_modules_react-toastify_dist_R-15c690.b24e0b0b845578f7d20c.js.LICENSE.txt */ 2(self.webpackChunkmarketplace_portal_ui=self.webpackChunkmarketplace_portal_ui||[]).push([["src_components_pages_ForgotPassword_ForgotPasswordPage_tsx-node_modules_react-toastify_dist_R-15c690"],{68881(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(54625),o=r(60961),a=r(74848);const i=function(t){var e=t.header,r=void 0===e?"":e,i=t.description,s=void 0===i?"":i;return(0,a.jsxs)("div",{className:"m-auto mt-5 box-border flex mobile:h-full w-full max-w-435p flex-auto flex-col rounded-5p bg-white p-5 desktop:h-fit desktop:flex-none desktop:pt-[28px] desktop:pb-[29px] desktop:px-[26px]",children:[(0,a.jsx)("div",{"data-testid":"email-confirmation-header",children:(0,a.jsx)(o.Translate,{tag:"h1",className:"m-0 text-xl font-normal text-dark-grayish",value:r})}),(0,a.jsx)("div",{className:"my-4 text-sm leading-6 text-grayish-blue-font","data-testid":"email-confirmation-content",children:(0,a.jsx)(o.Translate,{value:s})}),(0,a.jsx)("div",{className:"flex justify-between",children:(0,a.jsx)(n.Link,{className:"border-none bg-transparent text-sm text-bg-dark-blue",to:"/login",onClick:function(){return sessionStorage.removeItem("okta-transaction-storage")},children:o.I18n.t("return-login-link-text")})})]})}},13970(t,e,r){"use strict";r.r(e),r.d(e,{default:()=>Y});var n=r(19073),o=r(43557),a=r(82493),i=r(11411),s=r(63670),l=r.n(s),c=r(1504),u=r.n(c),d=r(88868),f=r(22104),p=r(74143),m=r(3068),x=r(18573),h=r(90679),v=r(70439),g=r(96540),b=r(60961),y=r(54625),w=r(7822),j=r(35077),A=r(21277),k=r(16876),S=r(82630),O=r(39827),C=r(9072),N=r(37733),T=r(74848);function P(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function _(){var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function a(r,n,o,a){var l=n&&n.prototype instanceof s?n:s,c=Object.create(l.prototype);return F(c,"_invoke",function(r,n,o){var a,s,l,c=0,u=o||[],d=!1,f={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,r){return a=e,s=0,l=t,f.n=r,i}};function p(r,n){for(s=r,l=n,e=0;!d&&c&&!o&&e<u.length;e++){var o,a=u[e],p=f.p,m=a[2];r>3?(o=m===n)&&(l=a[(s=a[4])?5:(s=3,3)],a[4]=a[5]=t):a[0]<=p&&((o=r<2&&p<a[1])?(s=0,f.v=n,f.n=a[1]):p<m&&(o=r<3||a[0]>n||n>m)&&(a[4]=r,a[5]=n,f.n=m,s=0))}if(o||r>1)return i;throw d=!0,n}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,m),s=u,l=m;(e=s<2?t:l)||!d;){a||(s?s<3?(s>1&&(f.n=-1),p(s,l)):f.n=l:f.v=l);try{if(c=2,a){if(s||(o="next"),e=a[o]){if(!(e=e.call(a,l)))throw TypeError("iterator result is not an object");if(!e.done)return e;l=e.value,s<2&&(s=0)}else 1===s&&(e=a.return)&&e.call(a),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);a=t}else if((e=(d=f.n<0)?l:r.call(n,f))!==i)break}catch(e){a=t,s=1,l=e}finally{c=1}}return{value:e,done:d}}}(r,o,a),!0),c}var i={};function s(){}function l(){}function c(){}e=Object.getPrototypeOf;var u=[][n]?e(e([][n]())):(F(e={},n,function(){return this}),e),d=c.prototype=s.prototype=Object.create(u);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,F(t,o,"GeneratorFunction")),t.prototype=Object.create(d),t}return l.prototype=c,F(d,"constructor",c),F(c,"constructor",l),l.displayName="GeneratorFunction",F(c,o,"GeneratorFunction"),F(d),F(d,o,"Generator"),F(d,n,function(){return this}),F(d,"toString",function(){return"[object Generator]"}),(_=function(){return{w:a,m:f}})()}function F(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}F=function(t,e,r,n){function a(e,r){F(t,e,function(t){return this._invoke(e,r,t)})}e?o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(a("next",0),a("throw",1),a("return",2))},F(t,e,r,n)}function I(t,e,r,n,o,a,i){try{var s=t[a](i),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,o)}var L=function(){var t,e=(t=_().m(function t(e){return _().w(function(t){for(;;)switch(t.n){case 0:(0,N.f)("An email with next steps was sent to",e);case 1:return t.a(2)}},t)}),function(){var e=this,r=arguments;
2return new Promise(function(n,o){var a=t.apply(e,r);function i(t){I(a,n,o,i,s,"next",t)}function s(t){I(a,n,o,i,s,"throw",t)}i(void 0)})});return function(t){return e.apply(this,arguments)}}();const E=function(t){var e,r,n=t.header,o=void 0===n?"":n,a=t.onBackClick,i=void 0===a?function(){}:a,s=t.description,l=void 0===s?"":s,c=t.email,v=void 0===c?"":c,j=(e=(0,g.useState)(!1),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,s=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}(e,r)||function(t,e){if(t){if("string"==typeof t)return P(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?P(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),k=j[0],_=j[1],F=(0,f.C)(),I=F.flowParams,E=F.flow,G=F.isSpecialFlow,D=(0,w.jL)();return(0,g.useEffect)(function(){v&&L(v)},[v]),(0,T.jsxs)("div",{className:"mx-auto mt-10 box-border flex h-full w-full max-w-435p flex-auto flex-col bg-transparent p-5 desktop:h-auto desktop:flex-none desktop:p-[28px_26px_29px]",children:[(0,T.jsx)("div",{"data-testid":"email-confirmation-header",children:(0,T.jsx)(b.Translate,{tag:"h1",className:"m-0 text-xl font-normal text-dark-grayish",value:o})}),(0,T.jsx)("div",{className:"my-4 text-base leading-6 font-medium leading-6 text-grayish-blue-font","data-testid":"email-confirmation-content",children:(0,T.jsx)(b.Translate,{value:l,email:v,dangerousHTML:!0})}),(0,T.jsx)(h.A,{showErrorMessage:k,message:"reset-password:common-error-message"}),(0,T.jsxs)("button",{type:"button",className:"".concat(G?"h-60p w-fit rounded-30p bg-hover-color px-[48px] py-3 pr-[58px] font-bold text-white":"block h-11 w-full cursor-pointer rounded-7p border border-solid border-launch-text bg-cards-background py-2.5 px-4 text-center text-launch-text hover:bg-primary-blue-interactive-1 active:bg-primary-blue-interactive-2"),onClick:function(){if(v){_(!1);var t=(0,p.A)(v,m.validEmail,function(){});v.toLowerCase().indexOf("@dnb.com")>-1&&(t=!1),t&&(D((0,x.F6)(!0)),(0,d.BD)(v,E).then(function(t){t&&(0,N.f)("An email with next steps was sent to",v)}).catch(function(t){console.log("Error while forgot-password EmailConfirmation",t)}).finally(function(){D((0,x.F6)(!1))}))}else _(!0)},children:[(0,T.jsx)(O.g,{icon:S.dLQ})," ","Resend Email"]}),(0,T.jsxs)("div",{className:"".concat(G?"mt-5 flex gap-2.5 text-hover-color":"mt-5 text-center text-launch-text"),onClick:function(){return i()},children:[G?(0,T.jsx)("img",{src:u(),alt:"Back"}):(0,T.jsx)(O.g,{icon:S.Uec}),(0,T.jsx)(y.Link,{className:"".concat(G?"text-base underline":"pl-5p text-sm no-underline"),to:(0,A.P)(E,I.forgotPasswordLink),children:b.I18n.t("return-forgot-link-text")})]}),(0,T.jsx)(C.N9,{position:"bottom-center",autoClose:5e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!1,closeButton:!1,rtl:!1,pauseOnFocusLoss:!1,pauseOnHover:!1})]})},G=function(t){var e=t.children;return(0,T.jsx)("div",{className:"main mx-auto font-defaultFontFamily desktop:max-w-[55rem] tablet:max-w-[35rem] tablet:items-center mobile:p-[24px]",children:(0,T.jsxs)("div",{className:"desktop:grid desktop:grid-cols-2 desktop:gap-8 flex flex-col gap-8 mt-6 md:pt-[6.875rem]",children:[(0,T.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,T.jsx)("div",{className:"text-[2.25rem] font-normal leading-tight",children:(0,T.jsx)("div",{className:"text-[50px] font-[300] font-avenirProLight",children:(0,T.jsx)(b.Translate,{value:"forgot-password-title-GAD"})})}),(0,T.jsx)("div",{className:"text-xl text-[#6D6D6D] font-avenirProLight font-[400]",children:(0,T.jsx)(b.Translate,{value:"forgot-password-description-GAD"})})]}),(0,T.jsx)("div",{className:"flex flex-col",children:e})]})})};function D(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,s=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,o=t}
2finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return M(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?M(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}const R=function(){var t=(0,w.jL)(),e=(0,f.C)(),r=e.flowParams,n=e.flow,o=e.isSpecialFlow,a=D((0,g.useState)(""),2),i=a[0],s=a[1],c=D((0,g.useState)(!0),2),S=c[0],O=c[1],C=D((0,g.useState)(!1),2),N=C[0],P=C[1],_=D((0,g.useState)(!1),2),F=_[0],I=_[1],L=D((0,g.useState)(!1),2),M=L[0],R=L[1],B=function(){if(!i)return R(!0),void O(!0);R(!1);var e=(0,p.A)(i,m.validEmail,O);i.toLowerCase().indexOf("@dnb.com")>-1&&(e=!1,I(!0),O(!1)),e&&(t((0,x.F6)(!0)),(0,d.BD)(i,n).catch(function(t){console.log("Error from ForgotPasswordFormGAD",t)}).finally(function(){P(!0),t((0,x.F6)(!1))}))},U=(0,T.jsx)(h.A,{classOverride:"pt-0",showErrorMessage:M,message:"reset-password:common-error-message"}),H=(0,T.jsxs)("div",{className:"flex flex-col",children:[(0,T.jsx)("div",{className:"".concat([k.CS,j.o9,k.MD].includes(n)?"label":"mt-4 text-dnb-cpl-box-shadow text-base leading-6 font-medium tracking-[0.1px]"),children:(0,T.jsxs)("span",{children:[b.I18n.t("register:email-address"),"*"]})}),M&&!o?U:"",(0,T.jsx)(v.A,{classOverride:"my-[4px] ".concat([k.CS,j.o9,k.MD].includes(n)?"!mb-0":""),labelFor:"emailAddress",inputClassOverride:"border bg-white rounded-xl !pt-0 !pb-0 my-[4px]",value:i,isValid:S,errorMessage:F?b.I18n.t("change-password-dnb-user-error"):b.I18n.t("email-address:invalid-error"),onChange:function(t){var e,r=null===(e=t.target)||void 0===e?void 0:e.value;R(!1),s(r),O(!0),I(!1)},onKeyDown:function(t){(0,p.e)(t)&&B()}}),M&&o?U:"",(0,T.jsx)("button",{type:"button",className:"".concat([k.CS,j.o9,k.MD].includes(n)?"btn full-width text-white text-18p font-avenirProMedium font-normal leading-19p px-12 pr-58p py-3 h-60p !w-fit roun
2ded-30p mt-5 mb-5 bg-hover-color bg-no-repeat bg-[url('~@assets/svg/right-arrow.svg')] bg-[position:calc(100%-35px)_center]":"btn full-width bg-launch-text text-white rounded-lg tracking-[0.47px] font-avenirMedium text-base font-light mb-25p"),onClick:B,children:(0,T.jsx)(b.Translate,{value:"forgot-password:send-email"})}),(0,T.jsx)("div",{className:"backBtn",children:(0,T.jsx)("span",{children:(0,T.jsxs)(y.Link,{to:(0,A.P)(n,r.signinLink),onClick:function(){return sessionStorage.removeItem("okta-transaction-storage")},className:"".concat([k.CS,j.o9,k.MD].includes(n)?"flex justify-start gap-[10px]":"flex justify-center no-underline gap-[10px]"),children:[(0,T.jsx)("img",{src:o?u():l(),alt:"Back"}),(0,T.jsx)("span",{className:"back-link-text border-b border-current pb-[2px]",children:"Back"})]})})})]});return N?(0,T.jsx)(E,{header:"forgot-password-title-GAD",onBackClick:function(){P(!1)},description:"forgot-password-email-confirmation-GAD",email:i}):o?(0,T.jsx)(G,{children:H}):(0,T.jsx)("div",{className:"w-full max-w-442p mx-auto p-5 bg-background-gray mt-5 grid rounded-5p justify-between box-border h-fit text-base",children:(0,T.jsxs)("div",{children:[(0,T.jsx)(b.Translate,{tag:"h1",className:"text-2xl text-dark-grayish font-normal mt-0 !mb-4",value:"forgot-password-title-GAD"}),(0,T.jsx)("div",{className:"w-full text-grayish-blue-font",children:(0,T.jsx)(b.Translate,{tag:"span",value:"forgot-password-description-GAD"})}),H]})})};var B=r(68881);function U(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,s=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return H(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?H(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}const W=function(){var t=(0,w.jL)(),e=U((0,g.useState)(""),2),r=e[0],n=e[1],o=U((0,g.useState)(!0),2),a=o[0],i=o[1],s=U((0,g.useState)(!1),2),l=s[0],c=s[1],u=U((0,g.useState)(!1),2),f=u[0],j=u[1],A=U((0,g.useState)(!1),2),k=A[0],S=A[1],O=function(){if(!r)return S(!0),void i(!0);S(!1);var e=(0,p.A)(r,m.validEmail,i);r.toLowerCase().indexOf("@dnb.com")>-1&&(e=!1,j(!0),i(!1)),e&&(t((0,x.F6)(!0)),(0,d.BD)(r).catch(function(t){console.log("Error from ForgotPasswordFormComponent",t)}).finally(function(){c(!0),t((0,x.F6)(!1))}))};return(0,T.jsx)(T.Fragment,{children:l?(0,T.jsx)(B.A,{header:"forgot-password-title",description:"forgot-password-email-confirmation"}):(0,T.jsx)("div",{className:"mx-auto mt-10 h-fit w-full max-w-435p rounded-5p bg-white p-5 text-base lg:h-fit lg:w-435p lg:p-30p lg:text-sm",children:(0,T.jsxs)("div",{children:[(0,T.jsx)(b.Translate,{tag:"h1",className:"mt-0 font-normal text-xl text-dark-grayish",value:"forgot-password-title"}),(0,T.jsx)("div",{className:"w-full text-grayish-blue-font",children:(0,T.jsx)(b.Translate,{tag:"p",className:"mt-4 pr-3.5 text-sm tracking-normal",value:"forgot-password-description"})}),(0,T.jsx)(h.A,{showErrorMessage:k,message:"reset-password:common-error-message",errorClass:"mb-6"}),(0,T.jsx)(v.A,{label:b.I18n.t("register:email-address"),labelFor:"emailAddress",value:r,isValid:a,errorMessage:f?b.I18n.t("change-password-dnb-user-error"):b.I18n.t("email-address:invalid-error"),onChange:function(t){var e,r=null===(e=t.target)||void 0===e?void 0:e.value;S(!1),n(r),i(!0),j(!1)},onKeyDown:function(t){(0,p.e)(t)&&O()}}),(0,T.jsx)("button",{type:"button",className:"btn btn-pill-cyan full-width",onClick:O,children:(0,T.jsx)(b.Translate,{value:"forgot-password:send"})}),(0,T.jsx)("div",{className:"mt-5 flex justify-between text-center text-launch-text",children:(0,T.jsx)(y.Link,{className:"max-w-185p border-none bg-transparent text-sm font-medium text-bg-dark-blue underline hover:text-hover-color",to:"/login",onClick:function(){return sessionStorage.removeItem("okta-transaction-storage")},children:b.I18n.t("return-login-link-text")})})]})})})};var V=r(59635),$=r(89751),Q=r(42673),q=r(53595),z=r(71607),K=r(79845),J=r(49381),X=function(){var t=(0,f.C)().isSpecialFlow,e=(0,q.A)("forgot-password"),r=e.recaptchaRef,o=e.evaluationResult,a=e.onSubmitWithReCAPTCHA;return(0,T.jsxs)("section",{className:"w-[calc(100%-64px)] grid place-items-center mb-5 md:w-full md:mb-0\n ".concat(t?"ml-0 mr-0 border-l-0 pl-0":"ml-30p mr-4 border-l border-country-border-color pl-4 md:ml-0 md:mr-0 md:border-l-0 md:pl-0"),children:["ok"===o.recaptcha&&(0,T.jsx)(R,{}),(0,T.jsx)(n.A,{sitekey:(0,Q.I)(),size:"invisible",asyncScriptOnLoad:a,ref:r})]})};const Y=function(){var t,e=(0,f.C)(),r=e.flow,s=e.isSpecialFlow,l=(0,q.A)("forgot-password"),c=l.recaptchaRef,u=l.evaluationResult,d=l.onSubmitWithReCAPTCHA,p=(0,w.GV)(function(t){return t.app.isFullPageLoading});return t="duns"===r||r===k.CS?"duns-application:forgot":r===j.o9?"duns-lookup:title:forgot":"forgot-password:title",r?(0,T.jsx)("div",{className:"min-h-screen ".concat([k.CS,k.MD].includes(r)?"bg-bg-primary-light-blue":"bg-background-gray"),children:(0,T.jsxs)(o.A,{children:[(0,T.jsx)(K.s,{title:t}),(0,T.jsx)(J.d,{isShowDesktopLogo:s,source:r}),(0,T.jsx)(z.A,{flow:r,ShowComponent:X}),(0,T.jsx)(V.A,{isLoading:p})]})}):(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(o.A,{children:[(0,T.jsx)(a.A,{}),(0,T.jsxs)(i.A,{children:["ok"===u.recaptcha?(0,T.jsx)(W,{}):(0,T.jsx)(T.Fragment,{}),(0,T.jsx)(n.A,{sitekey:(0,Q.I)(),size:"invisible",asyncScriptOnLoad:d,ref:c})]}),(0,T.jsx)(V.A,{isLoading:p})]}),(0,T.jsx)($.A,{})]})}},53595(t,e,r){"use strict";r.d(e,{A:()=>u});var n=r(96540),o=r(84166),a=r(42673);function i(){var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function a(r,n,o,a){var i=n&&n.prototype instanceof c?n:c,u=Object.create(i.prototype);return s(u,"_invoke",function(r,n,o){var a,i,s,c=0,u=o||[],d=!1,f={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,r){return a=e,i=0,s=t,f.n=r,l}};function p(r,n){for(i=r,s=n,e=0;!d&&c&&!o&&e<u.length;e++){var o,a=u[e],p=f.p,m=a[2];r>3?(o=m===n)&&(s=a[(i=a[4])?5:(i=3,3)],a[4]=a[5]=t):a[0]<=p&&((o=r<2&&p<a[1])?(i=0,f.v=n,f.n=a[1]):p<m&&(
2o=r<3||a[0]>n||n>m)&&(a[4]=r,a[5]=n,f.n=m,i=0))}if(o||r>1)return l;throw d=!0,n}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,m),i=u,s=m;(e=i<2?t:s)||!d;){a||(i?i<3?(i>1&&(f.n=-1),p(i,s)):f.n=s:f.v=s);try{if(c=2,a){if(i||(o="next"),e=a[o]){if(!(e=e.call(a,s)))throw TypeError("iterator result is not an object");if(!e.done)return e;s=e.value,i<2&&(i=0)}else 1===i&&(e=a.return)&&e.call(a),i<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),i=1);a=t}else if((e=(d=f.n<0)?s:r.call(n,f))!==l)break}catch(e){a=t,i=1,s=e}finally{c=1}}return{value:e,done:d}}}(r,o,a),!0),u}var l={};function c(){}function u(){}function d(){}e=Object.getPrototypeOf;var f=[][n]?e(e([][n]())):(s(e={},n,function(){return this}),e),p=d.prototype=c.prototype=Object.create(f);function m(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,s(t,o,"GeneratorFunction")),t.prototype=Object.create(p),t}return u.prototype=d,s(p,"constructor",d),s(d,"constructor",u),u.displayName="GeneratorFunction",s(d,o,"GeneratorFunction"),s(p),s(p,o,"Generator"),s(p,n,function(){return this}),s(p,"toString",function(){return"[object Generator]"}),(i=function(){return{w:a,m}})()}function s(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}s=function(t,e,r,n){function a(e,r){s(t,e,function(t){return this._invoke(e,r,t)})}e?o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(a("next",0),a("throw",1),a("return",2))},s(t,e,r,n)}function l(t,e,r,n,o,a,i){try{var s=t[a](i),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,o)}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}const u=function(){var t,e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"forgot-password",s=(0,n.useRef)(),u=(t=(0,n.useState)({recaptcha:"ok"}),e=2,function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,s=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=u[0],f=u[1],p=function(){var t,e=(t=i().m(function t(){var e,n,l,c;return i().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,null===(e=s.current)||void 0===e?void 0:e.executeAsync();case 1:return n=t.v,t.n=2,o.A.post("/services/recaptcha",{token:n,sitekey:(0,a.I)(),recaptchaAction:r});case 2:l=t.v,f(l.data),t.n=4;break;case 3:t.p=3,c=t.v,console.log(c);case 4:return t.a(2)}},t,null,[[0,3]])}),function(){var e=this,r=arguments;return new Promise(function(n,o){var a=t.apply(e,r);function i(t){l(a,n,o,i,s,"next",t)}function s(t){l(a,n,o,i,s,"throw",t)}i(void 0)})});return function(){return e.apply(this,arguments)}}();return{recaptchaRef:s,evaluationResult:d,onSubmitWithReCAPTCHA:p}}},42673(t,e,r){"use strict";r.d(e,{I:()=>n});var n=function(){var t=document.location.host;return t.indexOf("localhost")>-1||t.indexOf("dev")>-1||t.indexOf("qa")>-1?"6Lc_L_srAAAAABCO5CQiOSR0h7UgUP45X3Tv0l5W":t.indexOf("stg")>-1?"6LeorEosAAAAAIv_AIlYf0l_q1VGkOPPt9WUecer":"6LfuWtorAAAAANCdHsSEwEGx4ar1Q6fdZOudJ8N6"}},1504(t,e,r){t.exports=r.p+"languages/back-arrow.svg"},63670(t,e,r){t.exports=r.p+"languages/back-icon.svg"}}]);
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.