// Generated by LiveScript 1.2.0 // prelude.ls 1.1.1 // Copyright (c) George Zahariev // Released under the MIT License // https://raw.githubusercontent.com/gkz/prelude-ls/master/LICENSE require=function n(r,t,e){function i(o,a){if(!t[o]){if(!r[o]){var c=typeof require=="function"&&require;if(!a&&c)return c(o,!0);if(u)return u(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=t[o]={exports:{}};r[o][0].call(f.exports,function(n){var t=r[o][1][n];return i(t?t:n)},f,f.exports,n,r,t,e)}return t[o].exports}var u=typeof require=="function"&&require;for(var o=0;o1?function(){var u=i?i.concat():[];t=r?t||this:this;return u.push.apply(u,arguments)=0;--e){i=t[e];r=n(i,r)}return r});k=xr(function(n,r){return z(n,r[r.length-1],r.slice(0,-1))});w=xr(function(n,r){var t,e,i;t=[];e=r;while((i=n(e))!=null){t.push(i[0]);e=i[1]}return t});W=function(n){return[].concat.apply([],n)};q=xr(function(n,r){var t;return[].concat.apply([],function(){var e,i,u,o=[];for(e=0,u=(i=r).length;er){return 1}else if(nn(t)){return 1}else if(n(r)r){r=u}}return r};G=function(n){var r,t,e,i,u;r=n[0];for(t=0,i=(e=n.slice(1)).length;tn(t)){t=o}}return t});J=xr(function(n,r){var t,e,i,u,o;t=r[0];for(e=0,u=(i=r.slice(1)).length;e1?function(){var u=i?i.concat():[];t=r?t||this:this;return u.push.apply(u,arguments)>>0;while(++tr?n:r});i=S(function(n,r){return n0){return 1}else{return 0}};c=S(function(n,r){return~~(n/r)});f=S(function(n,r){return n%r});l=S(function(n,r){return Math.floor(n/r)});s=S(function(n,r){var t;return(n%(t=r)+t)%t});p=function(n){return 1/n};h=Math.PI;g=h*2;v=Math.exp;m=Math.sqrt;d=Math.log;y=S(function(n,r){return Math.pow(n,r)});j=Math.sin;x=Math.tan;b=Math.cos;M=Math.asin;z=Math.acos;k=Math.atan;w=S(function(n,r){return Math.atan2(n,r)});W=function(n){return~~n};q=Math.round;B=Math.ceil;L=Math.floor;I=function(n){return n!==n};A=function(n){return n%2===0};T=function(n){return n%2!==0};N=S(function(n,r){var t;n=Math.abs(n);r=Math.abs(r);while(r!==0){t=n%r;n=r;r=t}return n});O=S(function(n,r){return Math.abs(Math.floor(n/N(n,r)*r))});r.exports={max:e,min:i,negate:u,abs:o,signum:a,quot:c,rem:f,div:l,mod:s,recip:p,pi:h,tau:g,exp:v,sqrt:m,ln:d,pow:y,sin:j,tan:x,cos:b,acos:z,asin:M,atan:k,atan2:w,truncate:W,round:q,ceiling:B,floor:L,isItNaN:I,even:A,odd:T,gcd:N,lcm:O};function S(n,r){var t,e=function(i){return n.length>1?function(){var u=i?i.concat():[];t=r?t||this:this;return u.push.apply(u,arguments)1?function(){var u=i?i.concat():[];t=r?t||this:this;return u.push.apply(u,arguments)1?t:t.toLowerCase())}).replace(/^([A-Z]+)/,function(n,r){if(r.length>1){return r+"-"}else{return r.toLowerCase()}})};r.exports={split:e,join:i,lines:u,unlines:o,words:a,unwords:c,chars:f,unchars:l,reverse:s,repeat:p,capitalize:h,camelize:g,dasherize:v};function m(n,r){var t,e=function(i){return n.length>1?function(){var u=i?i.concat():[];t=r?t||this:this;return u.push.apply(u,arguments)1?function(){var u=i?i.concat():[];t=r?t||this:this;return u.push.apply(u,arguments)