1"use strict";(self.webpackChunkreact_boilerplate=self.webpackChunkreact_boilerplate||[]).push([[9280],{a53b011522208aaf7ec8:(e,a,t)=>{t.d(a,{A:()=>k});var l=t("a2037f49db6530f88dd0"),i=t("9baeacb6f1ecefa9598f"),o=t("c14379a31a06132a3ab6"),r=(t("ece2317ff1c98e67925f"),t("e4b245e7f4823c6b5763")),s=t("2c11f344f634dadc587c"),n=t("38d933b95f85be860650");const d=e=>{const a={};return e.email||(a.email="\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u307e\u305b\u3093"),e.email&&!/^[a-zA-Z0-9._%a-z-][a-zA-Z0-9._%]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e.email)&&(a.email="\u7121\u52b9\u306a\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3067\u3059\u3002"),a};var m,c=t("f521661af9eec5411636");function u(e,a,t,l){m||(m="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var i=e&&e.defaultProps,o=arguments.length-3;if(a||0===o||(a={children:void 0}),1===o)a.children=l;else if(o>1){for(var r=Array(o),s=0;s<o;s++)r[s]=arguments[s+3];a.children=r}if(a&&i)for(var n in i)void 0===a[n]&&(a[n]=i[n]);else a||(a=i||{});return{$$typeof:m,type:e,key:void 0===t?null:""+t,ref:null,props:a,_owner:null}}var f=u("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26.657",height:"26.657",viewBox:"0 0 26.657 26.657"},void 0,u("g",{id:"x",transform:"translate(2.828 2.828)"},void 0,u("path",{id:"Path_15","data-name":"Path 15",d:"M5571.035,1754.172l21,21",transform:"translate(-5571.035 -1754.172)",fill:"none",stroke:"#004b9e",strokeLinecap:"round",strokeWidth:"4"}),u("path",{id:"Path_16","data-name":"Path 16",d:"M0,0,21,21",transform:"translate(0 21) rotate(-90)",fill:"none",stroke:"#004b9e",strokeLinecap:"round",strokeWidth:"4"}))),v=u("div",{className:"setupEmailTitle"},void 0,"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u8a2d\u5b9a"),p=u("div",{className:"setupDes"},void 0,"\u3053\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u306f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002"),h=u("div",{className:"setupDes"},void 0,"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u3054\u5165\u529b\u304f\u3060\u3055\u3044\u3002"),b=u("div",{className:"setupDes"},void 0,"\u767b\u9332\u5f8c\u306f\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306b\u3066\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u3059\u3002"),g=u("div",{className:"loginLabel"},void 0,"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9"),x=u(s.A,{text:"\u8a2d\u5b9a",type:"primary",className:"button",width:"350px"});const k=function(e){const{visible:a,onClose:t}=e,s=(0,r.useDispatch)(),{isSetupEmailSuccess:m=!1,errorSetupText:k=""}=(0,r.useSelector)((e=>e.global||{})),y=(0,o.Wx)({enableReinitialize:!0,initialValues:{email:""},validate:d,onSubmit:e=>{s((0,c.om)(e.email))}});(0,l.useEffect)((()=>{k&&y.setFieldError("email",k)}),[k]);const N=()=>{t(),y.setFieldError("email",""),s((0,c.I4)())};return u(i.Dialog,{fullWidth:!0,maxWidth:"sm",open:a,onClose:N,className:" dialog editConnectWallet setupEmailContainer",scroll:"paper"},void 0,u(i.DialogTitle,{id:"scroll-dialog-title"},void 0,u(i.Box,{sx:{display:"flex",justifyContent:"end"}},void 0,u(i.IconButton,{onClick:N},void 0,f))),u(i.DialogContent,{className:"editConnectWalletForm setupEmailForm"},void 0,m?u("div",{className:"resentSetupEmail"},void 0,u(n.A,{value:y.values.email,title:"\u9001\u4fe1\u3057\u307e\u3057\u305f\uff01",description:"\u30e1\u30fc\u30eb\u3092\u78ba\u8a8d\u3057\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u518d\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002",note:"\u30e1\u30fc\u30eb\u304c\u5c4a\u304b\u306a\u3044\u5834\u5408\u3001\u4e0a\u306e\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u518d\u9001\u3057\u3066\u304f\u3060\u3055\u3044\u3002",textButton:"\u30e1\u30fc\u30eb\u3092\u518d\u9001",onResendEmail:()=>{const e=Buffer.from(y.values.email).toString("base64");s((0,c.m7)({username:e}))}})):u("form",{onSubmit:y.handleSubmit},void 0,v,p,h,b,g,u(i.TextField,{fullWidth:!0,hiddenLabel:!0,placeholder:"\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044",name:"email",variant:"outlined",margin:"dense",onChange:e=>y.setFieldValue("email",e.target.value.trim()),onBlur:y.handleBlur,value:y.values.email,error:y.touched.email&&!!y.errors.email,helperText:y.errors.email,className:y.errors.email?"errorField":""}),u(i.Box,{className:"editButtonNew"},void 0," ",x))))}}}]);
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.