text: // Generated by js_of_ocaml 3.8.0
  (function(b){"use strict";var
  aC=" : flags Open_text and Open_binary are not compatible",aJ="Sys_error",aR="Invalid_argument",aw=0xf0,aQ=0x800,W="jsError",z=1024,aP="End_of_file",j=0x80,aO="Failure",av="Undefined_recursive_module",aI=" : flags Open_rdonly and Open_wronly are not compatible",aH="([^/]*)",aG=512,au=40878107,aB="Stack_overflow",d="",U="^",at=0xe0,aF=" : file already exists",t=0x3f,ar=-976970511,as=0xdfff,aA="Not_found",aq="Assert_failure",n="/",V=128,aL="Sys_blocked_io",aM="fd ",aN=0xdc00,aE="Out_of_memory",az="Match_failure",g=248,aD="index out of bounds",ay="static/",aK="Division_by_zero",ax=252;function
  bP(a){var
  c=[0];while(a!==0){var
  d=a[1];for(var
  b=1;b<d.length;b++)c.push(d[b]);a=a[2]}return c}function
  $(c,b,a){var
  e=String.fromCharCode;if(b==0&&a<=4096&&a==c.length)return e.apply(null,c);var
  f=d;for(;0<a;b+=z,a-=z)f+=e.apply(null,c.slice(b,b+Math.min(a,z)));return f}function
  X(c){if(b.Uint8Array)var
  d=new(b.Uint8Array)(c.l);else
  var
  d=new
  Array(c.l);var
  f=c.c,e=f.length,a=0;for(;a<e;a++)d[a]=f.charCodeAt(a);for(e=c.l;a<e;a++)d[a]=0;c.c=d;c.t=4;return d}function
  H(d,e,b,f,c){if(c==0)return 0;if(f==0&&(c>=b.l||b.t==2&&c>=b.c.length)){b.c=d.t==4?$(d.c,e,c):e==0&&d.c.length==c?d.c:d.c.substr(e,c);b.t=b.c.length==b.l?0:2}else
  if(b.t==2&&f==b.c.length){b.c+=d.t==4?$(d.c,e,c):e==0&&d.c.length==c?d.c:d.c.substr(e,c);b.t=b.c.length==b.l?0:2}else{if(b.t!=4)X(b);var
  g=d.c,h=b.c;if(d.t==4)if(f<=e)for(var
  a=0;a<c;a++)h[f+a]=g[e+a];else
  for(var
  a=c-1;a>=0;a--)h[f+a]=g[e+a];else{var
  i=Math.min(c,g.length-e);for(var
  a=0;a<i;a++)h[f+a]=g.charCodeAt(e+a);for(;a<c;a++)h[f+a]=0}}return 0}function
  I(a){return a}function
  u(a,b,c,d,e){H(I(a),b,c,d,e);return 0}function
  J(c,a){if(c.fun)return J(c.fun,a);if(typeof
  c!=="function")return c;var
  b=c.length|0;if(b===0)return c.apply(null,a);var
  e=a.length|0,d=b-e|0;if(d==0)return c.apply(null,a);else
  if(d<0)return J(c.apply(null,a.slice(0,b)),a.slice(b));else
  return function(){var
  e=arguments.length==0?1:arguments.length,d=new
  Array(a.length+e);for(var
  b=0;b<a.length;b++)d[b]=a[b];for(var
  b=0;b<arguments.length;b++)d[a.length+b]=arguments[b];return J(c,d)}}function
  ca(b,a){if(b==0)return d;if(a.repeat)return a.repeat(b);var
  e=d,c=0;for(;;){if(b&1)e+=a;b>>=1;if(b==0)return e;a+=a;c++;if(c==9)a.slice(0,1)}}function
  aW(a){if(a.t==2)a.c+=ca(a.l-a.c.length,"\0");else
  a.c=$(a.c,0,a.c.length);a.t=0}function
  a7(a){if(a.length<24){for(var
  b=0;b<a.length;b++)if(a.charCodeAt(b)>127)return false;return true}else
  return!/[^\x00-\x7f]/.test(a)}function
  aa(f){for(var
  l=d,c=d,h,g,i,a,b=0,k=f.length;b<k;b++){g=f.charCodeAt(b);if(g<j){for(var
  e=b+1;e<k&&(g=f.charCodeAt(e))<j;e++);if(e-b>aG){c.substr(0,1);l+=c;c=d;l+=f.slice(b,e)}else
  c+=f.slice(b,e);if(e==k)break;b=e}a=1;if(++b<k&&((i=f.charCodeAt(b))&-64)==V){h=i+(g<<6);if(g<at){a=h-0x3080;if(a<j)a=1}else{a=2;if(++b<k&&((i=f.charCodeAt(b))&-64)==V){h=i+(h<<6);if(g<aw){a=h-0xe2080;if(a<aQ||a>=0xd7ff&&a<0xe000)a=2}else{a=3;if(++b<k&&((i=f.charCodeAt(b))&-64)==V&&g<0xf5){a=i-0x3c82080+(h<<6);if(a<0x10000||a>0x10ffff)a=3}}}}}if(a<4){b-=a;c+="\ufffd"}else
  if(a>0xffff)c+=String.fromCharCode(0xd7c0+(a>>10),aN+(a&0x3FF));else
  c+=String.fromCharCode(a);if(c.length>z){c.substr(0,1);l+=c;c=d}}return l+c}function
  o(c,a,b){this.t=c;this.c=a;this.l=b}o.prototype.toString=function(){switch(this.t){case
  9:return this.c;default:aW(this);case
  0:if(a7(this.c)){this.t=9;return this.c}this.t=8;case
  8:return this.c}};o.prototype.toUtf16=function(){var
  a=this.toString();if(this.t==9)return a;return aa(a)};o.prototype.slice=function(){var
  a=this.t==4?this.c.slice():this.c;return new
  o(this.t,a,this.l)};function
  b_(b,a){throw[0,b,a]}function
  aU(a){return new
  o(0,a,a.length)}function
  a(a){return aU(a)}function
  _(c,b){b_(c,a(b))}var
  e=[0];function
  Y(a){_(e.Invalid_argument,a)}function
  s(a){if(a<0)Y("Bytes.create");return new
  o(a?2:9,d,a)}var
  b8=0;function
  K(){return b8++}function
  bX(a){_(e.Failure,a)}function
  B(a){return a.toUtf16()}if(b.process&&b.process.cwd)var
  A=b.process.cwd().replace(/\\/g,n);else
  var
  A="/static";if(A.slice(-1)!==n)A+=n;function
  b3(a){a=B(a);if(a.charCodeAt(0)!=47)a=A+a;var
  e=a.split(n),b=[];for(var
  c=0;c<e.length;c++)switch(e[c]){case"..":if(b.length>1)b.pop();break;case".":break;case"":if(b.length==0)b.push(d);break;default:b.push(e[c]);break}b.orig=a;return b}function
  Z(a){return a
  instanceof
  o}function
  aY(a){return Z(a)}function
  bT(a){return new
  o(4,a,a.length)}function
  cd(f){for(var
  g=d,b=g,a,i,c=0,h=f.length;c<h;c++){a=f.charCodeAt(c);if(a<j){for(var
  e=c+1;e<h&&(a=f.charCodeAt(e))<j;e++);if(e-c>aG){b.substr(0,1);g+=b;b=d;g+=f.slice(c,e)}else
  b+=f.slice(c,e);if(e==h)break;c=e}if(a<aQ){b+=String.fromCharCode(0xc0|a>>6);b+=String.fromCharCode(j|a&t)}else
  if(a<0xd800||a>=as)b+=String.fromCharCode(at|a>>12,j|a>>6&t,j|a&t);else
  if(a>=0xdbff||c+1==h||(i=f.charCodeAt(c+1))<aN||i>as)b+="\xef\xbf\xbd";else{c++;a=(a<<10)+i-0x35fdc00;b+=String.fromCharCode(aw|a>>18,j|a>>12&t,j|a>>6&t,j|a&t)}if(b.length>z){b.substr(0,1);g+=b;b=d}}return g+b}function
  bU(a){var
  b=9;if(!a7(a))b=8,a=cd(a);return new
  o(b,a,a.length)}function
  C(a){return bU(a)}function
  c(a){_(e.Sys_error,a)}function
  L(a){if((a.t&6)!=0)aW(a);return a.c}function
  b9(a){a=L(a);c(a+": No such file or directory")}function
  aT(){Y(aD)}function
  aV(a,b){switch(a.t&6){default:if(b>=a.c.length)return 0;case
  0:return a.c.charCodeAt(b);case
  4:return a.c[b]}}function
  bS(b,a){if(a>>>0>=b.l)aT();return aV(b,a)}function
  a0(a){return a.l}function
  aS(){}function
  f(a){this.data=a}f.prototype=new
  aS();f.prototype.truncate=function(a){var
  b=this.data;this.data=s(a|0);H(b,0,this.data,0,a)};f.prototype.length=function(){return a0(this.data)};f.prototype.write=function(b,d,g,a){var
  c=this.length();if(b+a>=c){var
  e=s(b+a),f=this.data;this.data=e;H(f,0,this.data,0,c)}u(d,g,this.data,b,a);return 0};f.prototype.read=function(c,a,d,b){var
  e=this.length();H(this.data,c,a,d,b);return 0};f.prototype.read_one=function(a){return bS(this.data,a)};f.prototype.close=function(){};f.prototype.constructor=f;function
  h(b,a){this.content={};this.root=b;this.lookupFun=a}h.prototype.nm=function(a){return this.root+a};h.prototype.lookup=function(b){if(!this.content[b]&&this.lookupFun){var
  c=this.lookupFun(a(this.root),a(b));if(c!==0)this.content[b]=new
  f(I(c[1]))}};h.prototype.exists=function(a){if(a==d)return 1;var
  c=a+n,e=new
  RegExp(U+c);for(var
  b
  in
  this.content)if(b.match(e))return 1;this.lookup(a);return this.content[a]?1:0};h.prototype.readdir=function(c){var
  g=c==d?d:c+n,h=new
  RegExp(U+g+aH),e={},b=[];for(var
  f
  in
  this.content){var
  a=f.match(h);if(a&&!e[a[1]]){e[a[1]]=true;b.push(a[1])}}return b};h.prototype.is_dir=function(a){var
  e=a==d?d:a+n,f=new
  RegExp(U+e+aH),g=[];for(var
  c
  in
  this.content){var
  b=c.match(f);if(b)return 1}return 0};h.prototype.unlink=function(a){var
  b=this.content[a]?true:false;delete
  this.content[a];return b};h.prototype.open=function(a,b){if(b.rdonly&&b.wronly)c(this.nm(a)+aI);if(b.text&&b.binary)c(this.nm(a)+aC);this.lookup(a);if(this.content[a]){if(this.is_dir(a))c(this.nm(a)+" : is a directory");if(b.create&&b.excl)c(this.nm(a)+aF);var
  d=this.content[a];if(b.truncate)d.truncate();return d}else
  if(b.create){this.content[a]=new
  f(s(0));return this.content[a]}else
  b9(this.nm(a))};h.prototype.register=function(b,a){if(this.content[b])c(this.nm(b)+aF);if(Z(a))this.content[b]=new
  f(a);if(aY(a))this.content[b]=new
  f(I(a));else
  if(a
  instanceof
  Array)this.content[b]=new
  f(bT(a));else
  if(typeof
  a==="string")this.content[b]=new
  f(aU(a));else
  if(a.toString){var
  d=I(C(a.toString()));this.content[b]=new
  f(d)}else
  c(this.nm(b)+" : registering file with invalid content type")};h.prototype.constructor=h;function
  m(a){return a0(a)}function
  cb(b,a){return aV(b,a)}function
  bR(d){var
  c=m(d),b=new
  Array(c),a=0;for(;a<c;a++)b[a]=cb(d,a);return b}function
  bQ(a){if(a.t!=4)X(a);return a.c}function
  bW(a,c,b){b&=0xff;if(a.t!=4){if(c==a.c.length){a.c+=String.fromCharCode(b);if(c+1==a.l)a.t=0;return 0}X(a)}a.c[c]=b;return 0}function
  bV(b,a,c){if(a>>>0>=b.l)aT();return bW(b,a,c)}function
  l(a){this.fs=require("fs");this.fd=a}l.prototype=new
  aS();l.prototype.truncate=function(a){try{this.fs.ftruncateSync(this.fd,a|0)}catch(a){c(a.toString())}};l.prototype.length=function(){try{return this.fs.fstatSync(this.fd).size}catch(a){c(a.toString())}};l.prototype.write=function(h,d,e,g){var
  a=bR(d);if(!(a
  instanceof
  b.Uint8Array))a=new(b.Uint8Array)(a);var
  f=b.Buffer.from(a);try{this.fs.writeSync(this.fd,f,e,g,h)}catch(a){c(a.toString())}return 0};l.prototype.read=function(i,f,e,h){var
  a=bQ(f);if(!(a
  instanceof
  b.Uint8Array))a=new(b.Uint8Array)(a);var
  g=b.Buffer.from(a);try{this.fs.readSync(this.fd,g,e,h,i)}catch(a){c(a.toString())}for(var
  d=0;d<h;d++)bV(f,e+d,g[e+d]);return 0};l.prototype.read_one=function(e){var
  d=new(b.Uint8Array)(1),a=b.Buffer.from(d);try{this.fs.readSync(this.fd,a,0,1,e)}catch(a){c(a.toString())}return a[0]};l.prototype.close=function(){try{this.fs.closeSync(this.fd)}catch(a){c(a.toString())}};l.prototype.constructor=l;function
  k(a){this.fs=require("fs");this.root=a}k.prototype.nm=function(a){return this.root+a};k.prototype.exists=function(a){try{return this.fs.existsSync(this.nm(a))?1:0}catch(a){c(a.toString())}};k.prototype.readdir=function(a){try{return this.fs.readdirSync(this.nm(a))}catch(a){c(a.toString())}};k.prototype.is_dir=function(a){try{return this.fs.statSync(this.nm(a)).isDirectory()?1:0}catch(a){c(a.toString())}};k.prototype.unlink=function(a){try{var
  b=this.fs.existsSync(this.nm(a))?1:0;this.fs.unlinkSync(this.nm(a))}catch(a){c(a.toString())}return b};k.prototype.open=function(g,d){var
  a=require("constants"),b=0;for(var
  f
  in
  d)switch(f){case"rdonly":b|=a.O_RDONLY;break;case"wronly":b|=a.O_WRONLY;break;case"append":b|=a.O_WRONLY|a.O_APPEND;break;case"create":b|=a.O_CREAT;break;case"truncate":b|=a.O_TRUNC;break;case"excl":b|=a.O_EXCL;break;case"binary":b|=a.O_BINARY;break;case"text":b|=a.O_TEXT;break;case"nonblock":b|=a.O_NONBLOCK;break}try{var
  e=this.fs.openSync(this.nm(g),b);return new
  l(e)}catch(a){c(a.toString())}};k.prototype.rename=function(b,a){try{this.fs.renameSync(this.nm(b),this.nm(a))}catch(a){c(a.toString())}};k.prototype.constructor=k;var
  v=A.match(/[^\/]*\//)[0];function
  cf(){return typeof
  b.process!=="undefined"&&typeof
  b.process.versions!=="undefined"&&typeof
  b.process.versions.node!=="undefined"&&b.process.platform!=="browser"}var
  D=[];if(cf())D.push({path:v,device:new
  k(v)});else
  D.push({path:v,device:new
  h(v)});D.push({path:v+ay,device:new
  h(v+ay)});function
  a8(b){var
  f=b3(b),b=f.join(n),e=b+n,c;for(var
  d=0;d<D.length;d++){var
  a=D[d];if(e.search(a.path)==0&&(!c||c.path.length<a.path.length))c={path:a.path,device:a.device,rest:b.substring(a.path.length,b.length)}}return c}function
  aX(c,b){var
  c=typeof
  c=="string"?a(c):c,b=typeof
  b=="string"?a(b):b,d=a8(c);if(!d.device.register)bX("cannot register file");d.device.register(d.rest,b);return 0}function
  bY(){var
  c=b.caml_fs_tmp;if(c)for(var
  a=0;a<c.length;a++)aX(c[a].name,c[a].content);b.caml_create_file=aX;b.caml_fs_tmp=[];return 0}function
  bZ(a,b){if(a<b)return-1;if(a==b)return 0;return 1}function
  b0(a){return a.slice(1)}function
  b1(b,a){switch(a.length){case
  1:return new
  b();case
  2:return new
  b(a[1]);case
  3:return new
  b(a[1],a[2]);case
  4:return new
  b(a[1],a[2],a[3]);case
  5:return new
  b(a[1],a[2],a[3],a[4]);case
  6:return new
  b(a[1],a[2],a[3],a[4],a[5]);case
  7:return new
  b(a[1],a[2],a[3],a[4],a[5],a[6]);case
  8:return new
  b(a[1],a[2],a[3],a[4],a[5],a[6],a[7])}function
  c(){return b.apply(this,b0(a))}c.prototype=b.prototype;return new
  c()}function
  b2(b){var
  c={};for(var
  a=1;a<b.length;a++){var
  d=b[a];c[B(d[1])]=d[2]}return c}function
  bO(){Y(aD)}function
  aZ(a,d){if(a<0)bO();var
  a=a+1|0,b=new
  Array(a);b[0]=0;for(var
  c=1;c<a;c++)b[c]=d;return b}var
  p=new
  Array();function
  b4(f){var
  a=p[f];if(!a.opened)c("Cannot flush a closed channel");if(!a.buffer||a.buffer==d)return 0;if(a.fd&&e.fds[a.fd]&&e.fds[a.fd].output){var
  b=e.fds[a.fd].output;switch(b.length){case
  2:b(f,a.buffer);break;default:b(a.buffer)}}a.buffer=d;return 0}function
  a5(e,f){var
  b=p[e],d=a(f),c=m(d);b.file.write(b.offset,d,0,c);b.offset+=c;return 0}function
  cg(a){var
  a=aa(a),c=b;if(c.process&&c.process.stdout&&c.process.stdout.write)c.process.stderr.write(a);else{if(a.charCodeAt(a.length-1)==10)a=a.substr(0,a.length-1);var
  d=c.console;d&&d.error&&d.error(a)}}function
  ch(a){var
  a=aa(a),c=b;if(c.process&&c.process.stdout&&c.process.stdout.write)c.process.stdout.write(a);else{if(a.charCodeAt(a.length-1)==10)a=a.substr(0,a.length-1);var
  d=c.console;d&&d.log&&d.log(a)}}function
  M(c,f,d,a){if(e.fds===undefined)e.fds=new
  Array();a=a?a:{};var
  b={};b.file=d;b.offset=a.append?d.length():0;b.flags=a;b.output=f;e.fds[c]=b;if(!e.fd_last_idx||c>e.fd_last_idx)e.fd_last_idx=c;return c}function
  ci(d,b,i){var
  a={};while(b){switch(b[1]){case
  0:a.rdonly=1;break;case
  1:a.wronly=1;break;case
  2:a.append=1;break;case
  3:a.create=1;break;case
  4:a.truncate=1;break;case
  5:a.excl=1;break;case
  6:a.binary=1;break;case
  7:a.text=1;break;case
  8:a.nonblock=1;break}b=b[2]}if(a.rdonly&&a.wronly)c(L(d)+aI);if(a.text&&a.binary)c(L(d)+aC);var
  f=a8(d),g=f.device.open(f.rest,a),h=e.fd_last_idx?e.fd_last_idx:0;return M(h+1,a5,g,a)}M(0,a5,new
  f(s(0)));M(1,ch,new
  f(s(0)));M(2,cg,new
  f(s(0)));function
  b5(d){var
  b=e.fds[d];if(b.flags.wronly)c(aM+d+" is writeonly");var
  a={file:b.file,offset:b.offset,fd:d,opened:true,out:false,refill:null};p[a.fd]=a;return a.fd}function
  a1(f){var
  b=e.fds[f];if(b.flags.rdonly)c(aM+f+" is readonly");var
  a={file:b.file,offset:b.offset,fd:f,opened:true,out:true,buffer:d};p[a.fd]=a;return a.fd}function
  b6(){var
  b=0;for(var
  a=0;a<p.length;a++)if(p[a]&&p[a].opened&&p[a].out)b=[0,p[a].fd,b];return b}function
  b7(a){if(a
  instanceof
  Array&&a[0]==a[0]>>>0)return a[0];else
  if(Z(a))return ax;else
  if(aY(a))return ax;else
  if(a
  instanceof
  Function||typeof
  a=="function")return 247;else
  if(a&&a.caml_custom)return 255;else
  return 1000}function
  i(c,d,a){if(a&&b.toplevelReloc)c=b.toplevelReloc(a);e[c+1]=d;if(a)e[a]=d}var
  a3={};function
  b$(a,b){a3[L(a)]=b;return 0}function
  a6(a){return a}function
  cc(){return[0,a("js_of_ocaml")]}function
  a4(a){return a}function
  a2(a){return a3[a]}function
  ce(a){if(a
  instanceof
  Array)return a;if(b.RangeError&&a
  instanceof
  b.RangeError&&a.message&&a.message.match(/maximum call stack/i))return a4(e.Stack_overflow);if(b.InternalError&&a
  instanceof
  b.InternalError&&a.message&&a.message.match(/too much recursion/i))return a4(e.Stack_overflow);if(a
  instanceof
  b.Error&&a2(W))return[0,a2(W),a];return[0,e.Failure,C(String(a))]}function
  G(a,b){return a.length==1?a(b):J(a,[b])}bY();var
  ae=[g,a(aJ),-2],ac=[g,a(aO),-3],ab=[g,a(aR),-4];i(11,[g,a(av),-12],av);i(10,[g,a(aq),-11],aq);i(9,[g,a(aL),-10],aL);i(8,[g,a(aB),-9],aB);i(7,[g,a(az),-8],az);i(6,[g,a(aA),-7],aA);i(5,[g,a(aK),-6],aK);i(4,[g,a(aP),-5],aP);i(3,ab,aR);i(2,ac,aO);i(1,ae,aJ);i(0,[g,a(aE),-1],aE);var
  ba=a("List.init"),bc=a(d),bb=a("String.concat"),bi=a("Jv.Error"),bN=a("No global Mithril object found -- are you sure you have correctly require MithrilJS?"),bn=a("method"),bo=a("params"),bp=a("body"),bq=a("async"),br=a("user"),bs=a("password"),bt=a("withCredentials"),bu=a("responseType"),bv=a("config"),bw=a("headers"),bx=a("type"),by=a("serialize"),bz=a("deserialize"),bA=a("extract"),bB=a("background"),bG=a("div"),bH=a("p"),bI=a(", "),bJ=a("button"),bK=[0,[0,ar,a("Get Users")]],bE=[0,1],bF=[0,a("GET")],bD=a(" ");function
  ad(a){throw[0,ab,a]}K(0);function
  af(d,c){var
  a=m(d),e=m(c),b=s(a+e|0);u(d,0,b,0,a);u(c,0,b,a,e);return a6(b)}function
  ag(a,b){if(a){var
  c=a[1];return[0,c,ag(a[2],b)]}return b}b5(0);a1(1);a1(2);function
  q(b,a){return a?[0,G(b,a[1])]:0}function
  ah(a){return a?[0,a[1],0]:0}K(0);var
  a_=cc(0);function
  w(d,c){var
  a=d,b=c;for(;;){if(a){var
  e=[0,a[1],b],a=a[2],b=e;continue}return b}}function
  ai(a,c,b){if(c<=a)return 0;var
  d=G(b,a);return[0,d,ai(a+1|0,c,b)]}var
  a$=typeof
  a_==="number"?10000:50;function
  aj(b,a){if(a){var
  c=a[2],d=G(b,a[1]);return[0,d,aj(b,c)]}return 0}K(0);var
  bg=null,bh=undefined;function
  am(a){var
  b=a===bg?1:0,c=b||(a===bh?1:0);return 1-c}var
  y=globalThis;function
  r(c,b,a){return a?c[b]=a[1]:0}function
  O(c,b,a){return a?c[b]=!!a[1]:0}function
  E(c,b,a){return a?c[b]=a[1]:0}var
  P=[0,[g,bi,K(0)],{}],bf=b7(P)===g?P:P[1];b$(a(W),bf);var
  bj=y.Promise;function
  Q(a){return bj.resolve(a)}var
  F=y.m,bl=y.document;if(am(F)){var
  bm=function(a){var
  d=a[1];if(au<=d){if(737456202<=d)return!!a[2];var
  g=a[2],e=new(y.Array)(0),c=0,b=g;for(;;){if(b){var
  f=b[2];e[c]=b[1];var
  c=c+1|0,b=f;continue}return e}}return-703661335<=d?a[2]:B(a[2])},R=function(m,l,k){var
  n=ah(q(function(a){return a},m)),b=ag(n,ah(q(bm,l)));if(b){var
  d=0,c=b,h=b[2],i=b[1];for(;;){if(c){var
  d=d+1|0,c=c[2];continue}var
  f=aZ(d,i),e=1,a=h;for(;;){if(a){var
  j=a[2];f[1+e]=a[1];var
  e=e+1|0,a=j;continue}var
  g=f;break}break}}else
  var
  g=[0];return b1(F,bP([0,[0,B(k)],[0,g,0]]))},S=[0,0],bC=function(a){var
  b=af(bD,C(a.lastName));return af(C(a.firstName),b)},T=[0,[0,"onclick",function(x){var
  h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,s=0,t=0,u=0,v=0,f=B;function
  b(a){return q(f,a)}var
  a={};E(a,bn,b(bF));r(a,bo,v);r(a,bp,u);O(a,bq,t);E(a,br,b(s));E(a,bs,b(p));O(a,bt,bE);E(a,bu,b(o));r(a,bv,q(function(a){return a},n));r(a,bw,m);r(a,bx,q(function(a){return a},l));r(a,by,q(function(a){return a},k));r(a,bz,q(function(a){return a},j));r(a,bA,q(function(a){return a},i));a.url="http://rem-rest-api.herokuapp.com/api/users";O(a,bB,h);var
  g=F.request(a);function
  d(a){return Q([0,a])}var
  e={"fut":g.then(d,function(a){return Q([1,a])})};function
  c(g){if(0===g[0]){var
  l=g[1].data,d=l.length,j=function(a){return l[a]};if(0<=d)if(a$<d){var
  f=0,b=0;for(;;){if(!(d<=b)){var
  f=[0,j(b),f],b=b+1|0;continue}var
  i=w(f,0);break}}else
  var
  i=ai(0,d,j);else
  var
  i=ad(ba);var
  c=i;a:for(;;){if(c){var
  h=[0,c[1],S[1]],m=c[2],o=function(b,a){return bZ(b.id,a.id)},a=0,e=h,n=function(a){function
  o(i,e){if(2===i){if(e){var
  j=e[2];if(j){var
  k=j[1],l=e[1],y=j[2],z=0<a(l,k)?[0,l,[0,k,0]]:[0,k,[0,l,0]];return[0,z,y]}}}else
  if(3===i&&e){var
  m=e[2];if(m){var
  n=m[2];if(n){var
  b=n[1],c=m[1],d=e[1],C=n[2],D=0<a(d,c)?0<a(c,b)?[0,d,[0,c,[0,b,0]]]:0<a(d,b)?[0,d,[0,b,[0,c,0]]]:[0,b,[0,d,[0,c,0]]]:0<a(d,b)?[0,c,[0,d,[0,b,0]]]:0<a(c,b)?[0,c,[0,b,[0,d,0]]]:[0,b,[0,c,[0,d,0]]];return[0,D,C]}}}var
  r=i>>1,s=p(r,e),A=s[1],t=p(i-r|0,s[2]),h=A,g=t[1],f=0,B=t[2];for(;;){if(h){if(g){var
  o=g[1],q=h[1],v=g[2],x=h[2];if(0<a(q,o)){var
  g=v,f=[0,o,f];continue}var
  h=x,f=[0,q,f];continue}var
  u=w(h,f)}else
  var
  u=w(g,f);return[0,u,B]}}function
  p(i,e){if(2===i){if(e){var
  j=e[2];if(j){var
  k=j[1],l=e[1],y=j[2],z=0<a(l,k)?[0,k,[0,l,0]]:[0,l,[0,k,0]];return[0,z,y]}}}else
  if(3===i&&e){var
  m=e[2];if(m){var
  n=m[2];if(n){var
  b=n[1],c=m[1],d=e[1],C=n[2],D=0<a(d,c)?0<a(d,b)?0<a(c,b)?[0,b,[0,c,[0,d,0]]]:[0,c,[0,b,[0,d,0]]]:[0,c,[0,d,[0,b,0]]]:0<a(c,b)?0<a(d,b)?[0,b,[0,d,[0,c,0]]]:[0,d,[0,b,[0,c,0]]]:[0,d,[0,c,[0,b,0]]];return[0,D,C]}}}var
  r=i>>1,s=o(r,e),A=s[1],t=o(i-r|0,s[2]),h=A,g=t[1],f=0,B=t[2];for(;;){if(h){if(g){var
  p=g[1],q=h[1],v=g[2],x=h[2];if(0<a(q,p)){var
  h=x,f=[0,q,f];continue}var
  g=v,f=[0,p,f];continue}var
  u=w(h,f)}else
  var
  u=w(g,f);return[0,u,B]}}return[0,o,p]}(o)[2];for(;;){if(e){var
  a=a+1|0,e=e[2];continue}var
  p=2<=a?n(a,h)[1]:h;S[1]=p;var
  c=m;continue a}}var
  k=[0,0];break}}else
  var
  k=g;return{"fut":Q(k)}.fut}return{"fut":e.fut.then(c)}}]],an=function(a){var
  b=a[2];return[0,C(a[1]),b]},N=T.length-1;if(0===N)var
  ao=[0];else{var
  ak=aZ(N,an(T[1])),al=N-1|0,bd=1;if(!(al<1)){var
  x=bd;for(;;){ak[1+x]=an(T[1+x]);var
  be=x+1|0;if(al!==x){var
  x=be;continue}break}}var
  ao=ak}var
  bk=b2(ao),bL={"view":function(t){var
  g=aj(bC,S[1]),q=0;if(g){var
  c=0,b=g,p=0;for(;;){if(b){var
  h=b[1];if(b[2]){var
  i=(m(h)+2|0)+c|0,l=b[2],n=c<=i?i:ad(bb),c=n,b=l;continue}var
  j=m(h)+c|0}else
  var
  j=c;var
  f=s(j),e=p,d=g;for(;;){if(d){var
  a=d[1];if(d[2]){var
  o=d[2];u(a,0,f,e,m(a));u(bI,0,f,e+m(a)|0,2);var
  e=(e+m(a)|0)+2|0,d=o;continue}u(a,0,f,e,m(a))}var
  k=a6(f);break}break}}else
  var
  k=bc;var
  r=[0,R(0,[0,[0,ar,k]],bH),q];return R(0,[0,[0,au,[0,R([0,bk],bK,bJ),r]]],bG)}},ap=bl.body,bM=am(ap)?ap:G(function(a){throw a},new(y.Error)("Document body is null. Try to defer your script execution."));F.mount(bM,bL);var
  a9=function(b){var
  a=b;for(;;){if(a){var
  c=a[2],d=a[1];try{b4(d)}catch(a){a=ce(a);if(a[1]!==ae)throw a;var
  e=a}var
  a=c;continue}return 0}};a9(b6(0));return}throw[0,ac,bN]}(function(){return this}()));
  