-
Notifications
You must be signed in to change notification settings - Fork 1
/
index-a3622654.js
109 lines (109 loc) · 92.5 KB
/
index-a3622654.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
(function(){function a(a,b){var c=new Error('Cannot find module "'+a+'"'+(b?' from "'+b+'"':''));return c.code='MODULE_NOT_FOUND',c}function b(a){this.id=this.filename=a,this.loaded=!1,this.exports=void 0}function c(a){var b,c=0,d=a.length;for(b=0;b<d;b++){var e=a[b];'.'===e||('..'===e?c--:(a[c]=e,c++))}return 1==c?'/':(2<c&&0===a[c-1].length&&c--,a.length=c,a.join('/'))}function d(a,b){var d=b.split('/'),e='/'==a?['']:a.split('/');return c(e.concat(d))}function e(a){var b,c=a.lastIndexOf('.');return-1===c||-1!==(b=a.lastIndexOf('/'))&&b>c?null:a.substring(0,c)}function f(a){a=a.substring(1);var b=a.indexOf('/');'@'===a.charAt(1)&&(b=a.indexOf('/',b+1));var c=-1===b?a.length:b;return[a.substring(0,c),a.substring(c)]}function g(a,b){'/'===a.charAt(a.length-1)&&(a=a.slice(0,-1));var c=u[a];if(c)return c;var d,e,g=f(b),h=g[0],i=a.indexOf('/');0>i?(d=a,e=''):('@'===a.charAt(0)&&(i=a.indexOf('/',i+1)),d=a.substring(0,i),e=a.substring(i));var j=t[h+'/'+d];if(j){var k='/'+d+'$'+j;return e&&(k+=e),k}}function h(a,b){var f;if('.'===a.charAt(0))f=d(b,a);else if('/'===a.charAt(0))f=c(a.split('/'));else{for(var j=p.length,k=0;k<j;k++){var i=p[k]+a,l=h(i,b);if(l)return l}f=g(a,b)}if(f){var m;void 0!==(m=v[f])&&(!m&&(m='index'),f=d(f,m));var n=w[f];n&&(f=n);var q=o[f];if(void 0===q){var r;if(null===(r=e(f))||void 0===(q=o[r]))return;f=r}return[f,q]}}function j(c,d){if(!c)throw a('');var e=h(c,d);if(!e)throw a(c,d);var f=e[0],g=s[f];if(void 0!==g)return g;if(y.hasOwnProperty(f))return y[f];var i=e[1];return g=new b(f),s[f]=g,g.load(i),g}function i(a,b){var c=j(a,b);return c.exports}function k(a,b){var c=!b||!1!==b.wait;return c&&!q?r.push([a,b]):void i(a,'/')}function l(){q=!0;for(var a;a=r.length;){var b=r;r=[];for(var c,d=0;d<a;d++)c=b[d],k(c[0],c[1]);if(!q)break}}var m;if('undefined'!=typeof window){if(m=window,m.$_mod)return;m.global=m}var n,o={},p=[],q=!1,r=[],s={},t={},u={},v={},w={},x={},y={};b.cache=s;var z=b.prototype;z.load=function(b){var c=this.id;if(b&&b.constructor===Function){var d=c.lastIndexOf('/'),e=c.substring(0,d),f=x[e]||(x[e]={}),g=function(a){var b=f[a]||(f[a]=j(a,e));return b.exports};g.resolve=function(b){if(!b)throw a('');var c=h(b,e);if(!c)throw a(b,e);return c[0]},g.cache=s,g.runtime=n,this.exports={},b.call(this,g,this.exports,this,c,e)}else this.exports=b;this.loaded=!0};var A=0,B=function(){A--,A||l()};z.__runtime=n={def:function(a,b,c){var d=c&&c.globals;if(o[a]=b,d)for(var e=m||global,f=0;f<d.length;f++){var g=d[f],h=y[a]=j(a);e[g]=h.exports}},installed:function(a,b,c){t[a+'/'+b]=c},run:k,main:function(a,b){v[a]=b},remap:function(a,b){w[a]=b},builtin:function(a,b){u[a]=b},require:i,resolve:h,join:d,ready:l,searchPath:function(a){p.push(a)},loaderMetadata:function(a){z.__loaderMetadata=a},pending:function(){return q=!1,A++,{done:B}}},m?m.$_mod=n:module.exports=n})();
$_mod.installed("trooba-website$1.0.0","marko","4.4.21");
$_mod.main("/marko$4.4.21/dist/runtime/vdom","");
$_mod.main("/marko$4.4.21/dist","");
$_mod.remap("/marko$4.4.21/dist/index","/marko$4.4.21/dist/index-browser");
$_mod.def("/marko$4.4.21/dist/runtime/createOut",function(a,b,c){function d(a){return e(a)}var e;d.ah_=function(a){e=a},c.exports=d});
$_mod.main("/marko$4.4.21/dist/loader","");
$_mod.remap("/marko$4.4.21/dist/loader/index","/marko$4.4.21/dist/loader/index-browser");
$_mod.remap("/marko$4.4.21/dist/loader/index-browser","/marko$4.4.21/dist/loader/index-browser-dynamic");
$_mod.def("/marko$4.4.21/dist/loader/index-browser-dynamic",function(a,b,c){"use strict";c.exports=function(b){return a(b)}});
$_mod.def('/marko$4.4.21/dist/index-browser',function(a,b){'use strict';b.createOut=a('/marko$4.4.21/dist/runtime/createOut'),b.load=a('/marko$4.4.21/dist/loader/index-browser-dynamic')});
$_mod.installed("marko$4.4.21","events-light","1.0.5");
$_mod.main("/events-light$1.0.5","src/index");
$_mod.def('/events-light$1.0.5/src/index',function(a,b,c){function d(a){return'function'==typeof a}function e(a){if(!d(a))throw TypeError('Invalid listener')}function f(a,b,c){switch(c.length){case 1:b.call(a);break;case 2:b.call(a,c[1]);break;case 3:b.call(a,c[1],c[2]);break;default:b.apply(a,j.call(c,1));}}function g(a,b,c,f){e(c);var g=a.$e||(a.$e={}),h=g[b];return h?d(h)?g[b]=f?[c,h]:[h,c]:f?h.unshift(c):h.push(c):g[b]=c,a}function h(){this.$e=this.$e||{}}var j=Array.prototype.slice;h.EventEmitter=h,h.prototype={$e:null,emit:function(a){var b=arguments,c=this.$e;if(c){var e=c&&c[a];if(!e){if('error'===a){var g=b[1];if(!(g instanceof Error)){var h=g;g=new Error('Error: '+h),g.context=h}throw g}return!1}if(d(e))f(this,e,b);else{e=j.call(e);for(var k,l=0,i=e.length;l<i;l++)k=e[l],f(this,k,b)}return!0}},on:function(a,b){return g(this,a,b,!1)},prependListener:function(a,b){return g(this,a,b,!0)},once:function(a,b){function c(){this.removeListener(a,c),b&&(b.apply(this,arguments),b=null)}return e(b),this.on(a,c),this},removeListener:function(a,b){e(b);var c,f=this.$e;if(f&&(c=f[a]))if(d(c))c===b&&delete f[a];else for(var g=c.length-1;0<=g;g--)c[g]===b&&c.splice(g,1);return this},removeAllListeners:function(a){var b=this.$e;b&&delete b[a]},listenerCount:function(a){var b=this.$e,c=b&&b[a];return c?d(c)?1:c.length:0}},c.exports=h});
$_mod.def('/marko$4.4.21/dist/morphdom/specialElHandlers',function(a,b,c){function d(a,b,c){a[c]!==b[c]&&(a[c]=b[c],a[c]?a.setAttribute(c,''):a.removeAttribute(c,''))}c.exports={OPTION:function(a,b){d(a,b,'selected')},INPUT:function(a,b){d(a,b,'checked'),d(a,b,'disabled'),a.value!=b.value&&(a.value=b.value),b.af_('value')||a.removeAttribute('value')},TEXTAREA:function(a,b){var c=b.value;a.value!=c&&(a.value=c);var d=a.firstChild;if(d){var e=d.nodeValue;if(e==c||!c&&e==a.placeholder)return;d.nodeValue=c}},SELECT:function(a,b){if(!b.af_('multiple')){for(var c=0,d=b._a_;d;){if('OPTION'==d._b_){if(d.af_('selected')){break}c++}d=d._c_}a.selectedIndex=c}}}});
$_mod.def('/marko$4.4.21/dist/runtime/vdom/VNode',function(a,b,c){function d(){}var e=a('/marko$4.4.21/dist/morphdom/specialElHandlers');d.prototype={aL_:function(a){this.aY_=a,this.aZ_=0,this.aP_=null,this.b__=null,this.aM_=null,this.aN_=null},get _a_(){var a=this.aP_;if(a&&a.aO_){var b=a._a_;return b||a._c_}return a},get _c_(){var a=this.aN_;if(!a){var b=this.aM_;if(b&&b.aO_)return b._c_}else if(a.aO_){var c=a._a_;return c||a._c_}return a},aD_:function(a){if(this.aZ_++,!this.aV_){var b=this.b__;a.aM_=this,b?b.aN_=a:this.aP_=a,this.b__=a}else if(a.aH_){var c=a.ae_;this.aT_=(this.aT_||'')+c}else throw TypeError();return a},aU_:function(){return this.aZ_==this.aY_&&this.aM_?this.aM_.aU_():this},actualize:function(a){for(var b=this.ab_(a),c=this._a_;c;)b.appendChild(c.actualize(a)),c=c._c_;if(1===this.ac_){var d=e[this._b_];d!==void 0&&d(b,this)}return b}},c.exports=d});
$_mod.installed("marko$4.4.21","raptor-util","3.2.0");
$_mod.def("/raptor-util$3.2.0/copyProps",function(a,b,c){c.exports=function(a,b){Object.getOwnPropertyNames(a).forEach(function(c){var d=Object.getOwnPropertyDescriptor(a,c);Object.defineProperty(b,c,d)})}});
$_mod.def("/raptor-util$3.2.0/inherit",function(a,b,c){function d(a,b,c){var d=a.prototype,f=a.prototype=Object.create(b.prototype,{constructor:{value:a,writable:!0,configurable:!0}});return d&&!1!==c&&e(d,f),a.$super=b,a.prototype=f,a}var e=a("/raptor-util$3.2.0/copyProps");c.exports=d,d._inherit=d});
$_mod.def('/marko$4.4.21/dist/runtime/vdom/VComment',function(a,b,c){function d(a){this.aL_(-1),this.ae_=a}var e=a('/marko$4.4.21/dist/runtime/vdom/VNode'),f=a('/raptor-util$3.2.0/inherit');d.prototype={ac_:8,ab_:function(a){return a.createComment(this.ae_)},aG_:function(){return new d(this.ae_)}},f(d,e),c.exports=d});
$_mod.def("/raptor-util$3.2.0/extend",function(a,b,c){c.exports=function(a,b){if(a||(a={}),b)for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}});
$_mod.def('/marko$4.4.21/dist/runtime/vdom/VDocumentFragment',function(a,b,c){function d(a){h(this,a),this.aM_=null,this.aN_=null}function e(){this.aL_(null)}var f=a('/marko$4.4.21/dist/runtime/vdom/VNode'),g=a('/raptor-util$3.2.0/inherit'),h=a('/raptor-util$3.2.0/extend');e.prototype={ac_:11,aO_:!0,aG_:function(){return new d(this)},ab_:function(a){return a.createDocumentFragment()}},g(e,f),d.prototype=e.prototype,c.exports=e});
$_mod.def('/marko$4.4.21/dist/runtime/vdom/VElement',function(a,b,c){function d(a,b){return!0===b?'':'object'==a?JSON.stringify(b):m(b)}function e(a,b,c,d){null===b?a.setAttribute(c,d):a.setAttributeNS(b,c,d)}function f(a,b,c){null===b?a.removeAttribute(c):a.removeAttributeNS(b,c)}function g(a){this.aP_=a.aP_,this.aM_=null,this.aN_=null,this.aQ_=a.aQ_,this.aR_=a.aR_,this.aS_=a.aS_,this._b_=a._b_,this.ax_=a.ax_,this.aT_=a.aT_,this.ad_=a.ad_}function h(a,b,c,d,e){this.aL_(c);var f,g;e&&(f=e.c),(this.ax_=d||0)&&d&n&&(g='http://www.w3.org/2000/svg'),this.aQ_=b||s,this.aR_=e||s,this.aS_=g,this._b_=a,this.aT_=null,this.ad_=f}var i=a('/marko$4.4.21/dist/runtime/vdom/VNode'),j=a('/raptor-util$3.2.0/inherit'),k='http://www.w3.org/1999/xlink',l='xlink:href',m=String,n=1,o=2,p=4,q=Object.defineProperty,r='href',s=Object.freeze({});h.prototype={am_:!0,ac_:1,aG_:function(){return new g(this)},e:function(a,b,c,d,e){var f=this.aD_(new h(a,b,c,d,e));return 0===c?this.aU_():f},ed:function(a,b,c,d,e){var f=this.aD_(h.aF_(a,b,c,d,e));return 0===c?this.aU_():f},n:function(a){return this.aD_(a.aG_()),this.aU_()},ab_:function(a){var b=this.aS_,c=this._b_,f=this.aQ_,g=this.ax_,h=void 0===b?a.createElement(c):a.createElementNS(b,c);for(var i in f){var j=f[i];if(!1!==j&&null!=j){var m=typeof j;'string'!=m&&(j=d(m,j)),i==l?e(h,k,r,j):h.setAttribute(i,j)}}return g&o&&(h.value=this.aT_),h._vattrs=f,h._vprops=this.aR_,h._vflags=g,h},af_:function(a){var b=this.aQ_[a];return null!=b&&!1!==b}},j(h,i);var t=g.prototype=h.prototype;['checked','selected','disabled'].forEach(function(a){q(t,a,{get:function(){var b=this.aQ_[a];return!1!==b&&null!=b}})}),q(t,'id',{get:function(){return this.aQ_.id}}),q(t,'value',{get:function(){var a=this.aT_;return null==a&&(a=this.aQ_.value),null==a?'':m(a)}}),q(t,'aV_',{get:function(){return this.ax_&o}}),h.aF_=function(a,b,c,d,e){var f=b&&b.xmlns;a=f?a:a.toUpperCase();var g=new h(a,b,c,d,e);return g.aS_=f,g},h.aW_=function(a){return a},h.aa_=function(a,b){var c,g,i=h.aW_,j=b.aQ_,m=a._vprops=b.aR_,n=a._vattrs;if(n){if(n==j)return;n=i(n,m,!0)}else{n={};var o=a.attributes;for(g=o.length-1;0<=g;--g){var q=o[g];if(!1!==q.specified&&(c=q.name,'data-marko'!==c)){var s=q.namespaceURI;s===k?n[l]=q.value:n[c]=q.value}}i(n,m,!1)}a._vattrs=j;var t,u,v=b.ax_;if(v&p&&(u=a._vflags)&p)return n['class']!==(t=j['class'])&&(a.className=t),n.id!==(t=j.id)&&(a.id=t),void(n.style!==(t=j.style)&&(a.style.cssText=t));j=i(j,m,!0);var w;for(c in j)if(t=j[c],w=null,c===l&&(w=k,c=r),null==t||!1===t)f(a,w,c);else if(n[c]!==t){var x=typeof t;'string'!=x&&(t=d(x,t)),e(a,w,c,t)}if(!j.id||!0===m.aX_)for(c in n)c in j||(c===l?a.removeAttributeNS(l,r):a.removeAttribute(c))},c.exports=h});
$_mod.def('/marko$4.4.21/dist/runtime/vdom/VText',function(a,b,c){function d(a){this.aL_(-1),this.ae_=a}var e=a('/marko$4.4.21/dist/runtime/vdom/VNode'),f=a('/raptor-util$3.2.0/inherit');d.prototype={aH_:!0,ac_:3,ab_:function(a){return a.createTextNode(this.ae_)},aG_:function(){return new d(this.ae_)}},f(d,e),c.exports=d});
$_mod.def('/marko$4.4.21/dist/runtime/vdom/vdom',function(a,b){function c(a,b){for(var c=a.firstChild;c;)b.aD_(d(c)),c=c.nextSibling}function d(a){switch(a.nodeType){case 1:var b,d=a.attributes,e=d.length;if(e){b={};for(var f=0;f<e;f++){var i=d[f],m=i.name;n.test(m)||(b[m]=i.value)}}var p=0,q=a.nodeName;'TEXTAREA'===q&&(p|=l);var r=new j(q,b,null,p,o);return'http://www.w3.org/1999/xhtml'!==a.namespaceURI&&(r.aS_=a.namespaceURI),r.aV_?r.aT_=a.value:c(a,r),r;case 3:return new k(a.nodeValue);case 8:return new g(a.nodeValue);case 11:var s=new h;return c(a,s),s;}}function e(a,b){if(!m.test(a))return new k(a);var c=b.createElement('body');c.innerHTML=a;for(var e=new h,f=c.firstChild;f;)e.aD_(d(f)),f=f.nextSibling;return e}var f=a('/marko$4.4.21/dist/runtime/vdom/VNode'),g=a('/marko$4.4.21/dist/runtime/vdom/VComment'),h=a('/marko$4.4.21/dist/runtime/vdom/VDocumentFragment'),j=a('/marko$4.4.21/dist/runtime/vdom/VElement'),k=a('/marko$4.4.21/dist/runtime/vdom/VText'),l=2,i='undefined'!=typeof document&&document,m=/[&<]/,n=/^xmlns(:|$)/,o={aX_:!0},p=f.prototype;p.t=function(a){var b,c=typeof a;return'string'!=c&&(null==a?a='':'object'==c&&a.toHTML&&(b=e(a.toHTML(),document))),this.aD_(b||new k(a.toString())),this.aU_()},p.c=function(a){return this.aD_(new g(a)),this.aU_()},p.aJ_=function(){return this.aD_(new h)},b.ao_=g,b.an_=h,b.am_=j,b.ap_=k,b.ba_=d,b.aq_=e,b.ar_=i});
$_mod.remap("/marko$4.4.21/dist/components/util","/marko$4.4.21/dist/components/util-browser");
$_mod.remap("/marko$4.4.21/dist/components/init-components","/marko$4.4.21/dist/components/init-components-browser");
$_mod.installed("marko$4.4.21","warp10","1.3.5");
$_mod.def('/warp10$1.3.5/src/finalize',function(a,b,c){function d(a,b,c){for(var d=a,e=0;e<c;e++)d=d[b[e]];return d}function e(a){if('Date'===a.type)return new Date(a.value);throw new Error('Bad type')}var f=Array.isArray;c.exports=function(a){if(!a)return a;var b=a.$$;if(b){var c,g=a.o;if(b&&(c=b.length))for(var h=0;h<c;h++){var i,j=b[h],k=j.r;i=f(k)?d(g,k,k.length):e(k);var l=j.l,m=l.length-1;if(-1==m){g=a.o=i;break}else{var n=d(g,l,m);n[l[m]]=i}}return b.length=0,null==g?null:g}return a}});
$_mod.def("/warp10$1.3.5/finalize",function(a,b,c){c.exports=a("/warp10$1.3.5/src/finalize")});
$_mod.def('/marko$4.4.21/dist/components/bubble',function(a,b,c){c.exports=['click','dblclick','mousedown','mouseup','dragstart','drag','drop','dragend','keydown','keypress','keyup','select','change','submit','reset','input','attach','detach']});
$_mod.def('/marko$4.4.21/dist/components/event-delegation',function(a,b){function c(a,b){var c=j(a),d=c[b];return'string'==typeof d&&(d=d.split(' '),3==d.length&&(d[2]=parseInt(d[2],10))),d}function d(a,b,c){var d=b[0],e=b[1],f=b[2],g=i[e];if(g){var h=g[d];if(!h)throw Error('Method not found: '+d);null!=f&&'number'==typeof f&&(f=g.v_[f]),f?h.apply(g,f.concat(c,a)):h.call(g,c,a)}}function e(b){var e=b.body;a('/marko$4.4.21/dist/components/bubble').forEach(function(a){e.addEventListener(a,function(b){var e=!1,f=b.stopPropagation;b.stopPropagation=function(){f.call(b),e=!0};var g=b.target;if(g){var h;do if((h=c(g,'on'+a))&&(d(g,h,b),e))break;while((g=g.parentNode)&&g.getAttribute)}})})}function f(){}var g=a('/marko$4.4.21/dist/components/util-browser'),h=g._M_,i=g.a_,j=g._N_,k='$MED'+h;b.p_=f,b.m_=f,b._I_=d,b._J_=c,b._O_=function(a){a[k]||(a[k]=!0,e(a))}});
$_mod.def('/marko$4.4.21/dist/components/ComponentDef',function(a,b,c){'use strict';function d(a,b,c,d,e){this._j_=c,this._k_=d,this._l_=e,this.h_=a,this.id=b,this.s_=null,this._m_=null,this._n_=void 0,this._o_=!1,this._p_=!1,this._q_=0}var e=/\[\]$/,f=a('/marko$4.4.21/dist/components/util-browser'),g=f._i_,h=a('/raptor-util$3.2.0/extend');d.prototype={_r_:function(){this._k_.length=this._l_},_s_:function(a){var b=this._m_;b?b.push(a):this._m_=[a]},elId:function(a){var b=this.id;return null==a?b:'string'==typeof a&&e.test(a)?this._j_._t_(b,a):b+'-'+a},e:function(a,b,c,d){b&&(this._n_||(this._n_=[])).push([a,b,c,d])},_u_:function(){var a=this.id;return null===a?this._j_._u_(this.q_):a+'-c'+this._q_++},d:function(a,b){return g(this,a,b)}},d._v_=function(a,b,c,d){var e=a[0],f=b[a[1]],g=a[2],i=a[3],j=i.s,k=i.w,l=f&&d._w_(f,e);if(i.b&&(l.v_=i.b),l.C_=!0,j){var m=i.u;m&&m.forEach(function(a){j[a]=void 0}),l.state=j}l.y_=g,k&&h(l,k);var n=i.p,o=i.e;return o&&l._g_(o,n),l.A_=c,{h_:l,s_:i.r,_n_:i.d,_p_:1===i._}},c.exports=d});
$_mod.remap("/marko$4.4.21/dist/components/registry","/marko$4.4.21/dist/components/registry-browser");
$_mod.remap("/marko$4.4.21/dist/components/loadComponent","/marko$4.4.21/dist/components/loadComponent-dynamic");
$_mod.def("/marko$4.4.21/dist/components/loadComponent-dynamic",function(a,b,c){"use strict";c.exports=function(b){return a(b)}});
$_mod.def("/marko$4.4.21/dist/components/State",function(a,b,c){function d(a,b){var c=a.constructor.prototype;b in c||Object.defineProperty(c,b,{get:function(){return this._f_[b]},set:function(a){this.N_(b,a,!1)}})}function e(a){this.h_=a,this._f_={},this.D_=!1,this.S_=null,this.R_=null,this._H_=null,Object.seal(this)}var f=a("/raptor-util$3.2.0/extend");e.prototype={l_:function(){var a=this;a.D_=!1,a.S_=null,a.R_=null,a._H_=null},L_:function(a){var b,c=this,d=this._f_;for(b in d)b in a||c.N_(b,void 0,!1,!1);for(b in a)c.N_(b,a[b],!0,!1)},N_:function(a,b,c,e){var g=this._f_;if(c&&d(this,a),e){var h=this._H_||(this._H_={});h[a]=!0}else if(g[a]===b)return;this.D_||(this.D_=!0,this.S_=g,this._f_=g=f({},g),this.R_={},this.h_.M_()),this.R_[a]=b,void 0===b?delete g[a]:g[a]=b},toJSON:function(){return this._f_}},c.exports=e});
$_mod.remap("/marko$4.4.21/dist/components/beginComponent","/marko$4.4.21/dist/components/beginComponent-browser");
$_mod.def("/marko$4.4.21/dist/components/beginComponent-browser",function(a,b,c){var d=a("/marko$4.4.21/dist/components/ComponentDef");c.exports=function(a){var b=this._k_,c=b.length,e=b[c-1],f=a.id,g=new d(a,f,this.X_,b,c);return e._s_(g),this.X_.f_[f]=g,b.push(g),g}});
$_mod.def('/marko$4.4.21/dist/components/ComponentsContext',function(a,b,c){'use strict';function d(a){this.s_=[],this.n_=i,this.o_=i,this.f_={},this.q_=a,this.Y_=void 0,this._x_=null,this._u_=g._y_(a)}function e(a,b,c){var e,g;if(b===void 0)g=a.global._B_,void 0===g&&(a.global._B_=g=new d(a)),e=new f(null,null,g),!1!==c&&g.s_.push(e);else{g=b.X_;var h=b._k_;e=h[h.length-1]}this.X_=g,this.q_=a,this._k_=[e]}var f=a('/marko$4.4.21/dist/components/ComponentDef'),g=a('/marko$4.4.21/dist/components/util-browser'),h=a('/marko$4.4.21/dist/components/beginComponent-browser'),i={};d.prototype={_z_:function(a){var b=null;return this.s_.forEach(function(c){var d=c._m_;d&&(e._A_(d,a),b=null==b?d:b.concat(d))}),this.s_=null,this.q_.global._B_=void 0,b},_C_:function(a,b){var c=!0===b?this.o_:this.n_;c===i&&(!0===b?c=this.o_={}:c=this.n_={}),c[a]=!0},_t_:function(a,b){var c=this._x_||(this._x_={}),d=a+'-'+b,e=c[d];return e=null==e?c[d]=0:++c[d],d.slice(0,-2)+'['+e+']'}},e.prototype={_D_:function(a){return new e(a,this)},_E_:h,_u_:function(){var a=this._k_,b=a[a.length-1];return b._u_()}},c.exports=b=e,b.__=function(a){return a.data._B_||(a.data._B_=new e(a))}});
$_mod.installed("marko$4.4.21","listener-tracker","2.0.0");
$_mod.main("/listener-tracker$2.0.0","lib/listener-tracker");
$_mod.def("/listener-tracker$2.0.0/lib/listener-tracker",function(a,b,c){function d(a){return!a.once}function e(a){this._=a,this.a=[],this.b=null}function f(a){this._=a}function g(){this.d=[]}var h=0,j=1,k="destroy";e.prototype={c:function(a,b){var c=this._,d=this.a;this.a=d.filter(function(d){var e=d[h],f=d[j],g=d[2];if(b){if(g&&a(e,g))return c.removeListener(e,g),!1;}else if(a(e,f))return c.removeListener(e,g||f),!1;return!0});var e=this.b;if(!this.a.length&&e){var f=this,g=e.d;e.d=g.filter(function(a){return a!==f})}},on:function(a,b){return this._.on(a,b),this.a.push([a,b]),this},once:function(a,b){var c=this,d=function(){c.c(function(a,b){return d===b},!0),b.apply(this,arguments)};return this._.once(a,d),this.a.push([a,b,d]),this},removeListener:function(a,b){return"function"==typeof a&&(b=a,a=null),b&&a?this.c(function(c,d){return a===c&&b===d}):b?this.c(function(a,c){return b===c}):a&&this.removeAllListeners(a),this},removeAllListeners:function(a){var b=this.a,c=this._;if(a)this.c(function(b){return a===b});else{for(var d,e=b.length-1;0<=e;e--)d=b[e],c.removeListener(d[h],d[j]);this.a.length=0}return this}},f.prototype={on:function(a,b){return this._.addEventListener(a,b),this},once:function(a,b){var c=this,d=function(){c._.removeEventListener(a,d),b()};return this._.addEventListener(a,d),this},removeListener:function(a,b){return this._.removeEventListener(a,b),this}},g.prototype={subscribeTo:function(a,b){for(var c,g,h,j=!b||!1!==b.addDestroyListener,l=this.d,m=0,i=l.length;m<i;m++)if(h=l[m],h._===a){c=h;break}return c||(d(a)&&(g=new f(a)),c=new e(g||a),j&&!g&&c.once(k,function(){c.removeAllListeners();for(var b=l.length-1;0<=b;b--)if(l[b]._===a){l.splice(b,1);break}}),c.b=this,l.push(c)),c},removeAllListeners:function(a,b){var c,d=this.d;if(a)for(c=d.length-1;0<=c;c--){var e=d[c];if(e._===a){e.removeAllListeners(b),e.a.length||d.splice(c,1);break}}else{for(c=d.length-1;0<=c;c--)d[c].removeAllListeners();d.length=0}}},b=c.exports=g,b.wrap=function(a){var b,c;return d(a)&&(b=new f(a)),c=new e(b||a),b||a.once(k,function(){c.a.length=0}),c},b.createTracker=function(){return new g}});
$_mod.remap("/marko$4.4.21/dist/runtime/nextTick","/marko$4.4.21/dist/runtime/nextTick-browser");
$_mod.def('/marko$4.4.21/dist/runtime/nextTick-browser',function(a,b,c){var d=window,e=d.setImmediate;if(!e)if(d.postMessage){var f=[],g='si';d.addEventListener('message',function(a){var b=a.source;if((b==d||!b&&a.data===g)&&(a.stopPropagation(),0<f.length)){var c=f.shift();c()}},!0),e=function(a){f.push(a),d.postMessage(g,'*')}}else e=setTimeout;c.exports=e});
$_mod.def('/marko$4.4.21/dist/components/update-manager',function(a,b){'use strict';function c(){if(h.length)try{e(h)}finally{f=!1}}function d(){f||(f=!0,i(c))}function e(a){for(var b,c=0;c<a.length;c++)b=a[c],b._h_();a.length=0}var f=!1,g=[],h=[],i=a('/marko$4.4.21/dist/runtime/nextTick-browser');b.P_=function(a){var b=g.length;if(b){var c=g[b-1];c.a__?c.a__.push(a):c.a__=[a]}else d(),h.push(a)},b.W_=function(a){var b={a__:null};g.push(b);try{a()}finally{try{b.a__&&e(b.a__)}finally{g.length--}}}});
$_mod.main("/marko$4.4.21/dist/morphdom","");
$_mod.def('/marko$4.4.21/dist/morphdom/index',function(a,b,c){'use strict';function d(a,b){return a.nodeName===b._b_}function e(a,b){return a.getElementById(b)}var f='undefined'==typeof document?void 0:document,g=a('/marko$4.4.21/dist/morphdom/specialElHandlers'),h=a('/marko$4.4.21/dist/runtime/vdom/VElement').aa_,j=1,k=3,l=8;c.exports=function(a,b,c,m,n,o,p,q){function r(a){p(a);for(var b=a.firstChild;b;)r(b),b=b.nextSibling}function s(a,b){var f=a.ab_(v);b&&b.appendChild(f),m(f,c);for(var h=a._a_;h;){var i=null,j=h.id;if(j){var k=e(v,j);k&&d(h,k)&&(t(k,h,!1),f.appendChild(i=k))}i||s(h,f),h=h._c_}if(1===a.ac_){var l=g[a.nodeName];l!==void 0&&l(f,a)}return f}function t(a,b,f){var i=b.id,m=b._b_;if(!1===f){i&&(x[i]=!0);var o=b.ad_;if(o!==void 0){var p=a._vprops;if(p!==void 0&&o===p.c)return}if(!0===n(a,i,c))return;h(a,b)}if(!0!==q(a,i,c)){if('TEXTAREA'!==m){var r,u,y,z,A,B=b._a_,C=a.firstChild;outer:for(;B;){for(z=B._c_,r=B.id;C;){y=C.nextSibling,u=C.id;var D=C.nodeType,E=void 0;if(D===B.ac_&&(D===j?(r?r!==u&&((A=e(v,r))?C.nextSibling===A?E=!1:(a.insertBefore(A,C),y=C.nextSibling,w.push(C),C=A):E=!1):u&&(E=!1),E=!1!==E&&!0===d(C,B),!0===E&&t(C,B,!1)):(D===k||D===l)&&(E=!0,C.nodeValue=B.ae_)),!0===E){B=z,C=y;continue outer}w.push(C),C=y}r&&(A=e(v,r))&&d(A,B)?(a.appendChild(A),t(A,B,!1)):s(B,a),B=z,C=y}for(;C;)w.push(C),C=C.nextSibling}var F=g[m];F&&F(a,b)}}var u,v=a.ownerDocument||f,w=[],x={},y=a,z=y.nodeType,A=b.ac_,B=!1,C=!0;if(z==j)A==j?!d(a,b)&&(u=b.ab_(v),B=!0,w.push(a)):(w.push(a),u=b.ab_(v),C=!1);else if(z==k||z==l){if(A==z)return y.nodeValue=b.ae_,y;w.push(a),u=s(b),C=!1}!0==C&&t(u||y,b,B),u&&a.parentNode&&a.parentNode.replaceChild(u,a);for(var D=0,i=w.length;D<i;D++){var E=w[D],F=E.id;if(!F||x[F]===void 0){var G=E.parentNode;if(null!==G||E===a){if(!1==o(E))continue;null!==G&&G.removeChild(E),r(E)}}}return u||y}});
$_mod.def('/marko$4.4.21/dist/components/Component',function(a,b,c){'use strict';function d(){return this}function e(a){a()}function f(a,b){for(var c=b._w;c;){var d=c.id,e=a.f_[d];if(e&&c.g_==e.h_.g_)break;var f=c.i_;if(f)c=f;else{c.j_();break}}}function g(a,b,c,d){c.push(a),d&&(c=d.concat(c));var e=w[a.k_],f=e[b];if(!f)throw Error('Method not found: '+b);f.apply(e,c)}function h(a,b,c){var d=a.id,e=null==b?d:d+'-'+b;return null!=c&&(e+='['+c+']'),e}function i(a,b,c){var d,e;for(var f in b)if(b.hasOwnProperty(f)){if(d=a['update_'+f],d)(e||(e=[])).push([f,d]);else return}return e&&(e.forEach(function(e){var f=e[0];d=e[1];var g=b[f],h=c[f];d.call(a,g,h)}),x(a,'update'),a.l_()),!0}function j(a,b,c){if(b!=c){if(null==b||null==c)return!0;var d=Object.keys(b),e=Object.keys(c),f=d.length;if(f!==e.length)return!0;for(var g,h=0;h<f;h++)if(g=d[h],b[g]!==c[g])return!0}return!1}function k(a){1===a.nodeType&&y(a)}function l(a){return H.m_(a)}function m(a,b,c){if(b){var d=c.n_[b];if(!0===d)return J;f(c,a)}}function n(a,b,c){if(b){var d=c.o_[b];if(!0===d)return J}}function o(a,b){H.p_(a,b.q_)}function p(a){B.call(this),this.id=a,this.el=null,this.r_=null,this.s_=null,this.t_=null,this.u_=null,this.v_=null,this.w_=null,this.k_=null,this.x_=null,this.y_=void 0,this.z_=!1,this.A_=void 0,this.B_=!1,this.C_=!1,this.D_=!1,this.E_=!1,this.F_=void 0}var q,r,s=a('/marko$4.4.21/dist/runtime/dom-insert'),t=a('/marko$4.4.21/dist/runtime/createOut'),u=a('/marko$4.4.21/dist/components/ComponentsContext').__,v=a('/marko$4.4.21/dist/components/util-browser'),w=v.a_,x=v.b_,y=v.c_,z=v.d_,A=v.e_,B=a('/events-light$1.0.5/src/index'),C=a('/marko$4.4.21/dist/runtime/RenderResult'),D=a('/listener-tracker$2.0.0/lib/listener-tracker'),E=a('/raptor-util$3.2.0/inherit'),F=a('/marko$4.4.21/dist/components/update-manager'),G=a('/marko$4.4.21/dist/morphdom/index'),H=a('/marko$4.4.21/dist/components/event-delegation'),I=Array.prototype.slice,J=!0,K={addDestroyListener:!1},L=B.prototype.emit;p.prototype=r={G_:!0,subscribeTo:function(a){if(!a)throw TypeError();var b=this.t_||(this.t_=new D),c=a.G_?q:K;return b.subscribeTo(a,c)},emit:function(a){var b,c=this.w_;if(c&&(b=c[a])){var d=b[0],e=b[1],f=I.call(arguments,1);g(this,d,f,e)}return this.listenerCount(a)?L.apply(this,arguments):void 0},getElId:function(a,b){return h(this,a,b)},getEl:function(a,b){var c=this.F_;return null==a?this.el||A(c,h(this)):A(c,h(this,a,b))},getEls:function(a){for(var b,c=[],d=0;b=this.getEl(a,d);)c.push(b),d++;return c},getComponent:function(a,b){return w[h(this,a,b)]},getComponents:function(a){for(var b,c=[],d=0;b=w[h(this,a,d)];)c.push(b),d++;return c},destroy:function(){if(!this.B_){var a=this.els;this.j_();var b=this.H_;b&&b.forEach(function(a){a.I_()}),a.forEach(function(a){z(a);var b=a.parentNode;b&&b.removeChild(a)})}},j_:function(){if(!this.B_){x(this,'destroy'),this.B_=!0,this.el=null,this.J_();var a=this.t_;a&&(a.removeAllListeners(),this.t_=null),delete w[this.id]}},isDestroyed:function(){return this.B_},get state(){return this.r_},set state(a){var b=this.r_;(b||a)&&(!b&&(b=this.r_=new this.K_(this)),b.L_(a||{}),b.D_&&this.M_(),!a&&(this.r_=null))},setState:function(a,b){var c=this.r_;if('object'==typeof a){var d=a;for(var e in d)d.hasOwnProperty(e)&&c.N_(e,d[e],!0)}else c.N_(a,b,!0)},setStateDirty:function(a,b){var c=this.r_;1==arguments.length&&(b=c[a]),c.N_(a,b,!0,!0)},replaceState:function(a){this.r_.L_(a)},get input(){return this.y_},set input(a){this.E_?this.y_=a:this.O_(a)},O_:function(a,b,c){b=b||this.onInput;var d,e=this.y_;return this.y_=void 0,b&&(this.E_=!0,d=b.call(this,a||{},c),this.E_=!1),a=this.x_=d||a,(this.D_=j(this,e,a))&&this.M_(),void 0===this.y_&&(this.y_=a),a},forceUpdate:function(){this.D_=!0,this.M_()},M_:function(){this.C_||F.P_(this)},update:function(){if(!0!==this.B_&&!1!==this.Q_){var a=this.y_,b=this.r_;!1===this.D_&&null!==b&&!0===b.D_&&i(this,b.R_,b.S_,b)&&(b.D_=!1),!0===this.Q_&&!1!==this.shouldUpdate(a,b)&&this.T_(!1),this.l_()}},get Q_(){return!0===this.D_||null!==this.r_&&!0===this.r_.D_},l_:function(){this.D_=!1,this.C_=!1,this.x_=null;var a=this.r_;a&&a.l_()},shouldUpdate:function(){return!0},b_:function(a,b,c){x(this,a,b,c)},T_:function(a){var b=this,c=b.U_;if(!c)throw TypeError();var e=b.V_({}),f=b.F_,g=this.x_||this.y_,h=this.A_;F.W_(function(){var i=c.createOut||t,j=i(h);j.sync(),j.F_=b.F_,!0===a&&(j.e=j.be=j.ee=j.t=j.h=j.w=j.write=j.html=d);var p=u(j),q=p.X_;q.Y_=b,q.Z_=a,c(g,j);var r=new C(j);if(!0!==a)for(var s,v,w=j.___(),x=w._a_;x;)v=x._b_,s='HTML'===v?document.documentElement:'BODY'===v?document.body:'HEAD'===v?document.head:e[x.id],s&&G(s,x,q,o,m,l,k,n),x=x._c_;r.afterInsert(f),j.emit('_d_')}),this.l_()},V_:function(a){var b,c,d=this.els;for(b=0,c=d.length;b<c;b++){var e=d[b];a[e.id]=e}var f=this.H_;if(f)for(b=0,c=f.length;b<c;b++){var g=f[b];g.V_(a)}return a},J_:function(){var a=this.u_;a&&(a.forEach(e),this.u_=null)},get _e_(){var a=this.r_;return a&&a._f_},_g_:function(a,b){var c=this.w_={};this.k_=b,a.forEach(function(a){var b=a[0],d=a[1],e=a[2];c[b]=[d,e]})}},r.elId=r.getElId,r._h_=r.update,r.I_=r.destroy,s(r,function(a){var b=this.els,c=b.length;if(1<c){var d=a.F_.createDocumentFragment();return b.forEach(function(a){d.appendChild(a)}),d}return b[0]},function(a){return a}),E(p,B),c.exports=p});
$_mod.def('/marko$4.4.21/dist/components/defineComponent',function(a,b,c){'use strict';var d=a('/marko$4.4.21/dist/components/State'),e=a('/marko$4.4.21/dist/components/Component'),f=a('/raptor-util$3.2.0/inherit');c.exports=function(a,b){function c(a){e.call(this,a)}function g(a){d.call(this,a)}if(a.G_)return a;var h,i=function(){},j=typeof a;if('function'==j)h=a.prototype;else if('object'==j)h=a;else throw TypeError();return i.prototype=h,h.G_||f(i,e),h=c.prototype=i.prototype,c.G_=!0,f(g,d),h.K_=g,h.U_=b,c}});
$_mod.def('/marko$4.4.21/dist/components/registry-browser',function(a,b){function c(a){var b=h[a];if(!b){if(b=g[a],b=b?b():e(a),!b)throw Error('Not found: '+a);h[a]=b}return b}function d(a){var b=i[a];return b?b:(b=c(a),b=b.Component||b,b.G_||(b=f(b,b.renderer)),b.prototype.g_=a,i[a]=b,b)}var e=a('/marko$4.4.21/dist/components/loadComponent-dynamic'),f=a('/marko$4.4.21/dist/components/defineComponent'),g={},h={},i={};b._P_=function(a,b){return b(),g[a]=b,delete h[a],delete i[a],a},b._w_=function(a,b){var c=d(a);return new c(b)}});
$_mod.def('/marko$4.4.21/dist/components/init-components-browser',function(a,b){'use strict';function c(a,b,c){var d=a[b];if(!d)throw Error('Method not found: '+b);d.apply(a,c)}function d(a,b,c){return a.addEventListener(b,c,!1),function(){a.removeEventListener(b,c)}}function e(a,b,e,f,g,h){var i=d(b,e,function(d){var e=[d,b];g&&(e=g.concat(e)),c(a,f,e)});h.push(i)}function f(a,b){var c=a.h_;if(c&&c.G_){c.l_(),c.F_=b;var d=a._o_,f=c.id,g=a.s_;if(g){var h,i=[];g.forEach(function(a){var d=f+'-'+a,e=n[d];if(e)e.i_=c,h?h.push(e):h=c.H_=[e];else{var g=o(b,d);g&&(g._w=c,i.push(g))}}),c.el=i[0],c.els=i,n[f]=c}else if(!d){var j=o(b,f);j._w=c,c.el=j,c.els=[j],n[f]=c}if(a._p_)return void c.T_(!0);d&&c.J_();var k=a._n_;if(k){var l=[];k.forEach(function(a){var d=a[0],f=a[1],g=o(b,a[2]),h=a[3];e(c,g,d,f,h,l)}),l.length&&(c.u_=l)}c.z_?c.b_('update'):(c.z_=!0,c.b_('mount'))}}function g(a,b){j._O_(b),b=b||l;for(var c,d=0,e=a.length;d<e;d++)c=a[d],c._m_&&g(c._m_,b),f(c,b)}function h(a,b){if(!a)return a=k.$components,a&&a.forEach&&a.forEach(function(a){h(a,b)}),void(k.$components={concat:h});j._O_(b||l),a=i(a);var c=a.w,d=a.t,e=window.$MG;e&&(r=i(e),delete window.$MG),c.forEach(function(a){a=p._v_(a,d,r,q),f(a,b||l)})}var i=a('/warp10$1.3.5/finalize'),j=a('/marko$4.4.21/dist/components/event-delegation'),k=window,l=document,m=a('/marko$4.4.21/dist/components/util-browser'),n=m.a_,o=m.e_,p=a('/marko$4.4.21/dist/components/ComponentDef'),q=a('/marko$4.4.21/dist/components/registry-browser'),r={};b._A_=g,b._L_=h});
$_mod.def("/marko$4.4.21/dist/components/boot",function(a){a("/marko$4.4.21/dist/components/init-components-browser")._L_()});
$_mod.run("/marko$4.4.21/dist/components/boot");
$_mod.def('/marko$4.4.21/dist/components/util-browser',function(a,b){function c(a){var b=a._w;if(b)for(b.j_(),a._w=null;b=b.i_;)b.i_=null,b.j_()}function d(a){for(var b=a.firstChild;b;)1===b.nodeType&&(c(b),d(b)),b=b.nextSibling}function e(){return'b'+g.uid++}var f=a('/raptor-util$3.2.0/extend'),g=f(window.$MG,{uid:0});window.$MG=g;var h=g.uid++,i=document,j={},k={};['create','render','update','mount','destroy'].forEach(function(a){k[a]='on'+a[0].toUpperCase()+a.substring(1)}),b._M_=h,b.a_={},b._Q_=function(a,b){if(a){var c='string'==typeof a?(b||i).getElementById(a):a;if(c){for(var d=c._w;d;){var e=d.i_;if(e)d=e;else break}return d}}},b.b_=function(a,b,c,d){var e=a[k[b]];e!==void 0&&e.call(a,c,d),a.emit(b,c,d)},b.c_=c,b.d_=d,b._y_=function(){return e},b.e_=function(a,b){return a.getElementById(b)},b._i_=function(a,b,c){if(b){var d=a.id;if(c){var e=a._j_.Z_;if(!0===e){var f=a.h_,g=f.v_||(f.v_=[]);return void g.push(c)}return[b,d,c]}return[b,d]}},b._N_=function(a){var b=a._vprops;return void 0===b&&(b=a.getAttribute('data-marko'),b&&(b=JSON.parse(b)),a._vprops=b=b||j),b}});
$_mod.def('/marko$4.4.21/dist/runtime/dom-insert',function(a,b,c){function d(a){if('string'==typeof a){var b=a;if(a=document.getElementById(b),!a)throw Error('Not found: '+b)}return a}function e(a){i(a),h(a)}var f=a('/raptor-util$3.2.0/extend'),g=a('/marko$4.4.21/dist/components/util-browser'),h=g.c_,i=g.d_;c.exports=function(a,b,c){f(a,{appendTo:function(a){a=d(a);var e=b(this,a);return a.appendChild(e),c(this,a)},prependTo:function(a){a=d(a);var e=b(this,a);return a.insertBefore(e,a.firstChild||null),c(this,a)},replace:function(a){a=d(a);var f=b(this,a);return e(a),a.parentNode.replaceChild(f,a),c(this,a)},replaceChildrenOf:function(a){a=d(a);for(var f,g=b(this,a),h=a.firstChild;h;)f=h.nextSibling,1==h.nodeType&&e(h),h=f;return a.innerHTML='',a.appendChild(g),c(this,a)},insertBefore:function(a){a=d(a);var e=b(this,a);return a.parentNode.insertBefore(e,a),c(this,a)},insertAfter:function(a){a=d(a);var e=b(this,a);e=e;var f=a.nextSibling,g=a.parentNode;return f?g.insertBefore(e,f):g.appendChild(e),c(this,a)}})}});
$_mod.def('/marko$4.4.21/dist/runtime/RenderResult',function(a,b,c){function d(a){var b=a._B_;if(!b)throw Error('No component');return b}function e(a){this.out=this.q_=a,this._B_=void 0}var f=a('/marko$4.4.21/dist/runtime/dom-insert');c.exports=e;var g=e.prototype={getComponent:function(){return this.getComponents()[0]},getComponents:function(a){if(void 0===this._B_)throw Error('Not added to DOM');var b=d(this),c=[];return b.forEach(function(b){var d=b.h_;(!a||a(d))&&c.push(d)}),c},afterInsert:function(a){var b=this.q_,c=b.global._B_;return this._B_=c?c._z_(a):null,this},getNode:function(a){return this.q_.ag_(a)},getOutput:function(){return this.q_.___()},toString:function(){return this.q_.toString()},document:'undefined'!=typeof document&&document};f(g,function(a,b){return a.getNode(b.ownerDocument)},function(a,b){return a.afterInsert(b.ownerDocument)})});
$_mod.def('/marko$4.4.21/dist/runtime/vdom/AsyncVDOMBuilder',function(a,b,c){function d(a){this.as_=1,this.at_=new f,this.au_=a,this.av_=null,this.aw_=0,this.ax_=0}function e(a,b,c){b||(b=new i),c?c.as_++:c=new d(b),this.data={},this.r_=c,this.ay_=b,this.global=a||{},this.az_=[b],this.aA_=!1,this.aB_=void 0,this._X_=null}var f=a('/events-light$1.0.5/src/index'),g=a('/marko$4.4.21/dist/runtime/vdom/vdom'),h=g.am_,i=g.an_,j=g.ao_,k=g.ap_,l=g.aq_,m=a('/marko$4.4.21/dist/runtime/RenderResult'),n=g.ar_,o=1,p=2,q='update',r='finish',s=e.prototype={ai_:!0,F_:n,aC_:function(a,b,c){var d=this.ay_;return void 0!==d&&(d.aD_(a),!0===c&&(this.az_.push(a),this.ay_=a)),0===b?this:a},element:function(a,b,c,d,e){var f=new h(a,b,c,d,e);return this.aC_(f,c)},aE_:function(a,b,c,d,e){var f=h.aF_(a,b,c,d,e);return this.aC_(f,c)},n:function(a){return this.node(a.aG_())},node:function(a){var b=this.ay_;return void 0!==b&&b.aD_(a),this},text:function(a){var b=typeof a;if('string'!=b){if(null==a)return;if('object'==b&&a.toHTML)return this.h(a.toHTML());a=a.toString()}var c=this.ay_;if(c!==void 0){var d=c.lastChild;d&&d.aH_?d.ae_+=a:c.aD_(new k(a))}return this},comment:function(a){return this.node(new j(a))},html:function(a){if(null!=a){var b=l(a,this.F_||document);this.node(b)}return this},beginElement:function(a,b,c,d,e){var f=new h(a,b,c,d,e);return this.aC_(f,c,!0),this},aI_:function(a,b,c,d,e){var f=h.aF_(a,b,c,d,e);return this.aC_(f,c,!0),this},endElement:function(){var a=this.az_;a.pop(),this.ay_=a[a.length-1]},end:function(){var a=this.r_;this.ay_=void 0;var b=--a.as_;return a.ax_&p||0!=b-a.aw_||(a.ax_|=p,a.aw_=0,a.at_.emit('last')),0==b&&(a.ax_|=o,a.at_.emit(r,this.aj_())),this},error:function(a){try{this.emit('error',a)}finally{this.end()}return this},beginAsync:function(a){if(this.aA_)throw Error('Not allowed');var b=this.r_;a&&a.last&&b.aw_++;var c=this.ay_.aJ_(),d=new e(this.global,c,b);return b.at_.emit('beginAsync',{out:d,parentOut:this}),d},createOut:function(){return new e(this.global)},flush:function(){var a=this.r_.at_;a.listenerCount(q)&&a.emit(q,new m(this))},___:function(){return this.r_.au_},aj_:function(){return this.aK_||(this.aK_=new m(this))},on:function(a,b){var c=this.r_;return a===r&&c.ax_&o?b(this.aj_()):c.at_.on(a,b),this},once:function(a,b){var c=this.r_;return a===r&&c.ax_&o?(b(this.aj_()),this):(c.at_.once(a,b),this)},emit:function(a,b){var c=this.r_.at_;switch(arguments.length){case 1:c.emit(a);break;case 2:c.emit(a,b);break;default:c.emit.apply(c,arguments);}return this},removeListener:function(){var a=this.r_.at_;return a.removeListener.apply(a,arguments),this},sync:function(){this.aA_=!0},isSync:function(){return this.aA_},onLast:function(a){var b=this.r_,c=b.av_;if(!c){c=b.av_=[];var d=0,e=function(){if(d!==c.length){var a=c[d++];a(e)}};this.once('last',function(){e()})}return c.push(a),this},ag_:function(a){var b=this.aB_;if(!b){var c=this.___();b=this.aB_=c.actualize(a||this.F_||document)}return b},toString:function(){var a=this.ag_(),b='';if(a.hasChildNodes())for(var c,d=a.childNodes,e=0;e<d.length;e++)c=d[e],b+=c.outerHTML||c.nodeValue;return b},then:function(a,b){var c=this,d=new Promise(function(a,b){c.on('error',b).on(r,function(b){a(b)})});return Promise.resolve(d).then(a,b)},catch:function(a){return this.then(void 0,a)},isVDOM:!0,c:function(a){this._X_=a}};s.e=s.element,s.ed=s.aE_,s.be=s.beginElement,s.bed=s.aI_,s.ee=s.endElement,s.t=s.text,s.h=s.w=s.write=s.html,c.exports=e});
$_mod.def('/marko$4.4.21/dist/runtime/renderable',function(a,b,c){function d(a,b,c,d){try{a(b,c),d&&c.end()}catch(a){var e=c.end;c.end=function(){},setTimeout(function(){c.end=e,c.error(a)},0)}return c}var e=a('/marko$4.4.21/dist/runtime/createOut'),f=a('/raptor-util$3.2.0/extend');c.exports=function(a,b){var c=b&&(b.renderer||b.render||b),g=a.createOut||b.createOut||e;return f(a,{createOut:g,renderToString:function(a,b){var e=a||{},f=c||this._,h=e.$global,i=g(h);return i.global.template=this,h&&(e.$global=void 0),b?(i.on('finish',function(){b(null,i.toString(),i)}).once('error',b),d(f,e,i,!0)):(i.sync(),f(e,i),i.toString())},renderSync:function(a){var b=a||{},d=c||this._,e=b.$global,f=g(e);return f.sync(),f.global.template=this,e&&(b.$global=void 0),d(b,f),f.aj_()},render:function(a,b){var e,h,i,j,k=c||this._,l=this.ak_,m=!0;return a?(i=a,(j=a.$global)&&(i.$global=void 0)):i={},b&&b.ai_?(h=b,m=!1,f(b.global,j)):'function'==typeof b?(h=g(j),e=b):h=g(j,b,null,l),e&&h.on('finish',function(){e(null,h.aj_())}).once('error',e),j=h.global,j.template=j.template||this,d(k,i,h,m)}})}});
$_mod.def('/marko$4.4.21/dist/runtime/vdom/index',function(a,b){'use strict';function c(a,b){this.path=a,this._=b,this.meta=void 0}function d(a,b,c){return new e(a,b,c)}a('/marko$4.4.21/dist/index-browser');var e=a('/marko$4.4.21/dist/runtime/vdom/AsyncVDOMBuilder'),f=a('/marko$4.4.21/dist/runtime/renderable');b.t=function(a){return new c(a)};var g=c.prototype={createOut:d};f(g),b.Template=c,b.al_=d,a('/marko$4.4.21/dist/runtime/createOut').ah_(d)});
$_mod.def("/marko$4.4.21/dist/vdom",function(a,b,c){c.exports=a("/marko$4.4.21/dist/runtime/vdom/index")});
$_mod.remap("/marko$4.4.21/dist/components/helpers","/marko$4.4.21/dist/components/helpers-browser");
$_mod.main("/marko$4.4.21/dist/components","");
$_mod.remap("/marko$4.4.21/dist/components/index","/marko$4.4.21/dist/components/index-browser");
$_mod.def('/marko$4.4.21/dist/components/index-browser',function(a,b){var c=a('/marko$4.4.21/dist/components/util-browser'),d=a('/marko$4.4.21/dist/components/init-components-browser');a('/marko$4.4.21/dist/components/ComponentsContext')._A_=d._A_,b.getComponentForEl=c._Q_,b.init=d._L_});
$_mod.def('/marko$4.4.21/dist/components/renderer',function(a,b,c){function d(a,b,c){if('#'==b[0])return b.substring(1);var d;return d=m.test(b)?a._t_(c,b):c+'-'+b,d}function e(a,b,c){var d=a.V_({});for(var e in d){var f=d[e];b.element(f.tagName,{id:e}),c._C_(e)}return a.l_(),!0}function f(a){var b=a.parentOut,c=a.out,d=b.data._B_;if(d!==void 0){var e=d._D_(c);c.data._B_=e}c._X_=b._X_}function g(a,b,c){c=c||{};var g=c.onInput,h=b.type,k=b.roots,m=b.id,r=!0===b.split,s=r;return function(b,t){var u=t.global;!1!==t.isSync()||u[q]||(u[q]=!0,t.on('beginAsync',f));var v,w,x,y=l(t),z=y.X_,A=z.Y_,B=void 0!==A,C=m;if(A)C=A.id,v=!0,z.Y_=null;else{var D=t._X_;if(D){t._X_=null,x=D[0],x&&(x=x.id);var E=D[1];null!=E&&(E=E.toString()),C=C||d(z,E,x),w=D[2]}}if(C=C||y._u_(),p)A=n._w_(c,C,b,t,h,w,x),b=A._F_,A._F_=void 0;else{if(!A){if(B&&(A=i[C],A&&A.g_!==h&&(A=void 0)),A)v=!0;else if(v=!1,A=n._w_(h,C),!0==s){s=!1;var F='function'==typeof c?c.prototype:c;o(F,A.constructor.prototype)}if(A.C_=!0,void 0!==w&&A._g_(w,x),!1===v&&j(A,'create',b,t),b=A.O_(b,g,t),!0===v&&(!1===A.Q_||!1===A.shouldUpdate(b,A.r_)))return void e(A,t,z)}A.A_=u,j(A,'render',t)}var G=y._E_(A,r);G.s_=k,G._o_=v,a(b,t,G,A,A._e_),G._r_()}}var h=a('/marko$4.4.21/dist/components/util-browser'),i=h.a_,j=h.b_,k=a('/marko$4.4.21/dist/components/ComponentsContext'),l=k.__,m=/\[\]$/,n=a('/marko$4.4.21/dist/components/registry-browser'),o=a('/raptor-util$3.2.0/copyProps'),p=!0===h._Y_,q='$wa';c.exports=g,g._U_=d,g._V_=e,g._W_=f});
$_mod.def('/marko$4.4.21/dist/components/helpers-browser',function(a,b){a('/marko$4.4.21/dist/components/index-browser'),b.c=a('/marko$4.4.21/dist/components/defineComponent'),b.r=a('/marko$4.4.21/dist/components/renderer'),b.rc=a('/marko$4.4.21/dist/components/registry-browser')._P_});
$_mod.def('/trooba-website$1.0.0/routes/index/components/home-hero/component',function(a,b,c){function d(a){setTimeout(()=>{a.classList.remove('home-fade-in'),a.classList.add('home-fade-out')},4500)}let e=['Bring structure to your application service invocations','Split your application data flow into independent testable components'];for(let d=0;d<e.length;d++)e[d]=`<span class="home-fade-in">${e[d]}</span>`;c.exports={onMount(){const a=this.getEl('tagline'),b=a.innerHTML,c=`<span class="home-fade-in">${b}</span>`;d(a);let f=0;setInterval(()=>{a.classList.remove('home-fade-out');const b=e[f];f===e.length?(a.innerHTML=c,f=0):(a.innerHTML=b,f++),d(a)},5e3)}}});
$_mod.def('/marko$4.4.21/dist/runtime/helpers',function(a,b,c){'use strict';function d(a){return'function'==typeof a}function e(a,b){var c;if(a)if('string'==typeof a)a&&b.push(a);else if('number'==typeof(c=a.length))for(var d=0;d<c;d++)e(a[d],b);else if('object'==typeof a)for(var f in a)if(a.hasOwnProperty(f)){var g=a[f];g&&b.push(f)}}function f(a){function b(a,c){b.renderer(a,c)}return b.renderer=function(c,e){var f=a.renderer||a._||a.render;if(!d(f))throw Error('Invalid renderer');b.renderer=f,f(c,e)},b}function g(a){var b=a.renderer||a._;return b?b:d(a)?a:f(a)}var h=Array.isArray;c.exports={s:function(a){return null==a?'':a.toString()},f:function(a,b){if(h(a))for(var c=0;c<a.length;c++)b(a[c]);else d(a)&&a(b)},t:function(a){return a&&(a=g(a)),a},cl:function(){var a=[];return e(arguments,a),a.join(' ')}}});
$_mod.def('/marko$4.4.21/dist/runtime/vdom/helpers',function(a,b,c){'use strict';var d=a('/marko$4.4.21/dist/runtime/vdom/vdom'),e=d.am_,f=d.ap_,g=a('/marko$4.4.21/dist/runtime/helpers'),h=a('/raptor-util$3.2.0/extend'),i=g.cl,j=h({e:function(a,b,c,d,f){return new e(a,b,c,d,f)},t:function(a){return new f(a)},const:function(a){var b=0;return function(){return a+b++}},ca:function(a){return a?'string'==typeof a?a:i(a):null}},g);c.exports=j});
$_mod.installed("trooba-website$1.0.0","marko-magic","1.0.0");
$_mod.remap("/marko-magic$1.0.0/components/asset-var/renderer","/marko-magic$1.0.0/components/asset-var/renderer.browser");
$_mod.def("/marko-magic$1.0.0/components/asset-var/renderer.browser",function(a,b,c){c.exports=function(b,c){var d=b.renderBody,e=b.values;d&&d.apply(null,[c].concat(e.map((b)=>a(b))))}});
$_mod.main("/trooba-website$1.0.0/routes/index/components/github-link","index.marko");
$_mod.installed("trooba-website$1.0.0","whatwg-fetch","2.0.3");
$_mod.main("/whatwg-fetch$2.0.3","fetch");
$_mod.def('/whatwg-fetch$2.0.3/fetch',function(){(function(a){'use strict';function b(a){if('string'!=typeof a&&(a+=''),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(a))throw new TypeError('Invalid character in header field name');return a.toLowerCase()}function c(a){return'string'!=typeof a&&(a+=''),a}function d(a){var b={next:function(){var b=a.shift();return{done:void 0===b,value:b}}};return r.iterable&&(b[Symbol.iterator]=function(){return b}),b}function e(a){this.map={},a instanceof e?a.forEach(function(a,b){this.append(b,a)},this):Array.isArray(a)?a.forEach(function(a){this.append(a[0],a[1])},this):a&&Object.getOwnPropertyNames(a).forEach(function(b){this.append(b,a[b])},this)}function f(a){return a.bodyUsed?Promise.reject(new TypeError('Already read')):void(a.bodyUsed=!0)}function g(a){return new Promise(function(b,c){a.onload=function(){b(a.result)},a.onerror=function(){c(a.error)}})}function h(a){var b=new FileReader,c=g(b);return b.readAsArrayBuffer(a),c}function i(a){var b=new FileReader,c=g(b);return b.readAsText(a),c}function j(a){for(var b=new Uint8Array(a),c=Array(b.length),d=0;d<b.length;d++)c[d]=String.fromCharCode(b[d]);return c.join('')}function k(a){if(a.slice)return a.slice(0);var b=new Uint8Array(a.byteLength);return b.set(new Uint8Array(a)),b.buffer}function l(){return this.bodyUsed=!1,this._initBody=function(a){if(this._bodyInit=a,!a)this._bodyText='';else if('string'==typeof a)this._bodyText=a;else if(r.blob&&Blob.prototype.isPrototypeOf(a))this._bodyBlob=a;else if(r.formData&&FormData.prototype.isPrototypeOf(a))this._bodyFormData=a;else if(r.searchParams&&URLSearchParams.prototype.isPrototypeOf(a))this._bodyText=a.toString();else if(r.arrayBuffer&&r.blob&&t(a))this._bodyArrayBuffer=k(a.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else if(r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(a)||u(a)))this._bodyArrayBuffer=k(a);else throw new Error('unsupported BodyInit type');this.headers.get('content-type')||('string'==typeof a?this.headers.set('content-type','text/plain;charset=UTF-8'):this._bodyBlob&&this._bodyBlob.type?this.headers.set('content-type',this._bodyBlob.type):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(a)&&this.headers.set('content-type','application/x-www-form-urlencoded;charset=UTF-8'))},r.blob&&(this.blob=function(){var a=f(this);if(a)return a;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error('could not read FormData body as blob');else return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var a=f(this);if(a)return a;if(this._bodyBlob)return i(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(j(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error('could not read FormData body as text');else return Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(o)}),this.json=function(){return this.text().then(JSON.parse)},this}function m(a){var b=a.toUpperCase();return-1<v.indexOf(b)?b:a}function n(a,b){b=b||{};var c=b.body;if(a instanceof n){if(a.bodyUsed)throw new TypeError('Already read');this.url=a.url,this.credentials=a.credentials,b.headers||(this.headers=new e(a.headers)),this.method=a.method,this.mode=a.mode,c||null==a._bodyInit||(c=a._bodyInit,a.bodyUsed=!0)}else this.url=a+'';if(this.credentials=b.credentials||this.credentials||'omit',(b.headers||!this.headers)&&(this.headers=new e(b.headers)),this.method=m(b.method||this.method||'GET'),this.mode=b.mode||this.mode||null,this.referrer=null,('GET'===this.method||'HEAD'===this.method)&&c)throw new TypeError('Body not allowed for GET or HEAD requests');this._initBody(c)}function o(a){var b=new FormData;return a.trim().split('&').forEach(function(a){if(a){var c=a.split('='),d=c.shift().replace(/\+/g,' '),e=c.join('=').replace(/\+/g,' ');b.append(decodeURIComponent(d),decodeURIComponent(e))}}),b}function p(a){var b=new e;return a.split(/\r?\n/).forEach(function(a){var c=a.split(':'),d=c.shift().trim();if(d){var e=c.join(':').trim();b.append(d,e)}}),b}function q(a,b){b||(b={}),this.type='default',this.status='status'in b?b.status:200,this.ok=200<=this.status&&300>this.status,this.statusText='statusText'in b?b.statusText:'OK',this.headers=new e(b.headers),this.url=b.url||'',this._initBody(a)}if(!a.fetch){var r={searchParams:'URLSearchParams'in a,iterable:'Symbol'in a&&'iterator'in Symbol,blob:'FileReader'in a&&'Blob'in a&&function(){try{return new Blob,!0}catch(a){return!1}}(),formData:'FormData'in a,arrayBuffer:'ArrayBuffer'in a};if(r.arrayBuffer)var s=['[object Int8Array]','[object Uint8Array]','[object Uint8ClampedArray]','[object Int16Array]','[object Uint16Array]','[object Int32Array]','[object Uint32Array]','[object Float32Array]','[object Float64Array]'],t=function(a){return a&&DataView.prototype.isPrototypeOf(a)},u=ArrayBuffer.isView||function(a){return a&&-1<s.indexOf(Object.prototype.toString.call(a))};e.prototype.append=function(a,d){a=b(a),d=c(d);var e=this.map[a];this.map[a]=e?e+','+d:d},e.prototype['delete']=function(a){delete this.map[b(a)]},e.prototype.get=function(a){return a=b(a),this.has(a)?this.map[a]:null},e.prototype.has=function(a){return this.map.hasOwnProperty(b(a))},e.prototype.set=function(a,d){this.map[b(a)]=c(d)},e.prototype.forEach=function(a,b){for(var c in this.map)this.map.hasOwnProperty(c)&&a.call(b,this.map[c],c,this)},e.prototype.keys=function(){var a=[];return this.forEach(function(b,c){a.push(c)}),d(a)},e.prototype.values=function(){var a=[];return this.forEach(function(b){a.push(b)}),d(a)},e.prototype.entries=function(){var a=[];return this.forEach(function(b,c){a.push([c,b])}),d(a)},r.iterable&&(e.prototype[Symbol.iterator]=e.prototype.entries);var v=['DELETE','GET','HEAD','OPTIONS','POST','PUT'];n.prototype.clone=function(){return new n(this,{body:this._bodyInit})},l.call(n.prototype),l.call(q.prototype),q.prototype.clone=function(){return new q(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new e(this.headers),url:this.url})},q.error=function(){var a=new q(null,{status:0,statusText:''});return a.type='error',a};var w=[301,302,303,307,308];q.redirect=function(a,b){if(-1===w.indexOf(b))throw new RangeError('Invalid status code');return new q(null,{status:b,headers:{location:a}})},a.Headers=e,a.Request=n,a.Response=q,a.fetch=function(a,b){return new Promise(function(c,d){var e=new n(a,b),f=new XMLHttpRequest;f.onload=function(){var a={status:f.status,statusText:f.statusText,headers:p(f.getAllResponseHeaders()||'')};a.url='responseURL'in f?f.responseURL:a.headers.get('X-Request-URL');var b='response'in f?f.response:f.responseText;c(new q(b,a))},f.onerror=function(){d(new TypeError('Network request failed'))},f.ontimeout=function(){d(new TypeError('Network request failed'))},f.open(e.method,e.url,!0),'include'===e.credentials&&(f.withCredentials=!0),'responseType'in f&&r.blob&&(f.responseType='blob'),e.headers.forEach(function(a,b){f.setRequestHeader(b,a)}),f.send('undefined'==typeof e._bodyInit?null:e._bodyInit)})},a.fetch.polyfill=!0}})('undefined'==typeof self?this:self)});
$_mod.def('/trooba-website$1.0.0/routes/index/components/github-link/component-browser',function(a,b,c){a('/whatwg-fetch$2.0.3/fetch');c.exports={onMount(){fetch('https://api.github.com/repos/trooba/trooba').then((a)=>a.json()).then((a)=>{a.stargazers_count&&(this.getEl('star-count').innerHTML=a.stargazers_count.toLocaleString())})}}});
$_mod.def("/trooba-website$1.0.0/routes/index/components/github-link/github.svg",{"url":"/github-02f398dc.svg"});
$_mod.def("/trooba-website$1.0.0/routes/index/components/github-link/index.marko",function(a,b,c){"use strict";var d=c.exports=a("/marko$4.4.21/dist/vdom").t(),e=a("/marko$4.4.21/dist/components/helpers-browser"),f=e.rc,g=f("/trooba-website$1.0.0/routes/index/components/github-link/component-browser",function(){return a("/trooba-website$1.0.0/routes/index/components/github-link/component-browser")}),h=e.r,i=a("/marko$4.4.21/dist/runtime/vdom/helpers"),j=i.t,k=j(a("/marko-magic$1.0.0/components/asset-var/renderer.browser")),l=i.e,m=i.const,n=m("c5d9c9"),o=l("SPAN",{"class":"text"},1,0,{c:n()}).t("GitHub");d._=h(function(b,c,d){c.be("A",{href:"https://github.com/trooba/trooba","class":"github-link",id:d.id}),k({values:[a.resolve("/trooba-website$1.0.0/routes/index/components/github-link/github.svg")],renderBody:function(a,b){a.e("IMG",{src:b.url},0)}},c),c.n(o),c.e("SPAN",{"class":"stars",id:d.elId("star-count")},0,4),c.ee()},{split:!0,type:g})});
$_mod.def("/trooba-website$1.0.0/routes/index/components/home-hero/logo.png",{"url":"/logo-ad0fdd51.png","width":665,"height":434});
$_mod.def("/trooba-website$1.0.0/routes/index/components/home-hero/index.marko",function(a,b,c){"use strict";var d=c.exports=a("/marko$4.4.21/dist/vdom").t(),e=a("/marko$4.4.21/dist/components/helpers-browser"),f=e.rc,g=f("/trooba-website$1.0.0/routes/index/components/home-hero/index.marko",function(){return c.exports}),h=a("/trooba-website$1.0.0/routes/index/components/home-hero/component"),i=e.r,j=e.c,k=a("/marko$4.4.21/dist/runtime/vdom/helpers"),l=k.t,m=l(a("/marko-magic$1.0.0/components/asset-var/renderer.browser")),n=a("/trooba-website$1.0.0/routes/index/components/github-link/index.marko"),o=l(n),p={"class":"header-content"},q={"class":"actions"},r=k.e,s=k.const,t=s("aa2644"),u=r("A",{href:"/docs/getting-started/","class":"button get-started"},1,0,{c:t()}).e("SPAN",null,1).t("Get started");d._=i(function(b,c,d){c.be("HEADER",{"class":"home-header",id:d.id},null,4),m({values:[a.resolve("/trooba-website$1.0.0/routes/index/components/home-hero/logo.png")],renderBody:function(a,b){a.e("IMG",{src:b.url,"class":"logo"},0)}},c),c.be("DIV",p),c.e("H1",{id:d.elId("tagline")},1,4).t("Fast isomorphic lightweight framework to build pipelines"),c.be("DIV",q),c.n(u),o({},c),c.ee(),c.ee(),c.ee()},{type:g},h),d.Component=j(h,d._)});
$_mod.installed("trooba-website$1.0.0","trooba","2.0.2");
$_mod.main("/trooba$2.0.2","");
$_mod.builtin("process","/process$0.6.0/browser");
$_mod.def('/process$0.6.0/browser',function(a,b,c){function d(){}var e=c.exports={};e.nextTick=function(){var a='undefined'!=typeof window&&window.setImmediate,b='undefined'!=typeof window&&window.postMessage&&window.addEventListener;if(a)return function(a){return window.setImmediate(a)};if(b){var c=[];return window.addEventListener('message',function(a){var b=a.source;if((b===window||null===b)&&'process-tick'===a.data&&(a.stopPropagation(),0<c.length)){var d=c.shift();d()}},!0),function(a){c.push(a),window.postMessage('process-tick','*')}}return function(a){setTimeout(a,0)}}(),e.title='browser',e.browser=!0,e.env={},e.argv=[],e.on=d,e.once=d,e.off=d,e.emit=d,e.binding=function(){throw new Error('process.binding is not supported')},e.cwd=function(){return'/'},e.chdir=function(){throw new Error('process.chdir is not supported')}});
$_mod.def("/trooba$2.0.2/index",function(a,b,c){"use strict";function d(){this._handlers=[]}function e(a){var b,c=a.reduce(function(a,c){var d=f(c,a);return b=b||d,d},void 0);return b._tail$=c,b}function f(a,b){var c=new g(a);return b&&(c._prev$=b,b._next$=c),c}function g(a){this._messageHandlers={},this.handler=a,a&&"function"!=typeof a&&(this.handler=a.handler,this.config=a.config),g.instanceCounter=g.instanceCounter?g.instanceCounter:0,this._uid=g.instanceCounter++,this._id=(this.handler?this.handler.name+"-":"")+this._uid}function h(a){return function(){a.apply(null,arguments),a=function(){}}}function i(a){function b(b){if(d._streamClosed)throw new Error("The stream has been closed already");b===void 0&&(a.channel._streamClosed=!0),m(function(){d.send({type:c,flow:a.flow,ref:b,order:!0})})}var c=a.flow===n.REQUEST?"request:data":"response:data",d=a.channel;return{flow:a.flow,point:d,write:function(a){return b(a),this},end:function(){return b(),d}}}function j(a){this.pipe=a}var k=a("process"),l=Infinity,m=k&&k.nextTick&&k.nextTick.bind(k)||setImmediate||function(a){setTimeout(a,0)};d.prototype={use:function(b,c){if("string"==typeof b&&(b=a(b)),b instanceof g){var d=b;b=function(a){a.link(d)}}return this._handlers.push({handler:b,config:c}),this._pipe=void 0,this},build:function(a){var b=this._pipe;if(!b||a){var c=this._handlers.slice();c.unshift(function(){}),b=this._pipe=e(c)}return a=Object.keys(a||{}).reduce(function(b,c){return"$"!==c.charAt(0)&&(b[c]=a[c]),b},{validate:{request:!1}}),b.context=a,b}},c.exports=d,c.exports.use=function(a,b){var c=new d;return c.use(a,b)},c.exports.buildPipe=e,c.exports.createPipePoint=f;var n={REQUEST:1,RESPONSE:2};c.exports.Types=n;var o={TRANSIT:1,PROCESS:2};c.exports.Stages=o,c.exports.PipePoint=g,c.exports.onDrop=function(a){console.log("The message has been dropped, ttl expired:",a.type,a.flow)},g.prototype={send:function(a){if(a.context=a.context||this.context,!a.context||!a.context.$inited)throw new Error("The context has not been initialized, make sure you use pipe.create()");var b;if(a.stage===o.PROCESS?b=this:(b=a.flow===n.REQUEST?this._next$:this._prev$,a.stage=o.TRANSIT,a.order&&this._id===a.pointId&&this.queue().done(a)),a.ttl=void 0===a.ttl?Date.now()+(this.context&&this.context.ttl||l):a.ttl,a.ttl<Date.now())return void(this.context&&this.context.onDrop||c.exports.onDrop)(a);if(b)b.process(a);else if("error"===a.type)throw a.ref;else a.context&&a.context.validate&&a.context.validate[a.type]?this.copy(a.context).throw(new Error("No target consumer found for the "+a.type+" "+JSON.stringify(a.ref))):"trace"===a.type&&a.flow===n.REQUEST&&(a.flow=n.RESPONSE,this.process(a));return this},copy:function(a){var b=new g;return b._next$=this._next$,b._prev$=this._prev$,b._tail$=this._tail$,b._id=this._id,b._messageHandlers=this._messageHandlers,b.config=this.config,b.handler=this.handler,b.context=a,b._pointCtx(),b},set:function(a,b){return this.context["$"+a]=b,this},get:function(a){return this.context["$"+a]},link:function(a){var b=this;if(this._pointCtx().$linked)throw new Error("The pipe already has a link");this._pointCtx().$linked=!0,a=a.create(this.context),this.on("$link$",function(b){return b.flow===n.REQUEST?a.send(b):void(b.stage=o.PROCESS,a.tail.send(b))}),a.on("$link$",function(a){if(a.flow===n.RESPONSE)return a.stage=o.PROCESS,b.send(a)}),a.tail.on("$link$",function(a){if(a.flow===n.REQUEST)return b.send(a)})},trace:function(a){var b=this;a=a||console.log;var c=[{point:this,flow:n.REQUEST}];this.once("trace",function(){b.removeListener("error"),a(null,c)}),this.once("error",a),this.send({type:"trace",flow:n.REQUEST,trace:function(a,b){c.push({point:a,flow:b.flow,stage:b.stage})}})},resume:function(){var a=this.queue();a&&a.resume()},process:function(a){function b(a){a.flow===n.REQUEST&&f._pointCtx(a.context).$linked&&(a.stage=a.stage===o.TRANSIT?o.PROCESS:a.stage),f.send(a)}function c(c){arguments.length&&(a.ref=c),d()||b(a)}function d(){if(("response:data"===a.type||"request:data"===a.type)&&void 0===a.ref){var b=g[a.flow===n.REQUEST?"request:end":"response:end"];if(b)return b(h(function(){f.send(a)})),!0}}function e(a){return a.order&&f.queue().add(a)}var f=this,g=this.handlers(a.context),i=g.$link$;if(i)if(a.flow===n.REQUEST){if(a.stage===o.PROCESS)return a.stage=o.TRANSIT,i(a);a.stage=o.PROCESS}else if(a.flow===n.RESPONSE){if(a.stage===o.TRANSIT)return i(a);a.stage=o.TRANSIT}if(a.context.trace||"trace"===a.type){var j=a.context.trace||a.trace;"function"==typeof j&&j(this._pointCtx(a.context).ref,a)}if(!(0<f.queue().size(a.context)&&e(a))){var k;if(i=g[a.type],i||(i=g["*"],k=!0),i){if(e(a),i(k?a:a.ref,a.sync?void 0:h(c)),!a.sync)return;}else if(d())return;b(a)}},create:function(a,b){if("string"==typeof arguments[0]&&(b=arguments[0],a=void 0),a=a||{},this.context){var c=this;Object.keys(this.context).forEach(function(b){"$"===b.charAt(0)||a[b]||(a[b]=c.context[b])})}for(var d=this.copy(a),e=d;e;)e.handler(e,e.config),e=e._next$?e._next$.copy(a):void 0;if(a.$inited=!0,!b)return d;var f=d.get(b);if(!f)throw new Error("Cannot find requested API: "+b);return f(d)},throw:function(a){this.send({type:"error",flow:n.RESPONSE,ref:a})},_exposePipeHooks:function(a,b){b.on=function(c,d){return a.on(c,d),b},b.once=function(c,d){return a.once(c,d),b}},streamRequest:function(a){this.context.$requestStream=!0;var b=this.request(a),c=i({channel:b,flow:n.REQUEST});return this._exposePipeHooks(b,c),b.context.$requestStream=c,c},request:function(a,b){function c(){var b={type:"request",flow:n.REQUEST,ref:a};b.order=!!d.context.$requestStream,d.send(b)}var d=this;return(this.resume(),b)?(d.on("error",function(a){b(a)}).on("response",function(a){d.resume(),b(null,a)}),c(),d):(m(c),d)},respond:function(a){var b=this;return this.resume(),m(function(){var c={type:"response",flow:n.RESPONSE,ref:a};c.order=!!b.context.$responseStream,b.send(c)}),this},streamResponse:function(a){this.context.$responseStream=!0;var b=this.respond(a),c=this.context.$responseStream=i({channel:b,flow:n.RESPONSE});return this._exposePipeHooks(b,c),c},on:function(a,b){var c=this.handlers();if(c[a])throw new Error("The hook has already been registered, you can use only one hook for specific event type: "+a+", point.id:"+this._id);return c[a]=b,this},once:function(a,b){var c=this;return this.on(a,function(){delete c.handlers()[a],b.apply(null,arguments)}),this},removeListener:function(a){delete this.handlers()[a]},_pointCtx:function(a){if(a=a||this.context,!a)throw new Error("Context is missing, please make sure context() is used first");return a.$points=a.$points||{},a.$points[this._id]=a.$points[this._id]||{ref:this}},handlers:function(a){var b=this._pointCtx(a);return b._messageHandlers=b._messageHandlers||{}},queue:function(){return this._queue=this._queue||new j(this)}},Object.defineProperty(g.prototype,"next",{get:function(){return this.context&&this.context.$points&&this._next$?this.context.$points[this._next$._id].ref:this._next$}}),Object.defineProperty(g.prototype,"prev",{get:function(){return this.context&&this.context.$points&&this._prev$?this.context.$points[this._prev$._id].ref:this._prev$}}),Object.defineProperty(g.prototype,"tail",{get:function(){return this.context&&this._tail$?this._tail$._pointCtx(this.context).ref:this._tail$}}),c.exports.Queue=j,j.prototype={size:function(a){return a=a||this.pipe.context,a?this.getQueue(a).length:0},getQueue:function(a){if(a=a||this.pipe.context,a){var b=this.pipe._pointCtx(a);return b.queue=b.queue||[]}},add:function(a){if(!a.order||a.inProcess)return!1;var b=this.getQueue(a.context);b.unshift(a),a.pointId=this.pipe._id;var c=1<b.length;return a.inProcess=!c,c},resume:function(){var a=this,b=this.pipe,c=a.getQueue(b.context);if(c){var d=c[c.length-1];d&&d.inProcess&&a.done(d)}},done:function(a){var b=this.pipe,c=this.getQueue(a.context),d=c.pop();if(d!==a)throw new Error("The queue for "+this.pipe._id+" is broken");a.pointId=void 0,delete a.inProcess,d=c[c.length-1],d&&(d.inProcess=!0,m(function(){b.process(d)}))}}});
$_mod.def("/trooba-website$1.0.0/routes/index/components/slot-machine-example/index.marko",function(a,b,c){"use strict";var d=c.exports=a("/marko$4.4.21/dist/vdom").t(),e={onCreate:function(){this.state={reels:["\uD83C\uDF4A","\uD83C\uDF49","\uD83C\uDF48"].join(" ")}},spin:function(){function b(a){var b=["\uD83C\uDF4A","\uD83C\uDF49","\uD83C\uDF48","\uD83C\uDF47","\uD83C\uDF46","\uD83C\uDF45","\uD83C\uDF44"];a.once("request",function(a,c){var d=Math.round(Math.random()*(b.length-1));a.push(b[d]),c()})}var c=a("/trooba$2.0.2/index"),d=c.use(b).use(b).use(b).use(function(a){a.once("request",function(b){var c=b.join(" ");return c===[b[0],b[0],b[0]].join(" ")?a.respond(c+" Yay!"):void a.respond(c)})}).build(),e=d.create();e.request([],(a,b)=>{this.state.reels=b})}},f=a("/marko$4.4.21/dist/components/helpers-browser"),g=f.rc,h=g("/trooba-website$1.0.0/routes/index/components/slot-machine-example/index.marko",function(){return c.exports}),i=f.r,j=f.c;d._=i(function(a,b,c,d,e){b.e("DIV",{"class":"reels",id:c.elId("_r0")},1,4).t(e.reels),b.e("BUTTON",{"class":"example-button",id:c.elId("_r1")},1,4,{onclick:c.d("spin")}).t("Spin")},{type:h,roots:["_r0","_r1"]},e),d.Component=j(e,d._)});
$_mod.installed("trooba-website$1.0.0","trooba-xhr-transport","2.0.1");
$_mod.main("/trooba-xhr-transport$2.0.1","");
$_mod.installed("trooba-xhr-transport$2.0.1","jsonpipe","2.1.1");
$_mod.main("/jsonpipe$2.1.1","lib/jsonpipe");
$_mod.def('/jsonpipe$2.1.1/lib/net/xhr',function(a,b,c){'use strict';function d(a){var b,c,d,f,g=a.split(/\r?\n/),h={};g.pop();for(var j=0,i=g.length;j<i;++j)c=g[j],b=c.indexOf(':'),d=c.slice(0,b).toLowerCase(),f=e(c.slice(b+1)),h[d]=f;return h}var e=function(a){return a.trim()};c.exports={send:function(a,b){if(a&&b){var c,e=new XMLHttpRequest,f={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},g=function(){},h=(b.method||'').toUpperCase(),i=b.headers,j=b.onChunk||g,k=b.onHeaders||g,l=b.error||g,m=b.complete||g,n='POST'===h,o=!1;if(e.open(h||'GET',a,!0),e.onreadystatechange=function(){var a,b,g,h;e.readyState===f.HEADERS_RECEIVED?(a=e.getResponseHeader('Transfer-Encoding')||'',a=a.toLowerCase(),o=-1<a.indexOf('chunked')||-1<a.indexOf('identity'),!o&&(b=window.chrome,g=b&&b.loadTimes&&b.loadTimes(),h=g&&g.wasFetchedViaSpdy,o=!!(e.getResponseHeader('X-Firefox-Spdy')||h)),k(e.statusText,d(e.getAllResponseHeaders()))):e.readyState===f.LOADING?o&&e.responseText&&j(e.responseText):e.readyState===f.DONE&&(clearTimeout(c),200>e.status||299<e.status?l(e.statusText):j(e.responseText,!0),m(e.statusText))},i)for(var p in i)e.setRequestHeader(p,i[p]),'content-type'===p.toLowerCase()&&(n=!1);return n&&e.setRequestHeader('Content-Type','application/x-www-form-urlencoded'),b.timeout&&(c=setTimeout(function(){e.abort(),clearTimeout(c)},b.timeout)),e.withCredentials=!b.hasOwnProperty('withCredentials')||b.withCredentials,e.send(b.data),e}}}});
$_mod.def('/jsonpipe$2.1.1/lib/jsonpipe',function(a,b,c,d,e){'use strict';var f=a('/jsonpipe$2.1.1/lib/net/xhr'),g=function(a){return'[object String]'===Object.prototype.toString.call(a)},h=function(a){return'[object Function]'===Object.prototype.toString.call(a)},i=function(a){if(!a||!/^[\{|\[].*[\}|\]]$/.test(a))throw new Error('parseerror');return eval('('+a+')')},j=function(a,b,c){var d;try{d='undefined'==typeof JSON?i(a):JSON.parse(a)}catch(a){return void(h(c)&&c('parsererror'))}d&&h(b)&&b(d)},k=function(a,b){if(a&&(g(a)||(b=a,a=b.url),a&&b&&(b.success||b.error||b.complete))){var c=0,d=b.delimiter||'\n\n',e=function(a,e){var f,g=a.substring(c),h=0,i=g.indexOf(d,h),k=b.success,l=b.error;for(0===i&&(h=i+d.length);-1<(i=g.indexOf(d,h));)f=g.substring(h,i),f&&j(f,k,l),h=i+d.length;c+=h,g=a.substring(c),e&&g&&-1===i&&j(g,k,l)};return b.onChunk=e,f.send(a,b)}};c.exports={flow:k}});
$_mod.installed("trooba-xhr-transport$2.0.1","trooba-http-api","2.0.1");
$_mod.main("/trooba-http-api$2.0.1","");
$_mod.def('/trooba-http-api$2.0.1/lib/queryparam',function(a,b,c){'use strict';var d=function(a){switch(typeof a){case'string':return a;case'boolean':return a;case'number':return isFinite(a)?a:'';default:return'';}};c.exports.stringify=function(a,b,c,e){return b=b||'&',c=c||'=',null===a&&(a=void 0),'object'==typeof a?Object.keys(a).map(function(e){var f=encodeURIComponent(d(e))+c;return Array.isArray(a[e])?a[e].map(function(a){return f+encodeURIComponent(d(a))}).join(b):f+encodeURIComponent(d(a[e]))}).join(b):e?encodeURIComponent(d(e))+c+encodeURIComponent(d(a)):''}});
$_mod.installed("trooba-http-api$2.0.1","underscore","1.8.3");
$_mod.main("/underscore$1.8.3","underscore");
$_mod.def('/underscore$1.8.3/underscore',function(a,b,c){(function(){function a(a){function b(b,c,d,e,f,g){for(;0<=f&&f<g;f+=a){var h=e?e[f]:f;d=c(d,b[h],h,b)}return d}return function(c,d,e,f){d=x(d,f,4);var g=!D(c)&&w.keys(c),h=(g||c).length,i=0<a?0:h-1;return 3>arguments.length&&(e=c[g?g[i]:i],i+=a),b(c,d,e,g,i,h)}}function d(a){return function(b,c,d){c=y(c,d);for(var e=C(b),f=0<a?0:e-1;0<=f&&f<e;f+=a)if(c(b[f],f,b))return f;return-1}}function e(a,b,c){return function(d,e,f){var g=0,i=C(d);if('number'==typeof f)0<a?g=0<=f?f:h(f+i,g):i=0<=f?Math.min(f+1,i):f+i+1;else if(c&&f&&i)return f=c(d,e),d[f]===e?f:-1;if(e!==e)return f=b(o.call(d,g,i),w.isNaN),0<=f?f+g:-1;for(f=0<a?g:i-1;0<=f&&f<i;f+=a)if(d[f]===e)return f;return-1}}function f(a,b){var c=I.length,d=a.constructor,e=w.isFunction(d)&&d.prototype||l,f='constructor';for(w.has(a,f)&&!w.contains(b,f)&&b.push(f);c--;)f=I[c],f in a&&a[f]!==e[f]&&!w.contains(b,f)&&b.push(f)}var g=Math.floor,h=Math.max,i=this,j=i._,k=Array.prototype,l=Object.prototype,m=Function.prototype,n=k.push,o=k.slice,p=l.toString,q=l.hasOwnProperty,r=Array.isArray,s=Object.keys,t=m.bind,u=Object.create,v=function(){},w=function(a){return a instanceof w?a:this instanceof w?void(this._wrapped=a):new w(a)};'undefined'==typeof b?i._=w:('undefined'!=typeof c&&c.exports&&(b=c.exports=w),b._=w),w.VERSION='1.8.3';var x=function(a,b,c){if(void 0===b)return a;switch(null==c?3:c){case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)};case 4:return function(c,d,e,f){return a.call(b,c,d,e,f)};}return function(){return a.apply(b,arguments)}},y=function(a,b,c){return null==a?w.identity:w.isFunction(a)?x(a,b,c):w.isObject(a)?w.matcher(a):w.property(a)};w.iteratee=function(a,b){return y(a,b,Infinity)};var z=function(a,b){return function(c){var d=arguments.length;if(2>d||null==c)return c;for(var e=1;e<d;e++)for(var f,g=arguments[e],h=a(g),j=h.length,k=0;k<j;k++)f=h[k],b&&void 0!==c[f]||(c[f]=g[f]);return c}},A=function(a){if(!w.isObject(a))return{};if(u)return u(a);v.prototype=a;var b=new v;return v.prototype=null,b},B=function(a){return function(b){return null==b?void 0:b[a]}},C=B('length'),D=function(a){var b=C(a);return'number'==typeof b&&0<=b&&b<=9007199254740992-1};w.each=w.forEach=function(a,b,c){b=x(b,c);var d,e;if(D(a))for(d=0,e=a.length;d<e;d++)b(a[d],d,a);else{var f=w.keys(a);for(d=0,e=f.length;d<e;d++)b(a[f[d]],f[d],a)}return a},w.map=w.collect=function(a,b,c){b=y(b,c);for(var d,e=!D(a)&&w.keys(a),f=(e||a).length,g=Array(f),h=0;h<f;h++)d=e?e[h]:h,g[h]=b(a[d],d,a);return g},w.reduce=w.foldl=w.inject=a(1),w.reduceRight=w.foldr=a(-1),w.find=w.detect=function(a,b,c){var d;if(d=D(a)?w.findIndex(a,b,c):w.findKey(a,b,c),void 0!==d&&-1!==d)return a[d]},w.filter=w.select=function(a,b,c){var d=[];return b=y(b,c),w.each(a,function(a,c,e){b(a,c,e)&&d.push(a)}),d},w.reject=function(a,b,c){return w.filter(a,w.negate(y(b)),c)},w.every=w.all=function(a,b,c){b=y(b,c);for(var d,e=!D(a)&&w.keys(a),f=(e||a).length,g=0;g<f;g++)if(d=e?e[g]:g,!b(a[d],d,a))return!1;return!0},w.some=w.any=function(a,b,c){b=y(b,c);for(var d,e=!D(a)&&w.keys(a),f=(e||a).length,g=0;g<f;g++)if(d=e?e[g]:g,b(a[d],d,a))return!0;return!1},w.contains=w.includes=w.include=function(a,b,c,d){return D(a)||(a=w.values(a)),('number'!=typeof c||d)&&(c=0),0<=w.indexOf(a,b,c)},w.invoke=function(a,b){var c=o.call(arguments,2),d=w.isFunction(b);return w.map(a,function(a){var e=d?b:a[b];return null==e?e:e.apply(a,c)})},w.pluck=function(a,b){return w.map(a,w.property(b))},w.where=function(a,b){return w.filter(a,w.matcher(b))},w.findWhere=function(a,b){return w.find(a,w.matcher(b))},w.max=function(a,b,c){var d,e,f=-Infinity,g=-Infinity;if(null==b&&null!=a){a=D(a)?a:w.values(a);for(var h=0,i=a.length;h<i;h++)d=a[h],d>f&&(f=d)}else b=y(b,c),w.each(a,function(a,c,d){e=b(a,c,d),(e>g||e===-Infinity&&f==-Infinity)&&(f=a,g=e)});return f},w.min=function(a,b,c){var d,e,f=Infinity,g=Infinity;if(null==b&&null!=a){a=D(a)?a:w.values(a);for(var h=0,i=a.length;h<i;h++)d=a[h],d<f&&(f=d)}else b=y(b,c),w.each(a,function(a,c,d){e=b(a,c,d),(e<g||e===Infinity&&f==Infinity)&&(f=a,g=e)});return f},w.shuffle=function(a){for(var b,c=D(a)?a:w.values(a),d=c.length,e=Array(d),f=0;f<d;f++)b=w.random(0,f),b!==f&&(e[f]=e[b]),e[b]=c[f];return e},w.sample=function(a,b,c){return null==b||c?(D(a)||(a=w.values(a)),a[w.random(a.length-1)]):w.shuffle(a).slice(0,h(0,b))},w.sortBy=function(a,b,c){return b=y(b,c),w.pluck(w.map(a,function(a,c,d){return{value:a,index:c,criteria:b(a,c,d)}}).sort(function(c,d){var e=c.criteria,a=d.criteria;if(e!==a){if(e>a||void 0===e)return 1;if(e<a||void 0===a)return-1}return c.index-d.index}),'value')};var E=function(a){return function(b,c,d){var e={};return c=y(c,d),w.each(b,function(d,f){var g=c(d,f,b);a(e,d,g)}),e}};w.groupBy=E(function(a,b,c){w.has(a,c)?a[c].push(b):a[c]=[b]}),w.indexBy=E(function(a,b,c){a[c]=b}),w.countBy=E(function(a,b,c){w.has(a,c)?a[c]++:a[c]=1}),w.toArray=function(a){return a?w.isArray(a)?o.call(a):D(a)?w.map(a,w.identity):w.values(a):[]},w.size=function(a){return null==a?0:D(a)?a.length:w.keys(a).length},w.partition=function(a,b,c){b=y(b,c);var d=[],e=[];return w.each(a,function(a,c,f){(b(a,c,f)?d:e).push(a)}),[d,e]},w.first=w.head=w.take=function(a,b,c){return null==a?void 0:null==b||c?a[0]:w.initial(a,a.length-b)},w.initial=function(a,b,c){return o.call(a,0,h(0,a.length-(null==b||c?1:b)))},w.last=function(a,b,c){return null==a?void 0:null==b||c?a[a.length-1]:w.rest(a,h(0,a.length-b))},w.rest=w.tail=w.drop=function(a,b,c){return o.call(a,null==b||c?1:b)},w.compact=function(a){return w.filter(a,w.identity)};var F=function(a,b,c,d){for(var e,f=[],g=0,h=d||0,i=C(a);h<i;h++)if(e=a[h],D(e)&&(w.isArray(e)||w.isArguments(e))){b||(e=F(e,b,c));var k=0,j=e.length;for(f.length+=j;k<j;)f[g++]=e[k++]}else c||(f[g++]=e);return f};w.flatten=function(a,b){return F(a,b,!1)},w.without=function(a){return w.difference(a,o.call(arguments,1))},w.uniq=w.unique=function(a,b,c,d){w.isBoolean(b)||(d=c,c=b,b=!1),null!=c&&(c=y(c,d));for(var e=[],f=[],g=0,h=C(a);g<h;g++){var j=a[g],k=c?c(j,g,a):j;b?((!g||f!==k)&&e.push(j),f=k):c?!w.contains(f,k)&&(f.push(k),e.push(j)):!w.contains(e,j)&&e.push(j)}return e},w.union=function(){return w.uniq(F(arguments,!0,!0))},w.intersection=function(a){for(var b,c=[],d=arguments.length,e=0,f=C(a);e<f;e++)if(b=a[e],!w.contains(c,b)){for(var g=1;g<d&&!!w.contains(arguments[g],b);g++);g===d&&c.push(b)}return c},w.difference=function(a){var b=F(arguments,!0,!0,1);return w.filter(a,function(a){return!w.contains(b,a)})},w.zip=function(){return w.unzip(arguments)},w.unzip=function(a){for(var b=a&&w.max(a,C).length||0,c=Array(b),d=0;d<b;d++)c[d]=w.pluck(a,d);return c},w.object=function(a,b){for(var c={},d=0,e=C(a);d<e;d++)b?c[a[d]]=b[d]:c[a[d][0]]=a[d][1];return c},w.findIndex=d(1),w.findLastIndex=d(-1),w.sortedIndex=function(a,b,c,d){c=y(c,d,1);for(var e=c(b),f=0,h=C(a);f<h;){var i=g((f+h)/2);c(a[i])<e?f=i+1:h=i}return f},w.indexOf=e(1,w.findIndex,w.sortedIndex),w.lastIndexOf=e(-1,w.findLastIndex),w.range=function(a,b,c){null==b&&(b=a||0,a=0),c=c||1;for(var d=h(Math.ceil((b-a)/c),0),e=Array(d),f=0;f<d;f++,a+=c)e[f]=a;return e};var G=function(a,b,c,d,e){if(!(d instanceof b))return a.apply(c,e);var f=A(a.prototype),g=a.apply(f,e);return w.isObject(g)?g:f};w.bind=function(a,b){if(t&&a.bind===t)return t.apply(a,o.call(arguments,1));if(!w.isFunction(a))throw new TypeError('Bind must be called on a function');var c=o.call(arguments,2),d=function(){return G(a,d,b,this,c.concat(o.call(arguments)))};return d},w.partial=function(a){var b=o.call(arguments,1),c=function(){for(var d=0,e=b.length,f=Array(e),g=0;g<e;g++)f[g]=b[g]===w?arguments[d++]:b[g];for(;d<arguments.length;)f.push(arguments[d++]);return G(a,c,this,this,f)};return c},w.bindAll=function(a){var b,c,d=arguments.length;if(1>=d)throw new Error('bindAll must be passed function names');for(b=1;b<d;b++)c=arguments[b],a[c]=w.bind(a[c],a);return a},w.memoize=function(a,b){var c=function(d){var e=c.cache,f=''+(b?b.apply(this,arguments):d);return w.has(e,f)||(e[f]=a.apply(this,arguments)),e[f]};return c.cache={},c},w.delay=function(a,b){var c=o.call(arguments,2);return setTimeout(function(){return a.apply(null,c)},b)},w.defer=w.partial(w.delay,w,1),w.throttle=function(a,b,c){var d,e,f,g=null,h=0;c||(c={});var i=function(){h=!1===c.leading?0:w.now(),g=null,f=a.apply(d,e),g||(d=e=null)};return function(){var j=w.now();h||!1!==c.leading||(h=j);var k=b-(j-h);return d=this,e=arguments,0>=k||k>b?(g&&(clearTimeout(g),g=null),h=j,f=a.apply(d,e),!g&&(d=e=null)):!g&&!1!==c.trailing&&(g=setTimeout(i,k)),f}},w.debounce=function(a,b,c){var d,e,f,g,h,i=function(){var j=w.now()-g;j<b&&0<=j?d=setTimeout(i,b-j):(d=null,!c&&(h=a.apply(f,e),!d&&(f=e=null)))};return function(){f=this,e=arguments,g=w.now();var j=c&&!d;return d||(d=setTimeout(i,b)),j&&(h=a.apply(f,e),f=e=null),h}},w.wrap=function(a,b){return w.partial(b,a)},w.negate=function(a){return function(){return!a.apply(this,arguments)}},w.compose=function(){var a=arguments,b=a.length-1;return function(){for(var c=b,d=a[b].apply(this,arguments);c--;)d=a[c].call(this,d);return d}},w.after=function(a,b){return function(){if(1>--a)return b.apply(this,arguments)}},w.before=function(a,b){var c;return function(){return 0<--a&&(c=b.apply(this,arguments)),1>=a&&(b=null),c}},w.once=w.partial(w.before,2);var H=!{toString:null}.propertyIsEnumerable('toString'),I=['valueOf','isPrototypeOf','toString','propertyIsEnumerable','hasOwnProperty','toLocaleString'];w.keys=function(a){if(!w.isObject(a))return[];if(s)return s(a);var b=[];for(var c in a)w.has(a,c)&&b.push(c);return H&&f(a,b),b},w.allKeys=function(a){if(!w.isObject(a))return[];var b=[];for(var c in a)b.push(c);return H&&f(a,b),b},w.values=function(a){for(var b=w.keys(a),c=b.length,d=Array(c),e=0;e<c;e++)d[e]=a[b[e]];return d},w.mapObject=function(a,b,c){b=y(b,c);for(var d,e=w.keys(a),f=e.length,g={},h=0;h<f;h++)d=e[h],g[d]=b(a[d],d,a);return g},w.pairs=function(a){for(var b=w.keys(a),c=b.length,d=Array(c),e=0;e<c;e++)d[e]=[b[e],a[b[e]]];return d},w.invert=function(a){for(var b={},c=w.keys(a),d=0,e=c.length;d<e;d++)b[a[c[d]]]=c[d];return b},w.functions=w.methods=function(a){var b=[];for(var c in a)w.isFunction(a[c])&&b.push(c);return b.sort()},w.extend=z(w.allKeys),w.extendOwn=w.assign=z(w.keys),w.findKey=function(a,b,c){b=y(b,c);for(var d,e=w.keys(a),f=0,g=e.length;f<g;f++)if(d=e[f],b(a[d],d,a))return d},w.pick=function(a,b,c){var d,e,f={},g=a;if(null==g)return f;w.isFunction(b)?(e=w.allKeys(g),d=x(b,c)):(e=F(arguments,!1,!1,1),d=function(a,b,c){return b in c},g=Object(g));for(var h=0,i=e.length;h<i;h++){var j=e[h],k=g[j];d(k,j,g)&&(f[j]=k)}return f},w.omit=function(a,b,c){if(w.isFunction(b))b=w.negate(b);else{var d=w.map(F(arguments,!1,!1,1),String);b=function(a,b){return!w.contains(d,b)}}return w.pick(a,b,c)},w.defaults=z(w.allKeys,!0),w.create=function(a,b){var c=A(a);return b&&w.extendOwn(c,b),c},w.clone=function(a){return w.isObject(a)?w.isArray(a)?a.slice():w.extend({},a):a},w.tap=function(a,b){return b(a),a},w.isMatch=function(a,b){var c=w.keys(b),d=c.length;if(null==a)return!d;for(var e,f=Object(a),g=0;g<d;g++)if(e=c[g],b[e]!==f[e]||!(e in f))return!1;return!0};var J=function(c,d,e,f){if(c===d)return 0!==c||1/c==1/d;if(null==c||null==d)return c===d;c instanceof w&&(c=c._wrapped),d instanceof w&&(d=d._wrapped);var g=p.call(c);if(g!==p.call(d))return!1;switch(g){case'[object RegExp]':case'[object String]':return''+c==''+d;case'[object Number]':return+c==+c?0==+c?1/+c==1/d:+c==+d:+d!=+d;case'[object Date]':case'[object Boolean]':return+c==+d;}var h='[object Array]'===g;if(!h){if('object'!=typeof c||'object'!=typeof d)return!1;var i=c.constructor,j=d.constructor;if(i!==j&&!(w.isFunction(i)&&i instanceof i&&w.isFunction(j)&&j instanceof j)&&'constructor'in c&&'constructor'in d)return!1}e=e||[],f=f||[];for(var k=e.length;k--;)if(e[k]===c)return f[k]===d;if(e.push(c),f.push(d),h){if(k=c.length,k!==d.length)return!1;for(;k--;)if(!J(c[k],d[k],e,f))return!1}else{var l,m=w.keys(c);if(k=m.length,w.keys(d).length!==k)return!1;for(;k--;)if(l=m[k],!(w.has(d,l)&&J(c[l],d[l],e,f)))return!1}return e.pop(),f.pop(),!0};w.isEqual=function(c,a){return J(c,a)},w.isEmpty=function(a){return!(null!=a)||(D(a)&&(w.isArray(a)||w.isString(a)||w.isArguments(a))?0===a.length:0===w.keys(a).length)},w.isElement=function(a){return!!(a&&1===a.nodeType)},w.isArray=r||function(a){return'[object Array]'===p.call(a)},w.isObject=function(a){var b=typeof a;return'function'==b||'object'==b&&!!a},w.each(['Arguments','Function','String','Number','Date','RegExp','Error'],function(a){w['is'+a]=function(b){return p.call(b)==='[object '+a+']'}}),w.isArguments(arguments)||(w.isArguments=function(a){return w.has(a,'callee')}),'function'!=typeof /./&&'object'!=typeof Int8Array&&(w.isFunction=function(a){return'function'==typeof a||!1}),w.isFinite=function(a){return isFinite(a)&&!isNaN(parseFloat(a))},w.isNaN=function(a){return w.isNumber(a)&&a!==+a},w.isBoolean=function(a){return!0===a||!1===a||'[object Boolean]'===p.call(a)},w.isNull=function(a){return null===a},w.isUndefined=function(a){return void 0===a},w.has=function(a,b){return null!=a&&q.call(a,b)},w.noConflict=function(){return i._=j,this},w.identity=function(a){return a},w.constant=function(a){return function(){return a}},w.noop=function(){},w.property=B,w.propertyOf=function(a){return null==a?function(){}:function(b){return a[b]}},w.matcher=w.matches=function(a){return a=w.extendOwn({},a),function(b){return w.isMatch(b,a)}},w.times=function(a,b,c){var d=Array(h(0,a));b=x(b,c,1);for(var e=0;e<a;e++)d[e]=b(e);return d},w.random=function(a,b){return null==b&&(b=a,a=0),a+g(Math.random()*(b-a+1))},w.now=Date.now||function(){return new Date().getTime()};var K={'&':'&','<':'<','>':'>','"':'"','\'':''','`':'`'},L=w.invert(K),M=function(a){var b=function(b){return a[b]},c='(?:'+w.keys(a).join('|')+')',d=RegExp(c),e=RegExp(c,'g');return function(a){return a=null==a?'':''+a,d.test(a)?a.replace(e,b):a}};w.escape=M(K),w.unescape=M(L),w.result=function(a,b,c){var d=null==a?void 0:a[b];return void 0===d&&(d=c),w.isFunction(d)?d.call(a):d};var N=0;w.uniqueId=function(a){var b=++N+'';return a?a+b:b},w.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var O=/(.)^/,P={'\'':'\'','\\':'\\','\r':'r','\n':'n','\u2028':'u2028','\u2029':'u2029'},Q=/\\|'|\r|\n|\u2028|\u2029/g,R=function(a){return'\\'+P[a]};w.template=function(a,b,c){!b&&c&&(b=c),b=w.defaults({},b,w.templateSettings);var d=RegExp([(b.escape||O).source,(b.interpolate||O).source,(b.evaluate||O).source].join('|')+'|$','g'),e=0,f='__p+=\'';a.replace(d,function(b,c,d,g,h){return f+=a.slice(e,h).replace(Q,R),e=h+b.length,c?f+='\'+\n((__t=('+c+'))==null?\'\':_.escape(__t))+\n\'':d?f+='\'+\n((__t=('+d+'))==null?\'\':__t)+\n\'':g&&(f+='\';\n'+g+'\n__p+=\''),b}),f+='\';\n',b.variable||(f='with(obj||{}){\n'+f+'}\n'),f='var __t,__p=\'\',__j=Array.prototype.join,'+'print=function(){__p+=__j.call(arguments,\'\');};\n'+f+'return __p;\n';try{var g=new Function(b.variable||'obj','_',f)}catch(a){throw a.source=f,a}var h=function(a){return g.call(this,a,w)},i=b.variable||'obj';return h.source='function('+i+'){\n'+f+'}',h},w.chain=function(a){var b=w(a);return b._chain=!0,b};var S=function(a,b){return a._chain?w(b).chain():b};w.mixin=function(a){w.each(w.functions(a),function(b){var c=w[b]=a[b];w.prototype[b]=function(){var a=[this._wrapped];return n.apply(a,arguments),S(this,c.apply(w,a))}})},w.mixin(w),w.each(['pop','push','reverse','shift','sort','splice','unshift'],function(a){var b=k[a];w.prototype[a]=function(){var c=this._wrapped;return b.apply(c,arguments),('shift'===a||'splice'===a)&&0===c.length&&delete c[0],S(this,c)}}),w.each(['concat','join','slice'],function(a){var b=k[a];w.prototype[a]=function(){return S(this,b.apply(this._wrapped,arguments))}}),w.prototype.value=function(){return this._wrapped},w.prototype.valueOf=w.prototype.toJSON=w.prototype.value,w.prototype.toString=function(){return''+this._wrapped},'function'==typeof define&&define.amd&&define('underscore',[],function(){return w})}).call(this)});
$_mod.def('/trooba-http-api$2.0.1/index',function(a,b,c){'use strict';function d(a,b){this.pipe=a,this.config=b}function e(a,b){this.request=a,this.pipe=b,this.context={}}var f=a('/trooba-http-api$2.0.1/lib/queryparam'),g=a('/underscore$1.8.3/underscore').template,h={interpolate:/:(.+?)\b/g};c.exports=function(a,b){b=b||d,a.set('client:default',function(a){return new b(a)})},c.exports.Client=d;var i=d.prototype;i.request=function(a,b){return a.headers=a.headers||{},b=b||e,new b(a,this.pipe)},i.get=function(a){var b={method:'GET'};return a&&'object'==typeof a&&(a=f.stringify(a)),a&&(b.search=a),this.request(b)},i.post=function(a){return this.request({method:'POST',body:a})},i.put=function(a){return this.request({method:'PUT',body:a})},i.patch=function(a){return this.request({method:'PATCH',body:a})},i.delete=function(a){return this.request({path:a,method:'DELETE'})},c.exports.Request=e,e.prototype={options:function(a){return a&&(a.headers=a.headers||{},j.mixin(this.request.headers,a.headers),j.mixin(a,this.request)),this},path:function(a,b){if(!b)this.request.path=a;else{var c=g(a,h);this.request.path=c(b)}return this},set:function(a,b){return this.request.headers[a]=b,this},end:function(a){var b=this.request;return b=b,b.headers=b.headers||{},b.headers=j.stringifyHeaders(b.headers),this.pipe.create(this.context).request(b,a)}};var j={mixin:function(a,b,c,d){var e=[].slice.call(arguments);return d=e.pop(),d&&e.forEach(function(a){a&&Object.keys(a).forEach(function(b){d[b]=a[b]})}),d},stringifyHeaders:function(a){return Object.keys(a).reduce(function(a,b){var c=a[b];return c&&'object'==typeof c&&c.set&&(a[b]=c.toString()),a},a)},stringifyQuery:f.stringify};c.exports.Utils=j});
$_mod.def('/trooba-xhr-transport$2.0.1/index',function(a,b,c){'use strict';function d(a,b){var c=a.headers?Object.create(a.headers):{};c['X-Requested-With']='XMLHttpRequest';var d,h,i=g.options2Url(a),j=!1,k={success:function(a){d||(j=g.isChunked(l),h=h||l.getAllResponseHeaders()||'',b(null,{statusCode:200,body:a,headers:h}))},error:g.once(function(a){d||('ETIMEDOUT'===a?(d=new Error('Connection timeout'),d.code='ETIMEDOUT',d.statusCode=408):(d=new Error(a||'Resource not found'),d.code=a,d.statusCode='parsererror'===a?500:'Bad Request'===a?400:404,d.response=l&&l.response))}),complete:g.once(function(){return d?b(d):void(j&&b(null,{statusCode:200,headers:h,body:void 0}))}),timeout:a.socketTimeout,method:a.method||'GET',headers:c,withCredentials:a.withCredentials,data:'string'==typeof a.body?a.body:void 0===a.body?void 0:f.Utils.stringifyQuery(a.body),delimiter:a.delimiter},l=e.flow(i,k);return l.abort=function(a){return function(){d=new Error('Connection timeout'),d.code='ETIMEDOUT',d.statusCode=408,a.apply(l,arguments),k.complete()}}(l.abort),l}var e=a('/jsonpipe$2.1.1/lib/jsonpipe'),f=a('/trooba-http-api$2.0.1/index');c.exports=function(a,b){a.on('request',function(c){c=g.mixin(b,c,{}),d(c,function(b,c){return b?void a.throw(b):void(g.deserializeResponseHeaders(c),a.respond(c))})}),f(a)},c.exports.invoke=d;var g={isChunked:function(a){var b=a.getResponseHeader('Transfer-Encoding');if('chunked'===b)return!0;var c=window.chrome,d=c&&c.loadTimes&&c.loadTimes(),e=d&&d.wasFetchedViaSpdy;return!!(a.getResponseHeader('X-Firefox-Spdy')||e)},options2Url:function(a){return(a.protocol||'http:')+'//'+a.hostname+(a.port?':'+a.port:'')+(a.basepath?'/'+this.unslash(a.basepath):'')+(a.path?'/'+this.unslash(a.path):'')+(a.search?'?'+('string'==typeof a.search?a.search:f.Utils.stringifyQuery(a.search)):'')},unslash:function(a){return a.replace(/(^\/|\/$)/,'')},once:function(a){var b;return function(){b||(b=!0,a.apply(null,arguments))}},mixin:function a(b,c){return b&&'object'==typeof b&&c&&'object'==typeof c?(c=c||{},Object.keys(b).forEach(function(d){var e=b[d],f=c[d];c[d]=a(e,f)}),c):b||c},deserializeResponseHeaders:function(a){a&&a.headers&&'string'==typeof a.headers&&(a.headers=a.headers.split(/\n/).reduce(function(a,b){var c=b.split(':');return 1<c.length&&(a[c.shift().trim()]=c.join(':').trim()),a},{}))}};c.exports.Utils=g});
$_mod.def("/trooba-website$1.0.0/routes/index/components/xhr-example/index.marko",function(a,b,c){"use strict";var d=c.exports=a("/marko$4.4.21/dist/vdom").t(),e={onCreate:function(){this.state={},this.state.token="",this.state.jsonData="",this.state.error=""},makeCall:function(){this.state.error="",this.state.jsonData="";var b=a("/trooba$2.0.2/index"),c=a("/trooba-xhr-transport$2.0.1/index"),d=b.use((a)=>{a.once("request",(a,b)=>{a.headers.authorization="token "+this.state.token,b()})}).use(c,{protocol:"https:",hostname:"api.github.com",path:"/repos/trooba/trooba",socketTimeout:5e3,withCredentials:!1}).build(),e=d.create("client:default");e.get().end((a,b)=>{return a?void(this.state.error=JSON.stringify(a)):void(this.state.jsonData=JSON.stringify(b,null,2))})},updateToken:function(a){this.state.token=a.target.value}},f=a("/marko$4.4.21/dist/components/helpers-browser"),g=f.rc,h=g("/trooba-website$1.0.0/routes/index/components/xhr-example/index.marko",function(){return c.exports}),i=f.r,j=f.c,k=a("/marko$4.4.21/dist/runtime/vdom/helpers"),l=k.s;d._=i(function(a,b,c,d,e){b.e("B",{id:c.elId("_r0")},1,4).t("Github Token"),b.t(": "),b.e("INPUT",{type:"text",value:l(e.token),id:c.elId("_r1")},0,0,{onchange:c.d("updateToken")}),b.e("BR",{id:c.elId("_r2")},0,4),b.e("BUTTON",{"class":"example-button",id:c.elId("_r3")},1,4,{onclick:c.d("makeCall")}).t("Make a Call"),b.e("BR",{id:c.elId("_r4")},0,4),b.e("B",{id:c.elId("_r5")},1,4).t("Response"),b.e("DIV",{"class":"error",id:c.elId("_r6")},1,4).t(e.error),b.e("TEXTAREA",{rows:"50",cols:"80","class":"jsonData",id:c.elId("_r7")},3,2).t("\n ").t(e.jsonData).t("\n")},{type:h,roots:["_r0","_r1","_r2","_r3","_r4","_r5","_r6","_r7"]},e),d.Component=j(e,d._)});
$_mod.def('/trooba-website$1.0.0/components/site-header/component-browser',function(a,b,c){var d={base:'headspace',fixed:'headspace--fixed',hidden:'headspace--hidden'},e=(a)=>()=>window.requestAnimationFrame(a);c.exports={onMount(){var a=window.pageYOffset,b=this.el.offsetHeight,c=e(()=>{var c=window.pageYOffset;if(0>=c)this.reset();else if(!this.paused&&c>b){var d=Math.abs(c-a)>=3,e=c>a,f=a<=b;(d||e&&f)&&(c>a?this.hide():this.fix())}a=c});window.addEventListener('scroll',c)},reset(){this.removeClass(d.fixed),this.removeClass(d.hidden),this.emit('reset')},fix(){this.addClass(d.fixed),this.removeClass(d.hidden),this.emit('fix')},hide(){this.addClass(d.hidden),this.emit('hide')},addClass(a){this.el.classList.add(a)},removeClass(a){this.el.classList.remove(a)},pause(){this.paused=!0},resume(){setTimeout(()=>window.requestAnimationFrame(()=>{this.paused=!1}))}}});
$_mod.def('/trooba-website$1.0.0/components/site-search/component-browser',function(a,b,c){c.exports={focus(a){var b=this.getEl('input');a.target!=b&&b.focus()},grow(){this.el.classList.add('large'),this.getEl('input').value=''},shrink(){this.el.classList.remove('large')},search(a){var b=this.getEl('input').value;b=encodeURIComponent(b.replace(/\s+/g,' ')).replace(/\%20/g,'+'),window.location.href='https://google.com/search?q='+b+'+site:trooba.github.io',a.preventDefault()}}});
$_mod.remap("/marko$4.4.21/components","/marko$4.4.21/components-browser.marko");
$_mod.def("/marko$4.4.21/components-browser.marko",function(a,b,c){c.exports=a("/marko$4.4.21/dist/components/index-browser")});
$_mod.def('/trooba-website$1.0.0/components/doc-sidebar/component-browser',function(a,b,c){var d=a('/marko$4.4.21/components-browser.marko').getComponentForEl,e=[].forEach,f=[].filter,g=[].slice;c.exports={onMount(){this.preventOverscroll(),this.listenForHeaderChanges(),this.initScrollSpy()},initScrollSpy(){var a=[1,2,3,4,5,6].map((a)=>'.doc-content h'+a).join(','),b=g.call(document.querySelectorAll(a)),c=!1;b.length&&this.subscribeTo(window).on('scroll',()=>{c||(c=!0,setTimeout(()=>{var a,d,g=window.innerHeight/3;b.map((b)=>{var c=Math.abs,e=b.getBoundingClientRect().top;(null==d||e<g&&c(e)<c(d))&&(d=e,a=b)});var h=a.id,i=this.el.querySelector('a[href="#'+h+'"]')||this.el.querySelector('a.selected'),j=i,k=j.nextSibling;for(k&&e.call(k.querySelectorAll('a[href^=\\#]'),(b)=>b.classList.remove('selected'));j;){var l=j.closest('ul'),m=l&&f.call(l.querySelectorAll(':scope > li > a[href^=\\#]'),(b)=>b!==j);m&&m.forEach((b)=>b.classList.remove('selected')),j.classList.add('selected'),j=l&&l.previousSibling}this.scrollAnchorIntoView(i),c=!1},50))})},listenForHeaderChanges(){var a=d(document.querySelector('.site-header'));e.call(this.el.querySelectorAll('a[href^=\\#]'),(b)=>{this.subscribeTo(b).on('click',()=>{a.hide(),a.pause(),a.resume(),this.hide()})});var b=g.call(this.el.querySelectorAll('a.selected')).pop();b&&this.subscribeTo(b).on('click',(b)=>{window.scrollTo(0,0),a.reset(),b.preventDefault()}),this.subscribeTo(a).on('reset',()=>{this.el.classList.remove('no-header'),this.el.classList.remove('fixed'),setTimeout(()=>this.el.classList.remove('transition'),0)}).on('fix',()=>{this.el.classList.remove('no-header'),this.el.classList.add('fixed'),setTimeout(()=>this.el.classList.add('transition'),0)}).on('hide',()=>{this.el.classList.add('no-header'),this.el.classList.add('fixed'),setTimeout(()=>this.el.classList.add('transition'),0)}).on('toggle-menu',()=>{this.el.classList.contains('show')?(this.el.classList.remove('show'),document.body.style.overflow=''):this.el.classList.add('show')}),window.pageYOffset>a.el.offsetHeight&&(this.el.classList.add('no-header'),this.el.classList.add('fixed'))},preventOverscroll(){var a=this.getEl('sidebar');this.subscribeTo(document.body).on('wheel',(b)=>{var c=b.deltaY,d=a.scrollTop+c,e=0,f=a.scrollHeight-a.offsetHeight,g=d<=e,h=d>=f;(0>c&&g||0<c&&h)&&(b.target===a||a.contains(b.target))&&(g&&a.scrollTop!=e?a.scrollTop=e:h&&a.scrollTop!=f&&(a.scrollTop=f),b.preventDefault())})},scrollAnchorIntoView(a){for(var b,c=this.getEl('sidebar'),d=a.offsetTop,e=c.scrollTop,f=c.offsetHeight,g=e+f,h=a.closest('li');b=h.parentNode.closest('ul'),b&&b.offsetHeight<f;)h=b;var i=h.offsetTop,j=h.offsetHeight;i>e&&i+j<g||(c.scrollTop=i+j/2-f/2)},hide(){this.el.classList.remove('show'),document.body.style.overflow=''}}});
$_mod.def('/trooba-website$1.0.0/components/doc-sidebar/components/version-switcher/component-browser',function(a,b,c){c.exports={switchVersion(a){var b=a.target.value;'current'!==b&&(a.target.value='current',window.location.href=b)}}});