@waves/ride-lang 1.5.12-4010-snapshot.1.2 → 1.5.12-4010-snapshot.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lang.js CHANGED
@@ -656,8 +656,8 @@ B)b=new B(new G(b.oa,0,0));else if(b instanceof A)hf();else throw new w(b);else
656
656
  a=d.xc,null!==e)){b=Wa(e.v);d=new Lh(a,new g(b.j,b.k),e.t,d.He,d.od.gq());break b}throw new w(d);}d=new A(d)}}else throw new w(p);return d instanceof A?new A(d.J):d}throw new w(b);}return b}return c}return c}return a}
657
657
  function Paa(a,b,c,d,e,h){var k=(uh(),Eh().Au);a=(uh(),!0);var m=uk(vk(),b);if(m instanceof A){m=m.J;wk();a:{for(var p=m;!p.h();){var q=p.o().Rf,r=xk(yk());if(q===r){p=new O(p.o());break a}p=p.p()}p=Q()}k=p.h()?k:p.O().fh;p=zk(yk());a:{for(q=m;!q.h();){if(q.o().Rf===p){q=new O(q.o());break a}q=q.p()}q=Q()}q=q.h()?Q():new O(q.O().fh);q=q.h()?Q():q;if(q.h())if(null!==p)p=p.Jk.ik();else if(Ak(p))p=p.Kk.r("");else throw new w(p);else p=q.O();q=Bk(yk());a:{for(r=m;!r.h();){if(r.o().Rf===q){r=new O(r.o());
658
658
  break a}r=r.p()}r=Q()}r=r.h()?Q():new O(r.O().fh);r=r.h()?Q():r;if(r.h())if(null!==q)q=q.Jk.ik();else if(Ak(q))q=q.Kk.r("");else throw new w(q);else q=r.O();r=Ck(yk());a:{for(;!m.h();){if(m.o().Rf===r){m=new O(m.o());break a}m=m.p()}m=Q()}m=m.h()?Q():new O(m.O().fh);m=m.h()?Q():m;if(m.h())if(Dk(r))m=r.Jk.ik();else if(null!==r)m=r.Kk.r("");else throw new w(r);else m=m.O();m=Ek(0,k,p,q,m);if(m instanceof A){m=m.J;b=Fk(Gk(),b,h,m.yu);if(b instanceof A){h=b.J;if(null!==h)return b=h.v,h=h.t,c=Taa(uh(),
659
- m,b,h,c,d,e,a),c instanceof A?new A(c.J):c;throw new w(h);}return b}return m}return m}function Oaa(a,b){a=0<b&&b<=a.Pr.D()?new A(b):new B("Version of estimator must be not greater than "+uh().Pr.D());return a instanceof A?(a=a.J|0,new A(uh().Pr.Rj().Y(-1+a|0))):a}n(fk,"com.wavesplatform.lang.API$",{Mea:1});var gk;function uh(){gk||(gk=new fk);return gk}function Nk(){this.k3="1.5.11-e35f7184ab9c6c9fbc5893ced4e3940faebb1366"}Nk.prototype=new l;Nk.prototype.constructor=Nk;
660
- n(Nk,"com.wavesplatform.lang.Version$",{Yea:1});var Ok;function Zaa(a,b){Dj();b=new Pk(b,Dj().dh);var c=new N(e=>{e=a.wu.gu(e);return e instanceof A?new A((e.J|0)<<24>>24):e});Dj();b=b.bb.ib(b.ab,c,new Qk);if(b instanceof A){c=b.J;if(0<=c.W())b=new ab(c.W()),Rk(c,b,0,2147483647);else{b=null;b=[];for(c=c.z();c.C();){var d=c.x();b.push(null===d?0:d)}b=new ab(new Int8Array(b))}b=new A(b)}b instanceof A&&(b=b.J,b=new A(cg(dg(),b,0,b.a.length)));return b instanceof A?new A(new Sk(b.J,Tk().Lq)):b}
659
+ m,b,h,c,d,e,a),c instanceof A?new A(c.J):c;throw new w(h);}return b}return m}return m}function Oaa(a,b){a=0<b&&b<=a.Pr.D()?new A(b):new B("Version of estimator must be not greater than "+uh().Pr.D());return a instanceof A?(a=a.J|0,new A(uh().Pr.Rj().Y(-1+a|0))):a}n(fk,"com.wavesplatform.lang.API$",{Mea:1});var gk;function uh(){gk||(gk=new fk);return gk}function Nk(){this.k3="v1.5.11-14-g7c53db06"}Nk.prototype=new l;Nk.prototype.constructor=Nk;n(Nk,"com.wavesplatform.lang.Version$",{Yea:1});var Ok;
660
+ function Zaa(a,b){Dj();b=new Pk(b,Dj().dh);var c=new N(e=>{e=a.wu.gu(e);return e instanceof A?new A((e.J|0)<<24>>24):e});Dj();b=b.bb.ib(b.ab,c,new Qk);if(b instanceof A){c=b.J;if(0<=c.W())b=new ab(c.W()),Rk(c,b,0,2147483647);else{b=null;b=[];for(c=c.z();c.C();){var d=c.x();b.push(null===d?0:d)}b=new ab(new Int8Array(b))}b=new A(b)}b instanceof A&&(b=b.J,b=new A(cg(dg(),b,0,b.a.length)));return b instanceof A?new A(new Sk(b.J,Tk().Lq)):b}
661
661
  function $aa(a){return Uk(Vk(Uh(),a),new N(b=>b.v),(Dj(),aba())).Z(new N(b=>{if(null!==b)return new Xk(b.v,b.t,Tk().Lq);throw new w(b);}))}function bba(a,b){Dj();b=new Pk(Yk(J(),ki(li(),b.nv.Po())),Dj().dh);var c=new N(d=>a.wu.Tv(d|0));Dj();return b.bb.ib(b.ab,c,new Qk)}function Zk(){this.Ax=this.wu=null}Zk.prototype=new l;Zk.prototype.constructor=Zk;function $k(){}$k.prototype=Zk.prototype;
662
662
  function cba(a,b){var c=Kk();Dj();b=new Pk(b,Dj().dh);var d=new N(e=>Zaa(a,e));Dj();b=b.bb.ib(b.ab,d,new Qk);return b instanceof A?new A(new al(a.Ax.HY(),b.J,$aa(c),bl(Uh()),Tk().Lq)):b}function dba(a,b){Dj();b=new Pk(b.Yn.Qa(),Dj().dh);var c=new N(d=>bba(a,d));Dj();return b.bb.ib(b.ab,c,new Qk)}
663
663
  function eba(a){switch(a){case 0:return new A(Q());case 1:return new A(new O(cl()));case 2:return new A(new O(dl()));default:return 0<a?new B("Unsupported meta version "+a):new B("Illegal meta version "+a+", expected positive value")}}function el(){}el.prototype=new l;el.prototype.constructor=el;function fl(a,b,c){return cba(b.zN(),c)}n(el,"com.wavesplatform.lang.contract.meta.MetaMapper$",{ifa:1});var gl;function hl(){gl||(gl=new el);return gl}
@@ -2323,7 +2323,7 @@ function Rba(a){if(!a.gR){dh();for(var b=Yk(J(),new Mh(new Nh(oo(a).Ei),new N(r=
2323
2323
  !!(v.o()instanceof vi)){for(;y!==v;)z=new H(y.o(),J()),t=t.u=z,y=y.p();y=v.p()}v=v.p()}y.h()||(t.u=y);v=r}break a}if(v===J())return J();r=v.o();t=r=new H(r.Ci,J());for(v=v.p();v!==J();)y=v.o(),y=new H(y.Ci,J()),t=t.u=y,v=v.p();return r}))),c=null,d=null;b!==J();){var e=b.o();if(null!==e){var h=e.t;e=(r=>v=>new x(v|0,r))(e.v);if(h===J())e=J();else{var k=h.o(),m=k=new H(e(k),J());for(h=h.p();h!==J();){var p=h.o();p=new H(e(p),J());m=m.u=p;h=h.p()}e=k}}else throw new w(e);for(e=e.z();e.C();)k=new H(e.x(),
2324
2324
  J()),null===d?c=k:d.u=k,d=k;b=b.p()}b=ch(0,null===c?J():c);dh();c=Yk(J(),new Mh(new bn(new Nh(oo(a).Ei),new N(r=>a.jR.ra(r))),new N(r=>{var v=r.Wr;if(v===J())r=J();else{r=v.o();var t=r=new H(r.ub,J());for(v=v.p();v!==J();){var y=v.o();y=new H(y.ub,J());t=t.u=y;v=v.p()}}t=r;a:for(;;)if(t.h()){v=J();break}else if(v=t.o(),r=t.p(),!1===!!(v instanceof vi))t=r;else for(;;){if(r.h())v=t;else{if(!1!==!!(r.o()instanceof vi)){r=r.p();continue}v=r;r=new H(t.o(),J());y=t.p();for(t=r;y!==v;){var z=new H(y.o(),
2325
2325
  J());t=t.u=z;y=y.p()}for(y=v=v.p();!v.h();){if(!1===!!(v.o()instanceof vi)){for(;y!==v;)z=new H(y.o(),J()),t=t.u=z,y=y.p();y=v.p()}v=v.p()}y.h()||(t.u=y);v=r}break a}if(v===J())return J();r=v.o();t=r=new H(r.Ci,J());for(v=v.p();v!==J();)y=v.o(),y=new H(y.Ci,J()),t=t.u=y,v=v.p();return r})));for(e=d=null;c!==J();){k=c.o();if(null!==k)if(p=k.t,k=(r=>v=>new x(v|0,r))(k.v),p===J())k=J();else{m=p.o();h=m=new H(k(m),J());for(p=p.p();p!==J();){var q=p.o();q=new H(k(q),J());h=h.u=q;p=p.p()}k=m}else throw new w(k);
2326
- for(k=k.z();k.C();)m=new H(k.x(),J()),null===e?d=m:e.u=m,e=m;c=c.p()}a.fR=new uW(b,ch(0,null===d?J():d),0);a.gR=!0}return a.fR}Object.defineProperty(Rw.prototype,"types",{get:function(){return this.pq},configurable:!0});Object.defineProperty(Rw.prototype,"functions",{get:function(){return this.xl},configurable:!0});Object.defineProperty(Rw.prototype,"vars",{get:function(){return this.ap},configurable:!0});n(Rw,"com.wavesplatform.lang.v1.CTX",{wga:1,y:1,E:1,i:1});
2326
+ for(k=k.z();k.C();)m=new H(k.x(),J()),null===e?d=m:e.u=m,e=m;c=c.p()}a.fR=new uW(b,ch(0,null===d?J():d),0);a.gR=!0}return a.fR}Object.defineProperty(Rw.prototype,"vars",{get:function(){return this.ap},configurable:!0});Object.defineProperty(Rw.prototype,"functions",{get:function(){return this.xl},configurable:!0});Object.defineProperty(Rw.prototype,"types",{get:function(){return this.pq},configurable:!0});n(Rw,"com.wavesplatform.lang.v1.CTX",{wga:1,y:1,E:1,i:1});
2327
2327
  function To(){this.bR=null;this.bR=So().cR}To.prototype=new l;To.prototype.constructor=To;To.prototype.Oa=function(){return this.bR};To.prototype.Je=function(a,b){So();var c=a.pq.xe(b.pq),d=a.ap.Nc(b.ap);a=a.xl;b=b.xl;var e=a.a.length+b.a.length|0;sb(jw,tb(da(a).T).T)?e=Zw(Zn(),a,e,ea(u(jw))):(e=new (u(jw).m)(e),lj(jj(),a,0,e,0,a.a.length));lj(jj(),b,0,e,a.a.length,b.a.length);return new Rw(c,d,e)};n(To,"com.wavesplatform.lang.v1.CTX$$anon$1",{yga:1,i:1,Ch:1,jj:1});function dR(){}dR.prototype=new l;
2328
2328
  dR.prototype.constructor=dR;dR.prototype.No=function(a){return a.af()+" in "+a.wa()+"-"+a.Ca()};n(dR,"com.wavesplatform.lang.v1.compiler.CompilationError$$anon$1",{Dga:1,i:1,p0:1,o0:1});function Iu(a,b,c,d,e){this.Eu=a;this.Di=b;this.Lk=c;this.Nn=d;this.bp=e}Iu.prototype=new l;Iu.prototype.constructor=Iu;f=Iu.prototype;f.I=function(){return new JV(this)};f.B=function(){return LJ(this,-541555967,!0)};
2329
2329
  f.g=function(a){if(this===a)return!0;if(a instanceof Iu){var b=this.Eu,c=a.Eu;(null===b?null===c:b.g(c))?(b=this.Di,c=a.Di,b=null===b?null===c:b.g(c)):b=!1;b?(b=this.Lk,c=a.Lk,b=null===b?null===c:b.g(c)):b=!1;b?(b=this.Nn,c=a.Nn,b=null===b?null===c:b.g(c)):b=!1;if(b)return b=this.bp,a=a.bp,null===b?null===a:b.g(a)}return!1};f.s=function(){return XI(this)};f.F=function(){return 5};f.H=function(){return"CompilationStepResultDec"};
@@ -2629,12 +2629,12 @@ f.B=function(){var a=-889275714;a=X().A(a,-1155635662);a=X().A(a,this.Ou?1231:12
2629
2629
  f.Mv=function(a,b,c){return Rpa(this,b,c,!1).t};function uba(a,b,c){a=Rpa(a,b,c,!0);b=a.t;return b instanceof A?new A(new BW(a.v.Zj,a.v.Yj)):b}n(nk,"com.wavesplatform.lang.v1.estimator.v3.ScriptEstimatorV3",{Oia:1,qS:1,y:1,E:1,i:1});function lw(a,b){this.tD=this.uD=null;this.uD=a;this.tD=b;a=new Rm(a,Kb().ba);Tm(a.tH,a.sH,new N(c=>{Kb();return new ec(b.r(c))})).et()}lw.prototype=new l;lw.prototype.constructor=lw;f=lw.prototype;f.I=function(){return new JV(this)};
2630
2630
  f.B=function(){return LJ(this,1860235162,!0)};f.g=function(a){if(this===a)return!0;if(a instanceof lw){var b=this.uD,c=a.uD;if(null===b?null===c:b.g(c))return b=this.tD,a=a.tD,null===b?null===a:b.g(a)}return!1};f.s=function(){return XI(this)};f.F=function(){return 2};f.H=function(){return"LazyValImpl"};f.G=function(a){if(0===a)return this.uD;if(1===a)return this.tD;throw Kq(new Lq,""+a);};n(lw,"com.wavesplatform.lang.v1.evaluator.ctx.LazyVal$LazyValImpl",{aja:1,Zia:1,y:1,E:1,i:1});
2631
2631
  function qR(a,b,c,d,e){this.Gy=a;this.vD=b;this.sq=c;this.CI=d;this.Fy=e}qR.prototype=new l;qR.prototype.constructor=qR;f=qR.prototype;f.I=function(){return new JV(this)};f.B=function(){return LJ(this,-1778831526,!0)};f.g=function(a){if(this===a)return!0;if(a instanceof qR){if(this.Gy===a.Gy){var b=this.vD,c=a.vD;b=null===b?null===c:b.g(c)}else b=!1;b?(b=this.sq,c=a.sq,b=null===b?null===c:b.g(c)):b=!1;if(b&&this.CI===a.CI)return b=this.Fy,a=a.Fy,null===b?null===a:b.g(a)}return!1};f.s=function(){return XI(this)};
2632
- f.F=function(){return 5};f.H=function(){return"NativeFunction"};f.G=function(a){switch(a){case 0:return this.Gy;case 1:return this.vD;case 2:return this.sq;case 3:return this.CI;case 4:return this.Fy;default:throw Kq(new Lq,""+a);}};f.Va=function(){return this.Gy};f.lF=function(){return this.vD};f.xb=function(){return this.sq};f.Nv=function(){return this.Fy};Object.defineProperty(qR.prototype,"header",{get:function(){return this.sq.ub},configurable:!0});
2633
- Object.defineProperty(qR.prototype,"signature",{get:function(){return this.sq},configurable:!0});Object.defineProperty(qR.prototype,"name",{get:function(){return this.Gy},configurable:!0});Object.defineProperty(qR.prototype,"deprecated",{get:function(){return!1},configurable:!0});Object.defineProperty(qR.prototype,"args",{get:function(){return this.Fy},configurable:!0});n(qR,"com.wavesplatform.lang.v1.evaluator.ctx.NativeFunction",{bja:1,zI:1,y:1,E:1,i:1});
2632
+ f.F=function(){return 5};f.H=function(){return"NativeFunction"};f.G=function(a){switch(a){case 0:return this.Gy;case 1:return this.vD;case 2:return this.sq;case 3:return this.CI;case 4:return this.Fy;default:throw Kq(new Lq,""+a);}};f.Va=function(){return this.Gy};f.lF=function(){return this.vD};f.xb=function(){return this.sq};f.Nv=function(){return this.Fy};Object.defineProperty(qR.prototype,"deprecated",{get:function(){return!1},configurable:!0});
2633
+ Object.defineProperty(qR.prototype,"name",{get:function(){return this.Gy},configurable:!0});Object.defineProperty(qR.prototype,"args",{get:function(){return this.Fy},configurable:!0});Object.defineProperty(qR.prototype,"signature",{get:function(){return this.sq},configurable:!0});Object.defineProperty(qR.prototype,"header",{get:function(){return this.sq.ub},configurable:!0});n(qR,"com.wavesplatform.lang.v1.evaluator.ctx.NativeFunction",{bja:1,zI:1,y:1,E:1,i:1});
2634
2634
  function wR(a,b,c,d,e,h,k){a.es=b;a.Wu=c;a.Vu=d;a.tq=e;a.Hy=h;a.ds=k;return a}function xR(){this.ds=this.Hy=this.tq=this.Vu=this.Wu=this.es=null}xR.prototype=new l;xR.prototype.constructor=xR;function hqa(){}f=hqa.prototype=xR.prototype;f.DX=function(){return!1};f.I=function(){return new JV(this)};f.B=function(){return LJ(this,968184437,!0)};
2635
2635
  f.g=function(a){if(this===a)return!0;if(a instanceof xR){if(this.es===a.es&&this.Wu===a.Wu){var b=this.Vu,c=a.Vu;b=null===b?null===c:b.g(c)}else b=!1;b?(b=this.tq,c=a.tq,b=null===b?null===c:b.g(c)):b=!1;if(b&&this.Hy===a.Hy)return b=this.ds,a=a.ds,null===b?null===a:b.g(a)}return!1};f.s=function(){return XI(this)};f.F=function(){return 6};f.H=function(){return"UserFunction"};
2636
- f.G=function(a){switch(a){case 0:return this.es;case 1:return this.Wu;case 2:return this.Vu;case 3:return this.tq;case 4:return this.Hy;case 5:return this.ds;default:throw Kq(new Lq,""+a);}};f.Va=function(){return this.es};f.lF=function(){return this.Vu};f.xb=function(){return this.tq};f.Nv=function(){return this.ds};Object.defineProperty(xR.prototype,"header",{get:function(){return this.tq.ub},configurable:!0});Object.defineProperty(xR.prototype,"signature",{get:function(){return this.tq},configurable:!0});
2637
- Object.defineProperty(xR.prototype,"name",{get:function(){return this.es},configurable:!0});Object.defineProperty(xR.prototype,"deprecated",{get:function(){return this.DX()},configurable:!0});Object.defineProperty(xR.prototype,"args",{get:function(){return this.ds},configurable:!0});Object.defineProperty(xR.prototype,"internalName",{get:function(){return this.Wu},configurable:!0});n(xR,"com.wavesplatform.lang.v1.evaluator.ctx.UserFunction",{W3:1,zI:1,y:1,E:1,i:1});function Ew(){}Ew.prototype=new lV;
2636
+ f.G=function(a){switch(a){case 0:return this.es;case 1:return this.Wu;case 2:return this.Vu;case 3:return this.tq;case 4:return this.Hy;case 5:return this.ds;default:throw Kq(new Lq,""+a);}};f.Va=function(){return this.es};f.lF=function(){return this.Vu};f.xb=function(){return this.tq};f.Nv=function(){return this.ds};Object.defineProperty(xR.prototype,"deprecated",{get:function(){return this.DX()},configurable:!0});Object.defineProperty(xR.prototype,"name",{get:function(){return this.es},configurable:!0});
2637
+ Object.defineProperty(xR.prototype,"args",{get:function(){return this.ds},configurable:!0});Object.defineProperty(xR.prototype,"signature",{get:function(){return this.tq},configurable:!0});Object.defineProperty(xR.prototype,"internalName",{get:function(){return this.Wu},configurable:!0});Object.defineProperty(xR.prototype,"header",{get:function(){return this.tq.ub},configurable:!0});n(xR,"com.wavesplatform.lang.v1.evaluator.ctx.UserFunction",{W3:1,zI:1,y:1,E:1,i:1});function Ew(){}Ew.prototype=new lV;
2638
2638
  Ew.prototype.constructor=Ew;Ew.prototype.yc=function(a){a:{if(a instanceof ji&&(a=new O(a.Za),!a.h()&&32===a.S.ia.a.length)){a=!0;break a}a=!1}return a};Ew.prototype.Vb=function(a,b){a:{if(a instanceof ji){var c=new O(a.Za);if(!c.h()&&32===c.S.ia.a.length)break a}a=b.r(a)}return a};n(Ew,"com.wavesplatform.lang.v1.evaluator.ctx.impl.CryptoContext$$anon$1",{jja:1,zf:1,ma:1,ya:1,i:1});function Yq(a,b,c){this.xq=a;this.wq=b;this.Dl=c}Yq.prototype=new l;Yq.prototype.constructor=Yq;f=Yq.prototype;f.I=function(){return new JV(this)};
2639
2639
  f.B=function(){return LJ(this,-1607222468,!0)};f.g=function(a){if(this===a)return!0;if(a instanceof Yq){var b=this.xq,c=a.xq;(null===b?null===c:b.g(c))?(b=this.wq,c=a.wq,b=null===b?null===c:b.g(c)):b=!1;if(b)return b=this.Dl,a=a.Dl,null===b?null===a:b.g(a)}return!1};f.s=function(){return XI(this)};f.F=function(){return 3};f.H=function(){return"ANNOTATEDFUNC"};f.G=function(a){switch(a){case 0:return this.xq;case 1:return this.wq;case 2:return this.Dl;default:throw Kq(new Lq,""+a);}};
2640
2640
  n(Yq,"com.wavesplatform.lang.v1.parser.Expressions$ANNOTATEDFUNC",{Dka:1,Og:1,y:1,E:1,i:1});function Vq(a,b,c){this.hJ=a;this.Ly=b;this.gs=c}Vq.prototype=new l;Vq.prototype.constructor=Vq;f=Vq.prototype;f.I=function(){return new JV(this)};f.B=function(){return LJ(this,-1960665439,!0)};f.g=function(a){if(this===a)return!0;if(a instanceof Vq){var b=this.hJ,c=a.hJ;(null===b?null===c:b.g(c))?(b=this.Ly,c=a.Ly,b=null===b?null===c:b.g(c)):b=!1;if(b)return b=this.gs,a=a.gs,null===b?null===a:b.g(a)}return!1};