cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1811791 [8/8] - in /cordova/site/public: ./ announcements/2017/09/27/ blog/ docs/en/7.x/config_ref/ docs/en/7.x/guide/support/ docs/en/7.x/plugin_ref/ docs/en/7.x/reference/cordova-cli/ docs/en/7.x/reference/cordova-plugin-battery-status/ ...
Date Wed, 11 Oct 2017 05:00:17 GMT
Modified: cordova/site/public/static/js/index.js
URL: http://svn.apache.org/viewvc/cordova/site/public/static/js/index.js?rev=1811791&r1=1811790&r2=1811791&view=diff
==============================================================================
--- cordova/site/public/static/js/index.js (original)
+++ cordova/site/public/static/js/index.js Wed Oct 11 05:00:16 2017
@@ -77,6 +77,7 @@ function checkNotification() {
     var dates = [];
     if (lastVisit != "") {
         
+        dates.push('Tue, 10 Oct 2017 00:00:00 -0700');
         dates.push('Wed, 27 Sep 2017 00:00:00 -0700');
         dates.push('Mon, 25 Sep 2017 00:00:00 -0700');
         dates.push('Fri, 22 Sep 2017 00:00:00 -0700');

Modified: cordova/site/public/static/js/plugins.js
URL: http://svn.apache.org/viewvc/cordova/site/public/static/js/plugins.js?rev=1811791&r1=1811790&r2=1811791&view=diff
==============================================================================
--- cordova/site/public/static/js/plugins.js (original)
+++ cordova/site/public/static/js/plugins.js Wed Oct 11 05:00:16 2017
@@ -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=++nt}function u(t,e){return this instanceof u?(s.call(this),void(!e&&L.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 p(t){return this instanceof p?(this.error=t,void s.call(this)):new p(t)}function f(t){this.desc=t,this.id=++st,this.initialDesc=this.desc}function d(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];this.unsubscribe=L.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 h(t,e){this._subscribe=t,this._handleEvent=e,this.subscribe=L.bind(this.subscribe,this),this.handleEvent=L.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?(L.isFunction(t)&&(n=e,e=t,t=o.empty),f.call(this,t),O(e),this.dispatcher=new h(e,n),void ut(this)):new v(t,e,n)}function y(t,e,n){h.call(this,e,n),this.property=t,this.subscribe=L.b
 ind(this.subscribe,this),this.current=tt,this.currentValueRootId=void 0,this.propertyEnded=!1}function m(t,e,n){f.call(this,t),O(e),this.dispatcher=new y(this,e,n),ut(this)}function b(){return this instanceof b?(this.unsubAll=L.bind(this.unsubAll,this),this.subscribeAll=L.bind(this.subscribeAll,this),this.guardedSink=L.bind(this.guardedSink,this),this.sink=void 0,this.subscriptions=[],this.ended=!1,void v.call(this,new x.Desc(x,"Bus",[]),this.subscribeAll)):new b}function g(t){return[t,ot()]}var w=Array.prototype.slice,x={toString:function(){return"Bacon"}};x.version="0.7.87";var _=("undefined"!=typeof t&&null!==t?t:this).Error,C=function(){},E=function(t,e){return t},S=function(t){return t.slice(0)},D=function(t,e){if(!e)throw new _(t)},k=function(t){if((null!=t?t._isObservable:void 0)&&!(null!=t?t._isProperty:void 0))throw new _("Observable is not a Property : "+t)},T=function(t){if(!(null!=t?t._isEventStream:void 0))throw new _("not an EventStream : "+t)},N=function(t){if(!(null!
 =t?t._isObservable:void 0))throw new _("not an Observable : "+t)},O=function(t){return D("not a function : "+t,L.isFunction(t))},P=Array.isArray||function(t){return t instanceof Array},A=function(t){return t&&t._isObservable},j=function(t){if(!P(t))throw new _("not an array : "+t)},I=function(t){return D("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},M=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},L={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:function(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){retur
 n!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 P(t)?t:[t]},contains:function(t,e){return L.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]?L.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]?L.id:arguments[1],r=0;r<t.length;r++)if(e=t[r],n(e))return!0;return!1},without:function(t,e){return L.filter(function(e){return e!==t},e)},remove:function(t,e){var n=L.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 L.fold(e,[],function(e,n){return e.concat(t(n))})},cached:function(t){var e=tt;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 F++,null==t?"undefined":L.isFunction(t)?"function":P(t)?F>5?"[..]":"["+L.map(L.toString,t).toString()+"]":null!=(null!=t?t.toString:void 0)&&t.toString!==Object.prototype.toString?t.toString():"object"==typeof t?F>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(L.toString(n)+":"+L.toString(r)));return e}(),"{"+e+"}"):t}finally{F--}}},F=0;x._=L;var U=x.UpdateBarrier=function(){var t,e=[],n={},r=[],i=0,o={},a=function(e){return t?r.push(e):e()},s=function(r,i){if(t){var o=n[r.id];return"undefin
 ed"==typeof o||null===o?(o=n[r.id]=[i],e.push(r)):o.push(i)}return i()},u=function(){for(;e.length>0;)c(0,!0);o={}},c=function(t,r){var i=e[t],o=i.id,a=n[o];e.splice(t,1),delete n[o],r&&e.length>0&&l(i);for(var s,u=0;u<a.length;u++)(s=a[u])()},l=function(t){if(!o[t.id]){for(var r,i=t.internalDeps(),a=0;a<i.length;a++)if(r=i[a],l(r),n[r.id]){var s=L.indexOf(e,r);c(s,!1)}o[t.id]=!0}},p=function(e,n,o,a){if(t)return o.apply(n,a);t=e;try{var s=o.apply(n,a);u()}finally{for(t=void 0;i<r.length;){var c=r[i];i++,c()}i=0,r=[]}return s},f=function(){return t?t.id:void 0},d=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(t){return a(function(){if(!n){var r=e(t);if(r===x.noMore)return o()}})}),r&&i(),o},h=function(){return e.length>0};return{whenDoneWith:s,hasWaiters:h,inTransaction:p,currentEventId:f,wrappedSubscribe:d,afterTransaction:a}}();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:L.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}),M(r,n),R(r.prototype,{consume: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}),M(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=B([this.context].concat(this.args))),this.cached},toString:function(){return L.toString(this.context)+"."+L.toString(this.method)+"("+L.map(L.toString,this.args)+")"}});var W=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)},V=function(t,e){return e.desc=t,e},B=function(t){return P(t)?L.flatMap(B,t):A(t)?[t]:("undefined"!=typeof t&&null!==t?t._isSource:void 0)?[t.obs]:[]};x.Desc=o,x.Desc.empty=new x.Desc("","",[]);var H=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),Y.apply(void 0,t)},q=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))}},Z=function(t){return function(e){return function(n){if("undefined"!=typeof n&&null!==n){var r=n[e];return L.isFunction(r)?r.apply(n,t):r}}}},$=function(t,e){var n=t.slice(1).split("."),r=L.map(Z(e),n);return function(t){for(var e,n=0;n<r.length;n++)e=r[n],t=e(t);return t}},X=function(t){return"string"==typeof t&&t.length>1&&"."===t.charAt(0)},Y=H(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 L.isFunction(t)?n.length?q(t,n):t:X(t)?$(t,n):L.always(t)}),Q=function(t,e){return Y.apply(void 0,[t].concat(e))},J=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=Q(e,n),r.call(t,e)},G=function(t){if(L.isFunction(t))return t;if(X(t)){var e=K(t);return function(t,n){return t[e](n)}}throw new _("not a function o
 r a field key: "+t)},K=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):tt},map:function(t){return new a(t(this.value))},forEach:function(t){return t(this.value)},isDefined:!0,toArray:function(){return[this.value]},inspect:function(){return"Some("+this.value+")"},toString:function(){return this.inspect()}});var tt={_isNone:!0,getOrElse:function(t){return t},filter:function(){return tt},map:function(){return tt},forEach:function(){},isDefined:!1,toArray:function(){return[]},inspect:function(){return"None"},toString:function(){return this.inspect()}},et=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)};x.noMore="<no-more>",x.more="<more>";var nt=0;s.prototype._isEvent=!0,s.prototype.isEvent=function(){return!0},s.prototype.isEnd=function(){return!1},s.prototype.isIn
 itial=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()},M(u,s),u.prototype.isNext=function(){return!0},u.prototype.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 L.toString(this.value())},u.prototype.log=function(){return this.v
 alue()},u.prototype._isNext=!0,M(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)},M(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>"},M(p,s),p.prototype.isError=function(){return!0},p.prototype.fmap=function(){return this},p.prototype.apply=function(){return this},p.prototype.toString=function(){return"<error> "+L.toString(this.error)},x.Event=s,x.Initial=c,x.Next=u,x.End=l,x.Error=p;var rt=function(t){return new c(t,(!0))},it=function(t){return new u(t,(!0))},ot=function(){return new l},at=function(t){return t&&t._isEvent?t:it(t)},st=0,ut=function(){};R(f.prototype,{_isObservable:!0,subscribe:function(t){return U.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 this.subscribe(function(e){if(e.isEnd())return t()})},name:function(t){return this._name=t,this},withDescription:function(){return this.desc=W.apply(void 0,arguments),this},toString:function(){return this._name?this._name:this.desc.toString()},internalDeps:function(){return this.initialDesc.deps()}}),f.prototype.assign=f.prototype.onValue,f.prototype.forEach=f.prototype.onValue,f.prototype.inspect=f.prototype.toString,x.Observable=f,R(d.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),L.remove(t,e.starting)};return r=t(this.unsubscribe,i
 ),this.unsubscribed||n?r():this.subscriptions.push(r),L.remove(t,this.starting),r}},remove:function(t){if(!this.unsubscribed)return void 0!==L.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]();return this.subscriptions=[],this.starting=[],[]}},count:function(){return this.unsubscribed?0:this.subscriptions.length+this.starting.length},empty:function(){return 0===this.count()}}),x.CompositeUnsubscribe=d,h.prototype.hasSubscribers=function(){return this.subscriptions.length>0},h.prototype.removeSub=function(t){return this.subscriptions=L.without(t,this.subscriptions),this.subscriptions},h.prototype.push=function(t){return t.isEnd()&&(this.ended=!0),U.inTransaction(t,this,this.pushIt,[t])},h.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===x.noMore||t.isEnd())&&this.removeSub(i)}return!0}catch(a){th
 row this.pushing=!1,this.queue=[],a}},h.prototype.pushIt=function(t){if(this.pushing)return this.queue.push(t),x.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.hasSubscribers()?x.more:(this.unsubscribeFromSource(),x.noMore)}},h.prototype.handleEvent=function(t){return this._handleEvent?this._handleEvent(t):this.push(t)},h.prototype.unsubscribeFromSource=function(){this.unsubSrc&&this.unsubSrc(),this.unsubSrc=void 0},h.prototype.subscribe=function(t){var e;return this.ended?(t(ot()),C):(O(t),e={sink:t},this.subscriptions.push(e),1===this.subscriptions.length&&(this.unsubSrc=this._subscribe(this.handleEvent),O(this.unsubSrc)),function(t){return function(){if(t.removeSub(e),!t.hasSubscribers())return t.unsubscribeFromSource()}}(this))},x.Dispatcher=h,M(v,f),R(v.prototype,{_isEventStream:!0,toProperty:function(t){var e=0===arguments.length?tt:et(f
 unction(){return t}),n=this.dispatcher,r=new x.Desc(this,"toProperty",[t]);return new m(r,function(t){var r=!1,i=!1,o=C,s=x.more,u=function(){if(!r)return e.forEach(function(e){if(r=!0,s=t(new c(e)),s===x.noMore)return o(),o=C,C})};return o=n.subscribe(function(n){return n.hasValue()?n.isInitial()&&!i?(e=new a(function(){return n.value()}),x.more):(n.isInitial()||u(),r=!0,e=new a(n),t(n)):(n.isEnd()&&(s=u()),s!==x.noMore?t(n):void 0)}),i=!0,u(),o})},toEventStream:function(){return this},withHandler:function(t){return new v(new x.Desc(this,"withHandler",[t]),this.dispatcher.subscribe,t)}}),x.EventStream=v,x.never=function(){return new v(W(x,"never"),function(t){return t(ot()),C})},x.when=function(){if(0===arguments.length)return x.never();var t=arguments.length,e="when: expecting arguments in the form (Observable+,function)+";D(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=L.toArray(arguments[o]),c=lt(arguments[o+1]),l={f:c,ixs:[]},p=
 !1,f=0;f<u.length;f++){s=u[f];var d=L.indexOf(r,s);p||(p=n.isTrigger(s)),d<0&&(r.push(s),d=r.length-1);for(var h,y=0;y<l.ixs.length;y++)h=l.ixs[y],h.index===d&&h.count++;l.ixs.push({index:d,count:1})}D("At least one EventStream required",p||!u.length),u.length>0&&i.push(l),o+=2}if(!r.length)return x.never();r=L.map(n.fromObservable,r);var m=L.any(r,function(t){return t.flatten})&&ct(L.map(function(t){return t.obs},r)),b=new x.Desc(x,"when",a),g=new v(b,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 p=function(){return U.whenDoneWith(g,d)},f=function(){if(!(e.length>0))return x.more;for(var n,a=x.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=L.filter(u,e)),a===x.noMore?a:f()}},d=function(){var e=f();return n&&(L.all(r,a)||L.all(i,s))&&(e=x.noMore,t(ot())),e===x.noMore&&l(),e};return c.subscribe(function(r){if(r.isEnd())n=!0,c.markEnded(),p();else if(r.isError())var i=t(r);else c.push(r),c.sync&&(e.push({source:c,e:r}),m||U.hasWaiters()?p():d());return i===x.noMore&&l(),i||x.more})}};return new x.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 ct=function(t){var e=arguments.length<=1||void 0===arguments[1]?[]:arguments[1],n=function(t){if(L.contains(e,t))return!0;var r=t.internalDeps();return r.length?(e.push(t),L.any(r,n)):(e.push(t),!1)};return L.any(t,n)},lt=function(t){return L.isFunction(t)?t:L.always(t)};x.grou
 pSimultaneous=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];1===e.length&&P(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 V(new x.Desc(x,"groupSimultaneous",e),x.when(r,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e}))},M(y,h),R(y.prototype,{push:function(t){return t.isEnd()&&(this.propertyEnded=!0),t.hasValue()&&(this.current=new a(t),this.currentValueRootId=U.currentEventId()),h.prototype.push.call(this,t)},maybeSubSource:function(t,e){return e===x.noMore?C:this.propertyEnded?(t(ot()),C):h.prototype.subscribe.call(this,t)},subscribe:function(t){var e=this,n=x.more;if(this.current.isDefined&&(this.hasSubscribers()||this.propertyEnded)){var r=U.currentEventId(),i=this.currentValueRootId;return!this.propertyEnded&&i&&r&&r!==i?(U.whenDoneWith(this.property,function(){if(e.currentValueRootId===i)return t(rt(e.current.get().value()))}),this.maybeSubSo
 urce(t,n)):(U.inTransaction(void 0,this,function(){return n=t(rt(this.current.get().value()))},[]),this.maybeSubSource(t,n))}return this.maybeSubSource(t,n)}}),M(m,f),R(m.prototype,{_isProperty:!0,changes:function(){var t=this;return new v(new x.Desc(this,"changes",[]),function(e){return t.dispatcher.subscribe(function(t){if(!t.isInitial())return e(t)})})},withHandler:function(t){return new m(new x.Desc(this,"withHandler",[t]),this.dispatcher.subscribe,t)},toProperty:function(){return I(arguments),this},toEventStream:function(){var t=this;return new v(new x.Desc(this,"toEventStream",[]),function(e){return t.dispatcher.subscribe(function(t){return t.isInitial()&&(t=t.toNext()),e(t)})})}}),x.Property=m,x.constant=function(t){return new m(new x.Desc(x,"constant",[t]),function(e){return e(rt(t)),e(ot()),C})},x.fromBinder=function(t){var e=arguments.length<=1||void 0===arguments[1]?L.id:arguments[1],n=new x.Desc(x,"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);P(s)&&(null!=(t=L.last(s))?t._isEvent:void 0)||(s=[s]);for(var u,c=x.more,l=0;l<s.length;l++)if(u=s[l],c=n(u=at(u)),c===x.noMore||u.isEnd())return o(),c;return c});return i&&o(),o})},x.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 J(this,t,n,function(t){return V(new x.Desc(this,"map",[t]),this.withHandler(function(e){return this.push(e.fmap(t))}))})};var pt=function(t){return P(t[0])?t[0]:Array.prototype.slice.call(t)},ft=function(t){return L.isFunction(t[0])?[pt(Array.prototype.slice.call(t,1)),t[0]]:[pt(Array.prototype.slice.call(t,0,t.length-1)),L.last(t)]};x.combineAsArray=function(){var t=pt(arguments);if(t.length){for(var e=[],r=0;r<t.length;r++){var i=A(t[r])?t[r]:x.constant(t[r]);e.push(new n(i,(!0)))}return V(new x.Desc(x,"combineAsAr
 ray",t),x.when(e,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e}).toProperty())}return x.constant([])},x.onValues=function(){return x.combineAsArray(Array.prototype.slice.call(arguments,0,arguments.length-1)).onValues(arguments[arguments.length-1])},x.combineWith=function(){var t=ft(arguments),e=t[0],n=t[1],r=new x.Desc(x,"combineWith",[n].concat(e));return V(r,x.combineAsArray(e).map(function(t){return n.apply(void 0,t)}))},x.Observable.prototype.combine=function(t,e){var n=G(e),r=new x.Desc(this,"combine",[t,e]);return V(r,x.combineAsArray(this,t).map(function(t){return n(t[0],t[1])}))},x.Observable.prototype.withStateMachine=function(t,e){var n=t,r=new x.Desc(this,"withStateMachine",[t,e]);return V(r,this.withHandler(function(t){var r=e(n,t),i=r[0],o=r[1];n=i;for(var a,s=x.more,u=0;u<o.length;u++)if(a=o[u],s=this.push(a),s===x.noMore)return s;return s}))};var dt=function(t,e){return t===e},ht=function(t){return"undefined"!=typeof t&&null!=
 =t&&t._isNone};x.Observable.prototype.skipDuplicates=function(){var t=arguments.length<=0||void 0===arguments[0]?dt:arguments[0],e=new x.Desc(this,"skipDuplicates",[]);return V(e,this.withStateMachine(tt,function(e,n){return n.hasValue()?n.isInitial()||ht(e)||!t(e.get(),n.value())?[new a(n.value()),[n]]:[e,[]]:[e,[n]]}))},x.Observable.prototype.awaiting=function(t){var e=new x.Desc(this,"awaiting",[t]);return V(e,x.groupSimultaneous(this,t).map(function(t){return 0===t[1].length}).toProperty(!1).skipDuplicates())},x.Observable.prototype.not=function(){return V(new x.Desc(this,"not",[]),this.map(function(t){return!t}))},x.Property.prototype.and=function(t){return V(new x.Desc(this,"and",[t]),this.combine(t,function(t,e){return t&&e}))},x.Property.prototype.or=function(t){return V(new x.Desc(this,"or",[t]),this.combine(t,function(t,e){return t||e}))},x.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()}},x.EventStream.prototype.bufferWithTime=function(t){return V(new x.Desc(this,"bufferWithTime",[t]),this.bufferWithTimeOrCount(t,Number.MAX_VALUE))},x.EventStream.prototype.bufferWithCount=function(t){return V(new x.Desc(this,"bufferWithCount",[t]),this.bufferWithTimeOrCount(void 0,t))},x.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 x.Desc(this,"bufferWithTimeOrCount",[t,e]);return V(r,this.buffer(t,n,n))},x.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&&(x.scheduler.clearTimeout(this.scheduled),this.scheduled=null),this.values.length>0){var t=this.values;this.values=[];va
 r e=this.push(it(t));if(null!=this.end)return this.push(this.end);if(e!==x.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=x.more;if(!L.isFunction(t)){var o=t;t=function(t){return x.scheduler.setTimeout(t,o)}}return V(new x.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}))},x.Observable.prototype.filter=function(t){k(t);for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return J(this,t,n,function(t){return V(new x.Desc(this,"filter",[t]),this.withHandler(function(e){return e.filter(t)?this.push(e):x.more}))})},x.once=function(t){return new v(new o(x,"once",[t]),function(e){return e(at(t)),e(ot()),C})},x.EventStream.prototype.concat=function(t){var e=this;return new
  v(new x.Desc(e,"concat",[t]),function(n){var r=C,i=e.dispatcher.subscribe(function(e){return e.isEnd()?r=t.dispatcher.subscribe(n):n(e)});return function(){return i(),r()}})},x.Observable.prototype.flatMap=function(){return mt(this,vt(arguments))},x.Observable.prototype.flatMapFirst=function(){return mt(this,vt(arguments),!0)};var vt=function(t){return 1===t.length&&A(t[0])?L.always(t[0]):z(t)},yt=function(t){return A(t)?t:x.once(t)},mt=function(t,e,n,r){var i=[t],o=[],a=new x.Desc(t,"flatMap"+(n?"First":""),[e]),s=new v(a,function(i){var a=new d,s=[],u=function(t){var n=yt(e(t.value()));return o.push(n),a.add(function(t,e){return n.dispatcher.subscribe(function(r){if(r.isEnd())return L.remove(n,o),c(),l(e),x.noMore;("undefined"!=typeof r&&null!==r?r._isInitial:void 0)&&(r=r.toNext());var a=i(r);return a===x.noMore&&t(),a})})},c=function(){var t=s.shift();if(t)return u(t)},l=function(t){if(t(),a.empty())return i(ot())};return a.add(function(e,o){return t.dispatcher.subscribe(functi
 on(t){return t.isEnd()?l(o):t.isError()?i(t):n&&a.count()>1?x.more:a.unsubscribed?x.noMore:r&&a.count()>r?s.push(t):u(t)})}),a.unsubscribe});return s.internalDeps=function(){return o.length?i.concat(o):i},s};x.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 x.Desc(this,"flatMapWithConcurrencyLimit",[t].concat(n));return V(i,mt(this,vt(n),!1,t))},x.Observable.prototype.flatMapConcat=function(){var t=new x.Desc(this,"flatMapConcat",Array.prototype.slice.call(arguments,0));return V(t,this.flatMapWithConcurrencyLimit.apply(this,[1].concat(w.call(arguments))))},x.later=function(t,e){return V(new x.Desc(x,"later",[t,e]),x.fromBinder(function(n){var r=function(){return n([e,ot()])},i=x.scheduler.setTimeout(r,t);return function(){return x.scheduler.clearTimeout(i)}}))},x.Observable.prototype.bufferingThrottle=function(t){var e=new x.Desc(this,"bufferingThrottle",[t]);return V(e,this.flatMapC
 oncat(function(e){return x.once(e).concat(x.later(t).filter(!1))}))},x.Property.prototype.bufferingThrottle=function(){return x.Observable.prototype.bufferingThrottle.apply(this,arguments).toProperty()},M(b,v),R(b.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(ot());else{this.sink=t;for(var e,n=S(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),x.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.subsc
 riptions.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(ot())},push:function(t){if(!this.ended&&"function"==typeof this.sink)return this.sink(it(t))},error:function(t){if("function"==typeof this.sink)return this.sink(new p(t))}}),x.Bus=b;var bt=function(t,e){return H(function(n){for(var r=q(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 V(new x.Desc(x,t,[n].concat(o)),x.combineAsArray(o).flatMap(r))})};x.fromCallback=bt("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 x.fromBinder(function(e){return Q(t,n)(e),C},function(t){return[t,ot()]})}),x.fromNodeCallback=bt("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 x.fromBi
 nder(function(e){return Q(t,n)(e),C},function(t,e){return t?[new p(t),ot()]:[e,ot()]})}),x.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){return n(r,t,i[e])}}function i(t,e){return function(r){return n(r,t,e)}}function o(t){return P(t)?[]:{}}function a(t,e){return function(r){var i=o(e);return n(r,t,i),r.push(i)}}function s(t,e){if(A(e))return p.push(e),l.push(r(t,p.length-1));if(!e||e.constructor!=Object&&e.constructor!=Array)return l.push(i(t,e));var n=function(t){return t.pop()};return l.push(a(t,e)),c(e),l.push(n)}function u(e){for(var n,r=o(t),i=[r],a=0;a<l.length;a++)(n=l[a])(i,e);return r}function c(t){return L.each(t,s)}var l=[],p=[];return c(t),V(new x.Desc(x,"combineTemplate",[t]),x.combineAsArray(p).map(u))};var gt=function(t,e){var n=new v(W(t,"justInitValue"),function(e){var r=void 0,i=t.dispatcher.subscribe(function(t){return t.isEnd()||(r=t),x.noMore});return U.whenDoneWith(n,fun
 ction(){return"undefined"!=typeof r&&null!==r&&e(r),e(ot())}),i});return n.concat(e).toProperty()};x.Observable.prototype.mapEnd=function(){var t=z(arguments);return V(new x.Desc(this,"mapEnd",[t]),this.withHandler(function(e){return e.isEnd()?(this.push(it(t(e))),this.push(ot()),x.noMore):this.push(e)}))},x.Observable.prototype.skipErrors=function(){return V(new x.Desc(this,"skipErrors",[]),this.withHandler(function(t){return t.isError()?x.more:this.push(t)}))},x.EventStream.prototype.takeUntil=function(t){var e={};return V(new x.Desc(this,"takeUntil",[t]),x.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(ot());for(var o,a=x.more,s=0;s<r.length;s++)o=r[s],a=o===e?this.push(ot()):this.push(it(o));return a}return this.push(t)}))},x.Property.prototype.takeUntil=function(t){var e=this.changes().takeUntil(t);return V(new x.Desc(this,"takeUntil",[t]),gt(this,e))},x.Observable.prototype.fl
 atMapLatest=function(){var t=vt(arguments),e=this.toEventStream();return V(new x.Desc(this,"flatMapLatest",[t]),e.flatMap(function(n){
-return yt(t(n)).takeUntil(e)}))},x.Property.prototype.delayChanges=function(t,e){return V(t,gt(this,e(this.changes())))},x.EventStream.prototype.delay=function(t){return V(new x.Desc(this,"delay",[t]),this.flatMap(function(e){return x.later(t,e)}))},x.Property.prototype.delay=function(t){return this.delayChanges(new x.Desc(this,"delay",[t]),function(e){return e.delay(t)})},x.EventStream.prototype.debounce=function(t){return V(new x.Desc(this,"debounce",[t]),this.flatMapLatest(function(e){return x.later(t,e)}))},x.Property.prototype.debounce=function(t){return this.delayChanges(new x.Desc(this,"debounce",[t]),function(e){return e.debounce(t)})},x.EventStream.prototype.debounceImmediate=function(t){return V(new x.Desc(this,"debounceImmediate",[t]),this.flatMapFirst(function(e){return x.once(e).concat(x.later(t).filter(!1))}))},x.Observable.prototype.decode=function(t){return V(new x.Desc(this,"decode",[t]),this.combine(x.combineTemplate(t),function(t,e){return e[t]}))},x.Observable.pr
 ototype.scan=function(t,e){var n,r=this;e=G(e);var i=et(t),o=!1,s=function(t){var s=!1,u=C,l=x.more,p=function(){if(!s)return i.forEach(function(e){if(s=o=!0,l=t(new c(function(){return e})),l===x.noMore)return u(),u=C})};return u=r.dispatcher.subscribe(function(n){if(n.hasValue()){if(o&&n.isInitial())return x.more;n.isInitial()||p(),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=p()),l!==x.noMore)return t(n)}),U.whenDoneWith(n,p),u};return n=new m(new x.Desc(this,"scan",[t,e]),s)},x.Observable.prototype.diff=function(t,e){return e=G(e),V(new x.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]}))},x.Observable.prototype.doAction=function(){var t=z(arguments);return V(new x.Desc(this,"doAction",[t]),this.withHandler(function(e){return e.hasValue()&&t(e.value()),this.push(e)}))},x.Observable.prototype.doEnd=function(){var t
 =z(arguments);return V(new x.Desc(this,"doEnd",[t]),this.withHandler(function(e){return e.isEnd()&&t(),this.push(e)}))},x.Observable.prototype.doError=function(){var t=z(arguments);return V(new x.Desc(this,"doError",[t]),this.withHandler(function(e){return e.isError()&&t(e.error),this.push(e)}))},x.Observable.prototype.doLog=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return V(new x.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)}))},x.Observable.prototype.endOnError=function(t){"undefined"!=typeof t&&null!==t||(t=!0);for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return J(this,t,n,function(t){return V(new x.Desc(this,"endOnError",[]),this.withHandler(function(e){return e.isError()&&t(e.error)?(this.push(e),this.push(ot())):this.push(e)}))})},f.prototype.errors=function(){ret
 urn V(new x.Desc(this,"errors",[]),this.filter(function(){return!1}))},x.Observable.prototype.take=function(t){return t<=0?x.never():V(new x.Desc(this,"take",[t]),this.withHandler(function(e){return e.hasValue()?(t--,t>0?this.push(e):(0===t&&this.push(e),this.push(ot()),x.noMore)):this.push(e)}))},x.Observable.prototype.first=function(){return V(new x.Desc(this,"first",[]),this.take(1))},x.Observable.prototype.mapError=function(){var t=z(arguments);return V(new x.Desc(this,"mapError",[t]),this.withHandler(function(e){return e.isError()?this.push(it(t(e.error))):this.push(e)}))},x.Observable.prototype.flatMapError=function(t){var e=new x.Desc(this,"flatMapError",[t]);return V(e,this.mapError(function(t){return new p(t)}).flatMap(function(e){return e instanceof p?t(e.error):x.once(e)}))},x.EventStream.prototype.sampledBy=function(t,e){return V(new x.Desc(this,"sampledBy",[t,e]),this.toProperty().sampledBy(t,e))},x.Property.prototype.sampledBy=function(t,e){var r=!1;"undefined"!=typeof
  e&&null!==e?e=G(e):(r=!0,e=function(t){return t.value()});var i=new n(this,(!1),r),o=new n(t,(!0),r),a=x.when([i,o],e),s=t._isProperty?a.toProperty():a;return V(new x.Desc(this,"sampledBy",[t,e]),s)},x.Property.prototype.sample=function(t){return V(new x.Desc(this,"sample",[t]),this.sampledBy(x.interval(t,{})))},x.Observable.prototype.map=function(t){if(t&&t._isProperty)return t.sampledBy(this,E);for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return J(this,t,n,function(t){return V(new x.Desc(this,"map",[t]),this.withHandler(function(e){return this.push(e.fmap(t))}))})},x.Observable.prototype.fold=function(t,e){return V(new x.Desc(this,"fold",[t,e]),this.scan(t,e).sampledBy(this.filter(!1).mapEnd().toProperty()))},f.prototype.reduce=f.prototype.fold;var wt=[["addEventListener","removeEventListener"],["addListener","removeListener"],["on","off"],["bind","unbind"]],xt=function(t){for(var e,n=0;n<wt.length;n++){e=wt[n];var r=[t[e[0]],t[e[1]]];if(r[0]&&r[1
 ])return r}for(var i=0;i<wt.length;i++){e=wt[i];var o=t[e[0]];if(o)return[o,function(){}]}throw new p("No suitable event methods in "+t)};x.fromEventTarget=function(t,e,n){var r=xt(t),i=r[0],o=r[1],a=new x.Desc(x,"fromEvent",[t,e]);return V(a,x.fromBinder(function(n){return i.call(t,e,n),function(){return o.call(t,e,n)}},n))},x.fromEvent=x.fromEventTarget,x.fromPoll=function(t,e){var n=new x.Desc(x,"fromPoll",[t,e]);return V(n,x.fromBinder(function(e){var n=x.scheduler.setInterval(e,t);return function(){return x.scheduler.clearInterval(n)}},e))},x.fromPromise=function(t,e){var n=arguments.length<=2||void 0===arguments[2]?g:arguments[2];return V(new x.Desc(x,"fromPromise",[t]),x.fromBinder(function(n){var r=t.then(n,function(t){return n(new p(t))});return r&&"function"==typeof r.done&&r.done(),e?function(){if("function"==typeof t.abort)return t.abort()}:function(){}},n))},x.Observable.prototype.groupBy=function(t){var e=arguments.length<=1||void 0===arguments[1]?x._.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=x.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})},x.fromArray=function(t){if(j(t),t.length){var e=0;return new v(new x.Desc(x,"fromArray",[t]),function(n){var r=!1,i=x.more,o=!1,a=!1,s=function(){if(a=!0,!o){for(o=!0;a;)if(a=!1,i!==x.noMore&&!r){var u=t[e++];i=n(at(u)),i!==x.noMore&&(e===t.length?n(ot()):U.afterTransaction(s))}return o=!1}};return s(),function(){return r=!0}})}return V(new x.Desc(x,"fromArray",t),x.never())},x.EventStream.prototype.holdWhen=function(t){var e=!1,n=[],r=this,i=!1;return new v(new x.Desc(this,"holdWhen",[t]),function(o){var a=new d,s=!1,u=function(t){if("function"==typeof t&&t(),a.empty()&&s)return o(ot())};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=[],functio
 n(){for(var t,e=[],n=0;n<r.length;n++)t=r[n],e.push(o(it(t)));return i&&(e.push(o(ot())),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})},x.interval=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return V(new x.Desc(x,"interval",[t,e]),x.fromPoll(t,function(){return it(e)}))},x.$={},x.$.asEventStream=function(t,e,n){var r=this;return L.isFunction(e)&&(n=e,e=void 0),V(new x.Desc(this.selector||this,"asEventStream",[t]),x.fromBinder(function(n){return r.on(t,e,n),function(){return r.off(t,e,n)}},n))},"undefined"!=typeof jQuery&&jQuery&&(jQuery.fn.asEventStream=x.$.asEventStream),"undefined"!=typeof Zepto&&Zepto&&(Zepto.fn.asEventStream=x.$.asEventStream),x.Observable.prototype.last=function(){var t;return V(new x.Desc(this,"last",[]),this.withHandler(function(e){return e.isEnd()?(t&&this.push(t),this.push(ot()),x.noMore):voi
 d(t=e)}))},x.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},x.EventStream.prototype.merge=function(t){T(t);var e=this;return V(new x.Desc(e,"merge",[t]),x.mergeAll(this,t))},x.mergeAll=function(){var t=pt(arguments);return t.length?new v(new x.Desc(x,"mergeAll",t),function(e){var n=0,r=function(r){return function(i){return r.dispatcher.subscribe(function(r){if(r.isEnd())return n++,n===t.length?e(ot()):x.more;var o=e(r);return o===x.noMore&&i(),o})}},i=L.map(r,t);return new x.CompositeUnsubscribe(i).unsubscribe}):x.never()},x.repeatedly=function(t,e){var n=0;return V(new x.Desc(x,"repeatedly",[t,e]),x.fromPoll(t,function(){return e[n++%e.length]}))},x.repeat=function(t){var e=0;return x.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!==x.noMore;)i=t(e++),o=!1,i?s=i.subscribeInternal(r):n(ot());return o=!0}var o=!1,a=x.more,s=function(){};return i(),function(){return s()}})},x.retry=function(t){if(!L.isFunction(t.source))throw new _("'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 V(new x.Desc(x,"retry",[t]),x.repeat(function(){function t(){return e().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 u={error:s.error,retriesDone:r},c=x.later(i(u)).filter(!1);return r++,c.concat(x.once().flatMap(t))}return t()}))},x.sequentially=function(t,e){var n=0;return V(new x.Desc(x,"sequentially",[t,e]),x.fromPoll(t,function(){var t=e[n++];return n<e.length?t:n===e.length?[t,ot()]:ot()}))},x.Observable.prototype.skip=function(t){return V(new x.Desc(this,"skip",[t]),thi
 s.withHandler(function(e){return e.hasValue()&&t>0?(t--,x.more):this.push(e)}))},x.EventStream.prototype.skipUntil=function(t){var e=t.take(1).map(!0).toProperty(!1);return V(new x.Desc(this,"skipUntil",[t]),this.filter(e))},x.EventStream.prototype.skipWhile=function(t){k(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 J(this,t,r,function(t){return V(new x.Desc(this,"skipWhile",[t]),this.withHandler(function(n){return!e&&n.hasValue()&&t(n.value())?x.more:(n.hasValue()&&(e=!0),this.push(n))}))})},x.Observable.prototype.slidingWindow=function(t){var e=arguments.length<=1||void 0===arguments[1]?0:arguments[1];return V(new x.Desc(this,"slidingWindow",[t,e]),this.scan([],function(e,n){return e.concat([n]).slice(-t)}).filter(function(t){return t.length>=e}))};var _t=[],ut=function(t){if(_t.length&&!ut.running)try{ut.running=!0,_t.forEach(function(e){e(t)})}finally{delete ut.running}};x.spy=function(t){return _t.push(t)},x.Property.prototype.sta
 rtWith=function(t){return V(new x.Desc(this,"startWith",[t]),this.scan(t,function(t,e){return e}))},x.EventStream.prototype.startWith=function(t){return V(new x.Desc(this,"startWith",[t]),x.once(t).concat(this))},x.Observable.prototype.takeWhile=function(t){k(t);for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return J(this,t,n,function(t){return V(new x.Desc(this,"takeWhile",[t]),this.withHandler(function(e){return e.filter(t)?this.push(e):(this.push(ot()),x.noMore)}))})},x.EventStream.prototype.throttle=function(t){return V(new x.Desc(this,"throttle",[t]),this.bufferWithTime(t).map(function(t){return t[t.length-1]}))},x.Property.prototype.throttle=function(t){return this.delayChanges(new x.Desc(this,"throttle",[t]),function(e){return e.throttle(t)})},f.prototype.firstToPromise=function(t){var e=this;if("function"!=typeof t){if("function"!=typeof Promise)throw new _("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),x.noMore})})},f.prototype.toPromise=function(t){return this.last().firstToPromise(t)},x["try"]=function(t){return function(e){try{return x.once(t(e))}catch(n){return new x.Error(n)}}},x.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]=L.always(r[o])),r[o]=e(r[o]),o-=2;return V(new x.Desc(x,"update",[t].concat(r)),x.when.apply(x,r).scan(t,function(t,e){return e(t)}))},x.zipAsArray=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=pt(e);return V(new x.Desc(x,"zipAsArray",r),x.zipWith(r,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e}))},x.zipWith=function(){for(v
 ar t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=ft(e),i=r[0],o=r[1];return i=L.map(function(t){return t.toEventStream()},i),V(new x.Desc(x,"zipWith",[o].concat(i)),x.when(i,o))},x.Observable.prototype.zip=function(t,e){return V(new x.Desc(this,"zip",[t]),x.zipWith([this,t],e||Array))},"undefined"!=typeof define&&null!==define&&null!=define.amd?(define([],function(){return x}),"undefined"!=typeof this&&null!==this&&(this.Bacon=x)):"undefined"!=typeof e&&null!==e&&null!=e.exports?(e.exports=x,x.Bacon=x):this.Bacon=x}).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<arguments.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={}.has
 OwnProperty;"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],p=0;c=new Error(e.replace(/%s/g,function(){return l[p++]})),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:[fu
 nction(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.childNodes[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(X,{conte
 xt: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 h.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&&!m(r)&&(r.props&&r.type||r.attributes&&r.nodeName||r.children)&&(t[n]=h(r.type||r.nodeName,r.props||r.attributes,r.children))}}function p(t){return"function"==typeof t&&!(t.prototype&&t.prototype.render)}function f(t){return S({displayName:t.displayName||t.name,render:function(){return t(this.props,this.context)}})}function d(t){var e=t[W];return e?e===!0?t:e:(e=f(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 h(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return l(t,2),v(e.h.appl
 y(void 0,t))}function v(t){t.preactCompatNormalized=!0,w(t),p(t.nodeName)&&(t.nodeName=d(t.nodeName));var e=t.attributes.ref,n=e&&typeof e;return!Y||"string"!==n&&"number"!==n||(t.attributes.ref=b(e,Y)),g(t),t}function y(t,n){for(var r=[],i=arguments.length-2;i-- >0;)r[i]=arguments[i+2];if(!m(t))return t;var o=t.attributes||t.props,a=e.h(t.nodeName||t.type,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 m(t){return t&&(t instanceof q||t.$$typeof===U)}function b(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(var 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||"oni
 nput";n[o]||(n[o]=O([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 C(t){return t&&t.base||t}function E(){}function S(t){function e(t,e){T(this),R.call(this,t,e,H),P.call(this,t,e)}return t=x({constructor:e},t),t.mixins&&k(t,D(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()),E.prototype=R.prototype,e.prototype=x(new E,t),e.displayName=t.displayName||"Component",e}function D(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 k(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=O(e[n].concat(t[n]||Q),"getDefaultProps"===n||"getInitialState"===n||"getChildContext"===n))}function T(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 N(t,e,n){if("string"==typeof e&&(e=t.constructor.prototype[e]),"function"==typeof e)return e.apply(t,n)}function O(t,e){return function(){for(var n,r=arguments,i=this,o=0;o<t.length;o++){var a=N(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){A.call(this,t,e),this.componentWillReceiveProps=O([A,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=O([A,j,this.render||"render",I])}function A(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.ch
 ildren=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 j(t){Y=this}function I(){Y===this&&(Y=null)}function R(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 M(t,e){R.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 sam
 p 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"]("__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|horiz|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.prot
 otype.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 X=function(){};X.prototype.getChildContext=function(){return this.props.context},X.prototype.render=function(t){return t.children[0]};for(var Y,Q=[],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?[]:Q.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(R.prototype=new e.Component,{constructor:R,isReactComponent:{},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}}),E.prototype=R.prototype,M.prototype=new E,M
 .prototype.isPureReactComponent=!0,M.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:h,cloneElement:y,isValidElement:m,findDOMNode:C,unmountComponentAtNode:u,Component:R,PureComponent:M,unstable_renderSubtreeIntoContainer:s,__spread:x};return et})}).call(this,t("_process"))},{_process:8,preact:7,"prop-types":12}],7:[function(t,e,n){!function(){"use strict";function t(){}function n(e,n){var r,i,o,a,s=j;for(a=arguments.length;a-- >2;)A.push(arguments[a]);for(n&&null!=n.children&&(A.length||A.push(n.children),delete n.children);A.length;)if((i=A.pop())&&void 0!==i.pop)for(a=i.length;a--;)A.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===j?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==M.push(t)&&(P.debounceRendering||I)(a)}function a(){var t,e=M;for(M=[];t=e.pop();)t.__d&&D(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 p(t){var e=t.parentNode;e&&e.removeChild(t)}function f(t,e,n,r,i){if("classNa
 me"===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===R.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,h,a):t.removeEventListener(e,h,a),(t.__l||(t.__l={}))[e]=r}else if("list"!==e&&"type"!==e&&!i&&e in t)d(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 d
 (t,e,n){try{t[e]=n}catch(r){}}function h(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=m(t,e,n,r,o);return i&&a.parentNode!==i&&i.appendChild(a),--F||(W=!1,o||v()),a}function m(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 k(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,p=o.__preactattr_,f=e.children;i
 f(null==p){p=o.__preactattr_={};for(var d=o.attributes,h=d.length;h--;)p[d[h].name]=d[h].value}return!W&&f&&1===f.length&&"string"==typeof f[0]&&null!=c&&void 0!==c.splitText&&null==c.nextSibling?c.nodeValue!=f[0]&&(c.nodeValue=f[0]):(f&&f.length||null!=c)&&b(o,f,n,r,W||null!=p.dangerouslySetInnerHTML),x(o,e.attributes,p),U=a,o}function b(t,e,n,r,i){var o,a,u,c,l,f=t.childNodes,d=[],h={},v=0,y=0,b=f.length,w=0,x=e?e.length:0;if(0!==b)for(var _=0;_<b;_++){var C=f[_],E=C.__preactattr_,S=x&&E?C._component?C._component.__k:E.key:null;null!=S?(v++,h[S]=C):(E||(void 0!==C.splitText?!i||C.nodeValue.trim():i))&&(d[w++]=C)}if(0!==x)for(var _=0;_<x;_++){c=e[_],l=null;var S=c.key;if(null!=S)v&&void 0!==h[S]&&(l=h[S],h[S]=void 0,v--);else if(!l&&y<w)for(o=y;o<w;o++)if(void 0!==d[o]&&s(a=d[o],c,i)){l=a,d[o]=void 0,o===w-1&&w--,o===y&&y++;break}l=m(l,c,n,r),u=f[_],l&&l!==t&&l!==u&&(null==u?t.appendChild(l):l===u.nextSibling?p(u):t.insertBefore(l,u))}if(v)for(var _ in h)void 0!==h[_]&&g(h[_],!1);f
 or(;y<=w;)void 0!==(l=d[w--])&&g(l,!1)}function g(t,e){var n=t._component;n?T(n):(null!=t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),!1!==e&&null!=t.__preactattr_||p(t),w(t))}function w(t){for(t=t.lastChild;t;){var e=t.previousSibling;g(t,!0),t=e}}function x(t,e,n){var r;for(r in n)e&&null!=e[r]||null==n[r]||f(t,r,n[r],n[r]=void 0,U);for(r in e)"children"===r||"innerHTML"===r||r in n&&e[r]===("value"===r||"checked"===r?t[r]:n[r])||f(t,r,n[r],n[r]=e[r],U)}function _(t){var e=t.constructor.name;(V[e]||(V[e]=[])).push(t)}function C(t,e,n){var r,i=V[t.name];if(t.prototype&&t.prototype.render?(r=new t(e,n),N.call(r,e,n)):(r=new N(e,n),r.constructor=t,r.render=E),i)for(var o=i.length;o--;)if(i[o].constructor===t){r.__b=i[o].__b,i.splice(o,1);break}return r}function E(t,e,n){return this.constructor(t,n)}function S(t,e,n,r,i){t.__x||(t.__x=!0,(t.__r=e.ref)&&delete e.ref,(t.__k=e.key)&&delete e.key,!t.base||i?t.componentWillMount&&t.componentWillMount():t.componentWillRece
 iveProps&&t.componentWillReceiveProps(e,r),r&&r!==t.context&&(t.__c||(t.__c=t.context),t.context=r),t.__p||(t.__p=t.props),t.props=e,t.__x=!1,0!==n&&(1!==n&&!1===P.syncComponentUpdates&&t.base?o(t):D(t,1,i)),t.__r&&t.__r(t))}function D(t,e,n,i){if(!t.__x){var o,a,s,u=t.props,l=t.state,p=t.context,f=t.__p||u,d=t.__s||l,h=t.__c||p,m=t.base,b=t.__b,w=m||b,x=t._component,_=!1;if(m&&(t.props=f,t.state=d,t.context=h,2!==e&&t.shouldComponentUpdate&&!1===t.shouldComponentUpdate(u,l,p)?_=!0:t.componentWillUpdate&&t.componentWillUpdate(u,l,p),t.props=u,t.state=l,t.context=p),t.__p=t.__s=t.__c=t.__b=null,t.__d=!1,!_){o=t.render(u,l,p),t.getChildContext&&(p=r(r({},p),t.getChildContext()));var E,k,N=o&&o.nodeName;if("function"==typeof N){var O=c(o);a=x,a&&a.constructor===N&&O.key==a.__k?S(a,O,1,p,!1):(E=a,t._component=a=C(N,O,p),a.__b=a.__b||b,a.__u=t,S(a,O,0,p,!1),D(a,1,n,!0)),k=a.base}else s=w,E=x,E&&(s=t._component=null),(w||1===e)&&(s&&(s._component=null),k=y(s,o,p,n||!m,w&&w.parentNode,!0))
 ;if(w&&k!==w&&a!==x){var A=w.parentNode;A&&k!==A&&(A.replaceChild(k,w),E||(w._component=null,g(w,!1)))}if(E&&T(E),t.base=k,k&&!i){for(var j=t,I=t;I=I.__u;)(j=I).base=k;k._component=j,k._componentConstructor=j.constructor}}if(!m||n?L.unshift(t):_||(t.componentDidUpdate&&t.componentDidUpdate(f,d,h),P.afterUpdate&&P.afterUpdate(t)),null!=t.__h)for(;t.__h.length;)t.__h.pop().call(t);F||i||v()}}function k(t,e,n,r){for(var i=t&&t._component,o=i,a=t,s=i&&t._componentConstructor===e.nodeName,u=s,l=c(e);i&&!u&&(i=i.__u);)u=i.constructor===e.nodeName;return i&&u&&(!r||i._component)?(S(i,l,3,n,r),t=i.base):(o&&!s&&(T(o),t=a=null),i=C(e.nodeName,l,n),t&&!i.__b&&(i.__b=t,a=null),S(i,l,1,n,r),t=i.base,a&&t!==a&&(a._component=null,g(a,!1))),t}function T(t){P.beforeUnmount&&P.beforeUnmount(t);var e=t.base;t.__x=!0,t.componentWillUnmount&&t.componentWillUnmount(),t.base=null;var n=t._component;n?T(n):e&&(e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),t.__b=e,p(e),_(t),w(e)),t.__r&&t
 .__r(null)}function N(t,e){this.__d=!0,this.context=e,this.props=t,this.state=this.state||{}}function O(t,e,n){

[... 7 lines stripped ...]


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


Mime
View raw message