/**
 * Framework7 Vue 3.0.1
 * Build full featured iOS & Android apps using Framework7 & Vue
 * http://framework7.io/vue/
 *
 * Copyright 2014-2018 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: July 10, 2018
 */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):e.Framework7Vue=t(e.Vue)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={noUndefinedProps:function(e){var t={};return Object.keys(e).forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t},isTrueProp:function(e){return!0===e||""===e},isStringProp:function(e){return"string"==typeof e&&""!==e},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},now:function(){return Date.now()},extend:function(){for(var e,n=[],o=arguments.length;o--;)n[o]=arguments[o];var s,i,a=!0;"boolean"==typeof n[0]?(a=(e=n)[0],s=e[1],n.splice(0,2),i=n):(s=n[0],n.splice(0,1),i=n);for(var r=0;r<i.length;r+=1){var l=n[r];if(void 0!==l&&null!==l)for(var c=Object.keys(Object(l)),d=0,p=c.length;d<p;d+=1){var u=c[d],f=Object.getOwnPropertyDescriptor(l,u);void 0!==f&&f.enumerable&&(a?t.isObject(s[u])&&t.isObject(l[u])?t.extend(s[u],l[u]):!t.isObject(s[u])&&t.isObject(l[u])?(s[u]={},t.extend(s[u],l[u])):s[u]=l[u]:s[u]=l[u])}}return s},flattenArray:function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var o=[];return e.forEach(function(e){Array.isArray(e)?o.push.apply(o,t.flattenArray.apply(t,e)):o.push(e)}),o},classNames:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=[];return e.forEach(function(e){"object"==typeof e&&e.constructor===Object?Object.keys(e).forEach(function(t){e[t]&&n.push(t)}):e&&n.push(e)}),n.join(" ")}},n={colorProps:{color:String,colorTheme:String,textColor:String,bgColor:String,borderColor:String,rippleColor:String,themeDark:Boolean},colorClasses:function(e){var t,n=e.color,o=e.colorTheme,s=e.textColor,i=e.bgColor,a=e.borderColor,r=e.rippleColor;return(t={"theme-dark":e.themeDark})["color-"+n]=n,t["color-theme-"+o]=o,t["text-color-"+s]=s,t["bg-color-"+i]=i,t["border-color-"+a]=a,t["ripple-color-"+r]=r,t},linkIconProps:{icon:String,iconMaterial:String,iconIon:String,iconFa:String,iconF7:String,iconIfMd:String,iconIfIos:String,iconIos:String,iconMd:String,iconColor:String,iconSize:[String,Number]},linkRouterProps:{back:Boolean,external:Boolean,force:Boolean,animate:{type:Boolean,default:void 0},ignoreCache:Boolean,pageName:String,reloadCurrent:Boolean,reloadAll:Boolean,reloadPrevious:Boolean,routeTabId:String,view:String},linkRouterAttrs:function(e){var n,o=e.force,s=e.reloadCurrent,i=e.reloadPrevious,a=e.reloadAll,r=e.animate,l=e.ignoreCache,c=e.routeTabId,d=e.view;return"animate"in e&&void 0!==r&&(n=r.toString()),{"data-force":o||void 0,"data-reload-current":s||void 0,"data-reload-all":a||void 0,"data-reload-previous":i||void 0,"data-animate":n,"data-ignore-cache":l||void 0,"data-route-tab-id":c||void 0,"data-view":t.isStringProp(d)?d:void 0}},linkRouterClasses:function(e){var t=e.back,n=e.linkBack,o=e.external;return{back:t||n,external:o}},linkActionsProps:{searchbarEnable:[Boolean,String],searchbarDisable:[Boolean,String],searchbarClear:[Boolean,String],searchbarToggle:[Boolean,String],panelOpen:[Boolean,String],panelClose:[Boolean,String],popupOpen:[Boolean,String],popupClose:[Boolean,String],actionsOpen:[Boolean,String],actionsClose:[Boolean,String],popoverOpen:[Boolean,String],popoverClose:[Boolean,String],loginScreenOpen:[Boolean,String],loginScreenClose:[Boolean,String],sheetOpen:[Boolean,String],sheetClose:[Boolean,String],sortableEnable:[Boolean,String],sortableDisable:[Boolean,String],sortableToggle:[Boolean,String]},linkActionsAttrs:function(e){var n=e.searchbarEnable,o=e.searchbarDisable,s=e.searchbarClear,i=e.searchbarToggle,a=e.panelOpen,r=e.panelClose,l=e.popupOpen,c=e.popupClose,d=e.actionsOpen,p=e.actionsClose,u=e.popoverOpen,f=e.popoverClose,h=e.loginScreenOpen,m=e.loginScreenClose,b=e.sheetOpen,g=e.sheetClose,v=e.sortableEnable,B=e.sortableDisable,S=e.sortableToggle;return{"data-searchbar":t.isStringProp(n)&&n||t.isStringProp(o)&&o||t.isStringProp(s)&&s||t.isStringProp(i)&&i||void 0,"data-panel":t.isStringProp(a)&&a||t.isStringProp(r)&&r||void 0,"data-popup":t.isStringProp(l)&&l||t.isStringProp(c)&&c||void 0,"data-actions":t.isStringProp(d)&&d||t.isStringProp(p)&&p||void 0,"data-popover":t.isStringProp(u)&&u||t.isStringProp(f)&&f||void 0,"data-sheet":t.isStringProp(b)&&b||t.isStringProp(g)&&g||void 0,"data-login-screen":t.isStringProp(h)&&h||t.isStringProp(m)&&m||void 0,"data-sortable":t.isStringProp(v)&&v||t.isStringProp(B)&&B||t.isStringProp(S)&&S||void 0}},linkActionsClasses:function(e){var n=e.searchbarEnable,o=e.searchbarDisable,s=e.searchbarClear,i=e.searchbarToggle,a=e.panelOpen,r=e.panelClose,l=e.popupOpen,c=e.popupClose,d=e.actionsClose,p=e.actionsOpen,u=e.popoverOpen,f=e.popoverClose,h=e.loginScreenOpen,m=e.loginScreenClose,b=e.sheetOpen,g=e.sheetClose,v=e.sortableEnable,B=e.sortableDisable,S=e.sortableToggle;return{"searchbar-enable":n||""===n,"searchbar-disable":o||""===o,"searchbar-clear":s||""===s,"searchbar-toggle":i||""===i,"panel-close":t.isTrueProp(r),"panel-open":a||""===a,"popup-close":t.isTrueProp(c),"popup-open":l||""===l,"actions-close":t.isTrueProp(d),"actions-open":p||""===p,"popover-close":t.isTrueProp(f),"popover-open":u||""===u,"sheet-close":t.isTrueProp(g),"sheet-open":b||""===b,"login-screen-close":t.isTrueProp(m),"login-screen-open":h||""===h,"sortable-enable":t.isTrueProp(v),"sortable-disable":t.isTrueProp(B),"sortable-toggle":!0===S||"string"==typeof S&&S.length}}};function o(e){var t={},n=e.$props;Object.keys(n).forEach(function(e){void 0!==n[e]&&(t[e]=n[e])});var o=[];return Object.keys(e.$slots).forEach(function(t){o.push.apply(o,e.$slots[t])}),t.children=o,t}var s={props:Object.assign({id:[String,Number]},n.colorProps),name:"f7-accordion-content",render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"accordion-item-content",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}};function i(e,t){for(var n=[],o=arguments.length-2;o-- >0;)n[o]=arguments[o+2];var s=e;t.split(" ").forEach(function(e){s.$emit.apply(s,[e].concat(n))})}var a={name:"f7-accordion-item",props:Object.assign({id:[String,Number],opened:Boolean},n.colorProps),mounted:function(){var e=this,t=e.$el;t&&(e.onOpenBound=e.onOpen.bind(e),e.onOpenedBound=e.onOpened.bind(e),e.onCloseBound=e.onClose.bind(e),e.onClosedBound=e.onClosed.bind(e),t.addEventListener("accordion:open",e.onOpenBound),t.addEventListener("accordion:opened",e.onOpenedBound),t.addEventListener("accordion:close",e.onCloseBound),t.addEventListener("accordion:closed",e.onClosedBound))},beforeDestroy:function(){var e=this,t=e.$el;t&&(t.removeEventListener("accordion:open",e.onOpenBound),t.removeEventListener("accordion:opened",e.onOpenedBound),t.removeEventListener("accordion:close",e.onCloseBound),t.removeEventListener("accordion:closed",e.onClosedBound))},render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id,a=o.style,r=o.opened;return e("div",{style:a,class:t.classNames(s,"accordion-item",{"accordion-item-opened":r},n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},methods:{onOpen:function(e){this.dispatchEvent("accordionOpen accordion:open",e)},onOpened:function(e){this.dispatchEvent("accordionOpened accordion:opened",e)},onClose:function(e){this.dispatchEvent("accordionClose accordion:close",e)},onClosed:function(e){this.dispatchEvent("accordionClosed accordion:closed",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},r={props:Object.assign({id:[String,Number]},n.colorProps),name:"f7-accordion-toggle",render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"accordion-item-toggle",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},l={props:Object.assign({id:[String,Number]},n.colorProps),name:"f7-accordion",render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"accordion-list",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},c={name:"f7-actions-button",props:Object.assign({id:[String,Number],bold:Boolean,close:{type:Boolean,default:!0}},n.colorProps),render:function(){var e,o=this.$createElement,s=this,i=s.props,a=i.id,r=i.className,l=i.style,c=i.bold;return s.$slots.media&&s.$slots.media.length&&(e=o("div",{class:"actions-button-media"},[this.$slots.media])),o("div",{style:l,class:t.classNames(r,{"actions-button":!0,"actions-button-bold":c},n.colorClasses(i)),ref:"el",on:{click:s.onClick.bind(s)},attrs:{id:a}},[e,o("div",{class:"actions-button-text"},[this.$slots.default])])},methods:{onClick:function(e){var t=this,n=t.$$,o=t.$refs.el;t.props.close&&t.$f7&&o&&t.$f7.actions.close(n(o).parents(".actions-modal")),t.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},d={name:"f7-actions-group",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"actions-group",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},p={name:"f7-actions-label",props:Object.assign({id:[String,Number],bold:Boolean},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id,a=o.style,r=o.bold;return e("div",{style:a,class:t.classNames(s,"actions-label",{"actions-button-bold":r},n.colorClasses(o)),on:{click:this.onClick.bind(this)},attrs:{id:i}},[this.$slots.default])},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},u={name:"f7-actions",props:Object.assign({id:[String,Number],opened:Boolean,grid:Boolean,convertToPopover:Boolean,forceToPopover:Boolean,target:[String,Object]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id,a=o.style,r=o.grid;return e("div",{style:a,ref:"el",class:t.classNames(s,"actions-modal",{"actions-grid":r},n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},watch:{"props.opened":function(e){this.f7Actions&&(e?this.f7Actions.open():this.f7Actions.close())}},mounted:function(){var e=this,t=e.$refs.el;if(t){var n=e.props,o=n.grid,s=n.target,i=n.convertToPopover,a=n.forceToPopover,r=n.opened;e.onOpenBound=e.onOpen.bind(e),e.onOpenedBound=e.onOpened.bind(e),e.onCloseBound=e.onClose.bind(e),e.onClosedBound=e.onClosed.bind(e),t.addEventListener("actions:open",e.onOpenBound),t.addEventListener("actions:opened",e.onOpenedBound),t.addEventListener("actions:close",e.onCloseBound),t.addEventListener("actions:closed",e.onClosedBound),e.$f7ready(function(){var t={el:e.$refs.el,grid:o};s&&(t.targetEl=s),void 0!==e.$options.propsData.convertToPopover&&(t.convertToPopover=i),void 0!==e.$options.propsData.forceToPopover&&(t.forceToPopover=a),e.f7Actions=e.$f7.actions.create(t),r&&e.f7Actions.open(!1)})}},beforeDestroy:function(){var e=this;e.f7Actions&&e.f7Actions.destroy();var t=e.$el;t&&(t.removeEventListener("actions:open",e.onOpenBound),t.removeEventListener("actions:opened",e.onOpenedBound),t.removeEventListener("actions:close",e.onCloseBound),t.removeEventListener("actions:closed",e.onClosedBound))},methods:{onOpen:function(e){this.dispatchEvent("actions:open actionsOpen",e)},onOpened:function(e){this.dispatchEvent("actions:opened actionsOpened",e)},onClose:function(e){this.dispatchEvent("actions:close actionsClose",e)},onClosed:function(e){this.dispatchEvent("actions:closed actionsClosed",e)},open:function(e){if(this.$f7)return this.$f7.actions.open(this.$refs.el,e)},close:function(e){if(this.$f7)return this.$f7.actions.close(this.$refs.el,e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},f={listeners:{},on:function(e,t){e.split(" ").forEach(function(e){f.listeners[e]||(f.listeners[e]=[]),f.listeners[e].push(t)})},off:function(e,t){e.split(" ").forEach(function(e){f.listeners[e]&&(void 0===t?f.listeners[e]=[]:f.listeners[e].forEach(function(n,o){n===t&&f.listeners[e].splice(o,1)}))})},once:function(e,t){"function"==typeof t&&f.on(e,function n(){for(var o=[],s=arguments.length;s--;)o[s]=arguments[s];t.apply(void 0,o),f.off(e,n)})},emit:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];e.split(" ").forEach(function(e){if(f.listeners&&f.listeners[e]){var n=[];f.listeners[e].forEach(function(e){n.push(e)}),n.forEach(function(e){e.apply(void 0,t)})}})}},h={instance:null,Framework7:null,init:function(e,n,o){void 0===n&&(n={});var s=t.extend({},n,{root:e});o&&o.length&&!s.routes&&(s.routes=o),h.instance=new h.Framework7(s),f.emit("ready",h.instance)},ready:function(e){e&&(h.instance?e(h.instance):f.once("ready",e))},routers:{views:[],tabs:[],modals:null}};function m(e,t,n){var o,s=e;o="function"==typeof t?t(s.state,s.props):t,Object.keys(o).forEach(function(e){s.$set(s.state,e,o[e])}),"function"==typeof n&&n()}var b={name:"f7-routable-modals",data:function(){return{state:{modals:[]}}},render:function(){var e=this.$createElement;return e("div",{ref:"el",class:"framework7-modals"},[this.state.modals.map(function(t){var n=t.component;return e(n,{key:t.id,props:t.props})})])},updated:function(){this.routerData&&f.emit("modalsRouterDidUpdate",this.routerData)},beforeDestroy:function(){this.routerData&&(h.routers.modals=null,this.routerData=null,delete this.routerData)},mounted:function(){var e=this,t=e.$refs.el;e.setState({modals:[]}),e.routerData={el:t,component:e},h.routers.modals=e.routerData},methods:{setState:function(e,t){m(this,e,t)}}},g={name:"f7-app",props:Object.assign({id:[String,Number],params:Object,routes:Array},n.colorProps),data:function(){o(this);return{state:{modals:[]}}},render:function(){var e=this.$createElement,o=this.props,s=o.id,i=o.style,a=o.className;return e("div",{ref:"el",style:i,class:t.classNames(a,"framework7-root",n.colorClasses(o)),attrs:{id:s||"framework7-root"}},[this.$slots.default,e(b)])},mounted:function(){var e=this.props,t=e.params;void 0===t&&(t={});var n=e.routes,o=this.$refs.el,s=o.parentNode;s&&s!==document.body&&s.parentNode===document.body&&(s.style.height="100%"),h.init(o,t,n)},computed:{props:function(){return o(this)}}},v={name:"f7-badge",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("span",{style:o.style,class:t.classNames(s,"badge",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},B={name:"f7-block-footer",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"block-footer",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},S={name:"f7-block-header",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"block-header",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},y={name:"f7-block-title",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"block-title",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},E={name:"f7-block",props:Object.assign({id:[String,Number],inset:Boolean,tabletInset:Boolean,strong:Boolean,tabs:Boolean,tab:Boolean,tabActive:Boolean,accordionList:Boolean,noHairlines:Boolean,noHairlinesMd:Boolean,noHairlinesIos:Boolean},n.colorProps),mounted:function(){var e=this.$el;e&&(this.onTabShowBound=this.onTabShow.bind(this),this.onTabHideBound=this.onTabHide.bind(this),e.addEventListener("tab:show",this.onTabShowBound),e.addEventListener("tab:hide",this.onTabHideBound))},beforeDestroy:function(){var e=this.$el;e&&(e.removeEventListener("tab:show",this.onTabShowBound),e.removeEventListener("tab:hide",this.onTabHideBound))},render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.inset,a=o.strong,r=o.accordionList,l=o.tabletInset,c=o.tabs,d=o.tab,p=o.tabActive,u=o.noHairlines,f=o.noHairlinesIos,h=o.noHairlinesMd,m=o.id;return e("div",{style:o.style,class:t.classNames(s,"block",{inset:i,"block-strong":a,"accordion-list":r,"tablet-inset":l,tabs:c,tab:d,"tab-active":p,"no-hairlines":u,"no-hairlines-md":h,"no-hairlines-ios":f},n.colorClasses(o)),attrs:{id:m}},[this.$slots.default])},methods:{onTabShow:function(e){this.dispatchEvent("tabShow tab:show",e)},onTabHide:function(e){this.dispatchEvent("tabShow tab:hide",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},k={name:"f7-icon",props:Object.assign({id:[String,Number],material:String,f7:String,ion:String,fa:String,icon:String,ifMd:String,ifIos:String,ios:String,md:String,tooltip:String,size:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,n=this.props,o=n.id,s=n.style;return e("i",{ref:"el",style:t.extend({fontSize:this.sizeComputed},s),class:this.classes,attrs:{id:o}},[this.iconTextComputed,this.$slots.default])},watch:{"props.tooltip":function(e){e&&this.f7Tooltip&&this.f7Tooltip.setText(e)}},mounted:function(){var e=this,t=e.$refs.el;if(t){var n=e.props.tooltip;n&&e.$f7ready(function(o){e.f7Tooltip=o.tooltip.create({targetEl:t,text:n})})}},beforeDestroy:function(){var e=this;e.f7Tooltip&&e.f7Tooltip.destroy&&(e.f7Tooltip.destroy(),e.f7Tooltip=null,delete e.f7Tooltip)},computed:{sizeComputed:function(){var e=this.props.size;return"number"!=typeof e&&parseFloat(e)!==1*e||(e+="px"),e},iconTextComputed:function(){var e=this.props,t=e.material,n=e.f7,o=e.ifMd,s=e.ifIos,i=e.md,a=e.ios,r=t||n,l=o||i,c=s||a;return l&&this.$theme.md&&(l.indexOf("material:")>=0||l.indexOf("f7:")>=0)?r=l.split(":")[1]:c&&this.$theme.ios&&(c.indexOf("material:")>=0||c.indexOf("f7:")>=0)&&(r=c.split(":")[1]),r},classes:function(){var e={icon:!0},o=this.props,s=o.ifMd,i=o.ifIos,a=o.material,r=o.f7,l=o.fa,c=o.ion,d=o.icon,p=o.md,u=o.ios,f=o.className,h=s||p,m=i||u;if(h||m){var b=(this.$theme.md?h:m).split(":"),g=b[0],v=b[1];"material"!==g&&"fa"!==g&&"f7"!==g||(e.fa="fa"===g,e["material-icons"]="material"===g,e["f7-icons"]="f7"===g),"fa"!==g&&"ion"!==g||(e[g+"-"+v]=!0),"icon"===g&&(e[v]=!0)}else e={icon:!0,"material-icons":a,"f7-icons":r,fa:l},c&&(e["ion-"+c]=!0),l&&(e["fa-"+l]=!0),d&&(e[d]=!0);return t.classNames(f,e,n.colorClasses(o))},props:function(){return o(this)}}};function C(e){if(!e)return e;var t="style class domProps slot key ref attrs on props".split(" ");return Object.keys(e).forEach(function(n){if("className"===n)return e.class=e.className,void delete e.className;if("dangerouslySetInnerHTML"===n)return e.domProps||(e.domProps={}),e.domProps.innerHTML=e[n],e.domProps.innerHTML&&e.domProps.innerHTML.__html&&(e.domProps.innerHTML=e.domProps.innerHTML.__html),void delete e.dangerouslySetInnerHTML;if(n.match(/^on?([A-Z])/)){e.on||(e.on={});var o=n.replace(/(^on?)([A-Z])/,function(e,t,n){return n.toLowerCase()});return e.on[o]=e[n],void delete e[n]}t.indexOf(n)>=0||(e.attrs||(e.attrs={}),e.attrs[n]||(e.attrs[n]=e[n],delete e[n]))}),e}var $={name:"f7-button",props:Object.assign({id:[String,Number],noFastclick:Boolean,noFastClick:Boolean,text:String,tabLink:[Boolean,String],tabLinkActive:Boolean,href:{type:[String,Boolean],default:"#"},target:String,round:Boolean,roundMd:Boolean,roundIos:Boolean,fill:Boolean,fillMd:Boolean,fillIos:Boolean,big:Boolean,bigMd:Boolean,bigIos:Boolean,small:Boolean,smallMd:Boolean,smallIos:Boolean,raised:Boolean,outline:Boolean,active:Boolean,disabled:Boolean,tooltip:String},n.colorProps,n.linkIconProps,n.linkRouterProps,n.linkActionsProps),render:function(){var e,t,n=this.$createElement,o=this,s=o.props,i=s.text,a=s.icon,r=s.iconMaterial,l=s.iconIon,c=s.iconFa,d=s.iconF7,p=s.iconIfMd,u=s.iconIfIos,f=s.iconMd,h=s.iconIos,m=s.iconColor,b=s.iconSize,g=s.id,v=s.style;i&&(t=n("span",[i]));var B=p||f,S=u||h;return(a||r||l||c||d||B||S)&&(e=n(k,{attrs:{material:r,ion:l,fa:c,f7:d,icon:a,md:B,ios:S,color:m,size:b}})),n("a",C(Object.assign({ref:"el",style:v,class:o.classes},o.attrs,{on:{click:o.onClick.bind(o)},attrs:{id:g}})),[e,t,this.$slots.default])},computed:{attrs:function(){var e=this.props,o=e.href,s=e.target,i=e.tabLink,a=o;return!0===o&&(a="#"),!1===o&&(a=void 0),t.extend({href:a,target:s,"data-tab":t.isStringProp(i)&&i||void 0},n.linkRouterAttrs(e),n.linkActionsAttrs(e))},classes:function(){var e=this.props,o=e.noFastclick,s=e.noFastClick,i=e.tabLink,a=e.tabLinkActive,r=e.round,l=e.roundIos,c=e.roundMd,d=e.fill,p=e.fillIos,u=e.fillMd,f=e.big,h=e.bigIos,m=e.bigMd,b=e.small,g=e.smallIos,v=e.smallMd,B=e.raised,S=e.active,y=e.outline,E=e.disabled,k=e.className;return t.classNames(k,"button",{"tab-link":i||""===i,"tab-link-active":a,"no-fastclick":o||s,"button-round":r,"button-round-ios":l,"button-round-md":c,"button-fill":d,"button-fill-ios":p,"button-fill-md":u,"button-big":f,"button-big-ios":h,"button-big-md":m,"button-small":b,"button-small-ios":g,"button-small-md":v,"button-raised":B,"button-active":S,"button-outline":y,disabled:E},n.colorClasses(e),n.linkRouterClasses(e),n.linkActionsClasses(e))},props:function(){return o(this)}},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},watch:{"props.tooltip":function(e){e&&this.f7Tooltip&&this.f7Tooltip.setText(e)}},mounted:function(){var e=this,t=e.props.tooltip;t&&e.$f7ready(function(n){e.f7Tooltip=n.tooltip.create({targetEl:e.$refs.el,text:t})})},beforeDestroy:function(){var e=this;e.f7Tooltip&&e.f7Tooltip.destroy&&(e.f7Tooltip.destroy(),e.f7Tooltip=null,delete e.f7Tooltip)}},w={name:"f7-card-content",props:Object.assign({id:[String,Number],padding:{type:Boolean,default:!0}},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.id,i=o.className,a=o.style,r=o.padding;return e("div",{style:a,class:t.classNames(i,"card-content",{"card-content-padding":r},n.colorClasses(o)),attrs:{id:s}},[this.$slots.default])},computed:{props:function(){return o(this)}}},P={name:"f7-card-footer",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"card-footer",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},N={name:"f7-card-header",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"card-header",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},O={name:"f7-card",props:Object.assign({id:[String,Number],title:[String,Number],content:[String,Number],footer:[String,Number],outline:Boolean,padding:{type:Boolean,default:!0}},n.colorProps),render:function(){var e,o,s,i=this.$createElement,a=this,r=a.props,l=r.className,c=r.id,d=r.style,p=r.title,u=r.content,f=r.footer,h=r.padding,m=r.outline,b=t.classNames(l,"card",{"card-outline":m},n.colorClasses(r));return(p||a.$slots&&a.$slots.header)&&(e=i(N,[p,this.$slots.header])),(u||a.$slots&&a.$slots.content)&&(o=i(w,{attrs:{padding:h}},[u,this.$slots.content])),(f||a.$slots&&a.$slots.footer)&&(s=i(P,[f,this.$slots.footer])),i("div",{style:d,class:b,attrs:{id:c}},[e,o,s,this.$slots.default])},computed:{props:function(){return o(this)}}},L={name:"f7-checkbox",props:Object.assign({id:[String,Number],checked:Boolean,name:[Number,String],value:[Number,String,Boolean],disabled:Boolean,readonly:Boolean,defaultChecked:Boolean},n.colorProps),render:function(){var e,t=this.$createElement,n=this.props,o=n.name,s=n.value,i=n.disabled,a=n.readonly,r=n.checked,l=(n.defaultChecked,n.id),c=n.style;e=t("input",{domProps:{value:s,disabled:i,readonly:a,checked:r},on:{change:this.onChange.bind(this)},attrs:{type:"checkbox",name:o}});var d=t("i",{class:"icon-checkbox"});return t("label",{style:c,class:this.classes,attrs:{id:l}},[e,d,this.$slots.default])},computed:{classes:function(){var e=this.props,o=e.className,s=e.disabled;return t.classNames(o,{checkbox:!0,disabled:s},n.colorClasses(e))},props:function(){return o(this)}},methods:{onChange:function(e){this.dispatchEvent("change",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}}},I={name:"f7-chip",props:Object.assign({id:[String,Number],media:String,text:[String,Number],deleteable:Boolean,mediaBgColor:String,mediaTextColor:String,outline:Boolean},n.colorProps),render:function(){var e,o,s,i=this.$createElement,a=this,r=a.props,l=r.media,c=r.text,d=r.deleteable,p=r.className,u=r.id,f=r.style,h=r.mediaTextColor,m=r.mediaBgColor,b=r.outline;(l||a.$slots&&a.$slots.media)&&(e=i("div",{class:t.classNames("chip-media",h&&"text-color-"+h,m&&"bg-color-"+m)},[l||this.$slots.media]));return(c||a.$slots&&a.$slots.text)&&(o=i("div",{class:"chip-label"},[c,this.$slots.text])),d&&(s=i("a",{class:"chip-delete",on:{click:a.onDeleteClick.bind(a)},attrs:{href:"#"}})),i("div",{style:f,class:t.classNames(p,"chip",{"chip-outline":b},n.colorClasses(r)),on:{click:a.onClick.bind(a)},attrs:{id:u}},[e,o,s])},methods:{onClick:function(e){this.dispatchEvent("click",e)},onDeleteClick:function(e){this.dispatchEvent("delete",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},x={name:"f7-col",props:Object.assign({id:[String,Number],tag:{type:String,default:"div"},width:{type:[Number,String],default:"auto"},tabletWidth:{type:[Number,String]},desktopWidth:{type:[Number,String]}},n.colorProps),render:function(){var e,o=this.$createElement,s=this.props,i=s.className,a=s.id,r=s.style,l=s.tag,c=s.width,d=s.tabletWidth,p=s.desktopWidth;return o(l,{style:r,class:t.classNames(i,((e={col:"auto"===c})["col-"+c]="auto"!==c,e["tablet-"+d]=d,e["desktop-"+p]=p,e),n.colorClasses(s)),on:{click:this.onClick.bind(this)},attrs:{id:a}},[this.$slots.default])},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},M={name:"f7-fab-button",props:Object.assign({id:[String,Number],fabClose:Boolean,label:String,target:String,tooltip:String},n.colorProps),render:function(){var e,o=this.$createElement,s=this.props,i=s.className,a=s.id,r=s.style,l=s.fabClose,c=s.label,d=s.target,p=t.classNames(i,{"fab-close":l,"fab-label-button":c},n.colorClasses(s));return c&&(e=o("span",{class:"fab-label"},[c])),o("a",{style:r,class:p,on:{click:this.onClick.bind(this)},attrs:{id:a,target:d}},[this.$slots.default,e])},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},watch:{"props.tooltip":function(e){e&&this.f7Tooltip&&this.f7Tooltip.setText(e)}},mounted:function(){var e=this,t=e.props.tooltip;t&&e.$f7ready(function(n){e.f7Tooltip=n.tooltip.create({targetEl:e.$refs.el,text:t})})},beforeDestroy:function(){var e=this;e.f7Tooltip&&e.f7Tooltip.destroy&&(e.f7Tooltip.destroy(),e.f7Tooltip=null,delete e.f7Tooltip)},computed:{props:function(){return o(this)}}},T={name:"f7-fab-buttons",props:Object.assign({id:[String,Number],position:{type:String,default:"top"}},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id,a=o.style,r=o.position;return e("div",{style:a,class:t.classNames(s,"fab-buttons","fab-buttons-"+r,n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},D={name:"f7-fab",props:Object.assign({id:[String,Number],morphTo:String,href:[Boolean,String],target:String,text:String,position:{type:String,default:"right-bottom"},tooltip:String},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id,a=o.style,r=o.morphTo,l=o.href,c=o.position,d=o.text,p=o.target,u=l;!0===u&&(u="#"),!1===u&&(u=void 0);var f,h,m=[],b=[],g=this.$slots,v=g.link,B=g.default,S=g.root,y=g.text;if(B)for(var E=0;E<B.length;E+=1){var k=B[E],C=void 0;k.tag&&k.tag.indexOf("fab-buttons")>=0&&(C=!0),C?b.push(k):m.push(k)}return(d||y&&y.length)&&(f=e("div",{class:"fab-text"},[d||y])),(m.length||v&&v.length)&&(h=e("a",{key:"f7-fab-link",on:{click:this.onClick.bind(this)},attrs:{target:p,href:u}},[m,f,v])),e("div",{style:a,class:t.classNames(s,"fab","fab-"+c,{"fab-morph":r,"fab-extended":void 0!==f},n.colorClasses(o)),attrs:{id:i,"data-morph-to":r}},[h,b,S])},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},watch:{"props.tooltip":function(e){e&&this.f7Tooltip&&this.f7Tooltip.setText(e)}},mounted:function(){var e=this,t=e.props.tooltip;t&&e.$f7ready(function(n){e.f7Tooltip=n.tooltip.create({targetEl:e.$refs.el,text:t})})},beforeDestroy:function(){var e=this;e.f7Tooltip&&e.f7Tooltip.destroy&&(e.f7Tooltip.destroy(),e.f7Tooltip=null,delete e.f7Tooltip)},computed:{props:function(){return o(this)}}},A={props:{id:[String,Number],type:{type:String,default:"circle"},value:{type:[Number,String],default:0},size:{type:[Number,String],default:200},bgColor:{type:String,default:"transparent"},borderBgColor:{type:String,default:"#eeeeee"},borderColor:{type:String,default:"#000000"},borderWidth:{type:[Number,String],default:10},valueText:[Number,String],valueTextColor:{type:String,default:"#000000"},valueFontSize:{type:[Number,String],default:31},valueFontWeight:{type:[Number,String],default:500},labelText:String,labelTextColor:{type:String,default:"#888888"},labelFontSize:{type:[Number,String],default:14},labelFontWeight:{type:[Number,String],default:400}},name:"f7-gauge",render:function(){var e=this.$createElement,n=this.props,o=n.className,s=n.id,i=n.style,a=n.type,r=n.value,l=n.size,c=n.bgColor,d=n.borderBgColor,p=n.borderColor,u=n.borderWidth,f=n.valueText,h=n.valueTextColor,m=n.valueFontSize,b=n.valueFontWeight,g=n.labelText,v=n.labelTextColor,B=n.labelFontSize,S=n.labelFontWeight,y=t.classNames(o,"gauge"),E="semicircle"===a,k=l/2-u/2,C=2*Math.PI*k,$=Math.max(Math.min(r,1),0);return e("div",{style:i,class:y,attrs:{id:s}},[e("svg",{class:"gauge-svg",attrs:{width:l+"px",height:(E?l/2:l)+"px",viewBox:"0 0 "+l+" "+(E?l/2:l)}},[E&&e("path",{class:"gauge-back-semi",attrs:{d:"M"+(l-u/2)+","+l/2+" a1,1 0 0,0 -"+(l-u)+",0",stroke:d,"stroke-width":u,fill:c||"none"}}),E&&e("path",{class:"gauge-front-semi",attrs:{d:"M"+(l-u/2)+","+l/2+" a1,1 0 0,0 -"+(l-u)+",0",stroke:p,"stroke-width":u,"stroke-dasharray":C/2,"stroke-dashoffset":C/2*($-1),fill:d?"none":c||"none"}}),!E&&d&&e("circle",{class:"gauge-back-circle",attrs:{stroke:d,"stroke-width":u,fill:c||"none",cx:l/2,cy:l/2,r:k}}),!E&&e("circle",{class:"gauge-front-circle",attrs:{transform:"rotate(-90 "+l/2+" "+l/2+")",stroke:p,"stroke-width":u,"stroke-dasharray":C,"stroke-dashoffset":C*(1-$),fill:d?"none":c||"none",cx:l/2,cy:l/2,r:k}}),f&&e("text",{class:"gauge-value-text",attrs:{x:"50%",y:E?"100%":"50%","font-weight":b,"font-size":m,fill:h,dy:E?g?-B-15:-5:0,"text-anchor":"middle","dominant-baseline":!E&&"middle"}},[f]),g&&e("text",{class:"gauge-label-text",attrs:{x:"50%",y:E?"100%":"50%","font-weight":S,"font-size":B,fill:v,dy:E?-5:f?m/2+10:0,"text-anchor":"middle","dominant-baseline":!E&&"middle"}},[g])])])},computed:{props:function(){return o(this)}}},j={name:"f7-toggle",props:Object.assign({id:[String,Number],init:{type:Boolean,default:!0},checked:Boolean,defaultChecked:Boolean,disabled:Boolean,readonly:Boolean,name:String,value:[String,Number,Array]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.disabled,a=o.id,r=o.style,l=o.name,c=o.readonly,d=o.checked,p=(o.defaultChecked,o.value);return e("label",{ref:"el",style:r,class:t.classNames("toggle",s,{disabled:i},n.colorClasses(o)),attrs:{id:a}},[e("input",{domProps:{disabled:i,readonly:c,value:p,checked:d},on:{change:this.onChange.bind(this)},attrs:{type:"checkbox",name:l}}),e("span",{class:"toggle-icon"})])},watch:{"props.checked":function(e){this.f7Toggle&&(this.f7Toggle.checked=e)}},mounted:function(){var e=this;e.props.init&&e.$f7ready(function(t){e.f7Toggle=t.toggle.create({el:e.$refs.el,on:{change:function(t){e.dispatchEvent("toggle:change toggleChange",t.checked)}}})})},beforeDestroy:function(){this.f7Toggle&&this.f7Toggle.destroy&&this.f7Toggle.$el&&this.f7Toggle.destroy()},methods:{toggle:function(){this.f7Toggle&&this.f7Toggle.toggle&&this.f7Toggle.toggle()},onChange:function(e){this.dispatchEvent("change",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},R={name:"f7-range",props:Object.assign({id:[String,Number],init:{type:Boolean,default:!0},value:{type:[Number,Array,String],default:0},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},step:{type:[Number,String],default:1},label:{type:Boolean,default:!1},dual:{type:Boolean,default:!1},name:String,inputId:String,input:Boolean,disabled:Boolean,draggableBar:{type:Boolean,default:!0}},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=this.props,i=s.id,a=s.disabled,r=s.className,l=s.style,c=s.input,d=s.inputId,p=s.name;return e("div",{ref:"el",style:l,class:t.classNames(r,"range-slider",{disabled:a},n.colorClasses(o)),attrs:{id:i}},[c&&e("input",{attrs:{type:"range",name:p,id:d}}),this.$slots.default])},watch:{"props.value":function(e){this.f7Range&&this.f7Range.setValue(e)}},mounted:function(){var e=this;e.$f7ready(function(n){if(e.props.init){var o=e.props,s=o.value,i=o.min,a=o.max,r=o.step,l=o.label,c=o.dual,d=o.draggableBar;e.f7Range=n.range.create(t.noUndefinedProps({el:e.$refs.el,value:s,min:i,max:a,step:r,label:l,dual:c,draggableBar:d,on:{change:function(t,n){e.dispatchEvent("range:change rangeChange",n)},changed:function(t,n){e.dispatchEvent("range:changed rangeChanged",n)}}}))}})},beforeDestroy:function(){this.f7Range&&this.f7Range.destroy&&this.f7Range.destroy()},methods:{setValue:function(e){this.f7Range&&this.f7Range.setValue&&this.f7Range.setValue(e)},getValue:function(){if(this.f7Range&&this.f7Range.getValue)return this.f7Range.getValue()},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},F={name:"f7-input",props:Object.assign({type:String,name:String,value:[String,Number,Array],defaultValue:[String,Number,Array],placeholder:String,id:[String,Number],inputId:[String,Number],size:[String,Number],accept:[String,Number],autocomplete:[String],autocorrect:[String],autocapitalize:[String],spellcheck:[String],autofocus:Boolean,autosave:String,checked:Boolean,disabled:Boolean,max:[String,Number],min:[String,Number],step:[String,Number],maxlength:[String,Number],minlength:[String,Number],multiple:Boolean,readonly:Boolean,required:Boolean,inputStyle:String,pattern:String,validate:[Boolean,String],tabindex:[String,Number],resizable:Boolean,clearButton:Boolean,noFormStoreData:Boolean,noStoreData:Boolean,ignoreStoreData:Boolean,errorMessage:String,errorMessageForce:Boolean,info:String,wrap:{type:Boolean,default:!0}},n.colorProps),render:function(){var e,o=this.$createElement,s=this,i=s.props,a=i.type,r=i.name,l=i.value,c=(i.defaultValue,i.placeholder),d=i.id,p=i.inputId,u=i.size,f=i.accept,h=i.autocomplete,m=i.autocorrect,b=i.autocapitalize,g=i.spellcheck,v=i.autofocus,B=i.autosave,S=i.checked,y=i.disabled,E=i.max,k=i.min,C=i.step,$=i.maxlength,w=i.minlength,P=i.multiple,N=i.readonly,O=i.required,L=i.inputStyle,I=i.pattern,x=i.validate,M=i.tabindex,T=i.resizable,D=i.clearButton,A=i.errorMessage,F=i.errorMessageForce,H=i.info,z=i.wrap,V=i.style,U=i.className,q=i.noStoreData,W=i.noFormStoreData,_=i.ignoreStoreData,G=function(e,n){var i=e,d="file"!==a,D="input"===e,j=t.classNames("textarea"===a&&T&&"resizable",!z&&U,(W||q||_)&&"no-store-data",A&&F&&"input-invalid");return o(i,{ref:"inputEl",style:L,class:j,domProps:{value:d?l:void 0,checked:S,disabled:y,readonly:N,multiple:P,required:O},on:{focus:s.onFocusBound,blur:s.onBlurBound,input:s.onInputBound,change:s.onChangeBound},attrs:{name:r,type:D?a:void 0,placeholder:c,id:p,size:u,accept:f,autocomplete:h,autocorrect:m,autocapitalize:b,spellcheck:g,autofocus:v,autoSave:B,max:E,maxlength:$,min:k,minlength:w,step:C,pattern:I,validate:"string"==typeof x&&x.length?x:void 0,"data-validate":!0===x||""===x||void 0,tabindex:M,"data-error-message":F?void 0:A}},[n])},Z=s.$slots,Q=Z.default,J=Z.info;if(e="select"===a||"textarea"===a||"file"===a?"select"===a?G("select",Q):G("file"===a?"input":"textarea"):Q&&Q.length>0||!a?Q:"toggle"===a?o(j,{on:{change:s.onChangeBound},attrs:{checked:S,readonly:N,name:r,value:l,disabled:y,id:p}}):"range"===a?o(R,{on:{rangeChange:s.onChangeBound},attrs:{value:l,disabled:y,min:k,max:E,step:C,name:r,id:p,input:!0}}):G("input"),z){var K=t.classNames(U,"item-input-wrap",n.colorClasses(i));return o("div",{ref:"wrapEl",class:K,style:V,attrs:{id:d}},[e,A&&F&&o("div",{class:"item-input-error-message"},[A]),D&&o("span",{class:"input-clear-button"}),(H||J&&J.length)&&o("div",{class:"item-input-info"},[H,this.$slots.info])])}return e},watch:{"props.value":function(){var e=this.props.type;"range"!==e&&"toggle"!==e&&this.$f7&&(this.updateInputOnDidUpdate=!0)}},created:function(){var e=this;e.onFocusBound=e.onFocus.bind(e),e.onBlurBound=e.onBlur.bind(e),e.onInputBound=e.onInput.bind(e),e.onChangeBound=e.onChange.bind(e),e.onTextareaResizeBound=e.onTextareaResize.bind(e),e.onInputNotEmptyBound=e.onInputNotEmpty.bind(e),e.onInputEmptyBound=e.onInputEmpty.bind(e),e.onInputClearBound=e.onInputClear.bind(e)},mounted:function(){var e=this;e.$f7ready(function(t){var n=e.props,o=n.validate,s=n.resizable,i=n.type,a=n.clearButton,r=n.value,l=n.defaultValue;if("range"!==i&&"toggle"!==i){var c=e.$refs.inputEl;c&&(c.addEventListener("input:notempty",e.onInputNotEmptyBound,!1),"textarea"===i&&s&&c.addEventListener("textarea:resze",e.onTextareaResizeBound,!1),a&&(c.addEventListener("input:empty",e.onInputEmptyBound,!1),c.addEventListener("input:clear",e.onInputClearBound,!1)),t.input.checkEmptyState(c),(o||""===o)&&(void 0!==r&&null!==r&&""!==r||void 0!==l&&null!==l&&""!==l)&&setTimeout(function(){t.input.validate(c)},0),s&&t.input.resizeTextarea(c))}})},updated:function(){var e=this,t=e.props,n=t.validate,o=t.resizable,s=e.$f7;if(s&&e.updateInputOnDidUpdate){var i=e.$refs.inputEl;if(!i)return;e.updateInputOnDidUpdate=!1,s.input.checkEmptyState(i),n&&s.input.validate(i),o&&s.input.resizeTextarea(i)}},beforeDestroy:function(){var e=this,t=e.props,n=t.type,o=t.resizable,s=t.clearButton;if("range"!==n&&"toggle"!==n){var i=e.$refs.inputEl;i&&(i.removeEventListener("input:notempty",e.onInputNotEmptyBound,!1),"textarea"===n&&o&&i.removeEventListener("textarea:resze",e.onTextareaResizeBound,!1),s&&(i.removeEventListener("input:empty",e.onInputEmptyBound,!1),i.removeEventListener("input:clear",e.onInputClearBound,!1)))}},methods:{onTextareaResize:function(e){this.dispatchEvent("textarea:resize textareaResize",e)},onInputNotEmpty:function(e){this.dispatchEvent("input:notempty inputNotEmpty",e)},onInputEmpty:function(e){this.dispatchEvent("input:empty inputEmpty",e)},onInputClear:function(e){this.dispatchEvent("input:clear inputClear",e)},onInput:function(e){this.dispatchEvent("input",e)},onFocus:function(e){this.dispatchEvent("focus",e)},onBlur:function(e){this.dispatchEvent("blur",e)},onChange:function(e){this.dispatchEvent("change",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},H={name:"f7-label",props:Object.assign({id:[String,Number],floating:Boolean,inline:Boolean},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.inline,i=o.id,a=o.style,r=o.className,l=o.floating;return e("div",{style:a,class:t.classNames(r,"item-title",{"item-label-inline":s,"item-label":!l,"item-floating-label":l},n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},z={name:"f7-link",props:Object.assign({id:[String,Number],noLinkClass:Boolean,noFastClick:Boolean,noFastclick:Boolean,text:String,tabLink:[Boolean,String],tabLinkActive:Boolean,tabbarLabel:Boolean,iconOnly:Boolean,badge:[String,Number],badgeColor:[String],iconBadge:[String,Number],href:{type:[String,Boolean],default:"#"},target:String,tooltip:String,smartSelect:Boolean,smartSelectParams:Object},n.colorProps,n.linkIconProps,n.linkRouterProps,n.linkActionsProps),data:function(){return{state:{isTabbarLabel:o(this).tabbarLabel}}},render:function(){var e,t,n,o,s=this.$createElement,i=this,a=i.props,r=a.text,l=a.badge,c=a.badgeColor,d=a.iconOnly,p=a.iconBadge,u=a.icon,f=a.iconColor,h=a.iconSize,m=a.iconMaterial,b=a.iconIon,g=a.iconFa,B=a.iconF7,S=a.iconIfMd,y=a.iconIfIos,E=a.iconMd,$=a.iconIos,w=a.id,P=a.style,N=i.$slots.default;r&&(l&&(n=s(v,{attrs:{color:c}},[l])),t=s("span",{class:i.state.isTabbarLabel?"tabbar-label":""},[r,n]));var O=S||E,L=y||$;return(u||m||b||g||B||O||L)&&(p&&(o=s(v,{attrs:{color:c}},[p])),e=s(k,{attrs:{material:m,f7:B,fa:g,ion:b,icon:u,md:O,ios:L,color:f,size:h}},[o])),d||!r&&N&&0===N.length||!r&&!N?i.iconOnlyComputed=!0:i.iconOnlyComputed=!1,s("a",C(Object.assign({ref:"el",style:P,class:i.classes},i.attrs,{on:{click:i.onClick.bind(i)},attrs:{id:w}})),[e,t,N])},watch:{"props.tooltip":function(e){e&&this.f7Tooltip&&this.f7Tooltip.setText(e)}},mounted:function(){var e=this,n=e.$refs.el,o=e.props,s=o.tabbarLabel,i=o.tabLink,a=o.tooltip,r=o.smartSelect,l=o.smartSelectParams,c=!1;(s||(i||""===i)&&e.$$(n).parents(".tabbar-labels").length)&&(c=!0),e.setState({isTabbarLabel:c}),e.$f7ready(function(o){if(r){var s=t.extend({el:n},l||{});e.f7SmartSelect=o.smartSelect.create(s)}a&&(e.f7Tooltip=o.tooltip.create({targetEl:n,text:a}))})},beforeDestroy:function(){var e=this;e.f7SmartSelect&&e.f7SmartSelect.destroy&&e.f7SmartSelect.destroy(),e.f7Tooltip&&e.f7Tooltip.destroy&&(e.f7Tooltip.destroy(),e.f7Tooltip=null,delete e.f7Tooltip)},computed:{attrs:function(){var e=this.props,o=e.href,s=e.target,i=e.tabLink,a=o;return!0===o&&(a="#"),!1===o&&(a=void 0),t.extend({href:a,target:s,"data-tab":t.isStringProp(i)&&i||void 0},n.linkRouterAttrs(e),n.linkActionsAttrs(e))},classes:function(){var e=this.props,o=e.noFastclick,s=e.noFastClick,i=e.tabLink,a=e.tabLinkActive,r=e.noLinkClass,l=e.smartSelect,c=e.className;return t.classNames(c,{link:!(r||this.state.isTabbarLabel),"icon-only":this.iconOnlyComputed,"tab-link":i||""===i,"tab-link-active":a,"no-fastclick":o||s,"smart-select":l},n.colorClasses(e),n.linkRouterClasses(e),n.linkActionsClasses(e))},props:function(){return o(this)}},methods:{onClick:function(e){this.props.smartSelect&&this.f7SmartSelect&&this.f7SmartSelect.open(),this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))},setState:function(e,t){m(this,e,t)}}},V={name:"f7-list-button",props:Object.assign({id:[String,Number],noFastclick:Boolean,noFastClick:Boolean,title:[String,Number],text:[String,Number],tabLink:[Boolean,String],tabLinkActive:Boolean,link:[Boolean,String],href:[Boolean,String],target:String},n.colorProps,n.linkRouterProps,n.linkActionsProps),render:function(){var e=this.$createElement,t=this.props,n=t.className,o=t.id,s=t.style,i=t.title,a=t.text;return e("li",{style:s,class:n,attrs:{id:o}},[e("a",C(Object.assign({class:this.classes},this.attrs,{on:{click:this.onClick.bind(this)}})),[this.$slots.default||[i||a]])])},computed:{attrs:function(){var e=this.props,o=e.link,s=e.href,i=e.target,a=e.tabLink;return t.extend({href:"boolean"==typeof o&&"boolean"==typeof s?"#":o||s,target:i,"data-tab":t.isStringProp(a)&&a},n.linkRouterAttrs(e),n.linkActionsAttrs(e))},classes:function(){var e=this.props,o=e.noFastclick,s=e.noFastClick,i=e.tabLink,a=e.tabLinkActive;return t.classNames({"item-link":!0,"list-button":!0,"tab-link":i||""===i,"tab-link-active":a,"no-fastclick":o||s},n.colorClasses(e),n.linkRouterClasses(e),n.linkActionsClasses(e))},props:function(){return o(this)}},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}}},U={name:"f7-list-group",props:Object.assign({id:[String,Number],mediaList:Boolean,sortable:Boolean},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id,a=o.style,r=o.mediaList,l=o.sortable;return e("div",{style:a,class:t.classNames(s,"list-group",{"media-list":r,sortable:l},n.colorClasses(o)),attrs:{id:i}},[e("ul",[this.$slots.default])])},computed:{props:function(){return o(this)}}},q={name:"f7-list-index",props:Object.assign({id:[String,Number],init:{type:Boolean,default:!0},listEl:[String,Object],indexes:{type:[String,Array],default:"auto"},scrollList:{type:Boolean,default:!0},label:{type:Boolean,default:!1},iosItemHeight:{type:Number,default:14},mdItemHeight:{type:Number,default:14}},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{ref:"el",style:o.style,class:t.classNames(s,"list-index",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},beforeDestroy:function(){this.props.init&&this.f7ListIndex&&this.f7ListIndex.destroy&&this.f7ListIndex.destroy()},mounted:function(){var e=this;e.props.init&&e.$f7ready(function(t){var n=e.$refs.el,o=e.props,s=o.listEl,i=o.indexes,a=o.iosItemHeight,r=o.mdItemHeight,l=o.scrollList,c=o.label;e.f7ListIndex=t.listIndex.create({el:n,listEl:s,indexes:i,iosItemHeight:a,mdItemHeight:r,scrollList:l,label:c,on:{select:function(t,n,o){e.dispatchEvent("listindex:select listIndexSelect",n,o)}}})})},watch:{"props.indexes":function(){this.f7ListIndex&&(this.f7ListIndex.params.indexes=this.indexes,this.update())}},methods:{update:function(){this.f7ListIndex&&this.f7ListIndex.update()},scrollListToIndex:function(e){this.f7ListIndex&&this.f7ListIndex.scrollListToIndex(e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},W={name:"f7-list-item-cell",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"item-cell",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},_={name:"f7-list-item-content",props:Object.assign({id:[String,Number],title:[String,Number],text:[String,Number],media:String,subtitle:[String,Number],header:[String,Number],footer:[String,Number],after:[String,Number],badge:[String,Number],badgeColor:String,mediaList:Boolean,mediaItem:Boolean,itemInput:Boolean,itemInputWithInfo:Boolean,inlineLabel:Boolean,checkbox:Boolean,checked:Boolean,defaultChecked:Boolean,radio:Boolean,name:String,value:[String,Number,Array],readonly:Boolean,required:Boolean,disabled:Boolean},n.colorProps),data:function(){o(this);return{state:{hasInput:!1,hasInlineLabel:!1,hasInputInfo:!1,hasInputErrorMessage:!1}}},render:function(){var e,o,s,i,a,r,l,c,d,p,u,f,h,m,b=this.$createElement,g=this,B=g.props,S=B.id,y=B.className,E=B.style,k=B.radio,C=B.checkbox,$=B.value,w=B.name,P=B.checked,N=(B.defaultChecked,B.readonly),O=B.disabled,L=B.required,I=B.media,x=B.header,M=B.footer,T=B.title,D=B.subtitle,A=B.text,j=B.after,R=B.badge,F=B.mediaList,H=B.mediaItem,z=B.badgeColor,V=B.itemInput,U=B.inlineLabel,q=B.itemInputWithInfo,W=V||g.state.hasInput,_=U||g.state.hasInlineLabel,G=q||g.state.hasInputInfo,Z=g.state.hasInputErrorMessage,Q=[],J=[],K=[],X=[],Y=[],ee=[],te=[],ne=[],oe=[],se=[],ie=[],ae=[],re=[],le=[],ce=[],de=[],pe=[],ue=g.$slots.default,fe=[];(ue&&ue.length&&ue.forEach(function(e){Array.isArray(e)?fe.push.apply(fe,e):fe.push(e)}),fe.forEach(function(e){if(void 0!==e){var t,n=e.tag;n&&n.indexOf("f7-input")>=0&&(W=!0,e.data&&e.data.info&&(G=!0),e.data&&e.data.errorMessage&&e.data.errorMessageForce&&(Z=!0)),n&&n.indexOf("f7-label")>=0&&e.data&&e.data.inline&&(_=!0),(t=e.data?e.data.slot:void 0)&&"inner"!==t||Y.push(e),"content-start"===t&&Q.push(e),"content"===t&&J.push(e),"content-end"===t&&K.push(e),"after-start"===t&&te.push(e),"after"===t&&ne.push(e),"after-end"===t&&oe.push(e),"media"===t&&se.push(e),"inner-start"===t&&X.push(e),"inner-end"===t&&ee.push(e),"before-title"===t&&ie.push(e),"title"===t&&ae.push(e),"after-title"===t&&re.push(e),"subtitle"===t&&le.push(e),"text"===t&&ce.push(e),"header"===t&&de.push(e),"footer"===t&&pe.push(e)}}),(k||C)&&(p=b("input",{domProps:{checked:P,readonly:N,disabled:O,required:L,value:$},on:{change:g.onChange.bind(g)},attrs:{name:w,type:k?"radio":"checkbox"}}),u=b("i",{class:"icon icon-"+(k?"radio":"checkbox")})),I||se.length)&&(I&&(m=b("img",{attrs:{src:I}})),d=b("div",{class:"item-media"},[m,se]));var he=H||F;return(x||de.length)&&(f=b("div",{class:"item-header"},[x,de])),(M||pe.length)&&(h=b("div",{class:"item-footer"},[M,pe])),(T||ae.length||!he&&f||!he&&h)&&(e=b("div",{class:"item-title"},[!he&&f,T,ae,!he&&h])),(D||le.length)&&(l=b("div",{class:"item-subtitle"},[D,le])),(A||ce.length)&&(c=b("div",{class:"item-text"},[A,ce])),(j||R||ne.length)&&(j&&(s=b("span",[j])),R&&(i=b(v,{attrs:{color:z}},[R])),o=b("div",{class:"item-after"},[te,s,i,ne,oe])),he?(r=b("div",{class:"item-title-row"},[ie,e,re,o]),a=b("div",{ref:"innerEl",class:"item-inner"},[X,f,r,l,c,Y,h,ee])):a=b("div",{ref:"innerEl",class:"item-inner"},[X,ie,e,re,o,Y,ee]),b(C||k?"label":"div",{ref:"el",style:E,class:t.classNames(y,"item-content",{"item-checkbox":C,"item-radio":k,"item-input":W,"inline-label":_,"item-input-with-info":G,"item-input-with-error-message":Z,"item-input-invalid":Z},n.colorClasses(B)),on:{click:g.onClick.bind(g)},attrs:{id:S}},[Q,p,u,d,a,J,K])},beforeMount:function(){this.checkHasInputState()},beforeUpdate:function(){this.checkHasInputState()},mounted:function(){var e=this,t=e.$refs.innerEl;if(t){var n=e.$$(t),o=n.children(".item-title.item-label"),s=n.children(".item-input-wrap"),i=o.hasClass("item-label-inline"),a=s.length>0,r=s.children(".item-input-info").length>0,l=s.children(".item-input-error-message").length>0;e.hasInlineLabelSet||i===e.state.hasInlineLabel||e.setState({hasInlineLabel:i}),e.hasInputSet||a===e.state.hasInput||e.setState({hasInput:a}),e.hasInputInfoSet||r===e.state.hasInputInfo||e.setState({hasInputInfo:r}),e.hasInputErrorMessageSet||l===e.state.hasInputErrorMessage||e.setState({hasInputErrorMessage:l})}},updated:function(){var e=this,t=e.$refs.innerEl;if(t){var n=e.$$(t),o=n.children(".item-title.item-label"),s=n.children(".item-input-wrap"),i=o.hasClass("item-label-inline"),a=s.length>0,r=s.children(".item-input-info").length>0,l=s.children(".item-input-error-message").length>0;i!==e.state.hasInlineLabel&&e.setState({hasInlineLabel:i}),a!==e.state.hasInput&&e.setState({hasInput:a}),r!==e.state.hasInputInfo&&e.setState({hasInputInfo:r}),e.hasInputErrorMessageSet||l===e.state.hasInputErrorMessage||e.setState({hasInputErrorMessage:l})}},methods:{checkHasInputState:function(){var e=this,t=e.props,n=t.itemInput,o=t.inlineLabel,s=t.itemInputWithInfo,i=n||e.state.hasInput,a=o||e.state.hasInlineLabel,r=s||e.state.hasInputInfo,l=e.state.hasInputErrorMessage;i&&!e.state.hasInput?(e.hasInputSet=!0,e.setState({hasInput:i})):i||(e.hasInputSet=!1),r&&!e.state.hasInputInfo?(e.hasInputInfoSet=!0,e.setState({hasInputInfo:r})):r||(e.hasInputInfoSet=!1),l&&!e.state.hasInputErrorMessage?(e.hasInputErrorMessageSet=!0,e.setState({hasInputErrorMessage:l})):r||(e.hasInputErrorMessageSet=!1),a&&!e.state.hasInlineLabel?(e.hasInlineLabelSet=!0,e.setState({hasInlineLabel:a})):a||(e.hasInlineLabelSet=!1)},onClick:function(e){this.dispatchEvent("click",e)},onChange:function(e){this.dispatchEvent("change",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))},setState:function(e,t){m(this,e,t)}},computed:{props:function(){return o(this)}}},G={name:"f7-list-item-row",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"item-row",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},Z={name:"f7-list-item",props:Object.assign({id:[String,Number],title:[String,Number],text:[String,Number],media:String,subtitle:[String,Number],header:[String,Number],footer:[String,Number],link:[Boolean,String],target:String,noFastclick:Boolean,noFastClick:Boolean,after:[String,Number],badge:[String,Number],badgeColor:String,mediaItem:Boolean,mediaList:Boolean,divider:Boolean,groupTitle:Boolean,swipeout:Boolean,swipeoutOpened:Boolean,sortable:Boolean,accordionItem:Boolean,accordionItemOpened:Boolean,smartSelect:Boolean,smartSelectParams:Object,checkbox:Boolean,radio:Boolean,checked:Boolean,defaultChecked:Boolean,name:String,value:[String,Number,Array],readonly:Boolean,required:Boolean,disabled:Boolean,itemInput:Boolean,itemInputWithInfo:Boolean,inlineLabel:Boolean},n.colorProps,n.linkRouterProps,n.linkActionsProps),data:function(){var e=o(this);return{state:{isMedia:e.mediaItem||e.mediaList,isSortable:e.sortable,isSimple:!1}}},render:function(){var e,o,s=this.$createElement,i=this,a=i.props,r=a.id,l=a.style,c=a.className,d=a.title,p=a.text,u=a.media,f=a.subtitle,h=a.header,m=a.footer,b=a.link,g=a.href,v=a.target,B=a.noFastclick,S=a.noFastClick,y=a.after,E=a.badge,k=a.badgeColor,$=a.mediaItem,w=a.mediaList,P=a.divider,N=a.groupTitle,O=a.swipeout,L=a.accordionItem,I=a.accordionItemOpened,x=a.smartSelect,M=a.checkbox,T=a.radio,D=a.checked,A=a.defaultChecked,j=a.name,R=a.value,F=a.readonly,H=a.required,z=a.disabled,V=a.itemInput,U=a.itemInputWithInfo,q=a.inlineLabel,W=a.sortable,G=$||w||i.state.isMedia,Z=W||i.state.isSortable,Q=i.state.isSimple;if(!Q&&(o=s(_,{on:!(b||g||L||x)?{click:i.onClickBound,change:i.onChangeBound}:void 0,attrs:{title:d,text:p,media:u,subtitle:f,after:y,header:h,footer:m,badge:E,badgeColor:k,mediaList:G,accordionItem:L,checkbox:M,checked:D,defaultChecked:A,radio:T,name:j,value:R,readonly:F,required:H,disabled:z,itemInput:V,itemInputWithInfo:U,inlineLabel:q}},[this.$slots["content-start"],this.$slots.content,this.$slots["content-end"],this.$slots.media,this.$slots["inner-start"],this.$slots.inner,this.$slots["inner-end"],this.$slots["after-start"],this.$slots.after,this.$slots["after-end"],this.$slots.header,this.$slots.footer,this.$slots["before-title"],this.$slots.title,this.$slots["after-title"],this.$slots.subtitle,this.$slots.text,O||L?null:i.$slots.default]),b||g||L||x)){var J=t.extend({href:!0===b||L||x?"#":b||g,target:v},n.linkRouterAttrs(a),n.linkActionsAttrs(a)),K=t.classNames({"item-link":!0,"no-fastclick":B||S,"smart-select":x},n.linkRouterClasses(a),n.linkActionsClasses(a));e=s("a",C(Object.assign({class:K},J,{on:{click:i.onClick.bind(i)}})),[o])}var X=t.classNames(c,{"item-divider":P,"list-group-title":N,"media-item":G,swipeout:O,"accordion-item":L,"accordion-item-opened":I},n.colorClasses(a));if(P||N)return s("li",{ref:"el",style:l,class:X,attrs:{id:r}},[s("span",[this.$slots.default||[d]])]);if(Q)return s("li",{ref:"el",style:l,class:X,attrs:{id:r}},[d,this.$slots.default]);var Y=b||g||x||L?e:o;return s("li",{ref:"el",style:l,class:X,attrs:{id:r}},[this.$slots["root-start"],O?s("div",{class:"swipeout-content"},[Y]):Y,Z&&s("div",{class:"sortable-handler"}),(O||L)&&i.$slots.default,this.$slots.root,this.$slots["root-end"]])},watch:{"props.swipeoutOpened":function(e){if(this.props.swipeout){var t=this.$refs.el;e?this.$f7.swipeout.open(t):this.$f7.swipeout.close(t)}}},created:function(){var e=this;e.onClickBound=e.onClick.bind(e),e.onChangeBound=e.onChange.bind(e),e.onSwipeoutOpenBound=e.onSwipeoutOpen.bind(e),e.onSwipeoutOpenedBound=e.onSwipeoutOpened.bind(e),e.onSwipeoutCloseBound=e.onSwipeoutClose.bind(e),e.onSwipeoutClosedBound=e.onSwipeoutClosed.bind(e),e.onSwipeoutDeleteBound=e.onSwipeoutDelete.bind(e),e.onSwipeoutDeletedBound=e.onSwipeoutDeleted.bind(e),e.onSwipeoutBound=e.onSwipeout.bind(e),e.onAccOpenBound=e.onAccOpen.bind(e),e.onAccOpenedBound=e.onAccOpened.bind(e),e.onAccCloseBound=e.onAccClose.bind(e),e.onAccClosedBound=e.onAccClosed.bind(e)},mounted:function(){var e=this,n=e.$refs.el;if(n){e.$listEl=e.$$(n).parents(".list, .list-group").eq(0),e.$listEl.length&&e.setState({isMedia:e.$listEl.hasClass("media-list"),isSimple:e.$listEl.hasClass("simple-list"),isSortable:e.$listEl.hasClass("sortable")});var o=e.props,s=o.swipeout,i=o.swipeoutOpened,a=o.accordionItem,r=o.smartSelect,l=o.smartSelectParams;s&&(n.addEventListener("swipeout:open",e.onSwipeoutOpenBound),n.addEventListener("swipeout:opened",e.onSwipeoutOpenedBound),n.addEventListener("swipeout:close",e.onSwipeoutCloseBound),n.addEventListener("swipeout:closed",e.onSwipeoutClosedBound),n.addEventListener("swipeout:delete",e.onSwipeoutDeleteBound),n.addEventListener("swipeout:deleted",e.onSwipeoutDeletedBound),n.addEventListener("swipeout",e.onSwipeoutBound)),a&&(n.addEventListener("accordion:open",e.onAccOpenBound),n.addEventListener("accordion:opened",e.onAccOpenedBound),n.addEventListener("accordion:close",e.onAccCloseBound),n.addEventListener("accordion:closed",e.onAccClosedBound)),e.$f7ready(function(o){if(r){var s=t.extend({el:n.querySelector("a.smart-select")},l||{});e.f7SmartSelect=o.smartSelect.create(s)}i&&o.swipeout.open(n)})}},updated:function(){var e=this,t=e.$listEl;if(t&&(!t||0!==t.length)){var n=t.hasClass("media-list"),o=t.hasClass("simple-list"),s=t.hasClass("sortable");n!==e.state.isMedia&&e.setState({isMedia:n}),o!==e.state.isSimple&&e.setState({isSimple:o}),s!==e.state.isSortable&&e.setState({isSortable:s})}},beforeDestroy:function(){var e=this,t=e.$refs.el,n=e.props,o=n.swipeout,s=n.accordionItem,i=n.smartSelect;t&&(o&&(t.removeEventListener("swipeout:open",e.onSwipeoutOpenBound),t.removeEventListener("swipeout:opened",e.onSwipeoutOpenedBound),t.removeEventListener("swipeout:close",e.onSwipeoutCloseBound),t.removeEventListener("swipeout:closed",e.onSwipeoutClosedBound),t.removeEventListener("swipeout:delete",e.onSwipeoutDeleteBound),t.removeEventListener("swipeout:deleted",e.onSwipeoutDeletedBound),t.removeEventListener("swipeout",e.onSwipeoutBound)),s&&(t.removeEventListener("accordion:open",e.onAccOpenBound),t.removeEventListener("accordion:opened",e.onAccOpenedBound),t.removeEventListener("accordion:close",e.onAccCloseBound),t.removeEventListener("accordion:closed",e.onAccClosedBound))),i&&e.f7SmartSelect&&e.f7SmartSelect.destroy()},methods:{onClick:function(e){this.props.smartSelect&&this.f7SmartSelect&&this.f7SmartSelect.open(),"input"!==e.target.tagName.toLowerCase()&&this.dispatchEvent("click",e)},onSwipeoutDeleted:function(e){this.dispatchEvent("swipeout:deleted swipeoutDeleted",e)},onSwipeoutDelete:function(e){this.dispatchEvent("swipeout:delete swipeoutDelete",e)},onSwipeoutClose:function(e){this.dispatchEvent("swipeout:close swipeoutClose",e)},onSwipeoutClosed:function(e){this.dispatchEvent("swipeout:closed swipeoutClosed",e)},onSwipeoutOpen:function(e){this.dispatchEvent("swipeout:open swipeoutOpen",e)},onSwipeoutOpened:function(e){this.dispatchEvent("swipeout:opened swipeoutOpened",e)},onSwipeout:function(e){this.dispatchEvent("swipeout",e)},onAccClose:function(e){this.dispatchEvent("accordion:close accordionClose",e)},onAccClosed:function(e){this.dispatchEvent("accordion:closed accordionClosed",e)},onAccOpen:function(e){this.dispatchEvent("accordion:open accordionOpen",e)},onAccOpened:function(e){this.dispatchEvent("accordion:opened accordionOpened",e)},onChange:function(e){this.dispatchEvent("change",e)},onInput:function(e){this.dispatchEvent("input",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))},setState:function(e,t){m(this,e,t)}},computed:{props:function(){return o(this)}}},Q={name:"f7-list",props:Object.assign({id:[String,Number],inset:Boolean,tabletInset:Boolean,mediaList:Boolean,sortable:Boolean,sortableEnabled:Boolean,accordionList:Boolean,contactsList:Boolean,simpleList:Boolean,linksList:Boolean,noHairlines:Boolean,noHairlinesBetween:Boolean,noHairlinesMd:Boolean,noHairlinesBetweenMd:Boolean,noHairlinesIos:Boolean,noHairlinesBetweenIos:Boolean,tab:Boolean,tabActive:Boolean,form:Boolean,formStoreData:Boolean,inlineLabels:Boolean,virtualList:Boolean,virtualListParams:Object},n.colorProps),render:function(){var e=this.$createElement,n=this,o=n.props,s=o.id,i=o.style,a=o.form,r=n.$slots,l=r.list,c=r.default,d=[],p=[],u=l||[],f=!1;t.flattenArray(c).forEach(function(e){var t;void 0!==e&&((t=e.tag)&&!("li"===t||"F7ListItem"===t||"F7ListButton"===t||t.indexOf("list-item")>=0||t.indexOf("list-button")>=0||t.indexOf("f7-list-item")>=0||t.indexOf("f7-list-button")>=0)?f?p.push(e):d.push(e):t&&(f=!0,u.push(e)))});var h=a?"form":"div";return u.length>0?e(h,{ref:"el",style:i,class:n.classes,attrs:{id:s}},[n.$slots["before-list"],d,e("ul",[u]),n.$slots["after-list"],p]):e(h,{ref:"el",style:i,class:n.classes,attrs:{id:s}},[n.$slots["before-list"],d,n.$slots["after-list"],p])},computed:{classes:function(){var e=this.props,o=e.inset,s=e.tabletInset,i=e.mediaList,a=e.simpleList,r=e.linksList,l=e.sortable,c=e.accordionList,d=e.contactsList,p=e.virtualList,u=e.sortableEnabled,f=e.tab,h=e.tabActive,m=e.noHairlines,b=e.noHairlinesIos,g=e.noHairlinesMd,v=e.noHairlinesBetween,B=e.noHairlinesBetweenIos,S=e.noHairlinesBetweenMd,y=e.formStoreData,E=e.inlineLabels,k=e.className;return t.classNames(k,"list",{inset:o,"tablet-inset":s,"media-list":i,"simple-list":a,"links-list":r,sortable:l,"accordion-list":c,"contacts-list":d,"virtual-list":p,"sortable-enabled":u,tab:f,"tab-active":h,"no-hairlines":m,"no-hairlines-between":v,"no-hairlines-md":g,"no-hairlines-between-md":S,"no-hairlines-ios":b,"no-hairlines-between-ios":B,"form-store-data":y,"inline-labels":E},n.colorClasses(e))},props:function(){return o(this)}},beforeDestroy:function(){var e=this,t=e.$refs.el;t&&(t.removeEventListener("sortable:enable",e.onSortableEnableBound),t.removeEventListener("sortable:disable",e.onSortableDisableBound),t.removeEventListener("sortable:sort",e.onSortableSortBound),t.removeEventListener("tab:show",e.onTabShowBound),t.removeEventListener("tab:hide",e.onTabHideBound)),e.virtualList&&e.f7VirtualList&&e.f7VirtualList.destroy&&e.f7VirtualList.destroy()},mounted:function(){var e=this,n=e.$refs.el,o=e.props,s=o.virtualList,i=o.virtualListParams;n&&(e.onSortableEnableBound=e.onSortableEnable.bind(e),e.onSortableDisableBound=e.onSortableDisable.bind(e),e.onSortableSortBound=e.onSortableSort.bind(e),e.onTabShowBound=e.onTabShow.bind(e),e.onTabHideBound=e.onTabHide.bind(e),n.addEventListener("sortable:enable",e.onSortableEnableBound),n.addEventListener("sortable:disable",e.onSortableDisableBound),n.addEventListener("sortable:sort",e.onSortableSortBound),n.addEventListener("tab:show",e.onTabShowBound),n.addEventListener("tab:hide",e.onTabHideBound)),s&&e.$f7ready(function(o){var s=(0,e.$$)(n).find("script"),a=s.html();!a&&s.length>0&&(a=s[0].outerHTML,a=/\<script type="text\/template7"\>(.*)<\/script>/.exec(a)[1]);var r=i||{};(a||r.renderItem||r.itemTemplate||r.renderExternal)&&(a&&(a=e.$t7.compile(a)),e.f7VirtualList=o.virtualList.create(t.extend({el:n,itemTemplate:a,on:{itemBeforeInsert:function(t,n){e.dispatchEvent("virtual:itembeforeinsert virtualItemBeforeInsert",this,t,n)},beforeClear:function(t){e.dispatchEvent("virtual:beforeclear virtualBeforeClear",this,t)},itemsBeforeInsert:function(t){e.dispatchEvent("virtual:itemsbeforeinsert virtualItemsBeforeInsert",this,t)},itemsAfterInsert:function(t){e.dispatchEvent("virtual:itemsafterinsert virtualItemsAfterInsert",this,t)}}},r)))})},methods:{onSortableEnable:function(e){this.dispatchEvent("sortable:enable sortableEnable",e)},onSortableDisable:function(e){this.dispatchEvent("sortable:disable sortableDisable",e)},onSortableSort:function(e){this.dispatchEvent("sortable:sort sortableSort",e,e.detail)},onTabShow:function(e){this.dispatchEvent("tab:show tabShow",e)},onTabHide:function(e){this.dispatchEvent("tab:hide tabHide",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}}},J={name:"f7-login-screen-title",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"login-screen-title",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},K={name:"f7-login-screen",props:Object.assign({id:[String,Number],opened:Boolean},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{ref:"el",style:o.style,class:t.classNames(s,"login-screen",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},watch:{"props.opened":function(e){this.f7LoginScreen&&(e?this.f7LoginScreen.open():this.f7LoginScreen.close())}},mounted:function(){var e=this,t=e.$refs.el;t&&(e.onOpenBound=e.onOpen.bind(e),e.onOpenedBound=e.onOpened.bind(e),e.onCloseBound=e.onClose.bind(e),e.onClosedBound=e.onClosed.bind(e),t.addEventListener("loginscreen:open",e.onOpenBound),t.addEventListener("loginscreen:opened",e.onOpenedBound),t.addEventListener("loginscreen:close",e.onCloseBound),t.addEventListener("loginscreen:closed",e.onClosedBound),e.$f7ready(function(){e.f7LoginScreen=e.$f7.loginScreen.create({el:t}),e.props.opened&&e.f7LoginScreen.open(!1)}))},beforeDestroy:function(){var e=this,t=e.$refs.el;e.f7LoginScreen&&e.f7LoginScreen.destroy(),t&&(t.removeEventListener("loginscreen:open",e.onOpenBound),t.removeEventListener("loginscreen:opened",e.onOpenedBound),t.removeEventListener("loginscreen:close",e.onCloseBound),t.removeEventListener("loginscreen:closed",e.onClosedBound))},methods:{onOpen:function(e){this.dispatchEvent("loginscreen:open loginScreenOpen",e)},onOpened:function(e){this.dispatchEvent("loginscreen:opened loginScreenOpened",e)},onClose:function(e){this.dispatchEvent("loginscreen:close loginScreenClose",e)},onClosed:function(e){this.dispatchEvent("loginscreen:closed loginScreenClosed",e)},open:function(e){var t=this.$refs.el;if(this.$f7&&t)return this.$f7.loginScreen.open(t,e)},close:function(e){var t=this.$refs.el;if(this.$f7&&t)return this.$f7.loginScreen.close(t,e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},X={name:"f7-message",props:Object.assign({id:[String,Number],text:String,name:String,avatar:String,type:{type:String,default:"sent"},image:String,header:String,footer:String,textHeader:String,textFooter:String,first:Boolean,last:Boolean,tail:Boolean,sameName:Boolean,sameHeader:Boolean,sameFooter:Boolean,sameAvatar:Boolean,typing:Boolean},n.colorProps),created:function(){this.onClickBound=this.onClick.bind(this),this.onNameClickBound=this.onNameClick.bind(this),this.onTextClickBound=this.onTextClick.bind(this),this.onAvatarClickBound=this.onAvatarClick.bind(this),this.onHeaderClickBound=this.onHeaderClick.bind(this),this.onFooterClickBound=this.onFooterClick.bind(this),this.onBubbleClickBound=this.onBubbleClick.bind(this)},render:function(){var e=this.$createElement,t=this,n=t.props,o=n.text,s=n.name,i=n.avatar,a=n.image,r=n.header,l=n.footer,c=n.textHeader,d=n.textFooter,p=n.typing,u=n.id,f=n.style,h=t.$slots,m=h.start,b=h.end,g=h.default,v=h["content-start"],B=h["content-end"],S=h.avatar,y=h.name,E=h.header,k=h.footer,C=h.image,$=h.text,w=h["text-header"],P=h["text-footer"],N=h["bubble-start"],O=h["bubble-end"];return e("div",{style:f,class:t.classes,on:{click:t.onClickBound},attrs:{id:u}},[m,(i||S)&&e("div",{class:"message-avatar",style:{backgroundImage:i&&"url("+i+")"},on:{click:t.onAvatarClickBound}},[S]),e("div",{class:"message-content"},[v,(y||s)&&e("div",{class:"message-name",on:{click:t.onNameClickBound}},[y||s]),(E||r)&&e("div",{class:"message-header",on:{click:t.onHeaderClickBound}},[E||r]),e("div",{class:"message-bubble",on:{click:t.onBubbleClickBound}},[N,(C||a)&&e("div",{class:"message-image"},[C||e("img",{attrs:{src:a}})]),(w||c)&&e("div",{class:"message-text-header"},[w||c]),($||o||p)&&e("div",{class:"message-text",on:{click:t.onTextClickBound}},[$||o,p&&e("div",{class:"message-typing-indicator"},[e("div"),e("div"),e("div")])]),(P||d)&&e("div",{class:"message-text-footer"},[P||d]),O,g]),(k||l)&&e("div",{class:"message-footer",on:{click:t.onFooterClickBound}},[k||l]),B]),b])},computed:{classes:function(){var e=this.props,o=e.type,s=e.typing,i=e.first,a=e.last,r=e.tail,l=e.sameName,c=e.sameHeader,d=e.sameFooter,p=e.sameAvatar,u=e.className;return t.classNames(u,"message",{"message-sent":"sent"===o,"message-received":"received"===o,"message-typing":s,"message-first":i,"message-last":a,"message-tail":r,"message-same-name":l,"message-same-header":c,"message-same-footer":d,"message-same-avatar":p},n.colorClasses(e))},props:function(){return o(this)}},methods:{onClick:function(e){this.dispatchEvent("click",e)},onNameClick:function(e){this.dispatchEvent("click:name clickName",e)},onTextClick:function(e){this.dispatchEvent("click:text clickText",e)},onAvatarClick:function(e){this.dispatchEvent("click:avatar clickAvatar",e)},onHeaderClick:function(e){this.dispatchEvent("click:header clickHeader",e)},onFooterClick:function(e){this.dispatchEvent("click:footer clickFooter",e)},onBubbleClick:function(e){this.dispatchEvent("click:bubble clickBubble",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}}},Y={name:"f7-messagebar-attachment",props:Object.assign({id:[String,Number],image:String,deletable:{type:Boolean,default:!0}},n.colorProps),created:function(){this.onClickBound=this.onClick.bind(this),this.onDeleteClickBound=this.onDeleteClick.bind(this)},render:function(){var e=this.$createElement,o=this.props,s=o.deletable,i=o.image,a=o.className,r=o.id;return e("div",{style:o.style,class:t.classNames(a,"messagebar-attachment",n.colorClasses(o)),on:{click:this.onClickBound},attrs:{id:r}},[i&&e("img",{attrs:{src:i}}),s&&e("span",{class:"messagebar-attachment-delete",on:{click:this.onDeleteClickBound}}),this.$slots.default])},methods:{onClick:function(e){this.dispatchEvent("attachment:click attachmentClick",e)},onDeleteClick:function(e){this.dispatchEvent("attachment:delete attachmentDelete",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},ee={name:"f7-messagebar-attachments",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"messagebar-attachments",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},te={name:"f7-messagebar-sheet-image",props:Object.assign({id:[String,Number],image:String,checked:Boolean},n.colorProps),created:function(){this.onChangeBound=this.onChange.bind(this)},render:function(){var e=this.$createElement,o=this.props,s=o.image,i=o.checked,a=o.id,r=o.className,l=o.style;return e("label",{class:t.classNames(r,"messagebar-sheet-image","checkbox",n.colorClasses(o)),style:t.extend({backgroundImage:s&&"url("+s+")"},l||{}),attrs:{id:a}},[e("input",{domProps:{checked:i},on:{change:this.onChangeBound},attrs:{type:"checkbox"}}),e("i",{class:"icon icon-checkbox"}),this.$slots.default])},methods:{onChange:function(e){this.props.checked?this.dispatchEvent("checked",e):this.dispatchEvent("unchecked",e),this.dispatchEvent("change",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},ne={name:"f7-messagebar-sheet-item",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"messagebar-sheet-item",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},oe={name:"f7-messagebar-sheet",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"messagebar-sheet",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},se={name:"f7-messagebar",props:Object.assign({id:[String,Number],sheetVisible:Boolean,attachmentsVisible:Boolean,top:Boolean,resizable:{type:Boolean,default:!0},bottomOffset:{type:Number,default:0},topOffset:{type:Number,default:0},maxHeight:Number,resizePage:Boolean,sendLink:String,value:[String,Number,Array],disabled:Boolean,readonly:Boolean,name:String,placeholder:{type:String,default:"Message"},init:{type:Boolean,default:!0}},n.colorProps),created:function(){this.onChangeBound=this.onChange.bind(this),this.onInputBound=this.onInput.bind(this),this.onFocusBound=this.onFocus.bind(this),this.onBlurBound=this.onBlur.bind(this),this.onClickBound=this.onClick.bind(this),this.onDeleteAttachmentBound=this.onDeleteAttachment.bind(this),this.onClickAttachmentBound=this.onClickAttachment.bind(this),this.onResizePageBound=this.onResizePage.bind(this)},render:function(){var e,t,n=this.$createElement,o=this,s=o.props,i=s.placeholder,a=s.disabled,r=s.name,l=s.readonly,c=s.resizable,d=s.value,p=s.sendLink,u=s.id,f=s.style,h=o.$slots,m=h.default,b=h["before-inner"],g=h["after-inner"],v=h["send-link"],B=h["inner-start"],S=h["inner-end"],y=h["before-area"],E=h["after-area"],k=[];return m&&m.forEach(function(n){var o;void 0!==n&&((o=n.tag)&&(o.indexOf("messagebar-attachments")>=0||"F7MessagebarAttachments"===o||"f7-messagebar-attachments"===o)?e=n:o&&(o.indexOf("messagebar-sheet")>=0||"F7MessagebarSheet"===o||"f7-messagebar-sheet"===o)?t=n:k.push(n))}),n("div",{ref:"el",style:f,class:o.classes,attrs:{id:u}},[b,n("div",{class:"toolbar-inner"},[B,n("div",{class:"messagebar-area"},[y,e,n(F,{ref:"area",on:{input:o.onInputBound,change:o.onChangeBound,focus:o.onFocusBound,blur:o.onBlurBound},attrs:{type:"textarea",wrap:!1,placeholder:i,disabled:a,name:r,readonly:l,resizable:c,value:d}}),E]),(p&&p.length>0||v)&&n(z,{on:{click:o.onClickBound}},[v||p]),S,k]),g,t])},computed:{classes:function(){var e=this.props,o=e.className,s=e.attachmentsVisible,i=e.sheetVisible;return t.classNames(o,"toolbar","messagebar",{"messagebar-attachments-visible":s,"messagebar-sheet-visible":i},n.colorClasses(e))},props:function(){return o(this)}},watch:{"props.sheetVisible":function(){this.props.resizable&&this.f7Messagebar&&(this.updateSheetVisible=!0)},"props.attachmentsVisible":function(){this.props.resizable&&this.f7Messagebar&&(this.updateAttachmentsVisible=!0)}},mounted:function(){var e=this,n=e.props,o=n.init,s=n.top,i=n.resizePage,a=n.bottomOffset,r=n.topOffset,l=n.maxHeight;if(o){var c=e.$refs.el;if(c){c.addEventListener("messagebar:attachmentdelete",e.onDeleteAttachmentBound),c.addEventListener("messagebar:attachmentclick",e.onClickAttachmentBound),c.addEventListener("messagebar:resizepage",e.onResizePageBound);var d=t.noUndefinedProps({el:c,top:s,resizePage:i,bottomOffset:a,topOffset:r,maxHeight:l});e.$f7ready(function(){e.f7Messagebar=e.$f7.messagebar.create(d)})}}},updated:function(){var e=this;if(e.f7Messagebar){var t=e.props,n=t.sheetVisible,o=t.attachmentsVisible;e.updateSheetVisible&&(e.updateSheetVisible=!1,e.f7Messagebar.sheetVisible=n,e.f7Messagebar.resizePage()),e.updateAttachmentsVisible&&(e.updateAttachmentsVisible=!1,e.f7Messagebar.attachmentsVisible=o,e.f7Messagebar.resizePage())}},beforeDestroy:function(){var e=this;e.f7Messagebar&&e.f7Messagebar.destroy&&e.f7Messagebar.destroy();var t=e.$refs.el;t&&(t.removeEventListener("messagebar:attachmentdelete",e.onDeleteAttachmentBound),t.removeEventListener("messagebar:attachmentclick",e.onClickAttachmentBound),t.removeEventListener("messagebar:resizepage",e.onResizePageBound))},methods:{clear:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messagebar)return(e=this.f7Messagebar).clear.apply(e,t)},getValue:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messagebar)return(e=this.f7Messagebar).getValue.apply(e,t)},setValue:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messagebar)return(e=this.f7Messagebar).setValue.apply(e,t)},setPlaceholder:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messagebar)return(e=this.f7Messagebar).setPlaceholder.apply(e,t)},resize:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messagebar)return(e=this.f7Messagebar).resizePage.apply(e,t)},focus:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messagebar)return(e=this.f7Messagebar).focus.apply(e,t)},blur:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messagebar)return(e=this.f7Messagebar).blur.apply(e,t)},attachmentsShow:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messagebar)return(e=this.f7Messagebar).attachmentsShow.apply(e,t)},attachmentsHide:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messagebar)return(e=this.f7Messagebar).attachmentsHide.apply(e,t)},attachmentsToggle:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messagebar)return(e=this.f7Messagebar).attachmentsToggle.apply(e,t)},sheetShow:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messagebar)return(e=this.f7Messagebar).sheetShow.apply(e,t)},sheetHide:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messagebar)return(e=this.f7Messagebar).sheetHide.apply(e,t)},sheetToggle:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messagebar)return(e=this.f7Messagebar).sheetToggle.apply(e,t)},onChange:function(e){this.dispatchEvent("change",e)},onInput:function(e){this.dispatchEvent("input",e)},onFocus:function(e){this.dispatchEvent("focus",e)},onBlur:function(e){this.dispatchEvent("blur",e)},onClick:function(e){var t=this,n=t.$refs.area.refs.inputEl.value,o=t.f7Messagebar?function(){t.f7Messagebar.clear()}:function(){};this.dispatchEvent("submit",n,o),this.dispatchEvent("send",n,o),this.dispatchEvent("click",e)},onDeleteAttachment:function(e){this.dispatchEvent("messagebar:attachmentdelete messagebarAttachmentDelete",e)},onClickAttachment:function(e){this.dispatchEvent("messagebar:attachmentclick messagebarAttachmentClick",e)},onResizePage:function(e){this.dispatchEvent("messagebar:resizepage messagebarResizePage",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}}},ie={name:"f7-messages-title",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"messages-title",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},ae={name:"f7-messages",props:Object.assign({id:[String,Number],autoLayout:{type:Boolean,default:!1},messages:{type:Array,default:function(){return[]}},newMessagesFirst:{type:Boolean,default:!1},scrollMessages:{type:Boolean,default:!0},scrollMessagesOnEdge:{type:Boolean,default:!0},firstMessageRule:Function,lastMessageRule:Function,tailMessageRule:Function,sameNameMessageRule:Function,sameHeaderMessageRule:Function,sameFooterMessageRule:Function,sameAvatarMessageRule:Function,customClassMessageRule:Function,renderMessage:Function,init:{type:Boolean,default:!0}},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.id,i=o.style,a=o.className;return e("div",{ref:"el",style:i,class:t.classNames(a,"messages",n.colorClasses(o)),attrs:{id:s}},[this.$slots.default])},beforeUpdate:function(){if(this.props.init){var e=this.$refs.el;if(e){var t=e.children;if(t)for(var n=0;n<t.length;n+=1)t[n].classList.add("message-appeared")}}},updated:function(){var e=this,t=e.props,n=t.init,o=t.autoLayout,s=t.scrollMessages;if(n){var i=e.$refs.el;if(i){var a=i.children;if(a){for(var r=0;r<a.length;r+=1)a[r].classList.contains("message-appeared")||a[r].classList.add("message-appear-from-bottom");e.f7Messages&&e.f7Messages.layout&&o&&e.f7Messages.layout(),e.f7Messages&&e.f7Messages.scroll&&s&&e.f7Messages.scroll()}}}},mounted:function(){var e=this,n=e.props,o=n.init,s=n.autoLayout,i=n.messages,a=n.newMessagesFirst,r=n.scrollMessages,l=n.scrollMessagesOnEdge,c=n.firstMessageRule,d=n.lastMessageRule,p=n.tailMessageRule,u=n.sameNameMessageRule,f=n.sameHeaderMessageRule,h=n.sameFooterMessageRule,m=n.sameAvatarMessageRule,b=n.customClassMessageRule,g=n.renderMessage;o&&e.$f7ready(function(n){e.f7Messages=n.messages.create(t.noUndefinedProps({el:e.$refs.el,autoLayout:s,messages:i,newMessagesFirst:a,scrollMessages:r,scrollMessagesOnEdge:l,firstMessageRule:c,lastMessageRule:d,tailMessageRule:p,sameNameMessageRule:u,sameHeaderMessageRule:f,sameFooterMessageRule:h,sameAvatarMessageRule:m,customClassMessageRule:b,renderMessage:g}))})},beforeDestroy:function(){this.f7Messages&&this.f7Messages.destroy&&this.f7Messages.destroy()},methods:{renderMessages:function(e,t){if(this.f7Messages)return this.f7Messages.renderMessages(e,t)},layout:function(){if(this.f7Messages)return this.f7Messages.layout()},scroll:function(e,t){if(this.f7Messages)return this.f7Messages.scroll(e,t)},clear:function(){if(this.f7Messages)return this.f7Messages.clear()},removeMessage:function(e,t){if(this.f7Messages)return this.f7Messages.removeMessage(e,t)},removeMessages:function(e,t){if(this.f7Messages)return this.f7Messages.removeMessages(e,t)},addMessage:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messages)return(e=this.f7Messages).addMessage.apply(e,t)},addMessages:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];if(this.f7Messages)return(e=this.f7Messages).addMessages.apply(e,t)},showTyping:function(e){if(this.f7Messages)return this.f7Messages.showTyping(e)},hideTyping:function(){if(this.f7Messages)return this.f7Messages.hideTyping()},destroy:function(){if(this.f7Messages)return this.f7Messages.destroy()}},computed:{props:function(){return o(this)}}},re={name:"f7-nav-left",props:Object.assign({id:[String,Number],backLink:[Boolean,String],backLinkUrl:String,backLinkForce:Boolean,sliding:Boolean},n.colorProps),render:function(){var e,o=this.$createElement,s=this.props,i=s.backLink,a=s.backLinkUrl,r=s.backLinkForce,l=s.sliding,c=s.className,d=s.style,p=s.id;return i&&(e=o(z,{class:!0===i||i&&this.$theme.md?"icon-only":void 0,on:{click:this.onBackClick.bind(this)},attrs:{href:a||"#",back:!0,icon:"icon-back",force:r||void 0,text:!0===i||this.$theme.md?void 0:i}})),o("div",{style:d,class:t.classNames(c,"left",{sliding:l},n.colorClasses(s)),attrs:{id:p}},[e,this.$slots.default])},methods:{onBackClick:function(e){this.dispatchEvent("back-click backClick click:back clickBack",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},le={name:"f7-nav-right",props:Object.assign({id:[String,Number],sliding:Boolean},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id,a=o.style,r=o.sliding;return e("div",{style:a,class:t.classNames(s,"right",{sliding:r},n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},ce={name:"f7-nav-title",props:Object.assign({id:[String,Number],title:String,subtitle:String,sliding:Boolean},n.colorProps),render:function(){var e,o=this.$createElement,s=this.props,i=s.title,a=s.subtitle,r=s.id,l=s.style,c=s.sliding,d=s.className;return this.subtitle&&(e=o("span",{class:"subtitle"},[a])),o("div",{style:l,class:t.classNames(d,"title",{sliding:c},n.colorClasses(s)),attrs:{id:r}},[this.$slots.default||[i,e]])},computed:{props:function(){return o(this)}}},de={name:"f7-navbar",props:Object.assign({id:[String,Number],backLink:[Boolean,String],backLinkUrl:String,backLinkForce:Boolean,sliding:{type:Boolean,default:!0},title:String,subtitle:String,hidden:Boolean,noShadow:Boolean,noHairline:Boolean,inner:{type:Boolean,default:!0}},n.colorProps),render:function(){var e,o,s,i=this.$createElement,a=this.props,r=a.backLink,l=a.backLinkUrl,c=a.backLinkForce,d=a.sliding,p=a.title,u=a.subtitle,f=a.inner,h=a.className,m=a.id,b=a.style,g=a.hidden,v=a.noShadow,B=a.noHairline;return f&&(r&&(o=i(re,{on:{backClick:this.onBackClick.bind(this)},attrs:{backLink:r,backLinkUrl:l,backLinkForce:c}})),(p||u)&&(s=i(ce,{attrs:{title:p,subtitle:u}})),e=i("div",{ref:"inner",class:t.classNames("navbar-inner",{sliding:d})},[o,s,this.$slots.default])),i("div",{ref:"el",style:b,class:t.classNames(h,"navbar",{"navbar-hidden":g,"no-shadow":v,"no-hairline":B},n.colorClasses(a)),attrs:{id:m}},[this.$slots["before-inner"],e,this.$slots["after-inner"]])},updated:function(){var e=this;if(e.$f7){var t=e.$refs.el;t&&t.children&&t.children.length?e.$f7.navbar.size(t):e.$refs.inner&&e.$f7.navbar.size(e.$refs.inner)}},methods:{hide:function(e){this.$f7&&this.$f7.navbar.hide(this.$refs.el,e)},show:function(e){this.$f7&&this.$f7.navbar.show(this.$refs.el,e)},size:function(){this.$f7&&this.$f7.navbar.size(this.$refs.el)},onBackClick:function(e){this.dispatchEvent("back-click backClick click:back clickBack",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},pe={name:"f7-page-content",props:Object.assign({id:[String,Number],tab:Boolean,tabActive:Boolean,ptr:Boolean,ptrDistance:Number,ptrPreloader:{type:Boolean,default:!0},infinite:Boolean,infiniteTop:Boolean,infiniteDistance:Number,infinitePreloader:{type:Boolean,default:!0},hideBarsOnScroll:Boolean,hideNavbarOnScroll:Boolean,hideToolbarOnScroll:Boolean,messagesContent:Boolean,loginScreen:Boolean},n.colorProps),render:function(){var e,t,n=this.$createElement,o=this.props,s=o.ptr,i=o.ptrPreloader,a=o.infinite,r=o.infinitePreloader,l=o.id,c=o.style,d=o.ptrDistance,p=o.infiniteDistance,u=o.infiniteTop;return s&&i&&(e=n("div",{class:"ptr-preloader"},[n("div",{class:"preloader"}),n("div",{class:"ptr-arrow"})])),a&&r&&(t=n("div",{class:"preloader infinite-scroll-preloader"})),n("div",{style:c,class:this.classes,ref:"el",attrs:{id:l,"data-ptr-distance":d||void 0,"data-infinite-distance":p||void 0}},[e,u?t:this.$slots.default,u?this.$slots.default:t])},computed:{classes:function(){var e=this.props,o=e.className,s=e.tab,i=e.tabActive,a=e.ptr,r=e.infinite,l=e.infiniteTop,c=e.hideBarsOnScroll,d=e.hideNavbarOnScroll,p=e.hideToolbarOnScroll,u=e.messagesContent,f=e.loginScreen;return t.classNames(o,"page-content",{tab:s,"tab-active":i,"ptr-content":a,"infinite-scroll-content":r,"infinite-scroll-top":l,"hide-bars-on-scroll":c,"hide-navbar-on-scroll":d,"hide-toolbar-on-scroll":p,"messages-content":u,"login-screen-content":f},n.colorClasses(e))},props:function(){return o(this)}},mounted:function(){var e=this,t=e.$refs.el,n=e.props,o=n.ptr,s=n.infinite,i=n.tab;e.onPtrPullStart=e.onPtrPullStart.bind(e),e.onPtrPullMove=e.onPtrPullMove.bind(e),e.onPtrPullEnd=e.onPtrPullEnd.bind(e),e.onPtrRefresh=e.onPtrRefresh.bind(e),e.onPtrDone=e.onPtrDone.bind(e),e.onInfinite=e.onInfinite.bind(e),e.onTabShow=e.onTabShow.bind(e),e.onTabHide=e.onTabHide.bind(e),o&&(t.addEventListener("ptr:pullstart",e.onPtrPullStart),t.addEventListener("ptr:pullmove",e.onPtrPullMove),t.addEventListener("ptr:pullend",e.onPtrPullEnd),t.addEventListener("ptr:refresh",e.onPtrRefresh),t.addEventListener("ptr:done",e.onPtrDone)),s&&t.addEventListener("infinite",e.onInfinite),i&&(t.addEventListener("tab:show",e.onTabShow),t.addEventListener("tab:hide",e.onTabHide))},beforeDestroy:function(){var e=this,t=e.$refs.el;t.removeEventListener("ptr:pullstart",e.onPtrPullStart),t.removeEventListener("ptr:pullmove",e.onPtrPullMove),t.removeEventListener("ptr:pullend",e.onPtrPullEnd),t.removeEventListener("ptr:refresh",e.onPtrRefresh),t.removeEventListener("ptr:done",e.onPtrDone),t.removeEventListener("infinite",e.onInfinite),t.removeEventListener("tab:show",e.onTabShow),t.removeEventListener("tab:hide",e.onTabHide)},methods:{onPtrPullStart:function(e){this.dispatchEvent("ptr:pullstart ptrPullStart",e)},onPtrPullMove:function(e){this.dispatchEvent("ptr:pullmove ptrPullMove",e)},onPtrPullEnd:function(e){this.dispatchEvent("ptr:pullend ptrPullEnd",e)},onPtrRefresh:function(e){this.dispatchEvent("ptr:refresh ptrRefresh",e,e.detail)},onPtrDone:function(e){this.dispatchEvent("ptr:done ptrDone",e)},onInfinite:function(e){this.dispatchEvent("infinite",e)},onTabShow:function(e){this.dispatchEvent("tab:show tabShow",e)},onTabHide:function(e){this.dispatchEvent("tab:hide tabHide",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}}},ue={name:"f7-page",props:Object.assign({id:[String,Number],name:String,stacked:Boolean,withSubnavbar:Boolean,subnavbar:Boolean,noNavbar:Boolean,noToolbar:Boolean,tabs:Boolean,pageContent:{type:Boolean,default:!0},noSwipeback:Boolean,ptr:Boolean,ptrDistance:Number,ptrPreloader:{type:Boolean,default:!0},infinite:Boolean,infiniteTop:Boolean,infiniteDistance:Number,infinitePreloader:{type:Boolean,default:!0},hideBarsOnScroll:Boolean,hideNavbarOnScroll:Boolean,hideToolbarOnScroll:Boolean,messagesContent:Boolean,loginScreen:Boolean},n.colorProps),data:function(){o(this);return{state:{hasSubnavbar:!1}}},render:function(){var e,o,s,i=this.$createElement,a=this.props,r=a.id,l=a.style,c=a.name,d=a.pageContent,p=a.messagesContent,u=a.ptr,f=a.ptrDistance,h=a.ptrPreloader,m=a.infinite,b=a.infiniteDistance,g=a.infinitePreloader,v=a.infiniteTop,B=a.hideBarsOnScroll,S=a.hideNavbarOnScroll,y=a.hideToolbarOnScroll,E=a.loginScreen,k=a.className,C=a.stacked,$=a.tabs,w=a.subnavbar,P=a.withSubnavbar,N=a.noNavbar,O=a.noToolbar,L=a.noSwipeback,I=[],x=[],M=d,T=this.$slots,D=T.static,A=T.fixed,j=T.default;e="navbar toolbar tabbar subnavbar searchbar messagebar fab list-index".split(" "),s=this.$options.propsData.messagesContent,j&&j.forEach(function(t){if(void 0!==t){var n=!1,i=t.tag;if(i){i.indexOf("subnavbar")>=0&&(o=!0),void 0===s&&i.indexOf("messages")>=0&&(s=!0);for(var a=0;a<e.length;a+=1)i.indexOf(e[a])>=0&&(n=!0);M&&(n?I.push(t):x.push(t))}else M&&x.push(t)}});var R=t.classNames(k,"page",{stacked:C,tabs:$,"page-with-subnavbar":w||P||o,"no-navbar":N,"no-toolbar":O,"no-swipeback":L},n.colorClasses(a));if(!M)return i("div",{ref:"el",style:l,class:R,attrs:{id:r,"data-name":c}},[A,D,j]);var F=i(pe,{attrs:{ptr:u,ptrDistance:f,ptrPreloader:h,infinite:m,infiniteTop:v,infiniteDistance:b,infinitePreloader:g,hideBarsOnScroll:B,hideNavbarOnScroll:S,hideToolbarOnScroll:y,messagesContent:p||s,loginScreen:E}},[D,x]);return i("div",{ref:"el",style:l,class:R,attrs:{id:r,"data-name":c}},[I,A,F])},mounted:function(){var e=this,t=e.$refs.el,n=e.props,o=n.ptr,s=n.infinite;e.onPtrPullStart=e.onPtrPullStart.bind(e),e.onPtrPullMove=e.onPtrPullMove.bind(e),e.onPtrPullEnd=e.onPtrPullEnd.bind(e),e.onPtrRefresh=e.onPtrRefresh.bind(e),e.onPtrDone=e.onPtrDone.bind(e),e.onInfinite=e.onInfinite.bind(e),e.onPageMounted=e.onPageMounted.bind(e),e.onPageInit=e.onPageInit.bind(e),e.onPageReinit=e.onPageReinit.bind(e),e.onPageBeforeIn=e.onPageBeforeIn.bind(e),e.onPageBeforeOut=e.onPageBeforeOut.bind(e),e.onPageAfterOut=e.onPageAfterOut.bind(e),e.onPageAfterIn=e.onPageAfterIn.bind(e),e.onPageBeforeRemove=e.onPageBeforeRemove.bind(e),o&&(t.addEventListener("ptr:pullstart",e.onPtrPullStart),t.addEventListener("ptr:pullmove",e.onPtrPullMove),t.addEventListener("ptr:pullend",e.onPtrPullEnd),t.addEventListener("ptr:refresh",e.onPtrRefresh),t.addEventListener("ptr:done",e.onPtrDone)),s&&t.addEventListener("infinite",e.onInfinite),t.addEventListener("page:mounted",e.onPageMounted),t.addEventListener("page:init",e.onPageInit),t.addEventListener("page:reinit",e.onPageReinit),t.addEventListener("page:beforein",e.onPageBeforeIn),t.addEventListener("page:beforeout",e.onPageBeforeOut),t.addEventListener("page:afterout",e.onPageAfterOut),t.addEventListener("page:afterin",e.onPageAfterIn),t.addEventListener("page:beforeremove",e.onPageBeforeRemove)},beforeDestroy:function(){var e=this,t=e.$refs.el;t.removeEventListener("ptr:pullstart",e.onPtrPullStart),t.removeEventListener("ptr:pullmove",e.onPtrPullMove),t.removeEventListener("ptr:pullend",e.onPtrPullEnd),t.removeEventListener("ptr:refresh",e.onPtrRefresh),t.removeEventListener("ptr:done",e.onPtrDone),t.removeEventListener("infinite",e.onInfinite),t.removeEventListener("page:mounted",e.onPageMounted),t.removeEventListener("page:init",e.onPageInit),t.removeEventListener("page:reinit",e.onPageReinit),t.removeEventListener("page:beforein",e.onPageBeforeIn),t.removeEventListener("page:beforeout",e.onPageBeforeOut),t.removeEventListener("page:afterout",e.onPageAfterOut),t.removeEventListener("page:afterin",e.onPageAfterIn),t.removeEventListener("page:beforeremove",e.onPageBeforeRemove)},methods:{onPtrPullStart:function(e){this.dispatchEvent("ptr:pullstart ptrPullStart",e)},onPtrPullMove:function(e){this.dispatchEvent("ptr:pullmove ptrPullMove",e)},onPtrPullEnd:function(e){this.dispatchEvent("ptr:pullend ptrPullEnd",e)},onPtrRefresh:function(e){this.dispatchEvent("ptr:refresh ptrRefresh",e,e.detail)},onPtrDone:function(e){this.dispatchEvent("ptr:done ptrDone",e)},onInfinite:function(e){this.dispatchEvent("infinite",e)},onPageMounted:function(e){this.dispatchEvent("page:mounted pageMounted",e,e.detail)},onPageInit:function(e){this.dispatchEvent("page:init pageInit",e,e.detail)},onPageReinit:function(e){this.dispatchEvent("page:reinit pageReinit",e,e.detail)},onPageBeforeIn:function(e){this.dispatchEvent("page:beforein pageBeforeIn",e,e.detail)},onPageBeforeOut:function(e){this.dispatchEvent("page:beforeout pageBeforeOut",e,e.detail)},onPageAfterOut:function(e){this.dispatchEvent("page:afterout pageAfterOut",e,e.detail)},onPageAfterIn:function(e){this.dispatchEvent("page:afterin pageAfterIn",e,e.detail)},onPageBeforeRemove:function(e){this.dispatchEvent("page:beforeremove pageBeforeRemove",e,e.detail)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},fe={name:"f7-panel",props:Object.assign({id:[String,Number],side:String,effect:String,cover:Boolean,reveal:Boolean,left:Boolean,right:Boolean,opened:Boolean},n.colorProps),render:function(){var e=this.$createElement,t=this.props,n=t.id;return e("div",{ref:"el",style:t.style,class:this.classes,attrs:{id:n}},[this.$slots.default])},computed:{classes:function(){var e,o=this.props,s=o.left,i=o.reveal,a=o.className,r=o.opened,l=o.side,c=o.effect;return l=l||(s?"left":"right"),c=c||(i?"reveal":"cover"),t.classNames(a,"panel",((e={"panel-active":r})["panel-"+l]=l,e["panel-"+c]=c,e),n.colorClasses(o))},props:function(){return o(this)}},watch:{"props.opened":function(e){var t=this;if(t.$f7){var n=t.props.side||(t.props.left?"left":"right");t.$f7.panel.open(n)}}},mounted:function(){var e=this,t=e.$refs.el,n=e.props,o=n.side,s=n.effect,i=n.opened,a=n.left,r=n.reveal;e.onOpenBound=e.onOpen.bind(e),e.onOpenedBound=e.onOpened.bind(e),e.onCloseBound=e.onClose.bind(e),e.onClosedBound=e.onClosed.bind(e),e.onBackdropClickBound=e.onBackdropClick.bind(e),e.onPanelSwipeBound=e.onPanelSwipe.bind(e),e.onPanelSwipeOpenBound=e.onPanelSwipeOpen.bind(e),e.onBreakpointBound=e.onBreakpoint.bind(e),t&&(t.addEventListener("panel:open",e.onOpenBound),t.addEventListener("panel:opened",e.onOpenedBound),t.addEventListener("panel:close",e.onCloseBound),t.addEventListener("panel:closed",e.onClosedBound),t.addEventListener("panel:backdrop-click",e.onBackdropClickBound),t.addEventListener("panel:swipe",e.onPanelSwipeBound),t.addEventListener("panel:swipeopen",e.onPanelSwipeOpenBound),t.addEventListener("panel:breakpoint",e.onBreakpointBound)),e.$f7ready(function(){var n=e.$$;n&&(0===n(".panel-backdrop").length&&n('<div class="panel-backdrop"></div>').insertBefore(t),e.f7Panel=e.$f7.panel.create({el:t}))}),i&&(t.style.display="block");var l=e.$$;if(l){var c=o||(a?"left":"right"),d=s||(r?"reveal":"cover");i&&l("html").addClass("with-panel-"+c+"-"+d)}},beforeDestroy:function(){var e=this;e.f7Panel&&e.f7Panel.destroy();var t=e.$refs.el;t&&(t.removeEventListener("panel:open",e.onOpenBound),t.removeEventListener("panel:opened",e.onOpenedBound),t.removeEventListener("panel:close",e.onCloseBound),t.removeEventListener("panel:closed",e.onClosedBound),t.removeEventListener("panel:backdrop-click",e.onBackdropClickBound),t.removeEventListener("panel:swipe",e.onPanelSwipeBound),t.removeEventListener("panel:swipeopen",e.onPanelSwipeOpenBound),t.removeEventListener("panel:breakpoint",e.onBreakpointBound))},methods:{onOpen:function(e){this.dispatchEvent("panel:open panelOpen",e)},onOpened:function(e){this.dispatchEvent("panel:opened panelOpened",e)},onClose:function(e){this.dispatchEvent("panel:close panelClose",e)},onClosed:function(e){this.dispatchEvent("panel:closed panelClosed",e)},onBackdropClick:function(e){this.dispatchEvent("panel:backdrop-click panelBackdropClick",e)},onPanelSwipe:function(e){this.dispatchEvent("panel:swipe panelSwipe",e)},onPanelSwipeOpen:function(e){this.dispatchEvent("panel:swipeopen panelSwipeOpen",e)},onBreakpoint:function(e){this.dispatchEvent("panel:breakpoint panelBreakpoint",e)},open:function(e){if(this.$f7){var t=this.props.side||(this.props.left?"left":"right");this.$f7.panel.open(t,e)}},close:function(e){if(this.$f7){var t=this.props.side||(this.props.left?"left":"right");this.$f7.panel.close(t,e)}},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}}},he={name:"f7-photo-browser",props:{id:[String,Number],init:{type:Boolean,default:!0},params:Object,photos:Array,exposition:{type:Boolean,default:!0},expositionHideCaptions:{type:Boolean,default:!1},type:{type:String},navbar:{type:Boolean,default:!0},toolbar:{type:Boolean,default:!0},theme:{type:String},captionsTheme:{type:String},iconsColor:{type:String},swipeToClose:{type:Boolean,default:!0},backLinkText:{type:String},navbarOfText:{type:String},swiper:{type:Object},url:{type:String},routableModals:{type:Boolean,default:!0},virtualSlides:{type:Boolean,default:!0},view:[String,Object],renderNavbar:Function,renderToolbar:Function,renderCaption:Function,renderObject:Function,renderLazyPhoto:Function,renderPhoto:Function,renderPage:Function,renderPopup:Function,renderStandalone:Function},render:function(){this.$createElement;return null},watch:{"props.photos":function(e){var t=this.f7PhotoBrowser;t&&(this.f7PhotoBrowser.photos=e,t.opened&&t.swiper&&t.swiper.update())}},beforeDestroy:function(){this.f7PhotoBrowser&&this.f7PhotoBrowser.destroy&&this.f7PhotoBrowser.destroy()},mounted:function(){var e=this;e.props.init&&e.$f7ready(function(n){var o;o=void 0!==e.props.params?e.props.params:Object.assign({},e.props),Object.keys(o).forEach(function(e){void 0!==o[e]&&""!==o[e]||delete o[e]}),o=t.extend({},o,{on:{open:function(){e.dispatchEvent("photobrowser:open photoBrowserOpen")},close:function(){e.dispatchEvent("photobrowser:close photoBrowserClose")},opened:function(){e.dispatchEvent("photobrowser:opened photoBrowserOpened")},closed:function(){e.dispatchEvent("photobrowser:closed photoBrowserClosed")},swipeToClose:function(){e.dispatchEvent("photobrowser:swipetoclose photoBrowserSwipeToClose")}}}),e.f7PhotoBrowser=n.photoBrowser.create(o)})},methods:{open:function(e){return this.f7PhotoBrowser.open(e)},close:function(){return this.f7PhotoBrowser.close()},expositionToggle:function(){return this.f7PhotoBrowser.expositionToggle()},expositionEnable:function(){return this.f7PhotoBrowser.expositionEnable()},expositionDisable:function(){return this.f7PhotoBrowser.expositionDisable()},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},me={name:"f7-popover",props:Object.assign({id:[String,Number],opened:Boolean,target:[String,Object]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{ref:"el",style:o.style,class:t.classNames(s,"popover",n.colorClasses(o)),attrs:{id:i}},[e("div",{class:"popover-angle"}),e("div",{class:"popover-inner"},[this.$slots.default])])},watch:{"props.opened":function(e){this.f7Popover&&(e?this.f7Popover.open():this.f7Popover.close())}},mounted:function(){var e=this,t=e.$refs.el;if(t){e.onOpenBound=e.onOpen.bind(e),e.onOpenedBound=e.onOpened.bind(e),e.onCloseBound=e.onClose.bind(e),e.onClosedBound=e.onClosed.bind(e),t.addEventListener("popover:open",e.onOpenBound),t.addEventListener("popover:opened",e.onOpenedBound),t.addEventListener("popover:close",e.onCloseBound),t.addEventListener("popover:closed",e.onClosedBound);var n=e.props,o=n.target,s=n.opened;e.$f7ready(function(){var n={el:t};o&&(n.targetEl=o),e.f7Popover=e.$f7.popover.create(n),s&&o&&e.f7Popover.open(o,!1)})}},beforeDestroy:function(){var e=this;e.f7Popover&&e.f7Popover.destroy();var t=e.$refs.el;t&&(t.removeEventListener("popover:open",e.onOpenBound),t.removeEventListener("popover:opened",e.onOpenedBound),t.removeEventListener("popover:close",e.onCloseBound),t.removeEventListener("popover:closed",e.onClosedBound))},methods:{onOpen:function(e){this.dispatchEvent("popover:open popoverOpen",e)},onOpened:function(e){this.dispatchEvent("popover:opened popoverOpened",e)},onClose:function(e){this.dispatchEvent("popover:close popoverClose",e)},onClosed:function(e){this.dispatchEvent("popover:closed popoverClosed",e)},open:function(e,t){if(this.$f7)return this.$f7.popover.open(this.$refs.el,e,t)},close:function(e){if(this.$f7)return this.$f7.sheet.close(this.$refs.el,e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},be={name:"f7-popup",props:Object.assign({id:[String,Number],tabletFullscreen:Boolean,opened:Boolean},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id,a=o.style,r=o.tabletFullscreen;return e("div",{ref:"el",style:a,class:t.classNames(s,"popup",{"popup-tablet-fullscreen":r},n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},watch:{"props.opened":function(e){this.f7Popup&&(e?this.f7Popup.open():this.f7Popup.close())}},mounted:function(){var e=this,t=e.$refs.el;t&&(e.onOpenBound=e.onOpen.bind(e),e.onOpenedBound=e.onOpened.bind(e),e.onCloseBound=e.onClose.bind(e),e.onClosedBound=e.onClosed.bind(e),t.addEventListener("popup:open",e.onOpenBound),t.addEventListener("popup:opened",e.onOpenedBound),t.addEventListener("popup:close",e.onCloseBound),t.addEventListener("popup:closed",e.onClosedBound),e.$f7ready(function(){e.f7Popup=e.$f7.popup.create({el:t}),e.props.opened&&e.f7Popup.open(!1)}))},beforeDestroy:function(){var e=this;e.f7Popup&&e.f7Popup.destroy();var t=e.$refs.el;t&&(t.removeEventListener("popup:open",e.onOpenBound),t.removeEventListener("popup:opened",e.onOpenedBound),t.removeEventListener("popup:close",e.onCloseBound),t.removeEventListener("popup:closed",e.onClosedBound))},methods:{onOpen:function(e){this.dispatchEvent("popup:open popupOpen",e)},onOpened:function(e){this.dispatchEvent("popup:opened popupOpened",e)},onClose:function(e){this.dispatchEvent("popup:close popupClose",e)},onClosed:function(e){this.dispatchEvent("popup:closed popupClosed",e)},open:function(e){if(this.$f7)return this.$f7.popup.open(this.$refs.el,e)},close:function(e){if(this.$f7)return this.$f7.popup.close(this.$refs.el,e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},ge={name:"f7-preloader",props:Object.assign({id:[String,Number],size:[Number,String]},n.colorProps),render:function(){var e,o=this.$createElement,s=this.sizeComputed,i=this.props,a=i.id,r=i.style,l=i.className,c={};return s&&(c.width=s+"px",c.height=s+"px"),r&&t.extend(c,r||{}),this.$theme.md&&(e=o("span",{class:"preloader-inner"},[o("span",{class:"preloader-inner-gap"}),o("span",{class:"preloader-inner-left"},[o("span",{class:"preloader-inner-half-circle"})]),o("span",{class:"preloader-inner-right"},[o("span",{class:"preloader-inner-half-circle"})])])),o("span",{style:c,class:t.classNames(l,"preloader",n.colorClasses(i)),attrs:{id:a}},[e])},computed:{sizeComputed:function(){var e=this.props.size;return e&&"string"==typeof e&&e.indexOf("px")>=0&&(e=e.replace("px","")),e},props:function(){return o(this)}}},ve={name:"f7-progressbar",props:Object.assign({id:[String,Number],progress:Number,infinite:Boolean},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.progress,i=o.id,a=o.style,r=o.infinite,l=o.className,c={transform:s?"translate3d("+(-100+s)+"%, 0, 0)":"",WebkitTransform:s?"translate3d("+(-100+s)+"%, 0, 0)":""};return e("span",{ref:"el",style:a,class:t.classNames(l,"progressbar",{"progressbar-infinite":r},n.colorClasses(o)),attrs:{id:i,"data-progress":s}},[e("span",{style:c})])},methods:{set:function(e,t){this.$f7&&this.$f7.progressbar.set(this.$refs.el,e,t)}},computed:{props:function(){return o(this)}}},Be={name:"f7-radio",props:Object.assign({id:[String,Number],checked:Boolean,name:[Number,String],value:[Number,String,Boolean],disabled:Boolean,readonly:Boolean,defaultChecked:Boolean},n.colorProps),render:function(){var e,o=this.$createElement,s=this.props,i=s.name,a=s.value,r=s.disabled,l=s.readonly,c=s.checked,d=(s.defaultChecked,s.id),p=s.style,u=s.className;e=o("input",{domProps:{value:a,disabled:r,readonly:l,checked:c},on:{change:this.onChange.bind(this)},attrs:{type:"radio",name:i}});var f=o("i",{class:"icon-radio"});return o("label",{style:p,class:t.classNames(u,"radio",{disabled:r},n.colorClasses(s)),attrs:{id:d}},[e,f,this.$slots.default])},methods:{onChange:function(e){this.dispatchEvent("change",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},Se={name:"f7-row",props:Object.assign({id:[String,Number],noGap:Boolean,tag:{type:String,default:"div"}},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id,a=o.style,r=o.tag,l=o.noGap;return e(r,{style:a,class:t.classNames(s,"row",{"no-gap":l},n.colorClasses(o)),on:{click:this.onClick.bind(this)},attrs:{id:i}},[this.$slots.default])},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},ye={name:"f7-searchbar",props:Object.assign({id:[String,Number],noShadow:Boolean,noHairline:Boolean,form:{type:Boolean,default:!0},placeholder:{type:String,default:"Search"},disableButton:{type:Boolean,default:!0},disableButtonText:{type:String,default:"Cancel"},clearButton:{type:Boolean,default:!0},expandable:Boolean,searchContainer:[String,Object],searchIn:{type:String,default:".item-title"},searchItem:{type:String,default:"li"},foundEl:{type:[String,Object],default:".searchbar-found"},notFoundEl:{type:[String,Object],default:".searchbar-not-found"},backdrop:{type:Boolean,default:!0},backdropEl:[String,Object],hideOnEnableEl:{type:[String,Object],default:".searchbar-hide-on-enable"},hideOnSearchEl:{type:[String,Object],default:".searchbar-hide-on-search"},ignore:{type:String,default:".searchbar-ignore"},customSearch:{type:Boolean,default:!1},removeDiacritics:{type:Boolean,default:!1},hideDividers:{type:Boolean,default:!0},hideGroups:{type:Boolean,default:!0},init:{type:Boolean,default:!0}},n.colorProps),render:function(){var e,o,s=this.$createElement,i=this,a=i.props,r=a.placeholder,l=a.clearButton,c=a.disableButton,d=a.disableButtonText,p=a.form,u=a.noShadow,f=a.noHairline,h=a.expandable,m=a.className,b=a.style,g=a.id;return l&&(e=s("span",{class:"input-clear-button",on:{click:i.onClearButtonClick.bind(i)}})),c&&(o=s("span",{class:"searchbar-disable-button",on:{click:i.onDisableButtonClick.bind(i)}},[d])),s(p?"form":"div",{ref:"el",style:b,class:t.classNames(m,"searchbar",{"no-shadow":u,"no-hairline":f,"searchbar-expandable":h},n.colorClasses(a)),attrs:{id:g}},[this.$slots["before-inner"],s("div",{class:"searchbar-inner"},[this.$slots["inner-start"],s("div",{class:"searchbar-input-wrap"},[this.$slots["input-wrap-start"],s("input",{on:{input:i.onInput.bind(i),change:i.onChange.bind(i),focus:i.onFocus.bind(i),blur:i.onBlur.bind(i)},attrs:{placeholder:r,type:"search"}}),s("i",{class:"searchbar-icon"}),e,this.$slots["input-wrap-end"]]),o,this.$slots["inner-end"],this.$slots.default]),this.$slots["after-inner"]])},beforeDestroy:function(){var e=this;e.props.form&&e.$refs.el&&e.$refs.el.removeEventListener("submit",e.onSubmitBound,!1),e.f7Searchbar&&e.f7Searchbar.destroy&&e.f7Searchbar.destroy()},mounted:function(){var e=this,n=e.props,o=n.init,s=n.searchContainer,i=n.searchIn,a=n.searchItem,r=n.hideOnEnableEl,l=n.hideOnSearchEl,c=n.foundEl,d=n.notFoundEl,p=n.backdrop,u=n.backdropEl,f=n.disableButton,h=n.ignore,m=n.customSearch,b=n.removeDiacritics,g=n.hideDividers,v=n.hideGroups,B=n.form;if(o){var S=e.$refs.el;B&&S&&(e.onSubmitBound=e.onSubmit.bind(e),S.addEventListener("submit",e.onSubmitBound,!1)),e.$f7ready(function(){var n=t.noUndefinedProps({el:e.$refs.el,searchContainer:s,searchIn:i,searchItem:a,hideOnEnableEl:r,hideOnSearchEl:l,foundEl:c,notFoundEl:d,backdrop:p,backdropEl:u,disableButton:f,ignore:h,customSearch:m,removeDiacritics:b,hideDividers:g,hideGroups:v,on:{search:function(t,n,o){e.dispatchEvent("searchbar:search searchbarSearch",t,n,o)},clear:function(t,n){e.dispatchEvent("searchbar:clear searchbarClear",t,n)},enable:function(t){e.dispatchEvent("searchbar:enable searchbarEnable",t)},disable:function(t){e.dispatchEvent("searchbar:disable searchbarDisable",t)}}});Object.keys(n).forEach(function(e){""===n[e]&&delete n[e]}),e.f7Searchbar=e.$f7.searchbar.create(n)})}},methods:{search:function(e){if(this.f7Searchbar)return this.f7Searchbar.search(e)},enable:function(){if(this.f7Searchbar)return this.f7Searchbar.enable()},disable:function(){if(this.f7Searchbar)return this.f7Searchbar.disable()},toggle:function(){if(this.f7Searchbar)return this.toggle.disable()},clear:function(){if(this.f7Searchbar)return this.f7Searchbar.clear()},onChange:function(e){this.dispatchEvent("change",e)},onInput:function(e){this.dispatchEvent("input",e)},onFocus:function(e){this.dispatchEvent("focus",e)},onBlur:function(e){this.dispatchEvent("blur",e)},onSubmit:function(e){this.dispatchEvent("submit",e)},onClearButtonClick:function(e){this.dispatchEvent("click:clear clickClear",e)},onDisableButtonClick:function(e){this.dispatchEvent("click:disable clickDisable",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},Ee={name:"f7-segmented",props:Object.assign({id:[String,Number],raised:Boolean,round:Boolean,tag:{type:String,default:"div"}},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.raised,a=o.round,r=o.id,l=o.style;return e(o.tag,{style:l,class:t.classNames(s,{segmented:!0,"segmented-raised":i,"segmented-round":a},n.colorClasses(o)),attrs:{id:r}},[this.$slots.default])},computed:{props:function(){return o(this)}}},ke={name:"f7-sheet",props:Object.assign({id:[String,Number],opened:Boolean,backdrop:Boolean},n.colorProps),render:function(){var e,o=this.$createElement,s=[],i=[],a=this.props,r=a.id,l=a.style,c=a.className;e="navbar toolbar tabbar subnavbar searchbar messagebar fab list-index".split(" ");var d=this.$slots.default;d&&d.length&&d.forEach(function(t){if(void 0!==t){var n=!1,o=t.tag;if(o){for(var a=0;a<e.length;a+=1)o.indexOf(e[a])>=0&&(n=!0);n?s.push(t):i.push(t)}}});var p=o("div",{class:"sheet-modal-inner"},[i]);return o("div",{ref:"el",style:l,class:t.classNames(c,"sheet-modal",n.colorClasses(a)),attrs:{id:r}},[s,p])},watch:{"props.opened":function(e){this.f7Sheet&&(e?this.f7Sheet.open():this.f7Sheet.close())}},mounted:function(){var e=this,t=e.$refs.el;t&&(e.onOpenBound=e.onOpen.bind(e),e.onOpenedBound=e.onOpened.bind(e),e.onCloseBound=e.onClose.bind(e),e.onClosedBound=e.onClosed.bind(e),t.addEventListener("sheet:open",e.onOpenBound),t.addEventListener("sheet:opened",e.onOpenedBound),t.addEventListener("sheet:close",e.onCloseBound),t.addEventListener("sheet:closed",e.onClosedBound),e.$f7ready(function(){var t,n=e.props,o=n.opened;n.backdrop;if(void 0===e.$options.propsData.backdrop){var s=e.$f7;t=s.params.sheet&&void 0!==s.params.sheet.backdrop?s.params.sheet.backdrop:e.$theme.md}e.f7Sheet=e.$f7.sheet.create({el:e.$refs.el,backdrop:t}),o&&e.f7Sheet.open(!1)}))},beforeDestroy:function(){var e=this;e.f7Sheet&&e.f7Sheet.destroy();var t=e.$el;t&&(t.removeEventListener("popup:open",e.onOpenBound),t.removeEventListener("popup:opened",e.onOpenedBound),t.removeEventListener("popup:close",e.onCloseBound),t.removeEventListener("popup:closed",e.onClosedBound))},methods:{onOpen:function(e){this.dispatchEvent("sheet:open sheetOpen",e)},onOpened:function(e){this.dispatchEvent("sheet:opened sheetOpened",e)},onClose:function(e){this.dispatchEvent("sheet:close sheetClose",e)},onClosed:function(e){this.dispatchEvent("sheet:closed sheetClosed",e)},open:function(e){if(this.$f7)return this.$f7.sheet.open(this.$refs.el,e)},close:function(e){if(this.$f7)return this.$f7.sheet.close(this.$refs.el,e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},Ce={name:"f7-statusbar",props:Object.assign({id:[String,Number]},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id;return e("div",{style:o.style,class:t.classNames(s,"statusbar",n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},$e={name:"f7-stepper",props:Object.assign({id:[String,Number],init:{type:Boolean,default:!0},value:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},formatValue:Function,input:{type:Boolean,default:!0},inputType:{type:String,default:"text"},inputReadonly:{type:Boolean,default:!0},autorepeat:{type:Boolean,default:!1},autorepeatDynamic:{type:Boolean,default:!1},wraps:{type:Boolean,default:!1},disabled:Boolean,buttonsOnly:Boolean,round:Boolean,roundMd:Boolean,roundIos:Boolean,fill:Boolean,fillMd:Boolean,fillIos:Boolean,big:Boolean,bigMd:Boolean,bigIos:Boolean,small:Boolean,smallMd:Boolean,smallIos:Boolean,raised:Boolean},n.colorProps),render:function(){var e,t,n=this.$createElement,o=this,s=o.props,i=s.input,a=s.buttonsOnly,r=s.inputType,l=s.value,c=s.inputReadonly,d=s.min,p=s.max,u=s.step,f=s.id,h=s.style;i&&!a&&(e=n("div",{class:"stepper-input-wrap"},[n("input",{domProps:{readonly:c,value:l},on:{input:o.onInput.bind(o)},attrs:{type:r,min:"number"===r?d:void 0,max:"number"===r?p:void 0,step:"number"===r?u:void 0}})]));return i||a||(t=n("div",{class:"stepper-value"},[l])),n("div",{ref:"el",style:h,class:o.classes,attrs:{id:f}},[n("div",{class:"stepper-button-minus",on:{click:o.onMinusClickBound}}),e,t,n("div",{class:"stepper-button-plus",on:{click:o.onPlusClickBound}})])},computed:{classes:function(){var e=this.props,o=e.round,s=e.roundIos,i=e.roundMd,a=e.fill,r=e.fillIos,l=e.fillMd,c=e.big,d=e.bigIos,p=e.bigMd,u=e.small,f=e.smallIos,h=e.smallMd,m=e.raised,b=e.disabled;return t.classNames(this.props.className,"stepper",{disabled:b,"stepper-round":o,"stepper-round-ios":s,"stepper-round-md":i,"stepper-fill":a,"stepper-fill-ios":r,"stepper-fill-md":l,"stepper-big":c,"stepper-big-ios":d,"stepper-big-md":p,"stepper-small":u,"stepper-small-ios":f,"stepper-small-md":h,"stepper-raised":m},n.colorClasses(e))},props:function(){return o(this)}},created:function(){this.onInputBound=this.onInput.bind(this),this.onMinusClickBound=this.onMinusClick.bind(this),this.onPlusClickBound=this.onPlusClick.bind(this)},mounted:function(){var e=this;e.props.init&&e.$f7ready(function(n){var o=e.props,s=o.min,i=o.max,a=o.value,r=o.step,l=o.formatValue,c=o.autorepeat,d=o.autorepeatDynamic,p=o.wraps,u=e.$refs.el;u&&(e.f7Stepper=n.stepper.create(t.noUndefinedProps({el:u,min:s,max:i,value:a,step:r,formatValue:l,autorepeat:c,autorepeatDynamic:d,wraps:p,on:{change:function(t,n){e.dispatchEvent("stepper:change stepperChange",n)}}})))})},beforeDestroy:function(){this.props.init&&this.f7Stepper&&this.f7Stepper.destroy&&this.f7Stepper.destroy()},methods:{increment:function(){this.f7Stepper&&this.f7Stepper.increment()},decrement:function(){this.f7Stepper&&this.f7Stepper.decrement()},setValue:function(e){this.f7Stepper&&this.f7Stepper.setValue&&this.f7Stepper.setValue(e)},getValue:function(){if(this.f7Stepper&&this.f7Stepper.getValue)return this.f7Stepper.getValue()},onInput:function(e){this.dispatchEvent("input",e,this.f7Stepper)},onMinusClick:function(e){this.dispatchEvent("stepper:minusclick stepperMinusClick",e,this.f7Stepper)},onPlusClick:function(e){this.dispatchEvent("stepper:plusclick stepperPlusClick",e,this.f7Stepper)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}}},we={name:"f7-subnavbar",props:Object.assign({id:[String,Number],sliding:Boolean,title:String,inner:{type:Boolean,default:!0}},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.inner,i=o.title,a=o.style,r=o.id,l=o.className,c=o.sliding;return e("div",{class:t.classNames(l,"subnavbar",{sliding:c},n.colorClasses(o)),style:a,attrs:{id:r}},[s?e("div",{class:"subnavbar-inner"},[i&&e("div",{class:"title"},[i]),this.$slots.default]):this.$slots.default])},computed:{props:function(){return o(this)}}},Pe={name:"f7-swipeout-actions",props:Object.assign({id:[String,Number],left:Boolean,right:Boolean,side:String},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.left,i=o.right,a=o.side,r=o.className,l=o.id,c=o.style,d=a;return d||(s&&(d="left"),i&&(d="right")),e("div",{style:c,class:t.classNames(r,"swipeout-actions-"+d,n.colorClasses(o)),attrs:{id:l}},[this.$slots.default])},computed:{props:function(){return o(this)}}},Ne={name:"f7-swipeout-button",props:Object.assign({id:[String,Number],text:String,confirmText:String,overswipe:Boolean,close:Boolean,delete:Boolean,href:String},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id,a=o.style,r=o.overswipe,l=o.delete,c=o.close,d=o.href,p=o.confirmText,u=o.text;return e("a",{style:a,class:t.classNames(s,{"swipeout-overswipe":r,"swipeout-delete":l,"swipeout-close":c},n.colorClasses(o)),on:{click:this.onClick.bind(this)},attrs:{href:d||"#",id:i,"data-confirm":p||void 0}},[this.$slots.default||[u]])},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return o(this)}}},Oe={name:"f7-swiper-slide",props:{id:[String,Number],zoom:Boolean},render:function(){var e=this.$createElement,n=this.props,o=n.className,s=n.id,i=n.style,a=n.zoom;return e("div",{style:i,class:t.classNames(o,"swiper-slide"),attrs:{id:s}},[a?e("div",{class:"swiper-zoom-container"},[this.$slots.default]):this.$slots.default])},computed:{props:function(){return o(this)}}},Le={name:"f7-swiper",props:Object.assign({id:[String,Number],params:Object,pagination:Boolean,scrollbar:Boolean,navigation:Boolean,init:{type:Boolean,default:!0}},n.colorProps),render:function(){var e,o,s,i,a=this.$createElement,r=this.props,l=r.id,c=r.style,d=r.className;return this.paginationComputed&&(e=a("div",{ref:"paginationEl",class:"swiper-pagination"})),this.scrollbarComputed&&(o=a("div",{ref:"scrollbarEl",class:"swiper-scrollbar"})),this.navigationComputed&&(s=a("div",{ref:"nextEl",class:"swiper-button-next"}),i=a("div",{ref:"prevEl",class:"swiper-button-prev"})),a("div",{style:c,ref:"el",class:t.classNames(d,"swiper-container",n.colorClasses(r)),attrs:{id:l}},[this.$slots["before-wrapper"],a("div",{class:"swiper-wrapper"},[this.$slots.default]),e,o,i,s,this.$slots["after-wrapper"]])},computed:{paginationComputed:function(){var e=this.props,t=e.pagination,n=e.params;return!!(!0===t||n&&n.pagination&&!n.pagination.el)},scrollbarComputed:function(){var e=this.props,t=e.scrollbar,n=e.params;return!!(!0===t||n&&n.scrollbar&&!n.scrollbar.el)},navigationComputed:function(){var e=this.props,t=e.navigation,n=e.params;return!(!0!==t&&(!n||!n.navigation||n.navigation.nextEl||n.navigation.prevEl))},props:function(){return o(this)}},updated:function(){var e=this;e.initialUpdate?e.swiper&&e.swiper.update&&e.swiper.update():e.initialUpdate=!0},mounted:function(){var e=this;e.props.init&&e.$f7ready(function(n){var o={pagination:{},navigation:{},scrollbar:{}},s=e.props,i=s.params,a=s.pagination,r=s.navigation,l=s.scrollbar;i&&t.extend(o,i),a&&!o.pagination.el&&(o.pagination.el=e.$refs.paginationEl),!r||o.navigation.nextEl||o.navigation.prevEl||(o.navigation.nextEl=e.$refs.nextEl,o.navigation.prevEl=e.$refs.prevEl),l&&!o.scrollbar.el&&(o.scrollbar.el=e.$refs.scrollbarEl),e.swiper=n.swiper.create(e.$refs.el,o)})},beforeDestroy:function(){this.props.init&&this.swiper&&this.swiper.destroy&&this.swiper.destroy()}},Ie={name:"f7-tab",props:Object.assign({id:[String,Number],tabActive:Boolean},n.colorProps),data:function(){o(this);return{state:{tabContent:null}}},render:function(){var e,o=this.$createElement,s=this.props,i=s.tabActive,a=s.id,r=s.className,l=s.style,c=this.state.tabContent,d=t.classNames(r,"tab",{"tab-active":i},n.colorClasses(s));return c&&(e=c.component),o("div",{style:l,ref:"el",class:d,attrs:{id:a}},[c?o(e,{key:c.id,props:c.props}):this.$slots.default])},created:function(){this.onTabShowBound=this.onTabShow.bind(this),this.onTabHideBound=this.onTabHide.bind(this)},updated:function(){this.routerData&&f.emit("tabRouterDidUpdate",this.routerData)},beforeDestroy:function(){var e=this,t=e.$refs.el;t&&(t.removeEventListener("tab:show",e.onTabShowBound),t.removeEventListener("tab:hide",e.onTabHideBound)),e.routerData&&(h.routers.tabs.splice(h.routers.tabs.indexOf(e.routerData),1),e.routerData=null,delete e.routerData)},mounted:function(){var e=this,t=e.$refs.el;t&&(t.addEventListener("tab:show",e.onTabShowBound),t.addEventListener("tab:hide",e.onTabHideBound)),e.setState({tabContent:null}),e.$f7ready(function(){e.routerData={el:t,component:e},h.routers.tabs.push(e.routerData)})},methods:{show:function(e){this.$f7&&this.$f7.tab.show(this.$refs.el,e)},onTabShow:function(e){this.dispatchEvent("tab:show tabShow",e)},onTabHide:function(e){this.dispatchEvent("tab:hide tabHide",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))},setState:function(e,t){m(this,e,t)}},computed:{props:function(){return o(this)}}},xe={name:"f7-tabs",props:Object.assign({id:[String,Number],animated:Boolean,swipeable:Boolean,routable:Boolean},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.animated,i=o.swipeable,a=o.id,r=o.style,l=o.className,c=o.routable,d=t.classNames(l,{"tabs-animated-wrap":s,"tabs-swipeable-wrap":i,"tabs-routable":c},n.colorClasses(o));return s||i?e("div",{style:r,class:d,attrs:{id:a}},[e("div",{class:"tabs"},[this.$slots.default])]):e("div",{style:r,class:t.classNames("tabs",d),attrs:{id:a}},[this.$slots.default])},computed:{props:function(){return o(this)}}},Me={name:"f7-toolbar",props:Object.assign({id:[String,Number],bottomMd:Boolean,tabbar:Boolean,labels:Boolean,scrollable:Boolean,hidden:Boolean,noShadow:Boolean,noHairline:Boolean,inner:{type:Boolean,default:!0}},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.id,i=o.style,a=o.className,r=o.inner,l=o.bottomMd,c=o.tabbar,d=o.labels,p=o.scrollable,u=o.hidden,f=o.noShadow,h=o.noHairline;return e("div",{style:i,ref:"el",class:t.classNames(a,"toolbar",{"toolbar-bottom-md":l,tabbar:c,"tabbar-labels":d,"tabbar-scrollable":p,"toolbar-hidden":u,"no-shadow":f,"no-hairline":h},n.colorClasses(o)),attrs:{id:s}},[this.$slots["before-inner"],r?e("div",{class:"toolbar-inner"},[this.$slots.default]):this.$slots.default,this.$slots["after-inner"]])},updated:function(){this.props.tabbar&&this.$f7&&this.$f7.toolbar.setHighlight(this.$refs.el)},mounted:function(){var e=this;e.$f7ready(function(t){e.props.tabbar&&t.toolbar.setHighlight(e.$refs.el)})},methods:{hide:function(e){this.$f7&&this.$f7.toolbar.hide(this.$refs.el,e)},show:function(e){this.$f7&&this.$f7.toolbar.show(this.$refs.el,e)}},computed:{props:function(){return o(this)}}},Te={name:"f7-view",props:Object.assign({id:[String,Number],tab:Boolean,tabActive:Boolean,name:String,router:Boolean,linksView:[Object,String],url:String,main:Boolean,stackPages:Boolean,xhrCache:String,xhrCacheIgnore:Array,xhrCacheIgnoreGetParameters:Boolean,xhrCacheDuration:Number,preloadPreviousPage:Boolean,uniqueHistory:Boolean,uniqueHistoryIgnoreGetParameters:Boolean,allowDuplicateUrls:Boolean,reloadPages:Boolean,removeElements:Boolean,removeElementsWithTimeout:Boolean,removeElementsTimeout:Number,restoreScrollTopOnBack:Boolean,iosSwipeBack:Boolean,iosSwipeBackAnimateShadow:Boolean,iosSwipeBackAnimateOpacity:Boolean,iosSwipeBackActiveArea:Number,iosSwipeBackThreshold:Number,pushState:Boolean,pushStateRoot:String,pushStateAnimate:Boolean,pushStateAnimateOnLoad:Boolean,pushStateSeparator:String,pushStateOnLoad:Boolean,animate:Boolean,iosDynamicNavbar:Boolean,iosSeparateDynamicNavbar:Boolean,iosAnimateNavbarBackIcon:Boolean,materialPageLoadDelay:Number,passRouteQueryToRequest:Boolean,passRouteParamsToRequest:Boolean,routes:Array,routesAdd:Array,init:{type:Boolean,default:!0}},n.colorProps),data:function(){o(this);return{state:{pages:[]}}},render:function(){var e=this.$createElement,o=this.props,s=o.id,i=o.style,a=o.tab,r=o.main,l=o.tabActive,c=o.className,d=t.classNames(c,"view",{"view-main":r,"tab-active":l,tab:a},n.colorClasses(o));return e("div",{ref:"el",style:i,class:d,attrs:{id:s}},[this.$slots.default,this.state.pages.map(function(t){var n=t.component;return e(n,{key:t.id,props:t.props})})])},created:function(){var e=this;e.onSwipeBackMoveBound=e.onSwipeBackMove.bind(e),e.onSwipeBackBeforeChangeBound=e.onSwipeBackBeforeChange.bind(e),e.onSwipeBackAfterChangeBound=e.onSwipeBackAfterChange.bind(e),e.onSwipeBackBeforeResetBound=e.onSwipeBackBeforeReset.bind(e),e.onSwipeBackAfterResetBound=e.onSwipeBackAfterReset.bind(e),e.onTabShowBound=e.onTabShow.bind(e),e.onTabHideBound=e.onTabHide.bind(e)},mounted:function(){var e=this,n=e.$refs.el;n.addEventListener("swipeback:move",e.onSwipeBackMoveBound),n.addEventListener("swipeback:beforechange",e.onSwipeBackBeforeChangeBound),n.addEventListener("swipeback:afterchange",e.onSwipeBackAfterChangeBound),n.addEventListener("swipeback:beforereset",e.onSwipeBackBeforeResetBound),n.addEventListener("swipeback:afterreset",e.onSwipeBackAfterResetBound),n.addEventListener("tab:show",e.onTabShowBound),n.addEventListener("tab:hide",e.onTabHideBound),e.setState({pages:[]}),e.$f7ready(function(o){e.props.init&&(e.routerData={el:n,component:e,instance:null},h.routers.views.push(e.routerData),e.routerData.instance=o.views.create(n,t.noUndefinedProps(e.$options.propsData||{})),e.f7View=e.routerData.instance)})},beforeDestroy:function(){var e=this,t=e.$refs.el;t.removeEventListener("swipeback:move",e.onSwipeBackMoveBound),t.removeEventListener("swipeback:beforechange",e.onSwipeBackBeforeChangeBound),t.removeEventListener("swipeback:afterchange",e.onSwipeBackAfterChangeBound),t.removeEventListener("swipeback:beforereset",e.onSwipeBackBeforeResetBound),t.removeEventListener("swipeback:afterreset",e.onSwipeBackAfterResetBound),t.removeEventListener("tab:show",e.onTabShowBound),t.removeEventListener("tab:hide",e.onTabHideBound),e.props.init&&(e.f7View&&e.f7View.destroy&&e.f7View.destroy(),h.routers.views.splice(h.routers.views.indexOf(e.routerData),1),e.routerData=null,delete e.routerData)},updated:function(){this.routerData&&f.emit("viewRouterDidUpdate",this.routerData)},methods:{onSwipeBackMove:function(e){this.dispatchEvent("swipeback:move swipeBackMove",e,e.detail)},onSwipeBackBeforeChange:function(e){this.dispatchEvent("swipeback:beforechange swipeBackBeforeChange",e,e.detail)},onSwipeBackAfterChange:function(e){this.dispatchEvent("swipeback:afterchange swipeBackAfterChange",e,e.detail)},onSwipeBackBeforeReset:function(e){this.dispatchEvent("swipeback:beforereset swipeBackBeforeReset",e,e.detail)},onSwipeBackAfterReset:function(e){this.dispatchEvent("swipeback:afterreset swipeBackAfterReset",e,e.detail)},onTabShow:function(e){this.dispatchEvent("tab:show tabShow",e)},onTabHide:function(e){this.dispatchEvent("tab:hide tabHide",e)},dispatchEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];i.apply(void 0,[this,e].concat(t))},setState:function(e,t){m(this,e,t)}},computed:{props:function(){return o(this)}}},De={name:"f7-views",props:Object.assign({id:[String,Number],tabs:Boolean},n.colorProps),render:function(){var e=this.$createElement,o=this.props,s=o.className,i=o.id,a=o.style,r=o.tabs;return e("div",{style:a,class:t.classNames(s,"views",{tabs:r},n.colorClasses(o)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return o(this)}}},Ae=0,je={proto:{pageComponentLoader:function(e,n,o,s,i,a){var r,l=e;if(h.routers.views.forEach(function(t){t.el&&t.el===e&&(r=t.component)}),r&&r.state.pages){var c,d={component:n,id:t.now()+"_"+(Ae+=1),props:t.extend({f7route:s.route,f7router:this},s.route.params)};r.$f7router=this,r.$f7route=s.route,f.on("viewRouterDidUpdate",function e(t){if(t.component===r&&!c){f.off("viewRouterDidUpdate",e);var n=l.children[l.children.length-1];d.el=n,i(n),c=!0}}),r.state.pages.push(d),r.setState({pages:r.state.pages})}else a()},removePage:function(e){if(e){var t,n,o,s=this;if(h.routers.views.forEach(function(e){e.el&&e.el===s.el&&(t=e.component)}),"length"in e){if(0===e.length)return;n=e[0]}else n=e;if(n)t.state.pages.forEach(function(e,s){e.el===n&&(o=!0,t.state.pages.splice(s,1),t.setState({pages:t.state.pages}))}),o||n.parentNode.removeChild(n)}},tabComponentLoader:function(e,n,o,s,i,a){var r;if(e||a(),h.routers.tabs.forEach(function(t){t.el&&t.el===e&&(r=t.component)}),r){var l,c={id:t.now()+"_"+(Ae+=1),component:n,props:t.extend({f7route:s.route,f7router:this},s.route.params)};r.$f7router=this,r.$f7route=s.route,f.on("tabRouterDidUpdate",function t(n){if(n.component===r&&!l){f.off("tabRouterDidUpdate",t);var o=e.children[0];i(o),l=!0}}),r.setState({tabContent:c})}else a()},removeTabContent:function(e){if(e){var t;h.routers.tabs.forEach(function(n){n.el&&n.el===e&&(t=n.component)});var n=!!t.state.tabContent;t&&n?t.setState({tabContent:null}):e.innerHTML=""}},modalComponentLoader:function(e,n,o,s,i,a){var r=h.routers.modals&&h.routers.modals.component,l=h.routers.modals&&h.routers.modals.el;if(r&&r.state.modals){var c,d={component:n,id:t.now()+"_"+(Ae+=1),props:t.extend({f7route:s.route,f7router:this},s.route.params)};r.$f7router=this,r.$f7route=s.route,f.on("modalsRouterDidUpdate",function e(t){if(t.component===r&&!c){f.off("modalsRouterDidUpdate",e);var n=l.children[l.children.length-1];d.el=n,i(n),c=!0}}),r.state.modals.push(d),r.setState({modals:r.state.modals})}else a()},removeModal:function(e){var t,n=h.routers.modals&&h.routers.modals.component;n&&(n.state.modals.forEach(function(n){n.el===e&&(t=n)}),n.state.modals.splice(n.state.modals.indexOf(t),1),n.setState({modals:n.state.modals}))}}};return{name:"phenomePlugin",install:function(t){void 0===t&&(t={});var n=this;h.Framework7=n;var o=e,i="$refs";e.component("f7-accordion-content",s),e.component("f7-accordion-item",a),e.component("f7-accordion-toggle",r),e.component("f7-accordion",l),e.component("f7-actions-button",c),e.component("f7-actions-group",d),e.component("f7-actions-label",p),e.component("f7-actions",u),e.component("f7-app",g),e.component("f7-badge",v),e.component("f7-block-footer",B),e.component("f7-block-header",S),e.component("f7-block-title",y),e.component("f7-block",E),e.component("f7-button",$),e.component("f7-card-content",w),e.component("f7-card-footer",P),e.component("f7-card-header",N),e.component("f7-card",O),e.component("f7-checkbox",L),e.component("f7-chip",I),e.component("f7-col",x),e.component("f7-fab-button",M),e.component("f7-fab-buttons",T),e.component("f7-fab",D),e.component("f7-gauge",A),e.component("f7-icon",k),e.component("f7-input",F),e.component("f7-label",H),e.component("f7-link",z),e.component("f7-list-button",V),e.component("f7-list-group",U),e.component("f7-list-index",q),e.component("f7-list-item-cell",W),e.component("f7-list-item-content",_),e.component("f7-list-item-row",G),e.component("f7-list-item",Z),e.component("f7-list",Q),e.component("f7-login-screen-title",J),e.component("f7-login-screen",K),e.component("f7-message",X),e.component("f7-messagebar-attachment",Y),e.component("f7-messagebar-attachments",ee),e.component("f7-messagebar-sheet-image",te),e.component("f7-messagebar-sheet-item",ne),e.component("f7-messagebar-sheet",oe),e.component("f7-messagebar",se),e.component("f7-messages-title",ie),e.component("f7-messages",ae),e.component("f7-nav-left",re),e.component("f7-nav-right",le),e.component("f7-nav-title",ce),e.component("f7-navbar",de),e.component("f7-page-content",pe),e.component("f7-page",ue),e.component("f7-panel",fe),e.component("f7-photo-browser",he),e.component("f7-popover",me),e.component("f7-popup",be),e.component("f7-preloader",ge),e.component("f7-progressbar",ve),e.component("f7-radio",Be),e.component("f7-range",R),e.component("f7-routable-modals",b),e.component("f7-row",Se),e.component("f7-searchbar",ye),e.component("f7-segmented",Ee),e.component("f7-sheet",ke),e.component("f7-statusbar",Ce),e.component("f7-stepper",$e),e.component("f7-subnavbar",we),e.component("f7-swipeout-actions",Pe),e.component("f7-swipeout-button",Ne),e.component("f7-swiper-slide",Oe),e.component("f7-swiper",Le),e.component("f7-tab",Ie),e.component("f7-tabs",xe),e.component("f7-toggle",j),e.component("f7-toolbar",Me),e.component("f7-view",Te),e.component("f7-views",De),Object.defineProperty(o.prototype,"$f7",{get:function(){return h.instance}});var f={},m=t.theme;function C(e){h.ready(e)}"md"===m&&(f.md=!0),"ios"===m&&(f.ios=!0),m&&"auto"!==m||(f.ios=!!(n.Device||n.device).ios,f.md=!(n.Device||n.device).ios),Object.defineProperty(o.prototype,"$theme",{get:function(){return{ios:h.instance?"ios"===h.instance.theme:f.ios,md:h.instance?"md"===h.instance.theme:f.md}}}),o.prototype.Dom7=n.$,o.prototype.$$=n.$,o.prototype.$device=n.device,o.prototype.$request=n.request,o.prototype.$utils=n.utils,o.prototype.$f7ready=C,o.prototype.$f7Ready=C,Object.defineProperty(o.prototype,"$f7route",{get:function(){var e,t=this;if(t.props&&t.props.f7route)return t.props.f7route;if(t.f7route)return t.f7route;if(t._f7route)return t._f7route;for(var n=t;n&&!e;)n._f7route&&(e=n._f7route),n=n.$parent;return e},set:function(e){this._f7route=e}}),Object.defineProperty(o.prototype,"$f7router",{get:function(){var e,t=this;if(t.props&&t.props.f7router)return t.props.f7router;if(t.f7router)return t.f7router;if(t._f7router)return t._f7router;for(var n=t;n&&!e;)n._f7router?e=n._f7router:n.f7View?e=n.f7View.router:n[i]&&n[i].el&&n[i].el.f7View&&(e=n[i].el.f7View.router),n=n.$parent;return e},set:function(e){this._f7router=e}}),n.Router.use(je)}}});
//# sourceMappingURL=framework7-vue.min.js.map
