/*! jQuery Mobile 1.4.5 | Git HEADhash: 68e55e7 <> 2014-10-31T17:33:30Z | (c) 2010, 2014 jQuery Foundation, Inc. | jquery.org/license */ !(function (a, b, c) { "function" == typeof define && define.amd ? define(["jquery"], function (d) { return c(d, a, b), d.mobile; }) : c(a.jQuery, a, b); })(this, document, function (a, b, c) { !(function (a) { a.mobile = {}; })(a), (function (a, b) { function d(b, c) { var d, f, g, h = b.nodeName.toLowerCase(); return "area" === h ? ((d = b.parentNode), (f = d.name), b.href && f && "map" === d.nodeName.toLowerCase() ? ((g = a("img[usemap=#" + f + "]")[0]), !!g && e(g)) : !1) : (/input|select|textarea|button|object/.test(h) ? !b.disabled : "a" === h ? b.href || c : c) && e(b); } function e(b) { return ( a.expr.filters.visible(b) && !a(b) .parents() .addBack() .filter(function () { return "hidden" === a.css(this, "visibility"); }).length ); } var f = 0, g = /^ui-id-\d+$/; (a.ui = a.ui || {}), a.extend(a.ui, { version: "c0ab71056b936627e8a7821f03c044aec6280a40", keyCode: { BACKSPACE: 8, COMMA: 188, DELETE: 46, DOWN: 40, END: 35, ENTER: 13, ESCAPE: 27, HOME: 36, LEFT: 37, PAGE_DOWN: 34, PAGE_UP: 33, PERIOD: 190, RIGHT: 39, SPACE: 32, TAB: 9, UP: 38, }, }), a.fn.extend({ focus: (function (b) { return function (c, d) { return "number" == typeof c ? this.each(function () { var b = this; setTimeout(function () { a(b).focus(), d && d.call(b); }, c); }) : b.apply(this, arguments); }; })(a.fn.focus), scrollParent: function () { var b; return ( (b = (a.ui.ie && /(static|relative)/.test(this.css("position"))) || /absolute/.test(this.css("position")) ? this.parents() .filter(function () { return /(relative|absolute|fixed)/.test(a.css(this, "position")) && /(auto|scroll)/.test(a.css(this, "overflow") + a.css(this, "overflow-y") + a.css(this, "overflow-x")); }) .eq(0) : this.parents() .filter(function () { return /(auto|scroll)/.test(a.css(this, "overflow") + a.css(this, "overflow-y") + a.css(this, "overflow-x")); }) .eq(0)), /fixed/.test(this.css("position")) || !b.length ? a(this[0].ownerDocument || c) : b ); }, uniqueId: function () { return this.each(function () { this.id || (this.id = "ui-id-" + ++f); }); }, removeUniqueId: function () { return this.each(function () { g.test(this.id) && a(this).removeAttr("id"); }); }, }), a.extend(a.expr[":"], { data: a.expr.createPseudo ? a.expr.createPseudo(function (b) { return function (c) { return !!a.data(c, b); }; }) : function (b, c, d) { return !!a.data(b, d[3]); }, focusable: function (b) { return d(b, !isNaN(a.attr(b, "tabindex"))); }, tabbable: function (b) { var c = a.attr(b, "tabindex"), e = isNaN(c); return (e || c >= 0) && d(b, !e); }, }), a("").outerWidth(1).jquery || a.each(["Width", "Height"], function (c, d) { function e(b, c, d, e) { return ( a.each(f, function () { (c -= parseFloat(a.css(b, "padding" + this)) || 0), d && (c -= parseFloat(a.css(b, "border" + this + "Width")) || 0), e && (c -= parseFloat(a.css(b, "margin" + this)) || 0); }), c ); } var f = "Width" === d ? ["Left", "Right"] : ["Top", "Bottom"], g = d.toLowerCase(), h = { innerWidth: a.fn.innerWidth, innerHeight: a.fn.innerHeight, outerWidth: a.fn.outerWidth, outerHeight: a.fn.outerHeight }; (a.fn["inner" + d] = function (c) { return c === b ? h["inner" + d].call(this) : this.each(function () { a(this).css(g, e(this, c) + "px"); }); }), (a.fn["outer" + d] = function (b, c) { return "number" != typeof b ? h["outer" + d].call(this, b) : this.each(function () { a(this).css(g, e(this, b, !0, c) + "px"); }); }); }), a.fn.addBack || (a.fn.addBack = function (a) { return this.add(null == a ? this.prevObject : this.prevObject.filter(a)); }), a("").data("a-b", "a").removeData("a-b").data("a-b") && (a.fn.removeData = (function (b) { return function (c) { return arguments.length ? b.call(this, a.camelCase(c)) : b.call(this); }; })(a.fn.removeData)), (a.ui.ie = !!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())), (a.support.selectstart = "onselectstart" in c.createElement("div")), a.fn.extend({ disableSelection: function () { return this.bind((a.support.selectstart ? "selectstart" : "mousedown") + ".ui-disableSelection", function (a) { a.preventDefault(); }); }, enableSelection: function () { return this.unbind(".ui-disableSelection"); }, zIndex: function (d) { if (d !== b) return this.css("zIndex", d); if (this.length) for (var e, f, g = a(this[0]); g.length && g[0] !== c;) { if (((e = g.css("position")), ("absolute" === e || "relative" === e || "fixed" === e) && ((f = parseInt(g.css("zIndex"), 10)), !isNaN(f) && 0 !== f))) return f; g = g.parent(); } return 0; }, }), (a.ui.plugin = { add: function (b, c, d) { var e, f = a.ui[b].prototype; for (e in d) (f.plugins[e] = f.plugins[e] || []), f.plugins[e].push([c, d[e]]); }, call: function (a, b, c, d) { var e, f = a.plugins[b]; if (f && (d || (a.element[0].parentNode && 11 !== a.element[0].parentNode.nodeType))) for (e = 0; e < f.length; e++) a.options[f[e][0]] && f[e][1].apply(a.element, c); }, }); })(a), (function (a, b) { var d = function (b, c) { var d = b.parent(), e = [], f = function () { var b = a(this), c = a.mobile.toolbar && b.data("mobile-toolbar") ? b.toolbar("option") : { position: b.attr("data-" + a.mobile.ns + "position"), updatePagePadding: b.attr("data-" + a.mobile.ns + "update-page-padding") !== !1 }; return !("fixed" === c.position && c.updatePagePadding === !0); }, g = d.children(":jqmData(role='header')").filter(f), h = b.children(":jqmData(role='header')"), i = d.children(":jqmData(role='footer')").filter(f), j = b.children(":jqmData(role='footer')"); return ( 0 === h.length && g.length > 0 && (e = e.concat(g.toArray())), 0 === j.length && i.length > 0 && (e = e.concat(i.toArray())), a.each(e, function (b, d) { c -= a(d).outerHeight(); }), Math.max(0, c) ); }; a.extend(a.mobile, { window: a(b), document: a(c), keyCode: a.ui.keyCode, behaviors: {}, silentScroll: function (c) { "number" !== a.type(c) && (c = a.mobile.defaultHomeScroll), (a.event.special.scrollstart.enabled = !1), setTimeout(function () { b.scrollTo(0, c), a.mobile.document.trigger("silentscroll", { x: 0, y: c }); }, 20), setTimeout(function () { a.event.special.scrollstart.enabled = !0; }, 150); }, getClosestBaseUrl: function (b) { var c = a(b).closest(".ui-page").jqmData("url"), d = a.mobile.path.documentBase.hrefNoHash; return (a.mobile.dynamicBaseEnabled && c && a.mobile.path.isPath(c)) || (c = d), a.mobile.path.makeUrlAbsolute(c, d); }, removeActiveLinkClass: function (b) { !a.mobile.activeClickedLink || (a.mobile.activeClickedLink.closest("." + a.mobile.activePageClass).length && !b) || a.mobile.activeClickedLink.removeClass(a.mobile.activeBtnClass), (a.mobile.activeClickedLink = null); }, getInheritedTheme: function (a, b) { for (var c, d, e = a[0], f = "", g = /ui-(bar|body|overlay)-([a-z])\b/; e && ((c = e.className || ""), !(c && (d = g.exec(c)) && (f = d[2])));) e = e.parentNode; return f || b || "a"; }, enhanceable: function (a) { return this.haveParents(a, "enhance"); }, hijackable: function (a) { return this.haveParents(a, "ajax"); }, haveParents: function (b, c) { if (!a.mobile.ignoreContentEnabled) return b; var d, e, f, g, h, i = b.length, j = a(); for (g = 0; i > g; g++) { for (e = b.eq(g), f = !1, d = b[g]; d;) { if (((h = d.getAttribute ? d.getAttribute("data-" + a.mobile.ns + c) : ""), "false" === h)) { f = !0; break; } d = d.parentNode; } f || (j = j.add(e)); } return j; }, getScreenHeight: function () { return b.innerHeight || a.mobile.window.height(); }, resetActivePageHeight: function (b) { var c = a("." + a.mobile.activePageClass), e = c.height(), f = c.outerHeight(!0); (b = d(c, "number" == typeof b ? b : a.mobile.getScreenHeight())), c.css("min-height", ""), c.height() < b && c.css("min-height", b - (f - e)); }, }), (a.addDependents = function (b, c) { var d = a(b), e = d.jqmData("dependents") || a(); d.jqmData("dependents", a(e).add(c)); }), a.fn.extend({ removeWithDependents: function () { a.removeWithDependents(this); }, enhanceWithin: function () { var b, c = {}, d = a.mobile.page.prototype.keepNativeSelector(), e = this; a.mobile.nojs && a.mobile.nojs(this), a.mobile.links && a.mobile.links(this), a.mobile.degradeInputsWithin && a.mobile.degradeInputsWithin(this), a.fn.buttonMarkup && this.find(a.fn.buttonMarkup.initSelector).not(d).jqmEnhanceable().buttonMarkup(), a.fn.fieldcontain && this.find(":jqmData(role='fieldcontain')").not(d).jqmEnhanceable().fieldcontain(), a.each(a.mobile.widgets, function (b, f) { if (f.initSelector) { var g = a.mobile.enhanceable(e.find(f.initSelector)); g.length > 0 && (g = g.not(d)), g.length > 0 && (c[f.prototype.widgetName] = g); } }); for (b in c) c[b][b](); return this; }, addDependents: function (b) { a.addDependents(this, b); }, getEncodedText: function () { return a("").text(this.text()).html(); }, jqmEnhanceable: function () { return a.mobile.enhanceable(this); }, jqmHijackable: function () { return a.mobile.hijackable(this); }, }), (a.removeWithDependents = function (b) { var c = a(b); (c.jqmData("dependents") || a()).remove(), c.remove(); }), (a.addDependents = function (b, c) { var d = a(b), e = d.jqmData("dependents") || a(); d.jqmData("dependents", a(e).add(c)); }), (a.find.matches = function (b, c) { return a.find(b, null, null, c); }), (a.find.matchesSelector = function (b, c) { return a.find(c, null, null, [b]).length > 0; }); })(a, this), (function (a) { a.extend(a.mobile, { version: "1.4.5", subPageUrlKey: "ui-page", hideUrlBar: !0, keepNative: ":jqmData(role='none'), :jqmData(role='nojs')", activePageClass: "ui-page-active", activeBtnClass: "ui-btn-active", focusClass: "ui-focus", ajaxEnabled: !0, hashListeningEnabled: !0, linkBindingEnabled: !0, defaultPageTransition: "fade", maxTransitionWidth: !1, minScrollBack: 0, defaultDialogTransition: "pop", pageLoadErrorMessage: "Error Loading Page", pageLoadErrorMessageTheme: "a", phonegapNavigationEnabled: !1, autoInitializePage: !0, pushStateEnabled: !0, ignoreContentEnabled: !1, buttonMarkup: { hoverDelay: 200 }, dynamicBaseEnabled: !0, pageContainer: a(), allowCrossDomainPages: !1, dialogHashKey: "&ui-state=dialog", }); })(a, this), (function (a, b) { var c = 0, d = Array.prototype.slice, e = a.cleanData; (a.cleanData = function (b) { for (var c, d = 0; null != (c = b[d]); d++) try { a(c).triggerHandler("remove"); } catch (f) { } e(b); }), (a.widget = function (b, c, d) { var e, f, g, h, i = {}, j = b.split(".")[0]; return ( (b = b.split(".")[1]), (e = j + "-" + b), d || ((d = c), (c = a.Widget)), (a.expr[":"][e.toLowerCase()] = function (b) { return !!a.data(b, e); }), (a[j] = a[j] || {}), (f = a[j][b]), (g = a[j][b] = function (a, b) { return this._createWidget ? void (arguments.length && this._createWidget(a, b)) : new g(a, b); }), a.extend(g, f, { version: d.version, _proto: a.extend({}, d), _childConstructors: [] }), (h = new c()), (h.options = a.widget.extend({}, h.options)), a.each(d, function (b, d) { return a.isFunction(d) ? void (i[b] = (function () { var a = function () { return c.prototype[b].apply(this, arguments); }, e = function (a) { return c.prototype[b].apply(this, a); }; return function () { var b, c = this._super, f = this._superApply; return (this._super = a), (this._superApply = e), (b = d.apply(this, arguments)), (this._super = c), (this._superApply = f), b; }; })()) : void (i[b] = d); }), (g.prototype = a.widget.extend(h, { widgetEventPrefix: f ? h.widgetEventPrefix || b : b }, i, { constructor: g, namespace: j, widgetName: b, widgetFullName: e })), f ? (a.each(f._childConstructors, function (b, c) { var d = c.prototype; a.widget(d.namespace + "." + d.widgetName, g, c._proto); }), delete f._childConstructors) : c._childConstructors.push(g), a.widget.bridge(b, g), g ); }), (a.widget.extend = function (c) { for (var e, f, g = d.call(arguments, 1), h = 0, i = g.length; i > h; h++) for (e in g[h]) (f = g[h][e]), g[h].hasOwnProperty(e) && f !== b && (c[e] = a.isPlainObject(f) ? (a.isPlainObject(c[e]) ? a.widget.extend({}, c[e], f) : a.widget.extend({}, f)) : f); return c; }), (a.widget.bridge = function (c, e) { var f = e.prototype.widgetFullName || c; a.fn[c] = function (g) { var h = "string" == typeof g, i = d.call(arguments, 1), j = this; return ( (g = !h && i.length ? a.widget.extend.apply(null, [g].concat(i)) : g), this.each( h ? function () { var d, e = a.data(this, f); return "instance" === g ? ((j = e), !1) : e ? a.isFunction(e[g]) && "_" !== g.charAt(0) ? ((d = e[g].apply(e, i)), d !== e && d !== b ? ((j = d && d.jquery ? j.pushStack(d.get()) : d), !1) : void 0) : a.error("no such method '" + g + "' for " + c + " widget instance") : a.error("cannot call methods on " + c + " prior to initialization; attempted to call method '" + g + "'"); } : function () { var b = a.data(this, f); b ? b.option(g || {})._init() : a.data(this, f, new e(g, this)); } ), j ); }; }), (a.Widget = function () { }), (a.Widget._childConstructors = []), (a.Widget.prototype = { widgetName: "widget", widgetEventPrefix: "", defaultElement: "
", options: { disabled: !1, create: null }, _createWidget: function (b, d) { (d = a(d || this.defaultElement || this)[0]), (this.element = a(d)), (this.uuid = c++), (this.eventNamespace = "." + this.widgetName + this.uuid), (this.options = a.widget.extend({}, this.options, this._getCreateOptions(), b)), (this.bindings = a()), (this.hoverable = a()), (this.focusable = a()), d !== this && (a.data(d, this.widgetFullName, this), this._on(!0, this.element, { remove: function (a) { a.target === d && this.destroy(); }, }), (this.document = a(d.style ? d.ownerDocument : d.document || d)), (this.window = a(this.document[0].defaultView || this.document[0].parentWindow))), this._create(), this._trigger("create", null, this._getCreateEventData()), this._init(); }, _getCreateOptions: a.noop, _getCreateEventData: a.noop, _create: a.noop, _init: a.noop, destroy: function () { this._destroy(), this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(a.camelCase(this.widgetFullName)), this.widget() .unbind(this.eventNamespace) .removeAttr("aria-disabled") .removeClass(this.widgetFullName + "-disabled ui-state-disabled"), this.bindings.unbind(this.eventNamespace), this.hoverable.removeClass("ui-state-hover"), this.focusable.removeClass("ui-state-focus"); }, _destroy: a.noop, widget: function () { return this.element; }, option: function (c, d) { var e, f, g, h = c; if (0 === arguments.length) return a.widget.extend({}, this.options); if ("string" == typeof c) if (((h = {}), (e = c.split(".")), (c = e.shift()), e.length)) { for (f = h[c] = a.widget.extend({}, this.options[c]), g = 0; g < e.length - 1; g++) (f[e[g]] = f[e[g]] || {}), (f = f[e[g]]); if (((c = e.pop()), d === b)) return f[c] === b ? null : f[c]; f[c] = d; } else { if (d === b) return this.options[c] === b ? null : this.options[c]; h[c] = d; } return this._setOptions(h), this; }, _setOptions: function (a) { var b; for (b in a) this._setOption(b, a[b]); return this; }, _setOption: function (a, b) { return ( (this.options[a] = b), "disabled" === a && (this.widget().toggleClass(this.widgetFullName + "-disabled", !!b), this.hoverable.removeClass("ui-state-hover"), this.focusable.removeClass("ui-state-focus")), this ); }, enable: function () { return this._setOptions({ disabled: !1 }); }, disable: function () { return this._setOptions({ disabled: !0 }); }, _on: function (b, c, d) { var e, f = this; "boolean" != typeof b && ((d = c), (c = b), (b = !1)), d ? ((c = e = a(c)), (this.bindings = this.bindings.add(c))) : ((d = c), (c = this.element), (e = this.widget())), a.each(d, function (d, g) { function h() { return b || (f.options.disabled !== !0 && !a(this).hasClass("ui-state-disabled")) ? ("string" == typeof g ? f[g] : g).apply(f, arguments) : void 0; } "string" != typeof g && (h.guid = g.guid = g.guid || h.guid || a.guid++); var i = d.match(/^(\w+)\s*(.*)$/), j = i[1] + f.eventNamespace, k = i[2]; k ? e.delegate(k, j, h) : c.bind(j, h); }); }, _off: function (a, b) { (b = (b || "").split(" ").join(this.eventNamespace + " ") + this.eventNamespace), a.unbind(b).undelegate(b); }, _delay: function (a, b) { function c() { return ("string" == typeof a ? d[a] : a).apply(d, arguments); } var d = this; return setTimeout(c, b || 0); }, _hoverable: function (b) { (this.hoverable = this.hoverable.add(b)), this._on(b, { mouseenter: function (b) { a(b.currentTarget).addClass("ui-state-hover"); }, mouseleave: function (b) { a(b.currentTarget).removeClass("ui-state-hover"); }, }); }, _focusable: function (b) { (this.focusable = this.focusable.add(b)), this._on(b, { focusin: function (b) { a(b.currentTarget).addClass("ui-state-focus"); }, focusout: function (b) { a(b.currentTarget).removeClass("ui-state-focus"); }, }); }, _trigger: function (b, c, d) { var e, f, g = this.options[b]; if (((d = d || {}), (c = a.Event(c)), (c.type = (b === this.widgetEventPrefix ? b : this.widgetEventPrefix + b).toLowerCase()), (c.target = this.element[0]), (f = c.originalEvent))) for (e in f) e in c || (c[e] = f[e]); return this.element.trigger(c, d), !((a.isFunction(g) && g.apply(this.element[0], [c].concat(d)) === !1) || c.isDefaultPrevented()); }, }), a.each({ show: "fadeIn", hide: "fadeOut" }, function (b, c) { a.Widget.prototype["_" + b] = function (d, e, f) { "string" == typeof e && (e = { effect: e }); var g, h = e ? (e === !0 || "number" == typeof e ? c : e.effect || c) : b; (e = e || {}), "number" == typeof e && (e = { duration: e }), (g = !a.isEmptyObject(e)), (e.complete = f), e.delay && d.delay(e.delay), g && a.effects && a.effects.effect[h] ? d[b](e) : h !== b && d[h] ? d[h](e.duration, e.easing, f) : d.queue(function (c) { a(this)[b](), f && f.call(d[0]), c(); }); }; }); })(a), (function (a, b, c) { var d = {}, e = a.find, f = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, g = /:jqmData\(([^)]*)\)/g; a.extend(a.mobile, { ns: "", getAttribute: function (b, c) { var d; (b = b.jquery ? b[0] : b), b && b.getAttribute && (d = b.getAttribute("data-" + a.mobile.ns + c)); try { d = "true" === d ? !0 : "false" === d ? !1 : "null" === d ? null : +d + "" === d ? +d : f.test(d) ? JSON.parse(d) : d; } catch (e) { } return d; }, nsNormalizeDict: d, nsNormalize: function (b) { return d[b] || (d[b] = a.camelCase(a.mobile.ns + b)); }, closestPageData: function (a) { return a.closest(":jqmData(role='page'), :jqmData(role='dialog')").data("mobile-page"); }, }), (a.fn.jqmData = function (b, d) { var e; return "undefined" != typeof b && (b && (b = a.mobile.nsNormalize(b)), (e = arguments.length < 2 || d === c ? this.data(b) : this.data(b, d))), e; }), (a.jqmData = function (b, c, d) { var e; return "undefined" != typeof c && (e = a.data(b, c ? a.mobile.nsNormalize(c) : c, d)), e; }), (a.fn.jqmRemoveData = function (b) { return this.removeData(a.mobile.nsNormalize(b)); }), (a.jqmRemoveData = function (b, c) { return a.removeData(b, a.mobile.nsNormalize(c)); }), (a.find = function (b, c, d, f) { return b.indexOf(":jqmData") > -1 && (b = b.replace(g, "[data-" + (a.mobile.ns || "") + "$1]")), e.call(this, b, c, d, f); }), a.extend(a.find, e); })(a, this), (function (a) { var b = /[A-Z]/g, c = function (a) { return "-" + a.toLowerCase(); }; a.extend(a.Widget.prototype, { _getCreateOptions: function () { var d, e, f = this.element[0], g = {}; if (!a.mobile.getAttribute(f, "defaults")) for (d in this.options) (e = a.mobile.getAttribute(f, d.replace(b, c))), null != e && (g[d] = e); return g; }, }), (a.mobile.widget = a.Widget); })(a), (function (a, b, d) { "$:nomunge"; function e(a) { return (a = a || location.href), "#" + a.replace(/^[^#]*#?(.*)$/, "$1"); } var f, g = "hashchange", h = c, i = a.event.special, j = h.documentMode, k = "on" + g in b && (j === d || j > 7); (a.fn[g] = function (a) { return a ? this.bind(g, a) : this.trigger(g); }), (a.fn[g].delay = 50), (i[g] = a.extend(i[g], { setup: function () { return k ? !1 : void a(f.start); }, teardown: function () { return k ? !1 : void a(f.stop); }, })), (f = (function () { function c() { var d = e(), h = n(j); d !== j ? (m((j = d), h), a(b).trigger(g)) : h !== j && (location.href = location.href.replace(/#.*/, "") + h), (f = setTimeout(c, a.fn[g].delay)); } var f, i = {}, j = e(), l = function (a) { return a; }, m = l, n = l; return ( (i.start = function () { f || c(); }), (i.stop = function () { f && clearTimeout(f), (f = d); }), b.attachEvent && !b.addEventListener && !k && (function () { var b, d; (i.start = function () { b || ((d = a.fn[g].src), (d = d && d + e()), (b = a('