new function(){function v(b,e,l,f,h,k){return{tag:b,key:e,attrs:l,children:f,text:h,dom:k,domSize:void 0,state:{},events:void 0,instance:void 0,skip:!1}}function w(b){if(null==b||"string"!==typeof b&&null==b.view)throw Error("The selector must be either a string or a component.");if("string"===typeof b&&void 0===F[b]){for(var e,l,f=[],h={};e=O.exec(b);){var k=e[1],q=e[2];""===k&&""!==q?l=q:"#"===k?h.id=q:"."===k?f.push(q):"["===e[3][0]&&((k=e[6])&&(k=k.replace(/\\(["'])/g,"$1").replace(/\\\\/g,"\\")), h[e[4]]=k||!0)}0d.filter(D).length)throw Error("Ensure that each item passed to m.prop.combine/m.prop.merge is a stream");return y(e(),d,function(){var b= d.filter(L);if(0b.indexOf("?")?"?":"&";b+=k+f}return b}function h(b){try{return""!==b?JSON.parse(b):null}catch(e){throw Error(b);}}function k(b){return b.responseText}function q(b,e){if("function"===typeof b)if(e instanceof Array)for(var f=0;ft.status||304=== t.status)u(q(g.type,b));else{var e=Error(t.responseText),f;for(f in b)e[f]=b[f];u.error(e)}}catch(x){u.error(x)}"function"===typeof p&&p()}};x?t.send(g.data):t.send();return u},jsonp:function(g){var k=e();void 0!==g.initialValue&&k(g.initialValue);var x=g.callbackName||"_mithril_"+Math.round(1E16*Math.random())+"_"+m++,h=b.document.createElement("script");b[x]=function(e){h.parentNode.removeChild(h);k(q(g.type,e));"function"===typeof p&&p();delete b[x]};h.onerror=function(){h.parentNode.removeChild(h); k.error(Error("JSONP request failed"));"function"===typeof p&&p();delete b[x]};null==g.data&&(g.data={});g.url=l(g.url,g.data);g.data[g.callbackKey||"callback"]=x;h.src=f(g.url,g.data);b.document.documentElement.appendChild(h);return k},setCompletionCallback:function(b){p=b}}}(window,M),I=function(){var b=[];return{subscribe:b.push.bind(b),unsubscribe:function(e){e=b.indexOf(e);-1=h&&t>=u;){var z=a[h],n=d[u];if(z!==n||r)if(null!=z&&null!=n&&z.key===n.key)h++,u++,k(c,z,n,b,m(a,h,f),r,x),r&&z.tag===n.tag&&p(c,q(z),f);else if(z=a[y],z!==n||r)if(null!=z&&null!=n&&z.key===n.key)k(c,z,n,b,m(a,y+1,f),r,x),(r||u=h&&t>=u;){z=a[y];n=d[t];if(z!==n||r)if(null!=z&&null!=n&&z.key===n.key)k(c,z,n,b,m(a,y+1,f),r,x),r&&z.tag===n.tag&&p(c,q(z),f),null!=z.dom&&(f=z.dom),y--;else{if(!A){A=a;var z=y,v={},w;for(w= 0;w