!function(){"use strict";functione(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}returnn}functiont(t){for(varn=1;n<arguments.length;n++){varr=null!=arguments[n]?arguments[n]:{};n%2?e(Object(r),!0).forEach((function(e){s(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}returnt}functionn(e){return(n="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe})(e)}functionr(){r=function(e,t){returnnewn(e,void0,t)};vare=RegExp.prototype,t=newWeakMap;functionn(e,r,a){vari=newRegExp(e,r);returnt.set(i,a||t.get(e)),p(i,n.prototype)}functiona(e,n){varr=t.get(n);returnObject.keys(r).reduce((function(t,n){returnt[n]=e[r[n]],t}),Object.create(null))}returnl(n,RegExp),n.prototype.exec=function(t){varn=e.exec.call(this,t);returnn&&(n.groups=a(n,this)),n},n.prototype[Symbol.replace]=function(n,r){if("string"==typeofr){vari=t.get(this);returne[Symbol.replace].call(this,n,r.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+i[t]})))}if("function"==typeofr){varo=this;returne[Symbol.replace].call(this,n,(function(){vare=arguments;return"object"!=typeofe[e.length-1]&&(e=[].slice.call(e)).push(a(e,o)),r.apply(this,e)}))}returne[Symbol.replace].call(this,n,r)},r.apply(this,arguments)}functiona(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functioni(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}functiono(e,t,n){returnt&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}functions(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionl(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}functionu(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){returne.__proto__||Object.getPrototypeOf(e)})(e)}functionp(e,t){return(p=Object.setPrototypeOf||function(e,t){returne.__proto__=t,e})(e,t)}functionc(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnBoolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}functiond(e,t,n){return(d=c()?Reflect.construct:function(e,t,n){varr=[null];r.push.apply(r,t);vara=new(Function.bind.apply(e,r));returnn&&p(a,n.prototype),a}).apply(null,arguments)}functionm(e,t){if(t&&("object"==typeoft||"function"==typeoft))returnt;if(void0!==t)thrownewTypeError("Derived constructors may only return object or undefined");returnfunction(e){if(void0===e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returne}(e)}functionh(e,t){returnv(e)||function(e,t){varn=null==e?null:"undefined"!=typeofSymbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;varr,a,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(s)throwa}}returni}(e,t)||x(e,t)||T()}functiong(e){returnv(e)||y(e)||x(e)||T()}functionf(e){returnfunction(e){if(Array.isArray(e))returnb(e)}(e)||y(e)||x(e)||function(){thrownewTypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}functionv(e){if(Array.isArray(e))retur
/* Riot v6.1.2, @license MIT */functionN(e){returne.replace(/-(\w)/g,(function(e,t){returnt.toUpperCase()}))}functionI(e,t){e.firstChild&&(t.appendChild(e.firstChild),I(e,t))}functionR(e){k(e.childNodes)}functionk(e){Array.from(e).forEach(U)}varU=function(e){returne&&e.parentNode&&e.parentNode.removeChild(e)},O=function(e,t){returnt&&t.parentNode&&t.parentNode.insertBefore(e,t)},B=newMap,S=Symbol("riot-component"),L=newSet,D="is",j="mount",_="update",M="unmount",P="shouldUpdate",G="onBeforeMount",V="onMounted",$="onBeforeUpdate",z="onUpdated",H="onBeforeUnmount",F="onUnmounted",q="props",K="state",W="slots",X="root",Y=Symbol("pure"),Q=Symbol("is_updating"),J=Symbol("parent"),Z=Symbol("attributes"),ee=Symbol("template"),te=Object.freeze({__proto__:null,COMPONENTS_IMPLEMENTATION_MAP:B,DOM_COMPONENT_INSTANCE_PROPERTY:S,PLUGINS_SET:L,IS_DIRECTIVE:D,VALUE_ATTRIBUTE:"value",MOUNT_METHOD_KEY:j,UPDATE_METHOD_KEY:_,UNMOUNT_METHOD_KEY:M,SHOULD_UPDATE_KEY:P,ON_BEFORE_MOUNT_KEY:G,ON_MOUNTED_KEY:V,ON_BEFORE_UPDATE_KEY:$,ON_UPDATED_KEY:z,ON_BEFORE_UNMOUNT_KEY:H,ON_UNMOUNTED_KEY:F,PROPS_KEY:q,STATE_KEY:K,SLOTS_KEY:W,ROOT_KEY:X,IS_PURE_SYMBOL:Y,IS_COMPONENT_UPDATING:Q,PARENT_KEY_SYMBOL:J,ATTRIBUTES_KEY_SYMBOL:Z,TEMPLATE_KEY_SYMBOL:ee}),ne={EACH:0,IF:1,SIMPLE:2,TAG:3,SLOT:4},re={ATTRIBUTE:0,EVENT:1,TEXT:2,VALUE:3},ae=Symbol("head"),ie=Symbol("tail");functionoe(e){vart=e.dom.cloneNode(!0),n=function(){vare=document.createTextNode(""),t=document.createTextNode("");returne[ae]=!0,t[ie]=!0,{head:e,tail:t}}(),r=n.head,a=n.tail;return{avoidDOMInjection:!0,fragment:t,head:r,tail:a,children:[r].concat(f(Array.from(t.childNodes)),[a])}}functionse(e,t,n,r){returnvoid0===r&&(r={}),Object.defineProperty(e,t,Object.assign({value:n,enumerable:!1,writable:!1,configurable:!0},r)),e}functionle(e,t,n){returnObject.entries(t).forEach((function(t){varr=h(t,2),a=r[0],i=r[1];se(e,a,i,n)})),e}functionue(e,t){returnObject.entries(t).forEach((function(t){varn=h(t,2),r=n[0],a=n[1];e[r]||(e[r]=a)})),e}functionpe(e,t){returnn(e)===t}functionce(e){vart=e.ownerSVGElement;return!!t||null===t}functionde(e){return"template"===e.tagName.toLowerCase()}functionme(e){returnpe(e,"function")}functionhe(e){return!ge(e)&&e.constructor===Object}functionge(e){returnnull==e}varfe=Symbol("unmount"),ve={nodes:[],mount:function(e,t){returnthis.update(e,t)},update:function(e,t){varn=this.placeholder,r=this.nodes,a=this.childrenMap,i=e===fe?null:this.evaluate(e),o=function(e,t,n,r){vara=r.condition,i=r.template,o=r.childrenMap,s=r.itemName,l=r.getKey,u=r.indexName,p=r.root,c=r.isTemplateTag,d=newMap,m=[],h=[];returne.forEach((function(e,r){varg=function(e,t){varn=t.itemName,r=t.indexName,a=t.index,i=t.item;se(e,n,i),r&&se(e,r,a);returne}(Object.create(t),{itemName:s,indexName:u,index:r,item:e}),v=l?l(g):r,y=o.get(v),x=[];if(!function(e,t){return!!e&&!e(t)}(a,g)){varb=!y,T=y?y.template:i.clone(),E=T.el||p.cloneNode(),A=c&&b?oe(T):T.meta;b?m.push((function(){returnT.mount(E,g,n,A)})):m.push((function(){returnT.update(g,n)})),c?x.push.apply(x,f(A.children)):x.push(E),o.delete(v),h.push.apply(h,x),d.set(v,{nodes:x,template:T,context:g,index:r})}})),{newChildrenMap:d,batches:m,futureNodes:h}}(i?Array.from(i):[],e,t,this),s=o.newChildrenMap,l=o.batches,u=o.futureNodes;returnfunction(e,t,n,r){for(vara,i,o=t.length,s=e.length,l=o,u=0,p=0,c=null;u<s||p<l;)if(s===u)for(vard=l<o?p?n(t[p-1],-0).nextSibling:n(t[l-p],0):r;p<l;)O(n(t[p++],1),d);elseif(l===p)for(;u<s;)c&&c.has(e[u])||U(n(e[u],-1)),u++;elseif(e[u]===t[p])u++,p++;elseif(e[s-1]===t[l-1])s--,l--;elseif(e[u]===t[l-1]&&t[p]===e[s-1]){varm=n(e[--s],-1).nextSibling;O(n(t[p++],1),n(e[u++],-1).nextSibling),O(n(t[--l],1),m),e[s]=t[l]}else{if(!c){c=newMap;for(varh=p;h<l;)c.set(t[h],h++)}if(c.has(e[u])){varg=c.get(e[u]);if(p<g&&g<l){for(varf=u,v=1;++f<s&&f<l&&c.get(e[f])===g+v;)v++;if(v>g-p)for(vary=n(e[u],0);p<g;)O(n(t[p++],1),y);elsea=n(t[p++],1),(i=n(e[u++],-1))&&i.parentNode&&i.parentNode.replaceChild(a,i)}elseu++}elseU(n(e[u++],-1))}}(r,u,function(e,t){returnfunction(n,r){if(r<0)