product.vip.js
132 KB
!function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){n(27)},,function(e,t,n){var i,r;/*!
* jQuery JavaScript Library v1.12.4
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-05-20T17:17Z
*/
!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,o){function a(e){var t=!!e&&"length"in e&&e.length,n=me.type(e);return"function"===n||me.isWindow(e)?!1:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function s(e,t,n){if(me.isFunction(t))return me.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return me.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(Se.test(t))return me.filter(t,e,n);t=me.filter(t,e)}return me.grep(e,function(e){return me.inArray(e,t)>-1!==n})}function l(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function u(e){var t={};return me.each(e.match(He)||[],function(e,n){t[n]=!0}),t}function c(){se.addEventListener?(se.removeEventListener("DOMContentLoaded",d),n.removeEventListener("load",d)):(se.detachEvent("onreadystatechange",d),n.detachEvent("onload",d))}function d(){(se.addEventListener||"load"===n.event.type||"complete"===se.readyState)&&(c(),me.ready())}function f(e,t,n){if(void 0===n&&1===e.nodeType){var i="data-"+t.replace(Pe,"-$1").toLowerCase();if(n=e.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Me.test(n)?me.parseJSON(n):n}catch(r){}me.data(e,t,n)}else n=void 0}return n}function h(e){var t;for(t in e)if(("data"!==t||!me.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function p(e,t,n,i){if(Oe(e)){var r,o,a=me.expando,s=e.nodeType,l=s?me.cache:e,u=s?e[a]:e[a]&&a;if(u&&l[u]&&(i||l[u].data)||void 0!==n||"string"!=typeof t)return u||(u=s?e[a]=ae.pop()||me.guid++:a),l[u]||(l[u]=s?{}:{toJSON:me.noop}),"object"!=typeof t&&"function"!=typeof t||(i?l[u]=me.extend(l[u],t):l[u].data=me.extend(l[u].data,t)),o=l[u],i||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[me.camelCase(t)]=n),"string"==typeof t?(r=o[t],null==r&&(r=o[me.camelCase(t)])):r=o,r}}function g(e,t,n){if(Oe(e)){var i,r,o=e.nodeType,a=o?me.cache:e,s=o?e[me.expando]:me.expando;if(a[s]){if(t&&(i=n?a[s]:a[s].data)){me.isArray(t)?t=t.concat(me.map(t,me.camelCase)):t in i?t=[t]:(t=me.camelCase(t),t=t in i?[t]:t.split(" ")),r=t.length;for(;r--;)delete i[t[r]];if(n?!h(i):!me.isEmptyObject(i))return}(n||(delete a[s].data,h(a[s])))&&(o?me.cleanData([e],!0):ge.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}function v(e,t,n,i){var r,o=1,a=20,s=i?function(){return i.cur()}:function(){return me.css(e,t,"")},l=s(),u=n&&n[3]||(me.cssNumber[t]?"":"px"),c=(me.cssNumber[t]||"px"!==u&&+l)&&Ie.exec(me.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do o=o||".5",c/=o,me.style(e,t,c+u);while(o!==(o=s()/l)&&1!==o&&--a)}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}function m(e){var t=Ve.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function y(e,t){var n,i,r=0,o="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(i=n[r]);r++)!t||me.nodeName(i,t)?o.push(i):me.merge(o,y(i,t));return void 0===t||t&&me.nodeName(e,t)?me.merge([e],o):o}function b(e,t){for(var n,i=0;null!=(n=e[i]);i++)me._data(n,"globalEval",!t||me._data(t[i],"globalEval"))}function x(e){Xe.test(e.type)&&(e.defaultChecked=e.checked)}function w(e,t,n,i,r){for(var o,a,s,l,u,c,d,f=e.length,h=m(t),p=[],g=0;f>g;g++)if(a=e[g],a||0===a)if("object"===me.type(a))me.merge(p,a.nodeType?[a]:a);else if(Qe.test(a)){for(l=l||h.appendChild(t.createElement("div")),u=($e.exec(a)||["",""])[1].toLowerCase(),d=Ge[u]||Ge._default,l.innerHTML=d[1]+me.htmlPrefilter(a)+d[2],o=d[0];o--;)l=l.lastChild;if(!ge.leadingWhitespace&&Ye.test(a)&&p.push(t.createTextNode(Ye.exec(a)[0])),!ge.tbody)for(a="table"!==u||Je.test(a)?"<table>"!==d[1]||Je.test(a)?0:l:l.firstChild,o=a&&a.childNodes.length;o--;)me.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(me.merge(p,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=h.lastChild}else p.push(t.createTextNode(a));for(l&&h.removeChild(l),ge.appendChecked||me.grep(y(p,"input"),x),g=0;a=p[g++];)if(i&&me.inArray(a,i)>-1)r&&r.push(a);else if(s=me.contains(a.ownerDocument,a),l=y(h.appendChild(a),"script"),s&&b(l),n)for(o=0;a=l[o++];)Ue.test(a.type||"")&&n.push(a);return l=null,h}function T(){return!0}function C(){return!1}function A(){try{return se.activeElement}catch(e){}}function E(e,t,n,i,r,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(i=i||n,n=void 0);for(s in t)E(e,s,n,i,t[s],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),r===!1)r=C;else if(!r)return e;return 1===o&&(a=r,r=function(e){return me().off(e),a.apply(this,arguments)},r.guid=a.guid||(a.guid=me.guid++)),e.each(function(){me.event.add(this,t,r,i,n)})}function k(e,t){return me.nodeName(e,"table")&&me.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function S(e){return e.type=(null!==me.find.attr(e,"type"))+"/"+e.type,e}function N(e){var t=lt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function D(e,t){if(1===t.nodeType&&me.hasData(e)){var n,i,r,o=me._data(e),a=me._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(i=0,r=s[n].length;r>i;i++)me.event.add(t,n,s[n][i])}a.data&&(a.data=me.extend({},a.data))}}function _(e,t){var n,i,r;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!ge.noCloneEvent&&t[me.expando]){r=me._data(t);for(i in r.events)me.removeEvent(t,i,r.handle);t.removeAttribute(me.expando)}"script"===n&&t.text!==e.text?(S(t).text=e.text,N(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),ge.html5Clone&&e.innerHTML&&!me.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Xe.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function L(e,t,n,i){t=ue.apply([],t);var r,o,a,s,l,u,c=0,d=e.length,f=d-1,h=t[0],p=me.isFunction(h);if(p||d>1&&"string"==typeof h&&!ge.checkClone&&st.test(h))return e.each(function(r){var o=e.eq(r);p&&(t[0]=h.call(this,r,o.html())),L(o,t,n,i)});if(d&&(u=w(t,e[0].ownerDocument,!1,e,i),r=u.firstChild,1===u.childNodes.length&&(u=r),r||i)){for(s=me.map(y(u,"script"),S),a=s.length;d>c;c++)o=u,c!==f&&(o=me.clone(o,!0,!0),a&&me.merge(s,y(o,"script"))),n.call(e[c],o,c);if(a)for(l=s[s.length-1].ownerDocument,me.map(s,N),c=0;a>c;c++)o=s[c],Ue.test(o.type||"")&&!me._data(o,"globalEval")&&me.contains(l,o)&&(o.src?me._evalUrl&&me._evalUrl(o.src):me.globalEval((o.text||o.textContent||o.innerHTML||"").replace(ut,"")));u=r=null}return e}function j(e,t,n){for(var i,r=t?me.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||me.cleanData(y(i)),i.parentNode&&(n&&me.contains(i.ownerDocument,i)&&b(y(i,"script")),i.parentNode.removeChild(i));return e}function H(e,t){var n=me(t.createElement(e)).appendTo(t.body),i=me.css(n[0],"display");return n.detach(),i}function F(e){var t=se,n=ht[e];return n||(n=H(e,t),"none"!==n&&n||(ft=(ft||me("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(ft[0].contentWindow||ft[0].contentDocument).document,t.write(),t.close(),n=H(e,t),ft.detach()),ht[e]=n),n}function q(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function O(e){if(e in Nt)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=St.length;n--;)if(e=St[n]+t,e in Nt)return e}function M(e,t){for(var n,i,r,o=[],a=0,s=e.length;s>a;a++)i=e[a],i.style&&(o[a]=me._data(i,"olddisplay"),n=i.style.display,t?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&Be(i)&&(o[a]=me._data(i,"olddisplay",F(i.nodeName)))):(r=Be(i),(n&&"none"!==n||!r)&&me._data(i,"olddisplay",r?n:me.css(i,"display"))));for(a=0;s>a;a++)i=e[a],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?o[a]||"":"none"));return e}function P(e,t,n){var i=At.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function R(e,t,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=me.css(e,n+ze[o],!0,r)),i?("content"===n&&(a-=me.css(e,"padding"+ze[o],!0,r)),"margin"!==n&&(a-=me.css(e,"border"+ze[o]+"Width",!0,r))):(a+=me.css(e,"padding"+ze[o],!0,r),"padding"!==n&&(a+=me.css(e,"border"+ze[o]+"Width",!0,r)));return a}function I(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,o=yt(e),a=ge.boxSizing&&"border-box"===me.css(e,"boxSizing",!1,o);if(0>=r||null==r){if(r=bt(e,t,o),(0>r||null==r)&&(r=e.style[t]),gt.test(r))return r;i=a&&(ge.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+R(e,t,n||(a?"border":"content"),i,o)+"px"}function z(e,t,n,i,r){return new z.prototype.init(e,t,n,i,r)}function B(){return n.setTimeout(function(){Dt=void 0}),Dt=me.now()}function W(e,t){var n,i={height:e},r=0;for(t=t?1:0;4>r;r+=2-t)n=ze[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function X(e,t,n){for(var i,r=(Y.tweeners[t]||[]).concat(Y.tweeners["*"]),o=0,a=r.length;a>o;o++)if(i=r[o].call(n,t,e))return i}function $(e,t,n){var i,r,o,a,s,l,u,c,d=this,f={},h=e.style,p=e.nodeType&&Be(e),g=me._data(e,"fxshow");n.queue||(s=me._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,me.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],u=me.css(e,"display"),c="none"===u?me._data(e,"olddisplay")||F(e.nodeName):u,"inline"===c&&"none"===me.css(e,"float")&&(ge.inlineBlockNeedsLayout&&"inline"!==F(e.nodeName)?h.zoom=1:h.display="inline-block")),n.overflow&&(h.overflow="hidden",ge.shrinkWrapBlocks()||d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}));for(i in t)if(r=t[i],Lt.exec(r)){if(delete t[i],o=o||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;p=!0}f[i]=g&&g[i]||me.style(e,i)}else u=void 0;if(me.isEmptyObject(f))"inline"===("none"===u?F(e.nodeName):u)&&(h.display=u);else{g?"hidden"in g&&(p=g.hidden):g=me._data(e,"fxshow",{}),o&&(g.hidden=!p),p?me(e).show():d.done(function(){me(e).hide()}),d.done(function(){var t;me._removeData(e,"fxshow");for(t in f)me.style(e,t,f[t])});for(i in f)a=X(p?g[i]:0,i,d),i in g||(g[i]=a.start,p&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}}function U(e,t){var n,i,r,o,a;for(n in e)if(i=me.camelCase(n),r=t[i],o=e[n],me.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),a=me.cssHooks[i],a&&"expand"in a){o=a.expand(o),delete e[i];for(n in o)n in e||(e[n]=o[n],t[n]=r)}else t[i]=r}function Y(e,t,n){var i,r,o=0,a=Y.prefilters.length,s=me.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=Dt||B(),n=Math.max(0,u.startTime+u.duration-t),i=n/u.duration||0,o=1-i,a=0,l=u.tweens.length;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:me.extend({},t),opts:me.extend(!0,{specialEasing:{},easing:me.easing._default},n),originalProperties:t,originalOptions:n,startTime:Dt||B(),duration:n.duration,tweens:[],createTween:function(t,n){var i=me.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),c=u.props;for(U(c,u.opts.specialEasing);a>o;o++)if(i=Y.prefilters[o].call(u,e,c,u.opts))return me.isFunction(i.stop)&&(me._queueHooks(u.elem,u.opts.queue).stop=me.proxy(i.stop,i)),i;return me.map(c,X,u),me.isFunction(u.opts.start)&&u.opts.start.call(e,u),me.fx.timer(me.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function V(e){return me.attr(e,"class")||""}function G(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(He)||[];if(me.isFunction(n))for(;i=o[r++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Q(e,t,n,i){function r(s){var l;return o[s]=!0,me.each(e[s]||[],function(e,s){var u=s(t,n,i);return"string"!=typeof u||a||o[u]?a?!(l=u):void 0:(t.dataTypes.unshift(u),r(u),!1)}),l}var o={},a=e===nn;return r(t.dataTypes[0])||!o["*"]&&r("*")}function J(e,t){var n,i,r=me.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((r[i]?e:n||(n={}))[i]=t[i]);return n&&me.extend(!0,e,n),e}function K(e,t,n){for(var i,r,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}i||(i=a)}o=o||i}return o?(o!==l[0]&&l.unshift(o),n[o]):void 0}function Z(e,t,n,i){var r,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(r in u)if(s=r.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[r]:u[r]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}function ee(e){return e.style&&e.style.display||me.css(e,"display")}function te(e){if(!me.contains(e.ownerDocument||se,e))return!0;for(;e&&1===e.nodeType;){if("none"===ee(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}function ne(e,t,n,i){var r;if(me.isArray(t))me.each(t,function(t,r){n||ln.test(e)?i(e,r):ne(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==me.type(t))i(e,t);else for(r in t)ne(e+"["+r+"]",t[r],n,i)}function ie(){try{return new n.XMLHttpRequest}catch(e){}}function re(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function oe(e){return me.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var ae=[],se=n.document,le=ae.slice,ue=ae.concat,ce=ae.push,de=ae.indexOf,fe={},he=fe.toString,pe=fe.hasOwnProperty,ge={},ve="1.12.4",me=function(e,t){return new me.fn.init(e,t)},ye=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,be=/^-ms-/,xe=/-([\da-z])/gi,we=function(e,t){return t.toUpperCase()};me.fn=me.prototype={jquery:ve,constructor:me,selector:"",length:0,toArray:function(){return le.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:le.call(this)},pushStack:function(e){var t=me.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return me.each(this,e)},map:function(e){return this.pushStack(me.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ce,sort:ae.sort,splice:ae.splice},me.extend=me.fn.extend=function(){var e,t,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||me.isFunction(a)||(a={}),s===l&&(a=this,s--);l>s;s++)if(null!=(r=arguments[s]))for(i in r)e=a[i],n=r[i],a!==n&&(u&&n&&(me.isPlainObject(n)||(t=me.isArray(n)))?(t?(t=!1,o=e&&me.isArray(e)?e:[]):o=e&&me.isPlainObject(e)?e:{},a[i]=me.extend(u,o,n)):void 0!==n&&(a[i]=n));return a},me.extend({expando:"jQuery"+(ve+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===me.type(e)},isArray:Array.isArray||function(e){return"array"===me.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!me.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==me.type(e)||e.nodeType||me.isWindow(e))return!1;try{if(e.constructor&&!pe.call(e,"constructor")&&!pe.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(!ge.ownFirst)for(t in e)return pe.call(e,t);for(t in e);return void 0===t||pe.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?fe[he.call(e)]||"object":typeof e},globalEval:function(e){e&&me.trim(e)&&(n.execScript||function(e){n.eval.call(n,e)})(e)},camelCase:function(e){return e.replace(be,"ms-").replace(xe,we)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,i=0;if(a(e))for(n=e.length;n>i&&t.call(e[i],i,e[i])!==!1;i++);else for(i in e)if(t.call(e[i],i,e[i])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(ye,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(a(Object(e))?me.merge(n,"string"==typeof e?[e]:e):ce.call(n,e)),n},inArray:function(e,t,n){var i;if(t){if(de)return de.call(t,e,n);for(i=t.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;n>i;)e[r++]=t[i++];if(n!==n)for(;void 0!==t[i];)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){for(var i,r=[],o=0,a=e.length,s=!n;a>o;o++)i=!t(e[o],o),i!==s&&r.push(e[o]);return r},map:function(e,t,n){var i,r,o=0,s=[];if(a(e))for(i=e.length;i>o;o++)r=t(e[o],o,n),null!=r&&s.push(r);else for(o in e)r=t(e[o],o,n),null!=r&&s.push(r);return ue.apply([],s)},guid:1,proxy:function(e,t){var n,i,r;return"string"==typeof t&&(r=e[t],t=e,e=r),me.isFunction(e)?(n=le.call(arguments,2),i=function(){return e.apply(t||this,n.concat(le.call(arguments)))},i.guid=e.guid=e.guid||me.guid++,i):void 0},now:function(){return+new Date},support:ge}),"function"==typeof Symbol&&(me.fn[Symbol.iterator]=ae[Symbol.iterator]),me.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){fe["[object "+t+"]"]=t.toLowerCase()});var Te=/*!
* Sizzle CSS Selector Engine v2.2.1
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2015-10-17
*/
function(e){function t(e,t,n,i){var r,o,a,s,l,u,d,h,p=t&&t.ownerDocument,g=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==g&&9!==g&&11!==g)return n;if(!i&&((t?t.ownerDocument||t:I)!==j&&L(t),t=t||j,F)){if(11!==g&&(u=me.exec(e)))if(r=u[1]){if(9===g){if(!(a=t.getElementById(r)))return n;if(a.id===r)return n.push(a),n}else if(p&&(a=p.getElementById(r))&&P(t,a)&&a.id===r)return n.push(a),n}else{if(u[2])return K.apply(n,t.getElementsByTagName(e)),n;if((r=u[3])&&w.getElementsByClassName&&t.getElementsByClassName)return K.apply(n,t.getElementsByClassName(r)),n}if(w.qsa&&!$[e+" "]&&(!q||!q.test(e))){if(1!==g)p=t,h=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(be,"\\$&"):t.setAttribute("id",s=R),d=E(e),o=d.length,l=fe.test(s)?"#"+s:"[id='"+s+"']";o--;)d[o]=l+" "+f(d[o]);h=d.join(","),p=ye.test(e)&&c(t.parentNode)||t}if(h)try{return K.apply(n,p.querySelectorAll(h)),n}catch(v){}finally{s===R&&t.removeAttribute("id")}}}return S(e.replace(se,"$1"),t,n,i)}function n(){function e(n,i){return t.push(n+" ")>T.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function i(e){return e[R]=!0,e}function r(e){var t=j.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),i=n.length;i--;)T.attrHandle[n[i]]=t}function a(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Y)-(~e.sourceIndex||Y);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return i(function(t){return t=+t,i(function(n,i){for(var r,o=e([],n.length,t),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function f(e){for(var t=0,n=e.length,i="";n>t;t++)i+=e[t].value;return i}function h(e,t,n){var i=t.dir,r=n&&"parentNode"===i,o=B++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,o)}:function(t,n,a){var s,l,u,c=[z,o];if(a){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,a))return!0}else for(;t=t[i];)if(1===t.nodeType||r){if(u=t[R]||(t[R]={}),l=u[t.uniqueID]||(u[t.uniqueID]={}),(s=l[i])&&s[0]===z&&s[1]===o)return c[2]=s[2];if(l[i]=c,c[2]=e(t,n,a))return!0}}}function p(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function g(e,n,i){for(var r=0,o=n.length;o>r;r++)t(e,n[r],i);return i}function v(e,t,n,i,r){for(var o,a=[],s=0,l=e.length,u=null!=t;l>s;s++)(o=e[s])&&(n&&!n(o,i,r)||(a.push(o),u&&t.push(s)));return a}function m(e,t,n,r,o,a){return r&&!r[R]&&(r=m(r)),o&&!o[R]&&(o=m(o,a)),i(function(i,a,s,l){var u,c,d,f=[],h=[],p=a.length,m=i||g(t||"*",s.nodeType?[s]:s,[]),y=!e||!i&&t?m:v(m,f,e,s,l),b=n?o||(i?e:p||r)?[]:a:y;if(n&&n(y,b,s,l),r)for(u=v(b,h),r(u,[],s,l),c=u.length;c--;)(d=u[c])&&(b[h[c]]=!(y[h[c]]=d));if(i){if(o||e){if(o){for(u=[],c=b.length;c--;)(d=b[c])&&u.push(y[c]=d);o(null,b=[],u,l)}for(c=b.length;c--;)(d=b[c])&&(u=o?ee(i,d):f[c])>-1&&(i[u]=!(a[u]=d))}}else b=v(b===a?b.splice(p,b.length):b),o?o(null,a,b,l):K.apply(a,b)})}function y(e){for(var t,n,i,r=e.length,o=T.relative[e[0].type],a=o||T.relative[" "],s=o?1:0,l=h(function(e){return e===t},a,!0),u=h(function(e){return ee(t,e)>-1},a,!0),c=[function(e,n,i){var r=!o&&(i||n!==N)||((t=n).nodeType?l(e,n,i):u(e,n,i));return t=null,r}];r>s;s++)if(n=T.relative[e[s].type])c=[h(p(c),n)];else{if(n=T.filter[e[s].type].apply(null,e[s].matches),n[R]){for(i=++s;r>i&&!T.relative[e[i].type];i++);return m(s>1&&p(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,i>s&&y(e.slice(s,i)),r>i&&y(e=e.slice(i)),r>i&&f(e))}c.push(n)}return p(c)}function b(e,n){var r=n.length>0,o=e.length>0,a=function(i,a,s,l,u){var c,d,f,h=0,p="0",g=i&&[],m=[],y=N,b=i||o&&T.find.TAG("*",u),x=z+=null==y?1:Math.random()||.1,w=b.length;for(u&&(N=a===j||a||u);p!==w&&null!=(c=b[p]);p++){if(o&&c){for(d=0,a||c.ownerDocument===j||(L(c),s=!F);f=e[d++];)if(f(c,a||j,s)){l.push(c);break}u&&(z=x)}r&&((c=!f&&c)&&h--,i&&g.push(c))}if(h+=p,r&&p!==h){for(d=0;f=n[d++];)f(g,m,a,s);if(i){if(h>0)for(;p--;)g[p]||m[p]||(m[p]=Q.call(l));m=v(m)}K.apply(l,m),u&&!i&&m.length>0&&h+n.length>1&&t.uniqueSort(l)}return u&&(z=x,N=y),g};return r?i(a):a}var x,w,T,C,A,E,k,S,N,D,_,L,j,H,F,q,O,M,P,R="sizzle"+1*new Date,I=e.document,z=0,B=0,W=n(),X=n(),$=n(),U=function(e,t){return e===t&&(_=!0),0},Y=1<<31,V={}.hasOwnProperty,G=[],Q=G.pop,J=G.push,K=G.push,Z=G.slice,ee=function(e,t){for(var n=0,i=e.length;i>n;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",re="\\["+ne+"*("+ie+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+ne+"*\\]",oe=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+re+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),le=new RegExp("^"+ne+"*,"+ne+"*"),ue=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(oe),fe=new RegExp("^"+ie+"$"),he={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,me=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=/'|\\/g,xe=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var i="0x"+t-65536;return i!==i||n?t:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},Te=function(){L()};try{K.apply(G=Z.call(I.childNodes),I.childNodes),G[I.childNodes.length].nodeType}catch(Ce){K={apply:G.length?function(e,t){J.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}w=t.support={},A=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},L=t.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:I;return i!==j&&9===i.nodeType&&i.documentElement?(j=i,H=j.documentElement,F=!A(j),(n=j.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Te,!1):n.attachEvent&&n.attachEvent("onunload",Te)),w.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=r(function(e){return e.appendChild(j.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ve.test(j.getElementsByClassName),w.getById=r(function(e){return H.appendChild(e).id=R,!j.getElementsByName||!j.getElementsByName(R).length}),w.getById?(T.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&F){var n=t.getElementById(e);return n?[n]:[]}},T.filter.ID=function(e){var t=e.replace(xe,we);return function(e){return e.getAttribute("id")===t}}):(delete T.find.ID,T.filter.ID=function(e){var t=e.replace(xe,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),T.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},T.find.CLASS=w.getElementsByClassName&&function(e,t){return"undefined"!=typeof t.getElementsByClassName&&F?t.getElementsByClassName(e):void 0},O=[],q=[],(w.qsa=ve.test(j.querySelectorAll))&&(r(function(e){H.appendChild(e).innerHTML="<a id='"+R+"'></a><select id='"+R+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||q.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+R+"-]").length||q.push("~="),e.querySelectorAll(":checked").length||q.push(":checked"),e.querySelectorAll("a#"+R+"+*").length||q.push(".#.+[+~]")}),r(function(e){var t=j.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&q.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),q.push(",.*:")})),(w.matchesSelector=ve.test(M=H.matches||H.webkitMatchesSelector||H.mozMatchesSelector||H.oMatchesSelector||H.msMatchesSelector))&&r(function(e){w.disconnectedMatch=M.call(e,"div"),M.call(e,"[s!='']:x"),O.push("!=",oe)}),q=q.length&&new RegExp(q.join("|")),O=O.length&&new RegExp(O.join("|")),t=ve.test(H.compareDocumentPosition),P=t||ve.test(H.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=t?function(e,t){if(e===t)return _=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===j||e.ownerDocument===I&&P(I,e)?-1:t===j||t.ownerDocument===I&&P(I,t)?1:D?ee(D,e)-ee(D,t):0:4&n?-1:1)}:function(e,t){if(e===t)return _=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],l=[t];if(!r||!o)return e===j?-1:t===j?1:r?-1:o?1:D?ee(D,e)-ee(D,t):0;if(r===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[i]===l[i];)i++;return i?a(s[i],l[i]):s[i]===I?-1:l[i]===I?1:0},j):j},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==j&&L(e),n=n.replace(ce,"='$1']"),w.matchesSelector&&F&&!$[n+" "]&&(!O||!O.test(n))&&(!q||!q.test(n)))try{var i=M.call(e,n);if(i||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(r){}return t(n,j,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==j&&L(e),P(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==j&&L(e);var n=T.attrHandle[t.toLowerCase()],i=n&&V.call(T.attrHandle,t.toLowerCase())?n(e,t,!F):void 0;return void 0!==i?i:w.attributes||!F?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],i=0,r=0;if(_=!w.detectDuplicates,D=!w.sortStable&&e.slice(0),e.sort(U),_){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return D=null,e},C=t.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=C(t);return n},T=t.selectors={cacheLength:50,createPseudo:i,match:he,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xe,we),e[3]=(e[3]||e[4]||e[5]||"").replace(xe,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=E(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(r){var o=t.attr(r,e);return null==o?"!="===n:n?(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o.replace(ae," ")+" ").indexOf(i)>-1:"|="===n?o===i||o.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,f,h,p,g=o!==a?"nextSibling":"previousSibling",v=t.parentNode,m=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(v){if(o){for(;g;){for(f=t;f=f[g];)if(s?f.nodeName.toLowerCase()===m:1===f.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&y){for(f=v,d=f[R]||(f[R]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),u=c[e]||[],h=u[0]===z&&u[1],b=h&&u[2],f=h&&v.childNodes[h];f=++h&&f&&f[g]||(b=h=0)||p.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[z,h,b];break}}else if(y&&(f=t,d=f[R]||(f[R]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),u=c[e]||[],h=u[0]===z&&u[1],b=h),b===!1)for(;(f=++h&&f&&f[g]||(b=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==m:1!==f.nodeType)||!++b||(y&&(d=f[R]||(f[R]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),c[e]=[z,b]),f!==t)););return b-=r,b===i||b%i===0&&b/i>=0}}},PSEUDO:function(e,n){var r,o=T.pseudos[e]||T.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[R]?o(n):o.length>1?(r=[e,e,"",n],T.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var i,r=o(e,n),a=r.length;a--;)i=ee(e,r[a]),e[i]=!(t[i]=r[a])}):function(e){return o(e,0,r)}):o}},pseudos:{not:i(function(e){var t=[],n=[],r=k(e.replace(se,"$1"));return r[R]?i(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:i(function(e){return function(n){return t(e,n).length>0}}),contains:i(function(e){return e=e.replace(xe,we),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:i(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(xe,we).toLowerCase(),function(t){var n;do if(n=F?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===H},focus:function(e){return e===j.activeElement&&(!j.hasFocus||j.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!T.pseudos.empty(e)},header:function(e){return ge.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[0>n?n+t:n]}),even:u(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var i=0>n?n+t:n;--i>=0;)e.push(i);return e}),gt:u(function(e,t,n){for(var i=0>n?n+t:n;++i<t;)e.push(i);return e})}},T.pseudos.nth=T.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[x]=s(x);for(x in{submit:!0,reset:!0})T.pseudos[x]=l(x);return d.prototype=T.filters=T.pseudos,T.setFilters=new d,E=t.tokenize=function(e,n){var i,r,o,a,s,l,u,c=X[e+" "];if(c)return n?0:c.slice(0);for(s=e,l=[],u=T.preFilter;s;){i&&!(r=le.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),i=!1,(r=ue.exec(s))&&(i=r.shift(),o.push({value:i,type:r[0].replace(se," ")}),s=s.slice(i.length));for(a in T.filter)!(r=he[a].exec(s))||u[a]&&!(r=u[a](r))||(i=r.shift(),o.push({value:i,type:a,matches:r}),s=s.slice(i.length));if(!i)break}return n?s.length:s?t.error(e):X(e,l).slice(0)},k=t.compile=function(e,t){var n,i=[],r=[],o=$[e+" "];if(!o){for(t||(t=E(e)),n=t.length;n--;)o=y(t[n]),o[R]?i.push(o):r.push(o);o=$(e,b(r,i)),o.selector=e}return o},S=t.select=function(e,t,n,i){var r,o,a,s,l,u="function"==typeof e&&e,d=!i&&E(e=u.selector||e);if(n=n||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&w.getById&&9===t.nodeType&&F&&T.relative[o[1].type]){if(t=(T.find.ID(a.matches[0].replace(xe,we),t)||[])[0],!t)return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=he.needsContext.test(e)?0:o.length;r--&&(a=o[r],!T.relative[s=a.type]);)if((l=T.find[s])&&(i=l(a.matches[0].replace(xe,we),ye.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(r,1),e=i.length&&f(o),!e)return K.apply(n,i),n;break}}return(u||k(e,d))(i,t,!F,n,!t||ye.test(e)&&c(t.parentNode)||t),n},w.sortStable=R.split("").sort(U).join("")===R,w.detectDuplicates=!!_,L(),w.sortDetached=r(function(e){return 1&e.compareDocumentPosition(j.createElement("div"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||o(te,function(e,t,n){var i;return n?void 0:e[t]===!0?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),t}(n);me.find=Te,me.expr=Te.selectors,me.expr[":"]=me.expr.pseudos,me.uniqueSort=me.unique=Te.uniqueSort,me.text=Te.getText,me.isXMLDoc=Te.isXML,me.contains=Te.contains;var Ce=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&me(e).is(n))break;i.push(e)}return i},Ae=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Ee=me.expr.match.needsContext,ke=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Se=/^.[^:#\[\.,]*$/;me.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?me.find.matchesSelector(i,e)?[i]:[]:me.find.matches(e,me.grep(t,function(e){return 1===e.nodeType}))},me.fn.extend({find:function(e){var t,n=[],i=this,r=i.length;if("string"!=typeof e)return this.pushStack(me(e).filter(function(){for(t=0;r>t;t++)if(me.contains(i[t],this))return!0}));for(t=0;r>t;t++)me.find(e,i[t],n);return n=this.pushStack(r>1?me.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&Ee.test(e)?me(e):e||[],!1).length}});var Ne,De=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,_e=me.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||Ne,"string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:De.exec(e),!i||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof me?t[0]:t,me.merge(this,me.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:se,!0)),ke.test(i[1])&&me.isPlainObject(t))for(i in t)me.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}if(r=se.getElementById(i[2]),r&&r.parentNode){if(r.id!==i[2])return Ne.find(e);this.length=1,this[0]=r}return this.context=se,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):me.isFunction(e)?"undefined"!=typeof n.ready?n.ready(e):e(me):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),me.makeArray(e,this))};_e.prototype=me.fn,Ne=me(se);var Le=/^(?:parents|prev(?:Until|All))/,je={children:!0,contents:!0,next:!0,prev:!0};me.fn.extend({has:function(e){var t,n=me(e,this),i=n.length;return this.filter(function(){for(t=0;i>t;t++)if(me.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,i=0,r=this.length,o=[],a=Ee.test(e)||"string"!=typeof e?me(e,t||this.context):0;r>i;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&me.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?me.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?me.inArray(this[0],me(e)):me.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(me.uniqueSort(me.merge(this.get(),me(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),me.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ce(e,"parentNode")},parentsUntil:function(e,t,n){return Ce(e,"parentNode",n)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return Ce(e,"nextSibling")},prevAll:function(e){return Ce(e,"previousSibling")},nextUntil:function(e,t,n){return Ce(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ce(e,"previousSibling",n)},siblings:function(e){return Ae((e.parentNode||{}).firstChild,e)},children:function(e){return Ae(e.firstChild)},contents:function(e){return me.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:me.merge([],e.childNodes)}},function(e,t){me.fn[e]=function(n,i){var r=me.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=me.filter(i,r)),this.length>1&&(je[e]||(r=me.uniqueSort(r)),Le.test(e)&&(r=r.reverse())),this.pushStack(r)}});var He=/\S+/g;me.Callbacks=function(e){e="string"==typeof e?u(e):me.extend({},e);var t,n,i,r,o=[],a=[],s=-1,l=function(){for(r=e.once,i=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)o[s].apply(n[0],n[1])===!1&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function i(t){me.each(t,function(t,n){me.isFunction(n)?e.unique&&c.has(n)||o.push(n):n&&n.length&&"string"!==me.type(n)&&i(n)})}(arguments),n&&!t&&l()),this},remove:function(){return me.each(arguments,function(e,t){for(var n;(n=me.inArray(t,o,n))>-1;)o.splice(n,1),s>=n&&s--}),this},has:function(e){return e?me.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=!0,n||c.disable(),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},me.extend({Deferred:function(e){var t=[["resolve","done",me.Callbacks("once memory"),"resolved"],["reject","fail",me.Callbacks("once memory"),"rejected"],["notify","progress",me.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return me.Deferred(function(n){me.each(t,function(t,o){var a=me.isFunction(e[t])&&e[t];r[o[1]](function(){var e=a&&a.apply(this,arguments);e&&me.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===i?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?me.extend(e,i):i}},r={};return i.pipe=i.then,me.each(t,function(e,o){var a=o[2],s=o[3];i[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=a.fireWith}),i.promise(r),e&&e.call(r,r),r},when:function(e){var t,n,i,r=0,o=le.call(arguments),a=o.length,s=1!==a||e&&me.isFunction(e.promise)?a:0,l=1===s?e:me.Deferred(),u=function(e,n,i){return function(r){n[e]=this,i[e]=arguments.length>1?le.call(arguments):r,i===t?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(a>1)for(t=new Array(a),n=new Array(a),i=new Array(a);a>r;r++)o[r]&&me.isFunction(o[r].promise)?o[r].promise().progress(u(r,n,t)).done(u(r,i,o)).fail(l.reject):--s;return s||l.resolveWith(i,o),l.promise()}});var Fe;me.fn.ready=function(e){return me.ready.promise().done(e),this},me.extend({isReady:!1,readyWait:1,holdReady:function(e){e?me.readyWait++:me.ready(!0)},ready:function(e){(e===!0?--me.readyWait:me.isReady)||(me.isReady=!0,e!==!0&&--me.readyWait>0||(Fe.resolveWith(se,[me]),me.fn.triggerHandler&&(me(se).triggerHandler("ready"),me(se).off("ready"))))}}),me.ready.promise=function(e){if(!Fe)if(Fe=me.Deferred(),"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll)n.setTimeout(me.ready);else if(se.addEventListener)se.addEventListener("DOMContentLoaded",d),n.addEventListener("load",d);else{se.attachEvent("onreadystatechange",d),n.attachEvent("onload",d);var t=!1;try{t=null==n.frameElement&&se.documentElement}catch(i){}t&&t.doScroll&&!function r(){if(!me.isReady){try{t.doScroll("left")}catch(e){return n.setTimeout(r,50)}c(),me.ready()}}()}return Fe.promise(e)},me.ready.promise();var qe;for(qe in me(ge))break;ge.ownFirst="0"===qe,ge.inlineBlockNeedsLayout=!1,me(function(){var e,t,n,i;n=se.getElementsByTagName("body")[0],n&&n.style&&(t=se.createElement("div"),i=se.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",ge.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(i))}),function(){var e=se.createElement("div");ge.deleteExpando=!0;try{delete e.test}catch(t){ge.deleteExpando=!1}e=null}();var Oe=function(e){var t=me.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return 1!==n&&9!==n?!1:!t||t!==!0&&e.getAttribute("classid")===t},Me=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Pe=/([A-Z])/g;me.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?me.cache[e[me.expando]]:e[me.expando],!!e&&!h(e)},data:function(e,t,n){return p(e,t,n)},removeData:function(e,t){return g(e,t)},_data:function(e,t,n){return p(e,t,n,!0)},_removeData:function(e,t){return g(e,t,!0)}}),me.fn.extend({data:function(e,t){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(r=me.data(o),1===o.nodeType&&!me._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(i=a[n].name,0===i.indexOf("data-")&&(i=me.camelCase(i.slice(5)),f(o,i,r[i])));me._data(o,"parsedAttrs",!0)}return r}return"object"==typeof e?this.each(function(){me.data(this,e)}):arguments.length>1?this.each(function(){me.data(this,e,t)}):o?f(o,e,me.data(o,e)):void 0},removeData:function(e){return this.each(function(){me.removeData(this,e)})}}),me.extend({queue:function(e,t,n){var i;return e?(t=(t||"fx")+"queue",i=me._data(e,t),n&&(!i||me.isArray(n)?i=me._data(e,t,me.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=me.queue(e,t),i=n.length,r=n.shift(),o=me._queueHooks(e,t),a=function(){me.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return me._data(e,n)||me._data(e,n,{empty:me.Callbacks("once memory").add(function(){me._removeData(e,t+"queue"),me._removeData(e,n)})})}}),me.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?me.queue(this[0],e):void 0===t?this:this.each(function(){var n=me.queue(this,e,t);me._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&me.dequeue(this,e)})},dequeue:function(e){return this.each(function(){me.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=me.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=me._data(o[a],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(t)}}),function(){var e;ge.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,n,i;return n=se.getElementsByTagName("body")[0],n&&n.style?(t=se.createElement("div"),i=se.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.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",t.appendChild(se.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(i),e):void 0}}();var Re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ie=new RegExp("^(?:([+-])=|)("+Re+")([a-z%]*)$","i"),ze=["Top","Right","Bottom","Left"],Be=function(e,t){return e=t||e,"none"===me.css(e,"display")||!me.contains(e.ownerDocument,e)},We=function(e,t,n,i,r,o,a){var s=0,l=e.length,u=null==n;if("object"===me.type(n)){r=!0;for(s in n)We(e,t,s,n[s],!0,o,a)}else if(void 0!==i&&(r=!0,me.isFunction(i)||(a=!0),u&&(a?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(me(e),n)})),t))for(;l>s;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return r?e:u?t.call(e):l?t(e[0],n):o},Xe=/^(?:checkbox|radio)$/i,$e=/<([\w:-]+)/,Ue=/^$|\/(?:java|ecma)script/i,Ye=/^\s+/,Ve="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(){var e=se.createElement("div"),t=se.createDocumentFragment(),n=se.createElement("input");e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",ge.leadingWhitespace=3===e.firstChild.nodeType,ge.tbody=!e.getElementsByTagName("tbody").length,ge.htmlSerialize=!!e.getElementsByTagName("link").length,ge.html5Clone="<:nav></:nav>"!==se.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),ge.appendChecked=n.checked,e.innerHTML="<textarea>x</textarea>",ge.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),n=se.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),ge.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,ge.noCloneEvent=!!e.addEventListener,e[me.expando]=1,ge.attributes=!e.getAttribute(me.expando)}();var Ge={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:ge.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};Ge.optgroup=Ge.option,Ge.tbody=Ge.tfoot=Ge.colgroup=Ge.caption=Ge.thead,Ge.th=Ge.td;var Qe=/<|&#?\w+;/,Je=/<tbody/i;!function(){var e,t,i=se.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(ge[e]=t in n)||(i.setAttribute(t,"t"),ge[e]=i.attributes[t].expando===!1);i=null}();
var Ke=/^(?:input|select|textarea)$/i,Ze=/^key/,et=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,tt=/^(?:focusinfocus|focusoutblur)$/,nt=/^([^.]*)(?:\.(.+)|)/;me.event={global:{},add:function(e,t,n,i,r){var o,a,s,l,u,c,d,f,h,p,g,v=me._data(e);if(v){for(n.handler&&(l=n,n=l.handler,r=l.selector),n.guid||(n.guid=me.guid++),(a=v.events)||(a=v.events={}),(c=v.handle)||(c=v.handle=function(e){return"undefined"==typeof me||e&&me.event.triggered===e.type?void 0:me.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(He)||[""],s=t.length;s--;)o=nt.exec(t[s])||[],h=g=o[1],p=(o[2]||"").split(".").sort(),h&&(u=me.event.special[h]||{},h=(r?u.delegateType:u.bindType)||h,u=me.event.special[h]||{},d=me.extend({type:h,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&me.expr.match.needsContext.test(r),namespace:p.join(".")},l),(f=a[h])||(f=a[h]=[],f.delegateCount=0,u.setup&&u.setup.call(e,i,p,c)!==!1||(e.addEventListener?e.addEventListener(h,c,!1):e.attachEvent&&e.attachEvent("on"+h,c))),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,d):f.push(d),me.event.global[h]=!0);e=null}},remove:function(e,t,n,i,r){var o,a,s,l,u,c,d,f,h,p,g,v=me.hasData(e)&&me._data(e);if(v&&(c=v.events)){for(t=(t||"").match(He)||[""],u=t.length;u--;)if(s=nt.exec(t[u])||[],h=g=s[1],p=(s[2]||"").split(".").sort(),h){for(d=me.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,f=c[h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;o--;)a=f[o],!r&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||i&&i!==a.selector&&("**"!==i||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,d.remove&&d.remove.call(e,a));l&&!f.length&&(d.teardown&&d.teardown.call(e,p,v.handle)!==!1||me.removeEvent(e,h,v.handle),delete c[h])}else for(h in c)me.event.remove(e,h+t[u],n,i,!0);me.isEmptyObject(c)&&(delete v.handle,me._removeData(e,"events"))}},trigger:function(e,t,i,r){var o,a,s,l,u,c,d,f=[i||se],h=pe.call(e,"type")?e.type:e,p=pe.call(e,"namespace")?e.namespace.split("."):[];if(s=c=i=i||se,3!==i.nodeType&&8!==i.nodeType&&!tt.test(h+me.event.triggered)&&(h.indexOf(".")>-1&&(p=h.split("."),h=p.shift(),p.sort()),a=h.indexOf(":")<0&&"on"+h,e=e[me.expando]?e:new me.Event(h,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:me.makeArray(t,[e]),u=me.event.special[h]||{},r||!u.trigger||u.trigger.apply(i,t)!==!1)){if(!r&&!u.noBubble&&!me.isWindow(i)){for(l=u.delegateType||h,tt.test(l+h)||(s=s.parentNode);s;s=s.parentNode)f.push(s),c=s;c===(i.ownerDocument||se)&&f.push(c.defaultView||c.parentWindow||n)}for(d=0;(s=f[d++])&&!e.isPropagationStopped();)e.type=d>1?l:u.bindType||h,o=(me._data(s,"events")||{})[e.type]&&me._data(s,"handle"),o&&o.apply(s,t),o=a&&s[a],o&&o.apply&&Oe(s)&&(e.result=o.apply(s,t),e.result===!1&&e.preventDefault());if(e.type=h,!r&&!e.isDefaultPrevented()&&(!u._default||u._default.apply(f.pop(),t)===!1)&&Oe(i)&&a&&i[h]&&!me.isWindow(i)){c=i[a],c&&(i[a]=null),me.event.triggered=h;try{i[h]()}catch(g){}me.event.triggered=void 0,c&&(i[a]=c)}return e.result}},dispatch:function(e){e=me.event.fix(e);var t,n,i,r,o,a=[],s=le.call(arguments),l=(me._data(this,"events")||{})[e.type]||[],u=me.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,e)!==!1){for(a=me.event.handlers.call(this,e,l),t=0;(r=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,i=((me.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s),void 0!==i&&(e.result=i)===!1&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,r,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==e.type)){for(i=[],n=0;s>n;n++)o=t[n],r=o.selector+" ",void 0===i[r]&&(i[r]=o.needsContext?me(r,this).index(l)>-1:me.find(r,this,null,[l]).length),i[r]&&i.push(o);i.length&&a.push({elem:l,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[me.expando])return e;var t,n,i,r=e.type,o=e,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=et.test(r)?this.mouseHooks:Ze.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,e=new me.Event(o),t=i.length;t--;)n=i[t],e[n]=o[n];return e.target||(e.target=o.srcElement||se),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},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(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,r,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=e.target.ownerDocument||se,r=i.documentElement,n=i.body,e.pageX=t.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==A()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===A()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return me.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(e){return me.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var i=me.extend(new me.Event,n,{type:e,isSimulated:!0});me.event.trigger(i,null,t),i.isDefaultPrevented()&&n.preventDefault()}},me.removeEvent=se.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var i="on"+t;e.detachEvent&&("undefined"==typeof e[i]&&(e[i]=null),e.detachEvent(i,n))},me.Event=function(e,t){return this instanceof me.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?T:C):this.type=e,t&&me.extend(this,t),this.timeStamp=e&&e.timeStamp||me.now(),void(this[me.expando]=!0)):new me.Event(e,t)},me.Event.prototype={constructor:me.Event,isDefaultPrevented:C,isPropagationStopped:C,isImmediatePropagationStopped:C,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=T,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=T,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=T,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},me.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){me.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===i||me.contains(i,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),ge.submit||(me.event.special.submit={setup:function(){return me.nodeName(this,"form")?!1:void me.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=me.nodeName(t,"input")||me.nodeName(t,"button")?me.prop(t,"form"):void 0;n&&!me._data(n,"submit")&&(me.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),me._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&me.event.simulate("submit",this.parentNode,e))},teardown:function(){return me.nodeName(this,"form")?!1:void me.event.remove(this,"._submit")}}),ge.change||(me.event.special.change={setup:function(){return Ke.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(me.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),me.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),me.event.simulate("change",this,e)})),!1):void me.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ke.test(t.nodeName)&&!me._data(t,"change")&&(me.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||me.event.simulate("change",this.parentNode,e)}),me._data(t,"change",!0))})},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return me.event.remove(this,"._change"),!Ke.test(this.nodeName)}}),ge.focusin||me.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){me.event.simulate(t,e.target,me.event.fix(e))};me.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=me._data(i,t);r||i.addEventListener(e,n,!0),me._data(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=me._data(i,t)-1;r?me._data(i,t,r):(i.removeEventListener(e,n,!0),me._removeData(i,t))}}}),me.fn.extend({on:function(e,t,n,i){return E(this,e,t,n,i)},one:function(e,t,n,i){return E(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,me(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=C),this.each(function(){me.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){me.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?me.event.trigger(e,t,n,!0):void 0}});var it=/ jQuery\d+="(?:null|\d+)"/g,rt=new RegExp("<(?:"+Ve+")[\\s/>]","i"),ot=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,at=/<script|<style|<link/i,st=/checked\s*(?:[^=]|=\s*.checked.)/i,lt=/^true\/(.*)/,ut=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ct=m(se),dt=ct.appendChild(se.createElement("div"));me.extend({htmlPrefilter:function(e){return e.replace(ot,"<$1></$2>")},clone:function(e,t,n){var i,r,o,a,s,l=me.contains(e.ownerDocument,e);if(ge.html5Clone||me.isXMLDoc(e)||!rt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(dt.innerHTML=e.outerHTML,dt.removeChild(o=dt.firstChild)),!(ge.noCloneEvent&&ge.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||me.isXMLDoc(e)))for(i=y(o),s=y(e),a=0;null!=(r=s[a]);++a)i[a]&&_(r,i[a]);if(t)if(n)for(s=s||y(e),i=i||y(o),a=0;null!=(r=s[a]);a++)D(r,i[a]);else D(e,o);return i=y(o,"script"),i.length>0&&b(i,!l&&y(e,"script")),i=s=r=null,o},cleanData:function(e,t){for(var n,i,r,o,a=0,s=me.expando,l=me.cache,u=ge.attributes,c=me.event.special;null!=(n=e[a]);a++)if((t||Oe(n))&&(r=n[s],o=r&&l[r])){if(o.events)for(i in o.events)c[i]?me.event.remove(n,i):me.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u||"undefined"==typeof n.removeAttribute?n[s]=void 0:n.removeAttribute(s),ae.push(r))}}}),me.fn.extend({domManip:L,detach:function(e){return j(this,e,!0)},remove:function(e){return j(this,e)},text:function(e){return We(this,function(e){return void 0===e?me.text(this):this.empty().append((this[0]&&this[0].ownerDocument||se).createTextNode(e))},null,e,arguments.length)},append:function(){return L(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=k(this,e);t.appendChild(e)}})},prepend:function(){return L(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=k(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return L(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return L(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&me.cleanData(y(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&me.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return me.clone(this,e,t)})},html:function(e){return We(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(it,""):void 0;if("string"==typeof e&&!at.test(e)&&(ge.htmlSerialize||!rt.test(e))&&(ge.leadingWhitespace||!Ye.test(e))&&!Ge[($e.exec(e)||["",""])[1].toLowerCase()]){e=me.htmlPrefilter(e);try{for(;i>n;n++)t=this[n]||{},1===t.nodeType&&(me.cleanData(y(t,!1)),t.innerHTML=e);t=0}catch(r){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return L(this,arguments,function(t){var n=this.parentNode;me.inArray(this,e)<0&&(me.cleanData(y(this)),n&&n.replaceChild(t,this))},e)}}),me.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){me.fn[e]=function(e){for(var n,i=0,r=[],o=me(e),a=o.length-1;a>=i;i++)n=i===a?this:this.clone(!0),me(o[i])[t](n),ce.apply(r,n.get());return this.pushStack(r)}});var ft,ht={HTML:"block",BODY:"block"},pt=/^margin/,gt=new RegExp("^("+Re+")(?!px)[a-z%]+$","i"),vt=function(e,t,n,i){var r,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];r=n.apply(e,i||[]);for(o in t)e.style[o]=a[o];return r},mt=se.documentElement;!function(){function e(){var e,c,d=se.documentElement;d.appendChild(l),u.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",t=r=s=!1,i=a=!0,n.getComputedStyle&&(c=n.getComputedStyle(u),t="1%"!==(c||{}).top,s="2px"===(c||{}).marginLeft,r="4px"===(c||{width:"4px"}).width,u.style.marginRight="50%",i="4px"===(c||{marginRight:"4px"}).marginRight,e=u.appendChild(se.createElement("div")),e.style.cssText=u.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",u.style.width="1px",a=!parseFloat((n.getComputedStyle(e)||{}).marginRight),u.removeChild(e)),u.style.display="none",o=0===u.getClientRects().length,o&&(u.style.display="",u.innerHTML="<table><tr><td></td><td>t</td></tr></table>",u.childNodes[0].style.borderCollapse="separate",e=u.getElementsByTagName("td"),e[0].style.cssText="margin:0;border:0;padding:0;display:none",o=0===e[0].offsetHeight,o&&(e[0].style.display="",e[1].style.display="none",o=0===e[0].offsetHeight)),d.removeChild(l)}var t,i,r,o,a,s,l=se.createElement("div"),u=se.createElement("div");u.style&&(u.style.cssText="float:left;opacity:.5",ge.opacity="0.5"===u.style.opacity,ge.cssFloat=!!u.style.cssFloat,u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",ge.clearCloneStyle="content-box"===u.style.backgroundClip,l=se.createElement("div"),l.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",u.innerHTML="",l.appendChild(u),ge.boxSizing=""===u.style.boxSizing||""===u.style.MozBoxSizing||""===u.style.WebkitBoxSizing,me.extend(ge,{reliableHiddenOffsets:function(){return null==t&&e(),o},boxSizingReliable:function(){return null==t&&e(),r},pixelMarginRight:function(){return null==t&&e(),i},pixelPosition:function(){return null==t&&e(),t},reliableMarginRight:function(){return null==t&&e(),a},reliableMarginLeft:function(){return null==t&&e(),s}}))}();var yt,bt,xt=/^(top|right|bottom|left)$/;n.getComputedStyle?(yt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},bt=function(e,t,n){var i,r,o,a,s=e.style;return n=n||yt(e),a=n?n.getPropertyValue(t)||n[t]:void 0,""!==a&&void 0!==a||me.contains(e.ownerDocument,e)||(a=me.style(e,t)),n&&!ge.pixelMarginRight()&>.test(a)&&pt.test(t)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o),void 0===a?a:a+""}):mt.currentStyle&&(yt=function(e){return e.currentStyle},bt=function(e,t,n){var i,r,o,a,s=e.style;return n=n||yt(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),gt.test(a)&&!xt.test(t)&&(i=s.left,r=e.runtimeStyle,o=r&&r.left,o&&(r.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=i,o&&(r.left=o)),void 0===a?a:a+""||"auto"});var wt=/alpha\([^)]*\)/i,Tt=/opacity\s*=\s*([^)]*)/i,Ct=/^(none|table(?!-c[ea]).+)/,At=new RegExp("^("+Re+")(.*)$","i"),Et={position:"absolute",visibility:"hidden",display:"block"},kt={letterSpacing:"0",fontWeight:"400"},St=["Webkit","O","Moz","ms"],Nt=se.createElement("div").style;me.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=bt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":ge.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,a,s=me.camelCase(t),l=e.style;if(t=me.cssProps[s]||(me.cssProps[s]=O(s)||s),a=me.cssHooks[t]||me.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(e,!1,i))?r:l[t];if(o=typeof n,"string"===o&&(r=Ie.exec(n))&&r[1]&&(n=v(e,t,r),o="number"),null!=n&&n===n&&("number"===o&&(n+=r&&r[3]||(me.cssNumber[s]?"":"px")),ge.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,i)))))try{l[t]=n}catch(u){}}},css:function(e,t,n,i){var r,o,a,s=me.camelCase(t);return t=me.cssProps[s]||(me.cssProps[s]=O(s)||s),a=me.cssHooks[t]||me.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=bt(e,t,i)),"normal"===o&&t in kt&&(o=kt[t]),""===n||n?(r=parseFloat(o),n===!0||isFinite(r)?r||0:o):o}}),me.each(["height","width"],function(e,t){me.cssHooks[t]={get:function(e,n,i){return n?Ct.test(me.css(e,"display"))&&0===e.offsetWidth?vt(e,Et,function(){return I(e,t,i)}):I(e,t,i):void 0},set:function(e,n,i){var r=i&&yt(e);return P(e,n,i?R(e,t,i,ge.boxSizing&&"border-box"===me.css(e,"boxSizing",!1,r),r):0)}}}),ge.opacity||(me.cssHooks.opacity={get:function(e,t){return Tt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,r=me.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===me.trim(o.replace(wt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=wt.test(o)?o.replace(wt,r):o+" "+r)}}),me.cssHooks.marginRight=q(ge.reliableMarginRight,function(e,t){return t?vt(e,{display:"inline-block"},bt,[e,"marginRight"]):void 0}),me.cssHooks.marginLeft=q(ge.reliableMarginLeft,function(e,t){return t?(parseFloat(bt(e,"marginLeft"))||(me.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-vt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px":void 0}),me.each({margin:"",padding:"",border:"Width"},function(e,t){me.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];4>i;i++)r[e+ze[i]+t]=o[i]||o[i-2]||o[0];return r}},pt.test(e)||(me.cssHooks[e+t].set=P)}),me.fn.extend({css:function(e,t){return We(this,function(e,t,n){var i,r,o={},a=0;if(me.isArray(t)){for(i=yt(e),r=t.length;r>a;a++)o[t[a]]=me.css(e,t[a],!1,i);return o}return void 0!==n?me.style(e,t,n):me.css(e,t)},e,t,arguments.length>1)},show:function(){return M(this,!0)},hide:function(){return M(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Be(this)?me(this).show():me(this).hide()})}}),me.Tween=z,z.prototype={constructor:z,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||me.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(me.cssNumber[n]?"":"px")},cur:function(){var e=z.propHooks[this.prop];return e&&e.get?e.get(this):z.propHooks._default.get(this)},run:function(e){var t,n=z.propHooks[this.prop];return this.options.duration?this.pos=t=me.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):z.propHooks._default.set(this),this}},z.prototype.init.prototype=z.prototype,z.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=me.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){me.fx.step[e.prop]?me.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[me.cssProps[e.prop]]&&!me.cssHooks[e.prop]?e.elem[e.prop]=e.now:me.style(e.elem,e.prop,e.now+e.unit)}}},z.propHooks.scrollTop=z.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},me.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},me.fx=z.prototype.init,me.fx.step={};var Dt,_t,Lt=/^(?:toggle|show|hide)$/,jt=/queueHooks$/;me.Animation=me.extend(Y,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return v(n.elem,e,Ie.exec(t),n),n}]},tweener:function(e,t){me.isFunction(e)?(t=e,e=["*"]):e=e.match(He);for(var n,i=0,r=e.length;r>i;i++)n=e[i],Y.tweeners[n]=Y.tweeners[n]||[],Y.tweeners[n].unshift(t)},prefilters:[$],prefilter:function(e,t){t?Y.prefilters.unshift(e):Y.prefilters.push(e)}}),me.speed=function(e,t,n){var i=e&&"object"==typeof e?me.extend({},e):{complete:n||!n&&t||me.isFunction(e)&&e,duration:e,easing:n&&t||t&&!me.isFunction(t)&&t};return i.duration=me.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in me.fx.speeds?me.fx.speeds[i.duration]:me.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){me.isFunction(i.old)&&i.old.call(this),i.queue&&me.dequeue(this,i.queue)},i},me.fn.extend({fadeTo:function(e,t,n,i){return this.filter(Be).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=me.isEmptyObject(e),o=me.speed(t,n,i),a=function(){var t=Y(this,me.extend({},e),o);(r||me._data(this,"finish"))&&t.stop(!0)};return a.finish=a,r||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",o=me.timers,a=me._data(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&jt.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||me.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=me._data(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=me.timers,a=i?i.length:0;for(n.finish=!0,me.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),me.each(["toggle","show","hide"],function(e,t){var n=me.fn[t];me.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(W(t,!0),e,i,r)}}),me.each({slideDown:W("show"),slideUp:W("hide"),slideToggle:W("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){me.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),me.timers=[],me.fx.tick=function(){var e,t=me.timers,n=0;for(Dt=me.now();n<t.length;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||me.fx.stop(),Dt=void 0},me.fx.timer=function(e){me.timers.push(e),e()?me.fx.start():me.timers.pop()},me.fx.interval=13,me.fx.start=function(){_t||(_t=n.setInterval(me.fx.tick,me.fx.interval))},me.fx.stop=function(){n.clearInterval(_t),_t=null},me.fx.speeds={slow:600,fast:200,_default:400},me.fn.delay=function(e,t){return e=me.fx?me.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,i){var r=n.setTimeout(t,e);i.stop=function(){n.clearTimeout(r)}})},function(){var e,t=se.createElement("input"),n=se.createElement("div"),i=se.createElement("select"),r=i.appendChild(se.createElement("option"));n=se.createElement("div"),n.setAttribute("className","t"),n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),e=n.getElementsByTagName("a")[0],e.style.cssText="top:1px",ge.getSetAttribute="t"!==n.className,ge.style=/top/.test(e.getAttribute("style")),ge.hrefNormalized="/a"===e.getAttribute("href"),ge.checkOn=!!t.value,ge.optSelected=r.selected,ge.enctype=!!se.createElement("form").enctype,i.disabled=!0,ge.optDisabled=!r.disabled,t=se.createElement("input"),t.setAttribute("value",""),ge.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),ge.radioValue="t"===t.value}();var Ht=/\r/g,Ft=/[\x20\t\r\n\f]+/g;me.fn.extend({val:function(e){var t,n,i,r=this[0];{if(arguments.length)return i=me.isFunction(e),this.each(function(n){var r;1===this.nodeType&&(r=i?e.call(this,n,me(this).val()):e,null==r?r="":"number"==typeof r?r+="":me.isArray(r)&&(r=me.map(r,function(e){return null==e?"":e+""})),t=me.valHooks[this.type]||me.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))});if(r)return t=me.valHooks[r.type]||me.valHooks[r.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(Ht,""):null==n?"":n)}}}),me.extend({valHooks:{option:{get:function(e){var t=me.find.attr(e,"value");return null!=t?t:me.trim(me.text(e)).replace(Ft," ")}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,o="select-one"===e.type||0>r,a=o?null:[],s=o?r+1:i.length,l=0>r?s:o?r:0;s>l;l++)if(n=i[l],(n.selected||l===r)&&(ge.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!me.nodeName(n.parentNode,"optgroup"))){if(t=me(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=me.makeArray(t),a=r.length;a--;)if(i=r[a],me.inArray(me.valHooks.option.get(i),o)>-1)try{i.selected=n=!0}catch(s){i.scrollHeight}else i.selected=!1;return n||(e.selectedIndex=-1),r}}}}),me.each(["radio","checkbox"],function(){me.valHooks[this]={set:function(e,t){return me.isArray(t)?e.checked=me.inArray(me(e).val(),t)>-1:void 0}},ge.checkOn||(me.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var qt,Ot,Mt=me.expr.attrHandle,Pt=/^(?:checked|selected)$/i,Rt=ge.getSetAttribute,It=ge.input;me.fn.extend({attr:function(e,t){return We(this,me.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){me.removeAttr(this,e)})}}),me.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?me.prop(e,t,n):(1===o&&me.isXMLDoc(e)||(t=t.toLowerCase(),r=me.attrHooks[t]||(me.expr.match.bool.test(t)?Ot:qt)),void 0!==n?null===n?void me.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=me.find.attr(e,t),null==i?void 0:i))},attrHooks:{type:{set:function(e,t){if(!ge.radioValue&&"radio"===t&&me.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i,r=0,o=t&&t.match(He);if(o&&1===e.nodeType)for(;n=o[r++];)i=me.propFix[n]||n,me.expr.match.bool.test(n)?It&&Rt||!Pt.test(n)?e[i]=!1:e[me.camelCase("default-"+n)]=e[i]=!1:me.attr(e,n,""),e.removeAttribute(Rt?n:i)}}),Ot={set:function(e,t,n){return t===!1?me.removeAttr(e,n):It&&Rt||!Pt.test(n)?e.setAttribute(!Rt&&me.propFix[n]||n,n):e[me.camelCase("default-"+n)]=e[n]=!0,n}},me.each(me.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Mt[t]||me.find.attr;It&&Rt||!Pt.test(t)?Mt[t]=function(e,t,i){var r,o;return i||(o=Mt[t],Mt[t]=r,r=null!=n(e,t,i)?t.toLowerCase():null,Mt[t]=o),r}:Mt[t]=function(e,t,n){return n?void 0:e[me.camelCase("default-"+t)]?t.toLowerCase():null}}),It&&Rt||(me.attrHooks.value={set:function(e,t,n){return me.nodeName(e,"input")?void(e.defaultValue=t):qt&&qt.set(e,t,n)}}),Rt||(qt={set:function(e,t,n){var i=e.getAttributeNode(n);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(n)),i.value=t+="","value"===n||t===e.getAttribute(n)?t:void 0}},Mt.id=Mt.name=Mt.coords=function(e,t,n){var i;return n?void 0:(i=e.getAttributeNode(t))&&""!==i.value?i.value:null},me.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:void 0},set:qt.set},me.attrHooks.contenteditable={set:function(e,t,n){qt.set(e,""===t?!1:t,n)}},me.each(["width","height"],function(e,t){me.attrHooks[t]={set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}}})),ge.style||(me.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var zt=/^(?:input|select|textarea|button|object)$/i,Bt=/^(?:a|area)$/i;me.fn.extend({prop:function(e,t){return We(this,me.prop,e,t,arguments.length>1)},removeProp:function(e){return e=me.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(t){}})}}),me.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&me.isXMLDoc(e)||(t=me.propFix[t]||t,r=me.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=me.find.attr(e,"tabindex");return t?parseInt(t,10):zt.test(e.nodeName)||Bt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ge.hrefNormalized||me.each(["href","src"],function(e,t){me.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),ge.optSelected||(me.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),me.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){me.propFix[this.toLowerCase()]=this}),ge.enctype||(me.propFix.enctype="encoding");var Wt=/[\t\r\n\f]/g;me.fn.extend({addClass:function(e){var t,n,i,r,o,a,s,l=0;if(me.isFunction(e))return this.each(function(t){me(this).addClass(e.call(this,t,V(this)))});if("string"==typeof e&&e)for(t=e.match(He)||[];n=this[l++];)if(r=V(n),i=1===n.nodeType&&(" "+r+" ").replace(Wt," ")){for(a=0;o=t[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");s=me.trim(i),r!==s&&me.attr(n,"class",s)}return this},removeClass:function(e){var t,n,i,r,o,a,s,l=0;if(me.isFunction(e))return this.each(function(t){me(this).removeClass(e.call(this,t,V(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(He)||[];n=this[l++];)if(r=V(n),i=1===n.nodeType&&(" "+r+" ").replace(Wt," ")){for(a=0;o=t[a++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");s=me.trim(i),r!==s&&me.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):me.isFunction(e)?this.each(function(n){me(this).toggleClass(e.call(this,n,V(this),t),t)}):this.each(function(){
var t,i,r,o;if("string"===n)for(i=0,r=me(this),o=e.match(He)||[];t=o[i++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==e&&"boolean"!==n||(t=V(this),t&&me._data(this,"__className__",t),me.attr(this,"class",t||e===!1?"":me._data(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+V(n)+" ").replace(Wt," ").indexOf(t)>-1)return!0;return!1}}),me.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){me.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),me.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Xt=n.location,$t=me.now(),Ut=/\?/,Yt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;me.parseJSON=function(e){if(n.JSON&&n.JSON.parse)return n.JSON.parse(e+"");var t,i=null,r=me.trim(e+"");return r&&!me.trim(r.replace(Yt,function(e,n,r,o){return t&&n&&(i=0),0===i?e:(t=r||n,i+=!o-!r,"")}))?Function("return "+r)():me.error("Invalid JSON: "+e)},me.parseXML=function(e){var t,i;if(!e||"string"!=typeof e)return null;try{n.DOMParser?(i=new n.DOMParser,t=i.parseFromString(e,"text/xml")):(t=new n.ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e))}catch(r){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||me.error("Invalid XML: "+e),t};var Vt=/#.*$/,Gt=/([?&])_=[^&]*/,Qt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Jt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Kt=/^(?:GET|HEAD)$/,Zt=/^\/\//,en=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,tn={},nn={},rn="*/".concat("*"),on=Xt.href,an=en.exec(on.toLowerCase())||[];me.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:on,type:"GET",isLocal:Jt.test(an[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":rn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":me.parseJSON,"text xml":me.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?J(J(e,me.ajaxSettings),t):J(me.ajaxSettings,e)},ajaxPrefilter:G(tn),ajaxTransport:G(nn),ajax:function(e,t){function i(e,t,i,r){var o,d,y,b,w,C=t;2!==x&&(x=2,l&&n.clearTimeout(l),c=void 0,s=r||"",T.readyState=e>0?4:0,o=e>=200&&300>e||304===e,i&&(b=K(f,T,i)),b=Z(f,b,T,o),o?(f.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(me.lastModified[a]=w),w=T.getResponseHeader("etag"),w&&(me.etag[a]=w)),204===e||"HEAD"===f.type?C="nocontent":304===e?C="notmodified":(C=b.state,d=b.data,y=b.error,o=!y)):(y=C,!e&&C||(C="error",0>e&&(e=0))),T.status=e,T.statusText=(t||C)+"",o?g.resolveWith(h,[d,C,T]):g.rejectWith(h,[T,C,y]),T.statusCode(m),m=void 0,u&&p.trigger(o?"ajaxSuccess":"ajaxError",[T,f,o?d:y]),v.fireWith(h,[T,C]),u&&(p.trigger("ajaxComplete",[T,f]),--me.active||me.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,o,a,s,l,u,c,d,f=me.ajaxSetup({},t),h=f.context||f,p=f.context&&(h.nodeType||h.jquery)?me(h):me.event,g=me.Deferred(),v=me.Callbacks("once memory"),m=f.statusCode||{},y={},b={},x=0,w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!d)for(d={};t=Qt.exec(s);)d[t[1].toLowerCase()]=t[2];t=d[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=b[n]=b[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>x)for(t in e)m[t]=[m[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||w;return c&&c.abort(t),i(0,t),this}};if(g.promise(T).complete=v.add,T.success=T.done,T.error=T.fail,f.url=((e||f.url||on)+"").replace(Vt,"").replace(Zt,an[1]+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=me.trim(f.dataType||"*").toLowerCase().match(He)||[""],null==f.crossDomain&&(r=en.exec(f.url.toLowerCase()),f.crossDomain=!(!r||r[1]===an[1]&&r[2]===an[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(an[3]||("http:"===an[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=me.param(f.data,f.traditional)),Q(tn,f,t,T),2===x)return T;u=me.event&&f.global,u&&0===me.active++&&me.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Kt.test(f.type),a=f.url,f.hasContent||(f.data&&(a=f.url+=(Ut.test(a)?"&":"?")+f.data,delete f.data),f.cache===!1&&(f.url=Gt.test(a)?a.replace(Gt,"$1_="+$t++):a+(Ut.test(a)?"&":"?")+"_="+$t++)),f.ifModified&&(me.lastModified[a]&&T.setRequestHeader("If-Modified-Since",me.lastModified[a]),me.etag[a]&&T.setRequestHeader("If-None-Match",me.etag[a])),(f.data&&f.hasContent&&f.contentType!==!1||t.contentType)&&T.setRequestHeader("Content-Type",f.contentType),T.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+rn+"; q=0.01":""):f.accepts["*"]);for(o in f.headers)T.setRequestHeader(o,f.headers[o]);if(f.beforeSend&&(f.beforeSend.call(h,T,f)===!1||2===x))return T.abort();w="abort";for(o in{success:1,error:1,complete:1})T[o](f[o]);if(c=Q(nn,f,t,T)){if(T.readyState=1,u&&p.trigger("ajaxSend",[T,f]),2===x)return T;f.async&&f.timeout>0&&(l=n.setTimeout(function(){T.abort("timeout")},f.timeout));try{x=1,c.send(y,i)}catch(C){if(!(2>x))throw C;i(-1,C)}}else i(-1,"No Transport");return T},getJSON:function(e,t,n){return me.get(e,t,n,"json")},getScript:function(e,t){return me.get(e,void 0,t,"script")}}),me.each(["get","post"],function(e,t){me[t]=function(e,n,i,r){return me.isFunction(n)&&(r=r||i,i=n,n=void 0),me.ajax(me.extend({url:e,type:t,dataType:r,data:n,success:i},me.isPlainObject(e)&&e))}}),me._evalUrl=function(e){return me.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},me.fn.extend({wrapAll:function(e){if(me.isFunction(e))return this.each(function(t){me(this).wrapAll(e.call(this,t))});if(this[0]){var t=me(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return me.isFunction(e)?this.each(function(t){me(this).wrapInner(e.call(this,t))}):this.each(function(){var t=me(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=me.isFunction(e);return this.each(function(n){me(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){me.nodeName(this,"body")||me(this).replaceWith(this.childNodes)}).end()}}),me.expr.filters.hidden=function(e){return ge.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:te(e)},me.expr.filters.visible=function(e){return!me.expr.filters.hidden(e)};var sn=/%20/g,ln=/\[\]$/,un=/\r?\n/g,cn=/^(?:submit|button|image|reset|file)$/i,dn=/^(?:input|select|textarea|keygen)/i;me.param=function(e,t){var n,i=[],r=function(e,t){t=me.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=me.ajaxSettings&&me.ajaxSettings.traditional),me.isArray(e)||e.jquery&&!me.isPlainObject(e))me.each(e,function(){r(this.name,this.value)});else for(n in e)ne(n,e[n],t,r);return i.join("&").replace(sn,"+")},me.fn.extend({serialize:function(){return me.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=me.prop(this,"elements");return e?me.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!me(this).is(":disabled")&&dn.test(this.nodeName)&&!cn.test(e)&&(this.checked||!Xe.test(e))}).map(function(e,t){var n=me(this).val();return null==n?null:me.isArray(n)?me.map(n,function(e){return{name:t.name,value:e.replace(un,"\r\n")}}):{name:t.name,value:n.replace(un,"\r\n")}}).get()}}),me.ajaxSettings.xhr=void 0!==n.ActiveXObject?function(){return this.isLocal?re():se.documentMode>8?ie():/^(get|post|head|put|delete|options)$/i.test(this.type)&&ie()||re()}:ie;var fn=0,hn={},pn=me.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var e in hn)hn[e](void 0,!0)}),ge.cors=!!pn&&"withCredentials"in pn,pn=ge.ajax=!!pn,pn&&me.ajaxTransport(function(e){if(!e.crossDomain||ge.cors){var t;return{send:function(i,r){var o,a=e.xhr(),s=++fn;if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(o in i)void 0!==i[o]&&a.setRequestHeader(o,i[o]+"");a.send(e.hasContent&&e.data||null),t=function(n,i){var o,l,u;if(t&&(i||4===a.readyState))if(delete hn[s],t=void 0,a.onreadystatechange=me.noop,i)4!==a.readyState&&a.abort();else{u={},o=a.status,"string"==typeof a.responseText&&(u.text=a.responseText);try{l=a.statusText}catch(c){l=""}o||!e.isLocal||e.crossDomain?1223===o&&(o=204):o=u.text?200:404}u&&r(o,l,u,a.getAllResponseHeaders())},e.async?4===a.readyState?n.setTimeout(t):a.onreadystatechange=hn[s]=t:t()},abort:function(){t&&t(void 0,!0)}}}}),me.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return me.globalEval(e),e}}}),me.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),me.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=se.head||me("head")[0]||se.documentElement;return{send:function(i,r){t=se.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||r(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var gn=[],vn=/(=)\?(?=&|$)|\?\?/;me.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=gn.pop()||me.expando+"_"+$t++;return this[e]=!0,e}}),me.ajaxPrefilter("json jsonp",function(e,t,i){var r,o,a,s=e.jsonp!==!1&&(vn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&vn.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=me.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(vn,"$1"+r):e.jsonp!==!1&&(e.url+=(Ut.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||me.error(r+" was not called"),a[0]},e.dataTypes[0]="json",o=n[r],n[r]=function(){a=arguments},i.always(function(){void 0===o?me(n).removeProp(r):n[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,gn.push(r)),a&&me.isFunction(o)&&o(a[0]),a=o=void 0}),"script"):void 0}),me.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||se;var i=ke.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=w([e],t,r),r&&r.length&&me(r).remove(),me.merge([],i.childNodes))};var mn=me.fn.load;me.fn.load=function(e,t,n){if("string"!=typeof e&&mn)return mn.apply(this,arguments);var i,r,o,a=this,s=e.indexOf(" ");return s>-1&&(i=me.trim(e.slice(s,e.length)),e=e.slice(0,s)),me.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),a.length>0&&me.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(i?me("<div>").append(me.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},me.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){me.fn[t]=function(e){return this.on(t,e)}}),me.expr.filters.animated=function(e){return me.grep(me.timers,function(t){return e===t.elem}).length},me.offset={setOffset:function(e,t,n){var i,r,o,a,s,l,u,c=me.css(e,"position"),d=me(e),f={};"static"===c&&(e.style.position="relative"),s=d.offset(),o=me.css(e,"top"),l=me.css(e,"left"),u=("absolute"===c||"fixed"===c)&&me.inArray("auto",[o,l])>-1,u?(i=d.position(),a=i.top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),me.isFunction(t)&&(t=t.call(e,n,me.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+r),"using"in t?t.using.call(e,f):d.css(f)}},me.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){me.offset.setOffset(this,e,t)});var t,n,i={top:0,left:0},r=this[0],o=r&&r.ownerDocument;if(o)return t=o.documentElement,me.contains(t,r)?("undefined"!=typeof r.getBoundingClientRect&&(i=r.getBoundingClientRect()),n=oe(o),{top:i.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:i.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):i},position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===me.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),me.nodeName(e[0],"html")||(n=e.offset()),n.top+=me.css(e[0],"borderTopWidth",!0),n.left+=me.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-me.css(i,"marginTop",!0),left:t.left-n.left-me.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!me.nodeName(e,"html")&&"static"===me.css(e,"position");)e=e.offsetParent;return e||mt})}}),me.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);me.fn[e]=function(i){return We(this,function(e,i,r){var o=oe(e);return void 0===r?o?t in o?o[t]:o.document.documentElement[i]:e[i]:void(o?o.scrollTo(n?me(o).scrollLeft():r,n?r:me(o).scrollTop()):e[i]=r)},e,i,arguments.length,null)}}),me.each(["top","left"],function(e,t){me.cssHooks[t]=q(ge.pixelPosition,function(e,n){return n?(n=bt(e,t),gt.test(n)?me(e).position()[t]+"px":n):void 0})}),me.each({Height:"height",Width:"width"},function(e,t){me.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){me.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),a=n||(i===!0||r===!0?"margin":"border");return We(this,function(t,n,i){var r;return me.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===i?me.css(t,n,a):me.style(t,n,i,a)},t,o?i:void 0,o,null)}})}),me.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),me.fn.size=function(){return this.length},me.fn.andSelf=me.fn.addBack,i=[],r=function(){return me}.apply(t,i),!(void 0!==r&&(e.exports=r));var yn=n.jQuery,bn=n.$;return me.noConflict=function(e){return n.$===me&&(n.$=bn),e&&n.jQuery===me&&(n.jQuery=yn),me},o||(n.jQuery=n.$=me),me})},,function(e,t,n){var i=n(2);n(5),e.exports=function(e,t){var n,r={effect:"fadeIn",effect_speed:10,placeholder:"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==",skip_invisible:!1},o=arguments.length;!function(){switch(o){case 0:n=i("img.lazy");break;case 1:e instanceof i?n=e:(n=i("img.lazy"),i.extend(r,e));break;case 2:n=e,r=i.extend(r,t)}}(),n.lazyload(r)}},function(e,t,n){var i=n(2);!function(e,t,n,i){var r=e(t);e.fn.lazyload=function(o){function a(){var t=0;l.each(function(){var n=e(this);if(!u.skip_invisible||n.is(":visible"))if(e.abovethetop(this,u)||e.leftofbegin(this,u));else if(e.belowthefold(this,u)||e.rightoffold(this,u)){if(++t>u.failure_limit)return!1}else n.trigger("appear"),t=0})}var s,l=this,u={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!0,appear:null,load:null,yasPath:"/web/",yasImgDomain:"http://analytics.yhurl.com/yas.gif",placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC",try_again_css:null};return o&&(i!==o.failurelimit&&(o.failure_limit=o.failurelimit,delete o.failurelimit),i!==o.effectspeed&&(o.effect_speed=o.effectspeed,delete o.effectspeed),e.extend(u,o)),s=u.container===i||u.container===t?r:e(u.container),0===u.event.indexOf("scroll")&&s.bind(u.event,function(){return a()}),this.each(function(){var t=this,n=e(t);t.loaded=!1,n.attr("src")!==i&&n.attr("src")!==!1&&""!==n.attr("src")||n.is("img")&&n.attr("src",u.placeholder),n.one("appear",function(){if(n.timerid&&clearTimeout(n.timerid),!this.loaded){if(u.appear){var i=l.length;u.appear.call(t,i,u)}e("<img />").bind("error abort",function(){n.attr("src",u.placeholder),o({info:"error"})}).bind("load",function(){if(!n.loadtimeout){clearTimeout(n.timerid),n.attr("pfmrpt");var i=n.attr("data-"+u.data_attribute);n.hide(),n.is("img")?n.attr("src",i):n.css("background-image","url('"+i+"')"),n[u.effect](u.effect_speed),t.loaded=!0;var r=e.grep(l,function(e){return!e.loaded});if(l=e(r),u.load){var o=l.length;u.load.call(t,o,u)}}}).attr("src",n.attr("data-"+u.data_attribute)),n.src=n.attr("data-"+u.data_attribute),n.attr("pfmrpt")&&_yas&&_yas.add;var r=function(e){n.loadtimeout=!0,n.attr("pfmrpt")&&_yas&&_yas.add&&e.info,n.attr("src",""),setTimeout(function(){n.attr("src",n.src)},50)},o=function(t){n.loadtimeout=!0,n.attr("pfmrpt")&&_yas&&_yas.add&&t.info;var i=n.width(),o=n.height();if(u.try_again_css)var a=e("<div class="+u.try_again_css+" style='width:"+i+"px;height:"+o+"px;'></div>");else var a=e("<div style='background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC) ;text-align: center;position:relative;width:"+i+"px;height:"+o+"px;background-size:100%;'>加载失败</div>");a.addClass(n.attr("class")),n.replaceWith(a),n.timerid=setTimeout(r,5e3)}}}),0!==u.event.indexOf("scroll")&&n.bind(u.event,function(){t.loaded||n.trigger("appear")})}),r.bind("resize",function(){a()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&r.bind("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&l.each(function(){e(this).trigger("appear")})}),e(n).ready(function(){a()}),this},e.belowthefold=function(n,o){var a;return a=o.container===i||o.container===t?(t.innerHeight?t.innerHeight:r.height())+r.scrollTop():e(o.container).offset().top+e(o.container).height(),a<=e(n).offset().top-o.threshold},e.rightoffold=function(n,o){var a;return a=o.container===i||o.container===t?r.width()+r.scrollLeft():e(o.container).offset().left+e(o.container).width(),a<=e(n).offset().left-o.threshold},e.abovethetop=function(n,o){var a;return a=o.container===i||o.container===t?r.scrollTop():e(o.container).offset().top,a>=e(n).offset().top+o.threshold+e(n).height()},e.leftofbegin=function(n,o){var a;return a=o.container===i||o.container===t?r.scrollLeft():e(o.container).offset().left,a>=e(n).offset().left+o.threshold+e(n).width()},e.inviewport=function(t,n){return!(e.rightoffold(t,n)||e.leftofbegin(t,n)||e.belowthefold(t,n)||e.abovethetop(t,n))}}(i,window,document)},,,function(e,t,n){function i(e){var t,n,i=document.cookie;return document.cookie&&""!==document.cookie&&(n=i.indexOf(e+"="),n>-1&&(n+=e.length+1,t=decodeURIComponent(f.trim(i.substring(n,i.indexOf(";",n)))))),t}function r(e,t,n){var i,r,o,a,s="";"undefined"!=typeof t&&(n=n||{},null===t&&(t="",n.expires=-1),n.expires&&("number"==typeof n.expires||n.expires.toUTCString)&&("number"==typeof n.expires?(a=new Date,a.setTime(a.getTime()+24*n.expires*60*60*1e3)):a=n.expires,s="; expires="+a.toUTCString()),i=n.path?"; path="+n.path:"",r=n.domain?"; domain="+n.domain:"",o=n.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(t),s,i,r,o].join(""))}function o(){var e=!!navigator.cookieEnabled;return"undefined"!=typeof navigator.cookieEnabled||e||(document.cookie="testcookie",e=-1!==document.cookie.indexOf("testcookie")),e}function a(){var e,t=i("_UID");return"undefined"==typeof t?0:(e=t.split("::"),"undefined"==typeof e||e.length<4?0:e)}function s(){var e=a();return 0===e?0:e[1]}function l(){var e=i("_g");return"undefined"==typeof e?"":JSON.parse(e).k}function u(){var e;0!==p.length&&(e=Math.min(f(window).height(),window.screen.availHeight),f("body").height()<=e-parseInt(p.css("height"),0)?p.addClass("bottom"):p.removeClass("bottom"))}function c(e){var t=f(e).outerHeight();e&&p.css("margin-bottom",t+"px")}function d(e){return e.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")}var f=n(2),h=n(9),p=f("#yoho-footer"),g=f(".yoho-page"),v=f(".yoho-header");!function(){var e,t=p.children(".op-row"),n=f(".back-to-top"),i=a();u(),0===i?t.prepend('<a href="http://m.yohobuy.com/signin.html?refer='+location.href+'">登录</a><span class="sep-line">|</span><a href="http://m.yohobuy.com/reg.html">注册</a>'):t.prepend('<span>Hi,</span><a class="user-name" href="http://m.yohobuy.com/home?tmp='+Math.random()+'">'+i[0]+'</a><a href="http://m.yohobuy.com/passport/signout/index">退出</a>'),n.length>0&&(e=new h(n[0]),e.on("tap",function(e){return f(window).scrollTop(0),e.srcEvent.preventDefault(),!1})),p.removeClass("hide")}(),function(e,t,n,i,r){var o=t.createElement(n),a=t.getElementsByTagName(n)[0];e.YohoAcquisitionObject=r,e[r]=function(){e[r].p=arguments},o.async=1,o.src=i,a.parentNode.insertBefore(o,a)}(window,document,"script","http://cdn.yoho.cn/yas-jssdk/1.0.17/yas.js","_yas"),function(){var e=s();e=0===e?"":e,window._ozuid=e,window._yas&&window._yas(1*new Date,"1.0.17","yohobuy_m",e,"","")}(),v.on("touchstart","a",function(){v.find("a").removeClass("highlight"),f(this).addClass("highlight")}).on("touchend touchcancel","a",function(){f(this).removeClass("highlight")}),g.on("touchstart",".tap-hightlight",function(){f(this).siblings(".tap-hightlight").removeClass("highlight"),f(this).addClass("highlight")}).on("touchend touchcancel",".tap-hightlight",function(){f(this).removeClass("highlight")}),f(".nav-home").on("touchstart",function(){f(".homebuttom").toggleClass("hide")}),function(){var e,t,n=0,i="webkit moz ms o".split(" "),r=window.requestAnimationFrame,o=window.cancelAnimationFrame;for(t=0;t<i.length&&(!r||!o);t++)e=i[t],r=r||window[e+"RequestAnimationFrame"],o=o||window[e+"CancelAnimationFrame"]||window[e+"CancelRequestAnimationFrame"];r&&o||(r=function(e){var t=(new Date).getTime(),i=Math.max(0,16-(t-n)),r=window.setTimeout(function(){e(t+i)},i);return n=t+i,r},o=function(e){window.clearTimeout(e)}),window.requestAnimationFrame=r,window.cancelAnimationFrame=o}(),f.extend({queryString:function(){var e,t,n=[],i=window.location.href.slice(window.location.href.indexOf("?")+1).split("&");for(t=0;t<i.length;t++)e=i[t].split("="),n.push(e[0]),n[e[0]]=e[1];return n}}),11===p.find(".user-name").text().length&&p.find(".user-name").html(d(p.find(".user-name").text())),window.cookie=i,window.setCookie=r,window.isCookiesEnabled=o,window.getUser=a,window.getUid=s,window.getShoppingKey=l,window.rePosFooter=u,window.reMarginFooter=c},function(e,t,n){var i;/*! Hammer.JS - v2.0.7 - 2016-04-22
* http://hammerjs.github.io/
*
* Copyright (c) 2016 Jorik Tangelder;
* Licensed under the MIT license */
!function(r,o,a,s){"use strict";function l(e,t,n){return setTimeout(h(e,n),t)}function u(e,t,n){return Array.isArray(e)?(c(e,n[t],n),!0):!1}function c(e,t,n){var i;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==s)for(i=0;i<e.length;)t.call(n,e[i],i,e),i++;else for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function d(e,t,n){var i="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),e.apply(this,arguments)}}function f(e,t,n){var i,r=t.prototype;i=e.prototype=Object.create(r),i.constructor=e,i._super=r,n&&ge(i,n)}function h(e,t){return function(){return e.apply(t,arguments)}}function p(e,t){return typeof e==ye?e.apply(t?t[0]||s:s,t):e}function g(e,t){return e===s?t:e}function v(e,t,n){c(x(t),function(t){e.addEventListener(t,n,!1)})}function m(e,t,n){c(x(t),function(t){e.removeEventListener(t,n,!1)})}function y(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function b(e,t){return e.indexOf(t)>-1}function x(e){return e.trim().split(/\s+/g)}function w(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var i=0;i<e.length;){if(n&&e[i][n]==t||!n&&e[i]===t)return i;i++}return-1}function T(e){return Array.prototype.slice.call(e,0)}function C(e,t,n){for(var i=[],r=[],o=0;o<e.length;){var a=t?e[o][t]:e[o];w(r,a)<0&&i.push(e[o]),r[o]=a,o++}return n&&(i=t?i.sort(function(e,n){return e[t]>n[t]}):i.sort()),i}function A(e,t){for(var n,i,r=t[0].toUpperCase()+t.slice(1),o=0;o<ve.length;){if(n=ve[o],i=n?n+r:t,i in e)return i;o++}return s}function E(){return Ae++}function k(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||r}function S(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){p(e.options.enable,[e])&&n.handler(t)},this.init()}function N(e){var t,n=e.options.inputClass;return new(t=n?n:Se?B:Ne?$:ke?Y:z)(e,D)}function D(e,t,n){var i=n.pointers.length,r=n.changedPointers.length,o=t&Fe&&i-r===0,a=t&(Oe|Me)&&i-r===0;n.isFirst=!!o,n.isFinal=!!a,o&&(e.session={}),n.eventType=t,_(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function _(e,t){var n=e.session,i=t.pointers,r=i.length;n.firstInput||(n.firstInput=H(t)),r>1&&!n.firstMultiple?n.firstMultiple=H(t):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,l=t.center=F(i);t.timeStamp=we(),t.deltaTime=t.timeStamp-o.timeStamp,t.angle=P(s,l),t.distance=M(s,l),L(n,t),t.offsetDirection=O(t.deltaX,t.deltaY);var u=q(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=u.x,t.overallVelocityY=u.y,t.overallVelocity=xe(u.x)>xe(u.y)?u.x:u.y,t.scale=a?I(a.pointers,i):1,t.rotation=a?R(a.pointers,i):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,j(n,t);var c=e.element;y(t.srcEvent.target,c)&&(c=t.srcEvent.target),t.target=c}function L(e,t){var n=t.center,i=e.offsetDelta||{},r=e.prevDelta||{},o=e.prevInput||{};t.eventType!==Fe&&o.eventType!==Oe||(r=e.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=r.x+(n.x-i.x),t.deltaY=r.y+(n.y-i.y)}function j(e,t){var n,i,r,o,a=e.lastInterval||t,l=t.timeStamp-a.timeStamp;if(t.eventType!=Me&&(l>He||a.velocity===s)){var u=t.deltaX-a.deltaX,c=t.deltaY-a.deltaY,d=q(l,u,c);i=d.x,r=d.y,n=xe(d.x)>xe(d.y)?d.x:d.y,o=O(u,c),e.lastInterval=t}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;t.velocity=n,t.velocityX=i,t.velocityY=r,t.direction=o}function H(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:be(e.pointers[n].clientX),clientY:be(e.pointers[n].clientY)},n++;return{timeStamp:we(),pointers:t,center:F(t),deltaX:e.deltaX,deltaY:e.deltaY}}function F(e){var t=e.length;if(1===t)return{x:be(e[0].clientX),y:be(e[0].clientY)};for(var n=0,i=0,r=0;t>r;)n+=e[r].clientX,i+=e[r].clientY,r++;return{x:be(n/t),y:be(i/t)}}function q(e,t,n){return{x:t/e||0,y:n/e||0}}function O(e,t){return e===t?Pe:xe(e)>=xe(t)?0>e?Re:Ie:0>t?ze:Be}function M(e,t,n){n||(n=Ue);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return Math.sqrt(i*i+r*r)}function P(e,t,n){n||(n=Ue);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return 180*Math.atan2(r,i)/Math.PI}function R(e,t){return P(t[1],t[0],Ye)+P(e[1],e[0],Ye)}function I(e,t){return M(t[0],t[1],Ye)/M(e[0],e[1],Ye)}function z(){this.evEl=Ge,this.evWin=Qe,this.pressed=!1,S.apply(this,arguments)}function B(){this.evEl=Ze,this.evWin=et,S.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function W(){this.evTarget=nt,this.evWin=it,this.started=!1,S.apply(this,arguments)}function X(e,t){var n=T(e.touches),i=T(e.changedTouches);return t&(Oe|Me)&&(n=C(n.concat(i),"identifier",!0)),[n,i]}function $(){this.evTarget=ot,this.targetIds={},S.apply(this,arguments)}function U(e,t){var n=T(e.touches),i=this.targetIds;if(t&(Fe|qe)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=T(e.changedTouches),s=[],l=this.target;if(o=n.filter(function(e){return y(e.target,l)}),t===Fe)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<a.length;)i[a[r].identifier]&&s.push(a[r]),t&(Oe|Me)&&delete i[a[r].identifier],r++;return s.length?[C(o.concat(s),"identifier",!0),s]:void 0}function Y(){S.apply(this,arguments);var e=h(this.handler,this);this.touch=new $(this.manager,e),this.mouse=new z(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function V(e,t){e&Fe?(this.primaryTouch=t.changedPointers[0].identifier,G.call(this,t)):e&(Oe|Me)&&G.call(this,t)}function G(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var i=this.lastTouches,r=function(){var e=i.indexOf(n);e>-1&&i.splice(e,1)};setTimeout(r,at)}}function Q(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(t-r.x),a=Math.abs(n-r.y);if(st>=o&&st>=a)return!0}return!1}function J(e,t){this.manager=e,this.set(t)}function K(e){if(b(e,ht))return ht;var t=b(e,pt),n=b(e,gt);return t&&n?ht:t||n?t?pt:gt:b(e,ft)?ft:dt}function Z(){if(!ut)return!1;var e={},t=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){e[n]=t?r.CSS.supports("touch-action",n):!0}),e}function ee(e){this.options=ge({},this.defaults,e||{}),this.id=E(),this.manager=null,this.options.enable=g(this.options.enable,!0),this.state=mt,this.simultaneous={},this.requireFail=[]}function te(e){return e&Tt?"cancel":e&xt?"end":e&bt?"move":e&yt?"start":""}function ne(e){return e==Be?"down":e==ze?"up":e==Re?"left":e==Ie?"right":""}function ie(e,t){var n=t.manager;return n?n.get(e):e}function re(){ee.apply(this,arguments)}function oe(){re.apply(this,arguments),this.pX=null,this.pY=null}function ae(){re.apply(this,arguments)}function se(){ee.apply(this,arguments),this._timer=null,this._input=null}function le(){re.apply(this,arguments)}function ue(){re.apply(this,arguments)}function ce(){ee.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function de(e,t){return t=t||{},t.recognizers=g(t.recognizers,de.defaults.preset),new fe(e,t)}function fe(e,t){this.options=ge({},de.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=N(this),this.touchAction=new J(this,this.options.touchAction),he(this,!0),c(this.options.recognizers,function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])},this)}function he(e,t){var n=e.element;if(n.style){var i;c(e.options.cssProps,function(r,o){i=A(n.style,o),t?(e.oldCssProps[i]=n.style[i],n.style[i]=r):n.style[i]=e.oldCssProps[i]||""}),t||(e.oldCssProps={})}}function pe(e,t){var n=o.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}var ge,ve=["","webkit","Moz","MS","ms","o"],me=o.createElement("div"),ye="function",be=Math.round,xe=Math.abs,we=Date.now;ge="function"!=typeof Object.assign?function(e){if(e===s||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==s&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])}return t}:Object.assign;var Te=d(function(e,t,n){for(var i=Object.keys(t),r=0;r<i.length;)(!n||n&&e[i[r]]===s)&&(e[i[r]]=t[i[r]]),r++;return e},"extend","Use `assign`."),Ce=d(function(e,t){return Te(e,t,!0)},"merge","Use `assign`."),Ae=1,Ee=/mobile|tablet|ip(ad|hone|od)|android/i,ke="ontouchstart"in r,Se=A(r,"PointerEvent")!==s,Ne=ke&&Ee.test(navigator.userAgent),De="touch",_e="pen",Le="mouse",je="kinect",He=25,Fe=1,qe=2,Oe=4,Me=8,Pe=1,Re=2,Ie=4,ze=8,Be=16,We=Re|Ie,Xe=ze|Be,$e=We|Xe,Ue=["x","y"],Ye=["clientX","clientY"];S.prototype={handler:function(){},init:function(){this.evEl&&v(this.element,this.evEl,this.domHandler),this.evTarget&&v(this.target,this.evTarget,this.domHandler),this.evWin&&v(k(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&m(this.element,this.evEl,this.domHandler),this.evTarget&&m(this.target,this.evTarget,this.domHandler),this.evWin&&m(k(this.element),this.evWin,this.domHandler)}};var Ve={mousedown:Fe,mousemove:qe,mouseup:Oe},Ge="mousedown",Qe="mousemove mouseup";f(z,S,{handler:function(e){var t=Ve[e.type];t&Fe&&0===e.button&&(this.pressed=!0),t&qe&&1!==e.which&&(t=Oe),this.pressed&&(t&Oe&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:Le,srcEvent:e}))}});var Je={pointerdown:Fe,pointermove:qe,pointerup:Oe,pointercancel:Me,pointerout:Me},Ke={2:De,3:_e,4:Le,5:je},Ze="pointerdown",et="pointermove pointerup pointercancel";r.MSPointerEvent&&!r.PointerEvent&&(Ze="MSPointerDown",et="MSPointerMove MSPointerUp MSPointerCancel"),f(B,S,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),r=Je[i],o=Ke[e.pointerType]||e.pointerType,a=o==De,s=w(t,e.pointerId,"pointerId");r&Fe&&(0===e.button||a)?0>s&&(t.push(e),s=t.length-1):r&(Oe|Me)&&(n=!0),0>s||(t[s]=e,this.callback(this.manager,r,{pointers:t,changedPointers:[e],pointerType:o,srcEvent:e}),n&&t.splice(s,1))}});var tt={touchstart:Fe,touchmove:qe,touchend:Oe,touchcancel:Me},nt="touchstart",it="touchstart touchmove touchend touchcancel";f(W,S,{handler:function(e){var t=tt[e.type];if(t===Fe&&(this.started=!0),this.started){var n=X.call(this,e,t);t&(Oe|Me)&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:De,srcEvent:e})}}});var rt={touchstart:Fe,touchmove:qe,touchend:Oe,touchcancel:Me},ot="touchstart touchmove touchend touchcancel";f($,S,{handler:function(e){var t=rt[e.type],n=U.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:De,srcEvent:e})}});var at=2500,st=25;f(Y,S,{handler:function(e,t,n){var i=n.pointerType==De,r=n.pointerType==Le;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)V.call(this,t,n);else if(r&&Q.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var lt=A(me.style,"touchAction"),ut=lt!==s,ct="compute",dt="auto",ft="manipulation",ht="none",pt="pan-x",gt="pan-y",vt=Z();J.prototype={set:function(e){e==ct&&(e=this.compute()),ut&&this.manager.element.style&&vt[e]&&(this.manager.element.style[lt]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return c(this.manager.recognizers,function(t){p(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))}),K(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)return void t.preventDefault();var i=this.actions,r=b(i,ht)&&!vt[ht],o=b(i,gt)&&!vt[gt],a=b(i,pt)&&!vt[pt];if(r){var s=1===e.pointers.length,l=e.distance<2,u=e.deltaTime<250;if(s&&l&&u)return}return a&&o?void 0:r||o&&n&We||a&&n&Xe?this.preventSrc(t):void 0},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var mt=1,yt=2,bt=4,xt=8,wt=xt,Tt=16,Ct=32;ee.prototype={defaults:{},set:function(e){return ge(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(u(e,"recognizeWith",this))return this;var t=this.simultaneous;return e=ie(e,this),t[e.id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return u(e,"dropRecognizeWith",this)?this:(e=ie(e,this),delete this.simultaneous[e.id],this)},requireFailure:function(e){if(u(e,"requireFailure",this))return this;var t=this.requireFail;return e=ie(e,this),-1===w(t,e)&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(u(e,"dropRequireFailure",this))return this;e=ie(e,this);var t=w(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){function t(t){n.manager.emit(t,e)}var n=this,i=this.state;xt>i&&t(n.options.event+te(i)),t(n.options.event),e.additionalEvent&&t(e.additionalEvent),i>=xt&&t(n.options.event+te(i))},tryEmit:function(e){return this.canEmit()?this.emit(e):void(this.state=Ct)},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(this.requireFail[e].state&(Ct|mt)))return!1;e++}return!0},recognize:function(e){var t=ge({},e);return p(this.options.enable,[this,t])?(this.state&(wt|Tt|Ct)&&(this.state=mt),this.state=this.process(t),void(this.state&(yt|bt|xt|Tt)&&this.tryEmit(t))):(this.reset(),void(this.state=Ct))},process:function(e){},getTouchAction:function(){},reset:function(){}},f(re,ee,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,i=t&(yt|bt),r=this.attrTest(e);return i&&(n&Me||!r)?t|Tt:i||r?n&Oe?t|xt:t&yt?t|bt:yt:Ct}}),f(oe,re,{defaults:{event:"pan",threshold:10,pointers:1,direction:$e},getTouchAction:function(){var e=this.options.direction,t=[];return e&We&&t.push(gt),e&Xe&&t.push(pt),t},directionTest:function(e){var t=this.options,n=!0,i=e.distance,r=e.direction,o=e.deltaX,a=e.deltaY;return r&t.direction||(t.direction&We?(r=0===o?Pe:0>o?Re:Ie,n=o!=this.pX,i=Math.abs(e.deltaX)):(r=0===a?Pe:0>a?ze:Be,n=a!=this.pY,i=Math.abs(e.deltaY))),e.direction=r,n&&i>t.threshold&&r&t.direction},attrTest:function(e){return re.prototype.attrTest.call(this,e)&&(this.state&yt||!(this.state&yt)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ne(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),f(ae,re,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[ht]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&yt)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),f(se,ee,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[dt]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime>t.time;if(this._input=e,!i||!n||e.eventType&(Oe|Me)&&!r)this.reset();else if(e.eventType&Fe)this.reset(),this._timer=l(function(){this.state=wt,this.tryEmit()},t.time,this);else if(e.eventType&Oe)return wt;return Ct},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===wt&&(e&&e.eventType&Oe?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=we(),this.manager.emit(this.options.event,this._input)))}}),f(le,re,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[ht]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&yt)}}),f(ue,re,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:We|Xe,pointers:1},getTouchAction:function(){return oe.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(We|Xe)?t=e.overallVelocity:n&We?t=e.overallVelocityX:n&Xe&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&xe(t)>this.options.velocity&&e.eventType&Oe},emit:function(e){var t=ne(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),f(ce,ee,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[ft]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime<t.time;if(this.reset(),e.eventType&Fe&&0===this.count)return this.failTimeout();if(i&&r&&n){if(e.eventType!=Oe)return this.failTimeout();var o=this.pTime?e.timeStamp-this.pTime<t.interval:!0,a=!this.pCenter||M(this.pCenter,e.center)<t.posThreshold;this.pTime=e.timeStamp,this.pCenter=e.center,a&&o?this.count+=1:this.count=1,this._input=e;var s=this.count%t.taps;if(0===s)return this.hasRequireFailures()?(this._timer=l(function(){this.state=wt,this.tryEmit()},t.interval,this),yt):wt}return Ct},failTimeout:function(){return this._timer=l(function(){this.state=Ct},this.options.interval,this),Ct},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==wt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),de.VERSION="2.0.7",de.defaults={domEvents:!1,touchAction:ct,enable:!0,inputTarget:null,inputClass:null,preset:[[le,{enable:!1}],[ae,{enable:!1},["rotate"]],[ue,{direction:We}],[oe,{direction:We},["swipe"]],[ce],[ce,{event:"doubletap",taps:2},["tap"]],[se]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var At=1,Et=2;fe.prototype={set:function(e){return ge(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?Et:At},recognize:function(e){var t=this.session;if(!t.stopped){this.touchAction.preventDefaults(e);var n,i=this.recognizers,r=t.curRecognizer;(!r||r&&r.state&wt)&&(r=t.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],t.stopped===Et||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(e),!r&&n.state&(yt|bt|xt)&&(r=t.curRecognizer=n),o++}},get:function(e){if(e instanceof ee)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(u(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(u(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=w(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(e!==s&&t!==s){var n=this.handlers;return c(x(e),function(e){n[e]=n[e]||[],n[e].push(t)}),this}},off:function(e,t){if(e!==s){var n=this.handlers;return c(x(e),function(e){t?n[e]&&n[e].splice(w(n[e],t),1):delete n[e]}),this}},emit:function(e,t){this.options.domEvents&&pe(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](t),i++}},destroy:function(){this.element&&he(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},ge(de,{INPUT_START:Fe,INPUT_MOVE:qe,INPUT_END:Oe,INPUT_CANCEL:Me,STATE_POSSIBLE:mt,STATE_BEGAN:yt,STATE_CHANGED:bt,STATE_ENDED:xt,STATE_RECOGNIZED:wt,STATE_CANCELLED:Tt,STATE_FAILED:Ct,DIRECTION_NONE:Pe,DIRECTION_LEFT:Re,DIRECTION_RIGHT:Ie,DIRECTION_UP:ze,DIRECTION_DOWN:Be,DIRECTION_HORIZONTAL:We,DIRECTION_VERTICAL:Xe,DIRECTION_ALL:$e,Manager:fe,Input:S,TouchAction:J,TouchInput:$,MouseInput:z,PointerEventInput:B,TouchMouseInput:Y,SingleTouchInput:W,Recognizer:ee,AttrRecognizer:re,Tap:ce,Pan:oe,Swipe:ue,Pinch:ae,Rotate:le,Press:se,on:v,off:m,each:c,merge:Ce,extend:Te,assign:ge,inherit:f,bindFn:h,prefixed:A});var kt="undefined"!=typeof r?r:"undefined"!=typeof self?self:{};kt.Hammer=de,i=function(){return de}.call(t,n,t,e),!(i!==s&&(e.exports=i))}(window,document,"Hammer")},,function(e,t,n){function i(e,t){var n,i;"undefined"!=typeof e&&(n=e.toString(),i=t&&t>0?t:2e3,r.text(n).show(),o=setTimeout(function(){"block"===r.css("display")&&r.hide()},i))}var r,o,a=n(2);!function(){var e='<div id="yoho-tip" class="yoho-tip"></div>';a(".yoho-page").append(e),r=a("#yoho-tip"),r.on("touchend",function(){r.hide(),clearTimeout(o)})}(),t.show=i},function(e,t,n){function i(e){var t='<div class="loading-mask hide"><div class="loading"><div></div><div></div><div></div></div></div>';u=!0,e||(e=l),e.append(t),a=e.children(".loading-mask")}function r(){u||(i(),u=!0),a.removeClass("hide")}function o(){a.addClass("hide")}var a,s=n(2),l=s(".yoho-page"),u=!1;t.init=i,t.showLoadingMask=r,t.hideLoadingMask=o},,function(e,t){t.init=function(){Element.prototype.getText=function(){return void 0==this.innerText?this.textContent:this.innerText},Element.prototype.setText=function(e){void 0==this.innerText?this.textContent=e||"":this.innerText=e||""},Element.prototype.getFinalStyle=function(e,t){var n;return n=window.getComputedStyle?window.getComputedStyle(this,null)[e]:this.currentStyle[e],void 0!=t&&(n=n*t+"px"),n.substring(0,n.toString().length-2)},Element.prototype.mlellipsis=function(e){var t=this.getText(),n=this.getAttribute("title");null==n?this.setAttribute("title",t):this.setText(n);var i=this.getFinalStyle("fontSize");if(/msie/i.test(navigator.userAgent))var r=this.getFinalStyle("lineHeight",i);else var r=this.getFinalStyle("lineHeight");var o=Math.floor(this.clientHeight);"norm"==r?(r=Number(1.5*i),this.setAttribute("style","line-height:"+r+"px")):r=Number(r);var a=e*r;if(o>=a){for(t=this.getText();3*a<this.clientHeight;)this.setText(t.substring(0,t.length/2)),t=this.getText();for(;this.clientHeight-a>r-1&&(t=this.getText(),!(t.length<3));)this.setText(t.replace(/(\s)*([a-zA-Z0-9]+|\W)(\.\.\.)?$/,"..."))}},Element.prototype.getTextLineNumber=function(e){var t=this.getText(),n=this.getAttribute("title");null==n?this.setAttribute("title",t):this.setText(n);var i=this.getFinalStyle("fontSize");if(/msie/i.test(navigator.userAgent))var r=this.getFinalStyle("lineHeight",i);else var r=this.getFinalStyle("lineHeight");var o=this.clientHeight;return"norm"==r?(r=Number(1.5*i),this.setAttribute("style","line-height:"+r+"px")):r=Number(r),o/r}}},function(e,t,n){function i(){f.addClass("hide")}function r(){f.removeClass("hide")}function o(){var e=g(".filter-body .classify");e.on("touchstart",".shower",function(){e.removeClass("highlight"),g(this).addClass("highlight")}).on("touchend touchcancel",".shower",function(){g(this).removeClass("highlight")})}function a(){var e=g(".filter-body .sub-item");e.on("touchstart",function(){e.removeClass("highlight"),g(this).addClass("highlight")}).on("touchend touchcancel",function(){g(this).removeClass("highlight")})}function s(e){e.hasClass("active")||(e.siblings(".active").removeClass("active"),e.addClass("active"))}function l(e){var t,n,i=e.closest(".sub-classify"),r=i.siblings(".shower");return e.hasClass("chosed")?i:(i.children(".chosed").removeClass("chosed"),e.addClass("chosed"),t=g.trim(e.html()),n=g.trim(r.html()),r.html(n.substring(0,n.indexOf("</span>")+7)+t.substring(0,t.indexOf("<i"))),0===e.index()?r.addClass("default"):r.removeClass("default"),i)}function u(e){var t,n=e.data("id");t=l(e),h&&h({type:t.data("type"),id:n}),p&&p(),i()}function c(e){var t;h=e.fCbFn,p=e.hCbFn,window.missStatus=e.missStatus,o(),a(),f=g(".filter-mask"),t=new v(f[0]),t.on("tap",function(e){var t,n=g(e.target);e.preventDefault(),n.closest(".filter-body").length>0?(t=n.closest(".sub-item"),t.length>0?(t=n.closest("li"),u(t)):(t=n.closest(".classify-item"),e.srcEvent.stopPropagation(),s(t))):(i(),p&&p())})}function d(){"undefined"!=typeof f&&(g(".sub-classify").each(function(){l(g(this).children(":first-child"))}),s(g(".classify > :first-child")))}var f,h,p,g=n(2),v=n(9);t.initFilter=c,t.showFilter=r,t.hideFilter=i,t.resetFilter=d},function(e,t,n){var i=n(2),r={};i(".query-param").each(function(){var e=i(this);r[e.data("attr")]=e.val()}),e.exports=r},function(e,t,n){var i=n(2),r=i("#suspend-cart");i.ajax({type:"GET",url:"/cart/index/count",success:function(e){var t;200===e.code&&(t=e.data.cart_goods_count,t>99&&(t="99+"),0===t&&i(".cart-count").remove(),r.find(".cart-count").html(t).removeClass("hide"))}})},,,,,,,,,,function(e,t,n){function i(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),n=window.location.search.substr(1).match(t);return null!==n?n[2]:null}function r(e){var t;return e.hasClass("new")?t="newest":e.hasClass("price")?t="price":e.hasClass("discount")?t="discount":e.hasClass("sale")?t="sale":e.hasClass("all")&&(t="all"),t}function o(e){var t,n,i,o,a,u={};if(!s){if(e){for(n in A)A.hasOwnProperty(n)&&(A[n].reload=!0);switch(C.children(".active").removeClass("active"),E.addClass("active"),e.type){case"gender":t={gender:e.id};break;case"brand":t={brand:e.id};break;case"sort":t={sort:e.id};break;case"color":t={color:e.id};break;case"size":t={size:e.id};break;case"price":t={price:e.id};break;case"discount":t={discount:e.id};break;case"p_d":t={p_d:e.id}}l.extend(T,t)}if(o=r(E),i=A[o],a=i.page+1,i.reload)a=1;else if(i.end)return;l(".sale-vip-page").length>0?T.saleType=2:l(".sale-channel-page").length>0&&(T.saleType=3),l.extend(u,T,{type:o,order:i.order,page:a}),s=!0,h.showLoadingMask(),l.ajax({type:"GET",url:"/product/sale/search",data:u,success:function(e){var t,n;switch(o){case"newest":t=g;break;case"price":t=m;break;case"discount":t=v;break;case"sale":t=b;break;case"all":t=y}t.hasClass("hide")&&(t.siblings().addClass("hide"),t.removeClass("hide")),""===e?(i.end=!0,i.reload&&t.html(w)):i.reload?(t.html(e),c(t.find(".lazy"))):(n=t.find(".good-info").length,t.append(e),c(t.find(".good-info:gt("+(n-1)+") .lazy"))),i.reload=!1,i.page=a,s=!1,h.hideLoadingMask(),window.rePosFooter(),l(".good-detail-text .name").each(function(){var e=l(this),t=e.find("a");t[0].mlellipsis(2)})},error:function(){d.show("网络断开连接了~"),s=!1,h.hideLoadingMask()}})}}function a(){l(window).scrollTop()+x>l(document).height()-.25*p.height()-50&&"undefined"!=typeof E&&o()}var s,l=n(2),u=n(14),c=n(4),d=n(11),f=n(15),h=n(12),p=l("#goods-container"),g=p.find(".new-goods"),v=p.find(".discount-goods"),m=p.find(".price-goods"),y=p.find(".all-goods"),b=p.find(".sale-goods"),x=l(window).height(),w='<p class="no-result">未找到相关搜索结果</p>',T=n(16),C=l("#list-nav"),A={all:{order:1,reload:!0,page:0,end:!1},newest:{order:1,reload:!0,page:0,end:!1},price:{order:1,reload:!0,page:0,end:!1},discount:{order:1,reload:!0,page:0,end:!1},sale:{order:0,reload:!0,page:0,end:!1}},E=C.find(".active");n(17),n(8),u.init(),c(l("img.lazy")),l.extend(T,{yhChannel:i("channel")}),l.ajax({type:"GET",url:"/product/sale/filter",data:T,success:function(e){p.append(e),f.initFilter({fCbFn:o,hCbFn:function(){E.addClass("active"),E.siblings(".filter").removeClass("active")},missStatus:!0})}}),c(l(".lazy")),C.bind("contextmenu",function(){return!1}),C.on("touchend touchcancel",function(e){var t,n,i,a=l(e.target).closest("li");if(e.preventDefault(),"undefined"!=typeof a&&0!==a.length){if(a.hasClass("filter"))a.hasClass("active")?(f.hideFilter(),E.addClass("active"),a.removeClass("active")):(E=a.siblings(".active"),E.removeClass("active"),a.addClass("active"),f.showFilter());else{if(n=r(a),t=A[n],a.hasClass("active")){if(a.hasClass("new")||a.hasClass("sale")||a.hasClass("all"))return;(a.hasClass("price")||a.hasClass("discount"))&&(a.find(".icon > .iconfont").toggleClass("cur"),E=a,t.reload=!0,t.order=0===t.order?1:0)}else{if(i=a.siblings(".active"),E=a,i.hasClass("filter"))f.hideFilter();else switch(p.children(".container:not(.hide)").addClass("hide"),n){case"newest":g.removeClass("hide");break;case"price":m.removeClass("hide");break;case"discount":v.removeClass("hide");break;case"sale":b.removeClass("hide");break;case"all":y.removeClass("hide")}i.removeClass("active"),a.addClass("active")}t.reload&&o()}e.stopPropagation()}}),l(window).scroll(function(){window.requestAnimationFrame(a)}),o(),C.on("touchstart","li",function(){l(this).addClass("bytouch")}).on("touchend touchcancel",function(){C.find("li").removeClass("bytouch")})}]);