PageSourceSearch

https://passport.tozostore.com/dist/132.09d4f4499d3602989858.js

js tozostore.com collected 2026-09-24 10:30:59 UTC 9,481 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[132],{1538:function(e,r,o){},1839:function(e,r,o){"use strict";o(1538)},674:function(e,r,o){"use strict";o.r(r),o(46),o(166),o(892),o(284);var t=o(895),s=o(282),i=o(845),a=o(877);t={name:"Register",components:{HEADER:t.a},data:function(){var e=this;return{ruleForm:{email:"",code:"",password:"",password_confirmation:""},rules:{email:[{required:!0,message:this.$t("forgot.email_required"),trigger:"blur"},{type:"email",message:this.$t("forgot.email_correct"),trigger:"blur"}],code:[{required:!0,message:this.$t("forgot.code_required"),trigger:"blur"}],password:[{required:!0,message:this.$t("forgot.password_required_js"),trigger:"blur"},{min:8,max:16,message:this.$t("forgot.password_correct"),trigger:"blur"}],password_confirmation:[{validator:function(r,o,t){return o?e.ruleForm.password!==o?t(new Error(e.$t("forgot.confirmed_and_password_correct"))):void t():t(new Error(e.$t("forgot.password_required")))},trigger:"blur"}]},error:{email:"",code:"",password:"",password_confirmation:""},isgetcode:!1,reciprocal:60,timer:null,loading:!1,Shopify_parameter:""}},beforeRouteEnter:function(e,r,o){o((function(e){return r.path&&(e.dim_url="/password"===r.path||"/register"===r.path?"/":r.path)}))},mounted:function(){this.Shopify_parameter=Object(i.d)()},methods:{changeCode:function(e){var r=this;this.$nextTick((function(){e&&(r.ruleForm[e]=r.ruleForm[e].replace(/[\u4e00-\u9fa5]/g,""))}))},activeCode:function(e){return!!e.match(/^[A-Za-z0-9!#$%&'+/=?^_`{|}~-]+(.[A-Za-z0-9!#$%&'+/=?^_`{|}~-]+)*@([A-Za-z0-9]+(?:-[A-Za-z0-9]+)?.)+[A-Za-z0-9]+(-[A-Za-z0-9]+)?$/)},getcode:function(){var e,r=this,o=this.ruleForm.email;o.trim()?(e=!0,this.$refs.ruleForm.validateField("email",(function(r){return e=!r})),e&&Object(s.e)({email:o}).then((function(e){0==e.code?(r.isgetcode=!0,r.$notify({message:r.$t("forgot.email_information"),type:"success"}),r.timer=setInterval((function(){r.reciprocal--,r.reciprocal<1&&(r.reciprocal=60,r.isgetcode=!1,clearInterval(r.timer),r.timer=null)}),1e3)):r.$notify({message:e.message})})).catch((function(e){console.log(e),r.$notify(Object(a.a)(e),"error")}))):this.error.email=this.$t("forgot.email_verify")},submitForm:function(e){var r=this;this.$refs[e].validate((function(e){if(!e)return!1;r.loading=!0,delete(e=Object.assign({},r.ruleForm)).password_confirmation,Object(s.f)(e).then((function(e){var o,t;0==e.code?(r.loading=!1,r.$notify({message:r.$t("forgot.forgot_successfully"),type:"success"}),r.$store.commit("changeUserinfo",{}),t=(null===(o=r.$router.history.current)||void 0===o||null===(t=o.query)||void 0===t?void 0:t.app)||"",r.$router.push({path:"shop-jp"==t?"/jpLogin":"/login",query:r.$router.currentRoute.query})):r.$notify({message:e.message})})).catch((function(e){r.loading=!1,r.$notify(Object(a.a)(e),"error");var o,t=e.data.data;for(o in t)Array.isArray(t[o])?r.error[o]=t[o][0]:r.error[o]=t[o]}))}))}}},o(1839),o=o(15),t=Object(o.a)(t,(function(){var e=this,r=e.$createElement;return(r=e._self._c||r)("div",{staticClass:"REGISTER"},[r("HEADER"),r("div",{staticClass:"register"},[r("div",{staticClass:"h1"},[e._v(e._s(e.$t("forgot.forgot_title")))]),r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules}},[r("el-form-item",{attrs:{prop:"email",error:e.error.email}},[r("label",{staticClass:"sr-only",attrs:{for:"forgot-email"}},[e._v(e._s(e.$t("forgot.email_placeholder")))]),r("el-input",{attrs:{id:"forgot-email",placeholder:e.$t("forgot.email_placeholder")},on:{input:function(r){return e.changeCode("email")}},model:{value:e.ruleForm.email,callback:function(r){e.$set(e.ruleForm,"email",r)},expression:"ruleForm.email"}})],1),r("el-form-item",{attrs:{prop:"code",error:e.error.code}},[r("div",{staticClass:"form-row"},[r("label",{staticClass:"sr-only",attrs:{for:"forgot-code"}},[e._v(e._s(e.$t("forgot.code_placeholder")))]),r("el-input",{attrs:{id:"forgot-code",placeholder:e.$t("forgot.code_placeholder")},model:{value:e.ruleForm.code,callback:function(r){e.$set(e.ruleForm,"code",r)},expression:"ruleForm.code"}}),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.isgetcode,expression:"!isgetcode"}],staticClass:"getcode",class:{disable:!e.activeCode(e.ruleForm.email)},on:{click:e.getcode}},[r("span",[e._v(e._s(e.$t("forgot.get")))])]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isgetcode,expression:"isgetcode"}],staticClass:"getcode disable"},[r("span",[e._v(e._s(e.reciprocal)+" s")])])],1)]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isgetcode,expression:"isgetcode"}],staticClass:"countdownTips"},[e._v("\n        "+e._s(e.$t("forgot.countdownTips"))+"\n      ")]),r("el-form-item",{attrs:{prop:"password",error:e.error.password}},[r("label",{staticClass:"sr-only",attrs:{for:"forgot-password"}},[e._v(e._s(e.$t("forgot.password_placeholder")))]),r("el-input",{attrs:{id:"forgot-password",placeholder:e.$t("forgot.password_placeholder"),type:"password","show-password":!0},on:{input:function(r){return e.changeCode("password")}},model:{value:e.ruleForm.password,callback:function(r){e.$set(e.ruleForm,"password",r)},expression:"ruleForm.password"}})],1),r("el-form-item",{attrs:{prop:"password_confirmation",error:e.error.password_confirmation}},[r("label",{staticClass:"sr-only",attrs:{for:"forgot-password_confirmation"}},[e._v(e._s(e.$t("forgot.confirm_password_placeholder")))]),r("el-input",{attrs:{id:"forgot-password_confirmation",type:"password","show-password":!0,placeholder:e.$t("forgot.confirm_password_placeholder")},model:{value:e.ruleForm.password_confirmation,callback:function(r){e.$set(e.ruleForm,"password_confirmation",r)},expression:"ruleForm.password_confirmation"}})],1)],1),r("el-button",{staticClass:"submit submit-btn",attrs:{type:"primary",loading:e.loading},nativeOn:{click:function(r){return e.submitForm("ruleForm")}}},[e._v("\n      "+e._s(e.$t("forgot.submit_btn"))+"\n    ")])],1),r("div",{staticStyle:{height:"60px"}})],1)}),[],!1,null,"0f4dfb79",null);r.default=t.exports},845:function(e,r,o){"use strict";o.d(r,"b",(function(){return t})),o.d(r,"c",(function(){return s})),o.d(r,"d",(function(){return i})),o.d(r,"a",(function(){return a})),o(46),o(112);var t=function(){var e=location.href,r={};if(-1!==e.indexOf("?"))for(var o=e.substr(e.indexOf("?")+1).split("&"),t=0;t<o.length;t++)r[o[t].split("=")[0]]=decodeURIComponent(o[t].split("=")[1]);return!r||!r.equipment_type||"app"!=r.equipment_type},s=function(){var e=location.href,r={};if(-1!==e.indexOf("?"))for(var o=e.substr(e.indexOf("?")+1).split("&"),t=0;t<o.length;t++)r[o[t].split("=")[0]]=decodeURIComponent(o[t].split("=")[1]);return!(!r||!r.equipment_type||"mail"!=r.equipment_type)},i=function(){var e=location.href,r={};if(-1!==e.indexOf("?"))for(var o=e.substr(e.indexOf("?")+1).split("&"),t=0;t<o.length;t++)r[o[t].split("=")[0]]=decodeURIComponent(o[t].split("=")[1]);return console.log(r),r.app=r.app||"shop-us",r.redirect_url=r.redirect_url||"https://www.tozostore.com/",console.log(r),r},a=function(e){return"zh"==e?"https://www.tozo.com.cn/":"https://www.tozostore.com/"}},873:function(e,r,o){},877:function(e,r,o){"use strict";o.d(r,"a",(function(){return s}));var t=o(174),s=function(e){return console.log(e),4e3==e.code?t.a.t("login.error_4000"):4006==e.code?t.a.t("login.error_4006"):4008==e.code?t.a.t("login.error_4008"):4009==e.code?t.a.t("login.error_4009"):4010==e.code?t.a.t("login.error_4010"):e.message||e.data.message||e}},892:function(e,r,o){"use strict";var t=o(124),s=o(14),i=o(40),a=o(33),n=o(178),c=o(125);t("match",1,(function(e,r,o){return[function(r){var o=a(this),t=null==r?void 0:r[e];return void 0!==t?t.call(r,o):new RegExp(r)[e](String(o))},function(e){var t=o(r,e,this);if(t.done)return t.value;var a=s(e),l=String(this);if(!a.global)return c(a,l);for(var u=a.unicode,d=[],f=a.lastIndex=0;null!==(m=c(a,l));){var m=String(m[0]);""===(d[f]=m)&&(a.lastIndex=n(l,i(a.lastIndex),u)),f++}return 0===f?null:d}]}))},893:function(e,r,o){"use strict";o(873)},895:function(e,r,o){"use strict";o(111),o(47);var t=o(845),s={name:"HeaderM",components:{},data:function(){return{type:"Move"}},methods:{go_logo:function(){console.log(this.$router.currentRoute.query.redirect_url);var e=this.$router.currentRoute.query,r=e&&e.redirect_url&&e.locale?"".concat(e.redirect_url,"#/?locale=").concat(e.locale):e&&e.redirect_url?e.redirect_url:Object(t.a)(this.$store.state.language);console.log(r),r&&(window.location.href=r)},go_back:function(){console.log(this.$router.currentRoute.name),"Verify"==this.$router.currentRoute.name?window.location.href=Object(t.a)(this.$store.state.language):this.go_back_fun()},go_back_fun:function(){var e=this;this.$router.back();var r=this.$router.afterEach((function(o,s){console.log(o),console.log(s),o.name!==s.name?console.log("返回成功"):(window.location.href=Object(t.a)(e.$store.state.language),console.log("返回失败")),r()}))}}};o(893),o=o(15),s=Object(o.a)(s,(function(){var e=this,r=e.$createElement;return(r=e._self._c||r)("header",[r("div",{staticClass:"web-header"},[r("div",{staticClass:"web-nav"},[r("div",{staticClass:"H5-menu-item_show",on:{click:function(r){return e.go_back()}}},[r("img",{attrs:{src:e.$store.state.process+"/img/login/[email protected]",alt:""}})]),r("div",{staticClass:"logo",on:{click:function(r){return e.go_logo()}}},[r("img",{attrs:{src:e.$store.state.process+"/img/logo.jpg",alt:""}})]),r("div",{staticClass:"nav_right"})])])])}),[],!1,null,"22c98715",null);r.a=s.exports}}]);

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.