Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

celia

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

celia - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

_internal/_defineNodeListProto.js

1

_internal/_array/_combine.js

@@ -15,2 +15,3 @@ import forEach from './_forEach';

append(first, arg);
i++;
}

@@ -17,0 +18,0 @@ });

7

_internal/_defineArrayProto.js

@@ -1,5 +0,8 @@

import defineProto from './_defineProto';
import { checkProto } from './_defineProto';
const arrayProto = Array.prototype;
export default defineProto(arrayProto);
export default function (name, val) {
name = checkProto(arrayProto, name);
arrayProto[name] = val;
};

@@ -5,2 +5,2 @@ import defineProto from './_defineProto';

export default defineProto(elProto, true);
export default defineProto(elProto);

@@ -1,5 +0,8 @@

import defineProto from './_defineProto';
import { checkProto } from './_defineProto';
const objectProto = Object.prototype;
export default defineProto(objectProto);
export default function (name, val) {
name = checkProto(objectProto, name);
objectProto[name] = val;
};
import assign from '../object/assign';
import isUndefined from '../isUndefined';
export default function defineProto(proto, isDOM) {
export function checkProto(proto, name) {
if (name in proto) {
name = 'c$' + name;
}
return name;
}
export default function defineProto(proto) {
return function (name, options) {
if (name in proto) {
name = 'c$' + name;
name = checkProto(proto, name);
if (!isUndefined(options.value) && isUndefined(options.writable)) {
options.writable = true;
}
if (isDOM) {
if (!isUndefined(options.value) && isUndefined(options.writable)) {
options.writable = true;
}
Object.defineProperty(proto, name, assign({
enumerable: false,
configurable: true
}, options));
} else {
proto[name] = options;
}
Object.defineProperty(proto, name, assign({
enumerable: false,
configurable: true
}, options));
};
}
import combine from './combine';
import isArrayLike from '../isArrayLike';
import isString from '../isString';
const {
push
} = Array.prototype;
export default function (arr, results) {
const ret = results || [];
if (arr) {
if (isArrayLike(Object(arr))) {
combine(ret, isString(arr) ? [arr] : arr);
} else {
ret.push ? ret.push(arr) : push.call(ret, arr);
}
combine(ret, arr);
}
return ret;
}
/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -62,2 +62,3 @@ * Released under the MIT License.

append(first, arg);
i++;
}

@@ -155,17 +156,6 @@ });

function isString (value) {
return typeof value === 'string';
}
var ref = Array.prototype;
var push = ref.push;
function makeArray (arr, results) {
var ret = results || [];
if (arr) {
if (isArrayLike(Object(arr))) {
combine$1(ret, isString(arr) ? [arr] : arr);
} else {
ret.push ? ret.push(arr) : push.call(ret, arr);
}
combine$1(ret, arr);
}

@@ -172,0 +162,0 @@ return ret;

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -66,2 +66,3 @@ * Released under the MIT License.

append(first, arg);
i++;
}

@@ -159,17 +160,6 @@ });

function isString (value) {
return typeof value === 'string';
}
var ref = Array.prototype;
var push = ref.push;
function makeArray (arr, results) {
var ret = results || [];
if (arr) {
if (isArrayLike(Object(arr))) {
combine$1(ret, isString(arr) ? [arr] : arr);
} else {
ret.push ? ret.push(arr) : push.call(ret, arr);
}
combine$1(ret, arr);
}

@@ -176,0 +166,0 @@ return ret;

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
var n,r;n=this,r=function(){"use strict";function o(n,r){return n[n.length]=r,n}function c(n,r){return r?n.bind(r):n}function f(n,r,t,u,e){for(var i=c(u,e),o=r,f=void 0;!1!==f&&o<t;o++)f=i(n[o],o,n)}function e(n,r,t){f(n,0,n.length,r,t)}function a(n){return null==n}function l(n){return"function"==typeof n}function i(n){return!a(n)&&function(n){return"number"==typeof n}(n.length)&&!l(n)}var v=Array.isArray;function u(n){for(var r=[],t=arguments.length-1;0<t--;)r[t]=arguments[t+1];if(n){var u=function(r,n){var t=r.length;return e(n,function(n){i(n)?e(n,function(n){r[t++]=n}):o(r,n)}),t}(n,r);v(n)||(n.length=u)}return n}function p(n,r,t){return n&&e(n,r,t)}function y(n,r){return n<0?function(n,r){return r<=n?n:r}(0,r+n):n}var s=Array.isArray;function t(n,r,t){return s(n)?n.indexOf(r,t):i(n)?function(n,r,t){for(var u=n.length,e=t?y(t,u):0;e<u;e++)if(e in n&&n[e]===r)return e;return-1}(n,r,t):-1}var d=Array.prototype.push;function h(n,r){return n.splice(r,1)[0]||null}var A=Array.isArray;var g=Array.isArray;return{append:function(n,r){if(n)return o(n,r),r},combine:u,forEach:p,forSlice:function(n,r,t,u,e){n&&function(n,r,t,u,e){var i=n.length;t=l(t)?(e=u,u=t,i):y(t,i),f(n,r=y(r,i),t,u,e)}(n,r,t,u,e)},grep:function(n,t,u){var e=[];return u=!!u,p(n,function(n,r){!t(n,r)===u&&o(e,n)}),e},includes:function(n,r){return-1!==t(n,r)},indexOf:t,makeArray:function(n,r){var t=r||[];return n&&(i(Object(n))?u(t,function(n){return"string"==typeof n}(n)?[n]:n):t.push?t.push(n):d.call(t,n)),t},map:function(n,r,t){return function(n,r,t,u){var e=[],i=c(t,u);return n(r,function(n,r){a(n=i(n,r))||o(e,n)}),e}(p,n,r,t)},remove:function(n,r){return n&&A(n)?function(n,r){var t=n.indexOf(r);return-1<t?h(n,t):null}(n,r):null},removeAt:function(n,r){return n&&g(n)?h(n,r):null},toArray:function(n){return n&&[].concat(n)}}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(n=n||self).celia=r();
var n,r;n=this,r=function(){"use strict";function f(n,r){return n[n.length]=r,n}function c(n,r){return r?n.bind(r):n}function o(n,r,t,u,e){for(var i=c(u,e),f=r,o=void 0;!1!==o&&f<t;f++)o=i(n[f],f,n)}function e(n,r,t){o(n,0,n.length,r,t)}function a(n){return null==n}function l(n){return"function"==typeof n}function i(n){return!a(n)&&function(n){return"number"==typeof n}(n.length)&&!l(n)}var v=Array.isArray;function u(n){for(var r=[],t=arguments.length-1;0<t--;)r[t]=arguments[t+1];if(n){var u=function(r,n){var t=r.length;return e(n,function(n){i(n)?e(n,function(n){r[t++]=n}):(f(r,n),t++)}),t}(n,r);v(n)||(n.length=u)}return n}function d(n,r,t){return n&&e(n,r,t)}function y(n,r){return n<0?function(n,r){return r<=n?n:r}(0,r+n):n}var p=Array.isArray;function t(n,r,t){return p(n)?n.indexOf(r,t):i(n)?function(n,r,t){for(var u=n.length,e=t?y(t,u):0;e<u;e++)if(e in n&&n[e]===r)return e;return-1}(n,r,t):-1}function s(n,r){return n.splice(r,1)[0]||null}var A=Array.isArray;var h=Array.isArray;return{append:function(n,r){if(n)return f(n,r),r},combine:u,forEach:d,forSlice:function(n,r,t,u,e){n&&function(n,r,t,u,e){var i=n.length;t=l(t)?(e=u,u=t,i):y(t,i),o(n,r=y(r,i),t,u,e)}(n,r,t,u,e)},grep:function(n,t,u){var e=[];return u=!!u,d(n,function(n,r){!t(n,r)===u&&f(e,n)}),e},includes:function(n,r){return-1!==t(n,r)},indexOf:t,makeArray:function(n,r){var t=r||[];return n&&u(t,n),t},map:function(n,r,t){return function(n,r,t,u){var e=[],i=c(t,u);return n(r,function(n,r){a(n=i(n,r))||f(e,n)}),e}(d,n,r,t)},remove:function(n,r){return n&&A(n)?function(n,r){var t=n.indexOf(r);return-1<t?s(n,t):null}(n,r):null},removeAt:function(n,r){return n&&h(n)?s(n,r):null},toArray:function(n){return n&&[].concat(n)}}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(n=n||self).celia=r();
/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -62,2 +62,3 @@ * Released under the MIT License.

append(first, arg);
i++;
}

@@ -155,17 +156,6 @@ });

function isString (value) {
return typeof value === 'string';
}
var ref = Array.prototype;
var push = ref.push;
function makeArray (arr, results) {
var ret = results || [];
if (arr) {
if (isArrayLike(Object(arr))) {
combine$1(ret, isString(arr) ? [arr] : arr);
} else {
ret.push ? ret.push(arr) : push.call(ret, arr);
}
combine$1(ret, arr);
}

@@ -445,2 +435,6 @@ return ret;

function isString (value) {
return typeof value === 'string';
}
var toString = Object.prototype.toString;

@@ -978,19 +972,7 @@

function defineProto(proto, isDOM) {
return function (name, options) {
if (name in proto) {
name = 'c$' + name;
}
if (isDOM) {
if (!isUndefined(options.value) && isUndefined(options.writable)) {
options.writable = true;
}
Object.defineProperty(proto, name, assign({
enumerable: false,
configurable: true
}, options));
} else {
proto[name] = options;
}
};
function checkProto(proto, name) {
if (name in proto) {
name = 'c$' + name;
}
return name;
}

@@ -1000,3 +982,6 @@

var defineArrayProto = defineProto(arrayProto);
function defineArrayProto (name, val) {
name = checkProto(arrayProto, name);
arrayProto[name] = val;
}

@@ -1003,0 +988,0 @@ defineArrayProto('append', function (value) {

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -60,2 +60,3 @@ * Released under the MIT License.

append(first, arg);
i++;
}

@@ -153,17 +154,6 @@ });

function isString (value) {
return typeof value === 'string';
}
var ref = Array.prototype;
var push = ref.push;
function makeArray (arr, results) {
var ret = results || [];
if (arr) {
if (isArrayLike(Object(arr))) {
combine$1(ret, isString(arr) ? [arr] : arr);
} else {
ret.push ? ret.push(arr) : push.call(ret, arr);
}
combine$1(ret, arr);
}

@@ -443,2 +433,6 @@ return ret;

function isString (value) {
return typeof value === 'string';
}
var toString = Object.prototype.toString;

@@ -976,19 +970,7 @@

function defineProto(proto, isDOM) {
return function (name, options) {
if (name in proto) {
name = 'c$' + name;
}
if (isDOM) {
if (!isUndefined(options.value) && isUndefined(options.writable)) {
options.writable = true;
}
Object.defineProperty(proto, name, assign({
enumerable: false,
configurable: true
}, options));
} else {
proto[name] = options;
}
};
function checkProto(proto, name) {
if (name in proto) {
name = 'c$' + name;
}
return name;
}

@@ -998,3 +980,6 @@

var defineArrayProto = defineProto(arrayProto);
function defineArrayProto (name, val) {
name = checkProto(arrayProto, name);
arrayProto[name] = val;
}

@@ -1001,0 +986,0 @@ defineArrayProto('append', function (value) {

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -66,2 +66,3 @@ * Released under the MIT License.

append(first, arg);
i++;
}

@@ -159,17 +160,6 @@ });

function isString (value) {
return typeof value === 'string';
}
var ref = Array.prototype;
var push = ref.push;
function makeArray (arr, results) {
var ret = results || [];
if (arr) {
if (isArrayLike(Object(arr))) {
combine$1(ret, isString(arr) ? [arr] : arr);
} else {
ret.push ? ret.push(arr) : push.call(ret, arr);
}
combine$1(ret, arr);
}

@@ -449,2 +439,6 @@ return ret;

function isString (value) {
return typeof value === 'string';
}
var toString = Object.prototype.toString;

@@ -982,19 +976,7 @@

function defineProto(proto, isDOM) {
return function (name, options) {
if (name in proto) {
name = 'c$' + name;
}
if (isDOM) {
if (!isUndefined(options.value) && isUndefined(options.writable)) {
options.writable = true;
}
Object.defineProperty(proto, name, assign({
enumerable: false,
configurable: true
}, options));
} else {
proto[name] = options;
}
};
function checkProto(proto, name) {
if (name in proto) {
name = 'c$' + name;
}
return name;
}

@@ -1004,3 +986,6 @@

var defineArrayProto = defineProto(arrayProto);
function defineArrayProto (name, val) {
name = checkProto(arrayProto, name);
arrayProto[name] = val;
}

@@ -1007,0 +992,0 @@ defineArrayProto('append', function (value) {

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
var e,n;e=this,n=function(){"use strict";function a(e,n){return e[e.length]=n,e}function c(e,n){return n?e.bind(n):e}function o(e,n,t,r,u){for(var i=c(r,u),a=n,o=void 0;!1!==o&&a<t;a++)o=i(e[a],a,e)}function s(e,n,t){o(e,0,e.length,n,t)}function f(e){return null==e}function d(e){return"function"==typeof e}function r(e){return"number"==typeof e}function u(e){return!f(e)&&r(e.length)&&!d(e)}var i=Array.isArray;function l(e){for(var n=[],t=arguments.length-1;0<t--;)n[t]=arguments[t+1];if(e){var r=function(n,e){var t=n.length;return s(e,function(e){u(e)?s(e,function(e){n[t++]=e}):a(n,e)}),t}(e,n);i(e)||(e.length=r)}return e}function m(e,n,t){return e&&s(e,n,t)}function v(e,n){return e<0?function(e,n){return n<=e?e:n}(0,n+e):e}var h=Array.isArray;function t(e,n,t){return h(e)?e.indexOf(n,t):u(e)?function(e,n,t){for(var r=e.length,u=t?v(t,r):0;u<r;u++)if(u in e&&e[u]===n)return u;return-1}(e,n,t):-1}function g(e){return"string"==typeof e}var p=Array.prototype.push;function y(e,n,t,r){var u=[],i=c(t,r);return e(n,function(e,n){f(e=i(e,n))||a(u,e)}),u}function b(e,n){return e.splice(n,1)[0]||null}var M=Array.isArray;var Y=Array.isArray;var e={append:function(e,n){if(e)return a(e,n),n},combine:l,forEach:m,forSlice:function(e,n,t,r,u){e&&function(e,n,t,r,u){var i=e.length;t=d(t)?(u=r,r=t,i):v(t,i),o(e,n=v(n,i),t,r,u)}(e,n,t,r,u)},grep:function(e,t,r){var u=[];return r=!!r,m(e,function(e,n){!t(e,n)===r&&a(u,e)}),u},includes:function(e,n){return-1!==t(e,n)},indexOf:t,makeArray:function(e,n){var t=n||[];return e&&(u(Object(e))?l(t,g(e)?[e]:e):t.push?t.push(e):p.call(t,e)),t},map:function(e,n,t){return y(m,e,n,t)},remove:function(e,n){return e&&M(e)?function(e,n){var t=e.indexOf(n);return-1<t?b(e,t):null}(e,n):null},removeAt:function(e,n){return e&&Y(e)?b(e,n):null},toArray:function(e){return e&&[].concat(e)}},n=/-([a-z])/g;function S(e){return!f(e)&&"object"==typeof e}function D(e,n,t){var r=c(n,t);for(var u in e)if(e.hasOwnProperty(u)&&!1===r(e[u],u,e))break}function H(e,n){return n?new Date(Date.UTC(e[0],e[1]||0,f(e[2])?1:e[2],e[3]||0,e[4]||0,e[5]||0,e[6]||0)):new Date(e[0],e[1]||0,f(e[2])?1:e[2],e[3]||0,e[4]||0,e[5]||0,e[6]||0)}var w=Date.prototype;w.setDay||(w.setDay=function(e){var n=this.getDay();e!==n&&this.setTime(+this+864e5*(e-n))});var A={},O={};function k(e,n){return A[e]||n}function x(e,n,t){var r=e.slice(0,-1);A[n]=A[e]=A[r]=n,O[n]=function(e,n){return f(n)?e["get"+t]():(e["set"+t](n),e)}}x("years","Y","FullYear"),x("months","M","Month"),x("dates","D","Date"),x("days","d","Day"),x("hours","h","Hours"),x("minutes","m","Minutes"),x("seconds","s","Seconds"),x("milliseconds","ms","Milliseconds"),x("times","t","Time");var j={Y:0,M:1,d:2,h:3,m:4,s:5,ms:6};function T(e){return e=k(e,"ms"),j[e]}function C(e,n,t){var r=[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()];if(S(n))D(n,function(e,n){var t=T(n);r[t]+=e});else{var u=T(t);r[u]+=n}return e.setTime(+H(r)),e}function F(e){return new Date(+e)}function I(e){var n=e.getFullYear();return n%4==0&&n%100!=0||n%400==0}var Z=[31,28,31,30,31,30,31,31,30,31,30,31],U=[31,29,31,30,31,30,31,31,30,31,30,31];function N(e){return I(e)?U:Z}function B(e,n,t){for(var r=c(n,t),u=0,i=void 0;!1!==i&&u<e;u++)i=r(u,u,u)}function E(e){return void 0===e}var W=/^\/?Date\((-?\d+)/i,z=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)\s*([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,L=[["YYYY-MM-DD",/(\d{4})-(\d\d)-(\d\d)/],["YYYY-MM",/(\d{4})-(\d\d)/,!1],["YYYYMMDD",/(\d{4})(\d\d)(\d\d)/],["YYYYMM",/(\d{4})(\d\d)/,!1],["YYYY",/\d{4}/,!1]],P=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)\s*([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,R=/\[.*?\]|Y{2,4}|y{2,4}|M{1,2}|D{1,2}|d{1,2}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|SSS|Z{1,2}/g,$=[["HH:mm:ss.SSSS",/(\d\d):(\d\d):(\d\d)\.(\d+)/],["HH:mm:ss,SSSS",/(\d\d):(\d\d):(\d\d),(\d+)/],["HH:mm:ss",/(\d\d):(\d\d):(\d\d)/],["HH:mm",/(\d\d):(\d\d)/],["HHmmss.SSSS",/(\d\d)(\d\d)(\d\d)\.(\d+)/],["HHmmss,SSSS",/(\d\d)(\d\d)(\d\d),(\d+)/],["HHmmss",/(\d\d)(\d\d)(\d\d)/],["HHmm",/(\d\d)(\d\d)/],["HH",/\d\d/]],V=/(Z)|[+-](\d\d)(?::?(\d\d))?/,q=(new Date).getTimezoneOffset(),_=Object.prototype.toString;function G(e){return _.call(e)}function J(e){return"[object Date]"===G(e)}function K(e,n,t){if(!g(e))return H(e,!0===n);if(g(n))return H(function(t,r){var e,n=r.length,u=[],i=!1;if(B(n,function(e){var n=t.charAt(e);switch(r.charAt(e)){case"Y":case"y":u[0]=(u[0]||"")+n;break;case"M":u[1]=(u[1]||"")+n;break;case"D":case"d":u[2]=(u[2]||"")+n;break;case"H":case"h":u[3]=(u[3]||"")+n;break;case"m":u[4]=(u[4]||"")+n;break;case"s":u[5]=(u[5]||"")+n;break;case"S":u[6]=(u[6]||"")+n;break;case"Z":i=!0}}),u=u.map(function(e){return parseInt(e,10)}),i)if(e=V.exec(t.slice(-1<r.indexOf("ZZ")?-5:-6))){var a=q;if(!e[1]){var o="+"===e[0].charAt(0)?1:-1;u[3]-=e[2]*o,u[4]-=(e[3]||0)*o}u[4]-=a}else u.isUTC=i&-1<t.indexOf("Z");return f(u[1])||(u[1]-=1),u}(e,n),t);var r=function(e){var t,r,u=[],i=P.exec(e)||z.exec(e);if(i){if(s(L,function(e,n){if(r=e[1].exec(i[1]))return B(3,function(e){u[e]=parseInt(r[e+1]||1,10)}),u[1]-=1,t=!1!==e[2],!1}),e.indexOf(u[0]))return e;if(r=null,i[3]&&s($,function(e){if(r=e[1].exec(i[3]))return u=u.concat(r.slice(1).map(function(e){return parseInt(e,10)})),!1}),!t&&r)return u;if(r=null,i[4]){r=V.exec(i[4]);var n=q;r[1]||(u[3]-=r[2],u[4]-=r[3]||0),u[4]-=n}return u}return 4===e.length&&L[4][1].test(e)?((u=[parseInt(e,10),0,1]).isUTC=!0,u):e}(e);if(r!==e)return H(r,r.isUTC||!0===n);var u=W.exec(e);return new Date(null!==u?+u[1]:e)}function Q(e,n,t){return e=f(e)?new Date:e.length?K(e,n,t):r(e)?new Date(e):J(e)?new Date(+e):e._i&&e.isValid()?new Date(+e):new Date}function X(e,n){var t=12*(n.getFullYear()-e.getFullYear())+(n.getMonth()-e.getMonth()),r=C(F(e),t,"months");return-(t+(n<r?(n-r)/(r-C(F(e),t-1,"months")):(n-r)/(C(F(e),1+t,"months")-r)))||0}function ee(e,n){switch(n=k(n)){case"Y":e.setMonth(0);case"M":e.setDate(1);case"D":case"d":e.setHours(0);case"h":e.setMinutes(0);case"m":e.setSeconds(0);case"s":e.setMilliseconds(0)}return e}function ne(e,n){return"ms"===(n=k(n,"ms"))||(ee(e,n),C(e,1,n),C(e,-1,"ms")),e}function te(e,n){return void 0===n&&(n=2),("000000"+e).slice(-n)}function re(e,n){var t;return e<0?(t="+",e=Math.abs(e)):t="-",""+t+te(Math.floor(e/60))+(n?"":":")+te(Math.floor(e%60))}function ue(e){return 12<(e=e||24)?e-12:e}function ie(e,n,t,r){if(n=Q(n),"ms"===(t=k(t,"ms")))switch(r){case"before":return+e<+n;case"after":return+n<+e;default:return+e==+n}else{var u=+n;switch(r){case"before":return+ne(F(e),t)<u;case"after":return+ee(F(e),t)>u;default:return+ee(F(e),t)<=u&&u<=+ne(F(e),t)}}}function ae(e,n,t){return ie(e,n,t,"after")}function oe(e,n,t){return ie(e,n,t,"before")}var ce={add:C,clone:F,dayOfYear:function(e,n){var t=N(e),r=e.getMonth(),u=0;return B(r,function(e){u+=t[e]}),u+=e.getDate(),E(n)?u:(e.setTime(+e+864e5*(n-u)),e)},daysInMonth:function(e){return N(e)[e.getMonth()]},diff:function(e,n,t,r){var u;switch(n=Q(n),t=k(t)){case"Y":u=X(e,n)/12;break;case"M":u=X(e,n);break;case"s":u=(e-n)/1e3;break;case"m":u=(e-n)/6e4;break;case"h":u=(e-n)/36e5;break;case"d":u=(e-n)/864e5;break;default:u=e-n}return r?u:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)}(u)},endOf:ne,format:function(n,e){return e&&"UTC"!==e?e.replace(R,function(e){switch(e){case"YY":return String(n.getFullYear()).slice(-2);case"YYYY":case"yyyy":return n.getFullYear();case"M":return n.getMonth()+1;case"MM":return te(n.getMonth()+1);case"D":case"d":return n.getDate();case"DD":case"dd":return te(n.getDate());case"H":return n.getHours();case"HH":return te(n.getHours());case"h":return ue(n.getHours());case"hh":return te(ue(n.getHours()));case"m":return n.getMinutes();case"mm":return te(n.getMinutes());case"s":return n.getSeconds();case"ss":return te(n.getSeconds());case"SSS":return te(n.getMilliseconds(),3);case"Z":return re(q);case"ZZ":return re(q,!0);default:return e}}):n.toISOString()},get:function(e,n){return n=k(n,"t"),O[n](e)},isAfter:ae,isBefore:oe,isBetween:function(e,n,t,r,u){return("("===(u=u||"()").charAt(0)?ae(e,n,r):!oe(e,n,r))&&(")"===u.charAt(1)?oe(e,t,r):!ae(e,t,r))},isLeapYear:I,isSame:function(e,n,t){return ie(e,n,t)},isSameOrAfter:function(e,n,t){return!oe(e,n,t)},isSameOrBefore:function(e,n,t){return!ae(e,n,t)},isValid:function(e){return"Invalid Date"!==e.toString()},parse:Q,set:function(e,n,t){return(n=k(n))&&O[n](e,t),e},startOf:ee,subtract:function(e,n,t){return C(e,-n,t)}};function se(e,n,t){e&&(u(e)?s(e,n,t):r(e)?B(e,n,t):D(e,n,t))}function fe(e,n,t){return e&&B(e,n,t)}var de={forNumber:fe,map:function(e,n,t){return y(fe,e,n,t)}};function le(e,n,t){return S(e)&&D(e,n,t)}var me=Object.assign||function(e){if(f(e))throw new TypeError("Cannot convert undefined or null to object");var t=Object(e);return o(arguments,1,arguments.length,function(e){le(e,function(e,n){t[n]=e})}),t};var ve={assign:me,forIn:function(e,n,t){return S(e)&&function(e,n,t){var r=c(n,t);for(var u in e)if(!1===r(e[u],u,e))break}(e,n,t)},forOwn:le,map:function(e,n,t){return y(le,e,n,t)}};var he,ge,pe=Array.prototype;function ye(e){return decodeURIComponent(e.replace(/\+/g," "))}(he=pe,function(e,n){e in he&&(e="c$"+e),ge?(!E(n.value)&&E(n.writable)&&(n.writable=!0),Object.defineProperty(he,e,me({enumerable:!1,configurable:!0},n))):he[e]=n})("append",function(e){return a(this,e)});var be=/([^=?&]+)=?([^&]*)/g,Me=Array.isArray;var Ye={parse:function(e){var n={};if(g(e))for(var t;t=be.exec(e);){var r=t[1];if(t[0]!==r){var u=t[2],i=n[r];E(i)?n[r]=ye(u):Me(i)?i.append(ye(u)):n[r]=[i,ye(u)]}}return n},prefix:function(e,n){return e?(n||"?")+e:e},stringify:function(e,n,t){void 0===n&&(n="&"),void 0===t&&(t="=");var r=[];return le(e,function(e,n){e||!f(e)&&!isNaN(e)||(e=""),a(r,encodeURIComponent(n)+t+encodeURIComponent(e))}),r.length?r.join(n):""}};var Se={};"Boolean,Number,String,Function,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(e){Se["[object "+e+"]"]=e.toLowerCase()});var De={isAbsolute:function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},join:function(e){var n=arguments,t=n.length;f(e)?1<t&&(e=""):e=e.replace(/\/+$/,"");var r="";return o(n,1,t,function(e){r+="/",r+=e||""}),r&&(e+=r.replace(/\/+/g,"/")),e}};return{array:e,camelCase:function(e){return e.replace(n,function(e,n){return n.toUpperCase()})},date:ce,each:se,isArrayLike:u,isAsyncFunction:function(e){return"[object AsyncFunction]"===G(e)},isBoolean:function(e){return"boolean"==typeof e},isDate:J,isFunction:d,isNil:f,isNumber:r,isObject:S,isPromiseLike:function(e){return!!e&&d(e.then)},isString:g,isUndefined:E,isWindow:function(e){return e&&e===e.window},map:function(e,n,t){return y(se,e,n,t)},number:de,object:ve,qs:Ye,sleep:function(n){return new Promise(function(e){setTimeout(e,n)})},type:function(e){return f(e)?e+"":S(e)||d(e)?Se[G(e)]||"object":typeof e},url:De}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e=e||self).celia=n();
var n,e;n=this,e=function(){"use strict";function o(n,e){return n[n.length]=e,n}function c(n,e){return e?n.bind(e):n}function a(n,e,t,r,u){for(var i=c(r,u),o=e,a=void 0;!1!==a&&o<t;o++)a=i(n[o],o,n)}function s(n,e,t){a(n,0,n.length,e,t)}function f(n){return null==n}function d(n){return"function"==typeof n}function r(n){return"number"==typeof n}function u(n){return!f(n)&&r(n.length)&&!d(n)}var i=Array.isArray;function l(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];if(n){var r=function(e,n){var t=e.length;return s(n,function(n){u(n)?s(n,function(n){e[t++]=n}):(o(e,n),t++)}),t}(n,e);i(n)||(n.length=r)}return n}function m(n,e,t){return n&&s(n,e,t)}function v(n,e){return n<0?function(n,e){return e<=n?n:e}(0,e+n):n}var g=Array.isArray;function t(n,e,t){return g(n)?n.indexOf(e,t):u(n)?function(n,e,t){for(var r=n.length,u=t?v(t,r):0;u<r;u++)if(u in n&&n[u]===e)return u;return-1}(n,e,t):-1}function h(n,e,t,r){var u=[],i=c(t,r);return n(e,function(n,e){f(n=i(n,e))||o(u,n)}),u}function p(n,e){return n.splice(e,1)[0]||null}var y=Array.isArray;var b=Array.isArray;var n={append:function(n,e){if(n)return o(n,e),e},combine:l,forEach:m,forSlice:function(n,e,t,r,u){n&&function(n,e,t,r,u){var i=n.length;t=d(t)?(u=r,r=t,i):v(t,i),a(n,e=v(e,i),t,r,u)}(n,e,t,r,u)},grep:function(n,t,r){var u=[];return r=!!r,m(n,function(n,e){!t(n,e)===r&&o(u,n)}),u},includes:function(n,e){return-1!==t(n,e)},indexOf:t,makeArray:function(n,e){var t=e||[];return n&&l(t,n),t},map:function(n,e,t){return h(m,n,e,t)},remove:function(n,e){return n&&y(n)?function(n,e){var t=n.indexOf(e);return-1<t?p(n,t):null}(n,e):null},removeAt:function(n,e){return n&&b(n)?p(n,e):null},toArray:function(n){return n&&[].concat(n)}},e=/-([a-z])/g;function M(n){return!f(n)&&"object"==typeof n}function Y(n,e,t){var r=c(e,t);for(var u in n)if(n.hasOwnProperty(u)&&!1===r(n[u],u,n))break}function S(n,e){return e?new Date(Date.UTC(n[0],n[1]||0,f(n[2])?1:n[2],n[3]||0,n[4]||0,n[5]||0,n[6]||0)):new Date(n[0],n[1]||0,f(n[2])?1:n[2],n[3]||0,n[4]||0,n[5]||0,n[6]||0)}var D=Date.prototype;D.setDay||(D.setDay=function(n){var e=this.getDay();n!==e&&this.setTime(+this+864e5*(n-e))});var H={},w={};function A(n,e){return H[n]||e}function O(n,e,t){var r=n.slice(0,-1);H[e]=H[n]=H[r]=e,w[e]=function(n,e){return f(e)?n["get"+t]():(n["set"+t](e),n)}}O("years","Y","FullYear"),O("months","M","Month"),O("dates","D","Date"),O("days","d","Day"),O("hours","h","Hours"),O("minutes","m","Minutes"),O("seconds","s","Seconds"),O("milliseconds","ms","Milliseconds"),O("times","t","Time");var k={Y:0,M:1,d:2,h:3,m:4,s:5,ms:6};function x(n){return n=A(n,"ms"),k[n]}function j(n,e,t){var r=[n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()];if(M(e))Y(e,function(n,e){var t=x(e);r[t]+=n});else{var u=x(t);r[u]+=e}return n.setTime(+S(r)),n}function T(n){return new Date(+n)}function C(n){var e=n.getFullYear();return e%4==0&&e%100!=0||e%400==0}var F=[31,28,31,30,31,30,31,31,30,31,30,31],I=[31,29,31,30,31,30,31,31,30,31,30,31];function Z(n){return C(n)?I:F}function U(n,e,t){for(var r=c(e,t),u=0,i=void 0;!1!==i&&u<n;u++)i=r(u,u,u)}function N(n){return void 0===n}var B=/^\/?Date\((-?\d+)/i,E=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)\s*([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,W=[["YYYY-MM-DD",/(\d{4})-(\d\d)-(\d\d)/],["YYYY-MM",/(\d{4})-(\d\d)/,!1],["YYYYMMDD",/(\d{4})(\d\d)(\d\d)/],["YYYYMM",/(\d{4})(\d\d)/,!1],["YYYY",/\d{4}/,!1]],z=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)\s*([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,L=/\[.*?\]|Y{2,4}|y{2,4}|M{1,2}|D{1,2}|d{1,2}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|SSS|Z{1,2}/g,R=[["HH:mm:ss.SSSS",/(\d\d):(\d\d):(\d\d)\.(\d+)/],["HH:mm:ss,SSSS",/(\d\d):(\d\d):(\d\d),(\d+)/],["HH:mm:ss",/(\d\d):(\d\d):(\d\d)/],["HH:mm",/(\d\d):(\d\d)/],["HHmmss.SSSS",/(\d\d)(\d\d)(\d\d)\.(\d+)/],["HHmmss,SSSS",/(\d\d)(\d\d)(\d\d),(\d+)/],["HHmmss",/(\d\d)(\d\d)(\d\d)/],["HHmm",/(\d\d)(\d\d)/],["HH",/\d\d/]],$=/(Z)|[+-](\d\d)(?::?(\d\d))?/,P=(new Date).getTimezoneOffset();function V(n){return"string"==typeof n}var q=Object.prototype.toString;function _(n){return q.call(n)}function G(n){return"[object Date]"===_(n)}function J(n,e,t){if(!V(n))return S(n,!0===e);if(V(e))return S(function(t,r){var n,e=r.length,u=[],i=!1;if(U(e,function(n){var e=t.charAt(n);switch(r.charAt(n)){case"Y":case"y":u[0]=(u[0]||"")+e;break;case"M":u[1]=(u[1]||"")+e;break;case"D":case"d":u[2]=(u[2]||"")+e;break;case"H":case"h":u[3]=(u[3]||"")+e;break;case"m":u[4]=(u[4]||"")+e;break;case"s":u[5]=(u[5]||"")+e;break;case"S":u[6]=(u[6]||"")+e;break;case"Z":i=!0}}),u=u.map(function(n){return parseInt(n,10)}),i)if(n=$.exec(t.slice(-1<r.indexOf("ZZ")?-5:-6))){var o=P;if(!n[1]){var a="+"===n[0].charAt(0)?1:-1;u[3]-=n[2]*a,u[4]-=(n[3]||0)*a}u[4]-=o}else u.isUTC=i&-1<t.indexOf("Z");return f(u[1])||(u[1]-=1),u}(n,e),t);var r=function(n){var t,r,u=[],i=z.exec(n)||E.exec(n);if(i){if(s(W,function(n,e){if(r=n[1].exec(i[1]))return U(3,function(n){u[n]=parseInt(r[n+1]||1,10)}),u[1]-=1,t=!1!==n[2],!1}),n.indexOf(u[0]))return n;if(r=null,i[3]&&s(R,function(n){if(r=n[1].exec(i[3]))return u=u.concat(r.slice(1).map(function(n){return parseInt(n,10)})),!1}),!t&&r)return u;if(r=null,i[4]){r=$.exec(i[4]);var e=P;r[1]||(u[3]-=r[2],u[4]-=r[3]||0),u[4]-=e}return u}return 4===n.length&&W[4][1].test(n)?((u=[parseInt(n,10),0,1]).isUTC=!0,u):n}(n);if(r!==n)return S(r,r.isUTC||!0===e);var u=B.exec(n);return new Date(null!==u?+u[1]:n)}function K(n,e,t){return n=f(n)?new Date:n.length?J(n,e,t):r(n)?new Date(n):G(n)?new Date(+n):n._i&&n.isValid()?new Date(+n):new Date}function Q(n,e){var t=12*(e.getFullYear()-n.getFullYear())+(e.getMonth()-n.getMonth()),r=j(T(n),t,"months");return-(t+(e<r?(e-r)/(r-j(T(n),t-1,"months")):(e-r)/(j(T(n),1+t,"months")-r)))||0}function X(n,e){switch(e=A(e)){case"Y":n.setMonth(0);case"M":n.setDate(1);case"D":case"d":n.setHours(0);case"h":n.setMinutes(0);case"m":n.setSeconds(0);case"s":n.setMilliseconds(0)}return n}function nn(n,e){return"ms"===(e=A(e,"ms"))||(X(n,e),j(n,1,e),j(n,-1,"ms")),n}function en(n,e){return void 0===e&&(e=2),("000000"+n).slice(-e)}function tn(n,e){var t;return n<0?(t="+",n=Math.abs(n)):t="-",""+t+en(Math.floor(n/60))+(e?"":":")+en(Math.floor(n%60))}function rn(n){return 12<(n=n||24)?n-12:n}function un(n,e,t,r){if(e=K(e),"ms"===(t=A(t,"ms")))switch(r){case"before":return+n<+e;case"after":return+e<+n;default:return+n==+e}else{var u=+e;switch(r){case"before":return+nn(T(n),t)<u;case"after":return+X(T(n),t)>u;default:return+X(T(n),t)<=u&&u<=+nn(T(n),t)}}}function on(n,e,t){return un(n,e,t,"after")}function an(n,e,t){return un(n,e,t,"before")}var cn={add:j,clone:T,dayOfYear:function(n,e){var t=Z(n),r=n.getMonth(),u=0;return U(r,function(n){u+=t[n]}),u+=n.getDate(),N(e)?u:(n.setTime(+n+864e5*(e-u)),n)},daysInMonth:function(n){return Z(n)[n.getMonth()]},diff:function(n,e,t,r){var u;switch(e=K(e),t=A(t)){case"Y":u=Q(n,e)/12;break;case"M":u=Q(n,e);break;case"s":u=(n-e)/1e3;break;case"m":u=(n-e)/6e4;break;case"h":u=(n-e)/36e5;break;case"d":u=(n-e)/864e5;break;default:u=n-e}return r?u:function(n){return n<0?Math.ceil(n)||0:Math.floor(n)}(u)},endOf:nn,format:function(e,n){return n&&"UTC"!==n?n.replace(L,function(n){switch(n){case"YY":return String(e.getFullYear()).slice(-2);case"YYYY":case"yyyy":return e.getFullYear();case"M":return e.getMonth()+1;case"MM":return en(e.getMonth()+1);case"D":case"d":return e.getDate();case"DD":case"dd":return en(e.getDate());case"H":return e.getHours();case"HH":return en(e.getHours());case"h":return rn(e.getHours());case"hh":return en(rn(e.getHours()));case"m":return e.getMinutes();case"mm":return en(e.getMinutes());case"s":return e.getSeconds();case"ss":return en(e.getSeconds());case"SSS":return en(e.getMilliseconds(),3);case"Z":return tn(P);case"ZZ":return tn(P,!0);default:return n}}):e.toISOString()},get:function(n,e){return e=A(e,"t"),w[e](n)},isAfter:on,isBefore:an,isBetween:function(n,e,t,r,u){return("("===(u=u||"()").charAt(0)?on(n,e,r):!an(n,e,r))&&(")"===u.charAt(1)?an(n,t,r):!on(n,t,r))},isLeapYear:C,isSame:function(n,e,t){return un(n,e,t)},isSameOrAfter:function(n,e,t){return!an(n,e,t)},isSameOrBefore:function(n,e,t){return!on(n,e,t)},isValid:function(n){return"Invalid Date"!==n.toString()},parse:K,set:function(n,e,t){return(e=A(e))&&w[e](n,t),n},startOf:X,subtract:function(n,e,t){return j(n,-e,t)}};function sn(n,e,t){n&&(u(n)?s(n,e,t):r(n)?U(n,e,t):Y(n,e,t))}function fn(n,e,t){return n&&U(n,e,t)}var dn={forNumber:fn,map:function(n,e,t){return h(fn,n,e,t)}};function ln(n,e,t){return M(n)&&Y(n,e,t)}var mn={assign:Object.assign||function(n){if(f(n))throw new TypeError("Cannot convert undefined or null to object");var t=Object(n);return a(arguments,1,arguments.length,function(n){ln(n,function(n,e){t[e]=n})}),t},forIn:function(n,e,t){return M(n)&&function(n,e,t){var r=c(e,t);for(var u in n)if(!1===r(n[u],u,n))break}(n,e,t)},forOwn:ln,map:function(n,e,t){return h(ln,n,e,t)}};var vn,gn,hn=Array.prototype;function pn(n){return decodeURIComponent(n.replace(/\+/g," "))}gn=function(n){return o(this,n)},(vn="append")in hn&&(vn="c$"+vn),hn[vn]=gn;var yn=/([^=?&]+)=?([^&]*)/g,bn=Array.isArray;var Mn={parse:function(n){var e={};if(V(n))for(var t;t=yn.exec(n);){var r=t[1];if(t[0]!==r){var u=t[2],i=e[r];N(i)?e[r]=pn(u):bn(i)?i.append(pn(u)):e[r]=[i,pn(u)]}}return e},prefix:function(n,e){return n?(e||"?")+n:n},stringify:function(n,e,t){void 0===e&&(e="&"),void 0===t&&(t="=");var r=[];return ln(n,function(n,e){n||!f(n)&&!isNaN(n)||(n=""),o(r,encodeURIComponent(e)+t+encodeURIComponent(n))}),r.length?r.join(e):""}};var Yn={};"Boolean,Number,String,Function,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){Yn["[object "+n+"]"]=n.toLowerCase()});var Sn={isAbsolute:function(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)},join:function(n){var e=arguments,t=e.length;f(n)?1<t&&(n=""):n=n.replace(/\/+$/,"");var r="";return a(e,1,t,function(n){r+="/",r+=n||""}),r&&(n+=r.replace(/\/+/g,"/")),n}};return{array:n,camelCase:function(n){return n.replace(e,function(n,e){return e.toUpperCase()})},date:cn,each:sn,isArrayLike:u,isAsyncFunction:function(n){return"[object AsyncFunction]"===_(n)},isBoolean:function(n){return"boolean"==typeof n},isDate:G,isFunction:d,isNil:f,isNumber:r,isObject:M,isPromiseLike:function(n){return!!n&&d(n.then)},isString:V,isUndefined:N,isWindow:function(n){return n&&n===n.window},map:function(n,e,t){return h(sn,n,e,t)},number:dn,object:mn,qs:Mn,sleep:function(e){return new Promise(function(n){setTimeout(n,e)})},type:function(n){return f(n)?n+"":M(n)||d(n)?Yn[_(n)]||"object":typeof n},url:Sn}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n=n||self).celia=e();
/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -61,18 +61,19 @@ * Released under the MIT License.

function defineProto(proto, isDOM) {
function checkProto(proto, name) {
if (name in proto) {
name = 'c$' + name;
}
return name;
}
function defineProto(proto) {
return function (name, options) {
if (name in proto) {
name = 'c$' + name;
name = checkProto(proto, name);
if (!isUndefined(options.value) && isUndefined(options.writable)) {
options.writable = true;
}
if (isDOM) {
if (!isUndefined(options.value) && isUndefined(options.writable)) {
options.writable = true;
}
Object.defineProperty(proto, name, assign({
enumerable: false,
configurable: true
}, options));
} else {
proto[name] = options;
}
Object.defineProperty(proto, name, assign({
enumerable: false,
configurable: true
}, options));
};

@@ -83,3 +84,6 @@ }

var defineArrayProto = defineProto(arrayProto);
function defineArrayProto (name, val) {
name = checkProto(arrayProto, name);
arrayProto[name] = val;
}

@@ -97,3 +101,3 @@ function _append (arr, obj) {

var defineElementProto = defineProto(elProto, true);
var defineElementProto = defineProto(elProto);

@@ -100,0 +104,0 @@ var fragmentRE = /^\s*<(\w+|!)[^>]*>/;

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -65,18 +65,19 @@ * Released under the MIT License.

function defineProto(proto, isDOM) {
function checkProto(proto, name) {
if (name in proto) {
name = 'c$' + name;
}
return name;
}
function defineProto(proto) {
return function (name, options) {
if (name in proto) {
name = 'c$' + name;
name = checkProto(proto, name);
if (!isUndefined(options.value) && isUndefined(options.writable)) {
options.writable = true;
}
if (isDOM) {
if (!isUndefined(options.value) && isUndefined(options.writable)) {
options.writable = true;
}
Object.defineProperty(proto, name, assign({
enumerable: false,
configurable: true
}, options));
} else {
proto[name] = options;
}
Object.defineProperty(proto, name, assign({
enumerable: false,
configurable: true
}, options));
};

@@ -87,3 +88,6 @@ }

var defineArrayProto = defineProto(arrayProto);
function defineArrayProto (name, val) {
name = checkProto(arrayProto, name);
arrayProto[name] = val;
}

@@ -101,3 +105,3 @@ function _append (arr, obj) {

var defineElementProto = defineProto(elProto, true);
var defineElementProto = defineProto(elProto);

@@ -104,0 +108,0 @@ var fragmentRE = /^\s*<(\w+|!)[^>]*>/;

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
var n,e;n=this,e=function(){"use strict";function o(n){return null==n}function a(n,e){return e?n.bind(e):n}function u(n,e,t,r,o){for(var u=a(r,o),i=e,f=void 0;!1!==f&&i<t;i++)f=u(n[i],i,n)}function i(n,e,t){var r=a(e,t);for(var o in n)if(n.hasOwnProperty(o)&&!1===r(n[o],o,n))break}function f(n){return!o(n)&&"object"==typeof n}function c(n,e,t){return f(n)&&i(n,e,t)}var l=Object.assign||function(n){if(o(n))throw new TypeError("Cannot convert undefined or null to object");var t=Object(n);return u(arguments,1,arguments.length,function(n){c(n,function(n,e){t[e]=n})}),t};function d(n){return void 0===n}function n(t,r){return function(n,e){n in t&&(n="c$"+n),r?(!d(e.value)&&d(e.writable)&&(e.writable=!0),Object.defineProperty(t,n,l({enumerable:!1,configurable:!0},e))):t[n]=e}}function p(n,e){return n[n.length]=e,n}n(Array.prototype)("append",function(n){return p(this,n)});var e=n(window.Element.prototype,!0),s=/^\s*<(\w+|!)[^>]*>/,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,t=/[^\x20\t\r\n\f]+/g;function m(n){return"string"==typeof n}function h(n){return Array.isArray(n)?n:m(n)&&n.match(t)||[]}function y(n,e,t){u(n,0,n.length,e,t)}function r(n,e,t){var r=h(n.className),o=r.concat();y(e,function(n){o=t(o,n)}),(r=r.join(" "))!==(o=o.join(" "))&&(n.className=o)}var g=function(n){this.elem=n};function b(n){return n&&(-1<n.length?n[0]:n)}function w(n,e,t){var r,o=n.length;return t(o?(u(n,0,r=o-1,e),n[r]):n),n}function E(n,e){return n&&(n.length&&!function(n){return n&&n===n.window}(n)?y(n,e):e(n)),n}function C(n,r){y(n.childNodes,function(n,e){var t=0;1===n.nodeType&&r(n,t++,e)})}g.prototype.add=function(){r(this.elem,arguments,function(n,e){return-1===n.indexOf(e)&&n.append(e),n})},g.prototype.remove=function(){r(this.elem,arguments,function(n,e){var t=n.indexOf(e);return-1<t&&n.splice(t,1),n})},g.prototype.contains=function(n){return-1<h(this.elem.className).indexOf(n)},e("classList",{get:function(){return new g(this)}});var x={for:"htmlFor",class:"className"};["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"].forEach(function(n){x[n.toLowerCase()]=n});var P=document.createElement("div"),A=["Webkit","Moz","ms"],N=P.style;function S(n,e,t){var r=n.match(v);if(r){var o=document.createElement(r[1]);c(e,function(n,e){o.setAttribute(e,n)}),t(o)}else s.test(n)?(P.innerHTML=n,C(P,t)):t(document.createTextNode(n))}function L(n){return"function"==typeof n}var D=Array.isArray;function T(n,e){var t=document.createDocumentFragment(),r=function(n){1===n.nodeType?t.appendChild(n):!m(n)&&function(n){return!o(n)&&function(n){return"number"==typeof n}(n.length)&&!L(n)}(n)?y(n,function(n){t.appendChild(n)}):S(n,e,function(n){t.appendChild(n)})};return D(n)?y(n,r):r(n),t}var O=document.body,j={append:function(n,e){n.appendChild(e)},prepend:function(n,e){n.insertBefore(e,n.firstChild)},after:function(n,e){var t=n.parentNode;t&&t.insertBefore(e,n.nextSibling)},before:function(n,e){var t=n.parentNode;t&&t.insertBefore(e,n)}};function B(n,e,t){if(n){var r=T(e);t=j[t],w(n,function(n){return t(n,r.cloneNode(!0))},function(n){return t(n,r)})}return n}function M(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return B(n,e,"append")}["prepend","after","before"].forEach(function(t){t in O&&(j[t]=function(n,e){return n[t](e)})});var V=/-([a-z])/g;var k={};function H(n,e,t){var r=n.style;if(e=k[e]||(k[e]=function(n){if(n in N)return n;for(var e=n[0].toUpperCase()+n.slice(1),t=A.length;t--;)if((n=A[t]+e)in N)return n}(e)||e),o(t))return r[e];r[e]=t}function z(n,e,t){var r="";return(t=t||function(n){var e=n.ownerDocument.defaultView;return e&&e.opener||(e=window),e.getComputedStyle(n)}(n))&&(r=t.getPropertyValue(e)||t[e]),r}var F=1,U="expando9527",$={};function q(n,e,t){var r=n[U],o=$[r||-1];if(d(t))return o&&o[e];o||(n[U]=r=++F,o=$[r]={}),o[e]=t}function I(n){E(n,function(n){if(1===n.nodeType)if("textContent"in n)n.textContent="";else for(var e;e=n.firstChild;)n.removeChild(e)})}function W(n,r){return E(n,function(n){var e=n.style.display||"",t=q(n,"display");(d(t)&&(q(n,"display",e),t=e),r)?e?"none"===e&&(n.style.display="none"===t?"":t):"none"===z(n,"display")&&(n.style.display="block"):n.style.display="none"}),n}function G(n,t,r,e){var o=[];return L(r)||(r=function(n){return n&&o.append(n)}),E(n,e?function(n){for(var e;!1!==e&&(n=n[t]);)e=r(n);return e}:function(n){return r(n[t])}),o}function J(n,e,t){return n&&y(n,e,t)}e("previousElementSibling",{get:function(){return function(n,e){for(;(n=n[e])&&1!==n.nodeType;);return n}(this,"previousSibling")}});var K=Array.isArray;var Q=window.removeEventListener?function(n,e,t){n.removeEventListener(e,t,!1)}:function(n,e,t){n.detachEvent("on"+e,t)};var R=window.addEventListener?function(n,e,t){n.addEventListener(e,t,!1)}:function(n,e,t){n.attachEvent("on"+e,t)};function X(n,e,t){return d(t)?function(n,e){return(n=b(n))&&n[e]}(n,e):function(n,e,t){return e=x[e]||e,E(n,function(n){n[e]=t}),n}(n,e,t)}function Y(n){for(var e,t=n.childNodes,r=0;(e=t[r++])&&1!==e.nodeType;);return e}return{addClass:function(n,e){var t=h(e);return E(n,function(n){var e;(e=n.classList).add.apply(e,t)}),n},after:function(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return B(n,e,"after")},append:M,attr:function(n,e,t){return d(t)?function(n,e){return(n=b(n))&&n.getAttribute(e)}(n,e):function(n,e,t){return E(n,function(n){n.setAttribute(e,t)}),n}(n,e,t)},before:function(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return B(n,e,"before")},children:function(n,e){var t=[];return L(e)||(e=function(n){return t.append(n)}),E(n,function(n){C(n,e)}),t},createElement:function(n,e,t){if(L(e)&&(t=e,e=null),L(t))return S(n,e,t);var r=[];return S(n,e,function(n){p(r,n)}),r},css:function(n,e,t){return e=function(n){return n.replace(V,function(n,e){return e.toUpperCase()})}(e),d(t)?function(n,e){return(n=b(n))?z(n,e):""}(n,e):function(n,e,t){return E(n,function(n){H(n,e,t)}),n}(n,e,t)},data:function(e,r,t){if(f(r))return E(e,function(n){var t=q(n,"data");t||q(e,"data",t={}),i(r,function(n,e){t[e]=n})}),e;if(o(r))return(e=b(e))&&q(e,"data");if(d(t)){var n=q(e,"data");return n&&n[r]}return E(e,function(n){var e=q(n,"data");e||q(n,"data",e={}),e[r]=t}),e},empty:I,find:function(n,e,t){var r=[];return L(t)||(t=function(n){return r.append(n)}),E(n,function(n){return y(n.querySelectorAll(e),t)}),r},hasClass:function(n,e){var t=!1,r=h(e);return E(n,function(e){return y(r,function(n){return!(t=e.classList.contains(n))}),!t}),t},hide:function(n){return W(n)},html:function(n,e){return o(e)?(n=b(n))&&n.innerHTML:(E(n,1===e.nodeType?function(n){I(n),M(n,e)}:function(n){n.innerHTML=String(e)}),n)},next:function(n,e){return G(n,"nextElementSibling",e)},nextAll:function(n,e){return G(n,"nextElementSibling",e,!0)},off:function(n,e,o){return E(n,function(t){var r=q(t,"events");q(t,"handle")&&(d(e)?J(r,function(n,e){Q(t,e,n),delete r[e]}):J(e.split(" "),function(n){d(o)?(Q(t,n,r[n]),delete r[n]):function(n,e){n&&K(n)&&function(n,e){var t=n.indexOf(e);-1<t&&function(n,e){n.splice(e,1)[0]}(n,t)}(n,e)}(r[n],o)}))}),n},on:function(n,e,u){return E(n,function(t){var r=q(t,"events"),o=q(t,"handle");r||q(t,"events",r={}),o||q(t,"handle",o=function(t,r){var n=function(e){if(e.preventDefault||(e.preventDefault=function(){e.returnValue=!1}),e.stopPropagation||(e.stopPropagation=function(){e.cancelBubble=!0}),e.target||(e.target=e.srcElement||document),d(e.defaultPrevented)){var n=e.preventDefault;n=n.bind(e),e.preventDefault=function(){e.defaultPrevented=!0,n()},e.defaultPrevented=!1}e.isDefaultPrevented=function(){return e.defaultPrevented||!1===e.returnValue},J(r[e.type],function(n){return n.call(t,e)});try{delete e.preventDefault,delete e.stopPropagation,delete e.isDefaultPrevented}catch(n){e.preventDefault=null,e.stopPropagation=null,e.isDefaultPrevented=null}};return n.elem=t,n}(t,r)),e.split(" ").forEach(function(n){var e=r[n];e||(R(t,n,o),e=r[n]=[]),e[e.length]=u})}),n},parent:function(n,e){return G(n,"parentNode",e)},prepend:function(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return B(n,e,"prepend")},prev:function(n,e){return G(n,"previousElementSibling",e)},prevAll:function(n,e){return G(n,"previousElementSibling",e,!0)},prop:X,remove:function(n){return E(n,function(n){var e=n.parentNode;e&&e.removeChild(n)}),n},removeAttr:function(n,e){var t=h(e);return E(n,function(e){t.forEach(function(n){e.removeAttribute(n)})}),n},removeClass:function(n,e){if(1===arguments.length)return X(n,"className","");var t=h(e);return E(n,function(n){var e;(e=n.classList).remove.apply(e,t)}),n},removeData:function(n){for(var t=[],e=arguments.length-1;0<e--;)t[e]=arguments[e+1];var r=t[0]?function(n){var e=q(n,"data");e&&y(t,function(n){delete e[n]})}:function(){q(n,"data",{})};return E(n,r),n},removeProp:function(n,e){return E(n,function(n){delete n[x[e]||e]}),n},show:function(n){return W(n,!0)},wrap:function(n,e){if(e){e=T(e);var r=j.before,t=function(n,e){var t;for(r(n,e),e=n.previousElementSibling;t=Y(e);)e=t;e.appendChild(n)};w(n,function(n){return t(n,e.cloneNode(!0))},function(n){return t(n,e)})}return n}}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n=n||self).celia=e();
var n,e;n=this,e=function(){"use strict";function o(n){return null==n}function a(n,e){return e?n.bind(e):n}function u(n,e,t,r,o){for(var u=a(r,o),i=e,f=void 0;!1!==f&&i<t;i++)f=u(n[i],i,n)}function i(n,e,t){var r=a(e,t);for(var o in n)if(n.hasOwnProperty(o)&&!1===r(n[o],o,n))break}function f(n){return!o(n)&&"object"==typeof n}function c(n,e,t){return f(n)&&i(n,e,t)}var t=Object.assign||function(n){if(o(n))throw new TypeError("Cannot convert undefined or null to object");var t=Object(n);return u(arguments,1,arguments.length,function(n){c(n,function(n,e){t[e]=n})}),t};function l(n){return void 0===n}function r(n,e){return e in n&&(e="c$"+e),e}var n,e,d=Array.prototype;function p(n,e){return n[n.length]=e,n}e=function(n){return p(this,n)},n=r(d,n="append"),d[n]=e;var s,v=window.Element.prototype,m=(s=v,function(n,e){n=r(s,n),!l(e.value)&&l(e.writable)&&(e.writable=!0),Object.defineProperty(s,n,t({enumerable:!1,configurable:!0},e))}),h=/^\s*<(\w+|!)[^>]*>/,y=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,g=/[^\x20\t\r\n\f]+/g;function b(n){return"string"==typeof n}function w(n){return Array.isArray(n)?n:b(n)&&n.match(g)||[]}function E(n,e,t){u(n,0,n.length,e,t)}function C(n,e,t){var r=w(n.className),o=r.concat();E(e,function(n){o=t(o,n)}),(r=r.join(" "))!==(o=o.join(" "))&&(n.className=o)}var x=function(n){this.elem=n};function P(n){return n&&(-1<n.length?n[0]:n)}function A(n,e,t){var r,o=n.length;return t(o?(u(n,0,r=o-1,e),n[r]):n),n}function N(n,e){return n&&(n.length&&!function(n){return n&&n===n.window}(n)?E(n,e):e(n)),n}function S(n,r){E(n.childNodes,function(n,e){var t=0;1===n.nodeType&&r(n,t++,e)})}x.prototype.add=function(){C(this.elem,arguments,function(n,e){return-1===n.indexOf(e)&&n.append(e),n})},x.prototype.remove=function(){C(this.elem,arguments,function(n,e){var t=n.indexOf(e);return-1<t&&n.splice(t,1),n})},x.prototype.contains=function(n){return-1<w(this.elem.className).indexOf(n)},m("classList",{get:function(){return new x(this)}});var L={for:"htmlFor",class:"className"};["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"].forEach(function(n){L[n.toLowerCase()]=n});var D=document.createElement("div"),T=["Webkit","Moz","ms"],O=D.style;function j(n,e,t){var r=n.match(y);if(r){var o=document.createElement(r[1]);c(e,function(n,e){o.setAttribute(e,n)}),t(o)}else h.test(n)?(D.innerHTML=n,S(D,t)):t(document.createTextNode(n))}function B(n){return"function"==typeof n}var M=Array.isArray;function V(n,e){var t=document.createDocumentFragment(),r=function(n){1===n.nodeType?t.appendChild(n):!b(n)&&function(n){return!o(n)&&function(n){return"number"==typeof n}(n.length)&&!B(n)}(n)?E(n,function(n){t.appendChild(n)}):j(n,e,function(n){t.appendChild(n)})};return M(n)?E(n,r):r(n),t}var k=document.body,H={append:function(n,e){n.appendChild(e)},prepend:function(n,e){n.insertBefore(e,n.firstChild)},after:function(n,e){var t=n.parentNode;t&&t.insertBefore(e,n.nextSibling)},before:function(n,e){var t=n.parentNode;t&&t.insertBefore(e,n)}};function z(n,e,t){if(n){var r=V(e);t=H[t],A(n,function(n){return t(n,r.cloneNode(!0))},function(n){return t(n,r)})}return n}function F(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return z(n,e,"append")}["prepend","after","before"].forEach(function(t){t in k&&(H[t]=function(n,e){return n[t](e)})});var U=/-([a-z])/g;var $={};function q(n,e,t){var r=n.style;if(e=$[e]||($[e]=function(n){if(n in O)return n;for(var e=n[0].toUpperCase()+n.slice(1),t=T.length;t--;)if((n=T[t]+e)in O)return n}(e)||e),o(t))return r[e];r[e]=t}function I(n,e,t){var r="";return(t=t||function(n){var e=n.ownerDocument.defaultView;return e&&e.opener||(e=window),e.getComputedStyle(n)}(n))&&(r=t.getPropertyValue(e)||t[e]),r}var W=1,G="expando9527",J={};function K(n,e,t){var r=n[G],o=J[r||-1];if(l(t))return o&&o[e];o||(n[G]=r=++W,o=J[r]={}),o[e]=t}function Q(n){N(n,function(n){if(1===n.nodeType)if("textContent"in n)n.textContent="";else for(var e;e=n.firstChild;)n.removeChild(e)})}function R(n,r){return N(n,function(n){var e=n.style.display||"",t=K(n,"display");(l(t)&&(K(n,"display",e),t=e),r)?e?"none"===e&&(n.style.display="none"===t?"":t):"none"===I(n,"display")&&(n.style.display="block"):n.style.display="none"}),n}function X(n,t,r,e){var o=[];return B(r)||(r=function(n){return n&&o.append(n)}),N(n,e?function(n){for(var e;!1!==e&&(n=n[t]);)e=r(n);return e}:function(n){return r(n[t])}),o}function Y(n,e,t){return n&&E(n,e,t)}m("previousElementSibling",{get:function(){return function(n,e){for(;(n=n[e])&&1!==n.nodeType;);return n}(this,"previousSibling")}});var Z=Array.isArray;var _=window.removeEventListener?function(n,e,t){n.removeEventListener(e,t,!1)}:function(n,e,t){n.detachEvent("on"+e,t)};var nn=window.addEventListener?function(n,e,t){n.addEventListener(e,t,!1)}:function(n,e,t){n.attachEvent("on"+e,t)};function en(n,e,t){return l(t)?function(n,e){return(n=P(n))&&n[e]}(n,e):function(n,e,t){return e=L[e]||e,N(n,function(n){n[e]=t}),n}(n,e,t)}function tn(n){for(var e,t=n.childNodes,r=0;(e=t[r++])&&1!==e.nodeType;);return e}return{addClass:function(n,e){var t=w(e);return N(n,function(n){var e;(e=n.classList).add.apply(e,t)}),n},after:function(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return z(n,e,"after")},append:F,attr:function(n,e,t){return l(t)?function(n,e){return(n=P(n))&&n.getAttribute(e)}(n,e):function(n,e,t){return N(n,function(n){n.setAttribute(e,t)}),n}(n,e,t)},before:function(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return z(n,e,"before")},children:function(n,e){var t=[];return B(e)||(e=function(n){return t.append(n)}),N(n,function(n){S(n,e)}),t},createElement:function(n,e,t){if(B(e)&&(t=e,e=null),B(t))return j(n,e,t);var r=[];return j(n,e,function(n){p(r,n)}),r},css:function(n,e,t){return e=function(n){return n.replace(U,function(n,e){return e.toUpperCase()})}(e),l(t)?function(n,e){return(n=P(n))?I(n,e):""}(n,e):function(n,e,t){return N(n,function(n){q(n,e,t)}),n}(n,e,t)},data:function(e,r,t){if(f(r))return N(e,function(n){var t=K(n,"data");t||K(e,"data",t={}),i(r,function(n,e){t[e]=n})}),e;if(o(r))return(e=P(e))&&K(e,"data");if(l(t)){var n=K(e,"data");return n&&n[r]}return N(e,function(n){var e=K(n,"data");e||K(n,"data",e={}),e[r]=t}),e},empty:Q,find:function(n,e,t){var r=[];return B(t)||(t=function(n){return r.append(n)}),N(n,function(n){return E(n.querySelectorAll(e),t)}),r},hasClass:function(n,e){var t=!1,r=w(e);return N(n,function(e){return E(r,function(n){return!(t=e.classList.contains(n))}),!t}),t},hide:function(n){return R(n)},html:function(n,e){return o(e)?(n=P(n))&&n.innerHTML:(N(n,1===e.nodeType?function(n){Q(n),F(n,e)}:function(n){n.innerHTML=String(e)}),n)},next:function(n,e){return X(n,"nextElementSibling",e)},nextAll:function(n,e){return X(n,"nextElementSibling",e,!0)},off:function(n,e,o){return N(n,function(t){var r=K(t,"events");K(t,"handle")&&(l(e)?Y(r,function(n,e){_(t,e,n),delete r[e]}):Y(e.split(" "),function(n){l(o)?(_(t,n,r[n]),delete r[n]):function(n,e){n&&Z(n)&&function(n,e){var t=n.indexOf(e);-1<t&&function(n,e){n.splice(e,1)[0]}(n,t)}(n,e)}(r[n],o)}))}),n},on:function(n,e,u){return N(n,function(t){var r=K(t,"events"),o=K(t,"handle");r||K(t,"events",r={}),o||K(t,"handle",o=function(t,r){var n=function(e){if(e.preventDefault||(e.preventDefault=function(){e.returnValue=!1}),e.stopPropagation||(e.stopPropagation=function(){e.cancelBubble=!0}),e.target||(e.target=e.srcElement||document),l(e.defaultPrevented)){var n=e.preventDefault;n=n.bind(e),e.preventDefault=function(){e.defaultPrevented=!0,n()},e.defaultPrevented=!1}e.isDefaultPrevented=function(){return e.defaultPrevented||!1===e.returnValue},Y(r[e.type],function(n){return n.call(t,e)});try{delete e.preventDefault,delete e.stopPropagation,delete e.isDefaultPrevented}catch(n){e.preventDefault=null,e.stopPropagation=null,e.isDefaultPrevented=null}};return n.elem=t,n}(t,r)),e.split(" ").forEach(function(n){var e=r[n];e||(nn(t,n,o),e=r[n]=[]),e[e.length]=u})}),n},parent:function(n,e){return X(n,"parentNode",e)},prepend:function(n){for(var e=[],t=arguments.length-1;0<t--;)e[t]=arguments[t+1];return z(n,e,"prepend")},prev:function(n,e){return X(n,"previousElementSibling",e)},prevAll:function(n,e){return X(n,"previousElementSibling",e,!0)},prop:en,remove:function(n){return N(n,function(n){var e=n.parentNode;e&&e.removeChild(n)}),n},removeAttr:function(n,e){var t=w(e);return N(n,function(e){t.forEach(function(n){e.removeAttribute(n)})}),n},removeClass:function(n,e){if(1===arguments.length)return en(n,"className","");var t=w(e);return N(n,function(n){var e;(e=n.classList).remove.apply(e,t)}),n},removeData:function(n){for(var t=[],e=arguments.length-1;0<e--;)t[e]=arguments[e+1];var r=t[0]?function(n){var e=K(n,"data");e&&E(t,function(n){delete e[n]})}:function(){K(n,"data",{})};return N(n,r),n},removeProp:function(n,e){return N(n,function(n){delete n[L[e]||e]}),n},show:function(n){return R(n,!0)},wrap:function(n,e){if(e){e=V(e);var r=H.before,t=function(n,e){var t;for(r(n,e),e=n.previousElementSibling;t=tn(e);)e=t;e.appendChild(n)};A(n,function(n){return t(n,e.cloneNode(!0))},function(n){return t(n,e)})}return n}}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n=n||self).celia=e();
/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -17,9 +17,2 @@ * Released under the MIT License.

function forSlice (value, start, end, iterator, context) {
var cb = iteratorCallback(iterator, context);
for (var i = start, returnValue = (void 0); returnValue !== false && i < end; i++) {
returnValue = cb(value[i], i, value);
}
}
function forOwn (value, iterator, context) {

@@ -41,19 +34,2 @@ var cb = iteratorCallback(iterator, context);

var assign = Object.assign || function (target) {
if (isNil(target)) {
throw new TypeError('Cannot convert undefined or null to object');
}
var to = Object(target);
forSlice(arguments, 1, arguments.length, function (nextSource) {
forOwn$1(nextSource, function (nextVal, nextKey) {
to[nextKey] = nextVal;
});
});
return to;
};
function isUndefined (value) {

@@ -63,19 +39,7 @@ return typeof value === 'undefined';

function defineProto(proto, isDOM) {
return function (name, options) {
if (name in proto) {
name = 'c$' + name;
}
if (isDOM) {
if (!isUndefined(options.value) && isUndefined(options.writable)) {
options.writable = true;
}
Object.defineProperty(proto, name, assign({
enumerable: false,
configurable: true
}, options));
} else {
proto[name] = options;
}
};
function checkProto(proto, name) {
if (name in proto) {
name = 'c$' + name;
}
return name;
}

@@ -85,3 +49,6 @@

var defineArrayProto = defineProto(arrayProto);
function defineArrayProto (name, val) {
name = checkProto(arrayProto, name);
arrayProto[name] = val;
}

@@ -88,0 +55,0 @@ function append (arr, obj) {

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -21,9 +21,2 @@ * Released under the MIT License.

function forSlice (value, start, end, iterator, context) {
var cb = iteratorCallback(iterator, context);
for (var i = start, returnValue = (void 0); returnValue !== false && i < end; i++) {
returnValue = cb(value[i], i, value);
}
}
function forOwn (value, iterator, context) {

@@ -45,19 +38,2 @@ var cb = iteratorCallback(iterator, context);

var assign = Object.assign || function (target) {
if (isNil(target)) {
throw new TypeError('Cannot convert undefined or null to object');
}
var to = Object(target);
forSlice(arguments, 1, arguments.length, function (nextSource) {
forOwn$1(nextSource, function (nextVal, nextKey) {
to[nextKey] = nextVal;
});
});
return to;
};
function isUndefined (value) {

@@ -67,19 +43,7 @@ return typeof value === 'undefined';

function defineProto(proto, isDOM) {
return function (name, options) {
if (name in proto) {
name = 'c$' + name;
}
if (isDOM) {
if (!isUndefined(options.value) && isUndefined(options.writable)) {
options.writable = true;
}
Object.defineProperty(proto, name, assign({
enumerable: false,
configurable: true
}, options));
} else {
proto[name] = options;
}
};
function checkProto(proto, name) {
if (name in proto) {
name = 'c$' + name;
}
return name;
}

@@ -89,3 +53,6 @@

var defineArrayProto = defineProto(arrayProto);
function defineArrayProto (name, val) {
name = checkProto(arrayProto, name);
arrayProto[name] = val;
}

@@ -92,0 +59,0 @@ function append (arr, obj) {

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
var n,e;n=this,e=function(){"use strict";function o(n){return null==n}function c(n,e){return e?n.bind(e):n}function i(n,e,r){return function(n){return!o(n)&&"object"==typeof n}(n)&&function(n,e,r){var t=c(e,r);for(var o in n)if(n.hasOwnProperty(o)&&!1===t(n[o],o,n))break}(n,e,r)}var r=Object.assign||function(n){if(o(n))throw new TypeError("Cannot convert undefined or null to object");var r=Object(n);return function(n,e,r,t,o){for(var i=c(t,o),u=e,f=void 0;!1!==f&&u<r;u++)f=i(n[u],u,n)}(arguments,1,arguments.length,function(n){i(n,function(n,e){r[e]=n})}),r};function u(n){return void 0===n}var t,f,n=Array.prototype;function a(n,e){return n[n.length]=e,n}function d(n){return decodeURIComponent(n.replace(/\+/g," "))}(t=n,function(n,e){n in t&&(n="c$"+n),f?(!u(e.value)&&u(e.writable)&&(e.writable=!0),Object.defineProperty(t,n,r({enumerable:!1,configurable:!0},e))):t[n]=e})("append",function(n){return a(this,n)});var p=/([^=?&]+)=?([^&]*)/g,v=Array.isArray;return{parse:function(n){var e={};if(function(n){return"string"==typeof n}(n))for(var r;r=p.exec(n);){var t=r[1];if(r[0]!==t){var o=r[2],i=e[t];u(i)?e[t]=d(o):v(i)?i.append(d(o)):e[t]=[i,d(o)]}}return e},prefix:function(n,e){return n?(e||"?")+n:n},stringify:function(n,e,r){void 0===e&&(e="&"),void 0===r&&(r="=");var t=[];return i(n,function(n,e){n||!o(n)&&!isNaN(n)||(n=""),a(t,encodeURIComponent(e)+r+encodeURIComponent(n))}),t.length?t.join(e):""}}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n=n||self).celia=e();
var n,e;n=this,e=function(){"use strict";function o(n){return null==n}function i(n,e,r){return function(n){return!o(n)&&"object"==typeof n}(n)&&function(n,e,r){var t=function(n,e){return e?n.bind(e):n}(e,r);for(var o in n)if(n.hasOwnProperty(o)&&!1===t(n[o],o,n))break}(n,e,r)}var n,e,r=Array.prototype;function f(n,e){return n[n.length]=e,n}function u(n){return decodeURIComponent(n.replace(/\+/g," "))}e=function(n){return f(this,n)},(n="append")in r&&(n="c$"+n),r[n]=e;var c=/([^=?&]+)=?([^&]*)/g,a=Array.isArray;return{parse:function(n){var e={};if(function(n){return"string"==typeof n}(n))for(var r;r=c.exec(n);){var t=r[1];if(r[0]!==t){var o=r[2],i=e[t];void 0===i?e[t]=u(o):a(i)?i.append(u(o)):e[t]=[i,u(o)]}}return e},prefix:function(n,e){return n?(e||"?")+n:n},stringify:function(n,e,r){void 0===e&&(e="&"),void 0===r&&(r="=");var t=[];return i(n,function(n,e){n||!o(n)&&!isNaN(n)||(n=""),f(t,encodeURIComponent(e)+r+encodeURIComponent(n))}),t.length?t.join(e):""}}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n=n||self).celia=e();
/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* celia.js v4.0.2
* celia.js v4.0.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

{
"name": "celia",
"version": "4.0.2",
"version": "4.0.3",
"description": "A modern JavaScript utility library delivering modularity, performance, & extras.",

@@ -5,0 +5,0 @@ "main": "./dist/celia.c.js",

@@ -80,2 +80,3 @@ # celia

- isUndefined
- isWindow
- map

@@ -102,2 +103,3 @@ - sleep

- array/toArray
- array/toArray.proto
- date/add

@@ -133,2 +135,3 @@ - date/clone

- dom/empty
- dom/find
- dom/hasClass

@@ -155,2 +158,3 @@ - dom/hide

- number/map
- object/assign
- object/forIn

@@ -157,0 +161,0 @@ - object/forOwn

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