(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["mdbModal"]=e():t["mdbModal"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var a=e[o]={i:o,l:!1,exports:{}};return t[o].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(o,a,function(e){return t[e]}.bind(null,a));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"0faf":function(t,e,n){"use strict";var o=n("27f6"),a=n.n(o);a.a},"27f6":function(t,e,n){},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(o){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(o.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},fb15:function(t,e,n){"use strict";var o;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(o=window.document.currentScript)&&(o=o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=o[1]));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"fade"},on:{enter:t.enter,"after-enter":t.afterEnter,"before-leave":t.beforeLeave,"after-leave":t.afterLeave}},[t.show?n(t.tag,{tag:"component",class:t.wrapperClass,on:{click:function(e){return e.target!==e.currentTarget?null:t.away(e)}}},[n("div",{class:t.dialogClass,attrs:{role:"document"}},[n("div",{class:t.contentClass,style:t.computedContentStyle},[t._t("default")],2)])]):t._e()],1)},r=[],i={props:{tag:{type:String,default:"div"},size:{type:String},side:{type:Boolean,default:!1},position:{type:String},fullHeight:{type:Boolean,default:!1},frame:{type:Boolean,default:!1},removeBackdrop:{type:Boolean,default:!1},centered:{type:Boolean,default:!1},cascade:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},info:{type:Boolean,default:!1},success:{type:Boolean,default:!1},warning:{type:Boolean,default:!1},tabs:{type:Boolean,default:!1},avatar:{type:Boolean,default:!1},elegant:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},bgSrc:{type:String,default:""},direction:{type:String,default:"top"},show:{type:Boolean,default:!0},scrollable:{type:Boolean,default:!1}},beforeMount:function(){"right"===this.direction?this.dialogTransform="translate(25%,0)":"bottom"===this.direction?this.dialogTransform="translate(0,25%)":"left"===this.direction&&(this.dialogTransform="translate(-25%,0)")},data:function(){return{dialogTransform:"translate(0,-25%)"}},methods:{away:function(){this.removeBackdrop||this.$emit("close",this)},enter:function(t){t.style.opacity=0,t.childNodes[0].style.transform=this.dialogTransform,this.$emit("show",this)},afterEnter:function(t){var e=this;t.style.opacity=1,t.childNodes[0].style.transform="translate(0,0)",setTimeout((function(){e.$emit("shown",e)}),400)},beforeLeave:function(t){this.$parent.$emit("hide",this),t.style.opacity=0,t.childNodes[0].style.transform=this.dialogTransform},afterLeave:function(){this.$parent.$emit("hidden",this)}},computed:{wrapperClass:function(){return["modal",this.removeBackdrop&&"modal-without-backdrop"]},dialogClass:function(){return["modal-dialog",this.size&&"modal-"+this.size,this.side&&"modal-side",this.fullHeight&&"modal-full-height",this.frame&&"modal-frame",this.position?"modal-"+this.position:"",this.centered&&"modal-dialog-centered",(this.cascade||this.tabs)&&"cascading-modal",this.danger&&"modal-notify modal-danger",this.info&&"modal-notify modal-info",this.success&&"modal-notify modal-success",this.warning&&"modal-notify modal-warning",this.avatar&&"modal-avatar cascading-modal",this.dark&&"form-dark",this.scrollable&&"modal-dialog-scrollable"]},contentClass:function(){return["modal-content",this.tabs&&"modal-c-tabs",this.elegant&&"form-elegant",this.dark&&"card card-image"]},computedContentStyle:function(){return!!this.bgSrc&&{"background-image":'url("'.concat(this.bgSrc,'")')}}}},s=i,l=s;n("0faf");function d(t,e,n,o,a,r,i,s){var l,d="function"===typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),o&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),i?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},d._ssrRegister=l):a&&(l=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),l)if(d.functional){d._injectStyles=l;var f=d.render;d.render=function(t,e){return l.call(e),f(t,e)}}else{var c=d.beforeCreate;d.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:d}}var f=d(l,a,r,!1,null,"38054772",null),c=f.exports;n.d(e,"mdbModal",(function(){return i}));e["default"]=c}})["default"]})); //# sourceMappingURL=index.umd.min.js.map