You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2018/03/01 19:27:07 UTC

svn commit: r1825676 [9/9] - in /cordova/site/public: ./ contribute/ docs/en/6.x/reference/cordova-plugin-console/ docs/en/6.x/reference/cordova-plugin-contacts/ docs/en/6.x/reference/cordova-plugin-device-motion/ docs/en/6.x/reference/cordova-plugin-d...

Modified: cordova/site/public/static/js/plugins.js
URL: http://svn.apache.org/viewvc/cordova/site/public/static/js/plugins.js?rev=1825676&r1=1825675&r2=1825676&view=diff
==============================================================================
--- cordova/site/public/static/js/plugins.js (original)
+++ cordova/site/public/static/js/plugins.js Thu Mar  1 19:27:06 2018
@@ -1,4 +1,4 @@
 !function t(e,n,r){function i(a,s){if(!n[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[a]={exports:{}};e[a][0].call(l.exports,function(t){var n=e[a][1][t];return i(n?n:t)},l,l.exports,t,e,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(t,e,n){(function(t){(function(){function n(t,e){var n=!(arguments.length<=2||void 0===arguments[2])&&arguments[2];this.obs=t,this.sync=e,this.lazy=n,this.queue=[]}function r(){n.apply(this,arguments)}function i(t){n.call(this,t,!0)}function o(t,e,n){this.context=t,this.method=e,this.args=n}function a(t){this.value=t}function s(){this.id=++it}function u(t,e){return this instanceof u?(s.call(this),void(!e&&U.isFunction(t)||(null!=t?t._isNext:void 0)?(this.valueF=t,this.valueInternal=void 0):(this.valueF=void 0,this.valueInternal=t))):new u(t,
 e)}function c(t,e){return this instanceof c?void u.call(this,t,e):new c(t,e)}function l(){return this instanceof l?void s.call(this):new l}function f(t){return this instanceof f?(this.error=t,void s.call(this)):new f(t)}function p(t){this.desc=t,this.id=++ct,this.initialDesc=this.desc}function h(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];this.unsubscribe=U.bind(this.unsubscribe,this),this.unsubscribed=!1,this.subscriptions=[],this.starting=[];for(var e,n=0;n<t.length;n++)e=t[n],this.add(e)}function d(t,e){this._subscribe=t,this._handleEvent=e,this.subscribe=U.bind(this.subscribe,this),this.handleEvent=U.bind(this.handleEvent,this),this.pushing=!1,this.ended=!1,this.prevError=void 0,this.unsubSrc=void 0,this.subscriptions=[],this.queue=[]}function v(t,e,n){return this instanceof v?(U.isFunction(t)&&(n=e,e=t,t=o.empty),p.call(this,t),P(e),this.dispatcher=new d(e,n),void lt(this)):new v(t,e,n)}function y(t,e,n){d.call(this,e,n),this.property=t,this.subscribe=U.b
 ind(this.subscribe,this),this.current=nt,this.currentValueRootId=void 0,this.propertyEnded=!1}function b(t,e,n){p.call(this,t),P(e),this.dispatcher=new y(this,e,n),lt(this)}function m(){return this instanceof m?(this.unsubAll=U.bind(this.unsubAll,this),this.subscribeAll=U.bind(this.subscribeAll,this),this.guardedSink=U.bind(this.guardedSink,this),this.sink=void 0,this.subscriptions=[],this.ended=!1,void v.call(this,new _.Desc(_,"Bus",[]),this.subscribeAll)):new m}function g(t){return[t,st()]}function w(t){this.observable=t}var x=Array.prototype.slice,_={toString:function(){return"Bacon"}};_.version="0.7.95";var E=("undefined"!=typeof t&&null!==t?t:this).Error,C=function(){},S=function(t,e){return t},k=function(t){return t.slice(0)},O=function(t,e){if(!e)throw new E(t)},D=function(t){if((null!=t?t._isObservable:void 0)&&!(null!=t?t._isProperty:void 0))throw new E("Observable is not a Property : "+t)},T=function(t){if(!(null!=t?t._isEventStream:void 0))throw new E("not an EventStream 
 : "+t)},N=function(t){if(!(null!=t?t._isObservable:void 0))throw new E("not an Observable : "+t)},P=function(t){return O("not a function : "+t,U.isFunction(t))},j=Array.isArray||function(t){return t instanceof Array},A=function(t){return t&&t._isObservable},I=function(t){if(!j(t))throw new E("not an array : "+t)},M=function(t){return O("no arguments supported",0===t.length)},R=function(t){for(var e=arguments.length,n=1;1<e?n<e:n>e;1<e?n++:n--)for(var r in arguments[n])t[r]=arguments[n][r];return t},L=function(t,e){var n={}.hasOwnProperty,r=function(){};r.prototype=e.prototype,t.prototype=new r;for(var i in e)n.call(e,i)&&(t[i]=e[i]);return t},F=function(t){return"undefined"!=typeof Symbol&&Symbol[t]?Symbol[t]:"undefined"!=typeof Symbol&&"function"==typeof Symbol["for"]?Symbol[t]=Symbol["for"](t):"@@"+t},U={indexOf:function(){return Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var n,r=0;r<t.length;r++)if(n=t[r],e===n)return r;return-1}}(),indexWhere:fu
 nction(t,e){for(var n,r=0;r<t.length;r++)if(n=t[r],e(n))return r;return-1},head:function(t){return t[0]},always:function(t){return function(){return t}},negate:function(t){return function(e){return!t(e)}},empty:function(t){return 0===t.length},tail:function(t){return t.slice(1,t.length)},filter:function(t,e){for(var n,r=[],i=0;i<e.length;i++)n=e[i],t(n)&&r.push(n);return r},map:function(t,e){return function(){for(var n,r=[],i=0;i<e.length;i++)n=e[i],r.push(t(n));return r}()},each:function(t,e){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];e(n,r)}},toArray:function(t){return j(t)?t:[t]},contains:function(t,e){return U.indexOf(t,e)!==-1},id:function(t){return t},last:function(t){return t[t.length-1]},all:function(t){for(var e,n=arguments.length<=1||void 0===arguments[1]?U.id:arguments[1],r=0;r<t.length;r++)if(e=t[r],!n(e))return!1;return!0},any:function(t){for(var e,n=arguments.length<=1||void 0===arguments[1]?U.id:arguments[1],r=0;r<t.length;r++)if(e=t[r],n(
 e))return!0;return!1},without:function(t,e){return U.filter(function(e){return e!==t},e)},remove:function(t,e){var n=U.indexOf(e,t);if(n>=0)return e.splice(n,1)},fold:function(t,e,n){for(var r,i=0;i<t.length;i++)r=t[i],e=n(e,r);return e},flatMap:function(t,e){return U.fold(e,[],function(e,n){return e.concat(t(n))})},cached:function(t){var e=nt;return function(){return("undefined"!=typeof e&&null!==e?e._isNone:void 0)&&(e=t(),t=void 0),e}},bind:function(t,e){return function(){return t.apply(e,arguments)}},isFunction:function(t){return"function"==typeof t},toString:function(t){var e,n,r,i={}.hasOwnProperty;try{return W++,null==t?"undefined":U.isFunction(t)?"function":j(t)?W>5?"[..]":"["+U.map(U.toString,t).toString()+"]":null!=(null!=t?t.toString:void 0)&&t.toString!==Object.prototype.toString?t.toString():"object"==typeof t?W>5?"{..}":(e=function(){var e=[];for(n in t)i.call(t,n)&&(r=function(){var e;try{return t[n]}catch(e){return e}}(),e.push(U.toString(n)+":"+U.toString(r)));retur
 n e}(),"{"+e+"}"):t}finally{W--}}},W=0;_._=U;var V=_.UpdateBarrier=function(){function t(t){t<=s||(a[t-1]||(a[t-1]=[[],0]),s=t)}function e(t,e){for(var n=0;n<e.length;n++)if(e[n][0].id==t.id)return!0;return!1}function n(){var e=s;if(e)for(;s>=e;){var n=a[s-1];if(!n)throw new f("Unexpected stack top: "+n);var r=n[0],i=n[1];if(!(i<r.length)){n[0]=[],n[1]=0;break}var o=r[i],u=(o[0],o[1]);n[1]++,t(s+1);var c=!1;try{for(u(),c=!0;s>e&&0==a[s-1][0].length;)s--}finally{c||(a=[],s=0)}}}var r,i=[],o={},a=[],s=0,u={},c=function(i,o){if(!r&&!a.length)return o();t(1);for(var u=0;u<s-1&&!e(i,a[u][0]);)u++;var c=a[u][0];c.push([i,o]),r||n()},l=function(t,e){if(r){var n=o[t.id];return"undefined"==typeof n||null===n?(n=o[t.id]=[e],i.push(t)):n.push(e)}return e()},p=function(){for(;i.length>0;)h(0,!0);u={}},h=function(t,e){var n=i[t],r=n.id,a=o[r];i.splice(t,1),delete o[r],e&&i.length>0&&d(n);for(var s,u=0;u<a.length;u++)(s=a[u])()},d=function(t){if(!u[t.id]){for(var e,n=t.internalDeps(),r=0;r<n.leng
 th;r++)if(e=n[r],d(e),o[e.id]){var a=U.indexOf(i,e);h(a,!1)}u[t.id]=!0}},v=function(t,e,i,o){if(r)return i.apply(e,o);r=t;try{var a=i.apply(e,o);p()}finally{r=void 0,n()}return a},y=function(){return r?r.id:void 0},b=function(t,e){var n=!1,r=!1,i=function(){return r=!0},o=function(){return n=!0,i()};return i=t.dispatcher.subscribe(function(r){return c(t,function(){if(!n){var t=e(r);if(t===_.noMore)return o()}})}),r&&i(),o},m=function(){return i.length>0};return{whenDoneWith:l,hasWaiters:m,inTransaction:v,currentEventId:y,wrappedSubscribe:b,afterTransaction:c}}();R(n.prototype,{_isSource:!0,subscribe:function(t){return this.obs.dispatcher.subscribe(t)},toString:function(){return this.obs.toString()},markEnded:function(){return this.ended=!0,!0},consume:function(){return this.lazy?{value:U.always(this.queue[0])}:this.queue[0]},push:function(t){return this.queue=[t],[t]},mayHave:function(){return!0},hasAtLeast:function(){return this.queue.length},flatten:!0}),L(r,n),R(r.prototype,{cons
 ume:function(){return this.queue.shift()},push:function(t){return this.queue.push(t)},mayHave:function(t){return!this.ended||this.queue.length>=t},hasAtLeast:function(t){return this.queue.length>=t},flatten:!1}),L(i,n),R(i.prototype,{consume:function(){var t=this.queue;return this.queue=[],{value:function(){return t}}},push:function(t){return this.queue.push(t.value())},hasAtLeast:function(){return!0}}),n.isTrigger=function(t){return(null!=t?t._isSource:void 0)?t.sync:null!=t?t._isEventStream:void 0},n.fromObservable=function(t){return(null!=t?t._isSource:void 0)?t:(null!=t?t._isProperty:void 0)?new n(t,(!1)):new r(t,(!0))},R(o.prototype,{_isDesc:!0,deps:function(){return this.cached||(this.cached=z([this.context].concat(this.args))),this.cached},toString:function(){return U.toString(this.context)+"."+U.toString(this.method)+"("+U.map(U.toString,this.args)+")"}});var B=function(t,e){var n=t||e;if(n&&n._isDesc)return t||e;for(var r=arguments.length,i=Array(r>2?r-2:0),a=2;a<r;a++)i[a-
 2]=arguments[a];return new o(t,e,i)},H=function(t,e){return e.desc=t,e},z=function(t){return j(t)?U.flatMap(z,t):A(t)?[t]:("undefined"!=typeof t&&null!==t?t._isSource:void 0)?[t.obs]:[]};_.Desc=o,_.Desc.empty=new _.Desc("","",[]);var q=function(t){return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if("object"==typeof e&&r.length){var o=e,a=r[0];e=function(){return o[a].apply(o,arguments)},r=r.slice(1)}return t.apply(void 0,[e].concat(r))}},Z=function(t){return t=Array.prototype.slice.call(t),J.apply(void 0,t)},$=function(t,e){return function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.apply(void 0,e.concat(r))}},Q=function(t){return function(e){return function(n){if("undefined"!=typeof n&&null!==n){var r=n[e];return U.isFunction(r)?r.apply(n,t):r}}}},X=function(t,e){var n=t.slice(1).split("."),r=U.map(Q(e),n);return function(t){for(var e,n=0;n<r.length;n++)e=r[n],t=e(t);return t}},Y=function(t){return"s
 tring"==typeof t&&t.length>1&&"."===t.charAt(0)},J=q(function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return U.isFunction(t)?n.length?$(t,n):t:Y(t)?X(t,n):U.always(t)}),G=function(t,e){return J.apply(void 0,[t].concat(e))},K=function(t,e,n,r){if("undefined"!=typeof e&&null!==e?e._isProperty:void 0){var i=e.sampledBy(t,function(t,e){return[t,e]});return r.call(i,function(t){var e=t[0];t[1];return e}).map(function(t){var e=(t[0],t[1]);return e})}return e=G(e,n),r.call(t,e)},tt=function(t){if(U.isFunction(t))return t;if(Y(t)){var e=et(t);return function(t,n){return t[e](n)}}throw new E("not a function or a field key: "+t)},et=function(t){return t.slice(1)};R(a.prototype,{_isSome:!0,getOrElse:function(){return this.value},get:function(){return this.value},filter:function(t){return t(this.value)?new a(this.value):nt},map:function(t){return new a(t(this.value))},forEach:function(t){return t(this.value)},isDefined:!0,toArray:function(){return[this.v
 alue]},inspect:function(){return"Some("+this.value+")"},toString:function(){return this.inspect()}});var nt={_isNone:!0,getOrElse:function(t){return t},filter:function(){return nt},map:function(){return nt},forEach:function(){},isDefined:!1,toArray:function(){return[]},inspect:function(){return"None"},toString:function(){return this.inspect()}},rt=function(t){return("undefined"!=typeof t&&null!==t?t._isSome:void 0)||("undefined"!=typeof t&&null!==t?t._isNone:void 0)?t:new a(t)};_.noMore="<no-more>",_.more="<more>";var it=0;s.prototype._isEvent=!0,s.prototype.isEvent=function(){return!0},s.prototype.isEnd=function(){return!1},s.prototype.isInitial=function(){return!1},s.prototype.isNext=function(){return!1},s.prototype.isError=function(){return!1},s.prototype.hasValue=function(){return!1},s.prototype.filter=function(){return!0},s.prototype.inspect=function(){return this.toString()},s.prototype.log=function(){return this.toString()},L(u,s),u.prototype.isNext=function(){return!0},u.pro
 totype.hasValue=function(){return!0},u.prototype.value=function(){var t;return(null!=(t=this.valueF)?t._isNext:void 0)?(this.valueInternal=this.valueF.value(),this.valueF=void 0):this.valueF&&(this.valueInternal=this.valueF(),this.valueF=void 0),this.valueInternal},u.prototype.fmap=function(t){var e,n;return this.valueInternal?(n=this.valueInternal,this.apply(function(){return t(n)})):(e=this,this.apply(function(){return t(e.value())}))},u.prototype.apply=function(t){return new u(t)},u.prototype.filter=function(t){return t(this.value())},u.prototype.toString=function(){return U.toString(this.value())},u.prototype.log=function(){return this.value()},u.prototype._isNext=!0,L(c,u),c.prototype._isInitial=!0,c.prototype.isInitial=function(){return!0},c.prototype.isNext=function(){return!1},c.prototype.apply=function(t){return new c(t)},c.prototype.toNext=function(){return new u(this)},L(l,s),l.prototype.isEnd=function(){return!0},l.prototype.fmap=function(){return this},l.prototype.apply
 =function(){return this},l.prototype.toString=function(){return"<end>"},L(f,s),f.prototype.isError=function(){return!0},f.prototype.fmap=function(){return this},f.prototype.apply=function(){return this},f.prototype.toString=function(){return"<error> "+U.toString(this.error)},_.Event=s,_.Initial=c,_.Next=u,_.End=l,_.Error=f;var ot=function(t){return new c(t,(!0))},at=function(t){return new u(t,(!0))},st=function(){return new l},ut=function(t){return t&&t._isEvent?t:at(t)},ct=0,lt=function(){};R(p.prototype,{_isObservable:!0,subscribe:function(t){return V.wrappedSubscribe(this,t)},subscribeInternal:function(t){return this.dispatcher.subscribe(t)},onValue:function(){var t=Z(arguments);return this.subscribe(function(e){if(e.hasValue())return t(e.value())})},onValues:function(t){return this.onValue(function(e){return t.apply(void 0,e)})},onError:function(){var t=Z(arguments);return this.subscribe(function(e){if(e.isError())return t(e.error)})},onEnd:function(){var t=Z(arguments);return t
 his.subscribe(function(e){if(e.isEnd())return t()})},name:function(t){return this._name=t,this},withDescription:function(){return this.desc=B.apply(void 0,arguments),this},toString:function(){return this._name?this._name:this.desc.toString()},deps:function(){return this.desc.deps()},internalDeps:function(){return this.initialDesc.deps()}}),p.prototype.assign=p.prototype.onValue,p.prototype.forEach=p.prototype.onValue,p.prototype.inspect=p.prototype.toString,_.Observable=p,R(h.prototype,{add:function(t){var e=this;if(!this.unsubscribed){var n=!1,r=C;this.starting.push(t);var i=function(){if(!e.unsubscribed)return n=!0,e.remove(r),U.remove(t,e.starting)};return r=t(this.unsubscribe,i),this.unsubscribed||n?r():this.subscriptions.push(r),U.remove(t,this.starting),r}},remove:function(t){if(!this.unsubscribed)return void 0!==U.remove(t,this.subscriptions)?t():void 0},unsubscribe:function(){if(!this.unsubscribed){this.unsubscribed=!0;for(var t=this.subscriptions,e=0;e<t.length;e++)t[e]();r
 eturn this.subscriptions=[],this.starting=[],[]}},count:function(){return this.unsubscribed?0:this.subscriptions.length+this.starting.length},empty:function(){return 0===this.count()}}),_.CompositeUnsubscribe=h,d.prototype.hasSubscribers=function(){return this.subscriptions.length>0},d.prototype.removeSub=function(t){return this.subscriptions=U.without(t,this.subscriptions),this.subscriptions},d.prototype.push=function(t){return t.isEnd()&&(this.ended=!0),V.inTransaction(t,this,this.pushIt,[t])},d.prototype.pushToSubscriptions=function(t){try{for(var e=this.subscriptions,n=e.length,r=0;r<n;r++){var i=e[r],o=i.sink(t);(o===_.noMore||t.isEnd())&&this.removeSub(i)}return!0}catch(a){throw this.pushing=!1,this.queue=[],a}},d.prototype.pushIt=function(t){if(this.pushing)return this.queue.push(t),_.more;if(t!==this.prevError){for(t.isError()&&(this.prevError=t),this.pushing=!0,this.pushToSubscriptions(t),this.pushing=!1;this.queue.length;)t=this.queue.shift(),this.push(t);return this.hasSu
 bscribers()?_.more:(this.unsubscribeFromSource(),_.noMore)}},d.prototype.handleEvent=function(t){return this._handleEvent?this._handleEvent(t):this.push(t)},d.prototype.unsubscribeFromSource=function(){this.unsubSrc&&this.unsubSrc(),this.unsubSrc=void 0},d.prototype.subscribe=function(t){var e;return this.ended?(t(st()),C):(P(t),e={sink:t},this.subscriptions.push(e),1===this.subscriptions.length&&(this.unsubSrc=this._subscribe(this.handleEvent),P(this.unsubSrc)),function(t){return function(){if(t.removeSub(e),!t.hasSubscribers())return t.unsubscribeFromSource()}}(this))},_.Dispatcher=d,L(v,p),R(v.prototype,{_isEventStream:!0,toProperty:function(t){var e=0===arguments.length?nt:rt(function(){return t}),n=this.dispatcher,r=new _.Desc(this,"toProperty",[t]);return new b(r,function(t){var r=!1,i=!1,o=C,s=_.more,u=function(){if(!r)return e.forEach(function(e){if(r=!0,s=t(new c(e)),s===_.noMore)return o(),o=C,C})};return o=n.subscribe(function(n){return n.hasValue()?n.isInitial()&&!i?(e=n
 ew a(function(){return n.value()}),_.more):(n.isInitial()||u(),r=!0,e=new a(n),t(n)):(n.isEnd()&&(s=u()),s!==_.noMore?t(n):void 0)}),i=!0,u(),o})},toEventStream:function(){return this},withHandler:function(t){return new v(new _.Desc(this,"withHandler",[t]),this.dispatcher.subscribe,t)}}),_.EventStream=v,_.never=function(){return new v(B(_,"never"),function(t){return t(st()),C})},_.when=function(){if(0===arguments.length)return _.never();var t=arguments.length,e="when: expecting arguments in the form (Observable+,function)+";O(e,t%2===0);for(var r=[],i=[],o=0,a=[];o<t;){a[o]=arguments[o],a[o+1]=arguments[o+1];for(var s,u=U.toArray(arguments[o]),c=pt(arguments[o+1]),l={f:c,ixs:[]},f=!1,p=0;p<u.length;p++){s=u[p];var h=U.indexOf(r,s);f||(f=n.isTrigger(s)),h<0&&(r.push(s),h=r.length-1);for(var d,y=0;y<l.ixs.length;y++)d=l.ixs[y],d.index===h&&d.count++;l.ixs.push({index:h,count:1})}O("At least one EventStream required",f||!u.length),u.length>0&&i.push(l),o+=2}if(!r.length)return _.never(
 );r=U.map(n.fromObservable,r);var b=U.any(r,function(t){return t.flatten})&&ft(U.map(function(t){return t.obs},r)),m=new _.Desc(_,"when",a),g=new v(m,function(t){var e=[],n=!1,o=function(t){for(var e,n=0;n<t.ixs.length;n++)if(e=t.ixs[n],!r[e.index].hasAtLeast(e.count))return!1;return!0},a=function(t){return!t.sync||t.ended},s=function(t){for(var e,n=0;n<t.ixs.length;n++)if(e=t.ixs[n],!r[e.index].mayHave(e.count))return!0},u=function(t){return!t.source.flatten},c=function(c){return function(l){var f=function(){return V.whenDoneWith(g,h)},p=function(){if(!(e.length>0))return _.more;for(var n,a=_.more,s=e.pop(),c=0;c<i.length;c++)if(n=i[c],o(n)){var l=function(){for(var t,e=[],i=0;i<n.ixs.length;i++)t=n.ixs[i],e.push(r[t.index].consume());return e}();return a=t(s.e.apply(function(){var t,e=function(){for(var t,e=[],n=0;n<l.length;n++)t=l[n],e.push(t.value());return e}();return(t=n).f.apply(t,e)})),e.length&&(e=U.filter(u,e)),a===_.noMore?a:p()}},h=function(){var e=p();return n&&(U.all(
 r,a)||U.all(i,s))&&(e=_.noMore,t(st())),e===_.noMore&&l(),e};return c.subscribe(function(r){if(r.isEnd())n=!0,c.markEnded(),f();else if(r.isError())var i=t(r);else c.push(r),c.sync&&(e.push({source:c,e:r}),b||V.hasWaiters()?f():h());return i===_.noMore&&l(),i||_.more})}};return new _.CompositeUnsubscribe(function(){for(var t,e=[],n=0;n<r.length;n++)t=r[n],e.push(c(t));return e}()).unsubscribe});return g};var ft=function(t){var e=arguments.length<=1||void 0===arguments[1]?[]:arguments[1],n=function(t){if(U.contains(e,t))return!0;var r=t.internalDeps();return r.length?(e.push(t),U.any(r,n)):(e.push(t),!1)};return U.any(t,n)},pt=function(t){return U.isFunction(t)?t:U.always(t)};_.groupSimultaneous=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];1===e.length&&j(e[0])&&(e=e[0]);var r=function(){for(var t,n=[],r=0;r<e.length;r++)t=e[r],n.push(new i(t));return n}();return H(new _.Desc(_,"groupSimultaneous",e),_.when(r,function(){for(var t=arguments.length,e=A
 rray(t),n=0;n<t;n++)e[n]=arguments[n];return e}))},L(y,d),R(y.prototype,{push:function(t){return t.isEnd()&&(this.propertyEnded=!0),t.hasValue()&&(this.current=new a(t),this.currentValueRootId=V.currentEventId()),d.prototype.push.call(this,t)},maybeSubSource:function(t,e){return e===_.noMore?C:this.propertyEnded?(t(st()),C):d.prototype.subscribe.call(this,t)},subscribe:function(t){var e=this,n=_.more;if(this.current.isDefined&&(this.hasSubscribers()||this.propertyEnded)){var r=V.currentEventId(),i=this.currentValueRootId;return!this.propertyEnded&&i&&r&&r!==i?(V.whenDoneWith(this.property,function(){if(e.currentValueRootId===i)return t(ot(e.current.get().value()))}),this.maybeSubSource(t,n)):(V.inTransaction(void 0,this,function(){return n=t(ot(this.current.get().value()))},[]),this.maybeSubSource(t,n))}return this.maybeSubSource(t,n)}}),L(b,p),R(b.prototype,{_isProperty:!0,changes:function(){var t=this;return new v(new _.Desc(this,"changes",[]),function(e){return t.dispatcher.subsc
 ribe(function(t){if(!t.isInitial())return e(t)})})},withHandler:function(t){return new b(new _.Desc(this,"withHandler",[t]),this.dispatcher.subscribe,t)},toProperty:function(){return M(arguments),this},toEventStream:function(){var t=this;return new v(new _.Desc(this,"toEventStream",[]),function(e){return t.dispatcher.subscribe(function(t){return t.isInitial()&&(t=t.toNext()),e(t)})})}}),_.Property=b,_.constant=function(t){return new b(new _.Desc(_,"constant",[t]),function(e){return e(ot(t)),e(st()),C})},_.fromBinder=function(t){var e=arguments.length<=1||void 0===arguments[1]?U.id:arguments[1],n=new _.Desc(_,"fromBinder",[t,e]);return new v(n,function(n){var r=!1,i=!1,o=function(){if(!r)return"undefined"!=typeof a&&null!==a?(a(),r=!0):i=!0},a=t(function(){for(var t,r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];var s=e.apply(this,i);j(s)&&(null!=(t=U.last(s))?t._isEvent:void 0)||(s=[s]);for(var u,c=_.more,l=0;l<s.length;l++)if(u=s[l],c=n(u=ut(u)),c===_.noMore||u.isEnd()
 )return o(),c;return c});return i&&o(),o})},_.Observable.prototype.map=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return K(this,t,n,function(t){return H(new _.Desc(this,"map",[t]),this.withHandler(function(e){return this.push(e.fmap(t))}))})};var ht=function(t){return j(t[0])?t[0]:Array.prototype.slice.call(t)},dt=function(t){return U.isFunction(t[0])?[ht(Array.prototype.slice.call(t,1)),t[0]]:[ht(Array.prototype.slice.call(t,0,t.length-1)),U.last(t)]};_.combineAsArray=function(){var t=ht(arguments);if(t.length){for(var e=[],r=0;r<t.length;r++){var i=A(t[r])?t[r]:_.constant(t[r]);e.push(new n(i,(!0)))}return H(new _.Desc(_,"combineAsArray",t),_.when(e,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e}).toProperty())}return _.constant([])},_.onValues=function(){return _.combineAsArray(Array.prototype.slice.call(arguments,0,arguments.length-1)).onValues(arguments[arguments.length-1])},_.combineWith=fu
 nction(){var t=dt(arguments),e=t[0],n=t[1],r=new _.Desc(_,"combineWith",[n].concat(e));return H(r,_.combineAsArray(e).map(function(t){return n.apply(void 0,t)}))},_.Observable.prototype.combine=function(t,e){var n=tt(e),r=new _.Desc(this,"combine",[t,e]);return H(r,_.combineAsArray(this,t).map(function(t){return n(t[0],t[1])}))},_.Observable.prototype.withStateMachine=function(t,e){var n=t,r=new _.Desc(this,"withStateMachine",[t,e]);return H(r,this.withHandler(function(t){var r=e(n,t),i=r[0],o=r[1];n=i;for(var a,s=_.more,u=0;u<o.length;u++)if(a=o[u],s=this.push(a),s===_.noMore)return s;return s}))};var vt=function(t,e){return t===e},yt=function(t){return"undefined"!=typeof t&&null!==t&&t._isNone};_.Observable.prototype.skipDuplicates=function(){var t=arguments.length<=0||void 0===arguments[0]?vt:arguments[0],e=new _.Desc(this,"skipDuplicates",[]);return H(e,this.withStateMachine(nt,function(e,n){return n.hasValue()?n.isInitial()||yt(e)||!t(e.get(),n.value())?[new a(n.value()),[n]]:[
 e,[]]:[e,[n]]}))},_.Observable.prototype.awaiting=function(t){var e=new _.Desc(this,"awaiting",[t]);return H(e,_.groupSimultaneous(this,t).map(function(t){return 0===t[1].length}).toProperty(!1).skipDuplicates())},_.Observable.prototype.not=function(){return H(new _.Desc(this,"not",[]),this.map(function(t){return!t}))},_.Property.prototype.and=function(t){return H(new _.Desc(this,"and",[t]),this.combine(t,function(t,e){return t&&e}))},_.Property.prototype.or=function(t){return H(new _.Desc(this,"or",[t]),this.combine(t,function(t,e){return t||e}))},_.scheduler={setTimeout:function(t,e){return setTimeout(t,e)},setInterval:function(t,e){return setInterval(t,e)},clearInterval:function(t){return clearInterval(t)},clearTimeout:function(t){return clearTimeout(t)},now:function(){return(new Date).getTime()}},_.EventStream.prototype.bufferWithTime=function(t){return H(new _.Desc(this,"bufferWithTime",[t]),this.bufferWithTimeOrCount(t,Number.MAX_VALUE))},_.EventStream.prototype.bufferWithCoun
 t=function(t){return H(new _.Desc(this,"bufferWithCount",[t]),this.bufferWithTimeOrCount(void 0,t))},_.EventStream.prototype.bufferWithTimeOrCount=function(t,e){var n=function(n){return n.values.length===e?n.flush():void 0!==t?n.schedule():void 0},r=new _.Desc(this,"bufferWithTimeOrCount",[t,e]);return H(r,this.buffer(t,n,n))},_.EventStream.prototype.buffer=function(t){var e=arguments.length<=1||void 0===arguments[1]?C:arguments[1],n=arguments.length<=2||void 0===arguments[2]?C:arguments[2],r={scheduled:null,end:void 0,values:[],flush:function(){if(this.scheduled&&(_.scheduler.clearTimeout(this.scheduled),this.scheduled=null),this.values.length>0){var t=this.values;this.values=[];var e=this.push(at(t));if(null!=this.end)return this.push(this.end);if(e!==_.noMore)return n(this)}else if(null!=this.end)return this.push(this.end)},schedule:function(){var e=this;if(!this.scheduled)return this.scheduled=t(function(){return e.flush()})}},i=_.more;if(!U.isFunction(t)){var o=t;t=function(t){
 return _.scheduler.setTimeout(t,o)}}return H(new _.Desc(this,"buffer",[]),this.withHandler(function(t){var n=this;return r.push=function(t){return n.push(t)},t.isError()?i=this.push(t):t.isEnd()?(r.end=t,r.scheduled||r.flush()):(r.values.push(t.value()),e(r)),i}))},_.Observable.prototype.filter=function(t){D(t);for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return K(this,t,n,function(t){return H(new _.Desc(this,"filter",[t]),this.withHandler(function(e){return e.filter(t)?this.push(e):_.more}))})},_.once=function(t){return new v(new o(_,"once",[t]),function(e){return e(ut(t)),e(st()),C})},_.EventStream.prototype.concat=function(t){var e=this;return new v(new _.Desc(e,"concat",[t]),function(n){var r=C,i=e.dispatcher.subscribe(function(e){return e.isEnd()?r=t.toEventStream().dispatcher.subscribe(n):n(e)});return function(){return i(),r()}})},_.Property.prototype.concat=function(t){return bt(this,this.changes().concat(t))},_.concatAll=function(){var t=ht(
 arguments);return t.length?H(new _.Desc(_,"concatAll",t),U.fold(U.tail(t),U.head(t).toEventStream(),function(t,e){return t.concat(e)})):_.never()};var bt=function(t,e){var n=new v(B(t,"justInitValue"),function(e){var r=void 0,i=t.dispatcher.subscribe(function(t){return t.isEnd()||(r=t),_.noMore});return V.whenDoneWith(n,function(){return"undefined"!=typeof r&&null!==r&&e(r),e(st())}),i});return n.concat(e).toProperty()};_.Observable.prototype.flatMap=function(){return wt(this,mt(arguments))},_.Observable.prototype.flatMapFirst=function(){return wt(this,mt(arguments),!0)};var mt=function(t){return 1===t.length&&A(t[0])?U.always(t[0]):Z(t)},gt=function(t){return A(t)?t:_.once(t)},wt=function(t,e,n,r){var i=[t],o=[],a=new _.Desc(t,"flatMap"+(n?"First":""),[e]),s=new v(a,function(i){var a=new h,s=[],u=function(t){var n=gt(e(t.value()));return o.push(n),a.add(function(t,e){return n.dispatcher.subscribe(function(r){if(r.isEnd())return U.remove(n,o),c(),l(e),_.noMore;("undefined"!=typeof r
 &&null!==r?r._isInitial:void 0)&&(r=r.toNext());var a=i(r);return a===_.noMore&&t(),a})})},c=function(){var t=s.shift();if(t)return u(t)},l=function(t){if(t(),a.empty())return i(st())};return a.add(function(e,o){return t.dispatcher.subscribe(function(t){return t.isEnd()?l(o):t.isError()?i(t):n&&a.count()>1?_.more:a.unsubscribed?_.noMore:r&&a.count()>r?s.push(t):u(t)})}),a.unsubscribe});return s.internalDeps=function(){return o.length?i.concat(o):i},s};_.Observable.prototype.flatMapWithConcurrencyLimit=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=new _.Desc(this,"flatMapWithConcurrencyLimit",[t].concat(n));return H(i,wt(this,mt(n),!1,t))},_.Observable.prototype.flatMapConcat=function(){var t=new _.Desc(this,"flatMapConcat",Array.prototype.slice.call(arguments,0));return H(t,this.flatMapWithConcurrencyLimit.apply(this,[1].concat(x.call(arguments))))},_.later=function(t,e){return H(new _.Desc(_,"later",[t,e]),_.fromBinder(function(n){v
 ar r=function(){return n([e,st()])},i=_.scheduler.setTimeout(r,t);return function(){return _.scheduler.clearTimeout(i)}}))},_.Observable.prototype.bufferingThrottle=function(t){var e=new _.Desc(this,"bufferingThrottle",[t]);return H(e,this.flatMapConcat(function(e){return _.once(e).concat(_.later(t).filter(!1))}))},_.Property.prototype.bufferingThrottle=function(){return _.Observable.prototype.bufferingThrottle.apply(this,arguments).toProperty()},L(m,v),R(m.prototype,{unsubAll:function(){for(var t,e=this.subscriptions,n=0;n<e.length;n++)t=e[n],"function"==typeof t.unsub&&t.unsub()},subscribeAll:function(t){if(this.ended)t(st());else{this.sink=t;for(var e,n=k(this.subscriptions),r=0;r<n.length;r++)e=n[r],this.subscribeInput(e)}return this.unsubAll},guardedSink:function(t){var e=this;return function(n){return n.isEnd()?(e.unsubscribeInput(t),_.noMore):e.sink(n)}},subscribeInput:function(t){return t.unsub=t.input.dispatcher.subscribe(this.guardedSink(t.input)),t.unsub},unsubscribeInput
 :function(t){for(var e,n=this.subscriptions,r=0;r<n.length;r++)if(e=n[r],e.input===t)return"function"==typeof e.unsub&&e.unsub(),void this.subscriptions.splice(r,1)},plug:function(t){var e=this;if(N(t),!this.ended){var n={input:t};return this.subscriptions.push(n),"undefined"!=typeof this.sink&&this.subscribeInput(n),function(){return e.unsubscribeInput(t)}}},end:function(){if(this.ended=!0,this.unsubAll(),"function"==typeof this.sink)return this.sink(st())},push:function(t){if(!this.ended&&"function"==typeof this.sink){var e=!this.pushing;if(!e)return this.pushQueue||(this.pushQueue=[]),void this.pushQueue.push(t);this.pushing=!0;try{return this.sink(at(t))}finally{if(e&&this.pushQueue){for(var n=0;n<this.pushQueue.length;){var t=this.pushQueue[n];this.sink(at(t)),n++}this.pushQueue=null}this.pushing=!1}}},error:function(t){if("function"==typeof this.sink)return this.sink(new f(t))}}),_.Bus=m;var xt=function(t,e){return q(function(n){for(var r=$(e,[function(t,e){return n.apply(void
  0,t.concat([e]))}]),i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return H(new _.Desc(_,t,[n].concat(o)),_.combineAsArray(o).flatMap(r))})};_.fromCallback=xt("fromCallback",function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return _.fromBinder(function(e){return G(t,n)(e),C},function(t){return[t,st()]})}),_.fromNodeCallback=xt("fromNodeCallback",function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return _.fromBinder(function(e){return G(t,n)(e),C},function(t,e){return t?[new f(t),st()]:[e,st()]})}),_.combineTemplate=function(t){function e(t){return t[t.length-1]}function n(t,n,r){return e(t)[n]=r,r}function r(t,e){return function(r,i){n(r,t,i[e])}}function i(t,e){return function(r){n(r,t,e)}}function o(t){return j(t)?[]:{}}function a(t,e){return function(r){var i=o(e);n(r,t,i),r.push(i)}}function s(t){if(A(t))return!0;if(t&&(t.constructor==Object||t.constructor==Array))for(var e in 
 t)if(Object.prototype.hasOwnProperty.call(t,e)){var n=t[e];if(s(n))return!0}}function u(t,e){if(A(e))p.push(e),
 f.push(r(t,p.length-1));else if(s(e)){var n=function(t){t.pop()};f.push(a(t,e)),l(e),f.push(n)}else f.push(i(t,e))}function c(e){for(var n,r=o(t),i=[r],a=0;a<f.length;a++)(n=f[a])(i,e);return r}function l(t){U.each(t,u)}var f=[],p=[],h=s(t)?(l(t),_.combineAsArray(p).map(c)):_.constant(t);return H(new _.Desc(_,"combineTemplate",[t]),h)},_.Observable.prototype.mapEnd=function(){var t=Z(arguments);return H(new _.Desc(this,"mapEnd",[t]),this.withHandler(function(e){return e.isEnd()?(this.push(at(t(e))),this.push(st()),_.noMore):this.push(e)}))},_.Observable.prototype.skipErrors=function(){return H(new _.Desc(this,"skipErrors",[]),this.withHandler(function(t){return t.isError()?_.more:this.push(t)}))},_.EventStream.prototype.takeUntil=function(t){var e={};return H(new _.Desc(this,"takeUntil",[t]),_.groupSimultaneous(this.mapEnd(e),t.skipErrors()).withHandler(function(t){if(t.hasValue()){var n=t.value(),r=n[0],i=n[1];if(i.length)return this.push(st());for(var o,a=_.more,s=0;s<r.length;s++
 )o=r[s],a=o===e?this.push(st()):this.push(at(o));return a}return this.push(t)}))},_.Property.prototype.takeUntil=function(t){var e=this.changes().takeUntil(t);return H(new _.Desc(this,"takeUntil",[t]),bt(this,e))},_.Observable.prototype.flatMapLatest=function(){var t=mt(arguments),e=this.toEventStream();return H(new _.Desc(this,"flatMapLatest",[t]),e.flatMap(function(n){return gt(t(n)).takeUntil(e)}))},_.Property.prototype.delayChanges=function(t,e){return H(t,bt(this,e(this.changes())))},_.EventStream.prototype.delayChanges=function(t,e){return H(t,e(this))},_.Observable.prototype.delay=function(t){return this.delayChanges(new _.Desc(this,"delay",[t]),function(e){return e.flatMap(function(e){return _.later(t,e)})})},_.Observable.prototype.debounce=function(t){return this.delayChanges(new _.Desc(this,"debounce",[t]),function(e){return e.flatMapLatest(function(e){return _.later(t,e)})})},_.Observable.prototype.debounceImmediate=function(t){return this.delayChanges(new _.Desc(this,"de
 bounceImmediate",[t]),function(e){return e.flatMapFirst(function(e){return _.once(e).concat(_.later(t).filter(!1))})})},_.Observable.prototype.decode=function(t){return H(new _.Desc(this,"decode",[t]),this.combine(_.combineTemplate(t),function(t,e){return e[t]}))},_.Observable.prototype.scan=function(t,e){var n,r=this;e=tt(e);var i=rt(t),o=!1,s=function(t){var s=!1,u=C,l=_.more,f=function(){if(!s)return i.forEach(function(e){if(s=o=!0,l=t(new c(function(){return e})),l===_.noMore)return u(),u=C})};return u=r.dispatcher.subscribe(function(n){if(n.hasValue()){if(o&&n.isInitial())return _.more;n.isInitial()||f(),s=o=!0;var r=i.getOrElse(void 0),u=e(r,n.value());return i=new a(u),t(n.apply(function(){return u}))}if(n.isEnd()&&(l=f()),l!==_.noMore)return t(n)}),V.whenDoneWith(n,f),u};return n=new b(new _.Desc(this,"scan",[t,e]),s)},_.Observable.prototype.diff=function(t,e){return e=tt(e),H(new _.Desc(this,"diff",[t,e]),this.scan([t],function(t,n){return[n,e(t[0],n)]}).filter(function(t){
 return 2===t.length}).map(function(t){return t[1]}))},_.Observable.prototype.doAction=function(){var t=Z(arguments);return H(new _.Desc(this,"doAction",[t]),this.withHandler(function(e){return e.hasValue()&&t(e.value()),this.push(e)}))},_.Observable.prototype.doEnd=function(){var t=Z(arguments);return H(new _.Desc(this,"doEnd",[t]),this.withHandler(function(e){return e.isEnd()&&t(),this.push(e)}))},_.Observable.prototype.doError=function(){var t=Z(arguments);return H(new _.Desc(this,"doError",[t]),this.withHandler(function(e){return e.isError()&&t(e.error),this.push(e)}))},_.Observable.prototype.doLog=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return H(new _.Desc(this,"doLog",e),this.withHandler(function(t){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log&&console.log.apply(console,e.concat([t.log()])),this.push(t)}))},_.Observable.prototype.endOnError=function(t){"undefined"!=typeof t&&null!==t||(t=!0);for(var e=a
 rguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return K(this,t,n,function(t){return H(new _.Desc(this,"endOnError",[]),this.withHandler(function(e){return e.isError()&&t(e.error)?(this.push(e),this.push(st())):this.push(e)}))})},p.prototype.errors=function(){return H(new _.Desc(this,"errors",[]),this.filter(function(){return!1}))},_.Observable.prototype.take=function(t){return t<=0?_.never():H(new _.Desc(this,"take",[t]),this.withHandler(function(e){return e.hasValue()?(t--,t>0?this.push(e):(0===t&&this.push(e),this.push(st()),_.noMore)):this.push(e)}))},_.Observable.prototype.first=function(){return H(new _.Desc(this,"first",[]),this.take(1))},_.Observable.prototype.mapError=function(){var t=Z(arguments);return H(new _.Desc(this,"mapError",[t]),this.withHandler(function(e){return e.isError()?this.push(at(t(e.error))):this.push(e)}))},_.Observable.prototype.flatMapError=function(t){var e=new _.Desc(this,"flatMapError",[t]);return H(e,this.mapError(function(t){ret
 urn new f(t)}).flatMap(function(e){return e instanceof f?t(e.error):_.once(e)}))},_.EventStream.prototype.flatScan=function(t,e){var n=t;return this.flatMapConcat(function(t){return gt(e(n,t)).doAction(function(t){return n=t})}).toProperty(t)},_.EventStream.prototype.sampledBy=function(t,e){return H(new _.Desc(this,"sampledBy",[t,e]),this.toProperty().sampledBy(t,e))},_.Property.prototype.sampledBy=function(t,e){var r=!1;"undefined"!=typeof e&&null!==e?e=tt(e):(r=!0,e=function(t){return t.value()});var i=new n(this,(!1),r),o=new n(t,(!0),r),a=_.when([i,o],e),s=t._isProperty?a.toProperty():a;return H(new _.Desc(this,"sampledBy",[t,e]),s)},_.Property.prototype.sample=function(t){return H(new _.Desc(this,"sample",[t]),this.sampledBy(_.interval(t,{})))},_.Observable.prototype.map=function(t){if(t&&t._isProperty)return t.sampledBy(this,S);for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return K(this,t,n,function(t){return H(new _.Desc(this,"map",[t]),this.wi
 thHandler(function(e){return this.push(e.fmap(t))}))})},_.Observable.prototype.fold=function(t,e){return H(new _.Desc(this,"fold",[t,e]),this.scan(t,e).sampledBy(this.filter(!1).mapEnd().toProperty()))},p.prototype.reduce=p.prototype.fold;var _t=[["addEventListener","removeEventListener"],["addListener","removeListener"],["on","off"],["bind","unbind"]],Et=function(t){for(var e,n=0;n<_t.length;n++){e=_t[n];var r=[t[e[0]],t[e[1]]];if(r[0]&&r[1])return r}for(var i=0;i<_t.length;i++){e=_t[i];var o=t[e[0]];if(o)return[o,function(){}]}throw new f("No suitable event methods in "+t)};_.fromEventTarget=function(t,e,n){var r=Et(t),i=r[0],o=r[1],a=new _.Desc(_,"fromEvent",[t,e]);return H(a,_.fromBinder(function(n){return i.call(t,e,n),function(){return o.call(t,e,n)}},n))},_.fromEvent=_.fromEventTarget,_.fromPoll=function(t,e){var n=new _.Desc(_,"fromPoll",[t,e]);return H(n,_.fromBinder(function(e){var n=_.scheduler.setInterval(e,t);return function(){return _.scheduler.clearInterval(n)}},e))},
 _.fromPromise=function(t,e){var n=arguments.length<=2||void 0===arguments[2]?g:arguments[2];return H(new _.Desc(_,"fromPromise",[t]),_.fromBinder(function(n){var r=t.then(n,function(t){return n(new f(t))});return r&&"function"==typeof r.done&&r.done(),e?function(){if("function"==typeof t.abort)return t.abort()}:function(){}},n))},_.Observable.prototype.groupBy=function(t){var e=arguments.length<=1||void 0===arguments[1]?_._.id:arguments[1],n={},r=this;return r.filter(function(e){return!n[t(e)]}).map(function(i){var o=t(i),a=r.filter(function(e){return t(e)===o}),s=_.once(i).concat(a),u=e(s,i).withHandler(function(t){if(this.push(t),t.isEnd())return delete n[o]});return n[o]=u,u})},_.fromArray=function(t){if(I(t),t.length){var e=0,n=new v(new _.Desc(_,"fromArray",[t]),function(r){function i(){if(u=!0,!s){for(s=!0;u;)if(u=!1,a!==_.noMore&&!o){var c=t[e++];a=r(ut(c)),a!==_.noMore&&(e===t.length?r(st()):V.afterTransaction(n,i))}return s=!1}}var o=!1,a=_.more,s=!1,u=!1;return i(),functio
 n(){return o=!0}});return n}return H(new _.Desc(_,"fromArray",t),_.never())},_.EventStream.prototype.holdWhen=function(t){var e=!1,n=[],r=this,i=!1;return new v(new _.Desc(this,"holdWhen",[t]),function(o){var a=new h,s=!1,u=function(t){if("function"==typeof t&&t(),a.empty()&&s)return o(st())};return a.add(function(r,a){return t.subscribeInternal(function(t){if(!t.hasValue())return t.isEnd()?u(a):o(t);if(e=t.value(),!e){var r=n;return n=[],function(){for(var t,e=[],n=0;n<r.length;n++)t=r[n],e.push(o(at(t)));return i&&(e.push(o(st())),a()),e}()}})}),a.add(function(t,a){return r.subscribeInternal(function(t){return e&&t.hasValue()?n.push(t.value()):t.isEnd()&&n.length?(i=!0,u(a)):o(t)})}),s=!0,u(),a.unsubscribe})},_.interval=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return H(new _.Desc(_,"interval",[t,e]),_.fromPoll(t,function(){return at(e)}))},_.$={},_.$.asEventStream=function(t,e,n){var r=this;return U.isFunction(e)&&(n=e,e=void 0),H(new _.Desc(thi
 s.selector||this,"asEventStream",[t]),_.fromBinder(function(n){return r.on(t,e,n),function(){return r.off(t,e,n)}},n))},"undefined"!=typeof jQuery&&jQuery&&(jQuery.fn.asEventStream=_.$.asEventStream),"undefined"!=typeof Zepto&&Zepto&&(Zepto.fn.asEventStream=_.$.asEventStream),_.Observable.prototype.last=function(){var t;return H(new _.Desc(this,"last",[]),this.withHandler(function(e){return e.isEnd()?(t&&this.push(t),this.push(st()),_.noMore):void(t=e)}))},_.Observable.prototype.log=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.subscribe(function(t){"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,e.concat([t.log()]))}),this},_.EventStream.prototype.merge=function(t){T(t);var e=this;return H(new _.Desc(e,"merge",[t]),_.mergeAll(this,t))},_.mergeAll=function(){var t=ht(arguments);return t.length?new v(new _.Desc(_,"mergeAll",t),function(e){var n=0,r=function(r){return function(i){return r.dispatcher.su
 bscribe(function(r){if(r.isEnd())return n++,n===t.length?e(st()):_.more;var o=e(r);return o===_.noMore&&i(),o})}},i=U.map(r,t);return new _.CompositeUnsubscribe(i).unsubscribe}):_.never()},_.repeatedly=function(t,e){var n=0;return H(new _.Desc(_,"repeatedly",[t,e]),_.fromPoll(t,function(){return e[n++%e.length]}))},_.repeat=function(t){var e=0;return _.fromBinder(function(n){function r(t){return t.isEnd()?o?i():o=!0:a=n(t)}function i(){var i;for(o=!0;o&&a!==_.noMore;)i=t(e++),o=!1,i?s=i.subscribeInternal(r):n(st());return o=!0}var o=!1,a=_.more,s=function(){};return i(),function(){return s()}})},_.retry=function(t){if(!U.isFunction(t.source))throw new E("'source' option has to be a function");var e=t.source,n=t.retries||0,r=0,i=t.delay||function(){return 0},o=t.isRetryable||function(){return!0},a=!1,s=null;return H(new _.Desc(_,"retry",[t]),_.repeat(function(t){function u(){return e(t).endOnError().withHandler(function(t){return t.isError()?(s=t,o(s.error)&&(0===n||r<n)?void 0:(a=!0
 ,this.push(t))):(t.hasValue()&&(s=null,a=!0),this.push(t))})}if(a)return null;if(s){var c={error:s.error,retriesDone:r},l=_.later(i(c)).filter(!1);return r++,l.concat(_.once().flatMap(u))}return u()}))},_.sequentially=function(t,e){var n=0;return H(new _.Desc(_,"sequentially",[t,e]),_.fromPoll(t,function(){var t=e[n++];return n<e.length?t:n===e.length?[t,st()]:st()}))},_.Observable.prototype.skip=function(t){return H(new _.Desc(this,"skip",[t]),this.withHandler(function(e){return e.hasValue()&&t>0?(t--,_.more):this.push(e)}))},_.EventStream.prototype.skipUntil=function(t){var e=t.take(1).map(!0).toProperty(!1);return H(new _.Desc(this,"skipUntil",[t]),this.filter(e))},_.EventStream.prototype.skipWhile=function(t){D(t);for(var e=!1,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return K(this,t,r,function(t){return H(new _.Desc(this,"skipWhile",[t]),this.withHandler(function(n){return!e&&n.hasValue()&&t(n.value())?_.more:(n.hasValue()&&(e=!0),this.push(n))}))})}
 ,_.Observable.prototype.slidingWindow=function(t){var e=arguments.length<=1||void 0===arguments[1]?0:arguments[1];return H(new _.Desc(this,"slidingWindow",[t,e]),this.scan([],function(e,n){return e.concat([n]).slice(-t)}).filter(function(t){return t.length>=e}))};var Ct=[],lt=function(t){if(Ct.length&&!lt.running)try{lt.running=!0,Ct.forEach(function(e){e(t)})}finally{delete lt.running}};_.spy=function(t){return Ct.push(t)},_.Property.prototype.startWith=function(t){return H(new _.Desc(this,"startWith",[t]),this.scan(t,function(t,e){return e}))},_.EventStream.prototype.startWith=function(t){return H(new _.Desc(this,"startWith",[t]),_.once(t).concat(this))},_.Observable.prototype.takeWhile=function(t){D(t);for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return K(this,t,n,function(t){return H(new _.Desc(this,"takeWhile",[t]),this.withHandler(function(e){return e.filter(t)?this.push(e):(this.push(st()),_.noMore)}))})},_.Observable.prototype.throttle=functi
 on(t){return this.delayChanges(new _.Desc(this,"throttle",[t]),function(e){return e.bufferWithTime(t).map(function(t){return t[t.length-1]})})},p.prototype.firstToPromise=function(t){var e=this;if("function"!=typeof t){if("function"!=typeof Promise)throw new E("There isn't default Promise, use shim or parameter");t=Promise}return new t(function(t,n){return e.subscribe(function(e){return e.hasValue()&&t(e.value()),e.isError()&&n(e.error),_.noMore})})},p.prototype.toPromise=function(t){return this.last().firstToPromise(t)},_["try"]=function(t){return function(e){try{return _.once(t(e))}catch(n){return new _.Error(n)}}},_.update=function(t){function e(t){return function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(e){return t.apply(void 0,[e].concat(n))}}}for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=r.length-1;o>0;)r[o]instanceof Function||(r[o]=U.always(r[o])),r[o]=e(r[o]),o-=2;return H(new _.Desc(_,"u
 pdate",[t].concat(r)),_.when.apply(_,r).scan(t,function(t,e){return e(t)}))},_.zipAsArray=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=ht(e);return H(new _.Desc(_,"zipAsArray",r),_.zipWith(r,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e}))},_.zipWith=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=dt(e),i=r[0],o=r[1];return i=U.map(function(t){return t.toEventStream()},i),H(new _.Desc(_,"zipWith",[o].concat(i)),_.when(i,o))},_.Observable.prototype.zip=function(t,e){return H(new _.Desc(this,"zip",[t]),_.zipWith([this,t],e||Array))},w.prototype.subscribe=function(t,e,n){var r="function"==typeof t?{next:t,error:e,complete:n}:t,i={closed:!1,unsubscribe:function(){i.closed=!0,o()}},o=this.observable.subscribe(function(t){t.isError()?(r.error&&r.error(t.error),i.unsubscribe()):t.isEnd()?(i.closed=!0,r.complete&&r.complete()):r.next&&r.next(t.value())});return i},w.prototy
 pe[F("observable")]=function(){return this},_.Observable.prototype.toESObservable=function(){return new w(this)},_.Observable.prototype[F("observable")]=_.Observable.prototype.toESObservable,_.fromESObservable=function(t){var e;e=t[F("observable")]?t[F("observable")]():t;var n=new _.Desc(_,"fromESObservable",[e]);return new _.EventStream(n,function(t){var n=e.subscribe({error:function(){t(new _.Error),t(new _.End)},next:function(e){t(new _.Next(e,(!0)))},complete:function(){t(new _.End)}});return n.unsubscribe?function(){n.unsubscribe()}:n})},"undefined"!=typeof define&&null!==define&&null!=define.amd?(define([],function(){return _}),"undefined"!=typeof this&&null!==this&&(this.Bacon=_)):"undefined"!=typeof e&&null!==e&&null!=e.exports?(e.exports=_,_.Bacon=_):this.Bacon=_}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e,n){!function(){"use strict";function t(){for(var e=[],r=0;r<argume
 nts.length;r++){var i=arguments[r];if(i){var o=typeof i;if("string"===o||"number"===o)e.push(i);else if(Array.isArray(i))e.push(t.apply(null,i));else if("object"===o)for(var a in i)n.call(i,a)&&i[a]&&e.push(a)}}return e.join(" ")}var n={}.hasOwnProperty;"undefined"!=typeof e&&e.exports?e.exports=t:"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return t}):window.classNames=t}()},{}],3:[function(t,e,n){"use strict";function r(t){return function(){return t}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},e.exports=i},{}],4:[function(t,e,n){"use strict";function r(t,e,n,r,o,a,s,u){if(i(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,s,u],f=0;c=new Err
 or(e.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var i=function(t){};e.exports=r},{}],5:[function(t,e,n){"use strict";var r=t("./emptyFunction"),i=r;e.exports=i},{"./emptyFunction":3}],6:[function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function i(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(t){i[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(o){return!1}}var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;e.exports=i()?Object.assign:funct
 ion(t,e){for(var n,i,u=r(t),c=1;c<arguments.length;c++){n=Object(arguments[c]);for(var l in n)a.call(n,l)&&(u[l]=n[l]);if(o){i=o(n);for(var f=0;f<i.length;f++)s.call(n,i[f])&&(u[i[f]]=n[i[f]])}}return u}},{}],7:[function(t,e,n){(function(r){!function(r,i){"object"==typeof n&&"undefined"!=typeof e?e.exports=i(t("prop-types"),t("preact")):"function"==typeof define&&define.amd?define(["prop-types","preact"],i):r.preactCompat=i(r.PropTypes,r.preact)}(this,function(t,e){function n(){return null}function i(t){var e=t.nodeName,n=t.attributes;t.attributes={},e.defaultProps&&x(t.attributes,e.defaultProps),n&&x(t.attributes,n)}function o(t,e){var n,r,i;if(e){for(i in e)if(n=B.test(i))break;if(n){r=t.attributes={};for(i in e)e.hasOwnProperty(i)&&(r[B.test(i)?i.replace(/([A-Z0-9])/,"-$1").toLowerCase():i]=e[i])}}}function a(t,n,r){var i=n&&n._preactCompatRendered&&n._preactCompatRendered.base;i&&i.parentNode!==n&&(i=null),!i&&n&&(i=n.firstElementChild);for(var o=n.childNodes.length;o--;)n.child
 Nodes[o]!==i&&n.removeChild(n.childNodes[o]);var a=e.render(t,n,i);return n&&(n._preactCompatRendered=a&&(a._component||{base:a})),"function"==typeof r&&r(),a&&a._component||a}function s(t,n,r,i){var o=e.h(Q,{context:t.context},n),s=a(o,r),u=s._component||s.base;return i&&i.call(u,s),u}function u(t){var r=t._preactCompatRendered&&t._preactCompatRendered.base;return!(!r||r.parentNode!==t)&&(e.render(e.h(n),t,r),!0)}function c(t){return d.bind(null,t)}function l(t,e){for(var n=e||0;n<t.length;n++){var r=t[n];Array.isArray(r)?l(r):r&&"object"==typeof r&&!b(r)&&(r.props&&r.type||r.attributes&&r.nodeName||r.children)&&(t[n]=d(r.type||r.nodeName,r.props||r.attributes,r.children))}}function f(t){return"function"==typeof t&&!(t.prototype&&t.prototype.render)}function p(t){return S({displayName:t.displayName||t.name,render:function(){return t(this.props,this.context)}})}function h(t){var e=t[W];return e?e===!0?t:e:(e=p(t),Object.defineProperty(e,W,{configurable:!0,value:!0}),e.displayName=t.
 displayName,e.propTypes=t.propTypes,e.defaultProps=t.defaultProps,Object.defineProperty(t,W,{configurable:!0,value:e}),e)}function d(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return l(t,2),v(e.h.apply(void 0,t))}function v(t){t.preactCompatNormalized=!0,w(t),f(t.nodeName)&&(t.nodeName=h(t.nodeName));var e=t.attributes.ref,n=e&&typeof e;return!X||"string"!==n&&"number"!==n||(t.attributes.ref=m(e,X)),g(t),t}function y(t,n){for(var r=[],i=arguments.length-2;i-- >0;)r[i]=arguments[i+2];if(!b(t))return t;var o=t.attributes||t.props,a=e.h(t.nodeName||t.type,x({},o),t.children||o&&o.children),s=[a,n];return r&&r.length?s.push(r):n&&n.children&&s.push(n.children),v(e.cloneElement.apply(void 0,s))}function b(t){return t&&(t instanceof q||t.$$typeof===U)}function m(t,e){return e._refProxies[t]||(e._refProxies[t]=function(n){e&&e.refs&&(e.refs[t]=n,null===n&&(delete e._refProxies[t],e=null))})}function g(t){var e=t.nodeName,n=t.attributes;if(n&&"string"==typeof e){var r={};for(v
 ar i in n)r[i.toLowerCase()]=i;if(r.ondoubleclick&&(n.ondblclick=n[r.ondoubleclick],delete n[r.ondoubleclick]),r.onchange&&("textarea"===e||"input"===e.toLowerCase()&&!/^fil|che|rad/i.test(n.type))){var o=r.oninput||"oninput";n[o]||(n[o]=N([n[o],n[r.onchange]]),delete n[r.onchange])}}}function w(t){var e=t.attributes||(t.attributes={});tt.enumerable="className"in e,e.className&&(e["class"]=e.className),Object.defineProperty(e,"className",tt)}function x(t,e){for(var n=arguments,r=1,i=void 0;r<arguments.length;r++)if(i=n[r])for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o]);return t}function _(t,e){for(var n in t)if(!(n in e))return!0;for(var r in e)if(t[r]!==e[r])return!0;return!1}function E(t){return t&&t.base||t}function C(){}function S(t){function e(t,e){D(this),M.call(this,t,e,H),P.call(this,t,e)}return t=x({constructor:e},t),t.mixins&&O(t,k(t.mixins)),t.statics&&x(e,t.statics),t.propTypes&&(e.propTypes=t.propTypes),t.defaultProps&&(e.defaultProps=t.defaultProps),t.getDefaultProps&&
 (e.defaultProps=t.getDefaultProps.call(e)),C.prototype=M.prototype,e.prototype=x(new C,t),e.displayName=t.displayName||"Component",e}function k(t){for(var e={},n=0;n<t.length;n++){var r=t[n];for(var i in r)r.hasOwnProperty(i)&&"function"==typeof r[i]&&(e[i]||(e[i]=[])).push(r[i])}return e}function O(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=N(e[n].concat(t[n]||Y),"getDefaultProps"===n||"getInitialState"===n||"getChildContext"===n))}function D(t){for(var e in t){var n=t[e];"function"!=typeof n||n.__bound||V.hasOwnProperty(e)||((t[e]=n.bind(t)).__bound=!0)}}function T(t,e,n){if("string"==typeof e&&(e=t.constructor.prototype[e]),"function"==typeof e)return e.apply(t,n)}function N(t,e){return function(){for(var n,r=arguments,i=this,o=0;o<t.length;o++){var a=T(i,t[o],r);if(e&&null!=a){n||(n={});for(var s in a)a.hasOwnProperty(s)&&(n[s]=a[s])}else"undefined"!=typeof a&&(n=a)}return n}}function P(t,e){j.call(this,t,e),this.componentWillReceiveProps=N([j,this.componentWillReceiveProps|
 |"componentWillReceiveProps"]),this.render=N([j,A,this.render||"render",I])}function j(e,n){if(e){var r=e.children;if(r&&Array.isArray(r)&&1===r.length&&("string"==typeof r[0]||"function"==typeof r[0]||r[0]instanceof q)&&(e.children=r[0],e.children&&"object"==typeof e.children&&(e.children.length=1,e.children[0]=e.children)),z){var i="function"==typeof this?this:this.constructor,o=this.propTypes||i.propTypes,a=this.displayName||i.name;o&&t.checkPropTypes(o,e,"prop",a)}}}function A(t){X=this}function I(){X===this&&(X=null)}function M(t,n,r){e.Component.call(this,t,n),this.state=this.getInitialState?this.getInitialState():{},this.refs={},this._refProxies={},r!==H&&P.call(this,t,n)}function R(t,e){M.call(this,t,e)}t="default"in t?t["default"]:t;var L="15.1.0",F="a abbr address area article aside audio b base bdi bdo big blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 
 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt ruby s samp script section select small source span strong style sub summary sup table tbody td textarea tfoot th thead time title tr track u ul var video wbr circle clipPath defs ellipse g image line linearGradient mask path pattern polygon polyline radialGradient rect stop svg text tspan".split(" "),U="undefined"!=typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,W="undefined"!=typeof Symbol&&Symbol["for"]?Symbol["for"]("__preactCompatWrapper"):"__preactCompatWrapper",V={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},B=/^(?:accent|alignment|arabic|baseline|cap|clip|color|fill|flood|font|glyph|hor
 iz|marker|overline|paint|stop|strikethrough|stroke|text|underline|unicode|units|v|vector|vert|word|writing|x)[A-Z]/,H={},z="undefined"==typeof r||!r.env||"production"!==r.env.NODE_ENV,q=e.h("a",null).constructor;q.prototype.$$typeof=U,q.prototype.preactCompatUpgraded=!1,q.prototype.preactCompatNormalized=!1,Object.defineProperty(q.prototype,"type",{get:function(){return this.nodeName},set:function(t){this.nodeName=t},configurable:!0}),Object.defineProperty(q.prototype,"props",{get:function(){return this.attributes},set:function(t){this.attributes=t},configurable:!0});var Z=e.options.event;e.options.event=function(t){return Z&&(t=Z(t)),t.persist=Object,t.nativeEvent=t,t};var $=e.options.vnode;e.options.vnode=function(t){if(!t.preactCompatUpgraded){t.preactCompatUpgraded=!0;var e=t.nodeName,n=t.attributes=x({},t.attributes);"function"==typeof e?(e[W]===!0||e.prototype&&"isReactComponent"in e.prototype)&&(t.children&&""===String(t.children)&&(t.children=void 0),t.children&&(n.children=
 t.children),t.preactCompatNormalized||v(t),i(t)):(t.children&&""===String(t.children)&&(t.children=void 0),t.children&&(n.children=t.children),n.defaultValue&&(n.value||0===n.value||(n.value=n.defaultValue),delete n.defaultValue),o(t,n))}$&&$(t)};var Q=function(){};Q.prototype.getChildContext=function(){return this.props.context},Q.prototype.render=function(t){return t.children[0]};for(var X,Y=[],J={map:function(t,e,n){return null==t?null:(t=J.toArray(t),n&&n!==t&&(e=e.bind(n)),t.map(e))},forEach:function(t,e,n){return null==t?null:(t=J.toArray(t),n&&n!==t&&(e=e.bind(n)),void t.forEach(e))},count:function(t){return t&&t.length||0},only:function(t){if(t=J.toArray(t),1!==t.length)throw new Error("Children.only() expects only one child.");return t[0]},toArray:function(t){return null==t?[]:Y.concat(t)}},G={},K=F.length;K--;)G[F[K]]=c(F[K]);var tt={configurable:!0,get:function(){return this["class"]},set:function(t){this["class"]=t}};x(M.prototype=new e.Component,{constructor:M,isReactCo
 mponent:{},replaceState:function(t,e){var n=this;this.setState(t,e);for(var r in n.state)r in t||delete n.state[r]},getDOMNode:function(){return this.base},isMounted:function(){return!!this.base}}),C.prototype=M.prototype,R.prototype=new C,R.prototype.isPureReactComponent=!0,R.prototype.shouldComponentUpdate=function(t,e){return _(this.props,t)||_(this.state,e)};var et={version:L,DOM:G,PropTypes:t,Children:J,render:a,createClass:S,createFactory:c,createElement:d,cloneElement:y,isValidElement:b,findDOMNode:E,unmountComponentAtNode:u,Component:M,PureComponent:R,unstable_renderSubtreeIntoContainer:s,__spread:x};return et})}).call(this,t("_process"))},{_process:9,preact:8,"prop-types":13}],8:[function(t,e,n){!function(){"use strict";function t(){}function n(e,n){var r,i,o,a,s=A;for(a=arguments.length;a-- >2;)j.push(arguments[a]);for(n&&null!=n.children&&(j.length||j.push(n.children),delete n.children);j.length;)if((i=j.pop())&&void 0!==i.pop)for(a=i.length;a--;)j.push(i[a]);else"boolean
 "==typeof i&&(i=null),(o="function"!=typeof e)&&(null==i?i="":"number"==typeof i?i=String(i):"string"!=typeof i&&(o=!1)),o&&r?s[s.length-1]+=i:s===A?s=[i]:s.push(i),r=o;var u=new t;return u.nodeName=e,u.children=s,u.attributes=null==n?void 0:n,u.key=null==n?void 0:n.key,void 0!==P.vnode&&P.vnode(u),u}function r(t,e){for(var n in e)t[n]=e[n];return t}function i(t,e){return n(t.nodeName,r(r({},t.attributes),e),arguments.length>2?[].slice.call(arguments,2):t.children)}function o(t){!t.__d&&(t.__d=!0)&&1==R.push(t)&&(P.debounceRendering||I)(a)}function a(){var t,e=R;for(R=[];t=e.pop();)t.__d&&k(t)}function s(t,e,n){return"string"==typeof e||"number"==typeof e?void 0!==t.splitText:"string"==typeof e.nodeName?!t._componentConstructor&&u(t,e.nodeName):n||t._componentConstructor===e.nodeName}function u(t,e){return t.__n===e||t.nodeName.toLowerCase()===e.toLowerCase()}function c(t){var e=r({},t.attributes);e.children=t.children;var n=t.nodeName.defaultProps;if(void 0!==n)for(var i in n)void 
 0===e[i]&&(e[i]=n[i]);return e}function l(t,e){var n=e?document.createElementNS("http://www.w3.org/2000/svg",t):document.createElement(t);return n.__n=t,n}function f(t){var e=t.parentNode;e&&e.removeChild(t)}function p(t,e,n,r,i){if("className"===e&&(e="class"),"key"===e);else if("ref"===e)n&&n(null),r&&r(t);else if("class"!==e||i)if("style"===e){if(r&&"string"!=typeof r&&"string"!=typeof n||(t.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var o in n)o in r||(t.style[o]="");for(var o in r)t.style[o]="number"==typeof r[o]&&!1===M.test(o)?r[o]+"px":r[o]}}else if("dangerouslySetInnerHTML"===e)r&&(t.innerHTML=r.__html||"");else if("o"==e[0]&&"n"==e[1]){var a=e!==(e=e.replace(/Capture$/,""));e=e.toLowerCase().substring(2),r?n||t.addEventListener(e,d,a):t.removeEventListener(e,d,a),(t.__l||(t.__l={}))[e]=r}else if("list"!==e&&"type"!==e&&!i&&e in t)h(t,e,null==r?"":r),null!=r&&!1!==r||t.removeAttribute(e);else{var s=i&&e!==(e=e.replace(/^xlink\:?/,""));null==r||!1=
 ==r?s?t.removeAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase()):t.removeAttribute(e):"function"!=typeof r&&(s?t.setAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase(),r):t.setAttribute(e,r))}else t.className=r||""}function h(t,e,n){try{t[e]=n}catch(r){}}function d(t){return this.__l[t.type](P.event&&P.event(t)||t)}function v(){for(var t;t=L.pop();)P.afterMount&&P.afterMount(t),t.componentDidMount&&t.componentDidMount()}function y(t,e,n,r,i,o){F++||(U=null!=i&&void 0!==i.ownerSVGElement,W=null!=t&&!("__preactattr_"in t));var a=b(t,e,n,r,o);return i&&a.parentNode!==i&&i.appendChild(a),--F||(W=!1,o||v()),a}function b(t,e,n,r,i){var o=t,a=U;if(null!=e&&"boolean"!=typeof e||(e=""),"string"==typeof e||"number"==typeof e)return t&&void 0!==t.splitText&&t.parentNode&&(!t._component||i)?t.nodeValue!=e&&(t.nodeValue=e):(o=document.createTextNode(e),t&&(t.parentNode&&t.parentNode.replaceChild(o,t),g(t,!0))),o.__preactattr_=!0,o;var s=e.nodeName;if("function"==typeof s)return O
 (t,e,n,r);if(U="svg"===s||"foreignObject"!==s&&U,s=String(s),(!t||!u(t,s))&&(o=l(s,U),t)){for(;t.firstChild;)o.appendChild(t.firstChild);t.parentNode&&t.parentNode.replaceChild(o,t),g(t,!0)}var c=o.firstChild,f=o.__preactattr_,p=e.children;if(null==f){f=o.__preactattr_={};for(var h=o.attributes,d=h.length;d--;)f[h[d].name]=h[d].value}return!W&&p&&1===p.length&&"string"==typeof p[0]&&null!=c&&void 0!==c.splitText&&null==c.nextSibling?c.nodeValue!=p[0]&&(c.nodeValue=p[0]):(p&&p.length||null!=c)&&m(o,p,n,r,W||null!=f.dangerouslySetInnerHTML),x(o,e.attributes,f),U=a,o}function m(t,e,n,r,i){var o,a,u,c,l,p=t.childNodes,h=[],d={},v=0,y=0,m=p.length,w=0,x=e?e.length:0;if(0!==m)for(var _=0;_<m;_++){var E=p[_],C=E.__preactattr_,S=x&&C?E._component?E._component.__k:C.key:null;null!=S?(v++,d[S]=E):(C||(void 0!==E.splitText?!i||E.nodeValue.trim():i))&&(h[w++]=E)}if(0!==x)for(var _=0;_<x;_++){c=e[_],l=null;var S=c.key;if(null!=S)v&&void 0!==d[S]&&(l=d[S],d[S]=void 0,v--);else if(!l&&y<w)for(o=y;
 o<w;o++)if(void 0!==h[o]&&s(a=h[o],c,i)){l=a,h[o]=void 0,o===w-1&&w--,o===y&&y++;break}l=b(l,c,n,r),

[... 6 lines stripped ...]


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org