cherry-cljs
Advanced tools
Comparing version 0.1.10 to 0.1.11
import { $APP, shadow$provide, $jscomp } from "./cljs.core.js"; | ||
const shadow_esm_import = function(x) { return import(x) }; | ||
var fr,gr,nr;$APP.br=function(a,b){return 0==a.lastIndexOf(b,0)};$APP.cr=function(a){return String(a.charAt(0)).toUpperCase()+String(a.slice(1)).toLowerCase()};$APP.er=function(a){return a.replace(dr,"$2$1").split("").reverse().join("")};fr=function(a,b,c){var d=RegExp,e=b.source,f=$APP.r(b.ignoreCase)?"gi":"g";f=$APP.r(b.multiline)?[f,"m"].join(""):f;b=$APP.r(b.unicode)?[f,"u"].join(""):f;return a.replace(new d(e,b),c)}; | ||
gr=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.pd(f,0,null)}return c.call(this,e)}function c(d){d=$APP.co.g(2,d);if($APP.Td.g($APP.Sd(d),1))return d=$APP.A(d),a.h?a.h(d):a.call(null,d);d=$APP.ef(d);return a.h?a.h(d):a.call(null,d)}b.m=0;b.o=function(d){d=$APP.y(d);return c(d)};b.j=c;return b}()}; | ||
$APP.hr=function(a,b,c){if("string"===typeof b)return a.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c);if(b instanceof RegExp)return"string"===typeof c?fr(a,b,c):fr(a,b,gr(c));throw["Invalid match arg: ",$APP.t.h(b)].join("");};$APP.ir=function(a,b,c){return a.replace(b,c)};$APP.jr=function(a){return a.toUpperCase()};$APP.kr=function(a){return a.toLowerCase()};$APP.lr=function(a){return $APP.cr(a)}; | ||
nr=function(a,b){if(0>=b||b>=2+$APP.Sd(a))return $APP.lg.g($APP.ef($APP.og("",$APP.Kk.g($APP.t,$APP.y(a)))),"");if($APP.r($APP.mr.g?$APP.mr.g(1,b):$APP.mr.call(null,1,b)))return new $APP.G(null,1,5,$APP.K,[a],null);if($APP.r($APP.mr.g?$APP.mr.g(2,b):$APP.mr.call(null,2,b)))return new $APP.G(null,2,5,$APP.K,["",a],null);b-=2;return $APP.lg.g($APP.ef($APP.og("",$APP.vo.l($APP.ef($APP.Kk.g($APP.t,$APP.y(a))),0,b))),$APP.Ak.g(a,b))};$APP.qr=function(a){return $APP.or.g(a,/\n|\r\n/)};$APP.rr=function(a){return(0,$APP.Nm)(a)}; | ||
$APP.sr=function(a){return a.replace(/^[\s\xa0]+/,"")};$APP.tr=function(a){return a.replace(/[\s\xa0]+$/,"")};$APP.ur=function(a){for(var b=a.length;;){if(0===b)return"";var c=$APP.Se.g(a,b-1);if("\n"===c||"\r"===c)--b;else return a.substring(0,b)}};$APP.vr=function(a){return/^[\s\xa0]*$/.test(null==a?"":String(a))};$APP.wr=function(a,b){for(var c=new $APP.xa,d=a.length,e=0;;){if(d===e)return c.toString();var f=a.charAt(e),h=$APP.Se.g(b,f);null!=h?c.append($APP.t.h(h)):c.append(f);e+=1}}; | ||
$APP.xr=function(a,b){return $APP.br(a,b)};$APP.yr=function(a,b){return $APP.ka(a,b)};$APP.zr=function(a,b){return-1!=a.indexOf(b)};$APP.mr=function mr(a){switch(arguments.length){case 1:return mr.h(arguments[0]);case 2:return mr.g(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return mr.j(arguments[0],arguments[1],new $APP.pd(c.slice(2),0,null))}};$APP.mr.h=function(){return!0};$APP.mr.g=function(a,b){return $APP.dc(a,b)}; | ||
$APP.mr.j=function(a,b,c){for(;;)if(a===b)if($APP.B(c))a=b,b=$APP.A(c),c=$APP.B(c);else return b===$APP.A(c);else return!1};$APP.mr.o=function(a){var b=$APP.A(a),c=$APP.B(a);a=$APP.A(c);c=$APP.B(c);return this.j(b,a,c)};$APP.mr.m=2;var dr;dr=RegExp("([\\uD800-\\uDBFF])([\\uDC00-\\uDFFF])","g");$APP.Ar=function Ar(a){switch(arguments.length){case 1:return Ar.h(arguments[0]);case 2:return Ar.g(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Ar.h=function(a){var b=new $APP.xa;for(a=$APP.y(a);;)if(null!=a)b=b.append($APP.t.h($APP.A(a))),a=$APP.B(a);else return b.toString()}; | ||
$APP.Ar.g=function(a,b){var c=new $APP.xa;for(b=$APP.y(b);;)if(null!=b)c.append($APP.t.h($APP.A(b))),b=$APP.B(b),null!=b&&c.append(a);else return c.toString()};$APP.Ar.m=2;$APP.or=function or(a){switch(arguments.length){case 2:return or.g(arguments[0],arguments[1]);case 3:return or.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.or.g=function(a,b){return $APP.or.l(a,b,0)}; | ||
$APP.or.l=function(a,b,c){if("/(?:)/"===$APP.t.h(b))b=nr(a,c);else if(1>c)b=$APP.ef($APP.t.h(a).split(b));else a:for(var d=c,e=$APP.ai;;){if(1===d){b=$APP.lg.g(e,a);break a}var f=$APP.xk(b,a);if(null!=f){var h=a.indexOf(f);f=a.substring(h+$APP.Sd(f));--d;e=$APP.lg.g(e,a.substring(0,h));a=f}else{b=$APP.lg.g(e,a);break a}}if(0===c&&1<$APP.Sd(b))a:for(c=b;;)if(""===$APP.le(c))c=$APP.me(c);else break a;else c=b;return c};$APP.or.m=3; | ||
$APP.Br=function Br(a){switch(arguments.length){case 2:return Br.g(arguments[0],arguments[1]);case 3:return Br.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Br.g=function(a,b){a=a.indexOf(b);return 0>a?null:a};$APP.Br.l=function(a,b,c){a=a.indexOf(b,c);return 0>a?null:a};$APP.Br.m=3; | ||
$APP.Cr=function Cr(a){switch(arguments.length){case 2:return Cr.g(arguments[0],arguments[1]);case 3:return Cr.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Cr.g=function(a,b){a=a.lastIndexOf(b);return 0>a?null:a};$APP.Cr.l=function(a,b,c){a=a.lastIndexOf(b,c);return 0>a?null:a};$APP.Cr.m=3;export const replace_first=$APP.ir;export const capitalize=$APP.lr;export const reverse=$APP.er;export const join=$APP.Ar;export const escape=$APP.wr;export const starts_with_QMARK_=$APP.xr;export const blank_QMARK_=$APP.vr;export const upper_case=$APP.jr;export const replace=$APP.hr;export const includes_QMARK_=$APP.zr;export const index_of=$APP.Br;export const trim_newline=$APP.ur;export const lower_case=$APP.kr;export const split_lines=$APP.qr;export const split=$APP.or; | ||
export const ends_with_QMARK_=$APP.yr;export const trimr=$APP.tr;export const last_index_of=$APP.Cr;export const trim=$APP.rr;export const triml=$APP.sr; | ||
var mr,nr,vr;$APP.ir=function(a,b){return 0==a.lastIndexOf(b,0)};$APP.jr=function(a){return String(a.charAt(0)).toUpperCase()+String(a.slice(1)).toLowerCase()};$APP.lr=function(a){return a.replace(kr,"$2$1").split("").reverse().join("")};mr=function(a,b,c){var d=RegExp,e=b.source,f=$APP.r(b.ignoreCase)?"gi":"g";f=$APP.r(b.multiline)?[f,"m"].join(""):f;b=$APP.r(b.unicode)?[f,"u"].join(""):f;return a.replace(new d(e,b),c)}; | ||
nr=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.pd(f,0,null)}return c.call(this,e)}function c(d){d=$APP.eo.g(2,d);if($APP.Td.g($APP.Sd(d),1))return d=$APP.A(d),a.h?a.h(d):a.call(null,d);d=$APP.ef(d);return a.h?a.h(d):a.call(null,d)}b.m=0;b.o=function(d){d=$APP.y(d);return c(d)};b.j=c;return b}()}; | ||
$APP.or=function(a,b,c){if("string"===typeof b)return a.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c);if(b instanceof RegExp)return"string"===typeof c?mr(a,b,c):mr(a,b,nr(c));throw["Invalid match arg: ",$APP.t.h(b)].join("");};$APP.qr=function(a,b,c){return a.replace(b,c)};$APP.rr=function(a){return a.toUpperCase()};$APP.sr=function(a){return a.toLowerCase()};$APP.tr=function(a){return $APP.jr(a)}; | ||
vr=function(a,b){if(0>=b||b>=2+$APP.Sd(a))return $APP.lg.g($APP.ef($APP.og("",$APP.Jk.g($APP.t,$APP.y(a)))),"");if($APP.r($APP.ur.g?$APP.ur.g(1,b):$APP.ur.call(null,1,b)))return new $APP.K(null,1,5,$APP.O,[a],null);if($APP.r($APP.ur.g?$APP.ur.g(2,b):$APP.ur.call(null,2,b)))return new $APP.K(null,2,5,$APP.O,["",a],null);b-=2;return $APP.lg.g($APP.ef($APP.og("",$APP.wo.l($APP.ef($APP.Jk.g($APP.t,$APP.y(a))),0,b))),$APP.zk.g(a,b))};$APP.xr=function(a){return $APP.wr.g(a,/\n|\r\n/)};$APP.yr=function(a){return(0,$APP.Om)(a)}; | ||
$APP.zr=function(a){return a.replace(/^[\s\xa0]+/,"")};$APP.Ar=function(a){return a.replace(/[\s\xa0]+$/,"")};$APP.Br=function(a){for(var b=a.length;;){if(0===b)return"";var c=$APP.Se.g(a,b-1);if("\n"===c||"\r"===c)--b;else return a.substring(0,b)}};$APP.Cr=function(a){return/^[\s\xa0]*$/.test(null==a?"":String(a))};$APP.Dr=function(a,b){for(var c=new $APP.xa,d=a.length,e=0;;){if(d===e)return c.toString();var f=a.charAt(e),h=$APP.Se.g(b,f);null!=h?c.append($APP.t.h(h)):c.append(f);e+=1}}; | ||
$APP.Er=function(a,b){return $APP.ir(a,b)};$APP.Fr=function(a,b){return $APP.ka(a,b)};$APP.Gr=function(a,b){return-1!=a.indexOf(b)};$APP.ur=function ur(a){switch(arguments.length){case 1:return ur.h(arguments[0]);case 2:return ur.g(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;return ur.j(arguments[0],arguments[1],new $APP.pd(c.slice(2),0,null))}};$APP.ur.h=function(){return!0};$APP.ur.g=function(a,b){return $APP.dc(a,b)}; | ||
$APP.ur.j=function(a,b,c){for(;;)if(a===b)if($APP.B(c))a=b,b=$APP.A(c),c=$APP.B(c);else return b===$APP.A(c);else return!1};$APP.ur.o=function(a){var b=$APP.A(a),c=$APP.B(a);a=$APP.A(c);c=$APP.B(c);return this.j(b,a,c)};$APP.ur.m=2;var kr;kr=RegExp("([\\uD800-\\uDBFF])([\\uDC00-\\uDFFF])","g");$APP.Hr=function Hr(a){switch(arguments.length){case 1:return Hr.h(arguments[0]);case 2:return Hr.g(arguments[0],arguments[1]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Hr.h=function(a){var b=new $APP.xa;for(a=$APP.y(a);;)if(null!=a)b=b.append($APP.t.h($APP.A(a))),a=$APP.B(a);else return b.toString()}; | ||
$APP.Hr.g=function(a,b){var c=new $APP.xa;for(b=$APP.y(b);;)if(null!=b)c.append($APP.t.h($APP.A(b))),b=$APP.B(b),null!=b&&c.append(a);else return c.toString()};$APP.Hr.m=2;$APP.wr=function wr(a){switch(arguments.length){case 2:return wr.g(arguments[0],arguments[1]);case 3:return wr.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.wr.g=function(a,b){return $APP.wr.l(a,b,0)}; | ||
$APP.wr.l=function(a,b,c){if("/(?:)/"===$APP.t.h(b))b=vr(a,c);else if(1>c)b=$APP.ef($APP.t.h(a).split(b));else a:for(var d=c,e=$APP.$h;;){if(1===d){b=$APP.lg.g(e,a);break a}var f=$APP.wk(b,a);if(null!=f){var h=a.indexOf(f);f=a.substring(h+$APP.Sd(f));--d;e=$APP.lg.g(e,a.substring(0,h));a=f}else{b=$APP.lg.g(e,a);break a}}if(0===c&&1<$APP.Sd(b))a:for(c=b;;)if(""===$APP.le(c))c=$APP.me(c);else break a;else c=b;return c};$APP.wr.m=3; | ||
$APP.Ir=function Ir(a){switch(arguments.length){case 2:return Ir.g(arguments[0],arguments[1]);case 3:return Ir.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Ir.g=function(a,b){a=a.indexOf(b);return 0>a?null:a};$APP.Ir.l=function(a,b,c){a=a.indexOf(b,c);return 0>a?null:a};$APP.Ir.m=3; | ||
$APP.Jr=function Jr(a){switch(arguments.length){case 2:return Jr.g(arguments[0],arguments[1]);case 3:return Jr.l(arguments[0],arguments[1],arguments[2]);default:throw Error(["Invalid arity: ",$APP.t.h(arguments.length)].join(""));}};$APP.Jr.g=function(a,b){a=a.lastIndexOf(b);return 0>a?null:a};$APP.Jr.l=function(a,b,c){a=a.lastIndexOf(b,c);return 0>a?null:a};$APP.Jr.m=3;export const replace_first=$APP.qr;export const capitalize=$APP.tr;export const reverse=$APP.lr;export const join=$APP.Hr;export const escape=$APP.Dr;export const starts_with_QMARK_=$APP.Er;export const blank_QMARK_=$APP.Cr;export const upper_case=$APP.rr;export const replace=$APP.or;export const includes_QMARK_=$APP.Gr;export const index_of=$APP.Ir;export const trim_newline=$APP.Br;export const lower_case=$APP.sr;export const split_lines=$APP.xr;export const split=$APP.wr; | ||
export const ends_with_QMARK_=$APP.Fr;export const trimr=$APP.Ar;export const last_index_of=$APP.Jr;export const trim=$APP.yr;export const triml=$APP.zr; |
import { $APP, shadow$provide, $jscomp } from "./cljs.core.js"; | ||
const shadow_esm_import = function(x) { return import(x) }; | ||
$APP.Dr=function(a,b,c){if($APP.hg(c)){var d=$APP.Ch.g($APP.P,$APP.Kk.g(a,c));return b.h?b.h(d):b.call(null,d)}return $APP.pi(c)?(d=new $APP.Ve(function(){var e=$APP.Qb(c);return a.h?a.h(e):a.call(null,e)}(),function(){var e=$APP.Rb(c);return a.h?a.h(e):a.call(null,e)}(),null),b.h?b.h(d):b.call(null,d)):$APP.Ie(c)?(d=$APP.yp.h($APP.Kk.g(a,c)),b.h?b.h(d):b.call(null,d)):$APP.ye(c)?(d=$APP.cf.l(function(e,f){return $APP.lg.g(e,a.h?a.h(f):a.call(null,f))},c,c),b.h?b.h(d):b.call(null,d)):$APP.oe(c)?(d= | ||
$APP.aj.g($APP.ee(c),$APP.Kk.g(a,c)),b.h?b.h(d):b.call(null,d)):b.h?b.h(c):b.call(null,c)};$APP.Fr=function(a){function b(c){var d=$APP.D.l(c,0,null);c=$APP.D.l(c,1,null);return"string"===typeof d?new $APP.G(null,2,5,$APP.K,[$APP.Lk.h(d),c],null):new $APP.G(null,2,5,$APP.K,[d,c],null)}return $APP.Er(function(c){return $APP.xe(c)?$APP.aj.g($APP.ah,$APP.Kk.g(b,c)):c},a)}; | ||
$APP.Gr=function(a){function b(c){var d=$APP.D.l(c,0,null);c=$APP.D.l(c,1,null);return d instanceof $APP.rg?new $APP.G(null,2,5,$APP.K,[$APP.ik(d),c],null):new $APP.G(null,2,5,$APP.K,[d,c],null)}return $APP.Er(function(c){return $APP.xe(c)?$APP.aj.g($APP.ah,$APP.Kk.g(b,c)):c},a)};$APP.Ir=function(a,b){return $APP.Hr(function(c){return $APP.Ue(a,c)?a.h?a.h(c):a.call(null,c):c},b)};$APP.Jr=function(a,b){return $APP.Er(function(c){return $APP.Ue(a,c)?a.h?a.h(c):a.call(null,c):c},b)};$APP.Er=function Er(a,b){return $APP.Dr($APP.Un.g(Er,a),a,b)};$APP.Hr=function Hr(a,b){return $APP.Dr($APP.Un.g(Hr,a),$APP.kf,a.h?a.h(b):a.call(null,b))};export const walk=$APP.Dr;export const postwalk=$APP.Er;export const prewalk=$APP.Hr;export const stringify_keys=$APP.Gr;export const keywordize_keys=$APP.Fr;export const prewalk_replace=$APP.Ir;export const postwalk_replace=$APP.Jr; | ||
$APP.Kr=function(a,b,c){if($APP.hg(c)){var d=$APP.Bh.g($APP.Q,$APP.Jk.g(a,c));return b.h?b.h(d):b.call(null,d)}return $APP.oi(c)?(d=new $APP.Ve(function(){var e=$APP.Qb(c);return a.h?a.h(e):a.call(null,e)}(),function(){var e=$APP.Rb(c);return a.h?a.h(e):a.call(null,e)}(),null),b.h?b.h(d):b.call(null,d)):$APP.Ie(c)?(d=$APP.zp.h($APP.Jk.g(a,c)),b.h?b.h(d):b.call(null,d)):$APP.ye(c)?(d=$APP.cf.l(function(e,f){return $APP.lg.g(e,a.h?a.h(f):a.call(null,f))},c,c),b.h?b.h(d):b.call(null,d)):$APP.oe(c)?(d= | ||
$APP.$i.g($APP.ee(c),$APP.Jk.g(a,c)),b.h?b.h(d):b.call(null,d)):b.h?b.h(c):b.call(null,c)};$APP.Mr=function(a){function b(c){var d=$APP.D.l(c,0,null);c=$APP.D.l(c,1,null);return"string"===typeof d?new $APP.K(null,2,5,$APP.O,[$APP.Kk.h(d),c],null):new $APP.K(null,2,5,$APP.O,[d,c],null)}return $APP.Lr(function(c){return $APP.xe(c)?$APP.$i.g($APP.$g,$APP.Jk.g(b,c)):c},a)}; | ||
$APP.Nr=function(a){function b(c){var d=$APP.D.l(c,0,null);c=$APP.D.l(c,1,null);return d instanceof $APP.G?new $APP.K(null,2,5,$APP.O,[$APP.hk(d),c],null):new $APP.K(null,2,5,$APP.O,[d,c],null)}return $APP.Lr(function(c){return $APP.xe(c)?$APP.$i.g($APP.$g,$APP.Jk.g(b,c)):c},a)};$APP.Pr=function(a,b){return $APP.Or(function(c){return $APP.Ue(a,c)?a.h?a.h(c):a.call(null,c):c},b)};$APP.Qr=function(a,b){return $APP.Lr(function(c){return $APP.Ue(a,c)?a.h?a.h(c):a.call(null,c):c},b)};$APP.Lr=function Lr(a,b){return $APP.Kr($APP.Vn.g(Lr,a),a,b)};$APP.Or=function Or(a,b){return $APP.Kr($APP.Vn.g(Or,a),$APP.kf,a.h?a.h(b):a.call(null,b))};export const walk=$APP.Kr;export const postwalk=$APP.Lr;export const prewalk=$APP.Or;export const stringify_keys=$APP.Nr;export const keywordize_keys=$APP.Mr;export const prewalk_replace=$APP.Pr;export const postwalk_replace=$APP.Qr; |
@@ -5,3 +5,3 @@ { | ||
"sideEffects": false, | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"files": [ | ||
@@ -8,0 +8,0 @@ "cljs.core.js", |
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
Sorry, the diff of this file is too big to display
1704535
7160