'].join('') O.id = a ;(U ? O : R).innerHTML += P R.appendChild(O) if (!U) { R.style.background = '' R.style.overflow = 'hidden' T = N.style.overflow N.style.overflow = 'hidden' N.appendChild(R) } V = Y(O, W) if (!U) { R.parentNode.removeChild(R) N.style.overflow = T } else { O.parentNode.removeChild(O) } return !!V }, H = function (Q) { var P = B.matchMedia || B.msMatchMedia if (P) { return (P(Q) && P(Q).matches) || !1 } var O o('@media ' + Q + ' { #' + a + ' { position: absolute; } }', function (R) { O = (B.getComputedStyle ? getComputedStyle(R, null) : R.currentStyle)['position'] == 'absolute' }) return O }, p = (function () { var P = { select: 'input', change: 'input', submit: 'form', reset: 'form', error: 'img', load: 'img', abort: 'img', } function O(Q, S) { S = S || c.createElement(P[Q] || 'div') Q = 'on' + Q var R = Q in S if (!R) { if (!S.setAttribute) { S = c.createElement('div') } if (S.setAttribute && S.removeAttribute) { S.setAttribute(Q, '') R = s(S[Q], 'function') if (!s(S[Q], 'undefined')) { S[Q] = h } S.removeAttribute(Q) } } S = null return R } return O })(), j = {}.hasOwnProperty, y if (!s(j, 'undefined') && !s(j.call, 'undefined')) { y = function (O, P) { return j.call(O, P) } } else { y = function (O, P) { return P in O && s(O.constructor.prototype[P], 'undefined') } } if (!Function.prototype.bind) { Function.prototype.bind = function d(Q) { var R = this if (typeof R != 'function') { throw new TypeError() } var O = l.call(arguments, 1), P = function () { if (this instanceof P) { var U = function () {} U.prototype = R.prototype var T = new U() var S = R.apply(T, O.concat(l.call(arguments))) if (Object(S) === S) { return S } return T } else { return R.apply(Q, O.concat(l.call(arguments))) } } return P } } function E(O) { F.cssText = O } function v(P, O) { return E(k.join(P + ';') + (O || '')) } function s(P, O) { return typeof P === O } function u(P, O) { return !!~('' + P).indexOf(O) } function A(Q, O) { for (var P in Q) { var R = Q[P] if (!u(R, '-') && F[R] !== h) { return O == 'pfx' ? R : !0 } } return !1 } function r(P, S, R) { for (var O in P) { var Q = S[P[O]] if (Q !== h) { if (R === !1) { return P[O] } if (s(Q, 'function')) { return Q.bind(R || S) } return Q } } return !1 } function n(S, O, R) { var P = S.charAt(0).toUpperCase() + S.slice(1), Q = (S + ' ' + G.join(P + ' ') + P).split(' ') if (s(O, 'string') || s(O, 'undefined')) { return A(Q, O) } else { Q = (S + ' ' + L.join(P + ' ') + P).split(' ') return r(Q, O, R) } } m.flexbox = function () { return n('flexWrap') } m.flexboxlegacy = function () { return n('boxDirection') } m.canvas = function () { var O = c.createElement('canvas') return !!(O.getContext && O.getContext('2d')) } m.canvastext = function () { return !!(x.canvas && s(c.createElement('canvas').getContext('2d').fillText, 'function')) } m.webgl = function () { return !!B.WebGLRenderingContext } m.touch = function () { var O if ('ontouchstart' in B || (B.DocumentTouch && c instanceof DocumentTouch)) { O = !0 } else { o( ['@media (', k.join('touch-enabled),('), a, ')', '{#modernizr{top:9px;position:absolute}}'].join(''), function (P) { O = P.offsetTop === 9 } ) } return O } m.geolocation = function () { return 'geolocation' in navigator } m.postmessage = function () { return !!B.postMessage } m.websqldatabase = function () { return !!B.openDatabase } m.indexedDB = function () { return !!n('indexedDB', B) } m.hashchange = function () { return p('hashchange', B) && (c.documentMode === h || c.documentMode > 7) } m.history = function () { return !!(B.history && history.pushState) } m.draganddrop = function () { var O = c.createElement('div') return 'draggable' in O || ('ondragstart' in O && 'ondrop' in O) } m.websockets = function () { return 'WebSocket' in B || 'MozWebSocket' in B } m.rgba = function () { E('background-color:rgba(150,255,150,.5)') return u(F.backgroundColor, 'rgba') } m.hsla = function () { E('background-color:hsla(120,40%,100%,.5)') return u(F.backgroundColor, 'rgba') || u(F.backgroundColor, 'hsla') } m.multiplebgs = function () { E('background:url(https://),url(https://),red url(https://)') return /(url\s*\(.*?){3}/.test(F.background) } m.backgroundsize = function () { return n('backgroundSize') } m.borderimage = function () { return n('borderImage') } m.borderradius = function () { return n('borderRadius') } m.boxshadow = function () { return n('boxShadow') } m.textshadow = function () { return c.createElement('div').style.textShadow === '' } m.opacity = function () { v('opacity:.55') return /^0.55$/.test(F.opacity) } m.cssanimations = function () { return n('animationName') } m.csscolumns = function () { return n('columnCount') } m.cssgradients = function () { var Q = 'background-image:', P = 'gradient(linear,left top,right bottom,from(#9f9),to(white));', O = 'linear-gradient(left top,#9f9, white);' E((Q + '-webkit- '.split(' ').join(P + Q) + k.join(O + Q)).slice(0, -Q.length)) return u(F.backgroundImage, 'gradient') } m.cssreflections = function () { return n('boxReflect') } m.csstransforms = function () { return !!n('transform') } m.csstransforms3d = function () { var O = !!n('perspective') if (O && 'webkitPerspective' in N.style) { o( '@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}', function (P, Q) { O = P.offsetLeft === 9 && P.offsetHeight === 3 } ) } return O } m.csstransitions = function () { return n('transition') } m.fontface = function () { var O o('@font-face {font-family:"font";src:url("https://")}', function (S, T) { var R = c.getElementById('smodernizr'), P = R.sheet || R.styleSheet, Q = P ? (P.cssRules && P.cssRules[0] ? P.cssRules[0].cssText : P.cssText || '') : '' O = /src/i.test(Q) && Q.indexOf(T.split(' ')[0]) === 0 }) return O } m.generatedcontent = function () { var O o(['#', a, '{font:0/0 a}#', a, ':after{content:"', D, '";visibility:hidden;font:3px/1 a}'].join(''), function (P) { O = P.offsetHeight >= 3 }) return O } m.video = function () { var P = c.createElement('video'), O = !1 try { if ((O = !!P.canPlayType)) { O = new Boolean(O) O.ogg = P.canPlayType('video/ogg; codecs="theora"').replace(/^no$/, '') O.h264 = P.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/, '') O.webm = P.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/, '') } } catch (Q) {} return O } m.audio = function () { var P = c.createElement('audio'), O = !1 try { if ((O = !!P.canPlayType)) { O = new Boolean(O) O.ogg = P.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/, '') O.mp3 = P.canPlayType('audio/mpeg;').replace(/^no$/, '') O.wav = P.canPlayType('audio/wav; codecs="1"').replace(/^no$/, '') O.m4a = (P.canPlayType('audio/x-m4a;') || P.canPlayType('audio/aac;')).replace(/^no$/, '') } } catch (Q) {} return O } m.localstorage = function () { try { localStorage.setItem(a, a) localStorage.removeItem(a) return !0 } catch (O) { return !1 } } m.sessionstorage = function () { try { sessionStorage.setItem(a, a) sessionStorage.removeItem(a) return !0 } catch (O) { return !1 } } m.webworkers = function () { return !!B.Worker } m.applicationcache = function () { return !!B.applicationCache } m.svg = function () { return !!c.createElementNS && !!c.createElementNS(I.svg, 'svg').createSVGRect } m.inlinesvg = function () { var O = c.createElement('div') O.innerHTML = '' return (O.firstChild && O.firstChild.namespaceURI) == I.svg } m.smil = function () { return !!c.createElementNS && /SVGAnimate/.test(b.call(c.createElementNS(I.svg, 'animate'))) } m.svgclippaths = function () { return !!c.createElementNS && /SVGClipPath/.test(b.call(c.createElementNS(I.svg, 'clipPath'))) } function C() { x.input = (function (Q) { for (var P = 0, O = Q.length; P < O; P++) { g[Q[P]] = !!(Q[P] in M) } if (g.list) { g.list = !!(c.createElement('datalist') && B.HTMLDataListElement) } return g })('autocomplete autofocus list placeholder max min multiple pattern required step'.split(' ')) x.inputtypes = (function (R) { for (var Q = 0, P, T, S, O = R.length; Q < O; Q++) { M.setAttribute('type', (T = R[Q])) P = M.type !== 'text' if (P) { M.value = D M.style.cssText = 'position:absolute;visibility:hidden;' if (/^range$/.test(T) && M.style.WebkitAppearance !== h) { N.appendChild(M) S = c.defaultView P = S.getComputedStyle && S.getComputedStyle(M, null).WebkitAppearance !== 'textfield' && M.offsetHeight !== 0 N.removeChild(M) } else { if (/^(search|tel)$/.test(T)) { } else { if (/^(url|email)$/.test(T)) { P = M.checkValidity && M.checkValidity() === !1 } else { P = M.value != D } } } } q[R[Q]] = !!P } return q })('search tel url email datetime date month week time datetime-local number range color'.split(' ')) } for (var w in m) { if (y(m, w)) { t = w.toLowerCase() x[t] = m[w]() f.push((x[t] ? '' : 'no-') + t) } } x.input || C() x.addTest = function (P, Q) { if (typeof P == 'object') { for (var O in P) { if (y(P, O)) { x.addTest(O, P[O]) } } } else { P = P.toLowerCase() if (x[P] !== h) { return x } Q = typeof Q == 'function' ? Q() : Q if (typeof z !== 'undefined' && z) { N.className += ' ' + (Q ? '' : 'no-') + P } x[P] = Q } return x } E('') J = M = null ;(function (Y, aa) { var U = '3.7.0' var R = Y.html5 || {} var V = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i var Q = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i var ae var W = '_html5shiv' var O = 0 var ac = {} var S ;(function () { try { var ah = aa.createElement('a') ah.innerHTML = '' ae = 'hidden' in ah S = ah.childNodes.length == 1 || (function () { aa.createElement('a') var aj = aa.createDocumentFragment() return ( typeof aj.cloneNode == 'undefined' || typeof aj.createDocumentFragment == 'undefined' || typeof aj.createElement == 'undefined' ) })() } catch (ai) { ae = !0 S = !0 } })() function T(ah, aj) { var ak = ah.createElement('p'), ai = ah.getElementsByTagName('head')[0] || ah.documentElement ak.innerHTML = 'x' return ai.insertBefore(ak.lastChild, ai.firstChild) } function Z() { var ah = X.elements return typeof ah == 'string' ? ah.split(' ') : ah } function ad(ah) { var ai = ac[ah[W]] if (!ai) { ai = {} O++ ah[W] = O ac[O] = ai } return ai } function ab(ak, ah, aj) { if (!ah) { ah = aa } if (S) { return ah.createElement(ak) } if (!aj) { aj = ad(ah) } var ai if (aj.cache[ak]) { ai = aj.cache[ak].cloneNode() } else { if (Q.test(ak)) { ai = (aj.cache[ak] = aj.createElem(ak)).cloneNode() } else { ai = aj.createElem(ak) } } return ai.canHaveChildren && !V.test(ak) && !ai.tagUrn ? aj.frag.appendChild(ai) : ai } function af(aj, al) { if (!aj) { aj = aa } if (S) { return aj.createDocumentFragment() } al = al || ad(aj) var am = al.frag.cloneNode(), ak = 0, ai = Z(), ah = ai.length for (; ak < ah; ak++) { am.createElement(ai[ak]) } return am } function ag(ah, ai) { if (!ai.cache) { ai.cache = {} ai.createElem = ah.createElement ai.createFrag = ah.createDocumentFragment ai.frag = ai.createFrag() } ah.createElement = function (aj) { if (!X.shivMethods) { return ai.createElem(aj) } return ab(aj, ah, ai) } ah.createDocumentFragment = Function( 'h,f', 'return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&(' + Z() .join() .replace(/[\w\-]+/g, function (aj) { ai.createElem(aj) ai.frag.createElement(aj) return 'c("' + aj + '")' }) + ');return n}' )(X, ai.frag) } function P(ah) { if (!ah) { ah = aa } var ai = ad(ah) if (X.shivCSS && !ae && !ai.hasCSS) { ai.hasCSS = !!T( ah, 'article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}' ) } if (!S) { ag(ah, ai) } return ah } var X = { elements: R.elements || 'abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video', version: U, shivCSS: R.shivCSS !== !1, supportsUnknownElements: S, shivMethods: R.shivMethods !== !1, type: 'default', shivDocument: P, createElement: ab, createDocumentFragment: af, } Y.html5 = X P(aa) })(this, c) x._version = K x._prefixes = k x._domPrefixes = L x._cssomPrefixes = G x.mq = H x.hasEvent = p x.testProp = function (O) { return A([O]) } x.testAllProps = n x.testStyles = o x.prefixed = function (Q, P, O) { if (!P) { return n(Q, 'pfx') } else { return n(Q, P, O) } } N.className = N.className.replace(/(^|\s)no-js(\s|$)/, '$1$2') + (z ? ' js ' + f.join(' ') : '') return x })(this, this.document) ;(function e(h, j, l) { function m(a, c) { if (!j[a]) { if (!h[a]) { var d = typeof require == 'function' && require if (!c && d) { return d(a, !0) } if (i) { return i(a, !0) } var b = new Error("Cannot find module '" + a + "'") throw ((b.code = 'MODULE_NOT_FOUND'), b) } var f = (j[a] = { exports: {} }) h[a][0].call( f.exports, function (g) { var n = h[a][1][g] return m(n ? n : g) }, f, f.exports, e, h, j, l ) } return j[a].exports } var i = typeof require == 'function' && require for (var k = 0; k < l.length; k++) { m(l[k]) } return m })( { 1: [ function (d, g, f) { ;(function (c, a, b) { if (typeof define === 'function' && define.amd) { define(['jquery'], function (i) { b(i, c, a) return i.mobile }) } else { b(c.jQuery, c, a) } })(this, document, function (b, c, i, a) { ;(function (au, ak, aM, aF) { var al = 'virtualMouseBindings', aP = 'virtualTouchID', aQ = 'vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel'.split(' '), av = 'clientX clientY pageX pageY screenX screenY'.split(' '), ao = au.event.mouseHooks ? au.event.mouseHooks.props : [], at = au.event.props.concat(ao), aq = {}, aj = 0, az = 0, aA = 0, aC = !1, ag = [], aK = !1, h = !1, ax = 'addEventListener' in aM, ay = au(aM), am = 1, ad = 0, aO, af au.vmouse = { moveDistanceThreshold: 10, clickDistanceThreshold: 10, resetTimerDuration: 1500 } function aB(j) { while (j && typeof j.originalEvent !== 'undefined') { j = j.originalEvent } return j } function aJ(u, t) { var l = u.type, k, m, s, j, o, p, q, r, n u = au.Event(u) u.type = t k = u.originalEvent m = au.event.props if (l.search(/^(mouse|click)/) > -1) { m = at } if (k) { for (q = m.length, j; q; ) { j = m[--q] u[j] = k[j] } } if (l.search(/mouse(down|up)|click/) > -1 && !u.which) { u.which = 1 } if (l.search(/^touch/) !== -1) { s = aB(k) l = s.touches o = s.changedTouches p = l && l.length ? l[0] : o && o.length ? o[0] : aF if (p) { for (r = 0, n = av.length; r < n; r++) { j = av[r] u[j] = p[j] } } } return u } function ab(k) { var m = {}, j, l while (k) { j = au.data(k, al) for (l in j) { if (j[l]) { m[l] = m.hasVirtualBinding = !0 } } k = k.parentNode } return m } function ap(k, l) { var j while (k) { j = au.data(k, al) if (j && (!l || j[l])) { return k } k = k.parentNode } return null } function ah() { h = !1 } function aH() { h = !0 } function aa() { ad = 0 ag.length = 0 aK = !1 aH() } function aD() { ah() } function aw() { ar() aj = setTimeout(function () { aj = 0 aa() }, au.vmouse.resetTimerDuration) } function ar() { if (aj) { clearTimeout(aj) aj = 0 } } function aE(l, k, j) { var m if ((j && j[l]) || (!j && ap(k.target, l))) { m = aJ(k, l) au(k.target).trigger(m) } return m } function aI(l) { var k = au.data(l.target, aP), j if (!aK && (!ad || ad !== k)) { j = aE('v' + l.type, l) if (j) { if (j.isDefaultPrevented()) { l.preventDefault() } if (j.isPropagationStopped()) { l.stopPropagation() } if (j.isImmediatePropagationStopped()) { l.stopImmediatePropagation() } } } } function ac(m) { var k = aB(m).touches, l, j, n if (k && k.length === 1) { l = m.target j = ab(l) if (j.hasVirtualBinding) { ad = am++ au.data(l, aP, ad) ar() aD() aC = !1 n = aB(m).touches[0] az = n.pageX aA = n.pageY aE('vmouseover', m, j) aE('vmousedown', m, j) } } } function ai(j) { if (h) { return } if (!aC) { aE('vmousecancel', j, ab(j.target)) } aC = !0 aw() } function aN(k) { if (h) { return } var m = aB(k).touches[0], n = aC, l = au.vmouse.moveDistanceThreshold, j = ab(k.target) aC = aC || Math.abs(m.pageX - az) > l || Math.abs(m.pageY - aA) > l if (aC && !n) { aE('vmousecancel', k, j) } aE('vmousemove', k, j) aw() } function aL(k) { if (h) { return } aH() var j = ab(k.target), m, l aE('vmouseup', k, j) if (!aC) { m = aE('vclick', k, j) if (m && m.isDefaultPrevented()) { l = aB(k).changedTouches[0] ag.push({ touchID: ad, x: l.clientX, y: l.clientY }) aK = !0 } } aE('vmouseout', k, j) aC = !1 aw() } function an(l) { var k = au.data(l, al), j if (k) { for (j in k) { if (k[j]) { return !0 } } } return !1 } function ae() {} function aG(j) { var k = j.substr(1) return { setup: function () { if (!an(this)) { au.data(this, al, {}) } var l = au.data(this, al) l[j] = !0 aq[j] = (aq[j] || 0) + 1 if (aq[j] === 1) { ay.bind(k, aI) } au(this).bind(k, ae) if (ax) { aq.touchstart = (aq.touchstart || 0) + 1 if (aq.touchstart === 1) { ay.bind('touchstart', ac).bind('touchend', aL).bind('touchmove', aN).bind('scroll', ai) } } }, teardown: function () { --aq[j] if (!aq[j]) { ay.unbind(k, aI) } if (ax) { --aq.touchstart if (!aq.touchstart) { ay.unbind('touchstart', ac).unbind('touchmove', aN).unbind('touchend', aL).unbind('scroll', ai) } } var m = au(this), l = au.data(this, al) if (l) { l[j] = !1 } m.unbind(k, ae) if (!an(this)) { m.removeData(al) } }, } } for (af = 0; af < aQ.length; af++) { au.event.special[aQ[af]] = aG(aQ[af]) } if (ax) { aM.addEventListener( 'click', function (o) { var r = ag.length, n = o.target, l, m, k, p, j, q if (r) { l = o.clientX m = o.clientY aO = au.vmouse.clickDistanceThreshold k = n while (k) { for (p = 0; p < r; p++) { j = ag[p] q = 0 if ( (k === n && Math.abs(j.x - l) < aO && Math.abs(j.y - m) < aO) || au.data(k, aP) === j.touchID ) { o.preventDefault() o.stopPropagation() return } } k = k.parentNode } } }, !0 ) } })($, c, i) ;(function (h) { h.mobile = {} })($) ;(function (l, h) { var m = { touch: 'ontouchend' in i } l.mobile.support = l.mobile.support || {} l.extend(l.support, m) l.extend(l.mobile.support, m) })($) ;(function (x, s, A) { var z = x(i), w = x.mobile.support.touch, v = 'touchmove scroll', h = w ? 'touchstart' : 'mousedown', t = w ? 'touchend' : 'mouseup', y = w ? 'touchmove' : 'mousemove' x.each( 'touchstart touchmove touchend tap taphold swipe swipeleft swiperight scrollstart scrollstop'.split(' '), function (j, k) { x.fn[k] = function (l) { return l ? this.bind(k, l) : this.trigger(k) } if (x.attrFn) { x.attrFn[k] = !0 } } ) function u(j, m, k) { var l = k.type k.type = m x.event.dispatch.call(j, k) k.type = l } x.event.special.scrollstart = { enabled: !0, setup: function () { var n = this, k = x(n), l, j function m(o, p) { l = p u(n, l ? 'scrollstart' : 'scrollstop', o) } k.bind(v, function (o) { if (!x.event.special.scrollstart.enabled) { return } if (!l) { m(o, !0) } clearTimeout(j) j = setTimeout(function () { m(o, !1) }, 50) }) }, teardown: function () { x(this).unbind(v) }, } x.event.special.tap = { tapholdThreshold: 750, emitTapOnTaphold: !0, setup: function () { var l = this, j = x(l), k = !1 j.bind('vmousedown', function (n) { k = !1 if (n.which && n.which !== 1) { return !1 } var o = n.target, m function p() { clearTimeout(m) } function q() { p() j.unbind('vclick', r).unbind('vmouseup', p) z.unbind('vmousecancel', q) } function r(C) { q() if (!k && o === C.target) { u(l, 'tap', C) } else { if (k) { C.stopPropagation() } } } j.bind('vmouseup', p).bind('vclick', r) z.bind('vmousecancel', q) m = setTimeout(function () { if (x.event.special.tap.emitTapOnTaphold) { k = !0 } u(l, 'taphold', x.Event('taphold', { target: o })) }, x.event.special.tap.tapholdThreshold) }) }, teardown: function () { x(this).unbind('vmousedown').unbind('vclick').unbind('vmouseup') z.unbind('vmousecancel') }, } x.event.special.swipe = { scrollSupressionThreshold: 30, durationThreshold: 1000, horizontalDistanceThreshold: 30, verticalDistanceThreshold: 75, start: function (k) { var j = k.originalEvent.touches ? k.originalEvent.touches[0] : k return { time: new Date().getTime(), coords: [j.pageX, j.pageY], origin: x(k.target) } }, stop: function (k) { var j = k.originalEvent.touches ? k.originalEvent.touches[0] : k return { time: new Date().getTime(), coords: [j.pageX, j.pageY] } }, handleSwipe: function (j, m, n, l) { if ( m.time - j.time < x.event.special.swipe.durationThreshold && Math.abs(j.coords[0] - m.coords[0]) > x.event.special.swipe.horizontalDistanceThreshold && Math.abs(j.coords[1] - m.coords[1]) < x.event.special.swipe.verticalDistanceThreshold ) { var k = j.coords[0] > m.coords[0] ? 'swipeleft' : 'swiperight' u(n, 'swipe', x.Event('swipe', { target: l })) u(n, k, x.Event(k, { target: l })) } }, setup: function () { var k = this, j = x(k) j.bind(h, function (m) { var o, p = x.event.special.swipe.start(m), n = m.target function l(q) { if (!p) { return } o = x.event.special.swipe.stop(q) if (Math.abs(p.coords[0] - o.coords[0]) > x.event.special.swipe.scrollSupressionThreshold) { q.preventDefault() } } j.bind(y, l).one(t, function () { j.unbind(y, l) if (p && o) { x.event.special.swipe.handleSwipe(p, o, k, n) } p = o = A }) }) }, teardown: function () { x(this).unbind(h).unbind(y).unbind(t) }, } x.each( { scrollstop: 'scrollstart', taphold: 'tap', swipeleft: 'swipe', swiperight: 'swipe' }, function (j, k) { x.event.special[j] = { setup: function () { x(this).bind(k, x.noop) }, teardown: function () { x(this).unbind(k) }, } } ) })($, this) }) }, {}, ], 2: [ function (d, g, f) { ;(function (a) { if (typeof define === 'function' && define.amd) { define(['jquery'], a) } else { if (typeof g === 'object' && g.exports) { g.exports = a(d('jquery')) } else { a(jQuery) } } })(function (a) { a.extend(a.fn, { validate: function (k) { if (!this.length) { if (k && k.debug && window.console) { console.warn("Nothing selected, can't validate, returning nothing.") } return } var j = a.data(this[0], 'validator') if (j) { return j } this.attr('novalidate', 'novalidate') j = new a.validator(k, this[0]) a.data(this[0], 'validator', j) if (j.settings.onsubmit) { this.on('click.validate', ':submit', function (h) { if (j.settings.submitHandler) { j.submitButton = h.target } if (a(this).hasClass('cancel')) { j.cancelSubmit = !0 } if (a(this).attr('formnovalidate') !== undefined) { j.cancelSubmit = !0 } }) this.on('submit.validate', function (i) { if (j.settings.debug) { i.preventDefault() } function h() { var n, o if (j.settings.submitHandler) { if (j.submitButton) { n = a("") .attr('name', j.submitButton.name) .val(a(j.submitButton).val()) .appendTo(j.currentForm) } o = j.settings.submitHandler.call(j, j.currentForm, i) if (j.submitButton) { n.remove() } if (o !== undefined) { return o } return !1 } return !0 } if (j.cancelSubmit) { j.cancelSubmit = !1 return h() } if (j.form()) { if (j.pendingRequest) { j.formSubmitted = !0 return !1 } return h() } else { j.focusInvalid() return !1 } }) } return j }, valid: function () { var l, m, k if (a(this[0]).is('form')) { l = this.validate().form() } else { k = [] l = !0 m = a(this[0].form).validate() this.each(function () { l = m.element(this) && l if (!l) { k = k.concat(m.errorList) } }) m.errorList = k } return l }, rules: function (v, y) { var t = this[0], w, r, q, u, x, s if (t == null || t.form == null) { return } if (v) { w = a.data(t.form, 'validator').settings r = w.rules q = a.validator.staticRules(t) switch (v) { case 'add': a.extend(q, a.validator.normalizeRule(y)) delete q.messages r[t.name] = q if (y.messages) { w.messages[t.name] = a.extend(w.messages[t.name], y.messages) } break case 'remove': if (!y) { delete r[t.name] return q } s = {} a.each(y.split(/\s/), function (i, h) { s[h] = q[h] delete q[h] if (h === 'required') { a(t).removeAttr('aria-required') } }) return s } } u = a.validator.normalizeRules( a.extend( {}, a.validator.classRules(t), a.validator.attributeRules(t), a.validator.dataRules(t), a.validator.staticRules(t) ), t ) if (u.required) { x = u.required delete u.required u = a.extend({ required: x }, u) a(t).attr('aria-required', 'true') } if (u.remote) { x = u.remote delete u.remote u = a.extend(u, { remote: x }) } return u }, }) a.extend(a.expr[':'], { blank: function (i) { return !a.trim('' + a(i).val()) }, filled: function (k) { var j = a(k).val() return j !== null && !!a.trim('' + j) }, unchecked: function (i) { return !a(i).prop('checked') }, }) a.validator = function (k, j) { this.settings = a.extend(!0, {}, a.validator.defaults, k) this.currentForm = j this.init() } a.validator.format = function (k, j) { if (arguments.length === 1) { return function () { var h = a.makeArray(arguments) h.unshift(k) return a.validator.format.apply(this, h) } } if (j === undefined) { return k } if (arguments.length > 2 && j.constructor !== Array) { j = a.makeArray(arguments).slice(1) } if (j.constructor !== Array) { j = [j] } a.each(j, function (i, h) { k = k.replace(new RegExp('\\{' + i + '\\}', 'g'), function () { return h }) }) return k } a.extend(a.validator, { defaults: { messages: {}, groups: {}, rules: {}, errorClass: 'error', pendingClass: 'pending', validClass: 'valid', errorElement: 'label', focusCleanup: !1, focusInvalid: !0, errorContainer: a([]), errorLabelContainer: a([]), onsubmit: !0, ignore: ':hidden', ignoreTitle: !1, onfocusin: function (i) { this.lastActive = i if (this.settings.focusCleanup) { if (this.settings.unhighlight) { this.settings.unhighlight.call(this, i, this.settings.errorClass, this.settings.validClass) } this.hideThese(this.errorsFor(i)) } }, onfocusout: function (i) { if (!this.checkable(i) && (i.name in this.submitted || !this.optional(i))) { this.element(i) } }, onkeyup: function (l, k) { var m = [16, 17, 18, 20, 35, 36, 37, 38, 39, 40, 45, 144, 225] if ((k.which === 9 && this.elementValue(l) === '') || a.inArray(k.keyCode, m) !== -1) { return } else { if (l.name in this.submitted || l.name in this.invalid) { this.element(l) } } }, onclick: function (i) { if (i.name in this.submitted) { this.element(i) } else { if (i.parentNode.name in this.submitted) { this.element(i.parentNode) } } }, highlight: function (k, m, l) { if (k.type === 'radio') { this.findByName(k.name).addClass(m).removeClass(l) } else { a(k).addClass(m).removeClass(l) } }, unhighlight: function (k, m, l) { if (k.type === 'radio') { this.findByName(k.name).removeClass(m).addClass(l) } else { a(k).removeClass(m).addClass(l) } }, }, setDefaults: function (i) { a.extend(a.validator.defaults, i) }, messages: { required: 'This field is required.', remote: 'Please fix this field.', email: 'Please enter a valid email address.', url: 'Please enter a valid URL.', date: 'Please enter a valid date.', dateISO: 'Please enter a valid date (ISO).', number: 'Please enter a valid number.', digits: 'Please enter only digits.', equalTo: 'Please enter the same value again.', maxlength: a.validator.format('Please enter no more than {0} characters.'), minlength: a.validator.format('Please enter at least {0} characters.'), rangelength: a.validator.format('Please enter a value between {0} and {1} characters long.'), range: a.validator.format('Please enter a value between {0} and {1}.'), max: a.validator.format('Please enter a value less than or equal to {0}.'), min: a.validator.format('Please enter a value greater than or equal to {0}.'), step: a.validator.format('Please enter a multiple of {0}.'), }, autoCreateRanges: !1, prototype: { init: function () { this.labelContainer = a(this.settings.errorLabelContainer) this.errorContext = (this.labelContainer.length && this.labelContainer) || a(this.currentForm) this.containers = a(this.settings.errorContainer).add(this.settings.errorLabelContainer) this.submitted = {} this.valueCache = {} this.pendingRequest = 0 this.pending = {} this.invalid = {} this.reset() var m = (this.groups = {}), k a.each(this.settings.groups, function (i, h) { if (typeof h === 'string') { h = h.split(/\s/) } a.each(h, function (o, j) { m[j] = i }) }) k = this.settings.rules a.each(k, function (i, h) { k[i] = a.validator.normalizeRule(h) }) function l(o) { if (!this.form && this.hasAttribute('contenteditable')) { this.form = a(this).closest('form')[0] } var i = a.data(this.form, 'validator'), j = 'on' + o.type.replace(/^validate/, ''), h = i.settings if (h[j] && !a(this).is(h.ignore)) { h[j].call(i, this, o) } } a(this.currentForm) .on( 'focusin.validate focusout.validate keyup.validate', ":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable]", l ) .on('click.validate', "select, option, [type='radio'], [type='checkbox']", l) if (this.settings.invalidHandler) { a(this.currentForm).on('invalid-form.validate', this.settings.invalidHandler) } a(this.currentForm).find('[required], [data-rule-required], .required').attr('aria-required', 'true') }, form: function () { this.checkForm() a.extend(this.submitted, this.errorMap) this.invalid = a.extend({}, this.errorMap) if (!this.valid()) { a(this.currentForm).triggerHandler('invalid-form', [this]) } this.showErrors() return this.valid() }, checkForm: function () { this.prepareForm() for (var k = 0, i = (this.currentElements = this.elements()); i[k]; k++) { this.check(i[k]) } return this.valid() }, element: function (p) { var o = this.clean(p), q = this.validationTargetFor(o), r = this, t = !0, s, u if (q === undefined) { delete this.invalid[o.name] } else { this.prepareElement(q) this.currentElements = a(q) u = this.groups[q.name] if (u) { a.each(this.groups, function (h, i) { if (i === u && h !== q.name) { o = r.validationTargetFor(r.clean(r.findByName(h))) if (o && o.name in r.invalid) { r.currentElements.push(o) t = r.check(o) && t } } }) } s = this.check(q) !== !1 t = t && s if (s) { this.invalid[q.name] = !1 } else { this.invalid[q.name] = !0 } if (!this.numberOfInvalids()) { this.toHide = this.toHide.add(this.containers) } this.showErrors() a(p).attr('aria-invalid', !s) } return t }, showErrors: function (j) { if (j) { var k = this a.extend(this.errorMap, j) this.errorList = a.map(this.errorMap, function (h, i) { return { message: h, element: k.findByName(i)[0] } }) this.successList = a.grep(this.successList, function (h) { return !(h.name in j) }) } if (this.settings.showErrors) { this.settings.showErrors.call(this, this.errorMap, this.errorList) } else { this.defaultShowErrors() } }, resetForm: function () { if (a.fn.resetForm) { a(this.currentForm).resetForm() } this.invalid = {} this.submitted = {} this.prepareForm() this.hideErrors() var i = this.elements().removeData('previousValue').removeAttr('aria-invalid') this.resetElements(i) }, resetElements: function (i) { var k if (this.settings.unhighlight) { for (k = 0; i[k]; k++) { this.settings.unhighlight.call(this, i[k], this.settings.errorClass, '') this.findByName(i[k].name).removeClass(this.settings.validClass) } } else { i.removeClass(this.settings.errorClass).removeClass(this.settings.validClass) } }, numberOfInvalids: function () { return this.objectLength(this.invalid) }, objectLength: function (i) { var l = 0, m for (m in i) { if (i[m]) { l++ } } return l }, hideErrors: function () { this.hideThese(this.toHide) }, hideThese: function (i) { i.not(this.containers).text('') this.addWrapper(i).hide() }, valid: function () { return this.size() === 0 }, size: function () { return this.errorList.length }, focusInvalid: function () { if (this.settings.focusInvalid) { try { a(this.findLastActive() || (this.errorList.length && this.errorList[0].element) || []) .filter(':visible') .focus() .trigger('focusin') } catch (i) {} } }, findLastActive: function () { var i = this.lastActive return ( i && a.grep(this.errorList, function (h) { return h.element.name === i.name }).length === 1 && i ) }, elements: function () { var j = this, k = {} return a(this.currentForm) .find('input, select, textarea, [contenteditable]') .not(':submit, :reset, :image, :disabled') .not(this.settings.ignore) .filter(function () { var h = this.name || a(this).attr('name') if (!h && j.settings.debug && window.console) { console.error('%o has no name assigned', this) } if (this.hasAttribute('contenteditable')) { this.form = a(this).closest('form')[0] } if (h in k || !j.objectLength(a(this).rules())) { return !1 } k[h] = !0 return !0 }) }, clean: function (i) { return a(i)[0] }, errors: function () { var i = this.settings.errorClass.split(' ').join('.') return a(this.settings.errorElement + '.' + i, this.errorContext) }, resetInternals: function () { this.successList = [] this.errorList = [] this.errorMap = {} this.toShow = a([]) this.toHide = a([]) }, reset: function () { this.resetInternals() this.currentElements = a([]) }, prepareForm: function () { this.reset() this.toHide = this.errors().add(this.containers) }, prepareElement: function (i) { this.reset() this.toHide = this.errorsFor(i) }, elementValue: function (o) { var p = a(o), n = o.type, m, q if (n === 'radio' || n === 'checkbox') { return this.findByName(o.name).filter(':checked').val() } else { if (n === 'number' && typeof o.validity !== 'undefined') { return o.validity.badInput ? 'NaN' : p.val() } } if (o.hasAttribute('contenteditable')) { m = p.text() } else { m = p.val() } if (n === 'file') { if (m.substr(0, 12) === 'C:\\fakepath\\') { return m.substr(12) } q = m.lastIndexOf('/') if (q >= 0) { return m.substr(q + 1) } q = m.lastIndexOf('\\') if (q >= 0) { return m.substr(q + 1) } return m } if (typeof m === 'string') { return m.replace(/\r/g, '') } return m }, check: function (w) { w = this.validationTargetFor(this.clean(w)) var s = a(w).rules(), u = a.map(s, function (h, i) { return i }).length, r = !1, x = this.elementValue(w), q, y, t if (typeof s.normalizer === 'function') { x = s.normalizer.call(w, x) if (typeof x !== 'string') { throw new TypeError('The normalizer should return a string value.') } delete s.normalizer } for (y in s) { t = { method: y, parameters: s[y] } try { q = a.validator.methods[y].call(this, x, w, t.parameters) if (q === 'dependency-mismatch' && u === 1) { r = !0 continue } r = !1 if (q === 'pending') { this.toHide = this.toHide.not(this.errorsFor(w)) return } if (!q) { this.formatAndAdd(w, t) return !1 } } catch (v) { if (this.settings.debug && window.console) { console.log( 'Exception occurred when checking element ' + w.id + ", check the '" + t.method + "' method.", v ) } if (v instanceof TypeError) { v.message += '. Exception occurred when checking element ' + w.id + ", check the '" + t.method + "' method." } throw v } } if (r) { return } if (this.objectLength(s)) { this.successList.push(w) } return !0 }, customDataMessage: function (k, j) { return a(k).data('msg' + j.charAt(0).toUpperCase() + j.substring(1).toLowerCase()) || a(k).data('msg') }, customMessage: function (l, k) { var m = this.settings.messages[l] return m && (m.constructor === String ? m : m[k]) }, findDefined: function () { for (var i = 0; i < arguments.length; i++) { if (arguments[i] !== undefined) { return arguments[i] } } return undefined }, defaultMessage: function (n, l) { if (typeof l === 'string') { l = { method: l } } var m = this.findDefined( this.customMessage(n.name, l.method), this.customDataMessage(n, l.method), (!this.settings.ignoreTitle && n.title) || undefined, a.validator.messages[l.method], 'Warning: No message defined for ' + n.name + '' ), o = /\$?\{(\d+)\}/g if (typeof m === 'function') { m = m.call(this, l.parameters, n) } else { if (o.test(m)) { m = a.validator.format(m.replace(o, '{$1}'), l.parameters) } } return m }, formatAndAdd: function (m, k) { var l = this.defaultMessage(m, k) this.errorList.push({ message: l, element: m, method: k.method }) this.errorMap[m.name] = l this.submitted[m.name] = l }, addWrapper: function (i) { if (this.settings.wrapper) { i = i.add(i.parent(this.settings.wrapper)) } return i }, defaultShowErrors: function () { var l, i, m for (l = 0; this.errorList[l]; l++) { m = this.errorList[l] if (this.settings.highlight) { this.settings.highlight.call(this, m.element, this.settings.errorClass, this.settings.validClass) } this.showLabel(m.element, m.message) } if (this.errorList.length) { this.toShow = this.toShow.add(this.containers) } if (this.settings.success) { for (l = 0; this.successList[l]; l++) { this.showLabel(this.successList[l]) } } if (this.settings.unhighlight) { for (l = 0, i = this.validElements(); i[l]; l++) { this.settings.unhighlight.call(this, i[l], this.settings.errorClass, this.settings.validClass) } } this.toHide = this.toHide.not(this.toShow) this.hideErrors() this.addWrapper(this.toShow).show() }, validElements: function () { return this.currentElements.not(this.invalidElements()) }, invalidElements: function () { return a(this.errorList).map(function () { return this.element }) }, showLabel: function (v, q) { var x, s, w, r, u = this.errorsFor(v), t = this.idOrName(v), y = a(v).attr('aria-describedby') if (u.length) { u.removeClass(this.settings.validClass).addClass(this.settings.errorClass) u.html(q) } else { u = a('<' + this.settings.errorElement + '>') .attr('id', t + '-error') .addClass(this.settings.errorClass) .html(q || '') x = u if (this.settings.wrapper) { x = u .hide() .show() .wrap('<' + this.settings.wrapper + '/>') .parent() } if (this.labelContainer.length) { this.labelContainer.append(x) } else { if (this.settings.errorPlacement) { this.settings.errorPlacement.call(this, x, a(v)) } else { x.insertAfter(v) } } if (u.is('label')) { u.attr('for', t) } else { if (u.parents("label[for='" + this.escapeCssMeta(t) + "']").length === 0) { w = u.attr('id') if (!y) { y = w } else { if (!y.match(new RegExp('\\b' + this.escapeCssMeta(w) + '\\b'))) { y += ' ' + w } } a(v).attr('aria-describedby', y) s = this.groups[v.name] if (s) { r = this a.each(r.groups, function (h, i) { if (i === s) { a("[name='" + r.escapeCssMeta(h) + "']", r.currentForm).attr( 'aria-describedby', u.attr('id') ) } }) } } } } if (!q && this.settings.success) { u.text('') if (typeof this.settings.success === 'string') { u.addClass(this.settings.success) } else { this.settings.success(u, v) } } this.toShow = this.toShow.add(u) }, errorsFor: function (m) { var n = this.escapeCssMeta(this.idOrName(m)), l = a(m).attr('aria-describedby'), o = "label[for='" + n + "'], label[for='" + n + "'] *" if (l) { o = o + ', #' + this.escapeCssMeta(l).replace(/\s+/g, ', #') } return this.errors().filter(o) }, escapeCssMeta: function (i) { return i.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g, '\\$1') }, idOrName: function (i) { return this.groups[i.name] || (this.checkable(i) ? i.name : i.id || i.name) }, validationTargetFor: function (i) { if (this.checkable(i)) { i = this.findByName(i.name) } return a(i).not(this.settings.ignore)[0] }, checkable: function (i) { return /radio|checkbox/i.test(i.type) }, findByName: function (i) { return a(this.currentForm).find("[name='" + this.escapeCssMeta(i) + "']") }, getLength: function (j, k) { switch (k.nodeName.toLowerCase()) { case 'select': return a('option:selected', k).length case 'input': if (this.checkable(k)) { return this.findByName(k.name).filter(':checked').length } } return j.length }, depend: function (j, k) { return this.dependTypes[typeof j] ? this.dependTypes[typeof j](j, k) : !0 }, dependTypes: { boolean: function (i) { return i }, string: function (j, k) { return !!a(j, k.form).length }, function: function (j, k) { return j(k) }, }, optional: function (k) { var j = this.elementValue(k) return !a.validator.methods.required.call(this, j, k) && 'dependency-mismatch' }, startRequest: function (i) { if (!this.pending[i.name]) { this.pendingRequest++ a(i).addClass(this.settings.pendingClass) this.pending[i.name] = !0 } }, stopRequest: function (k, j) { this.pendingRequest-- if (this.pendingRequest < 0) { this.pendingRequest = 0 } delete this.pending[k.name] a(k).removeClass(this.settings.pendingClass) if (j && this.pendingRequest === 0 && this.formSubmitted && this.form()) { a(this.currentForm).submit() this.formSubmitted = !1 } else { if (!j && this.pendingRequest === 0 && this.formSubmitted) { a(this.currentForm).triggerHandler('invalid-form', [this]) this.formSubmitted = !1 } } }, previousValue: function (k, j) { j = (typeof j === 'string' && j) || 'remote' return ( a.data(k, 'previousValue') || a.data(k, 'previousValue', { old: null, valid: !0, message: this.defaultMessage(k, { method: j }) }) ) }, destroy: function () { this.resetForm() a(this.currentForm) .off('.validate') .removeData('validator') .find('.validate-equalTo-blur') .off('.validate-equalTo') .removeClass('validate-equalTo-blur') }, }, classRuleSettings: { required: { required: !0 }, email: { email: !0 }, url: { url: !0 }, date: { date: !0 }, dateISO: { dateISO: !0 }, number: { number: !0 }, digits: { digits: !0 }, creditcard: { creditcard: !0 }, }, addClassRules: function (k, j) { if (k.constructor === String) { this.classRuleSettings[k] = j } else { a.extend(this.classRuleSettings, k) } }, classRules: function (l) { var k = {}, m = a(l).attr('class') if (m) { a.each(m.split(' '), function () { if (this in a.validator.classRuleSettings) { a.extend(k, a.validator.classRuleSettings[this]) } }) } return k }, normalizeAttributeRule: function (m, o, l, n) { if (/min|max|step/.test(l) && (o === null || /number|range|text/.test(o))) { n = Number(n) if (isNaN(n)) { n = undefined } } if (n || n === 0) { m[l] = n } else { if (o === l && o !== 'range') { m[l] = !0 } } }, attributeRules: function (r) { var o = {}, s = a(r), q = r.getAttribute('type'), n, p for (n in a.validator.methods) { if (n === 'required') { p = r.getAttribute(n) if (p === '') { p = !0 } p = !!p } else { p = s.attr(n) } this.normalizeAttributeRule(o, q, n, p) } if (o.maxlength && /-1|2147483647|524288/.test(o.maxlength)) { delete o.maxlength } return o }, dataRules: function (r) { var o = {}, s = a(r), q = r.getAttribute('type'), n, p for (n in a.validator.methods) { p = s.data('rule' + n.charAt(0).toUpperCase() + n.substring(1).toLowerCase()) this.normalizeAttributeRule(o, q, n, p) } return o }, staticRules: function (l) { var k = {}, m = a.data(l.form, 'validator') if (m.settings.rules) { k = a.validator.normalizeRule(m.settings.rules[l.name]) || {} } return k }, normalizeRules: function (j, k) { a.each(j, function (h, i) { if (i === !1) { delete j[h] return } if (i.param || i.depends) { var m = !0 switch (typeof i.depends) { case 'string': m = !!a(i.depends, k.form).length break case 'function': m = i.depends.call(k, k) break } if (m) { j[h] = i.param !== undefined ? i.param : !0 } else { a.data(k.form, 'validator').resetElements(a(k)) delete j[h] } } }) a.each(j, function (i, h) { j[i] = a.isFunction(h) && i !== 'normalizer' ? h(k) : h }) a.each(['minlength', 'maxlength'], function () { if (j[this]) { j[this] = Number(j[this]) } }) a.each(['rangelength', 'range'], function () { var h if (j[this]) { if (a.isArray(j[this])) { j[this] = [Number(j[this][0]), Number(j[this][1])] } else { if (typeof j[this] === 'string') { h = j[this].replace(/[\[\]]/g, '').split(/[\s,]+/) j[this] = [Number(h[0]), Number(h[1])] } } } }) if (a.validator.autoCreateRanges) { if (j.min != null && j.max != null) { j.range = [j.min, j.max] delete j.min delete j.max } if (j.minlength != null && j.maxlength != null) { j.rangelength = [j.minlength, j.maxlength] delete j.minlength delete j.maxlength } } return j }, normalizeRule: function (j) { if (typeof j === 'string') { var k = {} a.each(j.split(/\s/), function () { k[this] = !0 }) j = k } return j }, addMethod: function (m, k, l) { a.validator.methods[m] = k a.validator.messages[m] = l !== undefined ? l : a.validator.messages[m] if (k.length < 3) { a.validator.addClassRules(m, a.validator.normalizeRule(m)) } }, methods: { required: function (n, o, l) { if (!this.depend(l, o)) { return 'dependency-mismatch' } if (o.nodeName.toLowerCase() === 'select') { var m = a(o).val() return m && m.length > 0 } if (this.checkable(o)) { return this.getLength(n, o) > 0 } return n.length > 0 }, email: function (j, k) { return ( this.optional(k) || /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test( j ) ) }, url: function (j, k) { return ( this.optional(k) || /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test( j ) ) }, date: function (j, k) { return this.optional(k) || !/Invalid|NaN/.test(new Date(j).toString()) }, dateISO: function (j, k) { return this.optional(k) || /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(j) }, number: function (j, k) { return this.optional(k) || /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(j) }, digits: function (j, k) { return this.optional(k) || /^\d+$/.test(j) }, minlength: function (m, o, l) { var n = a.isArray(m) ? m.length : this.getLength(m, o) return this.optional(o) || n >= l }, maxlength: function (m, o, l) { var n = a.isArray(m) ? m.length : this.getLength(m, o) return this.optional(o) || n <= l }, rangelength: function (m, o, l) { var n = a.isArray(m) ? m.length : this.getLength(m, o) return this.optional(o) || (n >= l[0] && n <= l[1]) }, min: function (l, m, k) { return this.optional(m) || l >= k }, max: function (l, m, k) { return this.optional(m) || l <= k }, range: function (l, m, k) { return this.optional(m) || (l >= k[0] && l <= k[1]) }, step: function (t, z, B) { var u = a(z).attr('type'), v = 'Step attribute on input type ' + u + ' is not supported.', w = ['text', 'number', 'range'], E = new RegExp('\\b' + u + '\\b'), y = u && !E.test(w.join()), A = function (h) { var i = ('' + h).match(/(?:\.(\d+))?$/) if (!i) { return 0 } return i[1] ? i[1].length : 0 }, x = function (h) { return Math.round(h * Math.pow(10, C)) }, D = !0, C if (y) { throw new Error(v) } C = A(B) if (A(t) > C || x(t) % x(B) !== 0) { D = !1 } return this.optional(z) || D }, equalTo: function (n, o, l) { var m = a(l) if (this.settings.onfocusout && m.not('.validate-equalTo-blur').length) { m.addClass('validate-equalTo-blur').on('blur.validate-equalTo', function () { a(o).valid() }) } return n === m.val() }, remote: function (p, t, w, v) { if (this.optional(t)) { return 'dependency-mismatch' } v = (typeof v === 'string' && v) || 'remote' var s = this.previousValue(t, v), u, q, r if (!this.settings.messages[t.name]) { this.settings.messages[t.name] = {} } s.originalMessage = s.originalMessage || this.settings.messages[t.name][v] this.settings.messages[t.name][v] = s.message w = (typeof w === 'string' && { url: w }) || w r = a.param(a.extend({ data: p }, w.data)) if (s.old === r) { return s.valid } s.old = r u = this this.startRequest(t) q = {} q[t.name] = p a.ajax( a.extend( !0, { mode: 'abort', port: 'validate' + t.name, dataType: 'json', data: q, context: u.currentForm, success: function (k) { var i = k === !0 || k === 'true', h, j, l u.settings.messages[t.name][v] = s.originalMessage if (i) { l = u.formSubmitted u.resetInternals() u.toHide = u.errorsFor(t) u.formSubmitted = l u.successList.push(t) u.invalid[t.name] = !1 u.showErrors() } else { h = {} j = k || u.defaultMessage(t, { method: v, parameters: p }) h[t.name] = s.message = j u.invalid[t.name] = !0 u.showErrors(h) } s.valid = i u.stopRequest(t, i) }, }, w ) ) return 'pending' }, }, }) var c = {}, b if (a.ajaxPrefilter) { a.ajaxPrefilter(function (m, n, l) { var o = m.port if (m.mode === 'abort') { if (c[o]) { c[o].abort() } c[o] = l } }) } else { b = a.ajax a.ajax = function (l) { var k = ('mode' in l ? l : a.ajaxSettings).mode, m = ('port' in l ? l : a.ajaxSettings).port if (k === 'abort') { if (c[m]) { c[m].abort() } c[m] = b.apply(this, arguments) return c[m] } return b.apply(this, arguments) } } }) }, { jquery: 3 }, ], 3: [ function (d, g, f) { ;(function (a, b) { if (typeof g === 'object' && typeof g.exports === 'object') { g.exports = a.document ? b(a, !0) : function (c) { if (!c.document) { throw new Error('jQuery requires a window with a document') } return b(c) } } else { b(a) } })(typeof window !== 'undefined' ? window : this, function (dh, eS) { var ch = [] var cr = dh.document var em = ch.slice var eO = ch.concat var dA = ch.push var ez = ch.indexOf var dW = {} var dz = dW.toString var cY = dW.hasOwnProperty var dm = {} var dK = '1.12.4', dO = function (h, j) { return new dO.fn.init(h, j) }, dk = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, eE = /^-ms-/, b = /-([\da-z])/gi, en = function (h, j) { return j.toUpperCase() } dO.fn = dO.prototype = { jquery: dK, constructor: dO, selector: '', length: 0, toArray: function () { return em.call(this) }, get: function (h) { return h != null ? (h < 0 ? this[h + this.length] : this[h]) : em.call(this) }, pushStack: function (h) { var j = dO.merge(this.constructor(), h) j.prevObject = this j.context = this.context return j }, each: function (h) { return dO.each(this, h) }, map: function (h) { return this.pushStack( dO.map(this, function (j, k) { return h.call(j, k, j) }) ) }, slice: function () { return this.pushStack(em.apply(this, arguments)) }, first: function () { return this.eq(0) }, last: function () { return this.eq(-1) }, eq: function (h) { var k = this.length, j = +h + (h < 0 ? k : 0) return this.pushStack(j >= 0 && j < k ? [this[j]] : []) }, end: function () { return this.prevObject || this.constructor() }, push: dA, sort: ch.sort, splice: ch.splice, } dO.extend = dO.fn.extend = function () { var h, m, r, q, j, l, n = arguments[0] || {}, o = 1, p = arguments.length, k = !1 if (typeof n === 'boolean') { k = n n = arguments[o] || {} o++ } if (typeof n !== 'object' && !dO.isFunction(n)) { n = {} } if (o === p) { n = this o-- } for (; o < p; o++) { if ((j = arguments[o]) != null) { for (q in j) { h = n[q] r = j[q] if (n === r) { continue } if (k && r && (dO.isPlainObject(r) || (m = dO.isArray(r)))) { if (m) { m = !1 l = h && dO.isArray(h) ? h : [] } else { l = h && dO.isPlainObject(h) ? h : {} } n[q] = dO.extend(k, l, r) } else { if (r !== undefined) { n[q] = r } } } } } return n } dO.extend({ expando: 'jQuery' + (dK + Math.random()).replace(/\D/g, ''), isReady: !0, error: function (h) { throw new Error(h) }, noop: function () {}, isFunction: function (h) { return dO.type(h) === 'function' }, isArray: Array.isArray || function (h) { return dO.type(h) === 'array' }, isWindow: function (h) { return h != null && h == h.window }, isNumeric: function (j) { var h = j && j.toString() return !dO.isArray(j) && h - parseFloat(h) + 1 >= 0 }, isEmptyObject: function (j) { var h for (h in j) { return !1 } return !0 }, isPlainObject: function (j) { var h if (!j || dO.type(j) !== 'object' || j.nodeType || dO.isWindow(j)) { return !1 } try { if (j.constructor && !cY.call(j, 'constructor') && !cY.call(j.constructor.prototype, 'isPrototypeOf')) { return !1 } } catch (k) { return !1 } if (!dm.ownFirst) { for (h in j) { return cY.call(j, h) } } for (h in j) { } return h === undefined || cY.call(j, h) }, type: function (h) { if (h == null) { return h + '' } return typeof h === 'object' || typeof h === 'function' ? dW[dz.call(h)] || 'object' : typeof h }, globalEval: function (h) { if (h && dO.trim(h)) { ;( dh.execScript || function (j) { dh['eval'].call(dh, j) } )(h) } }, camelCase: function (h) { return h.replace(eE, 'ms-').replace(b, en) }, nodeName: function (j, h) { return j.nodeName && j.nodeName.toLowerCase() === h.toLowerCase() }, each: function (j, h) { var k, l = 0 if (eU(j)) { k = j.length for (; l < k; l++) { if (h.call(j[l], l, j[l]) === !1) { break } } } else { for (l in j) { if (h.call(j[l], l, j[l]) === !1) { break } } } return j }, trim: function (h) { return h == null ? '' : (h + '').replace(dk, '') }, makeArray: function (j, h) { var k = h || [] if (j != null) { if (eU(Object(j))) { dO.merge(k, typeof j === 'string' ? [j] : j) } else { dA.call(k, j) } } return k }, inArray: function (h, k, j) { var l if (k) { if (ez) { return ez.call(k, h, j) } l = k.length j = j ? (j < 0 ? Math.max(0, l + j) : j) : 0 for (; j < l; j++) { if (j in k && k[j] === h) { return j } } } return -1 }, merge: function (h, k) { var m = +k.length, l = 0, j = h.length while (l < m) { h[j++] = k[l++] } if (m !== m) { while (k[l] !== undefined) { h[j++] = k[l++] } } h.length = j return h }, grep: function (n, o, j) { var p, k = [], m = 0, l = n.length, h = !j for (; m < l; m++) { p = !o(n[m], m) if (p !== h) { k.push(n[m]) } } return k }, map: function (m, o, n) { var j, h, k = 0, l = [] if (eU(m)) { j = m.length for (; k < j; k++) { h = o(m[k], k, n) if (h != null) { l.push(h) } } } else { for (k in m) { h = o(m[k], k, n) if (h != null) { l.push(h) } } } return eO.apply([], l) }, guid: 1, proxy: function (h, j) { var l, k, m if (typeof j === 'string') { m = h[j] j = h h = m } if (!dO.isFunction(h)) { return undefined } l = em.call(arguments, 2) k = function () { return h.apply(j || this, l.concat(em.call(arguments))) } k.guid = h.guid = h.guid || dO.guid++ return k }, now: function () { return +new Date() }, support: dm, }) if (typeof Symbol === 'function') { dO.fn[Symbol.iterator] = ch[Symbol.iterator] } dO.each('Boolean Number String Function Array Date RegExp Object Error Symbol'.split(' '), function (h, j) { dW['[object ' + j + ']'] = j.toLowerCase() }) function eU(j) { var k = !!j && 'length' in j && j.length, h = dO.type(j) if (h === 'function' || dO.isWindow(j)) { return !1 } return h === 'array' || k === 0 || (typeof k === 'number' && k > 0 && k - 1 in j) } var cs = (function (q) { var ap, n, H, ag, ad, N, aC, o, h, af, aB, az, al, G, w, B, p, Q, ai, u = 'sizzle' + 1 * new Date(), ae = q.document, m = 0, A = 0, V = an(), v = an(), ah = an(), aj = function (aJ, aK) { if (aJ === aK) { aB = !0 } return 0 }, aI = 1 << 31, Z = {}.hasOwnProperty, s = [], r = s.pop, ab = s.push, X = s.push, I = s.slice, R = function (aL, aM) { var aJ = 0, aK = aL.length for (; aJ < aK; aJ++) { if (aL[aJ] === aM) { return aJ } } return -1 }, W = 'checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped', F = '[\\x20\\t\\r\\n\\f]', ac = '(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+', y = '\\[' + F + '*(' + ac + ')(?:' + F + '*([*^$|!~]?=)' + F + '*(?:\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)"|(' + ac + '))|)' + F + '*\\]', K = ':(' + ac + ')(?:\\(((\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|' + y + ')*)|.*)\\)|)', au = new RegExp(F + '+', 'g'), ax = new RegExp('^' + F + '+|((?:^|[^\\\\])(?:\\\\.)*)' + F + '+$', 'g'), at = new RegExp('^' + F + '*,' + F + '*'), am = new RegExp('^' + F + '*([>+~]|' + F + ')' + F + '*'), av = new RegExp('=' + F + '*([^\\]\'"]*?)' + F + '*\\]', 'g'), aG = new RegExp(K), aE = new RegExp('^' + ac + '$'), C = { ID: new RegExp('^#(' + ac + ')'), CLASS: new RegExp('^\\.(' + ac + ')'), TAG: new RegExp('^(' + ac + '|[*])'), ATTR: new RegExp('^' + y), PSEUDO: new RegExp('^' + K), CHILD: new RegExp( '^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(' + F + '*(even|odd|(([+-]|)(\\d*)n|)' + F + '*(?:([+-]|)' + F + '*(\\d+)|))' + F + '*\\)|)', 'i' ), bool: new RegExp('^(?:' + W + ')$', 'i'), needsContext: new RegExp( '^' + F + '*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(' + F + '*((?:-\\d)?\\d*)' + F + '*\\)|)(?=[^-]|$)', 'i' ), }, S = /^(?:input|select|textarea|button)$/i, J = /^h\d$/i, Y = /^[^{]+\{\s*\[native \w/, aH = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, D = /[+~]/, aa = /'|\\/g, aw = new RegExp('\\\\([\\da-f]{1,6}' + F + '?|(' + F + ')|.)', 'ig'), z = function (aM, aL, aK) { var aJ = '0x' + aL - 65536 return aJ !== aJ || aK ? aL : aJ < 0 ? String.fromCharCode(aJ + 65536) : String.fromCharCode((aJ >> 10) | 55296, (aJ & 1023) | 56320) }, j = function () { az() } try { X.apply((s = I.call(ae.childNodes)), ae.childNodes) s[ae.childNodes.length].nodeType } catch (ak) { X = { apply: s.length ? function (aJ, aK) { ab.apply(aJ, I.call(aK)) } : function (aL, aM) { var aK = aL.length, aJ = 0 while ((aL[aK++] = aM[aJ++])) {} aL.length = aK - 1 }, } } function ar(aM, aU, aJ, aT) { var aO, aX, aP, aW, aS, aV, aQ, aL, aR = aU && aU.ownerDocument, aK = aU ? aU.nodeType : 9 aJ = aJ || [] if (typeof aM !== 'string' || !aM || (aK !== 1 && aK !== 9 && aK !== 11)) { return aJ } if (!aT) { if ((aU ? aU.ownerDocument || aU : ae) !== al) { az(aU) } aU = aU || al if (w) { if (aK !== 11 && (aV = aH.exec(aM))) { if ((aO = aV[1])) { if (aK === 9) { if ((aP = aU.getElementById(aO))) { if (aP.id === aO) { aJ.push(aP) return aJ } } else { return aJ } } else { if (aR && (aP = aR.getElementById(aO)) && ai(aU, aP) && aP.id === aO) { aJ.push(aP) return aJ } } } else { if (aV[2]) { X.apply(aJ, aU.getElementsByTagName(aM)) return aJ } else { if ((aO = aV[3]) && n.getElementsByClassName && aU.getElementsByClassName) { X.apply(aJ, aU.getElementsByClassName(aO)) return aJ } } } } if (n.qsa && !ah[aM + ' '] && (!B || !B.test(aM))) { if (aK !== 1) { aR = aU aL = aM } else { if (aU.nodeName.toLowerCase() !== 'object') { if ((aW = aU.getAttribute('id'))) { aW = aW.replace(aa, '\\$&') } else { aU.setAttribute('id', (aW = u)) } aQ = N(aM) aX = aQ.length aS = aE.test(aW) ? '#' + aW : "[id='" + aW + "']" while (aX--) { aQ[aX] = aS + ' ' + M(aQ[aX]) } aL = aQ.join(',') aR = (D.test(aM) && aF(aU.parentNode)) || aU } } if (aL) { try { X.apply(aJ, aR.querySelectorAll(aL)) return aJ } catch (aN) { } finally { if (aW === u) { aU.removeAttribute('id') } } } } } } return o(aM.replace(ax, '$1'), aU, aJ, aT) } function an() { var aJ = [] function aK(aL, aM) { if (aJ.push(aL + ' ') > H.cacheLength) { delete aK[aJ.shift()] } return (aK[aL + ' '] = aM) } return aK } function L(aJ) { aJ[u] = !0 return aJ } function P(aL) { var aJ = al.createElement('div') try { return !!aL(aJ) } catch (aK) { return !1 } finally { if (aJ.parentNode) { aJ.parentNode.removeChild(aJ) } aJ = null } } function l(aJ, aL) { var aK = aJ.split('|'), aM = aK.length while (aM--) { H.attrHandle[aK[aM]] = aL } } function U(aK, aM) { var aL = aM && aK, aJ = aL && aK.nodeType === 1 && aM.nodeType === 1 && (~aM.sourceIndex || aI) - (~aK.sourceIndex || aI) if (aJ) { return aJ } if (aL) { while ((aL = aL.nextSibling)) { if (aL === aM) { return -1 } } } return aK ? 1 : -1 } function aq(aJ) { return function (aK) { var aL = aK.nodeName.toLowerCase() return aL === 'input' && aK.type === aJ } } function T(aJ) { return function (aK) { var aL = aK.nodeName.toLowerCase() return (aL === 'input' || aL === 'button') && aK.type === aJ } } function x(aJ) { return L(function (aK) { aK = +aK return L(function (aM, aP) { var aN, aO = aJ([], aM.length, aK), aL = aO.length while (aL--) { if (aM[(aN = aO[aL])]) { aM[aN] = !(aP[aN] = aM[aN]) } } }) }) } function aF(aJ) { return aJ && typeof aJ.getElementsByTagName !== 'undefined' && aJ } n = ar.support = {} ad = ar.isXML = function (aK) { var aJ = aK && (aK.ownerDocument || aK).documentElement return aJ ? aJ.nodeName !== 'HTML' : !1 } az = ar.setDocument = function (aJ) { var aM, aK, aL = aJ ? aJ.ownerDocument || aJ : ae if (aL === al || aL.nodeType !== 9 || !aL.documentElement) { return al } al = aL G = al.documentElement w = !ad(al) if ((aK = al.defaultView) && aK.top !== aK) { if (aK.addEventListener) { aK.addEventListener('unload', j, !1) } else { if (aK.attachEvent) { aK.attachEvent('onunload', j) } } } n.attributes = P(function (aN) { aN.className = 'i' return !aN.getAttribute('className') }) n.getElementsByTagName = P(function (aN) { aN.appendChild(al.createComment('')) return !aN.getElementsByTagName('*').length }) n.getElementsByClassName = Y.test(al.getElementsByClassName) n.getById = P(function (aN) { G.appendChild(aN).id = u return !al.getElementsByName || !al.getElementsByName(u).length }) if (n.getById) { H.find.ID = function (aP, aN) { if (typeof aN.getElementById !== 'undefined' && w) { var aO = aN.getElementById(aP) return aO ? [aO] : [] } } H.filter.ID = function (aN) { var aO = aN.replace(aw, z) return function (aP) { return aP.getAttribute('id') === aO } } } else { delete H.find.ID H.filter.ID = function (aN) { var aO = aN.replace(aw, z) return function (aP) { var aQ = typeof aP.getAttributeNode !== 'undefined' && aP.getAttributeNode('id') return aQ && aQ.value === aO } } } H.find.TAG = n.getElementsByTagName ? function (aO, aN) { if (typeof aN.getElementsByTagName !== 'undefined') { return aN.getElementsByTagName(aO) } else { if (n.qsa) { return aN.querySelectorAll(aO) } } } : function (aO, aQ) { var aP, aR = [], aS = 0, aN = aQ.getElementsByTagName(aO) if (aO === '*') { while ((aP = aN[aS++])) { if (aP.nodeType === 1) { aR.push(aP) } } return aR } return aN } H.find.CLASS = n.getElementsByClassName && function (aN, aO) { if (typeof aO.getElementsByClassName !== 'undefined' && w) { return aO.getElementsByClassName(aN) } } p = [] B = [] if ((n.qsa = Y.test(al.querySelectorAll))) { P(function (aN) { G.appendChild(aN).innerHTML = "" if (aN.querySelectorAll("[msallowcapture^='']").length) { B.push('[*^$]=' + F + '*(?:\'\'|"")') } if (!aN.querySelectorAll('[selected]').length) { B.push('\\[' + F + '*(?:value|' + W + ')') } if (!aN.querySelectorAll('[id~=' + u + '-]').length) { B.push('~=') } if (!aN.querySelectorAll(':checked').length) { B.push(':checked') } if (!aN.querySelectorAll('a#' + u + '+*').length) { B.push('.#.+[+~]') } }) P(function (aN) { var aO = al.createElement('input') aO.setAttribute('type', 'hidden') aN.appendChild(aO).setAttribute('name', 'D') if (aN.querySelectorAll('[name=d]').length) { B.push('name' + F + '*[*^$|!~]?=') } if (!aN.querySelectorAll(':enabled').length) { B.push(':enabled', ':disabled') } aN.querySelectorAll('*,:x') B.push(',.*:') }) } if ( (n.matchesSelector = Y.test( (Q = G.matches || G.webkitMatchesSelector || G.mozMatchesSelector || G.oMatchesSelector || G.msMatchesSelector) )) ) { P(function (aN) { n.disconnectedMatch = Q.call(aN, 'div') Q.call(aN, "[s!='']:x") p.push('!=', K) }) } B = B.length && new RegExp(B.join('|')) p = p.length && new RegExp(p.join('|')) aM = Y.test(G.compareDocumentPosition) ai = aM || Y.test(G.contains) ? function (aN, aO) { var aP = aN.nodeType === 9 ? aN.documentElement : aN, aQ = aO && aO.parentNode return ( aN === aQ || !!( aQ && aQ.nodeType === 1 && (aP.contains ? aP.contains(aQ) : aN.compareDocumentPosition && aN.compareDocumentPosition(aQ) & 16) ) ) } : function (aN, aO) { if (aO) { while ((aO = aO.parentNode)) { if (aO === aN) { return !0 } } } return !1 } aj = aM ? function (aN, aO) { if (aN === aO) { aB = !0 return 0 } var aP = !aN.compareDocumentPosition - !aO.compareDocumentPosition if (aP) { return aP } aP = (aN.ownerDocument || aN) === (aO.ownerDocument || aO) ? aN.compareDocumentPosition(aO) : 1 if (aP & 1 || (!n.sortDetached && aO.compareDocumentPosition(aN) === aP)) { if (aN === al || (aN.ownerDocument === ae && ai(ae, aN))) { return -1 } if (aO === al || (aO.ownerDocument === ae && ai(ae, aO))) { return 1 } return af ? R(af, aN) - R(af, aO) : 0 } return aP & 4 ? -1 : 1 } : function (aN, aO) { if (aN === aO) { aB = !0 return 0 } var aP, aS = 0, aQ = aN.parentNode, aT = aO.parentNode, aU = [aN], aR = [aO] if (!aQ || !aT) { return aN === al ? -1 : aO === al ? 1 : aQ ? -1 : aT ? 1 : af ? R(af, aN) - R(af, aO) : 0 } else { if (aQ === aT) { return U(aN, aO) } } aP = aN while ((aP = aP.parentNode)) { aU.unshift(aP) } aP = aO while ((aP = aP.parentNode)) { aR.unshift(aP) } while (aU[aS] === aR[aS]) { aS++ } return aS ? U(aU[aS], aR[aS]) : aU[aS] === ae ? -1 : aR[aS] === ae ? 1 : 0 } return al } ar.matches = function (aJ, aK) { return ar(aJ, null, null, aK) } ar.matchesSelector = function (aK, aL) { if ((aK.ownerDocument || aK) !== al) { az(aK) } aL = aL.replace(av, "='$1']") if (n.matchesSelector && w && !ah[aL + ' '] && (!p || !p.test(aL)) && (!B || !B.test(aL))) { try { var aM = Q.call(aK, aL) if (aM || n.disconnectedMatch || (aK.document && aK.document.nodeType !== 11)) { return aM } } catch (aJ) {} } return ar(aL, al, null, [aK]).length > 0 } ar.contains = function (aK, aJ) { if ((aK.ownerDocument || aK) !== al) { az(aK) } return ai(aK, aJ) } ar.attr = function (aJ, aM) { if ((aJ.ownerDocument || aJ) !== al) { az(aJ) } var aK = H.attrHandle[aM.toLowerCase()], aL = aK && Z.call(H.attrHandle, aM.toLowerCase()) ? aK(aJ, aM, !w) : undefined return aL !== undefined ? aL : n.attributes || !w ? aJ.getAttribute(aM) : (aL = aJ.getAttributeNode(aM)) && aL.specified ? aL.value : null } ar.error = function (aJ) { throw new Error('Syntax error, unrecognized expression: ' + aJ) } ar.uniqueSort = function (aN) { var aM, aK = [], aL = 0, aJ = 0 aB = !n.detectDuplicates af = !n.sortStable && aN.slice(0) aN.sort(aj) if (aB) { while ((aM = aN[aJ++])) { if (aM === aN[aJ]) { aL = aK.push(aJ) } } while (aL--) { aN.splice(aK[aL], 1) } } af = null return aN } ag = ar.getText = function (aK) { var aM, aJ = '', aN = 0, aL = aK.nodeType if (!aL) { while ((aM = aK[aN++])) { aJ += ag(aM) } } else { if (aL === 1 || aL === 9 || aL === 11) { if (typeof aK.textContent === 'string') { return aK.textContent } else { for (aK = aK.firstChild; aK; aK = aK.nextSibling) { aJ += ag(aK) } } } else { if (aL === 3 || aL === 4) { return aK.nodeValue } } } return aJ } H = ar.selectors = { cacheLength: 50, createPseudo: L, match: C, attrHandle: {}, find: {}, relative: { '>': { dir: 'parentNode', first: !0 }, ' ': { dir: 'parentNode' }, '+': { dir: 'previousSibling', first: !0 }, '~': { dir: 'previousSibling' }, }, preFilter: { ATTR: function (aJ) { aJ[1] = aJ[1].replace(aw, z) aJ[3] = (aJ[3] || aJ[4] || aJ[5] || '').replace(aw, z) if (aJ[2] === '~=') { aJ[3] = ' ' + aJ[3] + ' ' } return aJ.slice(0, 4) }, CHILD: function (aJ) { aJ[1] = aJ[1].toLowerCase() if (aJ[1].slice(0, 3) === 'nth') { if (!aJ[3]) { ar.error(aJ[0]) } aJ[4] = +(aJ[4] ? aJ[5] + (aJ[6] || 1) : 2 * (aJ[3] === 'even' || aJ[3] === 'odd')) aJ[5] = +(aJ[7] + aJ[8] || aJ[3] === 'odd') } else { if (aJ[3]) { ar.error(aJ[0]) } } return aJ }, PSEUDO: function (aK) { var aL, aJ = !aK[6] && aK[2] if (C.CHILD.test(aK[0])) { return null } if (aK[3]) { aK[2] = aK[4] || aK[5] || '' } else { if (aJ && aG.test(aJ) && (aL = N(aJ, !0)) && (aL = aJ.indexOf(')', aJ.length - aL) - aJ.length)) { aK[0] = aK[0].slice(0, aL) aK[2] = aJ.slice(0, aL) } } return aK.slice(0, 3) }, }, filter: { TAG: function (aJ) { var aK = aJ.replace(aw, z).toLowerCase() return aJ === '*' ? function () { return !0 } : function (aL) { return aL.nodeName && aL.nodeName.toLowerCase() === aK } }, CLASS: function (aK) { var aJ = V[aK + ' '] return ( aJ || ((aJ = new RegExp('(^|' + F + ')' + aK + '(' + F + '|$)')) && V(aK, function (aL) { return aJ.test( (typeof aL.className === 'string' && aL.className) || (typeof aL.getAttribute !== 'undefined' && aL.getAttribute('class')) || '' ) })) ) }, ATTR: function (aJ, aK, aL) { return function (aM) { var aN = ar.attr(aM, aJ) if (aN == null) { return aK === '!=' } if (!aK) { return !0 } aN += '' return aK === '=' ? aN === aL : aK === '!=' ? aN !== aL : aK === '^=' ? aL && aN.indexOf(aL) === 0 : aK === '*=' ? aL && aN.indexOf(aL) > -1 : aK === '$=' ? aL && aN.slice(-aL.length) === aL : aK === '~=' ? (' ' + aN.replace(au, ' ') + ' ').indexOf(aL) > -1 : aK === '|=' ? aN === aL || aN.slice(0, aL.length + 1) === aL + '-' : !1 } }, CHILD: function (aM, aL, aN, aK, aJ) { var aP = aM.slice(0, 3) !== 'nth', aO = aM.slice(-4) !== 'last', aQ = aL === 'of-type' return aK === 1 && aJ === 0 ? function (aR) { return !!aR.parentNode } : function (a1, a3, aY) { var aU, aR, aV, a0, aZ, a4, a2 = aP !== aO ? 'nextSibling' : 'previousSibling', aW = a1.parentNode, aS = aQ && a1.nodeName.toLowerCase(), aT = !aY && !aQ, aX = !1 if (aW) { if (aP) { while (a2) { a0 = a1 while ((a0 = a0[a2])) { if (aQ ? a0.nodeName.toLowerCase() === aS : a0.nodeType === 1) { return !1 } } a4 = a2 = aM === 'only' && !a4 && 'nextSibling' } return !0 } a4 = [aO ? aW.firstChild : aW.lastChild] if (aO && aT) { a0 = aW aV = a0[u] || (a0[u] = {}) aR = aV[a0.uniqueID] || (aV[a0.uniqueID] = {}) aU = aR[aM] || [] aZ = aU[0] === m && aU[1] aX = aZ && aU[2] a0 = aZ && aW.childNodes[aZ] while ((a0 = (++aZ && a0 && a0[a2]) || (aX = aZ = 0) || a4.pop())) { if (a0.nodeType === 1 && ++aX && a0 === a1) { aR[aM] = [m, aZ, aX] break } } } else { if (aT) { a0 = a1 aV = a0[u] || (a0[u] = {}) aR = aV[a0.uniqueID] || (aV[a0.uniqueID] = {}) aU = aR[aM] || [] aZ = aU[0] === m && aU[1] aX = aZ } if (aX === !1) { while ((a0 = (++aZ && a0 && a0[a2]) || (aX = aZ = 0) || a4.pop())) { if ((aQ ? a0.nodeName.toLowerCase() === aS : a0.nodeType === 1) && ++aX) { if (aT) { aV = a0[u] || (a0[u] = {}) aR = aV[a0.uniqueID] || (aV[a0.uniqueID] = {}) aR[aM] = [m, aX] } if (a0 === a1) { break } } } } } aX -= aJ return aX === aK || (aX % aK === 0 && aX / aK >= 0) } } }, PSEUDO: function (aL, aJ) { var aM, aK = H.pseudos[aL] || H.setFilters[aL.toLowerCase()] || ar.error('unsupported pseudo: ' + aL) if (aK[u]) { return aK(aJ) } if (aK.length > 1) { aM = [aL, aL, '', aJ] return H.setFilters.hasOwnProperty(aL.toLowerCase()) ? L(function (aR, aP) { var aN, aO = aK(aR, aJ), aQ = aO.length while (aQ--) { aN = R(aR, aO[aQ]) aR[aN] = !(aP[aN] = aO[aQ]) } }) : function (aN) { return aK(aN, 0, aM) } } return aK }, }, pseudos: { not: L(function (aM) { var aK = [], aJ = [], aL = aC(aM.replace(ax, '$1')) return aL[u] ? L(function (aN, aP, aR, aT) { var aQ, aO = aL(aN, null, aT, []), aS = aN.length while (aS--) { if ((aQ = aO[aS])) { aN[aS] = !(aP[aS] = aQ) } } }) : function (aP, aN, aO) { aK[0] = aP aL(aK, null, aO, aJ) aK[0] = null return !aJ.pop() } }), has: L(function (aJ) { return function (aK) { return ar(aJ, aK).length > 0 } }), contains: L(function (aJ) { aJ = aJ.replace(aw, z) return function (aK) { return (aK.textContent || aK.innerText || ag(aK)).indexOf(aJ) > -1 } }), lang: L(function (aJ) { if (!aE.test(aJ || '')) { ar.error('unsupported lang: ' + aJ) } aJ = aJ.replace(aw, z).toLowerCase() return function (aK) { var aL do { if ((aL = w ? aK.lang : aK.getAttribute('xml:lang') || aK.getAttribute('lang'))) { aL = aL.toLowerCase() return aL === aJ || aL.indexOf(aJ + '-') === 0 } } while ((aK = aK.parentNode) && aK.nodeType === 1) return !1 } }), target: function (aK) { var aJ = q.location && q.location.hash return aJ && aJ.slice(1) === aK.id }, root: function (aJ) { return aJ === G }, focus: function (aJ) { return ( aJ === al.activeElement && (!al.hasFocus || al.hasFocus()) && !!(aJ.type || aJ.href || ~aJ.tabIndex) ) }, enabled: function (aJ) { return aJ.disabled === !1 }, disabled: function (aJ) { return aJ.disabled === !0 }, checked: function (aK) { var aJ = aK.nodeName.toLowerCase() return (aJ === 'input' && !!aK.checked) || (aJ === 'option' && !!aK.selected) }, selected: function (aJ) { if (aJ.parentNode) { aJ.parentNode.selectedIndex } return aJ.selected === !0 }, empty: function (aJ) { for (aJ = aJ.firstChild; aJ; aJ = aJ.nextSibling) { if (aJ.nodeType < 6) { return !1 } } return !0 }, parent: function (aJ) { return !H.pseudos.empty(aJ) }, header: function (aJ) { return J.test(aJ.nodeName) }, input: function (aJ) { return S.test(aJ.nodeName) }, button: function (aJ) { var aK = aJ.nodeName.toLowerCase() return (aK === 'input' && aJ.type === 'button') || aK === 'button' }, text: function (aJ) { var aK return ( aJ.nodeName.toLowerCase() === 'input' && aJ.type === 'text' && ((aK = aJ.getAttribute('type')) == null || aK.toLowerCase() === 'text') ) }, first: x(function () { return [0] }), last: x(function (aK, aJ) { return [aJ - 1] }), eq: x(function (aL, aJ, aK) { return [aK < 0 ? aK + aJ : aK] }), even: x(function (aK, aL) { var aJ = 0 for (; aJ < aL; aJ += 2) { aK.push(aJ) } return aK }), odd: x(function (aK, aL) { var aJ = 1 for (; aJ < aL; aJ += 2) { aK.push(aJ) } return aK }), lt: x(function (aL, aK, aM) { var aJ = aM < 0 ? aM + aK : aM for (; --aJ >= 0; ) { aL.push(aJ) } return aL }), gt: x(function (aL, aK, aM) { var aJ = aM < 0 ? aM + aK : aM for (; ++aJ < aK; ) { aL.push(aJ) } return aL }), }, } H.pseudos.nth = H.pseudos.eq for (ap in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 }) { H.pseudos[ap] = aq(ap) } for (ap in { submit: !0, reset: !0 }) { H.pseudos[ap] = T(ap) } function aD() {} aD.prototype = H.filters = H.pseudos H.setFilters = new aD() N = ar.tokenize = function (aO, aJ) { var aS, aN, aL, aK, aM, aR, aQ, aP = v[aO + ' '] if (aP) { return aJ ? 0 : aP.slice(0) } aM = aO aR = [] aQ = H.preFilter while (aM) { if (!aS || (aN = at.exec(aM))) { if (aN) { aM = aM.slice(aN[0].length) || aM } aR.push((aL = [])) } aS = !1 if ((aN = am.exec(aM))) { aS = aN.shift() aL.push({ value: aS, type: aN[0].replace(ax, ' ') }) aM = aM.slice(aS.length) } for (aK in H.filter) { if ((aN = C[aK].exec(aM)) && (!aQ[aK] || (aN = aQ[aK](aN)))) { aS = aN.shift() aL.push({ value: aS, type: aK, matches: aN }) aM = aM.slice(aS.length) } } if (!aS) { break } } return aJ ? aM.length : aM ? ar.error(aO) : v(aO, aR).slice(0) } function M(aL) { var aM = 0, aJ = aL.length, aK = '' for (; aM < aJ; aM++) { aK += aL[aM].value } return aK } function ay(aM, aK, aN) { var aO = aK.dir, aJ = aN && aO === 'parentNode', aL = A++ return aK.first ? function (aP, aQ, aR) { while ((aP = aP[aO])) { if (aP.nodeType === 1 || aJ) { return aM(aP, aQ, aR) } } } : function (aQ, aS, aT) { var aP, aV, aR, aU = [m, aL] if (aT) { while ((aQ = aQ[aO])) { if (aQ.nodeType === 1 || aJ) { if (aM(aQ, aS, aT)) { return !0 } } } } else { while ((aQ = aQ[aO])) { if (aQ.nodeType === 1 || aJ) { aR = aQ[u] || (aQ[u] = {}) aV = aR[aQ.uniqueID] || (aR[aQ.uniqueID] = {}) if ((aP = aV[aO]) && aP[0] === m && aP[1] === aL) { return (aU[2] = aP[2]) } else { aV[aO] = aU if ((aU[2] = aM(aQ, aS, aT))) { return !0 } } } } } } } function k(aJ) { return aJ.length > 1 ? function (aM, aN, aL) { var aK = aJ.length while (aK--) { if (!aJ[aK](aM, aN, aL)) { return !1 } } return !0 } : aJ[0] } function ao(aK, aJ, aM) { var aN = 0, aL = aJ.length for (; aN < aL; aN++) { ar(aK, aJ[aN], aM) } return aM } function E(aS, aR, aQ, aP, aM) { var aO, aJ = [], aN = 0, aL = aS.length, aK = aR != null for (; aN < aL; aN++) { if ((aO = aS[aN])) { if (!aQ || aQ(aO, aP, aM)) { aJ.push(aO) if (aK) { aR.push(aN) } } } } return aJ } function O(aK, aM, aL, aN, aJ, aO) { if (aN && !aN[u]) { aN = O(aN) } if (aJ && !aJ[u]) { aJ = O(aJ, aO) } return L(function (aX, a0, aS, aY) { var aV, aZ, aQ, aR = [], aW = [], aT = a0.length, aU = aX || ao(aM || '*', aS.nodeType ? [aS] : aS, []), aP = aK && (aX || !aM) ? E(aU, aR, aK, aS, aY) : aU, a1 = aL ? (aJ || (aX ? aK : aT || aN) ? [] : a0) : aP if (aL) { aL(aP, a1, aS, aY) } if (aN) { aV = E(a1, aW) aN(aV, [], aS, aY) aZ = aV.length while (aZ--) { if ((aQ = aV[aZ])) { a1[aW[aZ]] = !(aP[aW[aZ]] = aQ) } } } if (aX) { if (aJ || aK) { if (aJ) { aV = [] aZ = a1.length while (aZ--) { if ((aQ = a1[aZ])) { aV.push((aP[aZ] = aQ)) } } aJ(null, (a1 = []), aV, aY) } aZ = a1.length while (aZ--) { if ((aQ = a1[aZ]) && (aV = aJ ? R(aX, aQ) : aR[aZ]) > -1) { aX[aV] = !(a0[aV] = aQ) } } } } else { a1 = E(a1 === a0 ? a1.splice(aT, a1.length) : a1) if (aJ) { aJ(null, a0, a1, aY) } else { X.apply(a0, a1) } } }) } function t(aN) { var aS, aP, aR, aO = aN.length, aK = H.relative[aN[0].type], aJ = aK || H.relative[' '], aQ = aK ? 1 : 0, aM = ay( function (aU) { return aU === aS }, aJ, !0 ), aL = ay( function (aU) { return R(aS, aU) > -1 }, aJ, !0 ), aT = [ function (aU, aV, aX) { var aW = (!aK && (aX || aV !== h)) || ((aS = aV).nodeType ? aM(aU, aV, aX) : aL(aU, aV, aX)) aS = null return aW }, ] for (; aQ < aO; aQ++) { if ((aP = H.relative[aN[aQ].type])) { aT = [ay(k(aT), aP)] } else { aP = H.filter[aN[aQ].type].apply(null, aN[aQ].matches) if (aP[u]) { aR = ++aQ for (; aR < aO; aR++) { if (H.relative[aN[aR].type]) { break } } return O( aQ > 1 && k(aT), aQ > 1 && M(aN.slice(0, aQ - 1).concat({ value: aN[aQ - 2].type === ' ' ? '*' : '' })).replace(ax, '$1'), aP, aQ < aR && t(aN.slice(aQ, aR)), aR < aO && t((aN = aN.slice(aR))), aR < aO && M(aN) ) } aT.push(aP) } } return k(aT) } function aA(aM, aJ) { var aN = aJ.length > 0, aL = aM.length > 0, aK = function (a1, aR, a2, a3, aY) { var aQ, aP, a0, aW = 0, aO = '0', aU = a1 && [], aV = [], aX = h, aS = a1 || (aL && H.find.TAG('*', aY)), aT = (m += aX == null ? 1 : Math.random() || 0.1), aZ = aS.length if (aY) { h = aR === al || aR || aY } for (; aO !== aZ && (aQ = aS[aO]) != null; aO++) { if (aL && aQ) { aP = 0 if (!aR && aQ.ownerDocument !== al) { az(aQ) a2 = !w } while ((a0 = aM[aP++])) { if (a0(aQ, aR || al, a2)) { a3.push(aQ) break } } if (aY) { m = aT } } if (aN) { if ((aQ = !a0 && aQ)) { aW-- } if (a1) { aU.push(aQ) } } } aW += aO if (aN && aO !== aW) { aP = 0 while ((a0 = aJ[aP++])) { a0(aU, aV, aR, a2) } if (a1) { if (aW > 0) { while (aO--) { if (!(aU[aO] || aV[aO])) { aV[aO] = r.call(a3) } } } aV = E(aV) } X.apply(a3, aV) if (aY && !a1 && aV.length > 0 && aW + aJ.length > 1) { ar.uniqueSort(a3) } } if (aY) { m = aT h = aX } return aU } return aN ? L(aK) : aK } aC = ar.compile = function (aM, aN) { var aL, aK = [], aO = [], aJ = ah[aM + ' '] if (!aJ) { if (!aN) { aN = N(aM) } aL = aN.length while (aL--) { aJ = t(aN[aL]) if (aJ[u]) { aK.push(aJ) } else { aO.push(aJ) } } aJ = ah(aM, aA(aO, aK)) aJ.selector = aM } return aJ } o = ar.select = function (aR, aT, aQ, aN) { var aP, aK, aS, aJ, aM, aL = typeof aR === 'function' && aR, aO = !aN && N((aR = aL.selector || aR)) aQ = aQ || [] if (aO.length === 1) { aK = aO[0] = aO[0].slice(0) if ( aK.length > 2 && (aS = aK[0]).type === 'ID' && n.getById && aT.nodeType === 9 && w && H.relative[aK[1].type] ) { aT = (H.find.ID(aS.matches[0].replace(aw, z), aT) || [])[0] if (!aT) { return aQ } else { if (aL) { aT = aT.parentNode } } aR = aR.slice(aK.shift().value.length) } aP = C.needsContext.test(aR) ? 0 : aK.length while (aP--) { aS = aK[aP] if (H.relative[(aJ = aS.type)]) { break } if ((aM = H.find[aJ])) { if ((aN = aM(aS.matches[0].replace(aw, z), (D.test(aK[0].type) && aF(aT.parentNode)) || aT))) { aK.splice(aP, 1) aR = aN.length && M(aK) if (!aR) { X.apply(aQ, aN) return aQ } break } } } } ;(aL || aC(aR, aO))(aN, aT, !w, aQ, !aT || (D.test(aR) && aF(aT.parentNode)) || aT) return aQ } n.sortStable = u.split('').sort(aj).join('') === u n.detectDuplicates = !!aB az() n.sortDetached = P(function (aJ) { return aJ.compareDocumentPosition(al.createElement('div')) & 1 }) if ( !P(function (aJ) { aJ.innerHTML = "" return aJ.firstChild.getAttribute('href') === '#' }) ) { l('type|href|height|width', function (aK, aL, aJ) { if (!aJ) { return aK.getAttribute(aL, aL.toLowerCase() === 'type' ? 1 : 2) } }) } if ( !n.attributes || !P(function (aJ) { aJ.innerHTML = '' aJ.firstChild.setAttribute('value', '') return aJ.firstChild.getAttribute('value') === '' }) ) { l('value', function (aK, aL, aJ) { if (!aJ && aK.nodeName.toLowerCase() === 'input') { return aK.defaultValue } }) } if ( !P(function (aJ) { return aJ.getAttribute('disabled') == null }) ) { l(W, function (aK, aM, aL) { var aJ if (!aL) { return aK[aM] === !0 ? aM.toLowerCase() : (aJ = aK.getAttributeNode(aM)) && aJ.specified ? aJ.value : null } }) } return ar })(dh) dO.find = cs dO.expr = cs.selectors dO.expr[':'] = dO.expr.pseudos dO.uniqueSort = dO.unique = cs.uniqueSort dO.text = cs.getText dO.isXMLDoc = cs.isXML dO.contains = cs.contains var d5 = function (j, m, h) { var l = [], k = h !== undefined while ((j = j[m]) && j.nodeType !== 9) { if (j.nodeType === 1) { if (k && dO(j).is(h)) { break } l.push(j) } } return l } var cp = function (j, k) { var h = [] for (; j; j = j.nextSibling) { if (j.nodeType === 1 && j !== k) { h.push(j) } } return h } var dx = dO.expr.match.needsContext var cJ = /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/ var ew = /^.[^:#\[\.,]*$/ function a7(j, h, k) { if (dO.isFunction(h)) { return dO.grep(j, function (l, m) { return !!h.call(l, m, l) !== k }) } if (h.nodeType) { return dO.grep(j, function (l) { return (l === h) !== k }) } if (typeof h === 'string') { if (ew.test(h)) { return dO.filter(h, j, k) } h = dO.filter(h, j) } return dO.grep(j, function (l) { return dO.inArray(l, h) > -1 !== k }) } dO.filter = function (h, k, j) { var l = k[0] if (j) { h = ':not(' + h + ')' } return k.length === 1 && l.nodeType === 1 ? dO.find.matchesSelector(l, h) ? [l] : [] : dO.find.matches( h, dO.grep(k, function (m) { return m.nodeType === 1 }) ) } dO.fn.extend({ find: function (l) { var h, j = [], k = this, m = k.length if (typeof l !== 'string') { return this.pushStack( dO(l).filter(function () { for (h = 0; h < m; h++) { if (dO.contains(k[h], this)) { return !0 } } }) ) } for (h = 0; h < m; h++) { dO.find(l, k[h], j) } j = this.pushStack(m > 1 ? dO.unique(j) : j) j.selector = this.selector ? this.selector + ' ' + l : l return j }, filter: function (h) { return this.pushStack(a7(this, h || [], !1)) }, not: function (h) { return this.pushStack(a7(this, h || [], !0)) }, is: function (h) { return !!a7(this, typeof h === 'string' && dx.test(h) ? dO(h) : h || [], !1).length }, }) var dy, eh = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, ex = (dO.fn.init = function (l, j, m) { var k, h if (!l) { return this } m = m || dy if (typeof l === 'string') { if (l.charAt(0) === '<' && l.charAt(l.length - 1) === '>' && l.length >= 3) { k = [null, l, null] } else { k = eh.exec(l) } if (k && (k[1] || !j)) { if (k[1]) { j = j instanceof dO ? j[0] : j dO.merge(this, dO.parseHTML(k[1], j && j.nodeType ? j.ownerDocument || j : cr, !0)) if (cJ.test(k[1]) && dO.isPlainObject(j)) { for (k in j) { if (dO.isFunction(this[k])) { this[k](j[k]) } else { this.attr(k, j[k]) } } } return this } else { h = cr.getElementById(k[2]) if (h && h.parentNode) { if (h.id !== k[2]) { return dy.find(l) } this.length = 1 this[0] = h } this.context = cr this.selector = l return this } } else { if (!j || j.jquery) { return (j || m).find(l) } else { return this.constructor(j).find(l) } } } else { if (l.nodeType) { this.context = this[0] = l this.length = 1 return this } else { if (dO.isFunction(l)) { return typeof m.ready !== 'undefined' ? m.ready(l) : l(dO) } } } if (l.selector !== undefined) { this.selector = l.selector this.context = l.context } return dO.makeArray(l, this) }) ex.prototype = dO.fn dy = dO(cr) var ed = /^(?:parents|prev(?:Until|All))/, d6 = { children: !0, contents: !0, next: !0, prev: !0 } dO.fn.extend({ has: function (h) { var j, k = dO(h, this), l = k.length return this.filter(function () { for (j = 0; j < l; j++) { if (dO.contains(this, k[j])) { return !0 } } }) }, closest: function (j, k) { var h, l = 0, m = this.length, n = [], o = dx.test(j) || typeof j !== 'string' ? dO(j, k || this.context) : 0 for (; l < m; l++) { for (h = this[l]; h && h !== k; h = h.parentNode) { if (h.nodeType < 11 && (o ? o.index(h) > -1 : h.nodeType === 1 && dO.find.matchesSelector(h, j))) { n.push(h) break } } } return this.pushStack(n.length > 1 ? dO.uniqueSort(n) : n) }, index: function (h) { if (!h) { return this[0] && this[0].parentNode ? this.first().prevAll().length : -1 } if (typeof h === 'string') { return dO.inArray(this[0], dO(h)) } return dO.inArray(h.jquery ? h[0] : h, this) }, add: function (h, j) { return this.pushStack(dO.uniqueSort(dO.merge(this.get(), dO(h, j)))) }, addBack: function (h) { return this.add(h == null ? this.prevObject : this.prevObject.filter(h)) }, }) function du(j, h) { do { j = j[h] } while (j && j.nodeType !== 1) return j } dO.each( { parent: function (j) { var h = j.parentNode return h && h.nodeType !== 11 ? h : null }, parents: function (h) { return d5(h, 'parentNode') }, parentsUntil: function (j, k, h) { return d5(j, 'parentNode', h) }, next: function (h) { return du(h, 'nextSibling') }, prev: function (h) { return du(h, 'previousSibling') }, nextAll: function (h) { return d5(h, 'nextSibling') }, prevAll: function (h) { return d5(h, 'previousSibling') }, nextUntil: function (j, k, h) { return d5(j, 'nextSibling', h) }, prevUntil: function (j, k, h) { return d5(j, 'previousSibling', h) }, siblings: function (h) { return cp((h.parentNode || {}).firstChild, h) }, children: function (h) { return cp(h.firstChild) }, contents: function (h) { return dO.nodeName(h, 'iframe') ? h.contentDocument || h.contentWindow.document : dO.merge([], h.childNodes) }, }, function (h, j) { dO.fn[h] = function (k, m) { var l = dO.map(this, j, k) if (h.slice(-5) !== 'Until') { m = k } if (m && typeof m === 'string') { l = dO.filter(m, l) } if (this.length > 1) { if (!d6[h]) { l = dO.uniqueSort(l) } if (ed.test(h)) { l = l.reverse() } } return this.pushStack(l) } } ) var eG = /\S+/g function dS(j) { var h = {} dO.each(j.match(eG) || [], function (k, l) { h[l] = !0 }) return h } dO.Callbacks = function (k) { k = typeof k === 'string' ? dS(k) : dO.extend({}, k) var p, r, j, q, m = [], o = [], n = -1, h = function () { q = k.once j = p = !0 for (; o.length; n = -1) { r = o.shift() while (++n < m.length) { if (m[n].apply(r[0], r[1]) === !1 && k.stopOnFalse) { n = m.length r = !1 } } } if (!k.memory) { r = !1 } p = !1 if (q) { if (r) { m = [] } else { m = '' } } }, l = { add: function () { if (m) { if (r && !p) { n = m.length - 1 o.push(r) } ;(function s(t) { dO.each(t, function (u, v) { if (dO.isFunction(v)) { if (!k.unique || !l.has(v)) { m.push(v) } } else { if (v && v.length && dO.type(v) !== 'string') { s(v) } } }) })(arguments) if (r && !p) { h() } } return this }, remove: function () { dO.each(arguments, function (s, u) { var t while ((t = dO.inArray(u, m, t)) > -1) { m.splice(t, 1) if (t <= n) { n-- } } }) return this }, has: function (s) { return s ? dO.inArray(s, m) > -1 : m.length > 0 }, empty: function () { if (m) { m = [] } return this }, disable: function () { q = o = [] m = r = '' return this }, disabled: function () { return !m }, lock: function () { q = !0 if (!r) { l.disable() } return this }, locked: function () { return !!q }, fireWith: function (s, t) { if (!q) { t = t || [] t = [s, t.slice ? t.slice() : t] o.push(t) if (!p) { h() } } return this }, fire: function () { l.fireWith(this, arguments) return this }, fired: function () { return !!j }, } return l } dO.extend({ Deferred: function (l) { var m = [ ['resolve', 'done', dO.Callbacks('once memory'), 'resolved'], ['reject', 'fail', dO.Callbacks('once memory'), 'rejected'], ['notify', 'progress', dO.Callbacks('memory')], ], j = 'pending', h = { state: function () { return j }, always: function () { k.done(arguments).fail(arguments) return this }, then: function () { var n = arguments return dO .Deferred(function (o) { dO.each(m, function (q, r) { var p = dO.isFunction(n[q]) && n[q] k[r[1]](function () { var s = p && p.apply(this, arguments) if (s && dO.isFunction(s.promise)) { s.promise().progress(o.notify).done(o.resolve).fail(o.reject) } else { o[r[0] + 'With'](this === h ? o.promise() : this, p ? [s] : arguments) } }) }) n = null }) .promise() }, promise: function (n) { return n != null ? dO.extend(n, h) : h }, }, k = {} h.pipe = h.then dO.each(m, function (n, o) { var p = o[2], q = o[3] h[o[1]] = p.add if (q) { p.add( function () { j = q }, m[n ^ 1][2].disable, m[2][2].lock ) } k[o[0]] = function () { k[o[0] + 'With'](this === k ? h : this, arguments) return this } k[o[0] + 'With'] = p.fireWith }) h.promise(k) if (l) { l.call(k, k) } return k }, when: function (o) { var q = 0, m = em.call(arguments), h = m.length, r = h !== 1 || (o && dO.isFunction(o.promise)) ? h : 0, j = r === 1 ? o : dO.Deferred(), p = function (t, s, u) { return function (v) { s[t] = this u[t] = arguments.length > 1 ? em.call(arguments) : v if (u === k) { j.notifyWith(s, u) } else { if (!--r) { j.resolveWith(s, u) } } } }, k, n, l if (h > 1) { k = new Array(h) n = new Array(h) l = new Array(h) for (; q < h; q++) { if (m[q] && dO.isFunction(m[q].promise)) { m[q] .promise() .progress(p(q, n, k)) .done(p(q, l, m)) .fail(j.reject) } else { --r } } } if (!r) { j.resolveWith(l, m) } return j.promise() }, }) var dG dO.fn.ready = function (h) { dO.ready.promise().done(h) return this } dO.extend({ isReady: !1, readyWait: 1, holdReady: function (h) { if (h) { dO.readyWait++ } else { dO.ready(!0) } }, ready: function (h) { if (h === !0 ? --dO.readyWait : dO.isReady) { return } dO.isReady = !0 if (h !== !0 && --dO.readyWait > 0) { return } dG.resolveWith(cr, [dO]) if (dO.fn.triggerHandler) { dO(cr).triggerHandler('ready') dO(cr).off('ready') } }, }) function cM() { if (cr.addEventListener) { cr.removeEventListener('DOMContentLoaded', cG) dh.removeEventListener('load', cG) } else { cr.detachEvent('onreadystatechange', cG) dh.detachEvent('onload', cG) } } function cG() { if (cr.addEventListener || dh.event.type === 'load' || cr.readyState === 'complete') { cM() dO.ready() } } dO.ready.promise = function (h) { if (!dG) { dG = dO.Deferred() if (cr.readyState === 'complete' || (cr.readyState !== 'loading' && !cr.documentElement.doScroll)) { dh.setTimeout(dO.ready) } else { if (cr.addEventListener) { cr.addEventListener('DOMContentLoaded', cG) dh.addEventListener('load', cG) } else { cr.attachEvent('onreadystatechange', cG) dh.attachEvent('onload', cG) var k = !1 try { k = dh.frameElement == null && cr.documentElement } catch (l) {} if (k && k.doScroll) { ;(function j() { if (!dO.isReady) { try { k.doScroll('left') } catch (m) { return dh.setTimeout(j, 50) } cM() dO.ready() } })() } } } } return dG.promise(h) } dO.ready.promise() var cT for (cT in dO(dm)) { break } dm.ownFirst = cT === '0' dm.inlineBlockNeedsLayout = !1 dO(function () { var k, h, j, l j = cr.getElementsByTagName('body')[0] if (!j || !j.style) { return } h = cr.createElement('div') l = cr.createElement('div') l.style.cssText = 'position:absolute;border:0;width:0;height:0;top:0;left:-9999px' j.appendChild(l).appendChild(h) if (typeof h.style.zoom !== 'undefined') { h.style.cssText = 'display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1' dm.inlineBlockNeedsLayout = k = h.offsetWidth === 3 if (k) { j.style.zoom = 1 } } j.removeChild(l) }) ;(function () { var j = cr.createElement('div') dm.deleteExpando = !0 try { delete j.test } catch (h) { dm.deleteExpando = !1 } j = null })() var cQ = function (j) { var k = dO.noData[(j.nodeName + ' ').toLowerCase()], h = +j.nodeType || 1 return h !== 1 && h !== 9 ? !1 : !k || (k !== !0 && j.getAttribute('classid') === k) } var d8 = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, a8 = /([A-Z])/g function d3(l, m, j) { if (j === undefined && l.nodeType === 1) { var k = 'data-' + m.replace(a8, '-$1').toLowerCase() j = l.getAttribute(k) if (typeof j === 'string') { try { j = j === 'true' ? !0 : j === 'false' ? !1 : j === 'null' ? null : +j + '' === j ? +j : d8.test(j) ? dO.parseJSON(j) : j } catch (h) {} dO.data(l, m, j) } else { j = undefined } } return j } function ek(j) { var h for (h in j) { if (h === 'data' && dO.isEmptyObject(j[h])) { continue } if (h !== 'toJSON') { return !1 } } return !0 } function c3(q, h, o, p) { if (!cQ(q)) { return } var m, n, l = dO.expando, k = q.nodeType, j = k ? dO.cache : q, r = k ? q[l] : q[l] && l if ((!r || !j[r] || (!p && !j[r].data)) && o === undefined && typeof h === 'string') { return } if (!r) { if (k) { r = q[l] = ch.pop() || dO.guid++ } else { r = l } } if (!j[r]) { j[r] = k ? {} : { toJSON: dO.noop } } if (typeof h === 'object' || typeof h === 'function') { if (p) { j[r] = dO.extend(j[r], h) } else { j[r].data = dO.extend(j[r].data, h) } } n = j[r] if (!p) { if (!n.data) { n.data = {} } n = n.data } if (o !== undefined) { n[dO.camelCase(h)] = o } if (typeof h === 'string') { m = n[h] if (m == null) { m = n[dO.camelCase(h)] } } else { m = n } return m } function dX(j, l, n) { if (!cQ(j)) { return } var p, k, h = j.nodeType, m = h ? dO.cache : j, o = h ? j[dO.expando] : dO.expando if (!m[o]) { return } if (l) { p = n ? m[o] : m[o].data if (p) { if (!dO.isArray(l)) { if (l in p) { l = [l] } else { l = dO.camelCase(l) if (l in p) { l = [l] } else { l = l.split(' ') } } } else { l = l.concat(dO.map(l, dO.camelCase)) } k = l.length while (k--) { delete p[l[k]] } if (n ? !ek(p) : !dO.isEmptyObject(p)) { return } } } if (!n) { delete m[o].data if (!ek(m[o])) { return } } if (h) { dO.cleanData([j], !0) } else { if (dm.deleteExpando || m != m.window) { delete m[o] } else { m[o] = undefined } } } dO.extend({ cache: {}, noData: { 'applet ': !0, 'embed ': !0, 'object ': 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' }, hasData: function (h) { h = h.nodeType ? dO.cache[h[dO.expando]] : h[dO.expando] return !!h && !ek(h) }, data: function (k, j, h) { return c3(k, j, h) }, removeData: function (j, h) { return dX(j, h) }, _data: function (k, j, h) { return c3(k, j, h, !0) }, _removeData: function (j, h) { return dX(j, h, !0) }, }) dO.fn.extend({ data: function (k, o) { var l, m, h, j = this[0], n = j && j.attributes if (k === undefined) { if (this.length) { h = dO.data(j) if (j.nodeType === 1 && !dO._data(j, 'parsedAttrs')) { l = n.length while (l--) { if (n[l]) { m = n[l].name if (m.indexOf('data-') === 0) { m = dO.camelCase(m.slice(5)) d3(j, m, h[m]) } } } dO._data(j, 'parsedAttrs', !0) } } return h } if (typeof k === 'object') { return this.each(function () { dO.data(this, k) }) } return arguments.length > 1 ? this.each(function () { dO.data(this, k, o) }) : j ? d3(j, k, dO.data(j, k)) : undefined }, removeData: function (h) { return this.each(function () { dO.removeData(this, h) }) }, }) dO.extend({ queue: function (k, l, h) { var j if (k) { l = (l || 'fx') + 'queue' j = dO._data(k, l) if (h) { if (!j || dO.isArray(h)) { j = dO._data(k, l, dO.makeArray(h)) } else { j.push(h) } } return j || [] } }, dequeue: function (j, k) { k = k || 'fx' var o = dO.queue(j, k), h = o.length, l = o.shift(), n = dO._queueHooks(j, k), m = function () { dO.dequeue(j, k) } if (l === 'inprogress') { l = o.shift() h-- } if (l) { if (k === 'fx') { o.unshift('inprogress') } delete n.stop l.call(j, m, n) } if (!h && n) { n.empty.fire() } }, _queueHooks: function (j, k) { var h = k + 'queueHooks' return ( dO._data(j, h) || dO._data(j, h, { empty: dO.Callbacks('once memory').add(function () { dO._removeData(j, k + 'queue') dO._removeData(j, h) }), }) ) }, }) dO.fn.extend({ queue: function (j, k) { var h = 2 if (typeof j !== 'string') { k = j j = 'fx' h-- } if (arguments.length < h) { return dO.queue(this[0], j) } return k === undefined ? this : this.each(function () { var l = dO.queue(this, j, k) dO._queueHooks(this, j) if (j === 'fx' && l[0] !== 'inprogress') { dO.dequeue(this, j) } }) }, dequeue: function (h) { return this.each(function () { dO.dequeue(this, h) }) }, clearQueue: function (h) { return this.queue(h || 'fx', []) }, promise: function (l, p) { var m, k = 1, o = dO.Deferred(), h = this, n = this.length, j = function () { if (!--k) { o.resolveWith(h, [h]) } } if (typeof l !== 'string') { p = l l = undefined } l = l || 'fx' while (n--) { m = dO._data(h[n], l + 'queueHooks') if (m && m.empty) { k++ m.empty.add(j) } } j() return o.promise(p) }, }) ;(function () { var h dm.shrinkWrapBlocks = function () { if (h != null) { return h } h = !1 var j, l, k l = cr.getElementsByTagName('body')[0] if (!l || !l.style) { return } j = cr.createElement('div') k = cr.createElement('div') k.style.cssText = 'position:absolute;border:0;width:0;height:0;top:0;left:-9999px' l.appendChild(k).appendChild(j) if (typeof j.style.zoom !== 'undefined') { j.style.cssText = '-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1' j.appendChild(cr.createElement('div')).style.width = '5px' h = j.offsetWidth !== 3 } l.removeChild(k) return h } })() var eI = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source var cI = new RegExp('^(?:([+-])=|)(' + eI + ')([a-z%]*)$', 'i') var eC = ['Top', 'Right', 'Bottom', 'Left'] var eg = function (j, h) { j = h || j return dO.css(j, 'display') === 'none' || !dO.contains(j.ownerDocument, j) } function dw(h, j, q, l) { var k, s = 1, o = 20, m = l ? function () { return l.cur() } : function () { return dO.css(h, j, '') }, p = m(), n = (q && q[3]) || (dO.cssNumber[j] ? '' : 'px'), r = (dO.cssNumber[j] || (n !== 'px' && +p)) && cI.exec(dO.css(h, j)) if (r && r[3] !== n) { n = n || r[3] q = q || [] r = +p || 1 do { s = s || '.5' r = r / s dO.style(h, j, r + n) } while (s !== (s = m() / p) && s !== 1 && --o) } if (q) { r = +r || +p || 0 k = q[1] ? r + (q[1] + 1) * q[2] : +q[2] if (l) { l.unit = n l.start = r l.end = k } } return k } var eM = function (h, n, l, m, p, j, k) { var q = 0, r = h.length, o = l == null if (dO.type(l) === 'object') { p = !0 for (q in l) { eM(h, n, q, l[q], !0, j, k) } } else { if (m !== undefined) { p = !0 if (!dO.isFunction(m)) { k = !0 } if (o) { if (k) { n.call(h, m) n = null } else { o = n n = function (u, s, t) { return o.call(dO(u), t) } } } if (n) { for (; q < r; q++) { n(h[q], l, k ? m : m.call(h[q], q, n(h[q], l))) } } } } return p ? h : o ? n.call(h) : r ? n(h[0], l) : j } var eu = /^(?:checkbox|radio)$/i var cq = /<([\w:-]+)/ var d2 = /^$|\/(?:java|ecma)script/i var cx = /^\s+/ var cD = 'abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video' function dt(j) { var h = cD.split('|'), k = j.createDocumentFragment() if (k.createElement) { while (h.length) { k.createElement(h.pop()) } } return k } ;(function () { var j = cr.createElement('div'), k = cr.createDocumentFragment(), h = cr.createElement('input') j.innerHTML = "
a" dm.leadingWhitespace = j.firstChild.nodeType === 3 dm.tbody = !j.getElementsByTagName('tbody').length dm.htmlSerialize = !!j.getElementsByTagName('link').length dm.html5Clone = cr.createElement('nav').cloneNode(!0).outerHTML !== '<:nav>' h.type = 'checkbox' h.checked = !0 k.appendChild(h) dm.appendChecked = h.checked j.innerHTML = '' dm.noCloneChecked = !!j.cloneNode(!0).lastChild.defaultValue k.appendChild(j) h = cr.createElement('input') h.setAttribute('type', 'radio') h.setAttribute('checked', 'checked') h.setAttribute('name', 't') j.appendChild(h) dm.checkClone = j.cloneNode(!0).cloneNode(!0).lastChild.checked dm.noCloneEvent = !!j.addEventListener j[dO.expando] = 1 dm.attributes = !j.getAttribute(dO.expando) })() var ea = { option: [1, "'], legend: [1, '
', '
'], area: [1, '', ''], param: [1, '', ''], thead: [1, '', '
'], tr: [2, '', '
'], col: [2, '', '
'], td: [3, '', '
'], _default: dm.htmlSerialize ? [0, '', ''] : [1, 'X
', '
'], } ea.optgroup = ea.option ea.tbody = ea.tfoot = ea.colgroup = ea.caption = ea.thead ea.th = ea.td function ct(k, n) { var m, j, l = 0, h = typeof k.getElementsByTagName !== 'undefined' ? k.getElementsByTagName(n || '*') : typeof k.querySelectorAll !== 'undefined' ? k.querySelectorAll(n || '*') : undefined if (!h) { for (h = [], m = k.childNodes || k; (j = m[l]) != null; l++) { if (!n || dO.nodeName(j, n)) { h.push(j) } else { dO.merge(h, ct(j, n)) } } } return n === undefined || (n && dO.nodeName(k, n)) ? dO.merge([k], h) : h } function ef(l, j) { var h, k = 0 for (; (h = l[k]) != null; k++) { dO._data(h, 'globalEval', !j || dO._data(j[k], 'globalEval')) } } var cW = /<|&#?\w+;/, cE = /' && !cE.test(t) ? l : 0 o = t && t.childNodes.length while (o--) { if (dO.nodeName((m = t.childNodes[o]), 'tbody') && !m.childNodes.length) { t.removeChild(m) } } } dO.merge(h, l.childNodes) l.textContent = '' while (l.firstChild) { l.removeChild(l.firstChild) } l = u.lastChild } } } } if (l) { u.removeChild(l) } if (!dm.appendChecked) { dO.grep(ct(h, 'input'), es) } n = 0 while ((t = h[n++])) { if (k && dO.inArray(t, k) > -1) { if (s) { s.push(t) } continue } q = dO.contains(t.ownerDocument, t) l = ct(u.appendChild(t), 'script') if (q) { ef(l) } if (p) { o = 0 while ((t = l[o++])) { if (d2.test(t.type || '')) { p.push(t) } } } } l = null return u } ;(function () { var j, k, h = cr.createElement('div') for (j in { submit: !0, change: !0, focusin: !0 }) { k = 'on' + j if (!(dm[j] = k in dh)) { h.setAttribute(k, 't') dm[j] = h.attributes[k].expando === !1 } } h = null })() var dR = /^(?:input|select|textarea)$/i, df = /^key/, dJ = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, d0 = /^(?:focusinfocus|focusoutblur)$/, d9 = /^([^.]*)(?:\.(.+)|)/ function ec() { return !0 } function d1() { return !1 } function dC() { try { return cr.activeElement } catch (h) {} } function cR(j, n, m, h, k, o) { var p, l if (typeof n === 'object') { if (typeof m !== 'string') { h = h || m m = undefined } for (l in n) { cR(j, l, m, h, n[l], o) } return j } if (h == null && k == null) { k = m h = m = undefined } else { if (k == null) { if (typeof m === 'string') { k = h h = undefined } else { k = h h = m m = undefined } } } if (k === !1) { k = d1 } else { if (!k) { return j } } if (o === 1) { p = k k = function (q) { dO().off(q) return p.apply(this, arguments) } k.guid = p.guid || (p.guid = dO.guid++) } return j.each(function () { dO.event.add(this, n, k, h, m) }) } dO.event = { global: {}, add: function (w, r, m, u, v) { var t, l, j, y, p, s, n, x, o, k, h, q = dO._data(w) if (!q) { return } if (m.handler) { y = m m = y.handler v = y.selector } if (!m.guid) { m.guid = dO.guid++ } if (!(l = q.events)) { l = q.events = {} } if (!(s = q.handle)) { s = q.handle = function (z) { return typeof dO !== 'undefined' && (!z || dO.event.triggered !== z.type) ? dO.event.dispatch.apply(s.elem, arguments) : undefined } s.elem = w } r = (r || '').match(eG) || [''] j = r.length while (j--) { t = d9.exec(r[j]) || [] o = h = t[1] k = (t[2] || '').split('.').sort() if (!o) { continue } p = dO.event.special[o] || {} o = (v ? p.delegateType : p.bindType) || o p = dO.event.special[o] || {} n = dO.extend( { type: o, origType: h, data: u, handler: m, guid: m.guid, selector: v, needsContext: v && dO.expr.match.needsContext.test(v), namespace: k.join('.'), }, y ) if (!(x = l[o])) { x = l[o] = [] x.delegateCount = 0 if (!p.setup || p.setup.call(w, u, k, s) === !1) { if (w.addEventListener) { w.addEventListener(o, s, !1) } else { if (w.attachEvent) { w.attachEvent('on' + o, s) } } } } if (p.add) { p.add.call(w, n) if (!n.handler.guid) { n.handler.guid = m.guid } } if (v) { x.splice(x.delegateCount++, 0, n) } else { x.push(n) } dO.event.global[o] = !0 } w = null }, remove: function (x, r, j, w, s) { var u, n, t, v, l, m, p, y, o, k, h, q = dO.hasData(x) && dO._data(x) if (!q || !(m = q.events)) { return } r = (r || '').match(eG) || [''] l = r.length while (l--) { t = d9.exec(r[l]) || [] o = h = t[1] k = (t[2] || '').split('.').sort() if (!o) { for (o in m) { dO.event.remove(x, o + r[l], j, w, !0) } continue } p = dO.event.special[o] || {} o = (w ? p.delegateType : p.bindType) || o y = m[o] || [] t = t[2] && new RegExp('(^|\\.)' + k.join('\\.(?:.*\\.|)') + '(\\.|$)') v = u = y.length while (u--) { n = y[u] if ( (s || h === n.origType) && (!j || j.guid === n.guid) && (!t || t.test(n.namespace)) && (!w || w === n.selector || (w === '**' && n.selector)) ) { y.splice(u, 1) if (n.selector) { y.delegateCount-- } if (p.remove) { p.remove.call(x, n) } } } if (v && !y.length) { if (!p.teardown || p.teardown.call(x, k, q.handle) === !1) { dO.removeEvent(x, o, q.handle) } delete m[o] } } if (dO.isEmptyObject(m)) { delete q.handle dO._removeData(x, 'events') } }, trigger: function (h, q, u, j) { var p, v, l, k, n, r, s, t = [u || cr], m = cY.call(h, 'type') ? h.type : h, w = cY.call(h, 'namespace') ? h.namespace.split('.') : [] l = r = u = u || cr if (u.nodeType === 3 || u.nodeType === 8) { return } if (d0.test(m + dO.event.triggered)) { return } if (m.indexOf('.') > -1) { w = m.split('.') m = w.shift() w.sort() } v = m.indexOf(':') < 0 && 'on' + m h = h[dO.expando] ? h : new dO.Event(m, typeof h === 'object' && h) h.isTrigger = j ? 2 : 3 h.namespace = w.join('.') h.rnamespace = h.namespace ? new RegExp('(^|\\.)' + w.join('\\.(?:.*\\.|)') + '(\\.|$)') : null h.result = undefined if (!h.target) { h.target = u } q = q == null ? [h] : dO.makeArray(q, [h]) n = dO.event.special[m] || {} if (!j && n.trigger && n.trigger.apply(u, q) === !1) { return } if (!j && !n.noBubble && !dO.isWindow(u)) { k = n.delegateType || m if (!d0.test(k + m)) { l = l.parentNode } for (; l; l = l.parentNode) { t.push(l) r = l } if (r === (u.ownerDocument || cr)) { t.push(r.defaultView || r.parentWindow || dh) } } s = 0 while ((l = t[s++]) && !h.isPropagationStopped()) { h.type = s > 1 ? k : n.bindType || m p = (dO._data(l, 'events') || {})[h.type] && dO._data(l, 'handle') if (p) { p.apply(l, q) } p = v && l[v] if (p && p.apply && cQ(l)) { h.result = p.apply(l, q) if (h.result === !1) { h.preventDefault() } } } h.type = m if (!j && !h.isDefaultPrevented()) { if ((!n._default || n._default.apply(t.pop(), q) === !1) && cQ(u)) { if (v && u[m] && !dO.isWindow(u)) { r = u[v] if (r) { u[v] = null } dO.event.triggered = m try { u[m]() } catch (o) {} dO.event.triggered = undefined if (r) { u[v] = r } } } } return h.result }, dispatch: function (h) { h = dO.event.fix(h) var o, p, n, r, j, k = [], l = em.call(arguments), q = (dO._data(this, 'events') || {})[h.type] || [], m = dO.event.special[h.type] || {} l[0] = h h.delegateTarget = this if (m.preDispatch && m.preDispatch.call(this, h) === !1) { return } k = dO.event.handlers.call(this, h, q) o = 0 while ((r = k[o++]) && !h.isPropagationStopped()) { h.currentTarget = r.elem p = 0 while ((j = r.handlers[p++]) && !h.isImmediatePropagationStopped()) { if (!h.rnamespace || h.rnamespace.test(j.namespace)) { h.handleObj = j h.data = j.data n = ((dO.event.special[j.origType] || {}).handle || j.handler).apply(r.elem, l) if (n !== undefined) { if ((h.result = n) === !1) { h.preventDefault() h.stopPropagation() } } } } } if (m.postDispatch) { m.postDispatch.call(this, h) } return h.result }, handlers: function (h, p) { var n, m, q, k, l = [], o = p.delegateCount, j = h.target if (o && j.nodeType && (h.type !== 'click' || isNaN(h.button) || h.button < 1)) { for (; j != this; j = j.parentNode || this) { if (j.nodeType === 1 && (j.disabled !== !0 || h.type !== 'click')) { m = [] for (n = 0; n < o; n++) { k = p[n] q = k.selector + ' ' if (m[q] === undefined) { m[q] = k.needsContext ? dO(q, this).index(j) > -1 : dO.find(q, this, null, [j]).length } if (m[q]) { m.push(k) } } if (m.length) { l.push({ elem: j, handlers: m }) } } } } if (o < p.length) { l.push({ elem: this, handlers: p.slice(o) }) } return l }, fix: function (k) { if (k[dO.expando]) { return k } var m, o, h, l = k.type, n = k, j = this.fixHooks[l] if (!j) { this.fixHooks[l] = j = dJ.test(l) ? this.mouseHooks : df.test(l) ? this.keyHooks : {} } h = j.props ? this.props.concat(j.props) : this.props k = new dO.Event(n) m = h.length while (m--) { o = h[m] k[o] = n[o] } if (!k.target) { k.target = n.srcElement || cr } if (k.target.nodeType === 3) { k.target = k.target.parentNode } k.metaKey = !!k.metaKey return j.filter ? j.filter(k, n) : k }, props: 'altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which'.split( ' ' ), fixHooks: {}, keyHooks: { props: 'char charCode key keyCode'.split(' '), filter: function (j, h) { if (j.which == null) { j.which = h.charCode != null ? h.charCode : h.keyCode } return j }, }, mouseHooks: { props: 'button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement'.split( ' ' ), filter: function (l, n) { var m, k, j, o = n.button, h = n.fromElement if (l.pageX == null && n.clientX != null) { k = l.target.ownerDocument || cr j = k.documentElement m = k.body l.pageX = n.clientX + ((j && j.scrollLeft) || (m && m.scrollLeft) || 0) - ((j && j.clientLeft) || (m && m.clientLeft) || 0) l.pageY = n.clientY + ((j && j.scrollTop) || (m && m.scrollTop) || 0) - ((j && j.clientTop) || (m && m.clientTop) || 0) } if (!l.relatedTarget && h) { l.relatedTarget = h === l.target ? n.toElement : h } if (!l.which && o !== undefined) { l.which = o & 1 ? 1 : o & 2 ? 3 : o & 4 ? 2 : 0 } return l }, }, special: { load: { noBubble: !0 }, focus: { trigger: function () { if (this !== dC() && this.focus) { try { this.focus() return !1 } catch (h) {} } }, delegateType: 'focusin', }, blur: { trigger: function () { if (this === dC() && this.blur) { this.blur() return !1 } }, delegateType: 'focusout', }, click: { trigger: function () { if (dO.nodeName(this, 'input') && this.type === 'checkbox' && this.click) { this.click() return !1 } }, _default: function (h) { return dO.nodeName(h.target, 'a') }, }, beforeunload: { postDispatch: function (h) { if (h.result !== undefined && h.originalEvent) { h.originalEvent.returnValue = h.result } }, }, }, simulate: function (k, j, l) { var h = dO.extend(new dO.Event(), l, { type: k, isSimulated: !0 }) dO.event.trigger(h, null, j) if (h.isDefaultPrevented()) { l.preventDefault() } }, } dO.removeEvent = cr.removeEventListener ? function (k, j, h) { if (k.removeEventListener) { k.removeEventListener(j, h) } } : function (k, l, h) { var j = 'on' + l if (k.detachEvent) { if (typeof k[j] === 'undefined') { k[j] = null } k.detachEvent(j, h) } } dO.Event = function (j, h) { if (!(this instanceof dO.Event)) { return new dO.Event(j, h) } if (j && j.type) { this.originalEvent = j this.type = j.type this.isDefaultPrevented = j.defaultPrevented || (j.defaultPrevented === undefined && j.returnValue === !1) ? ec : d1 } else { this.type = j } if (h) { dO.extend(this, h) } this.timeStamp = (j && j.timeStamp) || dO.now() this[dO.expando] = !0 } dO.Event.prototype = { constructor: dO.Event, isDefaultPrevented: d1, isPropagationStopped: d1, isImmediatePropagationStopped: d1, preventDefault: function () { var h = this.originalEvent this.isDefaultPrevented = ec if (!h) { return } if (h.preventDefault) { h.preventDefault() } else { h.returnValue = !1 } }, stopPropagation: function () { var h = this.originalEvent this.isPropagationStopped = ec if (!h || this.isSimulated) { return } if (h.stopPropagation) { h.stopPropagation() } h.cancelBubble = !0 }, stopImmediatePropagation: function () { var h = this.originalEvent this.isImmediatePropagationStopped = ec if (h && h.stopImmediatePropagation) { h.stopImmediatePropagation() } this.stopPropagation() }, } dO.each( { mouseenter: 'mouseover', mouseleave: 'mouseout', pointerenter: 'pointerover', pointerleave: 'pointerout', }, function (j, h) { dO.event.special[j] = { delegateType: h, bindType: h, handle: function (m) { var o, k = this, l = m.relatedTarget, n = m.handleObj if (!l || (l !== k && !dO.contains(k, l))) { m.type = n.origType o = n.handler.apply(this, arguments) m.type = h } return o }, } } ) if (!dm.submit) { dO.event.special.submit = { setup: function () { if (dO.nodeName(this, 'form')) { return !1 } dO.event.add(this, 'click._submit keypress._submit', function (j) { var k = j.target, h = dO.nodeName(k, 'input') || dO.nodeName(k, 'button') ? dO.prop(k, 'form') : undefined if (h && !dO._data(h, 'submit')) { dO.event.add(h, 'submit._submit', function (l) { l._submitBubble = !0 }) dO._data(h, 'submit', !0) } }) }, postDispatch: function (h) { if (h._submitBubble) { delete h._submitBubble if (this.parentNode && !h.isTrigger) { dO.event.simulate('submit', this.parentNode, h) } } }, teardown: function () { if (dO.nodeName(this, 'form')) { return !1 } dO.event.remove(this, '._submit') }, } } if (!dm.change) { dO.event.special.change = { setup: function () { if (dR.test(this.nodeName)) { if (this.type === 'checkbox' || this.type === 'radio') { dO.event.add(this, 'propertychange._change', function (h) { if (h.originalEvent.propertyName === 'checked') { this._justChanged = !0 } }) dO.event.add(this, 'click._change', function (h) { if (this._justChanged && !h.isTrigger) { this._justChanged = !1 } dO.event.simulate('change', this, h) }) } return !1 } dO.event.add(this, 'beforeactivate._change', function (j) { var h = j.target if (dR.test(h.nodeName) && !dO._data(h, 'change')) { dO.event.add(h, 'change._change', function (k) { if (this.parentNode && !k.isSimulated && !k.isTrigger) { dO.event.simulate('change', this.parentNode, k) } }) dO._data(h, 'change', !0) } }) }, handle: function (j) { var h = j.target if (this !== h || j.isSimulated || j.isTrigger || (h.type !== 'radio' && h.type !== 'checkbox')) { return j.handleObj.handler.apply(this, arguments) } }, teardown: function () { dO.event.remove(this, '._change') return !dR.test(this.nodeName) }, } } if (!dm.focusin) { dO.each({ focus: 'focusin', blur: 'focusout' }, function (j, h) { var k = function (l) { dO.event.simulate(h, l.target, dO.event.fix(l)) } dO.event.special[h] = { setup: function () { var l = this.ownerDocument || this, m = dO._data(l, h) if (!m) { l.addEventListener(j, k, !0) } dO._data(l, h, (m || 0) + 1) }, teardown: function () { var l = this.ownerDocument || this, m = dO._data(l, h) - 1 if (!m) { l.removeEventListener(j, k, !0) dO._removeData(l, h) } else { dO._data(l, h, m) } }, } }) } dO.fn.extend({ on: function (l, k, h, j) { return cR(this, l, k, h, j) }, one: function (l, k, h, j) { return cR(this, l, k, h, j, 1) }, off: function (l, k, h) { var m, j if (l && l.preventDefault && l.handleObj) { m = l.handleObj dO(l.delegateTarget).off( m.namespace ? m.origType + '.' + m.namespace : m.origType, m.selector, m.handler ) return this } if (typeof l === 'object') { for (j in l) { this.off(j, k, l[j]) } return this } if (k === !1 || typeof k === 'function') { h = k k = undefined } if (h === !1) { h = d1 } return this.each(function () { dO.event.remove(this, l, h, k) }) }, trigger: function (h, j) { return this.each(function () { dO.event.trigger(h, j, this) }) }, triggerHandler: function (j, h) { var k = this[0] if (k) { return dO.event.trigger(j, h, k, !0) } }, }) var eK = / jQuery\d+="(?:null|\d+)"/g, cV = new RegExp('<(?:' + cD + ')[\\s/>]', 'i'), eF = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi, dB = /\s*$/g, a5 = dt(cr), cu = a5.appendChild(cr.createElement('div')) function dl(j, h) { return dO.nodeName(j, 'table') && dO.nodeName(h.nodeType !== 11 ? h : h.firstChild, 'tr') ? j.getElementsByTagName('tbody')[0] || j.appendChild(j.ownerDocument.createElement('tbody')) : j } function cj(h) { h.type = (dO.find.attr(h, 'type') !== null) + '/' + h.type return h } function cX(j) { var h = eW.exec(j.type) if (h) { j.type = h[1] } else { j.removeAttribute('type') } return j } function eV(o, m) { if (m.nodeType !== 1 || !dO.hasData(o)) { return } var j, k, n, p = dO._data(o), h = dO._data(m, p), l = p.events if (l) { delete h.handle h.events = {} for (j in l) { for (k = 0, n = l[j].length; k < n; k++) { dO.event.add(m, j, l[j][k]) } } } if (h.data) { h.data = dO.extend({}, h.data) } } function ee(j, l) { var h, k, m if (l.nodeType !== 1) { return } h = l.nodeName.toLowerCase() if (!dm.noCloneEvent && l[dO.expando]) { m = dO._data(l) for (k in m.events) { dO.removeEvent(l, k, m.handle) } l.removeAttribute(dO.expando) } if (h === 'script' && l.text !== j.text) { cj(l).text = j.text cX(l) } else { if (h === 'object') { if (l.parentNode) { l.outerHTML = j.outerHTML } if (dm.html5Clone && j.innerHTML && !dO.trim(l.innerHTML)) { l.innerHTML = j.innerHTML } } else { if (h === 'input' && eu.test(j.type)) { l.defaultChecked = l.checked = j.checked if (l.value !== j.value) { l.value = j.value } } else { if (h === 'option') { l.defaultSelected = l.selected = j.defaultSelected } else { if (h === 'input' || h === 'textarea') { l.defaultValue = j.defaultValue } } } } } } function de(p, n, j, u) { n = eO.apply([], n) var q, v, h, s, l, o, r = 0, t = p.length, k = t - 1, m = n[0], w = dO.isFunction(m) if (w || (t > 1 && typeof m === 'string' && !dm.checkClone && ev.test(m))) { return p.each(function (x) { var y = p.eq(x) if (w) { n[0] = m.call(this, x, y.html()) } de(y, n, j, u) }) } if (t) { o = dv(n, p[0].ownerDocument, !1, p, u) q = o.firstChild if (o.childNodes.length === 1) { o = q } if (q || u) { s = dO.map(ct(o, 'script'), cj) h = s.length for (; r < t; r++) { v = o if (r !== k) { v = dO.clone(v, !0, !0) if (h) { dO.merge(s, ct(v, 'script')) } } j.call(p[r], v, r) } if (h) { l = s[s.length - 1].ownerDocument dO.map(s, cX) for (r = 0; r < h; r++) { v = s[r] if (d2.test(v.type || '') && !dO._data(v, 'globalEval') && dO.contains(l, v)) { if (v.src) { if (dO._evalUrl) { dO._evalUrl(v.src) } } else { dO.globalEval((v.text || v.textContent || v.innerHTML || '').replace(er, '')) } } } } o = q = null } } return p } function db(j, n, h) { var k, m = n ? dO.filter(n, j) : j, l = 0 for (; (k = m[l]) != null; l++) { if (!h && k.nodeType === 1) { dO.cleanData(ct(k)) } if (k.parentNode) { if (h && dO.contains(k.ownerDocument, k)) { ef(ct(k, 'script')) } k.parentNode.removeChild(k) } } return j } dO.extend({ htmlPrefilter: function (h) { return h.replace(eF, '<$1>') }, clone: function (q, o, h) { var m, p, j, n, l, k = dO.contains(q.ownerDocument, q) if (dm.html5Clone || dO.isXMLDoc(q) || !cV.test('<' + q.nodeName + '>')) { j = q.cloneNode(!0) } else { cu.innerHTML = q.outerHTML cu.removeChild((j = cu.firstChild)) } if ( (!dm.noCloneEvent || !dm.noCloneChecked) && (q.nodeType === 1 || q.nodeType === 11) && !dO.isXMLDoc(q) ) { m = ct(j) l = ct(q) for (n = 0; (p = l[n]) != null; ++n) { if (m[n]) { ee(p, m[n]) } } } if (o) { if (h) { l = l || ct(q) m = m || ct(j) for (n = 0; (p = l[n]) != null; n++) { eV(p, m[n]) } } else { eV(q, j) } } m = ct(j, 'script') if (m.length > 0) { ef(m, !k && ct(q, 'script')) } m = l = p = null return j }, cleanData: function (s, k) { var q, l, r, o, n = 0, j = dO.expando, h = dO.cache, p = dm.attributes, m = dO.event.special for (; (q = s[n]) != null; n++) { if (k || cQ(q)) { r = q[j] o = r && h[r] if (o) { if (o.events) { for (l in o.events) { if (m[l]) { dO.event.remove(q, l) } else { dO.removeEvent(q, l, o.handle) } } } if (h[r]) { delete h[r] if (!p && typeof q.removeAttribute !== 'undefined') { q.removeAttribute(j) } else { q[j] = undefined } ch.push(r) } } } } }, }) dO.fn.extend({ domManip: de, detach: function (h) { return db(this, h, !0) }, remove: function (h) { return db(this, h) }, text: function (h) { return eM( this, function (j) { return j === undefined ? dO.text(this) : this.empty().append(((this[0] && this[0].ownerDocument) || cr).createTextNode(j)) }, null, h, arguments.length ) }, append: function () { return de(this, arguments, function (h) { if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) { var j = dl(this, h) j.appendChild(h) } }) }, prepend: function () { return de(this, arguments, function (h) { if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) { var j = dl(this, h) j.insertBefore(h, j.firstChild) } }) }, before: function () { return de(this, arguments, function (h) { if (this.parentNode) { this.parentNode.insertBefore(h, this) } }) }, after: function () { return de(this, arguments, function (h) { if (this.parentNode) { this.parentNode.insertBefore(h, this.nextSibling) } }) }, empty: function () { var h, j = 0 for (; (h = this[j]) != null; j++) { if (h.nodeType === 1) { dO.cleanData(ct(h, !1)) } while (h.firstChild) { h.removeChild(h.firstChild) } if (h.options && dO.nodeName(h, 'select')) { h.options.length = 0 } } return this }, clone: function (j, h) { j = j == null ? !1 : j h = h == null ? j : h return this.map(function () { return dO.clone(this, j, h) }) }, html: function (h) { return eM( this, function (k) { var l = this[0] || {}, m = 0, n = this.length if (k === undefined) { return l.nodeType === 1 ? l.innerHTML.replace(eK, '') : undefined } if ( typeof k === 'string' && !dB.test(k) && (dm.htmlSerialize || !cV.test(k)) && (dm.leadingWhitespace || !cx.test(k)) && !ea[(cq.exec(k) || ['', ''])[1].toLowerCase()] ) { k = dO.htmlPrefilter(k) try { for (; m < n; m++) { l = this[m] || {} if (l.nodeType === 1) { dO.cleanData(ct(l, !1)) l.innerHTML = k } } l = 0 } catch (j) {} } if (l) { this.empty().append(k) } }, null, h, arguments.length ) }, replaceWith: function () { var h = [] return de( this, arguments, function (j) { var k = this.parentNode if (dO.inArray(this, h) < 0) { dO.cleanData(ct(this)) if (k) { k.replaceChild(j, this) } } }, h ) }, }) dO.each( { appendTo: 'append', prependTo: 'prepend', insertBefore: 'before', insertAfter: 'after', replaceAll: 'replaceWith', }, function (h, j) { dO.fn[h] = function (o) { var n, l = 0, m = [], p = dO(o), k = p.length - 1 for (; l <= k; l++) { n = l === k ? this : this.clone(!0) dO(p[l])[j](n) dA.apply(m, n.get()) } return this.pushStack(m) } } ) var eD, cN = { HTML: 'block', BODY: 'block' } function dj(k, h) { var l = dO(h.createElement(k)).appendTo(h.body), j = dO.css(l[0], 'display') l.detach() return j } function dq(j) { var k = cr, h = cN[j] if (!h) { h = dj(j, k) if (h === 'none' || !h) { eD = (eD || dO("