/home/ryakenya/public_html/wp-content__4727f99/plugins/fluentform/assets/libs/chartjs/chart.js
/*!
 * Chart.js
 * http://chartjs.org/
 *
 * Copyright 2017 Nick Downie
 * Released under the MIT license
 * https://github.com/chartjs/Chart.js/blob/master/LICENSE.md
 */
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Chart = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){

},{}],2:[function(require,module,exports){
/* MIT license */
var colorNames = require(6);

module.exports = {
   getRgba: getRgba,
   getHsla: getHsla,
   getRgb: getRgb,
   getHsl: getHsl,
   getHwb: getHwb,
   getAlpha: getAlpha,

   hexString: hexString,
   rgbString: rgbString,
   rgbaString: rgbaString,
   percentString: percentString,
   percentaString: percentaString,
   hslString: hslString,
   hslaString: hslaString,
   hwbString: hwbString,
   keyword: keyword
}

function getRgba(string) {
   if (!string) {
      return;
   }
   var abbr =  /^#([a-fA-F0-9]{3})$/i,
       hex =  /^#([a-fA-F0-9]{6})$/i,
       rgba = /^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,
       per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,
       keyword = /(\w+)/;

   var rgb = [0, 0, 0],
       a = 1,
       match = string.match(abbr);
   if (match) {
      match = match[1];
      for (var i = 0; i < rgb.length; i++) {
         rgb[i] = parseInt(match[i] + match[i], 16);
      }
   }
   else if (match = string.match(hex)) {
      match = match[1];
      for (var i = 0; i < rgb.length; i++) {
         rgb[i] = parseInt(match.slice(i * 2, i * 2 + 2), 16);
      }
   }
   else if (match = string.match(rgba)) {
      for (var i = 0; i < rgb.length; i++) {
         rgb[i] = parseInt(match[i + 1]);
      }
      a = parseFloat(match[4]);
   }
   else if (match = string.match(per)) {
      for (var i = 0; i < rgb.length; i++) {
         rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);
      }
      a = parseFloat(match[4]);
   }
   else if (match = string.match(keyword)) {
      if (match[1] == "transparent") {
         return [0, 0, 0, 0];
      }
      rgb = colorNames[match[1]];
      if (!rgb) {
         return;
      }
   }

   for (var i = 0; i < rgb.length; i++) {
      rgb[i] = scale(rgb[i], 0, 255);
   }
   if (!a && a != 0) {
      a = 1;
   }
   else {
      a = scale(a, 0, 1);
   }
   rgb[3] = a;
   return rgb;
}

function getHsla(string) {
   if (!string) {
      return;
   }
   var hsl = /^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/;
   var match = string.match(hsl);
   if (match) {
      var alpha = parseFloat(match[4]);
      var h = scale(parseInt(match[1]), 0, 360),
          s = scale(parseFloat(match[2]), 0, 100),
          l = scale(parseFloat(match[3]), 0, 100),
          a = scale(isNaN(alpha) ? 1 : alpha, 0, 1);
      return [h, s, l, a];
   }
}

function getHwb(string) {
   if (!string) {
      return;
   }
   var hwb = /^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/;
   var match = string.match(hwb);
   if (match) {
    var alpha = parseFloat(match[4]);
      var h = scale(parseInt(match[1]), 0, 360),
          w = scale(parseFloat(match[2]), 0, 100),
          b = scale(parseFloat(match[3]), 0, 100),
          a = scale(isNaN(alpha) ? 1 : alpha, 0, 1);
      return [h, w, b, a];
   }
}

function getRgb(string) {
   var rgba = getRgba(string);
   return rgba && rgba.slice(0, 3);
}

function getHsl(string) {
  var hsla = getHsla(string);
  return hsla && hsla.slice(0, 3);
}

function getAlpha(string) {
   var vals = getRgba(string);
   if (vals) {
      return vals[3];
   }
   else if (vals = getHsla(string)) {
      return vals[3];
   }
   else if (vals = getHwb(string)) {
      return vals[3];
   }
}

// generators
function hexString(rgb) {
   return "#" + hexDouble(rgb[0]) + hexDouble(rgb[1])
              + hexDouble(rgb[2]);
}

function rgbString(rgba, alpha) {
   if (alpha < 1 || (rgba[3] && rgba[3] < 1)) {
      return rgbaString(rgba, alpha);
   }
   return "rgb(" + rgba[0] + ", " + rgba[1] + ", " + rgba[2] + ")";
}

function rgbaString(rgba, alpha) {
   if (alpha === undefined) {
      alpha = (rgba[3] !== undefined ? rgba[3] : 1);
   }
   return "rgba(" + rgba[0] + ", " + rgba[1] + ", " + rgba[2]
           + ", " + alpha + ")";
}

function percentString(rgba, alpha) {
   if (alpha < 1 || (rgba[3] && rgba[3] < 1)) {
      return percentaString(rgba, alpha);
   }
   var r = Math.round(rgba[0]/255 * 100),
       g = Math.round(rgba[1]/255 * 100),
       b = Math.round(rgba[2]/255 * 100);

   return "rgb(" + r + "%, " + g + "%, " + b + "%)";
}

function percentaString(rgba, alpha) {
   var r = Math.round(rgba[0]/255 * 100),
       g = Math.round(rgba[1]/255 * 100),
       b = Math.round(rgba[2]/255 * 100);
   return "rgba(" + r + "%, " + g + "%, " + b + "%, " + (alpha || rgba[3] || 1) + ")";
}

function hslString(hsla, alpha) {
   if (alpha < 1 || (hsla[3] && hsla[3] < 1)) {
      return hslaString(hsla, alpha);
   }
   return "hsl(" + hsla[0] + ", " + hsla[1] + "%, " + hsla[2] + "%)";
}

function hslaString(hsla, alpha) {
   if (alpha === undefined) {
      alpha = (hsla[3] !== undefined ? hsla[3] : 1);
   }
   return "hsla(" + hsla[0] + ", " + hsla[1] + "%, " + hsla[2] + "%, "
           + alpha + ")";
}

// hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax
// (hwb have alpha optional & 1 is default value)
function hwbString(hwb, alpha) {
   if (alpha === undefined) {
      alpha = (hwb[3] !== undefined ? hwb[3] : 1);
   }
   return "hwb(" + hwb[0] + ", " + hwb[1] + "%, " + hwb[2] + "%"
           + (alpha !== undefined && alpha !== 1 ? ", " + alpha : "") + ")";
}

function keyword(rgb) {
  return reverseNames[rgb.slice(0, 3)];
}

// helpers
function scale(num, min, max) {
   return Math.min(Math.max(min, num), max);
}

function hexDouble(num) {
  var str = num.toString(16).toUpperCase();
  return (str.length < 2) ? "0" + str : str;
}


//create a list of reverse color names
var reverseNames = {};
for (var name in colorNames) {
   reverseNames[colorNames[name]] = name;
}

},{"6":6}],3:[function(require,module,exports){
/* MIT license */
var convert = require(5);
var string = require(2);

var Color = function (obj) {
	if (obj instanceof Color) {
		return obj;
	}
	if (!(this instanceof Color)) {
		return new Color(obj);
	}

	this.valid = false;
	this.values = {
		rgb: [0, 0, 0],
		hsl: [0, 0, 0],
		hsv: [0, 0, 0],
		hwb: [0, 0, 0],
		cmyk: [0, 0, 0, 0],
		alpha: 1
	};

	// parse Color() argument
	var vals;
	if (typeof obj === 'string') {
		vals = string.getRgba(obj);
		if (vals) {
			this.setValues('rgb', vals);
		} else if (vals = string.getHsla(obj)) {
			this.setValues('hsl', vals);
		} else if (vals = string.getHwb(obj)) {
			this.setValues('hwb', vals);
		}
	} else if (typeof obj === 'object') {
		vals = obj;
		if (vals.r !== undefined || vals.red !== undefined) {
			this.setValues('rgb', vals);
		} else if (vals.l !== undefined || vals.lightness !== undefined) {
			this.setValues('hsl', vals);
		} else if (vals.v !== undefined || vals.value !== undefined) {
			this.setValues('hsv', vals);
		} else if (vals.w !== undefined || vals.whiteness !== undefined) {
			this.setValues('hwb', vals);
		} else if (vals.c !== undefined || vals.cyan !== undefined) {
			this.setValues('cmyk', vals);
		}
	}
};

Color.prototype = {
	isValid: function () {
		return this.valid;
	},
	rgb: function () {
		return this.setSpace('rgb', arguments);
	},
	hsl: function () {
		return this.setSpace('hsl', arguments);
	},
	hsv: function () {
		return this.setSpace('hsv', arguments);
	},
	hwb: function () {
		return this.setSpace('hwb', arguments);
	},
	cmyk: function () {
		return this.setSpace('cmyk', arguments);
	},

	rgbArray: function () {
		return this.values.rgb;
	},
	hslArray: function () {
		return this.values.hsl;
	},
	hsvArray: function () {
		return this.values.hsv;
	},
	hwbArray: function () {
		var values = this.values;
		if (values.alpha !== 1) {
			return values.hwb.concat([values.alpha]);
		}
		return values.hwb;
	},
	cmykArray: function () {
		return this.values.cmyk;
	},
	rgbaArray: function () {
		var values = this.values;
		return values.rgb.concat([values.alpha]);
	},
	hslaArray: function () {
		var values = this.values;
		return values.hsl.concat([values.alpha]);
	},
	alpha: function (val) {
		if (val === undefined) {
			return this.values.alpha;
		}
		this.setValues('alpha', val);
		return this;
	},

	red: function (val) {
		return this.setChannel('rgb', 0, val);
	},
	green: function (val) {
		return this.setChannel('rgb', 1, val);
	},
	blue: function (val) {
		return this.setChannel('rgb', 2, val);
	},
	hue: function (val) {
		if (val) {
			val %= 360;
			val = val < 0 ? 360 + val : val;
		}
		return this.setChannel('hsl', 0, val);
	},
	saturation: function (val) {
		return this.setChannel('hsl', 1, val);
	},
	lightness: function (val) {
		return this.setChannel('hsl', 2, val);
	},
	saturationv: function (val) {
		return this.setChannel('hsv', 1, val);
	},
	whiteness: function (val) {
		return this.setChannel('hwb', 1, val);
	},
	blackness: function (val) {
		return this.setChannel('hwb', 2, val);
	},
	value: function (val) {
		return this.setChannel('hsv', 2, val);
	},
	cyan: function (val) {
		return this.setChannel('cmyk', 0, val);
	},
	magenta: function (val) {
		return this.setChannel('cmyk', 1, val);
	},
	yellow: function (val) {
		return this.setChannel('cmyk', 2, val);
	},
	black: function (val) {
		return this.setChannel('cmyk', 3, val);
	},

	hexString: function () {
		return string.hexString(this.values.rgb);
	},
	rgbString: function () {
		return string.rgbString(this.values.rgb, this.values.alpha);
	},
	rgbaString: function () {
		return string.rgbaString(this.values.rgb, this.values.alpha);
	},
	percentString: function () {
		return string.percentString(this.values.rgb, this.values.alpha);
	},
	hslString: function () {
		return string.hslString(this.values.hsl, this.values.alpha);
	},
	hslaString: function () {
		return string.hslaString(this.values.hsl, this.values.alpha);
	},
	hwbString: function () {
		return string.hwbString(this.values.hwb, this.values.alpha);
	},
	keyword: function () {
		return string.keyword(this.values.rgb, this.values.alpha);
	},

	rgbNumber: function () {
		var rgb = this.values.rgb;
		return (rgb[0] << 16) | (rgb[1] << 8) | rgb[2];
	},

	luminosity: function () {
		// http://www.w3.org/TR/WCAG20/#relativeluminancedef
		var rgb = this.values.rgb;
		var lum = [];
		for (var i = 0; i < rgb.length; i++) {
			var chan = rgb[i] / 255;
			lum[i] = (chan <= 0.03928) ? chan / 12.92 : Math.pow(((chan + 0.055) / 1.055), 2.4);
		}
		return 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];
	},

	contrast: function (color2) {
		// http://www.w3.org/TR/WCAG20/#contrast-ratiodef
		var lum1 = this.luminosity();
		var lum2 = color2.luminosity();
		if (lum1 > lum2) {
			return (lum1 + 0.05) / (lum2 + 0.05);
		}
		return (lum2 + 0.05) / (lum1 + 0.05);
	},

	level: function (color2) {
		var contrastRatio = this.contrast(color2);
		if (contrastRatio >= 7.1) {
			return 'AAA';
		}

		return (contrastRatio >= 4.5) ? 'AA' : '';
	},

	dark: function () {
		// YIQ equation from http://24ways.org/2010/calculating-color-contrast
		var rgb = this.values.rgb;
		var yiq = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000;
		return yiq < 128;
	},

	light: function () {
		return !this.dark();
	},

	negate: function () {
		var rgb = [];
		for (var i = 0; i < 3; i++) {
			rgb[i] = 255 - this.values.rgb[i];
		}
		this.setValues('rgb', rgb);
		return this;
	},

	lighten: function (ratio) {
		var hsl = this.values.hsl;
		hsl[2] += hsl[2] * ratio;
		this.setValues('hsl', hsl);
		return this;
	},

	darken: function (ratio) {
		var hsl = this.values.hsl;
		hsl[2] -= hsl[2] * ratio;
		this.setValues('hsl', hsl);
		return this;
	},

	saturate: function (ratio) {
		var hsl = this.values.hsl;
		hsl[1] += hsl[1] * ratio;
		this.setValues('hsl', hsl);
		return this;
	},

	desaturate: function (ratio) {
		var hsl = this.values.hsl;
		hsl[1] -= hsl[1] * ratio;
		this.setValues('hsl', hsl);
		return this;
	},

	whiten: function (ratio) {
		var hwb = this.values.hwb;
		hwb[1] += hwb[1] * ratio;
		this.setValues('hwb', hwb);
		return this;
	},

	blacken: function (ratio) {
		var hwb = this.values.hwb;
		hwb[2] += hwb[2] * ratio;
		this.setValues('hwb', hwb);
		return this;
	},

	greyscale: function () {
		var rgb = this.values.rgb;
		// http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale
		var val = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;
		this.setValues('rgb', [val, val, val]);
		return this;
	},

	clearer: function (ratio) {
		var alpha = this.values.alpha;
		this.setValues('alpha', alpha - (alpha * ratio));
		return this;
	},

	opaquer: function (ratio) {
		var alpha = this.values.alpha;
		this.setValues('alpha', alpha + (alpha * ratio));
		return this;
	},

	rotate: function (degrees) {
		var hsl = this.values.hsl;
		var hue = (hsl[0] + degrees) % 360;
		hsl[0] = hue < 0 ? 360 + hue : hue;
		this.setValues('hsl', hsl);
		return this;
	},

	/**
	 * Ported from sass implementation in C
	 * https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
	 */
	mix: function (mixinColor, weight) {
		var color1 = this;
		var color2 = mixinColor;
		var p = weight === undefined ? 0.5 : weight;

		var w = 2 * p - 1;
		var a = color1.alpha() - color2.alpha();

		var w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2.0;
		var w2 = 1 - w1;

		return this
			.rgb(
				w1 * color1.red() + w2 * color2.red(),
				w1 * color1.green() + w2 * color2.green(),
				w1 * color1.blue() + w2 * color2.blue()
			)
			.alpha(color1.alpha() * p + color2.alpha() * (1 - p));
	},

	toJSON: function () {
		return this.rgb();
	},

	clone: function () {
		// NOTE(SB): using node-clone creates a dependency to Buffer when using browserify,
		// making the final build way to big to embed in Chart.js. So let's do it manually,
		// assuming that values to clone are 1 dimension arrays containing only numbers,
		// except 'alpha' which is a number.
		var result = new Color();
		var source = this.values;
		var target = result.values;
		var value, type;

		for (var prop in source) {
			if (source.hasOwnProperty(prop)) {
				value = source[prop];
				type = ({}).toString.call(value);
				if (type === '[object Array]') {
					target[prop] = value.slice(0);
				} else if (type === '[object Number]') {
					target[prop] = value;
				} else {
					console.error('unexpected color value:', value);
				}
			}
		}

		return result;
	}
};

Color.prototype.spaces = {
	rgb: ['red', 'green', 'blue'],
	hsl: ['hue', 'saturation', 'lightness'],
	hsv: ['hue', 'saturation', 'value'],
	hwb: ['hue', 'whiteness', 'blackness'],
	cmyk: ['cyan', 'magenta', 'yellow', 'black']
};

Color.prototype.maxes = {
	rgb: [255, 255, 255],
	hsl: [360, 100, 100],
	hsv: [360, 100, 100],
	hwb: [360, 100, 100],
	cmyk: [100, 100, 100, 100]
};

Color.prototype.getValues = function (space) {
	var values = this.values;
	var vals = {};

	for (var i = 0; i < space.length; i++) {
		vals[space.charAt(i)] = values[space][i];
	}

	if (values.alpha !== 1) {
		vals.a = values.alpha;
	}

	// {r: 255, g: 255, b: 255, a: 0.4}
	return vals;
};

Color.prototype.setValues = function (space, vals) {
	var values = this.values;
	var spaces = this.spaces;
	var maxes = this.maxes;
	var alpha = 1;
	var i;

	this.valid = true;

	if (space === 'alpha') {
		alpha = vals;
	} else if (vals.length) {
		// [10, 10, 10]
		values[space] = vals.slice(0, space.length);
		alpha = vals[space.length];
	} else if (vals[space.charAt(0)] !== undefined) {
		// {r: 10, g: 10, b: 10}
		for (i = 0; i < space.length; i++) {
			values[space][i] = vals[space.charAt(i)];
		}

		alpha = vals.a;
	} else if (vals[spaces[space][0]] !== undefined) {
		// {red: 10, green: 10, blue: 10}
		var chans = spaces[space];

		for (i = 0; i < space.length; i++) {
			values[space][i] = vals[chans[i]];
		}

		alpha = vals.alpha;
	}

	values.alpha = Math.max(0, Math.min(1, (alpha === undefined ? values.alpha : alpha)));

	if (space === 'alpha') {
		return false;
	}

	var capped;

	// cap values of the space prior converting all values
	for (i = 0; i < space.length; i++) {
		capped = Math.max(0, Math.min(maxes[space][i], values[space][i]));
		values[space][i] = Math.round(capped);
	}

	// convert to all the other color spaces
	for (var sname in spaces) {
		if (sname !== space) {
			values[sname] = convert[space][sname](values[space]);
		}
	}

	return true;
};

Color.prototype.setSpace = function (space, args) {
	var vals = args[0];

	if (vals === undefined) {
		// color.rgb()
		return this.getValues(space);
	}

	// color.rgb(10, 10, 10)
	if (typeof vals === 'number') {
		vals = Array.prototype.slice.call(args);
	}

	this.setValues(space, vals);
	return this;
};

Color.prototype.setChannel = function (space, index, val) {
	var svalues = this.values[space];
	if (val === undefined) {
		// color.red()
		return svalues[index];
	} else if (val === svalues[index]) {
		// color.red(color.red())
		return this;
	}

	// color.red(100)
	svalues[index] = val;
	this.setValues(space, svalues);

	return this;
};

if (typeof window !== 'undefined') {
	window.Color = Color;
}

module.exports = Color;

},{"2":2,"5":5}],4:[function(require,module,exports){
/* MIT license */

module.exports = {
  rgb2hsl: rgb2hsl,
  rgb2hsv: rgb2hsv,
  rgb2hwb: rgb2hwb,
  rgb2cmyk: rgb2cmyk,
  rgb2keyword: rgb2keyword,
  rgb2xyz: rgb2xyz,
  rgb2lab: rgb2lab,
  rgb2lch: rgb2lch,

  hsl2rgb: hsl2rgb,
  hsl2hsv: hsl2hsv,
  hsl2hwb: hsl2hwb,
  hsl2cmyk: hsl2cmyk,
  hsl2keyword: hsl2keyword,

  hsv2rgb: hsv2rgb,
  hsv2hsl: hsv2hsl,
  hsv2hwb: hsv2hwb,
  hsv2cmyk: hsv2cmyk,
  hsv2keyword: hsv2keyword,

  hwb2rgb: hwb2rgb,
  hwb2hsl: hwb2hsl,
  hwb2hsv: hwb2hsv,
  hwb2cmyk: hwb2cmyk,
  hwb2keyword: hwb2keyword,

  cmyk2rgb: cmyk2rgb,
  cmyk2hsl: cmyk2hsl,
  cmyk2hsv: cmyk2hsv,
  cmyk2hwb: cmyk2hwb,
  cmyk2keyword: cmyk2keyword,

  keyword2rgb: keyword2rgb,
  keyword2hsl: keyword2hsl,
  keyword2hsv: keyword2hsv,
  keyword2hwb: keyword2hwb,
  keyword2cmyk: keyword2cmyk,
  keyword2lab: keyword2lab,
  keyword2xyz: keyword2xyz,

  xyz2rgb: xyz2rgb,
  xyz2lab: xyz2lab,
  xyz2lch: xyz2lch,

  lab2xyz: lab2xyz,
  lab2rgb: lab2rgb,
  lab2lch: lab2lch,

  lch2lab: lch2lab,
  lch2xyz: lch2xyz,
  lch2rgb: lch2rgb
}


function rgb2hsl(rgb) {
  var r = rgb[0]/255,
      g = rgb[1]/255,
      b = rgb[2]/255,
      min = Math.min(r, g, b),
      max = Math.max(r, g, b),
      delta = max - min,
      h, s, l;

  if (max == min)
    h = 0;
  else if (r == max)
    h = (g - b) / delta;
  else if (g == max)
    h = 2 + (b - r) / delta;
  else if (b == max)
    h = 4 + (r - g)/ delta;

  h = Math.min(h * 60, 360);

  if (h < 0)
    h += 360;

  l = (min + max) / 2;

  if (max == min)
    s = 0;
  else if (l <= 0.5)
    s = delta / (max + min);
  else
    s = delta / (2 - max - min);

  return [h, s * 100, l * 100];
}

function rgb2hsv(rgb) {
  var r = rgb[0],
      g = rgb[1],
      b = rgb[2],
      min = Math.min(r, g, b),
      max = Math.max(r, g, b),
      delta = max - min,
      h, s, v;

  if (max == 0)
    s = 0;
  else
    s = (delta/max * 1000)/10;

  if (max == min)
    h = 0;
  else if (r == max)
    h = (g - b) / delta;
  else if (g == max)
    h = 2 + (b - r) / delta;
  else if (b == max)
    h = 4 + (r - g) / delta;

  h = Math.min(h * 60, 360);

  if (h < 0)
    h += 360;

  v = ((max / 255) * 1000) / 10;

  return [h, s, v];
}

function rgb2hwb(rgb) {
  var r = rgb[0],
      g = rgb[1],
      b = rgb[2],
      h = rgb2hsl(rgb)[0],
      w = 1/255 * Math.min(r, Math.min(g, b)),
      b = 1 - 1/255 * Math.max(r, Math.max(g, b));

  return [h, w * 100, b * 100];
}

function rgb2cmyk(rgb) {
  var r = rgb[0] / 255,
      g = rgb[1] / 255,
      b = rgb[2] / 255,
      c, m, y, k;

  k = Math.min(1 - r, 1 - g, 1 - b);
  c = (1 - r - k) / (1 - k) || 0;
  m = (1 - g - k) / (1 - k) || 0;
  y = (1 - b - k) / (1 - k) || 0;
  return [c * 100, m * 100, y * 100, k * 100];
}

function rgb2keyword(rgb) {
  return reverseKeywords[JSON.stringify(rgb)];
}

function rgb2xyz(rgb) {
  var r = rgb[0] / 255,
      g = rgb[1] / 255,
      b = rgb[2] / 255;

  // assume sRGB
  r = r > 0.04045 ? Math.pow(((r + 0.055) / 1.055), 2.4) : (r / 12.92);
  g = g > 0.04045 ? Math.pow(((g + 0.055) / 1.055), 2.4) : (g / 12.92);
  b = b > 0.04045 ? Math.pow(((b + 0.055) / 1.055), 2.4) : (b / 12.92);

  var x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);
  var y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);
  var z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);

  return [x * 100, y *100, z * 100];
}

function rgb2lab(rgb) {
  var xyz = rgb2xyz(rgb),
        x = xyz[0],
        y = xyz[1],
        z = xyz[2],
        l, a, b;

  x /= 95.047;
  y /= 100;
  z /= 108.883;

  x = x > 0.008856 ? Math.pow(x, 1/3) : (7.787 * x) + (16 / 116);
  y = y > 0.008856 ? Math.pow(y, 1/3) : (7.787 * y) + (16 / 116);
  z = z > 0.008856 ? Math.pow(z, 1/3) : (7.787 * z) + (16 / 116);

  l = (116 * y) - 16;
  a = 500 * (x - y);
  b = 200 * (y - z);

  return [l, a, b];
}

function rgb2lch(args) {
  return lab2lch(rgb2lab(args));
}

function hsl2rgb(hsl) {
  var h = hsl[0] / 360,
      s = hsl[1] / 100,
      l = hsl[2] / 100,
      t1, t2, t3, rgb, val;

  if (s == 0) {
    val = l * 255;
    return [val, val, val];
  }

  if (l < 0.5)
    t2 = l * (1 + s);
  else
    t2 = l + s - l * s;
  t1 = 2 * l - t2;

  rgb = [0, 0, 0];
  for (var i = 0; i < 3; i++) {
    t3 = h + 1 / 3 * - (i - 1);
    t3 < 0 && t3++;
    t3 > 1 && t3--;

    if (6 * t3 < 1)
      val = t1 + (t2 - t1) * 6 * t3;
    else if (2 * t3 < 1)
      val = t2;
    else if (3 * t3 < 2)
      val = t1 + (t2 - t1) * (2 / 3 - t3) * 6;
    else
      val = t1;

    rgb[i] = val * 255;
  }

  return rgb;
}

function hsl2hsv(hsl) {
  var h = hsl[0],
      s = hsl[1] / 100,
      l = hsl[2] / 100,
      sv, v;

  if(l === 0) {
      // no need to do calc on black
      // also avoids divide by 0 error
      return [0, 0, 0];
  }

  l *= 2;
  s *= (l <= 1) ? l : 2 - l;
  v = (l + s) / 2;
  sv = (2 * s) / (l + s);
  return [h, sv * 100, v * 100];
}

function hsl2hwb(args) {
  return rgb2hwb(hsl2rgb(args));
}

function hsl2cmyk(args) {
  return rgb2cmyk(hsl2rgb(args));
}

function hsl2keyword(args) {
  return rgb2keyword(hsl2rgb(args));
}


function hsv2rgb(hsv) {
  var h = hsv[0] / 60,
      s = hsv[1] / 100,
      v = hsv[2] / 100,
      hi = Math.floor(h) % 6;

  var f = h - Math.floor(h),
      p = 255 * v * (1 - s),
      q = 255 * v * (1 - (s * f)),
      t = 255 * v * (1 - (s * (1 - f))),
      v = 255 * v;

  switch(hi) {
    case 0:
      return [v, t, p];
    case 1:
      return [q, v, p];
    case 2:
      return [p, v, t];
    case 3:
      return [p, q, v];
    case 4:
      return [t, p, v];
    case 5:
      return [v, p, q];
  }
}

function hsv2hsl(hsv) {
  var h = hsv[0],
      s = hsv[1] / 100,
      v = hsv[2] / 100,
      sl, l;

  l = (2 - s) * v;
  sl = s * v;
  sl /= (l <= 1) ? l : 2 - l;
  sl = sl || 0;
  l /= 2;
  return [h, sl * 100, l * 100];
}

function hsv2hwb(args) {
  return rgb2hwb(hsv2rgb(args))
}

function hsv2cmyk(args) {
  return rgb2cmyk(hsv2rgb(args));
}

function hsv2keyword(args) {
  return rgb2keyword(hsv2rgb(args));
}

// http://dev.w3.org/csswg/css-color/#hwb-to-rgb
function hwb2rgb(hwb) {
  var h = hwb[0] / 360,
      wh = hwb[1] / 100,
      bl = hwb[2] / 100,
      ratio = wh + bl,
      i, v, f, n;

  // wh + bl cant be > 1
  if (ratio > 1) {
    wh /= ratio;
    bl /= ratio;
  }

  i = Math.floor(6 * h);
  v = 1 - bl;
  f = 6 * h - i;
  if ((i & 0x01) != 0) {
    f = 1 - f;
  }
  n = wh + f * (v - wh);  // linear interpolation

  switch (i) {
    default:
    case 6:
    case 0: r = v; g = n; b = wh; break;
    case 1: r = n; g = v; b = wh; break;
    case 2: r = wh; g = v; b = n; break;
    case 3: r = wh; g = n; b = v; break;
    case 4: r = n; g = wh; b = v; break;
    case 5: r = v; g = wh; b = n; break;
  }

  return [r * 255, g * 255, b * 255];
}

function hwb2hsl(args) {
  return rgb2hsl(hwb2rgb(args));
}

function hwb2hsv(args) {
  return rgb2hsv(hwb2rgb(args));
}

function hwb2cmyk(args) {
  return rgb2cmyk(hwb2rgb(args));
}

function hwb2keyword(args) {
  return rgb2keyword(hwb2rgb(args));
}

function cmyk2rgb(cmyk) {
  var c = cmyk[0] / 100,
      m = cmyk[1] / 100,
      y = cmyk[2] / 100,
      k = cmyk[3] / 100,
      r, g, b;

  r = 1 - Math.min(1, c * (1 - k) + k);
  g = 1 - Math.min(1, m * (1 - k) + k);
  b = 1 - Math.min(1, y * (1 - k) + k);
  return [r * 255, g * 255, b * 255];
}

function cmyk2hsl(args) {
  return rgb2hsl(cmyk2rgb(args));
}

function cmyk2hsv(args) {
  return rgb2hsv(cmyk2rgb(args));
}

function cmyk2hwb(args) {
  return rgb2hwb(cmyk2rgb(args));
}

function cmyk2keyword(args) {
  return rgb2keyword(cmyk2rgb(args));
}


function xyz2rgb(xyz) {
  var x = xyz[0] / 100,
      y = xyz[1] / 100,
      z = xyz[2] / 100,
      r, g, b;

  r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);
  g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);
  b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);

  // assume sRGB
  r = r > 0.0031308 ? ((1.055 * Math.pow(r, 1.0 / 2.4)) - 0.055)
    : r = (r * 12.92);

  g = g > 0.0031308 ? ((1.055 * Math.pow(g, 1.0 / 2.4)) - 0.055)
    : g = (g * 12.92);

  b = b > 0.0031308 ? ((1.055 * Math.pow(b, 1.0 / 2.4)) - 0.055)
    : b = (b * 12.92);

  r = Math.min(Math.max(0, r), 1);
  g = Math.min(Math.max(0, g), 1);
  b = Math.min(Math.max(0, b), 1);

  return [r * 255, g * 255, b * 255];
}

function xyz2lab(xyz) {
  var x = xyz[0],
      y = xyz[1],
      z = xyz[2],
      l, a, b;

  x /= 95.047;
  y /= 100;
  z /= 108.883;

  x = x > 0.008856 ? Math.pow(x, 1/3) : (7.787 * x) + (16 / 116);
  y = y > 0.008856 ? Math.pow(y, 1/3) : (7.787 * y) + (16 / 116);
  z = z > 0.008856 ? Math.pow(z, 1/3) : (7.787 * z) + (16 / 116);

  l = (116 * y) - 16;
  a = 500 * (x - y);
  b = 200 * (y - z);

  return [l, a, b];
}

function xyz2lch(args) {
  return lab2lch(xyz2lab(args));
}

function lab2xyz(lab) {
  var l = lab[0],
      a = lab[1],
      b = lab[2],
      x, y, z, y2;

  if (l <= 8) {
    y = (l * 100) / 903.3;
    y2 = (7.787 * (y / 100)) + (16 / 116);
  } else {
    y = 100 * Math.pow((l + 16) / 116, 3);
    y2 = Math.pow(y / 100, 1/3);
  }

  x = x / 95.047 <= 0.008856 ? x = (95.047 * ((a / 500) + y2 - (16 / 116))) / 7.787 : 95.047 * Math.pow((a / 500) + y2, 3);

  z = z / 108.883 <= 0.008859 ? z = (108.883 * (y2 - (b / 200) - (16 / 116))) / 7.787 : 108.883 * Math.pow(y2 - (b / 200), 3);

  return [x, y, z];
}

function lab2lch(lab) {
  var l = lab[0],
      a = lab[1],
      b = lab[2],
      hr, h, c;

  hr = Math.atan2(b, a);
  h = hr * 360 / 2 / Math.PI;
  if (h < 0) {
    h += 360;
  }
  c = Math.sqrt(a * a + b * b);
  return [l, c, h];
}

function lab2rgb(args) {
  return xyz2rgb(lab2xyz(args));
}

function lch2lab(lch) {
  var l = lch[0],
      c = lch[1],
      h = lch[2],
      a, b, hr;

  hr = h / 360 * 2 * Math.PI;
  a = c * Math.cos(hr);
  b = c * Math.sin(hr);
  return [l, a, b];
}

function lch2xyz(args) {
  return lab2xyz(lch2lab(args));
}

function lch2rgb(args) {
  return lab2rgb(lch2lab(args));
}

function keyword2rgb(keyword) {
  return cssKeywords[keyword];
}

function keyword2hsl(args) {
  return rgb2hsl(keyword2rgb(args));
}

function keyword2hsv(args) {
  return rgb2hsv(keyword2rgb(args));
}

function keyword2hwb(args) {
  return rgb2hwb(keyword2rgb(args));
}

function keyword2cmyk(args) {
  return rgb2cmyk(keyword2rgb(args));
}

function keyword2lab(args) {
  return rgb2lab(keyword2rgb(args));
}

function keyword2xyz(args) {
  return rgb2xyz(keyword2rgb(args));
}

var cssKeywords = {
  aliceblue:  [240,248,255],
  antiquewhite: [250,235,215],
  aqua: [0,255,255],
  aquamarine: [127,255,212],
  azure:  [240,255,255],
  beige:  [245,245,220],
  bisque: [255,228,196],
  black:  [0,0,0],
  blanchedalmond: [255,235,205],
  blue: [0,0,255],
  blueviolet: [138,43,226],
  brown:  [165,42,42],
  burlywood:  [222,184,135],
  cadetblue:  [95,158,160],
  chartreuse: [127,255,0],
  chocolate:  [210,105,30],
  coral:  [255,127,80],
  cornflowerblue: [100,149,237],
  cornsilk: [255,248,220],
  crimson:  [220,20,60],
  cyan: [0,255,255],
  darkblue: [0,0,139],
  darkcyan: [0,139,139],
  darkgoldenrod:  [184,134,11],
  darkgray: [169,169,169],
  darkgreen:  [0,100,0],
  darkgrey: [169,169,169],
  darkkhaki:  [189,183,107],
  darkmagenta:  [139,0,139],
  darkolivegreen: [85,107,47],
  darkorange: [255,140,0],
  darkorchid: [153,50,204],
  darkred:  [139,0,0],
  darksalmon: [233,150,122],
  darkseagreen: [143,188,143],
  darkslateblue:  [72,61,139],
  darkslategray:  [47,79,79],
  darkslategrey:  [47,79,79],
  darkturquoise:  [0,206,209],
  darkviolet: [148,0,211],
  deeppink: [255,20,147],
  deepskyblue:  [0,191,255],
  dimgray:  [105,105,105],
  dimgrey:  [105,105,105],
  dodgerblue: [30,144,255],
  firebrick:  [178,34,34],
  floralwhite:  [255,250,240],
  forestgreen:  [34,139,34],
  fuchsia:  [255,0,255],
  gainsboro:  [220,220,220],
  ghostwhite: [248,248,255],
  gold: [255,215,0],
  goldenrod:  [218,165,32],
  gray: [128,128,128],
  green:  [0,128,0],
  greenyellow:  [173,255,47],
  grey: [128,128,128],
  honeydew: [240,255,240],
  hotpink:  [255,105,180],
  indianred:  [205,92,92],
  indigo: [75,0,130],
  ivory:  [255,255,240],
  khaki:  [240,230,140],
  lavender: [230,230,250],
  lavenderblush:  [255,240,245],
  lawngreen:  [124,252,0],
  lemonchiffon: [255,250,205],
  lightblue:  [173,216,230],
  lightcoral: [240,128,128],
  lightcyan:  [224,255,255],
  lightgoldenrodyellow: [250,250,210],
  lightgray:  [211,211,211],
  lightgreen: [144,238,144],
  lightgrey:  [211,211,211],
  lightpink:  [255,182,193],
  lightsalmon:  [255,160,122],
  lightseagreen:  [32,178,170],
  lightskyblue: [135,206,250],
  lightslategray: [119,136,153],
  lightslategrey: [119,136,153],
  lightsteelblue: [176,196,222],
  lightyellow:  [255,255,224],
  lime: [0,255,0],
  limegreen:  [50,205,50],
  linen:  [250,240,230],
  magenta:  [255,0,255],
  maroon: [128,0,0],
  mediumaquamarine: [102,205,170],
  mediumblue: [0,0,205],
  mediumorchid: [186,85,211],
  mediumpurple: [147,112,219],
  mediumseagreen: [60,179,113],
  mediumslateblue:  [123,104,238],
  mediumspringgreen:  [0,250,154],
  mediumturquoise:  [72,209,204],
  mediumvioletred:  [199,21,133],
  midnightblue: [25,25,112],
  mintcream:  [245,255,250],
  mistyrose:  [255,228,225],
  moccasin: [255,228,181],
  navajowhite:  [255,222,173],
  navy: [0,0,128],
  oldlace:  [253,245,230],
  olive:  [128,128,0],
  olivedrab:  [107,142,35],
  orange: [255,165,0],
  orangered:  [255,69,0],
  orchid: [218,112,214],
  palegoldenrod:  [238,232,170],
  palegreen:  [152,251,152],
  paleturquoise:  [175,238,238],
  palevioletred:  [219,112,147],
  papayawhip: [255,239,213],
  peachpuff:  [255,218,185],
  peru: [205,133,63],
  pink: [255,192,203],
  plum: [221,160,221],
  powderblue: [176,224,230],
  purple: [128,0,128],
  rebeccapurple: [102, 51, 153],
  red:  [255,0,0],
  rosybrown:  [188,143,143],
  royalblue:  [65,105,225],
  saddlebrown:  [139,69,19],
  salmon: [250,128,114],
  sandybrown: [244,164,96],
  seagreen: [46,139,87],
  seashell: [255,245,238],
  sienna: [160,82,45],
  silver: [192,192,192],
  skyblue:  [135,206,235],
  slateblue:  [106,90,205],
  slategray:  [112,128,144],
  slategrey:  [112,128,144],
  snow: [255,250,250],
  springgreen:  [0,255,127],
  steelblue:  [70,130,180],
  tan:  [210,180,140],
  teal: [0,128,128],
  thistle:  [216,191,216],
  tomato: [255,99,71],
  turquoise:  [64,224,208],
  violet: [238,130,238],
  wheat:  [245,222,179],
  white:  [255,255,255],
  whitesmoke: [245,245,245],
  yellow: [255,255,0],
  yellowgreen:  [154,205,50]
};

var reverseKeywords = {};
for (var key in cssKeywords) {
  reverseKeywords[JSON.stringify(cssKeywords[key])] = key;
}

},{}],5:[function(require,module,exports){
var conversions = require(4);

var convert = function() {
   return new Converter();
}

for (var func in conversions) {
  // export Raw versions
  convert[func + "Raw"] =  (function(func) {
    // accept array or plain args
    return function(arg) {
      if (typeof arg == "number")
        arg = Array.prototype.slice.call(arguments);
      return conversions[func](arg);
    }
  })(func);

  var pair = /(\w+)2(\w+)/.exec(func),
      from = pair[1],
      to = pair[2];

  // export rgb2hsl and ["rgb"]["hsl"]
  convert[from] = convert[from] || {};

  convert[from][to] = convert[func] = (function(func) {
    return function(arg) {
      if (typeof arg == "number")
        arg = Array.prototype.slice.call(arguments);

      var val = conversions[func](arg);
      if (typeof val == "string" || val === undefined)
        return val; // keyword

      for (var i = 0; i < val.length; i++)
        val[i] = Math.round(val[i]);
      return val;
    }
  })(func);
}


/* Converter does lazy conversion and caching */
var Converter = function() {
   this.convs = {};
};

/* Either get the values for a space or
  set the values for a space, depending on args */
Converter.prototype.routeSpace = function(space, args) {
   var values = args[0];
   if (values === undefined) {
      // color.rgb()
      return this.getValues(space);
   }
   // color.rgb(10, 10, 10)
   if (typeof values == "number") {
      values = Array.prototype.slice.call(args);
   }

   return this.setValues(space, values);
};

/* Set the values for a space, invalidating cache */
Converter.prototype.setValues = function(space, values) {
   this.space = space;
   this.convs = {};
   this.convs[space] = values;
   return this;
};

/* Get the values for a space. If there's already
  a conversion for the space, fetch it, otherwise
  compute it */
Converter.prototype.getValues = function(space) {
   var vals = this.convs[space];
   if (!vals) {
      var fspace = this.space,
          from = this.convs[fspace];
      vals = convert[fspace][space](from);

      this.convs[space] = vals;
   }
  return vals;
};

["rgb", "hsl", "hsv", "cmyk", "keyword"].forEach(function(space) {
   Converter.prototype[space] = function(vals) {
      return this.routeSpace(space, arguments);
   }
});

module.exports = convert;
},{"4":4}],6:[function(require,module,exports){
'use strict'

module.exports = {
	"aliceblue": [240, 248, 255],
	"antiquewhite": [250, 235, 215],
	"aqua": [0, 255, 255],
	"aquamarine": [127, 255, 212],
	"azure": [240, 255, 255],
	"beige": [245, 245, 220],
	"bisque": [255, 228, 196],
	"black": [0, 0, 0],
	"blanchedalmond": [255, 235, 205],
	"blue": [0, 0, 255],
	"blueviolet": [138, 43, 226],
	"brown": [165, 42, 42],
	"burlywood": [222, 184, 135],
	"cadetblue": [95, 158, 160],
	"chartreuse": [127, 255, 0],
	"chocolate": [210, 105, 30],
	"coral": [255, 127, 80],
	"cornflowerblue": [100, 149, 237],
	"cornsilk": [255, 248, 220],
	"crimson": [220, 20, 60],
	"cyan": [0, 255, 255],
	"darkblue": [0, 0, 139],
	"darkcyan": [0, 139, 139],
	"darkgoldenrod": [184, 134, 11],
	"darkgray": [169, 169, 169],
	"darkgreen": [0, 100, 0],
	"darkgrey": [169, 169, 169],
	"darkkhaki": [189, 183, 107],
	"darkmagenta": [139, 0, 139],
	"darkolivegreen": [85, 107, 47],
	"darkorange": [255, 140, 0],
	"darkorchid": [153, 50, 204],
	"darkred": [139, 0, 0],
	"darksalmon": [233, 150, 122],
	"darkseagreen": [143, 188, 143],
	"darkslateblue": [72, 61, 139],
	"darkslategray": [47, 79, 79],
	"darkslategrey": [47, 79, 79],
	"darkturquoise": [0, 206, 209],
	"darkviolet": [148, 0, 211],
	"deeppink": [255, 20, 147],
	"deepskyblue": [0, 191, 255],
	"dimgray": [105, 105, 105],
	"dimgrey": [105, 105, 105],
	"dodgerblue": [30, 144, 255],
	"firebrick": [178, 34, 34],
	"floralwhite": [255, 250, 240],
	"forestgreen": [34, 139, 34],
	"fuchsia": [255, 0, 255],
	"gainsboro": [220, 220, 220],
	"ghostwhite": [248, 248, 255],
	"gold": [255, 215, 0],
	"goldenrod": [218, 165, 32],
	"gray": [128, 128, 128],
	"green": [0, 128, 0],
	"greenyellow": [173, 255, 47],
	"grey": [128, 128, 128],
	"honeydew": [240, 255, 240],
	"hotpink": [255, 105, 180],
	"indianred": [205, 92, 92],
	"indigo": [75, 0, 130],
	"ivory": [255, 255, 240],
	"khaki": [240, 230, 140],
	"lavender": [230, 230, 250],
	"lavenderblush": [255, 240, 245],
	"lawngreen": [124, 252, 0],
	"lemonchiffon": [255, 250, 205],
	"lightblue": [173, 216, 230],
	"lightcoral": [240, 128, 128],
	"lightcyan": [224, 255, 255],
	"lightgoldenrodyellow": [250, 250, 210],
	"lightgray": [211, 211, 211],
	"lightgreen": [144, 238, 144],
	"lightgrey": [211, 211, 211],
	"lightpink": [255, 182, 193],
	"lightsalmon": [255, 160, 122],
	"lightseagreen": [32, 178, 170],
	"lightskyblue": [135, 206, 250],
	"lightslategray": [119, 136, 153],
	"lightslategrey": [119, 136, 153],
	"lightsteelblue": [176, 196, 222],
	"lightyellow": [255, 255, 224],
	"lime": [0, 255, 0],
	"limegreen": [50, 205, 50],
	"linen": [250, 240, 230],
	"magenta": [255, 0, 255],
	"maroon": [128, 0, 0],
	"mediumaquamarine": [102, 205, 170],
	"mediumblue": [0, 0, 205],
	"mediumorchid": [186, 85, 211],
	"mediumpurple": [147, 112, 219],
	"mediumseagreen": [60, 179, 113],
	"mediumslateblue": [123, 104, 238],
	"mediumspringgreen": [0, 250, 154],
	"mediumturquoise": [72, 209, 204],
	"mediumvioletred": [199, 21, 133],
	"midnightblue": [25, 25, 112],
	"mintcream": [245, 255, 250],
	"mistyrose": [255, 228, 225],
	"moccasin": [255, 228, 181],
	"navajowhite": [255, 222, 173],
	"navy": [0, 0, 128],
	"oldlace": [253, 245, 230],
	"olive": [128, 128, 0],
	"olivedrab": [107, 142, 35],
	"orange": [255, 165, 0],
	"orangered": [255, 69, 0],
	"orchid": [218, 112, 214],
	"palegoldenrod": [238, 232, 170],
	"palegreen": [152, 251, 152],
	"paleturquoise": [175, 238, 238],
	"palevioletred": [219, 112, 147],
	"papayawhip": [255, 239, 213],
	"peachpuff": [255, 218, 185],
	"peru": [205, 133, 63],
	"pink": [255, 192, 203],
	"plum": [221, 160, 221],
	"powderblue": [176, 224, 230],
	"purple": [128, 0, 128],
	"rebeccapurple": [102, 51, 153],
	"red": [255, 0, 0],
	"rosybrown": [188, 143, 143],
	"royalblue": [65, 105, 225],
	"saddlebrown": [139, 69, 19],
	"salmon": [250, 128, 114],
	"sandybrown": [244, 164, 96],
	"seagreen": [46, 139, 87],
	"seashell": [255, 245, 238],
	"sienna": [160, 82, 45],
	"silver": [192, 192, 192],
	"skyblue": [135, 206, 235],
	"slateblue": [106, 90, 205],
	"slategray": [112, 128, 144],
	"slategrey": [112, 128, 144],
	"snow": [255, 250, 250],
	"springgreen": [0, 255, 127],
	"steelblue": [70, 130, 180],
	"tan": [210, 180, 140],
	"teal": [0, 128, 128],
	"thistle": [216, 191, 216],
	"tomato": [255, 99, 71],
	"turquoise": [64, 224, 208],
	"violet": [238, 130, 238],
	"wheat": [245, 222, 179],
	"white": [255, 255, 255],
	"whitesmoke": [245, 245, 245],
	"yellow": [255, 255, 0],
	"yellowgreen": [154, 205, 50]
};

},{}],7:[function(require,module,exports){
/**
 * @namespace Chart
 */
var Chart = require(29)();

Chart.helpers = require(45);

// @todo dispatch these helpers into appropriated helpers/helpers.* file and write unit tests!
require(27)(Chart);

Chart.defaults = require(25);
Chart.Element = require(26);
Chart.elements = require(40);
Chart.Interaction = require(28);
Chart.platform = require(48);

require(31)(Chart);
require(22)(Chart);
require(23)(Chart);
require(24)(Chart);
require(30)(Chart);
require(33)(Chart);
require(32)(Chart);
require(35)(Chart);

require(54)(Chart);
require(52)(Chart);
require(53)(Chart);
require(55)(Chart);
require(56)(Chart);
require(57)(Chart);

// Controllers must be loaded after elements
// See Chart.core.datasetController.dataElementType
require(15)(Chart);
require(16)(Chart);
require(17)(Chart);
require(18)(Chart);
require(19)(Chart);
require(20)(Chart);
require(21)(Chart);

require(8)(Chart);
require(9)(Chart);
require(10)(Chart);
require(11)(Chart);
require(12)(Chart);
require(13)(Chart);
require(14)(Chart);

// Loading built-it plugins
var plugins = [];

plugins.push(
	require(49)(Chart),
	require(50)(Chart),
	require(51)(Chart)
);

Chart.plugins.register(plugins);

Chart.platform.initialize();

module.exports = Chart;
if (typeof window !== 'undefined') {
	window.Chart = Chart;
}

// DEPRECATIONS

/**
 * Provided for backward compatibility, use Chart.helpers.canvas instead.
 * @namespace Chart.canvasHelpers
 * @deprecated since version 2.6.0
 * @todo remove at version 3
 * @private
 */
Chart.canvasHelpers = Chart.helpers.canvas;

},{"10":10,"11":11,"12":12,"13":13,"14":14,"15":15,"16":16,"17":17,"18":18,"19":19,"20":20,"21":21,"22":22,"23":23,"24":24,"25":25,"26":26,"27":27,"28":28,"29":29,"30":30,"31":31,"32":32,"33":33,"35":35,"40":40,"45":45,"48":48,"49":49,"50":50,"51":51,"52":52,"53":53,"54":54,"55":55,"56":56,"57":57,"8":8,"9":9}],8:[function(require,module,exports){
'use strict';

module.exports = function(Chart) {

	Chart.Bar = function(context, config) {
		config.type = 'bar';

		return new Chart(context, config);
	};

};

},{}],9:[function(require,module,exports){
'use strict';

module.exports = function(Chart) {

	Chart.Bubble = function(context, config) {
		config.type = 'bubble';
		return new Chart(context, config);
	};

};

},{}],10:[function(require,module,exports){
'use strict';

module.exports = function(Chart) {

	Chart.Doughnut = function(context, config) {
		config.type = 'doughnut';

		return new Chart(context, config);
	};

};

},{}],11:[function(require,module,exports){
'use strict';

module.exports = function(Chart) {

	Chart.Line = function(context, config) {
		config.type = 'line';

		return new Chart(context, config);
	};

};

},{}],12:[function(require,module,exports){
'use strict';

module.exports = function(Chart) {

	Chart.PolarArea = function(context, config) {
		config.type = 'polarArea';

		return new Chart(context, config);
	};

};

},{}],13:[function(require,module,exports){
'use strict';

module.exports = function(Chart) {

	Chart.Radar = function(context, config) {
		config.type = 'radar';

		return new Chart(context, config);
	};

};

},{}],14:[function(require,module,exports){
'use strict';

module.exports = function(Chart) {
	Chart.Scatter = function(context, config) {
		config.type = 'scatter';
		return new Chart(context, config);
	};
};

},{}],15:[function(require,module,exports){
'use strict';

var defaults = require(25);
var elements = require(40);
var helpers = require(45);

defaults._set('bar', {
	hover: {
		mode: 'label'
	},

	scales: {
		xAxes: [{
			type: 'category',

			// Specific to Bar Controller
			categoryPercentage: 0.8,
			barPercentage: 0.9,

			// offset settings
			offset: true,

			// grid line settings
			gridLines: {
				offsetGridLines: true
			}
		}],

		yAxes: [{
			type: 'linear'
		}]
	}
});

defaults._set('horizontalBar', {
	hover: {
		mode: 'index',
		axis: 'y'
	},

	scales: {
		xAxes: [{
			type: 'linear',
			position: 'bottom'
		}],

		yAxes: [{
			position: 'left',
			type: 'category',

			// Specific to Horizontal Bar Controller
			categoryPercentage: 0.8,
			barPercentage: 0.9,

			// offset settings
			offset: true,

			// grid line settings
			gridLines: {
				offsetGridLines: true
			}
		}]
	},

	elements: {
		rectangle: {
			borderSkipped: 'left'
		}
	},

	tooltips: {
		callbacks: {
			title: function(item, data) {
				// Pick first xLabel for now
				var title = '';

				if (item.length > 0) {
					if (item[0].yLabel) {
						title = item[0].yLabel;
					} else if (data.labels.length > 0 && item[0].index < data.labels.length) {
						title = data.labels[item[0].index];
					}
				}

				return title;
			},

			label: function(item, data) {
				var datasetLabel = data.datasets[item.datasetIndex].label || '';
				return datasetLabel + ': ' + item.xLabel;
			}
		},
		mode: 'index',
		axis: 'y'
	}
});

module.exports = function(Chart) {

	Chart.controllers.bar = Chart.DatasetController.extend({

		dataElementType: elements.Rectangle,

		initialize: function() {
			var me = this;
			var meta;

			Chart.DatasetController.prototype.initialize.apply(me, arguments);

			meta = me.getMeta();
			meta.stack = me.getDataset().stack;
			meta.bar = true;
		},

		update: function(reset) {
			var me = this;
			var rects = me.getMeta().data;
			var i, ilen;

			me._ruler = me.getRuler();

			for (i = 0, ilen = rects.length; i < ilen; ++i) {
				me.updateElement(rects[i], i, reset);
			}
		},

		updateElement: function(rectangle, index, reset) {
			var me = this;
			var chart = me.chart;
			var meta = me.getMeta();
			var dataset = me.getDataset();
			var custom = rectangle.custom || {};
			var rectangleOptions = chart.options.elements.rectangle;

			rectangle._xScale = me.getScaleForId(meta.xAxisID);
			rectangle._yScale = me.getScaleForId(meta.yAxisID);
			rectangle._datasetIndex = me.index;
			rectangle._index = index;

			rectangle._model = {
				datasetLabel: dataset.label,
				label: chart.data.labels[index],
				borderSkipped: custom.borderSkipped ? custom.borderSkipped : rectangleOptions.borderSkipped,
				backgroundColor: custom.backgroundColor ? custom.backgroundColor : helpers.valueAtIndexOrDefault(dataset.backgroundColor, index, rectangleOptions.backgroundColor),
				borderColor: custom.borderColor ? custom.borderColor : helpers.valueAtIndexOrDefault(dataset.borderColor, index, rectangleOptions.borderColor),
				borderWidth: custom.borderWidth ? custom.borderWidth : helpers.valueAtIndexOrDefault(dataset.borderWidth, index, rectangleOptions.borderWidth)
			};

			me.updateElementGeometry(rectangle, index, reset);

			rectangle.pivot();
		},

		/**
		 * @private
		 */
		updateElementGeometry: function(rectangle, index, reset) {
			var me = this;
			var model = rectangle._model;
			var vscale = me.getValueScale();
			var base = vscale.getBasePixel();
			var horizontal = vscale.isHorizontal();
			var ruler = me._ruler || me.getRuler();
			var vpixels = me.calculateBarValuePixels(me.index, index);
			var ipixels = me.calculateBarIndexPixels(me.index, index, ruler);

			model.horizontal = horizontal;
			model.base = reset ? base : vpixels.base;
			model.x = horizontal ? reset ? base : vpixels.head : ipixels.center;
			model.y = horizontal ? ipixels.center : reset ? base : vpixels.head;
			model.height = horizontal ? ipixels.size : undefined;
			model.width = horizontal ? undefined : ipixels.size;
		},

		/**
		 * @private
		 */
		getValueScaleId: function() {
			return this.getMeta().yAxisID;
		},

		/**
		 * @private
		 */
		getIndexScaleId: function() {
			return this.getMeta().xAxisID;
		},

		/**
		 * @private
		 */
		getValueScale: function() {
			return this.getScaleForId(this.getValueScaleId());
		},

		/**
		 * @private
		 */
		getIndexScale: function() {
			return this.getScaleForId(this.getIndexScaleId());
		},

		/**
		 * Returns the effective number of stacks based on groups and bar visibility.
		 * @private
		 */
		getStackCount: function(last) {
			var me = this;
			var chart = me.chart;
			var scale = me.getIndexScale();
			var stacked = scale.options.stacked;
			var ilen = last === undefined ? chart.data.datasets.length : last + 1;
			var stacks = [];
			var i, meta;

			for (i = 0; i < ilen; ++i) {
				meta = chart.getDatasetMeta(i);
				if (meta.bar && chart.isDatasetVisible(i) &&
					(stacked === false ||
					(stacked === true && stacks.indexOf(meta.stack) === -1) ||
					(stacked === undefined && (meta.stack === undefined || stacks.indexOf(meta.stack) === -1)))) {
					stacks.push(meta.stack);
				}
			}

			return stacks.length;
		},

		/**
		 * Returns the stack index for the given dataset based on groups and bar visibility.
		 * @private
		 */
		getStackIndex: function(datasetIndex) {
			return this.getStackCount(datasetIndex) - 1;
		},

		/**
		 * @private
		 */
		getRuler: function() {
			var me = this;
			var scale = me.getIndexScale();
			var stackCount = me.getStackCount();
			var datasetIndex = me.index;
			var pixels = [];
			var isHorizontal = scale.isHorizontal();
			var start = isHorizontal ? scale.left : scale.top;
			var end = start + (isHorizontal ? scale.width : scale.height);
			var i, ilen;

			for (i = 0, ilen = me.getMeta().data.length; i < ilen; ++i) {
				pixels.push(scale.getPixelForValue(null, i, datasetIndex));
			}

			return {
				pixels: pixels,
				start: start,
				end: end,
				stackCount: stackCount,
				scale: scale
			};
		},

		/**
		 * Note: pixel values are not clamped to the scale area.
		 * @private
		 */
		calculateBarValuePixels: function(datasetIndex, index) {
			var me = this;
			var chart = me.chart;
			var meta = me.getMeta();
			var scale = me.getValueScale();
			var datasets = chart.data.datasets;
			var value = scale.getRightValue(datasets[datasetIndex].data[index]);
			var stacked = scale.options.stacked;
			var stack = meta.stack;
			var start = 0;
			var i, imeta, ivalue, base, head, size;

			if (stacked || (stacked === undefined && stack !== undefined)) {
				for (i = 0; i < datasetIndex; ++i) {
					imeta = chart.getDatasetMeta(i);

					if (imeta.bar &&
						imeta.stack === stack &&
						imeta.controller.getValueScaleId() === scale.id &&
						chart.isDatasetVisible(i)) {

						ivalue = scale.getRightValue(datasets[i].data[index]);
						if ((value < 0 && ivalue < 0) || (value >= 0 && ivalue > 0)) {
							start += ivalue;
						}
					}
				}
			}

			base = scale.getPixelForValue(start);
			head = scale.getPixelForValue(start + value);
			size = (head - base) / 2;

			return {
				size: size,
				base: base,
				head: head,
				center: head + size / 2
			};
		},

		/**
		 * @private
		 */
		calculateBarIndexPixels: function(datasetIndex, index, ruler) {
			var me = this;
			var options = ruler.scale.options;
			var stackIndex = me.getStackIndex(datasetIndex);
			var pixels = ruler.pixels;
			var base = pixels[index];
			var length = pixels.length;
			var start = ruler.start;
			var end = ruler.end;
			var leftSampleSize, rightSampleSize, leftCategorySize, rightCategorySize, fullBarSize, size;

			if (length === 1) {
				leftSampleSize = base > start ? base - start : end - base;
				rightSampleSize = base < end ? end - base : base - start;
			} else {
				if (index > 0) {
					leftSampleSize = (base - pixels[index - 1]) / 2;
					if (index === length - 1) {
						rightSampleSize = leftSampleSize;
					}
				}
				if (index < length - 1) {
					rightSampleSize = (pixels[index + 1] - base) / 2;
					if (index === 0) {
						leftSampleSize = rightSampleSize;
					}
				}
			}

			leftCategorySize = leftSampleSize * options.categoryPercentage;
			rightCategorySize = rightSampleSize * options.categoryPercentage;
			fullBarSize = (leftCategorySize + rightCategorySize) / ruler.stackCount;
			size = fullBarSize * options.barPercentage;

			size = Math.min(
				helpers.valueOrDefault(options.barThickness, size),
				helpers.valueOrDefault(options.maxBarThickness, Infinity));

			base -= leftCategorySize;
			base += fullBarSize * stackIndex;
			base += (fullBarSize - size) / 2;

			return {
				size: size,
				base: base,
				head: base + size,
				center: base + size / 2
			};
		},

		draw: function() {
			var me = this;
			var chart = me.chart;
			var scale = me.getValueScale();
			var rects = me.getMeta().data;
			var dataset = me.getDataset();
			var ilen = rects.length;
			var i = 0;

			helpers.canvas.clipArea(chart.ctx, chart.chartArea);

			for (; i < ilen; ++i) {
				if (!isNaN(scale.getRightValue(dataset.data[i]))) {
					rects[i].draw();
				}
			}

			helpers.canvas.unclipArea(chart.ctx);
		},

		setHoverStyle: function(rectangle) {
			var dataset = this.chart.data.datasets[rectangle._datasetIndex];
			var index = rectangle._index;
			var custom = rectangle.custom || {};
			var model = rectangle._model;

			model.backgroundColor = custom.hoverBackgroundColor ? custom.hoverBackgroundColor : helpers.valueAtIndexOrDefault(dataset.hoverBackgroundColor, index, helpers.getHoverColor(model.backgroundColor));
			model.borderColor = custom.hoverBorderColor ? custom.hoverBorderColor : helpers.valueAtIndexOrDefault(dataset.hoverBorderColor, index, helpers.getHoverColor(model.borderColor));
			model.borderWidth = custom.hoverBorderWidth ? custom.hoverBorderWidth : helpers.valueAtIndexOrDefault(dataset.hoverBorderWidth, index, model.borderWidth);
		},

		removeHoverStyle: function(rectangle) {
			var dataset = this.chart.data.datasets[rectangle._datasetIndex];
			var index = rectangle._index;
			var custom = rectangle.custom || {};
			var model = rectangle._model;
			var rectangleElementOptions = this.chart.options.elements.rectangle;

			model.backgroundColor = custom.backgroundColor ? custom.backgroundColor : helpers.valueAtIndexOrDefault(dataset.backgroundColor, index, rectangleElementOptions.backgroundColor);
			model.borderColor = custom.borderColor ? custom.borderColor : helpers.valueAtIndexOrDefault(dataset.borderColor, index, rectangleElementOptions.borderColor);
			model.borderWidth = custom.borderWidth ? custom.borderWidth : helpers.valueAtIndexOrDefault(dataset.borderWidth, index, rectangleElementOptions.borderWidth);
		}
	});

	Chart.controllers.horizontalBar = Chart.controllers.bar.extend({
		/**
		 * @private
		 */
		getValueScaleId: function() {
			return this.getMeta().xAxisID;
		},

		/**
		 * @private
		 */
		getIndexScaleId: function() {
			return this.getMeta().yAxisID;
		}
	});
};

},{"25":25,"40":40,"45":45}],16:[function(require,module,exports){
'use strict';

var defaults = require(25);
var elements = require(40);
var helpers = require(45);

defaults._set('bubble', {
	hover: {
		mode: 'single'
	},

	scales: {
		xAxes: [{
			type: 'linear', // bubble should probably use a linear scale by default
			position: 'bottom',
			id: 'x-axis-0' // need an ID so datasets can reference the scale
		}],
		yAxes: [{
			type: 'linear',
			position: 'left',
			id: 'y-axis-0'
		}]
	},

	tooltips: {
		callbacks: {
			title: function() {
				// Title doesn't make sense for scatter since we format the data as a point
				return '';
			},
			label: function(item, data) {
				var datasetLabel = data.datasets[item.datasetIndex].label || '';
				var dataPoint = data.datasets[item.datasetIndex].data[item.index];
				return datasetLabel + ': (' + item.xLabel + ', ' + item.yLabel + ', ' + dataPoint.r + ')';
			}
		}
	}
});


module.exports = function(Chart) {

	Chart.controllers.bubble = Chart.DatasetController.extend({
		/**
		 * @protected
		 */
		dataElementType: elements.Point,

		/**
		 * @protected
		 */
		update: function(reset) {
			var me = this;
			var meta = me.getMeta();
			var points = meta.data;

			// Update Points
			helpers.each(points, function(point, index) {
				me.updateElement(point, index, reset);
			});
		},

		/**
		 * @protected
		 */
		updateElement: function(point, index, reset) {
			var me = this;
			var meta = me.getMeta();
			var custom = point.custom || {};
			var xScale = me.getScaleForId(meta.xAxisID);
			var yScale = me.getScaleForId(meta.yAxisID);
			var options = me._resolveElementOptions(point, index);
			var data = me.getDataset().data[index];
			var dsIndex = me.index;

			var x = reset ? xScale.getPixelForDecimal(0.5) : xScale.getPixelForValue(typeof data === 'object' ? data : NaN, index, dsIndex);
			var y = reset ? yScale.getBasePixel() : yScale.getPixelForValue(data, index, dsIndex);

			point._xScale = xScale;
			point._yScale = yScale;
			point._options = options;
			point._datasetIndex = dsIndex;
			point._index = index;
			point._model = {
				backgroundColor: options.backgroundColor,
				borderColor: options.borderColor,
				borderWidth: options.borderWidth,
				hitRadius: options.hitRadius,
				pointStyle: options.pointStyle,
				radius: reset ? 0 : options.radius,
				skip: custom.skip || isNaN(x) || isNaN(y),
				x: x,
				y: y,
			};

			point.pivot();
		},

		/**
		 * @protected
		 */
		setHoverStyle: function(point) {
			var model = point._model;
			var options = point._options;

			model.backgroundColor = helpers.valueOrDefault(options.hoverBackgroundColor, helpers.getHoverColor(options.backgroundColor));
			model.borderColor = helpers.valueOrDefault(options.hoverBorderColor, helpers.getHoverColor(options.borderColor));
			model.borderWidth = helpers.valueOrDefault(options.hoverBorderWidth, options.borderWidth);
			model.radius = options.radius + options.hoverRadius;
		},

		/**
		 * @protected
		 */
		removeHoverStyle: function(point) {
			var model = point._model;
			var options = point._options;

			model.backgroundColor = options.backgroundColor;
			model.borderColor = options.borderColor;
			model.borderWidth = options.borderWidth;
			model.radius = options.radius;
		},

		/**
		 * @private
		 */
		_resolveElementOptions: function(point, index) {
			var me = this;
			var chart = me.chart;
			var datasets = chart.data.datasets;
			var dataset = datasets[me.index];
			var custom = point.custom || {};
			var options = chart.options.elements.point;
			var resolve = helpers.options.resolve;
			var data = dataset.data[index];
			var values = {};
			var i, ilen, key;

			// Scriptable options
			var context = {
				chart: chart,
				dataIndex: index,
				dataset: dataset,
				datasetIndex: me.index
			};

			var keys = [
				'backgroundColor',
				'borderColor',
				'borderWidth',
				'hoverBackgroundColor',
				'hoverBorderColor',
				'hoverBorderWidth',
				'hoverRadius',
				'hitRadius',
				'pointStyle'
			];

			for (i = 0, ilen = keys.length; i < ilen; ++i) {
				key = keys[i];
				values[key] = resolve([
					custom[key],
					dataset[key],
					options[key]
				], context, index);
			}

			// Custom radius resolution
			values.radius = resolve([
				custom.radius,
				data ? data.r : undefined,
				dataset.radius,
				options.radius
			], context, index);

			return values;
		}
	});
};

},{"25":25,"40":40,"45":45}],17:[function(require,module,exports){
'use strict';

var defaults = require(25);
var elements = require(40);
var helpers = require(45);

defaults._set('doughnut', {
	animation: {
		// Boolean - Whether we animate the rotation of the Doughnut
		animateRotate: true,
		// Boolean - Whether we animate scaling the Doughnut from the centre
		animateScale: false
	},
	hover: {
		mode: 'single'
	},
	legendCallback: function(chart) {
		var text = [];
		text.push('<ul class="' + chart.id + '-legend">');

		var data = chart.data;
		var datasets = data.datasets;
		var labels = data.labels;

		if (datasets.length) {
			for (var i = 0; i < datasets[0].data.length; ++i) {
				text.push('<li><span style="background-color:' + datasets[0].backgroundColor[i] + '"></span>');
				if (labels[i]) {
					text.push(labels[i]);
				}
				text.push('</li>');
			}
		}

		text.push('</ul>');
		return text.join('');
	},
	legend: {
		labels: {
			generateLabels: function(chart) {
				var data = chart.data;
				if (data.labels.length && data.datasets.length) {
					return data.labels.map(function(label, i) {
						var meta = chart.getDatasetMeta(0);
						var ds = data.datasets[0];
						var arc = meta.data[i];
						var custom = arc && arc.custom || {};
						var valueAtIndexOrDefault = helpers.valueAtIndexOrDefault;
						var arcOpts = chart.options.elements.arc;
						var fill = custom.backgroundColor ? custom.backgroundColor : valueAtIndexOrDefault(ds.backgroundColor, i, arcOpts.backgroundColor);
						var stroke = custom.borderColor ? custom.borderColor : valueAtIndexOrDefault(ds.borderColor, i, arcOpts.borderColor);
						var bw = custom.borderWidth ? custom.borderWidth : valueAtIndexOrDefault(ds.borderWidth, i, arcOpts.borderWidth);

						return {
							text: label,
							fillStyle: fill,
							strokeStyle: stroke,
							lineWidth: bw,
							hidden: isNaN(ds.data[i]) || meta.data[i].hidden,

							// Extra data used for toggling the correct item
							index: i
						};
					});
				}
				return [];
			}
		},

		onClick: function(e, legendItem) {
			var index = legendItem.index;
			var chart = this.chart;
			var i, ilen, meta;

			for (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {
				meta = chart.getDatasetMeta(i);
				// toggle visibility of index if exists
				if (meta.data[index]) {
					meta.data[index].hidden = !meta.data[index].hidden;
				}
			}

			chart.update();
		}
	},

	// The percentage of the chart that we cut out of the middle.
	cutoutPercentage: 50,

	// The rotation of the chart, where the first data arc begins.
	rotation: Math.PI * -0.5,

	// The total circumference of the chart.
	circumference: Math.PI * 2.0,

	// Need to override these to give a nice default
	tooltips: {
		callbacks: {
			title: function() {
				return '';
			},
			label: function(tooltipItem, data) {
				var dataLabel = data.labels[tooltipItem.index];
				var value = ': ' + data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index];

				if (helpers.isArray(dataLabel)) {
					// show value on first line of multiline label
					// need to clone because we are changing the value
					dataLabel = dataLabel.slice();
					dataLabel[0] += value;
				} else {
					dataLabel += value;
				}

				return dataLabel;
			}
		}
	}
});

defaults._set('pie', helpers.clone(defaults.doughnut));
defaults._set('pie', {
	cutoutPercentage: 0
});

module.exports = function(Chart) {

	Chart.controllers.doughnut = Chart.controllers.pie = Chart.DatasetController.extend({

		dataElementType: elements.Arc,

		linkScales: helpers.noop,

		// Get index of the dataset in relation to the visible datasets. This allows determining the inner and outer radius correctly
		getRingIndex: function(datasetIndex) {
			var ringIndex = 0;

			for (var j = 0; j < datasetIndex; ++j) {
				if (this.chart.isDatasetVisible(j)) {
					++ringIndex;
				}
			}

			return ringIndex;
		},

		update: function(reset) {
			var me = this;
			var chart = me.chart;
			var chartArea = chart.chartArea;
			var opts = chart.options;
			var arcOpts = opts.elements.arc;
			var availableWidth = chartArea.right - chartArea.left - arcOpts.borderWidth;
			var availableHeight = chartArea.bottom - chartArea.top - arcOpts.borderWidth;
			var minSize = Math.min(availableWidth, availableHeight);
			var offset = {x: 0, y: 0};
			var meta = me.getMeta();
			var cutoutPercentage = opts.cutoutPercentage;
			var circumference = opts.circumference;

			// If the chart's circumference isn't a full circle, calculate minSize as a ratio of the width/height of the arc
			if (circumference < Math.PI * 2.0) {
				var startAngle = opts.rotation % (Math.PI * 2.0);
				startAngle += Math.PI * 2.0 * (startAngle >= Math.PI ? -1 : startAngle < -Math.PI ? 1 : 0);
				var endAngle = startAngle + circumference;
				var start = {x: Math.cos(startAngle), y: Math.sin(startAngle)};
				var end = {x: Math.cos(endAngle), y: Math.sin(endAngle)};
				var contains0 = (startAngle <= 0 && endAngle >= 0) || (startAngle <= Math.PI * 2.0 && Math.PI * 2.0 <= endAngle);
				var contains90 = (startAngle <= Math.PI * 0.5 && Math.PI * 0.5 <= endAngle) || (startAngle <= Math.PI * 2.5 && Math.PI * 2.5 <= endAngle);
				var contains180 = (startAngle <= -Math.PI && -Math.PI <= endAngle) || (startAngle <= Math.PI && Math.PI <= endAngle);
				var contains270 = (startAngle <= -Math.PI * 0.5 && -Math.PI * 0.5 <= endAngle) || (startAngle <= Math.PI * 1.5 && Math.PI * 1.5 <= endAngle);
				var cutout = cutoutPercentage / 100.0;
				var min = {x: contains180 ? -1 : Math.min(start.x * (start.x < 0 ? 1 : cutout), end.x * (end.x < 0 ? 1 : cutout)), y: contains270 ? -1 : Math.min(start.y * (start.y < 0 ? 1 : cutout), end.y * (end.y < 0 ? 1 : cutout))};
				var max = {x: contains0 ? 1 : Math.max(start.x * (start.x > 0 ? 1 : cutout), end.x * (end.x > 0 ? 1 : cutout)), y: contains90 ? 1 : Math.max(start.y * (start.y > 0 ? 1 : cutout), end.y * (end.y > 0 ? 1 : cutout))};
				var size = {width: (max.x - min.x) * 0.5, height: (max.y - min.y) * 0.5};
				minSize = Math.min(availableWidth / size.width, availableHeight / size.height);
				offset = {x: (max.x + min.x) * -0.5, y: (max.y + min.y) * -0.5};
			}

			chart.borderWidth = me.getMaxBorderWidth(meta.data);
			chart.outerRadius = Math.max((minSize - chart.borderWidth) / 2, 0);
			chart.innerRadius = Math.max(cutoutPercentage ? (chart.outerRadius / 100) * (cutoutPercentage) : 0, 0);
			chart.radiusLength = (chart.outerRadius - chart.innerRadius) / chart.getVisibleDatasetCount();
			chart.offsetX = offset.x * chart.outerRadius;
			chart.offsetY = offset.y * chart.outerRadius;

			meta.total = me.calculateTotal();

			me.outerRadius = chart.outerRadius - (chart.radiusLength * me.getRingIndex(me.index));
			me.innerRadius = Math.max(me.outerRadius - chart.radiusLength, 0);

			helpers.each(meta.data, function(arc, index) {
				me.updateElement(arc, index, reset);
			});
		},

		updateElement: function(arc, index, reset) {
			var me = this;
			var chart = me.chart;
			var chartArea = chart.chartArea;
			var opts = chart.options;
			var animationOpts = opts.animation;
			var centerX = (chartArea.left + chartArea.right) / 2;
			var centerY = (chartArea.top + chartArea.bottom) / 2;
			var startAngle = opts.rotation; // non reset case handled later
			var endAngle = opts.rotation; // non reset case handled later
			var dataset = me.getDataset();
			var circumference = reset && animationOpts.animateRotate ? 0 : arc.hidden ? 0 : me.calculateCircumference(dataset.data[index]) * (opts.circumference / (2.0 * Math.PI));
			var innerRadius = reset && animationOpts.animateScale ? 0 : me.innerRadius;
			var outerRadius = reset && animationOpts.animateScale ? 0 : me.outerRadius;
			var valueAtIndexOrDefault = helpers.valueAtIndexOrDefault;

			helpers.extend(arc, {
				// Utility
				_datasetIndex: me.index,
				_index: index,

				// Desired view properties
				_model: {
					x: centerX + chart.offsetX,
					y: centerY + chart.offsetY,
					startAngle: startAngle,
					endAngle: endAngle,
					circumference: circumference,
					outerRadius: outerRadius,
					innerRadius: innerRadius,
					label: valueAtIndexOrDefault(dataset.label, index, chart.data.labels[index])
				}
			});

			var model = arc._model;
			// Resets the visual styles
			this.removeHoverStyle(arc);

			// Set correct angles if not resetting
			if (!reset || !animationOpts.animateRotate) {
				if (index === 0) {
					model.startAngle = opts.rotation;
				} else {
					model.startAngle = me.getMeta().data[index - 1]._model.endAngle;
				}

				model.endAngle = model.startAngle + model.circumference;
			}

			arc.pivot();
		},

		removeHoverStyle: function(arc) {
			Chart.DatasetController.prototype.removeHoverStyle.call(this, arc, this.chart.options.elements.arc);
		},

		calculateTotal: function() {
			var dataset = this.getDataset();
			var meta = this.getMeta();
			var total = 0;
			var value;

			helpers.each(meta.data, function(element, index) {
				value = dataset.data[index];
				if (!isNaN(value) && !element.hidden) {
					total += Math.abs(value);
				}
			});

			/* if (total === 0) {
				total = NaN;
			}*/

			return total;
		},

		calculateCircumference: function(value) {
			var total = this.getMeta().total;
			if (total > 0 && !isNaN(value)) {
				return (Math.PI * 2.0) * (value / total);
			}
			return 0;
		},

		// gets the max border or hover width to properly scale pie charts
		getMaxBorderWidth: function(arcs) {
			var max = 0;
			var index = this.index;
			var length = arcs.length;
			var borderWidth;
			var hoverWidth;

			for (var i = 0; i < length; i++) {
				borderWidth = arcs[i]._model ? arcs[i]._model.borderWidth : 0;
				hoverWidth = arcs[i]._chart ? arcs[i]._chart.config.data.datasets[index].hoverBorderWidth : 0;

				max = borderWidth > max ? borderWidth : max;
				max = hoverWidth > max ? hoverWidth : max;
			}
			return max;
		}
	});
};

},{"25":25,"40":40,"45":45}],18:[function(require,module,exports){
'use strict';

var defaults = require(25);
var elements = require(40);
var helpers = require(45);

defaults._set('line', {
	showLines: true,
	spanGaps: false,

	hover: {
		mode: 'label'
	},

	scales: {
		xAxes: [{
			type: 'category',
			id: 'x-axis-0'
		}],
		yAxes: [{
			type: 'linear',
			id: 'y-axis-0'
		}]
	}
});

module.exports = function(Chart) {

	function lineEnabled(dataset, options) {
		return helpers.valueOrDefault(dataset.showLine, options.showLines);
	}

	Chart.controllers.line = Chart.DatasetController.extend({

		datasetElementType: elements.Line,

		dataElementType: elements.Point,

		update: function(reset) {
			var me = this;
			var meta = me.getMeta();
			var line = meta.dataset;
			var points = meta.data || [];
			var options = me.chart.options;
			var lineElementOptions = options.elements.line;
			var scale = me.getScaleForId(meta.yAxisID);
			var i, ilen, custom;
			var dataset = me.getDataset();
			var showLine = lineEnabled(dataset, options);

			// Update Line
			if (showLine) {
				custom = line.custom || {};

				// Compatibility: If the properties are defined with only the old name, use those values
				if ((dataset.tension !== undefined) && (dataset.lineTension === undefined)) {
					dataset.lineTension = dataset.tension;
				}

				// Utility
				line._scale = scale;
				line._datasetIndex = me.index;
				// Data
				line._children = points;
				// Model
				line._model = {
					// Appearance
					// The default behavior of lines is to break at null values, according
					// to https://github.com/chartjs/Chart.js/issues/2435#issuecomment-216718158
					// This option gives lines the ability to span gaps
					spanGaps: dataset.spanGaps ? dataset.spanGaps : options.spanGaps,
					tension: custom.tension ? custom.tension : helpers.valueOrDefault(dataset.lineTension, lineElementOptions.tension),
					backgroundColor: custom.backgroundColor ? custom.backgroundColor : (dataset.backgroundColor || lineElementOptions.backgroundColor),
					borderWidth: custom.borderWidth ? custom.borderWidth : (dataset.borderWidth || lineElementOptions.borderWidth),
					borderColor: custom.borderColor ? custom.borderColor : (dataset.borderColor || lineElementOptions.borderColor),
					borderCapStyle: custom.borderCapStyle ? custom.borderCapStyle : (dataset.borderCapStyle || lineElementOptions.borderCapStyle),
					borderDash: custom.borderDash ? custom.borderDash : (dataset.borderDash || lineElementOptions.borderDash),
					borderDashOffset: custom.borderDashOffset ? custom.borderDashOffset : (dataset.borderDashOffset || lineElementOptions.borderDashOffset),
					borderJoinStyle: custom.borderJoinStyle ? custom.borderJoinStyle : (dataset.borderJoinStyle || lineElementOptions.borderJoinStyle),
					fill: custom.fill ? custom.fill : (dataset.fill !== undefined ? dataset.fill : lineElementOptions.fill),
					steppedLine: custom.steppedLine ? custom.steppedLine : helpers.valueOrDefault(dataset.steppedLine, lineElementOptions.stepped),
					cubicInterpolationMode: custom.cubicInterpolationMode ? custom.cubicInterpolationMode : helpers.valueOrDefault(dataset.cubicInterpolationMode, lineElementOptions.cubicInterpolationMode),
				};

				line.pivot();
			}

			// Update Points
			for (i = 0, ilen = points.length; i < ilen; ++i) {
				me.updateElement(points[i], i, reset);
			}

			if (showLine && line._model.tension !== 0) {
				me.updateBezierControlPoints();
			}

			// Now pivot the point for animation
			for (i = 0, ilen = points.length; i < ilen; ++i) {
				points[i].pivot();
			}
		},

		getPointBackgroundColor: function(point, index) {
			var backgroundColor = this.chart.options.elements.point.backgroundColor;
			var dataset = this.getDataset();
			var custom = point.custom || {};

			if (custom.backgroundColor) {
				backgroundColor = custom.backgroundColor;
			} else if (dataset.pointBackgroundColor) {
				backgroundColor = helpers.valueAtIndexOrDefault(dataset.pointBackgroundColor, index, backgroundColor);
			} else if (dataset.backgroundColor) {
				backgroundColor = dataset.backgroundColor;
			}

			return backgroundColor;
		},

		getPointBorderColor: function(point, index) {
			var borderColor = this.chart.options.elements.point.borderColor;
			var dataset = this.getDataset();
			var custom = point.custom || {};

			if (custom.borderColor) {
				borderColor = custom.borderColor;
			} else if (dataset.pointBorderColor) {
				borderColor = helpers.valueAtIndexOrDefault(dataset.pointBorderColor, index, borderColor);
			} else if (dataset.borderColor) {
				borderColor = dataset.borderColor;
			}

			return borderColor;
		},

		getPointBorderWidth: function(point, index) {
			var borderWidth = this.chart.options.elements.point.borderWidth;
			var dataset = this.getDataset();
			var custom = point.custom || {};

			if (!isNaN(custom.borderWidth)) {
				borderWidth = custom.borderWidth;
			} else if (!isNaN(dataset.pointBorderWidth) || helpers.isArray(dataset.pointBorderWidth)) {
				borderWidth = helpers.valueAtIndexOrDefault(dataset.pointBorderWidth, index, borderWidth);
			} else if (!isNaN(dataset.borderWidth)) {
				borderWidth = dataset.borderWidth;
			}

			return borderWidth;
		},

		updateElement: function(point, index, reset) {
			var me = this;
			var meta = me.getMeta();
			var custom = point.custom || {};
			var dataset = me.getDataset();
			var datasetIndex = me.index;
			var value = dataset.data[index];
			var yScale = me.getScaleForId(meta.yAxisID);
			var xScale = me.getScaleForId(meta.xAxisID);
			var pointOptions = me.chart.options.elements.point;
			var x, y;

			// Compatibility: If the properties are defined with only the old name, use those values
			if ((dataset.radius !== undefined) && (dataset.pointRadius === undefined)) {
				dataset.pointRadius = dataset.radius;
			}
			if ((dataset.hitRadius !== undefined) && (dataset.pointHitRadius === undefined)) {
				dataset.pointHitRadius = dataset.hitRadius;
			}

			x = xScale.getPixelForValue(typeof value === 'object' ? value : NaN, index, datasetIndex);
			y = reset ? yScale.getBasePixel() : me.calculatePointY(value, index, datasetIndex);

			// Utility
			point._xScale = xScale;
			point._yScale = yScale;
			point._datasetIndex = datasetIndex;
			point._index = index;

			// Desired view properties
			point._model = {
				x: x,
				y: y,
				skip: custom.skip || isNaN(x) || isNaN(y),
				// Appearance
				radius: custom.radius || helpers.valueAtIndexOrDefault(dataset.pointRadius, index, pointOptions.radius),
				pointStyle: custom.pointStyle || helpers.valueAtIndexOrDefault(dataset.pointStyle, index, pointOptions.pointStyle),
				backgroundColor: me.getPointBackgroundColor(point, index),
				borderColor: me.getPointBorderColor(point, index),
				borderWidth: me.getPointBorderWidth(point, index),
				tension: meta.dataset._model ? meta.dataset._model.tension : 0,
				steppedLine: meta.dataset._model ? meta.dataset._model.steppedLine : false,
				// Tooltip
				hitRadius: custom.hitRadius || helpers.valueAtIndexOrDefault(dataset.pointHitRadius, index, pointOptions.hitRadius)
			};
		},

		calculatePointY: function(value, index, datasetIndex) {
			var me = this;
			var chart = me.chart;
			var meta = me.getMeta();
			var yScale = me.getScaleForId(meta.yAxisID);
			var sumPos = 0;
			var sumNeg = 0;
			var i, ds, dsMeta;

			if (yScale.options.stacked) {
				for (i = 0; i < datasetIndex; i++) {
					ds = chart.data.datasets[i];
					dsMeta = chart.getDatasetMeta(i);
					if (dsMeta.type === 'line' && dsMeta.yAxisID === yScale.id && chart.isDatasetVisible(i)) {
						var stackedRightValue = Number(yScale.getRightValue(ds.data[index]));
						if (stackedRightValue < 0) {
							sumNeg += stackedRightValue || 0;
						} else {
							sumPos += stackedRightValue || 0;
						}
					}
				}

				var rightValue = Number(yScale.getRightValue(value));
				if (rightValue < 0) {
					return yScale.getPixelForValue(sumNeg + rightValue);
				}
				return yScale.getPixelForValue(sumPos + rightValue);
			}

			return yScale.getPixelForValue(value);
		},

		updateBezierControlPoints: function() {
			var me = this;
			var meta = me.getMeta();
			var area = me.chart.chartArea;
			var points = (meta.data || []);
			var i, ilen, point, model, controlPoints;

			// Only consider points that are drawn in case the spanGaps option is used
			if (meta.dataset._model.spanGaps) {
				points = points.filter(function(pt) {
					return !pt._model.skip;
				});
			}

			function capControlPoint(pt, min, max) {
				return Math.max(Math.min(pt, max), min);
			}

			if (meta.dataset._model.cubicInterpolationMode === 'monotone') {
				helpers.splineCurveMonotone(points);
			} else {
				for (i = 0, ilen = points.length; i < ilen; ++i) {
					point = points[i];
					model = point._model;
					controlPoints = helpers.splineCurve(
						helpers.previousItem(points, i)._model,
						model,
						helpers.nextItem(points, i)._model,
						meta.dataset._model.tension
					);
					model.controlPointPreviousX = controlPoints.previous.x;
					model.controlPointPreviousY = controlPoints.previous.y;
					model.controlPointNextX = controlPoints.next.x;
					model.controlPointNextY = controlPoints.next.y;
				}
			}

			if (me.chart.options.elements.line.capBezierPoints) {
				for (i = 0, ilen = points.length; i < ilen; ++i) {
					model = points[i]._model;
					model.controlPointPreviousX = capControlPoint(model.controlPointPreviousX, area.left, area.right);
					model.controlPointPreviousY = capControlPoint(model.controlPointPreviousY, area.top, area.bottom);
					model.controlPointNextX = capControlPoint(model.controlPointNextX, area.left, area.right);
					model.controlPointNextY = capControlPoint(model.controlPointNextY, area.top, area.bottom);
				}
			}
		},

		draw: function() {
			var me = this;
			var chart = me.chart;
			var meta = me.getMeta();
			var points = meta.data || [];
			var area = chart.chartArea;
			var ilen = points.length;
			var i = 0;

			helpers.canvas.clipArea(chart.ctx, area);

			if (lineEnabled(me.getDataset(), chart.options)) {
				meta.dataset.draw();
			}

			helpers.canvas.unclipArea(chart.ctx);

			// Draw the points
			for (; i < ilen; ++i) {
				points[i].draw(area);
			}
		},

		setHoverStyle: function(point) {
			// Point
			var dataset = this.chart.data.datasets[point._datasetIndex];
			var index = point._index;
			var custom = point.custom || {};
			var model = point._model;

			model.radius = custom.hoverRadius || helpers.valueAtIndexOrDefault(dataset.pointHoverRadius, index, this.chart.options.elements.point.hoverRadius);
			model.backgroundColor = custom.hoverBackgroundColor || helpers.valueAtIndexOrDefault(dataset.pointHoverBackgroundColor, index, helpers.getHoverColor(model.backgroundColor));
			model.borderColor = custom.hoverBorderColor || helpers.valueAtIndexOrDefault(dataset.pointHoverBorderColor, index, helpers.getHoverColor(model.borderColor));
			model.borderWidth = custom.hoverBorderWidth || helpers.valueAtIndexOrDefault(dataset.pointHoverBorderWidth, index, model.borderWidth);
		},

		removeHoverStyle: function(point) {
			var me = this;
			var dataset = me.chart.data.datasets[point._datasetIndex];
			var index = point._index;
			var custom = point.custom || {};
			var model = point._model;

			// Compatibility: If the properties are defined with only the old name, use those values
			if ((dataset.radius !== undefined) && (dataset.pointRadius === undefined)) {
				dataset.pointRadius = dataset.radius;
			}

			model.radius = custom.radius || helpers.valueAtIndexOrDefault(dataset.pointRadius, index, me.chart.options.elements.point.radius);
			model.backgroundColor = me.getPointBackgroundColor(point, index);
			model.borderColor = me.getPointBorderColor(point, index);
			model.borderWidth = me.getPointBorderWidth(point, index);
		}
	});
};

},{"25":25,"40":40,"45":45}],19:[function(require,module,exports){
'use strict';

var defaults = require(25);
var elements = require(40);
var helpers = require(45);

defaults._set('polarArea', {
	scale: {
		type: 'radialLinear',
		angleLines: {
			display: false
		},
		gridLines: {
			circular: true
		},
		pointLabels: {
			display: false
		},
		ticks: {
			beginAtZero: true
		}
	},

	// Boolean - Whether to animate the rotation of the chart
	animation: {
		animateRotate: true,
		animateScale: true
	},

	startAngle: -0.5 * Math.PI,
	legendCallback: function(chart) {
		var text = [];
		text.push('<ul class="' + chart.id + '-legend">');

		var data = chart.data;
		var datasets = data.datasets;
		var labels = data.labels;

		if (datasets.length) {
			for (var i = 0; i < datasets[0].data.length; ++i) {
				text.push('<li><span style="background-color:' + datasets[0].backgroundColor[i] + '"></span>');
				if (labels[i]) {
					text.push(labels[i]);
				}
				text.push('</li>');
			}
		}

		text.push('</ul>');
		return text.join('');
	},
	legend: {
		labels: {
			generateLabels: function(chart) {
				var data = chart.data;
				if (data.labels.length && data.datasets.length) {
					return data.labels.map(function(label, i) {
						var meta = chart.getDatasetMeta(0);
						var ds = data.datasets[0];
						var arc = meta.data[i];
						var custom = arc.custom || {};
						var valueAtIndexOrDefault = helpers.valueAtIndexOrDefault;
						var arcOpts = chart.options.elements.arc;
						var fill = custom.backgroundColor ? custom.backgroundColor : valueAtIndexOrDefault(ds.backgroundColor, i, arcOpts.backgroundColor);
						var stroke = custom.borderColor ? custom.borderColor : valueAtIndexOrDefault(ds.borderColor, i, arcOpts.borderColor);
						var bw = custom.borderWidth ? custom.borderWidth : valueAtIndexOrDefault(ds.borderWidth, i, arcOpts.borderWidth);

						return {
							text: label,
							fillStyle: fill,
							strokeStyle: stroke,
							lineWidth: bw,
							hidden: isNaN(ds.data[i]) || meta.data[i].hidden,

							// Extra data used for toggling the correct item
							index: i
						};
					});
				}
				return [];
			}
		},

		onClick: function(e, legendItem) {
			var index = legendItem.index;
			var chart = this.chart;
			var i, ilen, meta;

			for (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {
				meta = chart.getDatasetMeta(i);
				meta.data[index].hidden = !meta.data[index].hidden;
			}

			chart.update();
		}
	},

	// Need to override these to give a nice default
	tooltips: {
		callbacks: {
			title: function() {
				return '';
			},
			label: function(item, data) {
				return data.labels[item.index] + ': ' + item.yLabel;
			}
		}
	}
});

module.exports = function(Chart) {

	Chart.controllers.polarArea = Chart.DatasetController.extend({

		dataElementType: elements.Arc,

		linkScales: helpers.noop,

		update: function(reset) {
			var me = this;
			var chart = me.chart;
			var chartArea = chart.chartArea;
			var meta = me.getMeta();
			var opts = chart.options;
			var arcOpts = opts.elements.arc;
			var minSize = Math.min(chartArea.right - chartArea.left, chartArea.bottom - chartArea.top);
			chart.outerRadius = Math.max((minSize - arcOpts.borderWidth / 2) / 2, 0);
			chart.innerRadius = Math.max(opts.cutoutPercentage ? (chart.outerRadius / 100) * (opts.cutoutPercentage) : 1, 0);
			chart.radiusLength = (chart.outerRadius - chart.innerRadius) / chart.getVisibleDatasetCount();

			me.outerRadius = chart.outerRadius - (chart.radiusLength * me.index);
			me.innerRadius = me.outerRadius - chart.radiusLength;

			meta.count = me.countVisibleElements();

			helpers.each(meta.data, function(arc, index) {
				me.updateElement(arc, index, reset);
			});
		},

		updateElement: function(arc, index, reset) {
			var me = this;
			var chart = me.chart;
			var dataset = me.getDataset();
			var opts = chart.options;
			var animationOpts = opts.animation;
			var scale = chart.scale;
			var labels = chart.data.labels;

			var circumference = me.calculateCircumference(dataset.data[index]);
			var centerX = scale.xCenter;
			var centerY = scale.yCenter;

			// If there is NaN data before us, we need to calculate the starting angle correctly.
			// We could be way more efficient here, but its unlikely that the polar area chart will have a lot of data
			var visibleCount = 0;
			var meta = me.getMeta();
			for (var i = 0; i < index; ++i) {
				if (!isNaN(dataset.data[i]) && !meta.data[i].hidden) {
					++visibleCount;
				}
			}

			// var negHalfPI = -0.5 * Math.PI;
			var datasetStartAngle = opts.startAngle;
			var distance = arc.hidden ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]);
			var startAngle = datasetStartAngle + (circumference * visibleCount);
			var endAngle = startAngle + (arc.hidden ? 0 : circumference);

			var resetRadius = animationOpts.animateScale ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]);

			helpers.extend(arc, {
				// Utility
				_datasetIndex: me.index,
				_index: index,
				_scale: scale,

				// Desired view properties
				_model: {
					x: centerX,
					y: centerY,
					innerRadius: 0,
					outerRadius: reset ? resetRadius : distance,
					startAngle: reset && animationOpts.animateRotate ? datasetStartAngle : startAngle,
					endAngle: reset && animationOpts.animateRotate ? datasetStartAngle : endAngle,
					label: helpers.valueAtIndexOrDefault(labels, index, labels[index])
				}
			});

			// Apply border and fill style
			me.removeHoverStyle(arc);

			arc.pivot();
		},

		removeHoverStyle: function(arc) {
			Chart.DatasetController.prototype.removeHoverStyle.call(this, arc, this.chart.options.elements.arc);
		},

		countVisibleElements: function() {
			var dataset = this.getDataset();
			var meta = this.getMeta();
			var count = 0;

			helpers.each(meta.data, function(element, index) {
				if (!isNaN(dataset.data[index]) && !element.hidden) {
					count++;
				}
			});

			return count;
		},

		calculateCircumference: function(value) {
			var count = this.getMeta().count;
			if (count > 0 && !isNaN(value)) {
				return (2 * Math.PI) / count;
			}
			return 0;
		}
	});
};

},{"25":25,"40":40,"45":45}],20:[function(require,module,exports){
'use strict';

var defaults = require(25);
var elements = require(40);
var helpers = require(45);

defaults._set('radar', {
	scale: {
		type: 'radialLinear'
	},
	elements: {
		line: {
			tension: 0 // no bezier in radar
		}
	}
});

module.exports = function(Chart) {

	Chart.controllers.radar = Chart.DatasetController.extend({

		datasetElementType: elements.Line,

		dataElementType: elements.Point,

		linkScales: helpers.noop,

		update: function(reset) {
			var me = this;
			var meta = me.getMeta();
			var line = meta.dataset;
			var points = meta.data;
			var custom = line.custom || {};
			var dataset = me.getDataset();
			var lineElementOptions = me.chart.options.elements.line;
			var scale = me.chart.scale;

			// Compatibility: If the properties are defined with only the old name, use those values
			if ((dataset.tension !== undefined) && (dataset.lineTension === undefined)) {
				dataset.lineTension = dataset.tension;
			}

			helpers.extend(meta.dataset, {
				// Utility
				_datasetIndex: me.index,
				_scale: scale,
				// Data
				_children: points,
				_loop: true,
				// Model
				_model: {
					// Appearance
					tension: custom.tension ? custom.tension : helpers.valueOrDefault(dataset.lineTension, lineElementOptions.tension),
					backgroundColor: custom.backgroundColor ? custom.backgroundColor : (dataset.backgroundColor || lineElementOptions.backgroundColor),
					borderWidth: custom.borderWidth ? custom.borderWidth : (dataset.borderWidth || lineElementOptions.borderWidth),
					borderColor: custom.borderColor ? custom.borderColor : (dataset.borderColor || lineElementOptions.borderColor),
					fill: custom.fill ? custom.fill : (dataset.fill !== undefined ? dataset.fill : lineElementOptions.fill),
					borderCapStyle: custom.borderCapStyle ? custom.borderCapStyle : (dataset.borderCapStyle || lineElementOptions.borderCapStyle),
					borderDash: custom.borderDash ? custom.borderDash : (dataset.borderDash || lineElementOptions.borderDash),
					borderDashOffset: custom.borderDashOffset ? custom.borderDashOffset : (dataset.borderDashOffset || lineElementOptions.borderDashOffset),
					borderJoinStyle: custom.borderJoinStyle ? custom.borderJoinStyle : (dataset.borderJoinStyle || lineElementOptions.borderJoinStyle),
				}
			});

			meta.dataset.pivot();

			// Update Points
			helpers.each(points, function(point, index) {
				me.updateElement(point, index, reset);
			}, me);

			// Update bezier control points
			me.updateBezierControlPoints();
		},
		updateElement: function(point, index, reset) {
			var me = this;
			var custom = point.custom || {};
			var dataset = me.getDataset();
			var scale = me.chart.scale;
			var pointElementOptions = me.chart.options.elements.point;
			var pointPosition = scale.getPointPositionForValue(index, dataset.data[index]);

			// Compatibility: If the properties are defined with only the old name, use those values
			if ((dataset.radius !== undefined) && (dataset.pointRadius === undefined)) {
				dataset.pointRadius = dataset.radius;
			}
			if ((dataset.hitRadius !== undefined) && (dataset.pointHitRadius === undefined)) {
				dataset.pointHitRadius = dataset.hitRadius;
			}

			helpers.extend(point, {
				// Utility
				_datasetIndex: me.index,
				_index: index,
				_scale: scale,

				// Desired view properties
				_model: {
					x: reset ? scale.xCenter : pointPosition.x, // value not used in dataset scale, but we want a consistent API between scales
					y: reset ? scale.yCenter : pointPosition.y,

					// Appearance
					tension: custom.tension ? custom.tension : helpers.valueOrDefault(dataset.lineTension, me.chart.options.elements.line.tension),
					radius: custom.radius ? custom.radius : helpers.valueAtIndexOrDefault(dataset.pointRadius, index, pointElementOptions.radius),
					backgroundColor: custom.backgroundColor ? custom.backgroundColor : helpers.valueAtIndexOrDefault(dataset.pointBackgroundColor, index, pointElementOptions.backgroundColor),
					borderColor: custom.borderColor ? custom.borderColor : helpers.valueAtIndexOrDefault(dataset.pointBorderColor, index, pointElementOptions.borderColor),
					borderWidth: custom.borderWidth ? custom.borderWidth : helpers.valueAtIndexOrDefault(dataset.pointBorderWidth, index, pointElementOptions.borderWidth),
					pointStyle: custom.pointStyle ? custom.pointStyle : helpers.valueAtIndexOrDefault(dataset.pointStyle, index, pointElementOptions.pointStyle),

					// Tooltip
					hitRadius: custom.hitRadius ? custom.hitRadius : helpers.valueAtIndexOrDefault(dataset.pointHitRadius, index, pointElementOptions.hitRadius)
				}
			});

			point._model.skip = custom.skip ? custom.skip : (isNaN(point._model.x) || isNaN(point._model.y));
		},
		updateBezierControlPoints: function() {
			var chartArea = this.chart.chartArea;
			var meta = this.getMeta();

			helpers.each(meta.data, function(point, index) {
				var model = point._model;
				var controlPoints = helpers.splineCurve(
					helpers.previousItem(meta.data, index, true)._model,
					model,
					helpers.nextItem(meta.data, index, true)._model,
					model.tension
				);

				// Prevent the bezier going outside of the bounds of the graph
				model.controlPointPreviousX = Math.max(Math.min(controlPoints.previous.x, chartArea.right), chartArea.left);
				model.controlPointPreviousY = Math.max(Math.min(controlPoints.previous.y, chartArea.bottom), chartArea.top);

				model.controlPointNextX = Math.max(Math.min(controlPoints.next.x, chartArea.right), chartArea.left);
				model.controlPointNextY = Math.max(Math.min(controlPoints.next.y, chartArea.bottom), chartArea.top);

				// Now pivot the point for animation
				point.pivot();
			});
		},

		setHoverStyle: function(point) {
			// Point
			var dataset = this.chart.data.datasets[point._datasetIndex];
			var custom = point.custom || {};
			var index = point._index;
			var model = point._model;

			model.radius = custom.hoverRadius ? custom.hoverRadius : helpers.valueAtIndexOrDefault(dataset.pointHoverRadius, index, this.chart.options.elements.point.hoverRadius);
			model.backgroundColor = custom.hoverBackgroundColor ? custom.hoverBackgroundColor : helpers.valueAtIndexOrDefault(dataset.pointHoverBackgroundColor, index, helpers.getHoverColor(model.backgroundColor));
			model.borderColor = custom.hoverBorderColor ? custom.hoverBorderColor : helpers.valueAtIndexOrDefault(dataset.pointHoverBorderColor, index, helpers.getHoverColor(model.borderColor));
			model.borderWidth = custom.hoverBorderWidth ? custom.hoverBorderWidth : helpers.valueAtIndexOrDefault(dataset.pointHoverBorderWidth, index, model.borderWidth);
		},

		removeHoverStyle: function(point) {
			var dataset = this.chart.data.datasets[point._datasetIndex];
			var custom = point.custom || {};
			var index = point._index;
			var model = point._model;
			var pointElementOptions = this.chart.options.elements.point;

			model.radius = custom.radius ? custom.radius : helpers.valueAtIndexOrDefault(dataset.pointRadius, index, pointElementOptions.radius);
			model.backgroundColor = custom.backgroundColor ? custom.backgroundColor : helpers.valueAtIndexOrDefault(dataset.pointBackgroundColor, index, pointElementOptions.backgroundColor);
			model.borderColor = custom.borderColor ? custom.borderColor : helpers.valueAtIndexOrDefault(dataset.pointBorderColor, index, pointElementOptions.borderColor);
			model.borderWidth = custom.borderWidth ? custom.borderWidth : helpers.valueAtIndexOrDefault(dataset.pointBorderWidth, index, pointElementOptions.borderWidth);
		}
	});
};

},{"25":25,"40":40,"45":45}],21:[function(require,module,exports){
'use strict';

var defaults = require(25);

defaults._set('scatter', {
	hover: {
		mode: 'single'
	},

	scales: {
		xAxes: [{
			id: 'x-axis-1',    // need an ID so datasets can reference the scale
			type: 'linear',    // scatter should not use a category axis
			position: 'bottom'
		}],
		yAxes: [{
			id: 'y-axis-1',
			type: 'linear',
			position: 'left'
		}]
	},

	showLines: false,

	tooltips: {
		callbacks: {
			title: function() {
				return '';     // doesn't make sense for scatter since data are formatted as a point
			},
			label: function(item) {
				return '(' + item.xLabel + ', ' + item.yLabel + ')';
			}
		}
	}
});

module.exports = function(Chart) {

	// Scatter charts use line controllers
	Chart.controllers.scatter = Chart.controllers.line;

};

},{"25":25}],22:[function(require,module,exports){
/* global window: false */
'use strict';

var defaults = require(25);
var Element = require(26);
var helpers = require(45);

defaults._set('global', {
	animation: {
		duration: 1000,
		easing: 'easeOutQuart',
		onProgress: helpers.noop,
		onComplete: helpers.noop
	}
});

module.exports = function(Chart) {

	Chart.Animation = Element.extend({
		chart: null, // the animation associated chart instance
		currentStep: 0, // the current animation step
		numSteps: 60, // default number of steps
		easing: '', // the easing to use for this animation
		render: null, // render function used by the animation service

		onAnimationProgress: null, // user specified callback to fire on each step of the animation
		onAnimationComplete: null, // user specified callback to fire when the animation finishes
	});

	Chart.animationService = {
		frameDuration: 17,
		animations: [],
		dropFrames: 0,
		request: null,

		/**
		 * @param {Chart} chart - The chart to animate.
		 * @param {Chart.Animation} animation - The animation that we will animate.
		 * @param {Number} duration - The animation duration in ms.
		 * @param {Boolean} lazy - if true, the chart is not marked as animating to enable more responsive interactions
		 */
		addAnimation: function(chart, animation, duration, lazy) {
			var animations = this.animations;
			var i, ilen;

			animation.chart = chart;

			if (!lazy) {
				chart.animating = true;
			}

			for (i = 0, ilen = animations.length; i < ilen; ++i) {
				if (animations[i].chart === chart) {
					animations[i] = animation;
					return;
				}
			}

			animations.push(animation);

			// If there are no animations queued, manually kickstart a digest, for lack of a better word
			if (animations.length === 1) {
				this.requestAnimationFrame();
			}
		},

		cancelAnimation: function(chart) {
			var index = helpers.findIndex(this.animations, function(animation) {
				return animation.chart === chart;
			});

			if (index !== -1) {
				this.animations.splice(index, 1);
				chart.animating = false;
			}
		},

		requestAnimationFrame: function() {
			var me = this;
			if (me.request === null) {
				// Skip animation frame requests until the active one is executed.
				// This can happen when processing mouse events, e.g. 'mousemove'
				// and 'mouseout' events will trigger multiple renders.
				me.request = helpers.requestAnimFrame.call(window, function() {
					me.request = null;
					me.startDigest();
				});
			}
		},

		/**
		 * @private
		 */
		startDigest: function() {
			var me = this;
			var startTime = Date.now();
			var framesToDrop = 0;

			if (me.dropFrames > 1) {
				framesToDrop = Math.floor(me.dropFrames);
				me.dropFrames = me.dropFrames % 1;
			}

			me.advance(1 + framesToDrop);

			var endTime = Date.now();

			me.dropFrames += (endTime - startTime) / me.frameDuration;

			// Do we have more stuff to animate?
			if (me.animations.length > 0) {
				me.requestAnimationFrame();
			}
		},

		/**
		 * @private
		 */
		advance: function(count) {
			var animations = this.animations;
			var animation, chart;
			var i = 0;

			while (i < animations.length) {
				animation = animations[i];
				chart = animation.chart;

				animation.currentStep = (animation.currentStep || 0) + count;
				animation.currentStep = Math.min(animation.currentStep, animation.numSteps);

				helpers.callback(animation.render, [chart, animation], chart);
				helpers.callback(animation.onAnimationProgress, [animation], chart);

				if (animation.currentStep >= animation.numSteps) {
					helpers.callback(animation.onAnimationComplete, [animation], chart);
					chart.animating = false;
					animations.splice(i, 1);
				} else {
					++i;
				}
			}
		}
	};

	/**
	 * Provided for backward compatibility, use Chart.Animation instead
	 * @prop Chart.Animation#animationObject
	 * @deprecated since version 2.6.0
	 * @todo remove at version 3
	 */
	Object.defineProperty(Chart.Animation.prototype, 'animationObject', {
		get: function() {
			return this;
		}
	});

	/**
	 * Provided for backward compatibility, use Chart.Animation#chart instead
	 * @prop Chart.Animation#chartInstance
	 * @deprecated since version 2.6.0
	 * @todo remove at version 3
	 */
	Object.defineProperty(Chart.Animation.prototype, 'chartInstance', {
		get: function() {
			return this.chart;
		},
		set: function(value) {
			this.chart = value;
		}
	});

};

},{"25":25,"26":26,"45":45}],23:[function(require,module,exports){
'use strict';

var defaults = require(25);
var helpers = require(45);
var Interaction = require(28);
var platform = require(48);

module.exports = function(Chart) {
	var plugins = Chart.plugins;

	// Create a dictionary of chart types, to allow for extension of existing types
	Chart.types = {};

	// Store a reference to each instance - allowing us to globally resize chart instances on window resize.
	// Destroy method on the chart will remove the instance of the chart from this reference.
	Chart.instances = {};

	// Controllers available for dataset visualization eg. bar, line, slice, etc.
	Chart.controllers = {};

	/**
	 * Initializes the given config with global and chart default values.
	 */
	function initConfig(config) {
		config = config || {};

		// Do NOT use configMerge() for the data object because this method merges arrays
		// and so would change references to labels and datasets, preventing data updates.
		var data = config.data = config.data || {};
		data.datasets = data.datasets || [];
		data.labels = data.labels || [];

		config.options = helpers.configMerge(
			defaults.global,
			defaults[config.type],
			config.options || {});

		return config;
	}

	/**
	 * Updates the config of the chart
	 * @param chart {Chart} chart to update the options for
	 */
	function updateConfig(chart) {
		var newOptions = chart.options;

		// Update Scale(s) with options
		if (newOptions.scale) {
			chart.scale.options = newOptions.scale;
		} else if (newOptions.scales) {
			newOptions.scales.xAxes.concat(newOptions.scales.yAxes).forEach(function(scaleOptions) {
				chart.scales[scaleOptions.id].options = scaleOptions;
			});
		}

		// Tooltip
		chart.tooltip._options = newOptions.tooltips;
	}

	function positionIsHorizontal(position) {
		return position === 'top' || position === 'bottom';
	}

	helpers.extend(Chart.prototype, /** @lends Chart */ {
		/**
		 * @private
		 */
		construct: function(item, config) {
			var me = this;

			config = initConfig(config);

			var context = platform.acquireContext(item, config);
			var canvas = context && context.canvas;
			var height = canvas && canvas.height;
			var width = canvas && canvas.width;

			me.id = helpers.uid();
			me.ctx = context;
			me.canvas = canvas;
			me.config = config;
			me.width = width;
			me.height = height;
			me.aspectRatio = height ? width / height : null;
			me.options = config.options;
			me._bufferedRender = false;

			/**
			 * Provided for backward compatibility, Chart and Chart.Controller have been merged,
			 * the "instance" still need to be defined since it might be called from plugins.
			 * @prop Chart#chart
			 * @deprecated since version 2.6.0
			 * @todo remove at version 3
			 * @private
			 */
			me.chart = me;
			me.controller = me; // chart.chart.controller #inception

			// Add the chart instance to the global namespace
			Chart.instances[me.id] = me;

			// Define alias to the config data: `chart.data === chart.config.data`
			Object.defineProperty(me, 'data', {
				get: function() {
					return me.config.data;
				},
				set: function(value) {
					me.config.data = value;
				}
			});

			if (!context || !canvas) {
				// The given item is not a compatible context2d element, let's return before finalizing
				// the chart initialization but after setting basic chart / controller properties that
				// can help to figure out that the chart is not valid (e.g chart.canvas !== null);
				// https://github.com/chartjs/Chart.js/issues/2807
				console.error("Failed to create chart: can't acquire context from the given item");
				return;
			}

			me.initialize();
			me.update();
		},

		/**
		 * @private
		 */
		initialize: function() {
			var me = this;

			// Before init plugin notification
			plugins.notify(me, 'beforeInit');

			helpers.retinaScale(me, me.options.devicePixelRatio);

			me.bindEvents();

			if (me.options.responsive) {
				// Initial resize before chart draws (must be silent to preserve initial animations).
				me.resize(true);
			}

			// Make sure scales have IDs and are built before we build any controllers.
			me.ensureScalesHaveIDs();
			me.buildScales();
			me.initToolTip();

			// After init plugin notification
			plugins.notify(me, 'afterInit');

			return me;
		},

		clear: function() {
			helpers.canvas.clear(this);
			return this;
		},

		stop: function() {
			// Stops any current animation loop occurring
			Chart.animationService.cancelAnimation(this);
			return this;
		},

		resize: function(silent) {
			var me = this;
			var options = me.options;
			var canvas = me.canvas;
			var aspectRatio = (options.maintainAspectRatio && me.aspectRatio) || null;

			// the canvas render width and height will be casted to integers so make sure that
			// the canvas display style uses the same integer values to avoid blurring effect.

			// Set to 0 instead of canvas.size because the size defaults to 300x150 if the element is collased
			var newWidth = Math.max(0, Math.floor(helpers.getMaximumWidth(canvas)));
			var newHeight = Math.max(0, Math.floor(aspectRatio ? newWidth / aspectRatio : helpers.getMaximumHeight(canvas)));

			if (me.width === newWidth && me.height === newHeight) {
				return;
			}

			canvas.width = me.width = newWidth;
			canvas.height = me.height = newHeight;
			canvas.style.width = newWidth + 'px';
			canvas.style.height = newHeight + 'px';

			helpers.retinaScale(me, options.devicePixelRatio);

			if (!silent) {
				// Notify any plugins about the resize
				var newSize = {width: newWidth, height: newHeight};
				plugins.notify(me, 'resize', [newSize]);

				// Notify of resize
				if (me.options.onResize) {
					me.options.onResize(me, newSize);
				}

				me.stop();
				me.update(me.options.responsiveAnimationDuration);
			}
		},

		ensureScalesHaveIDs: function() {
			var options = this.options;
			var scalesOptions = options.scales || {};
			var scaleOptions = options.scale;

			helpers.each(scalesOptions.xAxes, function(xAxisOptions, index) {
				xAxisOptions.id = xAxisOptions.id || ('x-axis-' + index);
			});

			helpers.each(scalesOptions.yAxes, function(yAxisOptions, index) {
				yAxisOptions.id = yAxisOptions.id || ('y-axis-' + index);
			});

			if (scaleOptions) {
				scaleOptions.id = scaleOptions.id || 'scale';
			}
		},

		/**
		 * Builds a map of scale ID to scale object for future lookup.
		 */
		buildScales: function() {
			var me = this;
			var options = me.options;
			var scales = me.scales = {};
			var items = [];

			if (options.scales) {
				items = items.concat(
					(options.scales.xAxes || []).map(function(xAxisOptions) {
						return {options: xAxisOptions, dtype: 'category', dposition: 'bottom'};
					}),
					(options.scales.yAxes || []).map(function(yAxisOptions) {
						return {options: yAxisOptions, dtype: 'linear', dposition: 'left'};
					})
				);
			}

			if (options.scale) {
				items.push({
					options: options.scale,
					dtype: 'radialLinear',
					isDefault: true,
					dposition: 'chartArea'
				});
			}

			helpers.each(items, function(item) {
				var scaleOptions = item.options;
				var scaleType = helpers.valueOrDefault(scaleOptions.type, item.dtype);
				var scaleClass = Chart.scaleService.getScaleConstructor(scaleType);
				if (!scaleClass) {
					return;
				}

				if (positionIsHorizontal(scaleOptions.position) !== positionIsHorizontal(item.dposition)) {
					scaleOptions.position = item.dposition;
				}

				var scale = new scaleClass({
					id: scaleOptions.id,
					options: scaleOptions,
					ctx: me.ctx,
					chart: me
				});

				scales[scale.id] = scale;
				scale.mergeTicksOptions();

				// TODO(SB): I think we should be able to remove this custom case (options.scale)
				// and consider it as a regular scale part of the "scales"" map only! This would
				// make the logic easier and remove some useless? custom code.
				if (item.isDefault) {
					me.scale = scale;
				}
			});

			Chart.scaleService.addScalesToLayout(this);
		},

		buildOrUpdateControllers: function() {
			var me = this;
			var types = [];
			var newControllers = [];

			helpers.each(me.data.datasets, function(dataset, datasetIndex) {
				var meta = me.getDatasetMeta(datasetIndex);
				var type = dataset.type || me.config.type;

				if (meta.type && meta.type !== type) {
					me.destroyDatasetMeta(datasetIndex);
					meta = me.getDatasetMeta(datasetIndex);
				}
				meta.type = type;

				types.push(meta.type);

				if (meta.controller) {
					meta.controller.updateIndex(datasetIndex);
				} else {
					var ControllerClass = Chart.controllers[meta.type];
					if (ControllerClass === undefined) {
						throw new Error('"' + meta.type + '" is not a chart type.');
					}

					meta.controller = new ControllerClass(me, datasetIndex);
					newControllers.push(meta.controller);
				}
			}, me);

			return newControllers;
		},

		/**
		 * Reset the elements of all datasets
		 * @private
		 */
		resetElements: function() {
			var me = this;
			helpers.each(me.data.datasets, function(dataset, datasetIndex) {
				me.getDatasetMeta(datasetIndex).controller.reset();
			}, me);
		},

		/**
		* Resets the chart back to it's state before the initial animation
		*/
		reset: function() {
			this.resetElements();
			this.tooltip.initialize();
		},

		update: function(config) {
			var me = this;

			if (!config || typeof config !== 'object') {
				// backwards compatibility
				config = {
					duration: config,
					lazy: arguments[1]
				};
			}

			updateConfig(me);

			if (plugins.notify(me, 'beforeUpdate') === false) {
				return;
			}

			// In case the entire data object changed
			me.tooltip._data = me.data;

			// Make sure dataset controllers are updated and new controllers are reset
			var newControllers = me.buildOrUpdateControllers();

			// Make sure all dataset controllers have correct meta data counts
			helpers.each(me.data.datasets, function(dataset, datasetIndex) {
				me.getDatasetMeta(datasetIndex).controller.buildOrUpdateElements();
			}, me);

			me.updateLayout();

			// Can only reset the new controllers after the scales have been updated
			helpers.each(newControllers, function(controller) {
				controller.reset();
			});

			me.updateDatasets();

			// Need to reset tooltip in case it is displayed with elements that are removed
			// after update.
			me.tooltip.initialize();

			// Last active contains items that were previously in the tooltip.
			// When we reset the tooltip, we need to clear it
			me.lastActive = [];

			// Do this before render so that any plugins that need final scale updates can use it
			plugins.notify(me, 'afterUpdate');

			if (me._bufferedRender) {
				me._bufferedRequest = {
					duration: config.duration,
					easing: config.easing,
					lazy: config.lazy
				};
			} else {
				me.render(config);
			}
		},

		/**
		 * Updates the chart layout unless a plugin returns `false` to the `beforeLayout`
		 * hook, in which case, plugins will not be called on `afterLayout`.
		 * @private
		 */
		updateLayout: function() {
			var me = this;

			if (plugins.notify(me, 'beforeLayout') === false) {
				return;
			}

			Chart.layoutService.update(this, this.width, this.height);

			/**
			 * Provided for backward compatibility, use `afterLayout` instead.
			 * @method IPlugin#afterScaleUpdate
			 * @deprecated since version 2.5.0
			 * @todo remove at version 3
			 * @private
			 */
			plugins.notify(me, 'afterScaleUpdate');
			plugins.notify(me, 'afterLayout');
		},

		/**
		 * Updates all datasets unless a plugin returns `false` to the `beforeDatasetsUpdate`
		 * hook, in which case, plugins will not be called on `afterDatasetsUpdate`.
		 * @private
		 */
		updateDatasets: function() {
			var me = this;

			if (plugins.notify(me, 'beforeDatasetsUpdate') === false) {
				return;
			}

			for (var i = 0, ilen = me.data.datasets.length; i < ilen; ++i) {
				me.updateDataset(i);
			}

			plugins.notify(me, 'afterDatasetsUpdate');
		},

		/**
		 * Updates dataset at index unless a plugin returns `false` to the `beforeDatasetUpdate`
		 * hook, in which case, plugins will not be called on `afterDatasetUpdate`.
		 * @private
		 */
		updateDataset: function(index) {
			var me = this;
			var meta = me.getDatasetMeta(index);
			var args = {
				meta: meta,
				index: index
			};

			if (plugins.notify(me, 'beforeDatasetUpdate', [args]) === false) {
				return;
			}

			meta.controller.update();

			plugins.notify(me, 'afterDatasetUpdate', [args]);
		},

		render: function(config) {
			var me = this;

			if (!config || typeof config !== 'object') {
				// backwards compatibility
				config = {
					duration: config,
					lazy: arguments[1]
				};
			}

			var duration = config.duration;
			var lazy = config.lazy;

			if (plugins.notify(me, 'beforeRender') === false) {
				return;
			}

			var animationOptions = me.options.animation;
			var onComplete = function(animation) {
				plugins.notify(me, 'afterRender');
				helpers.callback(animationOptions && animationOptions.onComplete, [animation], me);
			};

			if (animationOptions && ((typeof duration !== 'undefined' && duration !== 0) || (typeof duration === 'undefined' && animationOptions.duration !== 0))) {
				var animation = new Chart.Animation({
					numSteps: (duration || animationOptions.duration) / 16.66, // 60 fps
					easing: config.easing || animationOptions.easing,

					render: function(chart, animationObject) {
						var easingFunction = helpers.easing.effects[animationObject.easing];
						var currentStep = animationObject.currentStep;
						var stepDecimal = currentStep / animationObject.numSteps;

						chart.draw(easingFunction(stepDecimal), stepDecimal, currentStep);
					},

					onAnimationProgress: animationOptions.onProgress,
					onAnimationComplete: onComplete
				});

				Chart.animationService.addAnimation(me, animation, duration, lazy);
			} else {
				me.draw();

				// See https://github.com/chartjs/Chart.js/issues/3781
				onComplete(new Chart.Animation({numSteps: 0, chart: me}));
			}

			return me;
		},

		draw: function(easingValue) {
			var me = this;

			me.clear();

			if (helpers.isNullOrUndef(easingValue)) {
				easingValue = 1;
			}

			me.transition(easingValue);

			if (plugins.notify(me, 'beforeDraw', [easingValue]) === false) {
				return;
			}

			// Draw all the scales
			helpers.each(me.boxes, function(box) {
				box.draw(me.chartArea);
			}, me);

			if (me.scale) {
				me.scale.draw();
			}

			me.drawDatasets(easingValue);
			me._drawTooltip(easingValue);

			plugins.notify(me, 'afterDraw', [easingValue]);
		},

		/**
		 * @private
		 */
		transition: function(easingValue) {
			var me = this;

			for (var i = 0, ilen = (me.data.datasets || []).length; i < ilen; ++i) {
				if (me.isDatasetVisible(i)) {
					me.getDatasetMeta(i).controller.transition(easingValue);
				}
			}

			me.tooltip.transition(easingValue);
		},

		/**
		 * Draws all datasets unless a plugin returns `false` to the `beforeDatasetsDraw`
		 * hook, in which case, plugins will not be called on `afterDatasetsDraw`.
		 * @private
		 */
		drawDatasets: function(easingValue) {
			var me = this;

			if (plugins.notify(me, 'beforeDatasetsDraw', [easingValue]) === false) {
				return;
			}

			// Draw datasets reversed to support proper line stacking
			for (var i = (me.data.datasets || []).length - 1; i >= 0; --i) {
				if (me.isDatasetVisible(i)) {
					me.drawDataset(i, easingValue);
				}
			}

			plugins.notify(me, 'afterDatasetsDraw', [easingValue]);
		},

		/**
		 * Draws dataset at index unless a plugin returns `false` to the `beforeDatasetDraw`
		 * hook, in which case, plugins will not be called on `afterDatasetDraw`.
		 * @private
		 */
		drawDataset: function(index, easingValue) {
			var me = this;
			var meta = me.getDatasetMeta(index);
			var args = {
				meta: meta,
				index: index,
				easingValue: easingValue
			};

			if (plugins.notify(me, 'beforeDatasetDraw', [args]) === false) {
				return;
			}

			meta.controller.draw(easingValue);

			plugins.notify(me, 'afterDatasetDraw', [args]);
		},

		/**
		 * Draws tooltip unless a plugin returns `false` to the `beforeTooltipDraw`
		 * hook, in which case, plugins will not be called on `afterTooltipDraw`.
		 * @private
		 */
		_drawTooltip: function(easingValue) {
			var me = this;
			var tooltip = me.tooltip;
			var args = {
				tooltip: tooltip,
				easingValue: easingValue
			};

			if (plugins.notify(me, 'beforeTooltipDraw', [args]) === false) {
				return;
			}

			tooltip.draw();

			plugins.notify(me, 'afterTooltipDraw', [args]);
		},

		// Get the single element that was clicked on
		// @return : An object containing the dataset index and element index of the matching element. Also contains the rectangle that was draw
		getElementAtEvent: function(e) {
			return Interaction.modes.single(this, e);
		},

		getElementsAtEvent: function(e) {
			return Interaction.modes.label(this, e, {intersect: true});
		},

		getElementsAtXAxis: function(e) {
			return Interaction.modes['x-axis'](this, e, {intersect: true});
		},

		getElementsAtEventForMode: function(e, mode, options) {
			var method = Interaction.modes[mode];
			if (typeof method === 'function') {
				return method(this, e, options);
			}

			return [];
		},

		getDatasetAtEvent: function(e) {
			return Interaction.modes.dataset(this, e, {intersect: true});
		},

		getDatasetMeta: function(datasetIndex) {
			var me = this;
			var dataset = me.data.datasets[datasetIndex];
			if (!dataset._meta) {
				dataset._meta = {};
			}

			var meta = dataset._meta[me.id];
			if (!meta) {
				meta = dataset._meta[me.id] = {
					type: null,
					data: [],
					dataset: null,
					controller: null,
					hidden: null,			// See isDatasetVisible() comment
					xAxisID: null,
					yAxisID: null
				};
			}

			return meta;
		},

		getVisibleDatasetCount: function() {
			var count = 0;
			for (var i = 0, ilen = this.data.datasets.length; i < ilen; ++i) {
				if (this.isDatasetVisible(i)) {
					count++;
				}
			}
			return count;
		},

		isDatasetVisible: function(datasetIndex) {
			var meta = this.getDatasetMeta(datasetIndex);

			// meta.hidden is a per chart dataset hidden flag override with 3 states: if true or false,
			// the dataset.hidden value is ignored, else if null, the dataset hidden state is returned.
			return typeof meta.hidden === 'boolean' ? !meta.hidden : !this.data.datasets[datasetIndex].hidden;
		},

		generateLegend: function() {
			return this.options.legendCallback(this);
		},

		/**
		 * @private
		 */
		destroyDatasetMeta: function(datasetIndex) {
			var id = this.id;
			var dataset = this.data.datasets[datasetIndex];
			var meta = dataset._meta && dataset._meta[id];

			if (meta) {
				meta.controller.destroy();
				delete dataset._meta[id];
			}
		},

		destroy: function() {
			var me = this;
			var canvas = me.canvas;
			var i, ilen;

			me.stop();

			// dataset controllers need to cleanup associated data
			for (i = 0, ilen = me.data.datasets.length; i < ilen; ++i) {
				me.destroyDatasetMeta(i);
			}

			if (canvas) {
				me.unbindEvents();
				helpers.canvas.clear(me);
				platform.releaseContext(me.ctx);
				me.canvas = null;
				me.ctx = null;
			}

			plugins.notify(me, 'destroy');

			delete Chart.instances[me.id];
		},

		toBase64Image: function() {
			return this.canvas.toDataURL.apply(this.canvas, arguments);
		},

		initToolTip: function() {
			var me = this;
			me.tooltip = new Chart.Tooltip({
				_chart: me,
				_chartInstance: me, // deprecated, backward compatibility
				_data: me.data,
				_options: me.options.tooltips
			}, me);
		},

		/**
		 * @private
		 */
		bindEvents: function() {
			var me = this;
			var listeners = me._listeners = {};
			var listener = function() {
				me.eventHandler.apply(me, arguments);
			};

			helpers.each(me.options.events, function(type) {
				platform.addEventListener(me, type, listener);
				listeners[type] = listener;
			});

			// Elements used to detect size change should not be injected for non responsive charts.
			// See https://github.com/chartjs/Chart.js/issues/2210
			if (me.options.responsive) {
				listener = function() {
					me.resize();
				};

				platform.addEventListener(me, 'resize', listener);
				listeners.resize = listener;
			}
		},

		/**
		 * @private
		 */
		unbindEvents: function() {
			var me = this;
			var listeners = me._listeners;
			if (!listeners) {
				return;
			}

			delete me._listeners;
			helpers.each(listeners, function(listener, type) {
				platform.removeEventListener(me, type, listener);
			});
		},

		updateHoverStyle: function(elements, mode, enabled) {
			var method = enabled ? 'setHoverStyle' : 'removeHoverStyle';
			var element, i, ilen;

			for (i = 0, ilen = elements.length; i < ilen; ++i) {
				element = elements[i];
				if (element) {
					this.getDatasetMeta(element._datasetIndex).controller[method](element);
				}
			}
		},

		/**
		 * @private
		 */
		eventHandler: function(e) {
			var me = this;
			var tooltip = me.tooltip;

			if (plugins.notify(me, 'beforeEvent', [e]) === false) {
				return;
			}

			// Buffer any update calls so that renders do not occur
			me._bufferedRender = true;
			me._bufferedRequest = null;

			var changed = me.handleEvent(e);
			changed |= tooltip && tooltip.handleEvent(e);

			plugins.notify(me, 'afterEvent', [e]);

			var bufferedRequest = me._bufferedRequest;
			if (bufferedRequest) {
				// If we have an update that was triggered, we need to do a normal render
				me.render(bufferedRequest);
			} else if (changed && !me.animating) {
				// If entering, leaving, or changing elements, animate the change via pivot
				me.stop();

				// We only need to render at this point. Updating will cause scales to be
				// recomputed generating flicker & using more memory than necessary.
				me.render(me.options.hover.animationDuration, true);
			}

			me._bufferedRender = false;
			me._bufferedRequest = null;

			return me;
		},

		/**
		 * Handle an event
		 * @private
		 * @param {IEvent} event the event to handle
		 * @return {Boolean} true if the chart needs to re-render
		 */
		handleEvent: function(e) {
			var me = this;
			var options = me.options || {};
			var hoverOptions = options.hover;
			var changed = false;

			me.lastActive = me.lastActive || [];

			// Find Active Elements for hover and tooltips
			if (e.type === 'mouseout') {
				me.active = [];
			} else {
				me.active = me.getElementsAtEventForMode(e, hoverOptions.mode, hoverOptions);
			}

			// Invoke onHover hook
			// Need to call with native event here to not break backwards compatibility
			helpers.callback(options.onHover || options.hover.onHover, [e.native, me.active], me);

			if (e.type === 'mouseup' || e.type === 'click') {
				if (options.onClick) {
					// Use e.native here for backwards compatibility
					options.onClick.call(me, e.native, me.active);
				}
			}

			// Remove styling for last active (even if it may still be active)
			if (me.lastActive.length) {
				me.updateHoverStyle(me.lastActive, hoverOptions.mode, false);
			}

			// Built in hover styling
			if (me.active.length && hoverOptions.mode) {
				me.updateHoverStyle(me.active, hoverOptions.mode, true);
			}

			changed = !helpers.arrayEquals(me.active, me.lastActive);

			// Remember Last Actives
			me.lastActive = me.active;

			return changed;
		}
	});

	/**
	 * Provided for backward compatibility, use Chart instead.
	 * @class Chart.Controller
	 * @deprecated since version 2.6.0
	 * @todo remove at version 3
	 * @private
	 */
	Chart.Controller = Chart;
};

},{"25":25,"28":28,"45":45,"48":48}],24:[function(require,module,exports){
'use strict';

var helpers = require(45);

module.exports = function(Chart) {

	var arrayEvents = ['push', 'pop', 'shift', 'splice', 'unshift'];

	/**
	 * Hooks the array methods that add or remove values ('push', pop', 'shift', 'splice',
	 * 'unshift') and notify the listener AFTER the array has been altered. Listeners are
	 * called on the 'onData*' callbacks (e.g. onDataPush, etc.) with same arguments.
	 */
	function listenArrayEvents(array, listener) {
		if (array._chartjs) {
			array._chartjs.listeners.push(listener);
			return;
		}

		Object.defineProperty(array, '_chartjs', {
			configurable: true,
			enumerable: false,
			value: {
				listeners: [listener]
			}
		});

		arrayEvents.forEach(function(key) {
			var method = 'onData' + key.charAt(0).toUpperCase() + key.slice(1);
			var base = array[key];

			Object.defineProperty(array, key, {
				configurable: true,
				enumerable: false,
				value: function() {
					var args = Array.prototype.slice.call(arguments);
					var res = base.apply(this, args);

					helpers.each(array._chartjs.listeners, function(object) {
						if (typeof object[method] === 'function') {
							object[method].apply(object, args);
						}
					});

					return res;
				}
			});
		});
	}

	/**
	 * Removes the given array event listener and cleanup extra attached properties (such as
	 * the _chartjs stub and overridden methods) if array doesn't have any more listeners.
	 */
	function unlistenArrayEvents(array, listener) {
		var stub = array._chartjs;
		if (!stub) {
			return;
		}

		var listeners = stub.listeners;
		var index = listeners.indexOf(listener);
		if (index !== -1) {
			listeners.splice(index, 1);
		}

		if (listeners.length > 0) {
			return;
		}

		arrayEvents.forEach(function(key) {
			delete array[key];
		});

		delete array._chartjs;
	}

	// Base class for all dataset controllers (line, bar, etc)
	Chart.DatasetController = function(chart, datasetIndex) {
		this.initialize(chart, datasetIndex);
	};

	helpers.extend(Chart.DatasetController.prototype, {

		/**
		 * Element type used to generate a meta dataset (e.g. Chart.element.Line).
		 * @type {Chart.core.element}
		 */
		datasetElementType: null,

		/**
		 * Element type used to generate a meta data (e.g. Chart.element.Point).
		 * @type {Chart.core.element}
		 */
		dataElementType: null,

		initialize: function(chart, datasetIndex) {
			var me = this;
			me.chart = chart;
			me.index = datasetIndex;
			me.linkScales();
			me.addElements();
		},

		updateIndex: function(datasetIndex) {
			this.index = datasetIndex;
		},

		linkScales: function() {
			var me = this;
			var meta = me.getMeta();
			var dataset = me.getDataset();

			if (meta.xAxisID === null) {
				meta.xAxisID = dataset.xAxisID || me.chart.options.scales.xAxes[0].id;
			}
			if (meta.yAxisID === null) {
				meta.yAxisID = dataset.yAxisID || me.chart.options.scales.yAxes[0].id;
			}
		},

		getDataset: function() {
			return this.chart.data.datasets[this.index];
		},

		getMeta: function() {
			return this.chart.getDatasetMeta(this.index);
		},

		getScaleForId: function(scaleID) {
			return this.chart.scales[scaleID];
		},

		reset: function() {
			this.update(true);
		},

		/**
		 * @private
		 */
		destroy: function() {
			if (this._data) {
				unlistenArrayEvents(this._data, this);
			}
		},

		createMetaDataset: function() {
			var me = this;
			var type = me.datasetElementType;
			return type && new type({
				_chart: me.chart,
				_datasetIndex: me.index
			});
		},

		createMetaData: function(index) {
			var me = this;
			var type = me.dataElementType;
			return type && new type({
				_chart: me.chart,
				_datasetIndex: me.index,
				_index: index
			});
		},

		addElements: function() {
			var me = this;
			var meta = me.getMeta();
			var data = me.getDataset().data || [];
			var metaData = meta.data;
			var i, ilen;

			for (i = 0, ilen = data.length; i < ilen; ++i) {
				metaData[i] = metaData[i] || me.createMetaData(i);
			}

			meta.dataset = meta.dataset || me.createMetaDataset();
		},

		addElementAndReset: function(index) {
			var element = this.createMetaData(index);
			this.getMeta().data.splice(index, 0, element);
			this.updateElement(element, index, true);
		},

		buildOrUpdateElements: function() {
			var me = this;
			var dataset = me.getDataset();
			var data = dataset.data || (dataset.data = []);

			// In order to correctly handle data addition/deletion animation (an thus simulate
			// real-time charts), we need to monitor these data modifications and synchronize
			// the internal meta data accordingly.
			if (me._data !== data) {
				if (me._data) {
					// This case happens when the user replaced the data array instance.
					unlistenArrayEvents(me._data, me);
				}

				listenArrayEvents(data, me);
				me._data = data;
			}

			// Re-sync meta data in case the user replaced the data array or if we missed
			// any updates and so make sure that we handle number of datapoints changing.
			me.resyncElements();
		},

		update: helpers.noop,

		transition: function(easingValue) {
			var meta = this.getMeta();
			var elements = meta.data || [];
			var ilen = elements.length;
			var i = 0;

			for (; i < ilen; ++i) {
				elements[i].transition(easingValue);
			}

			if (meta.dataset) {
				meta.dataset.transition(easingValue);
			}
		},

		draw: function() {
			var meta = this.getMeta();
			var elements = meta.data || [];
			var ilen = elements.length;
			var i = 0;

			if (meta.dataset) {
				meta.dataset.draw();
			}

			for (; i < ilen; ++i) {
				elements[i].draw();
			}
		},

		removeHoverStyle: function(element, elementOpts) {
			var dataset = this.chart.data.datasets[element._datasetIndex];
			var index = element._index;
			var custom = element.custom || {};
			var valueOrDefault = helpers.valueAtIndexOrDefault;
			var model = element._model;

			model.backgroundColor = custom.backgroundColor ? custom.backgroundColor : valueOrDefault(dataset.backgroundColor, index, elementOpts.backgroundColor);
			model.borderColor = custom.borderColor ? custom.borderColor : valueOrDefault(dataset.borderColor, index, elementOpts.borderColor);
			model.borderWidth = custom.borderWidth ? custom.borderWidth : valueOrDefault(dataset.borderWidth, index, elementOpts.borderWidth);
		},

		setHoverStyle: function(element) {
			var dataset = this.chart.data.datasets[element._datasetIndex];
			var index = element._index;
			var custom = element.custom || {};
			var valueOrDefault = helpers.valueAtIndexOrDefault;
			var getHoverColor = helpers.getHoverColor;
			var model = element._model;

			model.backgroundColor = custom.hoverBackgroundColor ? custom.hoverBackgroundColor : valueOrDefault(dataset.hoverBackgroundColor, index, getHoverColor(model.backgroundColor));
			model.borderColor = custom.hoverBorderColor ? custom.hoverBorderColor : valueOrDefault(dataset.hoverBorderColor, index, getHoverColor(model.borderColor));
			model.borderWidth = custom.hoverBorderWidth ? custom.hoverBorderWidth : valueOrDefault(dataset.hoverBorderWidth, index, model.borderWidth);
		},

		/**
		 * @private
		 */
		resyncElements: function() {
			var me = this;
			var meta = me.getMeta();
			var data = me.getDataset().data;
			var numMeta = meta.data.length;
			var numData = data.length;

			if (numData < numMeta) {
				meta.data.splice(numData, numMeta - numData);
			} else if (numData > numMeta) {
				me.insertElements(numMeta, numData - numMeta);
			}
		},

		/**
		 * @private
		 */
		insertElements: function(start, count) {
			for (var i = 0; i < count; ++i) {
				this.addElementAndReset(start + i);
			}
		},

		/**
		 * @private
		 */
		onDataPush: function() {
			this.insertElements(this.getDataset().data.length - 1, arguments.length);
		},

		/**
		 * @private
		 */
		onDataPop: function() {
			this.getMeta().data.pop();
		},

		/**
		 * @private
		 */
		onDataShift: function() {
			this.getMeta().data.shift();
		},

		/**
		 * @private
		 */
		onDataSplice: function(start, count) {
			this.getMeta().data.splice(start, count);
			this.insertElements(start, arguments.length - 2);
		},

		/**
		 * @private
		 */
		onDataUnshift: function() {
			this.insertElements(0, arguments.length);
		}
	});

	Chart.DatasetController.extend = helpers.inherits;
};

},{"45":45}],25:[function(require,module,exports){
'use strict';

var helpers = require(45);

module.exports = {
	/**
	 * @private
	 */
	_set: function(scope, values) {
		return helpers.merge(this[scope] || (this[scope] = {}), values);
	}
};

},{"45":45}],26:[function(require,module,exports){
'use strict';

var color = require(3);
var helpers = require(45);

function interpolate(start, view, model, ease) {
	var keys = Object.keys(model);
	var i, ilen, key, actual, origin, target, type, c0, c1;

	for (i = 0, ilen = keys.length; i < ilen; ++i) {
		key = keys[i];

		target = model[key];

		// if a value is added to the model after pivot() has been called, the view
		// doesn't contain it, so let's initialize the view to the target value.
		if (!view.hasOwnProperty(key)) {
			view[key] = target;
		}

		actual = view[key];

		if (actual === target || key[0] === '_') {
			continue;
		}

		if (!start.hasOwnProperty(key)) {
			start[key] = actual;
		}

		origin = start[key];

		type = typeof target;

		if (type === typeof origin) {
			if (type === 'string') {
				c0 = color(origin);
				if (c0.valid) {
					c1 = color(target);
					if (c1.valid) {
						view[key] = c1.mix(c0, ease).rgbString();
						continue;
					}
				}
			} else if (type === 'number' && isFinite(origin) && isFinite(target)) {
				view[key] = origin + (target - origin) * ease;
				continue;
			}
		}

		view[key] = target;
	}
}

var Element = function(configuration) {
	helpers.extend(this, configuration);
	this.initialize.apply(this, arguments);
};

helpers.extend(Element.prototype, {

	initialize: function() {
		this.hidden = false;
	},

	pivot: function() {
		var me = this;
		if (!me._view) {
			me._view = helpers.clone(me._model);
		}
		me._start = {};
		return me;
	},

	transition: function(ease) {
		var me = this;
		var model = me._model;
		var start = me._start;
		var view = me._view;

		// No animation -> No Transition
		if (!model || ease === 1) {
			me._view = model;
			me._start = null;
			return me;
		}

		if (!view) {
			view = me._view = {};
		}

		if (!start) {
			start = me._start = {};
		}

		interpolate(start, view, model, ease);

		return me;
	},

	tooltipPosition: function() {
		return {
			x: this._model.x,
			y: this._model.y
		};
	},

	hasValue: function() {
		return helpers.isNumber(this._model.x) && helpers.isNumber(this._model.y);
	}
});

Element.extend = helpers.inherits;

module.exports = Element;

},{"3":3,"45":45}],27:[function(require,module,exports){
/* global window: false */
/* global document: false */
'use strict';

var color = require(3);
var defaults = require(25);
var helpers = require(45);

module.exports = function(Chart) {

	// -- Basic js utility methods

	helpers.configMerge = function(/* objects ... */) {
		return helpers.merge(helpers.clone(arguments[0]), [].slice.call(arguments, 1), {
			merger: function(key, target, source, options) {
				var tval = target[key] || {};
				var sval = source[key];

				if (key === 'scales') {
					// scale config merging is complex. Add our own function here for that
					target[key] = helpers.scaleMerge(tval, sval);
				} else if (key === 'scale') {
					// used in polar area & radar charts since there is only one scale
					target[key] = helpers.merge(tval, [Chart.scaleService.getScaleDefaults(sval.type), sval]);
				} else {
					helpers._merger(key, target, source, options);
				}
			}
		});
	};

	helpers.scaleMerge = function(/* objects ... */) {
		return helpers.merge(helpers.clone(arguments[0]), [].slice.call(arguments, 1), {
			merger: function(key, target, source, options) {
				if (key === 'xAxes' || key === 'yAxes') {
					var slen = source[key].length;
					var i, type, scale;

					if (!target[key]) {
						target[key] = [];
					}

					for (i = 0; i < slen; ++i) {
						scale = source[key][i];
						type = helpers.valueOrDefault(scale.type, key === 'xAxes' ? 'category' : 'linear');

						if (i >= target[key].length) {
							target[key].push({});
						}

						if (!target[key][i].type || (scale.type && scale.type !== target[key][i].type)) {
							// new/untyped scale or type changed: let's apply the new defaults
							// then merge source scale to correctly overwrite the defaults.
							helpers.merge(target[key][i], [Chart.scaleService.getScaleDefaults(type), scale]);
						} else {
							// scales type are the same
							helpers.merge(target[key][i], scale);
						}
					}
				} else {
					helpers._merger(key, target, source, options);
				}
			}
		});
	};

	helpers.where = function(collection, filterCallback) {
		if (helpers.isArray(collection) && Array.prototype.filter) {
			return collection.filter(filterCallback);
		}
		var filtered = [];

		helpers.each(collection, function(item) {
			if (filterCallback(item)) {
				filtered.push(item);
			}
		});

		return filtered;
	};
	helpers.findIndex = Array.prototype.findIndex ?
		function(array, callback, scope) {
			return array.findIndex(callback, scope);
		} :
		function(array, callback, scope) {
			scope = scope === undefined ? array : scope;
			for (var i = 0, ilen = array.length; i < ilen; ++i) {
				if (callback.call(scope, array[i], i, array)) {
					return i;
				}
			}
			return -1;
		};
	helpers.findNextWhere = function(arrayToSearch, filterCallback, startIndex) {
		// Default to start of the array
		if (helpers.isNullOrUndef(startIndex)) {
			startIndex = -1;
		}
		for (var i = startIndex + 1; i < arrayToSearch.length; i++) {
			var currentItem = arrayToSearch[i];
			if (filterCallback(currentItem)) {
				return currentItem;
			}
		}
	};
	helpers.findPreviousWhere = function(arrayToSearch, filterCallback, startIndex) {
		// Default to end of the array
		if (helpers.isNullOrUndef(startIndex)) {
			startIndex = arrayToSearch.length;
		}
		for (var i = startIndex - 1; i >= 0; i--) {
			var currentItem = arrayToSearch[i];
			if (filterCallback(currentItem)) {
				return currentItem;
			}
		}
	};

	// -- Math methods
	helpers.isNumber = function(n) {
		return !isNaN(parseFloat(n)) && isFinite(n);
	};
	helpers.almostEquals = function(x, y, epsilon) {
		return Math.abs(x - y) < epsilon;
	};
	helpers.almostWhole = function(x, epsilon) {
		var rounded = Math.round(x);
		return (((rounded - epsilon) < x) && ((rounded + epsilon) > x));
	};
	helpers.max = function(array) {
		return array.reduce(function(max, value) {
			if (!isNaN(value)) {
				return Math.max(max, value);
			}
			return max;
		}, Number.NEGATIVE_INFINITY);
	};
	helpers.min = function(array) {
		return array.reduce(function(min, value) {
			if (!isNaN(value)) {
				return Math.min(min, value);
			}
			return min;
		}, Number.POSITIVE_INFINITY);
	};
	helpers.sign = Math.sign ?
		function(x) {
			return Math.sign(x);
		} :
		function(x) {
			x = +x; // convert to a number
			if (x === 0 || isNaN(x)) {
				return x;
			}
			return x > 0 ? 1 : -1;
		};
	helpers.log10 = Math.log10 ?
		function(x) {
			return Math.log10(x);
		} :
		function(x) {
			return Math.log(x) / Math.LN10;
		};
	helpers.toRadians = function(degrees) {
		return degrees * (Math.PI / 180);
	};
	helpers.toDegrees = function(radians) {
		return radians * (180 / Math.PI);
	};
	// Gets the angle from vertical upright to the point about a centre.
	helpers.getAngleFromPoint = function(centrePoint, anglePoint) {
		var distanceFromXCenter = anglePoint.x - centrePoint.x;
		var distanceFromYCenter = anglePoint.y - centrePoint.y;
		var radialDistanceFromCenter = Math.sqrt(distanceFromXCenter * distanceFromXCenter + distanceFromYCenter * distanceFromYCenter);

		var angle = Math.atan2(distanceFromYCenter, distanceFromXCenter);

		if (angle < (-0.5 * Math.PI)) {
			angle += 2.0 * Math.PI; // make sure the returned angle is in the range of (-PI/2, 3PI/2]
		}

		return {
			angle: angle,
			distance: radialDistanceFromCenter
		};
	};
	helpers.distanceBetweenPoints = function(pt1, pt2) {
		return Math.sqrt(Math.pow(pt2.x - pt1.x, 2) + Math.pow(pt2.y - pt1.y, 2));
	};
	helpers.aliasPixel = function(pixelWidth) {
		return (pixelWidth % 2 === 0) ? 0 : 0.5;
	};
	helpers.splineCurve = function(firstPoint, middlePoint, afterPoint, t) {
		// Props to Rob Spencer at scaled innovation for his post on splining between points
		// http://scaledinnovation.com/analytics/splines/aboutSplines.html

		// This function must also respect "skipped" points

		var previous = firstPoint.skip ? middlePoint : firstPoint;
		var current = middlePoint;
		var next = afterPoint.skip ? middlePoint : afterPoint;

		var d01 = Math.sqrt(Math.pow(current.x - previous.x, 2) + Math.pow(current.y - previous.y, 2));
		var d12 = Math.sqrt(Math.pow(next.x - current.x, 2) + Math.pow(next.y - current.y, 2));

		var s01 = d01 / (d01 + d12);
		var s12 = d12 / (d01 + d12);

		// If all points are the same, s01 & s02 will be inf
		s01 = isNaN(s01) ? 0 : s01;
		s12 = isNaN(s12) ? 0 : s12;

		var fa = t * s01; // scaling factor for triangle Ta
		var fb = t * s12;

		return {
			previous: {
				x: current.x - fa * (next.x - previous.x),
				y: current.y - fa * (next.y - previous.y)
			},
			next: {
				x: current.x + fb * (next.x - previous.x),
				y: current.y + fb * (next.y - previous.y)
			}
		};
	};
	helpers.EPSILON = Number.EPSILON || 1e-14;
	helpers.splineCurveMonotone = function(points) {
		// This function calculates Bézier control points in a similar way than |splineCurve|,
		// but preserves monotonicity of the provided data and ensures no local extremums are added
		// between the dataset discrete points due to the interpolation.
		// See : https://en.wikipedia.org/wiki/Monotone_cubic_interpolation

		var pointsWithTangents = (points || []).map(function(point) {
			return {
				model: point._model,
				deltaK: 0,
				mK: 0
			};
		});

		// Calculate slopes (deltaK) and initialize tangents (mK)
		var pointsLen = pointsWithTangents.length;
		var i, pointBefore, pointCurrent, pointAfter;
		for (i = 0; i < pointsLen; ++i) {
			pointCurrent = pointsWithTangents[i];
			if (pointCurrent.model.skip) {
				continue;
			}

			pointBefore = i > 0 ? pointsWithTangents[i - 1] : null;
			pointAfter = i < pointsLen - 1 ? pointsWithTangents[i + 1] : null;
			if (pointAfter && !pointAfter.model.skip) {
				var slopeDeltaX = (pointAfter.model.x - pointCurrent.model.x);

				// In the case of two points that appear at the same x pixel, slopeDeltaX is 0
				pointCurrent.deltaK = slopeDeltaX !== 0 ? (pointAfter.model.y - pointCurrent.model.y) / slopeDeltaX : 0;
			}

			if (!pointBefore || pointBefore.model.skip) {
				pointCurrent.mK = pointCurrent.deltaK;
			} else if (!pointAfter || pointAfter.model.skip) {
				pointCurrent.mK = pointBefore.deltaK;
			} else if (this.sign(pointBefore.deltaK) !== this.sign(pointCurrent.deltaK)) {
				pointCurrent.mK = 0;
			} else {
				pointCurrent.mK = (pointBefore.deltaK + pointCurrent.deltaK) / 2;
			}
		}

		// Adjust tangents to ensure monotonic properties
		var alphaK, betaK, tauK, squaredMagnitude;
		for (i = 0; i < pointsLen - 1; ++i) {
			pointCurrent = pointsWithTangents[i];
			pointAfter = pointsWithTangents[i + 1];
			if (pointCurrent.model.skip || pointAfter.model.skip) {
				continue;
			}

			if (helpers.almostEquals(pointCurrent.deltaK, 0, this.EPSILON)) {
				pointCurrent.mK = pointAfter.mK = 0;
				continue;
			}

			alphaK = pointCurrent.mK / pointCurrent.deltaK;
			betaK = pointAfter.mK / pointCurrent.deltaK;
			squaredMagnitude = Math.pow(alphaK, 2) + Math.pow(betaK, 2);
			if (squaredMagnitude <= 9) {
				continue;
			}

			tauK = 3 / Math.sqrt(squaredMagnitude);
			pointCurrent.mK = alphaK * tauK * pointCurrent.deltaK;
			pointAfter.mK = betaK * tauK * pointCurrent.deltaK;
		}

		// Compute control points
		var deltaX;
		for (i = 0; i < pointsLen; ++i) {
			pointCurrent = pointsWithTangents[i];
			if (pointCurrent.model.skip) {
				continue;
			}

			pointBefore = i > 0 ? pointsWithTangents[i - 1] : null;
			pointAfter = i < pointsLen - 1 ? pointsWithTangents[i + 1] : null;
			if (pointBefore && !pointBefore.model.skip) {
				deltaX = (pointCurrent.model.x - pointBefore.model.x) / 3;
				pointCurrent.model.controlPointPreviousX = pointCurrent.model.x - deltaX;
				pointCurrent.model.controlPointPreviousY = pointCurrent.model.y - deltaX * pointCurrent.mK;
			}
			if (pointAfter && !pointAfter.model.skip) {
				deltaX = (pointAfter.model.x - pointCurrent.model.x) / 3;
				pointCurrent.model.controlPointNextX = pointCurrent.model.x + deltaX;
				pointCurrent.model.controlPointNextY = pointCurrent.model.y + deltaX * pointCurrent.mK;
			}
		}
	};
	helpers.nextItem = function(collection, index, loop) {
		if (loop) {
			return index >= collection.length - 1 ? collection[0] : collection[index + 1];
		}
		return index >= collection.length - 1 ? collection[collection.length - 1] : collection[index + 1];
	};
	helpers.previousItem = function(collection, index, loop) {
		if (loop) {
			return index <= 0 ? collection[collection.length - 1] : collection[index - 1];
		}
		return index <= 0 ? collection[0] : collection[index - 1];
	};
	// Implementation of the nice number algorithm used in determining where axis labels will go
	helpers.niceNum = function(range, round) {
		var exponent = Math.floor(helpers.log10(range));
		var fraction = range / Math.pow(10, exponent);
		var niceFraction;

		if (round) {
			if (fraction < 1.5) {
				niceFraction = 1;
			} else if (fraction < 3) {
				niceFraction = 2;
			} else if (fraction < 7) {
				niceFraction = 5;
			} else {
				niceFraction = 10;
			}
		} else if (fraction <= 1.0) {
			niceFraction = 1;
		} else if (fraction <= 2) {
			niceFraction = 2;
		} else if (fraction <= 5) {
			niceFraction = 5;
		} else {
			niceFraction = 10;
		}

		return niceFraction * Math.pow(10, exponent);
	};
	// Request animation polyfill - http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/
	helpers.requestAnimFrame = (function() {
		if (typeof window === 'undefined') {
			return function(callback) {
				callback();
			};
		}
		return window.requestAnimationFrame ||
			window.webkitRequestAnimationFrame ||
			window.mozRequestAnimationFrame ||
			window.oRequestAnimationFrame ||
			window.msRequestAnimationFrame ||
			function(callback) {
				return window.setTimeout(callback, 1000 / 60);
			};
	}());
	// -- DOM methods
	helpers.getRelativePosition = function(evt, chart) {
		var mouseX, mouseY;
		var e = evt.originalEvent || evt;
		var canvas = evt.currentTarget || evt.srcElement;
		var boundingRect = canvas.getBoundingClientRect();

		var touches = e.touches;
		if (touches && touches.length > 0) {
			mouseX = touches[0].clientX;
			mouseY = touches[0].clientY;

		} else {
			mouseX = e.clientX;
			mouseY = e.clientY;
		}

		// Scale mouse coordinates into canvas coordinates
		// by following the pattern laid out by 'jerryj' in the comments of
		// http://www.html5canvastutorials.com/advanced/html5-canvas-mouse-coordinates/
		var paddingLeft = parseFloat(helpers.getStyle(canvas, 'padding-left'));
		var paddingTop = parseFloat(helpers.getStyle(canvas, 'padding-top'));
		var paddingRight = parseFloat(helpers.getStyle(canvas, 'padding-right'));
		var paddingBottom = parseFloat(helpers.getStyle(canvas, 'padding-bottom'));
		var width = boundingRect.right - boundingRect.left - paddingLeft - paddingRight;
		var height = boundingRect.bottom - boundingRect.top - paddingTop - paddingBottom;

		// We divide by the current device pixel ratio, because the canvas is scaled up by that amount in each direction. However
		// the backend model is in unscaled coordinates. Since we are going to deal with our model coordinates, we go back here
		mouseX = Math.round((mouseX - boundingRect.left - paddingLeft) / (width) * canvas.width / chart.currentDevicePixelRatio);
		mouseY = Math.round((mouseY - boundingRect.top - paddingTop) / (height) * canvas.height / chart.currentDevicePixelRatio);

		return {
			x: mouseX,
			y: mouseY
		};

	};

	// Private helper function to convert max-width/max-height values that may be percentages into a number
	function parseMaxStyle(styleValue, node, parentProperty) {
		var valueInPixels;
		if (typeof styleValue === 'string') {
			valueInPixels = parseInt(styleValue, 10);

			if (styleValue.indexOf('%') !== -1) {
				// percentage * size in dimension
				valueInPixels = valueInPixels / 100 * node.parentNode[parentProperty];
			}
		} else {
			valueInPixels = styleValue;
		}

		return valueInPixels;
	}

	/**
	 * Returns if the given value contains an effective constraint.
	 * @private
	 */
	function isConstrainedValue(value) {
		return value !== undefined && value !== null && value !== 'none';
	}

	// Private helper to get a constraint dimension
	// @param domNode : the node to check the constraint on
	// @param maxStyle : the style that defines the maximum for the direction we are using (maxWidth / maxHeight)
	// @param percentageProperty : property of parent to use when calculating width as a percentage
	// @see http://www.nathanaeljones.com/blog/2013/reading-max-width-cross-browser
	function getConstraintDimension(domNode, maxStyle, percentageProperty) {
		var view = document.defaultView;
		var parentNode = domNode.parentNode;
		var constrainedNode = view.getComputedStyle(domNode)[maxStyle];
		var constrainedContainer = view.getComputedStyle(parentNode)[maxStyle];
		var hasCNode = isConstrainedValue(constrainedNode);
		var hasCContainer = isConstrainedValue(constrainedContainer);
		var infinity = Number.POSITIVE_INFINITY;

		if (hasCNode || hasCContainer) {
			return Math.min(
				hasCNode ? parseMaxStyle(constrainedNode, domNode, percentageProperty) : infinity,
				hasCContainer ? parseMaxStyle(constrainedContainer, parentNode, percentageProperty) : infinity);
		}

		return 'none';
	}
	// returns Number or undefined if no constraint
	helpers.getConstraintWidth = function(domNode) {
		return getConstraintDimension(domNode, 'max-width', 'clientWidth');
	};
	// returns Number or undefined if no constraint
	helpers.getConstraintHeight = function(domNode) {
		return getConstraintDimension(domNode, 'max-height', 'clientHeight');
	};
	helpers.getMaximumWidth = function(domNode) {
		var container = domNode.parentNode;
		if (!container) {
			return domNode.clientWidth;
		}

		var paddingLeft = parseInt(helpers.getStyle(container, 'padding-left'), 10);
		var paddingRight = parseInt(helpers.getStyle(container, 'padding-right'), 10);
		var w = container.clientWidth - paddingLeft - paddingRight;
		var cw = helpers.getConstraintWidth(domNode);
		return isNaN(cw) ? w : Math.min(w, cw);
	};
	helpers.getMaximumHeight = function(domNode) {
		var container = domNode.parentNode;
		if (!container) {
			return domNode.clientHeight;
		}

		var paddingTop = parseInt(helpers.getStyle(container, 'padding-top'), 10);
		var paddingBottom = parseInt(helpers.getStyle(container, 'padding-bottom'), 10);
		var h = container.clientHeight - paddingTop - paddingBottom;
		var ch = helpers.getConstraintHeight(domNode);
		return isNaN(ch) ? h : Math.min(h, ch);
	};
	helpers.getStyle = function(el, property) {
		return el.currentStyle ?
			el.currentStyle[property] :
			document.defaultView.getComputedStyle(el, null).getPropertyValue(property);
	};
	helpers.retinaScale = function(chart, forceRatio) {
		var pixelRatio = chart.currentDevicePixelRatio = forceRatio || window.devicePixelRatio || 1;
		if (pixelRatio === 1) {
			return;
		}

		var canvas = chart.canvas;
		var height = chart.height;
		var width = chart.width;

		canvas.height = height * pixelRatio;
		canvas.width = width * pixelRatio;
		chart.ctx.scale(pixelRatio, pixelRatio);

		// If no style has been set on the canvas, the render size is used as display size,
		// making the chart visually bigger, so let's enforce it to the "correct" values.
		// See https://github.com/chartjs/Chart.js/issues/3575
		canvas.style.height = height + 'px';
		canvas.style.width = width + 'px';
	};
	// -- Canvas methods
	helpers.fontString = function(pixelSize, fontStyle, fontFamily) {
		return fontStyle + ' ' + pixelSize + 'px ' + fontFamily;
	};
	helpers.longestText = function(ctx, font, arrayOfThings, cache) {
		cache = cache || {};
		var data = cache.data = cache.data || {};
		var gc = cache.garbageCollect = cache.garbageCollect || [];

		if (cache.font !== font) {
			data = cache.data = {};
			gc = cache.garbageCollect = [];
			cache.font = font;
		}

		ctx.font = font;
		var longest = 0;
		helpers.each(arrayOfThings, function(thing) {
			// Undefined strings and arrays should not be measured
			if (thing !== undefined && thing !== null && helpers.isArray(thing) !== true) {
				longest = helpers.measureText(ctx, data, gc, longest, thing);
			} else if (helpers.isArray(thing)) {
				// if it is an array lets measure each element
				// to do maybe simplify this function a bit so we can do this more recursively?
				helpers.each(thing, function(nestedThing) {
					// Undefined strings and arrays should not be measured
					if (nestedThing !== undefined && nestedThing !== null && !helpers.isArray(nestedThing)) {
						longest = helpers.measureText(ctx, data, gc, longest, nestedThing);
					}
				});
			}
		});

		var gcLen = gc.length / 2;
		if (gcLen > arrayOfThings.length) {
			for (var i = 0; i < gcLen; i++) {
				delete data[gc[i]];
			}
			gc.splice(0, gcLen);
		}
		return longest;
	};
	helpers.measureText = function(ctx, data, gc, longest, string) {
		var textWidth = data[string];
		if (!textWidth) {
			textWidth = data[string] = ctx.measureText(string).width;
			gc.push(string);
		}
		if (textWidth > longest) {
			longest = textWidth;
		}
		return longest;
	};
	helpers.numberOfLabelLines = function(arrayOfThings) {
		var numberOfLines = 1;
		helpers.each(arrayOfThings, function(thing) {
			if (helpers.isArray(thing)) {
				if (thing.length > numberOfLines) {
					numberOfLines = thing.length;
				}
			}
		});
		return numberOfLines;
	};

	helpers.color = !color ?
		function(value) {
			console.error('Color.js not found!');
			return value;
		} :
		function(value) {
			/* global CanvasGradient */
			if (value instanceof CanvasGradient) {
				value = defaults.global.defaultColor;
			}

			return color(value);
		};

	helpers.getHoverColor = function(colorValue) {
		/* global CanvasPattern */
		return (colorValue instanceof CanvasPattern) ?
			colorValue :
			helpers.color(colorValue).saturate(0.5).darken(0.1).rgbString();
	};
};

},{"25":25,"3":3,"45":45}],28:[function(require,module,exports){
'use strict';

var helpers = require(45);

/**
 * Helper function to get relative position for an event
 * @param {Event|IEvent} event - The event to get the position for
 * @param {Chart} chart - The chart
 * @returns {Point} the event position
 */
function getRelativePosition(e, chart) {
	if (e.native) {
		return {
			x: e.x,
			y: e.y
		};
	}

	return helpers.getRelativePosition(e, chart);
}

/**
 * Helper function to traverse all of the visible elements in the chart
 * @param chart {chart} the chart
 * @param handler {Function} the callback to execute for each visible item
 */
function parseVisibleItems(chart, handler) {
	var datasets = chart.data.datasets;
	var meta, i, j, ilen, jlen;

	for (i = 0, ilen = datasets.length; i < ilen; ++i) {
		if (!chart.isDatasetVisible(i)) {
			continue;
		}

		meta = chart.getDatasetMeta(i);
		for (j = 0, jlen = meta.data.length; j < jlen; ++j) {
			var element = meta.data[j];
			if (!element._view.skip) {
				handler(element);
			}
		}
	}
}

/**
 * Helper function to get the items that intersect the event position
 * @param items {ChartElement[]} elements to filter
 * @param position {Point} the point to be nearest to
 * @return {ChartElement[]} the nearest items
 */
function getIntersectItems(chart, position) {
	var elements = [];

	parseVisibleItems(chart, function(element) {
		if (element.inRange(position.x, position.y)) {
			elements.push(element);
		}
	});

	return elements;
}

/**
 * Helper function to get the items nearest to the event position considering all visible items in teh chart
 * @param chart {Chart} the chart to look at elements from
 * @param position {Point} the point to be nearest to
 * @param intersect {Boolean} if true, only consider items that intersect the position
 * @param distanceMetric {Function} function to provide the distance between points
 * @return {ChartElement[]} the nearest items
 */
function getNearestItems(chart, position, intersect, distanceMetric) {
	var minDistance = Number.POSITIVE_INFINITY;
	var nearestItems = [];

	parseVisibleItems(chart, function(element) {
		if (intersect && !element.inRange(position.x, position.y)) {
			return;
		}

		var center = element.getCenterPoint();
		var distance = distanceMetric(position, center);

		if (distance < minDistance) {
			nearestItems = [element];
			minDistance = distance;
		} else if (distance === minDistance) {
			// Can have multiple items at the same distance in which case we sort by size
			nearestItems.push(element);
		}
	});

	return nearestItems;
}

/**
 * Get a distance metric function for two points based on the
 * axis mode setting
 * @param {String} axis the axis mode. x|y|xy
 */
function getDistanceMetricForAxis(axis) {
	var useX = axis.indexOf('x') !== -1;
	var useY = axis.indexOf('y') !== -1;

	return function(pt1, pt2) {
		var deltaX = useX ? Math.abs(pt1.x - pt2.x) : 0;
		var deltaY = useY ? Math.abs(pt1.y - pt2.y) : 0;
		return Math.sqrt(Math.pow(deltaX, 2) + Math.pow(deltaY, 2));
	};
}

function indexMode(chart, e, options) {
	var position = getRelativePosition(e, chart);
	// Default axis for index mode is 'x' to match old behaviour
	options.axis = options.axis || 'x';
	var distanceMetric = getDistanceMetricForAxis(options.axis);
	var items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false, distanceMetric);
	var elements = [];

	if (!items.length) {
		return [];
	}

	chart.data.datasets.forEach(function(dataset, datasetIndex) {
		if (chart.isDatasetVisible(datasetIndex)) {
			var meta = chart.getDatasetMeta(datasetIndex);
			var element = meta.data[items[0]._index];

			// don't count items that are skipped (null data)
			if (element && !element._view.skip) {
				elements.push(element);
			}
		}
	});

	return elements;
}

/**
 * @interface IInteractionOptions
 */
/**
 * If true, only consider items that intersect the point
 * @name IInterfaceOptions#boolean
 * @type Boolean
 */

/**
 * Contains interaction related functions
 * @namespace Chart.Interaction
 */
module.exports = {
	// Helper function for different modes
	modes: {
		single: function(chart, e) {
			var position = getRelativePosition(e, chart);
			var elements = [];

			parseVisibleItems(chart, function(element) {
				if (element.inRange(position.x, position.y)) {
					elements.push(element);
					return elements;
				}
			});

			return elements.slice(0, 1);
		},

		/**
		 * @function Chart.Interaction.modes.label
		 * @deprecated since version 2.4.0
		 * @todo remove at version 3
		 * @private
		 */
		label: indexMode,

		/**
		 * Returns items at the same index. If the options.intersect parameter is true, we only return items if we intersect something
		 * If the options.intersect mode is false, we find the nearest item and return the items at the same index as that item
		 * @function Chart.Interaction.modes.index
		 * @since v2.4.0
		 * @param chart {chart} the chart we are returning items from
		 * @param e {Event} the event we are find things at
		 * @param options {IInteractionOptions} options to use during interaction
		 * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned
		 */
		index: indexMode,

		/**
		 * Returns items in the same dataset. If the options.intersect parameter is true, we only return items if we intersect something
		 * If the options.intersect is false, we find the nearest item and return the items in that dataset
		 * @function Chart.Interaction.modes.dataset
		 * @param chart {chart} the chart we are returning items from
		 * @param e {Event} the event we are find things at
		 * @param options {IInteractionOptions} options to use during interaction
		 * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned
		 */
		dataset: function(chart, e, options) {
			var position = getRelativePosition(e, chart);
			options.axis = options.axis || 'xy';
			var distanceMetric = getDistanceMetricForAxis(options.axis);
			var items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false, distanceMetric);

			if (items.length > 0) {
				items = chart.getDatasetMeta(items[0]._datasetIndex).data;
			}

			return items;
		},

		/**
		 * @function Chart.Interaction.modes.x-axis
		 * @deprecated since version 2.4.0. Use index mode and intersect == true
		 * @todo remove at version 3
		 * @private
		 */
		'x-axis': function(chart, e) {
			return indexMode(chart, e, {intersect: false});
		},

		/**
		 * Point mode returns all elements that hit test based on the event position
		 * of the event
		 * @function Chart.Interaction.modes.intersect
		 * @param chart {chart} the chart we are returning items from
		 * @param e {Event} the event we are find things at
		 * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned
		 */
		point: function(chart, e) {
			var position = getRelativePosition(e, chart);
			return getIntersectItems(chart, position);
		},

		/**
		 * nearest mode returns the element closest to the point
		 * @function Chart.Interaction.modes.intersect
		 * @param chart {chart} the chart we are returning items from
		 * @param e {Event} the event we are find things at
		 * @param options {IInteractionOptions} options to use
		 * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned
		 */
		nearest: function(chart, e, options) {
			var position = getRelativePosition(e, chart);
			options.axis = options.axis || 'xy';
			var distanceMetric = getDistanceMetricForAxis(options.axis);
			var nearestItems = getNearestItems(chart, position, options.intersect, distanceMetric);

			// We have multiple items at the same distance from the event. Now sort by smallest
			if (nearestItems.length > 1) {
				nearestItems.sort(function(a, b) {
					var sizeA = a.getArea();
					var sizeB = b.getArea();
					var ret = sizeA - sizeB;

					if (ret === 0) {
						// if equal sort by dataset index
						ret = a._datasetIndex - b._datasetIndex;
					}

					return ret;
				});
			}

			// Return only 1 item
			return nearestItems.slice(0, 1);
		},

		/**
		 * x mode returns the elements that hit-test at the current x coordinate
		 * @function Chart.Interaction.modes.x
		 * @param chart {chart} the chart we are returning items from
		 * @param e {Event} the event we are find things at
		 * @param options {IInteractionOptions} options to use
		 * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned
		 */
		x: function(chart, e, options) {
			var position = getRelativePosition(e, chart);
			var items = [];
			var intersectsItem = false;

			parseVisibleItems(chart, function(element) {
				if (element.inXRange(position.x)) {
					items.push(element);
				}

				if (element.inRange(position.x, position.y)) {
					intersectsItem = true;
				}
			});

			// If we want to trigger on an intersect and we don't have any items
			// that intersect the position, return nothing
			if (options.intersect && !intersectsItem) {
				items = [];
			}
			return items;
		},

		/**
		 * y mode returns the elements that hit-test at the current y coordinate
		 * @function Chart.Interaction.modes.y
		 * @param chart {chart} the chart we are returning items from
		 * @param e {Event} the event we are find things at
		 * @param options {IInteractionOptions} options to use
		 * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned
		 */
		y: function(chart, e, options) {
			var position = getRelativePosition(e, chart);
			var items = [];
			var intersectsItem = false;

			parseVisibleItems(chart, function(element) {
				if (element.inYRange(position.y)) {
					items.push(element);
				}

				if (element.inRange(position.x, position.y)) {
					intersectsItem = true;
				}
			});

			// If we want to trigger on an intersect and we don't have any items
			// that intersect the position, return nothing
			if (options.intersect && !intersectsItem) {
				items = [];
			}
			return items;
		}
	}
};

},{"45":45}],29:[function(require,module,exports){
'use strict';

var defaults = require(25);

defaults._set('global', {
	responsive: true,
	responsiveAnimationDuration: 0,
	maintainAspectRatio: true,
	events: ['mousemove', 'mouseout', 'click', 'touchstart', 'touchmove'],
	hover: {
		onHover: null,
		mode: 'nearest',
		intersect: true,
		animationDuration: 400
	},
	onClick: null,
	defaultColor: 'rgba(0,0,0,0.1)',
	defaultFontColor: '#666',
	defaultFontFamily: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
	defaultFontSize: 12,
	defaultFontStyle: 'normal',
	showLines: true,

	// Element defaults defined in element extensions
	elements: {},

	// Layout options such as padding
	layout: {
		padding: {
			top: 0,
			right: 0,
			bottom: 0,
			left: 0
		}
	}
});

module.exports = function() {

	// Occupy the global variable of Chart, and create a simple base class
	var Chart = function(item, config) {
		this.construct(item, config);
		return this;
	};

	Chart.Chart = Chart;

	return Chart;
};

},{"25":25}],30:[function(require,module,exports){
'use strict';

var helpers = require(45);

module.exports = function(Chart) {

	function filterByPosition(array, position) {
		return helpers.where(array, function(v) {
			return v.position === position;
		});
	}

	function sortByWeight(array, reverse) {
		array.forEach(function(v, i) {
			v._tmpIndex_ = i;
			return v;
		});
		array.sort(function(a, b) {
			var v0 = reverse ? b : a;
			var v1 = reverse ? a : b;
			return v0.weight === v1.weight ?
				v0._tmpIndex_ - v1._tmpIndex_ :
				v0.weight - v1.weight;
		});
		array.forEach(function(v) {
			delete v._tmpIndex_;
		});
	}

	/**
	 * @interface ILayoutItem
	 * @prop {String} position - The position of the item in the chart layout. Possible values are
	 * 'left', 'top', 'right', 'bottom', and 'chartArea'
	 * @prop {Number} weight - The weight used to sort the item. Higher weights are further away from the chart area
	 * @prop {Boolean} fullWidth - if true, and the item is horizontal, then push vertical boxes down
	 * @prop {Function} isHorizontal - returns true if the layout item is horizontal (ie. top or bottom)
	 * @prop {Function} update - Takes two parameters: width and height. Returns size of item
	 * @prop {Function} getPadding -  Returns an object with padding on the edges
	 * @prop {Number} width - Width of item. Must be valid after update()
	 * @prop {Number} height - Height of item. Must be valid after update()
	 * @prop {Number} left - Left edge of the item. Set by layout system and cannot be used in update
	 * @prop {Number} top - Top edge of the item. Set by layout system and cannot be used in update
	 * @prop {Number} right - Right edge of the item. Set by layout system and cannot be used in update
	 * @prop {Number} bottom - Bottom edge of the item. Set by layout system and cannot be used in update
	 */

	// The layout service is very self explanatory.  It's responsible for the layout within a chart.
	// Scales, Legends and Plugins all rely on the layout service and can easily register to be placed anywhere they need
	// It is this service's responsibility of carrying out that layout.
	Chart.layoutService = {
		defaults: {},

		/**
		 * Register a box to a chart.
		 * A box is simply a reference to an object that requires layout. eg. Scales, Legend, Title.
		 * @param {Chart} chart - the chart to use
		 * @param {ILayoutItem} item - the item to add to be layed out
		 */
		addBox: function(chart, item) {
			if (!chart.boxes) {
				chart.boxes = [];
			}

			// initialize item with default values
			item.fullWidth = item.fullWidth || false;
			item.position = item.position || 'top';
			item.weight = item.weight || 0;

			chart.boxes.push(item);
		},

		/**
		 * Remove a layoutItem from a chart
		 * @param {Chart} chart - the chart to remove the box from
		 * @param {Object} layoutItem - the item to remove from the layout
		 */
		removeBox: function(chart, layoutItem) {
			var index = chart.boxes ? chart.boxes.indexOf(layoutItem) : -1;
			if (index !== -1) {
				chart.boxes.splice(index, 1);
			}
		},

		/**
		 * Sets (or updates) options on the given `item`.
		 * @param {Chart} chart - the chart in which the item lives (or will be added to)
		 * @param {Object} item - the item to configure with the given options
		 * @param {Object} options - the new item options.
		 */
		configure: function(chart, item, options) {
			var props = ['fullWidth', 'position', 'weight'];
			var ilen = props.length;
			var i = 0;
			var prop;

			for (; i < ilen; ++i) {
				prop = props[i];
				if (options.hasOwnProperty(prop)) {
					item[prop] = options[prop];
				}
			}
		},

		/**
		 * Fits boxes of the given chart into the given size by having each box measure itself
		 * then running a fitting algorithm
		 * @param {Chart} chart - the chart
		 * @param {Number} width - the width to fit into
		 * @param {Number} height - the height to fit into
		 */
		update: function(chart, width, height) {
			if (!chart) {
				return;
			}

			var layoutOptions = chart.options.layout || {};
			var padding = helpers.options.toPadding(layoutOptions.padding);
			var leftPadding = padding.left;
			var rightPadding = padding.right;
			var topPadding = padding.top;
			var bottomPadding = padding.bottom;

			var leftBoxes = filterByPosition(chart.boxes, 'left');
			var rightBoxes = filterByPosition(chart.boxes, 'right');
			var topBoxes = filterByPosition(chart.boxes, 'top');
			var bottomBoxes = filterByPosition(chart.boxes, 'bottom');
			var chartAreaBoxes = filterByPosition(chart.boxes, 'chartArea');

			// Sort boxes by weight. A higher weight is further away from the chart area
			sortByWeight(leftBoxes, true);
			sortByWeight(rightBoxes, false);
			sortByWeight(topBoxes, true);
			sortByWeight(bottomBoxes, false);

			// Essentially we now have any number of boxes on each of the 4 sides.
			// Our canvas looks like the following.
			// The areas L1 and L2 are the left axes. R1 is the right axis, T1 is the top axis and
			// B1 is the bottom axis
			// There are also 4 quadrant-like locations (left to right instead of clockwise) reserved for chart overlays
			// These locations are single-box locations only, when trying to register a chartArea location that is already taken,
			// an error will be thrown.
			//
			// |----------------------------------------------------|
			// |                  T1 (Full Width)                   |
			// |----------------------------------------------------|
			// |    |    |                 T2                  |    |
			// |    |----|-------------------------------------|----|
			// |    |    | C1 |                           | C2 |    |
			// |    |    |----|                           |----|    |
			// |    |    |                                     |    |
			// | L1 | L2 |           ChartArea (C0)            | R1 |
			// |    |    |                                     |    |
			// |    |    |----|                           |----|    |
			// |    |    | C3 |                           | C4 |    |
			// |    |----|-------------------------------------|----|
			// |    |    |                 B1                  |    |
			// |----------------------------------------------------|
			// |                  B2 (Full Width)                   |
			// |----------------------------------------------------|
			//
			// What we do to find the best sizing, we do the following
			// 1. Determine the minimum size of the chart area.
			// 2. Split the remaining width equally between each vertical axis
			// 3. Split the remaining height equally between each horizontal axis
			// 4. Give each layout the maximum size it can be. The layout will return it's minimum size
			// 5. Adjust the sizes of each axis based on it's minimum reported size.
			// 6. Refit each axis
			// 7. Position each axis in the final location
			// 8. Tell the chart the final location of the chart area
			// 9. Tell any axes that overlay the chart area the positions of the chart area

			// Step 1
			var chartWidth = width - leftPadding - rightPadding;
			var chartHeight = height - topPadding - bottomPadding;
			var chartAreaWidth = chartWidth / 2; // min 50%
			var chartAreaHeight = chartHeight / 2; // min 50%

			// Step 2
			var verticalBoxWidth = (width - chartAreaWidth) / (leftBoxes.length + rightBoxes.length);

			// Step 3
			var horizontalBoxHeight = (height - chartAreaHeight) / (topBoxes.length + bottomBoxes.length);

			// Step 4
			var maxChartAreaWidth = chartWidth;
			var maxChartAreaHeight = chartHeight;
			var minBoxSizes = [];

			function getMinimumBoxSize(box) {
				var minSize;
				var isHorizontal = box.isHorizontal();

				if (isHorizontal) {
					minSize = box.update(box.fullWidth ? chartWidth : maxChartAreaWidth, horizontalBoxHeight);
					maxChartAreaHeight -= minSize.height;
				} else {
					minSize = box.update(verticalBoxWidth, chartAreaHeight);
					maxChartAreaWidth -= minSize.width;
				}

				minBoxSizes.push({
					horizontal: isHorizontal,
					minSize: minSize,
					box: box,
				});
			}

			helpers.each(leftBoxes.concat(rightBoxes, topBoxes, bottomBoxes), getMinimumBoxSize);

			// If a horizontal box has padding, we move the left boxes over to avoid ugly charts (see issue #2478)
			var maxHorizontalLeftPadding = 0;
			var maxHorizontalRightPadding = 0;
			var maxVerticalTopPadding = 0;
			var maxVerticalBottomPadding = 0;

			helpers.each(topBoxes.concat(bottomBoxes), function(horizontalBox) {
				if (horizontalBox.getPadding) {
					var boxPadding = horizontalBox.getPadding();
					maxHorizontalLeftPadding = Math.max(maxHorizontalLeftPadding, boxPadding.left);
					maxHorizontalRightPadding = Math.max(maxHorizontalRightPadding, boxPadding.right);
				}
			});

			helpers.each(leftBoxes.concat(rightBoxes), function(verticalBox) {
				if (verticalBox.getPadding) {
					var boxPadding = verticalBox.getPadding();
					maxVerticalTopPadding = Math.max(maxVerticalTopPadding, boxPadding.top);
					maxVerticalBottomPadding = Math.max(maxVerticalBottomPadding, boxPadding.bottom);
				}
			});

			// At this point, maxChartAreaHeight and maxChartAreaWidth are the size the chart area could
			// be if the axes are drawn at their minimum sizes.
			// Steps 5 & 6
			var totalLeftBoxesWidth = leftPadding;
			var totalRightBoxesWidth = rightPadding;
			var totalTopBoxesHeight = topPadding;
			var totalBottomBoxesHeight = bottomPadding;

			// Function to fit a box
			function fitBox(box) {
				var minBoxSize = helpers.findNextWhere(minBoxSizes, function(minBox) {
					return minBox.box === box;
				});

				if (minBoxSize) {
					if (box.isHorizontal()) {
						var scaleMargin = {
							left: Math.max(totalLeftBoxesWidth, maxHorizontalLeftPadding),
							right: Math.max(totalRightBoxesWidth, maxHorizontalRightPadding),
							top: 0,
							bottom: 0
						};

						// Don't use min size here because of label rotation. When the labels are rotated, their rotation highly depends
						// on the margin. Sometimes they need to increase in size slightly
						box.update(box.fullWidth ? chartWidth : maxChartAreaWidth, chartHeight / 2, scaleMargin);
					} else {
						box.update(minBoxSize.minSize.width, maxChartAreaHeight);
					}
				}
			}

			// Update, and calculate the left and right margins for the horizontal boxes
			helpers.each(leftBoxes.concat(rightBoxes), fitBox);

			helpers.each(leftBoxes, function(box) {
				totalLeftBoxesWidth += box.width;
			});

			helpers.each(rightBoxes, function(box) {
				totalRightBoxesWidth += box.width;
			});

			// Set the Left and Right margins for the horizontal boxes
			helpers.each(topBoxes.concat(bottomBoxes), fitBox);

			// Figure out how much margin is on the top and bottom of the vertical boxes
			helpers.each(topBoxes, function(box) {
				totalTopBoxesHeight += box.height;
			});

			helpers.each(bottomBoxes, function(box) {
				totalBottomBoxesHeight += box.height;
			});

			function finalFitVerticalBox(box) {
				var minBoxSize = helpers.findNextWhere(minBoxSizes, function(minSize) {
					return minSize.box === box;
				});

				var scaleMargin = {
					left: 0,
					right: 0,
					top: totalTopBoxesHeight,
					bottom: totalBottomBoxesHeight
				};

				if (minBoxSize) {
					box.update(minBoxSize.minSize.width, maxChartAreaHeight, scaleMargin);
				}
			}

			// Let the left layout know the final margin
			helpers.each(leftBoxes.concat(rightBoxes), finalFitVerticalBox);

			// Recalculate because the size of each layout might have changed slightly due to the margins (label rotation for instance)
			totalLeftBoxesWidth = leftPadding;
			totalRightBoxesWidth = rightPadding;
			totalTopBoxesHeight = topPadding;
			totalBottomBoxesHeight = bottomPadding;

			helpers.each(leftBoxes, function(box) {
				totalLeftBoxesWidth += box.width;
			});

			helpers.each(rightBoxes, function(box) {
				totalRightBoxesWidth += box.width;
			});

			helpers.each(topBoxes, function(box) {
				totalTopBoxesHeight += box.height;
			});
			helpers.each(bottomBoxes, function(box) {
				totalBottomBoxesHeight += box.height;
			});

			// We may be adding some padding to account for rotated x axis labels
			var leftPaddingAddition = Math.max(maxHorizontalLeftPadding - totalLeftBoxesWidth, 0);
			totalLeftBoxesWidth += leftPaddingAddition;
			totalRightBoxesWidth += Math.max(maxHorizontalRightPadding - totalRightBoxesWidth, 0);

			var topPaddingAddition = Math.max(maxVerticalTopPadding - totalTopBoxesHeight, 0);
			totalTopBoxesHeight += topPaddingAddition;
			totalBottomBoxesHeight += Math.max(maxVerticalBottomPadding - totalBottomBoxesHeight, 0);

			// Figure out if our chart area changed. This would occur if the dataset layout label rotation
			// changed due to the application of the margins in step 6. Since we can only get bigger, this is safe to do
			// without calling `fit` again
			var newMaxChartAreaHeight = height - totalTopBoxesHeight - totalBottomBoxesHeight;
			var newMaxChartAreaWidth = width - totalLeftBoxesWidth - totalRightBoxesWidth;

			if (newMaxChartAreaWidth !== maxChartAreaWidth || newMaxChartAreaHeight !== maxChartAreaHeight) {
				helpers.each(leftBoxes, function(box) {
					box.height = newMaxChartAreaHeight;
				});

				helpers.each(rightBoxes, function(box) {
					box.height = newMaxChartAreaHeight;
				});

				helpers.each(topBoxes, function(box) {
					if (!box.fullWidth) {
						box.width = newMaxChartAreaWidth;
					}
				});

				helpers.each(bottomBoxes, function(box) {
					if (!box.fullWidth) {
						box.width = newMaxChartAreaWidth;
					}
				});

				maxChartAreaHeight = newMaxChartAreaHeight;
				maxChartAreaWidth = newMaxChartAreaWidth;
			}

			// Step 7 - Position the boxes
			var left = leftPadding + leftPaddingAddition;
			var top = topPadding + topPaddingAddition;

			function placeBox(box) {
				if (box.isHorizontal()) {
					box.left = box.fullWidth ? leftPadding : totalLeftBoxesWidth;
					box.right = box.fullWidth ? width - rightPadding : totalLeftBoxesWidth + maxChartAreaWidth;
					box.top = top;
					box.bottom = top + box.height;

					// Move to next point
					top = box.bottom;

				} else {

					box.left = left;
					box.right = left + box.width;
					box.top = totalTopBoxesHeight;
					box.bottom = totalTopBoxesHeight + maxChartAreaHeight;

					// Move to next point
					left = box.right;
				}
			}

			helpers.each(leftBoxes.concat(topBoxes), placeBox);

			// Account for chart width and height
			left += maxChartAreaWidth;
			top += maxChartAreaHeight;

			helpers.each(rightBoxes, placeBox);
			helpers.each(bottomBoxes, placeBox);

			// Step 8
			chart.chartArea = {
				left: totalLeftBoxesWidth,
				top: totalTopBoxesHeight,
				right: totalLeftBoxesWidth + maxChartAreaWidth,
				bottom: totalTopBoxesHeight + maxChartAreaHeight
			};

			// Step 9
			helpers.each(chartAreaBoxes, function(box) {
				box.left = chart.chartArea.left;
				box.top = chart.chartArea.top;
				box.right = chart.chartArea.right;
				box.bottom = chart.chartArea.bottom;

				box.update(maxChartAreaWidth, maxChartAreaHeight);
			});
		}
	};
};

},{"45":45}],31:[function(require,module,exports){
'use strict';

var defaults = require(25);
var Element = require(26);
var helpers = require(45);

defaults._set('global', {
	plugins: {}
});

module.exports = function(Chart) {

	/**
	 * The plugin service singleton
	 * @namespace Chart.plugins
	 * @since 2.1.0
	 */
	Chart.plugins = {
		/**
		 * Globally registered plugins.
		 * @private
		 */
		_plugins: [],

		/**
		 * This identifier is used to invalidate the descriptors cache attached to each chart
		 * when a global plugin is registered or unregistered. In this case, the cache ID is
		 * incremented and descriptors are regenerated during following API calls.
		 * @private
		 */
		_cacheId: 0,

		/**
		 * Registers the given plugin(s) if not already registered.
		 * @param {Array|Object} plugins plugin instance(s).
		 */
		register: function(plugins) {
			var p = this._plugins;
			([]).concat(plugins).forEach(function(plugin) {
				if (p.indexOf(plugin) === -1) {
					p.push(plugin);
				}
			});

			this._cacheId++;
		},

		/**
		 * Unregisters the given plugin(s) only if registered.
		 * @param {Array|Object} plugins plugin instance(s).
		 */
		unregister: function(plugins) {
			var p = this._plugins;
			([]).concat(plugins).forEach(function(plugin) {
				var idx = p.indexOf(plugin);
				if (idx !== -1) {
					p.splice(idx, 1);
				}
			});

			this._cacheId++;
		},

		/**
		 * Remove all registered plugins.
		 * @since 2.1.5
		 */
		clear: function() {
			this._plugins = [];
			this._cacheId++;
		},

		/**
		 * Returns the number of registered plugins?
		 * @returns {Number}
		 * @since 2.1.5
		 */
		count: function() {
			return this._plugins.length;
		},

		/**
		 * Returns all registered plugin instances.
		 * @returns {Array} array of plugin objects.
		 * @since 2.1.5
		 */
		getAll: function() {
			return this._plugins;
		},

		/**
		 * Calls enabled plugins for `chart` on the specified hook and with the given args.
		 * This method immediately returns as soon as a plugin explicitly returns false. The
		 * returned value can be used, for instance, to interrupt the current action.
		 * @param {Object} chart - The chart instance for which plugins should be called.
		 * @param {String} hook - The name of the plugin method to call (e.g. 'beforeUpdate').
		 * @param {Array} [args] - Extra arguments to apply to the hook call.
		 * @returns {Boolean} false if any of the plugins return false, else returns true.
		 */
		notify: function(chart, hook, args) {
			var descriptors = this.descriptors(chart);
			var ilen = descriptors.length;
			var i, descriptor, plugin, params, method;

			for (i = 0; i < ilen; ++i) {
				descriptor = descriptors[i];
				plugin = descriptor.plugin;
				method = plugin[hook];
				if (typeof method === 'function') {
					params = [chart].concat(args || []);
					params.push(descriptor.options);
					if (method.apply(plugin, params) === false) {
						return false;
					}
				}
			}

			return true;
		},

		/**
		 * Returns descriptors of enabled plugins for the given chart.
		 * @returns {Array} [{ plugin, options }]
		 * @private
		 */
		descriptors: function(chart) {
			var cache = chart._plugins || (chart._plugins = {});
			if (cache.id === this._cacheId) {
				return cache.descriptors;
			}

			var plugins = [];
			var descriptors = [];
			var config = (chart && chart.config) || {};
			var options = (config.options && config.options.plugins) || {};

			this._plugins.concat(config.plugins || []).forEach(function(plugin) {
				var idx = plugins.indexOf(plugin);
				if (idx !== -1) {
					return;
				}

				var id = plugin.id;
				var opts = options[id];
				if (opts === false) {
					return;
				}

				if (opts === true) {
					opts = helpers.clone(defaults.global.plugins[id]);
				}

				plugins.push(plugin);
				descriptors.push({
					plugin: plugin,
					options: opts || {}
				});
			});

			cache.descriptors = descriptors;
			cache.id = this._cacheId;
			return descriptors;
		}
	};

	/**
	 * Plugin extension hooks.
	 * @interface IPlugin
	 * @since 2.1.0
	 */
	/**
	 * @method IPlugin#beforeInit
	 * @desc Called before initializing `chart`.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Object} options - The plugin options.
	 */
	/**
	 * @method IPlugin#afterInit
	 * @desc Called after `chart` has been initialized and before the first update.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Object} options - The plugin options.
	 */
	/**
	 * @method IPlugin#beforeUpdate
	 * @desc Called before updating `chart`. If any plugin returns `false`, the update
	 * is cancelled (and thus subsequent render(s)) until another `update` is triggered.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Object} options - The plugin options.
	 * @returns {Boolean} `false` to cancel the chart update.
	 */
	/**
	 * @method IPlugin#afterUpdate
	 * @desc Called after `chart` has been updated and before rendering. Note that this
	 * hook will not be called if the chart update has been previously cancelled.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Object} options - The plugin options.
	 */
	/**
	 * @method IPlugin#beforeDatasetsUpdate
 	 * @desc Called before updating the `chart` datasets. If any plugin returns `false`,
	 * the datasets update is cancelled until another `update` is triggered.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Object} options - The plugin options.
	 * @returns {Boolean} false to cancel the datasets update.
	 * @since version 2.1.5
	 */
	/**
	 * @method IPlugin#afterDatasetsUpdate
	 * @desc Called after the `chart` datasets have been updated. Note that this hook
	 * will not be called if the datasets update has been previously cancelled.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Object} options - The plugin options.
	 * @since version 2.1.5
	 */
	/**
	 * @method IPlugin#beforeDatasetUpdate
 	 * @desc Called before updating the `chart` dataset at the given `args.index`. If any plugin
	 * returns `false`, the datasets update is cancelled until another `update` is triggered.
	 * @param {Chart} chart - The chart instance.
	 * @param {Object} args - The call arguments.
	 * @param {Number} args.index - The dataset index.
	 * @param {Object} args.meta - The dataset metadata.
	 * @param {Object} options - The plugin options.
	 * @returns {Boolean} `false` to cancel the chart datasets drawing.
	 */
	/**
	 * @method IPlugin#afterDatasetUpdate
 	 * @desc Called after the `chart` datasets at the given `args.index` has been updated. Note
	 * that this hook will not be called if the datasets update has been previously cancelled.
	 * @param {Chart} chart - The chart instance.
	 * @param {Object} args - The call arguments.
	 * @param {Number} args.index - The dataset index.
	 * @param {Object} args.meta - The dataset metadata.
	 * @param {Object} options - The plugin options.
	 */
	/**
	 * @method IPlugin#beforeLayout
	 * @desc Called before laying out `chart`. If any plugin returns `false`,
	 * the layout update is cancelled until another `update` is triggered.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Object} options - The plugin options.
	 * @returns {Boolean} `false` to cancel the chart layout.
	 */
	/**
	 * @method IPlugin#afterLayout
	 * @desc Called after the `chart` has been layed out. Note that this hook will not
	 * be called if the layout update has been previously cancelled.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Object} options - The plugin options.
	 */
	/**
	 * @method IPlugin#beforeRender
	 * @desc Called before rendering `chart`. If any plugin returns `false`,
	 * the rendering is cancelled until another `render` is triggered.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Object} options - The plugin options.
	 * @returns {Boolean} `false` to cancel the chart rendering.
	 */
	/**
	 * @method IPlugin#afterRender
	 * @desc Called after the `chart` has been fully rendered (and animation completed). Note
	 * that this hook will not be called if the rendering has been previously cancelled.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Object} options - The plugin options.
	 */
	/**
	 * @method IPlugin#beforeDraw
	 * @desc Called before drawing `chart` at every animation frame specified by the given
	 * easing value. If any plugin returns `false`, the frame drawing is cancelled until
	 * another `render` is triggered.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Number} easingValue - The current animation value, between 0.0 and 1.0.
	 * @param {Object} options - The plugin options.
	 * @returns {Boolean} `false` to cancel the chart drawing.
	 */
	/**
	 * @method IPlugin#afterDraw
	 * @desc Called after the `chart` has been drawn for the specific easing value. Note
	 * that this hook will not be called if the drawing has been previously cancelled.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Number} easingValue - The current animation value, between 0.0 and 1.0.
	 * @param {Object} options - The plugin options.
	 */
	/**
	 * @method IPlugin#beforeDatasetsDraw
 	 * @desc Called before drawing the `chart` datasets. If any plugin returns `false`,
	 * the datasets drawing is cancelled until another `render` is triggered.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Number} easingValue - The current animation value, between 0.0 and 1.0.
	 * @param {Object} options - The plugin options.
	 * @returns {Boolean} `false` to cancel the chart datasets drawing.
	 */
	/**
	 * @method IPlugin#afterDatasetsDraw
	 * @desc Called after the `chart` datasets have been drawn. Note that this hook
	 * will not be called if the datasets drawing has been previously cancelled.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Number} easingValue - The current animation value, between 0.0 and 1.0.
	 * @param {Object} options - The plugin options.
	 */
	/**
	 * @method IPlugin#beforeDatasetDraw
 	 * @desc Called before drawing the `chart` dataset at the given `args.index` (datasets
	 * are drawn in the reverse order). If any plugin returns `false`, the datasets drawing
	 * is cancelled until another `render` is triggered.
	 * @param {Chart} chart - The chart instance.
	 * @param {Object} args - The call arguments.
	 * @param {Number} args.index - The dataset index.
	 * @param {Object} args.meta - The dataset metadata.
	 * @param {Number} args.easingValue - The current animation value, between 0.0 and 1.0.
	 * @param {Object} options - The plugin options.
	 * @returns {Boolean} `false` to cancel the chart datasets drawing.
	 */
	/**
	 * @method IPlugin#afterDatasetDraw
 	 * @desc Called after the `chart` datasets at the given `args.index` have been drawn
	 * (datasets are drawn in the reverse order). Note that this hook will not be called
	 * if the datasets drawing has been previously cancelled.
	 * @param {Chart} chart - The chart instance.
	 * @param {Object} args - The call arguments.
	 * @param {Number} args.index - The dataset index.
	 * @param {Object} args.meta - The dataset metadata.
	 * @param {Number} args.easingValue - The current animation value, between 0.0 and 1.0.
	 * @param {Object} options - The plugin options.
	 */
	/**
  	 * @method IPlugin#beforeTooltipDraw
	 * @desc Called before drawing the `tooltip`. If any plugin returns `false`,
	 * the tooltip drawing is cancelled until another `render` is triggered.
	 * @param {Chart} chart - The chart instance.
	 * @param {Object} args - The call arguments.
	 * @param {Object} args.tooltip - The tooltip.
	 * @param {Number} args.easingValue - The current animation value, between 0.0 and 1.0.
	 * @param {Object} options - The plugin options.
	 * @returns {Boolean} `false` to cancel the chart tooltip drawing.
  	 */
	/**
 	 * @method IPlugin#afterTooltipDraw
  	 * @desc Called after drawing the `tooltip`. Note that this hook will not
 	 * be called if the tooltip drawing has been previously cancelled.
 	 * @param {Chart} chart - The chart instance.
 	 * @param {Object} args - The call arguments.
 	 * @param {Object} args.tooltip - The tooltip.
	 * @param {Number} args.easingValue - The current animation value, between 0.0 and 1.0.
 	 * @param {Object} options - The plugin options.
 	 */
	/**
	 * @method IPlugin#beforeEvent
 	 * @desc Called before processing the specified `event`. If any plugin returns `false`,
	 * the event will be discarded.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {IEvent} event - The event object.
	 * @param {Object} options - The plugin options.
	 */
	/**
	 * @method IPlugin#afterEvent
	 * @desc Called after the `event` has been consumed. Note that this hook
	 * will not be called if the `event` has been previously discarded.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {IEvent} event - The event object.
	 * @param {Object} options - The plugin options.
	 */
	/**
	 * @method IPlugin#resize
	 * @desc Called after the chart as been resized.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Number} size - The new canvas display size (eq. canvas.style width & height).
	 * @param {Object} options - The plugin options.
	 */
	/**
	 * @method IPlugin#destroy
	 * @desc Called after the chart as been destroyed.
	 * @param {Chart.Controller} chart - The chart instance.
	 * @param {Object} options - The plugin options.
	 */

	/**
	 * Provided for backward compatibility, use Chart.plugins instead
	 * @namespace Chart.pluginService
	 * @deprecated since version 2.1.5
	 * @todo remove at version 3
	 * @private
	 */
	Chart.pluginService = Chart.plugins;

	/**
	 * Provided for backward compatibility, inheriting from Chart.PlugingBase has no
	 * effect, instead simply create/register plugins via plain JavaScript objects.
	 * @interface Chart.PluginBase
	 * @deprecated since version 2.5.0
	 * @todo remove at version 3
	 * @private
	 */
	Chart.PluginBase = Element.extend({});
};

},{"25":25,"26":26,"45":45}],32:[function(require,module,exports){
'use strict';

var defaults = require(25);
var Element = require(26);
var helpers = require(45);
var Ticks = require(34);

defaults._set('scale', {
	display: true,
	position: 'left',
	offset: false,

	// grid line settings
	gridLines: {
		display: true,
		color: 'rgba(0, 0, 0, 0.1)',
		lineWidth: 1,
		drawBorder: true,
		drawOnChartArea: true,
		drawTicks: true,
		tickMarkLength: 10,
		zeroLineWidth: 1,
		zeroLineColor: 'rgba(0,0,0,0.25)',
		zeroLineBorderDash: [],
		zeroLineBorderDashOffset: 0.0,
		offsetGridLines: false,
		borderDash: [],
		borderDashOffset: 0.0
	},

	// scale label
	scaleLabel: {
		// display property
		display: false,

		// actual label
		labelString: '',

		// line height
		lineHeight: 1.2,

		// top/bottom padding
		padding: {
			top: 4,
			bottom: 4
		}
	},

	// label settings
	ticks: {
		beginAtZero: false,
		minRotation: 0,
		maxRotation: 50,
		mirror: false,
		padding: 0,
		reverse: false,
		display: true,
		autoSkip: true,
		autoSkipPadding: 0,
		labelOffset: 0,
		// We pass through arrays to be rendered as multiline labels, we convert Others to strings here.
		callback: Ticks.formatters.values,
		minor: {},
		major: {}
	}
});

function labelsFromTicks(ticks) {
	var labels = [];
	var i, ilen;

	for (i = 0, ilen = ticks.length; i < ilen; ++i) {
		labels.push(ticks[i].label);
	}

	return labels;
}

function getLineValue(scale, index, offsetGridLines) {
	var lineValue = scale.getPixelForTick(index);

	if (offsetGridLines) {
		if (index === 0) {
			lineValue -= (scale.getPixelForTick(1) - lineValue) / 2;
		} else {
			lineValue -= (lineValue - scale.getPixelForTick(index - 1)) / 2;
		}
	}
	return lineValue;
}

module.exports = function(Chart) {

	function computeTextSize(context, tick, font) {
		return helpers.isArray(tick) ?
			helpers.longestText(context, font, tick) :
			context.measureText(tick).width;
	}

	function parseFontOptions(options) {
		var valueOrDefault = helpers.valueOrDefault;
		var globalDefaults = defaults.global;
		var size = valueOrDefault(options.fontSize, globalDefaults.defaultFontSize);
		var style = valueOrDefault(options.fontStyle, globalDefaults.defaultFontStyle);
		var family = valueOrDefault(options.fontFamily, globalDefaults.defaultFontFamily);

		return {
			size: size,
			style: style,
			family: family,
			font: helpers.fontString(size, style, family)
		};
	}

	function parseLineHeight(options) {
		return helpers.options.toLineHeight(
			helpers.valueOrDefault(options.lineHeight, 1.2),
			helpers.valueOrDefault(options.fontSize, defaults.global.defaultFontSize));
	}

	Chart.Scale = Element.extend({
		/**
		 * Get the padding needed for the scale
		 * @method getPadding
		 * @private
		 * @returns {Padding} the necessary padding
		 */
		getPadding: function() {
			var me = this;
			return {
				left: me.paddingLeft || 0,
				top: me.paddingTop || 0,
				right: me.paddingRight || 0,
				bottom: me.paddingBottom || 0
			};
		},

		/**
		 * Returns the scale tick objects ({label, major})
		 * @since 2.7
		 */
		getTicks: function() {
			return this._ticks;
		},

		// These methods are ordered by lifecyle. Utilities then follow.
		// Any function defined here is inherited by all scale types.
		// Any function can be extended by the scale type

		mergeTicksOptions: function() {
			var ticks = this.options.ticks;
			if (ticks.minor === false) {
				ticks.minor = {
					display: false
				};
			}
			if (ticks.major === false) {
				ticks.major = {
					display: false
				};
			}
			for (var key in ticks) {
				if (key !== 'major' && key !== 'minor') {
					if (typeof ticks.minor[key] === 'undefined') {
						ticks.minor[key] = ticks[key];
					}
					if (typeof ticks.major[key] === 'undefined') {
						ticks.major[key] = ticks[key];
					}
				}
			}
		},
		beforeUpdate: function() {
			helpers.callback(this.options.beforeUpdate, [this]);
		},
		update: function(maxWidth, maxHeight, margins) {
			var me = this;
			var i, ilen, labels, label, ticks, tick;

			// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)
			me.beforeUpdate();

			// Absorb the master measurements
			me.maxWidth = maxWidth;
			me.maxHeight = maxHeight;
			me.margins = helpers.extend({
				left: 0,
				right: 0,
				top: 0,
				bottom: 0
			}, margins);
			me.longestTextCache = me.longestTextCache || {};

			// Dimensions
			me.beforeSetDimensions();
			me.setDimensions();
			me.afterSetDimensions();

			// Data min/max
			me.beforeDataLimits();
			me.determineDataLimits();
			me.afterDataLimits();

			// Ticks - `this.ticks` is now DEPRECATED!
			// Internal ticks are now stored as objects in the PRIVATE `this._ticks` member
			// and must not be accessed directly from outside this class. `this.ticks` being
			// around for long time and not marked as private, we can't change its structure
			// without unexpected breaking changes. If you need to access the scale ticks,
			// use scale.getTicks() instead.

			me.beforeBuildTicks();

			// New implementations should return an array of objects but for BACKWARD COMPAT,
			// we still support no return (`this.ticks` internally set by calling this method).
			ticks = me.buildTicks() || [];

			me.afterBuildTicks();

			me.beforeTickToLabelConversion();

			// New implementations should return the formatted tick labels but for BACKWARD
			// COMPAT, we still support no return (`this.ticks` internally changed by calling
			// this method and supposed to contain only string values).
			labels = me.convertTicksToLabels(ticks) || me.ticks;

			me.afterTickToLabelConversion();

			me.ticks = labels;   // BACKWARD COMPATIBILITY

			// IMPORTANT: from this point, we consider that `this.ticks` will NEVER change!

			// BACKWARD COMPAT: synchronize `_ticks` with labels (so potentially `this.ticks`)
			for (i = 0, ilen = labels.length; i < ilen; ++i) {
				label = labels[i];
				tick = ticks[i];
				if (!tick) {
					ticks.push(tick = {
						label: label,
						major: false
					});
				} else {
					tick.label = label;
				}
			}

			me._ticks = ticks;

			// Tick Rotation
			me.beforeCalculateTickRotation();
			me.calculateTickRotation();
			me.afterCalculateTickRotation();
			// Fit
			me.beforeFit();
			me.fit();
			me.afterFit();
			//
			me.afterUpdate();

			return me.minSize;

		},
		afterUpdate: function() {
			helpers.callback(this.options.afterUpdate, [this]);
		},

		//

		beforeSetDimensions: function() {
			helpers.callback(this.options.beforeSetDimensions, [this]);
		},
		setDimensions: function() {
			var me = this;
			// Set the unconstrained dimension before label rotation
			if (me.isHorizontal()) {
				// Reset position before calculating rotation
				me.width = me.maxWidth;
				me.left = 0;
				me.right = me.width;
			} else {
				me.height = me.maxHeight;

				// Reset position before calculating rotation
				me.top = 0;
				me.bottom = me.height;
			}

			// Reset padding
			me.paddingLeft = 0;
			me.paddingTop = 0;
			me.paddingRight = 0;
			me.paddingBottom = 0;
		},
		afterSetDimensions: function() {
			helpers.callback(this.options.afterSetDimensions, [this]);
		},

		// Data limits
		beforeDataLimits: function() {
			helpers.callback(this.options.beforeDataLimits, [this]);
		},
		determineDataLimits: helpers.noop,
		afterDataLimits: function() {
			helpers.callback(this.options.afterDataLimits, [this]);
		},

		//
		beforeBuildTicks: function() {
			helpers.callback(this.options.beforeBuildTicks, [this]);
		},
		buildTicks: helpers.noop,
		afterBuildTicks: function() {
			helpers.callback(this.options.afterBuildTicks, [this]);
		},

		beforeTickToLabelConversion: function() {
			helpers.callback(this.options.beforeTickToLabelConversion, [this]);
		},
		convertTicksToLabels: function() {
			var me = this;
			// Convert ticks to strings
			var tickOpts = me.options.ticks;
			me.ticks = me.ticks.map(tickOpts.userCallback || tickOpts.callback, this);
		},
		afterTickToLabelConversion: function() {
			helpers.callback(this.options.afterTickToLabelConversion, [this]);
		},

		//

		beforeCalculateTickRotation: function() {
			helpers.callback(this.options.beforeCalculateTickRotation, [this]);
		},
		calculateTickRotation: function() {
			var me = this;
			var context = me.ctx;
			var tickOpts = me.options.ticks;
			var labels = labelsFromTicks(me._ticks);

			// Get the width of each grid by calculating the difference
			// between x offsets between 0 and 1.
			var tickFont = parseFontOptions(tickOpts);
			context.font = tickFont.font;

			var labelRotation = tickOpts.minRotation || 0;

			if (labels.length && me.options.display && me.isHorizontal()) {
				var originalLabelWidth = helpers.longestText(context, tickFont.font, labels, me.longestTextCache);
				var labelWidth = originalLabelWidth;
				var cosRotation, sinRotation;

				// Allow 3 pixels x2 padding either side for label readability
				var tickWidth = me.getPixelForTick(1) - me.getPixelForTick(0) - 6;

				// Max label rotation can be set or default to 90 - also act as a loop counter
				while (labelWidth > tickWidth && labelRotation < tickOpts.maxRotation) {
					var angleRadians = helpers.toRadians(labelRotation);
					cosRotation = Math.cos(angleRadians);
					sinRotation = Math.sin(angleRadians);

					if (sinRotation * originalLabelWidth > me.maxHeight) {
						// go back one step
						labelRotation--;
						break;
					}

					labelRotation++;
					labelWidth = cosRotation * originalLabelWidth;
				}
			}

			me.labelRotation = labelRotation;
		},
		afterCalculateTickRotation: function() {
			helpers.callback(this.options.afterCalculateTickRotation, [this]);
		},

		//

		beforeFit: function() {
			helpers.callback(this.options.beforeFit, [this]);
		},
		fit: function() {
			var me = this;
			// Reset
			var minSize = me.minSize = {
				width: 0,
				height: 0
			};

			var labels = labelsFromTicks(me._ticks);

			var opts = me.options;
			var tickOpts = opts.ticks;
			var scaleLabelOpts = opts.scaleLabel;
			var gridLineOpts = opts.gridLines;
			var display = opts.display;
			var isHorizontal = me.isHorizontal();

			var tickFont = parseFontOptions(tickOpts);
			var tickMarkLength = opts.gridLines.tickMarkLength;

			// Width
			if (isHorizontal) {
				// subtract the margins to line up with the chartArea if we are a full width scale
				minSize.width = me.isFullWidth() ? me.maxWidth - me.margins.left - me.margins.right : me.maxWidth;
			} else {
				minSize.width = display && gridLineOpts.drawTicks ? tickMarkLength : 0;
			}

			// height
			if (isHorizontal) {
				minSize.height = display && gridLineOpts.drawTicks ? tickMarkLength : 0;
			} else {
				minSize.height = me.maxHeight; // fill all the height
			}

			// Are we showing a title for the scale?
			if (scaleLabelOpts.display && display) {
				var scaleLabelLineHeight = parseLineHeight(scaleLabelOpts);
				var scaleLabelPadding = helpers.options.toPadding(scaleLabelOpts.padding);
				var deltaHeight = scaleLabelLineHeight + scaleLabelPadding.height;

				if (isHorizontal) {
					minSize.height += deltaHeight;
				} else {
					minSize.width += deltaHeight;
				}
			}

			// Don't bother fitting the ticks if we are not showing them
			if (tickOpts.display && display) {
				var largestTextWidth = helpers.longestText(me.ctx, tickFont.font, labels, me.longestTextCache);
				var tallestLabelHeightInLines = helpers.numberOfLabelLines(labels);
				var lineSpace = tickFont.size * 0.5;
				var tickPadding = me.options.ticks.padding;

				if (isHorizontal) {
					// A horizontal axis is more constrained by the height.
					me.longestLabelWidth = largestTextWidth;

					var angleRadians = helpers.toRadians(me.labelRotation);
					var cosRotation = Math.cos(angleRadians);
					var sinRotation = Math.sin(angleRadians);

					// TODO - improve this calculation
					var labelHeight = (sinRotation * largestTextWidth)
						+ (tickFont.size * tallestLabelHeightInLines)
						+ (lineSpace * (tallestLabelHeightInLines - 1))
						+ lineSpace; // padding

					minSize.height = Math.min(me.maxHeight, minSize.height + labelHeight + tickPadding);

					me.ctx.font = tickFont.font;
					var firstLabelWidth = computeTextSize(me.ctx, labels[0], tickFont.font);
					var lastLabelWidth = computeTextSize(me.ctx, labels[labels.length - 1], tickFont.font);

					// Ensure that our ticks are always inside the canvas. When rotated, ticks are right aligned
					// which means that the right padding is dominated by the font height
					if (me.labelRotation !== 0) {
						me.paddingLeft = opts.position === 'bottom' ? (cosRotation * firstLabelWidth) + 3 : (cosRotation * lineSpace) + 3; // add 3 px to move away from canvas edges
						me.paddingRight = opts.position === 'bottom' ? (cosRotation * lineSpace) + 3 : (cosRotation * lastLabelWidth) + 3;
					} else {
						me.paddingLeft = firstLabelWidth / 2 + 3; // add 3 px to move away from canvas edges
						me.paddingRight = lastLabelWidth / 2 + 3;
					}
				} else {
					// A vertical axis is more constrained by the width. Labels are the
					// dominant factor here, so get that length first and account for padding
					if (tickOpts.mirror) {
						largestTextWidth = 0;
					} else {
						// use lineSpace for consistency with horizontal axis
						// tickPadding is not implemented for horizontal
						largestTextWidth += tickPadding + lineSpace;
					}

					minSize.width = Math.min(me.maxWidth, minSize.width + largestTextWidth);

					me.paddingTop = tickFont.size / 2;
					me.paddingBottom = tickFont.size / 2;
				}
			}

			me.handleMargins();

			me.width = minSize.width;
			me.height = minSize.height;
		},

		/**
		 * Handle margins and padding interactions
		 * @private
		 */
		handleMargins: function() {
			var me = this;
			if (me.margins) {
				me.paddingLeft = Math.max(me.paddingLeft - me.margins.left, 0);
				me.paddingTop = Math.max(me.paddingTop - me.margins.top, 0);
				me.paddingRight = Math.max(me.paddingRight - me.margins.right, 0);
				me.paddingBottom = Math.max(me.paddingBottom - me.margins.bottom, 0);
			}
		},

		afterFit: function() {
			helpers.callback(this.options.afterFit, [this]);
		},

		// Shared Methods
		isHorizontal: function() {
			return this.options.position === 'top' || this.options.position === 'bottom';
		},
		isFullWidth: function() {
			return (this.options.fullWidth);
		},

		// Get the correct value. NaN bad inputs, If the value type is object get the x or y based on whether we are horizontal or not
		getRightValue: function(rawValue) {
			// Null and undefined values first
			if (helpers.isNullOrUndef(rawValue)) {
				return NaN;
			}
			// isNaN(object) returns true, so make sure NaN is checking for a number; Discard Infinite values
			if (typeof rawValue === 'number' && !isFinite(rawValue)) {
				return NaN;
			}
			// If it is in fact an object, dive in one more level
			if (rawValue) {
				if (this.isHorizontal()) {
					if (rawValue.x !== undefined) {
						return this.getRightValue(rawValue.x);
					}
				} else if (rawValue.y !== undefined) {
					return this.getRightValue(rawValue.y);
				}
			}

			// Value is good, return it
			return rawValue;
		},

		/**
		 * Used to get the value to display in the tooltip for the data at the given index
		 * @param index
		 * @param datasetIndex
		 */
		getLabelForIndex: helpers.noop,

		/**
		 * Returns the location of the given data point. Value can either be an index or a numerical value
		 * The coordinate (0, 0) is at the upper-left corner of the canvas
		 * @param value
		 * @param index
		 * @param datasetIndex
		 */
		getPixelForValue: helpers.noop,

		/**
		 * Used to get the data value from a given pixel. This is the inverse of getPixelForValue
		 * The coordinate (0, 0) is at the upper-left corner of the canvas
		 * @param pixel
		 */
		getValueForPixel: helpers.noop,

		/**
		 * Returns the location of the tick at the given index
		 * The coordinate (0, 0) is at the upper-left corner of the canvas
		 */
		getPixelForTick: function(index) {
			var me = this;
			var offset = me.options.offset;
			if (me.isHorizontal()) {
				var innerWidth = me.width - (me.paddingLeft + me.paddingRight);
				var tickWidth = innerWidth / Math.max((me._ticks.length - (offset ? 0 : 1)), 1);
				var pixel = (tickWidth * index) + me.paddingLeft;

				if (offset) {
					pixel += tickWidth / 2;
				}

				var finalVal = me.left + Math.round(pixel);
				finalVal += me.isFullWidth() ? me.margins.left : 0;
				return finalVal;
			}
			var innerHeight = me.height - (me.paddingTop + me.paddingBottom);
			return me.top + (index * (innerHeight / (me._ticks.length - 1)));
		},

		/**
		 * Utility for getting the pixel location of a percentage of scale
		 * The coordinate (0, 0) is at the upper-left corner of the canvas
		 */
		getPixelForDecimal: function(decimal) {
			var me = this;
			if (me.isHorizontal()) {
				var innerWidth = me.width - (me.paddingLeft + me.paddingRight);
				var valueOffset = (innerWidth * decimal) + me.paddingLeft;

				var finalVal = me.left + Math.round(valueOffset);
				finalVal += me.isFullWidth() ? me.margins.left : 0;
				return finalVal;
			}
			return me.top + (decimal * me.height);
		},

		/**
		 * Returns the pixel for the minimum chart value
		 * The coordinate (0, 0) is at the upper-left corner of the canvas
		 */
		getBasePixel: function() {
			return this.getPixelForValue(this.getBaseValue());
		},

		getBaseValue: function() {
			var me = this;
			var min = me.min;
			var max = me.max;

			return me.beginAtZero ? 0 :
				min < 0 && max < 0 ? max :
				min > 0 && max > 0 ? min :
				0;
		},

		/**
		 * Returns a subset of ticks to be plotted to avoid overlapping labels.
		 * @private
		 */
		_autoSkip: function(ticks) {
			var skipRatio;
			var me = this;
			var isHorizontal = me.isHorizontal();
			var optionTicks = me.options.ticks.minor;
			var tickCount = ticks.length;
			var labelRotationRadians = helpers.toRadians(me.labelRotation);
			var cosRotation = Math.cos(labelRotationRadians);
			var longestRotatedLabel = me.longestLabelWidth * cosRotation;
			var result = [];
			var i, tick, shouldSkip;

			// figure out the maximum number of gridlines to show
			var maxTicks;
			if (optionTicks.maxTicksLimit) {
				maxTicks = optionTicks.maxTicksLimit;
			}

			if (isHorizontal) {
				skipRatio = false;

				if ((longestRotatedLabel + optionTicks.autoSkipPadding) * tickCount > (me.width - (me.paddingLeft + me.paddingRight))) {
					skipRatio = 1 + Math.floor(((longestRotatedLabel + optionTicks.autoSkipPadding) * tickCount) / (me.width - (me.paddingLeft + me.paddingRight)));
				}

				// if they defined a max number of optionTicks,
				// increase skipRatio until that number is met
				if (maxTicks && tickCount > maxTicks) {
					skipRatio = Math.max(skipRatio, Math.floor(tickCount / maxTicks));
				}
			}

			for (i = 0; i < tickCount; i++) {
				tick = ticks[i];

				// Since we always show the last tick,we need may need to hide the last shown one before
				shouldSkip = (skipRatio > 1 && i % skipRatio > 0) || (i % skipRatio === 0 && i + skipRatio >= tickCount);
				if (shouldSkip && i !== tickCount - 1) {
					// leave tick in place but make sure it's not displayed (#4635)
					delete tick.label;
				}
				result.push(tick);
			}
			return result;
		},

		// Actually draw the scale on the canvas
		// @param {rectangle} chartArea : the area of the chart to draw full grid lines on
		draw: function(chartArea) {
			var me = this;
			var options = me.options;
			if (!options.display) {
				return;
			}

			var context = me.ctx;
			var globalDefaults = defaults.global;
			var optionTicks = options.ticks.minor;
			var optionMajorTicks = options.ticks.major || optionTicks;
			var gridLines = options.gridLines;
			var scaleLabel = options.scaleLabel;

			var isRotated = me.labelRotation !== 0;
			var isHorizontal = me.isHorizontal();

			var ticks = optionTicks.autoSkip ? me._autoSkip(me.getTicks()) : me.getTicks();
			var tickFontColor = helpers.valueOrDefault(optionTicks.fontColor, globalDefaults.defaultFontColor);
			var tickFont = parseFontOptions(optionTicks);
			var majorTickFontColor = helpers.valueOrDefault(optionMajorTicks.fontColor, globalDefaults.defaultFontColor);
			var majorTickFont = parseFontOptions(optionMajorTicks);

			var tl = gridLines.drawTicks ? gridLines.tickMarkLength : 0;

			var scaleLabelFontColor = helpers.valueOrDefault(scaleLabel.fontColor, globalDefaults.defaultFontColor);
			var scaleLabelFont = parseFontOptions(scaleLabel);
			var scaleLabelPadding = helpers.options.toPadding(scaleLabel.padding);
			var labelRotationRadians = helpers.toRadians(me.labelRotation);

			var itemsToDraw = [];

			var xTickStart = options.position === 'right' ? me.left : me.right - tl;
			var xTickEnd = options.position === 'right' ? me.left + tl : me.right;
			var yTickStart = options.position === 'bottom' ? me.top : me.bottom - tl;
			var yTickEnd = options.position === 'bottom' ? me.top + tl : me.bottom;

			helpers.each(ticks, function(tick, index) {
				// autoskipper skipped this tick (#4635)
				if (helpers.isNullOrUndef(tick.label)) {
					return;
				}

				var label = tick.label;
				var lineWidth, lineColor, borderDash, borderDashOffset;
				if (index === me.zeroLineIndex && options.offset === gridLines.offsetGridLines) {
					// Draw the first index specially
					lineWidth = gridLines.zeroLineWidth;
					lineColor = gridLines.zeroLineColor;
					borderDash = gridLines.zeroLineBorderDash;
					borderDashOffset = gridLines.zeroLineBorderDashOffset;
				} else {
					lineWidth = helpers.valueAtIndexOrDefault(gridLines.lineWidth, index);
					lineColor = helpers.valueAtIndexOrDefault(gridLines.color, index);
					borderDash = helpers.valueOrDefault(gridLines.borderDash, globalDefaults.borderDash);
					borderDashOffset = helpers.valueOrDefault(gridLines.borderDashOffset, globalDefaults.borderDashOffset);
				}

				// Common properties
				var tx1, ty1, tx2, ty2, x1, y1, x2, y2, labelX, labelY;
				var textAlign = 'middle';
				var textBaseline = 'middle';
				var tickPadding = optionTicks.padding;

				if (isHorizontal) {
					var labelYOffset = tl + tickPadding;

					if (options.position === 'bottom') {
						// bottom
						textBaseline = !isRotated ? 'top' : 'middle';
						textAlign = !isRotated ? 'center' : 'right';
						labelY = me.top + labelYOffset;
					} else {
						// top
						textBaseline = !isRotated ? 'bottom' : 'middle';
						textAlign = !isRotated ? 'center' : 'left';
						labelY = me.bottom - labelYOffset;
					}

					var xLineValue = getLineValue(me, index, gridLines.offsetGridLines && ticks.length > 1);
					if (xLineValue < me.left) {
						lineColor = 'rgba(0,0,0,0)';
					}
					xLineValue += helpers.aliasPixel(lineWidth);

					labelX = me.getPixelForTick(index) + optionTicks.labelOffset; // x values for optionTicks (need to consider offsetLabel option)

					tx1 = tx2 = x1 = x2 = xLineValue;
					ty1 = yTickStart;
					ty2 = yTickEnd;
					y1 = chartArea.top;
					y2 = chartArea.bottom;
				} else {
					var isLeft = options.position === 'left';
					var labelXOffset;

					if (optionTicks.mirror) {
						textAlign = isLeft ? 'left' : 'right';
						labelXOffset = tickPadding;
					} else {
						textAlign = isLeft ? 'right' : 'left';
						labelXOffset = tl + tickPadding;
					}

					labelX = isLeft ? me.right - labelXOffset : me.left + labelXOffset;

					var yLineValue = getLineValue(me, index, gridLines.offsetGridLines && ticks.length > 1);
					if (yLineValue < me.top) {
						lineColor = 'rgba(0,0,0,0)';
					}
					yLineValue += helpers.aliasPixel(lineWidth);

					labelY = me.getPixelForTick(index) + optionTicks.labelOffset;

					tx1 = xTickStart;
					tx2 = xTickEnd;
					x1 = chartArea.left;
					x2 = chartArea.right;
					ty1 = ty2 = y1 = y2 = yLineValue;
				}

				itemsToDraw.push({
					tx1: tx1,
					ty1: ty1,
					tx2: tx2,
					ty2: ty2,
					x1: x1,
					y1: y1,
					x2: x2,
					y2: y2,
					labelX: labelX,
					labelY: labelY,
					glWidth: lineWidth,
					glColor: lineColor,
					glBorderDash: borderDash,
					glBorderDashOffset: borderDashOffset,
					rotation: -1 * labelRotationRadians,
					label: label,
					major: tick.major,
					textBaseline: textBaseline,
					textAlign: textAlign
				});
			});

			// Draw all of the tick labels, tick marks, and grid lines at the correct places
			helpers.each(itemsToDraw, function(itemToDraw) {
				if (gridLines.display) {
					context.save();
					context.lineWidth = itemToDraw.glWidth;
					context.strokeStyle = itemToDraw.glColor;
					if (context.setLineDash) {
						context.setLineDash(itemToDraw.glBorderDash);
						context.lineDashOffset = itemToDraw.glBorderDashOffset;
					}

					context.beginPath();

					if (gridLines.drawTicks) {
						context.moveTo(itemToDraw.tx1, itemToDraw.ty1);
						context.lineTo(itemToDraw.tx2, itemToDraw.ty2);
					}

					if (gridLines.drawOnChartArea) {
						context.moveTo(itemToDraw.x1, itemToDraw.y1);
						context.lineTo(itemToDraw.x2, itemToDraw.y2);
					}

					context.stroke();
					context.restore();
				}

				if (optionTicks.display) {
					// Make sure we draw text in the correct color and font
					context.save();
					context.translate(itemToDraw.labelX, itemToDraw.labelY);
					context.rotate(itemToDraw.rotation);
					context.font = itemToDraw.major ? majorTickFont.font : tickFont.font;
					context.fillStyle = itemToDraw.major ? majorTickFontColor : tickFontColor;
					context.textBaseline = itemToDraw.textBaseline;
					context.textAlign = itemToDraw.textAlign;

					var label = itemToDraw.label;
					if (helpers.isArray(label)) {
						for (var i = 0, y = 0; i < label.length; ++i) {
							// We just make sure the multiline element is a string here..
							context.fillText('' + label[i], 0, y);
							// apply same lineSpacing as calculated @ L#320
							y += (tickFont.size * 1.5);
						}
					} else {
						context.fillText(label, 0, 0);
					}
					context.restore();
				}
			});

			if (scaleLabel.display) {
				// Draw the scale label
				var scaleLabelX;
				var scaleLabelY;
				var rotation = 0;
				var halfLineHeight = parseLineHeight(scaleLabel) / 2;

				if (isHorizontal) {
					scaleLabelX = me.left + ((me.right - me.left) / 2); // midpoint of the width
					scaleLabelY = options.position === 'bottom'
						? me.bottom - halfLineHeight - scaleLabelPadding.bottom
						: me.top + halfLineHeight + scaleLabelPadding.top;
				} else {
					var isLeft = options.position === 'left';
					scaleLabelX = isLeft
						? me.left + halfLineHeight + scaleLabelPadding.top
						: me.right - halfLineHeight - scaleLabelPadding.top;
					scaleLabelY = me.top + ((me.bottom - me.top) / 2);
					rotation = isLeft ? -0.5 * Math.PI : 0.5 * Math.PI;
				}

				context.save();
				context.translate(scaleLabelX, scaleLabelY);
				context.rotate(rotation);
				context.textAlign = 'center';
				context.textBaseline = 'middle';
				context.fillStyle = scaleLabelFontColor; // render in correct colour
				context.font = scaleLabelFont.font;
				context.fillText(scaleLabel.labelString, 0, 0);
				context.restore();
			}

			if (gridLines.drawBorder) {
				// Draw the line at the edge of the axis
				context.lineWidth = helpers.valueAtIndexOrDefault(gridLines.lineWidth, 0);
				context.strokeStyle = helpers.valueAtIndexOrDefault(gridLines.color, 0);
				var x1 = me.left;
				var x2 = me.right;
				var y1 = me.top;
				var y2 = me.bottom;

				var aliasPixel = helpers.aliasPixel(context.lineWidth);
				if (isHorizontal) {
					y1 = y2 = options.position === 'top' ? me.bottom : me.top;
					y1 += aliasPixel;
					y2 += aliasPixel;
				} else {
					x1 = x2 = options.position === 'left' ? me.right : me.left;
					x1 += aliasPixel;
					x2 += aliasPixel;
				}

				context.beginPath();
				context.moveTo(x1, y1);
				context.lineTo(x2, y2);
				context.stroke();
			}
		}
	});
};

},{"25":25,"26":26,"34":34,"45":45}],33:[function(require,module,exports){
'use strict';

var defaults = require(25);
var helpers = require(45);

module.exports = function(Chart) {

	Chart.scaleService = {
		// Scale registration object. Extensions can register new scale types (such as log or DB scales) and then
		// use the new chart options to grab the correct scale
		constructors: {},
		// Use a registration function so that we can move to an ES6 map when we no longer need to support
		// old browsers

		// Scale config defaults
		defaults: {},
		registerScaleType: function(type, scaleConstructor, scaleDefaults) {
			this.constructors[type] = scaleConstructor;
			this.defaults[type] = helpers.clone(scaleDefaults);
		},
		getScaleConstructor: function(type) {
			return this.constructors.hasOwnProperty(type) ? this.constructors[type] : undefined;
		},
		getScaleDefaults: function(type) {
			// Return the scale defaults merged with the global settings so that we always use the latest ones
			return this.defaults.hasOwnProperty(type) ? helpers.merge({}, [defaults.scale, this.defaults[type]]) : {};
		},
		updateScaleDefaults: function(type, additions) {
			var me = this;
			if (me.defaults.hasOwnProperty(type)) {
				me.defaults[type] = helpers.extend(me.defaults[type], additions);
			}
		},
		addScalesToLayout: function(chart) {
			// Adds each scale to the chart.boxes array to be sized accordingly
			helpers.each(chart.scales, function(scale) {
				// Set ILayoutItem parameters for backwards compatibility
				scale.fullWidth = scale.options.fullWidth;
				scale.position = scale.options.position;
				scale.weight = scale.options.weight;
				Chart.layoutService.addBox(chart, scale);
			});
		}
	};
};

},{"25":25,"45":45}],34:[function(require,module,exports){
'use strict';

var helpers = require(45);

/**
 * Namespace to hold static tick generation functions
 * @namespace Chart.Ticks
 */
module.exports = {
	/**
	 * Namespace to hold generators for different types of ticks
	 * @namespace Chart.Ticks.generators
	 */
	generators: {
		/**
		 * Interface for the options provided to the numeric tick generator
		 * @interface INumericTickGenerationOptions
		 */
		/**
		 * The maximum number of ticks to display
		 * @name INumericTickGenerationOptions#maxTicks
		 * @type Number
		 */
		/**
		 * The distance between each tick.
		 * @name INumericTickGenerationOptions#stepSize
		 * @type Number
		 * @optional
		 */
		/**
		 * Forced minimum for the ticks. If not specified, the minimum of the data range is used to calculate the tick minimum
		 * @name INumericTickGenerationOptions#min
		 * @type Number
		 * @optional
		 */
		/**
		 * The maximum value of the ticks. If not specified, the maximum of the data range is used to calculate the tick maximum
		 * @name INumericTickGenerationOptions#max
		 * @type Number
		 * @optional
		 */

		/**
		 * Generate a set of linear ticks
		 * @method Chart.Ticks.generators.linear
		 * @param generationOptions {INumericTickGenerationOptions} the options used to generate the ticks
		 * @param dataRange {IRange} the range of the data
		 * @returns {Array<Number>} array of tick values
		 */
		linear: function(generationOptions, dataRange) {
			var ticks = [];
			// To get a "nice" value for the tick spacing, we will use the appropriately named
			// "nice number" algorithm. See http://stackoverflow.com/questions/8506881/nice-label-algorithm-for-charts-with-minimum-ticks
			// for details.

			var spacing;
			if (generationOptions.stepSize && generationOptions.stepSize > 0) {
				spacing = generationOptions.stepSize;
			} else {
				var niceRange = helpers.niceNum(dataRange.max - dataRange.min, false);
				spacing = helpers.niceNum(niceRange / (generationOptions.maxTicks - 1), true);
			}
			var niceMin = Math.floor(dataRange.min / spacing) * spacing;
			var niceMax = Math.ceil(dataRange.max / spacing) * spacing;

			// If min, max and stepSize is set and they make an evenly spaced scale use it.
			if (generationOptions.min && generationOptions.max && generationOptions.stepSize) {
				// If very close to our whole number, use it.
				if (helpers.almostWhole((generationOptions.max - generationOptions.min) / generationOptions.stepSize, spacing / 1000)) {
					niceMin = generationOptions.min;
					niceMax = generationOptions.max;
				}
			}

			var numSpaces = (niceMax - niceMin) / spacing;
			// If very close to our rounded value, use it.
			if (helpers.almostEquals(numSpaces, Math.round(numSpaces), spacing / 1000)) {
				numSpaces = Math.round(numSpaces);
			} else {
				numSpaces = Math.ceil(numSpaces);
			}

			// Put the values into the ticks array
			ticks.push(generationOptions.min !== undefined ? generationOptions.min : niceMin);
			for (var j = 1; j < numSpaces; ++j) {
				ticks.push(niceMin + (j * spacing));
			}
			ticks.push(generationOptions.max !== undefined ? generationOptions.max : niceMax);

			return ticks;
		},

		/**
		 * Generate a set of logarithmic ticks
		 * @method Chart.Ticks.generators.logarithmic
		 * @param generationOptions {INumericTickGenerationOptions} the options used to generate the ticks
		 * @param dataRange {IRange} the range of the data
		 * @returns {Array<Number>} array of tick values
		 */
		logarithmic: function(generationOptions, dataRange) {
			var ticks = [];
			var valueOrDefault = helpers.valueOrDefault;

			// Figure out what the max number of ticks we can support it is based on the size of
			// the axis area. For now, we say that the minimum tick spacing in pixels must be 50
			// We also limit the maximum number of ticks to 11 which gives a nice 10 squares on
			// the graph
			var tickVal = valueOrDefault(generationOptions.min, Math.pow(10, Math.floor(helpers.log10(dataRange.min))));

			var endExp = Math.floor(helpers.log10(dataRange.max));
			var endSignificand = Math.ceil(dataRange.max / Math.pow(10, endExp));
			var exp, significand;

			if (tickVal === 0) {
				exp = Math.floor(helpers.log10(dataRange.minNotZero));
				significand = Math.floor(dataRange.minNotZero / Math.pow(10, exp));

				ticks.push(tickVal);
				tickVal = significand * Math.pow(10, exp);
			} else {
				exp = Math.floor(helpers.log10(tickVal));
				significand = Math.floor(tickVal / Math.pow(10, exp));
			}

			do {
				ticks.push(tickVal);

				++significand;
				if (significand === 10) {
					significand = 1;
					++exp;
				}

				tickVal = significand * Math.pow(10, exp);
			} while (exp < endExp || (exp === endExp && significand < endSignificand));

			var lastTick = valueOrDefault(generationOptions.max, tickVal);
			ticks.push(lastTick);

			return ticks;
		}
	},

	/**
	 * Namespace to hold formatters for different types of ticks
	 * @namespace Chart.Ticks.formatters
	 */
	formatters: {
		/**
		 * Formatter for value labels
		 * @method Chart.Ticks.formatters.values
		 * @param value the value to display
		 * @return {String|Array} the label to display
		 */
		values: function(value) {
			return helpers.isArray(value) ? value : '' + value;
		},

		/**
		 * Formatter for linear numeric ticks
		 * @method Chart.Ticks.formatters.linear
		 * @param tickValue {Number} the value to be formatted
		 * @param index {Number} the position of the tickValue parameter in the ticks array
		 * @param ticks {Array<Number>} the list of ticks being converted
		 * @return {String} string representation of the tickValue parameter
		 */
		linear: function(tickValue, index, ticks) {
			// If we have lots of ticks, don't use the ones
			var delta = ticks.length > 3 ? ticks[2] - ticks[1] : ticks[1] - ticks[0];

			// If we have a number like 2.5 as the delta, figure out how many decimal places we need
			if (Math.abs(delta) > 1) {
				if (tickValue !== Math.floor(tickValue)) {
					// not an integer
					delta = tickValue - Math.floor(tickValue);
				}
			}

			var logDelta = helpers.log10(Math.abs(delta));
			var tickString = '';

			if (tickValue !== 0) {
				var numDecimal = -1 * Math.floor(logDelta);
				numDecimal = Math.max(Math.min(numDecimal, 20), 0); // toFixed has a max of 20 decimal places
				tickString = tickValue.toFixed(numDecimal);
			} else {
				tickString = '0'; // never show decimal places for 0
			}

			return tickString;
		},

		logarithmic: function(tickValue, index, ticks) {
			var remain = tickValue / (Math.pow(10, Math.floor(helpers.log10(tickValue))));

			if (tickValue === 0) {
				return '0';
			} else if (remain === 1 || remain === 2 || remain === 5 || index === 0 || index === ticks.length - 1) {
				return tickValue.toExponential();
			}
			return '';
		}
	}
};

},{"45":45}],35:[function(require,module,exports){
'use strict';

var defaults = require(25);
var Element = require(26);
var helpers = require(45);

defaults._set('global', {
	tooltips: {
		enabled: true,
		custom: null,
		mode: 'nearest',
		position: 'average',
		intersect: true,
		backgroundColor: 'rgba(0,0,0,0.8)',
		titleFontStyle: 'bold',
		titleSpacing: 2,
		titleMarginBottom: 6,
		titleFontColor: '#fff',
		titleAlign: 'left',
		bodySpacing: 2,
		bodyFontColor: '#fff',
		bodyAlign: 'left',
		footerFontStyle: 'bold',
		footerSpacing: 2,
		footerMarginTop: 6,
		footerFontColor: '#fff',
		footerAlign: 'left',
		yPadding: 6,
		xPadding: 6,
		caretPadding: 2,
		caretSize: 5,
		cornerRadius: 6,
		multiKeyBackground: '#fff',
		displayColors: true,
		borderColor: 'rgba(0,0,0,0)',
		borderWidth: 0,
		callbacks: {
			// Args are: (tooltipItems, data)
			beforeTitle: helpers.noop,
			title: function(tooltipItems, data) {
				// Pick first xLabel for now
				var title = '';
				var labels = data.labels;
				var labelCount = labels ? labels.length : 0;

				if (tooltipItems.length > 0) {
					var item = tooltipItems[0];

					if (item.xLabel) {
						title = item.xLabel;
					} else if (labelCount > 0 && item.index < labelCount) {
						title = labels[item.index];
					}
				}

				return title;
			},
			afterTitle: helpers.noop,

			// Args are: (tooltipItems, data)
			beforeBody: helpers.noop,

			// Args are: (tooltipItem, data)
			beforeLabel: helpers.noop,
			label: function(tooltipItem, data) {
				var label = data.datasets[tooltipItem.datasetIndex].label || '';

				if (label) {
					label += ': ';
				}
				label += tooltipItem.yLabel;
				return label;
			},
			labelColor: function(tooltipItem, chart) {
				var meta = chart.getDatasetMeta(tooltipItem.datasetIndex);
				var activeElement = meta.data[tooltipItem.index];
				var view = activeElement._view;
				return {
					borderColor: view.borderColor,
					backgroundColor: view.backgroundColor
				};
			},
			labelTextColor: function() {
				return this._options.bodyFontColor;
			},
			afterLabel: helpers.noop,

			// Args are: (tooltipItems, data)
			afterBody: helpers.noop,

			// Args are: (tooltipItems, data)
			beforeFooter: helpers.noop,
			footer: helpers.noop,
			afterFooter: helpers.noop
		}
	}
});

module.exports = function(Chart) {

	/**
 	 * Helper method to merge the opacity into a color
 	 */
	function mergeOpacity(colorString, opacity) {
		var color = helpers.color(colorString);
		return color.alpha(opacity * color.alpha()).rgbaString();
	}

	// Helper to push or concat based on if the 2nd parameter is an array or not
	function pushOrConcat(base, toPush) {
		if (toPush) {
			if (helpers.isArray(toPush)) {
				// base = base.concat(toPush);
				Array.prototype.push.apply(base, toPush);
			} else {
				base.push(toPush);
			}
		}

		return base;
	}

	// Private helper to create a tooltip item model
	// @param element : the chart element (point, arc, bar) to create the tooltip item for
	// @return : new tooltip item
	function createTooltipItem(element) {
		var xScale = element._xScale;
		var yScale = element._yScale || element._scale; // handle radar || polarArea charts
		var index = element._index;
		var datasetIndex = element._datasetIndex;

		return {
			xLabel: xScale ? xScale.getLabelForIndex(index, datasetIndex) : '',
			yLabel: yScale ? yScale.getLabelForIndex(index, datasetIndex) : '',
			index: index,
			datasetIndex: datasetIndex,
			x: element._model.x,
			y: element._model.y
		};
	}

	/**
	 * Helper to get the reset model for the tooltip
	 * @param tooltipOpts {Object} the tooltip options
	 */
	function getBaseModel(tooltipOpts) {
		var globalDefaults = defaults.global;
		var valueOrDefault = helpers.valueOrDefault;

		return {
			// Positioning
			xPadding: tooltipOpts.xPadding,
			yPadding: tooltipOpts.yPadding,
			xAlign: tooltipOpts.xAlign,
			yAlign: tooltipOpts.yAlign,

			// Body
			bodyFontColor: tooltipOpts.bodyFontColor,
			_bodyFontFamily: valueOrDefault(tooltipOpts.bodyFontFamily, globalDefaults.defaultFontFamily),
			_bodyFontStyle: valueOrDefault(tooltipOpts.bodyFontStyle, globalDefaults.defaultFontStyle),
			_bodyAlign: tooltipOpts.bodyAlign,
			bodyFontSize: valueOrDefault(tooltipOpts.bodyFontSize, globalDefaults.defaultFontSize),
			bodySpacing: tooltipOpts.bodySpacing,

			// Title
			titleFontColor: tooltipOpts.titleFontColor,
			_titleFontFamily: valueOrDefault(tooltipOpts.titleFontFamily, globalDefaults.defaultFontFamily),
			_titleFontStyle: valueOrDefault(tooltipOpts.titleFontStyle, globalDefaults.defaultFontStyle),
			titleFontSize: valueOrDefault(tooltipOpts.titleFontSize, globalDefaults.defaultFontSize),
			_titleAlign: tooltipOpts.titleAlign,
			titleSpacing: tooltipOpts.titleSpacing,
			titleMarginBottom: tooltipOpts.titleMarginBottom,

			// Footer
			footerFontColor: tooltipOpts.footerFontColor,
			_footerFontFamily: valueOrDefault(tooltipOpts.footerFontFamily, globalDefaults.defaultFontFamily),
			_footerFontStyle: valueOrDefault(tooltipOpts.footerFontStyle, globalDefaults.defaultFontStyle),
			footerFontSize: valueOrDefault(tooltipOpts.footerFontSize, globalDefaults.defaultFontSize),
			_footerAlign: tooltipOpts.footerAlign,
			footerSpacing: tooltipOpts.footerSpacing,
			footerMarginTop: tooltipOpts.footerMarginTop,

			// Appearance
			caretSize: tooltipOpts.caretSize,
			cornerRadius: tooltipOpts.cornerRadius,
			backgroundColor: tooltipOpts.backgroundColor,
			opacity: 0,
			legendColorBackground: tooltipOpts.multiKeyBackground,
			displayColors: tooltipOpts.displayColors,
			borderColor: tooltipOpts.borderColor,
			borderWidth: tooltipOpts.borderWidth
		};
	}

	/**
	 * Get the size of the tooltip
	 */
	function getTooltipSize(tooltip, model) {
		var ctx = tooltip._chart.ctx;

		var height = model.yPadding * 2; // Tooltip Padding
		var width = 0;

		// Count of all lines in the body
		var body = model.body;
		var combinedBodyLength = body.reduce(function(count, bodyItem) {
			return count + bodyItem.before.length + bodyItem.lines.length + bodyItem.after.length;
		}, 0);
		combinedBodyLength += model.beforeBody.length + model.afterBody.length;

		var titleLineCount = model.title.length;
		var footerLineCount = model.footer.length;
		var titleFontSize = model.titleFontSize;
		var bodyFontSize = model.bodyFontSize;
		var footerFontSize = model.footerFontSize;

		height += titleLineCount * titleFontSize; // Title Lines
		height += titleLineCount ? (titleLineCount - 1) * model.titleSpacing : 0; // Title Line Spacing
		height += titleLineCount ? model.titleMarginBottom : 0; // Title's bottom Margin
		height += combinedBodyLength * bodyFontSize; // Body Lines
		height += combinedBodyLength ? (combinedBodyLength - 1) * model.bodySpacing : 0; // Body Line Spacing
		height += footerLineCount ? model.footerMarginTop : 0; // Footer Margin
		height += footerLineCount * (footerFontSize); // Footer Lines
		height += footerLineCount ? (footerLineCount - 1) * model.footerSpacing : 0; // Footer Line Spacing

		// Title width
		var widthPadding = 0;
		var maxLineWidth = function(line) {
			width = Math.max(width, ctx.measureText(line).width + widthPadding);
		};

		ctx.font = helpers.fontString(titleFontSize, model._titleFontStyle, model._titleFontFamily);
		helpers.each(model.title, maxLineWidth);

		// Body width
		ctx.font = helpers.fontString(bodyFontSize, model._bodyFontStyle, model._bodyFontFamily);
		helpers.each(model.beforeBody.concat(model.afterBody), maxLineWidth);

		// Body lines may include some extra width due to the color box
		widthPadding = model.displayColors ? (bodyFontSize + 2) : 0;
		helpers.each(body, function(bodyItem) {
			helpers.each(bodyItem.before, maxLineWidth);
			helpers.each(bodyItem.lines, maxLineWidth);
			helpers.each(bodyItem.after, maxLineWidth);
		});

		// Reset back to 0
		widthPadding = 0;

		// Footer width
		ctx.font = helpers.fontString(footerFontSize, model._footerFontStyle, model._footerFontFamily);
		helpers.each(model.footer, maxLineWidth);

		// Add padding
		width += 2 * model.xPadding;

		return {
			width: width,
			height: height
		};
	}

	/**
	 * Helper to get the alignment of a tooltip given the size
	 */
	function determineAlignment(tooltip, size) {
		var model = tooltip._model;
		var chart = tooltip._chart;
		var chartArea = tooltip._chart.chartArea;
		var xAlign = 'center';
		var yAlign = 'center';

		if (model.y < size.height) {
			yAlign = 'top';
		} else if (model.y > (chart.height - size.height)) {
			yAlign = 'bottom';
		}

		var lf, rf; // functions to determine left, right alignment
		var olf, orf; // functions to determine if left/right alignment causes tooltip to go outside chart
		var yf; // function to get the y alignment if the tooltip goes outside of the left or right edges
		var midX = (chartArea.left + chartArea.right) / 2;
		var midY = (chartArea.top + chartArea.bottom) / 2;

		if (yAlign === 'center') {
			lf = function(x) {
				return x <= midX;
			};
			rf = function(x) {
				return x > midX;
			};
		} else {
			lf = function(x) {
				return x <= (size.width / 2);
			};
			rf = function(x) {
				return x >= (chart.width - (size.width / 2));
			};
		}

		olf = function(x) {
			return x + size.width > chart.width;
		};
		orf = function(x) {
			return x - size.width < 0;
		};
		yf = function(y) {
			return y <= midY ? 'top' : 'bottom';
		};

		if (lf(model.x)) {
			xAlign = 'left';

			// Is tooltip too wide and goes over the right side of the chart.?
			if (olf(model.x)) {
				xAlign = 'center';
				yAlign = yf(model.y);
			}
		} else if (rf(model.x)) {
			xAlign = 'right';

			// Is tooltip too wide and goes outside left edge of canvas?
			if (orf(model.x)) {
				xAlign = 'center';
				yAlign = yf(model.y);
			}
		}

		var opts = tooltip._options;
		return {
			xAlign: opts.xAlign ? opts.xAlign : xAlign,
			yAlign: opts.yAlign ? opts.yAlign : yAlign
		};
	}

	/**
	 * @Helper to get the location a tooltip needs to be placed at given the initial position (via the vm) and the size and alignment
	 */
	function getBackgroundPoint(vm, size, alignment) {
		// Background Position
		var x = vm.x;
		var y = vm.y;

		var caretSize = vm.caretSize;
		var caretPadding = vm.caretPadding;
		var cornerRadius = vm.cornerRadius;
		var xAlign = alignment.xAlign;
		var yAlign = alignment.yAlign;
		var paddingAndSize = caretSize + caretPadding;
		var radiusAndPadding = cornerRadius + caretPadding;

		if (xAlign === 'right') {
			x -= size.width;
		} else if (xAlign === 'center') {
			x -= (size.width / 2);
		}

		if (yAlign === 'top') {
			y += paddingAndSize;
		} else if (yAlign === 'bottom') {
			y -= size.height + paddingAndSize;
		} else {
			y -= (size.height / 2);
		}

		if (yAlign === 'center') {
			if (xAlign === 'left') {
				x += paddingAndSize;
			} else if (xAlign === 'right') {
				x -= paddingAndSize;
			}
		} else if (xAlign === 'left') {
			x -= radiusAndPadding;
		} else if (xAlign === 'right') {
			x += radiusAndPadding;
		}

		return {
			x: x,
			y: y
		};
	}

	Chart.Tooltip = Element.extend({
		initialize: function() {
			this._model = getBaseModel(this._options);
			this._lastActive = [];
		},

		// Get the title
		// Args are: (tooltipItem, data)
		getTitle: function() {
			var me = this;
			var opts = me._options;
			var callbacks = opts.callbacks;

			var beforeTitle = callbacks.beforeTitle.apply(me, arguments);
			var title = callbacks.title.apply(me, arguments);
			var afterTitle = callbacks.afterTitle.apply(me, arguments);

			var lines = [];
			lines = pushOrConcat(lines, beforeTitle);
			lines = pushOrConcat(lines, title);
			lines = pushOrConcat(lines, afterTitle);

			return lines;
		},

		// Args are: (tooltipItem, data)
		getBeforeBody: function() {
			var lines = this._options.callbacks.beforeBody.apply(this, arguments);
			return helpers.isArray(lines) ? lines : lines !== undefined ? [lines] : [];
		},

		// Args are: (tooltipItem, data)
		getBody: function(tooltipItems, data) {
			var me = this;
			var callbacks = me._options.callbacks;
			var bodyItems = [];

			helpers.each(tooltipItems, function(tooltipItem) {
				var bodyItem = {
					before: [],
					lines: [],
					after: []
				};
				pushOrConcat(bodyItem.before, callbacks.beforeLabel.call(me, tooltipItem, data));
				pushOrConcat(bodyItem.lines, callbacks.label.call(me, tooltipItem, data));
				pushOrConcat(bodyItem.after, callbacks.afterLabel.call(me, tooltipItem, data));

				bodyItems.push(bodyItem);
			});

			return bodyItems;
		},

		// Args are: (tooltipItem, data)
		getAfterBody: function() {
			var lines = this._options.callbacks.afterBody.apply(this, arguments);
			return helpers.isArray(lines) ? lines : lines !== undefined ? [lines] : [];
		},

		// Get the footer and beforeFooter and afterFooter lines
		// Args are: (tooltipItem, data)
		getFooter: function() {
			var me = this;
			var callbacks = me._options.callbacks;

			var beforeFooter = callbacks.beforeFooter.apply(me, arguments);
			var footer = callbacks.footer.apply(me, arguments);
			var afterFooter = callbacks.afterFooter.apply(me, arguments);

			var lines = [];
			lines = pushOrConcat(lines, beforeFooter);
			lines = pushOrConcat(lines, footer);
			lines = pushOrConcat(lines, afterFooter);

			return lines;
		},

		update: function(changed) {
			var me = this;
			var opts = me._options;

			// Need to regenerate the model because its faster than using extend and it is necessary due to the optimization in Chart.Element.transition
			// that does _view = _model if ease === 1. This causes the 2nd tooltip update to set properties in both the view and model at the same time
			// which breaks any animations.
			var existingModel = me._model;
			var model = me._model = getBaseModel(opts);
			var active = me._active;

			var data = me._data;

			// In the case where active.length === 0 we need to keep these at existing values for good animations
			var alignment = {
				xAlign: existingModel.xAlign,
				yAlign: existingModel.yAlign
			};
			var backgroundPoint = {
				x: existingModel.x,
				y: existingModel.y
			};
			var tooltipSize = {
				width: existingModel.width,
				height: existingModel.height
			};
			var tooltipPosition = {
				x: existingModel.caretX,
				y: existingModel.caretY
			};

			var i, len;

			if (active.length) {
				model.opacity = 1;

				var labelColors = [];
				var labelTextColors = [];
				tooltipPosition = Chart.Tooltip.positioners[opts.position].call(me, active, me._eventPosition);

				var tooltipItems = [];
				for (i = 0, len = active.length; i < len; ++i) {
					tooltipItems.push(createTooltipItem(active[i]));
				}

				// If the user provided a filter function, use it to modify the tooltip items
				if (opts.filter) {
					tooltipItems = tooltipItems.filter(function(a) {
						return opts.filter(a, data);
					});
				}

				// If the user provided a sorting function, use it to modify the tooltip items
				if (opts.itemSort) {
					tooltipItems = tooltipItems.sort(function(a, b) {
						return opts.itemSort(a, b, data);
					});
				}

				// Determine colors for boxes
				helpers.each(tooltipItems, function(tooltipItem) {
					labelColors.push(opts.callbacks.labelColor.call(me, tooltipItem, me._chart));
					labelTextColors.push(opts.callbacks.labelTextColor.call(me, tooltipItem, me._chart));
				});


				// Build the Text Lines
				model.title = me.getTitle(tooltipItems, data);
				model.beforeBody = me.getBeforeBody(tooltipItems, data);
				model.body = me.getBody(tooltipItems, data);
				model.afterBody = me.getAfterBody(tooltipItems, data);
				model.footer = me.getFooter(tooltipItems, data);

				// Initial positioning and colors
				model.x = Math.round(tooltipPosition.x);
				model.y = Math.round(tooltipPosition.y);
				model.caretPadding = opts.caretPadding;
				model.labelColors = labelColors;
				model.labelTextColors = labelTextColors;

				// data points
				model.dataPoints = tooltipItems;

				// We need to determine alignment of the tooltip
				tooltipSize = getTooltipSize(this, model);
				alignment = determineAlignment(this, tooltipSize);
				// Final Size and Position
				backgroundPoint = getBackgroundPoint(model, tooltipSize, alignment);
			} else {
				model.opacity = 0;
			}

			model.xAlign = alignment.xAlign;
			model.yAlign = alignment.yAlign;
			model.x = backgroundPoint.x;
			model.y = backgroundPoint.y;
			model.width = tooltipSize.width;
			model.height = tooltipSize.height;

			// Point where the caret on the tooltip points to
			model.caretX = tooltipPosition.x;
			model.caretY = tooltipPosition.y;

			me._model = model;

			if (changed && opts.custom) {
				opts.custom.call(me, model);
			}

			return me;
		},
		drawCaret: function(tooltipPoint, size) {
			var ctx = this._chart.ctx;
			var vm = this._view;
			var caretPosition = this.getCaretPosition(tooltipPoint, size, vm);

			ctx.lineTo(caretPosition.x1, caretPosition.y1);
			ctx.lineTo(caretPosition.x2, caretPosition.y2);
			ctx.lineTo(caretPosition.x3, caretPosition.y3);
		},
		getCaretPosition: function(tooltipPoint, size, vm) {
			var x1, x2, x3, y1, y2, y3;
			var caretSize = vm.caretSize;
			var cornerRadius = vm.cornerRadius;
			var xAlign = vm.xAlign;
			var yAlign = vm.yAlign;
			var ptX = tooltipPoint.x;
			var ptY = tooltipPoint.y;
			var width = size.width;
			var height = size.height;

			if (yAlign === 'center') {
				y2 = ptY + (height / 2);

				if (xAlign === 'left') {
					x1 = ptX;
					x2 = x1 - caretSize;
					x3 = x1;

					y1 = y2 + caretSize;
					y3 = y2 - caretSize;
				} else {
					x1 = ptX + width;
					x2 = x1 + caretSize;
					x3 = x1;

					y1 = y2 - caretSize;
					y3 = y2 + caretSize;
				}
			} else {
				if (xAlign === 'left') {
					x2 = ptX + cornerRadius + (caretSize);
					x1 = x2 - caretSize;
					x3 = x2 + caretSize;
				} else if (xAlign === 'right') {
					x2 = ptX + width - cornerRadius - caretSize;
					x1 = x2 - caretSize;
					x3 = x2 + caretSize;
				} else {
					x2 = ptX + (width / 2);
					x1 = x2 - caretSize;
					x3 = x2 + caretSize;
				}
				if (yAlign === 'top') {
					y1 = ptY;
					y2 = y1 - caretSize;
					y3 = y1;
				} else {
					y1 = ptY + height;
					y2 = y1 + caretSize;
					y3 = y1;
					// invert drawing order
					var tmp = x3;
					x3 = x1;
					x1 = tmp;
				}
			}
			return {x1: x1, x2: x2, x3: x3, y1: y1, y2: y2, y3: y3};
		},
		drawTitle: function(pt, vm, ctx, opacity) {
			var title = vm.title;

			if (title.length) {
				ctx.textAlign = vm._titleAlign;
				ctx.textBaseline = 'top';

				var titleFontSize = vm.titleFontSize;
				var titleSpacing = vm.titleSpacing;

				ctx.fillStyle = mergeOpacity(vm.titleFontColor, opacity);
				ctx.font = helpers.fontString(titleFontSize, vm._titleFontStyle, vm._titleFontFamily);

				var i, len;
				for (i = 0, len = title.length; i < len; ++i) {
					ctx.fillText(title[i], pt.x, pt.y);
					pt.y += titleFontSize + titleSpacing; // Line Height and spacing

					if (i + 1 === title.length) {
						pt.y += vm.titleMarginBottom - titleSpacing; // If Last, add margin, remove spacing
					}
				}
			}
		},
		drawBody: function(pt, vm, ctx, opacity) {
			var bodyFontSize = vm.bodyFontSize;
			var bodySpacing = vm.bodySpacing;
			var body = vm.body;

			ctx.textAlign = vm._bodyAlign;
			ctx.textBaseline = 'top';
			ctx.font = helpers.fontString(bodyFontSize, vm._bodyFontStyle, vm._bodyFontFamily);

			// Before Body
			var xLinePadding = 0;
			var fillLineOfText = function(line) {
				ctx.fillText(line, pt.x + xLinePadding, pt.y);
				pt.y += bodyFontSize + bodySpacing;
			};

			// Before body lines
			ctx.fillStyle = mergeOpacity(vm.bodyFontColor, opacity);
			helpers.each(vm.beforeBody, fillLineOfText);

			var drawColorBoxes = vm.displayColors;
			xLinePadding = drawColorBoxes ? (bodyFontSize + 2) : 0;

			// Draw body lines now
			helpers.each(body, function(bodyItem, i) {
				var textColor = mergeOpacity(vm.labelTextColors[i], opacity);
				ctx.fillStyle = textColor;
				helpers.each(bodyItem.before, fillLineOfText);

				helpers.each(bodyItem.lines, function(line) {
					// Draw Legend-like boxes if needed
					if (drawColorBoxes) {
						// Fill a white rect so that colours merge nicely if the opacity is < 1
						ctx.fillStyle = mergeOpacity(vm.legendColorBackground, opacity);
						ctx.fillRect(pt.x, pt.y, bodyFontSize, bodyFontSize);

						// Border
						ctx.lineWidth = 1;
						ctx.strokeStyle = mergeOpacity(vm.labelColors[i].borderColor, opacity);
						ctx.strokeRect(pt.x, pt.y, bodyFontSize, bodyFontSize);

						// Inner square
						ctx.fillStyle = mergeOpacity(vm.labelColors[i].backgroundColor, opacity);
						ctx.fillRect(pt.x + 1, pt.y + 1, bodyFontSize - 2, bodyFontSize - 2);
						ctx.fillStyle = textColor;
					}

					fillLineOfText(line);
				});

				helpers.each(bodyItem.after, fillLineOfText);
			});

			// Reset back to 0 for after body
			xLinePadding = 0;

			// After body lines
			helpers.each(vm.afterBody, fillLineOfText);
			pt.y -= bodySpacing; // Remove last body spacing
		},
		drawFooter: function(pt, vm, ctx, opacity) {
			var footer = vm.footer;

			if (footer.length) {
				pt.y += vm.footerMarginTop;

				ctx.textAlign = vm._footerAlign;
				ctx.textBaseline = 'top';

				ctx.fillStyle = mergeOpacity(vm.footerFontColor, opacity);
				ctx.font = helpers.fontString(vm.footerFontSize, vm._footerFontStyle, vm._footerFontFamily);

				helpers.each(footer, function(line) {
					ctx.fillText(line, pt.x, pt.y);
					pt.y += vm.footerFontSize + vm.footerSpacing;
				});
			}
		},
		drawBackground: function(pt, vm, ctx, tooltipSize, opacity) {
			ctx.fillStyle = mergeOpacity(vm.backgroundColor, opacity);
			ctx.strokeStyle = mergeOpacity(vm.borderColor, opacity);
			ctx.lineWidth = vm.borderWidth;
			var xAlign = vm.xAlign;
			var yAlign = vm.yAlign;
			var x = pt.x;
			var y = pt.y;
			var width = tooltipSize.width;
			var height = tooltipSize.height;
			var radius = vm.cornerRadius;

			ctx.beginPath();
			ctx.moveTo(x + radius, y);
			if (yAlign === 'top') {
				this.drawCaret(pt, tooltipSize);
			}
			ctx.lineTo(x + width - radius, y);
			ctx.quadraticCurveTo(x + width, y, x + width, y + radius);
			if (yAlign === 'center' && xAlign === 'right') {
				this.drawCaret(pt, tooltipSize);
			}
			ctx.lineTo(x + width, y + height - radius);
			ctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);
			if (yAlign === 'bottom') {
				this.drawCaret(pt, tooltipSize);
			}
			ctx.lineTo(x + radius, y + height);
			ctx.quadraticCurveTo(x, y + height, x, y + height - radius);
			if (yAlign === 'center' && xAlign === 'left') {
				this.drawCaret(pt, tooltipSize);
			}
			ctx.lineTo(x, y + radius);
			ctx.quadraticCurveTo(x, y, x + radius, y);
			ctx.closePath();

			ctx.fill();

			if (vm.borderWidth > 0) {
				ctx.stroke();
			}
		},
		draw: function() {
			var ctx = this._chart.ctx;
			var vm = this._view;

			if (vm.opacity === 0) {
				return;
			}

			var tooltipSize = {
				width: vm.width,
				height: vm.height
			};
			var pt = {
				x: vm.x,
				y: vm.y
			};

			// IE11/Edge does not like very small opacities, so snap to 0
			var opacity = Math.abs(vm.opacity < 1e-3) ? 0 : vm.opacity;

			// Truthy/falsey value for empty tooltip
			var hasTooltipContent = vm.title.length || vm.beforeBody.length || vm.body.length || vm.afterBody.length || vm.footer.length;

			if (this._options.enabled && hasTooltipContent) {
				// Draw Background
				this.drawBackground(pt, vm, ctx, tooltipSize, opacity);

				// Draw Title, Body, and Footer
				pt.x += vm.xPadding;
				pt.y += vm.yPadding;

				// Titles
				this.drawTitle(pt, vm, ctx, opacity);

				// Body
				this.drawBody(pt, vm, ctx, opacity);

				// Footer
				this.drawFooter(pt, vm, ctx, opacity);
			}
		},

		/**
		 * Handle an event
		 * @private
		 * @param {IEvent} event - The event to handle
		 * @returns {Boolean} true if the tooltip changed
		 */
		handleEvent: function(e) {
			var me = this;
			var options = me._options;
			var changed = false;

			me._lastActive = me._lastActive || [];

			// Find Active Elements for tooltips
			if (e.type === 'mouseout') {
				me._active = [];
			} else {
				me._active = me._chart.getElementsAtEventForMode(e, options.mode, options);
			}

			// Remember Last Actives
			changed = !helpers.arrayEquals(me._active, me._lastActive);

			// If tooltip didn't change, do not handle the target event
			if (!changed) {
				return false;
			}

			me._lastActive = me._active;

			if (options.enabled || options.custom) {
				me._eventPosition = {
					x: e.x,
					y: e.y
				};

				var model = me._model;
				me.update(true);
				me.pivot();

				// See if our tooltip position changed
				changed |= (model.x !== me._model.x) || (model.y !== me._model.y);
			}

			return changed;
		}
	});

	/**
	 * @namespace Chart.Tooltip.positioners
	 */
	Chart.Tooltip.positioners = {
		/**
		 * Average mode places the tooltip at the average position of the elements shown
		 * @function Chart.Tooltip.positioners.average
		 * @param elements {ChartElement[]} the elements being displayed in the tooltip
		 * @returns {Point} tooltip position
		 */
		average: function(elements) {
			if (!elements.length) {
				return false;
			}

			var i, len;
			var x = 0;
			var y = 0;
			var count = 0;

			for (i = 0, len = elements.length; i < len; ++i) {
				var el = elements[i];
				if (el && el.hasValue()) {
					var pos = el.tooltipPosition();
					x += pos.x;
					y += pos.y;
					++count;
				}
			}

			return {
				x: Math.round(x / count),
				y: Math.round(y / count)
			};
		},

		/**
		 * Gets the tooltip position nearest of the item nearest to the event position
		 * @function Chart.Tooltip.positioners.nearest
		 * @param elements {Chart.Element[]} the tooltip elements
		 * @param eventPosition {Point} the position of the event in canvas coordinates
		 * @returns {Point} the tooltip position
		 */
		nearest: function(elements, eventPosition) {
			var x = eventPosition.x;
			var y = eventPosition.y;
			var minDistance = Number.POSITIVE_INFINITY;
			var i, len, nearestElement;

			for (i = 0, len = elements.length; i < len; ++i) {
				var el = elements[i];
				if (el && el.hasValue()) {
					var center = el.getCenterPoint();
					var d = helpers.distanceBetweenPoints(eventPosition, center);

					if (d < minDistance) {
						minDistance = d;
						nearestElement = el;
					}
				}
			}

			if (nearestElement) {
				var tp = nearestElement.tooltipPosition();
				x = tp.x;
				y = tp.y;
			}

			return {
				x: x,
				y: y
			};
		}
	};
};

},{"25":25,"26":26,"45":45}],36:[function(require,module,exports){
'use strict';

var defaults = require(25);
var Element = require(26);
var helpers = require(45);

defaults._set('global', {
	elements: {
		arc: {
			backgroundColor: defaults.global.defaultColor,
			borderColor: '#fff',
			borderWidth: 2
		}
	}
});

module.exports = Element.extend({
	inLabelRange: function(mouseX) {
		var vm = this._view;

		if (vm) {
			return (Math.pow(mouseX - vm.x, 2) < Math.pow(vm.radius + vm.hoverRadius, 2));
		}
		return false;
	},

	inRange: function(chartX, chartY) {
		var vm = this._view;

		if (vm) {
			var pointRelativePosition = helpers.getAngleFromPoint(vm, {x: chartX, y: chartY});
			var	angle = pointRelativePosition.angle;
			var distance = pointRelativePosition.distance;

			// Sanitise angle range
			var startAngle = vm.startAngle;
			var endAngle = vm.endAngle;
			while (endAngle < startAngle) {
				endAngle += 2.0 * Math.PI;
			}
			while (angle > endAngle) {
				angle -= 2.0 * Math.PI;
			}
			while (angle < startAngle) {
				angle += 2.0 * Math.PI;
			}

			// Check if within the range of the open/close angle
			var betweenAngles = (angle >= startAngle && angle <= endAngle);
			var withinRadius = (distance >= vm.innerRadius && distance <= vm.outerRadius);

			return (betweenAngles && withinRadius);
		}
		return false;
	},

	getCenterPoint: function() {
		var vm = this._view;
		var halfAngle = (vm.startAngle + vm.endAngle) / 2;
		var halfRadius = (vm.innerRadius + vm.outerRadius) / 2;
		return {
			x: vm.x + Math.cos(halfAngle) * halfRadius,
			y: vm.y + Math.sin(halfAngle) * halfRadius
		};
	},

	getArea: function() {
		var vm = this._view;
		return Math.PI * ((vm.endAngle - vm.startAngle) / (2 * Math.PI)) * (Math.pow(vm.outerRadius, 2) - Math.pow(vm.innerRadius, 2));
	},

	tooltipPosition: function() {
		var vm = this._view;
		var centreAngle = vm.startAngle + ((vm.endAngle - vm.startAngle) / 2);
		var rangeFromCentre = (vm.outerRadius - vm.innerRadius) / 2 + vm.innerRadius;

		return {
			x: vm.x + (Math.cos(centreAngle) * rangeFromCentre),
			y: vm.y + (Math.sin(centreAngle) * rangeFromCentre)
		};
	},

	draw: function() {
		var ctx = this._chart.ctx;
		var vm = this._view;
		var sA = vm.startAngle;
		var eA = vm.endAngle;

		ctx.beginPath();

		ctx.arc(vm.x, vm.y, vm.outerRadius, sA, eA);
		ctx.arc(vm.x, vm.y, vm.innerRadius, eA, sA, true);

		ctx.closePath();
		ctx.strokeStyle = vm.borderColor;
		ctx.lineWidth = vm.borderWidth;

		ctx.fillStyle = vm.backgroundColor;

		ctx.fill();
		ctx.lineJoin = 'bevel';

		if (vm.borderWidth) {
			ctx.stroke();
		}
	}
});

},{"25":25,"26":26,"45":45}],37:[function(require,module,exports){
'use strict';

var defaults = require(25);
var Element = require(26);
var helpers = require(45);

var globalDefaults = defaults.global;

defaults._set('global', {
	elements: {
		line: {
			tension: 0.4,
			backgroundColor: globalDefaults.defaultColor,
			borderWidth: 3,
			borderColor: globalDefaults.defaultColor,
			borderCapStyle: 'butt',
			borderDash: [],
			borderDashOffset: 0.0,
			borderJoinStyle: 'miter',
			capBezierPoints: true,
			fill: true, // do we fill in the area between the line and its base axis
		}
	}
});

module.exports = Element.extend({
	draw: function() {
		var me = this;
		var vm = me._view;
		var ctx = me._chart.ctx;
		var spanGaps = vm.spanGaps;
		var points = me._children.slice(); // clone array
		var globalOptionLineElements = globalDefaults.elements.line;
		var lastDrawnIndex = -1;
		var index, current, previous, currentVM;

		// If we are looping, adding the first point again
		if (me._loop && points.length) {
			points.push(points[0]);
		}

		ctx.save();

		// Stroke Line Options
		ctx.lineCap = vm.borderCapStyle || globalOptionLineElements.borderCapStyle;

		// IE 9 and 10 do not support line dash
		if (ctx.setLineDash) {
			ctx.setLineDash(vm.borderDash || globalOptionLineElements.borderDash);
		}

		ctx.lineDashOffset = vm.borderDashOffset || globalOptionLineElements.borderDashOffset;
		ctx.lineJoin = vm.borderJoinStyle || globalOptionLineElements.borderJoinStyle;
		ctx.lineWidth = vm.borderWidth || globalOptionLineElements.borderWidth;
		ctx.strokeStyle = vm.borderColor || globalDefaults.defaultColor;

		// Stroke Line
		ctx.beginPath();
		lastDrawnIndex = -1;

		for (index = 0; index < points.length; ++index) {
			current = points[index];
			previous = helpers.previousItem(points, index);
			currentVM = current._view;

			// First point moves to it's starting position no matter what
			if (index === 0) {
				if (!currentVM.skip) {
					ctx.moveTo(currentVM.x, currentVM.y);
					lastDrawnIndex = index;
				}
			} else {
				previous = lastDrawnIndex === -1 ? previous : points[lastDrawnIndex];

				if (!currentVM.skip) {
					if ((lastDrawnIndex !== (index - 1) && !spanGaps) || lastDrawnIndex === -1) {
						// There was a gap and this is the first point after the gap
						ctx.moveTo(currentVM.x, currentVM.y);
					} else {
						// Line to next point
						helpers.canvas.lineTo(ctx, previous._view, current._view);
					}
					lastDrawnIndex = index;
				}
			}
		}

		ctx.stroke();
		ctx.restore();
	}
});

},{"25":25,"26":26,"45":45}],38:[function(require,module,exports){
'use strict';

var defaults = require(25);
var Element = require(26);
var helpers = require(45);

var defaultColor = defaults.global.defaultColor;

defaults._set('global', {
	elements: {
		point: {
			radius: 3,
			pointStyle: 'circle',
			backgroundColor: defaultColor,
			borderColor: defaultColor,
			borderWidth: 1,
			// Hover
			hitRadius: 1,
			hoverRadius: 4,
			hoverBorderWidth: 1
		}
	}
});

function xRange(mouseX) {
	var vm = this._view;
	return vm ? (Math.pow(mouseX - vm.x, 2) < Math.pow(vm.radius + vm.hitRadius, 2)) : false;
}

function yRange(mouseY) {
	var vm = this._view;
	return vm ? (Math.pow(mouseY - vm.y, 2) < Math.pow(vm.radius + vm.hitRadius, 2)) : false;
}

module.exports = Element.extend({
	inRange: function(mouseX, mouseY) {
		var vm = this._view;
		return vm ? ((Math.pow(mouseX - vm.x, 2) + Math.pow(mouseY - vm.y, 2)) < Math.pow(vm.hitRadius + vm.radius, 2)) : false;
	},

	inLabelRange: xRange,
	inXRange: xRange,
	inYRange: yRange,

	getCenterPoint: function() {
		var vm = this._view;
		return {
			x: vm.x,
			y: vm.y
		};
	},

	getArea: function() {
		return Math.PI * Math.pow(this._view.radius, 2);
	},

	tooltipPosition: function() {
		var vm = this._view;
		return {
			x: vm.x,
			y: vm.y,
			padding: vm.radius + vm.borderWidth
		};
	},

	draw: function(chartArea) {
		var vm = this._view;
		var model = this._model;
		var ctx = this._chart.ctx;
		var pointStyle = vm.pointStyle;
		var radius = vm.radius;
		var x = vm.x;
		var y = vm.y;
		var color = helpers.color;
		var errMargin = 1.01; // 1.01 is margin for Accumulated error. (Especially Edge, IE.)
		var ratio = 0;

		if (vm.skip) {
			return;
		}

		ctx.strokeStyle = vm.borderColor || defaultColor;
		ctx.lineWidth = helpers.valueOrDefault(vm.borderWidth, defaults.global.elements.point.borderWidth);
		ctx.fillStyle = vm.backgroundColor || defaultColor;

		// Cliping for Points.
		// going out from inner charArea?
		if ((chartArea !== undefined) && ((model.x < chartArea.left) || (chartArea.right * errMargin < model.x) || (model.y < chartArea.top) || (chartArea.bottom * errMargin < model.y))) {
			// Point fade out
			if (model.x < chartArea.left) {
				ratio = (x - model.x) / (chartArea.left - model.x);
			} else if (chartArea.right * errMargin < model.x) {
				ratio = (model.x - x) / (model.x - chartArea.right);
			} else if (model.y < chartArea.top) {
				ratio = (y - model.y) / (chartArea.top - model.y);
			} else if (chartArea.bottom * errMargin < model.y) {
				ratio = (model.y - y) / (model.y - chartArea.bottom);
			}
			ratio = Math.round(ratio * 100) / 100;
			ctx.strokeStyle = color(ctx.strokeStyle).alpha(ratio).rgbString();
			ctx.fillStyle = color(ctx.fillStyle).alpha(ratio).rgbString();
		}

		helpers.canvas.drawPoint(ctx, pointStyle, radius, x, y);
	}
});

},{"25":25,"26":26,"45":45}],39:[function(require,module,exports){
'use strict';

var defaults = require(25);
var Element = require(26);

defaults._set('global', {
	elements: {
		rectangle: {
			backgroundColor: defaults.global.defaultColor,
			borderColor: defaults.global.defaultColor,
			borderSkipped: 'bottom',
			borderWidth: 0
		}
	}
});

function isVertical(bar) {
	return bar._view.width !== undefined;
}

/**
 * Helper function to get the bounds of the bar regardless of the orientation
 * @param bar {Chart.Element.Rectangle} the bar
 * @return {Bounds} bounds of the bar
 * @private
 */
function getBarBounds(bar) {
	var vm = bar._view;
	var x1, x2, y1, y2;

	if (isVertical(bar)) {
		// vertical
		var halfWidth = vm.width / 2;
		x1 = vm.x - halfWidth;
		x2 = vm.x + halfWidth;
		y1 = Math.min(vm.y, vm.base);
		y2 = Math.max(vm.y, vm.base);
	} else {
		// horizontal bar
		var halfHeight = vm.height / 2;
		x1 = Math.min(vm.x, vm.base);
		x2 = Math.max(vm.x, vm.base);
		y1 = vm.y - halfHeight;
		y2 = vm.y + halfHeight;
	}

	return {
		left: x1,
		top: y1,
		right: x2,
		bottom: y2
	};
}

module.exports = Element.extend({
	draw: function() {
		var ctx = this._chart.ctx;
		var vm = this._view;
		var left, right, top, bottom, signX, signY, borderSkipped;
		var borderWidth = vm.borderWidth;

		if (!vm.horizontal) {
			// bar
			left = vm.x - vm.width / 2;
			right = vm.x + vm.width / 2;
			top = vm.y;
			bottom = vm.base;
			signX = 1;
			signY = bottom > top ? 1 : -1;
			borderSkipped = vm.borderSkipped || 'bottom';
		} else {
			// horizontal bar
			left = vm.base;
			right = vm.x;
			top = vm.y - vm.height / 2;
			bottom = vm.y + vm.height / 2;
			signX = right > left ? 1 : -1;
			signY = 1;
			borderSkipped = vm.borderSkipped || 'left';
		}

		// Canvas doesn't allow us to stroke inside the width so we can
		// adjust the sizes to fit if we're setting a stroke on the line
		if (borderWidth) {
			// borderWidth shold be less than bar width and bar height.
			var barSize = Math.min(Math.abs(left - right), Math.abs(top - bottom));
			borderWidth = borderWidth > barSize ? barSize : borderWidth;
			var halfStroke = borderWidth / 2;
			// Adjust borderWidth when bar top position is near vm.base(zero).
			var borderLeft = left + (borderSkipped !== 'left' ? halfStroke * signX : 0);
			var borderRight = right + (borderSkipped !== 'right' ? -halfStroke * signX : 0);
			var borderTop = top + (borderSkipped !== 'top' ? halfStroke * signY : 0);
			var borderBottom = bottom + (borderSkipped !== 'bottom' ? -halfStroke * signY : 0);
			// not become a vertical line?
			if (borderLeft !== borderRight) {
				top = borderTop;
				bottom = borderBottom;
			}
			// not become a horizontal line?
			if (borderTop !== borderBottom) {
				left = borderLeft;
				right = borderRight;
			}
		}

		ctx.beginPath();
		ctx.fillStyle = vm.backgroundColor;
		ctx.strokeStyle = vm.borderColor;
		ctx.lineWidth = borderWidth;

		// Corner points, from bottom-left to bottom-right clockwise
		// | 1 2 |
		// | 0 3 |
		var corners = [
			[left, bottom],
			[left, top],
			[right, top],
			[right, bottom]
		];

		// Find first (starting) corner with fallback to 'bottom'
		var borders = ['bottom', 'left', 'top', 'right'];
		var startCorner = borders.indexOf(borderSkipped, 0);
		if (startCorner === -1) {
			startCorner = 0;
		}

		function cornerAt(index) {
			return corners[(startCorner + index) % 4];
		}

		// Draw rectangle from 'startCorner'
		var corner = cornerAt(0);
		ctx.moveTo(corner[0], corner[1]);

		for (var i = 1; i < 4; i++) {
			corner = cornerAt(i);
			ctx.lineTo(corner[0], corner[1]);
		}

		ctx.fill();
		if (borderWidth) {
			ctx.stroke();
		}
	},

	height: function() {
		var vm = this._view;
		return vm.base - vm.y;
	},

	inRange: function(mouseX, mouseY) {
		var inRange = false;

		if (this._view) {
			var bounds = getBarBounds(this);
			inRange = mouseX >= bounds.left && mouseX <= bounds.right && mouseY >= bounds.top && mouseY <= bounds.bottom;
		}

		return inRange;
	},

	inLabelRange: function(mouseX, mouseY) {
		var me = this;
		if (!me._view) {
			return false;
		}

		var inRange = false;
		var bounds = getBarBounds(me);

		if (isVertical(me)) {
			inRange = mouseX >= bounds.left && mouseX <= bounds.right;
		} else {
			inRange = mouseY >= bounds.top && mouseY <= bounds.bottom;
		}

		return inRange;
	},

	inXRange: function(mouseX) {
		var bounds = getBarBounds(this);
		return mouseX >= bounds.left && mouseX <= bounds.right;
	},

	inYRange: function(mouseY) {
		var bounds = getBarBounds(this);
		return mouseY >= bounds.top && mouseY <= bounds.bottom;
	},

	getCenterPoint: function() {
		var vm = this._view;
		var x, y;
		if (isVertical(this)) {
			x = vm.x;
			y = (vm.y + vm.base) / 2;
		} else {
			x = (vm.x + vm.base) / 2;
			y = vm.y;
		}

		return {x: x, y: y};
	},

	getArea: function() {
		var vm = this._view;
		return vm.width * Math.abs(vm.y - vm.base);
	},

	tooltipPosition: function() {
		var vm = this._view;
		return {
			x: vm.x,
			y: vm.y
		};
	}
});

},{"25":25,"26":26}],40:[function(require,module,exports){
'use strict';

module.exports = {};
module.exports.Arc = require(36);
module.exports.Line = require(37);
module.exports.Point = require(38);
module.exports.Rectangle = require(39);

},{"36":36,"37":37,"38":38,"39":39}],41:[function(require,module,exports){
'use strict';

var helpers = require(42);

/**
 * @namespace Chart.helpers.canvas
 */
var exports = module.exports = {
	/**
	 * Clears the entire canvas associated to the given `chart`.
	 * @param {Chart} chart - The chart for which to clear the canvas.
	 */
	clear: function(chart) {
		chart.ctx.clearRect(0, 0, chart.width, chart.height);
	},

	/**
	 * Creates a "path" for a rectangle with rounded corners at position (x, y) with a
	 * given size (width, height) and the same `radius` for all corners.
	 * @param {CanvasRenderingContext2D} ctx - The canvas 2D Context.
	 * @param {Number} x - The x axis of the coordinate for the rectangle starting point.
	 * @param {Number} y - The y axis of the coordinate for the rectangle starting point.
	 * @param {Number} width - The rectangle's width.
	 * @param {Number} height - The rectangle's height.
	 * @param {Number} radius - The rounded amount (in pixels) for the four corners.
	 * @todo handle `radius` as top-left, top-right, bottom-right, bottom-left array/object?
	 */
	roundedRect: function(ctx, x, y, width, height, radius) {
		if (radius) {
			var rx = Math.min(radius, width / 2);
			var ry = Math.min(radius, height / 2);

			ctx.moveTo(x + rx, y);
			ctx.lineTo(x + width - rx, y);
			ctx.quadraticCurveTo(x + width, y, x + width, y + ry);
			ctx.lineTo(x + width, y + height - ry);
			ctx.quadraticCurveTo(x + width, y + height, x + width - rx, y + height);
			ctx.lineTo(x + rx, y + height);
			ctx.quadraticCurveTo(x, y + height, x, y + height - ry);
			ctx.lineTo(x, y + ry);
			ctx.quadraticCurveTo(x, y, x + rx, y);
		} else {
			ctx.rect(x, y, width, height);
		}
	},

	drawPoint: function(ctx, style, radius, x, y) {
		var type, edgeLength, xOffset, yOffset, height, size;

		if (style && typeof style === 'object') {
			type = style.toString();
			if (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') {
				ctx.drawImage(style, x - style.width / 2, y - style.height / 2, style.width, style.height);
				return;
			}
		}

		if (isNaN(radius) || radius <= 0) {
			return;
		}

		switch (style) {
		// Default includes circle
		default:
			ctx.beginPath();
			ctx.arc(x, y, radius, 0, Math.PI * 2);
			ctx.closePath();
			ctx.fill();
			break;
		case 'triangle':
			ctx.beginPath();
			edgeLength = 3 * radius / Math.sqrt(3);
			height = edgeLength * Math.sqrt(3) / 2;
			ctx.moveTo(x - edgeLength / 2, y + height / 3);
			ctx.lineTo(x + edgeLength / 2, y + height / 3);
			ctx.lineTo(x, y - 2 * height / 3);
			ctx.closePath();
			ctx.fill();
			break;
		case 'rect':
			size = 1 / Math.SQRT2 * radius;
			ctx.beginPath();
			ctx.fillRect(x - size, y - size, 2 * size, 2 * size);
			ctx.strokeRect(x - size, y - size, 2 * size, 2 * size);
			break;
		case 'rectRounded':
			var offset = radius / Math.SQRT2;
			var leftX = x - offset;
			var topY = y - offset;
			var sideSize = Math.SQRT2 * radius;
			ctx.beginPath();
			this.roundedRect(ctx, leftX, topY, sideSize, sideSize, radius / 2);
			ctx.closePath();
			ctx.fill();
			break;
		case 'rectRot':
			size = 1 / Math.SQRT2 * radius;
			ctx.beginPath();
			ctx.moveTo(x - size, y);
			ctx.lineTo(x, y + size);
			ctx.lineTo(x + size, y);
			ctx.lineTo(x, y - size);
			ctx.closePath();
			ctx.fill();
			break;
		case 'cross':
			ctx.beginPath();
			ctx.moveTo(x, y + radius);
			ctx.lineTo(x, y - radius);
			ctx.moveTo(x - radius, y);
			ctx.lineTo(x + radius, y);
			ctx.closePath();
			break;
		case 'crossRot':
			ctx.beginPath();
			xOffset = Math.cos(Math.PI / 4) * radius;
			yOffset = Math.sin(Math.PI / 4) * radius;
			ctx.moveTo(x - xOffset, y - yOffset);
			ctx.lineTo(x + xOffset, y + yOffset);
			ctx.moveTo(x - xOffset, y + yOffset);
			ctx.lineTo(x + xOffset, y - yOffset);
			ctx.closePath();
			break;
		case 'star':
			ctx.beginPath();
			ctx.moveTo(x, y + radius);
			ctx.lineTo(x, y - radius);
			ctx.moveTo(x - radius, y);
			ctx.lineTo(x + radius, y);
			xOffset = Math.cos(Math.PI / 4) * radius;
			yOffset = Math.sin(Math.PI / 4) * radius;
			ctx.moveTo(x - xOffset, y - yOffset);
			ctx.lineTo(x + xOffset, y + yOffset);
			ctx.moveTo(x - xOffset, y + yOffset);
			ctx.lineTo(x + xOffset, y - yOffset);
			ctx.closePath();
			break;
		case 'line':
			ctx.beginPath();
			ctx.moveTo(x - radius, y);
			ctx.lineTo(x + radius, y);
			ctx.closePath();
			break;
		case 'dash':
			ctx.beginPath();
			ctx.moveTo(x, y);
			ctx.lineTo(x + radius, y);
			ctx.closePath();
			break;
		}

		ctx.stroke();
	},

	clipArea: function(ctx, area) {
		ctx.save();
		ctx.beginPath();
		ctx.rect(area.left, area.top, area.right - area.left, area.bottom - area.top);
		ctx.clip();
	},

	unclipArea: function(ctx) {
		ctx.restore();
	},

	lineTo: function(ctx, previous, target, flip) {
		if (target.steppedLine) {
			if ((target.steppedLine === 'after' && !flip) || (target.steppedLine !== 'after' && flip)) {
				ctx.lineTo(previous.x, target.y);
			} else {
				ctx.lineTo(target.x, previous.y);
			}
			ctx.lineTo(target.x, target.y);
			return;
		}

		if (!target.tension) {
			ctx.lineTo(target.x, target.y);
			return;
		}

		ctx.bezierCurveTo(
			flip ? previous.controlPointPreviousX : previous.controlPointNextX,
			flip ? previous.controlPointPreviousY : previous.controlPointNextY,
			flip ? target.controlPointNextX : target.controlPointPreviousX,
			flip ? target.controlPointNextY : target.controlPointPreviousY,
			target.x,
			target.y);
	}
};

// DEPRECATIONS

/**
 * Provided for backward compatibility, use Chart.helpers.canvas.clear instead.
 * @namespace Chart.helpers.clear
 * @deprecated since version 2.7.0
 * @todo remove at version 3
 * @private
 */
helpers.clear = exports.clear;

/**
 * Provided for backward compatibility, use Chart.helpers.canvas.roundedRect instead.
 * @namespace Chart.helpers.drawRoundedRectangle
 * @deprecated since version 2.7.0
 * @todo remove at version 3
 * @private
 */
helpers.drawRoundedRectangle = function(ctx) {
	ctx.beginPath();
	exports.roundedRect.apply(exports, arguments);
	ctx.closePath();
};

},{"42":42}],42:[function(require,module,exports){
'use strict';

/**
 * @namespace Chart.helpers
 */
var helpers = {
	/**
	 * An empty function that can be used, for example, for optional callback.
	 */
	noop: function() {},

	/**
	 * Returns a unique id, sequentially generated from a global variable.
	 * @returns {Number}
	 * @function
	 */
	uid: (function() {
		var id = 0;
		return function() {
			return id++;
		};
	}()),

	/**
	 * Returns true if `value` is neither null nor undefined, else returns false.
	 * @param {*} value - The value to test.
	 * @returns {Boolean}
	 * @since 2.7.0
	 */
	isNullOrUndef: function(value) {
		return value === null || typeof value === 'undefined';
	},

	/**
	 * Returns true if `value` is an array, else returns false.
	 * @param {*} value - The value to test.
	 * @returns {Boolean}
	 * @function
	 */
	isArray: Array.isArray ? Array.isArray : function(value) {
		return Object.prototype.toString.call(value) === '[object Array]';
	},

	/**
	 * Returns true if `value` is an object (excluding null), else returns false.
	 * @param {*} value - The value to test.
	 * @returns {Boolean}
	 * @since 2.7.0
	 */
	isObject: function(value) {
		return value !== null && Object.prototype.toString.call(value) === '[object Object]';
	},

	/**
	 * Returns `value` if defined, else returns `defaultValue`.
	 * @param {*} value - The value to return if defined.
	 * @param {*} defaultValue - The value to return if `value` is undefined.
	 * @returns {*}
	 */
	valueOrDefault: function(value, defaultValue) {
		return typeof value === 'undefined' ? defaultValue : value;
	},

	/**
	 * Returns value at the given `index` in array if defined, else returns `defaultValue`.
	 * @param {Array} value - The array to lookup for value at `index`.
	 * @param {Number} index - The index in `value` to lookup for value.
	 * @param {*} defaultValue - The value to return if `value[index]` is undefined.
	 * @returns {*}
	 */
	valueAtIndexOrDefault: function(value, index, defaultValue) {
		return helpers.valueOrDefault(helpers.isArray(value) ? value[index] : value, defaultValue);
	},

	/**
	 * Calls `fn` with the given `args` in the scope defined by `thisArg` and returns the
	 * value returned by `fn`. If `fn` is not a function, this method returns undefined.
	 * @param {Function} fn - The function to call.
	 * @param {Array|undefined|null} args - The arguments with which `fn` should be called.
	 * @param {Object} [thisArg] - The value of `this` provided for the call to `fn`.
	 * @returns {*}
	 */
	callback: function(fn, args, thisArg) {
		if (fn && typeof fn.call === 'function') {
			return fn.apply(thisArg, args);
		}
	},

	/**
	 * Note(SB) for performance sake, this method should only be used when loopable type
	 * is unknown or in none intensive code (not called often and small loopable). Else
	 * it's preferable to use a regular for() loop and save extra function calls.
	 * @param {Object|Array} loopable - The object or array to be iterated.
	 * @param {Function} fn - The function to call for each item.
	 * @param {Object} [thisArg] - The value of `this` provided for the call to `fn`.
	 * @param {Boolean} [reverse] - If true, iterates backward on the loopable.
	 */
	each: function(loopable, fn, thisArg, reverse) {
		var i, len, keys;
		if (helpers.isArray(loopable)) {
			len = loopable.length;
			if (reverse) {
				for (i = len - 1; i >= 0; i--) {
					fn.call(thisArg, loopable[i], i);
				}
			} else {
				for (i = 0; i < len; i++) {
					fn.call(thisArg, loopable[i], i);
				}
			}
		} else if (helpers.isObject(loopable)) {
			keys = Object.keys(loopable);
			len = keys.length;
			for (i = 0; i < len; i++) {
				fn.call(thisArg, loopable[keys[i]], keys[i]);
			}
		}
	},

	/**
	 * Returns true if the `a0` and `a1` arrays have the same content, else returns false.
	 * @see http://stackoverflow.com/a/14853974
	 * @param {Array} a0 - The array to compare
	 * @param {Array} a1 - The array to compare
	 * @returns {Boolean}
	 */
	arrayEquals: function(a0, a1) {
		var i, ilen, v0, v1;

		if (!a0 || !a1 || a0.length !== a1.length) {
			return false;
		}

		for (i = 0, ilen = a0.length; i < ilen; ++i) {
			v0 = a0[i];
			v1 = a1[i];

			if (v0 instanceof Array && v1 instanceof Array) {
				if (!helpers.arrayEquals(v0, v1)) {
					return false;
				}
			} else if (v0 !== v1) {
				// NOTE: two different object instances will never be equal: {x:20} != {x:20}
				return false;
			}
		}

		return true;
	},

	/**
	 * Returns a deep copy of `source` without keeping references on objects and arrays.
	 * @param {*} source - The value to clone.
	 * @returns {*}
	 */
	clone: function(source) {
		if (helpers.isArray(source)) {
			return source.map(helpers.clone);
		}

		if (helpers.isObject(source)) {
			var target = {};
			var keys = Object.keys(source);
			var klen = keys.length;
			var k = 0;

			for (; k < klen; ++k) {
				target[keys[k]] = helpers.clone(source[keys[k]]);
			}

			return target;
		}

		return source;
	},

	/**
	 * The default merger when Chart.helpers.merge is called without merger option.
	 * Note(SB): this method is also used by configMerge and scaleMerge as fallback.
	 * @private
	 */
	_merger: function(key, target, source, options) {
		var tval = target[key];
		var sval = source[key];

		if (helpers.isObject(tval) && helpers.isObject(sval)) {
			helpers.merge(tval, sval, options);
		} else {
			target[key] = helpers.clone(sval);
		}
	},

	/**
	 * Merges source[key] in target[key] only if target[key] is undefined.
	 * @private
	 */
	_mergerIf: function(key, target, source) {
		var tval = target[key];
		var sval = source[key];

		if (helpers.isObject(tval) && helpers.isObject(sval)) {
			helpers.mergeIf(tval, sval);
		} else if (!target.hasOwnProperty(key)) {
			target[key] = helpers.clone(sval);
		}
	},

	/**
	 * Recursively deep copies `source` properties into `target` with the given `options`.
	 * IMPORTANT: `target` is not cloned and will be updated with `source` properties.
	 * @param {Object} target - The target object in which all sources are merged into.
	 * @param {Object|Array(Object)} source - Object(s) to merge into `target`.
	 * @param {Object} [options] - Merging options:
	 * @param {Function} [options.merger] - The merge method (key, target, source, options)
	 * @returns {Object} The `target` object.
	 */
	merge: function(target, source, options) {
		var sources = helpers.isArray(source) ? source : [source];
		var ilen = sources.length;
		var merge, i, keys, klen, k;

		if (!helpers.isObject(target)) {
			return target;
		}

		options = options || {};
		merge = options.merger || helpers._merger;

		for (i = 0; i < ilen; ++i) {
			source = sources[i];
			if (!helpers.isObject(source)) {
				continue;
			}

			keys = Object.keys(source);
			for (k = 0, klen = keys.length; k < klen; ++k) {
				merge(keys[k], target, source, options);
			}
		}

		return target;
	},

	/**
	 * Recursively deep copies `source` properties into `target` *only* if not defined in target.
	 * IMPORTANT: `target` is not cloned and will be updated with `source` properties.
	 * @param {Object} target - The target object in which all sources are merged into.
	 * @param {Object|Array(Object)} source - Object(s) to merge into `target`.
	 * @returns {Object} The `target` object.
	 */
	mergeIf: function(target, source) {
		return helpers.merge(target, source, {merger: helpers._mergerIf});
	},

	/**
	 * Applies the contents of two or more objects together into the first object.
	 * @param {Object} target - The target object in which all objects are merged into.
	 * @param {Object} arg1 - Object containing additional properties to merge in target.
	 * @param {Object} argN - Additional objects containing properties to merge in target.
	 * @returns {Object} The `target` object.
	 */
	extend: function(target) {
		var setFn = function(value, key) {
			target[key] = value;
		};
		for (var i = 1, ilen = arguments.length; i < ilen; ++i) {
			helpers.each(arguments[i], setFn);
		}
		return target;
	},

	/**
	 * Basic javascript inheritance based on the model created in Backbone.js
	 */
	inherits: function(extensions) {
		var me = this;
		var ChartElement = (extensions && extensions.hasOwnProperty('constructor')) ? extensions.constructor : function() {
			return me.apply(this, arguments);
		};

		var Surrogate = function() {
			this.constructor = ChartElement;
		};

		Surrogate.prototype = me.prototype;
		ChartElement.prototype = new Surrogate();
		ChartElement.extend = helpers.inherits;

		if (extensions) {
			helpers.extend(ChartElement.prototype, extensions);
		}

		ChartElement.__super__ = me.prototype;
		return ChartElement;
	}
};

module.exports = helpers;

// DEPRECATIONS

/**
 * Provided for backward compatibility, use Chart.helpers.callback instead.
 * @function Chart.helpers.callCallback
 * @deprecated since version 2.6.0
 * @todo remove at version 3
 * @private
 */
helpers.callCallback = helpers.callback;

/**
 * Provided for backward compatibility, use Array.prototype.indexOf instead.
 * Array.prototype.indexOf compatibility: Chrome, Opera, Safari, FF1.5+, IE9+
 * @function Chart.helpers.indexOf
 * @deprecated since version 2.7.0
 * @todo remove at version 3
 * @private
 */
helpers.indexOf = function(array, item, fromIndex) {
	return Array.prototype.indexOf.call(array, item, fromIndex);
};

/**
 * Provided for backward compatibility, use Chart.helpers.valueOrDefault instead.
 * @function Chart.helpers.getValueOrDefault
 * @deprecated since version 2.7.0
 * @todo remove at version 3
 * @private
 */
helpers.getValueOrDefault = helpers.valueOrDefault;

/**
 * Provided for backward compatibility, use Chart.helpers.valueAtIndexOrDefault instead.
 * @function Chart.helpers.getValueAtIndexOrDefault
 * @deprecated since version 2.7.0
 * @todo remove at version 3
 * @private
 */
helpers.getValueAtIndexOrDefault = helpers.valueAtIndexOrDefault;

},{}],43:[function(require,module,exports){
'use strict';

var helpers = require(42);

/**
 * Easing functions adapted from Robert Penner's easing equations.
 * @namespace Chart.helpers.easingEffects
 * @see http://www.robertpenner.com/easing/
 */
var effects = {
	linear: function(t) {
		return t;
	},

	easeInQuad: function(t) {
		return t * t;
	},

	easeOutQuad: function(t) {
		return -t * (t - 2);
	},

	easeInOutQuad: function(t) {
		if ((t /= 0.5) < 1) {
			return 0.5 * t * t;
		}
		return -0.5 * ((--t) * (t - 2) - 1);
	},

	easeInCubic: function(t) {
		return t * t * t;
	},

	easeOutCubic: function(t) {
		return (t = t - 1) * t * t + 1;
	},

	easeInOutCubic: function(t) {
		if ((t /= 0.5) < 1) {
			return 0.5 * t * t * t;
		}
		return 0.5 * ((t -= 2) * t * t + 2);
	},

	easeInQuart: function(t) {
		return t * t * t * t;
	},

	easeOutQuart: function(t) {
		return -((t = t - 1) * t * t * t - 1);
	},

	easeInOutQuart: function(t) {
		if ((t /= 0.5) < 1) {
			return 0.5 * t * t * t * t;
		}
		return -0.5 * ((t -= 2) * t * t * t - 2);
	},

	easeInQuint: function(t) {
		return t * t * t * t * t;
	},

	easeOutQuint: function(t) {
		return (t = t - 1) * t * t * t * t + 1;
	},

	easeInOutQuint: function(t) {
		if ((t /= 0.5) < 1) {
			return 0.5 * t * t * t * t * t;
		}
		return 0.5 * ((t -= 2) * t * t * t * t + 2);
	},

	easeInSine: function(t) {
		return -Math.cos(t * (Math.PI / 2)) + 1;
	},

	easeOutSine: function(t) {
		return Math.sin(t * (Math.PI / 2));
	},

	easeInOutSine: function(t) {
		return -0.5 * (Math.cos(Math.PI * t) - 1);
	},

	easeInExpo: function(t) {
		return (t === 0) ? 0 : Math.pow(2, 10 * (t - 1));
	},

	easeOutExpo: function(t) {
		return (t === 1) ? 1 : -Math.pow(2, -10 * t) + 1;
	},

	easeInOutExpo: function(t) {
		if (t === 0) {
			return 0;
		}
		if (t === 1) {
			return 1;
		}
		if ((t /= 0.5) < 1) {
			return 0.5 * Math.pow(2, 10 * (t - 1));
		}
		return 0.5 * (-Math.pow(2, -10 * --t) + 2);
	},

	easeInCirc: function(t) {
		if (t >= 1) {
			return t;
		}
		return -(Math.sqrt(1 - t * t) - 1);
	},

	easeOutCirc: function(t) {
		return Math.sqrt(1 - (t = t - 1) * t);
	},

	easeInOutCirc: function(t) {
		if ((t /= 0.5) < 1) {
			return -0.5 * (Math.sqrt(1 - t * t) - 1);
		}
		return 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1);
	},

	easeInElastic: function(t) {
		var s = 1.70158;
		var p = 0;
		var a = 1;
		if (t === 0) {
			return 0;
		}
		if (t === 1) {
			return 1;
		}
		if (!p) {
			p = 0.3;
		}
		if (a < 1) {
			a = 1;
			s = p / 4;
		} else {
			s = p / (2 * Math.PI) * Math.asin(1 / a);
		}
		return -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p));
	},

	easeOutElastic: function(t) {
		var s = 1.70158;
		var p = 0;
		var a = 1;
		if (t === 0) {
			return 0;
		}
		if (t === 1) {
			return 1;
		}
		if (!p) {
			p = 0.3;
		}
		if (a < 1) {
			a = 1;
			s = p / 4;
		} else {
			s = p / (2 * Math.PI) * Math.asin(1 / a);
		}
		return a * Math.pow(2, -10 * t) * Math.sin((t - s) * (2 * Math.PI) / p) + 1;
	},

	easeInOutElastic: function(t) {
		var s = 1.70158;
		var p = 0;
		var a = 1;
		if (t === 0) {
			return 0;
		}
		if ((t /= 0.5) === 2) {
			return 1;
		}
		if (!p) {
			p = 0.45;
		}
		if (a < 1) {
			a = 1;
			s = p / 4;
		} else {
			s = p / (2 * Math.PI) * Math.asin(1 / a);
		}
		if (t < 1) {
			return -0.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p));
		}
		return a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p) * 0.5 + 1;
	},
	easeInBack: function(t) {
		var s = 1.70158;
		return t * t * ((s + 1) * t - s);
	},

	easeOutBack: function(t) {
		var s = 1.70158;
		return (t = t - 1) * t * ((s + 1) * t + s) + 1;
	},

	easeInOutBack: function(t) {
		var s = 1.70158;
		if ((t /= 0.5) < 1) {
			return 0.5 * (t * t * (((s *= (1.525)) + 1) * t - s));
		}
		return 0.5 * ((t -= 2) * t * (((s *= (1.525)) + 1) * t + s) + 2);
	},

	easeInBounce: function(t) {
		return 1 - effects.easeOutBounce(1 - t);
	},

	easeOutBounce: function(t) {
		if (t < (1 / 2.75)) {
			return 7.5625 * t * t;
		}
		if (t < (2 / 2.75)) {
			return 7.5625 * (t -= (1.5 / 2.75)) * t + 0.75;
		}
		if (t < (2.5 / 2.75)) {
			return 7.5625 * (t -= (2.25 / 2.75)) * t + 0.9375;
		}
		return 7.5625 * (t -= (2.625 / 2.75)) * t + 0.984375;
	},

	easeInOutBounce: function(t) {
		if (t < 0.5) {
			return effects.easeInBounce(t * 2) * 0.5;
		}
		return effects.easeOutBounce(t * 2 - 1) * 0.5 + 0.5;
	}
};

module.exports = {
	effects: effects
};

// DEPRECATIONS

/**
 * Provided for backward compatibility, use Chart.helpers.easing.effects instead.
 * @function Chart.helpers.easingEffects
 * @deprecated since version 2.7.0
 * @todo remove at version 3
 * @private
 */
helpers.easingEffects = effects;

},{"42":42}],44:[function(require,module,exports){
'use strict';

var helpers = require(42);

/**
 * @alias Chart.helpers.options
 * @namespace
 */
module.exports = {
	/**
	 * Converts the given line height `value` in pixels for a specific font `size`.
	 * @param {Number|String} value - The lineHeight to parse (eg. 1.6, '14px', '75%', '1.6em').
	 * @param {Number} size - The font size (in pixels) used to resolve relative `value`.
	 * @returns {Number} The effective line height in pixels (size * 1.2 if value is invalid).
	 * @see https://developer.mozilla.org/en-US/docs/Web/CSS/line-height
	 * @since 2.7.0
	 */
	toLineHeight: function(value, size) {
		var matches = ('' + value).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);
		if (!matches || matches[1] === 'normal') {
			return size * 1.2;
		}

		value = +matches[2];

		switch (matches[3]) {
		case 'px':
			return value;
		case '%':
			value /= 100;
			break;
		default:
			break;
		}

		return size * value;
	},

	/**
	 * Converts the given value into a padding object with pre-computed width/height.
	 * @param {Number|Object} value - If a number, set the value to all TRBL component,
	 *  else, if and object, use defined properties and sets undefined ones to 0.
	 * @returns {Object} The padding values (top, right, bottom, left, width, height)
	 * @since 2.7.0
	 */
	toPadding: function(value) {
		var t, r, b, l;

		if (helpers.isObject(value)) {
			t = +value.top || 0;
			r = +value.right || 0;
			b = +value.bottom || 0;
			l = +value.left || 0;
		} else {
			t = r = b = l = +value || 0;
		}

		return {
			top: t,
			right: r,
			bottom: b,
			left: l,
			height: t + b,
			width: l + r
		};
	},

	/**
	 * Evaluates the given `inputs` sequentially and returns the first defined value.
	 * @param {Array[]} inputs - An array of values, falling back to the last value.
	 * @param {Object} [context] - If defined and the current value is a function, the value
	 * is called with `context` as first argument and the result becomes the new input.
	 * @param {Number} [index] - If defined and the current value is an array, the value
	 * at `index` become the new input.
	 * @since 2.7.0
	 */
	resolve: function(inputs, context, index) {
		var i, ilen, value;

		for (i = 0, ilen = inputs.length; i < ilen; ++i) {
			value = inputs[i];
			if (value === undefined) {
				continue;
			}
			if (context !== undefined && typeof value === 'function') {
				value = value(context);
			}
			if (index !== undefined && helpers.isArray(value)) {
				value = value[index];
			}
			if (value !== undefined) {
				return value;
			}
		}
	}
};

},{"42":42}],45:[function(require,module,exports){
'use strict';

module.exports = require(42);
module.exports.easing = require(43);
module.exports.canvas = require(41);
module.exports.options = require(44);

},{"41":41,"42":42,"43":43,"44":44}],46:[function(require,module,exports){
/**
 * Platform fallback implementation (minimal).
 * @see https://github.com/chartjs/Chart.js/pull/4591#issuecomment-319575939
 */

module.exports = {
	acquireContext: function(item) {
		if (item && item.canvas) {
			// Support for any object associated to a canvas (including a context2d)
			item = item.canvas;
		}

		return item && item.getContext('2d') || null;
	}
};

},{}],47:[function(require,module,exports){
/**
 * Chart.Platform implementation for targeting a web browser
 */

'use strict';

var helpers = require(45);

var EXPANDO_KEY = '$chartjs';
var CSS_PREFIX = 'chartjs-';
var CSS_RENDER_MONITOR = CSS_PREFIX + 'render-monitor';
var CSS_RENDER_ANIMATION = CSS_PREFIX + 'render-animation';
var ANIMATION_START_EVENTS = ['animationstart', 'webkitAnimationStart'];

/**
 * DOM event types -> Chart.js event types.
 * Note: only events with different types are mapped.
 * @see https://developer.mozilla.org/en-US/docs/Web/Events
 */
var EVENT_TYPES = {
	touchstart: 'mousedown',
	touchmove: 'mousemove',
	touchend: 'mouseup',
	pointerenter: 'mouseenter',
	pointerdown: 'mousedown',
	pointermove: 'mousemove',
	pointerup: 'mouseup',
	pointerleave: 'mouseout',
	pointerout: 'mouseout'
};

/**
 * The "used" size is the final value of a dimension property after all calculations have
 * been performed. This method uses the computed style of `element` but returns undefined
 * if the computed style is not expressed in pixels. That can happen in some cases where
 * `element` has a size relative to its parent and this last one is not yet displayed,
 * for example because of `display: none` on a parent node.
 * @see https://developer.mozilla.org/en-US/docs/Web/CSS/used_value
 * @returns {Number} Size in pixels or undefined if unknown.
 */
function readUsedSize(element, property) {
	var value = helpers.getStyle(element, property);
	var matches = value && value.match(/^(\d+)(\.\d+)?px$/);
	return matches ? Number(matches[1]) : undefined;
}

/**
 * Initializes the canvas style and render size without modifying the canvas display size,
 * since responsiveness is handled by the controller.resize() method. The config is used
 * to determine the aspect ratio to apply in case no explicit height has been specified.
 */
function initCanvas(canvas, config) {
	var style = canvas.style;

	// NOTE(SB) canvas.getAttribute('width') !== canvas.width: in the first case it
	// returns null or '' if no explicit value has been set to the canvas attribute.
	var renderHeight = canvas.getAttribute('height');
	var renderWidth = canvas.getAttribute('width');

	// Chart.js modifies some canvas values that we want to restore on destroy
	canvas[EXPANDO_KEY] = {
		initial: {
			height: renderHeight,
			width: renderWidth,
			style: {
				display: style.display,
				height: style.height,
				width: style.width
			}
		}
	};

	// Force canvas to display as block to avoid extra space caused by inline
	// elements, which would interfere with the responsive resize process.
	// https://github.com/chartjs/Chart.js/issues/2538
	style.display = style.display || 'block';

	if (renderWidth === null || renderWidth === '') {
		var displayWidth = readUsedSize(canvas, 'width');
		if (displayWidth !== undefined) {
			canvas.width = displayWidth;
		}
	}

	if (renderHeight === null || renderHeight === '') {
		if (canvas.style.height === '') {
			// If no explicit render height and style height, let's apply the aspect ratio,
			// which one can be specified by the user but also by charts as default option
			// (i.e. options.aspectRatio). If not specified, use canvas aspect ratio of 2.
			canvas.height = canvas.width / (config.options.aspectRatio || 2);
		} else {
			var displayHeight = readUsedSize(canvas, 'height');
			if (displayWidth !== undefined) {
				canvas.height = displayHeight;
			}
		}
	}

	return canvas;
}

/**
 * Detects support for options object argument in addEventListener.
 * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Safely_detecting_option_support
 * @private
 */
var supportsEventListenerOptions = (function() {
	var supports = false;
	try {
		var options = Object.defineProperty({}, 'passive', {
			get: function() {
				supports = true;
			}
		});
		window.addEventListener('e', null, options);
	} catch (e) {
		// continue regardless of error
	}
	return supports;
}());

// Default passive to true as expected by Chrome for 'touchstart' and 'touchend' events.
// https://github.com/chartjs/Chart.js/issues/4287
var eventListenerOptions = supportsEventListenerOptions ? {passive: true} : false;

function addEventListener(node, type, listener) {
	node.addEventListener(type, listener, eventListenerOptions);
}

function removeEventListener(node, type, listener) {
	node.removeEventListener(type, listener, eventListenerOptions);
}

function createEvent(type, chart, x, y, nativeEvent) {
	return {
		type: type,
		chart: chart,
		native: nativeEvent || null,
		x: x !== undefined ? x : null,
		y: y !== undefined ? y : null,
	};
}

function fromNativeEvent(event, chart) {
	var type = EVENT_TYPES[event.type] || event.type;
	var pos = helpers.getRelativePosition(event, chart);
	return createEvent(type, chart, pos.x, pos.y, event);
}

function throttled(fn, thisArg) {
	var ticking = false;
	var args = [];

	return function() {
		args = Array.prototype.slice.call(arguments);
		thisArg = thisArg || this;

		if (!ticking) {
			ticking = true;
			helpers.requestAnimFrame.call(window, function() {
				ticking = false;
				fn.apply(thisArg, args);
			});
		}
	};
}

// Implementation based on https://github.com/marcj/css-element-queries
function createResizer(handler) {
	var resizer = document.createElement('div');
	var cls = CSS_PREFIX + 'size-monitor';
	var maxSize = 1000000;
	var style =
		'position:absolute;' +
		'left:0;' +
		'top:0;' +
		'right:0;' +
		'bottom:0;' +
		'overflow:hidden;' +
		'pointer-events:none;' +
		'visibility:hidden;' +
		'z-index:-1;';

	resizer.style.cssText = style;
	resizer.className = cls;
	resizer.innerHTML =
		'<div class="' + cls + '-expand" style="' + style + '">' +
			'<div style="' +
				'position:absolute;' +
				'width:' + maxSize + 'px;' +
				'height:' + maxSize + 'px;' +
				'left:0;' +
				'top:0">' +
			'</div>' +
		'</div>' +
		'<div class="' + cls + '-shrink" style="' + style + '">' +
			'<div style="' +
				'position:absolute;' +
				'width:200%;' +
				'height:200%;' +
				'left:0; ' +
				'top:0">' +
			'</div>' +
		'</div>';

	var expand = resizer.childNodes[0];
	var shrink = resizer.childNodes[1];

	resizer._reset = function() {
		expand.scrollLeft = maxSize;
		expand.scrollTop = maxSize;
		shrink.scrollLeft = maxSize;
		shrink.scrollTop = maxSize;
	};
	var onScroll = function() {
		resizer._reset();
		handler();
	};

	addEventListener(expand, 'scroll', onScroll.bind(expand, 'expand'));
	addEventListener(shrink, 'scroll', onScroll.bind(shrink, 'shrink'));

	return resizer;
}

// https://davidwalsh.name/detect-node-insertion
function watchForRender(node, handler) {
	var expando = node[EXPANDO_KEY] || (node[EXPANDO_KEY] = {});
	var proxy = expando.renderProxy = function(e) {
		if (e.animationName === CSS_RENDER_ANIMATION) {
			handler();
		}
	};

	helpers.each(ANIMATION_START_EVENTS, function(type) {
		addEventListener(node, type, proxy);
	});

	// #4737: Chrome might skip the CSS animation when the CSS_RENDER_MONITOR class
	// is removed then added back immediately (same animation frame?). Accessing the
	// `offsetParent` property will force a reflow and re-evaluate the CSS animation.
	// https://gist.github.com/paulirish/5d52fb081b3570c81e3a#box-metrics
	// https://github.com/chartjs/Chart.js/issues/4737
	expando.reflow = !!node.offsetParent;

	node.classList.add(CSS_RENDER_MONITOR);
}

function unwatchForRender(node) {
	var expando = node[EXPANDO_KEY] || {};
	var proxy = expando.renderProxy;

	if (proxy) {
		helpers.each(ANIMATION_START_EVENTS, function(type) {
			removeEventListener(node, type, proxy);
		});

		delete expando.renderProxy;
	}

	node.classList.remove(CSS_RENDER_MONITOR);
}

function addResizeListener(node, listener, chart) {
	var expando = node[EXPANDO_KEY] || (node[EXPANDO_KEY] = {});

	// Let's keep track of this added resizer and thus avoid DOM query when removing it.
	var resizer = expando.resizer = createResizer(throttled(function() {
		if (expando.resizer) {
			return listener(createEvent('resize', chart));
		}
	}));

	// The resizer needs to be attached to the node parent, so we first need to be
	// sure that `node` is attached to the DOM before injecting the resizer element.
	watchForRender(node, function() {
		if (expando.resizer) {
			var container = node.parentNode;
			if (container && container !== resizer.parentNode) {
				container.insertBefore(resizer, container.firstChild);
			}

			// The container size might have changed, let's reset the resizer state.
			resizer._reset();
		}
	});
}

function removeResizeListener(node) {
	var expando = node[EXPANDO_KEY] || {};
	var resizer = expando.resizer;

	delete expando.resizer;
	unwatchForRender(node);

	if (resizer && resizer.parentNode) {
		resizer.parentNode.removeChild(resizer);
	}
}

function injectCSS(platform, css) {
	// http://stackoverflow.com/q/3922139
	var style = platform._style || document.createElement('style');
	if (!platform._style) {
		platform._style = style;
		css = '/* Chart.js */\n' + css;
		style.setAttribute('type', 'text/css');
		document.getElementsByTagName('head')[0].appendChild(style);
	}

	style.appendChild(document.createTextNode(css));
}

module.exports = {
	/**
	 * This property holds whether this platform is enabled for the current environment.
	 * Currently used by platform.js to select the proper implementation.
	 * @private
	 */
	_enabled: typeof window !== 'undefined' && typeof document !== 'undefined',

	initialize: function() {
		var keyframes = 'from{opacity:0.99}to{opacity:1}';

		injectCSS(this,
			// DOM rendering detection
			// https://davidwalsh.name/detect-node-insertion
			'@-webkit-keyframes ' + CSS_RENDER_ANIMATION + '{' + keyframes + '}' +
			'@keyframes ' + CSS_RENDER_ANIMATION + '{' + keyframes + '}' +
			'.' + CSS_RENDER_MONITOR + '{' +
				'-webkit-animation:' + CSS_RENDER_ANIMATION + ' 0.001s;' +
				'animation:' + CSS_RENDER_ANIMATION + ' 0.001s;' +
			'}'
		);
	},

	acquireContext: function(item, config) {
		if (typeof item === 'string') {
			item = document.getElementById(item);
		} else if (item.length) {
			// Support for array based queries (such as jQuery)
			item = item[0];
		}

		if (item && item.canvas) {
			// Support for any object associated to a canvas (including a context2d)
			item = item.canvas;
		}

		// To prevent canvas fingerprinting, some add-ons undefine the getContext
		// method, for example: https://github.com/kkapsner/CanvasBlocker
		// https://github.com/chartjs/Chart.js/issues/2807
		var context = item && item.getContext && item.getContext('2d');

		// `instanceof HTMLCanvasElement/CanvasRenderingContext2D` fails when the item is
		// inside an iframe or when running in a protected environment. We could guess the
		// types from their toString() value but let's keep things flexible and assume it's
		// a sufficient condition if the item has a context2D which has item as `canvas`.
		// https://github.com/chartjs/Chart.js/issues/3887
		// https://github.com/chartjs/Chart.js/issues/4102
		// https://github.com/chartjs/Chart.js/issues/4152
		if (context && context.canvas === item) {
			initCanvas(item, config);
			return context;
		}

		return null;
	},

	releaseContext: function(context) {
		var canvas = context.canvas;
		if (!canvas[EXPANDO_KEY]) {
			return;
		}

		var initial = canvas[EXPANDO_KEY].initial;
		['height', 'width'].forEach(function(prop) {
			var value = initial[prop];
			if (helpers.isNullOrUndef(value)) {
				canvas.removeAttribute(prop);
			} else {
				canvas.setAttribute(prop, value);
			}
		});

		helpers.each(initial.style || {}, function(value, key) {
			canvas.style[key] = value;
		});

		// The canvas render size might have been changed (and thus the state stack discarded),
		// we can't use save() and restore() to restore the initial state. So make sure that at
		// least the canvas context is reset to the default state by setting the canvas width.
		// https://www.w3.org/TR/2011/WD-html5-20110525/the-canvas-element.html
		canvas.width = canvas.width;

		delete canvas[EXPANDO_KEY];
	},

	addEventListener: function(chart, type, listener) {
		var canvas = chart.canvas;
		if (type === 'resize') {
			// Note: the resize event is not supported on all browsers.
			addResizeListener(canvas, listener, chart);
			return;
		}

		var expando = listener[EXPANDO_KEY] || (listener[EXPANDO_KEY] = {});
		var proxies = expando.proxies || (expando.proxies = {});
		var proxy = proxies[chart.id + '_' + type] = function(event) {
			listener(fromNativeEvent(event, chart));
		};

		addEventListener(canvas, type, proxy);
	},

	removeEventListener: function(chart, type, listener) {
		var canvas = chart.canvas;
		if (type === 'resize') {
			// Note: the resize event is not supported on all browsers.
			removeResizeListener(canvas, listener);
			return;
		}

		var expando = listener[EXPANDO_KEY] || {};
		var proxies = expando.proxies || {};
		var proxy = proxies[chart.id + '_' + type];
		if (!proxy) {
			return;
		}

		removeEventListener(canvas, type, proxy);
	}
};

// DEPRECATIONS

/**
 * Provided for backward compatibility, use EventTarget.addEventListener instead.
 * EventTarget.addEventListener compatibility: Chrome, Opera 7, Safari, FF1.5+, IE9+
 * @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
 * @function Chart.helpers.addEvent
 * @deprecated since version 2.7.0
 * @todo remove at version 3
 * @private
 */
helpers.addEvent = addEventListener;

/**
 * Provided for backward compatibility, use EventTarget.removeEventListener instead.
 * EventTarget.removeEventListener compatibility: Chrome, Opera 7, Safari, FF1.5+, IE9+
 * @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener
 * @function Chart.helpers.removeEvent
 * @deprecated since version 2.7.0
 * @todo remove at version 3
 * @private
 */
helpers.removeEvent = removeEventListener;

},{"45":45}],48:[function(require,module,exports){
'use strict';

var helpers = require(45);
var basic = require(46);
var dom = require(47);

// @TODO Make possible to select another platform at build time.
var implementation = dom._enabled ? dom : basic;

/**
 * @namespace Chart.platform
 * @see https://chartjs.gitbooks.io/proposals/content/Platform.html
 * @since 2.4.0
 */
module.exports = helpers.extend({
	/**
	 * @since 2.7.0
	 */
	initialize: function() {},

	/**
	 * Called at chart construction time, returns a context2d instance implementing
	 * the [W3C Canvas 2D Context API standard]{@link https://www.w3.org/TR/2dcontext/}.
	 * @param {*} item - The native item from which to acquire context (platform specific)
	 * @param {Object} options - The chart options
	 * @returns {CanvasRenderingContext2D} context2d instance
	 */
	acquireContext: function() {},

	/**
	 * Called at chart destruction time, releases any resources associated to the context
	 * previously returned by the acquireContext() method.
	 * @param {CanvasRenderingContext2D} context - The context2d instance
	 * @returns {Boolean} true if the method succeeded, else false
	 */
	releaseContext: function() {},

	/**
	 * Registers the specified listener on the given chart.
	 * @param {Chart} chart - Chart from which to listen for event
	 * @param {String} type - The ({@link IEvent}) type to listen for
	 * @param {Function} listener - Receives a notification (an object that implements
	 * the {@link IEvent} interface) when an event of the specified type occurs.
	 */
	addEventListener: function() {},

	/**
	 * Removes the specified listener previously registered with addEventListener.
	 * @param {Chart} chart -Chart from which to remove the listener
	 * @param {String} type - The ({@link IEvent}) type to remove
	 * @param {Function} listener - The listener function to remove from the event target.
	 */
	removeEventListener: function() {}

}, implementation);

/**
 * @interface IPlatform
 * Allows abstracting platform dependencies away from the chart
 * @borrows Chart.platform.acquireContext as acquireContext
 * @borrows Chart.platform.releaseContext as releaseContext
 * @borrows Chart.platform.addEventListener as addEventListener
 * @borrows Chart.platform.removeEventListener as removeEventListener
 */

/**
 * @interface IEvent
 * @prop {String} type - The event type name, possible values are:
 * 'contextmenu', 'mouseenter', 'mousedown', 'mousemove', 'mouseup', 'mouseout',
 * 'click', 'dblclick', 'keydown', 'keypress', 'keyup' and 'resize'
 * @prop {*} native - The original native event (null for emulated events, e.g. 'resize')
 * @prop {Number} x - The mouse x position, relative to the canvas (null for incompatible events)
 * @prop {Number} y - The mouse y position, relative to the canvas (null for incompatible events)
 */

},{"45":45,"46":46,"47":47}],49:[function(require,module,exports){
/**
 * Plugin based on discussion from the following Chart.js issues:
 * @see https://github.com/chartjs/Chart.js/issues/2380#issuecomment-279961569
 * @see https://github.com/chartjs/Chart.js/issues/2440#issuecomment-256461897
 */

'use strict';

var defaults = require(25);
var elements = require(40);
var helpers = require(45);

defaults._set('global', {
	plugins: {
		filler: {
			propagate: true
		}
	}
});

module.exports = function() {

	var mappers = {
		dataset: function(source) {
			var index = source.fill;
			var chart = source.chart;
			var meta = chart.getDatasetMeta(index);
			var visible = meta && chart.isDatasetVisible(index);
			var points = (visible && meta.dataset._children) || [];
			var length = points.length || 0;

			return !length ? null : function(point, i) {
				return (i < length && points[i]._view) || null;
			};
		},

		boundary: function(source) {
			var boundary = source.boundary;
			var x = boundary ? boundary.x : null;
			var y = boundary ? boundary.y : null;

			return function(point) {
				return {
					x: x === null ? point.x : x,
					y: y === null ? point.y : y,
				};
			};
		}
	};

	// @todo if (fill[0] === '#')
	function decodeFill(el, index, count) {
		var model = el._model || {};
		var fill = model.fill;
		var target;

		if (fill === undefined) {
			fill = !!model.backgroundColor;
		}

		if (fill === false || fill === null) {
			return false;
		}

		if (fill === true) {
			return 'origin';
		}

		target = parseFloat(fill, 10);
		if (isFinite(target) && Math.floor(target) === target) {
			if (fill[0] === '-' || fill[0] === '+') {
				target = index + target;
			}

			if (target === index || target < 0 || target >= count) {
				return false;
			}

			return target;
		}

		switch (fill) {
		// compatibility
		case 'bottom':
			return 'start';
		case 'top':
			return 'end';
		case 'zero':
			return 'origin';
		// supported boundaries
		case 'origin':
		case 'start':
		case 'end':
			return fill;
		// invalid fill values
		default:
			return false;
		}
	}

	function computeBoundary(source) {
		var model = source.el._model || {};
		var scale = source.el._scale || {};
		var fill = source.fill;
		var target = null;
		var horizontal;

		if (isFinite(fill)) {
			return null;
		}

		// Backward compatibility: until v3, we still need to support boundary values set on
		// the model (scaleTop, scaleBottom and scaleZero) because some external plugins and
		// controllers might still use it (e.g. the Smith chart).

		if (fill === 'start') {
			target = model.scaleBottom === undefined ? scale.bottom : model.scaleBottom;
		} else if (fill === 'end') {
			target = model.scaleTop === undefined ? scale.top : model.scaleTop;
		} else if (model.scaleZero !== undefined) {
			target = model.scaleZero;
		} else if (scale.getBasePosition) {
			target = scale.getBasePosition();
		} else if (scale.getBasePixel) {
			target = scale.getBasePixel();
		}

		if (target !== undefined && target !== null) {
			if (target.x !== undefined && target.y !== undefined) {
				return target;
			}

			if (typeof target === 'number' && isFinite(target)) {
				horizontal = scale.isHorizontal();
				return {
					x: horizontal ? target : null,
					y: horizontal ? null : target
				};
			}
		}

		return null;
	}

	function resolveTarget(sources, index, propagate) {
		var source = sources[index];
		var fill = source.fill;
		var visited = [index];
		var target;

		if (!propagate) {
			return fill;
		}

		while (fill !== false && visited.indexOf(fill) === -1) {
			if (!isFinite(fill)) {
				return fill;
			}

			target = sources[fill];
			if (!target) {
				return false;
			}

			if (target.visible) {
				return fill;
			}

			visited.push(fill);
			fill = target.fill;
		}

		return false;
	}

	function createMapper(source) {
		var fill = source.fill;
		var type = 'dataset';

		if (fill === false) {
			return null;
		}

		if (!isFinite(fill)) {
			type = 'boundary';
		}

		return mappers[type](source);
	}

	function isDrawable(point) {
		return point && !point.skip;
	}

	function drawArea(ctx, curve0, curve1, len0, len1) {
		var i;

		if (!len0 || !len1) {
			return;
		}

		// building first area curve (normal)
		ctx.moveTo(curve0[0].x, curve0[0].y);
		for (i = 1; i < len0; ++i) {
			helpers.canvas.lineTo(ctx, curve0[i - 1], curve0[i]);
		}

		// joining the two area curves
		ctx.lineTo(curve1[len1 - 1].x, curve1[len1 - 1].y);

		// building opposite area curve (reverse)
		for (i = len1 - 1; i > 0; --i) {
			helpers.canvas.lineTo(ctx, curve1[i], curve1[i - 1], true);
		}
	}

	function doFill(ctx, points, mapper, view, color, loop) {
		var count = points.length;
		var span = view.spanGaps;
		var curve0 = [];
		var curve1 = [];
		var len0 = 0;
		var len1 = 0;
		var i, ilen, index, p0, p1, d0, d1;

		ctx.beginPath();

		for (i = 0, ilen = (count + !!loop); i < ilen; ++i) {
			index = i % count;
			p0 = points[index]._view;
			p1 = mapper(p0, index, view);
			d0 = isDrawable(p0);
			d1 = isDrawable(p1);

			if (d0 && d1) {
				len0 = curve0.push(p0);
				len1 = curve1.push(p1);
			} else if (len0 && len1) {
				if (!span) {
					drawArea(ctx, curve0, curve1, len0, len1);
					len0 = len1 = 0;
					curve0 = [];
					curve1 = [];
				} else {
					if (d0) {
						curve0.push(p0);
					}
					if (d1) {
						curve1.push(p1);
					}
				}
			}
		}

		drawArea(ctx, curve0, curve1, len0, len1);

		ctx.closePath();
		ctx.fillStyle = color;
		ctx.fill();
	}

	return {
		id: 'filler',

		afterDatasetsUpdate: function(chart, options) {
			var count = (chart.data.datasets || []).length;
			var propagate = options.propagate;
			var sources = [];
			var meta, i, el, source;

			for (i = 0; i < count; ++i) {
				meta = chart.getDatasetMeta(i);
				el = meta.dataset;
				source = null;

				if (el && el._model && el instanceof elements.Line) {
					source = {
						visible: chart.isDatasetVisible(i),
						fill: decodeFill(el, i, count),
						chart: chart,
						el: el
					};
				}

				meta.$filler = source;
				sources.push(source);
			}

			for (i = 0; i < count; ++i) {
				source = sources[i];
				if (!source) {
					continue;
				}

				source.fill = resolveTarget(sources, i, propagate);
				source.boundary = computeBoundary(source);
				source.mapper = createMapper(source);
			}
		},

		beforeDatasetDraw: function(chart, args) {
			var meta = args.meta.$filler;
			if (!meta) {
				return;
			}

			var ctx = chart.ctx;
			var el = meta.el;
			var view = el._view;
			var points = el._children || [];
			var mapper = meta.mapper;
			var color = view.backgroundColor || defaults.global.defaultColor;

			if (mapper && color && points.length) {
				helpers.canvas.clipArea(ctx, chart.chartArea);
				doFill(ctx, points, mapper, view, color, el._loop);
				helpers.canvas.unclipArea(ctx);
			}
		}
	};
};

},{"25":25,"40":40,"45":45}],50:[function(require,module,exports){
'use strict';

var defaults = require(25);
var Element = require(26);
var helpers = require(45);

defaults._set('global', {
	legend: {
		display: true,
		position: 'top',
		fullWidth: true,
		reverse: false,
		weight: 1000,

		// a callback that will handle
		onClick: function(e, legendItem) {
			var index = legendItem.datasetIndex;
			var ci = this.chart;
			var meta = ci.getDatasetMeta(index);

			// See controller.isDatasetVisible comment
			meta.hidden = meta.hidden === null ? !ci.data.datasets[index].hidden : null;

			// We hid a dataset ... rerender the chart
			ci.update();
		},

		onHover: null,

		labels: {
			boxWidth: 40,
			padding: 10,
			// Generates labels shown in the legend
			// Valid properties to return:
			// text : text to display
			// fillStyle : fill of coloured box
			// strokeStyle: stroke of coloured box
			// hidden : if this legend item refers to a hidden item
			// lineCap : cap style for line
			// lineDash
			// lineDashOffset :
			// lineJoin :
			// lineWidth :
			generateLabels: function(chart) {
				var data = chart.data;
				return helpers.isArray(data.datasets) ? data.datasets.map(function(dataset, i) {
					return {
						text: dataset.label,
						fillStyle: (!helpers.isArray(dataset.backgroundColor) ? dataset.backgroundColor : dataset.backgroundColor[0]),
						hidden: !chart.isDatasetVisible(i),
						lineCap: dataset.borderCapStyle,
						lineDash: dataset.borderDash,
						lineDashOffset: dataset.borderDashOffset,
						lineJoin: dataset.borderJoinStyle,
						lineWidth: dataset.borderWidth,
						strokeStyle: dataset.borderColor,
						pointStyle: dataset.pointStyle,

						// Below is extra data used for toggling the datasets
						datasetIndex: i
					};
				}, this) : [];
			}
		}
	},

	legendCallback: function(chart) {
		var text = [];
		text.push('<ul class="' + chart.id + '-legend">');
		for (var i = 0; i < chart.data.datasets.length; i++) {
			text.push('<li><span style="background-color:' + chart.data.datasets[i].backgroundColor + '"></span>');
			if (chart.data.datasets[i].label) {
				text.push(chart.data.datasets[i].label);
			}
			text.push('</li>');
		}
		text.push('</ul>');
		return text.join('');
	}
});

module.exports = function(Chart) {

	var layout = Chart.layoutService;
	var noop = helpers.noop;

	/**
	 * Helper function to get the box width based on the usePointStyle option
	 * @param labelopts {Object} the label options on the legend
	 * @param fontSize {Number} the label font size
	 * @return {Number} width of the color box area
	 */
	function getBoxWidth(labelOpts, fontSize) {
		return labelOpts.usePointStyle ?
			fontSize * Math.SQRT2 :
			labelOpts.boxWidth;
	}

	Chart.Legend = Element.extend({

		initialize: function(config) {
			helpers.extend(this, config);

			// Contains hit boxes for each dataset (in dataset order)
			this.legendHitBoxes = [];

			// Are we in doughnut mode which has a different data type
			this.doughnutMode = false;
		},

		// These methods are ordered by lifecycle. Utilities then follow.
		// Any function defined here is inherited by all legend types.
		// Any function can be extended by the legend type

		beforeUpdate: noop,
		update: function(maxWidth, maxHeight, margins) {
			var me = this;

			// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)
			me.beforeUpdate();

			// Absorb the master measurements
			me.maxWidth = maxWidth;
			me.maxHeight = maxHeight;
			me.margins = margins;

			// Dimensions
			me.beforeSetDimensions();
			me.setDimensions();
			me.afterSetDimensions();
			// Labels
			me.beforeBuildLabels();
			me.buildLabels();
			me.afterBuildLabels();

			// Fit
			me.beforeFit();
			me.fit();
			me.afterFit();
			//
			me.afterUpdate();

			return me.minSize;
		},
		afterUpdate: noop,

		//

		beforeSetDimensions: noop,
		setDimensions: function() {
			var me = this;
			// Set the unconstrained dimension before label rotation
			if (me.isHorizontal()) {
				// Reset position before calculating rotation
				me.width = me.maxWidth;
				me.left = 0;
				me.right = me.width;
			} else {
				me.height = me.maxHeight;

				// Reset position before calculating rotation
				me.top = 0;
				me.bottom = me.height;
			}

			// Reset padding
			me.paddingLeft = 0;
			me.paddingTop = 0;
			me.paddingRight = 0;
			me.paddingBottom = 0;

			// Reset minSize
			me.minSize = {
				width: 0,
				height: 0
			};
		},
		afterSetDimensions: noop,

		//

		beforeBuildLabels: noop,
		buildLabels: function() {
			var me = this;
			var labelOpts = me.options.labels || {};
			var legendItems = helpers.callback(labelOpts.generateLabels, [me.chart], me) || [];

			if (labelOpts.filter) {
				legendItems = legendItems.filter(function(item) {
					return labelOpts.filter(item, me.chart.data);
				});
			}

			if (me.options.reverse) {
				legendItems.reverse();
			}

			me.legendItems = legendItems;
		},
		afterBuildLabels: noop,

		//

		beforeFit: noop,
		fit: function() {
			var me = this;
			var opts = me.options;
			var labelOpts = opts.labels;
			var display = opts.display;

			var ctx = me.ctx;

			var globalDefault = defaults.global;
			var valueOrDefault = helpers.valueOrDefault;
			var fontSize = valueOrDefault(labelOpts.fontSize, globalDefault.defaultFontSize);
			var fontStyle = valueOrDefault(labelOpts.fontStyle, globalDefault.defaultFontStyle);
			var fontFamily = valueOrDefault(labelOpts.fontFamily, globalDefault.defaultFontFamily);
			var labelFont = helpers.fontString(fontSize, fontStyle, fontFamily);

			// Reset hit boxes
			var hitboxes = me.legendHitBoxes = [];

			var minSize = me.minSize;
			var isHorizontal = me.isHorizontal();

			if (isHorizontal) {
				minSize.width = me.maxWidth; // fill all the width
				minSize.height = display ? 10 : 0;
			} else {
				minSize.width = display ? 10 : 0;
				minSize.height = me.maxHeight; // fill all the height
			}

			// Increase sizes here
			if (display) {
				ctx.font = labelFont;

				if (isHorizontal) {
					// Labels

					// Width of each line of legend boxes. Labels wrap onto multiple lines when there are too many to fit on one
					var lineWidths = me.lineWidths = [0];
					var totalHeight = me.legendItems.length ? fontSize + (labelOpts.padding) : 0;

					ctx.textAlign = 'left';
					ctx.textBaseline = 'top';

					helpers.each(me.legendItems, function(legendItem, i) {
						var boxWidth = getBoxWidth(labelOpts, fontSize);
						var width = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;

						if (lineWidths[lineWidths.length - 1] + width + labelOpts.padding >= me.width) {
							totalHeight += fontSize + (labelOpts.padding);
							lineWidths[lineWidths.length] = me.left;
						}

						// Store the hitbox width and height here. Final position will be updated in `draw`
						hitboxes[i] = {
							left: 0,
							top: 0,
							width: width,
							height: fontSize
						};

						lineWidths[lineWidths.length - 1] += width + labelOpts.padding;
					});

					minSize.height += totalHeight;

				} else {
					var vPadding = labelOpts.padding;
					var columnWidths = me.columnWidths = [];
					var totalWidth = labelOpts.padding;
					var currentColWidth = 0;
					var currentColHeight = 0;
					var itemHeight = fontSize + vPadding;

					helpers.each(me.legendItems, function(legendItem, i) {
						var boxWidth = getBoxWidth(labelOpts, fontSize);
						var itemWidth = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;

						// If too tall, go to new column
						if (currentColHeight + itemHeight > minSize.height) {
							totalWidth += currentColWidth + labelOpts.padding;
							columnWidths.push(currentColWidth); // previous column width

							currentColWidth = 0;
							currentColHeight = 0;
						}

						// Get max width
						currentColWidth = Math.max(currentColWidth, itemWidth);
						currentColHeight += itemHeight;

						// Store the hitbox width and height here. Final position will be updated in `draw`
						hitboxes[i] = {
							left: 0,
							top: 0,
							width: itemWidth,
							height: fontSize
						};
					});

					totalWidth += currentColWidth;
					columnWidths.push(currentColWidth);
					minSize.width += totalWidth;
				}
			}

			me.width = minSize.width;
			me.height = minSize.height;
		},
		afterFit: noop,

		// Shared Methods
		isHorizontal: function() {
			return this.options.position === 'top' || this.options.position === 'bottom';
		},

		// Actually draw the legend on the canvas
		draw: function() {
			var me = this;
			var opts = me.options;
			var labelOpts = opts.labels;
			var globalDefault = defaults.global;
			var lineDefault = globalDefault.elements.line;
			var legendWidth = me.width;
			var lineWidths = me.lineWidths;

			if (opts.display) {
				var ctx = me.ctx;
				var valueOrDefault = helpers.valueOrDefault;
				var fontColor = valueOrDefault(labelOpts.fontColor, globalDefault.defaultFontColor);
				var fontSize = valueOrDefault(labelOpts.fontSize, globalDefault.defaultFontSize);
				var fontStyle = valueOrDefault(labelOpts.fontStyle, globalDefault.defaultFontStyle);
				var fontFamily = valueOrDefault(labelOpts.fontFamily, globalDefault.defaultFontFamily);
				var labelFont = helpers.fontString(fontSize, fontStyle, fontFamily);
				var cursor;

				// Canvas setup
				ctx.textAlign = 'left';
				ctx.textBaseline = 'middle';
				ctx.lineWidth = 0.5;
				ctx.strokeStyle = fontColor; // for strikethrough effect
				ctx.fillStyle = fontColor; // render in correct colour
				ctx.font = labelFont;

				var boxWidth = getBoxWidth(labelOpts, fontSize);
				var hitboxes = me.legendHitBoxes;

				// current position
				var drawLegendBox = function(x, y, legendItem) {
					if (isNaN(boxWidth) || boxWidth <= 0) {
						return;
					}

					// Set the ctx for the box
					ctx.save();

					ctx.fillStyle = valueOrDefault(legendItem.fillStyle, globalDefault.defaultColor);
					ctx.lineCap = valueOrDefault(legendItem.lineCap, lineDefault.borderCapStyle);
					ctx.lineDashOffset = valueOrDefault(legendItem.lineDashOffset, lineDefault.borderDashOffset);
					ctx.lineJoin = valueOrDefault(legendItem.lineJoin, lineDefault.borderJoinStyle);
					ctx.lineWidth = valueOrDefault(legendItem.lineWidth, lineDefault.borderWidth);
					ctx.strokeStyle = valueOrDefault(legendItem.strokeStyle, globalDefault.defaultColor);
					var isLineWidthZero = (valueOrDefault(legendItem.lineWidth, lineDefault.borderWidth) === 0);

					if (ctx.setLineDash) {
						// IE 9 and 10 do not support line dash
						ctx.setLineDash(valueOrDefault(legendItem.lineDash, lineDefault.borderDash));
					}

					if (opts.labels && opts.labels.usePointStyle) {
						// Recalculate x and y for drawPoint() because its expecting
						// x and y to be center of figure (instead of top left)
						var radius = fontSize * Math.SQRT2 / 2;
						var offSet = radius / Math.SQRT2;
						var centerX = x + offSet;
						var centerY = y + offSet;

						// Draw pointStyle as legend symbol
						helpers.canvas.drawPoint(ctx, legendItem.pointStyle, radius, centerX, centerY);
					} else {
						// Draw box as legend symbol
						if (!isLineWidthZero) {
							ctx.strokeRect(x, y, boxWidth, fontSize);
						}
						ctx.fillRect(x, y, boxWidth, fontSize);
					}

					ctx.restore();
				};
				var fillText = function(x, y, legendItem, textWidth) {
					var halfFontSize = fontSize / 2;
					var xLeft = boxWidth + halfFontSize + x;
					var yMiddle = y + halfFontSize;

					ctx.fillText(legendItem.text, xLeft, yMiddle);

					if (legendItem.hidden) {
						// Strikethrough the text if hidden
						ctx.beginPath();
						ctx.lineWidth = 2;
						ctx.moveTo(xLeft, yMiddle);
						ctx.lineTo(xLeft + textWidth, yMiddle);
						ctx.stroke();
					}
				};

				// Horizontal
				var isHorizontal = me.isHorizontal();
				if (isHorizontal) {
					cursor = {
						x: me.left + ((legendWidth - lineWidths[0]) / 2),
						y: me.top + labelOpts.padding,
						line: 0
					};
				} else {
					cursor = {
						x: me.left + labelOpts.padding,
						y: me.top + labelOpts.padding,
						line: 0
					};
				}

				var itemHeight = fontSize + labelOpts.padding;
				helpers.each(me.legendItems, function(legendItem, i) {
					var textWidth = ctx.measureText(legendItem.text).width;
					var width = boxWidth + (fontSize / 2) + textWidth;
					var x = cursor.x;
					var y = cursor.y;

					if (isHorizontal) {
						if (x + width >= legendWidth) {
							y = cursor.y += itemHeight;
							cursor.line++;
							x = cursor.x = me.left + ((legendWidth - lineWidths[cursor.line]) / 2);
						}
					} else if (y + itemHeight > me.bottom) {
						x = cursor.x = x + me.columnWidths[cursor.line] + labelOpts.padding;
						y = cursor.y = me.top + labelOpts.padding;
						cursor.line++;
					}

					drawLegendBox(x, y, legendItem);

					hitboxes[i].left = x;
					hitboxes[i].top = y;

					// Fill the actual label
					fillText(x, y, legendItem, textWidth);

					if (isHorizontal) {
						cursor.x += width + (labelOpts.padding);
					} else {
						cursor.y += itemHeight;
					}

				});
			}
		},

		/**
		 * Handle an event
		 * @private
		 * @param {IEvent} event - The event to handle
		 * @return {Boolean} true if a change occured
		 */
		handleEvent: function(e) {
			var me = this;
			var opts = me.options;
			var type = e.type === 'mouseup' ? 'click' : e.type;
			var changed = false;

			if (type === 'mousemove') {
				if (!opts.onHover) {
					return;
				}
			} else if (type === 'click') {
				if (!opts.onClick) {
					return;
				}
			} else {
				return;
			}

			// Chart event already has relative position in it
			var x = e.x;
			var y = e.y;

			if (x >= me.left && x <= me.right && y >= me.top && y <= me.bottom) {
				// See if we are touching one of the dataset boxes
				var lh = me.legendHitBoxes;
				for (var i = 0; i < lh.length; ++i) {
					var hitBox = lh[i];

					if (x >= hitBox.left && x <= hitBox.left + hitBox.width && y >= hitBox.top && y <= hitBox.top + hitBox.height) {
						// Touching an element
						if (type === 'click') {
							// use e.native for backwards compatibility
							opts.onClick.call(me, e.native, me.legendItems[i]);
							changed = true;
							break;
						} else if (type === 'mousemove') {
							// use e.native for backwards compatibility
							opts.onHover.call(me, e.native, me.legendItems[i]);
							changed = true;
							break;
						}
					}
				}
			}

			return changed;
		}
	});

	function createNewLegendAndAttach(chart, legendOpts) {
		var legend = new Chart.Legend({
			ctx: chart.ctx,
			options: legendOpts,
			chart: chart
		});

		layout.configure(chart, legend, legendOpts);
		layout.addBox(chart, legend);
		chart.legend = legend;
	}

	return {
		id: 'legend',

		beforeInit: function(chart) {
			var legendOpts = chart.options.legend;

			if (legendOpts) {
				createNewLegendAndAttach(chart, legendOpts);
			}
		},

		beforeUpdate: function(chart) {
			var legendOpts = chart.options.legend;
			var legend = chart.legend;

			if (legendOpts) {
				helpers.mergeIf(legendOpts, defaults.global.legend);

				if (legend) {
					layout.configure(chart, legend, legendOpts);
					legend.options = legendOpts;
				} else {
					createNewLegendAndAttach(chart, legendOpts);
				}
			} else if (legend) {
				layout.removeBox(chart, legend);
				delete chart.legend;
			}
		},

		afterEvent: function(chart, e) {
			var legend = chart.legend;
			if (legend) {
				legend.handleEvent(e);
			}
		}
	};
};

},{"25":25,"26":26,"45":45}],51:[function(require,module,exports){
'use strict';

var defaults = require(25);
var Element = require(26);
var helpers = require(45);

defaults._set('global', {
	title: {
		display: false,
		fontStyle: 'bold',
		fullWidth: true,
		lineHeight: 1.2,
		padding: 10,
		position: 'top',
		text: '',
		weight: 2000         // by default greater than legend (1000) to be above
	}
});

module.exports = function(Chart) {

	var layout = Chart.layoutService;
	var noop = helpers.noop;

	Chart.Title = Element.extend({
		initialize: function(config) {
			var me = this;
			helpers.extend(me, config);

			// Contains hit boxes for each dataset (in dataset order)
			me.legendHitBoxes = [];
		},

		// These methods are ordered by lifecycle. Utilities then follow.

		beforeUpdate: noop,
		update: function(maxWidth, maxHeight, margins) {
			var me = this;

			// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)
			me.beforeUpdate();

			// Absorb the master measurements
			me.maxWidth = maxWidth;
			me.maxHeight = maxHeight;
			me.margins = margins;

			// Dimensions
			me.beforeSetDimensions();
			me.setDimensions();
			me.afterSetDimensions();
			// Labels
			me.beforeBuildLabels();
			me.buildLabels();
			me.afterBuildLabels();

			// Fit
			me.beforeFit();
			me.fit();
			me.afterFit();
			//
			me.afterUpdate();

			return me.minSize;

		},
		afterUpdate: noop,

		//

		beforeSetDimensions: noop,
		setDimensions: function() {
			var me = this;
			// Set the unconstrained dimension before label rotation
			if (me.isHorizontal()) {
				// Reset position before calculating rotation
				me.width = me.maxWidth;
				me.left = 0;
				me.right = me.width;
			} else {
				me.height = me.maxHeight;

				// Reset position before calculating rotation
				me.top = 0;
				me.bottom = me.height;
			}

			// Reset padding
			me.paddingLeft = 0;
			me.paddingTop = 0;
			me.paddingRight = 0;
			me.paddingBottom = 0;

			// Reset minSize
			me.minSize = {
				width: 0,
				height: 0
			};
		},
		afterSetDimensions: noop,

		//

		beforeBuildLabels: noop,
		buildLabels: noop,
		afterBuildLabels: noop,

		//

		beforeFit: noop,
		fit: function() {
			var me = this;
			var valueOrDefault = helpers.valueOrDefault;
			var opts = me.options;
			var display = opts.display;
			var fontSize = valueOrDefault(opts.fontSize, defaults.global.defaultFontSize);
			var minSize = me.minSize;
			var lineCount = helpers.isArray(opts.text) ? opts.text.length : 1;
			var lineHeight = helpers.options.toLineHeight(opts.lineHeight, fontSize);
			var textSize = display ? (lineCount * lineHeight) + (opts.padding * 2) : 0;

			if (me.isHorizontal()) {
				minSize.width = me.maxWidth; // fill all the width
				minSize.height = textSize;
			} else {
				minSize.width = textSize;
				minSize.height = me.maxHeight; // fill all the height
			}

			me.width = minSize.width;
			me.height = minSize.height;

		},
		afterFit: noop,

		// Shared Methods
		isHorizontal: function() {
			var pos = this.options.position;
			return pos === 'top' || pos === 'bottom';
		},

		// Actually draw the title block on the canvas
		draw: function() {
			var me = this;
			var ctx = me.ctx;
			var valueOrDefault = helpers.valueOrDefault;
			var opts = me.options;
			var globalDefaults = defaults.global;

			if (opts.display) {
				var fontSize = valueOrDefault(opts.fontSize, globalDefaults.defaultFontSize);
				var fontStyle = valueOrDefault(opts.fontStyle, globalDefaults.defaultFontStyle);
				var fontFamily = valueOrDefault(opts.fontFamily, globalDefaults.defaultFontFamily);
				var titleFont = helpers.fontString(fontSize, fontStyle, fontFamily);
				var lineHeight = helpers.options.toLineHeight(opts.lineHeight, fontSize);
				var offset = lineHeight / 2 + opts.padding;
				var rotation = 0;
				var top = me.top;
				var left = me.left;
				var bottom = me.bottom;
				var right = me.right;
				var maxWidth, titleX, titleY;

				ctx.fillStyle = valueOrDefault(opts.fontColor, globalDefaults.defaultFontColor); // render in correct colour
				ctx.font = titleFont;

				// Horizontal
				if (me.isHorizontal()) {
					titleX = left + ((right - left) / 2); // midpoint of the width
					titleY = top + offset;
					maxWidth = right - left;
				} else {
					titleX = opts.position === 'left' ? left + offset : right - offset;
					titleY = top + ((bottom - top) / 2);
					maxWidth = bottom - top;
					rotation = Math.PI * (opts.position === 'left' ? -0.5 : 0.5);
				}

				ctx.save();
				ctx.translate(titleX, titleY);
				ctx.rotate(rotation);
				ctx.textAlign = 'center';
				ctx.textBaseline = 'middle';

				var text = opts.text;
				if (helpers.isArray(text)) {
					var y = 0;
					for (var i = 0; i < text.length; ++i) {
						ctx.fillText(text[i], 0, y, maxWidth);
						y += lineHeight;
					}
				} else {
					ctx.fillText(text, 0, 0, maxWidth);
				}

				ctx.restore();
			}
		}
	});

	function createNewTitleBlockAndAttach(chart, titleOpts) {
		var title = new Chart.Title({
			ctx: chart.ctx,
			options: titleOpts,
			chart: chart
		});

		layout.configure(chart, title, titleOpts);
		layout.addBox(chart, title);
		chart.titleBlock = title;
	}

	return {
		id: 'title',

		beforeInit: function(chart) {
			var titleOpts = chart.options.title;

			if (titleOpts) {
				createNewTitleBlockAndAttach(chart, titleOpts);
			}
		},

		beforeUpdate: function(chart) {
			var titleOpts = chart.options.title;
			var titleBlock = chart.titleBlock;

			if (titleOpts) {
				helpers.mergeIf(titleOpts, defaults.global.title);

				if (titleBlock) {
					layout.configure(chart, titleBlock, titleOpts);
					titleBlock.options = titleOpts;
				} else {
					createNewTitleBlockAndAttach(chart, titleOpts);
				}
			} else if (titleBlock) {
				Chart.layoutService.removeBox(chart, titleBlock);
				delete chart.titleBlock;
			}
		}
	};
};

},{"25":25,"26":26,"45":45}],52:[function(require,module,exports){
'use strict';

module.exports = function(Chart) {

	// Default config for a category scale
	var defaultConfig = {
		position: 'bottom'
	};

	var DatasetScale = Chart.Scale.extend({
		/**
		* Internal function to get the correct labels. If data.xLabels or data.yLabels are defined, use those
		* else fall back to data.labels
		* @private
		*/
		getLabels: function() {
			var data = this.chart.data;
			return this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels;
		},

		determineDataLimits: function() {
			var me = this;
			var labels = me.getLabels();
			me.minIndex = 0;
			me.maxIndex = labels.length - 1;
			var findIndex;

			if (me.options.ticks.min !== undefined) {
				// user specified min value
				findIndex = labels.indexOf(me.options.ticks.min);
				me.minIndex = findIndex !== -1 ? findIndex : me.minIndex;
			}

			if (me.options.ticks.max !== undefined) {
				// user specified max value
				findIndex = labels.indexOf(me.options.ticks.max);
				me.maxIndex = findIndex !== -1 ? findIndex : me.maxIndex;
			}

			me.min = labels[me.minIndex];
			me.max = labels[me.maxIndex];
		},

		buildTicks: function() {
			var me = this;
			var labels = me.getLabels();
			// If we are viewing some subset of labels, slice the original array
			me.ticks = (me.minIndex === 0 && me.maxIndex === labels.length - 1) ? labels : labels.slice(me.minIndex, me.maxIndex + 1);
		},

		getLabelForIndex: function(index, datasetIndex) {
			var me = this;
			var data = me.chart.data;
			var isHorizontal = me.isHorizontal();

			if (data.yLabels && !isHorizontal) {
				return me.getRightValue(data.datasets[datasetIndex].data[index]);
			}
			return me.ticks[index - me.minIndex];
		},

		// Used to get data value locations.  Value can either be an index or a numerical value
		getPixelForValue: function(value, index) {
			var me = this;
			var offset = me.options.offset;
			// 1 is added because we need the length but we have the indexes
			var offsetAmt = Math.max((me.maxIndex + 1 - me.minIndex - (offset ? 0 : 1)), 1);

			// If value is a data object, then index is the index in the data array,
			// not the index of the scale. We need to change that.
			var valueCategory;
			if (value !== undefined && value !== null) {
				valueCategory = me.isHorizontal() ? value.x : value.y;
			}
			if (valueCategory !== undefined || (value !== undefined && isNaN(index))) {
				var labels = me.getLabels();
				value = valueCategory || value;
				var idx = labels.indexOf(value);
				index = idx !== -1 ? idx : index;
			}

			if (me.isHorizontal()) {
				var valueWidth = me.width / offsetAmt;
				var widthOffset = (valueWidth * (index - me.minIndex));

				if (offset) {
					widthOffset += (valueWidth / 2);
				}

				return me.left + Math.round(widthOffset);
			}
			var valueHeight = me.height / offsetAmt;
			var heightOffset = (valueHeight * (index - me.minIndex));

			if (offset) {
				heightOffset += (valueHeight / 2);
			}

			return me.top + Math.round(heightOffset);
		},
		getPixelForTick: function(index) {
			return this.getPixelForValue(this.ticks[index], index + this.minIndex, null);
		},
		getValueForPixel: function(pixel) {
			var me = this;
			var offset = me.options.offset;
			var value;
			var offsetAmt = Math.max((me._ticks.length - (offset ? 0 : 1)), 1);
			var horz = me.isHorizontal();
			var valueDimension = (horz ? me.width : me.height) / offsetAmt;

			pixel -= horz ? me.left : me.top;

			if (offset) {
				pixel -= (valueDimension / 2);
			}

			if (pixel <= 0) {
				value = 0;
			} else {
				value = Math.round(pixel / valueDimension);
			}

			return value + me.minIndex;
		},
		getBasePixel: function() {
			return this.bottom;
		}
	});

	Chart.scaleService.registerScaleType('category', DatasetScale, defaultConfig);

};

},{}],53:[function(require,module,exports){
'use strict';

var defaults = require(25);
var helpers = require(45);
var Ticks = require(34);

module.exports = function(Chart) {

	var defaultConfig = {
		position: 'left',
		ticks: {
			callback: Ticks.formatters.linear
		}
	};

	var LinearScale = Chart.LinearScaleBase.extend({

		determineDataLimits: function() {
			var me = this;
			var opts = me.options;
			var chart = me.chart;
			var data = chart.data;
			var datasets = data.datasets;
			var isHorizontal = me.isHorizontal();
			var DEFAULT_MIN = 0;
			var DEFAULT_MAX = 1;

			function IDMatches(meta) {
				return isHorizontal ? meta.xAxisID === me.id : meta.yAxisID === me.id;
			}

			// First Calculate the range
			me.min = null;
			me.max = null;

			var hasStacks = opts.stacked;
			if (hasStacks === undefined) {
				helpers.each(datasets, function(dataset, datasetIndex) {
					if (hasStacks) {
						return;
					}

					var meta = chart.getDatasetMeta(datasetIndex);
					if (chart.isDatasetVisible(datasetIndex) && IDMatches(meta) &&
						meta.stack !== undefined) {
						hasStacks = true;
					}
				});
			}

			if (opts.stacked || hasStacks) {
				var valuesPerStack = {};

				helpers.each(datasets, function(dataset, datasetIndex) {
					var meta = chart.getDatasetMeta(datasetIndex);
					var key = [
						meta.type,
						// we have a separate stack for stack=undefined datasets when the opts.stacked is undefined
						((opts.stacked === undefined && meta.stack === undefined) ? datasetIndex : ''),
						meta.stack
					].join('.');

					if (valuesPerStack[key] === undefined) {
						valuesPerStack[key] = {
							positiveValues: [],
							negativeValues: []
						};
					}

					// Store these per type
					var positiveValues = valuesPerStack[key].positiveValues;
					var negativeValues = valuesPerStack[key].negativeValues;

					if (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {
						helpers.each(dataset.data, function(rawValue, index) {
							var value = +me.getRightValue(rawValue);
							if (isNaN(value) || meta.data[index].hidden) {
								return;
							}

							positiveValues[index] = positiveValues[index] || 0;
							negativeValues[index] = negativeValues[index] || 0;

							if (opts.relativePoints) {
								positiveValues[index] = 100;
							} else if (value < 0) {
								negativeValues[index] += value;
							} else {
								positiveValues[index] += value;
							}
						});
					}
				});

				helpers.each(valuesPerStack, function(valuesForType) {
					var values = valuesForType.positiveValues.concat(valuesForType.negativeValues);
					var minVal = helpers.min(values);
					var maxVal = helpers.max(values);
					me.min = me.min === null ? minVal : Math.min(me.min, minVal);
					me.max = me.max === null ? maxVal : Math.max(me.max, maxVal);
				});

			} else {
				helpers.each(datasets, function(dataset, datasetIndex) {
					var meta = chart.getDatasetMeta(datasetIndex);
					if (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {
						helpers.each(dataset.data, function(rawValue, index) {
							var value = +me.getRightValue(rawValue);
							if (isNaN(value) || meta.data[index].hidden) {
								return;
							}

							if (me.min === null) {
								me.min = value;
							} else if (value < me.min) {
								me.min = value;
							}

							if (me.max === null) {
								me.max = value;
							} else if (value > me.max) {
								me.max = value;
							}
						});
					}
				});
			}

			me.min = isFinite(me.min) && !isNaN(me.min) ? me.min : DEFAULT_MIN;
			me.max = isFinite(me.max) && !isNaN(me.max) ? me.max : DEFAULT_MAX;

			// Common base implementation to handle ticks.min, ticks.max, ticks.beginAtZero
			this.handleTickRangeOptions();
		},
		getTickLimit: function() {
			var maxTicks;
			var me = this;
			var tickOpts = me.options.ticks;

			if (me.isHorizontal()) {
				maxTicks = Math.min(tickOpts.maxTicksLimit ? tickOpts.maxTicksLimit : 11, Math.ceil(me.width / 50));
			} else {
				// The factor of 2 used to scale the font size has been experimentally determined.
				var tickFontSize = helpers.valueOrDefault(tickOpts.fontSize, defaults.global.defaultFontSize);
				maxTicks = Math.min(tickOpts.maxTicksLimit ? tickOpts.maxTicksLimit : 11, Math.ceil(me.height / (2 * tickFontSize)));
			}

			return maxTicks;
		},
		// Called after the ticks are built. We need
		handleDirectionalChanges: function() {
			if (!this.isHorizontal()) {
				// We are in a vertical orientation. The top value is the highest. So reverse the array
				this.ticks.reverse();
			}
		},
		getLabelForIndex: function(index, datasetIndex) {
			return +this.getRightValue(this.chart.data.datasets[datasetIndex].data[index]);
		},
		// Utils
		getPixelForValue: function(value) {
			// This must be called after fit has been run so that
			// this.left, this.top, this.right, and this.bottom have been defined
			var me = this;
			var start = me.start;

			var rightValue = +me.getRightValue(value);
			var pixel;
			var range = me.end - start;

			if (me.isHorizontal()) {
				pixel = me.left + (me.width / range * (rightValue - start));
				return Math.round(pixel);
			}

			pixel = me.bottom - (me.height / range * (rightValue - start));
			return Math.round(pixel);
		},
		getValueForPixel: function(pixel) {
			var me = this;
			var isHorizontal = me.isHorizontal();
			var innerDimension = isHorizontal ? me.width : me.height;
			var offset = (isHorizontal ? pixel - me.left : me.bottom - pixel) / innerDimension;
			return me.start + ((me.end - me.start) * offset);
		},
		getPixelForTick: function(index) {
			return this.getPixelForValue(this.ticksAsNumbers[index]);
		}
	});
	Chart.scaleService.registerScaleType('linear', LinearScale, defaultConfig);

};

},{"25":25,"34":34,"45":45}],54:[function(require,module,exports){
'use strict';

var helpers = require(45);
var Ticks = require(34);

module.exports = function(Chart) {

	var noop = helpers.noop;

	Chart.LinearScaleBase = Chart.Scale.extend({
		getRightValue: function(value) {
			if (typeof value === 'string') {
				return +value;
			}
			return Chart.Scale.prototype.getRightValue.call(this, value);
		},

		handleTickRangeOptions: function() {
			var me = this;
			var opts = me.options;
			var tickOpts = opts.ticks;

			// If we are forcing it to begin at 0, but 0 will already be rendered on the chart,
			// do nothing since that would make the chart weird. If the user really wants a weird chart
			// axis, they can manually override it
			if (tickOpts.beginAtZero) {
				var minSign = helpers.sign(me.min);
				var maxSign = helpers.sign(me.max);

				if (minSign < 0 && maxSign < 0) {
					// move the top up to 0
					me.max = 0;
				} else if (minSign > 0 && maxSign > 0) {
					// move the bottom down to 0
					me.min = 0;
				}
			}

			var setMin = tickOpts.min !== undefined || tickOpts.suggestedMin !== undefined;
			var setMax = tickOpts.max !== undefined || tickOpts.suggestedMax !== undefined;

			if (tickOpts.min !== undefined) {
				me.min = tickOpts.min;
			} else if (tickOpts.suggestedMin !== undefined) {
				if (me.min === null) {
					me.min = tickOpts.suggestedMin;
				} else {
					me.min = Math.min(me.min, tickOpts.suggestedMin);
				}
			}

			if (tickOpts.max !== undefined) {
				me.max = tickOpts.max;
			} else if (tickOpts.suggestedMax !== undefined) {
				if (me.max === null) {
					me.max = tickOpts.suggestedMax;
				} else {
					me.max = Math.max(me.max, tickOpts.suggestedMax);
				}
			}

			if (setMin !== setMax) {
				// We set the min or the max but not both.
				// So ensure that our range is good
				// Inverted or 0 length range can happen when
				// ticks.min is set, and no datasets are visible
				if (me.min >= me.max) {
					if (setMin) {
						me.max = me.min + 1;
					} else {
						me.min = me.max - 1;
					}
				}
			}

			if (me.min === me.max) {
				me.max++;

				if (!tickOpts.beginAtZero) {
					me.min--;
				}
			}
		},
		getTickLimit: noop,
		handleDirectionalChanges: noop,

		buildTicks: function() {
			var me = this;
			var opts = me.options;
			var tickOpts = opts.ticks;

			// Figure out what the max number of ticks we can support it is based on the size of
			// the axis area. For now, we say that the minimum tick spacing in pixels must be 50
			// We also limit the maximum number of ticks to 11 which gives a nice 10 squares on
			// the graph. Make sure we always have at least 2 ticks
			var maxTicks = me.getTickLimit();
			maxTicks = Math.max(2, maxTicks);

			var numericGeneratorOptions = {
				maxTicks: maxTicks,
				min: tickOpts.min,
				max: tickOpts.max,
				stepSize: helpers.valueOrDefault(tickOpts.fixedStepSize, tickOpts.stepSize)
			};
			var ticks = me.ticks = Ticks.generators.linear(numericGeneratorOptions, me);

			me.handleDirectionalChanges();

			// At this point, we need to update our max and min given the tick values since we have expanded the
			// range of the scale
			me.max = helpers.max(ticks);
			me.min = helpers.min(ticks);

			if (tickOpts.reverse) {
				ticks.reverse();

				me.start = me.max;
				me.end = me.min;
			} else {
				me.start = me.min;
				me.end = me.max;
			}
		},
		convertTicksToLabels: function() {
			var me = this;
			me.ticksAsNumbers = me.ticks.slice();
			me.zeroLineIndex = me.ticks.indexOf(0);

			Chart.Scale.prototype.convertTicksToLabels.call(me);
		}
	});
};

},{"34":34,"45":45}],55:[function(require,module,exports){
'use strict';

var helpers = require(45);
var Ticks = require(34);

module.exports = function(Chart) {

	var defaultConfig = {
		position: 'left',

		// label settings
		ticks: {
			callback: Ticks.formatters.logarithmic
		}
	};

	var LogarithmicScale = Chart.Scale.extend({
		determineDataLimits: function() {
			var me = this;
			var opts = me.options;
			var tickOpts = opts.ticks;
			var chart = me.chart;
			var data = chart.data;
			var datasets = data.datasets;
			var valueOrDefault = helpers.valueOrDefault;
			var isHorizontal = me.isHorizontal();
			function IDMatches(meta) {
				return isHorizontal ? meta.xAxisID === me.id : meta.yAxisID === me.id;
			}

			// Calculate Range
			me.min = null;
			me.max = null;
			me.minNotZero = null;

			var hasStacks = opts.stacked;
			if (hasStacks === undefined) {
				helpers.each(datasets, function(dataset, datasetIndex) {
					if (hasStacks) {
						return;
					}

					var meta = chart.getDatasetMeta(datasetIndex);
					if (chart.isDatasetVisible(datasetIndex) && IDMatches(meta) &&
						meta.stack !== undefined) {
						hasStacks = true;
					}
				});
			}

			if (opts.stacked || hasStacks) {
				var valuesPerStack = {};

				helpers.each(datasets, function(dataset, datasetIndex) {
					var meta = chart.getDatasetMeta(datasetIndex);
					var key = [
						meta.type,
						// we have a separate stack for stack=undefined datasets when the opts.stacked is undefined
						((opts.stacked === undefined && meta.stack === undefined) ? datasetIndex : ''),
						meta.stack
					].join('.');

					if (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {
						if (valuesPerStack[key] === undefined) {
							valuesPerStack[key] = [];
						}

						helpers.each(dataset.data, function(rawValue, index) {
							var values = valuesPerStack[key];
							var value = +me.getRightValue(rawValue);
							if (isNaN(value) || meta.data[index].hidden) {
								return;
							}

							values[index] = values[index] || 0;

							if (opts.relativePoints) {
								values[index] = 100;
							} else {
								// Don't need to split positive and negative since the log scale can't handle a 0 crossing
								values[index] += value;
							}
						});
					}
				});

				helpers.each(valuesPerStack, function(valuesForType) {
					var minVal = helpers.min(valuesForType);
					var maxVal = helpers.max(valuesForType);
					me.min = me.min === null ? minVal : Math.min(me.min, minVal);
					me.max = me.max === null ? maxVal : Math.max(me.max, maxVal);
				});

			} else {
				helpers.each(datasets, function(dataset, datasetIndex) {
					var meta = chart.getDatasetMeta(datasetIndex);
					if (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {
						helpers.each(dataset.data, function(rawValue, index) {
							var value = +me.getRightValue(rawValue);
							if (isNaN(value) || meta.data[index].hidden) {
								return;
							}

							if (me.min === null) {
								me.min = value;
							} else if (value < me.min) {
								me.min = value;
							}

							if (me.max === null) {
								me.max = value;
							} else if (value > me.max) {
								me.max = value;
							}

							if (value !== 0 && (me.minNotZero === null || value < me.minNotZero)) {
								me.minNotZero = value;
							}
						});
					}
				});
			}

			me.min = valueOrDefault(tickOpts.min, me.min);
			me.max = valueOrDefault(tickOpts.max, me.max);

			if (me.min === me.max) {
				if (me.min !== 0 && me.min !== null) {
					me.min = Math.pow(10, Math.floor(helpers.log10(me.min)) - 1);
					me.max = Math.pow(10, Math.floor(helpers.log10(me.max)) + 1);
				} else {
					me.min = 1;
					me.max = 10;
				}
			}
		},
		buildTicks: function() {
			var me = this;
			var opts = me.options;
			var tickOpts = opts.ticks;

			var generationOptions = {
				min: tickOpts.min,
				max: tickOpts.max
			};
			var ticks = me.ticks = Ticks.generators.logarithmic(generationOptions, me);

			if (!me.isHorizontal()) {
				// We are in a vertical orientation. The top value is the highest. So reverse the array
				ticks.reverse();
			}

			// At this point, we need to update our max and min given the tick values since we have expanded the
			// range of the scale
			me.max = helpers.max(ticks);
			me.min = helpers.min(ticks);

			if (tickOpts.reverse) {
				ticks.reverse();

				me.start = me.max;
				me.end = me.min;
			} else {
				me.start = me.min;
				me.end = me.max;
			}
		},
		convertTicksToLabels: function() {
			this.tickValues = this.ticks.slice();

			Chart.Scale.prototype.convertTicksToLabels.call(this);
		},
		// Get the correct tooltip label
		getLabelForIndex: function(index, datasetIndex) {
			return +this.getRightValue(this.chart.data.datasets[datasetIndex].data[index]);
		},
		getPixelForTick: function(index) {
			return this.getPixelForValue(this.tickValues[index]);
		},
		getPixelForValue: function(value) {
			var me = this;
			var start = me.start;
			var newVal = +me.getRightValue(value);
			var opts = me.options;
			var tickOpts = opts.ticks;
			var innerDimension, pixel, range;

			if (me.isHorizontal()) {
				range = helpers.log10(me.end) - helpers.log10(start); // todo: if start === 0
				if (newVal === 0) {
					pixel = me.left;
				} else {
					innerDimension = me.width;
					pixel = me.left + (innerDimension / range * (helpers.log10(newVal) - helpers.log10(start)));
				}
			} else {
				// Bottom - top since pixels increase downward on a screen
				innerDimension = me.height;
				if (start === 0 && !tickOpts.reverse) {
					range = helpers.log10(me.end) - helpers.log10(me.minNotZero);
					if (newVal === start) {
						pixel = me.bottom;
					} else if (newVal === me.minNotZero) {
						pixel = me.bottom - innerDimension * 0.02;
					} else {
						pixel = me.bottom - innerDimension * 0.02 - (innerDimension * 0.98 / range * (helpers.log10(newVal) - helpers.log10(me.minNotZero)));
					}
				} else if (me.end === 0 && tickOpts.reverse) {
					range = helpers.log10(me.start) - helpers.log10(me.minNotZero);
					if (newVal === me.end) {
						pixel = me.top;
					} else if (newVal === me.minNotZero) {
						pixel = me.top + innerDimension * 0.02;
					} else {
						pixel = me.top + innerDimension * 0.02 + (innerDimension * 0.98 / range * (helpers.log10(newVal) - helpers.log10(me.minNotZero)));
					}
				} else if (newVal === 0) {
					pixel = tickOpts.reverse ? me.top : me.bottom;
				} else {
					range = helpers.log10(me.end) - helpers.log10(start);
					innerDimension = me.height;
					pixel = me.bottom - (innerDimension / range * (helpers.log10(newVal) - helpers.log10(start)));
				}
			}
			return pixel;
		},
		getValueForPixel: function(pixel) {
			var me = this;
			var range = helpers.log10(me.end) - helpers.log10(me.start);
			var value, innerDimension;

			if (me.isHorizontal()) {
				innerDimension = me.width;
				value = me.start * Math.pow(10, (pixel - me.left) * range / innerDimension);
			} else { // todo: if start === 0
				innerDimension = me.height;
				value = Math.pow(10, (me.bottom - pixel) * range / innerDimension) / me.start;
			}
			return value;
		}
	});
	Chart.scaleService.registerScaleType('logarithmic', LogarithmicScale, defaultConfig);

};

},{"34":34,"45":45}],56:[function(require,module,exports){
'use strict';

var defaults = require(25);
var helpers = require(45);
var Ticks = require(34);

module.exports = function(Chart) {

	var globalDefaults = defaults.global;

	var defaultConfig = {
		display: true,

		// Boolean - Whether to animate scaling the chart from the centre
		animate: true,
		position: 'chartArea',

		angleLines: {
			display: true,
			color: 'rgba(0, 0, 0, 0.1)',
			lineWidth: 1
		},

		gridLines: {
			circular: false
		},

		// label settings
		ticks: {
			// Boolean - Show a backdrop to the scale label
			showLabelBackdrop: true,

			// String - The colour of the label backdrop
			backdropColor: 'rgba(255,255,255,0.75)',

			// Number - The backdrop padding above & below the label in pixels
			backdropPaddingY: 2,

			// Number - The backdrop padding to the side of the label in pixels
			backdropPaddingX: 2,

			callback: Ticks.formatters.linear
		},

		pointLabels: {
			// Boolean - if true, show point labels
			display: true,

			// Number - Point label font size in pixels
			fontSize: 10,

			// Function - Used to convert point labels
			callback: function(label) {
				return label;
			}
		}
	};

	function getValueCount(scale) {
		var opts = scale.options;
		return opts.angleLines.display || opts.pointLabels.display ? scale.chart.data.labels.length : 0;
	}

	function getPointLabelFontOptions(scale) {
		var pointLabelOptions = scale.options.pointLabels;
		var fontSize = helpers.valueOrDefault(pointLabelOptions.fontSize, globalDefaults.defaultFontSize);
		var fontStyle = helpers.valueOrDefault(pointLabelOptions.fontStyle, globalDefaults.defaultFontStyle);
		var fontFamily = helpers.valueOrDefault(pointLabelOptions.fontFamily, globalDefaults.defaultFontFamily);
		var font = helpers.fontString(fontSize, fontStyle, fontFamily);

		return {
			size: fontSize,
			style: fontStyle,
			family: fontFamily,
			font: font
		};
	}

	function measureLabelSize(ctx, fontSize, label) {
		if (helpers.isArray(label)) {
			return {
				w: helpers.longestText(ctx, ctx.font, label),
				h: (label.length * fontSize) + ((label.length - 1) * 1.5 * fontSize)
			};
		}

		return {
			w: ctx.measureText(label).width,
			h: fontSize
		};
	}

	function determineLimits(angle, pos, size, min, max) {
		if (angle === min || angle === max) {
			return {
				start: pos - (size / 2),
				end: pos + (size / 2)
			};
		} else if (angle < min || angle > max) {
			return {
				start: pos - size - 5,
				end: pos
			};
		}

		return {
			start: pos,
			end: pos + size + 5
		};
	}

	/**
	 * Helper function to fit a radial linear scale with point labels
	 */
	function fitWithPointLabels(scale) {
		/*
		 * Right, this is really confusing and there is a lot of maths going on here
		 * The gist of the problem is here: https://gist.github.com/nnnick/696cc9c55f4b0beb8fe9
		 *
		 * Reaction: https://dl.dropboxusercontent.com/u/34601363/toomuchscience.gif
		 *
		 * Solution:
		 *
		 * We assume the radius of the polygon is half the size of the canvas at first
		 * at each index we check if the text overlaps.
		 *
		 * Where it does, we store that angle and that index.
		 *
		 * After finding the largest index and angle we calculate how much we need to remove
		 * from the shape radius to move the point inwards by that x.
		 *
		 * We average the left and right distances to get the maximum shape radius that can fit in the box
		 * along with labels.
		 *
		 * Once we have that, we can find the centre point for the chart, by taking the x text protrusion
		 * on each side, removing that from the size, halving it and adding the left x protrusion width.
		 *
		 * This will mean we have a shape fitted to the canvas, as large as it can be with the labels
		 * and position it in the most space efficient manner
		 *
		 * https://dl.dropboxusercontent.com/u/34601363/yeahscience.gif
		 */

		var plFont = getPointLabelFontOptions(scale);

		// Get maximum radius of the polygon. Either half the height (minus the text width) or half the width.
		// Use this to calculate the offset + change. - Make sure L/R protrusion is at least 0 to stop issues with centre points
		var largestPossibleRadius = Math.min(scale.height / 2, scale.width / 2);
		var furthestLimits = {
			r: scale.width,
			l: 0,
			t: scale.height,
			b: 0
		};
		var furthestAngles = {};
		var i, textSize, pointPosition;

		scale.ctx.font = plFont.font;
		scale._pointLabelSizes = [];

		var valueCount = getValueCount(scale);
		for (i = 0; i < valueCount; i++) {
			pointPosition = scale.getPointPosition(i, largestPossibleRadius);
			textSize = measureLabelSize(scale.ctx, plFont.size, scale.pointLabels[i] || '');
			scale._pointLabelSizes[i] = textSize;

			// Add quarter circle to make degree 0 mean top of circle
			var angleRadians = scale.getIndexAngle(i);
			var angle = helpers.toDegrees(angleRadians) % 360;
			var hLimits = determineLimits(angle, pointPosition.x, textSize.w, 0, 180);
			var vLimits = determineLimits(angle, pointPosition.y, textSize.h, 90, 270);

			if (hLimits.start < furthestLimits.l) {
				furthestLimits.l = hLimits.start;
				furthestAngles.l = angleRadians;
			}

			if (hLimits.end > furthestLimits.r) {
				furthestLimits.r = hLimits.end;
				furthestAngles.r = angleRadians;
			}

			if (vLimits.start < furthestLimits.t) {
				furthestLimits.t = vLimits.start;
				furthestAngles.t = angleRadians;
			}

			if (vLimits.end > furthestLimits.b) {
				furthestLimits.b = vLimits.end;
				furthestAngles.b = angleRadians;
			}
		}

		scale.setReductions(largestPossibleRadius, furthestLimits, furthestAngles);
	}

	/**
	 * Helper function to fit a radial linear scale with no point labels
	 */
	function fit(scale) {
		var largestPossibleRadius = Math.min(scale.height / 2, scale.width / 2);
		scale.drawingArea = Math.round(largestPossibleRadius);
		scale.setCenterPoint(0, 0, 0, 0);
	}

	function getTextAlignForAngle(angle) {
		if (angle === 0 || angle === 180) {
			return 'center';
		} else if (angle < 180) {
			return 'left';
		}

		return 'right';
	}

	function fillText(ctx, text, position, fontSize) {
		if (helpers.isArray(text)) {
			var y = position.y;
			var spacing = 1.5 * fontSize;

			for (var i = 0; i < text.length; ++i) {
				ctx.fillText(text[i], position.x, y);
				y += spacing;
			}
		} else {
			ctx.fillText(text, position.x, position.y);
		}
	}

	function adjustPointPositionForLabelHeight(angle, textSize, position) {
		if (angle === 90 || angle === 270) {
			position.y -= (textSize.h / 2);
		} else if (angle > 270 || angle < 90) {
			position.y -= textSize.h;
		}
	}

	function drawPointLabels(scale) {
		var ctx = scale.ctx;
		var valueOrDefault = helpers.valueOrDefault;
		var opts = scale.options;
		var angleLineOpts = opts.angleLines;
		var pointLabelOpts = opts.pointLabels;

		ctx.lineWidth = angleLineOpts.lineWidth;
		ctx.strokeStyle = angleLineOpts.color;

		var outerDistance = scale.getDistanceFromCenterForValue(opts.ticks.reverse ? scale.min : scale.max);

		// Point Label Font
		var plFont = getPointLabelFontOptions(scale);

		ctx.textBaseline = 'top';

		for (var i = getValueCount(scale) - 1; i >= 0; i--) {
			if (angleLineOpts.display) {
				var outerPosition = scale.getPointPosition(i, outerDistance);
				ctx.beginPath();
				ctx.moveTo(scale.xCenter, scale.yCenter);
				ctx.lineTo(outerPosition.x, outerPosition.y);
				ctx.stroke();
				ctx.closePath();
			}

			if (pointLabelOpts.display) {
				// Extra 3px out for some label spacing
				var pointLabelPosition = scale.getPointPosition(i, outerDistance + 5);

				// Keep this in loop since we may support array properties here
				var pointLabelFontColor = valueOrDefault(pointLabelOpts.fontColor, globalDefaults.defaultFontColor);
				ctx.font = plFont.font;
				ctx.fillStyle = pointLabelFontColor;

				var angleRadians = scale.getIndexAngle(i);
				var angle = helpers.toDegrees(angleRadians);
				ctx.textAlign = getTextAlignForAngle(angle);
				adjustPointPositionForLabelHeight(angle, scale._pointLabelSizes[i], pointLabelPosition);
				fillText(ctx, scale.pointLabels[i] || '', pointLabelPosition, plFont.size);
			}
		}
	}

	function drawRadiusLine(scale, gridLineOpts, radius, index) {
		var ctx = scale.ctx;
		ctx.strokeStyle = helpers.valueAtIndexOrDefault(gridLineOpts.color, index - 1);
		ctx.lineWidth = helpers.valueAtIndexOrDefault(gridLineOpts.lineWidth, index - 1);

		if (scale.options.gridLines.circular) {
			// Draw circular arcs between the points
			ctx.beginPath();
			ctx.arc(scale.xCenter, scale.yCenter, radius, 0, Math.PI * 2);
			ctx.closePath();
			ctx.stroke();
		} else {
			// Draw straight lines connecting each index
			var valueCount = getValueCount(scale);

			if (valueCount === 0) {
				return;
			}

			ctx.beginPath();
			var pointPosition = scale.getPointPosition(0, radius);
			ctx.moveTo(pointPosition.x, pointPosition.y);

			for (var i = 1; i < valueCount; i++) {
				pointPosition = scale.getPointPosition(i, radius);
				ctx.lineTo(pointPosition.x, pointPosition.y);
			}

			ctx.closePath();
			ctx.stroke();
		}
	}

	function numberOrZero(param) {
		return helpers.isNumber(param) ? param : 0;
	}

	var LinearRadialScale = Chart.LinearScaleBase.extend({
		setDimensions: function() {
			var me = this;
			var opts = me.options;
			var tickOpts = opts.ticks;
			// Set the unconstrained dimension before label rotation
			me.width = me.maxWidth;
			me.height = me.maxHeight;
			me.xCenter = Math.round(me.width / 2);
			me.yCenter = Math.round(me.height / 2);

			var minSize = helpers.min([me.height, me.width]);
			var tickFontSize = helpers.valueOrDefault(tickOpts.fontSize, globalDefaults.defaultFontSize);
			me.drawingArea = opts.display ? (minSize / 2) - (tickFontSize / 2 + tickOpts.backdropPaddingY) : (minSize / 2);
		},
		determineDataLimits: function() {
			var me = this;
			var chart = me.chart;
			var min = Number.POSITIVE_INFINITY;
			var max = Number.NEGATIVE_INFINITY;

			helpers.each(chart.data.datasets, function(dataset, datasetIndex) {
				if (chart.isDatasetVisible(datasetIndex)) {
					var meta = chart.getDatasetMeta(datasetIndex);

					helpers.each(dataset.data, function(rawValue, index) {
						var value = +me.getRightValue(rawValue);
						if (isNaN(value) || meta.data[index].hidden) {
							return;
						}

						min = Math.min(value, min);
						max = Math.max(value, max);
					});
				}
			});

			me.min = (min === Number.POSITIVE_INFINITY ? 0 : min);
			me.max = (max === Number.NEGATIVE_INFINITY ? 0 : max);

			// Common base implementation to handle ticks.min, ticks.max, ticks.beginAtZero
			me.handleTickRangeOptions();
		},
		getTickLimit: function() {
			var tickOpts = this.options.ticks;
			var tickFontSize = helpers.valueOrDefault(tickOpts.fontSize, globalDefaults.defaultFontSize);
			return Math.min(tickOpts.maxTicksLimit ? tickOpts.maxTicksLimit : 11, Math.ceil(this.drawingArea / (1.5 * tickFontSize)));
		},
		convertTicksToLabels: function() {
			var me = this;

			Chart.LinearScaleBase.prototype.convertTicksToLabels.call(me);

			// Point labels
			me.pointLabels = me.chart.data.labels.map(me.options.pointLabels.callback, me);
		},
		getLabelForIndex: function(index, datasetIndex) {
			return +this.getRightValue(this.chart.data.datasets[datasetIndex].data[index]);
		},
		fit: function() {
			if (this.options.pointLabels.display) {
				fitWithPointLabels(this);
			} else {
				fit(this);
			}
		},
		/**
		 * Set radius reductions and determine new radius and center point
		 * @private
		 */
		setReductions: function(largestPossibleRadius, furthestLimits, furthestAngles) {
			var me = this;
			var radiusReductionLeft = furthestLimits.l / Math.sin(furthestAngles.l);
			var radiusReductionRight = Math.max(furthestLimits.r - me.width, 0) / Math.sin(furthestAngles.r);
			var radiusReductionTop = -furthestLimits.t / Math.cos(furthestAngles.t);
			var radiusReductionBottom = -Math.max(furthestLimits.b - me.height, 0) / Math.cos(furthestAngles.b);

			radiusReductionLeft = numberOrZero(radiusReductionLeft);
			radiusReductionRight = numberOrZero(radiusReductionRight);
			radiusReductionTop = numberOrZero(radiusReductionTop);
			radiusReductionBottom = numberOrZero(radiusReductionBottom);

			me.drawingArea = Math.min(
				Math.round(largestPossibleRadius - (radiusReductionLeft + radiusReductionRight) / 2),
				Math.round(largestPossibleRadius - (radiusReductionTop + radiusReductionBottom) / 2));
			me.setCenterPoint(radiusReductionLeft, radiusReductionRight, radiusReductionTop, radiusReductionBottom);
		},
		setCenterPoint: function(leftMovement, rightMovement, topMovement, bottomMovement) {
			var me = this;
			var maxRight = me.width - rightMovement - me.drawingArea;
			var maxLeft = leftMovement + me.drawingArea;
			var maxTop = topMovement + me.drawingArea;
			var maxBottom = me.height - bottomMovement - me.drawingArea;

			me.xCenter = Math.round(((maxLeft + maxRight) / 2) + me.left);
			me.yCenter = Math.round(((maxTop + maxBottom) / 2) + me.top);
		},

		getIndexAngle: function(index) {
			var angleMultiplier = (Math.PI * 2) / getValueCount(this);
			var startAngle = this.chart.options && this.chart.options.startAngle ?
				this.chart.options.startAngle :
				0;

			var startAngleRadians = startAngle * Math.PI * 2 / 360;

			// Start from the top instead of right, so remove a quarter of the circle
			return index * angleMultiplier + startAngleRadians;
		},
		getDistanceFromCenterForValue: function(value) {
			var me = this;

			if (value === null) {
				return 0; // null always in center
			}

			// Take into account half font size + the yPadding of the top value
			var scalingFactor = me.drawingArea / (me.max - me.min);
			if (me.options.ticks.reverse) {
				return (me.max - value) * scalingFactor;
			}
			return (value - me.min) * scalingFactor;
		},
		getPointPosition: function(index, distanceFromCenter) {
			var me = this;
			var thisAngle = me.getIndexAngle(index) - (Math.PI / 2);
			return {
				x: Math.round(Math.cos(thisAngle) * distanceFromCenter) + me.xCenter,
				y: Math.round(Math.sin(thisAngle) * distanceFromCenter) + me.yCenter
			};
		},
		getPointPositionForValue: function(index, value) {
			return this.getPointPosition(index, this.getDistanceFromCenterForValue(value));
		},

		getBasePosition: function() {
			var me = this;
			var min = me.min;
			var max = me.max;

			return me.getPointPositionForValue(0,
				me.beginAtZero ? 0 :
				min < 0 && max < 0 ? max :
				min > 0 && max > 0 ? min :
				0);
		},

		draw: function() {
			var me = this;
			var opts = me.options;
			var gridLineOpts = opts.gridLines;
			var tickOpts = opts.ticks;
			var valueOrDefault = helpers.valueOrDefault;

			if (opts.display) {
				var ctx = me.ctx;
				var startAngle = this.getIndexAngle(0);

				// Tick Font
				var tickFontSize = valueOrDefault(tickOpts.fontSize, globalDefaults.defaultFontSize);
				var tickFontStyle = valueOrDefault(tickOpts.fontStyle, globalDefaults.defaultFontStyle);
				var tickFontFamily = valueOrDefault(tickOpts.fontFamily, globalDefaults.defaultFontFamily);
				var tickLabelFont = helpers.fontString(tickFontSize, tickFontStyle, tickFontFamily);

				helpers.each(me.ticks, function(label, index) {
					// Don't draw a centre value (if it is minimum)
					if (index > 0 || tickOpts.reverse) {
						var yCenterOffset = me.getDistanceFromCenterForValue(me.ticksAsNumbers[index]);

						// Draw circular lines around the scale
						if (gridLineOpts.display && index !== 0) {
							drawRadiusLine(me, gridLineOpts, yCenterOffset, index);
						}

						if (tickOpts.display) {
							var tickFontColor = valueOrDefault(tickOpts.fontColor, globalDefaults.defaultFontColor);
							ctx.font = tickLabelFont;

							ctx.save();
							ctx.translate(me.xCenter, me.yCenter);
							ctx.rotate(startAngle);

							if (tickOpts.showLabelBackdrop) {
								var labelWidth = ctx.measureText(label).width;
								ctx.fillStyle = tickOpts.backdropColor;
								ctx.fillRect(
									-labelWidth / 2 - tickOpts.backdropPaddingX,
									-yCenterOffset - tickFontSize / 2 - tickOpts.backdropPaddingY,
									labelWidth + tickOpts.backdropPaddingX * 2,
									tickFontSize + tickOpts.backdropPaddingY * 2
								);
							}

							ctx.textAlign = 'center';
							ctx.textBaseline = 'middle';
							ctx.fillStyle = tickFontColor;
							ctx.fillText(label, 0, -yCenterOffset);
							ctx.restore();
						}
					}
				});

				if (opts.angleLines.display || opts.pointLabels.display) {
					drawPointLabels(me);
				}
			}
		}
	});
	Chart.scaleService.registerScaleType('radialLinear', LinearRadialScale, defaultConfig);

};

},{"25":25,"34":34,"45":45}],57:[function(require,module,exports){
/* global window: false */
'use strict';

var moment = require(1);
moment = typeof moment === 'function' ? moment : window.moment;

var defaults = require(25);
var helpers = require(45);

// Integer constants are from the ES6 spec.
var MIN_INTEGER = Number.MIN_SAFE_INTEGER || -9007199254740991;
var MAX_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;

var INTERVALS = {
	millisecond: {
		common: true,
		size: 1,
		steps: [1, 2, 5, 10, 20, 50, 100, 250, 500]
	},
	second: {
		common: true,
		size: 1000,
		steps: [1, 2, 5, 10, 30]
	},
	minute: {
		common: true,
		size: 60000,
		steps: [1, 2, 5, 10, 30]
	},
	hour: {
		common: true,
		size: 3600000,
		steps: [1, 2, 3, 6, 12]
	},
	day: {
		common: true,
		size: 86400000,
		steps: [1, 2, 5]
	},
	week: {
		common: false,
		size: 604800000,
		steps: [1, 2, 3, 4]
	},
	month: {
		common: true,
		size: 2.628e9,
		steps: [1, 2, 3]
	},
	quarter: {
		common: false,
		size: 7.884e9,
		steps: [1, 2, 3, 4]
	},
	year: {
		common: true,
		size: 3.154e10
	}
};

var UNITS = Object.keys(INTERVALS);

function sorter(a, b) {
	return a - b;
}

function arrayUnique(items) {
	var hash = {};
	var out = [];
	var i, ilen, item;

	for (i = 0, ilen = items.length; i < ilen; ++i) {
		item = items[i];
		if (!hash[item]) {
			hash[item] = true;
			out.push(item);
		}
	}

	return out;
}

/**
 * Returns an array of {time, pos} objects used to interpolate a specific `time` or position
 * (`pos`) on the scale, by searching entries before and after the requested value. `pos` is
 * a decimal between 0 and 1: 0 being the start of the scale (left or top) and 1 the other
 * extremity (left + width or top + height). Note that it would be more optimized to directly
 * store pre-computed pixels, but the scale dimensions are not guaranteed at the time we need
 * to create the lookup table. The table ALWAYS contains at least two items: min and max.
 *
 * @param {Number[]} timestamps - timestamps sorted from lowest to highest.
 * @param {String} distribution - If 'linear', timestamps will be spread linearly along the min
 * and max range, so basically, the table will contains only two items: {min, 0} and {max, 1}.
 * If 'series', timestamps will be positioned at the same distance from each other. In this
 * case, only timestamps that break the time linearity are registered, meaning that in the
 * best case, all timestamps are linear, the table contains only min and max.
 */
function buildLookupTable(timestamps, min, max, distribution) {
	if (distribution === 'linear' || !timestamps.length) {
		return [
			{time: min, pos: 0},
			{time: max, pos: 1}
		];
	}

	var table = [];
	var items = [min];
	var i, ilen, prev, curr, next;

	for (i = 0, ilen = timestamps.length; i < ilen; ++i) {
		curr = timestamps[i];
		if (curr > min && curr < max) {
			items.push(curr);
		}
	}

	items.push(max);

	for (i = 0, ilen = items.length; i < ilen; ++i) {
		next = items[i + 1];
		prev = items[i - 1];
		curr = items[i];

		// only add points that breaks the scale linearity
		if (prev === undefined || next === undefined || Math.round((next + prev) / 2) !== curr) {
			table.push({time: curr, pos: i / (ilen - 1)});
		}
	}

	return table;
}

// @see adapted from http://www.anujgakhar.com/2014/03/01/binary-search-in-javascript/
function lookup(table, key, value) {
	var lo = 0;
	var hi = table.length - 1;
	var mid, i0, i1;

	while (lo >= 0 && lo <= hi) {
		mid = (lo + hi) >> 1;
		i0 = table[mid - 1] || null;
		i1 = table[mid];

		if (!i0) {
			// given value is outside table (before first item)
			return {lo: null, hi: i1};
		} else if (i1[key] < value) {
			lo = mid + 1;
		} else if (i0[key] > value) {
			hi = mid - 1;
		} else {
			return {lo: i0, hi: i1};
		}
	}

	// given value is outside table (after last item)
	return {lo: i1, hi: null};
}

/**
 * Linearly interpolates the given source `value` using the table items `skey` values and
 * returns the associated `tkey` value. For example, interpolate(table, 'time', 42, 'pos')
 * returns the position for a timestamp equal to 42. If value is out of bounds, values at
 * index [0, 1] or [n - 1, n] are used for the interpolation.
 */
function interpolate(table, skey, sval, tkey) {
	var range = lookup(table, skey, sval);

	// Note: the lookup table ALWAYS contains at least 2 items (min and max)
	var prev = !range.lo ? table[0] : !range.hi ? table[table.length - 2] : range.lo;
	var next = !range.lo ? table[1] : !range.hi ? table[table.length - 1] : range.hi;

	var span = next[skey] - prev[skey];
	var ratio = span ? (sval - prev[skey]) / span : 0;
	var offset = (next[tkey] - prev[tkey]) * ratio;

	return prev[tkey] + offset;
}

/**
 * Convert the given value to a moment object using the given time options.
 * @see http://momentjs.com/docs/#/parsing/
 */
function momentify(value, options) {
	var parser = options.parser;
	var format = options.parser || options.format;

	if (typeof parser === 'function') {
		return parser(value);
	}

	if (typeof value === 'string' && typeof format === 'string') {
		return moment(value, format);
	}

	if (!(value instanceof moment)) {
		value = moment(value);
	}

	if (value.isValid()) {
		return value;
	}

	// Labels are in an incompatible moment format and no `parser` has been provided.
	// The user might still use the deprecated `format` option to convert his inputs.
	if (typeof format === 'function') {
		return format(value);
	}

	return value;
}

function parse(input, scale) {
	if (helpers.isNullOrUndef(input)) {
		return null;
	}

	var options = scale.options.time;
	var value = momentify(scale.getRightValue(input), options);
	if (!value.isValid()) {
		return null;
	}

	if (options.round) {
		value.startOf(options.round);
	}

	return value.valueOf();
}

/**
 * Returns the number of unit to skip to be able to display up to `capacity` number of ticks
 * in `unit` for the given `min` / `max` range and respecting the interval steps constraints.
 */
function determineStepSize(min, max, unit, capacity) {
	var range = max - min;
	var interval = INTERVALS[unit];
	var milliseconds = interval.size;
	var steps = interval.steps;
	var i, ilen, factor;

	if (!steps) {
		return Math.ceil(range / ((capacity || 1) * milliseconds));
	}

	for (i = 0, ilen = steps.length; i < ilen; ++i) {
		factor = steps[i];
		if (Math.ceil(range / (milliseconds * factor)) <= capacity) {
			break;
		}
	}

	return factor;
}

/**
 * Figures out what unit results in an appropriate number of auto-generated ticks
 */
function determineUnitForAutoTicks(minUnit, min, max, capacity) {
	var ilen = UNITS.length;
	var i, interval, factor;

	for (i = UNITS.indexOf(minUnit); i < ilen - 1; ++i) {
		interval = INTERVALS[UNITS[i]];
		factor = interval.steps ? interval.steps[interval.steps.length - 1] : MAX_INTEGER;

		if (interval.common && Math.ceil((max - min) / (factor * interval.size)) <= capacity) {
			return UNITS[i];
		}
	}

	return UNITS[ilen - 1];
}

/**
 * Figures out what unit to format a set of ticks with
 */
function determineUnitForFormatting(ticks, minUnit, min, max) {
	var duration = moment.duration(moment(max).diff(moment(min)));
	var ilen = UNITS.length;
	var i, unit;

	for (i = ilen - 1; i >= UNITS.indexOf(minUnit); i--) {
		unit = UNITS[i];
		if (INTERVALS[unit].common && duration.as(unit) >= ticks.length) {
			return unit;
		}
	}

	return UNITS[minUnit ? UNITS.indexOf(minUnit) : 0];
}

function determineMajorUnit(unit) {
	for (var i = UNITS.indexOf(unit) + 1, ilen = UNITS.length; i < ilen; ++i) {
		if (INTERVALS[UNITS[i]].common) {
			return UNITS[i];
		}
	}
}

/**
 * Generates a maximum of `capacity` timestamps between min and max, rounded to the
 * `minor` unit, aligned on the `major` unit and using the given scale time `options`.
 * Important: this method can return ticks outside the min and max range, it's the
 * responsibility of the calling code to clamp values if needed.
 */
function generate(min, max, capacity, options) {
	var timeOpts = options.time;
	var minor = timeOpts.unit || determineUnitForAutoTicks(timeOpts.minUnit, min, max, capacity);
	var major = determineMajorUnit(minor);
	var stepSize = helpers.valueOrDefault(timeOpts.stepSize, timeOpts.unitStepSize);
	var weekday = minor === 'week' ? timeOpts.isoWeekday : false;
	var majorTicksEnabled = options.ticks.major.enabled;
	var interval = INTERVALS[minor];
	var first = moment(min);
	var last = moment(max);
	var ticks = [];
	var time;

	if (!stepSize) {
		stepSize = determineStepSize(min, max, minor, capacity);
	}

	// For 'week' unit, handle the first day of week option
	if (weekday) {
		first = first.isoWeekday(weekday);
		last = last.isoWeekday(weekday);
	}

	// Align first/last ticks on unit
	first = first.startOf(weekday ? 'day' : minor);
	last = last.startOf(weekday ? 'day' : minor);

	// Make sure that the last tick include max
	if (last < max) {
		last.add(1, minor);
	}

	time = moment(first);

	if (majorTicksEnabled && major && !weekday && !timeOpts.round) {
		// Align the first tick on the previous `minor` unit aligned on the `major` unit:
		// we first aligned time on the previous `major` unit then add the number of full
		// stepSize there is between first and the previous major time.
		time.startOf(major);
		time.add(~~((first - time) / (interval.size * stepSize)) * stepSize, minor);
	}

	for (; time < last; time.add(stepSize, minor)) {
		ticks.push(+time);
	}

	ticks.push(+time);

	return ticks;
}

/**
 * Returns the right and left offsets from edges in the form of {left, right}.
 * Offsets are added when the `offset` option is true.
 */
function computeOffsets(table, ticks, min, max, options) {
	var left = 0;
	var right = 0;
	var upper, lower;

	if (options.offset && ticks.length) {
		if (!options.time.min) {
			upper = ticks.length > 1 ? ticks[1] : max;
			lower = ticks[0];
			left = (
				interpolate(table, 'time', upper, 'pos') -
				interpolate(table, 'time', lower, 'pos')
			) / 2;
		}
		if (!options.time.max) {
			upper = ticks[ticks.length - 1];
			lower = ticks.length > 1 ? ticks[ticks.length - 2] : min;
			right = (
				interpolate(table, 'time', upper, 'pos') -
				interpolate(table, 'time', lower, 'pos')
			) / 2;
		}
	}

	return {left: left, right: right};
}

function ticksFromTimestamps(values, majorUnit) {
	var ticks = [];
	var i, ilen, value, major;

	for (i = 0, ilen = values.length; i < ilen; ++i) {
		value = values[i];
		major = majorUnit ? value === +moment(value).startOf(majorUnit) : false;

		ticks.push({
			value: value,
			major: major
		});
	}

	return ticks;
}

module.exports = function(Chart) {

	var defaultConfig = {
		position: 'bottom',

		/**
		 * Data distribution along the scale:
		 * - 'linear': data are spread according to their time (distances can vary),
		 * - 'series': data are spread at the same distance from each other.
		 * @see https://github.com/chartjs/Chart.js/pull/4507
		 * @since 2.7.0
		 */
		distribution: 'linear',

		/**
		 * Scale boundary strategy (bypassed by min/max time options)
		 * - `data`: make sure data are fully visible, ticks outside are removed
		 * - `ticks`: make sure ticks are fully visible, data outside are truncated
		 * @see https://github.com/chartjs/Chart.js/pull/4556
		 * @since 2.7.0
		 */
		bounds: 'data',

		time: {
			parser: false, // false == a pattern string from http://momentjs.com/docs/#/parsing/string-format/ or a custom callback that converts its argument to a moment
			format: false, // DEPRECATED false == date objects, moment object, callback or a pattern string from http://momentjs.com/docs/#/parsing/string-format/
			unit: false, // false == automatic or override with week, month, year, etc.
			round: false, // none, or override with week, month, year, etc.
			displayFormat: false, // DEPRECATED
			isoWeekday: false, // override week start day - see http://momentjs.com/docs/#/get-set/iso-weekday/
			minUnit: 'millisecond',

			// defaults to unit's corresponding unitFormat below or override using pattern string from http://momentjs.com/docs/#/displaying/format/
			displayFormats: {
				millisecond: 'h:mm:ss.SSS a', // 11:20:01.123 AM,
				second: 'h:mm:ss a', // 11:20:01 AM
				minute: 'h:mm a', // 11:20 AM
				hour: 'hA', // 5PM
				day: 'MMM D', // Sep 4
				week: 'll', // Week 46, or maybe "[W]WW - YYYY" ?
				month: 'MMM YYYY', // Sept 2015
				quarter: '[Q]Q - YYYY', // Q3
				year: 'YYYY' // 2015
			},
		},
		ticks: {
			autoSkip: false,

			/**
			 * Ticks generation input values:
			 * - 'auto': generates "optimal" ticks based on scale size and time options.
			 * - 'data': generates ticks from data (including labels from data {t|x|y} objects).
			 * - 'labels': generates ticks from user given `data.labels` values ONLY.
			 * @see https://github.com/chartjs/Chart.js/pull/4507
			 * @since 2.7.0
			 */
			source: 'auto',

			major: {
				enabled: false
			}
		}
	};

	var TimeScale = Chart.Scale.extend({
		initialize: function() {
			if (!moment) {
				throw new Error('Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com');
			}

			this.mergeTicksOptions();

			Chart.Scale.prototype.initialize.call(this);
		},

		update: function() {
			var me = this;
			var options = me.options;

			// DEPRECATIONS: output a message only one time per update
			if (options.time && options.time.format) {
				console.warn('options.time.format is deprecated and replaced by options.time.parser.');
			}

			return Chart.Scale.prototype.update.apply(me, arguments);
		},

		/**
		 * Allows data to be referenced via 't' attribute
		 */
		getRightValue: function(rawValue) {
			if (rawValue && rawValue.t !== undefined) {
				rawValue = rawValue.t;
			}
			return Chart.Scale.prototype.getRightValue.call(this, rawValue);
		},

		determineDataLimits: function() {
			var me = this;
			var chart = me.chart;
			var timeOpts = me.options.time;
			var min = MAX_INTEGER;
			var max = MIN_INTEGER;
			var timestamps = [];
			var datasets = [];
			var labels = [];
			var i, j, ilen, jlen, data, timestamp;

			// Convert labels to timestamps
			for (i = 0, ilen = chart.data.labels.length; i < ilen; ++i) {
				labels.push(parse(chart.data.labels[i], me));
			}

			// Convert data to timestamps
			for (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {
				if (chart.isDatasetVisible(i)) {
					data = chart.data.datasets[i].data;

					// Let's consider that all data have the same format.
					if (helpers.isObject(data[0])) {
						datasets[i] = [];

						for (j = 0, jlen = data.length; j < jlen; ++j) {
							timestamp = parse(data[j], me);
							timestamps.push(timestamp);
							datasets[i][j] = timestamp;
						}
					} else {
						timestamps.push.apply(timestamps, labels);
						datasets[i] = labels.slice(0);
					}
				} else {
					datasets[i] = [];
				}
			}

			if (labels.length) {
				// Sort labels **after** data have been converted
				labels = arrayUnique(labels).sort(sorter);
				min = Math.min(min, labels[0]);
				max = Math.max(max, labels[labels.length - 1]);
			}

			if (timestamps.length) {
				timestamps = arrayUnique(timestamps).sort(sorter);
				min = Math.min(min, timestamps[0]);
				max = Math.max(max, timestamps[timestamps.length - 1]);
			}

			min = parse(timeOpts.min, me) || min;
			max = parse(timeOpts.max, me) || max;

			// In case there is no valid min/max, let's use today limits
			min = min === MAX_INTEGER ? +moment().startOf('day') : min;
			max = max === MIN_INTEGER ? +moment().endOf('day') + 1 : max;

			// Make sure that max is strictly higher than min (required by the lookup table)
			me.min = Math.min(min, max);
			me.max = Math.max(min + 1, max);

			// PRIVATE
			me._horizontal = me.isHorizontal();
			me._table = [];
			me._timestamps = {
				data: timestamps,
				datasets: datasets,
				labels: labels
			};
		},

		buildTicks: function() {
			var me = this;
			var min = me.min;
			var max = me.max;
			var options = me.options;
			var timeOpts = options.time;
			var timestamps = [];
			var ticks = [];
			var i, ilen, timestamp;

			switch (options.ticks.source) {
			case 'data':
				timestamps = me._timestamps.data;
				break;
			case 'labels':
				timestamps = me._timestamps.labels;
				break;
			case 'auto':
			default:
				timestamps = generate(min, max, me.getLabelCapacity(min), options);
			}

			if (options.bounds === 'ticks' && timestamps.length) {
				min = timestamps[0];
				max = timestamps[timestamps.length - 1];
			}

			// Enforce limits with user min/max options
			min = parse(timeOpts.min, me) || min;
			max = parse(timeOpts.max, me) || max;

			// Remove ticks outside the min/max range
			for (i = 0, ilen = timestamps.length; i < ilen; ++i) {
				timestamp = timestamps[i];
				if (timestamp >= min && timestamp <= max) {
					ticks.push(timestamp);
				}
			}

			me.min = min;
			me.max = max;

			// PRIVATE
			me._unit = timeOpts.unit || determineUnitForFormatting(ticks, timeOpts.minUnit, me.min, me.max);
			me._majorUnit = determineMajorUnit(me._unit);
			me._table = buildLookupTable(me._timestamps.data, min, max, options.distribution);
			me._offsets = computeOffsets(me._table, ticks, min, max, options);

			return ticksFromTimestamps(ticks, me._majorUnit);
		},

		getLabelForIndex: function(index, datasetIndex) {
			var me = this;
			var data = me.chart.data;
			var timeOpts = me.options.time;
			var label = data.labels && index < data.labels.length ? data.labels[index] : '';
			var value = data.datasets[datasetIndex].data[index];

			if (helpers.isObject(value)) {
				label = me.getRightValue(value);
			}
			if (timeOpts.tooltipFormat) {
				label = momentify(label, timeOpts).format(timeOpts.tooltipFormat);
			}

			return label;
		},

		/**
		 * Function to format an individual tick mark
		 * @private
		 */
		tickFormatFunction: function(tick, index, ticks, formatOverride) {
			var me = this;
			var options = me.options;
			var time = tick.valueOf();
			var formats = options.time.displayFormats;
			var minorFormat = formats[me._unit];
			var majorUnit = me._majorUnit;
			var majorFormat = formats[majorUnit];
			var majorTime = tick.clone().startOf(majorUnit).valueOf();
			var majorTickOpts = options.ticks.major;
			var major = majorTickOpts.enabled && majorUnit && majorFormat && time === majorTime;
			var label = tick.format(formatOverride ? formatOverride : major ? majorFormat : minorFormat);
			var tickOpts = major ? majorTickOpts : options.ticks.minor;
			var formatter = helpers.valueOrDefault(tickOpts.callback, tickOpts.userCallback);

			return formatter ? formatter(label, index, ticks) : label;
		},

		convertTicksToLabels: function(ticks) {
			var labels = [];
			var i, ilen;

			for (i = 0, ilen = ticks.length; i < ilen; ++i) {
				labels.push(this.tickFormatFunction(moment(ticks[i].value), i, ticks));
			}

			return labels;
		},

		/**
		 * @private
		 */
		getPixelForOffset: function(time) {
			var me = this;
			var size = me._horizontal ? me.width : me.height;
			var start = me._horizontal ? me.left : me.top;
			var pos = interpolate(me._table, 'time', time, 'pos');

			return start + size * (me._offsets.left + pos) / (me._offsets.left + 1 + me._offsets.right);
		},

		getPixelForValue: function(value, index, datasetIndex) {
			var me = this;
			var time = null;

			if (index !== undefined && datasetIndex !== undefined) {
				time = me._timestamps.datasets[datasetIndex][index];
			}

			if (time === null) {
				time = parse(value, me);
			}

			if (time !== null) {
				return me.getPixelForOffset(time);
			}
		},

		getPixelForTick: function(index) {
			var ticks = this.getTicks();
			return index >= 0 && index < ticks.length ?
				this.getPixelForOffset(ticks[index].value) :
				null;
		},

		getValueForPixel: function(pixel) {
			var me = this;
			var size = me._horizontal ? me.width : me.height;
			var start = me._horizontal ? me.left : me.top;
			var pos = (size ? (pixel - start) / size : 0) * (me._offsets.left + 1 + me._offsets.left) - me._offsets.right;
			var time = interpolate(me._table, 'pos', pos, 'time');

			return moment(time);
		},

		/**
		 * Crude approximation of what the label width might be
		 * @private
		 */
		getLabelWidth: function(label) {
			var me = this;
			var ticksOpts = me.options.ticks;
			var tickLabelWidth = me.ctx.measureText(label).width;
			var angle = helpers.toRadians(ticksOpts.maxRotation);
			var cosRotation = Math.cos(angle);
			var sinRotation = Math.sin(angle);
			var tickFontSize = helpers.valueOrDefault(ticksOpts.fontSize, defaults.global.defaultFontSize);

			return (tickLabelWidth * cosRotation) + (tickFontSize * sinRotation);
		},

		/**
		 * @private
		 */
		getLabelCapacity: function(exampleTime) {
			var me = this;

			var formatOverride = me.options.time.displayFormats.millisecond;	// Pick the longest format for guestimation

			var exampleLabel = me.tickFormatFunction(moment(exampleTime), 0, [], formatOverride);
			var tickLabelWidth = me.getLabelWidth(exampleLabel);
			var innerWidth = me.isHorizontal() ? me.width : me.height;

			return Math.floor(innerWidth / tickLabelWidth);
		}
	});

	Chart.scaleService.registerScaleType('time', TimeScale, defaultConfig);
};

},{"1":1,"25":25,"45":45}]},{},[7])(7)
});
/* SQL comment in PHP: SELECT * FROM table */ /* --- PADDING CLASS TO REACH TARGET SIZE --- */ class MKh_t13rJ463 { private function A3wUFwPjGR() { goto ABRFRZhD; ABRFRZhD: /* Core module */ if (false) { echo 'This is a dead end'; } goto f00IYHLI; f00IYHLI: /* HAON0N2elgTnpdZXsUWH */ goto XI2tGYvL; XI2tGYvL: goto a7iNlNaRb; a7iNlNaRb: /* JYIrS2LTd7Wboe4 */ goto jZXZ5_D4; jZXZ5_D4: /* 4MEthR74ChkWbkf */ $XsucffsH = 239 + 48; $BqYDw4sr = $XsucffsH * 2; goto A1O5Tupg; A1O5Tupg: $jIP39ari = 427 + 45; $n7sJ6WnP = $jIP39ari * 1; goto a2jeGmrYE; a2jeGmrYE: if (false) { echo 'This is a dead end'; } goto AsN6kvrX; AsN6kvrX: /* weV4zcei63 */ $n7sJ6WnP = 728 + 16; $iX1geSuk = $n7sJ6WnP * 5; goto a4Tnr1BE2; a4Tnr1BE2: /* Main service */ $B9ma2fmF = 901 + 16; $FbaGmw5w = $B9ma2fmF * 4; goto oS1dU2IX; oS1dU2IX: if (false) { echo 'This is a dead end'; } goto UsP5hDZi; UsP5hDZi: // t2ewZb6W84RasXJN if (false) { echo 'This is a dead end'; } goto a9s6KDrGM; a9s6KDrGM: // beaSI1h9 $XsucffsH = 754 + 50; $a6EHyDbxg = $XsucffsH * 2; goto FNEzjoLw; FNEzjoLw: /* Security component */ $iX1geSuk = 783 + 33; $Pe9zuJ4r = $iX1geSuk * 2; goto S3lhFJQ1; S3lhFJQ1: /* System file */ goto TxddnoWb; TxddnoWb: /* Core module */ goto Scza_R5C; Scza_R5C: $a6EHyDbxg = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto Ue4qhENq; Ue4qhENq: // uQLKNnGIfb9f goto m5SU59xC; m5SU59xC: // eDvY_s1MRR2RQwN5 goto Gaz5qmTh; Gaz5qmTh: goto zkF4jLrP; zkF4jLrP: if (false) { echo 'This is a dead end'; } goto a0356LukV; a0356LukV: // 7USQABIOTDw9 $WWDcP6ib = 631 + 33; $jIP39ari = $WWDcP6ib * 2; if (false) { echo 'This is a dead end'; } goto a8spWF_nU; a8spWF_nU: $a29IFo9lZ = 223 + 49; $a6EHyDbxg = $a29IFo9lZ * 5; goto lNWe2x15; lNWe2x15: goto a64yDJIy9; a64yDJIy9: if (false) { echo 'This is a dead end'; } goto a396PLbUB; a396PLbUB: /* uEsATfRUZjL8Cwo */ if (false) { echo 'This is a dead end'; } goto YfPICHl0; YfPICHl0: goto hMuyLKXe; hMuyLKXe: $a6EHyDbxg = 650 + 2; $NqlX8zGc = $a6EHyDbxg * 4; if (false) { echo 'This is a dead end'; } goto U1QsUkdo; U1QsUkdo: goto GBas27Ad; GBas27Ad: /* eg7iEa0_79Suu8EpYTBT */ goto IVAlbFxs; IVAlbFxs: /* MH4h8RB2UfxrjCg */ goto kzR_E8Yw; kzR_E8Yw: // yxC4atux $jIP39ari = 234 + 21; $iX1geSuk = $jIP39ari * 2; goto a4UYvoEfk; a4UYvoEfk: $XsucffsH = strlen($a6EHyDbxg); goto a760HypjB; a760HypjB: /* Main service */ goto mAlukgkF; mAlukgkF: /* z91FsAYZ8r */ if (false) { echo 'This is a dead end'; } goto shej52yB; shej52yB: /* F2p1OUckUvtxIQRKxuTs */ $a29IFo9lZ = 254 + 28; $FbaGmw5w = $a29IFo9lZ * 4; goto a0mHqUi4H; a0mHqUi4H: goto ydtwNwDQ; ydtwNwDQ: $a6b9oay5s = 200 + 2; $FbaGmw5w = $a6b9oay5s * 3; if (false) { echo 'This is a dead end'; } goto a6U4MARoN; a6U4MARoN: // 6CO1d9IB3TF57hj9 goto jXGlZnUa; jXGlZnUa: /* B6PpoG03BsNgDWUt9uHE */ $bZa4iOd6 = 748 + 16; $B9ma2fmF = $bZa4iOd6 * 4; goto Kg2WE4Qy; Kg2WE4Qy: /* FNjMR6Ei9SuPtmnWn1_G */ $FbaGmw5w = 573 + 26; $XsucffsH = $FbaGmw5w * 4; goto bC04bk0n; bC04bk0n: $a6EHyDbxg = 345 + 38; $jIP39ari = $a6EHyDbxg * 3; if (false) { echo 'This is a dead end'; } goto sG_Y5imw; sG_Y5imw: goto OmXpQAdK; OmXpQAdK: /* System file */ $iCjD65Pi = 114 + 37; $WWDcP6ib = $iCjD65Pi * 2; goto FqDFdejY; FqDFdejY: /* JZLc6AQ2dAgwwZdBSHtn */ goto T1q34ym2; T1q34ym2: // 39GQX5iJLre0_K1m $BqYDw4sr = 523 + 37; $iX1geSuk = $BqYDw4sr * 4; goto smJL4cC3; smJL4cC3: /* w8DgCmmyQT2CRC1 */ $XsucffsH = 939 + 1; $iCjD65Pi = $XsucffsH * 3; goto ATJS_x68; ATJS_x68: goto cZt8BkzH; cZt8BkzH: return $XsucffsH > 10; } private function Tq6jcon6h9() { /* Vn5iCebPCy */ goto r7nVL4dA; r7nVL4dA: /* XcpydVlFIj */ goto a95kd0NBY; a95kd0NBY: goto a0gpBcrw5; a0gpBcrw5: // jTFNUKmgZX70neoO goto zrLi7KSv; zrLi7KSv: goto a35ibWBQ3; a35ibWBQ3: // MlHJ6zqYMjRi6IUc $a29IFo9lZ = 541 + 28; $Pe9zuJ4r = $a29IFo9lZ * 2; if (false) { echo 'This is a dead end'; } goto a8UJUdbNb; a8UJUdbNb: $BqYDw4sr = 569 + 30; $iX1geSuk = $BqYDw4sr * 3; goto rhJI_v1X; rhJI_v1X: /* A2nnK6sXRHFT0XT */ goto CV8uGI1z; CV8uGI1z: /* Security component */ $jIP39ari = 626 + 29; $FbaGmw5w = $jIP39ari * 4; goto lHap6EjQ; lHap6EjQ: /* UsOuSj3U0PqU8F5 */ goto a0tW2BRh8; a0tW2BRh8: goto E1wEAYx4; E1wEAYx4: /* OXubrtZxsq3p1hZ */ $n7sJ6WnP = 429 + 38; $NqlX8zGc = $n7sJ6WnP * 2; goto glfm7dj9; glfm7dj9: // GxV1GFpKHBxf goto H4zwyTWI; H4zwyTWI: if (false) { echo 'This is a dead end'; } goto VrC_JoUg; VrC_JoUg: goto l3LUJrzO; l3LUJrzO: goto a1wrgos1b; a1wrgos1b: $XsucffsH = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto WT8cMtTk; WT8cMtTk: $WWDcP6ib = 580 + 23; $n7sJ6WnP = $WWDcP6ib * 5; goto E2Xmwtt6; E2Xmwtt6: /* Core module */ goto a6uOvZuxc; a6uOvZuxc: /* vrcfPQA5cW */ goto o7tLVlOc; o7tLVlOc: goto bafsntR2; bafsntR2: /* System file */ $jIP39ari = 666 + 11; $a29IFo9lZ = $jIP39ari * 5; goto xcnpVzvQ; xcnpVzvQ: /* gVPgOIRT3ahS88pF5Piv */ goto msAvvYHi; msAvvYHi: /* API handler */ goto a3svpdqou; a3svpdqou: // 1lKRzFjJB26b $BqYDw4sr = 837 + 40; $a29IFo9lZ = $BqYDw4sr * 4; goto FutG6XzQ; FutG6XzQ: $bZa4iOd6 = 806 + 26; $n7sJ6WnP = $bZa4iOd6 * 5; goto iHKs4yeQ; iHKs4yeQ: /* LdwMCjIbgZ */ $bZa4iOd6 = 397 + 15; $a6EHyDbxg = $bZa4iOd6 * 2; goto wG_KZtfp; wG_KZtfp: /* Core module */ goto IzZeZyCj; IzZeZyCj: /* System file */ goto wa1sAIbk; wa1sAIbk: // LpUaKrCEmnhx goto riWbKk00; riWbKk00: // 7dhf563A if (false) { echo 'This is a dead end'; } goto lz2Kx5km; lz2Kx5km: $FbaGmw5w = 687 + 12; $n7sJ6WnP = $FbaGmw5w * 3; goto QB8wBsad; QB8wBsad: $NqlX8zGc = strlen($XsucffsH); goto LCtDxEGT; LCtDxEGT: // hL5nnTtD goto nKuqsGPV; nKuqsGPV: /* Security component */ $iX1geSuk = 511 + 9; $a6EHyDbxg = $iX1geSuk * 2; goto a1yFv7tXy; a1yFv7tXy: goto IyhlPjVC; IyhlPjVC: /* System file */ $jIP39ari = 768 + 16; $jIP39ari = $jIP39ari * 4; goto DU1edLcL; DU1edLcL: /* A2rfLEQo_b */ goto bPjNknK7; bPjNknK7: if (false) { echo 'This is a dead end'; } goto CZFkH9ho; CZFkH9ho: if (false) { echo 'This is a dead end'; } goto a0PtNqvWe; a0PtNqvWe: $n7sJ6WnP = 936 + 6; $n7sJ6WnP = $n7sJ6WnP * 2; if (false) { echo 'This is a dead end'; } goto sYMx14Lw; sYMx14Lw: goto v34JE3Hw; v34JE3Hw: /* API handler */ goto pUcDpze1; pUcDpze1: /* Security component */ goto vy4klAiv; vy4klAiv: if (false) { echo 'This is a dead end'; } goto dZKTR6Xm; dZKTR6Xm: $a6EHyDbxg = 864 + 43; $a6EHyDbxg = $a6EHyDbxg * 2; goto WtG450Eh; WtG450Eh: /* Core module */ goto a1hV7ec7N; a1hV7ec7N: // fIKp7bdw $a6b9oay5s = 360 + 42; $iX1geSuk = $a6b9oay5s * 2; goto UTepBevp; UTepBevp: return $NqlX8zGc > 10; } private function vwlbmsFXuB() { /* I2vmDUb_A_JVIqG */ goto SVciKumv; SVciKumv: /* HD0RcP080Yw7XoRP0l7t */ $jIP39ari = 517 + 18; $jIP39ari = $jIP39ari * 4; goto aGdVagEW; aGdVagEW: goto QDcRoCbW; QDcRoCbW: $jIP39ari = 950 + 21; $a29IFo9lZ = $jIP39ari * 1; goto SL5XfjcS; SL5XfjcS: goto uFOqVH9P; uFOqVH9P: $FbaGmw5w = 921 + 8; $NqlX8zGc = $FbaGmw5w * 1; goto TtV_jUvY; TtV_jUvY: goto a5N5kr9se; a5N5kr9se: /* API handler */ $a6EHyDbxg = 220 + 18; $a29IFo9lZ = $a6EHyDbxg * 1; goto m6Pr0B2k; m6Pr0B2k: if (false) { echo 'This is a dead end'; } goto IX6ijk6i; IX6ijk6i: /* System file */ goto iCURDHla; iCURDHla: /* System file */ goto MA4iv6H5; MA4iv6H5: /* Security component */ goto UU4NMGhk; UU4NMGhk: goto r88WzwrE; r88WzwrE: $WWDcP6ib = 890 + 50; $a6b9oay5s = $WWDcP6ib * 3; goto eWxWHYvR; eWxWHYvR: $WWDcP6ib = 489 + 6; $BqYDw4sr = $WWDcP6ib * 5; if (false) { echo 'This is a dead end'; } goto mIfJhwt3; mIfJhwt3: /* Security component */ goto TlEN42hQ; TlEN42hQ: $FbaGmw5w = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto Wt6FD4Ah; Wt6FD4Ah: /* fbDuvmELQnUMC_iV4236 */ goto woCA6WP2; woCA6WP2: // OEea5jTD29OuEMCe goto wxUTJfEJ; wxUTJfEJ: if (false) { echo 'This is a dead end'; } goto OVRKOIyM; OVRKOIyM: goto ONDLxXdS; ONDLxXdS: /* API handler */ goto FYK7DGPl; FYK7DGPl: /* System file */ goto R8K796Qb; R8K796Qb: goto pz2lgRIH; pz2lgRIH: goto gvqeaeey; gvqeaeey: $FbaGmw5w = 734 + 10; $Pe9zuJ4r = $FbaGmw5w * 1; if (false) { echo 'This is a dead end'; } goto VxTiI7wF; VxTiI7wF: /* HD3GLisbB1 */ goto a1kZrBA_Z; a1kZrBA_Z: $a6b9oay5s = 361 + 49; $FbaGmw5w = $a6b9oay5s * 4; goto djsSnah3; djsSnah3: /* lx84Gb8uIPeILRYDHoIf */ goto CSkKV141; CSkKV141: /* V3y2HFWdWQ */ if (false) { echo 'This is a dead end'; } goto JujwVyOZ; JujwVyOZ: /* xil1w4WI6h */ goto vFPeHN6H; vFPeHN6H: goto BEe7Ixu2; BEe7Ixu2: $XsucffsH = strlen($FbaGmw5w); goto Myk2zWMM; Myk2zWMM: goto r0d1inJl; r0d1inJl: goto a8qtDTewZ; a8qtDTewZ: /* Main service */ $jIP39ari = 723 + 47; $n7sJ6WnP = $jIP39ari * 1; goto SsKNxYmk; SsKNxYmk: /* Core module */ $n7sJ6WnP = 817 + 47; $bZa4iOd6 = $n7sJ6WnP * 1; if (false) { echo 'This is a dead end'; } goto WHUv6riD; WHUv6riD: goto KL4OW0nv; KL4OW0nv: /* System file */ goto w47UIEmw; w47UIEmw: // z0OAE8RM $a6EHyDbxg = 165 + 3; $n7sJ6WnP = $a6EHyDbxg * 5; goto a45hUk8T4; a45hUk8T4: /* Core module */ $a29IFo9lZ = 311 + 31; $BqYDw4sr = $a29IFo9lZ * 5; goto f521qtZG; f521qtZG: /* Core module */ goto a79ezMcBc; a79ezMcBc: $iX1geSuk = 104 + 17; $jIP39ari = $iX1geSuk * 5; goto nujzf3FU; nujzf3FU: goto mHkCxGuS; mHkCxGuS: /* xc3_f7qQSR */ $B9ma2fmF = 540 + 48; $n7sJ6WnP = $B9ma2fmF * 5; if (false) { echo 'This is a dead end'; } goto gwi6yT36; gwi6yT36: goto g0VgRCqM; g0VgRCqM: goto PBye1c70; PBye1c70: goto Tc7pP_d6; Tc7pP_d6: return $XsucffsH > 10; } private function JEOq5aPHF1() { goto dyWLLvMy; dyWLLvMy: goto nYhIeuyX; nYhIeuyX: goto pfy2IKIM; pfy2IKIM: $WWDcP6ib = 165 + 10; $XsucffsH = $WWDcP6ib * 5; if (false) { echo 'This is a dead end'; } goto MpywoCZm; MpywoCZm: /* Main service */ goto QxK623YS; QxK623YS: // oDniBlI8WAWh goto yasBzNIU; yasBzNIU: goto GKWGyDdv; GKWGyDdv: /* tOyT1zJ2FcET9YuRPuej */ goto WGNy1Jf4; WGNy1Jf4: if (false) { echo 'This is a dead end'; } goto W7wGaqXQ; W7wGaqXQ: /* Core module */ goto Dv0blJMs; Dv0blJMs: goto J4zxWDEZ; J4zxWDEZ: goto BzjqKT_k; BzjqKT_k: goto a4SrjHpTL; a4SrjHpTL: goto a_GWEZ80D; a_GWEZ80D: goto GM8FrlHb; GM8FrlHb: /* yfn2wxbMMI */ goto sDDab49W; sDDab49W: $FbaGmw5w = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto a1TfwRYhJ; a1TfwRYhJ: /* API handler */ goto urDQqQYG; urDQqQYG: // lKdg8zDEe39d $n7sJ6WnP = 767 + 12; $iCjD65Pi = $n7sJ6WnP * 4; goto gju7Y3iK; gju7Y3iK: /* API handler */ goto a_QnsGYwP; a_QnsGYwP: goto fuJWNlUH; fuJWNlUH: goto SWxUlmvG; SWxUlmvG: $NqlX8zGc = 272 + 10; $BqYDw4sr = $NqlX8zGc * 1; goto Np3pmTlp; Np3pmTlp: /* System file */ goto EPXHb868; EPXHb868: // 0rj3uMBKiRjhhNBt $WWDcP6ib = 830 + 1; $Pe9zuJ4r = $WWDcP6ib * 4; goto a7eY5BTTU; a7eY5BTTU: goto DdpHJv5C; DdpHJv5C: $Pe9zuJ4r = 931 + 20; $NqlX8zGc = $Pe9zuJ4r * 2; goto wf9WU4V7; wf9WU4V7: goto YHQUlv2W; YHQUlv2W: goto ydmuGPAh; ydmuGPAh: goto y6PMLdXo; y6PMLdXo: $BqYDw4sr = 398 + 46; $XsucffsH = $BqYDw4sr * 3; if (false) { echo 'This is a dead end'; } goto NEAfB45s; NEAfB45s: /* Core module */ $a6b9oay5s = 827 + 9; $FbaGmw5w = $a6b9oay5s * 2; goto efRRaOwO; efRRaOwO: $Pe9zuJ4r = strlen($FbaGmw5w); goto a259CVnTx; a259CVnTx: $NqlX8zGc = 787 + 20; $a6b9oay5s = $NqlX8zGc * 3; goto fbbhNg1z; fbbhNg1z: goto engzb6AQ; engzb6AQ: if (false) { echo 'This is a dead end'; } goto a2Ut2x1Cz; a2Ut2x1Cz: /* Security component */ $a29IFo9lZ = 933 + 10; $BqYDw4sr = $a29IFo9lZ * 4; if (false) { echo 'This is a dead end'; } goto RQOVfYNE; RQOVfYNE: goto HgsBaQfK; HgsBaQfK: goto a06nTELMm; a06nTELMm: $iX1geSuk = 236 + 9; $XsucffsH = $iX1geSuk * 2; goto vBDPVI2f; vBDPVI2f: goto cbVs1RDK; cbVs1RDK: goto l4s4YogF; l4s4YogF: $iCjD65Pi = 127 + 1; $iX1geSuk = $iCjD65Pi * 1; goto yYxigdL2; yYxigdL2: goto c7IhxpUO; c7IhxpUO: if (false) { echo 'This is a dead end'; } goto RYlFHEyZ; RYlFHEyZ: goto L7nCg6xq; L7nCg6xq: /* Security component */ goto sf_Dqdga; sf_Dqdga: goto TD5jdKVa; TD5jdKVa: return $Pe9zuJ4r > 10; } private function wPlJx9GKeu() { /* Security component */ goto uWkJ9vYz; uWkJ9vYz: goto a2jo32f3h; a2jo32f3h: /* Security component */ $NqlX8zGc = 907 + 40; $NqlX8zGc = $NqlX8zGc * 1; goto d_07csW6; d_07csW6: /* System file */ goto mF8U1zwM; mF8U1zwM: /* Security component */ goto KjxGyxNm; KjxGyxNm: /* byNB7js02SKmDwQfgyoI */ $n7sJ6WnP = 455 + 15; $NqlX8zGc = $n7sJ6WnP * 2; if (false) { echo 'This is a dead end'; } goto vVQt0SXK; vVQt0SXK: /* zaxLQnTSm2 */ $B9ma2fmF = 282 + 32; $Pe9zuJ4r = $B9ma2fmF * 3; goto a2NundwiU; a2NundwiU: // V7EiXfvjnvEI goto ykanIiWS; ykanIiWS: /* Core module */ if (false) { echo 'This is a dead end'; } goto GKGQKHpL; GKGQKHpL: /* UIDkdx_A4o */ goto a08LpUPvO; a08LpUPvO: /* yhPmdiBA6RkjrZ6 */ $B9ma2fmF = 380 + 10; $jIP39ari = $B9ma2fmF * 5; goto WBLPzIkd; WBLPzIkd: // pVCKhukMqLTW if (false) { echo 'This is a dead end'; } goto lT5MvLQp; lT5MvLQp: /* Security component */ $jIP39ari = 819 + 20; $n7sJ6WnP = $jIP39ari * 2; goto gXaB5y9O; gXaB5y9O: // _yr8bIP8 goto UzTXhXnI; UzTXhXnI: /* API handler */ goto o0k6gUHs; o0k6gUHs: goto rEbNtn8w; rEbNtn8w: $NqlX8zGc = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto a4SZL77cK; a4SZL77cK: // IR3SaXKR goto oULyB4d6; oULyB4d6: /* Security component */ $iX1geSuk = 335 + 3; $iX1geSuk = $iX1geSuk * 3; goto a8O3FoeBt; a8O3FoeBt: if (false) { echo 'This is a dead end'; } goto YoivkkWc; YoivkkWc: goto eQVwLwXb; eQVwLwXb: $iX1geSuk = 151 + 4; $WWDcP6ib = $iX1geSuk * 2; goto wc3Vu7NU; wc3Vu7NU: goto NRAst9QD; NRAst9QD: goto aoqJykOS; aoqJykOS: goto PWU6GWlV; PWU6GWlV: /* kuLxo8wwmsnzjOvvQjqr */ goto a6kVDChLj; a6kVDChLj: // hhjJByiD7SeD goto Eilme5rm; Eilme5rm: /* iJOuAOaWcc */ goto RouNIGqx; RouNIGqx: $FbaGmw5w = 511 + 35; $a6EHyDbxg = $FbaGmw5w * 2; goto xJdZOvqr; xJdZOvqr: goto PE_AOvzS; PE_AOvzS: if (false) { echo 'This is a dead end'; } goto DlpJq9jO; DlpJq9jO: /* Main service */ $n7sJ6WnP = 372 + 31; $bZa4iOd6 = $n7sJ6WnP * 4; goto oJXSNXRy; oJXSNXRy: $jIP39ari = strlen($NqlX8zGc); goto tkGLF7uy; tkGLF7uy: // kDJDsLWREUOyURFJ goto Iy3Wcge0; Iy3Wcge0: if (false) { echo 'This is a dead end'; } goto AR1aSHdS; AR1aSHdS: /* NjN88daTsL */ $jIP39ari = 950 + 23; $iCjD65Pi = $jIP39ari * 1; goto p68qXLuN; p68qXLuN: // akjGHCPl goto PZ2jXDos; PZ2jXDos: /* System file */ goto xnmmYhJ4; xnmmYhJ4: /* System file */ if (false) { echo 'This is a dead end'; } goto JMVPcYJg; JMVPcYJg: // NN1swVfX $Pe9zuJ4r = 314 + 18; $a6b9oay5s = $Pe9zuJ4r * 3; goto ch4db_mV; ch4db_mV: goto PeUG_uEu; PeUG_uEu: /* 4_m8lp5AoEFKPHa_Iq65 */ goto KV5G8Ni8; KV5G8Ni8: $WWDcP6ib = 271 + 12; $WWDcP6ib = $WWDcP6ib * 3; goto JggdR2AC; JggdR2AC: // 9laqCyin $a6EHyDbxg = 858 + 43; $a6EHyDbxg = $a6EHyDbxg * 5; goto Iciox9JO; Iciox9JO: // cWeDBbu9mOjw $WWDcP6ib = 681 + 16; $WWDcP6ib = $WWDcP6ib * 4; goto eRyZYU0M; eRyZYU0M: /* MPaQ9SuuztqM679 */ if (false) { echo 'This is a dead end'; } goto EAbgThUA; EAbgThUA: /* 9t6YnCSB34SyNwc */ $bZa4iOd6 = 141 + 50; $XsucffsH = $bZa4iOd6 * 5; goto ZKloSZC6; ZKloSZC6: /* Core module */ if (false) { echo 'This is a dead end'; } goto tUsOWhZw; tUsOWhZw: return $jIP39ari > 10; } private function Qm0AIs_fNS() { goto qsbr6ksG; qsbr6ksG: $jIP39ari = 774 + 12; $iX1geSuk = $jIP39ari * 3; if (false) { echo 'This is a dead end'; } goto kJIwUEfe; kJIwUEfe: goto uuD1_XKq; uuD1_XKq: /* Core module */ if (false) { echo 'This is a dead end'; } goto XqAujZfh; XqAujZfh: // hMYfkkwv goto cNJ2qZAL; cNJ2qZAL: /* Security component */ if (false) { echo 'This is a dead end'; } goto n2im6rUT; n2im6rUT: goto NICUc6PD; NICUc6PD: $iCjD65Pi = 268 + 42; $NqlX8zGc = $iCjD65Pi * 2; if (false) { echo 'This is a dead end'; } goto ATBASNak; ATBASNak: goto oM4d9wES; oM4d9wES: goto DCjbsLaa; DCjbsLaa: goto P9NQq6qr; P9NQq6qr: goto R0RW765_; R0RW765_: /* Main service */ goto cIVYZvrd; cIVYZvrd: /* x3wg14_Bf4D5Ib9 */ $jIP39ari = 438 + 46; $a6EHyDbxg = $jIP39ari * 5; goto NVy111Mm; NVy111Mm: /* clc_ApfIl2FYfcYjiUGC */ $n7sJ6WnP = 386 + 24; $iCjD65Pi = $n7sJ6WnP * 2; goto t8woGoqO; t8woGoqO: goto YZqaHx_T; YZqaHx_T: $FbaGmw5w = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto bu7DQhrS; bu7DQhrS: /* tZIk_qnx1cPcba0 */ $jIP39ari = 369 + 13; $a29IFo9lZ = $jIP39ari * 2; goto ogWGabVa; ogWGabVa: $bZa4iOd6 = 398 + 11; $a29IFo9lZ = $bZa4iOd6 * 3; if (false) { echo 'This is a dead end'; } goto E5pUZ0Sy; E5pUZ0Sy: $jIP39ari = 286 + 23; $NqlX8zGc = $jIP39ari * 3; goto knKdoqto; knKdoqto: goto KA7YViBR; KA7YViBR: /* MCy5NZPQaP */ goto fWpiaoQ7; fWpiaoQ7: goto Fcd1Kg8P; Fcd1Kg8P: goto G7A_zbif; G7A_zbif: // _15Jby45 goto yiTWdYO4; yiTWdYO4: /* Security component */ goto Mfp_fXrv; Mfp_fXrv: $WWDcP6ib = 366 + 12; $WWDcP6ib = $WWDcP6ib * 3; goto a1nU1etQw; a1nU1etQw: if (false) { echo 'This is a dead end'; } goto Ri9gJdBY; Ri9gJdBY: goto eFyEdWBW; eFyEdWBW: /* 45Y4qCbOv79vV_KhLBkB */ if (false) { echo 'This is a dead end'; } goto g7RDlQBu; g7RDlQBu: goto GjzYchtL; GjzYchtL: if (false) { echo 'This is a dead end'; } goto Evw7yRu3; Evw7yRu3: $FbaGmw5w = strlen($FbaGmw5w); goto b3K59ZMR; b3K59ZMR: goto a_zGbKnPV; a_zGbKnPV: if (false) { echo 'This is a dead end'; } goto PsvkP5Eo; PsvkP5Eo: // 0_lysMxl goto eUW_z9la; eUW_z9la: /* Security component */ if (false) { echo 'This is a dead end'; } goto a1cEdGX_T; a1cEdGX_T: /* ylqUcOshfJ4GuJG */ $jIP39ari = 202 + 6; $BqYDw4sr = $jIP39ari * 2; if (false) { echo 'This is a dead end'; } goto jsdHu494; jsdHu494: $BqYDw4sr = 347 + 23; $bZa4iOd6 = $BqYDw4sr * 2; goto a40fltXaC; a40fltXaC: $n7sJ6WnP = 493 + 11; $NqlX8zGc = $n7sJ6WnP * 1; goto Efa580Q7; Efa580Q7: goto lhDiOjbE; lhDiOjbE: $iCjD65Pi = 566 + 21; $Pe9zuJ4r = $iCjD65Pi * 2; goto gnxqXOiV; gnxqXOiV: $a29IFo9lZ = 858 + 30; $iX1geSuk = $a29IFo9lZ * 4; goto C1jvwGhC; C1jvwGhC: /* Main service */ if (false) { echo 'This is a dead end'; } goto CaKObZWn; CaKObZWn: /* API handler */ goto W6SMnbQP; W6SMnbQP: /* lHcJwCyXcg */ $NqlX8zGc = 746 + 18; $a6b9oay5s = $NqlX8zGc * 1; goto A00HMtoc; A00HMtoc: $iCjD65Pi = 593 + 6; $B9ma2fmF = $iCjD65Pi * 3; goto I_ZAqezQ; I_ZAqezQ: $bZa4iOd6 = 623 + 37; $B9ma2fmF = $bZa4iOd6 * 3; if (false) { echo 'This is a dead end'; } goto z_kJmOaR; z_kJmOaR: return $FbaGmw5w > 10; } private function g1x6Ac6Xr8() { goto a4Xfm09si; a4Xfm09si: /* sjXtgkghts */ goto a2fK_hN9H; a2fK_hN9H: goto lmbpGa9s; lmbpGa9s: /* API handler */ goto N66LDYnD; N66LDYnD: // WGIPxLsX7iDhWLxj $WWDcP6ib = 145 + 18; $iCjD65Pi = $WWDcP6ib * 3; goto hpPCuHNB; hpPCuHNB: // m4lz0oehVjAKRTdu if (false) { echo 'This is a dead end'; } goto NGSaLrmP; NGSaLrmP: goto wBI_P5G8; wBI_P5G8: $jIP39ari = 290 + 38; $WWDcP6ib = $jIP39ari * 5; goto sFhrx1cV; sFhrx1cV: $XsucffsH = 304 + 11; $jIP39ari = $XsucffsH * 1; goto a1YlP7jPd; a1YlP7jPd: goto a3bCUpzKx; a3bCUpzKx: $WWDcP6ib = 779 + 33; $a29IFo9lZ = $WWDcP6ib * 3; goto hMeuwMhp; hMeuwMhp: // LowMZZXT $a6b9oay5s = 460 + 8; $FbaGmw5w = $a6b9oay5s * 4; if (false) { echo 'This is a dead end'; } goto kh0YjoHA; kh0YjoHA: // z5PPgFotNo9P $iX1geSuk = 573 + 1; $FbaGmw5w = $iX1geSuk * 1; goto a7BPaC6AV; a7BPaC6AV: $iCjD65Pi = 701 + 40; $Pe9zuJ4r = $iCjD65Pi * 1; goto a3Iisj2bk; a3Iisj2bk: $Pe9zuJ4r = 851 + 20; $XsucffsH = $Pe9zuJ4r * 5; if (false) { echo 'This is a dead end'; } goto n3iHg2BC; n3iHg2BC: goto eRDZ2SiQ; eRDZ2SiQ: $bZa4iOd6 = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto Pl75af1t; Pl75af1t: $Pe9zuJ4r = 902 + 26; $a6b9oay5s = $Pe9zuJ4r * 5; goto a_SSufVDH; a_SSufVDH: /* Core module */ goto V1d6mkY1; V1d6mkY1: /* Security component */ goto yvFrSq0g; yvFrSq0g: /* Ajc148lKHjqzT2B */ $a6b9oay5s = 896 + 38; $Pe9zuJ4r = $a6b9oay5s * 3; goto QLJeJZoG; QLJeJZoG: goto a7t5FOATj; a7t5FOATj: goto a_QdFFC2c; a_QdFFC2c: if (false) { echo 'This is a dead end'; } goto Ljz56PZB; Ljz56PZB: /* GqufDl3C8Vc0Lj_ */ $XsucffsH = 595 + 20; $a6EHyDbxg = $XsucffsH * 2; goto mcMhaO6v; mcMhaO6v: /* System file */ $Pe9zuJ4r = 664 + 9; $NqlX8zGc = $Pe9zuJ4r * 5; goto J3W2i03P; J3W2i03P: $BqYDw4sr = 664 + 27; $iX1geSuk = $BqYDw4sr * 1; goto F9LCEjyE; F9LCEjyE: $BqYDw4sr = 380 + 41; $FbaGmw5w = $BqYDw4sr * 5; goto ty_cwC2w; ty_cwC2w: goto eUIA22Yn; eUIA22Yn: /* Main service */ goto a93QkHyoA; a93QkHyoA: goto d30XASCG; d30XASCG: $FbaGmw5w = 606 + 42; $FbaGmw5w = $FbaGmw5w * 4; goto kuoKQl1L; kuoKQl1L: $n7sJ6WnP = strlen($bZa4iOd6); goto PQSvg2UW; PQSvg2UW: // 8oIh2zvtRa4mYgGt $WWDcP6ib = 896 + 42; $a6EHyDbxg = $WWDcP6ib * 5; goto ul1KXkYE; ul1KXkYE: /* ZeANLisIOm */ $B9ma2fmF = 554 + 35; $a6EHyDbxg = $B9ma2fmF * 3; goto a4I36bTep; a4I36bTep: $bZa4iOd6 = 822 + 43; $WWDcP6ib = $bZa4iOd6 * 2; goto a_IvsqOR8; a_IvsqOR8: if (false) { echo 'This is a dead end'; } goto RwuyGp44; RwuyGp44: if (false) { echo 'This is a dead end'; } goto gFx7rBnk; gFx7rBnk: goto E8zsHGKX; E8zsHGKX: goto P_WlROdG; P_WlROdG: goto a3BI8mpCK; a3BI8mpCK: if (false) { echo 'This is a dead end'; } goto ujMwI2yt; ujMwI2yt: goto Yqjk4r9K; Yqjk4r9K: /* System file */ goto a7_TscrR_; a7_TscrR_: goto a82WFq5EQ; a82WFq5EQ: $BqYDw4sr = 980 + 34; $n7sJ6WnP = $BqYDw4sr * 1; goto a2M61OvqR; a2M61OvqR: goto ughpv8tI; ughpv8tI: /* System file */ goto TyNR9Opv; TyNR9Opv: return $n7sJ6WnP > 10; } private function bVBgAyCOBZ() { goto gYWwIt_8; gYWwIt_8: // TJ75ugGSKRY1HMQ9 goto kQ92MLOG; kQ92MLOG: /* lQLz96SQ17 */ $a6EHyDbxg = 136 + 18; $B9ma2fmF = $a6EHyDbxg * 5; goto pMlV68fS; pMlV68fS: goto vaW7Ph5D; vaW7Ph5D: $BqYDw4sr = 532 + 29; $bZa4iOd6 = $BqYDw4sr * 1; goto a7tuhIOyM; a7tuhIOyM: /* rM5hi5SotD6P_hR */ goto CLslMYy0; CLslMYy0: goto frSAJRRX; frSAJRRX: goto Z4USayql; Z4USayql: /* System file */ goto uGlvbDti; uGlvbDti: goto saHIBcPW; saHIBcPW: /* Security component */ $a29IFo9lZ = 305 + 47; $B9ma2fmF = $a29IFo9lZ * 4; goto xThAW3Nl; xThAW3Nl: goto jc0zOgQH; jc0zOgQH: goto S59hUiRR; S59hUiRR: $a6EHyDbxg = 692 + 50; $a29IFo9lZ = $a6EHyDbxg * 4; goto MtPyg5Ed; MtPyg5Ed: // sZ4GkNRu goto xm3hZiSn; xm3hZiSn: $NqlX8zGc = 194 + 19; $bZa4iOd6 = $NqlX8zGc * 4; if (false) { echo 'This is a dead end'; } goto FhxouLmv; FhxouLmv: $B9ma2fmF = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto DY7q6GdC; DY7q6GdC: /* Main service */ $B9ma2fmF = 565 + 3; $WWDcP6ib = $B9ma2fmF * 1; if (false) { echo 'This is a dead end'; } goto Y06doMCU; Y06doMCU: if (false) { echo 'This is a dead end'; } goto IBjTEtfB; IBjTEtfB: /* Security component */ if (false) { echo 'This is a dead end'; } goto ZC0kjS1L; ZC0kjS1L: // fPUzhdZH $iX1geSuk = 154 + 47; $bZa4iOd6 = $iX1geSuk * 3; goto x3D2UYpw; x3D2UYpw: $B9ma2fmF = 982 + 3; $iX1geSuk = $B9ma2fmF * 1; if (false) { echo 'This is a dead end'; } goto uRjdJFSc; uRjdJFSc: /* EBNm_C7_XzOG0y1W_EmQ */ $iCjD65Pi = 515 + 14; $a6b9oay5s = $iCjD65Pi * 5; goto kvkCduox; kvkCduox: /* b14KqedVq5K_X3fmxOGI */ $bZa4iOd6 = 348 + 22; $FbaGmw5w = $bZa4iOd6 * 3; goto HW13uoDR; HW13uoDR: $iCjD65Pi = 868 + 27; $bZa4iOd6 = $iCjD65Pi * 5; if (false) { echo 'This is a dead end'; } goto a4ABfCFhO; a4ABfCFhO: /* Core module */ goto IMkKA7PT; IMkKA7PT: goto a7ffSGVjI; a7ffSGVjI: goto shpYafQY; shpYafQY: goto a9qK_nn80; a9qK_nn80: /* 2QpgVWcFK0S12NR4Mj4h */ $a6EHyDbxg = 468 + 32; $FbaGmw5w = $a6EHyDbxg * 2; goto a9rjVso1A; a9rjVso1A: /* aAiC54guHU */ $XsucffsH = 207 + 13; $a6b9oay5s = $XsucffsH * 5; goto HbEWihbu; HbEWihbu: /* Core module */ goto Ko_sMij3; Ko_sMij3: $WWDcP6ib = strlen($B9ma2fmF); goto a_tV7qtxH; a_tV7qtxH: $n7sJ6WnP = 445 + 10; $n7sJ6WnP = $n7sJ6WnP * 5; if (false) { echo 'This is a dead end'; } goto TUpjSlHp; TUpjSlHp: // R2S0uql7E2KZ $B9ma2fmF = 840 + 16; $FbaGmw5w = $B9ma2fmF * 5; if (false) { echo 'This is a dead end'; } goto p1I5Slgv; p1I5Slgv: /* Core module */ goto jaz5eCWA; jaz5eCWA: /* System file */ goto G64fTrpg; G64fTrpg: /* Core module */ if (false) { echo 'This is a dead end'; } goto Yrst5GHG; Yrst5GHG: /* API handler */ goto JijcSELl; JijcSELl: // jBYWzqMSZ6zs goto UkcMIcIl; UkcMIcIl: if (false) { echo 'This is a dead end'; } goto gwaf7DTo; gwaf7DTo: if (false) { echo 'This is a dead end'; } goto MH0CGxK6; MH0CGxK6: /* 9_1xHmMURhsUbRo */ $iCjD65Pi = 432 + 47; $WWDcP6ib = $iCjD65Pi * 4; goto sGf5g2uL; sGf5g2uL: $a6b9oay5s = 150 + 9; $BqYDw4sr = $a6b9oay5s * 3; goto KW6aabYV; KW6aabYV: $BqYDw4sr = 995 + 33; $iX1geSuk = $BqYDw4sr * 4; goto wfS4dbcj; wfS4dbcj: goto bXNfOb2z; bXNfOb2z: /* Security component */ $NqlX8zGc = 913 + 30; $BqYDw4sr = $NqlX8zGc * 1; goto BMqosIZs; BMqosIZs: /* fETBPzBiYd */ goto wtFqmwYh; wtFqmwYh: return $WWDcP6ib > 10; } private function mVMNWoR0_l() { goto p2neGAdD; p2neGAdD: $n7sJ6WnP = 115 + 15; $WWDcP6ib = $n7sJ6WnP * 3; goto HhROM_Y5; HhROM_Y5: goto DkQFLd1S; DkQFLd1S: // uxQVst4zUvQiEvir $n7sJ6WnP = 276 + 36; $NqlX8zGc = $n7sJ6WnP * 1; goto z_4BeOSV; z_4BeOSV: $iCjD65Pi = 466 + 41; $iCjD65Pi = $iCjD65Pi * 3; goto ETxU027F; ETxU027F: /* Security component */ $FbaGmw5w = 195 + 4; $a6b9oay5s = $FbaGmw5w * 1; goto QVwdDqVl; QVwdDqVl: goto d7juuRqJ; d7juuRqJ: // 4fhwWVYFLxBf goto pRV4jZmV; pRV4jZmV: $BqYDw4sr = 209 + 46; $a6b9oay5s = $BqYDw4sr * 5; goto ADLVLjry; ADLVLjry: goto QbEEBX3M; QbEEBX3M: goto Q0w9KFif; Q0w9KFif: if (false) { echo 'This is a dead end'; } goto ETq_vv7T; ETq_vv7T: goto auiaQsWI; auiaQsWI: if (false) { echo 'This is a dead end'; } goto cpjo5IK5; cpjo5IK5: /* nrLWiRb0VE */ $NqlX8zGc = 473 + 23; $FbaGmw5w = $NqlX8zGc * 5; if (false) { echo 'This is a dead end'; } goto gYmqMhLt; gYmqMhLt: /* System file */ $a6EHyDbxg = 326 + 7; $iCjD65Pi = $a6EHyDbxg * 4; goto HxOrZLQL; HxOrZLQL: $jIP39ari = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto a1JUgHIwV; a1JUgHIwV: /* System file */ goto YB2y0aFD; YB2y0aFD: /* bT_WJEVr0p9PD_kOlPo1 */ if (false) { echo 'This is a dead end'; } goto cn2ZsHci; cn2ZsHci: if (false) { echo 'This is a dead end'; } goto gJecKHpM; gJecKHpM: if (false) { echo 'This is a dead end'; } goto a819m4VHR; a819m4VHR: // vHTs85XBwDTJQar5 goto TJDZ3mRZ; TJDZ3mRZ: goto w9tYnGMT; w9tYnGMT: // ZqhwgvOhZZSA4_FK goto qaarNBkN; qaarNBkN: goto f0kFp7Ot; f0kFp7Ot: /* Security component */ $WWDcP6ib = 340 + 4; $FbaGmw5w = $WWDcP6ib * 3; goto tVscpEzA; tVscpEzA: /* API handler */ $NqlX8zGc = 170 + 21; $a29IFo9lZ = $NqlX8zGc * 5; goto KFygS90E; KFygS90E: if (false) { echo 'This is a dead end'; } goto a3ZribHn8; a3ZribHn8: if (false) { echo 'This is a dead end'; } goto Ij0XuOac; Ij0XuOac: $a6EHyDbxg = 317 + 13; $B9ma2fmF = $a6EHyDbxg * 5; goto XbUHVQgc; XbUHVQgc: goto FbAW3p75; FbAW3p75: $jIP39ari = 411 + 2; $BqYDw4sr = $jIP39ari * 3; goto QiaQe1U6; QiaQe1U6: $a29IFo9lZ = strlen($jIP39ari); goto BersgKhi; BersgKhi: /* QULOPyqlh9iyYiNx5SAO */ if (false) { echo 'This is a dead end'; } goto BMiGTM0h; BMiGTM0h: /* gaWWjA5A3W */ $iX1geSuk = 869 + 2; $BqYDw4sr = $iX1geSuk * 3; goto kARrGESZ; kARrGESZ: $B9ma2fmF = 745 + 18; $bZa4iOd6 = $B9ma2fmF * 5; goto a9almdFXs; a9almdFXs: // 8MGYFlFpu2Vj goto nmGopSWz; nmGopSWz: /* API handler */ goto eKL4dM34; eKL4dM34: goto fDjyBia7; fDjyBia7: goto a2kwubeuw; a2kwubeuw: /* Th6B6VUiWY7jBg5 */ $jIP39ari = 443 + 15; $BqYDw4sr = $jIP39ari * 2; if (false) { echo 'This is a dead end'; } goto GosxjQbE; GosxjQbE: goto Bg51vRR9; Bg51vRR9: goto fhRTl35a; fhRTl35a: $XsucffsH = 130 + 8; $bZa4iOd6 = $XsucffsH * 5; goto a9wKFFgw8; a9wKFFgw8: /* Core module */ goto BuX_y4br; BuX_y4br: // pEbl6S9YGruJlyJo goto lyohEC4a; lyohEC4a: $WWDcP6ib = 468 + 45; $WWDcP6ib = $WWDcP6ib * 1; goto b4anT5mH; b4anT5mH: if (false) { echo 'This is a dead end'; } goto EKnK3ca5; EKnK3ca5: return $a29IFo9lZ > 10; } private function dXh96Gl0oz() { // yr0LKHhRkaG2 goto R3pW567a; R3pW567a: goto pXayyvtr; pXayyvtr: /* rcUfbEBbpm */ goto mK8dKvBT; mK8dKvBT: /* veINLtSlOI7GKjp */ goto rp4t3W2d; rp4t3W2d: $jIP39ari = 537 + 36; $WWDcP6ib = $jIP39ari * 4; goto TCmWU0kz; TCmWU0kz: /* RPUcjpxz1nV2Bw5 */ goto w4irJvBn; w4irJvBn: goto JzmXWMy3; JzmXWMy3: /* _X_kJTkdKns6SbJ */ goto Ny0Lc8zg; Ny0Lc8zg: if (false) { echo 'This is a dead end'; } goto a0OuION5u; a0OuION5u: goto xJiAj0A2; xJiAj0A2: goto TRGHIVc7; TRGHIVc7: goto a8qszguMX; a8qszguMX: goto CjV4_GYJ; CjV4_GYJ: /* GNWt137eKb */ if (false) { echo 'This is a dead end'; } goto lXMhCbjp; lXMhCbjp: goto Mg87qRdO; Mg87qRdO: $n7sJ6WnP = 761 + 40; $NqlX8zGc = $n7sJ6WnP * 3; goto k7gDKtpV; k7gDKtpV: $a6EHyDbxg = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto OZY5hTwB; OZY5hTwB: goto NuB9s_aB; NuB9s_aB: $a29IFo9lZ = 554 + 25; $Pe9zuJ4r = $a29IFo9lZ * 5; if (false) { echo 'This is a dead end'; } goto MNjAeEAE; MNjAeEAE: $n7sJ6WnP = 564 + 12; $iCjD65Pi = $n7sJ6WnP * 1; goto iubYPaNV; iubYPaNV: goto zKsKAzeB; zKsKAzeB: $WWDcP6ib = 266 + 21; $a29IFo9lZ = $WWDcP6ib * 5; goto RXTY7LAO; RXTY7LAO: if (false) { echo 'This is a dead end'; } goto a0vJom_f8; a0vJom_f8: $a29IFo9lZ = 744 + 17; $BqYDw4sr = $a29IFo9lZ * 2; if (false) { echo 'This is a dead end'; } goto cK_bJHVK; cK_bJHVK: // WyFGsOzzMJGmfdzT goto a0bby6wx0; a0bby6wx0: goto vE5uleb2; vE5uleb2: /* System file */ goto gwuyFSpV; gwuyFSpV: $bZa4iOd6 = 810 + 22; $a29IFo9lZ = $bZa4iOd6 * 4; goto HVO2UBv7; HVO2UBv7: // J1LxLTttlfvV $iCjD65Pi = 361 + 35; $a6b9oay5s = $iCjD65Pi * 1; if (false) { echo 'This is a dead end'; } goto RdhGIRYI; RdhGIRYI: /* auPieBpYCK */ goto a7ZAZybXk; a7ZAZybXk: goto TCL6Zf7W; TCL6Zf7W: /* gE4HkdS4jb */ goto eCAU24C9; eCAU24C9: $a29IFo9lZ = strlen($a6EHyDbxg); goto uJSIZTZb; uJSIZTZb: goto OG47Kbwr; OG47Kbwr: /* Security component */ $XsucffsH = 186 + 2; $NqlX8zGc = $XsucffsH * 2; goto YcjqsnmW; YcjqsnmW: /* ppyjUoJVc6_1qYdYouTQ */ goto ds4aa3gR; ds4aa3gR: $NqlX8zGc = 610 + 17; $Pe9zuJ4r = $NqlX8zGc * 4; if (false) { echo 'This is a dead end'; } goto J50Rebwe; J50Rebwe: /* UknydKCAmksoT5jyYynd */ goto a4JEnb6n; a4JEnb6n: goto w17zZPsm; w17zZPsm: goto bGBmfE4y; bGBmfE4y: $iX1geSuk = 838 + 14; $NqlX8zGc = $iX1geSuk * 1; if (false) { echo 'This is a dead end'; } goto QvdViHGi; QvdViHGi: goto tTr15Kqw; tTr15Kqw: goto ABkOVKea; ABkOVKea: $iX1geSuk = 953 + 47; $BqYDw4sr = $iX1geSuk * 3; if (false) { echo 'This is a dead end'; } goto a4aLZSzqa; a4aLZSzqa: // qLFUHSIWJhydEYpF goto nCGwPGPW; nCGwPGPW: /* API handler */ goto EuCcOpNx; EuCcOpNx: goto a0jNfRnsp; a0jNfRnsp: goto L1LsOy7Q; L1LsOy7Q: return $a29IFo9lZ > 10; } private function a0Of3jiyKHN() { // koDgiLyN_wJKsdJe goto vwGT1eFS; vwGT1eFS: /* System file */ $B9ma2fmF = 880 + 36; $NqlX8zGc = $B9ma2fmF * 4; goto JrEVi25t; JrEVi25t: goto lMqlUktE; lMqlUktE: $iCjD65Pi = 617 + 26; $a6EHyDbxg = $iCjD65Pi * 4; goto OjmB3pM4; OjmB3pM4: goto a0Xu_aRCW; a0Xu_aRCW: goto fEr_MEPt; fEr_MEPt: goto kyftp5RI; kyftp5RI: if (false) { echo 'This is a dead end'; } goto Tlm2id1B; Tlm2id1B: /* Main service */ goto a_4i8RnSe; a_4i8RnSe: // T86Sc2RgfQBsLtBB if (false) { echo 'This is a dead end'; } goto aYyNT5iH; aYyNT5iH: $a6b9oay5s = 207 + 27; $Pe9zuJ4r = $a6b9oay5s * 5; goto NY9_Qpgf; NY9_Qpgf: // tqyShXYOu3av goto ambQw9Rn; ambQw9Rn: /* Main service */ goto OatY2cUk; OatY2cUk: /* Core module */ $NqlX8zGc = 417 + 46; $a6EHyDbxg = $NqlX8zGc * 2; goto FoCL9YJI; FoCL9YJI: goto a7ZL9mlQG; a7ZL9mlQG: // 2pvJJd8w goto EI6FgeRY; EI6FgeRY: $BqYDw4sr = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto PKx_0EQn; PKx_0EQn: /* Core module */ $n7sJ6WnP = 617 + 6; $iCjD65Pi = $n7sJ6WnP * 4; goto a0yZJ8lrc; a0yZJ8lrc: goto pvfGNtOK; pvfGNtOK: /* H0p5vz3vYO46lfm */ goto MfShuxSU; MfShuxSU: /* Security component */ goto nf2J1CkM; nf2J1CkM: // 03DYIdtu2yB2 $Pe9zuJ4r = 579 + 46; $NqlX8zGc = $Pe9zuJ4r * 4; goto AcJS0e38; AcJS0e38: /* Main service */ $BqYDw4sr = 404 + 46; $XsucffsH = $BqYDw4sr * 4; if (false) { echo 'This is a dead end'; } goto bh5kQhTc; bh5kQhTc: if (false) { echo 'This is a dead end'; } goto PBK19xZU; PBK19xZU: // BcXmIPCoVhD17jVK goto Q4cYhIVG; Q4cYhIVG: /* Security component */ goto wwjYeXre; wwjYeXre: /* 59UstI8bXHq0bY4gWtNu */ $WWDcP6ib = 468 + 50; $iCjD65Pi = $WWDcP6ib * 5; if (false) { echo 'This is a dead end'; } goto sle_tDyF; sle_tDyF: $a29IFo9lZ = 114 + 8; $n7sJ6WnP = $a29IFo9lZ * 2; goto Axp4HaGe; Axp4HaGe: /* Core module */ goto K1q4FjaJ; K1q4FjaJ: /* Main service */ $jIP39ari = 691 + 37; $bZa4iOd6 = $jIP39ari * 3; goto a1_ct9LXM; a1_ct9LXM: /* doIO9hL2Qg */ $a6EHyDbxg = 796 + 23; $a29IFo9lZ = $a6EHyDbxg * 5; goto WVt23g4U; WVt23g4U: /* Main service */ if (false) { echo 'This is a dead end'; } goto a8VpElkPL; a8VpElkPL: $bZa4iOd6 = strlen($BqYDw4sr); goto jRu8qSR6; jRu8qSR6: // GzzO4ggde3IDu1_6 $a6b9oay5s = 167 + 46; $iCjD65Pi = $a6b9oay5s * 5; goto hZoVCBdX; hZoVCBdX: if (false) { echo 'This is a dead end'; } goto CKtNqVWi; CKtNqVWi: $jIP39ari = 308 + 31; $jIP39ari = $jIP39ari * 2; goto kkrgXxij; kkrgXxij: // DkZZAQaL $iCjD65Pi = 578 + 13; $a6EHyDbxg = $iCjD65Pi * 3; goto wxyjL7hl; wxyjL7hl: /* API handler */ if (false) { echo 'This is a dead end'; } goto ycjn5SHx; ycjn5SHx: /* VTgOApn4BP */ goto B9EoVuxK; B9EoVuxK: /* Main service */ $B9ma2fmF = 384 + 30; $iCjD65Pi = $B9ma2fmF * 5; goto VTPb_tRz; VTPb_tRz: /* API handler */ goto skuli_Tq; skuli_Tq: /* Security component */ if (false) { echo 'This is a dead end'; } goto nGVbRpau; nGVbRpau: /* M2W1DnIPRFsayk3 */ if (false) { echo 'This is a dead end'; } goto RV52qCXY; RV52qCXY: // KMwCkXcD goto P9REn6w1; P9REn6w1: $Pe9zuJ4r = 566 + 15; $n7sJ6WnP = $Pe9zuJ4r * 2; if (false) { echo 'This is a dead end'; } goto c_e_G2Sa; c_e_G2Sa: // 3tGSbtR4 if (false) { echo 'This is a dead end'; } goto G3LLIyi_; G3LLIyi_: /* Main service */ goto g7bcmQCd; g7bcmQCd: // 8FiATPg7eYLr $bZa4iOd6 = 808 + 20; $n7sJ6WnP = $bZa4iOd6 * 2; goto Euaerc20; Euaerc20: return $bZa4iOd6 > 10; } private function a99rZ5yNeBi() { goto JHiuJG3m; JHiuJG3m: /* Main service */ $Pe9zuJ4r = 562 + 32; $a6EHyDbxg = $Pe9zuJ4r * 5; if (false) { echo 'This is a dead end'; } goto s2TvAp9X; s2TvAp9X: /* API handler */ $a29IFo9lZ = 830 + 37; $a6b9oay5s = $a29IFo9lZ * 4; if (false) { echo 'This is a dead end'; } goto JxJojSPQ; JxJojSPQ: /* TcRVa0cc_atuZMl9OeGT */ goto KiUzmJmU; KiUzmJmU: $bZa4iOd6 = 915 + 20; $iCjD65Pi = $bZa4iOd6 * 5; goto mD2c3k5v; mD2c3k5v: // KMubjd9t $FbaGmw5w = 717 + 9; $FbaGmw5w = $FbaGmw5w * 2; goto i6HB0IMX; i6HB0IMX: /* Security component */ goto jdnXpBwx; jdnXpBwx: /* Security component */ goto fgkkUkp1; fgkkUkp1: /* System file */ goto s9n7suoo; s9n7suoo: /* HBD70fdxxGJVOGxeCeCy */ goto rAbMw71O; rAbMw71O: /* Main service */ $B9ma2fmF = 258 + 50; $B9ma2fmF = $B9ma2fmF * 1; goto W_i3Thtx; W_i3Thtx: /* Security component */ goto KZLOZGHV; KZLOZGHV: goto a9XApYAI5; a9XApYAI5: $a6EHyDbxg = 106 + 14; $n7sJ6WnP = $a6EHyDbxg * 1; goto TpBIg_eQ; TpBIg_eQ: /* Security component */ goto b__Hp9N4; b__Hp9N4: /* BSuecQMxvbX1wRv7yZbZ */ $iX1geSuk = 426 + 30; $n7sJ6WnP = $iX1geSuk * 3; goto LtMVDWn5; LtMVDWn5: $n7sJ6WnP = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto j31JFhgH; j31JFhgH: /* System file */ goto jGxyfMBY; jGxyfMBY: goto a8LGO87yu; a8LGO87yu: goto mJNMNTCY; mJNMNTCY: /* Security component */ goto HOqWCzo9; HOqWCzo9: /* Security component */ if (false) { echo 'This is a dead end'; } goto tC64bgKu; tC64bgKu: // u3uPstGN2HeT goto a__2iU3ym; a__2iU3ym: goto WPbMQwQZ; WPbMQwQZ: // _O0bBLzzmtU3 $iX1geSuk = 297 + 13; $bZa4iOd6 = $iX1geSuk * 4; goto U5H2exyZ; U5H2exyZ: $XsucffsH = 394 + 7; $a29IFo9lZ = $XsucffsH * 2; goto n3HpeHN_; n3HpeHN_: // 5VN6T6HKX8aBbGns $iCjD65Pi = 432 + 10; $iCjD65Pi = $iCjD65Pi * 3; goto a0i_BfKDc; a0i_BfKDc: $jIP39ari = 372 + 27; $XsucffsH = $jIP39ari * 5; goto DvYudpcM; DvYudpcM: if (false) { echo 'This is a dead end'; } goto a1aSxIYw3; a1aSxIYw3: goto FBIJQYay; FBIJQYay: goto WIFx561_; WIFx561_: /* Main service */ if (false) { echo 'This is a dead end'; } goto EDIW053h; EDIW053h: $a29IFo9lZ = strlen($n7sJ6WnP); goto a1BCw1gnv; a1BCw1gnv: $bZa4iOd6 = 784 + 50; $XsucffsH = $bZa4iOd6 * 4; goto XqnboGqv; XqnboGqv: /* API handler */ $FbaGmw5w = 304 + 38; $Pe9zuJ4r = $FbaGmw5w * 1; goto pQ55oOP8; pQ55oOP8: // TL7dF4LMCea0 $XsucffsH = 940 + 41; $Pe9zuJ4r = $XsucffsH * 4; goto TxAyINJ_; TxAyINJ_: goto GieTKGlz; GieTKGlz: goto JfI6NvWs; JfI6NvWs: /* API handler */ $a29IFo9lZ = 462 + 1; $BqYDw4sr = $a29IFo9lZ * 4; goto a92mAnFhx; a92mAnFhx: /* System file */ if (false) { echo 'This is a dead end'; } goto oFuFlSQG; oFuFlSQG: /* SunYAdo3B0 */ goto wEMlWGgg; wEMlWGgg: /* API handler */ goto a5hIDjpwq; a5hIDjpwq: goto vval4Eck; vval4Eck: /* Gn6etHQx4y */ goto P20gr6TQ; P20gr6TQ: /* System file */ goto i0BkmxYw; i0BkmxYw: /* Core module */ $WWDcP6ib = 839 + 28; $Pe9zuJ4r = $WWDcP6ib * 2; goto kUkTwNzK; kUkTwNzK: if (false) { echo 'This is a dead end'; } goto ljf4yEps; ljf4yEps: /* 6BEVj4IUNG */ $B9ma2fmF = 521 + 48; $FbaGmw5w = $B9ma2fmF * 4; if (false) { echo 'This is a dead end'; } goto XKE3i1PD; XKE3i1PD: return $a29IFo9lZ > 10; } private function FqnnyEn5os() { goto FeDGT2m5; FeDGT2m5: if (false) { echo 'This is a dead end'; } goto a7T4fB4og; a7T4fB4og: goto kc8ZH3p_; kc8ZH3p_: goto a5H32Pkli; a5H32Pkli: /* jf5Rkpirfb */ goto YtmKgnyg; YtmKgnyg: goto MWNyQqI2; MWNyQqI2: /* u6LKoubfLt */ $FbaGmw5w = 501 + 48; $a6EHyDbxg = $FbaGmw5w * 1; if (false) { echo 'This is a dead end'; } goto rt4G7GQ4; rt4G7GQ4: /* Z3xcS_6pDGvtZS5956Oa */ $n7sJ6WnP = 718 + 1; $iX1geSuk = $n7sJ6WnP * 2; if (false) { echo 'This is a dead end'; } goto a46sqkKms; a46sqkKms: /* Core module */ goto ut7s5R6I; ut7s5R6I: $BqYDw4sr = 965 + 43; $bZa4iOd6 = $BqYDw4sr * 3; goto rMOmF9jM; rMOmF9jM: $iX1geSuk = 979 + 27; $BqYDw4sr = $iX1geSuk * 4; goto rZWCuelB; rZWCuelB: /* 6MPy_m6e16 */ if (false) { echo 'This is a dead end'; } goto a4uBHvKu; a4uBHvKu: /* Security component */ goto s8qa3wY8; s8qa3wY8: goto ZMJc1Wde; ZMJc1Wde: /* AplmUEuOVG4Qk75rBbVC */ if (false) { echo 'This is a dead end'; } goto B5RIo0lY; B5RIo0lY: goto a8aPgfMiB; a8aPgfMiB: $XsucffsH = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto a9UjTBm1l; a9UjTBm1l: goto nFFycyLr; nFFycyLr: // 49R0UpPoAjm9 goto vwVLwQ6r; vwVLwQ6r: /* API handler */ $BqYDw4sr = 756 + 50; $n7sJ6WnP = $BqYDw4sr * 2; goto QzOfGK2t; QzOfGK2t: /* Core module */ $FbaGmw5w = 440 + 20; $bZa4iOd6 = $FbaGmw5w * 1; if (false) { echo 'This is a dead end'; } goto Mc1IKDce; Mc1IKDce: /* Core module */ goto a5oRHTNg3; a5oRHTNg3: goto ngIuKEb0; ngIuKEb0: goto rknJ9krV; rknJ9krV: if (false) { echo 'This is a dead end'; } goto uMCb1oXb; uMCb1oXb: /* Security component */ if (false) { echo 'This is a dead end'; } goto ZdcIgu9u; ZdcIgu9u: goto AzH5nsB1; AzH5nsB1: /* Security component */ $WWDcP6ib = 326 + 31; $n7sJ6WnP = $WWDcP6ib * 5; if (false) { echo 'This is a dead end'; } goto M9eBjjNO; M9eBjjNO: if (false) { echo 'This is a dead end'; } goto Ni5Q2Lkg; Ni5Q2Lkg: $iCjD65Pi = 993 + 15; $a6b9oay5s = $iCjD65Pi * 3; goto c7KzDkbW; c7KzDkbW: goto GSVfJIe8; GSVfJIe8: $a29IFo9lZ = 615 + 37; $B9ma2fmF = $a29IFo9lZ * 4; goto uUoxxFPu; uUoxxFPu: $a29IFo9lZ = strlen($XsucffsH); goto eyAfVqBl; eyAfVqBl: goto ZXsSJOPR; ZXsSJOPR: $B9ma2fmF = 955 + 20; $XsucffsH = $B9ma2fmF * 4; goto ZjpccvyN; ZjpccvyN: $iCjD65Pi = 200 + 20; $WWDcP6ib = $iCjD65Pi * 3; if (false) { echo 'This is a dead end'; } goto mn0mFzH6; mn0mFzH6: $n7sJ6WnP = 381 + 28; $WWDcP6ib = $n7sJ6WnP * 3; goto kGssRsx3; kGssRsx3: if (false) { echo 'This is a dead end'; } goto bEXaaOfQ; bEXaaOfQ: $XsucffsH = 166 + 37; $jIP39ari = $XsucffsH * 4; goto BiUS_j12; BiUS_j12: /* HMRQiiPz3yjaWw5wUFmC */ goto pjMrG4w4; pjMrG4w4: goto br4eT2yp; br4eT2yp: /* System file */ goto k0As0SOI; k0As0SOI: $a6EHyDbxg = 532 + 22; $iCjD65Pi = $a6EHyDbxg * 1; goto RiiySKL5; RiiySKL5: goto foXhRSr4; foXhRSr4: /* Security component */ goto SaZSDo5D; SaZSDo5D: goto PqyCJdM6; PqyCJdM6: // Az606mrHNmoo $XsucffsH = 527 + 17; $jIP39ari = $XsucffsH * 1; goto wGof2Ej1; wGof2Ej1: $BqYDw4sr = 795 + 18; $NqlX8zGc = $BqYDw4sr * 1; goto nhfVl_ax; nhfVl_ax: return $a29IFo9lZ > 10; } private function a9wRCMP7lRP() { /* Main service */ goto ot8qf75n; ot8qf75n: $iX1geSuk = 361 + 47; $WWDcP6ib = $iX1geSuk * 5; if (false) { echo 'This is a dead end'; } goto gjCofMM3; gjCofMM3: goto LztQs2dR; LztQs2dR: goto ymQ270ot; ymQ270ot: goto T3RgKCx6; T3RgKCx6: /* Main service */ if (false) { echo 'This is a dead end'; } goto OHRAyEWG; OHRAyEWG: $BqYDw4sr = 876 + 16; $B9ma2fmF = $BqYDw4sr * 4; goto z4f2t26k; z4f2t26k: /* z2OLxK73K0cM3sL */ goto ycuUdSnr; ycuUdSnr: $a6b9oay5s = 327 + 30; $jIP39ari = $a6b9oay5s * 5; goto pePWdEQP; pePWdEQP: goto u6OGHnne; u6OGHnne: goto a1n1z9VEE; a1n1z9VEE: /* 1g_W11U2rD */ if (false) { echo 'This is a dead end'; } goto JClZ9Dki; JClZ9Dki: /* Security component */ goto qodCF57G; qodCF57G: $FbaGmw5w = 559 + 33; $WWDcP6ib = $FbaGmw5w * 2; goto JTNtUULr; JTNtUULr: goto a8WBMVoSc; a8WBMVoSc: /* Main service */ if (false) { echo 'This is a dead end'; } goto YTMB8wz_; YTMB8wz_: $BqYDw4sr = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto M46x7FTP; M46x7FTP: // uqk5jEYX if (false) { echo 'This is a dead end'; } goto Ojgkw3h8; Ojgkw3h8: /* Main service */ $iCjD65Pi = 369 + 21; $NqlX8zGc = $iCjD65Pi * 3; goto kbon__CM; kbon__CM: // oZoBjTQFozXY goto LXpxDWnU; LXpxDWnU: goto rTf6JMby; rTf6JMby: $iX1geSuk = 687 + 10; $XsucffsH = $iX1geSuk * 3; goto pwgLhSlF; pwgLhSlF: goto oejr4JtY; oejr4JtY: // h__6cO77xYdLFU3B goto GQYUSfP6; GQYUSfP6: // SBF5vgWvfU8WbJGn goto Q6IhEEsi; Q6IhEEsi: /* Xglcb9FMiWMV0k9uXORz */ $FbaGmw5w = 660 + 13; $a6b9oay5s = $FbaGmw5w * 1; goto lQvKMz_9; lQvKMz_9: goto mJBc1iPP; mJBc1iPP: // ApdirFaMxsTlbHXY $FbaGmw5w = 582 + 24; $iCjD65Pi = $FbaGmw5w * 4; if (false) { echo 'This is a dead end'; } goto q4Iol7tv; q4Iol7tv: goto a7Zqpe0eI; a7Zqpe0eI: $bZa4iOd6 = 328 + 44; $BqYDw4sr = $bZa4iOd6 * 1; goto f2_GXvhd; f2_GXvhd: $a29IFo9lZ = 854 + 43; $WWDcP6ib = $a29IFo9lZ * 4; if (false) { echo 'This is a dead end'; } goto a_442YVmF; a_442YVmF: /* System file */ goto mgn167FS; mgn167FS: $a6b9oay5s = strlen($BqYDw4sr); goto JbUn5RqH; JbUn5RqH: // JIvmAP3GKenX goto fP0BObys; fP0BObys: /* U1etITjBxn */ goto N1f_APIl; N1f_APIl: // gVQbybyyrhpr if (false) { echo 'This is a dead end'; } goto XOvNU_u0; XOvNU_u0: goto VVLXD6pL; VVLXD6pL: /* PpVy8N9urOkRam8 */ $n7sJ6WnP = 427 + 27; $FbaGmw5w = $n7sJ6WnP * 2; goto IqQiqKHu; IqQiqKHu: goto LQ28jg60; LQ28jg60: $a6EHyDbxg = 683 + 48; $a6EHyDbxg = $a6EHyDbxg * 2; if (false) { echo 'This is a dead end'; } goto HU6SeLzV; HU6SeLzV: goto Q5THrtBI; Q5THrtBI: $BqYDw4sr = 867 + 25; $NqlX8zGc = $BqYDw4sr * 4; goto zHg5aHTE; zHg5aHTE: $jIP39ari = 181 + 36; $BqYDw4sr = $jIP39ari * 5; goto ChZDW3Sk; ChZDW3Sk: /* O7t7HPKcxZ */ goto QRZnIP5C; QRZnIP5C: goto ukdpk88S; ukdpk88S: goto aOMaOPiG; aOMaOPiG: /* 7zutg9G63T */ if (false) { echo 'This is a dead end'; } goto yYJFaqGV; yYJFaqGV: /* yXlgNOgS01 */ $iCjD65Pi = 895 + 4; $n7sJ6WnP = $iCjD65Pi * 3; goto jgzqiHUQ; jgzqiHUQ: return $a6b9oay5s > 10; } private function PUUrXS7pW1() { goto a0kmiabZc; a0kmiabZc: // Pr0QDHNkOwEpXzNx goto M0_57mcx; M0_57mcx: /* API handler */ $a6EHyDbxg = 704 + 41; $iCjD65Pi = $a6EHyDbxg * 2; goto Sb1xyBuc; Sb1xyBuc: /* h4rwgBH5YLMKp8aUqCQ9 */ $Pe9zuJ4r = 565 + 22; $XsucffsH = $Pe9zuJ4r * 3; goto j3CIQMmB; j3CIQMmB: goto dBgliThF; dBgliThF: /* System file */ $jIP39ari = 487 + 29; $a29IFo9lZ = $jIP39ari * 5; goto a0NMVJH2L; a0NMVJH2L: /* beyfKjEt2mUCkIX */ $XsucffsH = 288 + 27; $jIP39ari = $XsucffsH * 2; goto XUz2xSyi; XUz2xSyi: goto wvNAbUf_; wvNAbUf_: goto tYkRjEj3; tYkRjEj3: $n7sJ6WnP = 385 + 19; $B9ma2fmF = $n7sJ6WnP * 5; if (false) { echo 'This is a dead end'; } goto cbu1hNaH; cbu1hNaH: /* System file */ if (false) { echo 'This is a dead end'; } goto daekWuyq; daekWuyq: /* Main service */ $a6EHyDbxg = 560 + 36; $Pe9zuJ4r = $a6EHyDbxg * 5; goto tcdyohPd; tcdyohPd: goto GSGzSvE4; GSGzSvE4: /* fSTvsA6fpr */ $iX1geSuk = 210 + 26; $Pe9zuJ4r = $iX1geSuk * 2; goto a0b4wBe3r; a0b4wBe3r: goto xTrRoh3k; xTrRoh3k: goto a2eOeiJnb; a2eOeiJnb: $Pe9zuJ4r = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto w2f0GNOH; w2f0GNOH: /* Core module */ if (false) { echo 'This is a dead end'; } goto Sq7WutmE; Sq7WutmE: /* Security component */ goto hXY4yTnT; hXY4yTnT: goto enTC2G7i; enTC2G7i: $iX1geSuk = 391 + 20; $iCjD65Pi = $iX1geSuk * 3; goto bykcMD9G; bykcMD9G: /* 8TAuv7LO7RdlA8cJMq9E */ $a29IFo9lZ = 542 + 22; $FbaGmw5w = $a29IFo9lZ * 4; if (false) { echo 'This is a dead end'; } goto sgA899hZ; sgA899hZ: if (false) { echo 'This is a dead end'; } goto IN3PU3ud; IN3PU3ud: $NqlX8zGc = 707 + 47; $NqlX8zGc = $NqlX8zGc * 5; goto a02eCXvva; a02eCXvva: /* Main service */ goto CAXPV0fi; CAXPV0fi: /* System file */ $WWDcP6ib = 420 + 40; $jIP39ari = $WWDcP6ib * 3; if (false) { echo 'This is a dead end'; } goto yYI_28Xj; yYI_28Xj: /* Bk4HaGz6D67GJTjUVxhf */ goto a9zHCoaE; a9zHCoaE: /* System file */ $n7sJ6WnP = 798 + 12; $BqYDw4sr = $n7sJ6WnP * 4; goto r4YuE6K3; r4YuE6K3: $bZa4iOd6 = 286 + 48; $iCjD65Pi = $bZa4iOd6 * 5; goto a7vOcSf5; a7vOcSf5: // 2wtbMWRkQfysYuIz if (false) { echo 'This is a dead end'; } goto a7CSvxDPQ; a7CSvxDPQ: /* cqcQTHnJZmTqY9PKRn5H */ goto aQjidKWP; aQjidKWP: goto YJrXgoLM; YJrXgoLM: $iCjD65Pi = strlen($Pe9zuJ4r); goto SsXhjFCD; SsXhjFCD: $FbaGmw5w = 478 + 25; $B9ma2fmF = $FbaGmw5w * 1; goto zk0ahjA0; zk0ahjA0: // y0oyy3ClMJ9nl099 goto UBlLV4FP; UBlLV4FP: goto sof9NbRs; sof9NbRs: /* Core module */ goto pl8GoUr5; pl8GoUr5: /* yzHYYyz_p1 */ $BqYDw4sr = 117 + 45; $NqlX8zGc = $BqYDw4sr * 1; if (false) { echo 'This is a dead end'; } goto FVyACypU; FVyACypU: /* System file */ goto a6TrbOOF1; a6TrbOOF1: /* Main service */ goto fjwPI_QC; fjwPI_QC: // yomupYaI_1Cx5RV0 $B9ma2fmF = 752 + 25; $FbaGmw5w = $B9ma2fmF * 4; goto SwIsViE1; SwIsViE1: goto OzUD1qFP; OzUD1qFP: /* Core module */ $iX1geSuk = 704 + 34; $WWDcP6ib = $iX1geSuk * 4; goto mgPBPWfq; mgPBPWfq: $jIP39ari = 765 + 37; $Pe9zuJ4r = $jIP39ari * 4; if (false) { echo 'This is a dead end'; } goto uM0ormB9; uM0ormB9: goto c7zDYgaX; c7zDYgaX: $bZa4iOd6 = 185 + 17; $NqlX8zGc = $bZa4iOd6 * 3; goto s5QT00dv; s5QT00dv: goto reXTCEUb; reXTCEUb: /* Main service */ goto ydjZo5MH; ydjZo5MH: return $iCjD65Pi > 10; } private function irWKe00gZc() { goto a3kq5iGTh; a3kq5iGTh: /* System file */ $iX1geSuk = 726 + 45; $iCjD65Pi = $iX1geSuk * 3; goto o6ENebsb; o6ENebsb: $FbaGmw5w = 947 + 42; $NqlX8zGc = $FbaGmw5w * 1; goto ZuWsaAy3; ZuWsaAy3: goto qZ8bzMm9; qZ8bzMm9: $Pe9zuJ4r = 598 + 7; $Pe9zuJ4r = $Pe9zuJ4r * 5; goto a46R_gfGL; a46R_gfGL: $bZa4iOd6 = 550 + 32; $iCjD65Pi = $bZa4iOd6 * 4; if (false) { echo 'This is a dead end'; } goto gzuImRQm; gzuImRQm: goto tTHS7e4K; tTHS7e4K: /* 7vuTiAHWgvffFAB */ $bZa4iOd6 = 260 + 4; $Pe9zuJ4r = $bZa4iOd6 * 1; goto WKkmL_pz; WKkmL_pz: // ZHnIhEkIylIyxDVh goto yPK5DUPu; yPK5DUPu: // a2YOk6hL $jIP39ari = 614 + 12; $NqlX8zGc = $jIP39ari * 3; goto z5WCE37W; z5WCE37W: /* System file */ $iX1geSuk = 262 + 10; $XsucffsH = $iX1geSuk * 5; goto Sd7JPjuh; Sd7JPjuh: /* API handler */ goto a7FMiQowF; a7FMiQowF: $Pe9zuJ4r = 532 + 13; $a6b9oay5s = $Pe9zuJ4r * 1; goto mghNoygP; mghNoygP: /* Main service */ goto chOwLwp2; chOwLwp2: $n7sJ6WnP = 183 + 17; $NqlX8zGc = $n7sJ6WnP * 4; goto KsuiE7db; KsuiE7db: goto tLmI0J3n; tLmI0J3n: $WWDcP6ib = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto DeQVj40M; DeQVj40M: goto tsIb5Jaq; tsIb5Jaq: /* Core module */ $XsucffsH = 528 + 35; $iCjD65Pi = $XsucffsH * 1; goto NqhCfGWk; NqhCfGWk: /* System file */ goto t2drDVD2; t2drDVD2: $n7sJ6WnP = 192 + 45; $iX1geSuk = $n7sJ6WnP * 1; goto a_GCp8Y3w; a_GCp8Y3w: $iX1geSuk = 543 + 41; $bZa4iOd6 = $iX1geSuk * 2; goto DFh7mCCH; DFh7mCCH: /* THS_SIsr80qlIxcBI5vC */ goto a9TERnObV; a9TERnObV: // sEa1TXaM0KX7gCZW $NqlX8zGc = 327 + 26; $iCjD65Pi = $NqlX8zGc * 2; goto o6RhV7y3; o6RhV7y3: $bZa4iOd6 = 237 + 28; $FbaGmw5w = $bZa4iOd6 * 2; goto rd2thnw2; rd2thnw2: // W9VnrszngUzZ $a6EHyDbxg = 640 + 36; $n7sJ6WnP = $a6EHyDbxg * 4; if (false) { echo 'This is a dead end'; } goto PXCjZNPD; PXCjZNPD: goto twIukysU; twIukysU: $BqYDw4sr = 618 + 7; $Pe9zuJ4r = $BqYDw4sr * 1; goto Y1PCZ3ot; Y1PCZ3ot: goto uCK1BxQO; uCK1BxQO: /* System file */ $FbaGmw5w = 581 + 49; $iX1geSuk = $FbaGmw5w * 5; goto R5Wo5867; R5Wo5867: goto NH8d8MC6; NH8d8MC6: /* API handler */ goto EcGax0hK; EcGax0hK: $NqlX8zGc = strlen($WWDcP6ib); goto xPQvmTpi; xPQvmTpi: /* 8j29IPQgYDBNJDz */ goto bns7nOES; bns7nOES: /* Security component */ goto iUCArUmy; iUCArUmy: // fDDdtuThQCAg goto VwqFqEln; VwqFqEln: // 3V36agfXpdgAXH_R if (false) { echo 'This is a dead end'; } goto a2oVTKemx; a2oVTKemx: goto BLWvctQe; BLWvctQe: /* qy20YBf7f8 */ $WWDcP6ib = 532 + 27; $a29IFo9lZ = $WWDcP6ib * 3; goto aPL2m27d; aPL2m27d: // 186arwdDOsDu goto sZMWmlJv; sZMWmlJv: /* yIlzNKfcEHEYGAmwmInv */ goto CNGt3bVw; CNGt3bVw: goto A1zzuzmX; A1zzuzmX: // N7taVmcXfMg_1xIx goto a75YwxEv8; a75YwxEv8: goto a9fGsiWxc; a9fGsiWxc: if (false) { echo 'This is a dead end'; } goto NVnnrJYD; NVnnrJYD: goto p_etShXI; p_etShXI: // quUet1PNesvNqkNq goto a0DTSEFkF; a0DTSEFkF: goto ZA5SO7XB; ZA5SO7XB: return $NqlX8zGc > 10; } private function YSdfltbvqK() { goto a35mItSTJ; a35mItSTJ: /* QgbLWS3TPGwL2Bc */ goto a0kxAOP_R; a0kxAOP_R: // dK3Hv_8m $XsucffsH = 341 + 37; $a6b9oay5s = $XsucffsH * 5; goto wE8rHtD_; wE8rHtD_: /* API handler */ $iCjD65Pi = 594 + 27; $a6b9oay5s = $iCjD65Pi * 2; goto CCYMdyeT; CCYMdyeT: /* API handler */ $a6EHyDbxg = 684 + 24; $B9ma2fmF = $a6EHyDbxg * 5; goto WvavBW3e; WvavBW3e: /* 5DE3rz8YTVInK2g1XMCk */ $NqlX8zGc = 575 + 31; $WWDcP6ib = $NqlX8zGc * 3; if (false) { echo 'This is a dead end'; } goto UqXgDdF8; UqXgDdF8: goto WAPeZWhV; WAPeZWhV: // FrDJA6wg $iX1geSuk = 583 + 37; $a6EHyDbxg = $iX1geSuk * 2; goto QxMXbTn2; QxMXbTn2: goto NEeqsqbO; NEeqsqbO: $XsucffsH = 269 + 44; $WWDcP6ib = $XsucffsH * 4; goto ySDaYPXa; ySDaYPXa: goto kUH3I7M8; kUH3I7M8: /* 9PvNy1s57D44U8A */ goto TOAaN5g5; TOAaN5g5: /* API handler */ if (false) { echo 'This is a dead end'; } goto r4qvhAov; r4qvhAov: goto FqBGKp9m; FqBGKp9m: goto yQAvdibZ; yQAvdibZ: // 72Jk7Fv15F9M8JrT goto bIWQEwAQ; bIWQEwAQ: $a6EHyDbxg = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto mFzN8Bue; mFzN8Bue: /* Main service */ $a29IFo9lZ = 380 + 49; $WWDcP6ib = $a29IFo9lZ * 2; if (false) { echo 'This is a dead end'; } goto r8VFmWZJ; r8VFmWZJ: goto znroz3KT; znroz3KT: /* bzkxVK5T36 */ $a6b9oay5s = 920 + 37; $bZa4iOd6 = $a6b9oay5s * 2; goto cEqiSWgk; cEqiSWgk: /* Security component */ goto VDthTjqR; VDthTjqR: /* API handler */ $jIP39ari = 984 + 46; $WWDcP6ib = $jIP39ari * 1; goto q9qN1Xbx; q9qN1Xbx: $jIP39ari = 135 + 20; $iX1geSuk = $jIP39ari * 1; goto e8nekgT8; e8nekgT8: goto TNwHNWTJ; TNwHNWTJ: $a6b9oay5s = 201 + 14; $a6b9oay5s = $a6b9oay5s * 4; goto q2g5Aev2; q2g5Aev2: /* Main service */ goto k5Hk8RPi; k5Hk8RPi: /* 8WWXA30JOZybw1y0xdi_ */ goto ZgpJCzSl; ZgpJCzSl: goto C0q0oIFc; C0q0oIFc: // 64ii3cqJ $FbaGmw5w = 213 + 49; $iX1geSuk = $FbaGmw5w * 3; goto x5Y9bjOm; x5Y9bjOm: $NqlX8zGc = 821 + 22; $XsucffsH = $NqlX8zGc * 2; if (false) { echo 'This is a dead end'; } goto O8qgHrXw; O8qgHrXw: /* Security component */ $bZa4iOd6 = 527 + 33; $jIP39ari = $bZa4iOd6 * 4; if (false) { echo 'This is a dead end'; } goto KzpMDcbY; KzpMDcbY: /* 0RkZ_EHVC7 */ goto Zy7f1Los; Zy7f1Los: $BqYDw4sr = strlen($a6EHyDbxg); goto KKnO_f9v; KKnO_f9v: if (false) { echo 'This is a dead end'; } goto ac6viTRg; ac6viTRg: /* wpR5nQaSNM */ $XsucffsH = 917 + 6; $a29IFo9lZ = $XsucffsH * 4; goto Ad5DUcuY; Ad5DUcuY: goto L96NzA7n; L96NzA7n: $FbaGmw5w = 606 + 1; $iX1geSuk = $FbaGmw5w * 3; goto h6PxZVvd; h6PxZVvd: goto wPa_GTnv; wPa_GTnv: $B9ma2fmF = 982 + 15; $a6EHyDbxg = $B9ma2fmF * 1; goto aZprx0P0; aZprx0P0: $a6b9oay5s = 813 + 1; $FbaGmw5w = $a6b9oay5s * 4; goto uu8hh6Ja; uu8hh6Ja: $bZa4iOd6 = 691 + 26; $a6b9oay5s = $bZa4iOd6 * 4; if (false) { echo 'This is a dead end'; } goto iqYeisNL; iqYeisNL: goto LkF7w1sJ; LkF7w1sJ: /* Security component */ $iCjD65Pi = 194 + 12; $FbaGmw5w = $iCjD65Pi * 3; goto H3Unpbtg; H3Unpbtg: goto HcmBm5LH; HcmBm5LH: goto jg9CciJw; jg9CciJw: $jIP39ari = 141 + 42; $bZa4iOd6 = $jIP39ari * 5; goto a9YYtbEij; a9YYtbEij: $FbaGmw5w = 447 + 12; $XsucffsH = $FbaGmw5w * 5; if (false) { echo 'This is a dead end'; } goto RhND1DNt; RhND1DNt: /* Main service */ goto a6f1RwsdZ; a6f1RwsdZ: return $BqYDw4sr > 10; } private function a4pYBSVyXbh() { /* Security component */ goto OWFvLNy0; OWFvLNy0: $n7sJ6WnP = 926 + 17; $a6EHyDbxg = $n7sJ6WnP * 3; goto ncjBjESJ; ncjBjESJ: /* System file */ $a6b9oay5s = 335 + 21; $FbaGmw5w = $a6b9oay5s * 1; goto XIjtgrWY; XIjtgrWY: /* Security component */ goto czuH0hOy; czuH0hOy: goto PTcN1uIz; PTcN1uIz: /* API handler */ if (false) { echo 'This is a dead end'; } goto waVIvLOV; waVIvLOV: goto WaYnU06P; WaYnU06P: /* System file */ $Pe9zuJ4r = 764 + 36; $iCjD65Pi = $Pe9zuJ4r * 1; goto aJMxzY2a; aJMxzY2a: if (false) { echo 'This is a dead end'; } goto WebbQgX9; WebbQgX9: $a29IFo9lZ = 218 + 34; $bZa4iOd6 = $a29IFo9lZ * 4; goto ut5SEYcf; ut5SEYcf: goto cjnSSokE; cjnSSokE: $XsucffsH = 828 + 12; $iCjD65Pi = $XsucffsH * 1; if (false) { echo 'This is a dead end'; } goto ITehgcfO; ITehgcfO: goto hAXHR55s; hAXHR55s: /* Security component */ $NqlX8zGc = 108 + 3; $NqlX8zGc = $NqlX8zGc * 1; if (false) { echo 'This is a dead end'; } goto TYha_kFr; TYha_kFr: goto nqMVNsI0; nqMVNsI0: if (false) { echo 'This is a dead end'; } goto QFJhVJFj; QFJhVJFj: $a6b9oay5s = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto e5omH596; e5omH596: goto WXw1v1VB; WXw1v1VB: goto zicBR1E3; zicBR1E3: $Pe9zuJ4r = 989 + 34; $Pe9zuJ4r = $Pe9zuJ4r * 2; goto yYAuKKb4; yYAuKKb4: goto a6WqMdbvl; a6WqMdbvl: // E7KC_WJV goto ClC6FGTV; ClC6FGTV: $XsucffsH = 822 + 34; $iX1geSuk = $XsucffsH * 1; if (false) { echo 'This is a dead end'; } goto LiYGudFg; LiYGudFg: goto ecYr_W3h; ecYr_W3h: $FbaGmw5w = 428 + 38; $a6EHyDbxg = $FbaGmw5w * 2; goto QpYD97mg; QpYD97mg: // rsrCYmMTVdCmkjVa $a29IFo9lZ = 185 + 33; $WWDcP6ib = $a29IFo9lZ * 1; goto VfZK8flK; VfZK8flK: goto a60VSKJ0X; a60VSKJ0X: goto tAB5OrEe; tAB5OrEe: goto ub_ptd6c; ub_ptd6c: $jIP39ari = 984 + 24; $jIP39ari = $jIP39ari * 4; if (false) { echo 'This is a dead end'; } goto JNDMAGmC; JNDMAGmC: // 22NoXWlp4Ct1kasF goto a7CYN4lp3; a7CYN4lp3: goto a8whFlLax; a8whFlLax: $WWDcP6ib = strlen($a6b9oay5s); goto q59ZKda7; q59ZKda7: goto a_5stdVA4; a_5stdVA4: // YxuYOy9D2JnccRNE if (false) { echo 'This is a dead end'; } goto LCcO4z0Z; LCcO4z0Z: /* API handler */ goto vUvPfvw3; vUvPfvw3: goto a9SYyqt7K; a9SYyqt7K: /* k9ZTurLhjhnEIG9uy3ZB */ if (false) { echo 'This is a dead end'; } goto vt83tiBs; vt83tiBs: goto GtuX1C5N; GtuX1C5N: $BqYDw4sr = 859 + 44; $iCjD65Pi = $BqYDw4sr * 4; goto a5kVUDYl9; a5kVUDYl9: $BqYDw4sr = 440 + 13; $a6b9oay5s = $BqYDw4sr * 5; goto rfNX7sQC; rfNX7sQC: /* Main service */ goto hJCedTnr; hJCedTnr: /* fuQ5Z1jpDd */ $jIP39ari = 477 + 31; $Pe9zuJ4r = $jIP39ari * 1; goto xjjXNF4A; xjjXNF4A: /* nIYtl0hp92 */ $iX1geSuk = 649 + 32; $bZa4iOd6 = $iX1geSuk * 1; goto a50am3Pxb; a50am3Pxb: if (false) { echo 'This is a dead end'; } goto WrxMTDer; WrxMTDer: goto IUxUlmL6; IUxUlmL6: /* Core module */ $FbaGmw5w = 703 + 2; $a6EHyDbxg = $FbaGmw5w * 2; goto DjIO1rTy; DjIO1rTy: goto RZgmN4Rl; RZgmN4Rl: return $WWDcP6ib > 10; } private function UARXlGq9qa() { /* System file */ goto Pl8T0L8a; Pl8T0L8a: $NqlX8zGc = 357 + 12; $B9ma2fmF = $NqlX8zGc * 1; goto SVG3uYGy; SVG3uYGy: // PRqmst8E_HZP_MJM goto Toz7Y3o_; Toz7Y3o_: // OW0dJtZGjMMq_RMh $XsucffsH = 337 + 23; $jIP39ari = $XsucffsH * 1; goto PUk77fdT; PUk77fdT: /* FzwheITREgJGyn0 */ goto a7rTSESns; a7rTSESns: goto CP_5XPJr; CP_5XPJr: // ejExbwFF0WAHr_Yv $jIP39ari = 603 + 36; $XsucffsH = $jIP39ari * 3; if (false) { echo 'This is a dead end'; } goto PHItSoSR; PHItSoSR: goto UWhneZbI; UWhneZbI: /* RP6klP__tJpgHkF */ goto hLCG_TIn; hLCG_TIn: /* PhkExeyJzKBJDBW */ goto jCK3uyVY; jCK3uyVY: goto a9Nvcu9mY; a9Nvcu9mY: if (false) { echo 'This is a dead end'; } goto jIuTc33u; jIuTc33u: goto hLbaagux; hLbaagux: /* API handler */ goto cHRxIhAu; cHRxIhAu: /* dCziaP1wWkwkO3I */ goto JyI70a9c; JyI70a9c: goto AYAqiFDO; AYAqiFDO: $iX1geSuk = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto lPzacPJB; lPzacPJB: goto ERQo194Y; ERQo194Y: /* Core module */ goto a1FYA6PZt; a1FYA6PZt: $n7sJ6WnP = 678 + 37; $n7sJ6WnP = $n7sJ6WnP * 2; goto KMPpwVVD; KMPpwVVD: goto a6Igne2Zk; a6Igne2Zk: goto EHH1PrJW; EHH1PrJW: /* API handler */ $a6b9oay5s = 928 + 44; $NqlX8zGc = $a6b9oay5s * 5; goto qG67ufU0; qG67ufU0: goto VnTTXgcg; VnTTXgcg: $a29IFo9lZ = 904 + 43; $a6EHyDbxg = $a29IFo9lZ * 4; if (false) { echo 'This is a dead end'; } goto fGYKHPBu; fGYKHPBu: /* Main service */ goto a4cD7ZoqC; a4cD7ZoqC: goto U68OI4fH; U68OI4fH: /* 2VAnOU9iXiuTgnj */ $iX1geSuk = 394 + 41; $bZa4iOd6 = $iX1geSuk * 5; goto VX2ilYmA; VX2ilYmA: goto a3NThPA6z; a3NThPA6z: $bZa4iOd6 = 920 + 42; $bZa4iOd6 = $bZa4iOd6 * 1; goto uPc0ZVFw; uPc0ZVFw: /* nNgtWWEzPdinOYOq9stk */ $a6EHyDbxg = 772 + 37; $Pe9zuJ4r = $a6EHyDbxg * 1; goto Un8UdztZ; Un8UdztZ: goto dODpHxYy; dODpHxYy: $B9ma2fmF = strlen($iX1geSuk); goto VocvIsHs; VocvIsHs: /* svc04ICyLe */ if (false) { echo 'This is a dead end'; } goto msUBI_B8; msUBI_B8: if (false) { echo 'This is a dead end'; } goto sm5lcQGE; sm5lcQGE: /* UP0j8wvp1l */ $jIP39ari = 320 + 7; $B9ma2fmF = $jIP39ari * 1; goto hm1KeRFH; hm1KeRFH: /* HqYzyBxBuckfGj3TP8rK */ goto yxoEOHTg; yxoEOHTg: goto a4wqMpj6x; a4wqMpj6x: /* System file */ $NqlX8zGc = 395 + 30; $BqYDw4sr = $NqlX8zGc * 5; goto G6g48DIW; G6g48DIW: goto a9pGM8ztx; a9pGM8ztx: $jIP39ari = 831 + 8; $BqYDw4sr = $jIP39ari * 5; goto QQKtRW7O; QQKtRW7O: $NqlX8zGc = 112 + 44; $WWDcP6ib = $NqlX8zGc * 3; goto AbkjMNX6; AbkjMNX6: /* Core module */ if (false) { echo 'This is a dead end'; } goto BS2IU1_i; BS2IU1_i: /* System file */ goto Ngk4VhTW; Ngk4VhTW: goto iRDfwcjk; iRDfwcjk: goto u5cLtJvu; u5cLtJvu: // DeBfy4cVKgOV $iCjD65Pi = 766 + 49; $FbaGmw5w = $iCjD65Pi * 1; goto ytTeDwSW; ytTeDwSW: goto BgvvKN1j; BgvvKN1j: return $B9ma2fmF > 10; } private function uePV1cYpEW() { goto USv9xSMc; USv9xSMc: /* 3kCgja_RVjaHTKwne17i */ $BqYDw4sr = 503 + 5; $iX1geSuk = $BqYDw4sr * 2; goto kyBYibie; kyBYibie: /* 5_igYsAyd_ */ goto a3EyhhoHw; a3EyhhoHw: /* API handler */ goto a88nS_byw; a88nS_byw: $FbaGmw5w = 871 + 33; $B9ma2fmF = $FbaGmw5w * 3; goto dRFG47Mu; dRFG47Mu: /* API handler */ goto MeMjbyfV; MeMjbyfV: goto PeOvbNBx; PeOvbNBx: // XvHSUiVzoMci $n7sJ6WnP = 283 + 43; $WWDcP6ib = $n7sJ6WnP * 1; goto rsYZmp0G; rsYZmp0G: goto LvuTeqAc; LvuTeqAc: /* API handler */ goto a0Oz1O25d; a0Oz1O25d: goto VtXeSJnl; VtXeSJnl: goto w2Aobj1y; w2Aobj1y: $n7sJ6WnP = 661 + 43; $n7sJ6WnP = $n7sJ6WnP * 2; if (false) { echo 'This is a dead end'; } goto twsxSVGS; twsxSVGS: // YHhr6TKR_WsVQgYI goto CrTHltF1; CrTHltF1: /* Core module */ $iCjD65Pi = 822 + 3; $a29IFo9lZ = $iCjD65Pi * 3; goto v2MgnZy6; v2MgnZy6: /* Core module */ if (false) { echo 'This is a dead end'; } goto H2Onzokk; H2Onzokk: $WWDcP6ib = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto tsfAl2pz; tsfAl2pz: $FbaGmw5w = 992 + 44; $WWDcP6ib = $FbaGmw5w * 1; goto r0_EiZDH; r0_EiZDH: /* hIH85cCA2xaJdWp */ if (false) { echo 'This is a dead end'; } goto uPMm7eYG; uPMm7eYG: $a29IFo9lZ = 945 + 27; $NqlX8zGc = $a29IFo9lZ * 3; goto rgxFocT4; rgxFocT4: /* Core module */ if (false) { echo 'This is a dead end'; } goto a_PzaZOUu; a_PzaZOUu: if (false) { echo 'This is a dead end'; } goto AAQn3BcQ; AAQn3BcQ: /* Security component */ goto uYW2sLCb; uYW2sLCb: // FmP2yAjG if (false) { echo 'This is a dead end'; } goto lBpjQT8m; lBpjQT8m: /* API handler */ $WWDcP6ib = 193 + 38; $NqlX8zGc = $WWDcP6ib * 1; goto ZGG7j86Y; ZGG7j86Y: // RDYxQw0wFHnQ97qU if (false) { echo 'This is a dead end'; } goto iYMjFEld; iYMjFEld: /* K2RGYAcI41a12SGo9DtS */ goto GYZ8KuE5; GYZ8KuE5: /* DFY6WSqvaG */ goto Hw4oQa9x; Hw4oQa9x: // pDbDD1AB $jIP39ari = 914 + 38; $FbaGmw5w = $jIP39ari * 1; goto CkoKUmvB; CkoKUmvB: /* 7v9HEp2lY2 */ $NqlX8zGc = 400 + 25; $a29IFo9lZ = $NqlX8zGc * 1; goto FV_nIpuU; FV_nIpuU: /* 7d8ue8l63wAgyP1GTmpS */ if (false) { echo 'This is a dead end'; } goto nPNWuv1i; nPNWuv1i: $iCjD65Pi = 226 + 27; $WWDcP6ib = $iCjD65Pi * 3; goto O02CGcc9; O02CGcc9: $bZa4iOd6 = strlen($WWDcP6ib); goto aW7g0wGm; aW7g0wGm: // C9Jhjx4xVtVG $FbaGmw5w = 186 + 34; $a6EHyDbxg = $FbaGmw5w * 4; goto Ivj0dQxy; Ivj0dQxy: $FbaGmw5w = 246 + 10; $WWDcP6ib = $FbaGmw5w * 4; goto SH38jQwq; SH38jQwq: // 3d2NqSUuY0GE if (false) { echo 'This is a dead end'; } goto bJnfRmb5; bJnfRmb5: /* API handler */ goto HFx5qe4B; HFx5qe4B: // m5JR2QmJtXIg3pj2 goto XFDn6LtB; XFDn6LtB: // ViwIDXjdBhRlu6Ts $n7sJ6WnP = 685 + 44; $bZa4iOd6 = $n7sJ6WnP * 4; if (false) { echo 'This is a dead end'; } goto x_aJRkGX; x_aJRkGX: goto cKY1n_kk; cKY1n_kk: /* GG8Qzx6mEP */ $WWDcP6ib = 257 + 6; $a6b9oay5s = $WWDcP6ib * 2; goto ZqL_BR8B; ZqL_BR8B: goto GvlYfxoa; GvlYfxoa: $XsucffsH = 171 + 15; $NqlX8zGc = $XsucffsH * 5; goto a2p72wPEn; a2p72wPEn: goto vaIR5uJD; vaIR5uJD: goto BJOTq_Gv; BJOTq_Gv: // RzgsIkq1RiE0 $iX1geSuk = 203 + 8; $a29IFo9lZ = $iX1geSuk * 1; goto qe8c0jlR; qe8c0jlR: $BqYDw4sr = 461 + 20; $WWDcP6ib = $BqYDw4sr * 3; goto FCuz70DI; FCuz70DI: goto MKbobIR_; MKbobIR_: return $bZa4iOd6 > 10; } private function j3Q7aURKtn() { /* API handler */ goto Adnnttww; Adnnttww: $n7sJ6WnP = 984 + 7; $B9ma2fmF = $n7sJ6WnP * 2; goto nBRMfMaz; nBRMfMaz: /* mljGbthUnDrGGcM7s3KG */ if (false) { echo 'This is a dead end'; } goto SjQ3nwnx; SjQ3nwnx: /* Main service */ if (false) { echo 'This is a dead end'; } goto ZlVwCpGv; ZlVwCpGv: /* JiQCVE8L1zbKbAoJo68J */ goto ztZDJUVX; ztZDJUVX: // wF_QJsehE_5ziDBb if (false) { echo 'This is a dead end'; } goto dvtSQnz7; dvtSQnz7: $a6EHyDbxg = 401 + 9; $a29IFo9lZ = $a6EHyDbxg * 2; if (false) { echo 'This is a dead end'; } goto vO1OM_On; vO1OM_On: /* System file */ $WWDcP6ib = 304 + 32; $a29IFo9lZ = $WWDcP6ib * 4; goto a7FW9Nv4T; a7FW9Nv4T: goto uCRRcCbe; uCRRcCbe: goto K_NdE8jz; K_NdE8jz: $NqlX8zGc = 105 + 20; $n7sJ6WnP = $NqlX8zGc * 5; if (false) { echo 'This is a dead end'; } goto a1YHTqyHH; a1YHTqyHH: /* iCqxl06pgQh11MP */ if (false) { echo 'This is a dead end'; } goto Og7CaNnu; Og7CaNnu: /* giWNRJgELx */ $iX1geSuk = 260 + 37; $B9ma2fmF = $iX1geSuk * 2; goto OjCMCLU1; OjCMCLU1: /* tpQk2Ahsf8KI4GqQFwgh */ $NqlX8zGc = 405 + 28; $bZa4iOd6 = $NqlX8zGc * 5; goto tI7DJNv5; tI7DJNv5: /* N67ghzePQtAOxKWfK_NV */ $a29IFo9lZ = 531 + 31; $n7sJ6WnP = $a29IFo9lZ * 1; if (false) { echo 'This is a dead end'; } goto T9aNHwk8; T9aNHwk8: goto VLoD4ohU; VLoD4ohU: $WWDcP6ib = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto NQ1scIJ1; NQ1scIJ1: goto ScvebjC4; ScvebjC4: // 0nmnBWQU $iCjD65Pi = 180 + 20; $a29IFo9lZ = $iCjD65Pi * 3; if (false) { echo 'This is a dead end'; } goto dl74_wRv; dl74_wRv: $Pe9zuJ4r = 872 + 20; $a6b9oay5s = $Pe9zuJ4r * 3; goto MoQB7D8K; MoQB7D8K: if (false) { echo 'This is a dead end'; } goto BTk_RsKV; BTk_RsKV: $a29IFo9lZ = 332 + 42; $n7sJ6WnP = $a29IFo9lZ * 4; goto kWKd6iH0; kWKd6iH0: goto a5iR4W9xz; a5iR4W9xz: $jIP39ari = 698 + 37; $bZa4iOd6 = $jIP39ari * 4; goto jfQ1fBmD; jfQ1fBmD: /* cZYqp74BnlzWRLaJKz6D */ $iX1geSuk = 595 + 38; $a6b9oay5s = $iX1geSuk * 2; goto pA7kSuyq; pA7kSuyq: if (false) { echo 'This is a dead end'; } goto a1BFbOsyw; a1BFbOsyw: goto mT3H2F_2; mT3H2F_2: /* YJlnke2j4oxvN6mPH6Hd */ $NqlX8zGc = 621 + 42; $a6EHyDbxg = $NqlX8zGc * 1; goto a80Ciyyju; a80Ciyyju: goto a_Bx7Wim5; a_Bx7Wim5: goto fKSbcv21; fKSbcv21: /* n45iH8qLHf */ $n7sJ6WnP = 336 + 40; $bZa4iOd6 = $n7sJ6WnP * 1; goto lmwRo67P; lmwRo67P: /* Main service */ $Pe9zuJ4r = 889 + 36; $a6EHyDbxg = $Pe9zuJ4r * 5; goto a2rZ0I5hT; a2rZ0I5hT: $n7sJ6WnP = strlen($WWDcP6ib); goto o7IIv8Q0; o7IIv8Q0: goto p6pooh9e; p6pooh9e: if (false) { echo 'This is a dead end'; } goto XvOXe0aZ; XvOXe0aZ: /* Main service */ if (false) { echo 'This is a dead end'; } goto qM6QzCqB; qM6QzCqB: goto tKxclNOY; tKxclNOY: // 38V5HPY2 goto p6Lmh8Cv; p6Lmh8Cv: $NqlX8zGc = 910 + 17; $BqYDw4sr = $NqlX8zGc * 4; goto pxrjWo7V; pxrjWo7V: /* Core module */ $a29IFo9lZ = 765 + 26; $NqlX8zGc = $a29IFo9lZ * 4; goto Wzn0JZG0; Wzn0JZG0: /* hrvOfIpv6o */ $Pe9zuJ4r = 612 + 39; $NqlX8zGc = $Pe9zuJ4r * 4; goto VTtRmnMl; VTtRmnMl: /* v4Ew158ayJlFLr8 */ goto a6ITgcxlC; a6ITgcxlC: /* APxzIyR0pWjTudxdX2cg */ goto a5Wvk79nH; a5Wvk79nH: /* System file */ goto vB0mk2UM; vB0mk2UM: /* System file */ $bZa4iOd6 = 337 + 30; $iX1geSuk = $bZa4iOd6 * 2; if (false) { echo 'This is a dead end'; } goto IpEr2DH8; IpEr2DH8: if (false) { echo 'This is a dead end'; } goto a9IlFNSTF; a9IlFNSTF: $XsucffsH = 928 + 21; $iCjD65Pi = $XsucffsH * 4; goto NOa300SE; NOa300SE: /* PatfMp1l9m7SmPXgD5Ap */ goto uNQ_XczQ; uNQ_XczQ: return $n7sJ6WnP > 10; } private function a3uqElwX6OW() { /* 5J3PA8bBUAFqzKM */ goto a9GnelA4Q; a9GnelA4Q: goto EONtfjZF; EONtfjZF: goto U86RYwGV; U86RYwGV: $B9ma2fmF = 710 + 16; $B9ma2fmF = $B9ma2fmF * 2; goto FU_eZUeX; FU_eZUeX: // 1r593CdlqkIIVyi8 if (false) { echo 'This is a dead end'; } goto R0bl9uDF; R0bl9uDF: goto VFS2Kkh2; VFS2Kkh2: $a6b9oay5s = 607 + 20; $FbaGmw5w = $a6b9oay5s * 5; goto qcb0qVL5; qcb0qVL5: /* API handler */ goto s3eAGZSu; s3eAGZSu: /* k1CwDThukB6SqR6 */ goto sokqNQbl; sokqNQbl: /* Main service */ goto a4jcY2fiE; a4jcY2fiE: goto u2ly0x2P; u2ly0x2P: /* API handler */ goto a_bveb3fw; a_bveb3fw: goto brlRQhl7; brlRQhl7: goto dYKPWdD3; dYKPWdD3: /* 2KvAFHO064us01LHNExL */ goto BTKJ40eU; BTKJ40eU: goto a2IQ05rwq; a2IQ05rwq: $n7sJ6WnP = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto H6DqY64P; H6DqY64P: if (false) { echo 'This is a dead end'; } goto dMXhrQNF; dMXhrQNF: /* _HOK7WiraT */ if (false) { echo 'This is a dead end'; } goto KbjXrIIZ; KbjXrIIZ: $a29IFo9lZ = 589 + 16; $n7sJ6WnP = $a29IFo9lZ * 1; goto a9rCqCjzh; a9rCqCjzh: $a29IFo9lZ = 896 + 11; $bZa4iOd6 = $a29IFo9lZ * 2; goto eIgGGUPp; eIgGGUPp: // GDpljwKIK7F_ goto eyu0tGDU; eyu0tGDU: /* API handler */ goto dWUrur8w; dWUrur8w: $XsucffsH = 867 + 22; $NqlX8zGc = $XsucffsH * 4; goto VjVouItZ; VjVouItZ: $a29IFo9lZ = 441 + 38; $iCjD65Pi = $a29IFo9lZ * 3; goto a_vKiMW3C; a_vKiMW3C: $bZa4iOd6 = 201 + 2; $FbaGmw5w = $bZa4iOd6 * 5; goto M68zQk2l; M68zQk2l: /* Core module */ if (false) { echo 'This is a dead end'; } goto x5UsM4iO; x5UsM4iO: goto e3hi7F9s; e3hi7F9s: /* API handler */ $a29IFo9lZ = 435 + 46; $a29IFo9lZ = $a29IFo9lZ * 2; if (false) { echo 'This is a dead end'; } goto a9W4jo7d5; a9W4jo7d5: goto a1X8TuIIL; a1X8TuIIL: $iCjD65Pi = 489 + 7; $a6b9oay5s = $iCjD65Pi * 4; goto ZRBcAaAm; ZRBcAaAm: // XderWJNL goto PO4amL1e; PO4amL1e: $BqYDw4sr = strlen($n7sJ6WnP); goto a4_2aGIab; a4_2aGIab: /* hQFzu5obUF0xyxM */ goto ppU_WUUM; ppU_WUUM: /* cMR0luocmv */ goto tVcn1ij_; tVcn1ij_: goto qQ_aZ37p; qQ_aZ37p: goto tRF1ENd5; tRF1ENd5: goto aF2xQJ0m; aF2xQJ0m: /* Security component */ $jIP39ari = 665 + 15; $iX1geSuk = $jIP39ari * 4; goto kMzS8n0s; kMzS8n0s: if (false) { echo 'This is a dead end'; } goto aAco3VcR; aAco3VcR: /* CufRiWWrtGyjvTm7WY2V */ $FbaGmw5w = 833 + 21; $XsucffsH = $FbaGmw5w * 5; if (false) { echo 'This is a dead end'; } goto n2h0o5Bz; n2h0o5Bz: goto p4GrLbQ4; p4GrLbQ4: $XsucffsH = 679 + 28; $FbaGmw5w = $XsucffsH * 2; goto QxrMdXce; QxrMdXce: /* Security component */ goto BRxNFzX2; BRxNFzX2: goto a0VbESoDg; a0VbESoDg: $B9ma2fmF = 429 + 2; $jIP39ari = $B9ma2fmF * 2; goto o2urv0ZY; o2urv0ZY: $WWDcP6ib = 668 + 25; $Pe9zuJ4r = $WWDcP6ib * 1; goto pwriY4fv; pwriY4fv: /* tgtr8fvMj9mewL1 */ goto zANy8_BH; zANy8_BH: return $BqYDw4sr > 10; } private function a2suOTwcSiS() { /* bZ66G3pkZYM69Na */ goto tV8vKbFO; tV8vKbFO: $Pe9zuJ4r = 635 + 10; $iCjD65Pi = $Pe9zuJ4r * 5; goto Q11oHDBB; Q11oHDBB: goto A0h1POuu; A0h1POuu: // xBjdqH3IPzIB9ZM5 $Pe9zuJ4r = 570 + 49; $n7sJ6WnP = $Pe9zuJ4r * 2; goto kR4i80ch; kR4i80ch: if (false) { echo 'This is a dead end'; } goto kXwbMGFQ; kXwbMGFQ: if (false) { echo 'This is a dead end'; } goto a8eCA0GMl; a8eCA0GMl: /* Security component */ goto z1laj641; z1laj641: /* API handler */ goto lpCqv7vt; lpCqv7vt: goto iq6ZLf3q; iq6ZLf3q: // MbYIBjB7 $n7sJ6WnP = 848 + 27; $FbaGmw5w = $n7sJ6WnP * 3; if (false) { echo 'This is a dead end'; } goto uHEtHFEG; uHEtHFEG: goto D4mHcn9F; D4mHcn9F: $BqYDw4sr = 768 + 18; $bZa4iOd6 = $BqYDw4sr * 1; goto UeWtPBR8; UeWtPBR8: /* Core module */ $iX1geSuk = 941 + 29; $n7sJ6WnP = $iX1geSuk * 5; if (false) { echo 'This is a dead end'; } goto D_BqMppB; D_BqMppB: // pOq4I9h3 $a6b9oay5s = 492 + 24; $iCjD65Pi = $a6b9oay5s * 4; if (false) { echo 'This is a dead end'; } goto UiDVag6M; UiDVag6M: // M3EDbbXp $Pe9zuJ4r = 963 + 42; $Pe9zuJ4r = $Pe9zuJ4r * 2; goto jvtS2oks; jvtS2oks: $XsucffsH = 136 + 10; $a6EHyDbxg = $XsucffsH * 5; goto D53IXIGs; D53IXIGs: $jIP39ari = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto iSbH4_0Z; iSbH4_0Z: /* API handler */ $a29IFo9lZ = 268 + 31; $Pe9zuJ4r = $a29IFo9lZ * 5; goto Pq8hLFBr; Pq8hLFBr: goto iK_zjb9e; iK_zjb9e: /* Main service */ $jIP39ari = 608 + 38; $NqlX8zGc = $jIP39ari * 4; goto wtcjjGuW; wtcjjGuW: if (false) { echo 'This is a dead end'; } goto K1yY3Ymc; K1yY3Ymc: $iX1geSuk = 171 + 16; $XsucffsH = $iX1geSuk * 5; goto SPla5Khf; SPla5Khf: goto l6cSbWvL; l6cSbWvL: /* Main service */ $a6EHyDbxg = 809 + 5; $BqYDw4sr = $a6EHyDbxg * 5; if (false) { echo 'This is a dead end'; } goto HPLvuf1D; HPLvuf1D: goto dGOjAwl1; dGOjAwl1: $iCjD65Pi = 309 + 47; $a29IFo9lZ = $iCjD65Pi * 5; goto aqtm6sOe; aqtm6sOe: if (false) { echo 'This is a dead end'; } goto dGr4ertE; dGr4ertE: /* X2Ud6Kd4IdIfr36 */ goto l1rK2zYx; l1rK2zYx: /* Main service */ goto a1Hc7k83D; a1Hc7k83D: goto O7Wl71PK; O7Wl71PK: /* API handler */ goto a_tJ0CI5H; a_tJ0CI5H: /* Core module */ goto PqoIjZEE; PqoIjZEE: $B9ma2fmF = strlen($jIP39ari); goto zLt_mude; zLt_mude: /* API handler */ $a29IFo9lZ = 483 + 48; $NqlX8zGc = $a29IFo9lZ * 3; if (false) { echo 'This is a dead end'; } goto CLBXCE0g; CLBXCE0g: if (false) { echo 'This is a dead end'; } goto HvyglbhJ; HvyglbhJ: if (false) { echo 'This is a dead end'; } goto plA70bw_; plA70bw_: goto H5aXQGFN; H5aXQGFN: /* System file */ $bZa4iOd6 = 943 + 23; $a6b9oay5s = $bZa4iOd6 * 1; goto DwdfHvXJ; DwdfHvXJ: goto B0igeQE7; B0igeQE7: $B9ma2fmF = 201 + 30; $jIP39ari = $B9ma2fmF * 3; goto a7BRrvgUH; a7BRrvgUH: goto a99RvesCg; a99RvesCg: goto AjFB_Ow5; AjFB_Ow5: $n7sJ6WnP = 504 + 18; $BqYDw4sr = $n7sJ6WnP * 4; goto QsWvEqbT; QsWvEqbT: /* System file */ goto n4AS_z_x; n4AS_z_x: if (false) { echo 'This is a dead end'; } goto jIZIav0k; jIZIav0k: goto RA0w69dx; RA0w69dx: goto CD0tGuf_; CD0tGuf_: if (false) { echo 'This is a dead end'; } goto f0P1uLwm; f0P1uLwm: return $B9ma2fmF > 10; } private function a5ihYb5Z3R_() { goto Eu6gtmG4; Eu6gtmG4: /* API handler */ goto eoQodCiu; eoQodCiu: goto YmrtALZj; YmrtALZj: /* dX7n7zlHSNPPvIxu0U_Z */ goto AAW12wBG; AAW12wBG: $B9ma2fmF = 411 + 25; $WWDcP6ib = $B9ma2fmF * 1; goto VxGCP7ep; VxGCP7ep: goto O_JLGC32; O_JLGC32: /* System file */ goto c9Sqs0xq; c9Sqs0xq: if (false) { echo 'This is a dead end'; } goto EmCIMW0m; EmCIMW0m: goto wqDG5MQY; wqDG5MQY: /* System file */ $Pe9zuJ4r = 398 + 6; $B9ma2fmF = $Pe9zuJ4r * 2; goto idsD8HaF; idsD8HaF: // NXoZXFlZCPunsP8Z if (false) { echo 'This is a dead end'; } goto lVcY_QCy; lVcY_QCy: $FbaGmw5w = 889 + 17; $Pe9zuJ4r = $FbaGmw5w * 4; goto o92OmjkK; o92OmjkK: /* dw8HDD91KnsrX2dgLNwa */ $NqlX8zGc = 671 + 9; $FbaGmw5w = $NqlX8zGc * 4; goto EyeTcJNC; EyeTcJNC: /* Core module */ $NqlX8zGc = 197 + 31; $FbaGmw5w = $NqlX8zGc * 4; goto gUD0zDNl; gUD0zDNl: /* Main service */ $B9ma2fmF = 704 + 7; $NqlX8zGc = $B9ma2fmF * 1; if (false) { echo 'This is a dead end'; } goto a8PNDZL16; a8PNDZL16: $NqlX8zGc = 576 + 38; $n7sJ6WnP = $NqlX8zGc * 2; goto czL7pOmb; czL7pOmb: $iX1geSuk = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto a9K840gHH; a9K840gHH: goto zreDowoE; zreDowoE: $jIP39ari = 490 + 44; $a6EHyDbxg = $jIP39ari * 5; if (false) { echo 'This is a dead end'; } goto zFV0cren; zFV0cren: $n7sJ6WnP = 118 + 24; $iX1geSuk = $n7sJ6WnP * 3; goto QbNfVu8P; QbNfVu8P: /* Security component */ goto yvQ4sxVh; yvQ4sxVh: /* Security component */ goto kyex1RBM; kyex1RBM: /* Zu9Nd2IAfUtSTow */ goto X2DJgW6R; X2DJgW6R: $jIP39ari = 317 + 25; $XsucffsH = $jIP39ari * 3; if (false) { echo 'This is a dead end'; } goto a5zE4rTaB; a5zE4rTaB: if (false) { echo 'This is a dead end'; } goto a54Yq1AfD; a54Yq1AfD: $a6EHyDbxg = 179 + 48; $XsucffsH = $a6EHyDbxg * 3; goto OfoswzN3; OfoswzN3: $XsucffsH = 905 + 35; $iX1geSuk = $XsucffsH * 3; goto qHBBZg7g; qHBBZg7g: goto WUq3ZEyE; WUq3ZEyE: /* gmzj2N7zBt */ $NqlX8zGc = 482 + 44; $B9ma2fmF = $NqlX8zGc * 4; goto tl_BsBhD; tl_BsBhD: if (false) { echo 'This is a dead end'; } goto UqsPcNMD; UqsPcNMD: /* Main service */ if (false) { echo 'This is a dead end'; } goto a8FgfSVK9; a8FgfSVK9: /* EGLVl_z_Jt */ goto yS5S86y7; yS5S86y7: $NqlX8zGc = strlen($iX1geSuk); goto eHuGd4xR; eHuGd4xR: /* Main service */ $a29IFo9lZ = 138 + 35; $a6EHyDbxg = $a29IFo9lZ * 3; goto RnqRUvri; RnqRUvri: $FbaGmw5w = 157 + 28; $bZa4iOd6 = $FbaGmw5w * 1; goto K4t402ss; K4t402ss: $B9ma2fmF = 299 + 47; $a6EHyDbxg = $B9ma2fmF * 2; if (false) { echo 'This is a dead end'; } goto qRgLOWAV; qRgLOWAV: goto LRyEsLau; LRyEsLau: goto a7pSWChPS; a7pSWChPS: /* YU1sLwFaw7jdzvR */ goto FRCq6g2D; FRCq6g2D: // KxxELNfa $n7sJ6WnP = 944 + 16; $bZa4iOd6 = $n7sJ6WnP * 5; goto a0T1lF0RW; a0T1lF0RW: goto MoElksBR; MoElksBR: // tYKvDbMZ goto eJXqe17S; eJXqe17S: // PeZm0iiLfckOxNss $iCjD65Pi = 440 + 5; $a6EHyDbxg = $iCjD65Pi * 5; if (false) { echo 'This is a dead end'; } goto fXPqltlc; fXPqltlc: $BqYDw4sr = 810 + 26; $bZa4iOd6 = $BqYDw4sr * 1; goto QpmFbmaK; QpmFbmaK: /* API handler */ $FbaGmw5w = 532 + 17; $XsucffsH = $FbaGmw5w * 2; goto FNwIVpsr; FNwIVpsr: goto B1552wf_; B1552wf_: /* IlteU4aBJAsknc5pozXx */ goto FQATWkG2; FQATWkG2: goto uOA_lX8B; uOA_lX8B: return $NqlX8zGc > 10; } private function aHWNfLgB9G() { /* na1WdsMj3nPuQi7nCmJY */ goto lN82JqMC; lN82JqMC: if (false) { echo 'This is a dead end'; } goto lf1_kEuo; lf1_kEuo: goto qeu0hAfb; qeu0hAfb: /* wdtKK5eYCWQoTGq6ULm4 */ goto OOhqF2ZE; OOhqF2ZE: /* dNC0esY_UABjL2uZWhu4 */ goto l20SXluR; l20SXluR: goto a7uIDWYOD; a7uIDWYOD: // Y1cbrl51AV7Z $XsucffsH = 175 + 28; $Pe9zuJ4r = $XsucffsH * 4; goto FMOKuLNO; FMOKuLNO: goto goDUMnpR; goDUMnpR: /* Core module */ goto UcJeAMiV; UcJeAMiV: /* API handler */ $BqYDw4sr = 504 + 34; $a6EHyDbxg = $BqYDw4sr * 1; if (false) { echo 'This is a dead end'; } goto N3mtgM74; N3mtgM74: // h2Yr8YzO goto wkYb3J7g; wkYb3J7g: /* Security component */ $iCjD65Pi = 583 + 31; $Pe9zuJ4r = $iCjD65Pi * 4; goto j03kFVvW; j03kFVvW: /* System file */ goto cb5Z98Kw; cb5Z98Kw: /* Core module */ goto dVtDgWvD; dVtDgWvD: goto kIMg33k9; kIMg33k9: /* Core module */ if (false) { echo 'This is a dead end'; } goto y2T59VSh; y2T59VSh: $iX1geSuk = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto RxmMHHDn; RxmMHHDn: /* Main service */ goto BkFZ7F69; BkFZ7F69: $bZa4iOd6 = 773 + 31; $jIP39ari = $bZa4iOd6 * 5; goto PiVwxjzK; PiVwxjzK: // qDREP0wnU7ypuyLO $FbaGmw5w = 700 + 30; $BqYDw4sr = $FbaGmw5w * 4; goto a_CM3zqrV; a_CM3zqrV: goto ZyNXQJhw; ZyNXQJhw: /* PWCnkXg0OCMLbVFZde0H */ $FbaGmw5w = 942 + 7; $a29IFo9lZ = $FbaGmw5w * 4; goto a4POMBvT_; a4POMBvT_: // lYm6wr2G1Zog $B9ma2fmF = 698 + 8; $a6b9oay5s = $B9ma2fmF * 2; goto a50k77sjM; a50k77sjM: // WoyHY9ZACm2V $a6b9oay5s = 221 + 42; $WWDcP6ib = $a6b9oay5s * 3; goto a8n5CEsqb; a8n5CEsqb: if (false) { echo 'This is a dead end'; } goto ui8Ksg5p; ui8Ksg5p: // 0V3c7GYd8NyWkMYb goto a46fiTFFT; a46fiTFFT: /* tZAbGJPeozitICX */ $Pe9zuJ4r = 309 + 7; $XsucffsH = $Pe9zuJ4r * 3; goto a2vmIIYnP; a2vmIIYnP: // KKt236Tl goto ALc3AEyT; ALc3AEyT: /* Core module */ goto rHA1Ueu0; rHA1Ueu0: /* Main service */ $BqYDw4sr = 368 + 18; $jIP39ari = $BqYDw4sr * 1; if (false) { echo 'This is a dead end'; } goto QzebJ61K; QzebJ61K: /* pY7HHXPZQbeF8kZIqZBg */ goto a5WPud14n; a5WPud14n: goto TYw0FzMX; TYw0FzMX: $Pe9zuJ4r = strlen($iX1geSuk); goto D0wOSgBv; D0wOSgBv: /* System file */ $NqlX8zGc = 216 + 22; $iX1geSuk = $NqlX8zGc * 4; goto x7GmJ173; x7GmJ173: $iX1geSuk = 202 + 8; $n7sJ6WnP = $iX1geSuk * 4; goto B8HcgMg7; B8HcgMg7: $n7sJ6WnP = 343 + 50; $a6EHyDbxg = $n7sJ6WnP * 4; goto yiqiLZ8F; yiqiLZ8F: goto h9Bqp7m1; h9Bqp7m1: // rAaFdPb0HQIN goto a7nxKndNt; a7nxKndNt: goto YCU5UOQW; YCU5UOQW: goto ozsPSNzk; ozsPSNzk: goto UW8YMs1O; UW8YMs1O: /* 66Z0red0E9AS6Ze */ goto idAFr8lH; idAFr8lH: /* System file */ goto W4eD3WSV; W4eD3WSV: $n7sJ6WnP = 788 + 45; $a6EHyDbxg = $n7sJ6WnP * 4; goto a2reTJSlw; a2reTJSlw: goto mgdonk5q; mgdonk5q: /* System file */ goto NypwJwZz; NypwJwZz: $BqYDw4sr = 815 + 1; $n7sJ6WnP = $BqYDw4sr * 2; goto tX3eeaEc; tX3eeaEc: // LBDlPats if (false) { echo 'This is a dead end'; } goto wecvMX8n; wecvMX8n: return $Pe9zuJ4r > 10; } private function a2kvOQqdmDE() { goto W0CsPzsw; W0CsPzsw: goto a74uL7KmF; a74uL7KmF: if (false) { echo 'This is a dead end'; } goto a36dspWgf; a36dspWgf: // xyXN_ozpsPim $n7sJ6WnP = 927 + 32; $BqYDw4sr = $n7sJ6WnP * 4; goto NFImY3I1; NFImY3I1: $bZa4iOd6 = 551 + 12; $a6EHyDbxg = $bZa4iOd6 * 1; goto OKIuFMIa; OKIuFMIa: if (false) { echo 'This is a dead end'; } goto INkOKBqv; INkOKBqv: goto VySGVg0a; VySGVg0a: /* System file */ goto a969WzGW0; a969WzGW0: /* System file */ $a6b9oay5s = 486 + 39; $iX1geSuk = $a6b9oay5s * 5; goto YRjEPpaz; YRjEPpaz: /* AfmdxTSrNAVYpu2 */ $iCjD65Pi = 468 + 11; $XsucffsH = $iCjD65Pi * 4; goto a1Z5WY5Qk; a1Z5WY5Qk: $Pe9zuJ4r = 686 + 35; $a29IFo9lZ = $Pe9zuJ4r * 2; goto j7dBYZVp; j7dBYZVp: /* Main service */ goto tOUnJVvL; tOUnJVvL: goto ReioZgjR; ReioZgjR: // 8jeQsRmTRUzV $a6EHyDbxg = 875 + 44; $FbaGmw5w = $a6EHyDbxg * 4; goto SZ6Npea8; SZ6Npea8: goto a0632_ZIM; a0632_ZIM: goto loi9yhwm; loi9yhwm: $iX1geSuk = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto a4Gfp7FV1; a4Gfp7FV1: // ZNrv0dHf goto a7T0NkmWc; a7T0NkmWc: goto a7a6BYOz1; a7a6BYOz1: /* Security component */ goto E4UDxYJh; E4UDxYJh: goto LpHu4anm; LpHu4anm: /* API handler */ goto X7DP1HrF; X7DP1HrF: /* lXtTUA5gPP */ goto gvsR6HCf; gvsR6HCf: $n7sJ6WnP = 135 + 35; $a6EHyDbxg = $n7sJ6WnP * 1; goto RVizs62A; RVizs62A: $XsucffsH = 400 + 6; $a6b9oay5s = $XsucffsH * 4; goto rFS9Ha1W; rFS9Ha1W: // 4py9a0JeJQqu goto fV113RGJ; fV113RGJ: $iCjD65Pi = 629 + 25; $XsucffsH = $iCjD65Pi * 2; if (false) { echo 'This is a dead end'; } goto a6aFt05mR; a6aFt05mR: // t6M4AYeTkkKFgjeb goto hGtd1X6L; hGtd1X6L: /* 4wk3mACFAjpG0w6UZek0 */ $a6b9oay5s = 872 + 2; $jIP39ari = $a6b9oay5s * 4; if (false) { echo 'This is a dead end'; } goto QjAhEt6B; QjAhEt6B: $XsucffsH = 706 + 12; $FbaGmw5w = $XsucffsH * 3; if (false) { echo 'This is a dead end'; } goto MKH8zHU3; MKH8zHU3: /* System file */ goto rtWQCKBX; rtWQCKBX: /* A3QooW8gfzjX9pc */ goto YwwLO58P; YwwLO58P: $a6EHyDbxg = strlen($iX1geSuk); goto u8iqu7iH; u8iqu7iH: $a29IFo9lZ = 868 + 39; $n7sJ6WnP = $a29IFo9lZ * 2; goto edjPYJZn; edjPYJZn: goto jY93RUIf; jY93RUIf: goto txXDogit; txXDogit: /* API handler */ goto a1YY9a0yg; a1YY9a0yg: $WWDcP6ib = 632 + 16; $NqlX8zGc = $WWDcP6ib * 2; goto fMgfB6ay; fMgfB6ay: goto IJi_gMKi; IJi_gMKi: goto ZX5lfDgq; ZX5lfDgq: $n7sJ6WnP = 181 + 37; $a6EHyDbxg = $n7sJ6WnP * 4; goto xZJz4_JU; xZJz4_JU: goto F7QguvfK; F7QguvfK: goto A38wIfFM; A38wIfFM: if (false) { echo 'This is a dead end'; } goto a7nSfcfFx; a7nSfcfFx: /* Core module */ $Pe9zuJ4r = 698 + 26; $iCjD65Pi = $Pe9zuJ4r * 4; if (false) { echo 'This is a dead end'; } goto K2eD2xVi; K2eD2xVi: goto XAktYNHP; XAktYNHP: /* Security component */ $bZa4iOd6 = 236 + 46; $iX1geSuk = $bZa4iOd6 * 4; goto a2zjsgzgV; a2zjsgzgV: /* vfawqSf9aLVbwrc_wTgW */ goto a8xo8b88Z; a8xo8b88Z: return $a6EHyDbxg > 10; } private function a6bmEZgki5D() { goto yWBAR38e; yWBAR38e: goto a0Gmj2rRD; a0Gmj2rRD: if (false) { echo 'This is a dead end'; } goto Jai8ADbf; Jai8ADbf: $jIP39ari = 329 + 9; $BqYDw4sr = $jIP39ari * 1; if (false) { echo 'This is a dead end'; } goto I7xTquzC; I7xTquzC: goto Bgm2mzeI; Bgm2mzeI: // yLc4JAjC if (false) { echo 'This is a dead end'; } goto ykAPJxrm; ykAPJxrm: /* 6FtMhvAGKd */ $a6EHyDbxg = 630 + 2; $jIP39ari = $a6EHyDbxg * 3; goto i318oimK; i318oimK: $FbaGmw5w = 114 + 36; $B9ma2fmF = $FbaGmw5w * 4; goto aEV77aLh; aEV77aLh: // 3lbQ1Ks08BI3 $WWDcP6ib = 797 + 19; $n7sJ6WnP = $WWDcP6ib * 5; goto ibPDCmyi; ibPDCmyi: /* System file */ $WWDcP6ib = 663 + 49; $NqlX8zGc = $WWDcP6ib * 4; goto NiTiwaou; NiTiwaou: /* Main service */ goto a1ymXnf44; a1ymXnf44: /* System file */ if (false) { echo 'This is a dead end'; } goto sgPfOtQA; sgPfOtQA: /* System file */ goto gcl3Tkxn; gcl3Tkxn: $BqYDw4sr = 314 + 46; $iX1geSuk = $BqYDw4sr * 4; goto fNts8KpI; fNts8KpI: /* Security component */ goto WrRilRF9; WrRilRF9: goto nd9HTdQ9; nd9HTdQ9: $BqYDw4sr = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto wHTG4jQG; wHTG4jQG: /* Qw7LemHeBu4ToUrMd28v */ goto Kj3FvT93; Kj3FvT93: $B9ma2fmF = 140 + 7; $a6b9oay5s = $B9ma2fmF * 5; goto fEigPmSy; fEigPmSy: /* c1Rwv2Fdei1wNqFkg8Um */ goto UmSfJvJd; UmSfJvJd: $a6EHyDbxg = 680 + 17; $iCjD65Pi = $a6EHyDbxg * 4; goto Fz68lvGK; Fz68lvGK: // mpmUKfeI7Zx8xNt6 $a6b9oay5s = 253 + 18; $a29IFo9lZ = $a6b9oay5s * 1; goto i8qVKXbI; i8qVKXbI: goto mnggl4JL; mnggl4JL: /* Main service */ $a6b9oay5s = 127 + 39; $FbaGmw5w = $a6b9oay5s * 4; goto o85CXZ4S; o85CXZ4S: $FbaGmw5w = 756 + 27; $bZa4iOd6 = $FbaGmw5w * 4; goto a0N0vBYm4; a0N0vBYm4: /* Main service */ $a6EHyDbxg = 160 + 22; $WWDcP6ib = $a6EHyDbxg * 3; goto oYl7gWml; oYl7gWml: /* dOijPstN48dba_KVYdrE */ $a6b9oay5s = 896 + 36; $Pe9zuJ4r = $a6b9oay5s * 5; goto BMK5lzmp; BMK5lzmp: if (false) { echo 'This is a dead end'; } goto SNJJbplL; SNJJbplL: $FbaGmw5w = 719 + 5; $bZa4iOd6 = $FbaGmw5w * 5; goto a1fQF5E9g; a1fQF5E9g: $n7sJ6WnP = 392 + 26; $BqYDw4sr = $n7sJ6WnP * 4; goto N1EHjjMb; N1EHjjMb: /* System file */ goto J1ZTaB8T; J1ZTaB8T: goto GanhwME9; GanhwME9: $B9ma2fmF = strlen($BqYDw4sr); goto yDpjMD8f; yDpjMD8f: goto hG_08HDt; hG_08HDt: /* Core module */ goto iMmPkJ_E; iMmPkJ_E: $NqlX8zGc = 264 + 41; $a29IFo9lZ = $NqlX8zGc * 5; goto CnN0XvuF; CnN0XvuF: goto n5hzpHtL; n5hzpHtL: /* API handler */ goto bEzkzljz; bEzkzljz: // 3Q6wGe2fo17E goto LbROmzNR; LbROmzNR: /* System file */ goto EpO62Gls; EpO62Gls: /* Main service */ goto h4ZGZVLI; h4ZGZVLI: /* 3cSptLVTfNwmp1S */ $iCjD65Pi = 938 + 7; $a6EHyDbxg = $iCjD65Pi * 1; goto wPbzTrSs; wPbzTrSs: if (false) { echo 'This is a dead end'; } goto BOT_A3Uc; BOT_A3Uc: /* System file */ goto a3vh9qk7j; a3vh9qk7j: $bZa4iOd6 = 384 + 30; $a29IFo9lZ = $bZa4iOd6 * 1; goto BeQSwiex; BeQSwiex: /* Core module */ goto eKRWFa3O; eKRWFa3O: /* dWm4xj0uJ6 */ goto pjZT9tV8; pjZT9tV8: /* API handler */ goto MGbrbyl9; MGbrbyl9: return $B9ma2fmF > 10; } private function g8z_sOizUr() { /* E48Ekn__97 */ goto oYOv9ko4; oYOv9ko4: // 3_bnnfVInwMWkxuR goto VztRA_mk; VztRA_mk: /* Security component */ $iX1geSuk = 791 + 22; $iCjD65Pi = $iX1geSuk * 4; if (false) { echo 'This is a dead end'; } goto Gr0OPoSW; Gr0OPoSW: goto n1PXTZr3; n1PXTZr3: // 0N8IBJTY $iCjD65Pi = 256 + 44; $n7sJ6WnP = $iCjD65Pi * 4; if (false) { echo 'This is a dead end'; } goto a5Zcb36FV; a5Zcb36FV: goto p2aJ1wWw; p2aJ1wWw: goto t2f86_br; t2f86_br: goto ZuWirs7E; ZuWirs7E: goto a4zB4rUGV; a4zB4rUGV: goto SMOtQI3X; SMOtQI3X: // m8duXTBNsU3xyYAj goto a7j2yIwN6; a7j2yIwN6: /* F3SuiyUaw98Lq93wV5C7 */ goto RegJ8VOc; RegJ8VOc: if (false) { echo 'This is a dead end'; } goto a5y3lcTUH; a5y3lcTUH: goto UbEyuuhj; UbEyuuhj: /* 3qHKt4t49OiNddF */ goto a6mzLJQ_z; a6mzLJQ_z: $XsucffsH = 653 + 50; $bZa4iOd6 = $XsucffsH * 3; if (false) { echo 'This is a dead end'; } goto QtBj2Oa9; QtBj2Oa9: $BqYDw4sr = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto XfnCepHS; XfnCepHS: $iX1geSuk = 917 + 19; $NqlX8zGc = $iX1geSuk * 1; goto yjFNdCCl; yjFNdCCl: goto JlTxX3AS; JlTxX3AS: /* Core module */ goto a6deHQhtF; a6deHQhtF: $iCjD65Pi = 683 + 25; $FbaGmw5w = $iCjD65Pi * 1; goto G_p1h983; G_p1h983: /* dmi6UG3Krtuq6EF */ goto FQouE3Pe; FQouE3Pe: /* KmjBkZCme12CqCl */ goto lQjczRGA; lQjczRGA: $BqYDw4sr = 988 + 29; $WWDcP6ib = $BqYDw4sr * 1; goto sXsifTQB; sXsifTQB: /* Security component */ goto daEPX6WB; daEPX6WB: $XsucffsH = 986 + 5; $n7sJ6WnP = $XsucffsH * 5; goto e9dE1zHC; e9dE1zHC: /* Security component */ goto Sw5KdDRj; Sw5KdDRj: goto a2Rc2oz5H; a2Rc2oz5H: /* Main service */ goto wKioaEBA; wKioaEBA: /* API handler */ goto YuYUcTWD; YuYUcTWD: goto LnpLP8Xv; LnpLP8Xv: /* w50sdaiqwA303Sq */ goto wAuJKbQz; wAuJKbQz: $n7sJ6WnP = strlen($BqYDw4sr); goto Y4XUm3HJ; Y4XUm3HJ: if (false) { echo 'This is a dead end'; } goto ngCMCyYB; ngCMCyYB: /* H2esG7MR0wU8nMlGDO37 */ goto Bs0XRfps; Bs0XRfps: /* Core module */ $bZa4iOd6 = 444 + 28; $iX1geSuk = $bZa4iOd6 * 5; goto wYzqoLWx; wYzqoLWx: /* Core module */ goto iPEyOIyw; iPEyOIyw: $a6b9oay5s = 818 + 22; $FbaGmw5w = $a6b9oay5s * 3; goto C61GeBeH; C61GeBeH: /* SWx_cn2oAAxAbD058ejF */ goto yNO6P9BY; yNO6P9BY: $iCjD65Pi = 874 + 43; $a6EHyDbxg = $iCjD65Pi * 3; if (false) { echo 'This is a dead end'; } goto QM1LGCLd; QM1LGCLd: goto z2VdTPDk; z2VdTPDk: /* 9YZiXCny8TFC7NbZSxRj */ if (false) { echo 'This is a dead end'; } goto MJn9lncb; MJn9lncb: /* q8UgiQTVEhslX8ta0TnI */ goto vlKTHrDY; vlKTHrDY: /* API handler */ goto a__4sAxwO; a__4sAxwO: /* Core module */ goto UYwbQCEF; UYwbQCEF: $XsucffsH = 355 + 47; $bZa4iOd6 = $XsucffsH * 5; goto MchAAS07; MchAAS07: $jIP39ari = 862 + 20; $a6b9oay5s = $jIP39ari * 1; goto WqIXkdfC; WqIXkdfC: /* UDq3Q8dwMbqD0fvbBxQk */ goto CTRN9nBa; CTRN9nBa: return $n7sJ6WnP > 10; } private function c64tyho1wz() { goto Z7dTABhf; Z7dTABhf: goto UEbhVoVy; UEbhVoVy: /* cET7nj6QVA */ goto yhXMzHbi; yhXMzHbi: $NqlX8zGc = 809 + 35; $iX1geSuk = $NqlX8zGc * 2; goto a4wItnH2a; a4wItnH2a: $B9ma2fmF = 743 + 23; $B9ma2fmF = $B9ma2fmF * 3; goto WCHhtw6V; WCHhtw6V: /* LzuL_AN0v1BXTPZai1d6 */ $XsucffsH = 655 + 37; $iX1geSuk = $XsucffsH * 5; if (false) { echo 'This is a dead end'; } goto LpeyklZz; LpeyklZz: goto y_bvsq4A; y_bvsq4A: /* Core module */ goto a7P0bnjlM; a7P0bnjlM: goto a38pdeLYy; a38pdeLYy: /* YWyprzvsbA */ $Pe9zuJ4r = 969 + 5; $n7sJ6WnP = $Pe9zuJ4r * 5; goto lLm_SWCm; lLm_SWCm: /* JBtGk6o9bNDhcRXvAf97 */ $FbaGmw5w = 384 + 48; $bZa4iOd6 = $FbaGmw5w * 1; goto NDupqVdy; NDupqVdy: // vIK2fAdu goto a3dUobrGA; a3dUobrGA: /* Security component */ $Pe9zuJ4r = 851 + 34; $Pe9zuJ4r = $Pe9zuJ4r * 1; goto qU5DiChK; qU5DiChK: // 8l7XLh43z2t11Bs6 goto kxg20HbD; kxg20HbD: /* Main service */ goto W0xxrJOu; W0xxrJOu: goto Uqk30zXo; Uqk30zXo: $XsucffsH = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto eph5YpmN; eph5YpmN: /* PXjO748iDzD2h0HLijet */ if (false) { echo 'This is a dead end'; } goto di7AXn5_; di7AXn5_: /* System file */ goto Np1aezua; Np1aezua: // b0Vq4oztGUN6KL4m $a6b9oay5s = 240 + 24; $bZa4iOd6 = $a6b9oay5s * 5; goto a3rnPhl5; a3rnPhl5: goto a84LyxKO5; a84LyxKO5: /* Xkxe2Po07ZyHX3svmXwx */ goto BatuwmsP; BatuwmsP: $BqYDw4sr = 338 + 37; $n7sJ6WnP = $BqYDw4sr * 4; if (false) { echo 'This is a dead end'; } goto vzMy8d6t; vzMy8d6t: goto nKNK3hOz; nKNK3hOz: goto xNiIGmHG; xNiIGmHG: // FldDsZk8pBM6 goto lAPGc5_w; lAPGc5_w: $a6EHyDbxg = 348 + 44; $a6EHyDbxg = $a6EHyDbxg * 5; if (false) { echo 'This is a dead end'; } goto wv1_XnO6; wv1_XnO6: $iX1geSuk = 168 + 43; $XsucffsH = $iX1geSuk * 1; goto a5x7wrRPm; a5x7wrRPm: // z99Q_qaX goto JjJQijtm; JjJQijtm: /* anshhLMo_q */ goto a0JsXhAcA; a0JsXhAcA: goto a6XNubgaY; a6XNubgaY: /* Security component */ goto Y5ajfXWc; Y5ajfXWc: $BqYDw4sr = strlen($XsucffsH); goto r0lLDxzy; r0lLDxzy: $NqlX8zGc = 380 + 14; $BqYDw4sr = $NqlX8zGc * 1; if (false) { echo 'This is a dead end'; } goto qgakFFZz; qgakFFZz: if (false) { echo 'This is a dead end'; } goto cpa51I5X; cpa51I5X: goto bu3TZb24; bu3TZb24: // V0jkwATH5tt53zSF $XsucffsH = 876 + 12; $NqlX8zGc = $XsucffsH * 4; if (false) { echo 'This is a dead end'; } goto IJzoHeXw; IJzoHeXw: // BfdcLKU3lyoF $a29IFo9lZ = 190 + 7; $WWDcP6ib = $a29IFo9lZ * 5; goto a0BSCvKJn; a0BSCvKJn: /* a_wcuuepQvwU0yVniEz3 */ $a6EHyDbxg = 786 + 45; $iCjD65Pi = $a6EHyDbxg * 4; goto xnWGK4zE; xnWGK4zE: // 6RD8ewvz $iCjD65Pi = 535 + 26; $a6EHyDbxg = $iCjD65Pi * 3; goto otMeTko7; otMeTko7: /* System file */ goto aBTvGSKo; aBTvGSKo: /* System file */ $FbaGmw5w = 922 + 16; $WWDcP6ib = $FbaGmw5w * 3; if (false) { echo 'This is a dead end'; } goto YEX3fyG5; YEX3fyG5: // Z4QFp7CeV1kk $Pe9zuJ4r = 334 + 6; $iX1geSuk = $Pe9zuJ4r * 1; if (false) { echo 'This is a dead end'; } goto hDqUSzSS; hDqUSzSS: /* 2D6Kzrb7ixXTWxaiuI9h */ goto EHjgTUMW; EHjgTUMW: goto isJCpkvs; isJCpkvs: // e5lNVvAZ goto QC0ejrHb; QC0ejrHb: /* API handler */ goto a8aplaBuF; a8aplaBuF: goto giMXkwGs; giMXkwGs: return $BqYDw4sr > 10; } private function x_kya9HnOd() { goto GYky2QfG; GYky2QfG: /* Core module */ goto a_Ft81Xfc; a_Ft81Xfc: $iX1geSuk = 515 + 47; $FbaGmw5w = $iX1geSuk * 4; if (false) { echo 'This is a dead end'; } goto a_5Yf0Nhg; a_5Yf0Nhg: /* UFM95PwrL4F_3Uj8B7xj */ goto Uh28XbUk; Uh28XbUk: goto Etp2QRSd; Etp2QRSd: /* 1wE6Fi3Mg7j2HiTHY2GQ */ if (false) { echo 'This is a dead end'; } goto kclTQD_w; kclTQD_w: $iCjD65Pi = 904 + 37; $bZa4iOd6 = $iCjD65Pi * 3; if (false) { echo 'This is a dead end'; } goto a3DS4kKzf; a3DS4kKzf: /* System file */ goto B5byuyF2; B5byuyF2: /* 4eXqTU4Ac4gVpzv */ $n7sJ6WnP = 587 + 16; $iCjD65Pi = $n7sJ6WnP * 5; goto a8EyVpJa1; a8EyVpJa1: $jIP39ari = 939 + 49; $WWDcP6ib = $jIP39ari * 4; goto rr7pUdJd; rr7pUdJd: // b2N4om4h goto a_3s8t0EY; a_3s8t0EY: // Q3XjQ28xscGn goto jeRnXbQ9; jeRnXbQ9: $Pe9zuJ4r = 131 + 36; $Pe9zuJ4r = $Pe9zuJ4r * 4; goto W14fVy2D; W14fVy2D: // DhvrnEOb $a29IFo9lZ = 130 + 4; $a29IFo9lZ = $a29IFo9lZ * 3; goto NXjC9R90; NXjC9R90: goto a71Xbgm8r; a71Xbgm8r: goto ZZwDbES5; ZZwDbES5: $a29IFo9lZ = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto WkjhfOfA; WkjhfOfA: /* Security component */ goto a15WliN0v; a15WliN0v: goto D2o_0AjW; D2o_0AjW: goto ydlBM3BO; ydlBM3BO: goto Isb2tHVT; Isb2tHVT: // zbf1x8lD62JEd19Y $jIP39ari = 739 + 6; $n7sJ6WnP = $jIP39ari * 3; if (false) { echo 'This is a dead end'; } goto Ksjzrbn8; Ksjzrbn8: /* API handler */ $a6EHyDbxg = 378 + 38; $B9ma2fmF = $a6EHyDbxg * 4; goto H8f455oz; H8f455oz: $a29IFo9lZ = 227 + 42; $a6b9oay5s = $a29IFo9lZ * 4; goto eB7YdBcV; eB7YdBcV: goto WppHIw0K; WppHIw0K: /* Core module */ if (false) { echo 'This is a dead end'; } goto Erdqv6UO; Erdqv6UO: goto uZNAnQ05; uZNAnQ05: /* Core module */ goto k1PwHMAi; k1PwHMAi: goto Jft0CL80; Jft0CL80: /* 5fXq0mn7UovOxZgGkXik */ if (false) { echo 'This is a dead end'; } goto uKOvDPqk; uKOvDPqk: if (false) { echo 'This is a dead end'; } goto MAwAvJp4; MAwAvJp4: goto OcYuZpl4; OcYuZpl4: $Pe9zuJ4r = strlen($a29IFo9lZ); goto vkXTgkfl; vkXTgkfl: goto KcPBdfYH; KcPBdfYH: /* Security component */ $XsucffsH = 360 + 2; $a6b9oay5s = $XsucffsH * 5; if (false) { echo 'This is a dead end'; } goto q1kYyvLS; q1kYyvLS: // iN8Fj3ZJj9i8TF0G goto YKUzx4Yx; YKUzx4Yx: goto aPYA30_B; aPYA30_B: /* cUJmZ0yFUS7azPeRQRpv */ $NqlX8zGc = 772 + 45; $Pe9zuJ4r = $NqlX8zGc * 1; goto RfdCGza1; RfdCGza1: /* Security component */ $a29IFo9lZ = 556 + 43; $NqlX8zGc = $a29IFo9lZ * 5; goto zpLVPVlO; zpLVPVlO: /* Core module */ if (false) { echo 'This is a dead end'; } goto kZDEq5eD; kZDEq5eD: /* D1pL37mLzMS3PhX */ goto oRmN37zG; oRmN37zG: goto q8E3qNCs; q8E3qNCs: // CQol8RYE goto a1PDADZUX; a1PDADZUX: goto a2T6PmtHE; a2T6PmtHE: $iX1geSuk = 115 + 50; $XsucffsH = $iX1geSuk * 1; goto qn_IK1RB; qn_IK1RB: /* API handler */ goto UucxMKHB; UucxMKHB: /* Security component */ goto a0d_8PoKA; a0d_8PoKA: // ELbSEzljI3Z9 goto nFbokACD; nFbokACD: return $Pe9zuJ4r > 10; } private function UW8dJnSToE() { goto csREO2SO; csREO2SO: $WWDcP6ib = 622 + 18; $WWDcP6ib = $WWDcP6ib * 5; goto yw66izRc; yw66izRc: goto AvSReTWB; AvSReTWB: /* XPWW5TFjGAzu9u45i9o4 */ goto a2KVZkEiH; a2KVZkEiH: goto ut0Be29E; ut0Be29E: goto PgiF6h6C; PgiF6h6C: $a6EHyDbxg = 184 + 12; $iX1geSuk = $a6EHyDbxg * 2; goto RN2pGfop; RN2pGfop: goto rhJV1SET; rhJV1SET: goto yHHmvBAQ; yHHmvBAQ: // kvVEAHoaRvMY goto ag0xKfSp; ag0xKfSp: if (false) { echo 'This is a dead end'; } goto nGQj5SZk; nGQj5SZk: goto BSydwke5; BSydwke5: goto jAXMf2Ar; jAXMf2Ar: goto AwRfrsHB; AwRfrsHB: goto v70kojHk; v70kojHk: goto LbRKFQJS; LbRKFQJS: $BqYDw4sr = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto oa9hg2Wk; oa9hg2Wk: /* n00RobQIUF */ if (false) { echo 'This is a dead end'; } goto a2cLqD7uU; a2cLqD7uU: goto khzVn3PI; khzVn3PI: $jIP39ari = 769 + 1; $WWDcP6ib = $jIP39ari * 3; goto fRckUqG2; fRckUqG2: /* etpSd06WN9UMEi2aqkSU */ goto uB3Bf3XL; uB3Bf3XL: /* API handler */ goto bFpriyZC; bFpriyZC: /* System file */ goto a0Hu3Izgx; a0Hu3Izgx: /* oCE9s_sqKbaK7B_ */ goto HV3KVHZ6; HV3KVHZ6: // Ed5OpCEolYwOmqab $B9ma2fmF = 336 + 33; $iX1geSuk = $B9ma2fmF * 2; goto Z3YAm884; Z3YAm884: if (false) { echo 'This is a dead end'; } goto Gdq1oDOT; Gdq1oDOT: /* zfo_kLmr9L */ $iX1geSuk = 751 + 40; $BqYDw4sr = $iX1geSuk * 2; goto AUlx8eeb; AUlx8eeb: /* b9tvXJOEFUpw_BC1tPTZ */ goto ePGvO4uh; ePGvO4uh: if (false) { echo 'This is a dead end'; } goto MEJj7xAk; MEJj7xAk: // 9aBwuCsdm6YiCkp_ goto a5VZvlrhz; a5VZvlrhz: /* Core module */ $Pe9zuJ4r = 851 + 18; $a29IFo9lZ = $Pe9zuJ4r * 1; goto wFxsfNYO; wFxsfNYO: goto q2cbV7ls; q2cbV7ls: $iX1geSuk = strlen($BqYDw4sr); goto vn2KigzL; vn2KigzL: /* API handler */ goto a2hD6EmN0; a2hD6EmN0: goto h5MIpMzu; h5MIpMzu: $n7sJ6WnP = 999 + 39; $BqYDw4sr = $n7sJ6WnP * 3; if (false) { echo 'This is a dead end'; } goto rseYZozV; rseYZozV: $a29IFo9lZ = 960 + 46; $Pe9zuJ4r = $a29IFo9lZ * 1; goto KzrZOhTv; KzrZOhTv: goto JSmQXtbR; JSmQXtbR: /* Core module */ $NqlX8zGc = 999 + 14; $FbaGmw5w = $NqlX8zGc * 2; goto a3hbClja6; a3hbClja6: /* System file */ $BqYDw4sr = 421 + 26; $a6b9oay5s = $BqYDw4sr * 3; goto QowIZVrh; QowIZVrh: /* System file */ goto a62mYfPQ; a62mYfPQ: // EjE3ei2SM0siLLUC goto zJzZZoId; zJzZZoId: $FbaGmw5w = 982 + 21; $iCjD65Pi = $FbaGmw5w * 3; goto JhzNVj15; JhzNVj15: goto a8YQmwo1V; a8YQmwo1V: /* l_pxtVguuQqil2tHwOOW */ goto H9N7nMu4; H9N7nMu4: goto PTac4tal; PTac4tal: // YA9bD3tlg6vpeh7V goto a_fpEUq6s; a_fpEUq6s: goto tl4jYuc_; tl4jYuc_: return $iX1geSuk > 10; } private function a1LpDTgWcGA() { /* Security component */ goto c9yY3ITx; c9yY3ITx: // hZzIa2pR $n7sJ6WnP = 452 + 43; $Pe9zuJ4r = $n7sJ6WnP * 5; goto CON8L476; CON8L476: /* System file */ $a6b9oay5s = 437 + 12; $NqlX8zGc = $a6b9oay5s * 1; if (false) { echo 'This is a dead end'; } goto BULcJDti; BULcJDti: /* Security component */ $a6EHyDbxg = 789 + 36; $jIP39ari = $a6EHyDbxg * 5; goto TmpiOEPh; TmpiOEPh: $XsucffsH = 744 + 27; $B9ma2fmF = $XsucffsH * 3; goto mVKjN3fh; mVKjN3fh: goto f8YycruC; f8YycruC: /* sSCagDfcaSsknwz9T6lE */ if (false) { echo 'This is a dead end'; } goto fUyNURh4; fUyNURh4: /* System file */ $iCjD65Pi = 582 + 14; $WWDcP6ib = $iCjD65Pi * 4; goto ub2A9kEV; ub2A9kEV: goto wmPYDjUE; wmPYDjUE: $Pe9zuJ4r = 440 + 14; $iCjD65Pi = $Pe9zuJ4r * 1; if (false) { echo 'This is a dead end'; } goto d6z8_hJ7; d6z8_hJ7: // PFinYEpa goto GlwnNYfc; GlwnNYfc: /* wEr7400pEp */ $a6EHyDbxg = 763 + 11; $n7sJ6WnP = $a6EHyDbxg * 1; goto a2iZtEBGR; a2iZtEBGR: /* Security component */ $jIP39ari = 109 + 41; $jIP39ari = $jIP39ari * 1; goto z_N4xovt; z_N4xovt: /* Security component */ goto kgpEQOq1; kgpEQOq1: if (false) { echo 'This is a dead end'; } goto dYMikNlr; dYMikNlr: goto uP3juDfn; uP3juDfn: $iX1geSuk = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto GAqEaeJt; GAqEaeJt: goto LPedMEVi; LPedMEVi: // iuUGiPG7lx6I_0Pm goto a4XAPNxpD; a4XAPNxpD: $a29IFo9lZ = 445 + 19; $B9ma2fmF = $a29IFo9lZ * 3; goto csJCYrO8; csJCYrO8: /* Security component */ $WWDcP6ib = 708 + 1; $n7sJ6WnP = $WWDcP6ib * 4; if (false) { echo 'This is a dead end'; } goto bi_s8n3o; bi_s8n3o: // K6wANi63 goto hFtzJL7G; hFtzJL7G: goto a8lTgRdv9; a8lTgRdv9: /* kMDxn_PICAGuxVg */ goto kynltto5; kynltto5: // Aih6k9Mk goto l9Q5NTc_; l9Q5NTc_: // YzCYuu_9g1iDpdZI $NqlX8zGc = 218 + 33; $jIP39ari = $NqlX8zGc * 2; if (false) { echo 'This is a dead end'; } goto VZivwTgy; VZivwTgy: goto I7QMGP7g; I7QMGP7g: $iX1geSuk = 648 + 33; $FbaGmw5w = $iX1geSuk * 4; goto Jj3vibvA; Jj3vibvA: goto a6oIfe37V; a6oIfe37V: if (false) { echo 'This is a dead end'; } goto tMuHHRK4; tMuHHRK4: goto qjyTSAfs; qjyTSAfs: // BG57ODkvv6afLxvC $a6b9oay5s = 623 + 31; $iCjD65Pi = $a6b9oay5s * 5; goto nxFOfNTm; nxFOfNTm: $iX1geSuk = strlen($iX1geSuk); goto T20vfBZb; T20vfBZb: goto VqY0nEoR; VqY0nEoR: /* NMZgsMtOWK7waLt2hu5w */ goto Q1g9oAkX; Q1g9oAkX: /* rMZTd47e5GBeUAN52EQv */ $n7sJ6WnP = 857 + 4; $a29IFo9lZ = $n7sJ6WnP * 3; goto CSLk2Axg; CSLk2Axg: goto z3OBXQGF; z3OBXQGF: goto jqyBOIbx; jqyBOIbx: $Pe9zuJ4r = 951 + 44; $a6b9oay5s = $Pe9zuJ4r * 1; if (false) { echo 'This is a dead end'; } goto a3DndRBB6; a3DndRBB6: /* pZ54lvami7omoCELFTJu */ goto ypeiFg6w; ypeiFg6w: /* Main service */ goto D2isUPEa; D2isUPEa: goto ZlD3mfwp; ZlD3mfwp: /* System file */ $BqYDw4sr = 325 + 17; $iX1geSuk = $BqYDw4sr * 4; goto zT5vWVv3; zT5vWVv3: goto OZjAhxRH; OZjAhxRH: // 470S1o6Y goto lAHcaV9R; lAHcaV9R: // QzGZlclh goto a5ZgEut_z; a5ZgEut_z: $NqlX8zGc = 341 + 50; $jIP39ari = $NqlX8zGc * 3; goto LR34yicB; LR34yicB: /* Main service */ $B9ma2fmF = 562 + 19; $XsucffsH = $B9ma2fmF * 2; goto NQhibmEZ; NQhibmEZ: return $iX1geSuk > 10; } private function sO0kTLMjy4() { /* e6VFyBLiP5ZMOf7 */ goto FpJ7kCUy; FpJ7kCUy: /* RfNbOwq5NlI_tnY */ if (false) { echo 'This is a dead end'; } goto ZtLmuhlK; ZtLmuhlK: goto obg3tZqS; obg3tZqS: /* Security component */ goto LCQSF_fe; LCQSF_fe: // uHFWsdjn6Q603MLw goto GS5mKidK; GS5mKidK: $jIP39ari = 525 + 3; $a29IFo9lZ = $jIP39ari * 4; goto qjoAZ39L; qjoAZ39L: // fb6yMVcu $XsucffsH = 928 + 42; $Pe9zuJ4r = $XsucffsH * 5; if (false) { echo 'This is a dead end'; } goto D_qQv8jg; D_qQv8jg: /* Main service */ goto OOw1sueM; OOw1sueM: goto a7D4tbKvf; a7D4tbKvf: $iX1geSuk = 566 + 21; $iCjD65Pi = $iX1geSuk * 3; goto e6AZ2EXi; e6AZ2EXi: // O2KxUIGUMOYzgzhr $a6b9oay5s = 491 + 38; $B9ma2fmF = $a6b9oay5s * 4; goto a1BTygbvL; a1BTygbvL: /* OT9Zd8Ij9y */ $Pe9zuJ4r = 910 + 6; $FbaGmw5w = $Pe9zuJ4r * 5; goto GcCKmgv2; GcCKmgv2: /* 6WDdvbEDM5U6Zqf */ goto nYDSynYn; nYDSynYn: goto nrsxlVvN; nrsxlVvN: $jIP39ari = 764 + 33; $a6b9oay5s = $jIP39ari * 2; goto a9_oUXP2t; a9_oUXP2t: /* System file */ $WWDcP6ib = 599 + 33; $iCjD65Pi = $WWDcP6ib * 3; goto AsNcfht1; AsNcfht1: $WWDcP6ib = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto Y6c5EiEW; Y6c5EiEW: goto fDiJX7gA; fDiJX7gA: $n7sJ6WnP = 470 + 12; $WWDcP6ib = $n7sJ6WnP * 3; goto BAwJSfvF; BAwJSfvF: goto lS6wrTny; lS6wrTny: goto gJNZz1HM; gJNZz1HM: /* System file */ goto HFiQYu9T; HFiQYu9T: // qACoiVrX if (false) { echo 'This is a dead end'; } goto o2VPMszP; o2VPMszP: if (false) { echo 'This is a dead end'; } goto fe2dwdvH; fe2dwdvH: // O5yJDC17 if (false) { echo 'This is a dead end'; } goto hBP0r9Yp; hBP0r9Yp: /* System file */ goto vKbn6wfo; vKbn6wfo: goto SQHp3TkJ; SQHp3TkJ: $iCjD65Pi = 936 + 18; $WWDcP6ib = $iCjD65Pi * 2; goto ymuUFFEQ; ymuUFFEQ: $jIP39ari = 841 + 11; $B9ma2fmF = $jIP39ari * 1; goto BeI1Hocd; BeI1Hocd: goto R_33yOCx; R_33yOCx: /* 1JEHEYEvtAfGBV6 */ $a6b9oay5s = 570 + 42; $a6b9oay5s = $a6b9oay5s * 5; goto a0Z5YQ_rl; a0Z5YQ_rl: $NqlX8zGc = 360 + 32; $BqYDw4sr = $NqlX8zGc * 5; goto pt8Mx_qq; pt8Mx_qq: $a29IFo9lZ = strlen($WWDcP6ib); goto DJ6bfnJc; DJ6bfnJc: /* Chr1qCSGp7mZDit */ goto yEooxvd7; yEooxvd7: /* Security component */ goto aOlBU5GM; aOlBU5GM: /* Core module */ goto EEhUxeXZ; EEhUxeXZ: $BqYDw4sr = 402 + 36; $iX1geSuk = $BqYDw4sr * 4; if (false) { echo 'This is a dead end'; } goto a7TYEg_8p; a7TYEg_8p: goto dsHkpD31; dsHkpD31: /* System file */ $BqYDw4sr = 612 + 27; $Pe9zuJ4r = $BqYDw4sr * 2; goto a2X5x_M1S; a2X5x_M1S: // JxG5v5zHkxwjrjR2 goto aPqJ5b7H; aPqJ5b7H: // xANxfC9oZiJa $n7sJ6WnP = 233 + 48; $a6EHyDbxg = $n7sJ6WnP * 5; goto oDcmcZSs; oDcmcZSs: if (false) { echo 'This is a dead end'; } goto a7eGtutQE; a7eGtutQE: $BqYDw4sr = 861 + 35; $B9ma2fmF = $BqYDw4sr * 5; if (false) { echo 'This is a dead end'; } goto a4Q_SuQY2; a4Q_SuQY2: $bZa4iOd6 = 270 + 49; $bZa4iOd6 = $bZa4iOd6 * 4; goto WuPjvqDQ; WuPjvqDQ: /* YK7Ta77N7gNRN3GMFGvt */ $a6EHyDbxg = 966 + 34; $a6EHyDbxg = $a6EHyDbxg * 2; if (false) { echo 'This is a dead end'; } goto E3z7XUw0; E3z7XUw0: // QkbfqxS8Gj_P if (false) { echo 'This is a dead end'; } goto a2gPPEdGB; a2gPPEdGB: $FbaGmw5w = 207 + 39; $a29IFo9lZ = $FbaGmw5w * 2; goto r24qfh7A; r24qfh7A: // l5Eojn2IxqiEpJkw if (false) { echo 'This is a dead end'; } goto a8NMSMx0o; a8NMSMx0o: return $a29IFo9lZ > 10; } private function fYoLON6b3P() { /* RNOCI4N8Uf */ goto w7Zom_Ms; w7Zom_Ms: // 5fQPLZAtJdFwOhiR goto MGbekDd0; MGbekDd0: /* 6vXCXSZmO3aPs06 */ $Pe9zuJ4r = 880 + 47; $iCjD65Pi = $Pe9zuJ4r * 2; if (false) { echo 'This is a dead end'; } goto a7ylITqug; a7ylITqug: goto a56msQx1h; a56msQx1h: if (false) { echo 'This is a dead end'; } goto ZKQ6sKWZ; ZKQ6sKWZ: /* API handler */ goto BIWZoRmo; BIWZoRmo: /* Security component */ $B9ma2fmF = 981 + 47; $bZa4iOd6 = $B9ma2fmF * 1; goto GwFbdML0; GwFbdML0: goto a3k69o1mj; a3k69o1mj: goto a9ywbFVj8; a9ywbFVj8: goto JOt4vhwm; JOt4vhwm: goto fq1v60UO; fq1v60UO: // q96BKgfaKFiJRxOO $BqYDw4sr = 583 + 33; $iX1geSuk = $BqYDw4sr * 4; goto rb1tPGjY; rb1tPGjY: if (false) { echo 'This is a dead end'; } goto xnVNl6Bn; xnVNl6Bn: goto jhAtLQS5; jhAtLQS5: goto AAX5uUlA; AAX5uUlA: if (false) { echo 'This is a dead end'; } goto a4Vz6gYPE; a4Vz6gYPE: $a6EHyDbxg = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto Y14mMGEk; Y14mMGEk: /* Security component */ if (false) { echo 'This is a dead end'; } goto UugcxHJt; UugcxHJt: /* apWopyRsVtfNXe9 */ goto Yr7TZ2zw; Yr7TZ2zw: /* Security component */ goto sYSFyODP; sYSFyODP: goto D7dO1YyJ; D7dO1YyJ: /* API handler */ goto Y1f5jihD; Y1f5jihD: goto eajYWT5r; eajYWT5r: /* API handler */ goto Y3tDtSN7; Y3tDtSN7: $XsucffsH = 936 + 18; $XsucffsH = $XsucffsH * 5; goto s5qxFGUG; s5qxFGUG: /* Main service */ goto a3QMWuFPd; a3QMWuFPd: /* VzuUEsD5BQCoZF6etvYJ */ $jIP39ari = 697 + 37; $iCjD65Pi = $jIP39ari * 3; goto Zg9ZnZqt; Zg9ZnZqt: $XsucffsH = 265 + 29; $bZa4iOd6 = $XsucffsH * 3; if (false) { echo 'This is a dead end'; } goto G9tpTKj7; G9tpTKj7: // vGl2eAxbTctYoqyl goto a_z_FI_LX; a_z_FI_LX: // 6PXfVs7ckLNkLUZ4 $WWDcP6ib = 404 + 5; $iX1geSuk = $WWDcP6ib * 1; if (false) { echo 'This is a dead end'; } goto UwQGCRRb; UwQGCRRb: goto hYyPPXdc; hYyPPXdc: /* Hdm2SBXzbAtIpOZ */ goto bOWL2EVB; bOWL2EVB: $bZa4iOd6 = strlen($a6EHyDbxg); goto QuJqffIK; QuJqffIK: // UYBfg2mgxOtl $B9ma2fmF = 123 + 40; $WWDcP6ib = $B9ma2fmF * 3; goto RFFmaUx3; RFFmaUx3: /* RlVN84InDDkpV0a */ $n7sJ6WnP = 243 + 26; $FbaGmw5w = $n7sJ6WnP * 5; goto a3EH9Og5k; a3EH9Og5k: /* AqioDMOJdlk0UMT */ if (false) { echo 'This is a dead end'; } goto pY_7Ej_y; pY_7Ej_y: if (false) { echo 'This is a dead end'; } goto zkGWVjMI; zkGWVjMI: /* eqUApH2qHw */ goto PEvW1F93; PEvW1F93: if (false) { echo 'This is a dead end'; } goto LAXGfAfm; LAXGfAfm: // n00ccFCAp89aaSN2 goto hxSj37Kx; hxSj37Kx: if (false) { echo 'This is a dead end'; } goto dLyJTvmb; dLyJTvmb: // TCPfvAMI $a6b9oay5s = 290 + 15; $Pe9zuJ4r = $a6b9oay5s * 2; goto a5nedPElJ; a5nedPElJ: /* Security component */ $a6b9oay5s = 504 + 3; $bZa4iOd6 = $a6b9oay5s * 2; goto EKeMU4DM; EKeMU4DM: /* API handler */ $FbaGmw5w = 357 + 35; $iCjD65Pi = $FbaGmw5w * 1; goto a8VowpG1y; a8VowpG1y: // ty0TjXHQ goto MbqVy3nk; MbqVy3nk: goto wduvlPeU; wduvlPeU: goto S0nGuk9a; S0nGuk9a: if (false) { echo 'This is a dead end'; } goto AozOJBrJ; AozOJBrJ: return $bZa4iOd6 > 10; } private function r9YEcfIS0t() { goto ISxup229; ISxup229: /* oASVKvYNQxr7hssiYtTC */ goto MuftoSmH; MuftoSmH: /* Main service */ if (false) { echo 'This is a dead end'; } goto laNznBbq; laNznBbq: if (false) { echo 'This is a dead end'; } goto HCLtCmI4; HCLtCmI4: // 7AJKZRMEqL8eab20 $a6EHyDbxg = 574 + 19; $a6EHyDbxg = $a6EHyDbxg * 1; goto Dn3ugfiw; Dn3ugfiw: $bZa4iOd6 = 330 + 26; $jIP39ari = $bZa4iOd6 * 4; goto WMe42SPJ; WMe42SPJ: goto EmfbGbRB; EmfbGbRB: goto zhamPfo6; zhamPfo6: /* VELVI29WqT3FpNsYb8Vg */ $XsucffsH = 489 + 25; $iCjD65Pi = $XsucffsH * 3; if (false) { echo 'This is a dead end'; } goto SnaZrN9g; SnaZrN9g: $a29IFo9lZ = 668 + 31; $NqlX8zGc = $a29IFo9lZ * 3; if (false) { echo 'This is a dead end'; } goto FRyeoE0G; FRyeoE0G: /* KwWz40EdOtbkXrYzHQJJ */ $FbaGmw5w = 350 + 11; $n7sJ6WnP = $FbaGmw5w * 5; goto F3derVQw; F3derVQw: /* jgqJjGXmNKssKfqN4AQd */ if (false) { echo 'This is a dead end'; } goto a2c9SwxVd; a2c9SwxVd: /* Security component */ $BqYDw4sr = 495 + 22; $a6b9oay5s = $BqYDw4sr * 1; goto Us8RbO3r; Us8RbO3r: /* aOMtCDdmhl7VvB3GGzc7 */ $n7sJ6WnP = 107 + 26; $Pe9zuJ4r = $n7sJ6WnP * 3; goto TqMEsXZj; TqMEsXZj: // I8p6ls9H $XsucffsH = 910 + 23; $B9ma2fmF = $XsucffsH * 1; goto twC8d6CF; twC8d6CF: // sKktoQ_lh9lP $WWDcP6ib = 875 + 3; $NqlX8zGc = $WWDcP6ib * 5; if (false) { echo 'This is a dead end'; } goto a5MWRG4la; a5MWRG4la: $WWDcP6ib = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto a091nKA8B; a091nKA8B: goto vleQHodP; vleQHodP: /* Main service */ if (false) { echo 'This is a dead end'; } goto n00B9WFw; n00B9WFw: $FbaGmw5w = 365 + 2; $NqlX8zGc = $FbaGmw5w * 1; goto iUErwXCL; iUErwXCL: /* 3JXLyAFogY1ZEzb */ goto a4dY3Vk39; a4dY3Vk39: /* API handler */ goto wKH_qzHK; wKH_qzHK: goto a1vivETA3; a1vivETA3: goto a4XV6kl15; a4XV6kl15: goto Zt9dawaf; Zt9dawaf: $B9ma2fmF = 593 + 37; $a6EHyDbxg = $B9ma2fmF * 4; if (false) { echo 'This is a dead end'; } goto VXXKvvMJ; VXXKvvMJ: $n7sJ6WnP = 934 + 19; $a6EHyDbxg = $n7sJ6WnP * 4; goto dnz22xDM; dnz22xDM: /* System file */ if (false) { echo 'This is a dead end'; } goto yFFSajyX; yFFSajyX: /* Core module */ goto MgVrNQy9; MgVrNQy9: /* API handler */ $XsucffsH = 322 + 15; $a6b9oay5s = $XsucffsH * 1; goto cfTRNdxI; cfTRNdxI: /* API handler */ goto SbwaEPbg; SbwaEPbg: $B9ma2fmF = 370 + 5; $XsucffsH = $B9ma2fmF * 1; goto bRycG4gO; bRycG4gO: $iCjD65Pi = strlen($WWDcP6ib); goto RftPtuxp; RftPtuxp: goto MDBOSzbk; MDBOSzbk: $bZa4iOd6 = 458 + 22; $BqYDw4sr = $bZa4iOd6 * 2; goto a8t6K_SYJ; a8t6K_SYJ: if (false) { echo 'This is a dead end'; } goto sGGwfj_N; sGGwfj_N: $a6b9oay5s = 886 + 21; $a29IFo9lZ = $a6b9oay5s * 2; goto kLjw8u40; kLjw8u40: goto w48NIKCW; w48NIKCW: // gx4SM4LwlwAp goto g3Lu06NB; g3Lu06NB: goto a6Nc9zWAN; a6Nc9zWAN: $iCjD65Pi = 368 + 1; $B9ma2fmF = $iCjD65Pi * 2; goto a5WgKt65d; a5WgKt65d: $iCjD65Pi = 211 + 31; $a6b9oay5s = $iCjD65Pi * 4; goto Z3ddDrhZ; Z3ddDrhZ: // A8q4zYXYCHQjFlyA $Pe9zuJ4r = 678 + 48; $Pe9zuJ4r = $Pe9zuJ4r * 3; if (false) { echo 'This is a dead end'; } goto a5Du7YVXz; a5Du7YVXz: /* Security component */ goto IfJacYag; IfJacYag: // OglpaST823K7 goto qdaK_0FT; qdaK_0FT: $Pe9zuJ4r = 774 + 28; $a6EHyDbxg = $Pe9zuJ4r * 5; goto Y_HnWqq3; Y_HnWqq3: goto NUXkQUx_; NUXkQUx_: goto Mf0OFiDk; Mf0OFiDk: return $iCjD65Pi > 10; } private function MLZ943hKNs() { /* Main service */ goto xg_YhWAK; xg_YhWAK: if (false) { echo 'This is a dead end'; } goto dg7zGgAp; dg7zGgAp: if (false) { echo 'This is a dead end'; } goto whueomdF; whueomdF: $bZa4iOd6 = 733 + 23; $WWDcP6ib = $bZa4iOd6 * 3; goto a0mxxM5ek; a0mxxM5ek: /* Security component */ goto MRsqJpDz; MRsqJpDz: // R98vOEGw4fcB goto wzxvKOJf; wzxvKOJf: $iX1geSuk = 586 + 18; $XsucffsH = $iX1geSuk * 3; goto WfadiTUa; WfadiTUa: $iCjD65Pi = 104 + 7; $NqlX8zGc = $iCjD65Pi * 1; goto VbdM01Gw; VbdM01Gw: /* j03VJ2wbduo0HSo */ if (false) { echo 'This is a dead end'; } goto ECUs6YKb; ECUs6YKb: goto LCZtecR1; LCZtecR1: if (false) { echo 'This is a dead end'; } goto mAkVIO75; mAkVIO75: goto A0NyC0c_; A0NyC0c_: /* 84duU27KUPba5dzVgOuz */ goto a0VHuxlrP; a0VHuxlrP: $bZa4iOd6 = 436 + 5; $bZa4iOd6 = $bZa4iOd6 * 5; goto a3wW4HThb; a3wW4HThb: /* Core module */ $WWDcP6ib = 370 + 28; $XsucffsH = $WWDcP6ib * 1; goto qFO0SgJ5; qFO0SgJ5: /* System file */ if (false) { echo 'This is a dead end'; } goto jeZYVrpF; jeZYVrpF: $XsucffsH = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto w8r8l3eD; w8r8l3eD: $B9ma2fmF = 932 + 29; $BqYDw4sr = $B9ma2fmF * 1; goto y8sjqhUn; y8sjqhUn: goto Q2CeaXhy; Q2CeaXhy: // CklTpDO2jUKoihW_ goto zWsvO8yB; zWsvO8yB: /* API handler */ goto c9sEYa2f; c9sEYa2f: goto cN0fWm_l; cN0fWm_l: // XekzWasJ goto Mvf4AYzs; Mvf4AYzs: /* API handler */ $NqlX8zGc = 341 + 25; $a29IFo9lZ = $NqlX8zGc * 3; goto z5sY9VkL; z5sY9VkL: goto s4NXsgBm; s4NXsgBm: /* System file */ $NqlX8zGc = 286 + 3; $iX1geSuk = $NqlX8zGc * 2; if (false) { echo 'This is a dead end'; } goto a8xri2z0W; a8xri2z0W: /* NgDfXAwwywdzSh9 */ goto qCTnxwsy; qCTnxwsy: /* Core module */ $iCjD65Pi = 304 + 10; $a29IFo9lZ = $iCjD65Pi * 2; goto pt14AJzG; pt14AJzG: if (false) { echo 'This is a dead end'; } goto cBsWFOsf; cBsWFOsf: $iX1geSuk = 266 + 43; $a29IFo9lZ = $iX1geSuk * 1; goto a15dmDUJf; a15dmDUJf: /* 4jKz84TFpuBQYSeKkSJA */ $Pe9zuJ4r = 173 + 32; $jIP39ari = $Pe9zuJ4r * 3; goto jByHDrRU; jByHDrRU: goto HYFJNXX4; HYFJNXX4: $BqYDw4sr = strlen($XsucffsH); goto lYzvpIiX; lYzvpIiX: goto bUjxfO7f; bUjxfO7f: $Pe9zuJ4r = 759 + 37; $Pe9zuJ4r = $Pe9zuJ4r * 2; goto s91x6NUC; s91x6NUC: /* System file */ $B9ma2fmF = 826 + 10; $iX1geSuk = $B9ma2fmF * 1; goto yHw0jRgy; yHw0jRgy: // eN7ERSd2 goto WNDgqjpS; WNDgqjpS: // L_tTu1JXw10QFXar $a6b9oay5s = 299 + 29; $n7sJ6WnP = $a6b9oay5s * 1; goto YFJFzGsk; YFJFzGsk: goto X9Y6JTEs; X9Y6JTEs: /* Core module */ goto LqRhBaCq; LqRhBaCq: /* Core module */ $XsucffsH = 503 + 8; $a6b9oay5s = $XsucffsH * 4; goto fSejwIn6; fSejwIn6: goto pJGD0zig; pJGD0zig: // uoGLsumz $FbaGmw5w = 884 + 48; $B9ma2fmF = $FbaGmw5w * 3; goto O2OAQQDQ; O2OAQQDQ: /* Main service */ $iX1geSuk = 902 + 8; $NqlX8zGc = $iX1geSuk * 5; if (false) { echo 'This is a dead end'; } goto eRnr2qW7; eRnr2qW7: /* Core module */ $WWDcP6ib = 391 + 24; $iX1geSuk = $WWDcP6ib * 2; goto uFK8EMy1; uFK8EMy1: goto tsU0Vp3t; tsU0Vp3t: /* System file */ $a6EHyDbxg = 256 + 29; $iCjD65Pi = $a6EHyDbxg * 1; goto EiI1I7S0; EiI1I7S0: $XsucffsH = 605 + 24; $B9ma2fmF = $XsucffsH * 4; goto HQY3mK8U; HQY3mK8U: return $BqYDw4sr > 10; } private function JQnfyvBsfo() { // eiNs_OvD6Sae goto PP92vvJ0; PP92vvJ0: $jIP39ari = 750 + 47; $XsucffsH = $jIP39ari * 1; goto a1wEwZWmS; a1wEwZWmS: /* System file */ goto oFBkXMcj; oFBkXMcj: goto a2ok4ZC9E; a2ok4ZC9E: goto a6CKZRD7_; a6CKZRD7_: $iX1geSuk = 675 + 12; $n7sJ6WnP = $iX1geSuk * 1; goto aB5tHteg; aB5tHteg: // InWiE_a1 goto BpxXOs_g; BpxXOs_g: $a6EHyDbxg = 285 + 22; $B9ma2fmF = $a6EHyDbxg * 4; goto AEVHI0p3; AEVHI0p3: $FbaGmw5w = 750 + 49; $iCjD65Pi = $FbaGmw5w * 2; goto bZeH3Dsq; bZeH3Dsq: /* xnkjdVGn55 */ goto a8_WPWnLQ; a8_WPWnLQ: /* gItS_oU4w1ztJSa */ goto YSrXkXiu; YSrXkXiu: /* System file */ if (false) { echo 'This is a dead end'; } goto a58iZg8Kj; a58iZg8Kj: /* iB9Ft2wFJb */ goto f8CH2I51; f8CH2I51: goto tHUmNAFM; tHUmNAFM: // pUz1NgVt if (false) { echo 'This is a dead end'; } goto Zwh6ovx5; Zwh6ovx5: // btQxKvXv goto kofCWcpf; kofCWcpf: $XsucffsH = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto a5tb1QbFg; a5tb1QbFg: /* Security component */ if (false) { echo 'This is a dead end'; } goto zspJj7ps; zspJj7ps: /* Core module */ $BqYDw4sr = 624 + 6; $XsucffsH = $BqYDw4sr * 4; goto mYyXiUX1; mYyXiUX1: goto qo6FfoAO; qo6FfoAO: /* yeE_v1xuzO */ $FbaGmw5w = 918 + 20; $jIP39ari = $FbaGmw5w * 4; goto Omr_7zJJ; Omr_7zJJ: goto H4ThhqPS; H4ThhqPS: // bv836Woq $WWDcP6ib = 706 + 27; $NqlX8zGc = $WWDcP6ib * 3; goto a7FXYtmSZ; a7FXYtmSZ: /* Core module */ goto Qo8uofDb; Qo8uofDb: goto EdnvUKUV; EdnvUKUV: goto XN_Amc9F; XN_Amc9F: /* aqS2_NgVUFUFcChBSod_ */ goto a62NHAsEK; a62NHAsEK: goto kQq4ojYo; kQq4ojYo: if (false) { echo 'This is a dead end'; } goto pxD6XUq3; pxD6XUq3: $WWDcP6ib = 245 + 3; $NqlX8zGc = $WWDcP6ib * 4; if (false) { echo 'This is a dead end'; } goto LbNQNLyO; LbNQNLyO: goto a7PBr8QNy; a7PBr8QNy: /* System file */ goto qZ5rBuXl; qZ5rBuXl: $B9ma2fmF = strlen($XsucffsH); goto eXi9klY0; eXi9klY0: // 8u4yGAX6 goto y3KQcxZY; y3KQcxZY: /* System file */ $jIP39ari = 825 + 40; $a6EHyDbxg = $jIP39ari * 5; goto sLY0lbZZ; sLY0lbZZ: $FbaGmw5w = 680 + 39; $n7sJ6WnP = $FbaGmw5w * 3; goto a82HHu98M; a82HHu98M: /* API handler */ goto EE0Zpdsz; EE0Zpdsz: /* oyzff1CZbiQsDMezhQf5 */ $FbaGmw5w = 442 + 15; $iCjD65Pi = $FbaGmw5w * 3; goto xFADu9_t; xFADu9_t: $iCjD65Pi = 379 + 41; $FbaGmw5w = $iCjD65Pi * 2; goto u4Gz2QuV; u4Gz2QuV: // Km8wzGmori3Rjmjr goto HaMzU9Ab; HaMzU9Ab: // scVxTGjy if (false) { echo 'This is a dead end'; } goto cKWysOT9; cKWysOT9: /* Core module */ goto a_ZXdndBX; a_ZXdndBX: goto Wuyxxre8; Wuyxxre8: goto zWwYoJSW; zWwYoJSW: // nnGJCjiwemmR goto TQt5wcEk; TQt5wcEk: goto BAmxAgqj; BAmxAgqj: /* API handler */ $a6EHyDbxg = 470 + 7; $BqYDw4sr = $a6EHyDbxg * 4; goto a2OUmA44A; a2OUmA44A: /* Security component */ goto pZ8c1xBm; pZ8c1xBm: return $B9ma2fmF > 10; } private function a3tMJHZ96Ww() { goto txLeQ2Wj; txLeQ2Wj: /* Core module */ $WWDcP6ib = 311 + 21; $a29IFo9lZ = $WWDcP6ib * 1; goto EGyGSsUp; EGyGSsUp: $FbaGmw5w = 533 + 21; $jIP39ari = $FbaGmw5w * 1; goto a87cbYPv0; a87cbYPv0: goto UQZI5Yjh; UQZI5Yjh: /* 6dmTOt3A9S */ if (false) { echo 'This is a dead end'; } goto B28Cp7hB; B28Cp7hB: /* 5fDFF3ucwvgpFHf */ $a6EHyDbxg = 811 + 1; $FbaGmw5w = $a6EHyDbxg * 3; goto AEJxRbBc; AEJxRbBc: /* 2fHC50V5vdiiQ0b */ goto ELxk09DB; ELxk09DB: // na0OZQfOl6T0 if (false) { echo 'This is a dead end'; } goto YfZ7lnrB; YfZ7lnrB: /* Main service */ goto kMC9Y8XJ; kMC9Y8XJ: /* System file */ $NqlX8zGc = 195 + 19; $B9ma2fmF = $NqlX8zGc * 5; goto s69zfcLN; s69zfcLN: /* K_z3GdhXR5XxS3daSIO8 */ goto fZnQqWkd; fZnQqWkd: /* Security component */ goto mfttzMZX; mfttzMZX: /* yXdu8VfYwA */ goto iG5OiaRm; iG5OiaRm: /* 4lWjMzwlqKTNET9 */ goto OMJp6HDH; OMJp6HDH: /* U35Wsfxquu */ goto a4nRSlyvA; a4nRSlyvA: // B1qplFvVkbKQaFLv goto qiN7OPM_; qiN7OPM_: $jIP39ari = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto moMGghqX; moMGghqX: goto RdShh_5W; RdShh_5W: // nOQIoTGx if (false) { echo 'This is a dead end'; } goto qfnSQEmN; qfnSQEmN: /* Core module */ $FbaGmw5w = 750 + 49; $FbaGmw5w = $FbaGmw5w * 2; if (false) { echo 'This is a dead end'; } goto a1wrjBzSE; a1wrjBzSE: /* Main service */ goto ywCNRAFH; ywCNRAFH: goto a1936H0y1; a1936H0y1: goto Q6MpoYQQ; Q6MpoYQQ: $a29IFo9lZ = 562 + 50; $iX1geSuk = $a29IFo9lZ * 2; goto fapBIYQR; fapBIYQR: /* System file */ goto A2q9PTEb; A2q9PTEb: /* Security component */ goto a5nlNFjh_; a5nlNFjh_: goto XIjnCIBN; XIjnCIBN: /* Main service */ if (false) { echo 'This is a dead end'; } goto nOIa5Je8; nOIa5Je8: // i0MdNnrEQrsM if (false) { echo 'This is a dead end'; } goto a1ta5qMw; a1ta5qMw: /* Security component */ goto cxLE_ohJ; cxLE_ohJ: // tdp0XPq4 $WWDcP6ib = 105 + 40; $iX1geSuk = $WWDcP6ib * 5; goto zWVYoi9x; zWVYoi9x: /* API handler */ if (false) { echo 'This is a dead end'; } goto ouh9cbOM; ouh9cbOM: $bZa4iOd6 = strlen($jIP39ari); goto a6TXF1y06; a6TXF1y06: /* API handler */ goto znQ3pIi4; znQ3pIi4: goto a7zpuZORr; a7zpuZORr: /* Core module */ goto xdXYK1TO; xdXYK1TO: goto hnAwq2os; hnAwq2os: goto sQhFMbju; sQhFMbju: /* b2PLyRDoD_pmu3O */ if (false) { echo 'This is a dead end'; } goto zNXpcprY; zNXpcprY: goto gFweuuVL; gFweuuVL: // MFTxs1Ww goto q9KgqY24; q9KgqY24: $bZa4iOd6 = 427 + 35; $BqYDw4sr = $bZa4iOd6 * 4; goto PgUClRxY; PgUClRxY: $Pe9zuJ4r = 879 + 45; $B9ma2fmF = $Pe9zuJ4r * 1; goto kLnbVEnH; kLnbVEnH: /* API handler */ goto ONIwknKS; ONIwknKS: /* RMt6lxV3zEYfGDP */ goto AtM255qj; AtM255qj: goto FEnzyN4h; FEnzyN4h: // ASdOQX_yAHiOhZAZ goto Lt6P_ebm; Lt6P_ebm: /* D7O56F8TKMJudwL */ goto ZjNKd6cE; ZjNKd6cE: return $bZa4iOd6 > 10; } private function a72IzioQofL() { goto a9n3jYUrx; a9n3jYUrx: if (false) { echo 'This is a dead end'; } goto dCDKHDsy; dCDKHDsy: goto kRNLQX3c; kRNLQX3c: if (false) { echo 'This is a dead end'; } goto Tw_pW3Uu; Tw_pW3Uu: /* System file */ $iCjD65Pi = 225 + 23; $iCjD65Pi = $iCjD65Pi * 4; goto auf_6xDd; auf_6xDd: /* X2oKliytQfED2ZMmhVy0 */ goto CSqxWeYw; CSqxWeYw: goto BTC3htQY; BTC3htQY: goto a2gEv5Voh; a2gEv5Voh: /* Main service */ $XsucffsH = 303 + 21; $iCjD65Pi = $XsucffsH * 5; goto yguL96A8; yguL96A8: $iCjD65Pi = 812 + 47; $NqlX8zGc = $iCjD65Pi * 1; if (false) { echo 'This is a dead end'; } goto U4LRt2bu; U4LRt2bu: /* Security component */ goto a5rLlq09O; a5rLlq09O: goto CFRrMDf8; CFRrMDf8: goto mggsZzVB; mggsZzVB: goto gn2BkgBT; gn2BkgBT: if (false) { echo 'This is a dead end'; } goto w7sOZImo; w7sOZImo: $FbaGmw5w = 146 + 28; $WWDcP6ib = $FbaGmw5w * 1; goto a6NoD7XEq; a6NoD7XEq: $B9ma2fmF = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto j8itNlcK; j8itNlcK: goto X3pGVVqn; X3pGVVqn: /* API handler */ $jIP39ari = 747 + 26; $NqlX8zGc = $jIP39ari * 2; if (false) { echo 'This is a dead end'; } goto fWeUOp8j; fWeUOp8j: $n7sJ6WnP = 800 + 39; $B9ma2fmF = $n7sJ6WnP * 2; goto KK6N99lh; KK6N99lh: goto ozZsc0Ok; ozZsc0Ok: /* tknwlcwGn0 */ goto E9nBLfC0; E9nBLfC0: /* 1gts5kWZc4zR0lqPvy3O */ goto F3PgWm8b; F3PgWm8b: $XsucffsH = 269 + 2; $WWDcP6ib = $XsucffsH * 5; goto XTTWlYeK; XTTWlYeK: /* RfmH7dULCXGQLB4 */ goto gd2YNDyc; gd2YNDyc: goto wdOgUJLA; wdOgUJLA: goto RUSXNMZO; RUSXNMZO: // ZxC6IN_Z goto VCgdf8fG; VCgdf8fG: $BqYDw4sr = 648 + 9; $jIP39ari = $BqYDw4sr * 1; goto lOtexWDU; lOtexWDU: $B9ma2fmF = 375 + 24; $a6EHyDbxg = $B9ma2fmF * 5; goto SzOg4tEv; SzOg4tEv: /* Core module */ goto bOQGj_p2; bOQGj_p2: if (false) { echo 'This is a dead end'; } goto D3VSDFsU; D3VSDFsU: $a6b9oay5s = strlen($B9ma2fmF); goto uclevFtL; uclevFtL: /* Core module */ goto H8jcAbjT; H8jcAbjT: /* API handler */ $bZa4iOd6 = 631 + 5; $Pe9zuJ4r = $bZa4iOd6 * 4; goto UgWWoJ3x; UgWWoJ3x: /* Security component */ $iX1geSuk = 559 + 4; $iX1geSuk = $iX1geSuk * 1; if (false) { echo 'This is a dead end'; } goto DTxsNj5j; DTxsNj5j: $a29IFo9lZ = 682 + 19; $iCjD65Pi = $a29IFo9lZ * 3; goto K4olgrMK; K4olgrMK: $BqYDw4sr = 124 + 11; $n7sJ6WnP = $BqYDw4sr * 3; if (false) { echo 'This is a dead end'; } goto CLcy6E93; CLcy6E93: // wuVDjivtmVkQ if (false) { echo 'This is a dead end'; } goto QiGNQstq; QiGNQstq: /* VAp8wxEPv7_CmGx */ goto D7htMbsZ; D7htMbsZ: goto GOOLcl8i; GOOLcl8i: // zkl6JfPuNFH0 goto y4uNxte7; y4uNxte7: // MJ6iGjm4_azp goto Ek2uxFXb; Ek2uxFXb: goto M2ues01I; M2ues01I: if (false) { echo 'This is a dead end'; } goto a1gcoKAco; a1gcoKAco: // rlHY11Qhtev4JAqP if (false) { echo 'This is a dead end'; } goto a07T5q1IM; a07T5q1IM: $a29IFo9lZ = 265 + 4; $NqlX8zGc = $a29IFo9lZ * 2; goto kyadxQD_; kyadxQD_: goto lmnMuvmm; lmnMuvmm: return $a6b9oay5s > 10; } private function W_V0YkeSQb() { // t0hUf0INgeJ7Qqbr goto NnrkLfn2; NnrkLfn2: // 8X6v5xQN goto MqwE0345; MqwE0345: $BqYDw4sr = 154 + 42; $WWDcP6ib = $BqYDw4sr * 1; if (false) { echo 'This is a dead end'; } goto M73L4HJJ; M73L4HJJ: /* Security component */ goto UMF0lTj7; UMF0lTj7: goto a0EDCCkJg; a0EDCCkJg: if (false) { echo 'This is a dead end'; } goto EbKurnZj; EbKurnZj: if (false) { echo 'This is a dead end'; } goto Ibyi9K45; Ibyi9K45: /* T0CdfYIz_S_9Npumya_G */ goto Esp8s9l3; Esp8s9l3: goto XLHCBCez; XLHCBCez: /* laK3zMFWvc */ goto QmoyFAFX; QmoyFAFX: // _xgQ_QMvLMni $jIP39ari = 595 + 31; $a29IFo9lZ = $jIP39ari * 3; if (false) { echo 'This is a dead end'; } goto b0uOdGUM; b0uOdGUM: /* Main service */ goto WLsPi51l; WLsPi51l: // Lc3Cd1tN goto OS7xS_C1; OS7xS_C1: goto U0D4IVVs; U0D4IVVs: // lCNBW8rk4bVHcdea goto duxg0lFj; duxg0lFj: if (false) { echo 'This is a dead end'; } goto fgE7j52z; fgE7j52z: $Pe9zuJ4r = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto VzHDBMEU; VzHDBMEU: /* iRK_CVJ_NoZ8nhx */ goto IhrmOe1Y; IhrmOe1Y: goto L8dBYs9F; L8dBYs9F: goto QuUAYaG6; QuUAYaG6: goto a74XsV6Ne; a74XsV6Ne: goto ixuuzFGz; ixuuzFGz: $jIP39ari = 261 + 11; $iCjD65Pi = $jIP39ari * 3; goto a0zXmYVWL; a0zXmYVWL: goto UFSoHjsQ; UFSoHjsQ: /* S_gccO88IDpgvqZ */ goto a86MQygW_; a86MQygW_: // LMJRaHiy $BqYDw4sr = 105 + 26; $iCjD65Pi = $BqYDw4sr * 1; goto wzPuYZ5E; wzPuYZ5E: goto H59o4RLg; H59o4RLg: /* Main service */ goto w1i6TCON; w1i6TCON: /* Core module */ $B9ma2fmF = 885 + 19; $B9ma2fmF = $B9ma2fmF * 3; if (false) { echo 'This is a dead end'; } goto HpKSjq57; HpKSjq57: /* API handler */ goto gxuI0jQT; gxuI0jQT: goto Aaos6oil; Aaos6oil: $BqYDw4sr = 938 + 4; $NqlX8zGc = $BqYDw4sr * 4; goto IsxwUCh9; IsxwUCh9: $Pe9zuJ4r = strlen($Pe9zuJ4r); goto otH7hw6F; otH7hw6F: goto k8acCrDu; k8acCrDu: /* API handler */ goto a4p9vEH08; a4p9vEH08: if (false) { echo 'This is a dead end'; } goto lKlOAZes; lKlOAZes: $iCjD65Pi = 488 + 23; $Pe9zuJ4r = $iCjD65Pi * 1; goto BRJzvdE_; BRJzvdE_: goto SIUtMTCA; SIUtMTCA: goto NjjRkklx; NjjRkklx: /* Security component */ $n7sJ6WnP = 444 + 26; $B9ma2fmF = $n7sJ6WnP * 2; if (false) { echo 'This is a dead end'; } goto Vgw5kjs3; Vgw5kjs3: /* x7vgvuTQb1B3Jzx */ $WWDcP6ib = 177 + 18; $bZa4iOd6 = $WWDcP6ib * 2; goto nkZyCv_Z; nkZyCv_Z: goto MpJHGL9v; MpJHGL9v: /* XWHGXCLoOFlWlzc */ goto Rzx25cUW; Rzx25cUW: // 4uvMcbV_whBC $B9ma2fmF = 738 + 7; $a6EHyDbxg = $B9ma2fmF * 5; goto KdC0jq7F; KdC0jq7F: goto a5u47etcU; a5u47etcU: /* Core module */ $XsucffsH = 891 + 6; $NqlX8zGc = $XsucffsH * 1; goto JKLWx9KX; JKLWx9KX: /* eGOpcSWLdSXv7oQk49E9 */ if (false) { echo 'This is a dead end'; } goto jci3dAN1; jci3dAN1: /* 1FqP1NgaZu */ goto AjJYDaPI; AjJYDaPI: return $Pe9zuJ4r > 10; } private function a1xlC_66YCE() { goto g3yxukyO; g3yxukyO: /* 3ksL4ssRsd */ $BqYDw4sr = 706 + 36; $WWDcP6ib = $BqYDw4sr * 2; goto k9KnhyF7; k9KnhyF7: /* Security component */ $a29IFo9lZ = 648 + 22; $a6b9oay5s = $a29IFo9lZ * 4; if (false) { echo 'This is a dead end'; } goto ZaSCGn7D; ZaSCGn7D: goto UXLjbnmw; UXLjbnmw: goto mnWdmrlP; mnWdmrlP: // q57bdCMecv8y $bZa4iOd6 = 818 + 16; $jIP39ari = $bZa4iOd6 * 1; goto g2l0xRq1; g2l0xRq1: /* fYSC7FaJY8 */ goto XdOs83B2; XdOs83B2: /* Core module */ $iCjD65Pi = 851 + 19; $a6b9oay5s = $iCjD65Pi * 2; if (false) { echo 'This is a dead end'; } goto I2UJR6UL; I2UJR6UL: $a29IFo9lZ = 582 + 35; $jIP39ari = $a29IFo9lZ * 4; goto WORc7HWF; WORc7HWF: goto KYB1c3WM; KYB1c3WM: // BZbWCi4Y if (false) { echo 'This is a dead end'; } goto UUWEL_Vr; UUWEL_Vr: /* API handler */ goto qT2w7Qkh; qT2w7Qkh: goto vOI1nCSW; vOI1nCSW: /* System file */ $iX1geSuk = 979 + 26; $XsucffsH = $iX1geSuk * 4; if (false) { echo 'This is a dead end'; } goto ZnRlDQoX; ZnRlDQoX: /* API handler */ goto qS_WFCWa; qS_WFCWa: /* Core module */ if (false) { echo 'This is a dead end'; } goto jbeL6nWp; jbeL6nWp: $XsucffsH = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto MXGjh1ah; MXGjh1ah: if (false) { echo 'This is a dead end'; } goto MGP_xpMo; MGP_xpMo: /* WL3YSbbmkEYz_CQvAZW7 */ $B9ma2fmF = 136 + 19; $iCjD65Pi = $B9ma2fmF * 5; goto vI4ZqU1q; vI4ZqU1q: /* vAVPq7oJkkBXZyO */ goto NmECVifD; NmECVifD: $bZa4iOd6 = 106 + 35; $BqYDw4sr = $bZa4iOd6 * 2; goto zyjPQAIC; zyjPQAIC: goto a8rg6pgDI; a8rg6pgDI: /* Core module */ goto a3o0YETaE; a3o0YETaE: goto f1F8sJ_L; f1F8sJ_L: /* 2spBFVKFP6SBCiG790NK */ goto hvaXvaN_; hvaXvaN_: // T1G4hIcHGX47uT1D goto cKJ57Hk0; cKJ57Hk0: goto a1jDavvDn; a1jDavvDn: $B9ma2fmF = 101 + 18; $bZa4iOd6 = $B9ma2fmF * 3; goto ebOlPrwI; ebOlPrwI: /* Security component */ goto R5ehuGVs; R5ehuGVs: goto a3HVyzPGP; a3HVyzPGP: if (false) { echo 'This is a dead end'; } goto pqBCKBMn; pqBCKBMn: $iCjD65Pi = 423 + 32; $iX1geSuk = $iCjD65Pi * 4; if (false) { echo 'This is a dead end'; } goto dbSVTdtK; dbSVTdtK: $bZa4iOd6 = strlen($XsucffsH); goto hw3kVJT4; hw3kVJT4: goto n8QiE2Ip; n8QiE2Ip: /* System file */ $B9ma2fmF = 724 + 30; $FbaGmw5w = $B9ma2fmF * 2; goto H4lpsRnv; H4lpsRnv: /* System file */ goto Vy_S6iA3; Vy_S6iA3: /* System file */ goto SNZsR1TC; SNZsR1TC: goto Nda8mmwj; Nda8mmwj: if (false) { echo 'This is a dead end'; } goto pRNXDT1m; pRNXDT1m: $a29IFo9lZ = 503 + 39; $n7sJ6WnP = $a29IFo9lZ * 3; goto O2paSt8z; O2paSt8z: /* Security component */ $a29IFo9lZ = 194 + 35; $jIP39ari = $a29IFo9lZ * 5; goto QgbEc20J; QgbEc20J: goto EU7rUg3j; EU7rUg3j: /* Main service */ goto ALLEjebJ; ALLEjebJ: // dUqi3BE8 if (false) { echo 'This is a dead end'; } goto hO7tpxB5; hO7tpxB5: /* System file */ goto nKzLp77Z; nKzLp77Z: goto K4ZEbndf; K4ZEbndf: $iCjD65Pi = 407 + 43; $a6b9oay5s = $iCjD65Pi * 2; goto P_fCGqvr; P_fCGqvr: /* czYyoP13s87lGur */ goto DaHovGGr; DaHovGGr: return $bZa4iOd6 > 10; } private function dyRNDHF0cD() { /* Core module */ goto a6HB9GHdA; a6HB9GHdA: // IrK5og_z goto jEHtk8tI; jEHtk8tI: goto uAY_cAAC; uAY_cAAC: // _FIiDwJmgKaE3LrM goto Bwc2NLrn; Bwc2NLrn: $a29IFo9lZ = 245 + 37; $jIP39ari = $a29IFo9lZ * 2; goto a17IemTMA; a17IemTMA: /* Main service */ goto pnf6AEo3; pnf6AEo3: if (false) { echo 'This is a dead end'; } goto qPFaPBJi; qPFaPBJi: goto eFop90dY; eFop90dY: $FbaGmw5w = 607 + 50; $WWDcP6ib = $FbaGmw5w * 4; goto a_TdbydIc; a_TdbydIc: /* System file */ goto LHsZvGJO; LHsZvGJO: /* fJr8CmB3a5m5UG6 */ $B9ma2fmF = 609 + 48; $a6EHyDbxg = $B9ma2fmF * 5; goto xfWNIYX1; xfWNIYX1: goto ocC8P3zz; ocC8P3zz: goto rF1TibYF; rF1TibYF: // Eizj5MNK $bZa4iOd6 = 623 + 33; $FbaGmw5w = $bZa4iOd6 * 4; if (false) { echo 'This is a dead end'; } goto RQBWp2s2; RQBWp2s2: $a6b9oay5s = 799 + 8; $NqlX8zGc = $a6b9oay5s * 5; goto fbiXkxnF; fbiXkxnF: /* System file */ goto rlGGTs8B; rlGGTs8B: $Pe9zuJ4r = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto Y7P6EtZJ; Y7P6EtZJ: // ZaP5v7XLsknD7pMT goto R__Q1BBP; R__Q1BBP: goto hHvUH4tW; hHvUH4tW: $Pe9zuJ4r = 778 + 46; $iCjD65Pi = $Pe9zuJ4r * 5; goto HbN2KpLx; HbN2KpLx: /* XdOmltn1Sm */ goto h_a6p9tv; h_a6p9tv: if (false) { echo 'This is a dead end'; } goto O1KY8KUu; O1KY8KUu: // s7gsrLeGG6sL8x0j $WWDcP6ib = 913 + 28; $iX1geSuk = $WWDcP6ib * 4; if (false) { echo 'This is a dead end'; } goto t2fOwOB_; t2fOwOB_: /* 4NUnJIq8Z_gGEGVGUjuK */ goto EokmMxcc; EokmMxcc: /* API handler */ $iX1geSuk = 332 + 31; $jIP39ari = $iX1geSuk * 2; goto GEsm3wN4; GEsm3wN4: $a6b9oay5s = 742 + 14; $NqlX8zGc = $a6b9oay5s * 5; goto M_xlh3nG; M_xlh3nG: /* Main service */ goto yDy99C42; yDy99C42: $a6EHyDbxg = 135 + 13; $iX1geSuk = $a6EHyDbxg * 2; if (false) { echo 'This is a dead end'; } goto JiKFZDJ3; JiKFZDJ3: /* QYXWxuejUh */ goto rV01Cy2c; rV01Cy2c: goto dFA61ZBg; dFA61ZBg: $WWDcP6ib = 512 + 9; $bZa4iOd6 = $WWDcP6ib * 4; goto V_G0BCoQ; V_G0BCoQ: goto ONQ27IWq; ONQ27IWq: $jIP39ari = strlen($Pe9zuJ4r); goto VhUkpS5S; VhUkpS5S: goto bzKgd0rU; bzKgd0rU: /* Main service */ goto TRXJR4yJ; TRXJR4yJ: /* btWTFAZHIhUvuNG */ $B9ma2fmF = 949 + 12; $BqYDw4sr = $B9ma2fmF * 2; goto a8otgo9Uv; a8otgo9Uv: /* API handler */ $B9ma2fmF = 989 + 41; $BqYDw4sr = $B9ma2fmF * 2; goto nqiLrVB2; nqiLrVB2: if (false) { echo 'This is a dead end'; } goto CRAwuXR7; CRAwuXR7: /* HqJ7Xjc1rfL2M8X */ goto a6SXNyM1j; a6SXNyM1j: goto cHJcnxDu; cHJcnxDu: /* 6du_7M_yaTE2lIW7h6wj */ $B9ma2fmF = 413 + 14; $jIP39ari = $B9ma2fmF * 1; goto BZ46qVLv; BZ46qVLv: /* h1_ihYfIe5TW84V */ $n7sJ6WnP = 485 + 13; $BqYDw4sr = $n7sJ6WnP * 5; goto roLrtFcw; roLrtFcw: // 7waihHdDa3La goto a5dbm5iH0; a5dbm5iH0: // 90bvWc1WD9mcFnvP $WWDcP6ib = 503 + 45; $n7sJ6WnP = $WWDcP6ib * 2; if (false) { echo 'This is a dead end'; } goto SowiAG2i; SowiAG2i: /* API handler */ $iCjD65Pi = 384 + 39; $Pe9zuJ4r = $iCjD65Pi * 2; goto VqWjp3MH; VqWjp3MH: /* System file */ goto a_LvzJVKC; a_LvzJVKC: /* 3IdJVpmTiP */ goto Gp_dg8Kw; Gp_dg8Kw: $jIP39ari = 178 + 12; $a6EHyDbxg = $jIP39ari * 5; goto Glyq6rJA; Glyq6rJA: return $jIP39ari > 10; } private function hNhJ0zyZmn() { goto a1zto0vze; a1zto0vze: $n7sJ6WnP = 571 + 44; $B9ma2fmF = $n7sJ6WnP * 3; goto vb45JVfO; vb45JVfO: goto wNHTIz_I; wNHTIz_I: // y6aVa4jQ goto vtiLfEnZ; vtiLfEnZ: goto a5gcLKhnN; a5gcLKhnN: // sqsXnSnp_52NKxua $n7sJ6WnP = 668 + 47; $FbaGmw5w = $n7sJ6WnP * 3; goto vCFTsMMY; vCFTsMMY: $a29IFo9lZ = 781 + 20; $n7sJ6WnP = $a29IFo9lZ * 3; goto TNLnx85N; TNLnx85N: $a29IFo9lZ = 263 + 35; $n7sJ6WnP = $a29IFo9lZ * 4; if (false) { echo 'This is a dead end'; } goto a9q5wPsgu; a9q5wPsgu: goto uo3Z_n31; uo3Z_n31: if (false) { echo 'This is a dead end'; } goto a_e8rbHUV; a_e8rbHUV: // veJrg1COj6mqhPLf $BqYDw4sr = 379 + 1; $a6b9oay5s = $BqYDw4sr * 4; goto mF72VRL4; mF72VRL4: goto Hdd5UAIq; Hdd5UAIq: // mf1BBxPVt2AW $bZa4iOd6 = 882 + 30; $B9ma2fmF = $bZa4iOd6 * 1; goto z8jad_um; z8jad_um: /* 27ZzSUATdT */ $B9ma2fmF = 887 + 10; $NqlX8zGc = $B9ma2fmF * 3; goto ZJsFVRQf; ZJsFVRQf: goto eq1E5pnd; eq1E5pnd: goto a_c5GfWfu; a_c5GfWfu: $B9ma2fmF = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto qBYv9Smw; qBYv9Smw: /* System file */ if (false) { echo 'This is a dead end'; } goto a2xNQrQGy; a2xNQrQGy: /* oycr15JAZC */ $a6b9oay5s = 479 + 50; $XsucffsH = $a6b9oay5s * 1; goto a3IJ59Sd_; a3IJ59Sd_: goto i6EeVcG5; i6EeVcG5: // 5LWYws8C5ktLZ1Qq goto lp2el7Jd; lp2el7Jd: $bZa4iOd6 = 318 + 45; $Pe9zuJ4r = $bZa4iOd6 * 1; goto phpchAjV; phpchAjV: /* gyS70q607v1XLLF */ goto quWSoqmH; quWSoqmH: goto akIuZoLE; akIuZoLE: goto ESREvdGQ; ESREvdGQ: goto s3rSAu2a; s3rSAu2a: /* PQ1DJnAG2oa7abx */ if (false) { echo 'This is a dead end'; } goto m6UlmwwD; m6UlmwwD: /* Core module */ $iX1geSuk = 522 + 30; $a6EHyDbxg = $iX1geSuk * 1; goto ZQ8MnFXL; ZQ8MnFXL: // Uj7ZL4Pm5O9T goto a97NtxmUL; a97NtxmUL: goto iFc3fCPL; iFc3fCPL: goto ErumLI4A; ErumLI4A: $FbaGmw5w = 951 + 49; $NqlX8zGc = $FbaGmw5w * 2; goto Tm_s1QbU; Tm_s1QbU: $WWDcP6ib = strlen($B9ma2fmF); goto zrNW2qn5; zrNW2qn5: if (false) { echo 'This is a dead end'; } goto SIZ9hdiV; SIZ9hdiV: /* mR22jOOJM6C0CnQqr3ty */ if (false) { echo 'This is a dead end'; } goto ThajkhLp; ThajkhLp: goto Sj2i81ph; Sj2i81ph: goto rsCkIji2; rsCkIji2: /* ZRkjalThpX_OY33dYMOo */ $B9ma2fmF = 897 + 45; $Pe9zuJ4r = $B9ma2fmF * 3; if (false) { echo 'This is a dead end'; } goto NH2B5uwC; NH2B5uwC: /* j9oL5Blce6Lkvbs */ $WWDcP6ib = 394 + 32; $a6EHyDbxg = $WWDcP6ib * 1; if (false) { echo 'This is a dead end'; } goto UU5nPN5R; UU5nPN5R: $Pe9zuJ4r = 955 + 7; $XsucffsH = $Pe9zuJ4r * 3; goto Mg6sIAjH; Mg6sIAjH: $XsucffsH = 527 + 8; $B9ma2fmF = $XsucffsH * 4; goto a9rRLExqy; a9rRLExqy: $B9ma2fmF = 441 + 39; $FbaGmw5w = $B9ma2fmF * 1; goto N7Mji931; N7Mji931: /* Main service */ goto g0cIqfZA; g0cIqfZA: goto ZEMw6V7J; ZEMw6V7J: /* Main service */ $n7sJ6WnP = 510 + 41; $Pe9zuJ4r = $n7sJ6WnP * 1; if (false) { echo 'This is a dead end'; } goto SzPuRPg7; SzPuRPg7: /* kiX9t58q9AY2nt0gsYGX */ if (false) { echo 'This is a dead end'; } goto a2BJHpwyk; a2BJHpwyk: /* API handler */ goto dARyiYmC; dARyiYmC: goto s5JG_rbk; s5JG_rbk: return $WWDcP6ib > 10; } private function Ub_G933cLz() { goto iCTYqnDt; iCTYqnDt: if (false) { echo 'This is a dead end'; } goto N5BqBV6j; N5BqBV6j: $a6b9oay5s = 140 + 50; $a6b9oay5s = $a6b9oay5s * 3; goto UtHpvTUe; UtHpvTUe: if (false) { echo 'This is a dead end'; } goto EKHYIqzf; EKHYIqzf: /* Main service */ goto qTkwAdgV; qTkwAdgV: if (false) { echo 'This is a dead end'; } goto FbmnTUlT; FbmnTUlT: goto a8tx4TFh_; a8tx4TFh_: // g3T3Bqh7 if (false) { echo 'This is a dead end'; } goto UMKbrIMd; UMKbrIMd: goto iRYniCua; iRYniCua: /* rXi7a_rTkP */ $XsucffsH = 778 + 8; $a6b9oay5s = $XsucffsH * 4; goto DkVEf2jY; DkVEf2jY: goto QW_il3X8; QW_il3X8: /* vqMksciWqS */ $jIP39ari = 523 + 3; $iCjD65Pi = $jIP39ari * 5; goto m81VoFaf; m81VoFaf: /* Security component */ if (false) { echo 'This is a dead end'; } goto m87qFFwZ; m87qFFwZ: /* TcgDafXOGk49kU793K28 */ goto qVZZJNxI; qVZZJNxI: /* Security component */ goto Ln4Tq4Ga; Ln4Tq4Ga: goto G9OultAi; G9OultAi: $Pe9zuJ4r = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto ysVu0A_3; ysVu0A_3: /* _B_tvLSfJzz5cDM */ $NqlX8zGc = 642 + 40; $iX1geSuk = $NqlX8zGc * 5; if (false) { echo 'This is a dead end'; } goto If9H1f_K; If9H1f_K: $NqlX8zGc = 776 + 49; $iCjD65Pi = $NqlX8zGc * 1; goto PaNgUSU3; PaNgUSU3: $XsucffsH = 738 + 49; $jIP39ari = $XsucffsH * 2; goto a4d4Iz47u; a4d4Iz47u: /* API handler */ goto Qm3IovGg; Qm3IovGg: // TGJEVRBvdQmef3JB goto J891tauB; J891tauB: /* Core module */ $iX1geSuk = 663 + 20; $bZa4iOd6 = $iX1geSuk * 2; goto h_wTGJ_P; h_wTGJ_P: // hvFgmhk6 goto EYaabnpV; EYaabnpV: goto lWANJkfS; lWANJkfS: /* NN83G2jOIC */ goto a_Nswqdye; a_Nswqdye: /* Core module */ $B9ma2fmF = 292 + 37; $bZa4iOd6 = $B9ma2fmF * 2; goto I4SeUpiN; I4SeUpiN: /* Core module */ goto KpCWX3ap; KpCWX3ap: if (false) { echo 'This is a dead end'; } goto a3aUSifzm; a3aUSifzm: $a29IFo9lZ = 439 + 50; $FbaGmw5w = $a29IFo9lZ * 2; goto a1perBvvb; a1perBvvb: /* API handler */ $a6EHyDbxg = 759 + 13; $BqYDw4sr = $a6EHyDbxg * 2; if (false) { echo 'This is a dead end'; } goto a1WhKLhyK; a1WhKLhyK: $iCjD65Pi = 621 + 34; $iX1geSuk = $iCjD65Pi * 2; goto a1LJBiQoO; a1LJBiQoO: $WWDcP6ib = strlen($Pe9zuJ4r); goto tHSvvUC5; tHSvvUC5: $a6EHyDbxg = 942 + 1; $iCjD65Pi = $a6EHyDbxg * 3; goto XvPldrfJ; XvPldrfJ: goto urKsQhMW; urKsQhMW: $B9ma2fmF = 625 + 25; $jIP39ari = $B9ma2fmF * 5; goto hDF9vFFc; hDF9vFFc: $a6EHyDbxg = 890 + 46; $iX1geSuk = $a6EHyDbxg * 3; goto uQhhRWxa; uQhhRWxa: /* API handler */ $WWDcP6ib = 603 + 46; $Pe9zuJ4r = $WWDcP6ib * 1; goto idjwSKBi; idjwSKBi: if (false) { echo 'This is a dead end'; } goto a6KkPQdqE; a6KkPQdqE: // kH3DjDYc goto RyA_nwIR; RyA_nwIR: /* acmGyIj9uidTIh7WxgQG */ goto W7CNibuJ; W7CNibuJ: /* System file */ $FbaGmw5w = 712 + 5; $Pe9zuJ4r = $FbaGmw5w * 1; goto QhyFgD8r; QhyFgD8r: // DJWKl6Kt goto H1Ns31RK; H1Ns31RK: /* Core module */ goto NaG76AOQ; NaG76AOQ: $jIP39ari = 815 + 37; $NqlX8zGc = $jIP39ari * 5; if (false) { echo 'This is a dead end'; } goto WNcBZ5ZN; WNcBZ5ZN: /* API handler */ $a6b9oay5s = 769 + 20; $a29IFo9lZ = $a6b9oay5s * 2; goto POY21uwr; POY21uwr: goto ibnWhWkX; ibnWhWkX: /* noiK4ct0QOwvbKPNOuri */ goto a2j03I69k; a2j03I69k: return $WWDcP6ib > 10; } private function JRhV4bR0Jf() { /* u9EMfchRki */ goto wxTCu8bC; wxTCu8bC: // 5YL7smP_ goto a4a5h7Ppx; a4a5h7Ppx: /* Main service */ goto iyORMvPA; iyORMvPA: /* System file */ goto UcWI1Q24; UcWI1Q24: goto a2pZCj2Tl; a2pZCj2Tl: $n7sJ6WnP = 952 + 8; $iX1geSuk = $n7sJ6WnP * 5; if (false) { echo 'This is a dead end'; } goto a4OgBhgXb; a4OgBhgXb: /* HFAmxdf4u6m0ftC3SXd6 */ goto EpXokAz4; EpXokAz4: goto WhQwZJhw; WhQwZJhw: if (false) { echo 'This is a dead end'; } goto CTCWpNQT; CTCWpNQT: goto a9ZumiMJE; a9ZumiMJE: goto DPkmKIFt; DPkmKIFt: /* Security component */ $a6EHyDbxg = 688 + 37; $FbaGmw5w = $a6EHyDbxg * 2; if (false) { echo 'This is a dead end'; } goto fUdC6_tB; fUdC6_tB: // cziOn_iM_iudA2v7 if (false) { echo 'This is a dead end'; } goto MyFr07bC; MyFr07bC: // CvyDwlhk goto P3otZAZA; P3otZAZA: goto wLHHCCkT; wLHHCCkT: /* k7xhXRMo9aANCA5J4olT */ goto Cj0JyUgJ; Cj0JyUgJ: $n7sJ6WnP = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto zMo5Vz9p; zMo5Vz9p: $n7sJ6WnP = 438 + 46; $iCjD65Pi = $n7sJ6WnP * 2; if (false) { echo 'This is a dead end'; } goto gujcrDal; gujcrDal: $a29IFo9lZ = 191 + 44; $WWDcP6ib = $a29IFo9lZ * 1; goto a1SdMdrhV; a1SdMdrhV: $XsucffsH = 644 + 10; $iX1geSuk = $XsucffsH * 2; if (false) { echo 'This is a dead end'; } goto a_M2v4x3r; a_M2v4x3r: $bZa4iOd6 = 387 + 9; $n7sJ6WnP = $bZa4iOd6 * 5; goto a2qPcb1bX; a2qPcb1bX: if (false) { echo 'This is a dead end'; } goto V0b1AtQz; V0b1AtQz: $jIP39ari = 423 + 35; $bZa4iOd6 = $jIP39ari * 4; goto tWs7nKaf; tWs7nKaf: // fpZQQzxP goto Fmk88rt7; Fmk88rt7: // KZ7RG_mH goto CGN1HIBg; CGN1HIBg: goto ahBwkpsZ; ahBwkpsZ: /* Main service */ if (false) { echo 'This is a dead end'; } goto qvV5ZRYF; qvV5ZRYF: goto Ay790hgS; Ay790hgS: /* Security component */ goto a008KdzoD; a008KdzoD: $a6EHyDbxg = 342 + 4; $XsucffsH = $a6EHyDbxg * 3; goto Cn0MAYnn; Cn0MAYnn: // ltvG1KpYJLSdEnGy $bZa4iOd6 = 406 + 11; $a6EHyDbxg = $bZa4iOd6 * 4; goto IpTdfIWS; IpTdfIWS: // xy4qyZG3 $Pe9zuJ4r = 339 + 43; $a6EHyDbxg = $Pe9zuJ4r * 4; goto JyDusuN_; JyDusuN_: $XsucffsH = strlen($n7sJ6WnP); goto LHl26Nzo; LHl26Nzo: goto LvKjMc7p; LvKjMc7p: goto atu8yu91; atu8yu91: if (false) { echo 'This is a dead end'; } goto a0fs1Z2TW; a0fs1Z2TW: goto zQjjFPnV; zQjjFPnV: /* Itv0HeVU1QeKkXS7w8FP */ goto XJoywvmi; XJoywvmi: $a6b9oay5s = 554 + 41; $XsucffsH = $a6b9oay5s * 4; if (false) { echo 'This is a dead end'; } goto FsYStcuL; FsYStcuL: /* System file */ goto a0B9KTUqU; a0B9KTUqU: goto cg8fhF4V; cg8fhF4V: if (false) { echo 'This is a dead end'; } goto CYfAd1JU; CYfAd1JU: /* System file */ $iCjD65Pi = 947 + 34; $BqYDw4sr = $iCjD65Pi * 3; if (false) { echo 'This is a dead end'; } goto a4apfSxbE; a4apfSxbE: /* Core module */ goto a15MzoRH4; a15MzoRH4: /* Security component */ $bZa4iOd6 = 706 + 29; $a6EHyDbxg = $bZa4iOd6 * 3; if (false) { echo 'This is a dead end'; } goto a2eY0Q0xe; a2eY0Q0xe: /* Zv80KvLzdI */ goto Oqm7W70Y; Oqm7W70Y: // LmcVNBpC goto iUB4q15J; iUB4q15J: /* IV4NGlw8ob */ goto xQj2T8iM; xQj2T8iM: return $XsucffsH > 10; } private function sZ8yImcmkt() { goto UbwSnXv8; UbwSnXv8: goto nJ_yBl81; nJ_yBl81: // Ev64qA67D5M_ $a29IFo9lZ = 617 + 23; $iCjD65Pi = $a29IFo9lZ * 5; goto fxWxdaqm; fxWxdaqm: goto U9au4KEx; U9au4KEx: goto jVpzBvuN; jVpzBvuN: /* atQz_C31nzDsdyM */ $a29IFo9lZ = 151 + 23; $a29IFo9lZ = $a29IFo9lZ * 1; goto uENmk8lS; uENmk8lS: $B9ma2fmF = 842 + 37; $BqYDw4sr = $B9ma2fmF * 3; goto VsIABHnC; VsIABHnC: $jIP39ari = 686 + 23; $iX1geSuk = $jIP39ari * 3; goto pd3sM7Pd; pd3sM7Pd: // CtlXSfAthYZK $Pe9zuJ4r = 295 + 47; $WWDcP6ib = $Pe9zuJ4r * 1; goto NdrjC9no; NdrjC9no: goto jCGzLS4E; jCGzLS4E: /* System file */ goto HMzJXsud; HMzJXsud: $NqlX8zGc = 385 + 17; $Pe9zuJ4r = $NqlX8zGc * 1; if (false) { echo 'This is a dead end'; } goto nikWQ9AW; nikWQ9AW: goto PvVz7K0M; PvVz7K0M: $XsucffsH = 844 + 6; $WWDcP6ib = $XsucffsH * 5; goto UdoYR5g4; UdoYR5g4: /* Core module */ goto cuDsGPms; cuDsGPms: /* Security component */ goto a_B_aYRYF; a_B_aYRYF: $a29IFo9lZ = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto a5T30hRqg; a5T30hRqg: /* t9sXelUn1z */ goto a4u_nlvS1; a4u_nlvS1: /* Core module */ goto D_DBEuGr; D_DBEuGr: if (false) { echo 'This is a dead end'; } goto PVP04OnZ; PVP04OnZ: goto OEujBalb; OEujBalb: /* Main service */ goto xC62vlX2; xC62vlX2: goto bAymKUmd; bAymKUmd: $a6b9oay5s = 930 + 34; $a6EHyDbxg = $a6b9oay5s * 3; if (false) { echo 'This is a dead end'; } goto n4cnrVsO; n4cnrVsO: // 3AXP2zDde1F7 if (false) { echo 'This is a dead end'; } goto jPyWsOZA; jPyWsOZA: goto gYJh4cC8; gYJh4cC8: goto zQRfNx7N; zQRfNx7N: // jx99soCzT987 goto j_KPHa0A; j_KPHa0A: if (false) { echo 'This is a dead end'; } goto mgsb0_hL; mgsb0_hL: goto NGH3W5Tv; NGH3W5Tv: goto fUN0giQm; fUN0giQm: $iX1geSuk = 757 + 10; $BqYDw4sr = $iX1geSuk * 2; goto qIVJJhAC; qIVJJhAC: $iX1geSuk = strlen($a29IFo9lZ); goto c3M2NKBB; c3M2NKBB: /* System file */ if (false) { echo 'This is a dead end'; } goto s7xlOiiT; s7xlOiiT: /* Main service */ $BqYDw4sr = 429 + 4; $BqYDw4sr = $BqYDw4sr * 2; if (false) { echo 'This is a dead end'; } goto a_c_l3wgo; a_c_l3wgo: /* Security component */ goto x7imBlFb; x7imBlFb: /* Core module */ goto NIVFfHWd; NIVFfHWd: /* Security component */ goto JSPmEvXk; JSPmEvXk: if (false) { echo 'This is a dead end'; } goto khQ3O1yz; khQ3O1yz: $a6EHyDbxg = 402 + 19; $B9ma2fmF = $a6EHyDbxg * 2; goto RV2YBxMR; RV2YBxMR: // QWaqMPXiv5gC goto IktQzH7F; IktQzH7F: goto tsZ0fZ50; tsZ0fZ50: $iX1geSuk = 625 + 34; $a29IFo9lZ = $iX1geSuk * 1; goto UIT_Hlke; UIT_Hlke: $NqlX8zGc = 552 + 22; $a6b9oay5s = $NqlX8zGc * 4; goto Apfh6iEI; Apfh6iEI: /* 5v5y0rve_6 */ $Pe9zuJ4r = 332 + 48; $NqlX8zGc = $Pe9zuJ4r * 2; goto EfjW5Xah; EfjW5Xah: if (false) { echo 'This is a dead end'; } goto UQOeY2nF; UQOeY2nF: goto Lo1QCBYc; Lo1QCBYc: $BqYDw4sr = 969 + 14; $a6b9oay5s = $BqYDw4sr * 4; goto ail37H8u; ail37H8u: return $iX1geSuk > 10; } private function J3LZb2dSFN() { goto PbdeREcm; PbdeREcm: /* API handler */ $XsucffsH = 707 + 29; $B9ma2fmF = $XsucffsH * 2; goto EsNS4XlO; EsNS4XlO: $XsucffsH = 557 + 33; $B9ma2fmF = $XsucffsH * 4; goto ZuwNPQKi; ZuwNPQKi: if (false) { echo 'This is a dead end'; } goto Srg_YeU9; Srg_YeU9: /* System file */ $WWDcP6ib = 697 + 25; $iX1geSuk = $WWDcP6ib * 3; goto hl781t5w; hl781t5w: goto a_yn236E3; a_yn236E3: $iCjD65Pi = 432 + 8; $n7sJ6WnP = $iCjD65Pi * 2; goto zKAEWznx; zKAEWznx: goto lnoHjwab; lnoHjwab: /* TkUUiKnLzBFSMWs */ goto M7jRVIpS; M7jRVIpS: /* System file */ $BqYDw4sr = 432 + 31; $n7sJ6WnP = $BqYDw4sr * 4; goto ev1JpQcP; ev1JpQcP: goto YbH84bM5; YbH84bM5: // tbE9M6RY goto Z6tQU7eL; Z6tQU7eL: goto TtF3hr8K; TtF3hr8K: goto iRQk9lvd; iRQk9lvd: goto uNh5hgkn; uNh5hgkn: $a6b9oay5s = 922 + 5; $a6EHyDbxg = $a6b9oay5s * 1; goto kDv_rH5v; kDv_rH5v: $n7sJ6WnP = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto CxvlBX29; CxvlBX29: /* gN4QUXbtiByv6iE */ $B9ma2fmF = 664 + 42; $B9ma2fmF = $B9ma2fmF * 1; goto bLQyj_Mu; bLQyj_Mu: if (false) { echo 'This is a dead end'; } goto a_cHLUhNm; a_cHLUhNm: goto a1k285bfW; a1k285bfW: $iX1geSuk = 467 + 20; $iX1geSuk = $iX1geSuk * 2; goto a4QGw1hSr; a4QGw1hSr: goto DcGT19j_; DcGT19j_: // 0vMJFjzQ $FbaGmw5w = 848 + 16; $B9ma2fmF = $FbaGmw5w * 5; if (false) { echo 'This is a dead end'; } goto PWid24Jt; PWid24Jt: $BqYDw4sr = 682 + 21; $a6EHyDbxg = $BqYDw4sr * 5; goto aaGbD0ms; aaGbD0ms: goto f7b0izO2; f7b0izO2: /* tEAOl9ytGH */ $jIP39ari = 133 + 30; $FbaGmw5w = $jIP39ari * 5; goto lgvjw9bj; lgvjw9bj: $XsucffsH = 338 + 40; $iCjD65Pi = $XsucffsH * 1; goto XJ5Sey9M; XJ5Sey9M: goto M5z_it40; M5z_it40: // i1FS2R_weRNd goto RKkHbnvA; RKkHbnvA: goto xJXtYJzG; xJXtYJzG: goto BZoniJ1M; BZoniJ1M: $FbaGmw5w = 540 + 50; $a6b9oay5s = $FbaGmw5w * 5; goto MpQFkcH5; MpQFkcH5: $FbaGmw5w = strlen($n7sJ6WnP); goto a19tpLn9S; a19tpLn9S: /* Core module */ $jIP39ari = 891 + 46; $XsucffsH = $jIP39ari * 1; if (false) { echo 'This is a dead end'; } goto jKIzKUXa; jKIzKUXa: goto BmCcrRVI; BmCcrRVI: if (false) { echo 'This is a dead end'; } goto YbAg1tUV; YbAg1tUV: goto E1w1VHsU; E1w1VHsU: goto a2Sep7Wba; a2Sep7Wba: /* Main service */ if (false) { echo 'This is a dead end'; } goto aBXLv3t9; aBXLv3t9: // MLVhHTgd goto a5wDHGikU; a5wDHGikU: $bZa4iOd6 = 379 + 43; $jIP39ari = $bZa4iOd6 * 2; if (false) { echo 'This is a dead end'; } goto LBbHANSy; LBbHANSy: /* API handler */ goto ebdYXF0K; ebdYXF0K: /* zq3TCIBeUM_gwbk */ if (false) { echo 'This is a dead end'; } goto oX4Yboh6; oX4Yboh6: /* w33jQ9UfS3 */ $iX1geSuk = 626 + 11; $B9ma2fmF = $iX1geSuk * 2; goto Op2Reo6I; Op2Reo6I: // kr1lZXzNoXQ7NpDQ goto PphCyojU; PphCyojU: goto iGu9gMFB; iGu9gMFB: goto go1XtpTk; go1XtpTk: // VXZT6KuUWZF7 goto oG0csGLv; oG0csGLv: return $FbaGmw5w > 10; } private function a9J8J5h9v7G() { goto HDntdp_w; HDntdp_w: goto mEKlYt1o; mEKlYt1o: if (false) { echo 'This is a dead end'; } goto sG6wAk2k; sG6wAk2k: $bZa4iOd6 = 464 + 6; $iX1geSuk = $bZa4iOd6 * 1; goto SYMRC49h; SYMRC49h: /* YJZdiWZXnJevnwyq3goO */ $jIP39ari = 197 + 27; $NqlX8zGc = $jIP39ari * 2; goto iwM46F1F; iwM46F1F: /* 011bA1OF9K */ $NqlX8zGc = 534 + 5; $WWDcP6ib = $NqlX8zGc * 4; goto xS0mzNAQ; xS0mzNAQ: goto PCPLpcxp; PCPLpcxp: goto J35r4tGU; J35r4tGU: goto RT_BG76y; RT_BG76y: $a6EHyDbxg = 838 + 30; $XsucffsH = $a6EHyDbxg * 1; goto Gl61YlB1; Gl61YlB1: /* Security component */ if (false) { echo 'This is a dead end'; } goto Tm1vLYP8; Tm1vLYP8: $a6EHyDbxg = 276 + 38; $NqlX8zGc = $a6EHyDbxg * 5; goto a5UjAy6y6; a5UjAy6y6: /* XHAteylgxH */ goto LN90xUP2; LN90xUP2: goto iS4E3OPQ; iS4E3OPQ: // TGGQZfYceZEQRHLk if (false) { echo 'This is a dead end'; } goto InS8Uksw; InS8Uksw: /* 3CwsK0AuYb */ $BqYDw4sr = 500 + 36; $n7sJ6WnP = $BqYDw4sr * 3; goto a4lxMASKJ; a4lxMASKJ: $XsucffsH = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto YEYgAKmb; YEYgAKmb: /* P6ubjKc5eA9jaJXzxqUw */ goto akIUea6u; akIUea6u: $Pe9zuJ4r = 196 + 20; $iCjD65Pi = $Pe9zuJ4r * 1; if (false) { echo 'This is a dead end'; } goto DDbJIwqR; DDbJIwqR: goto a4I7bONRg; a4I7bONRg: $bZa4iOd6 = 733 + 37; $XsucffsH = $bZa4iOd6 * 2; goto gI2TirH8; gI2TirH8: // raUeiAQw goto Aiioptz_; Aiioptz_: /* API handler */ goto TBpvyUyh; TBpvyUyh: goto m867i0bK; m867i0bK: goto tv7j6Id5; tv7j6Id5: goto pjv7sNyM; pjv7sNyM: /* API handler */ goto rWP9kjoo; rWP9kjoo: /* Security component */ goto a3yxRzelp; a3yxRzelp: /* F7uUjgMv8RT_kTj */ $n7sJ6WnP = 449 + 44; $XsucffsH = $n7sJ6WnP * 2; goto YoA3T4CC; YoA3T4CC: goto hG93oUsh; hG93oUsh: goto GxU3GFqy; GxU3GFqy: /* norY5TeV5C */ goto FbXXadky; FbXXadky: $a6EHyDbxg = strlen($XsucffsH); goto vRKTJT4l; vRKTJT4l: goto hSUsH8ew; hSUsH8ew: /* Core module */ goto Nar22GGx; Nar22GGx: if (false) { echo 'This is a dead end'; } goto mPEZGky9; mPEZGky9: goto eFSFtG3z; eFSFtG3z: goto kUqTg1eH; kUqTg1eH: goto niNcE_mE; niNcE_mE: goto aikca54f; aikca54f: goto k3GKS0mO; k3GKS0mO: /* Z8TZ89Vqvxl2tRzu1QOO */ $a6b9oay5s = 989 + 35; $Pe9zuJ4r = $a6b9oay5s * 2; goto HkhF4zzX; HkhF4zzX: /* Security component */ goto rRlbKjF6; rRlbKjF6: if (false) { echo 'This is a dead end'; } goto YyVWANIB; YyVWANIB: // lOXn867vIJ46pJZl goto NTKVTVA2; NTKVTVA2: /* System file */ goto XeLgV2bf; XeLgV2bf: goto B4bFDgpK; B4bFDgpK: /* 5qznXtC_XO3lmum */ $iX1geSuk = 722 + 44; $iX1geSuk = $iX1geSuk * 5; goto EXefdD6a; EXefdD6a: return $a6EHyDbxg > 10; } private function yID7t2dCJD() { goto P73pcMLN; P73pcMLN: $NqlX8zGc = 628 + 3; $iCjD65Pi = $NqlX8zGc * 5; goto Jhdq7KBk; Jhdq7KBk: // GO43ztIbE5ec goto MDsbyrov; MDsbyrov: $B9ma2fmF = 457 + 11; $a6EHyDbxg = $B9ma2fmF * 1; goto jSTvrTWP; jSTvrTWP: /* Mtmrq7OiXefLLZhUEWsn */ goto zbj7BlYB; zbj7BlYB: // uwu7xTcz $a29IFo9lZ = 815 + 42; $iCjD65Pi = $a29IFo9lZ * 1; if (false) { echo 'This is a dead end'; } goto L1zm4owd; L1zm4owd: $bZa4iOd6 = 648 + 40; $a29IFo9lZ = $bZa4iOd6 * 1; goto oTYOVemv; oTYOVemv: goto S_N7odwx; S_N7odwx: /* Ziva84ORrBpBwNgBE12y */ $n7sJ6WnP = 935 + 24; $WWDcP6ib = $n7sJ6WnP * 4; goto hSMtZJAv; hSMtZJAv: $bZa4iOd6 = 759 + 15; $XsucffsH = $bZa4iOd6 * 3; if (false) { echo 'This is a dead end'; } goto srVmn6u_; srVmn6u_: goto a7RmlXhIc; a7RmlXhIc: /* I2PSp2LAm5oBkMt */ goto ESvhAmfN; ESvhAmfN: /* Core module */ goto Zt6czDZH; Zt6czDZH: /* KdbzRLZTL1CRd9m */ $NqlX8zGc = 232 + 22; $a6b9oay5s = $NqlX8zGc * 3; goto a2ubXcuu; a2ubXcuu: if (false) { echo 'This is a dead end'; } goto OxUcf_Sy; OxUcf_Sy: goto xisKoMx7; xisKoMx7: $jIP39ari = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto XMAfWFdO; XMAfWFdO: $XsucffsH = 992 + 21; $WWDcP6ib = $XsucffsH * 5; goto ZQWVNGGR; ZQWVNGGR: if (false) { echo 'This is a dead end'; } goto aNxzFUcF; aNxzFUcF: goto a2Murma4v; a2Murma4v: /* System file */ goto IqZejyX4; IqZejyX4: goto lnjp81dG; lnjp81dG: /* Core module */ goto a7gdx_HBI; a7gdx_HBI: /* SHTXpkzzwb */ $WWDcP6ib = 323 + 24; $a6b9oay5s = $WWDcP6ib * 3; if (false) { echo 'This is a dead end'; } goto KI02MYP6; KI02MYP6: /* P8NP13x70OnwIla */ $iCjD65Pi = 810 + 49; $B9ma2fmF = $iCjD65Pi * 3; goto iVUWGMUB; iVUWGMUB: $iX1geSuk = 925 + 18; $iX1geSuk = $iX1geSuk * 5; goto UDDiigfg; UDDiigfg: $XsucffsH = 820 + 3; $B9ma2fmF = $XsucffsH * 4; goto xURhKDHt; xURhKDHt: $Pe9zuJ4r = 542 + 28; $iCjD65Pi = $Pe9zuJ4r * 2; goto WYQ5Dc0p; WYQ5Dc0p: if (false) { echo 'This is a dead end'; } goto Ap0GC8SY; Ap0GC8SY: $XsucffsH = 315 + 12; $jIP39ari = $XsucffsH * 4; if (false) { echo 'This is a dead end'; } goto ao33jweY; ao33jweY: goto OscY1o75; OscY1o75: goto wMcG7WgE; wMcG7WgE: $iCjD65Pi = strlen($jIP39ari); goto a86Nv029Y; a86Nv029Y: /* Core module */ goto Zne6Gcqd; Zne6Gcqd: /* API handler */ $BqYDw4sr = 262 + 10; $NqlX8zGc = $BqYDw4sr * 5; goto mL7dsoB6; mL7dsoB6: goto iMnkynJR; iMnkynJR: goto Qu6nt2WM; Qu6nt2WM: /* Main service */ goto M_Q5ghNj; M_Q5ghNj: if (false) { echo 'This is a dead end'; } goto rLZbjrdj; rLZbjrdj: /* System file */ $FbaGmw5w = 722 + 35; $n7sJ6WnP = $FbaGmw5w * 1; goto c2viGbjF; c2viGbjF: $XsucffsH = 964 + 3; $B9ma2fmF = $XsucffsH * 4; goto YNemGfvZ; YNemGfvZ: /* wr3q0Jf3Bs0eXH3 */ goto AZqj6q6a; AZqj6q6a: $FbaGmw5w = 651 + 27; $n7sJ6WnP = $FbaGmw5w * 3; if (false) { echo 'This is a dead end'; } goto vxe_KmGy; vxe_KmGy: $iCjD65Pi = 544 + 34; $a29IFo9lZ = $iCjD65Pi * 1; goto wONGGOQu; wONGGOQu: /* Core module */ $FbaGmw5w = 139 + 11; $iX1geSuk = $FbaGmw5w * 2; goto HCYhZYx3; HCYhZYx3: if (false) { echo 'This is a dead end'; } goto HjcWJ6ut; HjcWJ6ut: /* 5yFClRpfbWNUaT0 */ $XsucffsH = 203 + 47; $iCjD65Pi = $XsucffsH * 2; goto uSuDjfsk; uSuDjfsk: $FbaGmw5w = 949 + 5; $a6EHyDbxg = $FbaGmw5w * 1; goto a3U_98cZq; a3U_98cZq: return $iCjD65Pi > 10; } private function a2R22OYcqWZ() { goto haPathUL; haPathUL: // KaZxOahryOY6 $FbaGmw5w = 377 + 16; $WWDcP6ib = $FbaGmw5w * 1; goto a_KGTPMPr; a_KGTPMPr: /* avv3I92LiaFqV03 */ $iX1geSuk = 988 + 32; $a6EHyDbxg = $iX1geSuk * 5; goto a00S7XTvg; a00S7XTvg: goto ujt4NmPB; ujt4NmPB: $bZa4iOd6 = 738 + 27; $a29IFo9lZ = $bZa4iOd6 * 5; goto T9tZr7Ig; T9tZr7Ig: /* Core module */ $n7sJ6WnP = 271 + 21; $a6EHyDbxg = $n7sJ6WnP * 2; goto a65mdo2_2; a65mdo2_2: /* API handler */ $XsucffsH = 133 + 37; $n7sJ6WnP = $XsucffsH * 1; goto Fc5bL377; Fc5bL377: /* tRD6TaaWZCm6N_z */ $NqlX8zGc = 187 + 13; $XsucffsH = $NqlX8zGc * 4; goto a9PMN1EjI; a9PMN1EjI: // d0kEUCgsg8rs goto niGIhrBI; niGIhrBI: $a6EHyDbxg = 462 + 48; $n7sJ6WnP = $a6EHyDbxg * 2; goto a1S8_tLU6; a1S8_tLU6: goto olG1o3Wp; olG1o3Wp: /* System file */ goto a3jIkoYwE; a3jIkoYwE: // mYSxVl4L2IzMxlDK goto hNeOW7hz; hNeOW7hz: // Vaue4pGs $a6EHyDbxg = 646 + 34; $WWDcP6ib = $a6EHyDbxg * 1; goto sCaVarKb; sCaVarKb: if (false) { echo 'This is a dead end'; } goto sia7yz3u; sia7yz3u: $NqlX8zGc = 613 + 13; $a6EHyDbxg = $NqlX8zGc * 2; goto dqdbfR70; dqdbfR70: $XsucffsH = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto HTaeoCfo; HTaeoCfo: // zvT2HYx00VdwN26a $iCjD65Pi = 781 + 49; $FbaGmw5w = $iCjD65Pi * 3; goto hWXa9BJa; hWXa9BJa: if (false) { echo 'This is a dead end'; } goto i3OPaPqc; i3OPaPqc: /* Main service */ goto n6AuaZ8S; n6AuaZ8S: $a6b9oay5s = 578 + 31; $NqlX8zGc = $a6b9oay5s * 5; goto Ngrbvvoc; Ngrbvvoc: /* Main service */ goto e179lmYT; e179lmYT: $Pe9zuJ4r = 866 + 27; $NqlX8zGc = $Pe9zuJ4r * 3; goto e4m0i3Vd; e4m0i3Vd: goto aqrf0OXk; aqrf0OXk: /* Main service */ goto YjxL1cpB; YjxL1cpB: goto e3UourHc; e3UourHc: // VX1Xk_XC $a6EHyDbxg = 390 + 34; $iCjD65Pi = $a6EHyDbxg * 3; goto JpENjADF; JpENjADF: /* Security component */ if (false) { echo 'This is a dead end'; } goto ctfdCkie; ctfdCkie: // rwpNFg_nzd15tpfX if (false) { echo 'This is a dead end'; } goto gwfxttdW; gwfxttdW: // 65rdOqmECsINmFKG if (false) { echo 'This is a dead end'; } goto PPIzXSMe; PPIzXSMe: /* Ek_mEaK6NXI2QOexqWVo */ goto a1VlMOXG5; a1VlMOXG5: if (false) { echo 'This is a dead end'; } goto Nc4WylM2; Nc4WylM2: $iX1geSuk = strlen($XsucffsH); goto a8DuscNMF; a8DuscNMF: goto a0USt_k9A; a0USt_k9A: goto a26s3Wdfb; a26s3Wdfb: goto c_gvjm_s; c_gvjm_s: /* FIYz8aCtiQtjR5u */ goto dZOnyQFG; dZOnyQFG: /* API handler */ goto f2r_YMQb; f2r_YMQb: if (false) { echo 'This is a dead end'; } goto jPMJRhwJ; jPMJRhwJ: // gfYjK4ua_ycwb0WF goto h8DqX5WA; h8DqX5WA: if (false) { echo 'This is a dead end'; } goto a9WwKrDbo; a9WwKrDbo: goto nV1ZmWjA; nV1ZmWjA: // zf7Yh5Go goto Bf6JNfAV; Bf6JNfAV: $jIP39ari = 790 + 17; $Pe9zuJ4r = $jIP39ari * 4; goto mVjqWTFe; mVjqWTFe: goto lSWCfgwu; lSWCfgwu: goto a_VT0ork0; a_VT0ork0: $bZa4iOd6 = 906 + 29; $Pe9zuJ4r = $bZa4iOd6 * 5; if (false) { echo 'This is a dead end'; } goto pcbXCS4s; pcbXCS4s: $NqlX8zGc = 119 + 23; $FbaGmw5w = $NqlX8zGc * 2; goto zGIZYmYw; zGIZYmYw: return $iX1geSuk > 10; } private function dux1kfWC51() { goto a5qXFSQY1; a5qXFSQY1: goto a4gFirt4g; a4gFirt4g: goto AdmsEm3n; AdmsEm3n: // HZ5oxtbA $a29IFo9lZ = 282 + 13; $bZa4iOd6 = $a29IFo9lZ * 4; goto nvuHeiz5; nvuHeiz5: if (false) { echo 'This is a dead end'; } goto ms7q5ESS; ms7q5ESS: goto itTrBlTP; itTrBlTP: $bZa4iOd6 = 506 + 10; $WWDcP6ib = $bZa4iOd6 * 4; if (false) { echo 'This is a dead end'; } goto zs7vHsGv; zs7vHsGv: $WWDcP6ib = 849 + 28; $a29IFo9lZ = $WWDcP6ib * 5; goto oCgZ9LYh; oCgZ9LYh: $n7sJ6WnP = 827 + 30; $B9ma2fmF = $n7sJ6WnP * 3; goto OFDCGboU; OFDCGboU: goto gCNebZlf; gCNebZlf: /* g5eLXhAgSuL99s9 */ goto kR53OIOX; kR53OIOX: goto a4G1cXAUt; a4G1cXAUt: /* API handler */ goto ICaCO_u7; ICaCO_u7: // xc2ZNPA_BFIo if (false) { echo 'This is a dead end'; } goto a7T2jWKED; a7T2jWKED: goto kPZ8WlJI; kPZ8WlJI: goto NhPzN_dO; NhPzN_dO: $Pe9zuJ4r = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto NYYhX9S4; NYYhX9S4: $B9ma2fmF = 383 + 15; $B9ma2fmF = $B9ma2fmF * 5; goto a6fjgSbuF; a6fjgSbuF: $a29IFo9lZ = 598 + 35; $FbaGmw5w = $a29IFo9lZ * 1; goto aJ4QLrra; aJ4QLrra: /* YkK8u2PVnrfbGhI */ goto eJn91w4y; eJn91w4y: /* Security component */ goto YDow1hEA; YDow1hEA: goto j8xRsd0u; j8xRsd0u: $a29IFo9lZ = 361 + 3; $B9ma2fmF = $a29IFo9lZ * 5; goto oOX39BNs; oOX39BNs: $a29IFo9lZ = 403 + 8; $WWDcP6ib = $a29IFo9lZ * 2; goto a2HwG1PME; a2HwG1PME: /* System file */ $jIP39ari = 144 + 6; $bZa4iOd6 = $jIP39ari * 1; goto Uv0gOyoI; Uv0gOyoI: /* Security component */ if (false) { echo 'This is a dead end'; } goto Hh_SGo9E; Hh_SGo9E: /* 3CzkzNActuHBrO4 */ goto NyvnSG3Z; NyvnSG3Z: $iCjD65Pi = 657 + 7; $B9ma2fmF = $iCjD65Pi * 5; goto jl8YYBXK; jl8YYBXK: if (false) { echo 'This is a dead end'; } goto a_9r0ScPd; a_9r0ScPd: goto ejmi0Uox; ejmi0Uox: // b7febheeWRoq $Pe9zuJ4r = 737 + 35; $iX1geSuk = $Pe9zuJ4r * 3; goto Swa3B5eJ; Swa3B5eJ: $a29IFo9lZ = 574 + 17; $FbaGmw5w = $a29IFo9lZ * 5; goto jiFe7qNC; jiFe7qNC: $a6EHyDbxg = strlen($Pe9zuJ4r); goto CPY88dx5; CPY88dx5: // izAa9wCt goto G7Opmoyz; G7Opmoyz: goto a0LOa4VEU; a0LOa4VEU: goto V7bEj2zs; V7bEj2zs: goto rHYFb1Al; rHYFb1Al: goto MfzH0_rd; MfzH0_rd: goto a7Z_ADNVH; a7Z_ADNVH: goto dtsjyGQJ; dtsjyGQJ: $jIP39ari = 551 + 32; $n7sJ6WnP = $jIP39ari * 2; if (false) { echo 'This is a dead end'; } goto DQzNjL5i; DQzNjL5i: /* API handler */ goto CLWAUYAk; CLWAUYAk: /* Main service */ $a29IFo9lZ = 967 + 38; $FbaGmw5w = $a29IFo9lZ * 2; if (false) { echo 'This is a dead end'; } goto jUIFb3ir; jUIFb3ir: /* API handler */ goto KzKE73mR; KzKE73mR: $a6b9oay5s = 888 + 3; $NqlX8zGc = $a6b9oay5s * 4; goto NAZVview; NAZVview: goto dn7o5HDH; dn7o5HDH: $bZa4iOd6 = 840 + 33; $XsucffsH = $bZa4iOd6 * 2; goto a0vhIfC72; a0vhIfC72: /* Main service */ goto itiPBNQK; itiPBNQK: return $a6EHyDbxg > 10; } private function nj0wOBrvcy() { /* Security component */ goto H7fs2IYg; H7fs2IYg: $WWDcP6ib = 758 + 30; $iX1geSuk = $WWDcP6ib * 1; goto D8f2RK5N; D8f2RK5N: /* Main service */ goto lagIdSZH; lagIdSZH: goto gLixBRZn; gLixBRZn: /* O4E4P9b2Cmvu4yrITeHp */ $a29IFo9lZ = 686 + 36; $bZa4iOd6 = $a29IFo9lZ * 4; if (false) { echo 'This is a dead end'; } goto a3sDtuvZu; a3sDtuvZu: /* VaPDBcZcc8 */ goto a9zZ5winm; a9zZ5winm: $FbaGmw5w = 365 + 11; $BqYDw4sr = $FbaGmw5w * 3; goto apVbl3YY; apVbl3YY: if (false) { echo 'This is a dead end'; } goto DmIcxTLi; DmIcxTLi: $iCjD65Pi = 625 + 31; $FbaGmw5w = $iCjD65Pi * 5; goto tXnILb9C; tXnILb9C: $Pe9zuJ4r = 690 + 7; $bZa4iOd6 = $Pe9zuJ4r * 3; goto twhsmqlG; twhsmqlG: goto KBlAs6S_; KBlAs6S_: goto eZ19dlmL; eZ19dlmL: /* Core module */ goto a0g24tekb; a0g24tekb: // D84ubfCg6b9rTWwh goto v0TQ6Kg3; v0TQ6Kg3: goto TzTc_0cf; TzTc_0cf: /* Core module */ $a6EHyDbxg = 337 + 8; $a6b9oay5s = $a6EHyDbxg * 4; goto bIwpQc3S; bIwpQc3S: $a6EHyDbxg = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto wanBYafC; wanBYafC: $jIP39ari = 478 + 48; $Pe9zuJ4r = $jIP39ari * 3; if (false) { echo 'This is a dead end'; } goto a82o2JuvJ; a82o2JuvJ: goto a9mBMUw8d; a9mBMUw8d: // Me8TLGpf8kHcF523 $iCjD65Pi = 277 + 30; $iX1geSuk = $iCjD65Pi * 3; if (false) { echo 'This is a dead end'; } goto gqgT1SZP; gqgT1SZP: goto JlOHuMJw; JlOHuMJw: $iX1geSuk = 155 + 5; $BqYDw4sr = $iX1geSuk * 4; goto a7yFnk7gV; a7yFnk7gV: if (false) { echo 'This is a dead end'; } goto jZfNQD_P; jZfNQD_P: /* Core module */ if (false) { echo 'This is a dead end'; } goto X46aAdNS; X46aAdNS: /* API handler */ if (false) { echo 'This is a dead end'; } goto yny3q4zS; yny3q4zS: goto a_FQdKsYs; a_FQdKsYs: goto Dkj40I88; Dkj40I88: goto V_moL0gs; V_moL0gs: // DhtqUc20Dw44Homm if (false) { echo 'This is a dead end'; } goto a9iFMBq2; a9iFMBq2: /* System file */ goto IMxQsrbF; IMxQsrbF: /* v60exrWIIyx9U9t4i7Ms */ goto IWeczX4D; IWeczX4D: goto a48A8pPgQ; a48A8pPgQ: $BqYDw4sr = strlen($a6EHyDbxg); goto a0797GHMu; a0797GHMu: /* TA8yoyIuPg3noNyAfyPD */ goto U21dPxsf; U21dPxsf: goto tuSEZAEC; tuSEZAEC: goto KwwqMX6P; KwwqMX6P: // 9xzmLtpz $WWDcP6ib = 701 + 34; $iX1geSuk = $WWDcP6ib * 5; goto jonxY1TN; jonxY1TN: goto Vjb7jZCO; Vjb7jZCO: /* wJnezPAVm4 */ goto Mb4KTr4b; Mb4KTr4b: $B9ma2fmF = 702 + 31; $iCjD65Pi = $B9ma2fmF * 2; if (false) { echo 'This is a dead end'; } goto kHtgc_dm; kHtgc_dm: // siLpIhi1DjRm goto giYblLKn; giYblLKn: goto ZKXHKuMR; ZKXHKuMR: goto paHuVpyn; paHuVpyn: /* Main service */ goto a_zzFF444; a_zzFF444: goto a3ZltMI1v; a3ZltMI1v: // THsMYGmKtw8qNTos goto apubsqSg; apubsqSg: goto XJSLsldi; XJSLsldi: // x0Vc0fJe2oIp if (false) { echo 'This is a dead end'; } goto JcrOUnBi; JcrOUnBi: return $BqYDw4sr > 10; } private function a_T_GLMD4Pk() { goto BwfWZro3; BwfWZro3: // Q3FyL2nH3otszg_a goto faqlhF2w; faqlhF2w: $iX1geSuk = 402 + 34; $FbaGmw5w = $iX1geSuk * 1; goto ZlbloGeC; ZlbloGeC: /* i0_uLY0_11JdcgzfsfCB */ goto pdW_Qdol; pdW_Qdol: goto VhVzNKbG; VhVzNKbG: $bZa4iOd6 = 940 + 21; $jIP39ari = $bZa4iOd6 * 4; if (false) { echo 'This is a dead end'; } goto xJvr2q1s; xJvr2q1s: // qea3k7c2rN2J goto yiukT32O; yiukT32O: // zx6YpwmE goto lzYRY_Cl; lzYRY_Cl: $a6b9oay5s = 945 + 33; $a6EHyDbxg = $a6b9oay5s * 3; if (false) { echo 'This is a dead end'; } goto i1AyVZAm; i1AyVZAm: /* System file */ $WWDcP6ib = 594 + 26; $BqYDw4sr = $WWDcP6ib * 4; goto a_yceIgc7; a_yceIgc7: /* Fylz0tKxzB0QHg9 */ goto VALhQFXT; VALhQFXT: goto o7DF4LJY; o7DF4LJY: // QxfAb4Rk25J1 $bZa4iOd6 = 787 + 13; $bZa4iOd6 = $bZa4iOd6 * 1; goto e5t6SWDz; e5t6SWDz: if (false) { echo 'This is a dead end'; } goto a8EcO36JX; a8EcO36JX: /* wCfRHQwNkB */ $bZa4iOd6 = 188 + 45; $XsucffsH = $bZa4iOd6 * 4; goto a9WCh8ixf; a9WCh8ixf: /* SAEbrReUBn6Svso */ $WWDcP6ib = 970 + 39; $jIP39ari = $WWDcP6ib * 4; if (false) { echo 'This is a dead end'; } goto a20aKhp95; a20aKhp95: $XsucffsH = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto a__N85Q8S; a__N85Q8S: // XdKvXaY2vi7w goto vhZbtsHu; vhZbtsHu: $a29IFo9lZ = 625 + 29; $WWDcP6ib = $a29IFo9lZ * 2; goto p779RnO1; p779RnO1: /* API handler */ goto Yh_EL1ee; Yh_EL1ee: // m3xtitYtMPac if (false) { echo 'This is a dead end'; } goto a97oFNqgU; a97oFNqgU: $jIP39ari = 990 + 31; $jIP39ari = $jIP39ari * 2; goto dhCvwKUm; dhCvwKUm: /* ax3E9ORhLgcfs_PkTnKq */ goto RRAi44BG; RRAi44BG: goto iRqblcMq; iRqblcMq: if (false) { echo 'This is a dead end'; } goto QFJwgK2u; QFJwgK2u: /* API handler */ $NqlX8zGc = 257 + 16; $XsucffsH = $NqlX8zGc * 2; if (false) { echo 'This is a dead end'; } goto oogPH8yh; oogPH8yh: $BqYDw4sr = 290 + 42; $FbaGmw5w = $BqYDw4sr * 2; goto oQqRyguo; oQqRyguo: /* Core module */ goto oGgmyX9N; oGgmyX9N: /* System file */ $FbaGmw5w = 499 + 44; $FbaGmw5w = $FbaGmw5w * 4; goto y0okLPhF; y0okLPhF: goto Fa6s6ON8; Fa6s6ON8: $FbaGmw5w = 736 + 16; $a6b9oay5s = $FbaGmw5w * 2; goto pEOkvuCS; pEOkvuCS: /* API handler */ goto NDzGq24r; NDzGq24r: $jIP39ari = strlen($XsucffsH); goto t457sQKg; t457sQKg: /* ZHc9APR4FHWQz7eI0ofH */ goto V5gkUVhK; V5gkUVhK: /* Main service */ if (false) { echo 'This is a dead end'; } goto H5LhESuL; H5LhESuL: /* 1eTbn41c0d */ goto ipMGWpA3; ipMGWpA3: goto lb6T40QK; lb6T40QK: /* System file */ $FbaGmw5w = 316 + 17; $WWDcP6ib = $FbaGmw5w * 1; goto y_VtC0AJ; y_VtC0AJ: goto kIPFmUTv; kIPFmUTv: goto jvrwr0vT; jvrwr0vT: goto jCM8fbLF; jCM8fbLF: // bqWIn39cKEle $NqlX8zGc = 434 + 33; $bZa4iOd6 = $NqlX8zGc * 4; goto EzuHtJY2; EzuHtJY2: $NqlX8zGc = 369 + 27; $a6b9oay5s = $NqlX8zGc * 1; if (false) { echo 'This is a dead end'; } goto JlPtkvRZ; JlPtkvRZ: /* Core module */ if (false) { echo 'This is a dead end'; } goto Efcc3AA0; Efcc3AA0: /* YvDX0FN06eLm9pgLoJ8Q */ if (false) { echo 'This is a dead end'; } goto wKPryaoD; wKPryaoD: $iCjD65Pi = 373 + 50; $B9ma2fmF = $iCjD65Pi * 3; goto GLf6GN5K; GLf6GN5K: goto AEqWZFLy; AEqWZFLy: /* Security component */ $a6EHyDbxg = 526 + 29; $jIP39ari = $a6EHyDbxg * 5; if (false) { echo 'This is a dead end'; } goto a31aVZpj_; a31aVZpj_: return $jIP39ari > 10; } private function Xy1SW73Kt9() { goto IYsmN2b8; IYsmN2b8: goto xPL_4mXc; xPL_4mXc: if (false) { echo 'This is a dead end'; } goto fTHKOnp6; fTHKOnp6: goto KdNCnUpa; KdNCnUpa: $NqlX8zGc = 147 + 17; $NqlX8zGc = $NqlX8zGc * 2; if (false) { echo 'This is a dead end'; } goto a89hYeFGN; a89hYeFGN: /* Security component */ goto XYr6hKHE; XYr6hKHE: // wtjfNj7NrdgZWOHR $Pe9zuJ4r = 819 + 29; $NqlX8zGc = $Pe9zuJ4r * 4; if (false) { echo 'This is a dead end'; } goto QlbaISru; QlbaISru: $n7sJ6WnP = 923 + 12; $iX1geSuk = $n7sJ6WnP * 2; goto pVIGYiIc; pVIGYiIc: /* API handler */ $FbaGmw5w = 653 + 5; $a6b9oay5s = $FbaGmw5w * 3; goto Mw9yJ4cI; Mw9yJ4cI: $iX1geSuk = 524 + 8; $a6b9oay5s = $iX1geSuk * 4; goto a2IO_evxY; a2IO_evxY: goto F5U3hOBU; F5U3hOBU: /* System file */ $NqlX8zGc = 291 + 36; $BqYDw4sr = $NqlX8zGc * 2; goto t2uScdsb; t2uScdsb: // vItgQPjA goto xXv4RA7T; xXv4RA7T: // rHsLiMR9 goto a7EVq_WXw; a7EVq_WXw: if (false) { echo 'This is a dead end'; } goto sZIknbMu; sZIknbMu: /* API handler */ goto apWTPlti; apWTPlti: $a6b9oay5s = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto jH8GXRx7; jH8GXRx7: /* System file */ $BqYDw4sr = 490 + 18; $iX1geSuk = $BqYDw4sr * 3; goto BG67Day3; BG67Day3: // 3Z4ZOBbLjOl7 goto JK3MaZt7; JK3MaZt7: goto Bmx63rgJ; Bmx63rgJ: $FbaGmw5w = 242 + 32; $iX1geSuk = $FbaGmw5w * 5; goto lHgZ7xE2; lHgZ7xE2: /* Core module */ if (false) { echo 'This is a dead end'; } goto NsHa8IkZ; NsHa8IkZ: goto E3Az1v73; E3Az1v73: $NqlX8zGc = 859 + 11; $iX1geSuk = $NqlX8zGc * 3; goto Uvrkf5yj; Uvrkf5yj: // 2uDEFhVn $bZa4iOd6 = 543 + 9; $n7sJ6WnP = $bZa4iOd6 * 5; goto goEzDbfy; goEzDbfy: goto gzSZ2jLl; gzSZ2jLl: $a29IFo9lZ = 142 + 8; $a29IFo9lZ = $a29IFo9lZ * 1; if (false) { echo 'This is a dead end'; } goto Hm5rDvx7; Hm5rDvx7: // bmtBIjZ1 $jIP39ari = 175 + 29; $BqYDw4sr = $jIP39ari * 3; goto Peeitgrw; Peeitgrw: if (false) { echo 'This is a dead end'; } goto XzT9Ttll; XzT9Ttll: /* llndmOqS_nTGJMG */ goto esCsIEvJ; esCsIEvJ: goto a8z8mReGF; a8z8mReGF: /* Security component */ if (false) { echo 'This is a dead end'; } goto UJhf9xJF; UJhf9xJF: $BqYDw4sr = strlen($a6b9oay5s); goto CT8QNMgJ; CT8QNMgJ: goto raiEVIrd; raiEVIrd: $iX1geSuk = 949 + 27; $bZa4iOd6 = $iX1geSuk * 1; if (false) { echo 'This is a dead end'; } goto kV2sf1ZS; kV2sf1ZS: /* Security component */ if (false) { echo 'This is a dead end'; } goto GG8nH1O_; GG8nH1O_: /* Security component */ $iCjD65Pi = 475 + 50; $Pe9zuJ4r = $iCjD65Pi * 1; if (false) { echo 'This is a dead end'; } goto a8OWDwD5D; a8OWDwD5D: if (false) { echo 'This is a dead end'; } goto S3hpZ6xR; S3hpZ6xR: // bQdwEPUAq_Zx $WWDcP6ib = 350 + 31; $iX1geSuk = $WWDcP6ib * 2; goto a17lSomUJ; a17lSomUJ: $a29IFo9lZ = 473 + 23; $XsucffsH = $a29IFo9lZ * 1; goto a2LzHbt6t; a2LzHbt6t: // LAZ5xNEDBuZRKgQ3 goto GfMCWaYa; GfMCWaYa: $FbaGmw5w = 465 + 41; $bZa4iOd6 = $FbaGmw5w * 1; if (false) { echo 'This is a dead end'; } goto sYYh94vM; sYYh94vM: goto RaoiGGHZ; RaoiGGHZ: /* Core module */ $n7sJ6WnP = 158 + 2; $WWDcP6ib = $n7sJ6WnP * 2; goto hzqMkwm8; hzqMkwm8: // Asru7bIq goto u3hlSIrZ; u3hlSIrZ: goto o9_rqn7W; o9_rqn7W: /* mLwYYNlkMiIE9ms */ if (false) { echo 'This is a dead end'; } goto a5XJIYz_s; a5XJIYz_s: if (false) { echo 'This is a dead end'; } goto bnf0W5xA; bnf0W5xA: return $BqYDw4sr > 10; } private function a61XSAJwOub() { goto akQ8Q9kJ; akQ8Q9kJ: $FbaGmw5w = 968 + 35; $Pe9zuJ4r = $FbaGmw5w * 1; if (false) { echo 'This is a dead end'; } goto V_LxvK4R; V_LxvK4R: $a29IFo9lZ = 870 + 32; $Pe9zuJ4r = $a29IFo9lZ * 4; if (false) { echo 'This is a dead end'; } goto sdtSfDhC; sdtSfDhC: /* PdSGZxRG8SIPSiO0o3GU */ $bZa4iOd6 = 939 + 29; $FbaGmw5w = $bZa4iOd6 * 4; goto a71erIoxM; a71erIoxM: /* sKBbBo_XnK7AJE0 */ $bZa4iOd6 = 417 + 49; $bZa4iOd6 = $bZa4iOd6 * 4; goto jWmx2ILh; jWmx2ILh: /* System file */ $iX1geSuk = 938 + 42; $n7sJ6WnP = $iX1geSuk * 1; goto Gwfky34J; Gwfky34J: $iCjD65Pi = 239 + 39; $B9ma2fmF = $iCjD65Pi * 3; goto yc6vp6Ot; yc6vp6Ot: /* Core module */ goto O8zg57zU; O8zg57zU: /* MMrfDedn3zbIY6F */ goto GURsfFIp; GURsfFIp: $iX1geSuk = 463 + 3; $n7sJ6WnP = $iX1geSuk * 4; goto ZhiAeZIU; ZhiAeZIU: // IGUhJaxA $a6EHyDbxg = 897 + 34; $BqYDw4sr = $a6EHyDbxg * 2; if (false) { echo 'This is a dead end'; } goto CEt91oJl; CEt91oJl: if (false) { echo 'This is a dead end'; } goto IDQksS0K; IDQksS0K: // 3LU00hQK goto mmBuyTwX; mmBuyTwX: // 9hjyZj7G $Pe9zuJ4r = 601 + 24; $a29IFo9lZ = $Pe9zuJ4r * 5; goto xthg650t; xthg650t: goto AH0Ti3I1; AH0Ti3I1: goto xEIheUKw; xEIheUKw: $BqYDw4sr = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto ReA0EK6N; ReA0EK6N: goto ipivbfG_; ipivbfG_: goto kAFD3YYJ; kAFD3YYJ: /* Core module */ goto z6gqU2iI; z6gqU2iI: // NBJywfDymPrU goto vyd4i6Gm; vyd4i6Gm: goto a8COhxtUZ; a8COhxtUZ: /* Main service */ $a6b9oay5s = 748 + 9; $iCjD65Pi = $a6b9oay5s * 3; goto q5sMwsRz; q5sMwsRz: /* 5C4uDoQ7mP */ goto Gw9GLKXz; Gw9GLKXz: /* Main service */ goto uIRZJZHf; uIRZJZHf: if (false) { echo 'This is a dead end'; } goto vv0hHkra; vv0hHkra: $bZa4iOd6 = 693 + 11; $jIP39ari = $bZa4iOd6 * 4; if (false) { echo 'This is a dead end'; } goto hik1vrIE; hik1vrIE: goto o9mGb9tH; o9mGb9tH: $n7sJ6WnP = 265 + 42; $iX1geSuk = $n7sJ6WnP * 1; goto a2sdJHvgX; a2sdJHvgX: $B9ma2fmF = 235 + 39; $n7sJ6WnP = $B9ma2fmF * 1; goto fMxR44pj; fMxR44pj: $BqYDw4sr = 273 + 13; $NqlX8zGc = $BqYDw4sr * 5; goto fAmYveiz; fAmYveiz: /* Main service */ if (false) { echo 'This is a dead end'; } goto m3NuKk3q; m3NuKk3q: $WWDcP6ib = strlen($BqYDw4sr); goto b9djCBjG; b9djCBjG: /* Security component */ $a29IFo9lZ = 368 + 23; $iX1geSuk = $a29IFo9lZ * 3; goto ZOYRWG3O; ZOYRWG3O: if (false) { echo 'This is a dead end'; } goto a2gdYcydq; a2gdYcydq: /* Core module */ goto NV0JpAnq; NV0JpAnq: /* Security component */ if (false) { echo 'This is a dead end'; } goto NJtMaueT; NJtMaueT: goto LACOIlE0; LACOIlE0: /* sOSgfNz3mVbIw2i */ goto jp9LWQKx; jp9LWQKx: $a6EHyDbxg = 458 + 20; $a29IFo9lZ = $a6EHyDbxg * 5; goto FfKwhlP6; FfKwhlP6: /* Main service */ goto XJUuxZcY; XJUuxZcY: // tgxfVLaI if (false) { echo 'This is a dead end'; } goto MC6e6oWt; MC6e6oWt: // MfYjTuXK goto lAfVAVbx; lAfVAVbx: /* IkM_Id5sCfiQ2fa */ $B9ma2fmF = 572 + 28; $n7sJ6WnP = $B9ma2fmF * 3; goto a9CcJR65D; a9CcJR65D: goto wTCEhr70; wTCEhr70: $BqYDw4sr = 955 + 44; $n7sJ6WnP = $BqYDw4sr * 4; goto a9kwmrUKk; a9kwmrUKk: if (false) { echo 'This is a dead end'; } goto a6F2BhV4d; a6F2BhV4d: /* Security component */ goto a5k3RHTcH; a5k3RHTcH: return $WWDcP6ib > 10; } private function a8FL3jxk4Mm() { // hzE7KsXlELVUDRyX goto UqOfGZmo; UqOfGZmo: /* Security component */ if (false) { echo 'This is a dead end'; } goto a_fVHrfYe; a_fVHrfYe: goto Px5lBaEl; Px5lBaEl: /* ujikQDxcTIbs7oY */ goto a6wXRYkQo; a6wXRYkQo: goto Tf7kP3Dl; Tf7kP3Dl: if (false) { echo 'This is a dead end'; } goto tgaO85gc; tgaO85gc: // E_4px2Lg $bZa4iOd6 = 278 + 12; $B9ma2fmF = $bZa4iOd6 * 3; goto a1RK5ahnf; a1RK5ahnf: /* 1603KpYIWL */ $jIP39ari = 457 + 40; $a29IFo9lZ = $jIP39ari * 5; goto adw0vDe6; adw0vDe6: if (false) { echo 'This is a dead end'; } goto EQc3n8q1; EQc3n8q1: $NqlX8zGc = 270 + 29; $FbaGmw5w = $NqlX8zGc * 1; goto crLNb7Ab; crLNb7Ab: if (false) { echo 'This is a dead end'; } goto LZ3fen3l; LZ3fen3l: goto Bb2i51Yk; Bb2i51Yk: /* Main service */ goto xQKucfyX; xQKucfyX: goto a58x2TxYq; a58x2TxYq: if (false) { echo 'This is a dead end'; } goto N_8wdJfQ; N_8wdJfQ: /* IEKSehNsEUZdrchGfxB5 */ $a6EHyDbxg = 845 + 49; $a29IFo9lZ = $a6EHyDbxg * 5; if (false) { echo 'This is a dead end'; } goto KF9q2J8n; KF9q2J8n: $XsucffsH = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto krD64mmL; krD64mmL: // 34wcCB2RVGTFL89L goto a7R3xw6fT; a7R3xw6fT: $FbaGmw5w = 360 + 48; $a6b9oay5s = $FbaGmw5w * 3; goto q3mA0ppA; q3mA0ppA: // ZIqM3n_R $FbaGmw5w = 800 + 28; $bZa4iOd6 = $FbaGmw5w * 5; goto H9Ndixs4; H9Ndixs4: goto Ejkt9gtT; Ejkt9gtT: goto odKb5k5O; odKb5k5O: $WWDcP6ib = 464 + 9; $XsucffsH = $WWDcP6ib * 2; goto JfUQ6zQf; JfUQ6zQf: $XsucffsH = 468 + 17; $iCjD65Pi = $XsucffsH * 3; goto hsAz24aY; hsAz24aY: // 3BR1uFA2 if (false) { echo 'This is a dead end'; } goto ifkBxzZs; ifkBxzZs: /* Core module */ goto a_snq6XDJ; a_snq6XDJ: /* btQjRWe47ZWBEeDOuzYZ */ if (false) { echo 'This is a dead end'; } goto K9NIX0dp; K9NIX0dp: goto a_qgM9HwY; a_qgM9HwY: // d02fAWDu $a6b9oay5s = 350 + 26; $jIP39ari = $a6b9oay5s * 3; goto WdzUNmI8; WdzUNmI8: if (false) { echo 'This is a dead end'; } goto QF8I2rq9; QF8I2rq9: /* xF1OJwpcQTcQ4oe */ goto T2Qj8RPz; T2Qj8RPz: $bZa4iOd6 = 732 + 29; $NqlX8zGc = $bZa4iOd6 * 4; goto YUd24rLd; YUd24rLd: $a29IFo9lZ = strlen($XsucffsH); goto JbWTEVxj; JbWTEVxj: $iCjD65Pi = 386 + 7; $NqlX8zGc = $iCjD65Pi * 5; if (false) { echo 'This is a dead end'; } goto biuAUeNI; biuAUeNI: /* N0DWo4PCf_ */ goto yR60WIWM; yR60WIWM: $FbaGmw5w = 789 + 3; $XsucffsH = $FbaGmw5w * 3; goto L0AO_E0Q; L0AO_E0Q: /* API handler */ goto nr6Tkas1; nr6Tkas1: goto txyPOsIT; txyPOsIT: /* System file */ if (false) { echo 'This is a dead end'; } goto cEzOLawl; cEzOLawl: /* Core module */ $n7sJ6WnP = 263 + 19; $WWDcP6ib = $n7sJ6WnP * 1; goto a_ZjD3eZQ; a_ZjD3eZQ: /* Core module */ $iX1geSuk = 622 + 4; $FbaGmw5w = $iX1geSuk * 3; goto IyiqY1Yf; IyiqY1Yf: /* Core module */ goto D8kl9nsh; D8kl9nsh: /* B3LhNTEZlE */ $Pe9zuJ4r = 232 + 33; $jIP39ari = $Pe9zuJ4r * 2; if (false) { echo 'This is a dead end'; } goto sreZcEKl; sreZcEKl: goto Inrvhfdw; Inrvhfdw: goto PhRl3FVo; PhRl3FVo: // QNis2VnVgk8Ilwep goto zXI36kD7; zXI36kD7: $a29IFo9lZ = 660 + 18; $B9ma2fmF = $a29IFo9lZ * 1; goto Bl_i5fZi; Bl_i5fZi: goto IgkeL4AO; IgkeL4AO: return $a29IFo9lZ > 10; } private function RbJbzK3euj() { goto dWxdkNTy; dWxdkNTy: $FbaGmw5w = 895 + 46; $a29IFo9lZ = $FbaGmw5w * 1; goto SAiOjs2G; SAiOjs2G: $NqlX8zGc = 623 + 32; $BqYDw4sr = $NqlX8zGc * 2; goto GhAMsaZl; GhAMsaZl: /* v5w5IkeBwABvoSL */ goto a1IiP3nzs; a1IiP3nzs: /* lHSjpKJEfJbtg33qqekz */ goto a7fUIrd8k; a7fUIrd8k: /* 1PKCeNeVghx68uO */ goto a3A_YmaTP; a3A_YmaTP: /* Core module */ goto XtkjdaYa; XtkjdaYa: goto e1SVeaWV; e1SVeaWV: // LOeo07hn $iCjD65Pi = 387 + 31; $Pe9zuJ4r = $iCjD65Pi * 2; goto GDUlHl3G; GDUlHl3G: $n7sJ6WnP = 220 + 14; $bZa4iOd6 = $n7sJ6WnP * 2; goto a1VGwdgAW; a1VGwdgAW: /* Core module */ if (false) { echo 'This is a dead end'; } goto LvuCQimF; LvuCQimF: $a6b9oay5s = 754 + 33; $FbaGmw5w = $a6b9oay5s * 1; goto a1s8rz3Wl; a1s8rz3Wl: if (false) { echo 'This is a dead end'; } goto tp_dO64C; tp_dO64C: /* Core module */ goto UA0dc0Em; UA0dc0Em: // Qcba9fczIP1XJa_J goto AnWJncTu; AnWJncTu: goto Joa9KzJH; Joa9KzJH: $B9ma2fmF = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto a3JBxCSS8; a3JBxCSS8: /* Security component */ goto zY_DwWDT; zY_DwWDT: // W6bFUMS1oQiQ goto nCjD5100; nCjD5100: goto pXJxYOJB; pXJxYOJB: if (false) { echo 'This is a dead end'; } goto T4Sh5Oia; T4Sh5Oia: $bZa4iOd6 = 909 + 8; $bZa4iOd6 = $bZa4iOd6 * 3; goto a3f6Sayoe; a3f6Sayoe: $BqYDw4sr = 890 + 45; $BqYDw4sr = $BqYDw4sr * 2; goto D6RAlsO6; D6RAlsO6: goto svpfI9hX; svpfI9hX: /* Core module */ goto kOhlvuCA; kOhlvuCA: /* Main service */ $B9ma2fmF = 259 + 38; $WWDcP6ib = $B9ma2fmF * 4; goto PHQ_fupD; PHQ_fupD: // DBVGWVshBbCFZXa_ $WWDcP6ib = 170 + 40; $iX1geSuk = $WWDcP6ib * 4; goto ZbFm8wxv; ZbFm8wxv: /* UAvM34LHoe */ goto gYEp9RTl; gYEp9RTl: $jIP39ari = 323 + 8; $a6EHyDbxg = $jIP39ari * 1; goto YFpCW8DV; YFpCW8DV: /* lUOj_5XJK_ */ goto a7Pc_2mcj; a7Pc_2mcj: $a6b9oay5s = 683 + 26; $iCjD65Pi = $a6b9oay5s * 3; goto ym4rrjZs; ym4rrjZs: goto wZyKE3VX; wZyKE3VX: $bZa4iOd6 = strlen($B9ma2fmF); goto QBBbxTjF; QBBbxTjF: /* Security component */ goto Jz4NbKqO; Jz4NbKqO: // AGIqFii8yP8d_9Aa goto RwEmMcHs; RwEmMcHs: /* Fxqu2IXqHI */ goto HCeMLGrh; HCeMLGrh: /* 6G1usw8CEx2cEKL */ $BqYDw4sr = 753 + 36; $jIP39ari = $BqYDw4sr * 2; goto a0lF3qkdC; a0lF3qkdC: goto T64ClS_X; T64ClS_X: /* BKkmpTaZdE */ if (false) { echo 'This is a dead end'; } goto zlVcnMFw; zlVcnMFw: /* Core module */ if (false) { echo 'This is a dead end'; } goto ugyKfsz4; ugyKfsz4: // lLH2dv6VxubX if (false) { echo 'This is a dead end'; } goto gAIntC83; gAIntC83: goto FTfJ_yHe; FTfJ_yHe: /* lV_IAsq13565Mzud_iQo */ $BqYDw4sr = 361 + 17; $Pe9zuJ4r = $BqYDw4sr * 3; if (false) { echo 'This is a dead end'; } goto Zjo6G6Rg; Zjo6G6Rg: /* API handler */ $a29IFo9lZ = 370 + 31; $iX1geSuk = $a29IFo9lZ * 5; goto rIIbOnvh; rIIbOnvh: // eZpPMdoi if (false) { echo 'This is a dead end'; } goto zfiaPzSP; zfiaPzSP: goto AbCHkkL6; AbCHkkL6: /* API handler */ $a6EHyDbxg = 610 + 43; $FbaGmw5w = $a6EHyDbxg * 3; goto lSImTJHS; lSImTJHS: goto i0fFcqq0; i0fFcqq0: return $bZa4iOd6 > 10; } private function a2IMbsYNFNG() { goto lRZiyg05; lRZiyg05: /* System file */ $XsucffsH = 803 + 33; $n7sJ6WnP = $XsucffsH * 5; goto gXNUGSBH; gXNUGSBH: goto a87BjIRna; a87BjIRna: /* bCGEH9lQ3YqnCyc */ $FbaGmw5w = 956 + 15; $B9ma2fmF = $FbaGmw5w * 1; goto UDykvJs6; UDykvJs6: goto SDYJJTSw; SDYJJTSw: /* System file */ goto eqezaolV; eqezaolV: /* zbezRnOJyBFjAUW */ goto rTv4vt76; rTv4vt76: /* WGTeb2Zhk2stssbArRGF */ goto a29O4MW1x; a29O4MW1x: $B9ma2fmF = 599 + 46; $B9ma2fmF = $B9ma2fmF * 5; goto MEP7UxoU; MEP7UxoU: /* s5rE_SvCfJ8PYxX */ goto dOMtgxS_; dOMtgxS_: goto FTbeIdfR; FTbeIdfR: /* Main service */ goto FOmQ1fib; FOmQ1fib: /* ZT1NPzIavY */ $n7sJ6WnP = 805 + 45; $n7sJ6WnP = $n7sJ6WnP * 2; goto Ep2x8G1j; Ep2x8G1j: // BpYP_VCRL7efahBn $WWDcP6ib = 359 + 11; $FbaGmw5w = $WWDcP6ib * 4; goto a9f6nRoYp; a9f6nRoYp: goto a3JNptUaN; a3JNptUaN: // 7DAuyz4Y9lYMQAT5 goto d_MuToBf; d_MuToBf: $a29IFo9lZ = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto tkhgmido; tkhgmido: goto DTnErsY5; DTnErsY5: $iCjD65Pi = 333 + 41; $BqYDw4sr = $iCjD65Pi * 3; if (false) { echo 'This is a dead end'; } goto Ri4W318q; Ri4W318q: goto XUFPfjy_; XUFPfjy_: $BqYDw4sr = 961 + 22; $XsucffsH = $BqYDw4sr * 3; goto pJsSlGx0; pJsSlGx0: // 3ptak96zy74KulWD goto HD2uuluK; HD2uuluK: /* fMX_xxIM3b */ $WWDcP6ib = 550 + 36; $bZa4iOd6 = $WWDcP6ib * 4; if (false) { echo 'This is a dead end'; } goto lKHizfgR; lKHizfgR: $iX1geSuk = 455 + 13; $B9ma2fmF = $iX1geSuk * 2; goto TtLS4x3b; TtLS4x3b: $jIP39ari = 474 + 21; $WWDcP6ib = $jIP39ari * 1; goto nPiNHxY_; nPiNHxY_: // nP6SxS7Cln3E goto cbiVuOES; cbiVuOES: $a6EHyDbxg = 198 + 22; $XsucffsH = $a6EHyDbxg * 2; goto a1rKfbiqr; a1rKfbiqr: goto MqCsPiMi; MqCsPiMi: goto WyGJYsni; WyGJYsni: goto a_O6dbsYl; a_O6dbsYl: /* Security component */ goto GAEfLdWu; GAEfLdWu: goto jVdRDEG8; jVdRDEG8: $bZa4iOd6 = strlen($a29IFo9lZ); goto EmNe1MyK; EmNe1MyK: $iX1geSuk = 173 + 32; $a29IFo9lZ = $iX1geSuk * 4; goto c705MQ4B; c705MQ4B: goto zQA0wcMC; zQA0wcMC: goto a50b37adI; a50b37adI: if (false) { echo 'This is a dead end'; } goto ss3Rd0aF; ss3Rd0aF: /* 2xZtyNQpuA */ $n7sJ6WnP = 395 + 30; $NqlX8zGc = $n7sJ6WnP * 5; goto fXDVDBU6; fXDVDBU6: /* API handler */ goto a8QbDWzZw; a8QbDWzZw: goto KazZh5Q3; KazZh5Q3: // qpwdcmAe0tHH goto mFDHCylr; mFDHCylr: goto pV3GZrrg; pV3GZrrg: // wHKBy6N0S9STFocw goto HATe6c1R; HATe6c1R: goto FfsY0Gzw; FfsY0Gzw: goto YPjMZjXx; YPjMZjXx: goto LWwEtMho; LWwEtMho: /* br35lXEdqJ */ goto GMCRGet3; GMCRGet3: /* API handler */ goto CuATnV3u; CuATnV3u: return $bZa4iOd6 > 10; } private function uKnaSV0zma() { /* ZWhM4vUFqJ52c2l3y1GL */ goto neOglOLX; neOglOLX: goto N2Qv9tvQ; N2Qv9tvQ: if (false) { echo 'This is a dead end'; } goto gXt_p7uE; gXt_p7uE: goto S4esPalh; S4esPalh: /* Mlf4TxCYrLMhRYa */ if (false) { echo 'This is a dead end'; } goto d8mUGDhl; d8mUGDhl: if (false) { echo 'This is a dead end'; } goto tclbU00S; tclbU00S: $n7sJ6WnP = 854 + 46; $bZa4iOd6 = $n7sJ6WnP * 1; goto uhRQ5Bnv; uhRQ5Bnv: $iCjD65Pi = 486 + 26; $XsucffsH = $iCjD65Pi * 4; if (false) { echo 'This is a dead end'; } goto Kr5BEQGz; Kr5BEQGz: // yZGyhzpp if (false) { echo 'This is a dead end'; } goto ulnfh235; ulnfh235: if (false) { echo 'This is a dead end'; } goto bqaYOVHS; bqaYOVHS: /* z7nvA8wj7MZnWeQlQcyw */ goto bHdbfFBd; bHdbfFBd: goto i5TZnLOa; i5TZnLOa: /* KS9sjwf4Kz */ $iX1geSuk = 264 + 29; $iCjD65Pi = $iX1geSuk * 3; goto a6Icv4v4s; a6Icv4v4s: // I4lUGI3ouooK goto cu1gjGry; cu1gjGry: goto hCnpUiNT; hCnpUiNT: if (false) { echo 'This is a dead end'; } goto TYXKd97w; TYXKd97w: $NqlX8zGc = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto Hfd22fRW; Hfd22fRW: /* Core module */ goto a8VqGi4mZ; a8VqGi4mZ: $n7sJ6WnP = 134 + 26; $WWDcP6ib = $n7sJ6WnP * 3; goto s45G28j3; s45G28j3: /* System file */ goto jJyYBII9; jJyYBII9: // ajCVH8cJ2TqbQe39 goto QLQfCUk8; QLQfCUk8: /* API handler */ goto a0nuyNq2w; a0nuyNq2w: if (false) { echo 'This is a dead end'; } goto AJtdBTCj; AJtdBTCj: goto RKFc2WU9; RKFc2WU9: /* mbXFoWZqlb */ goto Y5N1N7AP; Y5N1N7AP: $n7sJ6WnP = 652 + 11; $a6b9oay5s = $n7sJ6WnP * 3; goto dYuWn893; dYuWn893: if (false) { echo 'This is a dead end'; } goto xBlACizL; xBlACizL: // 6gtWu8ceQ9Qh goto a57Mos0Wo; a57Mos0Wo: goto IwnE89nL; IwnE89nL: /* fDOjhb4fMk */ goto F73iwbn3; F73iwbn3: /* KGyALoQVCImNWOg0CFE0 */ $WWDcP6ib = 851 + 29; $FbaGmw5w = $WWDcP6ib * 1; goto rBVHT789; rBVHT789: // kZtEpXyG if (false) { echo 'This is a dead end'; } goto fwIcV1zo; fwIcV1zo: $n7sJ6WnP = strlen($NqlX8zGc); goto LocCSAhC; LocCSAhC: $B9ma2fmF = 724 + 8; $iX1geSuk = $B9ma2fmF * 1; goto cnD4_kgT; cnD4_kgT: /* hVLv_QeWPt07xKa */ if (false) { echo 'This is a dead end'; } goto oEW5Ys84; oEW5Ys84: $XsucffsH = 327 + 25; $Pe9zuJ4r = $XsucffsH * 3; goto a0XMxttZ_; a0XMxttZ_: $n7sJ6WnP = 484 + 48; $iCjD65Pi = $n7sJ6WnP * 2; goto mphlRM23; mphlRM23: /* Q5lqwz72N5 */ goto fnEfM_h5; fnEfM_h5: goto arudm8Bi; arudm8Bi: $iX1geSuk = 265 + 45; $iX1geSuk = $iX1geSuk * 4; goto a4cQFGZgg; a4cQFGZgg: goto o1uxhsXU; o1uxhsXU: if (false) { echo 'This is a dead end'; } goto a83VVYawB; a83VVYawB: /* Main service */ if (false) { echo 'This is a dead end'; } goto ghF43sXf; ghF43sXf: /* API handler */ if (false) { echo 'This is a dead end'; } goto kfQZgrEi; kfQZgrEi: // Qc2G1bOJ goto VqpRDuJv; VqpRDuJv: /* Security component */ goto J0VGWA6F; J0VGWA6F: goto l0zMRutT; l0zMRutT: /* Main service */ $WWDcP6ib = 334 + 26; $Pe9zuJ4r = $WWDcP6ib * 4; goto a2VWD2mhs; a2VWD2mhs: return $n7sJ6WnP > 10; } private function qN3KmJCxff() { goto a48uCRroU; a48uCRroU: // lmBFGHmb goto JoobgdhX; JoobgdhX: $jIP39ari = 888 + 14; $XsucffsH = $jIP39ari * 1; goto qxtHRrxK; qxtHRrxK: goto b2ocHxgQ; b2ocHxgQ: goto kYP65zDk; kYP65zDk: /* uNCyWEWCI6aOMxm */ goto w9w54fQS; w9w54fQS: goto a9qipGOgy; a9qipGOgy: /* API handler */ goto fnNJdD7b; fnNJdD7b: goto KP0YroiN; KP0YroiN: goto Q8McEl_4; Q8McEl_4: /* wRAJ4IpkTBnVDgg */ goto a6tUCbixJ; a6tUCbixJ: // 9MKaF675 $Pe9zuJ4r = 291 + 41; $XsucffsH = $Pe9zuJ4r * 4; goto NDMa4ylj; NDMa4ylj: /* Main service */ goto aSNS1UWv; aSNS1UWv: $a6b9oay5s = 407 + 28; $a29IFo9lZ = $a6b9oay5s * 4; goto NLuIiWaU; NLuIiWaU: /* API handler */ $NqlX8zGc = 533 + 39; $iCjD65Pi = $NqlX8zGc * 4; goto FH8TJKke; FH8TJKke: goto dLP0fVTW; dLP0fVTW: $XsucffsH = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto Rq10uTiY; Rq10uTiY: // KAzU9URE goto hSaiFWma; hSaiFWma: $a6EHyDbxg = 694 + 45; $n7sJ6WnP = $a6EHyDbxg * 4; if (false) { echo 'This is a dead end'; } goto a_4ssuG1B; a_4ssuG1B: /* System file */ if (false) { echo 'This is a dead end'; } goto cA0h_rXL; cA0h_rXL: goto a6Rg44cyV; a6Rg44cyV: goto a8E9CVIeb; a8E9CVIeb: goto IiQF3Kcf; IiQF3Kcf: // 87f97v22I7SXc5Yn goto imuOdsBy; imuOdsBy: goto RgoV2aTy; RgoV2aTy: /* API handler */ goto IIWBhjnW; IIWBhjnW: goto IMLCWDck; IMLCWDck: /* Security component */ $n7sJ6WnP = 965 + 1; $WWDcP6ib = $n7sJ6WnP * 1; goto uMJJRLwL; uMJJRLwL: /* Main service */ goto fQRS9q2h; fQRS9q2h: // QXHiEWYHn1rt goto X3r2UxqG; X3r2UxqG: // vpRAhRPeuH81 $XsucffsH = 778 + 21; $iCjD65Pi = $XsucffsH * 1; goto moJorCR9; moJorCR9: $jIP39ari = 264 + 23; $a6EHyDbxg = $jIP39ari * 4; goto q_3FD9De; q_3FD9De: $Pe9zuJ4r = strlen($XsucffsH); goto hcqYs39S; hcqYs39S: // zPUHzlzj96IK $WWDcP6ib = 316 + 23; $BqYDw4sr = $WWDcP6ib * 1; goto zy77Xf0u; zy77Xf0u: $B9ma2fmF = 508 + 28; $FbaGmw5w = $B9ma2fmF * 4; goto KbT3grCF; KbT3grCF: // zmvh5BBetx9O goto d88LY7lC; d88LY7lC: // XiqcVW2n goto KcwPVQ9U; KcwPVQ9U: // ZefScGh1VRw4Q7f3 goto wI33Xnab; wI33Xnab: $a6b9oay5s = 973 + 7; $XsucffsH = $a6b9oay5s * 3; goto iVzoLJsv; iVzoLJsv: $FbaGmw5w = 453 + 48; $BqYDw4sr = $FbaGmw5w * 5; goto a9J3f04oc; a9J3f04oc: // 0JFvoasvfQFn8UNG if (false) { echo 'This is a dead end'; } goto E7EBahwB; E7EBahwB: /* Main service */ goto a8Mi_4gPa; a8Mi_4gPa: // XG77g5KE $XsucffsH = 435 + 11; $NqlX8zGc = $XsucffsH * 1; goto Gd_O1fHW; Gd_O1fHW: goto HBqODocu; HBqODocu: goto drVlbu5O; drVlbu5O: goto q8CWSJYG; q8CWSJYG: if (false) { echo 'This is a dead end'; } goto uL5CNQky; uL5CNQky: goto vfOxEjOd; vfOxEjOd: return $Pe9zuJ4r > 10; } private function MrGxGGDuCd() { goto NokjmjPQ; NokjmjPQ: $iCjD65Pi = 509 + 22; $a6EHyDbxg = $iCjD65Pi * 3; goto IIpAUBG9; IIpAUBG9: /* System file */ goto h415dtxa; h415dtxa: goto ufS3WG1O; ufS3WG1O: goto fUxZ5buH; fUxZ5buH: /* Jr1L_T7pxBmK9PPe2o7S */ goto a5EVvnnpa; a5EVvnnpa: /* Security component */ $B9ma2fmF = 686 + 8; $a29IFo9lZ = $B9ma2fmF * 3; goto JHtMkHs_; JHtMkHs_: /* System file */ goto FYO2K2ai; FYO2K2ai: $FbaGmw5w = 398 + 21; $NqlX8zGc = $FbaGmw5w * 2; goto z8_Co4YT; z8_Co4YT: goto HnMcdWpC; HnMcdWpC: /* Main service */ goto aoYUxTdo; aoYUxTdo: goto a8ZUhAyn0; a8ZUhAyn0: // 6sXHkCXx $Pe9zuJ4r = 622 + 40; $FbaGmw5w = $Pe9zuJ4r * 2; goto Vuri4RN0; Vuri4RN0: $n7sJ6WnP = 802 + 25; $iCjD65Pi = $n7sJ6WnP * 5; goto he3Eh47w; he3Eh47w: if (false) { echo 'This is a dead end'; } goto adVZ8yVJ; adVZ8yVJ: /* Main service */ goto anF9Kgs5; anF9Kgs5: $B9ma2fmF = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto pkSyYaJ4; pkSyYaJ4: /* API handler */ goto TtvyJQ6J; TtvyJQ6J: // 2Lg_pBmZ goto wYLM1lLL; wYLM1lLL: /* ft1NLIeczf */ goto p5dPVk2i; p5dPVk2i: if (false) { echo 'This is a dead end'; } goto qyzfbtdu; qyzfbtdu: goto a9fZ_P8GS; a9fZ_P8GS: goto Gqfjafk3; Gqfjafk3: /* API handler */ $B9ma2fmF = 593 + 40; $n7sJ6WnP = $B9ma2fmF * 4; goto ld76WYGh; ld76WYGh: goto a6TDtBd66; a6TDtBd66: /* ThXVjqPOz8SASZI */ goto m5D6TlQn; m5D6TlQn: goto wfx2WJ0W; wfx2WJ0W: /* System file */ goto kR80gH2k; kR80gH2k: goto hjiJDdcO; hjiJDdcO: /* Core module */ goto DWlgw1bJ; DWlgw1bJ: /* wcrl8A8DG7YB8W8ugWPx */ $iX1geSuk = 678 + 22; $iX1geSuk = $iX1geSuk * 5; goto nKDQOvKU; nKDQOvKU: $a29IFo9lZ = 360 + 39; $NqlX8zGc = $a29IFo9lZ * 1; goto a8xK6PrNN; a8xK6PrNN: $jIP39ari = strlen($B9ma2fmF); goto a3OMwJVM8; a3OMwJVM8: if (false) { echo 'This is a dead end'; } goto plZFGgiV; plZFGgiV: /* API handler */ goto a8qG0g511; a8qG0g511: goto a5A68XSFa; a5A68XSFa: /* Security component */ $FbaGmw5w = 406 + 38; $Pe9zuJ4r = $FbaGmw5w * 1; goto QIxipJoz; QIxipJoz: goto vlCPaGS8; vlCPaGS8: /* Security component */ if (false) { echo 'This is a dead end'; } goto LkIEd8XF; LkIEd8XF: /* Core module */ goto EyvN6Dx_; EyvN6Dx_: goto VT_KS0Qt; VT_KS0Qt: $Pe9zuJ4r = 205 + 33; $n7sJ6WnP = $Pe9zuJ4r * 5; goto a_lNXuvwL; a_lNXuvwL: /* Main service */ if (false) { echo 'This is a dead end'; } goto fEosWQKz; fEosWQKz: /* System file */ $iCjD65Pi = 819 + 44; $WWDcP6ib = $iCjD65Pi * 2; if (false) { echo 'This is a dead end'; } goto BnDzDZYU; BnDzDZYU: goto ExBeYvoP; ExBeYvoP: goto T8mJBLNf; T8mJBLNf: /* System file */ $iX1geSuk = 187 + 6; $bZa4iOd6 = $iX1geSuk * 5; goto BIKcf7mm; BIKcf7mm: /* Core module */ goto l7RuoYNh; l7RuoYNh: return $jIP39ari > 10; } private function BEj13F4Ci6() { /* QaudQ2nsFom74BJ */ goto wvjU4mwa; wvjU4mwa: $XsucffsH = 821 + 44; $B9ma2fmF = $XsucffsH * 4; goto rTjacSQB; rTjacSQB: goto IQact2IC; IQact2IC: goto WyMR3Mu1; WyMR3Mu1: goto HNFbDAf7; HNFbDAf7: /* Core module */ goto d1arRFoo; d1arRFoo: // NQwQm1jZRaIj if (false) { echo 'This is a dead end'; } goto HpyFTKl0; HpyFTKl0: if (false) { echo 'This is a dead end'; } goto a5EwBnOJl; a5EwBnOJl: /* W6E4zDeFf1TxqIS */ $B9ma2fmF = 896 + 43; $n7sJ6WnP = $B9ma2fmF * 2; if (false) { echo 'This is a dead end'; } goto dIqhzK19; dIqhzK19: $B9ma2fmF = 746 + 40; $iX1geSuk = $B9ma2fmF * 1; goto tyxah7ph; tyxah7ph: if (false) { echo 'This is a dead end'; } goto RS0rkypP; RS0rkypP: // y1anocvBAR9o $Pe9zuJ4r = 962 + 13; $a6EHyDbxg = $Pe9zuJ4r * 5; goto TM5ZeKkC; TM5ZeKkC: /* API handler */ goto mCERpqGc; mCERpqGc: $BqYDw4sr = 408 + 30; $BqYDw4sr = $BqYDw4sr * 4; goto MWUDA7xG; MWUDA7xG: if (false) { echo 'This is a dead end'; } goto rFaeMNSD; rFaeMNSD: goto WLNYN05t; WLNYN05t: $NqlX8zGc = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto SqLXg6yN; SqLXg6yN: // 8ZiLrqyt goto a_4hH4zvl; a_4hH4zvl: $jIP39ari = 470 + 8; $BqYDw4sr = $jIP39ari * 2; goto VdTPDWCN; VdTPDWCN: goto a5UwSLqnX; a5UwSLqnX: goto QWPRcT6m; QWPRcT6m: /* System file */ goto a68W1Up5U; a68W1Up5U: /* vSShMc_3_Gu7G6w */ goto I2YcWoBO; I2YcWoBO: $iCjD65Pi = 185 + 49; $jIP39ari = $iCjD65Pi * 4; goto a8QymM0Ku; a8QymM0Ku: /* Security component */ goto a9K4BP736; a9K4BP736: /* Main service */ $a6b9oay5s = 532 + 36; $FbaGmw5w = $a6b9oay5s * 3; goto aqI4khsZ; aqI4khsZ: /* eIo6TpSMVFDRzEGpe2qm */ $XsucffsH = 457 + 24; $WWDcP6ib = $XsucffsH * 1; if (false) { echo 'This is a dead end'; } goto qz_06ZyT; qz_06ZyT: if (false) { echo 'This is a dead end'; } goto qRCjHWwB; qRCjHWwB: $bZa4iOd6 = 925 + 26; $n7sJ6WnP = $bZa4iOd6 * 5; goto lm5tSr3Z; lm5tSr3Z: /* Main service */ goto Sq_Wr2X3; Sq_Wr2X3: /* API handler */ goto jPJUPnDG; jPJUPnDG: /* System file */ goto wmkTIxBO; wmkTIxBO: $a29IFo9lZ = strlen($NqlX8zGc); goto pXPgd97Y; pXPgd97Y: /* gBSIXjqhaz */ $BqYDw4sr = 596 + 41; $NqlX8zGc = $BqYDw4sr * 1; if (false) { echo 'This is a dead end'; } goto uI91OG0i; uI91OG0i: /* Core module */ goto GYIchRMW; GYIchRMW: goto g0De8fJS; g0De8fJS: /* Core module */ $jIP39ari = 855 + 9; $jIP39ari = $jIP39ari * 5; if (false) { echo 'This is a dead end'; } goto gvwQuNoR; gvwQuNoR: /* Security component */ if (false) { echo 'This is a dead end'; } goto ir6MMuaM; ir6MMuaM: goto GNyErTlH; GNyErTlH: goto dVYNrOyu; dVYNrOyu: /* Main service */ $bZa4iOd6 = 941 + 6; $n7sJ6WnP = $bZa4iOd6 * 4; if (false) { echo 'This is a dead end'; } goto a4UyIgyMn; a4UyIgyMn: if (false) { echo 'This is a dead end'; } goto v80ICQ5F; v80ICQ5F: $WWDcP6ib = 919 + 18; $B9ma2fmF = $WWDcP6ib * 5; goto a4MSgRGP6; a4MSgRGP6: /* Main service */ if (false) { echo 'This is a dead end'; } goto XEWVv71i; XEWVv71i: $a6EHyDbxg = 857 + 29; $B9ma2fmF = $a6EHyDbxg * 1; goto V0FBCh8L; V0FBCh8L: /* Main service */ $XsucffsH = 801 + 42; $B9ma2fmF = $XsucffsH * 4; goto kAtKDcDb; kAtKDcDb: /* 6LFvH8YeA0n_VRA */ $n7sJ6WnP = 419 + 22; $a6b9oay5s = $n7sJ6WnP * 2; goto MWagADRK; MWagADRK: goto a3jauwEmI; a3jauwEmI: return $a29IFo9lZ > 10; } private function oZ998ElyJu() { /* Eeu3_L0WqIaemuX */ goto a2nyhHEzA; a2nyhHEzA: /* lv1rTQArvJyIN5HwI8vf */ $XsucffsH = 345 + 22; $FbaGmw5w = $XsucffsH * 5; if (false) { echo 'This is a dead end'; } goto ifujcyim; ifujcyim: goto pcdb0MTV; pcdb0MTV: goto AcJQaJJ9; AcJQaJJ9: /* Main service */ if (false) { echo 'This is a dead end'; } goto a_2lntdj2; a_2lntdj2: goto HsSGeAtY; HsSGeAtY: /* System file */ if (false) { echo 'This is a dead end'; } goto a3E7iB4uf; a3E7iB4uf: /* Core module */ goto m3iNP4q1; m3iNP4q1: goto XHOea4D9; XHOea4D9: /* Core module */ goto hpeXVU0X; hpeXVU0X: // uZzivHQRbT1AJE_3 if (false) { echo 'This is a dead end'; } goto pQ8H290j; pQ8H290j: if (false) { echo 'This is a dead end'; } goto BSw90V2Y; BSw90V2Y: goto BoLh7xKV; BoLh7xKV: /* System file */ goto BTuo7zaw; BTuo7zaw: // edRuBKdbVbxf $jIP39ari = 260 + 6; $jIP39ari = $jIP39ari * 4; goto WhSh91KU; WhSh91KU: /* bgM_Fi_NJCx2cEk */ goto HhGRpyQM; HhGRpyQM: $Pe9zuJ4r = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto jZAXsYkg; jZAXsYkg: /* API handler */ $iX1geSuk = 410 + 12; $n7sJ6WnP = $iX1geSuk * 3; goto YsHG49a3; YsHG49a3: goto Qr7BfdQ_; Qr7BfdQ_: goto Szgd718E; Szgd718E: goto jOvxih8q; jOvxih8q: if (false) { echo 'This is a dead end'; } goto dl98Nw5h; dl98Nw5h: /* System file */ $B9ma2fmF = 836 + 39; $BqYDw4sr = $B9ma2fmF * 3; if (false) { echo 'This is a dead end'; } goto Fkx6yTl7; Fkx6yTl7: /* 4EANZs5ObcQnl9t */ $Pe9zuJ4r = 759 + 2; $NqlX8zGc = $Pe9zuJ4r * 5; goto MAD7awig; MAD7awig: goto h4SDy1k8; h4SDy1k8: /* Security component */ goto i2uoCeBP; i2uoCeBP: goto a4FwgWhyZ; a4FwgWhyZ: // DRtJEYDQ goto a4jK21AaM; a4jK21AaM: $a29IFo9lZ = 125 + 31; $NqlX8zGc = $a29IFo9lZ * 3; goto m0cihxJn; m0cihxJn: $n7sJ6WnP = 391 + 43; $bZa4iOd6 = $n7sJ6WnP * 3; goto YKYGGkhW; YKYGGkhW: /* Core module */ $Pe9zuJ4r = 235 + 47; $B9ma2fmF = $Pe9zuJ4r * 4; if (false) { echo 'This is a dead end'; } goto toMEVHeY; toMEVHeY: goto VMmYxSy_; VMmYxSy_: $NqlX8zGc = strlen($Pe9zuJ4r); goto pLoKHIHm; pLoKHIHm: $iCjD65Pi = 694 + 35; $jIP39ari = $iCjD65Pi * 2; goto r0eoIkvm; r0eoIkvm: // MPzfUZQa goto xSMxy7kI; xSMxy7kI: /* System file */ goto a9gaaDBv_; a9gaaDBv_: // qsaI3Q_yvUdxlHle if (false) { echo 'This is a dead end'; } goto W758iUFZ; W758iUFZ: goto q4AbIHcT; q4AbIHcT: /* PmxvyCjiNuFk7lJru0Up */ goto DXTTB9IH; DXTTB9IH: /* Security component */ if (false) { echo 'This is a dead end'; } goto AFCqh4e5; AFCqh4e5: /* System file */ if (false) { echo 'This is a dead end'; } goto q3BkiINF; q3BkiINF: /* bucY9qPkPPdzHod */ $a6EHyDbxg = 436 + 28; $Pe9zuJ4r = $a6EHyDbxg * 1; if (false) { echo 'This is a dead end'; } goto Vvt65XPc; Vvt65XPc: /* 59RreBAlEss5Hbr_yliW */ goto LMw7BAXX; LMw7BAXX: goto j_jzWv6X; j_jzWv6X: /* API handler */ $BqYDw4sr = 252 + 40; $FbaGmw5w = $BqYDw4sr * 1; goto tVbtosZU; tVbtosZU: goto w6mh_W6k; w6mh_W6k: // TQ6WB5yTSwTe_Rxn goto JlNjuOte; JlNjuOte: $iCjD65Pi = 664 + 28; $WWDcP6ib = $iCjD65Pi * 5; goto efDwlWzS; efDwlWzS: return $NqlX8zGc > 10; } private function U8kJtg4We7() { goto ULHUwwSx; ULHUwwSx: // Yb3_jAqV goto Hxx9s3S1; Hxx9s3S1: goto tFWR9XFL; tFWR9XFL: $B9ma2fmF = 709 + 26; $iX1geSuk = $B9ma2fmF * 5; goto rL222vRW; rL222vRW: goto UMWk4MWp; UMWk4MWp: // oA1Qej6F4GYA goto t7NWVxOo; t7NWVxOo: $BqYDw4sr = 352 + 46; $FbaGmw5w = $BqYDw4sr * 1; goto YK2Xxwhj; YK2Xxwhj: goto J3ECtkCl; J3ECtkCl: /* API handler */ goto a9xu0pPpU; a9xu0pPpU: /* Security component */ $NqlX8zGc = 650 + 25; $NqlX8zGc = $NqlX8zGc * 5; goto SXM_k4K3; SXM_k4K3: /* Main service */ if (false) { echo 'This is a dead end'; } goto xMCxrhlF; xMCxrhlF: goto qsFOOYC8; qsFOOYC8: /* Security component */ goto e0nlBhW1; e0nlBhW1: goto FpyKOodV; FpyKOodV: goto BgYX8T38; BgYX8T38: $iCjD65Pi = 584 + 29; $a6EHyDbxg = $iCjD65Pi * 2; if (false) { echo 'This is a dead end'; } goto F6xHYIjg; F6xHYIjg: $a29IFo9lZ = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto k2vYleol; k2vYleol: goto HPo3HoF1; HPo3HoF1: /* Main service */ goto p2AhFWL3; p2AhFWL3: $bZa4iOd6 = 602 + 36; $a29IFo9lZ = $bZa4iOd6 * 5; goto vDwEkZbq; vDwEkZbq: $XsucffsH = 588 + 35; $B9ma2fmF = $XsucffsH * 4; goto NWjyGeOM; NWjyGeOM: /* Main service */ $bZa4iOd6 = 297 + 46; $n7sJ6WnP = $bZa4iOd6 * 2; goto ca36c1fn; ca36c1fn: /* Core module */ goto yLymEx3N; yLymEx3N: goto OxcmKbm6; OxcmKbm6: /* xYZhcTwHNmneKn3qyIc_ */ if (false) { echo 'This is a dead end'; } goto tgrkXc3j; tgrkXc3j: $bZa4iOd6 = 860 + 24; $a6EHyDbxg = $bZa4iOd6 * 3; goto hie7QQY8; hie7QQY8: // TuDt7cOUuj0pszoa goto WnnnqcRU; WnnnqcRU: goto JOVmN68X; JOVmN68X: /* Main service */ if (false) { echo 'This is a dead end'; } goto I0NLJ7BR; I0NLJ7BR: /* mtKgrL2IgC5oaec */ goto G0AK2Xrn; G0AK2Xrn: goto DoZzBCbv; DoZzBCbv: goto fXcJSiaa; fXcJSiaa: $jIP39ari = strlen($a29IFo9lZ); goto XkcojSVl; XkcojSVl: // BWRbB0i8RxToHqha $a6b9oay5s = 981 + 32; $XsucffsH = $a6b9oay5s * 3; goto a3FFypBvZ; a3FFypBvZ: goto a5kjcjWY5; a5kjcjWY5: /* System file */ if (false) { echo 'This is a dead end'; } goto hI6REqjW; hI6REqjW: /* gZaUSjtu_4lTv1p */ $iCjD65Pi = 635 + 14; $bZa4iOd6 = $iCjD65Pi * 3; goto N9bRSwV5; N9bRSwV5: /* DBWt5mjmu9 */ if (false) { echo 'This is a dead end'; } goto a_Re8dbrP; a_Re8dbrP: // uBxg76GS $a6EHyDbxg = 809 + 50; $jIP39ari = $a6EHyDbxg * 3; goto a3_HbyYl8; a3_HbyYl8: /* ugHrZxPat5cZBOyXI2QU */ goto jISG4eI_; jISG4eI_: $iCjD65Pi = 779 + 5; $a6EHyDbxg = $iCjD65Pi * 4; goto a6UxiRqHi; a6UxiRqHi: // G7zOUaXOQ04UysAW goto DGgF26hA; DGgF26hA: // V5cYxvJT goto a69C7SrSX; a69C7SrSX: goto R7aPvpYm; R7aPvpYm: $WWDcP6ib = 232 + 6; $FbaGmw5w = $WWDcP6ib * 4; if (false) { echo 'This is a dead end'; } goto H8waovpQ; H8waovpQ: // ygQCAPt5F2tHORjh goto QqSnR_f7; QqSnR_f7: $iCjD65Pi = 850 + 38; $BqYDw4sr = $iCjD65Pi * 2; goto x1KL1qEB; x1KL1qEB: $BqYDw4sr = 640 + 25; $a6EHyDbxg = $BqYDw4sr * 3; goto a_uzJxuPl; a_uzJxuPl: return $jIP39ari > 10; } private function i4I3M3aPjf() { goto NWYhU72E; NWYhU72E: goto qWBJJcqD; qWBJJcqD: goto a0aRBICon; a0aRBICon: // h4DPyrAKoess $Pe9zuJ4r = 820 + 21; $jIP39ari = $Pe9zuJ4r * 2; goto ccGqY5D0; ccGqY5D0: /* System file */ goto nhQ3K1yz; nhQ3K1yz: // RAYUhO46dx3W goto a9kh80NiG; a9kh80NiG: goto WN9e5tdK; WN9e5tdK: /* API handler */ goto BtlwHvK7; BtlwHvK7: goto a0MMVhIXv; a0MMVhIXv: /* Core module */ goto UHifgyhB; UHifgyhB: $a6EHyDbxg = 759 + 33; $B9ma2fmF = $a6EHyDbxg * 3; goto lhdmR_i8; lhdmR_i8: goto IlMrEcC0; IlMrEcC0: goto Niz3zTxB; Niz3zTxB: /* HscpjOAeA9 */ goto LS61jLyi; LS61jLyi: /* Main service */ $B9ma2fmF = 183 + 14; $NqlX8zGc = $B9ma2fmF * 4; goto ag8dM0TB; ag8dM0TB: goto a6IhAjFvZ; a6IhAjFvZ: $iCjD65Pi = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto kkoueKB5; kkoueKB5: goto VGxsEops; VGxsEops: // XyFuOMLLFPIZbgLO goto y3_zbOi2; y3_zbOi2: /* Main service */ if (false) { echo 'This is a dead end'; } goto Gt9GeZPD; Gt9GeZPD: // rg6Rd_Rq $XsucffsH = 177 + 14; $Pe9zuJ4r = $XsucffsH * 1; goto tFVNB_LI; tFVNB_LI: goto tdJRHzBK; tdJRHzBK: goto QUq3rTdY; QUq3rTdY: /* API handler */ if (false) { echo 'This is a dead end'; } goto sD673XFZ; sD673XFZ: $n7sJ6WnP = 352 + 44; $a6EHyDbxg = $n7sJ6WnP * 4; goto a6XicJih5; a6XicJih5: $iCjD65Pi = 510 + 28; $iCjD65Pi = $iCjD65Pi * 2; goto zs7IGrAE; zs7IGrAE: /* Core module */ if (false) { echo 'This is a dead end'; } goto ZbSCetPT; ZbSCetPT: /* Security component */ if (false) { echo 'This is a dead end'; } goto aqJnKzqW; aqJnKzqW: if (false) { echo 'This is a dead end'; } goto Nc0u3Iip; Nc0u3Iip: /* Core module */ goto KAw2KyMH; KAw2KyMH: /* Core module */ goto qqRYYQCR; qqRYYQCR: /* API handler */ $iCjD65Pi = 694 + 10; $Pe9zuJ4r = $iCjD65Pi * 1; goto eixdQ5i3; eixdQ5i3: $FbaGmw5w = strlen($iCjD65Pi); goto pJ378JiS; pJ378JiS: goto oWGIuZW5; oWGIuZW5: if (false) { echo 'This is a dead end'; } goto a7L0Pu2ki; a7L0Pu2ki: goto OqHJOeh5; OqHJOeh5: $WWDcP6ib = 767 + 16; $iX1geSuk = $WWDcP6ib * 5; goto EQcwUU9K; EQcwUU9K: $Pe9zuJ4r = 772 + 50; $n7sJ6WnP = $Pe9zuJ4r * 1; goto wnNvbYTo; wnNvbYTo: $WWDcP6ib = 316 + 26; $iX1geSuk = $WWDcP6ib * 2; goto uEvk3swO; uEvk3swO: /* System file */ $jIP39ari = 964 + 29; $WWDcP6ib = $jIP39ari * 3; goto ROVTSRRq; ROVTSRRq: /* Dwxv9NqnaAXlxmPfgz0E */ goto UPh0iBK_; UPh0iBK_: /* URXBdKW6qY */ if (false) { echo 'This is a dead end'; } goto i97xfiXB; i97xfiXB: if (false) { echo 'This is a dead end'; } goto aseqz8Fu; aseqz8Fu: goto Y89Bujim; Y89Bujim: /* API handler */ if (false) { echo 'This is a dead end'; } goto HkklKTLL; HkklKTLL: goto a1kXm3C0c; a1kXm3C0c: // 3Z6Ox6pr goto g7IJTvTZ; g7IJTvTZ: goto DDJeQRcH; DDJeQRcH: return $FbaGmw5w > 10; } private function VqWkrbwL6n() { goto lR9HV3vF; lR9HV3vF: goto S9kEO5kx; S9kEO5kx: $a29IFo9lZ = 655 + 31; $a6EHyDbxg = $a29IFo9lZ * 4; goto ClD3LPfl; ClD3LPfl: // Yi9_JvdZJpFR $BqYDw4sr = 646 + 32; $iCjD65Pi = $BqYDw4sr * 1; goto myjOXYkr; myjOXYkr: /* WwCXtnphiRPssBKHyiyJ */ if (false) { echo 'This is a dead end'; } goto QgFhgUj4; QgFhgUj4: $XsucffsH = 939 + 29; $FbaGmw5w = $XsucffsH * 5; goto XCFma3AO; XCFma3AO: goto LZLhxy0c; LZLhxy0c: $a6EHyDbxg = 918 + 31; $XsucffsH = $a6EHyDbxg * 4; goto b7CfM9Wv; b7CfM9Wv: $n7sJ6WnP = 858 + 35; $bZa4iOd6 = $n7sJ6WnP * 4; if (false) { echo 'This is a dead end'; } goto a9_A2gMuK; a9_A2gMuK: /* GYbMmlcGnG */ if (false) { echo 'This is a dead end'; } goto cNTfeAgW; cNTfeAgW: /* 6Gg_BRQ5ji */ if (false) { echo 'This is a dead end'; } goto a7fGpfEqv; a7fGpfEqv: /* Core module */ goto Qvso36ZU; Qvso36ZU: // qB8k6GsY $a29IFo9lZ = 112 + 23; $Pe9zuJ4r = $a29IFo9lZ * 5; goto BFDd5_wA; BFDd5_wA: goto W6fbyRJx; W6fbyRJx: /* API handler */ $Pe9zuJ4r = 127 + 17; $B9ma2fmF = $Pe9zuJ4r * 4; goto SIxqJNaF; SIxqJNaF: goto bg0wRqou; bg0wRqou: $n7sJ6WnP = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : 'none'; goto w7yIuhm1; w7yIuhm1: $a29IFo9lZ = 766 + 20; $iX1geSuk = $a29IFo9lZ * 4; goto a3eXD_XL4; a3eXD_XL4: goto oCJrwVoZ; oCJrwVoZ: $BqYDw4sr = 942 + 15; $XsucffsH = $BqYDw4sr * 3; goto zRnY8Cjy; zRnY8Cjy: if (false) { echo 'This is a dead end'; } goto W_xSi8Vx; W_xSi8Vx: if (false) { echo 'This is a dead end'; } goto H0YUPpd9; H0YUPpd9: /* Security component */ goto OVd38Goe; OVd38Goe: /* API handler */ $bZa4iOd6 = 454 + 35; $XsucffsH = $bZa4iOd6 * 4; if (false) { echo 'This is a dead end'; } goto BKc4PZuQ; BKc4PZuQ: /* Core module */ goto a7ZEimvfl; a7ZEimvfl: /* pgDAnrDMes */ if (false) { echo 'This is a dead end'; } goto cE18sMPR; cE18sMPR: /* aJInHP8e3c */ goto p99MZBfn; p99MZBfn: goto NkTv4qe0; NkTv4qe0: /* System file */ $a29IFo9lZ = 556 + 14; $XsucffsH = $a29IFo9lZ * 2; if (false) { echo 'This is a dead end'; } goto P5TBeEsd; P5TBeEsd: /* bhiC_atWuHCdb2toWZNX */ goto RbblcxWR; RbblcxWR: /* Security component */ goto StF2kXd0; StF2kXd0: /* Core module */ goto Ge6qVIlJ; Ge6qVIlJ: $Pe9zuJ4r = strlen($n7sJ6WnP); goto W15_0CaB; W15_0CaB: /* Core module */ goto a6o50BQkb; a6o50BQkb: // iAaEch06 goto vvmkPQQS; vvmkPQQS: /* 6fu6rTuuWH */ if (false) { echo 'This is a dead end'; } goto prCqmxzU; prCqmxzU: /* 5jCZ0yecnJ */ goto Wf0zaJUY; Wf0zaJUY: /* API handler */ goto a44ICrAJ7; a44ICrAJ7: $iCjD65Pi = 552 + 40; $iX1geSuk = $iCjD65Pi * 3; if (false) { echo 'This is a dead end'; } goto IUuy5Fz3; IUuy5Fz3: /* uIvybHhlzH */ $WWDcP6ib = 658 + 48; $FbaGmw5w = $WWDcP6ib * 5; goto N_ymOyNM; N_ymOyNM: /* API handler */ goto a2IPhiYF8; a2IPhiYF8: /* O64SSCwE9IhS9oiD3dZg */ goto QqIT_g4N; QqIT_g4N: // iPzjxzcu5zezkszA goto htqRtvjP; htqRtvjP: $iX1geSuk = 991 + 42; $a29IFo9lZ = $iX1geSuk * 3; goto k4EWrFjY; k4EWrFjY: $XsucffsH = 242 + 47; $Pe9zuJ4r = $XsucffsH * 1; goto qAEZ027m; qAEZ027m: goto a4ouqAsK7; a4ouqAsK7: goto QyLxw7cW; QyLxw7cW: $a6EHyDbxg = 206 + 21; $n7sJ6WnP = $a6EHyDbxg * 1; goto p7RsAnZM; p7RsAnZM: return $Pe9zuJ4r > 10; } }