From bc06fb2b72b5fd5f2160b46413d0e900b0d41323 Mon Sep 17 00:00:00 2001 From: JakeWharton Date: Wed, 11 Dec 2024 22:45:43 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20site=20from=20=20@=20c9d4e5a5e?= =?UTF-8?q?55704a2ba5af91eb3e50b41b372f9ec=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- latest/counter/counter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latest/counter/counter.js b/latest/counter/counter.js index 9c36cdae68..dec16cf0d2 100644 --- a/latest/counter/counter.js +++ b/latest/counter/counter.js @@ -1,2 +1,2 @@ -!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.counter=r():t.counter=r()}(globalThis,(()=>(()=>{"use strict";var t,r;void 0===Math.imul&&(Math.imul=function(t,r){return(4294901760&t)*(65535&r)+(65535&t)*(0|r)|0}),void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(t){return null!=t&&null!=t.__proto__&&t.__proto__.__proto__===Int8Array.prototype.__proto__}),void 0===Array.prototype.fill&&Object.defineProperty(Array.prototype,"fill",{value:function(t){if(null==this)throw new TypeError("this is null or not defined");for(var r=Object(this),n=r.length>>>0,i=0|arguments[1],e=i<0?Math.max(n+i,0):Math.min(i,n),s=arguments[2],a=void 0===s?n:0|s,l=a<0?Math.max(n+a,0):Math.min(a,n);e>>0;return 0===i?32:31-(t(i)/r|0)|0}));var n,i,e,s,a,l,u,h,_,o,f,c,v,w,d,p,m,g,y,b,k,x,j,q,z,S,C,A,$,E,I,M,N,L,P,O,D,R,T,H,U,F,B,K,G,V,W,J,Y,Z,Q,X,tt,rt,nt,it=Math.imul,et=ArrayBuffer.isView,st=Math.clz32;class at{}class lt{}class ut{}class ht{}class _t{}class ot{}class ft{}class ct{}class vt{}class wt{}class dt{}class pt{}class mt{constructor(t,r){this.i2_1=t,this.j2_1=r}k2(t){return _i(this.j2_1,t.j2_1)}l2(t){return this.k2(t instanceof mt?t:Si())}equals(t){return this===t}hashCode(){return ci(this)}toString(){return this.i2_1}}class gt{constructor(){n=this,this.m2_1=new yt(0,-2147483648),this.n2_1=new yt(-1,2147483647),this.o2_1=8,this.p2_1=64}}class yt extends lt{constructor(t,r){n===b&&new gt,super(),this.i1_1=t,this.j1_1=r}k1(t){return Ni(this,t)}l2(t){return this.k1(t instanceof yt?t:Si())}q2(t){return Li(this,t)}r2(t){return Pi(this,t)}s2(t){return Oi(this,t)}t2(t){return function(t,r){if(Qi(),Ki(r))throw _r.e4("division by zero");if(Ki(t))return Ai();if(Ui(t,Ii())){if(Ui(r,$i())||Ui(r,Ei()))return Ii();if(Ui(r,Ii()))return $i();var n=Di(Ri(t,1).t2(r),1);return Ui(n,Ai())?Bi(r)?$i():Ei():Li(n,Pi(t,Oi(r,n)).t2(r))}if(Ui(r,Ii()))return Ai();if(Bi(t))return Bi(r)?Vi(t).t2(Vi(r)):Vi(Vi(t).t2(r));if(Bi(r))return Vi(t.t2(Vi(r)));for(var i=Ai(),e=t;Zi(e,r);){for(var s=Ti(e)/Ti(r),a=Math.max(1,Math.floor(s)),l=Math.ceil(Math.log(a)/Math.LN2),u=l<=48?1:Math.pow(2,l-48),h=Ji(a),_=Oi(h,r);Bi(_)||Yi(_,e);)_=Oi(h=Ji(a-=u),r);Ki(h)&&(h=$i()),i=Li(i,h),e=Pi(e,_)}return i}(this,t)}u2(){return this.q2(new yt(1,0))}v2(){return this.w2().q2(new yt(1,0))}x2(t){return Di(this,t)}y2(t){return Ri(this,t)}z2(t){return function(t,r){Qi();var n=63&r;return 0===n?t:n<32?new yt(t.i1_1>>>n|t.j1_1<<32-n,t.j1_1>>>n|0):new yt(32===n?t.j1_1:t.j1_1>>>(n-32|0)|0,0)}(this,t)}a3(t){return new yt(this.i1_1&t.i1_1,this.j1_1&t.j1_1)}b3(t){return new yt(this.i1_1|t.i1_1,this.j1_1|t.j1_1)}c3(t){return new yt(this.i1_1^t.i1_1,this.j1_1^t.j1_1)}w2(){return new yt(~this.i1_1,~this.j1_1)}d3(){return this.i1_1}e3(){return Ti(this)}toString(){return Hi(this,10)}equals(t){return t instanceof yt&&Ui(this,t)}hashCode(){return this,Qi(),this.i1_1^this.j1_1}valueOf(){return this.e3()}}class bt{}class kt{constructor(t){this.h3_1=t,this.g3_1=0}m(){return!(this.g3_1===this.h3_1.length)}n(){if(this.g3_1===this.h3_1.length)throw dr.w(""+this.g3_1);var t=this.g3_1;return this.g3_1=t+1|0,this.h3_1[t]}}class xt{}class jt{toString(){return"kotlin.Unit"}}class qt{static i4(t){return xi(this,t)}o(t){var r;t:if(pe(this,ht)&&this.x())r=!1;else{for(var n=this.l();n.m();)if(wi(n.n(),t)){r=!0;break t}r=!1}return r}p1(t){var r;t:if(pe(t,ht)&&t.x())r=!0;else{for(var n=t.l();n.m();){var i=n.n();if(!this.o(i)){r=!1;break t}}r=!0}return r}x(){return 0===this.p()}toString(){return On(this,", ","[","]",b,b,(t=>t===this?"(this Collection)":Wn(t)))}toArray(){return Fe(this)}}class zt extends qt{static h4(){return this.i4()}q1(t){this.j4();for(var r=this.l();r.m();)if(wi(r.n(),t))return r.k4(),!0;return!1}r(t){this.j4();for(var r=!1,n=t.l();n.m();){var i=n.n();this.h(i)&&(r=!0)}return r}s1(){this.j4();for(var t=this.l();t.m();)t.n(),t.k4()}toJSON(){return this.toArray()}j4(){}}class St{constructor(t,r){ji(this,r),this.n4_1=t,this.l4_1=0,this.m4_1=-1}m(){return this.l4_1=0}a1(t){var r;t:{for(var n=0,i=this.l();i.m();){if(wi(i.n(),t)){r=n;break t}n=n+1|0}r=-1}return r}w1(t){return new Ct(this,t)}o1(t,r){return $t.z4(this,t,r)}c5(t,r){var n=this.w1(t),i=r-t|0,e=0;if(e{return za(this,(r=t).x1())+"="+za(this,r.y1());var r}))}}class It extends Et{static j5(){var t=this.m5();return t.h5_1=null,t.i5_1=null,t}n5(){return Ut.p5(this)}q5(){return Bt.s5(this)}c2(){var t,r=this.h5_1;if(null==r){var n=this.n5();this.h5_1=n,t=n}else t=r;return t}h2(){var t,r=this.i5_1;if(null==r){var n=this.q5();this.i5_1=n,t=n}else t=r;return t}s1(){this.d2().s1()}g2(t){this.j4();for(var r=t.d2().l();r.m();){var n=r.n(),i=n.x1(),e=n.y1();this.e2(i,e)}}f2(t){this.j4();for(var r=this.d2().l();r.m();){var n=r.n();if(wi(t,n.x1())){var i=n.y1();return r.k4(),i}}return null}j4(){}}class Mt extends zt{static u5(){return this.h4()}equals(t){return t===this||!(null==t||!pe(t,dt))&&R.v5(this,t)}hashCode(){return R.w5(this)}}class Nt{constructor(){x=this;var t=Lt.q(0);t.f_1=!0,this.x5_1=t}}class Lt extends At{static y5(t){Xe();var r=this.a5();return r.e_1=t,r.f_1=!1,r}static b1(){return Xe(),this.y5([])}static q(t){Xe();var r=this.y5([]);if(!(t>=0)){var n="Negative initial capacity: "+t;throw vr.h1(pi(n))}return r}static g(t){Xe();var r=We(t);return this.y5(r)}p(){return this.e_1.length}s(t){var r=this.e_1[rs(this,t)];return null==r||null!=r?r:Si()}t1(t,r){this.j4(),rs(this,t);var n=this.e_1[t];return this.e_1[t]=r,null==n||null!=n?n:Si()}h(t){return this.j4(),this.e_1.push(t),this.p4_1=this.p4_1+1|0,!0}u1(t,r){this.j4(),this.e_1.splice(ns(this,t),0,r),this.p4_1=this.p4_1+1|0}r(t){if(this.j4(),t.x())return!1;for(var r=ts(this,t.p()),n=0,i=t.l();i.m();){var e=i.n(),s=n;n=s+1|0;var a=Ve(s);this.e_1[r+a|0]=e}return this.p4_1=this.p4_1+1|0,!0}r1(t,r){if(this.j4(),ns(this,t),t===this.p())return this.r(r);if(r.x())return!1;var n=this.e_1.splice(t);this.r(r);var i=ts(this,n.length),e=n.length,s=0;if(s1&&r.k(n),!(s<0||u<=s))break t;hl(r,o,l)}return s>=0&&u>s&&r.k(a),r.k(e),r}(t,Or.j(),r,n,i,e,s,a).toString();var t,r,n,i,e,s,a}z5(){return[].slice.call(this.e_1)}toArray(){return this.z5()}j4(){if(this.f_1)throw wr.d6()}}class Pt extends It{static k6(t){var r=this.j5();return r.j6_1=null,r.i6_1=t,r}static l6(){return this.k6(Xt.w6())}static x6(t,r){return this.k6(Xt.y6(t,r))}static z6(t){return this.x6(t,1)}static a7(t){return this.k6(Xt.b7(t))}s1(){this.i6_1.s1()}z1(t){return this.i6_1.c7(t)}a2(t){return this.i6_1.a2(t)}n5(){return Ot.e7(this.i6_1)}q5(){return Dt.g7(this.i6_1)}d2(){var t,r=this.j6_1;if(null==r){var n=Tt.i7(this.i6_1);this.j6_1=n,t=n}else t=r;return t}b2(t){return this.i6_1.b2(t)}e2(t,r){return this.i6_1.e2(t,r)}f2(t){return this.i6_1.f2(t)}p(){return this.i6_1.p()}g2(t){return this.i6_1.g2(t)}}class Ot extends Mt{static e7(t){var r=this.u5();return r.d7_1=t,r}p(){return this.d7_1.p()}x(){return 0===this.d7_1.p()}o(t){return this.d7_1.c7(t)}s1(){return this.d7_1.s1()}h(t){throw wr.d6()}r(t){throw wr.d6()}q1(t){return this.d7_1.j7(t)}l(){return this.d7_1.k7()}j4(){return this.d7_1.l7()}}class Dt extends zt{static g7(t){var r=this.h4();return r.f7_1=t,r}p(){return this.f7_1.p()}x(){return 0===this.f7_1.p()}m7(t){return this.f7_1.a2(t)}o(t){return(null==t||null!=t)&&this.m7(null==t||null!=t?t:Si())}n7(t){throw wr.d6()}h(t){return this.n7(null==t||null!=t?t:Si())}o7(t){throw wr.d6()}r(t){return this.o7(t)}l(){return this.f7_1.p7()}q7(t){return this.f7_1.r7(t)}q1(t){return(null==t||null!=t)&&this.q7(null==t||null!=t?t:Si())}j4(){return this.f7_1.l7()}}class Rt extends Mt{static t7(t){var r=this.u5();return r.s7_1=t,r}p(){return this.s7_1.p()}x(){return 0===this.s7_1.p()}v7(t){return this.s7_1.y7(t)}o(t){return!(null==t||!pe(t,ft))&&this.v7(null!=t&&pe(t,ft)?t:Si())}s1(){return this.s7_1.s1()}w7(t){throw wr.d6()}h(t){return this.w7(null!=t&&pe(t,ft)?t:Si())}r(t){throw wr.d6()}x7(t){return this.s7_1.z7(t)}q1(t){return!(null==t||!pe(t,ft))&&this.x7(null!=t&&pe(t,ft)?t:Si())}p1(t){return this.s7_1.a8(t)}j4(){return this.s7_1.l7()}}class Tt extends Rt{static i7(t){return this.t7(t)}l(){return this.s7_1.u7()}}class Ht{constructor(t){this.b8_1=t}m(){return this.b8_1.m()}n(){return this.b8_1.n().x1()}k4(){return this.b8_1.k4()}}class Ut extends Mt{static p5(t){var r=this.u5();return r.o5_1=t,r}c8(t){throw wr.d8("Add is not supported on keys")}h(t){return this.c8(null==t||null!=t?t:Si())}s1(){return this.o5_1.s1()}c7(t){return this.o5_1.z1(t)}o(t){return(null==t||null!=t)&&this.c7(null==t||null!=t?t:Si())}l(){var t=this.o5_1.d2().l();return new Ht(t)}f2(t){return this.j4(),!!this.o5_1.z1(t)&&(this.o5_1.f2(t),!0)}q1(t){return(null==t||null!=t)&&this.f2(null==t||null!=t?t:Si())}p(){return this.o5_1.p()}j4(){return this.o5_1.j4()}}class Ft{constructor(t){this.e8_1=t}m(){return this.e8_1.m()}n(){return this.e8_1.n().y1()}k4(){return this.e8_1.k4()}}class Bt extends zt{static s5(t){var r=this.h4();return r.r5_1=t,r}n7(t){throw wr.d8("Add is not supported on values")}h(t){return this.n7(null==t||null!=t?t:Si())}m7(t){return this.r5_1.a2(t)}o(t){return(null==t||null!=t)&&this.m7(null==t||null!=t?t:Si())}l(){var t=this.r5_1.d2().l();return new Ft(t)}p(){return this.r5_1.p()}j4(){return this.r5_1.j4()}}class Kt extends Mt{static f8(t){var r=this.u5();return r.y_1=t,r}static g8(){return this.f8(Xt.w6())}static h8(t,r){return this.f8(Xt.y6(t,r))}static z(t){return this.h8(t,1)}h(t){return null==this.y_1.e2(t,!0)}s1(){this.y_1.s1()}o(t){return this.y_1.c7(t)}x(){return 0===this.y_1.p()}l(){return this.y_1.k7()}q1(t){return!(null==this.y_1.f2(t))}p(){return this.y_1.p()}}class Gt{constructor(){this.t8_1=-1640531527,this.u8_1=8,this.v8_1=2,this.w8_1=-1}}class Vt{constructor(t){this.x8_1=t,this.y8_1=0,this.z8_1=-1,this.a9_1=this.x8_1.t6_1,this.b9()}b9(){for(;this.y8_1=this.x8_1.r6_1)throw dr.o4();var t=this.y8_1;this.y8_1=t+1|0,this.z8_1=t;var r=this.x8_1.m6_1[this.z8_1];return this.b9(),r}}class Jt extends Vt{n(){if(this.c9(),this.y8_1>=this.x8_1.r6_1)throw dr.o4();var t=this.y8_1;this.y8_1=t+1|0,this.z8_1=t;var r=zi(this.x8_1.n6_1)[this.z8_1];return this.b9(),r}}class Yt extends Vt{n(){if(this.c9(),this.y8_1>=this.x8_1.r6_1)throw dr.o4();var t=this.y8_1;this.y8_1=t+1|0,this.z8_1=t;var r=new Zt(this.x8_1,this.z8_1);return this.b9(),r}q9(){if(this.y8_1>=this.x8_1.r6_1)throw dr.o4();var t=this.y8_1;this.y8_1=t+1|0,this.z8_1=t;var r=this.x8_1.m6_1[this.z8_1],n=null==r?null:di(r),i=null==n?0:n,e=zi(this.x8_1.n6_1)[this.z8_1],s=null==e?null:di(e),a=i^(null==s?0:s);return this.b9(),a}r9(t){if(this.y8_1>=this.x8_1.r6_1)throw dr.o4();var r=this.y8_1;this.y8_1=r+1|0,this.z8_1=r;var n=this.x8_1.m6_1[this.z8_1];wi(n,this.x8_1)?t.t9("(this Map)"):t.s9(n),t.u9(61);var i=zi(this.x8_1.n6_1)[this.z8_1];wi(i,this.x8_1)?t.t9("(this Map)"):t.s9(i),this.b9()}}class Zt{constructor(t,r){this.m8_1=t,this.n8_1=r,this.o8_1=this.m8_1.t6_1}x1(){return ls(this),this.m8_1.m6_1[this.n8_1]}y1(){return ls(this),zi(this.m8_1.n6_1)[this.n8_1]}equals(t){return!(null==t||!pe(t,ft)||!wi(t.x1(),this.x1()))&&wi(t.y1(),this.y1())}hashCode(){var t=this.x1(),r=null==t?null:di(t),n=null==r?0:r,i=this.y1(),e=null==i?null:di(i);return n^(null==e?0:e)}toString(){return Wn(this.x1())+"="+Wn(this.y1())}}class Qt{}class Xt{static v9(t,r,n,i,e,s){var a=xi(this);return a.m6_1=t,a.n6_1=r,a.o6_1=n,a.p6_1=i,a.q6_1=e,a.r6_1=s,a.s6_1=as(0,hs(a)),a.t6_1=0,a.u6_1=0,a.v6_1=!1,a}p(){return this.u6_1}static w6(){return this.w9(8)}static w9(t){return this.v9(Je(t),null,new Int32Array(t),new Int32Array(ss(0,t)),2,0)}static b7(t){var r=this.w9(t.p());return r.g2(t),r}static y6(t,r){var n=this.w9(t);if(!(r>0)){var i="Non-positive load factor: "+r;throw vr.h1(pi(i))}return n}a2(t){return ms(this,t)>=0}b2(t){var r=ps(this,t);return r<0?null:zi(this.n6_1)[r]}c7(t){return ps(this,t)>=0}e2(t,r){var n=gs(this,t),i=fs(this);if(n<0){var e=i[(0|-n)-1|0];return i[(0|-n)-1|0]=r,e}return i[n]=r,null}g2(t){this.l7(),function(t,r){if(r.x())return!1;os(t,r.p());for(var n=r.l();n.m();)bs(t,n.n())&&!0}(this,t.d2())}f2(t){this.l7();var r=ps(this,t);if(r<0)return null;var n=zi(this.n6_1)[r];return ys(this,r),n}s1(){this.l7();var t=0,r=this.r6_1-1|0;if(t<=r)do{var n=t;t=t+1|0;var i=this.o6_1[n];i>=0&&(this.p6_1[i]=0,this.o6_1[n]=-1)}while(n!==r);Ye(this.m6_1,0,this.r6_1);var e=this.n6_1;null==e||Ye(e,0,this.r6_1),this.u6_1=0,this.r6_1=0,_s(this)}equals(t){var r,n;return t===this?r=!0:(n=!(null==t||!pe(t,ct))&&function(t,r){return t.u6_1===r.p()&&t.a8(r.d2())}(this,t),r=n),r}hashCode(){for(var t=0,r=this.u7();r.m();)t=t+r.q9()|0;return t}toString(){var t=Or.x9(2+it(this.u6_1,3)|0);t.t9("{");for(var r=0,n=this.u7();n.m();)r>0&&t.t9(", "),n.r9(t),r=r+1|0;return t.t9("}"),t.toString()}l7(){if(this.v6_1)throw wr.d6()}j7(t){this.l7();var r=ps(this,t);return!(r<0||(ys(this,r),0))}y7(t){var r=ps(this,t.x1());return!(r<0)&&wi(zi(this.n6_1)[r],t.y1())}y9(t){return this.y7(pe(t,ft)?t:Si())}z7(t){this.l7();var r=ps(this,t.x1());return!(r<0||!wi(zi(this.n6_1)[r],t.y1())||(ys(this,r),0))}r7(t){this.l7();var r=ms(this,t);return!(r<0||(ys(this,r),0))}k7(){return new Wt(this)}p7(){return new Jt(this)}u7(){return new Yt(this)}}class tr extends Pt{static fa(){return this.l6()}static ga(t){return this.z6(t)}static ha(t){return this.a7(t)}j4(){return this.i6_1.l7()}}class rr extends Kt{static ja(){return this.g8()}static ka(t,r){return this.h8(t,r)}static la(t){return this.ka(t,1)}j4(){return this.y_1.l7()}}class nr{ma(){this.na("\n")}oa(t){this.na(t),this.ma()}}class ir extends nr{constructor(t){super(),this.pa_1=t}na(t){var r=null==t?null:pi(t),n=null==r?"null":r;this.pa_1.write(n)}}class er extends nr{constructor(){super(),this.ra_1=""}na(t){var r=this.ra_1,n=null==t?null:pi(t);this.ra_1=r+(null==n?"null":n)}}class sr extends er{na(t){var r=null==t?null:pi(t),n=null==r?"null":r,i=n.lastIndexOf("\n",0);if(i>=0){var e=this.ra_1;this.ra_1=e+n.substring(0,i),this.sa();var s=i+1|0;n=n.substring(s)}this.ra_1=this.ra_1+n}sa(){console.log(this.ra_1),this.ra_1=""}}class ar{ta(){throw fr.l3(pi("This continuation is already complete"))}ua(t){throw fr.l3(pi("This continuation is already complete"))}va(t){return this.ua(t)}toString(){return"This continuation is already complete"}}class lr{constructor(){this.db_1=null}fb(){var t,r=this.db_1;if(null==r){var n=this.ta().gb(K),i=null==n?null:n.hb(this),e=null==i?this:i;this.db_1=e,t=e}else t=r;return t}eb(){var t=this.db_1;null!=t&&t!==this&&zi(this.ta().gb(K)).ib(t),this.db_1=S}}class ur extends lr{constructor(t){super(),this.xa_1=t,this.ya_1=[];var r=this.xa_1;this.za_1=null==r?null:r.ta(),this.ab_1=!1,this.bb_1=Symbol(),this.cb_1=this.bb_1}ta(){return zi(this.za_1)}ua(t){if(this.bb_1===this.cb_1&&(this.cb_1=t),this.ab_1)return k;var r=this.cb_1,n=gl(r)?null:null==r||null!=r?r:Si(),i=yl(this.cb_1);this.cb_1=this.bb_1;for(var e=this;;){for(;0!==e.ya_1.length;){var s=e,a=s.ya_1[s.ya_1.length-1|0],l=i;i=null;var u=l;this.ab_1=!0;try{var h=null==u?a.next(n):a.throw(u);if(n=h.value,i=null,h.done&&js(e).pop(),this.bb_1!==this.cb_1){var _=this.cb_1;n=gl(_)?null:null==_||null!=_?_:Si(),i=yl(this.cb_1),this.cb_1=this.bb_1}else if(n===nl())return k}catch(t){if(!(t instanceof Error))throw t;i=t,js(e).pop()}finally{this.ab_1=!1}}this.eb();var o=zi(this.xa_1);if(!(o instanceof ur)){var f;if(null!=i){var c=bl(zi(i));o.va(c),f=k}else{var v=n;o.va(v),f=k}return f}e=o}}va(t){return this.ua(t)}}class hr{static lb(t,r){var n=xi(this);return n.jb_1=t,n.kb_1=r,n}static mb(t){return this.lb(t,el())}ta(){return this.jb_1.ta()}va(t){var r=this.kb_1;if(r===el())this.kb_1=t;else{if(r!==nl())throw fr.l3("Already resumed");this.kb_1=sl(),this.jb_1.va(t)}}nb(){if(this.kb_1===el())return this.kb_1=nl(),nl();var t,r=this.kb_1;if(r===sl())t=nl();else{if(r instanceof In)throw r.ob_1;t=r}return t}}class _r extends Error{static dc(){var t=xi(this);return Es(t),qi(t),t}static e4(t){var r=xi(this);return Es(r),qi(r,t),r}static ec(t,r){var n=xi(this);return Es(n),qi(n,t,r),n}}class or extends _r{static gc(){var t=this.dc();return Ls(t),t}static r8(t){var r=this.e4(t);return Ls(r),r}static hc(t,r){var n=this.ec(t,r);return Ls(n),n}}class fr extends or{static c4(){var t=this.gc();return Ms(t),t}static l3(t){var r=this.r8(t);return Ms(r),r}static wb(t,r){var n=this.hc(t,r);return Ms(n),n}}class cr extends fr{static tb(){var t=this.c4();return zs(t),t}static ub(t){var r=this.l3(t);return zs(r),r}static vb(t,r){var n=this.wb(t,r);return zs(n),n}}class vr extends or{static fc(){var t=this.gc();return Is(t),t}static h1(t){var r=this.r8(t);return Is(r),r}}class wr extends or{static d6(){var t=this.gc();return Ns(t),t}static d8(t){var r=this.r8(t);return Ns(r),r}}class dr extends or{static o4(){var t=this.gc();return Ps(t),t}static w(t){var r=this.r8(t);return Ps(r),r}}class pr extends Error{static jc(){var t=xi(this);return Os(t),qi(t),t}static kc(t){var r=xi(this);return Os(r),qi(r,t),r}static lc(t,r){var n=xi(this);return Os(n),qi(n,t,r),n}}class mr extends or{static pc(){var t=this.gc();return Ds(t),t}static qc(t){var r=this.r8(t);return Ds(r),r}}class gr extends or{static d9(){var t=this.gc();return Rs(t),t}static l8(t){var r=this.r8(t);return Rs(r),r}}class yr extends pr{static tc(){var t=this.jc();return Ts(t),t}static uc(t){var r=this.kc(t);return Ts(r),r}static vc(t){var r=null==t?null:pi(t),n=this.lc(r,t instanceof Error?t:null);return Ts(n),n}}class br extends or{static zc(){var t=this.gc();return Hs(t),t}static ad(t){var r=this.r8(t);return Hs(r),r}}class kr extends or{static p3(){var t,r=this.gc();return bi(t=r,t.o3_1),r}}class xr extends or{static t3(){var t,r=this.gc();return bi(t=r,t.s3_1),r}}class jr extends or{static x3(){var t,r=this.gc();return bi(t=r,t.w3_1),r}}class qr extends or{static bd(){var t=this.gc();return Us(t),t}static b4(t){var r=this.r8(t);return Us(r),r}}class zr{}class Sr{constructor(t){this.dd_1=t}ed(){return this.dd_1}equals(t){return!(t instanceof Cr)&&!(t instanceof Ar)&&t instanceof Sr&&wi(this.ed(),t.ed())}hashCode(){var t=this.cd(),r=null==t?null:gi(t);return null==r?0:r}toString(){return"class "+this.cd()}}class Cr extends Sr{constructor(){E=null,super(Object),E=this,this.gd_1="Nothing"}cd(){return this.gd_1}ed(){throw wr.d8("There's no native JS class for Nothing type")}equals(t){return t===this}hashCode(){return 0}}class Ar{cd(){throw fr.l3(pi("Unknown simpleName for ErrorKClass"))}equals(t){return t===this}hashCode(){return 0}}class $r extends Sr{constructor(t,r,n){super(t),this.id_1=r,this.jd_1=n}equals(t){return t instanceof $r&&super.equals(t)&&this.id_1===t.id_1}cd(){return this.id_1}}class Er extends Sr{constructor(t){super(t);var r=t.$metadata$;this.ld_1=null==r?null:r.simpleName}cd(){return this.ld_1}}class Ir{}class Mr{}class Nr{}class Lr{}class Pr{constructor(){M=this;var t=Object;this.anyClass=new $r(t,"Any",Ws);var r=Number;this.numberClass=new $r(r,"Number",Js),this.nothingClass=Gs();var n=Boolean;this.booleanClass=new $r(n,"Boolean",Ys);var i=Number;this.byteClass=new $r(i,"Byte",Zs);var e=Number;this.shortClass=new $r(e,"Short",Qs);var s=Number;this.intClass=new $r(s,"Int",Xs);var a=Number;this.floatClass=new $r(a,"Float",ta);var l=Number;this.doubleClass=new $r(l,"Double",ra);var u=Array;this.arrayClass=new $r(u,"Array",na);var h=String;this.stringClass=new $r(h,"String",ia);var _=Error;this.throwableClass=new $r(_,"Throwable",ea);var o=Array;this.booleanArrayClass=new $r(o,"BooleanArray",sa);var f=Uint16Array;this.charArrayClass=new $r(f,"CharArray",aa);var c=Int8Array;this.byteArrayClass=new $r(c,"ByteArray",la);var v=Int16Array;this.shortArrayClass=new $r(v,"ShortArray",ua);var w=Int32Array;this.intArrayClass=new $r(w,"IntArray",ha);var d=Array;this.longArrayClass=new $r(d,"LongArray",_a);var p=Float32Array;this.floatArrayClass=new $r(p,"FloatArray",oa);var m=Float64Array;this.doubleArrayClass=new $r(m,"DoubleArray",fa)}md(){return this.anyClass}nd(){return this.numberClass}od(){return this.nothingClass}pd(){return this.booleanClass}qd(){return this.byteClass}rd(){return this.shortClass}sd(){return this.intClass}td(){return this.floatClass}ud(){return this.doubleClass}vd(){return this.arrayClass}wd(){return this.stringClass}xd(){return this.throwableClass}yd(){return this.booleanArrayClass}zd(){return this.charArrayClass}ae(){return this.byteArrayClass}be(){return this.shortArrayClass}ce(){return this.intArrayClass}de(){return this.longArrayClass}ee(){return this.floatArrayClass}fe(){return this.doubleArrayClass}functionClass(t){var r,n=Vs()[t];if(null==n){var i=new $r(Function,"Function"+t,(r=>"function"==typeof r&&r.length===t));Vs()[t]=i,r=i}else r=n;return r}}class Or{static ge(t){var r=xi(this);return r.i_1=t,r}static x9(t){return this.j()}static j(){return this.ge("")}a(){return this.i_1.length}b(t){var r=this.i_1;if(!(0<=t&&t<=(ui(r)-1|0)))throw mr.qc("index: "+t+", length: "+this.a()+"}");return ai(r,t)}c(t,r){return this.i_1.substring(t,r)}u9(t){return this.i_1=this.i_1+Vn(t),this}k(t){return this.i_1=this.i_1+Wn(t),this}s9(t){return this.i_1=this.i_1+Wn(t),this}he(t){return this.t9(t.toString())}t9(t){var r=this.i_1;return this.i_1=r+(null==t?"null":t),this}toString(){return this.i_1}}class Dr{constructor(){this.ie_1=Or.j(),this.je_1=[],this.ke_1="",this.le_1=0}me(t){return ba(t,this,"",""),this.ie_1.toString()}}class Rr extends mt{constructor(t,r,n){super(t,r),this.pe_1=n}}class Tr{constructor(){this.f4_1=2147483639}b5(t,r){if(t<0||t>=r)throw mr.qc("index: "+t+", size: "+r)}u4(t,r){if(t<0||t>r)throw mr.qc("index: "+t+", size: "+r)}g4(t,r,n){if(t<0||r>n)throw mr.qc("fromIndex: "+t+", toIndex: "+r+", size: "+n);if(t>r)throw vr.h1("fromIndex: "+t+" > toIndex: "+r)}s8(t,r){var n=t+(t>>1)|0;return(n-r|0)<0&&(n=r),(n-2147483639|0)>0&&(n=r>2147483639?2147483647:2147483639),n}e5(t){for(var r=1,n=t.l();n.m();){var i=n.n(),e=it(31,r),s=null==i?null:di(i);r=e+(null==s?0:s)|0}return r}d5(t,r){if(t.p()!==r.p())return!1;for(var n=r.l(),i=t.l();i.m();)if(!wi(i.n(),n.n()))return!1;return!0}}class Hr{constructor(t){this.qe_1=t}m(){return this.qe_1.m()}n(){return this.qe_1.n().x1()}}class Ur{}class Fr extends qt{static te(t){return this.i4(t)}equals(t){return t===this||!(null==t||!pe(t,dt))&&R.v5(this,t)}hashCode(){return R.w5(this)}}class Br extends Fr{static se(t,r){return r===b&&(r={}),r.re_1=t,this.te(r)}c7(t){return this.re_1.z1(t)}o(t){return(null==t||null!=t)&&this.c7(null==t||null!=t?t:Si())}l(){var t=this.re_1.d2().l();return new Hr(t)}p(){return this.re_1.p()}}class Kr{w5(t){for(var r=0,n=t.l();n.m();){var i=n.n(),e=r,s=null==i?null:di(i);r=e+(null==s?0:s)|0}return r}v5(t,r){return t.p()===r.p()&&t.p1(r)}}class Gr{constructor(){T=this,this.ye_1=[],this.ze_1=10}}class Vr extends At{p(){return this.xe_1}static af(){Pa();var t,r=this.a5();return t=r,Pa(),t.ve_1=0,t.xe_1=0,r.we_1=Pa().ye_1,r}x(){return 0===this.xe_1}bf(t){La(this),Ca(this,this.xe_1+1|0),this.ve_1=Ia(this,this.ve_1),this.we_1[this.ve_1]=t,this.xe_1=this.xe_1+1|0}cf(t){La(this),Ca(this,this.xe_1+1|0);var r=this.we_1,n=this.xe_1;r[Aa(this,this.ve_1+n|0)]=t,this.xe_1=this.xe_1+1|0}df(){if(this.x())throw dr.w("ArrayDeque is empty.");La(this);var t=this.ve_1,r=this.we_1[t],n=null==r||null!=r?r:Si();return this.we_1[this.ve_1]=null,this.ve_1=Ea(this,this.ve_1),this.xe_1=this.xe_1-1|0,n}ef(){return this.x()?null:this.df()}ff(){if(this.x())throw dr.w("ArrayDeque is empty.");La(this);var t=Ra(this),r=Aa(this,this.ve_1+t|0),n=this.we_1[r],i=null==n||null!=n?n:Si();return this.we_1[r]=null,this.xe_1=this.xe_1-1|0,i}h(t){return this.cf(t),!0}u1(t,r){if(D.u4(t,this.xe_1),t===this.xe_1)return this.cf(r),k;if(0===t)return this.bf(r),k;La(this),Ca(this,this.xe_1+1|0);var n=Aa(this,this.ve_1+t|0);if(t>1){var i=Ia(this,n),e=Ia(this,this.ve_1);i>=this.ve_1?(this.we_1[e]=this.we_1[this.ve_1],Ge(this.we_1,this.we_1,this.ve_1,this.ve_1+1|0,i+1|0)):(Ge(this.we_1,this.we_1,this.ve_1-1|0,this.ve_1,this.we_1.length),this.we_1[this.we_1.length-1|0]=this.we_1[0],Ge(this.we_1,this.we_1,0,1,i+1|0)),this.we_1[i]=r,this.ve_1=e}else{var s=this.xe_1,a=Aa(this,this.ve_1+s|0);n>1){var a=this.ve_1-s|0;if(e>=this.ve_1)if(a>=0)Ge(this.we_1,this.we_1,a,this.ve_1,e);else{a=a+this.we_1.length|0;var l=e-this.ve_1|0,u=this.we_1.length-a|0;u>=l?Ge(this.we_1,this.we_1,a,this.ve_1,e):(Ge(this.we_1,this.we_1,a,this.ve_1,this.ve_1+u|0),Ge(this.we_1,this.we_1,0,this.ve_1+u|0,e))}else Ge(this.we_1,this.we_1,a,this.ve_1,this.we_1.length),s>=e?Ge(this.we_1,this.we_1,this.we_1.length-s|0,0,e):(Ge(this.we_1,this.we_1,this.we_1.length-s|0,0,s),Ge(this.we_1,this.we_1,0,s,e));this.ve_1=a,Ma(this,$a(this,e-s|0),r)}else{var h=e+s|0;if(e=this.we_1.length)Ge(this.we_1,this.we_1,h-this.we_1.length|0,e,i);else{var _=(i+s|0)-this.we_1.length|0;Ge(this.we_1,this.we_1,0,i-_|0,i),Ge(this.we_1,this.we_1,h,e,i-_|0)}else Ge(this.we_1,this.we_1,s,0,i),h>=this.we_1.length?Ge(this.we_1,this.we_1,h-this.we_1.length|0,e,this.we_1.length):(Ge(this.we_1,this.we_1,0,this.we_1.length-s|0,this.we_1.length),Ge(this.we_1,this.we_1,h,e,this.we_1.length-s|0));Ma(this,e,r)}return!0}s(t){D.b5(t,this.xe_1);var r=Aa(this,this.ve_1+t|0),n=this.we_1[r];return null==n||null!=n?n:Si()}t1(t,r){D.b5(t,this.xe_1);var n=Aa(this,this.ve_1+t|0),i=this.we_1[n],e=null==i||null!=i?i:Si();return this.we_1[n]=r,e}o(t){return!(-1===this.a1(t))}a1(t){var r=this.xe_1,n=Aa(this,this.ve_1+r|0);if(this.ve_1=n){var s=this.ve_1,a=this.we_1.length;if(s>1)r>=this.ve_1?Ge(this.we_1,this.we_1,this.ve_1+1|0,this.ve_1,r):(Ge(this.we_1,this.we_1,1,0,r),this.we_1[0]=this.we_1[this.we_1.length-1|0],Ge(this.we_1,this.we_1,this.ve_1+1|0,this.ve_1,this.we_1.length-1|0)),this.we_1[this.ve_1]=null,this.ve_1=Ea(this,this.ve_1);else{var e=Ra(this),s=Aa(this,this.ve_1+e|0);r<=s?Ge(this.we_1,this.we_1,r,r+1|0,s+1|0):(Ge(this.we_1,this.we_1,r,r+1|0,this.we_1.length),this.we_1[this.we_1.length-1|0]=this.we_1[0],Ge(this.we_1,this.we_1,0,1,s+1|0)),this.we_1[s]=null}return this.xe_1=this.xe_1-1|0,i}s1(){if(!this.x()){La(this);var t=this.xe_1,r=Aa(this,this.ve_1+t|0);Na(this,this.ve_1,r)}this.ve_1=0,this.xe_1=0}gf(t){var r=t.length>=this.xe_1?t:function(t,r){return Yn(Array(r),null)}(0,this.xe_1),n=me(r)?r:Si(),i=this.xe_1,e=Aa(this,this.ve_1+i|0);this.ve_10;){var u=l,h=e+1|0,_=a+1|0,o=Math.min(u,h,_);Ge(t.we_1,t.we_1,1+(a-o|0)|0,1+(e-o|0)|0,e+1|0),e=$a(t,e-o|0),a=$a(t,a-o|0),l=l-o|0}}(this,t,r);var i=Aa(this,this.ve_1+n|0);Na(this,this.ve_1,i),this.ve_1=i}else{!function(t,r,n){for(var i=Aa(t,t.ve_1+n|0),e=Aa(t,t.ve_1+r|0),s=t.xe_1-n|0;s>0;){var a=s,l=t.we_1.length-i|0,u=t.we_1.length-e|0,h=Math.min(a,l,u);Ge(t.we_1,t.we_1,e,i,i+h|0),i=Aa(t,i+h|0),e=Aa(t,e+h|0),s=s-h|0}}(this,t,r);var e=this.xe_1,s=Aa(this,this.ve_1+e|0);Na(this,$a(this,s-n|0),s)}this.xe_1=this.xe_1-n|0}}class Wr{constructor(t,r){this.hf_1=t,this.if_1=r}p(){return this.hf_1.length}x(){return 0===this.hf_1.length}jf(t){return function(t,r){return Ln(t,r)>=0}(this.hf_1,t)}o(t){return(null==t||null!=t)&&this.jf(null==t||null!=t?t:Si())}l(){return Zn(this.hf_1)}}class Jr{constructor(){H=this,this.kf_1=new yt(-1478467534,-1720727600)}equals(t){return!(null==t||!pe(t,_t))&&t.x()}hashCode(){return 1}toString(){return"[]"}p(){return 0}x(){return!0}lf(t){return!1}o(t){return!1}s(t){throw mr.qc("Empty list doesn't contain element at index "+t+".")}mf(t){return-1}a1(t){return-1}l(){return U}o1(t,r){if(0===t&&0===r)return this;throw mr.qc("fromIndex: "+t+", toIndex: "+r)}}class Yr{m(){return!1}n(){throw dr.o4()}}class Zr{constructor(t,r){this.nf_1=t,this.of_1=r}toString(){return"IndexedValue(index="+this.nf_1+", value="+Wn(this.of_1)+")"}hashCode(){var t=this.nf_1;return it(t,31)+(null==this.of_1?0:di(this.of_1))|0}equals(t){if(this===t)return!0;if(!(t instanceof Zr))return!1;var r=t instanceof Zr?t:Si();return this.nf_1===r.nf_1&&!!wi(this.of_1,r.of_1)}}class Qr{constructor(t){this.pf_1=t}l(){return new Xr(this.pf_1())}}class Xr{constructor(t){this.qf_1=t,this.rf_1=0}m(){return this.qf_1.m()}n(){var t=this.rf_1;return this.rf_1=t+1|0,new Zr(Ve(t),this.qf_1.n())}}class tn{constructor(){F=this,this.sf_1=new yt(-888910638,1920087921)}equals(t){return!(null==t||!pe(t,ct))&&t.x()}hashCode(){return 0}toString(){return"{}"}p(){return 0}x(){return!0}tf(t){return!1}z1(t){return(null==t||null!=t)&&this.tf(null==t||null!=t?t:Si())}uf(t){return null}b2(t){return null!=t&&null==t?null:this.uf(null==t||null!=t?t:Si())}d2(){return Ya()}c2(){return Ya()}}class rn{n(){return this.zf()}}class nn{}class en extends nn{constructor(){super(),this.ag_1=0,this.bg_1=null,this.cg_1=null,this.dg_1=null}m(){for(;;){switch(this.ag_1){case 0:break;case 1:if(zi(this.cg_1).m())return this.ag_1=2,!0;this.cg_1=null;break;case 4:return!1;case 3:case 2:return!0;default:throw Ja(this)}this.ag_1=5;var t=zi(this.dg_1);this.dg_1=null;var r=k;t.va(r)}}n(){switch(this.ag_1){case 0:case 1:return function(t){if(t.m())return t.n();throw dr.o4()}(this);case 2:return this.ag_1=1,zi(this.cg_1).n();case 3:this.ag_1=0;var t=this.bg_1,r=null==t||null!=t?t:Si();return this.bg_1=null,r;default:throw Ja(this)}}eg(t,r){return this.bg_1=t,this.ag_1=3,this.dg_1=r,nl()}fg(t){!function(t){if(t instanceof In)throw t.ob_1}(t),null!=t&&null==t&&Si(),this.ag_1=4}va(t){return this.fg(t)}ta(){return Qa()}}class sn{constructor(t){this.gg_1=t}l(){return Va(this.gg_1)}}class an{constructor(){B=this,this.hg_1=new yt(1993859828,793161749)}equals(t){return!(null==t||!pe(t,dt))&&t.x()}hashCode(){return 0}toString(){return"[]"}p(){return 0}x(){return!0}lf(t){return!1}o(t){return!1}ig(t){return t.x()}p1(t){return this.ig(t)}l(){return U}}class ln{}class un{}function hn(t){return t===Qa()?this:t.og(this,Za)}class _n{}function on(t){return wi(this.x1(),t)?pe(this,_n)?this:Si():null}function fn(t,r){return r(t,this)}function cn(t){return wi(this.x1(),t)?Qa():this}class vn{}class wn{constructor(){G=this,this.qg_1=new yt(0,0)}gb(t){return null}og(t,r){return t}pg(t){return t}ng(t){return this}hashCode(){return 0}toString(){return"EmptyCoroutineContext"}}class dn{constructor(t,r){this.rg_1=t,this.sg_1=r}gb(t){for(var r=this;;){var n=r.sg_1.gb(t);if(null!=n)return n;var i=r.rg_1;if(!(i instanceof dn))return i.gb(t);r=i}}og(t,r){return r(this.rg_1.og(t,r),this.sg_1)}ng(t){if(null!=this.sg_1.gb(t))return this.rg_1;var r=this.rg_1.ng(t);return r===this.rg_1?this:r===Qa()?this.sg_1:new dn(r,this.sg_1)}equals(t){return this===t||!!(t instanceof dn&&Xa(t)===Xa(this))&&function(t,r){for(var n=r;;){if(!tl(t,n.sg_1))return!1;var i=n.rg_1;if(!(i instanceof dn))return tl(t,pe(i,_n)?i:Si());n=i}}(t,this)}hashCode(){return di(this.rg_1)+di(this.sg_1)|0}toString(){return"["+this.og("",rl)+"]"}}class pn{constructor(t,r){var n;this.jg_1=r,n=t instanceof pn?t.kg_1:t,this.kg_1=n}lg(t){return this.jg_1(t)}mg(t){return t===this||this.kg_1===t}}class mn{constructor(t){this.tg_1=t}x1(){return this.tg_1}}class gn extends mt{}class yn{constructor(){Z=this,this.c1_1=new kn(1,0)}}class bn{constructor(t,r,n){if(0===n)throw vr.h1("Step must be non-zero.");if(-2147483648===n)throw vr.h1("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");this.l1_1=t,this.m1_1=function(t,r,n){var i;if(n>0)i=t>=r?r:r-al(r,t,n)|0;else{if(!(n<0))throw vr.h1("Step is zero.");i=t<=r?r:r+al(t,r,0|-n)|0}return i}(t,r,n),this.n1_1=n}l(){return new xn(this.l1_1,this.m1_1,this.n1_1)}x(){return this.n1_1>0?this.l1_1>this.m1_1:this.l1_10?this.l1_1+".."+this.m1_1+" step "+this.n1_1:this.l1_1+" downTo "+this.m1_1+" step "+(0|-this.n1_1)}}class kn extends bn{constructor(t,r){ul(),super(t,r,1)}x(){return this.l1_1>this.m1_1}equals(t){return t instanceof kn&&(this.x()&&t.x()||this.l1_1===t.l1_1&&this.m1_1===t.m1_1)}hashCode(){return this.x()?-1:it(31,this.l1_1)+this.m1_1|0}toString(){return this.l1_1+".."+this.m1_1}}class xn extends rn{constructor(t,r,n){super(),this.xg_1=n,this.yg_1=r,this.zg_1=this.xg_1>0?t<=r:t>=r,this.ah_1=this.zg_1?t:this.yg_1}m(){return this.zg_1}zf(){var t=this.ah_1;if(t===this.yg_1){if(!this.zg_1)throw dr.o4();this.zg_1=!1}else this.ah_1=this.ah_1+this.xg_1|0;return t}}class jn{d1(t,r,n){return new bn(t,r,n)}}class qn{constructor(){this.ch_1=0,this.dh_1=1,this.eh_1=2}}class zn{constructor(t){this.fh_1=t,this.gh_1=0,this.hh_1=0,this.ih_1=0,this.jh_1=0}m(){if(0!==this.gh_1)return 1===this.gh_1;if(this.jh_1<0)return this.gh_1=2,!1;var t=-1,r=ui(this.fh_1),n=this.hh_1,i=ui(this.fh_1);if(n1&&r.k(n),!(s<0||u<=s))break t;hl(r,_,l)}return s>=0&&u>s&&r.k(a),r.k(e),r}(t,Or.j(),r,n,i,e,s,a).toString()}function Dn(t,r){var n=Lt.q(t.p()+1|0);return n.r(t),n.h(r),n}function Rn(t){if(t.x())throw dr.w("List is empty.");return t.s(Ra(t))}function Tn(t,r){for(var n=Lt.q(Ha(t,10)),i=!1,e=t.l();e.m();){var s,a=e.n();!i&&wi(a,r)?(i=!0,s=!1):s=!0,s&&n.h(a)}return n}function Hn(t){return Lt.g(t)}function Un(t,r){for(var n=t.l();n.m();){var i=n.n();r.h(i)}return r}function Fn(t,r){return r<=-2147483648?ul().c1_1:_e(t,r-1|0)}function Bn(t,r){return function(t,r){if(!t)throw vr.h1("Step must be positive, was: "+pi(r)+".")}(r>0,r),Q.d1(t.l1_1,t.m1_1,t.n1_1>0?r:0|-r)}function Kn(t,r){return t>r?r:t}function Gn(t,r){return t>5,c=new Int32Array(f+1|0),v=1<<(31&o),c[f]=c[f]|v,c);null!=_&&(n.push(_),a=Math.max(a,_.length)),a>r&&(r=a)}var o,f,c,v;return function(t,r){for(var n=0,i=new Int32Array(t);n65535)throw vr.h1("Invalid Char code: "+i);n=function(t){var r=function(t){return t<<16>>16}(le(t));return function(t){return 65535&t}(r)}(i)}else n=t.b(r);return n}function li(t){return"string"==typeof t}function ui(t){return li(t)?t.length:t.a()}function hi(t){return pi(t)}function _i(t,r){var n;switch(typeof t){case"number":n="number"==typeof r?oi(t,r):r instanceof yt?oi(t,r.e3()):fi(t,r);break;case"string":case"boolean":n=fi(t,r);break;default:n=function(t,r){return t.l2(r)}(t,r)}return n}function oi(t,r){var n;if(tr)n=1;else if(t===r){var i;if(0!==t)i=0;else{var e=1/t;i=e===1/r?0:e<0?-1:1}n=i}else n=t!=t?r!=r?0:1:-1;return n}function fi(t,r){return tr?1:0}function ci(t){if(!("kotlinHashCodeValue$"in t)){var r=vi(),n=new Object;n.value=r,n.enumerable=!1,Object.defineProperty(t,"kotlinHashCodeValue$",n)}return t.kotlinHashCodeValue$}function vi(){return 4294967296*Math.random()|0}function wi(t,r){if(null==t)return null==r;if(null==r)return!1;if("object"==typeof t&&"function"==typeof t.equals)return t.equals(r);if(t!=t)return r!=r;if("number"==typeof t&&"number"==typeof r){var n;if(t===r)n=0!==t||1/t==1/r;else n=!1;return n}return t===r}function di(t){if(null==t)return 0;var r,n=typeof t;switch(n){case"object":r="function"==typeof t.hashCode?t.hashCode():ci(t);break;case"function":r=ci(t);break;case"number":r=ei(t);break;case"boolean":r=mi(t);break;case"string":r=gi(String(t));break;case"bigint":r=function(t){for(var r=BigInt(32),n=BigInt(4294967295),i=t<0?-t:t,e=0,s=t<0?-1:1;0!=i;){var a=Number(i&n);e=it(31,e)+a|0,i>>=r}return it(e,s)}(t);break;case"symbol":r=function(t){var r,n=(r=t,Symbol.keyFor(r)!=b?(h===b&&(h=new Map),h):(_===b&&(_=new WeakMap),_)),i=n.get(t);if(i!==b)return i;var e=vi();return n.set(t,e),e}(t);break;default:r=function(){throw new Error("Unexpected typeof `"+n+"`")}()}return r}function pi(t){return null==t?"null":we(t)?"[...]":"function"!=typeof t.toString?yi(t):t.toString()}function mi(t){return t?1231:1237}function gi(t){var r=0,n=0,i=t.length-1|0;if(n<=i)do{var e=n;n=n+1|0;var s=t.charCodeAt(e);r=it(r,31)+s|0}while(e!==i);return r}function yi(t){return Object.prototype.toString.call(t)}function bi(t,r){null!=Error.captureStackTrace?Error.captureStackTrace(t,r):t.stack=(new Error).stack}function ki(t){return t.prototype}function xi(t,r){var n=Object.create(t.prototype);return ji(n,r),n}function ji(t,r){r!==b&&Object.assign(t,r)}function qi(t,r,n){var i=Ce(Object.getPrototypeOf(t));if(!(1&i)){var e;if(null==r){var s;if(null!==r){var a=null==n?null:n.toString();s=null==a?b:a}else s=b;e=s}else e=r;t.message=e}2&i||(t.cause=n),t.name=Object.getPrototypeOf(t).constructor.name}function zi(t){var r;return null==t?function(){throw kr.p3()}():r=t,r}function Si(){throw jr.x3()}function Ci(){throw fr.c4()}function Ai(){return Qi(),o}function $i(){return Qi(),f}function Ei(){return Qi(),c}function Ii(){return Qi(),w}function Mi(){return Qi(),d}function Ni(t,r){if(Qi(),Ui(t,r))return 0;var n=Bi(t),i=Bi(r);return n&&!i?-1:!n&&i?1:Bi(Pi(t,r))?-1:1}function Li(t,r){Qi();var n=t.j1_1>>>16|0,i=65535&t.j1_1,e=t.i1_1>>>16|0,s=65535&t.i1_1,a=r.j1_1>>>16|0,l=65535&r.j1_1,u=r.i1_1>>>16|0,h=0,_=0,o=0,f=0;return h=(h=h+((_=(_=_+((o=(o=o+((f=f+(s+(65535&r.i1_1)|0)|0)>>>16|0)|0)+(e+u|0)|0)>>>16|0)|0)+(i+l|0)|0)>>>16|0)|0)+(n+a|0)|0,new yt((o&=65535)<<16|(f&=65535),(h&=65535)<<16|(_&=65535))}function Pi(t,r){return Qi(),Li(t,r.v2())}function Oi(t,r){if(Qi(),Ki(t))return Ai();if(Ki(r))return Ai();if(Ui(t,Ii()))return Gi(r)?Ii():Ai();if(Ui(r,Ii()))return Gi(t)?Ii():Ai();if(Bi(t))return Bi(r)?Oi(Vi(t),Vi(r)):Vi(Oi(Vi(t),r));if(Bi(r))return Vi(Oi(t,Vi(r)));if(Wi(t,Mi())&&Wi(r,Mi()))return Ji(Ti(t)*Ti(r));var n=t.j1_1>>>16|0,i=65535&t.j1_1,e=t.i1_1>>>16|0,s=65535&t.i1_1,a=r.j1_1>>>16|0,l=65535&r.j1_1,u=r.i1_1>>>16|0,h=65535&r.i1_1,_=0,o=0,f=0,c=0;return f=f+((c=c+it(s,h)|0)>>>16|0)|0,c&=65535,o=(o=o+((f=f+it(e,h)|0)>>>16|0)|0)+((f=(f&=65535)+it(s,u)|0)>>>16|0)|0,f&=65535,_=(_=(_=_+((o=o+it(i,h)|0)>>>16|0)|0)+((o=(o&=65535)+it(e,u)|0)>>>16|0)|0)+((o=(o&=65535)+it(s,l)|0)>>>16|0)|0,o&=65535,_=_+(((it(n,h)+it(i,u)|0)+it(e,l)|0)+it(s,a)|0)|0,new yt(f<<16|c,(_&=65535)<<16|o)}function Di(t,r){Qi();var n=63&r;return 0===n?t:n<32?new yt(t.i1_1<>>(32-n|0)):new yt(0,t.i1_1<>>n|t.j1_1<<32-n,t.j1_1>>n):new yt(t.j1_1>>n-32,t.j1_1>=0?0:-1)}function Ti(t){return Qi(),4294967296*t.j1_1+function(t){return Qi(),t.i1_1>=0?t.i1_1:4294967296+t.i1_1}(t)}function Hi(t,r){if(Qi(),r<2||36=0x8000000000000000)return Qi(),v;if(t<0)return Vi(Ji(-t));var r=4294967296;return new yt(t%r|0,t/r|0)}function Yi(t,r){return Qi(),Ni(t,r)>0}function Zi(t,r){return Qi(),Ni(t,r)>=0}function Qi(){p||(p=!0,o=Fi(0),f=Fi(1),c=Fi(-1),v=new yt(-1,2147483647),w=new yt(0,-2147483648),d=Fi(16777216))}function Xi(t,r,n,i,e,s){return{kind:t,simpleName:r,associatedObjectKey:i,associatedObjects:e,suspendArity:s,$kClass$:b,defaultConstructor:n,iid:"interface"===t?(m===b&&(m=0),m=m+1|0):b}}function te(t,r,n,i,e,s,a,l,u){null!=e&&(r.prototype=Object.create(e.prototype),r.prototype.constructor=r);var h=Xi(t,n,i,l,u,a);r.$metadata$=h,null!=s&&((wi(h.iid,b)?r.prototype:r).$imask$=Jn(s))}function re(t,r,n,i,e,s,a,l){te("class",t,r,n,i,e,s,a,l)}function ne(t,r,n,i,e,s,a,l){te("object",t,r,n,i,e,s,a,l)}function ie(t,r,n,i,e,s,a,l){te("interface",t,r,n,i,e,s,a,l)}function ee(t,r,n,i){re(t,"Lambda",b,r,n,i,b,b)}function se(t,r,n,i){ne(t,"Companion",b,r,n,i,b,b)}function ae(t){var r=0,n=0,i=t.length-1|0;if(n<=i)do{var e=n;n=n+1|0,r=r+t[e].length|0}while(e!==i);var s=t[0],a=new s.constructor(r);null!=s.$type$&&(a.$type$=s.$type$),r=0;var l=0,u=t.length-1|0;if(l<=u)do{var h=l;l=l+1|0;var _=t[h],o=0,f=_.length-1|0;if(o<=f)do{var c=o;o=o+1|0;var v=r;r=v+1|0,a[v]=_[c]}while(c!==f)}while(h!==u);return a}function le(t){return t instanceof yt?t.d3():function(t){return t>2147483647?2147483647:t<-2147483648?-2147483648:0|t}(t)}function ue(t){return t instanceof yt?t:Ji(t)}function he(t){return Fi(t)}function _e(t,r){return new kn(t,r)}function oe(){return ve(),Xi("class",b,b,b,b,b)}function fe(t,r,n,i,e){return ve(),i.get=i,i.set=e,i.callableName=t,s=i,a=function(t,r){return ve(),(ve(),g)[t][null==r?0:1]}(r,e),l=function(t,r){ve();var n=t.$imask$;return null==n?Jn([r]):n}(i,n),ve(),s.$metadata$=a,s.constructor=s,s.$imask$=l,s;var s,a,l}function ce(t,r,n,i){return ve(),fe(t,0,r,i,n?i:null)}function ve(){if(!y){y=!0;var t=[oe(),oe()],r=[oe(),oe()];g=[t,r,[oe(),oe()]]}}function we(t){return de(t)||et(t)}function de(t){return Array.isArray(t)}function pe(t,r){return function(t,r){var n=t.$imask$;return null!=n&&function(t,r){var n=r>>5;if(n>t.length)return!1;var i=1<<(31&r);return!!(t[n]&i)}(n,r)}(t,r.$metadata$.iid)}function me(t){return!!de(t)&&!t.$type$}function ge(t){return"string"==typeof t||pe(t,at)}function ye(t){return de(t)&&"BooleanArray"===t.$type$}function be(t){return t instanceof Int8Array}function ke(t){return t instanceof Int16Array}function xe(t){return t instanceof Uint16Array&&"CharArray"===t.$type$}function je(t){return t instanceof Int32Array}function qe(t){return t instanceof Float32Array}function ze(t){return de(t)&&"LongArray"===t.$type$}function Se(t){return t instanceof Float64Array}function Ce(t){var r=t.constructor,n=null==r?null:r.$metadata$,i=null==n?null:n.errorInfo;if(null!=i)return i;var e,s=0;if(Ae(t,"message")&&(s|=1),Ae(t,"cause")&&(s|=2),3!==s){var a=(e=t,Object.getPrototypeOf(e));a!=Error.prototype&&(s|=Ce(a))}return null!=n&&(n.errorInfo=s),s}function Ae(t,r){return t.hasOwnProperty(r)}function $e(t,r,n,i){n=n===b?0:n,i=i===b?t.length:i,D.g4(n,i,t.length),t.fill(r,n,i)}function Ee(t,r,n,i){n=n===b?0:n,i=i===b?t.length:i,D.g4(n,i,t.length),t.fill(r,n,i)}function Ie(t,r){if(!(r>=0)){var n="Invalid new array size: "+r+".";throw vr.h1(pi(n))}return function(t,r){for(var n=t.length,i=r.length,e=0,s=r;e=0)){var n="Invalid new array size: "+r+".";throw vr.h1(pi(n))}return function(t,r,n){var i=t.slice(0,r);void 0!==t.$type$&&(i.$type$=t.$type$);var e=t.length;if(r>e)for(i.length=r;e>>1&1431655765)|0))+(r>>>2&858993459)|0))+(r>>>4&252645135)|0))+(r>>>8&16711935)|0))+(r>>>16|0)|0}function De(t){return t&-t}function Re(t){return 32-st(~(t|-t))|0}function Te(t,r){return t<>>(32-r|0)}function He(t,r){return t<<32-r|t>>>r}function Ue(t,r){return t.c3(new yt(0,-2147483648)).k1(r.c3(new yt(0,-2147483648)))}function Fe(t){return function(t){if(t.x())return[];for(var r=t.p(),n=Yn(Array(r),null),i=t.l(),e=0;i.m();){var s=e;e=s+1|0,n[s]=i.n()}return n}(t)}function Be(t){return Ta([t])}function Ke(t,r){!function(t,r){if(t.p()<=1)return k;var n=We(t);!function(t,r){if(function(){if(null!=j)return j;j=!1;var t=[],r=0;if(r<600)do{var n=r;r=r+1|0,t.push(n)}while(r<600);var i=es;t.sort(i);var e=1,s=t.length;if(e=u)return!1}while(er.compare(t,n)))}else!function(t,r,n,i){var e=t.length,s=is(t,Yn(Array(e),null),0,n,i);if(s!==t){var a=0;if(a<=n)do{var l=a;a=a+1|0,t[l]=s[l]}while(l!==n)}}(t,0,Pn(t),r)}(n,r);var i=0,e=n.length;if(i=0))throw vr.h1(pi("capacity must be non-negative."));return Yn(Array(t),null)}function Ye(t,r,n){t.fill(null,r,n)}function Ze(t,r){return Me(t,r)}function Qe(t,r){t[r]=null}function Xe(){return x===b&&new Nt,x}function ts(t,r){var n=t.p();return t.e_1.length=t.p()+r|0,n}function rs(t,r){return D.b5(r,t.p()),r}function ns(t,r){return D.u4(r,t.p()),r}function is(t,r,n,i,e){if(n===i)return t;var s=(n+i|0)/2|0,a=is(t,r,n,s,e),l=is(t,r,s+1|0,i,e),u=a===r?t:r,h=n,_=s+1|0,o=n;if(o<=i)do{var f=o;if(o=o+1|0,h<=s&&_<=i){var c=a[h],v=l[_];e.compare(c,v)<=0?(u[f]=c,h=h+1|0):(u[f]=v,_=_+1|0)}else h<=s?(u[f]=a[h],h=h+1|0):(u[f]=l[_],_=_+1|0)}while(f!==i);return u}function es(t,r){return(3&t)-(3&r)|0}function ss(t,r){return 0===(n=it(Gn(r,1),3))?0:1<<31-st(n);var n}function as(t,r){return st(r)+1|0}function ls(t){if(t.m8_1.t6_1!==t.o8_1)throw gr.l8("The backing map has been modified after this entry was obtained.")}function us(t){return t.m6_1.length}function hs(t){return t.p6_1.length}function _s(t){t.t6_1=t.t6_1+1|0}function os(t,r){!function(t,r){var n=us(t)-t.r6_1|0,i=t.r6_1-t.p()|0;return n=r&&i>=(us(t)/4|0)}(t,r)?function(t,r){if(r<0)throw or.r8("too many elements");if(r>us(t)){var n=D.s8(us(t),r);t.m6_1=Ze(t.m6_1,n);var i=t,e=t.n6_1;i.n6_1=null==e?null:Ze(e,n),t.o6_1=Ie(t.o6_1,n);var s=ss(0,n);s>hs(t)&&ws(t,s)}}(t,t.r6_1+r|0):vs(t,!0)}function fs(t){var r=t.n6_1;if(null!=r)return r;var n=Je(us(t));return t.n6_1=n,n}function cs(t,r){return null==r?0:it(di(r),-1640531527)>>>t.s6_1|0}function vs(t,r){for(var n=0,i=0,e=t.n6_1;n=0&&(t.m6_1[i]=t.m6_1[n],null!=e&&(e[i]=e[n]),r&&(t.o6_1[i]=s,t.p6_1[s]=i+1|0),i=i+1|0),n=n+1|0}Ye(t.m6_1,i,t.r6_1),null==e||Ye(e,i,t.r6_1),t.r6_1=i}function ws(t,r){_s(t),t.r6_1>t.u6_1&&vs(t,!1),t.p6_1=new Int32Array(r),t.s6_1=as(0,r);for(var n=0;n0&&wi(t.m6_1[e-1|0],r))return e-1|0;if((i=i-1|0)<0)return-1;var s=n;n=s-1|0,0===s&&(n=hs(t)-1|0)}}function ms(t,r){for(var n=t.r6_1;(n=n-1|0)>=0;)if(t.o6_1[n]>=0&&wi(zi(t.n6_1)[n],r))return n;return-1}function gs(t,r){t.l7();t:for(;;)for(var n=cs(t,r),i=Kn(it(t.q6_1,2),hs(t)/2|0),e=0;;){var s=t.p6_1[n];if(s<=0){if(t.r6_1>=us(t)){os(t,1);continue t}var a=t.r6_1;t.r6_1=a+1|0;var l=a;return t.m6_1[l]=r,t.o6_1[l]=n,t.p6_1[n]=l+1|0,t.u6_1=t.u6_1+1|0,_s(t),e>t.q6_1&&(t.q6_1=e),l}if(wi(t.m6_1[s-1|0],r))return 0|-s;if((e=e+1|0)>i){ws(t,it(hs(t),2));continue t}var u=n;n=u-1|0,0===u&&(n=hs(t)-1|0)}}function ys(t,r){Qe(t.m6_1,r);var n=t.n6_1;null==n||Qe(n,r),function(t,r){for(var n=r,i=r,e=0,s=Kn(it(t.q6_1,2),hs(t)/2|0);;){var a=n;if(n=a-1|0,0===a&&(n=hs(t)-1|0),(e=e+1|0)>t.q6_1)return t.p6_1[i]=0,k;var l=t.p6_1[n];if(0===l)return t.p6_1[i]=0,k;if(l<0?(t.p6_1[i]=-1,i=n,e=0):(cs(t,t.m6_1[l-1|0])-n&hs(t)-1)>=e&&(t.p6_1[i]=l,t.o6_1[l-1|0]=i,i=n,e=0),(s=s-1|0)<0)return t.p6_1[i]=-1,k}}(t,t.o6_1[r]),t.o6_1[r]=-1,t.u6_1=t.u6_1-1|0,_s(t)}function bs(t,r){var n=gs(t,r.x1()),i=fs(t);if(n>=0)return i[n]=r.y1(),!0;var e=i[(0|-n)-1|0];return!wi(r.y1(),e)&&(i[(0|-n)-1|0]=r.y1(),!0)}function ks(){if(!z){z=!0;var t="undefined"!=typeof process&&process.versions&&!!process.versions.node;q=t?new ir(process.stdout):new sr}}function xs(){return qs(),C}function js(t){return t.ya_1}function qs(){$||($=!0,C=function*(t,r){var n=r();return n===t&&(n=yield n),n},A=xs().constructor.prototype)}function zs(t){bi(t,t.sb_1)}function Ss(t){var r=t instanceof lr?t:null,n=null==r?null:r.fb();return null==n?t:n}function Cs(t,r,n){var i=new ur(n),e=xs()(nl(),(()=>{var n=i;return"function"==typeof t?t(r,n):t.cc(r,n)}));return js(i).push(e),i}function As(t,r,n){var i=new ur(n);i.ab_1=!0;var e="function"==typeof t?t(r,i):t.cc(r,i);if(i.ab_1=!1,i.bb_1!==i.cb_1){var s=e;i.va(s)}return e}function $s(t,r){var n=r.constructor===ur?r:new ur(r),i=t(n);if(!function(t){return qs(),null!=t&&t.constructor===(qs(),A)}(i))return i;var e=i;js(n).push(e);try{var s=e.next();return s.done&&js(n).pop(),s.value}catch(t){if(t instanceof Error){var a=t;throw js(n).pop(),a}throw t}}function Es(t){bi(t,t.d4_1)}function Is(t){bi(t,t.g1_1)}function Ms(t){bi(t,t.k3_1)}function Ns(t){bi(t,t.c6_1)}function Ls(t){bi(t,t.q8_1)}function Ps(t){bi(t,t.v_1)}function Os(t){bi(t,t.ic_1)}function Ds(t){bi(t,t.oc_1)}function Rs(t){bi(t,t.k8_1)}function Ts(t){bi(t,t.sc_1)}function Hs(t){bi(t,t.yc_1)}function Us(t){bi(t,t.a4_1)}function Fs(t){return new An(t)}function Bs(t,r){return new An(r)}function Ks(t){if(Le(t))throw vr.h1("Cannot round NaN value.");return t>new yt(-1,2147483647).e3()?new yt(-1,2147483647):t1?t:ai(r,0)}function pa(t){return function(t){return 9<=t&&t<=13||28<=t&&t<=32||160===t||t>4096&&(5760===t||8192<=t&&t<=8202||8232===t||8233===t||8239===t||8287===t||12288===t)}(t)}function ma(t,r){return t.toString(function(t){if(!(2<=t&&t<=36))throw vr.h1("radix "+t+" was not in valid range 2..36");return t}(r))}function ga(t,r,n,i,e,s){return fl(t,r,n,i,e,s=s!==b&&s)}function ya(t,r){if(t!==r){var n=t._suppressed;null==n?t._suppressed=Oa([r]):n.h(r)}}function ba(t,r,n,i){if(!ka(t,r,n,i))return k;for(var e=t.cause;null!=e;){if(!ka(e,r,n,"Caused by: "))return k;e=e.cause}}function ka(t,r,n,i){r.ie_1.t9(n).t9(i);var e=t.toString();if(function(t,r){var n,i=t.je_1;t:{for(var e=0,s=i.length;e0&&l<=u||h<0&&u<=l)do{var _=l;if(l=l+h|0,ga(r,0,t,_,r.length,e))return _}while(_!==u)}else{var o=a.l1_1,f=a.m1_1,c=a.n1_1;if(c>0&&o<=f||c<0&&f<=o)do{var v=o;if(o=o+c|0,fl(r,0,t,v,ui(r),e))return v}while(v!==f)}return-1}(t,r,n,ui(t),i):t.indexOf(r,n),e}(a,e),u=l<0?0:l+e.length|0;if(0===u&&r.ie_1.t9(e).t9("\n"),0===ui(r.ke_1)?(r.ke_1=a,r.le_1=u):a=function(t,r,n){var i=0,e=0,s=0,a=0,l=t.ke_1.length-t.le_1|0,u=r.length-n|0,h=Math.min(l,u);if(a0&&32===ai(r,ol(r)-(s-1|0)|0);)s=s-1|0;return function(t,r){if(!(r>=0)){var n="Requested character count "+r+" is less than zero.";throw vr.h1(pi(n))}return function(t,r){if(!(r>=0)){var n="Requested character count "+r+" is less than zero.";throw vr.h1(pi(n))}var i=Kn(r,t.length);return t.substring(0,i)}(t,Gn(t.length-r|0,0))}(r,s)+"... and "+(i-1|0)+" more common stack frames skipped"}(r,a,u),ui(n)>0){var h;if(0===u)h=0;else{for(var _=0,o=0;o=c&&r.ie_1.t9(n),r.ie_1.t9(d).t9("\n")}}else r.ie_1.t9(a).t9("\n")}else r.ie_1.t9(e).t9("\n");var m=function(t){var r=t._suppressed,n=null==r?null:r;return null==n?Da():n}(t);if(!m.x())for(var g=n+" ",y=m.l();y.m();)ba(y.n(),r,g,"Suppressed: ");return!0}function xa(){if(O)return k;O=!0,L=new Rr("NANOSECONDS",0,1),new Rr("MICROSECONDS",1,1e3),P=new Rr("MILLISECONDS",2,1e6),new Rr("SECONDS",3,1e9),new Rr("MINUTES",4,6e10),new Rr("HOURS",5,36e11),new Rr("DAYS",6,864e11)}function ja(t,r,n){var i=_i(r.pe_1,n.pe_1);return i>0?t*(r.pe_1/n.pe_1):i<0?t/(n.pe_1/r.pe_1):t}function qa(){return xa(),P}function za(t,r){return r===t?"(this Map)":Wn(r)}function Sa(t,r){var n;t:{for(var i=t.d2().l();i.m();){var e=i.n();if(wi(e.x1(),r)){n=e;break t}}n=null}return n}function Ca(t,r){if(r<0)throw fr.l3("Deque is too big.");if(r<=t.we_1.length)return k;if(t.we_1===Pa().ye_1){var n=t,i=Gn(r,10);return n.we_1=Yn(Array(i),null),k}!function(t,r){var n=Yn(Array(r),null);Ge(t.we_1,n,0,t.ve_1,t.we_1.length),Ge(t.we_1,n,t.we_1.length-t.ve_1|0,0,t.ve_1),t.ve_1=0,t.we_1=n}(t,D.s8(t.we_1.length,r))}function Aa(t,r){return r>=t.we_1.length?r-t.we_1.length|0:r}function $a(t,r){return r<0?r+t.we_1.length|0:r}function Ea(t,r){return r===Pn(t.we_1)?0:r+1|0}function Ia(t,r){return 0===r?Pn(t.we_1):r-1|0}function Ma(t,r,n){var i=n.l(),e=r,s=t.we_1.length;if(e=0?n:n+r|0}function ul(){return Z===b&&new yn,Z}function hl(t,r,n){null!=n?t.k(n(r)):null==r||ge(r)?t.k(r):r instanceof ut?t.u9(r.bh_1):t.k(pi(r))}function _l(t,r,n){if(t===r)return!0;if(!(n=n!==b&&n))return!1;var i=da(t),e=da(r);return i===e||ai(Vn(i).toLowerCase(),0)===ai(Vn(e).toLowerCase(),0)}function ol(t){return ui(t)-1|0}function fl(t,r,n,i,e,s){if(i<0||r<0||r>(ui(t)-e|0)||i>(ui(n)-e|0))return!1;var a=0;if(at.du(r,n)).$arity=1,r));var t,r}tn(t){var r=new hh(t);r.hr_1=this;var n,i=r;t:for(;;){var e=this.bn();if(e instanceof Xu)if(e.ps_1){if(this.am_1.atomicfu$compareAndSet(e,i)){n=!0;break t}}else A_(this,e);else{if(null==e||!pe(e,Ou)){n=!1;break t}var s=e.jr();if(null==s)$_(this,e instanceof Du?e:Si());else{var a;if(s.nr(i,7))a=!0;else{var l,u=s.nr(i,3),h=this.bn();if(h instanceof ih)l=h.st();else{var _=h instanceof Tu?h:null;l=null==_?null:_.mm_1}var o=l;if(i.gq(o),!u)return Ul;a=!0}if(a){n=!0;break t}}}}if(n)return i;var f=this.bn(),c=f instanceof Tu?f:null;return i.gq(null==c?null:c.mm_1),Ul}sm(t){throw t}un(t){}vn(){return!1}wn(){return!0}xn(t){return!1}lm(t){}rm(t){}toString(){return this.yn()+"@"+ho(this)}yn(){return this.tm()+"{"+O_(0,this.bn())+"}"}tm(){return uo(this)}}class yu{}class bu extends gu{constructor(t,r,n){super(n),r&&this.cm(t.gb(Hl)),this.fm_1=t.pg(this)}ta(){return this.fm_1}gm(){return this.fm_1}hm(){return super.hm()}im(t){}jm(t,r){}km(){return uo(this)+" was cancelled"}lm(t){t instanceof Tu?this.jm(t.mm_1,t.om()):this.im(null==t||null!=t?t:Si())}va(t){var r=this.pm(n_(t));if(r===d_())return k;this.qm(r)}qm(t){return this.rm(t)}sm(t){s_(this.fm_1,t)}tm(){var t=(this.fm_1,null);return null==t?super.tm():'"'+t+'":'+super.tm()}um(t,r,n){t.xm(n,r,this)}}class ku extends bu{constructor(t,r){super(t,!0,r)}xn(t){return s_(this.fm_1,t),!0}}class xu extends ku{constructor(t,r){super(t,!1),this.mo_1=Cs(r,this,this)}en(){!function(t,r){try{to(Ss(t),k),k}catch(t){if(!(t instanceof Error))throw t;so(r,t),k}}(this.mo_1,this)}}class ju extends bu{constructor(t,r){super(t,!0,!0),this.qo_1=r}vn(){return!0}rm(t){to(Ss(this.qo_1),i_(t,this.qo_1))}qm(t){this.qo_1.va(i_(t,this.qo_1))}}class qu extends ju{constructor(t,r){super(t,r),this.eo_1=El(0)}rm(t){this.qm(t)}qm(t){if(function(t){for(var r=t.eo_1;;)switch(r.kotlinx$atomicfu$value){case 0:if(t.eo_1.atomicfu$compareAndSet(0,2))return!0;break;case 1:return!1;default:throw fr.l3(pi("Already resumed"))}}(this))return k;to(Ss(this.qo_1),i_(t,this.qo_1))}fo(){if(function(t){for(var r=t.eo_1;;)switch(r.kotlinx$atomicfu$value){case 0:if(t.eo_1.atomicfu$compareAndSet(0,1))return!0;break;case 2:return!1;default:throw fr.l3(pi("Already suspended"))}}(this))return nl();var t=R_(this.bn());if(t instanceof Tu)throw t.mm_1;return null==t||null!=t?t:Si()}}class zu{}class Su{}class Cu{}class Au extends Cu{constructor(t){super(),this.ip_1=t}dq(t,r){}kq(t){return null==t||null!=t?t:Si()}sq(t){var r=t instanceof Tu?t:null;return null==r?null:r.mm_1}uq(){var t=null;try{var r=this.zp(),n=r instanceof qh?r:Si(),i=n.dp_1;n.fp_1;var e=i.ta(),s=this.cq(),a=this.sq(s),l=null==a&&no(this.ip_1)?e.gb(Hl):null;if(null==l||l.hm())if(null!=a){var u=bl(a);i.va(u)}else{var h=this.kq(s);i.va(h)}else{var _=l.fn();this.dq(s,_);var o=bl(mo(_));i.va(o)}}catch(r){if(!(r instanceof Error))throw r;t=r}finally{var f=t;null==f||this.vq(f)}}vq(t){var r=Yu.ns("Fatal exception in coroutines machinery for "+pi(this)+". Please read KDoc to 'handleFatalException' method and report this incident to maintainers",t);s_(this.zp().ta(),r)}}class $u extends Au{constructor(t,r){super(r),this.vo_1=t,this.wo_1=this.vo_1.ta(),this.xo_1=El(536870911),this.yo_1=Al(Il),this.zo_1=Al(null)}zp(){return this.vo_1}ta(){return this.wo_1}bn(){return this.yo_1.kotlinx$atomicfu$value}cn(){var t=this.bn();return!(null!=t&&pe(t,Eu))}aq(){var t=Yh(this);if(null==t)return k;var r=t;this.cn()&&(r.bq(),this.zo_1.kotlinx$atomicfu$value=Ul)}cq(){return this.bn()}dq(t,r){for(var n=this.yo_1;;){var i=n.kotlinx$atomicfu$value;if(null!=i&&pe(i,Eu))throw fr.l3(pi("Not completed"));if(i instanceof Tu)return k;if(i instanceof Lu){if(i.vp())throw fr.l3(pi("Must be called at most once"));var e=i.wp(b,b,b,b,r);if(this.yo_1.atomicfu$compareAndSet(i,e))return i.eq(this,r),k}else if(this.yo_1.atomicfu$compareAndSet(i,new Lu(i,b,b,b,r)))return k}return k}ro(t){for(var r=this.yo_1;;){var n,i=r.kotlinx$atomicfu$value;if(null==i||!pe(i,Eu))return!1;n=!!pe(i,Iu)||i instanceof xh;var e=new Hu(this,t,n);if(this.yo_1.atomicfu$compareAndSet(i,e))return pe(i,Iu)?this.up(i,t):i instanceof xh&&Jh(this,i,t),r_(this),Qh(this,this.ip_1),!0}}fq(t){if(function(t,r){if(!Wh(t))return!1;var n=t.vo_1;return(n instanceof qh?n:Si()).jp(r)}(this,t))return k;this.ro(t),r_(this)}up(t,r){var n;try{t.gq(r),n=k}catch(t){if(!(t instanceof Error))throw t;var i=t;s_(this.ta(),Ju.op("Exception in invokeOnCancellation handler for "+this.toString(),i)),n=k}return n}hq(t,r,n){try{t(r,n,this.ta())}catch(t){if(!(t instanceof Error))throw t;var i=t;s_(this.ta(),Ju.op("Exception in resume onCancellation handler for "+this.toString(),i))}}iq(t){return t.fn()}fo(){var t=Wh(this);if(function(t){for(var r=t.xo_1;;){var n=r.kotlinx$atomicfu$value;switch(n>>29){case 0:var i=(1<<29)+(536870911&n)|0;if(t.xo_1.atomicfu$compareAndSet(n,i))return!0;break;case 2:return!1;default:throw fr.l3(pi("Already suspended"))}}}(this))return null==Vh(this)&&Yh(this),t&&this.jq(),nl();t&&this.jq();var r=this.bn();if(r instanceof Tu)throw mo(r.mm_1);if(no(this.ip_1)){var n=this.ta().gb(Hl);if(null!=n&&!n.hm()){var i=n.fn();throw this.dq(r,i),mo(i)}}return this.kq(r)}jq(){var t=this.vo_1,r=t instanceof qh?t:null,n=null==r?null:r.lq(this);if(null==n)return k;var i=n;this.yp(),this.ro(i)}va(t){return this.mq(null==(n=yl(r=t))?null==r||null!=r?r:Si():new Tu(mo(n)),this.ip_1);var r,n}to(t){return function(t,r){if(!(t instanceof $u))throw wr.d8("third-party implementation of CancellableContinuation is not supported");return t.ap(r),k}(this,new Mu(t))}ap(t){return function(t,r){for(var n=t.yo_1;;){var i=n.kotlinx$atomicfu$value;if(i instanceof Nu){if(t.yo_1.atomicfu$compareAndSet(i,r))return k}else if(null!=i&&pe(i,Iu)||i instanceof xh)Zh(0,r,i);else{if(i instanceof Tu){if(i.xp()||Zh(0,r,i),i instanceof Hu){var e=i instanceof Tu?i:null,s=null==e?null:e.mm_1;pe(r,Iu)?t.up(r,s):Jh(t,r instanceof xh?r:Si(),s)}return k}if(i instanceof Lu){if(null!=i.qp_1&&Zh(0,r,i),r instanceof xh)return k;if(pe(r,Iu)||Si(),i.vp())return t.up(r,i.tp_1),k;var a=i.wp(b,r);if(t.yo_1.atomicfu$compareAndSet(i,a))return k}else{if(r instanceof xh)return k;pe(r,Iu)||Si();var l=new Lu(i,r);if(t.yo_1.atomicfu$compareAndSet(i,l))return k}}}}(this,t)}nq(t,r,n){for(var i=this.yo_1;;){var e=i.kotlinx$atomicfu$value;t:{if(null!=e&&pe(e,Eu)){var s=Xh(0,e,t,r,n,null);if(!this.yo_1.atomicfu$compareAndSet(e,s))break t;return r_(this),Qh(this,r),k}if(e instanceof Hu&&e.rq())return null==n||this.hq(n,e.mm_1,t),k;t_(0,t)}}}mq(t,r,n,i){var e;return n=n===b?null:n,i===b?(this.nq(t,r,n),e=k):e=i.nq.call(this,t,r,n),e}yp(){var t=Vh(this);if(null==t)return k;t.bq(),this.zo_1.kotlinx$atomicfu$value=Ul}kq(t){var r;if(t instanceof Lu){var n=t.pp_1;r=null==n||null!=n?n:Si()}else r=null==t||null!=t?t:Si();return r}sq(t){var r=super.sq(t);return null==r?null:mo(r,this.vo_1)}toString(){return this.tq()+"("+fo(this.vo_1)+"){"+((null!=(t=this.bn())&&pe(t,Eu)?"Active":t instanceof Hu?"Cancelled":"Completed")+"}@")+ho(this);var t}tq(){return"CancellableContinuation"}}class Eu{}class Iu{}class Mu{constructor(t){this.wq_1=t}gq(t){this.wq_1(t)}toString(){return"CancelHandler.UserSupplied["+uo(this.wq_1)+"@"+ho(this)+"]"}}class Nu{toString(){return"Active"}}class Lu{constructor(t,r,n,i,e){r=r===b?null:r,n=n===b?null:n,i=i===b?null:i,e=e===b?null:e,this.pp_1=t,this.qp_1=r,this.rp_1=n,this.sp_1=i,this.tp_1=e}vp(){return!(null==this.tp_1)}eq(t,r){var n=this.qp_1;null==n||t.up(n,r);var i=this.rp_1;null==i||t.hq(i,r,this.pp_1)}xq(t,r,n,i,e){return new Lu(t,r,n,i,e)}wp(t,r,n,i,e,s){return t=t===b?this.pp_1:t,r=r===b?this.qp_1:r,n=n===b?this.rp_1:n,i=i===b?this.sp_1:i,e=e===b?this.tp_1:e,s===b?this.xq(t,r,n,i,e):s.xq.call(this,t,r,n,i,e)}toString(){return"CompletedContinuation(result="+Wn(this.pp_1)+", cancelHandler="+Wn(this.qp_1)+", onCancellation="+Wn(this.rp_1)+", idempotentResume="+Wn(this.sp_1)+", cancelCause="+Wn(this.tp_1)+")"}hashCode(){var t=null==this.pp_1?0:di(this.pp_1);return t=du(t,31)+(null==this.qp_1?0:di(this.qp_1))|0,t=du(t,31)+(null==this.rp_1?0:di(this.rp_1))|0,t=du(t,31)+(null==this.sp_1?0:di(this.sp_1))|0,du(t,31)+(null==this.tp_1?0:di(this.tp_1))|0}equals(t){if(this===t)return!0;if(!(t instanceof Lu))return!1;var r=t instanceof Lu?t:Si();return!!(wi(this.pp_1,r.pp_1)&&wi(this.qp_1,r.qp_1)&&wi(this.rp_1,r.rp_1)&&wi(this.sp_1,r.sp_1)&&wi(this.tp_1,r.tp_1))}}class Pu{constructor(){this.kr_1=this,this.lr_1=this,this.mr_1=!1}nr(t,r){var n,i=this.lr_1;return i instanceof Fh?n=!(i.wz_1&r)&&i.nr(t,r):(t.kr_1=this,t.lr_1=i,i.kr_1=t,this.lr_1=t,n=!0),n}us(t){this.nr(new Fh(t),t)}or(){if(this.mr_1)return!1;var t=this.lr_1,r=this.kr_1;return t.kr_1=r,r.lr_1=t,this.mr_1=!0,!0}pr(t){return this.kr_1===this&&(this.nr(t,-2147483648),!0)}}class Ou{}class Du extends Pu{ir(){var t=this.hr_1;if(null!=t)return t;!function(t){throw qr.b4("lateinit property job has not been initialized")}()}hm(){return!0}jr(){return null}bq(){return this.ir().ln(this)}toString(){return uo(this)+"@"+ho(this)+"[job@"+ho(this.ir())+"]"}}class Ru extends Du{constructor(t){super(),this.cr_1=t}dr(){return!0}gq(t){this.cr_1.fq(this.cr_1.iq(this.ir()))}}class Tu{constructor(t,r){r=r!==b&&r,this.mm_1=t,this.nm_1=$l(r)}om(){return this.nm_1.kotlinx$atomicfu$value}xp(){return this.nm_1.atomicfu$compareAndSet(!1,!0)}toString(){return uo(this)+"["+this.mm_1.toString()+"]"}}class Hu extends Tu{constructor(t,r,n){super(null==r?cr.ub("Continuation "+pi(t)+" was cancelled normally"):r,n),this.qq_1=$l(!1)}rq(){return this.qq_1.atomicfu$compareAndSet(!1,!0)}}class Uu extends pn{constructor(){Ml=null,super(K,e_),Ml=this}}class Fu extends mn{constructor(){Ml===b&&new Uu,super(K)}rr(t){return!0}hb(t){return new qh(this,t)}ib(t){(t instanceof qh?t:Si()).tr()}toString(){return uo(this)+"@"+ho(this)}}class Bu{}class Ku{gm(){return Qa()}}class Gu extends mt{xm(t,r,n){var i;switch(this.j2_1){case 0:eo(t,r,n),i=k;break;case 2:!function(t,r,n){var i=Ss(Cs(t,r,n)),e=k;i.va(e)}(t,r,n),i=k;break;case 3:!function(t,r,n){var i,e=n;try{e.ta(),i=As(t,r,e)}catch(t){if(t instanceof Error){var s=bl(t);return e.va(s),k}throw t}var a=i;if(a!==nl()){var l=null==a||null!=a?a:Si();e.va(l)}}(t,r,n),i=k;break;case 1:i=k;break;default:!function(){throw xr.t3()}()}return i}zn(){return this===(l_(),Ol)}}class Vu extends Fu{constructor(){super(),this.wr_1=new yt(0,0),this.xr_1=!1,this.yr_1=null}zr(){var t=this.yr_1;if(null==t)return!1;var r=t.ef();return null!=r&&(r.uq(),!0)}as(t){var r,n=this.yr_1;if(null==n){var i=Vr.af();this.yr_1=i,r=i}else r=n;r.cf(t)}bs(){return this.wr_1.k1(u_(0,!0))>=0}cs(){var t=this.yr_1,r=null==t?null:t.x();return null==r||r}ds(t){this.wr_1=this.wr_1.q2(u_(0,t)),t||(this.xr_1=!0)}es(t){if(this.wr_1=this.wr_1.r2(u_(0,t)),this.wr_1.k1(new yt(0,0))>0)return k;this.xr_1&&this.fs()}fs(){}}class Wu{constructor(){Tl=this,this.gs_1=(new Sh("ThreadLocalEventLoop"),new Bh)}hs(){var t,r=this.gs_1.js();if(null==r){var n=new Mh;h_().gs_1.ks(n),t=n}else t=r;return t}}class Ju extends or{static op(t,r){var n=this.hc(t,r);return bi(n,n.np_1),n}}class Yu extends pr{static ns(t,r){var n=this.lc(t,r);return bi(n,n.ms_1),n}}class Zu{}class Qu{an(){return null}bq(){}qn(t){return!1}toString(){return"NonDisposableHandle"}}class Xu{constructor(t){this.ps_1=t}hm(){return this.ps_1}jr(){return null}toString(){return"Empty{"+(this.ps_1?"Active":"New")+"}"}}class th extends Pu{}class rh extends th{hm(){return!0}jr(){return this}ts(t){var r=Or.j();r.t9("List{"),r.t9(t),r.t9("}[");for(var n=!0,i=this.kr_1;!wi(i,this);){var e=i;e instanceof Du&&(n?n=!1:r.t9(", "),r.s9(e)),i=i.kr_1}return r.t9("]"),r.toString()}toString(){return lo()?this.ts("Active"):super.toString()}}class nh{}class ih extends nh{constructor(t,r,n){super(),this.vs_1=t,this.ws_1=$l(r),this.xs_1=Al(n),this.ys_1=Al(null)}jr(){return this.vs_1}tt(t){this.ws_1.kotlinx$atomicfu$value=t}pt(){return this.ws_1.kotlinx$atomicfu$value}ut(t){this.xs_1.kotlinx$atomicfu$value=t}st(){return this.xs_1.kotlinx$atomicfu$value}qt(){return k_(this)===g_()}ft(){return!(null==this.st())}hm(){return null==this.st()}gt(t){var r,n=k_(this);if(null==n)r=x_();else if(n instanceof Error){var i=x_();i.h(n),r=i}else{if(!(n instanceof Lt)){var e="State is "+Wn(n);throw fr.l3(pi(e))}r=n instanceof Lt?n:Si()}var s=r,a=this.st();return null==a||s.u1(0,a),null==t||wi(t,a)||s.h(t),b_(this,g_()),s}rt(t){var r=this.st();if(null==r)return this.ut(t),k;if(t===r)return k;var n=k_(this);if(null==n)b_(this,t);else if(n instanceof Error){if(t===n)return k;var i=x_();i.h(n),i.h(t),b_(this,i)}else{if(!(n instanceof Lt)){var e="State is "+Wn(n);throw fr.l3(pi(e))}(n instanceof Lt?n:Si()).h(t)}}toString(){return"Finishing[cancelling="+this.ft()+", completing="+this.pt()+", rootCause="+Wn(this.st())+", exceptions="+Wn(k_(this))+", list="+this.vs_1.toString()+"]"}}class eh extends Du{constructor(t,r,n,i){super(),this.zt_1=t,this.au_1=r,this.bu_1=n,this.cu_1=i}dr(){return!1}gq(t){!function(t,r,n,i){var e=P_(n);if(null!=e&&L_(t,r,e,i))return k;r.vs_1.us(2);var s=P_(n);if(null!=s&&L_(t,r,s,i))return k;var a=q_(t,r,i);t.rm(a)}(this.zt_1,this.au_1,this.bu_1,this.cu_1)}}class sh{constructor(t){this.zs_1=t}du(t,r){return $s(j_.bind(b,this,t),r)}cc(t,r){return this.du(t instanceof nn?t:Si(),r)}}class ah{constructor(t){this.ot_1=t}jr(){return this.ot_1}hm(){return!1}toString(){return lo()?this.ot_1.ts("New"):yi(this)}}class lh extends Du{constructor(t){super(),this.iu_1=t}dr(){return!1}gq(t){return this.iu_1(t)}}class uh extends Du{constructor(t){super(),this.nu_1=t,this.ou_1=$l(!1)}dr(){return!0}gq(t){this.ou_1.atomicfu$compareAndSet(!1,!0)&&this.nu_1(t)}}class hh extends Du{constructor(t){super(),this.et_1=t}an(){return this.ir()}dr(){return!0}gq(t){return this.et_1.pn(this.ir())}qn(t){return this.ir().qn(t)}}class _h{constructor(t){this.pu_1=t}}class oh extends gu{constructor(t){super(!0),this.cm(t),this.su_1=function(t){var r=t.zm(),n=r instanceof hh?r:null,i=null==n?null:n.ir();if(null==i)return!1;for(var e=i;;){if(e.wn())return!0;var s=e.zm(),a=s instanceof hh?s:null,l=null==a?null:a.ir();if(null==l)return!1;e=l}}(this)}mn(){return!0}wn(){return this.su_1}}class fh extends Fu{toString(){var t=this.vu();return null==t?uo(this)+"@"+ho(this):t}vu(){var t,r=co().av();if(this===r)return"Dispatchers.Main";try{t=r.uu()}catch(r){if(!(r instanceof wr))throw r;t=null}return this===t?"Dispatchers.Main.immediate":null}}class ch extends cr{}class vh extends Fu{constructor(){Zl=null,super(),Zl=this}rr(t){return!1}sr(t,r){var n=t.gb(Ql);if(null!=n)return n.dv_1=!0,k;throw wr.d8("Dispatchers.Unconfined.dispatch function can only be used by the yield function. If you wrap Unconfined dispatcher in your code, make sure you properly delegate isDispatchNeeded and dispatch calls.")}toString(){return"Dispatchers.Unconfined"}}class wh{}class dh{}class ph extends nh{constructor(){super(),this.rv_1=null,this.sv_1=0,this.tv_1=0,this.uv_1=null}fw(){var t,r,n=this.rv_1;if(null==n){var i=this.qw(2);this.rv_1=i,r=i}else{var e;if(this.sv_1>=n.length){var s=Me(n,du(2,n.length));this.rv_1=s,e=s}else e=n;r=e}var a,l=r,u=this.tv_1;t:for(;;){var h,_=l[u];if(null==_){var o=this.pw();l[u]=o,h=o}else h=_;if(a=h,(u=u+1|0)>=l.length&&(u=0),(a instanceof gh?a:Si()).sw(this))break t}this.tv_1=u,this.sv_1=this.sv_1+1|0;var f=a;return null==(t=this.uv_1)||t.kx(1),f}lw(t){var r;this.sv_1=this.sv_1-1|0,r=this.uv_1,0===this.sv_1&&(this.tv_1=0);for(var n=(t instanceof gh?t:Si()).uw(this),i=0,e=n.length;i"}}class Ch extends Fu{constructor(){super(),this.gy_1=new Eh(this)}sr(t,r){this.gy_1.wy(r)}}class Ah extends Ch{constructor(){ou=null,super(),ou=this}zx(){process.nextTick(this.gy_1.ey_1)}}class $h{constructor(){this.hy_1=Vr.af(),this.iy_1=16,this.jy_1=!1}oy(t){return this.hy_1.h(t)}h(t){return this.oy(null!=t&&pe(t,Su)?t:Si())}py(t,r){this.hy_1.u1(t,r)}u1(t,r){return this.py(t,null!=r&&pe(r,Su)?r:Si())}qy(t,r){return this.hy_1.r1(t,r)}r1(t,r){return this.qy(t,r)}ry(t){return this.hy_1.r(t)}r(t){return this.ry(t)}s1(){this.hy_1.s1()}sy(t){return this.hy_1.q1(t)}q1(t){return!(null==t||!pe(t,Su))&&this.sy(null!=t&&pe(t,Su)?t:Si())}v1(t){return this.hy_1.v1(t)}ty(t,r){return this.hy_1.t1(t,r)}t1(t,r){return this.ty(t,null!=r&&pe(r,Su)?r:Si())}o1(t,r){return this.hy_1.o1(t,r)}uy(t){return this.hy_1.o(t)}o(t){return!(null==t||!pe(t,Su))&&this.uy(null!=t&&pe(t,Su)?t:Si())}s(t){return this.hy_1.s(t)}vy(t){return this.hy_1.a1(t)}a1(t){return null!=t&&pe(t,Su)?this.vy(null!=t&&pe(t,Su)?t:Si()):-1}x(){return this.hy_1.x()}l(){return this.hy_1.l()}p(){return this.hy_1.xe_1}wy(t){this.oy(t),this.jy_1||(this.jy_1=!0,this.ly())}ky(){try{var t=this.iy_1,r=0;if(r(this.ky(),k)}ly(){this.dy_1.zx()}my(){setTimeout(this.ey_1,0)}ny(t){setTimeout(this.ey_1,t)}}class Ih extends $h{constructor(t){super(),this.az_1=t,this.bz_1="dispatchCoroutine",this.az_1.addEventListener("message",(t=>(t.source==this.az_1&&t.data==this.bz_1&&(t.stopPropagation(),this.ky()),k)),!0)}ly(){Promise.resolve(k).then((t=>(this.ky(),k)))}my(){this.az_1.postMessage(this.bz_1,"*")}}class Mh extends Vu{sr(t,r){!function(){throw wr.d8("runBlocking event loop is not supported")}()}}class Nh extends Ch{constructor(){fu=null,super(),fu=this}zx(){this.gy_1.ny(0)}}class Lh extends Fu{constructor(t){super(),this.jz_1=t,this.kz_1=new Ih(this.jz_1)}sr(t,r){return this.kz_1.wy(r)}}class Ph extends ju{qm(t){return this.qo_1.va(i_(t,this.qo_1))}}class Oh{constructor(){cu=this,this.wu_1="undefined"!=typeof navigator&&null!=navigator&&null!=navigator.userAgent&&void 0!==navigator.userAgent&&void 0!==navigator.userAgent.match&&navigator.userAgent.match("\\bjsdom\\b")?_o():"undefined"!=typeof window&&null!=window&&void 0!==window.addEventListener?function(t){var r,n=t.coroutineDispatcher;if(null==n){var i=new Lh(t);t.coroutineDispatcher=i,r=i}else r=n;return r}(window):"undefined"==typeof process||void 0===process.nextTick?(fu===b&&new Nh,fu):_o(),this.xu_1=(Zl===b&&new vh,Zl),this.yu_1=new Dh(this.wu_1,!1),this.zu_1=null}av(){var t=this.zu_1;return null==t?this.yu_1:t}}class Dh extends fh{constructor(t,r){super(),this.qz_1=t,this.rz_1=r,this.sz_1=this.rz_1?this:new Dh(this.qz_1,!0)}uu(){return this.sz_1}rr(t){return!this.rz_1}sr(t,r){return this.qz_1.sr(t,r)}toString(){var t=this.vu();return null==t?this.qz_1.toString():t}}class Rh extends cr{static nt(t,r,n){var i=this.vb(t,r);return bi(i,i.mt_1),i.lt_1=n,i}toString(){return super.toString()+"; job="+pi(this.lt_1)}equals(t){return t===this||!!(t instanceof Rh&&t.message==this.message&&wi(t.lt_1,this.lt_1))&&wi(t.cause,this.cause)}hashCode(){var t=du(du(gi(zi(this.message)),31)+di(this.lt_1)|0,31),r=this.cause,n=null==r?null:di(r);return t+(null==n?0:n)|0}}class Th{constructor(t,r){this.lx_1=t,this.mx_1=r,this.nx_1=this.mx_1.og(0,wo),this.ox_1=null}ev(t,r){return $s(vo.bind(b,this,t),r)}eb(){}}class Hh{constructor(t){this.vw_1=t}js(){return this.vw_1}px(t){this.vw_1=t}xw(t){var r=this.vw_1;return this.vw_1=t,r}ww(t,r){return this.vw_1===t&&(this.vw_1=r,!0)}}class Uh extends or{static tx(t){var r=this.r8(pi(t));return bi(r,r.sx_1),r}}class Fh extends Pu{constructor(t){super(),this.wz_1=t}}class Bh{constructor(){this.is_1=null}js(){var t=this.is_1;return null==t||null!=t?t:Si()}ks(t){this.is_1=t}}function Kh(t,r,n,i){r=r===b?Qa():r,n=n===b?(l_(),Pl):n;var e=function(t,r){var n=t.gm().pg(r);return n!==co().wu_1&&null==n.gb(K)?n.pg(co().wu_1):n}(t,r),s=n.zn()?new xu(e,i):new ku(e,!0);return s.um(n,s,i),s}function Gh(t,r,n){var i,e,s=n.ta(),a=(e=t,s.pg(e));if(__(a),a!==s)if(wi(a.gb(K),s.gb(K))){var l=new Ph(a,n);l.fm_1,i=ao(l,l,r)}else{var u=new qu(a,n);eo(r,u,u),i=u.fo()}else{var h=new ju(a,n);i=ao(h,h,r)}return i}function Vh(t){return t.zo_1.kotlinx$atomicfu$value}function Wh(t){var r;if(2===t.ip_1){var n=t.vo_1;r=(n instanceof qh?n:Si()).hp()}else r=!1;return r}function Jh(t,r,n){var i=536870911&t.xo_1.kotlinx$atomicfu$value;if(536870911===i)throw fr.l3(pi("The index for Segment.onCancellation(..) is broken"));try{r.kp(i,n,t.ta())}catch(r){if(!(r instanceof Error))throw r;var e=r;s_(t.ta(),Ju.op("Exception in invokeOnCancellation handler for "+t.toString(),e))}}function Yh(t){var r=t.ta().gb(Hl);if(null==r)return null;var n=o_(r,b,new Ru(t));return t.zo_1.atomicfu$compareAndSet(null,n),n}function Zh(t,r,n){var i="It's prohibited to register multiple handlers, tried to register "+pi(r)+", already has "+Wn(n);throw fr.l3(pi(i))}function Qh(t,r){if(function(t){for(var r=t.xo_1;;){var n=r.kotlinx$atomicfu$value;switch(n>>29){case 0:var i=(2<<29)+(536870911&n)|0;if(t.xo_1.atomicfu$compareAndSet(n,i))return!0;break;case 1:return!1;default:throw fr.l3(pi("Already resumed"))}}}(t))return k;!function(t,r){var n=t.zp(),i=4===r;if(!!(!i&&n instanceof qh)&&no(r)===no(t.ip_1)){var e=n.cp_1,s=n.ta();e.rr(s)?e.sr(s,t):function(t){var r=h_().hs();if(r.bs())r.as(t);else{r.ds(!0);try{for(io(t,t.zp(),!0);r.zr(););}catch(r){if(!(r instanceof Error))throw r;var n=r;t.vq(n)}finally{r.es(!0)}}}(t)}else io(t,n,i)}(t,r)}function Xh(t,r,n,i,e,s){return n instanceof Tu||!no(i)&&null==s||null==e&&!pe(r,Iu)&&null==s?n:new Lu(n,pe(r,Iu)?r:null,e,s)}function t_(t,r){var n="Already resumed, but proposed with update "+Wn(r);throw fr.l3(pi(n))}function r_(t){Wh(t)||t.yp()}function n_(t){var r=yl(t);return null==r?null==t||null!=t?t:Si():new Tu(r)}function i_(t,r){return t instanceof Tu?bl(mo(t.mm_1)):null==t||null!=t?t:Si()}function e_(t){return t instanceof Fu?t:null}function s_(t,r){try{var n=t.gb(Nl);if(null!=n)return n.ur(t,r),k}catch(n){if(n instanceof Error)return Z_(t,a_(r,n)),k;throw n}Z_(t,r)}function a_(t,r){if(t===r)return t;var n=or.hc("Exception while trying to handle coroutine exception",r);return ya(n,t),n}function l_(){if(Rl)return k;Rl=!0,Pl=new Gu("DEFAULT",0),Ol=new Gu("LAZY",1),new Gu("ATOMIC",2),Dl=new Gu("UNDISPATCHED",3)}function u_(t,r){return r?new yt(0,1):new yt(1,0)}function h_(){return Tl===b&&new Wu,Tl}function __(t){var r=t.gb(Hl);null==r||f_(r)}function o_(t,r,n){var i,e,s;if(r=r===b||r,t instanceof gu)i=t.kn(r,n);else{var a=n.dr();i=t.jn(a,r,(e=n,(s=t=>(e.gq(t),k)).callableName="invoke",s))}return i}function f_(t){if(!t.hm())throw t.fn()}function c_(t){return new oh(t=t===b?null:t)}function v_(t){var r=t.gb(Hl);if(null==r){var n="Current context doesn't contain Job in it: "+pi(t);throw fr.l3(pi(n))}return r}function w_(){return T_(),Fl}function d_(){return T_(),Bl}function p_(){return T_(),Kl}function m_(){return T_(),Gl}function g_(){return T_(),Vl}function y_(){return T_(),Jl}function b_(t,r){t.ys_1.kotlinx$atomicfu$value=r}function k_(t){return t.ys_1.kotlinx$atomicfu$value}function x_(t){return Lt.q(4)}function*j_(t,r,n){var i=t.zs_1.bn();if(i instanceof hh){var e=r.eg(i.et_1,n);e===nl()&&(e=yield e)}else if(null!=i&&pe(i,Ou)){var s=i.jr();if(null==s);else for(var a=s.kr_1;!wi(a,s);){var l=a;if(l instanceof hh){var u=r.eg(l.et_1,n);u===nl()&&(u=yield u)}a=a.kr_1}}return k}function q_(t,r,n){var i,e=n instanceof Tu?n:null,s=null==e?null:e.mm_1;i=r.ft();var a=r.gt(s),l=function(t,r,n){if(n.x())return r.ft()?Rh.nt(t.km(),null,t):null;var i;t:{for(var e=n.l();e.m();){var s=e.n();if(!(s instanceof cr)){i=s;break t}}i=null}if(null!=i)return i;var a=n.s(0);if(a instanceof ch){var l;t:{for(var u=n.l();u.m();){var h=u.n();if(h!==a&&h instanceof ch){l=h;break t}}l=null}if(null!=l)return l}return a}(t,r,a);null!=l&&function(t,r,n){if(n.p()<=1)return k;for(var i,e=(i=n.p(),Kt.z(i)),s=r,a=n.l();a.m();){var l=a.n();!(l===r||l===s||l instanceof cr)&&e.h(l)&&ya(r,l)}}(0,l,a);var u=l,h=null==u||u===s?n:new Tu(u);return null!=u&&(C_(t,u)||t.xn(u))&&(h instanceof Tu?h:Si()).xp(),i||t.un(u),t.lm(h),t.am_1.atomicfu$compareAndSet(r,D_(h)),z_(t,r,h),h}function z_(t,r,n){var i=t.zm();null==i||(i.bq(),t.ym(Ul));var e=n instanceof Tu?n:null,s=null==e?null:e.mm_1;if(r instanceof Du)try{r.gq(s)}catch(n){if(!(n instanceof Error))throw n;var a=n;t.sm(Ju.op("Exception in completion handler "+r.toString()+" for "+t.toString(),a))}else{var l=r.jr();null==l||function(t,r,n){t.us(1);for(var i=null,e=t.kr_1;!wi(e,t);){var s=e;if(s instanceof Du)try{s.gq(n)}catch(t){if(!(t instanceof Error))throw t;var a,l=t,u=i;null==u?a=null:(ya(u,l),a=u),null==a&&(i=Ju.op("Exception in completion handler "+s.toString()+" for "+r.toString(),l))}e=e.kr_1}var h=i;null==h||r.sm(h)}(l,t,s)}}function S_(t,r,n){t.un(n),r.us(4);for(var i=null,e=r.kr_1;!wi(e,r);){var s=e;if(s instanceof Du&&s.dr())try{s.gq(n)}catch(r){if(!(r instanceof Error))throw r;var a,l=r,u=i;null==u?a=null:(ya(u,l),a=u),null==a&&(i=Ju.op("Exception in completion handler "+s.toString()+" for "+t.toString(),l))}e=e.kr_1}var h=i;null==h||t.sm(h),C_(t,n)}function C_(t,r){if(t.vn())return!0;var n=r instanceof cr,i=t.zm();return null===i||i===Ul?n:i.qn(r)||n}function A_(t,r){var n=new rh,i=r.ps_1?n:new ah(n);t.am_1.atomicfu$compareAndSet(r,i)}function $_(t,r){r.pr(new rh);var n=r.kr_1;t.am_1.atomicfu$compareAndSet(r,n)}function E_(t,r){return null==r||r instanceof Error?null==r?Rh.nt(t.km(),null,t):r:(null!=r&&pe(r,mu)?r:Si()).sn()}function I_(t,r){var n,i=r.jr();if(null==i){var e;if(r instanceof Xu)e=new rh;else{if(!(r instanceof Du)){var s="State should have list: "+pi(r);throw fr.l3(pi(s))}$_(t,r),e=null}n=e}else n=i;return n}function M_(t,r,n){var i=I_(t,r);if(null==i)return!1;var e=i,s=new ih(e,!1,n);return!!t.am_1.atomicfu$compareAndSet(r,s)&&(S_(t,e,n),!0)}function N_(t,r,n){return null!=r&&pe(r,Ou)?!(r instanceof Xu||r instanceof Du)||r instanceof hh||n instanceof Tu?function(t,r,n){var i=I_(t,r);if(null==i)return p_();var e,s=i,a=r instanceof ih?r:null,l=null==a?new ih(s,!1,null):a;if(l.pt())return w_();if(l.tt(!0),l!==r&&!t.am_1.atomicfu$compareAndSet(r,l))return p_();var u=l.ft(),h=n instanceof Tu?n:null;null==h||l.rt(h.mm_1);var _=l.st();null==(e=u?null:_)||S_(t,s,e);var o=P_(s);if(null!=o&&L_(t,l,o,n))return d_();s.us(2);var f=P_(s);return null!=f&&L_(t,l,f,n)?d_():q_(t,l,n)}(t,r,n):function(t,r,n){return!!t.am_1.atomicfu$compareAndSet(r,D_(n))&&(t.un(null),t.lm(n),z_(t,r,n),!0)}(t,r,n)?n:p_():w_()}function L_(t,r,n,i){for(var e=t,s=r,a=n,l=i;;){if(o_(a.et_1,!1,new eh(e,s,a,l))!==Ul)return!0;var u=P_(a);if(null==u)return!1;a=u}}function P_(t,r){for(var n=t;n.mr_1;)n=n.lr_1;for(;;)if(!(n=n.kr_1).mr_1){if(n instanceof hh)return n;if(n instanceof rh)return null}}function O_(t,r){return r instanceof ih?r.ft()?"Cancelling":r.pt()?"Completing":"Active":null!=r&&pe(r,Ou)?r.hm()?"Active":"New":r instanceof Tu?"Cancelled":"Completed"}function D_(t){return T_(),null!=t&&pe(t,Ou)?new _h(t):t}function R_(t){T_();var r=t instanceof _h?t:null,n=null==r?null:r.pu_1;return null==n?t:n}function T_(){Yl||(Yl=!0,Fl=new Sh("COMPLETING_ALREADY"),Bl=new Sh("COMPLETING_WAITING_CHILDREN"),Kl=new Sh("COMPLETING_RETRY"),Gl=new Sh("TOO_LATE_TO_CANCEL"),Vl=new Sh("SEALED"),Wl=new Xu(!1),Jl=new Xu(!0))}function H_(){return G_(),Xl}function U_(){return G_(),tu}function F_(t){return G_(),new mh(null==t?V_():t)}function B_(t,r,n){var i,e,s=t.bw_1.kotlinx$atomicfu$value;if(null!=r&&!wi(s,r))return!1;if(wi(s,n))return!0;if(t.bw_1.kotlinx$atomicfu$value=n,1&(i=t.cw_1))return t.cw_1=i+2|0,!0;for(i=i+1|0,t.cw_1=i,e=t.rv_1;;){var a=e;if(null==a);else for(var l=0,u=a.length;l{var i=n.x1(),e=t.mx_1.gb(i);if(i!==Hl)return n!==e?-2147483648:r+1|0;var s=null==e||pe(e,pu)?e:Si(),a=function(t,r){for(var n=t,i=r;;){if(null===n)return null;if(n===i)return n;if(!(n instanceof ju))return n;var e=n.an();n=e}}(pe(n,pu)?n:Si(),s);if(a!==s){var l="Flow invariant is violated:\n\t\tEmission from another coroutine is detected.\n\t\tChild of "+Wn(a)+", expected child of "+Wn(s)+".\n\t\tFlowCollector is not thread-safe and concurrent emissions are prohibited.\n\t\tTo mitigate this restriction please use 'channelFlow' builder instead of 'flow'";throw fr.l3(pi(l))}return null==s?r:r+1|0}));if(n!==t.nx_1){var i="Flow invariant is violated:\n\t\tFlow was collected in "+pi(t.mx_1)+",\n\t\tbut emission happened in "+pi(r)+".\n\t\tPlease refer to 'flow' documentation or use 'flowOn' instead";throw fr.l3(pi(i))}}(t,i),t.ox_1=i);var e=t.lx_1.ev(r,n);return e===nl()&&(e=yield e),k}function wo(t,r){return t+1|0}function po(){wu||(wu=!0,vu=rr.ja())}function mo(t,r){return t}ie(pu,"Job",b,b,[_n],[0]),ie(mu,"ParentJob",b,b,[pu],[0]),ki(gu).pg=hn,ki(gu).gb=on,ki(gu).og=fn,ki(gu).ng=cn,re(gu,"JobSupport",b,b,[pu,mu],[0]),ie(yu,"CoroutineScope"),re(bu,"AbstractCoroutine",b,b,[gu,pu,yu],[0]),re(ku,"StandaloneCoroutine",b,b,b,[0]),re(xu,"LazyStandaloneCoroutine",b,b,b,[0]),re(ju,"ScopeCoroutine",b,b,b,[0]),re(qu,"DispatchedCoroutine",b,b,b,[0]),ie(zu,"CancellableContinuation"),ie(Su,"Runnable"),re(Cu,"SchedulerTask",b,b,[Su]),re(Au,"DispatchedTask"),ki($u).so=function(t,r){return t=t===b?null:t,r===b?this.ro(t):r.ro.call(this,t)},re($u,"CancellableContinuationImpl",b,b,[Au,zu]),ie(Eu,"NotCompleted"),ie(Iu,"CancelHandler",b,b,[Eu]),re(Mu,"UserSupplied",b,b,[Iu]),ne(Nu,"Active",b,b,[Eu]),re(Lu,"CompletedContinuation"),re(Pu,"LockFreeLinkedListNode",Pu),ie(Ou,"Incomplete"),re(Du,"JobNode",b,b,[Pu,Ou]),re(Ru,"ChildContinuation"),re(Tu,"CompletedExceptionally"),re(Hu,"CancelledContinuation"),ne(Uu,"Key"),ki(Fu).gb=function(t){if(t instanceof pn){var r;if(t.mg(this.x1())){var n=t.lg(this);r=null!=n&&pe(n,_n)?n:null}else r=null;return r}return K===t?pe(this,_n)?this:Si():null},ki(Fu).ng=function(t){return t instanceof pn?t.mg(this.x1())&&null!=t.lg(this)?Qa():this:K===t?Qa():this},re(Fu,"CoroutineDispatcher",b,b,[mn,vn]),ne(Bu,"Key"),ne(Ku,"GlobalScope",b,b,[yu]),re(Gu,"CoroutineStart"),re(Vu,"EventLoop"),ne(Wu,"ThreadLocalEventLoop"),re(Ju,"CompletionHandlerException"),re(Yu,"CoroutinesInternalError"),ne(Zu,"Key"),ne(Qu,"NonDisposableHandle"),re(Xu,"Empty",b,b,[Ou]),re(th,"LockFreeLinkedListHead",th),re(rh,"NodeList",rh,b,[th,Ou]),re(nh,"SynchronizedObject",nh),re(ih,"Finishing",b,b,[nh,Ou]),re(eh,"ChildCompletion"),ee(sh,b,b,[1]),re(ah,"InactiveNodeList",b,b,[Ou]),re(lh,"InvokeOnCompletion"),re(uh,"InvokeOnCancelling"),re(hh,"ChildHandleNode"),re(_h,"IncompleteStateBox"),re(oh,"JobImpl",b,b,[gu,pu],[0]),re(fh,"MainCoroutineDispatcher"),re(ch,"TimeoutCancellationException"),ne(vh,"Unconfined"),ne(wh,"Key"),ie(dh,"FlowCollector",b,b,b,[1]),re(ph,"AbstractSharedFlow"),re(mh,"StateFlowImpl",b,b,[ph,dh],[1]),re(gh,"AbstractSharedFlowSlot"),re(yh,"StateFlowSlot",yh,b,b,[0]),re(bh,"SubscribedFlowCollector",b,b,[dh],[1,0]),re(kh,"ConcurrentLinkedListNode"),re(xh,"Segment",b,b,[kh,Eu]),ne(jh,"ExceptionSuccessfullyProcessed"),re(qh,"DispatchedContinuation"),re(zh,"ContextScope",b,b,[yu]),re(Sh,"Symbol"),re(Ch,"SetTimeoutBasedDispatcher",b,b,b,[1]),ne(Ah,"NodeDispatcher",b,b,b,[1]),re($h,"MessageQueue",b,b,[ot]),re(Eh,"ScheduledMessageQueue"),re(Ih,"WindowMessageQueue"),re(Mh,"UnconfinedEventLoop",Mh),ne(Nh,"SetTimeoutDispatcher",b,b,b,[1]),re(Lh,"WindowDispatcher",b,b,b,[1]),re(Ph,"UndispatchedCoroutine",b,b,b,[0]),ne(Oh,"Dispatchers"),re(Dh,"JsMainDispatcher"),re(Rh,"JobCancellationException"),re(Th,"SafeCollector",b,b,[dh],[1]),re(Hh,"WorkaroundAtomicReference"),re(Uh,"DiagnosticCoroutineContextException"),re(Fh,"ListClosed"),re(Bh,"CommonThreadLocal",Bh),Il=new Nu,Nl=new Bu,Ll=new Ku,Hl=new Zu,Ul=new Qu,Ql=new wh,hu=0,_u=!1;var go,yo,bo,ko,xo,jo,qo,zo,So,Co=Math.imul,Ao=Math.clz32;class $o{constructor(){this.sh_1=lf(),this.th_1=rf(),this.uh_1=rf(),this.vh_1=0,this.wh_1=0}di(){return this.vh_1}p(){return this.wh_1}x(){return 0===this.wh_1}s(t){var r=this.gi(t);if(r<0)throw dr.w("Cannot find value for key "+t);return this.uh_1[r]}fi(t){return this.gi(t)>=0}hashCode(){var t=0,r=this.th_1,n=this.uh_1;t:{var i=this.sh_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var l=i[a],u=l;if(!u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var h=8-(~(a-e)>>>31|0)|0,_=0;if(_>>31|0)|0,_=0;if(_>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n[c],w=i[c];t.he(v),t.t9("="),t.he(w),(r=r+1|0)>>7&e,a=0;t:for(;;){for(var l=this.sh_1,u=s>>3,h=(7&s)<<3,_=l[u].z2(h).b3(l[u+1|0].x2(64-h|0).a3(he(h).v2().y2(63))),o=new yt(16843009,16843009).s2(he(i)),f=_.c3(o),c=f.r2(new yt(16843009,16843009)).a3(f.w2()).a3(new yt(-2139062144,-2139062144));!c.equals(new yt(0,0));){var v=s+(Pe(c)>>3)&e;if(this.th_1[v]===t)return v;var w=c;c=w.a3(w.r2(new yt(1,0)))}if(!_.a3(_.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;s=s+(a=a+8|0)&e}return-1}}class Eo extends $o{constructor(t){if(t=t===b?6:t,super(),this.ci_1=0,!(t>=0))throw vr.h1(pi("Capacity must be a positive value."));Zo(this,uf(t))}ei(t,r){var n=function(t,r){var n=Co(r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=t.vh_1,l=e&a,u=0;t:for(;;){for(var h=t.sh_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(t.th_1[d]===r)return d;var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;l=l+(u=u+8|0)&a}var m,g=Qo(t,e);if(0===t.ci_1){var y=g;m=!t.sh_1[y>>3].y2((7&y)<<3).a3(new yt(255,0)).equals(new yt(254,0))}else m=!1;m&&(function(t){if(t.vh_1>8){var r=he(t.wh_1),n=new yt(32,0),i=r.s2(n),e=he(t.vh_1),s=new yt(25,0);Ue(i,e.s2(s))}!function(t,r){var n=t.sh_1,i=t.th_1,e=t.uh_1,s=t.vh_1;Zo(t,r);var a=t.th_1,l=t.uh_1,u=0;if(u>3].y2((7&h)<<3).a3(new yt(255,0)).k1(new yt(128,0))<0){var _=i[h],o=Co(_,-862048943),f=o^o<<16,c=Qo(t,f>>>7|0),v=he(127&f),w=t.sh_1,d=c>>3,p=(7&c)<<3;w[d]=w[d].a3(new yt(255,0).x2(p).w2()).b3(v.x2(p));var m=t.vh_1,g=(c-7&m)+(7&m)|0,y=g>>3,b=(7&g)<<3;w[y]=w[y].a3(new yt(255,0).x2(b).w2()).b3(v.x2(b)),a[c]=_,l[c]=e[h]}}while(u>3].y2((7&j)<<3).a3(new yt(255,0)).equals(new yt(128,0))?1:0,k.ci_1=x-b|0;var q=g,z=he(s),S=t.sh_1,C=q>>3,A=(7&q)<<3;S[C]=S[C].a3(new yt(255,0).x2(A).w2()).b3(z.x2(A));var $=t.vh_1,E=(q-7&$)+(7&$)|0,I=E>>3,M=(7&E)<<3;return S[I]=S[I].a3(new yt(255,0).x2(M).w2()).b3(z.x2(M)),~g}(this,t);n<0&&(n=~n),this.th_1[n]=t,this.uh_1[n]=r}}class Io{constructor(t){var r;r=0===t?rf():new Int32Array(t),this.hi_1=r,this.ii_1=0}p(){return this.ii_1}s(t){if(!(0<=t&&t>>7&s,l=0;r:for(;;){for(var u=this.qi_1,h=a>>3,_=(7&a)<<3,o=u[h].z2(_).b3(u[h+1|0].x2(64-_|0).a3(he(_).v2().y2(63))),f=new yt(16843009,16843009).s2(he(e)),c=o.c3(f),v=c.r2(new yt(16843009,16843009)).a3(c.w2()).a3(new yt(-2139062144,-2139062144));!v.equals(new yt(0,0));){var w=a+(Pe(v)>>3)&s;if(this.ri_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new yt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;a=a+(l=l+8|0)&s}r=-1}var p,m=r;if(m>=0){var g=this.si_1[m];p=null==g||null!=g?g:Si()}else p=null;return p}ej(t){var r;t:{var n=Co(t,-862048943),i=n^n<<16,e=127&i,s=this.ti_1,a=i>>>7&s,l=0;r:for(;;){for(var u=this.qi_1,h=a>>3,_=(7&a)<<3,o=u[h].z2(_).b3(u[h+1|0].x2(64-_|0).a3(he(_).v2().y2(63))),f=new yt(16843009,16843009).s2(he(e)),c=o.c3(f),v=c.r2(new yt(16843009,16843009)).a3(c.w2()).a3(new yt(-2139062144,-2139062144));!v.equals(new yt(0,0));){var w=a+(Pe(v)>>3)&s;if(this.ri_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new yt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;a=a+(l=l+8|0)&s}r=-1}return r>=0}hashCode(){var t=0,r=this.ri_1,n=this.si_1;t:{var i=this.qi_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var l=i[a],u=l;if(!u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var h=8-(~(a-e)>>>31|0)|0,_=0;if(_>>31|0)|0,_=0;if(_>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n[c],w=i[c],d=null==w||null!=w?w:Si();t.he(v),t.t9("="),t.s9(d===this?"(this)":d),(r=r+1|0)=0))throw vr.h1(pi("Capacity must be a positive value."));Xo(this,uf(t))}bj(t,r){var n=function(t,r){var n=Co(r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=t.ti_1,l=e&a,u=0;t:for(;;){for(var h=t.qi_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(t.ri_1[d]===r)return d;var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;l=l+(u=u+8|0)&a}var m,g=tf(t,e);if(0===t.aj_1){var y=g;m=!t.qi_1[y>>3].y2((7&y)<<3).a3(new yt(255,0)).equals(new yt(254,0))}else m=!1;m&&(function(t){if(t.ti_1>8){var r=he(t.ui_1),n=new yt(32,0),i=r.s2(n),e=he(t.ti_1),s=new yt(25,0);Ue(i,e.s2(s))}!function(t,r){var n=t.qi_1,i=t.ri_1,e=t.si_1,s=t.ti_1;Xo(t,r);var a=t.ri_1,l=t.si_1,u=0;if(u>3].y2((7&h)<<3).a3(new yt(255,0)).k1(new yt(128,0))<0){var _=i[h],o=Co(_,-862048943),f=o^o<<16,c=tf(t,f>>>7|0),v=he(127&f),w=t.qi_1,d=c>>3,p=(7&c)<<3;w[d]=w[d].a3(new yt(255,0).x2(p).w2()).b3(v.x2(p));var m=t.ti_1,g=(c-7&m)+(7&m)|0,y=g>>3,b=(7&g)<<3;w[y]=w[y].a3(new yt(255,0).x2(b).w2()).b3(v.x2(b)),a[c]=_,l[c]=e[h]}}while(u>3].y2((7&j)<<3).a3(new yt(255,0)).equals(new yt(128,0))?1:0,k.aj_1=x-b|0;var q=g,z=he(s),S=t.qi_1,C=q>>3,A=(7&q)<<3;S[C]=S[C].a3(new yt(255,0).x2(A).w2()).b3(z.x2(A));var $=t.ti_1,E=(q-7&$)+(7&$)|0,I=E>>3,M=(7&E)<<3;return S[I]=S[I].a3(new yt(255,0).x2(M).w2()).b3(z.x2(M)),g}(this,t);this.ri_1[n]=t,this.si_1[n]=r}cj(t){var r;t:{var n=Co(t,-862048943),i=n^n<<16,e=127&i,s=this.ti_1,a=i>>>7&s,l=0;r:for(;;){for(var u=this.qi_1,h=a>>3,_=(7&a)<<3,o=u[h].z2(_).b3(u[h+1|0].x2(64-_|0).a3(he(_).v2().y2(63))),f=new yt(16843009,16843009).s2(he(e)),c=o.c3(f),v=c.r2(new yt(16843009,16843009)).a3(c.w2()).a3(new yt(-2139062144,-2139062144));!v.equals(new yt(0,0));){var w=a+(Pe(v)>>3)&s;if(this.ri_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new yt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;a=a+(l=l+8|0)&s}r=-1}var p=r;return p>=0?this.dj(p):null}dj(t){this.ui_1=this.ui_1-1|0;var r=new yt(254,0),n=this.qi_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new yt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.ti_1,a=(t-7&s)+(7&s)|0,l=a>>3,u=(7&a)<<3;n[l]=n[l].a3(new yt(255,0).x2(u).w2()).b3(r.x2(u));var h=this.si_1[t];return this.si_1[t]=null,null==h||null!=h?h:Si()}}class Po{constructor(){this.fj_1=lf(),this.gj_1=rf(),this.hj_1=0,this.ij_1=0}di(){return this.hj_1}fi(t){var r;t:{var n=Co(t,-862048943),i=n^n<<16,e=127&i,s=this.hj_1,a=i>>>7&s,l=0;r:for(;;){for(var u=this.fj_1,h=a>>3,_=(7&a)<<3,o=u[h].z2(_).b3(u[h+1|0].x2(64-_|0).a3(he(_).v2().y2(63))),f=new yt(16843009,16843009).s2(he(e)),c=o.c3(f),v=c.r2(new yt(16843009,16843009)).a3(c.w2()).a3(new yt(-2139062144,-2139062144));!v.equals(new yt(0,0));){var w=a+(Pe(v)>>3)&s;if(this.gj_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new yt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;a=a+(l=l+8|0)&s}r=-1}return r>=0}ji(t,r,n,i,e){var s=Or.j();t:{s.k(r);var a=0,l=this.gj_1;r:{var u=this.fj_1,h=u.length-2|0,_=0;if(_<=h)do{var o=_;_=_+1|0;var f=u[o],c=f;if(!c.a3(c.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var v=8-(~(o-h)>>>31|0)|0,w=0;if(w>>31|0)|0,h=0;if(h>>31|0)|0,h=0;if(h=0))throw vr.h1(pi("Capacity must be a positive value."));nf(this,uf(t))}ni(t){var r=this.ij_1,n=function(t,r){var n=Co(r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=t.hj_1,l=e&a,u=0;t:for(;;){for(var h=t.fj_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(t.gj_1[d]===r)return d;var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;l=l+(u=u+8|0)&a}var m,g=ef(t,e);if(0===t.oj_1){var y=g;m=!t.fj_1[y>>3].y2((7&y)<<3).a3(new yt(255,0)).equals(new yt(254,0))}else m=!1;m&&(function(t){if(t.hj_1>8){var r=he(t.ij_1),n=new yt(32,0),i=r.s2(n),e=he(t.hj_1),s=new yt(25,0);Ue(i,e.s2(s))}!function(t,r){var n=t.fj_1,i=t.gj_1,e=t.hj_1;nf(t,r);var s=t.gj_1,a=0;if(a>3].y2((7&l)<<3).a3(new yt(255,0)).k1(new yt(128,0))<0){var u=i[l],h=Co(u,-862048943),_=h^h<<16,o=ef(t,_>>>7|0),f=he(127&_),c=t.fj_1,v=o>>3,w=(7&o)<<3;c[v]=c[v].a3(new yt(255,0).x2(w).w2()).b3(f.x2(w));var d=t.hj_1,p=(o-7&d)+(7&d)|0,m=p>>3,g=(7&p)<<3;c[m]=c[m].a3(new yt(255,0).x2(g).w2()).b3(f.x2(g)),s[o]=u}}while(a>3].y2((7&j)<<3).a3(new yt(255,0)).equals(new yt(128,0))?1:0,k.oj_1=x-b|0;var q=g,z=he(s),S=t.fj_1,C=q>>3,A=(7&q)<<3;S[C]=S[C].a3(new yt(255,0).x2(A).w2()).b3(z.x2(A));var $=t.hj_1,E=(q-7&$)+(7&$)|0,I=E>>3,M=(7&E)<<3;return S[I]=S[I].a3(new yt(255,0).x2(M).w2()).b3(z.x2(M)),g}(this,t);return this.gj_1[n]=t,!(this.ij_1===r)}}class Do{constructor(){this.pj_1=lf(),this.qj_1=xf(),this.rj_1=rf(),this.sj_1=0,this.tj_1=0}di(){return this.sj_1}p(){return this.tj_1}x(){return 0===this.tj_1}b2(t){var r=this.ck(t);if(r<0)throw dr.w("There is no key "+Wn(t)+" in the map");return this.rj_1[r]}hashCode(){var t=0,r=this.qj_1,n=this.rj_1;t:{var i=this.pj_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var l=i[a],u=l;if(!u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var h=8-(~(a-e)>>>31|0)|0,_=0;if(_>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n[c],w=null==v||null!=v?v:Si();if(i[c]!==r.b2(w))return!1}u=u.y2(8)}while(o<_);if(8!==_)break t}}while(l!==s)}return!0}toString(){if(this.x())return"{}";var t=Or.j().u9(123),r=0,n=this.qj_1,i=this.rj_1;t:{var e=this.pj_1,s=e.length-2|0,a=0;if(a<=s)do{var l=a;a=a+1|0;var u=e[l],h=u;if(!h.a3(h.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var _=8-(~(l-s)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n[c],w=null==v||null!=v?v:Si(),d=i[c];t.s9(w===this?"(this)":w),t.t9("="),t.he(d),(r=r+1|0)>>7&s,l=0;t:for(;;){for(var u=this.pj_1,h=a>>3,_=(7&a)<<3,o=u[h].z2(_).b3(u[h+1|0].x2(64-_|0).a3(he(_).v2().y2(63))),f=new yt(16843009,16843009).s2(he(e)),c=o.c3(f),v=c.r2(new yt(16843009,16843009)).a3(c.w2()).a3(new yt(-2139062144,-2139062144));!v.equals(new yt(0,0));){var w=a+(Pe(v)>>3)&s;if(wi(this.qj_1[w],t))return w;var d=v;v=d.a3(d.r2(new yt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;a=a+(l=l+8|0)&s}return-1}}class Ro extends Do{constructor(t){if(t=t===b?6:t,super(),this.zj_1=0,!(t>=0))throw vr.h1(pi("Capacity must be a positive value."));sf(this,uf(t))}ak(t,r,n){var i=function(t,r){var n=null==r?null:di(r),i=Co(null==n?0:n,-862048943),e=i^i<<16,s=e>>>7|0,a=127&e,l=t.sj_1,u=s&l,h=0;t:for(;;){for(var _=t.pj_1,o=u>>3,f=(7&u)<<3,c=_[o].z2(f).b3(_[o+1|0].x2(64-f|0).a3(he(f).v2().y2(63))),v=new yt(16843009,16843009).s2(he(a)),w=c.c3(v),d=w.r2(new yt(16843009,16843009)).a3(w.w2()).a3(new yt(-2139062144,-2139062144));!d.equals(new yt(0,0));){var p=u+(Pe(d)>>3)&l;if(wi(t.qj_1[p],r))return p;var m=d;d=m.a3(m.r2(new yt(1,0)))}if(!c.a3(c.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;u=u+(h=h+8|0)&l}var g,y=af(t,s);if(0===t.zj_1){var b=y;g=!t.pj_1[b>>3].y2((7&b)<<3).a3(new yt(255,0)).equals(new yt(254,0))}else g=!1;g&&(function(t){if(t.sj_1>8){var r=he(t.tj_1),n=new yt(32,0),i=r.s2(n),e=he(t.sj_1),s=new yt(25,0);Ue(i,e.s2(s))}!function(t,r){var n=t.pj_1,i=t.qj_1,e=t.rj_1,s=t.sj_1;sf(t,r);var a=t.qj_1,l=t.rj_1,u=0;if(u>3].y2((7&h)<<3).a3(new yt(255,0)).k1(new yt(128,0))<0){var _=i[h],o=null==_?null:di(_),f=Co(null==o?0:o,-862048943),c=f^f<<16,v=af(t,c>>>7|0),w=he(127&c),d=t.pj_1,p=v>>3,m=(7&v)<<3;d[p]=d[p].a3(new yt(255,0).x2(m).w2()).b3(w.x2(m));var g=t.sj_1,y=(v-7&g)+(7&g)|0,b=y>>3,k=(7&y)<<3;d[b]=d[b].a3(new yt(255,0).x2(k).w2()).b3(w.x2(k)),a[v]=_,l[v]=e[h]}}while(u>3].y2((7&q)<<3).a3(new yt(255,0)).equals(new yt(128,0))?1:0,x.zj_1=j-k|0;var z=y,S=he(a),C=t.pj_1,A=z>>3,$=(7&z)<<3;C[A]=C[A].a3(new yt(255,0).x2($).w2()).b3(S.x2($));var E=t.sj_1,I=(z-7&E)+(7&E)|0,M=I>>3,N=(7&I)<<3;return C[M]=C[M].a3(new yt(255,0).x2(N).w2()).b3(S.x2(N)),~y}(this,t),e=n;return i<0?i=~i:e=this.rj_1[i],this.qj_1[i]=t,this.rj_1[i]=r,e}bk(t){this.tj_1=this.tj_1-1|0;var r=new yt(254,0),n=this.pj_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new yt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.sj_1,a=(t-7&s)+(7&s)|0,l=a>>3,u=(7&a)<<3;n[l]=n[l].a3(new yt(255,0).x2(u).w2()).b3(r.x2(u)),this.qj_1[t]=null}}class To{constructor(t){var r;0===t?(ko||(ko=!0,bo=Yn(Array(0),null),new Ho(0)),r=bo):r=Yn(Array(t),null),this.dk_1=r,this.ek_1=0}p(){return this.ek_1}fk(t,r,n,i,e,s){var a=Or.j();t:{a.k(r);var l=this.dk_1,u=0,h=this.ek_1;if(ut===this?"(this)":Wn(t)))}}class Ho extends To{constructor(t){super(t=t===b?16:t),this.jk_1=null}h(t){return this.oi(this.ek_1+1|0),this.dk_1[this.ek_1]=t,this.ek_1=this.ek_1+1|0,!0}oi(t){var r=this.dk_1;if(r.length>>7&a,u=0;r:for(;;){for(var h=this.kk_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(wi(this.lk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;l=l+(u=u+8|0)&a}r=-1}var m,g=r;if(g>=0){var y=this.mk_1[g];m=null==y||null!=y?y:Si()}else m=null;return m}z1(t){var r;t:{var n=null==t?null:di(t),i=Co(null==n?0:n,-862048943),e=i^i<<16,s=127&e,a=this.nk_1,l=e>>>7&a,u=0;r:for(;;){for(var h=this.kk_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(wi(this.lk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;l=l+(u=u+8|0)&a}r=-1}return r>=0}hashCode(){var t=0,r=this.lk_1,n=this.mk_1;t:{var i=this.kk_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var l=i[a],u=l;if(!u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var h=8-(~(a-e)>>>31|0)|0,_=0;if(_>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n[c],w=null==v||null!=v?v:Si(),d=i[c],p=null==d||null!=d?d:Si();if(null==p){if(null!=r.b2(w)||!r.z1(w))return!1}else if(!wi(p,r.b2(w)))return!1}u=u.y2(8)}while(o<_);if(8!==_)break t}}while(l!==s)}return!0}toString(){if(this.x())return"{}";var t=Or.j().u9(123),r=0,n=this.lk_1,i=this.mk_1;t:{var e=this.kk_1,s=e.length-2|0,a=0;if(a<=s)do{var l=a;a=a+1|0;var u=e[l],h=u;if(!h.a3(h.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var _=8-(~(l-s)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n[c],w=null==v||null!=v?v:Si(),d=i[c],p=null==d||null!=d?d:Si();t.s9(w===this?"(this)":w),t.t9("="),t.s9(p===this?"(this)":p),(r=r+1|0)=0))throw vr.h1(pi("Capacity must be a positive value."));ff(this,uf(t))}vk(t,r){var n=this.wk(t),i=n<0?~n:n;this.lk_1[i]=t,this.mk_1[i]=r}f2(t){var r;t:{var n=null==t?null:di(t),i=Co(null==n?0:n,-862048943),e=i^i<<16,s=127&e,a=this.nk_1,l=e>>>7&a,u=0;r:for(;;){for(var h=this.kk_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(wi(this.lk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;l=l+(u=u+8|0)&a}r=-1}var m=r;return m>=0?this.dj(m):null}dj(t){this.ok_1=this.ok_1-1|0;var r=new yt(254,0),n=this.kk_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new yt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.nk_1,a=(t-7&s)+(7&s)|0,l=a>>3,u=(7&a)<<3;n[l]=n[l].a3(new yt(255,0).x2(u).w2()).b3(r.x2(u)),this.lk_1[t]=null;var h=this.mk_1[t];return this.mk_1[t]=null,null==h||null!=h?h:Si()}wk(t){var r=null==t?null:di(t),n=Co(null==r?0:r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=this.nk_1,l=e&a,u=0;t:for(;;){for(var h=this.kk_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(wi(this.lk_1[d],t))return d;var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;l=l+(u=u+8|0)&a}var m,g=cf(this,e);if(0===this.uk_1){var y=g;m=!this.kk_1[y>>3].y2((7&y)<<3).a3(new yt(255,0)).equals(new yt(254,0))}else m=!1;m&&(function(t){if(t.nk_1>8){var r=he(t.ok_1),n=new yt(32,0),i=r.s2(n),e=he(t.nk_1),s=new yt(25,0);Ue(i,e.s2(s))}!function(t,r){var n=t.kk_1,i=t.lk_1,e=t.mk_1,s=t.nk_1;ff(t,r);var a=t.lk_1,l=t.mk_1,u=0;if(u>3].y2((7&h)<<3).a3(new yt(255,0)).k1(new yt(128,0))<0){var _=i[h],o=null==_?null:di(_),f=Co(null==o?0:o,-862048943),c=f^f<<16,v=cf(t,c>>>7|0),w=he(127&c),d=t.kk_1,p=v>>3,m=(7&v)<<3;d[p]=d[p].a3(new yt(255,0).x2(m).w2()).b3(w.x2(m));var g=t.nk_1,y=(v-7&g)+(7&g)|0,b=y>>3,k=(7&y)<<3;d[b]=d[b].a3(new yt(255,0).x2(k).w2()).b3(w.x2(k)),a[v]=_,l[v]=e[h]}}while(u>3].y2((7&x)<<3).a3(new yt(255,0)).equals(new yt(128,0))?1:0,this.uk_1=k-b|0;var j=g,q=he(s),z=this.kk_1,S=j>>3,C=(7&j)<<3;z[S]=z[S].a3(new yt(255,0).x2(C).w2()).b3(q.x2(C));var A=this.nk_1,$=(j-7&A)+(7&A)|0,E=$>>3,I=(7&$)<<3;return z[E]=z[E].a3(new yt(255,0).x2(I).w2()).b3(q.x2(I)),~g}}class Bo{constructor(t){this.xk_1=t}cl(t,r){return $s(wf.bind(b,this,t),r)}cc(t,r){return this.cl(t instanceof nn?t:Si(),r)}}class Ko{constructor(t,r){ji(this,r),this.dl_1=t}p(){return this.dl_1.bl_1}p1(t){for(var r=t.l();r.m();){var n=r.n();if(!this.dl_1.o(n))return!1}return!0}o(t){return this.dl_1.o(t)}x(){return this.dl_1.x()}l(){return Va((t=this.dl_1,r=new Bo(t),(n=(t,n)=>r.cl(t,n)).$arity=1,n));var t,r,n}}class Go{constructor(){this.yk_1=lf(),this.zk_1=xf(),this.al_1=0,this.bl_1=0}di(){return this.al_1}p(){return this.bl_1}x(){return 0===this.bl_1}el(){return!(0===this.bl_1)}o(t){var r;t:{var n=null==t?null:di(t),i=Co(null==n?0:n,-862048943),e=i^i<<16,s=127&e,a=this.al_1,l=e>>>7&a,u=0;r:for(;;){for(var h=this.yk_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(wi(this.zk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;l=l+(u=u+8|0)&a}r=-1}return r>=0}fk(t,r,n,i,e,s){var a=Or.j();t:{a.k(r);var l=0,u=this.zk_1;r:{var h=this.yk_1,_=h.length-2|0,o=0;if(o<=_)do{var f=o;o=o+1|0;var c=h[f],v=c;if(!v.a3(v.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var w=8-(~(f-_)>>>31|0)|0,d=0;if(d>>31|0)|0,h=0;if(h>>31|0)|0,_=0;if(_t===this?"(this)":Wn(t)))}gl(){return new Ko(this)}}class Vo{constructor(t,r){this.hl_1=t,this.il_1=r}cl(t,r){return $s(df.bind(b,this,t),r)}cc(t,r){return this.cl(t instanceof nn?t:Si(),r)}}class Wo{constructor(t){this.ll_1=t,this.jl_1=-1,this.kl_1=Va(function(t,r){var n=new Vo(t,r),i=(t,r)=>n.cl(t,r);return i.$arity=1,i}(t,this))}m(){return this.kl_1.m()}n(){return this.kl_1.n()}k4(){-1!==this.jl_1&&(this.ll_1.rl(this.jl_1),this.jl_1=-1)}}class Jo extends Ko{constructor(t,r){r===b&&(r={}),r.tl_1=t,super(t,r)}h(t){return this.tl_1.h(t)}r(t){return this.tl_1.ul(t)}s1(){this.tl_1.s1()}l(){return new Wo(this.tl_1)}q1(t){return this.tl_1.q1(t)}}class Yo extends Go{constructor(t){if(t=t===b?6:t,super(),this.ql_1=0,!(t>=0))throw vr.h1(pi("Capacity must be a positive value."));pf(this,uf(t))}h(t){var r=this.p(),n=gf(this,t);return this.zk_1[n]=t,!(this.p()===r)}vl(t){var r=gf(this,t);this.zk_1[r]=t}ul(t){var r=this.p();return this.wl(t),!(r===this.p())}xl(t){var r=this.p();return this.yl(t),!(r===this.p())}wl(t){for(var r=t.l();r.m();){var n=r.n();this.vl(n)}}yl(t){var r=t.zk_1;t:{var n=t.yk_1,i=n.length-2|0,e=0;if(e<=i)do{var s=e;e=e+1|0;var a=n[s],l=a;if(!l.a3(l.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var u=8-(~(s-i)>>>31|0)|0,h=0;if(h>>7&a,u=0;r:for(;;){for(var h=this.yk_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(wi(this.zk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;l=l+(u=u+8|0)&a}r=-1}var m=r,g=m>=0;return g&&this.rl(m),g}rl(t){this.bl_1=this.bl_1-1|0;var r=new yt(254,0),n=this.yk_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new yt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.al_1,a=(t-7&s)+(7&s)|0,l=a>>3,u=(7&a)<<3;n[l]=n[l].a3(new yt(255,0).x2(u).w2()).b3(r.x2(u)),this.zk_1[t]=null}s1(){if(this.bl_1=0,this.yk_1!==lf()){$e(this.yk_1,new yt(-2139062144,-2139062144));var t=this.yk_1,r=this.al_1,n=new yt(255,0),i=r>>3,e=(7&r)<<3;t[i]=t[i].a3(new yt(255,0).x2(e).w2()).b3(n.x2(e))}Ee(this.zk_1,null,0,this.al_1),mf(this)}zl(){return new Jo(this)}}function Zo(t,r){var n;if(r>0){var i=hf(r);n=Math.max(7,i)}else n=0;var e=n;t.vh_1=e,function(t,r){var n,i=t;if(0===r)n=lf();else{var e=Xn((7+(7+(r+1|0)|0)&-8)>>3);$e(e,new yt(-2139062144,-2139062144)),n=e}i.sh_1=n;var s=t.sh_1,a=new yt(255,0),l=r>>3,u=(7&r)<<3;s[l]=s[l].a3(new yt(255,0).x2(u).w2()).b3(a.x2(u)),function(t){t.ci_1=_f(t.di())-t.wh_1|0}(t)}(t,e),t.th_1=new Int32Array(e),t.uh_1=new Int32Array(e)}function Qo(t,r){for(var n=t.vh_1,i=r&n,e=0;;){var s=t.sh_1,a=i>>3,l=(7&i)<<3,u=s[a].z2(l).b3(s[a+1|0].x2(64-l|0).a3(he(l).v2().y2(63))),h=u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144));if(!h.equals(new yt(0,0)))return i+(Pe(h)>>3)&n;i=i+(e=e+8|0)&n}}function Xo(t,r){var n;if(r>0){var i=hf(r);n=Math.max(7,i)}else n=0;var e=n;t.ti_1=e,function(t,r){var n,i=t;if(0===r)n=lf();else{var e=Xn((7+(7+(r+1|0)|0)&-8)>>3);$e(e,new yt(-2139062144,-2139062144)),n=e}i.qi_1=n;var s=t.qi_1,a=new yt(255,0),l=r>>3,u=(7&r)<<3;s[l]=s[l].a3(new yt(255,0).x2(u).w2()).b3(a.x2(u)),function(t){t.aj_1=_f(t.di())-t.ui_1|0}(t)}(t,e),t.ri_1=new Int32Array(e),t.si_1=Yn(Array(e),null)}function tf(t,r){for(var n=t.ti_1,i=r&n,e=0;;){var s=t.qi_1,a=i>>3,l=(7&i)<<3,u=s[a].z2(l).b3(s[a+1|0].x2(64-l|0).a3(he(l).v2().y2(63))),h=u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144));if(!h.equals(new yt(0,0)))return i+(Pe(h)>>3)&n;i=i+(e=e+8|0)&n}}function rf(){return yo||(yo=!0,new Oo(0),go=new Int32Array(0)),go}function nf(t,r){var n;if(r>0){var i=hf(r);n=Math.max(7,i)}else n=0;var e=n;t.hj_1=e,function(t,r){var n,i=t;if(0===r)n=lf();else{var e=Xn((7+(7+(r+1|0)|0)&-8)>>3);$e(e,new yt(-2139062144,-2139062144)),n=e}i.fj_1=n;var s=t.fj_1,a=new yt(255,0),l=r>>3,u=(7&r)<<3;s[l]=s[l].a3(new yt(255,0).x2(u).w2()).b3(a.x2(u)),function(t){t.oj_1=_f(t.di())-t.ij_1|0}(t)}(t,e),t.gj_1=new Int32Array(e)}function ef(t,r){for(var n=t.hj_1,i=r&n,e=0;;){var s=t.fj_1,a=i>>3,l=(7&i)<<3,u=s[a].z2(l).b3(s[a+1|0].x2(64-l|0).a3(he(l).v2().y2(63))),h=u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144));if(!h.equals(new yt(0,0)))return i+(Pe(h)>>3)&n;i=i+(e=e+8|0)&n}}function sf(t,r){var n;if(r>0){var i=hf(r);n=Math.max(7,i)}else n=0;var e=n;t.sj_1=e,function(t,r){var n,i=t;if(0===r)n=lf();else{var e=Xn((7+(7+(r+1|0)|0)&-8)>>3);$e(e,new yt(-2139062144,-2139062144)),n=e}i.pj_1=n;var s=t.pj_1,a=new yt(255,0),l=r>>3,u=(7&r)<<3;s[l]=s[l].a3(new yt(255,0).x2(u).w2()).b3(a.x2(u)),function(t){t.zj_1=_f(t.di())-t.tj_1|0}(t)}(t,e),t.qj_1=Yn(Array(e),null),t.rj_1=new Int32Array(e)}function af(t,r){for(var n=t.sj_1,i=r&n,e=0;;){var s=t.pj_1,a=i>>3,l=(7&i)<<3,u=s[a].z2(l).b3(s[a+1|0].x2(64-l|0).a3(he(l).v2().y2(63))),h=u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144));if(!h.equals(new yt(0,0)))return i+(Pe(h)>>3)&n;i=i+(e=e+8|0)&n}}function lf(){return vf(),xo}function uf(t){return vf(),7===t?8:t+((t-1|0)/7|0)|0}function hf(t){return vf(),t>0?-1>>>Ao(t)|0:0}function _f(t){return vf(),7===t?6:t-(t/8|0)|0}function of(t){return vf(),0===t?6:Co(t,2)+1|0}function ff(t,r){var n;if(r>0){var i=hf(r);n=Math.max(7,i)}else n=0;var e=n;t.nk_1=e,function(t,r){var n,i=t;if(0===r)n=lf();else{var e=Xn((7+(7+(r+1|0)|0)&-8)>>3);$e(e,new yt(-2139062144,-2139062144)),n=e}i.kk_1=n;var s=t.kk_1,a=new yt(255,0),l=r>>3,u=(7&r)<<3;s[l]=s[l].a3(new yt(255,0).x2(u).w2()).b3(a.x2(u)),function(t){t.uk_1=_f(t.di())-t.ok_1|0}(t)}(t,e),t.lk_1=Yn(Array(e),null),t.mk_1=Yn(Array(e),null)}function cf(t,r){for(var n=t.nk_1,i=r&n,e=0;;){var s=t.kk_1,a=i>>3,l=(7&i)<<3,u=s[a].z2(l).b3(s[a+1|0].x2(64-l|0).a3(he(l).v2().y2(63))),h=u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144));if(!h.equals(new yt(0,0)))return i+(Pe(h)>>3)&n;i=i+(e=e+8|0)&n}}function vf(){var t;jo||(jo=!0,(t=[new yt(-2139062017,-2139062144),new yt(-1,-1)].slice()).$type$="LongArray",xo=t,new Fo(0))}function*wf(t,r,n){var i=t.xk_1,e=i.zk_1;t:{var s=i.yk_1,a=s.length-2|0,l=0;if(l<=a)do{var u=l;l=l+1|0;var h=s[u],_=h;if(!_.a3(_.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var o=8-(~(u-a)>>>31|0)|0,f=0;if(f>>31|0)|0,_=0;if(_0){var i=hf(r);n=Math.max(7,i)}else n=0;var e=n;t.al_1=e,function(t,r){var n,i=t;if(0===r)n=lf();else{var e=Xn((7+(7+(r+1|0)|0)&-8)>>3);$e(e,new yt(-2139062144,-2139062144)),n=e}i.yk_1=n;var s=t.yk_1,a=new yt(255,0),l=r>>3,u=(7&r)<<3;s[l]=s[l].a3(new yt(255,0).x2(u).w2()).b3(a.x2(u)),mf(t)}(t,e),t.zk_1=Yn(Array(e),null)}function mf(t){t.ql_1=_f(t.di())-t.bl_1|0}function gf(t,r){var n=null==r?null:di(r),i=Co(null==n?0:n,-862048943),e=i^i<<16,s=e>>>7|0,a=127&e,l=t.al_1,u=s&l,h=0;t:for(;;){for(var _=t.yk_1,o=u>>3,f=(7&u)<<3,c=_[o].z2(f).b3(_[o+1|0].x2(64-f|0).a3(he(f).v2().y2(63))),v=new yt(16843009,16843009).s2(he(a)),w=c.c3(v),d=w.r2(new yt(16843009,16843009)).a3(w.w2()).a3(new yt(-2139062144,-2139062144));!d.equals(new yt(0,0));){var p=u+(Pe(d)>>3)&l;if(wi(t.zk_1[p],r))return p;var m=d;d=m.a3(m.r2(new yt(1,0)))}if(!c.a3(c.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;u=u+(h=h+8|0)&l}var g,y=yf(t,s);if(0===t.ql_1){var b=y;g=!t.yk_1[b>>3].y2((7&b)<<3).a3(new yt(255,0)).equals(new yt(254,0))}else g=!1;g&&(function(t){if(t.al_1>8){var r=he(t.bl_1),n=new yt(32,0),i=r.s2(n),e=he(t.al_1),s=new yt(25,0);Ue(i,e.s2(s))}!function(t,r){var n=t.yk_1,i=t.zk_1,e=t.al_1;pf(t,r);var s=t.zk_1,a=0;if(a>3].y2((7&l)<<3).a3(new yt(255,0)).k1(new yt(128,0))<0){var u=i[l],h=null==u?null:di(u),_=Co(null==h?0:h,-862048943),o=_^_<<16,f=yf(t,o>>>7|0),c=he(127&o),v=t.yk_1,w=f>>3,d=(7&f)<<3;v[w]=v[w].a3(new yt(255,0).x2(d).w2()).b3(c.x2(d));var p=t.al_1,m=(f-7&p)+(7&p)|0,g=m>>3,y=(7&m)<<3;v[g]=v[g].a3(new yt(255,0).x2(y).w2()).b3(c.x2(y)),s[f]=u}}while(a>3].y2((7&q)<<3).a3(new yt(255,0)).equals(new yt(128,0))?1:0,x.ql_1=j-k|0;var z=y,S=he(a),C=t.yk_1,A=z>>3,$=(7&z)<<3;C[A]=C[A].a3(new yt(255,0).x2($).w2()).b3(S.x2($));var E=t.al_1,I=(z-7&E)+(7&E)|0,M=I>>3,N=(7&I)<<3;return C[M]=C[M].a3(new yt(255,0).x2(N).w2()).b3(S.x2(N)),y}function yf(t,r){for(var n=t.al_1,i=r&n,e=0;;){var s=t.yk_1,a=i>>3,l=(7&i)<<3,u=s[a].z2(l).b3(s[a+1|0].x2(64-l|0).a3(he(l).v2().y2(63))),h=u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144));if(!h.equals(new yt(0,0)))return i+(Pe(h)>>3)&n;i=i+(e=e+8|0)&n}}function bf(){return kf(),new Yo}function kf(){qo||(qo=!0,new Yo(0))}function xf(){return So||(So=!0,new Int32Array(0),Xn(0),zo=Yn(Array(0),null)),zo}re($o,"IntIntMap"),re(Eo,"MutableIntIntMap",Eo),re(Io,"IntList"),re(Mo,"MutableIntList",Mo),re(No,"IntObjectMap"),re(Lo,"MutableIntObjectMap",Lo),re(Po,"IntSet"),re(Oo,"MutableIntSet",Oo),re(Do,"ObjectIntMap"),re(Ro,"MutableObjectIntMap",Ro),re(To,"ObjectList"),re(Ho,"MutableObjectList",Ho),re(Uo,"ScatterMap"),re(Fo,"MutableScatterMap",Fo),ee(Bo,b,b,[1]),re(Ko,"SetWrapper",b,b,[dt]),re(Go,"ScatterSet"),ee(Vo,b,b,[1]),re(Wo),re(Jo,"MutableSetWrapper",b,b,[Ko,dt,ht]),re(Yo,"MutableScatterSet",Yo);var jf,qf,zf,Sf,Cf,Af,$f,Ef,If,Mf,Nf,Lf,Pf,Of,Df,Rf,Tf,Hf,Uf,Ff,Bf,Kf,Gf,Vf,Wf,Jf,Yf,Zf,Qf,Xf,tc,rc,nc,ic,ec,sc,ac,lc,uc,hc,_c,oc,fc,cc,vc,wc,dc,pc,mc,gc,yc,bc,kc,xc,jc,qc,zc,Sc,Cc,Ac,$c,Ec,Ic,Mc,Nc,Lc,Pc,Oc,Dc,Rc,Tc,Hc,Uc,Fc,Bc,Kc,Gc,Vc,Wc,Jc,Yc,Zc,Qc,Xc,tv,rv,nv,iv,ev,sv,av,lv,uv,hv,_v,ov,fv,cv,vv,wv,dv,pv,mv,gv,yv,bv,kv,xv=Math.imul;class jv{}function qv(){}function zv(){}class Sv{constructor(t,r){this.g10_1=t,this.h10_1=r,this.i10_1=0}xz(){return this.g10_1.xz()}a10(t){this.i10_1=this.i10_1+1|0,this.g10_1.a10(t)}b10(){this.i10_1>0||Eg("OffsetApplier up called with no corresponding down"),this.i10_1=this.i10_1-1|0,this.g10_1.b10()}c10(t,r){this.g10_1.c10(t+(0===this.i10_1?this.h10_1:0)|0,r)}d10(t,r){this.g10_1.d10(t+(0===this.i10_1?this.h10_1:0)|0,r)}e10(t,r){this.g10_1.e10(t+(0===this.i10_1?this.h10_1:0)|0,r)}f10(t,r,n){var i=0===this.i10_1?this.h10_1:0;this.g10_1.f10(t+i|0,r+i|0,n)}}class Cv{constructor(t){this.j10_1=t,this.k10_1=Lt.b1(),this.l10_1=this.j10_1}m10(t){this.l10_1=t}xz(){return this.l10_1}n10(t){this.k10_1.h(this.xz()),this.m10(t)}a10(t){return this.n10(null==t||null!=t?t:Si())}b10(){this.k10_1.x()&&yy("empty stack"),this.m10(this.k10_1.v1(this.k10_1.p()-1|0))}}class Av{constructor(t,r){this.o10_1=t,this.p10_1=r}q10(t){var r;try{r=this.o10_1(t)}catch(t){if(!(t instanceof Error))throw t;r=bl(t)}var n=r;this.p10_1.va(n)}}class $v{}function Ev(){return Wf}class Iv{constructor(t){t=t===b?null:t,this.r10_1=t,this.s10_1=new Object,this.t10_1=null,this.u10_1=Lt.b1(),this.v10_1=Lt.b1(),this.w10_1=new mm(0)}z10(){return!(0===this.w10_1.js())}a11(t){this.s10_1;var r=this.u10_1;this.u10_1=this.v10_1,this.v10_1=r,this.w10_1.y10(0);var n=0,i=r.p();if(n(this.s10_1,this.u10_1.q1(i),this.u10_1.x()&&this.w10_1.y10(0),k))),a&&null!=this.r10_1)try{this.r10_1()}catch(t){if(!(t instanceof Error))throw t;!function(t,r){if(t.s10_1,null!=t.t10_1)return k;t.t10_1=r;var n=t.u10_1,i=0,e=n.p()-1|0;if(i<=e)do{var s=i;i=i+1|0;var a=n.s(s).p10_1,l=bl(r);a.va(l)}while(i<=e);t.u10_1.s1(),t.w10_1.y10(0)}(this,t)}}else{var l=bl(e);n.va(l)}return n.fo()}}class Mv{}class Nv{constructor(t,r,n){this.g11_1=t,this.h11_1=r,this.i11_1=n}j11(){return this.g11_1.s11(this.i11_1)}}class Lv{}class Pv{}class Ov{}class Dv{constructor(t){this.m1c_1=t}}class Rv{}class Tv{constructor(t,r,n,i,e,s,a){this.t11_1=t,this.u11_1=r,this.v11_1=n,this.w11_1=i,this.x11_1=e,this.y11_1=s,this.z11_1=a,this.a12_1=new md,this.b12_1=null,this.c12_1=0,this.d12_1=0,this.e12_1=0,this.f12_1=new pd,this.g12_1=null,this.h12_1=null,this.i12_1=!1,this.j12_1=!1,this.k12_1=!1,this.l12_1=Lt.b1(),this.m12_1=new pd,this.n12_1=Xx(),this.o12_1=null,this.p12_1=!1,this.q12_1=new pd,this.r12_1=!1,this.s12_1=-1,this.t12_1=0,this.u12_1=0,this.v12_1=this.u11_1.e14()||this.u11_1.g17(),this.w12_1=new Dv(this),this.x12_1=new md,this.y12_1=!1,this.z12_1=!1;var l=this.v11_1.w13();l.k15(),this.a13_1=l;var u=new Pw;this.u11_1.e14()&&u.e17(),this.u11_1.g17()&&u.f17(),this.b13_1=u;var h=this.b13_1.c17();h.h17(!0),this.c13_1=h,this.d13_1=!1,this.e13_1=null,this.f13_1=null,this.g13_1=new zd(this,this.x11_1);var _,o=this.b13_1.w13();try{_=o.u16(0)}finally{o.k15()}this.h13_1=_,this.i13_1=new Sd,this.j13_1=!1,this.k13_1=0}o1c(){return this.t11_1}p1c(){return this.t12_1>0}q1c(){return this.u11_1.r1c()}s1c(t){if(null!=this.b12_1)return Um(this,t,null,jg().n16_1,null),k;lg(this);var r=this.e12_1,n=Te(this.k13_1,3)^t;this.k13_1=Te(n,3)^r,this.e12_1=this.e12_1+1|0;var i=this.a13_1;if(this.j13_1)return i.n17(),this.c13_1.o17(t,wg().m17_1),Fm(this,!1,null),k;if(i.z17()===t&&!i.t1c())return i.k17(),Fm(this,!1,null),k;if(!i.a19()){var e=this.c12_1,s=i.c15_1;ug(this);var a=i.q16();this.g13_1.s18(e,a),qg(this.l12_1,s,i.c15_1)}i.n17(),this.j13_1=!0,this.e13_1=null,Dm(this);var l=this.c13_1;l.d18();var u=l.i16_1;l.o17(t,wg().m17_1),this.h13_1=l.u16(u),Fm(this,!1,null)}u1c(){return Em(this)}v1c(){return Um(this,-127,null,jg().n16_1,null)}w1c(){Em(this);var t=this.x1c();null!=t&&t.r18()&&t.y1c(!0)}z1c(){var t;if(!this.c1a()||this.p12_1)t=!0;else{var r=this.x1c();t=!0===(null==r?null:r.z1c())}return t}z19(t,r){return Um(this,t,r,jg().n16_1,null)}e1a(){return Em(this)}a1d(){this.o12_1=null}b1d(){return this.j13_1}c1a(){var t;if(this.j13_1||this.r12_1||this.p12_1)t=!1;else{var r=this.x1c();t=!1===(null==r?null:r.c1d())}return!!t&&!this.j12_1}c11(){return this.k13_1}l17(){Um(this,125,null,jg().o16_1,null),this.k12_1=!0}d1d(t){ag(this),this.j13_1||Eg("createNode() can only be called when inserting");var r=this.f12_1.e1d(),n=this.c13_1.u16(this.c13_1.k16_1);this.d12_1=this.d12_1+1|0,this.i13_1.f1d(t,r,n)}g1d(){ag(this),this.j13_1&&Eg("useNode() called while inserting");var t,r=(t=this.a13_1).n1b(t.e15_1);this.g13_1.t19(r),this.r12_1&&null!=r&&pe(r,Mv)&&this.g13_1.h1d(r)}i1d(){return Bm(this,!0)}j1d(t,r){this.j13_1?this.i13_1.l1d(t,r):this.g13_1.k1d(t,r)}r16(){var t;if(this.j13_1)lg(this),t=wg().m17_1;else{var r=this.a13_1.n();t=!this.r12_1||null!=r&&pe(r,Pv)?r:wg().m17_1}return t}m1d(){var t;if(this.j13_1)lg(this),t=wg().m17_1;else{var r=this.a13_1.n();t=!this.r12_1||null!=r&&pe(r,Pv)?r instanceof Jv?r.n1d_1:r:wg().m17_1}return t}c14(t){var r;return wi(this.r16(),t)?r=!1:(this.s16(t),r=!0),r}p1d(t){var r;return this.r16()!==t?(this.s16(t),r=!0):r=!1,r}q1d(t){var r=this.r16();return(null==r||"boolean"!=typeof r||t!==r)&&(this.s16(t),!0)}r1d(t){var r=this.r16();return(null==r||"number"!=typeof r||t!==r)&&(this.s16(t),!0)}s16(t){if(this.j13_1)this.c13_1.x1d(t);else if(this.a13_1.j15_1){var r=this.a13_1.t1d()-1|0;this.g13_1.w1d()?this.g13_1.v1d(t,this.a13_1.u16(this.a13_1.e15_1),r):this.g13_1.u1d(t,r)}else this.g13_1.s1d(this.a13_1.u16(this.a13_1.e15_1),t)}y1d(t){var r;null!=t&&pe(t,Lv)?(this.j13_1&&this.g13_1.z1d(t),this.w11_1.h(t),r=new Jv(t,function(t){var r,n;if(t.j13_1){var i;if(n=t.c13_1,Bg(),n.i16_1>(n.k16_1+1|0)){for(var e=t.c13_1.i16_1-1|0,s=t.c13_1.t16(e);s!==t.c13_1.k16_1&&s>=0;)e=s,s=t.c13_1.t16(e);i=t.c13_1.u16(e)}else i=null;r=i}else{var a;if(function(t){return Bg(),t.c15_1>(t.e15_1+1|0)}(t.a13_1)){for(var l=t.a13_1.c15_1-1|0,u=t.a13_1.t16(l);u!==t.a13_1.e15_1&&u>=0;)l=u,u=t.a13_1.t16(l);a=t.a13_1.u16(l)}else a=null;r=a}return r}(this))):r=t;var n=r;this.s16(n)}a1e(t){this.g13_1.b1e(t)}c1e(t){var r,n,i=Nm(this);if($m(this,201,(Bg(),zf)),this.j13_1)r=Pm(this,i,wy(t,i)),n=!1,this.d13_1=!0;else{var e=this.a13_1.d1e(0),s=null!=e&&pe(e,vw)?e:Si(),a=this.a13_1.d1e(1),l=null!=a&&pe(a,vw)?a:Si(),u=wy(t,i,l);this.c1a()&&!this.r12_1&&wi(l,u)?(Im(this),r=s,n=!1):(r=Pm(this,i,u),n=this.r12_1||!wi(r,s))}n&&!this.j13_1&&Om(this,r),this.q12_1.b14(zg(this.p12_1)),this.p12_1=n,this.e13_1=r,Um(this,202,zm(),jg().n16_1,r)}e1e(){Em(this),Em(this),this.p12_1=Sg(this.q12_1.l15()),this.e13_1=null}f1e(t){return cy(Nm(this),t)}x1c(){var t=this.x12_1;return 0===this.t12_1&&t.el()?t.e1d():null}x1a(t,r){var n=t.m11_1;if(null==n)return!1;var i=n,e=this.a13_1.v14_1,s=i.g1e(e);return!!(this.y12_1&&s>=this.a13_1.c15_1)&&(function(t,r,n,i){Bg();var e=Ng(t,r);if(e<0){var s=0|-(e+1|0),a=null!=i&&pe(i,ww)?i:null;t.u1(s,new Nv(n,r,a))}else{var l=t.s(e);if(null!=i&&pe(i,ww)){var u=l.i11_1;null==u?l.i11_1=i:u instanceof Yo?(u instanceof Yo||Si(),u.h(i)):l.i11_1=function(t,r){kf();var n=new Yo(2);return n.vl(t),n.vl(r),n}(u,i)}else l.i11_1=null}}(this.l12_1,s,t,r),!0)}l1b(){if(this.l12_1.x())Im(this);else{var t=this.a13_1,r=t.z17(),n=t.b18(),i=t.j17(),e=this.e12_1;if(null==n)if(null==i||207!==r||wi(i,wg().m17_1)){var s=Te(this.k13_1,3)^r;this.k13_1=Te(s,3)^e}else{var a=di(i),l=Te(this.k13_1,3)^a;this.k13_1=Te(l,3)^e}else if(n instanceof mt){var u=n.j2_1,h=Te(this.k13_1,3)^u;this.k13_1=0^Te(h,3)}else{var _=di(n),o=Te(this.k13_1,3)^_;this.k13_1=0^Te(o,3)}if(Hm(this,t.h1e(),null),Km(this),t.f19(),null==n)if(null==i||207!==r||wi(i,wg().m17_1)){var f=He(this.k13_1^e,3)^r;this.k13_1=He(f,3)}else{var c=di(i),v=He(this.k13_1^e,3)^c;this.k13_1=He(v,3)}else if(n instanceof mt){var w=n.j2_1,d=He(0^this.k13_1,3)^w;this.k13_1=He(d,3)}else{var p=di(n),m=He(0^this.k13_1,3)^p;this.k13_1=He(m,3)}}}d17(){0!==this.d12_1&&Eg("No nodes can be emitted before calling skipAndEndGroup");var t=this.x1c();null==t||t.i1e(),this.l12_1.x()?rg(this):Km(this)}j1e(t){return this.s1c(t),function(t){if(t.j13_1){var r=t.z11_1,n=new Sw(r instanceof iw?r:Si());t.x12_1.p18(n),t.s16(n),n.y19(t.u12_1)}else{var i,e=Ag(t.l12_1,t.a13_1.e15_1),s=t.a13_1.n();if(wi(s,wg().m17_1)){var a=t.z11_1,l=new Sw(a instanceof iw?a:Si());t.s16(l),i=l}else i=s instanceof Sw?s:Si();var u,h=i;if(null!=e)u=!0;else{var _=h.v19();_&&h.w19(!1),u=_}h.x19(u),t.x12_1.p18(h),h.y19(t.u12_1)}}(this),this}k1e(){var t=this.x12_1.el()?this.x12_1.l15():null;null!=t&&t.x19(!1);var r,n=null==t?null:t.l1e(this.u12_1);if(null==n||this.g13_1.m1e(n,this.z11_1),null==t||t.o1e()||!t.r18()&&!this.i12_1)r=null;else{if(null==t.m11_1){var i,e=t;i=this.j13_1?this.c13_1.u16(this.c13_1.k16_1):this.a13_1.u16(this.a13_1.e15_1),e.m11_1=i}t.n1e(!1),r=t}var s=r;return Bm(this,!1),s}p1e(t){var r=!1;try{!function(t,r){var n=t.g13_1,i=t.y11_1,e=n.j14_1;try{n.j14_1=i,t.g13_1.f1a();var s=0,a=r.p()-1|0;if(s<=a)do{var l=s;s=s+1|0;var u=r.s(l),h=u.xf(),_=u.yf(),o=h.k1a_1,f=h.j1a_1.n1a(o),c=new Wp;if(t.g13_1.o1a(c,o),null==_){wi(h.j1a_1,t.b13_1)&&Rm(t);var v=h.j1a_1.w13();try{v.n18(f),t.g13_1.t1a(f);var w=new jd;eg(t,b,b,b,b,cg(t,w,v,h)),t.g13_1.u1a(w,c)}finally{v.k15()}}else{var d=t.u11_1.p1a(_),p=null==d?null:d.q1a_1,m=null==p?_.j1a_1:p,g=null==d?null:d.q1a_1,y=null==g?null:g.u16(0),k=null==y?_.k1a_1:y,x=$g(m,k);if(!x.x()&&(t.g13_1.r1a(x,c),wi(h.j1a_1,t.v11_1))){var j=t.v11_1.n1a(o);Zm(t,j,Ym(t,j)+x.p()|0)}t.g13_1.s1a(d,t.u11_1,_,h);var q=m.w13();try{t:{var z=t.a13_1,S=t.g12_1,C=t.o12_1;t.g12_1=null,t.o12_1=null;try{t.a13_1=q;var A=m.n1a(k);q.n18(A),t.g13_1.t1a(A);var $=new jd,E=t.g13_1,I=E.j14_1;try{E.j14_1=$;var M=t.g13_1,N=M.m14_1;try{M.m14_1=!1;var L=q.c15_1,P=_.l1a_1;ig(t,_.i1a_1,h.i1a_1,L,P,vg(t,h))}finally{M.m14_1=N}}finally{E.j14_1=I}t.g13_1.u1a($,c);break t}finally{t.a13_1=z,t.g12_1=S,t.o12_1=C}}}finally{q.k15()}}t.g13_1.v1a()}while(s<=a);t.g13_1.w1a(),t.g13_1.t1a(0)}finally{n.j14_1=e}}(this,t),r=!0}finally{r?og(this):Cm(this)}}q1e(t){this.j13_1&&this.v12_1&&this.c13_1.r1e(t)}s1e(t,r){this.j13_1&&this.v12_1&&this.c13_1.t1e(t,r)}u1e(){this.j13_1&&this.v12_1&&this.c13_1.v1e()}w1e(t,r){this.x11_1.x()||Eg("Expected applyChanges() to have been called"),sg(this,t,r)}y1e(t){this.y12_1&&Eg("Preparing a composition while composing is not supported"),this.y12_1=!0;try{t()}finally{this.y12_1=!1}}z1e(t){return this.x11_1.x()||Eg("Expected applyChanges() to have been called"),!!(t.p()>0||!this.l12_1.x()||this.j12_1)&&(sg(this,t,null),this.x11_1.el())}a1f(){return this.x1c()}b1f(){return this.m1d()}c1f(t){return this.y1d(t)}d1f(t){var r=t instanceof Sw?t:null;null!=r&&r.e1f(!0)}}class Hv{toString(){return"Empty"}}class Uv{constructor(){Ef=this,this.m17_1=new Hv}}class Fv extends mt{}class Bv{constructor(t,r,n,i,e,s,a){this.g1a_1=t,this.h1a_1=r,this.i1a_1=n,this.j1a_1=i,this.k1a_1=e,this.l1a_1=s,this.m1a_1=a}}class Kv{constructor(t){this.q1a_1=t}}class Gv{}class Vv extends fr{static k1f(t){var r=this.c4();return bi(r,r.j1f_1),r.i1f_1=t,r}xb(){return this.i1f_1}get message(){return this.xb()}}class Wv{constructor(t,r,n,i,e,s,a){this.v1f_1=t,this.w1f_1=n,this.x1f_1=i,this.y1f_1=e,this.z1f_1=s,this.a1g_1=a,this.b1g_1=r,this.c1g_1=!0}y1(){var t=this.b1g_1;return null==t||null!=t?t:Si()}d1g(){var t;return this.w1f_1?t=null:null!=this.y1f_1?t=this.y1f_1.y1():null!=this.b1g_1?t=this.b1g_1:pg("Unexpected form of a provided value"),t}e1g(){return(this.w1f_1||!(null==this.y1()))&&!this.a1g_1}}class Jv{constructor(t,r){this.n1d_1=t,this.o1d_1=r}}class Yv{constructor(t,r){this.r17_1=t,this.s17_1=r,this.t17_1=0,this.s17_1>=0||by("Invalid start index"),this.u17_1=Lt.b1();var n=0,i=new Lo,e=0,s=this.r17_1.p();if(e{var t,r,n=new Xv((t=this.r17_1.p(),Bg(),new Fo(t))),i=n.f1g_1,e=0,s=this.r17_1.p();if(enew Xv(t.g1g())),null),t.y1().f1g_1}c18(t,r){var n=null!=r?new yw(t,r):t;return function(t,r){var n,i=t.b2(r);if(null==i)n=null;else{var e;if(pe(i,ot)){var s=pe(i,ot)?i:Si(),a=s.v1(0);s.x()&&t.f2(r),e=a}else t.f2(r),e=i;n=null!=e?e:Si()}return n}(this.g1g(),n)}y17(t){return this.u17_1.h(t)}r18(){return this.u17_1}l18(t,r){if(t>r){var n=this.v17_1,i=n.si_1;t:{var e=n.qi_1,s=e.length-2|0,a=0;if(a<=s)do{var l=a;a=a+1|0;var u=e[l],h=u;if(!h.a3(h.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var _=8-(~(l-s)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=i[(l<<3)+f|0],v=null==c||null!=c?c:Si(),w=v.h1g_1;w===t?v.h1g_1=r:r<=w&&wt){var d=this.v17_1,p=d.si_1;t:{var m=d.qi_1,g=m.length-2|0,y=0;if(y<=g)do{var b=y;y=y+1|0;var k=m[b],x=k;if(!x.a3(x.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var j=8-(~(b-g)>>>31|0)|0,q=0;if(qr){var i=this.v17_1,e=i.si_1;t:{var s=i.qi_1,a=s.length-2|0,l=0;if(l<=a)do{var u=l;l=l+1|0;var h=s[u],_=h;if(!_.a3(_.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var o=8-(~(u-a)>>>31|0)|0,f=0;if(ft){var p=this.v17_1,m=p.si_1;t:{var g=p.qi_1,y=g.length-2|0,b=0;if(b<=y)do{var k=b;b=b+1|0;var x=g[k],j=x;if(!j.a3(j.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var q=8-(~(k-y)>>>31|0)|0,z=0;if(z>>31|0)|0,v=0;if(v=i&&!wi(p,n)){var m=p.i1g_1+e|0;m>=0&&(p.i1g_1=m)}}o=o.y2(8)}while(v>>31|0)|0,_=0;if(_>>31|0)|0,c=0;if(c>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=i[(l<<3)+f|0];Xg(this,null==c||null!=c?c:Si())}u=u.y2(8)}while(o<_);if(8!==_)break t}}while(l!==s)}}else Xg(this,null!=r?r:Si());return k}l1j(){var t;this.x1g_1,Wg(this);try{var r,n=!1;try{var i,e=iy(this);try{var s=ey(this);if(null==s);else{var a=e.u1i();s.v1i(this,pe(a,ct)?a:Si())}var l=this.m1h_1.z1e(e);l||Jg(this),null==s||s.w1i(this),i=l}catch(t){if(t instanceof _r){var u=t;throw this.h1h_1=e,u}throw t}n=!0,r=i}finally{!n&&!this.y1g_1.x()&&new rw(this.y1g_1).c1i()}t=r}catch(t){if(t instanceof _r){var h=t;throw this.x1i(),h}throw t}return t}m1j(t){var r;t:{var n=0,i=t.p()-1|0;if(n<=i)do{var e=n;if(n=n+1|0,!wi(t.s(e).vf_1.i1a_1,this)){r=!1;break t}}while(n<=i);r=!0}gg(r);try{var s=!1;try{this.m1h_1.p1e(t),s=!0}finally{!s&&!this.y1g_1.x()&&new rw(this.y1g_1).c1i()}}catch(t){if(t instanceof _r){var a=t;throw this.x1i(),a}throw t}}n1j(t){var r=new rw(this.y1g_1),n=t.q1a_1.c17(),i=!1;try{mg(n,r),i=!0}finally{n.h17(i)}r.a1i()}o1j(){this.x1g_1;try{var t=!1;try{ty(this,this.e1h_1),Jg(this),t=!0}finally{!t&&!this.y1g_1.x()&&new rw(this.y1g_1).c1i()}}catch(t){if(t instanceof _r){var r=t;throw this.x1i(),r}throw t}}p1j(){this.x1g_1;try{var t=!1;try{this.f1h_1.el()&&ty(this,this.f1h_1),t=!0}finally{!t&&!this.y1g_1.x()&&new rw(this.y1g_1).c1i()}}catch(t){if(t instanceof _r){var r=t;throw this.x1i(),r}throw t}}q1j(){this.x1g_1;try{var t=!1;try{this.m1h_1.a1d(),this.y1g_1.x()||new rw(this.y1g_1).c1i(),t=!0}finally{!t&&!this.y1g_1.x()&&new rw(this.y1g_1).c1i()}}catch(t){if(t instanceof _r){var r=t;throw this.x1i(),r}throw t}}x1i(){this.w1g_1.px(null),this.e1h_1.s1(),this.f1h_1.s1(),this.y1g_1.x()||new rw(this.y1g_1).c1i()}r1j(){this.x1g_1;for(var t=this.z1g_1.n13_1,r=0,n=t.length;r=0){var e;this.j1h_1=t instanceof iw?t:Si(),this.k1h_1=r;try{e=n()}finally{this.j1h_1=null,this.k1h_1=0}i=e}else i=n();return i}t1j(t,r){t.u1j()&&t.n1e(!0);var n=t.m11_1;if(null==n||!n.o1f())return Hg();if(!this.z1g_1.v1j(n)){this.x1g_1;var i=this.j1h_1;return!0===(null==i?null:ry(i,t,r))?Fg():Hg()}return t.w1j()?ny(this,t,n,r):Hg()}x1j(t){this.i1h_1=!0}y1j(t,r){this.a1h_1.u1h(t,r)}z1j(t){this.a1h_1.x1h(t)||this.d1h_1.g1j(t)}}class ew{constructor(t,r){t=t===b?null:t,r=r!==b&&r,this.i1i_1=t,this.j1i_1=r}}class sw{constructor(){var t;Tf=this,this.p1i_1=(t=Kx(954879418,!1,sy),(r,n)=>t.n1c(r,n)),this.q1i_1=function(t){return(r,n)=>t.n1c(r,n)}(Kx(1918065384,!1,ay))}}class aw{}class lw{}class uw{h1i(){return null}f14(t){}o1i(t){}y13(){return Bf||(Bf=!0,Ff=Xx()),Ff}x13(){}h14(){}p1a(t){return null}}class hw{constructor(t){this.b1k_1=new gd(t)}c1k(){return this.b1k_1}}class _w extends hw{f1k(t){return this.e1k(t)}g1k(t,r){var n,i;r instanceof yd?(t.a1g_1?(r.j1k_1.mw(t.d1g()),i=r):i=null,n=i):n=r instanceof bd?t.e1g()&&wi(t.d1g(),r.i1k_1)?r:null:r instanceof kd&&t.z1f_1===r.h1k_1?r:null;var e=n;return null==e?function(t,r){var n;if(r.a1g_1){var i,e=r.y1f_1;if(null==e){var s=r.y1(),a=r.x1f_1;i=qk(s,null==a?kk():a)}else i=e;n=new yd(i)}else n=null!=r.z1f_1?new kd(r.z1f_1):null!=r.y1f_1?new yd(r.y1f_1):new bd(r.d1g());return n}(0,t):e}}class ow extends _w{e1k(t){return new Wv(this,t,null===t,null,null,null,!1)}}class fw extends _w{constructor(t,r){super(r),this.m1k_1=t}e1k(t){return new Wv(this,t,null===t,this.m1k_1,null,null,!0)}}class cw extends _w{constructor(t){super(oy),this.o1k_1=new kd(t)}c1k(){return this.o1k_1}e1k(t){return new Wv(this,t,null===t,null,null,null,!0)}}class vw{}class ww{}class dw{}class pw{constructor(t,r){var n;this.a1l_1=r,this.b1l_1=new zh(null!=(n=t).gb(Hl)?n:n.pg(c_())),this.c1l_1=null}m1i(){var t,r,n=this.c1l_1;null==n||(t="Old job was still running!",r=r===b?null:r,n.nn(function(t,r){return cr.vb(t,r)}(t,r))),this.c1l_1=Kh(this.b1l_1,b,b,this.a1l_1)}l1i(){var t=this.c1l_1;null==t||t.nn(gw.j1l()),this.c1l_1=null}n1i(){var t=this.c1l_1;null==t||t.nn(gw.j1l()),this.c1l_1=null}}class mw extends cr{static p1l(t){t=t===b?null:t;var r=this.ub(t);return bi(r,r.o1l_1),r}}class gw extends mw{static j1l(){var t=this.p1l("The coroutine scope left the composition");return bi(t,t.i1l_1),t}}class yw{constructor(t,r){this.q1l_1=t,this.r1l_1=r}hashCode(){return xv(gy(0,this.q1l_1),31)+gy(0,this.r1l_1)|0}toString(){return"JoinedKey(left="+Wn(this.q1l_1)+", right="+Wn(this.r1l_1)+")"}equals(t){if(this===t)return!0;if(!(t instanceof yw))return!1;var r=t instanceof yw?t:Si();return!!wi(this.q1l_1,r.q1l_1)&&!!wi(this.r1l_1,r.r1l_1)}}class bw{}class kw{constructor(t){this.s1l_1=t}toString(){return"OpaqueKey(key="+this.s1l_1+")"}hashCode(){return gi(this.s1l_1)}equals(t){if(this===t)return!0;if(!(t instanceof kw))return!1;var r=t instanceof kw?t:Si();return this.s1l_1===r.s1l_1}}class xw{}class jw{constructor(t,r){this.t1l_1=r,this.u1l_1=t}gm(){return this.t1l_1}mw(t){this.u1l_1.mw(t)}y1(){return this.u1l_1.y1()}}class qw{constructor(t,r){this.v1l_1=t,this.w1l_1=r}x1l(t,r){return $s(ky.bind(b,this,t),r)}cc(t,r){return this.x1l(null!=t&&pe(t,yu)?t:Si(),r)}}class zw{z1l(t,r,n){if(!r.x()){var i=0,e=r.p()-1|0;if(i<=e)do{var s=i;i=i+1|0;var a=r.s(s),l=t.a1m(a,0),u=l instanceof Sw?l:null;null==u||u.b1m(n)}while(i<=e)}}c1m(t,r){var n;if(r.x())n=!1;else{var i;t:{var e=0,s=r.p()-1|0;if(e<=s)do{var a=e;e=e+1|0;var l=r.s(a);if(!!t.v1j(l)&&t.d1m(t.n1a(l),0)instanceof Sw){i=!0;break t}}while(e<=s);i=!1}n=i}return n}}class Sw{constructor(t){this.k11_1=0,this.l11_1=t,this.m11_1=null,this.n11_1=null,this.o11_1=null,this.p11_1=0,this.q11_1=null,this.r11_1=null}o1f(){var t;if(null!=this.l11_1){var r=this.m11_1,n=null==r?null:r.o1f();t=null!=n&&n}else t=!1;return t}w1j(){return!(null==this.n11_1)}e1f(t){this.k11_1=t?1|this.k11_1:-2&this.k11_1}r18(){return!!(1&this.k11_1)}y1c(t){this.k11_1=t?2|this.k11_1:-3&this.k11_1}u1j(){return!!(2&this.k11_1)}n1e(t){this.k11_1=t?4|this.k11_1:-5&this.k11_1}z1c(){return!!(4&this.k11_1)}x19(t){this.k11_1=t?8|this.k11_1:-9&this.k11_1}c1d(){return!!(8&this.k11_1)}n19(t){var r=this.n11_1,n=this.o11_1;if(null!=n&&null!=r){n.e1m(this);try{r(t,1)}finally{n.f1m(this)}return k}if(null==(null==r?null:r(t,1)))throw fr.l3(pi("Invalid restart scope"))}v1h(t){var r=this.l11_1,n=null==r?null:r.t1j(this,t);return null==n?Hg():n}q1f(){var t=this.l11_1;null==t||t.x1j(this),this.l11_1=null,this.q11_1=null,this.r11_1=null;var r=this.o11_1;null==r||r.g1m(this)}b1m(t){this.l11_1=t}s1j(){var t=this.l11_1;null==t||t.t1j(this,null)}p1k(t){this.n11_1=t}w19(t){this.k11_1=t?64|this.k11_1:-65&this.k11_1}v19(){return!!(64&this.k11_1)}o1e(){return!!(16&this.k11_1)}y19(t){this.p11_1=t,jy(this,!1)}i1e(){jy(this,!0)}c1j(t){if(32&this.k11_1)return!1;var r,n=this.q11_1;if(null==n){var i=new Ro;this.q11_1=i,r=i}else r=n;return r.ak(t,this.p11_1,-1)===this.p11_1}j1j(t,r){var n,i=this.r11_1;if(null==i){var e=new Fo;this.r11_1=e,n=e}else n=i;n.vk(t,r)}t1h(){return!(null==this.r11_1)}s11(t){if(null==t)return!0;var r=this.r11_1;if(null==r)return!0;var n,i=r;if(pe(t,ww))n=qy(t,0,i);else if(t instanceof Go){var e;if(t.el()){var s;t:{var a=t.zk_1;r:{var l=t.yk_1,u=l.length-2|0,h=0;if(h<=u)do{var _=h;h=h+1|0;var o=l[_],f=o;if(!f.a3(f.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var c=8-(~(_-u)>>>31|0)|0,v=0;if(v>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n[c],w=null==v||null!=v?v:Si();i[c],t.b1j(w)}u=u.y2(8)}while(o<_);if(8!==_)break t}}while(l!==s)}}finally{xy(this,!1)}}}}l1e(t){var r,n=this.q11_1;if(null==n)r=null;else{var i,e,s=n;if(this.o1e())e=!1;else{var a;t:{var l=s.qj_1,u=s.rj_1;r:{var h=s.pj_1,_=h.length-2|0,o=0;if(o<=_)do{var f=o;o=o+1|0;var c=h[f],v=c;if(!v.a3(v.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var w=8-(~(f-_)>>>31|0)|0,d=0;if(d{if(this.p11_1===t&&s.equals(this.q11_1)&&r instanceof iw){var n=s;t:{var i=n.pj_1,e=i.length-2|0,a=0;if(a<=e)do{var l=a;a=a+1|0;var u=i[l],h=u;if(!h.a3(h.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var _=8-(~(l-e)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n.qj_1[c],w=null==v||null!=v?v:Si(),d=!(n.rj_1[c]===t);if(d&&(r.y1j(w,this),pe(w,ww))){r.z1j(w);var p=this.r11_1;null==p||p.f2(w)}d&&n.bk(c)}u=u.y2(8)}while(o<_);if(8!==_){k;break t}}}while(l!==e)}}return k}:null,r=i}return r}}class Cw{constructor(t,r){this.m1n_1=t,this.n1n_1=r}x1l(t,r){return $s(Ey.bind(b,this,t),r)}cc(t,r){return this.x1l(null!=t&&pe(t,yu)?t:Si(),r)}}class Aw extends mt{}class $w{constructor(t){this.t1n_1=t}}class Ew{constructor(t,r){this.u1n_1=t,this.v1n_1=r}}class Iw{constructor(){ec=this,this.h1m_1=F_(Bx().b1y()),this.i1m_1=new pm(!1)}}class Mw{constructor(t){this.j1m_1=t}n1o(t,r,n){return $s(Cy.bind(b,this,t,r),n)}o1o(t,r,n){var i=null!=t&&pe(t,yu)?t:Si();return this.n1o(i,null!=r&&pe(r,$v)?r:Si(),n)}}class Nw{constructor(t,r,n){this.o1n_1=t,this.p1n_1=r,this.q1n_1=n}x1l(t,r){return $s(Iy.bind(b,this,t),r)}cc(t,r){return this.x1l(null!=t&&pe(t,yu)?t:Si(),r)}}class Lw extends uw{constructor(t){Xy(),super(),this.k1m_1=new yt(0,0),this.l1m_1=new Iv((()=>{this.m1m_1;var t=Py(this);if(this.e1n_1.y1().k2(nb())<=0)throw cr.vb("Recomposer shutdown; frame clock awaiter will never resume",this.o1m_1);if(null==t);else{var r=k;t.va(r)}return k})),this.m1m_1=new Object,this.n1m_1=null,this.o1m_1=null,this.p1m_1=Lt.b1(),this.q1m_1=null,this.r1m_1=new Yo;var r=Yn(Array(16),null);this.s1m_1=new op(r,0),this.t1m_1=Lt.b1(),this.u1m_1=Lt.b1(),this.v1m_1=tr.fa(),this.w1m_1=tr.fa(),this.x1m_1=null,this.y1m_1=null,this.z1m_1=null,this.a1n_1=0,this.b1n_1=!1,this.c1n_1=null,this.d1n_1=!1,this.e1n_1=F_(ib());var n=c_(t.gb(Hl));n.in((t=>{var r=cr.vb("Recomposer effect job completed",t),n=null;this.m1m_1;var i=this.n1m_1;if(null!=i?(this.e1n_1.mw(nb()),this.b1n_1?null!=this.z1m_1&&(n=this.z1m_1):i.nn(r),this.z1m_1=null,i.in((r=>{this.m1m_1;var n,i,e=t;null==e?n=null:(null==(i=null==r||r instanceof cr?null:r)||ya(e,i),n=e);return this.o1m_1=n,this.e1n_1.mw(rb()),k}))):(this.o1m_1=r,this.e1n_1.mw(rb())),null==n);else{var e=k;n.va(e)}return k})),this.f1n_1=n,this.g1n_1=t.pg(this.l1m_1).pg(this.f1n_1),this.h1n_1=new $w(this)}r1c(){return this.g1n_1}p1o(t){return function(t,r,n){return $s(Ky.bind(b,t,r),n)}(this,(r=new Mw(this),n=(t,n,i)=>r.n1o(t,n,i),n.$arity=2,n),t);var r,n}r1h(t,r){var n=t.d1i();try{t:{var i=lv.w1n(Jy(0,t),Yy(0,t,null));try{r:{var e=i.x1n();try{t.t1i(r);break r}finally{i.y1n(e)}}break t}finally{Zy(0,i)}}}catch(r){if(r instanceof _r)return Ry(this,r,t,!0),k;throw r}n||lv.l1n(),this.m1m_1,this.e1n_1.y1().k2(nb())>0&&(My(this).o(t)||function(t,r){t.p1m_1.h(r),t.q1m_1=null}(this,t));try{!function(t,r){t.m1m_1;var n,i=t.u1m_1;t:{var e=0,s=i.p()-1|0;if(e<=s)do{var a=e;if(e=e+1|0,wi(i.s(a).i1a_1,r)){n=!0;break t}}while(e<=s);n=!1}if(!n)return k;var l=Lt.b1();for(tb(l,t,r);!l.x();)Vy(t,l,null),tb(l,t,r)}(this,t)}catch(r){if(r instanceof _r)return Ry(this,r,t,!0),k;throw r}try{t.o1j(),t.p1j()}catch(t){if(t instanceof _r)return Ty(this,t),k;throw t}n||lv.l1n()}g14(){return 1e3}g17(){return Xy().i1m_1.js()}d14(){return!1}e14(){return!1}f14(t){}g1i(t){var r;if(this.m1m_1,this.s1m_1.jf(t)?r=null:(this.s1m_1.k1b(t),r=Py(this)),null==r);else{var n=k;r.va(n)}}d1a(t){this.m1m_1,this.u1m_1.h(t);var r=Py(this);if(null==r);else{var n=k;r.va(n)}}h1c(t){this.m1m_1,function(t,r,n){lb();var i,e=t.b2(r);if(null==e){var s=Lt.b1();t.e2(r,s),i=s}else i=e;i.h(n)}(this.v1m_1,t.g1a_1,t)}a1k(t,r){this.m1m_1,this.w1m_1.e2(t,r)}g1c(t){this.m1m_1;var r,n=this.y1m_1;if(null==n){var i=rr.ja();this.y1m_1=i,r=i}else r=n;r.h(t)}p1a(t){return this.m1m_1,this.w1m_1.f2(t)}}class Pw{constructor(){this.l13_1=new Int32Array(0),this.m13_1=0;for(var t=0,r=Yn(Array(0),null);t<0;)r[t]=null,t=t+1|0;this.n13_1=r,this.o13_1=0,this.p13_1=0,this.q13_1=new Object,this.r13_1=!1,this.s13_1=0,this.t13_1=Lt.b1(),this.u13_1=null,this.v13_1=null}k19(){return 0===this.m13_1}w13(){if(this.r13_1)throw fr.l3(pi("Cannot read while a writer is pending"));return this.p13_1=this.p13_1+1|0,new Hw(this)}c17(){return this.r13_1&&Eg("Cannot start a writer when another writer is pending"),this.p13_1<=0||Eg("Cannot start a writer when a reader is pending"),this.r13_1=!0,this.s13_1=this.s13_1+1|0,new Dw(this)}u16(t){this.r13_1&&Eg("use active SlotWriter to create an anchor location instead"),0<=t&&t=0&&wi(this.t13_1.s(n),t)}else r=!1;return r}e1i(t,r){var n;if(this.r13_1&&Eg("Writer is active"),0<=t&&t0||Eg("Unexpected reader close()"),this.p13_1=this.p13_1-1|0,null!=r){this.q13_1;var n=this.u13_1;null!=n?n.g2(r):this.u13_1=r}}r1o(t,r,n,i,e,s,a,l){t.p15_1===this&&this.r13_1||by("Unexpected writer close()"),this.r13_1=!1,this.s1o(r,n,i,e,s,a,l)}s1o(t,r,n,i,e,s,a){this.l13_1=t,this.m13_1=r,this.n13_1=n,this.o13_1=i,this.t13_1=e,this.u13_1=s,this.v13_1=a}s1b(){return this.m13_1>0&&rk(this.l13_1,0)}t1o(t){var r,n,i,e=this.u13_1;if(null==e)r=null;else{var s=(i=t,(n=this).r13_1&&Eg("use active SlotWriter to crate an anchor for location instead"),0<=i&&ithis.k16_1&&tthis.e16_1.t1p(0))n=r+this.u18(r)|0;else{var i=this.e16_1.s1p(r);n=i<0?r+this.u18(r)|0:(Cb(this)-this.w15_1|0)-this.f16_1.p19(i)|0}return t>r&&t0&&this.x15_1!==this.z15_1){var r=this.h16_1,n=null==r?new Lo:r;this.h16_1=n;var i,e=this.k16_1,s=n.s(e);if(null==s){var a=new Ho;n.bj(e,a),i=a}else i=s;return i.h(t),wg().m17_1}return _b(this,t)}x1p(t,r){0!==this.c16_1&&Eg("Can only append a slot if not current inserting");var n=this.x15_1,i=this.y15_1,e=this.n1a(t),s=Mb(this.q15_1,this,Ab(this,e+1|0));this.x15_1=s,this.y15_1=s,xb(this,1,e),n>=s&&(n=n+1|0,i=i+1|0),this.r15_1[s]=r,this.x15_1=n,this.y15_1=i}y1p(t){gg(t>0);var r=this.k16_1,n=Nb(this.q15_1,this,Ab(this,r)),i=Mb(this.q15_1,this,Ab(this,r+1|0))-t|0;gg(i>=n),zb(this,i,t,r);var e=this.x15_1;e>=n&&(this.x15_1=e-t|0)}h1p(t){var r=Ab(this,this.i16_1);sk(this.q15_1,r)||Eg("Updating the data of a group that was not created with a data slot"),this.r15_1[$b(this,Ob(this.q15_1,this,r))]=t}r1e(t){this.c16_1>0&&ob(this,this.k16_1,t)}t1e(t,r){if(this.c16_1>0){var n=this.u15_1;null==n||function(t,r,n){var i,e=t.s(r);if(null==e){var s=new Oo;t.bj(r,s),i=s}else i=e;i.ni(n)}(n,t,this.w16(this.k16_1));var i=ob(this,this.k16_1,null);null==i||i.z1p(t,r,fb(this))}}v1e(){if(this.c16_1>0){var t=ob(this,this.k16_1,null);null==t||t.a1q(fb(this))}}i1p(t){return Sb(this,this.i16_1,t)}b1q(t,r){return Sb(this,t.v1p(this),r)}e1p(t){this.x15_1<=this.y15_1||Eg("Writing to an invalid slot"),this.r15_1[$b(this,this.x15_1-1|0)]=t}c1q(t,r){return this.d1q(this.i16_1,t,r)}e1q(t,r){var n=Ab(this,t),i=Nb(this.q15_1,this,n),e=Mb(this.q15_1,this,Ab(this,t+1|0)),s=i+r|0;return s>=i&&s0&&xb(this,1,this.k16_1);var t=this.r15_1,r=this.x15_1;return this.x15_1=r+1|0,t[$b(this,r)]}a1m(t,r){return this.f1q(this.n1a(t),r)}f1q(t,r){var n=Ab(this,t),i=Nb(this.q15_1,this,n),e=Mb(this.q15_1,this,Ab(this,t+1|0)),s=i+r|0;if(!(i<=s&&s=0||Eg("Cannot seek backwards"),this.c16_1<=0||yy("Cannot call seek() while inserting"),0===t)return k;var r=this.i16_1+t|0;r>=this.k16_1&&r<=this.j16_1||Eg("Cannot seek outside the current group ("+this.k16_1+"-"+this.j16_1+")"),this.i16_1=r;var n=Mb(this.q15_1,this,Ab(this,r));this.x15_1=n,this.y15_1=n}d17(){var t=this.j16_1;this.i16_1=t,this.x15_1=Mb(this.q15_1,this,Ab(this,t))}d18(){var t=this.c16_1;this.c16_1=t+1|0,0===t&&pb(this)}j19(){this.c16_1>0||yy("Unbalanced begin/end insert"),this.c16_1=this.c16_1-1|0,0===this.c16_1&&(this.g16_1.p()!==this.e16_1.p()&&Eg("startGroup/endGroup mismatch while inserting"),mb(this))}k17(){0!==this.c16_1&&Eg("Key must be supplied when inserting"),cb(this,0,wg().m17_1,!1,wg().m17_1)}o17(t,r){return cb(this,t,r,!1,wg().m17_1)}q17(t,r){return cb(this,t,r,!0,wg().m17_1)}p17(t,r,n){return cb(this,t,r,!1,n)}i19(){var t=this.c16_1>0,r=this.i16_1,n=this.j16_1,i=this.k16_1,e=Ab(this,i),s=this.d16_1,a=r-i|0,l=lk(this.q15_1,e);if(t){var u=this.h16_1,h=null==u?null:u.s(i);if(null==h);else{var _=h.dk_1,o=0,f=h.ek_1;if(o=r&&t=t;)a.k1p();var l=jb(this,t,this.i16_1-t|0);return zb(this,n,this.x15_1-n|0,t-1|0),this.i16_1=t,this.x15_1=r,this.d16_1=this.d16_1-i|0,l}k1q(t){if(0!==this.c16_1&&Eg("Cannot move a group while inserting"),t>=0||Eg("Parameter offset is out of bounds"),0===t)return k;for(var r=this.i16_1,n=this.k16_1,i=this.j16_1,e=t,s=r;e>0;)(s=s+tk(this.q15_1,Ab(this,s))|0)<=i||Eg("Parameter offset is out of bounds"),e=e-1|0;var a=tk(this.q15_1,Ab(this,s)),l=Mb(this.q15_1,this,Ab(this,this.i16_1)),u=Mb(this.q15_1,this,Ab(this,s)),h=Mb(this.q15_1,this,Ab(this,s+a|0)),_=h-u|0,o=this.i16_1-1|0;xb(this,_,Math.max(o,0)),kb(this,a);var f=this.q15_1,c=Ab(this,s+a|0),v=xv(c,5),w=Ab(this,r);if(Ge(f,f,xv(w,5),v,v+xv(a,5)|0),_>0){var d=this.r15_1;Ge(d,d,l,$b(this,u+_|0),$b(this,h+_|0))}var p=(u+_|0)-l|0,m=this.z15_1,g=this.a16_1,y=this.r15_1.length,b=this.b16_1,x=r,j=r+a|0;if(x=0)t:for(;a=r&&h=t.v15_1?v.g1b_1=0|-(s-w|0):v.g1b_1=w;var d=pk(t.s15_1,w,s);t.s15_1.u1(d,v)}while(o<=f)})(this,s+a|0,r,a),jb(this,s+a|0,a)&&Eg("Unexpectedly removed anchors"),gb(this,n,this.j16_1,r),_>0&&zb(this,u+_|0,_,(s+a|0)-1|0)}l1q(t,r,n){gg(n.c16_1>0),gg(0===this.c16_1),gg(t.o1f());var i=this.n1a(t)+r|0,e=this.i16_1;gg(e<=i&&i0;h>=e;){var o=Ab(this,h);ck(this.q15_1,o,tk(this.q15_1,o)-a|0),_&&(lk(this.q15_1,o)?_=!1:vk(this.q15_1,o,uk(this.q15_1,o)-l|0)),h=this.t16(h)}return _&&(gg(this.d16_1>=l),this.d16_1=this.d16_1-l|0),u}m1q(t,r,n){if(gg(this.c16_1>0),0===r&&0===this.i16_1&&0===this.p15_1.m13_1&&tk(t.l13_1,r)===t.m13_1){var i=this.q15_1,e=this.r15_1,s=this.s15_1,a=this.t15_1,l=this.u15_1,u=t.l13_1,h=t.m13_1,_=t.n13_1,o=t.o13_1,f=t.u13_1,c=t.v13_1;return this.q15_1=u,this.r15_1=_,this.s15_1=t.t13_1,this.v15_1=h,this.w15_1=(u.length/5|0)-h|0,this.z15_1=o,this.a16_1=_.length-o|0,this.b16_1=h,this.t15_1=f,this.u15_1=c,t.s1o(i,0,e,0,s,a,l),this.s15_1}var v,w=t.c17(),d=!1;try{var p=ub(0,w,r,this,!0,!0,n);d=!0,v=p}finally{w.h17(d)}return v}n1q(t,r,n){gg(this.c16_1<=0&&1===this.u18(this.i16_1+t|0));var i=this.i16_1,e=this.x15_1,s=this.y15_1;this.c1p(t),this.k17(),this.d18();var a,l=r.c17(),u=!1;try{var h=hb(0,l,n,this,!1,!0);u=!0,a=h}finally{l.h17(u)}var _=a;return this.j19(),this.i19(),this.i16_1=i,this.x15_1=e,this.y15_1=s,_}u16(t){var r,n=this.s15_1,i=Xb(n,t,this.u1o());if(i<0){var e=new Rw(t<=this.v15_1?t:0|-(this.u1o()-t|0));n.u1(0|-(i+1|0),e),r=e}else r=n.s(i);return r}o1q(t){var r,n,i=Ab(this,t);ok(this.q15_1,i)||(!0,(r=this.q15_1)[n=xv(i,5)+1|0]=134217728|r[n],rk(this.q15_1,i)||wb(this,this.t16(t)))}a1a(t,r){var n;return t=t===b?this.k16_1:t,r===b?(this.o1q(t),n=k):n=r.o1q.call(this,t),n}n1a(t){var r=t.g1b_1;return r<0?this.u1o()+r|0:r}toString(){return"SlotWriter(current = "+this.i16_1+" end="+this.j16_1+" size = "+this.u1o()+" gap="+this.v15_1+"-"+(this.v15_1+this.w15_1|0)+")"}m1p(t){return 0<=t&&t=0){var u,h=t.m1p(r);if(null!=h){var _;t:{for(var o=0,f=l.p();o=0;){var i=r.s(n);i instanceof Rw?wi(i,t)&&r.v1(n):i instanceof Tw&&(i.j1q(t)||r.v1(n)),n=n-1|0}return!r.x()||(this.y1o_1=null,!1)}return!0}}class Hw{constructor(t){this.v14_1=t,this.w14_1=this.v14_1.l13_1,this.x14_1=this.v14_1.m13_1,this.y14_1=this.v14_1.n13_1,this.z14_1=this.v14_1.o13_1,this.a15_1=null,this.b15_1=!1,this.c15_1=0,this.d15_1=this.x14_1,this.e15_1=-1,this.f15_1=new pd,this.g15_1=0,this.h15_1=0,this.i15_1=0,this.j15_1=!1}p(){return this.x14_1}t16(t){return nk(this.w14_1,t)}h1e(){return lk(this.w14_1,this.c15_1)}q19(t){return lk(this.w14_1,t)}r19(t){return uk(this.w14_1,t)}n1b(t){return lk(this.w14_1,t)?function(t,r,n){var i;return i=lk(t,n)?r.y14_1[function(t,r){return t[xv(r,5)+4|0]}(t,n)]:wg().m17_1,i}(this.w14_1,this,t):null}a19(){return this.l19()||this.c15_1===this.d15_1}l19(){return this.g15_1>0}q1q(){return tk(this.w14_1,this.c15_1)}u18(t){return tk(this.w14_1,t)}z18(){return this.d15_1}z17(){return this.c15_1=0?uk(this.w14_1,this.e15_1):0}c19(){return this.i15_1-this.h15_1|0}d1e(t){return this.w1b(this.c15_1,t)}w1b(t,r){var n=t+1|0,i=ek(this.w14_1,t)+r|0;return i<(n0||this.h15_1>=this.i15_1)return this.j15_1=!1,wg().m17_1;this.j15_1=!0;var t=this.h15_1;return this.h15_1=t+1|0,this.y14_1[t]}n17(){this.g15_1=this.g15_1+1|0}h19(){this.g15_1>0||by("Unbalanced begin/end empty"),this.g15_1=this.g15_1-1|0}k15(){this.b15_1=!0,this.v14_1.q1o(this,this.a15_1)}k17(){if(this.g15_1<=0){var t=this.e15_1,r=this.c15_1;nk(this.w14_1,r)!==t&&by("Invalid slot table detected");var n=this.a15_1,i=null==n?null:n.b2(this.u16(t));null==i||i.p1q(this.v14_1,r);var e=this.f15_1,s=this.h15_1,a=this.i15_1;0===s&&0===a?e.b14(-1):e.b14(s),this.e15_1=r,this.d15_1=r+tk(this.w14_1,r)|0,this.c15_1=r+1|0,this.h15_1=ek(this.w14_1,r),this.i15_1=r>=(this.x14_1-1|0)?this.z14_1:ik(this.w14_1,r+1|0)}}l17(){this.g15_1<=0&&(lk(this.w14_1,this.c15_1)||by("Expected a node group"),this.k17())}q16(){0!==this.g15_1&&Eg("Cannot skip while in an empty region");var t=lk(this.w14_1,this.c15_1)?1:uk(this.w14_1,this.c15_1);return this.c15_1=this.c15_1+tk(this.w14_1,this.c15_1)|0,t}d17(){0!==this.g15_1&&Eg("Cannot skip the enclosing group while in an empty region"),this.c15_1=this.d15_1,this.h15_1=0,this.i15_1=0}n18(t){0!==this.g15_1&&Eg("Cannot reposition while in an empty region"),this.c15_1=t;var r=t=t&&n<=r||Eg("Index "+t+" is not a parent of "+n),this.e15_1=t,this.d15_1=r,this.h15_1=0,this.i15_1=0}f19(){if(0===this.g15_1){this.c15_1!==this.d15_1&&Eg("endGroup() not called at the end of a group");var t=nk(this.w14_1,this.e15_1);this.e15_1=t,this.d15_1=t<0?this.x14_1:t+tk(this.w14_1,t)|0;var r=this.f15_1.l15();r<0?(this.h15_1=0,this.i15_1=0):(this.h15_1=r,this.i15_1=t>=(this.x14_1-1|0)?this.z14_1:ik(this.w14_1,t+1|0))}}a18(){var t=Lt.b1();if(this.g15_1>0)return t;for(var r=0,n=this.c15_1;n0;){var n=((r+1|0)>>>1|0)-1|0,i=this.j1p_1.s(n);if(!(t>i))break t;this.j1p_1.t1(r,i),r=n}this.j1p_1.t1(r,t)}el(){return!this.j1p_1.x()}e1d(){return function(t){if(t.x())throw dr.w("List is empty.");return t.s(0)}(this.j1p_1)}k1p(){this.j1p_1.p()>0||Eg("Set is empty");var t=this.j1p_1.s(0);t:for(;!this.j1p_1.x()&&this.j1p_1.s(0)===t;){this.j1p_1.t1(0,Rn(this.j1p_1)),this.j1p_1.v1(this.j1p_1.p()-1|0);var r=0,n=this.j1p_1.p(),i=this.j1p_1.p()>>>1|0;r:for(;ra){if(u>e){this.j1p_1.t1(r,u),this.j1p_1.t1(l,e),r=l;continue r}break r}}if(!(a>e))break r;this.j1p_1.t1(r,a),this.j1p_1.t1(s,e),r=s}}return t}}class Kw{constructor(t,r,n,i,e){this.e18_1=t,this.f18_1=r,this.g18_1=n,this.h18_1=i,this.i18_1=e}}class Gw{constructor(t,r,n,i){this.y1q_1=t,this.z1q_1=r,this.a1r_1=n,this.b1r_1=i,this.c1r_1=this.y1q_1.s13_1,this.d1r_1=0}m(){var t,r=this.a1r_1.y1o_1;return null!=(t=null==r?null:this.d1r_1=this.z13_1.length&&(this.z13_1=Ie(this.z13_1,xv(this.z13_1.length,2)));var r=this.z13_1,n=this.a14_1;this.a14_1=n+1|0,r[n]=t}l15(){var t=this.z13_1;return this.a14_1=this.a14_1-1|0,t[this.a14_1]}t1p(t){return this.a14_1>0?this.e1d():t}e1d(){return this.z13_1[this.a14_1-1|0]}q18(){return this.z13_1[this.a14_1-2|0]}p19(t){return this.z13_1[t]}x(){return 0===this.a14_1}s1(){this.a14_1=0}s1p(t){var r=0,n=this.a14_1;if(r0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&l.t9(", "),l.t9(e.o1t(_)),a=a+1|0)}while(h0&&c.t9(", "),c.t9(e.p1t(d)),f=f+1|0)}while(w0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&l.t9(", "),l.t9(e.o1t(_)),a=a+1|0)}while(h0&&c.t9(", "),c.t9(e.p1t(d)),f=f+1|0)}while(w0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&l.t9(", "),l.t9(e.o1t(_)),a=a+1|0)}while(h0&&c.t9(", "),c.t9(e.p1t(d)),f=f+1|0)}while(w0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&u.t9(", "),u.t9(s.o1t(o)),l=l+1|0)}while(_0&&v.t9(", "),v.t9(s.p1t(p)),c=c+1|0)}while(d0&&l.t9(", "),l.t9(e.o1t(_)),a=a+1|0)}while(h0&&c.t9(", "),c.t9(e.p1t(d)),f=f+1|0)}while(w0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0){var t=Sk(this),r=t.e15_1;if(this.l14_1.t1p(-2)!==r&&(!(i=this).k14_1&&i.m14_1&&(Ek(i),i.j14_1.x1t(),i.k14_1=!0),r>0)){var n=t.u16(r);this.l14_1.b14(r),function(t,r){Ek(t),t.j14_1.y1t(r),t.k14_1=!0}(this,n)}}var i}w1d(){return(Sk(this).e15_1-this.n14_1|0)<0}z1d(t){this.j14_1.k1t(t)}u1d(t,r){$k(this,!0),this.j14_1.q1t(t,r)}v1d(t,r,n){this.j14_1.r1t(t,r,n)}s1d(t,r){this.j14_1.s1t(t,r)}d19(t){t>0&&(Ak(this),this.j14_1.t1t(t))}f1a(){this.j14_1.u1t()}i17(t){Ek(this),this.j14_1.w1t(t)}u14(){this.k14_1&&(Ek(this),Ek(this),this.j14_1.z1t(),this.k14_1=!1)}e19(){var t=Sk(this).e15_1;this.l14_1.t1p(-1)<=t||Eg("Missed recording an endGroup"),this.l14_1.t1p(-1)===t&&(Ek(this),this.l14_1.l15(),this.j14_1.z1t())}v1a(){this.j14_1.a1u()}q1b(){Ak(this),this.j14_1.b1u(),this.n14_1=this.n14_1+Sk(this).q1q()|0}p1b(t,r){Nk(this),Ak(this),Mk(this),this.j14_1.c1u(t,r)}o1b(t,r,n){Nk(this),Ak(this),Mk(this),this.j14_1.d1u(t,r,n)}o18(t){Ak(this),this.j14_1.e1u(t)}m1e(t,r){this.j14_1.f1u(t,r)}h1d(t){Ck(this),this.j14_1.g1u(t)}k1d(t,r){Ck(this),this.j14_1.h1u(t,r)}s18(t,r){r>0&&(t>=0||Eg("Invalid remove index "+t),this.q14_1===t?this.t14_1=this.t14_1+r|0:(Mk(this),this.q14_1=t,this.t14_1=r))}w18(t,r,n){n>0&&(this.t14_1>0&&this.r14_1===(t-this.t14_1|0)&&this.s14_1===(r-this.t14_1|0)?this.t14_1=this.t14_1+n|0:(Mk(this),this.r14_1=t,this.s14_1=r,this.t14_1=n))}r1b(){Nk(this),this.k14_1&&(this.v1a(),this.u14())}y18(){Mk(this)}k1c(t,r){this.y18(),Nk(this);var n=Sk(this).q19(r)?1:Sk(this).r19(r);n>0&&this.s18(t,n)}b19(){Mk(this),this.p14_1.el()?this.p14_1.l15():this.o14_1=this.o14_1+1|0}t19(t){Mk(this),this.p14_1.p18(t)}b1e(t){this.j14_1.n1u(t)}o1a(t,r){Nk(this),this.j14_1.o1u(t,r)}r1a(t,r){this.j14_1.p1u(t,r)}s1a(t,r,n,i){this.j14_1.q1u(t,r,n,i)}j1c(t,r,n){this.j14_1.r1u(t,r,n)}w1a(){this.j14_1.s1u(),this.n14_1=0}u1a(t,r){this.j14_1.t1u(t,r)}t1b(){Nk(this),this.l14_1.x()||Eg("Missed recording an endGroup()")}u1b(){this.k14_1=!1,this.l14_1.s1(),this.n14_1=0}}class Sd extends xd{constructor(){super(),this.n15_1=new _p,this.o15_1=new _p}x(){return this.n15_1.x()}s1(){this.o15_1.s1(),this.n15_1.s1()}v1u(t,r,n){this.o15_1.x()||Eg("FixupList has pending fixup operations that were not realized. Were there mismatched insertNode() and endNodeInsert() calls?"),this.n15_1.j1t(t,r,n)}f1d(t,r,n){var i=this.n15_1,e=Xk();i.l1t(e);var s=i;if(Xk(),hx(s,0,t),Xk(),ux(s,0,r),Xk(),hx(s,1,n),fx(i)!==vx(0,e.m1t_1)||cx(i)!==vx(0,e.n1t_1)){var a=0,l=Or.j(),u=e.m1t_1,h=0;if(h0&&l.t9(", "),l.t9(e.o1t(_)),a=a+1|0)}while(h0&&c.t9(", "),c.t9(e.p1t(d)),f=f+1|0)}while(w0&&k.t9(", "),k.t9(g.o1t(q)),b=b+1|0)}while(j0&&C.t9(", "),C.t9(g.p1t(E)),S=S+1|0)}while($0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v=0&&!t.q19(n);)n=t.t16(n);var i=0;for(n=n+1|0;n0?new Sv(r,l):r,u.z1h(e,n,i)}}class lp{constructor(t,r){this.o1x_1=t,this.p1x_1=r}t1j(t,r){var n=this.o1x_1,i=pe(n,nw)?n:null,e=null==i?null:i.t1j(t,r),s=null==e?Hg():e;if(s.equals(Hg())){var a=this.p1x_1;return a.l1a_1=Dn(a.l1a_1,kl(t,r)),Ug()}return s}x1j(t){}b1j(t){}}class up{constructor(t){this.t1x_1=t,this.q1x_1=0,this.r1x_1=0,this.s1x_1=0}n(){if(this.q1x_1>=this.t1x_1.c1t_1)return!1;var t=this.u1x();return this.r1x_1=this.r1x_1+t.m1t_1|0,this.s1x_1=this.s1x_1+t.n1t_1|0,this.q1x_1=this.q1x_1+1|0,this.q1x_1(e=n.d1t_1.length)&&(n.d1t_1=Ie(n.d1t_1,_x(0,e,i))),function(t,r){var n=t.f1t_1.length;r>n&&(t.f1t_1=Me(t.f1t_1,_x(0,n,r)))}(this,this.g1t_1+t.n1t_1|0);var s=this.b1t_1,a=this.c1t_1;this.c1t_1=a+1|0,s[a]=t,this.e1t_1=this.e1t_1+t.m1t_1|0,this.g1t_1=this.g1t_1+t.n1t_1|0}v1t(t){0===t.m1t_1&&0===t.n1t_1||by("Cannot push "+t.toString()+" without arguments because it expects "+t.m1t_1+" ints and "+t.n1t_1+" objects."),this.l1t(t)}w1u(t){if(this.x())throw dr.w("Cannot pop(), because the stack is empty.");var r=this.b1t_1;this.c1t_1=this.c1t_1-1|0;var n=zi(r[this.c1t_1]);this.b1t_1[this.c1t_1]=null,t.l1t(n);var i=this.g1t_1,e=t.g1t_1,s=n.n1t_1,a=0;if(at.y1x(r,n)).$arity=1,r));var t,r}z1x(t){var r;t:if(pe(t,ht)&&t.x())r=!0;else{for(var n=t.l();n.m();){var i=n.n();if(!this.w1h_1.o(i)){r=!1;break t}}r=!0}return r}p1(t){return this.z1x(t)}jf(t){return this.w1h_1.o(t)}o(t){return(null==t||null!=t)&&this.jf(null==t||null!=t?t:Si())}}class vp{constructor(){this.f1b_1=(vf(),new Fo)}p(){return this.f1b_1.p()}y1h(t,r){var n,i=this.f1b_1,e=i.wk(t),s=e<0;if(s)n=null;else{var a=i.mk_1[e];n=null==a||null!=a?a:Si()}var l,u=n;if(null==u)l=r;else if(u instanceof Yo)(u instanceof Yo?u:Si()).h(r),l=u;else{var h;if(u!==r){var _=new Yo;_.h(null!=u?u:Si()),_.h(r),h=_}else h=u;l=h}var o=l;if(s){var f=~e;i.lk_1[f]=t,i.mk_1[f]=o}else i.mk_1[e]=o}f1i(t,r){this.f1b_1.vk(t,r)}x1h(t){return this.f1b_1.z1(t)}u1h(t,r){var n=this.f1b_1.b2(t);if(null==n)return!1;var i,e=n;if(e instanceof Yo){var s=e instanceof Yo?e:Si(),a=s.q1(r);return a&&s.x()&&this.f1b_1.f2(t),a}return wi(e,r)?(this.f1b_1.f2(t),i=!0):i=!1,i}g1j(t){var r=this.f1b_1;t:{var n=r.kk_1,i=n.length-2|0,e=0;if(e<=i)do{var s=e;e=e+1|0;var a=n[s],l=a;if(!l.a3(l.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var u=8-(~(s-i)>>>31|0)|0,h=0;if(h>>31|0)|0,f=0;if(f0&&e<=s||a<0&&s<=e)do{var l=e;if(e=e+a|0,wi(r,qx(t,l))){if(n===zx(t,l))return null;var u=t.r1y_1.slice();return u[l+1|0]=n,xx(Tp.t21(0,0,u))}}while(l!==s);var h=Tx(t.r1y_1,0,r,n);return kx(Tp.t21(0,0,h))}(u,r,n);if(null==h)return null;a=h}else{var _=u.u1y(t,r,n,i+5|0);if(null==_)return null;a=_}var o=a,f=o,c=o.v1y_1;return f.v1y_1=Sx(this,l,e,c),o}return kx(function(t,r,n,i){var e=t.n20(r),s=Tx(t.r1y_1,e,n,i);return Tp.t21(t.o1y_1|r,t.p1y_1,s)}(this,e,r,n))}q1z(t,r,n,i,e){var s=1<0&&s<=a||l<0&&a<=s)do{var u=s;if(s=s+l|0,wi(r,qx(t,u))){if(i.f1z_1=zx(t,u),t.q1y_1===i.d1z_1)return t.r1y_1[u+1|0]=n,t;i.g1z_1=i.g1z_1+1|0;var h=t.r1y_1.slice();return h[u+1|0]=n,Tp.u21(0,0,h,i.d1z_1)}}while(u!==a);var _=i.p();i.j1z(_+1|0);var o=Tx(t.r1y_1,0,r,n);return Tp.u21(0,0,o,i.d1z_1)}(_,r,n,e):_.q1z(t,r,n,i+5|0,e),_===u?this:Cx(this,h,u,e.d1z_1)}var o=e.p();return e.j1z(o+1|0),function(t,r,n,i,e){var s=t.n20(r);if(t.q1y_1===e)return t.r1y_1=Tx(t.r1y_1,s,n,i),t.o1y_1=t.o1y_1|r,t;var a=Tx(t.r1y_1,s,n,i);return Tp.u21(t.o1y_1|r,t.p1y_1,a,e)}(this,s,r,n,e.d1z_1)}x1y(t,r,n){var i=1<0&&i<=e||s<0&&e<=i)do{var a=i;if(i=i+s|0,wi(r,qx(t,a)))return Ix(t,a)}while(a!==e);return t}(l,r):l.x1y(t,r,n+5|0),function(t,r,n,i,e){return null==n?function(t,r,n){if(1===t.r1y_1.length)return null;var i=Hx(t.r1y_1,r);return Tp.t21(t.o1y_1,t.p1y_1^n,i)}(t,i,e):r!==n?Sx(t,i,e,n):t}(this,l,s,a,i)}return this}t1z(t,r,n,i){var e=1<0&&e<=s||a<0&&s<=e)do{var l=e;if(e=e+a|0,wi(r,qx(t,l)))return Mx(t,l,n)}while(l!==s);return t}(u,r,i):u.t1z(t,r,n+5|0,i),Dx(this,u,a,l,e,i.d1z_1)}return this}v1z(t,r,n,i,e){var s=1<0&&s<=a||l<0&&a<=s)do{var u=s;if(s=s+l|0,wi(r,qx(t,u))&&wi(n,zx(t,u)))return Mx(t,u,i)}while(u!==a);return t}(h,r,n,e):h.v1z(t,r,n,i+5|0,e),Dx(this,h,l,u,s,e.d1z_1)}return this}}class Hp{constructor(){Fc=this,this.a1y_1=Up.z21(Bc,Bc,px().l1y())}b1y(){return this.a1y_1}}class Up extends Fr{static z21(t,r,n){Bx();var i=this.te();return i.w21_1=t,i.x21_1=r,i.y21_1=n,i}p(){return this.y21_1.p()}o(t){return this.y21_1.z1(t)}h(t){if(this.y21_1.z1(t))return this;if(this.x()){var r=this.y21_1.e2(t,Fp.c22());return Up.z21(t,t,r)}var n=this.x21_1,i=null==n||null!=n?n:Si(),e=zi(this.y21_1.b2(i)),s=this.y21_1.e2(i,e.d22(t)).e2(t,Fp.e22(i));return Up.z21(this.w21_1,t,s)}q1(t){var r=this.y21_1.b2(t);if(null==r)return this;var n=r,i=this.y21_1.f2(t);if(n.f22()){var e=i,s=n.a22_1,a=zi((pe(e,ct)?e:Si()).b2(s)),l=i,u=n.a22_1;i=l.e2(null==u||null!=u?u:Si(),a.d22(n.b22_1))}if(n.h22()){var h=i,_=n.b22_1,o=zi((pe(h,ct)?h:Si()).b2(_)),f=i,c=n.b22_1;i=f.e2(null==c||null!=c?c:Si(),o.g22(n.a22_1))}var v=n.f22()?this.w21_1:n.b22_1,w=n.h22()?this.x21_1:n.a22_1;return Up.z21(v,w,i)}l(){return new Bp(this.w21_1,this.y21_1)}}class Fp{static i22(t,r){var n=xi(this);return n.a22_1=t,n.b22_1=r,n}static c22(){return this.i22(Bc,Bc)}static e22(t){return this.i22(t,Bc)}d22(t){return Fp.i22(this.a22_1,t)}g22(t){return Fp.i22(t,this.b22_1)}h22(){return!(this.b22_1===Bc)}f22(){return!(this.a22_1===Bc)}}class Bp{constructor(t,r){this.j22_1=t,this.k22_1=r,this.l22_1=0}m(){return this.l22_1=0?this.w1s_1[r]:null}y1s(t,r){var n=tj(this,t);return!(n<0||(this.w1s_1[n]=r,0))}z1s(t,r){for(var n=this.u1s_1,i=0,e=this.w1s_1,s=0,a=e.length;s1){var o=0,f=0;t:for(;o0){h[o]=t,_[o]=r,o=o+1|0;break t}null!=v&&(h[o]=c,_[o]=v,o=o+1|0),f=f+1|0}if(f===n)h[u-1|0]=t,_[u-1|0]=r;else for(;o(ej(),oj(Tn(fj(),t)),k)))}j23(t){return ej(),cj(Dn(vj(),t)),xj(),new rm((()=>(ej(),cj(Tn(vj(),t)),xj(),k)))}l1n(){return bj().k23()}j1n(){ej();var t=wj().js().l23();!0===(null==t?null:t.el())&&xj()}}class im{constructor(t,r){this.a1b_1=r,this.b1b_1=t,this.c1b_1=!1,this.d1b_1=0!==t?function(t,r){Kj();var n=r.k25(t);return ej(),hj().ni(n)}(t,this.m23()):-1}n23(t){this.a1b_1=t}m23(){return this.a1b_1}o23(t){this.b1b_1=t}e1b(){return this.b1b_1}p23(t){throw fr.l3(pi("Updating write count is not supported for this snapshot"))}q23(){return 0}bq(){this.c1b_1=!0,ej(),this.s23()}x1n(){var t=ij().js();return ij().z1k(this),t}y1n(t){ij().z1k(t)}w23(){ej(),this.x23(),this.y23()}x23(){sj(aj().d24(this.e1b()))}y23(){this.s23()}e24(){this.c1b_1&&by("Cannot use a disposed snapshot")}s23(){this.d1b_1>=0&&(yj(this.d1b_1),this.d1b_1=-1)}f24(){var t=this.d1b_1;return this.d1b_1=-1,t}}class em{constructor(){uv=this,this.h24_1=new Int32Array(0)}}class sm extends im{constructor(t,r,n,i){mj(),super(t,r),this.d1o_1=n,this.e1o_1=i,this.f1o_1=0,this.g1o_1=null,this.h1o_1=null,this.i1o_1=Jj().i24_1,this.j1o_1=mj().h24_1,this.k1o_1=1,this.l1o_1=!1}t23(){return this.d1o_1}u23(){return this.e1o_1}i23(t,r){var n;this.e24(),!(n=this).l1o_1||function(t){return t.d1b_1}(n)>=0||yy("Unsupported operation on a disposed or applied snapshot"),this.j24(this.e1b()),ej();var i=uj();lj(i+1|0);var e=i;sj(aj().k24(e));var s=this.m23();this.n23(s.k24(e));var a=new _m(e,qj(s,this.e1b()+1|0,e),function(t,r,n){n=n===b||n,Kj();var i=n?r:null;return null!=t&&null!=i&&t!==i?r=>(t(r),i(r),k):null==t?i:t}(t,this.t23()),function(t,r){return Kj(),null==t||null==r||t===r?null==t?r:t:n=>(t(n),r(n),k)}(r,this.u23()),this);if(!this.l1o_1&&!this.c1b_1){var l=this.e1b();ej();var u=Hj();Uj(u+1|0),this.o23(u),Tj(Rj().k24(this.e1b())),this.n23(qj(this.m23(),l+1|0,this.e1b()))}return a}m1o(){var t=this.l23(),r=null!=t?zj(wj().js(),this,aj().d24(wj().js().e1b())):null,n=Da(),i=null;if(ej(),Sj(this),null==t||0===t.p()){this.x23();var e=wj().js();Cj(e,nj());var s=e.l23();null!=s&&s.el()&&(n=fj(),i=s)}else{var a=wj().js(),l=this.l24(uj(),r,aj().d24(a.e1b()));if(!wi(l,gj()))return l;this.x23(),Cj(a,nj());var u=a.l23();this.g24(null),a.g24(null),n=fj(),i=u}if(this.l1o_1=!0,null!=i){var h=wx(zi(i));if(!h.x()){var _=n,o=0,f=_.p()-1|0;if(o<=f)do{var c=o;o=o+1|0,_.s(c)(h,this)}while(o<=f)}}if(null!=t&&t.el()){var v=wx(t),w=n,d=0,p=w.p()-1|0;if(d<=p)do{var m=d;d=d+1|0,w.s(m)(v,this)}while(d<=p)}ej(),this.y23(),Aj();var g=i;if(null==g);else{var y=g.zk_1;t:{var b=g.yk_1,k=b.length-2|0,x=0;if(x<=k)do{var j=x;x=x+1|0;var q=b[j],z=q;if(!z.a3(z.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var S=8-(~(j-k)>>>31|0)|0,C=0;if(C>>31|0)|0,R=0;if(R0||by("no pending nested snapshots"),this.k1o_1=this.k1o_1-1|0,0===this.k1o_1&&(this.l1o_1||function(t){var r,n,i=t.l23();if(null!=i){!function(t){t.l1o_1&&yy("Unsupported operation on a snapshot that has been applied")}(t),t.g24(null);var e=t.e1b(),s=i.zk_1;t:{var a=i.yk_1,l=a.length-2|0,u=0;if(u<=l)do{var h=u;u=u+1|0;var _=a[h],o=_;if(!o.a3(o.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var f=8-(~(h-l)>>>31|0)|0,c=0;if(c=0))&&(d.e1s_1=0),d=d.f1s_1;_=_.y2(8)}while(c>>31|0)|0,w=0;if(w=0){var r=this.j1o_1,n=new Int32Array([t]);this.j1o_1=ae([r,n])}}s24(t){if(0===t.length)return k;var r,n=this.j1o_1;r=0===n.length?t:ae([n,t]),this.j1o_1=r}t24(t){ej(),this.i1o_1=this.i1o_1.q24(t)}v23(t){var r,n=this.l23();if(null==n){var i=bf();this.g24(i),r=i}else r=n;r.h(t)}p23(t){this.f1o_1=t}q23(){return this.f1o_1}g24(t){this.g1o_1=t}l23(){return this.g1o_1}}class am{}class lm extends am{constructor(){hv=null,super(),hv=this}}class um extends am{constructor(t){super(),this.u24_1=t}}class hm extends sm{constructor(t,r){ej();var n,i,e=vj(),s=1===(n=e).p()?n.s(0):null;i=null==s?t=>{var r=e,n=0,i=r.p()-1|0;if(n<=i)do{var s=n;n=n+1|0,r.s(s)(t)}while(n<=i);return k}:s,super(t,r,null,i)}i23(t,r){return n=n=>{ej();var i=uj();return lj(i+1|0),new sm(i,n,t,r)},Kj(),kj((t=>{var r=n(t);return ej(),sj(aj().k24(r.e1b())),r}));var n}k23(){xj()}i25(t){rq()}m24(t){return this.i25(t)}j25(t){rq()}n24(t){return this.j25(t)}m1o(){throw fr.l3(pi("Cannot apply the global snapshot directly. Call Snapshot.advanceGlobalSnapshot"))}bq(){ej(),this.s23()}}class _m extends sm{constructor(t,r,n,i,e){super(t,r,n,i),this.e26_1=e,this.f26_1=!1,this.e26_1.n24(this)}bq(){this.c1b_1||(super.bq(),jj(this))}m1o(){if(this.e26_1.l1o_1||this.e26_1.c1b_1)return new um(this);var t=this.l23(),r=this.e1b(),n=null!=t?zj(this.e26_1,this,this.e26_1.m23()):null;if(ej(),Sj(this),null==t||0===t.p())this.w23();else{var i=this.l24(this.e26_1.e1b(),n,this.e26_1.m23());if(!wi(i,gj()))return i;var e,s=this.e26_1.l23();null==s?e=null:(s.xl(t),e=s),null==e&&(this.e26_1.g24(t),this.g24(null))}return this.e26_1.e1b()0?this.m25_1[0]:t}ni(t){!function(t,r){var n=t.m25_1.length;if(r<=n)return k;var i=xv(n,2),e=new Int32Array(i),s=new Int32Array(i),a=t.m25_1;Ge(a,e,0,0,a.length);var l=t.n25_1;Ge(l,s,0,0,l.length),t.m25_1=e,t.n25_1=s}(this,this.l25_1+1|0);var r=this.l25_1;this.l25_1=r+1|0;var n=r,i=function(t){var r=t.o25_1.length;if(t.p25_1>=r){for(var n=0,i=xv(r,2),e=new Int32Array(i);n>1,e=r;e=0&&r<64)return!new yt(1,0).x2(r).a3(this.a24_1).equals(new yt(0,0));if(r>=64&&r<128)return!new yt(1,0).x2(r-64|0).a3(this.z23_1).equals(new yt(0,0));if(r>0)return!1;var n,i=this.c24_1;return null!=(n=null==i?null:tq(i,t)>=0)&&n}k24(t){var r=t-this.b24_1|0;if(r>=0&&r<64){var n=new yt(1,0).x2(r);if(this.a24_1.a3(n).equals(new yt(0,0)))return new vm(this.z23_1,this.a24_1.b3(n),this.b24_1,this.c24_1)}else if(r>=64&&r<128){var i=new yt(1,0).x2(r-64|0);if(this.z23_1.a3(i).equals(new yt(0,0)))return new vm(this.z23_1.b3(i),this.a24_1,this.b24_1,this.c24_1)}else if(r>=128){if(!this.s(t)){var e=this.z23_1,s=this.a24_1,a=this.b24_1,l=null,u=xv((t+1|0)/64|0,64);t:for(;a=0&&r<64){var n=new yt(1,0).x2(r);if(!this.a24_1.a3(n).equals(new yt(0,0)))return new vm(this.z23_1,this.a24_1.a3(n.w2()),this.b24_1,this.c24_1)}else if(r>=64&&r<128){var i=new yt(1,0).x2(r-64|0);if(!this.z23_1.a3(i).equals(new yt(0,0)))return new vm(this.z23_1.a3(i.w2()),this.a24_1,this.b24_1,this.c24_1)}else if(r<0){var e=this.c24_1;if(null!=e){var s=tq(e,t);if(s>=0){var a=e.length-1|0;if(0===a)return new vm(this.z23_1,this.a24_1,this.b24_1,null);var l=new Int32Array(a);return s>0&&Ge(e,l,0,0,s),st.n26(r,n),r.$arity=1,r)).l();var t,r}k25(t){var r=this.c24_1;return null!=r?r[0]:this.a24_1.equals(new yt(0,0))?this.z23_1.equals(new yt(0,0))?t:(this.b24_1+64|0)+Pe(this.z23_1)|0:this.b24_1+Pe(this.a24_1)|0}toString(){for(var t,r,n,i,e,s,a=yi(this),l=Lt.q(Ha(this,10)),u=this.l();u.m();){var h=u.n().toString();l.h(h)}return a+" ["+(t=t===b?", ":t,r=r===b?"":r,n=n===b?"":n,i=i===b?-1:i,e=e===b?"...":e,s=s===b?null:s,function(t,r,n,i,e,s,a,l){n=n===b?", ":n,i=i===b?"":i,e=e===b?"":e,s=s===b?-1:s,a=a===b?"...":a,l=l===b?null:l,r.k(i);var u=0,h=0,_=t.p()-1|0;if(h<=_)t:do{var o=h;h=h+1|0;var f=t.s(o);if((u=u+1|0)>1&&r.k(n),!(s<0||u<=s))break t;rj(r,f,l)}while(h<=_);return s>=0&&u>s&&r.k(a),r.k(e),r}(l,Or.j(),t,r,n,i,e,s).toString()+"]")}}class wm{constructor(){this.h26_1=0,this.i26_1=new Int32Array(16),this.j26_1=Yn(Array(16),null)}l26(t){var r,n=this.h26_1,i=function(t){if(uq(),null==t)return 0;var r,n=t.kotlinIdentityHashcodeValue$;if(null!=n)return n;switch(typeof t){case"object":case"function":r=function(t){uq();var r,n=(uq(),wv);r=n+1|0,uq(),wv=r;var i=n,e=new Object;return e.value=i,e.writable=!1,e.configurable=!1,e.enumerable=!1,Object.defineProperty(t,"kotlinIdentityHashcodeValue$",e),i}(t);break;default:throw vr.h1("identity hash code for "+typeof t+" is not supported")}return r}(t);if(n>0){if(r=function(t,r,n){for(var i=0,e=t.h26_1-1|0;i<=e;){var s=(i+e|0)>>>1|0,a=t.i26_1[s];if(an)){var l=t.j26_1[s];return r===(null==l?null:l.js())?s:nq(t,s,r,n)}e=s-1|0}}return 0|-(i+1|0)}(this,t,i),r>=0)return!1}else r=-1;var e=0|-(r+1|0),s=this.j26_1.length;if(n===s){var a=xv(s,2),l=Yn(Array(a),null),u=new Int32Array(a);Ge(this.j26_1,l,e+1|0,e,n),Ge(this.j26_1,l,0,0,e),Ge(this.i26_1,u,e+1|0,e,n),Ge(this.i26_1,u,0,0,e),this.j26_1=l,this.i26_1=u}else Ge(this.j26_1,this.j26_1,e+1|0,e,n),Ge(this.i26_1,this.i26_1,e+1|0,e,n);return this.j26_1[e]=new xm(t),this.i26_1[e]=i,this.h26_1=this.h26_1+1|0,!0}}class dm{}class pm{constructor(t){this.s1h_1=t}js(){return this.s1h_1}px(t){this.s1h_1=t}xw(t){var r=this.s1h_1;return this.s1h_1=t,r}ww(t,r){var n;return wi(this.s1h_1,t)?(this.s1h_1=r,n=!0):n=!1,n}}class mm{constructor(t){this.x10_1=t}js(){return this.x10_1}y10(t){this.x10_1=t}ni(t){return this.x10_1=this.x10_1+t|0,this.x10_1}o26(t,r){var n;return wi(this.x10_1,t)?(this.x10_1=r,n=!0):n=!1,n}}class gm{constructor(t,r,n){this.m22_1=t,this.n22_1=r,this.o22_1=n,this.p22_1=null,this.q22_1=null}r22(t){if(!wi(this.o22_1,t)){var r=null==this.o22_1;this.o22_1=t,r||function(t){if(t.n22_1){var r=t.p22_1;null!=r&&(r.s1j(),t.p22_1=null);var n=t.q22_1;if(null!=n){var i=0,e=n.p();if(i(function(t,r,n){t.n1c(r,n)}(i,t,r),k))),a}p26(t,r,n){var i=r.j1e(this.m22_1);aq(this,i);var e=n|(i.c14(this)?Vx(1):Wx(1)),s=this.o22_1,a=(null!=s&&"function"==typeof s?s:Si())(t,i,e),l=i.k1e();return null==l||l.p1k(((r,i)=>(this.p26(t,r,1|zy(n)),k))),a}}class ym{b11(t,r){var n=hr.mb(Ss(r)),i=n;return window.requestAnimationFrame((r=>{var n=function(t,r){var n=ja(t,r,(xa(),L));if(Le(n))throw vr.h1(pi("Duration value cannot be NaN."));var i=Ks(n);return new yt(387905,-1073741824).k1(i)<=0&&i.k1(new yt(-387905,1073741823))<=0?pl(i):function(t){var r,n;return new yt(1108857478,-1074).k1(t)<=0&&t.k1(new yt(-1108857478,1073))<=0?r=pl(dl(t)):(n=function(t,r,n){if(r.k1(n)>0)throw vr.h1("Cannot coerce value to an empty range: maximum "+n.toString()+" is less than minimum "+r.toString()+".");return t.k1(r)<0?r:t.k1(n)>0?n:t}(t,new yt(1,-1073741824),new yt(-1,1073741823)),r=cl(n.x2(1).q2(he(1)))),r}(Ks(ja(t,r,qa())))}(r,qa()),e=t(function(t){var r,n=vl(t);if(wl(t))r=n;else{var i=new yt(-1,2147483647).t2(he(1e6));if(n.k1(i)>0)r=new yt(-1,2147483647);else{var e=new yt(0,-2147483648).t2(he(1e6));r=n.k1(e)<0?new yt(0,-2147483648):dl(n)}}return r}(n)),s=e;return i.va(s),k})),n.nb()}}class bm{z1a(t){return null}m1b(t){}}class km{constructor(t){t=t===b?10:t,this.y16_1=tr.fa()}s(t){return this.y16_1.b2(t)}b17(t,r){this.y16_1.e2(t,r)}}class xm{constructor(t){this.k26_1=t}js(){return this.k26_1}}function jm(){return Bg(),jf}function qm(){return Bg(),qf}function zm(){return Bg(),Sf}function Sm(){return Bg(),Af}function Cm(t){og(t),t.a12_1.s1(),t.f12_1.s1(),t.m12_1.s1(),t.q12_1.s1(),t.o12_1=null,t.i13_1.s1(),t.k13_1=0,t.t12_1=0,t.k12_1=!1,t.j13_1=!1,t.r12_1=!1,t.y12_1=!1,t.j12_1=!1,t.s12_1=-1,t.a13_1.b15_1||t.a13_1.k15(),t.c13_1.l16_1||Tm(t)}function Am(t,r){return Um(t,r,null,jg().n16_1,null)}function $m(t,r,n){return Um(t,r,n,jg().n16_1,null)}function Em(t){return Bm(t,!1)}function Im(t){t.d12_1=t.d12_1+t.a13_1.q16()|0}function Mm(t,r){t.r16(),t.s16(r)}function Nm(t){var r=t.e13_1;return null!=r?r:Lm(t,t.a13_1.e15_1)}function Lm(t,r){if(t.j13_1&&t.d13_1)for(var n=t.c13_1.k16_1;n>0;){if(202===t.c13_1.w16(n)&&wi(t.c13_1.x16(n),zm())){var i=t.c13_1.v16(n),e=null!=i&&pe(i,vw)?i:Si();return t.e13_1=e,e}n=t.c13_1.t16(n)}if(t.a13_1.p()>0)for(var s=r;s>0;){if(202===t.a13_1.w16(s)&&wi(t.a13_1.x16(s),zm())){var a,l=t.o12_1,u=null==l?null:l.s(s);if(null==u){var h=t.a13_1.v16(s);a=null!=h&&pe(h,vw)?h:Si()}else a=u;var _=a;return t.e13_1=_,_}s=t.a13_1.t16(s)}return t.e13_1=t.n12_1,t.n12_1}function Pm(t,r,n){var i=r.z16();i.g2(n);var e=i.a17();return $m(t,204,(Bg(),Cf)),Mm(t,e),Mm(t,n),Em(t),e}function Om(t,r){var n,i=t.o12_1;if(null==i){var e=new km;t.o12_1=e,n=e}else n=i;n.b17(t.a13_1.c15_1,r)}function Dm(t){t.c13_1.l16_1&&(t.c13_1=t.b13_1.c17(),t.c13_1.d17(),t.d13_1=!1,t.e13_1=null)}function Rm(t){gg(t.c13_1.l16_1),Tm(t)}function Tm(t){var r=t,n=new Pw;t.v12_1&&n.e17(),t.u11_1.g17()&&n.f17(),r.b13_1=n;var i=t,e=t.b13_1.c17();e.h17(!0),i.c13_1=e}function Hm(t,r,n){r?t.a13_1.l17():(null!=n&&t.a13_1.j17()!==n&&t.g13_1.i17(n),t.a13_1.k17())}function Um(t,r,n,i,e){lg(t);var s=t.e12_1;if(null==n)if(null==e||207!==r||wi(e,wg().m17_1)){var a=t,l=Te(t.k13_1,3)^r;a.k13_1=Te(l,3)^s}else{var u=di(e),h=t,_=Te(t.k13_1,3)^u;h.k13_1=Te(_,3)^s}else if(n instanceof mt){var o=n.j2_1,f=t,c=Te(t.k13_1,3)^o;f.k13_1=0^Te(c,3)}else{var v=di(n),w=t,d=Te(t.k13_1,3)^v;w.k13_1=0^Te(d,3)}null==n&&(t.e12_1=t.e12_1+1|0);var p=!(i===jg().n16_1);if(t.j13_1){t.a13_1.n17();var m=t.c13_1.i16_1;p?t.c13_1.q17(r,wg().m17_1):null!=e?t.c13_1.p17(r,null==n?wg().m17_1:n,e):t.c13_1.o17(r,null==n?wg().m17_1:n);var g=t.b12_1;if(null==g);else{var y=new Kw(r,-1,Gm(0,m),-1,0);g.x17(y,t.c12_1-g.s17_1|0),g.y17(y)}return Fm(t,p,null),k}var b=i===jg().o16_1&&t.r12_1;if(null==t.b12_1){var x=t.a13_1.z17();!b&&x===r&&wi(n,t.a13_1.b18())?Hm(t,p,e):t.b12_1=new Yv(t.a13_1.a18(),t.c12_1)}var j=t.b12_1,q=null;if(null!=j){var z=j.c18(r,n);if(b||null==z){t.a13_1.n17(),t.j13_1=!0,t.e13_1=null,Dm(t),t.c13_1.d18();var S=t.c13_1.i16_1;p?t.c13_1.q17(r,wg().m17_1):null!=e?t.c13_1.p17(r,null==n?wg().m17_1:n,e):t.c13_1.o17(r,null==n?wg().m17_1:n),t.h13_1=t.c13_1.u16(S);var C=new Kw(r,-1,Gm(0,S),-1,0);j.x17(C,t.c12_1-j.s17_1|0),j.y17(C);var A=Lt.b1();q=new Yv(A,p?0:t.c12_1)}else{j.y17(z);var $=z.g18_1;t.c12_1=j.j18(z)+j.s17_1|0;var E=j.k18(z),I=E-j.t17_1|0;j.l18(E,j.t17_1),t.g13_1.m18($),t.a13_1.n18($),I>0&&t.g13_1.o18(I),Hm(t,p,e)}}Fm(t,p,q)}function Fm(t,r,n){t.a12_1.p18(t.b12_1),t.b12_1=n,t.f12_1.b14(t.d12_1),t.f12_1.b14(t.e12_1),t.f12_1.b14(t.c12_1),r&&(t.c12_1=0),t.d12_1=0,t.e12_1=0}function Bm(t,r){var n=t.f12_1.q18()-1|0;if(t.j13_1){var i=t.c13_1.k16_1,e=t.c13_1.w16(i),s=t.c13_1.x16(i),a=t.c13_1.v16(i);if(null==s)if(null==a||207!==e||wi(a,wg().m17_1)){var l=t,u=He(t.k13_1^n,3)^e;l.k13_1=He(u,3)}else{var h=di(a),_=t,o=He(t.k13_1^n,3)^h;_.k13_1=He(o,3)}else if(s instanceof mt){var f=s.j2_1,c=t,v=He(0^t.k13_1,3)^f;c.k13_1=He(v,3)}else{var w=di(s),d=t,p=He(0^t.k13_1,3)^w;d.k13_1=He(p,3)}}else{var m=t.a13_1.e15_1,g=t.a13_1.w16(m),y=t.a13_1.x16(m),b=t.a13_1.v16(m);if(null==y)if(null==b||207!==g||wi(b,wg().m17_1)){var k=t,x=He(t.k13_1^n,3)^g;k.k13_1=He(x,3)}else{var j=di(b),q=t,z=He(t.k13_1^n,3)^j;q.k13_1=He(z,3)}else if(y instanceof mt){var S=y.j2_1,C=t,A=He(0^t.k13_1,3)^S;C.k13_1=He(A,3)}else{var $=di(y),E=t,I=He(0^t.k13_1,3)^$;E.k13_1=He(I,3)}}var M=t.d12_1,N=t.b12_1;if(null!=N&&N.r17_1.p()>0){for(var L=N.r17_1,P=N.r18(),O=function(t){var r=Kt.z(t.p()),n=0,i=t.p()-1|0;if(n<=i)do{var e=n;n=n+1|0;var s=t.s(e);r.h(s)}while(n<=i);return r}(P),D=rr.ja(),R=0,T=P.p(),H=0,U=L.p(),F=0;H0&&(t.g13_1.m18(t.a13_1.z18()),t.a13_1.d17())}for(var J=t.c12_1;!t.a13_1.a19();){var Y=t.a13_1.c15_1;ug(t);var Z=t.a13_1.q16();t.g13_1.s18(J,Z),qg(t.l12_1,Y,t.a13_1.c15_1)}var Q=t.j13_1;if(Q){r&&(t.i13_1.g19(),M=1),t.a13_1.h19();var X=t.c13_1.k16_1;if(t.c13_1.i19(),!t.a13_1.l19()){var tt=Gm(0,X);t.c13_1.j19(),t.c13_1.h17(!0),function(t,r){t.i13_1.x()?t.g13_1.p1b(r,t.b13_1):(t.g13_1.o1b(r,t.b13_1,t.i13_1),t.i13_1=new Sd)}(t,t.h13_1),t.j13_1=!1,t.v11_1.k19()||(Zm(t,tt,0),Vm(t,tt,M))}}else{r&&t.g13_1.b19();var rt=t.a13_1.c19();rt>0&&t.g13_1.d19(rt),t.g13_1.e19();var nt=t.a13_1.e15_1;M!==Ym(t,nt)&&Vm(t,nt,M),r&&(M=1),t.a13_1.f19(),t.g13_1.y18()}!function(t,r,n){var i=t.a12_1.l15();null==i||n||(i.t17_1=i.t17_1+1|0),t.b12_1=i,t.c12_1=t.f12_1.l15()+r|0,t.e12_1=t.f12_1.l15(),t.d12_1=t.f12_1.l15()+r|0}(t,M,Q)}function Km(t){var r=t.y12_1;t.y12_1=!0;for(var n=!1,i=t.a13_1.e15_1,e=i+t.a13_1.u18(i)|0,s=t.c12_1,a=t.k13_1,l=t.d12_1,u=t.e12_1,h=i,_=Cg(t.l12_1,t.a13_1.c15_1,e);null!=_;){var o=_.h11_1;if(Ag(t.l12_1,o),_.j11()){n=!0,t.a13_1.n18(o);var f=t.a13_1.c15_1;Qm(t,h,f,i),h=f,t.c12_1=Wm(t,o,f,i,s),t.e12_1=Jm(t,f);var c=t.a13_1.t16(f);t.k13_1=tg(t,c,Jm(t,c),i,a),t.e13_1=null,_.g11_1.n19(t),t.e13_1=null,t.a13_1.o19(i)}else t.x12_1.p18(_.g11_1),_.g11_1.m19(),t.x12_1.l15();_=Cg(t.l12_1,t.a13_1.c15_1,e)}if(n){Qm(t,h,i,i),t.a13_1.d17();var v=Ym(t,i);t.c12_1=s+v|0,t.d12_1=l+v|0,t.e12_1=u}else rg(t);t.k13_1=a,t.y12_1=r}function Gm(t,r){return-2-r|0}function Vm(t,r,n){var i=Ym(t,r);if(i!==n){var e=n-i|0,s=r,a=t.a12_1.p()-1|0;t:for(;-1!==s;){var l=Ym(t,s)+e|0;Zm(t,s,l);var u=a;if(0<=u)r:do{var h=u;u=u+-1|0;var _=t.a12_1.p19(h);if(null!=_&&_.t18(s,l)){a=h-1|0;break r}}while(0<=u);if(s<0)s=t.a13_1.e15_1;else{if(t.a13_1.q19(s))break t;s=t.a13_1.t16(s)}}}}function Wm(t,r,n,i,e){for(var s=t.a13_1.t16(n);s!==i&&!t.a13_1.q19(s);)s=t.a13_1.t16(s);var a=t.a13_1.q19(s)?0:e;if(s===n)return a;var l=s,u=a+(Ym(t,s)-t.a13_1.r19(n)|0)|0;t:for(;a=0)return s}return t.a13_1.r19(r)}function Zm(t,r,n){if(Ym(t,r)!==n)if(r<0){var i,e=t.h12_1;if(null==e){var s=new Eo;t.h12_1=s,i=s}else i=e;i.ei(r,n)}else{var a,l=t.g12_1;if(null==l){var u=new Int32Array(t.a13_1.p());h=u,-1,_=_===b?0:_,o=o===b?h.length:o,D.g4(_,o,h.length),h.fill(-1,_,o),t.g12_1=u,a=u}else a=l;a[r]=n}var h,_,o}function Qm(t,r,n,i){for(var e=t.a13_1,s=function(t,r,n,i){if(Bg(),r===n)return r;if(r===i||n===i)return i;if(t.t16(r)===n)return n;if(t.t16(n)===r)return r;if(t.t16(r)===t.t16(n))return t.t16(r);var e=r,s=n,a=Lg(t,r,i),l=Lg(t,n,i),u=a-l|0,h=0;if(h0&&a!==s;)e.q19(a)&&t.g13_1.b19(),a=e.t16(a);Xm(t,n,s)}function Xm(t,r,n){var i;r>0&&r!==n&&(Xm(t,t.a13_1.t16(r),n),t.a13_1.q19(r)&&t.g13_1.t19((i=r,t.a13_1.n1b(i))))}function tg(t,r,n,i,e){var s;if(r===i)s=e;else{var a,l=function(t,r,n){var i;if(t.s19(n)){var e,s=t.x16(n);i=null==(e=null==s?null:s instanceof mt?s.j2_1:s instanceof Gv?126665345:di(s))?0:e}else{var a,l=t.w16(n);if(207===l){var u,h=t.v16(n);a=null==(u=null==h?null:wi(h,wg().m17_1)?l:di(h))?l:u}else a=l;i=a}return i}(t.a13_1,0,r);if(126665345===l)a=l;else{var u=t.a13_1.t16(r),h=u===i?e:tg(t,u,Jm(t,u),i,e),_=t.a13_1.s19(r)?0:n,o=Te(h,3)^l;a=Te(o,3)^_}s=a}return s}function rg(t){t.d12_1=t.a13_1.u19(),t.a13_1.d17()}function ng(t,r,n,i,e){t.z19(126665345,r),Mm(t,i);var s,a=t.k13_1;try{t.k13_1=126665345,t.j13_1&&t.c13_1.a1a();var l=!t.j13_1&&!wi(t.a13_1.j17(),n);if(l&&Om(t,n),Um(t,202,zm(),jg().n16_1,n),t.e13_1=null,t.j13_1&&!e){t.d13_1=!0;var u=t.c13_1.u16(t.c13_1.t16(t.c13_1.k16_1)),h=new Bv(r,i,t.z11_1,t.b13_1,u,Da(),Nm(t));t.u11_1.d1a(h)}else{var _=t.p12_1;t.p12_1=l,hq(t,(s=Kx(316014703,!0,((t,n)=>{var e=t;return yg(e,"C3293@126183L18:Composer.kt#9igjgp"),2==(3&n)&&e.c1a()?e.d17():(bg()&&kg(316014703,n,-1,"androidx.compose.runtime.ComposerImpl.invokeMovableContentLambda. (Composer.kt:3293)"),r.b1a_1(i,e,0),bg()&&xg()),k})),(t,r)=>s.n1c(t,r))),t.p12_1=_}}finally{Em(t),t.e13_1=null,t.k13_1=a,t.e1a()}}function ig(t,r,n,i,e,s){var a=t.y12_1,l=t.c12_1;try{t.y12_1=!0,t.c12_1=0;var u=0,h=e.p()-1|0;if(u<=h)do{var _=u;u=u+1|0;var o=e.s(_),f=o.xf(),c=o.yf();null!=c?t.x1a(f,c):t.x1a(f,null)}while(u<=h);var v=null==r?null:r.y1a(n,null==i?-1:i,s);return null==v?s():v}finally{t.y12_1=a,t.c12_1=l}}function eg(t,r,n,i,e,s,a){return ig(t,r=r===b?null:r,n=n===b?null:n,i=i===b?null:i,e=e===b?Da():e,s)}function sg(t,r,n){t.y12_1&&Eg("Reentrant composition is not supported");t:{var i=pv.z1a("Compose:recompose");try{t.u12_1=bj().e1b(),t.o12_1=null;var e=r.f1b_1,s=e.lk_1,a=e.mk_1;r:{var l=e.kk_1,u=l.length-2|0,h=0;if(h<=u)do{var _=h;h=h+1|0;var o=l[_],f=o;if(!f.a3(f.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var c=8-(~(_-u)>>>31|0)|0,v=0;if(v{var e=t.g13_1,s=r,a=e.j14_1;try{e.j14_1=s;var l=t,u=n;t:{var h=l.a13_1,_=l.g12_1,o=l.o12_1;l.g12_1=null,l.o12_1=null;try{l.a13_1=u;var f=t.g13_1,c=f.m14_1;try{f.m14_1=!1,ng(t,i.g1a_1,i.m1a_1,i.h1a_1,!0)}finally{f.m14_1=c}break t}finally{l.a13_1=h,l.g12_1=_,l.o12_1=o}}}finally{e.j14_1=a}return k}}function vg(t,r){return()=>(ng(t,r.g1a_1,r.m1a_1,r.h1a_1,!0),k)}function wg(){return Ef===b&&new Uv,Ef}function dg(){if(Pf)return k;Pf=!0,If=new Fv("IGNORED",0),Mf=new Fv("SCHEDULED",1),Nf=new Fv("DEFERRED",2),Lf=new Fv("IMMINENT",3)}function pg(t){throw Bg(),Vv.k1f("Compose Runtime internal error. Unexpected or incorrect use of the Compose internal runtime API ("+t+"). Please report to Google or use https://goo.gle/compose-feedback")}function mg(t,r){Bg();var n=Bb(t,t.i16_1),i=Gb(t,Ub(t),n),e=Gb(t,Ub(t),Bb(t,t.i16_1+t.u18(t.i16_1)|0)),s=i;if(s=0?t.v1(n):null}function $g(t,r){Bg();var n=Lt.b1(),i=t.w13();try{Rg(i,n,t.n1a(r))}finally{i.k15()}return n}function Eg(t){throw Bg(),Vv.k1f("Compose Runtime internal error. Unexpected or incorrect use of the Compose internal runtime API ("+t+"). Please report to Google or use https://goo.gle/compose-feedback")}function Ig(t,r,n){var i,e=t,s=e.wk(r),a=s<0;if(a)i=null;else{var l=e.mk_1[s];i=null==l||null!=l?l:Si()}var u,h=i;if(null==h)u=n;else if(null!=h&&pe(h,ot)){var _=null!=h&&pe(h,ot)?h:Si();_.h(n),u=_}else u=Oa([h,n]);var o=u;if(a){var f=~s;e.lk_1[f]=r,e.mk_1[f]=o}else e.mk_1[s]=o}function Mg(t,r){Bg();var n=Ng(t,r);return n<0?0|-(n+1|0):n}function Ng(t,r){Bg();for(var n=0,i=t.p()-1|0;n<=i;){var e=(n+i|0)>>>1|0,s=_i(t.s(e).h11_1,r);if(s<0)n=e+1|0;else{if(!(s>0))return e;i=e-1|0}}return 0|-(n+1|0)}function Lg(t,r,n){Bg();for(var i=0,e=r;e>0&&e!==n;)e=t.t16(e),i=i+1|0;return i}function Pg(t,r,n){Bg(),t.s1e(r,n)}function Og(t){Bg(),t.u1e()}function Dg(t,r,n){var i=t;return!i.b1d()&&wi(i.b1f(),r)||(i.c1f(r),t.j1d(r,n)),k}function Rg(t,r,n){if(t.q19(n))r.h(t.n1b(n));else for(var i=n+1|0,e=n+t.u18(n)|0;i>>31|0)|0,c=0;if(c>>31|0)|0,f=0;if(f>>31|0)|0,S=0;if(S>>31|0)|0,U=0;if(U>>31|0)|0,rt=0;if(rt>>31|0)|0,pt=0;if(pt>>31|0)|0,It=0;if(It>>31|0)|0,Wt=0;if(Wt>>31|0)|0,h=0;if(h>>31|0)|0,q=0;if(q>>31|0)|0,T=0;if(T>>31|0)|0,f=0;if(f>>31|0)|0,w=0;if(w>>31|0)|0,I=0;if(I>>31|0)|0,m=0;if(m (Composition.kt:623)"),bg()&&xg()),k}function ay(t,r){var n=t;return yg(n,"C:Composition.kt#9igjgp"),2==(3&r)&&n.c1a()?n.d17():(bg()&&kg(1918065384,r,-1,"androidx.compose.runtime.ComposableSingletons$CompositionKt.lambda-2. (Composition.kt:757)"),bg()&&xg()),k}function ly(t,r,n){hy();var i=t.s(r);t.t1(r,t.s(n)),t.t1(n,i)}function uy(t,r,n){hy();var i=t.s(r);t.pi(r,t.s(n)),t.pi(n,i)}function hy(){Uf||(Uf=!0,Rf=new Object,new lw)}function _y(t){return new ow(t)}function oy(){pg("Unexpected call to default provider")}function fy(t,r,n,i){var e=n;yg(e=e.j1e(-1390796515),"C(CompositionLocalProvider)P(1)379@16749L9:CompositionLocal.kt#9igjgp");var s=i;bg()&&kg(-1390796515,s,-1,"androidx.compose.runtime.CompositionLocalProvider (CompositionLocal.kt:377)"),e.c1e(t),r(e,14&s>>3),e.e1e(),bg()&&xg();var a=e.k1e();null==a||a.p1k(((n,e)=>(fy(t.slice(),r,n,zy(1|i)),k)))}function cy(t,r){var n=r instanceof hw?r:Si(),i=t.b2(n),e=(null==i?r.c1k():i).r1k(t);return null==e||null!=e?e:Si()}function vy(t,r){return t.z1(r instanceof hw?r:Si())}function wy(t,r,n){n=n===b?Xx():n;var i=Xx().z16(),e=n,s=0,a=t.length-1|0;if(s<=a)do{var l=s;s=s+1|0;var u=t[l],h=u.v1f_1,_=h instanceof _w?h:Si();if(u.c1g_1||!vy(r,_)){var o=e.b2(_),f=_.g1k(u instanceof Wv?u:Si(),o);i.e2(_,f)}}while(s<=a);return i.a17()}function dy(){return py(),Kf}function py(){Gf||(Gf=!0,new dd,Kf=new dd)}function my(){Vf||(Vf=!0,new dw)}function gy(t,r){var n;if(r instanceof mt)n=r.j2_1;else{var i=null==r?null:di(r);n=null==i?0:i}return n}function yy(t){throw fr.l3(t)}function by(t){throw vr.h1(t)}function*ky(t,r,n){var i=t.v1l_1(new jw(t.w1l_1,r.gm()),n);return i===nl()&&(i=yield i),k}function xy(t,r){t.k11_1=r?32|t.k11_1:-33&t.k11_1}function jy(t,r){t.k11_1=r?16|t.k11_1:-17&t.k11_1}function qy(t,r,n){pe(t,ww)||Si();var i=t.w1k();return!(null==i?kk():i).y1l(t.f1j().i1j(),n.b2(t))}function zy(t){Yf||(Yf=!0,new Object);var r=306783378&t,n=613566756&t;return-920350135&t|r|n>>1|r<<1&n}function Sy(){if(ic)return k;ic=!0,Zf=new Aw("ShutDown",0),Qf=new Aw("ShuttingDown",1),Xf=new Aw("Inactive",2),tc=new Aw("InactivePendingWork",3),rc=new Aw("Idle",4),nc=new Aw("PendingWork",5)}function*Cy(t,r,n,i){for(var e=Lt.b1(),s=Lt.b1(),a=Lt.b1(),l=bf(),u=bf(),h=new Yo,_=wx(h),o=bf();Oy(t.j1m_1);){var f=By(t.j1m_1,i);if(f===nl()&&(f=yield f),Dy(t.j1m_1)){var c=n.b11((r=>{if(Ly(t.j1m_1))t:{var n=pv.z1a("Recomposer:animation");try{t.j1m_1.l1m_1.a11(r),lv.j1n();break t}finally{pv.m1b(n)}}t:{var i=pv.z1a("Recomposer:recompose");try{Dy(t.j1m_1),t.j1m_1.m1m_1;var f=t.j1m_1.s1m_1,c=f.j1b_1;if(c>0){var v=0,w=f.h1b_1,d=me(w)?w:Si();do{var p=d[v];e.h(p),v=v+1|0}while(v0&&(I.h1b_1[P-M|0]=I.h1b_1[P])}while(L>>31|0)|0,lt=0;if(lt>>31|0)|0,bt=0;if(bt>>31|0)|0,y=0;if(y>>31|0)|0,I=0;if(I>>31|0)|0,F=0;if(F{var i;if(t.o1n_1.m1m_1,t.o1n_1.e1n_1.y1().k2(eb())>=0){var e=t.o1n_1.r1m_1;if(r instanceof cp){var s=r.w1h_1,a=s.zk_1;t:{var l=s.yk_1,u=l.length-2|0,h=0;if(h<=u)do{var _=h;h=h+1|0;var o=l[_],f=o;if(!f.a3(f.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var c=8-(~(_-u)>>>31|0)|0,v=0;if(va.x1l(t,r),l.$arity=1,l),n);c===nl()&&(c=yield c)}finally{u.bq(),t.o1n_1.m1m_1,t.o1n_1.n1m_1===i&&(t.o1n_1.n1m_1=null),Py(t.o1n_1),function(t,r){t:for(;;){var n=t.h1m_1.y1(),i=n.q1(r);if(n===i||t.h1m_1.nw(n,i))break t}}(Xy(),t.o1n_1.h1n_1)}return k}function My(t){var r,n=t.q1m_1;if(null==n){var i=t.p1m_1,e=i.x()?Da():Lt.g(i);t.q1m_1=e,r=e}else r=n;return r}function Ny(t){return!t.d1n_1&&t.l1m_1.z10()}function Ly(t){return t.m1m_1,Ny(t)}function Py(t){if(t.e1n_1.y1().k2(nb())<=0){!function(t){t.p1m_1.s1(),t.q1m_1=Da()}(t),t.r1m_1=new Yo,t.s1m_1.s1(),t.t1m_1.s1(),t.u1m_1.s1(),t.x1m_1=null;var r=t.z1m_1;return null==r||r.so(),t.z1m_1=null,t.c1n_1=null,null}var n;null!=t.c1n_1?n=ib():null==t.n1m_1?(t.r1m_1=new Yo,t.s1m_1.s1(),n=Ny(t)?(Sy(),tc):ib()):n=t.s1m_1.el()||t.r1m_1.el()||!t.t1m_1.x()||!t.u1m_1.x()||t.a1n_1>0||Ny(t)?sb():eb();var i,e=n;if(t.e1n_1.mw(e),e.equals(sb())){var s=t.z1m_1;t.z1m_1=null,i=s}else i=null;return i}function Oy(t){var r;if(t.m1m_1,t.b1n_1){var n;t:{for(var i=t.f1n_1.os().l();i.m();)if(i.n().hm()){n=!0;break t}n=!1}r=n}else r=!0;return r}function Dy(t){if(t.m1m_1,t.r1m_1.x())return Qy(t);var r=wx(t.r1m_1);t.r1m_1=new Yo;var n=r;t.m1m_1;var i=My(t),e=!1;try{t:{var s=0,a=i.p()-1|0;if(s<=a)do{var l=s;if(s=s+1|0,i.s(l).y1i(n),t.e1n_1.y1().k2(nb())<=0)break t}while(s<=a)}t.m1m_1,t.r1m_1=new Yo,e=!0}finally{e||(t.m1m_1,t.r1m_1.ul(n))}if(t.m1m_1,null!=Py(t))throw fr.l3(pi("called outside of runRecomposeAndApplyChanges"));return Qy(t)}function Ry(t,r,n,i){if(!Xy().i1m_1.js()||r instanceof Vv){t.m1m_1;var e=t.c1n_1;if(null!=e)throw e.v1n_1;throw t.c1n_1=new Ew(!1,r),r}t.m1m_1,function(t,r){var n;uq(),function(t){ks(),(ks(),q).oa(t)}("Error was captured in composition while live edit was enabled."),n=r,console.error(function(t){return(new Dr).me(t)}(n))}(0,r),t.t1m_1.s1(),t.s1m_1.s1(),t.r1m_1=new Yo,t.u1m_1.s1(),t.v1m_1.s1(),t.w1m_1.s1(),t.c1n_1=new Ew(i,r),null!=n&&Hy(t,n),Py(t)}function Ty(t,r,n,i,e){return Ry(t,r,n=n===b?null:n,i=i!==b&&i)}function Hy(t,r){var n,i=t.x1m_1;if(null==i){var e=Lt.b1();t.x1m_1=e,n=e}else n=i;var s=n;s.o(r)||s.h(r),function(t,r){t.p1m_1.q1(r),t.q1m_1=null}(t,r)}function Uy(t){return t.m1m_1,t.r1m_1.el()||t.s1m_1.el()||Ny(t)}function*Fy(t,r){if(!Uy(t)){var n,i=new $u(Ss(r),1);if(i.aq(),t.m1m_1,Uy(t)?n=i:(t.z1m_1=i,n=null),null==n);else{var e=k;n.va(e)}var s=null==(a=i.fo())||null!=a?a:Si();s===nl()&&(s=yield s)}var a;return k}function By(t,r){return $s(Fy.bind(b,t),r)}function*Ky(t,r,n){var i,e,s=function(t){var r=t.gb(Wf);if(null==r)throw fr.l3(pi("A MonotonicFrameClock is not available in this CoroutineContext. Callers should supply an appropriate MonotonicFrameClock using withContext."));return r}(n.ta()),a=Gh(t.l1m_1,(i=new Nw(t,r,s),e=(t,r)=>i.x1l(t,r),e.$arity=1,e),n);return a===nl()&&(a=yield a),k}function Gy(t,r,n){var i;if(r.d1i()||r.r1i())i=!0;else{var e=t.y1m_1;i=!0===(null==e?null:e.o(r))}if(i)return null;t:{var s=lv.w1n(Jy(0,r),Yy(0,r,n));try{var a;r:{var l=s.x1n();try{!0===(null==n?null:n.el())&&r.a1j((()=>{var t=n,i=t.zk_1;n:{var e=t.yk_1,s=e.length-2|0,a=0;if(a<=s)do{var l=a;a=a+1|0;var u=e[l],h=u;if(!h.a3(h.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var _=8-(~(l-s)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=i[(l<<3)+f|0],v=null==c||null!=c?c:Si();r.k1j(v)}u=u.y2(8)}while(o<_);if(8!==_)break n}}while(l!==s)}return k})),a=r.l1j();break r}finally{s.y1n(l)}}break t}finally{Zy(0,s)}}return a?r:null}function Vy(t,r,n){var i=Pt.z6(r.p()),e=0,s=r.p()-1|0;if(e<=s)do{var a=e;e=e+1|0;var l,u=r.s(a),h=u.i1a_1,_=i.b2(h);if(null==_){var o=Lt.b1();i.e2(h,o),l=o}else l=_;l.h(u)}while(e<=s);for(var f=i,c=f.d2().l();c.m();){var v=c.n(),w=v.x1(),d=v.y1();gg(!w.d1i());t:{var p=lv.w1n(Jy(0,w),Yy(0,w,n));try{r:{var m=p.x1n();try{t.m1m_1;var g=Lt.q(d.p()),y=0,b=d.p()-1|0;if(y<=b)do{var k=y;y=y+1|0;var x=d.s(k),j=kl(x,ab(t.v1m_1,x.g1a_1));g.h(j)}while(y<=b);var q,z,S,C=g;n:{var A=0,$=C.p()-1|0;if(A<=$)do{var E=A;if(A=A+1|0,null!=C.s(E).wf_1){S=!1;break n}}while(A<=$);S=!0}if(S)z=!0;else{var I;n:{var M=0,N=C.p()-1|0;if(M<=N)do{var L=M;if(M=M+1|0,null==C.s(L).wf_1){I=!1;break n}}while(M<=N);I=!0}z=I}if(z)q=C;else{var P=Lt.q(C.p()),O=0,D=C.p()-1|0;if(O<=D)do{var R=O;O=O+1|0;var T=C.s(R),H=null==T.wf_1?T.vf_1:null;null==H||P.h(H)}while(O<=D);var U=P;t.m1m_1,Ga(t.u1m_1,U);var F=Lt.q(C.p()),B=0,K=C.p()-1|0;if(B<=K)do{var G=B;B=B+1|0;var V=C.s(G);null!=V.wf_1&&F.h(V)}while(B<=K);q=F}var W=q;w.m1j(W);break r}finally{p.y1n(m)}}break t}finally{Zy(0,p)}}}return function(t){if(pe(t,ht)){var r;switch(t.p()){case 0:r=Da();break;case 1:r=Be(pe(t,_t)?t.s(0):t.l().n());break;default:r=Hn(t)}return r}return function(t){switch(t.p()){case 0:return Da();case 1:return Be(t.s(0));default:return t}}(function(t){return pe(t,ht)?Hn(t):Un(t,Lt.b1())}(t))}(f.c2())}function Wy(t){var r;if(t.m1m_1,t.v1m_1.x())r=Da();else{var n=function(t){for(var r=Lt.b1(),n=t.l();n.m();)Ga(r,n.n());return r}(t.v1m_1.h2());t.v1m_1.s1();var i=Lt.q(n.p()),e=0,s=n.p()-1|0;if(e<=s)do{var a=e;e=e+1|0;var l=n.s(a),u=kl(l,t.w1m_1.b2(l));i.h(u)}while(e<=s);var h=i;t.w1m_1.s1(),r=h}var _=r,o=0,f=_.p()-1|0;if(o<=f)do{var c=o;o=o+1|0;var v=_.s(c),w=v.xf(),d=v.yf();null!=d&&w.i1a_1.n1j(d)}while(o<=f)}function Jy(t,r){return t=>(r.b1j(t),k)}function Yy(t,r,n){return t=>(r.k1j(t),null==n||n.h(t),k)}function Zy(t,r){try{if(r.m1o()instanceof um)throw fr.l3(pi("Unsupported concurrent change during composition. A state object was modified by composition as well as being modified outside composition."))}finally{r.bq()}}function Qy(t){return t.s1m_1.el()||Ny(t)}function Xy(){return ec===b&&new Iw,ec}function tb(t,r,n){t.s1(),r.m1m_1;for(var i=r.u1m_1.l();i.m();){var e=i.n();wi(e.i1a_1,n)&&(t.h(e),i.k4())}}function rb(){return Sy(),Zf}function nb(){return Sy(),Qf}function ib(){return Sy(),Xf}function eb(){return Sy(),rc}function sb(){return Sy(),nc}function ab(t,r){lb();var n,i=t.b2(r);if(null==i)n=null;else{var e=function(t){if(t.x())throw dr.w("List is empty.");return t.v1(0)}(i);i.x()&&t.f2(r),n=e}return n}function lb(){sc||(sc=!0,new Object,new Object)}function ub(t,r,n,i,e,s,a){var l=r.u18(n),u=n+l|0,h=Ib(r,n),_=Ib(r,u),o=_-h|0,f=function(t,r){return r>=0&&hk(t.q15_1,Ab(t,r))}(r,n);kb(i,l),xb(i,o,i.i16_1),r.v15_1=0;Z&&(r.k17(),r.c1p(Y-r.i16_1|0),r.k17()),r.c1p(n-r.i16_1|0);var Q=r.r1f();Z&&(r.d17(),r.i19(),r.d17(),r.i19()),J=Q}else{var X=jb(r,n,l);zb(r,h,o,n-1|0),J=X}else J=!1;return J&&Eg("Unexpectedly removed anchors"),i.d16_1=i.d16_1+(lk(c,v)?1:uk(c,v))|0,s&&(i.i16_1=v+l|0,i.x15_1=d+o|0),f&&wb(i,p),P}function hb(t,r,n,i,e,s,a,l){return ub(0,r,n,i,e,s,a=a===b||a)}function _b(t,r){var n=t.d1p();return t.e1p(r),n}function ob(t,r,n){var i,e=t.t15_1;if(null==e)i=null;else{var s,a=t.u16(r),l=e.b2(a);if(null==l){var u=new Tw(0,n,0);if(null==n)for(var h=r+1|0,_=t.i16_1;h<_;)u.f1p(t,h),h=h+tk(t.q15_1,h)|0;var o=u;e.e2(a,o),s=o}else s=l;i=s}return i}function fb(t){var r=t.x15_1-t.g1p(t.k16_1)|0,n=t.h16_1,i=null==n?null:n.s(t.k16_1),e=null==i?null:i.p();return r+(null==e?0:e)|0}function cb(t,r,n,i,e){var s=t.k16_1,a=t.c16_1>0;t.g16_1.b14(t.d16_1);var l,u=t;if(a){var h=t.i16_1,_=Mb(t.q15_1,t,Ab(t,h));kb(t,1),t.x15_1=_,t.y15_1=_;var o=Ab(t,h),f=!(n===wg().m17_1),c=!(i||e===wg().m17_1),v=t.a16_1,w=Db(0,_,t.z15_1,v,t.r15_1.length),d=w>=0&&t.b16_10){xb(t,p,h);var m=t.r15_1,g=t.x15_1;if(i){var y=g;g=y+1|0,m[y]=e}if(f){var b=g;g=b+1|0,m[b]=n}if(c){var k=g;g=k+1|0,m[k]=e}t.x15_1=g}t.d16_1=0;var x=h+1|0;if(t.k16_1=h,t.i16_1=x,s>=0){var j=qb(t,s);null==j||j.f1p(t,h)}l=x}else{t.e16_1.b14(s),pb(t);var q=t.i16_1,z=Ab(t,q);wi(e,wg().m17_1)||(i?t.i1p(e):t.h1p(e)),t.x15_1=Nb(t.q15_1,t,z),t.y15_1=Mb(t.q15_1,t,Ab(t,t.i16_1+1|0)),t.d16_1=uk(t.q15_1,z),t.k16_1=q,t.i16_1=q+1|0,l=q+tk(t.q15_1,z)|0}u.j16_1=l}function vb(t){var r=t.m16_1;if(null==r);else for(;r.el();)db(t,r.k1p(),r)}function wb(t,r){if(r>=0){var n,i=t.m16_1;if(null==i){var e=new Bw;t.m16_1=e,n=e}else n=i;n.l1p(r)}}function db(t,r,n){var i,e,s,a=Ab(t,r),l=function(t,r){for(var n=r+1|0,i=r+t.u18(r)|0;n=0&&n.l1p(u)}}function pb(t){t.f16_1.b14((Cb(t)-t.w15_1|0)-t.j16_1|0)}function mb(t){var r=(Cb(t)-t.w15_1|0)-t.f16_1.l15()|0;return t.j16_1=r,r}function gb(t,r,n,i){for(var e=Tb(t,r,t.v15_1),s=i;s=0))break t;h.g1b_1=0|-(e-_|0),u=u+1|0}}}(t,i,r),n>0){var e=t.q15_1,s=xv(r,5),a=xv(n,5),l=xv(i,5);r=0||Eg("Unexpected anchor value, expected a positive anchor"),dk(t.q15_1,o,0|-(1+(_-v|0)|0)),(o=o+1|0)===c&&(o=o+t.w15_1|0)}else for(var w=Ab(t,s),d=Ab(t,h);w0){var n=t.i16_1;yb(t,n);var i=t.v15_1,e=t.w15_1,s=t.q15_1.length/5|0,a=s-e|0;if(e=i&&(t.j16_1=d+r|0),t.v15_1=i+r|0,t.w15_1=e-r|0;var p=Db(0,a>0?Ib(t,n+r|0):0,t.b16_1=i&&(t.b16_1=b+r|0)}}function xb(t,r,n){if(r>0){bb(t,t.x15_1,n);var i=t.z15_1,e=t.a16_1;if(e=i&&(t.y15_1=m+r|0),t.z15_1=i+r|0,t.a16_1=e-r|0}}function jb(t,r,n){var i;if(n>0){var e=!1,s=t.s15_1;yb(t,r),s.x()||(e=function(t,r,n,i){var e=t.w15_1,s=r+n|0,a=Cb(t)-e|0,l=pk(t.s15_1,r+n|0,a),u=l>=t.s15_1.p()?l-1|0:l,h=0,_=u+1|0;t:for(;u>=0;){var o=t.s15_1.s(u),f=t.n1a(o);if(!(f>=r))break t;fr){var u=l-n|0;t.b16_1=Math.max(r,u)}t.j16_1>=t.v15_1&&(t.j16_1=t.j16_1-n|0);var h=t.k16_1;(function(t,r){return r>=0&&rk(t.q15_1,Ab(t,r))})(t,h)&&wb(t,h),i=e}else i=!1;return i}function qb(t,r){var n,i=t.t15_1;if(null==i)n=null;else{var e=t.m1p(r);n=null==e?null:i.b2(e)}return n}function zb(t,r,n,i){if(n>0){var e=t.a16_1;bb(t,r+n|0,i),t.z15_1=r,t.a16_1=e+n|0,Ee(t.r15_1,null,r,r+n|0);var s=t.y15_1;s>=r&&(t.y15_1=s-n|0)}}function Sb(t,r,n){var i=Ab(t,r);i=Cb(r)?r.r15_1.length-r.a16_1|0:Rb(0,ik(t,n),r.a16_1,r.r15_1.length)}function Nb(t,r,n){return n>=Cb(r)?r.r15_1.length-r.a16_1|0:Rb(0,ek(t,n),r.a16_1,r.r15_1.length)}function Lb(t,r,n,i){dk(t,n,Db(0,i,r.z15_1,r.a16_1,r.r15_1.length))}function Pb(t,r,n){return Mb(t,r,n)}function Ob(t,r,n){return Mb(t,r,n)+mk(function(t,r){return t[xv(r,5)+1|0]}(t,n)>>29)|0}function Db(t,r,n,i,e){return r>n?0|-(1+((e-i|0)-r|0)|0):r}function Rb(t,r,n,i){return r<0?1+((i-n|0)+r|0)|0:r}function Tb(t,r,n){return r-2?r:(t.u1o()+r|0)- -2|0}function Ub(t){return t.q15_1}function Fb(t){return t.r15_1}function Bb(t,r){return Ab(t,r)}function Kb(t,r){return $b(t,r)}function Gb(t,r,n){return Mb(r,t,n)}function Vb(t){var r,n=t.y1o_1;if(null==n)r=null;else{var i;t:{for(var e=n.p()-1|0;e>=0;){var s=n.s(e);if(s instanceof Tw&&!s.z1o_1){i=s;break t}e=e-1|0}i=null}r=i}var a=r instanceof Tw?r:null,l=null==a?null:Vb(a);return null==l?t:l}function Wb(t,r){var n=t.y1o_1,i=null==n?Lt.b1():n;t.y1o_1=i,i.h(r)}function Jb(t,r){var n,i=t.y1o_1;if(null==i)n=null;else{var e;t:{var s=0,a=i.p()-1|0;if(s<=a)do{var l=s;s=s+1|0;var u=i.s(l);if(!!wi(u,r)||u instanceof Tw&&Jb(u,r)){e=!0;break t}}while(s<=a);e=!1}n=e}return!0===n}function Yb(t,r,n){var i;return i=sk(t,n)?r.y14_1[function(t,r){var n=xv(r,5);return n>=t.length?t.length:t[n+4|0]+mk(t[n+1|0]>>29)|0}(t,n)]:wg().m17_1,i}function Zb(t,r,n){return ak(t,n)?r.y14_1[fk(t,n)]:null}function Qb(t,r,n){var i=Xb(t,r,n);return i>=0?t.s(i):null}function Xb(t,r,n){for(var i=0,e=t.p()-1|0;i<=e;){var s=(i+e|0)>>>1|0,a=t.s(s).g1b_1,l=_i(a<0?n+a|0:a,r);if(l<0)i=s+1|0;else{if(!(l>0))return s;e=s-1|0}}return 0|-(i+1|0)}function tk(t,r){return t[xv(r,5)+3|0]}function rk(t,r){return!!(67108864&t[xv(r,5)+1|0])}function nk(t,r){return t[xv(r,5)+2|0]}function ik(t,r){return t[xv(r,5)+4|0]}function ek(t,r){var n=xv(r,5);return t[n+4|0]+mk(t[n+1|0]>>28)|0}function sk(t,r){return!!(268435456&t[xv(r,5)+1|0])}function ak(t,r){return!!(536870912&t[xv(r,5)+1|0])}function lk(t,r){return!!(1073741824&t[xv(r,5)+1|0])}function uk(t,r){return 67108863&t[xv(r,5)+1|0]}function hk(t,r){return!!(201326592&t[xv(r,5)+1|0])}function _k(t,r){return t[xv(r,5)]}function ok(t,r){return!!(134217728&t[xv(r,5)+1|0])}function fk(t,r){var n=xv(r,5);return t[n+4|0]+mk(t[n+1|0]>>30)|0}function ck(t,r,n){gg(n>=0),t[xv(r,5)+3|0]=n}function vk(t,r,n){gg(n>=0&&n<67108863),t[xv(r,5)+1|0]=-67108864&t[xv(r,5)+1|0]|n}function wk(t,r,n){t[xv(r,5)+2|0]=n}function dk(t,r,n){t[xv(r,5)+4|0]=n}function pk(t,r,n){var i=Xb(t,r,n);return i>=0?i:0|-(i+1|0)}function mk(t){switch(t){case 0:return 0;case 1:case 2:case 4:return 1;case 3:case 5:case 6:return 2;default:return 3}}function gk(t,r,n,i,e){var s=r,a=n;Pg(a,-1439883919,"C(collectAsState)49@1909L30:SnapshotFlow.kt#9igjgp"),1&e&&(s=Qa()),bg()&&kg(-1439883919,i,-1,"androidx.compose.runtime.collectAsState (SnapshotFlow.kt:49)");var l=function(t,r,n,i,e,s){var a={_v:n},l=i;Pg(l,-606625098,"C(collectAsState)P(1)65@2578L149,65@2541L186:SnapshotFlow.kt#9igjgp"),bg()&&kg(-606625098,e,-1,"androidx.compose.runtime.collectAsState (SnapshotFlow.kt:65)");var u=a._v;Pg(l,-498556383,"CC(remember):SnapshotFlow.kt#9igjgp");var h,_,o,f=!!(l.p1d(a._v)|l.p1d(t)),c=l.b1f();if(f||c===wg().m17_1){var v=(_=new rd(a,t),(o=(t,r)=>_.v1r(t,r)).$arity=1,o);l.c1f(v),h=v}else h=c;var w=null==h||null!=h?h:Si();Og(l);var d=function(t,r,n,i,e,s){var a=e;Pg(a,-1703169085,"C(produceState)147@5571L41,148@5644L74,148@5617L101:ProduceState.kt#9igjgp"),bg()&&kg(-1703169085,s,-1,"androidx.compose.runtime.produceState (ProduceState.kt:146)"),Pg(a,2143085361,"CC(remember):ProduceState.kt#9igjgp");var l,u=a.b1f();if(u===wg().m17_1){var h=qk(t);a.c1f(h),l=h}else l=u;var _=null==l||null!=l?l:Si();Og(a);var o=_;Pg(a,2143087730,"CC(remember):ProduceState.kt#9igjgp");var f,c,v,w=a.p1d(i),d=a.b1f();if(w||d===wg().m17_1){var p=(c=new qw(i,o),(v=(t,r)=>c.x1l(t,r)).$arity=1,v);a.c1f(p),f=p}else f=d;var m=null==f||null!=f?f:Si();return Og(a),function(t,r,n,i,e){my();var s=i;Pg(s,590241125,"C(LaunchedEffect)P(1,2)361@15275L64:Effects.kt#9igjgp"),bg()&&kg(590241125,e,-1,"androidx.compose.runtime.LaunchedEffect (Effects.kt:359)");var a=s.q1c();Pg(s,2064994906,"CC(remember):Effects.kt#9igjgp");var l,u=!!(s.c14(t)|s.c14(r)),h=s.b1f();if(u||h===wg().m17_1){var _=new pw(a,n);s.c1f(_),l=_}else l=h;null==l||null!=l||Si(),Og(s),bg()&&xg(),Og(s)}(r,n,m,a,14&s>>3|112&s>>3),bg()&&xg(),Og(a),o}(r,t,u,w,l,8&e>>3|14&e>>3|112&e<<3|896&e);return bg()&&xg(),Og(l),d}(t,t.y1(),s,a,14&i|896&i<<3);return bg()&&xg(),Og(a),l}function*yk(t,r,n){var i,e,s,a=(i=t.o1r_1,e=new Zw(i),s=(t,r)=>e.q1r(t,r),s.$arity=1,s),l=t.n1r_1.ow(new Qw(a),n);return l===nl()&&(l=yield l),k}function*bk(t,r,n){if(wi(t.r1r_1._v,Qa())){var i=(a=new Xw(r),l=(t,r)=>a.q1r(t,r),l.$arity=1,l),e=t.s1r_1.ow(new Qw(i),n);e===nl()&&(e=yield e)}else{var s=Gh(t.r1r_1._v,function(t,r){var n=new td(t,r),i=(t,r)=>n.x1l(t,r);return i.$arity=1,i}(t.s1r_1,r),n);s===nl()&&(s=yield s)}var a,l;return k}function kk(){var t=ac;return pe(t,hd)?t:Si()}function xk(){var t=lc;return pe(t,hd)?t:Si()}function jk(){var t=uc;return pe(t,hd)?t:Si()}function qk(t,r){return function(t,r){return new wd(t,r)}(t,r=r===b?kk():r)}function zk(t){var r=t.a1t_1;return fe("current",1,Ir,(t=>zk(t)),null),r.y1()}function Sk(t){return t.i14_1.a13_1}function Ck(t){Nk(t)}function Ak(t){!function(t,r,n){Ik(t,r=r!==b&&r)}(t),t.i1c()}function $k(t,r){Ik(t,r)}function Ek(t,r,n){return $k(t,r=r!==b&&r)}function Ik(t,r){var n=r?Sk(t).e15_1:Sk(t).c15_1,i=n-t.n14_1|0;i>=0||Eg("Tried to seek backward"),i>0&&(t.j14_1.k1u(i),t.n14_1=n)}function Mk(t){t.t14_1>0&&(t.q14_1>=0?(function(t,r,n){Ck(t),t.j14_1.i1u(r,n)}(t,t.q14_1,t.t14_1),t.q14_1=-1):(function(t,r,n,i){Ck(t),t.j14_1.j1u(r,n,i)}(t,t.s14_1,t.r14_1,t.t14_1),t.r14_1=-1,t.s14_1=-1),t.t14_1=0)}function Nk(t){t.o14_1>0&&(t.j14_1.l1u(t.o14_1),t.o14_1=0),t.p14_1.el()&&(t.j14_1.m1u(t.p14_1.z5()),t.p14_1.s1())}function Lk(){return hc===b&&new Ad,hc}function Pk(){return _c===b&&new $d,_c}function Ok(){return oc===b&&new Ed,oc}function Dk(){return fc===b&&new Id,fc}function Rk(){return cc===b&&new Md,cc}function Tk(){return vc===b&&new Nd,vc}function Hk(){return wc===b&&new Ld,wc}function Uk(){return dc===b&&new Pd,dc}function Fk(){return pc===b&&new Od,pc}function Bk(){return mc===b&&new Dd,mc}function Kk(){return yc===b&&new Td,yc}function Gk(){return kc===b&&new Ud,kc}function Vk(){return qc===b&&new Kd,qc}function Wk(){return Sc===b&&new Vd,Sc}function Jk(){return Cc===b&&new Wd,Cc}function Yk(){return Ac===b&&new Jd,Ac}function Zk(){return $c===b&&new Yd,$c}function Qk(){return Ec===b&&new Zd,Ec}function Xk(){return Ic===b&&new Qd,Ic}function tx(){return Mc===b&&new Xd,Mc}function rx(){return Lc===b&&new rp,Lc}function nx(){return Pc===b&&new np,Pc}function ix(){return Oc===b&&new ip,Oc}function ex(){return Rc===b&&new sp,Rc}function sx(){return Tc===b&&new ap,Tc}function ax(t,r,n){for(;!t.p1p(n);)t.d17(),t.q19(t.k16_1)&&r.b10(),t.i19()}function lx(t){return ox(t)}function ux(t,r,n){var i=t,e=1<>>(32-r|0)|0}(0,r)}function wx(t){return new cp(t)}function*dx(t,r,n){var i=t.x1x_1.w1h_1,e=i.zk_1;t:{var s=i.yk_1,a=s.length-2|0,l=0;if(l<=a)do{var u=l;l=l+1|0;var h=s[u],_=h;if(!_.a3(_.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var o=8-(~(u-a)>>>31|0)|0,f=0;if(f30){for(t.x1z_1[e].l20(n.r1y_1,n.r1y_1.length,0);!wi(t.x1z_1[e].h20(),i);)t.x1z_1[e].m20();return t.y1z_1=e,k}var a=1<0&&t.x1z_1[n-1|0].a21(),t.x1z_1[n].x20(Rx().f1y_1.r1y_1,0)}while(0<=r);t.z1z_1=!1}function bx(t){if(!t.m())throw dr.o4()}function kx(t){return new Dp(t,1)}function xx(t){return new Dp(t,0)}function jx(t,r){return!!(t.p1y_1&r)}function qx(t,r){var n=t.r1y_1[r];return null==n||null!=n?n:Si()}function zx(t,r){var n=t.r1y_1[r+1|0];return null==n||null!=n?n:Si()}function Sx(t,r,n,i){var e=i.r1y_1;if(2===e.length&&0===i.p1y_1){if(1===t.r1y_1.length)return i.o1y_1=t.p1y_1,i;var s=t.n20(n),a=function(t,r,n,i,e){var s=Me(t,t.length+1|0);return Ge(s,s,r+2|0,r+1|0,t.length),Ge(s,s,n+2|0,n,r),s[n]=i,s[n+1|0]=e,s}(t.r1y_1,r,s,e[0],e[1]);return Tp.t21(t.o1y_1^n,t.p1y_1^n,a)}var l=Me(t.r1y_1,t.r1y_1.length);return l[r]=i,Tp.t21(t.o1y_1,t.p1y_1,l)}function Cx(t,r,n,i){if(1===t.r1y_1.length&&2===n.r1y_1.length&&0===n.p1y_1)return n.o1y_1=t.p1y_1,n;if(t.q1y_1===i)return t.r1y_1[r]=n,t;var e=t.r1y_1.slice();return e[r]=n,Tp.u21(t.o1y_1,t.p1y_1,e,i)}function Ax(t,r,n,i,e,s,a,l){var u=qx(t,r),h=null==u?null:di(u),_=$x(t,null==h?0:h,u,zx(t,r),i,e,s,a+5|0,l),o=t.q20(n)+1|0;return function(t,r,n,i){var e=n-2|0,s=1+(t.length-2|0)|0,a=Yn(Array(s),null);return Ge(t,a,0,0,r),Ge(t,a,r,r+2|0,n),a[e]=i,Ge(t,a,e+1|0,n,t.length),a}(t.r1y_1,r,o,_)}function $x(t,r,n,i,e,s,a,l,u){if(l>30){var h=[n,i,s,a];return Tp.u21(0,0,h,u)}var _=Ux(r,l),o=Ux(e,l);if(_!==o){var f=_0&&i<=e||s<0&&e<=i)do{var a=i;if(i=i+s|0,wi(r,t.r1y_1[a]))return!0}while(a!==e);return!1}function Lx(t,r,n,i,e,s){var a;if(jx(t,n)){var l,u=t.r20(t.q20(n));if(jx(r,n)){var h=r.r20(r.q20(n));l=u.r1z(h,i+5|0,e,s)}else if(r.p20(n)){var _=r.n20(n),o=qx(r,_),f=zx(r,_),c=s.p(),v=null==o?null:di(o),w=null==v?0:v,d=u.q1z(w,o,f,i+5|0,s);s.p()===c&&(e.s1z_1=e.s1z_1+1|0),l=d}else l=u;a=l}else if(jx(r,n)){var p,m=r.r20(r.q20(n));if(t.p20(n)){var g,y=t.n20(n),b=qx(t,y),k=null==b?null:di(b),x=null==k?0:k;if(m.s1y(x,b,i+5|0))e.s1z_1=e.s1z_1+1|0,g=m;else{var j=zx(t,y),q=null==b?null:di(b),z=null==q?0:q;g=m.q1z(z,b,j,i+5|0,s)}p=g}else p=m;a=p}else{var S=t.n20(n),C=qx(t,S),A=zx(t,S),$=r.n20(n),E=qx(r,$),I=zx(r,$),M=null==C?null:di(C),N=null==M?0:M,L=null==E?null:di(E);a=$x(t,N,C,A,null==L?0:L,E,I,i+5|0,s.d1z_1)}return a}function Px(t){if(0===t.p1y_1)return t.r1y_1.length/2|0;var r=Oe(t.o1y_1),n=r,i=xv(r,2),e=t.r1y_1.length;if(i>r&31}function Fx(t,r){var n=t.length-2|0,i=Yn(Array(n),null);return Ge(t,i,0,0,r),Ge(t,i,r,r+2|0,t.length),i}function Bx(){return Fc===b&&new Hp,Fc}function Kx(t,r,n){return Zx(),new gm(t,r,n)}function Gx(t,r){return Zx(),null==t||!!(t instanceof Sw&&r instanceof Sw)&&(!t.o1f()||wi(t,r)||wi(t.m11_1,r.m11_1))}function Vx(t){return Zx(),Jx(2,t)}function Wx(t){return Zx(),Jx(1,t)}function Jx(t,r){return Zx(),t<0?-2:-1;for(var i=0;i<=n;){var e=(i+n|0)>>>1|0,s=t.v1s_1[e].r2(r);if(s.k1(new yt(0,0))<0)i=e+1|0;else{if(!(s.k1(new yt(0,0))>0))return e;n=e-1|0}}return 0|-(i+1|0)}function rj(t,r,n){null!=n?t.k(n(r)):null==r||ge(r)?t.k(r):r instanceof ut?t.u9(r.bh_1):t.k(Wn(r))}function nj(){return Kj(),Jc}function ij(){return Kj(),Yc}function ej(){return Kj(),Zc}function sj(t){Kj(),Qc=t}function aj(){return Kj(),Qc}function lj(t){Kj(),Xc=t}function uj(){return Kj(),Xc}function hj(){return Kj(),tv}function _j(){return Kj(),rv}function oj(t){Kj(),nv=t}function fj(){return Kj(),nv}function cj(t){Kj(),iv=t}function vj(){return Kj(),iv}function wj(){return Kj(),ev}function dj(){return Kj(),sv}function pj(){return Kj(),av}function mj(){return uv===b&&new em,uv}function gj(){return hv===b&&new lm,hv}function yj(t){Kj(),hj().q25(t)}function bj(){Kj();var t=ij().js();return null==t?wj().js():t}function kj(t){Kj();var r,n=dj(),i=n instanceof hm?n:Si();ej(),null!=(r=(i=wj().js()).l23())&&pj().ni(1);var e=Cj(i,t),s=r;if(null==s);else try{var a=fj(),l=0,u=a.p()-1|0;if(l<=u)do{var h=l;l=l+1|0,a.s(h)(wx(s),i)}while(l<=u)}finally{pj().ni(-1)}ej(),Aj();var _=r;if(null==_);else{var o=_.zk_1;t:{var f=_.yk_1,c=f.length-2|0,v=0;if(v<=c)do{var w=v;v=v+1|0;var d=f[w],p=d;if(!p.a3(p.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var m=8-(~(w-c)>>>31|0)|0,g=0;if(g>>31|0)|0,w=0;if(w=e){_=f;break t}c.e1s_11}function Nj(t,r,n){return Kj(),function(t,r,n){return Kj(),!(0===r)&&r<=t&&!n.s(r)}(r,t.e1s_1,n)}function Lj(t,r){Kj();var n=lv.xz(),i=n.t23();null==i||i(r);var e,s=Ej(t,n.e1b(),n.m23());if(null==s){ej();var a,l=lv.xz(),u=r.j1s(),h=Ej(u instanceof id?u:Si(),l.e1b(),l.m23());null==h?Ij():a=h,e=a}else e=s;return e}function Pj(t){Kj();var r,n=lv.xz(),i=Ej(t,n.e1b(),n.m23());if(null==i){ej();var e=lv.xz();r=Ej(t,e.e1b(),e.m23())}else r=i;var s,a=r;return null==a?Ij():s=a,s}function Oj(t,r){Kj(),t.p23(t.q23()+1|0);var n=t.u23();null==n||n(r)}function Dj(t,r,n,i){Kj(),n.r23()&&n.v23(r);var e=n.e1b();if(i.e1s_1===e)return i;ej();var s=function(t,r){Kj();var n,i=function(t){Kj();for(var r=t.j1s(),n=null,i=hj().g26(uj())-1|0,e=Jj().i24_1;null!=r;){if(0===r.e1s_1)return r;if(Nj(r,i,e)){if(null!=n)return r.e1s_10;){var s=(e+1>>1)-1|0;if(!(n[s]>i))break t;Vj(t,s,e),e=s}}function Vj(t,r,n){var i=t.m25_1,e=t.n25_1,s=t.o25_1,a=i[r];i[r]=i[n],i[n]=a,a=e[r],e[r]=e[n],e[n]=a,s[e[r]]=r,s[e[n]]=n}function*Wj(t,r,n){var i=t.m26_1.c24_1;if(null!=i)for(var e=0,s=i.length;e>>1|0,s=t[e];if(r>s)n=e+1|0;else{if(!(r{var t,r=this.r2a_1,n=this.u2a_1;if(null==n)throw vr.h1(pi("Value should be initialized"));return t=n,r.b2b(this,t)}}z2a(t,r,n,i,e){var s=!1;if(this.s2a_1!==r&&(this.s2a_1=r,s=!0),this.t2a_1!==n&&(this.t2a_1=n,s=!0),this.r2a_1=t,this.u2a_1=i,this.v2a_1=e,null!=this.w2a_1&&s){var a=this.w2a_1;null==a||a.c2b(),this.w2a_1=null,dq(this)}}m1i(){dq(this)}l1i(){var t=this.w2a_1;null==t||t.c2b()}n1i(){var t=this.w2a_1;null==t||t.c2b()}y2a(t){return Ne(t,this.v2a_1)?this.u2a_1:null}}class oq{constructor(t,r,n){this.e2b_1=t,this.f2b_1=r,this.g2b_1=n}c2b(){var t=this.e2b_1.j2b_1.f2(this.f2b_1);if(null==t||t.q1(this.g2b_1),null!=t&&!t.x()){var r=this.e2b_1.j2b_1,n=this.f2b_1;r.e2(n,t)}}}class fq{constructor(t,r){this.h2b_1=r;var n,i=null==t?null:Ka(t);n=null==i?tr.fa():i,this.i2b_1=n,this.j2b_1=tr.fa()}d2b(t){return this.h2b_1(t)}p2a(t){var r,n=this.i2b_1.f2(t);if(null==n||n.x())r=null;else{if(n.p()>1){var i=this.i2b_1,e=n.o1(1,n.p());i.e2(t,e)}r=n.s(0)}return r}a2b(t,r){if(function(t){gq();var r=!0,n=0,i=ui(t);if(n0}n(){var t=this.w26_1.s26(),r=this.v26_1;return this.v26_1=r-1|0,this.w26_1.u26(t-r|0)}}class Mq{constructor(t){this.x26_1=t}l(){return new Iq(this.x26_1)}}class Nq{constructor(t){this.z26_1=t,this.y26_1=t.s26()}m(){return this.y26_1>0}n(){var t=this.z26_1.s26(),r=this.y26_1;return this.y26_1=r-1|0,this.z26_1.t26(t-r|0)}}class Lq{constructor(t){this.a27_1=t}l(){return new Nq(this.a27_1)}}class Pq{constructor(t){this.b27_1=t,this.c27_1=!1,this.d27_1=Da(),this.e27_1=Lt.b1(),this.f27_1=Kt.g8(),this.g27_1=Lt.b1(),this.h27_1=Lt.b1(),this.i27_1=Lt.b1()}}class Oq{}class Dq{constructor(t,r,n,i,e){var s;this.j27_1=t,this.k27_1=r,this.l27_1=n,this.m27_1=e.d27_1,this.n27_1=Un(s=e.e27_1,Kt.z(Ha(s,12)));var a=e.e27_1;this.o27_1=We(a),this.p27_1=rz(e.g27_1);var l=e.h27_1;this.q27_1=We(l),this.r27_1=function(t){for(var r=Qn(t.p()),n=0,i=t.l();i.m();){var e=i.n(),s=n;n=s+1|0,r[s]=e}return r}(e.i27_1);for(var u=function(t){return new Qr((()=>Zn(t)))}(this.o27_1),h=Lt.q(Ha(u,10)),_=u.l();_.m();){var o=_.n(),f=kl(o.of_1,o.nf_1);h.h(f)}this.s27_1=Fa(h),this.t27_1=rz(i),this.u27_1=Fs((()=>iz(this,this.t27_1)))}q26(){return this.j27_1}r26(){return this.k27_1}s26(){return this.l27_1}v27(){return this.n27_1}t26(t){return az(this.o27_1,t)}u26(t){return az(this.p27_1,t)}equals(t){var r;t:if(this!==t)if(t instanceof Dq)if(this.q26()===t.q26())if(Ne(this.t27_1,t.t27_1))if(this.s26()===t.s26()){var n=0,i=this.s26();if(nthis.t26(t)+": "+this.u26(t).q26()))}}class Rq{toString(){return zi(wa(this).cd())}hashCode(){return gi(this.toString())}}class Tq extends Rq{constructor(){xq=null,super(),xq=this}}class Hq extends Rq{}class Uq extends Hq{constructor(){jq=null,super(),jq=this}}class Fq extends Hq{constructor(){qq=null,super(),qq=this}}class Bq{constructor(t,r){this.w27_1=r,this.x27_1=null,this.y27_1=Fs((()=>{var r=this.x27_1;return null==r?function(t,r){for(var n=new Gq(r,t.w27_1.length),i=t.w27_1,e=0,s=i.length;et.m28()),null),t.y1()}toString(){return"kotlinx.serialization.internal.EnumSerializer<"+this.m28().q26()+">"}}class Kq{constructor(t,r,n){r=r===b?null:r,this.z27_1=t,this.a28_1=r,this.b28_1=n,this.c28_1=-1;for(var i=0,e=this.b28_1,s=Yn(Array(e),null);i{var t=this.a28_1,r=null==t?null:t.d29();return null==r?(Aq||(Aq=!0,Cq=[]),Cq):r})),ml(),this.j28_1=Bs(0,(()=>{var t,r=this.a28_1,n=null==r?null:r.e29();if(null==n)t=null;else{for(var i=Lt.q(n.length),e=0,s=n.length;eiz(this,this.b29())))}q26(){return this.z27_1}s26(){return this.b28_1}r26(){return Qq()}v27(){return this.h28_1.c2()}b29(){var t=this.j28_1;return fe("typeParameterDescriptors",1,Ir,(t=>t.b29()),null),t.y1()}c29(t,r){this.c28_1=this.c28_1+1|0,this.d28_1[this.c28_1]=t,this.g28_1[this.c28_1]=r,this.e28_1[this.c28_1]=null,this.c28_1===(this.b28_1-1|0)&&(this.h28_1=function(t){var r=Pt.l6(),n=0,i=t.d28_1.length-1|0;if(n<=i)do{var e=n;n=n+1|0;var s=t.d28_1[e];r.e2(s,e)}while(n<=i);return r}(this))}l28(t,r,n){var i;return r=r!==b&&r,n===b?(this.c29(t,r),i=k):i=n.c29.call(this,t,r),i}u26(t){return az(ez(this),t).m28()}t26(t){return az(this.d28_1,t)}equals(t){var r;t:if(this!==t)if(t instanceof Kq)if(this.q26()===t.q26())if(Ne(this.b29(),t.b29()))if(this.s26()===t.s26()){var n=0,i=this.s26();if(nthis.t26(t)+": "+this.u26(t).q26()))}}class Gq extends Kq{constructor(t,r){super(t,b,r),this.z28_1=Zq(),this.a29_1=Fs((()=>{for(var n=0,i=r,e=Yn(Array(i),null);nJq(t)),null),r.y1()}function Yq(t){return k}function Zq(){return xq===b&&new Tq,xq}function Qq(){return jq===b&&new Uq,jq}function Xq(t){var r=t.a29_1;return fe("elementDescriptors",1,Ir,(t=>Xq(t)),null),r.y1()}function tz(t){if(nz(),pe(t,Oq))return t.v27();var r=Kt.z(t.s26()),n=0,i=t.s26();if(nez(t)),null),r.y1()}function sz(t){var r=t.k28_1;return fe("_hashCode",1,Ir,(t=>sz(t)),null),r.y1()}function az(t,r){if(!(0<=r&&r<=(t.length-1|0)))throw mr.qc("Index "+r+" out of bounds "+function(t){return new kn(0,Pn(t))}(t).toString());return t[r]}ie(Eq,"SerialDescriptor"),re(Iq),re(Mq),re(Nq),re(Lq),re(Pq,"ClassSerialDescriptorBuilder"),ie(Oq,"CachedNames"),re(Dq,"SerialDescriptorImpl",b,b,[Eq,Oq]),re(Rq,"SerialKind"),ne(Tq,"ENUM"),re(Hq,"StructureKind"),ne(Uq,"CLASS"),ne(Fq,"OBJECT"),re(Bq,"EnumSerializer"),re(Kq,"PluginGeneratedSerialDescriptor",b,b,[Eq,Oq]),re(Gq,"EnumDescriptor"),ie(class{},"GeneratedSerializer"),re(class{},"SerializableWith",b,b,b,b,0);var lz,uz,hz,_z,oz,fz,cz,vz,wz,dz,pz,mz,gz,yz,bz,kz,xz,jz,qz,zz,Sz,Cz,Az,$z,Ez,Iz,Mz=Math.imul;class Nz{f29(t){}g29(t){}toString(){return"Modifier"}}class Lz{}class Pz{constructor(t){this.h29_1=t}toString(){return"Density(rawDensity="+this.h29_1+")"}hashCode(){return ei(this.h29_1)}equals(t){return function(t,r){return r instanceof Pz&&!!wi(t,r instanceof Pz?r.h29_1:Si())}(this.h29_1,t)}}class Oz extends mt{}class Dz{constructor(){var t,r;fz=this,this.i29_1=(r=t===b?Gz(0):t,new Rz(t=r,t,t,t))}}class Rz{constructor(t,r,n,i){Xz(),t=t===b?Gz(0):t,r=r===b?Gz(0):r,n=n===b?Gz(0):n,i=i===b?Gz(0):i,this.j29_1=t,this.k29_1=r,this.l29_1=n,this.m29_1=i}toString(){return wi(this.j29_1,this.k29_1)&&wi(this.l29_1,this.m29_1)?wi(this.j29_1,this.l29_1)?"Margin(all="+Vz(this.j29_1)+")":"Margin(horizontal="+Vz(this.j29_1)+", vertical="+Vz(this.l29_1)+")":"Margin(start="+Vz(this.j29_1)+", end="+Vz(this.k29_1)+", top="+Vz(this.l29_1)+", bottom="+Vz(this.m29_1)+")"}equals(t){return this===t||t instanceof Rz&&!!wi(this.j29_1,t.j29_1)&&!!wi(this.k29_1,t.k29_1)&&!!wi(this.l29_1,t.l29_1)&&!!wi(this.m29_1,t.m29_1)}hashCode(){var t=Wz(this.j29_1);return t=Mz(t,31)+Wz(this.k29_1)|0,t=Mz(t,31)+Wz(this.l29_1)|0,Mz(t,31)+Wz(this.m29_1)|0}}class Tz{}class Hz{constructor(t){this.n29_1=t}toString(){return this.n29_1+".px"}hashCode(){return ei(this.n29_1)}equals(t){return function(t,r){return r instanceof Hz&&!!wi(t,r instanceof Hz?r.n29_1:Si())}(this.n29_1,t)}}class Uz{constructor(){cz=this;var t=Gz(0),r=Gz(0);this.o29_1=new Fz(t,r)}}class Fz{constructor(t,r){cz===b&&new Uz,this.p29_1=t,this.q29_1=r}equals(t){return this===t||t instanceof Fz&&!!wi(this.p29_1,t.p29_1)&&!!wi(this.q29_1,t.q29_1)}hashCode(){var t=Wz(this.p29_1);return Mz(t,31)+Wz(this.q29_1)|0}toString(){return"Size(width="+Vz(this.p29_1)+", height="+Vz(this.q29_1)+")"}}class Bz{constructor(){var t,r;vz=this,this.r29_1=[null,null,null,null,null,(t="app.cash.redwood.ui.LayoutDirection",r=[Yz(),Zz(),Qz()],new Bq(t,r))]}}class Kz{constructor(t,r,n,i,e,s){vz===b&&new Bz,t=t!==b&&t,r=r===b?Xz().i29_1:r,n=n===b?Xz().i29_1:n,i=i===b?null:i,e=e===b?1:e,s=s===b?Yz():s,this.s29_1=t,this.t29_1=r,this.u29_1=n,this.v29_1=i,this.w29_1=e,this.x29_1=s}y29(t,r,n,i,e,s){return new Kz(t,r,n,i,e,s)}z29(t,r,n,i,e,s,a){return t=t===b?this.s29_1:t,r=r===b?this.t29_1:r,n=n===b?this.u29_1:n,i=i===b?this.v29_1:i,e=e===b?this.w29_1:e,s=s===b?this.x29_1:s,a===b?this.y29(t,r,n,i,e,s):a.y29.call(this,t,r,n,i,e,s)}equals(t){return this===t||t instanceof Kz&&this.s29_1===t.s29_1&&!!this.t29_1.equals(t.t29_1)&&!!this.u29_1.equals(t.u29_1)&&!!wi(this.v29_1,t.v29_1)&&!!wi(this.w29_1,t.w29_1)&&!!this.x29_1.equals(t.x29_1)}hashCode(){var t=mi(this.s29_1);return t=Mz(t,31)+this.t29_1.hashCode()|0,t=Mz(t,31)+this.u29_1.hashCode()|0,t=Mz(t,31)+(null==this.v29_1?0:this.v29_1.hashCode())|0,t=Mz(t,31)+ei(this.w29_1)|0,Mz(t,31)+this.x29_1.hashCode()|0}toString(){return"UiConfiguration(darkMode="+this.s29_1+", safeAreaInsets="+this.t29_1.toString()+", viewInsets="+this.u29_1.toString()+", viewportSize="+Wn(this.v29_1)+", density="+this.w29_1+", layoutDirection="+this.x29_1.toString()+")"}}function Gz(t){if(!(t>=0)){var r="value must be non-negative: "+t;throw vr.h1(pi(r))}return t}function Vz(t){return t+".dp"}function Wz(t){return ei(t)}function Jz(){if(oz)return k;oz=!0,uz=new Oz("Ltr",0),hz=new Oz("Rtl",1),_z=new Oz("Auto",2)}function Yz(){return Jz(),uz}function Zz(){return Jz(),hz}function Qz(){return Jz(),_z}function Xz(){return fz===b&&new Dz,fz}se(Nz),se(Lz),re(Pz,"Density"),re(Oz,"LayoutDirection"),se(Dz),re(Rz,"Margin",Rz),se(Tz),re(Hz,"Px"),se(Uz),re(Fz,"Size"),se(Bz),re(Kz,"UiConfiguration",Kz),lz=new Nz,new Lz,new Tz;class tS{}class rS{constructor(t){this.a2a_1=t,this.b2a_1=Lt.b1()}c2a(){return this.b2a_1}d2a(t,r){this.b2a_1.u1(t,r);var n=this.a2a_1.children[t];this.a2a_1.insertBefore(r.y1(),n)}e2a(t,r){return this.d2a(t,r)}f10(t,r,n){!function(t,r,n,i){var e=r>n?n:n-i|0;if(1===i)if(r===(n+1|0)||r===(n-1|0)){var s=t.s(r),a=t.t1(n,s);t.t1(r,a)}else{var l=t.v1(r);t.u1(e,l)}else{var u=t.o1(r,r+i|0),h=Hn(u);u.s1(),t.r1(e,h)}}(this.b2a_1,t,r,n);for(var i=0,e=Yn(Array(n),null);it?r-n|0:r,_=0,o=0,f=u.length;o(sS(this,(r=>{var n=t;return r.z29(n.matches)})),k))),eS(this)}os(){return this.i2a_1}m2a(){return this.k2a_1}n2a(){return this.l2a_1}o2a(){return null}}function eS(t){var r=t.j2a_1;null==r||r();var n=window.matchMedia("(resolution: "+window.devicePixelRatio+"dppx)"),i=r=>(eS(t),k);n.addEventListener("change",i),t.j2a_1=()=>(n.removeEventListener("change",i),k),sS(t,aS)}function sS(t,r){t.l2a_1.mw(r(t.l2a_1.y1()))}function aS(t){return t.z29(b,b,b,b,window.devicePixelRatio)}ie(tS,"ChangeListener"),re(rS,"HTMLElementChildren"),re(nS),re(iS,"RedwoodHTMLElementView");class lS{constructor(t){this.a2c_1=t}x1l(t,r){this.a2c_1.w2b_1=null,lv.j1n()}cc(t,r){return this.x1l(null!=t&&pe(t,yu)?t:Si(),r)}}class uS{constructor(t){this.z2b_1=t}x1l(t,r){return $s(yS.bind(b,this,t),r)}cc(t,r){return this.x1l(null!=t&&pe(t,yu)?t:Si(),r)}}class hS{constructor(t,r,n,i,e){this.q2b_1=t,this.r2b_1=r,this.s2b_1=n,this.t2b_1=i,this.u2b_1=new Lw(this.q2b_1.gm()),this.v2b_1=function(t,r){return hy(),new iw(r,t)}(e,this.u2b_1),this.w2b_1=null;var s=lv;this.x2b_1=s.j23((t=>{var r,n;return null==this.w2b_1&&(this.w2b_1=Kh(this.q2b_1,b,b,(r=new lS(this),(n=(t,n)=>r.x1l(t,n)).$arity=1,n))),k}));var a,l,u=(l_(),Dl);this.y2b_1=Kh(this.q2b_1,b,u,(a=new uS(this),(l=(t,r)=>a.x1l(t,r)).$arity=1,l))}s1i(t){var r;this.v2b_1.s1i((r=Kx(1975066960,!0,((r,n)=>{var i,e,s=r;if(2==(3&n)&&s.c1a())s.d17();else{bg()&&kg(1975066960,n,-1,"app.cash.redwood.compose.WidgetRedwoodComposition.setContent. (RedwoodComposition.kt:163)");var a=gk(this.t2b_1,null,s,0,1),l=[(gS(),wz).f1k(this.r2b_1),pq().f1k(this.s2b_1),jS().f1k((e=a,ce("uiConfiguration",Nr,!1,(()=>Ci())),e.y1()))],u=Yx(270222480,!0,((r,n)=>{var i=r;return 2==(3&n)&&i.c1a()?i.d17():(bg()&&kg(270222480,n,-1,"app.cash.redwood.compose.WidgetRedwoodComposition.setContent.. (RedwoodComposition.kt:169)"),t(i,0),bg()&&xg()),k}),s,54),h=s;Pg(h,1157296644,"CC(remember)P(1):Composables.kt#9igjgp");var _,o=h.c14(u),f=h.b1f();if(o||f===wg().m17_1){var c=(i=u,(t,r)=>i.n1c(t,r));h.c1f(c),_=c}else _=f;var v=null==_||null!=_?_:Si();Og(h),fy(l,v,s,56),bg()&&xg()}return k})),(t,n)=>r.n1c(t,n)))}}class _S{constructor(){pz=this,this.b2c_1=new oS}}class oS{constructor(){bS()}c2c(t,r,n,i){var e=n;e=e.j1e(1209127542);var s=i;if(6&i||(s|=e.p1d(t)?4:2),48&i||(s|=e.p1d(r)?32:16),18==(19&s)&&e.c1a())e.d17();else{bg()&&kg(1209127542,s,-1,"app.cash.redwood.compose.RedwoodComposeContent.Children (RedwoodComposition.kt:240)"),e.s1c(-1526404809);var a,l=e,u=4==(14&s),h=l.b1f();if(u||h===wg().m17_1){var _=()=>vS.h2c("function"==typeof t?t:Si());l.c1f(_),a=_}else a=h;var o=null==a||null!=a?a:Si();e.u1c();var f=896&s<<3,c=e;Pg(c,-548224868,"CC(ComposeNode)P(1,2)336@12596L9:Composables.kt#9igjgp"),pe(c.o1c(),jv)||function(){throw fr.l3(pi("Invalid applier"))}(),c.l17(),c.b1d()?c.d1d(o):c.g1d(),r(c,14&f>>6),c.i1d(),Og(c),bg()&&xg()}var v=this,w=e.k1e();null==w||w.p1k(((n,e)=>(v.c2c(t,r,n,zy(1|i)),k)))}}class fS extends Cv{constructor(t,r,n){super(vS.i2c(r)),this.m2c_1=t,this.n2c_1=n,this.o2c_1=!1,this.p2c_1=new Set}q2c(){return this.m2c_1}r2c(t){pe(t,tS)&&this.p2c_1.add(t)}yz(){super.yz(),this.n2c_1()}zz(){if(this.o2c_1&&0!==this.p2c_1.size)throw fr.l3("Check failed.");var t=this.p2c_1;t.forEach(CS),t.clear()}s2c(t,r){if(this.o2c_1)throw fr.l3("Check failed.");if(r instanceof vS){var n=this.xz(),i=n instanceof dS?n:Si();r.x2c(i.u2c_1)}}c10(t,r){return this.s2c(t,null!=r&&pe(r,cS)?r:Si())}y2c(t,r){if(this.o2c_1)throw fr.l3("Check failed.");if(r instanceof dS){var n=r instanceof dS?r:Si(),i=this.xz(),e=i instanceof vS?i:Si();e.z2c(t,n);var s=e.an();null==s||this.r2c(s)}}d10(t,r){return this.y2c(t,null!=r&&pe(r,cS)?r:Si())}e10(t,r){if(this.o2c_1)throw fr.l3("Check failed.");var n=this.xz(),i=n instanceof vS?n:Si();i.e10(t,r);var e=i.an();null==e||this.r2c(e)}f10(t,r,n){if(this.o2c_1)throw fr.l3("Check failed.");var i=this.xz(),e=i instanceof vS?i:Si();e.f10(t,r,n);var s=e.an();null==s||this.r2c(s)}}class cS{}class vS{static a2d(t,r,n){var i=xi(this);return i.d2c_1=t,i.e2c_1=n,i.f2c_1=[],i.g2c_1=r,i}static h2c(t){return this.a2d(t,null,null)}static i2c(t){return this.a2d(null,null,t)}z2c(t,r){var n=this.f2c_1,i=t,e=n.length;if(in?n:n-i|0,s=t.splice(r,i),a=0;if(a{var n=ue(r).s2(he(1e6)),e=t(n);return i.va(e),k})),n.nb()}}function mS(){throw gS(),yr.uc("OnBackPressedDispatcher was not provided!")}function gS(){dz||(dz=!0,wz=_y(mS))}function*yS(t,r,n){var i=t.z2b_1.u2b_1.p1o(n);return i===nl()&&(i=yield i),k}function bS(){return pz===b&&new _S,pz}function kS(){return k}function xS(){return k}function jS(){return SS(),mz}function qS(){throw SS(),yr.uc("UiConfiguration was not provided!")}function zS(t){return SS(),t.q1k(jS()).u29_1}function SS(){var t,r;gz||(gz=!0,r=qS,t=(t=b)===b?kk():t,mz=new fw(t,r),new cw(zS))}function CS(t){return t.zz(),k}function AS(t){var r=t.e2c_1;if(null==r)throw fr.l3(pi("Not attached"));return r}function $S(t,r){t.b2d(),r.g29((r=>(t.t2c_1.q2c().c2d(t.u2c_1.y1(),r),k))),t.u2c_1.d2d(r);var n=t.v2c_1;return null==n||n.g2a(t.w2c_1,t.u2c_1),k}function ES(){return yz===b&&new wS,yz}ee(lS,b,b,[1]),ee(uS,b,b,[1]),re(hS,"WidgetRedwoodComposition"),se(_S),re(oS,"RedwoodComposeContent",oS),re(fS,"NodeApplier"),ie(cS,"Node"),re(vS,"ChildrenNode",b,b,[cS]),se(wS),re(dS,"WidgetNode",b,b,[cS]),ki(pS).x1=Ev,ki(pS).gb=on,ki(pS).og=fn,ki(pS).ng=cn,ki(pS).pg=hn,ne(pS,"WindowAnimationFrameClock",b,b,[$v],[1]),bz=new pS;class IS{}class MS{}class NS{}class LS{}class PS{}class OS{}class DS{}ie(IS,"Flex"),ie(MS,"Grow"),ie(NS,"Height"),ie(LS,"Margin"),ie(PS,"Shrink"),ie(OS,"Size"),ie(DS,"Width");class RS{constructor(){kz=this,this.f2d_1=0,this.g2d_1=1}}class TS{constructor(t){VS(),this.h2d_1=t}toString(){return function(t){var r;switch(t){case 0:r="Wrap";break;case 1:r="Fill";break;default:throw yr.tc()}return r}(this.h2d_1)}hashCode(){return this.h2d_1}equals(t){return function(t,r){return r instanceof TS&&t===(r instanceof TS?r.h2d_1:Si())}(this.h2d_1,t)}}class HS{constructor(){xz=this,this.i2d_1=0,this.j2d_1=1}}class US{constructor(t){WS(),this.k2d_1=t}toString(){return function(t){var r;switch(t){case 0:r="Clip";break;case 1:r="Scroll";break;default:throw yr.tc()}return r}(this.k2d_1)}hashCode(){return this.k2d_1}equals(t){return function(t,r){return r instanceof US&&t===(r instanceof US?r.k2d_1:Si())}(this.k2d_1,t)}}class FS{constructor(){jz=this,this.l2d_1=0,this.m2d_1=1,this.n2d_1=2,this.o2d_1=3}}class BS{constructor(t){JS(),this.p2d_1=t}toString(){return function(t){var r;switch(t){case 0:r="Start";break;case 1:r="Center";break;case 2:r="End";break;case 3:r="Stretch";break;default:throw yr.tc()}return r}(this.p2d_1)}hashCode(){return this.p2d_1}equals(t){return function(t,r){return r instanceof BS&&t===(r instanceof BS?r.p2d_1:Si())}(this.p2d_1,t)}}class KS{constructor(){qz=this,this.q2d_1=0,this.r2d_1=1,this.s2d_1=2,this.t2d_1=3,this.u2d_1=4,this.v2d_1=5}}class GS{constructor(t){YS(),this.w2d_1=t}toString(){return function(t){var r;switch(t){case 0:r="Start";break;case 1:r="Center";break;case 2:r="End";break;case 3:r="SpaceBetween";break;case 4:r="SpaceAround";break;case 5:r="SpaceEvenly";break;default:throw yr.tc()}return r}(this.w2d_1)}hashCode(){return this.w2d_1}equals(t){return function(t,r){return r instanceof GS&&t===(r instanceof GS?r.w2d_1:Si())}(this.w2d_1,t)}}function VS(){return kz===b&&new RS,kz}function WS(){return xz===b&&new HS,xz}function JS(){return jz===b&&new FS,jz}function YS(){return qz===b&&new KS,qz}se(RS),re(TS,"Constraint"),se(HS),re(US,"Overflow"),se(FS),re(BS,"CrossAxisAlignment"),se(KS),re(GS,"MainAxisAlignment");class ZS{constructor(t){this.t2e_1=t}c2e(){var t=this.t2e_1.createElement("div");return new QS(t instanceof HTMLDivElement?t:Si())}}class QS{constructor(t){var r;this.u2e_1=new tC(t,"column",nC),this.v2e_1=(r=this.u2e_1,fe("modifier",0,Lr,(()=>r.a2f_1),(t=>(r.a2f_1=t,k))))}y1(){return this.u2e_1.w2e_1}d2d(t){var r=this.v2e_1;return fe("modifier",1,Mr,(t=>t.b2f()),((t,r)=>t.d2d(r))),r.set(t),k}b2f(){var t=this.v2e_1;return fe("modifier",1,Mr,(t=>t.b2f()),((t,r)=>t.d2d(r))),t.get()}os(){return this.u2e_1.y2e_1}d2e(t){return this.u2e_1.d2e(t)}e2e(t){return this.u2e_1.e2e(t)}f2e(t){return this.u2e_1.f2e(t)}g2e(t){return this.u2e_1.g2e(t)}h2e(t){return this.u2e_1.c2f(t)}i2e(t){return this.u2e_1.d2f(t)}j2e(t){return this.u2e_1.j2e(t)}}class XS{constructor(t,r){this.e2f_1=t,this.f2f_1=r}g2f(t){var r;switch(this.e2f_1.w2e_1.style.flexDirection){case"row":r=this.e2f_1.w2e_1.scrollTop;break;case"column":r=this.e2f_1.w2e_1.scrollLeft;break;default:throw yr.tc()}var n=r;this.f2f_1(new Hz(function(t){if(!(t>=0)){var r="value must be non-negative: "+t;throw vr.h1(pi(r))}return t}(n)))}handleEvent(t){return this.g2f(t)}}class tC{constructor(t,r,n){this.w2e_1=t,this.x2e_1=n,this.w2e_1.style.display="flex",this.w2e_1.style.flexDirection=r,this.y2e_1=new rC(this.w2e_1),this.z2e_1=null,this.a2f_1=lz}d2e(t){this.w2e_1.style.width=sC(t)}e2e(t){this.w2e_1.style.height=sC(t)}f2e(t){var r=this.w2e_1.style;aC(r,eC(t.j29_1)),lC(r,eC(t.k29_1)),r.marginTop=eC(t.l29_1),r.marginBottom=eC(t.m29_1)}g2e(t){this.x2e_1(this.w2e_1.style,function(t){var r;if(t===WS().i2d_1)r="hidden";else{if(t!==WS().j2d_1)throw yr.tc();r="scroll"}return r}(t))}j2e(t){var r=this.z2e_1;if(null==r||(this.w2e_1.removeEventListener("scroll",r),this.z2e_1=null),null!=t){var n=new XS(this,t);this.z2e_1=n;var i=n;this.w2e_1.addEventListener("scroll",i)}}c2f(t){this.w2e_1.style.alignItems=function(t){var r;if(t===JS().l2d_1)r="start";else if(t===JS().m2d_1)r="center";else if(t===JS().n2d_1)r="end";else{if(t!==JS().o2d_1)throw yr.tc();r="stretch"}return r}(t)}d2f(t){this.w2e_1.style.justifyContent=function(t){var r;if(t===YS().q2d_1)r="start";else if(t===YS().r2d_1)r="center";else if(t===YS().s2d_1)r="end";else if(t===YS().t2d_1)r="space-between";else if(t===YS().u2d_1)r="space-around";else{if(t!==YS().v2d_1)throw yr.tc();r="space-evenly"}return r}(t)}}class rC{constructor(t,r){r=r===b?new rS(t):r,this.h2f_1=t,this.i2f_1=r}f2a(t,r){iC(r,0,!0),this.i2f_1.f2a(t,r)}g2a(t,r){return this.f2a(t,r)}d2a(t,r){iC(r,0,!1),this.i2f_1.d2a(t,r)}e2a(t,r){return this.d2a(t,r)}f10(t,r,n){this.i2f_1.f10(t,r,n)}e10(t,r){this.i2f_1.e10(t,r)}c2a(){return this.i2f_1.c2a()}}function nC(t,r){return t.overflowY=r,k}function iC(t,r,n){if(n){var i=t.y1().style;i.removeProperty("margin-inline-start"),i.removeProperty("margin-inline-end"),i.removeProperty("margin-top"),i.removeProperty("margin-bottom"),i.removeProperty("flex-grow"),i.removeProperty("flex-shrink"),i.removeProperty("flex"),i.removeProperty("width"),i.removeProperty("height")}t.b2f().f29((r=>{if(pe(r,LS)){var n=t.y1().style;aC(n,eC(r.y2d().j29_1)),lC(n,eC(r.y2d().k29_1)),n.marginTop=eC(r.y2d().l29_1),n.marginBottom=eC(r.y2d().m29_1)}else if(pe(r,MS))t.y1().style.flexGrow=r.y1().toString();else if(pe(r,PS))t.y1().style.flexShrink=r.y1().toString();else if(pe(r,IS))t.y1().style.flex=r.y1().toString();else if(pe(r,DS))t.y1().style.width=eC(r.z2d());else if(pe(r,NS))t.y1().style.height=eC(r.x2d());else if(pe(r,OS)){var i=t.y1().style;i.width=eC(r.z2d()),i.height=eC(r.x2d())}return k}))}function eC(t){return function(t){if(Le(t))throw vr.h1("Cannot round NaN value.");return t>2147483647?2147483647:t<-2147483648?-2147483648:le(Math.round(t))}(1*t*1)+"px"}function sC(t){var r;if(t===VS().f2d_1)r="auto";else{if(t!==VS().g2d_1)throw yr.tc();r="100%"}return r}function aC(t,r){t.setProperty("margin-inline-start",r)}function lC(t,r){t.setProperty("margin-inline-end",r)}re(ZS,"HTMLElementRedwoodLayoutWidgetFactory"),re(QS,"HTMLColumn"),re(XS),re(tC,"HTMLFlexContainer"),re(rC,"HTMLFlexElementChildren");class uC{a2e(t,r,n){}}se(uC),zz=new uC;class hC{}class _C{constructor(t,r){this.k2e_1=t,this.l2e_1=r}m2e(){return this.k2e_1}b2e(){return this.l2e_1}c2d(t,r){Sz.n2e(this.k2e_1,t,r),zz.a2e(this.l2e_1,t,r)}}class oC{n2e(t,r,n){}}function fC(t,r,n,i,e,s,a){var l={_v:r},u={_v:n},h={_v:i},_=e;_=_.j1e(-1072252343);var o=s;if(1&a?o|=6:6&s||(o|=_.c14(t)?4:2),2&a?o|=48:48&s||(o|=_.q1d(l._v)?32:16),4&a?o|=384:384&s||(o|=_.p1d(u._v)?256:128),8&a?o|=3072:3072&s||(o|=_.c14(h._v)?2048:1024),1170==(1171&o)&&_.c1a())_.d17();else{2&a&&(l._v=!0),4&a&&(u._v=null),8&a&&(h._v=lz),bg()&&kg(-1072252343,o,-1,"com.example.redwood.counter.compose.Button (Button.kt:25)");var f=_;if(f.l17(),f.b1d()){var c=f.o1c();f.d1d((()=>{var t=c.q2c().m2e().o2e();return new dS(c,t)}))}else f.g1d();var v=f;Dg(v,t,cC),Dg(v,l._v,vC),Dg(v,u._v,wC),Dg(v,h._v,ES().e2d_1),bS().b2c_1,f.i1d(),bg()&&xg()}var w=_.k1e();null==w||w.p1k(((r,n)=>(fC(t,l._v,u._v,h._v,r,zy(1|s),a),k)))}function cC(t,r){return t.b2d(),t.u2c_1.p2e(r),k}function vC(t,r){return t.b2d(),t.u2c_1.q2e(r),k}function wC(t,r){return t.b2d(),t.u2c_1.r2e(r),k}function dC(t,r,n,i,e){var s={_v:r},a=n;a=a.j1e(-659820591);var l=i;if(1&e?l|=6:6&i||(l|=a.c14(t)?4:2),2&e?l|=48:48&i||(l|=a.c14(s._v)?32:16),18==(19&l)&&a.c1a())a.d17();else{2&e&&(s._v=lz),bg()&&kg(-659820591,l,-1,"com.example.redwood.counter.compose.Text (Text.kt:18)");var u=a;if(u.l17(),u.b1d()){var h=u.o1c();u.d1d((()=>{var t=h.q2c().m2e().s2e();return new dS(h,t)}))}else u.g1d();var _=u;Dg(_,t,pC),Dg(_,s._v,ES().e2d_1),bS().b2c_1,u.i1d(),bg()&&xg()}var o=a.k1e();null==o||o.p1k(((r,n)=>(dC(t,s._v,r,zy(1|i),e),k)))}function pC(t,r){return t.b2d(),t.u2c_1.p2e(r),k}se(hC),re(_C,"SchemaWidgetSystem"),se(oC),new hC,Sz=new oC;class mC{}function gC(t,r,n,i,e,s,a,l,u,h,_,o){var f={_v:null==t?null:new TS(t)},c={_v:null==r?null:new TS(r)},v={_v:n},w={_v:null==i?null:new US(i)},d={_v:null==e?null:new BS(e)},p={_v:null==s?null:new GS(s)},m={_v:a},g={_v:l},y=h;y=y.j1e(656885885);var b,x=_;if(6&_||(x|=1&o||!y.c14(f._v)?2:4),48&_||(x|=2&o||!y.c14(c._v)?16:32),384&_||(x|=4&o||!y.c14(v._v)?128:256),3072&_||(x|=8&o||!y.c14(w._v)?1024:2048),24576&_||(x|=16&o||!y.c14(d._v)?8192:16384),196608&_||(x|=32&o||!y.c14(p._v)?65536:131072),64&o?x|=1572864:1572864&_||(x|=y.p1d(m._v)?1048576:524288),128&o?x|=12582912:12582912&_||(x|=y.c14(g._v)?8388608:4194304),256&o?x|=100663296:100663296&_||(x|=y.p1d(u)?67108864:33554432),38347922==(38347923&x)&&y.c1a())y.d17();else{y.v1c(),1&_&&!y.z1c()?(y.d17(),1&o&&(x&=-15),2&o&&(x&=-113),4&o&&(x&=-897),8&o&&(x&=-7169),16&o&&(x&=-57345),32&o&&(x&=-458753)):(1&o&&(f._v=new TS(VS().f2d_1),x&=-15),2&o&&(c._v=new TS(VS().f2d_1),x&=-113),4&o&&(v._v=Xz().i29_1,x&=-897),8&o&&(w._v=new US(WS().i2d_1),x&=-7169),16&o&&(d._v=new BS(JS().l2d_1),x&=-57345),32&o&&(p._v=new GS(YS().q2d_1),x&=-458753),64&o&&(m._v=null),128&o&&(g._v=lz)),y.w1c(),bg()&&kg(656885885,x,-1,"app.cash.redwood.layout.compose.Column (Column.kt:34)");var j=y;if(j.l17(),j.b1d()){var q=j.o1c();j.d1d((()=>{var t=q.q2c().b2e().c2e();return new dS(q,t)}))}else j.g1d();var z=j;Dg(z,f._v,yC),Dg(z,c._v,bC),Dg(z,v._v,kC),Dg(z,w._v,xC),Dg(z,d._v,jC),Dg(z,p._v,qC),Dg(z,m._v,zC),Dg(z,g._v,ES().e2d_1);var S=bS().b2c_1,C=j,A=fe("children",1,Ir,(t=>t.os()),null),$=Yx(-897775212,!0,((t,r)=>{var n=t;return 2==(3&r)&&n.c1a()?n.d17():(bg()&&kg(-897775212,r,-1,"app.cash.redwood.layout.compose.Column.. (Column.kt:49)"),u(Cz,n,6),bg()&&(xg(),k)),k}),C,54),E=C;Pg(E,1157296644,"CC(remember)P(1):Composables.kt#9igjgp");var I,M=E.c14($),N=E.b1f();if(M||N===wg().m17_1){var L=(b=$,(t,r)=>b.n1c(t,r));E.c1f(L),I=L}else I=N;var P=null==I||null!=I?I:Si();Og(E),S.c2c(A,P,C,432),j.i1d(),bg()&&xg()}var O=y.k1e();null==O||O.p1k(((t,r)=>{var n=f._v,i=null==n?null:n.h2d_1,e=c._v,s=null==e?null:e.h2d_1,a=v._v,l=w._v,h=null==l?null:l.k2d_1,y=d._v,b=null==y?null:y.p2d_1,x=p._v;return gC(i,s,a,h,b,null==x?null:x.w2d_1,m._v,g._v,u,t,zy(1|_),o),k}))}function yC(t,r){return t.b2d(),t.u2c_1.d2e(r.h2d_1),k}function bC(t,r){return t.b2d(),t.u2c_1.e2e(r.h2d_1),k}function kC(t,r){return t.b2d(),t.u2c_1.f2e(r),k}function xC(t,r){return t.b2d(),t.u2c_1.g2e(r.k2d_1),k}function jC(t,r){return t.b2d(),t.u2c_1.h2e(r.p2d_1),k}function qC(t,r){return t.b2d(),t.u2c_1.i2e(r.w2d_1),k}function zC(t,r){return t.b2d(),t.u2c_1.j2e(r),k}function SC(t,r,n,i,e){var s={_v:t},a={_v:r},l=n;l=l.j1e(-2072748581);var u,h=i;if(1&e?h|=6:6&i||(h|=l.c14(s._v)?4:2),2&e?h|=48:48&i||(h|=l.r1d(a._v)?32:16),18==(19&h)&&l.c1a())l.d17();else{1&e&&(s._v=lz),2&e&&(a._v=0),bg()&&kg(-2072748581,h,-1,"com.example.redwood.counter.presenter.Counter (counter.kt:31)"),l.s1c(-1542134209);var _,o=l,f=32==(112&h),c=o.b1f();if(f||c===wg().m17_1){var v=()=>function(t){return function(t){return new ud(t)}(t)}(a._v);o.c1f(v),_=v}else _=c;var w=null==_||null!=_?_:Si();l.u1c();var d=function(t,r,n,i,e,s,a){var l={_v:r},u=n,h=e;Pg(h,441892779,"C(rememberSaveable)P(1,3,2)71@3180L23,81@3526L7,83@3552L313,93@3951L71,93@3940L82:RememberSaveable.kt#r2ddri"),2&a&&(l._v=function(){kq();var t=(kq(),bv);return pe(t,cq)?t:Si()}()),4&a&&(u=null),bg()&&kg(441892779,s,-1,"androidx.compose.runtime.saveable.rememberSaveable (RememberSaveable.kt:70)");var _=function(t,r){var n=t;bg()&&kg(524444915,0,-1,"androidx.compose.runtime. (Composables.kt:228)");var i=n.c11();return bg()&&xg(),i}(h),o=null!=u&&0!==ui(u)?u:ma(_,mv);pe(l._v,cq)||Si();var f=pq(),c=h;Pg(c,2023513938,"CC:CompositionLocal.kt#9igjgp");var v=c.f1e(f);Og(c);var w=v;Pg(h,-1519365315,"CC(remember):RememberSaveable.kt#9igjgp");var d,p=h.b1f();if(p===wg().m17_1){var m=null==w?null:w.p2a(o),g=null==m?null:l._v.q2a(m),y=null==g?i():g,b=new _q(l._v,w,o,y,t);h.c1f(b),d=b}else d=p;var x=null==d||null!=d?d:Si();Og(h);var j=x,q=j.y2a(t),z=null==q?i():q;Pg(h,-1519352789,"CC(remember):RememberSaveable.kt#9igjgp");var S,C=!!(!!(!!(!!(!!(h.p1d(j)|((112&s^48)>32&&h.p1d(l._v)||32==(48&s)))|h.p1d(w))|h.c14(o))|h.p1d(z))|h.p1d(t)),A=h.b1f();if(C||A===wg().m17_1){var $=()=>(j.z2a(l._v,w,o,z,t),k);h.c1f($),S=$}else S=A;var E=null==S||null!=S?S:Si();return Og(h),function(t,r,n){my();var i=r;bg()&&kg(-1288466761,0,-1,"androidx.compose.runtime.SideEffect (Effects.kt:47)"),i.a1e(t),bg()&&xg()}(E,h),bg()&&xg(),Og(h),z}([],null,null,w,l,0,6),p=VS().g2d_1,m=VS().g2d_1,g=JS().m2d_1,y=YS().r2d_1,b=s._v,x=Yx(1983530582,!0,((t,r,n)=>{var i=r;if(16==(17&n)&&i.c1a())i.d17();else{bg()&&kg(1983530582,n,-1,"com.example.redwood.counter.presenter.Counter. (counter.kt:41)"),i.s1c(-575595475);var e,s=i.c14(d),a=i.b1f();if(s||a===wg().m17_1){var l=()=>{var t=CC(d);return AC(d,t-1|0),k};i.c1f(l),e=l}else e=a;var u=null==e||null!=e?e:Si();i.u1c(),fC("-1",!1,u,null,i,6,10),dC("Count: "+CC(d),null,i,0,2),i.s1c(-575593363);var h,_=i.c14(d),o=i.b1f();if(_||o===wg().m17_1){var f=()=>{var t=CC(d);return AC(d,t+1|0),k};i.c1f(f),h=f}else h=o;var c=null==h||null!=h?h:Si();i.u1c(),fC("+1",!1,c,null,i,6,10),bg()&&(xg(),k)}return k}),l,54),j=l;Pg(j,1157296644,"CC(remember)P(1):Composables.kt#9igjgp");var q,z=j.c14(x),S=j.b1f();if(z||S===wg().m17_1){var C=(u=x,(t,r,n)=>u.p26(t,r,n));j.c1f(C),q=C}else q=S;var A=null==q||null!=q?q:Si();Og(j),gC(p,m,null,null,g,y,null,b,A,l,100663296|29360128&h<<21,76),bg()&&xg()}var $=l.k1e();null==$||$.p1k(((t,r)=>(SC(s._v,a._v,t,zy(1|i),e),k)))}function CC(t){return ce("count",Lr,!0,(()=>Ci())),t.y1r()}function AC(t,r){return ce("count",Lr,!0,(()=>Ci())),t.x1r(r),k}ne(mC,"ColumnScopeImpl"),Cz=new mC;class $C{constructor(){var t;Az=this,this.j2f_1=(t=Kx(-1394061521,!1,NC),(r,n)=>t.n1c(r,n))}}class EC{constructor(t){this.k2f_1=t}s2e(){var t=this.k2f_1.createElement("span"),r=t instanceof HTMLSpanElement?t:Si();return new IC(r)}o2e(){var t=this.k2f_1.createElement("button"),r=t instanceof HTMLButtonElement?t:Si();return new MC(r)}}class IC{constructor(t){this.l2f_1=t,this.m2f_1=lz}y1(){return this.l2f_1}d2d(t){this.m2f_1=t}b2f(){return this.m2f_1}p2e(t){this.l2f_1.textContent=t}}class MC{constructor(t){this.n2f_1=t,this.o2f_1=lz}y1(){return this.n2f_1}d2d(t){this.o2f_1=t}b2f(){return this.o2f_1}p2e(t){this.n2f_1.textContent=t}q2e(t){this.n2f_1.disabled=!t}r2e(t){var r;r=null!=t?r=>(t(),k):null,this.n2f_1.onclick=r}}function NC(t,r){var n=t;return 2==(3&r)&&n.c1a()?n.d17():(bg()&&kg(-1394061521,r,-1,"com.example.redwood.counter.browser.ComposableSingletons$MainKt.lambda-1. (main.kt:42)"),SC(null,0,n,0,3),bg()&&xg()),k}return ne($C,"ComposableSingletons$MainKt"),re(EC,"HtmlWidgetFactory"),re(IC,"HtmlText"),re(MC,"HtmlButton"),Ez=document.getElementById("content"),Iz=Ez instanceof HTMLElement?Ez:Si(),function(t,r,n,i){i=i===b?kS:i,r.os().e10(0,r.os().c2a().p());var e,s,a,l,u,h=r.o2a();if(null==h)e=null;else{var _=h,o=(l=_.n2b(),u=t=>{var r;if(pe(t,ld)){var n;if(t.w1k()===jk()||t.w1k()===kk()||t.w1k()===xk()){var i=t.y1();n=null==i||_.d2b(i)}else n=!1;r=n}else r=_.d2b(t);return r},gq(),new fq(l,u));_.o2b((s=o,(a=()=>s.k2b()).callableName="performSave",a)),v_(t.gm()).in((t=>(_.p2b(),k))),e=o}var f=e;return function(t,r,n,i,e,s,a){return new hS(t,n,i,e,new fS(s,r,a=a===b?xS:a))}(t,r.os(),r.m2a(),f,r.n2a(),n,i)}(($z=bz,new zh(Ll.gm().pg($z))),function(t){if(null==t.parentNode){var r="Element "+pi(t)+" must be attached to Document to be used as RedwoodView";throw fr.l3(pi(r))}return new iS(t)}(Iz),new _C(new EC(document),new ZS(document))).s1i((Az===b&&new $C,Az).j2f_1),{}})())); +!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.counter=r():t.counter=r()}(globalThis,(()=>(()=>{"use strict";var t,r;void 0===Math.imul&&(Math.imul=function(t,r){return(4294901760&t)*(65535&r)+(65535&t)*(0|r)|0}),void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(t){return null!=t&&null!=t.__proto__&&t.__proto__.__proto__===Int8Array.prototype.__proto__}),void 0===Array.prototype.fill&&Object.defineProperty(Array.prototype,"fill",{value:function(t){if(null==this)throw new TypeError("this is null or not defined");for(var r=Object(this),n=r.length>>>0,i=0|arguments[1],e=i<0?Math.max(n+i,0):Math.min(i,n),s=arguments[2],a=void 0===s?n:0|s,l=a<0?Math.max(n+a,0):Math.min(a,n);e>>0;return 0===i?32:31-(t(i)/r|0)|0}));var n,i,e,s,a,l,u,h,_,o,f,c,v,w,d,p,m,g,y,b,k,x,j,q,z,S,C,A,$,E,I,M,N,L,P,O,D,R,T,H,U,F,B,K,G,V,W,J,Y,Z,Q,X,tt,rt,nt,it=Math.imul,et=ArrayBuffer.isView,st=Math.clz32;class at{}class lt{}class ut{}class ht{}class _t{}class ot{}class ft{}class ct{}class vt{}class wt{}class dt{}class pt{}class mt{constructor(t,r){this.i2_1=t,this.j2_1=r}k2(t){return _i(this.j2_1,t.j2_1)}l2(t){return this.k2(t instanceof mt?t:Si())}equals(t){return this===t}hashCode(){return ci(this)}toString(){return this.i2_1}}class gt{constructor(){n=this,this.m2_1=new yt(0,-2147483648),this.n2_1=new yt(-1,2147483647),this.o2_1=8,this.p2_1=64}}class yt extends lt{constructor(t,r){n===b&&new gt,super(),this.i1_1=t,this.j1_1=r}k1(t){return Ni(this,t)}l2(t){return this.k1(t instanceof yt?t:Si())}q2(t){return Li(this,t)}r2(t){return Pi(this,t)}s2(t){return Oi(this,t)}t2(t){return function(t,r){if(Qi(),Ki(r))throw _r.e4("division by zero");if(Ki(t))return Ai();if(Ui(t,Ii())){if(Ui(r,$i())||Ui(r,Ei()))return Ii();if(Ui(r,Ii()))return $i();var n=Di(Ri(t,1).t2(r),1);return Ui(n,Ai())?Bi(r)?$i():Ei():Li(n,Pi(t,Oi(r,n)).t2(r))}if(Ui(r,Ii()))return Ai();if(Bi(t))return Bi(r)?Vi(t).t2(Vi(r)):Vi(Vi(t).t2(r));if(Bi(r))return Vi(t.t2(Vi(r)));for(var i=Ai(),e=t;Zi(e,r);){for(var s=Ti(e)/Ti(r),a=Math.max(1,Math.floor(s)),l=Math.ceil(Math.log(a)/Math.LN2),u=l<=48?1:Math.pow(2,l-48),h=Ji(a),_=Oi(h,r);Bi(_)||Yi(_,e);)_=Oi(h=Ji(a-=u),r);Ki(h)&&(h=$i()),i=Li(i,h),e=Pi(e,_)}return i}(this,t)}u2(){return this.q2(new yt(1,0))}v2(){return this.w2().q2(new yt(1,0))}x2(t){return Di(this,t)}y2(t){return Ri(this,t)}z2(t){return function(t,r){Qi();var n=63&r;return 0===n?t:n<32?new yt(t.i1_1>>>n|t.j1_1<<32-n,t.j1_1>>>n|0):new yt(32===n?t.j1_1:t.j1_1>>>(n-32|0)|0,0)}(this,t)}a3(t){return new yt(this.i1_1&t.i1_1,this.j1_1&t.j1_1)}b3(t){return new yt(this.i1_1|t.i1_1,this.j1_1|t.j1_1)}c3(t){return new yt(this.i1_1^t.i1_1,this.j1_1^t.j1_1)}w2(){return new yt(~this.i1_1,~this.j1_1)}d3(){return this.i1_1}e3(){return Ti(this)}toString(){return Hi(this,10)}equals(t){return t instanceof yt&&Ui(this,t)}hashCode(){return this,Qi(),this.i1_1^this.j1_1}valueOf(){return this.e3()}}class bt{}class kt{constructor(t){this.h3_1=t,this.g3_1=0}m(){return!(this.g3_1===this.h3_1.length)}n(){if(this.g3_1===this.h3_1.length)throw dr.w(""+this.g3_1);var t=this.g3_1;return this.g3_1=t+1|0,this.h3_1[t]}}class xt{}class jt{toString(){return"kotlin.Unit"}}class qt{static i4(t){return xi(this,t)}o(t){var r;t:if(pe(this,ht)&&this.x())r=!1;else{for(var n=this.l();n.m();)if(wi(n.n(),t)){r=!0;break t}r=!1}return r}p1(t){var r;t:if(pe(t,ht)&&t.x())r=!0;else{for(var n=t.l();n.m();){var i=n.n();if(!this.o(i)){r=!1;break t}}r=!0}return r}x(){return 0===this.p()}toString(){return On(this,", ","[","]",b,b,(t=>t===this?"(this Collection)":Wn(t)))}toArray(){return Fe(this)}}class zt extends qt{static h4(){return this.i4()}q1(t){this.j4();for(var r=this.l();r.m();)if(wi(r.n(),t))return r.k4(),!0;return!1}r(t){this.j4();for(var r=!1,n=t.l();n.m();){var i=n.n();this.h(i)&&(r=!0)}return r}s1(){this.j4();for(var t=this.l();t.m();)t.n(),t.k4()}toJSON(){return this.toArray()}j4(){}}class St{constructor(t,r){ji(this,r),this.n4_1=t,this.l4_1=0,this.m4_1=-1}m(){return this.l4_1=0}a1(t){var r;t:{for(var n=0,i=this.l();i.m();){if(wi(i.n(),t)){r=n;break t}n=n+1|0}r=-1}return r}w1(t){return new Ct(this,t)}o1(t,r){return $t.z4(this,t,r)}c5(t,r){var n=this.w1(t),i=r-t|0,e=0;if(e{return za(this,(r=t).x1())+"="+za(this,r.y1());var r}))}}class It extends Et{static j5(){var t=this.m5();return t.h5_1=null,t.i5_1=null,t}n5(){return Ut.p5(this)}q5(){return Bt.s5(this)}c2(){var t,r=this.h5_1;if(null==r){var n=this.n5();this.h5_1=n,t=n}else t=r;return t}h2(){var t,r=this.i5_1;if(null==r){var n=this.q5();this.i5_1=n,t=n}else t=r;return t}s1(){this.d2().s1()}g2(t){this.j4();for(var r=t.d2().l();r.m();){var n=r.n(),i=n.x1(),e=n.y1();this.e2(i,e)}}f2(t){this.j4();for(var r=this.d2().l();r.m();){var n=r.n();if(wi(t,n.x1())){var i=n.y1();return r.k4(),i}}return null}j4(){}}class Mt extends zt{static u5(){return this.h4()}equals(t){return t===this||!(null==t||!pe(t,dt))&&R.v5(this,t)}hashCode(){return R.w5(this)}}class Nt{constructor(){x=this;var t=Lt.q(0);t.f_1=!0,this.x5_1=t}}class Lt extends At{static y5(t){Xe();var r=this.a5();return r.e_1=t,r.f_1=!1,r}static b1(){return Xe(),this.y5([])}static q(t){Xe();var r=this.y5([]);if(!(t>=0)){var n="Negative initial capacity: "+t;throw vr.h1(pi(n))}return r}static g(t){Xe();var r=We(t);return this.y5(r)}p(){return this.e_1.length}s(t){var r=this.e_1[rs(this,t)];return null==r||null!=r?r:Si()}t1(t,r){this.j4(),rs(this,t);var n=this.e_1[t];return this.e_1[t]=r,null==n||null!=n?n:Si()}h(t){return this.j4(),this.e_1.push(t),this.p4_1=this.p4_1+1|0,!0}u1(t,r){this.j4(),this.e_1.splice(ns(this,t),0,r),this.p4_1=this.p4_1+1|0}r(t){if(this.j4(),t.x())return!1;for(var r=ts(this,t.p()),n=0,i=t.l();i.m();){var e=i.n(),s=n;n=s+1|0;var a=Ve(s);this.e_1[r+a|0]=e}return this.p4_1=this.p4_1+1|0,!0}r1(t,r){if(this.j4(),ns(this,t),t===this.p())return this.r(r);if(r.x())return!1;var n=this.e_1.splice(t);this.r(r);var i=ts(this,n.length),e=n.length,s=0;if(s1&&r.k(n),!(s<0||u<=s))break t;hl(r,o,l)}return s>=0&&u>s&&r.k(a),r.k(e),r}(t,Or.j(),r,n,i,e,s,a).toString();var t,r,n,i,e,s,a}z5(){return[].slice.call(this.e_1)}toArray(){return this.z5()}j4(){if(this.f_1)throw wr.d6()}}class Pt extends It{static k6(t){var r=this.j5();return r.j6_1=null,r.i6_1=t,r}static l6(){return this.k6(Xt.w6())}static x6(t,r){return this.k6(Xt.y6(t,r))}static z6(t){return this.x6(t,1)}static a7(t){return this.k6(Xt.b7(t))}s1(){this.i6_1.s1()}z1(t){return this.i6_1.c7(t)}a2(t){return this.i6_1.a2(t)}n5(){return Ot.e7(this.i6_1)}q5(){return Dt.g7(this.i6_1)}d2(){var t,r=this.j6_1;if(null==r){var n=Tt.i7(this.i6_1);this.j6_1=n,t=n}else t=r;return t}b2(t){return this.i6_1.b2(t)}e2(t,r){return this.i6_1.e2(t,r)}f2(t){return this.i6_1.f2(t)}p(){return this.i6_1.p()}g2(t){return this.i6_1.g2(t)}}class Ot extends Mt{static e7(t){var r=this.u5();return r.d7_1=t,r}p(){return this.d7_1.p()}x(){return 0===this.d7_1.p()}o(t){return this.d7_1.c7(t)}s1(){return this.d7_1.s1()}h(t){throw wr.d6()}r(t){throw wr.d6()}q1(t){return this.d7_1.j7(t)}l(){return this.d7_1.k7()}j4(){return this.d7_1.l7()}}class Dt extends zt{static g7(t){var r=this.h4();return r.f7_1=t,r}p(){return this.f7_1.p()}x(){return 0===this.f7_1.p()}m7(t){return this.f7_1.a2(t)}o(t){return(null==t||null!=t)&&this.m7(null==t||null!=t?t:Si())}n7(t){throw wr.d6()}h(t){return this.n7(null==t||null!=t?t:Si())}o7(t){throw wr.d6()}r(t){return this.o7(t)}l(){return this.f7_1.p7()}q7(t){return this.f7_1.r7(t)}q1(t){return(null==t||null!=t)&&this.q7(null==t||null!=t?t:Si())}j4(){return this.f7_1.l7()}}class Rt extends Mt{static t7(t){var r=this.u5();return r.s7_1=t,r}p(){return this.s7_1.p()}x(){return 0===this.s7_1.p()}v7(t){return this.s7_1.y7(t)}o(t){return!(null==t||!pe(t,ft))&&this.v7(null!=t&&pe(t,ft)?t:Si())}s1(){return this.s7_1.s1()}w7(t){throw wr.d6()}h(t){return this.w7(null!=t&&pe(t,ft)?t:Si())}r(t){throw wr.d6()}x7(t){return this.s7_1.z7(t)}q1(t){return!(null==t||!pe(t,ft))&&this.x7(null!=t&&pe(t,ft)?t:Si())}p1(t){return this.s7_1.a8(t)}j4(){return this.s7_1.l7()}}class Tt extends Rt{static i7(t){return this.t7(t)}l(){return this.s7_1.u7()}}class Ht{constructor(t){this.b8_1=t}m(){return this.b8_1.m()}n(){return this.b8_1.n().x1()}k4(){return this.b8_1.k4()}}class Ut extends Mt{static p5(t){var r=this.u5();return r.o5_1=t,r}c8(t){throw wr.d8("Add is not supported on keys")}h(t){return this.c8(null==t||null!=t?t:Si())}s1(){return this.o5_1.s1()}c7(t){return this.o5_1.z1(t)}o(t){return(null==t||null!=t)&&this.c7(null==t||null!=t?t:Si())}l(){var t=this.o5_1.d2().l();return new Ht(t)}f2(t){return this.j4(),!!this.o5_1.z1(t)&&(this.o5_1.f2(t),!0)}q1(t){return(null==t||null!=t)&&this.f2(null==t||null!=t?t:Si())}p(){return this.o5_1.p()}j4(){return this.o5_1.j4()}}class Ft{constructor(t){this.e8_1=t}m(){return this.e8_1.m()}n(){return this.e8_1.n().y1()}k4(){return this.e8_1.k4()}}class Bt extends zt{static s5(t){var r=this.h4();return r.r5_1=t,r}n7(t){throw wr.d8("Add is not supported on values")}h(t){return this.n7(null==t||null!=t?t:Si())}m7(t){return this.r5_1.a2(t)}o(t){return(null==t||null!=t)&&this.m7(null==t||null!=t?t:Si())}l(){var t=this.r5_1.d2().l();return new Ft(t)}p(){return this.r5_1.p()}j4(){return this.r5_1.j4()}}class Kt extends Mt{static f8(t){var r=this.u5();return r.y_1=t,r}static g8(){return this.f8(Xt.w6())}static h8(t,r){return this.f8(Xt.y6(t,r))}static z(t){return this.h8(t,1)}h(t){return null==this.y_1.e2(t,!0)}s1(){this.y_1.s1()}o(t){return this.y_1.c7(t)}x(){return 0===this.y_1.p()}l(){return this.y_1.k7()}q1(t){return!(null==this.y_1.f2(t))}p(){return this.y_1.p()}}class Gt{constructor(){this.t8_1=-1640531527,this.u8_1=8,this.v8_1=2,this.w8_1=-1}}class Vt{constructor(t){this.x8_1=t,this.y8_1=0,this.z8_1=-1,this.a9_1=this.x8_1.t6_1,this.b9()}b9(){for(;this.y8_1=this.x8_1.r6_1)throw dr.o4();var t=this.y8_1;this.y8_1=t+1|0,this.z8_1=t;var r=this.x8_1.m6_1[this.z8_1];return this.b9(),r}}class Jt extends Vt{n(){if(this.c9(),this.y8_1>=this.x8_1.r6_1)throw dr.o4();var t=this.y8_1;this.y8_1=t+1|0,this.z8_1=t;var r=zi(this.x8_1.n6_1)[this.z8_1];return this.b9(),r}}class Yt extends Vt{n(){if(this.c9(),this.y8_1>=this.x8_1.r6_1)throw dr.o4();var t=this.y8_1;this.y8_1=t+1|0,this.z8_1=t;var r=new Zt(this.x8_1,this.z8_1);return this.b9(),r}q9(){if(this.y8_1>=this.x8_1.r6_1)throw dr.o4();var t=this.y8_1;this.y8_1=t+1|0,this.z8_1=t;var r=this.x8_1.m6_1[this.z8_1],n=null==r?null:di(r),i=null==n?0:n,e=zi(this.x8_1.n6_1)[this.z8_1],s=null==e?null:di(e),a=i^(null==s?0:s);return this.b9(),a}r9(t){if(this.y8_1>=this.x8_1.r6_1)throw dr.o4();var r=this.y8_1;this.y8_1=r+1|0,this.z8_1=r;var n=this.x8_1.m6_1[this.z8_1];wi(n,this.x8_1)?t.t9("(this Map)"):t.s9(n),t.u9(61);var i=zi(this.x8_1.n6_1)[this.z8_1];wi(i,this.x8_1)?t.t9("(this Map)"):t.s9(i),this.b9()}}class Zt{constructor(t,r){this.m8_1=t,this.n8_1=r,this.o8_1=this.m8_1.t6_1}x1(){return ls(this),this.m8_1.m6_1[this.n8_1]}y1(){return ls(this),zi(this.m8_1.n6_1)[this.n8_1]}equals(t){return!(null==t||!pe(t,ft)||!wi(t.x1(),this.x1()))&&wi(t.y1(),this.y1())}hashCode(){var t=this.x1(),r=null==t?null:di(t),n=null==r?0:r,i=this.y1(),e=null==i?null:di(i);return n^(null==e?0:e)}toString(){return Wn(this.x1())+"="+Wn(this.y1())}}class Qt{}class Xt{static v9(t,r,n,i,e,s){var a=xi(this);return a.m6_1=t,a.n6_1=r,a.o6_1=n,a.p6_1=i,a.q6_1=e,a.r6_1=s,a.s6_1=as(0,hs(a)),a.t6_1=0,a.u6_1=0,a.v6_1=!1,a}p(){return this.u6_1}static w6(){return this.w9(8)}static w9(t){return this.v9(Je(t),null,new Int32Array(t),new Int32Array(ss(0,t)),2,0)}static b7(t){var r=this.w9(t.p());return r.g2(t),r}static y6(t,r){var n=this.w9(t);if(!(r>0)){var i="Non-positive load factor: "+r;throw vr.h1(pi(i))}return n}a2(t){return ms(this,t)>=0}b2(t){var r=ps(this,t);return r<0?null:zi(this.n6_1)[r]}c7(t){return ps(this,t)>=0}e2(t,r){var n=gs(this,t),i=fs(this);if(n<0){var e=i[(0|-n)-1|0];return i[(0|-n)-1|0]=r,e}return i[n]=r,null}g2(t){this.l7(),function(t,r){if(r.x())return!1;os(t,r.p());for(var n=r.l();n.m();)bs(t,n.n())&&!0}(this,t.d2())}f2(t){this.l7();var r=ps(this,t);if(r<0)return null;var n=zi(this.n6_1)[r];return ys(this,r),n}s1(){this.l7();var t=0,r=this.r6_1-1|0;if(t<=r)do{var n=t;t=t+1|0;var i=this.o6_1[n];i>=0&&(this.p6_1[i]=0,this.o6_1[n]=-1)}while(n!==r);Ye(this.m6_1,0,this.r6_1);var e=this.n6_1;null==e||Ye(e,0,this.r6_1),this.u6_1=0,this.r6_1=0,_s(this)}equals(t){var r,n;return t===this?r=!0:(n=!(null==t||!pe(t,ct))&&function(t,r){return t.u6_1===r.p()&&t.a8(r.d2())}(this,t),r=n),r}hashCode(){for(var t=0,r=this.u7();r.m();)t=t+r.q9()|0;return t}toString(){var t=Or.x9(2+it(this.u6_1,3)|0);t.t9("{");for(var r=0,n=this.u7();n.m();)r>0&&t.t9(", "),n.r9(t),r=r+1|0;return t.t9("}"),t.toString()}l7(){if(this.v6_1)throw wr.d6()}j7(t){this.l7();var r=ps(this,t);return!(r<0||(ys(this,r),0))}y7(t){var r=ps(this,t.x1());return!(r<0)&&wi(zi(this.n6_1)[r],t.y1())}y9(t){return this.y7(pe(t,ft)?t:Si())}z7(t){this.l7();var r=ps(this,t.x1());return!(r<0||!wi(zi(this.n6_1)[r],t.y1())||(ys(this,r),0))}r7(t){this.l7();var r=ms(this,t);return!(r<0||(ys(this,r),0))}k7(){return new Wt(this)}p7(){return new Jt(this)}u7(){return new Yt(this)}}class tr extends Pt{static fa(){return this.l6()}static ga(t){return this.z6(t)}static ha(t){return this.a7(t)}j4(){return this.i6_1.l7()}}class rr extends Kt{static ja(){return this.g8()}static ka(t,r){return this.h8(t,r)}static la(t){return this.ka(t,1)}j4(){return this.y_1.l7()}}class nr{ma(){this.na("\n")}oa(t){this.na(t),this.ma()}}class ir extends nr{constructor(t){super(),this.pa_1=t}na(t){var r=null==t?null:pi(t),n=null==r?"null":r;this.pa_1.write(n)}}class er extends nr{constructor(){super(),this.ra_1=""}na(t){var r=this.ra_1,n=null==t?null:pi(t);this.ra_1=r+(null==n?"null":n)}}class sr extends er{na(t){var r=null==t?null:pi(t),n=null==r?"null":r,i=n.lastIndexOf("\n",0);if(i>=0){var e=this.ra_1;this.ra_1=e+n.substring(0,i),this.sa();var s=i+1|0;n=n.substring(s)}this.ra_1=this.ra_1+n}sa(){console.log(this.ra_1),this.ra_1=""}}class ar{ta(){throw fr.l3(pi("This continuation is already complete"))}ua(t){throw fr.l3(pi("This continuation is already complete"))}va(t){return this.ua(t)}toString(){return"This continuation is already complete"}}class lr{constructor(){this.db_1=null}fb(){var t,r=this.db_1;if(null==r){var n=this.ta().gb(K),i=null==n?null:n.hb(this),e=null==i?this:i;this.db_1=e,t=e}else t=r;return t}eb(){var t=this.db_1;null!=t&&t!==this&&zi(this.ta().gb(K)).ib(t),this.db_1=S}}class ur extends lr{constructor(t){super(),this.xa_1=t,this.ya_1=[];var r=this.xa_1;this.za_1=null==r?null:r.ta(),this.ab_1=!1,this.bb_1=Symbol(),this.cb_1=this.bb_1}ta(){return zi(this.za_1)}ua(t){if(this.bb_1===this.cb_1&&(this.cb_1=t),this.ab_1)return k;var r=this.cb_1,n=gl(r)?null:null==r||null!=r?r:Si(),i=yl(this.cb_1);this.cb_1=this.bb_1;for(var e=this;;){for(;0!==e.ya_1.length;){var s=e,a=s.ya_1[s.ya_1.length-1|0],l=i;i=null;var u=l;this.ab_1=!0;try{var h=null==u?a.next(n):a.throw(u);if(n=h.value,i=null,h.done&&js(e).pop(),this.bb_1!==this.cb_1){var _=this.cb_1;n=gl(_)?null:null==_||null!=_?_:Si(),i=yl(this.cb_1),this.cb_1=this.bb_1}else if(n===nl())return k}catch(t){if(!(t instanceof Error))throw t;i=t,js(e).pop()}finally{this.ab_1=!1}}this.eb();var o=zi(this.xa_1);if(!(o instanceof ur)){var f;if(null!=i){var c=bl(zi(i));o.va(c),f=k}else{var v=n;o.va(v),f=k}return f}e=o}}va(t){return this.ua(t)}}class hr{static lb(t,r){var n=xi(this);return n.jb_1=t,n.kb_1=r,n}static mb(t){return this.lb(t,el())}ta(){return this.jb_1.ta()}va(t){var r=this.kb_1;if(r===el())this.kb_1=t;else{if(r!==nl())throw fr.l3("Already resumed");this.kb_1=sl(),this.jb_1.va(t)}}nb(){if(this.kb_1===el())return this.kb_1=nl(),nl();var t,r=this.kb_1;if(r===sl())t=nl();else{if(r instanceof In)throw r.ob_1;t=r}return t}}class _r extends Error{static dc(){var t=xi(this);return Es(t),qi(t),t}static e4(t){var r=xi(this);return Es(r),qi(r,t),r}static ec(t,r){var n=xi(this);return Es(n),qi(n,t,r),n}}class or extends _r{static gc(){var t=this.dc();return Ls(t),t}static r8(t){var r=this.e4(t);return Ls(r),r}static hc(t,r){var n=this.ec(t,r);return Ls(n),n}}class fr extends or{static c4(){var t=this.gc();return Ms(t),t}static l3(t){var r=this.r8(t);return Ms(r),r}static wb(t,r){var n=this.hc(t,r);return Ms(n),n}}class cr extends fr{static tb(){var t=this.c4();return zs(t),t}static ub(t){var r=this.l3(t);return zs(r),r}static vb(t,r){var n=this.wb(t,r);return zs(n),n}}class vr extends or{static fc(){var t=this.gc();return Is(t),t}static h1(t){var r=this.r8(t);return Is(r),r}}class wr extends or{static d6(){var t=this.gc();return Ns(t),t}static d8(t){var r=this.r8(t);return Ns(r),r}}class dr extends or{static o4(){var t=this.gc();return Ps(t),t}static w(t){var r=this.r8(t);return Ps(r),r}}class pr extends Error{static jc(){var t=xi(this);return Os(t),qi(t),t}static kc(t){var r=xi(this);return Os(r),qi(r,t),r}static lc(t,r){var n=xi(this);return Os(n),qi(n,t,r),n}}class mr extends or{static pc(){var t=this.gc();return Ds(t),t}static qc(t){var r=this.r8(t);return Ds(r),r}}class gr extends or{static d9(){var t=this.gc();return Rs(t),t}static l8(t){var r=this.r8(t);return Rs(r),r}}class yr extends pr{static tc(){var t=this.jc();return Ts(t),t}static uc(t){var r=this.kc(t);return Ts(r),r}static vc(t){var r=null==t?null:pi(t),n=this.lc(r,t instanceof Error?t:null);return Ts(n),n}}class br extends or{static zc(){var t=this.gc();return Hs(t),t}static ad(t){var r=this.r8(t);return Hs(r),r}}class kr extends or{static p3(){var t,r=this.gc();return bi(t=r,t.o3_1),r}}class xr extends or{static t3(){var t,r=this.gc();return bi(t=r,t.s3_1),r}}class jr extends or{static x3(){var t,r=this.gc();return bi(t=r,t.w3_1),r}}class qr extends or{static bd(){var t=this.gc();return Us(t),t}static b4(t){var r=this.r8(t);return Us(r),r}}class zr{}class Sr{constructor(t){this.dd_1=t}ed(){return this.dd_1}equals(t){return!(t instanceof Cr)&&!(t instanceof Ar)&&t instanceof Sr&&wi(this.ed(),t.ed())}hashCode(){var t=this.cd(),r=null==t?null:gi(t);return null==r?0:r}toString(){return"class "+this.cd()}}class Cr extends Sr{constructor(){E=null,super(Object),E=this,this.gd_1="Nothing"}cd(){return this.gd_1}ed(){throw wr.d8("There's no native JS class for Nothing type")}equals(t){return t===this}hashCode(){return 0}}class Ar{cd(){throw fr.l3(pi("Unknown simpleName for ErrorKClass"))}equals(t){return t===this}hashCode(){return 0}}class $r extends Sr{constructor(t,r,n){super(t),this.id_1=r,this.jd_1=n}equals(t){return t instanceof $r&&super.equals(t)&&this.id_1===t.id_1}cd(){return this.id_1}}class Er extends Sr{constructor(t){super(t);var r=t.$metadata$;this.ld_1=null==r?null:r.simpleName}cd(){return this.ld_1}}class Ir{}class Mr{}class Nr{}class Lr{}class Pr{constructor(){M=this;var t=Object;this.anyClass=new $r(t,"Any",Ws);var r=Number;this.numberClass=new $r(r,"Number",Js),this.nothingClass=Gs();var n=Boolean;this.booleanClass=new $r(n,"Boolean",Ys);var i=Number;this.byteClass=new $r(i,"Byte",Zs);var e=Number;this.shortClass=new $r(e,"Short",Qs);var s=Number;this.intClass=new $r(s,"Int",Xs);var a=Number;this.floatClass=new $r(a,"Float",ta);var l=Number;this.doubleClass=new $r(l,"Double",ra);var u=Array;this.arrayClass=new $r(u,"Array",na);var h=String;this.stringClass=new $r(h,"String",ia);var _=Error;this.throwableClass=new $r(_,"Throwable",ea);var o=Array;this.booleanArrayClass=new $r(o,"BooleanArray",sa);var f=Uint16Array;this.charArrayClass=new $r(f,"CharArray",aa);var c=Int8Array;this.byteArrayClass=new $r(c,"ByteArray",la);var v=Int16Array;this.shortArrayClass=new $r(v,"ShortArray",ua);var w=Int32Array;this.intArrayClass=new $r(w,"IntArray",ha);var d=Array;this.longArrayClass=new $r(d,"LongArray",_a);var p=Float32Array;this.floatArrayClass=new $r(p,"FloatArray",oa);var m=Float64Array;this.doubleArrayClass=new $r(m,"DoubleArray",fa)}md(){return this.anyClass}nd(){return this.numberClass}od(){return this.nothingClass}pd(){return this.booleanClass}qd(){return this.byteClass}rd(){return this.shortClass}sd(){return this.intClass}td(){return this.floatClass}ud(){return this.doubleClass}vd(){return this.arrayClass}wd(){return this.stringClass}xd(){return this.throwableClass}yd(){return this.booleanArrayClass}zd(){return this.charArrayClass}ae(){return this.byteArrayClass}be(){return this.shortArrayClass}ce(){return this.intArrayClass}de(){return this.longArrayClass}ee(){return this.floatArrayClass}fe(){return this.doubleArrayClass}functionClass(t){var r,n=Vs()[t];if(null==n){var i=new $r(Function,"Function"+t,(r=>"function"==typeof r&&r.length===t));Vs()[t]=i,r=i}else r=n;return r}}class Or{static ge(t){var r=xi(this);return r.i_1=t,r}static x9(t){return this.j()}static j(){return this.ge("")}a(){return this.i_1.length}b(t){var r=this.i_1;if(!(0<=t&&t<=(ui(r)-1|0)))throw mr.qc("index: "+t+", length: "+this.a()+"}");return ai(r,t)}c(t,r){return this.i_1.substring(t,r)}u9(t){return this.i_1=this.i_1+Vn(t),this}k(t){return this.i_1=this.i_1+Wn(t),this}s9(t){return this.i_1=this.i_1+Wn(t),this}he(t){return this.t9(t.toString())}t9(t){var r=this.i_1;return this.i_1=r+(null==t?"null":t),this}toString(){return this.i_1}}class Dr{constructor(){this.ie_1=Or.j(),this.je_1=[],this.ke_1="",this.le_1=0}me(t){return ba(t,this,"",""),this.ie_1.toString()}}class Rr extends mt{constructor(t,r,n){super(t,r),this.pe_1=n}}class Tr{constructor(){this.f4_1=2147483639}b5(t,r){if(t<0||t>=r)throw mr.qc("index: "+t+", size: "+r)}u4(t,r){if(t<0||t>r)throw mr.qc("index: "+t+", size: "+r)}g4(t,r,n){if(t<0||r>n)throw mr.qc("fromIndex: "+t+", toIndex: "+r+", size: "+n);if(t>r)throw vr.h1("fromIndex: "+t+" > toIndex: "+r)}s8(t,r){var n=t+(t>>1)|0;return(n-r|0)<0&&(n=r),(n-2147483639|0)>0&&(n=r>2147483639?2147483647:2147483639),n}e5(t){for(var r=1,n=t.l();n.m();){var i=n.n(),e=it(31,r),s=null==i?null:di(i);r=e+(null==s?0:s)|0}return r}d5(t,r){if(t.p()!==r.p())return!1;for(var n=r.l(),i=t.l();i.m();)if(!wi(i.n(),n.n()))return!1;return!0}}class Hr{constructor(t){this.qe_1=t}m(){return this.qe_1.m()}n(){return this.qe_1.n().x1()}}class Ur{}class Fr extends qt{static te(t){return this.i4(t)}equals(t){return t===this||!(null==t||!pe(t,dt))&&R.v5(this,t)}hashCode(){return R.w5(this)}}class Br extends Fr{static se(t,r){return r===b&&(r={}),r.re_1=t,this.te(r)}c7(t){return this.re_1.z1(t)}o(t){return(null==t||null!=t)&&this.c7(null==t||null!=t?t:Si())}l(){var t=this.re_1.d2().l();return new Hr(t)}p(){return this.re_1.p()}}class Kr{w5(t){for(var r=0,n=t.l();n.m();){var i=n.n(),e=r,s=null==i?null:di(i);r=e+(null==s?0:s)|0}return r}v5(t,r){return t.p()===r.p()&&t.p1(r)}}class Gr{constructor(){T=this,this.ye_1=[],this.ze_1=10}}class Vr extends At{p(){return this.xe_1}static af(){Pa();var t,r=this.a5();return t=r,Pa(),t.ve_1=0,t.xe_1=0,r.we_1=Pa().ye_1,r}x(){return 0===this.xe_1}bf(t){La(this),Ca(this,this.xe_1+1|0),this.ve_1=Ia(this,this.ve_1),this.we_1[this.ve_1]=t,this.xe_1=this.xe_1+1|0}cf(t){La(this),Ca(this,this.xe_1+1|0);var r=this.we_1,n=this.xe_1;r[Aa(this,this.ve_1+n|0)]=t,this.xe_1=this.xe_1+1|0}df(){if(this.x())throw dr.w("ArrayDeque is empty.");La(this);var t=this.ve_1,r=this.we_1[t],n=null==r||null!=r?r:Si();return this.we_1[this.ve_1]=null,this.ve_1=Ea(this,this.ve_1),this.xe_1=this.xe_1-1|0,n}ef(){return this.x()?null:this.df()}ff(){if(this.x())throw dr.w("ArrayDeque is empty.");La(this);var t=Ra(this),r=Aa(this,this.ve_1+t|0),n=this.we_1[r],i=null==n||null!=n?n:Si();return this.we_1[r]=null,this.xe_1=this.xe_1-1|0,i}h(t){return this.cf(t),!0}u1(t,r){if(D.u4(t,this.xe_1),t===this.xe_1)return this.cf(r),k;if(0===t)return this.bf(r),k;La(this),Ca(this,this.xe_1+1|0);var n=Aa(this,this.ve_1+t|0);if(t>1){var i=Ia(this,n),e=Ia(this,this.ve_1);i>=this.ve_1?(this.we_1[e]=this.we_1[this.ve_1],Ge(this.we_1,this.we_1,this.ve_1,this.ve_1+1|0,i+1|0)):(Ge(this.we_1,this.we_1,this.ve_1-1|0,this.ve_1,this.we_1.length),this.we_1[this.we_1.length-1|0]=this.we_1[0],Ge(this.we_1,this.we_1,0,1,i+1|0)),this.we_1[i]=r,this.ve_1=e}else{var s=this.xe_1,a=Aa(this,this.ve_1+s|0);n>1){var a=this.ve_1-s|0;if(e>=this.ve_1)if(a>=0)Ge(this.we_1,this.we_1,a,this.ve_1,e);else{a=a+this.we_1.length|0;var l=e-this.ve_1|0,u=this.we_1.length-a|0;u>=l?Ge(this.we_1,this.we_1,a,this.ve_1,e):(Ge(this.we_1,this.we_1,a,this.ve_1,this.ve_1+u|0),Ge(this.we_1,this.we_1,0,this.ve_1+u|0,e))}else Ge(this.we_1,this.we_1,a,this.ve_1,this.we_1.length),s>=e?Ge(this.we_1,this.we_1,this.we_1.length-s|0,0,e):(Ge(this.we_1,this.we_1,this.we_1.length-s|0,0,s),Ge(this.we_1,this.we_1,0,s,e));this.ve_1=a,Ma(this,$a(this,e-s|0),r)}else{var h=e+s|0;if(e=this.we_1.length)Ge(this.we_1,this.we_1,h-this.we_1.length|0,e,i);else{var _=(i+s|0)-this.we_1.length|0;Ge(this.we_1,this.we_1,0,i-_|0,i),Ge(this.we_1,this.we_1,h,e,i-_|0)}else Ge(this.we_1,this.we_1,s,0,i),h>=this.we_1.length?Ge(this.we_1,this.we_1,h-this.we_1.length|0,e,this.we_1.length):(Ge(this.we_1,this.we_1,0,this.we_1.length-s|0,this.we_1.length),Ge(this.we_1,this.we_1,h,e,this.we_1.length-s|0));Ma(this,e,r)}return!0}s(t){D.b5(t,this.xe_1);var r=Aa(this,this.ve_1+t|0),n=this.we_1[r];return null==n||null!=n?n:Si()}t1(t,r){D.b5(t,this.xe_1);var n=Aa(this,this.ve_1+t|0),i=this.we_1[n],e=null==i||null!=i?i:Si();return this.we_1[n]=r,e}o(t){return!(-1===this.a1(t))}a1(t){var r=this.xe_1,n=Aa(this,this.ve_1+r|0);if(this.ve_1=n){var s=this.ve_1,a=this.we_1.length;if(s>1)r>=this.ve_1?Ge(this.we_1,this.we_1,this.ve_1+1|0,this.ve_1,r):(Ge(this.we_1,this.we_1,1,0,r),this.we_1[0]=this.we_1[this.we_1.length-1|0],Ge(this.we_1,this.we_1,this.ve_1+1|0,this.ve_1,this.we_1.length-1|0)),this.we_1[this.ve_1]=null,this.ve_1=Ea(this,this.ve_1);else{var e=Ra(this),s=Aa(this,this.ve_1+e|0);r<=s?Ge(this.we_1,this.we_1,r,r+1|0,s+1|0):(Ge(this.we_1,this.we_1,r,r+1|0,this.we_1.length),this.we_1[this.we_1.length-1|0]=this.we_1[0],Ge(this.we_1,this.we_1,0,1,s+1|0)),this.we_1[s]=null}return this.xe_1=this.xe_1-1|0,i}s1(){if(!this.x()){La(this);var t=this.xe_1,r=Aa(this,this.ve_1+t|0);Na(this,this.ve_1,r)}this.ve_1=0,this.xe_1=0}gf(t){var r=t.length>=this.xe_1?t:function(t,r){return Yn(Array(r),null)}(0,this.xe_1),n=me(r)?r:Si(),i=this.xe_1,e=Aa(this,this.ve_1+i|0);this.ve_10;){var u=l,h=e+1|0,_=a+1|0,o=Math.min(u,h,_);Ge(t.we_1,t.we_1,1+(a-o|0)|0,1+(e-o|0)|0,e+1|0),e=$a(t,e-o|0),a=$a(t,a-o|0),l=l-o|0}}(this,t,r);var i=Aa(this,this.ve_1+n|0);Na(this,this.ve_1,i),this.ve_1=i}else{!function(t,r,n){for(var i=Aa(t,t.ve_1+n|0),e=Aa(t,t.ve_1+r|0),s=t.xe_1-n|0;s>0;){var a=s,l=t.we_1.length-i|0,u=t.we_1.length-e|0,h=Math.min(a,l,u);Ge(t.we_1,t.we_1,e,i,i+h|0),i=Aa(t,i+h|0),e=Aa(t,e+h|0),s=s-h|0}}(this,t,r);var e=this.xe_1,s=Aa(this,this.ve_1+e|0);Na(this,$a(this,s-n|0),s)}this.xe_1=this.xe_1-n|0}}class Wr{constructor(t,r){this.hf_1=t,this.if_1=r}p(){return this.hf_1.length}x(){return 0===this.hf_1.length}jf(t){return function(t,r){return Ln(t,r)>=0}(this.hf_1,t)}o(t){return(null==t||null!=t)&&this.jf(null==t||null!=t?t:Si())}l(){return Zn(this.hf_1)}}class Jr{constructor(){H=this,this.kf_1=new yt(-1478467534,-1720727600)}equals(t){return!(null==t||!pe(t,_t))&&t.x()}hashCode(){return 1}toString(){return"[]"}p(){return 0}x(){return!0}lf(t){return!1}o(t){return!1}s(t){throw mr.qc("Empty list doesn't contain element at index "+t+".")}mf(t){return-1}a1(t){return-1}l(){return U}o1(t,r){if(0===t&&0===r)return this;throw mr.qc("fromIndex: "+t+", toIndex: "+r)}}class Yr{m(){return!1}n(){throw dr.o4()}}class Zr{constructor(t,r){this.nf_1=t,this.of_1=r}toString(){return"IndexedValue(index="+this.nf_1+", value="+Wn(this.of_1)+")"}hashCode(){var t=this.nf_1;return it(t,31)+(null==this.of_1?0:di(this.of_1))|0}equals(t){if(this===t)return!0;if(!(t instanceof Zr))return!1;var r=t instanceof Zr?t:Si();return this.nf_1===r.nf_1&&!!wi(this.of_1,r.of_1)}}class Qr{constructor(t){this.pf_1=t}l(){return new Xr(this.pf_1())}}class Xr{constructor(t){this.qf_1=t,this.rf_1=0}m(){return this.qf_1.m()}n(){var t=this.rf_1;return this.rf_1=t+1|0,new Zr(Ve(t),this.qf_1.n())}}class tn{constructor(){F=this,this.sf_1=new yt(-888910638,1920087921)}equals(t){return!(null==t||!pe(t,ct))&&t.x()}hashCode(){return 0}toString(){return"{}"}p(){return 0}x(){return!0}tf(t){return!1}z1(t){return(null==t||null!=t)&&this.tf(null==t||null!=t?t:Si())}uf(t){return null}b2(t){return null!=t&&null==t?null:this.uf(null==t||null!=t?t:Si())}d2(){return Ya()}c2(){return Ya()}}class rn{n(){return this.zf()}}class nn{}class en extends nn{constructor(){super(),this.ag_1=0,this.bg_1=null,this.cg_1=null,this.dg_1=null}m(){for(;;){switch(this.ag_1){case 0:break;case 1:if(zi(this.cg_1).m())return this.ag_1=2,!0;this.cg_1=null;break;case 4:return!1;case 3:case 2:return!0;default:throw Ja(this)}this.ag_1=5;var t=zi(this.dg_1);this.dg_1=null;var r=k;t.va(r)}}n(){switch(this.ag_1){case 0:case 1:return function(t){if(t.m())return t.n();throw dr.o4()}(this);case 2:return this.ag_1=1,zi(this.cg_1).n();case 3:this.ag_1=0;var t=this.bg_1,r=null==t||null!=t?t:Si();return this.bg_1=null,r;default:throw Ja(this)}}eg(t,r){return this.bg_1=t,this.ag_1=3,this.dg_1=r,nl()}fg(t){!function(t){if(t instanceof In)throw t.ob_1}(t),null!=t&&null==t&&Si(),this.ag_1=4}va(t){return this.fg(t)}ta(){return Qa()}}class sn{constructor(t){this.gg_1=t}l(){return Va(this.gg_1)}}class an{constructor(){B=this,this.hg_1=new yt(1993859828,793161749)}equals(t){return!(null==t||!pe(t,dt))&&t.x()}hashCode(){return 0}toString(){return"[]"}p(){return 0}x(){return!0}lf(t){return!1}o(t){return!1}ig(t){return t.x()}p1(t){return this.ig(t)}l(){return U}}class ln{}class un{}function hn(t){return t===Qa()?this:t.og(this,Za)}class _n{}function on(t){return wi(this.x1(),t)?pe(this,_n)?this:Si():null}function fn(t,r){return r(t,this)}function cn(t){return wi(this.x1(),t)?Qa():this}class vn{}class wn{constructor(){G=this,this.qg_1=new yt(0,0)}gb(t){return null}og(t,r){return t}pg(t){return t}ng(t){return this}hashCode(){return 0}toString(){return"EmptyCoroutineContext"}}class dn{constructor(t,r){this.rg_1=t,this.sg_1=r}gb(t){for(var r=this;;){var n=r.sg_1.gb(t);if(null!=n)return n;var i=r.rg_1;if(!(i instanceof dn))return i.gb(t);r=i}}og(t,r){return r(this.rg_1.og(t,r),this.sg_1)}ng(t){if(null!=this.sg_1.gb(t))return this.rg_1;var r=this.rg_1.ng(t);return r===this.rg_1?this:r===Qa()?this.sg_1:new dn(r,this.sg_1)}equals(t){return this===t||!!(t instanceof dn&&Xa(t)===Xa(this))&&function(t,r){for(var n=r;;){if(!tl(t,n.sg_1))return!1;var i=n.rg_1;if(!(i instanceof dn))return tl(t,pe(i,_n)?i:Si());n=i}}(t,this)}hashCode(){return di(this.rg_1)+di(this.sg_1)|0}toString(){return"["+this.og("",rl)+"]"}}class pn{constructor(t,r){var n;this.jg_1=r,n=t instanceof pn?t.kg_1:t,this.kg_1=n}lg(t){return this.jg_1(t)}mg(t){return t===this||this.kg_1===t}}class mn{constructor(t){this.tg_1=t}x1(){return this.tg_1}}class gn extends mt{}class yn{constructor(){Z=this,this.c1_1=new kn(1,0)}}class bn{constructor(t,r,n){if(0===n)throw vr.h1("Step must be non-zero.");if(-2147483648===n)throw vr.h1("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");this.l1_1=t,this.m1_1=function(t,r,n){var i;if(n>0)i=t>=r?r:r-al(r,t,n)|0;else{if(!(n<0))throw vr.h1("Step is zero.");i=t<=r?r:r+al(t,r,0|-n)|0}return i}(t,r,n),this.n1_1=n}l(){return new xn(this.l1_1,this.m1_1,this.n1_1)}x(){return this.n1_1>0?this.l1_1>this.m1_1:this.l1_10?this.l1_1+".."+this.m1_1+" step "+this.n1_1:this.l1_1+" downTo "+this.m1_1+" step "+(0|-this.n1_1)}}class kn extends bn{constructor(t,r){ul(),super(t,r,1)}x(){return this.l1_1>this.m1_1}equals(t){return t instanceof kn&&(this.x()&&t.x()||this.l1_1===t.l1_1&&this.m1_1===t.m1_1)}hashCode(){return this.x()?-1:it(31,this.l1_1)+this.m1_1|0}toString(){return this.l1_1+".."+this.m1_1}}class xn extends rn{constructor(t,r,n){super(),this.xg_1=n,this.yg_1=r,this.zg_1=this.xg_1>0?t<=r:t>=r,this.ah_1=this.zg_1?t:this.yg_1}m(){return this.zg_1}zf(){var t=this.ah_1;if(t===this.yg_1){if(!this.zg_1)throw dr.o4();this.zg_1=!1}else this.ah_1=this.ah_1+this.xg_1|0;return t}}class jn{d1(t,r,n){return new bn(t,r,n)}}class qn{constructor(){this.ch_1=0,this.dh_1=1,this.eh_1=2}}class zn{constructor(t){this.fh_1=t,this.gh_1=0,this.hh_1=0,this.ih_1=0,this.jh_1=0}m(){if(0!==this.gh_1)return 1===this.gh_1;if(this.jh_1<0)return this.gh_1=2,!1;var t=-1,r=ui(this.fh_1),n=this.hh_1,i=ui(this.fh_1);if(n1&&r.k(n),!(s<0||u<=s))break t;hl(r,_,l)}return s>=0&&u>s&&r.k(a),r.k(e),r}(t,Or.j(),r,n,i,e,s,a).toString()}function Dn(t,r){var n=Lt.q(t.p()+1|0);return n.r(t),n.h(r),n}function Rn(t){if(t.x())throw dr.w("List is empty.");return t.s(Ra(t))}function Tn(t,r){for(var n=Lt.q(Ha(t,10)),i=!1,e=t.l();e.m();){var s,a=e.n();!i&&wi(a,r)?(i=!0,s=!1):s=!0,s&&n.h(a)}return n}function Hn(t){return Lt.g(t)}function Un(t,r){for(var n=t.l();n.m();){var i=n.n();r.h(i)}return r}function Fn(t,r){return r<=-2147483648?ul().c1_1:_e(t,r-1|0)}function Bn(t,r){return function(t,r){if(!t)throw vr.h1("Step must be positive, was: "+pi(r)+".")}(r>0,r),Q.d1(t.l1_1,t.m1_1,t.n1_1>0?r:0|-r)}function Kn(t,r){return t>r?r:t}function Gn(t,r){return t>5,c=new Int32Array(f+1|0),v=1<<(31&o),c[f]=c[f]|v,c);null!=_&&(n.push(_),a=Math.max(a,_.length)),a>r&&(r=a)}var o,f,c,v;return function(t,r){for(var n=0,i=new Int32Array(t);n65535)throw vr.h1("Invalid Char code: "+i);n=function(t){var r=function(t){return t<<16>>16}(le(t));return function(t){return 65535&t}(r)}(i)}else n=t.b(r);return n}function li(t){return"string"==typeof t}function ui(t){return li(t)?t.length:t.a()}function hi(t){return pi(t)}function _i(t,r){var n;switch(typeof t){case"number":n="number"==typeof r?oi(t,r):r instanceof yt?oi(t,r.e3()):fi(t,r);break;case"string":case"boolean":n=fi(t,r);break;default:n=function(t,r){return t.l2(r)}(t,r)}return n}function oi(t,r){var n;if(tr)n=1;else if(t===r){var i;if(0!==t)i=0;else{var e=1/t;i=e===1/r?0:e<0?-1:1}n=i}else n=t!=t?r!=r?0:1:-1;return n}function fi(t,r){return tr?1:0}function ci(t){if(!("kotlinHashCodeValue$"in t)){var r=vi(),n=new Object;n.value=r,n.enumerable=!1,Object.defineProperty(t,"kotlinHashCodeValue$",n)}return t.kotlinHashCodeValue$}function vi(){return 4294967296*Math.random()|0}function wi(t,r){if(null==t)return null==r;if(null==r)return!1;if("object"==typeof t&&"function"==typeof t.equals)return t.equals(r);if(t!=t)return r!=r;if("number"==typeof t&&"number"==typeof r){var n;if(t===r)n=0!==t||1/t==1/r;else n=!1;return n}return t===r}function di(t){if(null==t)return 0;var r,n=typeof t;switch(n){case"object":r="function"==typeof t.hashCode?t.hashCode():ci(t);break;case"function":r=ci(t);break;case"number":r=ei(t);break;case"boolean":r=mi(t);break;case"string":r=gi(String(t));break;case"bigint":r=function(t){for(var r=BigInt(32),n=BigInt(4294967295),i=t<0?-t:t,e=0,s=t<0?-1:1;0!=i;){var a=Number(i&n);e=it(31,e)+a|0,i>>=r}return it(e,s)}(t);break;case"symbol":r=function(t){var r,n=(r=t,Symbol.keyFor(r)!=b?(h===b&&(h=new Map),h):(_===b&&(_=new WeakMap),_)),i=n.get(t);if(i!==b)return i;var e=vi();return n.set(t,e),e}(t);break;default:r=function(){throw new Error("Unexpected typeof `"+n+"`")}()}return r}function pi(t){return null==t?"null":we(t)?"[...]":"function"!=typeof t.toString?yi(t):t.toString()}function mi(t){return t?1231:1237}function gi(t){var r=0,n=0,i=t.length-1|0;if(n<=i)do{var e=n;n=n+1|0;var s=t.charCodeAt(e);r=it(r,31)+s|0}while(e!==i);return r}function yi(t){return Object.prototype.toString.call(t)}function bi(t,r){null!=Error.captureStackTrace?Error.captureStackTrace(t,r):t.stack=(new Error).stack}function ki(t){return t.prototype}function xi(t,r){var n=Object.create(t.prototype);return ji(n,r),n}function ji(t,r){r!==b&&Object.assign(t,r)}function qi(t,r,n){var i=Ce(Object.getPrototypeOf(t));if(!(1&i)){var e;if(null==r){var s;if(null!==r){var a=null==n?null:n.toString();s=null==a?b:a}else s=b;e=s}else e=r;t.message=e}2&i||(t.cause=n),t.name=Object.getPrototypeOf(t).constructor.name}function zi(t){var r;return null==t?function(){throw kr.p3()}():r=t,r}function Si(){throw jr.x3()}function Ci(){throw fr.c4()}function Ai(){return Qi(),o}function $i(){return Qi(),f}function Ei(){return Qi(),c}function Ii(){return Qi(),w}function Mi(){return Qi(),d}function Ni(t,r){if(Qi(),Ui(t,r))return 0;var n=Bi(t),i=Bi(r);return n&&!i?-1:!n&&i?1:Bi(Pi(t,r))?-1:1}function Li(t,r){Qi();var n=t.j1_1>>>16|0,i=65535&t.j1_1,e=t.i1_1>>>16|0,s=65535&t.i1_1,a=r.j1_1>>>16|0,l=65535&r.j1_1,u=r.i1_1>>>16|0,h=0,_=0,o=0,f=0;return h=(h=h+((_=(_=_+((o=(o=o+((f=f+(s+(65535&r.i1_1)|0)|0)>>>16|0)|0)+(e+u|0)|0)>>>16|0)|0)+(i+l|0)|0)>>>16|0)|0)+(n+a|0)|0,new yt((o&=65535)<<16|(f&=65535),(h&=65535)<<16|(_&=65535))}function Pi(t,r){return Qi(),Li(t,r.v2())}function Oi(t,r){if(Qi(),Ki(t))return Ai();if(Ki(r))return Ai();if(Ui(t,Ii()))return Gi(r)?Ii():Ai();if(Ui(r,Ii()))return Gi(t)?Ii():Ai();if(Bi(t))return Bi(r)?Oi(Vi(t),Vi(r)):Vi(Oi(Vi(t),r));if(Bi(r))return Vi(Oi(t,Vi(r)));if(Wi(t,Mi())&&Wi(r,Mi()))return Ji(Ti(t)*Ti(r));var n=t.j1_1>>>16|0,i=65535&t.j1_1,e=t.i1_1>>>16|0,s=65535&t.i1_1,a=r.j1_1>>>16|0,l=65535&r.j1_1,u=r.i1_1>>>16|0,h=65535&r.i1_1,_=0,o=0,f=0,c=0;return f=f+((c=c+it(s,h)|0)>>>16|0)|0,c&=65535,o=(o=o+((f=f+it(e,h)|0)>>>16|0)|0)+((f=(f&=65535)+it(s,u)|0)>>>16|0)|0,f&=65535,_=(_=(_=_+((o=o+it(i,h)|0)>>>16|0)|0)+((o=(o&=65535)+it(e,u)|0)>>>16|0)|0)+((o=(o&=65535)+it(s,l)|0)>>>16|0)|0,o&=65535,_=_+(((it(n,h)+it(i,u)|0)+it(e,l)|0)+it(s,a)|0)|0,new yt(f<<16|c,(_&=65535)<<16|o)}function Di(t,r){Qi();var n=63&r;return 0===n?t:n<32?new yt(t.i1_1<>>(32-n|0)):new yt(0,t.i1_1<>>n|t.j1_1<<32-n,t.j1_1>>n):new yt(t.j1_1>>n-32,t.j1_1>=0?0:-1)}function Ti(t){return Qi(),4294967296*t.j1_1+function(t){return Qi(),t.i1_1>=0?t.i1_1:4294967296+t.i1_1}(t)}function Hi(t,r){if(Qi(),r<2||36=0x8000000000000000)return Qi(),v;if(t<0)return Vi(Ji(-t));var r=4294967296;return new yt(t%r|0,t/r|0)}function Yi(t,r){return Qi(),Ni(t,r)>0}function Zi(t,r){return Qi(),Ni(t,r)>=0}function Qi(){p||(p=!0,o=Fi(0),f=Fi(1),c=Fi(-1),v=new yt(-1,2147483647),w=new yt(0,-2147483648),d=Fi(16777216))}function Xi(t,r,n,i,e,s){return{kind:t,simpleName:r,associatedObjectKey:i,associatedObjects:e,suspendArity:s,$kClass$:b,defaultConstructor:n,iid:"interface"===t?(m===b&&(m=0),m=m+1|0):b}}function te(t,r,n,i,e,s,a,l,u){null!=e&&(r.prototype=Object.create(e.prototype),r.prototype.constructor=r);var h=Xi(t,n,i,l,u,a);r.$metadata$=h,null!=s&&((wi(h.iid,b)?r.prototype:r).$imask$=Jn(s))}function re(t,r,n,i,e,s,a,l){te("class",t,r,n,i,e,s,a,l)}function ne(t,r,n,i,e,s,a,l){te("object",t,r,n,i,e,s,a,l)}function ie(t,r,n,i,e,s,a,l){te("interface",t,r,n,i,e,s,a,l)}function ee(t,r,n,i){re(t,"Lambda",b,r,n,i,b,b)}function se(t,r,n,i){ne(t,"Companion",b,r,n,i,b,b)}function ae(t){var r=0,n=0,i=t.length-1|0;if(n<=i)do{var e=n;n=n+1|0,r=r+t[e].length|0}while(e!==i);var s=t[0],a=new s.constructor(r);null!=s.$type$&&(a.$type$=s.$type$),r=0;var l=0,u=t.length-1|0;if(l<=u)do{var h=l;l=l+1|0;var _=t[h],o=0,f=_.length-1|0;if(o<=f)do{var c=o;o=o+1|0;var v=r;r=v+1|0,a[v]=_[c]}while(c!==f)}while(h!==u);return a}function le(t){return t instanceof yt?t.d3():function(t){return t>2147483647?2147483647:t<-2147483648?-2147483648:0|t}(t)}function ue(t){return t instanceof yt?t:Ji(t)}function he(t){return Fi(t)}function _e(t,r){return new kn(t,r)}function oe(){return ve(),Xi("class",b,b,b,b,b)}function fe(t,r,n,i,e){return ve(),i.get=i,i.set=e,i.callableName=t,s=i,a=function(t,r){return ve(),(ve(),g)[t][null==r?0:1]}(r,e),l=function(t,r){ve();var n=t.$imask$;return null==n?Jn([r]):n}(i,n),ve(),s.$metadata$=a,s.constructor=s,s.$imask$=l,s;var s,a,l}function ce(t,r,n,i){return ve(),fe(t,0,r,i,n?i:null)}function ve(){if(!y){y=!0;var t=[oe(),oe()],r=[oe(),oe()];g=[t,r,[oe(),oe()]]}}function we(t){return de(t)||et(t)}function de(t){return Array.isArray(t)}function pe(t,r){return function(t,r){var n=t.$imask$;return null!=n&&function(t,r){var n=r>>5;if(n>t.length)return!1;var i=1<<(31&r);return!!(t[n]&i)}(n,r)}(t,r.$metadata$.iid)}function me(t){return!!de(t)&&!t.$type$}function ge(t){return"string"==typeof t||pe(t,at)}function ye(t){return de(t)&&"BooleanArray"===t.$type$}function be(t){return t instanceof Int8Array}function ke(t){return t instanceof Int16Array}function xe(t){return t instanceof Uint16Array&&"CharArray"===t.$type$}function je(t){return t instanceof Int32Array}function qe(t){return t instanceof Float32Array}function ze(t){return de(t)&&"LongArray"===t.$type$}function Se(t){return t instanceof Float64Array}function Ce(t){var r=t.constructor,n=null==r?null:r.$metadata$,i=null==n?null:n.errorInfo;if(null!=i)return i;var e,s=0;if(Ae(t,"message")&&(s|=1),Ae(t,"cause")&&(s|=2),3!==s){var a=(e=t,Object.getPrototypeOf(e));a!=Error.prototype&&(s|=Ce(a))}return null!=n&&(n.errorInfo=s),s}function Ae(t,r){return t.hasOwnProperty(r)}function $e(t,r,n,i){n=n===b?0:n,i=i===b?t.length:i,D.g4(n,i,t.length),t.fill(r,n,i)}function Ee(t,r,n,i){n=n===b?0:n,i=i===b?t.length:i,D.g4(n,i,t.length),t.fill(r,n,i)}function Ie(t,r){if(!(r>=0)){var n="Invalid new array size: "+r+".";throw vr.h1(pi(n))}return function(t,r){for(var n=t.length,i=r.length,e=0,s=r;e=0)){var n="Invalid new array size: "+r+".";throw vr.h1(pi(n))}return function(t,r,n){var i=t.slice(0,r);void 0!==t.$type$&&(i.$type$=t.$type$);var e=t.length;if(r>e)for(i.length=r;e>>1&1431655765)|0))+(r>>>2&858993459)|0))+(r>>>4&252645135)|0))+(r>>>8&16711935)|0))+(r>>>16|0)|0}function De(t){return t&-t}function Re(t){return 32-st(~(t|-t))|0}function Te(t,r){return t<>>(32-r|0)}function He(t,r){return t<<32-r|t>>>r}function Ue(t,r){return t.c3(new yt(0,-2147483648)).k1(r.c3(new yt(0,-2147483648)))}function Fe(t){return function(t){if(t.x())return[];for(var r=t.p(),n=Yn(Array(r),null),i=t.l(),e=0;i.m();){var s=e;e=s+1|0,n[s]=i.n()}return n}(t)}function Be(t){return Ta([t])}function Ke(t,r){!function(t,r){if(t.p()<=1)return k;var n=We(t);!function(t,r){if(function(){if(null!=j)return j;j=!1;var t=[],r=0;if(r<600)do{var n=r;r=r+1|0,t.push(n)}while(r<600);var i=es;t.sort(i);var e=1,s=t.length;if(e=u)return!1}while(er.compare(t,n)))}else!function(t,r,n,i){var e=t.length,s=is(t,Yn(Array(e),null),0,n,i);if(s!==t){var a=0;if(a<=n)do{var l=a;a=a+1|0,t[l]=s[l]}while(l!==n)}}(t,0,Pn(t),r)}(n,r);var i=0,e=n.length;if(i=0))throw vr.h1(pi("capacity must be non-negative."));return Yn(Array(t),null)}function Ye(t,r,n){t.fill(null,r,n)}function Ze(t,r){return Me(t,r)}function Qe(t,r){t[r]=null}function Xe(){return x===b&&new Nt,x}function ts(t,r){var n=t.p();return t.e_1.length=t.p()+r|0,n}function rs(t,r){return D.b5(r,t.p()),r}function ns(t,r){return D.u4(r,t.p()),r}function is(t,r,n,i,e){if(n===i)return t;var s=(n+i|0)/2|0,a=is(t,r,n,s,e),l=is(t,r,s+1|0,i,e),u=a===r?t:r,h=n,_=s+1|0,o=n;if(o<=i)do{var f=o;if(o=o+1|0,h<=s&&_<=i){var c=a[h],v=l[_];e.compare(c,v)<=0?(u[f]=c,h=h+1|0):(u[f]=v,_=_+1|0)}else h<=s?(u[f]=a[h],h=h+1|0):(u[f]=l[_],_=_+1|0)}while(f!==i);return u}function es(t,r){return(3&t)-(3&r)|0}function ss(t,r){return 0===(n=it(Gn(r,1),3))?0:1<<31-st(n);var n}function as(t,r){return st(r)+1|0}function ls(t){if(t.m8_1.t6_1!==t.o8_1)throw gr.l8("The backing map has been modified after this entry was obtained.")}function us(t){return t.m6_1.length}function hs(t){return t.p6_1.length}function _s(t){t.t6_1=t.t6_1+1|0}function os(t,r){!function(t,r){var n=us(t)-t.r6_1|0,i=t.r6_1-t.p()|0;return n=r&&i>=(us(t)/4|0)}(t,r)?function(t,r){if(r<0)throw or.r8("too many elements");if(r>us(t)){var n=D.s8(us(t),r);t.m6_1=Ze(t.m6_1,n);var i=t,e=t.n6_1;i.n6_1=null==e?null:Ze(e,n),t.o6_1=Ie(t.o6_1,n);var s=ss(0,n);s>hs(t)&&ws(t,s)}}(t,t.r6_1+r|0):vs(t,!0)}function fs(t){var r=t.n6_1;if(null!=r)return r;var n=Je(us(t));return t.n6_1=n,n}function cs(t,r){return null==r?0:it(di(r),-1640531527)>>>t.s6_1|0}function vs(t,r){for(var n=0,i=0,e=t.n6_1;n=0&&(t.m6_1[i]=t.m6_1[n],null!=e&&(e[i]=e[n]),r&&(t.o6_1[i]=s,t.p6_1[s]=i+1|0),i=i+1|0),n=n+1|0}Ye(t.m6_1,i,t.r6_1),null==e||Ye(e,i,t.r6_1),t.r6_1=i}function ws(t,r){_s(t),t.r6_1>t.u6_1&&vs(t,!1),t.p6_1=new Int32Array(r),t.s6_1=as(0,r);for(var n=0;n0&&wi(t.m6_1[e-1|0],r))return e-1|0;if((i=i-1|0)<0)return-1;var s=n;n=s-1|0,0===s&&(n=hs(t)-1|0)}}function ms(t,r){for(var n=t.r6_1;(n=n-1|0)>=0;)if(t.o6_1[n]>=0&&wi(zi(t.n6_1)[n],r))return n;return-1}function gs(t,r){t.l7();t:for(;;)for(var n=cs(t,r),i=Kn(it(t.q6_1,2),hs(t)/2|0),e=0;;){var s=t.p6_1[n];if(s<=0){if(t.r6_1>=us(t)){os(t,1);continue t}var a=t.r6_1;t.r6_1=a+1|0;var l=a;return t.m6_1[l]=r,t.o6_1[l]=n,t.p6_1[n]=l+1|0,t.u6_1=t.u6_1+1|0,_s(t),e>t.q6_1&&(t.q6_1=e),l}if(wi(t.m6_1[s-1|0],r))return 0|-s;if((e=e+1|0)>i){ws(t,it(hs(t),2));continue t}var u=n;n=u-1|0,0===u&&(n=hs(t)-1|0)}}function ys(t,r){Qe(t.m6_1,r);var n=t.n6_1;null==n||Qe(n,r),function(t,r){for(var n=r,i=r,e=0,s=Kn(it(t.q6_1,2),hs(t)/2|0);;){var a=n;if(n=a-1|0,0===a&&(n=hs(t)-1|0),(e=e+1|0)>t.q6_1)return t.p6_1[i]=0,k;var l=t.p6_1[n];if(0===l)return t.p6_1[i]=0,k;if(l<0?(t.p6_1[i]=-1,i=n,e=0):(cs(t,t.m6_1[l-1|0])-n&hs(t)-1)>=e&&(t.p6_1[i]=l,t.o6_1[l-1|0]=i,i=n,e=0),(s=s-1|0)<0)return t.p6_1[i]=-1,k}}(t,t.o6_1[r]),t.o6_1[r]=-1,t.u6_1=t.u6_1-1|0,_s(t)}function bs(t,r){var n=gs(t,r.x1()),i=fs(t);if(n>=0)return i[n]=r.y1(),!0;var e=i[(0|-n)-1|0];return!wi(r.y1(),e)&&(i[(0|-n)-1|0]=r.y1(),!0)}function ks(){if(!z){z=!0;var t="undefined"!=typeof process&&process.versions&&!!process.versions.node;q=t?new ir(process.stdout):new sr}}function xs(){return qs(),C}function js(t){return t.ya_1}function qs(){$||($=!0,C=function*(t,r){var n=r();return n===t&&(n=yield n),n},A=xs().constructor.prototype)}function zs(t){bi(t,t.sb_1)}function Ss(t){var r=t instanceof lr?t:null,n=null==r?null:r.fb();return null==n?t:n}function Cs(t,r,n){var i=new ur(n),e=xs()(nl(),(()=>{var n=i;return"function"==typeof t?t(r,n):t.cc(r,n)}));return js(i).push(e),i}function As(t,r,n){var i=new ur(n);i.ab_1=!0;var e="function"==typeof t?t(r,i):t.cc(r,i);if(i.ab_1=!1,i.bb_1!==i.cb_1){var s=e;i.va(s)}return e}function $s(t,r){var n=r.constructor===ur?r:new ur(r),i=t(n);if(!function(t){return qs(),null!=t&&t.constructor===(qs(),A)}(i))return i;var e=i;js(n).push(e);try{var s=e.next();return s.done&&js(n).pop(),s.value}catch(t){if(t instanceof Error){var a=t;throw js(n).pop(),a}throw t}}function Es(t){bi(t,t.d4_1)}function Is(t){bi(t,t.g1_1)}function Ms(t){bi(t,t.k3_1)}function Ns(t){bi(t,t.c6_1)}function Ls(t){bi(t,t.q8_1)}function Ps(t){bi(t,t.v_1)}function Os(t){bi(t,t.ic_1)}function Ds(t){bi(t,t.oc_1)}function Rs(t){bi(t,t.k8_1)}function Ts(t){bi(t,t.sc_1)}function Hs(t){bi(t,t.yc_1)}function Us(t){bi(t,t.a4_1)}function Fs(t){return new An(t)}function Bs(t,r){return new An(r)}function Ks(t){if(Le(t))throw vr.h1("Cannot round NaN value.");return t>new yt(-1,2147483647).e3()?new yt(-1,2147483647):t1?t:ai(r,0)}function pa(t){return function(t){return 9<=t&&t<=13||28<=t&&t<=32||160===t||t>4096&&(5760===t||8192<=t&&t<=8202||8232===t||8233===t||8239===t||8287===t||12288===t)}(t)}function ma(t,r){return t.toString(function(t){if(!(2<=t&&t<=36))throw vr.h1("radix "+t+" was not in valid range 2..36");return t}(r))}function ga(t,r,n,i,e,s){return fl(t,r,n,i,e,s=s!==b&&s)}function ya(t,r){if(t!==r){var n=t._suppressed;null==n?t._suppressed=Oa([r]):n.h(r)}}function ba(t,r,n,i){if(!ka(t,r,n,i))return k;for(var e=t.cause;null!=e;){if(!ka(e,r,n,"Caused by: "))return k;e=e.cause}}function ka(t,r,n,i){r.ie_1.t9(n).t9(i);var e=t.toString();if(function(t,r){var n,i=t.je_1;t:{for(var e=0,s=i.length;e0&&l<=u||h<0&&u<=l)do{var _=l;if(l=l+h|0,ga(r,0,t,_,r.length,e))return _}while(_!==u)}else{var o=a.l1_1,f=a.m1_1,c=a.n1_1;if(c>0&&o<=f||c<0&&f<=o)do{var v=o;if(o=o+c|0,fl(r,0,t,v,ui(r),e))return v}while(v!==f)}return-1}(t,r,n,ui(t),i):t.indexOf(r,n),e}(a,e),u=l<0?0:l+e.length|0;if(0===u&&r.ie_1.t9(e).t9("\n"),0===ui(r.ke_1)?(r.ke_1=a,r.le_1=u):a=function(t,r,n){var i=0,e=0,s=0,a=0,l=t.ke_1.length-t.le_1|0,u=r.length-n|0,h=Math.min(l,u);if(a0&&32===ai(r,ol(r)-(s-1|0)|0);)s=s-1|0;return function(t,r){if(!(r>=0)){var n="Requested character count "+r+" is less than zero.";throw vr.h1(pi(n))}return function(t,r){if(!(r>=0)){var n="Requested character count "+r+" is less than zero.";throw vr.h1(pi(n))}var i=Kn(r,t.length);return t.substring(0,i)}(t,Gn(t.length-r|0,0))}(r,s)+"... and "+(i-1|0)+" more common stack frames skipped"}(r,a,u),ui(n)>0){var h;if(0===u)h=0;else{for(var _=0,o=0;o=c&&r.ie_1.t9(n),r.ie_1.t9(d).t9("\n")}}else r.ie_1.t9(a).t9("\n")}else r.ie_1.t9(e).t9("\n");var m=function(t){var r=t._suppressed,n=null==r?null:r;return null==n?Da():n}(t);if(!m.x())for(var g=n+" ",y=m.l();y.m();)ba(y.n(),r,g,"Suppressed: ");return!0}function xa(){if(O)return k;O=!0,L=new Rr("NANOSECONDS",0,1),new Rr("MICROSECONDS",1,1e3),P=new Rr("MILLISECONDS",2,1e6),new Rr("SECONDS",3,1e9),new Rr("MINUTES",4,6e10),new Rr("HOURS",5,36e11),new Rr("DAYS",6,864e11)}function ja(t,r,n){var i=_i(r.pe_1,n.pe_1);return i>0?t*(r.pe_1/n.pe_1):i<0?t/(n.pe_1/r.pe_1):t}function qa(){return xa(),P}function za(t,r){return r===t?"(this Map)":Wn(r)}function Sa(t,r){var n;t:{for(var i=t.d2().l();i.m();){var e=i.n();if(wi(e.x1(),r)){n=e;break t}}n=null}return n}function Ca(t,r){if(r<0)throw fr.l3("Deque is too big.");if(r<=t.we_1.length)return k;if(t.we_1===Pa().ye_1){var n=t,i=Gn(r,10);return n.we_1=Yn(Array(i),null),k}!function(t,r){var n=Yn(Array(r),null);Ge(t.we_1,n,0,t.ve_1,t.we_1.length),Ge(t.we_1,n,t.we_1.length-t.ve_1|0,0,t.ve_1),t.ve_1=0,t.we_1=n}(t,D.s8(t.we_1.length,r))}function Aa(t,r){return r>=t.we_1.length?r-t.we_1.length|0:r}function $a(t,r){return r<0?r+t.we_1.length|0:r}function Ea(t,r){return r===Pn(t.we_1)?0:r+1|0}function Ia(t,r){return 0===r?Pn(t.we_1):r-1|0}function Ma(t,r,n){var i=n.l(),e=r,s=t.we_1.length;if(e=0?n:n+r|0}function ul(){return Z===b&&new yn,Z}function hl(t,r,n){null!=n?t.k(n(r)):null==r||ge(r)?t.k(r):r instanceof ut?t.u9(r.bh_1):t.k(pi(r))}function _l(t,r,n){if(t===r)return!0;if(!(n=n!==b&&n))return!1;var i=da(t),e=da(r);return i===e||ai(Vn(i).toLowerCase(),0)===ai(Vn(e).toLowerCase(),0)}function ol(t){return ui(t)-1|0}function fl(t,r,n,i,e,s){if(i<0||r<0||r>(ui(t)-e|0)||i>(ui(n)-e|0))return!1;var a=0;if(at.du(r,n)).$arity=1,r));var t,r}tn(t){var r=new hh(t);r.hr_1=this;var n,i=r;t:for(;;){var e=this.bn();if(e instanceof Xu)if(e.ps_1){if(this.am_1.atomicfu$compareAndSet(e,i)){n=!0;break t}}else A_(this,e);else{if(null==e||!pe(e,Ou)){n=!1;break t}var s=e.jr();if(null==s)$_(this,e instanceof Du?e:Si());else{var a;if(s.nr(i,7))a=!0;else{var l,u=s.nr(i,3),h=this.bn();if(h instanceof ih)l=h.st();else{var _=h instanceof Tu?h:null;l=null==_?null:_.mm_1}var o=l;if(i.gq(o),!u)return Ul;a=!0}if(a){n=!0;break t}}}}if(n)return i;var f=this.bn(),c=f instanceof Tu?f:null;return i.gq(null==c?null:c.mm_1),Ul}sm(t){throw t}un(t){}vn(){return!1}wn(){return!0}xn(t){return!1}lm(t){}rm(t){}toString(){return this.yn()+"@"+ho(this)}yn(){return this.tm()+"{"+O_(0,this.bn())+"}"}tm(){return uo(this)}}class yu{}class bu extends gu{constructor(t,r,n){super(n),r&&this.cm(t.gb(Hl)),this.fm_1=t.pg(this)}ta(){return this.fm_1}gm(){return this.fm_1}hm(){return super.hm()}im(t){}jm(t,r){}km(){return uo(this)+" was cancelled"}lm(t){t instanceof Tu?this.jm(t.mm_1,t.om()):this.im(null==t||null!=t?t:Si())}va(t){var r=this.pm(n_(t));if(r===d_())return k;this.qm(r)}qm(t){return this.rm(t)}sm(t){s_(this.fm_1,t)}tm(){var t=(this.fm_1,null);return null==t?super.tm():'"'+t+'":'+super.tm()}um(t,r,n){t.xm(n,r,this)}}class ku extends bu{constructor(t,r){super(t,!0,r)}xn(t){return s_(this.fm_1,t),!0}}class xu extends ku{constructor(t,r){super(t,!1),this.mo_1=Cs(r,this,this)}en(){!function(t,r){try{to(Ss(t),k),k}catch(t){if(!(t instanceof Error))throw t;so(r,t),k}}(this.mo_1,this)}}class ju extends bu{constructor(t,r){super(t,!0,!0),this.qo_1=r}vn(){return!0}rm(t){to(Ss(this.qo_1),i_(t,this.qo_1))}qm(t){this.qo_1.va(i_(t,this.qo_1))}}class qu extends ju{constructor(t,r){super(t,r),this.eo_1=El(0)}rm(t){this.qm(t)}qm(t){if(function(t){for(var r=t.eo_1;;)switch(r.kotlinx$atomicfu$value){case 0:if(t.eo_1.atomicfu$compareAndSet(0,2))return!0;break;case 1:return!1;default:throw fr.l3(pi("Already resumed"))}}(this))return k;to(Ss(this.qo_1),i_(t,this.qo_1))}fo(){if(function(t){for(var r=t.eo_1;;)switch(r.kotlinx$atomicfu$value){case 0:if(t.eo_1.atomicfu$compareAndSet(0,1))return!0;break;case 2:return!1;default:throw fr.l3(pi("Already suspended"))}}(this))return nl();var t=R_(this.bn());if(t instanceof Tu)throw t.mm_1;return null==t||null!=t?t:Si()}}class zu{}class Su{}class Cu{}class Au extends Cu{constructor(t){super(),this.ip_1=t}dq(t,r){}kq(t){return null==t||null!=t?t:Si()}sq(t){var r=t instanceof Tu?t:null;return null==r?null:r.mm_1}uq(){var t=null;try{var r=this.zp(),n=r instanceof qh?r:Si(),i=n.dp_1;n.fp_1;var e=i.ta(),s=this.cq(),a=this.sq(s),l=null==a&&no(this.ip_1)?e.gb(Hl):null;if(null==l||l.hm())if(null!=a){var u=bl(a);i.va(u)}else{var h=this.kq(s);i.va(h)}else{var _=l.fn();this.dq(s,_);var o=bl(mo(_));i.va(o)}}catch(r){if(!(r instanceof Error))throw r;t=r}finally{var f=t;null==f||this.vq(f)}}vq(t){var r=Yu.ns("Fatal exception in coroutines machinery for "+pi(this)+". Please read KDoc to 'handleFatalException' method and report this incident to maintainers",t);s_(this.zp().ta(),r)}}class $u extends Au{constructor(t,r){super(r),this.vo_1=t,this.wo_1=this.vo_1.ta(),this.xo_1=El(536870911),this.yo_1=Al(Il),this.zo_1=Al(null)}zp(){return this.vo_1}ta(){return this.wo_1}bn(){return this.yo_1.kotlinx$atomicfu$value}cn(){var t=this.bn();return!(null!=t&&pe(t,Eu))}aq(){var t=Yh(this);if(null==t)return k;var r=t;this.cn()&&(r.bq(),this.zo_1.kotlinx$atomicfu$value=Ul)}cq(){return this.bn()}dq(t,r){for(var n=this.yo_1;;){var i=n.kotlinx$atomicfu$value;if(null!=i&&pe(i,Eu))throw fr.l3(pi("Not completed"));if(i instanceof Tu)return k;if(i instanceof Lu){if(i.vp())throw fr.l3(pi("Must be called at most once"));var e=i.wp(b,b,b,b,r);if(this.yo_1.atomicfu$compareAndSet(i,e))return i.eq(this,r),k}else if(this.yo_1.atomicfu$compareAndSet(i,new Lu(i,b,b,b,r)))return k}return k}ro(t){for(var r=this.yo_1;;){var n,i=r.kotlinx$atomicfu$value;if(null==i||!pe(i,Eu))return!1;n=!!pe(i,Iu)||i instanceof xh;var e=new Hu(this,t,n);if(this.yo_1.atomicfu$compareAndSet(i,e))return pe(i,Iu)?this.up(i,t):i instanceof xh&&Jh(this,i,t),r_(this),Qh(this,this.ip_1),!0}}fq(t){if(function(t,r){if(!Wh(t))return!1;var n=t.vo_1;return(n instanceof qh?n:Si()).jp(r)}(this,t))return k;this.ro(t),r_(this)}up(t,r){var n;try{t.gq(r),n=k}catch(t){if(!(t instanceof Error))throw t;var i=t;s_(this.ta(),Ju.op("Exception in invokeOnCancellation handler for "+this.toString(),i)),n=k}return n}hq(t,r,n){try{t(r,n,this.ta())}catch(t){if(!(t instanceof Error))throw t;var i=t;s_(this.ta(),Ju.op("Exception in resume onCancellation handler for "+this.toString(),i))}}iq(t){return t.fn()}fo(){var t=Wh(this);if(function(t){for(var r=t.xo_1;;){var n=r.kotlinx$atomicfu$value;switch(n>>29){case 0:var i=(1<<29)+(536870911&n)|0;if(t.xo_1.atomicfu$compareAndSet(n,i))return!0;break;case 2:return!1;default:throw fr.l3(pi("Already suspended"))}}}(this))return null==Vh(this)&&Yh(this),t&&this.jq(),nl();t&&this.jq();var r=this.bn();if(r instanceof Tu)throw mo(r.mm_1);if(no(this.ip_1)){var n=this.ta().gb(Hl);if(null!=n&&!n.hm()){var i=n.fn();throw this.dq(r,i),mo(i)}}return this.kq(r)}jq(){var t=this.vo_1,r=t instanceof qh?t:null,n=null==r?null:r.lq(this);if(null==n)return k;var i=n;this.yp(),this.ro(i)}va(t){return this.mq(null==(n=yl(r=t))?null==r||null!=r?r:Si():new Tu(mo(n)),this.ip_1);var r,n}to(t){return function(t,r){if(!(t instanceof $u))throw wr.d8("third-party implementation of CancellableContinuation is not supported");return t.ap(r),k}(this,new Mu(t))}ap(t){return function(t,r){for(var n=t.yo_1;;){var i=n.kotlinx$atomicfu$value;if(i instanceof Nu){if(t.yo_1.atomicfu$compareAndSet(i,r))return k}else if(null!=i&&pe(i,Iu)||i instanceof xh)Zh(0,r,i);else{if(i instanceof Tu){if(i.xp()||Zh(0,r,i),i instanceof Hu){var e=i instanceof Tu?i:null,s=null==e?null:e.mm_1;pe(r,Iu)?t.up(r,s):Jh(t,r instanceof xh?r:Si(),s)}return k}if(i instanceof Lu){if(null!=i.qp_1&&Zh(0,r,i),r instanceof xh)return k;if(pe(r,Iu)||Si(),i.vp())return t.up(r,i.tp_1),k;var a=i.wp(b,r);if(t.yo_1.atomicfu$compareAndSet(i,a))return k}else{if(r instanceof xh)return k;pe(r,Iu)||Si();var l=new Lu(i,r);if(t.yo_1.atomicfu$compareAndSet(i,l))return k}}}}(this,t)}nq(t,r,n){for(var i=this.yo_1;;){var e=i.kotlinx$atomicfu$value;t:{if(null!=e&&pe(e,Eu)){var s=Xh(0,e,t,r,n,null);if(!this.yo_1.atomicfu$compareAndSet(e,s))break t;return r_(this),Qh(this,r),k}if(e instanceof Hu&&e.rq())return null==n||this.hq(n,e.mm_1,t),k;t_(0,t)}}}mq(t,r,n,i){var e;return n=n===b?null:n,i===b?(this.nq(t,r,n),e=k):e=i.nq.call(this,t,r,n),e}yp(){var t=Vh(this);if(null==t)return k;t.bq(),this.zo_1.kotlinx$atomicfu$value=Ul}kq(t){var r;if(t instanceof Lu){var n=t.pp_1;r=null==n||null!=n?n:Si()}else r=null==t||null!=t?t:Si();return r}sq(t){var r=super.sq(t);return null==r?null:mo(r,this.vo_1)}toString(){return this.tq()+"("+fo(this.vo_1)+"){"+((null!=(t=this.bn())&&pe(t,Eu)?"Active":t instanceof Hu?"Cancelled":"Completed")+"}@")+ho(this);var t}tq(){return"CancellableContinuation"}}class Eu{}class Iu{}class Mu{constructor(t){this.wq_1=t}gq(t){this.wq_1(t)}toString(){return"CancelHandler.UserSupplied["+uo(this.wq_1)+"@"+ho(this)+"]"}}class Nu{toString(){return"Active"}}class Lu{constructor(t,r,n,i,e){r=r===b?null:r,n=n===b?null:n,i=i===b?null:i,e=e===b?null:e,this.pp_1=t,this.qp_1=r,this.rp_1=n,this.sp_1=i,this.tp_1=e}vp(){return!(null==this.tp_1)}eq(t,r){var n=this.qp_1;null==n||t.up(n,r);var i=this.rp_1;null==i||t.hq(i,r,this.pp_1)}xq(t,r,n,i,e){return new Lu(t,r,n,i,e)}wp(t,r,n,i,e,s){return t=t===b?this.pp_1:t,r=r===b?this.qp_1:r,n=n===b?this.rp_1:n,i=i===b?this.sp_1:i,e=e===b?this.tp_1:e,s===b?this.xq(t,r,n,i,e):s.xq.call(this,t,r,n,i,e)}toString(){return"CompletedContinuation(result="+Wn(this.pp_1)+", cancelHandler="+Wn(this.qp_1)+", onCancellation="+Wn(this.rp_1)+", idempotentResume="+Wn(this.sp_1)+", cancelCause="+Wn(this.tp_1)+")"}hashCode(){var t=null==this.pp_1?0:di(this.pp_1);return t=du(t,31)+(null==this.qp_1?0:di(this.qp_1))|0,t=du(t,31)+(null==this.rp_1?0:di(this.rp_1))|0,t=du(t,31)+(null==this.sp_1?0:di(this.sp_1))|0,du(t,31)+(null==this.tp_1?0:di(this.tp_1))|0}equals(t){if(this===t)return!0;if(!(t instanceof Lu))return!1;var r=t instanceof Lu?t:Si();return!!(wi(this.pp_1,r.pp_1)&&wi(this.qp_1,r.qp_1)&&wi(this.rp_1,r.rp_1)&&wi(this.sp_1,r.sp_1)&&wi(this.tp_1,r.tp_1))}}class Pu{constructor(){this.kr_1=this,this.lr_1=this,this.mr_1=!1}nr(t,r){var n,i=this.lr_1;return i instanceof Fh?n=!(i.wz_1&r)&&i.nr(t,r):(t.kr_1=this,t.lr_1=i,i.kr_1=t,this.lr_1=t,n=!0),n}us(t){this.nr(new Fh(t),t)}or(){if(this.mr_1)return!1;var t=this.lr_1,r=this.kr_1;return t.kr_1=r,r.lr_1=t,this.mr_1=!0,!0}pr(t){return this.kr_1===this&&(this.nr(t,-2147483648),!0)}}class Ou{}class Du extends Pu{ir(){var t=this.hr_1;if(null!=t)return t;!function(t){throw qr.b4("lateinit property job has not been initialized")}()}hm(){return!0}jr(){return null}bq(){return this.ir().ln(this)}toString(){return uo(this)+"@"+ho(this)+"[job@"+ho(this.ir())+"]"}}class Ru extends Du{constructor(t){super(),this.cr_1=t}dr(){return!0}gq(t){this.cr_1.fq(this.cr_1.iq(this.ir()))}}class Tu{constructor(t,r){r=r!==b&&r,this.mm_1=t,this.nm_1=$l(r)}om(){return this.nm_1.kotlinx$atomicfu$value}xp(){return this.nm_1.atomicfu$compareAndSet(!1,!0)}toString(){return uo(this)+"["+this.mm_1.toString()+"]"}}class Hu extends Tu{constructor(t,r,n){super(null==r?cr.ub("Continuation "+pi(t)+" was cancelled normally"):r,n),this.qq_1=$l(!1)}rq(){return this.qq_1.atomicfu$compareAndSet(!1,!0)}}class Uu extends pn{constructor(){Ml=null,super(K,e_),Ml=this}}class Fu extends mn{constructor(){Ml===b&&new Uu,super(K)}rr(t){return!0}hb(t){return new qh(this,t)}ib(t){(t instanceof qh?t:Si()).tr()}toString(){return uo(this)+"@"+ho(this)}}class Bu{}class Ku{gm(){return Qa()}}class Gu extends mt{xm(t,r,n){var i;switch(this.j2_1){case 0:eo(t,r,n),i=k;break;case 2:!function(t,r,n){var i=Ss(Cs(t,r,n)),e=k;i.va(e)}(t,r,n),i=k;break;case 3:!function(t,r,n){var i,e=n;try{e.ta(),i=As(t,r,e)}catch(t){if(t instanceof Error){var s=bl(t);return e.va(s),k}throw t}var a=i;if(a!==nl()){var l=null==a||null!=a?a:Si();e.va(l)}}(t,r,n),i=k;break;case 1:i=k;break;default:!function(){throw xr.t3()}()}return i}zn(){return this===(l_(),Ol)}}class Vu extends Fu{constructor(){super(),this.wr_1=new yt(0,0),this.xr_1=!1,this.yr_1=null}zr(){var t=this.yr_1;if(null==t)return!1;var r=t.ef();return null!=r&&(r.uq(),!0)}as(t){var r,n=this.yr_1;if(null==n){var i=Vr.af();this.yr_1=i,r=i}else r=n;r.cf(t)}bs(){return this.wr_1.k1(u_(0,!0))>=0}cs(){var t=this.yr_1,r=null==t?null:t.x();return null==r||r}ds(t){this.wr_1=this.wr_1.q2(u_(0,t)),t||(this.xr_1=!0)}es(t){if(this.wr_1=this.wr_1.r2(u_(0,t)),this.wr_1.k1(new yt(0,0))>0)return k;this.xr_1&&this.fs()}fs(){}}class Wu{constructor(){Tl=this,this.gs_1=(new Sh("ThreadLocalEventLoop"),new Bh)}hs(){var t,r=this.gs_1.js();if(null==r){var n=new Mh;h_().gs_1.ks(n),t=n}else t=r;return t}}class Ju extends or{static op(t,r){var n=this.hc(t,r);return bi(n,n.np_1),n}}class Yu extends pr{static ns(t,r){var n=this.lc(t,r);return bi(n,n.ms_1),n}}class Zu{}class Qu{an(){return null}bq(){}qn(t){return!1}toString(){return"NonDisposableHandle"}}class Xu{constructor(t){this.ps_1=t}hm(){return this.ps_1}jr(){return null}toString(){return"Empty{"+(this.ps_1?"Active":"New")+"}"}}class th extends Pu{}class rh extends th{hm(){return!0}jr(){return this}ts(t){var r=Or.j();r.t9("List{"),r.t9(t),r.t9("}[");for(var n=!0,i=this.kr_1;!wi(i,this);){var e=i;e instanceof Du&&(n?n=!1:r.t9(", "),r.s9(e)),i=i.kr_1}return r.t9("]"),r.toString()}toString(){return lo()?this.ts("Active"):super.toString()}}class nh{}class ih extends nh{constructor(t,r,n){super(),this.vs_1=t,this.ws_1=$l(r),this.xs_1=Al(n),this.ys_1=Al(null)}jr(){return this.vs_1}tt(t){this.ws_1.kotlinx$atomicfu$value=t}pt(){return this.ws_1.kotlinx$atomicfu$value}ut(t){this.xs_1.kotlinx$atomicfu$value=t}st(){return this.xs_1.kotlinx$atomicfu$value}qt(){return k_(this)===g_()}ft(){return!(null==this.st())}hm(){return null==this.st()}gt(t){var r,n=k_(this);if(null==n)r=x_();else if(n instanceof Error){var i=x_();i.h(n),r=i}else{if(!(n instanceof Lt)){var e="State is "+Wn(n);throw fr.l3(pi(e))}r=n instanceof Lt?n:Si()}var s=r,a=this.st();return null==a||s.u1(0,a),null==t||wi(t,a)||s.h(t),b_(this,g_()),s}rt(t){var r=this.st();if(null==r)return this.ut(t),k;if(t===r)return k;var n=k_(this);if(null==n)b_(this,t);else if(n instanceof Error){if(t===n)return k;var i=x_();i.h(n),i.h(t),b_(this,i)}else{if(!(n instanceof Lt)){var e="State is "+Wn(n);throw fr.l3(pi(e))}(n instanceof Lt?n:Si()).h(t)}}toString(){return"Finishing[cancelling="+this.ft()+", completing="+this.pt()+", rootCause="+Wn(this.st())+", exceptions="+Wn(k_(this))+", list="+this.vs_1.toString()+"]"}}class eh extends Du{constructor(t,r,n,i){super(),this.zt_1=t,this.au_1=r,this.bu_1=n,this.cu_1=i}dr(){return!1}gq(t){!function(t,r,n,i){var e=P_(n);if(null!=e&&L_(t,r,e,i))return k;r.vs_1.us(2);var s=P_(n);if(null!=s&&L_(t,r,s,i))return k;var a=q_(t,r,i);t.rm(a)}(this.zt_1,this.au_1,this.bu_1,this.cu_1)}}class sh{constructor(t){this.zs_1=t}du(t,r){return $s(j_.bind(b,this,t),r)}cc(t,r){return this.du(t instanceof nn?t:Si(),r)}}class ah{constructor(t){this.ot_1=t}jr(){return this.ot_1}hm(){return!1}toString(){return lo()?this.ot_1.ts("New"):yi(this)}}class lh extends Du{constructor(t){super(),this.iu_1=t}dr(){return!1}gq(t){return this.iu_1(t)}}class uh extends Du{constructor(t){super(),this.nu_1=t,this.ou_1=$l(!1)}dr(){return!0}gq(t){this.ou_1.atomicfu$compareAndSet(!1,!0)&&this.nu_1(t)}}class hh extends Du{constructor(t){super(),this.et_1=t}an(){return this.ir()}dr(){return!0}gq(t){return this.et_1.pn(this.ir())}qn(t){return this.ir().qn(t)}}class _h{constructor(t){this.pu_1=t}}class oh extends gu{constructor(t){super(!0),this.cm(t),this.su_1=function(t){var r=t.zm(),n=r instanceof hh?r:null,i=null==n?null:n.ir();if(null==i)return!1;for(var e=i;;){if(e.wn())return!0;var s=e.zm(),a=s instanceof hh?s:null,l=null==a?null:a.ir();if(null==l)return!1;e=l}}(this)}mn(){return!0}wn(){return this.su_1}}class fh extends Fu{toString(){var t=this.vu();return null==t?uo(this)+"@"+ho(this):t}vu(){var t,r=co().av();if(this===r)return"Dispatchers.Main";try{t=r.uu()}catch(r){if(!(r instanceof wr))throw r;t=null}return this===t?"Dispatchers.Main.immediate":null}}class ch extends cr{}class vh extends Fu{constructor(){Zl=null,super(),Zl=this}rr(t){return!1}sr(t,r){var n=t.gb(Ql);if(null!=n)return n.dv_1=!0,k;throw wr.d8("Dispatchers.Unconfined.dispatch function can only be used by the yield function. If you wrap Unconfined dispatcher in your code, make sure you properly delegate isDispatchNeeded and dispatch calls.")}toString(){return"Dispatchers.Unconfined"}}class wh{}class dh{}class ph extends nh{constructor(){super(),this.rv_1=null,this.sv_1=0,this.tv_1=0,this.uv_1=null}fw(){var t,r,n=this.rv_1;if(null==n){var i=this.qw(2);this.rv_1=i,r=i}else{var e;if(this.sv_1>=n.length){var s=Me(n,du(2,n.length));this.rv_1=s,e=s}else e=n;r=e}var a,l=r,u=this.tv_1;t:for(;;){var h,_=l[u];if(null==_){var o=this.pw();l[u]=o,h=o}else h=_;if(a=h,(u=u+1|0)>=l.length&&(u=0),(a instanceof gh?a:Si()).sw(this))break t}this.tv_1=u,this.sv_1=this.sv_1+1|0;var f=a;return null==(t=this.uv_1)||t.kx(1),f}lw(t){var r;this.sv_1=this.sv_1-1|0,r=this.uv_1,0===this.sv_1&&(this.tv_1=0);for(var n=(t instanceof gh?t:Si()).uw(this),i=0,e=n.length;i"}}class Ch extends Fu{constructor(){super(),this.gy_1=new Eh(this)}sr(t,r){this.gy_1.wy(r)}}class Ah extends Ch{constructor(){ou=null,super(),ou=this}zx(){process.nextTick(this.gy_1.ey_1)}}class $h{constructor(){this.hy_1=Vr.af(),this.iy_1=16,this.jy_1=!1}oy(t){return this.hy_1.h(t)}h(t){return this.oy(null!=t&&pe(t,Su)?t:Si())}py(t,r){this.hy_1.u1(t,r)}u1(t,r){return this.py(t,null!=r&&pe(r,Su)?r:Si())}qy(t,r){return this.hy_1.r1(t,r)}r1(t,r){return this.qy(t,r)}ry(t){return this.hy_1.r(t)}r(t){return this.ry(t)}s1(){this.hy_1.s1()}sy(t){return this.hy_1.q1(t)}q1(t){return!(null==t||!pe(t,Su))&&this.sy(null!=t&&pe(t,Su)?t:Si())}v1(t){return this.hy_1.v1(t)}ty(t,r){return this.hy_1.t1(t,r)}t1(t,r){return this.ty(t,null!=r&&pe(r,Su)?r:Si())}o1(t,r){return this.hy_1.o1(t,r)}uy(t){return this.hy_1.o(t)}o(t){return!(null==t||!pe(t,Su))&&this.uy(null!=t&&pe(t,Su)?t:Si())}s(t){return this.hy_1.s(t)}vy(t){return this.hy_1.a1(t)}a1(t){return null!=t&&pe(t,Su)?this.vy(null!=t&&pe(t,Su)?t:Si()):-1}x(){return this.hy_1.x()}l(){return this.hy_1.l()}p(){return this.hy_1.xe_1}wy(t){this.oy(t),this.jy_1||(this.jy_1=!0,this.ly())}ky(){try{var t=this.iy_1,r=0;if(r(this.ky(),k)}ly(){this.dy_1.zx()}my(){setTimeout(this.ey_1,0)}ny(t){setTimeout(this.ey_1,t)}}class Ih extends $h{constructor(t){super(),this.az_1=t,this.bz_1="dispatchCoroutine",this.az_1.addEventListener("message",(t=>(t.source==this.az_1&&t.data==this.bz_1&&(t.stopPropagation(),this.ky()),k)),!0)}ly(){Promise.resolve(k).then((t=>(this.ky(),k)))}my(){this.az_1.postMessage(this.bz_1,"*")}}class Mh extends Vu{sr(t,r){!function(){throw wr.d8("runBlocking event loop is not supported")}()}}class Nh extends Ch{constructor(){fu=null,super(),fu=this}zx(){this.gy_1.ny(0)}}class Lh extends Fu{constructor(t){super(),this.jz_1=t,this.kz_1=new Ih(this.jz_1)}sr(t,r){return this.kz_1.wy(r)}}class Ph extends ju{qm(t){return this.qo_1.va(i_(t,this.qo_1))}}class Oh{constructor(){cu=this,this.wu_1="undefined"!=typeof navigator&&null!=navigator&&null!=navigator.userAgent&&void 0!==navigator.userAgent&&void 0!==navigator.userAgent.match&&navigator.userAgent.match("\\bjsdom\\b")?_o():"undefined"!=typeof window&&null!=window&&void 0!==window.addEventListener?function(t){var r,n=t.coroutineDispatcher;if(null==n){var i=new Lh(t);t.coroutineDispatcher=i,r=i}else r=n;return r}(window):"undefined"==typeof process||void 0===process.nextTick?(fu===b&&new Nh,fu):_o(),this.xu_1=(Zl===b&&new vh,Zl),this.yu_1=new Dh(this.wu_1,!1),this.zu_1=null}av(){var t=this.zu_1;return null==t?this.yu_1:t}}class Dh extends fh{constructor(t,r){super(),this.qz_1=t,this.rz_1=r,this.sz_1=this.rz_1?this:new Dh(this.qz_1,!0)}uu(){return this.sz_1}rr(t){return!this.rz_1}sr(t,r){return this.qz_1.sr(t,r)}toString(){var t=this.vu();return null==t?this.qz_1.toString():t}}class Rh extends cr{static nt(t,r,n){var i=this.vb(t,r);return bi(i,i.mt_1),i.lt_1=n,i}toString(){return super.toString()+"; job="+pi(this.lt_1)}equals(t){return t===this||!!(t instanceof Rh&&t.message==this.message&&wi(t.lt_1,this.lt_1))&&wi(t.cause,this.cause)}hashCode(){var t=du(du(gi(zi(this.message)),31)+di(this.lt_1)|0,31),r=this.cause,n=null==r?null:di(r);return t+(null==n?0:n)|0}}class Th{constructor(t,r){this.lx_1=t,this.mx_1=r,this.nx_1=this.mx_1.og(0,wo),this.ox_1=null}ev(t,r){return $s(vo.bind(b,this,t),r)}eb(){}}class Hh{constructor(t){this.vw_1=t}js(){return this.vw_1}px(t){this.vw_1=t}xw(t){var r=this.vw_1;return this.vw_1=t,r}ww(t,r){return this.vw_1===t&&(this.vw_1=r,!0)}}class Uh extends or{static tx(t){var r=this.r8(pi(t));return bi(r,r.sx_1),r}}class Fh extends Pu{constructor(t){super(),this.wz_1=t}}class Bh{constructor(){this.is_1=null}js(){var t=this.is_1;return null==t||null!=t?t:Si()}ks(t){this.is_1=t}}function Kh(t,r,n,i){r=r===b?Qa():r,n=n===b?(l_(),Pl):n;var e=function(t,r){var n=t.gm().pg(r);return n!==co().wu_1&&null==n.gb(K)?n.pg(co().wu_1):n}(t,r),s=n.zn()?new xu(e,i):new ku(e,!0);return s.um(n,s,i),s}function Gh(t,r,n){var i,e,s=n.ta(),a=(e=t,s.pg(e));if(__(a),a!==s)if(wi(a.gb(K),s.gb(K))){var l=new Ph(a,n);l.fm_1,i=ao(l,l,r)}else{var u=new qu(a,n);eo(r,u,u),i=u.fo()}else{var h=new ju(a,n);i=ao(h,h,r)}return i}function Vh(t){return t.zo_1.kotlinx$atomicfu$value}function Wh(t){var r;if(2===t.ip_1){var n=t.vo_1;r=(n instanceof qh?n:Si()).hp()}else r=!1;return r}function Jh(t,r,n){var i=536870911&t.xo_1.kotlinx$atomicfu$value;if(536870911===i)throw fr.l3(pi("The index for Segment.onCancellation(..) is broken"));try{r.kp(i,n,t.ta())}catch(r){if(!(r instanceof Error))throw r;var e=r;s_(t.ta(),Ju.op("Exception in invokeOnCancellation handler for "+t.toString(),e))}}function Yh(t){var r=t.ta().gb(Hl);if(null==r)return null;var n=o_(r,b,new Ru(t));return t.zo_1.atomicfu$compareAndSet(null,n),n}function Zh(t,r,n){var i="It's prohibited to register multiple handlers, tried to register "+pi(r)+", already has "+Wn(n);throw fr.l3(pi(i))}function Qh(t,r){if(function(t){for(var r=t.xo_1;;){var n=r.kotlinx$atomicfu$value;switch(n>>29){case 0:var i=(2<<29)+(536870911&n)|0;if(t.xo_1.atomicfu$compareAndSet(n,i))return!0;break;case 1:return!1;default:throw fr.l3(pi("Already resumed"))}}}(t))return k;!function(t,r){var n=t.zp(),i=4===r;if(!!(!i&&n instanceof qh)&&no(r)===no(t.ip_1)){var e=n.cp_1,s=n.ta();e.rr(s)?e.sr(s,t):function(t){var r=h_().hs();if(r.bs())r.as(t);else{r.ds(!0);try{for(io(t,t.zp(),!0);r.zr(););}catch(r){if(!(r instanceof Error))throw r;var n=r;t.vq(n)}finally{r.es(!0)}}}(t)}else io(t,n,i)}(t,r)}function Xh(t,r,n,i,e,s){return n instanceof Tu||!no(i)&&null==s||null==e&&!pe(r,Iu)&&null==s?n:new Lu(n,pe(r,Iu)?r:null,e,s)}function t_(t,r){var n="Already resumed, but proposed with update "+Wn(r);throw fr.l3(pi(n))}function r_(t){Wh(t)||t.yp()}function n_(t){var r=yl(t);return null==r?null==t||null!=t?t:Si():new Tu(r)}function i_(t,r){return t instanceof Tu?bl(mo(t.mm_1)):null==t||null!=t?t:Si()}function e_(t){return t instanceof Fu?t:null}function s_(t,r){try{var n=t.gb(Nl);if(null!=n)return n.ur(t,r),k}catch(n){if(n instanceof Error)return Z_(t,a_(r,n)),k;throw n}Z_(t,r)}function a_(t,r){if(t===r)return t;var n=or.hc("Exception while trying to handle coroutine exception",r);return ya(n,t),n}function l_(){if(Rl)return k;Rl=!0,Pl=new Gu("DEFAULT",0),Ol=new Gu("LAZY",1),new Gu("ATOMIC",2),Dl=new Gu("UNDISPATCHED",3)}function u_(t,r){return r?new yt(0,1):new yt(1,0)}function h_(){return Tl===b&&new Wu,Tl}function __(t){var r=t.gb(Hl);null==r||f_(r)}function o_(t,r,n){var i,e,s;if(r=r===b||r,t instanceof gu)i=t.kn(r,n);else{var a=n.dr();i=t.jn(a,r,(e=n,(s=t=>(e.gq(t),k)).callableName="invoke",s))}return i}function f_(t){if(!t.hm())throw t.fn()}function c_(t){return new oh(t=t===b?null:t)}function v_(t){var r=t.gb(Hl);if(null==r){var n="Current context doesn't contain Job in it: "+pi(t);throw fr.l3(pi(n))}return r}function w_(){return T_(),Fl}function d_(){return T_(),Bl}function p_(){return T_(),Kl}function m_(){return T_(),Gl}function g_(){return T_(),Vl}function y_(){return T_(),Jl}function b_(t,r){t.ys_1.kotlinx$atomicfu$value=r}function k_(t){return t.ys_1.kotlinx$atomicfu$value}function x_(t){return Lt.q(4)}function*j_(t,r,n){var i=t.zs_1.bn();if(i instanceof hh){var e=r.eg(i.et_1,n);e===nl()&&(e=yield e)}else if(null!=i&&pe(i,Ou)){var s=i.jr();if(null==s);else for(var a=s.kr_1;!wi(a,s);){var l=a;if(l instanceof hh){var u=r.eg(l.et_1,n);u===nl()&&(u=yield u)}a=a.kr_1}}return k}function q_(t,r,n){var i,e=n instanceof Tu?n:null,s=null==e?null:e.mm_1;i=r.ft();var a=r.gt(s),l=function(t,r,n){if(n.x())return r.ft()?Rh.nt(t.km(),null,t):null;var i;t:{for(var e=n.l();e.m();){var s=e.n();if(!(s instanceof cr)){i=s;break t}}i=null}if(null!=i)return i;var a=n.s(0);if(a instanceof ch){var l;t:{for(var u=n.l();u.m();){var h=u.n();if(h!==a&&h instanceof ch){l=h;break t}}l=null}if(null!=l)return l}return a}(t,r,a);null!=l&&function(t,r,n){if(n.p()<=1)return k;for(var i,e=(i=n.p(),Kt.z(i)),s=r,a=n.l();a.m();){var l=a.n();!(l===r||l===s||l instanceof cr)&&e.h(l)&&ya(r,l)}}(0,l,a);var u=l,h=null==u||u===s?n:new Tu(u);return null!=u&&(C_(t,u)||t.xn(u))&&(h instanceof Tu?h:Si()).xp(),i||t.un(u),t.lm(h),t.am_1.atomicfu$compareAndSet(r,D_(h)),z_(t,r,h),h}function z_(t,r,n){var i=t.zm();null==i||(i.bq(),t.ym(Ul));var e=n instanceof Tu?n:null,s=null==e?null:e.mm_1;if(r instanceof Du)try{r.gq(s)}catch(n){if(!(n instanceof Error))throw n;var a=n;t.sm(Ju.op("Exception in completion handler "+r.toString()+" for "+t.toString(),a))}else{var l=r.jr();null==l||function(t,r,n){t.us(1);for(var i=null,e=t.kr_1;!wi(e,t);){var s=e;if(s instanceof Du)try{s.gq(n)}catch(t){if(!(t instanceof Error))throw t;var a,l=t,u=i;null==u?a=null:(ya(u,l),a=u),null==a&&(i=Ju.op("Exception in completion handler "+s.toString()+" for "+r.toString(),l))}e=e.kr_1}var h=i;null==h||r.sm(h)}(l,t,s)}}function S_(t,r,n){t.un(n),r.us(4);for(var i=null,e=r.kr_1;!wi(e,r);){var s=e;if(s instanceof Du&&s.dr())try{s.gq(n)}catch(r){if(!(r instanceof Error))throw r;var a,l=r,u=i;null==u?a=null:(ya(u,l),a=u),null==a&&(i=Ju.op("Exception in completion handler "+s.toString()+" for "+t.toString(),l))}e=e.kr_1}var h=i;null==h||t.sm(h),C_(t,n)}function C_(t,r){if(t.vn())return!0;var n=r instanceof cr,i=t.zm();return null===i||i===Ul?n:i.qn(r)||n}function A_(t,r){var n=new rh,i=r.ps_1?n:new ah(n);t.am_1.atomicfu$compareAndSet(r,i)}function $_(t,r){r.pr(new rh);var n=r.kr_1;t.am_1.atomicfu$compareAndSet(r,n)}function E_(t,r){return null==r||r instanceof Error?null==r?Rh.nt(t.km(),null,t):r:(null!=r&&pe(r,mu)?r:Si()).sn()}function I_(t,r){var n,i=r.jr();if(null==i){var e;if(r instanceof Xu)e=new rh;else{if(!(r instanceof Du)){var s="State should have list: "+pi(r);throw fr.l3(pi(s))}$_(t,r),e=null}n=e}else n=i;return n}function M_(t,r,n){var i=I_(t,r);if(null==i)return!1;var e=i,s=new ih(e,!1,n);return!!t.am_1.atomicfu$compareAndSet(r,s)&&(S_(t,e,n),!0)}function N_(t,r,n){return null!=r&&pe(r,Ou)?!(r instanceof Xu||r instanceof Du)||r instanceof hh||n instanceof Tu?function(t,r,n){var i=I_(t,r);if(null==i)return p_();var e,s=i,a=r instanceof ih?r:null,l=null==a?new ih(s,!1,null):a;if(l.pt())return w_();if(l.tt(!0),l!==r&&!t.am_1.atomicfu$compareAndSet(r,l))return p_();var u=l.ft(),h=n instanceof Tu?n:null;null==h||l.rt(h.mm_1);var _=l.st();null==(e=u?null:_)||S_(t,s,e);var o=P_(s);if(null!=o&&L_(t,l,o,n))return d_();s.us(2);var f=P_(s);return null!=f&&L_(t,l,f,n)?d_():q_(t,l,n)}(t,r,n):function(t,r,n){return!!t.am_1.atomicfu$compareAndSet(r,D_(n))&&(t.un(null),t.lm(n),z_(t,r,n),!0)}(t,r,n)?n:p_():w_()}function L_(t,r,n,i){for(var e=t,s=r,a=n,l=i;;){if(o_(a.et_1,!1,new eh(e,s,a,l))!==Ul)return!0;var u=P_(a);if(null==u)return!1;a=u}}function P_(t,r){for(var n=t;n.mr_1;)n=n.lr_1;for(;;)if(!(n=n.kr_1).mr_1){if(n instanceof hh)return n;if(n instanceof rh)return null}}function O_(t,r){return r instanceof ih?r.ft()?"Cancelling":r.pt()?"Completing":"Active":null!=r&&pe(r,Ou)?r.hm()?"Active":"New":r instanceof Tu?"Cancelled":"Completed"}function D_(t){return T_(),null!=t&&pe(t,Ou)?new _h(t):t}function R_(t){T_();var r=t instanceof _h?t:null,n=null==r?null:r.pu_1;return null==n?t:n}function T_(){Yl||(Yl=!0,Fl=new Sh("COMPLETING_ALREADY"),Bl=new Sh("COMPLETING_WAITING_CHILDREN"),Kl=new Sh("COMPLETING_RETRY"),Gl=new Sh("TOO_LATE_TO_CANCEL"),Vl=new Sh("SEALED"),Wl=new Xu(!1),Jl=new Xu(!0))}function H_(){return G_(),Xl}function U_(){return G_(),tu}function F_(t){return G_(),new mh(null==t?V_():t)}function B_(t,r,n){var i,e,s=t.bw_1.kotlinx$atomicfu$value;if(null!=r&&!wi(s,r))return!1;if(wi(s,n))return!0;if(t.bw_1.kotlinx$atomicfu$value=n,1&(i=t.cw_1))return t.cw_1=i+2|0,!0;for(i=i+1|0,t.cw_1=i,e=t.rv_1;;){var a=e;if(null==a);else for(var l=0,u=a.length;l{var i=n.x1(),e=t.mx_1.gb(i);if(i!==Hl)return n!==e?-2147483648:r+1|0;var s=null==e||pe(e,pu)?e:Si(),a=function(t,r){for(var n=t,i=r;;){if(null===n)return null;if(n===i)return n;if(!(n instanceof ju))return n;var e=n.an();n=e}}(pe(n,pu)?n:Si(),s);if(a!==s){var l="Flow invariant is violated:\n\t\tEmission from another coroutine is detected.\n\t\tChild of "+Wn(a)+", expected child of "+Wn(s)+".\n\t\tFlowCollector is not thread-safe and concurrent emissions are prohibited.\n\t\tTo mitigate this restriction please use 'channelFlow' builder instead of 'flow'";throw fr.l3(pi(l))}return null==s?r:r+1|0}));if(n!==t.nx_1){var i="Flow invariant is violated:\n\t\tFlow was collected in "+pi(t.mx_1)+",\n\t\tbut emission happened in "+pi(r)+".\n\t\tPlease refer to 'flow' documentation or use 'flowOn' instead";throw fr.l3(pi(i))}}(t,i),t.ox_1=i);var e=t.lx_1.ev(r,n);return e===nl()&&(e=yield e),k}function wo(t,r){return t+1|0}function po(){wu||(wu=!0,vu=rr.ja())}function mo(t,r){return t}ie(pu,"Job",b,b,[_n],[0]),ie(mu,"ParentJob",b,b,[pu],[0]),ki(gu).pg=hn,ki(gu).gb=on,ki(gu).og=fn,ki(gu).ng=cn,re(gu,"JobSupport",b,b,[pu,mu],[0]),ie(yu,"CoroutineScope"),re(bu,"AbstractCoroutine",b,b,[gu,pu,yu],[0]),re(ku,"StandaloneCoroutine",b,b,b,[0]),re(xu,"LazyStandaloneCoroutine",b,b,b,[0]),re(ju,"ScopeCoroutine",b,b,b,[0]),re(qu,"DispatchedCoroutine",b,b,b,[0]),ie(zu,"CancellableContinuation"),ie(Su,"Runnable"),re(Cu,"SchedulerTask",b,b,[Su]),re(Au,"DispatchedTask"),ki($u).so=function(t,r){return t=t===b?null:t,r===b?this.ro(t):r.ro.call(this,t)},re($u,"CancellableContinuationImpl",b,b,[Au,zu]),ie(Eu,"NotCompleted"),ie(Iu,"CancelHandler",b,b,[Eu]),re(Mu,"UserSupplied",b,b,[Iu]),ne(Nu,"Active",b,b,[Eu]),re(Lu,"CompletedContinuation"),re(Pu,"LockFreeLinkedListNode",Pu),ie(Ou,"Incomplete"),re(Du,"JobNode",b,b,[Pu,Ou]),re(Ru,"ChildContinuation"),re(Tu,"CompletedExceptionally"),re(Hu,"CancelledContinuation"),ne(Uu,"Key"),ki(Fu).gb=function(t){if(t instanceof pn){var r;if(t.mg(this.x1())){var n=t.lg(this);r=null!=n&&pe(n,_n)?n:null}else r=null;return r}return K===t?pe(this,_n)?this:Si():null},ki(Fu).ng=function(t){return t instanceof pn?t.mg(this.x1())&&null!=t.lg(this)?Qa():this:K===t?Qa():this},re(Fu,"CoroutineDispatcher",b,b,[mn,vn]),ne(Bu,"Key"),ne(Ku,"GlobalScope",b,b,[yu]),re(Gu,"CoroutineStart"),re(Vu,"EventLoop"),ne(Wu,"ThreadLocalEventLoop"),re(Ju,"CompletionHandlerException"),re(Yu,"CoroutinesInternalError"),ne(Zu,"Key"),ne(Qu,"NonDisposableHandle"),re(Xu,"Empty",b,b,[Ou]),re(th,"LockFreeLinkedListHead",th),re(rh,"NodeList",rh,b,[th,Ou]),re(nh,"SynchronizedObject",nh),re(ih,"Finishing",b,b,[nh,Ou]),re(eh,"ChildCompletion"),ee(sh,b,b,[1]),re(ah,"InactiveNodeList",b,b,[Ou]),re(lh,"InvokeOnCompletion"),re(uh,"InvokeOnCancelling"),re(hh,"ChildHandleNode"),re(_h,"IncompleteStateBox"),re(oh,"JobImpl",b,b,[gu,pu],[0]),re(fh,"MainCoroutineDispatcher"),re(ch,"TimeoutCancellationException"),ne(vh,"Unconfined"),ne(wh,"Key"),ie(dh,"FlowCollector",b,b,b,[1]),re(ph,"AbstractSharedFlow"),re(mh,"StateFlowImpl",b,b,[ph,dh],[1]),re(gh,"AbstractSharedFlowSlot"),re(yh,"StateFlowSlot",yh,b,b,[0]),re(bh,"SubscribedFlowCollector",b,b,[dh],[1,0]),re(kh,"ConcurrentLinkedListNode"),re(xh,"Segment",b,b,[kh,Eu]),ne(jh,"ExceptionSuccessfullyProcessed"),re(qh,"DispatchedContinuation"),re(zh,"ContextScope",b,b,[yu]),re(Sh,"Symbol"),re(Ch,"SetTimeoutBasedDispatcher",b,b,b,[1]),ne(Ah,"NodeDispatcher",b,b,b,[1]),re($h,"MessageQueue",b,b,[ot]),re(Eh,"ScheduledMessageQueue"),re(Ih,"WindowMessageQueue"),re(Mh,"UnconfinedEventLoop",Mh),ne(Nh,"SetTimeoutDispatcher",b,b,b,[1]),re(Lh,"WindowDispatcher",b,b,b,[1]),re(Ph,"UndispatchedCoroutine",b,b,b,[0]),ne(Oh,"Dispatchers"),re(Dh,"JsMainDispatcher"),re(Rh,"JobCancellationException"),re(Th,"SafeCollector",b,b,[dh],[1]),re(Hh,"WorkaroundAtomicReference"),re(Uh,"DiagnosticCoroutineContextException"),re(Fh,"ListClosed"),re(Bh,"CommonThreadLocal",Bh),Il=new Nu,Nl=new Bu,Ll=new Ku,Hl=new Zu,Ul=new Qu,Ql=new wh,hu=0,_u=!1;var go,yo,bo,ko,xo,jo,qo,zo,So,Co=Math.imul,Ao=Math.clz32;class $o{constructor(){this.sh_1=lf(),this.th_1=rf(),this.uh_1=rf(),this.vh_1=0,this.wh_1=0}di(){return this.vh_1}p(){return this.wh_1}x(){return 0===this.wh_1}s(t){var r=this.gi(t);if(r<0)throw dr.w("Cannot find value for key "+t);return this.uh_1[r]}fi(t){return this.gi(t)>=0}hashCode(){var t=0,r=this.th_1,n=this.uh_1;t:{var i=this.sh_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var l=i[a],u=l;if(!u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var h=8-(~(a-e)>>>31|0)|0,_=0;if(_>>31|0)|0,_=0;if(_>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n[c],w=i[c];t.he(v),t.t9("="),t.he(w),(r=r+1|0)>>7&e,a=0;t:for(;;){for(var l=this.sh_1,u=s>>3,h=(7&s)<<3,_=l[u].z2(h).b3(l[u+1|0].x2(64-h|0).a3(he(h).v2().y2(63))),o=new yt(16843009,16843009).s2(he(i)),f=_.c3(o),c=f.r2(new yt(16843009,16843009)).a3(f.w2()).a3(new yt(-2139062144,-2139062144));!c.equals(new yt(0,0));){var v=s+(Pe(c)>>3)&e;if(this.th_1[v]===t)return v;var w=c;c=w.a3(w.r2(new yt(1,0)))}if(!_.a3(_.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;s=s+(a=a+8|0)&e}return-1}}class Eo extends $o{constructor(t){if(t=t===b?6:t,super(),this.ci_1=0,!(t>=0))throw vr.h1(pi("Capacity must be a positive value."));Zo(this,uf(t))}ei(t,r){var n=function(t,r){var n=Co(r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=t.vh_1,l=e&a,u=0;t:for(;;){for(var h=t.sh_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(t.th_1[d]===r)return d;var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;l=l+(u=u+8|0)&a}var m,g=Qo(t,e);if(0===t.ci_1){var y=g;m=!t.sh_1[y>>3].y2((7&y)<<3).a3(new yt(255,0)).equals(new yt(254,0))}else m=!1;m&&(function(t){if(t.vh_1>8){var r=he(t.wh_1),n=new yt(32,0),i=r.s2(n),e=he(t.vh_1),s=new yt(25,0);Ue(i,e.s2(s))}!function(t,r){var n=t.sh_1,i=t.th_1,e=t.uh_1,s=t.vh_1;Zo(t,r);var a=t.th_1,l=t.uh_1,u=0;if(u>3].y2((7&h)<<3).a3(new yt(255,0)).k1(new yt(128,0))<0){var _=i[h],o=Co(_,-862048943),f=o^o<<16,c=Qo(t,f>>>7|0),v=he(127&f),w=t.sh_1,d=c>>3,p=(7&c)<<3;w[d]=w[d].a3(new yt(255,0).x2(p).w2()).b3(v.x2(p));var m=t.vh_1,g=(c-7&m)+(7&m)|0,y=g>>3,b=(7&g)<<3;w[y]=w[y].a3(new yt(255,0).x2(b).w2()).b3(v.x2(b)),a[c]=_,l[c]=e[h]}}while(u>3].y2((7&j)<<3).a3(new yt(255,0)).equals(new yt(128,0))?1:0,k.ci_1=x-b|0;var q=g,z=he(s),S=t.sh_1,C=q>>3,A=(7&q)<<3;S[C]=S[C].a3(new yt(255,0).x2(A).w2()).b3(z.x2(A));var $=t.vh_1,E=(q-7&$)+(7&$)|0,I=E>>3,M=(7&E)<<3;return S[I]=S[I].a3(new yt(255,0).x2(M).w2()).b3(z.x2(M)),~g}(this,t);n<0&&(n=~n),this.th_1[n]=t,this.uh_1[n]=r}}class Io{constructor(t){var r;r=0===t?rf():new Int32Array(t),this.hi_1=r,this.ii_1=0}p(){return this.ii_1}s(t){if(!(0<=t&&t>>7&s,l=0;r:for(;;){for(var u=this.qi_1,h=a>>3,_=(7&a)<<3,o=u[h].z2(_).b3(u[h+1|0].x2(64-_|0).a3(he(_).v2().y2(63))),f=new yt(16843009,16843009).s2(he(e)),c=o.c3(f),v=c.r2(new yt(16843009,16843009)).a3(c.w2()).a3(new yt(-2139062144,-2139062144));!v.equals(new yt(0,0));){var w=a+(Pe(v)>>3)&s;if(this.ri_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new yt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;a=a+(l=l+8|0)&s}r=-1}var p,m=r;if(m>=0){var g=this.si_1[m];p=null==g||null!=g?g:Si()}else p=null;return p}ej(t){var r;t:{var n=Co(t,-862048943),i=n^n<<16,e=127&i,s=this.ti_1,a=i>>>7&s,l=0;r:for(;;){for(var u=this.qi_1,h=a>>3,_=(7&a)<<3,o=u[h].z2(_).b3(u[h+1|0].x2(64-_|0).a3(he(_).v2().y2(63))),f=new yt(16843009,16843009).s2(he(e)),c=o.c3(f),v=c.r2(new yt(16843009,16843009)).a3(c.w2()).a3(new yt(-2139062144,-2139062144));!v.equals(new yt(0,0));){var w=a+(Pe(v)>>3)&s;if(this.ri_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new yt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;a=a+(l=l+8|0)&s}r=-1}return r>=0}hashCode(){var t=0,r=this.ri_1,n=this.si_1;t:{var i=this.qi_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var l=i[a],u=l;if(!u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var h=8-(~(a-e)>>>31|0)|0,_=0;if(_>>31|0)|0,_=0;if(_>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n[c],w=i[c],d=null==w||null!=w?w:Si();t.he(v),t.t9("="),t.s9(d===this?"(this)":d),(r=r+1|0)=0))throw vr.h1(pi("Capacity must be a positive value."));Xo(this,uf(t))}bj(t,r){var n=function(t,r){var n=Co(r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=t.ti_1,l=e&a,u=0;t:for(;;){for(var h=t.qi_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(t.ri_1[d]===r)return d;var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;l=l+(u=u+8|0)&a}var m,g=tf(t,e);if(0===t.aj_1){var y=g;m=!t.qi_1[y>>3].y2((7&y)<<3).a3(new yt(255,0)).equals(new yt(254,0))}else m=!1;m&&(function(t){if(t.ti_1>8){var r=he(t.ui_1),n=new yt(32,0),i=r.s2(n),e=he(t.ti_1),s=new yt(25,0);Ue(i,e.s2(s))}!function(t,r){var n=t.qi_1,i=t.ri_1,e=t.si_1,s=t.ti_1;Xo(t,r);var a=t.ri_1,l=t.si_1,u=0;if(u>3].y2((7&h)<<3).a3(new yt(255,0)).k1(new yt(128,0))<0){var _=i[h],o=Co(_,-862048943),f=o^o<<16,c=tf(t,f>>>7|0),v=he(127&f),w=t.qi_1,d=c>>3,p=(7&c)<<3;w[d]=w[d].a3(new yt(255,0).x2(p).w2()).b3(v.x2(p));var m=t.ti_1,g=(c-7&m)+(7&m)|0,y=g>>3,b=(7&g)<<3;w[y]=w[y].a3(new yt(255,0).x2(b).w2()).b3(v.x2(b)),a[c]=_,l[c]=e[h]}}while(u>3].y2((7&j)<<3).a3(new yt(255,0)).equals(new yt(128,0))?1:0,k.aj_1=x-b|0;var q=g,z=he(s),S=t.qi_1,C=q>>3,A=(7&q)<<3;S[C]=S[C].a3(new yt(255,0).x2(A).w2()).b3(z.x2(A));var $=t.ti_1,E=(q-7&$)+(7&$)|0,I=E>>3,M=(7&E)<<3;return S[I]=S[I].a3(new yt(255,0).x2(M).w2()).b3(z.x2(M)),g}(this,t);this.ri_1[n]=t,this.si_1[n]=r}cj(t){var r;t:{var n=Co(t,-862048943),i=n^n<<16,e=127&i,s=this.ti_1,a=i>>>7&s,l=0;r:for(;;){for(var u=this.qi_1,h=a>>3,_=(7&a)<<3,o=u[h].z2(_).b3(u[h+1|0].x2(64-_|0).a3(he(_).v2().y2(63))),f=new yt(16843009,16843009).s2(he(e)),c=o.c3(f),v=c.r2(new yt(16843009,16843009)).a3(c.w2()).a3(new yt(-2139062144,-2139062144));!v.equals(new yt(0,0));){var w=a+(Pe(v)>>3)&s;if(this.ri_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new yt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;a=a+(l=l+8|0)&s}r=-1}var p=r;return p>=0?this.dj(p):null}dj(t){this.ui_1=this.ui_1-1|0;var r=new yt(254,0),n=this.qi_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new yt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.ti_1,a=(t-7&s)+(7&s)|0,l=a>>3,u=(7&a)<<3;n[l]=n[l].a3(new yt(255,0).x2(u).w2()).b3(r.x2(u));var h=this.si_1[t];return this.si_1[t]=null,null==h||null!=h?h:Si()}}class Po{constructor(){this.fj_1=lf(),this.gj_1=rf(),this.hj_1=0,this.ij_1=0}di(){return this.hj_1}fi(t){var r;t:{var n=Co(t,-862048943),i=n^n<<16,e=127&i,s=this.hj_1,a=i>>>7&s,l=0;r:for(;;){for(var u=this.fj_1,h=a>>3,_=(7&a)<<3,o=u[h].z2(_).b3(u[h+1|0].x2(64-_|0).a3(he(_).v2().y2(63))),f=new yt(16843009,16843009).s2(he(e)),c=o.c3(f),v=c.r2(new yt(16843009,16843009)).a3(c.w2()).a3(new yt(-2139062144,-2139062144));!v.equals(new yt(0,0));){var w=a+(Pe(v)>>3)&s;if(this.gj_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new yt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;a=a+(l=l+8|0)&s}r=-1}return r>=0}ji(t,r,n,i,e){var s=Or.j();t:{s.k(r);var a=0,l=this.gj_1;r:{var u=this.fj_1,h=u.length-2|0,_=0;if(_<=h)do{var o=_;_=_+1|0;var f=u[o],c=f;if(!c.a3(c.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var v=8-(~(o-h)>>>31|0)|0,w=0;if(w>>31|0)|0,h=0;if(h>>31|0)|0,h=0;if(h=0))throw vr.h1(pi("Capacity must be a positive value."));nf(this,uf(t))}ni(t){var r=this.ij_1,n=function(t,r){var n=Co(r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=t.hj_1,l=e&a,u=0;t:for(;;){for(var h=t.fj_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(t.gj_1[d]===r)return d;var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;l=l+(u=u+8|0)&a}var m,g=ef(t,e);if(0===t.oj_1){var y=g;m=!t.fj_1[y>>3].y2((7&y)<<3).a3(new yt(255,0)).equals(new yt(254,0))}else m=!1;m&&(function(t){if(t.hj_1>8){var r=he(t.ij_1),n=new yt(32,0),i=r.s2(n),e=he(t.hj_1),s=new yt(25,0);Ue(i,e.s2(s))}!function(t,r){var n=t.fj_1,i=t.gj_1,e=t.hj_1;nf(t,r);var s=t.gj_1,a=0;if(a>3].y2((7&l)<<3).a3(new yt(255,0)).k1(new yt(128,0))<0){var u=i[l],h=Co(u,-862048943),_=h^h<<16,o=ef(t,_>>>7|0),f=he(127&_),c=t.fj_1,v=o>>3,w=(7&o)<<3;c[v]=c[v].a3(new yt(255,0).x2(w).w2()).b3(f.x2(w));var d=t.hj_1,p=(o-7&d)+(7&d)|0,m=p>>3,g=(7&p)<<3;c[m]=c[m].a3(new yt(255,0).x2(g).w2()).b3(f.x2(g)),s[o]=u}}while(a>3].y2((7&j)<<3).a3(new yt(255,0)).equals(new yt(128,0))?1:0,k.oj_1=x-b|0;var q=g,z=he(s),S=t.fj_1,C=q>>3,A=(7&q)<<3;S[C]=S[C].a3(new yt(255,0).x2(A).w2()).b3(z.x2(A));var $=t.hj_1,E=(q-7&$)+(7&$)|0,I=E>>3,M=(7&E)<<3;return S[I]=S[I].a3(new yt(255,0).x2(M).w2()).b3(z.x2(M)),g}(this,t);return this.gj_1[n]=t,!(this.ij_1===r)}}class Do{constructor(){this.pj_1=lf(),this.qj_1=xf(),this.rj_1=rf(),this.sj_1=0,this.tj_1=0}di(){return this.sj_1}p(){return this.tj_1}x(){return 0===this.tj_1}b2(t){var r=this.ck(t);if(r<0)throw dr.w("There is no key "+Wn(t)+" in the map");return this.rj_1[r]}hashCode(){var t=0,r=this.qj_1,n=this.rj_1;t:{var i=this.pj_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var l=i[a],u=l;if(!u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var h=8-(~(a-e)>>>31|0)|0,_=0;if(_>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n[c],w=null==v||null!=v?v:Si();if(i[c]!==r.b2(w))return!1}u=u.y2(8)}while(o<_);if(8!==_)break t}}while(l!==s)}return!0}toString(){if(this.x())return"{}";var t=Or.j().u9(123),r=0,n=this.qj_1,i=this.rj_1;t:{var e=this.pj_1,s=e.length-2|0,a=0;if(a<=s)do{var l=a;a=a+1|0;var u=e[l],h=u;if(!h.a3(h.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var _=8-(~(l-s)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n[c],w=null==v||null!=v?v:Si(),d=i[c];t.s9(w===this?"(this)":w),t.t9("="),t.he(d),(r=r+1|0)>>7&s,l=0;t:for(;;){for(var u=this.pj_1,h=a>>3,_=(7&a)<<3,o=u[h].z2(_).b3(u[h+1|0].x2(64-_|0).a3(he(_).v2().y2(63))),f=new yt(16843009,16843009).s2(he(e)),c=o.c3(f),v=c.r2(new yt(16843009,16843009)).a3(c.w2()).a3(new yt(-2139062144,-2139062144));!v.equals(new yt(0,0));){var w=a+(Pe(v)>>3)&s;if(wi(this.qj_1[w],t))return w;var d=v;v=d.a3(d.r2(new yt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;a=a+(l=l+8|0)&s}return-1}}class Ro extends Do{constructor(t){if(t=t===b?6:t,super(),this.zj_1=0,!(t>=0))throw vr.h1(pi("Capacity must be a positive value."));sf(this,uf(t))}ak(t,r,n){var i=function(t,r){var n=null==r?null:di(r),i=Co(null==n?0:n,-862048943),e=i^i<<16,s=e>>>7|0,a=127&e,l=t.sj_1,u=s&l,h=0;t:for(;;){for(var _=t.pj_1,o=u>>3,f=(7&u)<<3,c=_[o].z2(f).b3(_[o+1|0].x2(64-f|0).a3(he(f).v2().y2(63))),v=new yt(16843009,16843009).s2(he(a)),w=c.c3(v),d=w.r2(new yt(16843009,16843009)).a3(w.w2()).a3(new yt(-2139062144,-2139062144));!d.equals(new yt(0,0));){var p=u+(Pe(d)>>3)&l;if(wi(t.qj_1[p],r))return p;var m=d;d=m.a3(m.r2(new yt(1,0)))}if(!c.a3(c.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;u=u+(h=h+8|0)&l}var g,y=af(t,s);if(0===t.zj_1){var b=y;g=!t.pj_1[b>>3].y2((7&b)<<3).a3(new yt(255,0)).equals(new yt(254,0))}else g=!1;g&&(function(t){if(t.sj_1>8){var r=he(t.tj_1),n=new yt(32,0),i=r.s2(n),e=he(t.sj_1),s=new yt(25,0);Ue(i,e.s2(s))}!function(t,r){var n=t.pj_1,i=t.qj_1,e=t.rj_1,s=t.sj_1;sf(t,r);var a=t.qj_1,l=t.rj_1,u=0;if(u>3].y2((7&h)<<3).a3(new yt(255,0)).k1(new yt(128,0))<0){var _=i[h],o=null==_?null:di(_),f=Co(null==o?0:o,-862048943),c=f^f<<16,v=af(t,c>>>7|0),w=he(127&c),d=t.pj_1,p=v>>3,m=(7&v)<<3;d[p]=d[p].a3(new yt(255,0).x2(m).w2()).b3(w.x2(m));var g=t.sj_1,y=(v-7&g)+(7&g)|0,b=y>>3,k=(7&y)<<3;d[b]=d[b].a3(new yt(255,0).x2(k).w2()).b3(w.x2(k)),a[v]=_,l[v]=e[h]}}while(u>3].y2((7&q)<<3).a3(new yt(255,0)).equals(new yt(128,0))?1:0,x.zj_1=j-k|0;var z=y,S=he(a),C=t.pj_1,A=z>>3,$=(7&z)<<3;C[A]=C[A].a3(new yt(255,0).x2($).w2()).b3(S.x2($));var E=t.sj_1,I=(z-7&E)+(7&E)|0,M=I>>3,N=(7&I)<<3;return C[M]=C[M].a3(new yt(255,0).x2(N).w2()).b3(S.x2(N)),~y}(this,t),e=n;return i<0?i=~i:e=this.rj_1[i],this.qj_1[i]=t,this.rj_1[i]=r,e}bk(t){this.tj_1=this.tj_1-1|0;var r=new yt(254,0),n=this.pj_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new yt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.sj_1,a=(t-7&s)+(7&s)|0,l=a>>3,u=(7&a)<<3;n[l]=n[l].a3(new yt(255,0).x2(u).w2()).b3(r.x2(u)),this.qj_1[t]=null}}class To{constructor(t){var r;0===t?(ko||(ko=!0,bo=Yn(Array(0),null),new Ho(0)),r=bo):r=Yn(Array(t),null),this.dk_1=r,this.ek_1=0}p(){return this.ek_1}fk(t,r,n,i,e,s){var a=Or.j();t:{a.k(r);var l=this.dk_1,u=0,h=this.ek_1;if(ut===this?"(this)":Wn(t)))}}class Ho extends To{constructor(t){super(t=t===b?16:t),this.jk_1=null}h(t){return this.oi(this.ek_1+1|0),this.dk_1[this.ek_1]=t,this.ek_1=this.ek_1+1|0,!0}oi(t){var r=this.dk_1;if(r.length>>7&a,u=0;r:for(;;){for(var h=this.kk_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(wi(this.lk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;l=l+(u=u+8|0)&a}r=-1}var m,g=r;if(g>=0){var y=this.mk_1[g];m=null==y||null!=y?y:Si()}else m=null;return m}z1(t){var r;t:{var n=null==t?null:di(t),i=Co(null==n?0:n,-862048943),e=i^i<<16,s=127&e,a=this.nk_1,l=e>>>7&a,u=0;r:for(;;){for(var h=this.kk_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(wi(this.lk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;l=l+(u=u+8|0)&a}r=-1}return r>=0}hashCode(){var t=0,r=this.lk_1,n=this.mk_1;t:{var i=this.kk_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var l=i[a],u=l;if(!u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var h=8-(~(a-e)>>>31|0)|0,_=0;if(_>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n[c],w=null==v||null!=v?v:Si(),d=i[c],p=null==d||null!=d?d:Si();if(null==p){if(null!=r.b2(w)||!r.z1(w))return!1}else if(!wi(p,r.b2(w)))return!1}u=u.y2(8)}while(o<_);if(8!==_)break t}}while(l!==s)}return!0}toString(){if(this.x())return"{}";var t=Or.j().u9(123),r=0,n=this.lk_1,i=this.mk_1;t:{var e=this.kk_1,s=e.length-2|0,a=0;if(a<=s)do{var l=a;a=a+1|0;var u=e[l],h=u;if(!h.a3(h.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var _=8-(~(l-s)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n[c],w=null==v||null!=v?v:Si(),d=i[c],p=null==d||null!=d?d:Si();t.s9(w===this?"(this)":w),t.t9("="),t.s9(p===this?"(this)":p),(r=r+1|0)=0))throw vr.h1(pi("Capacity must be a positive value."));ff(this,uf(t))}vk(t,r){var n=this.wk(t),i=n<0?~n:n;this.lk_1[i]=t,this.mk_1[i]=r}f2(t){var r;t:{var n=null==t?null:di(t),i=Co(null==n?0:n,-862048943),e=i^i<<16,s=127&e,a=this.nk_1,l=e>>>7&a,u=0;r:for(;;){for(var h=this.kk_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(wi(this.lk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;l=l+(u=u+8|0)&a}r=-1}var m=r;return m>=0?this.dj(m):null}dj(t){this.ok_1=this.ok_1-1|0;var r=new yt(254,0),n=this.kk_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new yt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.nk_1,a=(t-7&s)+(7&s)|0,l=a>>3,u=(7&a)<<3;n[l]=n[l].a3(new yt(255,0).x2(u).w2()).b3(r.x2(u)),this.lk_1[t]=null;var h=this.mk_1[t];return this.mk_1[t]=null,null==h||null!=h?h:Si()}wk(t){var r=null==t?null:di(t),n=Co(null==r?0:r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=this.nk_1,l=e&a,u=0;t:for(;;){for(var h=this.kk_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(wi(this.lk_1[d],t))return d;var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;l=l+(u=u+8|0)&a}var m,g=cf(this,e);if(0===this.uk_1){var y=g;m=!this.kk_1[y>>3].y2((7&y)<<3).a3(new yt(255,0)).equals(new yt(254,0))}else m=!1;m&&(function(t){if(t.nk_1>8){var r=he(t.ok_1),n=new yt(32,0),i=r.s2(n),e=he(t.nk_1),s=new yt(25,0);Ue(i,e.s2(s))}!function(t,r){var n=t.kk_1,i=t.lk_1,e=t.mk_1,s=t.nk_1;ff(t,r);var a=t.lk_1,l=t.mk_1,u=0;if(u>3].y2((7&h)<<3).a3(new yt(255,0)).k1(new yt(128,0))<0){var _=i[h],o=null==_?null:di(_),f=Co(null==o?0:o,-862048943),c=f^f<<16,v=cf(t,c>>>7|0),w=he(127&c),d=t.kk_1,p=v>>3,m=(7&v)<<3;d[p]=d[p].a3(new yt(255,0).x2(m).w2()).b3(w.x2(m));var g=t.nk_1,y=(v-7&g)+(7&g)|0,b=y>>3,k=(7&y)<<3;d[b]=d[b].a3(new yt(255,0).x2(k).w2()).b3(w.x2(k)),a[v]=_,l[v]=e[h]}}while(u>3].y2((7&x)<<3).a3(new yt(255,0)).equals(new yt(128,0))?1:0,this.uk_1=k-b|0;var j=g,q=he(s),z=this.kk_1,S=j>>3,C=(7&j)<<3;z[S]=z[S].a3(new yt(255,0).x2(C).w2()).b3(q.x2(C));var A=this.nk_1,$=(j-7&A)+(7&A)|0,E=$>>3,I=(7&$)<<3;return z[E]=z[E].a3(new yt(255,0).x2(I).w2()).b3(q.x2(I)),~g}}class Bo{constructor(t){this.xk_1=t}cl(t,r){return $s(wf.bind(b,this,t),r)}cc(t,r){return this.cl(t instanceof nn?t:Si(),r)}}class Ko{constructor(t,r){ji(this,r),this.dl_1=t}p(){return this.dl_1.bl_1}p1(t){for(var r=t.l();r.m();){var n=r.n();if(!this.dl_1.o(n))return!1}return!0}o(t){return this.dl_1.o(t)}x(){return this.dl_1.x()}l(){return Va((t=this.dl_1,r=new Bo(t),(n=(t,n)=>r.cl(t,n)).$arity=1,n));var t,r,n}}class Go{constructor(){this.yk_1=lf(),this.zk_1=xf(),this.al_1=0,this.bl_1=0}di(){return this.al_1}p(){return this.bl_1}x(){return 0===this.bl_1}el(){return!(0===this.bl_1)}o(t){var r;t:{var n=null==t?null:di(t),i=Co(null==n?0:n,-862048943),e=i^i<<16,s=127&e,a=this.al_1,l=e>>>7&a,u=0;r:for(;;){for(var h=this.yk_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(wi(this.zk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;l=l+(u=u+8|0)&a}r=-1}return r>=0}fk(t,r,n,i,e,s){var a=Or.j();t:{a.k(r);var l=0,u=this.zk_1;r:{var h=this.yk_1,_=h.length-2|0,o=0;if(o<=_)do{var f=o;o=o+1|0;var c=h[f],v=c;if(!v.a3(v.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var w=8-(~(f-_)>>>31|0)|0,d=0;if(d>>31|0)|0,h=0;if(h>>31|0)|0,_=0;if(_t===this?"(this)":Wn(t)))}gl(){return new Ko(this)}}class Vo{constructor(t,r){this.hl_1=t,this.il_1=r}cl(t,r){return $s(df.bind(b,this,t),r)}cc(t,r){return this.cl(t instanceof nn?t:Si(),r)}}class Wo{constructor(t){this.ll_1=t,this.jl_1=-1,this.kl_1=Va(function(t,r){var n=new Vo(t,r),i=(t,r)=>n.cl(t,r);return i.$arity=1,i}(t,this))}m(){return this.kl_1.m()}n(){return this.kl_1.n()}k4(){-1!==this.jl_1&&(this.ll_1.rl(this.jl_1),this.jl_1=-1)}}class Jo extends Ko{constructor(t,r){r===b&&(r={}),r.tl_1=t,super(t,r)}h(t){return this.tl_1.h(t)}r(t){return this.tl_1.ul(t)}s1(){this.tl_1.s1()}l(){return new Wo(this.tl_1)}q1(t){return this.tl_1.q1(t)}}class Yo extends Go{constructor(t){if(t=t===b?6:t,super(),this.ql_1=0,!(t>=0))throw vr.h1(pi("Capacity must be a positive value."));pf(this,uf(t))}h(t){var r=this.p(),n=gf(this,t);return this.zk_1[n]=t,!(this.p()===r)}vl(t){var r=gf(this,t);this.zk_1[r]=t}ul(t){var r=this.p();return this.wl(t),!(r===this.p())}xl(t){var r=this.p();return this.yl(t),!(r===this.p())}wl(t){for(var r=t.l();r.m();){var n=r.n();this.vl(n)}}yl(t){var r=t.zk_1;t:{var n=t.yk_1,i=n.length-2|0,e=0;if(e<=i)do{var s=e;e=e+1|0;var a=n[s],l=a;if(!l.a3(l.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var u=8-(~(s-i)>>>31|0)|0,h=0;if(h>>7&a,u=0;r:for(;;){for(var h=this.yk_1,_=l>>3,o=(7&l)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(he(o).v2().y2(63))),c=new yt(16843009,16843009).s2(he(s)),v=f.c3(c),w=v.r2(new yt(16843009,16843009)).a3(v.w2()).a3(new yt(-2139062144,-2139062144));!w.equals(new yt(0,0));){var d=l+(Pe(w)>>3)&a;if(wi(this.zk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new yt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break r;l=l+(u=u+8|0)&a}r=-1}var m=r,g=m>=0;return g&&this.rl(m),g}rl(t){this.bl_1=this.bl_1-1|0;var r=new yt(254,0),n=this.yk_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new yt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.al_1,a=(t-7&s)+(7&s)|0,l=a>>3,u=(7&a)<<3;n[l]=n[l].a3(new yt(255,0).x2(u).w2()).b3(r.x2(u)),this.zk_1[t]=null}s1(){if(this.bl_1=0,this.yk_1!==lf()){$e(this.yk_1,new yt(-2139062144,-2139062144));var t=this.yk_1,r=this.al_1,n=new yt(255,0),i=r>>3,e=(7&r)<<3;t[i]=t[i].a3(new yt(255,0).x2(e).w2()).b3(n.x2(e))}Ee(this.zk_1,null,0,this.al_1),mf(this)}zl(){return new Jo(this)}}function Zo(t,r){var n;if(r>0){var i=hf(r);n=Math.max(7,i)}else n=0;var e=n;t.vh_1=e,function(t,r){var n,i=t;if(0===r)n=lf();else{var e=Xn((7+(7+(r+1|0)|0)&-8)>>3);$e(e,new yt(-2139062144,-2139062144)),n=e}i.sh_1=n;var s=t.sh_1,a=new yt(255,0),l=r>>3,u=(7&r)<<3;s[l]=s[l].a3(new yt(255,0).x2(u).w2()).b3(a.x2(u)),function(t){t.ci_1=_f(t.di())-t.wh_1|0}(t)}(t,e),t.th_1=new Int32Array(e),t.uh_1=new Int32Array(e)}function Qo(t,r){for(var n=t.vh_1,i=r&n,e=0;;){var s=t.sh_1,a=i>>3,l=(7&i)<<3,u=s[a].z2(l).b3(s[a+1|0].x2(64-l|0).a3(he(l).v2().y2(63))),h=u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144));if(!h.equals(new yt(0,0)))return i+(Pe(h)>>3)&n;i=i+(e=e+8|0)&n}}function Xo(t,r){var n;if(r>0){var i=hf(r);n=Math.max(7,i)}else n=0;var e=n;t.ti_1=e,function(t,r){var n,i=t;if(0===r)n=lf();else{var e=Xn((7+(7+(r+1|0)|0)&-8)>>3);$e(e,new yt(-2139062144,-2139062144)),n=e}i.qi_1=n;var s=t.qi_1,a=new yt(255,0),l=r>>3,u=(7&r)<<3;s[l]=s[l].a3(new yt(255,0).x2(u).w2()).b3(a.x2(u)),function(t){t.aj_1=_f(t.di())-t.ui_1|0}(t)}(t,e),t.ri_1=new Int32Array(e),t.si_1=Yn(Array(e),null)}function tf(t,r){for(var n=t.ti_1,i=r&n,e=0;;){var s=t.qi_1,a=i>>3,l=(7&i)<<3,u=s[a].z2(l).b3(s[a+1|0].x2(64-l|0).a3(he(l).v2().y2(63))),h=u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144));if(!h.equals(new yt(0,0)))return i+(Pe(h)>>3)&n;i=i+(e=e+8|0)&n}}function rf(){return yo||(yo=!0,new Oo(0),go=new Int32Array(0)),go}function nf(t,r){var n;if(r>0){var i=hf(r);n=Math.max(7,i)}else n=0;var e=n;t.hj_1=e,function(t,r){var n,i=t;if(0===r)n=lf();else{var e=Xn((7+(7+(r+1|0)|0)&-8)>>3);$e(e,new yt(-2139062144,-2139062144)),n=e}i.fj_1=n;var s=t.fj_1,a=new yt(255,0),l=r>>3,u=(7&r)<<3;s[l]=s[l].a3(new yt(255,0).x2(u).w2()).b3(a.x2(u)),function(t){t.oj_1=_f(t.di())-t.ij_1|0}(t)}(t,e),t.gj_1=new Int32Array(e)}function ef(t,r){for(var n=t.hj_1,i=r&n,e=0;;){var s=t.fj_1,a=i>>3,l=(7&i)<<3,u=s[a].z2(l).b3(s[a+1|0].x2(64-l|0).a3(he(l).v2().y2(63))),h=u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144));if(!h.equals(new yt(0,0)))return i+(Pe(h)>>3)&n;i=i+(e=e+8|0)&n}}function sf(t,r){var n;if(r>0){var i=hf(r);n=Math.max(7,i)}else n=0;var e=n;t.sj_1=e,function(t,r){var n,i=t;if(0===r)n=lf();else{var e=Xn((7+(7+(r+1|0)|0)&-8)>>3);$e(e,new yt(-2139062144,-2139062144)),n=e}i.pj_1=n;var s=t.pj_1,a=new yt(255,0),l=r>>3,u=(7&r)<<3;s[l]=s[l].a3(new yt(255,0).x2(u).w2()).b3(a.x2(u)),function(t){t.zj_1=_f(t.di())-t.tj_1|0}(t)}(t,e),t.qj_1=Yn(Array(e),null),t.rj_1=new Int32Array(e)}function af(t,r){for(var n=t.sj_1,i=r&n,e=0;;){var s=t.pj_1,a=i>>3,l=(7&i)<<3,u=s[a].z2(l).b3(s[a+1|0].x2(64-l|0).a3(he(l).v2().y2(63))),h=u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144));if(!h.equals(new yt(0,0)))return i+(Pe(h)>>3)&n;i=i+(e=e+8|0)&n}}function lf(){return vf(),xo}function uf(t){return vf(),7===t?8:t+((t-1|0)/7|0)|0}function hf(t){return vf(),t>0?-1>>>Ao(t)|0:0}function _f(t){return vf(),7===t?6:t-(t/8|0)|0}function of(t){return vf(),0===t?6:Co(t,2)+1|0}function ff(t,r){var n;if(r>0){var i=hf(r);n=Math.max(7,i)}else n=0;var e=n;t.nk_1=e,function(t,r){var n,i=t;if(0===r)n=lf();else{var e=Xn((7+(7+(r+1|0)|0)&-8)>>3);$e(e,new yt(-2139062144,-2139062144)),n=e}i.kk_1=n;var s=t.kk_1,a=new yt(255,0),l=r>>3,u=(7&r)<<3;s[l]=s[l].a3(new yt(255,0).x2(u).w2()).b3(a.x2(u)),function(t){t.uk_1=_f(t.di())-t.ok_1|0}(t)}(t,e),t.lk_1=Yn(Array(e),null),t.mk_1=Yn(Array(e),null)}function cf(t,r){for(var n=t.nk_1,i=r&n,e=0;;){var s=t.kk_1,a=i>>3,l=(7&i)<<3,u=s[a].z2(l).b3(s[a+1|0].x2(64-l|0).a3(he(l).v2().y2(63))),h=u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144));if(!h.equals(new yt(0,0)))return i+(Pe(h)>>3)&n;i=i+(e=e+8|0)&n}}function vf(){var t;jo||(jo=!0,(t=[new yt(-2139062017,-2139062144),new yt(-1,-1)].slice()).$type$="LongArray",xo=t,new Fo(0))}function*wf(t,r,n){var i=t.xk_1,e=i.zk_1;t:{var s=i.yk_1,a=s.length-2|0,l=0;if(l<=a)do{var u=l;l=l+1|0;var h=s[u],_=h;if(!_.a3(_.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var o=8-(~(u-a)>>>31|0)|0,f=0;if(f>>31|0)|0,_=0;if(_0){var i=hf(r);n=Math.max(7,i)}else n=0;var e=n;t.al_1=e,function(t,r){var n,i=t;if(0===r)n=lf();else{var e=Xn((7+(7+(r+1|0)|0)&-8)>>3);$e(e,new yt(-2139062144,-2139062144)),n=e}i.yk_1=n;var s=t.yk_1,a=new yt(255,0),l=r>>3,u=(7&r)<<3;s[l]=s[l].a3(new yt(255,0).x2(u).w2()).b3(a.x2(u)),mf(t)}(t,e),t.zk_1=Yn(Array(e),null)}function mf(t){t.ql_1=_f(t.di())-t.bl_1|0}function gf(t,r){var n=null==r?null:di(r),i=Co(null==n?0:n,-862048943),e=i^i<<16,s=e>>>7|0,a=127&e,l=t.al_1,u=s&l,h=0;t:for(;;){for(var _=t.yk_1,o=u>>3,f=(7&u)<<3,c=_[o].z2(f).b3(_[o+1|0].x2(64-f|0).a3(he(f).v2().y2(63))),v=new yt(16843009,16843009).s2(he(a)),w=c.c3(v),d=w.r2(new yt(16843009,16843009)).a3(w.w2()).a3(new yt(-2139062144,-2139062144));!d.equals(new yt(0,0));){var p=u+(Pe(d)>>3)&l;if(wi(t.zk_1[p],r))return p;var m=d;d=m.a3(m.r2(new yt(1,0)))}if(!c.a3(c.w2().x2(6)).a3(new yt(-2139062144,-2139062144)).equals(new yt(0,0)))break t;u=u+(h=h+8|0)&l}var g,y=yf(t,s);if(0===t.ql_1){var b=y;g=!t.yk_1[b>>3].y2((7&b)<<3).a3(new yt(255,0)).equals(new yt(254,0))}else g=!1;g&&(function(t){if(t.al_1>8){var r=he(t.bl_1),n=new yt(32,0),i=r.s2(n),e=he(t.al_1),s=new yt(25,0);Ue(i,e.s2(s))}!function(t,r){var n=t.yk_1,i=t.zk_1,e=t.al_1;pf(t,r);var s=t.zk_1,a=0;if(a>3].y2((7&l)<<3).a3(new yt(255,0)).k1(new yt(128,0))<0){var u=i[l],h=null==u?null:di(u),_=Co(null==h?0:h,-862048943),o=_^_<<16,f=yf(t,o>>>7|0),c=he(127&o),v=t.yk_1,w=f>>3,d=(7&f)<<3;v[w]=v[w].a3(new yt(255,0).x2(d).w2()).b3(c.x2(d));var p=t.al_1,m=(f-7&p)+(7&p)|0,g=m>>3,y=(7&m)<<3;v[g]=v[g].a3(new yt(255,0).x2(y).w2()).b3(c.x2(y)),s[f]=u}}while(a>3].y2((7&q)<<3).a3(new yt(255,0)).equals(new yt(128,0))?1:0,x.ql_1=j-k|0;var z=y,S=he(a),C=t.yk_1,A=z>>3,$=(7&z)<<3;C[A]=C[A].a3(new yt(255,0).x2($).w2()).b3(S.x2($));var E=t.al_1,I=(z-7&E)+(7&E)|0,M=I>>3,N=(7&I)<<3;return C[M]=C[M].a3(new yt(255,0).x2(N).w2()).b3(S.x2(N)),y}function yf(t,r){for(var n=t.al_1,i=r&n,e=0;;){var s=t.yk_1,a=i>>3,l=(7&i)<<3,u=s[a].z2(l).b3(s[a+1|0].x2(64-l|0).a3(he(l).v2().y2(63))),h=u.a3(u.w2().x2(7)).a3(new yt(-2139062144,-2139062144));if(!h.equals(new yt(0,0)))return i+(Pe(h)>>3)&n;i=i+(e=e+8|0)&n}}function bf(){return kf(),new Yo}function kf(){qo||(qo=!0,new Yo(0))}function xf(){return So||(So=!0,new Int32Array(0),Xn(0),zo=Yn(Array(0),null)),zo}re($o,"IntIntMap"),re(Eo,"MutableIntIntMap",Eo),re(Io,"IntList"),re(Mo,"MutableIntList",Mo),re(No,"IntObjectMap"),re(Lo,"MutableIntObjectMap",Lo),re(Po,"IntSet"),re(Oo,"MutableIntSet",Oo),re(Do,"ObjectIntMap"),re(Ro,"MutableObjectIntMap",Ro),re(To,"ObjectList"),re(Ho,"MutableObjectList",Ho),re(Uo,"ScatterMap"),re(Fo,"MutableScatterMap",Fo),ee(Bo,b,b,[1]),re(Ko,"SetWrapper",b,b,[dt]),re(Go,"ScatterSet"),ee(Vo,b,b,[1]),re(Wo),re(Jo,"MutableSetWrapper",b,b,[Ko,ht,dt]),re(Yo,"MutableScatterSet",Yo);var jf,qf,zf,Sf,Cf,Af,$f,Ef,If,Mf,Nf,Lf,Pf,Of,Df,Rf,Tf,Hf,Uf,Ff,Bf,Kf,Gf,Vf,Wf,Jf,Yf,Zf,Qf,Xf,tc,rc,nc,ic,ec,sc,ac,lc,uc,hc,_c,oc,fc,cc,vc,wc,dc,pc,mc,gc,yc,bc,kc,xc,jc,qc,zc,Sc,Cc,Ac,$c,Ec,Ic,Mc,Nc,Lc,Pc,Oc,Dc,Rc,Tc,Hc,Uc,Fc,Bc,Kc,Gc,Vc,Wc,Jc,Yc,Zc,Qc,Xc,tv,rv,nv,iv,ev,sv,av,lv,uv,hv,_v,ov,fv,cv,vv,wv,dv,pv,mv,gv,yv,bv,kv,xv=Math.imul;class jv{}function qv(){}function zv(){}class Sv{constructor(t,r){this.g10_1=t,this.h10_1=r,this.i10_1=0}xz(){return this.g10_1.xz()}a10(t){this.i10_1=this.i10_1+1|0,this.g10_1.a10(t)}b10(){this.i10_1>0||Eg("OffsetApplier up called with no corresponding down"),this.i10_1=this.i10_1-1|0,this.g10_1.b10()}c10(t,r){this.g10_1.c10(t+(0===this.i10_1?this.h10_1:0)|0,r)}d10(t,r){this.g10_1.d10(t+(0===this.i10_1?this.h10_1:0)|0,r)}e10(t,r){this.g10_1.e10(t+(0===this.i10_1?this.h10_1:0)|0,r)}f10(t,r,n){var i=0===this.i10_1?this.h10_1:0;this.g10_1.f10(t+i|0,r+i|0,n)}}class Cv{constructor(t){this.j10_1=t,this.k10_1=Lt.b1(),this.l10_1=this.j10_1}m10(t){this.l10_1=t}xz(){return this.l10_1}n10(t){this.k10_1.h(this.xz()),this.m10(t)}a10(t){return this.n10(null==t||null!=t?t:Si())}b10(){this.k10_1.x()&&yy("empty stack"),this.m10(this.k10_1.v1(this.k10_1.p()-1|0))}}class Av{constructor(t,r){this.o10_1=t,this.p10_1=r}q10(t){var r;try{r=this.o10_1(t)}catch(t){if(!(t instanceof Error))throw t;r=bl(t)}var n=r;this.p10_1.va(n)}}class $v{}function Ev(){return Wf}class Iv{constructor(t){t=t===b?null:t,this.r10_1=t,this.s10_1=new Object,this.t10_1=null,this.u10_1=Lt.b1(),this.v10_1=Lt.b1(),this.w10_1=new mm(0)}z10(){return!(0===this.w10_1.js())}a11(t){this.s10_1;var r=this.u10_1;this.u10_1=this.v10_1,this.v10_1=r,this.w10_1.y10(0);var n=0,i=r.p();if(n(this.s10_1,this.u10_1.q1(i),this.u10_1.x()&&this.w10_1.y10(0),k))),a&&null!=this.r10_1)try{this.r10_1()}catch(t){if(!(t instanceof Error))throw t;!function(t,r){if(t.s10_1,null!=t.t10_1)return k;t.t10_1=r;var n=t.u10_1,i=0,e=n.p()-1|0;if(i<=e)do{var s=i;i=i+1|0;var a=n.s(s).p10_1,l=bl(r);a.va(l)}while(i<=e);t.u10_1.s1(),t.w10_1.y10(0)}(this,t)}}else{var l=bl(e);n.va(l)}return n.fo()}}class Mv{}class Nv{constructor(t,r,n){this.g11_1=t,this.h11_1=r,this.i11_1=n}j11(){return this.g11_1.s11(this.i11_1)}}class Lv{}class Pv{}class Ov{}class Dv{constructor(t){this.m1c_1=t}}class Rv{}class Tv{constructor(t,r,n,i,e,s,a){this.t11_1=t,this.u11_1=r,this.v11_1=n,this.w11_1=i,this.x11_1=e,this.y11_1=s,this.z11_1=a,this.a12_1=new md,this.b12_1=null,this.c12_1=0,this.d12_1=0,this.e12_1=0,this.f12_1=new pd,this.g12_1=null,this.h12_1=null,this.i12_1=!1,this.j12_1=!1,this.k12_1=!1,this.l12_1=Lt.b1(),this.m12_1=new pd,this.n12_1=Xx(),this.o12_1=null,this.p12_1=!1,this.q12_1=new pd,this.r12_1=!1,this.s12_1=-1,this.t12_1=0,this.u12_1=0,this.v12_1=this.u11_1.e14()||this.u11_1.g17(),this.w12_1=new Dv(this),this.x12_1=new md,this.y12_1=!1,this.z12_1=!1;var l=this.v11_1.w13();l.k15(),this.a13_1=l;var u=new Pw;this.u11_1.e14()&&u.e17(),this.u11_1.g17()&&u.f17(),this.b13_1=u;var h=this.b13_1.c17();h.h17(!0),this.c13_1=h,this.d13_1=!1,this.e13_1=null,this.f13_1=null,this.g13_1=new zd(this,this.x11_1);var _,o=this.b13_1.w13();try{_=o.u16(0)}finally{o.k15()}this.h13_1=_,this.i13_1=new Sd,this.j13_1=!1,this.k13_1=0}o1c(){return this.t11_1}p1c(){return this.t12_1>0}q1c(){return this.u11_1.r1c()}s1c(t){if(null!=this.b12_1)return Um(this,t,null,jg().n16_1,null),k;lg(this);var r=this.e12_1,n=Te(this.k13_1,3)^t;this.k13_1=Te(n,3)^r,this.e12_1=this.e12_1+1|0;var i=this.a13_1;if(this.j13_1)return i.n17(),this.c13_1.o17(t,wg().m17_1),Fm(this,!1,null),k;if(i.z17()===t&&!i.t1c())return i.k17(),Fm(this,!1,null),k;if(!i.a19()){var e=this.c12_1,s=i.c15_1;ug(this);var a=i.q16();this.g13_1.s18(e,a),qg(this.l12_1,s,i.c15_1)}i.n17(),this.j13_1=!0,this.e13_1=null,Dm(this);var l=this.c13_1;l.d18();var u=l.i16_1;l.o17(t,wg().m17_1),this.h13_1=l.u16(u),Fm(this,!1,null)}u1c(){return Em(this)}v1c(){return Um(this,-127,null,jg().n16_1,null)}w1c(){Em(this);var t=this.x1c();null!=t&&t.r18()&&t.y1c(!0)}z1c(){var t;if(!this.c1a()||this.p12_1)t=!0;else{var r=this.x1c();t=!0===(null==r?null:r.z1c())}return t}z19(t,r){return Um(this,t,r,jg().n16_1,null)}e1a(){return Em(this)}a1d(){this.o12_1=null}b1d(){return this.j13_1}c1a(){var t;if(this.j13_1||this.r12_1||this.p12_1)t=!1;else{var r=this.x1c();t=!1===(null==r?null:r.c1d())}return!!t&&!this.j12_1}c11(){return this.k13_1}l17(){Um(this,125,null,jg().o16_1,null),this.k12_1=!0}d1d(t){ag(this),this.j13_1||Eg("createNode() can only be called when inserting");var r=this.f12_1.e1d(),n=this.c13_1.u16(this.c13_1.k16_1);this.d12_1=this.d12_1+1|0,this.i13_1.f1d(t,r,n)}g1d(){ag(this),this.j13_1&&Eg("useNode() called while inserting");var t,r=(t=this.a13_1).n1b(t.e15_1);this.g13_1.t19(r),this.r12_1&&null!=r&&pe(r,Mv)&&this.g13_1.h1d(r)}i1d(){return Bm(this,!0)}j1d(t,r){this.j13_1?this.i13_1.l1d(t,r):this.g13_1.k1d(t,r)}r16(){var t;if(this.j13_1)lg(this),t=wg().m17_1;else{var r=this.a13_1.n();t=!this.r12_1||null!=r&&pe(r,Pv)?r:wg().m17_1}return t}m1d(){var t;if(this.j13_1)lg(this),t=wg().m17_1;else{var r=this.a13_1.n();t=!this.r12_1||null!=r&&pe(r,Pv)?r instanceof Jv?r.n1d_1:r:wg().m17_1}return t}c14(t){var r;return wi(this.r16(),t)?r=!1:(this.s16(t),r=!0),r}p1d(t){var r;return this.r16()!==t?(this.s16(t),r=!0):r=!1,r}q1d(t){var r=this.r16();return(null==r||"boolean"!=typeof r||t!==r)&&(this.s16(t),!0)}r1d(t){var r=this.r16();return(null==r||"number"!=typeof r||t!==r)&&(this.s16(t),!0)}s16(t){if(this.j13_1)this.c13_1.x1d(t);else if(this.a13_1.j15_1){var r=this.a13_1.t1d()-1|0;this.g13_1.w1d()?this.g13_1.v1d(t,this.a13_1.u16(this.a13_1.e15_1),r):this.g13_1.u1d(t,r)}else this.g13_1.s1d(this.a13_1.u16(this.a13_1.e15_1),t)}y1d(t){var r;null!=t&&pe(t,Lv)?(this.j13_1&&this.g13_1.z1d(t),this.w11_1.h(t),r=new Jv(t,function(t){var r,n;if(t.j13_1){var i;if(n=t.c13_1,Bg(),n.i16_1>(n.k16_1+1|0)){for(var e=t.c13_1.i16_1-1|0,s=t.c13_1.t16(e);s!==t.c13_1.k16_1&&s>=0;)e=s,s=t.c13_1.t16(e);i=t.c13_1.u16(e)}else i=null;r=i}else{var a;if(function(t){return Bg(),t.c15_1>(t.e15_1+1|0)}(t.a13_1)){for(var l=t.a13_1.c15_1-1|0,u=t.a13_1.t16(l);u!==t.a13_1.e15_1&&u>=0;)l=u,u=t.a13_1.t16(l);a=t.a13_1.u16(l)}else a=null;r=a}return r}(this))):r=t;var n=r;this.s16(n)}a1e(t){this.g13_1.b1e(t)}c1e(t){var r,n,i=Nm(this);if($m(this,201,(Bg(),zf)),this.j13_1)r=Pm(this,i,wy(t,i)),n=!1,this.d13_1=!0;else{var e=this.a13_1.d1e(0),s=null!=e&&pe(e,vw)?e:Si(),a=this.a13_1.d1e(1),l=null!=a&&pe(a,vw)?a:Si(),u=wy(t,i,l);this.c1a()&&!this.r12_1&&wi(l,u)?(Im(this),r=s,n=!1):(r=Pm(this,i,u),n=this.r12_1||!wi(r,s))}n&&!this.j13_1&&Om(this,r),this.q12_1.b14(zg(this.p12_1)),this.p12_1=n,this.e13_1=r,Um(this,202,zm(),jg().n16_1,r)}e1e(){Em(this),Em(this),this.p12_1=Sg(this.q12_1.l15()),this.e13_1=null}f1e(t){return cy(Nm(this),t)}x1c(){var t=this.x12_1;return 0===this.t12_1&&t.el()?t.e1d():null}x1a(t,r){var n=t.m11_1;if(null==n)return!1;var i=n,e=this.a13_1.v14_1,s=i.g1e(e);return!!(this.y12_1&&s>=this.a13_1.c15_1)&&(function(t,r,n,i){Bg();var e=Ng(t,r);if(e<0){var s=0|-(e+1|0),a=null!=i&&pe(i,ww)?i:null;t.u1(s,new Nv(n,r,a))}else{var l=t.s(e);if(null!=i&&pe(i,ww)){var u=l.i11_1;null==u?l.i11_1=i:u instanceof Yo?(u instanceof Yo||Si(),u.h(i)):l.i11_1=function(t,r){kf();var n=new Yo(2);return n.vl(t),n.vl(r),n}(u,i)}else l.i11_1=null}}(this.l12_1,s,t,r),!0)}l1b(){if(this.l12_1.x())Im(this);else{var t=this.a13_1,r=t.z17(),n=t.b18(),i=t.j17(),e=this.e12_1;if(null==n)if(null==i||207!==r||wi(i,wg().m17_1)){var s=Te(this.k13_1,3)^r;this.k13_1=Te(s,3)^e}else{var a=di(i),l=Te(this.k13_1,3)^a;this.k13_1=Te(l,3)^e}else if(n instanceof mt){var u=n.j2_1,h=Te(this.k13_1,3)^u;this.k13_1=0^Te(h,3)}else{var _=di(n),o=Te(this.k13_1,3)^_;this.k13_1=0^Te(o,3)}if(Hm(this,t.h1e(),null),Km(this),t.f19(),null==n)if(null==i||207!==r||wi(i,wg().m17_1)){var f=He(this.k13_1^e,3)^r;this.k13_1=He(f,3)}else{var c=di(i),v=He(this.k13_1^e,3)^c;this.k13_1=He(v,3)}else if(n instanceof mt){var w=n.j2_1,d=He(0^this.k13_1,3)^w;this.k13_1=He(d,3)}else{var p=di(n),m=He(0^this.k13_1,3)^p;this.k13_1=He(m,3)}}}d17(){0!==this.d12_1&&Eg("No nodes can be emitted before calling skipAndEndGroup");var t=this.x1c();null==t||t.i1e(),this.l12_1.x()?rg(this):Km(this)}j1e(t){return this.s1c(t),function(t){if(t.j13_1){var r=t.z11_1,n=new Sw(r instanceof iw?r:Si());t.x12_1.p18(n),t.s16(n),n.y19(t.u12_1)}else{var i,e=Ag(t.l12_1,t.a13_1.e15_1),s=t.a13_1.n();if(wi(s,wg().m17_1)){var a=t.z11_1,l=new Sw(a instanceof iw?a:Si());t.s16(l),i=l}else i=s instanceof Sw?s:Si();var u,h=i;if(null!=e)u=!0;else{var _=h.v19();_&&h.w19(!1),u=_}h.x19(u),t.x12_1.p18(h),h.y19(t.u12_1)}}(this),this}k1e(){var t=this.x12_1.el()?this.x12_1.l15():null;null!=t&&t.x19(!1);var r,n=null==t?null:t.l1e(this.u12_1);if(null==n||this.g13_1.m1e(n,this.z11_1),null==t||t.o1e()||!t.r18()&&!this.i12_1)r=null;else{if(null==t.m11_1){var i,e=t;i=this.j13_1?this.c13_1.u16(this.c13_1.k16_1):this.a13_1.u16(this.a13_1.e15_1),e.m11_1=i}t.n1e(!1),r=t}var s=r;return Bm(this,!1),s}p1e(t){var r=!1;try{!function(t,r){var n=t.g13_1,i=t.y11_1,e=n.j14_1;try{n.j14_1=i,t.g13_1.f1a();var s=0,a=r.p()-1|0;if(s<=a)do{var l=s;s=s+1|0;var u=r.s(l),h=u.xf(),_=u.yf(),o=h.k1a_1,f=h.j1a_1.n1a(o),c=new Wp;if(t.g13_1.o1a(c,o),null==_){wi(h.j1a_1,t.b13_1)&&Rm(t);var v=h.j1a_1.w13();try{v.n18(f),t.g13_1.t1a(f);var w=new jd;eg(t,b,b,b,b,cg(t,w,v,h)),t.g13_1.u1a(w,c)}finally{v.k15()}}else{var d=t.u11_1.p1a(_),p=null==d?null:d.q1a_1,m=null==p?_.j1a_1:p,g=null==d?null:d.q1a_1,y=null==g?null:g.u16(0),k=null==y?_.k1a_1:y,x=$g(m,k);if(!x.x()&&(t.g13_1.r1a(x,c),wi(h.j1a_1,t.v11_1))){var j=t.v11_1.n1a(o);Zm(t,j,Ym(t,j)+x.p()|0)}t.g13_1.s1a(d,t.u11_1,_,h);var q=m.w13();try{t:{var z=t.a13_1,S=t.g12_1,C=t.o12_1;t.g12_1=null,t.o12_1=null;try{t.a13_1=q;var A=m.n1a(k);q.n18(A),t.g13_1.t1a(A);var $=new jd,E=t.g13_1,I=E.j14_1;try{E.j14_1=$;var M=t.g13_1,N=M.m14_1;try{M.m14_1=!1;var L=q.c15_1,P=_.l1a_1;ig(t,_.i1a_1,h.i1a_1,L,P,vg(t,h))}finally{M.m14_1=N}}finally{E.j14_1=I}t.g13_1.u1a($,c);break t}finally{t.a13_1=z,t.g12_1=S,t.o12_1=C}}}finally{q.k15()}}t.g13_1.v1a()}while(s<=a);t.g13_1.w1a(),t.g13_1.t1a(0)}finally{n.j14_1=e}}(this,t),r=!0}finally{r?og(this):Cm(this)}}q1e(t){this.j13_1&&this.v12_1&&this.c13_1.r1e(t)}s1e(t,r){this.j13_1&&this.v12_1&&this.c13_1.t1e(t,r)}u1e(){this.j13_1&&this.v12_1&&this.c13_1.v1e()}w1e(t,r){this.x11_1.x()||Eg("Expected applyChanges() to have been called"),sg(this,t,r)}y1e(t){this.y12_1&&Eg("Preparing a composition while composing is not supported"),this.y12_1=!0;try{t()}finally{this.y12_1=!1}}z1e(t){return this.x11_1.x()||Eg("Expected applyChanges() to have been called"),!!(t.p()>0||!this.l12_1.x()||this.j12_1)&&(sg(this,t,null),this.x11_1.el())}a1f(){return this.x1c()}b1f(){return this.m1d()}c1f(t){return this.y1d(t)}d1f(t){var r=t instanceof Sw?t:null;null!=r&&r.e1f(!0)}}class Hv{toString(){return"Empty"}}class Uv{constructor(){Ef=this,this.m17_1=new Hv}}class Fv extends mt{}class Bv{constructor(t,r,n,i,e,s,a){this.g1a_1=t,this.h1a_1=r,this.i1a_1=n,this.j1a_1=i,this.k1a_1=e,this.l1a_1=s,this.m1a_1=a}}class Kv{constructor(t){this.q1a_1=t}}class Gv{}class Vv extends fr{static k1f(t){var r=this.c4();return bi(r,r.j1f_1),r.i1f_1=t,r}xb(){return this.i1f_1}get message(){return this.xb()}}class Wv{constructor(t,r,n,i,e,s,a){this.v1f_1=t,this.w1f_1=n,this.x1f_1=i,this.y1f_1=e,this.z1f_1=s,this.a1g_1=a,this.b1g_1=r,this.c1g_1=!0}y1(){var t=this.b1g_1;return null==t||null!=t?t:Si()}d1g(){var t;return this.w1f_1?t=null:null!=this.y1f_1?t=this.y1f_1.y1():null!=this.b1g_1?t=this.b1g_1:pg("Unexpected form of a provided value"),t}e1g(){return(this.w1f_1||!(null==this.y1()))&&!this.a1g_1}}class Jv{constructor(t,r){this.n1d_1=t,this.o1d_1=r}}class Yv{constructor(t,r){this.r17_1=t,this.s17_1=r,this.t17_1=0,this.s17_1>=0||by("Invalid start index"),this.u17_1=Lt.b1();var n=0,i=new Lo,e=0,s=this.r17_1.p();if(e{var t,r,n=new Xv((t=this.r17_1.p(),Bg(),new Fo(t))),i=n.f1g_1,e=0,s=this.r17_1.p();if(enew Xv(t.g1g())),null),t.y1().f1g_1}c18(t,r){var n=null!=r?new yw(t,r):t;return function(t,r){var n,i=t.b2(r);if(null==i)n=null;else{var e;if(pe(i,ot)){var s=pe(i,ot)?i:Si(),a=s.v1(0);s.x()&&t.f2(r),e=a}else t.f2(r),e=i;n=null!=e?e:Si()}return n}(this.g1g(),n)}y17(t){return this.u17_1.h(t)}r18(){return this.u17_1}l18(t,r){if(t>r){var n=this.v17_1,i=n.si_1;t:{var e=n.qi_1,s=e.length-2|0,a=0;if(a<=s)do{var l=a;a=a+1|0;var u=e[l],h=u;if(!h.a3(h.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var _=8-(~(l-s)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=i[(l<<3)+f|0],v=null==c||null!=c?c:Si(),w=v.h1g_1;w===t?v.h1g_1=r:r<=w&&wt){var d=this.v17_1,p=d.si_1;t:{var m=d.qi_1,g=m.length-2|0,y=0;if(y<=g)do{var b=y;y=y+1|0;var k=m[b],x=k;if(!x.a3(x.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var j=8-(~(b-g)>>>31|0)|0,q=0;if(qr){var i=this.v17_1,e=i.si_1;t:{var s=i.qi_1,a=s.length-2|0,l=0;if(l<=a)do{var u=l;l=l+1|0;var h=s[u],_=h;if(!_.a3(_.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var o=8-(~(u-a)>>>31|0)|0,f=0;if(ft){var p=this.v17_1,m=p.si_1;t:{var g=p.qi_1,y=g.length-2|0,b=0;if(b<=y)do{var k=b;b=b+1|0;var x=g[k],j=x;if(!j.a3(j.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var q=8-(~(k-y)>>>31|0)|0,z=0;if(z>>31|0)|0,v=0;if(v=i&&!wi(p,n)){var m=p.i1g_1+e|0;m>=0&&(p.i1g_1=m)}}o=o.y2(8)}while(v>>31|0)|0,_=0;if(_>>31|0)|0,c=0;if(c>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=i[(l<<3)+f|0];Xg(this,null==c||null!=c?c:Si())}u=u.y2(8)}while(o<_);if(8!==_)break t}}while(l!==s)}}else Xg(this,null!=r?r:Si());return k}l1j(){var t;this.x1g_1,Wg(this);try{var r,n=!1;try{var i,e=iy(this);try{var s=ey(this);if(null==s);else{var a=e.u1i();s.v1i(this,pe(a,ct)?a:Si())}var l=this.m1h_1.z1e(e);l||Jg(this),null==s||s.w1i(this),i=l}catch(t){if(t instanceof _r){var u=t;throw this.h1h_1=e,u}throw t}n=!0,r=i}finally{!n&&!this.y1g_1.x()&&new rw(this.y1g_1).c1i()}t=r}catch(t){if(t instanceof _r){var h=t;throw this.x1i(),h}throw t}return t}m1j(t){var r;t:{var n=0,i=t.p()-1|0;if(n<=i)do{var e=n;if(n=n+1|0,!wi(t.s(e).vf_1.i1a_1,this)){r=!1;break t}}while(n<=i);r=!0}gg(r);try{var s=!1;try{this.m1h_1.p1e(t),s=!0}finally{!s&&!this.y1g_1.x()&&new rw(this.y1g_1).c1i()}}catch(t){if(t instanceof _r){var a=t;throw this.x1i(),a}throw t}}n1j(t){var r=new rw(this.y1g_1),n=t.q1a_1.c17(),i=!1;try{mg(n,r),i=!0}finally{n.h17(i)}r.a1i()}o1j(){this.x1g_1;try{var t=!1;try{ty(this,this.e1h_1),Jg(this),t=!0}finally{!t&&!this.y1g_1.x()&&new rw(this.y1g_1).c1i()}}catch(t){if(t instanceof _r){var r=t;throw this.x1i(),r}throw t}}p1j(){this.x1g_1;try{var t=!1;try{this.f1h_1.el()&&ty(this,this.f1h_1),t=!0}finally{!t&&!this.y1g_1.x()&&new rw(this.y1g_1).c1i()}}catch(t){if(t instanceof _r){var r=t;throw this.x1i(),r}throw t}}q1j(){this.x1g_1;try{var t=!1;try{this.m1h_1.a1d(),this.y1g_1.x()||new rw(this.y1g_1).c1i(),t=!0}finally{!t&&!this.y1g_1.x()&&new rw(this.y1g_1).c1i()}}catch(t){if(t instanceof _r){var r=t;throw this.x1i(),r}throw t}}x1i(){this.w1g_1.px(null),this.e1h_1.s1(),this.f1h_1.s1(),this.y1g_1.x()||new rw(this.y1g_1).c1i()}r1j(){this.x1g_1;for(var t=this.z1g_1.n13_1,r=0,n=t.length;r=0){var e;this.j1h_1=t instanceof iw?t:Si(),this.k1h_1=r;try{e=n()}finally{this.j1h_1=null,this.k1h_1=0}i=e}else i=n();return i}t1j(t,r){t.u1j()&&t.n1e(!0);var n=t.m11_1;if(null==n||!n.o1f())return Hg();if(!this.z1g_1.v1j(n)){this.x1g_1;var i=this.j1h_1;return!0===(null==i?null:ry(i,t,r))?Fg():Hg()}return t.w1j()?ny(this,t,n,r):Hg()}x1j(t){this.i1h_1=!0}y1j(t,r){this.a1h_1.u1h(t,r)}z1j(t){this.a1h_1.x1h(t)||this.d1h_1.g1j(t)}}class ew{constructor(t,r){t=t===b?null:t,r=r!==b&&r,this.i1i_1=t,this.j1i_1=r}}class sw{constructor(){var t;Tf=this,this.p1i_1=(t=Kx(954879418,!1,sy),(r,n)=>t.n1c(r,n)),this.q1i_1=function(t){return(r,n)=>t.n1c(r,n)}(Kx(1918065384,!1,ay))}}class aw{}class lw{}class uw{h1i(){return null}f14(t){}o1i(t){}y13(){return Bf||(Bf=!0,Ff=Xx()),Ff}x13(){}h14(){}p1a(t){return null}}class hw{constructor(t){this.b1k_1=new gd(t)}c1k(){return this.b1k_1}}class _w extends hw{f1k(t){return this.e1k(t)}g1k(t,r){var n,i;r instanceof yd?(t.a1g_1?(r.j1k_1.mw(t.d1g()),i=r):i=null,n=i):n=r instanceof bd?t.e1g()&&wi(t.d1g(),r.i1k_1)?r:null:r instanceof kd&&t.z1f_1===r.h1k_1?r:null;var e=n;return null==e?function(t,r){var n;if(r.a1g_1){var i,e=r.y1f_1;if(null==e){var s=r.y1(),a=r.x1f_1;i=qk(s,null==a?kk():a)}else i=e;n=new yd(i)}else n=null!=r.z1f_1?new kd(r.z1f_1):null!=r.y1f_1?new yd(r.y1f_1):new bd(r.d1g());return n}(0,t):e}}class ow extends _w{e1k(t){return new Wv(this,t,null===t,null,null,null,!1)}}class fw extends _w{constructor(t,r){super(r),this.m1k_1=t}e1k(t){return new Wv(this,t,null===t,this.m1k_1,null,null,!0)}}class cw extends _w{constructor(t){super(oy),this.o1k_1=new kd(t)}c1k(){return this.o1k_1}e1k(t){return new Wv(this,t,null===t,null,null,null,!0)}}class vw{}class ww{}class dw{}class pw{constructor(t,r){var n;this.a1l_1=r,this.b1l_1=new zh(null!=(n=t).gb(Hl)?n:n.pg(c_())),this.c1l_1=null}m1i(){var t,r,n=this.c1l_1;null==n||(t="Old job was still running!",r=r===b?null:r,n.nn(function(t,r){return cr.vb(t,r)}(t,r))),this.c1l_1=Kh(this.b1l_1,b,b,this.a1l_1)}l1i(){var t=this.c1l_1;null==t||t.nn(gw.j1l()),this.c1l_1=null}n1i(){var t=this.c1l_1;null==t||t.nn(gw.j1l()),this.c1l_1=null}}class mw extends cr{static p1l(t){t=t===b?null:t;var r=this.ub(t);return bi(r,r.o1l_1),r}}class gw extends mw{static j1l(){var t=this.p1l("The coroutine scope left the composition");return bi(t,t.i1l_1),t}}class yw{constructor(t,r){this.q1l_1=t,this.r1l_1=r}hashCode(){return xv(gy(0,this.q1l_1),31)+gy(0,this.r1l_1)|0}toString(){return"JoinedKey(left="+Wn(this.q1l_1)+", right="+Wn(this.r1l_1)+")"}equals(t){if(this===t)return!0;if(!(t instanceof yw))return!1;var r=t instanceof yw?t:Si();return!!wi(this.q1l_1,r.q1l_1)&&!!wi(this.r1l_1,r.r1l_1)}}class bw{}class kw{constructor(t){this.s1l_1=t}toString(){return"OpaqueKey(key="+this.s1l_1+")"}hashCode(){return gi(this.s1l_1)}equals(t){if(this===t)return!0;if(!(t instanceof kw))return!1;var r=t instanceof kw?t:Si();return this.s1l_1===r.s1l_1}}class xw{}class jw{constructor(t,r){this.t1l_1=r,this.u1l_1=t}gm(){return this.t1l_1}mw(t){this.u1l_1.mw(t)}y1(){return this.u1l_1.y1()}}class qw{constructor(t,r){this.v1l_1=t,this.w1l_1=r}x1l(t,r){return $s(ky.bind(b,this,t),r)}cc(t,r){return this.x1l(null!=t&&pe(t,yu)?t:Si(),r)}}class zw{z1l(t,r,n){if(!r.x()){var i=0,e=r.p()-1|0;if(i<=e)do{var s=i;i=i+1|0;var a=r.s(s),l=t.a1m(a,0),u=l instanceof Sw?l:null;null==u||u.b1m(n)}while(i<=e)}}c1m(t,r){var n;if(r.x())n=!1;else{var i;t:{var e=0,s=r.p()-1|0;if(e<=s)do{var a=e;e=e+1|0;var l=r.s(a);if(!!t.v1j(l)&&t.d1m(t.n1a(l),0)instanceof Sw){i=!0;break t}}while(e<=s);i=!1}n=i}return n}}class Sw{constructor(t){this.k11_1=0,this.l11_1=t,this.m11_1=null,this.n11_1=null,this.o11_1=null,this.p11_1=0,this.q11_1=null,this.r11_1=null}o1f(){var t;if(null!=this.l11_1){var r=this.m11_1,n=null==r?null:r.o1f();t=null!=n&&n}else t=!1;return t}w1j(){return!(null==this.n11_1)}e1f(t){this.k11_1=t?1|this.k11_1:-2&this.k11_1}r18(){return!!(1&this.k11_1)}y1c(t){this.k11_1=t?2|this.k11_1:-3&this.k11_1}u1j(){return!!(2&this.k11_1)}n1e(t){this.k11_1=t?4|this.k11_1:-5&this.k11_1}z1c(){return!!(4&this.k11_1)}x19(t){this.k11_1=t?8|this.k11_1:-9&this.k11_1}c1d(){return!!(8&this.k11_1)}n19(t){var r=this.n11_1,n=this.o11_1;if(null!=n&&null!=r){n.e1m(this);try{r(t,1)}finally{n.f1m(this)}return k}if(null==(null==r?null:r(t,1)))throw fr.l3(pi("Invalid restart scope"))}v1h(t){var r=this.l11_1,n=null==r?null:r.t1j(this,t);return null==n?Hg():n}q1f(){var t=this.l11_1;null==t||t.x1j(this),this.l11_1=null,this.q11_1=null,this.r11_1=null;var r=this.o11_1;null==r||r.g1m(this)}b1m(t){this.l11_1=t}s1j(){var t=this.l11_1;null==t||t.t1j(this,null)}p1k(t){this.n11_1=t}w19(t){this.k11_1=t?64|this.k11_1:-65&this.k11_1}v19(){return!!(64&this.k11_1)}o1e(){return!!(16&this.k11_1)}y19(t){this.p11_1=t,jy(this,!1)}i1e(){jy(this,!0)}c1j(t){if(32&this.k11_1)return!1;var r,n=this.q11_1;if(null==n){var i=new Ro;this.q11_1=i,r=i}else r=n;return r.ak(t,this.p11_1,-1)===this.p11_1}j1j(t,r){var n,i=this.r11_1;if(null==i){var e=new Fo;this.r11_1=e,n=e}else n=i;n.vk(t,r)}t1h(){return!(null==this.r11_1)}s11(t){if(null==t)return!0;var r=this.r11_1;if(null==r)return!0;var n,i=r;if(pe(t,ww))n=qy(t,0,i);else if(t instanceof Go){var e;if(t.el()){var s;t:{var a=t.zk_1;r:{var l=t.yk_1,u=l.length-2|0,h=0;if(h<=u)do{var _=h;h=h+1|0;var o=l[_],f=o;if(!f.a3(f.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var c=8-(~(_-u)>>>31|0)|0,v=0;if(v>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n[c],w=null==v||null!=v?v:Si();i[c],t.b1j(w)}u=u.y2(8)}while(o<_);if(8!==_)break t}}while(l!==s)}}finally{xy(this,!1)}}}}l1e(t){var r,n=this.q11_1;if(null==n)r=null;else{var i,e,s=n;if(this.o1e())e=!1;else{var a;t:{var l=s.qj_1,u=s.rj_1;r:{var h=s.pj_1,_=h.length-2|0,o=0;if(o<=_)do{var f=o;o=o+1|0;var c=h[f],v=c;if(!v.a3(v.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var w=8-(~(f-_)>>>31|0)|0,d=0;if(d{if(this.p11_1===t&&s.equals(this.q11_1)&&r instanceof iw){var n=s;t:{var i=n.pj_1,e=i.length-2|0,a=0;if(a<=e)do{var l=a;a=a+1|0;var u=i[l],h=u;if(!h.a3(h.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var _=8-(~(l-e)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=(l<<3)+f|0,v=n.qj_1[c],w=null==v||null!=v?v:Si(),d=!(n.rj_1[c]===t);if(d&&(r.y1j(w,this),pe(w,ww))){r.z1j(w);var p=this.r11_1;null==p||p.f2(w)}d&&n.bk(c)}u=u.y2(8)}while(o<_);if(8!==_){k;break t}}}while(l!==e)}}return k}:null,r=i}return r}}class Cw{constructor(t,r){this.m1n_1=t,this.n1n_1=r}x1l(t,r){return $s(Ey.bind(b,this,t),r)}cc(t,r){return this.x1l(null!=t&&pe(t,yu)?t:Si(),r)}}class Aw extends mt{}class $w{constructor(t){this.t1n_1=t}}class Ew{constructor(t,r){this.u1n_1=t,this.v1n_1=r}}class Iw{constructor(){ec=this,this.h1m_1=F_(Bx().b1y()),this.i1m_1=new pm(!1)}}class Mw{constructor(t){this.j1m_1=t}n1o(t,r,n){return $s(Cy.bind(b,this,t,r),n)}o1o(t,r,n){var i=null!=t&&pe(t,yu)?t:Si();return this.n1o(i,null!=r&&pe(r,$v)?r:Si(),n)}}class Nw{constructor(t,r,n){this.o1n_1=t,this.p1n_1=r,this.q1n_1=n}x1l(t,r){return $s(Iy.bind(b,this,t),r)}cc(t,r){return this.x1l(null!=t&&pe(t,yu)?t:Si(),r)}}class Lw extends uw{constructor(t){Xy(),super(),this.k1m_1=new yt(0,0),this.l1m_1=new Iv((()=>{this.m1m_1;var t=Py(this);if(this.e1n_1.y1().k2(nb())<=0)throw cr.vb("Recomposer shutdown; frame clock awaiter will never resume",this.o1m_1);if(null==t);else{var r=k;t.va(r)}return k})),this.m1m_1=new Object,this.n1m_1=null,this.o1m_1=null,this.p1m_1=Lt.b1(),this.q1m_1=null,this.r1m_1=new Yo;var r=Yn(Array(16),null);this.s1m_1=new op(r,0),this.t1m_1=Lt.b1(),this.u1m_1=Lt.b1(),this.v1m_1=tr.fa(),this.w1m_1=tr.fa(),this.x1m_1=null,this.y1m_1=null,this.z1m_1=null,this.a1n_1=0,this.b1n_1=!1,this.c1n_1=null,this.d1n_1=!1,this.e1n_1=F_(ib());var n=c_(t.gb(Hl));n.in((t=>{var r=cr.vb("Recomposer effect job completed",t),n=null;this.m1m_1;var i=this.n1m_1;if(null!=i?(this.e1n_1.mw(nb()),this.b1n_1?null!=this.z1m_1&&(n=this.z1m_1):i.nn(r),this.z1m_1=null,i.in((r=>{this.m1m_1;var n,i,e=t;null==e?n=null:(null==(i=null==r||r instanceof cr?null:r)||ya(e,i),n=e);return this.o1m_1=n,this.e1n_1.mw(rb()),k}))):(this.o1m_1=r,this.e1n_1.mw(rb())),null==n);else{var e=k;n.va(e)}return k})),this.f1n_1=n,this.g1n_1=t.pg(this.l1m_1).pg(this.f1n_1),this.h1n_1=new $w(this)}r1c(){return this.g1n_1}p1o(t){return function(t,r,n){return $s(Ky.bind(b,t,r),n)}(this,(r=new Mw(this),n=(t,n,i)=>r.n1o(t,n,i),n.$arity=2,n),t);var r,n}r1h(t,r){var n=t.d1i();try{t:{var i=lv.w1n(Jy(0,t),Yy(0,t,null));try{r:{var e=i.x1n();try{t.t1i(r);break r}finally{i.y1n(e)}}break t}finally{Zy(0,i)}}}catch(r){if(r instanceof _r)return Ry(this,r,t,!0),k;throw r}n||lv.l1n(),this.m1m_1,this.e1n_1.y1().k2(nb())>0&&(My(this).o(t)||function(t,r){t.p1m_1.h(r),t.q1m_1=null}(this,t));try{!function(t,r){t.m1m_1;var n,i=t.u1m_1;t:{var e=0,s=i.p()-1|0;if(e<=s)do{var a=e;if(e=e+1|0,wi(i.s(a).i1a_1,r)){n=!0;break t}}while(e<=s);n=!1}if(!n)return k;var l=Lt.b1();for(tb(l,t,r);!l.x();)Vy(t,l,null),tb(l,t,r)}(this,t)}catch(r){if(r instanceof _r)return Ry(this,r,t,!0),k;throw r}try{t.o1j(),t.p1j()}catch(t){if(t instanceof _r)return Ty(this,t),k;throw t}n||lv.l1n()}g14(){return 1e3}g17(){return Xy().i1m_1.js()}d14(){return!1}e14(){return!1}f14(t){}g1i(t){var r;if(this.m1m_1,this.s1m_1.jf(t)?r=null:(this.s1m_1.k1b(t),r=Py(this)),null==r);else{var n=k;r.va(n)}}d1a(t){this.m1m_1,this.u1m_1.h(t);var r=Py(this);if(null==r);else{var n=k;r.va(n)}}h1c(t){this.m1m_1,function(t,r,n){lb();var i,e=t.b2(r);if(null==e){var s=Lt.b1();t.e2(r,s),i=s}else i=e;i.h(n)}(this.v1m_1,t.g1a_1,t)}a1k(t,r){this.m1m_1,this.w1m_1.e2(t,r)}g1c(t){this.m1m_1;var r,n=this.y1m_1;if(null==n){var i=rr.ja();this.y1m_1=i,r=i}else r=n;r.h(t)}p1a(t){return this.m1m_1,this.w1m_1.f2(t)}}class Pw{constructor(){this.l13_1=new Int32Array(0),this.m13_1=0;for(var t=0,r=Yn(Array(0),null);t<0;)r[t]=null,t=t+1|0;this.n13_1=r,this.o13_1=0,this.p13_1=0,this.q13_1=new Object,this.r13_1=!1,this.s13_1=0,this.t13_1=Lt.b1(),this.u13_1=null,this.v13_1=null}k19(){return 0===this.m13_1}w13(){if(this.r13_1)throw fr.l3(pi("Cannot read while a writer is pending"));return this.p13_1=this.p13_1+1|0,new Hw(this)}c17(){return this.r13_1&&Eg("Cannot start a writer when another writer is pending"),this.p13_1<=0||Eg("Cannot start a writer when a reader is pending"),this.r13_1=!0,this.s13_1=this.s13_1+1|0,new Dw(this)}u16(t){this.r13_1&&Eg("use active SlotWriter to create an anchor location instead"),0<=t&&t=0&&wi(this.t13_1.s(n),t)}else r=!1;return r}e1i(t,r){var n;if(this.r13_1&&Eg("Writer is active"),0<=t&&t0||Eg("Unexpected reader close()"),this.p13_1=this.p13_1-1|0,null!=r){this.q13_1;var n=this.u13_1;null!=n?n.g2(r):this.u13_1=r}}r1o(t,r,n,i,e,s,a,l){t.p15_1===this&&this.r13_1||by("Unexpected writer close()"),this.r13_1=!1,this.s1o(r,n,i,e,s,a,l)}s1o(t,r,n,i,e,s,a){this.l13_1=t,this.m13_1=r,this.n13_1=n,this.o13_1=i,this.t13_1=e,this.u13_1=s,this.v13_1=a}s1b(){return this.m13_1>0&&rk(this.l13_1,0)}t1o(t){var r,n,i,e=this.u13_1;if(null==e)r=null;else{var s=(i=t,(n=this).r13_1&&Eg("use active SlotWriter to crate an anchor for location instead"),0<=i&&ithis.k16_1&&tthis.e16_1.t1p(0))n=r+this.u18(r)|0;else{var i=this.e16_1.s1p(r);n=i<0?r+this.u18(r)|0:(Cb(this)-this.w15_1|0)-this.f16_1.p19(i)|0}return t>r&&t0&&this.x15_1!==this.z15_1){var r=this.h16_1,n=null==r?new Lo:r;this.h16_1=n;var i,e=this.k16_1,s=n.s(e);if(null==s){var a=new Ho;n.bj(e,a),i=a}else i=s;return i.h(t),wg().m17_1}return _b(this,t)}x1p(t,r){0!==this.c16_1&&Eg("Can only append a slot if not current inserting");var n=this.x15_1,i=this.y15_1,e=this.n1a(t),s=Mb(this.q15_1,this,Ab(this,e+1|0));this.x15_1=s,this.y15_1=s,xb(this,1,e),n>=s&&(n=n+1|0,i=i+1|0),this.r15_1[s]=r,this.x15_1=n,this.y15_1=i}y1p(t){gg(t>0);var r=this.k16_1,n=Nb(this.q15_1,this,Ab(this,r)),i=Mb(this.q15_1,this,Ab(this,r+1|0))-t|0;gg(i>=n),zb(this,i,t,r);var e=this.x15_1;e>=n&&(this.x15_1=e-t|0)}h1p(t){var r=Ab(this,this.i16_1);sk(this.q15_1,r)||Eg("Updating the data of a group that was not created with a data slot"),this.r15_1[$b(this,Ob(this.q15_1,this,r))]=t}r1e(t){this.c16_1>0&&ob(this,this.k16_1,t)}t1e(t,r){if(this.c16_1>0){var n=this.u15_1;null==n||function(t,r,n){var i,e=t.s(r);if(null==e){var s=new Oo;t.bj(r,s),i=s}else i=e;i.ni(n)}(n,t,this.w16(this.k16_1));var i=ob(this,this.k16_1,null);null==i||i.z1p(t,r,fb(this))}}v1e(){if(this.c16_1>0){var t=ob(this,this.k16_1,null);null==t||t.a1q(fb(this))}}i1p(t){return Sb(this,this.i16_1,t)}b1q(t,r){return Sb(this,t.v1p(this),r)}e1p(t){this.x15_1<=this.y15_1||Eg("Writing to an invalid slot"),this.r15_1[$b(this,this.x15_1-1|0)]=t}c1q(t,r){return this.d1q(this.i16_1,t,r)}e1q(t,r){var n=Ab(this,t),i=Nb(this.q15_1,this,n),e=Mb(this.q15_1,this,Ab(this,t+1|0)),s=i+r|0;return s>=i&&s0&&xb(this,1,this.k16_1);var t=this.r15_1,r=this.x15_1;return this.x15_1=r+1|0,t[$b(this,r)]}a1m(t,r){return this.f1q(this.n1a(t),r)}f1q(t,r){var n=Ab(this,t),i=Nb(this.q15_1,this,n),e=Mb(this.q15_1,this,Ab(this,t+1|0)),s=i+r|0;if(!(i<=s&&s=0||Eg("Cannot seek backwards"),this.c16_1<=0||yy("Cannot call seek() while inserting"),0===t)return k;var r=this.i16_1+t|0;r>=this.k16_1&&r<=this.j16_1||Eg("Cannot seek outside the current group ("+this.k16_1+"-"+this.j16_1+")"),this.i16_1=r;var n=Mb(this.q15_1,this,Ab(this,r));this.x15_1=n,this.y15_1=n}d17(){var t=this.j16_1;this.i16_1=t,this.x15_1=Mb(this.q15_1,this,Ab(this,t))}d18(){var t=this.c16_1;this.c16_1=t+1|0,0===t&&pb(this)}j19(){this.c16_1>0||yy("Unbalanced begin/end insert"),this.c16_1=this.c16_1-1|0,0===this.c16_1&&(this.g16_1.p()!==this.e16_1.p()&&Eg("startGroup/endGroup mismatch while inserting"),mb(this))}k17(){0!==this.c16_1&&Eg("Key must be supplied when inserting"),cb(this,0,wg().m17_1,!1,wg().m17_1)}o17(t,r){return cb(this,t,r,!1,wg().m17_1)}q17(t,r){return cb(this,t,r,!0,wg().m17_1)}p17(t,r,n){return cb(this,t,r,!1,n)}i19(){var t=this.c16_1>0,r=this.i16_1,n=this.j16_1,i=this.k16_1,e=Ab(this,i),s=this.d16_1,a=r-i|0,l=lk(this.q15_1,e);if(t){var u=this.h16_1,h=null==u?null:u.s(i);if(null==h);else{var _=h.dk_1,o=0,f=h.ek_1;if(o=r&&t=t;)a.k1p();var l=jb(this,t,this.i16_1-t|0);return zb(this,n,this.x15_1-n|0,t-1|0),this.i16_1=t,this.x15_1=r,this.d16_1=this.d16_1-i|0,l}k1q(t){if(0!==this.c16_1&&Eg("Cannot move a group while inserting"),t>=0||Eg("Parameter offset is out of bounds"),0===t)return k;for(var r=this.i16_1,n=this.k16_1,i=this.j16_1,e=t,s=r;e>0;)(s=s+tk(this.q15_1,Ab(this,s))|0)<=i||Eg("Parameter offset is out of bounds"),e=e-1|0;var a=tk(this.q15_1,Ab(this,s)),l=Mb(this.q15_1,this,Ab(this,this.i16_1)),u=Mb(this.q15_1,this,Ab(this,s)),h=Mb(this.q15_1,this,Ab(this,s+a|0)),_=h-u|0,o=this.i16_1-1|0;xb(this,_,Math.max(o,0)),kb(this,a);var f=this.q15_1,c=Ab(this,s+a|0),v=xv(c,5),w=Ab(this,r);if(Ge(f,f,xv(w,5),v,v+xv(a,5)|0),_>0){var d=this.r15_1;Ge(d,d,l,$b(this,u+_|0),$b(this,h+_|0))}var p=(u+_|0)-l|0,m=this.z15_1,g=this.a16_1,y=this.r15_1.length,b=this.b16_1,x=r,j=r+a|0;if(x=0)t:for(;a=r&&h=t.v15_1?v.g1b_1=0|-(s-w|0):v.g1b_1=w;var d=pk(t.s15_1,w,s);t.s15_1.u1(d,v)}while(o<=f)})(this,s+a|0,r,a),jb(this,s+a|0,a)&&Eg("Unexpectedly removed anchors"),gb(this,n,this.j16_1,r),_>0&&zb(this,u+_|0,_,(s+a|0)-1|0)}l1q(t,r,n){gg(n.c16_1>0),gg(0===this.c16_1),gg(t.o1f());var i=this.n1a(t)+r|0,e=this.i16_1;gg(e<=i&&i0;h>=e;){var o=Ab(this,h);ck(this.q15_1,o,tk(this.q15_1,o)-a|0),_&&(lk(this.q15_1,o)?_=!1:vk(this.q15_1,o,uk(this.q15_1,o)-l|0)),h=this.t16(h)}return _&&(gg(this.d16_1>=l),this.d16_1=this.d16_1-l|0),u}m1q(t,r,n){if(gg(this.c16_1>0),0===r&&0===this.i16_1&&0===this.p15_1.m13_1&&tk(t.l13_1,r)===t.m13_1){var i=this.q15_1,e=this.r15_1,s=this.s15_1,a=this.t15_1,l=this.u15_1,u=t.l13_1,h=t.m13_1,_=t.n13_1,o=t.o13_1,f=t.u13_1,c=t.v13_1;return this.q15_1=u,this.r15_1=_,this.s15_1=t.t13_1,this.v15_1=h,this.w15_1=(u.length/5|0)-h|0,this.z15_1=o,this.a16_1=_.length-o|0,this.b16_1=h,this.t15_1=f,this.u15_1=c,t.s1o(i,0,e,0,s,a,l),this.s15_1}var v,w=t.c17(),d=!1;try{var p=ub(0,w,r,this,!0,!0,n);d=!0,v=p}finally{w.h17(d)}return v}n1q(t,r,n){gg(this.c16_1<=0&&1===this.u18(this.i16_1+t|0));var i=this.i16_1,e=this.x15_1,s=this.y15_1;this.c1p(t),this.k17(),this.d18();var a,l=r.c17(),u=!1;try{var h=hb(0,l,n,this,!1,!0);u=!0,a=h}finally{l.h17(u)}var _=a;return this.j19(),this.i19(),this.i16_1=i,this.x15_1=e,this.y15_1=s,_}u16(t){var r,n=this.s15_1,i=Xb(n,t,this.u1o());if(i<0){var e=new Rw(t<=this.v15_1?t:0|-(this.u1o()-t|0));n.u1(0|-(i+1|0),e),r=e}else r=n.s(i);return r}o1q(t){var r,n,i=Ab(this,t);ok(this.q15_1,i)||(!0,(r=this.q15_1)[n=xv(i,5)+1|0]=134217728|r[n],rk(this.q15_1,i)||wb(this,this.t16(t)))}a1a(t,r){var n;return t=t===b?this.k16_1:t,r===b?(this.o1q(t),n=k):n=r.o1q.call(this,t),n}n1a(t){var r=t.g1b_1;return r<0?this.u1o()+r|0:r}toString(){return"SlotWriter(current = "+this.i16_1+" end="+this.j16_1+" size = "+this.u1o()+" gap="+this.v15_1+"-"+(this.v15_1+this.w15_1|0)+")"}m1p(t){return 0<=t&&t=0){var u,h=t.m1p(r);if(null!=h){var _;t:{for(var o=0,f=l.p();o=0;){var i=r.s(n);i instanceof Rw?wi(i,t)&&r.v1(n):i instanceof Tw&&(i.j1q(t)||r.v1(n)),n=n-1|0}return!r.x()||(this.y1o_1=null,!1)}return!0}}class Hw{constructor(t){this.v14_1=t,this.w14_1=this.v14_1.l13_1,this.x14_1=this.v14_1.m13_1,this.y14_1=this.v14_1.n13_1,this.z14_1=this.v14_1.o13_1,this.a15_1=null,this.b15_1=!1,this.c15_1=0,this.d15_1=this.x14_1,this.e15_1=-1,this.f15_1=new pd,this.g15_1=0,this.h15_1=0,this.i15_1=0,this.j15_1=!1}p(){return this.x14_1}t16(t){return nk(this.w14_1,t)}h1e(){return lk(this.w14_1,this.c15_1)}q19(t){return lk(this.w14_1,t)}r19(t){return uk(this.w14_1,t)}n1b(t){return lk(this.w14_1,t)?function(t,r,n){var i;return i=lk(t,n)?r.y14_1[function(t,r){return t[xv(r,5)+4|0]}(t,n)]:wg().m17_1,i}(this.w14_1,this,t):null}a19(){return this.l19()||this.c15_1===this.d15_1}l19(){return this.g15_1>0}q1q(){return tk(this.w14_1,this.c15_1)}u18(t){return tk(this.w14_1,t)}z18(){return this.d15_1}z17(){return this.c15_1=0?uk(this.w14_1,this.e15_1):0}c19(){return this.i15_1-this.h15_1|0}d1e(t){return this.w1b(this.c15_1,t)}w1b(t,r){var n=t+1|0,i=ek(this.w14_1,t)+r|0;return i<(n0||this.h15_1>=this.i15_1)return this.j15_1=!1,wg().m17_1;this.j15_1=!0;var t=this.h15_1;return this.h15_1=t+1|0,this.y14_1[t]}n17(){this.g15_1=this.g15_1+1|0}h19(){this.g15_1>0||by("Unbalanced begin/end empty"),this.g15_1=this.g15_1-1|0}k15(){this.b15_1=!0,this.v14_1.q1o(this,this.a15_1)}k17(){if(this.g15_1<=0){var t=this.e15_1,r=this.c15_1;nk(this.w14_1,r)!==t&&by("Invalid slot table detected");var n=this.a15_1,i=null==n?null:n.b2(this.u16(t));null==i||i.p1q(this.v14_1,r);var e=this.f15_1,s=this.h15_1,a=this.i15_1;0===s&&0===a?e.b14(-1):e.b14(s),this.e15_1=r,this.d15_1=r+tk(this.w14_1,r)|0,this.c15_1=r+1|0,this.h15_1=ek(this.w14_1,r),this.i15_1=r>=(this.x14_1-1|0)?this.z14_1:ik(this.w14_1,r+1|0)}}l17(){this.g15_1<=0&&(lk(this.w14_1,this.c15_1)||by("Expected a node group"),this.k17())}q16(){0!==this.g15_1&&Eg("Cannot skip while in an empty region");var t=lk(this.w14_1,this.c15_1)?1:uk(this.w14_1,this.c15_1);return this.c15_1=this.c15_1+tk(this.w14_1,this.c15_1)|0,t}d17(){0!==this.g15_1&&Eg("Cannot skip the enclosing group while in an empty region"),this.c15_1=this.d15_1,this.h15_1=0,this.i15_1=0}n18(t){0!==this.g15_1&&Eg("Cannot reposition while in an empty region"),this.c15_1=t;var r=t=t&&n<=r||Eg("Index "+t+" is not a parent of "+n),this.e15_1=t,this.d15_1=r,this.h15_1=0,this.i15_1=0}f19(){if(0===this.g15_1){this.c15_1!==this.d15_1&&Eg("endGroup() not called at the end of a group");var t=nk(this.w14_1,this.e15_1);this.e15_1=t,this.d15_1=t<0?this.x14_1:t+tk(this.w14_1,t)|0;var r=this.f15_1.l15();r<0?(this.h15_1=0,this.i15_1=0):(this.h15_1=r,this.i15_1=t>=(this.x14_1-1|0)?this.z14_1:ik(this.w14_1,t+1|0))}}a18(){var t=Lt.b1();if(this.g15_1>0)return t;for(var r=0,n=this.c15_1;n0;){var n=((r+1|0)>>>1|0)-1|0,i=this.j1p_1.s(n);if(!(t>i))break t;this.j1p_1.t1(r,i),r=n}this.j1p_1.t1(r,t)}el(){return!this.j1p_1.x()}e1d(){return function(t){if(t.x())throw dr.w("List is empty.");return t.s(0)}(this.j1p_1)}k1p(){this.j1p_1.p()>0||Eg("Set is empty");var t=this.j1p_1.s(0);t:for(;!this.j1p_1.x()&&this.j1p_1.s(0)===t;){this.j1p_1.t1(0,Rn(this.j1p_1)),this.j1p_1.v1(this.j1p_1.p()-1|0);var r=0,n=this.j1p_1.p(),i=this.j1p_1.p()>>>1|0;r:for(;ra){if(u>e){this.j1p_1.t1(r,u),this.j1p_1.t1(l,e),r=l;continue r}break r}}if(!(a>e))break r;this.j1p_1.t1(r,a),this.j1p_1.t1(s,e),r=s}}return t}}class Kw{constructor(t,r,n,i,e){this.e18_1=t,this.f18_1=r,this.g18_1=n,this.h18_1=i,this.i18_1=e}}class Gw{constructor(t,r,n,i){this.y1q_1=t,this.z1q_1=r,this.a1r_1=n,this.b1r_1=i,this.c1r_1=this.y1q_1.s13_1,this.d1r_1=0}m(){var t,r=this.a1r_1.y1o_1;return null!=(t=null==r?null:this.d1r_1=this.z13_1.length&&(this.z13_1=Ie(this.z13_1,xv(this.z13_1.length,2)));var r=this.z13_1,n=this.a14_1;this.a14_1=n+1|0,r[n]=t}l15(){var t=this.z13_1;return this.a14_1=this.a14_1-1|0,t[this.a14_1]}t1p(t){return this.a14_1>0?this.e1d():t}e1d(){return this.z13_1[this.a14_1-1|0]}q18(){return this.z13_1[this.a14_1-2|0]}p19(t){return this.z13_1[t]}x(){return 0===this.a14_1}s1(){this.a14_1=0}s1p(t){var r=0,n=this.a14_1;if(r0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&l.t9(", "),l.t9(e.o1t(_)),a=a+1|0)}while(h0&&c.t9(", "),c.t9(e.p1t(d)),f=f+1|0)}while(w0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&l.t9(", "),l.t9(e.o1t(_)),a=a+1|0)}while(h0&&c.t9(", "),c.t9(e.p1t(d)),f=f+1|0)}while(w0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&l.t9(", "),l.t9(e.o1t(_)),a=a+1|0)}while(h0&&c.t9(", "),c.t9(e.p1t(d)),f=f+1|0)}while(w0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&s.t9(", "),s.t9(n.o1t(u)),e=e+1|0)}while(l0&&o.t9(", "),o.t9(n.p1t(v)),_=_+1|0)}while(c0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0&&u.t9(", "),u.t9(s.o1t(o)),l=l+1|0)}while(_0&&v.t9(", "),v.t9(s.p1t(p)),c=c+1|0)}while(d0&&l.t9(", "),l.t9(e.o1t(_)),a=a+1|0)}while(h0&&c.t9(", "),c.t9(e.p1t(d)),f=f+1|0)}while(w0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v0){var t=Sk(this),r=t.e15_1;if(this.l14_1.t1p(-2)!==r&&(!(i=this).k14_1&&i.m14_1&&(Ek(i),i.j14_1.x1t(),i.k14_1=!0),r>0)){var n=t.u16(r);this.l14_1.b14(r),function(t,r){Ek(t),t.j14_1.y1t(r),t.k14_1=!0}(this,n)}}var i}w1d(){return(Sk(this).e15_1-this.n14_1|0)<0}z1d(t){this.j14_1.k1t(t)}u1d(t,r){$k(this,!0),this.j14_1.q1t(t,r)}v1d(t,r,n){this.j14_1.r1t(t,r,n)}s1d(t,r){this.j14_1.s1t(t,r)}d19(t){t>0&&(Ak(this),this.j14_1.t1t(t))}f1a(){this.j14_1.u1t()}i17(t){Ek(this),this.j14_1.w1t(t)}u14(){this.k14_1&&(Ek(this),Ek(this),this.j14_1.z1t(),this.k14_1=!1)}e19(){var t=Sk(this).e15_1;this.l14_1.t1p(-1)<=t||Eg("Missed recording an endGroup"),this.l14_1.t1p(-1)===t&&(Ek(this),this.l14_1.l15(),this.j14_1.z1t())}v1a(){this.j14_1.a1u()}q1b(){Ak(this),this.j14_1.b1u(),this.n14_1=this.n14_1+Sk(this).q1q()|0}p1b(t,r){Nk(this),Ak(this),Mk(this),this.j14_1.c1u(t,r)}o1b(t,r,n){Nk(this),Ak(this),Mk(this),this.j14_1.d1u(t,r,n)}o18(t){Ak(this),this.j14_1.e1u(t)}m1e(t,r){this.j14_1.f1u(t,r)}h1d(t){Ck(this),this.j14_1.g1u(t)}k1d(t,r){Ck(this),this.j14_1.h1u(t,r)}s18(t,r){r>0&&(t>=0||Eg("Invalid remove index "+t),this.q14_1===t?this.t14_1=this.t14_1+r|0:(Mk(this),this.q14_1=t,this.t14_1=r))}w18(t,r,n){n>0&&(this.t14_1>0&&this.r14_1===(t-this.t14_1|0)&&this.s14_1===(r-this.t14_1|0)?this.t14_1=this.t14_1+n|0:(Mk(this),this.r14_1=t,this.s14_1=r,this.t14_1=n))}r1b(){Nk(this),this.k14_1&&(this.v1a(),this.u14())}y18(){Mk(this)}k1c(t,r){this.y18(),Nk(this);var n=Sk(this).q19(r)?1:Sk(this).r19(r);n>0&&this.s18(t,n)}b19(){Mk(this),this.p14_1.el()?this.p14_1.l15():this.o14_1=this.o14_1+1|0}t19(t){Mk(this),this.p14_1.p18(t)}b1e(t){this.j14_1.n1u(t)}o1a(t,r){Nk(this),this.j14_1.o1u(t,r)}r1a(t,r){this.j14_1.p1u(t,r)}s1a(t,r,n,i){this.j14_1.q1u(t,r,n,i)}j1c(t,r,n){this.j14_1.r1u(t,r,n)}w1a(){this.j14_1.s1u(),this.n14_1=0}u1a(t,r){this.j14_1.t1u(t,r)}t1b(){Nk(this),this.l14_1.x()||Eg("Missed recording an endGroup()")}u1b(){this.k14_1=!1,this.l14_1.s1(),this.n14_1=0}}class Sd extends xd{constructor(){super(),this.n15_1=new _p,this.o15_1=new _p}x(){return this.n15_1.x()}s1(){this.o15_1.s1(),this.n15_1.s1()}v1u(t,r,n){this.o15_1.x()||Eg("FixupList has pending fixup operations that were not realized. Were there mismatched insertNode() and endNodeInsert() calls?"),this.n15_1.j1t(t,r,n)}f1d(t,r,n){var i=this.n15_1,e=Xk();i.l1t(e);var s=i;if(Xk(),hx(s,0,t),Xk(),ux(s,0,r),Xk(),hx(s,1,n),fx(i)!==vx(0,e.m1t_1)||cx(i)!==vx(0,e.n1t_1)){var a=0,l=Or.j(),u=e.m1t_1,h=0;if(h0&&l.t9(", "),l.t9(e.o1t(_)),a=a+1|0)}while(h0&&c.t9(", "),c.t9(e.p1t(d)),f=f+1|0)}while(w0&&k.t9(", "),k.t9(g.o1t(q)),b=b+1|0)}while(j0&&C.t9(", "),C.t9(g.p1t(E)),S=S+1|0)}while($0&&a.t9(", "),a.t9(i.o1t(h)),s=s+1|0)}while(u0&&f.t9(", "),f.t9(i.p1t(w)),o=o+1|0)}while(v=0&&!t.q19(n);)n=t.t16(n);var i=0;for(n=n+1|0;n0?new Sv(r,l):r,u.z1h(e,n,i)}}class lp{constructor(t,r){this.o1x_1=t,this.p1x_1=r}t1j(t,r){var n=this.o1x_1,i=pe(n,nw)?n:null,e=null==i?null:i.t1j(t,r),s=null==e?Hg():e;if(s.equals(Hg())){var a=this.p1x_1;return a.l1a_1=Dn(a.l1a_1,kl(t,r)),Ug()}return s}x1j(t){}b1j(t){}}class up{constructor(t){this.t1x_1=t,this.q1x_1=0,this.r1x_1=0,this.s1x_1=0}n(){if(this.q1x_1>=this.t1x_1.c1t_1)return!1;var t=this.u1x();return this.r1x_1=this.r1x_1+t.m1t_1|0,this.s1x_1=this.s1x_1+t.n1t_1|0,this.q1x_1=this.q1x_1+1|0,this.q1x_1(e=n.d1t_1.length)&&(n.d1t_1=Ie(n.d1t_1,_x(0,e,i))),function(t,r){var n=t.f1t_1.length;r>n&&(t.f1t_1=Me(t.f1t_1,_x(0,n,r)))}(this,this.g1t_1+t.n1t_1|0);var s=this.b1t_1,a=this.c1t_1;this.c1t_1=a+1|0,s[a]=t,this.e1t_1=this.e1t_1+t.m1t_1|0,this.g1t_1=this.g1t_1+t.n1t_1|0}v1t(t){0===t.m1t_1&&0===t.n1t_1||by("Cannot push "+t.toString()+" without arguments because it expects "+t.m1t_1+" ints and "+t.n1t_1+" objects."),this.l1t(t)}w1u(t){if(this.x())throw dr.w("Cannot pop(), because the stack is empty.");var r=this.b1t_1;this.c1t_1=this.c1t_1-1|0;var n=zi(r[this.c1t_1]);this.b1t_1[this.c1t_1]=null,t.l1t(n);var i=this.g1t_1,e=t.g1t_1,s=n.n1t_1,a=0;if(at.y1x(r,n)).$arity=1,r));var t,r}z1x(t){var r;t:if(pe(t,ht)&&t.x())r=!0;else{for(var n=t.l();n.m();){var i=n.n();if(!this.w1h_1.o(i)){r=!1;break t}}r=!0}return r}p1(t){return this.z1x(t)}jf(t){return this.w1h_1.o(t)}o(t){return(null==t||null!=t)&&this.jf(null==t||null!=t?t:Si())}}class vp{constructor(){this.f1b_1=(vf(),new Fo)}p(){return this.f1b_1.p()}y1h(t,r){var n,i=this.f1b_1,e=i.wk(t),s=e<0;if(s)n=null;else{var a=i.mk_1[e];n=null==a||null!=a?a:Si()}var l,u=n;if(null==u)l=r;else if(u instanceof Yo)(u instanceof Yo?u:Si()).h(r),l=u;else{var h;if(u!==r){var _=new Yo;_.h(null!=u?u:Si()),_.h(r),h=_}else h=u;l=h}var o=l;if(s){var f=~e;i.lk_1[f]=t,i.mk_1[f]=o}else i.mk_1[e]=o}f1i(t,r){this.f1b_1.vk(t,r)}x1h(t){return this.f1b_1.z1(t)}u1h(t,r){var n=this.f1b_1.b2(t);if(null==n)return!1;var i,e=n;if(e instanceof Yo){var s=e instanceof Yo?e:Si(),a=s.q1(r);return a&&s.x()&&this.f1b_1.f2(t),a}return wi(e,r)?(this.f1b_1.f2(t),i=!0):i=!1,i}g1j(t){var r=this.f1b_1;t:{var n=r.kk_1,i=n.length-2|0,e=0;if(e<=i)do{var s=e;e=e+1|0;var a=n[s],l=a;if(!l.a3(l.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var u=8-(~(s-i)>>>31|0)|0,h=0;if(h>>31|0)|0,f=0;if(f0&&e<=s||a<0&&s<=e)do{var l=e;if(e=e+a|0,wi(r,qx(t,l))){if(n===zx(t,l))return null;var u=t.r1y_1.slice();return u[l+1|0]=n,xx(Tp.t21(0,0,u))}}while(l!==s);var h=Tx(t.r1y_1,0,r,n);return kx(Tp.t21(0,0,h))}(u,r,n);if(null==h)return null;a=h}else{var _=u.u1y(t,r,n,i+5|0);if(null==_)return null;a=_}var o=a,f=o,c=o.v1y_1;return f.v1y_1=Sx(this,l,e,c),o}return kx(function(t,r,n,i){var e=t.n20(r),s=Tx(t.r1y_1,e,n,i);return Tp.t21(t.o1y_1|r,t.p1y_1,s)}(this,e,r,n))}q1z(t,r,n,i,e){var s=1<0&&s<=a||l<0&&a<=s)do{var u=s;if(s=s+l|0,wi(r,qx(t,u))){if(i.f1z_1=zx(t,u),t.q1y_1===i.d1z_1)return t.r1y_1[u+1|0]=n,t;i.g1z_1=i.g1z_1+1|0;var h=t.r1y_1.slice();return h[u+1|0]=n,Tp.u21(0,0,h,i.d1z_1)}}while(u!==a);var _=i.p();i.j1z(_+1|0);var o=Tx(t.r1y_1,0,r,n);return Tp.u21(0,0,o,i.d1z_1)}(_,r,n,e):_.q1z(t,r,n,i+5|0,e),_===u?this:Cx(this,h,u,e.d1z_1)}var o=e.p();return e.j1z(o+1|0),function(t,r,n,i,e){var s=t.n20(r);if(t.q1y_1===e)return t.r1y_1=Tx(t.r1y_1,s,n,i),t.o1y_1=t.o1y_1|r,t;var a=Tx(t.r1y_1,s,n,i);return Tp.u21(t.o1y_1|r,t.p1y_1,a,e)}(this,s,r,n,e.d1z_1)}x1y(t,r,n){var i=1<0&&i<=e||s<0&&e<=i)do{var a=i;if(i=i+s|0,wi(r,qx(t,a)))return Ix(t,a)}while(a!==e);return t}(l,r):l.x1y(t,r,n+5|0),function(t,r,n,i,e){return null==n?function(t,r,n){if(1===t.r1y_1.length)return null;var i=Hx(t.r1y_1,r);return Tp.t21(t.o1y_1,t.p1y_1^n,i)}(t,i,e):r!==n?Sx(t,i,e,n):t}(this,l,s,a,i)}return this}t1z(t,r,n,i){var e=1<0&&e<=s||a<0&&s<=e)do{var l=e;if(e=e+a|0,wi(r,qx(t,l)))return Mx(t,l,n)}while(l!==s);return t}(u,r,i):u.t1z(t,r,n+5|0,i),Dx(this,u,a,l,e,i.d1z_1)}return this}v1z(t,r,n,i,e){var s=1<0&&s<=a||l<0&&a<=s)do{var u=s;if(s=s+l|0,wi(r,qx(t,u))&&wi(n,zx(t,u)))return Mx(t,u,i)}while(u!==a);return t}(h,r,n,e):h.v1z(t,r,n,i+5|0,e),Dx(this,h,l,u,s,e.d1z_1)}return this}}class Hp{constructor(){Fc=this,this.a1y_1=Up.z21(Bc,Bc,px().l1y())}b1y(){return this.a1y_1}}class Up extends Fr{static z21(t,r,n){Bx();var i=this.te();return i.w21_1=t,i.x21_1=r,i.y21_1=n,i}p(){return this.y21_1.p()}o(t){return this.y21_1.z1(t)}h(t){if(this.y21_1.z1(t))return this;if(this.x()){var r=this.y21_1.e2(t,Fp.c22());return Up.z21(t,t,r)}var n=this.x21_1,i=null==n||null!=n?n:Si(),e=zi(this.y21_1.b2(i)),s=this.y21_1.e2(i,e.d22(t)).e2(t,Fp.e22(i));return Up.z21(this.w21_1,t,s)}q1(t){var r=this.y21_1.b2(t);if(null==r)return this;var n=r,i=this.y21_1.f2(t);if(n.f22()){var e=i,s=n.a22_1,a=zi((pe(e,ct)?e:Si()).b2(s)),l=i,u=n.a22_1;i=l.e2(null==u||null!=u?u:Si(),a.d22(n.b22_1))}if(n.h22()){var h=i,_=n.b22_1,o=zi((pe(h,ct)?h:Si()).b2(_)),f=i,c=n.b22_1;i=f.e2(null==c||null!=c?c:Si(),o.g22(n.a22_1))}var v=n.f22()?this.w21_1:n.b22_1,w=n.h22()?this.x21_1:n.a22_1;return Up.z21(v,w,i)}l(){return new Bp(this.w21_1,this.y21_1)}}class Fp{static i22(t,r){var n=xi(this);return n.a22_1=t,n.b22_1=r,n}static c22(){return this.i22(Bc,Bc)}static e22(t){return this.i22(t,Bc)}d22(t){return Fp.i22(this.a22_1,t)}g22(t){return Fp.i22(t,this.b22_1)}h22(){return!(this.b22_1===Bc)}f22(){return!(this.a22_1===Bc)}}class Bp{constructor(t,r){this.j22_1=t,this.k22_1=r,this.l22_1=0}m(){return this.l22_1=0?this.w1s_1[r]:null}y1s(t,r){var n=tj(this,t);return!(n<0||(this.w1s_1[n]=r,0))}z1s(t,r){for(var n=this.u1s_1,i=0,e=this.w1s_1,s=0,a=e.length;s1){var o=0,f=0;t:for(;o0){h[o]=t,_[o]=r,o=o+1|0;break t}null!=v&&(h[o]=c,_[o]=v,o=o+1|0),f=f+1|0}if(f===n)h[u-1|0]=t,_[u-1|0]=r;else for(;o(ej(),oj(Tn(fj(),t)),k)))}j23(t){return ej(),cj(Dn(vj(),t)),xj(),new rm((()=>(ej(),cj(Tn(vj(),t)),xj(),k)))}l1n(){return bj().k23()}j1n(){ej();var t=wj().js().l23();!0===(null==t?null:t.el())&&xj()}}class im{constructor(t,r){this.a1b_1=r,this.b1b_1=t,this.c1b_1=!1,this.d1b_1=0!==t?function(t,r){Kj();var n=r.k25(t);return ej(),hj().ni(n)}(t,this.m23()):-1}n23(t){this.a1b_1=t}m23(){return this.a1b_1}o23(t){this.b1b_1=t}e1b(){return this.b1b_1}p23(t){throw fr.l3(pi("Updating write count is not supported for this snapshot"))}q23(){return 0}bq(){this.c1b_1=!0,ej(),this.s23()}x1n(){var t=ij().js();return ij().z1k(this),t}y1n(t){ij().z1k(t)}w23(){ej(),this.x23(),this.y23()}x23(){sj(aj().d24(this.e1b()))}y23(){this.s23()}e24(){this.c1b_1&&by("Cannot use a disposed snapshot")}s23(){this.d1b_1>=0&&(yj(this.d1b_1),this.d1b_1=-1)}f24(){var t=this.d1b_1;return this.d1b_1=-1,t}}class em{constructor(){uv=this,this.h24_1=new Int32Array(0)}}class sm extends im{constructor(t,r,n,i){mj(),super(t,r),this.d1o_1=n,this.e1o_1=i,this.f1o_1=0,this.g1o_1=null,this.h1o_1=null,this.i1o_1=Jj().i24_1,this.j1o_1=mj().h24_1,this.k1o_1=1,this.l1o_1=!1}t23(){return this.d1o_1}u23(){return this.e1o_1}i23(t,r){var n;this.e24(),!(n=this).l1o_1||function(t){return t.d1b_1}(n)>=0||yy("Unsupported operation on a disposed or applied snapshot"),this.j24(this.e1b()),ej();var i=uj();lj(i+1|0);var e=i;sj(aj().k24(e));var s=this.m23();this.n23(s.k24(e));var a=new _m(e,qj(s,this.e1b()+1|0,e),function(t,r,n){n=n===b||n,Kj();var i=n?r:null;return null!=t&&null!=i&&t!==i?r=>(t(r),i(r),k):null==t?i:t}(t,this.t23()),function(t,r){return Kj(),null==t||null==r||t===r?null==t?r:t:n=>(t(n),r(n),k)}(r,this.u23()),this);if(!this.l1o_1&&!this.c1b_1){var l=this.e1b();ej();var u=Hj();Uj(u+1|0),this.o23(u),Tj(Rj().k24(this.e1b())),this.n23(qj(this.m23(),l+1|0,this.e1b()))}return a}m1o(){var t=this.l23(),r=null!=t?zj(wj().js(),this,aj().d24(wj().js().e1b())):null,n=Da(),i=null;if(ej(),Sj(this),null==t||0===t.p()){this.x23();var e=wj().js();Cj(e,nj());var s=e.l23();null!=s&&s.el()&&(n=fj(),i=s)}else{var a=wj().js(),l=this.l24(uj(),r,aj().d24(a.e1b()));if(!wi(l,gj()))return l;this.x23(),Cj(a,nj());var u=a.l23();this.g24(null),a.g24(null),n=fj(),i=u}if(this.l1o_1=!0,null!=i){var h=wx(zi(i));if(!h.x()){var _=n,o=0,f=_.p()-1|0;if(o<=f)do{var c=o;o=o+1|0,_.s(c)(h,this)}while(o<=f)}}if(null!=t&&t.el()){var v=wx(t),w=n,d=0,p=w.p()-1|0;if(d<=p)do{var m=d;d=d+1|0,w.s(m)(v,this)}while(d<=p)}ej(),this.y23(),Aj();var g=i;if(null==g);else{var y=g.zk_1;t:{var b=g.yk_1,k=b.length-2|0,x=0;if(x<=k)do{var j=x;x=x+1|0;var q=b[j],z=q;if(!z.a3(z.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var S=8-(~(j-k)>>>31|0)|0,C=0;if(C>>31|0)|0,R=0;if(R0||by("no pending nested snapshots"),this.k1o_1=this.k1o_1-1|0,0===this.k1o_1&&(this.l1o_1||function(t){var r,n,i=t.l23();if(null!=i){!function(t){t.l1o_1&&yy("Unsupported operation on a snapshot that has been applied")}(t),t.g24(null);var e=t.e1b(),s=i.zk_1;t:{var a=i.yk_1,l=a.length-2|0,u=0;if(u<=l)do{var h=u;u=u+1|0;var _=a[h],o=_;if(!o.a3(o.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var f=8-(~(h-l)>>>31|0)|0,c=0;if(c=0))&&(d.e1s_1=0),d=d.f1s_1;_=_.y2(8)}while(c>>31|0)|0,w=0;if(w=0){var r=this.j1o_1,n=new Int32Array([t]);this.j1o_1=ae([r,n])}}s24(t){if(0===t.length)return k;var r,n=this.j1o_1;r=0===n.length?t:ae([n,t]),this.j1o_1=r}t24(t){ej(),this.i1o_1=this.i1o_1.q24(t)}v23(t){var r,n=this.l23();if(null==n){var i=bf();this.g24(i),r=i}else r=n;r.h(t)}p23(t){this.f1o_1=t}q23(){return this.f1o_1}g24(t){this.g1o_1=t}l23(){return this.g1o_1}}class am{}class lm extends am{constructor(){hv=null,super(),hv=this}}class um extends am{constructor(t){super(),this.u24_1=t}}class hm extends sm{constructor(t,r){ej();var n,i,e=vj(),s=1===(n=e).p()?n.s(0):null;i=null==s?t=>{var r=e,n=0,i=r.p()-1|0;if(n<=i)do{var s=n;n=n+1|0,r.s(s)(t)}while(n<=i);return k}:s,super(t,r,null,i)}i23(t,r){return n=n=>{ej();var i=uj();return lj(i+1|0),new sm(i,n,t,r)},Kj(),kj((t=>{var r=n(t);return ej(),sj(aj().k24(r.e1b())),r}));var n}k23(){xj()}i25(t){rq()}m24(t){return this.i25(t)}j25(t){rq()}n24(t){return this.j25(t)}m1o(){throw fr.l3(pi("Cannot apply the global snapshot directly. Call Snapshot.advanceGlobalSnapshot"))}bq(){ej(),this.s23()}}class _m extends sm{constructor(t,r,n,i,e){super(t,r,n,i),this.e26_1=e,this.f26_1=!1,this.e26_1.n24(this)}bq(){this.c1b_1||(super.bq(),jj(this))}m1o(){if(this.e26_1.l1o_1||this.e26_1.c1b_1)return new um(this);var t=this.l23(),r=this.e1b(),n=null!=t?zj(this.e26_1,this,this.e26_1.m23()):null;if(ej(),Sj(this),null==t||0===t.p())this.w23();else{var i=this.l24(this.e26_1.e1b(),n,this.e26_1.m23());if(!wi(i,gj()))return i;var e,s=this.e26_1.l23();null==s?e=null:(s.xl(t),e=s),null==e&&(this.e26_1.g24(t),this.g24(null))}return this.e26_1.e1b()0?this.m25_1[0]:t}ni(t){!function(t,r){var n=t.m25_1.length;if(r<=n)return k;var i=xv(n,2),e=new Int32Array(i),s=new Int32Array(i),a=t.m25_1;Ge(a,e,0,0,a.length);var l=t.n25_1;Ge(l,s,0,0,l.length),t.m25_1=e,t.n25_1=s}(this,this.l25_1+1|0);var r=this.l25_1;this.l25_1=r+1|0;var n=r,i=function(t){var r=t.o25_1.length;if(t.p25_1>=r){for(var n=0,i=xv(r,2),e=new Int32Array(i);n>1,e=r;e=0&&r<64)return!new yt(1,0).x2(r).a3(this.a24_1).equals(new yt(0,0));if(r>=64&&r<128)return!new yt(1,0).x2(r-64|0).a3(this.z23_1).equals(new yt(0,0));if(r>0)return!1;var n,i=this.c24_1;return null!=(n=null==i?null:tq(i,t)>=0)&&n}k24(t){var r=t-this.b24_1|0;if(r>=0&&r<64){var n=new yt(1,0).x2(r);if(this.a24_1.a3(n).equals(new yt(0,0)))return new vm(this.z23_1,this.a24_1.b3(n),this.b24_1,this.c24_1)}else if(r>=64&&r<128){var i=new yt(1,0).x2(r-64|0);if(this.z23_1.a3(i).equals(new yt(0,0)))return new vm(this.z23_1.b3(i),this.a24_1,this.b24_1,this.c24_1)}else if(r>=128){if(!this.s(t)){var e=this.z23_1,s=this.a24_1,a=this.b24_1,l=null,u=xv((t+1|0)/64|0,64);t:for(;a=0&&r<64){var n=new yt(1,0).x2(r);if(!this.a24_1.a3(n).equals(new yt(0,0)))return new vm(this.z23_1,this.a24_1.a3(n.w2()),this.b24_1,this.c24_1)}else if(r>=64&&r<128){var i=new yt(1,0).x2(r-64|0);if(!this.z23_1.a3(i).equals(new yt(0,0)))return new vm(this.z23_1.a3(i.w2()),this.a24_1,this.b24_1,this.c24_1)}else if(r<0){var e=this.c24_1;if(null!=e){var s=tq(e,t);if(s>=0){var a=e.length-1|0;if(0===a)return new vm(this.z23_1,this.a24_1,this.b24_1,null);var l=new Int32Array(a);return s>0&&Ge(e,l,0,0,s),st.n26(r,n),r.$arity=1,r)).l();var t,r}k25(t){var r=this.c24_1;return null!=r?r[0]:this.a24_1.equals(new yt(0,0))?this.z23_1.equals(new yt(0,0))?t:(this.b24_1+64|0)+Pe(this.z23_1)|0:this.b24_1+Pe(this.a24_1)|0}toString(){for(var t,r,n,i,e,s,a=yi(this),l=Lt.q(Ha(this,10)),u=this.l();u.m();){var h=u.n().toString();l.h(h)}return a+" ["+(t=t===b?", ":t,r=r===b?"":r,n=n===b?"":n,i=i===b?-1:i,e=e===b?"...":e,s=s===b?null:s,function(t,r,n,i,e,s,a,l){n=n===b?", ":n,i=i===b?"":i,e=e===b?"":e,s=s===b?-1:s,a=a===b?"...":a,l=l===b?null:l,r.k(i);var u=0,h=0,_=t.p()-1|0;if(h<=_)t:do{var o=h;h=h+1|0;var f=t.s(o);if((u=u+1|0)>1&&r.k(n),!(s<0||u<=s))break t;rj(r,f,l)}while(h<=_);return s>=0&&u>s&&r.k(a),r.k(e),r}(l,Or.j(),t,r,n,i,e,s).toString()+"]")}}class wm{constructor(){this.h26_1=0,this.i26_1=new Int32Array(16),this.j26_1=Yn(Array(16),null)}l26(t){var r,n=this.h26_1,i=function(t){if(uq(),null==t)return 0;var r,n=t.kotlinIdentityHashcodeValue$;if(null!=n)return n;switch(typeof t){case"object":case"function":r=function(t){uq();var r,n=(uq(),wv);r=n+1|0,uq(),wv=r;var i=n,e=new Object;return e.value=i,e.writable=!1,e.configurable=!1,e.enumerable=!1,Object.defineProperty(t,"kotlinIdentityHashcodeValue$",e),i}(t);break;default:throw vr.h1("identity hash code for "+typeof t+" is not supported")}return r}(t);if(n>0){if(r=function(t,r,n){for(var i=0,e=t.h26_1-1|0;i<=e;){var s=(i+e|0)>>>1|0,a=t.i26_1[s];if(an)){var l=t.j26_1[s];return r===(null==l?null:l.js())?s:nq(t,s,r,n)}e=s-1|0}}return 0|-(i+1|0)}(this,t,i),r>=0)return!1}else r=-1;var e=0|-(r+1|0),s=this.j26_1.length;if(n===s){var a=xv(s,2),l=Yn(Array(a),null),u=new Int32Array(a);Ge(this.j26_1,l,e+1|0,e,n),Ge(this.j26_1,l,0,0,e),Ge(this.i26_1,u,e+1|0,e,n),Ge(this.i26_1,u,0,0,e),this.j26_1=l,this.i26_1=u}else Ge(this.j26_1,this.j26_1,e+1|0,e,n),Ge(this.i26_1,this.i26_1,e+1|0,e,n);return this.j26_1[e]=new xm(t),this.i26_1[e]=i,this.h26_1=this.h26_1+1|0,!0}}class dm{}class pm{constructor(t){this.s1h_1=t}js(){return this.s1h_1}px(t){this.s1h_1=t}xw(t){var r=this.s1h_1;return this.s1h_1=t,r}ww(t,r){var n;return wi(this.s1h_1,t)?(this.s1h_1=r,n=!0):n=!1,n}}class mm{constructor(t){this.x10_1=t}js(){return this.x10_1}y10(t){this.x10_1=t}ni(t){return this.x10_1=this.x10_1+t|0,this.x10_1}o26(t,r){var n;return wi(this.x10_1,t)?(this.x10_1=r,n=!0):n=!1,n}}class gm{constructor(t,r,n){this.m22_1=t,this.n22_1=r,this.o22_1=n,this.p22_1=null,this.q22_1=null}r22(t){if(!wi(this.o22_1,t)){var r=null==this.o22_1;this.o22_1=t,r||function(t){if(t.n22_1){var r=t.p22_1;null!=r&&(r.s1j(),t.p22_1=null);var n=t.q22_1;if(null!=n){var i=0,e=n.p();if(i(function(t,r,n){t.n1c(r,n)}(i,t,r),k))),a}p26(t,r,n){var i=r.j1e(this.m22_1);aq(this,i);var e=n|(i.c14(this)?Vx(1):Wx(1)),s=this.o22_1,a=(null!=s&&"function"==typeof s?s:Si())(t,i,e),l=i.k1e();return null==l||l.p1k(((r,i)=>(this.p26(t,r,1|zy(n)),k))),a}}class ym{b11(t,r){var n=hr.mb(Ss(r)),i=n;return window.requestAnimationFrame((r=>{var n=function(t,r){var n=ja(t,r,(xa(),L));if(Le(n))throw vr.h1(pi("Duration value cannot be NaN."));var i=Ks(n);return new yt(387905,-1073741824).k1(i)<=0&&i.k1(new yt(-387905,1073741823))<=0?pl(i):function(t){var r,n;return new yt(1108857478,-1074).k1(t)<=0&&t.k1(new yt(-1108857478,1073))<=0?r=pl(dl(t)):(n=function(t,r,n){if(r.k1(n)>0)throw vr.h1("Cannot coerce value to an empty range: maximum "+n.toString()+" is less than minimum "+r.toString()+".");return t.k1(r)<0?r:t.k1(n)>0?n:t}(t,new yt(1,-1073741824),new yt(-1,1073741823)),r=cl(n.x2(1).q2(he(1)))),r}(Ks(ja(t,r,qa())))}(r,qa()),e=t(function(t){var r,n=vl(t);if(wl(t))r=n;else{var i=new yt(-1,2147483647).t2(he(1e6));if(n.k1(i)>0)r=new yt(-1,2147483647);else{var e=new yt(0,-2147483648).t2(he(1e6));r=n.k1(e)<0?new yt(0,-2147483648):dl(n)}}return r}(n)),s=e;return i.va(s),k})),n.nb()}}class bm{z1a(t){return null}m1b(t){}}class km{constructor(t){t=t===b?10:t,this.y16_1=tr.fa()}s(t){return this.y16_1.b2(t)}b17(t,r){this.y16_1.e2(t,r)}}class xm{constructor(t){this.k26_1=t}js(){return this.k26_1}}function jm(){return Bg(),jf}function qm(){return Bg(),qf}function zm(){return Bg(),Sf}function Sm(){return Bg(),Af}function Cm(t){og(t),t.a12_1.s1(),t.f12_1.s1(),t.m12_1.s1(),t.q12_1.s1(),t.o12_1=null,t.i13_1.s1(),t.k13_1=0,t.t12_1=0,t.k12_1=!1,t.j13_1=!1,t.r12_1=!1,t.y12_1=!1,t.j12_1=!1,t.s12_1=-1,t.a13_1.b15_1||t.a13_1.k15(),t.c13_1.l16_1||Tm(t)}function Am(t,r){return Um(t,r,null,jg().n16_1,null)}function $m(t,r,n){return Um(t,r,n,jg().n16_1,null)}function Em(t){return Bm(t,!1)}function Im(t){t.d12_1=t.d12_1+t.a13_1.q16()|0}function Mm(t,r){t.r16(),t.s16(r)}function Nm(t){var r=t.e13_1;return null!=r?r:Lm(t,t.a13_1.e15_1)}function Lm(t,r){if(t.j13_1&&t.d13_1)for(var n=t.c13_1.k16_1;n>0;){if(202===t.c13_1.w16(n)&&wi(t.c13_1.x16(n),zm())){var i=t.c13_1.v16(n),e=null!=i&&pe(i,vw)?i:Si();return t.e13_1=e,e}n=t.c13_1.t16(n)}if(t.a13_1.p()>0)for(var s=r;s>0;){if(202===t.a13_1.w16(s)&&wi(t.a13_1.x16(s),zm())){var a,l=t.o12_1,u=null==l?null:l.s(s);if(null==u){var h=t.a13_1.v16(s);a=null!=h&&pe(h,vw)?h:Si()}else a=u;var _=a;return t.e13_1=_,_}s=t.a13_1.t16(s)}return t.e13_1=t.n12_1,t.n12_1}function Pm(t,r,n){var i=r.z16();i.g2(n);var e=i.a17();return $m(t,204,(Bg(),Cf)),Mm(t,e),Mm(t,n),Em(t),e}function Om(t,r){var n,i=t.o12_1;if(null==i){var e=new km;t.o12_1=e,n=e}else n=i;n.b17(t.a13_1.c15_1,r)}function Dm(t){t.c13_1.l16_1&&(t.c13_1=t.b13_1.c17(),t.c13_1.d17(),t.d13_1=!1,t.e13_1=null)}function Rm(t){gg(t.c13_1.l16_1),Tm(t)}function Tm(t){var r=t,n=new Pw;t.v12_1&&n.e17(),t.u11_1.g17()&&n.f17(),r.b13_1=n;var i=t,e=t.b13_1.c17();e.h17(!0),i.c13_1=e}function Hm(t,r,n){r?t.a13_1.l17():(null!=n&&t.a13_1.j17()!==n&&t.g13_1.i17(n),t.a13_1.k17())}function Um(t,r,n,i,e){lg(t);var s=t.e12_1;if(null==n)if(null==e||207!==r||wi(e,wg().m17_1)){var a=t,l=Te(t.k13_1,3)^r;a.k13_1=Te(l,3)^s}else{var u=di(e),h=t,_=Te(t.k13_1,3)^u;h.k13_1=Te(_,3)^s}else if(n instanceof mt){var o=n.j2_1,f=t,c=Te(t.k13_1,3)^o;f.k13_1=0^Te(c,3)}else{var v=di(n),w=t,d=Te(t.k13_1,3)^v;w.k13_1=0^Te(d,3)}null==n&&(t.e12_1=t.e12_1+1|0);var p=!(i===jg().n16_1);if(t.j13_1){t.a13_1.n17();var m=t.c13_1.i16_1;p?t.c13_1.q17(r,wg().m17_1):null!=e?t.c13_1.p17(r,null==n?wg().m17_1:n,e):t.c13_1.o17(r,null==n?wg().m17_1:n);var g=t.b12_1;if(null==g);else{var y=new Kw(r,-1,Gm(0,m),-1,0);g.x17(y,t.c12_1-g.s17_1|0),g.y17(y)}return Fm(t,p,null),k}var b=i===jg().o16_1&&t.r12_1;if(null==t.b12_1){var x=t.a13_1.z17();!b&&x===r&&wi(n,t.a13_1.b18())?Hm(t,p,e):t.b12_1=new Yv(t.a13_1.a18(),t.c12_1)}var j=t.b12_1,q=null;if(null!=j){var z=j.c18(r,n);if(b||null==z){t.a13_1.n17(),t.j13_1=!0,t.e13_1=null,Dm(t),t.c13_1.d18();var S=t.c13_1.i16_1;p?t.c13_1.q17(r,wg().m17_1):null!=e?t.c13_1.p17(r,null==n?wg().m17_1:n,e):t.c13_1.o17(r,null==n?wg().m17_1:n),t.h13_1=t.c13_1.u16(S);var C=new Kw(r,-1,Gm(0,S),-1,0);j.x17(C,t.c12_1-j.s17_1|0),j.y17(C);var A=Lt.b1();q=new Yv(A,p?0:t.c12_1)}else{j.y17(z);var $=z.g18_1;t.c12_1=j.j18(z)+j.s17_1|0;var E=j.k18(z),I=E-j.t17_1|0;j.l18(E,j.t17_1),t.g13_1.m18($),t.a13_1.n18($),I>0&&t.g13_1.o18(I),Hm(t,p,e)}}Fm(t,p,q)}function Fm(t,r,n){t.a12_1.p18(t.b12_1),t.b12_1=n,t.f12_1.b14(t.d12_1),t.f12_1.b14(t.e12_1),t.f12_1.b14(t.c12_1),r&&(t.c12_1=0),t.d12_1=0,t.e12_1=0}function Bm(t,r){var n=t.f12_1.q18()-1|0;if(t.j13_1){var i=t.c13_1.k16_1,e=t.c13_1.w16(i),s=t.c13_1.x16(i),a=t.c13_1.v16(i);if(null==s)if(null==a||207!==e||wi(a,wg().m17_1)){var l=t,u=He(t.k13_1^n,3)^e;l.k13_1=He(u,3)}else{var h=di(a),_=t,o=He(t.k13_1^n,3)^h;_.k13_1=He(o,3)}else if(s instanceof mt){var f=s.j2_1,c=t,v=He(0^t.k13_1,3)^f;c.k13_1=He(v,3)}else{var w=di(s),d=t,p=He(0^t.k13_1,3)^w;d.k13_1=He(p,3)}}else{var m=t.a13_1.e15_1,g=t.a13_1.w16(m),y=t.a13_1.x16(m),b=t.a13_1.v16(m);if(null==y)if(null==b||207!==g||wi(b,wg().m17_1)){var k=t,x=He(t.k13_1^n,3)^g;k.k13_1=He(x,3)}else{var j=di(b),q=t,z=He(t.k13_1^n,3)^j;q.k13_1=He(z,3)}else if(y instanceof mt){var S=y.j2_1,C=t,A=He(0^t.k13_1,3)^S;C.k13_1=He(A,3)}else{var $=di(y),E=t,I=He(0^t.k13_1,3)^$;E.k13_1=He(I,3)}}var M=t.d12_1,N=t.b12_1;if(null!=N&&N.r17_1.p()>0){for(var L=N.r17_1,P=N.r18(),O=function(t){var r=Kt.z(t.p()),n=0,i=t.p()-1|0;if(n<=i)do{var e=n;n=n+1|0;var s=t.s(e);r.h(s)}while(n<=i);return r}(P),D=rr.ja(),R=0,T=P.p(),H=0,U=L.p(),F=0;H0&&(t.g13_1.m18(t.a13_1.z18()),t.a13_1.d17())}for(var J=t.c12_1;!t.a13_1.a19();){var Y=t.a13_1.c15_1;ug(t);var Z=t.a13_1.q16();t.g13_1.s18(J,Z),qg(t.l12_1,Y,t.a13_1.c15_1)}var Q=t.j13_1;if(Q){r&&(t.i13_1.g19(),M=1),t.a13_1.h19();var X=t.c13_1.k16_1;if(t.c13_1.i19(),!t.a13_1.l19()){var tt=Gm(0,X);t.c13_1.j19(),t.c13_1.h17(!0),function(t,r){t.i13_1.x()?t.g13_1.p1b(r,t.b13_1):(t.g13_1.o1b(r,t.b13_1,t.i13_1),t.i13_1=new Sd)}(t,t.h13_1),t.j13_1=!1,t.v11_1.k19()||(Zm(t,tt,0),Vm(t,tt,M))}}else{r&&t.g13_1.b19();var rt=t.a13_1.c19();rt>0&&t.g13_1.d19(rt),t.g13_1.e19();var nt=t.a13_1.e15_1;M!==Ym(t,nt)&&Vm(t,nt,M),r&&(M=1),t.a13_1.f19(),t.g13_1.y18()}!function(t,r,n){var i=t.a12_1.l15();null==i||n||(i.t17_1=i.t17_1+1|0),t.b12_1=i,t.c12_1=t.f12_1.l15()+r|0,t.e12_1=t.f12_1.l15(),t.d12_1=t.f12_1.l15()+r|0}(t,M,Q)}function Km(t){var r=t.y12_1;t.y12_1=!0;for(var n=!1,i=t.a13_1.e15_1,e=i+t.a13_1.u18(i)|0,s=t.c12_1,a=t.k13_1,l=t.d12_1,u=t.e12_1,h=i,_=Cg(t.l12_1,t.a13_1.c15_1,e);null!=_;){var o=_.h11_1;if(Ag(t.l12_1,o),_.j11()){n=!0,t.a13_1.n18(o);var f=t.a13_1.c15_1;Qm(t,h,f,i),h=f,t.c12_1=Wm(t,o,f,i,s),t.e12_1=Jm(t,f);var c=t.a13_1.t16(f);t.k13_1=tg(t,c,Jm(t,c),i,a),t.e13_1=null,_.g11_1.n19(t),t.e13_1=null,t.a13_1.o19(i)}else t.x12_1.p18(_.g11_1),_.g11_1.m19(),t.x12_1.l15();_=Cg(t.l12_1,t.a13_1.c15_1,e)}if(n){Qm(t,h,i,i),t.a13_1.d17();var v=Ym(t,i);t.c12_1=s+v|0,t.d12_1=l+v|0,t.e12_1=u}else rg(t);t.k13_1=a,t.y12_1=r}function Gm(t,r){return-2-r|0}function Vm(t,r,n){var i=Ym(t,r);if(i!==n){var e=n-i|0,s=r,a=t.a12_1.p()-1|0;t:for(;-1!==s;){var l=Ym(t,s)+e|0;Zm(t,s,l);var u=a;if(0<=u)r:do{var h=u;u=u+-1|0;var _=t.a12_1.p19(h);if(null!=_&&_.t18(s,l)){a=h-1|0;break r}}while(0<=u);if(s<0)s=t.a13_1.e15_1;else{if(t.a13_1.q19(s))break t;s=t.a13_1.t16(s)}}}}function Wm(t,r,n,i,e){for(var s=t.a13_1.t16(n);s!==i&&!t.a13_1.q19(s);)s=t.a13_1.t16(s);var a=t.a13_1.q19(s)?0:e;if(s===n)return a;var l=s,u=a+(Ym(t,s)-t.a13_1.r19(n)|0)|0;t:for(;a=0)return s}return t.a13_1.r19(r)}function Zm(t,r,n){if(Ym(t,r)!==n)if(r<0){var i,e=t.h12_1;if(null==e){var s=new Eo;t.h12_1=s,i=s}else i=e;i.ei(r,n)}else{var a,l=t.g12_1;if(null==l){var u=new Int32Array(t.a13_1.p());h=u,-1,_=_===b?0:_,o=o===b?h.length:o,D.g4(_,o,h.length),h.fill(-1,_,o),t.g12_1=u,a=u}else a=l;a[r]=n}var h,_,o}function Qm(t,r,n,i){for(var e=t.a13_1,s=function(t,r,n,i){if(Bg(),r===n)return r;if(r===i||n===i)return i;if(t.t16(r)===n)return n;if(t.t16(n)===r)return r;if(t.t16(r)===t.t16(n))return t.t16(r);var e=r,s=n,a=Lg(t,r,i),l=Lg(t,n,i),u=a-l|0,h=0;if(h0&&a!==s;)e.q19(a)&&t.g13_1.b19(),a=e.t16(a);Xm(t,n,s)}function Xm(t,r,n){var i;r>0&&r!==n&&(Xm(t,t.a13_1.t16(r),n),t.a13_1.q19(r)&&t.g13_1.t19((i=r,t.a13_1.n1b(i))))}function tg(t,r,n,i,e){var s;if(r===i)s=e;else{var a,l=function(t,r,n){var i;if(t.s19(n)){var e,s=t.x16(n);i=null==(e=null==s?null:s instanceof mt?s.j2_1:s instanceof Gv?126665345:di(s))?0:e}else{var a,l=t.w16(n);if(207===l){var u,h=t.v16(n);a=null==(u=null==h?null:wi(h,wg().m17_1)?l:di(h))?l:u}else a=l;i=a}return i}(t.a13_1,0,r);if(126665345===l)a=l;else{var u=t.a13_1.t16(r),h=u===i?e:tg(t,u,Jm(t,u),i,e),_=t.a13_1.s19(r)?0:n,o=Te(h,3)^l;a=Te(o,3)^_}s=a}return s}function rg(t){t.d12_1=t.a13_1.u19(),t.a13_1.d17()}function ng(t,r,n,i,e){t.z19(126665345,r),Mm(t,i);var s,a=t.k13_1;try{t.k13_1=126665345,t.j13_1&&t.c13_1.a1a();var l=!t.j13_1&&!wi(t.a13_1.j17(),n);if(l&&Om(t,n),Um(t,202,zm(),jg().n16_1,n),t.e13_1=null,t.j13_1&&!e){t.d13_1=!0;var u=t.c13_1.u16(t.c13_1.t16(t.c13_1.k16_1)),h=new Bv(r,i,t.z11_1,t.b13_1,u,Da(),Nm(t));t.u11_1.d1a(h)}else{var _=t.p12_1;t.p12_1=l,hq(t,(s=Kx(316014703,!0,((t,n)=>{var e=t;return yg(e,"C3293@126183L18:Composer.kt#9igjgp"),2==(3&n)&&e.c1a()?e.d17():(bg()&&kg(316014703,n,-1,"androidx.compose.runtime.ComposerImpl.invokeMovableContentLambda. (Composer.kt:3293)"),r.b1a_1(i,e,0),bg()&&xg()),k})),(t,r)=>s.n1c(t,r))),t.p12_1=_}}finally{Em(t),t.e13_1=null,t.k13_1=a,t.e1a()}}function ig(t,r,n,i,e,s){var a=t.y12_1,l=t.c12_1;try{t.y12_1=!0,t.c12_1=0;var u=0,h=e.p()-1|0;if(u<=h)do{var _=u;u=u+1|0;var o=e.s(_),f=o.xf(),c=o.yf();null!=c?t.x1a(f,c):t.x1a(f,null)}while(u<=h);var v=null==r?null:r.y1a(n,null==i?-1:i,s);return null==v?s():v}finally{t.y12_1=a,t.c12_1=l}}function eg(t,r,n,i,e,s,a){return ig(t,r=r===b?null:r,n=n===b?null:n,i=i===b?null:i,e=e===b?Da():e,s)}function sg(t,r,n){t.y12_1&&Eg("Reentrant composition is not supported");t:{var i=pv.z1a("Compose:recompose");try{t.u12_1=bj().e1b(),t.o12_1=null;var e=r.f1b_1,s=e.lk_1,a=e.mk_1;r:{var l=e.kk_1,u=l.length-2|0,h=0;if(h<=u)do{var _=h;h=h+1|0;var o=l[_],f=o;if(!f.a3(f.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var c=8-(~(_-u)>>>31|0)|0,v=0;if(v{var e=t.g13_1,s=r,a=e.j14_1;try{e.j14_1=s;var l=t,u=n;t:{var h=l.a13_1,_=l.g12_1,o=l.o12_1;l.g12_1=null,l.o12_1=null;try{l.a13_1=u;var f=t.g13_1,c=f.m14_1;try{f.m14_1=!1,ng(t,i.g1a_1,i.m1a_1,i.h1a_1,!0)}finally{f.m14_1=c}break t}finally{l.a13_1=h,l.g12_1=_,l.o12_1=o}}}finally{e.j14_1=a}return k}}function vg(t,r){return()=>(ng(t,r.g1a_1,r.m1a_1,r.h1a_1,!0),k)}function wg(){return Ef===b&&new Uv,Ef}function dg(){if(Pf)return k;Pf=!0,If=new Fv("IGNORED",0),Mf=new Fv("SCHEDULED",1),Nf=new Fv("DEFERRED",2),Lf=new Fv("IMMINENT",3)}function pg(t){throw Bg(),Vv.k1f("Compose Runtime internal error. Unexpected or incorrect use of the Compose internal runtime API ("+t+"). Please report to Google or use https://goo.gle/compose-feedback")}function mg(t,r){Bg();var n=Bb(t,t.i16_1),i=Gb(t,Ub(t),n),e=Gb(t,Ub(t),Bb(t,t.i16_1+t.u18(t.i16_1)|0)),s=i;if(s=0?t.v1(n):null}function $g(t,r){Bg();var n=Lt.b1(),i=t.w13();try{Rg(i,n,t.n1a(r))}finally{i.k15()}return n}function Eg(t){throw Bg(),Vv.k1f("Compose Runtime internal error. Unexpected or incorrect use of the Compose internal runtime API ("+t+"). Please report to Google or use https://goo.gle/compose-feedback")}function Ig(t,r,n){var i,e=t,s=e.wk(r),a=s<0;if(a)i=null;else{var l=e.mk_1[s];i=null==l||null!=l?l:Si()}var u,h=i;if(null==h)u=n;else if(null!=h&&pe(h,ot)){var _=null!=h&&pe(h,ot)?h:Si();_.h(n),u=_}else u=Oa([h,n]);var o=u;if(a){var f=~s;e.lk_1[f]=r,e.mk_1[f]=o}else e.mk_1[s]=o}function Mg(t,r){Bg();var n=Ng(t,r);return n<0?0|-(n+1|0):n}function Ng(t,r){Bg();for(var n=0,i=t.p()-1|0;n<=i;){var e=(n+i|0)>>>1|0,s=_i(t.s(e).h11_1,r);if(s<0)n=e+1|0;else{if(!(s>0))return e;i=e-1|0}}return 0|-(n+1|0)}function Lg(t,r,n){Bg();for(var i=0,e=r;e>0&&e!==n;)e=t.t16(e),i=i+1|0;return i}function Pg(t,r,n){Bg(),t.s1e(r,n)}function Og(t){Bg(),t.u1e()}function Dg(t,r,n){var i=t;return!i.b1d()&&wi(i.b1f(),r)||(i.c1f(r),t.j1d(r,n)),k}function Rg(t,r,n){if(t.q19(n))r.h(t.n1b(n));else for(var i=n+1|0,e=n+t.u18(n)|0;i>>31|0)|0,c=0;if(c>>31|0)|0,f=0;if(f>>31|0)|0,S=0;if(S>>31|0)|0,U=0;if(U>>31|0)|0,rt=0;if(rt>>31|0)|0,pt=0;if(pt>>31|0)|0,It=0;if(It>>31|0)|0,Wt=0;if(Wt>>31|0)|0,h=0;if(h>>31|0)|0,q=0;if(q>>31|0)|0,T=0;if(T>>31|0)|0,f=0;if(f>>31|0)|0,w=0;if(w>>31|0)|0,I=0;if(I>>31|0)|0,m=0;if(m (Composition.kt:623)"),bg()&&xg()),k}function ay(t,r){var n=t;return yg(n,"C:Composition.kt#9igjgp"),2==(3&r)&&n.c1a()?n.d17():(bg()&&kg(1918065384,r,-1,"androidx.compose.runtime.ComposableSingletons$CompositionKt.lambda-2. (Composition.kt:757)"),bg()&&xg()),k}function ly(t,r,n){hy();var i=t.s(r);t.t1(r,t.s(n)),t.t1(n,i)}function uy(t,r,n){hy();var i=t.s(r);t.pi(r,t.s(n)),t.pi(n,i)}function hy(){Uf||(Uf=!0,Rf=new Object,new lw)}function _y(t){return new ow(t)}function oy(){pg("Unexpected call to default provider")}function fy(t,r,n,i){var e=n;yg(e=e.j1e(-1390796515),"C(CompositionLocalProvider)P(1)379@16749L9:CompositionLocal.kt#9igjgp");var s=i;bg()&&kg(-1390796515,s,-1,"androidx.compose.runtime.CompositionLocalProvider (CompositionLocal.kt:377)"),e.c1e(t),r(e,14&s>>3),e.e1e(),bg()&&xg();var a=e.k1e();null==a||a.p1k(((n,e)=>(fy(t.slice(),r,n,zy(1|i)),k)))}function cy(t,r){var n=r instanceof hw?r:Si(),i=t.b2(n),e=(null==i?r.c1k():i).r1k(t);return null==e||null!=e?e:Si()}function vy(t,r){return t.z1(r instanceof hw?r:Si())}function wy(t,r,n){n=n===b?Xx():n;var i=Xx().z16(),e=n,s=0,a=t.length-1|0;if(s<=a)do{var l=s;s=s+1|0;var u=t[l],h=u.v1f_1,_=h instanceof _w?h:Si();if(u.c1g_1||!vy(r,_)){var o=e.b2(_),f=_.g1k(u instanceof Wv?u:Si(),o);i.e2(_,f)}}while(s<=a);return i.a17()}function dy(){return py(),Kf}function py(){Gf||(Gf=!0,new dd,Kf=new dd)}function my(){Vf||(Vf=!0,new dw)}function gy(t,r){var n;if(r instanceof mt)n=r.j2_1;else{var i=null==r?null:di(r);n=null==i?0:i}return n}function yy(t){throw fr.l3(t)}function by(t){throw vr.h1(t)}function*ky(t,r,n){var i=t.v1l_1(new jw(t.w1l_1,r.gm()),n);return i===nl()&&(i=yield i),k}function xy(t,r){t.k11_1=r?32|t.k11_1:-33&t.k11_1}function jy(t,r){t.k11_1=r?16|t.k11_1:-17&t.k11_1}function qy(t,r,n){pe(t,ww)||Si();var i=t.w1k();return!(null==i?kk():i).y1l(t.f1j().i1j(),n.b2(t))}function zy(t){Yf||(Yf=!0,new Object);var r=306783378&t,n=613566756&t;return-920350135&t|r|n>>1|r<<1&n}function Sy(){if(ic)return k;ic=!0,Zf=new Aw("ShutDown",0),Qf=new Aw("ShuttingDown",1),Xf=new Aw("Inactive",2),tc=new Aw("InactivePendingWork",3),rc=new Aw("Idle",4),nc=new Aw("PendingWork",5)}function*Cy(t,r,n,i){for(var e=Lt.b1(),s=Lt.b1(),a=Lt.b1(),l=bf(),u=bf(),h=new Yo,_=wx(h),o=bf();Oy(t.j1m_1);){var f=By(t.j1m_1,i);if(f===nl()&&(f=yield f),Dy(t.j1m_1)){var c=n.b11((r=>{if(Ly(t.j1m_1))t:{var n=pv.z1a("Recomposer:animation");try{t.j1m_1.l1m_1.a11(r),lv.j1n();break t}finally{pv.m1b(n)}}t:{var i=pv.z1a("Recomposer:recompose");try{Dy(t.j1m_1),t.j1m_1.m1m_1;var f=t.j1m_1.s1m_1,c=f.j1b_1;if(c>0){var v=0,w=f.h1b_1,d=me(w)?w:Si();do{var p=d[v];e.h(p),v=v+1|0}while(v0&&(I.h1b_1[P-M|0]=I.h1b_1[P])}while(L>>31|0)|0,lt=0;if(lt>>31|0)|0,bt=0;if(bt>>31|0)|0,y=0;if(y>>31|0)|0,I=0;if(I>>31|0)|0,F=0;if(F{var i;if(t.o1n_1.m1m_1,t.o1n_1.e1n_1.y1().k2(eb())>=0){var e=t.o1n_1.r1m_1;if(r instanceof cp){var s=r.w1h_1,a=s.zk_1;t:{var l=s.yk_1,u=l.length-2|0,h=0;if(h<=u)do{var _=h;h=h+1|0;var o=l[_],f=o;if(!f.a3(f.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var c=8-(~(_-u)>>>31|0)|0,v=0;if(va.x1l(t,r),l.$arity=1,l),n);c===nl()&&(c=yield c)}finally{u.bq(),t.o1n_1.m1m_1,t.o1n_1.n1m_1===i&&(t.o1n_1.n1m_1=null),Py(t.o1n_1),function(t,r){t:for(;;){var n=t.h1m_1.y1(),i=n.q1(r);if(n===i||t.h1m_1.nw(n,i))break t}}(Xy(),t.o1n_1.h1n_1)}return k}function My(t){var r,n=t.q1m_1;if(null==n){var i=t.p1m_1,e=i.x()?Da():Lt.g(i);t.q1m_1=e,r=e}else r=n;return r}function Ny(t){return!t.d1n_1&&t.l1m_1.z10()}function Ly(t){return t.m1m_1,Ny(t)}function Py(t){if(t.e1n_1.y1().k2(nb())<=0){!function(t){t.p1m_1.s1(),t.q1m_1=Da()}(t),t.r1m_1=new Yo,t.s1m_1.s1(),t.t1m_1.s1(),t.u1m_1.s1(),t.x1m_1=null;var r=t.z1m_1;return null==r||r.so(),t.z1m_1=null,t.c1n_1=null,null}var n;null!=t.c1n_1?n=ib():null==t.n1m_1?(t.r1m_1=new Yo,t.s1m_1.s1(),n=Ny(t)?(Sy(),tc):ib()):n=t.s1m_1.el()||t.r1m_1.el()||!t.t1m_1.x()||!t.u1m_1.x()||t.a1n_1>0||Ny(t)?sb():eb();var i,e=n;if(t.e1n_1.mw(e),e.equals(sb())){var s=t.z1m_1;t.z1m_1=null,i=s}else i=null;return i}function Oy(t){var r;if(t.m1m_1,t.b1n_1){var n;t:{for(var i=t.f1n_1.os().l();i.m();)if(i.n().hm()){n=!0;break t}n=!1}r=n}else r=!0;return r}function Dy(t){if(t.m1m_1,t.r1m_1.x())return Qy(t);var r=wx(t.r1m_1);t.r1m_1=new Yo;var n=r;t.m1m_1;var i=My(t),e=!1;try{t:{var s=0,a=i.p()-1|0;if(s<=a)do{var l=s;if(s=s+1|0,i.s(l).y1i(n),t.e1n_1.y1().k2(nb())<=0)break t}while(s<=a)}t.m1m_1,t.r1m_1=new Yo,e=!0}finally{e||(t.m1m_1,t.r1m_1.ul(n))}if(t.m1m_1,null!=Py(t))throw fr.l3(pi("called outside of runRecomposeAndApplyChanges"));return Qy(t)}function Ry(t,r,n,i){if(!Xy().i1m_1.js()||r instanceof Vv){t.m1m_1;var e=t.c1n_1;if(null!=e)throw e.v1n_1;throw t.c1n_1=new Ew(!1,r),r}t.m1m_1,function(t,r){var n;uq(),function(t){ks(),(ks(),q).oa(t)}("Error was captured in composition while live edit was enabled."),n=r,console.error(function(t){return(new Dr).me(t)}(n))}(0,r),t.t1m_1.s1(),t.s1m_1.s1(),t.r1m_1=new Yo,t.u1m_1.s1(),t.v1m_1.s1(),t.w1m_1.s1(),t.c1n_1=new Ew(i,r),null!=n&&Hy(t,n),Py(t)}function Ty(t,r,n,i,e){return Ry(t,r,n=n===b?null:n,i=i!==b&&i)}function Hy(t,r){var n,i=t.x1m_1;if(null==i){var e=Lt.b1();t.x1m_1=e,n=e}else n=i;var s=n;s.o(r)||s.h(r),function(t,r){t.p1m_1.q1(r),t.q1m_1=null}(t,r)}function Uy(t){return t.m1m_1,t.r1m_1.el()||t.s1m_1.el()||Ny(t)}function*Fy(t,r){if(!Uy(t)){var n,i=new $u(Ss(r),1);if(i.aq(),t.m1m_1,Uy(t)?n=i:(t.z1m_1=i,n=null),null==n);else{var e=k;n.va(e)}var s=null==(a=i.fo())||null!=a?a:Si();s===nl()&&(s=yield s)}var a;return k}function By(t,r){return $s(Fy.bind(b,t),r)}function*Ky(t,r,n){var i,e,s=function(t){var r=t.gb(Wf);if(null==r)throw fr.l3(pi("A MonotonicFrameClock is not available in this CoroutineContext. Callers should supply an appropriate MonotonicFrameClock using withContext."));return r}(n.ta()),a=Gh(t.l1m_1,(i=new Nw(t,r,s),e=(t,r)=>i.x1l(t,r),e.$arity=1,e),n);return a===nl()&&(a=yield a),k}function Gy(t,r,n){var i;if(r.d1i()||r.r1i())i=!0;else{var e=t.y1m_1;i=!0===(null==e?null:e.o(r))}if(i)return null;t:{var s=lv.w1n(Jy(0,r),Yy(0,r,n));try{var a;r:{var l=s.x1n();try{!0===(null==n?null:n.el())&&r.a1j((()=>{var t=n,i=t.zk_1;n:{var e=t.yk_1,s=e.length-2|0,a=0;if(a<=s)do{var l=a;a=a+1|0;var u=e[l],h=u;if(!h.a3(h.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var _=8-(~(l-s)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,u.a3(new yt(255,0)).k1(new yt(128,0))<0){var c=i[(l<<3)+f|0],v=null==c||null!=c?c:Si();r.k1j(v)}u=u.y2(8)}while(o<_);if(8!==_)break n}}while(l!==s)}return k})),a=r.l1j();break r}finally{s.y1n(l)}}break t}finally{Zy(0,s)}}return a?r:null}function Vy(t,r,n){var i=Pt.z6(r.p()),e=0,s=r.p()-1|0;if(e<=s)do{var a=e;e=e+1|0;var l,u=r.s(a),h=u.i1a_1,_=i.b2(h);if(null==_){var o=Lt.b1();i.e2(h,o),l=o}else l=_;l.h(u)}while(e<=s);for(var f=i,c=f.d2().l();c.m();){var v=c.n(),w=v.x1(),d=v.y1();gg(!w.d1i());t:{var p=lv.w1n(Jy(0,w),Yy(0,w,n));try{r:{var m=p.x1n();try{t.m1m_1;var g=Lt.q(d.p()),y=0,b=d.p()-1|0;if(y<=b)do{var k=y;y=y+1|0;var x=d.s(k),j=kl(x,ab(t.v1m_1,x.g1a_1));g.h(j)}while(y<=b);var q,z,S,C=g;n:{var A=0,$=C.p()-1|0;if(A<=$)do{var E=A;if(A=A+1|0,null!=C.s(E).wf_1){S=!1;break n}}while(A<=$);S=!0}if(S)z=!0;else{var I;n:{var M=0,N=C.p()-1|0;if(M<=N)do{var L=M;if(M=M+1|0,null==C.s(L).wf_1){I=!1;break n}}while(M<=N);I=!0}z=I}if(z)q=C;else{var P=Lt.q(C.p()),O=0,D=C.p()-1|0;if(O<=D)do{var R=O;O=O+1|0;var T=C.s(R),H=null==T.wf_1?T.vf_1:null;null==H||P.h(H)}while(O<=D);var U=P;t.m1m_1,Ga(t.u1m_1,U);var F=Lt.q(C.p()),B=0,K=C.p()-1|0;if(B<=K)do{var G=B;B=B+1|0;var V=C.s(G);null!=V.wf_1&&F.h(V)}while(B<=K);q=F}var W=q;w.m1j(W);break r}finally{p.y1n(m)}}break t}finally{Zy(0,p)}}}return function(t){if(pe(t,ht)){var r;switch(t.p()){case 0:r=Da();break;case 1:r=Be(pe(t,_t)?t.s(0):t.l().n());break;default:r=Hn(t)}return r}return function(t){switch(t.p()){case 0:return Da();case 1:return Be(t.s(0));default:return t}}(function(t){return pe(t,ht)?Hn(t):Un(t,Lt.b1())}(t))}(f.c2())}function Wy(t){var r;if(t.m1m_1,t.v1m_1.x())r=Da();else{var n=function(t){for(var r=Lt.b1(),n=t.l();n.m();)Ga(r,n.n());return r}(t.v1m_1.h2());t.v1m_1.s1();var i=Lt.q(n.p()),e=0,s=n.p()-1|0;if(e<=s)do{var a=e;e=e+1|0;var l=n.s(a),u=kl(l,t.w1m_1.b2(l));i.h(u)}while(e<=s);var h=i;t.w1m_1.s1(),r=h}var _=r,o=0,f=_.p()-1|0;if(o<=f)do{var c=o;o=o+1|0;var v=_.s(c),w=v.xf(),d=v.yf();null!=d&&w.i1a_1.n1j(d)}while(o<=f)}function Jy(t,r){return t=>(r.b1j(t),k)}function Yy(t,r,n){return t=>(r.k1j(t),null==n||n.h(t),k)}function Zy(t,r){try{if(r.m1o()instanceof um)throw fr.l3(pi("Unsupported concurrent change during composition. A state object was modified by composition as well as being modified outside composition."))}finally{r.bq()}}function Qy(t){return t.s1m_1.el()||Ny(t)}function Xy(){return ec===b&&new Iw,ec}function tb(t,r,n){t.s1(),r.m1m_1;for(var i=r.u1m_1.l();i.m();){var e=i.n();wi(e.i1a_1,n)&&(t.h(e),i.k4())}}function rb(){return Sy(),Zf}function nb(){return Sy(),Qf}function ib(){return Sy(),Xf}function eb(){return Sy(),rc}function sb(){return Sy(),nc}function ab(t,r){lb();var n,i=t.b2(r);if(null==i)n=null;else{var e=function(t){if(t.x())throw dr.w("List is empty.");return t.v1(0)}(i);i.x()&&t.f2(r),n=e}return n}function lb(){sc||(sc=!0,new Object,new Object)}function ub(t,r,n,i,e,s,a){var l=r.u18(n),u=n+l|0,h=Ib(r,n),_=Ib(r,u),o=_-h|0,f=function(t,r){return r>=0&&hk(t.q15_1,Ab(t,r))}(r,n);kb(i,l),xb(i,o,i.i16_1),r.v15_1=0;Z&&(r.k17(),r.c1p(Y-r.i16_1|0),r.k17()),r.c1p(n-r.i16_1|0);var Q=r.r1f();Z&&(r.d17(),r.i19(),r.d17(),r.i19()),J=Q}else{var X=jb(r,n,l);zb(r,h,o,n-1|0),J=X}else J=!1;return J&&Eg("Unexpectedly removed anchors"),i.d16_1=i.d16_1+(lk(c,v)?1:uk(c,v))|0,s&&(i.i16_1=v+l|0,i.x15_1=d+o|0),f&&wb(i,p),P}function hb(t,r,n,i,e,s,a,l){return ub(0,r,n,i,e,s,a=a===b||a)}function _b(t,r){var n=t.d1p();return t.e1p(r),n}function ob(t,r,n){var i,e=t.t15_1;if(null==e)i=null;else{var s,a=t.u16(r),l=e.b2(a);if(null==l){var u=new Tw(0,n,0);if(null==n)for(var h=r+1|0,_=t.i16_1;h<_;)u.f1p(t,h),h=h+tk(t.q15_1,h)|0;var o=u;e.e2(a,o),s=o}else s=l;i=s}return i}function fb(t){var r=t.x15_1-t.g1p(t.k16_1)|0,n=t.h16_1,i=null==n?null:n.s(t.k16_1),e=null==i?null:i.p();return r+(null==e?0:e)|0}function cb(t,r,n,i,e){var s=t.k16_1,a=t.c16_1>0;t.g16_1.b14(t.d16_1);var l,u=t;if(a){var h=t.i16_1,_=Mb(t.q15_1,t,Ab(t,h));kb(t,1),t.x15_1=_,t.y15_1=_;var o=Ab(t,h),f=!(n===wg().m17_1),c=!(i||e===wg().m17_1),v=t.a16_1,w=Db(0,_,t.z15_1,v,t.r15_1.length),d=w>=0&&t.b16_10){xb(t,p,h);var m=t.r15_1,g=t.x15_1;if(i){var y=g;g=y+1|0,m[y]=e}if(f){var b=g;g=b+1|0,m[b]=n}if(c){var k=g;g=k+1|0,m[k]=e}t.x15_1=g}t.d16_1=0;var x=h+1|0;if(t.k16_1=h,t.i16_1=x,s>=0){var j=qb(t,s);null==j||j.f1p(t,h)}l=x}else{t.e16_1.b14(s),pb(t);var q=t.i16_1,z=Ab(t,q);wi(e,wg().m17_1)||(i?t.i1p(e):t.h1p(e)),t.x15_1=Nb(t.q15_1,t,z),t.y15_1=Mb(t.q15_1,t,Ab(t,t.i16_1+1|0)),t.d16_1=uk(t.q15_1,z),t.k16_1=q,t.i16_1=q+1|0,l=q+tk(t.q15_1,z)|0}u.j16_1=l}function vb(t){var r=t.m16_1;if(null==r);else for(;r.el();)db(t,r.k1p(),r)}function wb(t,r){if(r>=0){var n,i=t.m16_1;if(null==i){var e=new Bw;t.m16_1=e,n=e}else n=i;n.l1p(r)}}function db(t,r,n){var i,e,s,a=Ab(t,r),l=function(t,r){for(var n=r+1|0,i=r+t.u18(r)|0;n=0&&n.l1p(u)}}function pb(t){t.f16_1.b14((Cb(t)-t.w15_1|0)-t.j16_1|0)}function mb(t){var r=(Cb(t)-t.w15_1|0)-t.f16_1.l15()|0;return t.j16_1=r,r}function gb(t,r,n,i){for(var e=Tb(t,r,t.v15_1),s=i;s=0))break t;h.g1b_1=0|-(e-_|0),u=u+1|0}}}(t,i,r),n>0){var e=t.q15_1,s=xv(r,5),a=xv(n,5),l=xv(i,5);r=0||Eg("Unexpected anchor value, expected a positive anchor"),dk(t.q15_1,o,0|-(1+(_-v|0)|0)),(o=o+1|0)===c&&(o=o+t.w15_1|0)}else for(var w=Ab(t,s),d=Ab(t,h);w0){var n=t.i16_1;yb(t,n);var i=t.v15_1,e=t.w15_1,s=t.q15_1.length/5|0,a=s-e|0;if(e=i&&(t.j16_1=d+r|0),t.v15_1=i+r|0,t.w15_1=e-r|0;var p=Db(0,a>0?Ib(t,n+r|0):0,t.b16_1=i&&(t.b16_1=b+r|0)}}function xb(t,r,n){if(r>0){bb(t,t.x15_1,n);var i=t.z15_1,e=t.a16_1;if(e=i&&(t.y15_1=m+r|0),t.z15_1=i+r|0,t.a16_1=e-r|0}}function jb(t,r,n){var i;if(n>0){var e=!1,s=t.s15_1;yb(t,r),s.x()||(e=function(t,r,n,i){var e=t.w15_1,s=r+n|0,a=Cb(t)-e|0,l=pk(t.s15_1,r+n|0,a),u=l>=t.s15_1.p()?l-1|0:l,h=0,_=u+1|0;t:for(;u>=0;){var o=t.s15_1.s(u),f=t.n1a(o);if(!(f>=r))break t;fr){var u=l-n|0;t.b16_1=Math.max(r,u)}t.j16_1>=t.v15_1&&(t.j16_1=t.j16_1-n|0);var h=t.k16_1;(function(t,r){return r>=0&&rk(t.q15_1,Ab(t,r))})(t,h)&&wb(t,h),i=e}else i=!1;return i}function qb(t,r){var n,i=t.t15_1;if(null==i)n=null;else{var e=t.m1p(r);n=null==e?null:i.b2(e)}return n}function zb(t,r,n,i){if(n>0){var e=t.a16_1;bb(t,r+n|0,i),t.z15_1=r,t.a16_1=e+n|0,Ee(t.r15_1,null,r,r+n|0);var s=t.y15_1;s>=r&&(t.y15_1=s-n|0)}}function Sb(t,r,n){var i=Ab(t,r);i=Cb(r)?r.r15_1.length-r.a16_1|0:Rb(0,ik(t,n),r.a16_1,r.r15_1.length)}function Nb(t,r,n){return n>=Cb(r)?r.r15_1.length-r.a16_1|0:Rb(0,ek(t,n),r.a16_1,r.r15_1.length)}function Lb(t,r,n,i){dk(t,n,Db(0,i,r.z15_1,r.a16_1,r.r15_1.length))}function Pb(t,r,n){return Mb(t,r,n)}function Ob(t,r,n){return Mb(t,r,n)+mk(function(t,r){return t[xv(r,5)+1|0]}(t,n)>>29)|0}function Db(t,r,n,i,e){return r>n?0|-(1+((e-i|0)-r|0)|0):r}function Rb(t,r,n,i){return r<0?1+((i-n|0)+r|0)|0:r}function Tb(t,r,n){return r-2?r:(t.u1o()+r|0)- -2|0}function Ub(t){return t.q15_1}function Fb(t){return t.r15_1}function Bb(t,r){return Ab(t,r)}function Kb(t,r){return $b(t,r)}function Gb(t,r,n){return Mb(r,t,n)}function Vb(t){var r,n=t.y1o_1;if(null==n)r=null;else{var i;t:{for(var e=n.p()-1|0;e>=0;){var s=n.s(e);if(s instanceof Tw&&!s.z1o_1){i=s;break t}e=e-1|0}i=null}r=i}var a=r instanceof Tw?r:null,l=null==a?null:Vb(a);return null==l?t:l}function Wb(t,r){var n=t.y1o_1,i=null==n?Lt.b1():n;t.y1o_1=i,i.h(r)}function Jb(t,r){var n,i=t.y1o_1;if(null==i)n=null;else{var e;t:{var s=0,a=i.p()-1|0;if(s<=a)do{var l=s;s=s+1|0;var u=i.s(l);if(!!wi(u,r)||u instanceof Tw&&Jb(u,r)){e=!0;break t}}while(s<=a);e=!1}n=e}return!0===n}function Yb(t,r,n){var i;return i=sk(t,n)?r.y14_1[function(t,r){var n=xv(r,5);return n>=t.length?t.length:t[n+4|0]+mk(t[n+1|0]>>29)|0}(t,n)]:wg().m17_1,i}function Zb(t,r,n){return ak(t,n)?r.y14_1[fk(t,n)]:null}function Qb(t,r,n){var i=Xb(t,r,n);return i>=0?t.s(i):null}function Xb(t,r,n){for(var i=0,e=t.p()-1|0;i<=e;){var s=(i+e|0)>>>1|0,a=t.s(s).g1b_1,l=_i(a<0?n+a|0:a,r);if(l<0)i=s+1|0;else{if(!(l>0))return s;e=s-1|0}}return 0|-(i+1|0)}function tk(t,r){return t[xv(r,5)+3|0]}function rk(t,r){return!!(67108864&t[xv(r,5)+1|0])}function nk(t,r){return t[xv(r,5)+2|0]}function ik(t,r){return t[xv(r,5)+4|0]}function ek(t,r){var n=xv(r,5);return t[n+4|0]+mk(t[n+1|0]>>28)|0}function sk(t,r){return!!(268435456&t[xv(r,5)+1|0])}function ak(t,r){return!!(536870912&t[xv(r,5)+1|0])}function lk(t,r){return!!(1073741824&t[xv(r,5)+1|0])}function uk(t,r){return 67108863&t[xv(r,5)+1|0]}function hk(t,r){return!!(201326592&t[xv(r,5)+1|0])}function _k(t,r){return t[xv(r,5)]}function ok(t,r){return!!(134217728&t[xv(r,5)+1|0])}function fk(t,r){var n=xv(r,5);return t[n+4|0]+mk(t[n+1|0]>>30)|0}function ck(t,r,n){gg(n>=0),t[xv(r,5)+3|0]=n}function vk(t,r,n){gg(n>=0&&n<67108863),t[xv(r,5)+1|0]=-67108864&t[xv(r,5)+1|0]|n}function wk(t,r,n){t[xv(r,5)+2|0]=n}function dk(t,r,n){t[xv(r,5)+4|0]=n}function pk(t,r,n){var i=Xb(t,r,n);return i>=0?i:0|-(i+1|0)}function mk(t){switch(t){case 0:return 0;case 1:case 2:case 4:return 1;case 3:case 5:case 6:return 2;default:return 3}}function gk(t,r,n,i,e){var s=r,a=n;Pg(a,-1439883919,"C(collectAsState)49@1909L30:SnapshotFlow.kt#9igjgp"),1&e&&(s=Qa()),bg()&&kg(-1439883919,i,-1,"androidx.compose.runtime.collectAsState (SnapshotFlow.kt:49)");var l=function(t,r,n,i,e,s){var a={_v:n},l=i;Pg(l,-606625098,"C(collectAsState)P(1)65@2578L149,65@2541L186:SnapshotFlow.kt#9igjgp"),bg()&&kg(-606625098,e,-1,"androidx.compose.runtime.collectAsState (SnapshotFlow.kt:65)");var u=a._v;Pg(l,-498556383,"CC(remember):SnapshotFlow.kt#9igjgp");var h,_,o,f=!!(l.p1d(a._v)|l.p1d(t)),c=l.b1f();if(f||c===wg().m17_1){var v=(_=new rd(a,t),(o=(t,r)=>_.v1r(t,r)).$arity=1,o);l.c1f(v),h=v}else h=c;var w=null==h||null!=h?h:Si();Og(l);var d=function(t,r,n,i,e,s){var a=e;Pg(a,-1703169085,"C(produceState)147@5571L41,148@5644L74,148@5617L101:ProduceState.kt#9igjgp"),bg()&&kg(-1703169085,s,-1,"androidx.compose.runtime.produceState (ProduceState.kt:146)"),Pg(a,2143085361,"CC(remember):ProduceState.kt#9igjgp");var l,u=a.b1f();if(u===wg().m17_1){var h=qk(t);a.c1f(h),l=h}else l=u;var _=null==l||null!=l?l:Si();Og(a);var o=_;Pg(a,2143087730,"CC(remember):ProduceState.kt#9igjgp");var f,c,v,w=a.p1d(i),d=a.b1f();if(w||d===wg().m17_1){var p=(c=new qw(i,o),(v=(t,r)=>c.x1l(t,r)).$arity=1,v);a.c1f(p),f=p}else f=d;var m=null==f||null!=f?f:Si();return Og(a),function(t,r,n,i,e){my();var s=i;Pg(s,590241125,"C(LaunchedEffect)P(1,2)361@15275L64:Effects.kt#9igjgp"),bg()&&kg(590241125,e,-1,"androidx.compose.runtime.LaunchedEffect (Effects.kt:359)");var a=s.q1c();Pg(s,2064994906,"CC(remember):Effects.kt#9igjgp");var l,u=!!(s.c14(t)|s.c14(r)),h=s.b1f();if(u||h===wg().m17_1){var _=new pw(a,n);s.c1f(_),l=_}else l=h;null==l||null!=l||Si(),Og(s),bg()&&xg(),Og(s)}(r,n,m,a,14&s>>3|112&s>>3),bg()&&xg(),Og(a),o}(r,t,u,w,l,8&e>>3|14&e>>3|112&e<<3|896&e);return bg()&&xg(),Og(l),d}(t,t.y1(),s,a,14&i|896&i<<3);return bg()&&xg(),Og(a),l}function*yk(t,r,n){var i,e,s,a=(i=t.o1r_1,e=new Zw(i),s=(t,r)=>e.q1r(t,r),s.$arity=1,s),l=t.n1r_1.ow(new Qw(a),n);return l===nl()&&(l=yield l),k}function*bk(t,r,n){if(wi(t.r1r_1._v,Qa())){var i=(a=new Xw(r),l=(t,r)=>a.q1r(t,r),l.$arity=1,l),e=t.s1r_1.ow(new Qw(i),n);e===nl()&&(e=yield e)}else{var s=Gh(t.r1r_1._v,function(t,r){var n=new td(t,r),i=(t,r)=>n.x1l(t,r);return i.$arity=1,i}(t.s1r_1,r),n);s===nl()&&(s=yield s)}var a,l;return k}function kk(){var t=ac;return pe(t,hd)?t:Si()}function xk(){var t=lc;return pe(t,hd)?t:Si()}function jk(){var t=uc;return pe(t,hd)?t:Si()}function qk(t,r){return function(t,r){return new wd(t,r)}(t,r=r===b?kk():r)}function zk(t){var r=t.a1t_1;return fe("current",1,Ir,(t=>zk(t)),null),r.y1()}function Sk(t){return t.i14_1.a13_1}function Ck(t){Nk(t)}function Ak(t){!function(t,r,n){Ik(t,r=r!==b&&r)}(t),t.i1c()}function $k(t,r){Ik(t,r)}function Ek(t,r,n){return $k(t,r=r!==b&&r)}function Ik(t,r){var n=r?Sk(t).e15_1:Sk(t).c15_1,i=n-t.n14_1|0;i>=0||Eg("Tried to seek backward"),i>0&&(t.j14_1.k1u(i),t.n14_1=n)}function Mk(t){t.t14_1>0&&(t.q14_1>=0?(function(t,r,n){Ck(t),t.j14_1.i1u(r,n)}(t,t.q14_1,t.t14_1),t.q14_1=-1):(function(t,r,n,i){Ck(t),t.j14_1.j1u(r,n,i)}(t,t.s14_1,t.r14_1,t.t14_1),t.r14_1=-1,t.s14_1=-1),t.t14_1=0)}function Nk(t){t.o14_1>0&&(t.j14_1.l1u(t.o14_1),t.o14_1=0),t.p14_1.el()&&(t.j14_1.m1u(t.p14_1.z5()),t.p14_1.s1())}function Lk(){return hc===b&&new Ad,hc}function Pk(){return _c===b&&new $d,_c}function Ok(){return oc===b&&new Ed,oc}function Dk(){return fc===b&&new Id,fc}function Rk(){return cc===b&&new Md,cc}function Tk(){return vc===b&&new Nd,vc}function Hk(){return wc===b&&new Ld,wc}function Uk(){return dc===b&&new Pd,dc}function Fk(){return pc===b&&new Od,pc}function Bk(){return mc===b&&new Dd,mc}function Kk(){return yc===b&&new Td,yc}function Gk(){return kc===b&&new Ud,kc}function Vk(){return qc===b&&new Kd,qc}function Wk(){return Sc===b&&new Vd,Sc}function Jk(){return Cc===b&&new Wd,Cc}function Yk(){return Ac===b&&new Jd,Ac}function Zk(){return $c===b&&new Yd,$c}function Qk(){return Ec===b&&new Zd,Ec}function Xk(){return Ic===b&&new Qd,Ic}function tx(){return Mc===b&&new Xd,Mc}function rx(){return Lc===b&&new rp,Lc}function nx(){return Pc===b&&new np,Pc}function ix(){return Oc===b&&new ip,Oc}function ex(){return Rc===b&&new sp,Rc}function sx(){return Tc===b&&new ap,Tc}function ax(t,r,n){for(;!t.p1p(n);)t.d17(),t.q19(t.k16_1)&&r.b10(),t.i19()}function lx(t){return ox(t)}function ux(t,r,n){var i=t,e=1<>>(32-r|0)|0}(0,r)}function wx(t){return new cp(t)}function*dx(t,r,n){var i=t.x1x_1.w1h_1,e=i.zk_1;t:{var s=i.yk_1,a=s.length-2|0,l=0;if(l<=a)do{var u=l;l=l+1|0;var h=s[u],_=h;if(!_.a3(_.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var o=8-(~(u-a)>>>31|0)|0,f=0;if(f30){for(t.x1z_1[e].l20(n.r1y_1,n.r1y_1.length,0);!wi(t.x1z_1[e].h20(),i);)t.x1z_1[e].m20();return t.y1z_1=e,k}var a=1<0&&t.x1z_1[n-1|0].a21(),t.x1z_1[n].x20(Rx().f1y_1.r1y_1,0)}while(0<=r);t.z1z_1=!1}function bx(t){if(!t.m())throw dr.o4()}function kx(t){return new Dp(t,1)}function xx(t){return new Dp(t,0)}function jx(t,r){return!!(t.p1y_1&r)}function qx(t,r){var n=t.r1y_1[r];return null==n||null!=n?n:Si()}function zx(t,r){var n=t.r1y_1[r+1|0];return null==n||null!=n?n:Si()}function Sx(t,r,n,i){var e=i.r1y_1;if(2===e.length&&0===i.p1y_1){if(1===t.r1y_1.length)return i.o1y_1=t.p1y_1,i;var s=t.n20(n),a=function(t,r,n,i,e){var s=Me(t,t.length+1|0);return Ge(s,s,r+2|0,r+1|0,t.length),Ge(s,s,n+2|0,n,r),s[n]=i,s[n+1|0]=e,s}(t.r1y_1,r,s,e[0],e[1]);return Tp.t21(t.o1y_1^n,t.p1y_1^n,a)}var l=Me(t.r1y_1,t.r1y_1.length);return l[r]=i,Tp.t21(t.o1y_1,t.p1y_1,l)}function Cx(t,r,n,i){if(1===t.r1y_1.length&&2===n.r1y_1.length&&0===n.p1y_1)return n.o1y_1=t.p1y_1,n;if(t.q1y_1===i)return t.r1y_1[r]=n,t;var e=t.r1y_1.slice();return e[r]=n,Tp.u21(t.o1y_1,t.p1y_1,e,i)}function Ax(t,r,n,i,e,s,a,l){var u=qx(t,r),h=null==u?null:di(u),_=$x(t,null==h?0:h,u,zx(t,r),i,e,s,a+5|0,l),o=t.q20(n)+1|0;return function(t,r,n,i){var e=n-2|0,s=1+(t.length-2|0)|0,a=Yn(Array(s),null);return Ge(t,a,0,0,r),Ge(t,a,r,r+2|0,n),a[e]=i,Ge(t,a,e+1|0,n,t.length),a}(t.r1y_1,r,o,_)}function $x(t,r,n,i,e,s,a,l,u){if(l>30){var h=[n,i,s,a];return Tp.u21(0,0,h,u)}var _=Ux(r,l),o=Ux(e,l);if(_!==o){var f=_0&&i<=e||s<0&&e<=i)do{var a=i;if(i=i+s|0,wi(r,t.r1y_1[a]))return!0}while(a!==e);return!1}function Lx(t,r,n,i,e,s){var a;if(jx(t,n)){var l,u=t.r20(t.q20(n));if(jx(r,n)){var h=r.r20(r.q20(n));l=u.r1z(h,i+5|0,e,s)}else if(r.p20(n)){var _=r.n20(n),o=qx(r,_),f=zx(r,_),c=s.p(),v=null==o?null:di(o),w=null==v?0:v,d=u.q1z(w,o,f,i+5|0,s);s.p()===c&&(e.s1z_1=e.s1z_1+1|0),l=d}else l=u;a=l}else if(jx(r,n)){var p,m=r.r20(r.q20(n));if(t.p20(n)){var g,y=t.n20(n),b=qx(t,y),k=null==b?null:di(b),x=null==k?0:k;if(m.s1y(x,b,i+5|0))e.s1z_1=e.s1z_1+1|0,g=m;else{var j=zx(t,y),q=null==b?null:di(b),z=null==q?0:q;g=m.q1z(z,b,j,i+5|0,s)}p=g}else p=m;a=p}else{var S=t.n20(n),C=qx(t,S),A=zx(t,S),$=r.n20(n),E=qx(r,$),I=zx(r,$),M=null==C?null:di(C),N=null==M?0:M,L=null==E?null:di(E);a=$x(t,N,C,A,null==L?0:L,E,I,i+5|0,s.d1z_1)}return a}function Px(t){if(0===t.p1y_1)return t.r1y_1.length/2|0;var r=Oe(t.o1y_1),n=r,i=xv(r,2),e=t.r1y_1.length;if(i>r&31}function Fx(t,r){var n=t.length-2|0,i=Yn(Array(n),null);return Ge(t,i,0,0,r),Ge(t,i,r,r+2|0,t.length),i}function Bx(){return Fc===b&&new Hp,Fc}function Kx(t,r,n){return Zx(),new gm(t,r,n)}function Gx(t,r){return Zx(),null==t||!!(t instanceof Sw&&r instanceof Sw)&&(!t.o1f()||wi(t,r)||wi(t.m11_1,r.m11_1))}function Vx(t){return Zx(),Jx(2,t)}function Wx(t){return Zx(),Jx(1,t)}function Jx(t,r){return Zx(),t<0?-2:-1;for(var i=0;i<=n;){var e=(i+n|0)>>>1|0,s=t.v1s_1[e].r2(r);if(s.k1(new yt(0,0))<0)i=e+1|0;else{if(!(s.k1(new yt(0,0))>0))return e;n=e-1|0}}return 0|-(i+1|0)}function rj(t,r,n){null!=n?t.k(n(r)):null==r||ge(r)?t.k(r):r instanceof ut?t.u9(r.bh_1):t.k(Wn(r))}function nj(){return Kj(),Jc}function ij(){return Kj(),Yc}function ej(){return Kj(),Zc}function sj(t){Kj(),Qc=t}function aj(){return Kj(),Qc}function lj(t){Kj(),Xc=t}function uj(){return Kj(),Xc}function hj(){return Kj(),tv}function _j(){return Kj(),rv}function oj(t){Kj(),nv=t}function fj(){return Kj(),nv}function cj(t){Kj(),iv=t}function vj(){return Kj(),iv}function wj(){return Kj(),ev}function dj(){return Kj(),sv}function pj(){return Kj(),av}function mj(){return uv===b&&new em,uv}function gj(){return hv===b&&new lm,hv}function yj(t){Kj(),hj().q25(t)}function bj(){Kj();var t=ij().js();return null==t?wj().js():t}function kj(t){Kj();var r,n=dj(),i=n instanceof hm?n:Si();ej(),null!=(r=(i=wj().js()).l23())&&pj().ni(1);var e=Cj(i,t),s=r;if(null==s);else try{var a=fj(),l=0,u=a.p()-1|0;if(l<=u)do{var h=l;l=l+1|0,a.s(h)(wx(s),i)}while(l<=u)}finally{pj().ni(-1)}ej(),Aj();var _=r;if(null==_);else{var o=_.zk_1;t:{var f=_.yk_1,c=f.length-2|0,v=0;if(v<=c)do{var w=v;v=v+1|0;var d=f[w],p=d;if(!p.a3(p.w2().x2(7)).a3(new yt(-2139062144,-2139062144)).equals(new yt(-2139062144,-2139062144))){var m=8-(~(w-c)>>>31|0)|0,g=0;if(g>>31|0)|0,w=0;if(w=e){_=f;break t}c.e1s_11}function Nj(t,r,n){return Kj(),function(t,r,n){return Kj(),!(0===r)&&r<=t&&!n.s(r)}(r,t.e1s_1,n)}function Lj(t,r){Kj();var n=lv.xz(),i=n.t23();null==i||i(r);var e,s=Ej(t,n.e1b(),n.m23());if(null==s){ej();var a,l=lv.xz(),u=r.j1s(),h=Ej(u instanceof id?u:Si(),l.e1b(),l.m23());null==h?Ij():a=h,e=a}else e=s;return e}function Pj(t){Kj();var r,n=lv.xz(),i=Ej(t,n.e1b(),n.m23());if(null==i){ej();var e=lv.xz();r=Ej(t,e.e1b(),e.m23())}else r=i;var s,a=r;return null==a?Ij():s=a,s}function Oj(t,r){Kj(),t.p23(t.q23()+1|0);var n=t.u23();null==n||n(r)}function Dj(t,r,n,i){Kj(),n.r23()&&n.v23(r);var e=n.e1b();if(i.e1s_1===e)return i;ej();var s=function(t,r){Kj();var n,i=function(t){Kj();for(var r=t.j1s(),n=null,i=hj().g26(uj())-1|0,e=Jj().i24_1;null!=r;){if(0===r.e1s_1)return r;if(Nj(r,i,e)){if(null!=n)return r.e1s_10;){var s=(e+1>>1)-1|0;if(!(n[s]>i))break t;Vj(t,s,e),e=s}}function Vj(t,r,n){var i=t.m25_1,e=t.n25_1,s=t.o25_1,a=i[r];i[r]=i[n],i[n]=a,a=e[r],e[r]=e[n],e[n]=a,s[e[r]]=r,s[e[n]]=n}function*Wj(t,r,n){var i=t.m26_1.c24_1;if(null!=i)for(var e=0,s=i.length;e>>1|0,s=t[e];if(r>s)n=e+1|0;else{if(!(r{var t,r=this.r2a_1,n=this.u2a_1;if(null==n)throw vr.h1(pi("Value should be initialized"));return t=n,r.b2b(this,t)}}z2a(t,r,n,i,e){var s=!1;if(this.s2a_1!==r&&(this.s2a_1=r,s=!0),this.t2a_1!==n&&(this.t2a_1=n,s=!0),this.r2a_1=t,this.u2a_1=i,this.v2a_1=e,null!=this.w2a_1&&s){var a=this.w2a_1;null==a||a.c2b(),this.w2a_1=null,dq(this)}}m1i(){dq(this)}l1i(){var t=this.w2a_1;null==t||t.c2b()}n1i(){var t=this.w2a_1;null==t||t.c2b()}y2a(t){return Ne(t,this.v2a_1)?this.u2a_1:null}}class oq{constructor(t,r,n){this.e2b_1=t,this.f2b_1=r,this.g2b_1=n}c2b(){var t=this.e2b_1.j2b_1.f2(this.f2b_1);if(null==t||t.q1(this.g2b_1),null!=t&&!t.x()){var r=this.e2b_1.j2b_1,n=this.f2b_1;r.e2(n,t)}}}class fq{constructor(t,r){this.h2b_1=r;var n,i=null==t?null:Ka(t);n=null==i?tr.fa():i,this.i2b_1=n,this.j2b_1=tr.fa()}d2b(t){return this.h2b_1(t)}p2a(t){var r,n=this.i2b_1.f2(t);if(null==n||n.x())r=null;else{if(n.p()>1){var i=this.i2b_1,e=n.o1(1,n.p());i.e2(t,e)}r=n.s(0)}return r}a2b(t,r){if(function(t){gq();var r=!0,n=0,i=ui(t);if(n0}n(){var t=this.w26_1.s26(),r=this.v26_1;return this.v26_1=r-1|0,this.w26_1.u26(t-r|0)}}class Mq{constructor(t){this.x26_1=t}l(){return new Iq(this.x26_1)}}class Nq{constructor(t){this.z26_1=t,this.y26_1=t.s26()}m(){return this.y26_1>0}n(){var t=this.z26_1.s26(),r=this.y26_1;return this.y26_1=r-1|0,this.z26_1.t26(t-r|0)}}class Lq{constructor(t){this.a27_1=t}l(){return new Nq(this.a27_1)}}class Pq{constructor(t){this.b27_1=t,this.c27_1=!1,this.d27_1=Da(),this.e27_1=Lt.b1(),this.f27_1=Kt.g8(),this.g27_1=Lt.b1(),this.h27_1=Lt.b1(),this.i27_1=Lt.b1()}}class Oq{}class Dq{constructor(t,r,n,i,e){var s;this.j27_1=t,this.k27_1=r,this.l27_1=n,this.m27_1=e.d27_1,this.n27_1=Un(s=e.e27_1,Kt.z(Ha(s,12)));var a=e.e27_1;this.o27_1=We(a),this.p27_1=rz(e.g27_1);var l=e.h27_1;this.q27_1=We(l),this.r27_1=function(t){for(var r=Qn(t.p()),n=0,i=t.l();i.m();){var e=i.n(),s=n;n=s+1|0,r[s]=e}return r}(e.i27_1);for(var u=function(t){return new Qr((()=>Zn(t)))}(this.o27_1),h=Lt.q(Ha(u,10)),_=u.l();_.m();){var o=_.n(),f=kl(o.of_1,o.nf_1);h.h(f)}this.s27_1=Fa(h),this.t27_1=rz(i),this.u27_1=Fs((()=>iz(this,this.t27_1)))}q26(){return this.j27_1}r26(){return this.k27_1}s26(){return this.l27_1}v27(){return this.n27_1}t26(t){return az(this.o27_1,t)}u26(t){return az(this.p27_1,t)}equals(t){var r;t:if(this!==t)if(t instanceof Dq)if(this.q26()===t.q26())if(Ne(this.t27_1,t.t27_1))if(this.s26()===t.s26()){var n=0,i=this.s26();if(nthis.t26(t)+": "+this.u26(t).q26()))}}class Rq{toString(){return zi(wa(this).cd())}hashCode(){return gi(this.toString())}}class Tq extends Rq{constructor(){xq=null,super(),xq=this}}class Hq extends Rq{}class Uq extends Hq{constructor(){jq=null,super(),jq=this}}class Fq extends Hq{constructor(){qq=null,super(),qq=this}}class Bq{constructor(t,r){this.w27_1=r,this.x27_1=null,this.y27_1=Fs((()=>{var r=this.x27_1;return null==r?function(t,r){for(var n=new Gq(r,t.w27_1.length),i=t.w27_1,e=0,s=i.length;et.m28()),null),t.y1()}toString(){return"kotlinx.serialization.internal.EnumSerializer<"+this.m28().q26()+">"}}class Kq{constructor(t,r,n){r=r===b?null:r,this.z27_1=t,this.a28_1=r,this.b28_1=n,this.c28_1=-1;for(var i=0,e=this.b28_1,s=Yn(Array(e),null);i{var t=this.a28_1,r=null==t?null:t.d29();return null==r?(Aq||(Aq=!0,Cq=[]),Cq):r})),ml(),this.j28_1=Bs(0,(()=>{var t,r=this.a28_1,n=null==r?null:r.e29();if(null==n)t=null;else{for(var i=Lt.q(n.length),e=0,s=n.length;eiz(this,this.b29())))}q26(){return this.z27_1}s26(){return this.b28_1}r26(){return Qq()}v27(){return this.h28_1.c2()}b29(){var t=this.j28_1;return fe("typeParameterDescriptors",1,Ir,(t=>t.b29()),null),t.y1()}c29(t,r){this.c28_1=this.c28_1+1|0,this.d28_1[this.c28_1]=t,this.g28_1[this.c28_1]=r,this.e28_1[this.c28_1]=null,this.c28_1===(this.b28_1-1|0)&&(this.h28_1=function(t){var r=Pt.l6(),n=0,i=t.d28_1.length-1|0;if(n<=i)do{var e=n;n=n+1|0;var s=t.d28_1[e];r.e2(s,e)}while(n<=i);return r}(this))}l28(t,r,n){var i;return r=r!==b&&r,n===b?(this.c29(t,r),i=k):i=n.c29.call(this,t,r),i}u26(t){return az(ez(this),t).m28()}t26(t){return az(this.d28_1,t)}equals(t){var r;t:if(this!==t)if(t instanceof Kq)if(this.q26()===t.q26())if(Ne(this.b29(),t.b29()))if(this.s26()===t.s26()){var n=0,i=this.s26();if(nthis.t26(t)+": "+this.u26(t).q26()))}}class Gq extends Kq{constructor(t,r){super(t,b,r),this.z28_1=Zq(),this.a29_1=Fs((()=>{for(var n=0,i=r,e=Yn(Array(i),null);nJq(t)),null),r.y1()}function Yq(t){return k}function Zq(){return xq===b&&new Tq,xq}function Qq(){return jq===b&&new Uq,jq}function Xq(t){var r=t.a29_1;return fe("elementDescriptors",1,Ir,(t=>Xq(t)),null),r.y1()}function tz(t){if(nz(),pe(t,Oq))return t.v27();var r=Kt.z(t.s26()),n=0,i=t.s26();if(nez(t)),null),r.y1()}function sz(t){var r=t.k28_1;return fe("_hashCode",1,Ir,(t=>sz(t)),null),r.y1()}function az(t,r){if(!(0<=r&&r<=(t.length-1|0)))throw mr.qc("Index "+r+" out of bounds "+function(t){return new kn(0,Pn(t))}(t).toString());return t[r]}ie(Eq,"SerialDescriptor"),re(Iq),re(Mq),re(Nq),re(Lq),re(Pq,"ClassSerialDescriptorBuilder"),ie(Oq,"CachedNames"),re(Dq,"SerialDescriptorImpl",b,b,[Eq,Oq]),re(Rq,"SerialKind"),ne(Tq,"ENUM"),re(Hq,"StructureKind"),ne(Uq,"CLASS"),ne(Fq,"OBJECT"),re(Bq,"EnumSerializer"),re(Kq,"PluginGeneratedSerialDescriptor",b,b,[Eq,Oq]),re(Gq,"EnumDescriptor"),ie(class{},"GeneratedSerializer"),re(class{},"SerializableWith",b,b,b,b,0);var lz,uz,hz,_z,oz,fz,cz,vz,wz,dz,pz,mz,gz,yz,bz,kz,xz,jz,qz,zz,Sz,Cz,Az,$z,Ez,Iz,Mz=Math.imul;class Nz{f29(t){}g29(t){}toString(){return"Modifier"}}class Lz{}class Pz{constructor(t){this.h29_1=t}toString(){return"Density(rawDensity="+this.h29_1+")"}hashCode(){return ei(this.h29_1)}equals(t){return function(t,r){return r instanceof Pz&&!!wi(t,r instanceof Pz?r.h29_1:Si())}(this.h29_1,t)}}class Oz extends mt{}class Dz{constructor(){var t,r;fz=this,this.i29_1=(r=t===b?Gz(0):t,new Rz(t=r,t,t,t))}}class Rz{constructor(t,r,n,i){Xz(),t=t===b?Gz(0):t,r=r===b?Gz(0):r,n=n===b?Gz(0):n,i=i===b?Gz(0):i,this.j29_1=t,this.k29_1=r,this.l29_1=n,this.m29_1=i}toString(){return wi(this.j29_1,this.k29_1)&&wi(this.l29_1,this.m29_1)?wi(this.j29_1,this.l29_1)?"Margin(all="+Vz(this.j29_1)+")":"Margin(horizontal="+Vz(this.j29_1)+", vertical="+Vz(this.l29_1)+")":"Margin(start="+Vz(this.j29_1)+", end="+Vz(this.k29_1)+", top="+Vz(this.l29_1)+", bottom="+Vz(this.m29_1)+")"}equals(t){return this===t||t instanceof Rz&&!!wi(this.j29_1,t.j29_1)&&!!wi(this.k29_1,t.k29_1)&&!!wi(this.l29_1,t.l29_1)&&!!wi(this.m29_1,t.m29_1)}hashCode(){var t=Wz(this.j29_1);return t=Mz(t,31)+Wz(this.k29_1)|0,t=Mz(t,31)+Wz(this.l29_1)|0,Mz(t,31)+Wz(this.m29_1)|0}}class Tz{}class Hz{constructor(t){this.n29_1=t}toString(){return this.n29_1+".px"}hashCode(){return ei(this.n29_1)}equals(t){return function(t,r){return r instanceof Hz&&!!wi(t,r instanceof Hz?r.n29_1:Si())}(this.n29_1,t)}}class Uz{constructor(){cz=this;var t=Gz(0),r=Gz(0);this.o29_1=new Fz(t,r)}}class Fz{constructor(t,r){cz===b&&new Uz,this.p29_1=t,this.q29_1=r}equals(t){return this===t||t instanceof Fz&&!!wi(this.p29_1,t.p29_1)&&!!wi(this.q29_1,t.q29_1)}hashCode(){var t=Wz(this.p29_1);return Mz(t,31)+Wz(this.q29_1)|0}toString(){return"Size(width="+Vz(this.p29_1)+", height="+Vz(this.q29_1)+")"}}class Bz{constructor(){var t,r;vz=this,this.r29_1=[null,null,null,null,null,(t="app.cash.redwood.ui.LayoutDirection",r=[Yz(),Zz(),Qz()],new Bq(t,r))]}}class Kz{constructor(t,r,n,i,e,s){vz===b&&new Bz,t=t!==b&&t,r=r===b?Xz().i29_1:r,n=n===b?Xz().i29_1:n,i=i===b?null:i,e=e===b?1:e,s=s===b?Yz():s,this.s29_1=t,this.t29_1=r,this.u29_1=n,this.v29_1=i,this.w29_1=e,this.x29_1=s}y29(t,r,n,i,e,s){return new Kz(t,r,n,i,e,s)}z29(t,r,n,i,e,s,a){return t=t===b?this.s29_1:t,r=r===b?this.t29_1:r,n=n===b?this.u29_1:n,i=i===b?this.v29_1:i,e=e===b?this.w29_1:e,s=s===b?this.x29_1:s,a===b?this.y29(t,r,n,i,e,s):a.y29.call(this,t,r,n,i,e,s)}equals(t){return this===t||t instanceof Kz&&this.s29_1===t.s29_1&&!!this.t29_1.equals(t.t29_1)&&!!this.u29_1.equals(t.u29_1)&&!!wi(this.v29_1,t.v29_1)&&!!wi(this.w29_1,t.w29_1)&&!!this.x29_1.equals(t.x29_1)}hashCode(){var t=mi(this.s29_1);return t=Mz(t,31)+this.t29_1.hashCode()|0,t=Mz(t,31)+this.u29_1.hashCode()|0,t=Mz(t,31)+(null==this.v29_1?0:this.v29_1.hashCode())|0,t=Mz(t,31)+ei(this.w29_1)|0,Mz(t,31)+this.x29_1.hashCode()|0}toString(){return"UiConfiguration(darkMode="+this.s29_1+", safeAreaInsets="+this.t29_1.toString()+", viewInsets="+this.u29_1.toString()+", viewportSize="+Wn(this.v29_1)+", density="+this.w29_1+", layoutDirection="+this.x29_1.toString()+")"}}function Gz(t){if(!(t>=0)){var r="value must be non-negative: "+t;throw vr.h1(pi(r))}return t}function Vz(t){return t+".dp"}function Wz(t){return ei(t)}function Jz(){if(oz)return k;oz=!0,uz=new Oz("Ltr",0),hz=new Oz("Rtl",1),_z=new Oz("Auto",2)}function Yz(){return Jz(),uz}function Zz(){return Jz(),hz}function Qz(){return Jz(),_z}function Xz(){return fz===b&&new Dz,fz}se(Nz),se(Lz),re(Pz,"Density"),re(Oz,"LayoutDirection"),se(Dz),re(Rz,"Margin",Rz),se(Tz),re(Hz,"Px"),se(Uz),re(Fz,"Size"),se(Bz),re(Kz,"UiConfiguration",Kz),lz=new Nz,new Lz,new Tz;class tS{}class rS{constructor(t){this.a2a_1=t,this.b2a_1=Lt.b1()}c2a(){return this.b2a_1}d2a(t,r){this.b2a_1.u1(t,r);var n=this.a2a_1.children[t];this.a2a_1.insertBefore(r.y1(),n)}e2a(t,r){return this.d2a(t,r)}f10(t,r,n){!function(t,r,n,i){var e=r>n?n:n-i|0;if(1===i)if(r===(n+1|0)||r===(n-1|0)){var s=t.s(r),a=t.t1(n,s);t.t1(r,a)}else{var l=t.v1(r);t.u1(e,l)}else{var u=t.o1(r,r+i|0),h=Hn(u);u.s1(),t.r1(e,h)}}(this.b2a_1,t,r,n);for(var i=0,e=Yn(Array(n),null);it?r-n|0:r,_=0,o=0,f=u.length;o(sS(this,(r=>{var n=t;return r.z29(n.matches)})),k))),eS(this)}os(){return this.i2a_1}m2a(){return this.k2a_1}n2a(){return this.l2a_1}o2a(){return null}}function eS(t){var r=t.j2a_1;null==r||r();var n=window.matchMedia("(resolution: "+window.devicePixelRatio+"dppx)"),i=r=>(eS(t),k);n.addEventListener("change",i),t.j2a_1=()=>(n.removeEventListener("change",i),k),sS(t,aS)}function sS(t,r){t.l2a_1.mw(r(t.l2a_1.y1()))}function aS(t){return t.z29(b,b,b,b,window.devicePixelRatio)}ie(tS,"ChangeListener"),re(rS,"HTMLElementChildren"),re(nS),re(iS,"RedwoodHTMLElementView");class lS{constructor(t){this.a2c_1=t}x1l(t,r){this.a2c_1.w2b_1=null,lv.j1n()}cc(t,r){return this.x1l(null!=t&&pe(t,yu)?t:Si(),r)}}class uS{constructor(t){this.z2b_1=t}x1l(t,r){return $s(yS.bind(b,this,t),r)}cc(t,r){return this.x1l(null!=t&&pe(t,yu)?t:Si(),r)}}class hS{constructor(t,r,n,i,e){this.q2b_1=t,this.r2b_1=r,this.s2b_1=n,this.t2b_1=i,this.u2b_1=new Lw(this.q2b_1.gm()),this.v2b_1=function(t,r){return hy(),new iw(r,t)}(e,this.u2b_1),this.w2b_1=null;var s=lv;this.x2b_1=s.j23((t=>{var r,n;return null==this.w2b_1&&(this.w2b_1=Kh(this.q2b_1,b,b,(r=new lS(this),(n=(t,n)=>r.x1l(t,n)).$arity=1,n))),k}));var a,l,u=(l_(),Dl);this.y2b_1=Kh(this.q2b_1,b,u,(a=new uS(this),(l=(t,r)=>a.x1l(t,r)).$arity=1,l))}s1i(t){var r;this.v2b_1.s1i((r=Kx(1975066960,!0,((r,n)=>{var i,e,s=r;if(2==(3&n)&&s.c1a())s.d17();else{bg()&&kg(1975066960,n,-1,"app.cash.redwood.compose.WidgetRedwoodComposition.setContent. (RedwoodComposition.kt:163)");var a=gk(this.t2b_1,null,s,0,1),l=[(gS(),wz).f1k(this.r2b_1),pq().f1k(this.s2b_1),jS().f1k((e=a,ce("uiConfiguration",Nr,!1,(()=>Ci())),e.y1()))],u=Yx(270222480,!0,((r,n)=>{var i=r;return 2==(3&n)&&i.c1a()?i.d17():(bg()&&kg(270222480,n,-1,"app.cash.redwood.compose.WidgetRedwoodComposition.setContent.. (RedwoodComposition.kt:169)"),t(i,0),bg()&&xg()),k}),s,54),h=s;Pg(h,1157296644,"CC(remember)P(1):Composables.kt#9igjgp");var _,o=h.c14(u),f=h.b1f();if(o||f===wg().m17_1){var c=(i=u,(t,r)=>i.n1c(t,r));h.c1f(c),_=c}else _=f;var v=null==_||null!=_?_:Si();Og(h),fy(l,v,s,56),bg()&&xg()}return k})),(t,n)=>r.n1c(t,n)))}}class _S{constructor(){pz=this,this.b2c_1=new oS}}class oS{constructor(){bS()}c2c(t,r,n,i){var e=n;e=e.j1e(1209127542);var s=i;if(6&i||(s|=e.p1d(t)?4:2),48&i||(s|=e.p1d(r)?32:16),18==(19&s)&&e.c1a())e.d17();else{bg()&&kg(1209127542,s,-1,"app.cash.redwood.compose.RedwoodComposeContent.Children (RedwoodComposition.kt:240)"),e.s1c(-1526404809);var a,l=e,u=4==(14&s),h=l.b1f();if(u||h===wg().m17_1){var _=()=>vS.h2c("function"==typeof t?t:Si());l.c1f(_),a=_}else a=h;var o=null==a||null!=a?a:Si();e.u1c();var f=896&s<<3,c=e;Pg(c,-548224868,"CC(ComposeNode)P(1,2)336@12596L9:Composables.kt#9igjgp"),pe(c.o1c(),jv)||function(){throw fr.l3(pi("Invalid applier"))}(),c.l17(),c.b1d()?c.d1d(o):c.g1d(),r(c,14&f>>6),c.i1d(),Og(c),bg()&&xg()}var v=this,w=e.k1e();null==w||w.p1k(((n,e)=>(v.c2c(t,r,n,zy(1|i)),k)))}}class fS extends Cv{constructor(t,r,n){super(vS.i2c(r)),this.m2c_1=t,this.n2c_1=n,this.o2c_1=!1,this.p2c_1=new Set}q2c(){return this.m2c_1}r2c(t){pe(t,tS)&&this.p2c_1.add(t)}yz(){super.yz(),this.n2c_1()}zz(){if(this.o2c_1&&0!==this.p2c_1.size)throw fr.l3("Check failed.");var t=this.p2c_1;t.forEach(CS),t.clear()}s2c(t,r){if(this.o2c_1)throw fr.l3("Check failed.");if(r instanceof vS){var n=this.xz(),i=n instanceof dS?n:Si();r.x2c(i.u2c_1)}}c10(t,r){return this.s2c(t,null!=r&&pe(r,cS)?r:Si())}y2c(t,r){if(this.o2c_1)throw fr.l3("Check failed.");if(r instanceof dS){var n=r instanceof dS?r:Si(),i=this.xz(),e=i instanceof vS?i:Si();e.z2c(t,n);var s=e.an();null==s||this.r2c(s)}}d10(t,r){return this.y2c(t,null!=r&&pe(r,cS)?r:Si())}e10(t,r){if(this.o2c_1)throw fr.l3("Check failed.");var n=this.xz(),i=n instanceof vS?n:Si();i.e10(t,r);var e=i.an();null==e||this.r2c(e)}f10(t,r,n){if(this.o2c_1)throw fr.l3("Check failed.");var i=this.xz(),e=i instanceof vS?i:Si();e.f10(t,r,n);var s=e.an();null==s||this.r2c(s)}}class cS{}class vS{static a2d(t,r,n){var i=xi(this);return i.d2c_1=t,i.e2c_1=n,i.f2c_1=[],i.g2c_1=r,i}static h2c(t){return this.a2d(t,null,null)}static i2c(t){return this.a2d(null,null,t)}z2c(t,r){var n=this.f2c_1,i=t,e=n.length;if(in?n:n-i|0,s=t.splice(r,i),a=0;if(a{var n=ue(r).s2(he(1e6)),e=t(n);return i.va(e),k})),n.nb()}}function mS(){throw gS(),yr.uc("OnBackPressedDispatcher was not provided!")}function gS(){dz||(dz=!0,wz=_y(mS))}function*yS(t,r,n){var i=t.z2b_1.u2b_1.p1o(n);return i===nl()&&(i=yield i),k}function bS(){return pz===b&&new _S,pz}function kS(){return k}function xS(){return k}function jS(){return SS(),mz}function qS(){throw SS(),yr.uc("UiConfiguration was not provided!")}function zS(t){return SS(),t.q1k(jS()).u29_1}function SS(){var t,r;gz||(gz=!0,r=qS,t=(t=b)===b?kk():t,mz=new fw(t,r),new cw(zS))}function CS(t){return t.zz(),k}function AS(t){var r=t.e2c_1;if(null==r)throw fr.l3(pi("Not attached"));return r}function $S(t,r){t.b2d(),r.g29((r=>(t.t2c_1.q2c().c2d(t.u2c_1.y1(),r),k))),t.u2c_1.d2d(r);var n=t.v2c_1;return null==n||n.g2a(t.w2c_1,t.u2c_1),k}function ES(){return yz===b&&new wS,yz}ee(lS,b,b,[1]),ee(uS,b,b,[1]),re(hS,"WidgetRedwoodComposition"),se(_S),re(oS,"RedwoodComposeContent",oS),re(fS,"NodeApplier"),ie(cS,"Node"),re(vS,"ChildrenNode",b,b,[cS]),se(wS),re(dS,"WidgetNode",b,b,[cS]),ki(pS).x1=Ev,ki(pS).gb=on,ki(pS).og=fn,ki(pS).ng=cn,ki(pS).pg=hn,ne(pS,"WindowAnimationFrameClock",b,b,[$v],[1]),bz=new pS;class IS{}class MS{}class NS{}class LS{}class PS{}class OS{}class DS{}ie(IS,"Flex"),ie(MS,"Grow"),ie(NS,"Height"),ie(LS,"Margin"),ie(PS,"Shrink"),ie(OS,"Size"),ie(DS,"Width");class RS{constructor(){kz=this,this.f2d_1=0,this.g2d_1=1}}class TS{constructor(t){VS(),this.h2d_1=t}toString(){return function(t){var r;switch(t){case 0:r="Wrap";break;case 1:r="Fill";break;default:throw yr.tc()}return r}(this.h2d_1)}hashCode(){return this.h2d_1}equals(t){return function(t,r){return r instanceof TS&&t===(r instanceof TS?r.h2d_1:Si())}(this.h2d_1,t)}}class HS{constructor(){xz=this,this.i2d_1=0,this.j2d_1=1}}class US{constructor(t){WS(),this.k2d_1=t}toString(){return function(t){var r;switch(t){case 0:r="Clip";break;case 1:r="Scroll";break;default:throw yr.tc()}return r}(this.k2d_1)}hashCode(){return this.k2d_1}equals(t){return function(t,r){return r instanceof US&&t===(r instanceof US?r.k2d_1:Si())}(this.k2d_1,t)}}class FS{constructor(){jz=this,this.l2d_1=0,this.m2d_1=1,this.n2d_1=2,this.o2d_1=3}}class BS{constructor(t){JS(),this.p2d_1=t}toString(){return function(t){var r;switch(t){case 0:r="Start";break;case 1:r="Center";break;case 2:r="End";break;case 3:r="Stretch";break;default:throw yr.tc()}return r}(this.p2d_1)}hashCode(){return this.p2d_1}equals(t){return function(t,r){return r instanceof BS&&t===(r instanceof BS?r.p2d_1:Si())}(this.p2d_1,t)}}class KS{constructor(){qz=this,this.q2d_1=0,this.r2d_1=1,this.s2d_1=2,this.t2d_1=3,this.u2d_1=4,this.v2d_1=5}}class GS{constructor(t){YS(),this.w2d_1=t}toString(){return function(t){var r;switch(t){case 0:r="Start";break;case 1:r="Center";break;case 2:r="End";break;case 3:r="SpaceBetween";break;case 4:r="SpaceAround";break;case 5:r="SpaceEvenly";break;default:throw yr.tc()}return r}(this.w2d_1)}hashCode(){return this.w2d_1}equals(t){return function(t,r){return r instanceof GS&&t===(r instanceof GS?r.w2d_1:Si())}(this.w2d_1,t)}}function VS(){return kz===b&&new RS,kz}function WS(){return xz===b&&new HS,xz}function JS(){return jz===b&&new FS,jz}function YS(){return qz===b&&new KS,qz}se(RS),re(TS,"Constraint"),se(HS),re(US,"Overflow"),se(FS),re(BS,"CrossAxisAlignment"),se(KS),re(GS,"MainAxisAlignment");class ZS{constructor(t){this.t2e_1=t}c2e(){var t=this.t2e_1.createElement("div");return new QS(t instanceof HTMLDivElement?t:Si())}}class QS{constructor(t){var r;this.u2e_1=new tC(t,"column",nC),this.v2e_1=(r=this.u2e_1,fe("modifier",0,Lr,(()=>r.a2f_1),(t=>(r.a2f_1=t,k))))}y1(){return this.u2e_1.w2e_1}d2d(t){var r=this.v2e_1;return fe("modifier",1,Mr,(t=>t.b2f()),((t,r)=>t.d2d(r))),r.set(t),k}b2f(){var t=this.v2e_1;return fe("modifier",1,Mr,(t=>t.b2f()),((t,r)=>t.d2d(r))),t.get()}os(){return this.u2e_1.y2e_1}d2e(t){return this.u2e_1.d2e(t)}e2e(t){return this.u2e_1.e2e(t)}f2e(t){return this.u2e_1.f2e(t)}g2e(t){return this.u2e_1.g2e(t)}h2e(t){return this.u2e_1.c2f(t)}i2e(t){return this.u2e_1.d2f(t)}j2e(t){return this.u2e_1.j2e(t)}}class XS{constructor(t,r){this.e2f_1=t,this.f2f_1=r}g2f(t){var r;switch(this.e2f_1.w2e_1.style.flexDirection){case"row":r=this.e2f_1.w2e_1.scrollTop;break;case"column":r=this.e2f_1.w2e_1.scrollLeft;break;default:throw yr.tc()}var n=r;this.f2f_1(new Hz(function(t){if(!(t>=0)){var r="value must be non-negative: "+t;throw vr.h1(pi(r))}return t}(n)))}handleEvent(t){return this.g2f(t)}}class tC{constructor(t,r,n){this.w2e_1=t,this.x2e_1=n,this.w2e_1.style.display="flex",this.w2e_1.style.flexDirection=r,this.y2e_1=new rC(this.w2e_1),this.z2e_1=null,this.a2f_1=lz}d2e(t){this.w2e_1.style.width=sC(t)}e2e(t){this.w2e_1.style.height=sC(t)}f2e(t){var r=this.w2e_1.style;aC(r,eC(t.j29_1)),lC(r,eC(t.k29_1)),r.marginTop=eC(t.l29_1),r.marginBottom=eC(t.m29_1)}g2e(t){this.x2e_1(this.w2e_1.style,function(t){var r;if(t===WS().i2d_1)r="hidden";else{if(t!==WS().j2d_1)throw yr.tc();r="scroll"}return r}(t))}j2e(t){var r=this.z2e_1;if(null==r||(this.w2e_1.removeEventListener("scroll",r),this.z2e_1=null),null!=t){var n=new XS(this,t);this.z2e_1=n;var i=n;this.w2e_1.addEventListener("scroll",i)}}c2f(t){this.w2e_1.style.alignItems=function(t){var r;if(t===JS().l2d_1)r="start";else if(t===JS().m2d_1)r="center";else if(t===JS().n2d_1)r="end";else{if(t!==JS().o2d_1)throw yr.tc();r="stretch"}return r}(t)}d2f(t){this.w2e_1.style.justifyContent=function(t){var r;if(t===YS().q2d_1)r="start";else if(t===YS().r2d_1)r="center";else if(t===YS().s2d_1)r="end";else if(t===YS().t2d_1)r="space-between";else if(t===YS().u2d_1)r="space-around";else{if(t!==YS().v2d_1)throw yr.tc();r="space-evenly"}return r}(t)}}class rC{constructor(t,r){r=r===b?new rS(t):r,this.h2f_1=t,this.i2f_1=r}f2a(t,r){iC(r,0,!0),this.i2f_1.f2a(t,r)}g2a(t,r){return this.f2a(t,r)}d2a(t,r){iC(r,0,!1),this.i2f_1.d2a(t,r)}e2a(t,r){return this.d2a(t,r)}f10(t,r,n){this.i2f_1.f10(t,r,n)}e10(t,r){this.i2f_1.e10(t,r)}c2a(){return this.i2f_1.c2a()}}function nC(t,r){return t.overflowY=r,k}function iC(t,r,n){if(n){var i=t.y1().style;i.removeProperty("margin-inline-start"),i.removeProperty("margin-inline-end"),i.removeProperty("margin-top"),i.removeProperty("margin-bottom"),i.removeProperty("flex-grow"),i.removeProperty("flex-shrink"),i.removeProperty("flex"),i.removeProperty("width"),i.removeProperty("height")}t.b2f().f29((r=>{if(pe(r,LS)){var n=t.y1().style;aC(n,eC(r.y2d().j29_1)),lC(n,eC(r.y2d().k29_1)),n.marginTop=eC(r.y2d().l29_1),n.marginBottom=eC(r.y2d().m29_1)}else if(pe(r,MS))t.y1().style.flexGrow=r.y1().toString();else if(pe(r,PS))t.y1().style.flexShrink=r.y1().toString();else if(pe(r,IS))t.y1().style.flex=r.y1().toString();else if(pe(r,DS))t.y1().style.width=eC(r.z2d());else if(pe(r,NS))t.y1().style.height=eC(r.x2d());else if(pe(r,OS)){var i=t.y1().style;i.width=eC(r.z2d()),i.height=eC(r.x2d())}return k}))}function eC(t){return function(t){if(Le(t))throw vr.h1("Cannot round NaN value.");return t>2147483647?2147483647:t<-2147483648?-2147483648:le(Math.round(t))}(1*t*1)+"px"}function sC(t){var r;if(t===VS().f2d_1)r="auto";else{if(t!==VS().g2d_1)throw yr.tc();r="100%"}return r}function aC(t,r){t.setProperty("margin-inline-start",r)}function lC(t,r){t.setProperty("margin-inline-end",r)}re(ZS,"HTMLElementRedwoodLayoutWidgetFactory"),re(QS,"HTMLColumn"),re(XS),re(tC,"HTMLFlexContainer"),re(rC,"HTMLFlexElementChildren");class uC{a2e(t,r,n){}}se(uC),zz=new uC;class hC{}class _C{constructor(t,r){this.k2e_1=t,this.l2e_1=r}m2e(){return this.k2e_1}b2e(){return this.l2e_1}c2d(t,r){Sz.n2e(this.k2e_1,t,r),zz.a2e(this.l2e_1,t,r)}}class oC{n2e(t,r,n){}}function fC(t,r,n,i,e,s,a){var l={_v:r},u={_v:n},h={_v:i},_=e;_=_.j1e(-1072252343);var o=s;if(1&a?o|=6:6&s||(o|=_.c14(t)?4:2),2&a?o|=48:48&s||(o|=_.q1d(l._v)?32:16),4&a?o|=384:384&s||(o|=_.p1d(u._v)?256:128),8&a?o|=3072:3072&s||(o|=_.c14(h._v)?2048:1024),1170==(1171&o)&&_.c1a())_.d17();else{2&a&&(l._v=!0),4&a&&(u._v=null),8&a&&(h._v=lz),bg()&&kg(-1072252343,o,-1,"com.example.redwood.counter.compose.Button (Button.kt:25)");var f=_;if(f.l17(),f.b1d()){var c=f.o1c();f.d1d((()=>{var t=c.q2c().m2e().o2e();return new dS(c,t)}))}else f.g1d();var v=f;Dg(v,t,cC),Dg(v,l._v,vC),Dg(v,u._v,wC),Dg(v,h._v,ES().e2d_1),bS().b2c_1,f.i1d(),bg()&&xg()}var w=_.k1e();null==w||w.p1k(((r,n)=>(fC(t,l._v,u._v,h._v,r,zy(1|s),a),k)))}function cC(t,r){return t.b2d(),t.u2c_1.p2e(r),k}function vC(t,r){return t.b2d(),t.u2c_1.q2e(r),k}function wC(t,r){return t.b2d(),t.u2c_1.r2e(r),k}function dC(t,r,n,i,e){var s={_v:r},a=n;a=a.j1e(-659820591);var l=i;if(1&e?l|=6:6&i||(l|=a.c14(t)?4:2),2&e?l|=48:48&i||(l|=a.c14(s._v)?32:16),18==(19&l)&&a.c1a())a.d17();else{2&e&&(s._v=lz),bg()&&kg(-659820591,l,-1,"com.example.redwood.counter.compose.Text (Text.kt:18)");var u=a;if(u.l17(),u.b1d()){var h=u.o1c();u.d1d((()=>{var t=h.q2c().m2e().s2e();return new dS(h,t)}))}else u.g1d();var _=u;Dg(_,t,pC),Dg(_,s._v,ES().e2d_1),bS().b2c_1,u.i1d(),bg()&&xg()}var o=a.k1e();null==o||o.p1k(((r,n)=>(dC(t,s._v,r,zy(1|i),e),k)))}function pC(t,r){return t.b2d(),t.u2c_1.p2e(r),k}se(hC),re(_C,"SchemaWidgetSystem"),se(oC),new hC,Sz=new oC;class mC{}function gC(t,r,n,i,e,s,a,l,u,h,_,o){var f={_v:null==t?null:new TS(t)},c={_v:null==r?null:new TS(r)},v={_v:n},w={_v:null==i?null:new US(i)},d={_v:null==e?null:new BS(e)},p={_v:null==s?null:new GS(s)},m={_v:a},g={_v:l},y=h;y=y.j1e(656885885);var b,x=_;if(6&_||(x|=1&o||!y.c14(f._v)?2:4),48&_||(x|=2&o||!y.c14(c._v)?16:32),384&_||(x|=4&o||!y.c14(v._v)?128:256),3072&_||(x|=8&o||!y.c14(w._v)?1024:2048),24576&_||(x|=16&o||!y.c14(d._v)?8192:16384),196608&_||(x|=32&o||!y.c14(p._v)?65536:131072),64&o?x|=1572864:1572864&_||(x|=y.p1d(m._v)?1048576:524288),128&o?x|=12582912:12582912&_||(x|=y.c14(g._v)?8388608:4194304),256&o?x|=100663296:100663296&_||(x|=y.p1d(u)?67108864:33554432),38347922==(38347923&x)&&y.c1a())y.d17();else{y.v1c(),1&_&&!y.z1c()?(y.d17(),1&o&&(x&=-15),2&o&&(x&=-113),4&o&&(x&=-897),8&o&&(x&=-7169),16&o&&(x&=-57345),32&o&&(x&=-458753)):(1&o&&(f._v=new TS(VS().f2d_1),x&=-15),2&o&&(c._v=new TS(VS().f2d_1),x&=-113),4&o&&(v._v=Xz().i29_1,x&=-897),8&o&&(w._v=new US(WS().i2d_1),x&=-7169),16&o&&(d._v=new BS(JS().l2d_1),x&=-57345),32&o&&(p._v=new GS(YS().q2d_1),x&=-458753),64&o&&(m._v=null),128&o&&(g._v=lz)),y.w1c(),bg()&&kg(656885885,x,-1,"app.cash.redwood.layout.compose.Column (Column.kt:34)");var j=y;if(j.l17(),j.b1d()){var q=j.o1c();j.d1d((()=>{var t=q.q2c().b2e().c2e();return new dS(q,t)}))}else j.g1d();var z=j;Dg(z,f._v,yC),Dg(z,c._v,bC),Dg(z,v._v,kC),Dg(z,w._v,xC),Dg(z,d._v,jC),Dg(z,p._v,qC),Dg(z,m._v,zC),Dg(z,g._v,ES().e2d_1);var S=bS().b2c_1,C=j,A=fe("children",1,Ir,(t=>t.os()),null),$=Yx(-897775212,!0,((t,r)=>{var n=t;return 2==(3&r)&&n.c1a()?n.d17():(bg()&&kg(-897775212,r,-1,"app.cash.redwood.layout.compose.Column.. (Column.kt:49)"),u(Cz,n,6),bg()&&(xg(),k)),k}),C,54),E=C;Pg(E,1157296644,"CC(remember)P(1):Composables.kt#9igjgp");var I,M=E.c14($),N=E.b1f();if(M||N===wg().m17_1){var L=(b=$,(t,r)=>b.n1c(t,r));E.c1f(L),I=L}else I=N;var P=null==I||null!=I?I:Si();Og(E),S.c2c(A,P,C,432),j.i1d(),bg()&&xg()}var O=y.k1e();null==O||O.p1k(((t,r)=>{var n=f._v,i=null==n?null:n.h2d_1,e=c._v,s=null==e?null:e.h2d_1,a=v._v,l=w._v,h=null==l?null:l.k2d_1,y=d._v,b=null==y?null:y.p2d_1,x=p._v;return gC(i,s,a,h,b,null==x?null:x.w2d_1,m._v,g._v,u,t,zy(1|_),o),k}))}function yC(t,r){return t.b2d(),t.u2c_1.d2e(r.h2d_1),k}function bC(t,r){return t.b2d(),t.u2c_1.e2e(r.h2d_1),k}function kC(t,r){return t.b2d(),t.u2c_1.f2e(r),k}function xC(t,r){return t.b2d(),t.u2c_1.g2e(r.k2d_1),k}function jC(t,r){return t.b2d(),t.u2c_1.h2e(r.p2d_1),k}function qC(t,r){return t.b2d(),t.u2c_1.i2e(r.w2d_1),k}function zC(t,r){return t.b2d(),t.u2c_1.j2e(r),k}function SC(t,r,n,i,e){var s={_v:t},a={_v:r},l=n;l=l.j1e(-2072748581);var u,h=i;if(1&e?h|=6:6&i||(h|=l.c14(s._v)?4:2),2&e?h|=48:48&i||(h|=l.r1d(a._v)?32:16),18==(19&h)&&l.c1a())l.d17();else{1&e&&(s._v=lz),2&e&&(a._v=0),bg()&&kg(-2072748581,h,-1,"com.example.redwood.counter.presenter.Counter (counter.kt:31)"),l.s1c(-1542134209);var _,o=l,f=32==(112&h),c=o.b1f();if(f||c===wg().m17_1){var v=()=>function(t){return function(t){return new ud(t)}(t)}(a._v);o.c1f(v),_=v}else _=c;var w=null==_||null!=_?_:Si();l.u1c();var d=function(t,r,n,i,e,s,a){var l={_v:r},u=n,h=e;Pg(h,441892779,"C(rememberSaveable)P(1,3,2)71@3180L23,81@3526L7,83@3552L313,93@3951L71,93@3940L82:RememberSaveable.kt#r2ddri"),2&a&&(l._v=function(){kq();var t=(kq(),bv);return pe(t,cq)?t:Si()}()),4&a&&(u=null),bg()&&kg(441892779,s,-1,"androidx.compose.runtime.saveable.rememberSaveable (RememberSaveable.kt:70)");var _=function(t,r){var n=t;bg()&&kg(524444915,0,-1,"androidx.compose.runtime. (Composables.kt:228)");var i=n.c11();return bg()&&xg(),i}(h),o=null!=u&&0!==ui(u)?u:ma(_,mv);pe(l._v,cq)||Si();var f=pq(),c=h;Pg(c,2023513938,"CC:CompositionLocal.kt#9igjgp");var v=c.f1e(f);Og(c);var w=v;Pg(h,-1519365315,"CC(remember):RememberSaveable.kt#9igjgp");var d,p=h.b1f();if(p===wg().m17_1){var m=null==w?null:w.p2a(o),g=null==m?null:l._v.q2a(m),y=null==g?i():g,b=new _q(l._v,w,o,y,t);h.c1f(b),d=b}else d=p;var x=null==d||null!=d?d:Si();Og(h);var j=x,q=j.y2a(t),z=null==q?i():q;Pg(h,-1519352789,"CC(remember):RememberSaveable.kt#9igjgp");var S,C=!!(!!(!!(!!(!!(h.p1d(j)|((112&s^48)>32&&h.p1d(l._v)||32==(48&s)))|h.p1d(w))|h.c14(o))|h.p1d(z))|h.p1d(t)),A=h.b1f();if(C||A===wg().m17_1){var $=()=>(j.z2a(l._v,w,o,z,t),k);h.c1f($),S=$}else S=A;var E=null==S||null!=S?S:Si();return Og(h),function(t,r,n){my();var i=r;bg()&&kg(-1288466761,0,-1,"androidx.compose.runtime.SideEffect (Effects.kt:47)"),i.a1e(t),bg()&&xg()}(E,h),bg()&&xg(),Og(h),z}([],null,null,w,l,0,6),p=VS().g2d_1,m=VS().g2d_1,g=JS().m2d_1,y=YS().r2d_1,b=s._v,x=Yx(1983530582,!0,((t,r,n)=>{var i=r;if(16==(17&n)&&i.c1a())i.d17();else{bg()&&kg(1983530582,n,-1,"com.example.redwood.counter.presenter.Counter. (counter.kt:41)"),i.s1c(-575595475);var e,s=i.c14(d),a=i.b1f();if(s||a===wg().m17_1){var l=()=>{var t=CC(d);return AC(d,t-1|0),k};i.c1f(l),e=l}else e=a;var u=null==e||null!=e?e:Si();i.u1c(),fC("-1",!1,u,null,i,6,10),dC("Count: "+CC(d),null,i,0,2),i.s1c(-575593363);var h,_=i.c14(d),o=i.b1f();if(_||o===wg().m17_1){var f=()=>{var t=CC(d);return AC(d,t+1|0),k};i.c1f(f),h=f}else h=o;var c=null==h||null!=h?h:Si();i.u1c(),fC("+1",!1,c,null,i,6,10),bg()&&(xg(),k)}return k}),l,54),j=l;Pg(j,1157296644,"CC(remember)P(1):Composables.kt#9igjgp");var q,z=j.c14(x),S=j.b1f();if(z||S===wg().m17_1){var C=(u=x,(t,r,n)=>u.p26(t,r,n));j.c1f(C),q=C}else q=S;var A=null==q||null!=q?q:Si();Og(j),gC(p,m,null,null,g,y,null,b,A,l,100663296|29360128&h<<21,76),bg()&&xg()}var $=l.k1e();null==$||$.p1k(((t,r)=>(SC(s._v,a._v,t,zy(1|i),e),k)))}function CC(t){return ce("count",Lr,!0,(()=>Ci())),t.y1r()}function AC(t,r){return ce("count",Lr,!0,(()=>Ci())),t.x1r(r),k}ne(mC,"ColumnScopeImpl"),Cz=new mC;class $C{constructor(){var t;Az=this,this.j2f_1=(t=Kx(-1394061521,!1,NC),(r,n)=>t.n1c(r,n))}}class EC{constructor(t){this.k2f_1=t}s2e(){var t=this.k2f_1.createElement("span"),r=t instanceof HTMLSpanElement?t:Si();return new IC(r)}o2e(){var t=this.k2f_1.createElement("button"),r=t instanceof HTMLButtonElement?t:Si();return new MC(r)}}class IC{constructor(t){this.l2f_1=t,this.m2f_1=lz}y1(){return this.l2f_1}d2d(t){this.m2f_1=t}b2f(){return this.m2f_1}p2e(t){this.l2f_1.textContent=t}}class MC{constructor(t){this.n2f_1=t,this.o2f_1=lz}y1(){return this.n2f_1}d2d(t){this.o2f_1=t}b2f(){return this.o2f_1}p2e(t){this.n2f_1.textContent=t}q2e(t){this.n2f_1.disabled=!t}r2e(t){var r;r=null!=t?r=>(t(),k):null,this.n2f_1.onclick=r}}function NC(t,r){var n=t;return 2==(3&r)&&n.c1a()?n.d17():(bg()&&kg(-1394061521,r,-1,"com.example.redwood.counter.browser.ComposableSingletons$MainKt.lambda-1. (main.kt:42)"),SC(null,0,n,0,3),bg()&&xg()),k}return ne($C,"ComposableSingletons$MainKt"),re(EC,"HtmlWidgetFactory"),re(IC,"HtmlText"),re(MC,"HtmlButton"),Ez=document.getElementById("content"),Iz=Ez instanceof HTMLElement?Ez:Si(),function(t,r,n,i){i=i===b?kS:i,r.os().e10(0,r.os().c2a().p());var e,s,a,l,u,h=r.o2a();if(null==h)e=null;else{var _=h,o=(l=_.n2b(),u=t=>{var r;if(pe(t,ld)){var n;if(t.w1k()===jk()||t.w1k()===kk()||t.w1k()===xk()){var i=t.y1();n=null==i||_.d2b(i)}else n=!1;r=n}else r=_.d2b(t);return r},gq(),new fq(l,u));_.o2b((s=o,(a=()=>s.k2b()).callableName="performSave",a)),v_(t.gm()).in((t=>(_.p2b(),k))),e=o}var f=e;return function(t,r,n,i,e,s,a){return new hS(t,n,i,e,new fS(s,r,a=a===b?xS:a))}(t,r.os(),r.m2a(),f,r.n2a(),n,i)}(($z=bz,new zh(Ll.gm().pg($z))),function(t){if(null==t.parentNode){var r="Element "+pi(t)+" must be attached to Document to be used as RedwoodView";throw fr.l3(pi(r))}return new iS(t)}(Iz),new _C(new EC(document),new ZS(document))).s1i((Az===b&&new $C,Az).j2f_1),{}})())); //# sourceMappingURL=counter.js.map \ No newline at end of file