text: /*!
   * vue-braintree v2.1.0 
   * (c) 2021 
   * Released under the undefined License.
   */
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("braintree-web-drop-in")):"function"==typeof define&&define.amd?define(["braintree-web-drop-in"],t):(e=e||self,e.VueBraintree=t(e.dropIn))}(this,function(e){"use strict";function t(e){return(t="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})(e)}function n(e,t,n,r,o,i,a,s,u,d){"boolean"!=typeof a&&(u=s,s=a,a=!1);var l="function"==typeof n?n.options:n;e&&e.render&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),r&&(l._scopeId=r);var c;if(i?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,u(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):t&&(c=a?function(){t.call(this,d(this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),c)if(l.functional){var f=l.render;l.render=function(e,t){return c.call(t),f(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return n}e=e&&e.hasOwnProperty("default")?e.default:e;var r={props:{authorization:{required:!0,type:String},locale:{type:String,default:"en_US"},btnText:{type:String,default:"Pay"},btnClass:{type:String,default:"btn btn-primary"},paypal:{type:Object,default:void 0},paypalCredit:{type:Object,default:void 0},venmo:{type:Object,default:void 0},applePay:{type:Object,default:void 0},googlePay:{type:Object,default:void 0},translations:{type:Object,default:void 0},vaultManager:{type:Boolean,default:!1},card:{type:Object,default:void 0},threeDSecure:{default:!1,type:Boolean},threeDSecureParameters:{required:!1,default:null,validator:function(e){return"object"===t(e)}}},data:function(){return{instance:null}},mounted:function(){var t=this,n={authorization:this.authorization,container:this.$refs.dropin,locale:this.locale,translations:this.translations,paypal:this.paypal,paypalCredit:this.paypalCredit,venmo:this.venmo,applePay:this.applePay,googlePay:this.googlePay,vaultManager:this.vaultManager,card:this.card,threeDSecure:this.threeDSecure};e.create(n,function(e,n){if(e)return void t.$emit("loadFail",e);t.instance=n,t.$emit("load",t.instance)})},methods:{submit:function(e){var t=this;e&&e.preventDefault();var n={};!0===this.threeDSecure&&(n.threeDSecure=this.threeDSecureParameters),this.instance.requestPaymentMethod(n,function(e,n){if(e)return void t.$emit("error",e);t.$emit("success",n)})}}},o=n;const i=r;var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"payment"},[n("div",{ref:"dropin"}),e._v(" "),e._t("button",[n("button",{class:e.btnClass,on:{click:e.submit}},[e._v(e._s(e.btnText))])],{submit:e.submit})],2)},s=[];var u=o({render:a,staticRenderFns:s},void 0,i,void 0,!1,void 0,void 0,void 0),d=function(e){e.component("v-braintree",u)},l={install:d,version:"2.1.0"};return"undefined"!=typeof window&&window.Vue&&window.Vue.use(l),l});