amf-client-js 5.6.0-SNAPSHOT.53 → 5.6.0-SNAPSHOT.55
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/amf.js +1 -2
- package/package.json +1 -1
package/amf.js
CHANGED
|
@@ -1352,8 +1352,7 @@ function D3a(a,b){if(!g3a(a,b))if(b.Cb.a())dI(a,"{}");else{z3a(a);for(var c=0;c<
|
|
|
1352
1352
|
function F3a(a,b){var c=b.ma,e=c.Pc();if(e instanceof Vg){b3a(a,c.hb());var f=c.Bqd();f.a()||(f=f.c(),fI(a,f,M()));if(-1!==(e.ga.indexOf("\n")|0))e=e.ga,dI(a,'"'+v0a(XG(),e,!0)+'"');else{f=c.hb().kb;var g=S().la;f=f===g?d3a(c.hb()):!1;r3a(a,e,f)}dI(a,": ")}else e=dI(a,"?"),f=M(),dI(o3a(k3a(fI(e,c,f))),": ");e=b.u;b=b.Ih.ym(new r(((h,k)=>l=>l!==k)(a,c))).z().ym(new r((()=>h=>h instanceof RH)(a))).ep(new r(((h,k)=>l=>l!==k)(a,e)));if(null===b)throw new x(b);c=b.I();b=b.P().z();z3a(a);c.x(new r((h=>
|
|
1353
1353
|
k=>o3a(fI(h,k,M())))(a)));A3a(a);c=e.hb().kb;f=S().ge;c!==f?c=!0:(c=e.i(),c=!ki(new Ld(c)));if(c)a:{if(c=e.Pc(),c instanceof Vg&&(a.Nca.lEa?(f=c.Kca,g=J1a(),f=null!==f&&f===g):f=!1,f)){fI(a,c,M());break a}fI(a,e,M())}b.a()||(fI(a,b.v(),M()),z3a(a),b.z().x(new r((h=>k=>fI(h,k,M()))(a))),A3a(a))}function n3a(a,b){a=dI(a,"- ");var c=M();fI(a,b,c)}function g3a(a,b){b=b.Ih;var c=!b.a()&&b.v()instanceof RH?!a.Nca.lEa:!1;c&&h3a(a,b,M());return c}
|
|
1354
1354
|
function G3a(a){if(0<a.tR)if(a.wW.Zod){var b=new Iv(a.dCb),c=ny(new Ld(" "),a.tR);Jv(b.Lj,c)}else{b=new Iv(a.dCb);c=new Ld("\t");var e=Ea(a.tR,a.wW.kEa);c=ny(c,e);Jv(b.Lj,c)}return a}function H3a(a,b){(b.a()?0:a.wW.cCb)&&b.x(new r((c=>e=>{iI(c,e.sna)})(a)))}
|
|
1355
|
-
function I3a(a,b){if(b.Cb.a())return iI(a,"{}");iI(a,"{\n");a.tR=a.tR+a.wW.kEa|0;for(var c=b.Cb.Ta(),e=b.Ih.Ta(),f=0,g=0,h=1;g<e;){var k=b.Ih.ta(g);
|
|
1356
|
-
wD.prototype.constructor=wD;wD.prototype.i=function(){return Da(this.dCb)};
|
|
1355
|
+
function I3a(a,b){if(b.Cb.a())return iI(a,"{}");iI(a,"{\n");a.tR=a.tR+a.wW.kEa|0;for(var c=b.Cb.Ta(),e=b.Ih.Ta(),f=0,g=0,h=1;g<e;){var k=b.Ih.ta(g);k instanceof Ww?(iI(J3a(G3a(a),k),f<(-1+c|0)?",\n":"\n"),f=1+f|0,h=1+h|0):k instanceof RH&&a.wW.cCb&&(h=h-K3a(a,k,h)|0);g=1+g|0}a.tR=a.tR-a.wW.kEa|0;return iI(G3a(a),"}")}function J3a(a,b){return L3a(iI(L3a(a,b.ma),": "),b.u)}function wD(a,b,c){this.dCb=a;this.wW=c;this.tR=b}wD.prototype=new p;wD.prototype.constructor=wD;wD.prototype.i=function(){return Da(this.dCb)};
|
|
1357
1356
|
function L3a(a,b){var c=b.Pc();if(c instanceof sq)I3a(a,c);else if(c instanceof Ug)if(c.lg.a())iI(a,"[]");else{iI(a,"[\n");a.tR=a.tR+a.wW.kEa|0;b=c.lg.Ta();for(var e=c.Ih.Ta(),f=0,g=0,h=1;g<e;){var k=c.Ih.ta(g);k instanceof Vw?(iI(L3a(G3a(a),k),f<(-1+b|0)?",\n":"\n"),f=1+f|0,h=1+h|0):k instanceof RH&&a.wW.cCb&&(h=h-K3a(a,k,h)|0);g=1+g|0}a.tR=a.tR-a.wW.kEa|0;iI(G3a(a),"]")}else if(c instanceof Vg)b=b.hb().kb,S().Ei===b||S().bi===b?c=Da(c.jC):S().wm===b?(c=Da(c.jC),c=(-1!==pH(c,46)||oF(new Ld(c),Ka(101))?
|
|
1358
1357
|
0:!oF(new Ld(c),Ka(69)))?c+".0":c):S().ge===b?c="null":(b=c.jC,c="string"===typeof b?'"'+v0a(XG(),b,a.wW.adc)+'"':'"'+c.ga+'"'),iI(a,c);else throw new x(c);return a}function M3a(a,b){var c=b.Hh,e=R().GE;IH(c,e)?iI(a,"{}"):b.Ih.x(new r((f=>g=>iI(NQa(G3a(f),g),"\n"))(a)));return a}function K3a(a,b,c){b=b.kC.ub(new r((()=>e=>{e=e.ZDa;var f=vH().XM;return e===f})(a)));c=b.Nj(c);H3a(a,c);return b.wa()-c.wa()|0}
|
|
1359
1358
|
function NQa(a,b){return b instanceof Vw?L3a(a,b):b instanceof Ww?J3a(a,b):b instanceof sq?I3a(a,b):b instanceof zi?M3a(a,b):b instanceof RH?a:iI(a,b.i())}function iI(a,b){Jv((new Iv(a.dCb)).Lj,b);return a}wD.prototype.$classData=q({o4e:0},!1,"org.yaml.render.JsonRender",{o4e:1,b:1});function N3a(){}N3a.prototype=new p;N3a.prototype.constructor=N3a;function O3a(a,b){a=new vD;var c=new Gv,e=Hv();iI(L3a(new wD(c,0,a,e),b.Hh),"\n");return c.i()}
|