(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{299:function(t,e,s){"use strict";s.r(e),s.d(e,"POSITION",(function(){return o})),s.d(e,"TYPE",(function(){return n})),s.d(e,"createToastInterface",(function(){return vt}));var n,o,i,a=s(0);
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function r(t,e,s,n){return new(s||(s=Promise))((function(o,i){function a(t){try{c(n.next(t))}catch(t){i(t)}}function r(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof s?e:new s((function(t){t(e)}))).then(a,r)}c((n=n.apply(t,e||[])).next())}))}!function(t){t.SUCCESS="success",t.ERROR="error",t.WARNING="warning",t.INFO="info",t.DEFAULT="default"}(n||(n={})),function(t){t.TOP_LEFT="top-left",t.TOP_CENTER="top-center",t.TOP_RIGHT="top-right",t.BOTTOM_LEFT="bottom-left",t.BOTTOM_CENTER="bottom-center",t.BOTTOM_RIGHT="bottom-right"}(o||(o={})),function(t){t.ADD="add",t.DISMISS="dismiss",t.UPDATE="update",t.CLEAR="clear",t.UPDATE_DEFAULTS="update_defaults"}(i||(i={}));const c="Vue-Toastification",l={type:{type:String,default:n.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},d={type:l.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},u={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:l.classNames,showOnHover:Boolean,ariaLabel:{type:String,default:"close"}},h={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:Boolean,isRunning:Boolean},v={transition:{type:[Object,String],default:c+"__bounce"},transitionDuration:{type:[Number,Object],default:750}};var p={CORE_TOAST:{position:{type:String,default:o.TOP_RIGHT},draggable:l.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:l.trueBoolean,pauseOnHover:l.trueBoolean,closeOnClick:l.trueBoolean,timeout:h.timeout,hideProgressBar:h.hideProgressBar,toastClassName:l.classNames,bodyClassName:l.classNames,icon:d.customIcon,closeButton:u.component,closeButtonClassName:u.classNames,showCloseButtonOnHover:u.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:Boolean,eventBus:Object},TOAST:{id:{type:[String,Number],required:!0},type:l.type,content:{type:[String,Object,Function],required:!0},onClick:Function,onClose:Function},CONTAINER:{container:{type:void 0,default:()=>document.body},newestOnTop:l.trueBoolean,maxToasts:{type:Number,default:20},transition:v.transition,transitionDuration:v.transitionDuration,toastDefaults:Object,filterBeforeCreate:{type:Function,default:t=>t},filterToasts:{type:Function,default:t=>t},containerClassName:l.classNames,onMounted:Function},PROGRESS_BAR:h,ICON:d,TRANSITION:v,CLOSE_BUTTON:u};const m=t=>"function"==typeof t,f=t=>"string"==typeof t,g=t=>f(t)&&t.trim().length>0,b=t=>"number"==typeof t,T=t=>void 0===t,y=t=>"object"==typeof t&&null!==t,C=t=>R(t,"tag")&&g(t.tag),_=t=>window.TouchEvent&&t instanceof TouchEvent,E=t=>R(t,"component")&&O(t.component),S=t=>!!(t=>m(t)&&R(t,"cid"))(t)||!!y(t)&&(!(!t.extends&&!t._Ctor)||(!!f(t.template)||w(t))),O=t=>!T(t)&&(f(t)||(t=>t instanceof a.a||S(t))(t)||w(t)||C(t)||E(t)),D=t=>y(t)&&b(t.height)&&b(t.width)&&b(t.right)&&b(t.left)&&b(t.top)&&b(t.bottom),R=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),w=t=>R(t,"render")&&m(t.render),I=($=0,()=>$++);var $;function B(t){return _(t)?t.targetTouches[0].clientX:t.clientX}function N(t){return _(t)?t.targetTouches[0].clientY:t.clientY}const P=t=>{T(t.remove)?t.parentNode&&t.parentNode.removeChild(t):t.remove()},L=t=>E(t)?L(t.component):C(t)?{render:()=>t}:t;function x(t,e,s,n,o,i,a,r,c,l){"boolean"!=typeof a&&(c=r,r=a,a=!1);const d="function"==typeof s?s.options:s;let u;if(t&&t.render&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0,o&&(d.functional=!0)),n&&(d._scopeId=n),i?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},d._ssrRegister=u):e&&(u=a?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,r(t))}),u)if(d.functional){const t=d.render;d.render=function(e,s){return u.call(s),t(e,s)}}else{const t=d.beforeCreate;d.beforeCreate=t?[].concat(t,u):[u]}return s}const A=a.a.extend({props:p.PROGRESS_BAR,data:()=>({hasClass:!0}),computed:{style(){return{animationDuration:this.timeout+"ms",animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?c+"__progress-bar":""}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeDestroy(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}},watch:{timeout(){this.hasClass=!1,this.$nextTick(()=>this.hasClass=!0)}}});var F=function(){var t=this.$createElement;return(this._self._c||t)("div",{class:this.cpClass,style:this.style})};F._withStripped=!0;const j=x({render:F,staticRenderFns:[]},void 0,A,void 0,!1,void 0,!1,void 0,void 0,void 0);const M=a.a.extend({props:p.CLOSE_BUTTON,computed:{buttonComponent(){return!1!==this.component?L(this.component):"button"},classes(){const t=[c+"__close-button"];return this.showOnHover&&t.push("show-on-hover"),t.concat(this.classNames)}}});var U=function(){var t=this.$createElement;return(this._self._c||t)(this.buttonComponent,this._g({tag:"component",class:this.classes,attrs:{"aria-label":this.ariaLabel}},this.$listeners),[this._v("\n  ×\n")])};U._withStripped=!0;const k=x({render:U,staticRenderFns:[]},void 0,M,void 0,!1,void 0,!1,void 0,void 0,void 0);const H={};var V=function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"svg-inline--fa fa-check-circle fa-w-16",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[e("path",{attrs:{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"}})])};V._withStripped=!0;const z=x({render:V,staticRenderFns:[]},void 0,H,void 0,!1,void 0,!1,void 0,void 0,void 0);const G={};var X=function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"svg-inline--fa fa-info-circle fa-w-16",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[e("path",{attrs:{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"}})])};X._withStripped=!0;const W=x({render:X,staticRenderFns:[]},void 0,G,void 0,!1,void 0,!1,void 0,void 0,void 0);const Y={};var q=function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"svg-inline--fa fa-exclamation-circle fa-w-16",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[e("path",{attrs:{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}})])};q._withStripped=!0;const J=x({render:q,staticRenderFns:[]},void 0,Y,void 0,!1,void 0,!1,void 0,void 0,void 0);const K={};var Q=function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"svg-inline--fa fa-exclamation-triangle fa-w-18",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"}},[e("path",{attrs:{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}})])};Q._withStripped=!0;const Z=x({render:Q,staticRenderFns:[]},void 0,K,void 0,!1,void 0,!1,void 0,void 0,void 0);const tt=a.a.extend({props:p.ICON,computed:{customIconChildren(){return R(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return f(this.customIcon)?this.trimValue(this.customIcon):R(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return R(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:O(this.customIcon)?L(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[n.DEFAULT]:W,[n.INFO]:W,[n.SUCCESS]:z,[n.ERROR]:Z,[n.WARNING]:J}[this.type]},iconClasses(){const t=[c+"__icon"];return this.hasCustomIcon?t.concat(this.customIconClass):t}},methods:{trimValue:(t,e="")=>g(t)?t.trim():e}});var et=function(){var t=this.$createElement;return(this._self._c||t)(this.component,{tag:"component",class:this.iconClasses},[this._v(this._s(this.customIconChildren))])};et._withStripped=!0;const st=x({render:et,staticRenderFns:[]},void 0,tt,void 0,!1,void 0,!1,void 0,void 0,void 0);const nt=a.a.extend({components:{ProgressBar:j,CloseButton:k,Icon:st},inheritAttrs:!1,props:Object.assign({},p.CORE_TOAST,p.TOAST),data:()=>({isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}),computed:{classes(){const t=[c+"__toast",`${c}__toast--${this.type}`,""+this.position].concat(this.toastClassName);return this.disableTransitions&&t.push("disable-transition"),this.rtl&&t.push(c+"__toast--rtl"),t},bodyClasses(){return[`${c}__toast-${f(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return D(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeDestroy(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},destroyed(){setTimeout(()=>{P(this.$el)},1e3)},methods:{getVueComponentFromObj:L,closeToast(){this.eventBus.$emit(i.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(this.beingDragged&&this.dragStart!==this.dragPos.x||this.closeToast())},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const t=this.$el;t.addEventListener("touchstart",this.onDragStart,{passive:!0}),t.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const t=this.$el;t.removeEventListener("touchstart",this.onDragStart),t.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(t){this.beingDragged=!0,this.dragPos={x:B(t),y:N(t)},this.dragStart=B(t),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(t){this.beingDragged&&(t.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:B(t),y:N(t)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick(()=>this.closeToast())):setTimeout(()=>{this.beingDragged=!1,D(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0}))}}});var ot=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:t.classes,style:t.draggableStyle,on:{click:t.clickHandler,mouseenter:t.hoverPause,mouseleave:t.hoverPlay}},[t.icon?s("Icon",{attrs:{"custom-icon":t.icon,type:t.type}}):t._e(),t._v(" "),s("div",{class:t.bodyClasses,attrs:{role:t.accessibility.toastRole||"alert"}},["string"==typeof t.content?[t._v(t._s(t.content))]:s(t.getVueComponentFromObj(t.content),t._g(t._b({tag:"component",attrs:{"toast-id":t.id},on:{"close-toast":t.closeToast}},"component",t.content.props,!1),t.content.listeners))],2),t._v(" "),t.closeButton?s("CloseButton",{attrs:{component:t.closeButton,"class-names":t.closeButtonClassName,"show-on-hover":t.showCloseButtonOnHover,"aria-label":t.accessibility.closeButtonLabel},on:{click:function(e){return e.stopPropagation(),t.closeToast(e)}}}):t._e(),t._v(" "),t.timeout?s("ProgressBar",{attrs:{"is-running":t.isRunning,"hide-progress-bar":t.hideProgressBar,timeout:t.timeout},on:{"close-toast":t.timeoutHandler}}):t._e()],1)};ot._withStripped=!0;const it=x({render:ot,staticRenderFns:[]},void 0,nt,void 0,!1,void 0,!1,void 0,void 0,void 0);const at=a.a.extend({inheritAttrs:!1,props:p.TRANSITION,methods:{beforeEnter(t){const e="number"==typeof this.transitionDuration?this.transitionDuration:this.transitionDuration.enter;t.style.animationDuration=e+"ms",t.style.animationFillMode="both",this.$emit("before-enter",t)},afterEnter(t){this.cleanUpStyles(t),this.$emit("after-enter",t)},afterLeave(t){this.cleanUpStyles(t),this.$emit("after-leave",t)},beforeLeave(t){const e="number"==typeof this.transitionDuration?this.transitionDuration:this.transitionDuration.leave;t.style.animationDuration=e+"ms",t.style.animationFillMode="both",this.$emit("before-leave",t)},leave(t,e){this.setAbsolutePosition(t),this.$emit("leave",t,e)},setAbsolutePosition(t){t.style.left=t.offsetLeft+"px",t.style.top=t.offsetTop+"px",t.style.width=getComputedStyle(t).width,t.style.height=getComputedStyle(t).height,t.style.position="absolute"},cleanUpStyles(t){t.style.animationFillMode="",t.style.animationDuration=""}}});var rt=function(){var t=this,e=t.$createElement;return(t._self._c||e)("transition-group",{attrs:{tag:"div","enter-active-class":t.transition.enter?t.transition.enter:t.transition+"-enter-active","move-class":t.transition.move?t.transition.move:t.transition+"-move","leave-active-class":t.transition.leave?t.transition.leave:t.transition+"-leave-active"},on:{leave:t.leave,"before-enter":t.beforeEnter,"before-leave":t.beforeLeave,"after-enter":t.afterEnter,"after-leave":t.afterLeave}},[t._t("default")],2)};rt._withStripped=!0;const ct=x({render:rt,staticRenderFns:[]},void 0,at,void 0,!1,void 0,!1,void 0,void 0,void 0);const lt=a.a.extend({components:{Toast:it,VtTransition:ct},props:Object.assign({},p.CORE_TOAST,p.CONTAINER,p.TRANSITION),data:()=>({count:0,positions:Object.values(o),toasts:{},defaults:{}}),computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){this.setup(this.container);const t=this.eventBus;t.$on(i.ADD,this.addToast),t.$on(i.CLEAR,this.clearToasts),t.$on(i.DISMISS,this.dismissToast),t.$on(i.UPDATE,this.updateToast),t.$on(i.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},methods:{setup(t){return r(this,void 0,void 0,(function*(){m(t)&&(t=yield t()),P(this.$el),t.appendChild(this.$el)}))},setToast(t){T(t.id)||this.$set(this.toasts,t.id,t)},addToast(t){const e=Object.assign({},this.defaults,t.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[t.type],t),s=this.defaults.filterBeforeCreate(e,this.toastArray);s&&this.setToast(s)},dismissToast(t){const e=this.toasts[t];T(e)||T(e.onClose)||e.onClose(),this.$delete(this.toasts,t)},clearToasts(){Object.keys(this.toasts).forEach(t=>{this.dismissToast(t)})},getPositionToasts(t){const e=this.filteredToasts.filter(e=>e.position===t).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?e.reverse():e},updateDefaults(t){T(t.container)||this.setup(t.container),this.defaults=Object.assign({},this.defaults,t)},updateToast({id:t,options:e,create:s}){this.toasts[t]?(e.timeout&&e.timeout===this.toasts[t].timeout&&e.timeout++,this.setToast(Object.assign({},this.toasts[t],e))):s&&this.addToast(Object.assign({},{id:t},e))},getClasses(t){return[c+"__container",t].concat(this.defaults.containerClassName)}}});var dt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",t._l(t.positions,(function(e){return s("div",{key:e},[s("VtTransition",{class:t.getClasses(e),attrs:{transition:t.defaults.transition,"transition-duration":t.defaults.transitionDuration}},t._l(t.getPositionToasts(e),(function(e){return s("Toast",t._b({key:e.id},"Toast",e,!1))})),1)],1)})),0)};dt._withStripped=!0;const ut=x({render:dt,staticRenderFns:[]},void 0,lt,void 0,!1,void 0,!1,void 0,void 0,void 0),ht=(t,e={},s=!0)=>{const o=e.eventBus=e.eventBus||new t;if(s){const s=new(t.extend(ut))({el:document.createElement("div"),propsData:e}),n=e.onMounted;T(n)||n(s)}const a=(t,e)=>{const s=Object.assign({},{id:I(),type:n.DEFAULT},e,{content:t});return o.$emit(i.ADD,s),s.id};return a.clear=()=>o.$emit(i.CLEAR),a.updateDefaults=t=>{o.$emit(i.UPDATE_DEFAULTS,t)},a.dismiss=t=>{o.$emit(i.DISMISS,t)},a.update=function(t,{content:e,options:s},n=!1){o.$emit(i.UPDATE,{id:t,options:Object.assign({},s,{content:e}),create:n})},a.success=(t,e)=>a(t,Object.assign({},e,{type:n.SUCCESS})),a.info=(t,e)=>a(t,Object.assign({},e,{type:n.INFO})),a.error=(t,e)=>a(t,Object.assign({},e,{type:n.ERROR})),a.warning=(t,e)=>a(t,Object.assign({},e,{type:n.WARNING})),a};function vt(t,e=a.a){return t instanceof e?ht(e,{eventBus:t},!1):ht(e,t,!0)}e.default=(t,e)=>{const s=vt(e,t);t.$toast=s,t.prototype.$toast=s}}}]);