shadow$provide.module$node_modules$$pixi$colord$index = function(global, require, module, exports) {
  Object.defineProperty(exports, "__esModule", {value:!0});
  var r = {grad:.9, turn:360, rad:360 / (2 * Math.PI)}, t = function(r) {
    return "string" == typeof r ? 0 < r.length : "number" == typeof r;
  }, n = function(r, t, n) {
    return void 0 === t && (t = 0), void 0 === n && (n = Math.pow(10, t)), Math.round(n * r) / n;
  }, e = function(r, t, n) {
    return void 0 === t && (t = 0), void 0 === n && (n = 1), r > n ? n : r > t ? r : t;
  }, u = function(r) {
    return 0 < (r = isFinite(r) ? r % 360 : 0) ? r : r + 360;
  }, o = function(r) {
    return {r:e(r.r, 0, 255), g:e(r.g, 0, 255), b:e(r.b, 0, 255), a:e(r.a)};
  }, a = function(r) {
    return {r:n(r.r), g:n(r.g), b:n(r.b), a:n(r.a, 3)};
  }, s = /^#([0-9a-f]{3,8})$/i, i = function(r) {
    r = r.toString(16);
    return 2 > r.length ? "0" + r : r;
  }, h = function(r) {
    var t = r.r, n = r.g, e = r.b, o = Math.max(t, n, e), a = o - Math.min(t, n, e);
    t = a ? o === t ? (n - e) / a : o === n ? 2 + (e - t) / a : 4 + (t - n) / a : 0;
    return {h:60 * (0 > t ? t + 6 : t), s:o ? a / o * 100 : 0, v:o / 255 * 100, a:r.a};
  }, b = function(r) {
    var t = r.h, n = r.s, e = r.v;
    r = r.a;
    t = t / 360 * 6;
    n /= 100;
    e /= 100;
    var o = Math.floor(t), a = e * (1 - n), s = e * (1 - (t - o) * n);
    t = e * (1 - (1 - t + o) * n);
    n = o % 6;
    return {r:255 * [e, s, a, a, t, e][n], g:255 * [t, e, e, s, a, a][n], b:255 * [a, a, t, e, e, s][n], a:r};
  }, d = function(r) {
    return {h:u(r.h), s:e(r.s, 0, 100), l:e(r.l, 0, 100), a:e(r.a)};
  }, g = function(r) {
    return {h:n(r.h), s:n(r.s), l:n(r.l), a:n(r.a, 3)};
  }, f = function(r) {
    var e, n;
    return b((n = r.s, {h:r.h, s:0 < (n *= (50 > (e = r.l) ? e : 100 - e) / 100) ? 2 * n / (e + n) * 100 : 0, v:e + n, a:r.a}));
  }, p = function(r) {
    var u, e, n, t;
    return {h:(t = h(r)).h, s:0 < (u = (200 - (n = t.s)) * (e = t.v) / 100) && 200 > u ? n * e / 100 / (100 >= u ? u : 200 - u) * 100 : 0, l:u / 2, a:t.a};
  }, l = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, c = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, v = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, m = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, 
  y = {string:[[function(r) {
    var t = s.exec(r);
    return t ? 4 >= (r = t[1]).length ? {r:parseInt(r[0] + r[0], 16), g:parseInt(r[1] + r[1], 16), b:parseInt(r[2] + r[2], 16), a:4 === r.length ? n(parseInt(r[3] + r[3], 16) / 255, 2) : 1} : 6 === r.length || 8 === r.length ? {r:parseInt(r.substr(0, 2), 16), g:parseInt(r.substr(2, 2), 16), b:parseInt(r.substr(4, 2), 16), a:8 === r.length ? n(parseInt(r.substr(6, 2), 16) / 255, 2) : 1} : null : null;
  }, "hex"], [function(r) {
    return (r = v.exec(r) || m.exec(r)) ? r[2] !== r[4] || r[4] !== r[6] ? null : o({r:Number(r[1]) / (r[2] ? 100 / 255 : 1), g:Number(r[3]) / (r[4] ? 100 / 255 : 1), b:Number(r[5]) / (r[6] ? 100 / 255 : 1), a:void 0 === r[7] ? 1 : Number(r[7]) / (r[8] ? 100 : 1)}) : null;
  }, "rgb"], [function(t) {
    t = l.exec(t) || c.exec(t);
    if (!t) {
      return null;
    }
    var e, u, o = d({h:(e = t[1], u = t[2], void 0 === u && (u = "deg"), Number(e) * (r[u] || 1)), s:Number(t[3]), l:Number(t[4]), a:void 0 === t[5] ? 1 : Number(t[5]) / (t[6] ? 100 : 1)});
    return f(o);
  }, "hsl"]], object:[[function(r) {
    var n = r.r, e = r.g, u = r.b;
    r = r.a;
    r = void 0 === r ? 1 : r;
    return t(n) && t(e) && t(u) ? o({r:Number(n), g:Number(e), b:Number(u), a:Number(r)}) : null;
  }, "rgb"], [function(r) {
    var n = r.h, e = r.s, u = r.l;
    r = r.a;
    r = void 0 === r ? 1 : r;
    if (!t(n) || !t(e) || !t(u)) {
      return null;
    }
    n = d({h:Number(n), s:Number(e), l:Number(u), a:Number(r)});
    return f(n);
  }, "hsl"], [function(r) {
    var n = r.h, o = r.s, a = r.v;
    r = r.a;
    r = void 0 === r ? 1 : r;
    if (!t(n) || !t(o) || !t(a)) {
      return null;
    }
    o = Number(o);
    a = Number(a);
    r = Number(r);
    n = {h:u(Number(n)), s:e(o, 0, 100), v:e(a, 0, 100), a:e(r)};
    return b(n);
  }, "hsv"]]}, N = function(r, t) {
    for (var n = 0; n < t.length; n++) {
      var e = t[n][0](r);
      if (e) {
        return [e, t[n][1]];
      }
    }
    return [null, void 0];
  }, x = function(r) {
    return "string" == typeof r ? N(r.trim(), y.string) : "object" == typeof r && null !== r ? N(r, y.object) : [null, void 0];
  }, M = function(r, t) {
    r = p(r);
    return {h:r.h, s:e(r.s + 100 * t, 0, 100), l:r.l, a:r.a};
  }, I = function(r) {
    return (299 * r.r + 587 * r.g + 114 * r.b) / 1e3 / 255;
  }, H = function(r, t) {
    r = p(r);
    return {h:r.h, s:r.s, l:e(r.l + 100 * t, 0, 100), a:r.a};
  }, $ = function() {
    function r(r) {
      this.rgba = (this.parsed = x(r)[0]) || {r:0, g:0, b:0, a:1};
    }
    return r.prototype.isValid = function() {
      return null !== this.parsed;
    }, r.prototype.brightness = function() {
      return n(I(this.rgba), 2);
    }, r.prototype.isDark = function() {
      return .5 > I(this.rgba);
    }, r.prototype.isLight = function() {
      return .5 <= I(this.rgba);
    }, r.prototype.toHex = function() {
      var s, o, u, e, t, r;
      return r = a(this.rgba), t = r.r, e = r.g, u = r.b, s = 1 > (o = r.a) ? i(n(255 * o)) : "", "#" + i(t) + i(e) + i(u) + s;
    }, r.prototype.toRgb = function() {
      return a(this.rgba);
    }, r.prototype.toRgbString = function() {
      var u, e, n, t, r;
      return r = a(this.rgba), t = r.r, n = r.g, e = r.b, 1 > (u = r.a) ? "rgba(" + t + ", " + n + ", " + e + ", " + u + ")" : "rgb(" + t + ", " + n + ", " + e + ")";
    }, r.prototype.toHsl = function() {
      return g(p(this.rgba));
    }, r.prototype.toHslString = function() {
      var u, e, n, t, r;
      return r = g(p(this.rgba)), t = r.h, n = r.s, e = r.l, 1 > (u = r.a) ? "hsla(" + t + ", " + n + "%, " + e + "%, " + u + ")" : "hsl(" + t + ", " + n + "%, " + e + "%)";
    }, r.prototype.toHsv = function() {
      var r;
      return r = h(this.rgba), {h:n(r.h), s:n(r.s), v:n(r.v), a:n(r.a, 3)};
    }, r.prototype.invert = function() {
      var r;
      return j({r:255 - (r = this.rgba).r, g:255 - r.g, b:255 - r.b, a:r.a});
    }, r.prototype.saturate = function(r) {
      return void 0 === r && (r = .1), j(M(this.rgba, r));
    }, r.prototype.desaturate = function(r) {
      return void 0 === r && (r = .1), j(M(this.rgba, -r));
    }, r.prototype.grayscale = function() {
      return j(M(this.rgba, -1));
    }, r.prototype.lighten = function(r) {
      return void 0 === r && (r = .1), j(H(this.rgba, r));
    }, r.prototype.darken = function(r) {
      return void 0 === r && (r = .1), j(H(this.rgba, -r));
    }, r.prototype.rotate = function(r) {
      return void 0 === r && (r = 15), this.hue(this.hue() + r);
    }, r.prototype.alpha = function(r) {
      var t;
      return "number" == typeof r ? j({r:(t = this.rgba).r, g:t.g, b:t.b, a:r}) : n(this.rgba.a, 3);
    }, r.prototype.hue = function(r) {
      var t = p(this.rgba);
      return "number" == typeof r ? j({h:r, s:t.s, l:t.l, a:t.a}) : n(t.h);
    }, r.prototype.isEqual = function(r) {
      return this.toHex() === j(r).toHex();
    }, r;
  }(), j = function(r) {
    return r instanceof $ ? r : new $(r);
  }, w = [];
  exports.Colord = $;
  exports.colord = j;
  exports.extend = function(r) {
    r.forEach(function(r) {
      0 > w.indexOf(r) && (r($, y), w.push(r));
    });
  };
  exports.getFormat = function(r) {
    return x(r)[1];
  };
  exports.random = function() {
    return new $({r:255 * Math.random(), g:255 * Math.random(), b:255 * Math.random()});
  };
};

//# sourceMappingURL=module$node_modules$$pixi$colord$index.js.map
