diff --git a/latest/counter/counter.js b/latest/counter/counter.js index 86af17755b..4c5a86076b 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,u=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,u,l,h,_,o,f,c,v,w,d,p,m,y,g,b,k,x,q,j,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 ut{}class lt{toString(){return"kotlin.Unit"}}class ht{}class _t{}class ot{}class ft{}class ct{}class vt{}class wt{}class dt{}class pt{}class mt{}class yt{constructor(t,r){this.i2_1=t,this.j2_1=r}k2(t){return fi(this.j2_1,t.j2_1)}l2(t){return this.k2(t instanceof yt?t:$i())}equals(t){return this===t}hashCode(){return wi(this)}toString(){return this.i2_1}}class gt{constructor(){i=this,this.m2_1=new bt(0,-2147483648),this.n2_1=new bt(-1,2147483647),this.o2_1=8,this.p2_1=64}}class bt extends ut{constructor(t,r){i===k&&new gt,super(),this.i1_1=t,this.j1_1=r}k1(t){return Oi(this,t)}l2(t){return this.k1(t instanceof bt?t:$i())}q2(t){return Di(this,t)}r2(t){return Ri(this,t)}s2(t){return Ti(this,t)}t2(t){return function(t,r){if(re(),Wi(r))throw _r.e4("division by zero");if(Wi(t))return Ii();if(Ki(t,Li())){if(Ki(r,Mi())||Ki(r,Ni()))return Li();if(Ki(r,Li()))return Mi();var n=Hi(Ui(t,1).t2(r),1);return Ki(n,Ii())?Vi(r)?Mi():Ni():Di(n,Ri(t,Ti(r,n)).t2(r))}if(Ki(r,Li()))return Ii();if(Vi(t))return Vi(r)?Yi(t).t2(Yi(r)):Yi(Yi(t).t2(r));if(Vi(r))return Yi(t.t2(Yi(r)));for(var i=Ii(),e=t;te(e,r);){for(var s=Fi(e)/Fi(r),a=Math.max(1,Math.floor(s)),u=Math.ceil(Math.log(a)/Math.LN2),l=u<=48?1:Math.pow(2,u-48),h=Qi(a),_=Ti(h,r);Vi(_)||Xi(_,e);)_=Ti(h=Qi(a-=l),r);Wi(h)&&(h=Mi()),i=Di(i,h),e=Ri(e,_)}return i}(this,t)}u2(){return this.q2(new bt(1,0))}v2(){return this.w2().q2(new bt(1,0))}x2(t){return Hi(this,t)}y2(t){return Ui(this,t)}z2(t){return function(t,r){re();var n=63&r;return 0===n?t:n<32?new bt(t.i1_1>>>n|t.j1_1<<32-n,t.j1_1>>>n|0):new bt(32===n?t.j1_1:t.j1_1>>>(n-32|0)|0,0)}(this,t)}a3(t){return new bt(this.i1_1&t.i1_1,this.j1_1&t.j1_1)}b3(t){return new bt(this.i1_1|t.i1_1,this.j1_1|t.j1_1)}c3(t){return new bt(this.i1_1^t.i1_1,this.j1_1^t.j1_1)}w2(){return new bt(~this.i1_1,~this.j1_1)}d3(){return this.i1_1}e3(){return Fi(this)}toString(){return Bi(this,10)}equals(t){return t instanceof bt&&Ki(this,t)}hashCode(){return this,re(),this.i1_1^this.j1_1}valueOf(){return this.e3()}}class kt{}class xt{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 pr.w(""+this.g3_1);var t=this.g3_1;return this.g3_1=t+1|0,this.h3_1[t]}}class qt{}class jt{static j4(t){return ji(this,t)}o(t){var r;t:if(ge(this,_t)&&this.x())r=!1;else{for(var n=this.l();n.m();)if(pi(n.n(),t)){r=!0;break t}r=!1}return r}o1(t){var r;t:if(ge(t,_t)&&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 Dn(this,", ","[","]",k,k,function(t){return t===this?"(this Collection)":Yn(t)}.bind(this))}toArray(){return Ge(this)}}class zt extends jt{static i4(){return this.j4()}q1(t){this.k4();for(var r=this.l();r.m();)if(pi(r.n(),t))return r.l4(),!0;return!1}r(t){this.k4();for(var r=!1,n=t.l();n.m();){var i=n.n();this.h(i)&&(r=!0)}return r}s1(){this.k4();for(var t=this.l();t.m();)t.n(),t.l4()}toJSON(){return this.toArray()}k4(){}}class St{constructor(t,r){zi(this,r),this.o4_1=t,this.m4_1=0,this.n4_1=-1}m(){return this.m4_1=0}a1(t){var r;t:{for(var n=0,i=this.l();i.m();){if(pi(i.n(),t)){r=n;break t}n=n+1|0}r=-1}return r}w1(t){return new Ct(this,t)}p1(t,r){return $t.a5(this,t,r)}d5(t,r){var n=this.w1(t),i=r-t|0,e=0;if(e1&&r.k(n),!(s<0||l<=s))break t;_u(r,o,u)}return s>=0&&l>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()}k4(){if(this.f_1)throw dr.d6()}}class Pt extends It{static k6(t){var r=this.k5();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)}o5(){return Ot.e7(this.i6_1)}r5(){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.v5();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 dr.d6()}r(t){throw dr.d6()}q1(t){return this.d7_1.j7(t)}l(){return this.d7_1.k7()}k4(){return this.d7_1.l7()}}class Dt extends zt{static g7(t){var r=this.i4();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:$i())}n7(t){throw dr.d6()}h(t){return this.n7(null==t||null!=t?t:$i())}o7(t){throw dr.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:$i())}k4(){return this.f7_1.l7()}}class Rt extends Mt{static t7(t){var r=this.v5();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||!ge(t,ct))&&this.v7(null!=t&&ge(t,ct)?t:$i())}s1(){return this.s7_1.s1()}w7(t){throw dr.d6()}h(t){return this.w7(null!=t&&ge(t,ct)?t:$i())}r(t){throw dr.d6()}x7(t){return this.s7_1.z7(t)}q1(t){return!(null==t||!ge(t,ct))&&this.x7(null!=t&&ge(t,ct)?t:$i())}o1(t){return this.s7_1.a8(t)}k4(){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()}l4(){return this.b8_1.l4()}}class Ut extends Mt{static q5(t){var r=this.v5();return r.p5_1=t,r}c8(t){throw dr.d8("Add is not supported on keys")}h(t){return this.c8(null==t||null!=t?t:$i())}s1(){return this.p5_1.s1()}c7(t){return this.p5_1.z1(t)}o(t){return(null==t||null!=t)&&this.c7(null==t||null!=t?t:$i())}l(){var t=this.p5_1.d2().l();return new Ht(t)}f2(t){return this.k4(),!!this.p5_1.z1(t)&&(this.p5_1.f2(t),!0)}q1(t){return(null==t||null!=t)&&this.f2(null==t||null!=t?t:$i())}p(){return this.p5_1.p()}k4(){return this.p5_1.k4()}}class Ft{constructor(t){this.e8_1=t}m(){return this.e8_1.m()}n(){return this.e8_1.n().y1()}l4(){return this.e8_1.l4()}}class Bt extends zt{static t5(t){var r=this.i4();return r.s5_1=t,r}n7(t){throw dr.d8("Add is not supported on values")}h(t){return this.n7(null==t||null!=t?t:$i())}m7(t){return this.s5_1.a2(t)}o(t){return(null==t||null!=t)&&this.m7(null==t||null!=t?t:$i())}l(){var t=this.s5_1.d2().l();return new Ft(t)}p(){return this.s5_1.p()}k4(){return this.s5_1.k4()}}class Kt extends Mt{static f8(t){var r=this.v5();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.m8_1=-1640531527,this.n8_1=8,this.o8_1=2,this.p8_1=-1}}class Vt{constructor(t){this.q8_1=t,this.r8_1=0,this.s8_1=-1,this.t8_1=this.q8_1.t6_1,this.u8()}u8(){for(;this.r8_1=this.q8_1.r6_1)throw pr.p4();var t=this.r8_1;this.r8_1=t+1|0,this.s8_1=t;var r=this.q8_1.m6_1[this.s8_1];return this.u8(),r}}class Jt extends Vt{n(){if(this.v8(),this.r8_1>=this.q8_1.r6_1)throw pr.p4();var t=this.r8_1;this.r8_1=t+1|0,this.s8_1=t;var r=Ai(this.q8_1.n6_1)[this.s8_1];return this.u8(),r}}class Yt extends Vt{n(){if(this.v8(),this.r8_1>=this.q8_1.r6_1)throw pr.p4();var t=this.r8_1;this.r8_1=t+1|0,this.s8_1=t;var r=new Zt(this.q8_1,this.s8_1);return this.u8(),r}m9(){if(this.r8_1>=this.q8_1.r6_1)throw pr.p4();var t=this.r8_1;this.r8_1=t+1|0,this.s8_1=t;var r=this.q8_1.m6_1[this.s8_1],n=null==r?null:mi(r),i=null==n?0:n,e=Ai(this.q8_1.n6_1)[this.s8_1],s=null==e?null:mi(e),a=i^(null==s?0:s);return this.u8(),a}n9(t){if(this.r8_1>=this.q8_1.r6_1)throw pr.p4();var r=this.r8_1;this.r8_1=r+1|0,this.s8_1=r;var n=this.q8_1.m6_1[this.s8_1];pi(n,this.q8_1)?t.p9("(this Map)"):t.o9(n),t.q9(61);var i=Ai(this.q8_1.n6_1)[this.s8_1];pi(i,this.q8_1)?t.p9("(this Map)"):t.o9(i),this.u8()}}class Zt{constructor(t,r){this.r9_1=t,this.s9_1=r}x1(){return this.r9_1.m6_1[this.s9_1]}y1(){return Ai(this.r9_1.n6_1)[this.s9_1]}equals(t){return!(null==t||!ge(t,ct)||!pi(t.x1(),this.x1()))&&pi(t.y1(),this.y1())}hashCode(){var t=this.x1(),r=null==t?null:mi(t),n=null==r?0:r,i=this.y1(),e=null==i?null:mi(i);return n^(null==e?0:e)}toString(){return Yn(this.x1())+"="+Yn(this.y1())}}class Qt{}class Xt{static t9(t,r,n,i,e,s){var a=ji(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=hs(0,os(a)),a.t6_1=0,a.u6_1=0,a.v6_1=!1,a}p(){return this.u6_1}static w6(){return this.u9(8)}static u9(t){return this.t9(Qe(t),null,new Int32Array(t),new Int32Array(ls(0,t)),2,0)}static b7(t){var r=this.u9(t.p());return r.g2(t),r}static y6(t,r){var n=this.u9(t);if(!(r>0)){var i="Non-positive load factor: "+r;throw vr.f1(yi(i))}return n}a2(t){return gs(this,t)>=0}b2(t){var r=ys(this,t);return r<0?null:Ai(this.n6_1)[r]}c7(t){return ys(this,t)>=0}e2(t,r){var n=bs(this,t),i=vs(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;cs(t,r.p());for(var n=r.l();n.m();)xs(t,n.n())&&!0}(this,t.d2())}f2(t){this.l7();var r=ys(this,t);if(r<0)return null;var n=Ai(this.n6_1)[r];return ks(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);Xe(this.m6_1,0,this.r6_1);var e=this.n6_1;null==e||Xe(e,0,this.r6_1),this.u6_1=0,this.r6_1=0,fs(this)}equals(t){var r,n;return t===this?r=!0:(n=!(null==t||!ge(t,vt))&&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.m9()|0;return t}toString(){var t=Or.v9(2+it(this.u6_1,3)|0);t.p9("{");for(var r=0,n=this.u7();n.m();)r>0&&t.p9(", "),n.n9(t),r=r+1|0;return t.p9("}"),t.toString()}l7(){if(this.v6_1)throw dr.d6()}j7(t){this.l7();var r=ys(this,t);return!(r<0||(ks(this,r),0))}y7(t){var r=ys(this,t.x1());return!(r<0)&&pi(Ai(this.n6_1)[r],t.y1())}w9(t){return this.y7(ge(t,ct)?t:$i())}z7(t){this.l7();var r=ys(this,t.x1());return!(r<0||!pi(Ai(this.n6_1)[r],t.y1())||(ks(this,r),0))}r7(t){this.l7();var r=gs(this,t);return!(r<0||(ks(this,r),0))}k7(){return new Wt(this)}p7(){return new Jt(this)}u7(){return new Yt(this)}}class tr extends Pt{static da(){return this.l6()}static ea(t){return this.z6(t)}static fa(t){return this.a7(t)}k4(){return this.i6_1.l7()}}class rr extends Kt{static ha(){return this.g8()}static ia(t,r){return this.h8(t,r)}static ja(t){return this.ia(t,1)}k4(){return this.y_1.l7()}}class nr{ka(){this.la("\n")}ma(t){this.la(t),this.ka()}}class ir extends nr{constructor(t){super(),this.na_1=t}la(t){var r=String(t);this.na_1.write(r)}}class er extends nr{constructor(){super(),this.pa_1=""}la(t){var r=this.pa_1;this.pa_1=r+String(t)}}class sr extends er{la(t){var r=String(t),n=r.lastIndexOf("\n",0);if(n>=0){var i=this.pa_1;this.pa_1=i+r.substring(0,n),this.qa();var e=n+1|0;r=r.substring(e)}this.pa_1=this.pa_1+r}qa(){console.log(this.pa_1),this.pa_1=""}}class ar{ra(){throw fr.l3(yi("This continuation is already complete"))}sa(t){throw fr.l3(yi("This continuation is already complete"))}ta(t){return this.sa(t)}toString(){return"This continuation is already complete"}}class ur{constructor(){this.bb_1=null}db(){var t,r=this.bb_1;if(null==r){var n=this.ra().eb(K),i=null==n?null:n.fb(this),e=null==i?this:i;this.bb_1=e,t=e}else t=r;return t}cb(){var t=this.bb_1;null!=t&&t!==this&&Ai(this.ra().eb(K)).gb(t),this.bb_1=S}}class lr extends ur{constructor(t){super(),this.va_1=t,this.wa_1=[];var r=this.va_1;this.xa_1=null==r?null:r.ra(),this.ya_1=!1,this.za_1=Symbol(),this.ab_1=this.za_1}ra(){return Ai(this.xa_1)}sa(t){if(this.za_1===this.ab_1&&(this.ab_1=t),this.ya_1)return n;var r=this.ab_1,i=xu(r)?null:null==r||null!=r?r:$i(),e=qu(this.ab_1);this.ab_1=this.za_1;for(var s=this;;){for(;0!==s.wa_1.length;){var a=s,u=a.wa_1[a.wa_1.length-1|0],l=e;e=null;var h=l;this.ya_1=!0;try{var _=null==h?u.next(i):u.throw(h);if(i=_.value,e=null,_.done&&s.wa_1.pop(),this.za_1!==this.ab_1){var o=this.ab_1;i=xu(o)?null:null==o||null!=o?o:$i(),e=qu(this.ab_1),this.ab_1=this.za_1}else if(i===iu())return n}catch(t){if(!(t instanceof Error))throw t;e=t,s.wa_1.pop()}finally{this.ya_1=!1}}this.cb();var f=Ai(this.va_1);if(!(f instanceof lr)){var c;if(null!=e){var v=ju(Ai(e));f.ta(v),c=n}else{var w=i;f.ta(w),c=n}return c}s=f}}ta(t){return this.sa(t)}}class hr{static jb(t,r){var n=ji(this);return n.hb_1=t,n.ib_1=r,n}static kb(t){return this.jb(t,su())}ra(){return this.hb_1.ra()}ta(t){var r=this.ib_1;if(r===su())this.ib_1=t;else{if(r!==iu())throw fr.l3("Already resumed");this.ib_1=au(),this.hb_1.ta(t)}}lb(){if(this.ib_1===su())return this.ib_1=iu(),iu();var t,r=this.ib_1;if(r===au())t=iu();else{if(r instanceof Mn)throw r.mb_1;t=r}return t}}class _r extends Error{static bc(){var t=ji(this);return Is(t),Si(t),t}static e4(t){var r=ji(this);return Is(r),Si(r,t),r}static cc(t,r){var n=ji(this);return Is(n),Si(n,t,r),n}}class or extends _r{static ec(){var t=this.bc();return Os(t),t}static k8(t){var r=this.e4(t);return Os(r),r}static kc(t,r){var n=this.cc(t,r);return Os(n),n}}class fr extends or{static c4(){var t=this.ec();return Ls(t),t}static l3(t){var r=this.k8(t);return Ls(r),r}static ub(t,r){var n=this.kc(t,r);return Ls(n),n}}class cr extends fr{static rb(){var t=this.c4();return Ss(t),t}static sb(t){var r=this.l3(t);return Ss(r),r}static tb(t,r){var n=this.ub(t,r);return Ss(n),n}}class vr extends or{static dc(){var t=this.ec();return Ms(t),t}static f1(t){var r=this.k8(t);return Ms(r),r}}class wr extends or{static ic(){var t=this.ec();return Ns(t),t}static jc(t){var r=this.k8(t);return Ns(r),r}}class dr extends or{static d6(){var t=this.ec();return Ps(t),t}static d8(t){var r=this.k8(t);return Ps(r),r}}class pr extends or{static p4(){var t=this.ec();return Ds(t),t}static w(t){var r=this.k8(t);return Ds(r),r}}class mr extends Error{static mc(){var t=ji(this);return Rs(t),Si(t),t}static nc(t){var r=ji(this);return Rs(r),Si(r,t),r}static oc(t,r){var n=ji(this);return Rs(n),Si(n,t,r),n}}class yr extends or{static z8(){var t=this.ec();return Ts(t),t}static pc(t){var r=this.k8(t);return Ts(r),r}}class gr extends mr{static sc(){var t=this.mc();return Hs(t),t}static tc(t){var r=this.nc(t);return Hs(r),r}}class br extends or{static xc(){var t=this.ec();return Us(t),t}static yc(t){var r=this.k8(t);return Us(r),r}}class kr extends or{static p3(){var t,r=this.ec();return xi(t=r,t.o3_1),r}}class xr extends or{static t3(){var t,r=this.ec();return xi(t=r,t.s3_1),r}}class qr extends or{static x3(){var t,r=this.ec();return xi(t=r,t.w3_1),r}}class jr extends or{static zc(){var t=this.ec();return Fs(t),t}static b4(t){var r=this.k8(t);return Fs(r),r}}class zr{}class Sr{constructor(t){this.bd_1=t}cd(){return this.bd_1}equals(t){return!(t instanceof Cr)&&!(t instanceof Ar)&&t instanceof Sr&&pi(this.cd(),t.cd())}hashCode(){var t=this.ad(),r=null==t?null:bi(t);return null==r?0:r}toString(){return"class "+this.ad()}}class Cr extends Sr{constructor(){E=null,super(Object),E=this,this.ed_1="Nothing"}ad(){return this.ed_1}cd(){throw dr.d8("There's no native JS class for Nothing type")}equals(t){return t===this}hashCode(){return 0}}class Ar{ad(){throw fr.l3(yi("Unknown simpleName for ErrorKClass"))}equals(t){return t===this}hashCode(){return 0}}class $r extends Sr{constructor(t,r,n){super(t),this.gd_1=r,this.hd_1=n}equals(t){return t instanceof $r&&super.equals(t)&&this.gd_1===t.gd_1}ad(){return this.gd_1}}class Er extends Sr{constructor(t){super(t);var r=t.$metadata$;this.jd_1=null==r?null:r.simpleName}ad(){return this.jd_1}}class Ir{}class Mr{}class Nr{}class Lr{}class Pr{constructor(){M=this;var t=Object;this.anyClass=new $r(t,"Any",Js);var r=Number;this.numberClass=new $r(r,"Number",Ys),this.nothingClass=Vs();var n=Boolean;this.booleanClass=new $r(n,"Boolean",Zs);var i=Number;this.byteClass=new $r(i,"Byte",Qs);var e=Number;this.shortClass=new $r(e,"Short",Xs);var s=Number;this.intClass=new $r(s,"Int",ta);var a=Number;this.floatClass=new $r(a,"Float",ra);var u=Number;this.doubleClass=new $r(u,"Double",na);var l=Array;this.arrayClass=new $r(l,"Array",ia);var h=String;this.stringClass=new $r(h,"String",ea);var _=Error;this.throwableClass=new $r(_,"Throwable",sa);var o=Array;this.booleanArrayClass=new $r(o,"BooleanArray",aa);var f=Uint16Array;this.charArrayClass=new $r(f,"CharArray",ua);var c=Int8Array;this.byteArrayClass=new $r(c,"ByteArray",la);var v=Int16Array;this.shortArrayClass=new $r(v,"ShortArray",ha);var w=Int32Array;this.intArrayClass=new $r(w,"IntArray",_a);var d=Array;this.longArrayClass=new $r(d,"LongArray",oa);var p=Float32Array;this.floatArrayClass=new $r(p,"FloatArray",fa);var m=Float64Array;this.doubleArrayClass=new $r(m,"DoubleArray",ca)}kd(){return this.anyClass}ld(){return this.numberClass}md(){return this.nothingClass}nd(){return this.booleanClass}od(){return this.byteClass}pd(){return this.shortClass}qd(){return this.intClass}rd(){return this.floatClass}sd(){return this.doubleClass}td(){return this.arrayClass}ud(){return this.stringClass}vd(){return this.throwableClass}wd(){return this.booleanArrayClass}xd(){return this.charArrayClass}yd(){return this.byteArrayClass}zd(){return this.shortArrayClass}ae(){return this.intArrayClass}be(){return this.longArrayClass}ce(){return this.floatArrayClass}de(){return this.doubleArrayClass}functionClass(t){var r,n=Ws()[t];if(null==n){var i=new $r(Function,"Function"+t,(function(r){return"function"==typeof r&&r.length===t}));Ws()[t]=i,r=i}else r=n;return r}}class Or{static ee(t){var r=ji(this);return r.i_1=void 0!==t?t:"",r}static v9(t){return this.j()}static j(){return this.ee("")}a(){return this.i_1.length}b(t){var r=this.i_1;if(!(0<=t&&t<=(_i(r)-1|0)))throw wr.jc("index: "+t+", length: "+this.a()+"}");return li(r,t)}c(t,r){return this.i_1.substring(t,r)}q9(t){return this.i_1=this.i_1+Jn(t),this}k(t){return this.i_1=this.i_1+Yn(t),this}o9(t){return this.i_1=this.i_1+Yn(t),this}fe(t){return this.p9(t.toString())}p9(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.ge_1=Or.j(),this.he_1=[],this.ie_1="",this.je_1=0}ke(t){return ka(t,this,"",""),this.ge_1.toString()}}class Rr extends yt{constructor(t,r,n){super(t,r),this.ne_1=n}}class Tr{constructor(){this.f4_1=2147483639}c5(t,r){if(t<0||t>=r)throw wr.jc("index: "+t+", size: "+r)}v4(t,r){if(t<0||t>r)throw wr.jc("index: "+t+", size: "+r)}g4(t,r,n){if(t<0||r>n)throw wr.jc("fromIndex: "+t+", toIndex: "+r+", size: "+n);if(t>r)throw vr.f1("fromIndex: "+t+" > toIndex: "+r)}l8(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}f5(t){for(var r=1,n=t.l();n.m();){var i=n.n(),e=it(31,r),s=null==i?null:mi(i);r=e+(null==s?0:s)|0}return r}e5(t,r){if(t.p()!==r.p())return!1;for(var n=r.l(),i=t.l();i.m();)if(!pi(i.n(),n.n()))return!1;return!0}}class Hr{constructor(t){this.oe_1=t}m(){return this.oe_1.m()}n(){return this.oe_1.n().x1()}}class Ur{}class Fr extends jt{static re(t){return this.j4(t)}equals(t){return t===this||!(null==t||!ge(t,pt))&&R.w5(this,t)}hashCode(){return R.x5(this)}}class Br extends Fr{static qe(t,r){return r===k&&(r={}),r.pe_1=t,this.re(r)}c7(t){return this.pe_1.z1(t)}o(t){return(null==t||null!=t)&&this.c7(null==t||null!=t?t:$i())}l(){var t=this.pe_1.d2().l();return new Hr(t)}p(){return this.pe_1.p()}}class Kr{x5(t){for(var r=0,n=t.l();n.m();){var i=n.n(),e=r,s=null==i?null:mi(i);r=e+(null==s?0:s)|0}return r}w5(t,r){return t.p()===r.p()&&t.o1(r)}}class Gr{constructor(){T=this,this.xe_1=[],this.ye_1=10}}class Vr extends At{p(){return this.we_1}static ze(){Oa();var t,r=this.b5();return t=r,Oa(),t.ue_1=0,t.we_1=0,r.ve_1=Oa().xe_1,r}x(){return 0===this.we_1}af(t){Pa(this),Aa(this,this.we_1+1|0),this.ue_1=Ma(this,this.ue_1),this.ve_1[this.ue_1]=t,this.we_1=this.we_1+1|0}bf(t){Pa(this),Aa(this,this.we_1+1|0);var r=this.ve_1,n=this.we_1;r[$a(this,this.ue_1+n|0)]=t,this.we_1=this.we_1+1|0}cf(){if(this.x())throw pr.w("ArrayDeque is empty.");Pa(this);var t=this.ue_1,r=this.ve_1[t],n=null==r||null!=r?r:$i();return this.ve_1[this.ue_1]=null,this.ue_1=Ia(this,this.ue_1),this.we_1=this.we_1-1|0,n}df(){return this.x()?null:this.cf()}ef(){if(this.x())throw pr.w("ArrayDeque is empty.");Pa(this);var t=Ta(this),r=$a(this,this.ue_1+t|0),n=this.ve_1[r],i=null==n||null!=n?n:$i();return this.ve_1[r]=null,this.we_1=this.we_1-1|0,i}h(t){return this.bf(t),!0}u1(t,r){if(D.v4(t,this.we_1),t===this.we_1)return this.bf(r),n;if(0===t)return this.af(r),n;Pa(this),Aa(this,this.we_1+1|0);var i=$a(this,this.ue_1+t|0);if(t>1){var e=Ma(this,i),s=Ma(this,this.ue_1);e>=this.ue_1?(this.ve_1[s]=this.ve_1[this.ue_1],Je(this.ve_1,this.ve_1,this.ue_1,this.ue_1+1|0,e+1|0)):(Je(this.ve_1,this.ve_1,this.ue_1-1|0,this.ue_1,this.ve_1.length),this.ve_1[this.ve_1.length-1|0]=this.ve_1[0],Je(this.ve_1,this.ve_1,0,1,e+1|0)),this.ve_1[e]=r,this.ue_1=s}else{var a=this.we_1,u=$a(this,this.ue_1+a|0);i>1){var a=this.ue_1-s|0;if(e>=this.ue_1)if(a>=0)Je(this.ve_1,this.ve_1,a,this.ue_1,e);else{a=a+this.ve_1.length|0;var u=e-this.ue_1|0,l=this.ve_1.length-a|0;l>=u?Je(this.ve_1,this.ve_1,a,this.ue_1,e):(Je(this.ve_1,this.ve_1,a,this.ue_1,this.ue_1+l|0),Je(this.ve_1,this.ve_1,0,this.ue_1+l|0,e))}else Je(this.ve_1,this.ve_1,a,this.ue_1,this.ve_1.length),s>=e?Je(this.ve_1,this.ve_1,this.ve_1.length-s|0,0,e):(Je(this.ve_1,this.ve_1,this.ve_1.length-s|0,0,s),Je(this.ve_1,this.ve_1,0,s,e));this.ue_1=a,Na(this,Ea(this,e-s|0),r)}else{var h=e+s|0;if(e=this.ve_1.length)Je(this.ve_1,this.ve_1,h-this.ve_1.length|0,e,i);else{var _=(i+s|0)-this.ve_1.length|0;Je(this.ve_1,this.ve_1,0,i-_|0,i),Je(this.ve_1,this.ve_1,h,e,i-_|0)}else Je(this.ve_1,this.ve_1,s,0,i),h>=this.ve_1.length?Je(this.ve_1,this.ve_1,h-this.ve_1.length|0,e,this.ve_1.length):(Je(this.ve_1,this.ve_1,0,this.ve_1.length-s|0,this.ve_1.length),Je(this.ve_1,this.ve_1,h,e,this.ve_1.length-s|0));Na(this,e,r)}return!0}s(t){D.c5(t,this.we_1);var r=$a(this,this.ue_1+t|0),n=this.ve_1[r];return null==n||null!=n?n:$i()}t1(t,r){D.c5(t,this.we_1);var n=$a(this,this.ue_1+t|0),i=this.ve_1[n],e=null==i||null!=i?i:$i();return this.ve_1[n]=r,e}o(t){return!(-1===this.a1(t))}a1(t){var r=this.we_1,n=$a(this,this.ue_1+r|0);if(this.ue_1=n){var s=this.ue_1,a=this.ve_1.length;if(s>1)r>=this.ue_1?Je(this.ve_1,this.ve_1,this.ue_1+1|0,this.ue_1,r):(Je(this.ve_1,this.ve_1,1,0,r),this.ve_1[0]=this.ve_1[this.ve_1.length-1|0],Je(this.ve_1,this.ve_1,this.ue_1+1|0,this.ue_1,this.ve_1.length-1|0)),this.ve_1[this.ue_1]=null,this.ue_1=Ia(this,this.ue_1);else{var e=Ta(this),s=$a(this,this.ue_1+e|0);r<=s?Je(this.ve_1,this.ve_1,r,r+1|0,s+1|0):(Je(this.ve_1,this.ve_1,r,r+1|0,this.ve_1.length),this.ve_1[this.ve_1.length-1|0]=this.ve_1[0],Je(this.ve_1,this.ve_1,0,1,s+1|0)),this.ve_1[s]=null}return this.we_1=this.we_1-1|0,i}s1(){if(!this.x()){Pa(this);var t=this.we_1,r=$a(this,this.ue_1+t|0);La(this,this.ue_1,r)}this.ue_1=0,this.we_1=0}ff(t){var r=t.length>=this.we_1?t:function(t,r){return Qn(Array(r),null)}(0,this.we_1),n=be(r)?r:$i(),i=this.we_1,e=$a(this,this.ue_1+i|0);this.ue_10;){var l=u,h=e+1|0,_=a+1|0,o=Math.min(l,h,_);Je(t.ve_1,t.ve_1,1+(a-o|0)|0,1+(e-o|0)|0,e+1|0),e=Ea(t,e-o|0),a=Ea(t,a-o|0),u=u-o|0}}(this,t,r);var e=$a(this,this.ue_1+i|0);La(this,this.ue_1,e),this.ue_1=e}else{!function(t,r,n){for(var i=$a(t,t.ue_1+n|0),e=$a(t,t.ue_1+r|0),s=t.we_1-n|0;s>0;){var a=s,u=t.ve_1.length-i|0,l=t.ve_1.length-e|0,h=Math.min(a,u,l);Je(t.ve_1,t.ve_1,e,i,i+h|0),i=$a(t,i+h|0),e=$a(t,e+h|0),s=s-h|0}}(this,t,r);var s=this.we_1,a=$a(this,this.ue_1+s|0);La(this,Ea(this,a-i|0),a)}this.we_1=this.we_1-i|0}}class Wr{constructor(t,r){this.gf_1=t,this.hf_1=r}p(){return this.gf_1.length}x(){return 0===this.gf_1.length}if(t){return function(t,r){return Pn(t,r)>=0}(this.gf_1,t)}o(t){return(null==t||null!=t)&&this.if(null==t||null!=t?t:$i())}jf(t){var r;t:if(ge(t,_t)&&t.x())r=!0;else{for(var n=t.l();n.m();){var i=n.n();if(!this.if(i)){r=!1;break t}}r=!0}return r}o1(t){return this.jf(t)}l(){return Xn(this.gf_1)}}class Jr{constructor(){H=this,this.kf_1=new bt(-1478467534,-1720727600)}equals(t){return!(null==t||!ge(t,ot))&&t.x()}hashCode(){return 1}toString(){return"[]"}p(){return 0}x(){return!0}lf(t){return!1}o(t){return!1}mf(t){return t.x()}o1(t){return this.mf(t)}s(t){throw wr.jc("Empty list doesn't contain element at index "+t+".")}nf(t){return-1}a1(t){return-1}l(){return U}p1(t,r){if(0===t&&0===r)return this;throw wr.jc("fromIndex: "+t+", toIndex: "+r)}}class Yr{m(){return!1}n(){throw pr.p4()}}class Zr{constructor(t,r){this.of_1=t,this.pf_1=r}toString(){return"IndexedValue(index="+this.of_1+", value="+Yn(this.pf_1)+")"}hashCode(){var t=this.of_1;return it(t,31)+(null==this.pf_1?0:mi(this.pf_1))|0}equals(t){if(this===t)return!0;if(!(t instanceof Zr))return!1;var r=t instanceof Zr?t:$i();return this.of_1===r.of_1&&!!pi(this.pf_1,r.pf_1)}}class Qr{constructor(t){this.qf_1=t}l(){return new Xr(this.qf_1())}}class Xr{constructor(t){this.rf_1=t,this.sf_1=0}m(){return this.rf_1.m()}n(){var t=this.sf_1;return this.sf_1=t+1|0,new Zr(Ye(t),this.rf_1.n())}}class tn{constructor(){F=this,this.tf_1=new bt(-888910638,1920087921)}equals(t){return!(null==t||!ge(t,vt))&&t.x()}hashCode(){return 0}toString(){return"{}"}p(){return 0}x(){return!0}uf(t){return!1}z1(t){return(null==t||null!=t)&&this.uf(null==t||null!=t?t:$i())}vf(t){return null}b2(t){return null!=t&&null==t?null:this.vf(null==t||null!=t?t:$i())}d2(){return Za()}c2(){return Za()}}class rn{n(){return this.ag()}}class nn{}class en extends nn{constructor(){super(),this.bg_1=0,this.cg_1=null,this.dg_1=null,this.eg_1=null}m(){for(;;){switch(this.bg_1){case 0:break;case 1:if(Ai(this.dg_1).m())return this.bg_1=2,!0;this.dg_1=null;break;case 4:return!1;case 3:case 2:return!0;default:throw Ya(this)}this.bg_1=5;var t=Ai(this.eg_1);this.eg_1=null;var r=n;t.ta(r)}}n(){switch(this.bg_1){case 0:case 1:return function(t){if(t.m())return t.n();throw pr.p4()}(this);case 2:return this.bg_1=1,Ai(this.dg_1).n();case 3:this.bg_1=0;var t=this.cg_1,r=null==t||null!=t?t:$i();return this.cg_1=null,r;default:throw Ya(this)}}fg(t,r){return this.cg_1=t,this.bg_1=3,this.eg_1=r,iu()}gg(t){!function(t){if(t instanceof Mn)throw t.mb_1}(t),null==t||null!=t||$i(),this.bg_1=4}ta(t){return this.gg(t)}ra(){return Xa()}}class sn{constructor(t){this.hg_1=t}l(){return Wa(this.hg_1)}}class an{constructor(t){this.jg_1=t,this.ig_1=t.kg_1.l()}n(){return this.jg_1.lg_1(this.ig_1.n())}m(){return this.ig_1.m()}}class un{constructor(t,r){this.kg_1=t,this.lg_1=r}l(){return new an(this)}}class ln{constructor(){B=this,this.mg_1=new bt(1993859828,793161749)}equals(t){return!(null==t||!ge(t,pt))&&t.x()}hashCode(){return 0}toString(){return"[]"}p(){return 0}x(){return!0}lf(t){return!1}o(t){return!1}mf(t){return t.x()}o1(t){return this.mf(t)}l(){return U}}class hn{}class _n{}function on(t){return t===Xa()?this:t.sg(this,Qa)}class fn{}function cn(t){return pi(this.x1(),t)?ge(this,fn)?this:$i():null}function vn(t,r){return r(t,this)}function wn(t){return pi(this.x1(),t)?Xa():this}class dn{}class pn{constructor(){G=this,this.ug_1=new bt(0,0)}eb(t){return null}sg(t,r){return t}tg(t){return t}rg(t){return this}hashCode(){return 0}toString(){return"EmptyCoroutineContext"}}class mn{constructor(t,r){this.vg_1=t,this.wg_1=r}eb(t){for(var r=this;;){var n=r.wg_1.eb(t);if(null!=n)return n;var i=r.vg_1;if(!(i instanceof mn))return i.eb(t);r=i}}sg(t,r){return r(this.vg_1.sg(t,r),this.wg_1)}rg(t){if(null!=this.wg_1.eb(t))return this.vg_1;var r=this.vg_1.rg(t);return r===this.vg_1?this:r===Xa()?this.wg_1:new mn(r,this.wg_1)}equals(t){return this===t||!!(t instanceof mn&&tu(t)===tu(this))&&function(t,r){for(var n=r;;){if(!ru(t,n.wg_1))return!1;var i=n.vg_1;if(!(i instanceof mn))return ru(t,ge(i,fn)?i:$i());n=i}}(t,this)}hashCode(){return mi(this.vg_1)+mi(this.wg_1)|0}toString(){return"["+this.sg("",nu)+"]"}}class yn{constructor(t,r){var n;this.ng_1=r,n=t instanceof yn?t.og_1:t,this.og_1=n}pg(t){return this.ng_1(t)}qg(t){return t===this||this.og_1===t}}class gn{constructor(t){this.xg_1=t}x1(){return this.xg_1}}class bn extends yt{}class kn{constructor(){Z=this,this.g1_1=new qn(1,0)}}class xn{constructor(t,r,n){if(0===n)throw vr.f1("Step must be non-zero.");if(-2147483648===n)throw vr.f1("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-uu(r,t,n)|0;else{if(!(n<0))throw vr.f1("Step is zero.");i=t<=r?r:r+uu(t,r,0|-n)|0}return i}(t,r,n),this.n1_1=n}l(){return new jn(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 qn extends xn{constructor(t,r){hu(),super(t,r,1)}bh(){return this.l1_1}ch(){return this.m1_1}x(){return this.l1_1>this.m1_1}equals(t){return t instanceof qn&&(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 jn extends rn{constructor(t,r,n){super(),this.dh_1=n,this.eh_1=r,this.fh_1=this.dh_1>0?t<=r:t>=r,this.gh_1=this.fh_1?t:this.eh_1}m(){return this.fh_1}ag(){var t=this.gh_1;if(t===this.eh_1){if(!this.fh_1)throw pr.p4();this.fh_1=!1}else this.gh_1=this.gh_1+this.dh_1|0;return t}}class zn{h1(t,r,n){return new xn(t,r,n)}}class Sn{constructor(t){this.nh_1=t,this.ih_1=-1,this.jh_1=function(t,r,n){if(0>n)throw vr.f1("Cannot coerce value to an empty range: maximum "+n+" is less than minimum 0.");return t<0?0:t>n?n:t}(t.ph_1,0,_i(t.oh_1)),this.kh_1=this.jh_1,this.lh_1=null,this.mh_1=0}n(){if(-1===this.ih_1&&du(this),0===this.ih_1)throw pr.p4();var t=this.lh_1,r=t instanceof qn?t:$i();return this.lh_1=null,this.ih_1=-1,r}m(){return-1===this.ih_1&&du(this),1===this.ih_1}}class Cn{constructor(t,r,n,i){this.oh_1=t,this.ph_1=r,this.qh_1=n,this.rh_1=i}l(){return new Sn(this)}}class An extends yt{}class $n{constructor(t){this.sh_1=t,this.th_1=rt}y1(){this.th_1===rt&&(this.th_1=Ai(this.sh_1)(),this.sh_1=null);var t=this.th_1;return null==t||null!=t?t:$i()}uh(){return!(this.th_1===rt)}toString(){return this.uh()?Yn(this.y1()):"Lazy value not initialized yet."}}class En{}class In{}class Mn{constructor(t){this.mb_1=t}equals(t){return t instanceof Mn&&pi(this.mb_1,t.mb_1)}hashCode(){return mi(this.mb_1)}toString(){return"Failure("+this.mb_1.toString()+")"}}class Nn extends mr{static zb(t){t=t===k?"An operation is not implemented.":t;var r=this.nc(t);return xi(r,r.yb_1),r}}class Ln{constructor(t,r){this.wf_1=t,this.xf_1=r}toString(){return"("+Yn(this.wf_1)+", "+Yn(this.xf_1)+")"}yf(){return this.wf_1}zf(){return this.xf_1}hashCode(){var t=null==this.wf_1?0:mi(this.wf_1);return it(t,31)+(null==this.xf_1?0:mi(this.xf_1))|0}equals(t){if(this===t)return!0;if(!(t instanceof Ln))return!1;var r=t instanceof Ln?t:$i();return!!pi(this.wf_1,r.wf_1)&&!!pi(this.xf_1,r.xf_1)}}function Pn(t,r){if(null==r){var n=0,i=t.length-1|0;if(n<=i)do{var e=n;if(n=n+1|0,null==t[e])return e}while(n<=i)}else{var s=0,a=t.length-1|0;if(s<=a)do{var u=s;if(s=s+1|0,pi(r,t[u]))return u}while(s<=a)}return-1}function On(t){return t.length-1|0}function Dn(t,r,n,i,e,s,a){return r=r===k?", ":r,n=n===k?"":n,i=i===k?"":i,e=e===k?-1:e,s=s===k?"...":s,a=a===k?null:a,function(t,r,n,i,e,s,a,u){n=n===k?", ":n,i=i===k?"":i,e=e===k?"":e,s=s===k?-1:s,a=a===k?"...":a,u=u===k?null:u,r.k(i);var l=0,h=t.l();t:for(;h.m();){var _=h.n();if((l=l+1|0)>1&&r.k(n),!(s<0||l<=s))break t;_u(r,_,u)}return s>=0&&l>s&&r.k(a),r.k(e),r}(t,Or.j(),r,n,i,e,s,a).toString()}function Rn(t,r){var n=Lt.q(t.p()+1|0);return n.r(t),n.h(r),n}function Tn(t){if(t.x())throw pr.w("List is empty.");return t.s(Ta(t))}function Hn(t,r){for(var n=Lt.q(Ua(t,10)),i=!1,e=t.l();e.m();){var s,a=e.n();!i&&pi(a,r)?(i=!0,s=!1):s=!0,s&&n.h(a)}return n}function Un(t){return Lt.g(t)}function Fn(t,r){for(var n=t.l();n.m();){var i=n.n();r.h(i)}return r}function Bn(t,r){return r<=-2147483648?hu().g1_1:ce(t,r-1|0)}function Kn(t,r){return Q.h1(t,r,-1)}function Gn(t,r){return function(t,r){if(!t)throw vr.f1("Step must be positive, was: "+yi(r)+".")}(r>0,r),Q.h1(t.l1_1,t.m1_1,t.n1_1>0?r:0|-r)}function Vn(t,r){return t>r?r:t}function Wn(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.f1("Invalid Char code: "+i);n=function(t){var r=function(t){return t<<16>>16}(_e(t));return function(t){return 65535&t}(r)}(i)}else n=t.b(r);return n}function hi(t){return"string"==typeof t}function _i(t){return hi(t)?t.length:t.a()}function oi(t){return yi(t)}function fi(t,r){var n;switch(typeof t){case"number":n="number"==typeof r?ci(t,r):r instanceof bt?ci(t,r.e3()):vi(t,r);break;case"string":case"boolean":n=vi(t,r);break;default:n=function(t,r){return t.l2(r)}(t,r)}return n}function ci(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 vi(t,r){return tr?1:0}function wi(t){if(!("kotlinHashCodeValue$"in t)){var r=di(),n=new Object;n.value=r,n.enumerable=!1,Object.defineProperty(t,"kotlinHashCodeValue$",n)}return t.kotlinHashCodeValue$}function di(){return 4294967296*Math.random()|0}function pi(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 mi(t){if(null==t)return 0;var r,n=typeof t;switch(n){case"object":r="function"==typeof t.hashCode?t.hashCode():wi(t);break;case"function":r=wi(t);break;case"number":r=ai(t);break;case"boolean":r=gi(t);break;case"string":r=bi(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)!=k?(_===k&&(_=new Map),_):(o===k&&(o=new WeakMap),o)),i=n.get(t);if(i!==k)return i;var e=di();return n.set(t,e),e}(t);break;default:r=function(){throw new Error("Unexpected typeof `"+n+"`")}()}return r}function yi(t){return null==t?"null":me(t)?"[...]":"function"!=typeof t.toString?ki(t):t.toString()}function gi(t){return t?1231:1237}function bi(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 ki(t){return Object.prototype.toString.call(t)}function xi(t,r){null!=Error.captureStackTrace?Error.captureStackTrace(t,r):t.stack=(new Error).stack}function qi(t){return t.prototype}function ji(t,r){var n=Object.create(t.prototype);return zi(n,r),n}function zi(t,r){r!==k&&Object.assign(t,r)}function Si(t,r,n){var i=Ee(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?k:a}else s=k;e=s}else e=r;t.message=e}2&i||(t.cause=n),t.name=Object.getPrototypeOf(t).constructor.name}function Ci(t,r){return null==t||null!=t?t:$i()}function Ai(t){var r;return null==t?function(){throw kr.p3()}():r=t,r}function $i(){throw qr.x3()}function Ei(){throw fr.c4()}function Ii(){return re(),f}function Mi(){return re(),c}function Ni(){return re(),v}function Li(){return re(),d}function Pi(){return re(),p}function Oi(t,r){if(re(),Ki(t,r))return 0;var n=Vi(t),i=Vi(r);return n&&!i?-1:!n&&i?1:Vi(Ri(t,r))?-1:1}function Di(t,r){re();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,u=65535&r.j1_1,l=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+l|0)|0)>>>16|0)|0)+(i+u|0)|0)>>>16|0)|0)+(n+a|0)|0,new bt((o&=65535)<<16|(f&=65535),(h&=65535)<<16|(_&=65535))}function Ri(t,r){return re(),Di(t,r.v2())}function Ti(t,r){if(re(),Wi(t))return Ii();if(Wi(r))return Ii();if(Ki(t,Li()))return Ji(r)?Li():Ii();if(Ki(r,Li()))return Ji(t)?Li():Ii();if(Vi(t))return Vi(r)?Ti(Yi(t),Yi(r)):Yi(Ti(Yi(t),r));if(Vi(r))return Yi(Ti(t,Yi(r)));if(Zi(t,Pi())&&Zi(r,Pi()))return Qi(Fi(t)*Fi(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,u=65535&r.j1_1,l=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,l)|0)>>>16|0)|0,f&=65535,_=(_=(_=_+((o=o+it(i,h)|0)>>>16|0)|0)+((o=(o&=65535)+it(e,l)|0)>>>16|0)|0)+((o=(o&=65535)+it(s,u)|0)>>>16|0)|0,o&=65535,_=_+(((it(n,h)+it(i,l)|0)+it(e,u)|0)+it(s,a)|0)|0,new bt(f<<16|c,(_&=65535)<<16|o)}function Hi(t,r){re();var n=63&r;return 0===n?t:n<32?new bt(t.i1_1<>>(32-n|0)):new bt(0,t.i1_1<>>n|t.j1_1<<32-n,t.j1_1>>n):new bt(t.j1_1>>n-32,t.j1_1>=0?0:-1)}function Fi(t){return re(),4294967296*t.j1_1+function(t){return re(),t.i1_1>=0?t.i1_1:4294967296+t.i1_1}(t)}function Bi(t,r){if(re(),r<2||36=0x8000000000000000)return re(),w;if(t<0)return Yi(Qi(-t));var r=4294967296;return new bt(t%r|0,t/r|0)}function Xi(t,r){return re(),Oi(t,r)>0}function te(t,r){return re(),Oi(t,r)>=0}function re(){m||(m=!0,f=Gi(0),c=Gi(1),v=Gi(-1),w=new bt(-1,2147483647),d=new bt(0,-2147483648),p=Gi(16777216))}function ne(t,r,n,i,e,s){return{kind:t,simpleName:r,associatedObjectKey:i,associatedObjects:e,suspendArity:s,$kClass$:k,defaultConstructor:n,iid:"interface"===t?(y===k&&(y=0),y=y+1|0):k}}function ie(t,r,n,i,e,s,a,u,l){null!=e&&(r.prototype=Object.create(e.prototype),r.prototype.constructor=r);var h=ne(t,n,i,u,l,a);r.$metadata$=h,null!=s&&((pi(h.iid,k)?r.prototype:r).$imask$=Zn(s))}function ee(t,r,n,i,e,s,a,u){ie("class",t,r,n,i,e,s,a,u)}function se(t,r,n,i,e,s,a,u){ie("object",t,r,n,i,e,s,a,u)}function ae(t,r,n,i,e,s,a,u){ie("interface",t,r,n,i,e,s,a,u)}function ue(t,r,n,i){ee(t,"Lambda",k,r,n,i,k,k)}function le(t,r,n,i){se(t,"Companion",k,r,n,i,k,k)}function he(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 u=0,l=t.length-1|0;if(u<=l)do{var h=u;u=u+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!==l);return a}function _e(t){return t instanceof bt?t.d3():function(t){return t>2147483647?2147483647:t<-2147483648?-2147483648:0|t}(t)}function oe(t){return t instanceof bt?t:Qi(t)}function fe(t){return Gi(t)}function ce(t,r){return new qn(t,r)}function ve(){return pe(),ne("class",k,k,k,k,k)}function we(t,r,n,i,e){return pe(),i.get=i,i.set=e,i.callableName=t,s=i,a=function(t,r){return pe(),(pe(),g)[t][null==r?0:1]}(r,e),u=function(t,r){pe();var n=t.$imask$;return null==n?Zn([r]):n}(i,n),pe(),s.$metadata$=a,s.constructor=s,s.$imask$=u,s;var s,a,u}function de(t,r,n,i){return pe(),we(t,0,r,i,n?i:null)}function pe(){if(!b){b=!0;var t=[ve(),ve()],r=[ve(),ve()];g=[t,r,[ve(),ve()]]}}function me(t){return ye(t)||et(t)}function ye(t){return Array.isArray(t)}function ge(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 be(t){return!!ye(t)&&!t.$type$}function ke(t){return"string"==typeof t||ge(t,at)}function xe(t){return ye(t)&&"BooleanArray"===t.$type$}function qe(t){return t instanceof Int8Array}function je(t){return t instanceof Int16Array}function ze(t){return t instanceof Uint16Array&&"CharArray"===t.$type$}function Se(t){return t instanceof Int32Array}function Ce(t){return t instanceof Float32Array}function Ae(t){return ye(t)&&"LongArray"===t.$type$}function $e(t){return t instanceof Float64Array}function Ee(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(Ie(t,"message")&&(s|=1),Ie(t,"cause")&&(s|=2),3!==s){var a=(e=t,Object.getPrototypeOf(e));a!=Error.prototype&&(s|=Ee(a))}return null!=n&&(n.errorInfo=s),s}function Ie(t,r){return t.hasOwnProperty(r)}function Me(t,r,n,i){n=n===k?0:n,i=i===k?t.length:i,D.g4(n,i,t.length),t.fill(r,n,i)}function Ne(t,r,n,i){n=n===k?0:n,i=i===k?t.length:i,D.g4(n,i,t.length),t.fill(r,n,i)}function Le(t,r){if(!(r>=0)){var n="Invalid new array size: "+r+".";throw vr.f1(yi(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.f1(yi(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 He(t){return t&-t}function Ue(t){return 32-st(~(t|-t))|0}function Fe(t,r){return t<>>(32-r|0)}function Be(t,r){return t<<32-r|t>>>r}function Ke(t,r){return t.c3(new bt(0,-2147483648)).k1(r.c3(new bt(0,-2147483648)))}function Ge(t){return function(t){if(t.x())return[];for(var r=t.p(),n=Qn(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 Ve(t){return Ha([t])}function We(t,r){!function(t,r){if(t.p()<=1)return n;var i=Ze(t);!function(t,r){if(function(){if(null!=q)return q;q=!1;var t=[],r=0;if(r<600)do{var n=r;r=r+1|0,t.push(n)}while(r<600);var i=us;t.sort(i);var e=1,s=t.length;if(e=l)return!1}while(e=0))throw vr.f1(yi("capacity must be non-negative."));return Qn(Array(t),null)}function Xe(t,r,n){t.fill(null,r,n)}function ts(t,r){return Pe(t,r)}function rs(t,r){t[r]=null}function ns(){return x===k&&new Nt,x}function is(t,r){var n=t.p();return t.e_1.length=t.p()+r|0,n}function es(t,r){return D.c5(r,t.p()),r}function ss(t,r){return D.v4(r,t.p()),r}function as(t,r,n,i,e){if(n===i)return t;var s=(n+i|0)/2|0,a=as(t,r,n,s,e),u=as(t,r,s+1|0,i,e),l=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=u[_];e.compare(c,v)<=0?(l[f]=c,h=h+1|0):(l[f]=v,_=_+1|0)}else h<=s?(l[f]=a[h],h=h+1|0):(l[f]=u[_],_=_+1|0)}while(f!==i);return l}function us(t,r){return(3&t)-(3&r)|0}function ls(t,r){return 0===(n=it(Wn(r,1),3))?0:1<<31-st(n);var n}function hs(t,r){return st(r)+1|0}function _s(t){return t.m6_1.length}function os(t){return t.p6_1.length}function fs(t){t.t6_1=t.t6_1+1|0}function cs(t,r){!function(t,r){var n=_s(t)-t.r6_1|0,i=t.r6_1-t.p()|0;return n=r&&i>=(_s(t)/4|0)}(t,r)?function(t,r){if(r<0)throw or.k8("too many elements");if(r>_s(t)){var n=D.l8(_s(t),r);t.m6_1=ts(t.m6_1,n);var i=t,e=t.n6_1;i.n6_1=null==e?null:ts(e,n),t.o6_1=Le(t.o6_1,n);var s=ls(0,n);s>os(t)&&ps(t,s)}}(t,t.r6_1+r|0):ds(t,!0)}function vs(t){var r=t.n6_1;if(null!=r)return r;var n=Qe(_s(t));return t.n6_1=n,n}function ws(t,r){return null==r?0:it(mi(r),-1640531527)>>>t.s6_1|0}function ds(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}Xe(t.m6_1,i,t.r6_1),null==e||Xe(e,i,t.r6_1),t.r6_1=i}function ps(t,r){fs(t),t.r6_1>t.u6_1&&ds(t,!1),t.p6_1=new Int32Array(r),t.s6_1=hs(0,r);for(var n=0;n0&&pi(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=os(t)-1|0)}}function gs(t,r){for(var n=t.r6_1;(n=n-1|0)>=0;)if(t.o6_1[n]>=0&&pi(Ai(t.n6_1)[n],r))return n;return-1}function bs(t,r){t.l7();t:for(;;)for(var n=ws(t,r),i=Vn(it(t.q6_1,2),os(t)/2|0),e=0;;){var s=t.p6_1[n];if(s<=0){if(t.r6_1>=_s(t)){cs(t,1);continue t}var a=t.r6_1;t.r6_1=a+1|0;var u=a;return t.m6_1[u]=r,t.o6_1[u]=n,t.p6_1[n]=u+1|0,t.u6_1=t.u6_1+1|0,fs(t),e>t.q6_1&&(t.q6_1=e),u}if(pi(t.m6_1[s-1|0],r))return 0|-s;if((e=e+1|0)>i){ps(t,it(os(t),2));continue t}var l=n;n=l-1|0,0===l&&(n=os(t)-1|0)}}function ks(t,r){rs(t.m6_1,r);var i=t.n6_1;null==i||rs(i,r),function(t,r){for(var i=r,e=r,s=0,a=Vn(it(t.q6_1,2),os(t)/2|0);;){var u=i;if(i=u-1|0,0===u&&(i=os(t)-1|0),(s=s+1|0)>t.q6_1)return t.p6_1[e]=0,n;var l=t.p6_1[i];if(0===l)return t.p6_1[e]=0,n;if(l<0?(t.p6_1[e]=-1,e=i,s=0):(ws(t,t.m6_1[l-1|0])-i&os(t)-1)>=s&&(t.p6_1[e]=l,t.o6_1[l-1|0]=e,e=i,s=0),(a=a-1|0)<0)return t.p6_1[e]=-1,n}}(t,t.o6_1[r]),t.o6_1[r]=-1,t.u6_1=t.u6_1-1|0,fs(t)}function xs(t,r){var n=bs(t,r.x1()),i=vs(t);if(n>=0)return i[n]=r.y1(),!0;var e=i[(0|-n)-1|0];return!pi(r.y1(),e)&&(i[(0|-n)-1|0]=r.y1(),!0)}function qs(){if(!z){z=!0;var t="undefined"!=typeof process&&process.versions&&!!process.versions.node;j=t?new ir(process.stdout):new sr}}function js(){return zs(),C}function zs(){$||($=!0,C=new Function("return function*(suspended, c) { var a = c(); if (a === suspended) a = yield a; return a }")(),A=js().constructor.prototype)}function Ss(t){xi(t,t.qb_1)}function Cs(t){var r=t instanceof ur?t:null,n=null==r?null:r.db();return null==n?t:n}function As(t,r,n){var i=new lr(n),e=js()(iu(),(function(){var n=i;return"function"==typeof t?t(r,n):t.ac(r,n)}));return i.wa_1.push(e),i}function $s(t,r,n){var i=new lr(n);i.ya_1=!0;var e="function"==typeof t?t(r,i):t.ac(r,i);if(i.ya_1=!1,i.za_1!==i.ab_1){var s=e;i.ta(s)}return e}function Es(t,r){var n=r.constructor===lr?r:new lr(r),i=t(n);if(!function(t){return zs(),null!=t&&t.constructor===(zs(),A)}(i))return i;var e=i;n.wa_1.push(e);try{var s=e.next();return s.done&&n.wa_1.pop(),s.value}catch(t){if(t instanceof Error){var a=t;throw n.wa_1.pop(),a}throw t}}function Is(t){xi(t,t.d4_1)}function Ms(t){xi(t,t.e1_1)}function Ns(t){xi(t,t.hc_1)}function Ls(t){xi(t,t.k3_1)}function Ps(t){xi(t,t.c6_1)}function Os(t){xi(t,t.j8_1)}function Ds(t){xi(t,t.v_1)}function Rs(t){xi(t,t.lc_1)}function Ts(t){xi(t,t.y8_1)}function Hs(t){xi(t,t.rc_1)}function Us(t){xi(t,t.wc_1)}function Fs(t){xi(t,t.a4_1)}function Bs(t){return new $n(t)}function Ks(t,r){return new $n(r)}function Gs(t){if(De(t))throw vr.f1("Cannot round NaN value.");return t>new bt(-1,2147483647).e3()?new bt(-1,2147483647):t1?t:li(r,0)}function ma(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 ya(t,r){return t.toString(function(t){if(!(2<=t&&t<=36))throw vr.f1("radix "+t+" was not in valid range 2..36");return t}(r))}function ga(t,r,n,i,e,s){return vu(t,r,n,i,e,s=s!==k&&s)}function ba(t,r){if(t!==r){var n=t._suppressed;null==n?t._suppressed=Da([r]):n.h(r)}}function ka(t,r,i,e){if(!xa(t,r,i,e))return n;for(var s=t.cause;null!=s;){if(!xa(s,r,i,"Caused by: "))return n;s=s.cause}}function xa(t,r,n,i){r.ge_1.p9(n).p9(i);var e=t.toString();if(function(t,r){var n;t:{for(var i=t.he_1,e=0,s=i.length;e0&&32===li(r,cu(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.f1(yi(n))}return function(t,r){if(!(r>=0)){var n="Requested character count "+r+" is less than zero.";throw vr.f1(yi(n))}var i=Vn(r,t.length);return t.substring(0,i)}(t,Wn(t.length-r|0,0))}(r,s)+"... and "+(i-1|0)+" more common stack frames skipped"}(r,a,l),_i(n)>0){var h;if(0===l)h=0;else{for(var _=0,o=0;o<_i(e);){var f=li(e,o);o=o+1|0,10===f&&(_=_+1|0)}h=1+_|0}for(var c=h,v=0,w=function(t){return function(t,r,n,i){var e=function(t,r,n,i,e){n=n===k?0:n,i=i!==k&&i,function(t){if(!(t>=0)){var r="Limit must be non-negative, but was "+t;throw vr.f1(yi(r))}}(e=e===k?0:e);var s=function(t){return Lt.h4(t)}(r);return new Cn(t,n,e,(function(t,r){var n=function(t,r,n,i,e){if(!i&&1===r.p()){var s=function(t){if(ge(t,ot))return function(t){var r;switch(t.p()){case 0:throw pr.w("List is empty.");case 1:r=t.s(0);break;default:throw vr.f1("List has more than one element.")}return r}(t);var r=t.l();if(!r.m())throw pr.w("Collection is empty.");var n=r.n();if(r.m())throw vr.f1("Collection has more than one element.");return n}(r),a=fu(t,s,n);return a<0?null:zu(a,s)}var u=ce(Wn(n,0),_i(t));if("string"==typeof t){var l=u.l1_1,h=u.m1_1,_=u.n1_1;if(_>0&&l<=h||_<0&&h<=l)do{var o,f=l;l=l+_|0;t:{for(var c=r.l();c.m();){var v=c.n();if(ga(v,0,t,f,v.length,i)){o=v;break t}}o=null}if(null!=o)return zu(f,o)}while(f!==h)}else{var w=u.l1_1,d=u.m1_1,p=u.n1_1;if(p>0&&w<=d||p<0&&d<=w)do{var m,y=w;w=w+p|0;t:{for(var g=r.l();g.m();){var b=g.n();if(vu(b,0,t,y,b.length,i)){m=b;break t}}m=null}if(null!=m)return zu(y,m)}while(y!==d)}return null}(t,s,r,i);return null==n?null:zu(n.wf_1,n.xf_1.length)}))}(t,["\r\n","\n","\r"],k,n=n!==k&&n,i=i===k?0:i);return function(t,r){return new un(t,r)}(e,(function(r){return function(t,r){return yi((n=t,i=r.bh(),e=r.ch()+1|0,hi(n)?n.substring(i,e):n.c(i,e)));var n,i,e}(t,r)}))}(t)}(a).l();w.m();){var d=w.n(),p=v;v=p+1|0,Ye(p)>=c&&r.ge_1.p9(n),r.ge_1.p9(d).p9("\n")}}else r.ge_1.p9(a).p9("\n")}else r.ge_1.p9(e).p9("\n");var m=function(t){var r=t._suppressed,n=null==r?null:r;return null==n?Ra():n}(t);if(!m.x())for(var y=n+" ",g=m.l();g.m();)ka(g.n(),r,y,"Suppressed: ");return!0}function qa(){if(O)return n;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=fi(r.ne_1,n.ne_1);return i>0?t*(r.ne_1/n.ne_1):i<0?t/(n.ne_1/r.ne_1):t}function za(){return qa(),P}function Sa(t,r){return r===t?"(this Map)":Yn(r)}function Ca(t,r){var n;t:{for(var i=t.d2().l();i.m();){var e=i.n();if(pi(e.x1(),r)){n=e;break t}}n=null}return n}function Aa(t,r){if(r<0)throw fr.l3("Deque is too big.");if(r<=t.ve_1.length)return n;if(t.ve_1===Oa().xe_1){var i=t,e=Wn(r,10);return i.ve_1=Qn(Array(e),null),n}!function(t,r){var n=Qn(Array(r),null);Je(t.ve_1,n,0,t.ue_1,t.ve_1.length),Je(t.ve_1,n,t.ve_1.length-t.ue_1|0,0,t.ue_1),t.ue_1=0,t.ve_1=n}(t,D.l8(t.ve_1.length,r))}function $a(t,r){return r>=t.ve_1.length?r-t.ve_1.length|0:r}function Ea(t,r){return r<0?r+t.ve_1.length|0:r}function Ia(t,r){return r===On(t.ve_1)?0:r+1|0}function Ma(t,r){return 0===r?On(t.ve_1):r-1|0}function Na(t,r,n){var i=n.l(),e=r,s=t.ve_1.length;if(e=0?n:n+r|0}function hu(){return Z===k&&new kn,Z}function _u(t,r,n){null!=n?t.k(n(r)):null==r||ke(r)?t.k(r):r instanceof ht?t.q9(r.hh_1):t.k(Yn(r))}function ou(t,r,n){if(t===r)return!0;if(!(n=n!==k&&n))return!1;var i=pa(t),e=pa(r);return i===e||li(Jn(i).toLowerCase(),0)===li(Jn(e).toLowerCase(),0)}function fu(t,r,n,i){return n=n===k?0:n,(i=i!==k&&i)||"string"!=typeof t?wu(t,r,n,_i(t),i):t.indexOf(r,n)}function cu(t){return _i(t)-1|0}function vu(t,r,n,i,e,s){if(i<0||r<0||r>(_i(t)-e|0)||i>(_i(n)-e|0))return!1;var a=0;if(a0&&u<=l||h<0&&l<=u)do{var _=u;if(u=u+h|0,ga(r,0,t,_,_i(r),e))return _}while(_!==l)}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,vu(r,0,t,v,_i(r),e))return v}while(v!==f)}return-1}function du(t){if(t.kh_1<0)t.ih_1=0,t.lh_1=null;else{var r;if(t.nh_1.qh_1>0?(t.mh_1=t.mh_1+1|0,r=t.mh_1>=t.nh_1.qh_1):r=!1,r||t.kh_1>_i(t.nh_1.oh_1))t.lh_1=ce(t.jh_1,cu(t.nh_1.oh_1)),t.kh_1=-1;else{var n=t.nh_1.rh_1(t.nh_1.oh_1,t.kh_1);if(null==n)t.lh_1=ce(t.jh_1,cu(t.nh_1.oh_1)),t.kh_1=-1;else{var i=n.yf(),e=n.zf();t.lh_1=Bn(t.jh_1,i),t.jh_1=i+e|0,t.kh_1=t.jh_1+(0===e?1:0)|0}}t.ih_1=1}}function pu(t){if(yu(t)){var r=mu(t);if(!(new bt(387905,-1073741824).k1(r)<=0&&r.k1(new bt(-387905,1073741823))<=0))throw gr.tc(mu(t).toString()+" ns is out of nanoseconds range")}else{var n=mu(t);if(!(new bt(1,-1073741824).k1(n)<=0&&n.k1(new bt(-1,1073741823))<=0))throw gr.tc(mu(t).toString()+" ms is out of milliseconds range");var i=mu(t);if(new bt(1108857478,-1074).k1(i)<=0&&i.k1(new bt(-1108857478,1073))<=0)throw gr.tc(mu(t).toString()+" ms is denormalized")}return t}function mu(t){return t.y2(1)}function yu(t){return!(1&t.d3())}function gu(t){return t.s2(fe(1e6))}function bu(t){return pu(t.x2(1))}function ku(){return function(){if(tt)return n;tt=!0,new An("SYNCHRONIZED",0),X=new An("PUBLICATION",1),new An("NONE",2)}(),X}function xu(t){return t instanceof Mn}function qu(t){return t instanceof Mn?t.mb_1:null}function ju(t){return new Mn(t)}function zu(t,r){return new Ln(t,r)}ae(at,"CharSequence"),ee(ut,"Number"),se(lt,"Unit"),ee(ht,"Char"),ae(_t,"Collection"),ae(ot,"List",k,k,[_t]),ae(ft,"MutableList",k,k,[ot,_t]),ae(ct,"Entry"),ae(vt,"Map"),ae(wt,"MutableEntry",k,k,[ct]),ae(dt,"MutableMap",k,k,[vt]),ae(pt,"Set",k,k,[_t]),le(mt),ee(yt,"Enum"),le(gt),ee(bt,"Long"),ae(kt,"FunctionAdapter"),ee(xt),ae(qt,"Comparator"),ee(jt,"AbstractCollection",k,k,[_t]),ee(zt,"AbstractMutableCollection",k,k,[jt,_t]),ee(St,"IteratorImpl"),ee(Ct,"ListIteratorImpl"),ee(At,"AbstractMutableList",k,k,[zt,ft]),ee($t,"SubList"),ee(Et,"AbstractMap",k,k,[vt]),ee(It,"AbstractMutableMap",k,k,[Et,dt]),ee(Mt,"AbstractMutableSet",k,k,[zt,pt,_t]),le(Nt),ee(Lt,"ArrayList",Lt.b1,k,[At,ft]),ee(Pt,"HashMap",Pt.l6,k,[It,dt]),ee(Ot,"HashMapKeys",k,k,[pt,_t,Mt]),ee(Dt,"HashMapValues",k,k,[_t,zt]),ee(Rt,"HashMapEntrySetBase",k,k,[pt,_t,Mt]),ee(Tt,"HashMapEntrySet"),ee(Ht),ee(Ut,"HashMapKeysDefault"),ee(Ft),ee(Bt,"HashMapValuesDefault"),ee(Kt,"HashSet",Kt.g8,k,[Mt,pt,_t]),le(Gt),ee(Vt,"Itr"),ee(Wt,"KeysItr"),ee(Jt,"ValuesItr"),ee(Yt,"EntriesItr"),ee(Zt,"EntryRef",k,k,[wt]),ae(Qt,"InternalMap"),qi(Xt).a8=function(t){var r;t:if(ge(t,_t)&&t.x())r=!0;else{for(var n=t.l();n.m();){var i=n.n();if(null==i||!ge(i,ct)||!this.w9(i)){r=!1;break t}}r=!0}return r},ee(Xt,"InternalHashMap",Xt.w6,k,[Qt]),ee(tr,"LinkedHashMap",tr.da,k,[Pt,dt]),ee(rr,"LinkedHashSet",rr.ha,k,[Kt,pt,_t]),ee(nr,"BaseOutput"),ee(ir,"NodeJsOutput"),ee(er,"BufferedOutput",er),ee(sr,"BufferedOutputToConsoleLog",sr),se(ar,"CompletedContinuation"),ee(ur,"InterceptedCoroutine"),ee(lr,"GeneratorCoroutineImpl"),ee(hr,"SafeContinuation"),ee(_r,"Exception",_r.bc),ee(or,"RuntimeException",or.ec),ee(fr,"IllegalStateException",fr.c4),ee(cr,"CancellationException",cr.rb),ee(vr,"IllegalArgumentException",vr.dc),ee(wr,"IndexOutOfBoundsException",wr.ic),ee(dr,"UnsupportedOperationException",dr.d6),ee(pr,"NoSuchElementException",pr.p4),ee(mr,"Error",mr.mc),ee(yr,"ConcurrentModificationException",yr.z8),ee(gr,"AssertionError",gr.sc),ee(br,"ArithmeticException",br.xc),ee(kr,"NullPointerException",kr.p3),ee(xr,"NoWhenBranchMatchedException",xr.t3),ee(qr,"ClassCastException",qr.x3),ee(jr,"UninitializedPropertyAccessException",jr.zc),ae(zr,"KClass"),ee(Sr,"KClassImpl",k,k,[zr]),se(Cr,"NothingKClassImpl"),ee(Ar,"ErrorKClass",Ar,k,[zr]),ee($r,"PrimitiveKClassImpl"),ee(Er,"SimpleKClassImpl"),ae(Ir,"KProperty1"),ae(Mr,"KMutableProperty1",k,k,[Ir]),ae(Nr,"KProperty0"),ae(Lr,"KMutableProperty0",k,k,[Nr]),se(Pr,"PrimitiveClasses"),ee(Or,"StringBuilder",Or.j,k,[at]),ee(Dr,"ExceptionTraceBuilder",Dr),ee(Rr,"DurationUnit"),le(Tr),ee(Hr),le(Ur),ee(Fr,"AbstractSet",k,k,[jt,pt]),ee(Br),le(Kr),le(Gr),ee(Vr,"ArrayDeque",Vr.ze),ee(Wr,"ArrayAsCollection",k,k,[_t]),se(Jr,"EmptyList",k,k,[ot]),se(Yr,"EmptyIterator"),ee(Zr,"IndexedValue"),ee(Qr,"IndexingIterable"),ee(Xr,"IndexingIterator"),se(tn,"EmptyMap",k,k,[vt]),ee(rn,"IntIterator"),ee(nn,"SequenceScope",k,k,k,[1]),ee(en,"SequenceBuilderIterator",en,k,k,[1]),ee(sn),ee(an),ee(un,"TransformingSequence"),se(ln,"EmptySet",k,k,[pt]),se(hn,"Key"),ae(_n,"CoroutineContext"),ae(fn,"Element",k,k,[_n]),ae(dn,"ContinuationInterceptor",k,k,[fn]),se(pn,"EmptyCoroutineContext",k,k,[_n]),qi(mn).tg=on,ee(mn,"CombinedContext",k,k,[_n]),ee(yn,"AbstractCoroutineContextKey"),qi(gn).eb=cn,qi(gn).sg=vn,qi(gn).rg=wn,qi(gn).tg=on,ee(gn,"AbstractCoroutineContextElement",k,k,[fn]),ee(bn,"CoroutineSingletons"),le(kn),ee(xn,"IntProgression"),ee(qn,"IntRange"),ee(jn,"IntProgressionIterator"),le(zn),ee(Sn),ee(Cn,"DelimitedRangesSequence"),ee(An,"LazyThreadSafetyMode"),ee($n,"UnsafeLazyImpl"),se(En,"UNINITIALIZED_VALUE"),le(In),ee(Mn,"Failure"),ee(Nn,"NotImplementedError",Nn.zb),ee(Ln,"Pair"),n=new lt,new mt,q=null,new Gt,S=new ar,D=new Tr,new Ur,R=new Kr,U=new Yr,K=new hn,Q=new zn,rt=new En,new In;class Su{atomicfu$Trace$append$1(t){}atomicfu$Trace$append$2(t,r){}atomicfu$Trace$append$3(t,r,n){}atomicfu$Trace$append$4(t,r,n,i){}}class Cu extends Su{constructor(){nt=null,super(),nt=this}}class Au{constructor(t){this.kotlinx$atomicfu$value=t}vh(t){this.kotlinx$atomicfu$value=t}wh(){return this.kotlinx$atomicfu$value}atomicfu$compareAndSet(t,r){return this.kotlinx$atomicfu$value===t&&(this.kotlinx$atomicfu$value=r,!0)}atomicfu$getAndSet(t){var r=this.kotlinx$atomicfu$value;return this.kotlinx$atomicfu$value=t,r}toString(){return Yn(this.kotlinx$atomicfu$value)}}class $u{constructor(t){this.kotlinx$atomicfu$value=t}xh(t){this.kotlinx$atomicfu$value=t}wh(){return this.kotlinx$atomicfu$value}atomicfu$compareAndSet(t,r){return this.kotlinx$atomicfu$value===t&&(this.kotlinx$atomicfu$value=r,!0)}atomicfu$getAndSet(t){var r=this.kotlinx$atomicfu$value;return this.kotlinx$atomicfu$value=t,r}toString(){return this.kotlinx$atomicfu$value.toString()}}class Eu{constructor(t){this.kotlinx$atomicfu$value=t}yh(t){this.kotlinx$atomicfu$value=t}wh(){return this.kotlinx$atomicfu$value}atomicfu$compareAndSet(t,r){return this.kotlinx$atomicfu$value===t&&(this.kotlinx$atomicfu$value=r,!0)}atomicfu$getAndSet(t){var r=this.kotlinx$atomicfu$value;return this.kotlinx$atomicfu$value=t,r}atomicfu$getAndIncrement(){var t=this.kotlinx$atomicfu$value;return this.kotlinx$atomicfu$value=t+1|0,t}atomicfu$getAndDecrement(){var t=this.kotlinx$atomicfu$value;return this.kotlinx$atomicfu$value=t-1|0,t}atomicfu$getAndAdd(t){var r=this.kotlinx$atomicfu$value;return this.kotlinx$atomicfu$value=this.kotlinx$atomicfu$value+t|0,r}atomicfu$addAndGet(t){return this.kotlinx$atomicfu$value=this.kotlinx$atomicfu$value+t|0,this.kotlinx$atomicfu$value}atomicfu$incrementAndGet(){return this.kotlinx$atomicfu$value=this.kotlinx$atomicfu$value+1|0,this.kotlinx$atomicfu$value}atomicfu$decrementAndGet(){return this.kotlinx$atomicfu$value=this.kotlinx$atomicfu$value-1|0,this.kotlinx$atomicfu$value}toString(){return this.kotlinx$atomicfu$value.toString()}}function Iu(){return nt===k&&new Cu,nt}function Mu(t){return function(t,r){return r=r===k?Iu():r,new Au(t)}(t,Iu())}function Nu(t){return function(t,r){return r=r===k?Iu():r,new $u(t)}(t,Iu())}function Lu(t){return function(t,r){return r=r===k?Iu():r,new Eu(t)}(t,Iu())}ee(Su,"TraceBase"),se(Cu,"None"),ee(Au,"AtomicRef"),ee($u,"AtomicBoolean"),ee(Eu,"AtomicInt");var Pu,Ou,Du,Ru,Tu,Hu,Uu,Fu,Bu,Ku,Gu,Vu,Wu,Ju,Yu,Zu,Qu,Xu,tl,rl,nl,il,el,sl,al,ul,ll,hl,_l,ol,fl,cl,vl,wl,dl,pl,ml,yl,gl=Math.imul;class bl{}class kl{}class xl{constructor(t){this.hm_1=Mu(t?q_():(B_(),Qu)),this.im_1=Mu(null)}x1(){return Ku}fn(t){this.im_1.kotlinx$atomicfu$value=t}gn(){return this.im_1.kotlinx$atomicfu$value}hn(){var t=this.gn();return null==t?null:t.hn()}jm(t){if(null==t)return this.fn(Gu),n;t.kn();var r=t.ao(this);this.fn(r),this.jn()&&(r.iq(),this.fn(Gu))}in(){return this.hm_1.kotlinx$atomicfu$value}om(){var t=this.in();return!(null==t||!ge(t,Hl))&&t.om()}jn(){var t=this.in();return!(null!=t&&ge(t,Hl))}kn(){for(;;){var t=(r=this,(n=this.in())instanceof ih?n.ws_1?0:r.hm_1.atomicfu$compareAndSet(n,q_())?(r.ln(),1):-1:n instanceof _h?r.hm_1.atomicfu$compareAndSet(n,n.vt_1)?(r.ln(),1):-1:0);if(0===t)return!1;if(1===t)return!0}var r,n}ln(){}mn(){var t,r=this.in();if(r instanceof uh){var n=r.zt(),i=null==n?null:this.nn(n,fo(this)+" is cancelling");if(null==i){var e="Job is still new or active: "+this.toString();throw fr.l3(yi(e))}t=i}else{if(null!=r&&ge(r,Hl)){var s="Job is still new or active: "+this.toString();throw fr.l3(yi(s))}t=r instanceof Bl?this.on(r.tm_1):Fh.ut(fo(this)+" has completed normally",null,this)}return t}nn(t,r){var n=t instanceof cr?t:null;return null==n?Fh.ut(null==r?this.rm():r,t,this):n}on(t,r,n){return r=r===k?null:r,n===k?this.nn(t,r):n.nn.call(this,t,r)}pn(t){return this.rn(!0,new oh(t))}qn(t,r,n){var i;return i=t?new fh(n):new oh(n),this.rn(r,i)}rn(t,r){var n;r.or_1=this;t:for(;;){var i=this.in();if(i instanceof ih)if(i.ws_1){if(this.hm_1.atomicfu$compareAndSet(i,r)){n=!0;break t}}else M_(this,i);else{if(null==i||!ge(i,Hl)){n=!1;break t}var e=i.qr();if(null==e)N_(this,i instanceof Ul?i:$i());else{var s;if(r.kr()){var a=i instanceof uh?i:null,u=null==a?null:a.zt();if(null!=u)return t&&r.nq(u),Gu;s=e.ur(r,5)}else s=e.ur(r,1);if(s){n=!0;break t}}}}if(n)return r;if(t){var l=this.in(),h=l instanceof Bl?l:null;r.nq(null==h?null:h.tm_1)}return Gu}sn(t){for(;;){var r=this.in();if(!(r instanceof Ul))return null!=r&&ge(r,Hl)?(null!=r.qr()&&t.vr(),n):n;if(r!==t)return n;if(this.hm_1.atomicfu$compareAndSet(r,q_()))return n}}tn(){return!1}un(t){var r;r=null==t?Fh.ut(this.rm(),null,this):t,this.vn(r)}rm(){return"Job was cancelled"}vn(t){this.yn(t)}wn(t){this.yn(t)}xn(t){return t instanceof cr||this.yn(t)&&this.do()}yn(t){var r,n=y_();return!(!this.tn()||(n=function(t,r){for(;;){var n=t.in();if(null==n||!ge(n,Hl)||n instanceof uh&&n.wt())return y_();var i=D_(t,n,new Bl(L_(t,r)));if(i!==b_())return i}}(this,t),n!==g_()))||(n===y_()&&(n=function(t,r){for(var n=null;;)t:{var i=t.in();if(i instanceof uh){if(i.xt())return k_();var e=i.mt();if(null!=r||!e){var s,a=n;if(null==a){var u=L_(t,r);n=u,s=u}else s=a;var l=s;i.yt(l)}var h=i.zt(),_=e?null:h;return null==_||E_(t,i.ct_1,_),y_()}if(null==i||!ge(i,Hl))return k_();var o,f=n;if(null==f){var c=L_(t,r);n=c,o=c}else o=f;var v=o;if(!i.om()){var w=D_(t,i,new Bl(v));if(w===y_()){var d="Cannot happen in "+yi(i);throw fr.l3(yi(d))}if(w===b_())break t;return w}if(O_(t,i,v))return y_()}}(this,t)),n===y_()||n===g_()?r=!0:n===k_()?r=!1:(this.ym(n),r=!0),r)}zn(){var t,r=this.in();if(r instanceof uh)t=r.zt();else if(r instanceof Bl)t=r.tm_1;else{if(null!=r&&ge(r,Hl)){var n="Cannot be cancelling child in this state: "+yi(r);throw fr.l3(yi(n))}t=null}var i=t,e=i instanceof cr?i:null;return null==e?Fh.ut("Parent job is "+H_(0,r),i,this):e}wm(t){for(;;){var r=D_(this,this.in(),t);if(r===y_())throw fr.ub("Job "+this.toString()+" is already complete or completing, but is being completed with "+Yn(t),(void 0,null==(i=(n=t)instanceof Bl?n:null)?null:i.tm_1));if(r!==b_())return r}var n,i}vs(){return Ja((t=new hh(this),(r=function(r,n){return t.ku(r,n)}).$arity=1,r));var t,r}ao(t){var r=new ch(t);r.or_1=this;var n,i=r;t:for(;;){var e=this.in();if(e instanceof ih)if(e.ws_1){if(this.hm_1.atomicfu$compareAndSet(e,i)){n=!0;break t}}else M_(this,e);else{if(null==e||!ge(e,Hl)){n=!1;break t}var s=e.qr();if(null==s)N_(this,e instanceof Ul?e:$i());else{var a;if(s.ur(i,7))a=!0;else{var u,l=s.ur(i,3),h=this.in();if(h instanceof uh)u=h.zt();else{var _=h instanceof Bl?h:null;u=null==_?null:_.tm_1}var o=u;if(i.nq(o),!l)return Gu;a=!0}if(a){n=!0;break t}}}}if(n)return i;var f=this.in(),c=f instanceof Bl?f:null;return i.nq(null==c?null:c.tm_1),Gu}zm(t){throw t}bo(t){}co(){return!1}do(){return!0}eo(t){return!1}sm(t){}ym(t){}toString(){return this.fo()+"@"+co(this)}fo(){return this.an()+"{"+H_(0,this.in())+"}"}an(){return fo(this)}}class ql{}class jl extends xl{constructor(t,r,n){super(n),r&&this.jm(t.eb(Ku)),this.mm_1=t.tg(this)}ra(){return this.mm_1}nm(){return this.mm_1}om(){return super.om()}pm(t){}qm(t,r){}rm(){return fo(this)+" was cancelled"}sm(t){t instanceof Bl?this.qm(t.tm_1,t.vm()):this.pm(null==t||null!=t?t:$i())}ta(t){var r=this.wm(a_(t));if(r===g_())return n;this.xm(r)}xm(t){return this.ym(t)}zm(t){h_(this.mm_1,t)}an(){var t=(this.mm_1,null);return null==t?super.an():'"'+t+'":'+super.an()}bn(t,r,n){t.en(n,r,this)}}class zl extends jl{constructor(t,r){super(t,!0,r)}eo(t){return h_(this.mm_1,t),!0}}class Sl extends zl{constructor(t,r){super(t,!1),this.to_1=As(r,this,this)}ln(){!function(t,r){try{eo(Cs(t),n),n}catch(t){if(!(t instanceof Error))throw t;ho(r,t),n}}(this.to_1,this)}}class Cl extends jl{constructor(t,r){super(t,!0,!0),this.xo_1=r}co(){return!0}ym(t){eo(Cs(this.xo_1),u_(t,this.xo_1))}xm(t){this.xo_1.ta(u_(t,this.xo_1))}}class Al extends Cl{constructor(t,r){super(t,r),this.lo_1=Lu(0)}ym(t){this.xm(t)}xm(t){if(function(t){for(var r=t.lo_1;;)switch(r.kotlinx$atomicfu$value){case 0:if(t.lo_1.atomicfu$compareAndSet(0,2))return!0;break;case 1:return!1;default:throw fr.l3(yi("Already resumed"))}}(this))return n;eo(Cs(this.xo_1),u_(t,this.xo_1))}mo(){if(function(t){for(var r=t.lo_1;;)switch(r.kotlinx$atomicfu$value){case 0:if(t.lo_1.atomicfu$compareAndSet(0,1))return!0;break;case 2:return!1;default:throw fr.l3(yi("Already suspended"))}}(this))return iu();var t=F_(this.in());if(t instanceof Bl)throw t.tm_1;return null==t||null!=t?t:$i()}}class $l{}class El{}class Il{}class Ml extends Il{constructor(t){super(),this.pp_1=t}kq(t,r){}rq(t){return null==t||null!=t?t:$i()}zq(t){var r=t instanceof Bl?t:null;return null==r?null:r.tm_1}br(){var t=null;try{var r=this.gq(),n=r instanceof Ah?r:$i(),i=n.kp_1;n.mp_1;var e=i.ra(),s=this.jq(),a=this.zq(s),u=null==a&&ao(this.pp_1)?e.eb(Ku):null;if(null==u||u.om())if(null!=a){var l=ju(a);i.ta(l)}else{var h=this.rq(s);i.ta(h)}else{var _=u.mn();this.kq(s,_);var o=ju(ko(_));i.ta(o)}}catch(r){if(!(r instanceof Error))throw r;t=r}finally{var f=t;null==f||this.cr(f)}}cr(t){var r=th.us("Fatal exception in coroutines machinery for "+yi(this)+". Please read KDoc to 'handleFatalException' method and report this incident to maintainers",t);h_(this.gq().ra(),r)}}class Nl extends Ml{constructor(t,r){super(r),this.cp_1=t,this.dp_1=this.cp_1.ra(),this.ep_1=Lu(536870911),this.fp_1=Mu(Pu),this.gp_1=Mu(null)}gq(){return this.cp_1}ra(){return this.dp_1}in(){return this.fp_1.kotlinx$atomicfu$value}jn(){var t=this.in();return!(null!=t&&ge(t,Ll))}hq(){var t=t_(this);if(null==t)return n;var r=t;this.jn()&&(r.iq(),this.gp_1.kotlinx$atomicfu$value=Gu)}jq(){return this.in()}kq(t,r){for(var i=this.fp_1;;){var e=i.kotlinx$atomicfu$value;if(null!=e&&ge(e,Ll))throw fr.l3(yi("Not completed"));if(e instanceof Bl)return n;if(e instanceof Rl){if(e.cq())throw fr.l3(yi("Must be called at most once"));var s=e.dq(k,k,k,k,r);if(this.fp_1.atomicfu$compareAndSet(e,s))return e.lq(this,r),n}else if(this.fp_1.atomicfu$compareAndSet(e,new Rl(e,k,k,k,r)))return n}return n}yo(t){for(var r=this.fp_1;;){var n,i=r.kotlinx$atomicfu$value;if(null==i||!ge(i,Ll))return!1;n=!!ge(i,Pl)||i instanceof Sh;var e=new Kl(this,t,n);if(this.fp_1.atomicfu$compareAndSet(i,e))return ge(i,Pl)?this.bq(i,t):i instanceof Sh&&Xh(this,i,t),s_(this),n_(this,this.pp_1),!0}}mq(t){if(function(t,r){if(!Qh(t))return!1;var n=t.cp_1;return(n instanceof Ah?n:$i()).qp(r)}(this,t))return n;this.yo(t),s_(this)}bq(t,r){var i;try{t.nq(r),i=n}catch(t){if(!(t instanceof Error))throw t;var e=t;h_(this.ra(),Xl.vp("Exception in invokeOnCancellation handler for "+this.toString(),e)),i=n}return i}oq(t,r,n){try{t(r,n,this.ra())}catch(t){if(!(t instanceof Error))throw t;var i=t;h_(this.ra(),Xl.vp("Exception in resume onCancellation handler for "+this.toString(),i))}}pq(t){return t.mn()}mo(){var t=Qh(this);if(function(t){for(var r=t.ep_1;;){var n=r.kotlinx$atomicfu$value;switch(n>>29){case 0:var i=(1<<29)+(536870911&n)|0;if(t.ep_1.atomicfu$compareAndSet(n,i))return!0;break;case 2:return!1;default:throw fr.l3(yi("Already suspended"))}}}(this))return null==Zh(this)&&t_(this),t&&this.qq(),iu();t&&this.qq();var r=this.in();if(r instanceof Bl)throw ko(r.tm_1);if(ao(this.pp_1)){var n=this.ra().eb(Ku);if(null!=n&&!n.om()){var i=n.mn();throw this.kq(r,i),ko(i)}}return this.rq(r)}qq(){var t=this.cp_1,r=t instanceof Ah?t:null,i=null==r?null:r.sq(this);if(null==i)return n;var e=i;this.fq(),this.yo(e)}ta(t){return this.tq(null==(n=qu(r=t))?null==r||null!=r?r:$i():new Bl(ko(n)),this.pp_1);var r,n}ap(t){return function(t,r){if(!(t instanceof Nl))throw dr.d8("third-party implementation of CancellableContinuation is not supported");return t.hp(r),n}(this,new Ol(t))}hp(t){return function(t,r){for(var i=t.fp_1;;){var e=i.kotlinx$atomicfu$value;if(e instanceof Dl){if(t.fp_1.atomicfu$compareAndSet(e,r))return n}else if(null!=e&&ge(e,Pl)||e instanceof Sh)r_(0,r,e);else{if(e instanceof Bl){if(e.eq()||r_(0,r,e),e instanceof Kl){var s=e instanceof Bl?e:null,a=null==s?null:s.tm_1;ge(r,Pl)?t.bq(r,a):Xh(t,r instanceof Sh?r:$i(),a)}return n}if(e instanceof Rl){if(null!=e.xp_1&&r_(0,r,e),r instanceof Sh)return n;if(ge(r,Pl)||$i(),e.cq())return t.bq(r,e.aq_1),n;var u=e.dq(k,r);if(t.fp_1.atomicfu$compareAndSet(e,u))return n}else{if(r instanceof Sh)return n;ge(r,Pl)||$i();var l=new Rl(e,r);if(t.fp_1.atomicfu$compareAndSet(e,l))return n}}}}(this,t)}uq(t,r,i){for(var e=this.fp_1;;)t:{var s=e.kotlinx$atomicfu$value;if(null!=s&&ge(s,Ll)){var a=i_(0,s,t,r,i,null);if(!this.fp_1.atomicfu$compareAndSet(s,a))break t;return s_(this),n_(this,r),n}if(s instanceof Kl&&s.yq())return null==i||this.oq(i,s.tm_1,t),n;e_(0,t)}}tq(t,r,i,e){var s;return i=i===k?null:i,e===k?(this.uq(t,r,i),s=n):s=e.uq.call(this,t,r,i),s}fq(){var t=Zh(this);if(null==t)return n;t.iq(),this.gp_1.kotlinx$atomicfu$value=Gu}rq(t){var r;if(t instanceof Rl){var n=t.wp_1;r=null==n||null!=n?n:$i()}else r=null==t||null!=t?t:$i();return r}zq(t){var r=super.zq(t);return null==r?null:ko(r,this.cp_1)}toString(){return this.ar()+"("+po(this.cp_1)+"){"+((null!=(t=this.in())&&ge(t,Ll)?"Active":t instanceof Kl?"Cancelled":"Completed")+"}@")+co(this);var t}ar(){return"CancellableContinuation"}}class Ll{}class Pl{}class Ol{constructor(t){this.dr_1=t}nq(t){this.dr_1(t)}toString(){return"CancelHandler.UserSupplied["+fo(this.dr_1)+"@"+co(this)+"]"}}class Dl{toString(){return"Active"}}class Rl{constructor(t,r,n,i,e){r=r===k?null:r,n=n===k?null:n,i=i===k?null:i,e=e===k?null:e,this.wp_1=t,this.xp_1=r,this.yp_1=n,this.zp_1=i,this.aq_1=e}cq(){return!(null==this.aq_1)}lq(t,r){var n=this.xp_1;null==n||t.bq(n,r);var i=this.yp_1;null==i||t.oq(i,r,this.wp_1)}er(t,r,n,i,e){return new Rl(t,r,n,i,e)}dq(t,r,n,i,e,s){return t=t===k?this.wp_1:t,r=r===k?this.xp_1:r,n=n===k?this.yp_1:n,i=i===k?this.zp_1:i,e=e===k?this.aq_1:e,s===k?this.er(t,r,n,i,e):s.er.call(this,t,r,n,i,e)}toString(){return"CompletedContinuation(result="+Yn(this.wp_1)+", cancelHandler="+Yn(this.xp_1)+", onCancellation="+Yn(this.yp_1)+", idempotentResume="+Yn(this.zp_1)+", cancelCause="+Yn(this.aq_1)+")"}hashCode(){var t=null==this.wp_1?0:mi(this.wp_1);return t=gl(t,31)+(null==this.xp_1?0:mi(this.xp_1))|0,t=gl(t,31)+(null==this.yp_1?0:mi(this.yp_1))|0,t=gl(t,31)+(null==this.zp_1?0:mi(this.zp_1))|0,gl(t,31)+(null==this.aq_1?0:mi(this.aq_1))|0}equals(t){if(this===t)return!0;if(!(t instanceof Rl))return!1;var r=t instanceof Rl?t:$i();return!!(pi(this.wp_1,r.wp_1)&&pi(this.xp_1,r.xp_1)&&pi(this.yp_1,r.yp_1)&&pi(this.zp_1,r.zp_1)&&pi(this.aq_1,r.aq_1))}}class Tl{constructor(){this.rr_1=this,this.sr_1=this,this.tr_1=!1}ur(t,r){var n,i=this.sr_1;return i instanceof Vh?n=!(i.e10_1&r)&&i.ur(t,r):(t.rr_1=this,t.sr_1=i,i.rr_1=t,this.sr_1=t,n=!0),n}bt(t){this.ur(new Vh(t),t)}vr(){if(this.tr_1)return!1;var t=this.sr_1,r=this.rr_1;return t.rr_1=r,r.sr_1=t,this.tr_1=!0,!0}wr(t){return this.rr_1===this&&(this.ur(t,-2147483648),!0)}}class Hl{}class Ul extends Tl{pr(){var t=this.or_1;if(null!=t)return t;!function(t){throw jr.b4("lateinit property job has not been initialized")}()}om(){return!0}qr(){return null}iq(){return this.pr().sn(this)}toString(){return fo(this)+"@"+co(this)+"[job@"+co(this.pr())+"]"}}class Fl extends Ul{constructor(t){super(),this.jr_1=t}kr(){return!0}nq(t){this.jr_1.mq(this.jr_1.pq(this.pr()))}}class Bl{constructor(t,r){r=r!==k&&r,this.tm_1=t,this.um_1=Nu(r)}vm(){return this.um_1.kotlinx$atomicfu$value}eq(){return this.um_1.atomicfu$compareAndSet(!1,!0)}toString(){return fo(this)+"["+this.tm_1.toString()+"]"}}class Kl extends Bl{constructor(t,r,n){super(null==r?cr.sb("Continuation "+yi(t)+" was cancelled normally"):r,n),this.xq_1=Nu(!1)}yq(){return this.xq_1.atomicfu$compareAndSet(!1,!0)}}class Gl extends yn{constructor(){Ou=null,super(K,l_),Ou=this}}class Vl extends gn{constructor(){Ou===k&&new Gl,super(K)}yr(t){return!0}fb(t){return new Ah(this,t)}gb(t){(t instanceof Ah?t:$i()).as()}toString(){return fo(this)+"@"+co(this)}}class Wl{}class Jl{nm(){return Xa()}}class Yl extends yt{en(t,r,i){var e;switch(this.j2_1){case 0:lo(t,r,i),e=n;break;case 2:!function(t,r,i){var e=Cs(As(t,r,i)),s=n;e.ta(s)}(t,r,i),e=n;break;case 3:!function(t,r,i){var e,s=i;try{s.ra(),e=$s(t,r,s)}catch(t){if(t instanceof Error){var a=ju(t);return s.ta(a),n}throw t}var u=e;if(u!==iu()){var l=null==u||null!=u?u:$i();s.ta(l)}}(t,r,i),e=n;break;case 1:e=n;break;default:!function(){throw xr.t3()}()}return e}go(){return this===(o_(),Hu)}}class Zl extends Vl{constructor(){super(),this.ds_1=new bt(0,0),this.es_1=!1,this.fs_1=null}gs(){var t=this.fs_1;if(null==t)return!1;var r=t.df();return null!=r&&(r.br(),!0)}hs(t){var r,n=this.fs_1;if(null==n){var i=Vr.ze();this.fs_1=i,r=i}else r=n;r.bf(t)}is(){return this.ds_1.k1(f_(0,!0))>=0}js(){var t=this.fs_1,r=null==t?null:t.x();return null==r||r}ks(t){this.ds_1=this.ds_1.q2(f_(0,t)),t||(this.es_1=!0)}ls(t){if(this.ds_1=this.ds_1.r2(f_(0,t)),this.ds_1.k1(new bt(0,0))>0)return n;this.es_1&&this.ms()}ms(){}}class Ql{constructor(){Bu=this,this.ns_1=(new Eh("ThreadLocalEventLoop"),new Wh)}os(){var t,r=this.ns_1.qs();if(null==r){var n=new Oh;c_().ns_1.rs(n),t=n}else t=r;return t}}class Xl extends or{static vp(t,r){var n=this.kc(t,r);return xi(n,n.up_1),n}}class th extends mr{static us(t,r){var n=this.oc(t,r);return xi(n,n.ts_1),n}}class rh{}class nh{hn(){return null}iq(){}xn(t){return!1}toString(){return"NonDisposableHandle"}}class ih{constructor(t){this.ws_1=t}om(){return this.ws_1}qr(){return null}toString(){return"Empty{"+(this.ws_1?"Active":"New")+"}"}}class eh extends Tl{}class sh extends eh{om(){return!0}qr(){return this}at(t){var r=Or.j();r.p9("List{"),r.p9(t),r.p9("}[");for(var n=!0,i=this.rr_1;!pi(i,this);){var e=i;e instanceof Ul&&(n?n=!1:r.p9(", "),r.o9(e)),i=i.rr_1}return r.p9("]"),r.toString()}toString(){return oo()?this.at("Active"):super.toString()}}class ah{}class uh extends ah{constructor(t,r,n){super(),this.ct_1=t,this.dt_1=Nu(r),this.et_1=Mu(n),this.ft_1=Mu(null)}qr(){return this.ct_1}au(t){this.dt_1.kotlinx$atomicfu$value=t}wt(){return this.dt_1.kotlinx$atomicfu$value}bu(t){this.et_1.kotlinx$atomicfu$value=t}zt(){return this.et_1.kotlinx$atomicfu$value}xt(){return z_(this)===x_()}mt(){return!(null==this.zt())}om(){return null==this.zt()}nt(t){var r,n=z_(this);if(null==n)r=S_();else if(n instanceof Error){var i=S_();i.h(n),r=i}else{if(!(n instanceof Lt)){var e="State is "+Yn(n);throw fr.l3(yi(e))}r=n instanceof Lt?n:$i()}var s=r,a=this.zt();return null==a||s.u1(0,a),null==t||pi(t,a)||s.h(t),j_(this,x_()),s}yt(t){var r=this.zt();if(null==r)return this.bu(t),n;if(t===r)return n;var i=z_(this);if(null==i)j_(this,t);else if(i instanceof Error){if(t===i)return n;var e=S_();e.h(i),e.h(t),j_(this,e)}else{if(!(i instanceof Lt)){var s="State is "+Yn(i);throw fr.l3(yi(s))}(i instanceof Lt?i:$i()).h(t)}}toString(){return"Finishing[cancelling="+this.mt()+", completing="+this.wt()+", rootCause="+Yn(this.zt())+", exceptions="+Yn(z_(this))+", list="+this.ct_1.toString()+"]"}}class lh extends Ul{constructor(t,r,n,i){super(),this.gu_1=t,this.hu_1=r,this.iu_1=n,this.ju_1=i}kr(){return!1}nq(t){!function(t,r,i,e){var s=T_(i);if(null!=s&&R_(t,r,s,e))return n;r.ct_1.bt(2);var a=T_(i);if(null!=a&&R_(t,r,a,e))return n;var u=A_(t,r,e);t.ym(u)}(this.gu_1,this.hu_1,this.iu_1,this.ju_1)}}class hh{constructor(t){this.gt_1=t}ku(t,r){return Es(C_.bind(k,this,t),r)}ac(t,r){return this.ku(t instanceof nn?t:$i(),r)}}class _h{constructor(t){this.vt_1=t}qr(){return this.vt_1}om(){return!1}toString(){return oo()?this.vt_1.at("New"):ki(this)}}class oh extends Ul{constructor(t){super(),this.pu_1=t}kr(){return!1}nq(t){return this.pu_1(t)}}class fh extends Ul{constructor(t){super(),this.uu_1=t,this.vu_1=Nu(!1)}kr(){return!0}nq(t){this.vu_1.atomicfu$compareAndSet(!1,!0)&&this.uu_1(t)}}class ch extends Ul{constructor(t){super(),this.lt_1=t}hn(){return this.pr()}kr(){return!0}nq(t){return this.lt_1.wn(this.pr())}xn(t){return this.pr().xn(t)}}class vh{constructor(t){this.wu_1=t}}class wh extends xl{constructor(t){super(!0),this.jm(t),this.zu_1=function(t){var r=t.gn(),n=r instanceof ch?r:null,i=null==n?null:n.pr();if(null==i)return!1;for(var e=i;;){if(e.do())return!0;var s=e.gn(),a=s instanceof ch?s:null,u=null==a?null:a.pr();if(null==u)return!1;e=u}}(this)}tn(){return!0}do(){return this.zu_1}}class dh extends Vl{toString(){var t=this.cv();return null==t?fo(this)+"@"+co(this):t}cv(){var t,r=mo().hv();if(this===r)return"Dispatchers.Main";try{t=r.bv()}catch(r){if(!(r instanceof dr))throw r;t=null}return this===t?"Dispatchers.Main.immediate":null}}class ph extends cr{}class mh extends Vl{constructor(){rl=null,super(),rl=this}yr(t){return!1}zr(t,r){var i=t.eb(nl);if(null!=i)return i.kv_1=!0,n;throw dr.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 yh{}class gh{}class bh extends ah{constructor(){super(),this.yv_1=null,this.zv_1=0,this.aw_1=0,this.bw_1=null}mw(){var t,r,n=this.yv_1;if(null==n){var i=this.xw(2);this.yv_1=i,r=i}else{var e;if(this.zv_1>=n.length){var s=Pe(n,gl(2,n.length));this.yv_1=s,e=s}else e=n;r=e}var a,u=r,l=this.aw_1;t:for(;;){var h,_=u[l];if(null==_){var o=this.ww();u[l]=o,h=o}else h=_;if(a=h,(l=l+1|0)>=u.length&&(l=0),(a instanceof xh?a:$i()).zw(this))break t}this.aw_1=l,this.zv_1=this.zv_1+1|0;var f=a;return null==(t=this.bw_1)||t.rx(1),f}sw(t){var r;this.zv_1=this.zv_1-1|0,r=this.bw_1,0===this.zv_1&&(this.aw_1=0);for(var i=(t instanceof xh?t:$i()).bx(this),e=0,s=i.length;e"}}class Ih extends Vl{constructor(){super(),this.ny_1=new Lh(this)}zr(t,r){this.ny_1.ez(r)}}class Mh extends Ih{constructor(){wl=null,super(),wl=this}gy(){process.nextTick(this.ny_1.ly_1)}}class Nh{constructor(){this.oy_1=Vr.ze(),this.py_1=16,this.qy_1=!1}vy(t){return this.oy_1.h(t)}h(t){return this.vy(null!=t&&ge(t,El)?t:$i())}wy(t,r){this.oy_1.u1(t,r)}u1(t,r){return this.wy(t,null!=r&&ge(r,El)?r:$i())}xy(t,r){return this.oy_1.r1(t,r)}r1(t,r){return this.xy(t,r)}yy(t){return this.oy_1.r(t)}r(t){return this.yy(t)}s1(){this.oy_1.s1()}zy(t){return this.oy_1.q1(t)}q1(t){return!(null==t||!ge(t,El))&&this.zy(null!=t&&ge(t,El)?t:$i())}v1(t){return this.oy_1.v1(t)}az(t,r){return this.oy_1.t1(t,r)}t1(t,r){return this.az(t,null!=r&&ge(r,El)?r:$i())}p1(t,r){return this.oy_1.p1(t,r)}bz(t){return this.oy_1.o(t)}o(t){return!(null==t||!ge(t,El))&&this.bz(null!=t&&ge(t,El)?t:$i())}cz(t){return this.oy_1.o1(t)}o1(t){return this.cz(t)}s(t){return this.oy_1.s(t)}dz(t){return this.oy_1.a1(t)}a1(t){return null!=t&&ge(t,El)?this.dz(null!=t&&ge(t,El)?t:$i()):-1}x(){return this.oy_1.x()}l(){return this.oy_1.l()}p(){return this.oy_1.we_1}ez(t){this.vy(t),this.qy_1||(this.qy_1=!0,this.sy())}ry(){try{var t=this.py_1,r=0;if(r>29){case 0:var i=(2<<29)+(536870911&n)|0;if(t.ep_1.atomicfu$compareAndSet(n,i))return!0;break;case 1:return!1;default:throw fr.l3(yi("Already resumed"))}}}(t))return n;!function(t,r){var n=t.gq(),i=4===r;if(!!(!i&&n instanceof Ah)&&ao(r)===ao(t.pp_1)){var e=n.jp_1,s=n.ra();e.yr(s)?e.zr(s,t):function(t){var r=c_().os();if(r.is())r.hs(t);else{r.ks(!0);try{for(uo(t,t.gq(),!0);r.gs(););}catch(r){if(!(r instanceof Error))throw r;var n=r;t.cr(n)}finally{r.ls(!0)}}}(t)}else uo(t,n,i)}(t,r)}function i_(t,r,n,i,e,s){return n instanceof Bl||!ao(i)&&null==s||null==e&&!ge(r,Pl)&&null==s?n:new Rl(n,ge(r,Pl)?r:null,e,s)}function e_(t,r){var n="Already resumed, but proposed with update "+Yn(r);throw fr.l3(yi(n))}function s_(t){Qh(t)||t.fq()}function a_(t){var r=qu(t);return null==r?null==t||null!=t?t:$i():new Bl(r)}function u_(t,r){return t instanceof Bl?ju(ko(t.tm_1)):null==t||null!=t?t:$i()}function l_(t){return t instanceof Vl?t:null}function h_(t,r){try{var i=t.eb(Du);if(null!=i)return i.bs(t,r),n}catch(i){if(i instanceof Error)return ro(t,__(r,i)),n;throw i}ro(t,r)}function __(t,r){if(t===r)return t;var n=or.kc("Exception while trying to handle coroutine exception",r);return ba(n,t),n}function o_(){if(Fu)return n;Fu=!0,Tu=new Yl("DEFAULT",0),Hu=new Yl("LAZY",1),new Yl("ATOMIC",2),Uu=new Yl("UNDISPATCHED",3)}function f_(t,r){return r?new bt(0,1):new bt(1,0)}function c_(){return Bu===k&&new Ql,Bu}function v_(t){var r=t.eb(Ku);null==r||d_(r)}function w_(t,r,i){var e,s,a;if(r=r===k||r,t instanceof xl)e=t.rn(r,i);else{var u=i.kr();e=t.qn(u,r,(s=i,(a=function(t){return s.nq(t),n}).callableName="invoke",a))}return e}function d_(t){if(!t.om())throw t.mn()}function p_(t){return new wh(t=t===k?null:t)}function m_(t){var r=t.eb(Ku);if(null==r){var n="Current context doesn't contain Job in it: "+yi(t);throw fr.l3(yi(n))}return r}function y_(){return B_(),Vu}function g_(){return B_(),Wu}function b_(){return B_(),Ju}function k_(){return B_(),Yu}function x_(){return B_(),Zu}function q_(){return B_(),Xu}function j_(t,r){t.ft_1.kotlinx$atomicfu$value=r}function z_(t){return t.ft_1.kotlinx$atomicfu$value}function S_(t){return Lt.q(4)}function*C_(t,r,i){var e=t.gt_1.in();if(e instanceof ch){var s=r.fg(e.lt_1,i);s===iu()&&(s=yield s)}else if(null!=e&&ge(e,Hl)){var a=e.qr();if(null==a);else for(var u=a.rr_1;!pi(u,a);){var l=u;if(l instanceof ch){var h=r.fg(l.lt_1,i);h===iu()&&(h=yield h)}u=u.rr_1}}return n}function A_(t,r,i){var e,s=i instanceof Bl?i:null,a=null==s?null:s.tm_1;e=r.mt();var u=r.nt(a),l=function(t,r,n){if(n.x())return r.mt()?Fh.ut(t.rm(),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 ph){var u;t:{for(var l=n.l();l.m();){var h=l.n();if(h!==a&&h instanceof ph){u=h;break t}}u=null}if(null!=u)return u}return a}(t,r,u);null!=l&&function(t,r,i){if(i.p()<=1)return n;for(var e,s=(e=i.p(),Kt.z(e)),a=r,u=i.l();u.m();){var l=u.n();!(l===r||l===a||l instanceof cr)&&s.h(l)&&ba(r,l)}}(0,l,u);var h=l,_=null==h||h===a?i:new Bl(h);return null!=h&&(I_(t,h)||t.eo(h))&&(_ instanceof Bl?_:$i()).eq(),e||t.bo(h),t.sm(_),t.hm_1.atomicfu$compareAndSet(r,U_(_)),$_(t,r,_),_}function $_(t,r,n){var i=t.gn();null==i||(i.iq(),t.fn(Gu));var e=n instanceof Bl?n:null,s=null==e?null:e.tm_1;if(r instanceof Ul)try{r.nq(s)}catch(n){if(!(n instanceof Error))throw n;var a=n;t.zm(Xl.vp("Exception in completion handler "+r.toString()+" for "+t.toString(),a))}else{var u=r.qr();null==u||function(t,r,n){t.bt(1);for(var i=null,e=t.rr_1;!pi(e,t);){var s=e;if(s instanceof Ul)try{s.nq(n)}catch(t){if(!(t instanceof Error))throw t;var a,u=t,l=i;null==l?a=null:(ba(l,u),a=l),null==a&&(i=Xl.vp("Exception in completion handler "+s.toString()+" for "+r.toString(),u))}e=e.rr_1}var h=i;null==h||r.zm(h)}(u,t,s)}}function E_(t,r,n){t.bo(n),r.bt(4);for(var i=null,e=r.rr_1;!pi(e,r);){var s=e;if(s instanceof Ul&&s.kr())try{s.nq(n)}catch(r){if(!(r instanceof Error))throw r;var a,u=r,l=i;null==l?a=null:(ba(l,u),a=l),null==a&&(i=Xl.vp("Exception in completion handler "+s.toString()+" for "+t.toString(),u))}e=e.rr_1}var h=i;null==h||t.zm(h),I_(t,n)}function I_(t,r){if(t.co())return!0;var n=r instanceof cr,i=t.gn();return null===i||i===Gu?n:i.xn(r)||n}function M_(t,r){var n=new sh,i=r.ws_1?n:new _h(n);t.hm_1.atomicfu$compareAndSet(r,i)}function N_(t,r){r.wr(new sh);var n=r.rr_1;t.hm_1.atomicfu$compareAndSet(r,n)}function L_(t,r){return null==r||r instanceof Error?null==r?Fh.ut(t.rm(),null,t):r:(null!=r&&ge(r,kl)?r:$i()).zn()}function P_(t,r){var n,i=r.qr();if(null==i){var e;if(r instanceof ih)e=new sh;else{if(!(r instanceof Ul)){var s="State should have list: "+yi(r);throw fr.l3(yi(s))}N_(t,r),e=null}n=e}else n=i;return n}function O_(t,r,n){var i=P_(t,r);if(null==i)return!1;var e=i,s=new uh(e,!1,n);return!!t.hm_1.atomicfu$compareAndSet(r,s)&&(E_(t,e,n),!0)}function D_(t,r,n){return null!=r&&ge(r,Hl)?!(r instanceof ih||r instanceof Ul)||r instanceof ch||n instanceof Bl?function(t,r,n){var i=P_(t,r);if(null==i)return b_();var e,s=i,a=r instanceof uh?r:null,u=null==a?new uh(s,!1,null):a;if(u.wt())return y_();if(u.au(!0),u!==r&&!t.hm_1.atomicfu$compareAndSet(r,u))return b_();var l=u.mt(),h=n instanceof Bl?n:null;null==h||u.yt(h.tm_1);var _=u.zt();null==(e=l?null:_)||E_(t,s,e);var o=T_(s);if(null!=o&&R_(t,u,o,n))return g_();s.bt(2);var f=T_(s);return null!=f&&R_(t,u,f,n)?g_():A_(t,u,n)}(t,r,n):function(t,r,n){return!!t.hm_1.atomicfu$compareAndSet(r,U_(n))&&(t.bo(null),t.sm(n),$_(t,r,n),!0)}(t,r,n)?n:b_():y_()}function R_(t,r,n,i){for(var e=t,s=r,a=n,u=i;;){if(w_(a.lt_1,!1,new lh(e,s,a,u))!==Gu)return!0;var l=T_(a);if(null==l)return!1;a=l}}function T_(t,r){for(var n=t;n.tr_1;)n=n.sr_1;for(;;)if(!(n=n.rr_1).tr_1){if(n instanceof ch)return n;if(n instanceof sh)return null}}function H_(t,r){return r instanceof uh?r.mt()?"Cancelling":r.wt()?"Completing":"Active":null!=r&&ge(r,Hl)?r.om()?"Active":"New":r instanceof Bl?"Cancelled":"Completed"}function U_(t){return B_(),null!=t&&ge(t,Hl)?new vh(t):t}function F_(t){B_();var r=t instanceof vh?t:null,n=null==r?null:r.wu_1;return null==n?t:n}function B_(){tl||(tl=!0,Vu=new Eh("COMPLETING_ALREADY"),Wu=new Eh("COMPLETING_WAITING_CHILDREN"),Ju=new Eh("COMPLETING_RETRY"),Yu=new Eh("TOO_LATE_TO_CANCEL"),Zu=new Eh("SEALED"),Qu=new ih(!1),Xu=new ih(!0))}function K_(){return Y_(),il}function G_(){return Y_(),el}function V_(t){return Y_(),new kh(null==t?Z_():t)}function W_(t,r,n){var i,e,s=t.iw_1.kotlinx$atomicfu$value;if(null!=r&&!pi(s,r))return!1;if(pi(s,n))return!0;if(t.iw_1.kotlinx$atomicfu$value=n,1&(i=t.jw_1))return t.jw_1=i+2|0,!0;for(i=i+1|0,t.jw_1=i,e=t.yv_1;;){var a=e;if(null==a);else for(var u=0,l=a.length;u=0}hashCode(){var t=0,r=this.ai_1,n=this.bi_1;t:{var i=this.zh_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var u=i[a],l=u;if(!l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-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,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0,v=n[c],w=i[c];t.fe(v),t.p9("="),t.fe(w),(r=r+1|0)>>7&e,a=0;t:for(;;){for(var u=this.zh_1,l=s>>3,h=(7&s)<<3,_=u[l].z2(h).b3(u[l+1|0].x2(64-h|0).a3(fe(h).v2().y2(63))),o=new bt(16843009,16843009).s2(fe(i)),f=_.c3(o),c=f.r2(new bt(16843009,16843009)).a3(f.w2()).a3(new bt(-2139062144,-2139062144));!c.equals(new bt(0,0));){var v=s+(Re(c)>>3)&e;if(this.ai_1[v]===t)return v;var w=c;c=w.a3(w.r2(new bt(1,0)))}if(!_.a3(_.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;s=s+(a=a+8|0)&e}return-1}}class Lo extends No{constructor(t){if(t=t===k?6:t,super(),this.ji_1=0,!(t>=0))throw vr.f1(yi("Capacity must be a positive value."));rf(this,ff(t))}li(t,r){var n=function(t,r){var n=Io(r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=t.ci_1,u=e&a,l=0;t:for(;;){for(var h=t.zh_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(t.ai_1[d]===r)return d;var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;u=u+(l=l+8|0)&a}var m,y=nf(t,e);if(0===t.ji_1){var g=y;m=!t.zh_1[g>>3].y2((7&g)<<3).a3(new bt(255,0)).equals(new bt(254,0))}else m=!1;m&&(function(t){if(t.ci_1>8){var r=fe(t.di_1),n=new bt(32,0),i=r.s2(n),e=fe(t.ci_1),s=new bt(25,0);Ke(i,e.s2(s))}!function(t,r){var n=t.zh_1,i=t.ai_1,e=t.bi_1,s=t.ci_1;rf(t,r);var a=t.ai_1,u=t.bi_1,l=0;if(l>3].y2((7&h)<<3).a3(new bt(255,0)).k1(new bt(128,0))<0){var _=i[h],o=Io(_,-862048943),f=o^o<<16,c=nf(t,f>>>7|0),v=fe(127&f),w=t.zh_1,d=c>>3,p=(7&c)<<3;w[d]=w[d].a3(new bt(255,0).x2(p).w2()).b3(v.x2(p));var m=t.ci_1,y=(c-7&m)+(7&m)|0,g=y>>3,b=(7&y)<<3;w[g]=w[g].a3(new bt(255,0).x2(b).w2()).b3(v.x2(b)),a[c]=_,u[c]=e[h]}}while(l>3].y2((7&q)<<3).a3(new bt(255,0)).equals(new bt(128,0))?1:0,k.ji_1=x-b|0;var j=y,z=fe(s),S=t.zh_1,C=j>>3,A=(7&j)<<3;S[C]=S[C].a3(new bt(255,0).x2(A).w2()).b3(z.x2(A));var $=t.ci_1,E=(j-7&$)+(7&$)|0,I=E>>3,M=(7&E)<<3;return S[I]=S[I].a3(new bt(255,0).x2(M).w2()).b3(z.x2(M)),~y}(this,t);n<0&&(n=~n),this.ai_1[n]=t,this.bi_1[n]=r}}class Po{constructor(t){var r;r=0===t?af():new Int32Array(t),this.oi_1=r,this.pi_1=0}p(){return this.pi_1}s(t){if(!(0<=t&&t>>7&s,u=0;r:for(;;){for(var l=this.xi_1,h=a>>3,_=(7&a)<<3,o=l[h].z2(_).b3(l[h+1|0].x2(64-_|0).a3(fe(_).v2().y2(63))),f=new bt(16843009,16843009).s2(fe(e)),c=o.c3(f),v=c.r2(new bt(16843009,16843009)).a3(c.w2()).a3(new bt(-2139062144,-2139062144));!v.equals(new bt(0,0));){var w=a+(Re(v)>>3)&s;if(this.yi_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new bt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;a=a+(u=u+8|0)&s}r=-1}var p,m=r;if(m>=0){var y=this.zi_1[m];p=null==y||null!=y?y:$i()}else p=null;return p}lj(t){var r;t:{var n=Io(t,-862048943),i=n^n<<16,e=127&i,s=this.aj_1,a=i>>>7&s,u=0;r:for(;;){for(var l=this.xi_1,h=a>>3,_=(7&a)<<3,o=l[h].z2(_).b3(l[h+1|0].x2(64-_|0).a3(fe(_).v2().y2(63))),f=new bt(16843009,16843009).s2(fe(e)),c=o.c3(f),v=c.r2(new bt(16843009,16843009)).a3(c.w2()).a3(new bt(-2139062144,-2139062144));!v.equals(new bt(0,0));){var w=a+(Re(v)>>3)&s;if(this.yi_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new bt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;a=a+(u=u+8|0)&s}r=-1}return r>=0}hashCode(){var t=0,r=this.yi_1,n=this.zi_1;t:{var i=this.xi_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var u=i[a],l=u;if(!l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-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,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0,v=n[c],w=i[c],d=null==w||null!=w?w:$i();t.fe(v),t.p9("="),t.o9(d===this?"(this)":d),(r=r+1|0)=0))throw vr.f1(yi("Capacity must be a positive value."));ef(this,ff(t))}ij(t,r){var n=function(t,r){var n=Io(r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=t.aj_1,u=e&a,l=0;t:for(;;){for(var h=t.xi_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(t.yi_1[d]===r)return d;var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;u=u+(l=l+8|0)&a}var m,y=sf(t,e);if(0===t.hj_1){var g=y;m=!t.xi_1[g>>3].y2((7&g)<<3).a3(new bt(255,0)).equals(new bt(254,0))}else m=!1;m&&(function(t){if(t.aj_1>8){var r=fe(t.bj_1),n=new bt(32,0),i=r.s2(n),e=fe(t.aj_1),s=new bt(25,0);Ke(i,e.s2(s))}!function(t,r){var n=t.xi_1,i=t.yi_1,e=t.zi_1,s=t.aj_1;ef(t,r);var a=t.yi_1,u=t.zi_1,l=0;if(l>3].y2((7&h)<<3).a3(new bt(255,0)).k1(new bt(128,0))<0){var _=i[h],o=Io(_,-862048943),f=o^o<<16,c=sf(t,f>>>7|0),v=fe(127&f),w=t.xi_1,d=c>>3,p=(7&c)<<3;w[d]=w[d].a3(new bt(255,0).x2(p).w2()).b3(v.x2(p));var m=t.aj_1,y=(c-7&m)+(7&m)|0,g=y>>3,b=(7&y)<<3;w[g]=w[g].a3(new bt(255,0).x2(b).w2()).b3(v.x2(b)),a[c]=_,u[c]=e[h]}}while(l>3].y2((7&q)<<3).a3(new bt(255,0)).equals(new bt(128,0))?1:0,k.hj_1=x-b|0;var j=y,z=fe(s),S=t.xi_1,C=j>>3,A=(7&j)<<3;S[C]=S[C].a3(new bt(255,0).x2(A).w2()).b3(z.x2(A));var $=t.aj_1,E=(j-7&$)+(7&$)|0,I=E>>3,M=(7&E)<<3;return S[I]=S[I].a3(new bt(255,0).x2(M).w2()).b3(z.x2(M)),y}(this,t);this.yi_1[n]=t,this.zi_1[n]=r}jj(t){var r;t:{var n=Io(t,-862048943),i=n^n<<16,e=127&i,s=this.aj_1,a=i>>>7&s,u=0;r:for(;;){for(var l=this.xi_1,h=a>>3,_=(7&a)<<3,o=l[h].z2(_).b3(l[h+1|0].x2(64-_|0).a3(fe(_).v2().y2(63))),f=new bt(16843009,16843009).s2(fe(e)),c=o.c3(f),v=c.r2(new bt(16843009,16843009)).a3(c.w2()).a3(new bt(-2139062144,-2139062144));!v.equals(new bt(0,0));){var w=a+(Re(v)>>3)&s;if(this.yi_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new bt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;a=a+(u=u+8|0)&s}r=-1}var p=r;return p>=0?this.kj(p):null}kj(t){this.bj_1=this.bj_1-1|0;var r=new bt(254,0),n=this.xi_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new bt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.aj_1,a=(t-7&s)+(7&s)|0,u=a>>3,l=(7&a)<<3;n[u]=n[u].a3(new bt(255,0).x2(l).w2()).b3(r.x2(l));var h=this.zi_1[t];return this.zi_1[t]=null,null==h||null!=h?h:$i()}}class To{constructor(){this.mj_1=of(),this.nj_1=af(),this.oj_1=0,this.pj_1=0}ki(){return this.oj_1}mi(t){var r;t:{var n=Io(t,-862048943),i=n^n<<16,e=127&i,s=this.oj_1,a=i>>>7&s,u=0;r:for(;;){for(var l=this.mj_1,h=a>>3,_=(7&a)<<3,o=l[h].z2(_).b3(l[h+1|0].x2(64-_|0).a3(fe(_).v2().y2(63))),f=new bt(16843009,16843009).s2(fe(e)),c=o.c3(f),v=c.r2(new bt(16843009,16843009)).a3(c.w2()).a3(new bt(-2139062144,-2139062144));!v.equals(new bt(0,0));){var w=a+(Re(v)>>3)&s;if(this.nj_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new bt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;a=a+(u=u+8|0)&s}r=-1}return r>=0}qi(t,r,n,i,e){var s=Or.j();t:{s.k(r);var a=0,u=this.nj_1;r:{var l=this.mj_1,h=l.length-2|0,_=0;if(_<=h)do{var o=_;_=_+1|0;var f=l[o],c=f;if(!c.a3(c.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-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.f1(yi("Capacity must be a positive value."));uf(this,ff(t))}ui(t){var r=this.pj_1,n=function(t,r){var n=Io(r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=t.oj_1,u=e&a,l=0;t:for(;;){for(var h=t.mj_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(t.nj_1[d]===r)return d;var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;u=u+(l=l+8|0)&a}var m,y=lf(t,e);if(0===t.vj_1){var g=y;m=!t.mj_1[g>>3].y2((7&g)<<3).a3(new bt(255,0)).equals(new bt(254,0))}else m=!1;m&&(function(t){if(t.oj_1>8){var r=fe(t.pj_1),n=new bt(32,0),i=r.s2(n),e=fe(t.oj_1),s=new bt(25,0);Ke(i,e.s2(s))}!function(t,r){var n=t.mj_1,i=t.nj_1,e=t.oj_1;uf(t,r);var s=t.nj_1,a=0;if(a>3].y2((7&u)<<3).a3(new bt(255,0)).k1(new bt(128,0))<0){var l=i[u],h=Io(l,-862048943),_=h^h<<16,o=lf(t,_>>>7|0),f=fe(127&_),c=t.mj_1,v=o>>3,w=(7&o)<<3;c[v]=c[v].a3(new bt(255,0).x2(w).w2()).b3(f.x2(w));var d=t.oj_1,p=(o-7&d)+(7&d)|0,m=p>>3,y=(7&p)<<3;c[m]=c[m].a3(new bt(255,0).x2(y).w2()).b3(f.x2(y)),s[o]=l}}while(a>3].y2((7&q)<<3).a3(new bt(255,0)).equals(new bt(128,0))?1:0,k.vj_1=x-b|0;var j=y,z=fe(s),S=t.mj_1,C=j>>3,A=(7&j)<<3;S[C]=S[C].a3(new bt(255,0).x2(A).w2()).b3(z.x2(A));var $=t.oj_1,E=(j-7&$)+(7&$)|0,I=E>>3,M=(7&E)<<3;return S[I]=S[I].a3(new bt(255,0).x2(M).w2()).b3(z.x2(M)),y}(this,t);return this.nj_1[n]=t,!(this.pj_1===r)}}class Uo{constructor(){this.wj_1=of(),this.xj_1=Sf(),this.yj_1=af(),this.zj_1=0,this.ak_1=0}ki(){return this.zj_1}p(){return this.ak_1}x(){return 0===this.ak_1}b2(t){var r=this.jk(t);if(r<0)throw pr.w("There is no key "+Yn(t)+" in the map");return this.yj_1[r]}hashCode(){var t=0,r=this.xj_1,n=this.yj_1;t:{var i=this.wj_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var u=i[a],l=u;if(!l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-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,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0,v=n[c],w=null==v||null!=v?v:$i();if(i[c]!==r.b2(w))return!1}l=l.y2(8)}while(o<_);if(8!==_)break t}}while(u!==s)}return!0}toString(){if(this.x())return"{}";var t=Or.j().q9(123),r=0,n=this.xj_1,i=this.yj_1;t:{var e=this.wj_1,s=e.length-2|0,a=0;if(a<=s)do{var u=a;a=a+1|0;var l=e[u],h=l;if(!h.a3(h.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var _=8-(~(u-s)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0,v=n[c],w=null==v||null!=v?v:$i(),d=i[c];t.o9(w===this?"(this)":w),t.p9("="),t.fe(d),(r=r+1|0)>>7&s,u=0;t:for(;;){for(var l=this.wj_1,h=a>>3,_=(7&a)<<3,o=l[h].z2(_).b3(l[h+1|0].x2(64-_|0).a3(fe(_).v2().y2(63))),f=new bt(16843009,16843009).s2(fe(e)),c=o.c3(f),v=c.r2(new bt(16843009,16843009)).a3(c.w2()).a3(new bt(-2139062144,-2139062144));!v.equals(new bt(0,0));){var w=a+(Re(v)>>3)&s;if(pi(this.xj_1[w],t))return w;var d=v;v=d.a3(d.r2(new bt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;a=a+(u=u+8|0)&s}return-1}}class Fo extends Uo{constructor(t){if(t=t===k?6:t,super(),this.gk_1=0,!(t>=0))throw vr.f1(yi("Capacity must be a positive value."));hf(this,ff(t))}hk(t,r,n){var i=function(t,r){var n=null==r?null:mi(r),i=Io(null==n?0:n,-862048943),e=i^i<<16,s=e>>>7|0,a=127&e,u=t.zj_1,l=s&u,h=0;t:for(;;){for(var _=t.wj_1,o=l>>3,f=(7&l)<<3,c=_[o].z2(f).b3(_[o+1|0].x2(64-f|0).a3(fe(f).v2().y2(63))),v=new bt(16843009,16843009).s2(fe(a)),w=c.c3(v),d=w.r2(new bt(16843009,16843009)).a3(w.w2()).a3(new bt(-2139062144,-2139062144));!d.equals(new bt(0,0));){var p=l+(Re(d)>>3)&u;if(pi(t.xj_1[p],r))return p;var m=d;d=m.a3(m.r2(new bt(1,0)))}if(!c.a3(c.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;l=l+(h=h+8|0)&u}var y,g=_f(t,s);if(0===t.gk_1){var b=g;y=!t.wj_1[b>>3].y2((7&b)<<3).a3(new bt(255,0)).equals(new bt(254,0))}else y=!1;y&&(function(t){if(t.zj_1>8){var r=fe(t.ak_1),n=new bt(32,0),i=r.s2(n),e=fe(t.zj_1),s=new bt(25,0);Ke(i,e.s2(s))}!function(t,r){var n=t.wj_1,i=t.xj_1,e=t.yj_1,s=t.zj_1;hf(t,r);var a=t.xj_1,u=t.yj_1,l=0;if(l>3].y2((7&h)<<3).a3(new bt(255,0)).k1(new bt(128,0))<0){var _=i[h],o=null==_?null:mi(_),f=Io(null==o?0:o,-862048943),c=f^f<<16,v=_f(t,c>>>7|0),w=fe(127&c),d=t.wj_1,p=v>>3,m=(7&v)<<3;d[p]=d[p].a3(new bt(255,0).x2(m).w2()).b3(w.x2(m));var y=t.zj_1,g=(v-7&y)+(7&y)|0,b=g>>3,k=(7&g)<<3;d[b]=d[b].a3(new bt(255,0).x2(k).w2()).b3(w.x2(k)),a[v]=_,u[v]=e[h]}}while(l>3].y2((7&j)<<3).a3(new bt(255,0)).equals(new bt(128,0))?1:0,x.gk_1=q-k|0;var z=g,S=fe(a),C=t.wj_1,A=z>>3,$=(7&z)<<3;C[A]=C[A].a3(new bt(255,0).x2($).w2()).b3(S.x2($));var E=t.zj_1,I=(z-7&E)+(7&E)|0,M=I>>3,N=(7&I)<<3;return C[M]=C[M].a3(new bt(255,0).x2(N).w2()).b3(S.x2(N)),~g}(this,t),e=n;return i<0?i=~i:e=this.yj_1[i],this.xj_1[i]=t,this.yj_1[i]=r,e}ik(t){this.ak_1=this.ak_1-1|0;var r=new bt(254,0),n=this.wj_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new bt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.zj_1,a=(t-7&s)+(7&s)|0,u=a>>3,l=(7&a)<<3;n[u]=n[u].a3(new bt(255,0).x2(l).w2()).b3(r.x2(l)),this.xj_1[t]=null}}class Bo{constructor(t){var r;0===t?(zo||(zo=!0,jo=Qn(Array(0),null),new Ko(0)),r=jo):r=Qn(Array(t),null),this.kk_1=r,this.lk_1=0}p(){return this.lk_1}mk(t,r,n,i,e,s){var a=Or.j();t:{a.k(r);var u=this.kk_1,l=0,h=this.lk_1;if(l>>7&a,l=0;r:for(;;){for(var h=this.rk_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(pi(this.sk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;u=u+(l=l+8|0)&a}r=-1}var m,y=r;if(y>=0){var g=this.tk_1[y];m=null==g||null!=g?g:$i()}else m=null;return m}z1(t){var r;t:{var n=null==t?null:mi(t),i=Io(null==n?0:n,-862048943),e=i^i<<16,s=127&e,a=this.uk_1,u=e>>>7&a,l=0;r:for(;;){for(var h=this.rk_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(pi(this.sk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;u=u+(l=l+8|0)&a}r=-1}return r>=0}hashCode(){var t=0,r=this.sk_1,n=this.tk_1;t:{var i=this.rk_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var u=i[a],l=u;if(!l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-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,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0,v=n[c],w=null==v||null!=v?v:$i(),d=i[c],p=null==d||null!=d?d:$i();if(null==p){if(null!=r.b2(w)||!r.z1(w))return!1}else if(!pi(p,r.b2(w)))return!1}l=l.y2(8)}while(o<_);if(8!==_)break t}}while(u!==s)}return!0}toString(){if(this.x())return"{}";var t=Or.j().q9(123),r=0,n=this.sk_1,i=this.tk_1;t:{var e=this.rk_1,s=e.length-2|0,a=0;if(a<=s)do{var u=a;a=a+1|0;var l=e[u],h=l;if(!h.a3(h.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var _=8-(~(u-s)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0,v=n[c],w=null==v||null!=v?v:$i(),d=i[c],p=null==d||null!=d?d:$i();t.o9(w===this?"(this)":w),t.p9("="),t.o9(p===this?"(this)":p),(r=r+1|0)=0))throw vr.f1(yi("Capacity must be a positive value."));df(this,ff(t))}cl(t,r){var n=this.dl(t),i=n<0?~n:n;this.sk_1[i]=t,this.tk_1[i]=r}f2(t){var r;t:{var n=null==t?null:mi(t),i=Io(null==n?0:n,-862048943),e=i^i<<16,s=127&e,a=this.uk_1,u=e>>>7&a,l=0;r:for(;;){for(var h=this.rk_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(pi(this.sk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;u=u+(l=l+8|0)&a}r=-1}var m=r;return m>=0?this.kj(m):null}kj(t){this.vk_1=this.vk_1-1|0;var r=new bt(254,0),n=this.rk_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new bt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.uk_1,a=(t-7&s)+(7&s)|0,u=a>>3,l=(7&a)<<3;n[u]=n[u].a3(new bt(255,0).x2(l).w2()).b3(r.x2(l)),this.sk_1[t]=null;var h=this.tk_1[t];return this.tk_1[t]=null,null==h||null!=h?h:$i()}dl(t){var r=null==t?null:mi(t),n=Io(null==r?0:r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=this.uk_1,u=e&a,l=0;t:for(;;){for(var h=this.rk_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(pi(this.sk_1[d],t))return d;var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;u=u+(l=l+8|0)&a}var m,y=pf(this,e);if(0===this.bl_1){var g=y;m=!this.rk_1[g>>3].y2((7&g)<<3).a3(new bt(255,0)).equals(new bt(254,0))}else m=!1;m&&(function(t){if(t.uk_1>8){var r=fe(t.vk_1),n=new bt(32,0),i=r.s2(n),e=fe(t.uk_1),s=new bt(25,0);Ke(i,e.s2(s))}!function(t,r){var n=t.rk_1,i=t.sk_1,e=t.tk_1,s=t.uk_1;df(t,r);var a=t.sk_1,u=t.tk_1,l=0;if(l>3].y2((7&h)<<3).a3(new bt(255,0)).k1(new bt(128,0))<0){var _=i[h],o=null==_?null:mi(_),f=Io(null==o?0:o,-862048943),c=f^f<<16,v=pf(t,c>>>7|0),w=fe(127&c),d=t.rk_1,p=v>>3,m=(7&v)<<3;d[p]=d[p].a3(new bt(255,0).x2(m).w2()).b3(w.x2(m));var y=t.uk_1,g=(v-7&y)+(7&y)|0,b=g>>3,k=(7&g)<<3;d[b]=d[b].a3(new bt(255,0).x2(k).w2()).b3(w.x2(k)),a[v]=_,u[v]=e[h]}}while(l>3].y2((7&x)<<3).a3(new bt(255,0)).equals(new bt(128,0))?1:0,this.bl_1=k-b|0;var q=y,j=fe(s),z=this.rk_1,S=q>>3,C=(7&q)<<3;z[S]=z[S].a3(new bt(255,0).x2(C).w2()).b3(j.x2(C));var A=this.uk_1,$=(q-7&A)+(7&A)|0,E=$>>3,I=(7&$)<<3;return z[E]=z[E].a3(new bt(255,0).x2(I).w2()).b3(j.x2(I)),~y}}class Wo{constructor(t){this.el_1=t}jl(t,r){return Es(yf.bind(k,this,t),r)}ac(t,r){return this.jl(t instanceof nn?t:$i(),r)}}class Jo{constructor(t,r){zi(this,r),this.kl_1=t}p(){return this.kl_1.il_1}o1(t){for(var r=t.l();r.m();){var n=r.n();if(!this.kl_1.o(n))return!1}return!0}o(t){return this.kl_1.o(t)}x(){return this.kl_1.x()}l(){return Wa((t=this.kl_1,r=new Wo(t),(n=function(t,n){return r.jl(t,n)}).$arity=1,n));var t,r,n}}class Yo{constructor(){this.fl_1=of(),this.gl_1=Sf(),this.hl_1=0,this.il_1=0}ki(){return this.hl_1}p(){return this.il_1}x(){return 0===this.il_1}ll(){return!(0===this.il_1)}o(t){var r;t:{var n=null==t?null:mi(t),i=Io(null==n?0:n,-862048943),e=i^i<<16,s=127&e,a=this.hl_1,u=e>>>7&a,l=0;r:for(;;){for(var h=this.fl_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(pi(this.gl_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;u=u+(l=l+8|0)&a}r=-1}return r>=0}mk(t,r,n,i,e,s){var a=Or.j();t:{a.k(r);var u=0,l=this.gl_1;r:{var h=this.fl_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 bt(-2139062144,-2139062144)).equals(new bt(-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(_=0))throw vr.f1(yi("Capacity must be a positive value."));bf(this,ff(t))}h(t){var r=this.p(),n=xf(this,t);return this.gl_1[n]=t,!(this.p()===r)}cm(t){var r=xf(this,t);this.gl_1[r]=t}bm(t){var r=this.p();return this.dm(t),!(r===this.p())}em(t){var r=this.p();return this.fm(t),!(r===this.p())}dm(t){for(var r=t.l();r.m();){var n=r.n();this.cm(n)}}fm(t){var r=t.gl_1;t:{var n=t.fl_1,i=n.length-2|0,e=0;if(e<=i)do{var s=e;e=e+1|0;var a=n[s],u=a;if(!u.a3(u.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var l=8-(~(s-i)>>>31|0)|0,h=0;if(h>>7&a,l=0;r:for(;;){for(var h=this.fl_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(pi(this.gl_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;u=u+(l=l+8|0)&a}r=-1}var m=r,y=m>=0;return y&&this.yl(m),y}yl(t){this.il_1=this.il_1-1|0;var r=new bt(254,0),n=this.fl_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new bt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.hl_1,a=(t-7&s)+(7&s)|0,u=a>>3,l=(7&a)<<3;n[u]=n[u].a3(new bt(255,0).x2(l).w2()).b3(r.x2(l)),this.gl_1[t]=null}s1(){if(this.il_1=0,this.fl_1!==of()){Me(this.fl_1,new bt(-2139062144,-2139062144));var t=this.fl_1,r=this.hl_1,n=new bt(255,0),i=r>>3,e=(7&r)<<3;t[i]=t[i].a3(new bt(255,0).x2(e).w2()).b3(n.x2(e))}Ne(this.gl_1,null,0,this.hl_1),kf(this)}gm(){return new Xo(this)}}function rf(t,r){var n;if(r>0){var i=cf(r);n=Math.max(7,i)}else n=0;var e=n;t.ci_1=e,function(t,r){var n,i=t;if(0===r)n=of();else{var e=ri((7+(7+(r+1|0)|0)&-8)>>3);Me(e,new bt(-2139062144,-2139062144)),n=e}i.zh_1=n;var s=t.zh_1,a=new bt(255,0),u=r>>3,l=(7&r)<<3;s[u]=s[u].a3(new bt(255,0).x2(l).w2()).b3(a.x2(l)),function(t){t.ji_1=vf(t.ki())-t.di_1|0}(t)}(t,e),t.ai_1=new Int32Array(e),t.bi_1=new Int32Array(e)}function nf(t,r){for(var n=t.ci_1,i=r&n,e=0;;){var s=t.zh_1,a=i>>3,u=(7&i)<<3,l=s[a].z2(u).b3(s[a+1|0].x2(64-u|0).a3(fe(u).v2().y2(63))),h=l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144));if(!h.equals(new bt(0,0)))return i+(Re(h)>>3)&n;i=i+(e=e+8|0)&n}}function ef(t,r){var n;if(r>0){var i=cf(r);n=Math.max(7,i)}else n=0;var e=n;t.aj_1=e,function(t,r){var n,i=t;if(0===r)n=of();else{var e=ri((7+(7+(r+1|0)|0)&-8)>>3);Me(e,new bt(-2139062144,-2139062144)),n=e}i.xi_1=n;var s=t.xi_1,a=new bt(255,0),u=r>>3,l=(7&r)<<3;s[u]=s[u].a3(new bt(255,0).x2(l).w2()).b3(a.x2(l)),function(t){t.hj_1=vf(t.ki())-t.bj_1|0}(t)}(t,e),t.yi_1=new Int32Array(e),t.zi_1=Qn(Array(e),null)}function sf(t,r){for(var n=t.aj_1,i=r&n,e=0;;){var s=t.xi_1,a=i>>3,u=(7&i)<<3,l=s[a].z2(u).b3(s[a+1|0].x2(64-u|0).a3(fe(u).v2().y2(63))),h=l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144));if(!h.equals(new bt(0,0)))return i+(Re(h)>>3)&n;i=i+(e=e+8|0)&n}}function af(){return qo||(qo=!0,new Ho(0),xo=new Int32Array(0)),xo}function uf(t,r){var n;if(r>0){var i=cf(r);n=Math.max(7,i)}else n=0;var e=n;t.oj_1=e,function(t,r){var n,i=t;if(0===r)n=of();else{var e=ri((7+(7+(r+1|0)|0)&-8)>>3);Me(e,new bt(-2139062144,-2139062144)),n=e}i.mj_1=n;var s=t.mj_1,a=new bt(255,0),u=r>>3,l=(7&r)<<3;s[u]=s[u].a3(new bt(255,0).x2(l).w2()).b3(a.x2(l)),function(t){t.vj_1=vf(t.ki())-t.pj_1|0}(t)}(t,e),t.nj_1=new Int32Array(e)}function lf(t,r){for(var n=t.oj_1,i=r&n,e=0;;){var s=t.mj_1,a=i>>3,u=(7&i)<<3,l=s[a].z2(u).b3(s[a+1|0].x2(64-u|0).a3(fe(u).v2().y2(63))),h=l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144));if(!h.equals(new bt(0,0)))return i+(Re(h)>>3)&n;i=i+(e=e+8|0)&n}}function hf(t,r){var n;if(r>0){var i=cf(r);n=Math.max(7,i)}else n=0;var e=n;t.zj_1=e,function(t,r){var n,i=t;if(0===r)n=of();else{var e=ri((7+(7+(r+1|0)|0)&-8)>>3);Me(e,new bt(-2139062144,-2139062144)),n=e}i.wj_1=n;var s=t.wj_1,a=new bt(255,0),u=r>>3,l=(7&r)<<3;s[u]=s[u].a3(new bt(255,0).x2(l).w2()).b3(a.x2(l)),function(t){t.gk_1=vf(t.ki())-t.ak_1|0}(t)}(t,e),t.xj_1=Qn(Array(e),null),t.yj_1=new Int32Array(e)}function _f(t,r){for(var n=t.zj_1,i=r&n,e=0;;){var s=t.wj_1,a=i>>3,u=(7&i)<<3,l=s[a].z2(u).b3(s[a+1|0].x2(64-u|0).a3(fe(u).v2().y2(63))),h=l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144));if(!h.equals(new bt(0,0)))return i+(Re(h)>>3)&n;i=i+(e=e+8|0)&n}}function of(){return mf(),So}function ff(t){return mf(),7===t?8:t+((t-1|0)/7|0)|0}function cf(t){return mf(),t>0?-1>>>Mo(t)|0:0}function vf(t){return mf(),7===t?6:t-(t/8|0)|0}function wf(t){return mf(),0===t?6:Io(t,2)+1|0}function df(t,r){var n;if(r>0){var i=cf(r);n=Math.max(7,i)}else n=0;var e=n;t.uk_1=e,function(t,r){var n,i=t;if(0===r)n=of();else{var e=ri((7+(7+(r+1|0)|0)&-8)>>3);Me(e,new bt(-2139062144,-2139062144)),n=e}i.rk_1=n;var s=t.rk_1,a=new bt(255,0),u=r>>3,l=(7&r)<<3;s[u]=s[u].a3(new bt(255,0).x2(l).w2()).b3(a.x2(l)),function(t){t.bl_1=vf(t.ki())-t.vk_1|0}(t)}(t,e),t.sk_1=Qn(Array(e),null),t.tk_1=Qn(Array(e),null)}function pf(t,r){for(var n=t.uk_1,i=r&n,e=0;;){var s=t.rk_1,a=i>>3,u=(7&i)<<3,l=s[a].z2(u).b3(s[a+1|0].x2(64-u|0).a3(fe(u).v2().y2(63))),h=l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144));if(!h.equals(new bt(0,0)))return i+(Re(h)>>3)&n;i=i+(e=e+8|0)&n}}function mf(){var t;Co||(Co=!0,(t=[new bt(-2139062017,-2139062144),new bt(-1,-1)].slice()).$type$="LongArray",So=t,new Vo(0))}function*yf(t,r,i){var e=t.el_1,s=e.gl_1;t:{var a=e.fl_1,u=a.length-2|0,l=0;if(l<=u)do{var h=l;l=l+1|0;var _=a[h],o=_;if(!o.a3(o.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var f=8-(~(h-u)>>>31|0)|0,c=0;if(c>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0;t.pl_1.ql_1=c;var v=t.ol_1.gl_1[c],w=r.fg(null==v||null!=v?v:$i(),i);w===iu()&&(w=yield w)}l=l.y2(8)}while(o<_);if(8!==_)break t}}while(u!==s)}return n}function bf(t,r){var n;if(r>0){var i=cf(r);n=Math.max(7,i)}else n=0;var e=n;t.hl_1=e,function(t,r){var n,i=t;if(0===r)n=of();else{var e=ri((7+(7+(r+1|0)|0)&-8)>>3);Me(e,new bt(-2139062144,-2139062144)),n=e}i.fl_1=n;var s=t.fl_1,a=new bt(255,0),u=r>>3,l=(7&r)<<3;s[u]=s[u].a3(new bt(255,0).x2(l).w2()).b3(a.x2(l)),kf(t)}(t,e),t.gl_1=Qn(Array(e),null)}function kf(t){t.xl_1=vf(t.ki())-t.il_1|0}function xf(t,r){var n=null==r?null:mi(r),i=Io(null==n?0:n,-862048943),e=i^i<<16,s=e>>>7|0,a=127&e,u=t.hl_1,l=s&u,h=0;t:for(;;){for(var _=t.fl_1,o=l>>3,f=(7&l)<<3,c=_[o].z2(f).b3(_[o+1|0].x2(64-f|0).a3(fe(f).v2().y2(63))),v=new bt(16843009,16843009).s2(fe(a)),w=c.c3(v),d=w.r2(new bt(16843009,16843009)).a3(w.w2()).a3(new bt(-2139062144,-2139062144));!d.equals(new bt(0,0));){var p=l+(Re(d)>>3)&u;if(pi(t.gl_1[p],r))return p;var m=d;d=m.a3(m.r2(new bt(1,0)))}if(!c.a3(c.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;l=l+(h=h+8|0)&u}var y,g=qf(t,s);if(0===t.xl_1){var b=g;y=!t.fl_1[b>>3].y2((7&b)<<3).a3(new bt(255,0)).equals(new bt(254,0))}else y=!1;y&&(function(t){if(t.hl_1>8){var r=fe(t.il_1),n=new bt(32,0),i=r.s2(n),e=fe(t.hl_1),s=new bt(25,0);Ke(i,e.s2(s))}!function(t,r){var n=t.fl_1,i=t.gl_1,e=t.hl_1;bf(t,r);var s=t.gl_1,a=0;if(a>3].y2((7&u)<<3).a3(new bt(255,0)).k1(new bt(128,0))<0){var l=i[u],h=null==l?null:mi(l),_=Io(null==h?0:h,-862048943),o=_^_<<16,f=qf(t,o>>>7|0),c=fe(127&o),v=t.fl_1,w=f>>3,d=(7&f)<<3;v[w]=v[w].a3(new bt(255,0).x2(d).w2()).b3(c.x2(d));var p=t.hl_1,m=(f-7&p)+(7&p)|0,y=m>>3,g=(7&m)<<3;v[y]=v[y].a3(new bt(255,0).x2(g).w2()).b3(c.x2(g)),s[f]=l}}while(a>3].y2((7&j)<<3).a3(new bt(255,0)).equals(new bt(128,0))?1:0,x.xl_1=q-k|0;var z=g,S=fe(a),C=t.fl_1,A=z>>3,$=(7&z)<<3;C[A]=C[A].a3(new bt(255,0).x2($).w2()).b3(S.x2($));var E=t.hl_1,I=(z-7&E)+(7&E)|0,M=I>>3,N=(7&I)<<3;return C[M]=C[M].a3(new bt(255,0).x2(N).w2()).b3(S.x2(N)),g}function qf(t,r){for(var n=t.hl_1,i=r&n,e=0;;){var s=t.fl_1,a=i>>3,u=(7&i)<<3,l=s[a].z2(u).b3(s[a+1|0].x2(64-u|0).a3(fe(u).v2().y2(63))),h=l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144));if(!h.equals(new bt(0,0)))return i+(Re(h)>>3)&n;i=i+(e=e+8|0)&n}}function jf(){return zf(),new tf}function zf(){Ao||(Ao=!0,new tf(0))}function Sf(){return Eo||(Eo=!0,new Int32Array(0),ri(0),$o=Qn(Array(0),null)),$o}ee(No,"IntIntMap"),ee(Lo,"MutableIntIntMap",Lo),ee(Po,"IntList"),ee(Oo,"MutableIntList",Oo),ee(Do,"IntObjectMap"),ee(Ro,"MutableIntObjectMap",Ro),ee(To,"IntSet"),ee(Ho,"MutableIntSet",Ho),ee(Uo,"ObjectIntMap"),ee(Fo,"MutableObjectIntMap",Fo),ee(Bo,"ObjectList"),ee(Ko,"MutableObjectList",Ko),ee(Go,"ScatterMap"),ee(Vo,"MutableScatterMap",Vo),ue(Wo,k,k,[1]),ee(Jo,"SetWrapper",k,k,[pt]),ee(Yo,"ScatterSet"),ue(Zo,k,k,[1]),ee(Qo),ee(Xo,"MutableSetWrapper",k,k,[Jo,pt,_t]),ee(tf,"MutableScatterSet",tf);var 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,uc,lc,hc,_c,oc,fc,cc,vc,wc,dc,pc,mc,yc,gc,bc,kc,xc,qc,jc,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,uv,lv,hv,_v,ov,fv,cv,vv,wv,dv,pv,mv,yv,gv,bv,kv,xv,qv,jv,zv,Sv=Math.imul;class Cv{}function Av(){}function $v(){}class Ev{constructor(t,r){this.o10_1=t,this.p10_1=r,this.q10_1=0}f10(){return this.o10_1.f10()}i10(t){this.q10_1=this.q10_1+1|0,this.o10_1.i10(t)}j10(){this.q10_1>0||Ny("OffsetApplier up called with no corresponding down"),this.q10_1=this.q10_1-1|0,this.o10_1.j10()}k10(t,r){this.o10_1.k10(t+(0===this.q10_1?this.p10_1:0)|0,r)}l10(t,r){this.o10_1.l10(t+(0===this.q10_1?this.p10_1:0)|0,r)}m10(t,r){this.o10_1.m10(t+(0===this.q10_1?this.p10_1:0)|0,r)}n10(t,r,n){var i=0===this.q10_1?this.p10_1:0;this.o10_1.n10(t+i|0,r+i|0,n)}}class Iv{constructor(t){this.r10_1=t,this.s10_1=Lt.b1(),this.t10_1=this.r10_1}u10(t){this.t10_1=t}f10(){return this.t10_1}v10(t){this.s10_1.h(this.f10()),this.u10(t)}i10(t){return this.v10(null==t||null!=t?t:$i())}j10(){this.s10_1.x()&&kg("empty stack"),this.u10(this.s10_1.v1(this.s10_1.p()-1|0))}}class Mv{constructor(t,r){this.w10_1=t,this.x10_1=r}y10(t){var r;try{r=this.w10_1(t)}catch(t){if(!(t instanceof Error))throw t;r=ju(t)}var n=r;this.x10_1.ta(n)}}class Nv{}function Lv(){return Qf}class Pv{constructor(t){t=t===k?null:t,this.z10_1=t,this.a11_1=new Object,this.b11_1=null,this.c11_1=Lt.b1(),this.d11_1=Lt.b1(),this.e11_1=new bm(0)}h11(){return!(0===this.e11_1.qs())}i11(t){this.a11_1;var r=this.c11_1;this.c11_1=this.d11_1,this.d11_1=r,this.e11_1.g11(0);var n=0,i=r.p();if(n0}y1c(){return this.c12_1.z1c()}a1d(t){if(null!=this.j12_1)return Km(this,t,null,Sy().v16_1,null),n;_y(this);var r=this.m12_1,i=Fe(this.s13_1,3)^t;this.s13_1=Fe(i,3)^r,this.m12_1=this.m12_1+1|0;var e=this.i13_1;if(this.r13_1)return e.v17(),this.k13_1.w17(t,my().u17_1),Gm(this,!1,null),n;if(e.h18()===t&&!e.b1d())return e.s17(),Gm(this,!1,null),n;if(!e.i19()){var s=this.k12_1,a=e.k15_1;oy(this);var u=e.y16();this.o13_1.a19(s,u),Cy(this.t12_1,a,e.k15_1)}e.v17(),this.r13_1=!0,this.m13_1=null,Hm(this);var l=this.k13_1;l.l18();var h=l.q16_1;l.w17(t,my().u17_1),this.p13_1=l.c17(h),Gm(this,!1,null)}c1d(){return Nm(this)}d1d(){return Km(this,-127,null,Sy().v16_1,null)}e1d(){Nm(this);var t=this.f1d();null!=t&&t.z18()&&t.g1d(!0)}h1d(){var t;if(!this.k1a()||this.x12_1)t=!0;else{var r=this.f1d();t=!0===(null==r?null:r.h1d())}return t}h1a(t,r){return Km(this,t,r,Sy().v16_1,null)}m1a(){return Nm(this)}i1d(){this.w12_1=null}j1d(){return this.r13_1}k1a(){var t;if(this.r13_1||this.z12_1||this.x12_1)t=!1;else{var r=this.f1d();t=!1===(null==r?null:r.k1d())}return!!t&&!this.r12_1}k11(){return this.s13_1}t17(){Km(this,125,null,Sy().w16_1,null),this.s12_1=!0}l1d(t){hy(this),this.r13_1||Ny("createNode() can only be called when inserting");var r=this.n12_1.m1d(),n=this.k13_1.c17(this.k13_1.s16_1);this.l12_1=this.l12_1+1|0,this.q13_1.n1d(t,r,n)}o1d(){hy(this),this.r13_1&&Ny("useNode() called while inserting");var t,r=(t=this.i13_1).v1b(t.m15_1);this.o13_1.b1a(r),this.z12_1&&null!=r&&ge(r,Ov)&&this.o13_1.p1d(r)}q1d(){return Vm(this,!0)}r1d(t,r){this.r13_1?this.q13_1.t1d(t,r):this.o13_1.s1d(t,r)}z16(){var t;if(this.r13_1)_y(this),t=my().u17_1;else{var r=this.i13_1.n();t=!this.z12_1||null!=r&&ge(r,Tv)?r:my().u17_1}return t}u1d(){var t;if(this.r13_1)_y(this),t=my().u17_1;else{var r=this.i13_1.n();t=!this.z12_1||null!=r&&ge(r,Tv)?r instanceof Xv?r.v1d_1:r:my().u17_1}return t}k14(t){var r;return pi(this.z16(),t)?r=!1:(this.a17(t),r=!0),r}x1d(t){var r;return this.z16()!==t?(this.a17(t),r=!0):r=!1,r}y1d(t){var r=this.z16();return(null==r||"boolean"!=typeof r||t!==r)&&(this.a17(t),!0)}z1d(t){var r=this.z16();return(null==r||"number"!=typeof r||t!==r)&&(this.a17(t),!0)}a17(t){if(this.r13_1)this.k13_1.f1e(t);else if(this.i13_1.r15_1){var r=this.i13_1.b1e()-1|0;this.o13_1.e1e()?this.o13_1.d1e(t,this.i13_1.c17(this.i13_1.m15_1),r):this.o13_1.c1e(t,r)}else this.o13_1.a1e(this.i13_1.c17(this.i13_1.m15_1),t)}g1e(t){var r;null!=t&&ge(t,Rv)?(this.r13_1&&this.o13_1.h1e(t),this.e12_1.h(t),r=new Xv(t,function(t){var r,n;if(t.r13_1){var i;if(n=t.k13_1,Vy(),n.q16_1>(n.s16_1+1|0)){for(var e=t.k13_1.q16_1-1|0,s=t.k13_1.b17(e);s!==t.k13_1.s16_1&&s>=0;)e=s,s=t.k13_1.b17(e);i=t.k13_1.c17(e)}else i=null;r=i}else{var a;if(function(t){return Vy(),t.k15_1>(t.m15_1+1|0)}(t.i13_1)){for(var u=t.i13_1.k15_1-1|0,l=t.i13_1.b17(u);l!==t.i13_1.m15_1&&l>=0;)u=l,l=t.i13_1.b17(u);a=t.i13_1.c17(u)}else a=null;r=a}return r}(this))):r=t;var n=r;this.a17(n)}i1e(t){this.o13_1.j1e(t)}k1e(t){var r,n,i=Om(this);if(Mm(this,201,(Vy(),$f)),this.r13_1)r=Rm(this,i,pg(t,i)),n=!1,this.l13_1=!0;else{var e=this.i13_1.l1e(0),s=null!=e&&ge(e,pw)?e:$i(),a=this.i13_1.l1e(1),u=null!=a&&ge(a,pw)?a:$i(),l=pg(t,i,u);this.k1a()&&!this.z12_1&&pi(u,l)?(Lm(this),r=s,n=!1):(r=Rm(this,i,l),n=this.z12_1||!pi(r,s))}n&&!this.r13_1&&Tm(this,r),this.y12_1.j14(Ay(this.x12_1)),this.x12_1=n,this.m13_1=r,Km(this,202,Am(),Sy().v16_1,r)}m1e(){Nm(this),Nm(this),this.x12_1=$y(this.y12_1.t15()),this.m13_1=null}n1e(t){return wg(Om(this),t)}f1d(){var t=this.f13_1;return 0===this.b13_1&&t.ll()?t.m1d():null}f1b(t,r){var n=t.u11_1;if(null==n)return!1;var i=n,e=this.i13_1.d15_1,s=i.o1e(e);return!!(this.g13_1&&s>=this.i13_1.k15_1)&&(function(t,r,n,i){Vy();var e=Oy(t,r);if(e<0){var s=0|-(e+1|0),a=null!=i&&ge(i,mw)?i:null;t.u1(s,new Dv(n,r,a))}else{var u=t.s(e);if(null!=i&&ge(i,mw)){var l=u.q11_1;null==l?u.q11_1=i:l instanceof tf?(l instanceof tf||$i(),l.h(i)):u.q11_1=function(t,r){zf();var n=new tf(2);return n.cm(t),n.cm(r),n}(l,i)}else u.q11_1=null}}(this.t12_1,s,t,r),!0)}t1b(){if(this.t12_1.x())Lm(this);else{var t=this.i13_1,r=t.h18(),n=t.j18(),i=t.r17(),e=this.m12_1;if(null==n)if(null==i||207!==r||pi(i,my().u17_1)){var s=Fe(this.s13_1,3)^r;this.s13_1=Fe(s,3)^e}else{var a=mi(i),u=Fe(this.s13_1,3)^a;this.s13_1=Fe(u,3)^e}else if(n instanceof yt){var l=n.j2_1,h=Fe(this.s13_1,3)^l;this.s13_1=0^Fe(h,3)}else{var _=mi(n),o=Fe(this.s13_1,3)^_;this.s13_1=0^Fe(o,3)}if(Bm(this,t.p1e(),null),Wm(this),t.n19(),null==n)if(null==i||207!==r||pi(i,my().u17_1)){var f=Be(this.s13_1^e,3)^r;this.s13_1=Be(f,3)}else{var c=mi(i),v=Be(this.s13_1^e,3)^c;this.s13_1=Be(v,3)}else if(n instanceof yt){var w=n.j2_1,d=Be(0^this.s13_1,3)^w;this.s13_1=Be(d,3)}else{var p=mi(n),m=Be(0^this.s13_1,3)^p;this.s13_1=Be(m,3)}}}l17(){0!==this.l12_1&&Ny("No nodes can be emitted before calling skipAndEndGroup");var t=this.f1d();null==t||t.q1e(),this.t12_1.x()?ey(this):Wm(this)}r1e(t){return this.a1d(t),function(t){if(t.r13_1){var r=t.h12_1,n=new $w(r instanceof uw?r:$i());t.f13_1.x18(n),t.a17(n),n.g1a(t.c13_1)}else{var i,e=Iy(t.t12_1,t.i13_1.m15_1),s=t.i13_1.n();if(pi(s,my().u17_1)){var a=t.h12_1,u=new $w(a instanceof uw?a:$i());t.a17(u),i=u}else i=s instanceof $w?s:$i();var l,h=i;if(null!=e)l=!0;else{var _=h.d1a();_&&h.e1a(!1),l=_}h.f1a(l),t.f13_1.x18(h),h.g1a(t.c13_1)}}(this),this}s1e(){var t=this.f13_1.ll()?this.f13_1.t15():null;null!=t&&t.f1a(!1);var r,n=null==t?null:t.t1e(this.c13_1);if(null==n||this.o13_1.u1e(n,this.h12_1),null==t||t.w1e()||!t.z18()&&!this.q12_1)r=null;else{if(null==t.u11_1){var i,e=t;i=this.r13_1?this.k13_1.c17(this.k13_1.s16_1):this.i13_1.c17(this.i13_1.m15_1),e.u11_1=i}t.v1e(!1),r=t}var s=r;return Vm(this,!1),s}x1e(t){var r=!1;try{!function(t,r){var n=t.o13_1,i=t.g12_1,e=n.r14_1;try{n.r14_1=i,t.o13_1.n1a();var s=0,a=r.p()-1|0;if(s<=a)do{var u=s;s=s+1|0;var l=r.s(u),h=l.yf(),_=l.zf(),o=h.s1a_1,f=h.r1a_1.v1a(o),c=new Zp;if(t.o13_1.w1a(c,o),null==_){pi(h.r1a_1,t.j13_1)&&Um(t);var v=h.r1a_1.e14();try{v.v18(f),t.o13_1.b1b(f);var w=new Sd;uy(t,k,k,k,k,dy(t,w,v,h)),t.o13_1.c1b(w,c)}finally{v.s15()}}else{var d=t.c12_1.x1a(_),p=null==d?null:d.y1a_1,m=null==p?_.r1a_1:p,y=null==d?null:d.y1a_1,g=null==y?null:y.c17(0),b=null==g?_.s1a_1:g,x=My(m,b);if(!x.x()&&(t.o13_1.z1a(x,c),pi(h.r1a_1,t.d12_1))){var q=t.d12_1.v1a(o);ty(t,q,Xm(t,q)+x.p()|0)}t.o13_1.a1b(d,t.c12_1,_,h);var j=m.e14();try{t:{var z=t.i13_1,S=t.o12_1,C=t.w12_1;t.o12_1=null,t.w12_1=null;try{t.i13_1=j;var A=m.v1a(b);j.v18(A),t.o13_1.b1b(A);var $=new Sd,E=t.o13_1,I=E.r14_1;try{E.r14_1=$;var M=t.o13_1,N=M.u14_1;try{M.u14_1=!1;var L=j.k15_1,P=_.t1a_1;ay(t,_.q1a_1,h.q1a_1,L,P,py(t,h))}finally{M.u14_1=N}}finally{E.r14_1=I}t.o13_1.c1b($,c);break t}finally{t.i13_1=z,t.o12_1=S,t.w12_1=C}}}finally{j.s15()}}t.o13_1.d1b()}while(s<=a);t.o13_1.e1b(),t.o13_1.b1b(0)}finally{n.r14_1=e}}(this,t),r=!0}finally{r?vy(this):Em(this)}}y1e(t){this.r13_1&&this.d13_1&&this.k13_1.z1e(t)}a1f(t,r){this.r13_1&&this.d13_1&&this.k13_1.b1f(t,r)}c1f(){this.r13_1&&this.d13_1&&this.k13_1.d1f()}e1f(t,r){this.f12_1.x()||Ny("Expected applyChanges() to have been called"),ly(this,t,r)}g1f(t){this.g13_1&&Ny("Preparing a composition while composing is not supported"),this.g13_1=!0;try{t()}finally{this.g13_1=!1}}h1f(t){return this.f12_1.x()||Ny("Expected applyChanges() to have been called"),!!(t.p()>0||!this.t12_1.x()||this.r12_1)&&(ly(this,t,null),this.f12_1.ll())}i1f(){return this.f1d()}j1f(){return this.u1d()}k1f(t){return this.g1e(t)}l1f(t){var r=t instanceof $w?t:null;null!=r&&r.m1f(!0)}}class Kv{toString(){return"Empty"}}class Gv{constructor(){Lf=this,this.u17_1=new Kv}}class Vv extends yt{}class Wv{constructor(t,r,n,i,e,s,a){this.o1a_1=t,this.p1a_1=r,this.q1a_1=n,this.r1a_1=i,this.s1a_1=e,this.t1a_1=s,this.u1a_1=a}}class Jv{constructor(t){this.y1a_1=t}}class Yv{}class Zv extends fr{static s1f(t){var r=this.c4();return xi(r,r.r1f_1),r.q1f_1=t,r}vb(){return this.q1f_1}get message(){return this.vb()}}class Qv{constructor(t,r,n,i,e,s,a){this.d1g_1=t,this.e1g_1=n,this.f1g_1=i,this.g1g_1=e,this.h1g_1=s,this.i1g_1=a,this.j1g_1=r,this.k1g_1=!0}y1(){var t=this.j1g_1;return null==t||null!=t?t:$i()}l1g(){var t;return this.e1g_1?t=null:null!=this.g1g_1?t=this.g1g_1.y1():null!=this.j1g_1?t=this.j1g_1:gy("Unexpected form of a provided value"),t}m1g(){return(this.e1g_1||!(null==this.y1()))&&!this.i1g_1}}class Xv{constructor(t,r){this.v1d_1=t,this.w1d_1=r}}class tw{constructor(t,r){this.z17_1=t,this.a18_1=r,this.b18_1=0,this.a18_1>=0||xg("Invalid start index"),this.c18_1=Lt.b1();var n=0,i=new Ro,e=0,s=this.z17_1.p();if(er){var n=this.d18_1,i=n.zi_1;t:{var e=n.xi_1,s=e.length-2|0,a=0;if(a<=s)do{var u=a;a=a+1|0;var l=e[u],h=l;if(!h.a3(h.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var _=8-(~(u-s)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=i[(u<<3)+f|0],v=null==c||null!=c?c:$i(),w=v.p1g_1;w===t?v.p1g_1=r:r<=w&&wt){var d=this.d18_1,p=d.zi_1;t:{var m=d.xi_1,y=m.length-2|0,g=0;if(g<=y)do{var b=g;g=g+1|0;var k=m[b],x=k;if(!x.a3(x.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var q=8-(~(b-y)>>>31|0)|0,j=0;if(jr){var i=this.d18_1,e=i.zi_1;t:{var s=i.xi_1,a=s.length-2|0,u=0;if(u<=a)do{var l=u;u=u+1|0;var h=s[l],_=h;if(!_.a3(_.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var o=8-(~(l-a)>>>31|0)|0,f=0;if(ft){var p=this.d18_1,m=p.zi_1;t:{var y=p.xi_1,g=y.length-2|0,b=0;if(b<=g)do{var k=b;b=b+1|0;var x=y[k],q=x;if(!q.a3(q.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var j=8-(~(k-g)>>>31|0)|0,z=0;if(z>>31|0)|0,v=0;if(v=i&&!pi(p,n)){var m=p.q1g_1+e|0;m>=0&&(p.q1g_1=m)}}o=o.y2(8)}while(v>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=i[(u<<3)+f|0],v=null==c||null!=c?c:$i();if(this.i1h_1.f1i(v)||this.l1h_1.f1i(v))return!0}l=l.y2(8)}while(o<_);if(8!==_){n;break t}}}while(u!==s)}}else for(var w=t.l();w.m();){var d=w.n();if(this.i1h_1.f1i(d)||this.l1h_1.f1i(d))return!0}return!1}i1j(t){return this.u1h_1.g1f(t)}j1j(t){if(!this.u1h_1.x1c()){var r=this.u1h_1.f1d();if(null==r);else if(r.m1f(!0),!r.k1j(t)){if(t instanceof hd){var n=Bq(1);t.m1j(n)}if(this.i1h_1.g1i(t,r),ge(t,mw)){var i=t.n1j();this.l1h_1.o1j(t);var e=i.p1j(),s=e.xj_1;t:{var a=e.wj_1,u=a.length-2|0,l=0;if(l<=u)do{var h=l;l=l+1|0;var _=a[h],o=_;if(!o.a3(o.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var f=8-(~(h-u)>>>31|0)|0,c=0;if(c>>31|0)|0,f=0;if(f=0){var e;this.r1h_1=t instanceof uw?t:$i(),this.s1h_1=r;try{e=n()}finally{this.r1h_1=null,this.s1h_1=0}i=e}else i=n();return i}b1k(t,r){t.c1k()&&t.v1e(!0);var n=t.u11_1;if(null==n||!n.w1f())return By();if(!this.h1h_1.d1k(n)){this.f1h_1;var i=this.r1h_1;return!0===(null==i?null:eg(i,t,r))?Gy():By()}return t.e1k()?sg(this,t,n,r):By()}f1k(t){this.q1h_1=!0}g1k(t,r){this.i1h_1.c1i(t,r)}h1k(t){this.i1h_1.f1i(t)||this.l1h_1.o1j(t)}}class lw{constructor(t,r){t=t===k?null:t,r=r!==k&&r,this.q1i_1=t,this.r1i_1=r}}class hw{constructor(){var t;Bf=this,this.x1i_1=(t=Tx(954879418,!1,lg),function(r,n){return t.v1c(r,n)}),this.y1i_1=function(t){return function(r,n){return t.v1c(r,n)}}(Tx(1918065384,!1,hg))}}class _w{}class ow{}class fw{p1i(){return null}n14(t){}w1i(t){}g14(){return Wf||(Wf=!0,Vf=Wx()),Vf}f14(){}p14(){}x1a(t){return null}}class cw{constructor(t){this.j1k_1=new kd(t)}k1k(){return this.j1k_1}}class vw extends cw{n1k(t){return this.m1k(t)}o1k(t,r){var n,i;r instanceof xd?(t.i1g_1?(r.r1k_1.tw(t.l1g()),i=r):i=null,n=i):n=r instanceof qd?t.m1g()&&pi(t.l1g(),r.q1k_1)?r:null:r instanceof jd&&t.h1g_1===r.p1k_1?r:null;var e=n;return null==e?function(t,r){var n;if(r.i1g_1){var i,e=r.g1g_1;if(null==e){var s=r.y1(),a=r.f1g_1;i=kk(s,null==a?yk():a)}else i=e;n=new xd(i)}else n=null!=r.h1g_1?new jd(r.h1g_1):null!=r.g1g_1?new xd(r.g1g_1):new qd(r.l1g());return n}(0,t):e}}class ww extends vw{m1k(t){return new Qv(this,t,null===t,null,null,null,!1)}}class dw extends vw{constructor(t,r){super(r),this.u1k_1=t}m1k(t){return new Qv(this,t,null===t,this.u1k_1,null,null,!0)}}class pw{}class mw{}class yw{}class gw{constructor(t,r){var n;this.f1l_1=r,this.g1l_1=new $h(null!=(n=t).eb(Ku)?n:n.tg(p_())),this.h1l_1=null}u1i(){var t,r,n=this.h1l_1;null==n||(t="Old job was still running!",r=r===k?null:r,n.un(function(t,r){return cr.tb(t,r)}(t,r))),this.h1l_1=Jh(this.g1l_1,k,k,this.f1l_1)}t1i(){var t=this.h1l_1;null==t||t.un(kw.o1l()),this.h1l_1=null}v1i(){var t=this.h1l_1;null==t||t.un(kw.o1l()),this.h1l_1=null}}class bw extends cr{static u1l(t){t=t===k?null:t;var r=this.sb(t);return xi(r,r.t1l_1),r}}class kw extends bw{static o1l(){var t=this.u1l("The coroutine scope left the composition");return xi(t,t.n1l_1),t}}class xw{constructor(t,r){this.v1l_1=t,this.w1l_1=r}hashCode(){return Sv(bg(0,this.v1l_1),31)+bg(0,this.w1l_1)|0}toString(){return"JoinedKey(left="+Yn(this.v1l_1)+", right="+Yn(this.w1l_1)+")"}equals(t){if(this===t)return!0;if(!(t instanceof xw))return!1;var r=t instanceof xw?t:$i();return!!pi(this.v1l_1,r.v1l_1)&&!!pi(this.w1l_1,r.w1l_1)}}class qw{}class jw{constructor(t){this.x1l_1=t}toString(){return"OpaqueKey(key="+this.x1l_1+")"}hashCode(){return bi(this.x1l_1)}equals(t){if(this===t)return!0;if(!(t instanceof jw))return!1;var r=t instanceof jw?t:$i();return this.x1l_1===r.x1l_1}}class zw{}class Sw{constructor(t,r){this.y1l_1=r,this.z1l_1=t}nm(){return this.y1l_1}tw(t){this.z1l_1.tw(t)}y1(){return this.z1l_1.y1()}}class Cw{constructor(t,r){this.a1m_1=t,this.b1m_1=r}c1m(t,r){return Es(qg.bind(k,this,t),r)}ac(t,r){return this.c1m(null!=t&&ge(t,ql)?t:$i(),r)}}class Aw{e1m(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),u=t.f1m(a,0),l=u instanceof $w?u:null;null==l||l.g1m(n)}while(i<=e)}}h1m(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 u=r.s(a);if(!!t.d1k(u)&&t.i1m(t.v1a(u),0)instanceof $w){i=!0;break t}}while(e<=s);i=!1}n=i}return n}}class $w{constructor(t){this.s11_1=0,this.t11_1=t,this.u11_1=null,this.v11_1=null,this.w11_1=null,this.x11_1=0,this.y11_1=null,this.z11_1=null}w1f(){var t;if(null!=this.t11_1){var r=this.u11_1,n=null==r?null:r.w1f();t=null!=n&&n}else t=!1;return t}e1k(){return!(null==this.v11_1)}m1f(t){this.s11_1=t?1|this.s11_1:-2&this.s11_1}z18(){return!!(1&this.s11_1)}g1d(t){this.s11_1=t?2|this.s11_1:-3&this.s11_1}c1k(){return!!(2&this.s11_1)}v1e(t){this.s11_1=t?4|this.s11_1:-5&this.s11_1}h1d(){return!!(4&this.s11_1)}f1a(t){this.s11_1=t?8|this.s11_1:-9&this.s11_1}k1d(){return!!(8&this.s11_1)}v19(t){var r=this.v11_1,i=this.w11_1;if(null!=i&&null!=r){i.j1m(this);try{r(t,1)}finally{i.k1m(this)}return n}if(null==(null==r?null:r(t,1)))throw fr.l3(yi("Invalid restart scope"))}d1i(t){var r=this.t11_1,n=null==r?null:r.b1k(this,t);return null==n?By():n}y1f(){var t=this.t11_1;null==t||t.f1k(this),this.t11_1=null,this.y11_1=null,this.z11_1=null;var r=this.w11_1;null==r||r.l1m(this)}g1m(t){this.t11_1=t}a1k(){var t=this.t11_1;null==t||t.b1k(this,null)}v1k(t){this.v11_1=t}e1a(t){this.s11_1=t?64|this.s11_1:-65&this.s11_1}d1a(){return!!(64&this.s11_1)}w1e(){return!!(16&this.s11_1)}g1a(t){this.x11_1=t,zg(this,!1)}q1e(){zg(this,!0)}k1j(t){if(32&this.s11_1)return!1;var r,n=this.y11_1;if(null==n){var i=new Fo;this.y11_1=i,r=i}else r=n;return r.hk(t,this.x11_1,-1)===this.x11_1}r1j(t,r){var n,i=this.z11_1;if(null==i){var e=new Vo;this.z11_1=e,n=e}else n=i;n.cl(t,r)}b1i(){return!(null==this.z11_1)}a12(t){if(null==t)return!0;var r=this.z11_1;if(null==r)return!0;var n,i=r;if(ge(t,mw))n=Sg(t,0,i);else if(t instanceof Yo){var e;if(t.ll()){var s;t:{var a=t.gl_1;r:{var u=t.fl_1,l=u.length-2|0,h=0;if(h<=l)do{var _=h;h=h+1|0;var o=u[_],f=o;if(!f.a3(f.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var c=8-(~(_-l)>>>31|0)|0,v=0;if(v>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0,v=n[c],w=null==v||null!=v?v:$i();i[c],t.j1j(w)}l=l.y2(8)}while(o<_);if(8!==_)break t}}while(u!==s)}}finally{jg(this,!1)}}}}t1e(t){var r,i=this.y11_1;if(null==i)r=null;else{var e,s,a=i;if(this.w1e())s=!1;else{var u;t:{var l=a.xj_1,h=a.yj_1;r:{var _=a.wj_1,o=_.length-2|0,f=0;if(f<=o)do{var c=f;f=f+1|0;var v=_[c],w=v;if(!w.a3(w.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var d=8-(~(c-o)>>>31|0)|0,p=0;if(p>>31|0)|0,f=0;if(f0&&(Lg(this).o(t)||function(t,r){t.u1m_1.h(r),t.v1m_1=null}(this,t));try{!function(t,r){var i;t.r1m_1;t:{var e=t.z1m_1,s=0,a=e.p()-1|0;if(s<=a)do{var u=s;if(s=s+1|0,pi(e.s(u).q1a_1,r)){i=!0;break t}}while(s<=a);i=!1}if(!i)return n;var l=Lt.b1();for(nb(l,t,r);!l.x();)Jg(t,l,null),nb(l,t,r)}(this,t)}catch(r){if(r instanceof _r)return Hg(this,r,t,!0),n;throw r}try{t.w1j(),t.x1j()}catch(t){if(t instanceof _r)return Ug(this,t),n;throw t}i||ov.q1n()}o14(){return 1e3}o17(){return rb().n1m_1.qs()}l14(){return!1}m14(){return!1}n14(t){}o1i(t){var r;if(this.r1m_1,this.x1m_1.if(t)?r=null:(this.x1m_1.s1b(t),r=Dg(this)),null==r);else{var i=n;r.ta(i)}}l1a(t){this.r1m_1,this.z1m_1.h(t);var r=Dg(this);if(null==r);else{var i=n;r.ta(i)}}p1c(t){this.r1m_1,function(t,r,n){hb();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.a1n_1,t.o1a_1,t)}i1k(t,r){this.r1m_1,this.b1n_1.e2(t,r)}o1c(t){this.r1m_1;var r,n=this.d1n_1;if(null==n){var i=rr.ha();this.d1n_1=i,r=i}else r=n;r.h(t)}x1a(t){return this.r1m_1,this.b1n_1.f2(t)}}class Rw{constructor(){this.t13_1=new Int32Array(0),this.u13_1=0;for(var t=0,r=Qn(Array(0),null);t<0;)r[t]=null,t=t+1|0;this.v13_1=r,this.w13_1=0,this.x13_1=0,this.y13_1=new Object,this.z13_1=!1,this.a14_1=0,this.b14_1=Lt.b1(),this.c14_1=null,this.d14_1=null}s19(){return 0===this.u13_1}e14(){if(this.z13_1)throw fr.l3(yi("Cannot read while a writer is pending"));return this.x13_1=this.x13_1+1|0,new Bw(this)}k17(){return this.z13_1&&Ny("Cannot start a writer when another writer is pending"),this.x13_1<=0||Ny("Cannot start a writer when a reader is pending"),this.z13_1=!0,this.a14_1=this.a14_1+1|0,new Hw(this)}c17(t){this.z13_1&&Ny("use active SlotWriter to create an anchor location instead"),0<=t&&t=0&&pi(this.b14_1.s(n),t)}else r=!1;return r}m1i(t,r){var n;if(this.z13_1&&Ny("Writer is active"),0<=t&&t0||Ny("Unexpected reader close()"),this.x13_1=this.x13_1-1|0,null!=r){this.y13_1;var n=this.c14_1;null!=n?n.g2(r):this.c14_1=r}}w1o(t,r,n,i,e,s,a,u){t.x15_1===this&&this.z13_1||xg("Unexpected writer close()"),this.z13_1=!1,this.x1o(r,n,i,e,s,a,u)}x1o(t,r,n,i,e,s,a){this.t13_1=t,this.u13_1=r,this.v13_1=n,this.w13_1=i,this.b14_1=e,this.c14_1=s,this.d14_1=a}a1c(){return this.u13_1>0&&Zb(this.t13_1,0)}y1o(t){var r,n,i,e=this.c14_1;if(null==e)r=null;else{var s=(i=t,(n=this).z13_1&&Ny("use active SlotWriter to crate an anchor for location instead"),0<=i&&ithis.s16_1&&tthis.m16_1.y1p(0))n=r+this.c19(r)|0;else{var i=this.m16_1.x1p(r);n=i<0?r+this.c19(r)|0:($b(this)-this.e16_1|0)-this.n16_1.x19(i)|0}return t>r&&t0&&this.f16_1!==this.h16_1){var r=this.p16_1,n=null==r?new Ro:r;this.p16_1=n;var i,e=this.s16_1,s=n.s(e);if(null==s){var a=new Ko;n.ij(e,a),i=a}else i=s;return i.h(t),my().u17_1}return fb(this,t)}c1q(t,r){0!==this.k16_1&&Ny("Can only append a slot if not current inserting");var n=this.f16_1,i=this.g16_1,e=this.v1a(t),s=Lb(this.y15_1,this,Eb(this,e+1|0));this.f16_1=s,this.g16_1=s,jb(this,1,e),n>=s&&(n=n+1|0,i=i+1|0),this.z15_1[s]=r,this.f16_1=n,this.g16_1=i}d1q(t){ky(t>0);var r=this.s16_1,n=Pb(this.y15_1,this,Eb(this,r)),i=Lb(this.y15_1,this,Eb(this,r+1|0))-t|0;ky(i>=n),Cb(this,i,t,r);var e=this.f16_1;e>=n&&(this.f16_1=e-t|0)}m1p(t){var r=Eb(this,this.q16_1);rk(this.y15_1,r)||Ny("Updating the data of a group that was not created with a data slot"),this.z15_1[Ib(this,Rb(this.y15_1,this,r))]=t}z1e(t){this.k16_1>0&&cb(this,this.s16_1,t)}b1f(t,r){if(this.k16_1>0){var n=this.c16_1;null==n||function(t,r,n){var i,e=t.s(r);if(null==e){var s=new Ho;t.ij(r,s),i=s}else i=e;i.ui(n)}(n,t,this.e17(this.s16_1));var i=cb(this,this.s16_1,null);null==i||i.e1q(t,r,vb(this))}}d1f(){if(this.k16_1>0){var t=cb(this,this.s16_1,null);null==t||t.f1q(vb(this))}}n1p(t){return Ab(this,this.q16_1,t)}g1q(t,r){return Ab(this,t.a1q(this),r)}j1p(t){this.f16_1<=this.g16_1||Ny("Writing to an invalid slot"),this.z15_1[Ib(this,this.f16_1-1|0)]=t}h1q(t,r){return this.i1q(this.q16_1,t,r)}j1q(t,r){var n=Eb(this,t),i=Pb(this.y15_1,this,n),e=Lb(this.y15_1,this,Eb(this,t+1|0)),s=i+r|0;return s>=i&&s0&&jb(this,1,this.s16_1);var t=this.z15_1,r=this.f16_1;return this.f16_1=r+1|0,t[Ib(this,r)]}f1m(t,r){return this.k1q(this.v1a(t),r)}k1q(t,r){var n=Eb(this,t),i=Pb(this.y15_1,this,n),e=Lb(this.y15_1,this,Eb(this,t+1|0)),s=i+r|0;if(!(i<=s&&s=0||Ny("Cannot seek backwards"),this.k16_1<=0||kg("Cannot call seek() while inserting"),0===t)return n;var r=this.q16_1+t|0;r>=this.s16_1&&r<=this.r16_1||Ny("Cannot seek outside the current group ("+this.s16_1+"-"+this.r16_1+")"),this.q16_1=r;var i=Lb(this.y15_1,this,Eb(this,r));this.f16_1=i,this.g16_1=i}l17(){var t=this.r16_1;this.q16_1=t,this.f16_1=Lb(this.y15_1,this,Eb(this,t))}l18(){var t=this.k16_1;this.k16_1=t+1|0,0===t&&yb(this)}r19(){this.k16_1>0||kg("Unbalanced begin/end insert"),this.k16_1=this.k16_1-1|0,0===this.k16_1&&(this.o16_1.p()!==this.m16_1.p()&&Ny("startGroup/endGroup mismatch while inserting"),gb(this))}s17(){0!==this.k16_1&&Ny("Key must be supplied when inserting"),wb(this,0,my().u17_1,!1,my().u17_1)}w17(t,r){return wb(this,t,r,!1,my().u17_1)}y17(t,r){return wb(this,t,r,!0,my().u17_1)}x17(t,r,n){return wb(this,t,r,!1,n)}q19(){var t=this.k16_1>0,r=this.q16_1,n=this.r16_1,i=this.s16_1,e=Eb(this,i),s=this.l16_1,a=r-i|0,u=ik(this.y15_1,e);if(t){var l=this.p16_1,h=null==l?null:l.s(i);if(null==h);else{var _=h.kk_1,o=0,f=h.lk_1;if(o=r&&t=t;)a.p1p();var u=zb(this,t,this.q16_1-t|0);return Cb(this,n,this.f16_1-n|0,t-1|0),this.q16_1=t,this.f16_1=r,this.l16_1=this.l16_1-i|0,u}p1q(t){if(0!==this.k16_1&&Ny("Cannot move a group while inserting"),t>=0||Ny("Parameter offset is out of bounds"),0===t)return n;for(var r=this.q16_1,i=this.s16_1,e=this.r16_1,s=t,a=r;s>0;)(a=a+Yb(this.y15_1,Eb(this,a))|0)<=e||Ny("Parameter offset is out of bounds"),s=s-1|0;var u=Yb(this.y15_1,Eb(this,a)),l=Lb(this.y15_1,this,Eb(this,this.q16_1)),h=Lb(this.y15_1,this,Eb(this,a)),_=Lb(this.y15_1,this,Eb(this,a+u|0)),o=_-h|0,f=this.q16_1-1|0;jb(this,o,Math.max(f,0)),qb(this,u);var c=this.y15_1,v=Eb(this,a+u|0),w=Sv(v,5),d=Eb(this,r);if(Je(c,c,Sv(d,5),w,w+Sv(u,5)|0),o>0){var p=this.z15_1;Je(p,p,l,Ib(this,h+o|0),Ib(this,_+o|0))}var m=(h+o|0)-l|0,y=this.h16_1,g=this.i16_1,b=this.z15_1.length,k=this.j16_1,x=r,q=r+u|0;if(x=0)t:for(;a=r&&h=t.d16_1?v.o1b_1=0|-(s-w|0):v.o1b_1=w;var d=ck(t.a16_1,w,s);t.a16_1.u1(d,v)}while(o<=f)})(this,a+u|0,r,u),zb(this,a+u|0,u)&&Ny("Unexpectedly removed anchors"),bb(this,i,this.r16_1,r),o>0&&Cb(this,h+o|0,o,(a+u|0)-1|0)}q1q(t,r,n){ky(n.k16_1>0),ky(0===this.k16_1),ky(t.w1f());var i=this.v1a(t)+r|0,e=this.q16_1;ky(e<=i&&i0;h>=e;){var o=Eb(this,h);hk(this.y15_1,o,Yb(this.y15_1,o)-a|0),_&&(ik(this.y15_1,o)?_=!1:_k(this.y15_1,o,ek(this.y15_1,o)-u|0)),h=this.b17(h)}return _&&(ky(this.l16_1>=u),this.l16_1=this.l16_1-u|0),l}r1q(t,r,n){if(ky(this.k16_1>0),0===r&&0===this.q16_1&&0===this.x15_1.u13_1&&Yb(t.t13_1,r)===t.u13_1){var i=this.y15_1,e=this.z15_1,s=this.a16_1,a=this.b16_1,u=this.c16_1,l=t.t13_1,h=t.u13_1,_=t.v13_1,o=t.w13_1,f=t.c14_1,c=t.d14_1;return this.y15_1=l,this.z15_1=_,this.a16_1=t.b14_1,this.d16_1=h,this.e16_1=(l.length/5|0)-h|0,this.h16_1=o,this.i16_1=_.length-o|0,this.j16_1=h,this.b16_1=f,this.c16_1=c,t.x1o(i,0,e,0,s,a,u),this.a16_1}var v,w=t.k17(),d=!1;try{d=!0,v=_b(0,w,r,this,!0,!0,n)}finally{w.p17(d)}return v}s1q(t,r,n){ky(this.k16_1<=0&&1===this.c19(this.q16_1+t|0));var i=this.q16_1,e=this.f16_1,s=this.g16_1;this.h1p(t),this.s17(),this.l18();var a,u=r.k17(),l=!1;try{l=!0,a=ob(0,u,n,this,!1,!0)}finally{u.p17(l)}var h=a;return this.r19(),this.q19(),this.q16_1=i,this.f16_1=e,this.g16_1=s,h}c17(t){var r,n=this.a16_1,i=wk(n,t,this.z1o());if(i<0){var e=new Uw(t<=this.d16_1?t:0|-(this.z1o()-t|0));n.u1(0|-(i+1|0),e),r=e}else r=n.s(i);return r}t1q(t){var r,n,i=Eb(this,t);uk(this.y15_1,i)||(!0,(r=this.y15_1)[n=Sv(i,5)+1|0]=134217728|r[n],Zb(this.y15_1,i)||pb(this,this.b17(t)))}i1a(t,r){var i;return t=t===k?this.s16_1:t,r===k?(this.t1q(t),i=n):i=r.t1q.call(this,t),i}v1a(t){var r=t.o1b_1;return r<0?this.z1o()+r|0:r}toString(){return"SlotWriter(current = "+this.q16_1+" end="+this.r16_1+" size = "+this.z1o()+" gap="+this.d16_1+"-"+(this.d16_1+this.e16_1|0)+")"}r1p(t){return 0<=t&&t=0){var l,h=t.r1p(r);if(null!=h){var _;t:{for(var o=0,f=u.p();o=0;){var i=r.s(n);i instanceof Uw?pi(i,t)&&r.v1(n):i instanceof Fw&&(i.o1q(t)||r.v1(n)),n=n-1|0}return!r.x()||(this.d1p_1=null,!1)}return!0}}class Bw{constructor(t){this.d15_1=t,this.e15_1=this.d15_1.t13_1,this.f15_1=this.d15_1.u13_1,this.g15_1=this.d15_1.v13_1,this.h15_1=this.d15_1.w13_1,this.i15_1=null,this.j15_1=!1,this.k15_1=0,this.l15_1=this.f15_1,this.m15_1=-1,this.n15_1=new gd,this.o15_1=0,this.p15_1=0,this.q15_1=0,this.r15_1=!1}p(){return this.f15_1}b17(t){return Qb(this.e15_1,t)}p1e(){return ik(this.e15_1,this.k15_1)}y19(t){return ik(this.e15_1,t)}z19(t){return ek(this.e15_1,t)}v1b(t){return ik(this.e15_1,t)?function(t,r,n){var i;return i=ik(t,n)?r.g15_1[function(t,r){return t[Sv(r,5)+4|0]}(t,n)]:my().u17_1,i}(this.e15_1,this,t):null}i19(){return this.t19()||this.k15_1===this.l15_1}t19(){return this.o15_1>0}v1q(){return Yb(this.e15_1,this.k15_1)}c19(t){return Yb(this.e15_1,t)}h19(){return this.l15_1}h18(){return this.k15_1=0?ek(this.e15_1,this.m15_1):0}k19(){return this.q15_1-this.p15_1|0}l1e(t){return this.e1c(this.k15_1,t)}e1c(t,r){var n=t+1|0,i=tk(this.e15_1,t)+r|0;return i<(n0||this.p15_1>=this.q15_1)return this.r15_1=!1,my().u17_1;this.r15_1=!0;var t=this.p15_1;return this.p15_1=t+1|0,this.g15_1[t]}v17(){this.o15_1=this.o15_1+1|0}p19(){this.o15_1>0||xg("Unbalanced begin/end empty"),this.o15_1=this.o15_1-1|0}s15(){this.j15_1=!0,this.d15_1.v1o(this,this.i15_1)}s17(){if(this.o15_1<=0){var t=this.m15_1,r=this.k15_1;Qb(this.e15_1,r)!==t&&xg("Invalid slot table detected");var n=this.i15_1,i=null==n?null:n.b2(this.c17(t));null==i||i.u1q(this.d15_1,r);var e=this.n15_1,s=this.p15_1,a=this.q15_1;0===s&&0===a?e.j14(-1):e.j14(s),this.m15_1=r,this.l15_1=r+Yb(this.e15_1,r)|0,this.k15_1=r+1|0,this.p15_1=tk(this.e15_1,r),this.q15_1=r>=(this.f15_1-1|0)?this.h15_1:Xb(this.e15_1,r+1|0)}}t17(){this.o15_1<=0&&(ik(this.e15_1,this.k15_1)||xg("Expected a node group"),this.s17())}y16(){0!==this.o15_1&&Ny("Cannot skip while in an empty region");var t=ik(this.e15_1,this.k15_1)?1:ek(this.e15_1,this.k15_1);return this.k15_1=this.k15_1+Yb(this.e15_1,this.k15_1)|0,t}l17(){0!==this.o15_1&&Ny("Cannot skip the enclosing group while in an empty region"),this.k15_1=this.l15_1,this.p15_1=0,this.q15_1=0}v18(t){0!==this.o15_1&&Ny("Cannot reposition while in an empty region"),this.k15_1=t;var r=t=t&&n<=r||Ny("Index "+t+" is not a parent of "+n),this.m15_1=t,this.l15_1=r,this.p15_1=0,this.q15_1=0}n19(){if(0===this.o15_1){this.k15_1!==this.l15_1&&Ny("endGroup() not called at the end of a group");var t=Qb(this.e15_1,this.m15_1);this.m15_1=t,this.l15_1=t<0?this.f15_1:t+Yb(this.e15_1,t)|0;var r=this.n15_1.t15();r<0?(this.p15_1=0,this.q15_1=0):(this.p15_1=r,this.q15_1=t>=(this.f15_1-1|0)?this.h15_1:Xb(this.e15_1,t+1|0))}}i18(){var t=Lt.b1();if(this.o15_1>0)return t;for(var r=0,n=this.k15_1;n0;){var i=((r+1|0)>>>1|0)-1|0,e=this.o1p_1.s(i);if(!(t>e))break t;this.o1p_1.t1(r,e),r=i}this.o1p_1.t1(r,t)}ll(){return!this.o1p_1.x()}m1d(){return function(t){if(t.x())throw pr.w("List is empty.");return t.s(0)}(this.o1p_1)}p1p(){this.o1p_1.p()>0||Ny("Set is empty");var t=this.o1p_1.s(0);t:for(;!this.o1p_1.x()&&this.o1p_1.s(0)===t;){this.o1p_1.t1(0,Tn(this.o1p_1)),this.o1p_1.v1(this.o1p_1.p()-1|0);var r=0,n=this.o1p_1.p(),i=this.o1p_1.p()>>>1|0;r:for(;ra){if(l>e){this.o1p_1.t1(r,l),this.o1p_1.t1(u,e),r=u;continue r}break r}}if(!(a>e))break r;this.o1p_1.t1(r,a),this.o1p_1.t1(s,e),r=s}}return t}}class Ww{constructor(t,r,n,i,e){this.m18_1=t,this.n18_1=r,this.o18_1=n,this.p18_1=i,this.q18_1=e}}class Jw{constructor(t,r,n,i){this.d1r_1=t,this.e1r_1=r,this.f1r_1=n,this.g1r_1=i,this.h1r_1=this.d1r_1.a14_1,this.i1r_1=0}m(){var t,r=this.f1r_1.d1p_1;return null!=(t=null==r?null:this.i1r_1=this.h14_1.length&&(this.h14_1=Le(this.h14_1,Sv(this.h14_1.length,2)));var r=this.h14_1,n=this.i14_1;this.i14_1=n+1|0,r[n]=t}t15(){var t=this.h14_1;return this.i14_1=this.i14_1-1|0,t[this.i14_1]}y1p(t){return this.i14_1>0?this.m1d():t}m1d(){return this.h14_1[this.i14_1-1|0]}y18(){return this.h14_1[this.i14_1-2|0]}x19(t){return this.h14_1[t]}x(){return 0===this.i14_1}s1(){this.i14_1=0}x1p(t){var r=0,n=this.i14_1;if(r0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&u.p9(", "),u.p9(e.t1t(_)),a=a+1|0)}while(h0&&c.p9(", "),c.p9(e.u1t(d)),f=f+1|0)}while(w0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&u.p9(", "),u.p9(e.t1t(_)),a=a+1|0)}while(h0&&c.p9(", "),c.p9(e.u1t(d)),f=f+1|0)}while(w0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&u.p9(", "),u.p9(e.t1t(_)),a=a+1|0)}while(h0&&c.p9(", "),c.p9(e.u1t(d)),f=f+1|0)}while(w0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&l.p9(", "),l.p9(s.t1t(o)),u=u+1|0)}while(_0&&v.p9(", "),v.p9(s.u1t(p)),c=c+1|0)}while(d0&&u.p9(", "),u.p9(e.t1t(_)),a=a+1|0)}while(h0&&c.p9(", "),c.p9(e.u1t(d)),f=f+1|0)}while(w0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0){var t=qk(this),r=t.m15_1;if(this.t14_1.y1p(-2)!==r&&(!(i=this).s14_1&&i.u14_1&&(Ck(i),i.r14_1.c1u(),i.s14_1=!0),r>0)){var n=t.c17(r);this.t14_1.j14(r),function(t,r){Ck(t),t.r14_1.d1u(r),t.s14_1=!0}(this,n)}}var i}e1e(){return(qk(this).m15_1-this.v14_1|0)<0}h1e(t){this.r14_1.p1t(t)}c1e(t,r){Sk(this,!0),this.r14_1.v1t(t,r)}d1e(t,r,n){this.r14_1.w1t(t,r,n)}a1e(t,r){this.r14_1.x1t(t,r)}l19(t){t>0&&(zk(this),this.r14_1.y1t(t))}n1a(){this.r14_1.z1t()}q17(t){Ck(this),this.r14_1.b1u(t)}c15(){this.s14_1&&(Ck(this),Ck(this),this.r14_1.e1u(),this.s14_1=!1)}m19(){var t=qk(this).m15_1;this.t14_1.y1p(-1)<=t||Ny("Missed recording an endGroup"),this.t14_1.y1p(-1)===t&&(Ck(this),this.t14_1.t15(),this.r14_1.e1u())}d1b(){this.r14_1.f1u()}y1b(){zk(this),this.r14_1.g1u(),this.v14_1=this.v14_1+qk(this).v1q()|0}x1b(t,r){Ek(this),zk(this),$k(this),this.r14_1.h1u(t,r)}w1b(t,r,n){Ek(this),zk(this),$k(this),this.r14_1.i1u(t,r,n)}w18(t){zk(this),this.r14_1.j1u(t)}u1e(t,r){this.r14_1.k1u(t,r)}p1d(t){jk(this),this.r14_1.l1u(t)}s1d(t,r){jk(this),this.r14_1.m1u(t,r)}a19(t,r){r>0&&(t>=0||Ny("Invalid remove index "+t),this.y14_1===t?this.b15_1=this.b15_1+r|0:($k(this),this.y14_1=t,this.b15_1=r))}e19(t,r,n){n>0&&(this.b15_1>0&&this.z14_1===(t-this.b15_1|0)&&this.a15_1===(r-this.b15_1|0)?this.b15_1=this.b15_1+n|0:($k(this),this.z14_1=t,this.a15_1=r,this.b15_1=n))}z1b(){Ek(this),this.s14_1&&(this.d1b(),this.c15())}g19(){$k(this)}s1c(t,r){this.g19(),Ek(this);var n=qk(this).y19(r)?1:qk(this).z19(r);n>0&&this.a19(t,n)}j19(){$k(this),this.x14_1.ll()?this.x14_1.t15():this.w14_1=this.w14_1+1|0}b1a(t){$k(this),this.x14_1.x18(t)}j1e(t){this.r14_1.s1u(t)}w1a(t,r){Ek(this),this.r14_1.t1u(t,r)}z1a(t,r){this.r14_1.u1u(t,r)}a1b(t,r,n,i){this.r14_1.v1u(t,r,n,i)}r1c(t,r,n){this.r14_1.w1u(t,r,n)}e1b(){this.r14_1.x1u(),this.v14_1=0}c1b(t,r){this.r14_1.y1u(t,r)}b1c(){Ek(this),this.t14_1.x()||Ny("Missed recording an endGroup()")}c1c(){this.s14_1=!1,this.t14_1.s1(),this.v14_1=0}}class $d extends zd{constructor(){super(),this.v15_1=new cp,this.w15_1=new cp}x(){return this.v15_1.x()}s1(){this.w15_1.s1(),this.v15_1.s1()}a1v(t,r,n){this.w15_1.x()||Ny("FixupList has pending fixup operations that were not realized. Were there mismatched insertNode() and endNodeInsert() calls?"),this.v15_1.o1t(t,r,n)}n1d(t,r,n){var i=this.v15_1,e=Yk();i.q1t(e);var s=i;if(Yk(),ax(s,0,t),Yk(),sx(s,0,r),Yk(),ax(s,1,n),i.m1t_1!==lx(0,e.r1t_1)||i.n1t_1!==lx(0,e.s1t_1)){var a=0,u=Or.j(),l=e.r1t_1,h=0;if(h0&&u.p9(", "),u.p9(e.t1t(_)),a=a+1|0)}while(h0&&c.p9(", "),c.p9(e.u1t(d)),f=f+1|0)}while(w0&&k.p9(", "),k.p9(y.t1t(j)),b=b+1|0)}while(q0&&C.p9(", "),C.p9(y.u1t(E)),S=S+1|0)}while($0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v=0&&!t.y19(n);)n=t.b17(n);var i=0;for(n=n+1|0;n0?new Ev(r,u):r,l.h1i(e,n,i)}}class _p{constructor(t,r){this.t1x_1=t,this.u1x_1=r}b1k(t,r){var n=this.t1x_1,i=ge(n,aw)?n:null,e=null==i?null:i.b1k(t,r),s=null==e?By():e;if(s.equals(By())){var a=this.u1x_1;return a.t1a_1=Rn(a.t1a_1,zu(t,r)),Ky()}return s}f1k(t){}j1j(t){}}class op{constructor(t){this.y1x_1=t,this.v1x_1=0,this.w1x_1=0,this.x1x_1=0}n(){if(this.v1x_1>=this.y1x_1.h1t_1)return!1;var t=this.z1x();return this.w1x_1=this.w1x_1+t.r1t_1|0,this.x1x_1=this.x1x_1+t.s1t_1|0,this.v1x_1=this.v1x_1+1|0,this.v1x_1(e=n.i1t_1.length)&&(n.i1t_1=Le(n.i1t_1,ux(0,e,i))),function(t,r){var n=t.k1t_1.length;r>n&&(t.k1t_1=Pe(t.k1t_1,ux(0,n,r)))}(this,this.l1t_1+t.s1t_1|0);var s=this.g1t_1,a=this.h1t_1;this.h1t_1=a+1|0,s[a]=t,this.j1t_1=this.j1t_1+t.r1t_1|0,this.l1t_1=this.l1t_1+t.s1t_1|0}a1u(t){0===t.r1t_1&&0===t.s1t_1||xg("Cannot push "+t.toString()+" without arguments because it expects "+t.r1t_1+" ints and "+t.s1t_1+" objects."),this.q1t(t)}b1v(t){if(this.x())throw pr.w("Cannot pop(), because the stack is empty.");var r=this.g1t_1;this.h1t_1=this.h1t_1-1|0;var n=Ai(r[this.h1t_1]);this.g1t_1[this.h1t_1]=null,t.q1t(n);var i=this.l1t_1,e=t.l1t_1,s=n.s1t_1,a=0;if(a>>31|0)|0,h=0;if(h>>31|0)|0,f=0;if(f0&&e<=s||a<0&&s<=e)do{var u=e;if(e=e+a|0,pi(r,gx(t,u))){if(n===bx(t,u))return null;var l=t.v1y_1.slice();return l[u+1|0]=n,mx(Fp.x21(0,0,l))}}while(u!==s);var h=Lx(t.v1y_1,0,r,n);return px(Fp.x21(0,0,h))}(l,r,n);if(null==h)return null;a=h}else{var _=l.y1y(t,r,n,i+5|0);if(null==_)return null;a=_}var o=a,f=o,c=o.z1y_1;return f.z1y_1=kx(this,u,e,c),o}return px(function(t,r,n,i){var e=t.r20(r),s=Lx(t.v1y_1,e,n,i);return Fp.x21(t.s1y_1|r,t.t1y_1,s)}(this,e,r,n))}u1z(t,r,n,i,e){var s=1<0&&s<=a||u<0&&a<=s)do{var l=s;if(s=s+u|0,pi(r,gx(t,l))){if(i.j1z_1=bx(t,l),t.u1y_1===i.h1z_1)return t.v1y_1[l+1|0]=n,t;i.k1z_1=i.k1z_1+1|0;var h=t.v1y_1.slice();return h[l+1|0]=n,Fp.y21(0,0,h,i.h1z_1)}}while(l!==a);var _=i.p();i.n1z(_+1|0);var o=Lx(t.v1y_1,0,r,n);return Fp.y21(0,0,o,i.h1z_1)}(_,r,n,e):_.u1z(t,r,n,i+5|0,e),_===l?this:xx(this,h,l,e.h1z_1)}var o=e.p();return e.n1z(o+1|0),function(t,r,n,i,e){var s=t.r20(r);if(t.u1y_1===e)return t.v1y_1=Lx(t.v1y_1,s,n,i),t.s1y_1=t.s1y_1|r,t;var a=Lx(t.v1y_1,s,n,i);return Fp.y21(t.s1y_1|r,t.t1y_1,a,e)}(this,s,r,n,e.h1z_1)}b1z(t,r,n){var i=1<0&&i<=e||s<0&&e<=i)do{var a=i;if(i=i+s|0,pi(r,gx(t,a)))return Sx(t,a)}while(a!==e);return t}(u,r):u.b1z(t,r,n+5|0),function(t,r,n,i,e){return null==n?function(t,r,n){if(1===t.v1y_1.length)return null;var i=Px(t.v1y_1,r);return Fp.x21(t.s1y_1,t.t1y_1^n,i)}(t,i,e):r!==n?kx(t,i,e,n):t}(this,u,s,a,i)}return this}x1z(t,r,n,i){var e=1<0&&e<=s||a<0&&s<=e)do{var u=e;if(e=e+a|0,pi(r,gx(t,u)))return Cx(t,u,n)}while(u!==s);return t}(l,r,i):l.x1z(t,r,n+5|0,i),Mx(this,l,a,u,e,i.h1z_1)}return this}z1z(t,r,n,i,e){var s=1<0&&s<=a||u<0&&a<=s)do{var l=s;if(s=s+u|0,pi(r,gx(t,l))&&pi(n,bx(t,l)))return Cx(t,l,i)}while(l!==a);return t}(h,r,n,e):h.z1z(t,r,n,i+5|0,e),Mx(this,h,u,l,s,e.h1z_1)}return this}}class Bp{constructor(){Vc=this,this.e1y_1=Kp.d22(Wc,Wc,fx().p1y())}f1y(){return this.e1y_1}}class Kp extends Fr{static d22(t,r,n){Rx();var i=this.re();return i.a22_1=t,i.b22_1=r,i.c22_1=n,i}p(){return this.c22_1.p()}o(t){return this.c22_1.z1(t)}h(t){if(this.c22_1.z1(t))return this;if(this.x()){var r=this.c22_1.e2(t,Gp.g22());return Kp.d22(t,t,r)}var n=this.b22_1,i=null==n||null!=n?n:$i(),e=Ai(this.c22_1.b2(i)),s=this.c22_1.e2(i,e.h22(t)).e2(t,Gp.i22(i));return Kp.d22(this.a22_1,t,s)}q1(t){var r=this.c22_1.b2(t);if(null==r)return this;var n=r,i=this.c22_1.f2(t);if(n.j22()){var e=i,s=n.e22_1,a=Ai((ge(e,vt)?e:$i()).b2(s)),u=i,l=n.e22_1;i=u.e2(null==l||null!=l?l:$i(),a.h22(n.f22_1))}if(n.l22()){var h=i,_=n.f22_1,o=Ai((ge(h,vt)?h:$i()).b2(_)),f=i,c=n.f22_1;i=f.e2(null==c||null!=c?c:$i(),o.k22(n.e22_1))}var v=n.j22()?this.a22_1:n.f22_1,w=n.l22()?this.b22_1:n.e22_1;return Kp.d22(v,w,i)}l(){return new Vp(this.a22_1,this.c22_1)}}class Gp{static m22(t,r){var n=ji(this);return n.e22_1=t,n.f22_1=r,n}static g22(){return this.m22(Wc,Wc)}static i22(t){return this.m22(t,Wc)}h22(t){return Gp.m22(this.e22_1,t)}k22(t){return Gp.m22(t,this.f22_1)}l22(){return!(this.f22_1===Wc)}j22(){return!(this.e22_1===Wc)}}class Vp{constructor(t,r){this.n22_1=t,this.o22_1=r,this.p22_1=0}m(){return this.p22_1=0?this.b1t_1[r]:null}d1t(t,r){var n=Jx(this,t);return!(n<0||(this.b1t_1[n]=r,0))}e1t(t,r){for(var n=this.z1s_1,i=0,e=this.b1t_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[l-1|0]=t,_[l-1|0]=r;else for(;o=0&&(wq(this.l1b_1),this.l1b_1=-1)}j24(){var t=this.l1b_1;return this.l1b_1=-1,t}}class um{constructor(){fv=this,this.l24_1=new Int32Array(0)}}class lm extends am{constructor(t,r,n,i){cq(),super(t,r),this.i1o_1=n,this.j1o_1=i,this.k1o_1=0,this.l1o_1=null,this.m1o_1=null,this.n1o_1=Tq().m24_1,this.o1o_1=cq().l24_1,this.p1o_1=1,this.q1o_1=!1}x23(){return this.i1o_1}y23(){return this.j1o_1}m23(t,r){var i;this.i24(),!(i=this).q1o_1||i.l1b_1>=0||kg("Unsupported operation on a disposed or applied snapshot"),this.n24(this.m1b()),Xx();var e=iq();nq(e+1|0);var s=e;tq(rq().o24(s));var a=this.q23();this.r23(a.o24(s));var u=new cm(s,gq(a,this.m1b()+1|0,s),function(t,r,i){i=i===k||i,Pq();var e=i?r:null;return null!=t&&null!=e&&t!==e?function(r){return t(r),e(r),n}:null==t?e:t}(t,this.x23()),function(t,r){return Pq(),null==t||null==r||t===r?null==t?r:t:function(i){return t(i),r(i),n}}(r,this.y23()),this);if(!this.q1o_1&&!this.k1b_1){var l=this.m1b();Xx();var h=iq();nq(h+1|0),this.s23(h),tq(rq().o24(this.m1b())),this.r23(gq(this.q23(),l+1|0,this.m1b()))}return u}r1o(){var t=this.p23(),r=null!=t?bq(_q().qs(),this,rq().h24(_q().qs().m1b())):null,n=Ra(),i=null;if(Xx(),kq(this),null==t||0===t.p()){this.b24();var e=_q().qs();xq(e,Zx());var s=e.p23();null!=s&&s.ll()&&(n=uq(),i=s)}else{var a=_q().qs(),u=this.p24(iq(),r,rq().h24(a.m1b()));if(!pi(u,vq()))return u;this.b24(),xq(a,Zx());var l=a.p23();this.k24(null),a.k24(null),n=uq(),i=l}if(this.q1o_1=!0,null!=i){var h=_x(Ai(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.ll()){var v=_x(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)}Xx(),this.c24(),qq();var y=i;if(null==y);else{var g=y.gl_1;t:{var b=y.fl_1,k=b.length-2|0,x=0;if(x<=k)do{var q=x;x=x+1|0;var j=b[q],z=j;if(!z.a3(z.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var S=8-(~(q-k)>>>31|0)|0,C=0;if(C>>31|0)|0,R=0;if(R0||xg("no pending nested snapshots"),this.p1o_1=this.p1o_1-1|0,0===this.p1o_1&&(this.q1o_1||function(t){var r,n,i=t.p23();if(null!=i){!function(t){t.q1o_1&&kg("Unsupported operation on a snapshot that has been applied")}(t),t.k24(null);var e=t.m1b(),s=i.gl_1;t:{var a=i.fl_1,u=a.length-2|0,l=0;if(l<=u)do{var h=l;l=l+1|0;var _=a[h],o=_;if(!o.a3(o.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var f=8-(~(h-u)>>>31|0)|0,c=0;if(c=0))&&(d.j1s_1=0),d=d.k1s_1;_=_.y2(8)}while(c>>31|0)|0,w=0;if(w=0){var r=this.o1o_1,n=new Int32Array([t]);this.o1o_1=he([r,n])}}w24(t){if(0===t.length)return n;var r,i=this.o1o_1;r=0===i.length?t:he([i,t]),this.o1o_1=r}x24(t){Xx(),this.n1o_1=this.n1o_1.u24(t)}z23(t){var r,n=this.p23();if(null==n){var i=jf();this.k24(i),r=i}else r=n;r.h(t)}t23(t){this.k1o_1=t}u23(){return this.k1o_1}k24(t){this.l1o_1=t}p23(){return this.l1o_1}}class hm{}class _m extends hm{constructor(){cv=null,super(),cv=this}}class om extends hm{constructor(t){super(),this.y24_1=t}}class fm extends lm{constructor(t,r){Xx();var i,e,s=hq(),a=1===(i=s).p()?i.s(0):null;e=null==a?function(t){var r=s,i=0,e=r.p()-1|0;if(i<=e)do{var a=i;i=i+1|0,r.s(a)(t)}while(i<=e);return n}:a,super(t,r,null,e)}m23(t,r){return n=function(n){Xx();var i=iq();return nq(i+1|0),new lm(i,n,t,r)},Pq(),pq((function(t){var r=n(t);return Xx(),tq(rq().o24(r.m1b())),r}));var n}o23(){mq()}m25(t){Uq()}q24(t){return this.m25(t)}n25(t){Uq()}r24(t){return this.n25(t)}r1o(){throw fr.l3(yi("Cannot apply the global snapshot directly. Call Snapshot.advanceGlobalSnapshot"))}iq(){Xx(),this.w23()}}class cm extends lm{constructor(t,r,n,i,e){super(t,r,n,i),this.i26_1=e,this.j26_1=!1,this.i26_1.r24(this)}iq(){this.k1b_1||(super.iq(),yq(this))}r1o(){if(this.i26_1.q1o_1||this.i26_1.k1b_1)return new om(this);var t=this.p23(),r=this.m1b(),n=null!=t?bq(this.i26_1,this,this.i26_1.q23()):null;if(Xx(),kq(this),null==t||0===t.p())this.a24();else{var i=this.p24(this.i26_1.m1b(),n,this.i26_1.q23());if(!pi(i,vq()))return i;var e,s=this.i26_1.p23();null==s?e=null:(s.em(t),e=s),null==e&&(this.i26_1.k24(t),this.k24(null))}return this.i26_1.m1b()0?this.q25_1[0]:t}ui(t){!function(t,r){var i=t.q25_1.length;if(r<=i)return n;var e=Sv(i,2),s=new Int32Array(e),a=new Int32Array(e),u=t.q25_1;Je(u,s,0,0,u.length);var l=t.r25_1;Je(l,a,0,0,l.length),t.q25_1=s,t.r25_1=a}(this,this.p25_1+1|0);var r=this.p25_1;this.p25_1=r+1|0;var i=r,e=function(t){var r=t.s25_1.length;if(t.t25_1>=r){for(var n=0,i=Sv(r,2),e=new Int32Array(i);n>1,s=r;s=0&&r<64)return!new bt(1,0).x2(r).a3(this.e24_1).equals(new bt(0,0));if(r>=64&&r<128)return!new bt(1,0).x2(r-64|0).a3(this.d24_1).equals(new bt(0,0));if(r>0)return!1;var n,i=this.g24_1;return null!=(n=null==i?null:Hq(i,t)>=0)&&n}o24(t){var r=t-this.f24_1|0;if(r>=0&&r<64){var n=new bt(1,0).x2(r);if(this.e24_1.a3(n).equals(new bt(0,0)))return new pm(this.d24_1,this.e24_1.b3(n),this.f24_1,this.g24_1)}else if(r>=64&&r<128){var i=new bt(1,0).x2(r-64|0);if(this.d24_1.a3(i).equals(new bt(0,0)))return new pm(this.d24_1.b3(i),this.e24_1,this.f24_1,this.g24_1)}else if(r>=128){if(!this.s(t)){var e=this.d24_1,s=this.e24_1,a=this.f24_1,u=null,l=Sv((t+1|0)/64|0,64);t:for(;a=0&&r<64){var n=new bt(1,0).x2(r);if(!this.e24_1.a3(n).equals(new bt(0,0)))return new pm(this.d24_1,this.e24_1.a3(n.w2()),this.f24_1,this.g24_1)}else if(r>=64&&r<128){var i=new bt(1,0).x2(r-64|0);if(!this.d24_1.a3(i).equals(new bt(0,0)))return new pm(this.d24_1.a3(i.w2()),this.e24_1,this.f24_1,this.g24_1)}else if(r<0){var e=this.g24_1;if(null!=e){var s=Hq(e,t);if(s>=0){var a=e.length-1|0;if(0===a)return new pm(this.d24_1,this.e24_1,this.f24_1,null);var u=new Int32Array(a);return s>0&&Je(e,u,0,0,s),s1&&r.k(n),!(s<0||l<=s))break t;Yx(r,f,u)}while(h<=_);return s>=0&&l>s&&r.k(a),r.k(e),r}(u,Or.j(),t,r,n,i,e,s).toString()+"]")}}class mm{constructor(){this.l26_1=0,this.m26_1=new Int32Array(16),this.n26_1=Qn(Array(16),null)}p26(t){var r,n=this.l26_1,i=function(t){if(Yq(),null==t)return 0;var r,n=t.kotlinIdentityHashcodeValue$;if(null!=n)return n;switch(typeof t){case"object":case"function":r=function(t){Yq();var r,n=(Yq(),yv);r=n+1|0,Yq(),yv=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.f1("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.l26_1-1|0;i<=e;){var s=(i+e|0)>>>1|0,a=t.m26_1[s];if(an)){var u=t.n26_1[s];return r===(null==u?null:u.qs())?s:Fq(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.n26_1.length;if(n===s){var a=Sv(s,2),u=Qn(Array(a),null),l=new Int32Array(a);Je(this.n26_1,u,e+1|0,e,n),Je(this.n26_1,u,0,0,e),Je(this.m26_1,l,e+1|0,e,n),Je(this.m26_1,l,0,0,e),this.n26_1=u,this.m26_1=l}else Je(this.n26_1,this.n26_1,e+1|0,e,n),Je(this.m26_1,this.m26_1,e+1|0,e,n);return this.n26_1[e]=new zm(t),this.m26_1[e]=i,this.l26_1=this.l26_1+1|0,!0}}class ym{}class gm{constructor(t){this.a1i_1=t}qs(){return this.a1i_1}wx(t){this.a1i_1=t}ex(t){var r=this.a1i_1;return this.a1i_1=t,r}dx(t,r){var n;return pi(this.a1i_1,t)?(this.a1i_1=r,n=!0):n=!1,n}}class bm{constructor(t){this.f11_1=t}qs(){return this.f11_1}g11(t){this.f11_1=t}ui(t){return this.f11_1=this.f11_1+t|0,this.f11_1}s26(t,r){var n;return pi(this.f11_1,t)?(this.f11_1=r,n=!0):n=!1,n}}class km{constructor(t,r,n){this.q22_1=t,this.r22_1=r,this.s22_1=n,this.t22_1=null,this.u22_1=null}v22(t){if(!pi(this.s22_1,t)){var r=null==this.s22_1;this.s22_1=t,r||function(t){if(t.r22_1){var r=t.t22_1;null!=r&&(r.a1k(),t.t22_1=null);var n=t.u22_1;if(null!=n){var i=0,e=n.p();if(i0;){if(202===t.k13_1.e17(n)&&pi(t.k13_1.f17(n),Am())){var i=t.k13_1.d17(n),e=null!=i&&ge(i,pw)?i:$i();return t.m13_1=e,e}n=t.k13_1.b17(n)}if(t.i13_1.p()>0)for(var s=r;s>0;){if(202===t.i13_1.e17(s)&&pi(t.i13_1.f17(s),Am())){var a,u=t.w12_1,l=null==u?null:u.s(s);if(null==l){var h=t.i13_1.d17(s);a=null!=h&&ge(h,pw)?h:$i()}else a=l;var _=a;return t.m13_1=_,_}s=t.i13_1.b17(s)}return t.m13_1=t.v12_1,t.v12_1}function Rm(t,r,n){var i=r.h17();i.g2(n);var e=i.i17();return Mm(t,204,(Vy(),If)),Pm(t,e),Pm(t,n),Nm(t),e}function Tm(t,r){var n,i=t.w12_1;if(null==i){var e=new jm;t.w12_1=e,n=e}else n=i;n.j17(t.i13_1.k15_1,r)}function Hm(t){t.k13_1.t16_1&&(t.k13_1=t.j13_1.k17(),t.k13_1.l17(),t.l13_1=!1,t.m13_1=null)}function Um(t){ky(t.k13_1.t16_1),Fm(t)}function Fm(t){var r=t,n=new Rw;t.d13_1&&n.m17(),t.c12_1.o17()&&n.n17(),r.j13_1=n;var i=t,e=t.j13_1.k17();e.p17(!0),i.k13_1=e}function Bm(t,r,n){r?t.i13_1.t17():(null!=n&&t.i13_1.r17()!==n&&t.o13_1.q17(n),t.i13_1.s17())}function Km(t,r,i,e,s){_y(t);var a=t.m12_1;if(null==i)if(null==s||207!==r||pi(s,my().u17_1)){var u=t,l=Fe(t.s13_1,3)^r;u.s13_1=Fe(l,3)^a}else{var h=mi(s),_=t,o=Fe(t.s13_1,3)^h;_.s13_1=Fe(o,3)^a}else if(i instanceof yt){var f=i.j2_1,c=t,v=Fe(t.s13_1,3)^f;c.s13_1=0^Fe(v,3)}else{var w=mi(i),d=t,p=Fe(t.s13_1,3)^w;d.s13_1=0^Fe(p,3)}null==i&&(t.m12_1=t.m12_1+1|0);var m=!(e===Sy().v16_1);if(t.r13_1){t.i13_1.v17();var y=t.k13_1.q16_1;m?t.k13_1.y17(r,my().u17_1):null!=s?t.k13_1.x17(r,null==i?my().u17_1:i,s):t.k13_1.w17(r,null==i?my().u17_1:i);var g=t.j12_1;if(null==g);else{var b=new Ww(r,-1,Jm(0,y),-1,0);g.f18(b,t.k12_1-g.a18_1|0),g.g18(b)}return Gm(t,m,null),n}var k=e===Sy().w16_1&&t.z12_1;if(null==t.j12_1){var x=t.i13_1.h18();!k&&x===r&&pi(i,t.i13_1.j18())?Bm(t,m,s):t.j12_1=new tw(t.i13_1.i18(),t.k12_1)}var q=t.j12_1,j=null;if(null!=q){var z=q.k18(r,i);if(k||null==z){t.i13_1.v17(),t.r13_1=!0,t.m13_1=null,Hm(t),t.k13_1.l18();var S=t.k13_1.q16_1;m?t.k13_1.y17(r,my().u17_1):null!=s?t.k13_1.x17(r,null==i?my().u17_1:i,s):t.k13_1.w17(r,null==i?my().u17_1:i),t.p13_1=t.k13_1.c17(S);var C=new Ww(r,-1,Jm(0,S),-1,0);q.f18(C,t.k12_1-q.a18_1|0),q.g18(C);var A=Lt.b1();j=new tw(A,m?0:t.k12_1)}else{q.g18(z);var $=z.o18_1;t.k12_1=q.r18(z)+q.a18_1|0;var E=q.s18(z),I=E-q.b18_1|0;q.t18(E,q.b18_1),t.o13_1.u18($),t.i13_1.v18($),I>0&&t.o13_1.w18(I),Bm(t,m,s)}}Gm(t,m,j)}function Gm(t,r,n){t.i12_1.x18(t.j12_1),t.j12_1=n,t.n12_1.j14(t.l12_1),t.n12_1.j14(t.m12_1),t.n12_1.j14(t.k12_1),r&&(t.k12_1=0),t.l12_1=0,t.m12_1=0}function Vm(t,r){var n=t.n12_1.y18()-1|0;if(t.r13_1){var i=t.k13_1.s16_1,e=t.k13_1.e17(i),s=t.k13_1.f17(i),a=t.k13_1.d17(i);if(null==s)if(null==a||207!==e||pi(a,my().u17_1)){var u=t,l=Be(t.s13_1^n,3)^e;u.s13_1=Be(l,3)}else{var h=mi(a),_=t,o=Be(t.s13_1^n,3)^h;_.s13_1=Be(o,3)}else if(s instanceof yt){var f=s.j2_1,c=t,v=Be(0^t.s13_1,3)^f;c.s13_1=Be(v,3)}else{var w=mi(s),d=t,p=Be(0^t.s13_1,3)^w;d.s13_1=Be(p,3)}}else{var m=t.i13_1.m15_1,y=t.i13_1.e17(m),g=t.i13_1.f17(m),b=t.i13_1.d17(m);if(null==g)if(null==b||207!==y||pi(b,my().u17_1)){var k=t,x=Be(t.s13_1^n,3)^y;k.s13_1=Be(x,3)}else{var q=mi(b),j=t,z=Be(t.s13_1^n,3)^q;j.s13_1=Be(z,3)}else if(g instanceof yt){var S=g.j2_1,C=t,A=Be(0^t.s13_1,3)^S;C.s13_1=Be(A,3)}else{var $=mi(g),E=t,I=Be(0^t.s13_1,3)^$;E.s13_1=Be(I,3)}}var M=t.l12_1,N=t.j12_1;if(null!=N&&N.z17_1.p()>0){for(var L=N.z17_1,P=N.z18(),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.ha(),R=0,T=P.p(),H=0,U=L.p(),F=0;H0&&(t.o13_1.u18(t.i13_1.h19()),t.i13_1.l17())}for(var J=t.k12_1;!t.i13_1.i19();){var Y=t.i13_1.k15_1;oy(t);var Z=t.i13_1.y16();t.o13_1.a19(J,Z),Cy(t.t12_1,Y,t.i13_1.k15_1)}var Q=t.r13_1;if(Q){r&&(t.q13_1.o19(),M=1),t.i13_1.p19();var X=t.k13_1.s16_1;if(t.k13_1.q19(),!t.i13_1.t19()){var tt=Jm(0,X);t.k13_1.r19(),t.k13_1.p17(!0),function(t,r){t.q13_1.x()?t.o13_1.x1b(r,t.j13_1):(t.o13_1.w1b(r,t.j13_1,t.q13_1),t.q13_1=new $d)}(t,t.p13_1),t.r13_1=!1,t.d12_1.s19()||(ty(t,tt,0),Ym(t,tt,M))}}else{r&&t.o13_1.j19();var rt=t.i13_1.k19();rt>0&&t.o13_1.l19(rt),t.o13_1.m19();var nt=t.i13_1.m15_1;M!==Xm(t,nt)&&Ym(t,nt,M),r&&(M=1),t.i13_1.n19(),t.o13_1.g19()}!function(t,r,n){var i=t.i12_1.t15();null==i||n||(i.b18_1=i.b18_1+1|0),t.j12_1=i,t.k12_1=t.n12_1.t15()+r|0,t.m12_1=t.n12_1.t15(),t.l12_1=t.n12_1.t15()+r|0}(t,M,Q)}function Wm(t){var r=t.g13_1;t.g13_1=!0;for(var n=!1,i=t.i13_1.m15_1,e=i+t.i13_1.c19(i)|0,s=t.k12_1,a=t.s13_1,u=t.l12_1,l=t.m12_1,h=i,_=Ey(t.t12_1,t.i13_1.k15_1,e);null!=_;){var o=_.p11_1;if(Iy(t.t12_1,o),_.r11()){n=!0,t.i13_1.v18(o);var f=t.i13_1.k15_1;ry(t,h,f,i),h=f,t.k12_1=Zm(t,o,f,i,s),t.m12_1=Qm(t,f);var c=t.i13_1.b17(f);t.s13_1=iy(t,c,Qm(t,c),i,a),t.m13_1=null,_.o11_1.v19(t),t.m13_1=null,t.i13_1.w19(i)}else t.f13_1.x18(_.o11_1),_.o11_1.u19(),t.f13_1.t15();_=Ey(t.t12_1,t.i13_1.k15_1,e)}if(n){ry(t,h,i,i),t.i13_1.l17();var v=Xm(t,i);t.k12_1=s+v|0,t.l12_1=u+v|0,t.m12_1=l}else ey(t);t.s13_1=a,t.g13_1=r}function Jm(t,r){return-2-r|0}function Ym(t,r,n){var i=Xm(t,r);if(i!==n){var e=n-i|0,s=r,a=t.i12_1.p()-1|0;t:for(;-1!==s;){var u=Xm(t,s)+e|0;ty(t,s,u);var l=a;if(0<=l)r:do{var h=l;l=l+-1|0;var _=t.i12_1.x19(h);if(null!=_&&_.b19(s,u)){a=h-1|0;break r}}while(0<=l);if(s<0)s=t.i13_1.m15_1;else{if(t.i13_1.y19(s))break t;s=t.i13_1.b17(s)}}}}function Zm(t,r,n,i,e){for(var s=t.i13_1.b17(n);s!==i&&!t.i13_1.y19(s);)s=t.i13_1.b17(s);var a=t.i13_1.y19(s)?0:e;if(s===n)return a;var u=s,l=a+(Xm(t,s)-t.i13_1.z19(n)|0)|0;t:for(;a=0)return s}return t.i13_1.z19(r)}function ty(t,r,n){if(Xm(t,r)!==n)if(r<0){var i,e=t.p12_1;if(null==e){var s=new Lo;t.p12_1=s,i=s}else i=e;i.li(r,n)}else{var a,u=t.o12_1;if(null==u){var l=new Int32Array(t.i13_1.p());h=l,-1,_=_===k?0:_,o=o===k?h.length:o,D.g4(_,o,h.length),h.fill(-1,_,o),t.o12_1=l,a=l}else a=u;a[r]=n}var h,_,o}function ry(t,r,n,i){for(var e=t.i13_1,s=function(t,r,n,i){if(Vy(),r===n)return r;if(r===i||n===i)return i;if(t.b17(r)===n)return n;if(t.b17(n)===r)return r;if(t.b17(r)===t.b17(n))return t.b17(r);var e=r,s=n,a=Dy(t,r,i),u=Dy(t,n,i),l=a-u|0,h=0;if(h0&&a!==s;)e.y19(a)&&t.o13_1.j19(),a=e.b17(a);ny(t,n,s)}function ny(t,r,n){var i;r>0&&r!==n&&(ny(t,t.i13_1.b17(r),n),t.i13_1.y19(r)&&t.o13_1.b1a((i=r,t.i13_1.v1b(i))))}function iy(t,r,n,i,e){var s;if(r===i)s=e;else{var a,u=function(t,r,n){var i;if(t.a1a(n)){var e,s=t.f17(n);i=null==(e=null==s?null:s instanceof yt?s.j2_1:s instanceof Yv?126665345:mi(s))?0:e}else{var a,u=t.e17(n);if(207===u){var l,h=t.d17(n);a=null==(l=null==h?null:pi(h,my().u17_1)?u:mi(h))?u:l}else a=u;i=a}return i}(t.i13_1,0,r);if(126665345===u)a=u;else{var l=t.i13_1.b17(r),h=l===i?e:iy(t,l,Qm(t,l),i,e),_=t.i13_1.a1a(r)?0:n,o=Fe(h,3)^u;a=Fe(o,3)^_}s=a}return s}function ey(t){t.l12_1=t.i13_1.c1a(),t.i13_1.l17()}function sy(t,r,i,e,s){t.h1a(126665345,r),Pm(t,e);var a,u=t.s13_1;try{t.s13_1=126665345,t.r13_1&&t.k13_1.i1a();var l=!t.r13_1&&!pi(t.i13_1.r17(),i);if(l&&Tm(t,i),Km(t,202,Am(),Sy().v16_1,i),t.m13_1=null,t.r13_1&&!s){t.l13_1=!0;var h=t.k13_1.c17(t.k13_1.b17(t.k13_1.s16_1)),_=new Wv(r,e,t.h12_1,t.j13_1,h,Ra(),Om(t));t.c12_1.l1a(_)}else{var o=t.x12_1;t.x12_1=l,Zq(t,(a=Tx(316014703,!0,(function(t,i){var s=t;return xy(s,"C3293@126183L18:Composer.kt#9igjgp"),2==(3&i)&&s.k1a()?s.l17():(qy()&&jy(316014703,i,-1,"androidx.compose.runtime.ComposerImpl.invokeMovableContentLambda. (Composer.kt:3293)"),r.j1a_1(e,s,0),qy()&&zy()),n})),function(t,r){return a.v1c(t,r)})),t.x12_1=o}}finally{Nm(t),t.m13_1=null,t.s13_1=u,t.m1a()}}function ay(t,r,n,i,e,s){var a=t.g13_1,u=t.k12_1;try{t.g13_1=!0,t.k12_1=0;var l=0,h=e.p()-1|0;if(l<=h)do{var _=l;l=l+1|0;var o=e.s(_),f=o.yf(),c=o.zf();null!=c?t.f1b(f,c):t.f1b(f,null)}while(l<=h);var v=null==r?null:r.g1b(n,null==i?-1:i,s);return null==v?s():v}finally{t.g13_1=a,t.k12_1=u}}function uy(t,r,n,i,e,s,a){return ay(t,r=r===k?null:r,n=n===k?null:n,i=i===k?null:i,e=e===k?Ra():e,s)}function ly(t,r,n){t.g13_1&&Ny("Reentrant composition is not supported");t:{var i=bv.h1b("Compose:recompose");try{t.c13_1=dq().m1b(),t.w12_1=null;var e=r.n1b_1,s=e.sk_1,a=e.tk_1;r:{var u=e.rk_1,l=u.length-2|0,h=0;if(h<=l)do{var _=h;h=h+1|0;var o=u[_],f=o;if(!f.a3(f.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var c=8-(~(_-l)>>>31|0)|0,v=0;if(v=0?t.v1(n):null}function My(t,r){Vy();var n=Lt.b1(),i=t.e14();try{Uy(i,n,t.v1a(r))}finally{i.s15()}return n}function Ny(t){throw Vy(),Zv.s1f("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 Ly(t,r,n){var i,e=t,s=e.dl(r),a=s<0;if(a)i=null;else{var u=e.tk_1[s];i=null==u||null!=u?u:$i()}var l,h=i;if(null==h)l=n;else if(null!=h&&ge(h,ft)){var _=null!=h&&ge(h,ft)?h:$i();_.h(n),l=_}else l=Da([h,n]);var o=l;if(a){var f=~s;e.sk_1[f]=r,e.tk_1[f]=o}else e.tk_1[s]=o}function Py(t,r){Vy();var n=Oy(t,r);return n<0?0|-(n+1|0):n}function Oy(t,r){Vy();for(var n=0,i=t.p()-1|0;n<=i;){var e=(n+i|0)>>>1|0,s=fi(t.s(e).p11_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 Dy(t,r,n){Vy();for(var i=0,e=r;e>0&&e!==n;)e=t.b17(e),i=i+1|0;return i}function Ry(t,r,n){Vy(),t.a1f(r,n)}function Ty(t){Vy(),t.c1f()}function Hy(t,r,i){var e=t;return!e.j1d()&&pi(e.j1f(),r)||(e.k1f(r),t.r1d(r,i)),n}function Uy(t,r,n){if(t.y19(n))r.h(t.v1b(n));else for(var i=n+1|0,e=n+t.c19(n)|0;i>>31|0)|0,c=0;if(c>>31|0)|0,c=0;if(c>>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,j=0;if(j>>31|0)|0,T=0;if(T>>31|0)|0,f=0;if(f>>31|0)|0,d=0;if(d>>31|0)|0,I=0;if(I>>31|0)|0,m=0;if(m (Composition.kt:623)"),qy()&&zy()),n}function hg(t,r){var i=t;return xy(i,"C:Composition.kt#9igjgp"),2==(3&r)&&i.k1a()?i.l17():(qy()&&jy(1918065384,r,-1,"androidx.compose.runtime.ComposableSingletons$CompositionKt.lambda-2. (Composition.kt:757)"),qy()&&zy()),n}function _g(t,r,n){fg();var i=t.s(r);t.t1(r,t.s(n)),t.t1(n,i)}function og(t,r,n){fg();var i=t.s(r);t.wi(r,t.s(n)),t.wi(n,i)}function fg(){Gf||(Gf=!0,Ff=new Object,new ow)}function cg(t){return new ww(t)}function vg(t,r,i,e){var s=i;xy(s=s.r1e(-1390796515),"C(CompositionLocalProvider)P(1)379@16749L9:CompositionLocal.kt#9igjgp");var a=e;qy()&&jy(-1390796515,a,-1,"androidx.compose.runtime.CompositionLocalProvider (CompositionLocal.kt:377)"),s.k1e(t),r(s,14&a>>3),s.m1e(),qy()&&zy();var u=s.s1e();null==u||u.v1k((function(i,s){return vg(t.slice(),r,i,Cg(1|e)),n}))}function wg(t,r){var n=r instanceof cw?r:$i(),i=t.b2(n),e=(null==i?r.k1k():i).w1k(t);return null==e||null!=e?e:$i()}function dg(t,r){return t.z1(r instanceof cw?r:$i())}function pg(t,r,n){n=n===k?Wx():n;var i=Wx().h17(),e=n,s=0,a=t.length-1|0;if(s<=a)do{var u=s;s=s+1|0;var l=t[u],h=l.d1g_1,_=h instanceof vw?h:$i();if(l.k1g_1||!dg(r,_)){var o=e.b2(_),f=_.o1k(l instanceof Qv?l:$i(),o);i.e2(_,f)}}while(s<=a);return i.i17()}function mg(){return yg(),Jf}function yg(){Yf||(Yf=!0,new yd,Jf=new yd)}function gg(){Zf||(Zf=!0,new yw)}function bg(t,r){var n;if(r instanceof yt)n=r.j2_1;else{var i=null==r?null:mi(r);n=null==i?0:i}return n}function kg(t){throw fr.l3(t)}function xg(t){throw vr.f1(t)}function*qg(t,r,i){var e=t.a1m_1(new Sw(t.b1m_1,r.nm()),i);return e===iu()&&(e=yield e),n}function jg(t,r){t.s11_1=r?32|t.s11_1:-33&t.s11_1}function zg(t,r){t.s11_1=r?16|t.s11_1:-17&t.s11_1}function Sg(t,r,n){ge(t,mw)||$i();var i=t.b1l();return!(null==i?yk():i).d1m(t.n1j().q1j(),n.b2(t))}function Cg(t){tc||(tc=!0,new Object);var r=306783378&t,n=613566756&t;return-920350135&t|r|n>>1|r<<1&n}function Ag(){if(uc)return n;uc=!0,rc=new Iw("ShutDown",0),nc=new Iw("ShuttingDown",1),ic=new Iw("Inactive",2),ec=new Iw("InactivePendingWork",3),sc=new Iw("Idle",4),ac=new Iw("PendingWork",5)}function*$g(t,r,i,e){for(var s=Lt.b1(),a=Lt.b1(),u=Lt.b1(),l=jf(),h=jf(),_=new tf,o=_x(_),f=jf();Rg(t.o1m_1);){var c=Gg(t.o1m_1,e);if(c===iu()&&(c=yield c),Tg(t.o1m_1)){var v=i.j11(function(r){if(Og(t.o1m_1))t:{var i=bv.h1b("Recomposer:animation");try{t.o1m_1.q1m_1.i11(r),ov.o1n();break t}finally{bv.u1b(i)}}t:{var e=bv.h1b("Recomposer:recompose");try{Tg(t.o1m_1),t.o1m_1.r1m_1;var c=t.o1m_1.x1m_1,v=c.r1b_1;if(v>0){var w=0,d=c.p1b_1,p=be(d)?d:$i();do{var m=p[w];s.h(m),w=w+1|0}while(w0&&(I.p1b_1[P-M|0]=I.p1b_1[P])}while(L>>31|0)|0,ut=0;if(ut>>31|0)|0,gt=0;if(gt>>31|0)|0,g=0;if(g>>31|0)|0,I=0;if(I>>31|0)|0,F=0;if(F=0){var s=t.t1n_1.w1m_1;if(r instanceof dp){var a=r.e1i_1,u=a.gl_1;t:{var l=a.fl_1,h=l.length-2|0,_=0;if(_<=h)do{var o=_;_=_+1|0;var f=l[o],c=f;if(!c.a3(c.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var v=8-(~(o-h)>>>31|0)|0,w=0;if(w0||Pg(t)?ub():ab();var i,e=n;if(t.j1n_1.tw(e),e.equals(ub())){var s=t.e1n_1;t.e1n_1=null,i=s}else i=null;return i}function Rg(t){var r;if(t.r1m_1,t.g1n_1){var n;t:{for(var i=t.k1n_1.vs().l();i.m();)if(i.n().om()){n=!0;break t}n=!1}r=n}else r=!0;return r}function Tg(t){if(t.r1m_1,t.w1m_1.x())return tb(t);var r=_x(t.w1m_1);t.w1m_1=new tf;var n=r;t.r1m_1;var i=Lg(t),e=!1;try{t:{var s=0,a=i.p()-1|0;if(s<=a)do{var u=s;if(s=s+1|0,i.s(u).g1j(n),t.j1n_1.y1().k2(eb())<=0)break t}while(s<=a)}t.r1m_1,t.w1m_1=new tf,e=!0}finally{e||(t.r1m_1,t.w1m_1.bm(n))}if(t.r1m_1,null!=Dg(t))throw fr.l3(yi("called outside of runRecomposeAndApplyChanges"));return tb(t)}function Hg(t,r,n,i){if(!rb().n1m_1.qs()||r instanceof Zv){t.r1m_1;var e=t.h1n_1;if(null!=e)throw e.a1o_1;throw t.h1n_1=new Nw(!1,r),r}t.r1m_1,function(t,r){var n;Yq(),function(t){qs(),(qs(),j).ma(t)}("Error was captured in composition while live edit was enabled."),n=r,console.error(function(t){return(new Dr).ke(t)}(n))}(0,r),t.y1m_1.s1(),t.x1m_1.s1(),t.w1m_1=new tf,t.z1m_1.s1(),t.a1n_1.s1(),t.b1n_1.s1(),t.h1n_1=new Nw(i,r),null!=n&&Fg(t,n),Dg(t)}function Ug(t,r,n,i,e){return Hg(t,r,n=n===k?null:n,i=i!==k&&i)}function Fg(t,r){var n,i=t.c1n_1;if(null==i){var e=Lt.b1();t.c1n_1=e,n=e}else n=i;var s=n;s.o(r)||s.h(r),function(t,r){t.u1m_1.q1(r),t.v1m_1=null}(t,r)}function Bg(t){return t.r1m_1,t.w1m_1.ll()||t.x1m_1.ll()||Pg(t)}function*Kg(t,r){if(!Bg(t)){var i,e=new Nl(Cs(r),1);if(e.hq(),t.r1m_1,Bg(t)?i=e:(t.e1n_1=e,i=null),null==i);else{var s=n;i.ta(s)}var a=Ci(e.mo());a===iu()&&(a=yield a)}return n}function Gg(t,r){return Es(Kg.bind(k,t),r)}function*Vg(t,r,i){var e,s,a=function(t){var r=t.eb(Qf);if(null==r)throw fr.l3(yi("A MonotonicFrameClock is not available in this CoroutineContext. Callers should supply an appropriate MonotonicFrameClock using withContext."));return r}(i.ra()),u=Yh(t.q1m_1,(e=new Ow(t,r,a),s=function(t,r){return e.c1m(t,r)},s.$arity=1,s),i);return u===iu()&&(u=yield u),n}function Wg(t,r,i){var e;if(r.l1i()||r.z1i())e=!0;else{var s=t.d1n_1;e=!0===(null==s?null:s.o(r))}if(e)return null;t:{var a=ov.b1o(Zg(0,r),Qg(0,r,i));try{var u;r:{var l=a.c1o();try{!0===(null==i?null:i.ll())&&r.i1j((function(){var t=i,e=t.gl_1;n:{var s=t.fl_1,a=s.length-2|0,u=0;if(u<=a)do{var l=u;u=u+1|0;var h=s[l],_=h;if(!_.a3(_.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var o=8-(~(l-a)>>>31|0)|0,f=0;if(f=0&&sk(t.y15_1,Eb(t,r))}(r,n);qb(i,u),jb(i,o,i.q16_1),r.d16_1=0;Z&&(r.s17(),r.h1p(Y-r.q16_1|0),r.s17()),r.h1p(n-r.q16_1|0);var Q=r.z1f();Z&&(r.l17(),r.q19(),r.l17(),r.q19()),J=Q}else{var X=zb(r,n,u);Cb(r,h,o,n-1|0),J=X}else J=!1;return J&&Ny("Unexpectedly removed anchors"),i.l16_1=i.l16_1+(ik(c,v)?1:ek(c,v))|0,s&&(i.q16_1=v+u|0,i.f16_1=d+o|0),f&&pb(i,p),P}function ob(t,r,n,i,e,s,a,u){return _b(0,r,n,i,e,s,a=a===k||a)}function fb(t,r){var n=t.i1p();return t.j1p(r),n}function cb(t,r,n){var i,e=t.b16_1;if(null==e)i=null;else{var s,a=t.c17(r),u=e.b2(a);if(null==u){var l=new Fw(0,n,0);if(null==n)for(var h=r+1|0,_=t.q16_1;h<_;)l.k1p(t,h),h=h+Yb(t.y15_1,h)|0;var o=l;e.e2(a,o),s=o}else s=u;i=s}return i}function vb(t){var r=t.f16_1-t.l1p(t.s16_1)|0,n=t.p16_1,i=null==n?null:n.s(t.s16_1),e=null==i?null:i.p();return r+(null==e?0:e)|0}function wb(t,r,n,i,e){var s=t.s16_1,a=t.k16_1>0;t.o16_1.j14(t.l16_1);var u,l=t;if(a){var h=t.q16_1,_=Lb(t.y15_1,t,Eb(t,h));qb(t,1),t.f16_1=_,t.g16_1=_;var o=Eb(t,h),f=!(n===my().u17_1),c=!(i||e===my().u17_1),v=t.i16_1,w=Tb(0,_,t.h16_1,v,t.z15_1.length),d=w>=0&&t.j16_10){jb(t,p,h);var m=t.z15_1,y=t.f16_1;if(i){var g=y;y=g+1|0,m[g]=e}if(f){var b=y;y=b+1|0,m[b]=n}if(c){var k=y;y=k+1|0,m[k]=e}t.f16_1=y}t.l16_1=0;var x=h+1|0;if(t.s16_1=h,t.q16_1=x,s>=0){var q=Sb(t,s);null==q||q.k1p(t,h)}u=x}else{t.m16_1.j14(s),yb(t);var j=t.q16_1,z=Eb(t,j);pi(e,my().u17_1)||(i?t.n1p(e):t.m1p(e)),t.f16_1=Pb(t.y15_1,t,z),t.g16_1=Lb(t.y15_1,t,Eb(t,t.q16_1+1|0)),t.l16_1=ek(t.y15_1,z),t.s16_1=j,t.q16_1=j+1|0,u=j+Yb(t.y15_1,z)|0}l.r16_1=u}function db(t){var r=t.u16_1;if(null==r);else for(;r.ll();)mb(t,r.p1p(),r)}function pb(t,r){if(r>=0){var n,i=t.u16_1;if(null==i){var e=new Vw;t.u16_1=e,n=e}else n=i;n.q1p(r)}}function mb(t,r,n){var i,e,s,a=Eb(t,r),u=function(t,r){for(var n=r+1|0,i=r+t.c19(r)|0;n=0&&n.q1p(l)}}function yb(t){t.n16_1.j14(($b(t)-t.e16_1|0)-t.r16_1|0)}function gb(t){var r=($b(t)-t.e16_1|0)-t.n16_1.t15()|0;return t.r16_1=r,r}function bb(t,r,n,i){for(var e=Ub(t,r,t.d16_1),s=i;s=0))break t;h.o1b_1=0|-(e-_|0),l=l+1|0}}}(t,i,r),n>0){var e=t.y15_1,s=Sv(r,5),a=Sv(n,5),u=Sv(i,5);r=0||Ny("Unexpected anchor value, expected a positive anchor"),fk(t.y15_1,o,0|-(1+(_-v|0)|0)),(o=o+1|0)===c&&(o=o+t.e16_1|0)}else for(var w=Eb(t,s),d=Eb(t,h);w0){var n=t.q16_1;kb(t,n);var i=t.d16_1,e=t.e16_1,s=t.y15_1.length/5|0,a=s-e|0;if(e=i&&(t.r16_1=d+r|0),t.d16_1=i+r|0,t.e16_1=e-r|0;var p=Tb(0,a>0?Nb(t,n+r|0):0,t.j16_1=i&&(t.j16_1=b+r|0)}}function jb(t,r,n){if(r>0){xb(t,t.f16_1,n);var i=t.h16_1,e=t.i16_1;if(e=i&&(t.g16_1=m+r|0),t.h16_1=i+r|0,t.i16_1=e-r|0}}function zb(t,r,n){var i;if(n>0){var e=!1,s=t.a16_1;kb(t,r),s.x()||(e=function(t,r,n,i){var e=t.e16_1,s=r+n|0,a=$b(t)-e|0,u=ck(t.a16_1,r+n|0,a),l=u>=t.a16_1.p()?u-1|0:u,h=0,_=l+1|0;t:for(;l>=0;){var o=t.a16_1.s(l),f=t.v1a(o);if(!(f>=r))break t;fr){var l=u-n|0;t.j16_1=Math.max(r,l)}t.r16_1>=t.d16_1&&(t.r16_1=t.r16_1-n|0);var h=t.s16_1;(function(t,r){return r>=0&&Zb(t.y15_1,Eb(t,r))})(t,h)&&pb(t,h),i=e}else i=!1;return i}function Sb(t,r){var n,i=t.b16_1;if(null==i)n=null;else{var e=t.r1p(r);n=null==e?null:i.b2(e)}return n}function Cb(t,r,n,i){if(n>0){var e=t.i16_1;xb(t,r+n|0,i),t.h16_1=r,t.i16_1=e+n|0,Ne(t.z15_1,null,r,r+n|0);var s=t.g16_1;s>=r&&(t.g16_1=s-n|0)}}function Ab(t,r,n){var i=Eb(t,r);i=$b(r)?r.z15_1.length-r.i16_1|0:Hb(0,Xb(t,n),r.i16_1,r.z15_1.length)}function Pb(t,r,n){return n>=$b(r)?r.z15_1.length-r.i16_1|0:Hb(0,tk(t,n),r.i16_1,r.z15_1.length)}function Ob(t,r,n,i){fk(t,n,Tb(0,i,r.h16_1,r.i16_1,r.z15_1.length))}function Db(t,r,n){return Lb(t,r,n)}function Rb(t,r,n){return Lb(t,r,n)+vk(function(t,r){return t[Sv(r,5)+1|0]}(t,n)>>29)|0}function Tb(t,r,n,i,e){return r>n?0|-(1+((e-i|0)-r|0)|0):r}function Hb(t,r,n,i){return r<0?1+((i-n|0)+r|0)|0:r}function Ub(t,r,n){return r-2?r:(t.z1o()+r|0)- -2|0}function Bb(t){var r,n=t.d1p_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 Fw&&!s.e1p_1){i=s;break t}e=e-1|0}i=null}r=i}var a=r instanceof Fw?r:null,u=null==a?null:Bb(a);return null==u?t:u}function Kb(t,r){var n=t.d1p_1,i=null==n?Lt.b1():n;t.d1p_1=i,i.h(r)}function Gb(t,r){var n,i=t.d1p_1;if(null==i)n=null;else{var e;t:{var s=0,a=i.p()-1|0;if(s<=a)do{var u=s;s=s+1|0;var l=i.s(u);if(!!pi(l,r)||l instanceof Fw&&Gb(l,r)){e=!0;break t}}while(s<=a);e=!1}n=e}return!0===n}function Vb(t,r,n){var i;return i=rk(t,n)?r.g15_1[function(t,r){var n=Sv(r,5);return n>=t.length?t.length:t[n+4|0]+vk(t[n+1|0]>>29)|0}(t,n)]:my().u17_1,i}function Wb(t,r,n){return nk(t,n)?r.g15_1[lk(t,n)]:null}function Jb(t,r,n){var i=wk(t,r,n);return i>=0?t.s(i):null}function Yb(t,r){return t[Sv(r,5)+3|0]}function Zb(t,r){return!!(67108864&t[Sv(r,5)+1|0])}function Qb(t,r){return t[Sv(r,5)+2|0]}function Xb(t,r){return t[Sv(r,5)+4|0]}function tk(t,r){var n=Sv(r,5);return t[n+4|0]+vk(t[n+1|0]>>28)|0}function rk(t,r){return!!(268435456&t[Sv(r,5)+1|0])}function nk(t,r){return!!(536870912&t[Sv(r,5)+1|0])}function ik(t,r){return!!(1073741824&t[Sv(r,5)+1|0])}function ek(t,r){return 67108863&t[Sv(r,5)+1|0]}function sk(t,r){return!!(201326592&t[Sv(r,5)+1|0])}function ak(t,r){return t[Sv(r,5)]}function uk(t,r){return!!(134217728&t[Sv(r,5)+1|0])}function lk(t,r){var n=Sv(r,5);return t[n+4|0]+vk(t[n+1|0]>>30)|0}function hk(t,r,n){ky(n>=0),t[Sv(r,5)+3|0]=n}function _k(t,r,n){ky(n>=0&&n<67108863),t[Sv(r,5)+1|0]=-67108864&t[Sv(r,5)+1|0]|n}function ok(t,r,n){t[Sv(r,5)+2|0]=n}function fk(t,r,n){t[Sv(r,5)+4|0]=n}function ck(t,r,n){var i=wk(t,r,n);return i>=0?i:0|-(i+1|0)}function vk(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 wk(t,r,n){return function(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).o1b_1,u=fi(a<0?n+a|0:a,r);if(u<0)i=s+1|0;else{if(!(u>0))return s;e=s-1|0}}return 0|-(i+1|0)}(t,r,n)}function dk(t,r,n,i,e){var s=r,a=n;Ry(a,-1439883919,"C(collectAsState)49@1909L30:SnapshotFlow.kt#9igjgp"),1&e&&(s=Xa()),qy()&&jy(-1439883919,i,-1,"androidx.compose.runtime.collectAsState (SnapshotFlow.kt:49)");var u=function(t,r,n,i,e,s){var a={_v:n},u=i;Ry(u,-606625098,"C(collectAsState)P(1)65@2578L149,65@2541L186:SnapshotFlow.kt#9igjgp"),qy()&&jy(-606625098,e,-1,"androidx.compose.runtime.collectAsState (SnapshotFlow.kt:65)");var l=a._v;Ry(u,-498556383,"CC(remember):SnapshotFlow.kt#9igjgp");var h,_,o,f=!!(u.x1d(a._v)|u.x1d(t)),c=u.j1f();if(f||c===my().u17_1){var v=(_=new ed(a,t),(o=function(t,r){return _.a1s(t,r)}).$arity=1,o);u.k1f(v),h=v}else h=c;var w=null==h||null!=h?h:$i();Ty(u);var d=function(t,r,n,i,e,s){var a=e;Ry(a,-1703169085,"C(produceState)147@5571L41,148@5644L74,148@5617L101:ProduceState.kt#9igjgp"),qy()&&jy(-1703169085,s,-1,"androidx.compose.runtime.produceState (ProduceState.kt:146)"),Ry(a,2143085361,"CC(remember):ProduceState.kt#9igjgp");var u,l=a.j1f();if(l===my().u17_1){var h=kk(t);a.k1f(h),u=h}else u=l;var _=null==u||null!=u?u:$i();Ty(a);var o=_;Ry(a,2143087730,"CC(remember):ProduceState.kt#9igjgp");var f,c,v,w=a.x1d(i),d=a.j1f();if(w||d===my().u17_1){var p=(c=new Cw(i,o),(v=function(t,r){return c.c1m(t,r)}).$arity=1,v);a.k1f(p),f=p}else f=d;var m=null==f||null!=f?f:$i();return Ty(a),function(t,r,n,i,e){gg();var s=i;Ry(s,590241125,"C(LaunchedEffect)P(1,2)361@15275L64:Effects.kt#9igjgp"),qy()&&jy(590241125,e,-1,"androidx.compose.runtime.LaunchedEffect (Effects.kt:359)");var a=s.y1c();Ry(s,2064994906,"CC(remember):Effects.kt#9igjgp");var u,l=!!(s.k14(t)|s.k14(r)),h=s.j1f();if(l||h===my().u17_1){var _=new gw(a,n);s.k1f(_),u=_}else u=h;null==u||null!=u||$i(),Ty(s),qy()&&zy(),Ty(s)}(r,n,m,a,14&s>>3|112&s>>3),qy()&&zy(),Ty(a),o}(r,t,l,w,u,8&e>>3|14&e>>3|112&e<<3|896&e);return qy()&&zy(),Ty(u),d}(t,t.y1(),s,a,14&i|896&i<<3);return qy()&&zy(),Ty(a),u}function*pk(t,r,i){var e,s,a,u=(e=t.t1r_1,s=new td(e),a=function(t,r){return s.v1r(t,r)},a.$arity=1,a),l=t.s1r_1.vw(new rd(u),i);return l===iu()&&(l=yield l),n}function*mk(t,r,i){if(pi(t.w1r_1._v,Xa())){var e=(u=new nd(r),l=function(t,r){return u.v1r(t,r)},l.$arity=1,l),s=t.x1r_1.vw(new rd(e),i);s===iu()&&(s=yield s)}else{var a=Yh(t.w1r_1._v,function(t,r){var n=new id(t,r),i=function(t,r){return n.c1m(t,r)};return i.$arity=1,i}(t.x1r_1,r),i);a===iu()&&(a=yield a)}var u,l;return n}function yk(){var t=_c;return ge(t,fd)?t:$i()}function gk(){var t=oc;return ge(t,fd)?t:$i()}function bk(){var t=fc;return ge(t,fd)?t:$i()}function kk(t,r){return function(t,r){return new md(t,r)}(t,r=r===k?yk():r)}function xk(t){var r=t.f1t_1;return we("current",1,Ir,(function(t){return xk(t)}),null),r.y1()}function qk(t){return t.q14_1.i13_1}function jk(t){Ek(t)}function zk(t){!function(t,r,n){Ak(t,r=r!==k&&r)}(t),t.q1c()}function Sk(t,r){Ak(t,r)}function Ck(t,r,n){return Sk(t,r=r!==k&&r)}function Ak(t,r){var n=r?qk(t).m15_1:qk(t).k15_1,i=n-t.v14_1|0;i>=0||Ny("Tried to seek backward"),i>0&&(t.r14_1.p1u(i),t.v14_1=n)}function $k(t){t.b15_1>0&&(t.y14_1>=0?(function(t,r,n){jk(t),t.r14_1.n1u(r,n)}(t,t.y14_1,t.b15_1),t.y14_1=-1):(function(t,r,n,i){jk(t),t.r14_1.o1u(r,n,i)}(t,t.a15_1,t.z14_1,t.b15_1),t.z14_1=-1,t.a15_1=-1),t.b15_1=0)}function Ek(t){t.w14_1>0&&(t.r14_1.q1u(t.w14_1),t.w14_1=0),t.x14_1.ll()&&(t.r14_1.r1u(t.x14_1.z5()),t.x14_1.s1())}function Ik(){return cc===k&&new Id,cc}function Mk(){return vc===k&&new Md,vc}function Nk(){return wc===k&&new Nd,wc}function Lk(){return dc===k&&new Ld,dc}function Pk(){return pc===k&&new Pd,pc}function Ok(){return mc===k&&new Od,mc}function Dk(){return yc===k&&new Dd,yc}function Rk(){return gc===k&&new Rd,gc}function Tk(){return bc===k&&new Td,bc}function Hk(){return kc===k&&new Hd,kc}function Uk(){return qc===k&&new Fd,qc}function Fk(){return zc===k&&new Kd,zc}function Bk(){return Ac===k&&new Wd,Ac}function Kk(){return Ec===k&&new Yd,Ec}function Gk(){return Ic===k&&new Zd,Ic}function Vk(){return Mc===k&&new Qd,Mc}function Wk(){return Nc===k&&new Xd,Nc}function Jk(){return Lc===k&&new tp,Lc}function Yk(){return Pc===k&&new rp,Pc}function Zk(){return Oc===k&&new np,Oc}function Qk(){return Rc===k&&new ep,Rc}function Xk(){return Tc===k&&new sp,Tc}function tx(){return Hc===k&&new ap,Hc}function rx(){return Fc===k&&new lp,Fc}function nx(){return Bc===k&&new hp,Bc}function ix(t,r,n){for(;!t.u1p(n);)t.l17(),t.y19(t.s16_1)&&r.j10(),t.q19()}function ex(t){return hx(t)}function sx(t,r,i){var e=t,s=1<>>(32-r|0)|0}function hx(t){return Ai(t.g1t_1[t.h1t_1-1|0])}function _x(t){return new dp(t)}function*ox(t,r,i){var e=t.c1y_1.e1i_1,s=e.gl_1;t:{var a=e.fl_1,u=a.length-2|0,l=0;if(l<=u)do{var h=l;l=l+1|0;var _=a[h],o=_;if(!o.a3(o.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var f=8-(~(h-u)>>>31|0)|0,c=0;if(c30){for(t.b20_1[s].p20(i.v1y_1,i.v1y_1.length,0);!pi(t.b20_1[s].l20(),e);)t.b20_1[s].q20();return t.c20_1=s,n}var u=1<0&&t.b20_1[i-1|0].e21(),t.b20_1[i].b21(Nx().j1y_1.v1y_1,0)}while(0<=r);t.d20_1=!1}function dx(t){if(!t.m())throw pr.p4()}function px(t){return new Hp(t,1)}function mx(t){return new Hp(t,0)}function yx(t,r){return!!(t.t1y_1&r)}function gx(t,r){var n=t.v1y_1[r];return null==n||null!=n?n:$i()}function bx(t,r){var n=t.v1y_1[r+1|0];return null==n||null!=n?n:$i()}function kx(t,r,n,i){var e=i.v1y_1;if(2===e.length&&0===i.t1y_1){if(1===t.v1y_1.length)return i.s1y_1=t.t1y_1,i;var s=t.r20(n),a=function(t,r,n,i,e){var s=Pe(t,t.length+1|0);return Je(s,s,r+2|0,r+1|0,t.length),Je(s,s,n+2|0,n,r),s[n]=i,s[n+1|0]=e,s}(t.v1y_1,r,s,e[0],e[1]);return Fp.x21(t.s1y_1^n,t.t1y_1^n,a)}var u=Pe(t.v1y_1,t.v1y_1.length);return u[r]=i,Fp.x21(t.s1y_1,t.t1y_1,u)}function xx(t,r,n,i){if(1===t.v1y_1.length&&2===n.v1y_1.length&&0===n.t1y_1)return n.s1y_1=t.t1y_1,n;if(t.u1y_1===i)return t.v1y_1[r]=n,t;var e=t.v1y_1.slice();return e[r]=n,Fp.y21(t.s1y_1,t.t1y_1,e,i)}function qx(t,r,n,i,e,s,a,u){var l=gx(t,r),h=null==l?null:mi(l),_=jx(t,null==h?0:h,l,bx(t,r),i,e,s,a+5|0,u),o=t.u20(n)+1|0;return function(t,r,n,i){var e=n-2|0,s=1+(t.length-2|0)|0,a=Qn(Array(s),null);return Je(t,a,0,0,r),Je(t,a,r,r+2|0,n),a[e]=i,Je(t,a,e+1|0,n,t.length),a}(t.v1y_1,r,o,_)}function jx(t,r,n,i,e,s,a,u,l){if(u>30){var h=[n,i,s,a];return Fp.y21(0,0,h,l)}var _=Ox(r,u),o=Ox(e,u);if(_!==o){var f=_0&&i<=e||s<0&&e<=i)do{var a=i;if(i=i+s|0,pi(r,t.v1y_1[a]))return!0}while(a!==e);return!1}function $x(t,r,n,i,e,s){var a;if(yx(t,n)){var u,l=t.v20(t.u20(n));if(yx(r,n)){var h=r.v20(r.u20(n));u=l.v1z(h,i+5|0,e,s)}else if(r.t20(n)){var _=r.r20(n),o=gx(r,_),f=bx(r,_),c=s.p(),v=null==o?null:mi(o),w=null==v?0:v,d=l.u1z(w,o,f,i+5|0,s);s.p()===c&&(e.w1z_1=e.w1z_1+1|0),u=d}else u=l;a=u}else if(yx(r,n)){var p,m=r.v20(r.u20(n));if(t.t20(n)){var y,g=t.r20(n),b=gx(t,g),k=null==b?null:mi(b),x=null==k?0:k;if(m.w1y(x,b,i+5|0))e.w1z_1=e.w1z_1+1|0,y=m;else{var q=bx(t,g),j=null==b?null:mi(b),z=null==j?0:j;y=m.u1z(z,b,q,i+5|0,s)}p=y}else p=m;a=p}else{var S=t.r20(n),C=gx(t,S),A=bx(t,S),$=r.r20(n),E=gx(r,$),I=bx(r,$),M=null==C?null:mi(C),N=null==M?0:M,L=null==E?null:mi(E);a=jx(t,N,C,A,null==L?0:L,E,I,i+5|0,s.h1z_1)}return a}function Ex(t){if(0===t.t1y_1)return t.v1y_1.length/2|0;var r=Te(t.s1y_1),n=r,i=Sv(r,2),e=t.v1y_1.length;if(i>r&31}function Dx(t,r){var n=t.length-2|0,i=Qn(Array(n),null);return Je(t,i,0,0,r),Je(t,i,r,r+2|0,t.length),i}function Rx(){return Vc===k&&new Bp,Vc}function Tx(t,r,n){return Gx(),new km(t,r,n)}function Hx(t,r){return Gx(),null==t||!!(t instanceof $w&&r instanceof $w)&&(!t.w1f()||pi(t,r)||pi(t.u11_1,r.u11_1))}function Ux(t){return Gx(),Bx(2,t)}function Fx(t){return Gx(),Bx(1,t)}function Bx(t,r){return Gx(),t<0?-2:-1;for(var i=0;i<=n;){var e=(i+n|0)>>>1|0,s=t.a1t_1[e].r2(r);if(s.k1(new bt(0,0))<0)i=e+1|0;else{if(!(s.k1(new bt(0,0))>0))return e;n=e-1|0}}return 0|-(i+1|0)}function Yx(t,r,n){null!=n?t.k(n(r)):null==r||ke(r)?t.k(r):r instanceof ht?t.q9(r.hh_1):t.k(Yn(r))}function Zx(){return Pq(),Xc}function Qx(){return Pq(),tv}function Xx(){return Pq(),rv}function tq(t){Pq(),nv=t}function rq(){return Pq(),nv}function nq(t){Pq(),iv=t}function iq(){return Pq(),iv}function eq(){return Pq(),ev}function sq(){return Pq(),sv}function aq(t){Pq(),av=t}function uq(){return Pq(),av}function lq(t){Pq(),uv=t}function hq(){return Pq(),uv}function _q(){return Pq(),lv}function oq(){return Pq(),hv}function fq(){return Pq(),_v}function cq(){return fv===k&&new um,fv}function vq(){return cv===k&&new _m,cv}function wq(t){Pq(),eq().u25(t)}function dq(){Pq();var t=Qx().qs();return null==t?_q().qs():t}function pq(t){Pq();var r,n=oq(),i=n instanceof fm?n:$i();Xx(),null!=(r=(i=_q().qs()).p23())&&fq().ui(1);var e=xq(i,t),s=r;if(null==s);else try{var a=uq(),u=0,l=a.p()-1|0;if(u<=l)do{var h=u;u=u+1|0,a.s(h)(_x(s),i)}while(u<=l)}finally{fq().ui(-1)}Xx(),qq();var _=r;if(null==_);else{var o=_.gl_1;t:{var f=_.fl_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 bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var m=8-(~(w-c)>>>31|0)|0,y=0;if(y>>31|0)|0,w=0;if(w=e){_=f;break t}c.j1s_11}function Aq(t,r,n){return Pq(),function(t,r,n){return Pq(),!(0===r)&&r<=t&&!n.s(r)}(r,t.j1s_1,n)}function $q(t,r){Pq();var n=ov.f10(),i=n.x23();null==i||i(r);var e,s=zq(t,n.m1b(),n.q23());if(null==s){Xx();var a,u=ov.f10(),l=r.o1s(),h=zq(l instanceof ad?l:$i(),u.m1b(),u.q23());null==h?Sq():a=h,e=a}else e=s;return e}function Eq(t){Pq();var r,n=ov.f10(),i=zq(t,n.m1b(),n.q23());if(null==i){Xx();var e=ov.f10();r=zq(t,e.m1b(),e.q23())}else r=i;var s,a=r;return null==a?Sq():s=a,s}function Iq(t,r){Pq(),t.t23(t.u23()+1|0);var n=t.y23();null==n||n(r)}function Mq(t,r,n,i){Pq(),n.v23()&&n.z23(r);var e=n.m1b();if(i.j1s_1===e)return i;Xx();var s=function(t,r){Pq();var n,i=function(t){Pq();for(var r=t.o1s(),n=null,i=eq().k26(iq())-1|0,e=Tq().m24_1;null!=r;){if(0===r.j1s_1)return r;if(Aq(r,i,e)){if(null!=n)return r.j1s_10;){var s=(e+1>>1)-1|0;if(!(n[s]>i))break t;Dq(t,s,e),e=s}}function Dq(t,r,n){var i=t.q25_1,e=t.r25_1,s=t.s25_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*Rq(t,r,i){var e=t.q26_1.g24_1;if(null!=e)for(var s=0,a=e.length;s>>1|0,s=t[e];if(r>s)n=e+1|0;else{if(!(r0)throw vr.f1("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 bt(1,-1073741824),new bt(-1,1073741823)),r=pu(n.x2(1).q2(fe(1)))),r}(Gs(ja(t,r,za())))}(t,za()),e=r(function(t){var r,n=mu(t);if(yu(t))r=n;else{var i=new bt(-1,2147483647).t2(fe(1e6));if(n.k1(i)>0)r=new bt(-1,2147483647);else{var e=new bt(0,-2147483648).t2(fe(1e6));r=n.k1(e)<0?new bt(0,-2147483648):gu(n)}}return r}(i)),a=e;return s.ta(a),n}));var a=Ci(e.lb());return a===iu()&&(a=yield a),a}function Yq(){gv||(gv=!0,yv=1,new xm)}function Zq(t,r){r(t,1)}ae(Cv,"Applier"),qi(Ev).g10=Av,qi(Ev).h10=$v,ee(Ev,"OffsetApplier",k,k,[Cv]),qi(Iv).g10=Av,qi(Iv).h10=$v,ee(Iv,"AbstractApplier",k,k,[Cv]),ee(Mv,"FrameAwaiter"),ae(Nv,"MonotonicFrameClock",k,k,[fn],[1]),qi(Pv).x1=Lv,qi(Pv).eb=cn,qi(Pv).sg=vn,qi(Pv).rg=wn,qi(Pv).tg=on,ee(Pv,"BroadcastFrameClock",Pv,k,[Nv],[1]),ae(Ov,"ComposeNodeLifecycleCallback"),ee(Dv,"Invalidation"),ae(Rv,"RememberObserver"),ae(Tv,"ReusableRememberObserver",k,k,[Rv]),ee(Hv,"CompositionContextHolder",k,k,[Tv]),ee(Uv),ae(Fv,"Composer"),ee(Bv,"ComposerImpl",k,k,[Fv]),ee(Kv),le(Gv),ee(Vv,"InvalidationResult"),ee(Wv,"MovableContentStateReference"),ee(Jv,"MovableContentState"),ee(Yv,"MovableContent"),ee(Zv,"ComposeRuntimeError"),ee(Qv,"ProvidedValue"),ee(Xv,"RememberObserverHolder"),ee(tw,"Pending"),le(rw),ee(nw,"GroupInfo"),ee(iw,"MutableScatterMultiMap"),ee(ew,"sam$kotlin_Comparator$0",k,k,[qt,kt]),ee(sw,"RememberEventDispatcher"),ae(aw,"RecomposeScopeOwner"),ee(uw,"CompositionImpl",k,k,[aw]),ee(lw,"CompositionObserverHolder",lw),se(hw,"ComposableSingletons$CompositionKt"),se(_w,"ScopeInvalidated"),ee(ow),ee(fw,"CompositionContext"),ee(cw,"CompositionLocal"),ee(vw,"ProvidableCompositionLocal"),ee(ww,"StaticProvidableCompositionLocal"),ee(dw,"DynamicProvidableCompositionLocal"),ae(pw,"PersistentCompositionLocalMap",k,k,[vt]),ae(mw,"DerivedState"),ee(yw,"DisposableEffectScope",yw),ee(gw,"LaunchedEffectImpl",k,k,[Rv]),ee(bw,"PlatformOptimizedCancellationException"),ee(kw,"LeftCompositionCancellationException",kw.o1l),ee(xw,"JoinedKey"),se(qw,"Key"),ee(jw,"OpaqueKey"),ae(zw,"ProduceStateScope",k,k,[ql],[1]),ee(Sw,"ProduceStateScopeImpl",k,k,[zw],[1]),ue(Cw,k,k,[1]),le(Aw),ee($w,"RecomposeScopeImpl"),ue(Ew,k,k,[1]),ee(Iw,"State"),ee(Mw,"RecomposerInfoImpl"),ee(Nw,"RecomposerErrorState"),le(Lw),ue(Pw,k,k,[2]),ue(Ow,k,k,[1]),ee(Dw,"Recomposer",k,k,k,[0,1,2]),ee(Rw,"SlotTable",Rw),le(Tw),ee(Hw,"SlotWriter"),ee(Uw,"Anchor"),ee(Fw,"GroupSourceInformation"),ee(Bw,"SlotReader"),ee(Kw,"GroupIterator"),ee(Gw,"SlotTableGroup"),ee(Vw,"PrioritySet",Vw),ee(Ww,"KeyInfo"),ee(Jw,"SourceInformationGroupIterator"),ee(Yw,"SourceInformationGroupPath"),ee(Zw,"AnchoredGroupPath"),ee(Qw,"SourceInformationSlotTableGroup"),ee(Xw,"RelativeGroupPath"),ue(td,k,k,[1]),ee(rd,"sam$kotlinx_coroutines_flow_FlowCollector$0",k,k,[gh,kt],[1]),ue(nd,k,k,[1]),ue(id,k,k,[1]),ue(ed,k,k,[1]),ae(sd,"MutableIntState"),ee(ad,"StateRecord"),ee(ud,"IntStateStateRecord"),ae(ld,"StateObject"),qi(hd).q1s=function(t,r,n){return null},ee(hd,"StateObjectImpl",k,k,[ld]),ae(_d,"SnapshotMutableState"),qi(od).b1s=function(t){this.c1s(t)},qi(od).y1=function(){return this.d1s()},ee(od,"SnapshotMutableIntStateImpl",k,k,[hd,sd,_d]),ae(fd,"SnapshotMutationPolicy"),qi(vd).r1s=cd,se(vd,"StructuralEqualityPolicy",k,k,[fd]),qi(wd).r1s=cd,se(wd,"ReferentialEqualityPolicy",k,k,[fd]),qi(dd).r1s=cd,se(dd,"NeverEqualPolicy",k,k,[fd]),ee(pd,"StateStateRecord"),ee(md,"SnapshotMutableStateImpl",k,k,[hd,_d]),ee(yd,"SnapshotThreadLocal",yd),ee(gd,"IntStack",gd),ee(bd,"Stack",bd),ee(kd,"LazyValueHolder"),ee(xd,"DynamicValueHolder"),ee(qd,"StaticValueHolder"),ee(jd,"ComputedValueHolder"),ee(zd,"OperationsDebugStringFormattable"),ee(Sd,"ChangeList",Sd),le(Cd),ee(Ad,"ComposerChangeListWriter"),ee($d,"FixupList",$d),ee(Ed,"Operation"),se(Id,"Ups"),se(Md,"Downs"),se(Nd,"AdvanceSlotsBy"),se(Ld,"SideEffect"),se(Pd,"Remember"),se(Od,"AppendValue"),se(Dd,"TrimParentValues"),se(Rd,"UpdateValue"),se(Td,"UpdateAnchoredValue"),se(Hd,"UpdateAuxData"),se(Ud,"EnsureRootGroupStarted"),se(Fd,"EnsureGroupStarted"),se(Bd,"RemoveCurrentGroup"),se(Kd,"MoveCurrentGroup"),se(Gd,"EndCurrentGroup"),se(Vd,"SkipToEndOfCurrentGroup"),se(Wd,"EndCompositionScope"),se(Jd,"UseCurrentNode"),se(Yd,"UpdateNode"),se(Zd,"RemoveNode"),se(Qd,"MoveNode"),se(Xd,"InsertSlots"),se(tp,"InsertSlotsWithFixups"),se(rp,"InsertNodeFixup"),se(np,"PostInsertNodeFixup"),se(ip,"ResetSlots"),se(ep,"DetermineMovableContentNodeIndex"),se(sp,"CopyNodesToNewAnchorLocation"),se(ap,"CopySlotTableToAnchorLocation"),se(up,"EndMovableContentPlacement"),se(lp,"ReleaseMovableGroupAtCurrent"),se(hp,"ApplyChangeList"),ee(_p,k,k,k,[aw]),ee(op,"OpIterator"),le(fp),ee(cp,"Operations",cp),ee(vp,"MutableVector"),ue(wp,k,k,[1]),ee(dp,"ScatterSetWrapper",k,k,[pt]),ee(pp,"ScopeMap",pp),le(mp),ee(yp,"PersistentHashMap",k,k,[Et,vt]),ee(gp,"PersistentHashMapBuilder",k,k,[dt,It]),ee(bp,"PersistentHashMapBuilderEntriesIterator"),ee(kp,"PersistentHashMapBaseIterator"),ee(xp,"PersistentHashMapBuilderBaseIterator"),ee(qp,"PersistentHashMapBuilderKeysIterator"),ee(jp,"PersistentHashMapBuilderValuesIterator"),ee(zp,"TrieNodeBaseIterator"),ee(Sp,"TrieNodeMutableEntriesIterator"),ee(Cp,"MapEntry",k,k,[ct]),ee(Ap,"MutableMapEntry",k,k,[Cp,wt]),ee($p,"AbstractMapBuilderEntries"),ee(Ep,"PersistentHashMapBuilderEntries"),ee(Ip,"PersistentHashMapBuilderKeys",k,k,[pt,_t,Mt]),ee(Mp,"PersistentHashMapBuilderValues",k,k,[_t,zt]),ee(Np,"PersistentHashMapKeysIterator"),ee(Lp,"PersistentHashMapEntriesIterator"),ee(Pp,"TrieNodeKeysIterator",Pp),ee(Op,"TrieNodeValuesIterator",Op),ee(Dp,"TrieNodeEntriesIterator",Dp),ee(Rp,"PersistentHashMapKeys",k,k,[pt,_t,Fr]),ee(Tp,"PersistentHashMapEntries",k,k,[pt,_t,Fr]),ee(Hp,"ModificationResult"),le(Up),ee(Fp,"TrieNode"),le(Bp),ee(Kp,"PersistentOrderedSet",k,k,[Fr,pt,_t]),ee(Gp,"Links",Gp.g22),ee(Vp,"PersistentOrderedSetIterator"),se(Wp,"EndOfChain"),ee(Jp,"MutabilityOwnership",Jp),ee(Yp,"DeltaCounter",Yp),ee(Zp,"IntRef",Zp),ee(Qp,"Builder",k,k,[gp,dt]),le(Xp),ee(tm,"PersistentCompositionLocalHashMap",k,k,[yp,pw]),ee(rm,"ThreadMap"),ae(nm,"ObserverHandle"),ee(im,"sam$androidx_compose_runtime_snapshots_ObserverHandle$0",k,k,[nm,kt]),ee(em,"sam$androidx_compose_runtime_snapshots_ObserverHandle$0",k,k,[nm,kt]),le(sm),ee(am,"Snapshot"),le(um),ee(lm,"MutableSnapshot"),ee(hm,"SnapshotApplyResult"),se(_m,"Success"),ee(om,"Failure"),ee(fm,"GlobalSnapshot"),ee(cm,"NestedMutableSnapshot"),ee(vm,"SnapshotDoubleIndexHeap",vm),le(wm),ue(dm,k,k,[1]),ee(pm,"SnapshotIdSet"),ee(mm,"SnapshotWeakSet",mm),le(ym),ee(gm,"AtomicReference"),ee(bm,"AtomicInt"),ee(km,"ComposableLambdaImpl"),qi(xm).x1=Lv,qi(xm).eb=cn,qi(xm).sg=vn,qi(xm).rg=wn,qi(xm).tg=on,ee(xm,"MonotonicClockImpl",xm,k,[Nv],[1]),se(qm,"Trace"),ee(jm,"IntMap",jm),ee(zm,"WeakReference"),Kf=new _w,Qf=new qw,Xf=new Aw,new Tw,_c=new vd,oc=new wd,fc=new dd,new Cd,new fp,Wc=new Wp,ov=new sm,new ym,bv=new qm;class Qq{constructor(t,r,n,i,e){this.s2a_1=t,this.t2a_1=r,this.u2a_1=n,this.v2a_1=i,this.w2a_1=e,this.x2a_1=null,this.y2a_1=function(){var t,r=this.s2a_1,n=this.v2a_1;if(null==n)throw vr.f1(yi("Value should be initialized"));return t=n,r.c2b(this,t)}.bind(this)}a2b(t,r,n,i,e){var s=!1;if(this.t2a_1!==r&&(this.t2a_1=r,s=!0),this.u2a_1!==n&&(this.u2a_1=n,s=!0),this.s2a_1=t,this.v2a_1=i,this.w2a_1=e,null!=this.x2a_1&&s){var a=this.x2a_1;null==a||a.d2b(),this.x2a_1=null,ej(this)}}u1i(){ej(this)}t1i(){var t=this.x2a_1;null==t||t.d2b()}v1i(){var t=this.x2a_1;null==t||t.d2b()}z2a(t){return Oe(t,this.w2a_1)?this.v2a_1:null}}class Xq{constructor(t,r,n){this.f2b_1=t,this.g2b_1=r,this.h2b_1=n}d2b(){var t=this.f2b_1.k2b_1.f2(this.g2b_1);if(null==t||t.q1(this.h2b_1),null!=t&&!t.x()){var r=this.f2b_1.k2b_1,n=this.g2b_1;r.e2(n,t)}}}class tj{constructor(t,r){this.i2b_1=r;var n,i=null==t?null:Ga(t);n=null==i?tr.da():i,this.j2b_1=n,this.k2b_1=tr.da()}e2b(t){return this.i2b_1(t)}q2a(t){var r,n=this.j2b_1.f2(t);if(null==n||n.x())r=null;else{if(n.p()>1){var i=this.j2b_1,e=n.p1(1,n.p());i.e2(t,e)}r=n.s(0)}return r}b2b(t,r){if(function(t){uj();var r=!0,n=0,i=_i(t);if(n0}n(){var t=this.a27_1.w26(),r=this.z26_1;return this.z26_1=r-1|0,this.a27_1.y26(t-r|0)}}class bj{constructor(t){this.b27_1=t}l(){return new gj(this.b27_1)}}class kj{constructor(t){this.d27_1=t,this.c27_1=t.w26()}m(){return this.c27_1>0}n(){var t=this.d27_1.w26(),r=this.c27_1;return this.c27_1=r-1|0,this.d27_1.x26(t-r|0)}}class xj{constructor(t){this.e27_1=t}l(){return new kj(this.e27_1)}}class qj{constructor(t){this.f27_1=t,this.g27_1=!1,this.h27_1=Ra(),this.i27_1=Lt.b1(),this.j27_1=Kt.g8(),this.k27_1=Lt.b1(),this.l27_1=Lt.b1(),this.m27_1=Lt.b1()}}class jj{}class zj{constructor(t,r,n,i,e){var s;this.n27_1=t,this.o27_1=r,this.p27_1=n,this.q27_1=e.h27_1,this.r27_1=Fn(s=e.i27_1,Kt.z(Ua(s,12)));var a=e.i27_1;this.s27_1=Ze(a),this.t27_1=Fj(e.k27_1);var u=e.l27_1;this.u27_1=Ze(u),this.v27_1=function(t){for(var r=ti(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.m27_1);for(var l=function(t){return new Qr((function(){return Xn(t)}))}(this.s27_1),h=Lt.q(Ua(l,10)),_=l.l();_.m();){var o=_.n(),f=zu(o.pf_1,o.of_1);h.h(f)}this.w27_1=Ba(h),this.x27_1=Fj(i),this.y27_1=Bs(function(){return Kj(this,this.x27_1)}.bind(this))}u26(){return this.n27_1}v26(){return this.o27_1}w26(){return this.p27_1}z27(){return this.r27_1}x26(t){return Wj(this.s27_1,t)}y26(t){return Wj(this.t27_1,t)}equals(t){var r;t:if(this!==t)if(t instanceof zj)if(this.u26()===t.u26())if(Oe(this.x27_1,t.x27_1))if(this.w26()===t.w26()){var n=0,i=this.w26();if(n"}}class Mj{constructor(t,r,n){r=r===k?null:r,this.d28_1=t,this.e28_1=r,this.f28_1=n,this.g28_1=-1;for(var i=0,e=this.f28_1,s=Qn(Array(e),null);i=0)){var r="value must be non-negative: "+t;throw vr.f1(yi(r))}return t}function Lz(t){return t+".dp"}function Pz(t){return ai(t)}function Oz(){if(Xj)return n;Xj=!0,Yj=new jz("Ltr",0),Zj=new jz("Rtl",1),Qj=new jz("Auto",2)}function Dz(){return Oz(),Yj}function Rz(){return Oz(),Zj}function Tz(){return Oz(),Qj}function Hz(){return tz===k&&new zz,tz}le(kz),le(xz),ee(qz,"Density"),ee(jz,"LayoutDirection"),le(zz),ee(Sz,"Margin",Sz),le(Cz),ee(Az,"Px"),le($z),ee(Ez,"Size"),le(Iz),ee(Mz,"UiConfiguration",Mz),Jj=new kz,new xz,new Cz;class Uz{}class Fz{constructor(t){this.b2a_1=t,this.c2a_1=Lt.b1()}d2a(){return this.c2a_1}e2a(t,r){this.c2a_1.u1(t,r);var n=this.b2a_1.children[t];this.b2a_1.insertBefore(r.y1(),n)}f2a(t,r){return this.e2a(t,r)}n10(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 u=t.v1(r);t.u1(e,u)}else{var l=t.p1(r,r+i|0),h=Un(l);l.s1(),t.r1(e,h)}}(this.c2a_1,t,r,n);for(var i=0,e=Qn(Array(n),null);it?r-n|0:r,_=0,o=0,f=l.length;o (RedwoodComposition.kt:157)");var u=dk(this.u2b_1,null,a,0,1),l=[(uS(),iz).n1k(this.s2b_1),sj().n1k(this.t2b_1),(cS(),az).n1k((s=u,de("uiConfiguration",Nr,!1,(function(){return Ei()})),s.y1()))],h=Kx(270222480,!0,(function(r,i){var e=r;return 2==(3&i)&&e.k1a()?e.l17():(qy()&&jy(270222480,i,-1,"app.cash.redwood.compose.WidgetRedwoodComposition.setContent.. (RedwoodComposition.kt:163)"),t(e,0),qy()&&zy()),n}),a,54),_=a;Ry(_,1157296644,"CC(remember)P(1):Composables.kt#9igjgp");var o,f=_.k14(h),c=_.j1f();if(f||c===my().u17_1){var v=(e=h,function(t,r){return e.v1c(t,r)});_.k1f(v),o=v}else o=c;var w=null==o||null!=o?o:$i();Ty(_),vg(l,w,a,56),qy()&&zy()}return n}.bind(this)),function(t,n){return r.v1c(t,n)}))}}class Qz{constructor(){sz=this,this.c2c_1=new Xz}}class Xz{constructor(){hS()}d2c(t,r,i,e){var s=i;s=s.r1e(1209127542);var a=e;if(6&e||(a|=s.x1d(t)?4:2),48&e||(a|=s.x1d(r)?32:16),18==(19&a)&&s.k1a())s.l17();else{qy()&&jy(1209127542,a,-1,"app.cash.redwood.compose.RedwoodComposeContent.Children (RedwoodComposition.kt:233)"),s.a1d(-1526419145);var u,l=s,h=4==(14&a),_=l.j1f();if(h||_===my().u17_1){var o=function(){return nS.i2c("function"==typeof t?t:$i())};l.k1f(o),u=o}else u=_;var f=null==u||null!=u?u:$i();s.c1d();var c=896&a<<3,v=s;Ry(v,-548224868,"CC(ComposeNode)P(1,2)336@12596L9:Composables.kt#9igjgp"),ge(v.w1c(),Cv)||function(){throw fr.l3(yi("Invalid applier"))}(),v.t17(),v.j1d()?v.l1d(f):v.o1d(),r(v,14&c>>6),v.q1d(),Ty(v),qy()&&zy()}var w=this,d=s.s1e();null==d||d.v1k((function(i,s){return w.d2c(t,r,i,Cg(1|e)),n}))}}class tS extends Iv{constructor(t,r,n){super(nS.j2c(r)),this.n2c_1=t,this.o2c_1=n,this.p2c_1=!1,this.q2c_1=new Set}r2c(){return this.n2c_1}s2c(t){ge(t,Uz)&&this.q2c_1.add(t)}h10(){if(this.p2c_1)throw fr.l3(yi("Check failed."));var t=this.q2c_1;t.forEach(vS),t.clear(),this.o2c_1()}t2c(t,r){if(this.p2c_1)throw fr.l3(yi("Check failed."));if(r instanceof nS){var n=this.f10(),i=n instanceof eS?n:$i();r.y2c(i.v2c_1)}}k10(t,r){return this.t2c(t,null!=r&&ge(r,rS)?r:$i())}z2c(t,r){if(this.p2c_1)throw fr.l3(yi("Check failed."));if(r instanceof eS){var n=r instanceof eS?r:$i(),i=this.f10(),e=i instanceof nS?i:$i();e.a2d(t,n);var s=e.hn();null==s||this.s2c(s)}}l10(t,r){return this.z2c(t,null!=r&&ge(r,rS)?r:$i())}m10(t,r){if(this.p2c_1)throw fr.l3(yi("Check failed."));var n=this.f10(),i=n instanceof nS?n:$i();i.m10(t,r);var e=i.hn();null==e||this.s2c(e)}n10(t,r,n){if(this.p2c_1)throw fr.l3(yi("Check failed."));var i=this.f10(),e=i instanceof nS?i:$i();e.n10(t,r,n);var s=e.hn();null==s||this.s2c(s)}}class rS{}class nS{static b2d(t,r,n){var i=ji(this);return i.e2c_1=t,i.f2c_1=n,i.g2c_1=[],i.h2c_1=r,i}static i2c(t){return this.b2d(t,null,null)}static j2c(t){return this.b2d(null,null,t)}a2d(t,r){var n=this.g2c_1,i=t,e=n.length;if(in?n:n-i|0,s=t.splice(r,i),a=0;if(a=0)){var r="value must be non-negative: "+t;throw vr.f1(yi(r))}return t}(n)))}handleEvent(t){return this.h2f(t)}}class HS{constructor(t,r,n){this.x2e_1=t,this.y2e_1=n,this.x2e_1.style.display="flex",this.x2e_1.style.flexDirection=r,this.z2e_1=new US(this.x2e_1),this.a2f_1=null,this.b2f_1=Jj}e2e(t){this.x2e_1.style.width=GS(t)}f2e(t){this.x2e_1.style.height=GS(t)}g2e(t){var r=this.x2e_1.style;VS(r,KS(t.n29_1)),WS(r,KS(t.o29_1)),r.marginTop=KS(t.p29_1),r.marginBottom=KS(t.q29_1)}h2e(t){this.y2e_1(this.x2e_1.style,function(t){var r;if(t===LS().j2d_1)r="hidden";else{if(t!==LS().k2d_1)throw gr.sc();r="scroll"}return r}(t))}k2e(t){var r=this.a2f_1;if(null==r||(this.x2e_1.removeEventListener("scroll",r),this.a2f_1=null),null!=t){var n=new TS(this,t);this.a2f_1=n;var i=n;this.x2e_1.addEventListener("scroll",i)}}d2f(t){this.x2e_1.style.alignItems=function(t){var r;if(t===PS().m2d_1)r="start";else if(t===PS().n2d_1)r="center";else if(t===PS().o2d_1)r="end";else{if(t!==PS().p2d_1)throw gr.sc();r="stretch"}return r}(t)}e2f(t){this.x2e_1.style.justifyContent=function(t){var r;if(t===OS().r2d_1)r="start";else if(t===OS().s2d_1)r="center";else if(t===OS().t2d_1)r="end";else if(t===OS().u2d_1)r="space-between";else if(t===OS().v2d_1)r="space-around";else{if(t!==OS().w2d_1)throw gr.sc();r="space-evenly"}return r}(t)}}class US{constructor(t,r){r=r===k?new Fz(t):r,this.i2f_1=t,this.j2f_1=r}g2a(t,r){BS(r,0,!0),this.j2f_1.g2a(t,r)}h2a(t,r){return this.g2a(t,r)}e2a(t,r){BS(r,0,!1),this.j2f_1.e2a(t,r)}f2a(t,r){return this.e2a(t,r)}n10(t,r,n){this.j2f_1.n10(t,r,n)}m10(t,r){this.j2f_1.m10(t,r)}d2a(){return this.j2f_1.d2a()}}function FS(t,r){return t.overflowY=r,n}function BS(t,r,i){if(i){var e=t.y1().style;e.removeProperty("margin-inline-start"),e.removeProperty("margin-inline-end"),e.removeProperty("margin-top"),e.removeProperty("margin-bottom"),e.removeProperty("flex-grow"),e.removeProperty("flex-shrink"),e.removeProperty("flex"),e.removeProperty("width"),e.removeProperty("height")}t.c2f().j29((function(r){if(ge(r,kS)){var i=t.y1().style;VS(i,KS(r.z2d().n29_1)),WS(i,KS(r.z2d().o29_1)),i.marginTop=KS(r.z2d().p29_1),i.marginBottom=KS(r.z2d().q29_1)}else if(ge(r,gS))t.y1().style.flexGrow=r.y1().toString();else if(ge(r,xS))t.y1().style.flexShrink=r.y1().toString();else if(ge(r,yS))t.y1().style.flex=r.y1().toString();else if(ge(r,jS))t.y1().style.width=KS(r.a2e());else if(ge(r,bS))t.y1().style.height=KS(r.y2d());else if(ge(r,qS)){var e=t.y1().style;e.width=KS(r.a2e()),e.height=KS(r.y2d())}return n}))}function KS(t){return function(t){if(De(t))throw vr.f1("Cannot round NaN value.");return t>2147483647?2147483647:t<-2147483648?-2147483648:_e(Math.round(t))}(1*t*1)+"px"}function GS(t){var r;if(t===NS().g2d_1)r="auto";else{if(t!==NS().h2d_1)throw gr.sc();r="100%"}return r}function VS(t,r){t.setProperty("margin-inline-start",r)}function WS(t,r){t.setProperty("margin-inline-end",r)}ee(DS,"HTMLElementRedwoodLayoutWidgetFactory"),ee(RS,"HTMLColumn"),ee(TS),ee(HS,"HTMLFlexContainer"),ee(US,"HTMLFlexElementChildren");class JS{b2e(t,r,n){}}le(JS),vz=new JS;class YS{}class ZS{constructor(t,r){this.l2e_1=t,this.m2e_1=r}n2e(){return this.l2e_1}c2e(){return this.m2e_1}d2d(t,r){wz.o2e(this.l2e_1,t,r),vz.b2e(this.m2e_1,t,r)}}class QS{o2e(t,r,n){}}function XS(t,r,i,e,s,a,u){var l={_v:r},h={_v:i},_={_v:e},o=s;o=o.r1e(-1072252343);var f=a;if(1&u?f|=6:6&a||(f|=o.k14(t)?4:2),2&u?f|=48:48&a||(f|=o.y1d(l._v)?32:16),4&u?f|=384:384&a||(f|=o.x1d(h._v)?256:128),8&u?f|=3072:3072&a||(f|=o.k14(_._v)?2048:1024),1170==(1171&f)&&o.k1a())o.l17();else{2&u&&(l._v=!0),4&u&&(h._v=null),8&u&&(_._v=Jj),qy()&&jy(-1072252343,f,-1,"com.example.redwood.counter.compose.Button (Button.kt:25)");var c=o;if(c.t17(),c.j1d()){var v=c.w1c();c.l1d((function(){var t=v.r2c().n2e().p2e();return new eS(v,t)}))}else c.o1d();var w=c;Hy(w,t,tC),Hy(w,l._v,rC),Hy(w,h._v,nC),Hy(w,_._v,pS().f2d_1),hS().c2c_1,c.q1d(),qy()&&zy()}var d=o.s1e();null==d||d.v1k((function(r,i){return XS(t,l._v,h._v,_._v,r,Cg(1|a),u),n}))}function tC(t,r){return t.c2d(),t.v2c_1.q2e(r),n}function rC(t,r){return t.c2d(),t.v2c_1.r2e(r),n}function nC(t,r){return t.c2d(),t.v2c_1.s2e(r),n}function iC(t,r,i,e,s){var a={_v:r},u=i;u=u.r1e(-659820591);var l=e;if(1&s?l|=6:6&e||(l|=u.k14(t)?4:2),2&s?l|=48:48&e||(l|=u.k14(a._v)?32:16),18==(19&l)&&u.k1a())u.l17();else{2&s&&(a._v=Jj),qy()&&jy(-659820591,l,-1,"com.example.redwood.counter.compose.Text (Text.kt:18)");var h=u;if(h.t17(),h.j1d()){var _=h.w1c();h.l1d((function(){var t=_.r2c().n2e().t2e();return new eS(_,t)}))}else h.o1d();var o=h;Hy(o,t,eC),Hy(o,a._v,pS().f2d_1),hS().c2c_1,h.q1d(),qy()&&zy()}var f=u.s1e();null==f||f.v1k((function(r,i){return iC(t,a._v,r,Cg(1|e),s),n}))}function eC(t,r){return t.c2d(),t.v2c_1.q2e(r),n}le(YS),ee(ZS,"SchemaWidgetSystem"),le(QS),new YS,wz=new QS;class sC{}function aC(t,r,i,e,s,a,u,l,h,_,o,f){var c={_v:null==t?null:new SS(t)},v={_v:null==r?null:new SS(r)},w={_v:i},d={_v:null==e?null:new AS(e)},p={_v:null==s?null:new ES(s)},m={_v:null==a?null:new MS(a)},y={_v:u},g={_v:l},b=_;b=b.r1e(656885885);var k,x=o;if(6&o||(x|=1&f||!b.k14(c._v)?2:4),48&o||(x|=2&f||!b.k14(v._v)?16:32),384&o||(x|=4&f||!b.k14(w._v)?128:256),3072&o||(x|=8&f||!b.k14(d._v)?1024:2048),24576&o||(x|=16&f||!b.k14(p._v)?8192:16384),196608&o||(x|=32&f||!b.k14(m._v)?65536:131072),64&f?x|=1572864:1572864&o||(x|=b.x1d(y._v)?1048576:524288),128&f?x|=12582912:12582912&o||(x|=b.k14(g._v)?8388608:4194304),256&f?x|=100663296:100663296&o||(x|=b.x1d(h)?67108864:33554432),38347922==(38347923&x)&&b.k1a())b.l17();else{b.d1d(),1&o&&!b.h1d()?(b.l17(),1&f&&(x&=-15),2&f&&(x&=-113),4&f&&(x&=-897),8&f&&(x&=-7169),16&f&&(x&=-57345),32&f&&(x&=-458753)):(1&f&&(c._v=new SS(NS().g2d_1),x&=-15),2&f&&(v._v=new SS(NS().g2d_1),x&=-113),4&f&&(w._v=Hz().m29_1,x&=-897),8&f&&(d._v=new AS(LS().j2d_1),x&=-7169),16&f&&(p._v=new ES(PS().m2d_1),x&=-57345),32&f&&(m._v=new MS(OS().r2d_1),x&=-458753),64&f&&(y._v=null),128&f&&(g._v=Jj)),b.e1d(),qy()&&jy(656885885,x,-1,"app.cash.redwood.layout.compose.Column (Column.kt:34)");var q=b;if(q.t17(),q.j1d()){var j=q.w1c();q.l1d((function(){var t=j.r2c().c2e().d2e();return new eS(j,t)}))}else q.o1d();var z=q;Hy(z,c._v,uC),Hy(z,v._v,lC),Hy(z,w._v,hC),Hy(z,d._v,_C),Hy(z,p._v,oC),Hy(z,m._v,fC),Hy(z,y._v,cC),Hy(z,g._v,pS().f2d_1);var S=hS().c2c_1,C=q,A=we("children",1,Ir,(function(t){return t.vs()}),null),$=Kx(-897775212,!0,(function(t,r){var i=t;return 2==(3&r)&&i.k1a()?i.l17():(qy()&&jy(-897775212,r,-1,"app.cash.redwood.layout.compose.Column.. (Column.kt:49)"),h(dz,i,6),qy()&&(zy(),n)),n}),C,54),E=C;Ry(E,1157296644,"CC(remember)P(1):Composables.kt#9igjgp");var I,M=E.k14($),N=E.j1f();if(M||N===my().u17_1){var L=(k=$,function(t,r){return k.v1c(t,r)});E.k1f(L),I=L}else I=N;var P=null==I||null!=I?I:$i();Ty(E),S.d2c(A,P,C,432),q.q1d(),qy()&&zy()}var O=b.s1e();null==O||O.v1k((function(t,r){var i=c._v,e=null==i?null:i.i2d_1,s=v._v,a=null==s?null:s.i2d_1,u=w._v,l=d._v,_=null==l?null:l.l2d_1,b=p._v,k=null==b?null:b.q2d_1,x=m._v;return aC(e,a,u,_,k,null==x?null:x.x2d_1,y._v,g._v,h,t,Cg(1|o),f),n}))}function uC(t,r){return t.c2d(),t.v2c_1.e2e(r.i2d_1),n}function lC(t,r){return t.c2d(),t.v2c_1.f2e(r.i2d_1),n}function hC(t,r){return t.c2d(),t.v2c_1.g2e(r),n}function _C(t,r){return t.c2d(),t.v2c_1.h2e(r.l2d_1),n}function oC(t,r){return t.c2d(),t.v2c_1.i2e(r.q2d_1),n}function fC(t,r){return t.c2d(),t.v2c_1.j2e(r.x2d_1),n}function cC(t,r){return t.c2d(),t.v2c_1.k2e(r),n}function vC(t,r,i,e,s){var a={_v:t},u={_v:r},l=i;l=l.r1e(-2072748581);var h,_=e;if(1&s?_|=6:6&e||(_|=l.k14(a._v)?4:2),2&s?_|=48:48&e||(_|=l.z1d(u._v)?32:16),18==(19&_)&&l.k1a())l.l17();else{1&s&&(a._v=Jj),2&s&&(u._v=0),qy()&&jy(-2072748581,_,-1,"com.example.redwood.counter.presenter.Counter (counter.kt:31)"),l.a1d(-1542134209);var o,f=l,c=32==(112&_),v=f.j1f();if(c||v===my().u17_1){var w=function(){return function(t){return function(t){return new od(t)}(t)}(u._v)};f.k1f(w),o=w}else o=v;var d=null==o||null!=o?o:$i();l.c1d();var p=function(t,r,i,e,s,a,u){var l={_v:r},h=i,_=s;Ry(_,441892779,"C(rememberSaveable)P(1,3,2)71@3180L23,81@3526L7,83@3552L313,93@3951L71,93@3940L82:RememberSaveable.kt#r2ddri"),2&u&&(l._v=function(){_j();var t=(_j(),jv);return ge(t,rj)?t:$i()}()),4&u&&(h=null),qy()&&jy(441892779,a,-1,"androidx.compose.runtime.saveable.rememberSaveable (RememberSaveable.kt:70)");var o=function(t,r){var n=t;qy()&&jy(524444915,0,-1,"androidx.compose.runtime. (Composables.kt:228)");var i=n.k11();return qy()&&zy(),i}(_),f=null!=h&&0!==_i(h)?h:ya(o,kv);ge(l._v,rj)||$i();var c=sj(),v=_;Ry(v,2023513938,"CC:CompositionLocal.kt#9igjgp");var w=v.n1e(c);Ty(v);var d=w;Ry(_,-1519365315,"CC(remember):RememberSaveable.kt#9igjgp");var p,m=_.j1f();if(m===my().u17_1){var y=null==d?null:d.q2a(f),g=null==y?null:l._v.r2a(y),b=null==g?e():g,k=new Qq(l._v,d,f,b,t);_.k1f(k),p=k}else p=m;var x=null==p||null!=p?p:$i();Ty(_);var q=x,j=q.z2a(t),z=null==j?e():j;Ry(_,-1519352789,"CC(remember):RememberSaveable.kt#9igjgp");var S,C=!!(!!(!!(!!(!!(_.x1d(q)|((112&a^48)>32&&_.x1d(l._v)||32==(48&a)))|_.x1d(d))|_.k14(f))|_.x1d(z))|_.x1d(t)),A=_.j1f();if(C||A===my().u17_1){var $=function(){return q.a2b(l._v,d,f,z,t),n};_.k1f($),S=$}else S=A;var E=null==S||null!=S?S:$i();return Ty(_),function(t,r,n){gg();var i=r;qy()&&jy(-1288466761,0,-1,"androidx.compose.runtime.SideEffect (Effects.kt:47)"),i.i1e(t),qy()&&zy()}(E,_),qy()&&zy(),Ty(_),z}([],null,null,d,l,0,6),m=NS().h2d_1,y=NS().h2d_1,g=PS().n2d_1,b=OS().s2d_1,k=a._v,x=Kx(1983530582,!0,(function(t,r,i){var e=r;if(16==(17&i)&&e.k1a())e.l17();else{qy()&&jy(1983530582,i,-1,"com.example.redwood.counter.presenter.Counter. (counter.kt:41)"),e.a1d(-575595475);var s,a=e.k14(p),u=e.j1f();if(a||u===my().u17_1){var l=function(){var t=wC(p);return dC(p,t-1|0),n};e.k1f(l),s=l}else s=u;var h=null==s||null!=s?s:$i();e.c1d(),XS("-1",!1,h,null,e,6,10),iC("Count: "+wC(p),null,e,0,2),e.a1d(-575593363);var _,o=e.k14(p),f=e.j1f();if(o||f===my().u17_1){var c=function(){var t=wC(p);return dC(p,t+1|0),n};e.k1f(c),_=c}else _=f;var v=null==_||null!=_?_:$i();e.c1d(),XS("+1",!1,v,null,e,6,10),qy()&&(zy(),n)}return n}),l,54),q=l;Ry(q,1157296644,"CC(remember)P(1):Composables.kt#9igjgp");var j,z=q.k14(x),S=q.j1f();if(z||S===my().u17_1){var C=(h=x,function(t,r,n){return h.t26(t,r,n)});q.k1f(C),j=C}else j=S;var A=null==j||null!=j?j:$i();Ty(q),aC(m,y,null,null,g,b,null,k,A,l,100663296|29360128&_<<21,76),qy()&&zy()}var $=l.s1e();null==$||$.v1k((function(t,r){return vC(a._v,u._v,t,Cg(1|e),s),n}))}function wC(t){return de("count",Lr,!0,(function(){return Ei()})),t.d1s()}function dC(t,r){return de("count",Lr,!0,(function(){return Ei()})),t.c1s(r),n}se(sC,"ColumnScopeImpl"),dz=new sC;class pC{constructor(){var t;pz=this,this.k2f_1=(t=Tx(-1394061521,!1,bC),function(r,n){return t.v1c(r,n)})}}class mC{constructor(t){this.l2f_1=t}t2e(){var t=this.l2f_1.createElement("span"),r=t instanceof HTMLSpanElement?t:$i();return new yC(r)}p2e(){var t=this.l2f_1.createElement("button"),r=t instanceof HTMLButtonElement?t:$i();return new gC(r)}}class yC{constructor(t){this.m2f_1=t,this.n2f_1=Jj}y1(){return this.m2f_1}e2d(t){this.n2f_1=t}c2f(){return this.n2f_1}q2e(t){this.m2f_1.textContent=t}}class gC{constructor(t){this.o2f_1=t,this.p2f_1=Jj}y1(){return this.o2f_1}e2d(t){this.p2f_1=t}c2f(){return this.p2f_1}q2e(t){this.o2f_1.textContent=t}r2e(t){this.o2f_1.disabled=!t}s2e(t){var r;r=null!=t?function(r){return t(),n}:null,this.o2f_1.onclick=r}}function bC(t,r){var i=t;return 2==(3&r)&&i.k1a()?i.l17():(qy()&&jy(-1394061521,r,-1,"com.example.redwood.counter.browser.ComposableSingletons$MainKt.lambda-1. (main.kt:42)"),vC(null,0,i,0,3),qy()&&zy()),n}return se(pC,"ComposableSingletons$MainKt"),ee(mC,"HtmlWidgetFactory"),ee(yC,"HtmlText"),ee(gC,"HtmlButton"),yz=document.getElementById("content"),gz=yz instanceof HTMLElement?yz:$i(),function(t,r,i,e){e=e===k?_S:e,r.vs().m10(0,r.vs().d2a().p());var s,a,u,l,h,_=r.p2a();if(null==_)s=null;else{var o=_,f=(l=o.o2b(),h=function(t){var r;if(ge(t,_d)){var n;if(t.b1l()===bk()||t.b1l()===yk()||t.b1l()===gk()){var i=t.y1();n=null==i||o.e2b(i)}else n=!1;r=n}else r=o.e2b(t);return r},uj(),new tj(l,h));o.p2b((a=f,(u=function(){return a.l2b()}).callableName="performSave",u)),m_(t.nm()).pn((function(t){return o.q2b(),n})),s=f}var c=s;return function(t,r,n,i,e,s,a){return new Zz(t,n,i,e,new tS(s,r,a=a===k?oS:a))}(t,r.vs(),r.n2a(),c,r.o2a(),i,e)}((mz=hz,new $h(Ru.nm().tg(mz))),function(t){if(null==t.parentNode){var r="Element "+yi(t)+" must be attached to Document to be used as RedwoodView";throw fr.l3(yi(r))}return new Kz(t)}(gz),new ZS(new mC(document),new DS(document))).a1j((pz===k&&new pC,pz).k2f_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,u=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,u,l,h,_,o,f,c,v,w,d,p,m,y,g,b,k,x,q,j,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 ut{}class lt{toString(){return"kotlin.Unit"}}class ht{}class _t{}class ot{}class ft{}class ct{}class vt{}class wt{}class dt{}class pt{}class mt{}class yt{constructor(t,r){this.i2_1=t,this.j2_1=r}k2(t){return fi(this.j2_1,t.j2_1)}l2(t){return this.k2(t instanceof yt?t:$i())}equals(t){return this===t}hashCode(){return wi(this)}toString(){return this.i2_1}}class gt{constructor(){i=this,this.m2_1=new bt(0,-2147483648),this.n2_1=new bt(-1,2147483647),this.o2_1=8,this.p2_1=64}}class bt extends ut{constructor(t,r){i===k&&new gt,super(),this.i1_1=t,this.j1_1=r}k1(t){return Oi(this,t)}l2(t){return this.k1(t instanceof bt?t:$i())}q2(t){return Di(this,t)}r2(t){return Ri(this,t)}s2(t){return Ti(this,t)}t2(t){return function(t,r){if(re(),Wi(r))throw _r.e4("division by zero");if(Wi(t))return Ii();if(Ki(t,Li())){if(Ki(r,Mi())||Ki(r,Ni()))return Li();if(Ki(r,Li()))return Mi();var n=Hi(Ui(t,1).t2(r),1);return Ki(n,Ii())?Vi(r)?Mi():Ni():Di(n,Ri(t,Ti(r,n)).t2(r))}if(Ki(r,Li()))return Ii();if(Vi(t))return Vi(r)?Yi(t).t2(Yi(r)):Yi(Yi(t).t2(r));if(Vi(r))return Yi(t.t2(Yi(r)));for(var i=Ii(),e=t;te(e,r);){for(var s=Fi(e)/Fi(r),a=Math.max(1,Math.floor(s)),u=Math.ceil(Math.log(a)/Math.LN2),l=u<=48?1:Math.pow(2,u-48),h=Qi(a),_=Ti(h,r);Vi(_)||Xi(_,e);)_=Ti(h=Qi(a-=l),r);Wi(h)&&(h=Mi()),i=Di(i,h),e=Ri(e,_)}return i}(this,t)}u2(){return this.q2(new bt(1,0))}v2(){return this.w2().q2(new bt(1,0))}x2(t){return Hi(this,t)}y2(t){return Ui(this,t)}z2(t){return function(t,r){re();var n=63&r;return 0===n?t:n<32?new bt(t.i1_1>>>n|t.j1_1<<32-n,t.j1_1>>>n|0):new bt(32===n?t.j1_1:t.j1_1>>>(n-32|0)|0,0)}(this,t)}a3(t){return new bt(this.i1_1&t.i1_1,this.j1_1&t.j1_1)}b3(t){return new bt(this.i1_1|t.i1_1,this.j1_1|t.j1_1)}c3(t){return new bt(this.i1_1^t.i1_1,this.j1_1^t.j1_1)}w2(){return new bt(~this.i1_1,~this.j1_1)}d3(){return this.i1_1}e3(){return Fi(this)}toString(){return Bi(this,10)}equals(t){return t instanceof bt&&Ki(this,t)}hashCode(){return this,re(),this.i1_1^this.j1_1}valueOf(){return this.e3()}}class kt{}class xt{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 pr.w(""+this.g3_1);var t=this.g3_1;return this.g3_1=t+1|0,this.h3_1[t]}}class qt{}class jt{static j4(t){return ji(this,t)}o(t){var r;t:if(ge(this,_t)&&this.x())r=!1;else{for(var n=this.l();n.m();)if(pi(n.n(),t)){r=!0;break t}r=!1}return r}o1(t){var r;t:if(ge(t,_t)&&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 Dn(this,", ","[","]",k,k,function(t){return t===this?"(this Collection)":Yn(t)}.bind(this))}toArray(){return Ge(this)}}class zt extends jt{static i4(){return this.j4()}q1(t){this.k4();for(var r=this.l();r.m();)if(pi(r.n(),t))return r.l4(),!0;return!1}r(t){this.k4();for(var r=!1,n=t.l();n.m();){var i=n.n();this.h(i)&&(r=!0)}return r}s1(){this.k4();for(var t=this.l();t.m();)t.n(),t.l4()}toJSON(){return this.toArray()}k4(){}}class St{constructor(t,r){zi(this,r),this.o4_1=t,this.m4_1=0,this.n4_1=-1}m(){return this.m4_1=0}a1(t){var r;t:{for(var n=0,i=this.l();i.m();){if(pi(i.n(),t)){r=n;break t}n=n+1|0}r=-1}return r}w1(t){return new Ct(this,t)}p1(t,r){return $t.a5(this,t,r)}d5(t,r){var n=this.w1(t),i=r-t|0,e=0;if(e1&&r.k(n),!(s<0||l<=s))break t;_u(r,o,u)}return s>=0&&l>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()}k4(){if(this.f_1)throw dr.d6()}}class Pt extends It{static k6(t){var r=this.k5();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)}o5(){return Ot.e7(this.i6_1)}r5(){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.v5();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 dr.d6()}r(t){throw dr.d6()}q1(t){return this.d7_1.j7(t)}l(){return this.d7_1.k7()}k4(){return this.d7_1.l7()}}class Dt extends zt{static g7(t){var r=this.i4();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:$i())}n7(t){throw dr.d6()}h(t){return this.n7(null==t||null!=t?t:$i())}o7(t){throw dr.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:$i())}k4(){return this.f7_1.l7()}}class Rt extends Mt{static t7(t){var r=this.v5();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||!ge(t,ct))&&this.v7(null!=t&&ge(t,ct)?t:$i())}s1(){return this.s7_1.s1()}w7(t){throw dr.d6()}h(t){return this.w7(null!=t&&ge(t,ct)?t:$i())}r(t){throw dr.d6()}x7(t){return this.s7_1.z7(t)}q1(t){return!(null==t||!ge(t,ct))&&this.x7(null!=t&&ge(t,ct)?t:$i())}o1(t){return this.s7_1.a8(t)}k4(){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()}l4(){return this.b8_1.l4()}}class Ut extends Mt{static q5(t){var r=this.v5();return r.p5_1=t,r}c8(t){throw dr.d8("Add is not supported on keys")}h(t){return this.c8(null==t||null!=t?t:$i())}s1(){return this.p5_1.s1()}c7(t){return this.p5_1.z1(t)}o(t){return(null==t||null!=t)&&this.c7(null==t||null!=t?t:$i())}l(){var t=this.p5_1.d2().l();return new Ht(t)}f2(t){return this.k4(),!!this.p5_1.z1(t)&&(this.p5_1.f2(t),!0)}q1(t){return(null==t||null!=t)&&this.f2(null==t||null!=t?t:$i())}p(){return this.p5_1.p()}k4(){return this.p5_1.k4()}}class Ft{constructor(t){this.e8_1=t}m(){return this.e8_1.m()}n(){return this.e8_1.n().y1()}l4(){return this.e8_1.l4()}}class Bt extends zt{static t5(t){var r=this.i4();return r.s5_1=t,r}n7(t){throw dr.d8("Add is not supported on values")}h(t){return this.n7(null==t||null!=t?t:$i())}m7(t){return this.s5_1.a2(t)}o(t){return(null==t||null!=t)&&this.m7(null==t||null!=t?t:$i())}l(){var t=this.s5_1.d2().l();return new Ft(t)}p(){return this.s5_1.p()}k4(){return this.s5_1.k4()}}class Kt extends Mt{static f8(t){var r=this.v5();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.m8_1=-1640531527,this.n8_1=8,this.o8_1=2,this.p8_1=-1}}class Vt{constructor(t){this.q8_1=t,this.r8_1=0,this.s8_1=-1,this.t8_1=this.q8_1.t6_1,this.u8()}u8(){for(;this.r8_1=this.q8_1.r6_1)throw pr.p4();var t=this.r8_1;this.r8_1=t+1|0,this.s8_1=t;var r=this.q8_1.m6_1[this.s8_1];return this.u8(),r}}class Jt extends Vt{n(){if(this.v8(),this.r8_1>=this.q8_1.r6_1)throw pr.p4();var t=this.r8_1;this.r8_1=t+1|0,this.s8_1=t;var r=Ai(this.q8_1.n6_1)[this.s8_1];return this.u8(),r}}class Yt extends Vt{n(){if(this.v8(),this.r8_1>=this.q8_1.r6_1)throw pr.p4();var t=this.r8_1;this.r8_1=t+1|0,this.s8_1=t;var r=new Zt(this.q8_1,this.s8_1);return this.u8(),r}m9(){if(this.r8_1>=this.q8_1.r6_1)throw pr.p4();var t=this.r8_1;this.r8_1=t+1|0,this.s8_1=t;var r=this.q8_1.m6_1[this.s8_1],n=null==r?null:mi(r),i=null==n?0:n,e=Ai(this.q8_1.n6_1)[this.s8_1],s=null==e?null:mi(e),a=i^(null==s?0:s);return this.u8(),a}n9(t){if(this.r8_1>=this.q8_1.r6_1)throw pr.p4();var r=this.r8_1;this.r8_1=r+1|0,this.s8_1=r;var n=this.q8_1.m6_1[this.s8_1];pi(n,this.q8_1)?t.p9("(this Map)"):t.o9(n),t.q9(61);var i=Ai(this.q8_1.n6_1)[this.s8_1];pi(i,this.q8_1)?t.p9("(this Map)"):t.o9(i),this.u8()}}class Zt{constructor(t,r){this.r9_1=t,this.s9_1=r}x1(){return this.r9_1.m6_1[this.s9_1]}y1(){return Ai(this.r9_1.n6_1)[this.s9_1]}equals(t){return!(null==t||!ge(t,ct)||!pi(t.x1(),this.x1()))&&pi(t.y1(),this.y1())}hashCode(){var t=this.x1(),r=null==t?null:mi(t),n=null==r?0:r,i=this.y1(),e=null==i?null:mi(i);return n^(null==e?0:e)}toString(){return Yn(this.x1())+"="+Yn(this.y1())}}class Qt{}class Xt{static t9(t,r,n,i,e,s){var a=ji(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=hs(0,os(a)),a.t6_1=0,a.u6_1=0,a.v6_1=!1,a}p(){return this.u6_1}static w6(){return this.u9(8)}static u9(t){return this.t9(Qe(t),null,new Int32Array(t),new Int32Array(ls(0,t)),2,0)}static b7(t){var r=this.u9(t.p());return r.g2(t),r}static y6(t,r){var n=this.u9(t);if(!(r>0)){var i="Non-positive load factor: "+r;throw vr.f1(yi(i))}return n}a2(t){return gs(this,t)>=0}b2(t){var r=ys(this,t);return r<0?null:Ai(this.n6_1)[r]}c7(t){return ys(this,t)>=0}e2(t,r){var n=bs(this,t),i=vs(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;cs(t,r.p());for(var n=r.l();n.m();)xs(t,n.n())&&!0}(this,t.d2())}f2(t){this.l7();var r=ys(this,t);if(r<0)return null;var n=Ai(this.n6_1)[r];return ks(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);Xe(this.m6_1,0,this.r6_1);var e=this.n6_1;null==e||Xe(e,0,this.r6_1),this.u6_1=0,this.r6_1=0,fs(this)}equals(t){var r,n;return t===this?r=!0:(n=!(null==t||!ge(t,vt))&&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.m9()|0;return t}toString(){var t=Or.v9(2+it(this.u6_1,3)|0);t.p9("{");for(var r=0,n=this.u7();n.m();)r>0&&t.p9(", "),n.n9(t),r=r+1|0;return t.p9("}"),t.toString()}l7(){if(this.v6_1)throw dr.d6()}j7(t){this.l7();var r=ys(this,t);return!(r<0||(ks(this,r),0))}y7(t){var r=ys(this,t.x1());return!(r<0)&&pi(Ai(this.n6_1)[r],t.y1())}w9(t){return this.y7(ge(t,ct)?t:$i())}z7(t){this.l7();var r=ys(this,t.x1());return!(r<0||!pi(Ai(this.n6_1)[r],t.y1())||(ks(this,r),0))}r7(t){this.l7();var r=gs(this,t);return!(r<0||(ks(this,r),0))}k7(){return new Wt(this)}p7(){return new Jt(this)}u7(){return new Yt(this)}}class tr extends Pt{static da(){return this.l6()}static ea(t){return this.z6(t)}static fa(t){return this.a7(t)}k4(){return this.i6_1.l7()}}class rr extends Kt{static ha(){return this.g8()}static ia(t,r){return this.h8(t,r)}static ja(t){return this.ia(t,1)}k4(){return this.y_1.l7()}}class nr{ka(){this.la("\n")}ma(t){this.la(t),this.ka()}}class ir extends nr{constructor(t){super(),this.na_1=t}la(t){var r=String(t);this.na_1.write(r)}}class er extends nr{constructor(){super(),this.pa_1=""}la(t){var r=this.pa_1;this.pa_1=r+String(t)}}class sr extends er{la(t){var r=String(t),n=r.lastIndexOf("\n",0);if(n>=0){var i=this.pa_1;this.pa_1=i+r.substring(0,n),this.qa();var e=n+1|0;r=r.substring(e)}this.pa_1=this.pa_1+r}qa(){console.log(this.pa_1),this.pa_1=""}}class ar{ra(){throw fr.l3(yi("This continuation is already complete"))}sa(t){throw fr.l3(yi("This continuation is already complete"))}ta(t){return this.sa(t)}toString(){return"This continuation is already complete"}}class ur{constructor(){this.bb_1=null}db(){var t,r=this.bb_1;if(null==r){var n=this.ra().eb(K),i=null==n?null:n.fb(this),e=null==i?this:i;this.bb_1=e,t=e}else t=r;return t}cb(){var t=this.bb_1;null!=t&&t!==this&&Ai(this.ra().eb(K)).gb(t),this.bb_1=S}}class lr extends ur{constructor(t){super(),this.va_1=t,this.wa_1=[];var r=this.va_1;this.xa_1=null==r?null:r.ra(),this.ya_1=!1,this.za_1=Symbol(),this.ab_1=this.za_1}ra(){return Ai(this.xa_1)}sa(t){if(this.za_1===this.ab_1&&(this.ab_1=t),this.ya_1)return n;var r=this.ab_1,i=xu(r)?null:null==r||null!=r?r:$i(),e=qu(this.ab_1);this.ab_1=this.za_1;for(var s=this;;){for(;0!==s.wa_1.length;){var a=s,u=a.wa_1[a.wa_1.length-1|0],l=e;e=null;var h=l;this.ya_1=!0;try{var _=null==h?u.next(i):u.throw(h);if(i=_.value,e=null,_.done&&s.wa_1.pop(),this.za_1!==this.ab_1){var o=this.ab_1;i=xu(o)?null:null==o||null!=o?o:$i(),e=qu(this.ab_1),this.ab_1=this.za_1}else if(i===iu())return n}catch(t){if(!(t instanceof Error))throw t;e=t,s.wa_1.pop()}finally{this.ya_1=!1}}this.cb();var f=Ai(this.va_1);if(!(f instanceof lr)){var c;if(null!=e){var v=ju(Ai(e));f.ta(v),c=n}else{var w=i;f.ta(w),c=n}return c}s=f}}ta(t){return this.sa(t)}}class hr{static jb(t,r){var n=ji(this);return n.hb_1=t,n.ib_1=r,n}static kb(t){return this.jb(t,su())}ra(){return this.hb_1.ra()}ta(t){var r=this.ib_1;if(r===su())this.ib_1=t;else{if(r!==iu())throw fr.l3("Already resumed");this.ib_1=au(),this.hb_1.ta(t)}}lb(){if(this.ib_1===su())return this.ib_1=iu(),iu();var t,r=this.ib_1;if(r===au())t=iu();else{if(r instanceof Mn)throw r.mb_1;t=r}return t}}class _r extends Error{static bc(){var t=ji(this);return Is(t),Si(t),t}static e4(t){var r=ji(this);return Is(r),Si(r,t),r}static cc(t,r){var n=ji(this);return Is(n),Si(n,t,r),n}}class or extends _r{static ec(){var t=this.bc();return Os(t),t}static k8(t){var r=this.e4(t);return Os(r),r}static kc(t,r){var n=this.cc(t,r);return Os(n),n}}class fr extends or{static c4(){var t=this.ec();return Ls(t),t}static l3(t){var r=this.k8(t);return Ls(r),r}static ub(t,r){var n=this.kc(t,r);return Ls(n),n}}class cr extends fr{static rb(){var t=this.c4();return Ss(t),t}static sb(t){var r=this.l3(t);return Ss(r),r}static tb(t,r){var n=this.ub(t,r);return Ss(n),n}}class vr extends or{static dc(){var t=this.ec();return Ms(t),t}static f1(t){var r=this.k8(t);return Ms(r),r}}class wr extends or{static ic(){var t=this.ec();return Ns(t),t}static jc(t){var r=this.k8(t);return Ns(r),r}}class dr extends or{static d6(){var t=this.ec();return Ps(t),t}static d8(t){var r=this.k8(t);return Ps(r),r}}class pr extends or{static p4(){var t=this.ec();return Ds(t),t}static w(t){var r=this.k8(t);return Ds(r),r}}class mr extends Error{static mc(){var t=ji(this);return Rs(t),Si(t),t}static nc(t){var r=ji(this);return Rs(r),Si(r,t),r}static oc(t,r){var n=ji(this);return Rs(n),Si(n,t,r),n}}class yr extends or{static z8(){var t=this.ec();return Ts(t),t}static pc(t){var r=this.k8(t);return Ts(r),r}}class gr extends mr{static sc(){var t=this.mc();return Hs(t),t}static tc(t){var r=this.nc(t);return Hs(r),r}}class br extends or{static xc(){var t=this.ec();return Us(t),t}static yc(t){var r=this.k8(t);return Us(r),r}}class kr extends or{static p3(){var t,r=this.ec();return xi(t=r,t.o3_1),r}}class xr extends or{static t3(){var t,r=this.ec();return xi(t=r,t.s3_1),r}}class qr extends or{static x3(){var t,r=this.ec();return xi(t=r,t.w3_1),r}}class jr extends or{static zc(){var t=this.ec();return Fs(t),t}static b4(t){var r=this.k8(t);return Fs(r),r}}class zr{}class Sr{constructor(t){this.bd_1=t}cd(){return this.bd_1}equals(t){return!(t instanceof Cr)&&!(t instanceof Ar)&&t instanceof Sr&&pi(this.cd(),t.cd())}hashCode(){var t=this.ad(),r=null==t?null:bi(t);return null==r?0:r}toString(){return"class "+this.ad()}}class Cr extends Sr{constructor(){E=null,super(Object),E=this,this.ed_1="Nothing"}ad(){return this.ed_1}cd(){throw dr.d8("There's no native JS class for Nothing type")}equals(t){return t===this}hashCode(){return 0}}class Ar{ad(){throw fr.l3(yi("Unknown simpleName for ErrorKClass"))}equals(t){return t===this}hashCode(){return 0}}class $r extends Sr{constructor(t,r,n){super(t),this.gd_1=r,this.hd_1=n}equals(t){return t instanceof $r&&super.equals(t)&&this.gd_1===t.gd_1}ad(){return this.gd_1}}class Er extends Sr{constructor(t){super(t);var r=t.$metadata$;this.jd_1=null==r?null:r.simpleName}ad(){return this.jd_1}}class Ir{}class Mr{}class Nr{}class Lr{}class Pr{constructor(){M=this;var t=Object;this.anyClass=new $r(t,"Any",Js);var r=Number;this.numberClass=new $r(r,"Number",Ys),this.nothingClass=Vs();var n=Boolean;this.booleanClass=new $r(n,"Boolean",Zs);var i=Number;this.byteClass=new $r(i,"Byte",Qs);var e=Number;this.shortClass=new $r(e,"Short",Xs);var s=Number;this.intClass=new $r(s,"Int",ta);var a=Number;this.floatClass=new $r(a,"Float",ra);var u=Number;this.doubleClass=new $r(u,"Double",na);var l=Array;this.arrayClass=new $r(l,"Array",ia);var h=String;this.stringClass=new $r(h,"String",ea);var _=Error;this.throwableClass=new $r(_,"Throwable",sa);var o=Array;this.booleanArrayClass=new $r(o,"BooleanArray",aa);var f=Uint16Array;this.charArrayClass=new $r(f,"CharArray",ua);var c=Int8Array;this.byteArrayClass=new $r(c,"ByteArray",la);var v=Int16Array;this.shortArrayClass=new $r(v,"ShortArray",ha);var w=Int32Array;this.intArrayClass=new $r(w,"IntArray",_a);var d=Array;this.longArrayClass=new $r(d,"LongArray",oa);var p=Float32Array;this.floatArrayClass=new $r(p,"FloatArray",fa);var m=Float64Array;this.doubleArrayClass=new $r(m,"DoubleArray",ca)}kd(){return this.anyClass}ld(){return this.numberClass}md(){return this.nothingClass}nd(){return this.booleanClass}od(){return this.byteClass}pd(){return this.shortClass}qd(){return this.intClass}rd(){return this.floatClass}sd(){return this.doubleClass}td(){return this.arrayClass}ud(){return this.stringClass}vd(){return this.throwableClass}wd(){return this.booleanArrayClass}xd(){return this.charArrayClass}yd(){return this.byteArrayClass}zd(){return this.shortArrayClass}ae(){return this.intArrayClass}be(){return this.longArrayClass}ce(){return this.floatArrayClass}de(){return this.doubleArrayClass}functionClass(t){var r,n=Ws()[t];if(null==n){var i=new $r(Function,"Function"+t,(function(r){return"function"==typeof r&&r.length===t}));Ws()[t]=i,r=i}else r=n;return r}}class Or{static ee(t){var r=ji(this);return r.i_1=void 0!==t?t:"",r}static v9(t){return this.j()}static j(){return this.ee("")}a(){return this.i_1.length}b(t){var r=this.i_1;if(!(0<=t&&t<=(_i(r)-1|0)))throw wr.jc("index: "+t+", length: "+this.a()+"}");return li(r,t)}c(t,r){return this.i_1.substring(t,r)}q9(t){return this.i_1=this.i_1+Jn(t),this}k(t){return this.i_1=this.i_1+Yn(t),this}o9(t){return this.i_1=this.i_1+Yn(t),this}fe(t){return this.p9(t.toString())}p9(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.ge_1=Or.j(),this.he_1=[],this.ie_1="",this.je_1=0}ke(t){return ka(t,this,"",""),this.ge_1.toString()}}class Rr extends yt{constructor(t,r,n){super(t,r),this.ne_1=n}}class Tr{constructor(){this.f4_1=2147483639}c5(t,r){if(t<0||t>=r)throw wr.jc("index: "+t+", size: "+r)}v4(t,r){if(t<0||t>r)throw wr.jc("index: "+t+", size: "+r)}g4(t,r,n){if(t<0||r>n)throw wr.jc("fromIndex: "+t+", toIndex: "+r+", size: "+n);if(t>r)throw vr.f1("fromIndex: "+t+" > toIndex: "+r)}l8(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}f5(t){for(var r=1,n=t.l();n.m();){var i=n.n(),e=it(31,r),s=null==i?null:mi(i);r=e+(null==s?0:s)|0}return r}e5(t,r){if(t.p()!==r.p())return!1;for(var n=r.l(),i=t.l();i.m();)if(!pi(i.n(),n.n()))return!1;return!0}}class Hr{constructor(t){this.oe_1=t}m(){return this.oe_1.m()}n(){return this.oe_1.n().x1()}}class Ur{}class Fr extends jt{static re(t){return this.j4(t)}equals(t){return t===this||!(null==t||!ge(t,pt))&&R.w5(this,t)}hashCode(){return R.x5(this)}}class Br extends Fr{static qe(t,r){return r===k&&(r={}),r.pe_1=t,this.re(r)}c7(t){return this.pe_1.z1(t)}o(t){return(null==t||null!=t)&&this.c7(null==t||null!=t?t:$i())}l(){var t=this.pe_1.d2().l();return new Hr(t)}p(){return this.pe_1.p()}}class Kr{x5(t){for(var r=0,n=t.l();n.m();){var i=n.n(),e=r,s=null==i?null:mi(i);r=e+(null==s?0:s)|0}return r}w5(t,r){return t.p()===r.p()&&t.o1(r)}}class Gr{constructor(){T=this,this.xe_1=[],this.ye_1=10}}class Vr extends At{p(){return this.we_1}static ze(){Oa();var t,r=this.b5();return t=r,Oa(),t.ue_1=0,t.we_1=0,r.ve_1=Oa().xe_1,r}x(){return 0===this.we_1}af(t){Pa(this),Aa(this,this.we_1+1|0),this.ue_1=Ma(this,this.ue_1),this.ve_1[this.ue_1]=t,this.we_1=this.we_1+1|0}bf(t){Pa(this),Aa(this,this.we_1+1|0);var r=this.ve_1,n=this.we_1;r[$a(this,this.ue_1+n|0)]=t,this.we_1=this.we_1+1|0}cf(){if(this.x())throw pr.w("ArrayDeque is empty.");Pa(this);var t=this.ue_1,r=this.ve_1[t],n=null==r||null!=r?r:$i();return this.ve_1[this.ue_1]=null,this.ue_1=Ia(this,this.ue_1),this.we_1=this.we_1-1|0,n}df(){return this.x()?null:this.cf()}ef(){if(this.x())throw pr.w("ArrayDeque is empty.");Pa(this);var t=Ta(this),r=$a(this,this.ue_1+t|0),n=this.ve_1[r],i=null==n||null!=n?n:$i();return this.ve_1[r]=null,this.we_1=this.we_1-1|0,i}h(t){return this.bf(t),!0}u1(t,r){if(D.v4(t,this.we_1),t===this.we_1)return this.bf(r),n;if(0===t)return this.af(r),n;Pa(this),Aa(this,this.we_1+1|0);var i=$a(this,this.ue_1+t|0);if(t>1){var e=Ma(this,i),s=Ma(this,this.ue_1);e>=this.ue_1?(this.ve_1[s]=this.ve_1[this.ue_1],Je(this.ve_1,this.ve_1,this.ue_1,this.ue_1+1|0,e+1|0)):(Je(this.ve_1,this.ve_1,this.ue_1-1|0,this.ue_1,this.ve_1.length),this.ve_1[this.ve_1.length-1|0]=this.ve_1[0],Je(this.ve_1,this.ve_1,0,1,e+1|0)),this.ve_1[e]=r,this.ue_1=s}else{var a=this.we_1,u=$a(this,this.ue_1+a|0);i>1){var a=this.ue_1-s|0;if(e>=this.ue_1)if(a>=0)Je(this.ve_1,this.ve_1,a,this.ue_1,e);else{a=a+this.ve_1.length|0;var u=e-this.ue_1|0,l=this.ve_1.length-a|0;l>=u?Je(this.ve_1,this.ve_1,a,this.ue_1,e):(Je(this.ve_1,this.ve_1,a,this.ue_1,this.ue_1+l|0),Je(this.ve_1,this.ve_1,0,this.ue_1+l|0,e))}else Je(this.ve_1,this.ve_1,a,this.ue_1,this.ve_1.length),s>=e?Je(this.ve_1,this.ve_1,this.ve_1.length-s|0,0,e):(Je(this.ve_1,this.ve_1,this.ve_1.length-s|0,0,s),Je(this.ve_1,this.ve_1,0,s,e));this.ue_1=a,Na(this,Ea(this,e-s|0),r)}else{var h=e+s|0;if(e=this.ve_1.length)Je(this.ve_1,this.ve_1,h-this.ve_1.length|0,e,i);else{var _=(i+s|0)-this.ve_1.length|0;Je(this.ve_1,this.ve_1,0,i-_|0,i),Je(this.ve_1,this.ve_1,h,e,i-_|0)}else Je(this.ve_1,this.ve_1,s,0,i),h>=this.ve_1.length?Je(this.ve_1,this.ve_1,h-this.ve_1.length|0,e,this.ve_1.length):(Je(this.ve_1,this.ve_1,0,this.ve_1.length-s|0,this.ve_1.length),Je(this.ve_1,this.ve_1,h,e,this.ve_1.length-s|0));Na(this,e,r)}return!0}s(t){D.c5(t,this.we_1);var r=$a(this,this.ue_1+t|0),n=this.ve_1[r];return null==n||null!=n?n:$i()}t1(t,r){D.c5(t,this.we_1);var n=$a(this,this.ue_1+t|0),i=this.ve_1[n],e=null==i||null!=i?i:$i();return this.ve_1[n]=r,e}o(t){return!(-1===this.a1(t))}a1(t){var r=this.we_1,n=$a(this,this.ue_1+r|0);if(this.ue_1=n){var s=this.ue_1,a=this.ve_1.length;if(s>1)r>=this.ue_1?Je(this.ve_1,this.ve_1,this.ue_1+1|0,this.ue_1,r):(Je(this.ve_1,this.ve_1,1,0,r),this.ve_1[0]=this.ve_1[this.ve_1.length-1|0],Je(this.ve_1,this.ve_1,this.ue_1+1|0,this.ue_1,this.ve_1.length-1|0)),this.ve_1[this.ue_1]=null,this.ue_1=Ia(this,this.ue_1);else{var e=Ta(this),s=$a(this,this.ue_1+e|0);r<=s?Je(this.ve_1,this.ve_1,r,r+1|0,s+1|0):(Je(this.ve_1,this.ve_1,r,r+1|0,this.ve_1.length),this.ve_1[this.ve_1.length-1|0]=this.ve_1[0],Je(this.ve_1,this.ve_1,0,1,s+1|0)),this.ve_1[s]=null}return this.we_1=this.we_1-1|0,i}s1(){if(!this.x()){Pa(this);var t=this.we_1,r=$a(this,this.ue_1+t|0);La(this,this.ue_1,r)}this.ue_1=0,this.we_1=0}ff(t){var r=t.length>=this.we_1?t:function(t,r){return Qn(Array(r),null)}(0,this.we_1),n=be(r)?r:$i(),i=this.we_1,e=$a(this,this.ue_1+i|0);this.ue_10;){var l=u,h=e+1|0,_=a+1|0,o=Math.min(l,h,_);Je(t.ve_1,t.ve_1,1+(a-o|0)|0,1+(e-o|0)|0,e+1|0),e=Ea(t,e-o|0),a=Ea(t,a-o|0),u=u-o|0}}(this,t,r);var e=$a(this,this.ue_1+i|0);La(this,this.ue_1,e),this.ue_1=e}else{!function(t,r,n){for(var i=$a(t,t.ue_1+n|0),e=$a(t,t.ue_1+r|0),s=t.we_1-n|0;s>0;){var a=s,u=t.ve_1.length-i|0,l=t.ve_1.length-e|0,h=Math.min(a,u,l);Je(t.ve_1,t.ve_1,e,i,i+h|0),i=$a(t,i+h|0),e=$a(t,e+h|0),s=s-h|0}}(this,t,r);var s=this.we_1,a=$a(this,this.ue_1+s|0);La(this,Ea(this,a-i|0),a)}this.we_1=this.we_1-i|0}}class Wr{constructor(t,r){this.gf_1=t,this.hf_1=r}p(){return this.gf_1.length}x(){return 0===this.gf_1.length}if(t){return function(t,r){return Pn(t,r)>=0}(this.gf_1,t)}o(t){return(null==t||null!=t)&&this.if(null==t||null!=t?t:$i())}jf(t){var r;t:if(ge(t,_t)&&t.x())r=!0;else{for(var n=t.l();n.m();){var i=n.n();if(!this.if(i)){r=!1;break t}}r=!0}return r}o1(t){return this.jf(t)}l(){return Xn(this.gf_1)}}class Jr{constructor(){H=this,this.kf_1=new bt(-1478467534,-1720727600)}equals(t){return!(null==t||!ge(t,ot))&&t.x()}hashCode(){return 1}toString(){return"[]"}p(){return 0}x(){return!0}lf(t){return!1}o(t){return!1}mf(t){return t.x()}o1(t){return this.mf(t)}s(t){throw wr.jc("Empty list doesn't contain element at index "+t+".")}nf(t){return-1}a1(t){return-1}l(){return U}p1(t,r){if(0===t&&0===r)return this;throw wr.jc("fromIndex: "+t+", toIndex: "+r)}}class Yr{m(){return!1}n(){throw pr.p4()}}class Zr{constructor(t,r){this.of_1=t,this.pf_1=r}toString(){return"IndexedValue(index="+this.of_1+", value="+Yn(this.pf_1)+")"}hashCode(){var t=this.of_1;return it(t,31)+(null==this.pf_1?0:mi(this.pf_1))|0}equals(t){if(this===t)return!0;if(!(t instanceof Zr))return!1;var r=t instanceof Zr?t:$i();return this.of_1===r.of_1&&!!pi(this.pf_1,r.pf_1)}}class Qr{constructor(t){this.qf_1=t}l(){return new Xr(this.qf_1())}}class Xr{constructor(t){this.rf_1=t,this.sf_1=0}m(){return this.rf_1.m()}n(){var t=this.sf_1;return this.sf_1=t+1|0,new Zr(Ye(t),this.rf_1.n())}}class tn{constructor(){F=this,this.tf_1=new bt(-888910638,1920087921)}equals(t){return!(null==t||!ge(t,vt))&&t.x()}hashCode(){return 0}toString(){return"{}"}p(){return 0}x(){return!0}uf(t){return!1}z1(t){return(null==t||null!=t)&&this.uf(null==t||null!=t?t:$i())}vf(t){return null}b2(t){return null!=t&&null==t?null:this.vf(null==t||null!=t?t:$i())}d2(){return Za()}c2(){return Za()}}class rn{n(){return this.ag()}}class nn{}class en extends nn{constructor(){super(),this.bg_1=0,this.cg_1=null,this.dg_1=null,this.eg_1=null}m(){for(;;){switch(this.bg_1){case 0:break;case 1:if(Ai(this.dg_1).m())return this.bg_1=2,!0;this.dg_1=null;break;case 4:return!1;case 3:case 2:return!0;default:throw Ya(this)}this.bg_1=5;var t=Ai(this.eg_1);this.eg_1=null;var r=n;t.ta(r)}}n(){switch(this.bg_1){case 0:case 1:return function(t){if(t.m())return t.n();throw pr.p4()}(this);case 2:return this.bg_1=1,Ai(this.dg_1).n();case 3:this.bg_1=0;var t=this.cg_1,r=null==t||null!=t?t:$i();return this.cg_1=null,r;default:throw Ya(this)}}fg(t,r){return this.cg_1=t,this.bg_1=3,this.eg_1=r,iu()}gg(t){!function(t){if(t instanceof Mn)throw t.mb_1}(t),null==t||null!=t||$i(),this.bg_1=4}ta(t){return this.gg(t)}ra(){return Xa()}}class sn{constructor(t){this.hg_1=t}l(){return Wa(this.hg_1)}}class an{constructor(t){this.jg_1=t,this.ig_1=t.kg_1.l()}n(){return this.jg_1.lg_1(this.ig_1.n())}m(){return this.ig_1.m()}}class un{constructor(t,r){this.kg_1=t,this.lg_1=r}l(){return new an(this)}}class ln{constructor(){B=this,this.mg_1=new bt(1993859828,793161749)}equals(t){return!(null==t||!ge(t,pt))&&t.x()}hashCode(){return 0}toString(){return"[]"}p(){return 0}x(){return!0}lf(t){return!1}o(t){return!1}mf(t){return t.x()}o1(t){return this.mf(t)}l(){return U}}class hn{}class _n{}function on(t){return t===Xa()?this:t.sg(this,Qa)}class fn{}function cn(t){return pi(this.x1(),t)?ge(this,fn)?this:$i():null}function vn(t,r){return r(t,this)}function wn(t){return pi(this.x1(),t)?Xa():this}class dn{}class pn{constructor(){G=this,this.ug_1=new bt(0,0)}eb(t){return null}sg(t,r){return t}tg(t){return t}rg(t){return this}hashCode(){return 0}toString(){return"EmptyCoroutineContext"}}class mn{constructor(t,r){this.vg_1=t,this.wg_1=r}eb(t){for(var r=this;;){var n=r.wg_1.eb(t);if(null!=n)return n;var i=r.vg_1;if(!(i instanceof mn))return i.eb(t);r=i}}sg(t,r){return r(this.vg_1.sg(t,r),this.wg_1)}rg(t){if(null!=this.wg_1.eb(t))return this.vg_1;var r=this.vg_1.rg(t);return r===this.vg_1?this:r===Xa()?this.wg_1:new mn(r,this.wg_1)}equals(t){return this===t||!!(t instanceof mn&&tu(t)===tu(this))&&function(t,r){for(var n=r;;){if(!ru(t,n.wg_1))return!1;var i=n.vg_1;if(!(i instanceof mn))return ru(t,ge(i,fn)?i:$i());n=i}}(t,this)}hashCode(){return mi(this.vg_1)+mi(this.wg_1)|0}toString(){return"["+this.sg("",nu)+"]"}}class yn{constructor(t,r){var n;this.ng_1=r,n=t instanceof yn?t.og_1:t,this.og_1=n}pg(t){return this.ng_1(t)}qg(t){return t===this||this.og_1===t}}class gn{constructor(t){this.xg_1=t}x1(){return this.xg_1}}class bn extends yt{}class kn{constructor(){Z=this,this.g1_1=new qn(1,0)}}class xn{constructor(t,r,n){if(0===n)throw vr.f1("Step must be non-zero.");if(-2147483648===n)throw vr.f1("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-uu(r,t,n)|0;else{if(!(n<0))throw vr.f1("Step is zero.");i=t<=r?r:r+uu(t,r,0|-n)|0}return i}(t,r,n),this.n1_1=n}l(){return new jn(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 qn extends xn{constructor(t,r){hu(),super(t,r,1)}bh(){return this.l1_1}ch(){return this.m1_1}x(){return this.l1_1>this.m1_1}equals(t){return t instanceof qn&&(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 jn extends rn{constructor(t,r,n){super(),this.dh_1=n,this.eh_1=r,this.fh_1=this.dh_1>0?t<=r:t>=r,this.gh_1=this.fh_1?t:this.eh_1}m(){return this.fh_1}ag(){var t=this.gh_1;if(t===this.eh_1){if(!this.fh_1)throw pr.p4();this.fh_1=!1}else this.gh_1=this.gh_1+this.dh_1|0;return t}}class zn{h1(t,r,n){return new xn(t,r,n)}}class Sn{constructor(t){this.nh_1=t,this.ih_1=-1,this.jh_1=function(t,r,n){if(0>n)throw vr.f1("Cannot coerce value to an empty range: maximum "+n+" is less than minimum 0.");return t<0?0:t>n?n:t}(t.ph_1,0,_i(t.oh_1)),this.kh_1=this.jh_1,this.lh_1=null,this.mh_1=0}n(){if(-1===this.ih_1&&du(this),0===this.ih_1)throw pr.p4();var t=this.lh_1,r=t instanceof qn?t:$i();return this.lh_1=null,this.ih_1=-1,r}m(){return-1===this.ih_1&&du(this),1===this.ih_1}}class Cn{constructor(t,r,n,i){this.oh_1=t,this.ph_1=r,this.qh_1=n,this.rh_1=i}l(){return new Sn(this)}}class An extends yt{}class $n{constructor(t){this.sh_1=t,this.th_1=rt}y1(){this.th_1===rt&&(this.th_1=Ai(this.sh_1)(),this.sh_1=null);var t=this.th_1;return null==t||null!=t?t:$i()}uh(){return!(this.th_1===rt)}toString(){return this.uh()?Yn(this.y1()):"Lazy value not initialized yet."}}class En{}class In{}class Mn{constructor(t){this.mb_1=t}equals(t){return t instanceof Mn&&pi(this.mb_1,t.mb_1)}hashCode(){return mi(this.mb_1)}toString(){return"Failure("+this.mb_1.toString()+")"}}class Nn extends mr{static zb(t){t=t===k?"An operation is not implemented.":t;var r=this.nc(t);return xi(r,r.yb_1),r}}class Ln{constructor(t,r){this.wf_1=t,this.xf_1=r}toString(){return"("+Yn(this.wf_1)+", "+Yn(this.xf_1)+")"}yf(){return this.wf_1}zf(){return this.xf_1}hashCode(){var t=null==this.wf_1?0:mi(this.wf_1);return it(t,31)+(null==this.xf_1?0:mi(this.xf_1))|0}equals(t){if(this===t)return!0;if(!(t instanceof Ln))return!1;var r=t instanceof Ln?t:$i();return!!pi(this.wf_1,r.wf_1)&&!!pi(this.xf_1,r.xf_1)}}function Pn(t,r){if(null==r){var n=0,i=t.length-1|0;if(n<=i)do{var e=n;if(n=n+1|0,null==t[e])return e}while(n<=i)}else{var s=0,a=t.length-1|0;if(s<=a)do{var u=s;if(s=s+1|0,pi(r,t[u]))return u}while(s<=a)}return-1}function On(t){return t.length-1|0}function Dn(t,r,n,i,e,s,a){return r=r===k?", ":r,n=n===k?"":n,i=i===k?"":i,e=e===k?-1:e,s=s===k?"...":s,a=a===k?null:a,function(t,r,n,i,e,s,a,u){n=n===k?", ":n,i=i===k?"":i,e=e===k?"":e,s=s===k?-1:s,a=a===k?"...":a,u=u===k?null:u,r.k(i);var l=0,h=t.l();t:for(;h.m();){var _=h.n();if((l=l+1|0)>1&&r.k(n),!(s<0||l<=s))break t;_u(r,_,u)}return s>=0&&l>s&&r.k(a),r.k(e),r}(t,Or.j(),r,n,i,e,s,a).toString()}function Rn(t,r){var n=Lt.q(t.p()+1|0);return n.r(t),n.h(r),n}function Tn(t){if(t.x())throw pr.w("List is empty.");return t.s(Ta(t))}function Hn(t,r){for(var n=Lt.q(Ua(t,10)),i=!1,e=t.l();e.m();){var s,a=e.n();!i&&pi(a,r)?(i=!0,s=!1):s=!0,s&&n.h(a)}return n}function Un(t){return Lt.g(t)}function Fn(t,r){for(var n=t.l();n.m();){var i=n.n();r.h(i)}return r}function Bn(t,r){return r<=-2147483648?hu().g1_1:ce(t,r-1|0)}function Kn(t,r){return Q.h1(t,r,-1)}function Gn(t,r){return function(t,r){if(!t)throw vr.f1("Step must be positive, was: "+yi(r)+".")}(r>0,r),Q.h1(t.l1_1,t.m1_1,t.n1_1>0?r:0|-r)}function Vn(t,r){return t>r?r:t}function Wn(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.f1("Invalid Char code: "+i);n=function(t){var r=function(t){return t<<16>>16}(_e(t));return function(t){return 65535&t}(r)}(i)}else n=t.b(r);return n}function hi(t){return"string"==typeof t}function _i(t){return hi(t)?t.length:t.a()}function oi(t){return yi(t)}function fi(t,r){var n;switch(typeof t){case"number":n="number"==typeof r?ci(t,r):r instanceof bt?ci(t,r.e3()):vi(t,r);break;case"string":case"boolean":n=vi(t,r);break;default:n=function(t,r){return t.l2(r)}(t,r)}return n}function ci(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 vi(t,r){return tr?1:0}function wi(t){if(!("kotlinHashCodeValue$"in t)){var r=di(),n=new Object;n.value=r,n.enumerable=!1,Object.defineProperty(t,"kotlinHashCodeValue$",n)}return t.kotlinHashCodeValue$}function di(){return 4294967296*Math.random()|0}function pi(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 mi(t){if(null==t)return 0;var r,n=typeof t;switch(n){case"object":r="function"==typeof t.hashCode?t.hashCode():wi(t);break;case"function":r=wi(t);break;case"number":r=ai(t);break;case"boolean":r=gi(t);break;case"string":r=bi(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)!=k?(_===k&&(_=new Map),_):(o===k&&(o=new WeakMap),o)),i=n.get(t);if(i!==k)return i;var e=di();return n.set(t,e),e}(t);break;default:r=function(){throw new Error("Unexpected typeof `"+n+"`")}()}return r}function yi(t){return null==t?"null":me(t)?"[...]":"function"!=typeof t.toString?ki(t):t.toString()}function gi(t){return t?1231:1237}function bi(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 ki(t){return Object.prototype.toString.call(t)}function xi(t,r){null!=Error.captureStackTrace?Error.captureStackTrace(t,r):t.stack=(new Error).stack}function qi(t){return t.prototype}function ji(t,r){var n=Object.create(t.prototype);return zi(n,r),n}function zi(t,r){r!==k&&Object.assign(t,r)}function Si(t,r,n){var i=Ee(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?k:a}else s=k;e=s}else e=r;t.message=e}2&i||(t.cause=n),t.name=Object.getPrototypeOf(t).constructor.name}function Ci(t,r){return null==t||null!=t?t:$i()}function Ai(t){var r;return null==t?function(){throw kr.p3()}():r=t,r}function $i(){throw qr.x3()}function Ei(){throw fr.c4()}function Ii(){return re(),f}function Mi(){return re(),c}function Ni(){return re(),v}function Li(){return re(),d}function Pi(){return re(),p}function Oi(t,r){if(re(),Ki(t,r))return 0;var n=Vi(t),i=Vi(r);return n&&!i?-1:!n&&i?1:Vi(Ri(t,r))?-1:1}function Di(t,r){re();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,u=65535&r.j1_1,l=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+l|0)|0)>>>16|0)|0)+(i+u|0)|0)>>>16|0)|0)+(n+a|0)|0,new bt((o&=65535)<<16|(f&=65535),(h&=65535)<<16|(_&=65535))}function Ri(t,r){return re(),Di(t,r.v2())}function Ti(t,r){if(re(),Wi(t))return Ii();if(Wi(r))return Ii();if(Ki(t,Li()))return Ji(r)?Li():Ii();if(Ki(r,Li()))return Ji(t)?Li():Ii();if(Vi(t))return Vi(r)?Ti(Yi(t),Yi(r)):Yi(Ti(Yi(t),r));if(Vi(r))return Yi(Ti(t,Yi(r)));if(Zi(t,Pi())&&Zi(r,Pi()))return Qi(Fi(t)*Fi(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,u=65535&r.j1_1,l=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,l)|0)>>>16|0)|0,f&=65535,_=(_=(_=_+((o=o+it(i,h)|0)>>>16|0)|0)+((o=(o&=65535)+it(e,l)|0)>>>16|0)|0)+((o=(o&=65535)+it(s,u)|0)>>>16|0)|0,o&=65535,_=_+(((it(n,h)+it(i,l)|0)+it(e,u)|0)+it(s,a)|0)|0,new bt(f<<16|c,(_&=65535)<<16|o)}function Hi(t,r){re();var n=63&r;return 0===n?t:n<32?new bt(t.i1_1<>>(32-n|0)):new bt(0,t.i1_1<>>n|t.j1_1<<32-n,t.j1_1>>n):new bt(t.j1_1>>n-32,t.j1_1>=0?0:-1)}function Fi(t){return re(),4294967296*t.j1_1+function(t){return re(),t.i1_1>=0?t.i1_1:4294967296+t.i1_1}(t)}function Bi(t,r){if(re(),r<2||36=0x8000000000000000)return re(),w;if(t<0)return Yi(Qi(-t));var r=4294967296;return new bt(t%r|0,t/r|0)}function Xi(t,r){return re(),Oi(t,r)>0}function te(t,r){return re(),Oi(t,r)>=0}function re(){m||(m=!0,f=Gi(0),c=Gi(1),v=Gi(-1),w=new bt(-1,2147483647),d=new bt(0,-2147483648),p=Gi(16777216))}function ne(t,r,n,i,e,s){return{kind:t,simpleName:r,associatedObjectKey:i,associatedObjects:e,suspendArity:s,$kClass$:k,defaultConstructor:n,iid:"interface"===t?(y===k&&(y=0),y=y+1|0):k}}function ie(t,r,n,i,e,s,a,u,l){null!=e&&(r.prototype=Object.create(e.prototype),r.prototype.constructor=r);var h=ne(t,n,i,u,l,a);r.$metadata$=h,null!=s&&((pi(h.iid,k)?r.prototype:r).$imask$=Zn(s))}function ee(t,r,n,i,e,s,a,u){ie("class",t,r,n,i,e,s,a,u)}function se(t,r,n,i,e,s,a,u){ie("object",t,r,n,i,e,s,a,u)}function ae(t,r,n,i,e,s,a,u){ie("interface",t,r,n,i,e,s,a,u)}function ue(t,r,n,i){ee(t,"Lambda",k,r,n,i,k,k)}function le(t,r,n,i){se(t,"Companion",k,r,n,i,k,k)}function he(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 u=0,l=t.length-1|0;if(u<=l)do{var h=u;u=u+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!==l);return a}function _e(t){return t instanceof bt?t.d3():function(t){return t>2147483647?2147483647:t<-2147483648?-2147483648:0|t}(t)}function oe(t){return t instanceof bt?t:Qi(t)}function fe(t){return Gi(t)}function ce(t,r){return new qn(t,r)}function ve(){return pe(),ne("class",k,k,k,k,k)}function we(t,r,n,i,e){return pe(),i.get=i,i.set=e,i.callableName=t,s=i,a=function(t,r){return pe(),(pe(),g)[t][null==r?0:1]}(r,e),u=function(t,r){pe();var n=t.$imask$;return null==n?Zn([r]):n}(i,n),pe(),s.$metadata$=a,s.constructor=s,s.$imask$=u,s;var s,a,u}function de(t,r,n,i){return pe(),we(t,0,r,i,n?i:null)}function pe(){if(!b){b=!0;var t=[ve(),ve()],r=[ve(),ve()];g=[t,r,[ve(),ve()]]}}function me(t){return ye(t)||et(t)}function ye(t){return Array.isArray(t)}function ge(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 be(t){return!!ye(t)&&!t.$type$}function ke(t){return"string"==typeof t||ge(t,at)}function xe(t){return ye(t)&&"BooleanArray"===t.$type$}function qe(t){return t instanceof Int8Array}function je(t){return t instanceof Int16Array}function ze(t){return t instanceof Uint16Array&&"CharArray"===t.$type$}function Se(t){return t instanceof Int32Array}function Ce(t){return t instanceof Float32Array}function Ae(t){return ye(t)&&"LongArray"===t.$type$}function $e(t){return t instanceof Float64Array}function Ee(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(Ie(t,"message")&&(s|=1),Ie(t,"cause")&&(s|=2),3!==s){var a=(e=t,Object.getPrototypeOf(e));a!=Error.prototype&&(s|=Ee(a))}return null!=n&&(n.errorInfo=s),s}function Ie(t,r){return t.hasOwnProperty(r)}function Me(t,r,n,i){n=n===k?0:n,i=i===k?t.length:i,D.g4(n,i,t.length),t.fill(r,n,i)}function Ne(t,r,n,i){n=n===k?0:n,i=i===k?t.length:i,D.g4(n,i,t.length),t.fill(r,n,i)}function Le(t,r){if(!(r>=0)){var n="Invalid new array size: "+r+".";throw vr.f1(yi(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.f1(yi(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 He(t){return t&-t}function Ue(t){return 32-st(~(t|-t))|0}function Fe(t,r){return t<>>(32-r|0)}function Be(t,r){return t<<32-r|t>>>r}function Ke(t,r){return t.c3(new bt(0,-2147483648)).k1(r.c3(new bt(0,-2147483648)))}function Ge(t){return function(t){if(t.x())return[];for(var r=t.p(),n=Qn(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 Ve(t){return Ha([t])}function We(t,r){!function(t,r){if(t.p()<=1)return n;var i=Ze(t);!function(t,r){if(function(){if(null!=q)return q;q=!1;var t=[],r=0;if(r<600)do{var n=r;r=r+1|0,t.push(n)}while(r<600);var i=us;t.sort(i);var e=1,s=t.length;if(e=l)return!1}while(e=0))throw vr.f1(yi("capacity must be non-negative."));return Qn(Array(t),null)}function Xe(t,r,n){t.fill(null,r,n)}function ts(t,r){return Pe(t,r)}function rs(t,r){t[r]=null}function ns(){return x===k&&new Nt,x}function is(t,r){var n=t.p();return t.e_1.length=t.p()+r|0,n}function es(t,r){return D.c5(r,t.p()),r}function ss(t,r){return D.v4(r,t.p()),r}function as(t,r,n,i,e){if(n===i)return t;var s=(n+i|0)/2|0,a=as(t,r,n,s,e),u=as(t,r,s+1|0,i,e),l=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=u[_];e.compare(c,v)<=0?(l[f]=c,h=h+1|0):(l[f]=v,_=_+1|0)}else h<=s?(l[f]=a[h],h=h+1|0):(l[f]=u[_],_=_+1|0)}while(f!==i);return l}function us(t,r){return(3&t)-(3&r)|0}function ls(t,r){return 0===(n=it(Wn(r,1),3))?0:1<<31-st(n);var n}function hs(t,r){return st(r)+1|0}function _s(t){return t.m6_1.length}function os(t){return t.p6_1.length}function fs(t){t.t6_1=t.t6_1+1|0}function cs(t,r){!function(t,r){var n=_s(t)-t.r6_1|0,i=t.r6_1-t.p()|0;return n=r&&i>=(_s(t)/4|0)}(t,r)?function(t,r){if(r<0)throw or.k8("too many elements");if(r>_s(t)){var n=D.l8(_s(t),r);t.m6_1=ts(t.m6_1,n);var i=t,e=t.n6_1;i.n6_1=null==e?null:ts(e,n),t.o6_1=Le(t.o6_1,n);var s=ls(0,n);s>os(t)&&ps(t,s)}}(t,t.r6_1+r|0):ds(t,!0)}function vs(t){var r=t.n6_1;if(null!=r)return r;var n=Qe(_s(t));return t.n6_1=n,n}function ws(t,r){return null==r?0:it(mi(r),-1640531527)>>>t.s6_1|0}function ds(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}Xe(t.m6_1,i,t.r6_1),null==e||Xe(e,i,t.r6_1),t.r6_1=i}function ps(t,r){fs(t),t.r6_1>t.u6_1&&ds(t,!1),t.p6_1=new Int32Array(r),t.s6_1=hs(0,r);for(var n=0;n0&&pi(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=os(t)-1|0)}}function gs(t,r){for(var n=t.r6_1;(n=n-1|0)>=0;)if(t.o6_1[n]>=0&&pi(Ai(t.n6_1)[n],r))return n;return-1}function bs(t,r){t.l7();t:for(;;)for(var n=ws(t,r),i=Vn(it(t.q6_1,2),os(t)/2|0),e=0;;){var s=t.p6_1[n];if(s<=0){if(t.r6_1>=_s(t)){cs(t,1);continue t}var a=t.r6_1;t.r6_1=a+1|0;var u=a;return t.m6_1[u]=r,t.o6_1[u]=n,t.p6_1[n]=u+1|0,t.u6_1=t.u6_1+1|0,fs(t),e>t.q6_1&&(t.q6_1=e),u}if(pi(t.m6_1[s-1|0],r))return 0|-s;if((e=e+1|0)>i){ps(t,it(os(t),2));continue t}var l=n;n=l-1|0,0===l&&(n=os(t)-1|0)}}function ks(t,r){rs(t.m6_1,r);var i=t.n6_1;null==i||rs(i,r),function(t,r){for(var i=r,e=r,s=0,a=Vn(it(t.q6_1,2),os(t)/2|0);;){var u=i;if(i=u-1|0,0===u&&(i=os(t)-1|0),(s=s+1|0)>t.q6_1)return t.p6_1[e]=0,n;var l=t.p6_1[i];if(0===l)return t.p6_1[e]=0,n;if(l<0?(t.p6_1[e]=-1,e=i,s=0):(ws(t,t.m6_1[l-1|0])-i&os(t)-1)>=s&&(t.p6_1[e]=l,t.o6_1[l-1|0]=e,e=i,s=0),(a=a-1|0)<0)return t.p6_1[e]=-1,n}}(t,t.o6_1[r]),t.o6_1[r]=-1,t.u6_1=t.u6_1-1|0,fs(t)}function xs(t,r){var n=bs(t,r.x1()),i=vs(t);if(n>=0)return i[n]=r.y1(),!0;var e=i[(0|-n)-1|0];return!pi(r.y1(),e)&&(i[(0|-n)-1|0]=r.y1(),!0)}function qs(){if(!z){z=!0;var t="undefined"!=typeof process&&process.versions&&!!process.versions.node;j=t?new ir(process.stdout):new sr}}function js(){return zs(),C}function zs(){$||($=!0,C=new Function("return function*(suspended, c) { var a = c(); if (a === suspended) a = yield a; return a }")(),A=js().constructor.prototype)}function Ss(t){xi(t,t.qb_1)}function Cs(t){var r=t instanceof ur?t:null,n=null==r?null:r.db();return null==n?t:n}function As(t,r,n){var i=new lr(n),e=js()(iu(),(function(){var n=i;return"function"==typeof t?t(r,n):t.ac(r,n)}));return i.wa_1.push(e),i}function $s(t,r,n){var i=new lr(n);i.ya_1=!0;var e="function"==typeof t?t(r,i):t.ac(r,i);if(i.ya_1=!1,i.za_1!==i.ab_1){var s=e;i.ta(s)}return e}function Es(t,r){var n=r.constructor===lr?r:new lr(r),i=t(n);if(!function(t){return zs(),null!=t&&t.constructor===(zs(),A)}(i))return i;var e=i;n.wa_1.push(e);try{var s=e.next();return s.done&&n.wa_1.pop(),s.value}catch(t){if(t instanceof Error){var a=t;throw n.wa_1.pop(),a}throw t}}function Is(t){xi(t,t.d4_1)}function Ms(t){xi(t,t.e1_1)}function Ns(t){xi(t,t.hc_1)}function Ls(t){xi(t,t.k3_1)}function Ps(t){xi(t,t.c6_1)}function Os(t){xi(t,t.j8_1)}function Ds(t){xi(t,t.v_1)}function Rs(t){xi(t,t.lc_1)}function Ts(t){xi(t,t.y8_1)}function Hs(t){xi(t,t.rc_1)}function Us(t){xi(t,t.wc_1)}function Fs(t){xi(t,t.a4_1)}function Bs(t){return new $n(t)}function Ks(t,r){return new $n(r)}function Gs(t){if(De(t))throw vr.f1("Cannot round NaN value.");return t>new bt(-1,2147483647).e3()?new bt(-1,2147483647):t1?t:li(r,0)}function ma(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 ya(t,r){return t.toString(function(t){if(!(2<=t&&t<=36))throw vr.f1("radix "+t+" was not in valid range 2..36");return t}(r))}function ga(t,r,n,i,e,s){return vu(t,r,n,i,e,s=s!==k&&s)}function ba(t,r){if(t!==r){var n=t._suppressed;null==n?t._suppressed=Da([r]):n.h(r)}}function ka(t,r,i,e){if(!xa(t,r,i,e))return n;for(var s=t.cause;null!=s;){if(!xa(s,r,i,"Caused by: "))return n;s=s.cause}}function xa(t,r,n,i){r.ge_1.p9(n).p9(i);var e=t.toString();if(function(t,r){var n;t:{for(var i=t.he_1,e=0,s=i.length;e0&&32===li(r,cu(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.f1(yi(n))}return function(t,r){if(!(r>=0)){var n="Requested character count "+r+" is less than zero.";throw vr.f1(yi(n))}var i=Vn(r,t.length);return t.substring(0,i)}(t,Wn(t.length-r|0,0))}(r,s)+"... and "+(i-1|0)+" more common stack frames skipped"}(r,a,l),_i(n)>0){var h;if(0===l)h=0;else{for(var _=0,o=0;o<_i(e);){var f=li(e,o);o=o+1|0,10===f&&(_=_+1|0)}h=1+_|0}for(var c=h,v=0,w=function(t){return function(t,r,n,i){var e=function(t,r,n,i,e){n=n===k?0:n,i=i!==k&&i,function(t){if(!(t>=0)){var r="Limit must be non-negative, but was "+t;throw vr.f1(yi(r))}}(e=e===k?0:e);var s=function(t){return Lt.h4(t)}(r);return new Cn(t,n,e,(function(t,r){var n=function(t,r,n,i,e){if(!i&&1===r.p()){var s=function(t){if(ge(t,ot))return function(t){var r;switch(t.p()){case 0:throw pr.w("List is empty.");case 1:r=t.s(0);break;default:throw vr.f1("List has more than one element.")}return r}(t);var r=t.l();if(!r.m())throw pr.w("Collection is empty.");var n=r.n();if(r.m())throw vr.f1("Collection has more than one element.");return n}(r),a=fu(t,s,n);return a<0?null:zu(a,s)}var u=ce(Wn(n,0),_i(t));if("string"==typeof t){var l=u.l1_1,h=u.m1_1,_=u.n1_1;if(_>0&&l<=h||_<0&&h<=l)do{var o,f=l;l=l+_|0;t:{for(var c=r.l();c.m();){var v=c.n();if(ga(v,0,t,f,v.length,i)){o=v;break t}}o=null}if(null!=o)return zu(f,o)}while(f!==h)}else{var w=u.l1_1,d=u.m1_1,p=u.n1_1;if(p>0&&w<=d||p<0&&d<=w)do{var m,y=w;w=w+p|0;t:{for(var g=r.l();g.m();){var b=g.n();if(vu(b,0,t,y,b.length,i)){m=b;break t}}m=null}if(null!=m)return zu(y,m)}while(y!==d)}return null}(t,s,r,i);return null==n?null:zu(n.wf_1,n.xf_1.length)}))}(t,["\r\n","\n","\r"],k,n=n!==k&&n,i=i===k?0:i);return function(t,r){return new un(t,r)}(e,(function(r){return function(t,r){return yi((n=t,i=r.bh(),e=r.ch()+1|0,hi(n)?n.substring(i,e):n.c(i,e)));var n,i,e}(t,r)}))}(t)}(a).l();w.m();){var d=w.n(),p=v;v=p+1|0,Ye(p)>=c&&r.ge_1.p9(n),r.ge_1.p9(d).p9("\n")}}else r.ge_1.p9(a).p9("\n")}else r.ge_1.p9(e).p9("\n");var m=function(t){var r=t._suppressed,n=null==r?null:r;return null==n?Ra():n}(t);if(!m.x())for(var y=n+" ",g=m.l();g.m();)ka(g.n(),r,y,"Suppressed: ");return!0}function qa(){if(O)return n;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=fi(r.ne_1,n.ne_1);return i>0?t*(r.ne_1/n.ne_1):i<0?t/(n.ne_1/r.ne_1):t}function za(){return qa(),P}function Sa(t,r){return r===t?"(this Map)":Yn(r)}function Ca(t,r){var n;t:{for(var i=t.d2().l();i.m();){var e=i.n();if(pi(e.x1(),r)){n=e;break t}}n=null}return n}function Aa(t,r){if(r<0)throw fr.l3("Deque is too big.");if(r<=t.ve_1.length)return n;if(t.ve_1===Oa().xe_1){var i=t,e=Wn(r,10);return i.ve_1=Qn(Array(e),null),n}!function(t,r){var n=Qn(Array(r),null);Je(t.ve_1,n,0,t.ue_1,t.ve_1.length),Je(t.ve_1,n,t.ve_1.length-t.ue_1|0,0,t.ue_1),t.ue_1=0,t.ve_1=n}(t,D.l8(t.ve_1.length,r))}function $a(t,r){return r>=t.ve_1.length?r-t.ve_1.length|0:r}function Ea(t,r){return r<0?r+t.ve_1.length|0:r}function Ia(t,r){return r===On(t.ve_1)?0:r+1|0}function Ma(t,r){return 0===r?On(t.ve_1):r-1|0}function Na(t,r,n){var i=n.l(),e=r,s=t.ve_1.length;if(e=0?n:n+r|0}function hu(){return Z===k&&new kn,Z}function _u(t,r,n){null!=n?t.k(n(r)):null==r||ke(r)?t.k(r):r instanceof ht?t.q9(r.hh_1):t.k(Yn(r))}function ou(t,r,n){if(t===r)return!0;if(!(n=n!==k&&n))return!1;var i=pa(t),e=pa(r);return i===e||li(Jn(i).toLowerCase(),0)===li(Jn(e).toLowerCase(),0)}function fu(t,r,n,i){return n=n===k?0:n,(i=i!==k&&i)||"string"!=typeof t?wu(t,r,n,_i(t),i):t.indexOf(r,n)}function cu(t){return _i(t)-1|0}function vu(t,r,n,i,e,s){if(i<0||r<0||r>(_i(t)-e|0)||i>(_i(n)-e|0))return!1;var a=0;if(a0&&u<=l||h<0&&l<=u)do{var _=u;if(u=u+h|0,ga(r,0,t,_,_i(r),e))return _}while(_!==l)}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,vu(r,0,t,v,_i(r),e))return v}while(v!==f)}return-1}function du(t){if(t.kh_1<0)t.ih_1=0,t.lh_1=null;else{var r;if(t.nh_1.qh_1>0?(t.mh_1=t.mh_1+1|0,r=t.mh_1>=t.nh_1.qh_1):r=!1,r||t.kh_1>_i(t.nh_1.oh_1))t.lh_1=ce(t.jh_1,cu(t.nh_1.oh_1)),t.kh_1=-1;else{var n=t.nh_1.rh_1(t.nh_1.oh_1,t.kh_1);if(null==n)t.lh_1=ce(t.jh_1,cu(t.nh_1.oh_1)),t.kh_1=-1;else{var i=n.yf(),e=n.zf();t.lh_1=Bn(t.jh_1,i),t.jh_1=i+e|0,t.kh_1=t.jh_1+(0===e?1:0)|0}}t.ih_1=1}}function pu(t){if(yu(t)){var r=mu(t);if(!(new bt(387905,-1073741824).k1(r)<=0&&r.k1(new bt(-387905,1073741823))<=0))throw gr.tc(mu(t).toString()+" ns is out of nanoseconds range")}else{var n=mu(t);if(!(new bt(1,-1073741824).k1(n)<=0&&n.k1(new bt(-1,1073741823))<=0))throw gr.tc(mu(t).toString()+" ms is out of milliseconds range");var i=mu(t);if(new bt(1108857478,-1074).k1(i)<=0&&i.k1(new bt(-1108857478,1073))<=0)throw gr.tc(mu(t).toString()+" ms is denormalized")}return t}function mu(t){return t.y2(1)}function yu(t){return!(1&t.d3())}function gu(t){return t.s2(fe(1e6))}function bu(t){return pu(t.x2(1))}function ku(){return function(){if(tt)return n;tt=!0,new An("SYNCHRONIZED",0),X=new An("PUBLICATION",1),new An("NONE",2)}(),X}function xu(t){return t instanceof Mn}function qu(t){return t instanceof Mn?t.mb_1:null}function ju(t){return new Mn(t)}function zu(t,r){return new Ln(t,r)}ae(at,"CharSequence"),ee(ut,"Number"),se(lt,"Unit"),ee(ht,"Char"),ae(_t,"Collection"),ae(ot,"List",k,k,[_t]),ae(ft,"MutableList",k,k,[ot,_t]),ae(ct,"Entry"),ae(vt,"Map"),ae(wt,"MutableEntry",k,k,[ct]),ae(dt,"MutableMap",k,k,[vt]),ae(pt,"Set",k,k,[_t]),le(mt),ee(yt,"Enum"),le(gt),ee(bt,"Long"),ae(kt,"FunctionAdapter"),ee(xt),ae(qt,"Comparator"),ee(jt,"AbstractCollection",k,k,[_t]),ee(zt,"AbstractMutableCollection",k,k,[jt,_t]),ee(St,"IteratorImpl"),ee(Ct,"ListIteratorImpl"),ee(At,"AbstractMutableList",k,k,[zt,ft]),ee($t,"SubList"),ee(Et,"AbstractMap",k,k,[vt]),ee(It,"AbstractMutableMap",k,k,[Et,dt]),ee(Mt,"AbstractMutableSet",k,k,[zt,_t,pt]),le(Nt),ee(Lt,"ArrayList",Lt.b1,k,[At,ft]),ee(Pt,"HashMap",Pt.l6,k,[It,dt]),ee(Ot,"HashMapKeys",k,k,[_t,pt,Mt]),ee(Dt,"HashMapValues",k,k,[_t,zt]),ee(Rt,"HashMapEntrySetBase",k,k,[_t,pt,Mt]),ee(Tt,"HashMapEntrySet"),ee(Ht),ee(Ut,"HashMapKeysDefault"),ee(Ft),ee(Bt,"HashMapValuesDefault"),ee(Kt,"HashSet",Kt.g8,k,[Mt,_t,pt]),le(Gt),ee(Vt,"Itr"),ee(Wt,"KeysItr"),ee(Jt,"ValuesItr"),ee(Yt,"EntriesItr"),ee(Zt,"EntryRef",k,k,[wt]),ae(Qt,"InternalMap"),qi(Xt).a8=function(t){var r;t:if(ge(t,_t)&&t.x())r=!0;else{for(var n=t.l();n.m();){var i=n.n();if(null==i||!ge(i,ct)||!this.w9(i)){r=!1;break t}}r=!0}return r},ee(Xt,"InternalHashMap",Xt.w6,k,[Qt]),ee(tr,"LinkedHashMap",tr.da,k,[Pt,dt]),ee(rr,"LinkedHashSet",rr.ha,k,[Kt,_t,pt]),ee(nr,"BaseOutput"),ee(ir,"NodeJsOutput"),ee(er,"BufferedOutput",er),ee(sr,"BufferedOutputToConsoleLog",sr),se(ar,"CompletedContinuation"),ee(ur,"InterceptedCoroutine"),ee(lr,"GeneratorCoroutineImpl"),ee(hr,"SafeContinuation"),ee(_r,"Exception",_r.bc),ee(or,"RuntimeException",or.ec),ee(fr,"IllegalStateException",fr.c4),ee(cr,"CancellationException",cr.rb),ee(vr,"IllegalArgumentException",vr.dc),ee(wr,"IndexOutOfBoundsException",wr.ic),ee(dr,"UnsupportedOperationException",dr.d6),ee(pr,"NoSuchElementException",pr.p4),ee(mr,"Error",mr.mc),ee(yr,"ConcurrentModificationException",yr.z8),ee(gr,"AssertionError",gr.sc),ee(br,"ArithmeticException",br.xc),ee(kr,"NullPointerException",kr.p3),ee(xr,"NoWhenBranchMatchedException",xr.t3),ee(qr,"ClassCastException",qr.x3),ee(jr,"UninitializedPropertyAccessException",jr.zc),ae(zr,"KClass"),ee(Sr,"KClassImpl",k,k,[zr]),se(Cr,"NothingKClassImpl"),ee(Ar,"ErrorKClass",Ar,k,[zr]),ee($r,"PrimitiveKClassImpl"),ee(Er,"SimpleKClassImpl"),ae(Ir,"KProperty1"),ae(Mr,"KMutableProperty1",k,k,[Ir]),ae(Nr,"KProperty0"),ae(Lr,"KMutableProperty0",k,k,[Nr]),se(Pr,"PrimitiveClasses"),ee(Or,"StringBuilder",Or.j,k,[at]),ee(Dr,"ExceptionTraceBuilder",Dr),ee(Rr,"DurationUnit"),le(Tr),ee(Hr),le(Ur),ee(Fr,"AbstractSet",k,k,[jt,pt]),ee(Br),le(Kr),le(Gr),ee(Vr,"ArrayDeque",Vr.ze),ee(Wr,"ArrayAsCollection",k,k,[_t]),se(Jr,"EmptyList",k,k,[ot]),se(Yr,"EmptyIterator"),ee(Zr,"IndexedValue"),ee(Qr,"IndexingIterable"),ee(Xr,"IndexingIterator"),se(tn,"EmptyMap",k,k,[vt]),ee(rn,"IntIterator"),ee(nn,"SequenceScope",k,k,k,[1]),ee(en,"SequenceBuilderIterator",en,k,k,[1]),ee(sn),ee(an),ee(un,"TransformingSequence"),se(ln,"EmptySet",k,k,[pt]),se(hn,"Key"),ae(_n,"CoroutineContext"),ae(fn,"Element",k,k,[_n]),ae(dn,"ContinuationInterceptor",k,k,[fn]),se(pn,"EmptyCoroutineContext",k,k,[_n]),qi(mn).tg=on,ee(mn,"CombinedContext",k,k,[_n]),ee(yn,"AbstractCoroutineContextKey"),qi(gn).eb=cn,qi(gn).sg=vn,qi(gn).rg=wn,qi(gn).tg=on,ee(gn,"AbstractCoroutineContextElement",k,k,[fn]),ee(bn,"CoroutineSingletons"),le(kn),ee(xn,"IntProgression"),ee(qn,"IntRange"),ee(jn,"IntProgressionIterator"),le(zn),ee(Sn),ee(Cn,"DelimitedRangesSequence"),ee(An,"LazyThreadSafetyMode"),ee($n,"UnsafeLazyImpl"),se(En,"UNINITIALIZED_VALUE"),le(In),ee(Mn,"Failure"),ee(Nn,"NotImplementedError",Nn.zb),ee(Ln,"Pair"),n=new lt,new mt,q=null,new Gt,S=new ar,D=new Tr,new Ur,R=new Kr,U=new Yr,K=new hn,Q=new zn,rt=new En,new In;class Su{atomicfu$Trace$append$1(t){}atomicfu$Trace$append$2(t,r){}atomicfu$Trace$append$3(t,r,n){}atomicfu$Trace$append$4(t,r,n,i){}}class Cu extends Su{constructor(){nt=null,super(),nt=this}}class Au{constructor(t){this.kotlinx$atomicfu$value=t}vh(t){this.kotlinx$atomicfu$value=t}wh(){return this.kotlinx$atomicfu$value}atomicfu$compareAndSet(t,r){return this.kotlinx$atomicfu$value===t&&(this.kotlinx$atomicfu$value=r,!0)}atomicfu$getAndSet(t){var r=this.kotlinx$atomicfu$value;return this.kotlinx$atomicfu$value=t,r}toString(){return Yn(this.kotlinx$atomicfu$value)}}class $u{constructor(t){this.kotlinx$atomicfu$value=t}xh(t){this.kotlinx$atomicfu$value=t}wh(){return this.kotlinx$atomicfu$value}atomicfu$compareAndSet(t,r){return this.kotlinx$atomicfu$value===t&&(this.kotlinx$atomicfu$value=r,!0)}atomicfu$getAndSet(t){var r=this.kotlinx$atomicfu$value;return this.kotlinx$atomicfu$value=t,r}toString(){return this.kotlinx$atomicfu$value.toString()}}class Eu{constructor(t){this.kotlinx$atomicfu$value=t}yh(t){this.kotlinx$atomicfu$value=t}wh(){return this.kotlinx$atomicfu$value}atomicfu$compareAndSet(t,r){return this.kotlinx$atomicfu$value===t&&(this.kotlinx$atomicfu$value=r,!0)}atomicfu$getAndSet(t){var r=this.kotlinx$atomicfu$value;return this.kotlinx$atomicfu$value=t,r}atomicfu$getAndIncrement(){var t=this.kotlinx$atomicfu$value;return this.kotlinx$atomicfu$value=t+1|0,t}atomicfu$getAndDecrement(){var t=this.kotlinx$atomicfu$value;return this.kotlinx$atomicfu$value=t-1|0,t}atomicfu$getAndAdd(t){var r=this.kotlinx$atomicfu$value;return this.kotlinx$atomicfu$value=this.kotlinx$atomicfu$value+t|0,r}atomicfu$addAndGet(t){return this.kotlinx$atomicfu$value=this.kotlinx$atomicfu$value+t|0,this.kotlinx$atomicfu$value}atomicfu$incrementAndGet(){return this.kotlinx$atomicfu$value=this.kotlinx$atomicfu$value+1|0,this.kotlinx$atomicfu$value}atomicfu$decrementAndGet(){return this.kotlinx$atomicfu$value=this.kotlinx$atomicfu$value-1|0,this.kotlinx$atomicfu$value}toString(){return this.kotlinx$atomicfu$value.toString()}}function Iu(){return nt===k&&new Cu,nt}function Mu(t){return function(t,r){return r=r===k?Iu():r,new Au(t)}(t,Iu())}function Nu(t){return function(t,r){return r=r===k?Iu():r,new $u(t)}(t,Iu())}function Lu(t){return function(t,r){return r=r===k?Iu():r,new Eu(t)}(t,Iu())}ee(Su,"TraceBase"),se(Cu,"None"),ee(Au,"AtomicRef"),ee($u,"AtomicBoolean"),ee(Eu,"AtomicInt");var Pu,Ou,Du,Ru,Tu,Hu,Uu,Fu,Bu,Ku,Gu,Vu,Wu,Ju,Yu,Zu,Qu,Xu,tl,rl,nl,il,el,sl,al,ul,ll,hl,_l,ol,fl,cl,vl,wl,dl,pl,ml,yl,gl=Math.imul;class bl{}class kl{}class xl{constructor(t){this.hm_1=Mu(t?q_():(B_(),Qu)),this.im_1=Mu(null)}x1(){return Ku}fn(t){this.im_1.kotlinx$atomicfu$value=t}gn(){return this.im_1.kotlinx$atomicfu$value}hn(){var t=this.gn();return null==t?null:t.hn()}jm(t){if(null==t)return this.fn(Gu),n;t.kn();var r=t.ao(this);this.fn(r),this.jn()&&(r.iq(),this.fn(Gu))}in(){return this.hm_1.kotlinx$atomicfu$value}om(){var t=this.in();return!(null==t||!ge(t,Hl))&&t.om()}jn(){var t=this.in();return!(null!=t&&ge(t,Hl))}kn(){for(;;){var t=(r=this,(n=this.in())instanceof ih?n.ws_1?0:r.hm_1.atomicfu$compareAndSet(n,q_())?(r.ln(),1):-1:n instanceof _h?r.hm_1.atomicfu$compareAndSet(n,n.vt_1)?(r.ln(),1):-1:0);if(0===t)return!1;if(1===t)return!0}var r,n}ln(){}mn(){var t,r=this.in();if(r instanceof uh){var n=r.zt(),i=null==n?null:this.nn(n,fo(this)+" is cancelling");if(null==i){var e="Job is still new or active: "+this.toString();throw fr.l3(yi(e))}t=i}else{if(null!=r&&ge(r,Hl)){var s="Job is still new or active: "+this.toString();throw fr.l3(yi(s))}t=r instanceof Bl?this.on(r.tm_1):Fh.ut(fo(this)+" has completed normally",null,this)}return t}nn(t,r){var n=t instanceof cr?t:null;return null==n?Fh.ut(null==r?this.rm():r,t,this):n}on(t,r,n){return r=r===k?null:r,n===k?this.nn(t,r):n.nn.call(this,t,r)}pn(t){return this.rn(!0,new oh(t))}qn(t,r,n){var i;return i=t?new fh(n):new oh(n),this.rn(r,i)}rn(t,r){var n;r.or_1=this;t:for(;;){var i=this.in();if(i instanceof ih)if(i.ws_1){if(this.hm_1.atomicfu$compareAndSet(i,r)){n=!0;break t}}else M_(this,i);else{if(null==i||!ge(i,Hl)){n=!1;break t}var e=i.qr();if(null==e)N_(this,i instanceof Ul?i:$i());else{var s;if(r.kr()){var a=i instanceof uh?i:null,u=null==a?null:a.zt();if(null!=u)return t&&r.nq(u),Gu;s=e.ur(r,5)}else s=e.ur(r,1);if(s){n=!0;break t}}}}if(n)return r;if(t){var l=this.in(),h=l instanceof Bl?l:null;r.nq(null==h?null:h.tm_1)}return Gu}sn(t){for(;;){var r=this.in();if(!(r instanceof Ul))return null!=r&&ge(r,Hl)?(null!=r.qr()&&t.vr(),n):n;if(r!==t)return n;if(this.hm_1.atomicfu$compareAndSet(r,q_()))return n}}tn(){return!1}un(t){var r;r=null==t?Fh.ut(this.rm(),null,this):t,this.vn(r)}rm(){return"Job was cancelled"}vn(t){this.yn(t)}wn(t){this.yn(t)}xn(t){return t instanceof cr||this.yn(t)&&this.do()}yn(t){var r,n=y_();return!(!this.tn()||(n=function(t,r){for(;;){var n=t.in();if(null==n||!ge(n,Hl)||n instanceof uh&&n.wt())return y_();var i=D_(t,n,new Bl(L_(t,r)));if(i!==b_())return i}}(this,t),n!==g_()))||(n===y_()&&(n=function(t,r){for(var n=null;;)t:{var i=t.in();if(i instanceof uh){if(i.xt())return k_();var e=i.mt();if(null!=r||!e){var s,a=n;if(null==a){var u=L_(t,r);n=u,s=u}else s=a;var l=s;i.yt(l)}var h=i.zt(),_=e?null:h;return null==_||E_(t,i.ct_1,_),y_()}if(null==i||!ge(i,Hl))return k_();var o,f=n;if(null==f){var c=L_(t,r);n=c,o=c}else o=f;var v=o;if(!i.om()){var w=D_(t,i,new Bl(v));if(w===y_()){var d="Cannot happen in "+yi(i);throw fr.l3(yi(d))}if(w===b_())break t;return w}if(O_(t,i,v))return y_()}}(this,t)),n===y_()||n===g_()?r=!0:n===k_()?r=!1:(this.ym(n),r=!0),r)}zn(){var t,r=this.in();if(r instanceof uh)t=r.zt();else if(r instanceof Bl)t=r.tm_1;else{if(null!=r&&ge(r,Hl)){var n="Cannot be cancelling child in this state: "+yi(r);throw fr.l3(yi(n))}t=null}var i=t,e=i instanceof cr?i:null;return null==e?Fh.ut("Parent job is "+H_(0,r),i,this):e}wm(t){for(;;){var r=D_(this,this.in(),t);if(r===y_())throw fr.ub("Job "+this.toString()+" is already complete or completing, but is being completed with "+Yn(t),(void 0,null==(i=(n=t)instanceof Bl?n:null)?null:i.tm_1));if(r!==b_())return r}var n,i}vs(){return Ja((t=new hh(this),(r=function(r,n){return t.ku(r,n)}).$arity=1,r));var t,r}ao(t){var r=new ch(t);r.or_1=this;var n,i=r;t:for(;;){var e=this.in();if(e instanceof ih)if(e.ws_1){if(this.hm_1.atomicfu$compareAndSet(e,i)){n=!0;break t}}else M_(this,e);else{if(null==e||!ge(e,Hl)){n=!1;break t}var s=e.qr();if(null==s)N_(this,e instanceof Ul?e:$i());else{var a;if(s.ur(i,7))a=!0;else{var u,l=s.ur(i,3),h=this.in();if(h instanceof uh)u=h.zt();else{var _=h instanceof Bl?h:null;u=null==_?null:_.tm_1}var o=u;if(i.nq(o),!l)return Gu;a=!0}if(a){n=!0;break t}}}}if(n)return i;var f=this.in(),c=f instanceof Bl?f:null;return i.nq(null==c?null:c.tm_1),Gu}zm(t){throw t}bo(t){}co(){return!1}do(){return!0}eo(t){return!1}sm(t){}ym(t){}toString(){return this.fo()+"@"+co(this)}fo(){return this.an()+"{"+H_(0,this.in())+"}"}an(){return fo(this)}}class ql{}class jl extends xl{constructor(t,r,n){super(n),r&&this.jm(t.eb(Ku)),this.mm_1=t.tg(this)}ra(){return this.mm_1}nm(){return this.mm_1}om(){return super.om()}pm(t){}qm(t,r){}rm(){return fo(this)+" was cancelled"}sm(t){t instanceof Bl?this.qm(t.tm_1,t.vm()):this.pm(null==t||null!=t?t:$i())}ta(t){var r=this.wm(a_(t));if(r===g_())return n;this.xm(r)}xm(t){return this.ym(t)}zm(t){h_(this.mm_1,t)}an(){var t=(this.mm_1,null);return null==t?super.an():'"'+t+'":'+super.an()}bn(t,r,n){t.en(n,r,this)}}class zl extends jl{constructor(t,r){super(t,!0,r)}eo(t){return h_(this.mm_1,t),!0}}class Sl extends zl{constructor(t,r){super(t,!1),this.to_1=As(r,this,this)}ln(){!function(t,r){try{eo(Cs(t),n),n}catch(t){if(!(t instanceof Error))throw t;ho(r,t),n}}(this.to_1,this)}}class Cl extends jl{constructor(t,r){super(t,!0,!0),this.xo_1=r}co(){return!0}ym(t){eo(Cs(this.xo_1),u_(t,this.xo_1))}xm(t){this.xo_1.ta(u_(t,this.xo_1))}}class Al extends Cl{constructor(t,r){super(t,r),this.lo_1=Lu(0)}ym(t){this.xm(t)}xm(t){if(function(t){for(var r=t.lo_1;;)switch(r.kotlinx$atomicfu$value){case 0:if(t.lo_1.atomicfu$compareAndSet(0,2))return!0;break;case 1:return!1;default:throw fr.l3(yi("Already resumed"))}}(this))return n;eo(Cs(this.xo_1),u_(t,this.xo_1))}mo(){if(function(t){for(var r=t.lo_1;;)switch(r.kotlinx$atomicfu$value){case 0:if(t.lo_1.atomicfu$compareAndSet(0,1))return!0;break;case 2:return!1;default:throw fr.l3(yi("Already suspended"))}}(this))return iu();var t=F_(this.in());if(t instanceof Bl)throw t.tm_1;return null==t||null!=t?t:$i()}}class $l{}class El{}class Il{}class Ml extends Il{constructor(t){super(),this.pp_1=t}kq(t,r){}rq(t){return null==t||null!=t?t:$i()}zq(t){var r=t instanceof Bl?t:null;return null==r?null:r.tm_1}br(){var t=null;try{var r=this.gq(),n=r instanceof Ah?r:$i(),i=n.kp_1;n.mp_1;var e=i.ra(),s=this.jq(),a=this.zq(s),u=null==a&&ao(this.pp_1)?e.eb(Ku):null;if(null==u||u.om())if(null!=a){var l=ju(a);i.ta(l)}else{var h=this.rq(s);i.ta(h)}else{var _=u.mn();this.kq(s,_);var o=ju(ko(_));i.ta(o)}}catch(r){if(!(r instanceof Error))throw r;t=r}finally{var f=t;null==f||this.cr(f)}}cr(t){var r=th.us("Fatal exception in coroutines machinery for "+yi(this)+". Please read KDoc to 'handleFatalException' method and report this incident to maintainers",t);h_(this.gq().ra(),r)}}class Nl extends Ml{constructor(t,r){super(r),this.cp_1=t,this.dp_1=this.cp_1.ra(),this.ep_1=Lu(536870911),this.fp_1=Mu(Pu),this.gp_1=Mu(null)}gq(){return this.cp_1}ra(){return this.dp_1}in(){return this.fp_1.kotlinx$atomicfu$value}jn(){var t=this.in();return!(null!=t&&ge(t,Ll))}hq(){var t=t_(this);if(null==t)return n;var r=t;this.jn()&&(r.iq(),this.gp_1.kotlinx$atomicfu$value=Gu)}jq(){return this.in()}kq(t,r){for(var i=this.fp_1;;){var e=i.kotlinx$atomicfu$value;if(null!=e&&ge(e,Ll))throw fr.l3(yi("Not completed"));if(e instanceof Bl)return n;if(e instanceof Rl){if(e.cq())throw fr.l3(yi("Must be called at most once"));var s=e.dq(k,k,k,k,r);if(this.fp_1.atomicfu$compareAndSet(e,s))return e.lq(this,r),n}else if(this.fp_1.atomicfu$compareAndSet(e,new Rl(e,k,k,k,r)))return n}return n}yo(t){for(var r=this.fp_1;;){var n,i=r.kotlinx$atomicfu$value;if(null==i||!ge(i,Ll))return!1;n=!!ge(i,Pl)||i instanceof Sh;var e=new Kl(this,t,n);if(this.fp_1.atomicfu$compareAndSet(i,e))return ge(i,Pl)?this.bq(i,t):i instanceof Sh&&Xh(this,i,t),s_(this),n_(this,this.pp_1),!0}}mq(t){if(function(t,r){if(!Qh(t))return!1;var n=t.cp_1;return(n instanceof Ah?n:$i()).qp(r)}(this,t))return n;this.yo(t),s_(this)}bq(t,r){var i;try{t.nq(r),i=n}catch(t){if(!(t instanceof Error))throw t;var e=t;h_(this.ra(),Xl.vp("Exception in invokeOnCancellation handler for "+this.toString(),e)),i=n}return i}oq(t,r,n){try{t(r,n,this.ra())}catch(t){if(!(t instanceof Error))throw t;var i=t;h_(this.ra(),Xl.vp("Exception in resume onCancellation handler for "+this.toString(),i))}}pq(t){return t.mn()}mo(){var t=Qh(this);if(function(t){for(var r=t.ep_1;;){var n=r.kotlinx$atomicfu$value;switch(n>>29){case 0:var i=(1<<29)+(536870911&n)|0;if(t.ep_1.atomicfu$compareAndSet(n,i))return!0;break;case 2:return!1;default:throw fr.l3(yi("Already suspended"))}}}(this))return null==Zh(this)&&t_(this),t&&this.qq(),iu();t&&this.qq();var r=this.in();if(r instanceof Bl)throw ko(r.tm_1);if(ao(this.pp_1)){var n=this.ra().eb(Ku);if(null!=n&&!n.om()){var i=n.mn();throw this.kq(r,i),ko(i)}}return this.rq(r)}qq(){var t=this.cp_1,r=t instanceof Ah?t:null,i=null==r?null:r.sq(this);if(null==i)return n;var e=i;this.fq(),this.yo(e)}ta(t){return this.tq(null==(n=qu(r=t))?null==r||null!=r?r:$i():new Bl(ko(n)),this.pp_1);var r,n}ap(t){return function(t,r){if(!(t instanceof Nl))throw dr.d8("third-party implementation of CancellableContinuation is not supported");return t.hp(r),n}(this,new Ol(t))}hp(t){return function(t,r){for(var i=t.fp_1;;){var e=i.kotlinx$atomicfu$value;if(e instanceof Dl){if(t.fp_1.atomicfu$compareAndSet(e,r))return n}else if(null!=e&&ge(e,Pl)||e instanceof Sh)r_(0,r,e);else{if(e instanceof Bl){if(e.eq()||r_(0,r,e),e instanceof Kl){var s=e instanceof Bl?e:null,a=null==s?null:s.tm_1;ge(r,Pl)?t.bq(r,a):Xh(t,r instanceof Sh?r:$i(),a)}return n}if(e instanceof Rl){if(null!=e.xp_1&&r_(0,r,e),r instanceof Sh)return n;if(ge(r,Pl)||$i(),e.cq())return t.bq(r,e.aq_1),n;var u=e.dq(k,r);if(t.fp_1.atomicfu$compareAndSet(e,u))return n}else{if(r instanceof Sh)return n;ge(r,Pl)||$i();var l=new Rl(e,r);if(t.fp_1.atomicfu$compareAndSet(e,l))return n}}}}(this,t)}uq(t,r,i){for(var e=this.fp_1;;)t:{var s=e.kotlinx$atomicfu$value;if(null!=s&&ge(s,Ll)){var a=i_(0,s,t,r,i,null);if(!this.fp_1.atomicfu$compareAndSet(s,a))break t;return s_(this),n_(this,r),n}if(s instanceof Kl&&s.yq())return null==i||this.oq(i,s.tm_1,t),n;e_(0,t)}}tq(t,r,i,e){var s;return i=i===k?null:i,e===k?(this.uq(t,r,i),s=n):s=e.uq.call(this,t,r,i),s}fq(){var t=Zh(this);if(null==t)return n;t.iq(),this.gp_1.kotlinx$atomicfu$value=Gu}rq(t){var r;if(t instanceof Rl){var n=t.wp_1;r=null==n||null!=n?n:$i()}else r=null==t||null!=t?t:$i();return r}zq(t){var r=super.zq(t);return null==r?null:ko(r,this.cp_1)}toString(){return this.ar()+"("+po(this.cp_1)+"){"+((null!=(t=this.in())&&ge(t,Ll)?"Active":t instanceof Kl?"Cancelled":"Completed")+"}@")+co(this);var t}ar(){return"CancellableContinuation"}}class Ll{}class Pl{}class Ol{constructor(t){this.dr_1=t}nq(t){this.dr_1(t)}toString(){return"CancelHandler.UserSupplied["+fo(this.dr_1)+"@"+co(this)+"]"}}class Dl{toString(){return"Active"}}class Rl{constructor(t,r,n,i,e){r=r===k?null:r,n=n===k?null:n,i=i===k?null:i,e=e===k?null:e,this.wp_1=t,this.xp_1=r,this.yp_1=n,this.zp_1=i,this.aq_1=e}cq(){return!(null==this.aq_1)}lq(t,r){var n=this.xp_1;null==n||t.bq(n,r);var i=this.yp_1;null==i||t.oq(i,r,this.wp_1)}er(t,r,n,i,e){return new Rl(t,r,n,i,e)}dq(t,r,n,i,e,s){return t=t===k?this.wp_1:t,r=r===k?this.xp_1:r,n=n===k?this.yp_1:n,i=i===k?this.zp_1:i,e=e===k?this.aq_1:e,s===k?this.er(t,r,n,i,e):s.er.call(this,t,r,n,i,e)}toString(){return"CompletedContinuation(result="+Yn(this.wp_1)+", cancelHandler="+Yn(this.xp_1)+", onCancellation="+Yn(this.yp_1)+", idempotentResume="+Yn(this.zp_1)+", cancelCause="+Yn(this.aq_1)+")"}hashCode(){var t=null==this.wp_1?0:mi(this.wp_1);return t=gl(t,31)+(null==this.xp_1?0:mi(this.xp_1))|0,t=gl(t,31)+(null==this.yp_1?0:mi(this.yp_1))|0,t=gl(t,31)+(null==this.zp_1?0:mi(this.zp_1))|0,gl(t,31)+(null==this.aq_1?0:mi(this.aq_1))|0}equals(t){if(this===t)return!0;if(!(t instanceof Rl))return!1;var r=t instanceof Rl?t:$i();return!!(pi(this.wp_1,r.wp_1)&&pi(this.xp_1,r.xp_1)&&pi(this.yp_1,r.yp_1)&&pi(this.zp_1,r.zp_1)&&pi(this.aq_1,r.aq_1))}}class Tl{constructor(){this.rr_1=this,this.sr_1=this,this.tr_1=!1}ur(t,r){var n,i=this.sr_1;return i instanceof Vh?n=!(i.e10_1&r)&&i.ur(t,r):(t.rr_1=this,t.sr_1=i,i.rr_1=t,this.sr_1=t,n=!0),n}bt(t){this.ur(new Vh(t),t)}vr(){if(this.tr_1)return!1;var t=this.sr_1,r=this.rr_1;return t.rr_1=r,r.sr_1=t,this.tr_1=!0,!0}wr(t){return this.rr_1===this&&(this.ur(t,-2147483648),!0)}}class Hl{}class Ul extends Tl{pr(){var t=this.or_1;if(null!=t)return t;!function(t){throw jr.b4("lateinit property job has not been initialized")}()}om(){return!0}qr(){return null}iq(){return this.pr().sn(this)}toString(){return fo(this)+"@"+co(this)+"[job@"+co(this.pr())+"]"}}class Fl extends Ul{constructor(t){super(),this.jr_1=t}kr(){return!0}nq(t){this.jr_1.mq(this.jr_1.pq(this.pr()))}}class Bl{constructor(t,r){r=r!==k&&r,this.tm_1=t,this.um_1=Nu(r)}vm(){return this.um_1.kotlinx$atomicfu$value}eq(){return this.um_1.atomicfu$compareAndSet(!1,!0)}toString(){return fo(this)+"["+this.tm_1.toString()+"]"}}class Kl extends Bl{constructor(t,r,n){super(null==r?cr.sb("Continuation "+yi(t)+" was cancelled normally"):r,n),this.xq_1=Nu(!1)}yq(){return this.xq_1.atomicfu$compareAndSet(!1,!0)}}class Gl extends yn{constructor(){Ou=null,super(K,l_),Ou=this}}class Vl extends gn{constructor(){Ou===k&&new Gl,super(K)}yr(t){return!0}fb(t){return new Ah(this,t)}gb(t){(t instanceof Ah?t:$i()).as()}toString(){return fo(this)+"@"+co(this)}}class Wl{}class Jl{nm(){return Xa()}}class Yl extends yt{en(t,r,i){var e;switch(this.j2_1){case 0:lo(t,r,i),e=n;break;case 2:!function(t,r,i){var e=Cs(As(t,r,i)),s=n;e.ta(s)}(t,r,i),e=n;break;case 3:!function(t,r,i){var e,s=i;try{s.ra(),e=$s(t,r,s)}catch(t){if(t instanceof Error){var a=ju(t);return s.ta(a),n}throw t}var u=e;if(u!==iu()){var l=null==u||null!=u?u:$i();s.ta(l)}}(t,r,i),e=n;break;case 1:e=n;break;default:!function(){throw xr.t3()}()}return e}go(){return this===(o_(),Hu)}}class Zl extends Vl{constructor(){super(),this.ds_1=new bt(0,0),this.es_1=!1,this.fs_1=null}gs(){var t=this.fs_1;if(null==t)return!1;var r=t.df();return null!=r&&(r.br(),!0)}hs(t){var r,n=this.fs_1;if(null==n){var i=Vr.ze();this.fs_1=i,r=i}else r=n;r.bf(t)}is(){return this.ds_1.k1(f_(0,!0))>=0}js(){var t=this.fs_1,r=null==t?null:t.x();return null==r||r}ks(t){this.ds_1=this.ds_1.q2(f_(0,t)),t||(this.es_1=!0)}ls(t){if(this.ds_1=this.ds_1.r2(f_(0,t)),this.ds_1.k1(new bt(0,0))>0)return n;this.es_1&&this.ms()}ms(){}}class Ql{constructor(){Bu=this,this.ns_1=(new Eh("ThreadLocalEventLoop"),new Wh)}os(){var t,r=this.ns_1.qs();if(null==r){var n=new Oh;c_().ns_1.rs(n),t=n}else t=r;return t}}class Xl extends or{static vp(t,r){var n=this.kc(t,r);return xi(n,n.up_1),n}}class th extends mr{static us(t,r){var n=this.oc(t,r);return xi(n,n.ts_1),n}}class rh{}class nh{hn(){return null}iq(){}xn(t){return!1}toString(){return"NonDisposableHandle"}}class ih{constructor(t){this.ws_1=t}om(){return this.ws_1}qr(){return null}toString(){return"Empty{"+(this.ws_1?"Active":"New")+"}"}}class eh extends Tl{}class sh extends eh{om(){return!0}qr(){return this}at(t){var r=Or.j();r.p9("List{"),r.p9(t),r.p9("}[");for(var n=!0,i=this.rr_1;!pi(i,this);){var e=i;e instanceof Ul&&(n?n=!1:r.p9(", "),r.o9(e)),i=i.rr_1}return r.p9("]"),r.toString()}toString(){return oo()?this.at("Active"):super.toString()}}class ah{}class uh extends ah{constructor(t,r,n){super(),this.ct_1=t,this.dt_1=Nu(r),this.et_1=Mu(n),this.ft_1=Mu(null)}qr(){return this.ct_1}au(t){this.dt_1.kotlinx$atomicfu$value=t}wt(){return this.dt_1.kotlinx$atomicfu$value}bu(t){this.et_1.kotlinx$atomicfu$value=t}zt(){return this.et_1.kotlinx$atomicfu$value}xt(){return z_(this)===x_()}mt(){return!(null==this.zt())}om(){return null==this.zt()}nt(t){var r,n=z_(this);if(null==n)r=S_();else if(n instanceof Error){var i=S_();i.h(n),r=i}else{if(!(n instanceof Lt)){var e="State is "+Yn(n);throw fr.l3(yi(e))}r=n instanceof Lt?n:$i()}var s=r,a=this.zt();return null==a||s.u1(0,a),null==t||pi(t,a)||s.h(t),j_(this,x_()),s}yt(t){var r=this.zt();if(null==r)return this.bu(t),n;if(t===r)return n;var i=z_(this);if(null==i)j_(this,t);else if(i instanceof Error){if(t===i)return n;var e=S_();e.h(i),e.h(t),j_(this,e)}else{if(!(i instanceof Lt)){var s="State is "+Yn(i);throw fr.l3(yi(s))}(i instanceof Lt?i:$i()).h(t)}}toString(){return"Finishing[cancelling="+this.mt()+", completing="+this.wt()+", rootCause="+Yn(this.zt())+", exceptions="+Yn(z_(this))+", list="+this.ct_1.toString()+"]"}}class lh extends Ul{constructor(t,r,n,i){super(),this.gu_1=t,this.hu_1=r,this.iu_1=n,this.ju_1=i}kr(){return!1}nq(t){!function(t,r,i,e){var s=T_(i);if(null!=s&&R_(t,r,s,e))return n;r.ct_1.bt(2);var a=T_(i);if(null!=a&&R_(t,r,a,e))return n;var u=A_(t,r,e);t.ym(u)}(this.gu_1,this.hu_1,this.iu_1,this.ju_1)}}class hh{constructor(t){this.gt_1=t}ku(t,r){return Es(C_.bind(k,this,t),r)}ac(t,r){return this.ku(t instanceof nn?t:$i(),r)}}class _h{constructor(t){this.vt_1=t}qr(){return this.vt_1}om(){return!1}toString(){return oo()?this.vt_1.at("New"):ki(this)}}class oh extends Ul{constructor(t){super(),this.pu_1=t}kr(){return!1}nq(t){return this.pu_1(t)}}class fh extends Ul{constructor(t){super(),this.uu_1=t,this.vu_1=Nu(!1)}kr(){return!0}nq(t){this.vu_1.atomicfu$compareAndSet(!1,!0)&&this.uu_1(t)}}class ch extends Ul{constructor(t){super(),this.lt_1=t}hn(){return this.pr()}kr(){return!0}nq(t){return this.lt_1.wn(this.pr())}xn(t){return this.pr().xn(t)}}class vh{constructor(t){this.wu_1=t}}class wh extends xl{constructor(t){super(!0),this.jm(t),this.zu_1=function(t){var r=t.gn(),n=r instanceof ch?r:null,i=null==n?null:n.pr();if(null==i)return!1;for(var e=i;;){if(e.do())return!0;var s=e.gn(),a=s instanceof ch?s:null,u=null==a?null:a.pr();if(null==u)return!1;e=u}}(this)}tn(){return!0}do(){return this.zu_1}}class dh extends Vl{toString(){var t=this.cv();return null==t?fo(this)+"@"+co(this):t}cv(){var t,r=mo().hv();if(this===r)return"Dispatchers.Main";try{t=r.bv()}catch(r){if(!(r instanceof dr))throw r;t=null}return this===t?"Dispatchers.Main.immediate":null}}class ph extends cr{}class mh extends Vl{constructor(){rl=null,super(),rl=this}yr(t){return!1}zr(t,r){var i=t.eb(nl);if(null!=i)return i.kv_1=!0,n;throw dr.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 yh{}class gh{}class bh extends ah{constructor(){super(),this.yv_1=null,this.zv_1=0,this.aw_1=0,this.bw_1=null}mw(){var t,r,n=this.yv_1;if(null==n){var i=this.xw(2);this.yv_1=i,r=i}else{var e;if(this.zv_1>=n.length){var s=Pe(n,gl(2,n.length));this.yv_1=s,e=s}else e=n;r=e}var a,u=r,l=this.aw_1;t:for(;;){var h,_=u[l];if(null==_){var o=this.ww();u[l]=o,h=o}else h=_;if(a=h,(l=l+1|0)>=u.length&&(l=0),(a instanceof xh?a:$i()).zw(this))break t}this.aw_1=l,this.zv_1=this.zv_1+1|0;var f=a;return null==(t=this.bw_1)||t.rx(1),f}sw(t){var r;this.zv_1=this.zv_1-1|0,r=this.bw_1,0===this.zv_1&&(this.aw_1=0);for(var i=(t instanceof xh?t:$i()).bx(this),e=0,s=i.length;e"}}class Ih extends Vl{constructor(){super(),this.ny_1=new Lh(this)}zr(t,r){this.ny_1.ez(r)}}class Mh extends Ih{constructor(){wl=null,super(),wl=this}gy(){process.nextTick(this.ny_1.ly_1)}}class Nh{constructor(){this.oy_1=Vr.ze(),this.py_1=16,this.qy_1=!1}vy(t){return this.oy_1.h(t)}h(t){return this.vy(null!=t&&ge(t,El)?t:$i())}wy(t,r){this.oy_1.u1(t,r)}u1(t,r){return this.wy(t,null!=r&&ge(r,El)?r:$i())}xy(t,r){return this.oy_1.r1(t,r)}r1(t,r){return this.xy(t,r)}yy(t){return this.oy_1.r(t)}r(t){return this.yy(t)}s1(){this.oy_1.s1()}zy(t){return this.oy_1.q1(t)}q1(t){return!(null==t||!ge(t,El))&&this.zy(null!=t&&ge(t,El)?t:$i())}v1(t){return this.oy_1.v1(t)}az(t,r){return this.oy_1.t1(t,r)}t1(t,r){return this.az(t,null!=r&&ge(r,El)?r:$i())}p1(t,r){return this.oy_1.p1(t,r)}bz(t){return this.oy_1.o(t)}o(t){return!(null==t||!ge(t,El))&&this.bz(null!=t&&ge(t,El)?t:$i())}cz(t){return this.oy_1.o1(t)}o1(t){return this.cz(t)}s(t){return this.oy_1.s(t)}dz(t){return this.oy_1.a1(t)}a1(t){return null!=t&&ge(t,El)?this.dz(null!=t&&ge(t,El)?t:$i()):-1}x(){return this.oy_1.x()}l(){return this.oy_1.l()}p(){return this.oy_1.we_1}ez(t){this.vy(t),this.qy_1||(this.qy_1=!0,this.sy())}ry(){try{var t=this.py_1,r=0;if(r>29){case 0:var i=(2<<29)+(536870911&n)|0;if(t.ep_1.atomicfu$compareAndSet(n,i))return!0;break;case 1:return!1;default:throw fr.l3(yi("Already resumed"))}}}(t))return n;!function(t,r){var n=t.gq(),i=4===r;if(!!(!i&&n instanceof Ah)&&ao(r)===ao(t.pp_1)){var e=n.jp_1,s=n.ra();e.yr(s)?e.zr(s,t):function(t){var r=c_().os();if(r.is())r.hs(t);else{r.ks(!0);try{for(uo(t,t.gq(),!0);r.gs(););}catch(r){if(!(r instanceof Error))throw r;var n=r;t.cr(n)}finally{r.ls(!0)}}}(t)}else uo(t,n,i)}(t,r)}function i_(t,r,n,i,e,s){return n instanceof Bl||!ao(i)&&null==s||null==e&&!ge(r,Pl)&&null==s?n:new Rl(n,ge(r,Pl)?r:null,e,s)}function e_(t,r){var n="Already resumed, but proposed with update "+Yn(r);throw fr.l3(yi(n))}function s_(t){Qh(t)||t.fq()}function a_(t){var r=qu(t);return null==r?null==t||null!=t?t:$i():new Bl(r)}function u_(t,r){return t instanceof Bl?ju(ko(t.tm_1)):null==t||null!=t?t:$i()}function l_(t){return t instanceof Vl?t:null}function h_(t,r){try{var i=t.eb(Du);if(null!=i)return i.bs(t,r),n}catch(i){if(i instanceof Error)return ro(t,__(r,i)),n;throw i}ro(t,r)}function __(t,r){if(t===r)return t;var n=or.kc("Exception while trying to handle coroutine exception",r);return ba(n,t),n}function o_(){if(Fu)return n;Fu=!0,Tu=new Yl("DEFAULT",0),Hu=new Yl("LAZY",1),new Yl("ATOMIC",2),Uu=new Yl("UNDISPATCHED",3)}function f_(t,r){return r?new bt(0,1):new bt(1,0)}function c_(){return Bu===k&&new Ql,Bu}function v_(t){var r=t.eb(Ku);null==r||d_(r)}function w_(t,r,i){var e,s,a;if(r=r===k||r,t instanceof xl)e=t.rn(r,i);else{var u=i.kr();e=t.qn(u,r,(s=i,(a=function(t){return s.nq(t),n}).callableName="invoke",a))}return e}function d_(t){if(!t.om())throw t.mn()}function p_(t){return new wh(t=t===k?null:t)}function m_(t){var r=t.eb(Ku);if(null==r){var n="Current context doesn't contain Job in it: "+yi(t);throw fr.l3(yi(n))}return r}function y_(){return B_(),Vu}function g_(){return B_(),Wu}function b_(){return B_(),Ju}function k_(){return B_(),Yu}function x_(){return B_(),Zu}function q_(){return B_(),Xu}function j_(t,r){t.ft_1.kotlinx$atomicfu$value=r}function z_(t){return t.ft_1.kotlinx$atomicfu$value}function S_(t){return Lt.q(4)}function*C_(t,r,i){var e=t.gt_1.in();if(e instanceof ch){var s=r.fg(e.lt_1,i);s===iu()&&(s=yield s)}else if(null!=e&&ge(e,Hl)){var a=e.qr();if(null==a);else for(var u=a.rr_1;!pi(u,a);){var l=u;if(l instanceof ch){var h=r.fg(l.lt_1,i);h===iu()&&(h=yield h)}u=u.rr_1}}return n}function A_(t,r,i){var e,s=i instanceof Bl?i:null,a=null==s?null:s.tm_1;e=r.mt();var u=r.nt(a),l=function(t,r,n){if(n.x())return r.mt()?Fh.ut(t.rm(),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 ph){var u;t:{for(var l=n.l();l.m();){var h=l.n();if(h!==a&&h instanceof ph){u=h;break t}}u=null}if(null!=u)return u}return a}(t,r,u);null!=l&&function(t,r,i){if(i.p()<=1)return n;for(var e,s=(e=i.p(),Kt.z(e)),a=r,u=i.l();u.m();){var l=u.n();!(l===r||l===a||l instanceof cr)&&s.h(l)&&ba(r,l)}}(0,l,u);var h=l,_=null==h||h===a?i:new Bl(h);return null!=h&&(I_(t,h)||t.eo(h))&&(_ instanceof Bl?_:$i()).eq(),e||t.bo(h),t.sm(_),t.hm_1.atomicfu$compareAndSet(r,U_(_)),$_(t,r,_),_}function $_(t,r,n){var i=t.gn();null==i||(i.iq(),t.fn(Gu));var e=n instanceof Bl?n:null,s=null==e?null:e.tm_1;if(r instanceof Ul)try{r.nq(s)}catch(n){if(!(n instanceof Error))throw n;var a=n;t.zm(Xl.vp("Exception in completion handler "+r.toString()+" for "+t.toString(),a))}else{var u=r.qr();null==u||function(t,r,n){t.bt(1);for(var i=null,e=t.rr_1;!pi(e,t);){var s=e;if(s instanceof Ul)try{s.nq(n)}catch(t){if(!(t instanceof Error))throw t;var a,u=t,l=i;null==l?a=null:(ba(l,u),a=l),null==a&&(i=Xl.vp("Exception in completion handler "+s.toString()+" for "+r.toString(),u))}e=e.rr_1}var h=i;null==h||r.zm(h)}(u,t,s)}}function E_(t,r,n){t.bo(n),r.bt(4);for(var i=null,e=r.rr_1;!pi(e,r);){var s=e;if(s instanceof Ul&&s.kr())try{s.nq(n)}catch(r){if(!(r instanceof Error))throw r;var a,u=r,l=i;null==l?a=null:(ba(l,u),a=l),null==a&&(i=Xl.vp("Exception in completion handler "+s.toString()+" for "+t.toString(),u))}e=e.rr_1}var h=i;null==h||t.zm(h),I_(t,n)}function I_(t,r){if(t.co())return!0;var n=r instanceof cr,i=t.gn();return null===i||i===Gu?n:i.xn(r)||n}function M_(t,r){var n=new sh,i=r.ws_1?n:new _h(n);t.hm_1.atomicfu$compareAndSet(r,i)}function N_(t,r){r.wr(new sh);var n=r.rr_1;t.hm_1.atomicfu$compareAndSet(r,n)}function L_(t,r){return null==r||r instanceof Error?null==r?Fh.ut(t.rm(),null,t):r:(null!=r&&ge(r,kl)?r:$i()).zn()}function P_(t,r){var n,i=r.qr();if(null==i){var e;if(r instanceof ih)e=new sh;else{if(!(r instanceof Ul)){var s="State should have list: "+yi(r);throw fr.l3(yi(s))}N_(t,r),e=null}n=e}else n=i;return n}function O_(t,r,n){var i=P_(t,r);if(null==i)return!1;var e=i,s=new uh(e,!1,n);return!!t.hm_1.atomicfu$compareAndSet(r,s)&&(E_(t,e,n),!0)}function D_(t,r,n){return null!=r&&ge(r,Hl)?!(r instanceof ih||r instanceof Ul)||r instanceof ch||n instanceof Bl?function(t,r,n){var i=P_(t,r);if(null==i)return b_();var e,s=i,a=r instanceof uh?r:null,u=null==a?new uh(s,!1,null):a;if(u.wt())return y_();if(u.au(!0),u!==r&&!t.hm_1.atomicfu$compareAndSet(r,u))return b_();var l=u.mt(),h=n instanceof Bl?n:null;null==h||u.yt(h.tm_1);var _=u.zt();null==(e=l?null:_)||E_(t,s,e);var o=T_(s);if(null!=o&&R_(t,u,o,n))return g_();s.bt(2);var f=T_(s);return null!=f&&R_(t,u,f,n)?g_():A_(t,u,n)}(t,r,n):function(t,r,n){return!!t.hm_1.atomicfu$compareAndSet(r,U_(n))&&(t.bo(null),t.sm(n),$_(t,r,n),!0)}(t,r,n)?n:b_():y_()}function R_(t,r,n,i){for(var e=t,s=r,a=n,u=i;;){if(w_(a.lt_1,!1,new lh(e,s,a,u))!==Gu)return!0;var l=T_(a);if(null==l)return!1;a=l}}function T_(t,r){for(var n=t;n.tr_1;)n=n.sr_1;for(;;)if(!(n=n.rr_1).tr_1){if(n instanceof ch)return n;if(n instanceof sh)return null}}function H_(t,r){return r instanceof uh?r.mt()?"Cancelling":r.wt()?"Completing":"Active":null!=r&&ge(r,Hl)?r.om()?"Active":"New":r instanceof Bl?"Cancelled":"Completed"}function U_(t){return B_(),null!=t&&ge(t,Hl)?new vh(t):t}function F_(t){B_();var r=t instanceof vh?t:null,n=null==r?null:r.wu_1;return null==n?t:n}function B_(){tl||(tl=!0,Vu=new Eh("COMPLETING_ALREADY"),Wu=new Eh("COMPLETING_WAITING_CHILDREN"),Ju=new Eh("COMPLETING_RETRY"),Yu=new Eh("TOO_LATE_TO_CANCEL"),Zu=new Eh("SEALED"),Qu=new ih(!1),Xu=new ih(!0))}function K_(){return Y_(),il}function G_(){return Y_(),el}function V_(t){return Y_(),new kh(null==t?Z_():t)}function W_(t,r,n){var i,e,s=t.iw_1.kotlinx$atomicfu$value;if(null!=r&&!pi(s,r))return!1;if(pi(s,n))return!0;if(t.iw_1.kotlinx$atomicfu$value=n,1&(i=t.jw_1))return t.jw_1=i+2|0,!0;for(i=i+1|0,t.jw_1=i,e=t.yv_1;;){var a=e;if(null==a);else for(var u=0,l=a.length;u=0}hashCode(){var t=0,r=this.ai_1,n=this.bi_1;t:{var i=this.zh_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var u=i[a],l=u;if(!l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-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,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0,v=n[c],w=i[c];t.fe(v),t.p9("="),t.fe(w),(r=r+1|0)>>7&e,a=0;t:for(;;){for(var u=this.zh_1,l=s>>3,h=(7&s)<<3,_=u[l].z2(h).b3(u[l+1|0].x2(64-h|0).a3(fe(h).v2().y2(63))),o=new bt(16843009,16843009).s2(fe(i)),f=_.c3(o),c=f.r2(new bt(16843009,16843009)).a3(f.w2()).a3(new bt(-2139062144,-2139062144));!c.equals(new bt(0,0));){var v=s+(Re(c)>>3)&e;if(this.ai_1[v]===t)return v;var w=c;c=w.a3(w.r2(new bt(1,0)))}if(!_.a3(_.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;s=s+(a=a+8|0)&e}return-1}}class Lo extends No{constructor(t){if(t=t===k?6:t,super(),this.ji_1=0,!(t>=0))throw vr.f1(yi("Capacity must be a positive value."));rf(this,ff(t))}li(t,r){var n=function(t,r){var n=Io(r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=t.ci_1,u=e&a,l=0;t:for(;;){for(var h=t.zh_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(t.ai_1[d]===r)return d;var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;u=u+(l=l+8|0)&a}var m,y=nf(t,e);if(0===t.ji_1){var g=y;m=!t.zh_1[g>>3].y2((7&g)<<3).a3(new bt(255,0)).equals(new bt(254,0))}else m=!1;m&&(function(t){if(t.ci_1>8){var r=fe(t.di_1),n=new bt(32,0),i=r.s2(n),e=fe(t.ci_1),s=new bt(25,0);Ke(i,e.s2(s))}!function(t,r){var n=t.zh_1,i=t.ai_1,e=t.bi_1,s=t.ci_1;rf(t,r);var a=t.ai_1,u=t.bi_1,l=0;if(l>3].y2((7&h)<<3).a3(new bt(255,0)).k1(new bt(128,0))<0){var _=i[h],o=Io(_,-862048943),f=o^o<<16,c=nf(t,f>>>7|0),v=fe(127&f),w=t.zh_1,d=c>>3,p=(7&c)<<3;w[d]=w[d].a3(new bt(255,0).x2(p).w2()).b3(v.x2(p));var m=t.ci_1,y=(c-7&m)+(7&m)|0,g=y>>3,b=(7&y)<<3;w[g]=w[g].a3(new bt(255,0).x2(b).w2()).b3(v.x2(b)),a[c]=_,u[c]=e[h]}}while(l>3].y2((7&q)<<3).a3(new bt(255,0)).equals(new bt(128,0))?1:0,k.ji_1=x-b|0;var j=y,z=fe(s),S=t.zh_1,C=j>>3,A=(7&j)<<3;S[C]=S[C].a3(new bt(255,0).x2(A).w2()).b3(z.x2(A));var $=t.ci_1,E=(j-7&$)+(7&$)|0,I=E>>3,M=(7&E)<<3;return S[I]=S[I].a3(new bt(255,0).x2(M).w2()).b3(z.x2(M)),~y}(this,t);n<0&&(n=~n),this.ai_1[n]=t,this.bi_1[n]=r}}class Po{constructor(t){var r;r=0===t?af():new Int32Array(t),this.oi_1=r,this.pi_1=0}p(){return this.pi_1}s(t){if(!(0<=t&&t>>7&s,u=0;r:for(;;){for(var l=this.xi_1,h=a>>3,_=(7&a)<<3,o=l[h].z2(_).b3(l[h+1|0].x2(64-_|0).a3(fe(_).v2().y2(63))),f=new bt(16843009,16843009).s2(fe(e)),c=o.c3(f),v=c.r2(new bt(16843009,16843009)).a3(c.w2()).a3(new bt(-2139062144,-2139062144));!v.equals(new bt(0,0));){var w=a+(Re(v)>>3)&s;if(this.yi_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new bt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;a=a+(u=u+8|0)&s}r=-1}var p,m=r;if(m>=0){var y=this.zi_1[m];p=null==y||null!=y?y:$i()}else p=null;return p}lj(t){var r;t:{var n=Io(t,-862048943),i=n^n<<16,e=127&i,s=this.aj_1,a=i>>>7&s,u=0;r:for(;;){for(var l=this.xi_1,h=a>>3,_=(7&a)<<3,o=l[h].z2(_).b3(l[h+1|0].x2(64-_|0).a3(fe(_).v2().y2(63))),f=new bt(16843009,16843009).s2(fe(e)),c=o.c3(f),v=c.r2(new bt(16843009,16843009)).a3(c.w2()).a3(new bt(-2139062144,-2139062144));!v.equals(new bt(0,0));){var w=a+(Re(v)>>3)&s;if(this.yi_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new bt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;a=a+(u=u+8|0)&s}r=-1}return r>=0}hashCode(){var t=0,r=this.yi_1,n=this.zi_1;t:{var i=this.xi_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var u=i[a],l=u;if(!l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-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,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0,v=n[c],w=i[c],d=null==w||null!=w?w:$i();t.fe(v),t.p9("="),t.o9(d===this?"(this)":d),(r=r+1|0)=0))throw vr.f1(yi("Capacity must be a positive value."));ef(this,ff(t))}ij(t,r){var n=function(t,r){var n=Io(r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=t.aj_1,u=e&a,l=0;t:for(;;){for(var h=t.xi_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(t.yi_1[d]===r)return d;var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;u=u+(l=l+8|0)&a}var m,y=sf(t,e);if(0===t.hj_1){var g=y;m=!t.xi_1[g>>3].y2((7&g)<<3).a3(new bt(255,0)).equals(new bt(254,0))}else m=!1;m&&(function(t){if(t.aj_1>8){var r=fe(t.bj_1),n=new bt(32,0),i=r.s2(n),e=fe(t.aj_1),s=new bt(25,0);Ke(i,e.s2(s))}!function(t,r){var n=t.xi_1,i=t.yi_1,e=t.zi_1,s=t.aj_1;ef(t,r);var a=t.yi_1,u=t.zi_1,l=0;if(l>3].y2((7&h)<<3).a3(new bt(255,0)).k1(new bt(128,0))<0){var _=i[h],o=Io(_,-862048943),f=o^o<<16,c=sf(t,f>>>7|0),v=fe(127&f),w=t.xi_1,d=c>>3,p=(7&c)<<3;w[d]=w[d].a3(new bt(255,0).x2(p).w2()).b3(v.x2(p));var m=t.aj_1,y=(c-7&m)+(7&m)|0,g=y>>3,b=(7&y)<<3;w[g]=w[g].a3(new bt(255,0).x2(b).w2()).b3(v.x2(b)),a[c]=_,u[c]=e[h]}}while(l>3].y2((7&q)<<3).a3(new bt(255,0)).equals(new bt(128,0))?1:0,k.hj_1=x-b|0;var j=y,z=fe(s),S=t.xi_1,C=j>>3,A=(7&j)<<3;S[C]=S[C].a3(new bt(255,0).x2(A).w2()).b3(z.x2(A));var $=t.aj_1,E=(j-7&$)+(7&$)|0,I=E>>3,M=(7&E)<<3;return S[I]=S[I].a3(new bt(255,0).x2(M).w2()).b3(z.x2(M)),y}(this,t);this.yi_1[n]=t,this.zi_1[n]=r}jj(t){var r;t:{var n=Io(t,-862048943),i=n^n<<16,e=127&i,s=this.aj_1,a=i>>>7&s,u=0;r:for(;;){for(var l=this.xi_1,h=a>>3,_=(7&a)<<3,o=l[h].z2(_).b3(l[h+1|0].x2(64-_|0).a3(fe(_).v2().y2(63))),f=new bt(16843009,16843009).s2(fe(e)),c=o.c3(f),v=c.r2(new bt(16843009,16843009)).a3(c.w2()).a3(new bt(-2139062144,-2139062144));!v.equals(new bt(0,0));){var w=a+(Re(v)>>3)&s;if(this.yi_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new bt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;a=a+(u=u+8|0)&s}r=-1}var p=r;return p>=0?this.kj(p):null}kj(t){this.bj_1=this.bj_1-1|0;var r=new bt(254,0),n=this.xi_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new bt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.aj_1,a=(t-7&s)+(7&s)|0,u=a>>3,l=(7&a)<<3;n[u]=n[u].a3(new bt(255,0).x2(l).w2()).b3(r.x2(l));var h=this.zi_1[t];return this.zi_1[t]=null,null==h||null!=h?h:$i()}}class To{constructor(){this.mj_1=of(),this.nj_1=af(),this.oj_1=0,this.pj_1=0}ki(){return this.oj_1}mi(t){var r;t:{var n=Io(t,-862048943),i=n^n<<16,e=127&i,s=this.oj_1,a=i>>>7&s,u=0;r:for(;;){for(var l=this.mj_1,h=a>>3,_=(7&a)<<3,o=l[h].z2(_).b3(l[h+1|0].x2(64-_|0).a3(fe(_).v2().y2(63))),f=new bt(16843009,16843009).s2(fe(e)),c=o.c3(f),v=c.r2(new bt(16843009,16843009)).a3(c.w2()).a3(new bt(-2139062144,-2139062144));!v.equals(new bt(0,0));){var w=a+(Re(v)>>3)&s;if(this.nj_1[w]===t){r=w;break t}var d=v;v=d.a3(d.r2(new bt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;a=a+(u=u+8|0)&s}r=-1}return r>=0}qi(t,r,n,i,e){var s=Or.j();t:{s.k(r);var a=0,u=this.nj_1;r:{var l=this.mj_1,h=l.length-2|0,_=0;if(_<=h)do{var o=_;_=_+1|0;var f=l[o],c=f;if(!c.a3(c.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-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.f1(yi("Capacity must be a positive value."));uf(this,ff(t))}ui(t){var r=this.pj_1,n=function(t,r){var n=Io(r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=t.oj_1,u=e&a,l=0;t:for(;;){for(var h=t.mj_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(t.nj_1[d]===r)return d;var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;u=u+(l=l+8|0)&a}var m,y=lf(t,e);if(0===t.vj_1){var g=y;m=!t.mj_1[g>>3].y2((7&g)<<3).a3(new bt(255,0)).equals(new bt(254,0))}else m=!1;m&&(function(t){if(t.oj_1>8){var r=fe(t.pj_1),n=new bt(32,0),i=r.s2(n),e=fe(t.oj_1),s=new bt(25,0);Ke(i,e.s2(s))}!function(t,r){var n=t.mj_1,i=t.nj_1,e=t.oj_1;uf(t,r);var s=t.nj_1,a=0;if(a>3].y2((7&u)<<3).a3(new bt(255,0)).k1(new bt(128,0))<0){var l=i[u],h=Io(l,-862048943),_=h^h<<16,o=lf(t,_>>>7|0),f=fe(127&_),c=t.mj_1,v=o>>3,w=(7&o)<<3;c[v]=c[v].a3(new bt(255,0).x2(w).w2()).b3(f.x2(w));var d=t.oj_1,p=(o-7&d)+(7&d)|0,m=p>>3,y=(7&p)<<3;c[m]=c[m].a3(new bt(255,0).x2(y).w2()).b3(f.x2(y)),s[o]=l}}while(a>3].y2((7&q)<<3).a3(new bt(255,0)).equals(new bt(128,0))?1:0,k.vj_1=x-b|0;var j=y,z=fe(s),S=t.mj_1,C=j>>3,A=(7&j)<<3;S[C]=S[C].a3(new bt(255,0).x2(A).w2()).b3(z.x2(A));var $=t.oj_1,E=(j-7&$)+(7&$)|0,I=E>>3,M=(7&E)<<3;return S[I]=S[I].a3(new bt(255,0).x2(M).w2()).b3(z.x2(M)),y}(this,t);return this.nj_1[n]=t,!(this.pj_1===r)}}class Uo{constructor(){this.wj_1=of(),this.xj_1=Sf(),this.yj_1=af(),this.zj_1=0,this.ak_1=0}ki(){return this.zj_1}p(){return this.ak_1}x(){return 0===this.ak_1}b2(t){var r=this.jk(t);if(r<0)throw pr.w("There is no key "+Yn(t)+" in the map");return this.yj_1[r]}hashCode(){var t=0,r=this.xj_1,n=this.yj_1;t:{var i=this.wj_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var u=i[a],l=u;if(!l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-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,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0,v=n[c],w=null==v||null!=v?v:$i();if(i[c]!==r.b2(w))return!1}l=l.y2(8)}while(o<_);if(8!==_)break t}}while(u!==s)}return!0}toString(){if(this.x())return"{}";var t=Or.j().q9(123),r=0,n=this.xj_1,i=this.yj_1;t:{var e=this.wj_1,s=e.length-2|0,a=0;if(a<=s)do{var u=a;a=a+1|0;var l=e[u],h=l;if(!h.a3(h.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var _=8-(~(u-s)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0,v=n[c],w=null==v||null!=v?v:$i(),d=i[c];t.o9(w===this?"(this)":w),t.p9("="),t.fe(d),(r=r+1|0)>>7&s,u=0;t:for(;;){for(var l=this.wj_1,h=a>>3,_=(7&a)<<3,o=l[h].z2(_).b3(l[h+1|0].x2(64-_|0).a3(fe(_).v2().y2(63))),f=new bt(16843009,16843009).s2(fe(e)),c=o.c3(f),v=c.r2(new bt(16843009,16843009)).a3(c.w2()).a3(new bt(-2139062144,-2139062144));!v.equals(new bt(0,0));){var w=a+(Re(v)>>3)&s;if(pi(this.xj_1[w],t))return w;var d=v;v=d.a3(d.r2(new bt(1,0)))}if(!o.a3(o.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;a=a+(u=u+8|0)&s}return-1}}class Fo extends Uo{constructor(t){if(t=t===k?6:t,super(),this.gk_1=0,!(t>=0))throw vr.f1(yi("Capacity must be a positive value."));hf(this,ff(t))}hk(t,r,n){var i=function(t,r){var n=null==r?null:mi(r),i=Io(null==n?0:n,-862048943),e=i^i<<16,s=e>>>7|0,a=127&e,u=t.zj_1,l=s&u,h=0;t:for(;;){for(var _=t.wj_1,o=l>>3,f=(7&l)<<3,c=_[o].z2(f).b3(_[o+1|0].x2(64-f|0).a3(fe(f).v2().y2(63))),v=new bt(16843009,16843009).s2(fe(a)),w=c.c3(v),d=w.r2(new bt(16843009,16843009)).a3(w.w2()).a3(new bt(-2139062144,-2139062144));!d.equals(new bt(0,0));){var p=l+(Re(d)>>3)&u;if(pi(t.xj_1[p],r))return p;var m=d;d=m.a3(m.r2(new bt(1,0)))}if(!c.a3(c.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;l=l+(h=h+8|0)&u}var y,g=_f(t,s);if(0===t.gk_1){var b=g;y=!t.wj_1[b>>3].y2((7&b)<<3).a3(new bt(255,0)).equals(new bt(254,0))}else y=!1;y&&(function(t){if(t.zj_1>8){var r=fe(t.ak_1),n=new bt(32,0),i=r.s2(n),e=fe(t.zj_1),s=new bt(25,0);Ke(i,e.s2(s))}!function(t,r){var n=t.wj_1,i=t.xj_1,e=t.yj_1,s=t.zj_1;hf(t,r);var a=t.xj_1,u=t.yj_1,l=0;if(l>3].y2((7&h)<<3).a3(new bt(255,0)).k1(new bt(128,0))<0){var _=i[h],o=null==_?null:mi(_),f=Io(null==o?0:o,-862048943),c=f^f<<16,v=_f(t,c>>>7|0),w=fe(127&c),d=t.wj_1,p=v>>3,m=(7&v)<<3;d[p]=d[p].a3(new bt(255,0).x2(m).w2()).b3(w.x2(m));var y=t.zj_1,g=(v-7&y)+(7&y)|0,b=g>>3,k=(7&g)<<3;d[b]=d[b].a3(new bt(255,0).x2(k).w2()).b3(w.x2(k)),a[v]=_,u[v]=e[h]}}while(l>3].y2((7&j)<<3).a3(new bt(255,0)).equals(new bt(128,0))?1:0,x.gk_1=q-k|0;var z=g,S=fe(a),C=t.wj_1,A=z>>3,$=(7&z)<<3;C[A]=C[A].a3(new bt(255,0).x2($).w2()).b3(S.x2($));var E=t.zj_1,I=(z-7&E)+(7&E)|0,M=I>>3,N=(7&I)<<3;return C[M]=C[M].a3(new bt(255,0).x2(N).w2()).b3(S.x2(N)),~g}(this,t),e=n;return i<0?i=~i:e=this.yj_1[i],this.xj_1[i]=t,this.yj_1[i]=r,e}ik(t){this.ak_1=this.ak_1-1|0;var r=new bt(254,0),n=this.wj_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new bt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.zj_1,a=(t-7&s)+(7&s)|0,u=a>>3,l=(7&a)<<3;n[u]=n[u].a3(new bt(255,0).x2(l).w2()).b3(r.x2(l)),this.xj_1[t]=null}}class Bo{constructor(t){var r;0===t?(zo||(zo=!0,jo=Qn(Array(0),null),new Ko(0)),r=jo):r=Qn(Array(t),null),this.kk_1=r,this.lk_1=0}p(){return this.lk_1}mk(t,r,n,i,e,s){var a=Or.j();t:{a.k(r);var u=this.kk_1,l=0,h=this.lk_1;if(l>>7&a,l=0;r:for(;;){for(var h=this.rk_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(pi(this.sk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;u=u+(l=l+8|0)&a}r=-1}var m,y=r;if(y>=0){var g=this.tk_1[y];m=null==g||null!=g?g:$i()}else m=null;return m}z1(t){var r;t:{var n=null==t?null:mi(t),i=Io(null==n?0:n,-862048943),e=i^i<<16,s=127&e,a=this.uk_1,u=e>>>7&a,l=0;r:for(;;){for(var h=this.rk_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(pi(this.sk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;u=u+(l=l+8|0)&a}r=-1}return r>=0}hashCode(){var t=0,r=this.sk_1,n=this.tk_1;t:{var i=this.rk_1,e=i.length-2|0,s=0;if(s<=e)do{var a=s;s=s+1|0;var u=i[a],l=u;if(!l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-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,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0,v=n[c],w=null==v||null!=v?v:$i(),d=i[c],p=null==d||null!=d?d:$i();if(null==p){if(null!=r.b2(w)||!r.z1(w))return!1}else if(!pi(p,r.b2(w)))return!1}l=l.y2(8)}while(o<_);if(8!==_)break t}}while(u!==s)}return!0}toString(){if(this.x())return"{}";var t=Or.j().q9(123),r=0,n=this.sk_1,i=this.tk_1;t:{var e=this.rk_1,s=e.length-2|0,a=0;if(a<=s)do{var u=a;a=a+1|0;var l=e[u],h=l;if(!h.a3(h.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var _=8-(~(u-s)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0,v=n[c],w=null==v||null!=v?v:$i(),d=i[c],p=null==d||null!=d?d:$i();t.o9(w===this?"(this)":w),t.p9("="),t.o9(p===this?"(this)":p),(r=r+1|0)=0))throw vr.f1(yi("Capacity must be a positive value."));df(this,ff(t))}cl(t,r){var n=this.dl(t),i=n<0?~n:n;this.sk_1[i]=t,this.tk_1[i]=r}f2(t){var r;t:{var n=null==t?null:mi(t),i=Io(null==n?0:n,-862048943),e=i^i<<16,s=127&e,a=this.uk_1,u=e>>>7&a,l=0;r:for(;;){for(var h=this.rk_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(pi(this.sk_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;u=u+(l=l+8|0)&a}r=-1}var m=r;return m>=0?this.kj(m):null}kj(t){this.vk_1=this.vk_1-1|0;var r=new bt(254,0),n=this.rk_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new bt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.uk_1,a=(t-7&s)+(7&s)|0,u=a>>3,l=(7&a)<<3;n[u]=n[u].a3(new bt(255,0).x2(l).w2()).b3(r.x2(l)),this.sk_1[t]=null;var h=this.tk_1[t];return this.tk_1[t]=null,null==h||null!=h?h:$i()}dl(t){var r=null==t?null:mi(t),n=Io(null==r?0:r,-862048943),i=n^n<<16,e=i>>>7|0,s=127&i,a=this.uk_1,u=e&a,l=0;t:for(;;){for(var h=this.rk_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(pi(this.sk_1[d],t))return d;var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;u=u+(l=l+8|0)&a}var m,y=pf(this,e);if(0===this.bl_1){var g=y;m=!this.rk_1[g>>3].y2((7&g)<<3).a3(new bt(255,0)).equals(new bt(254,0))}else m=!1;m&&(function(t){if(t.uk_1>8){var r=fe(t.vk_1),n=new bt(32,0),i=r.s2(n),e=fe(t.uk_1),s=new bt(25,0);Ke(i,e.s2(s))}!function(t,r){var n=t.rk_1,i=t.sk_1,e=t.tk_1,s=t.uk_1;df(t,r);var a=t.sk_1,u=t.tk_1,l=0;if(l>3].y2((7&h)<<3).a3(new bt(255,0)).k1(new bt(128,0))<0){var _=i[h],o=null==_?null:mi(_),f=Io(null==o?0:o,-862048943),c=f^f<<16,v=pf(t,c>>>7|0),w=fe(127&c),d=t.rk_1,p=v>>3,m=(7&v)<<3;d[p]=d[p].a3(new bt(255,0).x2(m).w2()).b3(w.x2(m));var y=t.uk_1,g=(v-7&y)+(7&y)|0,b=g>>3,k=(7&g)<<3;d[b]=d[b].a3(new bt(255,0).x2(k).w2()).b3(w.x2(k)),a[v]=_,u[v]=e[h]}}while(l>3].y2((7&x)<<3).a3(new bt(255,0)).equals(new bt(128,0))?1:0,this.bl_1=k-b|0;var q=y,j=fe(s),z=this.rk_1,S=q>>3,C=(7&q)<<3;z[S]=z[S].a3(new bt(255,0).x2(C).w2()).b3(j.x2(C));var A=this.uk_1,$=(q-7&A)+(7&A)|0,E=$>>3,I=(7&$)<<3;return z[E]=z[E].a3(new bt(255,0).x2(I).w2()).b3(j.x2(I)),~y}}class Wo{constructor(t){this.el_1=t}jl(t,r){return Es(yf.bind(k,this,t),r)}ac(t,r){return this.jl(t instanceof nn?t:$i(),r)}}class Jo{constructor(t,r){zi(this,r),this.kl_1=t}p(){return this.kl_1.il_1}o1(t){for(var r=t.l();r.m();){var n=r.n();if(!this.kl_1.o(n))return!1}return!0}o(t){return this.kl_1.o(t)}x(){return this.kl_1.x()}l(){return Wa((t=this.kl_1,r=new Wo(t),(n=function(t,n){return r.jl(t,n)}).$arity=1,n));var t,r,n}}class Yo{constructor(){this.fl_1=of(),this.gl_1=Sf(),this.hl_1=0,this.il_1=0}ki(){return this.hl_1}p(){return this.il_1}x(){return 0===this.il_1}ll(){return!(0===this.il_1)}o(t){var r;t:{var n=null==t?null:mi(t),i=Io(null==n?0:n,-862048943),e=i^i<<16,s=127&e,a=this.hl_1,u=e>>>7&a,l=0;r:for(;;){for(var h=this.fl_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(pi(this.gl_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;u=u+(l=l+8|0)&a}r=-1}return r>=0}mk(t,r,n,i,e,s){var a=Or.j();t:{a.k(r);var u=0,l=this.gl_1;r:{var h=this.fl_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 bt(-2139062144,-2139062144)).equals(new bt(-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(_=0))throw vr.f1(yi("Capacity must be a positive value."));bf(this,ff(t))}h(t){var r=this.p(),n=xf(this,t);return this.gl_1[n]=t,!(this.p()===r)}cm(t){var r=xf(this,t);this.gl_1[r]=t}bm(t){var r=this.p();return this.dm(t),!(r===this.p())}em(t){var r=this.p();return this.fm(t),!(r===this.p())}dm(t){for(var r=t.l();r.m();){var n=r.n();this.cm(n)}}fm(t){var r=t.gl_1;t:{var n=t.fl_1,i=n.length-2|0,e=0;if(e<=i)do{var s=e;e=e+1|0;var a=n[s],u=a;if(!u.a3(u.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var l=8-(~(s-i)>>>31|0)|0,h=0;if(h>>7&a,l=0;r:for(;;){for(var h=this.fl_1,_=u>>3,o=(7&u)<<3,f=h[_].z2(o).b3(h[_+1|0].x2(64-o|0).a3(fe(o).v2().y2(63))),c=new bt(16843009,16843009).s2(fe(s)),v=f.c3(c),w=v.r2(new bt(16843009,16843009)).a3(v.w2()).a3(new bt(-2139062144,-2139062144));!w.equals(new bt(0,0));){var d=u+(Re(w)>>3)&a;if(pi(this.gl_1[d],t)){r=d;break t}var p=w;w=p.a3(p.r2(new bt(1,0)))}if(!f.a3(f.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break r;u=u+(l=l+8|0)&a}r=-1}var m=r,y=m>=0;return y&&this.yl(m),y}yl(t){this.il_1=this.il_1-1|0;var r=new bt(254,0),n=this.fl_1,i=t>>3,e=(7&t)<<3;n[i]=n[i].a3(new bt(255,0).x2(e).w2()).b3(r.x2(e));var s=this.hl_1,a=(t-7&s)+(7&s)|0,u=a>>3,l=(7&a)<<3;n[u]=n[u].a3(new bt(255,0).x2(l).w2()).b3(r.x2(l)),this.gl_1[t]=null}s1(){if(this.il_1=0,this.fl_1!==of()){Me(this.fl_1,new bt(-2139062144,-2139062144));var t=this.fl_1,r=this.hl_1,n=new bt(255,0),i=r>>3,e=(7&r)<<3;t[i]=t[i].a3(new bt(255,0).x2(e).w2()).b3(n.x2(e))}Ne(this.gl_1,null,0,this.hl_1),kf(this)}gm(){return new Xo(this)}}function rf(t,r){var n;if(r>0){var i=cf(r);n=Math.max(7,i)}else n=0;var e=n;t.ci_1=e,function(t,r){var n,i=t;if(0===r)n=of();else{var e=ri((7+(7+(r+1|0)|0)&-8)>>3);Me(e,new bt(-2139062144,-2139062144)),n=e}i.zh_1=n;var s=t.zh_1,a=new bt(255,0),u=r>>3,l=(7&r)<<3;s[u]=s[u].a3(new bt(255,0).x2(l).w2()).b3(a.x2(l)),function(t){t.ji_1=vf(t.ki())-t.di_1|0}(t)}(t,e),t.ai_1=new Int32Array(e),t.bi_1=new Int32Array(e)}function nf(t,r){for(var n=t.ci_1,i=r&n,e=0;;){var s=t.zh_1,a=i>>3,u=(7&i)<<3,l=s[a].z2(u).b3(s[a+1|0].x2(64-u|0).a3(fe(u).v2().y2(63))),h=l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144));if(!h.equals(new bt(0,0)))return i+(Re(h)>>3)&n;i=i+(e=e+8|0)&n}}function ef(t,r){var n;if(r>0){var i=cf(r);n=Math.max(7,i)}else n=0;var e=n;t.aj_1=e,function(t,r){var n,i=t;if(0===r)n=of();else{var e=ri((7+(7+(r+1|0)|0)&-8)>>3);Me(e,new bt(-2139062144,-2139062144)),n=e}i.xi_1=n;var s=t.xi_1,a=new bt(255,0),u=r>>3,l=(7&r)<<3;s[u]=s[u].a3(new bt(255,0).x2(l).w2()).b3(a.x2(l)),function(t){t.hj_1=vf(t.ki())-t.bj_1|0}(t)}(t,e),t.yi_1=new Int32Array(e),t.zi_1=Qn(Array(e),null)}function sf(t,r){for(var n=t.aj_1,i=r&n,e=0;;){var s=t.xi_1,a=i>>3,u=(7&i)<<3,l=s[a].z2(u).b3(s[a+1|0].x2(64-u|0).a3(fe(u).v2().y2(63))),h=l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144));if(!h.equals(new bt(0,0)))return i+(Re(h)>>3)&n;i=i+(e=e+8|0)&n}}function af(){return qo||(qo=!0,new Ho(0),xo=new Int32Array(0)),xo}function uf(t,r){var n;if(r>0){var i=cf(r);n=Math.max(7,i)}else n=0;var e=n;t.oj_1=e,function(t,r){var n,i=t;if(0===r)n=of();else{var e=ri((7+(7+(r+1|0)|0)&-8)>>3);Me(e,new bt(-2139062144,-2139062144)),n=e}i.mj_1=n;var s=t.mj_1,a=new bt(255,0),u=r>>3,l=(7&r)<<3;s[u]=s[u].a3(new bt(255,0).x2(l).w2()).b3(a.x2(l)),function(t){t.vj_1=vf(t.ki())-t.pj_1|0}(t)}(t,e),t.nj_1=new Int32Array(e)}function lf(t,r){for(var n=t.oj_1,i=r&n,e=0;;){var s=t.mj_1,a=i>>3,u=(7&i)<<3,l=s[a].z2(u).b3(s[a+1|0].x2(64-u|0).a3(fe(u).v2().y2(63))),h=l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144));if(!h.equals(new bt(0,0)))return i+(Re(h)>>3)&n;i=i+(e=e+8|0)&n}}function hf(t,r){var n;if(r>0){var i=cf(r);n=Math.max(7,i)}else n=0;var e=n;t.zj_1=e,function(t,r){var n,i=t;if(0===r)n=of();else{var e=ri((7+(7+(r+1|0)|0)&-8)>>3);Me(e,new bt(-2139062144,-2139062144)),n=e}i.wj_1=n;var s=t.wj_1,a=new bt(255,0),u=r>>3,l=(7&r)<<3;s[u]=s[u].a3(new bt(255,0).x2(l).w2()).b3(a.x2(l)),function(t){t.gk_1=vf(t.ki())-t.ak_1|0}(t)}(t,e),t.xj_1=Qn(Array(e),null),t.yj_1=new Int32Array(e)}function _f(t,r){for(var n=t.zj_1,i=r&n,e=0;;){var s=t.wj_1,a=i>>3,u=(7&i)<<3,l=s[a].z2(u).b3(s[a+1|0].x2(64-u|0).a3(fe(u).v2().y2(63))),h=l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144));if(!h.equals(new bt(0,0)))return i+(Re(h)>>3)&n;i=i+(e=e+8|0)&n}}function of(){return mf(),So}function ff(t){return mf(),7===t?8:t+((t-1|0)/7|0)|0}function cf(t){return mf(),t>0?-1>>>Mo(t)|0:0}function vf(t){return mf(),7===t?6:t-(t/8|0)|0}function wf(t){return mf(),0===t?6:Io(t,2)+1|0}function df(t,r){var n;if(r>0){var i=cf(r);n=Math.max(7,i)}else n=0;var e=n;t.uk_1=e,function(t,r){var n,i=t;if(0===r)n=of();else{var e=ri((7+(7+(r+1|0)|0)&-8)>>3);Me(e,new bt(-2139062144,-2139062144)),n=e}i.rk_1=n;var s=t.rk_1,a=new bt(255,0),u=r>>3,l=(7&r)<<3;s[u]=s[u].a3(new bt(255,0).x2(l).w2()).b3(a.x2(l)),function(t){t.bl_1=vf(t.ki())-t.vk_1|0}(t)}(t,e),t.sk_1=Qn(Array(e),null),t.tk_1=Qn(Array(e),null)}function pf(t,r){for(var n=t.uk_1,i=r&n,e=0;;){var s=t.rk_1,a=i>>3,u=(7&i)<<3,l=s[a].z2(u).b3(s[a+1|0].x2(64-u|0).a3(fe(u).v2().y2(63))),h=l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144));if(!h.equals(new bt(0,0)))return i+(Re(h)>>3)&n;i=i+(e=e+8|0)&n}}function mf(){var t;Co||(Co=!0,(t=[new bt(-2139062017,-2139062144),new bt(-1,-1)].slice()).$type$="LongArray",So=t,new Vo(0))}function*yf(t,r,i){var e=t.el_1,s=e.gl_1;t:{var a=e.fl_1,u=a.length-2|0,l=0;if(l<=u)do{var h=l;l=l+1|0;var _=a[h],o=_;if(!o.a3(o.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var f=8-(~(h-u)>>>31|0)|0,c=0;if(c>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0;t.pl_1.ql_1=c;var v=t.ol_1.gl_1[c],w=r.fg(null==v||null!=v?v:$i(),i);w===iu()&&(w=yield w)}l=l.y2(8)}while(o<_);if(8!==_)break t}}while(u!==s)}return n}function bf(t,r){var n;if(r>0){var i=cf(r);n=Math.max(7,i)}else n=0;var e=n;t.hl_1=e,function(t,r){var n,i=t;if(0===r)n=of();else{var e=ri((7+(7+(r+1|0)|0)&-8)>>3);Me(e,new bt(-2139062144,-2139062144)),n=e}i.fl_1=n;var s=t.fl_1,a=new bt(255,0),u=r>>3,l=(7&r)<<3;s[u]=s[u].a3(new bt(255,0).x2(l).w2()).b3(a.x2(l)),kf(t)}(t,e),t.gl_1=Qn(Array(e),null)}function kf(t){t.xl_1=vf(t.ki())-t.il_1|0}function xf(t,r){var n=null==r?null:mi(r),i=Io(null==n?0:n,-862048943),e=i^i<<16,s=e>>>7|0,a=127&e,u=t.hl_1,l=s&u,h=0;t:for(;;){for(var _=t.fl_1,o=l>>3,f=(7&l)<<3,c=_[o].z2(f).b3(_[o+1|0].x2(64-f|0).a3(fe(f).v2().y2(63))),v=new bt(16843009,16843009).s2(fe(a)),w=c.c3(v),d=w.r2(new bt(16843009,16843009)).a3(w.w2()).a3(new bt(-2139062144,-2139062144));!d.equals(new bt(0,0));){var p=l+(Re(d)>>3)&u;if(pi(t.gl_1[p],r))return p;var m=d;d=m.a3(m.r2(new bt(1,0)))}if(!c.a3(c.w2().x2(6)).a3(new bt(-2139062144,-2139062144)).equals(new bt(0,0)))break t;l=l+(h=h+8|0)&u}var y,g=qf(t,s);if(0===t.xl_1){var b=g;y=!t.fl_1[b>>3].y2((7&b)<<3).a3(new bt(255,0)).equals(new bt(254,0))}else y=!1;y&&(function(t){if(t.hl_1>8){var r=fe(t.il_1),n=new bt(32,0),i=r.s2(n),e=fe(t.hl_1),s=new bt(25,0);Ke(i,e.s2(s))}!function(t,r){var n=t.fl_1,i=t.gl_1,e=t.hl_1;bf(t,r);var s=t.gl_1,a=0;if(a>3].y2((7&u)<<3).a3(new bt(255,0)).k1(new bt(128,0))<0){var l=i[u],h=null==l?null:mi(l),_=Io(null==h?0:h,-862048943),o=_^_<<16,f=qf(t,o>>>7|0),c=fe(127&o),v=t.fl_1,w=f>>3,d=(7&f)<<3;v[w]=v[w].a3(new bt(255,0).x2(d).w2()).b3(c.x2(d));var p=t.hl_1,m=(f-7&p)+(7&p)|0,y=m>>3,g=(7&m)<<3;v[y]=v[y].a3(new bt(255,0).x2(g).w2()).b3(c.x2(g)),s[f]=l}}while(a>3].y2((7&j)<<3).a3(new bt(255,0)).equals(new bt(128,0))?1:0,x.xl_1=q-k|0;var z=g,S=fe(a),C=t.fl_1,A=z>>3,$=(7&z)<<3;C[A]=C[A].a3(new bt(255,0).x2($).w2()).b3(S.x2($));var E=t.hl_1,I=(z-7&E)+(7&E)|0,M=I>>3,N=(7&I)<<3;return C[M]=C[M].a3(new bt(255,0).x2(N).w2()).b3(S.x2(N)),g}function qf(t,r){for(var n=t.hl_1,i=r&n,e=0;;){var s=t.fl_1,a=i>>3,u=(7&i)<<3,l=s[a].z2(u).b3(s[a+1|0].x2(64-u|0).a3(fe(u).v2().y2(63))),h=l.a3(l.w2().x2(7)).a3(new bt(-2139062144,-2139062144));if(!h.equals(new bt(0,0)))return i+(Re(h)>>3)&n;i=i+(e=e+8|0)&n}}function jf(){return zf(),new tf}function zf(){Ao||(Ao=!0,new tf(0))}function Sf(){return Eo||(Eo=!0,new Int32Array(0),ri(0),$o=Qn(Array(0),null)),$o}ee(No,"IntIntMap"),ee(Lo,"MutableIntIntMap",Lo),ee(Po,"IntList"),ee(Oo,"MutableIntList",Oo),ee(Do,"IntObjectMap"),ee(Ro,"MutableIntObjectMap",Ro),ee(To,"IntSet"),ee(Ho,"MutableIntSet",Ho),ee(Uo,"ObjectIntMap"),ee(Fo,"MutableObjectIntMap",Fo),ee(Bo,"ObjectList"),ee(Ko,"MutableObjectList",Ko),ee(Go,"ScatterMap"),ee(Vo,"MutableScatterMap",Vo),ue(Wo,k,k,[1]),ee(Jo,"SetWrapper",k,k,[pt]),ee(Yo,"ScatterSet"),ue(Zo,k,k,[1]),ee(Qo),ee(Xo,"MutableSetWrapper",k,k,[Jo,_t,pt]),ee(tf,"MutableScatterSet",tf);var 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,uc,lc,hc,_c,oc,fc,cc,vc,wc,dc,pc,mc,yc,gc,bc,kc,xc,qc,jc,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,uv,lv,hv,_v,ov,fv,cv,vv,wv,dv,pv,mv,yv,gv,bv,kv,xv,qv,jv,zv,Sv=Math.imul;class Cv{}function Av(){}function $v(){}class Ev{constructor(t,r){this.o10_1=t,this.p10_1=r,this.q10_1=0}f10(){return this.o10_1.f10()}i10(t){this.q10_1=this.q10_1+1|0,this.o10_1.i10(t)}j10(){this.q10_1>0||Ny("OffsetApplier up called with no corresponding down"),this.q10_1=this.q10_1-1|0,this.o10_1.j10()}k10(t,r){this.o10_1.k10(t+(0===this.q10_1?this.p10_1:0)|0,r)}l10(t,r){this.o10_1.l10(t+(0===this.q10_1?this.p10_1:0)|0,r)}m10(t,r){this.o10_1.m10(t+(0===this.q10_1?this.p10_1:0)|0,r)}n10(t,r,n){var i=0===this.q10_1?this.p10_1:0;this.o10_1.n10(t+i|0,r+i|0,n)}}class Iv{constructor(t){this.r10_1=t,this.s10_1=Lt.b1(),this.t10_1=this.r10_1}u10(t){this.t10_1=t}f10(){return this.t10_1}v10(t){this.s10_1.h(this.f10()),this.u10(t)}i10(t){return this.v10(null==t||null!=t?t:$i())}j10(){this.s10_1.x()&&kg("empty stack"),this.u10(this.s10_1.v1(this.s10_1.p()-1|0))}}class Mv{constructor(t,r){this.w10_1=t,this.x10_1=r}y10(t){var r;try{r=this.w10_1(t)}catch(t){if(!(t instanceof Error))throw t;r=ju(t)}var n=r;this.x10_1.ta(n)}}class Nv{}function Lv(){return Qf}class Pv{constructor(t){t=t===k?null:t,this.z10_1=t,this.a11_1=new Object,this.b11_1=null,this.c11_1=Lt.b1(),this.d11_1=Lt.b1(),this.e11_1=new bm(0)}h11(){return!(0===this.e11_1.qs())}i11(t){this.a11_1;var r=this.c11_1;this.c11_1=this.d11_1,this.d11_1=r,this.e11_1.g11(0);var n=0,i=r.p();if(n0}y1c(){return this.c12_1.z1c()}a1d(t){if(null!=this.j12_1)return Km(this,t,null,Sy().v16_1,null),n;_y(this);var r=this.m12_1,i=Fe(this.s13_1,3)^t;this.s13_1=Fe(i,3)^r,this.m12_1=this.m12_1+1|0;var e=this.i13_1;if(this.r13_1)return e.v17(),this.k13_1.w17(t,my().u17_1),Gm(this,!1,null),n;if(e.h18()===t&&!e.b1d())return e.s17(),Gm(this,!1,null),n;if(!e.i19()){var s=this.k12_1,a=e.k15_1;oy(this);var u=e.y16();this.o13_1.a19(s,u),Cy(this.t12_1,a,e.k15_1)}e.v17(),this.r13_1=!0,this.m13_1=null,Hm(this);var l=this.k13_1;l.l18();var h=l.q16_1;l.w17(t,my().u17_1),this.p13_1=l.c17(h),Gm(this,!1,null)}c1d(){return Nm(this)}d1d(){return Km(this,-127,null,Sy().v16_1,null)}e1d(){Nm(this);var t=this.f1d();null!=t&&t.z18()&&t.g1d(!0)}h1d(){var t;if(!this.k1a()||this.x12_1)t=!0;else{var r=this.f1d();t=!0===(null==r?null:r.h1d())}return t}h1a(t,r){return Km(this,t,r,Sy().v16_1,null)}m1a(){return Nm(this)}i1d(){this.w12_1=null}j1d(){return this.r13_1}k1a(){var t;if(this.r13_1||this.z12_1||this.x12_1)t=!1;else{var r=this.f1d();t=!1===(null==r?null:r.k1d())}return!!t&&!this.r12_1}k11(){return this.s13_1}t17(){Km(this,125,null,Sy().w16_1,null),this.s12_1=!0}l1d(t){hy(this),this.r13_1||Ny("createNode() can only be called when inserting");var r=this.n12_1.m1d(),n=this.k13_1.c17(this.k13_1.s16_1);this.l12_1=this.l12_1+1|0,this.q13_1.n1d(t,r,n)}o1d(){hy(this),this.r13_1&&Ny("useNode() called while inserting");var t,r=(t=this.i13_1).v1b(t.m15_1);this.o13_1.b1a(r),this.z12_1&&null!=r&&ge(r,Ov)&&this.o13_1.p1d(r)}q1d(){return Vm(this,!0)}r1d(t,r){this.r13_1?this.q13_1.t1d(t,r):this.o13_1.s1d(t,r)}z16(){var t;if(this.r13_1)_y(this),t=my().u17_1;else{var r=this.i13_1.n();t=!this.z12_1||null!=r&&ge(r,Tv)?r:my().u17_1}return t}u1d(){var t;if(this.r13_1)_y(this),t=my().u17_1;else{var r=this.i13_1.n();t=!this.z12_1||null!=r&&ge(r,Tv)?r instanceof Xv?r.v1d_1:r:my().u17_1}return t}k14(t){var r;return pi(this.z16(),t)?r=!1:(this.a17(t),r=!0),r}x1d(t){var r;return this.z16()!==t?(this.a17(t),r=!0):r=!1,r}y1d(t){var r=this.z16();return(null==r||"boolean"!=typeof r||t!==r)&&(this.a17(t),!0)}z1d(t){var r=this.z16();return(null==r||"number"!=typeof r||t!==r)&&(this.a17(t),!0)}a17(t){if(this.r13_1)this.k13_1.f1e(t);else if(this.i13_1.r15_1){var r=this.i13_1.b1e()-1|0;this.o13_1.e1e()?this.o13_1.d1e(t,this.i13_1.c17(this.i13_1.m15_1),r):this.o13_1.c1e(t,r)}else this.o13_1.a1e(this.i13_1.c17(this.i13_1.m15_1),t)}g1e(t){var r;null!=t&&ge(t,Rv)?(this.r13_1&&this.o13_1.h1e(t),this.e12_1.h(t),r=new Xv(t,function(t){var r,n;if(t.r13_1){var i;if(n=t.k13_1,Vy(),n.q16_1>(n.s16_1+1|0)){for(var e=t.k13_1.q16_1-1|0,s=t.k13_1.b17(e);s!==t.k13_1.s16_1&&s>=0;)e=s,s=t.k13_1.b17(e);i=t.k13_1.c17(e)}else i=null;r=i}else{var a;if(function(t){return Vy(),t.k15_1>(t.m15_1+1|0)}(t.i13_1)){for(var u=t.i13_1.k15_1-1|0,l=t.i13_1.b17(u);l!==t.i13_1.m15_1&&l>=0;)u=l,l=t.i13_1.b17(u);a=t.i13_1.c17(u)}else a=null;r=a}return r}(this))):r=t;var n=r;this.a17(n)}i1e(t){this.o13_1.j1e(t)}k1e(t){var r,n,i=Om(this);if(Mm(this,201,(Vy(),$f)),this.r13_1)r=Rm(this,i,pg(t,i)),n=!1,this.l13_1=!0;else{var e=this.i13_1.l1e(0),s=null!=e&&ge(e,pw)?e:$i(),a=this.i13_1.l1e(1),u=null!=a&&ge(a,pw)?a:$i(),l=pg(t,i,u);this.k1a()&&!this.z12_1&&pi(u,l)?(Lm(this),r=s,n=!1):(r=Rm(this,i,l),n=this.z12_1||!pi(r,s))}n&&!this.r13_1&&Tm(this,r),this.y12_1.j14(Ay(this.x12_1)),this.x12_1=n,this.m13_1=r,Km(this,202,Am(),Sy().v16_1,r)}m1e(){Nm(this),Nm(this),this.x12_1=$y(this.y12_1.t15()),this.m13_1=null}n1e(t){return wg(Om(this),t)}f1d(){var t=this.f13_1;return 0===this.b13_1&&t.ll()?t.m1d():null}f1b(t,r){var n=t.u11_1;if(null==n)return!1;var i=n,e=this.i13_1.d15_1,s=i.o1e(e);return!!(this.g13_1&&s>=this.i13_1.k15_1)&&(function(t,r,n,i){Vy();var e=Oy(t,r);if(e<0){var s=0|-(e+1|0),a=null!=i&&ge(i,mw)?i:null;t.u1(s,new Dv(n,r,a))}else{var u=t.s(e);if(null!=i&&ge(i,mw)){var l=u.q11_1;null==l?u.q11_1=i:l instanceof tf?(l instanceof tf||$i(),l.h(i)):u.q11_1=function(t,r){zf();var n=new tf(2);return n.cm(t),n.cm(r),n}(l,i)}else u.q11_1=null}}(this.t12_1,s,t,r),!0)}t1b(){if(this.t12_1.x())Lm(this);else{var t=this.i13_1,r=t.h18(),n=t.j18(),i=t.r17(),e=this.m12_1;if(null==n)if(null==i||207!==r||pi(i,my().u17_1)){var s=Fe(this.s13_1,3)^r;this.s13_1=Fe(s,3)^e}else{var a=mi(i),u=Fe(this.s13_1,3)^a;this.s13_1=Fe(u,3)^e}else if(n instanceof yt){var l=n.j2_1,h=Fe(this.s13_1,3)^l;this.s13_1=0^Fe(h,3)}else{var _=mi(n),o=Fe(this.s13_1,3)^_;this.s13_1=0^Fe(o,3)}if(Bm(this,t.p1e(),null),Wm(this),t.n19(),null==n)if(null==i||207!==r||pi(i,my().u17_1)){var f=Be(this.s13_1^e,3)^r;this.s13_1=Be(f,3)}else{var c=mi(i),v=Be(this.s13_1^e,3)^c;this.s13_1=Be(v,3)}else if(n instanceof yt){var w=n.j2_1,d=Be(0^this.s13_1,3)^w;this.s13_1=Be(d,3)}else{var p=mi(n),m=Be(0^this.s13_1,3)^p;this.s13_1=Be(m,3)}}}l17(){0!==this.l12_1&&Ny("No nodes can be emitted before calling skipAndEndGroup");var t=this.f1d();null==t||t.q1e(),this.t12_1.x()?ey(this):Wm(this)}r1e(t){return this.a1d(t),function(t){if(t.r13_1){var r=t.h12_1,n=new $w(r instanceof uw?r:$i());t.f13_1.x18(n),t.a17(n),n.g1a(t.c13_1)}else{var i,e=Iy(t.t12_1,t.i13_1.m15_1),s=t.i13_1.n();if(pi(s,my().u17_1)){var a=t.h12_1,u=new $w(a instanceof uw?a:$i());t.a17(u),i=u}else i=s instanceof $w?s:$i();var l,h=i;if(null!=e)l=!0;else{var _=h.d1a();_&&h.e1a(!1),l=_}h.f1a(l),t.f13_1.x18(h),h.g1a(t.c13_1)}}(this),this}s1e(){var t=this.f13_1.ll()?this.f13_1.t15():null;null!=t&&t.f1a(!1);var r,n=null==t?null:t.t1e(this.c13_1);if(null==n||this.o13_1.u1e(n,this.h12_1),null==t||t.w1e()||!t.z18()&&!this.q12_1)r=null;else{if(null==t.u11_1){var i,e=t;i=this.r13_1?this.k13_1.c17(this.k13_1.s16_1):this.i13_1.c17(this.i13_1.m15_1),e.u11_1=i}t.v1e(!1),r=t}var s=r;return Vm(this,!1),s}x1e(t){var r=!1;try{!function(t,r){var n=t.o13_1,i=t.g12_1,e=n.r14_1;try{n.r14_1=i,t.o13_1.n1a();var s=0,a=r.p()-1|0;if(s<=a)do{var u=s;s=s+1|0;var l=r.s(u),h=l.yf(),_=l.zf(),o=h.s1a_1,f=h.r1a_1.v1a(o),c=new Zp;if(t.o13_1.w1a(c,o),null==_){pi(h.r1a_1,t.j13_1)&&Um(t);var v=h.r1a_1.e14();try{v.v18(f),t.o13_1.b1b(f);var w=new Sd;uy(t,k,k,k,k,dy(t,w,v,h)),t.o13_1.c1b(w,c)}finally{v.s15()}}else{var d=t.c12_1.x1a(_),p=null==d?null:d.y1a_1,m=null==p?_.r1a_1:p,y=null==d?null:d.y1a_1,g=null==y?null:y.c17(0),b=null==g?_.s1a_1:g,x=My(m,b);if(!x.x()&&(t.o13_1.z1a(x,c),pi(h.r1a_1,t.d12_1))){var q=t.d12_1.v1a(o);ty(t,q,Xm(t,q)+x.p()|0)}t.o13_1.a1b(d,t.c12_1,_,h);var j=m.e14();try{t:{var z=t.i13_1,S=t.o12_1,C=t.w12_1;t.o12_1=null,t.w12_1=null;try{t.i13_1=j;var A=m.v1a(b);j.v18(A),t.o13_1.b1b(A);var $=new Sd,E=t.o13_1,I=E.r14_1;try{E.r14_1=$;var M=t.o13_1,N=M.u14_1;try{M.u14_1=!1;var L=j.k15_1,P=_.t1a_1;ay(t,_.q1a_1,h.q1a_1,L,P,py(t,h))}finally{M.u14_1=N}}finally{E.r14_1=I}t.o13_1.c1b($,c);break t}finally{t.i13_1=z,t.o12_1=S,t.w12_1=C}}}finally{j.s15()}}t.o13_1.d1b()}while(s<=a);t.o13_1.e1b(),t.o13_1.b1b(0)}finally{n.r14_1=e}}(this,t),r=!0}finally{r?vy(this):Em(this)}}y1e(t){this.r13_1&&this.d13_1&&this.k13_1.z1e(t)}a1f(t,r){this.r13_1&&this.d13_1&&this.k13_1.b1f(t,r)}c1f(){this.r13_1&&this.d13_1&&this.k13_1.d1f()}e1f(t,r){this.f12_1.x()||Ny("Expected applyChanges() to have been called"),ly(this,t,r)}g1f(t){this.g13_1&&Ny("Preparing a composition while composing is not supported"),this.g13_1=!0;try{t()}finally{this.g13_1=!1}}h1f(t){return this.f12_1.x()||Ny("Expected applyChanges() to have been called"),!!(t.p()>0||!this.t12_1.x()||this.r12_1)&&(ly(this,t,null),this.f12_1.ll())}i1f(){return this.f1d()}j1f(){return this.u1d()}k1f(t){return this.g1e(t)}l1f(t){var r=t instanceof $w?t:null;null!=r&&r.m1f(!0)}}class Kv{toString(){return"Empty"}}class Gv{constructor(){Lf=this,this.u17_1=new Kv}}class Vv extends yt{}class Wv{constructor(t,r,n,i,e,s,a){this.o1a_1=t,this.p1a_1=r,this.q1a_1=n,this.r1a_1=i,this.s1a_1=e,this.t1a_1=s,this.u1a_1=a}}class Jv{constructor(t){this.y1a_1=t}}class Yv{}class Zv extends fr{static s1f(t){var r=this.c4();return xi(r,r.r1f_1),r.q1f_1=t,r}vb(){return this.q1f_1}get message(){return this.vb()}}class Qv{constructor(t,r,n,i,e,s,a){this.d1g_1=t,this.e1g_1=n,this.f1g_1=i,this.g1g_1=e,this.h1g_1=s,this.i1g_1=a,this.j1g_1=r,this.k1g_1=!0}y1(){var t=this.j1g_1;return null==t||null!=t?t:$i()}l1g(){var t;return this.e1g_1?t=null:null!=this.g1g_1?t=this.g1g_1.y1():null!=this.j1g_1?t=this.j1g_1:gy("Unexpected form of a provided value"),t}m1g(){return(this.e1g_1||!(null==this.y1()))&&!this.i1g_1}}class Xv{constructor(t,r){this.v1d_1=t,this.w1d_1=r}}class tw{constructor(t,r){this.z17_1=t,this.a18_1=r,this.b18_1=0,this.a18_1>=0||xg("Invalid start index"),this.c18_1=Lt.b1();var n=0,i=new Ro,e=0,s=this.z17_1.p();if(er){var n=this.d18_1,i=n.zi_1;t:{var e=n.xi_1,s=e.length-2|0,a=0;if(a<=s)do{var u=a;a=a+1|0;var l=e[u],h=l;if(!h.a3(h.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var _=8-(~(u-s)>>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=i[(u<<3)+f|0],v=null==c||null!=c?c:$i(),w=v.p1g_1;w===t?v.p1g_1=r:r<=w&&wt){var d=this.d18_1,p=d.zi_1;t:{var m=d.xi_1,y=m.length-2|0,g=0;if(g<=y)do{var b=g;g=g+1|0;var k=m[b],x=k;if(!x.a3(x.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var q=8-(~(b-y)>>>31|0)|0,j=0;if(jr){var i=this.d18_1,e=i.zi_1;t:{var s=i.xi_1,a=s.length-2|0,u=0;if(u<=a)do{var l=u;u=u+1|0;var h=s[l],_=h;if(!_.a3(_.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var o=8-(~(l-a)>>>31|0)|0,f=0;if(ft){var p=this.d18_1,m=p.zi_1;t:{var y=p.xi_1,g=y.length-2|0,b=0;if(b<=g)do{var k=b;b=b+1|0;var x=y[k],q=x;if(!q.a3(q.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var j=8-(~(k-g)>>>31|0)|0,z=0;if(z>>31|0)|0,v=0;if(v=i&&!pi(p,n)){var m=p.q1g_1+e|0;m>=0&&(p.q1g_1=m)}}o=o.y2(8)}while(v>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=i[(u<<3)+f|0],v=null==c||null!=c?c:$i();if(this.i1h_1.f1i(v)||this.l1h_1.f1i(v))return!0}l=l.y2(8)}while(o<_);if(8!==_){n;break t}}}while(u!==s)}}else for(var w=t.l();w.m();){var d=w.n();if(this.i1h_1.f1i(d)||this.l1h_1.f1i(d))return!0}return!1}i1j(t){return this.u1h_1.g1f(t)}j1j(t){if(!this.u1h_1.x1c()){var r=this.u1h_1.f1d();if(null==r);else if(r.m1f(!0),!r.k1j(t)){if(t instanceof hd){var n=Bq(1);t.m1j(n)}if(this.i1h_1.g1i(t,r),ge(t,mw)){var i=t.n1j();this.l1h_1.o1j(t);var e=i.p1j(),s=e.xj_1;t:{var a=e.wj_1,u=a.length-2|0,l=0;if(l<=u)do{var h=l;l=l+1|0;var _=a[h],o=_;if(!o.a3(o.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var f=8-(~(h-u)>>>31|0)|0,c=0;if(c>>31|0)|0,f=0;if(f=0){var e;this.r1h_1=t instanceof uw?t:$i(),this.s1h_1=r;try{e=n()}finally{this.r1h_1=null,this.s1h_1=0}i=e}else i=n();return i}b1k(t,r){t.c1k()&&t.v1e(!0);var n=t.u11_1;if(null==n||!n.w1f())return By();if(!this.h1h_1.d1k(n)){this.f1h_1;var i=this.r1h_1;return!0===(null==i?null:eg(i,t,r))?Gy():By()}return t.e1k()?sg(this,t,n,r):By()}f1k(t){this.q1h_1=!0}g1k(t,r){this.i1h_1.c1i(t,r)}h1k(t){this.i1h_1.f1i(t)||this.l1h_1.o1j(t)}}class lw{constructor(t,r){t=t===k?null:t,r=r!==k&&r,this.q1i_1=t,this.r1i_1=r}}class hw{constructor(){var t;Bf=this,this.x1i_1=(t=Tx(954879418,!1,lg),function(r,n){return t.v1c(r,n)}),this.y1i_1=function(t){return function(r,n){return t.v1c(r,n)}}(Tx(1918065384,!1,hg))}}class _w{}class ow{}class fw{p1i(){return null}n14(t){}w1i(t){}g14(){return Wf||(Wf=!0,Vf=Wx()),Vf}f14(){}p14(){}x1a(t){return null}}class cw{constructor(t){this.j1k_1=new kd(t)}k1k(){return this.j1k_1}}class vw extends cw{n1k(t){return this.m1k(t)}o1k(t,r){var n,i;r instanceof xd?(t.i1g_1?(r.r1k_1.tw(t.l1g()),i=r):i=null,n=i):n=r instanceof qd?t.m1g()&&pi(t.l1g(),r.q1k_1)?r:null:r instanceof jd&&t.h1g_1===r.p1k_1?r:null;var e=n;return null==e?function(t,r){var n;if(r.i1g_1){var i,e=r.g1g_1;if(null==e){var s=r.y1(),a=r.f1g_1;i=kk(s,null==a?yk():a)}else i=e;n=new xd(i)}else n=null!=r.h1g_1?new jd(r.h1g_1):null!=r.g1g_1?new xd(r.g1g_1):new qd(r.l1g());return n}(0,t):e}}class ww extends vw{m1k(t){return new Qv(this,t,null===t,null,null,null,!1)}}class dw extends vw{constructor(t,r){super(r),this.u1k_1=t}m1k(t){return new Qv(this,t,null===t,this.u1k_1,null,null,!0)}}class pw{}class mw{}class yw{}class gw{constructor(t,r){var n;this.f1l_1=r,this.g1l_1=new $h(null!=(n=t).eb(Ku)?n:n.tg(p_())),this.h1l_1=null}u1i(){var t,r,n=this.h1l_1;null==n||(t="Old job was still running!",r=r===k?null:r,n.un(function(t,r){return cr.tb(t,r)}(t,r))),this.h1l_1=Jh(this.g1l_1,k,k,this.f1l_1)}t1i(){var t=this.h1l_1;null==t||t.un(kw.o1l()),this.h1l_1=null}v1i(){var t=this.h1l_1;null==t||t.un(kw.o1l()),this.h1l_1=null}}class bw extends cr{static u1l(t){t=t===k?null:t;var r=this.sb(t);return xi(r,r.t1l_1),r}}class kw extends bw{static o1l(){var t=this.u1l("The coroutine scope left the composition");return xi(t,t.n1l_1),t}}class xw{constructor(t,r){this.v1l_1=t,this.w1l_1=r}hashCode(){return Sv(bg(0,this.v1l_1),31)+bg(0,this.w1l_1)|0}toString(){return"JoinedKey(left="+Yn(this.v1l_1)+", right="+Yn(this.w1l_1)+")"}equals(t){if(this===t)return!0;if(!(t instanceof xw))return!1;var r=t instanceof xw?t:$i();return!!pi(this.v1l_1,r.v1l_1)&&!!pi(this.w1l_1,r.w1l_1)}}class qw{}class jw{constructor(t){this.x1l_1=t}toString(){return"OpaqueKey(key="+this.x1l_1+")"}hashCode(){return bi(this.x1l_1)}equals(t){if(this===t)return!0;if(!(t instanceof jw))return!1;var r=t instanceof jw?t:$i();return this.x1l_1===r.x1l_1}}class zw{}class Sw{constructor(t,r){this.y1l_1=r,this.z1l_1=t}nm(){return this.y1l_1}tw(t){this.z1l_1.tw(t)}y1(){return this.z1l_1.y1()}}class Cw{constructor(t,r){this.a1m_1=t,this.b1m_1=r}c1m(t,r){return Es(qg.bind(k,this,t),r)}ac(t,r){return this.c1m(null!=t&&ge(t,ql)?t:$i(),r)}}class Aw{e1m(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),u=t.f1m(a,0),l=u instanceof $w?u:null;null==l||l.g1m(n)}while(i<=e)}}h1m(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 u=r.s(a);if(!!t.d1k(u)&&t.i1m(t.v1a(u),0)instanceof $w){i=!0;break t}}while(e<=s);i=!1}n=i}return n}}class $w{constructor(t){this.s11_1=0,this.t11_1=t,this.u11_1=null,this.v11_1=null,this.w11_1=null,this.x11_1=0,this.y11_1=null,this.z11_1=null}w1f(){var t;if(null!=this.t11_1){var r=this.u11_1,n=null==r?null:r.w1f();t=null!=n&&n}else t=!1;return t}e1k(){return!(null==this.v11_1)}m1f(t){this.s11_1=t?1|this.s11_1:-2&this.s11_1}z18(){return!!(1&this.s11_1)}g1d(t){this.s11_1=t?2|this.s11_1:-3&this.s11_1}c1k(){return!!(2&this.s11_1)}v1e(t){this.s11_1=t?4|this.s11_1:-5&this.s11_1}h1d(){return!!(4&this.s11_1)}f1a(t){this.s11_1=t?8|this.s11_1:-9&this.s11_1}k1d(){return!!(8&this.s11_1)}v19(t){var r=this.v11_1,i=this.w11_1;if(null!=i&&null!=r){i.j1m(this);try{r(t,1)}finally{i.k1m(this)}return n}if(null==(null==r?null:r(t,1)))throw fr.l3(yi("Invalid restart scope"))}d1i(t){var r=this.t11_1,n=null==r?null:r.b1k(this,t);return null==n?By():n}y1f(){var t=this.t11_1;null==t||t.f1k(this),this.t11_1=null,this.y11_1=null,this.z11_1=null;var r=this.w11_1;null==r||r.l1m(this)}g1m(t){this.t11_1=t}a1k(){var t=this.t11_1;null==t||t.b1k(this,null)}v1k(t){this.v11_1=t}e1a(t){this.s11_1=t?64|this.s11_1:-65&this.s11_1}d1a(){return!!(64&this.s11_1)}w1e(){return!!(16&this.s11_1)}g1a(t){this.x11_1=t,zg(this,!1)}q1e(){zg(this,!0)}k1j(t){if(32&this.s11_1)return!1;var r,n=this.y11_1;if(null==n){var i=new Fo;this.y11_1=i,r=i}else r=n;return r.hk(t,this.x11_1,-1)===this.x11_1}r1j(t,r){var n,i=this.z11_1;if(null==i){var e=new Vo;this.z11_1=e,n=e}else n=i;n.cl(t,r)}b1i(){return!(null==this.z11_1)}a12(t){if(null==t)return!0;var r=this.z11_1;if(null==r)return!0;var n,i=r;if(ge(t,mw))n=Sg(t,0,i);else if(t instanceof Yo){var e;if(t.ll()){var s;t:{var a=t.gl_1;r:{var u=t.fl_1,l=u.length-2|0,h=0;if(h<=l)do{var _=h;h=h+1|0;var o=u[_],f=o;if(!f.a3(f.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var c=8-(~(_-l)>>>31|0)|0,v=0;if(v>>31|0)|0,o=0;if(o<_)do{var f=o;if(o=o+1|0,l.a3(new bt(255,0)).k1(new bt(128,0))<0){var c=(u<<3)+f|0,v=n[c],w=null==v||null!=v?v:$i();i[c],t.j1j(w)}l=l.y2(8)}while(o<_);if(8!==_)break t}}while(u!==s)}}finally{jg(this,!1)}}}}t1e(t){var r,i=this.y11_1;if(null==i)r=null;else{var e,s,a=i;if(this.w1e())s=!1;else{var u;t:{var l=a.xj_1,h=a.yj_1;r:{var _=a.wj_1,o=_.length-2|0,f=0;if(f<=o)do{var c=f;f=f+1|0;var v=_[c],w=v;if(!w.a3(w.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var d=8-(~(c-o)>>>31|0)|0,p=0;if(p>>31|0)|0,f=0;if(f0&&(Lg(this).o(t)||function(t,r){t.u1m_1.h(r),t.v1m_1=null}(this,t));try{!function(t,r){var i;t.r1m_1;t:{var e=t.z1m_1,s=0,a=e.p()-1|0;if(s<=a)do{var u=s;if(s=s+1|0,pi(e.s(u).q1a_1,r)){i=!0;break t}}while(s<=a);i=!1}if(!i)return n;var l=Lt.b1();for(nb(l,t,r);!l.x();)Jg(t,l,null),nb(l,t,r)}(this,t)}catch(r){if(r instanceof _r)return Hg(this,r,t,!0),n;throw r}try{t.w1j(),t.x1j()}catch(t){if(t instanceof _r)return Ug(this,t),n;throw t}i||ov.q1n()}o14(){return 1e3}o17(){return rb().n1m_1.qs()}l14(){return!1}m14(){return!1}n14(t){}o1i(t){var r;if(this.r1m_1,this.x1m_1.if(t)?r=null:(this.x1m_1.s1b(t),r=Dg(this)),null==r);else{var i=n;r.ta(i)}}l1a(t){this.r1m_1,this.z1m_1.h(t);var r=Dg(this);if(null==r);else{var i=n;r.ta(i)}}p1c(t){this.r1m_1,function(t,r,n){hb();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.a1n_1,t.o1a_1,t)}i1k(t,r){this.r1m_1,this.b1n_1.e2(t,r)}o1c(t){this.r1m_1;var r,n=this.d1n_1;if(null==n){var i=rr.ha();this.d1n_1=i,r=i}else r=n;r.h(t)}x1a(t){return this.r1m_1,this.b1n_1.f2(t)}}class Rw{constructor(){this.t13_1=new Int32Array(0),this.u13_1=0;for(var t=0,r=Qn(Array(0),null);t<0;)r[t]=null,t=t+1|0;this.v13_1=r,this.w13_1=0,this.x13_1=0,this.y13_1=new Object,this.z13_1=!1,this.a14_1=0,this.b14_1=Lt.b1(),this.c14_1=null,this.d14_1=null}s19(){return 0===this.u13_1}e14(){if(this.z13_1)throw fr.l3(yi("Cannot read while a writer is pending"));return this.x13_1=this.x13_1+1|0,new Bw(this)}k17(){return this.z13_1&&Ny("Cannot start a writer when another writer is pending"),this.x13_1<=0||Ny("Cannot start a writer when a reader is pending"),this.z13_1=!0,this.a14_1=this.a14_1+1|0,new Hw(this)}c17(t){this.z13_1&&Ny("use active SlotWriter to create an anchor location instead"),0<=t&&t=0&&pi(this.b14_1.s(n),t)}else r=!1;return r}m1i(t,r){var n;if(this.z13_1&&Ny("Writer is active"),0<=t&&t0||Ny("Unexpected reader close()"),this.x13_1=this.x13_1-1|0,null!=r){this.y13_1;var n=this.c14_1;null!=n?n.g2(r):this.c14_1=r}}w1o(t,r,n,i,e,s,a,u){t.x15_1===this&&this.z13_1||xg("Unexpected writer close()"),this.z13_1=!1,this.x1o(r,n,i,e,s,a,u)}x1o(t,r,n,i,e,s,a){this.t13_1=t,this.u13_1=r,this.v13_1=n,this.w13_1=i,this.b14_1=e,this.c14_1=s,this.d14_1=a}a1c(){return this.u13_1>0&&Zb(this.t13_1,0)}y1o(t){var r,n,i,e=this.c14_1;if(null==e)r=null;else{var s=(i=t,(n=this).z13_1&&Ny("use active SlotWriter to crate an anchor for location instead"),0<=i&&ithis.s16_1&&tthis.m16_1.y1p(0))n=r+this.c19(r)|0;else{var i=this.m16_1.x1p(r);n=i<0?r+this.c19(r)|0:($b(this)-this.e16_1|0)-this.n16_1.x19(i)|0}return t>r&&t0&&this.f16_1!==this.h16_1){var r=this.p16_1,n=null==r?new Ro:r;this.p16_1=n;var i,e=this.s16_1,s=n.s(e);if(null==s){var a=new Ko;n.ij(e,a),i=a}else i=s;return i.h(t),my().u17_1}return fb(this,t)}c1q(t,r){0!==this.k16_1&&Ny("Can only append a slot if not current inserting");var n=this.f16_1,i=this.g16_1,e=this.v1a(t),s=Lb(this.y15_1,this,Eb(this,e+1|0));this.f16_1=s,this.g16_1=s,jb(this,1,e),n>=s&&(n=n+1|0,i=i+1|0),this.z15_1[s]=r,this.f16_1=n,this.g16_1=i}d1q(t){ky(t>0);var r=this.s16_1,n=Pb(this.y15_1,this,Eb(this,r)),i=Lb(this.y15_1,this,Eb(this,r+1|0))-t|0;ky(i>=n),Cb(this,i,t,r);var e=this.f16_1;e>=n&&(this.f16_1=e-t|0)}m1p(t){var r=Eb(this,this.q16_1);rk(this.y15_1,r)||Ny("Updating the data of a group that was not created with a data slot"),this.z15_1[Ib(this,Rb(this.y15_1,this,r))]=t}z1e(t){this.k16_1>0&&cb(this,this.s16_1,t)}b1f(t,r){if(this.k16_1>0){var n=this.c16_1;null==n||function(t,r,n){var i,e=t.s(r);if(null==e){var s=new Ho;t.ij(r,s),i=s}else i=e;i.ui(n)}(n,t,this.e17(this.s16_1));var i=cb(this,this.s16_1,null);null==i||i.e1q(t,r,vb(this))}}d1f(){if(this.k16_1>0){var t=cb(this,this.s16_1,null);null==t||t.f1q(vb(this))}}n1p(t){return Ab(this,this.q16_1,t)}g1q(t,r){return Ab(this,t.a1q(this),r)}j1p(t){this.f16_1<=this.g16_1||Ny("Writing to an invalid slot"),this.z15_1[Ib(this,this.f16_1-1|0)]=t}h1q(t,r){return this.i1q(this.q16_1,t,r)}j1q(t,r){var n=Eb(this,t),i=Pb(this.y15_1,this,n),e=Lb(this.y15_1,this,Eb(this,t+1|0)),s=i+r|0;return s>=i&&s0&&jb(this,1,this.s16_1);var t=this.z15_1,r=this.f16_1;return this.f16_1=r+1|0,t[Ib(this,r)]}f1m(t,r){return this.k1q(this.v1a(t),r)}k1q(t,r){var n=Eb(this,t),i=Pb(this.y15_1,this,n),e=Lb(this.y15_1,this,Eb(this,t+1|0)),s=i+r|0;if(!(i<=s&&s=0||Ny("Cannot seek backwards"),this.k16_1<=0||kg("Cannot call seek() while inserting"),0===t)return n;var r=this.q16_1+t|0;r>=this.s16_1&&r<=this.r16_1||Ny("Cannot seek outside the current group ("+this.s16_1+"-"+this.r16_1+")"),this.q16_1=r;var i=Lb(this.y15_1,this,Eb(this,r));this.f16_1=i,this.g16_1=i}l17(){var t=this.r16_1;this.q16_1=t,this.f16_1=Lb(this.y15_1,this,Eb(this,t))}l18(){var t=this.k16_1;this.k16_1=t+1|0,0===t&&yb(this)}r19(){this.k16_1>0||kg("Unbalanced begin/end insert"),this.k16_1=this.k16_1-1|0,0===this.k16_1&&(this.o16_1.p()!==this.m16_1.p()&&Ny("startGroup/endGroup mismatch while inserting"),gb(this))}s17(){0!==this.k16_1&&Ny("Key must be supplied when inserting"),wb(this,0,my().u17_1,!1,my().u17_1)}w17(t,r){return wb(this,t,r,!1,my().u17_1)}y17(t,r){return wb(this,t,r,!0,my().u17_1)}x17(t,r,n){return wb(this,t,r,!1,n)}q19(){var t=this.k16_1>0,r=this.q16_1,n=this.r16_1,i=this.s16_1,e=Eb(this,i),s=this.l16_1,a=r-i|0,u=ik(this.y15_1,e);if(t){var l=this.p16_1,h=null==l?null:l.s(i);if(null==h);else{var _=h.kk_1,o=0,f=h.lk_1;if(o=r&&t=t;)a.p1p();var u=zb(this,t,this.q16_1-t|0);return Cb(this,n,this.f16_1-n|0,t-1|0),this.q16_1=t,this.f16_1=r,this.l16_1=this.l16_1-i|0,u}p1q(t){if(0!==this.k16_1&&Ny("Cannot move a group while inserting"),t>=0||Ny("Parameter offset is out of bounds"),0===t)return n;for(var r=this.q16_1,i=this.s16_1,e=this.r16_1,s=t,a=r;s>0;)(a=a+Yb(this.y15_1,Eb(this,a))|0)<=e||Ny("Parameter offset is out of bounds"),s=s-1|0;var u=Yb(this.y15_1,Eb(this,a)),l=Lb(this.y15_1,this,Eb(this,this.q16_1)),h=Lb(this.y15_1,this,Eb(this,a)),_=Lb(this.y15_1,this,Eb(this,a+u|0)),o=_-h|0,f=this.q16_1-1|0;jb(this,o,Math.max(f,0)),qb(this,u);var c=this.y15_1,v=Eb(this,a+u|0),w=Sv(v,5),d=Eb(this,r);if(Je(c,c,Sv(d,5),w,w+Sv(u,5)|0),o>0){var p=this.z15_1;Je(p,p,l,Ib(this,h+o|0),Ib(this,_+o|0))}var m=(h+o|0)-l|0,y=this.h16_1,g=this.i16_1,b=this.z15_1.length,k=this.j16_1,x=r,q=r+u|0;if(x=0)t:for(;a=r&&h=t.d16_1?v.o1b_1=0|-(s-w|0):v.o1b_1=w;var d=ck(t.a16_1,w,s);t.a16_1.u1(d,v)}while(o<=f)})(this,a+u|0,r,u),zb(this,a+u|0,u)&&Ny("Unexpectedly removed anchors"),bb(this,i,this.r16_1,r),o>0&&Cb(this,h+o|0,o,(a+u|0)-1|0)}q1q(t,r,n){ky(n.k16_1>0),ky(0===this.k16_1),ky(t.w1f());var i=this.v1a(t)+r|0,e=this.q16_1;ky(e<=i&&i0;h>=e;){var o=Eb(this,h);hk(this.y15_1,o,Yb(this.y15_1,o)-a|0),_&&(ik(this.y15_1,o)?_=!1:_k(this.y15_1,o,ek(this.y15_1,o)-u|0)),h=this.b17(h)}return _&&(ky(this.l16_1>=u),this.l16_1=this.l16_1-u|0),l}r1q(t,r,n){if(ky(this.k16_1>0),0===r&&0===this.q16_1&&0===this.x15_1.u13_1&&Yb(t.t13_1,r)===t.u13_1){var i=this.y15_1,e=this.z15_1,s=this.a16_1,a=this.b16_1,u=this.c16_1,l=t.t13_1,h=t.u13_1,_=t.v13_1,o=t.w13_1,f=t.c14_1,c=t.d14_1;return this.y15_1=l,this.z15_1=_,this.a16_1=t.b14_1,this.d16_1=h,this.e16_1=(l.length/5|0)-h|0,this.h16_1=o,this.i16_1=_.length-o|0,this.j16_1=h,this.b16_1=f,this.c16_1=c,t.x1o(i,0,e,0,s,a,u),this.a16_1}var v,w=t.k17(),d=!1;try{d=!0,v=_b(0,w,r,this,!0,!0,n)}finally{w.p17(d)}return v}s1q(t,r,n){ky(this.k16_1<=0&&1===this.c19(this.q16_1+t|0));var i=this.q16_1,e=this.f16_1,s=this.g16_1;this.h1p(t),this.s17(),this.l18();var a,u=r.k17(),l=!1;try{l=!0,a=ob(0,u,n,this,!1,!0)}finally{u.p17(l)}var h=a;return this.r19(),this.q19(),this.q16_1=i,this.f16_1=e,this.g16_1=s,h}c17(t){var r,n=this.a16_1,i=wk(n,t,this.z1o());if(i<0){var e=new Uw(t<=this.d16_1?t:0|-(this.z1o()-t|0));n.u1(0|-(i+1|0),e),r=e}else r=n.s(i);return r}t1q(t){var r,n,i=Eb(this,t);uk(this.y15_1,i)||(!0,(r=this.y15_1)[n=Sv(i,5)+1|0]=134217728|r[n],Zb(this.y15_1,i)||pb(this,this.b17(t)))}i1a(t,r){var i;return t=t===k?this.s16_1:t,r===k?(this.t1q(t),i=n):i=r.t1q.call(this,t),i}v1a(t){var r=t.o1b_1;return r<0?this.z1o()+r|0:r}toString(){return"SlotWriter(current = "+this.q16_1+" end="+this.r16_1+" size = "+this.z1o()+" gap="+this.d16_1+"-"+(this.d16_1+this.e16_1|0)+")"}r1p(t){return 0<=t&&t=0){var l,h=t.r1p(r);if(null!=h){var _;t:{for(var o=0,f=u.p();o=0;){var i=r.s(n);i instanceof Uw?pi(i,t)&&r.v1(n):i instanceof Fw&&(i.o1q(t)||r.v1(n)),n=n-1|0}return!r.x()||(this.d1p_1=null,!1)}return!0}}class Bw{constructor(t){this.d15_1=t,this.e15_1=this.d15_1.t13_1,this.f15_1=this.d15_1.u13_1,this.g15_1=this.d15_1.v13_1,this.h15_1=this.d15_1.w13_1,this.i15_1=null,this.j15_1=!1,this.k15_1=0,this.l15_1=this.f15_1,this.m15_1=-1,this.n15_1=new gd,this.o15_1=0,this.p15_1=0,this.q15_1=0,this.r15_1=!1}p(){return this.f15_1}b17(t){return Qb(this.e15_1,t)}p1e(){return ik(this.e15_1,this.k15_1)}y19(t){return ik(this.e15_1,t)}z19(t){return ek(this.e15_1,t)}v1b(t){return ik(this.e15_1,t)?function(t,r,n){var i;return i=ik(t,n)?r.g15_1[function(t,r){return t[Sv(r,5)+4|0]}(t,n)]:my().u17_1,i}(this.e15_1,this,t):null}i19(){return this.t19()||this.k15_1===this.l15_1}t19(){return this.o15_1>0}v1q(){return Yb(this.e15_1,this.k15_1)}c19(t){return Yb(this.e15_1,t)}h19(){return this.l15_1}h18(){return this.k15_1=0?ek(this.e15_1,this.m15_1):0}k19(){return this.q15_1-this.p15_1|0}l1e(t){return this.e1c(this.k15_1,t)}e1c(t,r){var n=t+1|0,i=tk(this.e15_1,t)+r|0;return i<(n0||this.p15_1>=this.q15_1)return this.r15_1=!1,my().u17_1;this.r15_1=!0;var t=this.p15_1;return this.p15_1=t+1|0,this.g15_1[t]}v17(){this.o15_1=this.o15_1+1|0}p19(){this.o15_1>0||xg("Unbalanced begin/end empty"),this.o15_1=this.o15_1-1|0}s15(){this.j15_1=!0,this.d15_1.v1o(this,this.i15_1)}s17(){if(this.o15_1<=0){var t=this.m15_1,r=this.k15_1;Qb(this.e15_1,r)!==t&&xg("Invalid slot table detected");var n=this.i15_1,i=null==n?null:n.b2(this.c17(t));null==i||i.u1q(this.d15_1,r);var e=this.n15_1,s=this.p15_1,a=this.q15_1;0===s&&0===a?e.j14(-1):e.j14(s),this.m15_1=r,this.l15_1=r+Yb(this.e15_1,r)|0,this.k15_1=r+1|0,this.p15_1=tk(this.e15_1,r),this.q15_1=r>=(this.f15_1-1|0)?this.h15_1:Xb(this.e15_1,r+1|0)}}t17(){this.o15_1<=0&&(ik(this.e15_1,this.k15_1)||xg("Expected a node group"),this.s17())}y16(){0!==this.o15_1&&Ny("Cannot skip while in an empty region");var t=ik(this.e15_1,this.k15_1)?1:ek(this.e15_1,this.k15_1);return this.k15_1=this.k15_1+Yb(this.e15_1,this.k15_1)|0,t}l17(){0!==this.o15_1&&Ny("Cannot skip the enclosing group while in an empty region"),this.k15_1=this.l15_1,this.p15_1=0,this.q15_1=0}v18(t){0!==this.o15_1&&Ny("Cannot reposition while in an empty region"),this.k15_1=t;var r=t=t&&n<=r||Ny("Index "+t+" is not a parent of "+n),this.m15_1=t,this.l15_1=r,this.p15_1=0,this.q15_1=0}n19(){if(0===this.o15_1){this.k15_1!==this.l15_1&&Ny("endGroup() not called at the end of a group");var t=Qb(this.e15_1,this.m15_1);this.m15_1=t,this.l15_1=t<0?this.f15_1:t+Yb(this.e15_1,t)|0;var r=this.n15_1.t15();r<0?(this.p15_1=0,this.q15_1=0):(this.p15_1=r,this.q15_1=t>=(this.f15_1-1|0)?this.h15_1:Xb(this.e15_1,t+1|0))}}i18(){var t=Lt.b1();if(this.o15_1>0)return t;for(var r=0,n=this.k15_1;n0;){var i=((r+1|0)>>>1|0)-1|0,e=this.o1p_1.s(i);if(!(t>e))break t;this.o1p_1.t1(r,e),r=i}this.o1p_1.t1(r,t)}ll(){return!this.o1p_1.x()}m1d(){return function(t){if(t.x())throw pr.w("List is empty.");return t.s(0)}(this.o1p_1)}p1p(){this.o1p_1.p()>0||Ny("Set is empty");var t=this.o1p_1.s(0);t:for(;!this.o1p_1.x()&&this.o1p_1.s(0)===t;){this.o1p_1.t1(0,Tn(this.o1p_1)),this.o1p_1.v1(this.o1p_1.p()-1|0);var r=0,n=this.o1p_1.p(),i=this.o1p_1.p()>>>1|0;r:for(;ra){if(l>e){this.o1p_1.t1(r,l),this.o1p_1.t1(u,e),r=u;continue r}break r}}if(!(a>e))break r;this.o1p_1.t1(r,a),this.o1p_1.t1(s,e),r=s}}return t}}class Ww{constructor(t,r,n,i,e){this.m18_1=t,this.n18_1=r,this.o18_1=n,this.p18_1=i,this.q18_1=e}}class Jw{constructor(t,r,n,i){this.d1r_1=t,this.e1r_1=r,this.f1r_1=n,this.g1r_1=i,this.h1r_1=this.d1r_1.a14_1,this.i1r_1=0}m(){var t,r=this.f1r_1.d1p_1;return null!=(t=null==r?null:this.i1r_1=this.h14_1.length&&(this.h14_1=Le(this.h14_1,Sv(this.h14_1.length,2)));var r=this.h14_1,n=this.i14_1;this.i14_1=n+1|0,r[n]=t}t15(){var t=this.h14_1;return this.i14_1=this.i14_1-1|0,t[this.i14_1]}y1p(t){return this.i14_1>0?this.m1d():t}m1d(){return this.h14_1[this.i14_1-1|0]}y18(){return this.h14_1[this.i14_1-2|0]}x19(t){return this.h14_1[t]}x(){return 0===this.i14_1}s1(){this.i14_1=0}x1p(t){var r=0,n=this.i14_1;if(r0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&u.p9(", "),u.p9(e.t1t(_)),a=a+1|0)}while(h0&&c.p9(", "),c.p9(e.u1t(d)),f=f+1|0)}while(w0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&u.p9(", "),u.p9(e.t1t(_)),a=a+1|0)}while(h0&&c.p9(", "),c.p9(e.u1t(d)),f=f+1|0)}while(w0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&u.p9(", "),u.p9(e.t1t(_)),a=a+1|0)}while(h0&&c.p9(", "),c.p9(e.u1t(d)),f=f+1|0)}while(w0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&s.p9(", "),s.p9(n.t1t(l)),e=e+1|0)}while(u0&&o.p9(", "),o.p9(n.u1t(v)),_=_+1|0)}while(c0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0&&l.p9(", "),l.p9(s.t1t(o)),u=u+1|0)}while(_0&&v.p9(", "),v.p9(s.u1t(p)),c=c+1|0)}while(d0&&u.p9(", "),u.p9(e.t1t(_)),a=a+1|0)}while(h0&&c.p9(", "),c.p9(e.u1t(d)),f=f+1|0)}while(w0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v0){var t=qk(this),r=t.m15_1;if(this.t14_1.y1p(-2)!==r&&(!(i=this).s14_1&&i.u14_1&&(Ck(i),i.r14_1.c1u(),i.s14_1=!0),r>0)){var n=t.c17(r);this.t14_1.j14(r),function(t,r){Ck(t),t.r14_1.d1u(r),t.s14_1=!0}(this,n)}}var i}e1e(){return(qk(this).m15_1-this.v14_1|0)<0}h1e(t){this.r14_1.p1t(t)}c1e(t,r){Sk(this,!0),this.r14_1.v1t(t,r)}d1e(t,r,n){this.r14_1.w1t(t,r,n)}a1e(t,r){this.r14_1.x1t(t,r)}l19(t){t>0&&(zk(this),this.r14_1.y1t(t))}n1a(){this.r14_1.z1t()}q17(t){Ck(this),this.r14_1.b1u(t)}c15(){this.s14_1&&(Ck(this),Ck(this),this.r14_1.e1u(),this.s14_1=!1)}m19(){var t=qk(this).m15_1;this.t14_1.y1p(-1)<=t||Ny("Missed recording an endGroup"),this.t14_1.y1p(-1)===t&&(Ck(this),this.t14_1.t15(),this.r14_1.e1u())}d1b(){this.r14_1.f1u()}y1b(){zk(this),this.r14_1.g1u(),this.v14_1=this.v14_1+qk(this).v1q()|0}x1b(t,r){Ek(this),zk(this),$k(this),this.r14_1.h1u(t,r)}w1b(t,r,n){Ek(this),zk(this),$k(this),this.r14_1.i1u(t,r,n)}w18(t){zk(this),this.r14_1.j1u(t)}u1e(t,r){this.r14_1.k1u(t,r)}p1d(t){jk(this),this.r14_1.l1u(t)}s1d(t,r){jk(this),this.r14_1.m1u(t,r)}a19(t,r){r>0&&(t>=0||Ny("Invalid remove index "+t),this.y14_1===t?this.b15_1=this.b15_1+r|0:($k(this),this.y14_1=t,this.b15_1=r))}e19(t,r,n){n>0&&(this.b15_1>0&&this.z14_1===(t-this.b15_1|0)&&this.a15_1===(r-this.b15_1|0)?this.b15_1=this.b15_1+n|0:($k(this),this.z14_1=t,this.a15_1=r,this.b15_1=n))}z1b(){Ek(this),this.s14_1&&(this.d1b(),this.c15())}g19(){$k(this)}s1c(t,r){this.g19(),Ek(this);var n=qk(this).y19(r)?1:qk(this).z19(r);n>0&&this.a19(t,n)}j19(){$k(this),this.x14_1.ll()?this.x14_1.t15():this.w14_1=this.w14_1+1|0}b1a(t){$k(this),this.x14_1.x18(t)}j1e(t){this.r14_1.s1u(t)}w1a(t,r){Ek(this),this.r14_1.t1u(t,r)}z1a(t,r){this.r14_1.u1u(t,r)}a1b(t,r,n,i){this.r14_1.v1u(t,r,n,i)}r1c(t,r,n){this.r14_1.w1u(t,r,n)}e1b(){this.r14_1.x1u(),this.v14_1=0}c1b(t,r){this.r14_1.y1u(t,r)}b1c(){Ek(this),this.t14_1.x()||Ny("Missed recording an endGroup()")}c1c(){this.s14_1=!1,this.t14_1.s1(),this.v14_1=0}}class $d extends zd{constructor(){super(),this.v15_1=new cp,this.w15_1=new cp}x(){return this.v15_1.x()}s1(){this.w15_1.s1(),this.v15_1.s1()}a1v(t,r,n){this.w15_1.x()||Ny("FixupList has pending fixup operations that were not realized. Were there mismatched insertNode() and endNodeInsert() calls?"),this.v15_1.o1t(t,r,n)}n1d(t,r,n){var i=this.v15_1,e=Yk();i.q1t(e);var s=i;if(Yk(),ax(s,0,t),Yk(),sx(s,0,r),Yk(),ax(s,1,n),i.m1t_1!==lx(0,e.r1t_1)||i.n1t_1!==lx(0,e.s1t_1)){var a=0,u=Or.j(),l=e.r1t_1,h=0;if(h0&&u.p9(", "),u.p9(e.t1t(_)),a=a+1|0)}while(h0&&c.p9(", "),c.p9(e.u1t(d)),f=f+1|0)}while(w0&&k.p9(", "),k.p9(y.t1t(j)),b=b+1|0)}while(q0&&C.p9(", "),C.p9(y.u1t(E)),S=S+1|0)}while($0&&a.p9(", "),a.p9(i.t1t(h)),s=s+1|0)}while(l0&&f.p9(", "),f.p9(i.u1t(w)),o=o+1|0)}while(v=0&&!t.y19(n);)n=t.b17(n);var i=0;for(n=n+1|0;n0?new Ev(r,u):r,l.h1i(e,n,i)}}class _p{constructor(t,r){this.t1x_1=t,this.u1x_1=r}b1k(t,r){var n=this.t1x_1,i=ge(n,aw)?n:null,e=null==i?null:i.b1k(t,r),s=null==e?By():e;if(s.equals(By())){var a=this.u1x_1;return a.t1a_1=Rn(a.t1a_1,zu(t,r)),Ky()}return s}f1k(t){}j1j(t){}}class op{constructor(t){this.y1x_1=t,this.v1x_1=0,this.w1x_1=0,this.x1x_1=0}n(){if(this.v1x_1>=this.y1x_1.h1t_1)return!1;var t=this.z1x();return this.w1x_1=this.w1x_1+t.r1t_1|0,this.x1x_1=this.x1x_1+t.s1t_1|0,this.v1x_1=this.v1x_1+1|0,this.v1x_1(e=n.i1t_1.length)&&(n.i1t_1=Le(n.i1t_1,ux(0,e,i))),function(t,r){var n=t.k1t_1.length;r>n&&(t.k1t_1=Pe(t.k1t_1,ux(0,n,r)))}(this,this.l1t_1+t.s1t_1|0);var s=this.g1t_1,a=this.h1t_1;this.h1t_1=a+1|0,s[a]=t,this.j1t_1=this.j1t_1+t.r1t_1|0,this.l1t_1=this.l1t_1+t.s1t_1|0}a1u(t){0===t.r1t_1&&0===t.s1t_1||xg("Cannot push "+t.toString()+" without arguments because it expects "+t.r1t_1+" ints and "+t.s1t_1+" objects."),this.q1t(t)}b1v(t){if(this.x())throw pr.w("Cannot pop(), because the stack is empty.");var r=this.g1t_1;this.h1t_1=this.h1t_1-1|0;var n=Ai(r[this.h1t_1]);this.g1t_1[this.h1t_1]=null,t.q1t(n);var i=this.l1t_1,e=t.l1t_1,s=n.s1t_1,a=0;if(a>>31|0)|0,h=0;if(h>>31|0)|0,f=0;if(f0&&e<=s||a<0&&s<=e)do{var u=e;if(e=e+a|0,pi(r,gx(t,u))){if(n===bx(t,u))return null;var l=t.v1y_1.slice();return l[u+1|0]=n,mx(Fp.x21(0,0,l))}}while(u!==s);var h=Lx(t.v1y_1,0,r,n);return px(Fp.x21(0,0,h))}(l,r,n);if(null==h)return null;a=h}else{var _=l.y1y(t,r,n,i+5|0);if(null==_)return null;a=_}var o=a,f=o,c=o.z1y_1;return f.z1y_1=kx(this,u,e,c),o}return px(function(t,r,n,i){var e=t.r20(r),s=Lx(t.v1y_1,e,n,i);return Fp.x21(t.s1y_1|r,t.t1y_1,s)}(this,e,r,n))}u1z(t,r,n,i,e){var s=1<0&&s<=a||u<0&&a<=s)do{var l=s;if(s=s+u|0,pi(r,gx(t,l))){if(i.j1z_1=bx(t,l),t.u1y_1===i.h1z_1)return t.v1y_1[l+1|0]=n,t;i.k1z_1=i.k1z_1+1|0;var h=t.v1y_1.slice();return h[l+1|0]=n,Fp.y21(0,0,h,i.h1z_1)}}while(l!==a);var _=i.p();i.n1z(_+1|0);var o=Lx(t.v1y_1,0,r,n);return Fp.y21(0,0,o,i.h1z_1)}(_,r,n,e):_.u1z(t,r,n,i+5|0,e),_===l?this:xx(this,h,l,e.h1z_1)}var o=e.p();return e.n1z(o+1|0),function(t,r,n,i,e){var s=t.r20(r);if(t.u1y_1===e)return t.v1y_1=Lx(t.v1y_1,s,n,i),t.s1y_1=t.s1y_1|r,t;var a=Lx(t.v1y_1,s,n,i);return Fp.y21(t.s1y_1|r,t.t1y_1,a,e)}(this,s,r,n,e.h1z_1)}b1z(t,r,n){var i=1<0&&i<=e||s<0&&e<=i)do{var a=i;if(i=i+s|0,pi(r,gx(t,a)))return Sx(t,a)}while(a!==e);return t}(u,r):u.b1z(t,r,n+5|0),function(t,r,n,i,e){return null==n?function(t,r,n){if(1===t.v1y_1.length)return null;var i=Px(t.v1y_1,r);return Fp.x21(t.s1y_1,t.t1y_1^n,i)}(t,i,e):r!==n?kx(t,i,e,n):t}(this,u,s,a,i)}return this}x1z(t,r,n,i){var e=1<0&&e<=s||a<0&&s<=e)do{var u=e;if(e=e+a|0,pi(r,gx(t,u)))return Cx(t,u,n)}while(u!==s);return t}(l,r,i):l.x1z(t,r,n+5|0,i),Mx(this,l,a,u,e,i.h1z_1)}return this}z1z(t,r,n,i,e){var s=1<0&&s<=a||u<0&&a<=s)do{var l=s;if(s=s+u|0,pi(r,gx(t,l))&&pi(n,bx(t,l)))return Cx(t,l,i)}while(l!==a);return t}(h,r,n,e):h.z1z(t,r,n,i+5|0,e),Mx(this,h,u,l,s,e.h1z_1)}return this}}class Bp{constructor(){Vc=this,this.e1y_1=Kp.d22(Wc,Wc,fx().p1y())}f1y(){return this.e1y_1}}class Kp extends Fr{static d22(t,r,n){Rx();var i=this.re();return i.a22_1=t,i.b22_1=r,i.c22_1=n,i}p(){return this.c22_1.p()}o(t){return this.c22_1.z1(t)}h(t){if(this.c22_1.z1(t))return this;if(this.x()){var r=this.c22_1.e2(t,Gp.g22());return Kp.d22(t,t,r)}var n=this.b22_1,i=null==n||null!=n?n:$i(),e=Ai(this.c22_1.b2(i)),s=this.c22_1.e2(i,e.h22(t)).e2(t,Gp.i22(i));return Kp.d22(this.a22_1,t,s)}q1(t){var r=this.c22_1.b2(t);if(null==r)return this;var n=r,i=this.c22_1.f2(t);if(n.j22()){var e=i,s=n.e22_1,a=Ai((ge(e,vt)?e:$i()).b2(s)),u=i,l=n.e22_1;i=u.e2(null==l||null!=l?l:$i(),a.h22(n.f22_1))}if(n.l22()){var h=i,_=n.f22_1,o=Ai((ge(h,vt)?h:$i()).b2(_)),f=i,c=n.f22_1;i=f.e2(null==c||null!=c?c:$i(),o.k22(n.e22_1))}var v=n.j22()?this.a22_1:n.f22_1,w=n.l22()?this.b22_1:n.e22_1;return Kp.d22(v,w,i)}l(){return new Vp(this.a22_1,this.c22_1)}}class Gp{static m22(t,r){var n=ji(this);return n.e22_1=t,n.f22_1=r,n}static g22(){return this.m22(Wc,Wc)}static i22(t){return this.m22(t,Wc)}h22(t){return Gp.m22(this.e22_1,t)}k22(t){return Gp.m22(t,this.f22_1)}l22(){return!(this.f22_1===Wc)}j22(){return!(this.e22_1===Wc)}}class Vp{constructor(t,r){this.n22_1=t,this.o22_1=r,this.p22_1=0}m(){return this.p22_1=0?this.b1t_1[r]:null}d1t(t,r){var n=Jx(this,t);return!(n<0||(this.b1t_1[n]=r,0))}e1t(t,r){for(var n=this.z1s_1,i=0,e=this.b1t_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[l-1|0]=t,_[l-1|0]=r;else for(;o=0&&(wq(this.l1b_1),this.l1b_1=-1)}j24(){var t=this.l1b_1;return this.l1b_1=-1,t}}class um{constructor(){fv=this,this.l24_1=new Int32Array(0)}}class lm extends am{constructor(t,r,n,i){cq(),super(t,r),this.i1o_1=n,this.j1o_1=i,this.k1o_1=0,this.l1o_1=null,this.m1o_1=null,this.n1o_1=Tq().m24_1,this.o1o_1=cq().l24_1,this.p1o_1=1,this.q1o_1=!1}x23(){return this.i1o_1}y23(){return this.j1o_1}m23(t,r){var i;this.i24(),!(i=this).q1o_1||i.l1b_1>=0||kg("Unsupported operation on a disposed or applied snapshot"),this.n24(this.m1b()),Xx();var e=iq();nq(e+1|0);var s=e;tq(rq().o24(s));var a=this.q23();this.r23(a.o24(s));var u=new cm(s,gq(a,this.m1b()+1|0,s),function(t,r,i){i=i===k||i,Pq();var e=i?r:null;return null!=t&&null!=e&&t!==e?function(r){return t(r),e(r),n}:null==t?e:t}(t,this.x23()),function(t,r){return Pq(),null==t||null==r||t===r?null==t?r:t:function(i){return t(i),r(i),n}}(r,this.y23()),this);if(!this.q1o_1&&!this.k1b_1){var l=this.m1b();Xx();var h=iq();nq(h+1|0),this.s23(h),tq(rq().o24(this.m1b())),this.r23(gq(this.q23(),l+1|0,this.m1b()))}return u}r1o(){var t=this.p23(),r=null!=t?bq(_q().qs(),this,rq().h24(_q().qs().m1b())):null,n=Ra(),i=null;if(Xx(),kq(this),null==t||0===t.p()){this.b24();var e=_q().qs();xq(e,Zx());var s=e.p23();null!=s&&s.ll()&&(n=uq(),i=s)}else{var a=_q().qs(),u=this.p24(iq(),r,rq().h24(a.m1b()));if(!pi(u,vq()))return u;this.b24(),xq(a,Zx());var l=a.p23();this.k24(null),a.k24(null),n=uq(),i=l}if(this.q1o_1=!0,null!=i){var h=_x(Ai(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.ll()){var v=_x(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)}Xx(),this.c24(),qq();var y=i;if(null==y);else{var g=y.gl_1;t:{var b=y.fl_1,k=b.length-2|0,x=0;if(x<=k)do{var q=x;x=x+1|0;var j=b[q],z=j;if(!z.a3(z.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var S=8-(~(q-k)>>>31|0)|0,C=0;if(C>>31|0)|0,R=0;if(R0||xg("no pending nested snapshots"),this.p1o_1=this.p1o_1-1|0,0===this.p1o_1&&(this.q1o_1||function(t){var r,n,i=t.p23();if(null!=i){!function(t){t.q1o_1&&kg("Unsupported operation on a snapshot that has been applied")}(t),t.k24(null);var e=t.m1b(),s=i.gl_1;t:{var a=i.fl_1,u=a.length-2|0,l=0;if(l<=u)do{var h=l;l=l+1|0;var _=a[h],o=_;if(!o.a3(o.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var f=8-(~(h-u)>>>31|0)|0,c=0;if(c=0))&&(d.j1s_1=0),d=d.k1s_1;_=_.y2(8)}while(c>>31|0)|0,w=0;if(w=0){var r=this.o1o_1,n=new Int32Array([t]);this.o1o_1=he([r,n])}}w24(t){if(0===t.length)return n;var r,i=this.o1o_1;r=0===i.length?t:he([i,t]),this.o1o_1=r}x24(t){Xx(),this.n1o_1=this.n1o_1.u24(t)}z23(t){var r,n=this.p23();if(null==n){var i=jf();this.k24(i),r=i}else r=n;r.h(t)}t23(t){this.k1o_1=t}u23(){return this.k1o_1}k24(t){this.l1o_1=t}p23(){return this.l1o_1}}class hm{}class _m extends hm{constructor(){cv=null,super(),cv=this}}class om extends hm{constructor(t){super(),this.y24_1=t}}class fm extends lm{constructor(t,r){Xx();var i,e,s=hq(),a=1===(i=s).p()?i.s(0):null;e=null==a?function(t){var r=s,i=0,e=r.p()-1|0;if(i<=e)do{var a=i;i=i+1|0,r.s(a)(t)}while(i<=e);return n}:a,super(t,r,null,e)}m23(t,r){return n=function(n){Xx();var i=iq();return nq(i+1|0),new lm(i,n,t,r)},Pq(),pq((function(t){var r=n(t);return Xx(),tq(rq().o24(r.m1b())),r}));var n}o23(){mq()}m25(t){Uq()}q24(t){return this.m25(t)}n25(t){Uq()}r24(t){return this.n25(t)}r1o(){throw fr.l3(yi("Cannot apply the global snapshot directly. Call Snapshot.advanceGlobalSnapshot"))}iq(){Xx(),this.w23()}}class cm extends lm{constructor(t,r,n,i,e){super(t,r,n,i),this.i26_1=e,this.j26_1=!1,this.i26_1.r24(this)}iq(){this.k1b_1||(super.iq(),yq(this))}r1o(){if(this.i26_1.q1o_1||this.i26_1.k1b_1)return new om(this);var t=this.p23(),r=this.m1b(),n=null!=t?bq(this.i26_1,this,this.i26_1.q23()):null;if(Xx(),kq(this),null==t||0===t.p())this.a24();else{var i=this.p24(this.i26_1.m1b(),n,this.i26_1.q23());if(!pi(i,vq()))return i;var e,s=this.i26_1.p23();null==s?e=null:(s.em(t),e=s),null==e&&(this.i26_1.k24(t),this.k24(null))}return this.i26_1.m1b()0?this.q25_1[0]:t}ui(t){!function(t,r){var i=t.q25_1.length;if(r<=i)return n;var e=Sv(i,2),s=new Int32Array(e),a=new Int32Array(e),u=t.q25_1;Je(u,s,0,0,u.length);var l=t.r25_1;Je(l,a,0,0,l.length),t.q25_1=s,t.r25_1=a}(this,this.p25_1+1|0);var r=this.p25_1;this.p25_1=r+1|0;var i=r,e=function(t){var r=t.s25_1.length;if(t.t25_1>=r){for(var n=0,i=Sv(r,2),e=new Int32Array(i);n>1,s=r;s=0&&r<64)return!new bt(1,0).x2(r).a3(this.e24_1).equals(new bt(0,0));if(r>=64&&r<128)return!new bt(1,0).x2(r-64|0).a3(this.d24_1).equals(new bt(0,0));if(r>0)return!1;var n,i=this.g24_1;return null!=(n=null==i?null:Hq(i,t)>=0)&&n}o24(t){var r=t-this.f24_1|0;if(r>=0&&r<64){var n=new bt(1,0).x2(r);if(this.e24_1.a3(n).equals(new bt(0,0)))return new pm(this.d24_1,this.e24_1.b3(n),this.f24_1,this.g24_1)}else if(r>=64&&r<128){var i=new bt(1,0).x2(r-64|0);if(this.d24_1.a3(i).equals(new bt(0,0)))return new pm(this.d24_1.b3(i),this.e24_1,this.f24_1,this.g24_1)}else if(r>=128){if(!this.s(t)){var e=this.d24_1,s=this.e24_1,a=this.f24_1,u=null,l=Sv((t+1|0)/64|0,64);t:for(;a=0&&r<64){var n=new bt(1,0).x2(r);if(!this.e24_1.a3(n).equals(new bt(0,0)))return new pm(this.d24_1,this.e24_1.a3(n.w2()),this.f24_1,this.g24_1)}else if(r>=64&&r<128){var i=new bt(1,0).x2(r-64|0);if(!this.d24_1.a3(i).equals(new bt(0,0)))return new pm(this.d24_1.a3(i.w2()),this.e24_1,this.f24_1,this.g24_1)}else if(r<0){var e=this.g24_1;if(null!=e){var s=Hq(e,t);if(s>=0){var a=e.length-1|0;if(0===a)return new pm(this.d24_1,this.e24_1,this.f24_1,null);var u=new Int32Array(a);return s>0&&Je(e,u,0,0,s),s1&&r.k(n),!(s<0||l<=s))break t;Yx(r,f,u)}while(h<=_);return s>=0&&l>s&&r.k(a),r.k(e),r}(u,Or.j(),t,r,n,i,e,s).toString()+"]")}}class mm{constructor(){this.l26_1=0,this.m26_1=new Int32Array(16),this.n26_1=Qn(Array(16),null)}p26(t){var r,n=this.l26_1,i=function(t){if(Yq(),null==t)return 0;var r,n=t.kotlinIdentityHashcodeValue$;if(null!=n)return n;switch(typeof t){case"object":case"function":r=function(t){Yq();var r,n=(Yq(),yv);r=n+1|0,Yq(),yv=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.f1("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.l26_1-1|0;i<=e;){var s=(i+e|0)>>>1|0,a=t.m26_1[s];if(an)){var u=t.n26_1[s];return r===(null==u?null:u.qs())?s:Fq(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.n26_1.length;if(n===s){var a=Sv(s,2),u=Qn(Array(a),null),l=new Int32Array(a);Je(this.n26_1,u,e+1|0,e,n),Je(this.n26_1,u,0,0,e),Je(this.m26_1,l,e+1|0,e,n),Je(this.m26_1,l,0,0,e),this.n26_1=u,this.m26_1=l}else Je(this.n26_1,this.n26_1,e+1|0,e,n),Je(this.m26_1,this.m26_1,e+1|0,e,n);return this.n26_1[e]=new zm(t),this.m26_1[e]=i,this.l26_1=this.l26_1+1|0,!0}}class ym{}class gm{constructor(t){this.a1i_1=t}qs(){return this.a1i_1}wx(t){this.a1i_1=t}ex(t){var r=this.a1i_1;return this.a1i_1=t,r}dx(t,r){var n;return pi(this.a1i_1,t)?(this.a1i_1=r,n=!0):n=!1,n}}class bm{constructor(t){this.f11_1=t}qs(){return this.f11_1}g11(t){this.f11_1=t}ui(t){return this.f11_1=this.f11_1+t|0,this.f11_1}s26(t,r){var n;return pi(this.f11_1,t)?(this.f11_1=r,n=!0):n=!1,n}}class km{constructor(t,r,n){this.q22_1=t,this.r22_1=r,this.s22_1=n,this.t22_1=null,this.u22_1=null}v22(t){if(!pi(this.s22_1,t)){var r=null==this.s22_1;this.s22_1=t,r||function(t){if(t.r22_1){var r=t.t22_1;null!=r&&(r.a1k(),t.t22_1=null);var n=t.u22_1;if(null!=n){var i=0,e=n.p();if(i0;){if(202===t.k13_1.e17(n)&&pi(t.k13_1.f17(n),Am())){var i=t.k13_1.d17(n),e=null!=i&&ge(i,pw)?i:$i();return t.m13_1=e,e}n=t.k13_1.b17(n)}if(t.i13_1.p()>0)for(var s=r;s>0;){if(202===t.i13_1.e17(s)&&pi(t.i13_1.f17(s),Am())){var a,u=t.w12_1,l=null==u?null:u.s(s);if(null==l){var h=t.i13_1.d17(s);a=null!=h&&ge(h,pw)?h:$i()}else a=l;var _=a;return t.m13_1=_,_}s=t.i13_1.b17(s)}return t.m13_1=t.v12_1,t.v12_1}function Rm(t,r,n){var i=r.h17();i.g2(n);var e=i.i17();return Mm(t,204,(Vy(),If)),Pm(t,e),Pm(t,n),Nm(t),e}function Tm(t,r){var n,i=t.w12_1;if(null==i){var e=new jm;t.w12_1=e,n=e}else n=i;n.j17(t.i13_1.k15_1,r)}function Hm(t){t.k13_1.t16_1&&(t.k13_1=t.j13_1.k17(),t.k13_1.l17(),t.l13_1=!1,t.m13_1=null)}function Um(t){ky(t.k13_1.t16_1),Fm(t)}function Fm(t){var r=t,n=new Rw;t.d13_1&&n.m17(),t.c12_1.o17()&&n.n17(),r.j13_1=n;var i=t,e=t.j13_1.k17();e.p17(!0),i.k13_1=e}function Bm(t,r,n){r?t.i13_1.t17():(null!=n&&t.i13_1.r17()!==n&&t.o13_1.q17(n),t.i13_1.s17())}function Km(t,r,i,e,s){_y(t);var a=t.m12_1;if(null==i)if(null==s||207!==r||pi(s,my().u17_1)){var u=t,l=Fe(t.s13_1,3)^r;u.s13_1=Fe(l,3)^a}else{var h=mi(s),_=t,o=Fe(t.s13_1,3)^h;_.s13_1=Fe(o,3)^a}else if(i instanceof yt){var f=i.j2_1,c=t,v=Fe(t.s13_1,3)^f;c.s13_1=0^Fe(v,3)}else{var w=mi(i),d=t,p=Fe(t.s13_1,3)^w;d.s13_1=0^Fe(p,3)}null==i&&(t.m12_1=t.m12_1+1|0);var m=!(e===Sy().v16_1);if(t.r13_1){t.i13_1.v17();var y=t.k13_1.q16_1;m?t.k13_1.y17(r,my().u17_1):null!=s?t.k13_1.x17(r,null==i?my().u17_1:i,s):t.k13_1.w17(r,null==i?my().u17_1:i);var g=t.j12_1;if(null==g);else{var b=new Ww(r,-1,Jm(0,y),-1,0);g.f18(b,t.k12_1-g.a18_1|0),g.g18(b)}return Gm(t,m,null),n}var k=e===Sy().w16_1&&t.z12_1;if(null==t.j12_1){var x=t.i13_1.h18();!k&&x===r&&pi(i,t.i13_1.j18())?Bm(t,m,s):t.j12_1=new tw(t.i13_1.i18(),t.k12_1)}var q=t.j12_1,j=null;if(null!=q){var z=q.k18(r,i);if(k||null==z){t.i13_1.v17(),t.r13_1=!0,t.m13_1=null,Hm(t),t.k13_1.l18();var S=t.k13_1.q16_1;m?t.k13_1.y17(r,my().u17_1):null!=s?t.k13_1.x17(r,null==i?my().u17_1:i,s):t.k13_1.w17(r,null==i?my().u17_1:i),t.p13_1=t.k13_1.c17(S);var C=new Ww(r,-1,Jm(0,S),-1,0);q.f18(C,t.k12_1-q.a18_1|0),q.g18(C);var A=Lt.b1();j=new tw(A,m?0:t.k12_1)}else{q.g18(z);var $=z.o18_1;t.k12_1=q.r18(z)+q.a18_1|0;var E=q.s18(z),I=E-q.b18_1|0;q.t18(E,q.b18_1),t.o13_1.u18($),t.i13_1.v18($),I>0&&t.o13_1.w18(I),Bm(t,m,s)}}Gm(t,m,j)}function Gm(t,r,n){t.i12_1.x18(t.j12_1),t.j12_1=n,t.n12_1.j14(t.l12_1),t.n12_1.j14(t.m12_1),t.n12_1.j14(t.k12_1),r&&(t.k12_1=0),t.l12_1=0,t.m12_1=0}function Vm(t,r){var n=t.n12_1.y18()-1|0;if(t.r13_1){var i=t.k13_1.s16_1,e=t.k13_1.e17(i),s=t.k13_1.f17(i),a=t.k13_1.d17(i);if(null==s)if(null==a||207!==e||pi(a,my().u17_1)){var u=t,l=Be(t.s13_1^n,3)^e;u.s13_1=Be(l,3)}else{var h=mi(a),_=t,o=Be(t.s13_1^n,3)^h;_.s13_1=Be(o,3)}else if(s instanceof yt){var f=s.j2_1,c=t,v=Be(0^t.s13_1,3)^f;c.s13_1=Be(v,3)}else{var w=mi(s),d=t,p=Be(0^t.s13_1,3)^w;d.s13_1=Be(p,3)}}else{var m=t.i13_1.m15_1,y=t.i13_1.e17(m),g=t.i13_1.f17(m),b=t.i13_1.d17(m);if(null==g)if(null==b||207!==y||pi(b,my().u17_1)){var k=t,x=Be(t.s13_1^n,3)^y;k.s13_1=Be(x,3)}else{var q=mi(b),j=t,z=Be(t.s13_1^n,3)^q;j.s13_1=Be(z,3)}else if(g instanceof yt){var S=g.j2_1,C=t,A=Be(0^t.s13_1,3)^S;C.s13_1=Be(A,3)}else{var $=mi(g),E=t,I=Be(0^t.s13_1,3)^$;E.s13_1=Be(I,3)}}var M=t.l12_1,N=t.j12_1;if(null!=N&&N.z17_1.p()>0){for(var L=N.z17_1,P=N.z18(),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.ha(),R=0,T=P.p(),H=0,U=L.p(),F=0;H0&&(t.o13_1.u18(t.i13_1.h19()),t.i13_1.l17())}for(var J=t.k12_1;!t.i13_1.i19();){var Y=t.i13_1.k15_1;oy(t);var Z=t.i13_1.y16();t.o13_1.a19(J,Z),Cy(t.t12_1,Y,t.i13_1.k15_1)}var Q=t.r13_1;if(Q){r&&(t.q13_1.o19(),M=1),t.i13_1.p19();var X=t.k13_1.s16_1;if(t.k13_1.q19(),!t.i13_1.t19()){var tt=Jm(0,X);t.k13_1.r19(),t.k13_1.p17(!0),function(t,r){t.q13_1.x()?t.o13_1.x1b(r,t.j13_1):(t.o13_1.w1b(r,t.j13_1,t.q13_1),t.q13_1=new $d)}(t,t.p13_1),t.r13_1=!1,t.d12_1.s19()||(ty(t,tt,0),Ym(t,tt,M))}}else{r&&t.o13_1.j19();var rt=t.i13_1.k19();rt>0&&t.o13_1.l19(rt),t.o13_1.m19();var nt=t.i13_1.m15_1;M!==Xm(t,nt)&&Ym(t,nt,M),r&&(M=1),t.i13_1.n19(),t.o13_1.g19()}!function(t,r,n){var i=t.i12_1.t15();null==i||n||(i.b18_1=i.b18_1+1|0),t.j12_1=i,t.k12_1=t.n12_1.t15()+r|0,t.m12_1=t.n12_1.t15(),t.l12_1=t.n12_1.t15()+r|0}(t,M,Q)}function Wm(t){var r=t.g13_1;t.g13_1=!0;for(var n=!1,i=t.i13_1.m15_1,e=i+t.i13_1.c19(i)|0,s=t.k12_1,a=t.s13_1,u=t.l12_1,l=t.m12_1,h=i,_=Ey(t.t12_1,t.i13_1.k15_1,e);null!=_;){var o=_.p11_1;if(Iy(t.t12_1,o),_.r11()){n=!0,t.i13_1.v18(o);var f=t.i13_1.k15_1;ry(t,h,f,i),h=f,t.k12_1=Zm(t,o,f,i,s),t.m12_1=Qm(t,f);var c=t.i13_1.b17(f);t.s13_1=iy(t,c,Qm(t,c),i,a),t.m13_1=null,_.o11_1.v19(t),t.m13_1=null,t.i13_1.w19(i)}else t.f13_1.x18(_.o11_1),_.o11_1.u19(),t.f13_1.t15();_=Ey(t.t12_1,t.i13_1.k15_1,e)}if(n){ry(t,h,i,i),t.i13_1.l17();var v=Xm(t,i);t.k12_1=s+v|0,t.l12_1=u+v|0,t.m12_1=l}else ey(t);t.s13_1=a,t.g13_1=r}function Jm(t,r){return-2-r|0}function Ym(t,r,n){var i=Xm(t,r);if(i!==n){var e=n-i|0,s=r,a=t.i12_1.p()-1|0;t:for(;-1!==s;){var u=Xm(t,s)+e|0;ty(t,s,u);var l=a;if(0<=l)r:do{var h=l;l=l+-1|0;var _=t.i12_1.x19(h);if(null!=_&&_.b19(s,u)){a=h-1|0;break r}}while(0<=l);if(s<0)s=t.i13_1.m15_1;else{if(t.i13_1.y19(s))break t;s=t.i13_1.b17(s)}}}}function Zm(t,r,n,i,e){for(var s=t.i13_1.b17(n);s!==i&&!t.i13_1.y19(s);)s=t.i13_1.b17(s);var a=t.i13_1.y19(s)?0:e;if(s===n)return a;var u=s,l=a+(Xm(t,s)-t.i13_1.z19(n)|0)|0;t:for(;a=0)return s}return t.i13_1.z19(r)}function ty(t,r,n){if(Xm(t,r)!==n)if(r<0){var i,e=t.p12_1;if(null==e){var s=new Lo;t.p12_1=s,i=s}else i=e;i.li(r,n)}else{var a,u=t.o12_1;if(null==u){var l=new Int32Array(t.i13_1.p());h=l,-1,_=_===k?0:_,o=o===k?h.length:o,D.g4(_,o,h.length),h.fill(-1,_,o),t.o12_1=l,a=l}else a=u;a[r]=n}var h,_,o}function ry(t,r,n,i){for(var e=t.i13_1,s=function(t,r,n,i){if(Vy(),r===n)return r;if(r===i||n===i)return i;if(t.b17(r)===n)return n;if(t.b17(n)===r)return r;if(t.b17(r)===t.b17(n))return t.b17(r);var e=r,s=n,a=Dy(t,r,i),u=Dy(t,n,i),l=a-u|0,h=0;if(h0&&a!==s;)e.y19(a)&&t.o13_1.j19(),a=e.b17(a);ny(t,n,s)}function ny(t,r,n){var i;r>0&&r!==n&&(ny(t,t.i13_1.b17(r),n),t.i13_1.y19(r)&&t.o13_1.b1a((i=r,t.i13_1.v1b(i))))}function iy(t,r,n,i,e){var s;if(r===i)s=e;else{var a,u=function(t,r,n){var i;if(t.a1a(n)){var e,s=t.f17(n);i=null==(e=null==s?null:s instanceof yt?s.j2_1:s instanceof Yv?126665345:mi(s))?0:e}else{var a,u=t.e17(n);if(207===u){var l,h=t.d17(n);a=null==(l=null==h?null:pi(h,my().u17_1)?u:mi(h))?u:l}else a=u;i=a}return i}(t.i13_1,0,r);if(126665345===u)a=u;else{var l=t.i13_1.b17(r),h=l===i?e:iy(t,l,Qm(t,l),i,e),_=t.i13_1.a1a(r)?0:n,o=Fe(h,3)^u;a=Fe(o,3)^_}s=a}return s}function ey(t){t.l12_1=t.i13_1.c1a(),t.i13_1.l17()}function sy(t,r,i,e,s){t.h1a(126665345,r),Pm(t,e);var a,u=t.s13_1;try{t.s13_1=126665345,t.r13_1&&t.k13_1.i1a();var l=!t.r13_1&&!pi(t.i13_1.r17(),i);if(l&&Tm(t,i),Km(t,202,Am(),Sy().v16_1,i),t.m13_1=null,t.r13_1&&!s){t.l13_1=!0;var h=t.k13_1.c17(t.k13_1.b17(t.k13_1.s16_1)),_=new Wv(r,e,t.h12_1,t.j13_1,h,Ra(),Om(t));t.c12_1.l1a(_)}else{var o=t.x12_1;t.x12_1=l,Zq(t,(a=Tx(316014703,!0,(function(t,i){var s=t;return xy(s,"C3293@126183L18:Composer.kt#9igjgp"),2==(3&i)&&s.k1a()?s.l17():(qy()&&jy(316014703,i,-1,"androidx.compose.runtime.ComposerImpl.invokeMovableContentLambda. (Composer.kt:3293)"),r.j1a_1(e,s,0),qy()&&zy()),n})),function(t,r){return a.v1c(t,r)})),t.x12_1=o}}finally{Nm(t),t.m13_1=null,t.s13_1=u,t.m1a()}}function ay(t,r,n,i,e,s){var a=t.g13_1,u=t.k12_1;try{t.g13_1=!0,t.k12_1=0;var l=0,h=e.p()-1|0;if(l<=h)do{var _=l;l=l+1|0;var o=e.s(_),f=o.yf(),c=o.zf();null!=c?t.f1b(f,c):t.f1b(f,null)}while(l<=h);var v=null==r?null:r.g1b(n,null==i?-1:i,s);return null==v?s():v}finally{t.g13_1=a,t.k12_1=u}}function uy(t,r,n,i,e,s,a){return ay(t,r=r===k?null:r,n=n===k?null:n,i=i===k?null:i,e=e===k?Ra():e,s)}function ly(t,r,n){t.g13_1&&Ny("Reentrant composition is not supported");t:{var i=bv.h1b("Compose:recompose");try{t.c13_1=dq().m1b(),t.w12_1=null;var e=r.n1b_1,s=e.sk_1,a=e.tk_1;r:{var u=e.rk_1,l=u.length-2|0,h=0;if(h<=l)do{var _=h;h=h+1|0;var o=u[_],f=o;if(!f.a3(f.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var c=8-(~(_-l)>>>31|0)|0,v=0;if(v=0?t.v1(n):null}function My(t,r){Vy();var n=Lt.b1(),i=t.e14();try{Uy(i,n,t.v1a(r))}finally{i.s15()}return n}function Ny(t){throw Vy(),Zv.s1f("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 Ly(t,r,n){var i,e=t,s=e.dl(r),a=s<0;if(a)i=null;else{var u=e.tk_1[s];i=null==u||null!=u?u:$i()}var l,h=i;if(null==h)l=n;else if(null!=h&&ge(h,ft)){var _=null!=h&&ge(h,ft)?h:$i();_.h(n),l=_}else l=Da([h,n]);var o=l;if(a){var f=~s;e.sk_1[f]=r,e.tk_1[f]=o}else e.tk_1[s]=o}function Py(t,r){Vy();var n=Oy(t,r);return n<0?0|-(n+1|0):n}function Oy(t,r){Vy();for(var n=0,i=t.p()-1|0;n<=i;){var e=(n+i|0)>>>1|0,s=fi(t.s(e).p11_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 Dy(t,r,n){Vy();for(var i=0,e=r;e>0&&e!==n;)e=t.b17(e),i=i+1|0;return i}function Ry(t,r,n){Vy(),t.a1f(r,n)}function Ty(t){Vy(),t.c1f()}function Hy(t,r,i){var e=t;return!e.j1d()&&pi(e.j1f(),r)||(e.k1f(r),t.r1d(r,i)),n}function Uy(t,r,n){if(t.y19(n))r.h(t.v1b(n));else for(var i=n+1|0,e=n+t.c19(n)|0;i>>31|0)|0,c=0;if(c>>31|0)|0,c=0;if(c>>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,j=0;if(j>>31|0)|0,T=0;if(T>>31|0)|0,f=0;if(f>>31|0)|0,d=0;if(d>>31|0)|0,I=0;if(I>>31|0)|0,m=0;if(m (Composition.kt:623)"),qy()&&zy()),n}function hg(t,r){var i=t;return xy(i,"C:Composition.kt#9igjgp"),2==(3&r)&&i.k1a()?i.l17():(qy()&&jy(1918065384,r,-1,"androidx.compose.runtime.ComposableSingletons$CompositionKt.lambda-2. (Composition.kt:757)"),qy()&&zy()),n}function _g(t,r,n){fg();var i=t.s(r);t.t1(r,t.s(n)),t.t1(n,i)}function og(t,r,n){fg();var i=t.s(r);t.wi(r,t.s(n)),t.wi(n,i)}function fg(){Gf||(Gf=!0,Ff=new Object,new ow)}function cg(t){return new ww(t)}function vg(t,r,i,e){var s=i;xy(s=s.r1e(-1390796515),"C(CompositionLocalProvider)P(1)379@16749L9:CompositionLocal.kt#9igjgp");var a=e;qy()&&jy(-1390796515,a,-1,"androidx.compose.runtime.CompositionLocalProvider (CompositionLocal.kt:377)"),s.k1e(t),r(s,14&a>>3),s.m1e(),qy()&&zy();var u=s.s1e();null==u||u.v1k((function(i,s){return vg(t.slice(),r,i,Cg(1|e)),n}))}function wg(t,r){var n=r instanceof cw?r:$i(),i=t.b2(n),e=(null==i?r.k1k():i).w1k(t);return null==e||null!=e?e:$i()}function dg(t,r){return t.z1(r instanceof cw?r:$i())}function pg(t,r,n){n=n===k?Wx():n;var i=Wx().h17(),e=n,s=0,a=t.length-1|0;if(s<=a)do{var u=s;s=s+1|0;var l=t[u],h=l.d1g_1,_=h instanceof vw?h:$i();if(l.k1g_1||!dg(r,_)){var o=e.b2(_),f=_.o1k(l instanceof Qv?l:$i(),o);i.e2(_,f)}}while(s<=a);return i.i17()}function mg(){return yg(),Jf}function yg(){Yf||(Yf=!0,new yd,Jf=new yd)}function gg(){Zf||(Zf=!0,new yw)}function bg(t,r){var n;if(r instanceof yt)n=r.j2_1;else{var i=null==r?null:mi(r);n=null==i?0:i}return n}function kg(t){throw fr.l3(t)}function xg(t){throw vr.f1(t)}function*qg(t,r,i){var e=t.a1m_1(new Sw(t.b1m_1,r.nm()),i);return e===iu()&&(e=yield e),n}function jg(t,r){t.s11_1=r?32|t.s11_1:-33&t.s11_1}function zg(t,r){t.s11_1=r?16|t.s11_1:-17&t.s11_1}function Sg(t,r,n){ge(t,mw)||$i();var i=t.b1l();return!(null==i?yk():i).d1m(t.n1j().q1j(),n.b2(t))}function Cg(t){tc||(tc=!0,new Object);var r=306783378&t,n=613566756&t;return-920350135&t|r|n>>1|r<<1&n}function Ag(){if(uc)return n;uc=!0,rc=new Iw("ShutDown",0),nc=new Iw("ShuttingDown",1),ic=new Iw("Inactive",2),ec=new Iw("InactivePendingWork",3),sc=new Iw("Idle",4),ac=new Iw("PendingWork",5)}function*$g(t,r,i,e){for(var s=Lt.b1(),a=Lt.b1(),u=Lt.b1(),l=jf(),h=jf(),_=new tf,o=_x(_),f=jf();Rg(t.o1m_1);){var c=Gg(t.o1m_1,e);if(c===iu()&&(c=yield c),Tg(t.o1m_1)){var v=i.j11(function(r){if(Og(t.o1m_1))t:{var i=bv.h1b("Recomposer:animation");try{t.o1m_1.q1m_1.i11(r),ov.o1n();break t}finally{bv.u1b(i)}}t:{var e=bv.h1b("Recomposer:recompose");try{Tg(t.o1m_1),t.o1m_1.r1m_1;var c=t.o1m_1.x1m_1,v=c.r1b_1;if(v>0){var w=0,d=c.p1b_1,p=be(d)?d:$i();do{var m=p[w];s.h(m),w=w+1|0}while(w0&&(I.p1b_1[P-M|0]=I.p1b_1[P])}while(L>>31|0)|0,ut=0;if(ut>>31|0)|0,gt=0;if(gt>>31|0)|0,g=0;if(g>>31|0)|0,I=0;if(I>>31|0)|0,F=0;if(F=0){var s=t.t1n_1.w1m_1;if(r instanceof dp){var a=r.e1i_1,u=a.gl_1;t:{var l=a.fl_1,h=l.length-2|0,_=0;if(_<=h)do{var o=_;_=_+1|0;var f=l[o],c=f;if(!c.a3(c.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var v=8-(~(o-h)>>>31|0)|0,w=0;if(w0||Pg(t)?ub():ab();var i,e=n;if(t.j1n_1.tw(e),e.equals(ub())){var s=t.e1n_1;t.e1n_1=null,i=s}else i=null;return i}function Rg(t){var r;if(t.r1m_1,t.g1n_1){var n;t:{for(var i=t.k1n_1.vs().l();i.m();)if(i.n().om()){n=!0;break t}n=!1}r=n}else r=!0;return r}function Tg(t){if(t.r1m_1,t.w1m_1.x())return tb(t);var r=_x(t.w1m_1);t.w1m_1=new tf;var n=r;t.r1m_1;var i=Lg(t),e=!1;try{t:{var s=0,a=i.p()-1|0;if(s<=a)do{var u=s;if(s=s+1|0,i.s(u).g1j(n),t.j1n_1.y1().k2(eb())<=0)break t}while(s<=a)}t.r1m_1,t.w1m_1=new tf,e=!0}finally{e||(t.r1m_1,t.w1m_1.bm(n))}if(t.r1m_1,null!=Dg(t))throw fr.l3(yi("called outside of runRecomposeAndApplyChanges"));return tb(t)}function Hg(t,r,n,i){if(!rb().n1m_1.qs()||r instanceof Zv){t.r1m_1;var e=t.h1n_1;if(null!=e)throw e.a1o_1;throw t.h1n_1=new Nw(!1,r),r}t.r1m_1,function(t,r){var n;Yq(),function(t){qs(),(qs(),j).ma(t)}("Error was captured in composition while live edit was enabled."),n=r,console.error(function(t){return(new Dr).ke(t)}(n))}(0,r),t.y1m_1.s1(),t.x1m_1.s1(),t.w1m_1=new tf,t.z1m_1.s1(),t.a1n_1.s1(),t.b1n_1.s1(),t.h1n_1=new Nw(i,r),null!=n&&Fg(t,n),Dg(t)}function Ug(t,r,n,i,e){return Hg(t,r,n=n===k?null:n,i=i!==k&&i)}function Fg(t,r){var n,i=t.c1n_1;if(null==i){var e=Lt.b1();t.c1n_1=e,n=e}else n=i;var s=n;s.o(r)||s.h(r),function(t,r){t.u1m_1.q1(r),t.v1m_1=null}(t,r)}function Bg(t){return t.r1m_1,t.w1m_1.ll()||t.x1m_1.ll()||Pg(t)}function*Kg(t,r){if(!Bg(t)){var i,e=new Nl(Cs(r),1);if(e.hq(),t.r1m_1,Bg(t)?i=e:(t.e1n_1=e,i=null),null==i);else{var s=n;i.ta(s)}var a=Ci(e.mo());a===iu()&&(a=yield a)}return n}function Gg(t,r){return Es(Kg.bind(k,t),r)}function*Vg(t,r,i){var e,s,a=function(t){var r=t.eb(Qf);if(null==r)throw fr.l3(yi("A MonotonicFrameClock is not available in this CoroutineContext. Callers should supply an appropriate MonotonicFrameClock using withContext."));return r}(i.ra()),u=Yh(t.q1m_1,(e=new Ow(t,r,a),s=function(t,r){return e.c1m(t,r)},s.$arity=1,s),i);return u===iu()&&(u=yield u),n}function Wg(t,r,i){var e;if(r.l1i()||r.z1i())e=!0;else{var s=t.d1n_1;e=!0===(null==s?null:s.o(r))}if(e)return null;t:{var a=ov.b1o(Zg(0,r),Qg(0,r,i));try{var u;r:{var l=a.c1o();try{!0===(null==i?null:i.ll())&&r.i1j((function(){var t=i,e=t.gl_1;n:{var s=t.fl_1,a=s.length-2|0,u=0;if(u<=a)do{var l=u;u=u+1|0;var h=s[l],_=h;if(!_.a3(_.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var o=8-(~(l-a)>>>31|0)|0,f=0;if(f=0&&sk(t.y15_1,Eb(t,r))}(r,n);qb(i,u),jb(i,o,i.q16_1),r.d16_1=0;Z&&(r.s17(),r.h1p(Y-r.q16_1|0),r.s17()),r.h1p(n-r.q16_1|0);var Q=r.z1f();Z&&(r.l17(),r.q19(),r.l17(),r.q19()),J=Q}else{var X=zb(r,n,u);Cb(r,h,o,n-1|0),J=X}else J=!1;return J&&Ny("Unexpectedly removed anchors"),i.l16_1=i.l16_1+(ik(c,v)?1:ek(c,v))|0,s&&(i.q16_1=v+u|0,i.f16_1=d+o|0),f&&pb(i,p),P}function ob(t,r,n,i,e,s,a,u){return _b(0,r,n,i,e,s,a=a===k||a)}function fb(t,r){var n=t.i1p();return t.j1p(r),n}function cb(t,r,n){var i,e=t.b16_1;if(null==e)i=null;else{var s,a=t.c17(r),u=e.b2(a);if(null==u){var l=new Fw(0,n,0);if(null==n)for(var h=r+1|0,_=t.q16_1;h<_;)l.k1p(t,h),h=h+Yb(t.y15_1,h)|0;var o=l;e.e2(a,o),s=o}else s=u;i=s}return i}function vb(t){var r=t.f16_1-t.l1p(t.s16_1)|0,n=t.p16_1,i=null==n?null:n.s(t.s16_1),e=null==i?null:i.p();return r+(null==e?0:e)|0}function wb(t,r,n,i,e){var s=t.s16_1,a=t.k16_1>0;t.o16_1.j14(t.l16_1);var u,l=t;if(a){var h=t.q16_1,_=Lb(t.y15_1,t,Eb(t,h));qb(t,1),t.f16_1=_,t.g16_1=_;var o=Eb(t,h),f=!(n===my().u17_1),c=!(i||e===my().u17_1),v=t.i16_1,w=Tb(0,_,t.h16_1,v,t.z15_1.length),d=w>=0&&t.j16_10){jb(t,p,h);var m=t.z15_1,y=t.f16_1;if(i){var g=y;y=g+1|0,m[g]=e}if(f){var b=y;y=b+1|0,m[b]=n}if(c){var k=y;y=k+1|0,m[k]=e}t.f16_1=y}t.l16_1=0;var x=h+1|0;if(t.s16_1=h,t.q16_1=x,s>=0){var q=Sb(t,s);null==q||q.k1p(t,h)}u=x}else{t.m16_1.j14(s),yb(t);var j=t.q16_1,z=Eb(t,j);pi(e,my().u17_1)||(i?t.n1p(e):t.m1p(e)),t.f16_1=Pb(t.y15_1,t,z),t.g16_1=Lb(t.y15_1,t,Eb(t,t.q16_1+1|0)),t.l16_1=ek(t.y15_1,z),t.s16_1=j,t.q16_1=j+1|0,u=j+Yb(t.y15_1,z)|0}l.r16_1=u}function db(t){var r=t.u16_1;if(null==r);else for(;r.ll();)mb(t,r.p1p(),r)}function pb(t,r){if(r>=0){var n,i=t.u16_1;if(null==i){var e=new Vw;t.u16_1=e,n=e}else n=i;n.q1p(r)}}function mb(t,r,n){var i,e,s,a=Eb(t,r),u=function(t,r){for(var n=r+1|0,i=r+t.c19(r)|0;n=0&&n.q1p(l)}}function yb(t){t.n16_1.j14(($b(t)-t.e16_1|0)-t.r16_1|0)}function gb(t){var r=($b(t)-t.e16_1|0)-t.n16_1.t15()|0;return t.r16_1=r,r}function bb(t,r,n,i){for(var e=Ub(t,r,t.d16_1),s=i;s=0))break t;h.o1b_1=0|-(e-_|0),l=l+1|0}}}(t,i,r),n>0){var e=t.y15_1,s=Sv(r,5),a=Sv(n,5),u=Sv(i,5);r=0||Ny("Unexpected anchor value, expected a positive anchor"),fk(t.y15_1,o,0|-(1+(_-v|0)|0)),(o=o+1|0)===c&&(o=o+t.e16_1|0)}else for(var w=Eb(t,s),d=Eb(t,h);w0){var n=t.q16_1;kb(t,n);var i=t.d16_1,e=t.e16_1,s=t.y15_1.length/5|0,a=s-e|0;if(e=i&&(t.r16_1=d+r|0),t.d16_1=i+r|0,t.e16_1=e-r|0;var p=Tb(0,a>0?Nb(t,n+r|0):0,t.j16_1=i&&(t.j16_1=b+r|0)}}function jb(t,r,n){if(r>0){xb(t,t.f16_1,n);var i=t.h16_1,e=t.i16_1;if(e=i&&(t.g16_1=m+r|0),t.h16_1=i+r|0,t.i16_1=e-r|0}}function zb(t,r,n){var i;if(n>0){var e=!1,s=t.a16_1;kb(t,r),s.x()||(e=function(t,r,n,i){var e=t.e16_1,s=r+n|0,a=$b(t)-e|0,u=ck(t.a16_1,r+n|0,a),l=u>=t.a16_1.p()?u-1|0:u,h=0,_=l+1|0;t:for(;l>=0;){var o=t.a16_1.s(l),f=t.v1a(o);if(!(f>=r))break t;fr){var l=u-n|0;t.j16_1=Math.max(r,l)}t.r16_1>=t.d16_1&&(t.r16_1=t.r16_1-n|0);var h=t.s16_1;(function(t,r){return r>=0&&Zb(t.y15_1,Eb(t,r))})(t,h)&&pb(t,h),i=e}else i=!1;return i}function Sb(t,r){var n,i=t.b16_1;if(null==i)n=null;else{var e=t.r1p(r);n=null==e?null:i.b2(e)}return n}function Cb(t,r,n,i){if(n>0){var e=t.i16_1;xb(t,r+n|0,i),t.h16_1=r,t.i16_1=e+n|0,Ne(t.z15_1,null,r,r+n|0);var s=t.g16_1;s>=r&&(t.g16_1=s-n|0)}}function Ab(t,r,n){var i=Eb(t,r);i=$b(r)?r.z15_1.length-r.i16_1|0:Hb(0,Xb(t,n),r.i16_1,r.z15_1.length)}function Pb(t,r,n){return n>=$b(r)?r.z15_1.length-r.i16_1|0:Hb(0,tk(t,n),r.i16_1,r.z15_1.length)}function Ob(t,r,n,i){fk(t,n,Tb(0,i,r.h16_1,r.i16_1,r.z15_1.length))}function Db(t,r,n){return Lb(t,r,n)}function Rb(t,r,n){return Lb(t,r,n)+vk(function(t,r){return t[Sv(r,5)+1|0]}(t,n)>>29)|0}function Tb(t,r,n,i,e){return r>n?0|-(1+((e-i|0)-r|0)|0):r}function Hb(t,r,n,i){return r<0?1+((i-n|0)+r|0)|0:r}function Ub(t,r,n){return r-2?r:(t.z1o()+r|0)- -2|0}function Bb(t){var r,n=t.d1p_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 Fw&&!s.e1p_1){i=s;break t}e=e-1|0}i=null}r=i}var a=r instanceof Fw?r:null,u=null==a?null:Bb(a);return null==u?t:u}function Kb(t,r){var n=t.d1p_1,i=null==n?Lt.b1():n;t.d1p_1=i,i.h(r)}function Gb(t,r){var n,i=t.d1p_1;if(null==i)n=null;else{var e;t:{var s=0,a=i.p()-1|0;if(s<=a)do{var u=s;s=s+1|0;var l=i.s(u);if(!!pi(l,r)||l instanceof Fw&&Gb(l,r)){e=!0;break t}}while(s<=a);e=!1}n=e}return!0===n}function Vb(t,r,n){var i;return i=rk(t,n)?r.g15_1[function(t,r){var n=Sv(r,5);return n>=t.length?t.length:t[n+4|0]+vk(t[n+1|0]>>29)|0}(t,n)]:my().u17_1,i}function Wb(t,r,n){return nk(t,n)?r.g15_1[lk(t,n)]:null}function Jb(t,r,n){var i=wk(t,r,n);return i>=0?t.s(i):null}function Yb(t,r){return t[Sv(r,5)+3|0]}function Zb(t,r){return!!(67108864&t[Sv(r,5)+1|0])}function Qb(t,r){return t[Sv(r,5)+2|0]}function Xb(t,r){return t[Sv(r,5)+4|0]}function tk(t,r){var n=Sv(r,5);return t[n+4|0]+vk(t[n+1|0]>>28)|0}function rk(t,r){return!!(268435456&t[Sv(r,5)+1|0])}function nk(t,r){return!!(536870912&t[Sv(r,5)+1|0])}function ik(t,r){return!!(1073741824&t[Sv(r,5)+1|0])}function ek(t,r){return 67108863&t[Sv(r,5)+1|0]}function sk(t,r){return!!(201326592&t[Sv(r,5)+1|0])}function ak(t,r){return t[Sv(r,5)]}function uk(t,r){return!!(134217728&t[Sv(r,5)+1|0])}function lk(t,r){var n=Sv(r,5);return t[n+4|0]+vk(t[n+1|0]>>30)|0}function hk(t,r,n){ky(n>=0),t[Sv(r,5)+3|0]=n}function _k(t,r,n){ky(n>=0&&n<67108863),t[Sv(r,5)+1|0]=-67108864&t[Sv(r,5)+1|0]|n}function ok(t,r,n){t[Sv(r,5)+2|0]=n}function fk(t,r,n){t[Sv(r,5)+4|0]=n}function ck(t,r,n){var i=wk(t,r,n);return i>=0?i:0|-(i+1|0)}function vk(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 wk(t,r,n){return function(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).o1b_1,u=fi(a<0?n+a|0:a,r);if(u<0)i=s+1|0;else{if(!(u>0))return s;e=s-1|0}}return 0|-(i+1|0)}(t,r,n)}function dk(t,r,n,i,e){var s=r,a=n;Ry(a,-1439883919,"C(collectAsState)49@1909L30:SnapshotFlow.kt#9igjgp"),1&e&&(s=Xa()),qy()&&jy(-1439883919,i,-1,"androidx.compose.runtime.collectAsState (SnapshotFlow.kt:49)");var u=function(t,r,n,i,e,s){var a={_v:n},u=i;Ry(u,-606625098,"C(collectAsState)P(1)65@2578L149,65@2541L186:SnapshotFlow.kt#9igjgp"),qy()&&jy(-606625098,e,-1,"androidx.compose.runtime.collectAsState (SnapshotFlow.kt:65)");var l=a._v;Ry(u,-498556383,"CC(remember):SnapshotFlow.kt#9igjgp");var h,_,o,f=!!(u.x1d(a._v)|u.x1d(t)),c=u.j1f();if(f||c===my().u17_1){var v=(_=new ed(a,t),(o=function(t,r){return _.a1s(t,r)}).$arity=1,o);u.k1f(v),h=v}else h=c;var w=null==h||null!=h?h:$i();Ty(u);var d=function(t,r,n,i,e,s){var a=e;Ry(a,-1703169085,"C(produceState)147@5571L41,148@5644L74,148@5617L101:ProduceState.kt#9igjgp"),qy()&&jy(-1703169085,s,-1,"androidx.compose.runtime.produceState (ProduceState.kt:146)"),Ry(a,2143085361,"CC(remember):ProduceState.kt#9igjgp");var u,l=a.j1f();if(l===my().u17_1){var h=kk(t);a.k1f(h),u=h}else u=l;var _=null==u||null!=u?u:$i();Ty(a);var o=_;Ry(a,2143087730,"CC(remember):ProduceState.kt#9igjgp");var f,c,v,w=a.x1d(i),d=a.j1f();if(w||d===my().u17_1){var p=(c=new Cw(i,o),(v=function(t,r){return c.c1m(t,r)}).$arity=1,v);a.k1f(p),f=p}else f=d;var m=null==f||null!=f?f:$i();return Ty(a),function(t,r,n,i,e){gg();var s=i;Ry(s,590241125,"C(LaunchedEffect)P(1,2)361@15275L64:Effects.kt#9igjgp"),qy()&&jy(590241125,e,-1,"androidx.compose.runtime.LaunchedEffect (Effects.kt:359)");var a=s.y1c();Ry(s,2064994906,"CC(remember):Effects.kt#9igjgp");var u,l=!!(s.k14(t)|s.k14(r)),h=s.j1f();if(l||h===my().u17_1){var _=new gw(a,n);s.k1f(_),u=_}else u=h;null==u||null!=u||$i(),Ty(s),qy()&&zy(),Ty(s)}(r,n,m,a,14&s>>3|112&s>>3),qy()&&zy(),Ty(a),o}(r,t,l,w,u,8&e>>3|14&e>>3|112&e<<3|896&e);return qy()&&zy(),Ty(u),d}(t,t.y1(),s,a,14&i|896&i<<3);return qy()&&zy(),Ty(a),u}function*pk(t,r,i){var e,s,a,u=(e=t.t1r_1,s=new td(e),a=function(t,r){return s.v1r(t,r)},a.$arity=1,a),l=t.s1r_1.vw(new rd(u),i);return l===iu()&&(l=yield l),n}function*mk(t,r,i){if(pi(t.w1r_1._v,Xa())){var e=(u=new nd(r),l=function(t,r){return u.v1r(t,r)},l.$arity=1,l),s=t.x1r_1.vw(new rd(e),i);s===iu()&&(s=yield s)}else{var a=Yh(t.w1r_1._v,function(t,r){var n=new id(t,r),i=function(t,r){return n.c1m(t,r)};return i.$arity=1,i}(t.x1r_1,r),i);a===iu()&&(a=yield a)}var u,l;return n}function yk(){var t=_c;return ge(t,fd)?t:$i()}function gk(){var t=oc;return ge(t,fd)?t:$i()}function bk(){var t=fc;return ge(t,fd)?t:$i()}function kk(t,r){return function(t,r){return new md(t,r)}(t,r=r===k?yk():r)}function xk(t){var r=t.f1t_1;return we("current",1,Ir,(function(t){return xk(t)}),null),r.y1()}function qk(t){return t.q14_1.i13_1}function jk(t){Ek(t)}function zk(t){!function(t,r,n){Ak(t,r=r!==k&&r)}(t),t.q1c()}function Sk(t,r){Ak(t,r)}function Ck(t,r,n){return Sk(t,r=r!==k&&r)}function Ak(t,r){var n=r?qk(t).m15_1:qk(t).k15_1,i=n-t.v14_1|0;i>=0||Ny("Tried to seek backward"),i>0&&(t.r14_1.p1u(i),t.v14_1=n)}function $k(t){t.b15_1>0&&(t.y14_1>=0?(function(t,r,n){jk(t),t.r14_1.n1u(r,n)}(t,t.y14_1,t.b15_1),t.y14_1=-1):(function(t,r,n,i){jk(t),t.r14_1.o1u(r,n,i)}(t,t.a15_1,t.z14_1,t.b15_1),t.z14_1=-1,t.a15_1=-1),t.b15_1=0)}function Ek(t){t.w14_1>0&&(t.r14_1.q1u(t.w14_1),t.w14_1=0),t.x14_1.ll()&&(t.r14_1.r1u(t.x14_1.z5()),t.x14_1.s1())}function Ik(){return cc===k&&new Id,cc}function Mk(){return vc===k&&new Md,vc}function Nk(){return wc===k&&new Nd,wc}function Lk(){return dc===k&&new Ld,dc}function Pk(){return pc===k&&new Pd,pc}function Ok(){return mc===k&&new Od,mc}function Dk(){return yc===k&&new Dd,yc}function Rk(){return gc===k&&new Rd,gc}function Tk(){return bc===k&&new Td,bc}function Hk(){return kc===k&&new Hd,kc}function Uk(){return qc===k&&new Fd,qc}function Fk(){return zc===k&&new Kd,zc}function Bk(){return Ac===k&&new Wd,Ac}function Kk(){return Ec===k&&new Yd,Ec}function Gk(){return Ic===k&&new Zd,Ic}function Vk(){return Mc===k&&new Qd,Mc}function Wk(){return Nc===k&&new Xd,Nc}function Jk(){return Lc===k&&new tp,Lc}function Yk(){return Pc===k&&new rp,Pc}function Zk(){return Oc===k&&new np,Oc}function Qk(){return Rc===k&&new ep,Rc}function Xk(){return Tc===k&&new sp,Tc}function tx(){return Hc===k&&new ap,Hc}function rx(){return Fc===k&&new lp,Fc}function nx(){return Bc===k&&new hp,Bc}function ix(t,r,n){for(;!t.u1p(n);)t.l17(),t.y19(t.s16_1)&&r.j10(),t.q19()}function ex(t){return hx(t)}function sx(t,r,i){var e=t,s=1<>>(32-r|0)|0}function hx(t){return Ai(t.g1t_1[t.h1t_1-1|0])}function _x(t){return new dp(t)}function*ox(t,r,i){var e=t.c1y_1.e1i_1,s=e.gl_1;t:{var a=e.fl_1,u=a.length-2|0,l=0;if(l<=u)do{var h=l;l=l+1|0;var _=a[h],o=_;if(!o.a3(o.w2().x2(7)).a3(new bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var f=8-(~(h-u)>>>31|0)|0,c=0;if(c30){for(t.b20_1[s].p20(i.v1y_1,i.v1y_1.length,0);!pi(t.b20_1[s].l20(),e);)t.b20_1[s].q20();return t.c20_1=s,n}var u=1<0&&t.b20_1[i-1|0].e21(),t.b20_1[i].b21(Nx().j1y_1.v1y_1,0)}while(0<=r);t.d20_1=!1}function dx(t){if(!t.m())throw pr.p4()}function px(t){return new Hp(t,1)}function mx(t){return new Hp(t,0)}function yx(t,r){return!!(t.t1y_1&r)}function gx(t,r){var n=t.v1y_1[r];return null==n||null!=n?n:$i()}function bx(t,r){var n=t.v1y_1[r+1|0];return null==n||null!=n?n:$i()}function kx(t,r,n,i){var e=i.v1y_1;if(2===e.length&&0===i.t1y_1){if(1===t.v1y_1.length)return i.s1y_1=t.t1y_1,i;var s=t.r20(n),a=function(t,r,n,i,e){var s=Pe(t,t.length+1|0);return Je(s,s,r+2|0,r+1|0,t.length),Je(s,s,n+2|0,n,r),s[n]=i,s[n+1|0]=e,s}(t.v1y_1,r,s,e[0],e[1]);return Fp.x21(t.s1y_1^n,t.t1y_1^n,a)}var u=Pe(t.v1y_1,t.v1y_1.length);return u[r]=i,Fp.x21(t.s1y_1,t.t1y_1,u)}function xx(t,r,n,i){if(1===t.v1y_1.length&&2===n.v1y_1.length&&0===n.t1y_1)return n.s1y_1=t.t1y_1,n;if(t.u1y_1===i)return t.v1y_1[r]=n,t;var e=t.v1y_1.slice();return e[r]=n,Fp.y21(t.s1y_1,t.t1y_1,e,i)}function qx(t,r,n,i,e,s,a,u){var l=gx(t,r),h=null==l?null:mi(l),_=jx(t,null==h?0:h,l,bx(t,r),i,e,s,a+5|0,u),o=t.u20(n)+1|0;return function(t,r,n,i){var e=n-2|0,s=1+(t.length-2|0)|0,a=Qn(Array(s),null);return Je(t,a,0,0,r),Je(t,a,r,r+2|0,n),a[e]=i,Je(t,a,e+1|0,n,t.length),a}(t.v1y_1,r,o,_)}function jx(t,r,n,i,e,s,a,u,l){if(u>30){var h=[n,i,s,a];return Fp.y21(0,0,h,l)}var _=Ox(r,u),o=Ox(e,u);if(_!==o){var f=_0&&i<=e||s<0&&e<=i)do{var a=i;if(i=i+s|0,pi(r,t.v1y_1[a]))return!0}while(a!==e);return!1}function $x(t,r,n,i,e,s){var a;if(yx(t,n)){var u,l=t.v20(t.u20(n));if(yx(r,n)){var h=r.v20(r.u20(n));u=l.v1z(h,i+5|0,e,s)}else if(r.t20(n)){var _=r.r20(n),o=gx(r,_),f=bx(r,_),c=s.p(),v=null==o?null:mi(o),w=null==v?0:v,d=l.u1z(w,o,f,i+5|0,s);s.p()===c&&(e.w1z_1=e.w1z_1+1|0),u=d}else u=l;a=u}else if(yx(r,n)){var p,m=r.v20(r.u20(n));if(t.t20(n)){var y,g=t.r20(n),b=gx(t,g),k=null==b?null:mi(b),x=null==k?0:k;if(m.w1y(x,b,i+5|0))e.w1z_1=e.w1z_1+1|0,y=m;else{var q=bx(t,g),j=null==b?null:mi(b),z=null==j?0:j;y=m.u1z(z,b,q,i+5|0,s)}p=y}else p=m;a=p}else{var S=t.r20(n),C=gx(t,S),A=bx(t,S),$=r.r20(n),E=gx(r,$),I=bx(r,$),M=null==C?null:mi(C),N=null==M?0:M,L=null==E?null:mi(E);a=jx(t,N,C,A,null==L?0:L,E,I,i+5|0,s.h1z_1)}return a}function Ex(t){if(0===t.t1y_1)return t.v1y_1.length/2|0;var r=Te(t.s1y_1),n=r,i=Sv(r,2),e=t.v1y_1.length;if(i>r&31}function Dx(t,r){var n=t.length-2|0,i=Qn(Array(n),null);return Je(t,i,0,0,r),Je(t,i,r,r+2|0,t.length),i}function Rx(){return Vc===k&&new Bp,Vc}function Tx(t,r,n){return Gx(),new km(t,r,n)}function Hx(t,r){return Gx(),null==t||!!(t instanceof $w&&r instanceof $w)&&(!t.w1f()||pi(t,r)||pi(t.u11_1,r.u11_1))}function Ux(t){return Gx(),Bx(2,t)}function Fx(t){return Gx(),Bx(1,t)}function Bx(t,r){return Gx(),t<0?-2:-1;for(var i=0;i<=n;){var e=(i+n|0)>>>1|0,s=t.a1t_1[e].r2(r);if(s.k1(new bt(0,0))<0)i=e+1|0;else{if(!(s.k1(new bt(0,0))>0))return e;n=e-1|0}}return 0|-(i+1|0)}function Yx(t,r,n){null!=n?t.k(n(r)):null==r||ke(r)?t.k(r):r instanceof ht?t.q9(r.hh_1):t.k(Yn(r))}function Zx(){return Pq(),Xc}function Qx(){return Pq(),tv}function Xx(){return Pq(),rv}function tq(t){Pq(),nv=t}function rq(){return Pq(),nv}function nq(t){Pq(),iv=t}function iq(){return Pq(),iv}function eq(){return Pq(),ev}function sq(){return Pq(),sv}function aq(t){Pq(),av=t}function uq(){return Pq(),av}function lq(t){Pq(),uv=t}function hq(){return Pq(),uv}function _q(){return Pq(),lv}function oq(){return Pq(),hv}function fq(){return Pq(),_v}function cq(){return fv===k&&new um,fv}function vq(){return cv===k&&new _m,cv}function wq(t){Pq(),eq().u25(t)}function dq(){Pq();var t=Qx().qs();return null==t?_q().qs():t}function pq(t){Pq();var r,n=oq(),i=n instanceof fm?n:$i();Xx(),null!=(r=(i=_q().qs()).p23())&&fq().ui(1);var e=xq(i,t),s=r;if(null==s);else try{var a=uq(),u=0,l=a.p()-1|0;if(u<=l)do{var h=u;u=u+1|0,a.s(h)(_x(s),i)}while(u<=l)}finally{fq().ui(-1)}Xx(),qq();var _=r;if(null==_);else{var o=_.gl_1;t:{var f=_.fl_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 bt(-2139062144,-2139062144)).equals(new bt(-2139062144,-2139062144))){var m=8-(~(w-c)>>>31|0)|0,y=0;if(y>>31|0)|0,w=0;if(w=e){_=f;break t}c.j1s_11}function Aq(t,r,n){return Pq(),function(t,r,n){return Pq(),!(0===r)&&r<=t&&!n.s(r)}(r,t.j1s_1,n)}function $q(t,r){Pq();var n=ov.f10(),i=n.x23();null==i||i(r);var e,s=zq(t,n.m1b(),n.q23());if(null==s){Xx();var a,u=ov.f10(),l=r.o1s(),h=zq(l instanceof ad?l:$i(),u.m1b(),u.q23());null==h?Sq():a=h,e=a}else e=s;return e}function Eq(t){Pq();var r,n=ov.f10(),i=zq(t,n.m1b(),n.q23());if(null==i){Xx();var e=ov.f10();r=zq(t,e.m1b(),e.q23())}else r=i;var s,a=r;return null==a?Sq():s=a,s}function Iq(t,r){Pq(),t.t23(t.u23()+1|0);var n=t.y23();null==n||n(r)}function Mq(t,r,n,i){Pq(),n.v23()&&n.z23(r);var e=n.m1b();if(i.j1s_1===e)return i;Xx();var s=function(t,r){Pq();var n,i=function(t){Pq();for(var r=t.o1s(),n=null,i=eq().k26(iq())-1|0,e=Tq().m24_1;null!=r;){if(0===r.j1s_1)return r;if(Aq(r,i,e)){if(null!=n)return r.j1s_10;){var s=(e+1>>1)-1|0;if(!(n[s]>i))break t;Dq(t,s,e),e=s}}function Dq(t,r,n){var i=t.q25_1,e=t.r25_1,s=t.s25_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*Rq(t,r,i){var e=t.q26_1.g24_1;if(null!=e)for(var s=0,a=e.length;s>>1|0,s=t[e];if(r>s)n=e+1|0;else{if(!(r0)throw vr.f1("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 bt(1,-1073741824),new bt(-1,1073741823)),r=pu(n.x2(1).q2(fe(1)))),r}(Gs(ja(t,r,za())))}(t,za()),e=r(function(t){var r,n=mu(t);if(yu(t))r=n;else{var i=new bt(-1,2147483647).t2(fe(1e6));if(n.k1(i)>0)r=new bt(-1,2147483647);else{var e=new bt(0,-2147483648).t2(fe(1e6));r=n.k1(e)<0?new bt(0,-2147483648):gu(n)}}return r}(i)),a=e;return s.ta(a),n}));var a=Ci(e.lb());return a===iu()&&(a=yield a),a}function Yq(){gv||(gv=!0,yv=1,new xm)}function Zq(t,r){r(t,1)}ae(Cv,"Applier"),qi(Ev).g10=Av,qi(Ev).h10=$v,ee(Ev,"OffsetApplier",k,k,[Cv]),qi(Iv).g10=Av,qi(Iv).h10=$v,ee(Iv,"AbstractApplier",k,k,[Cv]),ee(Mv,"FrameAwaiter"),ae(Nv,"MonotonicFrameClock",k,k,[fn],[1]),qi(Pv).x1=Lv,qi(Pv).eb=cn,qi(Pv).sg=vn,qi(Pv).rg=wn,qi(Pv).tg=on,ee(Pv,"BroadcastFrameClock",Pv,k,[Nv],[1]),ae(Ov,"ComposeNodeLifecycleCallback"),ee(Dv,"Invalidation"),ae(Rv,"RememberObserver"),ae(Tv,"ReusableRememberObserver",k,k,[Rv]),ee(Hv,"CompositionContextHolder",k,k,[Tv]),ee(Uv),ae(Fv,"Composer"),ee(Bv,"ComposerImpl",k,k,[Fv]),ee(Kv),le(Gv),ee(Vv,"InvalidationResult"),ee(Wv,"MovableContentStateReference"),ee(Jv,"MovableContentState"),ee(Yv,"MovableContent"),ee(Zv,"ComposeRuntimeError"),ee(Qv,"ProvidedValue"),ee(Xv,"RememberObserverHolder"),ee(tw,"Pending"),le(rw),ee(nw,"GroupInfo"),ee(iw,"MutableScatterMultiMap"),ee(ew,"sam$kotlin_Comparator$0",k,k,[qt,kt]),ee(sw,"RememberEventDispatcher"),ae(aw,"RecomposeScopeOwner"),ee(uw,"CompositionImpl",k,k,[aw]),ee(lw,"CompositionObserverHolder",lw),se(hw,"ComposableSingletons$CompositionKt"),se(_w,"ScopeInvalidated"),ee(ow),ee(fw,"CompositionContext"),ee(cw,"CompositionLocal"),ee(vw,"ProvidableCompositionLocal"),ee(ww,"StaticProvidableCompositionLocal"),ee(dw,"DynamicProvidableCompositionLocal"),ae(pw,"PersistentCompositionLocalMap",k,k,[vt]),ae(mw,"DerivedState"),ee(yw,"DisposableEffectScope",yw),ee(gw,"LaunchedEffectImpl",k,k,[Rv]),ee(bw,"PlatformOptimizedCancellationException"),ee(kw,"LeftCompositionCancellationException",kw.o1l),ee(xw,"JoinedKey"),se(qw,"Key"),ee(jw,"OpaqueKey"),ae(zw,"ProduceStateScope",k,k,[ql],[1]),ee(Sw,"ProduceStateScopeImpl",k,k,[zw],[1]),ue(Cw,k,k,[1]),le(Aw),ee($w,"RecomposeScopeImpl"),ue(Ew,k,k,[1]),ee(Iw,"State"),ee(Mw,"RecomposerInfoImpl"),ee(Nw,"RecomposerErrorState"),le(Lw),ue(Pw,k,k,[2]),ue(Ow,k,k,[1]),ee(Dw,"Recomposer",k,k,k,[0,1,2]),ee(Rw,"SlotTable",Rw),le(Tw),ee(Hw,"SlotWriter"),ee(Uw,"Anchor"),ee(Fw,"GroupSourceInformation"),ee(Bw,"SlotReader"),ee(Kw,"GroupIterator"),ee(Gw,"SlotTableGroup"),ee(Vw,"PrioritySet",Vw),ee(Ww,"KeyInfo"),ee(Jw,"SourceInformationGroupIterator"),ee(Yw,"SourceInformationGroupPath"),ee(Zw,"AnchoredGroupPath"),ee(Qw,"SourceInformationSlotTableGroup"),ee(Xw,"RelativeGroupPath"),ue(td,k,k,[1]),ee(rd,"sam$kotlinx_coroutines_flow_FlowCollector$0",k,k,[gh,kt],[1]),ue(nd,k,k,[1]),ue(id,k,k,[1]),ue(ed,k,k,[1]),ae(sd,"MutableIntState"),ee(ad,"StateRecord"),ee(ud,"IntStateStateRecord"),ae(ld,"StateObject"),qi(hd).q1s=function(t,r,n){return null},ee(hd,"StateObjectImpl",k,k,[ld]),ae(_d,"SnapshotMutableState"),qi(od).b1s=function(t){this.c1s(t)},qi(od).y1=function(){return this.d1s()},ee(od,"SnapshotMutableIntStateImpl",k,k,[hd,sd,_d]),ae(fd,"SnapshotMutationPolicy"),qi(vd).r1s=cd,se(vd,"StructuralEqualityPolicy",k,k,[fd]),qi(wd).r1s=cd,se(wd,"ReferentialEqualityPolicy",k,k,[fd]),qi(dd).r1s=cd,se(dd,"NeverEqualPolicy",k,k,[fd]),ee(pd,"StateStateRecord"),ee(md,"SnapshotMutableStateImpl",k,k,[hd,_d]),ee(yd,"SnapshotThreadLocal",yd),ee(gd,"IntStack",gd),ee(bd,"Stack",bd),ee(kd,"LazyValueHolder"),ee(xd,"DynamicValueHolder"),ee(qd,"StaticValueHolder"),ee(jd,"ComputedValueHolder"),ee(zd,"OperationsDebugStringFormattable"),ee(Sd,"ChangeList",Sd),le(Cd),ee(Ad,"ComposerChangeListWriter"),ee($d,"FixupList",$d),ee(Ed,"Operation"),se(Id,"Ups"),se(Md,"Downs"),se(Nd,"AdvanceSlotsBy"),se(Ld,"SideEffect"),se(Pd,"Remember"),se(Od,"AppendValue"),se(Dd,"TrimParentValues"),se(Rd,"UpdateValue"),se(Td,"UpdateAnchoredValue"),se(Hd,"UpdateAuxData"),se(Ud,"EnsureRootGroupStarted"),se(Fd,"EnsureGroupStarted"),se(Bd,"RemoveCurrentGroup"),se(Kd,"MoveCurrentGroup"),se(Gd,"EndCurrentGroup"),se(Vd,"SkipToEndOfCurrentGroup"),se(Wd,"EndCompositionScope"),se(Jd,"UseCurrentNode"),se(Yd,"UpdateNode"),se(Zd,"RemoveNode"),se(Qd,"MoveNode"),se(Xd,"InsertSlots"),se(tp,"InsertSlotsWithFixups"),se(rp,"InsertNodeFixup"),se(np,"PostInsertNodeFixup"),se(ip,"ResetSlots"),se(ep,"DetermineMovableContentNodeIndex"),se(sp,"CopyNodesToNewAnchorLocation"),se(ap,"CopySlotTableToAnchorLocation"),se(up,"EndMovableContentPlacement"),se(lp,"ReleaseMovableGroupAtCurrent"),se(hp,"ApplyChangeList"),ee(_p,k,k,k,[aw]),ee(op,"OpIterator"),le(fp),ee(cp,"Operations",cp),ee(vp,"MutableVector"),ue(wp,k,k,[1]),ee(dp,"ScatterSetWrapper",k,k,[pt]),ee(pp,"ScopeMap",pp),le(mp),ee(yp,"PersistentHashMap",k,k,[Et,vt]),ee(gp,"PersistentHashMapBuilder",k,k,[dt,It]),ee(bp,"PersistentHashMapBuilderEntriesIterator"),ee(kp,"PersistentHashMapBaseIterator"),ee(xp,"PersistentHashMapBuilderBaseIterator"),ee(qp,"PersistentHashMapBuilderKeysIterator"),ee(jp,"PersistentHashMapBuilderValuesIterator"),ee(zp,"TrieNodeBaseIterator"),ee(Sp,"TrieNodeMutableEntriesIterator"),ee(Cp,"MapEntry",k,k,[ct]),ee(Ap,"MutableMapEntry",k,k,[Cp,wt]),ee($p,"AbstractMapBuilderEntries"),ee(Ep,"PersistentHashMapBuilderEntries"),ee(Ip,"PersistentHashMapBuilderKeys",k,k,[_t,pt,Mt]),ee(Mp,"PersistentHashMapBuilderValues",k,k,[_t,zt]),ee(Np,"PersistentHashMapKeysIterator"),ee(Lp,"PersistentHashMapEntriesIterator"),ee(Pp,"TrieNodeKeysIterator",Pp),ee(Op,"TrieNodeValuesIterator",Op),ee(Dp,"TrieNodeEntriesIterator",Dp),ee(Rp,"PersistentHashMapKeys",k,k,[_t,pt,Fr]),ee(Tp,"PersistentHashMapEntries",k,k,[_t,pt,Fr]),ee(Hp,"ModificationResult"),le(Up),ee(Fp,"TrieNode"),le(Bp),ee(Kp,"PersistentOrderedSet",k,k,[Fr,_t,pt]),ee(Gp,"Links",Gp.g22),ee(Vp,"PersistentOrderedSetIterator"),se(Wp,"EndOfChain"),ee(Jp,"MutabilityOwnership",Jp),ee(Yp,"DeltaCounter",Yp),ee(Zp,"IntRef",Zp),ee(Qp,"Builder",k,k,[gp,dt]),le(Xp),ee(tm,"PersistentCompositionLocalHashMap",k,k,[yp,pw]),ee(rm,"ThreadMap"),ae(nm,"ObserverHandle"),ee(im,"sam$androidx_compose_runtime_snapshots_ObserverHandle$0",k,k,[nm,kt]),ee(em,"sam$androidx_compose_runtime_snapshots_ObserverHandle$0",k,k,[nm,kt]),le(sm),ee(am,"Snapshot"),le(um),ee(lm,"MutableSnapshot"),ee(hm,"SnapshotApplyResult"),se(_m,"Success"),ee(om,"Failure"),ee(fm,"GlobalSnapshot"),ee(cm,"NestedMutableSnapshot"),ee(vm,"SnapshotDoubleIndexHeap",vm),le(wm),ue(dm,k,k,[1]),ee(pm,"SnapshotIdSet"),ee(mm,"SnapshotWeakSet",mm),le(ym),ee(gm,"AtomicReference"),ee(bm,"AtomicInt"),ee(km,"ComposableLambdaImpl"),qi(xm).x1=Lv,qi(xm).eb=cn,qi(xm).sg=vn,qi(xm).rg=wn,qi(xm).tg=on,ee(xm,"MonotonicClockImpl",xm,k,[Nv],[1]),se(qm,"Trace"),ee(jm,"IntMap",jm),ee(zm,"WeakReference"),Kf=new _w,Qf=new qw,Xf=new Aw,new Tw,_c=new vd,oc=new wd,fc=new dd,new Cd,new fp,Wc=new Wp,ov=new sm,new ym,bv=new qm;class Qq{constructor(t,r,n,i,e){this.s2a_1=t,this.t2a_1=r,this.u2a_1=n,this.v2a_1=i,this.w2a_1=e,this.x2a_1=null,this.y2a_1=function(){var t,r=this.s2a_1,n=this.v2a_1;if(null==n)throw vr.f1(yi("Value should be initialized"));return t=n,r.c2b(this,t)}.bind(this)}a2b(t,r,n,i,e){var s=!1;if(this.t2a_1!==r&&(this.t2a_1=r,s=!0),this.u2a_1!==n&&(this.u2a_1=n,s=!0),this.s2a_1=t,this.v2a_1=i,this.w2a_1=e,null!=this.x2a_1&&s){var a=this.x2a_1;null==a||a.d2b(),this.x2a_1=null,ej(this)}}u1i(){ej(this)}t1i(){var t=this.x2a_1;null==t||t.d2b()}v1i(){var t=this.x2a_1;null==t||t.d2b()}z2a(t){return Oe(t,this.w2a_1)?this.v2a_1:null}}class Xq{constructor(t,r,n){this.f2b_1=t,this.g2b_1=r,this.h2b_1=n}d2b(){var t=this.f2b_1.k2b_1.f2(this.g2b_1);if(null==t||t.q1(this.h2b_1),null!=t&&!t.x()){var r=this.f2b_1.k2b_1,n=this.g2b_1;r.e2(n,t)}}}class tj{constructor(t,r){this.i2b_1=r;var n,i=null==t?null:Ga(t);n=null==i?tr.da():i,this.j2b_1=n,this.k2b_1=tr.da()}e2b(t){return this.i2b_1(t)}q2a(t){var r,n=this.j2b_1.f2(t);if(null==n||n.x())r=null;else{if(n.p()>1){var i=this.j2b_1,e=n.p1(1,n.p());i.e2(t,e)}r=n.s(0)}return r}b2b(t,r){if(function(t){uj();var r=!0,n=0,i=_i(t);if(n0}n(){var t=this.a27_1.w26(),r=this.z26_1;return this.z26_1=r-1|0,this.a27_1.y26(t-r|0)}}class bj{constructor(t){this.b27_1=t}l(){return new gj(this.b27_1)}}class kj{constructor(t){this.d27_1=t,this.c27_1=t.w26()}m(){return this.c27_1>0}n(){var t=this.d27_1.w26(),r=this.c27_1;return this.c27_1=r-1|0,this.d27_1.x26(t-r|0)}}class xj{constructor(t){this.e27_1=t}l(){return new kj(this.e27_1)}}class qj{constructor(t){this.f27_1=t,this.g27_1=!1,this.h27_1=Ra(),this.i27_1=Lt.b1(),this.j27_1=Kt.g8(),this.k27_1=Lt.b1(),this.l27_1=Lt.b1(),this.m27_1=Lt.b1()}}class jj{}class zj{constructor(t,r,n,i,e){var s;this.n27_1=t,this.o27_1=r,this.p27_1=n,this.q27_1=e.h27_1,this.r27_1=Fn(s=e.i27_1,Kt.z(Ua(s,12)));var a=e.i27_1;this.s27_1=Ze(a),this.t27_1=Fj(e.k27_1);var u=e.l27_1;this.u27_1=Ze(u),this.v27_1=function(t){for(var r=ti(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.m27_1);for(var l=function(t){return new Qr((function(){return Xn(t)}))}(this.s27_1),h=Lt.q(Ua(l,10)),_=l.l();_.m();){var o=_.n(),f=zu(o.pf_1,o.of_1);h.h(f)}this.w27_1=Ba(h),this.x27_1=Fj(i),this.y27_1=Bs(function(){return Kj(this,this.x27_1)}.bind(this))}u26(){return this.n27_1}v26(){return this.o27_1}w26(){return this.p27_1}z27(){return this.r27_1}x26(t){return Wj(this.s27_1,t)}y26(t){return Wj(this.t27_1,t)}equals(t){var r;t:if(this!==t)if(t instanceof zj)if(this.u26()===t.u26())if(Oe(this.x27_1,t.x27_1))if(this.w26()===t.w26()){var n=0,i=this.w26();if(n"}}class Mj{constructor(t,r,n){r=r===k?null:r,this.d28_1=t,this.e28_1=r,this.f28_1=n,this.g28_1=-1;for(var i=0,e=this.f28_1,s=Qn(Array(e),null);i=0)){var r="value must be non-negative: "+t;throw vr.f1(yi(r))}return t}function Lz(t){return t+".dp"}function Pz(t){return ai(t)}function Oz(){if(Xj)return n;Xj=!0,Yj=new jz("Ltr",0),Zj=new jz("Rtl",1),Qj=new jz("Auto",2)}function Dz(){return Oz(),Yj}function Rz(){return Oz(),Zj}function Tz(){return Oz(),Qj}function Hz(){return tz===k&&new zz,tz}le(kz),le(xz),ee(qz,"Density"),ee(jz,"LayoutDirection"),le(zz),ee(Sz,"Margin",Sz),le(Cz),ee(Az,"Px"),le($z),ee(Ez,"Size"),le(Iz),ee(Mz,"UiConfiguration",Mz),Jj=new kz,new xz,new Cz;class Uz{}class Fz{constructor(t){this.b2a_1=t,this.c2a_1=Lt.b1()}d2a(){return this.c2a_1}e2a(t,r){this.c2a_1.u1(t,r);var n=this.b2a_1.children[t];this.b2a_1.insertBefore(r.y1(),n)}f2a(t,r){return this.e2a(t,r)}n10(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 u=t.v1(r);t.u1(e,u)}else{var l=t.p1(r,r+i|0),h=Un(l);l.s1(),t.r1(e,h)}}(this.c2a_1,t,r,n);for(var i=0,e=Qn(Array(n),null);it?r-n|0:r,_=0,o=0,f=l.length;o (RedwoodComposition.kt:157)");var u=dk(this.u2b_1,null,a,0,1),l=[(uS(),iz).n1k(this.s2b_1),sj().n1k(this.t2b_1),(cS(),az).n1k((s=u,de("uiConfiguration",Nr,!1,(function(){return Ei()})),s.y1()))],h=Kx(270222480,!0,(function(r,i){var e=r;return 2==(3&i)&&e.k1a()?e.l17():(qy()&&jy(270222480,i,-1,"app.cash.redwood.compose.WidgetRedwoodComposition.setContent.. (RedwoodComposition.kt:163)"),t(e,0),qy()&&zy()),n}),a,54),_=a;Ry(_,1157296644,"CC(remember)P(1):Composables.kt#9igjgp");var o,f=_.k14(h),c=_.j1f();if(f||c===my().u17_1){var v=(e=h,function(t,r){return e.v1c(t,r)});_.k1f(v),o=v}else o=c;var w=null==o||null!=o?o:$i();Ty(_),vg(l,w,a,56),qy()&&zy()}return n}.bind(this)),function(t,n){return r.v1c(t,n)}))}}class Qz{constructor(){sz=this,this.c2c_1=new Xz}}class Xz{constructor(){hS()}d2c(t,r,i,e){var s=i;s=s.r1e(1209127542);var a=e;if(6&e||(a|=s.x1d(t)?4:2),48&e||(a|=s.x1d(r)?32:16),18==(19&a)&&s.k1a())s.l17();else{qy()&&jy(1209127542,a,-1,"app.cash.redwood.compose.RedwoodComposeContent.Children (RedwoodComposition.kt:233)"),s.a1d(-1526419145);var u,l=s,h=4==(14&a),_=l.j1f();if(h||_===my().u17_1){var o=function(){return nS.i2c("function"==typeof t?t:$i())};l.k1f(o),u=o}else u=_;var f=null==u||null!=u?u:$i();s.c1d();var c=896&a<<3,v=s;Ry(v,-548224868,"CC(ComposeNode)P(1,2)336@12596L9:Composables.kt#9igjgp"),ge(v.w1c(),Cv)||function(){throw fr.l3(yi("Invalid applier"))}(),v.t17(),v.j1d()?v.l1d(f):v.o1d(),r(v,14&c>>6),v.q1d(),Ty(v),qy()&&zy()}var w=this,d=s.s1e();null==d||d.v1k((function(i,s){return w.d2c(t,r,i,Cg(1|e)),n}))}}class tS extends Iv{constructor(t,r,n){super(nS.j2c(r)),this.n2c_1=t,this.o2c_1=n,this.p2c_1=!1,this.q2c_1=new Set}r2c(){return this.n2c_1}s2c(t){ge(t,Uz)&&this.q2c_1.add(t)}h10(){if(this.p2c_1)throw fr.l3(yi("Check failed."));var t=this.q2c_1;t.forEach(vS),t.clear(),this.o2c_1()}t2c(t,r){if(this.p2c_1)throw fr.l3(yi("Check failed."));if(r instanceof nS){var n=this.f10(),i=n instanceof eS?n:$i();r.y2c(i.v2c_1)}}k10(t,r){return this.t2c(t,null!=r&&ge(r,rS)?r:$i())}z2c(t,r){if(this.p2c_1)throw fr.l3(yi("Check failed."));if(r instanceof eS){var n=r instanceof eS?r:$i(),i=this.f10(),e=i instanceof nS?i:$i();e.a2d(t,n);var s=e.hn();null==s||this.s2c(s)}}l10(t,r){return this.z2c(t,null!=r&&ge(r,rS)?r:$i())}m10(t,r){if(this.p2c_1)throw fr.l3(yi("Check failed."));var n=this.f10(),i=n instanceof nS?n:$i();i.m10(t,r);var e=i.hn();null==e||this.s2c(e)}n10(t,r,n){if(this.p2c_1)throw fr.l3(yi("Check failed."));var i=this.f10(),e=i instanceof nS?i:$i();e.n10(t,r,n);var s=e.hn();null==s||this.s2c(s)}}class rS{}class nS{static b2d(t,r,n){var i=ji(this);return i.e2c_1=t,i.f2c_1=n,i.g2c_1=[],i.h2c_1=r,i}static i2c(t){return this.b2d(t,null,null)}static j2c(t){return this.b2d(null,null,t)}a2d(t,r){var n=this.g2c_1,i=t,e=n.length;if(in?n:n-i|0,s=t.splice(r,i),a=0;if(a=0)){var r="value must be non-negative: "+t;throw vr.f1(yi(r))}return t}(n)))}handleEvent(t){return this.h2f(t)}}class HS{constructor(t,r,n){this.x2e_1=t,this.y2e_1=n,this.x2e_1.style.display="flex",this.x2e_1.style.flexDirection=r,this.z2e_1=new US(this.x2e_1),this.a2f_1=null,this.b2f_1=Jj}e2e(t){this.x2e_1.style.width=GS(t)}f2e(t){this.x2e_1.style.height=GS(t)}g2e(t){var r=this.x2e_1.style;VS(r,KS(t.n29_1)),WS(r,KS(t.o29_1)),r.marginTop=KS(t.p29_1),r.marginBottom=KS(t.q29_1)}h2e(t){this.y2e_1(this.x2e_1.style,function(t){var r;if(t===LS().j2d_1)r="hidden";else{if(t!==LS().k2d_1)throw gr.sc();r="scroll"}return r}(t))}k2e(t){var r=this.a2f_1;if(null==r||(this.x2e_1.removeEventListener("scroll",r),this.a2f_1=null),null!=t){var n=new TS(this,t);this.a2f_1=n;var i=n;this.x2e_1.addEventListener("scroll",i)}}d2f(t){this.x2e_1.style.alignItems=function(t){var r;if(t===PS().m2d_1)r="start";else if(t===PS().n2d_1)r="center";else if(t===PS().o2d_1)r="end";else{if(t!==PS().p2d_1)throw gr.sc();r="stretch"}return r}(t)}e2f(t){this.x2e_1.style.justifyContent=function(t){var r;if(t===OS().r2d_1)r="start";else if(t===OS().s2d_1)r="center";else if(t===OS().t2d_1)r="end";else if(t===OS().u2d_1)r="space-between";else if(t===OS().v2d_1)r="space-around";else{if(t!==OS().w2d_1)throw gr.sc();r="space-evenly"}return r}(t)}}class US{constructor(t,r){r=r===k?new Fz(t):r,this.i2f_1=t,this.j2f_1=r}g2a(t,r){BS(r,0,!0),this.j2f_1.g2a(t,r)}h2a(t,r){return this.g2a(t,r)}e2a(t,r){BS(r,0,!1),this.j2f_1.e2a(t,r)}f2a(t,r){return this.e2a(t,r)}n10(t,r,n){this.j2f_1.n10(t,r,n)}m10(t,r){this.j2f_1.m10(t,r)}d2a(){return this.j2f_1.d2a()}}function FS(t,r){return t.overflowY=r,n}function BS(t,r,i){if(i){var e=t.y1().style;e.removeProperty("margin-inline-start"),e.removeProperty("margin-inline-end"),e.removeProperty("margin-top"),e.removeProperty("margin-bottom"),e.removeProperty("flex-grow"),e.removeProperty("flex-shrink"),e.removeProperty("flex"),e.removeProperty("width"),e.removeProperty("height")}t.c2f().j29((function(r){if(ge(r,kS)){var i=t.y1().style;VS(i,KS(r.z2d().n29_1)),WS(i,KS(r.z2d().o29_1)),i.marginTop=KS(r.z2d().p29_1),i.marginBottom=KS(r.z2d().q29_1)}else if(ge(r,gS))t.y1().style.flexGrow=r.y1().toString();else if(ge(r,xS))t.y1().style.flexShrink=r.y1().toString();else if(ge(r,yS))t.y1().style.flex=r.y1().toString();else if(ge(r,jS))t.y1().style.width=KS(r.a2e());else if(ge(r,bS))t.y1().style.height=KS(r.y2d());else if(ge(r,qS)){var e=t.y1().style;e.width=KS(r.a2e()),e.height=KS(r.y2d())}return n}))}function KS(t){return function(t){if(De(t))throw vr.f1("Cannot round NaN value.");return t>2147483647?2147483647:t<-2147483648?-2147483648:_e(Math.round(t))}(1*t*1)+"px"}function GS(t){var r;if(t===NS().g2d_1)r="auto";else{if(t!==NS().h2d_1)throw gr.sc();r="100%"}return r}function VS(t,r){t.setProperty("margin-inline-start",r)}function WS(t,r){t.setProperty("margin-inline-end",r)}ee(DS,"HTMLElementRedwoodLayoutWidgetFactory"),ee(RS,"HTMLColumn"),ee(TS),ee(HS,"HTMLFlexContainer"),ee(US,"HTMLFlexElementChildren");class JS{b2e(t,r,n){}}le(JS),vz=new JS;class YS{}class ZS{constructor(t,r){this.l2e_1=t,this.m2e_1=r}n2e(){return this.l2e_1}c2e(){return this.m2e_1}d2d(t,r){wz.o2e(this.l2e_1,t,r),vz.b2e(this.m2e_1,t,r)}}class QS{o2e(t,r,n){}}function XS(t,r,i,e,s,a,u){var l={_v:r},h={_v:i},_={_v:e},o=s;o=o.r1e(-1072252343);var f=a;if(1&u?f|=6:6&a||(f|=o.k14(t)?4:2),2&u?f|=48:48&a||(f|=o.y1d(l._v)?32:16),4&u?f|=384:384&a||(f|=o.x1d(h._v)?256:128),8&u?f|=3072:3072&a||(f|=o.k14(_._v)?2048:1024),1170==(1171&f)&&o.k1a())o.l17();else{2&u&&(l._v=!0),4&u&&(h._v=null),8&u&&(_._v=Jj),qy()&&jy(-1072252343,f,-1,"com.example.redwood.counter.compose.Button (Button.kt:25)");var c=o;if(c.t17(),c.j1d()){var v=c.w1c();c.l1d((function(){var t=v.r2c().n2e().p2e();return new eS(v,t)}))}else c.o1d();var w=c;Hy(w,t,tC),Hy(w,l._v,rC),Hy(w,h._v,nC),Hy(w,_._v,pS().f2d_1),hS().c2c_1,c.q1d(),qy()&&zy()}var d=o.s1e();null==d||d.v1k((function(r,i){return XS(t,l._v,h._v,_._v,r,Cg(1|a),u),n}))}function tC(t,r){return t.c2d(),t.v2c_1.q2e(r),n}function rC(t,r){return t.c2d(),t.v2c_1.r2e(r),n}function nC(t,r){return t.c2d(),t.v2c_1.s2e(r),n}function iC(t,r,i,e,s){var a={_v:r},u=i;u=u.r1e(-659820591);var l=e;if(1&s?l|=6:6&e||(l|=u.k14(t)?4:2),2&s?l|=48:48&e||(l|=u.k14(a._v)?32:16),18==(19&l)&&u.k1a())u.l17();else{2&s&&(a._v=Jj),qy()&&jy(-659820591,l,-1,"com.example.redwood.counter.compose.Text (Text.kt:18)");var h=u;if(h.t17(),h.j1d()){var _=h.w1c();h.l1d((function(){var t=_.r2c().n2e().t2e();return new eS(_,t)}))}else h.o1d();var o=h;Hy(o,t,eC),Hy(o,a._v,pS().f2d_1),hS().c2c_1,h.q1d(),qy()&&zy()}var f=u.s1e();null==f||f.v1k((function(r,i){return iC(t,a._v,r,Cg(1|e),s),n}))}function eC(t,r){return t.c2d(),t.v2c_1.q2e(r),n}le(YS),ee(ZS,"SchemaWidgetSystem"),le(QS),new YS,wz=new QS;class sC{}function aC(t,r,i,e,s,a,u,l,h,_,o,f){var c={_v:null==t?null:new SS(t)},v={_v:null==r?null:new SS(r)},w={_v:i},d={_v:null==e?null:new AS(e)},p={_v:null==s?null:new ES(s)},m={_v:null==a?null:new MS(a)},y={_v:u},g={_v:l},b=_;b=b.r1e(656885885);var k,x=o;if(6&o||(x|=1&f||!b.k14(c._v)?2:4),48&o||(x|=2&f||!b.k14(v._v)?16:32),384&o||(x|=4&f||!b.k14(w._v)?128:256),3072&o||(x|=8&f||!b.k14(d._v)?1024:2048),24576&o||(x|=16&f||!b.k14(p._v)?8192:16384),196608&o||(x|=32&f||!b.k14(m._v)?65536:131072),64&f?x|=1572864:1572864&o||(x|=b.x1d(y._v)?1048576:524288),128&f?x|=12582912:12582912&o||(x|=b.k14(g._v)?8388608:4194304),256&f?x|=100663296:100663296&o||(x|=b.x1d(h)?67108864:33554432),38347922==(38347923&x)&&b.k1a())b.l17();else{b.d1d(),1&o&&!b.h1d()?(b.l17(),1&f&&(x&=-15),2&f&&(x&=-113),4&f&&(x&=-897),8&f&&(x&=-7169),16&f&&(x&=-57345),32&f&&(x&=-458753)):(1&f&&(c._v=new SS(NS().g2d_1),x&=-15),2&f&&(v._v=new SS(NS().g2d_1),x&=-113),4&f&&(w._v=Hz().m29_1,x&=-897),8&f&&(d._v=new AS(LS().j2d_1),x&=-7169),16&f&&(p._v=new ES(PS().m2d_1),x&=-57345),32&f&&(m._v=new MS(OS().r2d_1),x&=-458753),64&f&&(y._v=null),128&f&&(g._v=Jj)),b.e1d(),qy()&&jy(656885885,x,-1,"app.cash.redwood.layout.compose.Column (Column.kt:34)");var q=b;if(q.t17(),q.j1d()){var j=q.w1c();q.l1d((function(){var t=j.r2c().c2e().d2e();return new eS(j,t)}))}else q.o1d();var z=q;Hy(z,c._v,uC),Hy(z,v._v,lC),Hy(z,w._v,hC),Hy(z,d._v,_C),Hy(z,p._v,oC),Hy(z,m._v,fC),Hy(z,y._v,cC),Hy(z,g._v,pS().f2d_1);var S=hS().c2c_1,C=q,A=we("children",1,Ir,(function(t){return t.vs()}),null),$=Kx(-897775212,!0,(function(t,r){var i=t;return 2==(3&r)&&i.k1a()?i.l17():(qy()&&jy(-897775212,r,-1,"app.cash.redwood.layout.compose.Column.. (Column.kt:49)"),h(dz,i,6),qy()&&(zy(),n)),n}),C,54),E=C;Ry(E,1157296644,"CC(remember)P(1):Composables.kt#9igjgp");var I,M=E.k14($),N=E.j1f();if(M||N===my().u17_1){var L=(k=$,function(t,r){return k.v1c(t,r)});E.k1f(L),I=L}else I=N;var P=null==I||null!=I?I:$i();Ty(E),S.d2c(A,P,C,432),q.q1d(),qy()&&zy()}var O=b.s1e();null==O||O.v1k((function(t,r){var i=c._v,e=null==i?null:i.i2d_1,s=v._v,a=null==s?null:s.i2d_1,u=w._v,l=d._v,_=null==l?null:l.l2d_1,b=p._v,k=null==b?null:b.q2d_1,x=m._v;return aC(e,a,u,_,k,null==x?null:x.x2d_1,y._v,g._v,h,t,Cg(1|o),f),n}))}function uC(t,r){return t.c2d(),t.v2c_1.e2e(r.i2d_1),n}function lC(t,r){return t.c2d(),t.v2c_1.f2e(r.i2d_1),n}function hC(t,r){return t.c2d(),t.v2c_1.g2e(r),n}function _C(t,r){return t.c2d(),t.v2c_1.h2e(r.l2d_1),n}function oC(t,r){return t.c2d(),t.v2c_1.i2e(r.q2d_1),n}function fC(t,r){return t.c2d(),t.v2c_1.j2e(r.x2d_1),n}function cC(t,r){return t.c2d(),t.v2c_1.k2e(r),n}function vC(t,r,i,e,s){var a={_v:t},u={_v:r},l=i;l=l.r1e(-2072748581);var h,_=e;if(1&s?_|=6:6&e||(_|=l.k14(a._v)?4:2),2&s?_|=48:48&e||(_|=l.z1d(u._v)?32:16),18==(19&_)&&l.k1a())l.l17();else{1&s&&(a._v=Jj),2&s&&(u._v=0),qy()&&jy(-2072748581,_,-1,"com.example.redwood.counter.presenter.Counter (counter.kt:31)"),l.a1d(-1542134209);var o,f=l,c=32==(112&_),v=f.j1f();if(c||v===my().u17_1){var w=function(){return function(t){return function(t){return new od(t)}(t)}(u._v)};f.k1f(w),o=w}else o=v;var d=null==o||null!=o?o:$i();l.c1d();var p=function(t,r,i,e,s,a,u){var l={_v:r},h=i,_=s;Ry(_,441892779,"C(rememberSaveable)P(1,3,2)71@3180L23,81@3526L7,83@3552L313,93@3951L71,93@3940L82:RememberSaveable.kt#r2ddri"),2&u&&(l._v=function(){_j();var t=(_j(),jv);return ge(t,rj)?t:$i()}()),4&u&&(h=null),qy()&&jy(441892779,a,-1,"androidx.compose.runtime.saveable.rememberSaveable (RememberSaveable.kt:70)");var o=function(t,r){var n=t;qy()&&jy(524444915,0,-1,"androidx.compose.runtime. (Composables.kt:228)");var i=n.k11();return qy()&&zy(),i}(_),f=null!=h&&0!==_i(h)?h:ya(o,kv);ge(l._v,rj)||$i();var c=sj(),v=_;Ry(v,2023513938,"CC:CompositionLocal.kt#9igjgp");var w=v.n1e(c);Ty(v);var d=w;Ry(_,-1519365315,"CC(remember):RememberSaveable.kt#9igjgp");var p,m=_.j1f();if(m===my().u17_1){var y=null==d?null:d.q2a(f),g=null==y?null:l._v.r2a(y),b=null==g?e():g,k=new Qq(l._v,d,f,b,t);_.k1f(k),p=k}else p=m;var x=null==p||null!=p?p:$i();Ty(_);var q=x,j=q.z2a(t),z=null==j?e():j;Ry(_,-1519352789,"CC(remember):RememberSaveable.kt#9igjgp");var S,C=!!(!!(!!(!!(!!(_.x1d(q)|((112&a^48)>32&&_.x1d(l._v)||32==(48&a)))|_.x1d(d))|_.k14(f))|_.x1d(z))|_.x1d(t)),A=_.j1f();if(C||A===my().u17_1){var $=function(){return q.a2b(l._v,d,f,z,t),n};_.k1f($),S=$}else S=A;var E=null==S||null!=S?S:$i();return Ty(_),function(t,r,n){gg();var i=r;qy()&&jy(-1288466761,0,-1,"androidx.compose.runtime.SideEffect (Effects.kt:47)"),i.i1e(t),qy()&&zy()}(E,_),qy()&&zy(),Ty(_),z}([],null,null,d,l,0,6),m=NS().h2d_1,y=NS().h2d_1,g=PS().n2d_1,b=OS().s2d_1,k=a._v,x=Kx(1983530582,!0,(function(t,r,i){var e=r;if(16==(17&i)&&e.k1a())e.l17();else{qy()&&jy(1983530582,i,-1,"com.example.redwood.counter.presenter.Counter. (counter.kt:41)"),e.a1d(-575595475);var s,a=e.k14(p),u=e.j1f();if(a||u===my().u17_1){var l=function(){var t=wC(p);return dC(p,t-1|0),n};e.k1f(l),s=l}else s=u;var h=null==s||null!=s?s:$i();e.c1d(),XS("-1",!1,h,null,e,6,10),iC("Count: "+wC(p),null,e,0,2),e.a1d(-575593363);var _,o=e.k14(p),f=e.j1f();if(o||f===my().u17_1){var c=function(){var t=wC(p);return dC(p,t+1|0),n};e.k1f(c),_=c}else _=f;var v=null==_||null!=_?_:$i();e.c1d(),XS("+1",!1,v,null,e,6,10),qy()&&(zy(),n)}return n}),l,54),q=l;Ry(q,1157296644,"CC(remember)P(1):Composables.kt#9igjgp");var j,z=q.k14(x),S=q.j1f();if(z||S===my().u17_1){var C=(h=x,function(t,r,n){return h.t26(t,r,n)});q.k1f(C),j=C}else j=S;var A=null==j||null!=j?j:$i();Ty(q),aC(m,y,null,null,g,b,null,k,A,l,100663296|29360128&_<<21,76),qy()&&zy()}var $=l.s1e();null==$||$.v1k((function(t,r){return vC(a._v,u._v,t,Cg(1|e),s),n}))}function wC(t){return de("count",Lr,!0,(function(){return Ei()})),t.d1s()}function dC(t,r){return de("count",Lr,!0,(function(){return Ei()})),t.c1s(r),n}se(sC,"ColumnScopeImpl"),dz=new sC;class pC{constructor(){var t;pz=this,this.k2f_1=(t=Tx(-1394061521,!1,bC),function(r,n){return t.v1c(r,n)})}}class mC{constructor(t){this.l2f_1=t}t2e(){var t=this.l2f_1.createElement("span"),r=t instanceof HTMLSpanElement?t:$i();return new yC(r)}p2e(){var t=this.l2f_1.createElement("button"),r=t instanceof HTMLButtonElement?t:$i();return new gC(r)}}class yC{constructor(t){this.m2f_1=t,this.n2f_1=Jj}y1(){return this.m2f_1}e2d(t){this.n2f_1=t}c2f(){return this.n2f_1}q2e(t){this.m2f_1.textContent=t}}class gC{constructor(t){this.o2f_1=t,this.p2f_1=Jj}y1(){return this.o2f_1}e2d(t){this.p2f_1=t}c2f(){return this.p2f_1}q2e(t){this.o2f_1.textContent=t}r2e(t){this.o2f_1.disabled=!t}s2e(t){var r;r=null!=t?function(r){return t(),n}:null,this.o2f_1.onclick=r}}function bC(t,r){var i=t;return 2==(3&r)&&i.k1a()?i.l17():(qy()&&jy(-1394061521,r,-1,"com.example.redwood.counter.browser.ComposableSingletons$MainKt.lambda-1. (main.kt:42)"),vC(null,0,i,0,3),qy()&&zy()),n}return se(pC,"ComposableSingletons$MainKt"),ee(mC,"HtmlWidgetFactory"),ee(yC,"HtmlText"),ee(gC,"HtmlButton"),yz=document.getElementById("content"),gz=yz instanceof HTMLElement?yz:$i(),function(t,r,i,e){e=e===k?_S:e,r.vs().m10(0,r.vs().d2a().p());var s,a,u,l,h,_=r.p2a();if(null==_)s=null;else{var o=_,f=(l=o.o2b(),h=function(t){var r;if(ge(t,_d)){var n;if(t.b1l()===bk()||t.b1l()===yk()||t.b1l()===gk()){var i=t.y1();n=null==i||o.e2b(i)}else n=!1;r=n}else r=o.e2b(t);return r},uj(),new tj(l,h));o.p2b((a=f,(u=function(){return a.l2b()}).callableName="performSave",u)),m_(t.nm()).pn((function(t){return o.q2b(),n})),s=f}var c=s;return function(t,r,n,i,e,s,a){return new Zz(t,n,i,e,new tS(s,r,a=a===k?oS:a))}(t,r.vs(),r.n2a(),c,r.o2a(),i,e)}((mz=hz,new $h(Ru.nm().tg(mz))),function(t){if(null==t.parentNode){var r="Element "+yi(t)+" must be attached to Document to be used as RedwoodView";throw fr.l3(yi(r))}return new Kz(t)}(gz),new ZS(new mC(document),new DS(document))).a1j((pz===k&&new pC,pz).k2f_1),{}})())); //# sourceMappingURL=counter.js.map \ No newline at end of file