1"use strict";(self.webpackChunkcasino_3_0=self.webpackChunkcasino_3_0||[]).push([[6468],{76468(t,e,c){c.r(e),c.d(e,{default:()=>r});const n={name:"AstroPayCardWithdrawMethod",props:["selectedWithdrawMethod","currentStep","createAccountStep","withdrawAmount"],data:function(){var t=this;return{userAccount:void 0,userAccountRules:[function(e){return!!e||t.$t("front.validation.account.required")}],isUserAccountValid:!1,isNewUserAccountValid:!1,email:void 0,phone:void 0,phoneRules:[function(e){return!!e||t.$t("front.validation.phone_number.required")}],emailRules:[function(e){return!!e||t.$t("front.validation.email.required")},function(e){return/.+@.+\..+/.test(e)||t.$t("front.validation.email.not_valid")}]}},computed:{messages:function(){return this.selectedWithdrawMethod.messages.createNewAccountStep},userAccounts:function(){return this.selectedWithdrawMethod&&this.selectedWithdrawMethod.userAccounts},user:function(){return this.$store.state.user},userCurrency:function(){return this.user&&this.user.currency},currencyCode:function(){return this.user&&this.user.currencyHtmlCode}},methods:{userAccountSelected:function(){if(this.$refs.userAccountForm.validate()){var t={accountId:this.userAccount.id};this.$emit("paymentDataCreated",t)}},userAccountEntered:function(){if(this.$refs.userNewAccountForm.validate()){var t={email:this.email,mobile:this.phone};this.$emit("paymentDataCreated",t)}},createUserAccount:function(){var t={};this.selectedWithdrawMethod.service&&(t.service=this.selectedWithdrawMethod.paymentServiceInterfaceCode),this.$emit("paymentDataCreated",t)}}};const r=(0,c(14486).A)(n,function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-selectCard"},[t.currentStep!==t.createAccountStep?e("v-form",{ref:"userAccountForm",staticClass:"choiceCart",attrs:{"lazy-validation":""},model:{value:t.isUserAccountValid,callback:function(e){t.isUserAccountValid=e},expression:"isUserAccountValid"}},[e("h2",[t._v(t._s(t.$t("front.bank.account.form.select_account")))]),e("div",{staticClass:"text-amount"},[t._v("\n "+t._s(t.$t("front.bank.account.form.withdraw_amount"))+"\n "),e("span",[t._v(t._s(t.withdrawAmount)+" "),e("span",{domProps:{innerHTML:t._s(t.currencyCode)}})])]),e("div",{staticClass:"form-group select"},[e("v-select",{attrs:{label:t.$t("front.bank.account.form.select_account"),"menu-props":{contentClass:"menu-custom"},items:t.userAccounts,"item-text":"title","return-object":!0,rules:t.userAccountRules},model:{value:t.userAccount,callback:function(e){t.userAccount=e},expression:"userAccount"}})],1),e("v-btn",{attrs:{disabled:!t.isUserAccountValid},on:{click:t.userAccountSelected}},[t._v(t._s(t.$t("front.bank.account.form.withdraw_button")))]),t.selectedWithdrawMethod.canUserAddAccount?e("div",[e("p",[t._v(t._s(t.$t("front.bank.account.form.create_new_withdraw_account_title")))]),e("v-btn",{staticClass:"btn-normal",on:{click:t.createUserAccount}},[t._v(t._s(t.$t("front.bank.account.form.create_new_account_button")))])],1):t._e()],1):t._e()],1)},[],!1,null,"8e1a0a0e",null).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.