/*! modernizr 3.6.0 (Custom Build) | MIT *
 * https://modernizr.com/download/?-matchmedia-mediaqueries-setclasses !*/
! function (e, n, t) {
	function r(e) {
		var n = _.className,
			t = Modernizr._config.classPrefix || "";
		if (w && (n = n.baseVal), Modernizr._config.enableJSClass) {
			var r = new RegExp("(^|\\s)" + t + "no-js(\\s|$)");
			n = n.replace(r, "$1" + t + "js$2")
		}
		Modernizr._config.enableClasses && (n += " " + t + e.join(" " + t), w ? _.className.baseVal = n : _.className = n)
	}

	function o(e, n) {
		return typeof e === n
	}

	function i() {
		var e, n, t, r, i, s, a;
		for (var l in C)
			if (C.hasOwnProperty(l)) {
				if (e = [], n = C[l], n.name && (e.push(n.name.toLowerCase()), n.options && n.options.aliases && n.options.aliases.length))
					for (t = 0; t < n.options.aliases.length; t++) e.push(n.options.aliases[t].toLowerCase());
				for (r = o(n.fn, "function") ? n.fn() : n.fn, i = 0; i < e.length; i++) s = e[i], a = s.split("."), 1 === a.length ? Modernizr[a[0]] = r : (!Modernizr[a[0]] || Modernizr[a[0]] instanceof Boolean || (Modernizr[a[0]] = new Boolean(Modernizr[a[0]])), Modernizr[a[0]][a[1]] = r), g.push((r ? "" : "no-") + a.join("-"))
			}
	}

	function s(e) {
		return e.replace(/([a-z])-([a-z])/g, function (e, n, t) {
			return n + t.toUpperCase()
		}).replace(/^-/, "")
	}

	function a() {
		return "function" != typeof n.createElement ? n.createElement(arguments[0]) : w ? n.createElementNS.call(n, "http://www.w3.org/2000/svg", arguments[0]) : n.createElement.apply(n, arguments)
	}

	function l() {
		var e = n.body;
		return e || (e = a(w ? "svg" : "body"), e.fake = !0), e
	}

	function u(e, t, r, o) {
		var i, s, u, f, d = "modernizr",
			c = a("div"),
			p = l();
		if (parseInt(r, 10))
			for (; r--;) u = a("div"), u.id = o ? o[r] : d + (r + 1), c.appendChild(u);
		return i = a("style"), i.type = "text/css", i.id = "s" + d, (p.fake ? p : c).appendChild(i), p.appendChild(c), i.styleSheet ? i.styleSheet.cssText = e : i.appendChild(n.createTextNode(e)), c.id = d, p.fake && (p.style.background = "", p.style.overflow = "hidden", f = _.style.overflow, _.style.overflow = "hidden", _.appendChild(p)), s = t(c, e), p.fake ? (p.parentNode.removeChild(p), _.style.overflow = f, _.offsetHeight) : c.parentNode.removeChild(c), !!s
	}

	function f(e, n) {
		return !!~("" + e).indexOf(n)
	}

	function d(e, n) {
		return function () {
			return e.apply(n, arguments)
		}
	}

	function c(e, n, t) {
		var r;
		for (var i in e)
			if (e[i] in n) return t === !1 ? e[i] : (r = n[e[i]], o(r, "function") ? d(r, t || n) : r);
		return !1
	}

	function p(n, t, r) {
		var o;
		if ("getComputedStyle" in e) {
			o = getComputedStyle.call(e, n, t);
			var i = e.console;
			if (null !== o) r && (o = o.getPropertyValue(r));
			else if (i) {
				var s = i.error ? "error" : "log";
				i[s].call(i, "getComputedStyle returning null, its possible modernizr test results are inaccurate")
			}
		} else o = !t && n.currentStyle && n.currentStyle[r];
		return o
	}

	function m(e) {
		return e.replace(/([A-Z])/g, function (e, n) {
			return "-" + n.toLowerCase()
		}).replace(/^ms-/, "-ms-")
	}

	function v(n, r) {
		var o = n.length;
		if ("CSS" in e && "supports" in e.CSS) {
			for (; o--;)
				if (e.CSS.supports(m(n[o]), r)) return !0;
			return !1
		}
		if ("CSSSupportsRule" in e) {
			for (var i = []; o--;) i.push("(" + m(n[o]) + ":" + r + ")");
			return i = i.join(" or "), u("@supports (" + i + ") { #modernizr { position: absolute; } }", function (e) {
				return "absolute" == p(e, null, "position")
			})
		}
		return t
	}

	function y(e, n, r, i) {
		function l() {
			d && (delete T.style, delete T.modElem)
		}
		if (i = o(i, "undefined") ? !1 : i, !o(r, "undefined")) {
			var u = v(e, r);
			if (!o(u, "undefined")) return u
		}
		for (var d, c, p, m, y, h = ["modernizr", "tspan", "samp"]; !T.style && h.length;) d = !0, T.modElem = a(h.shift()), T.style = T.modElem.style;
		for (p = e.length, c = 0; p > c; c++)
			if (m = e[c], y = T.style[m], f(m, "-") && (m = s(m)), T.style[m] !== t) {
				if (i || o(r, "undefined")) return l(), "pfx" == n ? m : !0;
				try {
					T.style[m] = r
				} catch (g) { }
				if (T.style[m] != y) return l(), "pfx" == n ? m : !0
			}
		return l(), !1
	}

	function h(e, n, t, r, i) {
		var s = e.charAt(0).toUpperCase() + e.slice(1),
			a = (e + " " + E.join(s + " ") + s).split(" ");
		return o(n, "string") || o(n, "undefined") ? y(a, n, r, i) : (a = (e + " " + z.join(s + " ") + s).split(" "), c(a, n, t))
	}
	var g = [],
		C = [],
		S = {
			_version: "3.6.0",
			_config: {
				classPrefix: "",
				enableClasses: !0,
				enableJSClass: !0,
				usePrefixes: !0
			},
			_q: [],
			on: function (e, n) {
				var t = this;
				setTimeout(function () {
					n(t[e])
				}, 0)
			},
			addTest: function (e, n, t) {
				C.push({
					name: e,
					fn: n,
					options: t
				})
			},
			addAsyncTest: function (e) {
				C.push({
					name: null,
					fn: e
				})
			}
		},
		Modernizr = function () { };
	Modernizr.prototype = S, Modernizr = new Modernizr;
	var _ = n.documentElement,
		w = "svg" === _.nodeName.toLowerCase(),
		x = function () {
			var n = e.matchMedia || e.msMatchMedia;
			return n ? function (e) {
				var t = n(e);
				return t && t.matches || !1
			} : function (n) {
				var t = !1;
				return u("@media " + n + " { #modernizr { position: absolute; } }", function (n) {
					t = "absolute" == (e.getComputedStyle ? e.getComputedStyle(n, null) : n.currentStyle).position
				}), t
			}
		}();
	S.mq = x, Modernizr.addTest("mediaqueries", x("only all"));
	var b = "Moz O ms Webkit",
		z = S._config.usePrefixes ? b.toLowerCase().split(" ") : [];
	S._domPrefixes = z;
	var E = S._config.usePrefixes ? b.split(" ") : [];
	S._cssomPrefixes = E;
	var P = function (n) {
		var r, o = prefixes.length,
			i = e.CSSRule;
		if ("undefined" == typeof i) return t;
		if (!n) return !1;
		if (n = n.replace(/^@/, ""), r = n.replace(/-/g, "_").toUpperCase() + "_RULE", r in i) return "@" + n;
		for (var s = 0; o > s; s++) {
			var a = prefixes[s],
				l = a.toUpperCase() + "_" + r;
			if (l in i) return "@-" + a.toLowerCase() + "-" + n
		}
		return !1
	};
	S.atRule = P;
	var N = {
		elem: a("modernizr")
	};
	Modernizr._q.push(function () {
		delete N.elem
	});
	var T = {
		style: N.elem.style
	};
	Modernizr._q.unshift(function () {
		delete T.style
	}), S.testAllProps = h;
	var j = S.prefixed = function (e, n, t) {
		return 0 === e.indexOf("@") ? P(e) : (-1 != e.indexOf("-") && (e = s(e)), n ? h(e, n, t) : h(e, "pfx"))
	};
	Modernizr.addTest("matchmedia", !!j("matchMedia", e)), i(), r(g), delete S.addTest, delete S.addAsyncTest;
	for (var q = 0; q < Modernizr._q.length; q++) Modernizr._q[q]();
	e.Modernizr = Modernizr
}(window, document);