text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4abc6569"],{11471:function(t,n,e){"use strict";function r(t){return null!=t&&"object"==typeof t}n["a"]=r},"1bc69":function(t,n,e){"use strict";var r=e("f0ce"),i=e("11471"),o="[object Symbol]";function a(t){return"symbol"==typeof t||Object(i["a"])(t)&&Object(r["a"])(t)==o}n["a"]=a},2332:function(t,n,e){"use strict";function r(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}n["a"]=r},"26ee":function(t,n,e){"use strict";var r=e("5ea3"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r["a"]||i||Function("return this")();n["a"]=o},"5c9c":function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"grid"},[e("base-input",{staticClass:"hidden",attrs:{"autocomplete-native":"off",type:"text"}}),e("base-input",{staticClass:"hidden",attrs:{type:"password"}}),e("div",{staticClass:"flex flex-column justify-center justify-center grid-column-12 grid-column-6--lg min-height-full-view--xl relative overflow-hidden padding-3"},[e("img-spot-gray2",{staticClass:"spot-gray2-hero-auth absolute left-0 center-y"}),e("div",{staticClass:"flex flex-column justify-center items-center height-full relative"},[e("ul",{staticClass:"flex--md margin-top-0 margin-bottom-3 margin-bottom-5--md padding-left-0 no-list bg-lite--md font-xl border-rounded-max no-select"},t._l(t.tabs,(function(n,r){return e("li",{key:n,staticClass:"flex"},[e("div",{staticClass:"tab border-rounded-max padding-x-3 padding-y-1 font-bold",class:{"tab--active":t.currentStep===r+1},domProps:{textContent:t._s(n)}})])})),0),e("img-signup",{staticClass:"img-auth flex-no-shrink"})],1)],1),e("div",{staticClass:"grid-column-12 grid-column-6--lg height-full-view--lg overflow-auto padding-x-3 padding-x-5--lg padding-x-6--xxl padding-y-5 bg-lite color-primary-light"},[e("div",{staticClass:"flex justify-between items-center"},[e("router-link",{staticClass:"btn btn--plain btn--tight",attrs:{to:{name:"guestMain"}}},[e("icon-home",{staticClass:"width-1 margin-right-1"}),e("span",{domProps:{textContent:t._s(t.$t("page.home"))}})],1),e("lang-menu",{staticClass:"hidden block--lg"})],1),e("div",{staticClass:"flex justify-center padding-y-4"},[e("router-link",{staticClass:"logo flex",attrs:{to:{name:"guestMain"}}},[e("icon-logo",{staticClass:"width-5"})],1)],1),e("h1",{staticClass:"text-center",domProps:{textContent:t._s(t.$t("text.registration"))}}),t.upliner.username&&t.upliner.email?e("h3",{staticClass:"flex justify-center items-center margin-top-0 margin-bottom-4 font-medium"},[e("icon-user",{staticClass:"width-1 margin-right-1"}),e("span",{domProps:{textContent:t._s(t.$t("text.upliner"))}}),t._v(": "+t._s(t.upliner.username))],1):t._e(),e("transition",{attrs:{name:"fade"}},[e("keep-alive",[e(t.currentStepComponent,{ref:"stepComponent",tag:"component",attrs:{"is-form-loading":t.isFormLoading,"secret-word":t.form.secretWord},on:{success:t.nextStep,"previous-step":t.back}})],1)],1)],1)],1)},i=[],o=(e("a15b"),e("d81d"),e("d3b7"),e("5530")),a=e("2909"),c=Math.floor,u=Math.random;function s(t,n){return t+c(u()*(n-t+1))}var l=s,f=e("6071"),d=e("e56b"),p=9007199254740991,b=/^(?:0|[1-9]\d*)$/;function g(t,n){var e=typeof t;return n=null==n?p:n,!!n&&("number"==e||"symbol"!=e&&b.test(t))&&t>-1&&t%1==0&&t<n}var m=g,h=e("2332");function v(t,n,e){if(!Object(h["a"])(e))return!1;var r=typeof n;return!!("number"==r?Object(d["a"])(e)&&m(n,e.length):"string"==r&&n in e)&&Object(f["a"])(e[n],t)}var y=v,j=e("1bc69"),x=NaN,S=/^\s+|\s+$/g,C=/^[-+]0x[0-9a-f]+$/i,O=/^0b[01]+$/i,k=/^0o[0-7]+$/i,$=parseInt;function w(t){if("number"==typeof t)return t;if(Object(j["a"])(t))return x;if(Object(h["a"])(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=Object(h["a"])(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(S,"");var e=O.test(t);return e||k.test(t)?$(t.slice(2),e?2:8):C.test(t)?x:+t}var _=w,F=1/0,U=17976931348623157e292;function P(t){if(!t)return 0===t?t:0;if(t=_(t),t===F||t===-F){var n=t<0?-1:1;return n*U}return t===t?t:0}var M=P,I=parseFloat,L=Math.min,T=Math.random;function N(t,n,e){if(e&&"boolean"!=typeof e&&y(t,n,e)&&(n=e=void 0),void 0===e&&("boolean"==typeof n?(e=n,n=void 0):"boolean"==typeof t&&(e=t,t=void 0)),void 0===t&&void 0===n?(t=0,n=1):(t=M(t),void 0===n?(n=t,t=0):n=M(n)),t>n){var r=t;t=n,n=r}if(e||t%1||n%1){var i=T();return L(t+i*(n-t+I("1e-"+((i+"").length-1))),n)}return l(t,n)}var A=N,E={name:"SignUp",components:{ImgSpotGray2:function(){return e.e("chunk-4f1ce744").then(e.t.bind(null,"a922",7))},ImgSignup:function(){return e.e("chunk-792f049a").then(e.t.bind(null,"039d",7))},IconLogo:function(){return e.e("chunk-78e9b12a").then(e.t.bind(null,"5b1c",7))},IconHome:function(){return e.e("chunk-c26fcd0e").then(e.t.bind(null,"ac9d",7))},IconUser:function(){return e.e("chunk-55c40a54").then(e.t.bind(null,"6aed",7))},LangMenu:function(){return Promise.all([e.e("chunk-5fbafd28"),e.e("chunk-42e2aca5")]).then(e.bind(null,"90ca"))},SignUpFirstStep:function(){return e.e("chunk-2d225663").then(e.bind(null,"e3dc"))},SignUpSecondStep:function(){return Promise.all([e.e("chunk-5fbafd28"),e.e("chunk-571a08c6")]).then(e.bind(null,"ad9a"))},SignUpThirdStep:function(){return e.e("chunk-54166e13").then(e.bind(null,"533a"))},SignUpFourthStep:function(){return e.e("chunk-7da5988d").then(e.bind(null,"54c4"))}},data:function(){return{isFormLoading:!1,currentStep:1,form:{secretWord:Object(a["a"])(Array(6)).map((function(){return A(0,9)})).join("")},activeTab:0}},computed:{tabs:function(t){return[t.$t("text.signup_step1"),t.$t("text.signup_step2"),t.$t("text.signup_step3"),t.$t("text.signup_step4")]},upliner:function(t){return t.$store.getters["user/UPLINER"]},currentStepComponent:function(t){var n={1:"SignUpFirstStep",2:"SignUpSecondStep",3:"SignUpThirdStep",4:"SignUpFourthStep"};return n[t.currentStep]||n["1"]}},methods:{back:function(){this.currentStep-=1},nextStep:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.form=Object(o["a"])(Object(o["a"])({},this.form),n),4===this.currentStep)return this.isFormLoading=!0,this.$store.dispatch("user/signUp",this.form).then((function(){t.$router.push(t.$RouterPaths.accountMain)}))["catch"]((function(n){t.$refs.stepComponent.reset()}))["finally"]((function(){return t.isFormLoading=!1}));this.currentStep+=1}}},G=E,J=(e("f601"),e("2877")),R=Object(J["a"])(G,r,i,!1,null,"7f8cf4de",null);n["default"]=R.exports},"5ea3":function(t,n,e){"use strict";(function(t){var e="object"==typeof t&&t&&t.Object===Object&&t;n["a"]=e}).call(this,e("c8ba"))},6071:function(t,n,e){"use strict";function r(t,n){return t===n||t!==t&&n!==n}n["a"]=r},bc9b:function(t,n,e){"use strict";var r=e("f0ce"),i=e("2332"),o="[object AsyncFunction]",a="[object Function]",c="[object GeneratorFunction]",u="[object Proxy]";function s(t){if(!Object(i["a"])(t))return!1;var n=Object(r["a"])(t);return n==a||n==c||n==o||n==u}n["a"]=s},bd94:function(t,n,e){},ca54:function(t,n,e){"use strict";var r=e("26ee"),i=r["a"].Symbol;n["a"]=i},e56b:function(t,n,e){"use strict";var r=e("bc9b"),i=9007199254740991;function o(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}var a=o;function c(t){return null!=t&&a(t.length)&&!Object(r["a"])(t)}n["a"]=c},f0ce:function(t,n,e){"use strict";var r=e("ca54"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,c=r["a"]?r["a"].toStringTag:void 0;function u(t){var n=o.call(t,c),e=t[c];try{t[c]=void 0;var r=!0}catch(u){}var i=a.call(t);return r&&(n?t[c]=e:delete t[c]),i}var s=u,l=Object.prototype,f=l.toString;function d(t){return f.call(t)}var p=d,b="[object Null]",g="[object Undefined]",m=r["a"]?r["a"].toStringTag:void 0;function h(t){return null==t?void 0===t?g:b:m&&m in Object(t)?s(t):p(t)}n["a"]=h},f601:function(t,n,e){"use strict";var r=e("bd94"),i=e.n(r);i.a}}]);