{"version":3,"sources":["webpack:///./node_modules/vuetify/lib/components/VForm/VForm.js","webpack:///./src/modals/deposit/paydash.vue?87f4","webpack:///src/modals/deposit/paydash.vue","webpack:///./src/modals/deposit/paydash.vue?35aa","webpack:///./src/modals/deposit/paydash.vue"],"names":["extend","name","form","this","inheritAttrs","props","disabled","Boolean","lazyValidation","readonly","value","data","inputs","watchers","errorBag","watch","val","errors","Object","values","includes","$emit","deep","immediate","methods","input","watcher","$watch","$set","_uid","valid","shouldValidate","hasOwnProperty","filter","validate","length","forEach","reset","resetErrorBag","setTimeout","resetValidation","push","watchInput","found","find","i","unwatch","$delete","h","staticClass","attrs","novalidate","attrs$","on","submit","e","$slots","default","render","_vm","_h","$createElement","_c","_self","domProps","_s","_v","ref","model","callback","$$v","expression","allowNegative","valueRange","min","config","minAmount","max","maxAmount","rules","email","loading","onSubmit","amount","bonus","_f","staticRenderFns","close","type","Function","required","payload","computed","user","conga","deposits","cash","order","$socket","request","console","log","win","window","open","url","focus","Error","$toast","error","message","component","VBtn","VCol","VForm","VRow","VSheet","VTextField"],"mappings":"yHAAA,wCAMe,sBAAO,OAAY,eAAmB,SAEnDA,OAAO,CACPC,KAAM,SAEN,UACE,MAAO,CACLC,KAAMC,OAIVC,cAAc,EACdC,MAAO,CACLC,SAAUC,QACVC,eAAgBD,QAChBE,SAAUF,QACVG,MAAOH,SAETI,KAAM,KAAM,CACVC,OAAQ,GACRC,SAAU,GACVC,SAAU,KAEZC,MAAO,CACLD,SAAU,CACR,QAAQE,GACN,MAAMC,EAASC,OAAOC,OAAOH,GAAKI,UAAS,GAC3CjB,KAAKkB,MAAM,SAAUJ,IAGvBK,MAAM,EACNC,WAAW,IAGfC,QAAS,CACP,WAAWC,GACT,MAAMC,EAAUD,GACPA,EAAME,OAAO,WAAYX,IAC9Bb,KAAKyB,KAAKzB,KAAKW,SAAUW,EAAMI,KAAMb,IACpC,CACDO,WAAW,IAITV,EAAW,CACfgB,KAAMJ,EAAMI,KACZC,MAAO,OAC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B,GACA,EACA,KACA,KACA,MAIa,aAAAyB,EAAiB,QAUhC,IAAkBA,EAAW,CAACC,OAAA,KAAKC,OAAA,KAAKC,QAAA,KAAMC,OAAA,KAAKC,SAAA,KAAOC,aAAA","file":"js/deposit-paydash.modal.16d53023.js","sourcesContent":["// Mixins\nimport mixins from '../../util/mixins';\nimport BindsAttrs from '../../mixins/binds-attrs';\nimport { provide as RegistrableProvide } from '../../mixins/registrable';\n/* @vue/component */\n\nexport default mixins(BindsAttrs, RegistrableProvide('form')\n/* @vue/component */\n).extend({\n name: 'v-form',\n\n provide() {\n return {\n form: this\n };\n },\n\n inheritAttrs: false,\n props: {\n disabled: Boolean,\n lazyValidation: Boolean,\n readonly: Boolean,\n value: Boolean\n },\n data: () => ({\n inputs: [],\n watchers: [],\n errorBag: {}\n }),\n watch: {\n errorBag: {\n handler(val) {\n const errors = Object.values(val).includes(true);\n this.$emit('input', !errors);\n },\n\n deep: true,\n immediate: true\n }\n },\n methods: {\n watchInput(input) {\n const watcher = input => {\n return input.$watch('hasError', val => {\n this.$set(this.errorBag, input._uid, val);\n }, {\n immediate: true\n });\n };\n\n const watchers = {\n _uid: input._uid,\n valid: () => {},\n shouldValidate: () => {}\n };\n\n if (this.lazyValidation) {\n // Only start watching inputs if we need to\n watchers.shouldValidate = input.$watch('shouldValidate', val => {\n if (!val) return; // Only watch if we're not already doing it\n\n if (this.errorBag.hasOwnProperty(input._uid)) return;\n watchers.valid = watcher(input);\n });\n } else {\n watchers.valid = watcher(input);\n }\n\n return watchers;\n },\n\n /** @public */\n validate() {\n return this.inputs.filter(input => !input.validate(true)).length === 0;\n },\n\n /** @public */\n reset() {\n this.inputs.forEach(input => input.reset());\n this.resetErrorBag();\n },\n\n resetErrorBag() {\n if (this.lazyValidation) {\n // Account for timeout in validatable\n setTimeout(() => {\n this.errorBag = {};\n }, 0);\n }\n },\n\n /** @public */\n resetValidation() {\n this.inputs.forEach(input => input.resetValidation());\n this.resetErrorBag();\n },\n\n register(input) {\n this.inputs.push(input);\n this.watchers.push(this.watchInput(input));\n },\n\n unregister(input) {\n const found = this.inputs.find(i => i._uid === input._uid);\n if (!found) return;\n const unwatch = this.watchers.find(i => i._uid === found._uid);\n\n if (unwatch) {\n unwatch.valid();\n unwatch.shouldValidate();\n }\n\n this.watchers = this.watchers.filter(i => i._uid !== found._uid);\n this.inputs = this.inputs.filter(i => i._uid !== found._uid);\n this.$delete(this.errorBag, found._uid);\n }\n\n },\n\n render(h) {\n return h('form', {\n staticClass: 'v-form',\n attrs: {\n novalidate: true,\n ...this.attrs$\n },\n on: {\n submit: e => this.$emit('submit', e)\n }\n }, this.$slots.default);\n }\n\n});\n//# sourceMappingURL=VForm.js.map","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-sheet',{staticClass:\"py-7 px-8 rounded-0\",attrs:{\"color\":\"grey700\"}},[_c('h4',{staticClass:\"green500--text font-weight-bold text-uppercase text-body-1 mb-2\",domProps:{\"textContent\":_vm._s('Deposit via PayDash')}}),_c('p',{staticClass:\"text-body-2 green200--text\"},[_vm._v(\" PayDash requires a valid email address in case something goes wrong with your payment. \")]),_c('v-form',{ref:\"form\",model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c('v-row',[_c('v-col',{staticClass:\"py-2\",attrs:{\"cols\":\"12\"}},[_c('v-currency-field',{staticClass:\"rounded-0 grey100--text\",attrs:{\"options\":{\n allowNegative: false,\n valueRange: {\n min: _vm.config.minAmount / 100,\n max: _vm.config.maxAmount / 100,\n }\n },\"placeholder\":\"Amount\",\"background-color\":\"grey600\",\"solo\":\"\",\"flat\":\"\",\"required\":\"\",\"hide-details\":\"\"},model:{value:(_vm.form.amount),callback:function ($$v) {_vm.$set(_vm.form, \"amount\", $$v)},expression:\"form.amount\"}})],1),_c('v-col',{staticClass:\"py-2\",attrs:{\"cols\":\"12\"}},[_c('v-text-field',{staticClass:\"rounded-0 grey100--text\",attrs:{\"background-color\":\"grey600\",\"flat\":\"\",\"solo\":\"\",\"label\":\"Email\",\"rules\":_vm.rules.email,\"lazy-validation\":\"\",\"required\":\"\"},model:{value:(_vm.form.email),callback:function ($$v) {_vm.$set(_vm.form, \"email\", $$v)},expression:\"form.email\"}})],1)],1)],1),_c('p',{staticClass:\"text-caption text--disabled\"},[_vm._v(\" bandit.camp does NOT store your payment information and CANNOT charge you without your approval. \")]),_c('v-btn',{staticClass:\"rounded-0 font-weight-bold\",attrs:{\"color\":\"green800 green200--text\",\"ripple\":false,\"disabled\":!_vm.valid,\"loading\":_vm.loading,\"block\":\"\",\"large\":\"\"},on:{\"click\":_vm.onSubmit}},[_vm._v(\" Deposit \"),_c('scrap',{staticClass:\"mx-2\",attrs:{\"amount\":_vm.form.amount * (1 + _vm.bonus)}}),_vm._v(\" for $\"+_vm._s(_vm._f(\"toScrap\")(_vm.form.amount))+\" \")],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/vuetify-loader/lib/loader.js??ref--17-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./paydash.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/vuetify-loader/lib/loader.js??ref--17-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./paydash.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./paydash.vue?vue&type=template&id=7396bc66&\"\nimport script from \"./paydash.vue?vue&type=script&lang=js&\"\nexport * from \"./paydash.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSheet } from 'vuetify/lib/components/VSheet';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VForm,VRow,VSheet,VTextField})\n"],"sourceRoot":""}