PageSourceSearch

https://rip.ie/_next/static/chunks/8356-7ada81ee124af582.js

js rip.ie collected 2026-10-02 02:41:44 UTC 17,072 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8356,7644],{67644:function(e,n,s){"use strict";s.r(n);var t,i=s(17161);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var s=arguments[n];for(var t in s)({}).hasOwnProperty.call(s,t)&&(e[t]=s[t])}return e},a.apply(null,arguments)}n.default=function(e){return i.createElement("svg",a({width:14,height:14,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=i.createElement("path",{d:"M7 13.666A6.666 6.666 0 1 1 7 .333a6.666 6.666 0 0 1 0 13.333Zm0-1.333A5.333 5.333 0 1 0 7 1.667a5.333 5.333 0 0 0 0 10.666Zm-.665-2.667L3.507 6.838l.942-.943 1.886 1.886 3.771-3.771.943.942-4.714 4.714Z",fill:"#4AC99B"})))}},18937:function(e,n,s){"use strict";s.d(n,{c:function(){return p}});var t,i=s(33803),a=s(16888),r=s(6993),l=s(17161),o=s(96866),c=s.n(o),d=s(67644);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var s=arguments[n];for(var t in s)({}).hasOwnProperty.call(s,t)&&(e[t]=s[t])}return e},u.apply(null,arguments)}var h,m=function(e){return l.createElement("svg",u({width:14,height:14,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=l.createElement("path",{d:"M7 13.666A6.666 6.666 0 1 1 7 .333a6.666 6.666 0 0 1 0 13.333Zm0-1.333A5.333 5.333 0 1 0 7 1.667a5.333 5.333 0 0 0 0 10.666Zm-.665-2.667L3.507 6.838l.942-.943 1.886 1.886 3.771-3.771.943.942-4.714 4.714Z",fill:"#CDCDCD"})))},f=s(50366),g=s(73870);!function(e){e[e.LEAST_CHARTS=8]="LEAST_CHARTS",e[e.CHARS_LENGTH=0]="CHARS_LENGTH",e[e.ONE_SPECIAL=0]="ONE_SPECIAL",e[e.ONE_CAPITAL=0]="ONE_CAPITAL",e[e.ONE_NUMBER=0]="ONE_NUMBER"}(h||(h={}));var p=(0,l.forwardRef)((function(e,n){var s=function(e){var n=(0,g.Z)("common").t,s=(0,l.useState)({leastChars:h.CHARS_LENGTH,oneSpecial:h.ONE_SPECIAL,oneCapital:h.ONE_CAPITAL,oneNumber:h.ONE_NUMBER}),t=s[0],o=s[1];(0,l.useImperativeHandle)(e,(function(){return{handleChangePassword:function(e){c(e)}}}));var c=function(e){o((function(n){return(0,a.Z)((0,i.Z)({},n),{leastChars:e.length>=h.LEAST_CHARTS?1:0,oneSpecial:f.D.SPECIAL_CHARS_REGEX_PATTERN.test(e)?1:0,oneCapital:f.D.CAPITAL_CHAR_REGEX_PATTERN.test(e)?1:0,oneNumber:f.D.NUMBER_REGEX_PATTERN.test(e)?1:0})}))};return{t:n,passwordContain:t,isPasswordContain:function(e){return(0,r.jsx)(r.Fragment,{children:e?(0,r.jsx)(d.default,{}):(0,r.jsx)(m,{})})}}}(n),t=s.t,o=s.passwordContain,u=s.isPasswordContain;return(0,r.jsx)("div",{className:"".concat(c()["contain-process"]," mt-5 w-100 pt-3 pb-3 pl-2 pr-2"),children:(0,r.jsxs)("div",{className:"text flex flex-column primary-900 row-gap-2",children:[(0,r.jsx)("p",{className:"bold-700 font-15",children:t("PasswoedContain.mustContain")}),(0,r.jsxs)("p",{className:"font-14 flex align-items-center",children:[u(o.leastChars),(0,r.jsx)("span",{className:"".concat(o.leastChars?"system-success-color ":"","ml-2"),children:t("PasswoedContain.leastChars",{number:h.LEAST_CHARTS})})]}),(0,r.jsxs)("p",{className:"font-14 flex align-items-center",children:[u(o.oneSpecial),(0,r.jsx)("span",{className:"".concat(o.oneSpecial?"system-success-color ":"","ml-2"),children:t("PasswoedContain.oneSpecial")})]}),(0,r.jsxs)("p",{className:"font-14 flex align-items-center",children:[u(o.oneCapital),(0,r.jsx)("span",{className:"".concat(o.oneCapital?"system-success-color ":"","ml-2"),children:t("PasswoedContain.oneCapital")})]}),(0,r.jsxs)("p",{className:"font-14 flex align-items-center",children:[u(o.oneNumber),(0,r.jsx)("span",{className:"".concat(o.oneNumber?"system-success-color ":"","ml-2"),children:t("PasswoedContain.oneNumber")})]})]})})}))},68356:function(e,n,s){"use strict";s.d(n,{A:function(){return t},a:function(){return ce}});var t,i=s(95911),a=s(28351),r=s(33803),l=s(16888),o=s(45885),c=s.n(o),d=s(6993),u=s(17161),h=s(66387),m=s.n(h),f=s(58858),g=s(73870),p=s(39040),x=s(79891),v=s(83591),R=s(93366),j=s(8898),N=s(72800),C=s(3516),E=s(69188),b=s(4725),S=s(10469),w=s(97031),A=s(25936),Z=s(6121),y=s.n(Z),T=s(73702),L=s(60802),_=s(2618),P=s(73770),O=s(35928),k=s(33293),I=s.n(k),D=s(19472),H=s(50366),W=s(5665),M=s(64113),V=s(57371),U=s(73858),F=s(26174),q=s(84414),B=s.n(q),G=s(62417),z=s(23578),Q=s(4012),X=s(8543),Y=s(23478),J=s(2039),K=s(5125),$=s(42035),ee=s(73668),ne=(0,u.forwardRef)((function(e,n){var s=function(e,n){var s=(0,g.Z)("common").t,t=(0,u.useState)(!1),i=t[0],a=t[1],r=(0,X.d)().width;return(0,$.useRouter)(),(0,u.useImperativeHandle)(n,(function(){return{openSuccess:function(){a(!0)}}})),{t:s,open:i,width:r,setClose:function(){a(!1),(null===e||void 0===e?void 0:e.closeCallback)&&(null===e||void 0===e||e.closeCallback())}}}(e,n),t=s.t,i=s.open,a=s.width,r=s.setClose;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(G.Z,{open:i,closeAfterTransition:!0,onBackdropClick:r,BackdropComponent:K.Z,BackdropProps:{timeout:500},className:B().modal,children:(0,d.jsx)(z.Z,{in:i,children:(0,d.jsxs)(J.Z,{className:"modal-content modal-content-default",children:[(0,d.jsx)(T.Z,{className:"icon-button",onClick:r,children:(0,d.jsx)(Q.Z,{className:"close-icon"})}),(0,d.jsx)("div",{className:"rounded-gradient-box-shadow mb-3",children:(0,d.jsx)("img",{src:(0,ee.q)("/ic-large-success.svg"),alt:"success"})}
1),(0,d.jsxs)("div",{className:B()["modal-content"],children:[(0,d.jsx)("div",{className:"text-24 font-weight-700 font-secondary primary-900 mb-2",children:t("Register.verifyYourEmail")}),(0,d.jsx)("div",{className:"text-md-14 text-16 heading-contrast mb-3 mr-4",children:t("Register.description")}),(0,d.jsx)("div",{className:"".concat(B()["modal-content-note"]," text-md-14 text-14 primary-800"),children:t("Register.note")})]}),(0,d.jsx)("div",{className:"w-100 btn-w-md-100",children:(0,d.jsx)(C.Z,{onClick:r,size:a>=Y.Z.TabletMax?"l":"m",variant:"secondary-outline",disableRipple:!0,"data-cy":"success-close",children:t("Register.close")})})]})})})})})),se=s(85172),te=s(3574),ie=s(62657),ae=s(18937),re=s(38197),le=s(9713),oe=s(35944);!function(e){e.DEFAULT_REGISTER="default-register",e.FN_CREATOR_REGISTER="fn-register"}(t||(t={}));var ce=function(e){var n=function(e){var n,s=(0,g.Z)("common").t,t=(0,u.useState)(!1),r=t[0],l=t[1],o=(0,u.useState)(!1),d=o[0],h=o[1],m=(0,u.useRef)(null),f=(0,u.useState)(!1),p=f[0],x=f[1],v=(0,O.useSession)().data,j=(0,u.useState)(!1),N=j[0],C=j[1],E=(0,u.useState)(),b=E[0],S=E[1],w=(0,u.useRef)(null),Z=(0,u.useRef)(null),y=(0,$.useRouter)(),T=((0,ie.Uk)({}),(0,u.useRef)(null)),L=(0,u.useState)(null),P=L[0],k=L[1];(0,u.useEffect)((function(){if(null===v||void 0===v?void 0:v.socialRegister){var n;null===T||void 0===T||null===(n=T.current)||void 0===n||n.openSocialRegister()}else{var s;if(null===v||void 0===v?void 0:v.error)return k(null===v||void 0===v||null===(s=v.error)||void 0===s?void 0:s.message),void setTimeout((function(){(0,O.signOut)()}),3e3);v&&(null===v||void 0===v?void 0:v.provider)!==D.G.CREDENTIALS&&(0,oe.pd)(y,v,I.getValues(A.i.CONSENT),{successLoginCallback:null===e||void 0===e?void 0:e.successLoginCallback})}}),[null===v||void 0===v?void 0:v.provider]);var I=(0,R.cI)({mode:"onChange",reValidateMode:"onChange",defaultValues:(n={},(0,a.Z)(n,A.i.USERNAME,""),(0,a.Z)(n,A.i.EMAIL,""),(0,a.Z)(n,A.i.PASSWORD,""),(0,a.Z)(n,A.i.CONSENT,!1),(0,a.Z)(n,A.i.REDIRECT_URL,(null===e||void 0===e?void 0:e.registerCallbackURL)||null),n)}),H=function(){var e=(0,i.Z)(c().mark((function e(){var n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:null===(n=w.current)||void 0===n||n.execute();case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),W=function(){var e=(0,i.Z)(c().mark((function e(n){var t,i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!p){e.next=2;break}return e.abrupt("return");case 2:return x(!0),t=(0,ie.Qz)(n),e.next=7,t.mutate({mutation:se.A1H,variables:(i={},(0,a.Z)(i,A.i.USERNAME,(0,_.E)(I.getValues(A.i.USERNAME))),(0,a.Z)(i,A.i.EMAIL,(0,_.E)(I.getValues(A.i.EMAIL))),(0,a.Z)(i,A.i.PASSWORD,(0,_.E)(I.getValues(A.i.PASSWORD))),(0,a.Z)(i,A.i.CONSENT,I.getValues(A.i.CONSENT)),(0,a.Z)(i,A.i.REDIRECT_URL,I.getValues(A.i.REDIRECT_URL)),i)}).then((function(){x(!1),m.current.openSuccess()})).catch((function(){k(s("Register.error"))}));case 7:x(!1);case 8:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return{t:s,form:I,onSubmit:H,showPass:r,setShowPass:l,showForgotPassword:d,setShowForgotPassword:h,loading:p,setLoading:x,successRef:m,error:P,handleCloseSnack:function(){k(null)},sendRequestProviderLogin:function(e){N&&C(!1),setTimeout((function(){C(!0),S(e)}))},session:v,showSocialLogin:N,provider:b,recaptchaRef:w,onReCAPTCHAChange:function(e){e&&(W(e),w.current.reset())},pwdContainRef:Z,socialRegisterRef:T}}(e),s=n.t,o=n.form,h=n.onSubmit,Z=n.showPass,k=n.setShowPass,q=n.loading,B=n.successRef,G=n.error,z=n.handleCloseSnack,Q=(n.sendRequestProviderLogin,n.session),X=n.showSocialLogin,Y=n.provider,J=n.recaptchaRef,K=n.onReCAPTCHAChange,ee=n.pwdContainRef,ce=n.socialRegisterRef,de=o.control,ue=o.handleSubmit,he=o.setValue;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(te.Z,{ref:J,size:"invisible",sitekey:"6Ld3ZI0mAAAAANaEirHB_wx8WiKHtDF6l-dWSjk3",onChange:K}),(0,d.jsx)(f.Z,{maxWidth:"md",children:(0,d.jsxs)("div",{className:"".concat(m().auth," auth-box  auth-box__register"),children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"".concat(m()["auth-form"]),children:[(null===e||void 0===e?void 0:e.hideTitle)?(0,d.jsx)(d.Fragment,{}):(0,d.jsx)("h1",{className:"h3 font-secondary primary-900 mb-5",children:s("Register.subtitle")}),(0,d.jsxs)("form",{autoComplete:"off",onSubmit:ue(h),children:[(0,d.jsx)("div",{className:"mb-5 w-100",children:(0,d.jsx)(R.Qr,{name:A.i.USERNAME,control:de,render:function(e){var n=e.field,t=e.fieldState,i=t.invali
1d,a=(t.isTouched,t.isDirty,t.error);return(0,d.jsxs)(E.Z,{fullWidth:!0,children:[(0,d.jsx)(S.Z,(0,l.Z)((0,r.Z)({},n),{error:i,inputProps:{minLength:2,maxLength:255,"data-cy":"input-username"},type:"text",fullWidth:!0,label:s("Register.userName"),onBlur:function(e){return(0,j.r)(e,he)}})),i?(0,d.jsx)(b.Z,{error:!0,children:null===a||void 0===a?void 0:a.message}):(0,d.jsx)(b.Z,{children:s("Register.nameHelper")})]})},rules:{required:s("Validation.required"),minLength:{value:2,message:s("Validation.minLength",{count:2})},maxLength:{value:255,message:s("Validation.maxLength",{count:255})}}})}),(0,d.jsx)("div",{className:"mb-5 w-100",children:(0,d.jsx)(R.Qr,{name:A.i.EMAIL,control:de,render:function(e){var n=e.field,t=e.fieldState,i=t.invalid,a=(t.isTouched,t.isDirty,t.error);return(0,d.jsxs)(E.Z,{fullWidth:!0,children:[(0,d.jsx)(S.Z,(0,l.Z)((0,r.Z)({},n),{error:i,inputProps:{minLength:2,maxLength:255,"data-cy":"email"},type:"email",fullWidth:!0,label:s("Register.email"),onBlur:function(e){return(0,j.r)(e,he)}})),!!i&&(0,d.jsx)(b.Z,{error:!0,children:null===a||void 0===a?void 0:a.message})]})},rules:{required:s("Validation.required"),minLength:{value:2,message:s("Validation.minLength",{count:2})},maxLength:{value:255,message:s("Validation.maxLength",{count:255})},pattern:{value:H.D.EMAIL_REGEX_PATTERN,message:s("Validation.email")}}})}),(0,d.jsx)("div",{className:"mb-5 w-100",children:(0,d.jsx)(R.Qr,{name:A.i.PASSWORD,control:de,render:function(e){var n=e.field,t=e.fieldState,i=t.invalid,a=(t.isTouched,t.isDirty,t.error);return(0,d.jsxs)(E.Z,{fullWidth:!0,children:[(0,d.jsx)(S.Z,(0,l.Z)((0,r.Z)({},n),{error:i,inputProps:{minLength:8,maxLength:255,"data-cy":"password"},type:Z?"text":"password",fullWidth:!0,label:s("Register.password"),onBlur:function(e){return(0,j.r)(e,he)},onChange:function(e){n.onChange(e),setTimeout((function(){var n;null===ee||void 0===ee||null===(n=ee.current)||void 0===n||n.handleChangePassword(e.target.value)}),100)},InputProps:{endAdornment:(0,d.jsx)(L.Z,{position:"end",children:(0,d.jsx)(T.Z,{onClick:function(){return k(!Z)},children:(0,d.jsx)("div",{className:"text",children:(0,d.jsx)("div",{className:"bold-700",style:{fontSize:"12px"},children:s(Z?"Register.hide":"Register.show")})})})})}})),!!i&&"required"===a.type&&(0,d.jsx)(b.Z,{error:!0,children:null===a||void 0===a?void 0:a.message})]})},rules:{required:s("Validation.required"),minLength:{value:8,message:s("Validation.minLength",{count:8})},maxLength:{value:255,message:s("Validation.maxLength",{count:255})},pattern:{value:H.D.PASSWORD_REGEX_PATTERN,message:s("Validation.paswordMustContain",{length:8,uppercase:1,digit:1,special:1})}}})}),(0,d.jsx)("div",{className:"mb-5 w-100",children:(0,d.jsx)(ae.c,{ref:ee})}),(0,d.jsx)("div",{className:"mb-5 w-100",children:(0,d.jsx)(R.Qr,{name:A.i.CONSENT,control:de,render:function(e){var n=e.field,t=e.fieldState,i=t.invalid,a=(t.isTouched,t.isDirty,t.error);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(F.Z,{control:(0,d.jsx)(M.Z,(0,l.Z)((0,r.Z)({},n),{onChange:function(e){return he(A.i.CONSENT,e.target.checked)},icon:(0,d.jsx)(V.Z,{}),checkedIcon:(0,d.jsx)(U.Z,{}),className:m()["auth-form-terms"],inputProps:{"data-cy":"input-consent"}})),label:(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)("span",{className:"required-before",children:[s("Register.agree"),(0,d.jsx)("a",{target:"_blank",className:"link","data-cy":"terms",href:le.b.LAYOUT.FOOTER.BOTTOM.terms,children:s("Register.termsOfService")}),s("Register.and"),(0,d.jsx)("a",{target:"_blank",className:"link","data-cy":"policy",href:le.b.LAYOUT.FOOTER.BOTTOM.privacy,children:s("Register.privacyPolicy")})]})})}),!!i&&(0,d.jsx)(b.Z,{error:!0,children:null===a||void 0===a?void 0:a.message})]})},rules:{required:s("Register.termsReguired")}})}),(0,d.jsx)("div",{className:"mb-5 w-100 hide-md",children:(0,d.jsx)(w.Z,{loadingPosition:"start",startIcon:(0,d.jsx)(p.default,{className:m()["auth-form-submit-icon__white"]}),loading:q,size:"l",variant:"primary",disableRipple:!0,type:"submit","data-cy":"submit",fullWidth:!0,children:s("Register.createAccount")})}),(0,d.jsx)("div",{className:"mb-5 w-100 hide-lg",children:(0,d.jsx)(w.Z,{loadingPosition:"start",startIcon:(0,d.jsx)(p.default,{className:m()["auth-form-submit-icon__white"]}),loading:q,size:"m",variant:"primary",disableRipple:!0,type:"submit","data-cy":"submit",fullWidth:!0,children:s("Register.createAccount")}
1)})]}),(0,d.jsxs)("div",{className:"mt-4 text font-12",children:[(0,d.jsx)("p",{className:"text-center bold-700 hide-md",children:s("Register.orLogInWith")}),(0,d.jsx)("p",{className:"bold-700 hide-lg",children:s("Register.orLogInWith")})]}),(0,d.jsxs)("div",{className:"".concat(m()["auth-form-login-with-wrapper"]," mt-2"),children:[(0,d.jsx)(y(),{prefetch:!1,href:"/auth/by-facebook",passHref:!0,children:(0,d.jsx)(C.Z,{startIcon:(0,d.jsx)(x.Z,{}),size:"m",variant:"secondary-outline",disableRipple:!0,className:"".concat(m()["login-with-btn"]," ").concat(m().facebook),fullWidth:!0,"data-cy":"facebook",children:s("Register.logInWithFacebook")})}),(0,d.jsx)(y(),{prefetch:!1,href:"/auth/by-google",passHref:!0,children:(0,d.jsx)(C.Z,{startIcon:(0,d.jsx)(v.Z,{className:m()["google-logo"]}),size:"m",variant:"secondary-outline",disableRipple:!0,className:m()["login-with-btn"],fullWidth:!0,"data-cy":"google",children:s("Register.logInWithGoogle")})})]})]}),(null===e||void 0===e?void 0:e.pageType)===t.DEFAULT_REGISTER&&(0,d.jsxs)("div",{className:"mt-6",children:[(0,d.jsx)("h2",{className:"".concat(m()["auth-question-title"]," h2 font-secondary primary-900 hide-md"),children:s("Register.question")}),(0,d.jsx)("h2",{className:"".concat(m()["auth-question-title"]," h4 font-secondary primary-900 hide-lg"),children:s("Register.question")}),(0,d.jsx)("div",{className:"mt-4 hide-md",children:(0,d.jsx)(y(),{prefetch:!1,href:"/auth/".concat(e.userType,"/login"),passHref:!0,children:(0,d.jsx)(C.Z,{startIcon:(0,d.jsx)(p.default,{}),size:"l",variant:"secondary-gradient",disableRipple:!0,"data-cy":"login",fullWidth:!0,children:s("Register.logIn")})})}),(0,d.jsx)("div",{className:"mt-4 hide-lg",children:(0,d.jsx)(y(),{prefetch:!1,href:"/auth/".concat(e.userType,"/login"),passHref:!0,children:(0,d.jsx)(C.Z,{startIcon:(0,d.jsx)(p.default,{}),size:"m",variant:"secondary-gradient",disableRipple:!0,"data-cy":"login",fullWidth:!0,children:s("Register.logIn")})})})]})]}),(null===e||void 0===e?void 0:e.pageType)===t.DEFAULT_REGISTER&&(0,d.jsx)(W.J,{})]})}),(0,d.jsx)(P.Z,{open:!!G,autoHideDuration:6e3,onClose:z,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,d.jsx)(N.Z,{className:"font-18 font-md-16",onClose:z,severity:"error",sx:{width:"100%"},children:G})}),X&&!Q?(0,d.jsx)(I(),{url:"/auth/by-".concat(Y),onUnload:function(){}}):null,(0,d.jsx)(ne,{ref:B,closeCallback:function(){return(null===e||void 0===e?void 0:e.successRegisterCallback)?null===e||void 0===e?void 0:e.successRegisterCallback():null}}),(0,d.jsx)(re.u,{ref:ce,successLoginCallback:null===e||void 0===e?void 0:e.successLoginCallback})]})}},96866:function(e){e.exports={"contain-process":"PasswordContainList_contain-process__llru4"}},84414:function(e){e.exports={"modal-content":"RegisterSuccess_modal-content__BM3y9","modal-content-note":"RegisterSuccess_modal-content-note__4ysFG"}}}]);

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.