PageSourceSearch

https://plabableforpa.com/_nuxt/42a8c2e.js

js plabableforpa.com collected 2026-09-24 14:17:10 UTC 14,808 bytes, 1 lines download raw bytes

1(this.webpackJsonp=this.webpackJsonp||[]).push([[451,146,147,148],{1721:function(e,t,n){var content=n(1733);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(26).default)("3b3e2ab8",content,!0,{sourceMap:!1})},1724:function(e,t,n){"use strict";n.r(t);n(203);var r={props:{step:{type:Number,default:0}},data:function(){return{steps:["Step 1 - Create an account","Step 2 - Verify your account","Step 3 - Purchase Resources"]}}},o=(n(1732),n(18)),component=Object(o.a)(r,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"steps"},e._l(e.steps,(function(n,i){return t("div",{key:i,staticClass:"steps-item",class:{active:e.step-1===i}},[e._v("\n    "+e._s(n)+"\n  ")])})),0)}),[],!1,null,null,null);t.default=component.exports},1732:function(e,t,n){"use strict";n(1721)},1733:function(e,t,n){var r=n(25)((function(i){return i[1]}));r.push([e.i,".steps{padding-left:40px;min-width:350px}.steps .steps-item{color:#333;font-size:16px;font-weight:700;padding:20px 0;border-bottom:1px solid #333}.steps .steps-item.active{color:#01b3bb}",""]),r.locals={},e.exports=r},1825:function(e,t,n){var content=n(2022);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(26).default)("4649872d",content,!0,{sourceMap:!1})},1954:function(e,t,n){"use strict";n.r(t);n(319);var r=n(0),o=(n(10),n(5)),l={name:"Register",data:function(){var e=this;return{loading:!1,tncerror:!1,error:!1,dialogVisible:!1,currentstage:0,form:{first_name:"",last_name:"",email:"",confirmemail:"",password:"",confirmpassword:"",agree:!1,opt_in:!0},rules:{first_name:[{validator:function(e,t,n){if(""===t)n(new Error("Please input your first name."));else{if(!Object(o.w)(t))return void n(new Error("Please enter alphabets only. Minimum 2 characters."));n()}},trigger:"blur"},{required:!0,message:"First name is required",trigger:"blur"}],last_name:[{validator:function(e,t,n){if(""===t)n(new Error("Please input your last name."));else{if(!Object(o.w)(t))return void n(new Error("Please enter alphabets only. Minimum 2 characters."));n()}},trigger:"blur"},{required:!0,message:"Last name is required",trigger:"blur"}],email:[{validator:function(e,t,n){if(""===t)n(new Error("Please input your email."));else{if(!Object(o.u)(t))return void n(new Error("Please input a valid email."));n()}},trigger:"blur"},{required:!0,message:"Email is required"},{min:5,message:"Email length should be at least 5 characters",trigger:"blur"}],password:[{validator:function(t,n,r){""===n?r(new Error("Please input your password.")):(""!==e.form.confirmpassword&&e.$refs.form.validateField("confirmpassword"),r())},trigger:"blur"},{required:!0,message:"Password is required"},{min:6,message:"Password length should be at least 6 characters",trigger:"blur"}],confirmpassword:[{validator:function(t,n,r){""===n?r(new Error("Please input your password.")):n!==e.form.password?r(new Error("Your passwords do not match. Please try again")):r()},trigger:"blur"},{required:!0,message:"Confirm password is required"},{min:6,message:"Password length should be at least 6 characters",trigger:"blur"}]}}},mounted:function(){},methods:{onpastef:function(e){e.preventDefault()},onClick:function(){this.$router.push({path:"/forgotpassword",query:{email:this.form.email}})},onTNCChange:function(e){this.tncerror=!e},signup:function(){var e=this;this.$refs.form.validate(function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(n){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.form.agree?e.tncerror=!1:e.tncerror=!0,n&&e.form.agree){t.next=3;break}return t.abrupt("return",!1);case 3:return e.loading=!0,t.prev=4,t.next=7,e.$recaptcha.getResponse();case 7:return r=t.sent,e.form.first_name=e.form.first_name.trim(),e.form.last_name=e.form.last_name.trim(),e.form.token=r,t.next=13,e.$store.dispatch("clientusers/signup",e.form);case 13:return t.sent,t.next=16,e.$auth.loginWith("local",{data:{email:e.form.email,password:e.form.password}});case 16:return o=t.sent,t.next=19,e.$recaptcha.reset();case 19:if("success"!==o.data.status){t.next=30;break}return e.$cookies.set("a",o.data.data.uid),e.$cookies.set("ia",o.data.data.is_admin),e.$cookies.set("token",o.data.data.token),t.next=25,e.$auth.setUserToken(o.data.data.token);case 25:return t.sent,e.$auth.setUser(o.data.data),t.next=29,e.$store.dispatch("user/setCurrent",o.data.data);case 29:e.$router.push("/questionbank");case 30:t.next=38;break;case 32:return t.prev=32,t.t0=t.catch(4),e.error=t.t0.response.data,t.next=37,e.$recaptcha.reset();case 37:"Email is already exist"===e.error.error&&(e.dialogVisible=!0);case 38:e.loading=!1;case 39:case"end":return t.stop()}}
1),t,null,[[4,32]])})));return function(e){return t.apply(this,arguments)}}())}}},c=l,m=n(18),component=Object(m.a)(c,(function(){var e=this,t=this,n=t._self._c;return n("div",[t._m(0),t._v(" "),n("div",{staticClass:"sign"},[t._m(1),t._v(" "),n("el-form",{ref:"form",staticClass:"sign-form",attrs:{model:t.form,rules:t.rules,"label-position":"top"},nativeOn:{submit:function(e){return e.preventDefault(),t.signup.apply(null,arguments)}}},[t.$device.isDesktop?n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{prop:"first_name"}},[n("div",{staticClass:"sign-form-label"},[n("span",[t._v("First Name")])]),t._v(" "),n("el-input",{attrs:{disabled:t.loading},model:{value:t.form.first_name,callback:function(e){t.$set(t.form,"first_name",e)},expression:"form.first_name"}})],1)],1),t._v(" "),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{prop:"last_name"}},[n("div",{staticClass:"sign-form-label"},[n("span",[t._v("Last Name")])]),t._v(" "),n("el-input",{attrs:{disabled:t.loading},model:{value:t.form.last_name,callback:function(e){t.$set(t.form,"last_name",e)},expression:"form.last_name"}})],1)],1)],1):t._e(),t._v(" "),t.$device.isDesktop?t._e():n("el-form-item",{attrs:{prop:"first_name"}},[n("div",{staticClass:"sign-form-label"},[n("span",[t._v("First Name")])]),t._v(" "),n("el-input",{attrs:{disabled:t.loading},model:{value:t.form.first_name,callback:function(e){t.$set(t.form,"first_name",e)},expression:"form.first_name"}})],1),t._v(" "),t.$device.isDesktop?t._e():n("el-form-item",{attrs:{prop:"last_name"}},[n("div",{staticClass:"sign-form-label"},[n("span",[t._v("Last Name")])]),t._v(" "),n("el-input",{attrs:{disabled:t.loading},model:{value:t.form.last_name,callback:function(e){t.$set(t.form,"last_name",e)},expression:"form.last_name"}})],1),t._v(" "),n("div",{staticClass:"sign-form-label"},[n("span",[t._v("Email")])]),t._v(" "),n("el-form-item",{attrs:{prop:"email"}},[n("el-input",{attrs:{disabled:t.loading},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email","string"==typeof e?e.trim():e)},expression:"form.email"}})],1),t._v(" "),n("div",{staticClass:"sign-form-label"},[n("span",[t._v("Password")])]),t._v(" "),n("el-form-item",{attrs:{prop:"password"}},[n("el-input",{attrs:{type:"password",disabled:t.loading},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),n("div",{staticClass:"sign-form-label"},[n("span",[t._v("Confirm Password")])]),t._v(" "),n("el-form-item",{attrs:{prop:"confirmpassword"}},[n("el-input",{attrs:{type:"password",disabled:t.loading},nativeOn:{paste:function(e){return t.onpastef.apply(null,arguments)}},model:{value:t.form.confirmpassword,callback:function(e){t.$set(t.form,"confirmpassword",e)},expression:"form.confirmpassword"}})],1),t._v(" "),n("el-form-item",{staticClass:"checkbox-item"},[n("el-checkbox",{on:{change:t.onTNCChange},model:{value:t.form.agree,callback:function(e){t.$set(t.form,"agree",e)},expression:"form.agree"}},[n("p",[t._v("\n            I agree to the\n            "),n("a",{attrs:{href:"/terms",target:"_blank"}},[t._v("Terms and conditions")])])])],1),t._v(" "),n("el-form-item",{staticClass:"checkbox-item"},[n("el-checkbox",{model:{value:t.form.opt_in,callback:function(e){t.$set(t.form,"opt_in",e)},expression:"form.opt_in"}},[n("p",[t._v("\n            Opt in to receive email communications (maintenance of website,\n            updates, information on free and paid revision courses)\n          ")])])],1),t._v(" "),n("el-form-item",[t.tncerror?n("div",{staticClass:"tncerror"},[n("span",[t._v("Acceptance of terms and conditions is required")])]):t._e(),t._v(" "),t.error&&"Email is already exist"===t.error.error?n("div",{staticClass:"tncerror"},[n("p",[t._v("\n            Sorry this email is already registered. Please click\n            "),n("nuxt-link",{attrs:{to:"/login"}},[t._v("here")]),t._v(" to login\n          ")],1)]):t._e(),t._v(" "),t.error&&"Email is already exist"!==t.error.error?n("div",{staticClass:"tncerror"},[n("span",[t._v(t._s(t.error.error))])]):t._e()]),t._v(" "),n("recaptcha"),t._v(" "),n("el-form-item",[n("el-button",{staticClass:"signup-button",attrs:{loading:t.loading,type:"primary","native-type":"submit",block:""}},[t._v("Create Account")])],1),t._v(" "),n("div",{staticClass:"createaccount"},[n("span",[t._v("\n          Already have an account? Click\n          "),n("nuxt-link",{attrs:{to:"/login"}},[t._v("here")]),t._v(" to login\n        ")],1)])],1)],1),t._v(" "),n("el-dialog",{attrs:{title:"","custom-class":"signup-dialog",visible:t.dialogVisible,width:t.$device.isDesktop?"30%":"95%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[n("div",{staticClass:"signup-pop-up"}
1,[n("span",[t._v("Sorry, this email is already registered.")]),t._v(" "),n("div",{staticClass:"spu-button"},[n("el-button",{attrs:{type:"primary"},on:{click:function(){e.$router.push({path:"/login"})}}},[t._v("Login")])],1),t._v(" "),n("span",[t._v("Or were you trying to login to\n        "),n("a",{attrs:{href:"https://plabable.com"}},[t._v("Plabable.com")]),t._v(" instead?")])])])],1)}),[function(){var e=this._self._c;return e("div",{staticClass:"signup-desc"},[e("p",[this._v("\n      Create a user account to subscribe to our high-yield Question Bank and\n      other impactful resources to help you pass The Physician Associate\n      National Examination.\n    ")])])},function(){var e=this._self._c;return e("div",{staticClass:"sign-title"},[e("h2",[this._v("Create Account")])])}],!1,null,null,null);t.default=component.exports},2021:function(e,t,n){"use strict";n(1825)},2022:function(e,t,n){var r=n(25)((function(i){return i[1]}));r.push([e.i,".signupcontent{max-width:1240px;min-width:1000px}.signupcontent .sign{padding:40px}.msignupcontent .sign{padding:20px}.msignupcontent,.signupcontent{width:100%;padding:0 20px}.msignupcontent .signup-title h1,.signupcontent .signup-title h1{font-size:30px;color:#01b3bb;margin-top:15px;margin-bottom:30px;border-bottom:0}.msignupcontent .sign-row,.signupcontent .sign-row{display:flex;flex-direction:row}.msignupcontent .signup-desc,.signupcontent .signup-desc{font-size:16px;margin-bottom:30px}.msignupcontent .sign,.signupcontent .sign{background:#f8f8f8;border-radius:4px;margin-bottom:30px}.msignupcontent .sign .sign-title h2,.signupcontent .sign .sign-title h2{letter-spacing:1px;font-size:20px;padding-bottom:20px;color:#01b3bb}.msignupcontent .sign .sign-form .el-checkbox__inner,.signupcontent .sign .sign-form .el-checkbox__inner{border-color:#333}.msignupcontent .sign .sign-form .el-row,.signupcontent .sign .sign-form .el-row{margin:0 -15px}.msignupcontent .sign .sign-form .el-row .el-col,.signupcontent .sign .sign-form .el-row .el-col{padding:0 15px}.msignupcontent .sign .sign-form .sign-form-label,.signupcontent .sign .sign-form .sign-form-label{color:#303133;display:flex;flex-direction:row;justify-content:space-between;font-size:16px;padding-bottom:10px;line-height:normal}.msignupcontent .sign .sign-form .el-checkbox .el-checkbox__label,.signupcontent .sign .sign-form .el-checkbox .el-checkbox__label{font-size:16px!important}.msignupcontent .sign .sign-form .checkbox-item,.signupcontent .sign .sign-form .checkbox-item{margin-bottom:5px}.msignupcontent .sign .sign-form .checkbox-item .el-form-item__content,.signupcontent .sign .sign-form .checkbox-item .el-form-item__content{line-height:30px}.msignupcontent .sign .sign-form .checkbox-item .el-checkbox,.signupcontent .sign .sign-form .checkbox-item .el-checkbox{display:flex}.msignupcontent .sign .sign-form .checkbox-item p,.signupcontent .sign .sign-form .checkbox-item p{word-break:break-word;white-space:normal}.msignupcontent .sign .sign-form .el-input input,.signupcontent .sign .sign-form .el-input input{border-color:#eee;background-color:#fff}.msignupcontent .sign .sign-form .signup-button,.signupcontent .sign .sign-form .signup-button{margin-top:10px}.msignupcontent .sign .sign-form .tncerror,.signupcontent .sign .sign-form .tncerror{color:#ff9091;font-size:12px;line-height:1;padding-top:4px}",""]),r.locals={},e.exports=r},2202:function(e,t,n){var content=n(2460);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(26).default)("55839cb9",content,!0,{sourceMap:!1})},2334:function(e,t,n){"use strict";n.r(t);var r=n(1954),o={name:"SignUpView",components:{Steps:n(1724).default,Register:r.default},data:function(){return{currentstage:0}},created:function(){},methods:{}},l=(n(2021),n(18)),component=Object(l.a)(o,(function(){var e=this,t=e._self._c;return t("div",[t("div",{class:e.$device.isDesktop?"signupcontent":"msignupcontent"},[e._m(0),e._v(" "),e.$device.isDesktop?t("div",{staticClass:"sign-row"},[t("div",{staticClass:"sign-col",staticStyle:{width:"calc(100% - 350px)"}},[t("register")],1),e._v(" "),t("div",{staticClass:"sign-col",staticStyle:{width:"350px"}},[t("steps",{attrs:{step:1}})],1)]):t("div",[t("register")],1)])])}),[function(){var e=this._self._c;return e("div",{staticClass:"signup-title"},[e("h1",[this._v("Sign Up")])])}],!1,null,null,null);t.default=component.exports;installComponents(component,{Steps:n(1724).default})},2459:function(e,t,n){"use strict";n(2202)},2460:function(e,t,n){var r=n(25)((function(i){return i[1]}));
1r.push([e.i,".signup-container{display:flex;justify-content:center}",""]),r.locals={},e.exports=r},2775:function(e,t,n){"use strict";n.r(t);var r={head:{title:"Sign Up",meta:[{hid:"description",name:"description",content:"Create a user account to subscribe to our high yield Question Bank and other impactful resources to help you pass PLAB part 1 & 2."}]},middleware:"guest",name:"Signup",layout:"basicallowcopy",components:{PageSignup:n(2334).default}},o=(n(2459),n(18)),component=Object(o.a)(r,(function(){var e=this._self._c;return e("el-container",{staticClass:"signup-container"},[e("page-signup")],1)}),[],!1,null,null,null);t.default=component.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.