https://www.novadax.com.br/_next/static/chunks/pages/user-center/s…/auth/[token]-b51004ecaf0ac53f.js
1/*! For license information please see [token]-b51004ecaf0ac53f.js.LICENSE.txt */ 2(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1730],{92548:function(o,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/user-center/security/device-management/auth/[token]",function(){return e(50062)}])},88908:function(o,t,e){"use strict";e.d(t,{A4:function(){return f},Ee:function(){return m},Hg:function(){return y},Hh:function(){return h},K5:function(){return u},O8:function(){return c},Q8:function(){return x},RL:function(){return A},Sl:function(){return l},Uv:function(){return w},YO:function(){return s},_h:function(){return a},h8:function(){return _},i5:function(){return P},j2:function(){return p},kr:function(){return i},nW:function(){return n},qI:function(){return d},sc:function(){return r},vg:function(){return B},y1:function(){return g}});const _=o=>fetching.post("/api/customer/googleAuthInfo",{customerId:o}),s=o=>{let{emailVerifyCode:t,phoneCountryCode:e,phone:_,smsCode:s}=o;return fetching.post("/api/customer/phoneNumberBind",{emailVerifyCode:t,phoneCountryCode:e,phone:_,smsCode:s})},l=o=>{let{customerId:t,emailVerifyCode:e,phoneCountryCode:_,phone:s,smsCode:l}=o;return fetching.post("/api/customer/changePhoneNumber",{customerId:t,emailVerifyCode:e,phoneCountryCode:_,phone:s,smsCode:l})},c=o=>fetching.post("/api/customer/sendChangePhoneNumberCode",{customerId:o}),f=o=>fetching.post("/api/customer/phoneNumberBind/code/email",{customerId:o}),n=(o,t)=>fetching.post("/api/customer/sendVerifyPhoneCode",{phoneCountryCode:o,phone:t}),u=o=>{let{customerId:t,oldPassword:e,newPassword:_,emailVerifyCode:s}=o;return fetching.post("/api/customer/changePassword",{customerId:t,oldPassword:e,newPassword:_,emailVerifyCode:s})},i=o=>fetching.post("/api/customer/sendChangePasswordCode",{customerId:o}),m=o=>fetching.post("/api/customer/sendGoogleAuthEmailCode",{customerId:o}),r=o=>{let{customerId:t,secret:e,code:_,email:s}=o;return fetching.post("/api/customer/bindGoogleAuth",{customerId:t,secret:e,code:_,email:s})},d=o=>fetching.post("/api/customer/googleAuth/rebind1/sendEmail",{customerId:o}),a=(o,t,e)=>fetching.post("/api/customer/googleAuth/rebind1",{customerId:o,code:t,emailCode:e}),g=o=>{let{customerId:t,secret:e,code:_}=o;return fetching.post("/api/customer/googleAuth/rebind2",{customerId:t,secret:e,code:_})},h=o=>fetching.post("/api/customer/setting/anti_phishing_code",o),p=o=>fetching.get("/api/customer/setting",o),y=o=>fetching.post("/api/customer/setting/device_authorize",o),B=o=>fetching.get("/api/customer/devices",o),A=o=>fetching.get("/api/customer/devices/logs",o),x=o=>fetching.post("/api/customer/devices/deauthorize",o),P=o=>fetching.post("/api/customer/login/authorization/link",o),w=()=>fetching.get("/maintain/state")},45477:function(o,t,e){"use strict";var _=e(85893),s=e(41664),l=e.n(s);t.Z=function(o){let{prefetch:t=!1,children:e,style:s,...c}=o;return(0,_.jsx)(l(),{prefetch:t,style:{cursor:"pointer",...s},...c,children:e})}},50062:function(o,t,e){"use strict";e.r(t),e.d(t,{__N_SSP:function(){return h},default:function(){return p}});var _=e(85893),s=e(84789),l=e.n(s),c=e(67294),f=e(93967),n=e.n(f),u=e(88908),i=e(5607),m=e(49956),r=e(73979),d=e(45477),a=e(86040),g=e(20868);var h=!0,p=function(){const{t:o}=(0,g.$G)("security"),[t,e]=(0,c.useState)(!0),[s,f]=(0,c.useState)(""),{query:h={}}=(0,a.Z)(),{token:p}=h;(0,c.useEffect)((()=>{y()}),[]);const y=async()=>{const o={token:p},t=await(0,u.i5)(o),{successful:_}=t;e(!1),"1"!==_&&B(t)},B=t=>{const{errorCode:e,errorDescription:_}=t;if("W10037"===e)f(o("device_token_expire"));else f(_)};return(0,_.jsx)("div",{className:n()("grid-container",l()["auth-page"]),children:t?(0,_.jsxs)("div",{children:[(0,_.jsx)(m.Z,{}),(0,_.jsx)("div",{className:l()["result-title"],children:o("device_auth_loading")})]}):s?(0,_.jsxs)("div",{children:[(0,_.jsx)("div",{className:l()["img-container"],children:(0,_.jsx)("img",{src:"".concat(i.Wt,"/media/error-icon-new.png")})}),(0,_.jsx)("div",{className:l()["result-title"],children:o("device_auth_failed")}),(0,_.jsx)(d.Z,{href:"/login",rel:"nofollow",children:(0,_.jsx)(r.Z,{size:"large",children:"OK"})})]}):(0,_.jsxs)("div",{children:[(0,_.jsx)("div",{className:l()["img-container"],children:(0,_.jsx)("img",{src:"".concat(i.Wt,"/media/icone-verificado.png")})}),(0,_.jsx)("div",{className:l()["result-title"],children:o("device_auth_success_title")}),(0,_.jsx)("div",{className:l()["result-subtitle"],children:o("device_auth_success_subtitle",{login:o("log_in")})}),(0,_.jsx)(d.Z,{href:"/login",rel:"nofollow",children:(0,_.jsx)(r.Z,{size:"large",children:o("log_in")})})]})})}},73979:function(o,t,e){"use strict";var _=e(85893),s=e(31411),l=e.n(s),c=e(93967),f=e.n(c),n=e(45697),u=e.n(n),i=e(98745);function m(o){const{className:t,style:e,children:s,type:c="primary",size:n="small",disabled:u=!1,loading:m=!1,withArrow:r=!1,prefix:d,suffix:a,...g}=o;return(0,_.jsxs)("button",{className:f()(l().Button,"Button",l()[c],c,l()[n],n,m?l().loading:"",m?"loading":"",t),style:e,disabled:u,...g,children:[d&&(0,_.jsx)("div",{className:f()(l().prefix,"prefix"),children:d}),s,m&&(0,_.jsx)(i.Z,{type:"primary"===c?"loading":"loading-blue",className:f()(l().loading_icon,"loading_icon")}),!m&&r&&(0,_.jsx)(i.Z,{type:"arrow-line",className:f()(l().arrow_icon,"arrow_icon")}),!m&&!r&&a&&(0,_.jsx)("div",{className:f()(l().suffix,"suffix"),children:a})]})}
2m.propTypes={type:u().oneOf(["primary","floating","secondary","text"]),size:u().oneOf(["large","small"]),disabled:u().bool,loading:u().bool,withArrow:u().bool,suffix:u().node,prefix:u().node},t.Z=m},49956:function(o,t,e){"use strict";var _=e(85893),s=e(45629),l=e(98745),c=e(45029),f=e.n(c),n=e(45697),u=e.n(n);function i(o){let{className:t="",style:e={},spinning:c=!0,text:n,children:u}=o;const i=c?" Spin-spinning":"";return(0,_.jsxs)("div",{className:(0,s.s4)(f(),"Spin".concat(i," ").concat(t)),style:e,children:[(0,_.jsx)("div",{className:(0,s.s4)(f(),"Spin-layer"),children:(0,_.jsxs)("div",{className:(0,s.s4)(f(),"Spin-tip"),children:[(0,_.jsx)(l.Z,{className:(0,s.s4)(f(),"Spin-tip-icon"),type:"loading-blue"}),n&&(0,_.jsx)("p",{className:(0,s.s4)(f(),"Spin-tip-text"),children:n})]})}),u]})}i.propTypes={style:u().object,spinning:u().bool,text:u().node,children:u().node},t.Z=i},84789:function(o){o.exports={"grid-container":"AuthPage_grid-container__S8Zv9",row:"AuthPage_row___jPGk","space-between-row":"AuthPage_space-between-row__FjIDM","col-1":"AuthPage_col-1__N7qOZ","col-xs-1":"AuthPage_col-xs-1__3hsWd","col-offset-1":"AuthPage_col-offset-1__Zp1RP","col-xs-offset-1":"AuthPage_col-xs-offset-1__VO3Gi","col-2":"AuthPage_col-2__6aTiH","col-xs-2":"AuthPage_col-xs-2__FU96H","col-offset-2":"AuthPage_col-offset-2__3t1q6","col-xs-offset-2":"AuthPage_col-xs-offset-2__k_q4l","col-3":"AuthPage_col-3__j5Y36","col-xs-3":"AuthPage_col-xs-3__DFrXi","col-offset-3":"AuthPage_col-offset-3__UJA_E","col-xs-offset-3":"AuthPage_col-xs-offset-3__lQ6Jr","col-4":"AuthPage_col-4__3vE_b","col-xs-4":"AuthPage_col-xs-4__nt4Gt","col-offset-4":"AuthPage_col-offset-4__73xvC","col-xs-offset-4":"AuthPage_col-xs-offset-4__tKb_b","col-5":"AuthPage_col-5___LeHN","col-offset-5":"AuthPage_col-offset-5__kWGnD","col-6":"AuthPage_col-6__05JYd","col-offset-6":"AuthPage_col-offset-6__pwDfV","col-7":"AuthPage_col-7__nhPa7","col-offset-7":"AuthPage_col-offset-7__sqgfY","col-8":"AuthPage_col-8__EXMLC","col-offset-8":"AuthPage_col-offset-8__wdqJe","col-9":"AuthPage_col-9__OuiIQ","col-offset-9":"AuthPage_col-offset-9__HuZP5","col-10":"AuthPage_col-10__RpH5h","col-offset-10":"AuthPage_col-offset-10__SCDEw","col-11":"AuthPage_col-11__9d7Yf","col-offset-11":"AuthPage_col-offset-11__it96G","col-12":"AuthPage_col-12__od5oC","col-offset-12":"AuthPage_col-offset-12__a_2PG","col-sm-1":"AuthPage_col-sm-1__b4F9y","col-sm-offset-1":"AuthPage_col-sm-offset-1__y1Dcq","col-sm-2":"AuthPage_col-sm-2__26b89","col-sm-offset-2":"AuthPage_col-sm-offset-2__NJz81","col-sm-3":"AuthPage_col-sm-3___uBgq","col-sm-offset-3":"AuthPage_col-sm-offset-3__l0XFl","col-sm-4":"AuthPage_col-sm-4__UolgK","col-sm-offset-4":"AuthPage_col-sm-offset-4__Y0lt9","col-sm-5":"AuthPage_col-sm-5__h2YsH","col-sm-offset-5":"AuthPage_col-sm-offset-5__ADJYm","col-sm-6":"AuthPage_col-sm-6__GpUYo","col-sm-offset-6":"AuthPage_col-sm-offset-6__jTrn_","col-sm-7":"AuthPage_col-sm-7__Ne0NA","col-sm-offset-7":"AuthPage_col-sm-offset-7__qbsYx","col-sm-8":"AuthPage_col-sm-8__hYkub","col-sm-offset-8":"AuthPage_col-sm-offset-8__2JwWs","col-md-1":"AuthPage_col-md-1__F92rj","col-md-offset-1":"AuthPage_col-md-offset-1__5KF0k","col-md-2":"AuthPage_col-md-2__evYje","col-md-offset-2":"AuthPage_col-md-offset-2__PZ9A4","col-md-3":"AuthPage_col-md-3__YQ6HJ","col-md-offset-3":"AuthPage_col-md-offset-3__woww4","col-md-4":"AuthPage_col-md-4__fKBEr","col-md-offset-4":"AuthPage_col-md-offset-4__18ZXV","col-md-5":"AuthPage_col-md-5__v6dRg","col-md-offset-5":"AuthPage_col-md-offset-5__Vp3PI","col-md-6":"AuthPage_col-md-6__g42lh","col-md-offset-6":"AuthPage_col-md-offset-6__vKhg4","col-md-7":"AuthPage_col-md-7__pE1m2","col-md-offset-7":"AuthPage_col-md-offset-7__ipcfE","col-md-8":"AuthPage_col-md-8__8D2M2","col-md-offset-8":"AuthPage_col-md-offset-8__IDbGm","col-md-9":"AuthPage_col-md-9__rMBA9","col-md-offset-9":"AuthPage_col-md-offset-9__6_POR","col-md-10":"AuthPage_col-md-10__4Jmpt","col-md-offset-10":"AuthPage_col-md-offset-10__H_enR","col-md-11":"AuthPage_col-md-11__me4yb","col-md-offset-11":"AuthPage_col-md-offset-11__1lB3H","col-md-12":"AuthPage_col-md-12__EBFN0","col-md-offset-12":"AuthPage_col-md-offset-12__z24vQ","auth-
2page":"AuthPage_auth-page__92_rf","img-container":"AuthPage_img-container__dFP91","result-title":"AuthPage_result-title__MdlOi","result-subtitle":"AuthPage_result-subtitle__qchbJ"}},31411:function(o){o.exports={"grid-container":"Button_grid-container__uQdBm",row:"Button_row___AXAR","space-between-row":"Button_space-between-row__9DIAQ","col-1":"Button_col-1__m2ICT","col-xs-1":"Button_col-xs-1__E2xCo","col-offset-1":"Button_col-offset-1__mGuzm","col-xs-offset-1":"Button_col-xs-offset-1__u6IB5","col-2":"Button_col-2__UXh5t","col-xs-2":"Button_col-xs-2__T7FmO","col-offset-2":"Button_col-offset-2__zaC4j","col-xs-offset-2":"Button_col-xs-offset-2__LSE9d","col-3":"Button_col-3__7E7z4","col-xs-3":"Button_col-xs-3__QK9pW","col-offset-3":"Button_col-offset-3__OQ_ja","col-xs-offset-3":"Button_col-xs-offset-3__RDPwL","col-4":"Button_col-4__TvUOs","col-xs-4":"Button_col-xs-4__Wy5mu","col-offset-4":"Button_col-offset-4__6BLCi","col-xs-offset-4":"Button_col-xs-offset-4__CJar0","col-5":"Button_col-5__r3JsK","col-offset-5":"Button_col-offset-5__8t2pA","col-6":"Button_col-6__rQKnL","col-offset-6":"Button_col-offset-6__9snwP","col-7":"Button_col-7__S_k3k","col-offset-7":"Button_col-offset-7__E8THq","col-8":"Button_col-8__UMy1d","col-offset-8":"Button_col-offset-8__zJNph","col-9":"Button_col-9__J7VTZ","col-offset-9":"Button_col-offset-9__BScqg","col-10":"Button_col-10___mSR1","col-offset-10":"Button_col-offset-10__eZh4Y","col-11":"Button_col-11__iExBi","col-offset-11":"Button_col-offset-11__idjPX","col-12":"Button_col-12__WGCjG","col-offset-12":"Button_col-offset-12__7jdnb","col-sm-1":"Button_col-sm-1__IqyZP","col-sm-offset-1":"Button_col-sm-offset-1__I1E1S","col-sm-2":"Button_col-sm-2__jwEbf","col-sm-offset-2":"Button_col-sm-offset-2__PE1gj","col-sm-3":"Button_col-sm-3__ms3eS","col-sm-offset-3":"Button_col-sm-offset-3__2hUm2","col-sm-4":"Button_col-sm-4__7rAs5","col-sm-offset-4":"Button_col-sm-offset-4__R7zy0","col-sm-5":"Button_col-sm-5__MM1vS","col-sm-offset-5":"Button_col-sm-offset-5__xxjHC","col-sm-6":"Button_col-sm-6__MCPcg","col-sm-offset-6":"Button_col-sm-offset-6__6_Gno","col-sm-7":"Button_col-sm-7__ycaL6","col-sm-offset-7":"Button_col-sm-offset-7__YGmiA","col-sm-8":"Button_col-sm-8__a_iq_","col-sm-offset-8":"Button_col-sm-offset-8__6PLJg","col-md-1":"Button_col-md-1__fs_eF","col-md-offset-1":"Button_col-md-offset-1__TLXBw","col-md-2":"Button_col-md-2__GfVPk","col-md-offset-2":"Button_col-md-offset-2__Uzz5_","col-md-3":"Button_col-md-3__o9_ra","col-md-offset-3":"Button_col-md-offset-3__8ERpX","col-md-4":"Button_col-md-4__GbABM","col-md-offset-4":"Button_col-md-offset-4__uA5vs","col-md-5":"Button_col-md-5__2tPZK","col-md-offset-5":"Button_col-md-offset-5__D0NL7","col-md-6":"Button_col-md-6__yHktp","col-md-offset-6":"Button_col-md-offset-6__MtWV4","col-md-7":"Button_col-md-7__8urQi","col-md-offset-7":"Button_col-md-offset-7__3QnVg","col-md-8":"Button_col-md-8__ILrgQ","col-md-offset-8":"Button_col-md-offset-8__ZprOw","col-md-9":"Button_col-md-9__lBjW1","col-md-offset-9":"Button_col-md-offset-9__eDOWh","col-md-10":"Button_col-md-10__GEEFi","col-md-offset-10":"Button_col-md-offset-10__n9BcT","col-md-11":"Button_col-md-11__bWpRk","col-md-offset-11":"Button_col-md-offset-11__32hvS","col-md-12":"Button_col-md-12__XDBWv","col-md-offset-12":"Button_col-md-offset-12__IWa1Z",Button:"Button_Button__yhSe9",primary:"Button_primary__wp3mB",large:"Button_large__cdLDL",loading_icon:"Button_loading_icon__Lt2GP",arrow_icon:"Button_arrow_icon__78KDA",loaderAniBtn:"Button_loaderAniBtn__Bcu1a",small:"Button_small__MBplB",loaderAni2:"Button_loaderAni2__XHX6x",secondary:"Button_secondary__Bip_a",text:"Button_text__w3f20",floating:"Button_floating__aQkBT",loading:"Button_loading__tyOPs",suffix:"Button_suffix__8sKlF",prefix:"Button_prefix__dm2HK"}},45029:function(o){o.exports={"grid-container":"style_grid-container__YR8vL",row:"style_row__tDU1y","space-between-row":"style_space-between-row___oYp8","col-1":"style_col-1__b2vgy","col-xs-1":"style_col-xs-1__yNw6W","col-offset-1":"style_col-offset-1__EMH8L","col-xs-offset-1":"style_col-xs-offset-1__HUqeu","col-2":"style_col-2__heHAs","col-xs-2":"style_col-xs-2__Hi5eN","col-offset-2":"style_col-offset-2__LRaD4","col-xs-offset-2":"style_col-xs-offset-2__1Fs_v","col-3":"style_col-3__GDyLb","col-xs-3":"style_col-xs-3__4LkVQ","col-offset-3":"style_col-offset-3__60THn","col-xs-offset-3":"style_col-xs-offset-3__f7Qbu","col-4":"style_col-4__gkzgQ","col-xs-4":"style_col-xs-4__RHABh","col-offset-4":"style_col-offset-4__G8rMu","col-xs-offset-4":"style_col-xs-offset-4__4GZ1u","col-5":"style_col-5__9MduH","col-offset-5":"style_col-offset-5__jaug9","col-6":"style_col-6__dhu1a","col-offset-6":"style_col-offset-6__gyrgW","col-7":"style_col-7__CBtNa","col-offset-7":"style_col-offset-7__ZFuaY","col-8":"style_col-8__Qc5w6","col-offset-8":"style_col-offset-8__iQacw","col-9":"style_col-9__TcAdn","col-offset-9":"style_col-offset-9__vSoM7","col-10":"style_col-10__bEcfS","col-offset-10":"style_col-offset-10__q3Sk7","col-11":"style_col-11__QtI6U","col-offset-11":"style_col-offset-11__5z75r","col-12":"style_col-12__lBJ_0","col-offset-12":"style_col-offset-12__TG0VM","col-sm-1":"style_col-sm-1__qAGem","col-sm-offset-1":"style_col-sm-offset-1__cni5D","col-sm-2":"style_col-sm-2__Lg5Lu","col-sm-offset-2":"style_col-sm-offset-2__6qpo5","col-sm-3":"style_col-sm-3__MN8WD","col-sm-offset-3":"style_col-sm-offset-3__B1fHv","col-sm-4":"style_col-sm-4__pXehO","col-sm-offset-4":"style_col-sm-offset-4__JmhRo","col-sm-5":"style_col-sm-5__yyel5","col-sm-offset-5":"style_col-sm-offset-5__CznN5","col-sm-6":"style_col-sm-6__iflyD","col-sm-offset-6":"style_col-sm-offset-6__AgU_j","col-sm-7":"style_col-sm-7__y9AeV","col-sm-offset-7":"style_col-sm-offset-7__JYU5J","col-sm-8":"style_col-sm-8__9zpdT","col-sm-offset-8":"style_col-sm-offset-8__99wj8","col-md-1":"style_col-md-1__4A1Pm","col-md-offset-1":"style_col-md-offset-1__ctEmf","col-md-2":"style_col-md-2__3gIAa","col-md-offset-2":"style_col-md-offset-2__yfWnz","col-md-3":"style_col-md-3__X0wM4","col-md-offset-3":"style_col-md-offset-3__hia6Q","col-md-4":"style_col-md-4__Ey6Mh","col-md-offset-4":"style_col-md-offset-4___EtMV","col-md-5":"style_col-md-5__yBfFD","col-md-offset-5":"style_col-md-offset-5__YZo9V","col-md-6":"style_col-md-6__expWh","col-md-offset-6":"style_col-md-offset-6__SHnTd","col-md-7":"style_col-md-7__mVFZD","col-md-offset-7":"style_col-md-offset-7__rM0tb","col-md-8":"style_col-md-8__EA3Rg","col-md-offset-8":"style_col-md-offset-8__nv5cv","col-md-9":"style_col-md-9__YpxXG","col-md-offset-9":"style_col-md-offset-9__NLGDF","col-md-10":"style_col-md-10__2yxdk","col-md-offset-10":"style_col-md-offset-10__Vrjpt","col-md-11":"style_col-md-11__zzAkz","col-md-offset-11":"style_col-md-offset-11__XDhBZ","col-md-12":"style_col-md-12__qXw_4","col-md-offset-12":"style_col-md-offset-12__odXNP",Spin:"style_Spin__AB6xX","Spin-layer":"style_Spin-layer__5vEDb","Spin-spinning":"style_Spin-spinning__36l8F","Spin-tip":"style_Spin-tip__Era9w","Spin-tip-icon":"style_Spin-tip-icon__XEyWd",rotateing:"style_rotateing__9qyx4","Spin-tip-text":"style_Spin-tip-text__DwqMj"}},93967:function(o,t){var e;!function(){"use strict";var _={}.hasOwnProperty;function s(){for(var o="",t=0;t<arguments.length;t++){var e=arguments[t];e&&(o=c(o,l(e)))}return o}function l(o){if("string"==typeof o||"number"==typeof o)return o;if("object"!=typeof o)return"";if(Array.isArray(o))return s.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var t="";for(var e in o)_.call(o,e)&&o[e]&&(t=c(t,e));return t}function c(o,t){return t?o?o+" "+t:o+t:o}o.exports?(s.default=s,o.exports=s):void 0===(e=function(){return s}
2.apply(t,[]))||(o.exports=e)}()}},function(o){o.O(0,[1664,9774,2888,179],(function(){return t=92548,o(o.s=t);var t}));var t=o.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.