1/*! For license information please see 4887.8622390e46a6ded1a1d6.js.LICENSE.txt */ 2(self.webpackChunkwebhost1=self.webpackChunkwebhost1||[]).push([[4887],{14887:(e,t,r)=>{r.r(t),r.d(t,{default:()=>E});var n=r(88231),o={class:"container"},a=(0,n.Lk)("br",null,null,-1),i={key:0,style:{display:"flex","justify-content":"space-between","align-items":"center"}},s={key:1},c={id:"content"},u={class:"pure-form"},l={class:"pure-g"},f={class:"pure-u-1"},h=["placeholder"],p=(0,n.Lk)("br",null,null,-1),d={class:"pure-g"},y={class:"pure-u-1"},v={class:"main-menu__form__links",id:"login-links"},m={class:"row"},g={class:"col-6 text-left mt-2"},w={key:1,href:"/login"},k={class:"col-6 text-right mt-2"},b={key:1,href:"/registration"},L=(0,n.Lk)("br",null,null,-1),x=(0,n.Lk)("br",null,null,-1);var _=r(79119);function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _regeneratorRuntime(){_regeneratorRuntime=function _regeneratorRuntime(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function define(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{define({},"")}catch(e){define=function define(e,t,r){return e[t]=r}}function wrap(e,t,r,n){var a=t&&t.prototype instanceof Generator?t:Generator,i=Object.create(a.prototype),s=new Context(n||[]);return o(i,"_invoke",{value:makeInvokeMethod(e,r,s)}),i}function tryCatch(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=wrap;var u="suspendedStart",l="suspendedYield",f="executing",h="completed",p={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var d={};define(d,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(values([])));v&&v!==r&&n.call(v,i)&&(d=v);var m=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(d);function defineIteratorMethods(e){["next","throw","return"].forEach((function(t){define(e,t,(function(e){return this._invoke(t,e)}))}))}function AsyncIterator(e,t){function invoke(r,o,a,i){var s=tryCatch(e[r],e,o);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==_typeof(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){invoke("next",e,a,i)}),(function(e){invoke("throw",e,a,i)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return invoke("throw",e,a,i)}))}i(s.arg)}var r;o(this,"_invoke",{value:function value(e,n){function callInvokeWithMethodAndArg(){return new t((function(t,r){invoke(e,n,t,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(t,r,n){var o=u;return function(a,i){if(o===f)throw Error("Generator is already running");if(o===h){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=maybeInvokeDelegate(s,n);if(c){if(c===p)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===u)throw o=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var d=tryCatch(t,r,n);if("normal"===d.type){if(o=n.done?h:l,d.arg===p)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(o=h,n.method="throw",n.arg=d.arg)}}}function maybeInvokeDelegate(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,maybeInvokeDelegate(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var a=tryCatch(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,p;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,p):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function pushTryEntry(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function resetTryEntry(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(pushTryEntry,this),this.reset(!0)}function values(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function next(){for(;++o<t.length;)if(n.call(t,o))return next.value=t[o],next.done=!1,next;return next.value=e,next.done=!0,next};return a.next=a}}throw new TypeError(_typeof(t)+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(m,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,define(e,c,"GeneratorFunction")),e.prototype=Object.create(m),e},t.awrap=function(e){return{__await:e}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,s,(function(){return this})),t.AsyncIterator=AsyncIterator,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new AsyncIterator(wrap(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},defineIteratorMethods(m),define(m,c,"Generator"),define(m,i,(function(){return this})),define(m,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function next(){for(;r.length;){var e=r.pop();if(e in t)return next.value=e,next.done=!1,next}return next.done=!0,next}},t.values=values,Context.prototype={constructor:Context,reset:function reset(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
2h(resetTryEntry),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function stop(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function dispatchException(t){if(this.done)throw t;var r=this;function handle(n,o){return i.type="throw",i.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return handle("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return handle(a.catchLoc,!0);if(this.prev<a.finallyLoc)return handle(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return handle(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return handle(a.finallyLoc)}}}},abrupt:function abrupt(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function complete(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function finish(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),p}},catch:function _catch(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function delegateYield(t,r,n){return this.delegate={iterator:values(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),p}},t}function asyncGeneratorStep(e,t,r,n,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}const C=(0,n.pM)({name:"ResetPasswordNew",props:{isResetByCart:Boolean,redirect:Boolean,inCart:Boolean},setup:function setup(e,t){var r=t.emit,o=(0,n.QW)(e),a=o.isResetByCart,i=o.redirect,s=(0,n.KR)({email:""}),c=(0,n.KR)({email:!1}),u=(0,n.KR)(),l=function(){var e=function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function _next(e){asyncGeneratorStep(a,n,o,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(a,n,o,_next,_throw,"throw",e)}_next(void 0)}))}}(_regeneratorRuntime().mark((function _callee(e){var t,r;return _regeneratorRuntime().wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:return e.target.disabled=!0,(t=new FormData).append("password_reset[email]",s.value.email),n.prev=3,u=window.toast.loading((0,_.A)("message.pageIsLoading"),{theme:"auto",transition:"slide"}),n.next=7,axios.post("/password-reset-new",t);case 7:r=n.sent,window.toast.update(u,{render:r.data.message,dangerouslyHTMLString:!0,autoClose:2e3,closeOnClick:!0,closeButton:!0,type:"success",isLoading:!1}),e.target.disabled=!1,n.next=17;break;case 12:n.prev=12,n.t0=n.catch(3),n.t0.response.data.error&&window.toast.update(u,{render:n.t0.response.data.error,dangerouslyHTMLString:!0,autoClose:2e3,closeOnClick:!0,closeButton:!0,type:"error",isLoading:!1}),n.t0.response.data.errors&&n.t0.response.data.errors.forEach((function(e){c.value[e.field]=e.message,window.toast.update(u,{render:e.message,dangerouslyHTMLString:!0,autoClose:2e3,closeOnClick:!0,closeButton:!0,type:"error",isLoading:!1})})),e.target.disabled=!1;case 17:case"end":return n.stop()}}),_callee,null,[[3,12]])})));return function sendRequest(t){return e.apply(this,arguments)}}();return{isResetByCart:a,redirect:i,createAuthComponent:function createAuthComponent(){r("component:auth","auth")},form:s,destroyWindow:function destroyWindow(){r("update:show","destroy")},sendRequest:l,formInvalid:c,createRegisterComponent:function createRegisterComponent(){r("component:auth","register")},loading:u,translate:_.A,componentPath:"/component/auth/resetPassword.vue",componentName:"ResetPasswordComponent"}}});const E=(0,r(66262).A)(C,[["render",function render(e,t,r,_,C,E){return(0,n.uX)(),(0,n.CE)("div",o,[a,e.isResetByCart?((0,n.uX)(),(0,n.CE)("h1",i,[(0,n.Lk)("span",null,(0,n.v_)(e.translate("message.auth.offCanvas.resetPasswordTitle")),1),(0,n.Lk)("button",{class:"buttonCloseOffcanvas",style:{border:"none",background:"none","font-size":"24px",cursor:"pointer"},onClick:t[0]||(t[0]=(0,n.D$)((function(){return e.destroyWindow&&e.destroyWindow.apply(e,arguments)}),["prevent"]))}," Ã ")])):((0,n.uX)(),(0,n.CE)("h1",s,[(0,n.Lk)("span",null,(0,n.v_)(e.translate("message.auth.offCanvas.resetPasswordTitle")),1)])),(0,n.Lk)("div",c,[(0,n.Lk)("div",{class:(0,n.C4)("".concat(e.isResetByCart?"col-lg-12":"col-lg-5")),style:{margin:"0 auto"}},[(0,n.Lk)("form",u,[(0,n.Lk)("fieldset",null,[(0,n.Lk)("div",l,[(0,n.Lk)("div",f,[(0,n.bo)((0,n.Lk)("input",{type:"email",id:"email",name:"password_reset[email]",required:"","onUpdate:modelValue":t[1]||(t[1]=function(t){return e.form.email=t}),class:"form-control",placeholder:e.translate("message.auth.emailPlaceholder"),style:(0,n.Tr)(!1!==e.formInvalid.email?"border-color:#b41f1f":"")},null,12,h),[[n.Jo,e.form.email]])])]),p,(0,n.Lk)("div",d,[(0,n.Lk)("div",y,[(0,n.Lk)("button",{type:"button",class:"button full",name:"forgot",onClick:t[2]||(t[2]=(0,n.D$)((function(){return e.sendRequest&&e.sendRequest.apply(e,arguments)}),["prevent"]))}
2,(0,n.v_)(e.translate("message.auth.resetPasswordButton")),1)])]),(0,n.Lk)("div",v,[(0,n.Lk)("div",m,[(0,n.Lk)("div",g,[e.isResetByCart?((0,n.uX)(),(0,n.CE)("a",{key:0,href:"#",onClick:t[3]||(t[3]=(0,n.D$)((function(){return e.createAuthComponent&&e.createAuthComponent.apply(e,arguments)}),["prevent"]))},(0,n.v_)(e.translate("message.auth.loginToBilling")),1)):((0,n.uX)(),(0,n.CE)("a",w,(0,n.v_)(e.translate("message.auth.loginToBilling")),1))]),(0,n.Lk)("div",k,[e.isResetByCart?((0,n.uX)(),(0,n.CE)("a",{key:0,href:"#",onClick:t[4]||(t[4]=(0,n.D$)((function(){return e.createRegisterComponent&&e.createRegisterComponent.apply(e,arguments)}),["prevent"]))},(0,n.v_)(e.translate("message.auth.registrationTitle")),1)):((0,n.uX)(),(0,n.CE)("a",b,(0,n.v_)(e.translate("message.auth.registrationTitle")),1))])])])])])],2),L,x])])}]])}}]); 3//# sourceMappingURL=4887.8622390e46a6ded1a1d6.js.map
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.