text: !function(){"use strict";function e(){}function t(t,n){var r,o,i,s,a=[];for(s=arguments.length;s-- >2;)ke.push(arguments[s]);n&&null!=n.children&&(ke.length||ke.push(n.children),delete n.children);while(ke.length)if((o=ke.pop())&&void 0!==o.pop)for(s=o.length;s--;)ke.push(o[s]);else"boolean"==typeof o&&(o=null),(i="function"!=typeof t)&&(null==o?o="":"number"==typeof o?o+="":"string"!=typeof o&&(i=!1)),i&&r?a[a.length-1]+=o:0===a.length?a=[o]:a.push(o),r=i;var l=new e;return l.nodeName=t,l.children=a,l.attributes=null==n?void 0:n,l.key=null==n?void 0:n.key,void 0!==Ae.vnode&&Ae.vnode(l),l}function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(e){for(var t,r,o=n(e),i=1;i<arguments.length;i++){t=Object(arguments[i]);for(var s in t)Ie.call(t,s)&&(o[s]=t[s]);if(Te){r=Te(t);for(var a=0;a<r.length;a++)Le.call(t,r[a])&&(o[r[a]]=t[r[a]])}}return o}function o(e,t){for(var n in t)e[n]=t[n];return e}function i(e,t){e&&("function"==typeof e?e(t):e.current=t)}function s(e){return"[object Array]"===Object.prototype.toString.call(e)}function a(e,t,n,r){var o=[];return t.forEach(function(t,n){if("string"==typeof t)o[n]=l(e,t);else{var r=Object.keys(t)[0],i=t[r];if("string"==typeof i)o[n]=l(e,i);else{var s=i[0];if("string"==typeof s){var a=l(e,s);o[n]=i[1]?i[1](a):a}else{var u=[];s.forEach(function(t){u.push(l(e,t))}),o[n]=i[1].apply(null,u)}}o[r]=o[n]}}),n&&(n[r]=o),o}function l(e,t){for(var n=t.replace(/]/g,"").replace(/\[/g,".").split("."),r=e,o=0,i=n.length;o<i;o++)r=r[n[o]];return r}function u(e,t,n){var r={};return e.forEach(function(e){if("string"==typeof e)r[e]=!0;else{var t=e[Object.keys(e)[0]];"string"==typeof t?r[t]=!0:"string"==typeof t[0]?r[t[0]]=!0:t[0].forEach(function(e){return r[e]=!0})}}),t&&(t[n]=r),r}function c(e,t){for(var n=0,r=t.length;n<r;n++)if(t[n]===e){t.splice(n,1);break}}function f(e){return e.children}function p(e,n){return t(e.nodeName,o(o({},e.attributes),n),arguments.length>2?[].slice.call(arguments,2):e.children)}function h(e){1==Fe.push(e)&&(Ae.debounceRendering||Ue)(d)}function d(){var e;while(e=Fe.pop())B(e)}function v(e,t,n){if("string"==typeof t||"number"==typeof t)return void 0!==e.splitText;if("string"==typeof t.nodeName){var r=Ve[t.nodeName];return r?n||e._componentConstructor===r:!e._componentConstructor&&_(e,t.nodeName)}return n||e._componentConstructor===t.nodeName}function _(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function y(e){var t=o({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function m(e,t){var n=t?Ae.doc.createElementNS("http://www.w3.org/2000/svg",e):Ae.doc.createElement(e);return n.__n=e,n}function g(e){for(var t=e.replace(/\/\*(.|\s)*?\*\//g," ").replace(/\s+/g," "),n={},r=t.match(/ ?(.*?) ?{([^}]*)}/)||[o,i,t],o=r[0],i=r[1],s=r[2],a=s.split(";").map(function(e){return e.split(":").map(function(e){return e&&e.trim()})}),l=a,l=Array.isArray(l),l=0,l=l||l[Symbol.iterator]();;){var u;if(l){if(l>=l.length)break;u=l[l++]}else{if(l=l.next(),l.done)break;u=l.value}var c=u,f=c[0],p=c[1];n[function(e){return e.replace(/\W+\w/g,function(e){return e.slice(-1).toUpperCase()})}(f)]=p}return n}function b(e){var t=e.parentNode;t&&t.removeChild(e)}function w(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)i(n,null),i(r,e);else if("class"!==t||o)if("style"===t)if(Ae.isWeb){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var s in n)s in r||(e.style[s]="");for(var s in r)e.style[s]="number"==typeof r[s]&&!1===We.test(s)?r[s]+"px":r[s]}}else{var a=n,l=r;"string"==typeof n&&(a=g(n)),"string"==typeof r&&(l=g(r));var u={},c=!1;if(a){for(var f in a)"object"!=typeof l||f in l||(u[f]="",c=!0);for(var p in l)l[p]!==a[p]&&(u[p]=l[p],c=!0);c&&e.setStyles(u)}else e.setStyles(l)}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var h=t!==(t=t.replace(/Capture$/,"")),d=t.toLowerCase();t=(d in e?d:t).slice(2),r?n||(e.addEventListener(t,E,h),"tap"==t&&(e.addEventListener("touchstart",C,h),e.addEventListener("touchend",O,h))):(e.removeEventListener(t,E,h),"tap"==t&&(e.removeEventListener("touchstart",C,h),e.removeEventListener("touchend",O,h))),(e.__l||(e.__l={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e)S(e,t,null==r?"":r),null!=r&&!1!==r||e.removeAttribute(t);else{var v=o&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?v?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(v?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function S(e,t,n){try{e[t]=n}catch(e){}}function E(e){return this.__l[e.type](Ae.event&&Ae.event(e)||e)}function C(e){this.C=e.touches[0].pageX,this.D=e.touches[0].pageY,this.F=document.body.scrollTop}function O(e){Math.abs(e.changedTouches[0].pageX-this.C)<30&&Math.abs(e.changedTouches[0].pageY-this.D)<30&&Math.abs(document.body.scrollTop-this.F)<30&&this.dispatchEvent(new CustomEvent("tap",{detail:e}))}function N(e){for(var t=0,n=Ae.styleCache.length;t<n;t++){var r=Ae.styleCache[t];if(r.ctor===e)return r.attrName}var o="s"+ze;return Ae.styleCache.push({ctor:e,attrName:o}),ze++,o}function x(e,t){return t="["+t.toLowerCase()+"]",e=e.replace(/\/\*[^*]*\*+([^\/][^*]*\*+)*\//g,""),e=e.replace(RegExp("([^\r\n,{}:]+)(:[^\r\n,{}]+)?(,(?=[^{}]*{)|s*{)","g"),function(e,n,r,o){return void 0===r&&(r=""),n.match(/^\s*(@media|\d+%?|@-webkit-keyframes|@keyframes|to|from|@font-face)/)?n+r+o:n.replace(/(\s*)$/,"")+t+r+o})}function j(e,t){t=t.toLowerCase();var n=document.getElementById(t),r=document.getElementsByTagName("head")[0];n&&n.parentNode===r&&r.removeChild(n);var o=document.createElement("style");r.appendChild(o),o.setAttribute("type","text/css"),o.setAttribute("id",t),window.ActiveXObject?o.styleSheet.cssText=e:o.textContent=e}function $(e){var t=document.getElementsByTagName("head")[0],n=document.createElement("style");t.appendChild(n),n.setAttribute("type","text/css"),window.ActiveXObject?n.styleSheet.cssText=e:n.textContent=e}function A(e,t){Ae.scopedStyle&&T(t,e)}function k(e,t){Ae.scopedStyle?Ae.staticStyleMapping[t]||(j(x(e,t),t),Ae.staticStyleMapping[t]=!0):Ae.staticStyleMapping[t]||($(e),Ae.staticStyleMapping[t]=!0)}function T(e,t){"object"==typeof t&&(t.attributes=t.attributes||{},t.attributes[e]="",t.css=t.css||{},t.css[e]="",t.children.forEach(function(t){return T(e,t)}))}function I(e,t){if("object"==typeof e&&t){e.attributes=e.attributes||{};for(var n in t)e.attributes[n]=""}}function L(){var e;while(e=qe.pop())Ae.afterMount&&Ae.afterMount(e),e.installed&&e.installed(),(e.constructor.css||e.css)&&k(e.constructor.css?e.constructor.css:"function"==typeof e.css?e.css():e.css,"_s"+N(e.constructor))}function M(e,t,n,r,o,i,a){Be++||(Xe=null!=o&&void 0!==o.ownerSVGElement,De=null!=e&&!("__omiattr_"in e));var l;return s(t)?t={nodeName:"span",children:t}:t&&t.nodeName===f&&(t.nodeName="span"),l=P(e,t,n,r,i,a),o&&l.parentNode!==o&&o.appendChild(l),--Be||(De=!1,i||L()),l}function P(e,t,n,r,o,i){var s=e,a=Xe;null!=t&&"boolean"!=typeof t||(t="");var l=t.nodeName;if(Ae.mapping[l])return t.nodeName=Ae.mapping[l],X(e,t,n,r,i);if("function"==typeof l)return X(e,t,n,r,i);if("string"==typeof t||"number"==typeof t){e&&void 0!==e.splitText&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(s=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(s,e),R(e,!0)));try{s.__omiattr_=!0}catch(e){}return s}if(Xe="svg"===l||"foreignObject"!==l&&Xe,l+="",(!e||!_(e,l))&&(s=m(l,Xe),e)){while(e.firstChild)s.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(s,e),R(e,!0)}var u=s.firstChild,c=s.__omiattr_,f=t.children;if(null==c){c=s.__omiattr_={};for(var p=s.attributes,h=p.length;h--;)c[p[h].name]=p[h].value}return!De&&f&&1===f.length&&"string"==typeof f[0]&&null!=u&&void 0!==u.splitText&&null==u.nextSibling?u.nodeValue!=f[0]&&(u.nodeValue=f[0]):(f&&f.length||null!=u)&&H(s,f,n,r,De||null!=c.dangerouslySetInnerHTML,i),W(s,t.attributes,c),Xe=a,s}function H(e,t,n,r,o,i){var s,a,l,u,c,f=e.childNodes,p=[],h={},d=0,_=0,y=f.length,m=0,g=t?t.length:0;if(0!==y)for(var w=0;w<y;w++){var S=f[w],E=S.__omiattr_,C=g&&E?S._component?S._component.__k:E.key:null;null!=C?(d++,h[C]=S):(E||(void 0!==S.splitText?!o||S.nodeValue.trim():o))&&(p[m++]=S)}if(0!==g)for(var w=0;w<g;w++){u=t[w],c=null;var C=u.key;if(null!=C)d&&void 0!==h[C]&&(c=h[C],h[C]=void 0,d--);else if(!c&&_<m)for(s=_;s<m;s++)if(void 0!==p[s]&&v(a=p[s],u,o)){c=a,p[s]=void 0,s===m-1&&m--,s===_&&_++;break}c=P(c,u,n,r,null,i),l=f[w],c&&c!==e&&c!==l&&(null==l?e.appendChild(c):c===l.nextSibling?b(l):e.insertBefore(c,l))}if(d)for(var w in h)void 0!==h[w]&&R(h[w],!1);while(_<=m)void 0!==(c=p[m--])&&R(c,!1)}function R(e,t){var n=e._component;n?D(n):(null!=e.__omiattr_&&i(e.__omiattr_.ref,null),!1!==t&&null!=e.__omiattr_||b(e),U(e))}function U(e){e=e.lastChild;while(e){var t=e.previousSibling;R(e,!0),e=t}}function W(e,t,n){var r;for(r in n)t&&null!=t[r]||null==n[r]||w(e,r,n[r],n[r]=void 0,Xe);for(r in t)"children"===r||"innerHTML"===r||r in n&&t[r]===("value"===r||"checked"===r?e[r]:n[r])||w(e,r,n[r],n[r]=t[r],Xe)}function F(e){var t=e.constructor.name;(Je[t]||(Je[t]=[])).push(e)}function V(e,t,n,r){var o,i=Je[e.name];if(e.prototype&&e.prototype.render?(o=new e(t,n),Ye.call(o,t,n)):(o=new Ye(t,n),o.constructor=e,o.render=z),r&&(o.scopedCssAttr=r.css),o.store){if(o.use){var s="function"==typeof o.use?o.use():o.use;if(Ae.isMultiStore){var l={},c={};for(var f in s)l[f]={},c[f]={},u(s[f],l,f),a(o.store[f].data,s[f],c,f),o.store[f].instances.push(o);o.using=c,o.H=l}else o.H=u(s),o.using=a(o.store.data,s),o.store.instances.push(o)}if(o.useSelf){var p="function"==typeof o.useSelf?o.useSelf():o.useSelf;if(Ae.isMultiStore){var h={},d={};for(var v in p)u(p[v],h,v),a(o.store[v].data,p[v],d,v),o.store[v].updateSelfInstances.push(o);o.usingSelf=d,o.I=h}else o.I=u(p),o.usingSelf=a(o.store.data,p),o.store.updateSelfInstances.push(o)}if(o.compute)for(var _ in o.compute)o.computed[_]=o.compute[_].call(Ae.isMultiStore?o.store:o.store.data)}if(i)for(var y=i.length;y--;)if(i[y].constructor===e){o.__b=i[y].__b,i.splice(y,1);break}return o}function z(e,t){return this.constructor(e,t)}function q(e,t,n,r,o){e.__x||(e.__x=!0,(e.__r=t.ref)&&delete t.ref,(e.__k=t.key)&&delete t.key,e.base&&!o||(e.beforeInstall&&e.beforeInstall(),e.install&&e.install()),e.__p||(e.__p=e.props),e.props=t,e.__x=!1,0!==n&&(1!==n&&!1===Ae.syncComponentUpdates&&e.base?h(e):B(e,1,o)),i(e.__r,e))}function B(e,t,n,r,o){if(!e.__x){var i,s,a,l=e.props,u=e.store,c=e.__p||l,f=e.base,p=e.__b,h=f||p,d=e._component,v=!1;if(f){e.props=c;var _=!0;e.receiveProps&&(_=e.receiveProps(l,c)),!1!==_?(v=!1,e.beforeUpdate&&e.beforeUpdate(l,u)):v=!0,e.props=l}if(e.__p=e.__b=null,!v){e.beforeRender&&e.beforeRender(),i=e.render(l,u),(e.constructor.css||e.css)&&A(i,"_s"+N(e.constructor)),I(i,e.scopedCssAttr);var m,g,b=i&&i.nodeName,w=Ae.mapping[b];if(w){var S=y(i);s=d,s&&s.constructor===w&&S.key==s.__k?q(s,S,1,u,!1):(m=s,e._component=s=V(w,S,u),s.__b=s.__b||p,s.__u=e,q(s,S,0,u,!1),B(s,1,n,!0)),g=s.base}else a=h,m=d,m&&(a=e._component=null),(h||1===t)&&(a&&(a._component=null),g=M(a,i,u,n||!f,h&&h.parentNode,!0,o));if(h&&g!==h&&s!==d){var E=h.parentNode;E&&g!==E&&(E.replaceChild(g,h),m||(h._component=null,R(h,!1)))}if(m&&D(m),e.base=g,g&&!r){var C=e,O=e;while(O=O.__u)(C=O).base=g;g._component=C,g._componentConstructor=C.constructor}}if(!f||n?qe.unshift(e):v||(e.afterUpdate&&e.afterUpdate(c,u),e.updated&&e.updated(c,u),Ae.afterUpdate&&Ae.afterUpdate(e)),null!=e.__h)while(e.__h.length)e.__h.pop().call(e);Be||r||L()}}function X(e,t,n,r,o){var i=e&&e._component,s=i,a=e,l=i&&e._componentConstructor===t.nodeName,u=l,c=y(t);while(i&&!u&&(i=i.__u))u=i.constructor===t.nodeName;return i&&u&&(!r||i._component)?(o||q(i,c,3,n,r),e=i.base):(s&&!l&&(D(s),e=a=null),i=V(t.nodeName,c,n,t),e&&!i.__b&&(i.__b=e,a=null),q(i,c,1,n,r),e=i.base,a&&e!==a&&(a._component=null,R(a,!1))),e}function D(e){Ae.beforeUnmount&&Ae.beforeUnmount(e);var t=e.base;if(e.__x=!0,e.uninstall&&e.uninstall(),e.store)if(Ae.isMultiStore)for(var n in e.store){var r=e.store[n];r.instances&&c(e,r.instances),r.updateSelfInstances&&c(e,r.updateSelfInstances)}else e.store.instances&&c(e,e.store.instances),e.store.updateSelfInstances&&c(e,e.store.updateSelfInstances);e.base=null;var o=e._component;o?D(o):t&&(null!=t.__omiattr_&&i(t.__omiattr_.ref,null),e.__b=t,b(t),F(e),U(t)),i(e.__r,null)}function J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G(e,t,n){var r=[];ne(e)&&(0===e.length&&(e.$_o_={$_r_:e,$_p_:"#"}),Y(e,e)),e&&"object"==typeof e&&0===Object.keys(e).length&&(K(e),e.$_o_.$_r_=e);for(var o in e)e.hasOwnProperty(o)&&(n?ne(t)&&oe(t,o)?(r.push(o),Z(e,o,null,e)):re(t)&&o==t&&(r.push(o),Z(e,o,null,e)):(r.push(o),Z(e,o,null,e)));e.$_c_||(e.$_c_=[]),e.$_c_.push({all:!n,propChanged:n||t,eventPropArr:r})}function Y(e,t){Ke.forEach(function(n){e[n]=function(){var e=Array.prototype.slice.call(this,0),r=Array.prototype[n].apply(this,Array.prototype.slice.call(arguments));if(RegExp("\\b"+n+"\\b").test(Ze)){for(var o in this)this.hasOwnProperty(o)&&!ee(this[o])&&Z(this,o,this.$_o_.$_p_,t);Q("Array-"+n,this,e,this,this.$_o_.$_p_,t)}return r},e["pure"+n.substring(0,1).toUpperCase()+n.substring(1)]=function(){return Array.prototype[n].apply(this,Array.prototype.slice.call(arguments))}})}function Z(e,t,n,r){if("$_o_"!==t&&!ee(e[t])){e.$_o_||(e.$_o_={$_r_:r}),e.$_o_.$_p_=void 0!==n&&null!==n?n:"#";var o=e.$_o_[t]=e[t];if(Object.defineProperty(e,t,{get:function(){return this.$_o_[t]},set:function(n){var o=this.$_o_[t];this.$_o_[t]=n,Q(t,n,o,this,e.$_o_.$_p_,r)},configurable:!0,enumerable:!0}),"object"==typeof o){ne(o)&&(Y(o,r),0===o.length&&K(o,t,n)),o&&0===Object.keys(o).length&&K(o,t,n);for(var i in o)o.hasOwnProperty(i)&&Z(o,i,e.$_o_.$_p_+"-"+t,r)}}}function K(e,t,n){e.$_o_||(e.$_o_={},e.$_o_.$_p_=void 0!==n&&null!==n?n+"-"+t:void 0!==t&&null!==t?"#-"+t:"#")}function Q(e,t,n,r,o,i){if(t!==n&&(!te(t)||!te(n))&&i.$_c_)for(var s=ie(e,o),a=0,l=i.$_c_.length;a<l;a++){var u=i.$_c_[a];(u.all||oe(u.eventPropArr,s)||0===s.indexOf("Array-"))&&u.propChanged.call(r,e,t,n,o)}0!==e.indexOf("Array-")&&"object"==typeof t&&Z(r,e,r.$_o_.$_p_,i)}function ee(e){return"[object Function]"==Object.prototype.toString.call(e)}function te(e){return"number"==typeof e&&isNaN(e)}function ne(e){return"[object Array]"===Object.prototype.toString.call(e)}function re(e){return"string"==typeof e}function oe(e,t){for(var n=e.length;--n>-1;)if(t===e[n])return!0;return!1}function ie(e,t){return"#"===t?e:t.split("-")[1]}function se(e,t,n,r,o){if(t="string"==typeof t?document.querySelector(t):t,n)if(n.data)ae(n);else{Ae.isMultiStore=!0;for(var i in n)n[i].data&&ae(n[i],i)}if(r)while(t.firstChild)t.removeChild(t.firstChild);return o&&(o="string"==typeof o?document.querySelector(o):o),M(o,e,n,!1,t,!1)}function ae(e,t){e.instances=[],e.updateSelfInstances=[],ue(e,t),G(e.data,function(t,n,r,o){var i={};i[he(o+"-"+t)]=!0,e.update(i)})}function le(e,t,n){return ae(n),t="string"==typeof t?document.querySelector(t):t,M(t,e,n)}function ue(e,t){e.update=function(n){Object.keys(n).length>0&&(this.instances.forEach(function(r){ce(r,t),t?r.H&&r.H[t]&&fe(n,r.H[t])&&(r.use&&a(e.data,("function"==typeof r.use?r.use():r.use)[t],r.using,t),r.update()):r.H&&fe(n,r.H)&&(r.use&&(r.using=a(e.data,"function"==typeof r.use?r.use():r.use)),r.update())}),this.updateSelfInstances.forEach(function(r){ce(r,t),t?r.I&&r.I[t]&&fe(n,r.I[t])&&(r.useSelf&&a(e.data,("function"==typeof r.useSelf?r.useSelf():r.useSelf)[t],r.usingSelf,t),r.updateSelf()):r.I&&fe(n,r.I)&&(r.usingSelf=a(e.data,"function"==typeof r.useSelf?r.useSelf():r.useSelf),r.updateSelf())}),this.onChange&&this.onChange(n))}}function ce(e,t){if(e.compute)for(var n in e.compute)e.computed[n]=e.compute[n].call(t?e.store:e.store.data)}function fe(e,t){for(var n in e){if(t[n])return!0;for(var r in t)if(pe(n,r))return!0}return!1}function pe(e,t){if(0===e.indexOf(t)){var n=e.substr(t.length,1);if("["===n||"."===n)return!0}return!1}function he(e){var t="";return e.replace("#-","").split("-").forEach(function(e,n){n?isNaN(+e)?t+="."+e:t+="["+e+"]":t+=e}),t}function de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _e(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function ye(e,t,n){if("WeElement"===t.is)Ae.mapping[e]=t;else{n="string"==typeof n?{css:n}:n||{};var r=function(e){function r(){var t,o,i;de(this,r);for(var s=arguments.length,a=Array(s),l=0;l<s;l++)a[l]=arguments[l];return t=o=ve(this,e.call.apply(e,[this].concat(a))),o.compute=n.compute,i=t,ve(o,i)}return _e(r,e),r.prototype.render=function(){return t.call(this,this)},r}(Ye);r.css=n.css,r.propTypes=n.propTypes,r.defaultProps=n.defaultProps;for(var o in n)!function(e){"function"==typeof n[e]&&(r.prototype[e]=function(){return n[e].apply(this,arguments)})}(o);Qe.forEach(function(e){n[e]&&"function"!==n[e]&&(r.prototype[e]=function(){return n[e]})}),Ae.mapping[e]=r}}function me(e){return e.replace(/([1-9]\d*|0)(\.\d*)*rpx/g,function(e,t){return window.innerWidth*+t/750+"px"})}function ge(e){return function(t){ye(e,t)}}function be(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n)&&n.length){var o=be.apply(null,n);o&&e.push(o)}else if("object"===r)for(var i in n)et.call(n,i)&&n[i]&&e.push(i)}}return e.join(" ")}function we(){var e=Array.prototype.slice.call(arguments,0),t=e[0],n=e.slice(1);if(t&&(t.class?(n.unshift(t.class),delete t.class):t.className&&(n.unshift(t.className),delete t.className)),n.length>0)return{class:be.apply(null,n)}}function Se(e){var t=e.base;if(t)while(t.parentNode){if(t.parentNode._component)return t.parentNode._component;t=t.parentNode}}function Ee(e){var t="";for(var n in e){var r=e[n];null!=r&&(t&&(t+=" "),t+=st[n]||(st[n]=n.replace(/([A-Z])/g,"-$1").toLowerCase()),t+=": ",t+=r,"number"==typeof r&&!1===IS_NON_DIMENSIONAL.test(n)&&(t+="px"),t+=";")}return t||void 0}function Ce(e,t,n,r){n=n||{},t=Object.assign({scopedCSS:!0},t);var o={},i=Oe(e,t,n,r,o);return{css:Object.values(o),html:i}}function Oe(e,t,n,r,o){if(null==e||"boolean"==typeof e)return"";var i=e.nodeName,s=e.attributes,a=!1,l=t.pretty,u=l&&"string"==typeof l?l:"\t";if("object"!=typeof e&&!i)return tt(e);var c=rt[i];if(c){a=!0;var f,p=xe(e),h=new c(p,n);if(h.__x=h.G=!0,h.props=p,h.store=n,h.install&&h.install(),h.beforeRender&&h.beforeRender(),f=h.render(h.props,h.store),t.scopedCSS){if(h.constructor.css||h.css){var d=h.constructor.css?h.constructor.css:"function"==typeof h.css?h.css():h.css,v="_s"+N(h.constructor);o[v]={id:v,css:x(d,v)},A(f,v)}h.scopedCSSAttr=e.css,I(f,h.scopedCSSAttr)}return Oe(f,t,n,!1,o)}var _,y="";if(s){var m=Object.keys(s);t&&!0===t.sortAttributes&&m.sort();for(var g=0;g<m.length;g++){var b=m[g],w=s[b];if("children"!==b&&!b.match(/[\s\n\\\/='"\0<>]/)&&(t&&t.allAttributes||"key"!==b&&"ref"!==b)){if("className"===b){if(s.class)continue;b="class"}else r&&b.match(/^xlink:?./)&&(b=b.toLowerCase().replace(/^xlink:?/,"xlink:"));"style"===b&&w&&"object"==typeof w&&(w=Ee(w));var S=t.attributeHook&&t.attributeHook(b,w,n,t,a);if(S||""===S)y+=S;else if("dangerouslySetInnerHTML"===b)_=w&&w.__html;else if((w||0===w||""===w)&&"function"!=typeof w){if(!(!0!==w&&""!==w||(w=b,t&&t.xml))){y+=" "+b;continue}y+=" "+b+'="'+tt(w)+'"'}}}}if(l){var E=y.replace(/^\n\s*/," ");E===y||~E.indexOf("\n")?l&&~y.indexOf("\n")&&(y+="\n"):y=E}if(y="<"+i+y+">",(i+"").match(/[\s\n\\\/='"\0<>]/))throw y;var C=(i+"").match(ot);C&&(y=y.replace(/>$/," />"));var O=[];if(_)l&&it(_)&&(_="\n"+u+nt(_,u)),y+=_;else if(e.children){for(var j=l&&~y.indexOf("\n"),g=0;g<e.children.length;g++){var $=e.children[g];if(null!=$&&!1!==$){var k="svg"===i||"foreignObject"!==i&&r,T=Oe($,t,n,k,o);l&&!j&&it(T)&&(j=!0),T&&O.push(T)}}if(l&&j)for(var g=O.length;g--;)O[g]="\n"+u+nt(O[g],u)}if(O.length)y+=O.join("");else if(t&&t.xml)return y.substring(0,y.length-1)+" />";return C||(l&&~y.indexOf("\n")&&(y+="\n"),y+="</"+i+">"),y}function Ne(e,t){for(var n in t)e[n]=t[n];return e}function xe(e){var t=Ne({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function je(e){var t=at(this,ft(e),arguments,[]);return t.length>1?t:t[0]}function $e(){return{}}var Ae={scopedStyle:!0,mapping:{},isWeb:!0,staticStyleMapping:{},doc:"object"==typeof document?document:null,root:function(){return"object"==typeof global&&global&&global.Math===Math&&global.Array===Array?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:function(){return this}()}(),styleCache:[],isMultiStore:!1},ke=[],Te=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable;if("undefined"!=typeof Element&&!Element.prototype.addEventListener){var Me=function(e){e||(e=window.event);for(var t=0,n=0,r=Pe[e.type];n<r.aEls.length;n++)if(r.aEls[n]===this){for(t;t<r.aEvts[n].length;t++)r.aEvts[n][t].call(this,e);break}},Pe={};Element.prototype.addEventListener=function(e,t){if(Pe.hasOwnProperty(e)){for(var n=Pe[e],r=-1,o=0;o<n.aEls.length;o++)if(n.aEls[o]===this){r=o;break}if(-1===r)n.aEls.push(this),n.aEvts.push([t]),this["on"+e]=Me;else{var i=n.aEvts[r];this["on"+e]!==Me&&(i.splice(0),this["on"+e]=Me);for(var s=0;s<i.length;s++)if(i[s]===t)return;i.push(t)}}else Pe[e]={aEls:[this],aEvts:[[t]]},this["on"+e]=Me},Element.prototype.removeEventListener=function(e,t){if(Pe.hasOwnProperty(e)){for(var n=Pe[e],r=-1,o=0;o<n.aEls.length;o++)if(n.aEls[o]===this){r=o;break}if(-1!==r)for(var i=0,s=n.aEvts[r];i<s.length;i++)s[i]===t&&s.splice(i,1)}}}"function"!=typeof Object.create&&(Object.create=function(e){function t(){}if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object prototype may only be an Object: "+e);if(null===e)throw Error("This browser's implementation of Object.create is a shim and doesn't support 'null' as the first argument.");return t.prototype=e,new t}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")});var He="function"==typeof Promise;if("object"!=typeof document&&"undefined"!=typeof global&&global.v)if("android"===global.v.platform)He=!0;else{var Re=global.v.systemVersion&&global.v.systemVersion.split(".")[0]||0;Re>8&&(He=!0)}var Ue=He?Promise.resolve().then.bind(Promise.resolve()):setTimeout,We=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,Fe=[],Ve=Ae.mapping,ze=0,qe=[],Be=0,Xe=!1,De=!1,Je={},Ge=0,Ye=function(){function e(t,n){J(this,e),this.props=r({},this.constructor.defaultProps,t),this.elementId=Ge++,this.z=null,this.store=n,this.computed={}}return e.prototype.update=function(e){this.A||(this.A=!0,e&&(this.__h=this.__h||[]).push(e),B(this,2),Ae.componentChange&&Ae.componentChange(this,this.base),this.A=!1)},e.prototype.updateSelf=function(){this.J||(this.J=!0,B(this,2,null,null,!0),this.J=!1)},e.prototype.fire=function(e,t){var n=this;Object.keys(this.props).every(function(r){return"on"+e.toLowerCase()!==r.toLowerCase()||(n.props[r]({detail:t}),!1)})},e.prototype.render=function(){},e}();Ye.is="WeElement";var Ze="concat,copyWithin,fill,pop,push,reverse,shift,sort,splice,unshift,size",Ke=["concat","copyWithin","entries","every","fill","filter","find","findIndex","forEach","includes","indexOf","join","keys","lastIndexOf","map","pop","push","reduce","reduceRight","reverse","shift","slice","some","sort","splice","toLocaleString","toString","unshift","values","size"];G.add=function(e,t){Z(e,t,e.$_o_.$_p_,e.$_o_.$_r_)},G.set=function(e,t,n){void 0===e[t]&&Z(e,t,e.$_o_.$_p_,e.$_o_.$_r_),e[t]=n},Array.prototype.size=function(e){this.length=e};var Qe=["use","useSelf"],et={}.hasOwnProperty,tt=function(e){return(e+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},nt=function(e,t){return(e+"").replace(/(\n+)/g,"$1"+(t||"\t"))},rt=Ae.mapping,ot=/^(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)$/,it=function(e,t,n){return(e+"").length>(t||40)||!n&&-1!==(e+"").indexOf("\n")||-1!==(e+"").indexOf("<")},st={},at=function(e,t,n,r){for(var o=1;o<t.length;o++){var i=t[o++],s="number"==typeof i?n[i]:i;1===t[o]?r[0]=s:2===t[o]?(r[1]=r[1]||{})[t[++o]]=s:3===t[o]?r[1]=Object.assign(r[1]||{},s):r.push(t[o]?e.apply(null,at(e,s,n,["",null])):s)}return r},lt=function(e){for(var t,n,r=1,o="",i="",s=[0],a=function(e){1===r&&(e||(o=o.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?s.push(e||o,0):3===r&&(e||o)?(s.push(e||o,1),r=2):2===r&&"..."===o&&e?s.push(e,3):2===r&&o&&!e?s.push(!0,2,o):4===r&&n&&(s.push(e||o,2,n),n=""),o=""},l=0;l<e.length;l++){l&&(1===r&&a(),a(l));for(var u=0;u<e[l].length;u++)t=e[l][u],1===r?"<"===t?(a(),s=[s],r=3):o+=t:i?t===i?i="":o+=t:'"'===t||"'"===t?i=t:">"===t?(a(),r=1):r&&("="===t?(r=4,n=o,o=""):"/"===t?(a(),3===r&&(s=s[0]),r=s,(s=s[0]).push(r,4),r=0):" "===t||"\t"===t||"\n"===t||"\r"===t?(a(),r=2):o+=t)}return a(),s},ut="function"==typeof Map,ct=ut?new Map:{},ft=ut?function(e){var t=ct.get(e);return t||ct.set(e,t=lt(e)),t}:function(e){for(var t="",n=0;n<e.length;n++)t+=e[n].length+"-"+e[n];return ct[t]||(ct[t]=lt(e))};t.f=f;var pt=je.bind(t),ht=Ye,dt=ye;Ae.root.Omi={h:t,createElement:t,cloneElement:p,createRef:$e,Component:Ye,render:se,rerender:d,options:Ae,WeElement:ht,define:ye,rpx:me,defineElement:dt,classNames:be,extractClass:we,getHost:Se,renderToString:Ce,tag:ge,merge:le,html:pt,htm:je,obaa:G},Ae.root.omi=Ae.root.Omi,Ae.root.Omi.version="omio-2.8.0";var vt={h:t,createElement:t,cloneElement:p,createRef:$e,Component:Ye,render:se,rerender:d,options:Ae,WeElement:ht,define:ye,rpx:me,defineElement:dt,classNames:be,extractClass:we,getHost:Se,renderToString:Ce,tag:ge,merge:le,html:pt,htm:je,obaa:G};"undefined"!=typeof module?module.exports=vt:self.Omi=vt}();
  //# sourceMappingURL=omi.min.js.map