From 271927adb1a2372deff054f70126933135972acb Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Wed, 29 Mar 2023 04:36:54 +0000 Subject: [PATCH 1/2] Initial commit --- mdoc.js | 14 ++ readme.md | 184 ++++++++++++++++++++++++++ readme.md.js | 368 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 566 insertions(+) create mode 100644 mdoc.js create mode 100644 readme.md create mode 100644 readme.md.js diff --git a/mdoc.js b/mdoc.js new file mode 100644 index 000000000..675cef1c1 --- /dev/null +++ b/mdoc.js @@ -0,0 +1,14 @@ +(function(global) { + function findDivs() { + return Array.from(global.document.querySelectorAll("div[data-mdoc-js]")); + } + + function loadAll(scope) { + findDivs().forEach(function(el) { + var id = el.getAttribute("id").replace("-html-", "_js_"); + eval(id)(el); + }); + } + + loadAll(global); +})(window); diff --git a/readme.md b/readme.md new file mode 100644 index 000000000..d0e2f4298 --- /dev/null +++ b/readme.md @@ -0,0 +1,184 @@ +## scala-js-dom + +--- + +#### Statically typed DOM API for Scala.js + +Scala-js-dom provides a nice statically typed interface to the DOM such that it can be called from Scala code without resorting to `js.Dynamic`. +All javascript globals functions, singletons and classes are members of the `org.scalajs.dom`, +`org.scalajs.dom.html`, `org.scalajs.dom.svg`, etc. packages. + +For example: + +```scala +import org.scalajs.dom + +def main() = dom.window.alert("Hi from scala-js-dom!") +``` + +## Usage + +Add the following to your sbt build definition: + +```scala +libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.4.0" +``` + +then enjoy the types available in org.scalajs.dom. scalajs-dom 2.4.0 is built and published for Scala.js 1.7+ with Scala 2.11, 2.12, 2.13, and 3.1+. + +To begin with, scala-js-dom organizes the full-list of DOM APIs into a number of buckets: + +- dom.html: HTML element APIs +- dom.svg: SVG element APIs +- dom.idb: IndexedDB APIs +- dom.css: CSS APIs +- dom: Miscellanious, unclassified APIs + +Most names have been shortened from names of the raw browser APIs, since the namespacing avoids collisions. By convention these types are imported qualified: e.g. as `html.Canvas` instead of directly as `Canvas`. There is also the `dom.raw` namespace which contains everything with their full, un-shortened name. + +## Examples + +You can start using the bindings using the following import: + +```scala +import org.scalajs.dom._ +``` + +### Appending a child to a `Node` + +```scala +def appendElement(div: html.Div): Unit = { + val child = document.createElement("div") + child.textContent = "I can add elements to DOM elements!" + div.appendChild(child) +} +``` + +
+
+ +### Add an EventListener for `onmousemove` + +```scala +def showOnMouseCoordinates(mouseArea: html.Div, info: html.Pre): Unit = { + mouseArea.onmousemove = (ev: MouseEvent) => + info.textContent = s""" + |ev.clientX: ${ev.clientX} + |ev.clientY: ${ev.clientY} + |ev.pageX: ${ev.pageX} + |ev.screenX: ${ev.screenX} + |ev.screenY: ${ev.screenY} + """.stripMargin +} +``` + +
+
+

+
+ +### Storing an item in `localStorage` + +```scala +def storeInputInLocalStorage(input: html.Input, box: html.Div) = { + val key = "myKey" + input.value = window.localStorage.getItem(key) + + input.onkeyup = { (e: Event) => + window.localStorage.setItem(key, input.value) + + box.textContent = s"Saved: ${input.value} to local storage!" + } +} +``` + +
+
+
+ +### Using `Canvas` to draw + +```scala +type Context2D = CanvasRenderingContext2D + +def drawCuteSmiley(canvas: html.Canvas) = { + val context = canvas.getContext("2d").asInstanceOf[Context2D] + + val size = 150 + canvas.width = size + canvas.height = size + + context.strokeStyle = "red" + context.lineWidth = 3 + context.beginPath() + context.moveTo(size/3, 0) + context.lineTo(size/3, size/3) + context.moveTo(size*2/3, 0) + context.lineTo(size*2/3, size/3) + context.moveTo(size, size/2) + context.arc(size/2, size/2, size/2, 0, 3.14) + + context.stroke() +} +``` + +
+ +### Using `Fetch` to make API calls in the browser + +```scala +import scala.concurrent.ExecutionContext.Implicits.global + +def fetchBoredApi(element: html.Pre) = { + val url = "https://www.boredapi.com/api/activity" + + val responseText = for { + response <- fetch(url).toFuture + text <- response.text().toFuture + } yield { + text + } + + for (text <- responseText) + element.textContent = text +} +``` + +

+
+ +### Styling an HTML element + +```scala +def changeColor(div: html.Div) = { + val colors = Seq("red", "green", "blue") + val index = util.Random.nextInt(colors.length) + + div.style.color = colors(index) +} +``` + +
Color me!
+
+ +### Encode in base64 + +```scala +def encodeBase64(in: html.Input, out: html.Div) = { + in.onkeyup = { (e: Event) => + out.textContent = window.btoa(in.value) + } +} +``` + +
+
+ +## Contributing + +The DOM API is always evolving, and `scala-js-dom` tries to provide a thin-but-idiomatic Scala interface to modern browser APIs, without breaking the spec. + +If you see something that you think can be improved, feel free to send a pull request. See our [Contributing Guide](https://github.com/scala-js/scala-js-dom/blob/main/CONTRIBUTING.md) for a detailed overview for starting hacking on `scala-js-dom` and making a PR! + + + diff --git a/readme.md.js b/readme.md.js new file mode 100644 index 000000000..8e1a7209f --- /dev/null +++ b/readme.md.js @@ -0,0 +1,368 @@ +let mdoc_js_run2,mdoc_js_run4,mdoc_js_run8,mdoc_js_run6,mdoc_js_run12,mdoc_js_run14,mdoc_js_run10; +(function(){ +'use strict';var e,aa=Object.freeze({esVersion:6,assumingES6:!0,productionMode:!0,linkerVersion:"1.13.0",fileLevelThis:this}),ba;function da(a){for(var b in a)return b}function l(a){this.yg=a}l.prototype.toString=function(){return String.fromCharCode(this.yg)};var fa=function ea(a,b,c){var f=new a.u(b[c]);if(c>24===a?n(ka):a<<16>>16===a?n(la):n(ma):na(a)?n(oa):n(pa);case "boolean":return n(qa);case "undefined":return n(ra);default:return null===a?a.Wh():a instanceof p?n(sa):a instanceof l?n(ta):a&&a.$classData?n(a.$classData):null}} +function ua(a){switch(typeof a){case "string":return"java.lang.String";case "number":return ja(a)?a<<24>>24===a?"java.lang.Byte":a<<16>>16===a?"java.lang.Short":"java.lang.Integer":na(a)?"java.lang.Float":"java.lang.Double";case "boolean":return"java.lang.Boolean";case "undefined":return"java.lang.Void";default:return null===a?a.Wh():a instanceof p?"java.lang.Long":a instanceof l?"java.lang.Character":a&&a.$classData?a.$classData.name:null.Bb.name}} +function va(a,b){switch(typeof a){case "string":return a===b;case "number":return Object.is(a,b);case "boolean":return a===b;case "undefined":return a===b;default:return a&&a.$classData||null===a?a=a.L(b):a instanceof p?b instanceof p?(b=wa(b),a=a.db===b.db&&a.cb===b.cb):a=!1:a=a instanceof l?b instanceof l?xa(a)===xa(b):!1:ya.prototype.L.call(a,b),a}} +function za(a){switch(typeof a){case "string":return Aa(a);case "number":return Ba(a);case "boolean":return a?1231:1237;case "undefined":return 0;default:return a&&a.$classData||null===a?a.F():a instanceof p?a.db^a.cb:a instanceof l?xa(a):ya.prototype.F.call(a)}}function Ca(a){return void 0===a?"undefined":a.toString()}function Da(a){return 2147483647a?-2147483648:a|0} +function Ea(a,b,c,d,f){if(a!==c||d>=BigInt(32);return b;case "boolean":return a?1231:1237;case "undefined":return 0;case "symbol":return a=a.description,void 0===a?0:Aa(a);default:if(null===a)return 0;b=Ga.get(a);void 0===b&&(Fa=b=Fa+1|0,Ga.set(a,b));return b}}function ja(a){return"number"===typeof a&&(a|0)===a&&1/a!==1/-0} +function na(a){return"number"===typeof a&&(a!==a||Math.fround(a)===a)}function xa(a){return null===a?0:a.yg}function wa(a){return null===a?ba:a}function ya(){}ya.prototype.constructor=ya;function q(){}q.prototype=ya.prototype;ya.prototype.F=function(){return Ha(this)};ya.prototype.L=function(a){return this===a};ya.prototype.v=function(){var a=this.F();return ua(this)+"@"+(+(a>>>0)).toString(16)};ya.prototype.toString=function(){return this.v()}; +function r(a){if("number"===typeof a){this.a=Array(a);for(var b=0;bg===f;f.name=c;f.isPrimitive=!0;f.isInstance=()=>!1;void 0!==d&&(f.ce=Ta(f,d));return f}function w(a,b,c,d,f){var g=new Ra,h=da(a);g.pa=d;g.jd="L"+c+";";g.pd=k=>!!k.pa[h];g.name=c;g.isInterface=b;g.isInstance=f||(k=>!!(k&&k.$classData&&k.$classData.pa[h]));return g} +function Ta(a,b,c){var d=new Ra;b.prototype.$classData=d;var f="["+a.jd;d.u=b;d.pa={b:1,je:1,d:1};d.ge=a;d.ee=a;d.fe=1;d.jd=f;d.name=f;d.isArrayClass=!0;d.pd=c||(g=>d===g);d.isInstance=g=>g instanceof b;return d} +function Ua(a){function b(k){if("number"===typeof k){this.a=Array(k);for(var m=0;m{var m=k.fe;return m===f?d.pd(k.ee):m>f&&d===x};c.pd=h;c.isInstance= +k=>{k=k&&k.$classData;return!!k&&(k===c||h(k))};return c}function y(a){a.ce||(a.ce=Ua(a));return a.ce}function n(a){a.yf||(a.yf=new Va(a));return a.yf}Ra.prototype.isAssignableFrom=function(a){return this===a||this.pd(a)};Ra.prototype.checkCast=function(){};Ra.prototype.getSuperclass=function(){return this.Ji?n(this.Ji):null};Ra.prototype.getComponentType=function(){return this.ge?n(this.ge):null}; +Ra.prototype.newArrayOfThisClass=function(a){for(var b=this,c=0;c!a.isPrimitive;x.name="java.lang.Object";x.isInstance=a=>null!==a;x.ce=Ta(x,r,a=>{var b=a.fe;return 1===b?!a.ee.isPrimitive:1g?b:b.substring(0,g)),[a,b];d=d.exec(b);f=null!==d?d:f.exec(b);if(null!==f)return[qb(a,f[1]),"\x3cinit\x3e"];g=g.exec(b);return null!==g?[qb(a,g[1]),"\x3cclinit\x3e"]:["\x3cjscode\x3e",b]} +function qb(a,b){var c=rb(a);if(sb().Kf.call(c,b))a=rb(a)[b];else a:for(c=0;;)if(c<(tb(a).length|0)){var d=tb(a)[c];if(0<=(b.length|0)&&b.substring(0,d.length|0)===d){a=""+ub(a)[d]+b.substring(d.length|0);break a}c=1+c|0}else{a=0<=(b.length|0)&&"L"===b.substring(0,1)?b.substring(1):b;break a}return a.split("_").join(".").split("\uff3f").join("_")} +function rb(a){if(0===(1&a.Pb)<<24>>24&&0===(1&a.Pb)<<24>>24){for(var b={O:"java_lang_Object",T:"java_lang_String"},c=0;22>=c;)2<=c&&(b["T"+c]="scala_Tuple"+c),b["F"+c]="scala_Function"+c,c=1+c|0;a.Gg=b;a.Pb=(1|a.Pb)<<24>>24}return a.Gg} +function ub(a){0===(2&a.Pb)<<24>>24&&0===(2&a.Pb)<<24>>24&&(a.Hg={sjsr_:"scala_scalajs_runtime_",sjs_:"scala_scalajs_",sci_:"scala_collection_immutable_",scm_:"scala_collection_mutable_",scg_:"scala_collection_generic_",sc_:"scala_collection_",sr_:"scala_runtime_",s_:"scala_",jl_:"java_lang_",ju_:"java_util_"},a.Pb=(2|a.Pb)<<24>>24);return a.Hg}function tb(a){0===(4&a.Pb)<<24>>24&&0===(4&a.Pb)<<24>>24&&(a.Fg=Object.keys(ub(a)),a.Pb=(4|a.Pb)<<24>>24);return a.Fg} +function vb(a){return(a.stack+"\n").replace(pb("^[\\s\\S]+?\\s+at\\s+")," at ").replace(wb("^\\s+(at eval )?at\\s+","gm"),"").replace(wb("^([^\\(]+?)([\\n])","gm"),"{anonymous}() ($1)$2").replace(wb("^Object.\x3canonymous\x3e\\s*\\(([^\\)]+)\\)","gm"),"{anonymous}() ($1)").replace(wb("^([^\\(]+|\\{anonymous\\}\\(\\)) \\((.+)\\)$","gm"),"$1@$2").split("\n").slice(0,-1)} +function xb(a){var b=wb("Line (\\d+).*script (?:in )?(\\S+)","i");a=a.message.split("\n");for(var c=[],d=2,f=a.length|0;dvoid 0===a);function Tb(){}Tb.prototype=new q;Tb.prototype.constructor=Tb;function Ub(a,b){if(b instanceof r||b instanceof Ja||b instanceof Ka||b instanceof Ma||b instanceof Na||b instanceof v||b instanceof Oa||b instanceof Pa||b instanceof Qa)return b.a.length;throw Vb("argument type mismatch");}Tb.prototype.$classData=w({Ei:0},!1,"java.lang.reflect.Array$",{Ei:1,b:1});var Wb;function Xb(){Wb||(Wb=new Tb);return Wb}function Yb(){}Yb.prototype=new q; +Yb.prototype.constructor=Yb;function Zb(a,b,c){if(b===c)return!0;if(null===b||null===c)return!1;a=b.a.length;if(c.a.length!==a)return!1;for(var d=0;d!==a;){var f=b.a[d],g=c.a[d];if(!z(A(),f,g))return!1;d=1+d|0}return!0}function B(a,b,c){a=$b(ac(),fb(ha(b)));if(0>c)throw new bc;var d=b.a.length;d=cd)throw Vb(c+" \x3e "+d);d=d-c|0;var f=b.a.length-c|0;f=d{fc();var a=document.getElementById("outer-container"),b=document.createElement("div");b.textContent="I can add elements to DOM elements!";a.appendChild(b)})} +function gc(a,b){a.onmousemove=c=>{var d="\n |ev.clientX: "+ +c.clientX+"\n |ev.clientY: "+ +c.clientY+"\n |ev.pageX: "+ +c.pageX+"\n |ev.screenX: "+ +c.screenX+"\n |ev.screenY: "+ +c.screenY+"\n ";hc||(hc=new ic);var f=d.length|0;c=new jc;kc(c);if(0>f)throw new bc;for(d=new lc(d,!1);d.Ra=(65535&(f.charCodeAt(h)|0)))h=1+h|0;else break;f=h{window.localStorage.setItem("myKey",a.value);b.textContent="Saved: "+a.value+" to local storage!"}}function oc(a,b){pc();a=fetch("https://www.boredapi.com/api/activity");qc(rc(sc(a)),new E(c=>{b.textContent=c}))}function tc(){fc();var a=document.getElementById("demo5-output");document.getElementById("demo5-btn").addEventListener("click",()=>{oc(fc(),a)})} +function uc(){fc();document.getElementById("demo6-btn").addEventListener("click",()=>{fc();var a=document.getElementById("demo6-text");var b=vc().fh.Wb.Mc(new wc(["red","green","blue"]));xc||(xc=new yc);var c=xc;var d=b.p();c=c.Xf;if(0>=d)throw Vb("n must be positive");if((d&(-d|0))===d)d=zc(c)>>Ac(d);else a:for(;;){var f=zc(c);var g=f;var h=d;if(0===h)throw new Bc;g=g%h|0;if(!(0>((f-g|0)+(-1+d|0)|0))){d=g;break a}}a.style.color=b.r(d)})} +function Cc(a,b){a.onkeyup=()=>{b.textContent=window.btoa(a.value)}}dc.prototype.$classData=w({Qh:0},!1,"mdocjs$",{Qh:1,b:1});var Dc;function fc(){Dc||(Dc=new dc);return Dc}function p(a,b){this.db=a;this.cb=b}p.prototype=new q;p.prototype.constructor=p;p.prototype.L=function(a){return a instanceof p?this.db===a.db&&this.cb===a.cb:!1};p.prototype.F=function(){return this.db^this.cb};p.prototype.v=function(){Ec();var a=this.db,b=this.cb;return b===a>>31?""+a:0>b?"-"+Fc(-a|0,0!==a?~b:-b|0):Fc(a,b)}; +p.prototype.$classData=w({Sh:0},!1,"org.scalajs.linker.runtime.RuntimeLong",{Sh:1,b:1}); +function Fc(a,b){if(0===(-2097152&b))b=""+(4294967296*b+ +(a>>>0));else{var c=(32+Ac(1E9)|0)-(0!==b?Ac(b):32+Ac(a)|0)|0,d=c,f=0===(32&d)?1E9<>>(31-d|0)|0|0<=(-2147483648^t):(-2147483648^m)>=(-2147483648^u))k=h,m=d,h=g-f|0,k=(-2147483648^h)>(-2147483648^g)?-1+(k-m|0)|0:k-m|0,g=h,h=k,32>c?b|=1<>>1|0;f=f>>>1|0|d<<31;d=k}c=h;if(0===c?-1147483648<=(-2147483648^ +g):-2147483648<=(-2147483648^c))c=4294967296*h+ +(g>>>0),g=c/1E9,f=g/4294967296|0,d=b,b=g=d+(g|0)|0,a=(-2147483648^g)<(-2147483648^d)?1+(a+f|0)|0:a+f|0,g=c%1E9|0;c=""+g;b=""+(4294967296*a+ +(b>>>0))+"000000000".substring(c.length|0)+c}return b}function Gc(){this.Pe=0}Gc.prototype=new q;Gc.prototype.constructor=Gc;function Lc(a,b,c){return 0>c?-(4294967296*+((0!==b?~c:-c|0)>>>0)+ +((-b|0)>>>0)):4294967296*c+ +(b>>>0)} +Gc.prototype.$classData=w({Th:0},!1,"org.scalajs.linker.runtime.RuntimeLong$",{Th:1,b:1});var Mc;function Ec(){Mc||(Mc=new Gc);return Mc}function Nc(){this.Qg=this.Rf=null;Oc=this;this.Rf=new v(0);this.Qg=new r(0)}Nc.prototype=new q;Nc.prototype.constructor=Nc;Nc.prototype.$classData=w({Mi:0},!1,"scala.Array$EmptyArrays$",{Mi:1,b:1});var Oc;function Pc(){Oc||(Oc=new Nc);return Oc}function Qc(){}Qc.prototype=new q;Qc.prototype.constructor=Qc;function Rc(){}Rc.prototype=Qc.prototype; +function Sc(){}Sc.prototype=new q;Sc.prototype.constructor=Sc;function Tc(a,b){a=b+~(b<<9)|0;a^=a>>>14|0;a=a+(a<<4)|0;return a^(a>>>10|0)}Sc.prototype.$classData=w({Jj:0},!1,"scala.collection.Hashing$",{Jj:1,b:1});var Uc;function Vc(){Uc||(Uc=new Sc);return Uc}function Wc(a,b,c,d){a=a.k();var f=c,g=Ub(Xb(),b)-c|0;for(d=c+(db)throw a=td(a,b),null===a?null:a;if(b>(-1+a.a.length|0))throw a=td(a,b),null===a?null:a;var c=new v(-1+a.a.length|0);a.m(0,c,0,b);a.m(1+b|0,c,b,-1+(a.a.length-b|0)|0);return c}function yd(a,b,c){if(0>b)throw a=td(a,b),null===a?null:a;if(b>a.a.length)throw a=td(a,b),null===a?null:a;var d=new v(1+a.a.length|0);a.m(0,d,0,b);d.a[b]=c;a.m(b,d,1+b|0,a.a.length-b|0);return d}var cd=w({rg:0},!1,"scala.collection.immutable.Node",{rg:1,b:1});vd.prototype.$classData=cd; +function zd(){this.Ne=0;Ad=this;this.Ne=Da(+Math.ceil(6.4))}zd.prototype=new q;zd.prototype.constructor=zd;function Bd(a,b,c){return 31&(b>>>c|0)}function Cd(a,b){return 1<>>h|0;h=f>>>h|0;d&=-1+m|0;f&=-1+m|0;if(0===d)if(0===f)f=c,Gd(a,b,0===k&&h===f.a.length?f:C(D(),f,k,h));else{h>k&&(d=c,Gd(a,b,0===k&&h===d.a.length?d:C(D(),d,k,h)));h=c.a[h];b=-1+b|0;c=h;d=0;continue}else if(h===k){h=c.a[k];b=-1+b|0;c=h;continue}else if(Fd(a,-1+b|0,c.a[k],d,m),0===f)h>(1+k|0)&&(f=c,k=1+k|0,Gd(a,b,0===k&&h===f.a.length?f:C(D(),f,k,h))); +else{h>(1+k|0)&&(d=c,k=1+k|0,Gd(a,b,0===k&&h===d.a.length?d:C(D(),d,k,h)));h=c.a[h];b=-1+b|0;c=h;d=0;continue}}break}};function Gd(a,b,c){b<=a.pb?b=11-b|0:(a.pb=b,b=-1+b|0);a.j.a[b]=c} +var Jd=function Id(a,b){if(null===a.j.a[-1+b|0])if(b===a.pb)a.j.a[-1+b|0]=a.j.a[11-b|0],a.j.a[11-b|0]=null;else{Id(a,1+b|0);var d=a.j.a[-1+(1+b|0)|0];a.j.a[-1+b|0]=d.a[0];if(1===d.a.length)a.j.a[-1+(1+b|0)|0]=null,a.pb===(1+b|0)&&null===a.j.a[11-(1+b|0)|0]&&(a.pb=b);else{var f=d.a.length;a.j.a[-1+(1+b|0)|0]=C(D(),d,1,f)}}},Ld=function Kd(a,b){if(null===a.j.a[11-b|0])if(b===a.pb)a.j.a[11-b|0]=a.j.a[-1+b|0],a.j.a[-1+b|0]=null;else{Kd(a,1+b|0);var d=a.j.a[11-(1+b|0)|0];a.j.a[11-b|0]=d.a[-1+d.a.length| +0];if(1===d.a.length)a.j.a[11-(1+b|0)|0]=null,a.pb===(1+b|0)&&null===a.j.a[-1+(1+b|0)|0]&&(a.pb=b);else{var f=-1+d.a.length|0;a.j.a[11-(1+b|0)|0]=C(D(),d,0,f)}}};function Md(a,b){this.j=null;this.pb=this.Yd=this.dc=0;this.Ah=a;this.zh=b;this.j=new (y(y(x)).u)(11);this.pb=this.Yd=this.dc=0}Md.prototype=new q;Md.prototype.constructor=Md; +function I(a,b,c){var d=Math.imul(c.a.length,1<f&&(Hd(a,b,c,f,g),a.dc=a.dc+(g-f|0)|0);a.Yd=a.Yd+d|0} +Md.prototype.oc=function(){if(32>=this.dc){if(0===this.dc)return Nd();var a=this.j.a[0],b=this.j.a[10];if(null!==a)if(null!==b){var c=a.a.length+b.a.length|0,d=B(D(),a,c);b.m(0,d,a.a.length,b.a.length);var f=d}else f=a;else if(null!==b)f=b;else{var g=this.j.a[1];f=null!==g?g.a[0]:this.j.a[9].a[0]}return new Od(f)}Jd(this,1);Ld(this,1);var h=this.pb;if(6>h){var k=this.j.a[-1+this.pb|0],m=this.j.a[11-this.pb|0];if(null!==k&&null!==m)if(30>=(k.a.length+m.a.length|0)){var t=this.j,u=this.pb,K=k.a.length+ +m.a.length|0,N=B(D(),k,K);m.m(0,N,k.a.length,m.a.length);t.a[-1+u|0]=N;this.j.a[11-this.pb|0]=null}else h=1+h|0;else 30<(null!==k?k:m).a.length&&(h=1+h|0)}var R=this.j.a[0],La=this.j.a[10],ca=R.a.length,Xa=h;switch(Xa){case 2:var Ai=J().ha,Vd=this.j.a[1];if(null!==Vd)var Wd=Vd;else{var ig=this.j.a[9];Wd=null!==ig?ig:Ai}var Jb=new Pd(R,ca,Wd,La,this.dc);break;case 3:var Xd=J().ha,Yd=this.j.a[1],jg=null!==Yd?Yd:Xd,kg=J().bb,lg=this.j.a[2];if(null!==lg)var Zd=lg;else{var Hc=this.j.a[8];Zd=null!==Hc? +Hc:kg}var Ic=Zd,Bi=J().ha,mg=this.j.a[9];Jb=new L(R,ca,jg,ca+(jg.a.length<<5)|0,Ic,null!==mg?mg:Bi,La,this.dc);break;case 4:var ng=J().ha,og=this.j.a[1],$d=null!==og?og:ng,pg=J().bb,qg=this.j.a[2],ae=null!==qg?qg:pg,rg=J().ec,sg=this.j.a[3];if(null!==sg)var tg=sg;else{var ug=this.j.a[7];tg=null!==ug?ug:rg}var Ci=tg,be=J().bb,ce=this.j.a[8],Di=null!==ce?ce:be,vg=J().ha,de=this.j.a[9],wg=ca+($d.a.length<<5)|0;Jb=new M(R,ca,$d,wg,ae,wg+(ae.a.length<<10)|0,Ci,Di,null!==de?de:vg,La,this.dc);break;case 5:var xg= +J().ha,Jc=this.j.a[1],Kb=null!==Jc?Jc:xg,Lb=J().bb,yg=this.j.a[2],zg=null!==yg?yg:Lb,Ag=J().ec,Bg=this.j.a[3],ee=null!==Bg?Bg:Ag,Cg=J().Zd,Dg=this.j.a[4];if(null!==Dg)var fe=Dg;else{var ge=this.j.a[6];fe=null!==ge?ge:Cg}var Ei=fe,Eg=J().ec,he=this.j.a[7],Fi=null!==he?he:Eg,Gi=J().bb,Fg=this.j.a[8],Hi=null!==Fg?Fg:Gi,Ii=J().ha,Gg=this.j.a[9],Kc=ca+(Kb.a.length<<5)|0,ie=Kc+(zg.a.length<<10)|0;Jb=new O(R,ca,Kb,Kc,zg,ie,ee,ie+(ee.a.length<<15)|0,Ei,Fi,Hi,null!==Gg?Gg:Ii,La,this.dc);break;case 6:var Ji= +J().ha,je=this.j.a[1],ke=null!==je?je:Ji,Hg=J().bb,Ig=this.j.a[2],le=null!==Ig?Ig:Hg,me=J().ec,Mb=this.j.a[3],nb=null!==Mb?Mb:me,ob=J().Zd,Jg=this.j.a[4],Kg=null!==Jg?Jg:ob,Lg=J().tg,Mg=this.j.a[5];if(null!==Mg)var ne=Mg;else{var oe=this.j.a[5];ne=null!==oe?oe:Lg}var Ki=ne,Ng=J().Zd,pe=this.j.a[6],Li=null!==pe?pe:Ng,Og=J().ec,qe=this.j.a[7],Mi=null!==qe?qe:Og,Pg=J().bb,re=this.j.a[8],Ni=null!==re?re:Pg,Oi=J().ha,Qg=this.j.a[9],Rg=ca+(ke.a.length<<5)|0,Sg=Rg+(le.a.length<<10)|0,Tg=Sg+(nb.a.length<< +15)|0;Jb=new P(R,ca,ke,Rg,le,Sg,nb,Tg,Kg,Tg+(Kg.a.length<<20)|0,Ki,Li,Mi,Ni,null!==Qg?Qg:Oi,La,this.dc);break;default:throw new Q(Xa);}return Jb};Md.prototype.v=function(){return"VectorSliceBuilder(lo\x3d"+this.Ah+", hi\x3d"+this.zh+", len\x3d"+this.dc+", pos\x3d"+this.Yd+", maxDim\x3d"+this.pb+")"};Md.prototype.$classData=w({al:0},!1,"scala.collection.immutable.VectorSliceBuilder",{al:1,b:1}); +function Qd(){this.tg=this.Zd=this.ec=this.bb=this.ha=this.sg=null;Rd=this;this.sg=new r(0);this.ha=new (y(y(x)).u)(0);this.bb=new (y(y(y(x))).u)(0);this.ec=new (y(y(y(y(x)))).u)(0);this.Zd=new (y(y(y(y(y(x))))).u)(0);this.tg=new (y(y(y(y(y(y(x)))))).u)(0)}Qd.prototype=new q;Qd.prototype.constructor=Qd;function Sd(a,b,c){a=b.a.length;var d=new r(1+a|0);b.m(0,d,0,a);d.a[a]=c;return d}function S(a,b,c){a=1+b.a.length|0;b=B(D(),b,a);b.a[-1+b.a.length|0]=c;return b} +function Td(a,b,c){a=fb(ha(c));var d=1+c.a.length|0;Xb();a=gb(a,[d]);c.m(0,a,1,c.a.length);a.a[0]=b;return a}function Ud(a,b,c,d){var f=0,g=c.a.length;if(0===b)for(;f{ye(a)})}we.prototype=new q;we.prototype.constructor=we;function ze(){var a=Ae();a.Tf||a.Tf||(Be||(Be=new Ce),a.Ug=Be.Jh,a.Tf=!0);return a.Ug}we.prototype.$classData=w({Wi:0},!1,"scala.concurrent.ExecutionContext$",{Wi:1,b:1}); +var xe;function Ae(){xe||(xe=new we);return xe}function De(){this.$g=this.Uf=this.Yg=this.Zg=this.Xg=null;Ee=this;Fe||(Fe=new Ge);var a=[new T(n(Ya),n(qa)),new T(n($a),n(ka)),new T(n(Za),n(ta)),new T(n(ab),n(la)),new T(n(bb),n(ma)),new T(n(cb),n(sa)),new T(n(db),n(oa)),new T(n(eb),n(pa)),new T(n(Wa),n(ra))];He(new wc(a));this.Xg=new E(b=>{throw new Ie(b);});this.Zg=new U(new Je);this.Yg=new U(new Ke);Le(Me(),this.Yg);this.Uf=Ne();this.$g=new E(()=>Me().Uf);Le(0,new Oe(void 0))}De.prototype=new q; +De.prototype.constructor=De;function Ne(){Me();var a=new Pe;Qe||(Qe=new Re);return Se(new U(a))}function Le(a,b){Se(b)}De.prototype.$classData=w({Zi:0},!1,"scala.concurrent.Future$",{Zi:1,b:1});var Ee;function Me(){Ee||(Ee=new De);return Ee}function Te(a,b){var c=a.z;if(c instanceof Ue||!Ve(a,c,We(Xe(),b)))throw new Ye("Promise already completed.");}function Re(){}Re.prototype=new q;Re.prototype.constructor=Re;Re.prototype.$classData=w({ej:0},!1,"scala.concurrent.Promise$",{ej:1,b:1});var Qe; +function Ze(){this.te=null;$e=this;this.te=af(new bf,0,null,cf())}Ze.prototype=new q;Ze.prototype.constructor=Ze;function We(a,b){if(null===b)throw df();if(b instanceof Oe)return b;a=b.sd;return a instanceof ef?new U(new ff(a)):b}Ze.prototype.$classData=w({fj:0},!1,"scala.concurrent.impl.Promise$",{fj:1,b:1});var $e;function Xe(){$e||($e=new Ze);return $e}function gf(a){return!!(a&&a.$classData&&a.$classData.pa.ah)} +function hf(){this.eh=this.fh=null;jf=this;kf||(kf=new lf);kf||(kf=new lf);mf||(mf=new nf);this.fh=mf;of();pf();qf();this.eh=rf();sf();tf()}hf.prototype=new q;hf.prototype.constructor=hf;hf.prototype.$classData=w({jj:0},!1,"scala.package$",{jj:1,b:1});var jf;function vc(){jf||(jf=new hf);return jf}function uf(){}uf.prototype=new q;uf.prototype.constructor=uf; +function z(a,b,c){if(b===c)c=!0;else if(vf(b))a:if(vf(c))c=wf(b,c);else{if(c instanceof l){if("number"===typeof b){c=+b===xa(c);break a}if(b instanceof p){a=wa(b);b=a.cb;c=xa(c);c=a.db===c&&b===c>>31;break a}}c=null===b?null===c:va(b,c)}else c=b instanceof l?xf(b,c):null===b?null===c:va(b,c);return c} +function wf(a,b){if("number"===typeof a){a=+a;if("number"===typeof b)return a===+b;if(b instanceof p){var c=wa(b);b=c.db;c=c.cb;return a===Lc(Ec(),b,c)}return!1}if(a instanceof p){c=wa(a);a=c.db;c=c.cb;if(b instanceof p){b=wa(b);var d=b.cb;return a===b.db&&c===d}return"number"===typeof b?(b=+b,Lc(Ec(),a,c)===b):!1}return null===a?null===b:va(a,b)} +function xf(a,b){if(b instanceof l)return xa(a)===xa(b);if(vf(b)){if("number"===typeof b)return+b===xa(a);if(b instanceof p){b=wa(b);var c=b.cb;a=xa(a);return b.db===a&&c===a>>31}return null===b?null===a:va(b,a)}return null===a&&null===b}uf.prototype.$classData=w({Kl:0},!1,"scala.runtime.BoxesRunTime$",{Kl:1,b:1});var yf;function A(){yf||(yf=new uf);return yf}var zf=w({Nl:0},!1,"scala.runtime.Null$",{Nl:1,b:1});function Af(){}Af.prototype=new q;Af.prototype.constructor=Af; +function Xc(a,b,c,d){if(b instanceof r)b.a[c]=d;else if(b instanceof v)b.a[c]=d|0;else if(b instanceof Qa)b.a[c]=+d;else if(b instanceof Oa)b.a[c]=wa(d);else if(b instanceof Pa)b.a[c]=Math.fround(d);else if(b instanceof Ka)b.a[c]=xa(d);else if(b instanceof Ma)b.a[c]=d|0;else if(b instanceof Na)b.a[c]=d|0;else if(b instanceof Ja)b.a[c]=!!d;else{if(null===b)throw df();throw new Q(b);}}function Bf(a){Yc();return Zc(new Cf(a),a.Vb()+"(",",")} +Af.prototype.$classData=w({Pl:0},!1,"scala.runtime.ScalaRunTime$",{Pl:1,b:1});var Df;function Yc(){Df||(Df=new Af);return Df}function Ef(){}Ef.prototype=new q;Ef.prototype.constructor=Ef; +function V(a,b){if(null===b)return 0;if("number"===typeof b){a=+b;b=Da(a);if(b===a)a=b;else{b=Ec();if(-0x7fffffffffffffff>a){b.Pe=-2147483648;var c=0}else if(0x7fffffffffffffff<=a)b.Pe=2147483647,c=-1;else{c=a|0;var d=a/4294967296|0;b.Pe=0>a&&0!==c?-1+d|0:d}b=b.Pe;a=Lc(Ec(),c,b)===a?c^b:jb(kb(),a)}return a}return b instanceof p?(a=wa(b),b=new p(a.db,a.cb),a=b.db,b=b.cb,b===a>>31?a:a^b):za(b)}function Ff(a,b){throw Gf(new Hf,""+b);} +Ef.prototype.$classData=w({Sl:0},!1,"scala.runtime.Statics$",{Sl:1,b:1});var If;function W(){If||(If=new Ef);return If}function Jf(){}Jf.prototype=new q;Jf.prototype.constructor=Jf;Jf.prototype.$classData=w({Tl:0},!1,"scala.runtime.Statics$PFMarker$",{Tl:1,b:1});var Kf;function Ce(){this.Jh=null;Be=this;Lf||(Lf=new Mf);this.Jh="undefined"===typeof Promise?new Nf:new Of}Ce.prototype=new q;Ce.prototype.constructor=Ce; +Ce.prototype.$classData=w({ql:0},!1,"scala.scalajs.concurrent.JSExecutionContext$",{ql:1,b:1});var Be;function Mf(){}Mf.prototype=new q;Mf.prototype.constructor=Mf;Mf.prototype.$classData=w({rl:0},!1,"scala.scalajs.concurrent.QueueExecutionContext$",{rl:1,b:1});var Lf;function Pf(){}Pf.prototype=new q;Pf.prototype.constructor=Pf;function sc(a){var b=Qf(new Rf);a.then(c=>{pc();Te(b,new Oe(c))},Sf(c=>{pc();c=c instanceof Tf?c:new Uf(c);Te(b,new U(c))}));return b} +Pf.prototype.$classData=w({wl:0},!1,"scala.scalajs.js.Thenable$ThenableOps$",{wl:1,b:1});var Vf;function pc(){Vf||(Vf=new Pf)}function Wf(){}Wf.prototype=new q;Wf.prototype.constructor=Wf;function Sf(a){Xf||(Xf=new Wf);return a}Wf.prototype.$classData=w({zl:0},!1,"scala.scalajs.js.defined$",{zl:1,b:1});var Xf;function Yf(){}Yf.prototype=new q;Yf.prototype.constructor=Yf;function Zf(a,b){return b instanceof Tf?b:new Uf(b)}function $f(a){ag();return a instanceof Uf?a.be:a} +Yf.prototype.$classData=w({Il:0},!1,"scala.scalajs.runtime.package$",{Il:1,b:1});var bg;function ag(){bg||(bg=new Yf);return bg}function cg(a){dg||(dg=new eg);return dg.Ej?Tf.prototype.ld.call(a):a}function fg(){}fg.prototype=new q;fg.prototype.constructor=fg;function gg(a,b){return!(b instanceof hg)}function Ug(a,b){return gg(0,b)?new Vg(b):Wg()}fg.prototype.$classData=w({Fj:0},!1,"scala.util.control.NonFatal$",{Fj:1,b:1});var Xg;function Yg(){Xg||(Xg=new fg);return Xg}function Zg(){} +Zg.prototype=new q;Zg.prototype.constructor=Zg;function $g(){}$g.prototype=Zg.prototype;function X(a,b,c){a=ah(0,b,c);return-430675100+Math.imul(5,a<<13|a>>>19|0)|0}function ah(a,b,c){a=Math.imul(-862048943,c);a=Math.imul(461845907,a<<15|a>>>17|0);return b^a}function bh(a,b,c){return ch(b^c)}function ch(a){a=Math.imul(-2048144789,a^(a>>>16|0));a=Math.imul(-1028477387,a^(a>>>13|0));return a^(a>>>16|0)}function dh(a,b){var c=X(0,-889275714,Aa("Tuple2"));c=X(0,c,a);c=X(0,c,b);return ch(c^2)} +function eh(a){Y();var b=a.mc();if(0===b)return Aa(a.Vb());var c=X(0,-889275714,Aa(a.Vb()));for(var d=0;d>24&&0===(32&a.Ye)<<24>>24&&(a.Cg=new v(new Int32Array([1632,1776,1984,2406,2534,2662,2790,2918,3046,3174,3302,3430,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,42528,43216,43264,43472,43600,44016,65296,66720,69734,69872,69942,70096,71360,120782,120792,120802,120812,120822])),a.Ye=(32|a.Ye)<<24>>24);return a.Cg}function hh(){this.Cg=null;this.Ye=0}hh.prototype=new q;hh.prototype.constructor=hh; +hh.prototype.$classData=w({ci:0},!1,"java.lang.Character$",{ci:1,b:1,d:1});var ih;function jh(a){throw new kh('For input string: "'+a+'"');}function lh(){}lh.prototype=new q;lh.prototype.constructor=lh; +function md(a,b){a=null===b?0:b.length|0;0===a&&jh(b);var c=65535&(b.charCodeAt(0)|0),d=45===c,f=d?2147483648:2147483647;c=d||43===c?1:0;c>=(b.length|0)&&jh(b);for(var g=0;c!==a;){ih||(ih=new hh);var h=ih;var k=65535&(b.charCodeAt(c)|0);if(256>k)h=48<=k&&57>=k?-48+k|0:65<=k&&90>=k?-55+k|0:97<=k&&122>=k?-87+k|0:-1;else if(65313<=k&&65338>=k)h=-65303+k|0;else if(65345<=k&&65370>=k)h=-65335+k|0;else{var m=gh(h);a:{D();for(var t=k,u=0,K=m.a.length;;){if(u===K){m=-1-u|0;break a}var N=(u+K|0)>>>1|0,R=m.a[N]; +if(tm?-2-m|0:m;0>m?h=-1:(h=k-gh(h).a[m]|0,h=9h?h:-1;g=10*g+h;(-1===h||g>f)&&jh(b);c=1+c|0}return d?-g|0:g|0}function Ed(a,b){a=b-(1431655765&b>>1)|0;a=(858993459&a)+(858993459&a>>2)|0;return Math.imul(16843009,252645135&(a+(a>>4)|0))>>24} +function Ac(a){nd();if(0===a)return 32;var b=1;0===(-65536&a)&&(a<<=16,b=16+b|0);0===(-16777216&a)&&(a<<=8,b=8+b|0);0===(-268435456&a)&&(a<<=4,b=4+b|0);0===(-1073741824&a)&&(a<<=2,b=2+b|0);return b+(a>>31)|0}lh.prototype.$classData=w({ji:0},!1,"java.lang.Integer$",{ji:1,b:1,d:1});var mh;function nd(){mh||(mh=new lh);return mh}function vf(a){return"number"===typeof a||a instanceof p}function nh(a,b,c,d){this.me=a;this.cf=b;this.af=c;this.bf=d;this.If=-1}nh.prototype=new q; +nh.prototype.constructor=nh;nh.prototype.L=function(a){return a instanceof nh?this.af===a.af&&this.bf===a.bf&&this.me===a.me&&this.cf===a.cf:!1};nh.prototype.v=function(){var a="";"\x3cjscode\x3e"!==this.me&&(a=""+a+this.me+".");a=""+a+this.cf;null===this.af?a+="(Unknown Source)":(a=a+"("+this.af,0<=this.bf&&(a=a+":"+this.bf,0<=this.If&&(a=a+":"+this.If)),a+=")");return a};nh.prototype.F=function(){return Aa(this.me)^Aa(this.cf)};var oh=w({ui:0},!1,"java.lang.StackTraceElement",{ui:1,b:1,d:1}); +nh.prototype.$classData=oh; +function ph(a,b){qh(a);b(a.v());if(0!==a.qd.a.length)for(var c=0;c{rh(b,null===c?"null":c);rh(b,"\n")})} +function qh(a){if(null===a.qd)if(a.Lg){var b=Ab(),c=a.ne;if(c)if(c.arguments&&c.stack)var d=vb(c);else if(c.stack&&c.sourceURL)d=c.stack.replace(wb("\\[native code\\]\\n","m"),"").replace(wb("^(?\x3d\\w+Error\\:).*$\\n","m"),"").replace(wb("^@","gm"),"{anonymous}()@").split("\n");else if(c.stack&&c.number)d=c.stack.replace(wb("^\\s*at\\s+(.*)$","gm"),"$1").replace(wb("^Anonymous function\\s+","gm"),"{anonymous}() ").replace(wb("^([^\\(]+|\\{anonymous\\}\\(\\))\\s+\\((.+)\\)$","gm"),"$1@$2").split("\n").slice(1); +else if(c.stack&&c.fileName)d=c.stack.replace(wb("(?:\\n@:0)?\\s+$","m"),"").replace(wb("^(?:\\((\\S*)\\))?@","gm"),"{anonymous}($1)@").split("\n");else if(c.message&&c["opera#sourceloc"])if(c.stacktrace)if(-1c.stacktrace.split("\n").length)d=xb(c);else{d=wb("Line (\\d+).*script (?:in )?(\\S+)(?:: In function (\\S+))?$","i");c=c.stacktrace.split("\n");var f=[];for(var g=0,h=c.length|0;gc.stacktrace.indexOf("called from line")){d=pb("^(.*)@(.+):(\\d+)$");c=c.stacktrace.split("\n");f=[];g=0;for(h=c.length|0;g>16)>>>1|0}sh.prototype.$classData=w({Gi:0},!1,"java.util.Random",{Gi:1,b:1,d:1});function th(){var a=4294967296*+Math.random();return Da(+Math.floor(a)-2147483648)}function uh(){}uh.prototype=new q;uh.prototype.constructor=uh; +uh.prototype.$classData=w({Hi:0},!1,"java.util.Random$",{Hi:1,b:1,d:1});var vh;function wh(){this.z=null}wh.prototype=new q;wh.prototype.constructor=wh;function xh(){}xh.prototype=wh.prototype;function yh(a,b,c){return Object.is(b,a.z)?(a.z=c,!0):!1}wh.prototype.v=function(){return""+this.z};function zh(){Ah=this}zh.prototype=new q;zh.prototype.constructor=zh;zh.prototype.$classData=w({Ki:0},!1,"scala.$less$colon$less$",{Ki:1,b:1,d:1});var Ah;function Bh(){}Bh.prototype=new q; +Bh.prototype.constructor=Bh;function Ch(a,b,c,d,f,g){a=ha(b);var h;if(h=!!a.Bb.isArrayClass)h=!!ha(d).Bb.isAssignableFrom(a.Bb);if(h)b.m(c,d,f,g);else for(a=c,c=c+g|0;ab)return 1;var c=a.w();if(0<=c)return c===b?0:ca.k()));var b=nj(sf(),a);return oj(new pj,b)}jj.prototype.qa=function(a){return kj(a)};jj.prototype.$classData=w({bk:0},!1,"scala.collection.View$",{bk:1,b:1,Fb:1,d:1});var qj;function G(a,b,c,d,f,g){this.A=a;this.J=b;this.V=c;this.$a=d;this.Aa=f;this.gb=g}G.prototype=new Nh;G.prototype.constructor=G;e=G.prototype;e.Ia=function(){return this.Aa};e.ic=function(){return this.gb}; +e.Nb=function(a){return this.V.a[a<<1]};e.Ob=function(a){return this.V.a[1+(a<<1)|0]};e.Ag=function(a){return new T(this.V.a[a<<1],this.V.a[1+(a<<1)|0])};e.Oc=function(a){return this.$a.a[a]};e.lc=function(a){return this.V.a[(-1+this.V.a.length|0)-a|0]};e.zf=function(a,b,c,d){var f=Bd(F(),c,d),g=Cd(F(),f);if(0!==(this.A&g)){if(b=Dd(F(),this.A,f,g),z(A(),a,this.Nb(b)))return this.Ob(b)}else if(0!==(this.J&g))return this.lc(Dd(F(),this.J,f,g)).zf(a,b,c,5+d|0);throw rj(new sj,"key not found: "+a);}; +e.Cf=function(a,b,c,d,f){var g=Bd(F(),c,d),h=Cd(F(),g);return 0!==(this.A&h)?(b=Dd(F(),this.A,g,h),c=this.Nb(b),z(A(),a,c)?this.Ob(b):tj(f)):0!==(this.J&h)?(g=Dd(F(),this.J,g,h),this.lc(g).Cf(a,b,c,5+d|0,f)):tj(f)};e.Te=function(a,b,c,d){var f=Bd(F(),c,d),g=Cd(F(),f);return 0!==(this.A&g)?(c=Dd(F(),this.A,f,g),this.$a.a[c]===b&&z(A(),a,this.Nb(c))):0!==(this.J&g)&&this.lc(Dd(F(),this.J,f,g)).Te(a,b,c,5+d|0)}; +function uj(a,b,c,d,f,g,h){var k=Bd(F(),f,g),m=Cd(F(),k);if(0!==(a.A&m)){var t=Dd(F(),a.A,k,m);k=a.Nb(t);var u=a.Oc(t);if(u===d&&z(A(),k,b))return h?(f=a.Ob(t),Object.is(k,b)&&Object.is(f,c)||(m=vj(a,m)<<1,b=a.V,f=new r(b.a.length),b.m(0,f,0,b.a.length),f.a[1+m|0]=c,a=new G(a.A,a.J,f,a.$a,a.Aa,a.gb)),a):a;t=a.Ob(t);h=Tc(Vc(),u);c=wj(a,k,t,u,h,b,c,d,f,5+g|0);f=vj(a,m);d=f<<1;g=(-2+a.V.a.length|0)-xj(a,m)|0;k=a.V;b=new r(-1+k.a.length|0);k.m(0,b,0,d);k.m(2+d|0,b,d,g-d|0);b.a[g]=c;k.m(2+g|0,b,1+g|0, +-2+(k.a.length-g|0)|0);f=xd(a.$a,f);return new G(a.A^m,a.J|m,b,f,(-1+a.Aa|0)+c.Ia()|0,(a.gb-h|0)+c.ic()|0)}if(0!==(a.J&m))return k=Dd(F(),a.J,k,m),k=a.lc(k),c=k.Nh(b,c,d,f,5+g|0,h),c===k?a:yj(a,m,k,c);g=vj(a,m);k=g<<1;u=a.V;h=new r(2+u.a.length|0);u.m(0,h,0,k);h.a[k]=b;h.a[1+k|0]=c;u.m(k,h,2+k|0,u.a.length-k|0);c=yd(a.$a,g,d);return new G(a.A|m,a.J,h,c,1+a.Aa|0,a.gb+f|0)} +function zj(a,b,c,d,f){var g=Bd(F(),d,f),h=Cd(F(),g);if(0!==(a.A&h)){if(g=Dd(F(),a.A,g,h),c=a.Nb(g),z(A(),c,b)){b=a.A;2===Ed(nd(),b)?(b=a.J,b=0===Ed(nd(),b)):b=!1;if(b)return h=0===f?a.A^h:Cd(F(),Bd(F(),d,0)),0===g?new G(h,0,new r([a.Nb(1),a.Ob(1)]),new v(new Int32Array([a.$a.a[1]])),1,Tc(Vc(),a.Oc(1))):new G(h,0,new r([a.Nb(0),a.Ob(0)]),new v(new Int32Array([a.$a.a[0]])),1,Tc(Vc(),a.Oc(0)));f=vj(a,h);b=f<<1;c=a.V;g=new r(-2+c.a.length|0);c.m(0,g,0,b);c.m(2+b|0,g,b,-2+(c.a.length-b|0)|0);f=xd(a.$a, +f);return new G(a.A^h,a.J,g,f,-1+a.Aa|0,a.gb-d|0)}}else if(0!==(a.J&h)){g=Dd(F(),a.J,g,h);g=a.lc(g);d=g.Pg(b,c,d,5+f|0);if(d===g)return a;f=d.Ia();if(1===f)if(a.Aa===g.Ia())a=d;else{b=(-1+a.V.a.length|0)-xj(a,h)|0;c=vj(a,h);var k=c<<1,m=d.Nb(0),t=d.Ob(0),u=a.V;f=new r(1+u.a.length|0);u.m(0,f,0,k);f.a[k]=m;f.a[1+k|0]=t;u.m(k,f,2+k|0,b-k|0);u.m(1+b|0,f,2+b|0,-1+(u.a.length-b|0)|0);b=yd(a.$a,c,d.Oc(0));a=new G(a.A|h,a.J^h,f,b,1+(a.Aa-g.Ia()|0)|0,(a.gb-g.ic()|0)+d.ic()|0)}else a=1z(A(),g.Xa,a)));if(1===d.p()){var f=d.r(0);if(null===f)throw new Q(f);d=f.Xa;f=f.Ya;return new G(Cd(F(),Bd(F(),c,0)),0,new r([d,f]),new v(new Int32Array([b])),1,c)}return new Aj(b,c,d)}return this};e.Df=function(){return!1};e.Pf=function(){return 0};e.lc=function(){throw Gf(new Hf,"No sub-nodes present in hash-collision leaf node.");};e.Xe=function(){return!0};e.gf=function(){return this.ia.p()};e.Nb=function(a){return this.ia.r(a).Xa}; +e.Ob=function(a){return this.ia.r(a).Ya};e.Ag=function(a){return this.ia.r(a)};e.Oc=function(){return this.oh};e.md=function(a){this.ia.Ue(new E(b=>{if(null!==b)return a.Re(b.Xa,b.Ya);throw new Q(b);}))};e.L=function(a){if(a instanceof Aj){if(this===a)return!0;if(this.xd===a.xd&&this.ia.p()===a.ia.p()){for(var b=this.ia.k();b.o();){var c=b.n();if(null===c)throw new Q(c);var d=c.Ya;c=Ej(a,c.Xa);if(0>c||!z(A(),d,a.ia.r(c).Ya))return!1}return!0}}return!1}; +e.F=function(){throw Cj("Trie nodes do not support hashing.");};e.ic=function(){return Math.imul(this.ia.p(),this.xd)};e.zg=function(){return new Aj(this.oh,this.xd,this.ia)};e.Bf=function(a){return this.lc(a)};e.$classData=w({hk:0},!1,"scala.collection.immutable.HashCollisionMapNode",{hk:1,Lk:1,rg:1,b:1});function Hj(){this.lg=null;Ij=this;pd||(pd=new od);this.lg=new Jj(pd.vh)}Hj.prototype=new q;Hj.prototype.constructor=Hj;Hj.prototype.qa=function(a){return a instanceof Jj?a:Kj(Lj(new Mj,a))}; +Hj.prototype.$classData=w({jk:0},!1,"scala.collection.immutable.HashMap$",{jk:1,b:1,kh:1,d:1});var Ij;function Nj(){Ij||(Ij=new Hj);return Ij}function Oj(a,b){this.uk=a;this.vk=b}Oj.prototype=new q;Oj.prototype.constructor=Oj;Oj.prototype.C=function(){return this.uk};Oj.prototype.Wa=function(){return this.vk};Oj.prototype.$classData=w({tk:0},!1,"scala.collection.immutable.LazyList$State$Cons",{tk:1,b:1,sk:1,d:1});function Pj(){}Pj.prototype=new q;Pj.prototype.constructor=Pj; +Pj.prototype.Ef=function(){throw rj(new sj,"head of empty lazy list");};Pj.prototype.Wa=function(){throw Cj("tail of empty lazy list");};Pj.prototype.C=function(){this.Ef()};Pj.prototype.$classData=w({wk:0},!1,"scala.collection.immutable.LazyList$State$Empty$",{wk:1,b:1,sk:1,d:1});var Qj;function Rj(){Qj||(Qj=new Pj);return Qj}function Sj(){}Sj.prototype=new q;Sj.prototype.constructor=Sj; +function He(a){Tj(a)&&a.h()?a=Uj():a&&a.$classData&&a.$classData.pa.yd||(a=Vj(new Wj,a),a=a.Td?Kj(a.fd):a.zc);return a}Sj.prototype.qa=function(a){return He(a)};Sj.prototype.$classData=w({zk:0},!1,"scala.collection.immutable.Map$",{zk:1,b:1,kh:1,d:1});var Yj;function Xi(){Yj||(Yj=new Sj);return Yj}function Zj(a,b){this.pe=this.oe=null;this.Sc=0;ve||(ve=new ue);var c=ve.Sg;this.oe=b;this.pe=c;this.Sc=1;if(null===a)throw $f(null);}Zj.prototype=new te;Zj.prototype.constructor=Zj; +Zj.prototype.rd=function(){for(;;){try{for(var a=1024;;){if(0tj(a)}ck.prototype.$classData=w({ul:0},!1,"scala.scalajs.js.Any$",{ul:1,b:1,Cm:1,Dm:1});var ek;function mj(a){this.Bl=a}mj.prototype=new si;mj.prototype.constructor=mj;function tj(a){return(0,a.Bl)()}mj.prototype.$classData=w({Al:0},!1,"scala.scalajs.runtime.AnonFunction0",{Al:1,Em:1,b:1,Ul:1});function E(a){this.Dl=a}E.prototype=new ui;E.prototype.constructor=E;E.prototype.l=function(a){return(0,this.Dl)(a)}; +E.prototype.$classData=w({Cl:0},!1,"scala.scalajs.runtime.AnonFunction1",{Cl:1,Jl:1,b:1,ca:1});function fk(a){this.Fl=a}fk.prototype=new wi;fk.prototype.constructor=fk;fk.prototype.Re=function(a,b){return(0,this.Fl)(a,b)};fk.prototype.$classData=w({El:0},!1,"scala.scalajs.runtime.AnonFunction2",{El:1,Fm:1,b:1,Ph:1});function yc(){this.Xf=null;var a=new sh;vh||(vh=new uh);var b=th();var c=th();b=new p(c,b);c=-554899859^b.db;a.Lf=c>>>24|0|(65535&(5^b.cb))<<8;a.Mf=16777215&c;this.Xf=a}yc.prototype=new Pi; +yc.prototype.constructor=yc;yc.prototype.$classData=w({Aj:0},!1,"scala.util.Random$",{Aj:1,rm:1,b:1,d:1});var xc;function gk(){}gk.prototype=new q;gk.prototype.constructor=gk;function hk(){}hk.prototype=gk.prototype;var qa=w({$h:0},!1,"java.lang.Boolean",{$h:1,b:1,d:1,Pc:1,Qc:1},a=>"boolean"===typeof a),ta=w({bi:0},!1,"java.lang.Character",{bi:1,b:1,d:1,Pc:1,Qc:1},a=>a instanceof l);class ik extends Wi{}ik.prototype.$classData=w({Za:0},!1,"java.lang.RuntimeException",{Za:1,Ja:1,za:1,b:1,d:1}); +function kc(a){a.i="";return a}function jc(){this.i=null}jc.prototype=new q;jc.prototype.constructor=jc;jc.prototype.v=function(){return this.i};jc.prototype.p=function(){return this.i.length|0};function jk(a,b){return 65535&(a.i.charCodeAt(b)|0)}jc.prototype.$classData=w({vi:0},!1,"java.lang.StringBuilder",{vi:1,b:1,Bg:1,Xh:1,d:1});class hg extends ef{}class ff extends Wi{constructor(a){super();H(this,"Boxed Exception",a)}} +ff.prototype.$classData=w({Ii:0},!1,"java.util.concurrent.ExecutionException",{Ii:1,Ja:1,za:1,b:1,d:1});function kk(){}kk.prototype=new ui;kk.prototype.constructor=kk;function lk(a){pc();a=a.text();return mk(sc(a),new E(b=>b))}kk.prototype.l=function(a){return lk(a)};kk.prototype.$classData=w({Rh:0},!1,"mdocjs$$anonfun$2",{Rh:1,Jl:1,b:1,ca:1,d:1});function nk(){}nk.prototype=new q;nk.prototype.constructor=nk;function ok(){}e=ok.prototype=nk.prototype;e.k=function(){return this};e.h=function(){return!this.o()}; +e.kc=function(a){return cj(this,a)};e.v=function(){return"\x3citerator\x3e"};e.zb=function(a,b,c){return Wc(this,a,b,c)};e.Kc=function(a,b,c,d){return ad(this,a,b,c,d)};e.w=function(){return-1};function lf(){this.ye=null;this.ye=pk()}lf.prototype=new Zi;lf.prototype.constructor=lf;lf.prototype.$classData=w({Oj:0},!1,"scala.collection.Iterable$",{Oj:1,Pj:1,b:1,Fb:1,d:1});var kf;function qk(){this.jh=this.ih=this.hg=null;gj(this);rk=this;this.ih=new ya;this.jh=new mj(()=>sk().ih)}qk.prototype=new ij; +qk.prototype.constructor=qk;qk.prototype.$classData=w({Vj:0},!1,"scala.collection.Map$",{Vj:1,um:1,b:1,kh:1,d:1});var rk;function sk(){rk||(rk=new qk);return rk}function tk(){this.Wb=null}tk.prototype=new q;tk.prototype.constructor=tk;function uk(){}uk.prototype=tk.prototype;tk.prototype.Nc=function(a){return this.Wb.qa(a)};tk.prototype.qa=function(a){return this.Nc(a)};tk.prototype.Mc=function(a){return this.Wb.Mc(a)}; +function vk(a,b){var c=a.w();if(-1!==c){var d=b.w();c=-1!==d&&c!==d}else c=!1;if(c)return!1;a:{a=a.k();for(b=b.k();a.o()&&b.o();)if(!z(A(),a.n(),b.n())){b=!1;break a}b=a.o()===b.o()}return b}function wk(){this.ye=null;this.ye=qf()}wk.prototype=new Zi;wk.prototype.constructor=wk;wk.prototype.qa=function(a){return Tj(a)?a:Yi.prototype.qa.call(this,a)};wk.prototype.$classData=w({ok:0},!1,"scala.collection.immutable.Iterable$",{ok:1,Pj:1,b:1,Fb:1,d:1});var xk;function pk(){xk||(xk=new wk);return xk} +function yk(){this.mg=null;zk=this;this.mg=Ak(new Bk(new mj(()=>Rj())))}yk.prototype=new q;yk.prototype.constructor=yk;yk.prototype.Mc=function(a){return nj(this,a)};function Ck(a,b,c){var d=new yi(b),f=new xi(c);return new Bk(new mj(()=>{for(var g=d.xg,h=f.wg;0Dk(sf(),b.k())))} +function Dk(a,b){return b.o()?(a=b.n(),new Oj(a,new Bk(new mj(()=>Dk(sf(),b))))):Rj()}yk.prototype.qa=function(a){return nj(this,a)};yk.prototype.$classData=w({qk:0},!1,"scala.collection.immutable.LazyList$",{qk:1,b:1,Dc:1,Fb:1,d:1});var zk;function sf(){zk||(zk=new yk);return zk}function Ek(){Fk=this}Ek.prototype=new q;Ek.prototype.constructor=Ek;function Gk(a,b){a=a.Of();b.w();a.hc(b);return a.Bc()}Ek.prototype.Of=function(){var a=$c();return new Hk(a,new E(b=>new Ik(b)))}; +Ek.prototype.$classData=w({dl:0},!1,"scala.collection.immutable.WrappedString$",{dl:1,b:1,vm:1,tm:1,d:1});var Fk;function Jk(){Fk||(Fk=new Ek);return Fk}function Hk(a,b){this.Ch=this.wf=null;if(null===a)throw $f(null);this.wf=a;this.Ch=b}Hk.prototype=new q;Hk.prototype.constructor=Hk;Hk.prototype.Bc=function(){return this.Ch.l(this.wf.Bc())};Hk.prototype.hc=function(a){this.wf.hc(a);return this};Hk.prototype.Jc=function(a){this.wf.Jc(a)}; +Hk.prototype.$classData=w({ll:0},!1,"scala.collection.mutable.Builder$$anon$1",{ll:1,b:1,Oe:1,ae:1,$d:1});class Pe extends Tf{constructor(){super();H(this,null,null)}ld(){return cg(this)}}Pe.prototype.$classData=w({cj:0},!1,"scala.concurrent.Future$$anon$4",{cj:1,za:1,b:1,d:1,Yf:1});function Of(){this.Kh=null;this.Kh=Promise.resolve(void 0)}Of.prototype=new q;Of.prototype.constructor=Of; +Of.prototype.Af=function(a){this.Kh.then(()=>{try{a.rd()}catch(c){var b=Zf(ag(),c);if(null!==b)ye(b);else throw c;}})};Of.prototype.Qf=function(a){ye(a)};Of.prototype.$classData=w({sl:0},!1,"scala.scalajs.concurrent.QueueExecutionContext$PromisesExecutionContext",{sl:1,b:1,Wg:1,Tg:1,Mg:1});function Nf(){}Nf.prototype=new q;Nf.prototype.constructor=Nf; +Nf.prototype.Af=function(a){var b=setTimeout;ek||(ek=new ck);b(dk(new mj(()=>{try{a.rd()}catch(d){var c=Zf(ag(),d);if(null!==c)ye(c);else throw d;}})),0)};Nf.prototype.Qf=function(a){ye(a)};Nf.prototype.$classData=w({tl:0},!1,"scala.scalajs.concurrent.QueueExecutionContext$TimeoutsExecutionContext",{tl:1,b:1,Wg:1,Tg:1,Mg:1});function Ue(){}Ue.prototype=new q;Ue.prototype.constructor=Ue;function Kk(){}Kk.prototype=Ue.prototype;function Lk(){}Lk.prototype=new hk;Lk.prototype.constructor=Lk; +function Mk(){}Mk.prototype=Lk.prototype;class Bc extends ik{constructor(){super();H(this,"/ by zero",null)}}Bc.prototype.$classData=w({Yh:0},!1,"java.lang.ArithmeticException",{Yh:1,Za:1,Ja:1,za:1,b:1,d:1});var ka=w({ai:0},!1,"java.lang.Byte",{ai:1,le:1,b:1,d:1,Pc:1,Qc:1},a=>"number"===typeof a&&a<<24>>24===a&&1/a!==1/-0);function Vb(a){var b=new Nk;H(b,a,null);return b}class Nk extends ik{}Nk.prototype.$classData=w({Eg:0},!1,"java.lang.IllegalArgumentException",{Eg:1,Za:1,Ja:1,za:1,b:1,d:1}); +class Ye extends ik{constructor(a){super();H(this,a,null)}}Ye.prototype.$classData=w({hi:0},!1,"java.lang.IllegalStateException",{hi:1,Za:1,Ja:1,za:1,b:1,d:1});function Gf(a,b){H(a,b,null);return a}class Hf extends ik{}Hf.prototype.$classData=w({Gf:0},!1,"java.lang.IndexOutOfBoundsException",{Gf:1,Za:1,Ja:1,za:1,b:1,d:1});class bc extends ik{constructor(){super();H(this,null,null)}}bc.prototype.$classData=w({ni:0},!1,"java.lang.NegativeArraySizeException",{ni:1,Za:1,Ja:1,za:1,b:1,d:1}); +function df(){var a=new Ok;H(a,null,null);return a}class Ok extends ik{}Ok.prototype.$classData=w({oi:0},!1,"java.lang.NullPointerException",{oi:1,Za:1,Ja:1,za:1,b:1,d:1});var la=w({qi:0},!1,"java.lang.Short",{qi:1,le:1,b:1,d:1,Pc:1,Qc:1},a=>"number"===typeof a&&a<<16>>16===a&&1/a!==1/-0);class Pk extends hg{constructor(a){super();H(this,a,null)}}Pk.prototype.$classData=w({ri:0},!1,"java.lang.StackOverflowError",{ri:1,bm:1,am:1,za:1,b:1,d:1});function Cj(a){var b=new bj;H(b,a,null);return b} +class bj extends ik{}bj.prototype.$classData=w({Ai:0},!1,"java.lang.UnsupportedOperationException",{Ai:1,Za:1,Ja:1,za:1,b:1,d:1});function rj(a,b){H(a,b,null);return a}function Fj(){var a=new sj;H(a,null,null);return a}class sj extends ik{}sj.prototype.$classData=w({ff:0},!1,"java.util.NoSuchElementException",{ff:1,Za:1,Ja:1,za:1,b:1,d:1}); +class Q extends ik{constructor(a){super();this.Rg=null;this.Sf=!1;this.hf=a;H(this,null,null)}We(){if(!this.Sf&&!this.Sf){if(null===this.hf)var a="null";else try{a=Ca(this.hf)+" (of class "+ha(this.hf).Bb.name+")"}catch(b){if(null!==Zf(ag(),b))a="an instance of class "+ha(this.hf).Bb.name;else throw b;}this.Rg=a;this.Sf=!0}return this.Rg}}Q.prototype.$classData=w({Ni:0},!1,"scala.MatchError",{Ni:1,Za:1,Ja:1,za:1,b:1,d:1});function Qk(){}Qk.prototype=new q;Qk.prototype.constructor=Qk; +function Rk(){}Rk.prototype=Qk.prototype;Qk.prototype.h=function(){return this===Wg()};Qk.prototype.w=function(){return this.h()?0:1};Qk.prototype.k=function(){if(this.h())return pf().sb;pf();var a=this.Ab();return new Sk(a)};function T(a,b){this.Xa=a;this.Ya=b}T.prototype=new q;T.prototype.constructor=T;e=T.prototype;e.mc=function(){return 2};e.nc=function(a){a:switch(a){case 0:a=this.Xa;break a;case 1:a=this.Ya;break a;default:throw Gf(new Hf,a+" is out of bounds (min 0, max 1)");}return a}; +e.v=function(){return"("+this.Xa+","+this.Ya+")"};e.Vb=function(){return"Tuple2"};e.F=function(){return eh(this)};e.L=function(a){return this===a?!0:a instanceof T?z(A(),this.Xa,a.Xa)&&z(A(),this.Ya,a.Ya):!1};e.$classData=w({Vh:0},!1,"scala.Tuple2",{Vh:1,b:1,em:1,Rc:1,t:1,d:1});function Tk(a,b){return a.nd(new Uk(a,b))}function Vk(a){return Zc(a,a.jc()+"(",", ")}function fj(){}fj.prototype=new ok;fj.prototype.constructor=fj;fj.prototype.o=function(){return!1};fj.prototype.w=function(){return 0}; +fj.prototype.n=function(){throw rj(new sj,"next on empty iterator");};fj.prototype.$classData=w({Rj:0},!1,"scala.collection.Iterator$$anon$19",{Rj:1,pc:1,b:1,Gb:1,q:1,s:1});function Sk(a){this.Tj=a;this.fg=!1}Sk.prototype=new ok;Sk.prototype.constructor=Sk;Sk.prototype.o=function(){return!this.fg};Sk.prototype.n=function(){if(this.fg)return pf().sb.n();this.fg=!0;return this.Tj};Sk.prototype.$classData=w({Sj:0},!1,"scala.collection.Iterator$$anon$20",{Sj:1,pc:1,b:1,Gb:1,q:1,s:1}); +function Wk(a,b){this.gh=this.of=null;if(null===a)throw $f(null);this.of=a;this.gh=b}Wk.prototype=new ok;Wk.prototype.constructor=Wk;Wk.prototype.w=function(){return this.of.w()};Wk.prototype.o=function(){return this.of.o()};Wk.prototype.n=function(){return this.gh.l(this.of.n())};Wk.prototype.$classData=w({Uj:0},!1,"scala.collection.Iterator$$anon$9",{Uj:1,pc:1,b:1,Gb:1,q:1,s:1});function Xk(a,b){return 0<=b&&0b)throw Gf(new Hf,""+b);a=a.eb(b);if(a.h())throw Gf(new Hf,""+b);return a.C()}function Zk(a,b){if(b&&b.$classData&&b.$classData.pa.gg)a:for(;;){if(a===b){a=!0;break a}if((a.h()?0:!b.h())&&z(A(),a.C(),b.C()))a=a.ba(),b=b.ba();else{a=a.h()&&b.h();break a}}else a=vk(a,b);return a}function $k(a){this.pf=a}$k.prototype=new ok;$k.prototype.constructor=$k;$k.prototype.o=function(){return!this.pf.h()};$k.prototype.n=function(){var a=this.pf.C();this.pf=this.pf.ba();return a}; +$k.prototype.$classData=w({Xj:0},!1,"scala.collection.StrictOptimizedLinearSeqOps$$anon$1",{Xj:1,pc:1,b:1,Gb:1,q:1,s:1});function lc(a,b){this.rf=a;this.$j=b;this.Nd=a.length|0;this.Ra=0}lc.prototype=new ok;lc.prototype.constructor=lc;lc.prototype.o=function(){return this.Ra=a.Nd)a=pf().sb.n();else{for(var b=a.Ra;;){if(a.Rah)throw bl();if(h>c.a.length)throw bl();d=new v(1+c.a.length|0);c.m(0,d,0,h);d.a[h]=f;c.m(h,d,1+h|0,c.a.length-h|0);b.A|=m;b.V=a;b.$a=d;b.Aa=1+b.Aa|0;b.gb=b.gb+g|0}}else if(b instanceof Aj)m=Ej(b,c),b.ia=0>m?b.ia.Lc(new T(c,d)):b.ia.id(m,new T(c, +d));else throw new Q(b);}function Kj(a){if(0===a.Xc.Aa)return Nj().lg;null===a.Je&&(a.Je=new Jj(a.Xc));return a.Je}function cl(a,b){al(a);var c=b.Xa;c=V(W(),c);var d=Tc(Vc(),c);Lh(a,a.Xc,b.Xa,b.Ya,c,d,0)}function dl(a,b,c){al(a);var d=V(W(),b);Lh(a,a.Xc,b,c,d,Tc(Vc(),d),0);return a}function Lj(a,b){al(a);if(b instanceof Jj)new Kh(a,b);else if(b&&b.$classData&&b.$classData.pa.yd)b.md(new fk((c,d)=>dl(a,c,d)));else for(b=b.k();b.o();)cl(a,b.n());return a}Mj.prototype.hc=function(a){return Lj(this,a)}; +Mj.prototype.Jc=function(a){cl(this,a)};Mj.prototype.Bc=function(){return Kj(this)};Mj.prototype.$classData=w({kk:0},!1,"scala.collection.immutable.HashMapBuilder",{kk:1,b:1,vg:1,Oe:1,ae:1,$d:1});function el(){this.Wb=null;this.Wb=tf()}el.prototype=new uk;el.prototype.constructor=el;el.prototype.qa=function(a){return fl(a)?a:tk.prototype.Nc.call(this,a)};el.prototype.Nc=function(a){return fl(a)?a:tk.prototype.Nc.call(this,a)}; +el.prototype.$classData=w({mk:0},!1,"scala.collection.immutable.IndexedSeq$",{mk:1,ig:1,b:1,Dc:1,Fb:1,d:1});var gl;function of(){gl||(gl=new el);return gl}function hl(a){this.Ke=a}hl.prototype=new ok;hl.prototype.constructor=hl;hl.prototype.o=function(){return!this.Ke.h()};hl.prototype.n=function(){if(this.Ke.h())return pf().sb.n();var a=Z(this.Ke).C();this.Ke=Z(this.Ke).Wa();return a};hl.prototype.$classData=w({rk:0},!1,"scala.collection.immutable.LazyList$LazyIterator",{rk:1,pc:1,b:1,Gb:1,q:1,s:1}); +function il(){jl=this;rf();rf()}il.prototype=new q;il.prototype.constructor=il;il.prototype.Mc=function(a){return kl(rf(),a)};il.prototype.qa=function(a){return kl(rf(),a)};il.prototype.$classData=w({yk:0},!1,"scala.collection.immutable.List$",{yk:1,b:1,qf:1,Dc:1,Fb:1,d:1});var jl;function qf(){jl||(jl=new il);return jl}function ll(){this.Zc=0;this.Sd=null}ll.prototype=new ok;ll.prototype.constructor=ll;function ml(){}ml.prototype=ll.prototype;ll.prototype.o=function(){return 2>this.Zc}; +ll.prototype.n=function(){switch(this.Zc){case 0:var a=new T(this.Sd.sc,this.Sd.zd);break;case 1:a=new T(this.Sd.tc,this.Sd.Ad);break;default:a=pf().sb.n()}this.Zc=1+this.Zc|0;return a};ll.prototype.kc=function(a){this.Zc=this.Zc+a|0;return this};function nl(){this.ad=0;this.$c=null}nl.prototype=new ok;nl.prototype.constructor=nl;function ol(){}ol.prototype=nl.prototype;nl.prototype.o=function(){return 3>this.ad}; +nl.prototype.n=function(){switch(this.ad){case 0:var a=new T(this.$c.Zb,this.$c.bd);break;case 1:a=new T(this.$c.$b,this.$c.cd);break;case 2:a=new T(this.$c.ac,this.$c.dd);break;default:a=pf().sb.n()}this.ad=1+this.ad|0;return a};nl.prototype.kc=function(a){this.ad=this.ad+a|0;return this};function pl(){this.ed=0;this.uc=null}pl.prototype=new ok;pl.prototype.constructor=pl;function ql(){}ql.prototype=pl.prototype;pl.prototype.o=function(){return 4>this.ed}; +pl.prototype.n=function(){switch(this.ed){case 0:var a=new T(this.uc.Hb,this.uc.vc);break;case 1:a=new T(this.uc.Ib,this.uc.wc);break;case 2:a=new T(this.uc.Jb,this.uc.xc);break;case 3:a=new T(this.uc.Kb,this.uc.yc);break;default:a=pf().sb.n()}this.ed=1+this.ed|0;return a};pl.prototype.kc=function(a){this.ed=this.ed+a|0;return this};function Wj(){this.zc=null;this.Td=!1;this.fd=null;this.zc=Uj();this.Td=!1}Wj.prototype=new q;Wj.prototype.constructor=Wj; +function Vj(a,b){return a.Td?(Lj(a.fd,b),a):Oh(a,b)}Wj.prototype.hc=function(a){return Vj(this,a)};Wj.prototype.Jc=function(a){var b=a.Xa;a=a.Ya;if(this.Td)dl(this.fd,b,a);else if(4>this.zc.Ia())this.zc=this.zc.Hd(b,a);else if(this.zc.kd(b))this.zc=this.zc.Hd(b,a);else{this.Td=!0;null===this.fd&&(this.fd=new Mj);var c=this.zc;dl(dl(dl(dl(this.fd,c.Hb,c.vc),c.Ib,c.wc),c.Jb,c.xc),c.Kb,c.yc);dl(this.fd,b,a)}};Wj.prototype.Bc=function(){return this.Td?Kj(this.fd):this.zc}; +Wj.prototype.$classData=w({Ik:0},!1,"scala.collection.immutable.MapBuilderImpl",{Ik:1,b:1,vg:1,Oe:1,ae:1,$d:1});function rl(a){this.Ie=this.He=this.uf=null;this.pg=0;this.uh=null;this.Sb=this.wd=-1;this.He=new v(1+F().Ne|0);this.Ie=new (y(cd).u)(1+F().Ne|0);gd(this,a);hd(this);this.pg=0}rl.prototype=new jd;rl.prototype.constructor=rl;e=rl.prototype;e.k=function(){return this};e.h=function(){return!this.o()};e.kc=function(a){return cj(this,a)};e.v=function(){return"\x3citerator\x3e"}; +e.zb=function(a,b,c){return Wc(this,a,b,c)};e.Kc=function(a,b,c,d){return ad(this,a,b,c,d)};e.w=function(){return-1};e.F=function(){Y();var a=this.uh;return dh(this.pg,V(W(),a))};e.n=function(){if(!this.o())throw Fj();this.pg=this.uf.Oc(this.wd);this.uh=this.uf.Ob(this.wd);this.wd=-1+this.wd|0;return this};e.$classData=w({Jk:0},!1,"scala.collection.immutable.MapKeyValueTupleHashIterator",{Jk:1,xm:1,b:1,Gb:1,q:1,s:1}); +function sl(a){this.Qd=this.ub=0;this.Wc=null;this.tb=0;this.Ge=this.Ec=null;dd(this,a)}sl.prototype=new fd;sl.prototype.constructor=sl;e=sl.prototype;e.k=function(){return this};e.h=function(){return!this.o()};e.kc=function(a){return cj(this,a)};e.v=function(){return"\x3citerator\x3e"};e.zb=function(a,b,c){return Wc(this,a,b,c)};e.Kc=function(a,b,c,d){return ad(this,a,b,c,d)};e.w=function(){return-1};e.n=function(){if(!this.o())throw Fj();var a=this.Wc.Ag(this.ub);this.ub=1+this.ub|0;return a}; +e.$classData=w({Kk:0},!1,"scala.collection.immutable.MapKeyValueTupleIterator",{Kk:1,gk:1,b:1,Gb:1,q:1,s:1}); +function tl(a){a.vb<=a.sa&&pf().sb.n();a.Fd=1+a.Fd|0;for(var b=a.wh.gc(a.Fd);0===b.a.length;)a.Fd=1+a.Fd|0,b=a.wh.gc(a.Fd);a.vf=a.Vd;var c=a.Ok/2|0,d=a.Fd-c|0;a.Ed=(1+c|0)-(0>d?-d|0:d)|0;c=a.Ed;switch(c){case 1:a.bc=b;break;case 2:a.Bd=b;break;case 3:a.Cd=b;break;case 4:a.Dd=b;break;case 5:a.Ud=b;break;case 6:a.qg=b;break;default:throw new Q(c);}a.Vd=a.vf+Math.imul(b.a.length,1<a.hd&&(a.Vd=a.hd);1c?a.bc=a.Bd.a[31&(b>>>5|0)]:(32768>c?a.Bd=a.Cd.a[31&(b>>>10|0)]:(1048576>c?a.Cd=a.Dd.a[31&(b>>>15|0)]:(33554432>c?a.Dd=a.Ud.a[31&(b>>>20|0)]:(a.Ud=a.qg.a[b>>>25|0],a.Dd=a.Ud.a[0]),a.Cd=a.Dd.a[0]),a.Bd=a.Cd.a[0]),a.bc=a.Bd.a[0]);a.Me=b}a.vb=a.vb-a.sa|0;b=a.bc.a.length;c=a.vb;a.gd=bthis.sa};e.n=function(){this.sa===this.gd&&ul(this);var a=this.bc.a[this.sa];this.sa=1+this.sa|0;return a}; +e.kc=function(a){if(0=this.Vd;)tl(this);b=a-this.vf|0;if(1c||(32768>c||(1048576>c||(33554432>c||(this.Ud=this.qg.a[b>>>25|0]),this.Dd=this.Ud.a[31&(b>>>20|0)]),this.Cd=this.Dd.a[31&(b>>>15|0)]),this.Bd=this.Cd.a[31&(b>>>10|0)]);this.bc=this.Bd.a[31&(b>>>5|0)];this.Me=b}this.gd=this.bc.a.length;this.sa=31&b;this.vb=this.sa+(this.hd-a|0)|0;this.gd>this.vb&& +(this.gd=this.vb)}}return this};e.zb=function(a,b,c){var d=Ub(Xb(),a),f=this.vb-this.sa|0;c=c=b?(Tj(a)?(b=new r(b),a.zb(b,0,2147483647),a=b):(b=new r(b),a.k().zb(b,0,2147483647),a=b),new Od(a)):zl(new Al,a).oc()} +wl.prototype.qa=function(a){return Bj(a)};wl.prototype.$classData=w({Sk:0},!1,"scala.collection.immutable.Vector$",{Sk:1,b:1,qf:1,Dc:1,Fb:1,d:1});var xl;function tf(){xl||(xl=new wl);return xl}function Bl(a,b){var c=b.a.length;if(0h?-h|0:h)|0;1===g?Bl(a,f):Ud(J(),-2+g|0,f,new E(k=>{Bl(a,k)}));d=1+d|0}return a} +function Cl(a){var b=32+a.Ha|0,c=b^a.Ha;a.Ha=b;a.y=0;if(1024>c)1===a.aa&&(a.x=new (y(y(x)).u)(32),a.x.a[0]=a.E,a.aa=1+a.aa|0),a.E=new r(32),a.x.a[31&(b>>>5|0)]=a.E;else if(32768>c)2===a.aa&&(a.B=new (y(y(y(x))).u)(32),a.B.a[0]=a.x,a.aa=1+a.aa|0),a.E=new r(32),a.x=new (y(y(x)).u)(32),a.x.a[31&(b>>>5|0)]=a.E,a.B.a[31&(b>>>10|0)]=a.x;else if(1048576>c)3===a.aa&&(a.K=new (y(y(y(y(x)))).u)(32),a.K.a[0]=a.B,a.aa=1+a.aa|0),a.E=new r(32),a.x=new (y(y(x)).u)(32),a.B=new (y(y(y(x))).u)(32),a.x.a[31&(b>>>5| +0)]=a.E,a.B.a[31&(b>>>10|0)]=a.x,a.K.a[31&(b>>>15|0)]=a.B;else if(33554432>c)4===a.aa&&(a.ga=new (y(y(y(y(y(x))))).u)(32),a.ga.a[0]=a.K,a.aa=1+a.aa|0),a.E=new r(32),a.x=new (y(y(x)).u)(32),a.B=new (y(y(y(x))).u)(32),a.K=new (y(y(y(y(x)))).u)(32),a.x.a[31&(b>>>5|0)]=a.E,a.B.a[31&(b>>>10|0)]=a.x,a.K.a[31&(b>>>15|0)]=a.B,a.ga.a[31&(b>>>20|0)]=a.K;else if(1073741824>c)5===a.aa&&(a.Qa=new (y(y(y(y(y(y(x)))))).u)(64),a.Qa.a[0]=a.ga,a.aa=1+a.aa|0),a.E=new r(32),a.x=new (y(y(x)).u)(32),a.B=new (y(y(y(x))).u)(32), +a.K=new (y(y(y(y(x)))).u)(32),a.ga=new (y(y(y(y(y(x))))).u)(32),a.x.a[31&(b>>>5|0)]=a.E,a.B.a[31&(b>>>10|0)]=a.x,a.K.a[31&(b>>>15|0)]=a.B,a.ga.a[31&(b>>>20|0)]=a.K,a.Qa.a[31&(b>>>25|0)]=a.ga;else throw Vb("advance1("+b+", "+c+"): a1\x3d"+a.E+", a2\x3d"+a.x+", a3\x3d"+a.B+", a4\x3d"+a.K+", a5\x3d"+a.ga+", a6\x3d"+a.Qa+", depth\x3d"+a.aa);}function Al(){this.E=this.x=this.B=this.K=this.ga=this.Qa=null;this.aa=this.xb=this.Ha=this.y=0;this.E=new r(32);this.xb=this.Ha=this.y=0;this.aa=1} +Al.prototype=new q;Al.prototype.constructor=Al;function El(a,b){a.aa=1;var c=b.a.length;a.y=31&c;a.Ha=c-a.y|0;a.E=32===b.a.length?b:C(D(),b,0,32);0===a.y&&0=a){if(32===b)return new Od(this.E);var c=this.E;return new Od(B(D(),c,b))}if(1024>=a){var d=31&(-1+a|0),f=(-1+a|0)>>>5|0,g=this.x,h=C(D(),g,1,f),k=this.x.a[0],m=this.x.a[f],t=1+d|0,u=m.a.length===t?m:B(D(),m,t);return new Pd(k,32-this.xb|0,h,u,b)}if(32768>=a){var K=31&(-1+a|0),N=31&((-1+a|0)>>>5|0),R=(-1+a|0)>>>10|0,La=this.B,ca=C(D(),La,1,R),Xa=this.B.a[0],Ai=Xa.a.length,Vd=C(D(),Xa,1,Ai),Wd=this.B.a[0].a[0],ig= +this.B.a[R],Jb=B(D(),ig,N),Xd=this.B.a[R].a[N],Yd=1+K|0,jg=Xd.a.length===Yd?Xd:B(D(),Xd,Yd),kg=Wd.a.length;return new L(Wd,kg,Vd,kg+(Vd.a.length<<5)|0,ca,Jb,jg,b)}if(1048576>=a){var lg=31&(-1+a|0),Zd=31&((-1+a|0)>>>5|0),Hc=31&((-1+a|0)>>>10|0),Ic=(-1+a|0)>>>15|0,Bi=this.K,mg=C(D(),Bi,1,Ic),ng=this.K.a[0],og=ng.a.length,$d=C(D(),ng,1,og),pg=this.K.a[0].a[0],qg=pg.a.length,ae=C(D(),pg,1,qg),rg=this.K.a[0].a[0].a[0],sg=this.K.a[Ic],tg=B(D(),sg,Hc),ug=this.K.a[Ic].a[Hc],Ci=B(D(),ug,Zd),be=this.K.a[Ic].a[Hc].a[Zd], +ce=1+lg|0,Di=be.a.length===ce?be:B(D(),be,ce),vg=rg.a.length,de=vg+(ae.a.length<<5)|0;return new M(rg,vg,ae,de,$d,de+($d.a.length<<10)|0,mg,tg,Ci,Di,b)}if(33554432>=a){var wg=31&(-1+a|0),xg=31&((-1+a|0)>>>5|0),Jc=31&((-1+a|0)>>>10|0),Kb=31&((-1+a|0)>>>15|0),Lb=(-1+a|0)>>>20|0,yg=this.ga,zg=C(D(),yg,1,Lb),Ag=this.ga.a[0],Bg=Ag.a.length,ee=C(D(),Ag,1,Bg),Cg=this.ga.a[0].a[0],Dg=Cg.a.length,fe=C(D(),Cg,1,Dg),ge=this.ga.a[0].a[0].a[0],Ei=ge.a.length,Eg=C(D(),ge,1,Ei),he=this.ga.a[0].a[0].a[0].a[0],Fi= +this.ga.a[Lb],Gi=B(D(),Fi,Kb),Fg=this.ga.a[Lb].a[Kb],Hi=B(D(),Fg,Jc),Ii=this.ga.a[Lb].a[Kb].a[Jc],Gg=B(D(),Ii,xg),Kc=this.ga.a[Lb].a[Kb].a[Jc].a[xg],ie=1+wg|0,Ji=Kc.a.length===ie?Kc:B(D(),Kc,ie),je=he.a.length,ke=je+(Eg.a.length<<5)|0,Hg=ke+(fe.a.length<<10)|0;return new O(he,je,Eg,ke,fe,Hg,ee,Hg+(ee.a.length<<15)|0,zg,Gi,Hi,Gg,Ji,b)}var Ig=31&(-1+a|0),le=31&((-1+a|0)>>>5|0),me=31&((-1+a|0)>>>10|0),Mb=31&((-1+a|0)>>>15|0),nb=31&((-1+a|0)>>>20|0),ob=(-1+a|0)>>>25|0,Jg=this.Qa,Kg=C(D(),Jg,1,ob),Lg= +this.Qa.a[0],Mg=Lg.a.length,ne=C(D(),Lg,1,Mg),oe=this.Qa.a[0].a[0],Ki=oe.a.length,Ng=C(D(),oe,1,Ki),pe=this.Qa.a[0].a[0].a[0],Li=pe.a.length,Og=C(D(),pe,1,Li),qe=this.Qa.a[0].a[0].a[0].a[0],Mi=qe.a.length,Pg=C(D(),qe,1,Mi),re=this.Qa.a[0].a[0].a[0].a[0].a[0],Ni=this.Qa.a[ob],Oi=B(D(),Ni,nb),Qg=this.Qa.a[ob].a[nb],Rg=B(D(),Qg,Mb),Sg=this.Qa.a[ob].a[nb].a[Mb],Tg=B(D(),Sg,me),$n=this.Qa.a[ob].a[nb].a[Mb].a[me],ao=B(D(),$n,le),Xj=this.Qa.a[ob].a[nb].a[Mb].a[me].a[le],Dm=1+Ig|0,bo=Xj.a.length===Dm?Xj: +B(D(),Xj,Dm),Em=re.a.length,Fm=Em+(Pg.a.length<<5)|0,Gm=Fm+(Og.a.length<<10)|0,Hm=Gm+(Ng.a.length<<15)|0;return new P(re,Em,Pg,Fm,Og,Gm,Ng,Hm,ne,Hm+(ne.a.length<<20)|0,Kg,Oi,Rg,Tg,ao,bo,b)};e.v=function(){return"VectorBuilder(len1\x3d"+this.y+", lenRest\x3d"+this.Ha+", offset\x3d"+this.xb+", depth\x3d"+this.aa+")"};e.Bc=function(){return this.oc()};e.hc=function(a){return zl(this,a)};e.Jc=function(a){Fl(this,a)}; +e.$classData=w({$k:0},!1,"scala.collection.immutable.VectorBuilder",{$k:1,b:1,vg:1,Oe:1,ae:1,$d:1});function Gl(){}Gl.prototype=new q;Gl.prototype.constructor=Gl;Gl.prototype.Mc=function(a){return Hl(a)};function Hl(a){var b=a.w();if(0<=b){var c=new r(16>>31|0|f>>31<<1;a=(0===f?-2147483632<(-2147483648^a):0>31,k=f;if(k===h?(-2147483648^g)<(-2147483648^d):k>>31|0|f<<1,a<<=1;else break}d=f;if(0===d?-1>=(-2147483648^a):0>d)d=a;else{if(2147483647===c)throw b=new Wi,H(b,"Collections can not have more than 2147483647 elements",null),$f(b);d=2147483647}d=new r(d);Ch(Eh(),b,0,d,0,c);return d}Gl.prototype.qa=function(a){return Hl(a)}; +Gl.prototype.$classData=w({gl:0},!1,"scala.collection.mutable.ArrayBuffer$",{gl:1,b:1,qf:1,Dc:1,Fb:1,d:1});var Ll;function Ml(){Ll||(Ll=new Gl);return Ll}function Qh(){this.Wb=null;this.Wb=Nl()}Qh.prototype=new uk;Qh.prototype.constructor=Qh;Qh.prototype.$classData=w({kl:0},!1,"scala.collection.mutable.Buffer$",{kl:1,ig:1,b:1,Dc:1,Fb:1,d:1});var Ph;function Ol(){this.Wb=null;this.Wb=Ml()}Ol.prototype=new uk;Ol.prototype.constructor=Ol; +Ol.prototype.$classData=w({nl:0},!1,"scala.collection.mutable.IndexedSeq$",{nl:1,ig:1,b:1,Dc:1,Fb:1,d:1});var Pl;function Ql(){this.Vg=null;Rl=this;this.Vg=new Qb}Ql.prototype=new q;Ql.prototype.constructor=Ql; +Ql.prototype.Af=function(a){if(null===a){var b=new Ok;H(b,"runnable is null",null);throw b;}var c=this.Vg;b=c.Ab();if(b instanceof Zj){c=b.Sc;if(0===c)b.oe=a;else{var d=b.pe;var f=d.a.length;if(!(c<=f)){var g=0===f?4:f<<1;if(g<=f)throw new Pk("Space limit of asynchronous stack reached: "+f);g=new (y(lb).u)(g);d.m(0,g,0,f);d=b.pe=g}d.a[-1+c|0]=a}b.Sc=1+c|0}else if(d=null!==b?b:0,16>d){c.Kd=1+d|0;c.Jd=!0;try{a.rd()}catch(h){if(f=Zf(ag(),h),null!==f)if(gg(Yg(),f))Ae().kf.l(f);else throw $f(f);else throw h; +}finally{c.Kd=b,c.Jd=!0}}else a=new Zj(this,a),c.Kd=a,c.Jd=!0,a.rd(),c.Kd=b,c.Jd=!0};Ql.prototype.Qf=function(a){Ae().kf.l(a)};Ql.prototype.$classData=w({Xi:0},!1,"scala.concurrent.ExecutionContext$parasitic$",{Xi:1,b:1,Wg:1,Tg:1,Mg:1,gm:1});var Rl;function cf(){Rl||(Rl=new Ql);return Rl}var Tl=function Sl(a,b){return b.Bb.isArrayClass?"Array["+Sl(a,fb(b))+"]":b.Bb.name};function Cf(a){this.Mh=0;this.Rl=a;this.xf=0;this.Mh=a.mc()}Cf.prototype=new ok;Cf.prototype.constructor=Cf; +Cf.prototype.o=function(){return this.xfnew wc(a.Ic)))};Zl.prototype.qa=function(a){return $l(this,a)}; +Zl.prototype.$classData=w({Hl:0},!1,"scala.scalajs.runtime.WrappedVarArgs$",{Hl:1,b:1,qf:1,Dc:1,Fb:1,d:1});var am;function U(a){this.sd=a}U.prototype=new Kk;U.prototype.constructor=U;e=U.prototype;e.Ab=function(){throw $f(this.sd);};e.Ue=function(){};e.Og=function(a){Kf||(Kf=new Jf);var b=Kf;try{var c=a.de(this.sd,new E(()=>b));return b!==c?new Oe(c):this}catch(d){a=Zf(ag(),d);if(null!==a){if(null!==a&&(c=Ug(Yg(),a),!c.h()))return a=c.Ab(),new U(a);throw $f(a);}throw d;}};e.Vb=function(){return"Failure"}; +e.mc=function(){return 1};e.nc=function(a){return 0===a?this.sd:Ff(W(),a)};e.F=function(){return eh(this)};e.v=function(){return Bf(this)};e.L=function(a){if(this===a)return!0;if(a instanceof U){var b=this.sd;a=a.sd;return null===b?null===a:b.L(a)}return!1};e.$classData=w({zj:0},!1,"scala.util.Failure",{zj:1,Cj:1,b:1,Rc:1,t:1,d:1});function Oe(a){this.ve=a}Oe.prototype=new Kk;Oe.prototype.constructor=Oe;e=Oe.prototype;e.Ab=function(){return this.ve};e.Ue=function(a){a.l(this.ve)};e.Og=function(){return this}; +e.Vb=function(){return"Success"};e.mc=function(){return 1};e.nc=function(a){return 0===a?this.ve:Ff(W(),a)};e.F=function(){return eh(this)};e.v=function(){return Bf(this)};e.L=function(a){return this===a?!0:a instanceof Oe?z(A(),this.ve,a.ve):!1};e.$classData=w({Bj:0},!1,"scala.util.Success",{Bj:1,Cj:1,b:1,Rc:1,t:1,d:1});function bl(){var a=new ud;H(a,null,null);return a}class ud extends Hf{} +ud.prototype.$classData=w({Zh:0},!1,"java.lang.ArrayIndexOutOfBoundsException",{Zh:1,Gf:1,Za:1,Ja:1,za:1,b:1,d:1});function Ba(a){return jb(kb(),a)}var pa=w({ei:0},!1,"java.lang.Double",{ei:1,le:1,b:1,d:1,Pc:1,Qc:1,ef:1},a=>"number"===typeof a),oa=w({fi:0},!1,"java.lang.Float",{fi:1,le:1,b:1,d:1,Pc:1,Qc:1,ef:1},a=>na(a)),ma=w({ii:0},!1,"java.lang.Integer",{ii:1,le:1,b:1,d:1,Pc:1,Qc:1,ef:1},a=>ja(a)),sa=w({mi:0},!1,"java.lang.Long",{mi:1,le:1,b:1,d:1,Pc:1,Qc:1,ef:1},a=>a instanceof p); +class kh extends Nk{constructor(a){super();H(this,a,null)}}kh.prototype.$classData=w({pi:0},!1,"java.lang.NumberFormatException",{pi:1,Eg:1,Za:1,Ja:1,za:1,b:1,d:1});function Aa(a){for(var b=0,c=1,d=-1+(a.length|0)|0;0<=d;)b=b+Math.imul(65535&(a.charCodeAt(d)|0),c)|0,c=Math.imul(31,c),d=-1+d|0;return b}var ia=w({Uh:0},!1,"java.lang.String",{Uh:1,b:1,d:1,Pc:1,Bg:1,Qc:1,ef:1},a=>"string"===typeof a);class bm extends Hf{} +bm.prototype.$classData=w({wi:0},!1,"java.lang.StringIndexOutOfBoundsException",{wi:1,Gf:1,Za:1,Ja:1,za:1,b:1,d:1});function cm(){}cm.prototype=new Rk;cm.prototype.constructor=cm;e=cm.prototype;e.Vb=function(){return"None"};e.mc=function(){return 0};e.nc=function(a){return Ff(W(),a)};e.F=function(){return 2433880};e.v=function(){return"None"};e.Ab=function(){throw rj(new sj,"None.get");};e.$classData=w({Oi:0},!1,"scala.None$",{Oi:1,Pi:1,b:1,q:1,Rc:1,t:1,d:1});var dm; +function Wg(){dm||(dm=new cm);return dm}function Vg(a){this.jf=a}Vg.prototype=new Rk;Vg.prototype.constructor=Vg;e=Vg.prototype;e.Ab=function(){return this.jf};e.Vb=function(){return"Some"};e.mc=function(){return 1};e.nc=function(a){return 0===a?this.jf:Ff(W(),a)};e.F=function(){return eh(this)};e.v=function(){return Bf(this)};e.L=function(a){return this===a?!0:a instanceof Vg?z(A(),this.jf,a.jf):!1};e.$classData=w({Si:0},!1,"scala.Some",{Si:1,Pi:1,b:1,q:1,Rc:1,t:1,d:1});function em(){} +em.prototype=new q;em.prototype.constructor=em;function fm(){}e=fm.prototype=em.prototype;e.jc=function(){return this.yb()};e.Ve=function(a){return this.Ac().qa(a)};e.C=function(){return this.k().n()};e.eb=function(a){return this.nd(gm(new hm,this,a))};e.ba=function(){return aj(this)};e.he=function(a){for(var b=!0,c=this.k();b&&c.o();)b=!!a.l(c.n());return b};e.h=function(){return!this.k().o()};e.zb=function(a,b,c){return Wc(this,a,b,c)};e.Kc=function(a,b,c,d){return ad(this,a,b,c,d)};e.w=function(){return-1}; +e.nd=function(a){return this.Ve(a)};function im(a){this.ud=0;this.Nj=a;this.xe=0;this.ud=a.p()}im.prototype=new ok;im.prototype.constructor=im;e=im.prototype;e.w=function(){return this.ud};e.o=function(){return 0a?0:a);return this}; +e.$classData=w({Mj:0},!1,"scala.collection.IndexedSeqView$IndexedSeqViewIterator",{Mj:1,pc:1,b:1,Gb:1,q:1,s:1,d:1});function jm(a,b,c){return a.od(b,new mj(()=>c.l(b)))}function km(a,b,c,d,f){a=a.k();a=new Wk(a,new E(g=>{if(null!==g)return g.Xa+" -\x3e "+g.Ya;throw new Q(g);}));return ad(a,b,c,d,f)}function Tj(a){return!!(a&&a.$classData&&a.$classData.pa.Sa)}function lm(a){this.Zc=0;this.Sd=null;if(null===a)throw $f(null);this.Sd=a;this.Zc=0}lm.prototype=new ml;lm.prototype.constructor=lm; +lm.prototype.$classData=w({Dk:0},!1,"scala.collection.immutable.Map$Map2$$anon$1",{Dk:1,ym:1,pc:1,b:1,Gb:1,q:1,s:1});function mm(a){this.ad=0;this.$c=null;if(null===a)throw $f(null);this.$c=a;this.ad=0}mm.prototype=new ol;mm.prototype.constructor=mm;mm.prototype.$classData=w({Fk:0},!1,"scala.collection.immutable.Map$Map3$$anon$4",{Fk:1,zm:1,pc:1,b:1,Gb:1,q:1,s:1});function nm(a){this.ed=0;this.uc=null;if(null===a)throw $f(null);this.uc=a;this.ed=0}nm.prototype=new ql;nm.prototype.constructor=nm; +nm.prototype.$classData=w({Hk:0},!1,"scala.collection.immutable.Map$Map4$$anon$7",{Hk:1,Am:1,pc:1,b:1,Gb:1,q:1,s:1});function pi(a){this.mf=a}pi.prototype=new q;pi.prototype.constructor=pi;e=pi.prototype;e.L=function(a){if(a&&a.$classData&&a.$classData.pa.rb){var b=this.lb();a=a.lb();b=b===a}else b=!1;return b};e.F=function(){var a=this.mf;return V(W(),a)};e.v=function(){return Tl(this,this.mf)};e.lb=function(){return this.mf};e.kb=function(a){var b=this.mf;Xb();return gb(b,[a])}; +e.$classData=w({lj:0},!1,"scala.reflect.ClassTag$GenericClassTag",{lj:1,b:1,rb:1,Cb:1,Db:1,d:1,t:1});function om(){}om.prototype=new Mk;om.prototype.constructor=om;function pm(){}pm.prototype=om.prototype;class Ie extends sj{constructor(a){super();H(this,"Future.collect partial function is not defined at: "+a,null)}ld(){return cg(this)}}Ie.prototype.$classData=w({$i:0},!1,"scala.concurrent.Future$$anon$1",{$i:1,ff:1,Za:1,Ja:1,za:1,b:1,d:1,Yf:1}); +class Je extends sj{constructor(){super();H(this,"Future.filter predicate is not satisfied",null)}ld(){return cg(this)}}Je.prototype.$classData=w({aj:0},!1,"scala.concurrent.Future$$anon$2",{aj:1,ff:1,Za:1,Ja:1,za:1,b:1,d:1,Yf:1});class Ke extends sj{constructor(){super();H(this,"Future.failed not completed with a throwable.",null)}ld(){return cg(this)}}Ke.prototype.$classData=w({bj:0},!1,"scala.concurrent.Future$$anon$3",{bj:1,ff:1,Za:1,Ja:1,za:1,b:1,d:1,Yf:1}); +function qm(a){for(;;){var b=a.z;if(b instanceof Ue)return b;if(b instanceof ak)a=bk(b,a);else return null}}function rm(a,b,c){for(;;){if(b instanceof Ue)return sm(c,b),c;if(gf(b)){var d=a,f=b,g;if(b!==Xe().te)a:for(g=c;;){if(g instanceof bf){g=new Rh(g,b);break a}b=new Rh(g.ch,b);g=g.dh}else g=c;if(yh(d,f,g))return c;b=a.z}else a=bk(b,a),b=d=a.z}}function sm(a,b){for(;a instanceof Rh;)tm(a.ch,b),a=a.dh;tm(a,b)}function Se(a){var b=new Rf;a=We(Xe(),a);b.z=a;return b} +function Qf(a){var b=Xe().te;a.z=b;return a}function Rf(){this.z=null}Rf.prototype=new xh;Rf.prototype.constructor=Rf;function um(){}um.prototype=Rf.prototype;function qc(a,b){var c=ze(),d=a.z;d instanceof U||rm(a,d,af(new bf,5,b,c))}function rc(a){var b=new kk,c=ze(),d=a.z;return d instanceof U?a:rm(a,d,af(new bf,2,b,c))}function mk(a,b){var c=ze(),d=a.z;return d instanceof U?a:rm(a,d,af(new bf,1,b,c))} +Rf.prototype.v=function(){for(var a=this;;){var b=a.z;if(b instanceof Ue)return"Future("+b+")";if(b instanceof ak)a=bk(b,a);else return"Future(\x3cnot completed\x3e)"}};function Ve(a,b,c){for(;;)if(gf(b)){if(yh(a,b,c))return b!==Xe().te&&sm(b,c),!0;b=a.z}else if(b instanceof ak)if(b=bk(b,a),b!==a){var d=b.z;a=b;b=d}else return!1;else return!1} +function vm(a,b){if(b!==a){var c=a.z;if(!(c instanceof Ue)){if(b instanceof Rf)var d=qm(b);else Ih||(Ih=new Hh),d=qm(b),d=null===d?Wg():new Vg(d),Ah||(Ah=new zh),d=d.h()?null:d.Ab();null!==d?Ve(a,c,d):(c=cf(),rm(b,b.z,af(new bf,6,a,c)))}}} +function wm(a,b){for(var c=null;;){if(a!==b){var d=a.z;if(d instanceof Ue){if(!Ve(b,b.z,d))throw new Ye("Cannot link completed promises together");}else if(gf(d))if(c=null!==c?c:new ak(b),b=bk(c,a),a!==b&&yh(a,d,c))d!==Xe().te&&rm(b,b.z,d);else continue;else{a=bk(d,a);continue}}break}}Rf.prototype.l=function(a){Ve(this,this.z,a)};Rf.prototype.$classData=w({bh:0},!1,"scala.concurrent.impl.Promise$DefaultPromise",{bh:1,Ng:1,b:1,d:1,dj:1,Yi:1,Ti:1,ca:1});function xm(){this.La=null;this.G=0} +xm.prototype=new q;xm.prototype.constructor=xm;function ym(){}ym.prototype=xm.prototype;xm.prototype.v=function(){return this.La};xm.prototype.L=function(a){return this===a};xm.prototype.F=function(){return this.G};function zm(){}zm.prototype=new q;zm.prototype.constructor=zm;function Am(){}Am.prototype=zm.prototype; +class Uf extends ik{constructor(a){super();this.be=a;H(this,null,null)}We(){return Ca(this.be)}ld(){this.ne=this.be;return this}Vb(){return"JavaScriptException"}mc(){return 1}nc(a){return 0===a?this.be:Ff(W(),a)}F(){return eh(this)}L(a){if(this===a)return!0;if(a instanceof Uf){var b=this.be;a=a.be;return z(A(),b,a)}return!1}}Uf.prototype.$classData=w({vl:0},!1,"scala.scalajs.js.JavaScriptException",{vl:1,Za:1,Ja:1,za:1,b:1,d:1,Rc:1,t:1});function Fb(a){this.li=a;this.$e=""}Fb.prototype=new pm; +Fb.prototype.constructor=Fb;function rh(a,b){for(;""!==b;){var c=b.indexOf("\n")|0;if(0>c)a.$e=""+a.$e+b,b="";else{var d=""+a.$e+b.substring(0,c);"undefined"!==typeof console&&(a.li&&console.error?console.error(d):console.log(d));a.$e="";b=b.substring(1+c|0)}}}Fb.prototype.$classData=w({ki:0},!1,"java.lang.JSConsoleBasedPrintStream",{ki:1,Zl:1,Wl:1,Yl:1,b:1,Vl:1,$l:1,Xl:1,Xh:1});function Bm(){this.La=null;this.G=0}Bm.prototype=new ym;Bm.prototype.constructor=Bm;function Cm(){}Cm.prototype=Bm.prototype; +Bm.prototype.lb=function(){return n(Ya)};Bm.prototype.kb=function(a){return new Ja(a)};function Im(){this.La=null;this.G=0}Im.prototype=new ym;Im.prototype.constructor=Im;function Jm(){}Jm.prototype=Im.prototype;Im.prototype.lb=function(){return n($a)};Im.prototype.kb=function(a){return new Ma(a)};function Km(){this.La=null;this.G=0}Km.prototype=new ym;Km.prototype.constructor=Km;function Lm(){}Lm.prototype=Km.prototype;Km.prototype.lb=function(){return n(Za)};Km.prototype.kb=function(a){return new Ka(a)}; +function Mm(){this.La=null;this.G=0}Mm.prototype=new ym;Mm.prototype.constructor=Mm;function Nm(){}Nm.prototype=Mm.prototype;Mm.prototype.lb=function(){return n(eb)};Mm.prototype.kb=function(a){return new Qa(a)};function Om(){this.La=null;this.G=0}Om.prototype=new ym;Om.prototype.constructor=Om;function Pm(){}Pm.prototype=Om.prototype;Om.prototype.lb=function(){return n(db)};Om.prototype.kb=function(a){return new Pa(a)};function Qm(){this.La=null;this.G=0}Qm.prototype=new ym; +Qm.prototype.constructor=Qm;function Rm(){}Rm.prototype=Qm.prototype;Qm.prototype.lb=function(){return n(bb)};Qm.prototype.kb=function(a){return new v(a)};function Sm(){this.La=null;this.G=0}Sm.prototype=new ym;Sm.prototype.constructor=Sm;function Tm(){}Tm.prototype=Sm.prototype;Sm.prototype.lb=function(){return n(cb)};Sm.prototype.kb=function(a){return new Oa(a)};function Um(){this.ue=null;this.Cc=0}Um.prototype=new Am;Um.prototype.constructor=Um;function Vm(){}Vm.prototype=Um.prototype; +Um.prototype.v=function(){return this.ue};Um.prototype.L=function(a){return this===a};Um.prototype.F=function(){return this.Cc};function Wm(){this.La=null;this.G=0}Wm.prototype=new ym;Wm.prototype.constructor=Wm;function Xm(){}Xm.prototype=Wm.prototype;Wm.prototype.lb=function(){return n(ab)};Wm.prototype.kb=function(a){return new Na(a)};function Ym(){this.La=null;this.G=0}Ym.prototype=new ym;Ym.prototype.constructor=Ym;function Zm(){}Zm.prototype=Ym.prototype;Ym.prototype.lb=function(){return n(Wa)}; +Ym.prototype.kb=function(a){return new (y(ra).u)(a)};function $m(){}$m.prototype=new fm;$m.prototype.constructor=$m;function an(){}an.prototype=$m.prototype;$m.prototype.Ac=function(){qj||(qj=new jj);return qj};$m.prototype.v=function(){return this.jc()+"(\x3cnot computed\x3e)"};$m.prototype.yb=function(){return"View"};function rd(){this.Cc=0;this.ue="Any";vc();this.Cc=Ha(this)}rd.prototype=new Vm;rd.prototype.constructor=rd;rd.prototype.lb=function(){return n(x)};rd.prototype.kb=function(a){return new r(a)}; +rd.prototype.$classData=w({mj:0},!1,"scala.reflect.ManifestFactory$AnyManifest$",{mj:1,Wf:1,Vf:1,b:1,Qb:1,rb:1,Cb:1,Db:1,d:1,t:1});var qd;function fi(){this.G=0;this.La="Boolean";this.G=Ha(this)}fi.prototype=new Cm;fi.prototype.constructor=fi;fi.prototype.$classData=w({nj:0},!1,"scala.reflect.ManifestFactory$BooleanManifest$",{nj:1,im:1,Tc:1,b:1,Qb:1,rb:1,Cb:1,Db:1,d:1,t:1});var ei;function Uh(){this.G=0;this.La="Byte";this.G=Ha(this)}Uh.prototype=new Jm;Uh.prototype.constructor=Uh; +Uh.prototype.$classData=w({oj:0},!1,"scala.reflect.ManifestFactory$ByteManifest$",{oj:1,jm:1,Tc:1,b:1,Qb:1,rb:1,Cb:1,Db:1,d:1,t:1});var Th;function Yh(){this.G=0;this.La="Char";this.G=Ha(this)}Yh.prototype=new Lm;Yh.prototype.constructor=Yh;Yh.prototype.$classData=w({pj:0},!1,"scala.reflect.ManifestFactory$CharManifest$",{pj:1,km:1,Tc:1,b:1,Qb:1,rb:1,Cb:1,Db:1,d:1,t:1});var Xh;function di(){this.G=0;this.La="Double";this.G=Ha(this)}di.prototype=new Nm;di.prototype.constructor=di; +di.prototype.$classData=w({qj:0},!1,"scala.reflect.ManifestFactory$DoubleManifest$",{qj:1,lm:1,Tc:1,b:1,Qb:1,rb:1,Cb:1,Db:1,d:1,t:1});var ci;function bi(){this.G=0;this.La="Float";this.G=Ha(this)}bi.prototype=new Pm;bi.prototype.constructor=bi;bi.prototype.$classData=w({rj:0},!1,"scala.reflect.ManifestFactory$FloatManifest$",{rj:1,mm:1,Tc:1,b:1,Qb:1,rb:1,Cb:1,Db:1,d:1,t:1});var ai;function bn(){this.G=0;this.La="Int";this.G=Ha(this)}bn.prototype=new Rm;bn.prototype.constructor=bn; +bn.prototype.$classData=w({sj:0},!1,"scala.reflect.ManifestFactory$IntManifest$",{sj:1,nm:1,Tc:1,b:1,Qb:1,rb:1,Cb:1,Db:1,d:1,t:1});var cn;function sd(){cn||(cn=new bn);return cn}function $h(){this.G=0;this.La="Long";this.G=Ha(this)}$h.prototype=new Tm;$h.prototype.constructor=$h;$h.prototype.$classData=w({tj:0},!1,"scala.reflect.ManifestFactory$LongManifest$",{tj:1,om:1,Tc:1,b:1,Qb:1,rb:1,Cb:1,Db:1,d:1,t:1});var Zh;function mi(){this.Cc=0;this.ue="Nothing";vc();this.Cc=Ha(this)}mi.prototype=new Vm; +mi.prototype.constructor=mi;mi.prototype.lb=function(){return n(ki)};mi.prototype.kb=function(a){return new r(a)};mi.prototype.$classData=w({uj:0},!1,"scala.reflect.ManifestFactory$NothingManifest$",{uj:1,Wf:1,Vf:1,b:1,Qb:1,rb:1,Cb:1,Db:1,d:1,t:1});var li;function oi(){this.Cc=0;this.ue="Null";vc();this.Cc=Ha(this)}oi.prototype=new Vm;oi.prototype.constructor=oi;oi.prototype.lb=function(){return n(zf)};oi.prototype.kb=function(a){return new r(a)}; +oi.prototype.$classData=w({vj:0},!1,"scala.reflect.ManifestFactory$NullManifest$",{vj:1,Wf:1,Vf:1,b:1,Qb:1,rb:1,Cb:1,Db:1,d:1,t:1});var ni;function ji(){this.Cc=0;this.ue="Object";vc();this.Cc=Ha(this)}ji.prototype=new Vm;ji.prototype.constructor=ji;ji.prototype.lb=function(){return n(x)};ji.prototype.kb=function(a){return new r(a)};ji.prototype.$classData=w({wj:0},!1,"scala.reflect.ManifestFactory$ObjectManifest$",{wj:1,Wf:1,Vf:1,b:1,Qb:1,rb:1,Cb:1,Db:1,d:1,t:1});var ii; +function Wh(){this.G=0;this.La="Short";this.G=Ha(this)}Wh.prototype=new Xm;Wh.prototype.constructor=Wh;Wh.prototype.$classData=w({xj:0},!1,"scala.reflect.ManifestFactory$ShortManifest$",{xj:1,pm:1,Tc:1,b:1,Qb:1,rb:1,Cb:1,Db:1,d:1,t:1});var Vh;function hi(){this.G=0;this.La="Unit";this.G=Ha(this)}hi.prototype=new Zm;hi.prototype.constructor=hi;hi.prototype.$classData=w({yj:0},!1,"scala.reflect.ManifestFactory$UnitManifest$",{yj:1,qm:1,Tc:1,b:1,Qb:1,rb:1,Cb:1,Db:1,d:1,t:1});var gi; +function dn(a,b){return a===b?!0:b&&b.$classData&&b.$classData.pa.nb&&b.Se(a)?a.Ld(b):!1}function lj(a){this.dk=a}lj.prototype=new an;lj.prototype.constructor=lj;lj.prototype.k=function(){return tj(this.dk)};lj.prototype.$classData=w({ck:0},!1,"scala.collection.View$$anon$1",{ck:1,td:1,M:1,b:1,D:1,q:1,I:1,s:1,H:1,Vc:1,d:1});function gm(a,b,c){a.De=b;a.sf=c;a.Pd=0z(A(),b.od(c.Xa,sk().jh),c.Ya)))}catch(c){throw c;}else return!1;else return!1}function gn(a,b,c){if(gg(Yg(),b)){var d=Ve(a,a.z,We(Xe(),new U(b)));5!==a.se&&6!==a.se&&d||c.Qf(b)}else throw $f(b);}function af(a,b,c,d){a.lf=c;a.re=d;a.qe=null;a.se=b;Qf(a);return a}function bf(){this.qe=this.re=this.lf=this.z=null;this.se=0}bf.prototype=new um;bf.prototype.constructor=bf; +function tm(a,b){a.qe=b;b=a.re;try{b.Af(a)}catch(d){var c=Zf(ag(),d);if(null!==c)a.lf=null,a.qe=null,a.re=null,gn(a,c,b);else throw d;}} +bf.prototype.rd=function(){var a=this.qe,b=this.lf,c=this.re;this.re=this.qe=this.lf=null;try{switch(this.se){case 0:var d=null;break;case 1:d=a instanceof Oe?new Oe(b.l(a.Ab())):a;break;case 2:if(a instanceof Oe){var f=b.l(a.Ab());f instanceof Rf?wm(f,this):vm(this,f);d=null}else d=a;break;case 3:d=We(Xe(),b.l(a));break;case 4:var g=b.l(a);g instanceof Rf?wm(g,this):vm(this,g);d=null;break;case 5:a.Ue(b);d=null;break;case 6:b.l(a);d=null;break;case 7:d=a instanceof U?We(Xe(),a.Og(b)):a;break;case 8:if(a instanceof +U){var h=b.de(a.sd,Me().$g);d=h!==Me().Uf?(h instanceof Rf?wm(h,this):vm(this,h),null):a}else d=a;break;case 9:d=a instanceof U||b.l(a.Ab())?a:Me().Zg;break;case 10:d=a instanceof Oe?new Oe(b.de(a.Ab(),Me().Xg)):a;break;default:d=new U(new Ye("BUG: encountered transformation promise with illegal type: "+this.se))}null!==d&&Ve(this,this.z,d)}catch(k){if(a=Zf(ag(),k),null!==a)gn(this,a,c);else throw k;}}; +bf.prototype.$classData=w({ij:0},!1,"scala.concurrent.impl.Promise$Transformation",{ij:1,bh:1,Ng:1,b:1,d:1,dj:1,Yi:1,Ti:1,ca:1,ah:1,Hf:1,fm:1});function hn(){}hn.prototype=new fm;hn.prototype.constructor=hn;function jn(){}e=jn.prototype=hn.prototype;e.Se=function(){return!0};e.L=function(a){return dn(this,a)};e.F=function(){return Ti(this)};e.v=function(){return Vk(this)};e.Ff=function(a){return 0<=a&&0>31;var k=g>>>31|0|g>>31<<1;for(g=(h===k?(-2147483648^c)>(-2147483648^g<<1):h>k)?g:c;fa)a=1;else a:for(var b=this,c=0;;){if(c===a){a=b.h()?0:1;break a}if(b.h()){a=-1;break a}c=1+c|0;b=b.ba()}return a};e.Ff=function(a){return Xk(this,a)};e.r=function(a){return Yk(this,a)};e.Ld=function(a){return Zk(this,a)}; +function Z(a){if(!a.ng&&!a.ng){if(a.og)throw a=new ik,H(a,"self-referential LazyList or a derivation thereof has no more elements",null),$f(a);a.og=!0;try{var b=tj(a.qh)}finally{a.og=!1}a.Yb=!0;a.qh=null;a.rh=b;a.ng=!0}return a.rh}e.h=function(){return Z(this)===Rj()};e.w=function(){return this.Yb&&this.h()?0:-1};e.C=function(){return Z(this).C()};function Ak(a){var b=a,c=a;for(b.h()||(b=Z(b).Wa());c!==b&&!b.h();){b=Z(b).Wa();if(b.h())break;b=Z(b).Wa();if(b===c)break;c=Z(c).Wa()}return a} +e.k=function(){return this.Yb&&this.h()?pf().sb:new hl(this)};e.jc=function(){return"LazyList"};e.Kc=function(a,b,c,d){Ak(this);Mn(this,a.Va,b,c,d);return a};e.v=function(){var a=new jc;kc(a);a.i="LazyList";return Mn(this,a,"(",", ",")").i};e.l=function(a){return Yk(this,a|0)};e.ie=function(a){return Xk(this,a|0)};e.eb=function(a){return 0>=a?this:this.Yb&&this.h()?sf().mg:Ck(sf(),this,a)};e.ba=function(){return Z(this).Wa()};e.Ac=function(){return sf()}; +e.$classData=w({pk:0},!1,"scala.collection.immutable.LazyList",{pk:1,rc:1,Eb:1,M:1,b:1,D:1,q:1,I:1,s:1,H:1,nb:1,Ea:1,ca:1,Fa:1,t:1,Lb:1,Sa:1,cc:1,sh:1,gg:1,hh:1,th:1,d:1});function Ik(a){this.qb=a}Ik.prototype=new wn;Ik.prototype.constructor=Ik;e=Ik.prototype;e.Se=function(a){return An(this,a)};e.yb=function(){return"IndexedSeq"};e.k=function(){return new im(new Cn(this.qb))};e.eb=function(a){return Tk(this,a)};e.C=function(){return new l(65535&(this.qb.charCodeAt(0)|0))}; +e.Ka=function(a){var b=this.qb.length|0;return b===a?0:b(d.length|0)||0>c||0>c)throw a=new bm,H(a,"Index out of Bound",null),a;b=b-0|0;for(var f=0;fK=>!!m.l(K)!==t?Fl(u,K):void 0)(b,!0,g)));return g.oc()}if(0===d)return Nd();g=new r(d);a.c.m(0,g,0,c);for(h=1+c|0;c!==d;)0!==(1<!0!==!!b.l(m)?Fl(k,m):void 0));return k.oc()}return a}e.jc=function(){return"Vector"};e.zb=function(a,b,c){return this.k().zb(a,b,c)};e.Qe=function(){return tf().xh};e.ra=function(a){return Gf(new Hf,a+" is out of bounds (min 0, max "+(-1+this.p()|0)+")")};e.C=function(){if(0===this.c.a.length)throw rj(new sj,"empty.head");return this.c.a[0]}; +e.Ue=function(a){for(var b=this.fc(),c=0;cg?-g|0:g)|0)|0,this.gc(c),a);c=1+c|0}};e.eb=function(a){var b=this.p();a=0a)a=1;else a:for(var b=this,c=0;;){if(c===a){a=b.h()?0:1;break a}if(b.h()){a=-1;break a}c=1+c|0;b=b.ba()}return a};e.jc=function(){return"List"};e.L=function(a){var b;if(a instanceof Ui)a:for(b=this;;){if(b===a){b=!0;break a}var c=b.h(),d=a.h();if(c||d||!z(A(),b.C(),a.C())){b=c&&d;break a}b=b.ba();a=a.ba()}else b=dn(this,a);return b};e.l=function(a){return Yk(this,a|0)};e.ie=function(a){return Xk(this,a|0)}; +e.eb=function(a){a:for(var b=this;;){if(0>=a||b.h())break a;a=-1+a|0;b=b.ba()}return b};e.Ac=function(){return qf()};function Un(){this.c=null}Un.prototype=new Pn;Un.prototype.constructor=Un;function Vn(){}Vn.prototype=Un.prototype;function Wn(a,b,c,d){a.f=c;a.g=d;a.c=b}function Qn(){this.f=this.c=null;this.g=0}Qn.prototype=new Vn;Qn.prototype.constructor=Qn;function Xn(){}Xn.prototype=Qn.prototype; +function Rn(a,b){for(var c=a.fc(),d=1;dh?-h|0:h)|0)|0,a.gc(d),b);d=1+d|0}}function Od(a){this.c=a}Od.prototype=new Vn;Od.prototype.constructor=Od;e=Od.prototype;e.r=function(a){if(0<=a&&athis.c.a.length)return new Od(Sd(J(),this.c,a));var b=this.c,c=J().ha,d=new r(1);d.a[0]=a;return new Pd(b,32,c,d,33)};e.Ub=function(a,b){var c=this.c;return new Od(C(D(),c,a,b))};e.Mb=function(){if(1===this.c.a.length)return Nd();var a=this.c,b=a.a.length;return new Od(C(D(),a,1,b))};e.fc=function(){return 1};e.gc=function(){return this.c};e.ba=function(){return this.Mb()}; +e.l=function(a){a|=0;if(0<=a&&a>>5|0,a=this.wb){var c=a-this.wb|0;a=c>>>5|0;c&=31;if(athis.f.a.length)return a=Sd(J(),this.f,a),new Pd(this.c,this.wb,this.ib,a,1+this.g|0);if(30>this.ib.a.length){var b=S(J(),this.ib,this.f),c=new r(1);c.a[0]=a;return new Pd(this.c,this.wb,b,c,1+this.g|0)}b=this.c;c=this.wb;var d=this.ib,f=this.wb,g=J().bb,h=this.f,k=new (y(y(x)).u)(1);k.a[0]=h;h=new r(1);h.a[0]=a;return new L(b,c,d,960+f|0,g,k,h,1+this.g|0)};e.Ub=function(a,b){a=new Md(a,b);I(a,1,this.c);I(a,2,this.ib);I(a,1,this.f);return a.oc()}; +e.Mb=function(){if(1>>5|0,b>>10|0;var c=31&(b>>>5|0);b&=31;return a=this.ab?(b=a-this.ab|0,this.ob.a[b>>>5|0].a[31&b]):this.c.a[a]}b=this.ra(a);throw null===b?null:b;}; +e.id=function(a,b){if(0<=a&&a=this.jb){var c=a-this.jb|0,d=c>>>10|0;a=31&(c>>>5|0);c&=31;if(d=this.ab)return c= +a-this.ab|0,a=c>>>5|0,c&=31,d=this.ob.e(),f=d.a[a].e(),f.a[c]=b,d.a[a]=f,new L(this.c,this.ab,d,this.jb,this.Ma,this.Na,this.f,this.g);c=this.c.e();c.a[a]=b;return new L(c,this.ab,this.ob,this.jb,this.Ma,this.Na,this.f,this.g)}b=this.ra(a);throw null===b?null:b;}; +e.Lc=function(a){if(32>this.f.a.length)return a=Sd(J(),this.f,a),new L(this.c,this.ab,this.ob,this.jb,this.Ma,this.Na,a,1+this.g|0);if(31>this.Na.a.length){var b=S(J(),this.Na,this.f),c=new r(1);c.a[0]=a;return new L(this.c,this.ab,this.ob,this.jb,this.Ma,b,c,1+this.g|0)}if(30>this.Ma.a.length){b=S(J(),this.Ma,S(J(),this.Na,this.f));c=J().ha;var d=new r(1);d.a[0]=a;return new L(this.c,this.ab,this.ob,this.jb,b,c,d,1+this.g|0)}b=this.c;c=this.ab;d=this.ob;var f=this.jb,g=this.Ma,h=this.jb,k=J().ec, +m=S(J(),this.Na,this.f),t=new (y(y(y(x))).u)(1);t.a[0]=m;m=J().ha;var u=new r(1);u.a[0]=a;return new M(b,c,d,f,g,30720+h|0,k,t,m,u,1+this.g|0)};e.Ub=function(a,b){a=new Md(a,b);I(a,1,this.c);I(a,2,this.ob);I(a,3,this.Ma);I(a,2,this.Na);I(a,1,this.f);return a.oc()};e.Mb=function(){if(1>>10|0;var c=31&(a>>>5|0);a&=31;return b=this.ab?(a=b-this.ab|0,this.ob.a[a>>>5|0].a[31&a]):this.c.a[b]}a=this.ra(b);throw null===a?null:a;}; +e.$classData=w({Wk:0},!1,"scala.collection.immutable.Vector3",{Wk:1,Fe:1,Xd:1,Wd:1,rc:1,Eb:1,M:1,b:1,D:1,q:1,I:1,s:1,H:1,nb:1,Ea:1,ca:1,Fa:1,t:1,Lb:1,Sa:1,cc:1,Fc:1,Rb:1,mb:1,Yc:1,Hc:1,Xb:1,fb:1,qc:1,d:1});function M(a,b,c,d,f,g,h,k,m,t,u){this.f=this.c=null;this.g=0;this.Ga=b;this.Ta=c;this.Oa=d;this.Ua=f;this.Pa=g;this.ta=h;this.va=k;this.ua=m;Wn(this,a,t,u)}M.prototype=new Xn;M.prototype.constructor=M;e=M.prototype; +e.r=function(a){if(0<=a&&a>>15|0;var c=31&(b>>>10|0),d=31&(b>>>5|0);b&=31;return a=this.Oa?(b=a-this.Oa|0,this.Ua.a[b>>>10|0].a[31&(b>>>5|0)].a[31&b]):a>=this.Ga?(b=a-this.Ga|0,this.Ta.a[b>>>5|0].a[31&b]):this.c.a[a]}b=this.ra(a);throw null===b?null:b;}; +e.id=function(a,b){if(0<=a&&a=this.Pa){var c=a-this.Pa|0,d=c>>>15|0,f=31&(c>>>10|0);a=31&(c>>>5|0);c&=31;if(d=this.Oa)return f=a-this.Oa|0,a=f>>>10|0,c=31&(f>>>5|0),f&=31,d=this.Ua.e(),g=d.a[a].e(),h=g.a[c].e(),h.a[f]=b,g.a[c]=h,d.a[a]=g,new M(this.c,this.Ga,this.Ta,this.Oa,d,this.Pa,this.ta,this.va,this.ua,this.f,this.g); +if(a>=this.Ga)return c=a-this.Ga|0,a=c>>>5|0,c&=31,f=this.Ta.e(),d=f.a[a].e(),d.a[c]=b,f.a[a]=d,new M(this.c,this.Ga,f,this.Oa,this.Ua,this.Pa,this.ta,this.va,this.ua,this.f,this.g);c=this.c.e();c.a[a]=b;return new M(c,this.Ga,this.Ta,this.Oa,this.Ua,this.Pa,this.ta,this.va,this.ua,this.f,this.g)}b=this.ra(a);throw null===b?null:b;}; +e.Lc=function(a){if(32>this.f.a.length)return a=Sd(J(),this.f,a),new M(this.c,this.Ga,this.Ta,this.Oa,this.Ua,this.Pa,this.ta,this.va,this.ua,a,1+this.g|0);if(31>this.ua.a.length){var b=S(J(),this.ua,this.f),c=new r(1);c.a[0]=a;return new M(this.c,this.Ga,this.Ta,this.Oa,this.Ua,this.Pa,this.ta,this.va,b,c,1+this.g|0)}if(31>this.va.a.length){b=S(J(),this.va,S(J(),this.ua,this.f));c=J().ha;var d=new r(1);d.a[0]=a;return new M(this.c,this.Ga,this.Ta,this.Oa,this.Ua,this.Pa,this.ta,b,c,d,1+this.g|0)}if(30> +this.ta.a.length){b=S(J(),this.ta,S(J(),this.va,S(J(),this.ua,this.f)));c=J().bb;d=J().ha;var f=new r(1);f.a[0]=a;return new M(this.c,this.Ga,this.Ta,this.Oa,this.Ua,this.Pa,b,c,d,f,1+this.g|0)}b=this.c;c=this.Ga;d=this.Ta;f=this.Oa;var g=this.Ua,h=this.Pa,k=this.ta,m=this.Pa,t=J().Zd,u=S(J(),this.va,S(J(),this.ua,this.f)),K=new (y(y(y(y(x)))).u)(1);K.a[0]=u;u=J().bb;var N=J().ha,R=new r(1);R.a[0]=a;return new O(b,c,d,f,g,h,k,983040+m|0,t,K,u,N,R,1+this.g|0)}; +e.Ub=function(a,b){a=new Md(a,b);I(a,1,this.c);I(a,2,this.Ta);I(a,3,this.Ua);I(a,4,this.ta);I(a,3,this.va);I(a,2,this.ua);I(a,1,this.f);return a.oc()};e.Mb=function(){if(1>>15|0;var c=31&(a>>>10|0),d=31&(a>>>5|0);a&=31;return b=this.Oa?(a=b-this.Oa|0,this.Ua.a[a>>>10|0].a[31&(a>>>5|0)].a[31&a]):b>=this.Ga?(a=b-this.Ga|0,this.Ta.a[a>>>5|0].a[31&a]):this.c.a[b]}a=this.ra(b);throw null===a?null:a;}; +e.$classData=w({Xk:0},!1,"scala.collection.immutable.Vector4",{Xk:1,Fe:1,Xd:1,Wd:1,rc:1,Eb:1,M:1,b:1,D:1,q:1,I:1,s:1,H:1,nb:1,Ea:1,ca:1,Fa:1,t:1,Lb:1,Sa:1,cc:1,Fc:1,Rb:1,mb:1,Yc:1,Hc:1,Xb:1,fb:1,qc:1,d:1});function O(a,b,c,d,f,g,h,k,m,t,u,K,N,R){this.f=this.c=null;this.g=0;this.ja=b;this.Ba=c;this.wa=d;this.Ca=f;this.xa=g;this.Da=h;this.ya=k;this.W=m;this.Z=t;this.Y=u;this.X=K;Wn(this,a,N,R)}O.prototype=new Xn;O.prototype.constructor=O;e=O.prototype; +e.r=function(a){if(0<=a&&a>>20|0;var c=31&(b>>>15|0),d=31&(b>>>10|0),f=31&(b>>>5|0);b&=31;return a=this.xa?(b=a-this.xa|0,this.Da.a[b>>>15|0].a[31&(b>>>10|0)].a[31&(b>>>5|0)].a[31&b]):a>=this.wa?(b=a-this.wa|0,this.Ca.a[b>>>10|0].a[31&(b>>>5|0)].a[31&b]):a>=this.ja?(b=a- +this.ja|0,this.Ba.a[b>>>5|0].a[31&b]):this.c.a[a]}b=this.ra(a);throw null===b?null:b;}; +e.id=function(a,b){if(0<=a&&a=this.ya){var c=a-this.ya|0,d=c>>>20|0,f=31&(c>>>15|0),g=31&(c>>>10|0);a=31&(c>>>5|0);c&=31;if(d=this.xa)return f=a-this.xa|0,a=f>>>15|0,c=31&(f>>>10|0),g=31&(f>>>5|0),f&=31,d=this.Da.e(),h=d.a[a].e(),k=h.a[c].e(),m=k.a[g].e(),m.a[f]=b,k.a[g]=m,h.a[c]=k,d.a[a]=h,new O(this.c,this.ja,this.Ba,this.wa,this.Ca,this.xa,d,this.ya,this.W,this.Z,this.Y,this.X,this.f,this.g);if(a>=this.wa)return g=a-this.wa|0,a=g>>>10|0,c=31&(g>>>5|0),g&=31,f=this.Ca.e(),d=f.a[a].e(),h=d.a[c].e(), +h.a[g]=b,d.a[c]=h,f.a[a]=d,new O(this.c,this.ja,this.Ba,this.wa,f,this.xa,this.Da,this.ya,this.W,this.Z,this.Y,this.X,this.f,this.g);if(a>=this.ja)return c=a-this.ja|0,a=c>>>5|0,c&=31,g=this.Ba.e(),f=g.a[a].e(),f.a[c]=b,g.a[a]=f,new O(this.c,this.ja,g,this.wa,this.Ca,this.xa,this.Da,this.ya,this.W,this.Z,this.Y,this.X,this.f,this.g);c=this.c.e();c.a[a]=b;return new O(c,this.ja,this.Ba,this.wa,this.Ca,this.xa,this.Da,this.ya,this.W,this.Z,this.Y,this.X,this.f,this.g)}b=this.ra(a);throw null===b?null: +b;}; +e.Lc=function(a){if(32>this.f.a.length)return a=Sd(J(),this.f,a),new O(this.c,this.ja,this.Ba,this.wa,this.Ca,this.xa,this.Da,this.ya,this.W,this.Z,this.Y,this.X,a,1+this.g|0);if(31>this.X.a.length){var b=S(J(),this.X,this.f),c=new r(1);c.a[0]=a;return new O(this.c,this.ja,this.Ba,this.wa,this.Ca,this.xa,this.Da,this.ya,this.W,this.Z,this.Y,b,c,1+this.g|0)}if(31>this.Y.a.length){b=S(J(),this.Y,S(J(),this.X,this.f));c=J().ha;var d=new r(1);d.a[0]=a;return new O(this.c,this.ja,this.Ba,this.wa,this.Ca,this.xa, +this.Da,this.ya,this.W,this.Z,b,c,d,1+this.g|0)}if(31>this.Z.a.length){b=S(J(),this.Z,S(J(),this.Y,S(J(),this.X,this.f)));c=J().bb;d=J().ha;var f=new r(1);f.a[0]=a;return new O(this.c,this.ja,this.Ba,this.wa,this.Ca,this.xa,this.Da,this.ya,this.W,b,c,d,f,1+this.g|0)}if(30>this.W.a.length){b=S(J(),this.W,S(J(),this.Z,S(J(),this.Y,S(J(),this.X,this.f))));c=J().ec;d=J().bb;f=J().ha;var g=new r(1);g.a[0]=a;return new O(this.c,this.ja,this.Ba,this.wa,this.Ca,this.xa,this.Da,this.ya,b,c,d,f,g,1+this.g| +0)}b=this.c;c=this.ja;d=this.Ba;f=this.wa;g=this.Ca;var h=this.xa,k=this.Da,m=this.ya,t=this.W,u=this.ya,K=J().tg,N=S(J(),this.Z,S(J(),this.Y,S(J(),this.X,this.f))),R=new (y(y(y(y(y(x))))).u)(1);R.a[0]=N;N=J().ec;var La=J().bb,ca=J().ha,Xa=new r(1);Xa.a[0]=a;return new P(b,c,d,f,g,h,k,m,t,31457280+u|0,K,R,N,La,ca,Xa,1+this.g|0)};e.Ub=function(a,b){a=new Md(a,b);I(a,1,this.c);I(a,2,this.Ba);I(a,3,this.Ca);I(a,4,this.Da);I(a,5,this.W);I(a,4,this.Z);I(a,3,this.Y);I(a,2,this.X);I(a,1,this.f);return a.oc()}; +e.Mb=function(){if(1>>20|0;var c=31&(a>>>15|0),d=31&(a>>>10|0),f=31&(a>>>5|0);a&=31;return b=this.xa?(a=b-this.xa|0,this.Da.a[a>>>15|0].a[31&(a>>>10|0)].a[31&(a>>>5|0)].a[31&a]):b>=this.wa?(a=b-this.wa|0,this.Ca.a[a>>>10|0].a[31&(a>>>5|0)].a[31&a]):b>=this.ja? +(a=b-this.ja|0,this.Ba.a[a>>>5|0].a[31&a]):this.c.a[b]}a=this.ra(b);throw null===a?null:a;};e.$classData=w({Yk:0},!1,"scala.collection.immutable.Vector5",{Yk:1,Fe:1,Xd:1,Wd:1,rc:1,Eb:1,M:1,b:1,D:1,q:1,I:1,s:1,H:1,nb:1,Ea:1,ca:1,Fa:1,t:1,Lb:1,Sa:1,cc:1,Fc:1,Rb:1,mb:1,Yc:1,Hc:1,Xb:1,fb:1,qc:1,d:1}); +function P(a,b,c,d,f,g,h,k,m,t,u,K,N,R,La,ca,Xa){this.f=this.c=null;this.g=0;this.$=b;this.la=c;this.da=d;this.ma=f;this.ea=g;this.na=h;this.fa=k;this.oa=m;this.ka=t;this.N=u;this.S=K;this.R=N;this.Q=R;this.P=La;Wn(this,a,ca,Xa)}P.prototype=new Xn;P.prototype.constructor=P;e=P.prototype; +e.r=function(a){if(0<=a&&a>>25|0;var c=31&(b>>>20|0),d=31&(b>>>15|0),f=31&(b>>>10|0),g=31&(b>>>5|0);b&=31;return a=this.fa?(b=a-this.fa|0,this.oa.a[b>>>20|0].a[31&(b>>>15|0)].a[31&(b>>>10|0)].a[31&(b>>>5|0)].a[31&b]): +a>=this.ea?(b=a-this.ea|0,this.na.a[b>>>15|0].a[31&(b>>>10|0)].a[31&(b>>>5|0)].a[31&b]):a>=this.da?(b=a-this.da|0,this.ma.a[b>>>10|0].a[31&(b>>>5|0)].a[31&b]):a>=this.$?(b=a-this.$|0,this.la.a[b>>>5|0].a[31&b]):this.c.a[a]}b=this.ra(a);throw null===b?null:b;}; +e.id=function(a,b){if(0<=a&&a=this.ka){var c=a-this.ka|0,d=c>>>25|0,f=31&(c>>>20|0),g=31&(c>>>15|0),h=31&(c>>>10|0);a=31&(c>>>5|0);c&=31;if(d=this.fa)return f=a-this.fa|0,a=f>>>20|0,c=31&(f>>>15|0),h=31&(f>>>10|0),g=31&(f>>>5|0),f&=31,d=this.oa.e(),k=d.a[a].e(),m=k.a[c].e(),t=m.a[h].e(),u=t.a[g].e(),u.a[f]=b,t.a[g]=u,m.a[h]=t,k.a[c]=m,d.a[a]=k,new P(this.c,this.$,this.la,this.da,this.ma,this.ea,this.na,this.fa,d,this.ka,this.N,this.S,this.R,this.Q,this.P,this.f,this.g);if(a>=this.ea)return g=a-this.ea|0,a=g>>>15|0,c=31&(g>>>10|0),h=31&(g>>>5|0),g&=31,f=this.na.e(),d=f.a[a].e(),k=d.a[c].e(),m=k.a[h].e(),m.a[g]= +b,k.a[h]=m,d.a[c]=k,f.a[a]=d,new P(this.c,this.$,this.la,this.da,this.ma,this.ea,f,this.fa,this.oa,this.ka,this.N,this.S,this.R,this.Q,this.P,this.f,this.g);if(a>=this.da)return h=a-this.da|0,a=h>>>10|0,c=31&(h>>>5|0),h&=31,g=this.ma.e(),f=g.a[a].e(),d=f.a[c].e(),d.a[h]=b,f.a[c]=d,g.a[a]=f,new P(this.c,this.$,this.la,this.da,g,this.ea,this.na,this.fa,this.oa,this.ka,this.N,this.S,this.R,this.Q,this.P,this.f,this.g);if(a>=this.$)return c=a-this.$|0,a=c>>>5|0,c&=31,h=this.la.e(),g=h.a[a].e(),g.a[c]= +b,h.a[a]=g,new P(this.c,this.$,h,this.da,this.ma,this.ea,this.na,this.fa,this.oa,this.ka,this.N,this.S,this.R,this.Q,this.P,this.f,this.g);c=this.c.e();c.a[a]=b;return new P(c,this.$,this.la,this.da,this.ma,this.ea,this.na,this.fa,this.oa,this.ka,this.N,this.S,this.R,this.Q,this.P,this.f,this.g)}b=this.ra(a);throw null===b?null:b;}; +e.Lc=function(a){if(32>this.f.a.length)return a=Sd(J(),this.f,a),new P(this.c,this.$,this.la,this.da,this.ma,this.ea,this.na,this.fa,this.oa,this.ka,this.N,this.S,this.R,this.Q,this.P,a,1+this.g|0);if(31>this.P.a.length){var b=S(J(),this.P,this.f),c=new r(1);c.a[0]=a;return new P(this.c,this.$,this.la,this.da,this.ma,this.ea,this.na,this.fa,this.oa,this.ka,this.N,this.S,this.R,this.Q,b,c,1+this.g|0)}if(31>this.Q.a.length){b=S(J(),this.Q,S(J(),this.P,this.f));c=J().ha;var d=new r(1);d.a[0]=a;return new P(this.c, +this.$,this.la,this.da,this.ma,this.ea,this.na,this.fa,this.oa,this.ka,this.N,this.S,this.R,b,c,d,1+this.g|0)}if(31>this.R.a.length){b=S(J(),this.R,S(J(),this.Q,S(J(),this.P,this.f)));c=J().bb;d=J().ha;var f=new r(1);f.a[0]=a;return new P(this.c,this.$,this.la,this.da,this.ma,this.ea,this.na,this.fa,this.oa,this.ka,this.N,this.S,b,c,d,f,1+this.g|0)}if(31>this.S.a.length){b=S(J(),this.S,S(J(),this.R,S(J(),this.Q,S(J(),this.P,this.f))));c=J().ec;d=J().bb;f=J().ha;var g=new r(1);g.a[0]=a;return new P(this.c, +this.$,this.la,this.da,this.ma,this.ea,this.na,this.fa,this.oa,this.ka,this.N,b,c,d,f,g,1+this.g|0)}if(62>this.N.a.length){b=S(J(),this.N,S(J(),this.S,S(J(),this.R,S(J(),this.Q,S(J(),this.P,this.f)))));c=J().Zd;d=J().ec;f=J().bb;g=J().ha;var h=new r(1);h.a[0]=a;return new P(this.c,this.$,this.la,this.da,this.ma,this.ea,this.na,this.fa,this.oa,this.ka,b,c,d,f,g,h,1+this.g|0)}a=new Nk;H(a,null,null);throw a;}; +e.Ub=function(a,b){a=new Md(a,b);I(a,1,this.c);I(a,2,this.la);I(a,3,this.ma);I(a,4,this.na);I(a,5,this.oa);I(a,6,this.N);I(a,5,this.S);I(a,4,this.R);I(a,3,this.Q);I(a,2,this.P);I(a,1,this.f);return a.oc()};e.Mb=function(){if(1>>25|0;var c=31&(a>>>20|0),d=31&(a>>>15|0),f=31&(a>>>10|0),g=31&(a>>>5|0);a&=31;return b=this.fa?(a=b-this.fa|0,this.oa.a[a>>>20|0].a[31&(a>>>15|0)].a[31&(a>>>10|0)].a[31&(a>>>5|0)].a[31& +a]):b>=this.ea?(a=b-this.ea|0,this.na.a[a>>>15|0].a[31&(a>>>10|0)].a[31&(a>>>5|0)].a[31&a]):b>=this.da?(a=b-this.da|0,this.ma.a[a>>>10|0].a[31&(a>>>5|0)].a[31&a]):b>=this.$?(a=b-this.$|0,this.la.a[a>>>5|0].a[31&a]):this.c.a[b]}a=this.ra(b);throw null===a?null:a;};e.$classData=w({Zk:0},!1,"scala.collection.immutable.Vector6",{Zk:1,Fe:1,Xd:1,Wd:1,rc:1,Eb:1,M:1,b:1,D:1,q:1,I:1,s:1,H:1,nb:1,Ea:1,ca:1,Fa:1,t:1,Lb:1,Sa:1,cc:1,Fc:1,Rb:1,mb:1,Yc:1,Hc:1,Xb:1,fb:1,qc:1,d:1}); +function $c(){var a=new fo;a.Va=kc(new jc);return a}function fo(){this.Va=null}fo.prototype=new En;fo.prototype.constructor=fo;e=fo.prototype;e.yb=function(){return"IndexedSeq"};e.k=function(){var a=new un(this);return new im(a)};e.eb=function(a){return Tk(this,a)};e.C=function(){return new l(jk(this.Va,0))};e.Ka=function(a){var b=this.Va.p();return b===a?0:ba)throw Gf(new Hf,a+" is out of bounds (min 0, max "+(-1+this.U|0)+")");if(b>this.U)throw Gf(new Hf,(-1+b|0)+" is out of bounds (min 0, max "+(-1+this.U|0)+")");return this.Tb.a[a]};e.p=function(){return this.U};function Jl(a,b){if(b instanceof Il){var c=a.U+b.U|0;a.Tb=Kl(Ml(),a.Tb,a.U,c);Ch(Eh(),b.Tb,0,a.Tb,a.U,b.U);a.U=a.U+b.U|0}else Oh(a,b);return a}e.yb=function(){return"ArrayBuffer"}; +e.zb=function(a,b,c){var d=this.U,f=Ub(Xb(),a);c=cb)throw Gf(new Hf,b+" is out of bounds (min 0, max "+(-1+this.U|0)+")");if(c>this.U)throw Gf(new Hf,(-1+c|0)+" is out of bounds (min 0, max "+(-1+this.U|0)+")");this.Tb.a[b]=a};e.Ac=function(){return Ml()}; +e.l=function(a){return this.r(a|0)};e.$classData=w({fl:0},!1,"scala.collection.mutable.ArrayBuffer",{fl:1,el:1,Bh:1,Eb:1,M:1,b:1,D:1,q:1,I:1,s:1,H:1,nb:1,Ea:1,ca:1,Fa:1,t:1,Hh:1,Gh:1,Ih:1,Dh:1,je:1,jl:1,ae:1,$d:1,ol:1,ml:1,Eh:1,Rb:1,mb:1,Fh:1,Xb:1,fb:1,qc:1,d:1});function Xl(a){a.Ic=[];return a}function Wl(){this.Ic=null}Wl.prototype=new On;Wl.prototype.constructor=Wl;e=Wl.prototype;e.yb=function(){return"IndexedSeq"};e.k=function(){var a=new un(this);return new im(a)}; +e.eb=function(a){return Tk(this,a)};e.C=function(){return this.Ic[0]};e.Ka=function(a){var b=this.Ic.length|0;return b===a?0:b Date: Wed, 29 Mar 2023 05:08:15 +0000 Subject: [PATCH 2/2] Tweaking for jekyll --- readme.md => index.md | 7 ++++--- readme.md.js => index.md.js | 0 2 files changed, 4 insertions(+), 3 deletions(-) rename readme.md => index.md (98%) rename readme.md.js => index.md.js (100%) diff --git a/readme.md b/index.md similarity index 98% rename from readme.md rename to index.md index d0e2f4298..c14792f9f 100644 --- a/readme.md +++ b/index.md @@ -1,5 +1,6 @@ -## scala-js-dom - +--- +layout: doc +title: scala-js-dom --- #### Statically typed DOM API for Scala.js @@ -179,6 +180,6 @@ def encodeBase64(in: html.Input, out: html.Div) = { The DOM API is always evolving, and `scala-js-dom` tries to provide a thin-but-idiomatic Scala interface to modern browser APIs, without breaking the spec. If you see something that you think can be improved, feel free to send a pull request. See our [Contributing Guide](https://github.com/scala-js/scala-js-dom/blob/main/CONTRIBUTING.md) for a detailed overview for starting hacking on `scala-js-dom` and making a PR! - + diff --git a/readme.md.js b/index.md.js similarity index 100% rename from readme.md.js rename to index.md.js