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