1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4842,8542],{23926:function(e,t,n){"use strict";var i=n(67294),o=n(30067),r=n(73633),a=n(57094),s=n(85893);function l(e){return e.substring(2).toLowerCase()}t.Z=function(e){const{children:t,disableReactTree:n=!1,mouseEvent:c="onClick",onClickAway:h,touchEvent:d="onTouchEnd"}=e,u=i.useRef(!1),p=i.useRef(null),m=i.useRef(!1),v=i.useRef(!1);i.useEffect((()=>(setTimeout((()=>{m.current=!0}),0),()=>{m.current=!1})),[]);const f=(0,o.Z)(t.ref,p),g=(0,r.Z)((e=>{const t=v.current;v.current=!1;const i=(0,a.Z)(p.current);if(!m.current||!p.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,i))return;if(u.current)return void(u.current=!1);let o;o=e.composedPath?e.composedPath().indexOf(p.current)>-1:!i.documentElement.contains(e.target)||p.current.contains(e.target),o||!n&&t||h(e)})),x=e=>n=>{v.current=!0;const i=t.props[e];i&&i(n)},_={ref:f};return!1!==d&&(_[d]=x(d)),i.useEffect((()=>{if(!1!==d){const e=l(d),t=(0,a.Z)(p.current),n=()=>{u.current=!0};return t.addEventListener(e,g),t.addEventListener("touchmove",n),()=>{t.removeEventListener(e,g),t.removeEventListener("touchmove",n)}}}),[g,d]),!1!==c&&(_[c]=x(c)),i.useEffect((()=>{if(!1!==c){const e=l(c),t=(0,a.Z)(p.current);return t.addEventListener(e,g),()=>{t.removeEventListener(e,g)}}}),[g,c]),(0,s.jsx)(i.Fragment,{children:i.cloneElement(t,_)})}},6103:function(e,t,n){"use strict";var i=n(91941);t.Z=void 0;var o=i(n(64938)),r=n(85893),a=(0,o.default)((0,r.jsx)("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1z"}),"AddRounded");t.Z=a},51342:function(e,t,n){"use strict";var i=n(91941);t.Z=void 0;var o=i(n(64938)),r=n(85893),a=(0,o.default)((0,r.jsx)("path",{d:"M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1z"}),"RemoveRounded");t.Z=a},51978:function(e,t,n){"use strict";var i=n(91941);t.Z=void 0;var o=i(n(64938)),r=n(85893),a=(0,o.default)((0,r.jsx)("path",{d:"M12 6.5c2.76 0 5 2.24 5 5 0 .51-.1 1-.24 1.46l3.06 3.06c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l2.17 2.17c.47-.14.96-.24 1.47-.24zM2.71 3.16c-.39.39-.39 1.02 0 1.41l1.97 1.97C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.97-.3 4.31-.82l2.72 2.72c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L4.13 3.16c-.39-.39-1.03-.39-1.42 0zM12 16.5c-2.76 0-5-2.24-5-5 0-.77.18-1.5.49-2.14l1.57 1.57c-.03.18-.06.37-.06.57 0 1.66 1.34 3 3 3 .2 0 .38-.03.57-.07L14.14 16c-.65.32-1.37.5-2.14.5zm2.97-5.33c-.15-1.4-1.25-2.49-2.64-2.64l2.64 2.64z"}),"VisibilityOffRounded");t.Z=a},8842:function(e,t,n){"use strict";var i=n(91941);t.Z=void 0;var o=i(n(64938)),r=n(85893),a=(0,o.default)((0,r.jsx)("path",{d:"M12 4C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"VisibilityRounded");t.Z=a},87109:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var i=n(1048),o=n(32793),r=n(67294),a=n(93680),s=n(94780),l=n(98216),c=n(15861),h=n(47167),d=n(74423),u=n(90948),p=n(34867);function m(e){return(0,p.Z)("MuiInputAdornment",e)}var v,f=(0,n(1588).Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),g=n(71657),x=n(85893);const _=["children","className","component","disablePointerEvents","disableTypography","position","variant"],b=(0,u.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,l.Z)(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,o.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${f.positionStart}&:not(.${f.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"})));var j=r.forwardRef((function(e,t){const n=(0,g.Z)({props:e,name:"MuiInputAdornment"}),{children:u,className:p,component:f="div",disablePointerEvents:j=!1,disableTypography:w=!1,position:P,variant:y}=n,Z=(0,i.Z)(n,_),E=(0,d.Z)()||{};let A=y;y&&E.variant,E&&!A&&(A=E.variant);const C=(0,o.Z)({},n,{hiddenLabel:E.hiddenLabel,size:E.size,disablePointerEvents:j,position:P,variant:A}),N=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:i,position:o,size:r,variant:a}=e,c={root:["root",n&&"disablePointerEvents",o&&`position${(0,l.Z)(o)}`,a,i&&"hiddenLabel",r&&`size${(0,l.Z)(r)}`]};return(0,s.Z)(c,m,t)})(C);return(0,x.jsx)(h.Z.Provider,{value:null,children:(0,x.jsx)(b,(0,o.Z)({as:f,ownerState:C,className:(0,a.Z)(N.root,p),ref:t},Z,{children:"string"!==typeof u||w?(0,x.jsxs)(r.Fragment,{children:["start"===P?v||(v=(0,x.jsx)("span",{className:"notranslate",children:"\u200b"})):null,u]}):(0,x.jsx)(c.Z,{color:"text.secondary",children:u})}))})}))},15979:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/security/anti-phishing",function(){return n(57831)}])},57831:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return Y},default:function(){return q}});var i,o,r,a,s,l=n(85893),c=n(67294),h=n(71217),d=n(867),u=n(2548),p=n(23926),m=n(34386),v=n(28259),f=n(73327);function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},g.apply(this,arguments)}var x,_,b=function(e){return c.createElement("svg",g({viewBox:"0 0 123 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=c.createElement("path",{d:"M50.905 0h9.805a14.37 14.37 0 0 1 10.159 4.207 14.36 14.36 0 0 1 4.207 10.155v9.801a3.835 3.835 0 0 1-3.834 3.84h-9.743a14.426 14.426 0 0 1-13.334-8.9 14.413 14.413 0 0 1-1.098-5.52V3.837A3.836 3.836 0 0 1 50.905 0Z",fill:"#1C8D57"})),o||(o=c.createElement("path",{d:"M61.151 9.791a4.21 4.21 0 0 1 4.128 5.028 4.207 4.207 0 1 1-4.128-5.028Zm0-4.506a8.718 8.718 0 0 0-8.05 5.381 8.711 8.711 0 0 0 6.354 11.878 8.719 8.719 0 0 0 8.947-3.705 8.711 8.711 0 0 0-7.248-13.554h-.003Z",fill:"#F1F2F2"})),r||(r=c.createElement("path",{d:"M56.95 5.285h-1.61a3.053 3.053 0 0 0-3.053 3.055v16.312a14.434 14.434 0 0 0 4.669 2.608V5.285h-.007Z",fill:"#F1F2F2"})),a||(a=c.createElement("path",{d:"M61.196 5.29h-5.441v2.9h5.441v-2.9Z",fill:"#F1F2F2"})),s||(s=c.createElement("path",{d:"M5.95 5.89h.452c1.594 0 3.054.658 4.378 1.974a5.896 5.896 0 0 1 1.61 3.985v.1c0 2.031-.925 3.7-2.775 5.004a6.218 6.218 0 0 1-3.384.995h-.113a6.509 6.509 0 0 1-2.84-.692v6.676a.045.045 0 0 1-.03.05.045.045 0 0 1-.021.001H.052a.045.045 0 0 1-.051-.051V11.7c0-1.503.662-2.915 1.986-4.236 1.29-1.05 2.611-1.574 3.964-1.574Zm.194 3.22h-.116c-.953 0-1.757.494-2.412 1.483-.207.415-.322.87-.338 1.333 0 1.098.56 1.95 1.681 2.552.366.16.76.245 1.16.251h.128c1.073 0 1.913-.511 2.518-1.535a2.6 2.6 0 0 0 .322-1.22v-.125c0-1.024-.525-1.845-1.575-2.463a2.914 2.914 0 0 0-1.15-.277h-.128a.023.023 0 0 1-.026-.025l-.064.025ZM36.506 5.89h.451c1.59 0 3.05.658 4.376 1.974a5.896 5.896 0 0 1 1.61 3.985v.1c0 2.031-.925 3.7-2.776 5.004a6.216 6.216 0 0 1-3.38.995h-.104a6.49 6.49 0 0 1-2.84-.692v6.676c.001.007 0 .014-.003.02a.05.05 0 0 1-.01.017.05.05 0 0 1-.038.014h-3.188a.048.048 0 0 1-.051-.051V11.7c0-1.503.663-2.915 1.99-4.236 1.292-1.05 2.613-1.574 3.963
1-1.574Zm.194 3.22h-.116c-.956 0-1.76.494-2.415 1.483-.203.416-.313.87-.322 1.333 0 1.098.559 1.95 1.677 2.552.367.16.762.245 1.163.251h.128c1.074 0 1.913-.511 2.518-1.535.206-.374.317-.793.322-1.22v-.125c0-1.024-.525-1.845-1.574-2.463a2.941 2.941 0 0 0-1.15-.277h-.128c-.02 0-.026 0-.026-.025l-.078.025ZM20.678 5.846h.403c1.395 0 2.694.57 3.896 1.709.992 1.14 1.486 2.292 1.484 3.457v.466c0 .859-.369 1.768-1.107 2.727l-4.65 6.74h5.474c.035 0 .052.026.052.051v2.791c0 .032 0 .048-.052.048H15.153v-.048c3.669-5.324 5.6-8.113 5.796-8.369 1.552-1.955 2.327-2.986 2.325-3.093.158-.32.242-.672.244-1.03 0-.966-.48-1.745-1.445-2.288a2.435 2.435 0 0 0-1.018-.264h-.299c-.767 0-1.437.373-2.013 1.12a2.41 2.41 0 0 0-.45 1.432c.006.419.116.83.322 1.194l-.052.026h-3.107c-.097-.026-.161-.45-.193-1.271 0-1.569.644-2.93 1.932-4.085a5.475 5.475 0 0 1 3.483-1.313ZM79.797 5.771h3.175c.035 0 .051.026.051.052v6.663h.026a6.358 6.358 0 0 1 2.898-.692c2.056 0 3.773.897 5.152 2.69a6.043 6.043 0 0 1 1.03 3.32v.099c0 1.963-.912 3.615-2.737 4.954a6.278 6.278 0 0 1-3.188.994h-.528c-1.413 0-2.765-.56-4.066-1.683-1.239-1.288-1.858-2.659-1.858-4.114V5.823c0-.029.02-.052.045-.052Zm3.252 11.91v.138a.022.022 0 0 1-.006.02.023.023 0 0 1-.02.006l.026.052v.074c0 1.007.55 1.821 1.652 2.452.391.153.806.238 1.227.251 1.193 0 2.097-.595 2.71-1.786.111-.31.172-.636.181-.966v-.125c0-1.015-.508-1.824-1.523-2.427a2.865 2.865 0 0 0-1.343-.322c-1.326 0-2.26.666-2.8 1.999-.06.2-.095.408-.104.618v.016ZM110.672 5.771h3.175c.035 0 .051.026.051.052v6.663h.026a6.367 6.367 0 0 1 2.898-.692c2.058 0 3.775.897 5.151 2.69a6.02 6.02 0 0 1 1.024 3.32v.099c0 1.963-.912 3.615-2.737 4.954a6.29 6.29 0 0 1-3.187.994h-.515c-1.411 0-2.766-.56-4.067-1.683-1.239-1.288-1.858-2.659-1.858-4.114V5.823c-.003-.029.013-.052.039-.052Zm3.252 11.91v.138s0 .026-.026.026l.026.052v.074c0 1.007.55 1.821 1.655 2.452.39.153.804.238 1.223.251 1.198 0 2.102-.595 2.711-1.786.113-.31.173-.636.181-.966v-.125c0-1.015-.508-1.824-1.523-2.427a2.851 2.851 0 0 0-1.343-.322c-1.322 0-2.256.666-2.801 1.999a2.59 2.59 0 0 0-.103.618v.016ZM100.424 5.846h.399c1.395 0 2.695.57 3.899 1.709.99 1.14 1.484 2.292 1.484 3.457v.466c0 .859-.37 1.768-1.11 2.727l-4.637 6.74h5.474c.035 0 .051.026.051.051v2.791c0 .032-.016.048-.051.048H94.898v-.048c3.667-5.324 5.599-8.113 5.796-8.369 1.548-1.955 2.323-2.986 2.325-3.093.158-.32.242-.672.245-1.03 0-.98-.482-1.743-1.446-2.288a2.45 2.45 0 0 0-1.021-.264h-.296c-.766 0-1.437.373-2.013 1.12-.3.417-.458.918-.454 1.432.005.419.116.83.322 1.194l-.051.026h-3.062c-.093-.026-.158-.45-.193-1.271 0-1.569.65-2.93 1.951-4.085a5.475 5.475 0 0 1 3.423-1.313Z",fill:"currentColor"})))};function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},j.apply(this,arguments)}var w,P,y=function(e){return c.createElement("svg",j({width:68,height:55,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),x||(x=c.createElement("path",{d:"M8.614.879a1 1 0 0 0-1.414 0L.836 7.243A1 1 0 0 0 2.25 8.657L7.907 3l5.657 5.657a1 1 0 1 0 1.414-1.414L8.614.879Zm58.401 51.665c-32.217 0-58.108-22.932-58.108-50.958h-2c0 29.365 27.036 52.958 60.108 52.958v-2Z",fill:"url(#arrow-curved_svg__a)"})),_||(_=c.createElement("defs",null,c.createElement("linearGradient",{id:"arrow-curved_svg__a",x1:37.461,y1:1.586,x2:37.461,y2:54.735,gradientUnits:"userSpaceOnUse"},c.createElement("stop",{stopColor:"#1C8D57"}),c.createElement("stop",{offset:1,stopColor:"#1C8D57",stopOpacity:0})))))};function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Z.apply(this,arguments)}var E=function(e){return c.createElement("svg",Z({width:70,height:58,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),w||(w=c.createElement("path",{d:"M7.758 56.76a.897.897 0 0 1-1.268.01L.74 51.104A.897.897 0 1 1 2 49.828l5.11 5.036 5.037-5.111a.897.897 0 1 1 1.277 1.259l-5.665 5.75ZM68.602 1.864c-33.787.25-60.805 24.643-60.586 54.26l-1.794.014C5.994 25.328 34.025.326 68.59.07l.013 1.794Z",fill:"url(#arrow-curved-rotate_svg__a)"})),P||(P=c.createElement("defs",null,c.createElement("linearGradient",{id:"arrow-curved-rotate_svg__a",x1:38.06,y1:55.902,x2:37.646,y2:-.059,gradientUnits:"userSpaceOnUse"},c.createElement("stop",{stopColor:"#4AA657"}),c.createElement("stop",{offset:1,stopColor:"#4AA657",stopOpacity:0})))))},A=n(13023),C=n(60449),N=n(85126),O=n(94054),k=n(33841),I=n(90089),L=n(77836),M=n(28542),S=n(33931),D=n(55734),F=n(88300),T=n.n(F),B=(0,h.Pi)((function(){var e=(0,D.m)().rootStore,t=e.securityStore,n=e.authStore.userSettings.isTwoFactorEnabled,i=(0,S.$G)().t;return(0,l.jsxs)(L.Z,{open:t.showAntiPhishingModal,handleClose:function(){return t.closeAntiPhishingModal()},children:[(0,l.jsx)("h2",{className:T().title,children:i("antiPhishing.".concat(t.antiPhishingCode?"modify":"
1create"))}),(0,l.jsxs)("form",{className:T().form,autoComplete:"off",noValidate:!0,onSubmit:function(e){e.preventDefault(),t.antiPhishingForm.submit({meta:{validateOnly:n?["antiPhishingCode","twoFA"]:["antiPhishingCode"]}})},children:[t.antiPhishingCode&&(0,l.jsxs)(O.Z,{className:T().formInput,variant:"outlined",children:[(0,l.jsx)(k.Z,{htmlFor:"currentCode",children:i("antiPhishing.current")}),(0,l.jsx)(I.Z,{value:t.antiPhishingCode,id:"currentCode",disabled:!0})]}),(0,l.jsx)(M.default,{extraClassName:T().formInput,name:"antiPhishingCode",label:i("antiPhishing.".concat(t.antiPhishingCode?"new":"create")),formKey:"antiPhishingForm",storeKey:"securityStore",theme:"outlined",disablePaste:!0}),n&&(0,l.jsx)(M.default,{extraClassName:T().formInput,name:"twoFA",label:i("auth.token"),formKey:"antiPhishingForm",storeKey:"securityStore",theme:"outlined",isNumber:!0,maxLength:6,required:!0}),(0,l.jsx)(C.Z,{type:"submit",loading:t.antiPhishingForm.loading,children:i("antiPhishing.submitCode")})]})]})})),R=n(89552),z=n(73680),V=n(93470),U=n.n(V),K=n(26711),W=n.n(K);function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){G(e,t,n[t])}))}return e}var H=(0,v.Z)((function(e){return(0,f.Z)({customWidth:G({maxWidth:395},e.breakpoints.down(767),{maxWidth:290})})})),X=(0,h.Pi)((function(){var e=(0,D.m)(),t=e.rootStore.securityStore,n=e.themingStore.darkMode,i=(0,c.useState)(!1),o=i[0],r=i[1],a=H(),s=(0,S.$G)().t;return(0,l.jsxs)("div",{className:W().wrapper,children:[(0,l.jsxs)("div",{className:U().Breadcrumbs,children:[(0,l.jsxs)(A.Z,{path:R._j.accountSecurity.path,extraClassName:U().BreadcrumbsLink,children:[(0,l.jsx)(d.Z,{className:U().BreadcrumbsIcon}),s("common.back")]}),(0,l.jsx)("span",{className:U().BreadcrumbsCurrent,children:s("antiPhishing.title")})]}),(0,l.jsxs)("div",{className:W().content,children:[(0,l.jsx)("h1",{className:W().title,children:s("antiPhishing.title")}),(0,l.jsx)(N.Z,{bgPurple:!0,children:s("antiPhishing.warning")}),t.antiPhishingCode?(0,l.jsxs)("div",{className:W().block,children:[(0,l.jsx)("p",{className:W().blockLabel,children:s("antiPhishing.old")}),(0,l.jsx)("div",{className:W().blockCode,children:t.antiPhishingCode}),(0,l.jsx)(C.Z,{size:"big",click:function(){return t.toggleAntiPhishingModal(!0)},children:s("antiPhishing.changeCode")}),(0,l.jsx)(p.Z,{onClickAway:function(){return r(!1)},children:(0,l.jsx)(m.Z,$({title:(0,l.jsxs)("div",{className:"".concat(W().tooltip," ").concat(n?W().tooltipIsDark:""),children:[(0,l.jsx)("h3",{className:W().tooltipTitle,children:s("antiPhishing.whatIs.title")}),(0,l.jsx)("p",{className:W().tooltipDescription,children:s("antiPhishing.whatIs.desc")}),(0,l.jsx)("h3",{className:W().tooltipTitle,children:s("antiPhishing.howDo.title")}),(0,l.jsx)("p",{className:W().tooltipDescription,children:s("antiPhishing.howDo.desc")}),(0,l.jsxs)("div",{className:W().tooltipExample,children:[(0,l.jsx)(b,{className:W().tooltipExampleLogo}),(0,l.jsxs)("div",{className:W().tooltipExampleBody,children:[(0,l.jsxs)("div",{className:W().tooltipExampleTitle,children:[s("antiPhishing.confirmRegistration"),(0,l.jsxs)("div",{className:W().tooltipExampleRight,children:[s("antiPhishing.name"),(0,l.jsx)("span",{className:W().tooltipExampleCode,children:"*******"})]})]}),(0,l.jsx)(E,{className:W().tooltipExampleArrowIcon})]})]})]}),arrow:!0,placement:"top",disableFocusListener:!0,disableTouchListener:!0,classes:{tooltip:"".concat(a.customWidth)}},(0,z.Uk)(o,r),{children:(0,l.jsxs)("div",{className:W().blockInfo,onClick:function(){return r(!0)},children:[(0,l.jsx)(u.Z,{className:W().blockIcon}),s("antiPhishing.howDo.title")]})}))})]}):(0,l.jsxs)("div",{className:W().info,children:[(0,l.jsx)("h3",{className:W().infoTitle,children:s("antiPhishing.whatIs.title")}),(0,l.jsx)("p",{className:W().infoDescription,children:s("antiPhishing.whatIs.desc")}),(0,l.jsx)("h3",{className:W().infoTitle,children:s("antiPhishing.howDo.title")}),(0,l.jsx)("p",{className:W().infoDescription,children:s("antiPhishing.howDo.desc")}),(0,l.jsxs)("div",{className:W().example,children:[(0,l.jsx)(b,{className:W().exampleLogo}),(0,l.jsxs)("div",{className:W().exampleBody,children:[(0,l.jsxs)("div",{className:W().exampleTitle,children:[s("antiPhishing.confirmRegistration"),(0,l.jsxs)("div",{className:W().exampleRight,children:[s("antiPhishing.name"),(0,l.jsx)("span",{className:W().exampleCode,children:"*******"})]})]}),(0,l.jsx)(y,{className:W().exampleArrowIcon})]})]}),(0,l.jsx)(C.Z,{size:"big",extraClassName:W().exampleButton,click:function(){return t.toggleAntiPhishingModal(!0)},children:s("antiPhishing.create")})]})]}),(0,l.jsx)(B,{})]})})),Y=!0,q=X},28542:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return I}});var i=n(85893),o=n(67294),r=n(71217),a=n(33931),s=n(86010),l=n(93302),c=n.n(l),h=n(27361),d=n.n(h),u=n(34386),p=n(84458),m=n(93946),v=n(87109),f=n(28259),g=n(98396),x=n(51978),_=n(8842),b=n(51342),j=n(6103),w=n(94615),P=n(77745),y=n(55734),Z=n(12240),E=n(33206),A=n.n(E);
1function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){C(e,t,n[t])}))}return e}function O(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var k=(0,f.Z)((function(){return{arrow:{color:"#222 !important"},tooltip:{backgroundColor:"#222 !important",color:"#fff !important",borderRadius:"3px !important"}}})),I=(0,r.Pi)((function(e){var t,n=e.name,r=e.formKey,l=e.storeKey,h=e.label,f=e.type,E=void 0===f?"text":f,C=e.incDec,I=void 0!==C&&C,L=e.trusted,M=void 0!==L&&L,S=e.disabled,D=void 0!==S&&S,F=e.readOnly,T=void 0!==F&&F,B=e.isNumber,R=void 0!==B&&B,z=e.noTrim,V=void 0!==z&&z,U=e.required,K=void 0!==U&&U,W=e.isPassword,G=void 0!==W&&W,$=e.noValidate,H=void 0!==$&&$,X=e.disablePaste,Y=void 0!==X&&X,q=e.multiline,J=void 0!==q&&q,Q=e.precision,ee=void 0===Q?-1:Q,te=e.maxLength,ne=void 0===te?20:te,ie=e.additionalButton,oe=e.rightAdornment,re=e.leftAdornment,ae=e.extraClassName,se=e.onBlur,le=e.onFocus,ce=e.theme,he=void 0===ce?"standard":ce,de=e.interceptor,ue=e.inputRef,pe=e.showTooltip,me=e.hint,ve=e.handleMaxClick,fe=e.validate,ge=void 0!==fe&&fe,xe=e.autocomplete,_e=(0,y.m)(),be=_e.rootStore.pairsStore,je=O(_e.rootStore,["pairsStore"])[l],we=d()(je,r),Pe=(0,a.$G)().t,ye=(0,P.FS)(),Ze=ye.referralId,Ee=ye.time,Ae=ye.constParams,Ce=(0,g.Z)((function(e){return e.breakpoints.up("desktop")})),Ne=(0,o.useState)({id:"BaseInputId-".concat(r,"-").concat(n),weightRange:"",showPassword:!1}),Oe=Ne[0],ke=Ne[1],Ie=(0,o.useState)(""),Le=Ie[0],Me=Ie[1],Se=k(),De=(0,g.Z)("(max-width: 767px)"),Fe=function(){ke(N({},Oe,{showPassword:!Oe.showPassword}))},Te=function(e){e.preventDefault()},Be=function(e){var t=be.getCurrentPair,i=t.min_price,o=void 0===i?"0":i,a=t.max_price,s=void 0===a?"0":a,l=t.tick_size,h=void 0===l?"0":l,d=t.min_amount,u=void 0===d?"0":d,p=t.max_amount,m=void 0===p?"0":p,v=t.step_size,f=void 0===v?"0":v,g="0",x="0",_="0";switch(n){case"price":g=+h?h:ee>0?"0.".concat("0".repeat(ee-1),"1"):"1",x=o,_=s;break;case"amount":g=+f?f:ee>0?"0.".concat("0".repeat(ee-1),"1"):"1",x=u,_=m}var b=new(c())(we.getField(n)||"0")[e](g);if("plus"===e){if(Number(_)&&b.gt(_))return}else if(b.lt(x))return;var j=N({referralId:Ze,eventType:"input_".concat(r,"_").concat(n),time:Ee(),eventProperties:{value:b.toString()}},Ae);Z.Z.submitMetrics({body:j}),we.changeField({field:n,value:b.toString(),trusted:M})},Re={name:n,id:Oe.id,value:we.getField(n),disabled:D,readOnly:T,inputProps:R?{maxLength:ne}:void 0,onChange:(t=n,function(e){var n=V?e.target.value:e.target.value.trim();de&&(n=de(n)),R&&((n=n.replace(",",".")).startsWith("00")&&"twoFA"!==t&&(n="0"),n.startsWith(".")&&(n="0.")),we.changeField({field:t,value:n,trusted:M,validate:ge}),pe&&Me(ze())}),onKeyDown:R?function(e){var t=e.target,n=t.value,i=t.selectionEnd,o=t.selectionStart,r=e.key,a=e.keyCode,s=e.ctrlKey,l=e.metaKey;"."!==r&&","!==r||-1===n.indexOf(".")&&-1===n.indexOf(",")&&0!==ee||e.preventDefault();var c=-1!==[8,46,27,9,13,110].indexOf(a),h=/65|67|86|88/.test(a.toString())&&(!0===s||!0===l)&&(!0===s||!0===l);"."===r||","===r||c||h||a>=35&&a<=40||(/^\d+((\.|,)\d+)?$/.test(r)||e.preventDefault(),ee>0&&o>n.indexOf(".")&&o===i&&(n.split(".")[1]||[]).length+1>ee&&e.preventDefault())}:void 0,onPaste:function(e){Y&&(e.preventDefault(),G&&w.Z.warning(Pe("validators.passwordTyped")))},onBlur:function(e){we.onBlur({field:n,noValidate:H||ge}),se&&se(n,V?e.target.value:e.target.value.trim())},onFocus:function(e){pe&&Me(ze()),le&&le(n,V?e.target.value:e.target.value.trim())},inputRef:ue,multiline:J,autoComplete:xe},ze=function(){var e=we.getField(n);if(!+e||"USD"===be.getMoneyTicker||"USDT"===be.getMoneyTicker)return"";var t=be.calculateValueForTooltip(e);return+t?"$ ".concat(t):""},Ve=function(){return(0,i.jsx)(m.Z,{className:A().btnMax,onClick:ve,children:Pe("codes.max")})};return(0,i.jsx)("div",{className:(0,s.Z)(A().wrapper,ae),children:(0,i.jsx)(u.Z,{title:pe?Le:"",arrow:!0,placement:De?"top":"right",disableTouchListener:!0,disableHoverListener:!0,classes:Se,children:(0,i.jsx)(p.Z,N({label:h,required:K,error:!!we.getError(n),helperText:me||we.getError(n),variant:he,fullWidth:!0,type:G?Oe.showPassword?E:"password":E,InputProps:{endAdornment:(0,i.jsxs)(v.Z,{position:"end",children:[oe,G?(0,i.jsx)(m.Z,{onClick:Fe,onMouseDown:Te,children:Oe.showPassword?(0,i.jsx)(_.Z,{}):(0,i.jsx)(x.Z,{})}):R&&I?(0,i.jsxs)("div",{className:A().incDecButtons,children:[(0,i.jsx)(m.Z,{onClick:function(){return Be("minus")},className:(0,s.Z)(A().button,A().incDecButtonsLeft),children:(0,i.jsx)(b.Z,{})}),(0,i.jsx)(m.Z,{onClick:function(){return Be("plus")},className:A().button,children:(0,i.jsx)(j.Z,{})})]}):(0,i.jsxs)(i.Fragment,{children:[ve&&Ve(),ie]})]}),startAdornment:re?(0,i.jsx)(v.Z,{position:"start",children:re}):null},sx:{marginBottom:me||we.getError(n)?"4px":"24px"},size:Ce?"medium":"small"},Re))})})}))},26711:function(e){e.exports={wrapper:"Anti-phishing_wrapper__zErV_",content:"Anti-phishing_content__qyI65",title:"Anti-phishing_title__XGBME",info:"Anti-phishing_info__ZCWId",infoTitle:"Anti-phishing_infoTitle__5KLBF",infoDescription:"Anti-phishing_infoDescription__2Rcau",example:"Anti-phishing_example__0RxGb",exampleLogo:"Anti-phishing_exampleLogo__3L6B1",exampleBody:"Anti-phishing_exampleBody__KEbWo",exampleTitle:"Anti-phishing_exampleTitle__mAo2b",exampleRight:"Anti-phishing_exampleRight__ylxN8",exampleCode:"Anti-phishing_exampleCode__pGvJ0",exampleArrowIcon:"Anti-phishing_exampleArrowIcon__iMhra",exampleButton:"Anti-phishing_exampleButton__v0UcZ",block:"Anti-phishing_block__cBoPX",blockLabel:"Anti-phishing_blockLabel__b3v3a",blockCode:"Anti-phishing_blockCode__kF6TP",blockInfo:"Anti-phishing_blockInfo__U4Gxs",blockIcon:"Anti-phishing_blockIcon__U_Yvf",tooltip:"Anti-phishing_tooltip__F_i9X",tooltipTitle:"Anti-phishing_tooltipTitle__T_9rt",tooltipDescription:"Anti-phishing_tooltipDescription__OO1IP",tooltipExample:"Anti-phishing_tooltipExample__Ur9JF",tooltipExampleLogo:"Anti-phishing_tooltipExampleLogo__O_yUC",tooltipExampleBody:"Anti-phishing_tooltipExampleBody__1p_zY",tooltipExampleTitle:"Anti-phishing_tooltipExampleTitle__0AEGm",tooltipExampleRight:"Anti-phishing_tooltipExampleRight__oIz87",tooltipExampleCode:"Anti-phishing_tooltipExampleCode__1WjM6",tooltipExampleArrowIcon:"Anti-phishing_tooltipExampleArrowIcon__9jlFo",tooltipIsDark:"Anti-phishing_tooltipIsDark__3Z4OJ"}},33206:function(e){e.exports={wrapper:"BaseInput_wrapper__dajVH",button:"BaseInput_button__XUYjO",incDecButtons:"BaseInput_incDecButtons__YLreK",incDecButtonsLeft:"BaseInput_incDecButtonsLeft__bReLR",btnMax:"BaseInput_btnMax__WPMC8"}},88300:function(e){e.exports={title:"AntiPhishingModal_title__axVeP",form:"AntiPhishingModal_form__4_bS_",formInput:"AntiPhishingModal_formInput__jIvuf"}}},function(e){e.O(0,[89,4458,9774,2888,179],(function(){return t=15979,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.