text: /**
   * Framework7 React 5.7.14
   * Build full featured iOS & Android apps using Framework7 & React
   * https://framework7.io/react/
   *
   * Copyright 2014-2021 Vladimir Kharlampidi
   *
   * Released under the MIT License
   *
   * Released on: November 15, 2021
   */
  
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).Framework7React=t(e.React)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=t(e),n={text:function(e){return null==e?"":e},noUndefinedProps:function(e){var t={};return Object.keys(e).forEach((function(o){void 0!==e[o]&&(t[o]=e[o])})),t},isTrueProp:function(e){return!0===e||""===e},isStringProp:function(e){return"string"==typeof e&&""!==e},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},now:function(){return Date.now()},extend:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];var r,a,s=!0;"boolean"==typeof t[0]?(s=(e=t)[0],r=e[1],t.splice(0,2),a=t):(r=t[0],t.splice(0,1),a=t);for(var i=0;i<a.length;i+=1){var l=t[i];if(null!=l)for(var p=Object.keys(Object(l)),c=0,u=p.length;c<u;c+=1){var d=p[c],f=Object.getOwnPropertyDescriptor(l,d);void 0!==f&&f.enumerable&&(s?n.isObject(r[d])&&n.isObject(l[d])?n.extend(r[d],l[d]):!n.isObject(r[d])&&n.isObject(l[d])?(r[d]={},n.extend(r[d],l[d])):r[d]=l[d]:r[d]=l[d])}}return r},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,n.flattenArray.apply(n,e)):o.push(e)})),o},classNames:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var o=[];e.forEach((function(e){"object"==typeof e&&e.constructor===Object?Object.keys(e).forEach((function(t){e[t]&&o.push(t)})):e&&o.push(e)}));var n=[];return o.forEach((function(e){n.indexOf(e)<0&&n.push(e)})),n.join(" ")},bindMethods:function(e,t){void 0===t&&(t=[]);for(var o=0;o<t.length;o+=1)e[t[o]]&&(e[t[o]]=e[t[o]].bind(e))}},r={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,a=e.bgColor,s=e.borderColor,i=e.rippleColor;return(t={"theme-dark":e.themeDark})["color-"+o]=o,t["color-theme-"+n]=n,t["text-color-"+r]=r,t["bg-color-"+a]=a,t["border-color-"+s]=s,t["ripple-color-"+i]=i,t},linkIconProps:{icon:String,iconMaterial:String,iconF7:String,iconIos:String,iconMd:String,iconAurora:String,iconColor:String,iconSize:[String,Number]},linkRouterProps:{back:Boolean,external:Boolean,force:Boolean,animate:{type:Boolean,default:void 0},ignoreCache:Boolean,reloadCurrent:Boolean,reloadAll:Boolean,reloadPrevious:Boolean,reloadDetail:{type:Boolean,default:void 0},routeTabId:String,view:String,routeProps:Object,preventRouter:Boolean,transition:String},linkRouterAttrs:function(e){var t,o,r=e.force,a=e.reloadCurrent,s=e.reloadPrevious,i=e.reloadAll,l=e.reloadDetail,p=e.animate,c=e.ignoreCache,u=e.routeTabId,d=e.view,f=e.transition;return"animate"in e&&void 0!==p&&(t=p.toString()),"reloadDetail"in e&&void 0!==l&&(o=l.toString()),{"data-force":r||void 0,"data-reload-current":a||void 0,"data-reload-all":i||void 0,"data-reload-previous":s||void 0,"data-reload-detail":o,"data-animate":t,"data-ignore-cache":c||void 0,"data-route-tab-id":u||void 0,"data-view":n.isStringProp(d)?d:void 0,"data-transition":n.isStringProp(f)?f:void 0}},linkRouterClasses:function(e){var t=e.back,o=e.linkBack;return{back:t||o,external:e.external,"prevent-router":e.preventRouter}},linkActionsProps:{searchbarEnable:[Boolean,String],searchbarDisable:[Boolean,String],searchbarClear:[Boolean,String],searchbarToggle:[Boolean,String],panelOpen:[Boolean,String],panelClose:[Boolean,String],panelToggle:[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],cardOpen:[Boolean,String],cardPreventOpen:[Boolean,String],cardClose:[Boolean,String],menuClose:{type:[Boolean,String],default:void 0}},linkActionsAttrs:function(e){var t=e.searchbarEnable,o=e.searchbarDisable,r=e.searchbarClear,a=e.searchbarToggle,s=e.panelOpen,i=e.panelClose,l=e.panelToggle,p=e.popupOpen,c=e.popupClose,u=e.actionsOpen,d=e.actionsClose,f=e.popoverOpen,h=e.popoverClose,m=e.loginScreenOpen,g=e.loginScreenClose,b=e.sheetOpen,v=e.sheetClose,y=e.sortableEnable,E=e.sortableDisable,S=e.sortableToggle,C=e.cardOpen,N=e.cardClose;return{"data-searchbar":n.isStringProp(t)&&t||n.isStringProp(o)&&o||n.isStringProp(r)&&r||n.isStringProp(a)&&a||void 0,"data-panel":n.isStringProp(s)&&s||n.isStringProp(i)&&i||n.isStringProp(l)&&l||void 0,"data-popup":n.isStringProp(p)&&p||n.isStringProp(c)&&c||void 0,"data-actions":n.isStringProp(u)&&u||n.isStringProp(d)&&d||void 0,"data-popover":n.isStringProp(f)&&f||n.isStringProp(h)&&h||void 0,"data-sheet":n.isStringProp(b)&&b||n.isStringProp(v)&&v||void 0,"data-login-screen":n.isStringProp(m)&&m||n.isStringProp(g)&&g||void 0,"data-sortable":n.isStringProp(y)&&y||n.isStringProp(E)&&E||n.isStringProp(S)&&S||void 0,"data-card":n.isStringProp(C)&&C||n.isStringProp(N)&&N||void 0}},linkActionsClasses:function(e){var t=e.searchbarEnable,o=e.searchbarDisable,n=e.searchbarClear,r=e.searchbarToggle,a=e.panelOpen,s=e.panelClose,i=e.panelToggle,l=e.popupOpen,p=e.popupClose,c=e.actionsClose,u=e.actionsOpen,d=e.popoverOpen,f=e.popoverClose,h=e.loginScreenOpen,m=e.loginScreenClose,g=e.sheetOpen,b=e.sheetClose,v=e.sortableEnable,y=e.sortableDisable,E=e.sortableToggle,S=e.cardOpen,C=e.cardPreventOpen,N=e.cardClose,k=e.menuClose;return{"searchbar-enable":t||""===t,"searchbar-disable":o||""===o,"searchbar-clear":n||""===n,"searchbar-toggle":r||""===r,"panel-close":s||""===s,"panel-open":a||""===a,"panel-toggle":i||""===i,"popup-close":p||""===p,"popup-open":l||""===l,"actions-close":c||""===c,"actions-open":u||""===u,"popover-close":f||""===f,"popover-open":d||""===d,"sheet-close":b||""===b,"sheet-open":g||""===g,"login-screen-close":m||""===m,"login-screen-open":h||""===h,"sortable-enable":v||""===v,"sortable-disable":y||""===y,"sortable-toggle":E||""===E,"card-close":N||""===N,"card-open":S||""===S,"card-prevent-open":C||""===C,"menu-close":k||""===k}}};function a(e){var t={};if(!e)return t;var o=e.children;if(!o||0===o.length)return t;function n(e,o){t[e]||(t[e]=[]),t[e].push(o)}if(Array.isArray(o))o.forEach((function(e){e&&n(e.props&&e.props.slot||"default",e)}));else{var r="default";o.props&&o.props.slot&&(r=o.props.slot),n(r,o)}return t}function s(){}function i(){}i.resetWarningCache=s;var l=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){e.exports=function(){function e(e,t,o,n,r,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var o={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:s};return o.PropTypes=o,o}()}));function p(e,t){var o=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};e.propTypes={},Object.keys(t).forEach((function(n){var r=t[n],a=void 0!==r.required,s=r.type||r;if(Array.isArray(s)?e.propTypes[n]=a?l.oneOfType(s.map(o)).required:l.oneOfType(s.map(o)):e.propTypes[n]=a?o(s).required:o(s),void 0!==r.default||"default"in r&&void 0===r.default){var i=r.type===Function||Array.isArray(r.type)&&r.type.indexOf(Function)>=0;e.defaultProps||(e.defaultProps={}),"function"!=typeof r.default||i?e.defaultProps[n]=r.default:e.defaultProps[n]=r.default()}}))}var c=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"accordion-item-content",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);function u(e,t){for(var o=[],n=arguments.length-2;n-- >0;)o[n]=arguments[n+2];var r=e;t&&t.trim().length&&"string"==typeof t&&t.trim().split(" ").forEach((function(e){var t,n=(e||"").trim();if(n){var a="on"+(n=n.charAt(0).toUpperCase()+n.slice(1));r.props[a]&&(t=r.props)[a].apply(t,o)}}))}p(c,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),c.displayName="f7-accordion-content";var d=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,"onBeforeOpen onOpen onOpened onBeforeClose onClose onClosed".split(" "))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onBeforeOpen=function(e,t){this.eventTargetEl===e&&this.dispatchEvent("accordionBeforeOpen accordion:beforeopen",t)},t.prototype.onOpen=function(e){this.eventTargetEl===e&&this.dispatchEvent("accordionOpen accordion:open")},t.prototype.onOpened=function(e){this.eventTargetEl===e&&this.dispatchEvent("accordionOpened accordion:opened")},t.prototype.onBeforeClose=function(e,t){this.eventTargetEl===e&&this.dispatchEvent("accordionBeforeClose accordion:beforeclose",t)},t.prototype.onClose=function(e){this.eventTargetEl===e&&this.dispatchEvent("accordionClose accordion:close")},t.prototype.onClosed=function(e){this.eventTargetEl===e&&this.dispatchEvent("accordionClosed accordion:closed")},t.prototype.render=function(){var e=this,t=this.props,a=t.className,s=t.id,i=t.style,l=t.opened,p=n.classNames(a,"accordion-item",{"accordion-item-opened":l},r.colorClasses(t));return o.default.createElement("div",{id:s,style:i,className:p,ref:function(t){e.__reactRefs.el=t}},this.slots.default)},t.prototype.componentWillUnmount=function(){if(this.refs.el&&this.$f7){var e=this.$f7;e.off("accordionBeforeOpen",this.onBeforeOpen),e.off("accordionOpen",this.onOpen),e.off("accordionOpened",this.onOpened),e.off("accordionBeforeClose",this.onBeforeClose),e.off("accordionClose",this.onClose),e.off("accordionClosed",this.onClosed),delete this.eventTargetEl}},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;t&&(e.eventTargetEl=t,e.$f7ready((function(t){t.on("accordionBeforeOpen",e.onBeforeOpen),t.on("accordionOpen",e.onOpen),t.on("accordionOpened",e.onOpened),t.on("accordionBeforeClose",e.onBeforeClose),t.on("accordionClose",e.onClose),t.on("accordionClosed",e.onClosed)})))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(d,Object.assign({id:[String,Number],className:String,style:Object,opened:Boolean},r.colorProps)),d.displayName="f7-accordion-item";var f=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"accordion-item-toggle",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(f,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),f.displayName="f7-accordion-toggle";var h=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=e.accordionOpposite,l=n.classNames(t,"accordion-list",i&&"accordion-opposite",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:l},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(h,Object.assign({id:[String,Number],className:String,style:Object,accordionOpposite:Boolean},r.colorProps)),h.displayName="f7-accordion";var m=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){var t=this.$$,o=this.refs.el;this.props.close&&this.$f7&&o&&this.$f7.actions.close(t(o).parents(".actions-modal")),this.dispatchEvent("click",e)},t.prototype.render=function(){var e,t=this,a=this.props,s=a.id,i=a.className,l=a.style,p=a.bold;this.slots.media&&this.slots.media.length&&(e=o.default.createElement("div",{className:"actions-button-media"},this.slots.media));var c=n.classNames(i,{"actions-button":!0,"actions-button-bold":p},r.colorClasses(a));return o.default.createElement("div",{id:s,style:l,className:c,ref:function(e){t.__reactRefs.el=e}},e,o.default.createElement("div",{className:"actions-button-text"},this.slots.default))},t.prototype.componentWillUnmount=function(){this.refs.el.removeEventListener("click",this.onClick)},t.prototype.componentDidMount=function(){this.refs.el.addEventListener("click",this.onClick)},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(m,Object.assign({id:[String,Number],className:String,style:Object,bold:Boolean,close:{type:Boolean,default:!0}},r.colorProps)),m.displayName="f7-actions-button";var g=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"actions-group",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(g,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),g.displayName="f7-actions-group";var b=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},t.prototype.render=function(){var e=this,t=this.props,a=t.className,s=t.id,i=t.style,l=t.bold,p=n.classNames(a,"actions-label",{"actions-button-bold":l},r.colorClasses(t));return o.default.createElement("div",{id:s,style:i,className:p,ref:function(t){e.__reactRefs.el=t}},this.slots.default)},t.prototype.componentWillUnmount=function(){this.refs.el.removeEventListener("click",this.onClick)},t.prototype.componentDidMount=function(){this.refs.el.addEventListener("click",this.onClick)},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);function v(e,t,o,n,r){var a,s;r&&(0===t.indexOf("props")?(a=e.props,s=o):0===t.indexOf("state")&&(a=e.state,s=n),t.slice(5).split(".").filter((function(e){return e})).forEach((function(e){null!=a&&(a=a[e]),null!=s&&(s=s[e])})),s!==a&&r&&r(a,s))}p(b,Object.assign({id:[String,Number],className:String,style:Object,bold:Boolean},r.colorProps)),b.displayName="f7-actions-label";var y=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onOpen","onOpened","onClose","onClosed"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onOpen=function(e){this.dispatchEvent("actions:open actionsOpen",e)},t.prototype.onOpened=function(e){this.dispatchEvent("actions:opened actionsOpened",e)},t.prototype.onClose=function(e){this.dispatchEvent("actions:close actionsClose",e)},t.prototype.onClosed=function(e){this.dispatchEvent("actions:closed actionsClosed",e)},t.prototype.open=function(e){if(this.f7Actions)return this.f7Actions.open(e)},t.prototype.close=function(e){if(this.f7Actions)return this.f7Actions.close(e)},t.prototype.render=function(){var e=this,t=this.props,a=t.className,s=t.id,i=t.style,l=t.grid,p=n.classNames(a,"actions-modal",{"actions-grid":l},r.colorClasses(t));return o.default.createElement("div",{id:s,style:i,ref:function(t){e.__reactRefs.el=t},className:p},this.slots.default)},t.prototype.componentWillUnmount=function(){this.f7Actions&&this.f7Actions.destroy(),delete this.f7Actions},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;if(t){var o=e.props,n=o.grid,r=o.target,a=o.convertToPopover,s=o.forceToPopover,i=o.opened,l=o.closeByBackdropClick,p=o.closeByOutsideClick,c=o.closeOnEscape,u=o.backdrop,d=o.backdropEl,f={el:t,grid:n,on:{open:e.onOpen,opened:e.onOpened,close:e.onClose,closed:e.onClosed}};r&&(f.targetEl=r),"convertToPopover"in o&&(f.convertToPopover=a),"forceToPopover"in o&&(f.forceToPopover=s),"backdrop"in o&&(f.backdrop=u),"backdropEl"in o&&(f.backdropEl=d),"closeByBackdropClick"in o&&(f.closeByBackdropClick=l),"closeByOutsideClick"in o&&(f.closeByOutsideClick=p),"closeOnEscape"in o&&(f.closeOnEscape=c),e.$f7ready((function(){e.f7Actions=e.$f7.actions.create(f),i&&e.f7Actions.open(!1)}))}},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.opened",e,t,(function(e){var t=o;t.f7Actions&&(e?t.f7Actions.open():t.f7Actions.close())}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(y,Object.assign({id:[String,Number],className:String,style:Object,opened:Boolean,grid:Boolean,convertToPopover:Boolean,forceToPopover:Boolean,target:[String,Object],backdrop:Boolean,backdropEl:[String,Object],closeByBackdropClick:Boolean,closeByOutsideClick:Boolean,closeOnEscape:Boolean},r.colorProps)),y.displayName="f7-actions";var E={instance:null,Framework7:null,events:null,init:function(e,t,o){void 0===t&&(t={});var r=E.events,a=E.Framework7,s=n.extend({},t,{root:e});o&&o.length&&!s.routes&&(s.routes=o);var i=new a(s);i.initialized?(E.instance=i,r.emit("ready",E.instance)):i.on("init",(function(){E.instance=i,r.emit("ready",E.instance)}))},ready:function(e){e&&(E.instance?e(E.instance):E.events.once("ready",e))},routers:{views:[],tabs:[],modals:null}},S=function(e){function t(t,o){e.call(this,t,o),this.__reactRefs={},this.state={modals:[]}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={refs:{configurable:!0}};return t.prototype.render=function(){var e=this;return o.default.createElement("div",{ref:function(t){e.__reactRefs.el=t},className:"framework7-modals"},this.state.modals.map((function(e){var t=e.component;return o.default.createElement(t,Object.assign({key:e.id},e.props))})))},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;e.routerData={modals:e.state.modals,el:t,component:e,setModals:function(t){e.setState({modals:t})}},E.routers.modals=e.routerData},t.prototype.componentWillUnmount=function(){this.routerData&&(E.routers.modals=null,this.routerData=null,delete this.routerData)},t.prototype.componentDidUpdate=function(){this.routerData&&E.events.emit("modalsRouterDidUpdate",this.routerData)},n.refs.get=function(){return this.__reactRefs},n.refs.set=function(e){},Object.defineProperties(t.prototype,n),t}(o.default.Component);S.displayName="f7-routable-modals";var C=function(e){function t(t,o){e.call(this,t,o),this.__reactRefs={}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.render=function(){var e=this,t=this.props,a=t.id,s=t.style,i=t.className,l=n.classNames(i,"framework7-root",r.colorClasses(t));return o.default.createElement("div",{ref:function(t){e.__reactRefs.el=t},id:a||"framework7-root",style:s,className:l},this.slots.default,o.default.createElement(S,null))},t.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%"),E.instance||E.init(n,t,o)},s.slots.get=function(){return a(this.props)},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(C,Object.assign({id:[String,Number],className:String,style:Object,params:Object,routes:Array},r.colorProps)),C.displayName="f7-app";var N=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e,t=this.props,a=t.inner,s=t.innerClass,i=t.innerClassName,l=t.className,p=t.id,c=t.style,u=t.noShadow,d=t.noHairline;a&&(e=o.default.createElement("div",{className:n.classNames("appbar-inner",s,i)},this.slots.default));var f=n.classNames(l,"appbar",{"no-shadow":u,"no-hairline":d},r.colorClasses(t));return o.default.createElement("div",{id:p,style:c,className:f},this.slots["before-inner"],e||this.slots.default,this.slots["after-inner"])},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(N,Object.assign({id:[String,Number],className:String,style:Object,noShadow:Boolean,noHairline:Boolean,inner:{type:Boolean,default:!0},innerClass:String,innerClassName:String},r.colorProps)),N.displayName="f7-appbar";var k=function(e){function t(t,o){e.call(this,t,o),this.__reactRefs={}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.render=function(){var e=this,t=this.props,a=t.className,s=t.id,i=t.style,l=n.classNames(a,"badge",r.colorClasses(t));return o.default.createElement("span",{ref:function(t){e.__reactRefs.el=t},id:s,style:i,className:l},this.slots.default)},t.prototype.componentWillUnmount=function(){this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip)},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;if(t){var o=e.props,n=o.tooltip,r=o.tooltipTrigger;n&&e.$f7ready((function(o){e.f7Tooltip=o.tooltip.create({targetEl:t,text:n,trigger:r})}))}},s.slots.get=function(){return a(this.props)},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.tooltip",e,t,(function(e){var t=o;if(!e&&t.f7Tooltip)return t.f7Tooltip.destroy(),t.f7Tooltip=null,void delete t.f7Tooltip;e&&!t.f7Tooltip&&t.$f7?t.f7Tooltip=t.$f7.tooltip.create({targetEl:t.refs.el,text:e,trigger:t.props.tooltipTrigger}):e&&t.f7Tooltip&&t.f7Tooltip.setText(e)}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(k,Object.assign({id:[String,Number],className:String,style:Object,tooltip:String,tooltipTrigger:String},r.colorProps)),k.displayName="f7-badge";var B=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"block-footer",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(B,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),B.displayName="f7-block-footer";var O=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"block-header",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(O,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),O.displayName="f7-block-header";var w=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=e.large,l=e.medium,p=n.classNames(t,"block-title",{"block-title-large":i,"block-title-medium":l},r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:p},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(w,Object.assign({id:[String,Number],className:String,style:Object,large:Boolean,medium:Boolean},r.colorProps)),w.displayName="f7-block-title";var _=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onTabShow","onTabHide"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onTabShow=function(e){this.eventTargetEl===e&&this.dispatchEvent("tabShow tab:show",e)},t.prototype.onTabHide=function(e){this.eventTargetEl===e&&this.dispatchEvent("tabHide tab:hide",e)},t.prototype.render=function(){var e=this,t=this.props,a=t.className,s=t.inset,i=t.xsmallInset,l=t.smallInset,p=t.mediumInset,c=t.largeInset,u=t.xlargeInset,d=t.strong,f=t.accordionList,h=t.accordionOpposite,m=t.tabs,g=t.tab,b=t.tabActive,v=t.noHairlines,y=t.noHairlinesIos,E=t.noHairlinesMd,S=t.noHairlinesAurora,C=t.id,N=t.style,k=n.classNames(a,"block",{inset:s,"xsmall-inset":i,"small-inset":l,"medium-inset":p,"large-inset":c,"xlarge-inset":u,"block-strong":d,"accordion-list":f,"accordion-opposite":h,tabs:m,tab:g,"tab-active":b,"no-hairlines":v,"no-hairlines-md":E,"no-hairlines-ios":y,"no-hairlines-aurora":S},r.colorClasses(t));return o.default.createElement("div",{id:C,style:N,className:k,ref:function(t){e.__reactRefs.el=t}},this.slots.default)},t.prototype.componentWillUnmount=function(){this.refs.el&&this.$f7&&(this.$f7.off("tabShow",this.onTabShow),this.$f7.off("tabHide",this.onTabHide),delete this.eventTargetEl)},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;t&&(e.eventTargetEl=t,e.$f7ready((function(t){t.on("tabShow",e.onTabShow),t.on("tabHide",e.onTabHide)})))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(_,Object.assign({id:[String,Number],className:String,style:Object,inset:Boolean,xsmallInset:Boolean,smallInset:Boolean,mediumInset:Boolean,largeInset:Boolean,xlargeInset:Boolean,strong:Boolean,tabs:Boolean,tab:Boolean,tabActive:Boolean,accordionList:Boolean,accordionOpposite:Boolean,noHairlines:Boolean,noHairlinesMd:Boolean,noHairlinesIos:Boolean,noHairlinesAurora:Boolean},r.colorProps)),_.displayName="f7-block";var P=function(e){function t(t,o){var n=this;e.call(this,t,o),this.__reactRefs={},this.state=function(){var e=n,t=e.$f7;return t||e.$f7ready((function(){e.setState({_theme:e.$theme})})),{_theme:t?e.$theme:null}}()}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={iconTextComputed:{configurable:!0},classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return s.iconTextComputed.get=function(){var e=this.props,t=e.material,o=e.f7,n=e.md,r=e.ios,a=e.aurora,s=this.state._theme,i=t||o;return n&&s&&s.md&&(n.indexOf("material:")>=0||n.indexOf("f7:")>=0)?i=n.split(":")[1]:r&&s&&s.ios&&(r.indexOf("material:")>=0||r.indexOf("f7:")>=0)?i=r.split(":")[1]:a&&s&&s.aurora&&(a.indexOf("material:")>=0||a.indexOf("f7:")>=0)&&(i=a.split(":")[1]),i},s.classes.get=function(){var e,t={icon:!0},o=this.props,a=this.state._theme,s=o.material,i=o.f7,l=o.icon,p=o.md,c=o.ios,u=o.aurora,d=o.className;if(a&&a.ios?e=c:a&&a.md?e=p:a&&a.aurora&&(e=u),e){var f=e.split(":"),h=f[0],m=f[1];"material"!==h&&"f7"!==h||(t["material-icons"]="material"===h,t["f7-icons"]="f7"===h),"icon"===h&&(t[m]=!0)}else t={icon:!0,"material-icons":s,"f7-icons":i},l&&(t[l]=!0);return n.classNames(d,t,r.colorClasses(o))},t.prototype.render=function(){var e=this,t=this.props,r=t.id,a=t.style,s=t.size;return"number"!=typeof s&&parseFloat(s)!==1*s||(s+="px"),o.default.createElement("i",{ref:function(t){e.__reactRefs.el=t},id:r,style:n.extend({fontSize:s,width:s,height:s},a),className:this.classes},this.iconTextComputed,this.slots.default)},t.prototype.componentWillUnmount=function(){this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip)},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;if(t){var o=e.props,n=o.tooltip,r=o.tooltipTrigger;n&&e.$f7ready((function(o){e.f7Tooltip=o.tooltip.create({targetEl:t,text:n,trigger:r})}))}},s.slots.get=function(){return a(this.props)},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.tooltip",e,t,(function(e){var t=o;if(!e&&t.f7Tooltip)return t.f7Tooltip.destroy(),t.f7Tooltip=null,void delete t.f7Tooltip;e&&!t.f7Tooltip&&t.$f7?t.f7Tooltip=t.$f7.tooltip.create({targetEl:t.refs.el,text:e,trigger:t.props.tooltipTrigger}):e&&t.f7Tooltip&&t.f7Tooltip.setText(e)}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(P,Object.assign({id:[String,Number],className:String,style:Object,material:String,f7:String,icon:String,ios:String,aurora:String,md:String,tooltip:String,tooltipTrigger:String,size:[String,Number]},r.colorProps)),P.displayName="f7-icon";var T=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={attrs:{configurable:!0},classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},s.attrs.get=function(){var e=this.props,t=e.href,o=e.target,a=e.tabLink,s=e.type,i=t;return!0===t&&(i="#"),!1===t&&(i=void 0),n.extend({href:i,target:o,type:s,"data-tab":n.isStringProp(a)&&a||void 0},r.linkRouterAttrs(e),r.linkActionsAttrs(e))},s.classes.get=function(){var e=this.props,t=e.tabLink,o=e.tabLinkActive,a=e.round,s=e.roundIos,i=e.roundAurora,l=e.roundMd,p=e.fill,c=e.fillIos,u=e.fillAurora,d=e.fillMd,f=e.large,h=e.largeIos,m=e.largeAurora,g=e.largeMd,b=e.small,v=e.smallIos,y=e.smallAurora,E=e.smallMd,S=e.raised,C=e.raisedIos,N=e.raisedAurora,k=e.raisedMd,B=e.active,O=e.outline,w=e.outlineIos,_=e.outlineAurora,P=e.outlineMd,T=e.disabled,j=e.className;return n.classNames(j,"button",{"tab-link":t||""===t,"tab-link-active":o,"button-round":a,"button-round-ios":s,"button-round-aurora":i,"button-round-md":l,"button-fill":p,"button-fill-ios":c,"button-fill-aurora":u,"button-fill-md":d,"button-large":f,"button-large-ios":h,"button-large-aurora":m,"button-large-md":g,"button-small":b,"button-small-ios":v,"button-small-aurora":y,"button-small-md":E,"button-raised":S,"button-raised-ios":C,"button-raised-aurora":N,"button-raised-md":k,"button-active":B,"button-outline":O,"button-outline-ios":w,"button-outline-aurora":_,"button-outline-md":P,disabled:T},r.colorClasses(e),r.linkRouterClasses(e),r.linkActionsClasses(e))},t.prototype.render=function(){var e,t,n=this,r=this.props,a=r.text,s=r.icon,i=r.iconMaterial,l=r.iconF7,p=r.iconMd,c=r.iconIos,u=r.iconAurora,d=r.iconColor,f=r.iconSize,h=r.id,m=r.style,g=r.type;a&&(t=o.default.createElement("span",null,a)),(s||i||l||p||c||u)&&(e=o.default.createElement(P,{material:i,f7:l,icon:s,md:p,ios:c,aurora:u,color:d,size:f}));var b="submit"===g||"reset"===g||"button"===g?"button":"a";return o.default.createElement(b,Object.assign({ref:function(e){n.__reactRefs.el=e},id:h,style:m,className:this.classes},this.attrs),e,t,this.slots.default)},t.prototype.componentWillUnmount=function(){var e=this.refs.el;e.removeEventListener("click",this.onClick),delete e.f7RouteProps,this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip)},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.tooltip",e,t,(function(e){var t=o;if(!e&&t.f7Tooltip)return t.f7Tooltip.destroy(),t.f7Tooltip=null,void delete t.f7Tooltip;e&&!t.f7Tooltip&&t.$f7?t.f7Tooltip=t.$f7.tooltip.create({targetEl:t.refs.el,text:e,trigger:t.props.tooltipTrigger}):e&&t.f7Tooltip&&t.f7Tooltip.setText(e)}));var n=this.refs.el,r=this.props.routeProps;r&&(n.f7RouteProps=r)},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;t.addEventListener("click",e.onClick);var o=e.props,n=o.tooltip,r=o.tooltipTrigger,a=o.routeProps;a&&(t.f7RouteProps=a),n&&e.$f7ready((function(o){e.f7Tooltip=o.tooltip.create({targetEl:t,text:n,trigger:r})}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(T,Object.assign({id:[String,Number],className:String,style:Object,text:String,tabLink:[Boolean,String],tabLinkActive:Boolean,type:String,href:{type:[String,Boolean],default:"#"},target:String,round:Boolean,roundMd:Boolean,roundIos:Boolean,roundAurora:Boolean,fill:Boolean,fillMd:Boolean,fillIos:Boolean,fillAurora:Boolean,large:Boolean,largeMd:Boolean,largeIos:Boolean,largeAurora:Boolean,small:Boolean,smallMd:Boolean,smallIos:Boolean,smallAurora:Boolean,raised:Boolean,raisedMd:Boolean,raisedIos:Boolean,raisedAurora:Boolean,outline:Boolean,outlineMd:Boolean,outlineIos:Boolean,outlineAurora:Boolean,active:Boolean,disabled:Boolean,tooltip:String,tooltipTrigger:String},r.colorProps,r.linkIconProps,r.linkRouterProps,r.linkActionsProps)),T.displayName="f7-button";var j=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.id,a=e.className,s=e.style,i=e.padding,l=n.classNames(a,"card-content",{"card-content-padding":i},r.colorClasses(e));return o.default.createElement("div",{id:t,style:s,className:l},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(j,Object.assign({id:[String,Number],className:String,style:Object,padding:{type:Boolean,default:!0}},r.colorProps)),j.displayName="f7-card-content";var x=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"card-footer",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(x,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),x.displayName="f7-card-footer";var R=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"card-header",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(R,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),R.displayName="f7-card-header";var M=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,"onBeforeOpen onOpen onOpened onClose onClosed".split(" "))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.open=function(){this.refs.el&&this.$f7.card.open(this.refs.el)},t.prototype.close=function(){this.refs.el&&this.$f7.card.close(this.refs.el)},t.prototype.onBeforeOpen=function(e,t){this.eventTargetEl===e&&this.dispatchEvent("cardBeforeOpen card:beforeopen",e,t)},t.prototype.onOpen=function(e){this.eventTargetEl===e&&this.dispatchEvent("cardOpen card:open",e)},t.prototype.onOpened=function(e,t){this.eventTargetEl===e&&this.dispatchEvent("cardOpened card:opened",e,t)},t.prototype.onClose=function(e){this.eventTargetEl===e&&this.dispatchEvent("cardClose card:close",e)},t.prototype.onClosed=function(e,t){this.eventTargetEl===e&&this.dispatchEvent("cardClosed card:closed",e,t)},t.prototype.render=function(){var e,t,a,s=this,i=this.props,l=i.className,p=i.id,c=i.style,u=i.title,d=i.content,f=i.footer,h=i.padding,m=i.outline,g=i.expandable,b=i.expandableAnimateWidth,v=i.animate,y=i.hideNavbarOnOpen,E=i.hideToolbarOnOpen,S=i.hideStatusbarOnOpen,C=i.scrollableEl,N=i.swipeToClose,k=i.closeByBackdropClick,B=i.backdrop,O=i.backdropEl,w=i.noShadow,_=i.noBorder,P=n.classNames(l,"card",{"card-outline":m,"card-expandable":g,"card-expandable-animate-width":b,"no-shadow":w,"no-border":_},r.colorClasses(i));return(u||this.slots&&this.slots.header)&&(e=o.default.createElement(R,null,u,this.slots.header)),(d||this.slots&&this.slots.content)&&(t=o.default.createElement(j,{padding:h},d,this.slots.content)),(f||this.slots&&this.slots.footer)&&(a=o.default.createElement(x,null,f,this.slots.footer)),o.default.createElement("div",{id:p,style:c,className:P,ref:function(e){s.__reactRefs.el=e},"data-animate":void 0===v?v:v.toString(),"data-hide-navbar-on-open":void 0===y?y:y.toString(),"data-hide-toolbar-on-open":void 0===E?E:E.toString(),"data-hide-statusbar-on-open":void 0===S?S:S.toString(),"data-scrollable-el":C,"data-swipe-to-close":void 0===N?N:N.toString(),"data-close-by-backdrop-click":void 0===k?k:k.toString(),"data-backdrop":void 0===B?B:B.toString(),"data-backdrop-el":O},e,t,a,this.slots.default)},t.prototype.componentWillUnmount=function(){this.props.expandable&&(this.refs.el&&this.$f7&&(this.$f7.off("cardBeforeOpen",this.onBeforeOpen),this.$f7.off("cardOpen",this.onOpen),this.$f7.off("cardOpened",this.onOpened),this.$f7.off("cardClose",this.onClose),this.$f7.off("cardClosed",this.onClosed),this.eventTargetEl=null,delete this.eventTargetEl))},t.prototype.componentDidMount=function(){var e=this;if(e.props.expandable){var t=e.refs.el;t&&(e.eventTargetEl=t,e.$f7ready((function(o){o.on("cardBeforeOpen",e.onBeforeOpen),o.on("cardOpen",e.onOpen),o.on("cardOpened",e.onOpened),o.on("cardClose",e.onClose),o.on("cardClosed",e.onClosed),e.props.expandable&&e.props.expandableOpened&&e.$f7.card.open(t,!1)})))}},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.expandableOpened",e,t,(function(e){var t=o;e?t.open():t.close()}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(M,Object.assign({id:[String,Number],className:String,style:Object,title:[String,Number],content:[String,Number],footer:[String,Number],outline:Boolean,expandable:Boolean,expandableAnimateWidth:Boolean,expandableOpened:Boolean,animate:{type:Boolean,default:void 0},hideNavbarOnOpen:{type:Boolean,default:void 0},hideToolbarOnOpen:{type:Boolean,default:void 0},hideStatusbarOnOpen:{type:Boolean,default:void 0},scrollableEl:{type:String,default:void 0},swipeToClose:{type:Boolean,default:void 0},closeByBackdropClick:{type:Boolean,default:void 0},backdrop:{type:Boolean,default:void 0},backdropEl:{type:String,default:void 0},noShadow:Boolean,noBorder:Boolean,padding:{type:Boolean,default:!0}},r.colorProps)),M.displayName="f7-card";var I=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onChange"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onChange=function(e){this.dispatchEvent("change",e)},s.classes.get=function(){var e=this.props,t=e.className,o=e.disabled;return n.classNames(t,{checkbox:!0,disabled:o},r.colorClasses(e))},t.prototype.render=function(){var e,t=this,n=this.props,r=n.name,a=n.value,s=n.disabled,i=n.readonly,l=n.checked,p=n.defaultChecked,c=n.id,u=n.style;e=o.default.createElement("input",{ref:function(e){t.__reactRefs.inputEl=e},type:"checkbox",name:r,value:a,disabled:s,readOnly:i,checked:l,defaultChecked:p,onChange:this.onChange});var d=o.default.createElement("i",{className:"icon-checkbox"});return o.default.createElement("label",{id:c,style:u,className:this.classes},e,d,this.slots.default)},t.prototype.componentDidUpdate=function(){var e=this.refs.inputEl,t=this.props.indeterminate;e&&(e.indeterminate=t)},t.prototype.componentDidMount=function(){var e=this.refs.inputEl;this.props.indeterminate&&e&&(e.indeterminate=!0)},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(I,Object.assign({id:[String,Number],className:String,style:Object,checked:Boolean,indeterminate:Boolean,name:[Number,String],value:[Number,String,Boolean],disabled:Boolean,readonly:Boolean,defaultChecked:Boolean},r.colorProps)),I.displayName="f7-checkbox";var A=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick","onDeleteClick"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},t.prototype.onDeleteClick=function(e){this.dispatchEvent("delete",e)},t.prototype.render=function(){var e,t,a,s,i=this,l=this.props,p=l.media,c=l.text,u=l.deleteable,d=l.className,f=l.id,h=l.style,m=l.mediaTextColor,g=l.mediaBgColor,b=l.outline,v=l.icon,y=l.iconMaterial,E=l.iconF7,S=l.iconMd,C=l.iconIos,N=l.iconAurora,k=l.iconColor,B=l.iconSize;if((v||y||E||S||C||N)&&(e=o.default.createElement(P,{material:y,f7:E,icon:v,md:S,ios:C,aurora:N,color:k,size:B})),p||e||this.slots&&this.slots.media){var O=n.classNames("chip-media",m&&"text-color-"+m,g&&"bg-color-"+g);t=o.default.createElement("div",{className:O},e,p,this.slots.media)}(c||this.slots&&(this.slots.text||this.slots.default&&this.slots.default.length))&&(a=o.default.createElement("div",{className:"chip-label"},c,this.slots.text,this.slots.default)),u&&(s=o.default.createElement("a",{ref:function(e){i.__reactRefs.deleteEl=e},className:"chip-delete"}));var w=n.classNames(d,"chip",{"chip-outline":b},r.colorClasses(l));return o.default.createElement("div",{ref:function(e){i.__reactRefs.el=e},id:f,style:h,className:w},t,a,s)},t.prototype.componentWillUnmount=function(){this.refs.el.removeEventListener("click",this.onClick),this.refs.deleteEl&&this.refs.deleteEl.removeEventListener("click",this.onDeleteClick),this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip)},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;t.addEventListener("click",e.onClick),e.refs.deleteEl&&e.refs.deleteEl.addEventListener("click",e.onDeleteClick);var o=e.props,n=o.tooltip,r=o.tooltipTrigger;n&&e.$f7ready((function(o){e.f7Tooltip=o.tooltip.create({targetEl:t,text:n,trigger:r})}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.tooltip",e,t,(function(e){var t=o;if(!e&&t.f7Tooltip)return t.f7Tooltip.destroy(),t.f7Tooltip=null,void delete t.f7Tooltip;e&&!t.f7Tooltip&&t.$f7?t.f7Tooltip=t.$f7.tooltip.create({targetEl:t.refs.el,text:e,trigger:t.props.tooltipTrigger}):e&&t.f7Tooltip&&t.f7Tooltip.setText(e)}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(A,Object.assign({id:[String,Number],className:String,style:Object,media:String,text:[String,Number],deleteable:Boolean,mediaBgColor:String,mediaTextColor:String,outline:Boolean,tooltip:String,tooltipTrigger:String},r.colorProps,r.linkIconProps)),A.displayName="f7-chip";var L=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick","onResize"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},t.prototype.onResize=function(e){e===this.eventTargetEl&&this.dispatchEvent("grid:resize gridResize")},t.prototype.render=function(){var e,t=this,a=this.props,s=a.className,i=a.id,l=a.style,p=a.tag,c=a.width,u=a.xsmall,d=a.small,f=a.medium,h=a.large,m=a.xlarge,g=a.resizable,b=a.resizableFixed,v=a.resizableAbsolute,y=a.resizableHandler,E=p,S=n.classNames(s,((e={col:"auto"===c})["col-"+c]="auto"!==c,e["xsmall-"+u]=u,e["small-"+d]=d,e["medium-"+f]=f,e["large-"+h]=h,e["xlarge-"+m]=m,e.resizable=g,e["resizable-fixed"]=b,e["resizable-absolute"]=v,e),r.colorClasses(a));return o.default.createElement(E,{id:i,style:l,className:S,ref:function(e){t.__reactRefs.el=e}},this.slots.default,g&&y&&o.default.createElement("span",{className:"resize-handler"}))},t.prototype.componentWillUnmount=function(){var e=this.refs.el;e&&this.$f7&&(e.removeEventListener("click",this.onClick),this.$f7.off("gridResize",this.onResize),delete this.eventTargetEl)},t.prototype.componentDidMount=function(){var e=this;e.eventTargetEl=e.refs.el,e.eventTargetEl.addEventListener("click",e.onClick),e.$f7ready((function(t){t.on("gridResize",e.onResize)}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(L,Object.assign({id:[String,Number],className:String,style:Object,tag:{type:String,default:"div"},width:{type:[Number,String],default:"auto"},xsmall:{type:[Number,String]},small:{type:[Number,String]},medium:{type:[Number,String]},large:{type:[Number,String]},xlarge:{type:[Number,String]},resizable:Boolean,resizableFixed:Boolean,resizableAbsolute:Boolean,resizableHandler:{type:Boolean,default:!0}},r.colorProps)),L.displayName="f7-col";var D=function(e){function t(t,o){e.call(this,t,o)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.className,r=e.id,a=e.style,s=n.classNames(t,"fab-backdrop");return o.default.createElement("div",{id:r,style:a,className:s})},t}(o.default.Component);p(D,{id:[String,Number],className:String,style:Object}),D.displayName="f7-fab-backdrop";var $=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},t.prototype.render=function(){var e,t=this,a=this.props,s=a.className,i=a.id,l=a.style,p=a.fabClose,c=a.label,u=a.target,d=n.classNames(s,{"fab-close":p,"fab-label-button":c},r.colorClasses(a));return c&&(e=o.default.createElement("span",{className:"fab-label"},c)),o.default.createElement("a",{ref:function(e){t.__reactRefs.el=e},id:i,style:l,target:u,className:d},this.slots.default,e)},t.prototype.componentWillUnmount=function(){this.refs.el.removeEventListener("click",this.onClick),this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip)},t.prototype.componentDidMount=function(){var e=this;e.refs.el.addEventListener("click",e.onClick);var t=e.props,o=t.tooltip,n=t.tooltipTrigger;o&&e.$f7ready((function(t){e.f7Tooltip=t.tooltip.create({targetEl:e.refs.el,text:o,trigger:n})}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.tooltip",e,t,(function(e){var t=o;if(!e&&t.f7Tooltip)return t.f7Tooltip.destroy(),t.f7Tooltip=null,void delete t.f7Tooltip;e&&!t.f7Tooltip&&t.$f7?t.f7Tooltip=t.$f7.tooltip.create({targetEl:t.refs.el,text:e,trigger:t.props.tooltipTrigger}):e&&t.f7Tooltip&&t.f7Tooltip.setText(e)}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p($,Object.assign({id:[String,Number],className:String,style:Object,fabClose:Boolean,label:String,target:String,tooltip:String,tooltipTrigger:String},r.colorProps)),$.displayName="f7-fab-button";var z=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=e.position,l=n.classNames(t,"fab-buttons","fab-buttons-"+i,r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:l},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(z,Object.assign({id:[String,Number],className:String,style:Object,position:{type:String,default:"top"}},r.colorProps)),z.displayName="f7-fab-buttons";var U=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},t.prototype.render=function(){var e=this,t=this.props,a=t.className,s=t.id,i=t.style,l=t.morphTo,p=t.href,c=t.position,u=t.text,d=t.target,f=p;!0===f&&(f="#"),!1===f&&(f=void 0);var h,m,g=[],b=[],v=this.slots,y=v.link,E=v.default,S=v.root,C=v.text;if(E)for(var N=0;N<E.length;N+=1){var k=E[N],B=void 0,O=k.type&&(k.type.displayName||k.type.name);"F7FabButtons"!==O&&"f7-fab-buttons"!==O||(B=!0),B?b.push(k):g.push(k)}(u||C&&C.length)&&(h=o.default.createElement("div",{className:"fab-text"},u||C)),(g.length||y&&y.length||h)&&(m=o.default.createElement("a",{ref:function(t){e.__reactRefs.linkEl=t},target:d,href:f},g,h,y));var w=n.classNames(a,"fab","fab-"+c,{"fab-morph":l,"fab-extended":void 0!==h},r.colorClasses(t));return o.default.createElement("div",{id:s,style:i,className:w,"data-morph-to":l},m,b,S)},t.prototype.componentWillUnmount=function(){this.refs.linkEl&&this.refs.linkEl.removeEventListener("click",this.onClick),this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip)},t.prototype.componentDidMount=function(){var e=this;e.refs.linkEl&&e.refs.linkEl.addEventListener("click",e.onClick);var t=e.props,o=t.tooltip,n=t.tooltipTrigger;o&&e.$f7ready((function(t){e.f7Tooltip=t.tooltip.create({targetEl:e.refs.el,text:o,trigger:n})}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.tooltip",e,t,(function(e){var t=o;if(!e&&t.f7Tooltip)return t.f7Tooltip.destroy(),t.f7Tooltip=null,void delete t.f7Tooltip;e&&!t.f7Tooltip&&t.$f7?t.f7Tooltip=t.$f7.tooltip.create({targetEl:t.refs.el,text:e,trigger:t.props.tooltipTrigger}):e&&t.f7Tooltip&&t.f7Tooltip.setText(e)}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(U,Object.assign({id:[String,Number],className:String,style:Object,morphTo:String,href:[Boolean,String],target:String,text:String,position:{type:String,default:"right-bottom"},tooltip:String,tooltipTrigger:String},r.colorProps)),U.displayName="f7-fab";var H=function(e){function t(t,o){e.call(this,t,o)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.className,r=e.id,a=e.style,s=e.type,i=e.value,l=e.size,p=e.bgColor,c=e.borderBgColor,u=e.borderColor,d=e.borderWidth,f=e.valueText,h=e.valueTextColor,m=e.valueFontSize,g=e.valueFontWeight,b=e.labelText,v=e.labelTextColor,y=e.labelFontSize,E=e.labelFontWeight,S=n.classNames(t,"gauge"),C="semicircle"===s,N=l/2-d/2,k=2*Math.PI*N,B=Math.max(Math.min(i,1),0);return o.default.createElement("div",{id:r,style:a,className:S},o.default.createElement("svg",{className:"gauge-svg",width:l+"px",height:(C?l/2:l)+"px",viewBox:"0 0 "+l+" "+(C?l/2:l)},C&&o.default.createElement("path",{className:"gauge-back-semi",d:"M"+(l-d/2)+","+l/2+" a1,1 0 0,0 -"+(l-d)+",0",stroke:c,strokeWidth:d,fill:p||"none"}),C&&o.default.createElement("path",{className:"gauge-front-semi",d:"M"+(l-d/2)+","+l/2+" a1,1 0 0,0 -"+(l-d)+",0",stroke:u,strokeWidth:d,strokeDasharray:k/2,strokeDashoffset:k/2*(1+B),fill:c?"none":p||"none"}),!C&&c&&o.default.createElement("circle",{className:"gauge-back-circle",stroke:c,strokeWidth:d,fill:p||"none",cx:l/2,cy:l/2,r:N}),!C&&o.default.createElement("circle",{className:"gauge-front-circle",transform:"rotate(-90 "+l/2+" "+l/2+")",stroke:u,strokeWidth:d,strokeDasharray:k,strokeDashoffset:k*(1-B),fill:c?"none":p||"none",cx:l/2,cy:l/2,r:N}),f&&o.default.createElement("text",{className:"gauge-value-text",x:"50%",y:C?"100%":"50%",fontWeight:g,fontSize:m,fill:h,dy:C?b?-y-15:-5:0,textAnchor:"middle",dominantBaseline:C?null:"middle"},f),b&&o.default.createElement("text",{className:"gauge-label-text",x:"50%",y:C?"100%":"50%",fontWeight:E,fontSize:y,fill:v,dy:C?-5:f?m/2+10:0,textAnchor:"middle",dominantBaseline:C?null:"middle"},b)))},t}(o.default.Component);p(H,{id:[String,Number],className:String,style:Object,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}}),H.displayName="f7-gauge";var F=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onChange"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var a={refs:{configurable:!0}};return t.prototype.toggle=function(){this.f7Toggle&&this.f7Toggle.toggle&&this.f7Toggle.toggle()},t.prototype.onChange=function(e){this.dispatchEvent("change",e)},t.prototype.render=function(){var e,t=this,a=this.props,s=a.className,i=a.disabled,l=a.id,p=a.style,c=a.name,u=a.readonly,d=a.checked,f=a.defaultChecked,h=a.value,m=n.classNames("toggle",s,{disabled:i},r.colorClasses(a));return e=o.default.createElement("input",{ref:function(e){t.__reactRefs.inputEl=e},type:"checkbox",name:c,disabled:i,readOnly:u,checked:d,defaultChecked:f,value:h,onChange:this.onChange}),o.default.createElement("label",{ref:function(e){t.__reactRefs.el=e},id:l,style:p,className:m},e,o.default.createElement("span",{className:"toggle-icon"}))},t.prototype.componentWillUnmount=function(){this.f7Toggle&&this.f7Toggle.destroy&&this.f7Toggle.$el&&this.f7Toggle.destroy()},t.prototype.componentDidMount=function(){var e=this;e.props.init&&e.$f7ready((function(t){e.f7Toggle=t.toggle.create({el:e.refs.el,on:{change:function(t){e.dispatchEvent("toggle:change toggleChange",t.checked)}}})}))},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},a.refs.get=function(){return this.__reactRefs},a.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.checked",e,t,(function(e){var t=o;t.f7Toggle&&(t.f7Toggle.checked=e)}))},Object.defineProperties(t.prototype,a),t}(o.default.Component);p(F,Object.assign({id:[String,Number],className:String,style:Object,init:{type:Boolean,default:!0},checked:Boolean,defaultChecked:Boolean,disabled:Boolean,readonly:Boolean,name:String,value:[String,Number,Array]},r.colorProps)),F.displayName="f7-toggle";var V=function(e){function t(t,o){e.call(this,t,o),this.__reactRefs={}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.setValue=function(e){this.f7Range&&this.f7Range.setValue&&this.f7Range.setValue(e)},t.prototype.getValue=function(){if(this.f7Range&&this.f7Range.getValue)return this.f7Range.getValue()},t.prototype.render=function(){var e=this,t=this.props,a=this.props,s=a.id,i=a.disabled,l=a.className,p=a.style,c=a.input,u=a.inputId,d=a.name,f=a.vertical,h=a.verticalReversed,m=n.classNames(l,"range-slider",{"range-slider-horizontal":!f,"range-slider-vertical":f,"range-slider-vertical-reversed":f&&h,disabled:i},r.colorClasses(t));return o.default.createElement("div",{ref:function(t){e.__reactRefs.el=t},id:s,style:p,className:m},c&&o.default.createElement("input",{type:"range",name:d,id:u}),this.slots.default)},t.prototype.componentWillUnmount=function(){this.f7Range&&this.f7Range.destroy&&this.f7Range.destroy()},t.prototype.componentDidMount=function(){var e=this;e.$f7ready((function(t){if(e.props.init){var o=e.props,r=o.value,a=o.min,s=o.max,i=o.step,l=o.label,p=o.dual,c=o.draggableBar,u=o.vertical,d=o.verticalReversed,f=o.formatLabel,h=o.scale,m=o.scaleSteps,g=o.scaleSubSteps,b=o.formatScaleLabel,v=o.limitKnobPosition;e.f7Range=t.range.create(n.noUndefinedProps({el:e.refs.el,value:r,min:a,max:s,step:i,label:l,dual:p,draggableBar:c,vertical:u,verticalReversed:d,formatLabel:f,scale:h,scaleSteps:m,scaleSubSteps:g,formatScaleLabel:b,limitKnobPosition:v,on:{change:function(t,o){e.dispatchEvent("range:change rangeChange",o)},changed:function(t,o){e.dispatchEvent("range:changed rangeChanged",o)}}}))}}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.value",e,t,(function(e){var t=o;t.f7Range&&t.f7Range.setValue(e)}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(V,Object.assign({id:[String,Number],className:String,style:Object,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},vertical:{type:Boolean,default:!1},verticalReversed:{type:Boolean,default:!1},draggableBar:{type:Boolean,default:!0},formatLabel:Function,scale:{type:Boolean,default:!1},scaleSteps:{type:Number,default:5},scaleSubSteps:{type:Number,default:0},formatScaleLabel:Function,limitKnobPosition:{type:Boolean,default:void 0},name:String,input:Boolean,inputId:String,disabled:Boolean},r.colorProps)),V.displayName="f7-range";var W=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,"onChange onInput onFocus onBlur onButtonClick onKeyboardOpen onKeyboardClose onPopoverOpen onPopoverClose".split(" "))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onChange=function(e,t){this.dispatchEvent("texteditor:change textEditorChange",t)},t.prototype.onInput=function(){this.dispatchEvent("texteditor:change textEditorChange")},t.prototype.onFocus=function(){this.dispatchEvent("texteditor:focus textEditorFocus")},t.prototype.onBlur=function(){this.dispatchEvent("texteditor:blur textEditorBlur")},t.prototype.onButtonClick=function(e,t){this.dispatchEvent("texteditor:buttonclick textEditorButtonClick",t)},t.prototype.onKeyboardOpen=function(){this.dispatchEvent("texteditor:keyboardopen textEditorKeyboardOpen")},t.prototype.onKeyboardClose=function(){this.dispatchEvent("texteditor:keyboardclose textEditorKeyboardClose")},t.prototype.onPopoverOpen=function(){this.dispatchEvent("texteditor:popoveropen textEditorPopoverOpen")},t.prototype.onPopoverClose=function(){this.dispatchEvent("texteditor:popoverclose textEditorPopoverClose")},t.prototype.render=function(){var e=this,t=this.props,a=t.className,s=t.id,i=t.style,l=t.resizable,p=n.classNames(a,"text-editor",l&&"text-editor-resizable",r.colorClasses(t));return o.default.createElement("div",{ref:function(t){e.__reactRefs.el=t},id:s,style:i,className:p},this.slots["root-start"],o.default.createElement("div",{className:"text-editor-content",contentEditable:!0},this.slots.default),this.slots["root-end"],this.slots.root)},t.prototype.componentWillUnmount=function(){this.f7TextEditor&&this.f7TextEditor.destroy&&this.f7TextEditor.destroy()},t.prototype.componentDidMount=function(){var e=this,t=this.props,o=t.mode,r=t.value,a=t.buttons,s=t.customButtons,i=t.dividers,l=t.imageUrlText,p=t.linkUrlText,c=t.placeholder,u=t.clearFormattingOnPaste,d=n.noUndefinedProps({el:this.refs.el,mode:o,value:r,buttons:a,customButtons:s,dividers:i,imageUrlText:l,linkUrlText:p,placeholder:c,clearFormattingOnPaste:u,on:{change:this.onChange,input:this.onInput,focus:this.onFocus,blur:this.onBlur,buttonClick:this.onButtonClick,keyboardOpen:this.onKeyboardOpen,keyboardClose:this.onKeyboardClose,popoverOpen:this.onPopoverOpen,popoverClose:this.onPopoverClose}});this.$f7ready((function(t){e.f7TextEditor=t.textEditor.create(d)}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.value",e,t,(function(){o.f7TextEditor&&o.f7TextEditor.setValue(o.props.value)}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(W,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps,{mode:{type:String,default:void 0},value:{type:String,default:void 0},buttons:Array,customButtons:Object,dividers:{type:Boolean,default:void 0},imageUrlText:{type:String,default:void 0},linkUrlText:{type:String,default:void 0},placeholder:{type:String,default:void 0},clearFormattingOnPaste:{type:Boolean,default:void 0},resizable:{type:Boolean,default:!1}})),W.displayName="f7-text-editor";var K=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},this.state={inputFocused:!1,inputInvalid:!1},n.bindMethods(r,"onKeydown onKeyup onKeypress onFocus onBlur onInput onChange onTextareaResize onInputNotEmpty onInputEmpty onInputClear".split(" "))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.domValue=function(){var e=this.refs.inputEl;if(e)return e.value},t.prototype.inputHasValue=function(){var e=this.props,t=e.value;if("datepicker"===e.type&&Array.isArray(t)&&0===t.length)return!1;var o=this.domValue();return void 0===t?o||0===o:t||0===t},t.prototype.validateInput=function(e){if(this.$f7&&e){var t=e.validity;if(t){var o=this.props.onValidate;t.valid?!1!==this.state.inputInvalid&&(o&&o(!0),this.setState({inputInvalid:!1})):(o&&o(!1),!0!==this.state.inputInvalid&&this.setState({inputInvalid:!0}))}}},t.prototype.onTextareaResize=function(e){this.dispatchEvent("textarea:resize textareaResize",e)},t.prototype.onInputNotEmpty=function(e){this.dispatchEvent("input:notempty inputNotEmpty",e)},t.prototype.onInputEmpty=function(e){this.dispatchEvent("input:empty inputEmpty",e)},t.prototype.onInputClear=function(e){this.dispatchEvent("input:clear inputClear",e)},t.prototype.onKeydown=function(e){this.dispatchEvent("keydown",e)},t.prototype.onKeyup=function(e){this.dispatchEvent("keyup",e)},t.prototype.onKeypress=function(e){this.dispatchEvent("keypress",e)},t.prototype.onInput=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var o=this,n=o.props,r=n.validate,a=n.validateOnBlur;o.dispatchEvent.apply(o,["input"].concat(e)),!a&&""!==a&&(r||""===r)&&o.refs&&o.refs.inputEl&&o.validateInput(o.refs.inputEl)},t.prototype.onFocus=function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["focus"].concat(t)),this.setState({inputFocused:!0})},t.prototype.onBlur=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var o=this,n=o.props,r=n.validate,a=n.validateOnBlur;o.dispatchEvent.apply(o,["blur"].concat(e)),(r||""===r||a||""===a)&&o.refs&&o.refs.inputEl&&o.validateInput(o.refs.inputEl),o.setState({inputFocused:!1})},t.prototype.onChange=function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["change"].concat(t)),"texteditor"===this.props.type&&this.dispatchEvent("texteditor:change textEditorChange",t[1])},t.prototype.render=function(){var e,t=this,a=this,s=a.props,i=s.type,l=s.name,p=s.value,c=s.defaultValue,u=s.inputmode,d=s.placeholder,f=s.id,h=s.inputId,m=s.size,g=s.accept,b=s.autocomplete,v=s.autocorrect,y=s.autocapitalize,E=s.spellcheck,S=s.autofocus,C=s.autosave,N=s.checked,k=s.disabled,B=s.max,O=s.min,w=s.step,_=s.maxlength,P=s.minlength,T=s.multiple,j=s.readonly,x=s.required,R=s.inputStyle,M=s.pattern,I=s.validate,A=s.validateOnBlur,L=s.tabindex,D=s.resizable,$=s.clearButton,z=s.errorMessage,U=s.errorMessageForce,H=s.info,K=s.wrap,q=s.dropdown,G=s.style,Q=s.className,Y=s.noStoreData,J=s.noFormStoreData,X=s.ignoreStoreData,Z=s.outline,ee=s.textEditorParams,te=a.domValue(),oe=a.inputHasValue(),ne=function(e,r){var f="file"!==i&&"datepicker"!==i&&"colorpicker"!==i,$="input"===e,H=i;"datepicker"!==H&&"colorpicker"!==H||(H="text");var F,V=n.classNames(!K&&Q,{resizable:"textarea"===H&&D,"no-store-data":J||Y||X,"input-invalid":z&&U||a.state.inputInvalid,"input-with-value":oe,"input-focused":a.state.inputFocused});f&&(F=void 0!==p?p:te);var W={};return"datepicker"!==i&&"colorpicker"!==i&&("value"in s&&(W.value=F),"defaultValue"in s&&(W.defaultValue=c)),o.default.createElement(e,Object.assign({ref:function(e){t.__reactRefs.inputEl=e},style:R,name:l,type:$?H:void 0,placeholder:d,inputMode:u,id:h,size:m,accept:g,autoComplete:b,autoCorrect:v,autoCapitalize:y,spellCheck:E,autoFocus:S,autoSave:C,checked:N,disabled:k,max:B,maxLength:_,min:O,minLength:P,step:w,multiple:T,readOnly:j,required:x,pattern:M,validate:"string"==typeof I&&I.length?I:void 0,"data-validate":!0===I||""===I||!0===A||""===A||void 0,"data-validate-on-blur":!0===A||""===A||void 0,tabIndex:L,"data-error-message":U?void 0:z,className:V,onFocus:a.onFocus,onBlur:a.onBlur,onInput:a.onInput,onChange:a.onChange},W),r)},re=a.slots,ae=re.default,se=re.info;if(e="select"===i||"textarea"===i||"file"===i?"select"===i?ne("select",ae):ne("file"===i?"input":"textarea"):ae&&ae.length>0||!i?ae:"toggle"===i?o.default.createElement(F,{checked:N,readonly:j,name:l,value:p,disabled:k,id:h,onChange:a.onChange}):"range"===i?o.default.createElement(V,{value:p,disabled:k,min:O,max:B,step:w,name:l,id:h,input:!0,onRangeChange:a.onChange}):"texteditor"===i?o.default.createElement(W,Object.assign({value:p,resizable:D,placeholder:d,onTextEditorFocus:a.onFocus,onTextEditorBlur:a.onBlur,onTextEditorInput:a.onInput,onTextEditorChange:a.onChange},ee)):ne("input"),K){var ie=n.classNames(Q,"input",{"input-outline":Z,"input-dropdown":"auto"===q?"select"===i:q},r.colorClasses(s));return o.default.createElement("div",{id:f,className:ie,style:G},e,z&&U&&o.default.createElement("div",{className:"input-error-message"},z),$&&o.default.createElement("span",{className:"input-clear-button"}),(H||se&&se.length)&&o.default.createElement("div",{className:"input-info"},H,this.slots.info))}return e},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.type,o=e.resizable,n=e.clearButton;if("range"!==t&&"toggle"!==t){var r=this.refs.inputEl;r&&(r.removeEventListener("input:notempty",this.onInputNotEmpty,!1),"textarea"===t&&o&&r.removeEventListener("textarea:resize",this.onTextareaResize,!1),n&&(r.removeEventListener("input:empty",this.onInputEmpty,!1),r.removeEventListener("input:clear",this.onInputClear,!1)),this.f7Calendar&&this.f7Calendar.destroy&&this.f7Calendar.destroy(),this.f7ColorPicker&&this.f7ColorPicker.destroy&&this.f7ColorPicker.destroy(),delete this.f7Calendar,delete this.f7ColorPicker)}},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.colorPickerParams",e,t,(function(){var e=o;e.$f7&&e.f7ColorPicker&&n.extend(e.f7ColorPicker.params,e.colorPickerParams||{})})),v(this,"props.calendarParams",e,t,(function(){var e=o;e.$f7&&e.f7Calendar&&n.extend(e.f7Calendar.params,e.calendarParams||{})})),v(this,"props.value",e,t,(function(){var e=o,t=e.props.type;"range"!==t&&"toggle"!==t&&e.$f7&&(e.updateInputOnDidUpdate=!0,e.f7Calendar&&e.f7Calendar.setValue(e.props.value),e.f7ColorPicker&&e.f7ColorPicker.setValue(e.props.value))}));var r=this.props,a=r.validate,s=r.validateOnBlur,i=r.resizable,l=this.$f7;if(l&&this.updateInputOnDidUpdate){var p=this.refs.inputEl;if(!p)return;this.updateInputOnDidUpdate=!1,l.input.checkEmptyState(p),a&&!s&&this.validateInput(p),i&&l.input.resizeTextarea(p)}},t.prototype.componentDidMount=function(){var e=this;e.$f7ready((function(t){var o=e.props,n=o.validate,r=o.validateOnBlur,a=o.resizable,s=o.type,i=o.clearButton,l=o.value,p=o.defaultValue,c=o.calendarParams,u=o.colorPickerParams;if("range"!==s&&"toggle"!==s){var d=e.refs.inputEl;d&&(d.addEventListener("input:notempty",e.onInputNotEmpty,!1),"textarea"===s&&a&&d.addEventListener("textarea:resize",e.onTextareaResize,!1),i&&(d.addEventListener("input:empty",e.onInputEmpty,!1),d.addEventListener("input:clear",e.onInputClear,!1)),"datepicker"===s&&(e.f7Calendar=t.calendar.create(Object.assign({inputEl:d,value:l,on:{change:function(t,o){e.dispatchEvent("calendar:change calendarChange",o)}}},c||{}))),"colorpicker"===s&&(e.f7ColorPicker=t.colorPicker.create(Object.assign({inputEl:d,value:l,on:{change:function(t,o){e.dispatchEvent("colorpicker:change colorPickerChange",o)}}},u||{}))),t.input.checkEmptyState(d),r||""===r||!n&&""!==n||!(null!=l&&""!==l||null!=p&&""!==p)||setTimeout((function(){e.validateInput(d)}),0),a&&t.input.resizeTextarea(d))}}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(K,Object.assign({type:String,name:String,value:[String,Number,Array,Date,Object],defaultValue:[String,Number,Array],inputmode:String,placeholder:String,id:[String,Number],className:String,style:Object,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:Object,pattern:String,validate:[Boolean,String],validateOnBlur:Boolean,onValidate:Function,tabindex:[String,Number],resizable:Boolean,clearButton:Boolean,noFormStoreData:Boolean,noStoreData:Boolean,ignoreStoreData:Boolean,errorMessage:String,errorMessageForce:Boolean,info:String,outline:Boolean,wrap:{type:Boolean,default:!0},dropdown:{type:[String,Boolean],default:"auto"},calendarParams:Object,colorPickerParams:Object,textEditorParams:Object},r.colorProps)),K.displayName="f7-input";var q=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},this.state={isTabbarLabel:t.tabbarLabel},n.bindMethods(r,["onClick"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={attrs:{configurable:!0},classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},s.attrs.get=function(){var e=this.props,t=e.href,o=e.target,a=e.tabLink,s=t;return!0===t&&(s="#"),!1===t&&(s=void 0),n.extend({href:s,target:o,"data-tab":n.isStringProp(a)&&a||void 0},r.linkRouterAttrs(e),r.linkActionsAttrs(e))},s.classes.get=function(){var e=this.props,t=e.tabLink,o=e.tabLinkActive,a=e.noLinkClass,s=e.smartSelect,i=e.className;return n.classNames(i,{link:!(a||this.state.isTabbarLabel),"icon-only":this.iconOnlyComputed,"tab-link":t||""===t,"tab-link-active":o,"smart-select":s},r.colorClasses(e),r.linkRouterClasses(e),r.linkActionsClasses(e))},t.prototype.render=function(){var e,t,n,r,a=this,s=this,i=s.props,l=i.text,p=i.badge,c=i.badgeColor,u=i.iconOnly,d=i.iconBadge,f=i.icon,h=i.iconColor,m=i.iconSize,g=i.iconMaterial,b=i.iconF7,v=i.iconMd,y=i.iconIos,E=i.iconAurora,S=i.id,C=i.style,N=s.slots.default||[];return Object.keys(s.slots).forEach((function(e){void 0!==s.slots[e]&&"default"!==e&&s.slots[e].forEach((function(e){return N.push(e)}))})),l&&(p&&(n=o.default.createElement(k,{color:c},p)),t=o.default.createElement("span",{className:s.state.isTabbarLabel?"tabbar-label":""},l,n)),(f||g||b||v||y||E)&&(d&&(r=o.default.createElement(k,{color:c},d)),e=o.default.createElement(P,{material:g,f7:b,icon:f,md:v,ios:y,aurora:E,color:h,size:m},r)),u||!l&&N&&0===N.length||!l&&!N?s.iconOnlyComputed=!0:s.iconOnlyComputed=!1,o.default.createElement("a",Object.assign({ref:function(e){a.__reactRefs.el=e},id:S,style:C,className:s.classes},s.attrs),e,t,N)},t.prototype.componentWillUnmount=function(){var e=this.refs.el;e.removeEventListener("click",this.onClick),delete e.f7RouteProps,this.f7SmartSelect&&this.f7SmartSelect.destroy&&this.f7SmartSelect.destroy(),this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip)},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.tooltip",e,t,(function(e){var t=o;if(!e&&t.f7Tooltip)return t.f7Tooltip.destroy(),t.f7Tooltip=null,void delete t.f7Tooltip;e&&!t.f7Tooltip&&t.$f7?t.f7Tooltip=t.$f7.tooltip.create({targetEl:t.refs.el,text:e,trigger:t.props.tooltipTrigger}):e&&t.f7Tooltip&&t.f7Tooltip.setText(e)}));var n=this.refs.el,r=this.props.routeProps;r&&(n.f7RouteProps=r)},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;t.addEventListener("click",e.onClick);var o=e.props,r=o.tabbarLabel,a=o.tabLink,s=o.tooltip,i=o.tooltipTrigger,l=o.smartSelect,p=o.smartSelectParams,c=o.routeProps,u=!1;(r||(a||""===a)&&e.$$(t).parents(".tabbar-labels").length)&&(u=!0),e.setState({isTabbarLabel:u}),c&&(t.f7RouteProps=c),e.$f7ready((function(o){if(l){var r=n.extend({el:t},p||{});e.f7SmartSelect=o.smartSelect.create(r)}s&&(e.f7Tooltip=o.tooltip.create({targetEl:t,text:s,trigger:i}))}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(q,Object.assign({id:[String,Number],className:String,style:Object,noLinkClass: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,tooltipTrigger:String,smartSelect:Boolean,smartSelectParams:Object},r.colorProps,r.linkIconProps,r.linkRouterProps,r.linkActionsProps)),q.displayName="f7-link";var G=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={attrs:{configurable:!0},classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},s.attrs.get=function(){var e=this.props,t=e.link,o=e.href,a=e.target,s=e.tabLink;return n.extend({href:"boolean"==typeof t&&"boolean"==typeof o?"#":t||o,target:a,"data-tab":n.isStringProp(s)&&s},r.linkRouterAttrs(e),r.linkActionsAttrs(e))},s.classes.get=function(){var e=this.props,t=e.tabLink,o=e.tabLinkActive;return n.classNames({"list-button":!0,"tab-link":t||""===t,"tab-link-active":o},r.colorClasses(e),r.linkRouterClasses(e),r.linkActionsClasses(e))},t.prototype.render=function(){var e=this,t=this.props,n=t.className,r=t.id,a=t.style,s=t.title,i=t.text;return o.default.createElement("li",{id:r,style:a,className:n},o.default.createElement("a",Object.assign({className:this.classes},this.attrs,{ref:function(t){e.__reactRefs.linkEl=t}}),this.slots.default,!this.slots.default&&(s||i)))},t.prototype.componentWillUnmount=function(){var e=this.refs.linkEl;e.removeEventListener("click",this.onClick),delete e.f7RouteProps,this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip)},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.tooltip",e,t,(function(e){var t=o;if(!e&&t.f7Tooltip)return t.f7Tooltip.destroy(),t.f7Tooltip=null,void delete t.f7Tooltip;e&&!t.f7Tooltip&&t.$f7?t.f7Tooltip=t.$f7.tooltip.create({targetEl:t.refs.el,text:e,trigger:t.props.tooltipTrigger}):e&&t.f7Tooltip&&t.f7Tooltip.setText(e)}));var n=this.refs.linkEl,r=this.props.routeProps;r&&(n.f7RouteProps=r)},t.prototype.componentDidMount=function(){var e=this,t=e.refs.linkEl,o=e.props,n=o.routeProps,r=o.tooltip,a=o.tooltipTrigger;n&&(t.f7RouteProps=n),t.addEventListener("click",e.onClick),e.$f7ready((function(o){r&&(e.f7Tooltip=o.tooltip.create({targetEl:t,text:r,trigger:a}))}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(G,Object.assign({id:[String,Number],className:String,style:Object,title:[String,Number],text:[String,Number],tabLink:[Boolean,String],tabLinkActive:Boolean,link:[Boolean,String],href:[Boolean,String],target:String,tooltip:String,tooltipTrigger:String},r.colorProps,r.linkRouterProps,r.linkActionsProps)),G.displayName="f7-list-button";var Q=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=e.mediaList,l=e.sortable,p=e.sortableOpposite,c=e.sortableTapHold,u=e.sortableMoveElements,d=n.classNames(t,"list-group",{"media-list":i,sortable:l,"sortable-tap-hold":c,"sortable-opposite":p},r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:d,"data-sortable-move-elements":void 0!==u?u.toString():void 0},o.default.createElement("ul",null,this.slots.default))},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Q,Object.assign({id:[String,Number],className:String,style:Object,mediaList:Boolean,sortable:Boolean,sortableOpposite:Boolean,sortableTapHold:Boolean,sortableMoveElements:{type:Boolean,default:void 0}},r.colorProps)),Q.displayName="f7-list-group";var Y=function(e){function t(t,o){e.call(this,t,o),this.__reactRefs={}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.update=function(){this.f7ListIndex&&this.f7ListIndex.update()},t.prototype.scrollListToIndex=function(e){this.f7ListIndex&&this.f7ListIndex.scrollListToIndex(e)},t.prototype.render=function(){var e=this,t=this.props,a=t.className,s=t.id,i=t.style,l=n.classNames(a,"list-index",r.colorClasses(t));return o.default.createElement("div",{ref:function(t){e.__reactRefs.el=t},id:s,style:i,className:l},this.slots.default)},t.prototype.componentDidMount=function(){var e=this;e.props.init&&e.$f7ready((function(t){var o=e.refs.el,n=e.props,r=n.listEl,a=n.indexes,s=n.iosItemHeight,i=n.mdItemHeight,l=n.auroraItemHeight,p=n.scrollList,c=n.label;e.f7ListIndex=t.listIndex.create({el:o,listEl:r,indexes:a,iosItemHeight:s,mdItemHeight:i,auroraItemHeight:l,scrollList:p,label:c,on:{select:function(t,o,n){e.dispatchEvent("listindex:select listIndexSelect",o,n)}}})}))},t.prototype.componentWillUnmount=function(){this.props.init&&this.f7ListIndex&&this.f7ListIndex.destroy&&this.f7ListIndex.destroy()},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.indexes",e,t,(function(){o.f7ListIndex&&(o.f7ListIndex.params.indexes=o.props.indexes,o.update())}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Y,Object.assign({id:[String,Number],className:String,style:Object,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},auroraItemHeight:{type:Number,default:14}},r.colorProps)),Y.displayName="f7-list-index";var J=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},this.state={isSortable:t.sortable,inputFocused:!1,inputInvalid:!1},n.bindMethods(r,"onChange onInput onFocus onBlur onTextareaResize onInputNotEmpty onInputEmpty onInputClear".split(" "))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.domValue=function(){var e=this.refs.inputEl;if(e)return e.value},t.prototype.inputHasValue=function(){var e=this.props,t=e.value;if("datepicker"===e.type&&Array.isArray(t)&&0===t.length)return!1;var o=this.domValue();return void 0===t?o||0===o:t||0===t},t.prototype.validateInput=function(e){if(this.$f7&&e){var t=e.validity;if(t){var o=this.props.onValidate;t.valid?!1!==this.state.inputInvalid&&(o&&o(!0),this.setState({inputInvalid:!1})):(o&&o(!1),!0!==this.state.inputInvalid&&this.setState({inputInvalid:!0}))}}},t.prototype.onTextareaResize=function(e){this.dispatchEvent("textarea:resize textareaResize",e)},t.prototype.onInputNotEmpty=function(e){this.dispatchEvent("input:notempty inputNotEmpty",e)},t.prototype.onInputEmpty=function(e){this.dispatchEvent("input:empty inputEmpty",e)},t.prototype.onInputClear=function(e){this.dispatchEvent("input:clear inputClear",e)},t.prototype.onInput=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var o=this,n=o.props,r=n.validate,a=n.validateOnBlur;o.dispatchEvent.apply(o,["input"].concat(e)),!a&&""!==a&&(r||""===r)&&o.refs&&o.refs.inputEl&&o.validateInput(o.refs.inputEl)},t.prototype.onFocus=function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["focus"].concat(t)),this.setState({inputFocused:!0})},t.prototype.onBlur=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var o=this,n=o.props,r=n.validate,a=n.validateOnBlur;o.dispatchEvent.apply(o,["blur"].concat(e)),(r||""===r||a||""===a)&&o.refs&&o.refs.inputEl&&o.validateInput(o.refs.inputEl),o.setState({inputFocused:!1})},t.prototype.onChange=function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["change"].concat(t)),"texteditor"===this.props.type&&this.dispatchEvent("texteditor:change textEditorChange",t[0])},t.prototype.render=function(){var e,t=this,a=this,s=a.state,i=s.inputFocused,l=s.inputInvalid,p=a.props,c=p.id,u=p.style,d=p.className,f=p.sortable,h=p.media,m=p.dropdown,g=p.input,b=p.wrap,v=p.type,y=p.name,E=p.value,S=p.defaultValue,C=p.readonly,N=p.required,k=p.disabled,B=p.inputmode,O=p.placeholder,w=p.inputId,_=p.size,P=p.accept,T=p.autocomplete,j=p.autocorrect,x=p.autocapitalize,R=p.spellcheck,M=p.autofocus,I=p.autosave,A=p.max,L=p.min,D=p.step,$=p.maxlength,z=p.minlength,U=p.multiple,H=p.inputStyle,F=p.pattern,V=p.validate,K=p.validateOnBlur,q=p.tabindex,G=p.resizable,Q=p.clearButton,Y=p.noFormStoreData,J=p.noStoreData,X=p.ignoreStoreData,Z=p.errorMessage,ee=p.errorMessageForce,te=p.info,oe=p.outline,ne=p.label,re=p.inlineLabel,ae=p.floatingLabel,se=p.textEditorParams,ie=a.domValue(),le=a.inputHasValue(),pe=f||a.state.isSortable,ce=function(e,r){var s="file"!==v&&"datepicker"!==v&&"colorpicker"!==v,c="input"===e,u=v;"datepicker"!==u&&"colorpicker"!==u||(u="text");var d,f=n.classNames({resizable:"textarea"===u&&G,"no-store-data":Y||J||X,"input-invalid":Z&&ee||l,"input-with-value":le,"input-focused":i});s&&(d=void 0!==E?E:ie);var h={};return"datepicker"!==v&&"colorpicker"!==v&&("value"in p&&(h.value=d),"defaultValue"in p&&(h.defaultValue=S)),o.default.createElement(e,Object.assign({ref:function(e){t.__reactRefs.inputEl=e},style:H,name:y,type:c?u:void 0,placeholder:O,inputMode:B,id:w,size:_,accept:P,autoComplete:T,autoCorrect:j,autoCapitalize:x,spellCheck:R,autoFocus:M,autoSave:I,disabled:k,max:A,maxLength:$,min:L,minLength:z,step:D,multiple:U,readOnly:C,required:N,pattern:F,validate:"string"==typeof V&&V.length?V:void 0,"data-validate":!0===V||""===V||!0===K||""===K||void 0,"data-validate-on-blur":!0===K||""===K||void 0,tabIndex:q,"data-error-message":ee?void 0:Z,className:f,onFocus:a.onFocus,onBlur:a.onBlur,onInput:a.onInput,onChange:a.onChange},h),r)};g&&(e="select"===v||"textarea"===v||"file"===v?"select"===v?ce("select",a.slots.default):ce("file"===v?"input":"textarea"):"texteditor"===v?o.default.createElement(W,Object.assign({value:E,resizable:G,placeholder:O,onTextEditorFocus:a.onFocus,onTextEditorBlur:a.onBlur,onTextEditorInput:a.onInput,onTextEditorChange:a.onChange},se)):ce("input"));var ue=!!Z||a.slots["error-message"]&&a.slots["error-message"].length,de=o.default.createElement("div",{ref:function(e){t.__reactRefs.itemContentEl=e},className:n.classNames("item-content item-input",!b&&d,!b&&{disabled:k},!b&&r.colorClasses(p),{"inline-label":re,"item-input-outline":oe,"item-input-focused":i,"item-input-with-info":!!te||a.slots.info&&a.slots.info.length,"item-input-with-value":le,"item-input-with-error-message":ue&&ee||l,"item-input-invalid":ue&&ee||l})},this.slots["content-start"],(h||a.slots.media)&&o.default.createElement("div",{className:"item-media"},h&&o.default.createElement("img",{src:h}),this.slots.media),o.default.createElement("div",{className:"item-inner"},this.slots["inner-start"],(ne||a.slots.label)&&o.default.createElement("div",{className:n.classNames("item-title item-label",{"item-floating-label":ae})},ne,this.slots.label),(ne||a.slots.label)&&a.slots["after-title"]&&this.slots["after-title"],o.default.createElement("div",{className:n.classNames("item-input-wrap",{"input-dropdown":"auto"===m?"select"===v:m})},e,this.slots.input,ue&&ee&&o.default.createElement("div",{className:"item-input-error-message"},Z,this.slots["error-message"]),Q&&o.default.createElement("span",{className:"input-clear-button"}),(te||a.slots.info)&&o.default.createElement("div",{className:"item-input-info"},te,this.slots.info)),this.slots.inner,this.slots["inner-end"]),this.slots.content,this.slots["content-end"]);return b?o.default.createElement("li",{ref:function(e){t.__reactRefs.el=e},id:c,style:u,className:n.classNames(d,{},r.colorClasses(p))},this.slots["root-start"],de,pe&&o.default.createElement("div",{className:"sortable-handler"}),this.slots.root,this.slots["root-end"]):de},t.prototype.componentWillUnmount=function(){var e=this.refs.inputEl;e&&(e.removeEventListener("input:notempty",this.onInputNotEmpty,!1),e.removeEventListener("textarea:resize",this.onTextareaResize,!1),e.removeEventListener("input:empty",this.onInputEmpty,!1),e.removeEventListener("input:clear",this.onInputClear,!1),this.f7Calendar&&this.f7Calendar.destroy&&this.f7Calendar.destroy(),this.f7ColorPicker&&this.f7ColorPicker.destroy&&this.f7ColorPicker.destroy(),delete this.f7Calendar,delete this.f7ColorPicker)},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.colorPickerParams",e,t,(function(){var e=o;e.$f7&&e.f7ColorPicker&&n.extend(e.f7ColorPicker.params,e.colorPickerParams||{})})),v(this,"props.calendarParams",e,t,(function(){var e=o;e.$f7&&e.f7Calendar&&n.extend(e.f7Calendar.params,e.calendarParams||{})})),v(this,"props.value",e,t,(function(){var e=o;e.$f7&&(e.updateInputOnDidUpdate=!0,e.f7Calendar&&e.f7Calendar.setValue(e.props.value),e.f7ColorPicker&&e.f7ColorPicker.setValue(e.props.value))}));var r=this.$listEl;if(r&&(!r||0!==r.length)){var a=r.hasClass("sortable");a!==this.state.isSortable&&this.setState({isSortable:a});var s=this.props,i=s.validate,l=s.validateOnBlur,p=s.resizable,c=s.type,u=this.$f7;if(u&&this.updateInputOnDidUpdate){var d=this.refs.inputEl;if(!d)return;this.updateInputOnDidUpdate=!1,i&&!l&&this.validateInput(d),"textarea"===c&&p&&u.input.resizeTextarea(d)}}},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el,o=e.refs.itemContentEl;(t||o)&&(e.$f7ready((function(t){var o=e.props,n=o.validate,r=o.validateOnBlur,a=o.resizable,s=o.value,i=o.defaultValue,l=o.type,p=o.calendarParams,c=o.colorPickerParams,u=e.refs.inputEl;u&&(u.addEventListener("input:notempty",e.onInputNotEmpty,!1),u.addEventListener("textarea:resize",e.onTextareaResize,!1),u.addEventListener("input:empty",e.onInputEmpty,!1),u.addEventListener("input:clear",e.onInputClear,!1),"datepicker"===l&&(e.f7Calendar=t.calendar.create(Object.assign({inputEl:u,value:s,on:{change:function(t,o){e.dispatchEvent("calendar:change calendarChange",o)}}},p||{}))),"colorpicker"===l&&(e.f7ColorPicker=t.colorPicker.create(Object.assign({inputEl:u,value:s,on:{change:function(t,o){e.dispatchEvent("colorpicker:change colorPickerChange",o)}}},c||{}))),r||""===r||!n&&""!==n||!(null!=s&&""!==s||null!=i&&""!==i)||setTimeout((function(){e.validateInput(u)}),0),"textarea"===l&&a&&t.input.resizeTextarea(u))})),e.$listEl=e.$$(t||o).parents(".list, .list-group").eq(0),e.$listEl.length&&e.setState({isSortable:e.$listEl.hasClass("sortable")}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(J,Object.assign({id:[String,Number],style:Object,className:String,sortable:{type:Boolean,default:void 0},media:String,dropdown:{type:[String,Boolean],default:"auto"},wrap:{type:Boolean,default:!0},input:{type:Boolean,default:!0},type:{type:String,default:"text"},name:String,value:[String,Number,Array,Date,Object],defaultValue:[String,Number,Array],inputmode:String,readonly:Boolean,required:Boolean,disabled:Boolean,placeholder:String,inputId:[String,Number],size:[String,Number],accept:[String,Number],autocomplete:[String],autocorrect:[String],autocapitalize:[String],spellcheck:[String],autofocus:Boolean,autosave:String,max:[String,Number],min:[String,Number],step:[String,Number],maxlength:[String,Number],minlength:[String,Number],multiple:Boolean,inputStyle:Object,pattern:String,validate:[Boolean,String],validateOnBlur:Boolean,onValidate:Function,tabindex:[String,Number],resizable:Boolean,clearButton:Boolean,noFormStoreData:Boolean,noStoreData:Boolean,ignoreStoreData:Boolean,errorMessage:String,errorMessageForce:Boolean,info:String,outline:Boolean,label:[String,Number],inlineLabel:Boolean,floatingLabel:Boolean,calendarParams:Object,colorPickerParams:Object,textEditorParams:Object},r.colorProps)),J.displayName="f7-list-input";var X=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"item-cell",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(X,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),X.displayName="f7-list-item-cell";var Z=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,"onClick onChange".split(" "))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},t.prototype.onChange=function(e){this.dispatchEvent("change",e)},t.prototype.render=function(){var e,t,a,s,i,l,p,c,u,d,f,h,m,g=this,b=this.props,v=b.id,y=b.className,E=b.style,S=b.radio,C=b.radioIcon,N=b.checkbox,B=b.value,O=b.name,w=b.checked,_=b.defaultChecked,P=b.readonly,T=b.disabled,j=b.required,x=b.media,R=b.header,M=b.footer,I=b.title,A=b.subtitle,L=b.text,D=b.after,$=b.badge,z=b.mediaList,U=b.mediaItem,H=b.badgeColor,F=[],V=[],W=[],K=[],q=[],G=[],Q=[],Y=[],J=[],X=[],Z=[],ee=[],te=[],oe=[],ne=[],re=[],ae=[],se=this.slots.default,ie=[];se&&se.length&&se.forEach((function(e){Array.isArray(e)?ie.push.apply(ie,e):ie.push(e)}));var le,pe=this.slots["content-start"];(pe&&pe.length&&F.push.apply(F,pe),ie.forEach((function(e){var t;void 0!==e&&((t=e.props?e.props.slot:void 0)&&"inner"!==t||q.push(e),"content-start"===t&&F.push(e),"content"===t&&V.push(e),"content-end"===t&&W.push(e),"after-start"===t&&Q.push(e),"after"===t&&Y.push(e),"after-end"===t&&J.push(e),"media"===t&&X.push(e),"inner-start"===t&&K.push(e),"inner-end"===t&&G.push(e),"before-title"===t&&Z.push(e),"title"===t&&ee.push(e),"after-title"===t&&te.push(e),"subtitle"===t&&oe.push(e),"text"===t&&ne.push(e),"header"===t&&re.push(e),"footer"===t&&ae.push(e))})),(S||N)&&(d=o.default.createElement("input",{ref:function(e){g.__reactRefs.inputEl=e},value:B,name:O,checked:w,defaultChecked:_,readOnly:P,disabled:T,required:j,type:S?"radio":"checkbox",onChange:this.onChange}),f=o.default.createElement("i",{className:"icon icon-"+(S?"radio":"checkbox")})),x||X.length)&&(x&&(le=o.default.createElement("img",{src:x})),u=o.default.createElement("div",{className:"item-media"},le,X));var ce=U||z;(R||re.length)&&(h=o.default.createElement("div",{className:"item-header"},R,re)),(M||ae.length)&&(m=o.default.createElement("div",{className:"item-footer"},M,ae)),(I||ee.length||!ce&&h||!ce&&m)&&(e=o.default.createElement("div",{className:"item-title"},!ce&&h,I,ee,!ce&&m)),(A||oe.length)&&(p=o.default.createElement("div",{className:"item-subtitle"},A,oe)),(L||ne.length)&&(c=o.default.createElement("div",{className:"item-text"},L,ne)),(D||$||Y.length)&&(D&&(a=o.default.createElement("span",null,D)),$&&(s=o.default.createElement(k,{color:H},$)),t=o.default.createElement("div",{className:"item-after"},Q,a,s,Y,J)),ce?(l=o.default.createElement("div",{className:"item-title-row"},Z,e,te,t),i=o.default.createElement("div",{ref:function(e){g.__reactRefs.innerEl=e},className:"item-inner"},K,h,l,p,c,q,m,G)):i=o.default.createElement("div",{ref:function(e){g.__reactRefs.innerEl=e},className:"item-inner"},K,Z,e,te,t,q,G);var ue=N||S?"label":"div",de=n.classNames(y,"item-content",{"item-checkbox":N,"item-radio":S,"item-radio-icon-start":S&&"start"===C,"item-radio-icon-end":S&&"end"===C},r.colorClasses(b));return o.default.createElement(ue,{ref:function(e){g.__reactRefs.el=e},id:v,style:E,className:de},F,d,f,u,i,V,W)},t.prototype.componentWillUnmount=function(){this.refs.el.removeEventListener("click",this.onClick)},t.prototype.componentDidUpdate=function(){var e=this.refs.inputEl,t=this.props.indeterminate;e&&(e.indeterminate=t)},t.prototype.componentDidMount=function(){var e=this.refs,t=e.el,o=e.inputEl;this.props.indeterminate&&o&&(o.indeterminate=!0),t.addEventListener("click",this.onClick)},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Z,Object.assign({id:[String,Number],className:String,style:Object,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,checkbox:Boolean,checked:Boolean,defaultChecked:Boolean,indeterminate:Boolean,radio:Boolean,radioIcon:String,name:String,value:[String,Number,Array],readonly:Boolean,required:Boolean,disabled:Boolean},r.colorProps)),Z.displayName="f7-list-item-content";var ee=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"item-row",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(ee,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),ee.displayName="f7-list-item-row";var te=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},this.state={isMedia:t.mediaItem||t.mediaList,isSortable:t.sortable,isSortableOpposite:t.sortableOpposite,isSimple:!1},n.bindMethods(r,["onClick","onChange","onSwipeoutOpen","onSwipeoutOpened","onSwipeoutClose","onSwipeoutClosed","onSwipeoutDelete","onSwipeoutDeleted","onSwipeoutOverswipeEnter","onSwipeoutOverswipeExit","onSwipeout","onAccBeforeOpen","onAccOpen","onAccOpened","onAccBeforeClose","onAccClose","onAccClosed"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){"input"!==e.target.tagName.toLowerCase()&&this.dispatchEvent("click",e)},t.prototype.onSwipeoutOverswipeEnter=function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:overswipeenter swipeoutOverswipeEnter")},t.prototype.onSwipeoutOverswipeExit=function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:overswipeexit swipeoutOverswipeExit")},t.prototype.onSwipeoutDeleted=function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:deleted swipeoutDeleted")},t.prototype.onSwipeoutDelete=function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:delete swipeoutDelete")},t.prototype.onSwipeoutClose=function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:close swipeoutClose")},t.prototype.onSwipeoutClosed=function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:closed swipeoutClosed")},t.prototype.onSwipeoutOpen=function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:open swipeoutOpen")},t.prototype.onSwipeoutOpened=function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:opened swipeoutOpened")},t.prototype.onSwipeout=function(e,t){this.eventTargetEl===e&&this.dispatchEvent("swipeout",t)},t.prototype.onAccBeforeClose=function(e,t){this.eventTargetEl===e&&this.dispatchEvent("accordion:beforeclose accordionBeforeClose",t)},t.prototype.onAccClose=function(e){this.eventTargetEl===e&&this.dispatchEvent("accordion:close accordionClose")},t.prototype.onAccClosed=function(e){this.eventTargetEl===e&&this.dispatchEvent("accordion:closed accordionClosed")},t.prototype.onAccBeforeOpen=function(e,t){this.eventTargetEl===e&&this.dispatchEvent("accordion:beforeopen accordionBeforeOpen",t)},t.prototype.onAccOpen=function(e){this.eventTargetEl===e&&this.dispatchEvent("accordion:open accordionOpen")},t.prototype.onAccOpened=function(e){this.eventTargetEl===e&&this.dispatchEvent("accordion:opened accordionOpened")},t.prototype.onChange=function(e){this.dispatchEvent("change",e)},t.prototype.onInput=function(e){this.dispatchEvent("input",e)},t.prototype.render=function(){var e,t,a=this,s=this.props,i=s.id,l=s.style,p=s.className,c=s.title,u=s.text,d=s.media,f=s.subtitle,h=s.header,m=s.footer,g=s.link,b=s.tabLink,v=s.tabLinkActive,y=s.href,E=s.target,S=s.after,C=s.badge,N=s.badgeColor,k=s.mediaItem,B=s.mediaList,O=s.divider,w=s.groupTitle,_=s.swipeout,P=s.accordionItem,T=s.accordionItemOpened,j=s.smartSelect,x=s.checkbox,R=s.radio,M=s.radioIcon,I=s.checked,A=s.defaultChecked,L=s.indeterminate,D=s.name,$=s.value,z=s.readonly,U=s.required,H=s.disabled,F=s.sortable,V=s.sortableOpposite,W=s.noChevron,K=s.chevronCenter,q=s.virtualListIndex,G=k||B||this.state.isMedia,Q=F||this.state.isSortable,Y=Q&&(V||this.state.isSortableOpposite),J=this.state.isSimple;if(!J){var X=!(g||y||P||j);if(t=o.default.createElement(Z,{title:c,text:u,media:d,subtitle:f,after:S,header:h,footer:m,badge:C,badgeColor:N,mediaList:G,accordionItem:P,checkbox:x,checked:I,defaultChecked:A,indeterminate:L,radio:R,radioIcon:M,name:D,value:$,readonly:z,required:U,disabled:H,onClick:X?this.onClick:null,onChange:X?this.onChange: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,_||P?null:this.slots.default,Q&&!1!==F&&Y&&o.default.createElement("div",{className:"sortable-handler",slot:"content-start"})),g||y||P||j){var ee=Object.assign({href:!0===g?"":g||y,target:E,"data-tab":n.isStringProp(b)&&b||void 0},r.linkRouterAttrs(s),r.linkActionsAttrs(s)),te=n.classNames({"item-link":!0,"smart-select":j,"tab-link":b||""===b,"tab-link-active":v},r.linkRouterClasses(s),r.linkActionsClasses(s));e=o.default.createElement("a",Object.assign({ref:function(e){a.__reactRefs.linkEl=e},className:te},ee),t)}}var oe=n.classNames(p,{"item-divider":O,"list-group-title":w,"media-item":G,swipeout:_,"accordion-item":P,"accordion-item-opened":T,disabled:H&&!(R||x),"no-chevron":W,"chevron-center":K,"disallow-sorting":!1===F},r.colorClasses(s));if(O||w)return o.default.createElement("li",{ref:function(e){a.__reactRefs.el=e},id:i,style:l,className:oe,"data-virtual-list-index":q},o.default.createElement("span",null,this.slots.default,!this.slots.default&&c));if(J)return o.default.createElement("li",{ref:function(e){a.__reactRefs.el=e},id:i,style:l,className:oe,"data-virtual-list-index":q},c,this.slots.default);var ne=g||y||j||P?e:t;return o.default.createElement("li",{ref:function(e){a.__reactRefs.el=e},id:i,style:l,className:oe,"data-virtual-list-index":q},this.slots["root-start"],_?o.default.createElement("div",{className:"swipeout-content"},ne):ne,Q&&!1!==F&&!Y&&o.default.createElement("div",{className:"sortable-handler"}),(_||P)&&this.slots.default,this.slots.root,this.slots["root-end"])},t.prototype.componentWillUnmount=function(){var e=this.refs.linkEl,t=this.props;t.link,t.href;var o=t.smartSelect,n=t.swipeout,r=t.accordionItem;if(e&&delete e.f7RouteProps,this.$f7){var a=this.$f7;n&&(a.off("swipeoutOpen",this.onSwipeoutOpen),a.off("swipeoutOpened",this.onSwipeoutOpened),a.off("swipeoutClose",this.onSwipeoutClose),a.off("swipeoutClosed",this.onSwipeoutClosed),a.off("swipeoutDelete",this.onSwipeoutDelete),a.off("swipeoutDeleted",this.onSwipeoutDeleted),a.off("swipeoutOverswipeEnter",this.onSwipeoutOverswipeEnter),a.off("swipeoutOverswipeExit",this.onSwipeoutOverswipeExit),a.off("swipeout",this.onSwipeout)),r&&(a.off("accordionBeforeOpen",this.onAccBeforeOpen),a.off("accordionOpen",this.onAccOpen),a.off("accordionOpened",this.onAccOpened),a.off("accordionBeforeClose",this.onAccBeforeClose),a.off("accordionClose",this.onAccClose),a.off("accordionClosed",this.onAccClosed))}o&&this.f7SmartSelect&&this.f7SmartSelect.destroy(),this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip),this.eventTargetEl=null,delete this.eventTargetEl},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.tooltip",e,t,(function(e){var t=o;if(!e&&t.f7Tooltip)return t.f7Tooltip.destroy(),t.f7Tooltip=null,void delete t.f7Tooltip;e&&!t.f7Tooltip&&t.$f7?t.f7Tooltip=t.$f7.tooltip.create({targetEl:t.refs.el,text:e,trigger:t.props.tooltipTrigger}):e&&t.f7Tooltip&&t.f7Tooltip.setText(e)})),v(this,"props.swipeoutOpened",e,t,(function(e){var t=o;if(t.props.swipeout){var n=t.refs.el;e?t.$f7.swipeout.open(n):t.$f7.swipeout.close(n)}}));var n=this.$listEl,r=this.refs.linkEl,a=this.props.routeProps;if(r&&a&&(r.f7RouteProps=a),n&&(!n||0!==n.length)){var s=n.hasClass("media-list"),i=n.hasClass("simple-list"),l=n.hasClass("sortable"),p=n.hasClass("sortable-opposite");s!==this.state.isMedia&&this.setState({isMedia:s}),i!==this.state.isSimple&&this.setState({isSimple:i}),l!==this.state.isSortable&&(this.setState({isSortable:l}),p!==this.state.isSortableOpposite&&this.setState({isSortableOpposite:p}))}},t.prototype.componentDidMount=function(){var e=this,t=e.refs,o=t.el,r=t.linkEl;if(o){var a=e.props;a.link,a.href;var s=a.smartSelect,i=a.swipeout,l=a.swipeoutOpened,p=a.accordionItem,c=a.smartSelectParams,u=a.routeProps,d=a.tooltip,f=a.tooltipTrigger;r&&u&&(r.f7RouteProps=u),e.$listEl=e.$$(o).parents(".list, .list-group").eq(0),e.$listEl.length&&e.setState({isMedia:e.$listEl.hasClass("media-list"),isSimple:e.$listEl.hasClass("simple-list"),isSortable:e.$listEl.hasClass("sortable"),isSortableOpposite:e.$listEl.hasClass("sortable-opposite")}),e.$f7ready((function(t){if(e.eventTargetEl=o,i&&(t.on("swipeoutOpen",e.onSwipeoutOpen),t.on("swipeoutOpened",e.onSwipeoutOpened),t.on("swipeoutClose",e.onSwipeoutClose),t.on("swipeoutClosed",e.onSwipeoutClosed),t.on("swipeoutDelete",e.onSwipeoutDelete),t.on("swipeoutDeleted",e.onSwipeoutDeleted),t.on("swipeoutOverswipeEnter",e.onSwipeoutOverswipeEnter),t.on("swipeoutOverswipeExit",e.onSwipeoutOverswipeExit),t.on("swipeout",e.onSwipeout)),p&&(t.on("accordionBeforeOpen",e.onAccBeforeOpen),t.on("accordionOpen",e.onAccOpen),t.on("accordionOpened",e.onAccOpened),t.on("accordionBeforeClose",e.onAccBeforeClose),t.on("accordionClose",e.onAccClose),t.on("accordionClosed",e.onAccClosed)),s){var r=n.extend({el:o.querySelector("a.smart-select")},c||{});e.f7SmartSelect=t.smartSelect.create(r)}l&&t.swipeout.open(o),d&&(e.f7Tooltip=t.tooltip.create({targetEl:o,text:d,trigger:f}))}))}},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(te,Object.assign({id:[String,Number],className:String,style:Object,title:[String,Number],text:[String,Number],media:String,subtitle:[String,Number],header:[String,Number],footer:[String,Number],tooltip:String,tooltipTrigger:String,link:[Boolean,String],target:String,tabLink:[Boolean,String],tabLinkActive:Boolean,after:[String,Number],badge:[String,Number],badgeColor:String,mediaItem:Boolean,mediaList:Boolean,divider:Boolean,groupTitle:Boolean,swipeout:Boolean,swipeoutOpened:Boolean,sortable:{type:Boolean,default:void 0},sortableOpposite:{type:Boolean,default:void 0},accordionItem:Boolean,accordionItemOpened:Boolean,smartSelect:Boolean,smartSelectParams:Object,noChevron:Boolean,chevronCenter:Boolean,checkbox:Boolean,radio:Boolean,radioIcon:String,checked:Boolean,defaultChecked:Boolean,indeterminate:Boolean,name:String,value:[String,Number,Array],readonly:Boolean,required:Boolean,disabled:Boolean,virtualListIndex:Number},r.colorProps,r.linkRouterProps,r.linkActionsProps)),te.displayName="f7-list-item";var oe=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onSortableEnable","onSortableDisable","onSortableSort","onTabShow","onTabHide","onSubmit"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onSubmit=function(e){this.dispatchEvent("submit",e)},t.prototype.onSortableEnable=function(e){this.eventTargetEl===e&&this.dispatchEvent("sortable:enable sortableEnable")},t.prototype.onSortableDisable=function(e){this.eventTargetEl===e&&this.dispatchEvent("sortable:disable sortableDisable")},t.prototype.onSortableSort=function(e,t,o){this.eventTargetEl===o&&this.dispatchEvent("sortable:sort sortableSort",t)},t.prototype.onTabShow=function(e){this.eventTargetEl===e&&this.dispatchEvent("tab:show tabShow",e)},t.prototype.onTabHide=function(e){this.eventTargetEl===e&&this.dispatchEvent("tab:hide tabHide",e)},s.classes.get=function(){var e=this.props,t=e.inset,o=e.xsmallInset,a=e.smallInset,s=e.mediumInset,i=e.largeInset,l=e.xlargeInset,p=e.mediaList,c=e.simpleList,u=e.linksList,d=e.sortable,f=e.sortableTapHold,h=e.sortableEnabled,m=e.sortableOpposite,g=e.accordionList,b=e.accordionOpposite,v=e.contactsList,y=e.virtualList,E=e.tab,S=e.tabActive,C=e.noHairlines,N=e.noHairlinesIos,k=e.noHairlinesMd,B=e.noHairlinesAurora,O=e.noHairlinesBetween,w=e.noHairlinesBetweenIos,_=e.noHairlinesBetweenMd,P=e.noHairlinesBetweenAurora,T=e.formStoreData,j=e.inlineLabels,x=e.className,R=e.noChevron,M=e.chevronCenter;return n.classNames(x,"list",{inset:t,"xsmall-inset":o,"small-inset":a,"medium-inset":s,"large-inset":i,"xlarge-inset":l,"media-list":p,"simple-list":c,"links-list":u,sortable:d,"sortable-tap-hold":f,"sortable-enabled":h,"sortable-opposite":m,"accordion-list":g,"accordion-opposite":b,"contacts-list":v,"virtual-list":y,tab:E,"tab-active":S,"no-hairlines":C,"no-hairlines-md":k,"no-hairlines-ios":N,"no-hairlines-aurora":B,"no-hairlines-between":O,"no-hairlines-between-md":_,"no-hairlines-between-ios":w,"no-hairlines-between-aurora":P,"form-store-data":T,"inline-labels":j,"no-chevron":R,"chevron-center":M},r.colorClasses(e))},t.prototype.render=function(){var e=this,t=this.props,r=t.id,a=t.style,s=t.form,i=t.sortableMoveElements,l=this.slots,p=l.list,c=l.default,u=[],d=[],f=p||[],h=n.flattenArray(c),m=!1;h.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||"F7ListInput"===t||t.indexOf("list-item")>=0||t.indexOf("list-button")>=0||t.indexOf("list-input")>=0||t.indexOf("f7-list-item")>=0||t.indexOf("f7-list-button")>=0||t.indexOf("f7-list-input")>=0)?m?d.push(e):u.push(e):t&&(m=!0,f.push(e)))}));var g=s?"form":"div";return f.length>0?o.default.createElement(g,{id:r,ref:function(t){e.__reactRefs.el=t},style:a,className:this.classes,"data-sortable-move-elements":void 0!==i?i.toString():void 0},this.slots["before-list"],u,o.default.createElement("ul",null,f),this.slots["after-list"],d):o.default.createElement(g,{id:r,ref:function(t){e.__reactRefs.el=t},style:a,className:this.classes,"data-sortable-move-elements":void 0!==i?i.toString():void 0},this.slots["before-list"],u,this.slots["after-list"],d)},t.prototype.componentWillUnmount=function(){var e=this.refs.el,t=this.$f7;e&&t&&(t.off("sortableEnable",this.onSortableEnable),t.off("sortableDisable",this.onSortableDisable),t.off("sortableSort",this.onSortableSort),t.off("tabShow",this.onTabShow),t.off("tabHide",this.onTabHide),e.removeEventListener("submit",this.onSubmit),this.eventTargetEl=null,delete this.eventTargetEl,this.virtualList&&this.f7VirtualList&&this.f7VirtualList.destroy&&this.f7VirtualList.destroy())},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el,o=e.props,r=o.virtualList,a=o.virtualListParams,s=o.form;e.$f7ready((function(o){if(e.eventTargetEl=t,o.on("sortableEnable",e.onSortableEnable),o.on("sortableDisable",e.onSortableDisable),o.on("sortableSort",e.onSortableSort),o.on("tabShow",e.onTabShow),o.on("tabHide",e.onTabHide),s&&t.addEventListener("submit",e.onSubmit),r){var i=a||{};(i.renderItem||i.itemTemplate||i.renderExternal)&&(e.f7VirtualList=o.virtualList.create(n.extend({el:t,on:{itemBeforeInsert:function(t,o){e.dispatchEvent("virtual:itembeforeinsert virtualItemBeforeInsert",this,t,o)},beforeClear:function(t){e.dispatchEvent("virtual:beforeclear virtualBeforeClear",this,t)},itemsBeforeInsert:function(t){e.dispatchEvent("virtual:itemsbeforeinsert virtualItemsBeforeInsert",this,t)},itemsAfterInsert:function(t){e.dispatchEvent("virtual:itemsafterinsert virtualItemsAfterInsert",this,t)}}},i)))}}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(oe,Object.assign({id:[String,Number],className:String,style:Object,inset:Boolean,xsmallInset:Boolean,smallInset:Boolean,mediumInset:Boolean,largeInset:Boolean,xlargeInset:Boolean,mediaList:Boolean,sortable:Boolean,sortableTapHold:Boolean,sortableEnabled:Boolean,sortableMoveElements:{type:Boolean,default:void 0},sortableOpposite:Boolean,accordionList:Boolean,accordionOpposite:Boolean,contactsList:Boolean,simpleList:Boolean,linksList:Boolean,noHairlines:Boolean,noHairlinesBetween:Boolean,noHairlinesMd:Boolean,noHairlinesBetweenMd:Boolean,noHairlinesIos:Boolean,noHairlinesBetweenIos:Boolean,noHairlinesAurora:Boolean,noHairlinesBetweenAurora:Boolean,noChevron:Boolean,chevronCenter:Boolean,tab:Boolean,tabActive:Boolean,form:Boolean,formStoreData:Boolean,inlineLabels:Boolean,virtualList:Boolean,virtualListParams:Object},r.colorProps)),oe.displayName="f7-list";var ne=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"login-screen-title",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(ne,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),ne.displayName="f7-login-screen-title";var re=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onOpen","onOpened","onClose","onClosed"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onOpen=function(e){this.dispatchEvent("loginscreen:open loginScreenOpen",e)},t.prototype.onOpened=function(e){this.dispatchEvent("loginscreen:opened loginScreenOpened",e)},t.prototype.onClose=function(e){this.dispatchEvent("loginscreen:close loginScreenClose",e)},t.prototype.onClosed=function(e){this.dispatchEvent("loginscreen:closed loginScreenClosed",e)},t.prototype.open=function(e){if(this.f7LoginScreen)return this.f7LoginScreen.open(e)},t.prototype.close=function(e){if(this.f7LoginScreen)return this.f7LoginScreen.close(e)},t.prototype.render=function(){var e=this,t=this.props,a=t.className,s=t.id,i=t.style,l=n.classNames(a,"login-screen",r.colorClasses(t));return o.default.createElement("div",{ref:function(t){e.__reactRefs.el=t},id:s,style:i,className:l},this.slots.default)},t.prototype.componentWillUnmount=function(){this.f7LoginScreen&&this.f7LoginScreen.destroy()},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;t&&e.$f7ready((function(){e.f7LoginScreen=e.$f7.loginScreen.create({el:t,on:{open:e.onOpen,opened:e.onOpened,close:e.onClose,closed:e.onClosed}}),e.props.opened&&e.f7LoginScreen.open(!1)}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.opened",e,t,(function(e){var t=o;t.f7LoginScreen&&(e?t.f7LoginScreen.open():t.f7LoginScreen.close())}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(re,Object.assign({id:[String,Number],className:String,style:Object,opened:Boolean},r.colorProps)),re.displayName="f7-login-screen";var ae=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={attrs:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},s.attrs.get=function(){var e=this.props,t=e.link,o=e.href,a=e.target,s=o;return void 0===s&&t&&(s="#"),n.extend({href:s,target:a},r.linkRouterAttrs(e),r.linkActionsAttrs(e))},t.prototype.render=function(){var e=this,t=this.props,a=t.id,s=t.className,i=t.style,l=t.link,p=t.href,c=t.text,u=t.divider,d=t.menuClose,f=l||p||""===p,h=f?"a":"div",m=n.classNames({"menu-dropdown-link":f&&!u,"menu-dropdown-item":!f&&!u,"menu-dropdown-divider":u},s,r.colorClasses(t),r.linkRouterClasses(t),r.linkActionsClasses(t),{"menu-close":void 0===d});return o.default.createElement(h,Object.assign({ref:function(t){e.__reactRefs.el=t},className:m,id:a,style:i},this.attrs),c,this.slots.default)},t.prototype.componentWillUnmount=function(){var e=this.refs.el;e&&(e.removeEventListener("click",this.onClick),delete e.f7RouteProps)},t.prototype.componentDidUpdate=function(){var e=this.refs.el;if(e){var t=this.props.routeProps;t&&(e.f7RouteProps=t)}},t.prototype.componentDidMount=function(){var e=this.refs.el;if(e){e.addEventListener("click",this.onClick);var t=this.props.routeProps;t&&(e.f7RouteProps=t)}},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(ae,Object.assign({id:[String,Number],className:String,style:Object,text:String,link:Boolean,href:String,target:String,divider:Boolean},r.colorProps,r.linkRouterProps,r.linkActionsProps)),ae.displayName="f7-menu-dropdown-item";var se=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.id,a=e.className,s=e.style,i=e.contentHeight,l=e.position||"left";e.left&&(l="left"),e.center&&(l="center"),e.right&&(l="right");var p=n.classNames("menu-dropdown","menu-dropdown-"+l,r.colorClasses(e),a);return o.default.createElement("div",{className:p,id:t,style:s},o.default.createElement("div",{className:"menu-dropdown-content",style:{height:i}},this.slots.default))},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(se,Object.assign({id:[String,Number],className:String,style:Object,contentHeight:String,position:String,left:Boolean,center:Boolean,right:Boolean},r.colorProps)),se.displayName="f7-menu-dropdown";var ie=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick","onOpened","onClosed"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={attrs:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},t.prototype.onOpened=function(e){this.eventTargetEl===e&&this.dispatchEvent("menuOpened menu:opened",e)},t.prototype.onClosed=function(e){this.eventTargetEl===e&&this.dispatchEvent("menuClosed menu:closed",e)},s.attrs.get=function(){var e=this.props,t=e.href,o=e.link,a=e.target,s=t;return void 0===s&&o&&(s="#"),n.extend({href:s,target:a},r.linkRouterAttrs(e),r.linkActionsAttrs(e))},t.prototype.render=function(){var e,t,a=this,s=this.props,i=s.id,l=s.className,p=s.style,c=s.link,u=s.href,d=s.text,f=s.dropdown,h=s.iconOnly,m=s.icon,g=s.iconColor,b=s.iconSize,v=s.iconMaterial,y=s.iconF7,E=s.iconMd,S=s.iconIos,C=s.iconAurora,N=this.slots;(m||v||y||E||S||C)&&(e=o.default.createElement(P,{material:v,f7:y,icon:m,md:E,ios:S,aurora:C,color:g,size:b})),t=!!(h||!d&&N.text&&0===N.text.length||!d&&!N.text);var k=c||u||""===u?"a":"div",B=f||""===f,O=n.classNames({"menu-item":!0,"menu-item-dropdown":B,"icon-only":t},l,r.colorClasses(s),r.linkRouterClasses(s),r.linkActionsClasses(s));return o.default.createElement(k,Object.assign({ref:function(e){a.__reactRefs.el=e},className:O,id:i,style:p},this.attrs),(d||N.text&&N.text.length||e)&&o.default.createElement("div",{className:"menu-item-content"},d,e,this.slots.text),this.slots.default)},t.prototype.componentWillUnmount=function(){var e=this.refs.el;e&&this.$f7&&(e.removeEventListener("click",this.onClick),this.$f7.off("menuOpened",this.onOpened),this.$f7.off("menuClosed",this.onOpened),this.eventTargetEl=null,delete e.f7RouteProps,delete this.eventTargetEl)},t.prototype.componentDidUpdate=function(){var e=this.refs.el;if(e){var t=this.props.routeProps;t&&(e.f7RouteProps=t)}},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;if(t){e.eventTargetEl=t,t.addEventListener("click",e.onClick);var o=e.props.routeProps;o&&(t.f7RouteProps=o),e.$f7ready((function(t){t.on("menuOpened",e.onOpened),t.on("menuClosed",e.onClosed)}))}},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(ie,Object.assign({id:[String,Number],className:String,style:Object,text:String,iconOnly:Boolean,href:String,link:Boolean,target:String,dropdown:Boolean},r.colorProps,r.linkIconProps,r.linkRouterProps,r.linkActionsProps)),ie.displayName="f7-menu-item";var le=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.id,a=e.className,s=e.style;return o.default.createElement("div",{className:n.classNames("menu",r.colorClasses(e),a),id:t,style:s},o.default.createElement("div",{className:"menu-inner"},this.slots.default))},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(le,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),le.displayName="f7-menu";var pe=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick","onNameClick","onTextClick","onAvatarClick","onHeaderClick","onFooterClick","onBubbleClick"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},t.prototype.onNameClick=function(e){this.dispatchEvent("click:name clickName",e)},t.prototype.onTextClick=function(e){this.dispatchEvent("click:text clickText",e)},t.prototype.onAvatarClick=function(e){this.dispatchEvent("click:avatar clickAvatar",e)},t.prototype.onHeaderClick=function(e){this.dispatchEvent("click:header clickHeader",e)},t.prototype.onFooterClick=function(e){this.dispatchEvent("click:footer clickFooter",e)},t.prototype.onBubbleClick=function(e){this.dispatchEvent("click:bubble clickBubble",e)},s.classes.get=function(){var e=this.props,t=e.type,o=e.typing,a=e.first,s=e.last,i=e.tail,l=e.sameName,p=e.sameHeader,c=e.sameFooter,u=e.sameAvatar,d=e.className;return n.classNames(d,"message",{"message-sent":"sent"===t,"message-received":"received"===t,"message-typing":o,"message-first":a,"message-last":s,"message-tail":i,"message-same-name":l,"message-same-header":p,"message-same-footer":c,"message-same-avatar":u},r.colorClasses(e))},t.prototype.render=function(){var e=this,t=this.props,n=t.text,r=t.name,a=t.avatar,s=t.image,i=t.header,l=t.footer,p=t.textHeader,c=t.textFooter,u=t.typing,d=t.id,f=t.style,h=this.slots,m=h.start,g=h.end,b=h.default,v=h["content-start"],y=h["content-end"],E=h.avatar,S=h.name,C=h.header,N=h.footer,k=h.image,B=h.text,O=h["text-header"],w=h["text-footer"],_=h["bubble-start"],P=h["bubble-end"];return o.default.createElement("div",{ref:function(t){e.__reactRefs.el=t},id:d,style:f,className:this.classes},m,(a||E)&&o.default.createElement("div",{ref:function(t){e.__reactRefs.avatarEl=t},className:"message-avatar",style:{backgroundImage:a&&"url("+a+")"}},E),o.default.createElement("div",{className:"message-content"},v,(S||r)&&o.default.createElement("div",{ref:function(t){e.__reactRefs.nameEl=t},className:"message-name"},S||r),(C||i)&&o.default.createElement("div",{ref:function(t){e.__reactRefs.headerEl=t},className:"message-header"},C||i),o.default.createElement("div",{ref:function(t){e.__reactRefs.bubbleEl=t},className:"message-bubble"},_,(k||s)&&o.default.createElement("div",{className:"message-image"},k||o.default.createElement("img",{src:s})),(O||p)&&o.default.createElement("div",{className:"message-text-header"},O||p),(B||n||u)&&o.default.createElement("div",{ref:function(t){e.__reactRefs.textEl=t},className:"message-text"},B||n,u&&o.default.createElement("div",{className:"message-typing-indicator"},o.default.createElement("div",null),o.default.createElement("div",null),o.default.createElement("div",null))),(w||c)&&o.default.createElement("div",{className:"message-text-footer"},w||c),P,b),(N||l)&&o.default.createElement("div",{ref:function(t){e.__reactRefs.footerEl=t},className:"message-footer"},N||l),y),g)},t.prototype.componentWillUnmount=function(){var e=this.refs,t=e.el,o=e.nameEl,n=e.textEl,r=e.avatarEl,a=e.headerEl,s=e.footerEl,i=e.bubbleEl;t.removeEventListener("click",this.onClick),o&&o.removeEventListener("click",this.onNameClick),n&&n.removeEventListener("click",this.onTextClick),r&&r.removeEventListener("click",this.onAvatarClick),a&&a.removeEventListener("click",this.onHeaderClick),s&&s.removeEventListener("click",this.onFooterClick),i&&i.removeEventListener("click",this.onBubbleClick)},t.prototype.componentDidMount=function(){var e=this.refs,t=e.el,o=e.nameEl,n=e.textEl,r=e.avatarEl,a=e.headerEl,s=e.footerEl,i=e.bubbleEl;t.addEventListener("click",this.onClick),o&&o.addEventListener("click",this.onNameClick),n&&n.addEventListener("click",this.onTextClick),r&&r.addEventListener("click",this.onAvatarClick),a&&a.addEventListener("click",this.onHeaderClick),s&&s.addEventListener("click",this.onFooterClick),i&&i.addEventListener("click",this.onBubbleClick)},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(pe,Object.assign({id:[String,Number],className:String,style:Object,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},r.colorProps)),pe.displayName="f7-message";var ce=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick","onDeleteClick"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("attachment:click attachmentClick",e)},t.prototype.onDeleteClick=function(e){this.dispatchEvent("attachment:delete attachmentDelete",e)},t.prototype.render=function(){var e=this,t=this.props,a=t.deletable,s=t.image,i=t.className,l=t.id,p=t.style,c=n.classNames(i,"messagebar-attachment",r.colorClasses(t));return o.default.createElement("div",{ref:function(t){e.__reactRefs.el=t},id:l,style:p,className:c},s&&o.default.createElement("img",{src:s}),a&&o.default.createElement("span",{ref:function(t){e.__reactRefs.deleteEl=t},className:"messagebar-attachment-delete"}),this.slots.default)},t.prototype.componentWillUnmount=function(){this.refs.el.removeEventListener("click",this.onClick),this.refs.deleteEl&&this.refs.deleteEl.removeEventListener("click",this.onDeleteClick)},t.prototype.componentDidMount=function(){this.refs.el.addEventListener("click",this.onClick),this.refs.deleteEl&&this.refs.deleteEl.addEventListener("click",this.onDeleteClick)},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(ce,Object.assign({id:[String,Number],className:String,style:Object,image:String,deletable:{type:Boolean,default:!0}},r.colorProps)),ce.displayName="f7-messagebar-attachment";var ue=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"messagebar-attachments",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(ue,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),ue.displayName="f7-messagebar-attachments";var de=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onChange"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onChange=function(e){this.props.checked?this.dispatchEvent("checked",e):this.dispatchEvent("unchecked",e),this.dispatchEvent("change",e)},t.prototype.render=function(){var e,t=this,a=this.props,s=a.image,i=a.checked,l=a.id,p=a.className,c=a.style,u=n.classNames(p,"messagebar-sheet-image","checkbox",r.colorClasses(a)),d=n.extend({backgroundImage:s&&"url("+s+")"},c||{});return e=o.default.createElement("input",{ref:function(e){t.__reactRefs.inputEl=e},type:"checkbox",checked:i,onChange:this.onChange}),o.default.createElement("label",{id:l,className:u,style:d},e,o.default.createElement("i",{className:"icon icon-checkbox"}),this.slots.default)},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(de,Object.assign({id:[String,Number],className:String,style:Object,image:String,checked:Boolean},r.colorProps)),de.displayName="f7-messagebar-sheet-image";var fe=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"messagebar-sheet-item",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(fe,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),fe.displayName="f7-messagebar-sheet-item";var he=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"messagebar-sheet",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(he,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),he.displayName="f7-messagebar-sheet";var me=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onKeydown","onKeyup","onKeypress","onChange","onInput","onFocus","onBlur","onClick","onAttachmentDelete","onAttachmentClick,","onResizePage"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return t.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)},t.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)},t.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)},t.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)},t.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)},t.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)},t.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)},t.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)},t.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)},t.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)},t.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)},t.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)},t.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)},t.prototype.onChange=function(e){this.dispatchEvent("change",e)},t.prototype.onKeydown=function(e){this.dispatchEvent("keydown",e)},t.prototype.onKeyup=function(e){this.dispatchEvent("keyup",e)},t.prototype.onKeypress=function(e){this.dispatchEvent("keypress",e)},t.prototype.onInput=function(e){this.dispatchEvent("input",e)},t.prototype.onFocus=function(e){this.dispatchEvent("focus",e)},t.prototype.onBlur=function(e){this.dispatchEvent("blur",e)},t.prototype.onClick=function(e){var t,o=this;t=o.refs.area.refs.inputEl.value;var n=o.f7Messagebar?function(){o.f7Messagebar.clear()}:function(){};this.dispatchEvent("submit",t,n),this.dispatchEvent("send",t,n),this.dispatchEvent("click",e)},t.prototype.onAttachmentDelete=function(e,t,o){this.dispatchEvent("messagebar:attachmentdelete messagebarAttachmentDelete",e,t,o)},t.prototype.onAttachmentClick=function(e,t,o){this.dispatchEvent("messagebar:attachmentclick messagebarAttachmentClick",e,t,o)},t.prototype.onResizePage=function(e){this.dispatchEvent("messagebar:resizepage messagebarResizePage",e)},s.classes.get=function(){var e=this.props,t=e.className,o=e.attachmentsVisible,a=e.sheetVisible;return n.classNames(t,"toolbar","messagebar",{"messagebar-attachments-visible":o,"messagebar-sheet-visible":a},r.colorClasses(e))},t.prototype.render=function(){var e,t,n=this,r=this.props,a=r.placeholder,s=r.disabled,i=r.name,l=r.readonly,p=r.resizable,c=r.value,u=r.sendLink,d=r.id,f=r.style,h=this.slots,m=h.default,g=h["before-inner"],b=h["after-inner"],v=h["send-link"],y=h["inner-start"],E=h["inner-end"],S=h["before-area"],C=h["after-area"],N=[];m&&m.forEach((function(o){var n;void 0!==o&&((n=o.type&&(o.type.displayName||o.type.name))&&(n.indexOf("messagebar-attachments")>=0||"F7MessagebarAttachments"===n||"f7-messagebar-attachments"===n)?e=o:n&&(n.indexOf("messagebar-sheet")>=0||"F7MessagebarSheet"===n||"f7-messagebar-sheet"===n)?t=o:N.push(o))}));var k={};return"value"in this.props&&(k.value=c),o.default.createElement("div",{ref:function(e){n.__reactRefs.el=e},id:d,style:f,className:this.classes},g,o.default.createElement("div",{className:"toolbar-inner"},y,o.default.createElement("div",{className:"messagebar-area"},S,e,o.default.createElement(K,Object.assign({ref:function(e){n.__reactRefs.area=e},type:"textarea",wrap:!1,placeholder:a,disabled:s,name:i,readonly:l,resizable:p,onInput:this.onInput,onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,onKeydown:this.onKeydown,onKeyup:this.onKeyup,onKeypress:this.onKeypress},k)),C),(u&&u.length>0||v)&&o.default.createElement(q,{onClick:this.onClick},v||u),E,N),b,t)},t.prototype.componentWillUnmount=function(){this.f7Messagebar&&this.f7Messagebar.destroy&&this.f7Messagebar.destroy()},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.sheetVisible",e,t,(function(){var e=o;e.props.resizable&&e.f7Messagebar&&(e.updateSheetVisible=!0)})),v(this,"props.attachmentsVisible",e,t,(function(){var e=o;e.props.resizable&&e.f7Messagebar&&(e.updateAttachmentsVisible=!0)}));if(this.f7Messagebar){var n=this.props,r=n.sheetVisible,a=n.attachmentsVisible;this.updateSheetVisible&&(this.updateSheetVisible=!1,this.f7Messagebar.sheetVisible=r,this.f7Messagebar.resizePage()),this.updateAttachmentsVisible&&(this.updateAttachmentsVisible=!1,this.f7Messagebar.attachmentsVisible=a,this.f7Messagebar.resizePage())}},t.prototype.componentDidMount=function(){var e=this,t=e.props,o=t.init,r=t.top,a=t.resizePage,s=t.bottomOffset,i=t.topOffset,l=t.maxHeight;if(o){var p=e.refs.el;if(p){var c=n.noUndefinedProps({el:p,top:r,resizePage:a,bottomOffset:s,topOffset:i,maxHeight:l,on:{attachmentDelete:e.onAttachmentDelete,attachmentClick:e.onAttachmentClick,resizePage:e.onResizePage}});e.$f7ready((function(){e.f7Messagebar=e.$f7.messagebar.create(c)}))}}},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(me,Object.assign({id:[String,Number],className:String,style:Object,sheetVisible:Boolean,attachmentsVisible:Boolean,top:Boolean,resizable:{type:Boolean,default:!0},bottomOffset:{type:Number,default:0},topOffset:{type:Number,default:0},maxHeight:Number,resizePage:{type:Boolean,default:!0},sendLink:String,value:[String,Number,Array],disabled:Boolean,readonly:Boolean,textareaId:[Number,String],name:String,placeholder:{type:String,default:"Message"},init:{type:Boolean,default:!0}},r.colorProps)),me.displayName="f7-messagebar";var ge=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"messages-title",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(ge,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),ge.displayName="f7-messages-title";var be=function(e){function t(t,o){e.call(this,t,o),this.__reactRefs={}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.renderMessages=function(e,t){if(this.f7Messages)return this.f7Messages.renderMessages(e,t)},t.prototype.layout=function(){if(this.f7Messages)return this.f7Messages.layout()},t.prototype.scroll=function(e,t){if(this.f7Messages)return this.f7Messages.scroll(e,t)},t.prototype.clear=function(){if(this.f7Messages)return this.f7Messages.clear()},t.prototype.removeMessage=function(e,t){if(this.f7Messages)return this.f7Messages.removeMessage(e,t)},t.prototype.removeMessages=function(e,t){if(this.f7Messages)return this.f7Messages.removeMessages(e,t)},t.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)},t.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)},t.prototype.showTyping=function(e){if(this.f7Messages)return this.f7Messages.showTyping(e)},t.prototype.hideTyping=function(){if(this.f7Messages)return this.f7Messages.hideTyping()},t.prototype.destroy=function(){if(this.f7Messages)return this.f7Messages.destroy()},t.prototype.render=function(){var e=this,t=this.props,a=t.id,s=t.style,i=t.className,l=n.classNames(i,"messages",r.colorClasses(t));return o.default.createElement("div",{ref:function(t){e.__reactRefs.el=t},id:a,style:s,className:l},this.slots.default)},t.prototype.componentWillUnmount=function(){this.f7Messages&&this.f7Messages.destroy&&this.f7Messages.destroy()},t.prototype.componentDidMount=function(){var e=this,t=e.props,o=t.init,r=t.autoLayout,a=t.messages,s=t.newMessagesFirst,i=t.scrollMessages,l=t.scrollMessagesOnEdge,p=t.firstMessageRule,c=t.lastMessageRule,u=t.tailMessageRule,d=t.sameNameMessageRule,f=t.sameHeaderMessageRule,h=t.sameFooterMessageRule,m=t.sameAvatarMessageRule,g=t.customClassMessageRule,b=t.renderMessage;o&&e.$f7ready((function(t){e.f7Messages=t.messages.create(n.noUndefinedProps({el:e.refs.el,autoLayout:r,messages:a,newMessagesFirst:s,scrollMessages:i,scrollMessagesOnEdge:l,firstMessageRule:p,lastMessageRule:c,tailMessageRule:u,sameNameMessageRule:d,sameHeaderMessageRule:f,sameFooterMessageRule:h,sameAvatarMessageRule:m,customClassMessageRule:g,renderMessage:b}))}))},t.prototype.componentDidUpdate=function(){var e=this.props,t=e.init,o=e.autoLayout,n=e.scrollMessages;if(t){var r=this.refs.el;if(r){var a=r.children;if(a){for(var s=0;s<a.length;s+=1)a[s].classList.contains("message-appeared")||a[s].classList.add("message-appear-from-bottom");this.f7Messages&&this.f7Messages.layout&&o&&this.f7Messages.layout(),this.f7Messages&&this.f7Messages.scroll&&n&&this.f7Messages.scroll()}}}},t.prototype.getSnapshotBeforeUpdate=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")}}},s.slots.get=function(){return a(this.props)},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(be,Object.assign({id:[String,Number],className:String,style:Object,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}},r.colorProps)),be.displayName="f7-messages";var ve=function(e){function t(t,o){var r=this;e.call(this,t,o),n.bindMethods(r,["onBackClick"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.onBackClick=function(e){this.dispatchEvent("back-click backClick click:back clickBack",e)},t.prototype.render=function(){var e,t=this.props,a=t.backLink,s=t.backLinkUrl,i=t.backLinkForce,l=t.backLinkShowText,p=t.sliding,c=t.className,u=t.style,d=t.id,f=l;if(void 0===f&&(f=!this.$theme.md),a){var h=!0!==a&&f?a:void 0;e=o.default.createElement(q,{href:s||"#",back:!0,icon:"icon-back",force:i||void 0,className:h?void 0:"icon-only",text:h,onClick:this.onBackClick})}var m=n.classNames(c,"left",{sliding:p},r.colorClasses(t)),g=[],b=this.slots;return b&&Object.keys(b).length&&Object.keys(b).forEach((function(e){g.push.apply(g,b[e])})),o.default.createElement("div",{id:d,style:u,className:m},e,g)},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(ve,Object.assign({id:[String,Number],className:String,style:Object,backLink:[Boolean,String],backLinkUrl:String,backLinkForce:Boolean,backLinkShowText:{type:Boolean,default:void 0},sliding:Boolean},r.colorProps)),ve.displayName="f7-nav-left";var ye=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=e.sliding,l=n.classNames(t,"right",{sliding:i},r.colorClasses(e)),p=[],c=this.slots;return c&&Object.keys(c).length&&Object.keys(c).forEach((function(e){p.push.apply(p,c[e])})),o.default.createElement("div",{id:a,style:s,className:l},p)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(ye,Object.assign({id:[String,Number],className:String,style:Object,sliding:Boolean},r.colorProps)),ye.displayName="f7-nav-right";var Ee=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.id,a=e.style,s=e.className,i=n.classNames(s,"title-large",r.colorClasses(e)),l=[],p=this.slots;return p&&Object.keys(p).length&&Object.keys(p).forEach((function(e){l.push.apply(l,p[e])})),o.default.createElement("div",{id:t,style:a,className:i},o.default.createElement("div",{className:"title-large-text"},l))},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Ee,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),Ee.displayName="f7-nav-title";var Se=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e,t=this.props,a=t.title,s=t.subtitle,i=t.id,l=t.style,p=t.sliding,c=t.className;s&&(e=o.default.createElement("span",{className:"subtitle"},s));var u,d=n.classNames(c,"title",{sliding:p},r.colorClasses(t)),f=this.slots;return f&&Object.keys(f).length&&(u=[],Object.keys(f).forEach((function(e){u.push.apply(u,f[e])}))),o.default.createElement("div",{id:i,style:l,className:d},u,!u&&a,!u&&e)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Se,Object.assign({id:[String,Number],className:String,style:Object,title:String,subtitle:String,sliding:Boolean},r.colorProps)),Se.displayName="f7-nav-title";var Ce=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},this.state=function(){var e=r,t=e.$f7;return t||e.$f7ready((function(){e.setState({_theme:e.$theme})})),{_theme:t?e.$theme:null,routerPositionClass:"",largeCollapsed:!1,routerNavbarRole:null,routerNavbarRoleDetailRoot:!1,routerNavbarMasterStack:!1,transparentVisible:!1}}(),n.bindMethods(r,["onBackClick","onHide","onShow","onExpand","onCollapse","onNavbarPosition","onNavbarRole","onNavbarMasterStack","onNavbarMasterUnstack","onTransparentHide","onTransparentShow"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onHide=function(e){this.eventTargetEl===e&&this.dispatchEvent("navbar:hide navbarHide")},t.prototype.onShow=function(e){this.eventTargetEl===e&&this.dispatchEvent("navbar:show navbarShow")},t.prototype.onExpand=function(e){this.eventTargetEl===e&&(this.setState({largeCollapsed:!1}),this.dispatchEvent("navbar:expand navbarExpand"))},t.prototype.onCollapse=function(e){this.eventTargetEl===e&&(this.setState({largeCollapsed:!0}),this.dispatchEvent("navbar:collapse navbarCollapse"))},t.prototype.onNavbarTransparentShow=function(e){this.eventTargetEl===e&&(this.setState({transparentVisible:!0}),this.dispatchEvent("navbar:transparentshow navbarTransparentShow"))},t.prototype.onNavbarTransparentHide=function(e){this.eventTargetEl===e&&(this.setState({transparentVisible:!1}),this.dispatchEvent("navbar:transparenthide navbarTransparentHide"))},t.prototype.onNavbarPosition=function(e,t){this.eventTargetEl===e&&this.setState({routerPositionClass:t?"navbar-"+t:""})},t.prototype.onNavbarRole=function(e,t){this.eventTargetEl===e&&this.setState({routerNavbarRole:t.role,routerNavbarRoleDetailRoot:t.detailRoot})},t.prototype.onNavbarMasterStack=function(e){this.eventTargetEl===e&&this.setState({routerNavbarMasterStack:!0})},t.prototype.onNavbarMasterUnstack=function(e){this.eventTargetEl===e&&this.setState({routerNavbarMasterStack:!1})},t.prototype.hide=function(e){this.$f7&&this.$f7.navbar.hide(this.refs.el,e)},t.prototype.show=function(e){this.$f7&&this.$f7.navbar.show(this.refs.el,e)},t.prototype.size=function(){this.$f7&&this.$f7.navbar.size(this.refs.el)},t.prototype.onBackClick=function(e){this.dispatchEvent("back-click backClick click:back clickBack",e)},t.prototype.render=function(){var e,t,a,s,i=this,l=this.props,p=l.backLink,c=l.backLinkUrl,u=l.backLinkForce,d=l.backLinkShowText,f=l.sliding,h=l.title,m=l.subtitle,g=l.innerClass,b=l.innerClassName,v=l.className,y=l.id,E=l.style,S=l.hidden,C=l.noShadow,N=l.noHairline,k=l.large,B=l.largeTransparent,O=l.transparent,w=l.titleLarge,_=this.state,P=_._theme,T=_.routerPositionClass,j=_.largeCollapsed,x=_.transparentVisible,R=P&&P.ios&&this.$f7&&!this.$f7.params.navbar.iosCenterTitle,M=P&&P.md&&this.$f7&&this.$f7.params.navbar.mdCenterTitle||P&&P.aurora&&this.$f7&&this.$f7.params.navbar.auroraCenterTitle,I=this.slots,A=k||B,L=O||A&&B,D=L&&x,$=n.classNames(v,"navbar",T&&T,{"navbar-hidden":S,"navbar-large":A,"navbar-large-collapsed":A&&j,"navbar-transparent":L,"navbar-transparent-visible":D,"navbar-master":"master"===this.state.routerNavbarRole,"navbar-master-detail":"detail"===this.state.routerNavbarRole,"navbar-master-detail-root":!0===this.state.routerNavbarRoleDetailRoot,"navbar-master-stacked":!0===this.state.routerNavbarMasterStack,"no-shadow":C,"no-hairline":N},r.colorClasses(l));(p||I["nav-left"]||I.left)&&(e=o.default.createElement(ve,{backLink:p,backLinkUrl:c,backLinkForce:u,backLinkShowText:d,onBackClick:this.onBackClick},I["nav-left"],I.left)),(h||m||I.title)&&(t=o.default.createElement(Se,{title:h,subtitle:m},I.title)),(I["nav-right"]||I.right)&&(a=o.default.createElement(ye,null,I["nav-right"],I.right));var z=w;!z&&k&&h&&(z=h),(z||I["title-large"])&&(s=o.default.createElement("div",{className:"title-large"},o.default.createElement("div",{className:"title-large-text"},z||"",this.slots["title-large"])));var U=o.default.createElement("div",{className:n.classNames("navbar-inner",g,b,{sliding:f,"navbar-inner-left-title":R,"navbar-inner-centered-title":M})},e,t,a,s,this.slots.default);return o.default.createElement("div",{ref:function(e){i.__reactRefs.el=e},id:y,style:E,className:$},o.default.createElement("div",{className:"navbar-bg"}),this.slots["before-inner"],U,this.slots["after-inner"])},t.prototype.componentWillUnmount=function(){if(this.refs.el&&this.$f7){var e=this.$f7;e.off("navbarShow",this.onShow),e.off("navbarHide",this.onHide),e.off("navbarCollapse",this.onCollapse),e.off("navbarExpand",this.onExpand),e.off("navbarPosition",this.onNavbarPosition),e.off("navbarRole",this.onNavbarRole),e.off("navbarMasterStack",this.onNavbarMasterStack),e.off("navbarMasterUnstack",this.onNavbarMasterUnstack),e.off("navbarTransparentShow",this.onNavbarTransparentShow),e.off("navbarTransparentHide",this.onNavbarTransparentHide),this.eventTargetEl=null,delete this.eventTargetEl}},t.prototype.componentDidUpdate=function(){if(this.$f7){var e=this.refs.el;this.$f7.navbar.size(e)}},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;t&&e.$f7ready((function(o){e.eventTargetEl=t,o.on("navbarShow",e.onShow),o.on("navbarHide",e.onHide),o.on("navbarCollapse",e.onCollapse),o.on("navbarExpand",e.onExpand),o.on("navbarPosition",e.onNavbarPosition),o.on("navbarRole",e.onNavbarRole),o.on("navbarMasterStack",e.onNavbarMasterStack),o.on("navbarMasterUnstack",e.onNavbarMasterUnstack),o.on("navbarTransparentShow",e.onNavbarTransparentShow),o.on("navbarTransparentHide",e.onNavbarTransparentHide)}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Ce,Object.assign({id:[String,Number],className:String,style:Object,backLink:[Boolean,String],backLinkUrl:String,backLinkForce:Boolean,backLinkShowText:{type:Boolean,default:void 0},sliding:{type:Boolean,default:!0},title:String,subtitle:String,hidden:Boolean,noShadow:Boolean,noHairline:Boolean,innerClass:String,innerClassName:String,large:Boolean,largeTransparent:Boolean,transparent:Boolean,titleLarge:String},r.colorProps)),Ce.displayName="f7-navbar";var Ne=function(e){function t(t,o){var n=this;e.call(this,t,o),this.state=function(){var e=n,t=e.$f7;return t||e.$f7ready((function(){e.setState({_theme:e.$theme})})),{_theme:t?e.$theme:null}}()}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var a={sizeComputed:{configurable:!0}};return a.sizeComputed.get=function(){var e=this.props.size;return e&&"string"==typeof e&&e.indexOf("px")>=0&&(e=e.replace("px","")),e},t.prototype.render=function(){var e,t=this.sizeComputed,a=this.props,s=a.id,i=a.style,l=a.className,p=this.state._theme,c={};t&&(c.width=t+"px",c.height=t+"px",c["--f7-preloader-size"]=t+"px"),i&&n.extend(c,i||{}),p&&p.md?e=o.default.createElement("span",{className:"preloader-inner"},o.default.createElement("span",{className:"preloader-inner-gap"}),o.default.createElement("span",{className:"preloader-inner-left"},o.default.createElement("span",{className:"preloader-inner-half-circle"})),o.default.createElement("span",{className:"preloader-inner-right"},o.default.createElement("span",{className:"preloader-inner-half-circle"}))):p&&p.ios?e=o.default.createElement("span",{className:"preloader-inner"},o.default.createElement("span",{className:"preloader-inner-line"}),o.default.createElement("span",{className:"preloader-inner-line"}),o.default.createElement("span",{className:"preloader-inner-line"}),o.default.createElement("span",{className:"preloader-inner-line"}),o.default.createElement("span",{className:"preloader-inner-line"}),o.default.createElement("span",{className:"preloader-inner-line"}),o.default.createElement("span",{className:"preloader-inner-line"}),o.default.createElement("span",{className:"preloader-inner-line"}),o.default.createElement("span",{className:"preloader-inner-line"}),o.default.createElement("span",{className:"preloader-inner-line"}),o.default.createElement("span",{className:"preloader-inner-line"}),o.default.createElement("span",{className:"preloader-inner-line"})):p&&p.aurora?e=o.default.createElement("span",{className:"preloader-inner"},o.default.createElement("span",{className:"preloader-inner-circle"})):p||(e=o.default.createElement("span",{className:"preloader-inner"}));var u=n.classNames(l,"preloader",r.colorClasses(a));return o.default.createElement("span",{id:s,style:c,className:u},e)},Object.defineProperties(t.prototype,a),t}(o.default.Component);p(Ne,Object.assign({id:[String,Number],className:String,style:Object,size:[Number,String]},r.colorProps)),Ne.displayName="f7-preloader";var ke=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onPtrPullStart","onPtrPullMove","onPtrPullEnd","onPtrRefresh","onPtrDone","onInfinite","onTabShow","onTabHide"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onPtrPullStart=function(e){this.eventTargetEl===e&&this.dispatchEvent("ptr:pullstart ptrPullStart")},t.prototype.onPtrPullMove=function(e){this.eventTargetEl===e&&this.dispatchEvent("ptr:pullmove ptrPullMove")},t.prototype.onPtrPullEnd=function(e){this.eventTargetEl===e&&this.dispatchEvent("ptr:pullend ptrPullEnd")},t.prototype.onPtrRefresh=function(e,t){this.eventTargetEl===e&&this.dispatchEvent("ptr:refresh ptrRefresh",t)},t.prototype.onPtrDone=function(e){this.eventTargetEl===e&&this.dispatchEvent("ptr:done ptrDone")},t.prototype.onInfinite=function(e){this.eventTargetEl===e&&this.dispatchEvent("infinite")},t.prototype.onTabShow=function(e){this.eventTargetEl===e&&this.dispatchEvent("tab:show tabShow",e)},t.prototype.onTabHide=function(e){this.eventTargetEl===e&&this.dispatchEvent("tab:hide tabHide",e)},s.classes.get=function(){var e=this.props,t=e.className,o=e.tab,a=e.tabActive,s=e.ptr,i=e.ptrBottom,l=e.infinite,p=e.infiniteTop,c=e.hideBarsOnScroll,u=e.hideNavbarOnScroll,d=e.hideToolbarOnScroll,f=e.messagesContent,h=e.loginScreen;return n.classNames(t,"page-content",{tab:o,"tab-active":a,"ptr-content":s,"ptr-bottom":i,"infinite-scroll-content":l,"infinite-scroll-top":p,"hide-bars-on-scroll":c,"hide-navbar-on-scroll":u,"hide-toolbar-on-scroll":d,"messages-content":f,"login-screen-content":h},r.colorClasses(e))},t.prototype.render=function(){var e,t,n=this,r=this.props,a=r.ptr,s=r.ptrPreloader,i=r.ptrDistance,l=r.ptrBottom,p=r.ptrMousewheel,c=r.infinite,u=r.infinitePreloader,d=r.id,f=r.style,h=r.infiniteDistance,m=r.infiniteTop;return a&&s&&(e=o.default.createElement("div",{className:"ptr-preloader"},o.default.createElement(Ne,null),o.default.createElement("div",{className:"ptr-arrow"}))),c&&u&&(t=o.default.createElement(Ne,{className:"infinite-scroll-preloader"})),o.default.createElement("div",{id:d,style:f,className:this.classes,"data-ptr-distance":i||void 0,"data-ptr-mousewheel":p||void 0,"data-infinite-distance":h||void 0,ref:function(e){n.__reactRefs.el=e}},l?null:e,m?t:null,this.slots.default,m?null:t,l?e:null)},t.prototype.componentWillUnmount=function(){this.$f7&&(this.$f7.off("ptrPullStart",this.onPtrPullStart),this.$f7.off("ptrPullMove",this.onPtrPullMove),this.$f7.off("ptrPullEnd",this.onPtrPullEnd),this.$f7.off("ptrRefresh",this.onPtrRefresh),this.$f7.off("ptrDone",this.onPtrDone),this.$f7.off("infinite",this.onInfinite),this.$f7.off("tabShow",this.onTabShow),this.$f7.off("tabHide",this.onTabHide),this.eventTargetEl=null,delete this.eventTargetEl)},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el,o=e.props,n=o.ptr,r=o.infinite,a=o.tab;e.$f7ready((function(o){e.eventTargetEl=t,n&&(o.on("ptrPullStart",e.onPtrPullStart),o.on("ptrPullMove",e.onPtrPullMove),o.on("ptrPullEnd",e.onPtrPullEnd),o.on("ptrRefresh",e.onPtrRefresh),o.on("ptrDone",e.onPtrDone)),r&&o.on("infinite",e.onInfinite),a&&(o.on("tabShow",e.onTabShow),o.on("tabHide",e.onTabHide))}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(ke,Object.assign({id:[String,Number],className:String,style:Object,tab:Boolean,tabActive:Boolean,ptr:Boolean,ptrDistance:Number,ptrPreloader:{type:Boolean,default:!0},ptrBottom:Boolean,ptrMousewheel:Boolean,infinite:Boolean,infiniteTop:Boolean,infiniteDistance:Number,infinitePreloader:{type:Boolean,default:!0},hideBarsOnScroll:Boolean,hideNavbarOnScroll:Boolean,hideToolbarOnScroll:Boolean,messagesContent:Boolean,loginScreen:Boolean},r.colorProps)),ke.displayName="f7-page-content";var Be=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},this.state={hasSubnavbar:!1,hasNavbarLarge:!1,hasNavbarLargeCollapsed:!1,hasCardExpandableOpened:!1,routerPositionClass:"",routerForceUnstack:!1,routerPageRole:null,routerPageRoleDetailRoot:!1,routerPageMasterStack:!1},n.bindMethods(r,["onPtrPullStart","onPtrPullMove","onPtrPullEnd","onPtrRefresh","onPtrDone","onInfinite","onPageMounted","onPageInit","onPageReinit","onPageBeforeIn","onPageBeforeOut","onPageAfterOut","onPageAfterIn","onPageBeforeRemove","onPageBeforeUnmount","onPageStack","onPageUnstack","onPagePosition","onPageRole","onPageMasterStack","onPageMasterUnstack","onPageNavbarLargeCollapsed","onPageNavbarLargeExpanded","onCardOpened","onCardClose","onPageTabShow","onPageTabHide"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onPtrPullStart=function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["ptr:pullstart ptrPullStart"].concat(t))},t.prototype.onPtrPullMove=function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["ptr:pullmove ptrPullMove"].concat(t))},t.prototype.onPtrPullEnd=function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["ptr:pullend ptrPullEnd"].concat(t))},t.prototype.onPtrRefresh=function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["ptr:refresh ptrRefresh"].concat(t))},t.prototype.onPtrDone=function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["ptr:done ptrDone"].concat(t))},t.prototype.onInfinite=function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["infinite"].concat(t))},t.prototype.onPageMounted=function(e){this.eventTargetEl===e.el&&this.dispatchEvent("page:mounted pageMounted",e)},t.prototype.onPageInit=function(e){if(this.eventTargetEl===e.el){var t=this.props,o=t.withSubnavbar,n=t.subnavbar,r=t.withNavbarLarge,a=t.navbarLarge;void 0===o&&void 0===n&&(e.$navbarEl&&e.$navbarEl.length&&e.$navbarEl.find(".subnavbar").length||e.$el.children(".navbar").find(".subnavbar").length)&&this.setState({hasSubnavbar:!0}),void 0===r&&void 0===a&&e.$navbarEl&&e.$navbarEl.hasClass("navbar-large")&&this.setState({hasNavbarLarge:!0}),this.dispatchEvent("page:init pageInit",e)}},t.prototype.onPageReinit=function(e){this.eventTargetEl===e.el&&this.dispatchEvent("page:reinit pageReinit",e)},t.prototype.onPageBeforeIn=function(e){this.eventTargetEl===e.el&&(e.swipeBack||("next"===e.from&&this.setState({routerPositionClass:"page-next"}),"previous"===e.from&&this.setState({routerPositionClass:"page-previous"})),this.dispatchEvent("page:beforein pageBeforeIn",e))},t.prototype.onPageBeforeOut=function(e){this.eventTargetEl===e.el&&this.dispatchEvent("page:beforeout pageBeforeOut",e)},t.prototype.onPageAfterOut=function(e){this.eventTargetEl===e.el&&("next"===e.to&&this.setState({routerPositionClass:"page-next"}),"previous"===e.to&&this.setState({routerPositionClass:"page-previous"}),this.dispatchEvent("page:afterout pageAfterOut",e))},t.prototype.onPageAfterIn=function(e){this.eventTargetEl===e.el&&(this.setState({routerPositionClass:"page-current"}),this.dispatchEvent("page:afterin pageAfterIn",e))},t.prototype.onPageBeforeRemove=function(e){this.eventTargetEl===e.el&&this.dispatchEvent("page:beforeremove pageBeforeRemove",e)},t.prototype.onPageBeforeUnmount=function(e){this.eventTargetEl===e.el&&this.dispatchEvent("page:beforeunmount pageBeforeUnmount",e)},t.prototype.onPageStack=function(e){this.eventTargetEl===e&&this.setState({routerForceUnstack:!1})},t.prototype.onPageUnstack=function(e){this.eventTargetEl===e&&this.setState({routerForceUnstack:!0})},t.prototype.onPagePosition=function(e,t){this.eventTargetEl===e&&this.setState({routerPositionClass:"page-"+t})},t.prototype.onPageRole=function(e,t){this.eventTargetEl===e&&this.setState({routerPageRole:t.role,routerPageRoleDetailRoot:t.detailRoot})},t.prototype.onPageMasterStack=function(e){this.eventTargetEl===e&&this.setState({routerPageMasterStack:!0})},t.prototype.onPageMasterUnstack=function(e){this.eventTargetEl===e&&this.setState({routerPageMasterStack:!1})},t.prototype.onPageNavbarLargeCollapsed=function(e){this.eventTargetEl===e&&this.setState({hasNavbarLargeCollapsed:!0})},t.prototype.onPageNavbarLargeExpanded=function(e){this.eventTargetEl===e&&this.setState({hasNavbarLargeCollapsed:!1})},t.prototype.onCardOpened=function(e,t){this.eventTargetEl===t&&this.setState({hasCardExpandableOpened:!0})},t.prototype.onCardClose=function(e,t){this.eventTargetEl===t&&this.setState({hasCardExpandableOpened:!1})},t.prototype.onPageTabShow=function(e){this.eventTargetEl===e&&this.dispatchEvent("page:tabshow pageTabShow")},t.prototype.onPageTabHide=function(e){this.eventTargetEl===e&&this.dispatchEvent("page:tabhide pageTabHide")},t.prototype.render=function(){var e,t,a,s,i=this,l=this.props,p=l.id,c=l.style,u=l.name,d=l.pageContent,f=l.messagesContent,h=l.ptr,m=l.ptrDistance,g=l.ptrPreloader,b=l.ptrBottom,v=l.ptrMousewheel,y=l.infinite,E=l.infiniteDistance,S=l.infinitePreloader,C=l.infiniteTop,N=l.hideBarsOnScroll,k=l.hideNavbarOnScroll,B=l.hideToolbarOnScroll,O=l.loginScreen,w=l.className,_=l.stacked,P=l.tabs,T=l.subnavbar,j=l.withSubnavbar,x=l.navbarLarge,R=l.withNavbarLarge,M=l.noNavbar,I=l.noToolbar,A=l.noSwipeback,L=[],D=[],$=this.slots,z=$.static,U=$.fixed,H=$.default;e="navbar toolbar tabbar subnavbar searchbar messagebar fab list-index".split(" ").map((function(e){return"f7-"+e})),a=f,H&&H.forEach((function(o){if(void 0!==o){var n=!1,r=o.type&&(o.type.displayName||o.type.name);r?("F7Subnavbar"!==r&&"f7-subnavbar"!==r||(t=!0),"F7Navbar"!==r&&"f7-navbar"!==r||o.props&&o.props.large&&(s=!0),void 0!==a||"F7Messages"!==r&&"f7-messages"!==r||(a=!0),e.indexOf(r)>=0&&(n=!0),d&&(n?L.push(o):D.push(o))):d&&D.push(o)}}));var F=void 0===T&&void 0===j&&(t||this.state.hasSubnavbar),V=void 0===x&&void 0===R&&(s||this.state.hasNavbarLarge),W=n.classNames(w,"page",this.state.routerPositionClass,{stacked:_&&!this.state.routerForceUnstack,tabs:P,"page-with-subnavbar":T||j||F,"page-with-navbar-large":x||R||V,"no-navbar":M,"no-toolbar":I,"no-swipeback":A,"page-master":"master"===this.state.routerPageRole,"page-master-detail":"detail"===this.state.routerPageRole,"page-master-detail-root":!0===this.state.routerPageRoleDetailRoot,"page-master-stacked":!0===this.state.routerPageMasterStack,"page-with-navbar-large-collapsed":!0===this.state.hasNavbarLargeCollapsed,"page-with-card-opened":!0===this.state.hasCardExpandableOpened,"login-screen-page":O},r.colorClasses(l));if(!d)return o.default.createElement("div",{ref:function(e){i.__reactRefs.el=e},id:p,style:c,className:W,"data-name":u},U,z,H);var K=o.default.createElement(ke,{ptr:h,ptrDistance:m,ptrPreloader:g,ptrBottom:b,ptrMousewheel:v,infinite:y,infiniteTop:C,infiniteDistance:E,infinitePreloader:S,hideBarsOnScroll:N,hideNavbarOnScroll:k,hideToolbarOnScroll:B,messagesContent:f||a,loginScreen:O,onPtrPullStart:this.onPtrPullStart,onPtrPullMove:this.onPtrPullMove,onPtrPullEnd:this.onPtrPullEnd,onPtrRefresh:this.onPtrRefresh,onPtrDone:this.onPtrDone,onInfinite:this.onInfinite},z,D);return o.default.createElement("div",{ref:function(e){i.__reactRefs.el=e},id:p,style:c,className:W,"data-name":u},L,U,K)},t.prototype.componentWillUnmount=function(){if(this.$f7){var e=this.$f7;e.off("pageMounted",this.onPageMounted),e.off("pageInit",this.onPageInit),e.off("pageReinit",this.onPageReinit),e.off("pageBeforeIn",this.onPageBeforeIn),e.off("pageBeforeOut",this.onPageBeforeOut),e.off("pageAfterOut",this.onPageAfterOut),e.off("pageAfterIn",this.onPageAfterIn),e.off("pageBeforeRemove",this.onPageBeforeRemove),e.off("pageBeforeUnmount",this.onPageBeforeUnmount),e.off("pageStack",this.onPageStack),e.off("pageUnstack",this.onPageUnstack),e.off("pagePosition",this.onPagePosition),e.off("pageRole",this.onPageRole),e.off("pageMasterStack",this.onPageMasterStack),e.off("pageMasterUnstack",this.onPageMasterUnstack),e.off("pageNavbarLargeCollapsed",this.onPageNavbarLargeCollapsed),e.off("pageNavbarLargeExpanded",this.onPageNavbarLargeExpanded),e.off("cardOpened",this.onCardOpened),e.off("cardClose",this.onCardClose),e.off("pageTabShow",this.onPageTabShow),e.off("pageTabHide",this.onPageTabHide),this.eventTargetEl=null,delete this.eventTargetEl}},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;e.$f7ready((function(o){e.eventTargetEl=t,o.on("pageMounted",e.onPageMounted),o.on("pageInit",e.onPageInit),o.on("pageReinit",e.onPageReinit),o.on("pageBeforeIn",e.onPageBeforeIn),o.on("pageBeforeOut",e.onPageBeforeOut),o.on("pageAfterOut",e.onPageAfterOut),o.on("pageAfterIn",e.onPageAfterIn),o.on("pageBeforeRemove",e.onPageBeforeRemove),o.on("pageBeforeUnmount",e.onPageBeforeUnmount),o.on("pageStack",e.onPageStack),o.on("pageUnstack",e.onPageUnstack),o.on("pagePosition",e.onPagePosition),o.on("pageRole",e.onPageRole),o.on("pageMasterStack",e.onPageMasterStack),o.on("pageMasterUnstack",e.onPageMasterUnstack),o.on("pageNavbarLargeCollapsed",e.onPageNavbarLargeCollapsed),o.on("pageNavbarLargeExpanded",e.onPageNavbarLargeExpanded),o.on("cardOpened",e.onCardOpened),o.on("cardClose",e.onCardClose),o.on("pageTabShow",e.onPageTabShow),o.on("pageTabHide",e.onPageTabHide)}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Be,Object.assign({id:[String,Number],className:String,style:Object,name:String,stacked:Boolean,withSubnavbar:{type:Boolean,default:void 0},subnavbar:{type:Boolean,default:void 0},withNavbarLarge:{type:Boolean,default:void 0},navbarLarge:{type:Boolean,default:void 0},noNavbar:Boolean,noToolbar:Boolean,tabs:Boolean,pageContent:{type:Boolean,default:!0},noSwipeback:Boolean,ptr:Boolean,ptrDistance:Number,ptrPreloader:{type:Boolean,default:!0},ptrBottom:Boolean,ptrMousewheel:Boolean,infinite:Boolean,infiniteTop:Boolean,infiniteDistance:Number,infinitePreloader:{type:Boolean,default:!0},hideBarsOnScroll:Boolean,hideNavbarOnScroll:Boolean,hideToolbarOnScroll:Boolean,messagesContent:Boolean,loginScreen:Boolean},r.colorProps)),Be.displayName="f7-page";var Oe=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onOpen","onOpened","onClose","onClosed","onBackdropClick","onSwipe","onSwipeOpen","onBreakpoint","onCollapsedBreakpoint","onResize"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onOpen=function(e){this.dispatchEvent("panel:open panelOpen",e)},t.prototype.onOpened=function(e){this.dispatchEvent("panel:opened panelOpened",e)},t.prototype.onClose=function(e){this.dispatchEvent("panel:close panelClose",e)},t.prototype.onClosed=function(e){this.dispatchEvent("panel:closed panelClosed",e)},t.prototype.onBackdropClick=function(e){this.dispatchEvent("panel:backdrop-click panelBackdropClick",e)},t.prototype.onSwipe=function(e){this.dispatchEvent("panel:swipe panelSwipe",e)},t.prototype.onSwipeOpen=function(e){this.dispatchEvent("panel:swipeopen panelSwipeOpen",e)},t.prototype.onBreakpoint=function(e){this.dispatchEvent("panel:breakpoint panelBreakpoint",e)},t.prototype.onCollapsedBreakpoint=function(e){this.dispatchEvent("panel:collapsedbreakpoint panelCollapsedBreakpoint",e)},t.prototype.onResize=function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["panel:resize panelResize"].concat(t))},t.prototype.open=function(e){this.f7Panel&&this.f7Panel.open(e)},t.prototype.close=function(e){this.f7Panel&&this.f7Panel.close(e)},t.prototype.toggle=function(e){this.f7Panel&&this.f7Panel.toggle(e)},s.classes.get=function(){var e,t=this.props,o=t.left,a=t.reveal,s=t.className,i=t.resizable,l=t.side,p=t.effect;return l=l||(o?"left":"right"),p=p||(a?"reveal":"cover"),n.classNames(s,"panel",((e={"panel-resizable":i})["panel-"+l]=l,e["panel-"+p]=p,e),r.colorClasses(t))},t.prototype.render=function(){var e=this,t=this.props,n=t.id,r=t.style,a=t.resizable;return o.default.createElement("div",{ref:function(t){e.__reactRefs.el=t},id:n,style:r,className:this.classes},this.slots.default,a&&o.default.createElement("div",{className:"panel-resize-handler"}))},t.prototype.componentWillUnmount=function(){this.f7Panel&&this.f7Panel.destroy&&this.f7Panel.destroy()},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el,o=e.props,r=o.opened,a=o.resizable,s=o.backdrop,i=o.backdropEl,l=o.visibleBreakpoint,p=o.collapsedBreakpoint,c=o.swipe,u=o.swipeNoFollow,d=o.swipeOnlyClose,f=o.swipeActiveArea,h=o.swipeThreshold;e.$f7ready((function(){var o=e.$$;if(o){0===o(".panel-backdrop").length&&o('<div class="panel-backdrop"></div>').insertBefore(t);var m=n.noUndefinedProps({el:t,resizable:a,backdrop:s,backdropEl:i,visibleBreakpoint:l,collapsedBreakpoint:p,swipe:c,swipeNoFollow:u,swipeOnlyClose:d,swipeActiveArea:f,swipeThreshold:h,on:{open:e.onOpen,opened:e.onOpened,close:e.onClose,closed:e.onClosed,backdropClick:e.onBackdropClick,swipe:e.onSwipe,swipeOpen:e.onSwipeOpen,collapsedBreakpoint:e.onCollapsedBreakpoint,breakpoint:e.onBreakpoint,resize:e.onResize}});e.f7Panel=e.$f7.panel.create(m),r&&e.f7Panel.open(!1)}}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.resizable",e,t,(function(e){var t=o;t.f7Panel&&(e?t.f7Panel.enableResizable():t.f7Panel.disableResizable())})),v(this,"props.opened",e,t,(function(e){var t=o;t.f7Panel&&(e?t.f7Panel.open():t.f7Panel.close())}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Oe,Object.assign({id:[String,Number],className:String,style:Object,side:String,effect:String,cover:Boolean,reveal:Boolean,left:Boolean,right:Boolean,opened:Boolean,resizable:Boolean,backdrop:{type:Boolean,default:!0},backdropEl:{type:String,default:void 0},visibleBreakpoint:{type:Number,default:void 0},collapsedBreakpoint:{type:Number,default:void 0},swipe:Boolean,swipeNoFollow:Boolean,swipeOnlyClose:Boolean,swipeActiveArea:{type:Number,default:0},swipeThreshold:{type:Number,default:0}},r.colorProps)),Oe.displayName="f7-panel";var we=function(e){function t(t,o){e.call(this,t,o)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.open=function(e){return this.f7PhotoBrowser.open(e)},t.prototype.close=function(){return this.f7PhotoBrowser.close()},t.prototype.expositionToggle=function(){return this.f7PhotoBrowser.expositionToggle()},t.prototype.expositionEnable=function(){return this.f7PhotoBrowser.expositionEnable()},t.prototype.expositionDisable=function(){return this.f7PhotoBrowser.expositionDisable()},t.prototype.getView=function(){var e=this.$$(this.$el),t=e.parents(".view").length&&e.parents(".view")[0].f7View;if(!t)throw Error("Photo Browser requires initialized View");return t},t.prototype.render=function(){return null},t.prototype.componentDidMount=function(){var e=this;e.props.init&&e.$f7ready((function(t){var o;o=void 0!==e.props.params?e.props.params:Object.assign({},e.props),Object.keys(o).forEach((function(e){void 0!==o[e]&&""!==o[e]||delete o[e]})),o=n.extend({},o,{view:e.getView(),on:{open:function(){e.dispatchEvent("photobrowser:open photoBrowserOpen")},close:function(){e.dispatchEvent("photobrowser:close photoBrowserClose")},opened:function(){e.dispatchEvent("photobrowser:opened photoBrowserOpened")},closed:function(){e.dispatchEvent("photobrowser:closed photoBrowserClosed")},swipeToClose:function(){e.dispatchEvent("photobrowser:swipetoclose photoBrowserSwipeToClose")}}}),e.f7PhotoBrowser=t.photoBrowser.create(o)}))},t.prototype.componentWillUnmount=function(){this.f7PhotoBrowser&&this.f7PhotoBrowser.destroy&&this.f7PhotoBrowser.destroy()},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.photos",e,t,(function(e){var t=o,n=t.f7PhotoBrowser;n&&(t.f7PhotoBrowser.params.photos=e,n.opened&&n.swiper&&n.swiper.update())}))},t}(o.default.Component);p(we,{id:[String,Number],className:String,style:Object,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},pageBackLinkText:{type:String,default:void 0},popupCloseLinkText:{type:String,default:void 0},navbarOfText:{type:String,default:void 0},navbarShowCount:{type:Boolean,default:void 0},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}),we.displayName="f7-photo-browser";var _e=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onOpen","onOpened","onClose","onClosed"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onOpen=function(e){this.dispatchEvent("popover:open popoverOpen",e)},t.prototype.onOpened=function(e){this.dispatchEvent("popover:opened popoverOpened",e)},t.prototype.onClose=function(e){this.dispatchEvent("popover:close popoverClose",e)},t.prototype.onClosed=function(e){this.dispatchEvent("popover:closed popoverClosed",e)},t.prototype.open=function(e){if(this.f7Popover)return this.f7Popover.open(e)},t.prototype.close=function(e){if(this.f7Popover)return this.f7Popover.close(e)},t.prototype.render=function(){var e=this,t=this.props,a=t.className,s=t.id,i=t.style,l=n.classNames(a,"popover",r.colorClasses(t));return o.default.createElement("div",{ref:function(t){e.__reactRefs.el=t},id:s,style:i,className:l},o.default.createElement("div",{className:"popover-angle"}),o.default.createElement("div",{className:"popover-inner"},this.slots.default))},t.prototype.componentWillUnmount=function(){this.f7Popover&&this.f7Popover.destroy()},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;if(t){var o=e.props,n=o.target,r=o.opened,a=o.backdrop,s=o.backdropEl,i=o.closeByBackdropClick,l=o.closeByOutsideClick,p=o.closeOnEscape,c={el:t,on:{open:e.onOpen,opened:e.onOpened,close:e.onClose,closed:e.onClosed}};n&&(c.targetEl=n),"closeByBackdropClick"in o&&(c.closeByBackdropClick=i),"closeByOutsideClick"in o&&(c.closeByOutsideClick=l),"closeOnEscape"in o&&(c.closeOnEscape=p),"backdrop"in o&&(c.backdrop=a),"backdropEl"in o&&(c.backdropEl=s),e.$f7ready((function(){e.f7Popover=e.$f7.popover.create(c),r&&n&&e.f7Popover.open(n,!1)}))}},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.opened",e,t,(function(e){var t=o;t.f7Popover&&(e?t.f7Popover.open():t.f7Popover.close())}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(_e,Object.assign({id:[String,Number],className:String,style:Object,opened:Boolean,target:[String,Object],backdrop:Boolean,backdropEl:[String,Object],closeByBackdropClick:Boolean,closeByOutsideClick:Boolean,closeOnEscape:Boolean},r.colorProps)),_e.displayName="f7-popover";var Pe=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onOpen","onOpened","onClose","onClosed","onSwipeStart","onSwipeMove","onSwipeEnd","onSwipeClose"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onSwipeStart=function(e){this.dispatchEvent("popup:swipestart popupSwipeStart",e)},t.prototype.onSwipeMove=function(e){this.dispatchEvent("popup:swipemove popupSwipeMove",e)},t.prototype.onSwipeEnd=function(e){this.dispatchEvent("popup:swipeend popupSwipeEnd",e)},t.prototype.onSwipeClose=function(e){this.dispatchEvent("popup:swipeclose popupSwipeClose",e)},t.prototype.onOpen=function(e){this.dispatchEvent("popup:open popupOpen",e)},t.prototype.onOpened=function(e){this.dispatchEvent("popup:opened popupOpened",e)},t.prototype.onClose=function(e){this.dispatchEvent("popup:close popupClose",e)},t.prototype.onClosed=function(e){this.dispatchEvent("popup:closed popupClosed",e)},t.prototype.open=function(e){if(this.f7Popup)return this.f7Popup.open(e)},t.prototype.close=function(e){if(this.f7Popup)return this.f7Popup.close(e)},t.prototype.render=function(){var e=this,t=this.props,a=t.className,s=t.id,i=t.style,l=t.tabletFullscreen,p=t.push,c=n.classNames(a,"popup",{"popup-tablet-fullscreen":l,"popup-push":p},r.colorClasses(t));return o.default.createElement("div",{ref:function(t){e.__reactRefs.el=t},id:s,style:i,className:c},this.slots.default)},t.prototype.componentWillUnmount=function(){this.f7Popup&&this.f7Popup.destroy()},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;if(t){var o=e.props,n=o.closeByBackdropClick,r=o.backdrop,a=o.backdropEl,s=o.animate,i=o.closeOnEscape,l=o.swipeToClose,p=o.swipeHandler,c={el:t,on:{swipeStart:e.onSwipeStart,swipeMove:e.onSwipeMove,swipeEnd:e.onSwipeEnd,swipeClose:e.onSwipeClose,open:e.onOpen,opened:e.onOpened,close:e.onClose,closed:e.onClosed}};"closeByBackdropClick"in o&&(c.closeByBackdropClick=n),"closeOnEscape"in o&&(c.closeOnEscape=i),"animate"in o&&(c.animate=s),"backdrop"in o&&(c.backdrop=r),"backdropEl"in o&&(c.backdropEl=a),"swipeToClose"in o&&(c.swipeToClose=l),"swipeHandler"in o&&(c.swipeHandler=p),e.$f7ready((function(){e.f7Popup=e.$f7.popup.create(c),e.props.opened&&e.f7Popup.open(!1)}))}},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.opened",e,t,(function(e){var t=o;t.f7Popup&&(e?t.f7Popup.open():t.f7Popup.close())}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Pe,Object.assign({id:[String,Number],className:String,style:Object,tabletFullscreen:Boolean,opened:Boolean,animate:Boolean,backdrop:Boolean,backdropEl:[String,Object],closeByBackdropClick:Boolean,closeOnEscape:Boolean,swipeToClose:{type:[Boolean,String],default:!1},swipeHandler:[String,Object],push:Boolean},r.colorProps)),Pe.displayName="f7-popup";var Te=function(e){function t(t,o){e.call(this,t,o),this.__reactRefs={}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var a={refs:{configurable:!0}};return t.prototype.set=function(e,t){this.$f7&&this.$f7.progressbar.set(this.refs.el,e,t)},t.prototype.render=function(){var e=this,t=this.props,a=t.progress,s=t.id,i=t.style,l=t.infinite,p=t.className,c={transform:a?"translate3d("+(-100+a)+"%, 0, 0)":"",WebkitTransform:a?"translate3d("+(-100+a)+"%, 0, 0)":""},u=n.classNames(p,"progressbar",{"progressbar-infinite":l},r.colorClasses(t));return o.default.createElement("span",{ref:function(t){e.__reactRefs.el=t},id:s,style:i,className:u,"data-progress":a},o.default.createElement("span",{style:c}))},a.refs.get=function(){return this.__reactRefs},a.refs.set=function(e){},Object.defineProperties(t.prototype,a),t}(o.default.Component);p(Te,Object.assign({id:[String,Number],className:String,style:Object,progress:Number,infinite:Boolean},r.colorProps)),Te.displayName="f7-progressbar";var je=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onChange"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onChange=function(e){this.dispatchEvent("change",e)},t.prototype.render=function(){var e,t=this,a=this.props,s=a.name,i=a.value,l=a.disabled,p=a.readonly,c=a.checked,u=a.defaultChecked,d=a.id,f=a.style,h=a.className;e=o.default.createElement("input",{ref:function(e){t.__reactRefs.inputEl=e},type:"radio",name:s,value:i,disabled:l,readOnly:p,checked:c,defaultChecked:u,onChange:this.onChange});var m=o.default.createElement("i",{className:"icon-radio"}),g=n.classNames(h,"radio",{disabled:l},r.colorClasses(a));return o.default.createElement("label",{id:d,style:f,className:g},e,m,this.slots.default)},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(je,Object.assign({id:[String,Number],className:String,style:Object,checked:Boolean,name:[Number,String],value:[Number,String,Boolean],disabled:Boolean,readonly:Boolean,defaultChecked:Boolean},r.colorProps)),je.displayName="f7-radio";var xe=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick","onResize"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},t.prototype.onResize=function(e){e===this.eventTargetEl&&this.dispatchEvent("grid:resize gridResize")},t.prototype.render=function(){var e=this,t=this.props,a=t.className,s=t.id,i=t.style,l=t.tag,p=t.noGap,c=t.resizable,u=t.resizableFixed,d=t.resizableAbsolute,f=t.resizableHandler,h=l,m=n.classNames(a,"row",{"no-gap":p,resizable:c,"resizable-fixed":u,"resizable-absolute":d},r.colorClasses(t));return o.default.createElement(h,{id:s,style:i,className:m,ref:function(t){e.__reactRefs.el=t}},this.slots.default,c&&f&&o.default.createElement("span",{className:"resize-handler"}))},t.prototype.componentWillUnmount=function(){var e=this.refs.el;e&&this.$f7&&(e.removeEventListener("click",this.onClick),this.$f7.off("gridResize",this.onResize),delete this.eventTargetEl)},t.prototype.componentDidMount=function(){var e=this;e.eventTargetEl=e.refs.el,e.eventTargetEl.addEventListener("click",e.onClick),e.$f7ready((function(t){t.on("gridResize",e.onResize)}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(xe,Object.assign({id:[String,Number],className:String,style:Object,noGap:Boolean,tag:{type:String,default:"div"},resizable:Boolean,resizableFixed:Boolean,resizableAbsolute:Boolean,resizableHandler:{type:Boolean,default:!0}},r.colorProps)),xe.displayName="f7-row";var Re=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onSubmit","onClearButtonClick","onDisableButtonClick","onInput","onChange","onFocus","onBlur"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.search=function(e){if(this.f7Searchbar)return this.f7Searchbar.search(e)},t.prototype.enable=function(){if(this.f7Searchbar)return this.f7Searchbar.enable()},t.prototype.disable=function(){if(this.f7Searchbar)return this.f7Searchbar.disable()},t.prototype.toggle=function(){if(this.f7Searchbar)return this.f7Searchbar.toggle()},t.prototype.clear=function(){if(this.f7Searchbar)return this.f7Searchbar.clear()},t.prototype.onChange=function(e){this.dispatchEvent("change",e)},t.prototype.onInput=function(e){this.dispatchEvent("input",e)},t.prototype.onFocus=function(e){this.dispatchEvent("focus",e)},t.prototype.onBlur=function(e){this.dispatchEvent("blur",e)},t.prototype.onSubmit=function(e){this.dispatchEvent("submit",e)},t.prototype.onClearButtonClick=function(e){this.dispatchEvent("click:clear clickClear",e)},t.prototype.onDisableButtonClick=function(e){this.dispatchEvent("click:disable clickDisable",e)},t.prototype.render=function(){var e,t,a=this,s=this.props,i=s.placeholder,l=s.spellcheck,p=s.clearButton,c=s.disableButton,u=s.disableButtonText,d=s.form,f=s.noShadow,h=s.noHairline,m=s.expandable,g=s.className,b=s.style,v=s.id,y=s.value,E=s.inline;p&&(e=o.default.createElement("span",{ref:function(e){a.__reactRefs.clearEl=e},className:"input-clear-button"})),c&&(t=o.default.createElement("span",{ref:function(e){a.__reactRefs.disableEl=e},className:"searchbar-disable-button"},u));var S,C=d?"form":"div",N=n.classNames(g,"searchbar",{"searchbar-inline":E,"no-shadow":f,"no-hairline":h,"searchbar-expandable":m},r.colorClasses(s));return S=o.default.createElement("input",{ref:function(e){a.__reactRefs.inputEl=e},value:y,placeholder:i,spellCheck:l,type:"search",onInput:this.onInput,onChange:this.onChange.bind(this),onFocus:this.onFocus,onBlur:this.onBlur}),o.default.createElement(C,{ref:function(e){a.__reactRefs.el=e},id:v,style:b,className:N},this.slots["before-inner"],o.default.createElement("div",{className:"searchbar-inner"},this.slots["inner-start"],o.default.createElement("div",{className:"searchbar-input-wrap"},this.slots["input-wrap-start"],S,o.default.createElement("i",{className:"searchbar-icon"}),e,this.slots["input-wrap-end"]),t,this.slots["inner-end"],this.slots.default),this.slots["after-inner"])},t.prototype.componentWillUnmount=function(){var e=this.refs,t=e.el,o=e.clearEl,n=e.disableEl;this.props.form&&t&&t.removeEventListener("submit",this.onSubmit,!1),o&&o.removeEventListener("click",this.onClearButtonClick),n&&n.removeEventListener("click",this.onDisableButtonClick),this.f7Searchbar&&this.f7Searchbar.destroy&&this.f7Searchbar.destroy()},t.prototype.componentDidMount=function(){var e=this,t=e.props,o=t.init,r=t.inputEvents,a=t.searchContainer,s=t.searchIn,i=t.searchItem,l=t.searchGroup,p=t.searchGroupTitle,c=t.hideOnEnableEl,u=t.hideOnSearchEl,d=t.foundEl,f=t.notFoundEl,h=t.backdrop,m=t.backdropEl,g=t.disableButton,b=t.ignore,v=t.customSearch,y=t.removeDiacritics,E=t.hideDividers,S=t.hideGroups,C=t.form,N=t.expandable,k=t.inline,B=e.refs,O=B.el,w=B.clearEl,_=B.disableEl;C&&O&&O.addEventListener("submit",e.onSubmit,!1),w&&w.addEventListener("click",e.onClearButtonClick),_&&_.addEventListener("click",e.onDisableButtonClick),o&&e.$f7ready((function(){var t=n.noUndefinedProps({el:e.refs.el,inputEvents:r,searchContainer:a,searchIn:s,searchItem:i,searchGroup:l,searchGroupTitle:p,hideOnEnableEl:c,hideOnSearchEl:u,foundEl:d,notFoundEl:f,backdrop:h,backdropEl:m,disableButton:g,ignore:b,customSearch:v,removeDiacritics:y,hideDividers:E,hideGroups:S,expandable:N,inline:k,on:{search:function(t,o,n){e.dispatchEvent("searchbar:search searchbarSearch",t,o,n)},clear:function(t,o){e.dispatchEvent("searchbar:clear searchbarClear",t,o)},enable:function(t){e.dispatchEvent("searchbar:enable searchbarEnable",t)},disable:function(t){e.dispatchEvent("searchbar:disable searchbarDisable",t)}}});Object.keys(t).forEach((function(e){""===t[e]&&delete t[e]})),e.f7Searchbar=e.$f7.searchbar.create(t)}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Re,Object.assign({id:[String,Number],className:String,style:Object,noShadow:Boolean,noHairline:Boolean,form:{type:Boolean,default:!0},placeholder:{type:String,default:"Search"},spellcheck:{type:Boolean,default:void 0},disableButton:{type:Boolean,default:!0},disableButtonText:{type:String,default:"Cancel"},clearButton:{type:Boolean,default:!0},value:[String,Number,Array],inputEvents:{type:String,default:"change input compositionend"},expandable:Boolean,inline:Boolean,searchContainer:[String,Object],searchIn:{type:String,default:".item-title"},searchItem:{type:String,default:"li"},searchGroup:{type:String,default:".list-group"},searchGroupTitle:{type:String,default:".item-divider, .list-group-title"},foundEl:{type:[String,Object],default:".searchbar-found"},notFoundEl:{type:[String,Object],default:".searchbar-not-found"},backdrop:{type:Boolean,default:void 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}},r.colorProps)),Re.displayName="f7-searchbar";var Me=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.raised,s=e.raisedIos,i=e.raisedAurora,l=e.raisedMd,p=e.round,c=e.roundIos,u=e.roundAurora,d=e.roundMd,f=e.strong,h=e.strongIos,m=e.strongMd,g=e.strongAurora,b=e.id,v=e.style,y=e.tag,E=n.classNames(t,{segmented:!0,"segmented-raised":a,"segmented-raised-ios":s,"segmented-raised-aurora":i,"segmented-raised-md":l,"segmented-round":p,"segmented-round-ios":c,"segmented-round-aurora":u,"segmented-round-md":d,"segmented-strong":f,"segmented-strong-ios":h,"segmented-strong-md":m,"segmented-strong-aurora":g},r.colorClasses(e)),S=y;return o.default.createElement(S,{id:b,style:v,className:E},this.slots.default,(f||h||m||g)&&o.default.createElement("span",{className:"segmented-highlight"}))},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Me,Object.assign({id:[String,Number],className:String,style:Object,raised:Boolean,raisedIos:Boolean,raisedMd:Boolean,raisedAurora:Boolean,round:Boolean,roundIos:Boolean,roundMd:Boolean,roundAurora:Boolean,strong:Boolean,strongIos:Boolean,strongMd:Boolean,strongAurora:Boolean,tag:{type:String,default:"div"}},r.colorProps)),Me.displayName="f7-segmented";var Ie=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onOpen","onOpened","onClose","onClosed","onStepOpen","onStepClose","onStepProgress"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onStepProgress=function(e,t){this.dispatchEvent("sheet:stepprogress sheetStepProgress",e,t)},t.prototype.onStepOpen=function(e){this.dispatchEvent("sheet:stepopen sheetStepOpen",e)},t.prototype.onStepClose=function(e){this.dispatchEvent("sheet:stepclose sheetStepClose",e)},t.prototype.onOpen=function(e){this.dispatchEvent("sheet:open sheetOpen",e)},t.prototype.onOpened=function(e){this.dispatchEvent("sheet:opened sheetOpened",e)},t.prototype.onClose=function(e){this.dispatchEvent("sheet:close sheetClose",e)},t.prototype.onClosed=function(e){this.dispatchEvent("sheet:closed sheetClosed",e)},t.prototype.open=function(e){if(this.f7Sheet)return this.f7Sheet.open(e)},t.prototype.close=function(e){if(this.f7Sheet)return this.f7Sheet.close(e)},t.prototype.render=function(){var e,t=this,a=[],s=[],i=this.props,l=i.id,p=i.style,c=i.className,u=i.top,d=i.bottom,f=i.position,h=i.push;e="navbar toolbar tabbar subnavbar searchbar messagebar fab list-index".split(" ").map((function(e){return"f7-"+e}));var m=this.slots.default;m&&m.length&&m.forEach((function(t){if(void 0!==t){var o=!1,n=t.type&&(t.type.displayName||t.type.name);n?(e.indexOf(n)>=0&&(o=!0),o?a.push(t):s.push(t)):s.push(t)}}));var g=o.default.createElement("div",{className:"sheet-modal-inner"},s),b="bottom";f?b=f:u?b="top":d&&(b="bottom");var v=n.classNames(c,"sheet-modal","sheet-modal-"+b,{"sheet-modal-push":h},r.colorClasses(i));return o.default.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:l,style:p,className:v},a,g)},t.prototype.componentWillUnmount=function(){this.f7Sheet&&this.f7Sheet.destroy()},t.prototype.componentDidMount=function(){var e=this;if(e.refs.el){var t=e.props,o=t.opened,n=t.backdrop,r=t.backdropEl,a=t.closeByBackdropClick,s=t.closeByOutsideClick,i=t.closeOnEscape,l=t.swipeToClose,p=t.swipeToStep,c=t.swipeHandler,u={el:e.refs.el,on:{open:e.onOpen,opened:e.onOpened,close:e.onClose,closed:e.onClosed,stepOpen:e.onStepOpen,stepClose:e.onStepClose,stepProgress:e.onStepProgress}};"backdrop"in t&&void 0!==n&&(u.backdrop=n),"backdropEl"in t&&(u.backdropEl=r),"closeByBackdropClick"in t&&(u.closeByBackdropClick=a),"closeByOutsideClick"in t&&(u.closeByOutsideClick=s),"closeOnEscape"in t&&(u.closeOnEscape=i),"swipeToClose"in t&&(u.swipeToClose=l),"swipeToStep"in t&&(u.swipeToStep=p),"swipeHandler"in t&&(u.swipeHandler=c),e.$f7ready((function(){e.f7Sheet=e.$f7.sheet.create(u),o&&e.f7Sheet.open(!1)}))}},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.opened",e,t,(function(e){var t=o;t.f7Sheet&&(e?t.f7Sheet.open():t.f7Sheet.close())}))},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Ie,Object.assign({id:[String,Number],className:String,style:Object,opened:Boolean,top:Boolean,bottom:Boolean,position:String,backdrop:Boolean,backdropEl:[String,Object],closeByBackdropClick:Boolean,closeByOutsideClick:Boolean,closeOnEscape:Boolean,push:Boolean,swipeToClose:Boolean,swipeToStep:Boolean,swipeHandler:[String,Object]},r.colorProps)),Ie.displayName="f7-sheet";var Ae=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=e.width,l=e.height,p=e.tag,c=n.classNames("skeleton-block",t,r.colorClasses(e)),u=s;if(i){var d="number"==typeof i?i+"px":i;u?"object"==typeof u?u=Object.assign({width:d},u):"string"==typeof u&&(u="width: "+d+"; "+u):u={width:d}}if(l){var f="number"==typeof l?l+"px":l;u?"object"==typeof u?u=Object.assign({height:f},u):"string"==typeof u&&(u="height: "+f+"; "+u):u={height:f}}var h=p;return o.default.createElement(h,{id:a,style:u,className:c},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Ae,Object.assign({id:[String,Number],className:String,style:Object,width:[Number,String],height:[Number,String],tag:{type:String,default:"div"}},r.colorProps)),Ae.displayName="f7-skeleton-block";var Le=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=e.width,l=e.height,p=e.tag,c=n.classNames("skeleton-text",t,r.colorClasses(e)),u=s;if(i){var d="number"==typeof i?i+"px":i;u?"object"==typeof u?u=Object.assign({width:d},u):"string"==typeof u&&(u="width: "+d+"; "+u):u={width:d}}if(l){var f="number"==typeof l?l+"px":l;u?"object"==typeof u?u=Object.assign({height:f},u):"string"==typeof u&&(u="height: "+f+"; "+u):u={height:f}}var h=p;return o.default.createElement(h,{id:a,style:u,className:c},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Le,Object.assign({id:[String,Number],className:String,style:Object,width:[Number,String],height:[Number,String],tag:{type:String,default:"span"}},r.colorProps)),Le.displayName="f7-skeleton-text";var De=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onInput","onMinusClick","onPlusClick"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var a={classes:{configurable:!0},refs:{configurable:!0}};return t.prototype.increment=function(){this.f7Stepper&&this.f7Stepper.increment()},t.prototype.decrement=function(){this.f7Stepper&&this.f7Stepper.decrement()},t.prototype.setValue=function(e){this.f7Stepper&&this.f7Stepper.setValue&&this.f7Stepper.setValue(e)},t.prototype.getValue=function(){if(this.f7Stepper&&this.f7Stepper.getValue)return this.f7Stepper.getValue()},t.prototype.onInput=function(e){var t=this.f7Stepper;this.dispatchEvent("input",e,t)},t.prototype.onChange=function(e){var t=this.f7Stepper;this.dispatchEvent("change",e,t)},t.prototype.onMinusClick=function(e){var t=this.f7Stepper;this.dispatchEvent("stepper:minusclick stepperMinusClick",e,t)},t.prototype.onPlusClick=function(e){var t=this.f7Stepper;this.dispatchEvent("stepper:plusclick stepperPlusClick",e,t)},a.classes.get=function(){var e=this.props,t=e.round,o=e.roundIos,a=e.roundMd,s=e.roundAurora,i=e.fill,l=e.fillIos,p=e.fillMd,c=e.fillAurora,u=e.large,d=e.largeIos,f=e.largeMd,h=e.largeAurora,m=e.small,g=e.smallIos,b=e.smallMd,v=e.smallAurora,y=e.raised,E=e.raisedMd,S=e.raisedIos,C=e.raisedAurora,N=e.disabled;return n.classNames(this.props.className,"stepper",{disabled:N,"stepper-round":t,"stepper-round-ios":o,"stepper-round-md":a,"stepper-round-aurora":s,"stepper-fill":i,"stepper-fill-ios":l,"stepper-fill-md":p,"stepper-fill-aurora":c,"stepper-large":u,"stepper-large-ios":d,"stepper-large-md":f,"stepper-large-aurora":h,"stepper-small":m,"stepper-small-ios":g,"stepper-small-md":b,"stepper-small-aurora":v,"stepper-raised":y,"stepper-raised-ios":S,"stepper-raised-md":E,"stepper-raised-aurora":C},r.colorClasses(e))},t.prototype.render=function(){var e,t,n,r=this,a=this.props,s=a.input,i=a.buttonsOnly,l=a.inputType,p=a.value,c=a.inputReadonly,u=a.min,d=a.max,f=a.step,h=a.id,m=a.style,g=a.name,b=a.inputId;s&&!i&&(n=o.default.createElement("input",{ref:function(e){r.__reactRefs.inputEl=e},name:g,id:b,type:l,min:"number"===l?u:void 0,max:"number"===l?d:void 0,step:"number"===l?f:void 0,onInput:this.onInput,onChange:this.onChange,value:p,readOnly:c}),e=o.default.createElement("div",{className:"stepper-input-wrap"},n));return s||i||(t=o.default.createElement("div",{className:"stepper-value"},p)),o.default.createElement("div",{ref:function(e){r.__reactRefs.el=e},id:h,style:m,className:this.classes},o.default.createElement("div",{ref:function(e){r.__reactRefs.minusEl=e},className:"stepper-button-minus"}),e,t,o.default.createElement("div",{ref:function(e){r.__reactRefs.plusEl=e},className:"stepper-button-plus"}))},t.prototype.componentWillUnmount=function(){var e=this.refs,t=e.minusEl,o=e.plusEl;t&&t.removeEventListener("click",this.onMinusClick),o&&o.removeEventListener("click",this.onPlusClick),this.props.init&&this.f7Stepper&&this.f7Stepper.destroy&&this.f7Stepper.destroy()},t.prototype.componentDidMount=function(){var e=this,t=e.refs,o=t.minusEl,r=t.plusEl;o&&o.addEventListener("click",e.onMinusClick),r&&r.addEventListener("click",e.onPlusClick),e.props.init&&e.$f7ready((function(t){var o=e.props,r=o.min,a=o.max,s=o.value,i=o.step,l=o.formatValue,p=o.autorepeat,c=o.autorepeatDynamic,u=o.wraps,d=o.manualInputMode,f=o.decimalPoint,h=o.buttonsEndInputMode,m=e.refs.el;m&&(e.f7Stepper=t.stepper.create(n.noUndefinedProps({el:m,min:r,max:a,value:s,step:i,formatValue:l,autorepeat:p,autorepeatDynamic:c,wraps:u,manualInputMode:d,decimalPoint:f,buttonsEndInputMode:h,on:{change:function(t,o){e.dispatchEvent("stepper:change stepperChange",o)}}})))}))},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},a.refs.get=function(){return this.__reactRefs},a.refs.set=function(e){},t.prototype.componentDidUpdate=function(e,t){var o=this;v(this,"props.value",e,t,(function(e){var t=o;t.f7Stepper&&t.f7Stepper.setValue(e)}))},Object.defineProperties(t.prototype,a),t}(o.default.Component);p(De,Object.assign({id:[String,Number],className:String,style:Object,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,name:String,inputId:String,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,roundAurora:Boolean,fill:Boolean,fillMd:Boolean,fillIos:Boolean,fillAurora:Boolean,large:Boolean,largeMd:Boolean,largeIos:Boolean,largeAurora:Boolean,small:Boolean,smallMd:Boolean,smallIos:Boolean,smallAurora:Boolean,raised:Boolean,raisedMd:Boolean,raisedIos:Boolean,raisedAurora:Boolean},r.colorProps)),De.displayName="f7-stepper";var $e=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.inner,a=e.title,s=e.style,i=e.id,l=e.className,p=e.sliding,c=n.classNames(l,"subnavbar",{sliding:p},r.colorClasses(e));return o.default.createElement("div",{className:c,id:i,style:s},t?o.default.createElement("div",{className:"subnavbar-inner"},a&&o.default.createElement("div",{className:"subnavbar-title"},a),this.slots.default):this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p($e,Object.assign({id:[String,Number],className:String,style:Object,sliding:Boolean,title:String,inner:{type:Boolean,default:!0}},r.colorProps)),$e.displayName="f7-subnavbar";var ze=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.left,a=e.right,s=e.side,i=e.className,l=e.id,p=e.style,c=s;c||(t&&(c="left"),a&&(c="right"));var u=n.classNames(i,"swipeout-actions-"+c,r.colorClasses(e));return o.default.createElement("div",{id:l,style:p,className:u},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(ze,Object.assign({id:[String,Number],className:String,style:Object,left:Boolean,right:Boolean,side:String},r.colorProps)),ze.displayName="f7-swipeout-actions";var Ue=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},t.prototype.render=function(){var e=this,t=this.props,a=t.className,s=t.id,i=t.style,l=t.overswipe,p=t.delete,c=t.close,u=t.href,d=t.confirmTitle,f=t.confirmText,h=t.text,m=n.classNames(a,{"swipeout-overswipe":l,"swipeout-delete":p,"swipeout-close":c},r.colorClasses(t));return o.default.createElement("a",{ref:function(t){e.__reactRefs.el=t},href:u||"#",id:s,style:i,"data-confirm":f||void 0,"data-confirm-title":d||void 0,className:m},this.slots.default,!this.slots.default&&h)},t.prototype.componentWillUnmount=function(){this.refs.el.removeEventListener("click",this.onClick)},t.prototype.componentDidMount=function(){this.refs.el.addEventListener("click",this.onClick)},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Ue,Object.assign({id:[String,Number],className:String,style:Object,text:String,confirmTitle:String,confirmText:String,overswipe:Boolean,close:Boolean,delete:Boolean,href:String},r.colorProps)),Ue.displayName="f7-swipeout-button";var He=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,r=e.id,a=e.style,s=e.zoom,i=n.classNames(t,"swiper-slide");return o.default.createElement("div",{id:r,style:a,className:i},s?o.default.createElement("div",{className:"swiper-zoom-container"},this.slots.default):this.slots.default)},r.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,r),t}(o.default.Component);p(He,{id:[String,Number],className:String,style:Object,zoom:Boolean}),He.displayName="f7-swiper-slide";var Fe=function(e){function t(t,o){e.call(this,t,o),this.__reactRefs={}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={paginationComputed:{configurable:!0},scrollbarComputed:{configurable:!0},navigationComputed:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return s.paginationComputed.get=function(){var e=this.props,t=e.pagination,o=e.params;return!!(!0===t||o&&o.pagination&&!o.pagination.el)},s.scrollbarComputed.get=function(){var e=this.props,t=e.scrollbar,o=e.params;return!!(!0===t||o&&o.scrollbar&&!o.scrollbar.el)},s.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))},t.prototype.render=function(){var e,t,a,s,i=this,l=this.props,p=l.id,c=l.style,u=l.className;this.paginationComputed&&(e=o.default.createElement("div",{ref:function(e){i.__reactRefs.paginationEl=e},className:"swiper-pagination"})),this.scrollbarComputed&&(t=o.default.createElement("div",{ref:function(e){i.__reactRefs.scrollbarEl=e},className:"swiper-scrollbar"})),this.navigationComputed&&(a=o.default.createElement("div",{ref:function(e){i.__reactRefs.nextEl=e},className:"swiper-button-next"}),s=o.default.createElement("div",{ref:function(e){i.__reactRefs.prevEl=e},className:"swiper-button-prev"}));var d=n.classNames(u,"swiper-container",r.colorClasses(l));return o.default.createElement("div",{id:p,style:c,ref:function(e){i.__reactRefs.el=e},className:d},this.slots["before-wrapper"],o.default.createElement("div",{className:"swiper-wrapper"},this.slots.default),e,t,s,a,this.slots["after-wrapper"])},t.prototype.componentWillUnmount=function(){this.props.init&&this.swiper&&this.swiper.destroy&&this.swiper.destroy()},t.prototype.componentDidMount=function(){var e=this;e.props.init&&e.$f7ready((function(t){var o={pagination:{},navigation:{},scrollbar:{}},r=e.props,a=r.params,s=r.pagination,i=r.navigation,l=r.scrollbar;a&&n.extend(o,a),s&&!o.pagination.el&&(o.pagination.el=e.refs.paginationEl),!i||o.navigation.nextEl||o.navigation.prevEl||(o.navigation.nextEl=e.refs.nextEl,o.navigation.prevEl=e.refs.prevEl),l&&!o.scrollbar.el&&(o.scrollbar.el=e.refs.scrollbarEl),e.swiper=t.swiper.create(e.refs.el,o)}))},t.prototype.componentDidUpdate=function(){this.initialUpdate?this.swiper&&this.swiper.update&&this.swiper.update():this.initialUpdate=!0},s.slots.get=function(){return a(this.props)},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Fe,Object.assign({id:[String,Number],className:String,style:Object,params:Object,pagination:Boolean,scrollbar:Boolean,navigation:Boolean,init:{type:Boolean,default:!0}},r.colorProps)),Fe.displayName="f7-swiper";var Ve=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},this.state={tabContent:null},n.bindMethods(r,["onTabShow","onTabHide"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.show=function(e){this.$f7&&this.$f7.tab.show(this.refs.el,e)},t.prototype.onTabShow=function(e){this.eventTargetEl===e&&this.dispatchEvent("tab:show tabShow",e)},t.prototype.onTabHide=function(e){this.eventTargetEl===e&&this.dispatchEvent("tab:hide tabHide",e)},t.prototype.render=function(){var e,t=this,a=this.props,s=a.tabActive,i=a.id,l=a.className,p=a.style,c=this.state.tabContent,u=n.classNames(l,"tab",{"tab-active":s},r.colorClasses(a));return c&&(e=c.component),o.default.createElement("div",{id:i,style:p,ref:function(e){t.__reactRefs.el=e},className:u},c?o.default.createElement(e,Object.assign({key:c.id},c.props)):this.slots.default)},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;e.setState({tabContent:null}),e.$f7ready((function(){e.$f7.on("tabShow",e.onTabShow),e.$f7.on("tabHide",e.onTabHide),e.eventTargetEl=t,e.routerData={el:t,component:e,setTabContent:function(t){e.setState({tabContent:t})}},E.routers.tabs.push(e.routerData)}))},t.prototype.componentWillUnmount=function(){this.$f7&&(this.$f7.off("tabShow",this.onTabShow),this.$f7.off("tabHide",this.onTabHide)),this.routerData&&(E.routers.tabs.splice(E.routers.tabs.indexOf(this.routerData),1),this.routerData=null,this.eventTargetEl=null,delete this.routerData,delete this.eventTargetEl)},t.prototype.componentDidUpdate=function(){this.routerData&&E.events.emit("tabRouterDidUpdate",this.routerData)},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Ve,Object.assign({id:[String,Number],className:String,style:Object,tabActive:Boolean},r.colorProps)),Ve.displayName="f7-tab";var We=function(e){function t(t,o){e.call(this,t,o),this.__reactRefs={}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.render=function(){var e=this,t=this.props,a=t.animated,s=t.swipeable,i=t.id,l=t.style,p=t.className,c=t.routable,u=n.classNames(p,r.colorClasses(t)),d=n.classNames({"tabs-animated-wrap":a,"tabs-swipeable-wrap":s}),f=n.classNames({tabs:!0,"tabs-routable":c});return a||s?o.default.createElement("div",{id:i,style:l,className:n.classNames(d,u),ref:function(t){e.__reactRefs.wrapEl=t}},o.default.createElement("div",{className:f},this.slots.default)):o.default.createElement("div",{id:i,style:l,className:n.classNames(f,u)},this.slots.default)},t.prototype.componentDidMount=function(){var e=this.props,t=e.swipeable,o=e.swiperParams;if(t&&o){var n=this.refs.wrapEl;n&&(n.f7SwiperParams=o)}},s.slots.get=function(){return a(this.props)},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(We,Object.assign({id:[String,Number],className:String,style:Object,animated:Boolean,swipeable:Boolean,routable:Boolean,swiperParams:{type:Object,default:void 0}},r.colorProps)),We.displayName="f7-tabs";var Ke=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},this.state=function(){var e=r,t=e.$f7;return t||e.$f7ready((function(){e.setState({_theme:e.$theme})})),{_theme:t?e.$theme:null}}(),n.bindMethods(r,["onHide","onShow"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onHide=function(e){this.eventTargetEl===e&&this.dispatchEvent("toolbar:hide toolbarHide")},t.prototype.onShow=function(e){this.eventTargetEl===e&&this.dispatchEvent("toolbar:show toolbarShow")},t.prototype.hide=function(e){this.$f7&&this.$f7.toolbar.hide(this.refs.el,e)},t.prototype.show=function(e){this.$f7&&this.$f7.toolbar.show(this.refs.el,e)},t.prototype.render=function(){var e=this,t=this.props,a=t.id,s=t.style,i=t.className,l=t.inner,p=t.tabbar,c=t.labels,u=t.scrollable,d=t.hidden,f=t.noShadow,h=t.noHairline,m=t.noBorder,g=t.topMd,b=t.topIos,v=t.topAurora,y=t.top,E=t.bottomMd,S=t.bottomIos,C=t.bottomAurora,N=t.bottom,k=t.position,B=this.state._theme,O=n.classNames(i,"toolbar",{tabbar:p,"toolbar-bottom":B&&B.md&&E||B&&B.ios&&S||B&&B.aurora&&C||N||"bottom"===k,"toolbar-top":B&&B.md&&g||B&&B.ios&&b||B&&B.aurora&&v||y||"top"===k,"tabbar-labels":c,"tabbar-scrollable":u,"toolbar-hidden":d,"no-shadow":f,"no-hairline":h||m},r.colorClasses(t));return o.default.createElement("div",{id:a,style:s,ref:function(t){e.__reactRefs.el=t},className:O},this.slots["before-inner"],l?o.default.createElement("div",{className:"toolbar-inner"},this.slots.default):this.slots.default,this.slots["after-inner"])},t.prototype.componentWillUnmount=function(){if(this.refs.el&&this.$f7){var e=this.$f7;e.off("toolbarShow",this.onShow),e.off("toolbarHide",this.onHide),this.eventTargetEl=null,delete this.eventTargetEl}},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;t&&e.$f7ready((function(o){e.eventTargetEl=t,e.props.tabbar&&o.toolbar.setHighlight(t),o.on("toolbarShow",e.onShow),o.on("toolbarHide",e.onHide)}))},t.prototype.componentDidUpdate=function(){this.props.tabbar&&this.$f7&&this.$f7.toolbar.setHighlight(this.refs.el)},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Ke,Object.assign({id:[String,Number],className:String,style:Object,tabbar:Boolean,labels:Boolean,scrollable:Boolean,hidden:Boolean,noShadow:Boolean,noHairline:Boolean,noBorder:Boolean,position:{type:String,default:void 0},topMd:{type:Boolean,default:void 0},topIos:{type:Boolean,default:void 0},topAurora:{type:Boolean,default:void 0},top:{type:Boolean,default:void 0},bottomMd:{type:Boolean,default:void 0},bottomIos:{type:Boolean,default:void 0},bottomAurora:{type:Boolean,default:void 0},bottom:{type:Boolean,default:void 0},inner:{type:Boolean,default:!0}},r.colorProps)),Ke.displayName="f7-toolbar";var qe=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},n.bindMethods(r,["onClick","onOpen","onClose","onLoadChildren"])}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={itemRootAttrs:{configurable:!0},itemRootClasses:{configurable:!0},classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onClick=function(e){this.dispatchEvent("click",e)},t.prototype.onOpen=function(e){this.eventTargetEl===e&&this.dispatchEvent("treeview:open treeviewOpen",e)},t.prototype.onClose=function(e){this.eventTargetEl===e&&this.dispatchEvent("treeview:close treeviewClose",e)},t.prototype.onLoadChildren=function(e,t){this.eventTargetEl===e&&this.dispatchEvent("treeview:loadchildren treeviewLoadChildren",e,t)},s.itemRootAttrs.get=function(){var e=this.props,t=e.link,o=t;return!0===t&&(o="#"),!1===t&&(o=void 0),n.extend({href:o},r.linkRouterAttrs(e),r.linkActionsAttrs(e))},s.itemRootClasses.get=function(){var e=this.props,t=e.selectable,o=e.selected,a=e.itemToggle;return n.classNames("treeview-item-root",{"treeview-item-selectable":t,"treeview-item-selected":o,"treeview-item-toggle":a},r.linkRouterClasses(e),r.linkActionsClasses(e))},s.classes.get=function(){var e=this.props,t=e.className,o=e.opened,a=e.loadChildren;return n.classNames(t,"treeview-item",{"treeview-item-opened":o,"treeview-load-children":a},r.colorClasses(e))},t.prototype.render=function(){var e,t=this,n=this.props,r=n.id,a=n.style,s=n.toggle,i=n.label,l=n.icon,p=n.iconMaterial,c=n.iconF7,u=n.iconMd,d=n.iconIos,f=n.iconAurora,h=n.iconSize,m=n.iconColor,g=n.link,b=this.slots,v=b.default&&b.default.length||b.children&&b.children.length||b["children-start"]&&b["children-start"].length,y=void 0===s?v:s;(l||p||c||u||d||f)&&(e=o.default.createElement(P,{material:p,f7:c,icon:l,md:u,ios:d,aurora:f,color:m,size:h}));var E=g||""===g?"a":"div";return o.default.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:r,style:a,className:this.classes},o.default.createElement(E,Object.assign({ref:function(e){t.__reactRefs.rootEl=e},className:this.itemRootClasses},this.itemRootAttrs),this.slots["root-start"],y&&o.default.createElement("div",{className:"treeview-toggle"}),o.default.createElement("div",{className:"treeview-item-content"},this.slots["content-start"],e,this.slots.media,o.default.createElement("div",{className:"treeview-item-label"},this.slots["label-start"],i,this.slots.label),this.slots.content,this.slots["content-end"]),this.slots.root,this.slots["root-end"]),v&&o.default.createElement("div",{className:"treeview-item-children"},this.slots["children-start"],this.slots.default,this.slots.children))},t.prototype.componentWillUnmount=function(){var e=this.refs,t=e.el;e.rootEl.removeEventListener("click",this.onClick),t&&!this.$f7&&(this.$f7.off("treeviewOpen",this.onOpen),this.$f7.off("treeviewClose",this.onClose),this.$f7.off("treeviewLoadChildren",this.onLoadChildren),this.eventTargetEl=null,delete this.eventTargetEl)},t.prototype.componentDidMount=function(){var e=this,t=e.refs,o=t.el;t.rootEl.addEventListener("click",e.onClick),o&&(e.eventTargetEl=o,e.$f7ready((function(t){t.on("treeviewOpen",e.onOpen),t.on("treeviewClose",e.onClose),t.on("treeviewLoadChildren",e.onLoadChildren)})))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(qe,Object.assign({id:[String,Number],className:String,style:Object,toggle:{type:Boolean,default:void 0},itemToggle:Boolean,selectable:Boolean,selected:Boolean,opened:Boolean,label:String,loadChildren:Boolean,link:{type:[Boolean,String],default:void 0}},r.colorProps,r.linkActionsProps,r.linkRouterProps,r.linkIconProps)),qe.displayName="f7-treeview-item";var Ge=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=n.classNames(t,"treeview",r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:i},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Ge,Object.assign({id:[String,Number],className:String,style:Object},r.colorProps)),Ge.displayName="f7-treeview";var Qe=function(e){function t(t,o){var r=this;e.call(this,t,o),this.__reactRefs={},this.state={pages:[]},function(){var e=r;n.bindMethods(e,["onSwipeBackMove","onSwipeBackBeforeChange","onSwipeBackAfterChange","onSwipeBackBeforeReset","onSwipeBackAfterReset","onTabShow","onTabHide","onViewInit"])}()}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0},refs:{configurable:!0}};return t.prototype.onViewInit=function(e){this.dispatchEvent("view:init viewInit",e),this.props.init||(this.routerData.instance=e,this.f7View=this.routerData.instance)},t.prototype.onResize=function(e,t){this.dispatchEvent("view:resize viewResize",t)},t.prototype.onSwipeBackMove=function(e){var t=e;this.dispatchEvent("swipeback:move swipeBackMove",t)},t.prototype.onSwipeBackBeforeChange=function(e){var t=e;this.dispatchEvent("swipeback:beforechange swipeBackBeforeChange",t)},t.prototype.onSwipeBackAfterChange=function(e){var t=e;this.dispatchEvent("swipeback:afterchange swipeBackAfterChange",t)},t.prototype.onSwipeBackBeforeReset=function(e){var t=e;this.dispatchEvent("swipeback:beforereset swipeBackBeforeReset",t)},t.prototype.onSwipeBackAfterReset=function(e){var t=e;this.dispatchEvent("swipeback:afterreset swipeBackAfterReset",t)},t.prototype.onTabShow=function(e){e===this.refs.el&&this.dispatchEvent("tab:show tabShow",e)},t.prototype.onTabHide=function(e){e===this.refs.el&&this.dispatchEvent("tab:hide tabHide",e)},t.prototype.render=function(){var e=this,t=this.props,a=t.id,s=t.style,i=t.tab,l=t.main,p=t.tabActive,c=t.className,u=n.classNames(c,"view",{"view-main":l,"tab-active":p,tab:i},r.colorClasses(t));return o.default.createElement("div",{ref:function(t){e.__reactRefs.el=t},id:a,style:s,className:u},this.slots.default,this.state.pages.map((function(e){var t=e.component;return o.default.createElement(t,Object.assign({key:e.id},e.props))})))},t.prototype.componentDidUpdate=function(){this.routerData&&E.events.emit("viewRouterDidUpdate",this.routerData)},t.prototype.componentWillUnmount=function(){E.instance&&(E.instance.off("tabShow",this.onTabShow),E.instance.off("tabHide",this.onTabHide)),this.f7View&&(this.f7View.off("resize",this.onResize),this.f7View.off("swipebackMove",this.onSwipeBackMove),this.f7View.off("swipebackBeforeChange",this.onSwipeBackBeforeChange),this.f7View.off("swipebackAfterChange",this.onSwipeBackAfterChange),this.f7View.off("swipebackBeforeReset",this.onSwipeBackBeforeReset),this.f7View.off("swipebackAfterReset",this.onSwipeBackAfterReset),this.f7View.destroy&&this.f7View.destroy()),E.routers.views.splice(E.routers.views.indexOf(this.routerData),1),this.routerData=null,delete this.routerData},t.prototype.componentDidMount=function(){var e=this,t=e.refs.el;e.$f7ready((function(o){o.on("tabShow",e.onTabShow),o.on("tabHide",e.onTabHide),e.routerData={el:t,component:e,pages:e.state.pages,instance:null,setPages:function(t){e.setState({pages:t})}},E.routers.views.push(e.routerData),e.props.init&&(e.routerData.instance=o.views.create(t,Object.assign({on:{init:e.onViewInit}},n.noUndefinedProps(e.props))),e.f7View=e.routerData.instance,e.f7View.on("resize",e.onResize),e.f7View.on("swipebackMove",e.onSwipeBackMove),e.f7View.on("swipebackBeforeChange",e.onSwipeBackBeforeChange),e.f7View.on("swipebackAfterChange",e.onSwipeBackAfterChange),e.f7View.on("swipebackBeforeReset",e.onSwipeBackBeforeReset),e.f7View.on("swipebackAfterReset",e.onSwipeBackAfterReset))}))},s.slots.get=function(){return a(this.props)},t.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];return u.apply(void 0,[this,e].concat(t))},s.refs.get=function(){return this.__reactRefs},s.refs.set=function(e){},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Qe,Object.assign({id:[String,Number],className:String,style:Object,tab:Boolean,tabActive:Boolean,name:String,router:Boolean,linksView:[Object,String],url:String,main:Boolean,stackPages:Boolean,xhrCache:Boolean,xhrCacheIgnore:Array,xhrCacheIgnoreGetParameters:Boolean,xhrCacheDuration:Number,preloadPreviousPage:Boolean,allowDuplicateUrls:Boolean,reloadPages:Boolean,reloadDetail:Boolean,masterDetailResizable:Boolean,masterDetailBreakpoint:Number,removeElements:Boolean,removeElementsWithTimeout:Boolean,removeElementsTimeout:Number,restoreScrollTopOnBack:Boolean,loadInitialPage:Boolean,iosSwipeBack:Boolean,iosSwipeBackAnimateShadow:Boolean,iosSwipeBackAnimateOpacity:Boolean,iosSwipeBackActiveArea:Number,iosSwipeBackThreshold:Number,mdSwipeBack:Boolean,mdSwipeBackAnimateShadow:Boolean,mdSwipeBackAnimateOpacity:Boolean,mdSwipeBackActiveArea:Number,mdSwipeBackThreshold:Number,auroraSwipeBack:Boolean,auroraSwipeBackAnimateShadow:Boolean,auroraSwipeBackAnimateOpacity:Boolean,auroraSwipeBackActiveArea:Number,auroraSwipeBackThreshold:Number,pushState:Boolean,pushStateRoot:String,pushStateAnimate:Boolean,pushStateAnimateOnLoad:Boolean,pushStateSeparator:String,pushStateOnLoad:Boolean,animate:Boolean,transition:String,iosDynamicNavbar:Boolean,iosAnimateNavbarBackIcon:Boolean,materialPageLoadDelay:Number,passRouteQueryToRequest:Boolean,passRouteParamsToRequest:Boolean,routes:Array,routesAdd:Array,routesBeforeEnter:[Function,Array],routesBeforeLeave:[Function,Array],init:{type:Boolean,default:!0}},r.colorProps)),Qe.displayName="f7-view";var Ye=function(e){function t(t,o){e.call(this,t,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var s={slots:{configurable:!0}};return t.prototype.render=function(){var e=this.props,t=e.className,a=e.id,s=e.style,i=e.tabs,l=n.classNames(t,"views",{tabs:i},r.colorClasses(e));return o.default.createElement("div",{id:a,style:s,className:l},this.slots.default)},s.slots.get=function(){return a(this.props)},Object.defineProperties(t.prototype,s),t}(o.default.Component);p(Ye,Object.assign({id:[String,Number],className:String,style:Object,tabs:Boolean},r.colorProps)),Ye.displayName="f7-views";var Je=0,Xe={proto:{pageComponentLoader:function(e,t,o,r,a,s){var i,l=e;if(E.routers.views.forEach((function(t){t.el&&t.el===e&&(i=t)})),i){var p,c={component:t,id:n.now()+"_"+(Je+=1),props:n.extend({f7route:r.route,$f7route:r.route,f7router:this,$f7router:this},r.route.params,r.props||{})};i.component&&(i.component.$f7router=this,i.component.$f7route=r.route),E.events.on("viewRouterDidUpdate",(function e(t){if(t===i&&!p){E.events.off("viewRouterDidUpdate",e);var o=l.children[l.children.length-1];c.el=o,o.classList.contains("page")||console.error("The first element of "+t.component.$f7route.path+" should be f7-page or eb-page"),a(o),p=!0}})),i.pages.push(c),i.setPages(i.pages),r.reloadAll&&(this.history=[],this.saveHistory())}else s()},removePage:function(e){if(e){var t,o=this;if((t="length"in e&&e[0]?e[0].f7Page:e.f7Page)&&t.route&&t.route.route&&t.route.route.keepAlive)o.app.$(e).remove();else{var n,r,a;if(E.routers.views.forEach((function(e){e.el&&e.el===o.el&&(n=e)})),"length"in e){if(0===e.length)return;r=e[0]}else r=e;if(r)n.pages.forEach((function(e,t){e.el===r&&(a=!0,n.pages.splice(t,1),n.setPages(n.pages))})),a||r.parentNode.removeChild(r)}}},tabComponentLoader:function(e,t,o,r,a,s){var i;if(e||s(),E.routers.tabs.forEach((function(t){t.el&&t.el===e&&(i=t)})),i){var l,p={id:n.now()+"_"+(Je+=1),component:t,props:n.extend({f7route:r.route,$f7route:r.route,f7router:this,$f7router:this},r.route.params,r.props||{})};i.component&&(i.component.$f7router=this,i.component.$f7route=r.route),E.events.on("tabRouterDidUpdate",(function t(o){if(o===i&&!l){E.events.off("tabRouterDidUpdate",t);var n=e.children[0];a(n),l=!0}})),i.setTabContent(p)}else s()},removeTabContent:function(e){if(e){var t;E.routers.tabs.forEach((function(o){o.el&&o.el===e&&(t=o)}));var o=t&&t.component;t&&o?t.setTabContent(null):e.innerHTML=""}},modalComponentLoader:function(e,t,o,r,a,s){var i=E.routers.modals;if(i){var l,p={component:t,id:n.now()+"_"+(Je+=1),props:n.extend({f7route:r.route,$f7route:r.route,f7router:this,$f7router:this},r.route.params,r.props||{})};i.component&&(i.component.$f7router=this,i.component.$f7route=r.route),E.events.on("modalsRouterDidUpdate",(function e(){if(!l){E.events.off("modalsRouterDidUpdate",e);var t=i.el.children[i.el.children.length-1];p.el=t,a(t),l=!0}})),i.modals.push(p),i.setModals(i.modals)}else s()},removeModal:function(e){var t,o=E.routers.modals;o&&(o.modals.forEach((function(o){o.el===e&&(t=o)})),o.modals.splice(o.modals.indexOf(t),1),o.setModals(o.modals))}}};function Ze(e){E.ready(e)}var et={},tt={name:"phenomePlugin",installed:!1,install:function(e){if(void 0===e&&(e={}),!tt.installed){tt.installed=!0;E.Framework7=this,E.events=new this.Events;var t=e.React?e.React.Component:o.default.Component;window.AccordionContent=c,window.AccordionItem=d,window.AccordionToggle=f,window.Accordion=h,window.ActionsButton=m,window.ActionsGroup=g,window.ActionsLabel=b,window.Actions=y,window.App=C,window.Appbar=N,window.Badge=k,window.BlockFooter=B,window.BlockHeader=O,window.BlockTitle=w,window.Block=_,window.Button=T,window.CardContent=j,window.CardFooter=x,window.CardHeader=R,window.Card=M,window.Checkbox=I,window.Chip=A,window.Col=L,window.FabBackdrop=D,window.FabButton=$,window.FabButtons=z,window.Fab=U,window.Gauge=H,window.Icon=P,window.Input=K,window.Link=q,window.ListButton=G,window.ListGroup=Q,window.ListIndex=Y,window.ListInput=J,window.ListItemCell=X,window.ListItemContent=Z,window.ListItemRow=ee,window.ListItem=te,window.List=oe,window.LoginScreenTitle=ne,window.LoginScreen=re,window.MenuDropdownItem=ae,window.MenuDropdown=se,window.MenuItem=ie,window.Menu=le,window.Message=pe,window.MessagebarAttachment=ce,window.MessagebarAttachments=ue,window.MessagebarSheetImage=de,window.MessagebarSheetItem=fe,window.MessagebarSheet=he,window.Messagebar=me,window.MessagesTitle=ge,window.Messages=be,window.NavLeft=ve,window.NavRight=ye,window.NavTitleLarge=Ee,window.NavTitle=Se,window.Navbar=Ce,window.PageContent=ke,window.Page=Be,window.Panel=Oe,window.PhotoBrowser=we,window.Popover=_e,window.Popup=Pe,window.Preloader=Ne,window.Progressbar=Te,window.Radio=je,window.Range=V,window.RoutableModals=S,window.Row=xe,window.Searchbar=Re,window.Segmented=Me,window.Sheet=Ie,window.SkeletonBlock=Ae,window.SkeletonText=Le,window.Stepper=De,window.Subnavbar=$e,window.SwipeoutActions=ze,window.SwipeoutButton=Ue,window.SwiperSlide=He,window.Swiper=Fe,window.Tab=Ve,window.Tabs=We,window.TextEditor=W,window.Toggle=F,window.Toolbar=Ke,window.TreeviewItem=qe,window.Treeview=Ge,window.View=Qe,window.Views=Ye,Object.defineProperty(t.prototype,"$f7",{get:function(){return E.instance}}),Object.defineProperty(t.prototype,"$vuef7",{get:function(){return E}});var n=e.theme;"md"===n&&(et.md=!0),"ios"===n&&(et.ios=!0),"aurora"===n&&(et.aurora=!0),n&&"auto"!==n||(et.ios=!!this.device.ios,et.aurora=this.device.desktop&&this.device.electron,et.md=!et.ios&&!et.aurora),E.ready((function(){et.ios="ios"===E.instance.theme,et.md="md"===E.instance.theme,et.aurora="aurora"===E.instance.theme})),Object.defineProperty(t.prototype,"$theme",{get:function(){return{ios:E.instance?"ios"===E.instance.theme:et.ios,md:E.instance?"md"===E.instance.theme:et.md,aurora:E.instance?"aurora"===E.instance.theme:et.aurora}}}),t.prototype.Dom7=this.$,t.prototype.$$=this.$,t.prototype.$device=this.device,t.prototype.$request=this.request,t.prototype.$utils=this.utils,t.prototype.$f7ready=Ze,Object.defineProperty(t.prototype,"$f7route",{get:function(){return this.props&&this.props.f7route?this.props.f7route:this.f7route?this.f7route:this._f7route?this._f7route:void 0},set:function(e){this._f7route=e}}),Object.defineProperty(t.prototype,"$f7router",{get:function(){return this.props&&this.props.f7router?this.props.f7router:this.f7router?this.f7router:this._f7router?this._f7router:void 0},set:function(e){this._f7router=e}}),this.Router.use(Xe)}}};return tt}));
  //# sourceMappingURL=framework7-react.bundle.min.js.map