New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

squint-cljs

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

squint-cljs - npm Package Compare versions

Comparing version 0.7.105 to 0.7.106

64

lib/cli.js

@@ -9,22 +9,22 @@ import { $APP, shadow$provide, $jscomp } from "./compiler.js";

Y9(a);else{var f=$APP.A.g(":",b);var k=f?$APP.hi(/:[a-zA-Z][a-zA-Z0-9_\/\.-]*/,a):f;e=$APP.r(k)?$9(a):a}d=e}c=d}return c}catch(l){return a}else return a},b$=function(a,b,c,d){throw $APP.cl.j(["Coerce failure: cannot transform ",$APP.r(b)?"(implicit) true":["input ",$APP.Ri.l($APP.F([a]))].join(""),c instanceof $APP.H?" to ":" with ",$APP.t.h(c instanceof $APP.H?$APP.ai(c):c)].join(""),new $APP.n(null,2,[Hha,a,Iha,c],null),d);},Jha=function(a,b,c){var d=function(){switch(b instanceof $APP.H?b.da:null){case "boolean":case "bool":return X9;
case "int":case "long":return Eha;case "double":return Fha;case "number":return Y9;case "symbol":return $APP.Hi;case "keyword":return $9;case "string":return $APP.se;case "edn":return $APP.HH;case "auto":return a$;default:return b}}();if("string"===typeof a)try{var e=d.h?d.h(a):d.call(null,a)}catch(f){e=b$(a,c,b,f)}else e=a;d=e;return $APP.r($APP.r(c)?!0!==d:c)?b$(a,c,b,null):d},c$=function(a,b,c){a=$APP.fe.g(a,b);c=$APP.r(a)?a:$APP.Rd(c)?$APP.Hd(c):null;return $APP.r(c)?$APP.Rd(c)?$APP.Wq.g($APP.Ee,
case "int":case "long":return Eha;case "double":return Fha;case "number":return Y9;case "symbol":return $APP.Hi;case "keyword":return $9;case "string":return $APP.se;case "edn":return $APP.HH;case "auto":return a$;default:return b}}();if("string"===typeof a)try{var e=d.h?d.h(a):d.call(null,a)}catch(f){e=b$(a,c,b,f)}else e=a;d=e;return $APP.r($APP.r(c)?!0!==d:c)?b$(a,c,b,null):d},c$=function(a,b,c){a=$APP.fe.g(a,b);c=$APP.r(a)?a:$APP.Rd(c)?$APP.Hd(c):null;return $APP.r(c)?$APP.Rd(c)?$APP.Xq.g($APP.Ee,
c):c:null},d$=function(a,b,c,d){return $APP.Qh.g(b,c)?(c=$APP.aH(a,b),$APP.r(c)?($APP.B.j(c,0,null),c=$APP.B.j(c,1,null),$APP.Rh.j(a,b,$APP.r(d)?d.g?d.g(c,!0):d.call(null,c,!0):!0)):$APP.Rh.j(a,b,$APP.r(d)?d.g?d.g(null,!0):d.call(null,null,!0):!0)):a},Kha=function(a,b,c,d,e,f){d=$APP.r($APP.r(d)?!$APP.Rd(d):d)?Jha(e,d,f):a$(e);return $APP.r(c)?$APP.Tm.A(a,b,c,d):$APP.Rh.j(a,b,d)},Lha=function(a){return $APP.oe.j(function(b,c){var d=$APP.B.j(c,0,null);c=$APP.B.j(c,1,null);var e=$APP.jf(c),f=$APP.fe.g(e,
e$),k=$APP.fe.g(e,f$);c=$APP.fe.g(e,$APP.Dm);var l=$APP.fe.g(e,$APP.bF);e=$APP.fe.g(e,g$);b=$APP.r(f)?$APP.Tm.J(b,e$,$APP.Rh,d,f):b;b=$APP.r(k)?$APP.Tm.j(b,f$,function(m){if($APP.he(m,k))throw $APP.cl.g(["Conflicting alias ",$APP.t.h(k)," between ",$APP.t.h($APP.fe.g(m,k))," and ",$APP.t.h(d)].join(""),new $APP.n(null,1,[f$,k],null));return $APP.Rh.j(m,k,d)}):b;b=$APP.r(l)?$APP.Tm.j(b,$APP.bF,$APP.Wq.g(function(m){return $APP.Ee.g(m,d)},$APP.Vh)):b;b=$APP.r(e)?$APP.Tm.J(b,g$,$APP.Rh,d,e):b;return $APP.r(c)?
$APP.Tm.J(b,h$,$APP.Rh,d,c):b},$APP.hf,a)},l$=function(a,b){b=$APP.jf(b);var c=$APP.fe.g(b,i$);b=$APP.bH(function(d){var e=$APP.r(c)?null:$APP.qa(d,":");return!($APP.r(e)?e:$APP.qa(d,"-"))},a);a=$APP.B.j(b,0,null);b=$APP.B.j(b,1,null);return new $APP.n(null,2,[j$,a,k$,b],null)},n$=function(a,b){if($APP.r(b))if($APP.x(a)){var c=$APP.xd(a),d=$APP.$e(c,b);c=c<d?c:d;a=new $APP.J(null,2,5,$APP.N,[$APP.R.g($APP.Su.g(b,a),$APP.Nf.g(c,a)),$APP.Nf.g(c,b)],null)}else a=new $APP.J(null,2,5,$APP.N,[a,b],null);
else a=new $APP.J(null,2,5,$APP.N,[a,b],null);b=a;a=$APP.B.j(b,0,null);b=$APP.B.j(b,1,null);return new $APP.n(null,2,[k$,a,m$,b],null)},v$=function(a,b,c,d,e){var f=Z9(a),k="string"===typeof a?$APP.B.j(a,1,null):null,l;if(l=$APP.A.g(f,"-")){try{var m=Y9($APP.t.h(k))}catch(h){m=null}l=$APP.Za(m)}b=$APP.r(b)?b:l?o$:null;f=$APP.A.g(":",f);c=$APP.Qh.g(o$,b)&&f&&($APP.A.g(p$,d)||$APP.Za(c)||$APP.A.g(e,c));d=$APP.r(b)?b:c?q$:null;a=l?$APP.r(k)?$APP.Qh.g("-",k)&&2<$APP.xd(a):k:null;return new $APP.n(null,
5,[$APP.ex,d,r$,l,s$,a,t$,c,u$,f],null)},Pha=function(a,b){function c(vb){vb=$APP.Qk.l($APP.F([new $APP.n(null,2,[w$,d,$APP.Xk,x$],null),vb]));return O.h?O.h(vb):O.call(null,vb)}var d=w$.h(b),e=$APP.r(d)?V9(b,$APP.F([Lha(d)])):b,f=e$.h(e),k=function(){var vb=f$.h(e);return $APP.r(vb)?vb:$APP.Ir.h(e)}(),l=Mha.h(e),m=$APP.bF.h(e),h=h$.h(e),p=i$.h(e),q=function(){var vb=y$.h(e);return $APP.r(vb)?vb:Nha.h(e)}(),v=$APP.Zh($APP.R.l($APP.Kh($APP.Vd(d)?d:$APP.Rg.g($APP.hf,d)),$APP.Oh(k),$APP.F([$APP.Kh(f)]))),
D=$APP.A.g(!0,q)?v:null==q?null:$APP.Zh(q),I=g$.h(e),O=function(){var vb=Oha.h(e);return $APP.r(vb)?vb:function(Yb){Yb=$APP.jf(Yb);var Ic=$APP.fe.g(Yb,z$);throw $APP.cl.g(Ic,Yb);}}(),P=l$(a,null),W=$APP.jf(P),ca=$APP.fe.g(W,j$),ha=$APP.fe.g(W,k$),na=function(){var vb=m$.h(e);vb=$APP.r(vb)?vb:A$.h(e);return $APP.r(vb)?n$(ca,vb):new $APP.n(null,2,[m$,null,k$,ha],null)}(),pa=$APP.jf(na),fa=$APP.fe.g(pa,k$),E=$APP.fe.g(pa,m$),C=$APP.Qh.g(fa,ha)?new $APP.J(null,2,5,$APP.N,[null,$APP.R.g(fa,ha)],null):
new $APP.J(null,2,5,$APP.N,[ca,ha],null),ea=$APP.B.j(C,0,null),K=$APP.B.j(C,1,null),M=function(){for(var vb=$APP.hf,Yb=null,Ic=null,Me=$APP.r(p)?o$:null,hd=$APP.x(K),Jg=E;;){if($APP.Za(hd))return new $APP.J(null,3,5,$APP.N,[vb,Yb,Ic],null);var og=$APP.y(hd),Uc=og instanceof $APP.H;if(Uc){Yb=d$(vb,Yb,Ic,null);var ne=og;hd=$APP.z(hd);vb=Yb;Yb=ne}else{var Bl=!0===og,Tf=$APP.t.h(og);ne=c$(l,Yb,$APP.fe.g(f,Yb));var xi=$APP.fe.g(f,Yb),Cl=v$(Tf,Me,Yb,xi,Ic),Lh=$APP.jf(Cl),Dl=$APP.fe.g(Lh,r$),Mh=$APP.fe.g(Lh,
s$),El=$APP.fe.g(Lh,t$),Uf=$APP.fe.g(Lh,$APP.ex),mk=$APP.fe.g(Lh,u$);if($APP.r(function(){var Oe=Dl;return $APP.r(Oe)?Oe:El}())){var Yc=$APP.qa(Tf,"--"),nk=Yc&&$APP.A.g("--",Tf);if(nk){var Fl=$APP.z(hd);return new $APP.J(null,3,5,$APP.N,[function(){var Oe=vb;return Fl?$APP.jo.A(Oe,$APP.Uu,new $APP.J(null,2,5,$APP.N,[x$,k$],null),$APP.lg(Fl)):Oe}(),Yb,Ic],null)}var ok=Yc?$APP.ji.g(Tf,2):$APP.Zj(Tf,/^(:|-|)/,""),zf=Yc?$APP.Er.g(ok,/=/):new $APP.J(null,1,5,$APP.N,[ok],null),Sd=$APP.B.j(zf,0,null),Ce=
$APP.B.j(zf,1,null),Tb=$APP.zi.h(Sd),Ec=$APP.fe.j(k,Tb,Tb);if($APP.r(Ce))Ic=d$(vb,Yb,Ic,ne),Yb=Ec,Me=Uf,hd=$APP.He(Ce,$APP.cd(hd)),vb=Ic,Ic=null;else{var Ab=$APP.z(hd),Ne=$APP.y(Ab),qw=v$(Ne,Uf,Yb,xi,Ic);if($APP.r(function(){var Oe=r$.h(qw);return $APP.r(Oe)?Oe:$APP.Qd(Ab)}()))if($APP.r(Mh)){var rw=$APP.ai(Ec);Ic=$APP.Yp.l(function(){return function(Oe){return new $APP.J(null,2,5,$APP.N,[["-",$APP.t.h(Oe)].join(""),!0],null)}}(vb,Yb,Ic,Me,hd,Jg,rw,Ab,Ne,qw,ok,zf,Sd,Ce,Tb,Ec,Yc,nk,Bl,Tf,ne,xi,Cl,Lh,
Dl,Mh,El,Uf,mk,og,Uc,d,e,f,k,l,m,h,p,q,v,D,I,O,c,P,W,ca,ha,na,pa,fa,E,C,ea,K),$APP.F([rw]));hd=$APP.R.g(Ic,Ab);Me=Uf;Ic=Yb=null}else hd=$APP.he(v,Ec)?null:$APP.RG($APP.t.h(Ec),":no-"),Me=$APP.r(hd)?$APP.zi.h($APP.Zj($APP.t.h(Ec),":no-","")):Ec,hd=$APP.He($APP.Za(hd),Ab),Yb=d$(vb,Yb,Ic,ne),ne=Me,Me=Uf,vb=Yb,Yb=ne;else Yb=d$(vb,Yb,Ic,ne),ne=Ec,Me=Uf,hd=Ab,vb=Yb,Yb=ne}}else if(nk=$APP.A.g(p$,xi)&&$APP.Qh.g(Tf,"true")&&$APP.Qh.g(Tf,"false")||$APP.A.g(Ic,Yb)&&$APP.Za(ne))if(Jg=$APP.r(hd)?$APP.r(Jg)?n$(hd,
Jg):new $APP.n(null,1,[k$,hd],null):new $APP.n(null,1,[k$,hd],null),Me=$APP.jf(Jg),Jg=$APP.fe.g(Me,k$),Me=$APP.fe.g(Me,m$),$APP.Qh.g(hd,Jg))ne=Me,Me=Uf,hd=Jg,Jg=ne;else return new $APP.J(null,3,5,$APP.N,[$APP.jo.A(vb,$APP.Uu,new $APP.J(null,2,5,$APP.N,[x$,k$],null),$APP.lg(hd)),Yb,Ic],null);else{try{var Zd=Kha(vb,Yb,ne,Gha(xi),Tf,Bl)}catch(Oe){c(new $APP.n(null,4,[B$,e$,z$,$APP.fH(Oe),C$,Yb,D$,Tf],null)),Zd=vb}Ic=$APP.r(function(){var Oe=$APP.A.g(q$,Uf);return Oe?mk:Oe}())?null:Yb;ne=$APP.r(function(){var Oe=
$APP.A.g(q$,Uf);return Oe?mk:Oe}())?null:Yb;Me=Uf;hd=$APP.z(hd);vb=Zd;Yb=Ic;Ic=ne}}}}(),da=$APP.B.j(M,0,null),ia=$APP.B.j(M,1,null),ja=$APP.B.j(M,2,null),sa=c$(l,ia,$APP.fe.g(f,ia)),ta=function(){var vb=d$(da,ia,ja,sa);return $APP.x(ea)?$APP.jo.A(vb,$APP.Nk,new $APP.J(null,2,5,$APP.N,[x$,k$],null),function(Yb){return $APP.Rg.g($APP.lg(ea),Yb)}):vb}(),wa=$APP.r(h)?$APP.Md($APP.Qk.l($APP.F([h,ta])),$APP.Nd(ta)):ta;if($APP.r(D)){a=$APP.x($APP.Kh(wa));b=null;for(var ya=0,Ca=0;;)if(Ca<ya){var Ha=b.ba(null,
Ca);$APP.he(D,Ha)||c(new $APP.n(null,4,[B$,y$,z$,["Unknown option: ",$APP.t.h(Ha)].join(""),y$,D,C$,Ha],null));Ca+=1}else if(a=$APP.x(a))b=a,$APP.Yd(b)?(a=$APP.uc(b),Ca=$APP.vc(b),b=a,ya=$APP.xd(a),a=Ca):(a=$APP.y(b),$APP.he(D,a)||c(new $APP.n(null,4,[B$,y$,z$,["Unknown option: ",$APP.t.h(a)].join(""),y$,D,C$,a],null)),a=$APP.z(b),b=null,ya=0),Ca=0;else break}if($APP.r(m))for(a=$APP.x(m),b=null,Ca=ya=0;;)if(Ca<ya)Ha=b.ba(null,Ca),$APP.r($APP.aH(wa,Ha))||c(new $APP.n(null,4,[B$,$APP.bF,z$,["Required option: ",
$APP.t.h(Ha)].join(""),$APP.bF,m,C$,Ha],null)),Ca+=1;else if(a=$APP.x(a))b=a,$APP.Yd(b)?(a=$APP.uc(b),Ca=$APP.vc(b),b=a,ya=$APP.xd(a),a=Ca):(a=$APP.y(b),$APP.r($APP.aH(wa,a))||c(new $APP.n(null,4,[B$,$APP.bF,z$,["Required option: ",$APP.t.h(a)].join(""),$APP.bF,m,C$,a],null)),a=$APP.z(b),b=null,ya=0),Ca=0;else break;if($APP.r(I))for(var Da=$APP.x(I),Aa=null,Oa=0,Sa=0;;)if(Sa<Oa){var db=Aa.ba(null,Sa),ub=$APP.B.j(db,0,null),Bb=$APP.B.j(db,1,null),Xb=function(){var vb=(vb=$APP.Vd(Bb))?E$.h(Bb):vb;return $APP.r(vb)?
vb:Bb}(),qc=$APP.aH(wa,ub);if($APP.r(qc)){var $c=qc,Sb=$APP.B.j($c,0,null),nf=$APP.B.j($c,1,null);if(!$APP.r(Xb.h?Xb.h(nf):Xb.call(null,nf))){var ik=function(){var vb=F$.h(Bb);return $APP.r(vb)?vb:function(){return function(Yb){var Ic=$APP.jf(Yb);Yb=$APP.fe.g(Ic,C$);Ic=$APP.fe.g(Ic,D$);return["Invalid value for option ",$APP.t.h(Yb),": ",$APP.t.h(Ic)].join("")}}(Da,Aa,Oa,Sa,vb,$c,Sb,nf,qc,Xb,db,ub,Bb,d,e,f,k,l,m,h,p,q,v,D,I,O,c,P,W,ca,ha,na,pa,fa,E,C,ea,K,M,da,ia,ja,sa,ta,wa)}();c(new $APP.n(null,
5,[B$,g$,z$,function(){var vb=new $APP.n(null,2,[C$,ub,D$,nf],null);return ik.h?ik.h(vb):ik.call(null,vb)}(),g$,I,C$,ub,D$,nf],null))}}Sa+=1}else{var yl=$APP.x(Da);if(yl){var vi=yl;if($APP.Yd(vi))ya=$APP.uc(vi),a=$APP.vc(vi),b=ya,ya=$APP.xd(ya),Da=a,Aa=b,Oa=ya;else{var jk=$APP.y(vi),kk=$APP.B.j(jk,0,null),rj=$APP.B.j(jk,1,null),lk=function(){var vb=(vb=$APP.Vd(rj))?E$.h(rj):vb;return $APP.r(vb)?vb:rj}(),zl=$APP.aH(wa,kk);if($APP.r(zl)){var Hc=zl,sj=$APP.B.j(Hc,0,null),wi=$APP.B.j(Hc,1,null);if(!$APP.r(lk.h?
lk.h(wi):lk.call(null,wi))){var Al=function(){var vb=F$.h(rj);return $APP.r(vb)?vb:function(){return function(Yb){var Ic=$APP.jf(Yb);Yb=$APP.fe.g(Ic,C$);Ic=$APP.fe.g(Ic,D$);return["Invalid value for option ",$APP.t.h(Yb),": ",$APP.t.h(Ic)].join("")}}(Da,Aa,Oa,Sa,vb,Hc,sj,wi,zl,lk,jk,kk,rj,vi,yl,d,e,f,k,l,m,h,p,q,v,D,I,O,c,P,W,ca,ha,na,pa,fa,E,C,ea,K,M,da,ia,ja,sa,ta,wa)}();c(new $APP.n(null,5,[B$,g$,z$,function(){var vb=new $APP.n(null,2,[C$,kk,D$,wi],null);return Al.h?Al.h(vb):Al.call(null,vb)}(),
g$,I,C$,kk,D$,wi],null))}}Da=$APP.z(vi);Aa=null;Oa=0}Sa=0}else break}return wa},Qha=function(a,b){a=Pha(a,b);b=x$.h($APP.Nd(a));return $APP.Rh.j(b,$APP.JH,$APP.Rk.g(a,x$))},Rha=function(a,b){var c=$APP.Of($APP.xd(a),b);b=$APP.B.j(c,0,null);c=$APP.B.j(c,1,null);return $APP.A.g(b,a)?c:null},K$=function(a,b){$APP.Jf(G$,!1);a.setPrompt([$APP.t.h($APP.u(H$)),"\x3d\x3e "].join(""));a.prompt();return $APP.gk($APP.u(I$))?null:J$.g?J$.g(b,a):J$.call(null,b,a)},L$=function(a){var b=$APP.Bk(a);a=$APP.Ck(a);
var c=$APP.gH($APP.u(I$));b=$APP.Nf.g(b-1,c);c=$APP.x(b);b=$APP.y(c);c=$APP.z(c);a=$APP.r(b)?$APP.ji.g(b,a):null;$APP.Jf(I$,$APP.Jp.g("\n",$APP.He(a,c)))},Tha=function(a,b,c){var d=function(){var f=$APP.lr;$APP.lr=$APP.u(H$);try{a:{var k=$APP.La;$APP.La=!0;try{var l=$APP.Ri.l($APP.F([a]));break a}finally{$APP.La=k}l=void 0}return $APP.ru(l,new $APP.n(null,3,[$APP.Lp,$APP.Op,$APP.Fr,Sha,$APP.gu,!0],null),null)}finally{$APP.lr=f}}(),e=$APP.jf(d);d=$APP.fe.g(e,$APP.qu);e=$APP.fe.g(e,$APP.T);d=$APP.Zj("(async function () {\n%s\n}) ()",
e$),k=$APP.fe.g(e,f$);c=$APP.fe.g(e,$APP.Dm);var l=$APP.fe.g(e,$APP.aF);e=$APP.fe.g(e,g$);b=$APP.r(f)?$APP.Tm.J(b,e$,$APP.Rh,d,f):b;b=$APP.r(k)?$APP.Tm.j(b,f$,function(m){if($APP.he(m,k))throw $APP.cl.g(["Conflicting alias ",$APP.t.h(k)," between ",$APP.t.h($APP.fe.g(m,k))," and ",$APP.t.h(d)].join(""),new $APP.n(null,1,[f$,k],null));return $APP.Rh.j(m,k,d)}):b;b=$APP.r(l)?$APP.Tm.j(b,$APP.aF,$APP.Xq.g(function(m){return $APP.Ee.g(m,d)},$APP.Vh)):b;b=$APP.r(e)?$APP.Tm.J(b,g$,$APP.Rh,d,e):b;return $APP.r(c)?
$APP.Tm.J(b,h$,$APP.Rh,d,c):b},$APP.hf,a)},l$=function(a,b){b=$APP.jf(b);var c=$APP.fe.g(b,i$);b=$APP.bH(function(d){var e=$APP.r(c)?null:$APP.qa(d,":");return!($APP.r(e)?e:$APP.qa(d,"-"))},a);a=$APP.B.j(b,0,null);b=$APP.B.j(b,1,null);return new $APP.n(null,2,[j$,a,k$,b],null)},n$=function(a,b){if($APP.r(b))if($APP.x(a)){var c=$APP.xd(a),d=$APP.$e(c,b);c=c<d?c:d;a=new $APP.I(null,2,5,$APP.N,[$APP.R.g($APP.Su.g(b,a),$APP.Nf.g(c,a)),$APP.Nf.g(c,b)],null)}else a=new $APP.I(null,2,5,$APP.N,[a,b],null);
else a=new $APP.I(null,2,5,$APP.N,[a,b],null);b=a;a=$APP.B.j(b,0,null);b=$APP.B.j(b,1,null);return new $APP.n(null,2,[k$,a,m$,b],null)},v$=function(a,b,c,d,e){var f=Z9(a),k="string"===typeof a?$APP.B.j(a,1,null):null,l;if(l=$APP.A.g(f,"-")){try{var m=Y9($APP.t.h(k))}catch(h){m=null}l=$APP.Za(m)}b=$APP.r(b)?b:l?o$:null;f=$APP.A.g(":",f);c=$APP.Qh.g(o$,b)&&f&&($APP.A.g(p$,d)||$APP.Za(c)||$APP.A.g(e,c));d=$APP.r(b)?b:c?q$:null;a=l?$APP.r(k)?$APP.Qh.g("-",k)&&2<$APP.xd(a):k:null;return new $APP.n(null,
5,[$APP.dx,d,r$,l,s$,a,t$,c,u$,f],null)},Pha=function(a,b){function c(vb){vb=$APP.Qk.l($APP.F([new $APP.n(null,2,[w$,d,$APP.Xk,x$],null),vb]));return O.h?O.h(vb):O.call(null,vb)}var d=w$.h(b),e=$APP.r(d)?V9(b,$APP.F([Lha(d)])):b,f=e$.h(e),k=function(){var vb=f$.h(e);return $APP.r(vb)?vb:$APP.Jr.h(e)}(),l=Mha.h(e),m=$APP.aF.h(e),h=h$.h(e),p=i$.h(e),q=function(){var vb=y$.h(e);return $APP.r(vb)?vb:Nha.h(e)}(),v=$APP.Zh($APP.R.l($APP.Kh($APP.Vd(d)?d:$APP.Rg.g($APP.hf,d)),$APP.Oh(k),$APP.F([$APP.Kh(f)]))),
D=$APP.A.g(!0,q)?v:null==q?null:$APP.Zh(q),J=g$.h(e),O=function(){var vb=Oha.h(e);return $APP.r(vb)?vb:function(Yb){Yb=$APP.jf(Yb);var Ic=$APP.fe.g(Yb,z$);throw $APP.cl.g(Ic,Yb);}}(),P=l$(a,null),W=$APP.jf(P),ca=$APP.fe.g(W,j$),ia=$APP.fe.g(W,k$),na=function(){var vb=m$.h(e);vb=$APP.r(vb)?vb:A$.h(e);return $APP.r(vb)?n$(ca,vb):new $APP.n(null,2,[m$,null,k$,ia],null)}(),pa=$APP.jf(na),fa=$APP.fe.g(pa,k$),E=$APP.fe.g(pa,m$),C=$APP.Qh.g(fa,ia)?new $APP.I(null,2,5,$APP.N,[null,$APP.R.g(fa,ia)],null):
new $APP.I(null,2,5,$APP.N,[ca,ia],null),ea=$APP.B.j(C,0,null),K=$APP.B.j(C,1,null),M=function(){for(var vb=$APP.hf,Yb=null,Ic=null,Ne=$APP.r(p)?o$:null,hd=$APP.x(K),Kg=E;;){if($APP.Za(hd))return new $APP.I(null,3,5,$APP.N,[vb,Yb,Ic],null);var og=$APP.y(hd),Uc=og instanceof $APP.H;if(Uc){Yb=d$(vb,Yb,Ic,null);var ne=og;hd=$APP.z(hd);vb=Yb;Yb=ne}else{var Bl=!0===og,Tf=$APP.t.h(og);ne=c$(l,Yb,$APP.fe.g(f,Yb));var xi=$APP.fe.g(f,Yb),Cl=v$(Tf,Ne,Yb,xi,Ic),Lh=$APP.jf(Cl),Dl=$APP.fe.g(Lh,r$),Mh=$APP.fe.g(Lh,
s$),El=$APP.fe.g(Lh,t$),Uf=$APP.fe.g(Lh,$APP.dx),nk=$APP.fe.g(Lh,u$);if($APP.r(function(){var Pe=Dl;return $APP.r(Pe)?Pe:El}())){var Yc=$APP.qa(Tf,"--"),ok=Yc&&$APP.A.g("--",Tf);if(ok){var Fl=$APP.z(hd);return new $APP.I(null,3,5,$APP.N,[function(){var Pe=vb;return Fl?$APP.jo.A(Pe,$APP.Uu,new $APP.I(null,2,5,$APP.N,[x$,k$],null),$APP.lg(Fl)):Pe}(),Yb,Ic],null)}var pk=Yc?$APP.ji.g(Tf,2):$APP.Zj(Tf,/^(:|-|)/,""),zf=Yc?$APP.Fr.g(pk,/=/):new $APP.I(null,1,5,$APP.N,[pk],null),Sd=$APP.B.j(zf,0,null),Ce=
$APP.B.j(zf,1,null),Tb=$APP.zi.h(Sd),Ec=$APP.fe.j(k,Tb,Tb);if($APP.r(Ce))Ic=d$(vb,Yb,Ic,ne),Yb=Ec,Ne=Uf,hd=$APP.He(Ce,$APP.cd(hd)),vb=Ic,Ic=null;else{var Ab=$APP.z(hd),Oe=$APP.y(Ab),qw=v$(Oe,Uf,Yb,xi,Ic);if($APP.r(function(){var Pe=r$.h(qw);return $APP.r(Pe)?Pe:$APP.Qd(Ab)}()))if($APP.r(Mh)){var rw=$APP.ai(Ec);Ic=$APP.Yp.l(function(){return function(Pe){return new $APP.I(null,2,5,$APP.N,[["-",$APP.t.h(Pe)].join(""),!0],null)}}(vb,Yb,Ic,Ne,hd,Kg,rw,Ab,Oe,qw,pk,zf,Sd,Ce,Tb,Ec,Yc,ok,Bl,Tf,ne,xi,Cl,Lh,
Dl,Mh,El,Uf,nk,og,Uc,d,e,f,k,l,m,h,p,q,v,D,J,O,c,P,W,ca,ia,na,pa,fa,E,C,ea,K),$APP.F([rw]));hd=$APP.R.g(Ic,Ab);Ne=Uf;Ic=Yb=null}else hd=$APP.he(v,Ec)?null:$APP.RG($APP.t.h(Ec),":no-"),Ne=$APP.r(hd)?$APP.zi.h($APP.Zj($APP.t.h(Ec),":no-","")):Ec,hd=$APP.He($APP.Za(hd),Ab),Yb=d$(vb,Yb,Ic,ne),ne=Ne,Ne=Uf,vb=Yb,Yb=ne;else Yb=d$(vb,Yb,Ic,ne),ne=Ec,Ne=Uf,hd=Ab,vb=Yb,Yb=ne}}else if(ok=$APP.A.g(p$,xi)&&$APP.Qh.g(Tf,"true")&&$APP.Qh.g(Tf,"false")||$APP.A.g(Ic,Yb)&&$APP.Za(ne))if(Kg=$APP.r(hd)?$APP.r(Kg)?n$(hd,
Kg):new $APP.n(null,1,[k$,hd],null):new $APP.n(null,1,[k$,hd],null),Ne=$APP.jf(Kg),Kg=$APP.fe.g(Ne,k$),Ne=$APP.fe.g(Ne,m$),$APP.Qh.g(hd,Kg))ne=Ne,Ne=Uf,hd=Kg,Kg=ne;else return new $APP.I(null,3,5,$APP.N,[$APP.jo.A(vb,$APP.Uu,new $APP.I(null,2,5,$APP.N,[x$,k$],null),$APP.lg(hd)),Yb,Ic],null);else{try{var Zd=Kha(vb,Yb,ne,Gha(xi),Tf,Bl)}catch(Pe){c(new $APP.n(null,4,[B$,e$,z$,$APP.fH(Pe),C$,Yb,D$,Tf],null)),Zd=vb}Ic=$APP.r(function(){var Pe=$APP.A.g(q$,Uf);return Pe?nk:Pe}())?null:Yb;ne=$APP.r(function(){var Pe=
$APP.A.g(q$,Uf);return Pe?nk:Pe}())?null:Yb;Ne=Uf;hd=$APP.z(hd);vb=Zd;Yb=Ic;Ic=ne}}}}(),da=$APP.B.j(M,0,null),ha=$APP.B.j(M,1,null),ja=$APP.B.j(M,2,null),sa=c$(l,ha,$APP.fe.g(f,ha)),ta=function(){var vb=d$(da,ha,ja,sa);return $APP.x(ea)?$APP.jo.A(vb,$APP.Nk,new $APP.I(null,2,5,$APP.N,[x$,k$],null),function(Yb){return $APP.Rg.g($APP.lg(ea),Yb)}):vb}(),wa=$APP.r(h)?$APP.Md($APP.Qk.l($APP.F([h,ta])),$APP.Nd(ta)):ta;if($APP.r(D)){a=$APP.x($APP.Kh(wa));b=null;for(var ya=0,Ca=0;;)if(Ca<ya){var Ha=b.ba(null,
Ca);$APP.he(D,Ha)||c(new $APP.n(null,4,[B$,y$,z$,["Unknown option: ",$APP.t.h(Ha)].join(""),y$,D,C$,Ha],null));Ca+=1}else if(a=$APP.x(a))b=a,$APP.Yd(b)?(a=$APP.uc(b),Ca=$APP.vc(b),b=a,ya=$APP.xd(a),a=Ca):(a=$APP.y(b),$APP.he(D,a)||c(new $APP.n(null,4,[B$,y$,z$,["Unknown option: ",$APP.t.h(a)].join(""),y$,D,C$,a],null)),a=$APP.z(b),b=null,ya=0),Ca=0;else break}if($APP.r(m))for(a=$APP.x(m),b=null,Ca=ya=0;;)if(Ca<ya)Ha=b.ba(null,Ca),$APP.r($APP.aH(wa,Ha))||c(new $APP.n(null,4,[B$,$APP.aF,z$,["Required option: ",
$APP.t.h(Ha)].join(""),$APP.aF,m,C$,Ha],null)),Ca+=1;else if(a=$APP.x(a))b=a,$APP.Yd(b)?(a=$APP.uc(b),Ca=$APP.vc(b),b=a,ya=$APP.xd(a),a=Ca):(a=$APP.y(b),$APP.r($APP.aH(wa,a))||c(new $APP.n(null,4,[B$,$APP.aF,z$,["Required option: ",$APP.t.h(a)].join(""),$APP.aF,m,C$,a],null)),a=$APP.z(b),b=null,ya=0),Ca=0;else break;if($APP.r(J))for(var Da=$APP.x(J),Aa=null,Oa=0,Sa=0;;)if(Sa<Oa){var db=Aa.ba(null,Sa),ub=$APP.B.j(db,0,null),Bb=$APP.B.j(db,1,null),Xb=function(){var vb=(vb=$APP.Vd(Bb))?E$.h(Bb):vb;return $APP.r(vb)?
vb:Bb}(),qc=$APP.aH(wa,ub);if($APP.r(qc)){var $c=qc,Sb=$APP.B.j($c,0,null),nf=$APP.B.j($c,1,null);if(!$APP.r(Xb.h?Xb.h(nf):Xb.call(null,nf))){var jk=function(){var vb=F$.h(Bb);return $APP.r(vb)?vb:function(){return function(Yb){var Ic=$APP.jf(Yb);Yb=$APP.fe.g(Ic,C$);Ic=$APP.fe.g(Ic,D$);return["Invalid value for option ",$APP.t.h(Yb),": ",$APP.t.h(Ic)].join("")}}(Da,Aa,Oa,Sa,vb,$c,Sb,nf,qc,Xb,db,ub,Bb,d,e,f,k,l,m,h,p,q,v,D,J,O,c,P,W,ca,ia,na,pa,fa,E,C,ea,K,M,da,ha,ja,sa,ta,wa)}();c(new $APP.n(null,
5,[B$,g$,z$,function(){var vb=new $APP.n(null,2,[C$,ub,D$,nf],null);return jk.h?jk.h(vb):jk.call(null,vb)}(),g$,J,C$,ub,D$,nf],null))}}Sa+=1}else{var yl=$APP.x(Da);if(yl){var vi=yl;if($APP.Yd(vi))ya=$APP.uc(vi),a=$APP.vc(vi),b=ya,ya=$APP.xd(ya),Da=a,Aa=b,Oa=ya;else{var kk=$APP.y(vi),lk=$APP.B.j(kk,0,null),rj=$APP.B.j(kk,1,null),mk=function(){var vb=(vb=$APP.Vd(rj))?E$.h(rj):vb;return $APP.r(vb)?vb:rj}(),zl=$APP.aH(wa,lk);if($APP.r(zl)){var Hc=zl,sj=$APP.B.j(Hc,0,null),wi=$APP.B.j(Hc,1,null);if(!$APP.r(mk.h?
mk.h(wi):mk.call(null,wi))){var Al=function(){var vb=F$.h(rj);return $APP.r(vb)?vb:function(){return function(Yb){var Ic=$APP.jf(Yb);Yb=$APP.fe.g(Ic,C$);Ic=$APP.fe.g(Ic,D$);return["Invalid value for option ",$APP.t.h(Yb),": ",$APP.t.h(Ic)].join("")}}(Da,Aa,Oa,Sa,vb,Hc,sj,wi,zl,mk,kk,lk,rj,vi,yl,d,e,f,k,l,m,h,p,q,v,D,J,O,c,P,W,ca,ia,na,pa,fa,E,C,ea,K,M,da,ha,ja,sa,ta,wa)}();c(new $APP.n(null,5,[B$,g$,z$,function(){var vb=new $APP.n(null,2,[C$,lk,D$,wi],null);return Al.h?Al.h(vb):Al.call(null,vb)}(),
g$,J,C$,lk,D$,wi],null))}}Da=$APP.z(vi);Aa=null;Oa=0}Sa=0}else break}return wa},Qha=function(a,b){a=Pha(a,b);b=x$.h($APP.Nd(a));return $APP.Rh.j(b,$APP.JH,$APP.Rk.g(a,x$))},Rha=function(a,b){var c=$APP.Of($APP.xd(a),b);b=$APP.B.j(c,0,null);c=$APP.B.j(c,1,null);return $APP.A.g(b,a)?c:null},K$=function(a,b){$APP.Jf(G$,!1);a.setPrompt([$APP.t.h($APP.u(H$)),"\x3d\x3e "].join(""));a.prompt();return $APP.gk($APP.u(I$))?null:J$.g?J$.g(b,a):J$.call(null,b,a)},L$=function(a){var b=$APP.Bk(a);a=$APP.Ck(a);
var c=$APP.gH($APP.u(I$));b=$APP.Nf.g(b-1,c);c=$APP.x(b);b=$APP.y(c);c=$APP.z(c);a=$APP.r(b)?$APP.ji.g(b,a):null;$APP.Jf(I$,$APP.Jp.g("\n",$APP.He(a,c)))},Tha=function(a,b,c){var d=function(){var f=$APP.mr;$APP.mr=$APP.u(H$);try{a:{var k=$APP.La;$APP.La=!0;try{var l=$APP.Ri.l($APP.F([a]));break a}finally{$APP.La=k}l=void 0}return $APP.ru(l,new $APP.n(null,3,[$APP.Lp,$APP.Op,$APP.Gr,Sha,$APP.gu,!0],null),null)}finally{$APP.mr=f}}(),e=$APP.jf(d);d=$APP.fe.g(e,$APP.qu);e=$APP.fe.g(e,$APP.T);d=$APP.Zj("(async function () {\n%s\n}) ()",
"%s",d);$APP.Jf(H$,e);return Promise.resolve(eval(d)).then(function(f){$APP.r(c)?c.write(esm_import$node_util.inspect(f),"\n"):console.log(f);return J$.g?J$.g(c,b):J$.call(null,c,b)}).catch(function(f){esm_import$squint_cljs$core.println(f);return K$(b,c)})},J$=function(a,b){if($APP.r(function(){var e=$APP.u(G$);return $APP.r(e)?e:!$APP.gk($APP.u(I$))}())){$APP.Jf(G$,!0);var c=$APP.hp($APP.u(I$)),d=function(){try{return $APP.jp(c,$APP.du)}catch(f){var e=f;if(-1!=$APP.fH(e).indexOf("EOF while reading"))return M$;

@@ -35,3 +35,3 @@ L$(c);$APP.FH.l($APP.F([$APP.t.h(e)]));return N$}}();if($APP.A.g(N$,d))return K$(b,a);if($APP.A.g(M$,d))return $APP.Jf(G$,!1);L$(c);return $APP.A.g($APP.ip,d)?K$(b,a):Tha(d,b,a)}return null},O$=function(a,b){a.on("line",function(c){$APP.Wi.A(I$,$APP.t,c,"\n");return J$(b,a)})},Uha=function(a){var b=esm_import$readline.createInterface({input:a,output:a});O$(b,a);a.setNoDelay(!0);return a.on("close",function(){return $APP.GH.l($APP.F(["Client closed connection."]))})},P$=function(a,b,c){return $APP.r(c)?

a])),e=$APP.jH.h(c),f=S$.h(c),k=$APP.zH.g(c,".");a=$APP.Qd(b)?$APP.lg($APP.Yp.l(T$,$APP.F([e]))):b;b=$APP.zH.h(d);if($APP.r(b)&&"string"!==typeof b)throw Error("output-dir must be a string");return $APP.r(U$.h(d))?($APP.GH.l($APP.F(["Usage: squint compile \x3cfiles\x3e \x3copts\x3e"])),$APP.GH(),$APP.GH.l($APP.F(["Options:\n\n--elide-imports: do not include imports\n--elide-exports: do not include exports\n--extension: default extension for JS files\n--output-dir: output directory for JS files"]))):
$APP.oe.j(function(l,m){return Promise.resolve(l).then(function(){return $APP.he(new $APP.Uh(null,new $APP.n(null,2,[".cljc",null,".cljs",null],null),null),esm_import$path.extname(m))?($APP.GH.l($APP.F(["[squint] Compiling CLJS file:",m])),$APP.AH($APP.Rh.l(d,$APP.vH,m,$APP.F([$APP.tr,function(h){return Q$(d,m,h)}])))):R$(f,m,k,e)}).then(function(h){h=$APP.jf(h);h=$APP.fe.g(h,$APP.xH);$APP.r(h)&&$APP.GH.l($APP.F(["[squint] Wrote file:",h]));return h})},null,a)},t$=new $APP.H(null,"kwd-opt","kwd-opt",
$APP.oe.j(function(l,m){return Promise.resolve(l).then(function(){return $APP.he(new $APP.Uh(null,new $APP.n(null,2,[".cljc",null,".cljs",null],null),null),esm_import$path.extname(m))?($APP.GH.l($APP.F(["[squint] Compiling CLJS file:",m])),$APP.AH($APP.Rh.l(d,$APP.vH,m,$APP.F([$APP.ur,function(h){return Q$(d,m,h)}])))):R$(f,m,k,e)}).then(function(h){h=$APP.jf(h);h=$APP.fe.g(h,$APP.xH);$APP.r(h)&&$APP.GH.l($APP.F(["[squint] Wrote file:",h]));return h})},null,a)},t$=new $APP.H(null,"kwd-opt","kwd-opt",
1313309243),o$=new $APP.H(null,"hyphens","hyphens",2113533609),w$=new $APP.H(null,"spec","spec",347520401),e$=new $APP.H(null,"coerce","coerce",1917884504),y$=new $APP.H(null,"restrict","restrict",-1071101511),q$=new $APP.H(null,"keywords","keywords",1526959054),N$=new $APP.H("squint.repl.node","continue","squint.repl.node/continue",1558138730),z$=new $APP.H(null,"msg","msg",-1386103444),Vha=new $APP.H(null,"show","show",-576705889),p$=new $APP.H(null,"boolean","boolean",-1919418404),Hha=new $APP.H(null,

@@ -41,15 +41,15 @@ "input","input",556931961),W$=new $APP.H(null,"rest-cmds","rest-cmds",-423198324),x$=new $APP.H("org.babashka","cli","org.babashka/cli",1162430315),m$=new $APP.H(null,"args-\x3eopts","args-\x3eopts",964391046),f$=new $APP.H(null,"alias","alias",-2039751630),Mha=new $APP.H(null,"collect","collect",-284321549),g$=new $APP.H(null,"validate","validate",-201300827),s$=new $APP.H(null,"composite-opt","composite-opt",-2021292928),Wha=new $APP.H(null,"run","run",-1821166653),r$=new $APP.H(null,"hyphen-opt",

"closed","closed",-919675359),M$=new $APP.H("squint.repl.node","eof-while-reading","squint.repl.node/eof-while-reading",198833493),Oha=new $APP.H(null,"error-fn","error-fn",-171437615),C$=new $APP.H(null,"option","option",65132272),h$=new $APP.H(null,"exec-args","exec-args",-1860766354),F$=new $APP.H(null,"ex-msg","ex-msg",-1111774387),Dha=new $APP.H(null,"s","s",1705939918),A$=new $APP.H(null,"cmds-opts","cmds-opts",-390130362),Xha=new $APP.H(null,"h","h",1109658740),j$=new $APP.H(null,"cmds","cmds",
-1841503952);var I$=$APP.Vi.h(""),G$=$APP.Vi.h(!1),H$=$APP.Vi.h($APP.lr),X$,Y$=process.stdout.isTTY;X$=$APP.r(Y$)?process.stdin.setRawMode:Y$;var Sha=$APP.Vi.h($APP.hf),Z$=function Z$(a){switch(arguments.length){case 0:return Z$.v();case 1:return Z$.h(arguments[0]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};Z$.v=function(){return Z$.h(null)};
Z$.h=function(a){$APP.lr=$APP.ky;$APP.$q=$APP.kr=!0;var b=function(){var d=$APP.IH.h(a);return $APP.r(d)?d:0}(),c=esm_import$net.createServer(Uha);return c.listen(b,"127.0.0.1",function(){var d=c.address(),e=d.address;return $APP.GH.l($APP.F([["Socket REPL listening on port ",$APP.t.h(d.port)," on host ",$APP.t.h(e)].join("")]))})};Z$.m=1;
-1841503952);var I$=$APP.Vi.h(""),G$=$APP.Vi.h(!1),H$=$APP.Vi.h($APP.mr),X$,Y$=process.stdout.isTTY;X$=$APP.r(Y$)?process.stdin.setRawMode:Y$;var Sha=$APP.Vi.h($APP.hf),Z$=function Z$(a){switch(arguments.length){case 0:return Z$.v();case 1:return Z$.h(arguments[0]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};Z$.v=function(){return Z$.h(null)};
Z$.h=function(a){$APP.mr=$APP.ly;$APP.ar=$APP.lr=!0;var b=function(){var d=$APP.IH.h(a);return $APP.r(d)?d:0}(),c=esm_import$net.createServer(Uha);return c.listen(b,"127.0.0.1",function(){var d=c.address(),e=d.address;return $APP.GH.l($APP.F([["Socket REPL listening on port ",$APP.t.h(d.port)," on host ",$APP.t.h(e)].join("")]))})};Z$.m=1;
var $$=function $$(a){switch(arguments.length){case 0:return $$.v();case 1:return $$.h(arguments[0]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$$.v=function(){return $$.h(null)};
$$.h=function(){$APP.lr=$APP.ky;$APP.$q=$APP.kr=!0;$APP.r(X$)&&process.stdin.setRawMode(!0);return Promise.resolve(eval("globalThis.user \x3d globalThis.user || {};")).then(function(){return new Promise(function(a){var b=$APP.r(null)?esm_import$readline.createInterface({input:null,output:null}):esm_import$readline.createInterface({input:process.stdin,output:process.stdout});O$(b,null);b.setPrompt([$APP.t.h($APP.u(H$)),"\x3d\x3e "].join(""));b.on("close",a);return b.prompt()})})};$$.m=1;var T$=function T$(a){var c=esm_import$fs.readdirSync(a);return $APP.lg($APP.Yp.l(function(d){d=esm_import$path.resolve(a,d);return $APP.r(esm_import$fs.lstatSync(d).isDirectory())?T$.h?T$.h(d):T$.call(null,d):new $APP.J(null,1,5,$APP.N,[d],null)},$APP.F([c])))},Yha=new $APP.J(null,7,5,$APP.N,[new $APP.n(null,3,[j$,new $APP.J(null,1,5,$APP.N,["run"],null),$APP.yo,function(a){a=$APP.jf(a);a=$APP.fe.g(a,$APP.JH);var b=$APP.u($APP.kH),c=$APP.Qk.l($APP.F([b,a]));a=$APP.jf(c);var d=$APP.fe.g(a,$APP.$k);
a=$APP.fe.g(a,U$);if($APP.r(a))return null;$APP.GH.l($APP.F(["[squint] Running",d]));return $APP.AH($APP.Rh.l(c,$APP.vH,d,$APP.F([$APP.tr,function(e){return Q$(c,d,e)}]))).then(function(e){e=$APP.jf(e);e=$APP.fe.g(e,$APP.xH);e=$APP.r(esm_import$path.isAbsolute(e))?e:[$APP.t.h(process.cwd()),"/",$APP.t.h(e)].join("");return shadow_esm_import(e)})},A$,new $APP.J(null,1,5,$APP.N,[$APP.$k],null)],null),new $APP.n(null,2,[j$,new $APP.J(null,1,5,$APP.N,["compile"],null),$APP.yo,function(a){var b=$APP.jf(a);
a=$APP.fe.g(b,W$);b=$APP.fe.g(b,$APP.JH);return V$(b,a)}],null),new $APP.n(null,2,[j$,new $APP.J(null,1,5,$APP.N,["repl"],null),$APP.yo,$$],null),new $APP.n(null,2,[j$,new $APP.J(null,1,5,$APP.N,["socket-repl"],null),$APP.yo,Z$],null),new $APP.n(null,2,[j$,new $APP.J(null,1,5,$APP.N,["nrepl-server"],null),$APP.yo,function(a){a=$APP.jf(a);var b=$APP.fe.g(a,$APP.JH);return shadow_esm_import("./node.nrepl_server.js").then(function(c){c=c.startServer;return c.h?c.h(b):c.call(null,b)})}],null),new $APP.n(null,
2,[j$,new $APP.J(null,1,5,$APP.N,["watch"],null),$APP.yo,function(a){var b=$APP.u($APP.kH),c=$APP.Qk.l($APP.F([b,a])),d=$APP.jH.h(b),e=$APP.zH.g(b,"."),f=S$.h(b);return shadow_esm_import("chokidar").catch(function(k){return console.error(k)}).then(function(k){k=k.watch;$APP.GH.l($APP.F(["[squint] Watching paths:",$APP.Jp.g(", ",d)]));for(var l=$APP.x(d),m=null,h=0,p=0;;)if(p<h){var q=m.ba(null,p);(k.h?k.h(q):k.call(null,q)).on("all",function(I,O,P,W,ca,ha,na,pa,fa,E,C){return function(ea,K){return $APP.r(esm_import$fs.existsSync(K))?
$APP.r(esm_import$fs.lstatSync(K).isDirectory())?null:$APP.he(new $APP.Uh(null,new $APP.n(null,2,["add",null,"change",null],null),null),ea)&&$APP.he(new $APP.Uh(null,new $APP.n(null,2,[".cljc",null,".cljs",null],null),null),esm_import$path.extname(K))?V$(pa,new $APP.J(null,1,5,$APP.N,[K],null)).catch(function(){return function(M){return console.error(M)}}(I,O,P,W,ca,ha,na,pa,fa,E,C)):R$(C,K,E,fa):null}}(l,m,h,p,q,k,b,c,d,e,f));p+=1}else{var v=$APP.x(l);if(v){var D=v;$APP.Yd(D)?(l=$APP.uc(D),h=$APP.vc(D),
m=l,D=$APP.xd(l),l=h,h=D):(q=$APP.y(D),(k.h?k.h(q):k.call(null,q)).on("all",function(I,O,P,W,ca,ha,na,pa,fa,E,C,ea,K){return function(M,da){return $APP.r(esm_import$fs.existsSync(da))?$APP.r(esm_import$fs.lstatSync(da).isDirectory())?null:$APP.he(new $APP.Uh(null,new $APP.n(null,2,["add",null,"change",null],null),null),M)&&$APP.he(new $APP.Uh(null,new $APP.n(null,2,[".cljc",null,".cljs",null],null),null),esm_import$path.extname(da))?V$(E,new $APP.J(null,1,5,$APP.N,[da],null)).catch(function(){return function(ia){return console.error(ia)}}(I,
O,P,W,ca,ha,na,pa,fa,E,C,ea,K)):R$(K,da,ea,C):null}}(l,m,h,p,q,D,v,k,b,c,d,e,f)),l=$APP.z(D),m=null,h=0);p=0}else return null}})}],null),new $APP.n(null,2,[j$,$APP.kg,$APP.yo,function(a){a=$APP.jf(a);var b=$APP.fe.g(a,W$),c=$APP.fe.g(a,$APP.JH);a=$APP.KE.h(c);if($APP.r(a)){if($APP.r(U$.h(c)))return $APP.GH.l($APP.F(["Usage: squint -e \x3cexpr\x3e \x3copts\x3e\n\nOptions:\n\n--no-run: do not run compiled expression\n--show: print compiled expression"]));a=$APP.r($APP.Bt.h(c))?$APP.Zj("(do %s\n)",
"%s",a):a;a=$APP.QG.g(a,$APP.Rh.l(c,$APP.Bt,$APP.Bt.h(c),$APP.F([$APP.Fr,$APP.Vi.h(new $APP.n(null,1,[$APP.to,$APP.ky],null)),$APP.Lp,$APP.r($APP.Bt.h(c))?$APP.Op:$APP.Pp,$APP.gu,function(){var f=$APP.Bt.h(c);return $APP.r(f)?!1!==$APP.gu.h(c):f}()])));a=$APP.r($APP.Bt.h(c))?$APP.Zj("(async function() { %s })()","%s",a):a;var d=esm_import$fs.mkdtempSync(".tmp"),e=[$APP.t.h(d),"/squint.mjs"].join("");esm_import$fs.writeFileSync(e,a,"utf-8");$APP.r(Vha.h(c))&&$APP.GH.l($APP.F([a]));if(!1===Wha.h(c))return null;
e=$APP.r(esm_import$path.isAbsolute(e))?e:[$APP.t.h(process.cwd()),"/",e].join("");return($APP.r($APP.Bt.h(c))?Promise.resolve(eval(a)):shadow_esm_import(e)).then(function(f){return $APP.r($APP.Bt.h(c))?$APP.FH.l($APP.F([f])):null}).finally(function(){return esm_import$fs.rmSync(d,{force:!0,recursive:!0})})}return $APP.r(function(){var f=U$.h(c);return $APP.r(f)?f:$APP.A.g("help",$APP.y(b))||$APP.Qd(b)}())?$APP.GH.l($APP.F(["Squint v0.7.105\n\nUsage: squint \x3csubcommand\x3e \x3copts\x3e\n\nSubcommands:\n\n-e \x3cexpr\x3e Compile and run expression.\nrun \x3cfile.cljs\x3e Compile and run a file\nwatch Watch :paths in squint.edn\ncompile \x3cfile.cljs\x3e ... Compile file(s)\nrepl Start repl\nhelp Print this help\n\nUse squint \x3csubcommand\x3e --help to show more info."])):
V$(c,b)}],null)],null);(function(){var a=new $APP.n(null,2,[$APP.Ir,new $APP.n(null,1,[Xha,U$],null),e$,new $APP.n(null,4,[$APP.gu,p$,$APP.Jr,p$,$APP.zH,$APP.nl,$APP.Bt,p$],null)],null),b=l$(process.argv.slice(2),a),c=$APP.jf(b),d=$APP.fe.g(c,j$),e=$APP.fe.g(c,k$);return $APP.oe.j(function(f,k){f=$APP.jf(k);var l=$APP.fe.g(f,j$),m=$APP.fe.g(f,$APP.yo),h=Rha(l,d);if($APP.r(h)){k=function(){var v=null==h?null:$APP.x(h);return null==v?null:$APP.lg(v)}();k=$APP.R.g(k,e);f=Qha(k,V9(a,$APP.F([f])));k=$APP.jf(f);var p=$APP.fe.g(k,
$$.h=function(){$APP.mr=$APP.ly;$APP.ar=$APP.lr=!0;$APP.r(X$)&&process.stdin.setRawMode(!0);return Promise.resolve(eval("globalThis.user \x3d globalThis.user || {};")).then(function(){return new Promise(function(a){var b=$APP.r(null)?esm_import$readline.createInterface({input:null,output:null}):esm_import$readline.createInterface({input:process.stdin,output:process.stdout});O$(b,null);b.setPrompt([$APP.t.h($APP.u(H$)),"\x3d\x3e "].join(""));b.on("close",a);return b.prompt()})})};$$.m=1;var T$=function T$(a){var c=esm_import$fs.readdirSync(a);return $APP.lg($APP.Yp.l(function(d){d=esm_import$path.resolve(a,d);return $APP.r(esm_import$fs.lstatSync(d).isDirectory())?T$.h?T$.h(d):T$.call(null,d):new $APP.I(null,1,5,$APP.N,[d],null)},$APP.F([c])))},Yha=new $APP.I(null,7,5,$APP.N,[new $APP.n(null,3,[j$,new $APP.I(null,1,5,$APP.N,["run"],null),$APP.yo,function(a){a=$APP.jf(a);a=$APP.fe.g(a,$APP.JH);var b=$APP.u($APP.kH),c=$APP.Qk.l($APP.F([b,a]));a=$APP.jf(c);var d=$APP.fe.g(a,$APP.$k);
a=$APP.fe.g(a,U$);if($APP.r(a))return null;$APP.GH.l($APP.F(["[squint] Running",d]));return $APP.AH($APP.Rh.l(c,$APP.vH,d,$APP.F([$APP.ur,function(e){return Q$(c,d,e)}]))).then(function(e){e=$APP.jf(e);e=$APP.fe.g(e,$APP.xH);e=$APP.r(esm_import$path.isAbsolute(e))?e:[$APP.t.h(process.cwd()),"/",$APP.t.h(e)].join("");return shadow_esm_import(e)})},A$,new $APP.I(null,1,5,$APP.N,[$APP.$k],null)],null),new $APP.n(null,2,[j$,new $APP.I(null,1,5,$APP.N,["compile"],null),$APP.yo,function(a){var b=$APP.jf(a);
a=$APP.fe.g(b,W$);b=$APP.fe.g(b,$APP.JH);return V$(b,a)}],null),new $APP.n(null,2,[j$,new $APP.I(null,1,5,$APP.N,["repl"],null),$APP.yo,$$],null),new $APP.n(null,2,[j$,new $APP.I(null,1,5,$APP.N,["socket-repl"],null),$APP.yo,Z$],null),new $APP.n(null,2,[j$,new $APP.I(null,1,5,$APP.N,["nrepl-server"],null),$APP.yo,function(a){a=$APP.jf(a);var b=$APP.fe.g(a,$APP.JH);return shadow_esm_import("./node.nrepl_server.js").then(function(c){c=c.startServer;return c.h?c.h(b):c.call(null,b)})}],null),new $APP.n(null,
2,[j$,new $APP.I(null,1,5,$APP.N,["watch"],null),$APP.yo,function(a){var b=$APP.u($APP.kH),c=$APP.Qk.l($APP.F([b,a])),d=$APP.jH.h(b),e=$APP.zH.g(b,"."),f=S$.h(b);return shadow_esm_import("chokidar").catch(function(k){return console.error(k)}).then(function(k){k=k.watch;$APP.GH.l($APP.F(["[squint] Watching paths:",$APP.Jp.g(", ",d)]));for(var l=$APP.x(d),m=null,h=0,p=0;;)if(p<h){var q=m.ba(null,p);(k.h?k.h(q):k.call(null,q)).on("all",function(J,O,P,W,ca,ia,na,pa,fa,E,C){return function(ea,K){return $APP.r(esm_import$fs.existsSync(K))?
$APP.r(esm_import$fs.lstatSync(K).isDirectory())?null:$APP.he(new $APP.Uh(null,new $APP.n(null,2,["add",null,"change",null],null),null),ea)&&$APP.he(new $APP.Uh(null,new $APP.n(null,2,[".cljc",null,".cljs",null],null),null),esm_import$path.extname(K))?V$(pa,new $APP.I(null,1,5,$APP.N,[K],null)).catch(function(){return function(M){return console.error(M)}}(J,O,P,W,ca,ia,na,pa,fa,E,C)):R$(C,K,E,fa):null}}(l,m,h,p,q,k,b,c,d,e,f));p+=1}else{var v=$APP.x(l);if(v){var D=v;$APP.Yd(D)?(l=$APP.uc(D),h=$APP.vc(D),
m=l,D=$APP.xd(l),l=h,h=D):(q=$APP.y(D),(k.h?k.h(q):k.call(null,q)).on("all",function(J,O,P,W,ca,ia,na,pa,fa,E,C,ea,K){return function(M,da){return $APP.r(esm_import$fs.existsSync(da))?$APP.r(esm_import$fs.lstatSync(da).isDirectory())?null:$APP.he(new $APP.Uh(null,new $APP.n(null,2,["add",null,"change",null],null),null),M)&&$APP.he(new $APP.Uh(null,new $APP.n(null,2,[".cljc",null,".cljs",null],null),null),esm_import$path.extname(da))?V$(E,new $APP.I(null,1,5,$APP.N,[da],null)).catch(function(){return function(ha){return console.error(ha)}}(J,
O,P,W,ca,ia,na,pa,fa,E,C,ea,K)):R$(K,da,ea,C):null}}(l,m,h,p,q,D,v,k,b,c,d,e,f)),l=$APP.z(D),m=null,h=0);p=0}else return null}})}],null),new $APP.n(null,2,[j$,$APP.kg,$APP.yo,function(a){a=$APP.jf(a);var b=$APP.fe.g(a,W$),c=$APP.fe.g(a,$APP.JH);a=$APP.IE.h(c);if($APP.r(a)){if($APP.r(U$.h(c)))return $APP.GH.l($APP.F(["Usage: squint -e \x3cexpr\x3e \x3copts\x3e\n\nOptions:\n\n--no-run: do not run compiled expression\n--show: print compiled expression"]));a=$APP.r($APP.Zp.h(c))?$APP.Zj("(do %s\n)",
"%s",a):a;a=$APP.QG.g(a,$APP.Rh.l(c,$APP.Zp,$APP.Zp.h(c),$APP.F([$APP.Gr,$APP.Vi.h(new $APP.n(null,1,[$APP.to,$APP.ly],null)),$APP.Lp,$APP.r($APP.Zp.h(c))?$APP.Op:$APP.Pp,$APP.gu,function(){var f=$APP.Zp.h(c);return $APP.r(f)?!1!==$APP.gu.h(c):f}()])));a=$APP.r($APP.Zp.h(c))?$APP.Zj("(async function() { %s })()","%s",a):a;var d=esm_import$fs.mkdtempSync(".tmp"),e=[$APP.t.h(d),"/squint.mjs"].join("");esm_import$fs.writeFileSync(e,a,"utf-8");$APP.r(Vha.h(c))&&$APP.GH.l($APP.F([a]));if(!1===Wha.h(c))return null;
e=$APP.r(esm_import$path.isAbsolute(e))?e:[$APP.t.h(process.cwd()),"/",e].join("");return($APP.r($APP.Zp.h(c))?Promise.resolve(eval(a)):shadow_esm_import(e)).then(function(f){return $APP.r($APP.Zp.h(c))?$APP.FH.l($APP.F([f])):null}).finally(function(){return esm_import$fs.rmSync(d,{force:!0,recursive:!0})})}return $APP.r(function(){var f=U$.h(c);return $APP.r(f)?f:$APP.A.g("help",$APP.y(b))||$APP.Qd(b)}())?$APP.GH.l($APP.F(["Squint v0.7.106\n\nUsage: squint \x3csubcommand\x3e \x3copts\x3e\n\nSubcommands:\n\n-e \x3cexpr\x3e Compile and run expression.\nrun \x3cfile.cljs\x3e Compile and run a file\nwatch Watch :paths in squint.edn\ncompile \x3cfile.cljs\x3e ... Compile file(s)\nrepl Start repl\nhelp Print this help\n\nUse squint \x3csubcommand\x3e --help to show more info."])):
V$(c,b)}],null)],null);(function(){var a=new $APP.n(null,2,[$APP.Jr,new $APP.n(null,1,[Xha,U$],null),e$,new $APP.n(null,4,[$APP.gu,p$,$APP.Kr,p$,$APP.zH,$APP.nl,$APP.Zp,p$],null)],null),b=l$(process.argv.slice(2),a),c=$APP.jf(b),d=$APP.fe.g(c,j$),e=$APP.fe.g(c,k$);return $APP.oe.j(function(f,k){f=$APP.jf(k);var l=$APP.fe.g(f,j$),m=$APP.fe.g(f,$APP.yo),h=Rha(l,d);if($APP.r(h)){k=function(){var v=null==h?null:$APP.x(h);return null==v?null:$APP.lg(v)}();k=$APP.R.g(k,e);f=Qha(k,V9(a,$APP.F([f])));k=$APP.jf(f);var p=$APP.fe.g(k,
$APP.JH);f=$APP.fe.g(k,k$);k=$APP.fe.g(k,j$);var q=$APP.R.g(k,f);return $APP.ld(function(){var v=$APP.Rh.l(c,k$,q,$APP.F([W$,q,$APP.JH,p,$APP.ap,l]));return m.h?m.h(v):m.call(null,v)}())}return null},null,Yha)})();

@@ -6,12 +6,12 @@ import { $APP, shadow$provide, $jscomp } from "./compiler.js";

$APP.VG=function(a){return null!=a?a.D&512||$APP.Oc===a.Ce?!0:a.D?!1:$APP.cb($APP.yb,a):$APP.cb($APP.yb,a)};$APP.WG=function(a){return $APP.ee(a)||!1};$APP.XG=function(a){return"number"===typeof a};$APP.YG=function(){this.C=[]};$APP.ZG=function(a){return $APP.A.g(a,$APP.ie)?$APP.ie:function(b,c){var d=a.g?a.g(b,c):a.call(null,b,c);return"number"===typeof d?d:$APP.r(d)?-1:$APP.r(a.g?a.g(c,b):a.call(null,c,b))?1:0}};$APP.$G=function(a){$APP.pi("\n");return $APP.fe.g(a,$APP.Ga),null};
$APP.aH=function(a,b){return(null!=a?$APP.Oc===a.Hc||(a.wd?0:$APP.cb(UG,a)):$APP.cb(UG,a))?$APP.Db(a,b):null!=a&&$APP.VG(a)&&$APP.he(a,b)?new $APP.Ig(b,$APP.fe.g(a,b),null):null};$APP.bH=function(a,b){return new $APP.J(null,2,5,$APP.N,[$APP.bs.g(a,b),$APP.cs.g(a,b)],null)};$APP.cH=function(a,b){this.f=a;this.value=b;this.D=2147516416;this.M=1};$APP.dH=function(a){return Math.floor(Math.random()*a)};
$APP.aH=function(a,b){return(null!=a?$APP.Oc===a.Hc||(a.wd?0:$APP.cb(UG,a)):$APP.cb(UG,a))?$APP.Db(a,b):null!=a&&$APP.VG(a)&&$APP.he(a,b)?new $APP.Ig(b,$APP.fe.g(a,b),null):null};$APP.bH=function(a,b){return new $APP.I(null,2,5,$APP.N,[$APP.cs.g(a,b),$APP.ds.g(a,b)],null)};$APP.cH=function(a,b){this.f=a;this.value=b;this.D=2147516416;this.M=1};$APP.dH=function(a){return Math.floor(Math.random()*a)};
$APP.eH=function(){function a(){return $APP.dH(16).toString(16)}var b=(8|3&$APP.dH(16)).toString(16);return new $APP.nj([$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),"-",$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),"-4",$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),"-",$APP.t.h(b),$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),"-",$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),
$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a())].join("").toLowerCase())};$APP.fH=function(a){return a instanceof Error?a.message:null};$APP.gH=function(a){return $APP.Er.g(a,/\n|\r\n/)};hH=function(a,b){return $APP.r($APP.r(b)?$APP.Qh.g(b,""):b)?$APP.Em(a,$APP.Kk(b)):null};iH=function(a,b){return $APP.Ef(function(c){c=esm_import$path.resolve(a,[$APP.t.h(b),".",$APP.t.h(c)].join(""));return $APP.r(esm_import$fs.existsSync(c))?c:null},new $APP.J(null,2,5,$APP.N,["cljc","cljs"],null))};
$APP.lH=function(a){var b=$APP.Zj($APP.Zj($APP.t.h(a),"-","_"),".","/");return $APP.Ef(function(c){return iH(c,b)},$APP.jH.g($APP.u($APP.kH),new $APP.J(null,2,5,$APP.N,[".","src"],null)))};
sH=function(a,b){b=$APP.jf(b);var c=$APP.fe.g(b,$APP.Fr);a=$APP.jp($APP.hp(a),$APP.du);if($APP.be(a)&&$APP.A.g($APP.Dj,$APP.y(a))){a=$APP.x(a);$APP.y(a);a=$APP.z(a);var d=$APP.y(a);a=$APP.z(a);a=$APP.Ef(function(k){var l=$APP.B.j(k,0,null);k=$APP.B.j(k,1,null);return $APP.be(l)&&$APP.A.g(mH,$APP.y(l))?new $APP.J(null,2,5,$APP.N,[$APP.cd(l),k],null):null},$APP.nH.j(2,1,a));var e=$APP.B.j(a,0,null),f=$APP.B.j(a,1,null);return $APP.r(e)?shadow_esm_import("./compiler.sci.js").then(function(){var k=$APP.oH.h($APP.u($APP.pH));
return $APP.oe.j(function(l,m){return l.then(function(){var h=$APP.x(m),p=$APP.y(h);h=$APP.z(h);h=$APP.jf(h);var q=$APP.fe.g(h,$APP.Ar),v=$APP.fe.g(h,$APP.Br);return Promise.resolve(function(){var D=function(){var O=new $APP.G(null,$APP.gF,new $APP.G(null,new $APP.G(null,$APP.Mj,new $APP.G(null,p,null,1,null),2,null),null,1,null),2,null);return $APP.r(f)?$APP.R.g(O,new $APP.J(null,1,5,$APP.N,[$APP.qH],null)):O}();k.h?k.h(D):k.call(null,D);var I=function(){var O=$APP.S.h($APP.x($APP.R.g(new $APP.G(null,
rH,null,1,null),new $APP.G(null,$APP.S.h($APP.x($APP.R.g(new $APP.G(null,$APP.Mj,null,1,null),new $APP.G(null,p,null,1,null)))),null,1,null))));return k.h?k.h(O):k.call(null,O)}();D=$APP.Kh(I);I=$APP.Oh(I);I=$APP.ui.g($APP.od,I);return $APP.bi(D,I)}()).then(function(D){return $APP.Wi.g(c,function(I){I=$APP.Uu(I,new $APP.J(null,2,5,$APP.N,[$APP.At,p],null),D);I=$APP.r(v)?$APP.Uu(I,new $APP.J(null,3,5,$APP.N,[d,$APP.Ir,v],null),p):I;return $APP.r(q)?$APP.Uu(I,new $APP.J(null,2,5,$APP.N,[d,$APP.Gr],
null),$APP.bi(q,$APP.Hr.h(p))):I})})})},Promise.resolve(null),e)}):null}return null};tH=function(a,b){return Promise.resolve(sH(a,b)).then(function(){return $APP.ru(a,b,null)})};
$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a()),$APP.t.h(a())].join("").toLowerCase())};$APP.fH=function(a){return a instanceof Error?a.message:null};$APP.gH=function(a){return $APP.Fr.g(a,/\n|\r\n/)};hH=function(a,b){return $APP.r($APP.r(b)?$APP.Qh.g(b,""):b)?$APP.Em(a,$APP.Kk(b)):null};iH=function(a,b){return $APP.Ef(function(c){c=esm_import$path.resolve(a,[$APP.t.h(b),".",$APP.t.h(c)].join(""));return $APP.r(esm_import$fs.existsSync(c))?c:null},new $APP.I(null,2,5,$APP.N,["cljc","cljs"],null))};
$APP.lH=function(a){var b=$APP.Zj($APP.Zj($APP.t.h(a),"-","_"),".","/");return $APP.Ef(function(c){return iH(c,b)},$APP.jH.g($APP.u($APP.kH),new $APP.I(null,2,5,$APP.N,[".","src"],null)))};
sH=function(a,b){b=$APP.jf(b);var c=$APP.fe.g(b,$APP.Gr);a=$APP.jp($APP.hp(a),$APP.du);if($APP.be(a)&&$APP.A.g($APP.Dj,$APP.y(a))){a=$APP.x(a);$APP.y(a);a=$APP.z(a);var d=$APP.y(a);a=$APP.z(a);a=$APP.Ef(function(k){var l=$APP.B.j(k,0,null);k=$APP.B.j(k,1,null);return $APP.be(l)&&$APP.A.g(mH,$APP.y(l))?new $APP.I(null,2,5,$APP.N,[$APP.cd(l),k],null):null},$APP.nH.j(2,1,a));var e=$APP.B.j(a,0,null),f=$APP.B.j(a,1,null);return $APP.r(e)?shadow_esm_import("./compiler.sci.js").then(function(){var k=$APP.oH.h($APP.u($APP.pH));
return $APP.oe.j(function(l,m){return l.then(function(){var h=$APP.x(m),p=$APP.y(h);h=$APP.z(h);h=$APP.jf(h);var q=$APP.fe.g(h,$APP.Br),v=$APP.fe.g(h,$APP.Cr);return Promise.resolve(function(){var D=function(){var O=new $APP.G(null,$APP.gF,new $APP.G(null,new $APP.G(null,$APP.Mj,new $APP.G(null,p,null,1,null),2,null),null,1,null),2,null);return $APP.r(f)?$APP.R.g(O,new $APP.I(null,1,5,$APP.N,[$APP.qH],null)):O}();k.h?k.h(D):k.call(null,D);var J=function(){var O=$APP.S.h($APP.x($APP.R.g(new $APP.G(null,
rH,null,1,null),new $APP.G(null,$APP.S.h($APP.x($APP.R.g(new $APP.G(null,$APP.Mj,null,1,null),new $APP.G(null,p,null,1,null)))),null,1,null))));return k.h?k.h(O):k.call(null,O)}();D=$APP.Kh(J);J=$APP.Oh(J);J=$APP.ui.g($APP.od,J);return $APP.bi(D,J)}()).then(function(D){return $APP.Wi.g(c,function(J){J=$APP.Uu(J,new $APP.I(null,2,5,$APP.N,[$APP.Bt,p],null),D);J=$APP.r(v)?$APP.Uu(J,new $APP.I(null,3,5,$APP.N,[d,$APP.Jr,v],null),p):J;return $APP.r(q)?$APP.Uu(J,new $APP.I(null,2,5,$APP.N,[d,$APP.Hr],
null),$APP.bi(q,$APP.Ir.h(p))):J})})})},Promise.resolve(null),e)}):null}return null};tH=function(a,b){return Promise.resolve(sH(a,b)).then(function(){return $APP.ru(a,b,null)})};
$APP.uH=function(a,b){return $APP.oe.j(function(c,d){a:{var e=esm_import$path.resolve(d).split(esm_import$path.sep);for(var f=esm_import$path.resolve(a).split(esm_import$path.sep);;){var k=$APP.Qd(e);if(k){e=k;break a}if(k=$APP.x(f))if(k=$APP.A.g($APP.y(e),$APP.y(f)))e=$APP.cd(e),f=$APP.cd(f);else{e=k;break a}else{e=k;break a}}}return e?$APP.ld(esm_import$path.relative(d,a)):c},a,b)};
$APP.AH=function(a){a=$APP.jf(a);var b=$APP.fe.g(a,$APP.vH),c=$APP.fe.g(a,wH),d=$APP.fe.g(a,$APP.xH),e=$APP.fe.g(a,$APP.yH),f=$APP.fe.j(a,$APP.zH,"");c=$APP.r(c)?c:esm_import$fs.readFileSync(b,"utf-8");return tH(c,$APP.Rh.j(a,$APP.Fr,$APP.Vi.h(new $APP.n(null,1,[$APP.to,$APP.ky],null)))).then(function(k){k=$APP.jf(k);var l=$APP.fe.g(k,$APP.qu),m=$APP.fe.g(k,$APP.wq),h=$APP.jH.g($APP.u($APP.kH),new $APP.J(null,2,5,$APP.N,[".","src"],null)),p=esm_import$path,q=p.resolve;$APP.r(d)?h=d:(h=$APP.uH(b,h),
$APP.AH=function(a){a=$APP.jf(a);var b=$APP.fe.g(a,$APP.vH),c=$APP.fe.g(a,wH),d=$APP.fe.g(a,$APP.xH),e=$APP.fe.g(a,$APP.yH),f=$APP.fe.j(a,$APP.zH,"");c=$APP.r(c)?c:esm_import$fs.readFileSync(b,"utf-8");return tH(c,$APP.Rh.j(a,$APP.Gr,$APP.Vi.h(new $APP.n(null,1,[$APP.to,$APP.ly],null)))).then(function(k){k=$APP.jf(k);var l=$APP.fe.g(k,$APP.qu),m=$APP.fe.g(k,$APP.xq),h=$APP.jH.g($APP.u($APP.kH),new $APP.I(null,2,5,$APP.N,[".","src"],null)),p=esm_import$path,q=p.resolve;$APP.r(d)?h=d:(h=$APP.uH(b,h),
$APP.r(m)?m=".jsx":(m=$APP.r(e)?[".",$APP.Zj(e,/^\./,"")].join(""):null,m=$APP.r(m)?m:".mjs"),h=$APP.Zj(h,/.clj(s|c)$/,m));p=q.call(p,f,h);q=esm_import$path.dirname(p);$APP.r(esm_import$fs.existsSync(q))||esm_import$fs.mkdirSync(q,{recursive:!0});if(!$APP.r(esm_import$fs.existsSync(q)))throw Error("File not found, make sure output-dir is a valid path: ",new $APP.n(null,2,[$APP.zH,f,$APP.xH,p],null));esm_import$fs.writeFileSync(p,l,"utf-8");return $APP.Rh.j(k,$APP.xH,p)})};

@@ -26,5 +26,5 @@ BH=function(a){return $APP.su.l(a,$APP.F([$APP.tu,!0]))};CH=function(a){return function(){function b(d){var e=null;if(0<arguments.length){e=0;for(var f=Array(arguments.length-0);e<f.length;)f[e]=arguments[e+0],++e;e=new $APP.Xc(f,0,null)}return c.call(this,e)}function c(d){d=$APP.Tu.g(BH,d);d=$APP.Gf.g(a,d);return d instanceof Promise?d.then($APP.nv):$APP.nv(d)}b.m=0;b.o=function(d){d=$APP.x(d);return c(d)};b.l=c;return b}()};$APP.YG.prototype.add=function(a){return this.C.push(a)};

arguments.length);};k.v=f;k.h=e;k.g=d;return k}()}};$APP.nH.g=function(a,b){return $APP.nH.j(a,a,b)};$APP.nH.j=function(a,b,c){return new $APP.Qe(null,function(){var d=$APP.x(c);return d?$APP.He($APP.Mf.g(a,d),$APP.nH.j(a,b,$APP.Nf.g(b,d))):null},null,null)};$APP.nH.m=3;$APP.cH.prototype.nb=function(){$APP.r(this.f)&&(this.value=this.f.v?this.f.v():this.f.call(null),this.f=null);return this.value};$APP.cH.prototype.$c=function(){return $APP.Za(this.f)};
$APP.cH.prototype.R=function(a,b,c){$APP.ic(b,"#object[cljs.core.Delay ");$APP.ti(new $APP.n(null,2,[$APP.AD,null==this.f?$APP.Hw:$APP.kB,$APP.lv,this.value],null),b,c);return $APP.ic(b,"]")};$APP.HH=function HH(a){switch(arguments.length){case 1:return HH.h(arguments[0]);case 2:return HH.g(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};
$APP.cH.prototype.R=function(a,b,c){$APP.ic(b,"#object[cljs.core.Delay ");$APP.ti(new $APP.n(null,2,[$APP.zD,null==this.f?$APP.Fw:$APP.kB,$APP.lv,this.value],null),b,c);return $APP.ic(b,"]")};$APP.HH=function HH(a){switch(arguments.length){case 1:return HH.h(arguments[0]);case 2:return HH.g(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};
$APP.HH.h=function(a){return hH(new $APP.n(null,3,[$APP.Cm,$APP.u($APP.SF),$APP.Dm,$APP.u($APP.RF),$APP.il,null],null),a)};$APP.HH.g=function(a,b){return hH($APP.Tm.j($APP.Qk.l($APP.F([new $APP.n(null,1,[$APP.Dm,$APP.u($APP.RF)],null),a])),$APP.Cm,function(c){return $APP.Qk.l($APP.F([$APP.u($APP.SF),c]))}),b)};$APP.HH.m=2;$APP.IH=new $APP.H(null,"port","port",1534937262);$APP.qH=new $APP.H(null,"reload","reload",863702807);$APP.JH=new $APP.H(null,"opts","opts",155075701);
$APP.zH=new $APP.H(null,"output-dir","output-dir",-290956991);mH=new $APP.H(null,"require-macros","require-macros",707947416);$APP.KH=new $APP.H(null,"message","message",-406056002);$APP.vH=new $APP.H(null,"in-file","in-file",-1682176692);$APP.LH=new $APP.H(null,"id","id",-1388402092);rH=new $APP.w("cljs.core","ns-publics","cljs.core/ns-publics",488240955,null);$APP.jH=new $APP.H(null,"paths","paths",-1807389588);$APP.MH=new $APP.H(null,"eval","eval",-1103567905);
$APP.oH=new $APP.H(null,"eval-form","eval-form",-1934118476);$APP.xH=new $APP.H(null,"out-file","out-file",-1187066405);wH=new $APP.H(null,"in-str","in-str",-1014658121);$APP.yH=new $APP.H(null,"extension","extension",1453374065);$APP.kH=new $APP.cH(function(){if($APP.r(esm_import$fs.existsSync("squint.edn"))){var a=esm_import$fs.readFileSync("squint.edn","utf-8");a=$APP.HH.h(a)}else a=null;return a},null);var NH;$APP.pH=$APP.Vi.h(null);NH=CH(tH);export const compileFile=CH($APP.AH);export const compileString=NH;

@@ -8,17 +8,17 @@ import { $APP, shadow$provide, $jscomp } from "./compiler.js";

var I9=function(a,b){a=a.indexOf(b);if(0>a)throw Error("out of input");return a},J9=function(a,b){if(a.length<b)throw Error("out of input");return a.slice(b)},K9=function(a,b){if(b>a.length)throw Error("out of input");return a.slice(0,b)},L9=function(a){return console.debug($APP.Jp.g(" ",a))},aha=function(a){return function(b,c){b=$APP.jf(b);var d=$APP.fe.g(b,$APP.LH),e=$APP.fe.g(b,$ga);c=$APP.Rh.j(c,"id",d);c=$APP.r(e)?$APP.Rh.j(c,"session",e):c;return a.g?a.g(b,c):a.call(null,b,c)}},cha=function(){var a=
bha;return function(b,c){b=$APP.Tm.j(b,M9,$APP.zi);return a.g?a.g(b,c):a.call(null,b,c)}},eha=function(){var a=dha();return function(b,c){L9($APP.F(["request",b]));return a.g?a.g(b,c):a.call(null,b,c)}},fha=function(a){return function(b,c){L9($APP.F(["response",c]));return a.g?a.g(b,c):a.call(null,b,c)}},dha=function(){var a=cha();return function(b,c){return a.g?a.g(b,c):a.call(null,b,c)}},N9=function(a){return $APP.Rh.j($APP.bi(new $APP.J(null,3,5,$APP.N,["major","minor","incremental"],null),$APP.su.h(a.split("."))),
bha;return function(b,c){b=$APP.Tm.j(b,M9,$APP.zi);return a.g?a.g(b,c):a.call(null,b,c)}},eha=function(){var a=dha();return function(b,c){L9($APP.F(["request",b]));return a.g?a.g(b,c):a.call(null,b,c)}},fha=function(a){return function(b,c){L9($APP.F(["response",c]));return a.g?a.g(b,c):a.call(null,b,c)}},dha=function(){var a=cha();return function(b,c){return a.g?a.g(b,c):a.call(null,b,c)}},N9=function(a){return $APP.Rh.j($APP.bi(new $APP.I(null,3,5,$APP.N,["major","minor","incremental"],null),$APP.su.h(a.split("."))),
"version-string",a)},gha=function(a,b,c){if($APP.r(a))if(a=O9.h?O9.h(a):O9.call(null,a),$APP.r(a)){b=$APP.jf(b);var d=$APP.fe.g(b,$APP.q9),e=$APP.fe.g(b,$APP.i9),f=$APP.fe.g(b,$APP.s9);b=$APP.Qa;var k=$APP.li,l=$APP.R6;$APP.Qa=e;$APP.li=f;$APP.R6=d;try{var m=new $APP.Fa;d=$APP.Ta;e=$APP.Ua;$APP.Ta=!0;$APP.Ua=function(h){return m.append(h)};try{a.h?a.h(c):a.call(null,c)}finally{$APP.Ua=e,$APP.Ta=d}return $APP.t.h(m)}finally{$APP.R6=l,$APP.li=k,$APP.Qa=b}}else return L9($APP.F(["Pretty-Printing is only supported for cider.nrepl.pprint/pprint"])),
$APP.Ri.l($APP.F([c]));else return $APP.Ri.l($APP.F([c]))},iha=function(a){a:{var b=$APP.lr;$APP.lr=$APP.u(P9);try{var c=$APP.ru(a,new $APP.n(null,5,[$APP.Lp,$APP.Op,$APP.Fr,hha,$APP.gu,!0,$APP.Bt,!0,$APP.Rp,!0],null),null);break a}finally{$APP.lr=b}c=void 0}c=$APP.jf(c);a=$APP.fe.g(c,$APP.qu);c=$APP.fe.g(c,$APP.T);a=$APP.Zj("(async function () {\n%s\n}) ()","%s",a);$APP.Jf(P9,c);return a},oha=function(a,b){var c=$APP.jf(a);$APP.fe.g(c,$APP.T);a=$APP.fe.g(c,jha);$APP.fe.g(c,$APP.$k);$APP.fe.g(c,kha);
$APP.Ri.l($APP.F([c]));else return $APP.Ri.l($APP.F([c]))},iha=function(a){a:{var b=$APP.mr;$APP.mr=$APP.u(P9);try{var c=$APP.ru(a,new $APP.n(null,5,[$APP.Lp,$APP.Op,$APP.Gr,hha,$APP.gu,!0,$APP.Zp,!0,$APP.Rp,!0],null),null);break a}finally{$APP.mr=b}c=void 0}c=$APP.jf(c);a=$APP.fe.g(c,$APP.qu);c=$APP.fe.g(c,$APP.T);a=$APP.Zj("(async function () {\n%s\n}) ()","%s",a);$APP.Jf(P9,c);return a},oha=function(a,b){var c=$APP.jf(a);$APP.fe.g(c,$APP.T);a=$APP.fe.g(c,jha);$APP.fe.g(c,$APP.$k);$APP.fe.g(c,kha);
$APP.fe.g(c,lha);return Promise.resolve(a).then(iha).then(function(d){$APP.GH.l($APP.F(["About to eval:"]));$APP.GH.l($APP.F([d]));return eval(d)}).then(function(d){d=new $APP.n(null,2,["ns",$APP.t.h($APP.u(P9)),"value",gha(mha.h(c),nha.h(c),d)],null);return b.g?b.g(c,d):b.call(null,c,d)}).catch(function(d){console.error(d);var e=$APP.KH.h($APP.pj(d));e=$APP.r(e)?e:d.message;$APP.r(e)&&(e=new $APP.n(null,1,["err",[$APP.t.h(e),"\n"].join("")],null),b.g?b.g(c,e):b.call(null,c,e));d=new $APP.n(null,
2,["ex",$APP.t.h(d),"ns",$APP.t.h($APP.lr)],null);return b.g?b.g(c,d):b.call(null,c,d)}).finally(function(){var d=new $APP.n(null,2,["ns",$APP.t.h($APP.u(P9)),"status",new $APP.J(null,1,5,$APP.N,["done"],null)],null);return b.g?b.g(c,d):b.call(null,c,d)})},Q9=function(a){a=$APP.jf(a);$APP.fe.g(a,$APP.T);return null},bha=function(a,b){a=$APP.jf(a);var c=$APP.fe.g(a,M9),d=$APP.fe.g(R9,c);if($APP.r(d))return d.g?d.g(a,b):d.call(null,a,b);console.warn($APP.Jp.g(" ",$APP.F(["Unhandled operation",c])));
c=new $APP.n(null,1,["status",new $APP.J(null,3,5,$APP.N,["error","unknown-op","done"],null)],null);return b.g?b.g(a,c):b.call(null,a,c)},pha=function(a){return function(b,c){return a.write(S9(c))}},qha=function(a,b){L9($APP.F(["Connection accepted"]));b.setNoDelay(!0);var c=eha(),d=aha(fha(pha(b))),e=$APP.Vi.h(null);b.on("data",function(f){var k=$APP.u(e);if($APP.r(k)){f=[$APP.t.h(k),$APP.t.h(f)].join("");$APP.Jf(e,null);var l=f}else l=f;a:for(f=$APP.F([$APP.tu,!0]),k=$APP.kg;;){var m=$APP.Gf.j(T9,
l,f);l=$APP.B.j(m,0,null);m=$APP.B.j(m,1,null);if(null==l){k=new $APP.J(null,2,5,$APP.N,[k,m],null);break a}k=$APP.Ee.g(k,l);l=m}f=$APP.B.j(k,0,null);k=$APP.B.j(k,1,null);$APP.gk(k)||$APP.Jf(e,k);f=$APP.x(f);k=null;for(var h=m=0;;)if(h<m)l=k.ba(null,h),c(l,d),h+=1;else if(f=$APP.x(f))k=f,$APP.Yd(k)?(f=$APP.uc(k),m=$APP.vc(k),k=f,l=$APP.xd(f),f=m,m=l):(l=$APP.y(k),c(l,d),f=$APP.z(k),k=null,m=0),h=0;else return null});return b.on("close",function(f){return $APP.r(f)?L9($APP.F(["Connection lost"])):
2,["ex",$APP.t.h(d),"ns",$APP.t.h($APP.mr)],null);return b.g?b.g(c,d):b.call(null,c,d)}).finally(function(){var d=new $APP.n(null,2,["ns",$APP.t.h($APP.u(P9)),"status",new $APP.I(null,1,5,$APP.N,["done"],null)],null);return b.g?b.g(c,d):b.call(null,c,d)})},Q9=function(a){a=$APP.jf(a);$APP.fe.g(a,$APP.T);return null},bha=function(a,b){a=$APP.jf(a);var c=$APP.fe.g(a,M9),d=$APP.fe.g(R9,c);if($APP.r(d))return d.g?d.g(a,b):d.call(null,a,b);console.warn($APP.Jp.g(" ",$APP.F(["Unhandled operation",c])));
c=new $APP.n(null,1,["status",new $APP.I(null,3,5,$APP.N,["error","unknown-op","done"],null)],null);return b.g?b.g(a,c):b.call(null,a,c)},pha=function(a){return function(b,c){return a.write(S9(c))}},qha=function(a,b){L9($APP.F(["Connection accepted"]));b.setNoDelay(!0);var c=eha(),d=aha(fha(pha(b))),e=$APP.Vi.h(null);b.on("data",function(f){var k=$APP.u(e);if($APP.r(k)){f=[$APP.t.h(k),$APP.t.h(f)].join("");$APP.Jf(e,null);var l=f}else l=f;a:for(f=$APP.F([$APP.tu,!0]),k=$APP.kg;;){var m=$APP.Gf.j(T9,
l,f);l=$APP.B.j(m,0,null);m=$APP.B.j(m,1,null);if(null==l){k=new $APP.I(null,2,5,$APP.N,[k,m],null);break a}k=$APP.Ee.g(k,l);l=m}f=$APP.B.j(k,0,null);k=$APP.B.j(k,1,null);$APP.gk(k)||$APP.Jf(e,k);f=$APP.x(f);k=null;for(var h=m=0;;)if(h<m)l=k.ba(null,h),c(l,d),h+=1;else if(f=$APP.x(f))k=f,$APP.Yd(k)?(f=$APP.uc(k),m=$APP.vc(k),k=f,l=$APP.xd(f),f=m,m=l):(l=$APP.y(k),c(l,d),f=$APP.z(k),k=null,m=0),h=0;else return null});return b.on("close",function(f){return $APP.r(f)?L9($APP.F(["Connection lost"])):
L9($APP.F(["Connection closed"]))})},lha=new $APP.H(null,"_line","_line",232847719),nha=new $APP.H("nrepl.middleware.print","options","nrepl.middleware.print/options",868480159),$ga=new $APP.H(null,"session","session",1008279103),rha=new $APP.H(null,"lookup","lookup",1225356838),sha=new $APP.H(null,"load-file","load-file",-424586670),kha=new $APP.H(null,"_load-file?","_load-file?",-1198848711),M9=new $APP.H(null,"op","op",-1882987955),tha=new $APP.H(null,"describe","describe",1369790582),jha=new $APP.H(null,
"code","code",1586293142),uha=new $APP.H(null,"eldoc","eldoc",-1321421900),vha=new $APP.H(null,"log_level","log_level",-1756736313),mha=new $APP.H("nrepl.middleware.print","print","nrepl.middleware.print/print",-1616742548),wha=new $APP.H(null,"clone","clone",711747572),xha=new $APP.H(null,"close","close",1835149582),yha=new $APP.H(null,"info","info",-317069002),zha=new $APP.H(null,"host","host",-1558485167),Aha=new $APP.H(null,"complete","complete",-500388775);var U9=function U9(a,b){switch($APP.t.h(K9(a,1))){case "i":return a=J9(a,1),b=I9(a,"e"),new $APP.J(null,2,5,$APP.N,[parseInt(K9(a,b)),J9(a,b+1)],null);case "l":var d=a=J9(a,1);for(a=$APP.mc($APP.kg);;){if($APP.A.g($APP.t.h(K9(d,1)),"e"))return new $APP.J(null,2,5,$APP.N,[$APP.oc(a),J9(d,1)],null);var e=U9.g?U9.g(d,b):U9.call(null,d,b),f=$APP.B.j(e,0,null),k=$APP.B.j(e,1,null);e=k;a=$APP.fg.g(a,f);d=e}case "d":for(a=J9(a,1),f=$APP.jf(b),f=$APP.fe.g(f,$APP.tu),d=a,e=$APP.mc($APP.hf);;){if($APP.A.g($APP.t.h(K9(d,
1)),"e"))return new $APP.J(null,2,5,$APP.N,[$APP.oc(e),J9(d,1)],null);a=U9.g?U9.g(d,b):U9.call(null,d,b);d=$APP.B.j(a,0,null);k=$APP.B.j(a,1,null);k=U9.g?U9.g(k,b):U9.call(null,k,b);a=$APP.B.j(k,0,null);k=$APP.B.j(k,1,null);d=$APP.r(f)?$APP.zi.h(d):d;a=$APP.Ug.j(e,d,a);d=k;e=a}default:return b=I9(a,":"),f=parseInt(K9(a,b)),a=J9(a,b+1),new $APP.J(null,2,5,$APP.N,[$APP.t.h(K9(a,f)),J9(a,f)],null)}},T9=function T9(a){for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return T9.l(arguments[0],
1<c.length?new $APP.Xc(c.slice(1),0,null):null)};T9.l=function(a,b){try{return U9(a,b)}catch(c){if(c instanceof Error)return new $APP.J(null,2,5,$APP.N,[null,a],null);throw c;}};T9.m=1;T9.o=function(a){var b=$APP.y(a);a=$APP.z(a);return this.l(b,a)};
"code","code",1586293142),uha=new $APP.H(null,"eldoc","eldoc",-1321421900),vha=new $APP.H(null,"log_level","log_level",-1756736313),mha=new $APP.H("nrepl.middleware.print","print","nrepl.middleware.print/print",-1616742548),wha=new $APP.H(null,"clone","clone",711747572),xha=new $APP.H(null,"close","close",1835149582),yha=new $APP.H(null,"info","info",-317069002),zha=new $APP.H(null,"host","host",-1558485167),Aha=new $APP.H(null,"complete","complete",-500388775);var U9=function U9(a,b){switch($APP.t.h(K9(a,1))){case "i":return a=J9(a,1),b=I9(a,"e"),new $APP.I(null,2,5,$APP.N,[parseInt(K9(a,b)),J9(a,b+1)],null);case "l":var d=a=J9(a,1);for(a=$APP.mc($APP.kg);;){if($APP.A.g($APP.t.h(K9(d,1)),"e"))return new $APP.I(null,2,5,$APP.N,[$APP.oc(a),J9(d,1)],null);var e=U9.g?U9.g(d,b):U9.call(null,d,b),f=$APP.B.j(e,0,null),k=$APP.B.j(e,1,null);e=k;a=$APP.fg.g(a,f);d=e}case "d":for(a=J9(a,1),f=$APP.jf(b),f=$APP.fe.g(f,$APP.tu),d=a,e=$APP.mc($APP.hf);;){if($APP.A.g($APP.t.h(K9(d,
1)),"e"))return new $APP.I(null,2,5,$APP.N,[$APP.oc(e),J9(d,1)],null);a=U9.g?U9.g(d,b):U9.call(null,d,b);d=$APP.B.j(a,0,null);k=$APP.B.j(a,1,null);k=U9.g?U9.g(k,b):U9.call(null,k,b);a=$APP.B.j(k,0,null);k=$APP.B.j(k,1,null);d=$APP.r(f)?$APP.zi.h(d):d;a=$APP.Ug.j(e,d,a);d=k;e=a}default:return b=I9(a,":"),f=parseInt(K9(a,b)),a=J9(a,b+1),new $APP.I(null,2,5,$APP.N,[$APP.t.h(K9(a,f)),J9(a,f)],null)}},T9=function T9(a){for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return T9.l(arguments[0],
1<c.length?new $APP.Xc(c.slice(1),0,null):null)};T9.l=function(a,b){try{return U9(a,b)}catch(c){if(c instanceof Error)return new $APP.I(null,2,5,$APP.N,[null,a],null);throw c;}};T9.m=1;T9.o=function(a){var b=$APP.y(a);a=$APP.z(a);return this.l(b,a)};
var S9=function S9(a){for(;;){if("string"===typeof a)return[$APP.t.h(Buffer.from(a).length),":",a].join("");if(a instanceof $APP.H||a instanceof $APP.w)a=[function(){var c=$APP.Le(a);return $APP.r(c)?[c,"/"].join(""):null}(),$APP.ai(a)].join("");else return"number"===typeof a?["i",$APP.t.h(a),"e"].join(""):$APP.Td(a)||$APP.Xd(a)||null==a?["l",$APP.t.h($APP.Gf.g($APP.t,$APP.ui.g(S9,a))),"e"].join(""):$APP.Vd(a)?["d",$APP.t.h($APP.Gf.g($APP.t,$APP.ui.g(function(){return function(c){var d=$APP.B.j(c,
0,null);c=$APP.B.j(c,1,null);return[$APP.t.h(S9.h?S9.h(d):S9.call(null,d)),$APP.t.h(S9.h?S9.h(c):S9.call(null,c))].join("")}}(a),$APP.EH.g($APP.y,a)))),"e"].join(""):null}};var P9=$APP.Vi.h($APP.lr),O9=new $APP.n(null,1,["cider.nrepl.pprint/pprint",$APP.z9],null);$APP.Vi.h(!1);
var hha=$APP.Vi.h($APP.hf),R9=$APP.vh([rha,xha,sha,uha,wha,tha,yha,Aha,$APP.MH],[Q9,function(a,b){var c=new $APP.n(null,1,["status",new $APP.J(null,1,5,$APP.N,["done"],null)],null);return b.g?b.g(a,c):b.call(null,a,c)},function(a){a=$APP.jf(a);$APP.fe.g(a,$APP.$k);return null},Q9,function(a,b){var c=new $APP.n(null,2,["new-session",$APP.t.h($APP.eH()),"status",new $APP.J(null,1,5,$APP.N,["done"],null)],null);return b.g?b.g(a,c):b.call(null,a,c)},function(a,b){var c=new $APP.n(null,4,["versions",new $APP.n(null,
2,["nbb-nrepl",N9("TODO"),"node",N9(process.version)],null),"aux",$APP.hf,"ops",$APP.bi($APP.ui.g($APP.ai,$APP.Kh(R9)),$APP.Hr.h($APP.hf)),"status",new $APP.J(null,1,5,$APP.N,["done"],null)],null);return b.g?b.g(a,c):b.call(null,a,c)},Q9,function(){return null},function(a,b){a=$APP.jf(a);var c=$APP.fe.g(a,$APP.T);$APP.FH.l($APP.F([$APP.T,c]));return oha($APP.Rh.j(a,$APP.T,$APP.u(P9)),b)}]),Bha=$APP.Vi.h(null);export const startServer=function(a){return Promise.resolve(null).then(function(){var b=function(){var e=$APP.IH.h(a);return $APP.r(e)?e:0}(),c=function(){var e=zha.h(a);return $APP.r(e)?e:"127.0.0.1"}();(function(){var e=$APP.$a(a)?a.bg:vha.h(a);return $APP.r(e)?e:"info"})();var d=esm_import$net.createServer($APP.Tk.g(qha,$APP.hf));d.listen(b,c,function(){var e=d.address(),f=e.port;e=e.address;$APP.GH.l($APP.F([["nREPL server started on port ",$APP.t.h(f)," on host ",$APP.t.h(e)," - nrepl://",$APP.t.h(e),
0,null);c=$APP.B.j(c,1,null);return[$APP.t.h(S9.h?S9.h(d):S9.call(null,d)),$APP.t.h(S9.h?S9.h(c):S9.call(null,c))].join("")}}(a),$APP.EH.g($APP.y,a)))),"e"].join(""):null}};var P9=$APP.Vi.h($APP.mr),O9=new $APP.n(null,1,["cider.nrepl.pprint/pprint",$APP.z9],null);$APP.Vi.h(!1);
var hha=$APP.Vi.h($APP.hf),R9=$APP.vh([rha,xha,sha,uha,wha,tha,yha,Aha,$APP.MH],[Q9,function(a,b){var c=new $APP.n(null,1,["status",new $APP.I(null,1,5,$APP.N,["done"],null)],null);return b.g?b.g(a,c):b.call(null,a,c)},function(a){a=$APP.jf(a);$APP.fe.g(a,$APP.$k);return null},Q9,function(a,b){var c=new $APP.n(null,2,["new-session",$APP.t.h($APP.eH()),"status",new $APP.I(null,1,5,$APP.N,["done"],null)],null);return b.g?b.g(a,c):b.call(null,a,c)},function(a,b){var c=new $APP.n(null,4,["versions",new $APP.n(null,
2,["nbb-nrepl",N9("TODO"),"node",N9(process.version)],null),"aux",$APP.hf,"ops",$APP.bi($APP.ui.g($APP.ai,$APP.Kh(R9)),$APP.Ir.h($APP.hf)),"status",new $APP.I(null,1,5,$APP.N,["done"],null)],null);return b.g?b.g(a,c):b.call(null,a,c)},Q9,function(){return null},function(a,b){a=$APP.jf(a);var c=$APP.fe.g(a,$APP.T);$APP.FH.l($APP.F([$APP.T,c]));return oha($APP.Rh.j(a,$APP.T,$APP.u(P9)),b)}]),Bha=$APP.Vi.h(null);export const startServer=function(a){return Promise.resolve(null).then(function(){var b=function(){var e=$APP.IH.h(a);return $APP.r(e)?e:0}(),c=function(){var e=zha.h(a);return $APP.r(e)?e:"127.0.0.1"}();(function(){var e=$APP.$a(a)?a.bg:vha.h(a);return $APP.r(e)?e:"info"})();var d=esm_import$net.createServer($APP.Tk.g(qha,$APP.hf));d.listen(b,c,function(){var e=d.address(),f=e.port;e=e.address;$APP.GH.l($APP.F([["nREPL server started on port ",$APP.t.h(f)," on host ",$APP.t.h(e)," - nrepl://",$APP.t.h(e),
":",$APP.t.h(f)].join("")]));try{return esm_import$fs.writeFileSync(".nrepl-port",$APP.t.h(f))}catch(k){return console.warn($APP.Jp.g(" ",$APP.F(["Could not write .nrepl-port",k])))}});return $APP.Jf(Bha,d)})};

@@ -1,1 +0,1 @@

var squint;(squint||={}).core=(()=>{var U=Object.defineProperty;var ye=Object.getOwnPropertyDescriptor;var me=Object.getOwnPropertyNames;var we=Object.prototype.hasOwnProperty;var ge=(t,e)=>{for(var n in e)U(t,n,{get:e[n],enumerable:!0})},be=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of me(e))!we.call(t,o)&&o!==n&&U(t,o,{get:()=>e[o],enumerable:!(r=ye(e,o))||r.enumerable});return t};var Ae=t=>be(U({},"__esModule",{value:!0}),t);var Ao={};ge(Ao,{Atom:()=>Lt,Cons:()=>qt,IIterable:()=>et,IIterable__iterator:()=>Nt,LazySeq:()=>ur,NaN_QMARK_:()=>qr,PROTOCOL_SENTINEL:()=>nn,_:()=>ke,_EQ_:()=>ve,_GT_:()=>wt,_GT__EQ_:()=>gt,_LT_:()=>Me,_LT__EQ_:()=>Ee,_PLUS_:()=>Re,_STAR_:()=>Se,_iterator:()=>L,abs:()=>ao,aclone:()=>Ar,add_watch:()=>vr,alength:()=>mr,apply:()=>xn,array_QMARK_:()=>C,aset:()=>wr,assoc:()=>S,assoc_BANG_:()=>b,assoc_in:()=>At,assoc_in_BANG_:()=>vt,atom:()=>un,boolean$:()=>hr,boolean_QMARK_:()=>Dr,bounded_count:()=>Jr,butlast:()=>ir,cat:()=>xo,coll_QMARK_:()=>Lr,comp:()=>Oe,compare:()=>v,complement:()=>ut,concat:()=>Ct,conj:()=>Et,conj_BANG_:()=>B,cons:()=>Ce,constantly:()=>yn,contains_QMARK_:()=>St,count:()=>T,counted_QMARK_:()=>le,cycle:()=>Gn,dec:()=>Be,deref:()=>rt,disj:()=>Te,disj_BANG_:()=>Rt,dissoc:()=>Ge,dissoc_BANG_:()=>qe,distinct:()=>zn,doall:()=>br,dorun:()=>gr,drop:()=>J,drop_last:()=>cr,drop_while:()=>Ht,empty:()=>V,empty_QMARK_:()=>Hn,ensure_reduced:()=>Zt,es6_iterator:()=>$,even_QMARK_:()=>Pt,every_QMARK_:()=>te,every_pred:()=>Sr,ex_cause:()=>Pr,ex_data:()=>zr,ex_info:()=>Yr,ex_message:()=>Fr,false_QMARK_:()=>ar,ffirst:()=>$e,filter:()=>P,filterv:()=>We,find:()=>Ur,first:()=>k,flatten:()=>oo,fn_QMARK_:()=>Or,fnil:()=>lt,frequencies:()=>or,get:()=>g,get_in:()=>ft,group_by:()=>rr,identical_QMARK_:()=>In,identity:()=>Vt,inc:()=>kt,int_QMARK_:()=>se,integer_QMARK_:()=>Cr,interleave:()=>Wt,interpose:()=>bn,into:()=>Xt,into_array:()=>oe,iterable:()=>c,iterate:()=>Qr,js_keys:()=>Gr,js_obj:()=>yr,juxt:()=>Kr,keep:()=>Vn,keep_indexed:()=>He,key:()=>Jt,keys:()=>ce,last:()=>ze,lazy:()=>a,list:()=>Yt,list_QMARK_:()=>mn,long$:()=>po,map:()=>j,map_QMARK_:()=>Rr,map_indexed:()=>Ue,mapcat:()=>wn,mapv:()=>zt,max:()=>re,max_key:()=>Hr,memoize:()=>yo,merge:()=>kn,merge_with:()=>Qn,meta:()=>Vr,min:()=>Er,min_key:()=>Zr,mod:()=>Xr,neg_QMARK_:()=>xr,next:()=>Z,nil_QMARK_:()=>en,nnext:()=>Ir,not:()=>Gt,not_any_QMARK_:()=>Xn,not_empty:()=>ro,not_every_QMARK_:()=>Yn,nth:()=>Kt,number_QMARK_:()=>ie,object_QMARK_:()=>je,odd_QMARK_:()=>dn,parse_long:()=>eo,partial:()=>qn,partition:()=>En,partition_all:()=>Mn,partition_by:()=>Sn,peek:()=>mo,persistent_BANG_:()=>io,pop:()=>wo,pos_QMARK_:()=>dr,pr_str:()=>Bt,println:()=>Qt,prn:()=>on,quot:()=>pe,rand_int:()=>ne,rand_nth:()=>tr,range:()=>sn,re_find:()=>ln,re_matches:()=>fn,re_pattern:()=>an,re_seq:()=>Tr,reduce:()=>Q,reduce_kv:()=>ht,reduced:()=>F,reduced_QMARK_:()=>A,reductions:()=>Pe,regexp_QMARK_:()=>$r,rem:()=>xe,remove:()=>De,remove_watch:()=>Mr,repeat:()=>st,repeatedly:()=>nr,replace:()=>Zn,reset_BANG_:()=>$t,rest:()=>z,reverse:()=>Wn,satisfies_QMARK_:()=>Qe,second:()=>Le,select_keys:()=>An,seq:()=>E,seq_QMARK_:()=>It,seqable_QMARK_:()=>jt,sequential_QMARK_:()=>X,set:()=>_n,shuffle:()=>Un,some:()=>ee,some_QMARK_:()=>pr,some_fn:()=>kr,sort:()=>at,sort_by:()=>Jn,sorted_set:()=>co,split_at:()=>sr,split_with:()=>fr,str:()=>tn,string_QMARK_:()=>_t,subs:()=>ue,subseq:()=>lo,subvec:()=>pn,swap_BANG_:()=>cn,system_time:()=>Kn,t:()=>Nr,take:()=>W,take_nth:()=>Tn,take_while:()=>D,to_array:()=>jr,transduce:()=>dt,transient$:()=>uo,tree_seq:()=>he,true_QMARK_:()=>lr,truth_:()=>_,type:()=>ho,unreduced:()=>ct,update:()=>Fn,update_BANG_:()=>pt,update_in:()=>Pn,update_keys:()=>go,update_vals:()=>bo,val:()=>Ut,vals:()=>Br,vec:()=>R,vector:()=>ot,vector_QMARK_:()=>hn,warn_on_lazy_reusage_BANG_:()=>Ye,with_meta:()=>Wr,zero_QMARK_:()=>_r,zipmap:()=>no});function l(t){if(t==null||t instanceof Function)return t;const e=typeof t;return e==="string"?(n,r)=>g(n,t,r):e==="object"?(n,r)=>g(t,n,r):t}function K(t,e){return t.every(function(n,r){return r===0||e(t[r-1],n)})}function ve(...t){return K(t,(e,n)=>e===n)}function wt(...t){return K(t,(e,n)=>e>n)}function gt(...t){return K(t,(e,n)=>e>=n)}function Me(...t){return K(t,(e,n)=>e<n)}function Ee(...t){return K(t,(e,n)=>e<=n)}function Re(...t){return t.reduce((e,n)=>e+n,0)}function Se(...t){return t.reduce((e,n)=>e*n,1)}function ke(...t){return t.length==1?0-t[0]:t.reduce((e,n)=>e-n)}function Qe(t,e){return e[t]}function Ke(t,e,n){return t.set(e,n),t}function Ie(t,e,n){return t[e]=n,t}function bt(t){switch(p(t)){case h:return Ke;case y:case m:return Ie}}function b(t,e,n,...r){if(r.length%2!==0)throw new Error("Illegal argument: assoc expects an odd number of arguments.");switch(p(t)){case h:t.set(e,n);for(let o=0;o<r.length;o+=2)t.set(r[o],r[o+1]);break;case y:case m:t[e]=n;for(let o=0;o<r.length;o+=2)t[r[o]]=r[o+1];break;default:throw new Error(`Illegal argument: assoc! expects a Map, Array, or Object as the first argument, but got ${typeof t}.`)}return t}function I(t){switch(p(t)){case h:return new Map(t);case w:return new t.constructor(t);case y:return[...t];case m:return{...t};default:throw new Error(`Don't know how to copy object of type ${typeof t}.`)}}function S(t,e,n,...r){t||(t={});const o=I(t);return b(o,e,n,...r),o}const h=1,y=2,m=3,M=4,w=5,q=6;function G(t){switch(t){case h:return new Map;case y:return[];case m:return{};case M:return new Y;case w:return new Set;case q:return a(function*(){})}}function tt(t){return t.constructor===Object}function je(t){return t!=null&&tt(t)}function p(t){if(t!=null){if(tt(t))return m;if(t instanceof Map)return h;if(t instanceof Set)return w;if(t instanceof Y)return M;if(Array.isArray(t))return y;if(t instanceof nt)return q;if(t instanceof N)return w;if(t instanceof Object)return m}}function Ne(t,e,n,r,o){r=R(r);const u=p(n);if(u!==h&&u!==y&&u!==m)throw new Error(`Illegal argument: ${e} expects the first argument to be a Map, Array, or Object.`);const i=[n];let s=n;for(let f=0;f<r.length-1;f+=1){const x=r[f];let d;s instanceof Map?d=s.get(x):d=s[x],d||(d=G(u)),i.push(d),s=d}i.push(o);for(let f=i.length-2;f>=0;f-=1)i[f]=t(i[f],r[f],i[f+1]);return i[0]}function At(t,e,n){return Ne(S,"assoc-in",t,e,n)}function vt(t,e,n){e=R(e);var r=t;const o=p(t);for(const u of e.splice(0,e.length-1)){let i=g(r,u);i===void 0&&(i=G(o),b(r,u,i)),r=i}return b(r,e[e.length-1],n),t}function Oe(...t){if(t=t.map(l),t.length===0)return Vt;if(t.length===1)return t[0];const[e,...n]=t.slice().reverse();return function(...r){let o=e(...r);for(const u of n)o=u(o);return o}}function Mt(t,e){for(const n of e)t.add(n);return t}function B(...t){if(t.length===0)return ot();const[e,...n]=t;let r=e;switch(r==null&&(r=[]),p(r)){case w:Mt(r,n);break;case M:r.unshift(...n.reverse());break;case y:r.push(...n);break;case h:for(const o of n)Array.isArray(o)?r.set(o[0],o[1]):c(o).forEach(u=>{r.set(u[0],u[1])});break;case m:for(const o of n)Array.isArray(o)?r[o[0]]=o[1]:Object.assign(r,o);break;default:throw new Error("Illegal argument: conj! expects a Set, Array, List, Map, or Object as the first argument.")}return r}function Et(...t){if(t.length===0)return ot();const[e,...n]=t;let r=e;r==null&&(r=Yt());let o,u;switch(p(r)){case w:return r instanceof N?Mt(new r.constructor(r),n):new r.constructor([...r,...n]);case M:return new Y(...n.reverse(),...r);case y:return[...r,...n];case h:o=new Map(r);for(const i of n)Array.isArray(i)?o.set(i[0],i[1]):c(i).forEach(s=>{o.set(s[0],s[1])});return o;case q:return a(function*(){yield*n,yield*r});case m:u={...r};for(const i of n)Array.isArray(i)?u[i[0]]=i[1]:Object.assign(u,i);return u;default:throw new Error("Illegal argument: conj expects a Set, Array, List, Map, or Object as the first argument.")}}function Rt(t,...e){for(const n of e)t.delete(n);return t}function Te(t,...e){const n=new t.constructor([...t]);return Rt(n,...e)}function St(t,e){switch(p(t)){case w:case h:return t.has(e);case void 0:return!1;default:return e in t}}function qe(t,...e){for(const n of e)delete t[n];return t}function Ge(t,...e){if(e.length===0)return t;const n=I(t);switch(p(t)){case h:for(const r of e)n.delete(r);break;default:for(const r of e)delete n[r];break}return n}function kt(t){return t+1}function Be(t){return t-1}function Qt(...t){console.log(...t)}function Kt(t,e,n){if(t){var r=void 0;if(Array.isArray(t))r=t[e];else{const o=c(t);let u=0;for(const i of o)if(u++==e){r=i;break}}if(r!==void 0)return r}return n}function g(t,e,n=void 0){if(t==null)return n;let r;if(tt(t))return r=t[e],r===void 0?n:r;let o;switch(p(t)){case w:t.has(e)&&(r=e);break;case h:r=t.get(e);break;case y:r=t[e];break;default:if(o=t.get,o instanceof Function)try{r=t.get(e);break}catch{}r=t[e];break}return r!==void 0?r:n}function It(t){return t!=null&&!!t[Symbol.iterator]}const X=It;function jt(t){return t==null||!!t[Symbol.iterator]}function c(t){if(t==null)return[];if(jt(t))return t;if(t instanceof Object)return Object.entries(t);throw new TypeError(`${t} is not iterable`)}const et=Symbol("Iterable"),Nt=Symbol.iterator;function L(t){return t[Symbol.iterator]()}const $=L;function E(t){if(t==null)return t;const e=c(t);return e.length===0||e.size===0||e[Symbol.iterator]().next().done?null:e}function k(t){const[e]=c(t);return e}function Le(t){const[e,n]=c(t);return n}function $e(t){return k(k(t))}function z(t){return a(function*(){let e=!0;for(const n of c(t))e?e=!1:yield n})}class O{value;constructor(e){this.value=e}_deref(){return this.value}}function ze(t){t=c(t);let e;switch(p(t)){case y:return t[t.length-1];default:for(const n of t)e=n;return e}}function F(t){return new O(t)}function A(t){return t instanceof O}function Q(t,e,n){t=l(t);let r,o;if(arguments.length===2){const u=c(e)[Symbol.iterator](),i=u.next();i.done?o=t():o=i.value,r=u}else o=e,r=c(n);if(o instanceof O)return o.value;for(const u of r)if(o=t(o,u),o instanceof O){o=o.value;break}return o}function*Fe(t,e){const n=e.next();n.done?yield t():yield*Ot(t,n.value,e)}function*Ot(t,e,n){let r=e,o=n;for(;;){if(A(r)){yield r.value;return}else yield r;const u=o.next();if(u.done)break;r=t(r,u.value)}}function Pe(t,e,n){return t=l(t),arguments.length===2?a(function*(){yield*Fe(t,c(e)[Symbol.iterator]())}):a(function*(){yield*Ot(t,e,c(n)[Symbol.iterator]())})}var Tt=!1;function Ye(){Tt=!0}class nt{constructor(e){this.gen=e,this.usages=0}[Symbol.iterator](){if(this.usages++,this.usages>=2&&Tt)try{throw new Error}catch(e){console.warn("Re-use of lazy value",e.stack)}return this.gen()}}nt.prototype[et]=!0;function a(t){return new nt(t)}class qt{constructor(e,n){this.x=e,this.coll=n}*[Symbol.iterator](){yield this.x,yield*c(this.coll)}}function Ce(t,e){return new qt(t,e)}function j(t,...e){switch(t=l(t),e.length){case 0:return n=>(...r)=>{switch(r.length){case 0:return n();case 1:return n(r[0]);case 2:return n(r[0],t(r[1]));default:return n(r[0],t(...r.slice(1)))}};case 1:return a(function*(){for(const n of c(e[0]))yield t(n)});default:return a(function*(){const n=e.map(r=>$(c(r)));for(;;){const r=[];for(const o of n){const u=o.next();if(u.done)return;r.push(u.value)}yield t(...r)}})}}function Ve(t){return e=>(...n)=>{switch(n.length){case 0:return e();case 1:return e(n[0]);case 2:{const r=n[0],o=n[1];return _(t(o))?e(r,o):r}}}}function P(t,e){return arguments.length===1?Ve(t):(t=l(t),a(function*(){for(const n of c(e))_(t(n))&&(yield n)}))}function We(t,e){return[...P(t,e)]}function De(t,e){return P(ut(t),e)}function Je(t){return e=>{let n=-1;return(...r)=>{switch(r.length){case 0:return e();case 1:return e(r[0]);case 2:return e(r[0],t((n=n+1,n),r[1]))}}}}function Ue(t,e){if(t=l(t),arguments.length===1)return Je(t);const n=[];let r=0;for(const o of c(e))n.push(t(r,o)),r++;return n}function Xe(t,e){t=l(t);const n=[];let r=0;for(const o of c(e)){const u=t(r,o);_(u)&&n.push(u),r++}return n}function Ze(t){return e=>{let n=-1;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=r[0],i=r[1];n++;const s=t(n,i);return s==null?u:e(u,s)}}}}function He(t,e){return arguments.length===1?Ze(t):Xe(t,e)}function tn(...t){return t.join("")}function Gt(t){return!_(t)}function en(t){return t==null}const nn={};function rn(t){return t===null?"null":JSON.stringify(t,(e,n)=>{switch(p(n)){case w:case q:return[...n];case h:return Object.fromEntries(n);default:return n}})}function Bt(...t){return t.map(rn).join(" ")}function on(...t){Qt(Bt(...t))}class Lt{constructor(e){this.val=e,this._watches={},this._deref=()=>this.val,this._hasWatches=!1,this._reset_BANG_=n=>{const r=this.val;if(this.val=n,this._hasWatches)for(const o of Object.entries(this._watches)){const u=o[0],i=o[1];i(u,this,r,n)}return n},this._add_watch=(n,r)=>{this._watches[n]=r,this._hasWatches=!0},this._remove_watch=n=>{delete this._watches[n]}}}function un(t){return new Lt(t)}function rt(t){return t._deref()}function $t(t,e){t._reset_BANG_(e)}function cn(t,e,...n){e=l(e);const r=e(rt(t),...n);return $t(t,r),r}function sn(t,e,n){return a(function*(){let r=t,o=e,u=n;e===void 0&&(r=0,o=t);let i=r||0;for(u=n||1;o===void 0||i<o;)yield i,i+=u})}function fn(t,e){const n=t.exec(e);return n&&e===n[0]?n.length===1?n[0]:n:null}function ln(t,e){if(_t(e)){const n=t.exec(e);return n!=null?n.length===1?n[0]:[...n]:null}else throw new TypeError("re-find must match against a string.")}function an(t){if(t instanceof RegExp)return t;const e=t.match(/^\(\?([dgimsuvy]*)\)/);return e?new RegExp(t.slice(e[0].length),e[1]):new RegExp(t)}function pn(t,e,n){return t.slice(e,n)}function ot(...t){return t}function hn(t){return p(t)===y}function zt(...t){return[...j(...t)]}function R(t){return C(t)?t:[...c(t)]}function _n(t){return new Set(c(t))}const Ft=Symbol("IApply__apply");function xn(t,...e){t=l(t);const n=e.slice(0,e.length-1),r=c(e[e.length-1]),o=t[Ft];return o?o(...n,r):t(...n,...r)}function Pt(t){return t%2==0}function dn(t){return!Pt(t)}function ut(t){return t=l(t),(...e)=>Gt(t(...e))}function yn(t){return(...e)=>t}class Y extends Array{constructor(...e){super(),this.push(...e)}}function mn(t){return p(t)===M}function Yt(...t){return new Y(...t)}function C(t){return Array.isArray(t)}function it(t){return a(function*(){for(const e of t)yield*c(e)})}function Ct(...t){return it(t)}Ct[Ft]=t=>it(t);function wn(t,...e){const n=j(t,...e);return it(n)}function Vt(t){return t}function Wt(...t){return a(function*(){const e=t.map(n=>$(c(n)));for(;;){const n=[];for(const r of e){const o=r.next();if(o.done)return;n.push(o.value)}yield*n}})}function gn(t){return e=>{let n=!1;return(...r)=>{switch(r.length){case 0:return e();case 1:return e(r[0]);case 2:if(n){const o=e(r[0],t);return A(o)?o:e(o,r[1])}else return n=!0,e(r[0],r[1])}}}}function bn(t,e){return arguments.length===1?gn(t):J(1,Wt(st(t),e))}function An(t,e){const n=p(t),r=G(n)||{};for(const o of e){const u=g(t,o);u!=null&&b(r,o,u)}return r}function ct(t){return A(t)?rt(t):t}function vn(t){return e=>{let n=[];return(...r)=>{let o,u;switch(r.length){case 0:return e();case 1:return o=r[0],n.length!==0&&(u=[...n],n=[],o=ct(e(o,u))),e(o);case 2:return o=r[0],n.push(r[1]),t===n.length?(u=[...n],n=[],e(o,u)):o}}}}function Mn(t,...e){if(arguments.length===1)return vn(t);let n=t,r=e[0];return e.length===2&&([n,r]=e),Dt(t,n,[],r,!0)}function En(t,...e){let n=t,r=[],o=e[0];return e.length===2?[n,o]=e:e.length>2&&([n,r,o]=e),Dt(t,n,r,o,!1)}function Dt(t,e,n,r,o){return a(function*(){let u=[],i=0;for(const s of c(r))i<t&&(u.push(s),u.length===t&&(yield u,u=e<t?u.slice(e):[])),i++,i===e&&(i=0);u.length>0&&(u.length===t||o?yield u:n.length&&(u.push(...n.slice(0,t-u.length)),yield u))})}function Rn(t){return e=>{let n=[];const r={};let o=r;return(...u)=>{const i=u.length;let s;if(i===0)return e();if(i===1){let f=u[0];if(n.length!==0){const x=[...n];n=[],f=ct(e(f,x))}return e(f)}if(i===2){const f=u[0],x=u[1],d=o,yt=t(x);if(o=yt,d===r||yt===d)return n.push(x),f;{const de=[...n];n=[];const mt=e(f,de);return A(mt)||n.push(x),mt}}}}}function Sn(t,e){return t=l(t),arguments.length===1?Rn(t):a(function*(){const n=$(e),r=n.next();r.done&&(yield*null);const o=r.value;let u=t(o),i=[o],s=[];for(;;){const f=n.next();if(f.done){yield i;break}const x=f.value,d=t(x);u==d?i.push(x):(yield i,s.push(x),i=s,u=d,s=[])}})}function V(t){const e=p(t);if(e!=null)return G(e);throw new Error(`Can't create empty of ${typeof t}`)}function kn(...t){const e=t[0];let n;return e==null?n={}:n=Xt(V(e),e),B(n,...t.slice(1))}function Jt(t){return t[0]}function Ut(t){return t[1]}function Qn(t,...e){t=l(t);var n=!1;for(const r of e)if(r!=null){n=!0;break}if(n){const r=(u,i)=>{const s=Jt(i),f=Ut(i);return St(u,s)?S(u,s,t(g(u,s),f)):S(u,s,f)};return Q((u,i)=>Q(r,u||{},E(i)),e)}else return null}function Kn(){return performance.now()}function Xt(...t){let e,n,r,o,u;switch(t.length){case 0:return[];case 1:return t[0];case 2:return Et(t[0]??[],...c(t[1]));case 3:return e=t[0],n=t[1],r=t[2],o=I(e),u=(i,s)=>s===void 0?i:B(i,s),dt(n,u,o,r);default:throw TypeError(`Invalid arity call of into: ${t.length}`)}}function In(t,e){return t===e}function st(...t){if(t.length==0||t.length>2)throw new Error(`Invalid arity: ${t.length}`);return{[et]:!0,[Nt]:t.length==1?function*(){const e=t[0];for(;;)yield e}:function*(){const[e,n]=t;for(var r=0;r<e;r++)yield n}}}function Zt(t){return A(t)?t:F(t)}function jn(t){return e=>{let n=t;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1){const u=r[0];return e(u)}if(o===2){let u=r[0];const i=r[1],s=n,f=(n=n-1,n);return s>0&&(u=e(u,i)),f>0?u:Zt(u)}}}}function W(t,e){return arguments.length===1?jn(t):a(function*(){let n=t-1;for(const r of c(e))if(n-->=0&&(yield r),n<0)return})}function Nn(t){return e=>(...n)=>{const r=n.length;if(r===0)return e();if(r===1)return e(n[0]);if(r===2){const o=n[0],u=n[1];return _(t(u))?e(o,u):F(o)}}}function D(t,e){return t=l(t),arguments.length===1?Nn(t):a(function*(){for(const n of c(e))if(_(t(n)))yield n;else return})}function On(t){return e=>{let n=-1;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=r[0],i=r[1];return n++,xe(n,t)===0?e(u,i):u}}}}function Tn(t,e){return arguments.length===1?On(t):t<=0?st(k(e)):a(function*(){let n=0;for(const r of c(e))n%t===0&&(yield r),n++})}function qn(t,...e){return t=l(t),function(...n){return t(...e,...n)}}function Gn(t){return a(function*(){for(;;)yield*t})}function Bn(t){return e=>{let n=t;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=r[0],i=r[1],s=n;return n--,s>0?u:e(u,i)}}}}function J(t,e){return arguments.length===1?Bn(t):a(function*(){const n=L(c(e));for(let r=0;r<t;r++)n.next();yield*n})}function Ln(t){return e=>{let n=!0;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=n,i=r[0],s=r[1];return u&&_(t(s))?i:(n=null,e(i,s))}}}}function Ht(t,e){return t=l(t),arguments.length===1?Ln(t):a(function*(){const n=L(c(e));for(;;){const r=n.next();if(r.done)break;const o=r.value;if(!_(t(o))){yield o;break}}yield*n})}function $n(){return t=>{const e=new Set;return(...n)=>{const r=n.length;if(r===0)return t();if(r===1)return t(n[0]);if(r===2){const o=n[0],u=n[1];return e.has(u)?o:(e.add(u),t(o,u))}}}}function zn(t){return arguments.length===0?$n():a(function*(){const e=new Set;for(const n of c(t))e.has(n)||(yield n),e.add(n)})}function Fn(t,e,n,...r){return n=l(n),S(t,e,n(g(t,e),...r))}function ft(t,e,n){let r=t;for(const o of e)r=g(r,o);return r===void 0?n:r}function Pn(t,e,n,...r){return n=l(n),At(t,e,n(ft(t,e),...r))}function lt(t,e,...n){return t=l(t),function(r,...o){return r?t(r,...n,...o):t(e,...n,...o)}}function te(t,e){t=l(t);for(const n of c(e))if(!t(n))return!1;return!0}function Yn(t,e){return!te(t,e)}function Cn(t){return e=>(...n)=>{const r=n.length;if(r===0)return e();if(r===1)return e(n[0]);if(r===2){const o=n[0],u=n[1],i=t(u);return i==null?o:e(o,i)}}}function Vn(t,e){return t=l(t),arguments.length===1?Cn(t):a(function*(){for(const n of c(e)){const r=t(n);_(r)&&(yield r)}})}function Wn(t){return t=c(t),[...t].reverse()}function at(t,e){return arguments.length===1&&(e=t,t=void 0),t=l(t),e=c(e),[...e].sort(t||v)}function Dn(t){return t===v?t:(e,n)=>{const r=t(e,n);return ie(r)?r:r?-1:t(n,e)?1:0}}function Jn(t,e,n){return arguments.length===2&&(n=e,e=v),t=l(t),e=l(e),at((r,o)=>{const u=Dn(e),i=t(r),s=t(o);return u(i,s)},n)}function Un(t){return[...t].sort(function(e,n){return Math.random()-.5})}function ee(t,e){t=l(t);for(const n of c(e)){const r=t(n);if(_(r))return r}}function Xn(t,e){return t=l(t),!ee(t,e)}function Zn(t,e){return(Array.isArray(e)?zt:j)(r=>{const o=t[r];return o!==void 0?o:r},e)}function Hn(t){return!E(t)}function ne(t){return Math.floor(Math.random()*t)}function tr(t){const e=ne(T(t));return Kt(t,e)}function er(t){return a(function*(){for(;;)yield t()})}function nr(t,e){arguments.length===1&&(e=t,t=void 0);const n=er(e);return t?W(t,n):n}function pt(t,e,n,...r){const o=g(t,e);return b(t,e,n(o,...r))}function rr(t,e){t=l(t);const n={};for(const r of c(e)){const o=t(r);pt(n,o,lt(B,[]),r)}return n}function or(t){const e={},n=lt(kt,0);for(const r of c(t))pt(e,r,n);return e}class ur{constructor(e){this.f=e,this.res=void 0}*[Symbol.iterator](){this.res===void 0&&(this.res=this.f(),this.f=null),yield*c(this.res)}}function ir(t){const e=[...c(t)];return e.pop(),e.length>0?e:null}function cr(...t){const[e,n]=t.length>1?t:[1,t[0]];return j((r,o)=>r,n,J(e,n))}function sr(t,e){return[W(t,e),J(t,e)]}function fr(t,e){return[D(t,e),Ht(t,e)]}function T(t){if(!t)return 0;const e=t.length||t.size;if(typeof e=="number")return e;let n=0;for(const r of c(t))n++;return n}function lr(t){return t===!0}function ar(t){return t===!1}function pr(t){return t!=null}function hr(t){return!!t}function _r(t){return t===0}function xr(t){return t<0}function dr(t){return t>0}function yr(...t){let e=0;const n={};for(;!(e>=t.length);)n[t[e]]=t[e+1],e=e+2;return n}function mr(t){return t.length}function wr(t,e,n,...r){if(r.length==0)return t[e]=n,n;{const o=[e,n,...r],u=o[o.length-1];let i=t,s=0;const f=o.length-2;for(;s<f;s++)i=i[o[s]];return i[o[s]]=u,n}}function gr(t){for(const e of c(t));return null}function br(t){return R(t)}function Ar(t){return[...t]}function vr(t,e,n){return t._add_watch(e,n)}function Mr(t,e){return t._remove_watch(e)}function ht(t,e,n){if(!n)return e;var r=e;for(const o of c(n))r=t(r,o[0],o[1]);return r}function re(t,e,...n){return e==null?t:Math.max(t,e,...n)}function Er(t,e,...n){return e==null?t:Math.min(t,e,...n)}function Rr(t){return t instanceof Object}function Sr(...t){return(...e)=>{for(const n of t)for(const r of e)if(!n(r))return!1;return!0}}function kr(...t){return(...e)=>{for(const n of t)for(const r of e){const o=n(r);if(o)return o}}}function oe(t,e){return R(e||t)}function Qr(t,e){var n=e;return a(function*(){for(;;)yield n,n=t(n)})}function Kr(...t){return t=t.map(l),(...e)=>{const n=[];for(const r of t)n.push(r(...e));return n}}function Z(t){if(Array.isArray(t)){const e=t.slice(1);return e.length>0?e:null}else return E(z(t))}function Ir(t){return Z(Z(t))}function v(t,e){if(t===e)return 0;{if(t==null)return-1;if(e==null)return 1;const n=typeof t,r=typeof e;if(n==="number"&&r==="number"||n==="string"&&r==="string")return t===e?0:t<e?-1:1;throw new Error(`comparing ${n} to ${r}`)}}function jr(t){return oe(t)}function _(t){return t!=null&&t!==!1}const Nr=_;function ue(t,e,n){return t.substring(e,n)}function Or(t){return typeof t=="function"}function Tr(t,e){return a(function*(){for(;;){const n=t.exec(e);if(n){const r=n[0];yield n.length===1?r:R(n);const u=n.index+re(1,r.length);if(u>e.length)break;e=ue(e,u)}else break}})}function qr(t){return Number.isNaN(t)}function ie(t){return typeof t=="number"}function ce(t){return t?Object.keys(t):null}function Gr(t){return ce(t)}function Br(t){return t?Object.values(t):null}function _t(t){return typeof t=="string"}function Lr(t){return p(t)!=null}function $r(t){return t instanceof RegExp}class xt extends Error{constructor(e,n,r){super(e),this._data=n,this._cause=r}}function zr(t){return t instanceof xt?t._data:null}function Fr(t){return t instanceof Error?t.message:null}function Pr(t){return t instanceof xt?t._cause:null}function Yr(t,e,n){return new xt(t,e,n)}function se(t){return Number.isInteger(t)}const Cr=se,fe=Symbol("meta");function Vr(t){return t instanceof Object?t[fe]:null}function Wr(t,e){const n=I(t);return n[fe]=e,n}function Dr(t){return t===!0||t===!1}function le(t){switch(p(t)){case y:case h:case m:case M:case w:return!0}return!1}function Jr(t,e){return le(e)?T(e):T(W(t,e))}function Ur(t,e){const n=g(t,e);if(n!==void 0)return[e,n]}function Xr(t,e){return(t%e+e)%e}function Zr(t,e,...n){if(n.length==0)return e;var r=t(e),o=e;return n.forEach(u=>{var i=t(u);i<=r&&(r=i,o=u)}),o}function Hr(t,e,...n){if(n.length==0)return e;var r=t(e),o=e;return n.forEach(u=>{var i=t(u);i>=r&&(r=i,o=u)}),o}function to(t){throw new Error(`Expected string, got: ${typeof t}`)}function eo(t){if(_t(t)){if(/^[+-]?\d+$/.test(t)){const e=parseInt(t);if(Number.MIN_SAFE_INTEGER<=e<=Number.MAX_SAFE_INTEGER)return e}return null}return to(t)}function ae(t){return t>=0?Math.floor(t):Math.ceil(t)}function pe(t,e){const n=t%e;return ae((t-n)/e)}function dt(t,...e){switch(e.length){case 2:{const n=e[0],r=e[1];return dt(t,n,n(),r)}default:{let n=e[0];const r=e[1],o=e[2];n=t(n);const u=Q(n,r,o);return n(u)}}}function no(t,e){const n={},r=c(t)[Symbol.iterator](),o=c(e)[Symbol.iterator]();let u,i;for(;u=r.next(),!(u.done||(i=o.next(),i.done));)n[u.value]=i.value;return n}function ro(t){return E(t)?t:null}function he(t,e,n){const r=function*(o){if(yield o,_(t(o)))for(const u of c(e(o)))yield*r(u)};return a(function*(){yield*r(n)})}function oo(t){return P(ut(X),z(he(X,E,t)))}function uo(t){return I(t)}function io(t){return Object.freeze(t)}class N{constructor(e){e instanceof N||(e=at(e));const r=new Set(e);this._elts=[...r],this._set=r}add(e){if(this._set.has(e))return this;const n=this._elts;let r=!1;for(let o=0;o<n.length;o++)if(v(e,n[o])<=0){n.splice(o,0,e),r=!0;break}return r?this._set=new Set(n):(n.push(e),this._set.add(e)),this.size=n.length,this}delete(e){if(!this._set.has(e))return this;const n=this._elts,r=n.indexOf(e);return n.splice(r,1),this._set=new Set(n),this.size=n.length,this}has(e){return this._set.has(e)}keys(){return this.values()}values(){return this._elts[Symbol.iterator]()}entries(){return this._set.entries()}forEach(...e){return this.set.forEach(...e)}clear(){this._elts=[],this._set=new Set(this._elts)}[Symbol.iterator](){return this.keys()}}function co(...t){return new N(t)}function H(t,e,n){return r=>e(v(r,n),0)}function _e(t,e,n=!0){let r=0;for(;r<t.length&&v(e,t[r])>0;r++);return r}function so([t,e,n]){const r=H(t,e,n);if(e===wt||e===gt){const o=[...t],u=_e(o,n,!0);return o.splice(0,u),r(o[0])||o.splice(0,1),o}else return[...D(r,t)]}function fo([t,e,n,r,o]){const u=[...t],i=_e(u,n,!0);u.splice(0,i);const s=H(t,r,o);return H(t,e,n)(u[0])||u.splice(0,1),[...D(s,u)]}function lo(...t){if(t.length===3)return so(t);if(t.length===5)return fo(t)}function ao(t){return Math.abs(t)}function po(t){return ae(t)}function ho(t){return t!=null&&t.constructor}function _o(t){return(e,n)=>{const r=t(e,n);return A(r)?F(r):r}}function xo(t){return t=_o(t),(...e)=>{switch(e.length){case 0:return t();case 1:return t(e[0]);case 2:return Q(t,e[0],e[1])}}}function xe(t,e){const n=pe(t,e);return t-e*n}function yo(t){const e=new Map;return(...n)=>{const r=[n.length,...n],o=ft(e,r);if(o===void 0){const u=t(...n);return vt(e,r,u),u}else return o}}function mo(t){return C(t)?t[t.length-1]:k(t)}function wo(t){if(C(t)){const e=[...t];return e.pop(),e}else return z(t)}function go(t,e){const n=V(t),r=bt(t)||b;return ht((o,u,i)=>r(o,e(u),i),n,t),n}function bo(t,e){const n=V(t),r=bt(t)||b;return ht((o,u,i)=>r(o,u,e(i)),n,t),n}return Ae(Ao);})();
var squint;(squint||={}).core=(()=>{var U=Object.defineProperty;var ye=Object.getOwnPropertyDescriptor;var me=Object.getOwnPropertyNames;var we=Object.prototype.hasOwnProperty;var ge=(t,e)=>{for(var n in e)U(t,n,{get:e[n],enumerable:!0})},be=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of me(e))!we.call(t,o)&&o!==n&&U(t,o,{get:()=>e[o],enumerable:!(r=ye(e,o))||r.enumerable});return t};var Ae=t=>be(U({},"__esModule",{value:!0}),t);var Ao={};ge(Ao,{Atom:()=>Lt,Cons:()=>qt,IIterable:()=>et,IIterable__iterator:()=>Nt,LazySeq:()=>ur,NaN_QMARK_:()=>qr,PROTOCOL_SENTINEL:()=>nn,_:()=>ke,_EQ_:()=>ve,_GT_:()=>wt,_GT__EQ_:()=>gt,_LT_:()=>Me,_LT__EQ_:()=>Ee,_PLUS_:()=>Re,_STAR_:()=>Se,_iterator:()=>L,abs:()=>ao,aclone:()=>Ar,add_watch:()=>vr,alength:()=>mr,apply:()=>xn,array_QMARK_:()=>C,aset:()=>wr,assoc:()=>S,assoc_BANG_:()=>b,assoc_in:()=>At,assoc_in_BANG_:()=>vt,atom:()=>un,boolean$:()=>hr,boolean_QMARK_:()=>Dr,bounded_count:()=>Jr,butlast:()=>ir,cat:()=>xo,coll_QMARK_:()=>Lr,comp:()=>Oe,compare:()=>v,complement:()=>ut,concat:()=>Ct,conj:()=>Et,conj_BANG_:()=>B,cons:()=>Ce,constantly:()=>yn,contains_QMARK_:()=>St,count:()=>T,counted_QMARK_:()=>le,cycle:()=>Gn,dec:()=>Be,deref:()=>rt,disj:()=>Te,disj_BANG_:()=>Rt,dissoc:()=>Ge,dissoc_BANG_:()=>qe,distinct:()=>zn,doall:()=>br,dorun:()=>gr,drop:()=>J,drop_last:()=>cr,drop_while:()=>Ht,empty:()=>V,empty_QMARK_:()=>Hn,ensure_reduced:()=>Zt,es6_iterator:()=>$,even_QMARK_:()=>Pt,every_QMARK_:()=>te,every_pred:()=>Sr,ex_cause:()=>Pr,ex_data:()=>zr,ex_info:()=>Yr,ex_message:()=>Fr,false_QMARK_:()=>ar,ffirst:()=>$e,filter:()=>P,filterv:()=>We,find:()=>Ur,first:()=>k,flatten:()=>oo,fn_QMARK_:()=>Or,fnil:()=>lt,frequencies:()=>or,get:()=>g,get_in:()=>ft,group_by:()=>rr,identical_QMARK_:()=>In,identity:()=>Vt,inc:()=>kt,int_QMARK_:()=>se,integer_QMARK_:()=>Cr,interleave:()=>Wt,interpose:()=>bn,into:()=>Xt,into_array:()=>oe,iterable:()=>c,iterate:()=>Qr,js_keys:()=>Gr,js_obj:()=>yr,juxt:()=>Kr,keep:()=>Vn,keep_indexed:()=>He,key:()=>Jt,keys:()=>ce,last:()=>ze,lazy:()=>a,list:()=>Yt,list_QMARK_:()=>mn,long$:()=>po,map:()=>j,map_QMARK_:()=>Rr,map_indexed:()=>Ue,mapcat:()=>wn,mapv:()=>zt,max:()=>re,max_key:()=>Hr,memoize:()=>yo,merge:()=>kn,merge_with:()=>Qn,meta:()=>Vr,min:()=>Er,min_key:()=>Zr,mod:()=>Xr,neg_QMARK_:()=>xr,next:()=>Z,nil_QMARK_:()=>en,nnext:()=>Ir,not:()=>Gt,not_any_QMARK_:()=>Xn,not_empty:()=>ro,not_every_QMARK_:()=>Yn,nth:()=>Kt,number_QMARK_:()=>ie,object_QMARK_:()=>je,odd_QMARK_:()=>dn,parse_long:()=>eo,partial:()=>qn,partition:()=>En,partition_all:()=>Mn,partition_by:()=>Sn,peek:()=>mo,persistent_BANG_:()=>io,pop:()=>wo,pos_QMARK_:()=>dr,pr_str:()=>Bt,println:()=>Qt,prn:()=>on,quot:()=>pe,rand_int:()=>ne,rand_nth:()=>tr,range:()=>sn,re_find:()=>ln,re_matches:()=>fn,re_pattern:()=>an,re_seq:()=>Tr,reduce:()=>Q,reduce_kv:()=>ht,reduced:()=>F,reduced_QMARK_:()=>A,reductions:()=>Pe,regexp_QMARK_:()=>$r,rem:()=>xe,remove:()=>De,remove_watch:()=>Mr,repeat:()=>st,repeatedly:()=>nr,replace:()=>Zn,reset_BANG_:()=>$t,rest:()=>z,reverse:()=>Wn,satisfies_QMARK_:()=>Qe,second:()=>Le,select_keys:()=>An,seq:()=>E,seq_QMARK_:()=>It,seqable_QMARK_:()=>jt,sequential_QMARK_:()=>X,set:()=>_n,shuffle:()=>Un,some:()=>ee,some_QMARK_:()=>pr,some_fn:()=>kr,sort:()=>at,sort_by:()=>Jn,sorted_set:()=>co,split_at:()=>sr,split_with:()=>fr,str:()=>tn,string_QMARK_:()=>_t,subs:()=>ue,subseq:()=>lo,subvec:()=>pn,swap_BANG_:()=>cn,system_time:()=>Kn,t:()=>Nr,take:()=>W,take_nth:()=>Tn,take_while:()=>D,to_array:()=>jr,transduce:()=>dt,transient$:()=>uo,tree_seq:()=>he,true_QMARK_:()=>lr,truth_:()=>_,type:()=>ho,unreduced:()=>ct,update:()=>Fn,update_BANG_:()=>pt,update_in:()=>Pn,update_keys:()=>go,update_vals:()=>bo,val:()=>Ut,vals:()=>Br,vec:()=>R,vector:()=>ot,vector_QMARK_:()=>hn,warn_on_lazy_reusage_BANG_:()=>Ye,with_meta:()=>Wr,zero_QMARK_:()=>_r,zipmap:()=>no});function l(t){if(t==null||t instanceof Function)return t;const e=typeof t;return e==="string"?(n,r)=>g(n,t,r):e==="object"?(n,r)=>g(t,n,r):t}function K(t,e){return t.every(function(n,r){return r===0||e(t[r-1],n)})}function ve(...t){return K(t,(e,n)=>e===n)}function wt(...t){return K(t,(e,n)=>e>n)}function gt(...t){return K(t,(e,n)=>e>=n)}function Me(...t){return K(t,(e,n)=>e<n)}function Ee(...t){return K(t,(e,n)=>e<=n)}function Re(...t){return t.reduce((e,n)=>e+n,0)}function Se(...t){return t.reduce((e,n)=>e*n,1)}function ke(...t){return t.length==1?0-t[0]:t.reduce((e,n)=>e-n)}function Qe(t,e){return e[t]}function Ke(t,e,n){return t.set(e,n),t}function Ie(t,e,n){return t[e]=n,t}function bt(t){switch(p(t)){case h:return Ke;case y:case m:return Ie}}function b(t,e,n,...r){if(r.length%2!==0)throw new Error("Illegal argument: assoc expects an odd number of arguments.");switch(p(t)){case h:t.set(e,n);for(let o=0;o<r.length;o+=2)t.set(r[o],r[o+1]);break;case y:case m:t[e]=n;for(let o=0;o<r.length;o+=2)t[r[o]]=r[o+1];break;default:throw new Error(`Illegal argument: assoc! expects a Map, Array, or Object as the first argument, but got ${typeof t}.`)}return t}function I(t){switch(p(t)){case h:return new Map(t);case w:return new t.constructor(t);case y:return[...t];case m:return{...t};default:throw new Error(`Don't know how to copy object of type ${typeof t}.`)}}function S(t,e,n,...r){t||(t={});const o=I(t);return b(o,e,n,...r),o}const h=1,y=2,m=3,M=4,w=5,q=6;function G(t){switch(t){case h:return new Map;case y:return[];case m:return{};case M:return new Y;case w:return new Set;case q:return a(function*(){})}}function tt(t){return t.constructor===Object}function je(t){return t!=null&&tt(t)}function p(t){if(t!=null){if(tt(t))return m;if(t instanceof Map)return h;if(t instanceof Set)return w;if(t instanceof Y)return M;if(Array.isArray(t))return y;if(t instanceof nt)return q;if(t instanceof N)return w;if(t instanceof Object)return m}}function Ne(t,e,n,r,o){r=R(r);const u=p(n);if(u!==h&&u!==y&&u!==m)throw new Error(`Illegal argument: ${e} expects the first argument to be a Map, Array, or Object.`);const i=[n];let s=n;for(let f=0;f<r.length-1;f+=1){const x=r[f];let d;s instanceof Map?d=s.get(x):d=s[x],d||(d=G(u)),i.push(d),s=d}i.push(o);for(let f=i.length-2;f>=0;f-=1)i[f]=t(i[f],r[f],i[f+1]);return i[0]}function At(t,e,n){return Ne(S,"assoc-in",t,e,n)}function vt(t,e,n){e=R(e);var r=t;const o=p(t);for(const u of e.splice(0,e.length-1)){let i=g(r,u);i===void 0&&(i=G(o),b(r,u,i)),r=i}return b(r,e[e.length-1],n),t}function Oe(...t){if(t=t.map(l),t.length===0)return Vt;if(t.length===1)return t[0];const[e,...n]=t.slice().reverse();return function(...r){let o=e(...r);for(const u of n)o=u(o);return o}}function Mt(t,e){for(const n of e)t.add(n);return t}function B(...t){if(t.length===0)return ot();const[e,...n]=t;let r=e;switch(r==null&&(r=[]),p(r)){case w:Mt(r,n);break;case M:r.unshift(...n.reverse());break;case y:r.push(...n);break;case h:for(const o of n)Array.isArray(o)?r.set(o[0],o[1]):c(o).forEach(u=>{r.set(u[0],u[1])});break;case m:for(const o of n)Array.isArray(o)?r[o[0]]=o[1]:Object.assign(r,o);break;default:throw new Error("Illegal argument: conj! expects a Set, Array, List, Map, or Object as the first argument.")}return r}function Et(...t){if(t.length===0)return ot();const[e,...n]=t;let r=e;r==null&&(r=Yt());let o,u;switch(p(r)){case w:return r instanceof N?Mt(new r.constructor(r),n):new r.constructor([...r,...n]);case M:return new Y(...n.reverse(),...r);case y:return[...r,...n];case h:o=new Map(r);for(const i of n)Array.isArray(i)?o.set(i[0],i[1]):c(i).forEach(s=>{o.set(s[0],s[1])});return o;case q:return a(function*(){yield*n,yield*r});case m:u={...r};for(const i of n)Array.isArray(i)?u[i[0]]=i[1]:Object.assign(u,i);return u;default:throw new Error("Illegal argument: conj expects a Set, Array, List, Map, or Object as the first argument.")}}function Rt(t,...e){for(const n of e)t.delete(n);return t}function Te(t,...e){const n=new t.constructor([...t]);return Rt(n,...e)}function St(t,e){switch(p(t)){case w:case h:return t.has(e);case void 0:return!1;default:return e in t}}function qe(t,...e){for(const n of e)delete t[n];return t}function Ge(t,...e){if(e.length===0)return t;const n=I(t);switch(p(t)){case h:for(const r of e)n.delete(r);break;default:for(const r of e)delete n[r];break}return n}function kt(t){return t+1}function Be(t){return t-1}function Qt(...t){console.log(...t)}function Kt(t,e,n){if(t){var r=void 0;if(Array.isArray(t))r=t[e];else{const o=c(t);let u=0;for(const i of o)if(u++==e){r=i;break}}if(r!==void 0)return r}return n}function g(t,e,n=void 0){if(t==null)return n;let r;if(tt(t))return r=t[e],r===void 0?n:r;let o;switch(p(t)){case w:t.has(e)&&(r=e);break;case h:r=t.get(e);break;case y:r=t[e];break;default:if(o=t.get,o instanceof Function)try{r=t.get(e);break}catch{}r=t[e];break}return r!==void 0?r:n}function It(t){return t!=null&&!!t[Symbol.iterator]}const X=It;function jt(t){return t==null||!!t[Symbol.iterator]}function c(t){if(t==null)return[];if(jt(t))return t;if(t instanceof Object)return Object.entries(t);throw new TypeError(`${t} is not iterable`)}const et=Symbol("Iterable"),Nt=Symbol.iterator;function L(t){return t[Symbol.iterator]()}const $=L;function E(t){if(t==null)return t;const e=c(t);return e.length===0||e.size===0||e[Symbol.iterator]().next().done?null:e}function k(t){const[e]=c(t);return e}function Le(t){const[e,n]=c(t);return n}function $e(t){return k(k(t))}function z(t){return a(function*(){let e=!0;for(const n of c(t))e?e=!1:yield n})}class O{value;constructor(e){this.value=e}_deref(){return this.value}}function ze(t){t=c(t);let e;switch(p(t)){case y:return t[t.length-1];default:for(const n of t)e=n;return e}}function F(t){return new O(t)}function A(t){return t instanceof O}function Q(t,e,n){t=l(t);let r,o;if(arguments.length===2){const u=c(e)[Symbol.iterator](),i=u.next();i.done?o=t():o=i.value,r=u}else o=e,r=c(n);if(o instanceof O)return o.value;for(const u of r)if(o=t(o,u),o instanceof O){o=o.value;break}return o}function*Fe(t,e){const n=e.next();n.done?yield t():yield*Ot(t,n.value,e)}function*Ot(t,e,n){let r=e,o=n;for(;;){if(A(r)){yield r.value;return}else yield r;const u=o.next();if(u.done)break;r=t(r,u.value)}}function Pe(t,e,n){return t=l(t),arguments.length===2?a(function*(){yield*Fe(t,c(e)[Symbol.iterator]())}):a(function*(){yield*Ot(t,e,c(n)[Symbol.iterator]())})}var Tt=!1;function Ye(){Tt=!0}class nt{constructor(e){this.gen=e,this.usages=0}[Symbol.iterator](){if(this.usages++,this.usages>=2&&Tt)try{throw new Error}catch(e){console.warn("Re-use of lazy value",e.stack)}return this.gen()}}nt.prototype[et]=!0;function a(t){return new nt(t)}class qt{constructor(e,n){this.x=e,this.coll=n}*[Symbol.iterator](){yield this.x,yield*c(this.coll)}}function Ce(t,e){return new qt(t,e)}function j(t,...e){switch(t=l(t),e.length){case 0:return n=>(...r)=>{switch(r.length){case 0:return n();case 1:return n(r[0]);case 2:return n(r[0],t(r[1]));default:return n(r[0],t(...r.slice(1)))}};case 1:return a(function*(){for(const n of c(e[0]))yield t(n)});default:return a(function*(){const n=e.map(r=>$(c(r)));for(;;){const r=[];for(const o of n){const u=o.next();if(u.done)return;r.push(u.value)}yield t(...r)}})}}function Ve(t){return e=>(...n)=>{switch(n.length){case 0:return e();case 1:return e(n[0]);case 2:{const r=n[0],o=n[1];return _(t(o))?e(r,o):r}}}}function P(t,e){return arguments.length===1?Ve(t):(t=l(t),a(function*(){for(const n of c(e))_(t(n))&&(yield n)}))}function We(t,e){return[...P(t,e)]}function De(t,e){return P(ut(t),e)}function Je(t){return e=>{let n=-1;return(...r)=>{switch(r.length){case 0:return e();case 1:return e(r[0]);case 2:return e(r[0],t((n=n+1,n),r[1]))}}}}function Ue(t,e){if(t=l(t),arguments.length===1)return Je(t);const n=[];let r=0;for(const o of c(e))n.push(t(r,o)),r++;return n}function Xe(t,e){t=l(t);const n=[];let r=0;for(const o of c(e)){const u=t(r,o);_(u)&&n.push(u),r++}return n}function Ze(t){return e=>{let n=-1;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=r[0],i=r[1];n++;const s=t(n,i);return s==null?u:e(u,s)}}}}function He(t,e){return arguments.length===1?Ze(t):Xe(t,e)}function tn(...t){return t.join("")}function Gt(t){return!_(t)}function en(t){return t==null}const nn={};function rn(t){return t===null?"null":JSON.stringify(t,(e,n)=>{switch(p(n)){case w:case q:return[...n];case h:return Object.fromEntries(n);default:return n}})}function Bt(...t){return t.map(rn).join(" ")}function on(...t){Qt(Bt(...t))}class Lt{constructor(e){this.val=e,this._watches={},this._deref=()=>this.val,this._hasWatches=!1,this._reset_BANG_=n=>{const r=this.val;if(this.val=n,this._hasWatches)for(const o of Object.entries(this._watches)){const u=o[0],i=o[1];i(u,this,r,n)}return n},this._add_watch=(n,r)=>{this._watches[n]=r,this._hasWatches=!0},this._remove_watch=n=>{delete this._watches[n]}}}function un(t){return new Lt(t)}function rt(t){return t._deref()}function $t(t,e){t._reset_BANG_(e)}function cn(t,e,...n){e=l(e);const r=e(rt(t),...n);return $t(t,r),r}function sn(t,e,n){return a(function*(){let r=t,o=e,u=n;e===void 0&&(r=0,o=t);let i=r||0;for(u=n||1;o===void 0||i<o;)yield i,i+=u})}function fn(t,e){const n=t.exec(e);return n&&e===n[0]?n.length===1?n[0]:n:null}function ln(t,e){if(_t(e)){const n=t.exec(e);return n!=null?n.length===1?n[0]:[...n]:null}else throw new TypeError("re-find must match against a string.")}function an(t){if(t instanceof RegExp)return t;const e=t.match(/^\(\?([dgimsuvy]*)\)/);return e?new RegExp(t.slice(e[0].length),e[1]):new RegExp(t)}function pn(t,e,n){return t.slice(e,n)}function ot(...t){return t}function hn(t){return p(t)===y}function zt(...t){return[...j(...t)]}function R(t){return C(t)?t:[...c(t)]}function _n(t){return new Set(c(t))}const Ft=Symbol("IApply__apply");function xn(t,...e){t=l(t);const n=e.slice(0,e.length-1),r=c(e[e.length-1]),o=t[Ft];return o?o(...n,r):t(...n,...r)}function Pt(t){return t%2==0}function dn(t){return!Pt(t)}function ut(t){return t=l(t),(...e)=>Gt(t(...e))}function yn(t){return(...e)=>t}class Y extends Array{constructor(...e){super(),this.push(...e)}}function mn(t){return p(t)===M}function Yt(...t){return new Y(...t)}function C(t){return Array.isArray(t)}function it(t){return a(function*(){for(const e of t)yield*c(e)})}function Ct(...t){return it(t)}Ct[Ft]=t=>it(t);function wn(t,...e){const n=j(t,...e);return it(n)}function Vt(t){return t}function Wt(...t){return a(function*(){const e=t.map(n=>$(c(n)));for(;;){const n=[];for(const r of e){const o=r.next();if(o.done)return;n.push(o.value)}yield*n}})}function gn(t){return e=>{let n=!1;return(...r)=>{switch(r.length){case 0:return e();case 1:return e(r[0]);case 2:if(n){const o=e(r[0],t);return A(o)?o:e(o,r[1])}else return n=!0,e(r[0],r[1])}}}}function bn(t,e){return arguments.length===1?gn(t):J(1,Wt(st(t),e))}function An(t,e){const n=p(t),r=G(n)||{};for(const o of e){const u=g(t,o);u!=null&&b(r,o,u)}return r}function ct(t){return A(t)?rt(t):t}function vn(t){return e=>{let n=[];return(...r)=>{let o,u;switch(r.length){case 0:return e();case 1:return o=r[0],n.length!==0&&(u=[...n],n=[],o=ct(e(o,u))),e(o);case 2:return o=r[0],n.push(r[1]),t===n.length?(u=[...n],n=[],e(o,u)):o}}}}function Mn(t,...e){if(arguments.length===1)return vn(t);let n=t,r=e[0];return e.length===2&&([n,r]=e),Dt(t,n,[],r,!0)}function En(t,...e){let n=t,r=[],o=e[0];return e.length===2?[n,o]=e:e.length>2&&([n,r,o]=e),Dt(t,n,r,o,!1)}function Dt(t,e,n,r,o){return a(function*(){let u=[],i=0;for(const s of c(r))i<t&&(u.push(s),u.length===t&&(yield u,u=e<t?u.slice(e):[])),i++,i===e&&(i=0);u.length>0&&(u.length===t||o?yield u:n.length&&(u.push(...n.slice(0,t-u.length)),yield u))})}function Rn(t){return e=>{let n=[];const r={};let o=r;return(...u)=>{const i=u.length;let s;if(i===0)return e();if(i===1){let f=u[0];if(n.length!==0){const x=[...n];n=[],f=ct(e(f,x))}return e(f)}if(i===2){const f=u[0],x=u[1],d=o,yt=t(x);if(o=yt,d===r||yt===d)return n.push(x),f;{const de=[...n];n=[];const mt=e(f,de);return A(mt)||n.push(x),mt}}}}}function Sn(t,e){return t=l(t),arguments.length===1?Rn(t):a(function*(){const n=$(e),r=n.next();r.done&&(yield*null);const o=r.value;let u=t(o),i=[o],s=[];for(;;){const f=n.next();if(f.done){yield i;break}const x=f.value,d=t(x);u==d?i.push(x):(yield i,s.push(x),i=s,u=d,s=[])}})}function V(t){const e=p(t);if(e!=null)return G(e);throw new Error(`Can't create empty of ${typeof t}`)}function kn(...t){const e=t[0];let n;return e==null?n={}:n=Xt(V(e),e),B(n,...t.slice(1))}function Jt(t){return t[0]}function Ut(t){return t[1]}function Qn(t,...e){t=l(t);var n=!1;for(const r of e)if(r!=null){n=!0;break}if(n){const r=(u,i)=>{const s=Jt(i),f=Ut(i);return St(u,s)?S(u,s,t(g(u,s),f)):S(u,s,f)};return Q((u,i)=>Q(r,u||{},E(i)),e)}else return null}function Kn(){return performance.now()}function Xt(...t){let e,n,r,o,u;switch(t.length){case 0:return[];case 1:return t[0];case 2:return Et(t[0]??[],...c(t[1]));case 3:return e=t[0],n=t[1],r=t[2],o=I(e),u=(i,s)=>s===void 0?i:B(i,s),dt(n,u,o,r);default:throw TypeError(`Invalid arity call of into: ${t.length}`)}}function In(t,e){return t===e}function st(...t){if(t.length==0||t.length>2)throw new Error(`Invalid arity: ${t.length}`);return{[et]:!0,[Nt]:t.length==1?function*(){const e=t[0];for(;;)yield e}:function*(){const[e,n]=t;for(var r=0;r<e;r++)yield n}}}function Zt(t){return A(t)?t:F(t)}function jn(t){return e=>{let n=t;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1){const u=r[0];return e(u)}if(o===2){let u=r[0];const i=r[1],s=n,f=(n=n-1,n);return s>0&&(u=e(u,i)),f>0?u:Zt(u)}}}}function W(t,e){return arguments.length===1?jn(t):a(function*(){let n=t-1;for(const r of c(e))if(n-->=0&&(yield r),n<0)return})}function Nn(t){return e=>(...n)=>{const r=n.length;if(r===0)return e();if(r===1)return e(n[0]);if(r===2){const o=n[0],u=n[1];return _(t(u))?e(o,u):F(o)}}}function D(t,e){return t=l(t),arguments.length===1?Nn(t):a(function*(){for(const n of c(e))if(_(t(n)))yield n;else return})}function On(t){return e=>{let n=-1;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=r[0],i=r[1];return n++,xe(n,t)===0?e(u,i):u}}}}function Tn(t,e){return arguments.length===1?On(t):t<=0?st(k(e)):a(function*(){let n=0;for(const r of c(e))n%t===0&&(yield r),n++})}function qn(t,...e){return t=l(t),function(...n){return t(...e,...n)}}function Gn(t){return a(function*(){for(;;)yield*t})}function Bn(t){return e=>{let n=t;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=r[0],i=r[1],s=n;return n--,s>0?u:e(u,i)}}}}function J(t,e){return arguments.length===1?Bn(t):a(function*(){const n=L(c(e));for(let r=0;r<t;r++)n.next();yield*n})}function Ln(t){return e=>{let n=!0;return(...r)=>{const o=r.length;if(o===0)return e();if(o===1)return e(r[0]);if(o===2){const u=n,i=r[0],s=r[1];return u&&_(t(s))?i:(n=null,e(i,s))}}}}function Ht(t,e){return t=l(t),arguments.length===1?Ln(t):a(function*(){const n=L(c(e));for(;;){const r=n.next();if(r.done)break;const o=r.value;if(!_(t(o))){yield o;break}}yield*n})}function $n(){return t=>{const e=new Set;return(...n)=>{const r=n.length;if(r===0)return t();if(r===1)return t(n[0]);if(r===2){const o=n[0],u=n[1];return e.has(u)?o:(e.add(u),t(o,u))}}}}function zn(t){return arguments.length===0?$n():a(function*(){const e=new Set;for(const n of c(t))e.has(n)||(yield n),e.add(n)})}function Fn(t,e,n,...r){return n=l(n),S(t,e,n(g(t,e),...r))}function ft(t,e,n){let r=t;for(const o of e)r=g(r,o);return r===void 0?n:r}function Pn(t,e,n,...r){return n=l(n),At(t,e,n(ft(t,e),...r))}function lt(t,e,...n){return t=l(t),function(r,...o){return r?t(r,...n,...o):t(e,...n,...o)}}function te(t,e){t=l(t);for(const n of c(e))if(!t(n))return!1;return!0}function Yn(t,e){return!te(t,e)}function Cn(t){return e=>(...n)=>{const r=n.length;if(r===0)return e();if(r===1)return e(n[0]);if(r===2){const o=n[0],u=n[1],i=t(u);return i==null?o:e(o,i)}}}function Vn(t,e){return t=l(t),arguments.length===1?Cn(t):a(function*(){for(const n of c(e)){const r=t(n);_(r)&&(yield r)}})}function Wn(t){return t=c(t),[...t].reverse()}function at(t,e){return arguments.length===1&&(e=t,t=void 0),t=l(t),e=c(e),[...e].sort(t||v)}function Dn(t){return t===v?t:(e,n)=>{const r=t(e,n);return ie(r)?r:r?-1:t(n,e)?1:0}}function Jn(t,e,n){return arguments.length===2&&(n=e,e=v),t=l(t),e=l(e),at((r,o)=>{const u=Dn(e),i=t(r),s=t(o);return u(i,s)},n)}function Un(t){const e=[...t];let n=t.length;for(;n;){const r=Math.floor(Math.random()*n--),o=e[n];e[n]=e[r],e[r]=o}return e}function ee(t,e){t=l(t);for(const n of c(e)){const r=t(n);if(_(r))return r}}function Xn(t,e){return t=l(t),!ee(t,e)}function Zn(t,e){return(Array.isArray(e)?zt:j)(r=>{const o=t[r];return o!==void 0?o:r},e)}function Hn(t){return!E(t)}function ne(t){return Math.floor(Math.random()*t)}function tr(t){const e=ne(T(t));return Kt(t,e)}function er(t){return a(function*(){for(;;)yield t()})}function nr(t,e){arguments.length===1&&(e=t,t=void 0);const n=er(e);return t?W(t,n):n}function pt(t,e,n,...r){const o=g(t,e);return b(t,e,n(o,...r))}function rr(t,e){t=l(t);const n={};for(const r of c(e)){const o=t(r);pt(n,o,lt(B,[]),r)}return n}function or(t){const e={},n=lt(kt,0);for(const r of c(t))pt(e,r,n);return e}class ur{constructor(e){this.f=e,this.res=void 0}*[Symbol.iterator](){this.res===void 0&&(this.res=this.f(),this.f=null),yield*c(this.res)}}function ir(t){const e=[...c(t)];return e.pop(),e.length>0?e:null}function cr(...t){const[e,n]=t.length>1?t:[1,t[0]];return j((r,o)=>r,n,J(e,n))}function sr(t,e){return[W(t,e),J(t,e)]}function fr(t,e){return[D(t,e),Ht(t,e)]}function T(t){if(!t)return 0;const e=t.length||t.size;if(typeof e=="number")return e;let n=0;for(const r of c(t))n++;return n}function lr(t){return t===!0}function ar(t){return t===!1}function pr(t){return t!=null}function hr(t){return!!t}function _r(t){return t===0}function xr(t){return t<0}function dr(t){return t>0}function yr(...t){let e=0;const n={};for(;!(e>=t.length);)n[t[e]]=t[e+1],e=e+2;return n}function mr(t){return t.length}function wr(t,e,n,...r){if(r.length==0)return t[e]=n,n;{const o=[e,n,...r],u=o[o.length-1];let i=t,s=0;const f=o.length-2;for(;s<f;s++)i=i[o[s]];return i[o[s]]=u,n}}function gr(t){for(const e of c(t));return null}function br(t){return R(t)}function Ar(t){return[...t]}function vr(t,e,n){return t._add_watch(e,n)}function Mr(t,e){return t._remove_watch(e)}function ht(t,e,n){if(!n)return e;var r=e;for(const o of c(n))r=t(r,o[0],o[1]);return r}function re(t,e,...n){return e==null?t:Math.max(t,e,...n)}function Er(t,e,...n){return e==null?t:Math.min(t,e,...n)}function Rr(t){return t instanceof Object}function Sr(...t){return(...e)=>{for(const n of t)for(const r of e)if(!n(r))return!1;return!0}}function kr(...t){return(...e)=>{for(const n of t)for(const r of e){const o=n(r);if(o)return o}}}function oe(t,e){return R(e||t)}function Qr(t,e){var n=e;return a(function*(){for(;;)yield n,n=t(n)})}function Kr(...t){return t=t.map(l),(...e)=>{const n=[];for(const r of t)n.push(r(...e));return n}}function Z(t){if(Array.isArray(t)){const e=t.slice(1);return e.length>0?e:null}else return E(z(t))}function Ir(t){return Z(Z(t))}function v(t,e){if(t===e)return 0;{if(t==null)return-1;if(e==null)return 1;const n=typeof t,r=typeof e;if(n==="number"&&r==="number"||n==="string"&&r==="string")return t===e?0:t<e?-1:1;throw new Error(`comparing ${n} to ${r}`)}}function jr(t){return oe(t)}function _(t){return t!=null&&t!==!1}const Nr=_;function ue(t,e,n){return t.substring(e,n)}function Or(t){return typeof t=="function"}function Tr(t,e){return a(function*(){for(;;){const n=t.exec(e);if(n){const r=n[0];yield n.length===1?r:R(n);const u=n.index+re(1,r.length);if(u>e.length)break;e=ue(e,u)}else break}})}function qr(t){return Number.isNaN(t)}function ie(t){return typeof t=="number"}function ce(t){return t?Object.keys(t):null}function Gr(t){return ce(t)}function Br(t){return t?Object.values(t):null}function _t(t){return typeof t=="string"}function Lr(t){return p(t)!=null}function $r(t){return t instanceof RegExp}class xt extends Error{constructor(e,n,r){super(e),this._data=n,this._cause=r}}function zr(t){return t instanceof xt?t._data:null}function Fr(t){return t instanceof Error?t.message:null}function Pr(t){return t instanceof xt?t._cause:null}function Yr(t,e,n){return new xt(t,e,n)}function se(t){return Number.isInteger(t)}const Cr=se,fe=Symbol("meta");function Vr(t){return t instanceof Object?t[fe]:null}function Wr(t,e){const n=I(t);return n[fe]=e,n}function Dr(t){return t===!0||t===!1}function le(t){switch(p(t)){case y:case h:case m:case M:case w:return!0}return!1}function Jr(t,e){return le(e)?T(e):T(W(t,e))}function Ur(t,e){const n=g(t,e);if(n!==void 0)return[e,n]}function Xr(t,e){return(t%e+e)%e}function Zr(t,e,...n){if(n.length==0)return e;var r=t(e),o=e;return n.forEach(u=>{var i=t(u);i<=r&&(r=i,o=u)}),o}function Hr(t,e,...n){if(n.length==0)return e;var r=t(e),o=e;return n.forEach(u=>{var i=t(u);i>=r&&(r=i,o=u)}),o}function to(t){throw new Error(`Expected string, got: ${typeof t}`)}function eo(t){if(_t(t)){if(/^[+-]?\d+$/.test(t)){const e=parseInt(t);if(Number.MIN_SAFE_INTEGER<=e<=Number.MAX_SAFE_INTEGER)return e}return null}return to(t)}function ae(t){return t>=0?Math.floor(t):Math.ceil(t)}function pe(t,e){const n=t%e;return ae((t-n)/e)}function dt(t,...e){switch(e.length){case 2:{const n=e[0],r=e[1];return dt(t,n,n(),r)}default:{let n=e[0];const r=e[1],o=e[2];n=t(n);const u=Q(n,r,o);return n(u)}}}function no(t,e){const n={},r=c(t)[Symbol.iterator](),o=c(e)[Symbol.iterator]();let u,i;for(;u=r.next(),!(u.done||(i=o.next(),i.done));)n[u.value]=i.value;return n}function ro(t){return E(t)?t:null}function he(t,e,n){const r=function*(o){if(yield o,_(t(o)))for(const u of c(e(o)))yield*r(u)};return a(function*(){yield*r(n)})}function oo(t){return P(ut(X),z(he(X,E,t)))}function uo(t){return I(t)}function io(t){return Object.freeze(t)}class N{constructor(e){e instanceof N||(e=at(e));const r=new Set(e);this._elts=[...r],this._set=r}add(e){if(this._set.has(e))return this;const n=this._elts;let r=!1;for(let o=0;o<n.length;o++)if(v(e,n[o])<=0){n.splice(o,0,e),r=!0;break}return r?this._set=new Set(n):(n.push(e),this._set.add(e)),this.size=n.length,this}delete(e){if(!this._set.has(e))return this;const n=this._elts,r=n.indexOf(e);return n.splice(r,1),this._set=new Set(n),this.size=n.length,this}has(e){return this._set.has(e)}keys(){return this.values()}values(){return this._elts[Symbol.iterator]()}entries(){return this._set.entries()}forEach(...e){return this.set.forEach(...e)}clear(){this._elts=[],this._set=new Set(this._elts)}[Symbol.iterator](){return this.keys()}}function co(...t){return new N(t)}function H(t,e,n){return r=>e(v(r,n),0)}function _e(t,e,n=!0){let r=0;for(;r<t.length&&v(e,t[r])>0;r++);return r}function so([t,e,n]){const r=H(t,e,n);if(e===wt||e===gt){const o=[...t],u=_e(o,n,!0);return o.splice(0,u),r(o[0])||o.splice(0,1),o}else return[...D(r,t)]}function fo([t,e,n,r,o]){const u=[...t],i=_e(u,n,!0);u.splice(0,i);const s=H(t,r,o);return H(t,e,n)(u[0])||u.splice(0,1),[...D(s,u)]}function lo(...t){if(t.length===3)return so(t);if(t.length===5)return fo(t)}function ao(t){return Math.abs(t)}function po(t){return ae(t)}function ho(t){return t!=null&&t.constructor}function _o(t){return(e,n)=>{const r=t(e,n);return A(r)?F(r):r}}function xo(t){return t=_o(t),(...e)=>{switch(e.length){case 0:return t();case 1:return t(e[0]);case 2:return Q(t,e[0],e[1])}}}function xe(t,e){const n=pe(t,e);return t-e*n}function yo(t){const e=new Map;return(...n)=>{const r=[n.length,...n],o=ft(e,r);if(o===void 0){const u=t(...n);return vt(e,r,u),u}else return o}}function mo(t){return C(t)?t[t.length-1]:k(t)}function wo(t){if(C(t)){const e=[...t];return e.pop(),e}else return z(t)}function go(t,e){const n=V(t),r=bt(t)||b;return ht((o,u,i)=>r(o,e(u),i),n,t),n}function bo(t,e){const n=V(t),r=bt(t)||b;return ht((o,u,i)=>r(o,u,e(i)),n,t),n}return Ae(Ao);})();

@@ -5,3 +5,3 @@ {

"sideEffects": false,
"version": "0.7.105",
"version": "0.7.106",
"files": [

@@ -8,0 +8,0 @@ "core.js",

@@ -432,2 +432,4 @@ ## Squint

- [Web components](https://squint-cljs.github.io/squint/?src=KG5zIG15ZWxlbWVudAogICg6cmVxdWlyZSBbc3F1aW50LmNvcmUgOnJlZmVyIFtkZWZjbGFzc11dKSkKCihkZWZjbGFzcyBNeUVsZW1lbnQKICAoZXh0ZW5kcyBqcy9IVE1MRWxlbWVudCkKCiAgKGZpZWxkIC1zaGFkb3cpCiAgKGZpZWxkIGNvdW50IDApCgogIChjb25zdHJ1Y3RvciBbdGhpc10KICAgIChzdXBlcikKICAgIChzZXQhIC1zaGFkb3cgKC5hdHRhY2hTaGFkb3cgdGhpcyB7Om1vZGUgOm9wZW59KSkpCgogIE9iamVjdAogIChoYW5kbGVDbGljayBbdGhpcyBlXQogICAgKHNldCEgY291bnQgKGluYyBjb3VudCkpCiAgICAoLnJlbmRlciB0aGlzKSkKCiAgKGNvbm5lY3RlZENhbGxiYWNrIFt0aGlzXQogICAgKC5hZGRFdmVudExpc3RlbmVyIHRoaXMgImNsaWNrIiB0aGlzLmhhbmRsZUNsaWNrKQogICAgKC5yZW5kZXIgdGhpcykpCgogIChkaXNjb25uZWN0ZWRDYWxsYmFjayBbdGhpc10KICAgICgucmVtb3ZlRXZlbnRMaXN0ZW5lciB0aGlzICJjbGljayIgdGhpcy5oYW5kbGVDbGljaykpCgogIChyZW5kZXIgW3RoaXNdCiAgICAoc2V0ISAoLi1pbm5lckhUTUwgLXNoYWRvdykKICAgICAgI2h0bWwgWzpidXR0b24gIkNsaWNrIGNvdW50ICIgY291bnRdKSkpCgooLmRlZmluZSBjdXN0b21FbGVtZW50cyA6bXktZWxlbWVudCBNeUVsZW1lbnQpCgooZGVmIGFwcCAob3IgKGpzL2RvY3VtZW50LnF1ZXJ5U2VsZWN0b3IgIiNhcHAiKQogICAgICAgICAgIChkb3RvIChqcy9kb2N1bWVudC5jcmVhdGVFbGVtZW50IDpkaXYpCiAgICAgICAgICAgICAoc2V0ISAtaWQgOmFwcCkKICAgICAgICAgICAgIChqcy9kb2N1bWVudC5ib2R5LnByZXBlbmQpKSkpCgooc2V0ISAoLi1pbm5lckhUTUwgYXBwKSAjaHRtbCBbOm15LWVsZW1lbnRdKQ%3D%3D&repl=true)
- [Quill](https://squint-cljs.github.io/squint/?src=KGRlZiBjc3MKICAob3IgKGpzL2RvY3VtZW50LnF1ZXJ5U2VsZWN0b3IgIiNjc3MiKQogICAgKGRvdG8gKGpzL2RvY3VtZW50LmNyZWF0ZUVsZW1lbnQgOmRpdikKICAgICAgKHNldCEgLWlkIDpjc3MpCiAgICAgIChzZXQhIC1pbm5lckhUTUwgI2h0bWwKICAgICAgICAgICAgICAgWzpsaW5rIHs6aHJlZiAiaHR0cHM6Ly9jZG4uanNkZWxpdnIubmV0L25wbS9xdWlsbEAyLjAuMC9kaXN0L3F1aWxsLnNub3cuY3NzIgogICAgICAgICAgICAgICAgICAgICAgIDpyZWwgInN0eWxlc2hlZXQifV0pCiAgICAgIChqcy9kb2N1bWVudC5oZWFkLnByZXBlbmQpKSkpCgooZGVmIGFwcCAob3IgKGpzL2RvY3VtZW50LnF1ZXJ5U2VsZWN0b3IgIiNhcHAiKQogICAgICAgICAgIChkb3RvIChqcy9kb2N1bWVudC5jcmVhdGVFbGVtZW50IDpkaXYpCiAgICAgICAgICAgICAoc2V0ISAtaWQgOmFwcCkKICAgICAgICAgICAgIChqcy9kb2N1bWVudC5ib2R5LnByZXBlbmQpKSkpCgoocmVxdWlyZSAnWyJodHRwczovL2VzbS5zaC9xdWlsbCRkZWZhdWx0IiA6YXMgUXVpbGxdKQooUXVpbGwuICIjYXBwIiB7OnRoZW1lICJzbm93In0p)
- [defmulti](https://squint-cljs.github.io/squint/?src=KHJlcXVpcmUgJ1siaHR0cHM6Ly9lc20uc2gvQHRoaS5uZy9kZWZtdWx0aSIgOnJlZmVyIFtkZWZtdWx0aV1dKQoKKGRlZiBmb28gKGRlZm11bHRpIChmbiBbeF0geCkpKQoKKC5pc2EgZm9vIDIzICJvZGQiKQoKKC5hZGQgZm9vICJvZGQiIChmbiBbeF0gKHN0ciB4ICIgaXMgYW4gb2RkIG51bWJlciIpKSkKCihmb28gMjMp): multimethods in squint as a library

@@ -434,0 +436,0 @@ License

@@ -1852,5 +1852,12 @@ /*eslint no-unused-vars: ["error", { "varsIgnorePattern": "^_", "argsIgnorePattern": "^_", "destructuredArrayIgnorePattern": "^_"}]*/

export function shuffle(coll) {
return [...coll].sort(function (_a, _b) {
return Math.random() - 0.5;
});
const result = [...coll];
let remaining = coll.length;
while (remaining) {
const i = Math.floor(Math.random() * remaining--);
const tmp = result[remaining];
result[remaining] = result[i];
result[i] = tmp;
}
return result;
}

@@ -1857,0 +1864,0 @@

function toHTML(v) {
if (typeof(v) === 'string') return v;
if (v[Symbol.iterator]) {
return [...v].join("");
}
return v;
if (v == null) return;
if (typeof(v) === 'string') return v;
if (v[Symbol.iterator]) {
return [...v].join("");
}
return v;
}

@@ -15,3 +16,3 @@

}
return out;
}
return out;
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc