coupon.index.js
129 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){var i,r,o=n(2),s=o("#orderCode").html(),a=o("#oldUserCouponPic").html(),u=o("#newUserCouponPic").html(),l=o("#tipMessage").html(),c=o("#activityID").html(),d="http://www.yohoshow.com/api/wechat/getSignPackage",p=o("#shareTitle").val(),f=o("#shareImg").val(),h=o("#shareDesc").val(),m=o("#shareLink").val(),g=window.wx;n(8),o("#phone").bind("input propertychange",function(){11===o(this).val().length?o(".input-content div").eq("0").addClass("verification-code"):(o(".input-content div").eq("0").removeClass(),o(this).val().length>=1?o(".input-content i").eq("0").removeClass("hidden"):o(".input-content i").eq("0").addClass("hidden"))}),o("#verification").bind("input propertychange",function(){4===o(this).val().length?o(".input-content div").eq("1").addClass("get"):(o(".input-content div").eq("1").removeClass(),o(this).val().length>=1?o(".input-content i").eq("1").removeClass("hidden"):o(".input-content i").eq("1").addClass("hidden"))}),o("#activityEnded").html()&&(o(".tip-wrap").removeClass("hidden"),o(".tip-wrap .title").html(l)),o("#newUser").html()||o(".gain-coupon-centent .coupon img").attr("src",a),"undefined"!=typeof g&&(o.getJSON(d+"?pageurl="+encodeURIComponent(location.href.split("#")[0])+"&callback=?",function(e){var t,n,i,r;e&&(t=e.appId.toString(),n=e.timestamp,i=e.nonceStr.toString(),r=e.signature.toString(),g.config({debug:!1,appId:t,timestamp:n,nonceStr:i,signature:r,jsApiList:["checkJsApi","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","hideMenuItems","showMenuItems","hideAllNonBaseMenuItem","showAllNonBaseMenuItem","translateVoice","startRecord","stopRecord","onRecordEnd","playVoice","pauseVoice","stopVoice","uploadVoice","downloadVoice","chooseImage","previewImage","uploadImage","downloadImage","getNetworkType","openLocation","getLocation","hideOptionMenu","showOptionMenu","closeWindow","scanQRCode","chooseWXPay","openProductSpecificView","addCard","chooseCard","openCard"]}))}),g.ready(function(){var e={title:p,desc:h,imgUrl:f,link:m};g.onMenuShareAppMessage(e),g.onMenuShareTimeline(e),g.onMenuShareQQ(e),g.onMenuShareWeibo(e)})),o(".phone-input-content div").on("click",function(){return i=o(this).siblings("input").val(),r=/[0-9]{11}/,r.test(i)?void o.ajax({url:"/activity/coupon/phone",data:{mobile:o("#phone").val(),ordercode:s},success:function(e){if(200===e.result.code)if(window._yas&&window._yas.sendCustomInfo({activityID:c,returnCode:e.result.returnCode},!1),e.result.newUser?o(".gain-coupon-centent .coupon img").attr("src",u):o(".gain-coupon-centent .coupon img").attr("src",a),e.result.ended)o(".tip-wrap").removeClass("hidden"),o(".tip-wrap .title").html(e.result.message);else if(e.result.geted)o(".page .gain-coupon-centent").removeClass("hidden"),o(".page .coupon-centent").addClass("hidden"),o("#mobile").html("优惠券已放至账户"+e.result.mobile);else if(e.result.newUser)o(".coupon-centent .phone-input-content").addClass("hidden"),o(".coupon-centent .vertify-input-content").removeClass("hidden");else{if(e.result.wrongNumb)return o("#dialog").removeClass("hidden"),o(".mask").removeClass("hidden"),o("#dialog .content").html('<p class="phone-error">手机号错误,请重新输入。<p>'),void setTimeout(function(){o(".messages").addClass("hidden"),o(".mask").addClass("hidden"),o("#dialog .content").html(" ")},1400);if(e.result.oldUserAskCouponOnceMore)return o("#dialog").removeClass("hidden"),o(".mask").removeClass("hidden"),o("#dialog .content").html('<p class="phone-error">您今天已经领过咯,速度去有货购潮流!<p>'),void setTimeout(function(){o(".messages").addClass("hidden"),o(".mask").addClass("hidden"),o("#dialog .content").html(" "),o(".page .gain-coupon-centent").removeClass("hidden"),o(".page .coupon-centent").addClass("hidden"),o("#mobile").html("优惠券已放至账户"+e.result.mobile)},2500)}else o("#dialog").removeClass("hidden"),o(".mask").removeClass("hidden"),o("#dialog .content").html('<p class="phone-error">网络错误<p>'),setTimeout(function(){o(".messages").addClass("hidden"),o(".mask").addClass("hidden"),o("#dialog .content").html(" ")},1400)},error:function(){o("#dialog").removeClass("hidden"),o(".mask").removeClass("hidden"),o("#dialog .content").html('<p class="phone-error">网络错误,稍后再试!<p>'),setTimeout(function(){o(".messages").addClass("hidden"),o(".mask").addClass("hidden"),o("#dialog .content").html(" ")},1400)}}):(o("#dialog").removeClass("hidden"),o(".mask").removeClass("hidden"),o("#dialog .content").html('<p class="phone-error">手机号错误,请重新输入。<p>'),void setTimeout(function(){o(".messages").addClass("hidden"),o(".mask").addClass("hidden"),o("#dialog .content").html(" ")},1400))}),o(".vertify-input-content").on("click",".get",function(){o(".input-content div").eq("1").removeClass("get"),4===o(this).siblings("input").val().length?o.ajax({url:"/activity/coupon/verify",data:{identifycode:o("#verification").val(),mobile:o("#phone").val(),ordercode:s},dataType:"json",success:function(e){if(200===e.result.code)if(window._yas&&window._yas.sendCustomInfo({activityID:c,returnCode:e.result.returnCode},!1),e.result.newUser?o(".gain-coupon-centent .coupon img").attr("src",u):o(".gain-coupon-centent .coupon img").attr("src",a),e.result.ended)o(".tip-wrap").removeClass("hidden"),o(".tip-wrap .title").html(e.result.message);else if(e.result.geted)o(".page .gain-coupon-centent").removeClass("hidden"),o(".page .coupon-centent").addClass("hidden"),o("#mobile").html("优惠券已放至账户"+e.result.mobile);else if(e.result.newUser)o(".coupon-centent .phone-input-content").addClass("hidden"),o(".coupon-centent .vertify-input-content").removeClass("hidden");else{if(e.result.wrongNumb)return o("#dialog").removeClass("hidden"),o(".mask").removeClass("hidden"),o("#dialog .content").html('<p class="phone-error">手机号错误,请重新输入。<p>'),void setTimeout(function(){o(".messages").addClass("hidden"),o(".mask").addClass("hidden"),o("#dialog .content").html(" ")},1400);if(e.result.vertifyWrong)return o("#dialog").removeClass("hidden"),o(".mask").removeClass("hidden"),o("#dialog .content").html('<p class="phone-error">验证码错误,请重新输入。<p>'),void setTimeout(function(){o(".messages").addClass("hidden"),o(".mask").addClass("hidden"),o("#dialog .content").html(" ")},1400);if(e.result.oldUserAskCouponOnceMore)return o("#dialog").removeClass("hidden"),o(".mask").removeClass("hidden"),o("#dialog .content").html('<p class="phone-error">您今天已经领过咯,速度去有货购潮流!<p>'),void setTimeout(function(){o(".messages").addClass("hidden"),o(".mask").addClass("hidden"),o("#dialog .content").html(" "),o(".page .gain-coupon-centent").removeClass("hidden"),o(".page .coupon-centent").addClass("hidden"),o("#mobile").html("优惠券已放至账户"+e.result.mobile)},2500)}else o("#dialog").removeClass("hidden"),o(".mask").removeClass("hidden"),o("#dialog .content").html('<p class="phone-error">'+e.result.message+"<p>"),setTimeout(function(){o(".messages").addClass("hidden"),o(".mask").addClass("hidden"),o("#dialog .content").html(" ")},1400)},error:function(){o("#dialog").removeClass("hidden"),o(".mask").removeClass("hidden"),o("#dialog .content").html('<p class="phone-error">网络错误,稍后再试!<p>'),setTimeout(function(){o(".messages").addClass("hidden"),o(".mask").addClass("hidden"),o("#dialog .content").html(" ")},1400)}}):(o("#dialog").removeClass("hidden"),o(".mask").removeClass("hidden"),o("#dialog .content").html('<p class="phone-error">验证码错误,请重新输入。<p>'),setTimeout(function(){o(".messages").addClass("hidden"),o(".mask").addClass("hidden"),o("#dialog .content").html(" ")},1400))}),o(".close").on("click",function(){o(".dialog").addClass("hidden"),o(".mask").addClass("hidden"),o("#dialog .content").html(" ")}),o(".coupon-description span").on("click",function(){o("#message").removeClass("hidden"),o(".mask").removeClass("hidden")}),o(".description").on("click",function(){o("#message").removeClass("hidden"),o(".mask").removeClass("hidden")}),o(".use-coupon-btn").on("click",function(){window._yas&&window._yas.sendCustomInfo({activityID:c},!0)}),o(".input-content .clear-mobile").on("click",function(){o(".input-content input").eq("0").val(""),o(this).addClass("hidden"),o(".input-content div").eq("0").removeClass()}),o(".input-content .clear-verify").on("click",function(){o(".input-content input").eq("1").val(""),o(this).addClass("hidden"),o(".input-content div").eq("1").removeClass()})},,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 s(e){var t=!!e&&"length"in e&&e.length,n=ve.type(e);return"function"===n||ve.isWindow(e)?!1:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function a(e,t,n){if(ve.isFunction(t))return ve.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return ve.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(Ne.test(t))return ve.filter(t,e,n);t=ve.filter(t,e)}return ve.grep(e,function(e){return ve.inArray(e,t)>-1!==n})}function u(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function l(e){var t={};return ve.each(e.match(_e)||[],function(e,n){t[n]=!0}),t}function c(){ae.addEventListener?(ae.removeEventListener("DOMContentLoaded",d),n.removeEventListener("load",d)):(ae.detachEvent("onreadystatechange",d),n.detachEvent("onload",d))}function d(){(ae.addEventListener||"load"===n.event.type||"complete"===ae.readyState)&&(c(),ve.ready())}function p(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:Oe.test(n)?ve.parseJSON(n):n}catch(r){}ve.data(e,t,n)}else n=void 0}return n}function f(e){var t;for(t in e)if(("data"!==t||!ve.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function h(e,t,n,i){if(Ie(e)){var r,o,s=ve.expando,a=e.nodeType,u=a?ve.cache:e,l=a?e[s]:e[s]&&s;if(l&&u[l]&&(i||u[l].data)||void 0!==n||"string"!=typeof t)return l||(l=a?e[s]=se.pop()||ve.guid++:s),u[l]||(u[l]=a?{}:{toJSON:ve.noop}),"object"!=typeof t&&"function"!=typeof t||(i?u[l]=ve.extend(u[l],t):u[l].data=ve.extend(u[l].data,t)),o=u[l],i||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[ve.camelCase(t)]=n),"string"==typeof t?(r=o[t],null==r&&(r=o[ve.camelCase(t)])):r=o,r}}function m(e,t,n){if(Ie(e)){var i,r,o=e.nodeType,s=o?ve.cache:e,a=o?e[ve.expando]:ve.expando;if(s[a]){if(t&&(i=n?s[a]:s[a].data)){ve.isArray(t)?t=t.concat(ve.map(t,ve.camelCase)):t in i?t=[t]:(t=ve.camelCase(t),t=t in i?[t]:t.split(" ")),r=t.length;for(;r--;)delete i[t[r]];if(n?!f(i):!ve.isEmptyObject(i))return}(n||(delete s[a].data,f(s[a])))&&(o?ve.cleanData([e],!0):me.deleteExpando||s!=s.window?delete s[a]:s[a]=void 0)}}}function g(e,t,n,i){var r,o=1,s=20,a=i?function(){return i.cur()}:function(){return ve.css(e,t,"")},u=a(),l=n&&n[3]||(ve.cssNumber[t]?"":"px"),c=(ve.cssNumber[t]||"px"!==l&&+u)&&Re.exec(ve.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do o=o||".5",c/=o,ve.style(e,t,c+l);while(o!==(o=a()/u)&&1!==o&&--s)}return n&&(c=+c||+u||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=l,i.start=c,i.end=r)),r}function v(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||ve.nodeName(i,t)?o.push(i):ve.merge(o,y(i,t));return void 0===t||t&&ve.nodeName(e,t)?ve.merge([e],o):o}function b(e,t){for(var n,i=0;null!=(n=e[i]);i++)ve._data(n,"globalEval",!t||ve._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,s,a,u,l,c,d,p=e.length,f=v(t),h=[],m=0;p>m;m++)if(s=e[m],s||0===s)if("object"===ve.type(s))ve.merge(h,s.nodeType?[s]:s);else if(Je.test(s)){for(u=u||f.appendChild(t.createElement("div")),l=($e.exec(s)||["",""])[1].toLowerCase(),d=Ge[l]||Ge._default,u.innerHTML=d[1]+ve.htmlPrefilter(s)+d[2],o=d[0];o--;)u=u.lastChild;if(!me.leadingWhitespace&&Ye.test(s)&&h.push(t.createTextNode(Ye.exec(s)[0])),!me.tbody)for(s="table"!==l||Qe.test(s)?"<table>"!==d[1]||Qe.test(s)?0:u:u.firstChild,o=s&&s.childNodes.length;o--;)ve.nodeName(c=s.childNodes[o],"tbody")&&!c.childNodes.length&&s.removeChild(c);for(ve.merge(h,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=f.lastChild}else h.push(t.createTextNode(s));for(u&&f.removeChild(u),me.appendChecked||ve.grep(y(h,"input"),x),m=0;s=h[m++];)if(i&&ve.inArray(s,i)>-1)r&&r.push(s);else if(a=ve.contains(s.ownerDocument,s),u=y(f.appendChild(s),"script"),a&&b(u),n)for(o=0;s=u[o++];)Ue.test(s.type||"")&&n.push(s);return u=null,f}function T(){return!0}function C(){return!1}function E(){try{return ae.activeElement}catch(e){}}function k(e,t,n,i,r,o){var s,a;if("object"==typeof t){"string"!=typeof n&&(i=i||n,n=void 0);for(a in t)k(e,a,n,i,t[a],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&&(s=r,r=function(e){return ve().off(e),s.apply(this,arguments)},r.guid=s.guid||(s.guid=ve.guid++)),e.each(function(){ve.event.add(this,t,r,i,n)})}function S(e,t){return ve.nodeName(e,"table")&&ve.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function N(e){return e.type=(null!==ve.find.attr(e,"type"))+"/"+e.type,e}function A(e){var t=ut.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function D(e,t){if(1===t.nodeType&&ve.hasData(e)){var n,i,r,o=ve._data(e),s=ve._data(t,o),a=o.events;if(a){delete s.handle,s.events={};for(n in a)for(i=0,r=a[n].length;r>i;i++)ve.event.add(t,n,a[n][i])}s.data&&(s.data=ve.extend({},s.data))}}function j(e,t){var n,i,r;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!me.noCloneEvent&&t[ve.expando]){r=ve._data(t);for(i in r.events)ve.removeEvent(t,i,r.handle);t.removeAttribute(ve.expando)}"script"===n&&t.text!==e.text?(N(t).text=e.text,A(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),me.html5Clone&&e.innerHTML&&!ve.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=le.apply([],t);var r,o,s,a,u,l,c=0,d=e.length,p=d-1,f=t[0],h=ve.isFunction(f);if(h||d>1&&"string"==typeof f&&!me.checkClone&&at.test(f))return e.each(function(r){var o=e.eq(r);h&&(t[0]=f.call(this,r,o.html())),L(o,t,n,i)});if(d&&(l=w(t,e[0].ownerDocument,!1,e,i),r=l.firstChild,1===l.childNodes.length&&(l=r),r||i)){for(a=ve.map(y(l,"script"),N),s=a.length;d>c;c++)o=l,c!==p&&(o=ve.clone(o,!0,!0),s&&ve.merge(a,y(o,"script"))),n.call(e[c],o,c);if(s)for(u=a[a.length-1].ownerDocument,ve.map(a,A),c=0;s>c;c++)o=a[c],Ue.test(o.type||"")&&!ve._data(o,"globalEval")&&ve.contains(u,o)&&(o.src?ve._evalUrl&&ve._evalUrl(o.src):ve.globalEval((o.text||o.textContent||o.innerHTML||"").replace(lt,"")));l=r=null}return e}function q(e,t,n){for(var i,r=t?ve.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||ve.cleanData(y(i)),i.parentNode&&(n&&ve.contains(i.ownerDocument,i)&&b(y(i,"script")),i.parentNode.removeChild(i));return e}function _(e,t){var n=ve(t.createElement(e)).appendTo(t.body),i=ve.css(n[0],"display");return n.detach(),i}function H(e){var t=ae,n=ft[e];return n||(n=_(e,t),"none"!==n&&n||(pt=(pt||ve("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(pt[0].contentWindow||pt[0].contentDocument).document,t.write(),t.close(),n=_(e,t),pt.detach()),ft[e]=n),n}function M(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function I(e){if(e in At)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Nt.length;n--;)if(e=Nt[n]+t,e in At)return e}function O(e,t){for(var n,i,r,o=[],s=0,a=e.length;a>s;s++)i=e[s],i.style&&(o[s]=ve._data(i,"olddisplay"),n=i.style.display,t?(o[s]||"none"!==n||(i.style.display=""),""===i.style.display&&ze(i)&&(o[s]=ve._data(i,"olddisplay",H(i.nodeName)))):(r=ze(i),(n&&"none"!==n||!r)&&ve._data(i,"olddisplay",r?n:ve.css(i,"display"))));for(s=0;a>s;s++)i=e[s],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?o[s]||"":"none"));return e}function P(e,t,n){var i=Et.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function F(e,t,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===t?1:0,s=0;4>o;o+=2)"margin"===n&&(s+=ve.css(e,n+We[o],!0,r)),i?("content"===n&&(s-=ve.css(e,"padding"+We[o],!0,r)),"margin"!==n&&(s-=ve.css(e,"border"+We[o]+"Width",!0,r))):(s+=ve.css(e,"padding"+We[o],!0,r),"padding"!==n&&(s+=ve.css(e,"border"+We[o]+"Width",!0,r)));return s}function R(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,o=yt(e),s=me.boxSizing&&"border-box"===ve.css(e,"boxSizing",!1,o);if(0>=r||null==r){if(r=bt(e,t,o),(0>r||null==r)&&(r=e.style[t]),mt.test(r))return r;i=s&&(me.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+F(e,t,n||(s?"border":"content"),i,o)+"px"}function W(e,t,n,i,r){return new W.prototype.init(e,t,n,i,r)}function z(){return n.setTimeout(function(){Dt=void 0}),Dt=ve.now()}function B(e,t){var n,i={height:e},r=0;for(t=t?1:0;4>r;r+=2-t)n=We[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,s=r.length;s>o;o++)if(i=r[o].call(n,t,e))return i}function $(e,t,n){var i,r,o,s,a,u,l,c,d=this,p={},f=e.style,h=e.nodeType&&ze(e),m=ve._data(e,"fxshow");n.queue||(a=ve._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,ve.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],l=ve.css(e,"display"),c="none"===l?ve._data(e,"olddisplay")||H(e.nodeName):l,"inline"===c&&"none"===ve.css(e,"float")&&(me.inlineBlockNeedsLayout&&"inline"!==H(e.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",me.shrinkWrapBlocks()||d.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(i in t)if(r=t[i],Lt.exec(r)){if(delete t[i],o=o||"toggle"===r,r===(h?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;h=!0}p[i]=m&&m[i]||ve.style(e,i)}else l=void 0;if(ve.isEmptyObject(p))"inline"===("none"===l?H(e.nodeName):l)&&(f.display=l);else{m?"hidden"in m&&(h=m.hidden):m=ve._data(e,"fxshow",{}),o&&(m.hidden=!h),h?ve(e).show():d.done(function(){ve(e).hide()}),d.done(function(){var t;ve._removeData(e,"fxshow");for(t in p)ve.style(e,t,p[t])});for(i in p)s=X(h?m[i]:0,i,d),i in m||(m[i]=s.start,h&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function U(e,t){var n,i,r,o,s;for(n in e)if(i=ve.camelCase(n),r=t[i],o=e[n],ve.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),s=ve.cssHooks[i],s&&"expand"in s){o=s.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,s=Y.prefilters.length,a=ve.Deferred().always(function(){delete u.elem}),u=function(){if(r)return!1;for(var t=Dt||z(),n=Math.max(0,l.startTime+l.duration-t),i=n/l.duration||0,o=1-i,s=0,u=l.tweens.length;u>s;s++)l.tweens[s].run(o);return a.notifyWith(e,[l,o,n]),1>o&&u?n:(a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:ve.extend({},t),opts:ve.extend(!0,{specialEasing:{},easing:ve.easing._default},n),originalProperties:t,originalOptions:n,startTime:Dt||z(),duration:n.duration,tweens:[],createTween:function(t,n){var i=ve.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(i),i},stop:function(t){var n=0,i=t?l.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)l.tweens[n].run(1);return t?(a.notifyWith(e,[l,1,0]),a.resolveWith(e,[l,t])):a.rejectWith(e,[l,t]),this}}),c=l.props;for(U(c,l.opts.specialEasing);s>o;o++)if(i=Y.prefilters[o].call(l,e,c,l.opts))return ve.isFunction(i.stop)&&(ve._queueHooks(l.elem,l.opts.queue).stop=ve.proxy(i.stop,i)),i;return ve.map(c,X,l),ve.isFunction(l.opts.start)&&l.opts.start.call(e,l),ve.fx.timer(ve.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function V(e){return ve.attr(e,"class")||""}function G(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(_e)||[];if(ve.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 J(e,t,n,i){function r(a){var u;return o[a]=!0,ve.each(e[a]||[],function(e,a){var l=a(t,n,i);return"string"!=typeof l||s||o[l]?s?!(u=l):void 0:(t.dataTypes.unshift(l),r(l),!1)}),u}var o={},s=e===nn;return r(t.dataTypes[0])||!o["*"]&&r("*")}function Q(e,t){var n,i,r=ve.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((r[i]?e:n||(n={}))[i]=t[i]);return n&&ve.extend(!0,e,n),e}function K(e,t,n){for(var i,r,o,s,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(s in a)if(a[s]&&a[s].test(r)){u.unshift(s);break}if(u[0]in n)o=u[0];else{for(s in n){if(!u[0]||e.converters[s+" "+u[0]]){o=s;break}i||(i=s)}o=o||i}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}function Z(e,t,n,i){var r,o,s,a,u,l={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(s=l[u+" "+o]||l["* "+o],!s)for(r in l)if(a=r.split(" "),a[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){s===!0?s=l[r]:l[r]!==!0&&(o=a[0],c.unshift(a[1]));break}if(s!==!0)if(s&&e["throws"])t=s(t);else try{t=s(t)}catch(d){return{state:"parsererror",error:s?d:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function ee(e){return e.style&&e.style.display||ve.css(e,"display")}function te(e){if(!ve.contains(e.ownerDocument||ae,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(ve.isArray(t))ve.each(t,function(t,r){n||un.test(e)?i(e,r):ne(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==ve.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 ve.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var se=[],ae=n.document,ue=se.slice,le=se.concat,ce=se.push,de=se.indexOf,pe={},fe=pe.toString,he=pe.hasOwnProperty,me={},ge="1.12.4",ve=function(e,t){return new ve.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()};ve.fn=ve.prototype={jquery:ge,constructor:ve,selector:"",length:0,toArray:function(){return ue.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:ue.call(this)},pushStack:function(e){var t=ve.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return ve.each(this,e)},map:function(e){return this.pushStack(ve.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ue.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:se.sort,splice:se.splice},ve.extend=ve.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||ve.isFunction(s)||(s={}),a===u&&(s=this,a--);u>a;a++)if(null!=(r=arguments[a]))for(i in r)e=s[i],n=r[i],s!==n&&(l&&n&&(ve.isPlainObject(n)||(t=ve.isArray(n)))?(t?(t=!1,o=e&&ve.isArray(e)?e:[]):o=e&&ve.isPlainObject(e)?e:{},s[i]=ve.extend(l,o,n)):void 0!==n&&(s[i]=n));return s},ve.extend({expando:"jQuery"+(ge+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ve.type(e)},isArray:Array.isArray||function(e){return"array"===ve.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!ve.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"!==ve.type(e)||e.nodeType||ve.isWindow(e))return!1;try{if(e.constructor&&!he.call(e,"constructor")&&!he.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(!me.ownFirst)for(t in e)return he.call(e,t);for(t in e);return void 0===t||he.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?pe[fe.call(e)]||"object":typeof e},globalEval:function(e){e&&ve.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(s(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&&(s(Object(e))?ve.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,s=e.length,a=!n;s>o;o++)i=!t(e[o],o),i!==a&&r.push(e[o]);return r},map:function(e,t,n){var i,r,o=0,a=[];if(s(e))for(i=e.length;i>o;o++)r=t(e[o],o,n),null!=r&&a.push(r);else for(o in e)r=t(e[o],o,n),null!=r&&a.push(r);return le.apply([],a)},guid:1,proxy:function(e,t){var n,i,r;return"string"==typeof t&&(r=e[t],t=e,e=r),ve.isFunction(e)?(n=ue.call(arguments,2),i=function(){return e.apply(t||this,n.concat(ue.call(arguments)))},i.guid=e.guid=e.guid||ve.guid++,i):void 0},now:function(){return+new Date},support:me}),"function"==typeof Symbol&&(ve.fn[Symbol.iterator]=se[Symbol.iterator]),ve.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){pe["[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,s,a,u,l,d,f,h=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!i&&((t?t.ownerDocument||t:R)!==q&&L(t),t=t||q,H)){if(11!==m&&(l=ve.exec(e)))if(r=l[1]){if(9===m){if(!(s=t.getElementById(r)))return n;if(s.id===r)return n.push(s),n}else if(h&&(s=h.getElementById(r))&&P(t,s)&&s.id===r)return n.push(s),n}else{if(l[2])return K.apply(n,t.getElementsByTagName(e)),n;if((r=l[3])&&w.getElementsByClassName&&t.getElementsByClassName)return K.apply(n,t.getElementsByClassName(r)),n}if(w.qsa&&!$[e+" "]&&(!M||!M.test(e))){if(1!==m)h=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(be,"\\$&"):t.setAttribute("id",a=F),d=k(e),o=d.length,u=pe.test(a)?"#"+a:"[id='"+a+"']";o--;)d[o]=u+" "+p(d[o]);f=d.join(","),h=ye.test(e)&&c(t.parentNode)||t}if(f)try{return K.apply(n,h.querySelectorAll(f)),n}catch(g){}finally{a===F&&t.removeAttribute("id")}}}return N(e.replace(ae,"$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[F]=!0,e}function r(e){var t=q.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 s(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 a(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return i(function(t){return t=+t,i(function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function p(e){for(var t=0,n=e.length,i="";n>t;t++)i+=e[t].value;return i}function f(e,t,n){var i=t.dir,r=n&&"parentNode"===i,o=z++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,o)}:function(t,n,s){var a,u,l,c=[W,o];if(s){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,s))return!0}else for(;t=t[i];)if(1===t.nodeType||r){if(l=t[F]||(t[F]={}),u=l[t.uniqueID]||(l[t.uniqueID]={}),(a=u[i])&&a[0]===W&&a[1]===o)return c[2]=a[2];if(u[i]=c,c[2]=e(t,n,s))return!0}}}function h(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 m(e,n,i){for(var r=0,o=n.length;o>r;r++)t(e,n[r],i);return i}function g(e,t,n,i,r){for(var o,s=[],a=0,u=e.length,l=null!=t;u>a;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),l&&t.push(a)));return s}function v(e,t,n,r,o,s){return r&&!r[F]&&(r=v(r)),o&&!o[F]&&(o=v(o,s)),i(function(i,s,a,u){var l,c,d,p=[],f=[],h=s.length,v=i||m(t||"*",a.nodeType?[a]:a,[]),y=!e||!i&&t?v:g(v,p,e,a,u),b=n?o||(i?e:h||r)?[]:s:y;if(n&&n(y,b,a,u),r)for(l=g(b,f),r(l,[],a,u),c=l.length;c--;)(d=l[c])&&(b[f[c]]=!(y[f[c]]=d));if(i){if(o||e){if(o){for(l=[],c=b.length;c--;)(d=b[c])&&l.push(y[c]=d);o(null,b=[],l,u)}for(c=b.length;c--;)(d=b[c])&&(l=o?ee(i,d):p[c])>-1&&(i[l]=!(s[l]=d))}}else b=g(b===s?b.splice(h,b.length):b),o?o(null,s,b,u):K.apply(s,b)})}function y(e){for(var t,n,i,r=e.length,o=T.relative[e[0].type],s=o||T.relative[" "],a=o?1:0,u=f(function(e){return e===t},s,!0),l=f(function(e){return ee(t,e)>-1},s,!0),c=[function(e,n,i){var r=!o&&(i||n!==A)||((t=n).nodeType?u(e,n,i):l(e,n,i));return t=null,r}];r>a;a++)if(n=T.relative[e[a].type])c=[f(h(c),n)];else{if(n=T.filter[e[a].type].apply(null,e[a].matches),n[F]){for(i=++a;r>i&&!T.relative[e[i].type];i++);return v(a>1&&h(c),a>1&&p(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ae,"$1"),n,i>a&&y(e.slice(a,i)),r>i&&y(e=e.slice(i)),r>i&&p(e))}c.push(n)}return h(c)}function b(e,n){var r=n.length>0,o=e.length>0,s=function(i,s,a,u,l){var c,d,p,f=0,h="0",m=i&&[],v=[],y=A,b=i||o&&T.find.TAG("*",l),x=W+=null==y?1:Math.random()||.1,w=b.length;for(l&&(A=s===q||s||l);h!==w&&null!=(c=b[h]);h++){if(o&&c){for(d=0,s||c.ownerDocument===q||(L(c),a=!H);p=e[d++];)if(p(c,s||q,a)){u.push(c);break}l&&(W=x)}r&&((c=!p&&c)&&f--,i&&m.push(c))}if(f+=h,r&&h!==f){for(d=0;p=n[d++];)p(m,v,s,a);if(i){if(f>0)for(;h--;)m[h]||v[h]||(v[h]=J.call(u));v=g(v)}K.apply(u,v),l&&!i&&v.length>0&&f+n.length>1&&t.uniqueSort(u)}return l&&(W=x,A=y),m};return r?i(s):s}var x,w,T,C,E,k,S,N,A,D,j,L,q,_,H,M,I,O,P,F="sizzle"+1*new Date,R=e.document,W=0,z=0,B=n(),X=n(),$=n(),U=function(e,t){return e===t&&(j=!0),0},Y=1<<31,V={}.hasOwnProperty,G=[],J=G.pop,Q=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+")*)|.*)\\)|)",se=new RegExp(ne+"+","g"),ae=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),le=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(oe),pe=new RegExp("^"+ie+"$"),fe={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")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\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(R.childNodes),R.childNodes),G[R.childNodes.length].nodeType}catch(Ce){K={apply:G.length?function(e,t){Q.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={},E=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:R;return i!==q&&9===i.nodeType&&i.documentElement?(q=i,_=q.documentElement,H=!E(q),(n=q.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(q.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ge.test(q.getElementsByClassName),w.getById=r(function(e){return _.appendChild(e).id=F,!q.getElementsByName||!q.getElementsByName(F).length}),w.getById?(T.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&H){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&&H?t.getElementsByClassName(e):void 0},I=[],M=[],(w.qsa=ge.test(q.querySelectorAll))&&(r(function(e){_.appendChild(e).innerHTML="<a id='"+F+"'></a><select id='"+F+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&M.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||M.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+F+"-]").length||M.push("~="),e.querySelectorAll(":checked").length||M.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||M.push(".#.+[+~]")}),r(function(e){var t=q.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&M.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||M.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),M.push(",.*:")})),(w.matchesSelector=ge.test(O=_.matches||_.webkitMatchesSelector||_.mozMatchesSelector||_.oMatchesSelector||_.msMatchesSelector))&&r(function(e){w.disconnectedMatch=O.call(e,"div"),O.call(e,"[s!='']:x"),I.push("!=",oe)}),M=M.length&&new RegExp(M.join("|")),I=I.length&&new RegExp(I.join("|")),t=ge.test(_.compareDocumentPosition),P=t||ge.test(_.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 j=!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===q||e.ownerDocument===R&&P(R,e)?-1:t===q||t.ownerDocument===R&&P(R,t)?1:D?ee(D,e)-ee(D,t):0:4&n?-1:1)}:function(e,t){if(e===t)return j=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],u=[t];if(!r||!o)return e===q?-1:t===q?1:r?-1:o?1:D?ee(D,e)-ee(D,t):0;if(r===o)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;a[i]===u[i];)i++;return i?s(a[i],u[i]):a[i]===R?-1:u[i]===R?1:0},q):q},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==q&&L(e),n=n.replace(ce,"='$1']"),w.matchesSelector&&H&&!$[n+" "]&&(!I||!I.test(n))&&(!M||!M.test(n)))try{var i=O.call(e,n);if(i||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(r){}return t(n,q,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==q&&L(e),P(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==q&&L(e);var n=T.attrHandle[t.toLowerCase()],i=n&&V.call(T.attrHandle,t.toLowerCase())?n(e,t,!H):void 0;return void 0!==i?i:w.attributes||!H?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(j=!w.detectDuplicates,D=!w.sortStable&&e.slice(0),e.sort(U),j){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:fe,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 fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=k(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=B[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&B(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(se," ")+" ").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),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,u){var l,c,d,p,f,h,m=o!==s?"nextSibling":"previousSibling",g=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!u&&!a,b=!1;if(g){if(o){for(;m;){for(p=t;p=p[m];)if(a?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?g.firstChild:g.lastChild],s&&y){for(p=g,d=p[F]||(p[F]={}),c=d[p.uniqueID]||(d[p.uniqueID]={}),l=c[e]||[],f=l[0]===W&&l[1],b=f&&l[2],p=f&&g.childNodes[f];p=++f&&p&&p[m]||(b=f=0)||h.pop();)if(1===p.nodeType&&++b&&p===t){c[e]=[W,f,b];break}}else if(y&&(p=t,d=p[F]||(p[F]={}),c=d[p.uniqueID]||(d[p.uniqueID]={}),l=c[e]||[],f=l[0]===W&&l[1],b=f),b===!1)for(;(p=++f&&p&&p[m]||(b=f=0)||h.pop())&&((a?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&(d=p[F]||(p[F]={}),c=d[p.uniqueID]||(d[p.uniqueID]={}),c[e]=[W,b]),p!==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[F]?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),s=r.length;s--;)i=ee(e,r[s]),e[i]=!(t[i]=r[s])}):function(e){return o(e,0,r)}):o}},pseudos:{not:i(function(e){var t=[],n=[],r=S(e.replace(ae,"$1"));return r[F]?i(function(e,t,n,i){for(var o,s=r(e,null,i,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=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 pe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(xe,we).toLowerCase(),function(t){var n;do if(n=H?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===_},focus:function(e){return e===q.activeElement&&(!q.hasFocus||q.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 me.test(e.nodeName)},input:function(e){return he.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:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[0>n?n+t:n]}),even:l(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var i=0>n?n+t:n;--i>=0;)e.push(i);return e}),gt:l(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]=a(x);for(x in{submit:!0,reset:!0})T.pseudos[x]=u(x);return d.prototype=T.filters=T.pseudos,T.setFilters=new d,k=t.tokenize=function(e,n){var i,r,o,s,a,u,l,c=X[e+" "];if(c)return n?0:c.slice(0);for(a=e,u=[],l=T.preFilter;a;){i&&!(r=ue.exec(a))||(r&&(a=a.slice(r[0].length)||a),u.push(o=[])),i=!1,(r=le.exec(a))&&(i=r.shift(),o.push({value:i,type:r[0].replace(ae," ")}),a=a.slice(i.length));for(s in T.filter)!(r=fe[s].exec(a))||l[s]&&!(r=l[s](r))||(i=r.shift(),o.push({value:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?t.error(e):X(e,u).slice(0)},S=t.compile=function(e,t){var n,i=[],r=[],o=$[e+" "];if(!o){for(t||(t=k(e)),n=t.length;n--;)o=y(t[n]),o[F]?i.push(o):r.push(o);o=$(e,b(r,i)),o.selector=e}return o},N=t.select=function(e,t,n,i){var r,o,s,a,u,l="function"==typeof e&&e,d=!i&&k(e=l.selector||e);if(n=n||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&w.getById&&9===t.nodeType&&H&&T.relative[o[1].type]){if(t=(T.find.ID(s.matches[0].replace(xe,we),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=fe.needsContext.test(e)?0:o.length;r--&&(s=o[r],!T.relative[a=s.type]);)if((u=T.find[a])&&(i=u(s.matches[0].replace(xe,we),ye.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(r,1),e=i.length&&p(o),!e)return K.apply(n,i),n;break}}return(l||S(e,d))(i,t,!H,n,!t||ye.test(e)&&c(t.parentNode)||t),n},w.sortStable=F.split("").sort(U).join("")===F,w.detectDuplicates=!!j,L(),w.sortDetached=r(function(e){return 1&e.compareDocumentPosition(q.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);ve.find=Te,ve.expr=Te.selectors,ve.expr[":"]=ve.expr.pseudos,ve.uniqueSort=ve.unique=Te.uniqueSort,ve.text=Te.getText,ve.isXMLDoc=Te.isXML,ve.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&&ve(e).is(n))break;i.push(e)}return i},Ee=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},ke=ve.expr.match.needsContext,Se=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Ne=/^.[^:#\[\.,]*$/;ve.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?ve.find.matchesSelector(i,e)?[i]:[]:ve.find.matches(e,ve.grep(t,function(e){return 1===e.nodeType}))},ve.fn.extend({find:function(e){var t,n=[],i=this,r=i.length;if("string"!=typeof e)return this.pushStack(ve(e).filter(function(){for(t=0;r>t;t++)if(ve.contains(i[t],this))return!0}));for(t=0;r>t;t++)ve.find(e,i[t],n);return n=this.pushStack(r>1?ve.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(a(this,e||[],!1))},not:function(e){return this.pushStack(a(this,e||[],!0))},is:function(e){return!!a(this,"string"==typeof e&&ke.test(e)?ve(e):e||[],!1).length}});var Ae,De=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,je=ve.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||Ae,"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 ve?t[0]:t,ve.merge(this,ve.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:ae,!0)),Se.test(i[1])&&ve.isPlainObject(t))for(i in t)ve.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}if(r=ae.getElementById(i[2]),r&&r.parentNode){if(r.id!==i[2])return Ae.find(e);this.length=1,this[0]=r}return this.context=ae,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ve.isFunction(e)?"undefined"!=typeof n.ready?n.ready(e):e(ve):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ve.makeArray(e,this))};je.prototype=ve.fn,Ae=ve(ae);var Le=/^(?:parents|prev(?:Until|All))/,qe={children:!0,contents:!0,next:!0,prev:!0};ve.fn.extend({has:function(e){var t,n=ve(e,this),i=n.length;return this.filter(function(){for(t=0;i>t;t++)if(ve.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,i=0,r=this.length,o=[],s=ke.test(e)||"string"!=typeof e?ve(e,t||this.context):0;r>i;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&ve.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?ve.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?ve.inArray(this[0],ve(e)):ve.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ve.uniqueSort(ve.merge(this.get(),ve(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ve.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 u(e,"nextSibling")},prev:function(e){return u(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 Ee((e.parentNode||{}).firstChild,e)},children:function(e){return Ee(e.firstChild)},contents:function(e){return ve.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:ve.merge([],e.childNodes)}},function(e,t){ve.fn[e]=function(n,i){var r=ve.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=ve.filter(i,r)),this.length>1&&(qe[e]||(r=ve.uniqueSort(r)),Le.test(e)&&(r=r.reverse())),this.pushStack(r)}});var _e=/\S+/g;ve.Callbacks=function(e){e="string"==typeof e?l(e):ve.extend({},e);var t,n,i,r,o=[],s=[],a=-1,u=function(){for(r=e.once,i=t=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)o[a].apply(n[0],n[1])===!1&&e.stopOnFalse&&(a=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(a=o.length-1,s.push(n)),function i(t){ve.each(t,function(t,n){ve.isFunction(n)?e.unique&&c.has(n)||o.push(n):n&&n.length&&"string"!==ve.type(n)&&i(n)})}(arguments),n&&!t&&u()),this},remove:function(){return ve.each(arguments,function(e,t){for(var n;(n=ve.inArray(t,o,n))>-1;)o.splice(n,1),a>=n&&a--}),this},has:function(e){return e?ve.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],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],s.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},ve.extend({Deferred:function(e){var t=[["resolve","done",ve.Callbacks("once memory"),"resolved"],["reject","fail",ve.Callbacks("once memory"),"rejected"],["notify","progress",ve.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ve.Deferred(function(n){ve.each(t,function(t,o){var s=ve.isFunction(e[t])&&e[t];r[o[1]](function(){var e=s&&s.apply(this,arguments);e&&ve.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===i?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ve.extend(e,i):i}},r={};return i.pipe=i.then,ve.each(t,function(e,o){var s=o[2],a=o[3];i[o[1]]=s.add,a&&s.add(function(){n=a},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"]=s.fireWith}),i.promise(r),e&&e.call(r,r),r},when:function(e){var t,n,i,r=0,o=ue.call(arguments),s=o.length,a=1!==s||e&&ve.isFunction(e.promise)?s:0,u=1===a?e:ve.Deferred(),l=function(e,n,i){return function(r){n[e]=this,i[e]=arguments.length>1?ue.call(arguments):r,i===t?u.notifyWith(n,i):--a||u.resolveWith(n,i)}};if(s>1)for(t=new Array(s),n=new Array(s),i=new Array(s);s>r;r++)o[r]&&ve.isFunction(o[r].promise)?o[r].promise().progress(l(r,n,t)).done(l(r,i,o)).fail(u.reject):--a;return a||u.resolveWith(i,o),u.promise()}});var He;ve.fn.ready=function(e){return ve.ready.promise().done(e),this},ve.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ve.readyWait++:ve.ready(!0)},ready:function(e){(e===!0?--ve.readyWait:ve.isReady)||(ve.isReady=!0,e!==!0&&--ve.readyWait>0||(He.resolveWith(ae,[ve]),ve.fn.triggerHandler&&(ve(ae).triggerHandler("ready"),ve(ae).off("ready"))))}}),ve.ready.promise=function(e){if(!He)if(He=ve.Deferred(),"complete"===ae.readyState||"loading"!==ae.readyState&&!ae.documentElement.doScroll)n.setTimeout(ve.ready);else if(ae.addEventListener)ae.addEventListener("DOMContentLoaded",d),n.addEventListener("load",d);else{ae.attachEvent("onreadystatechange",d),n.attachEvent("onload",d);var t=!1;try{t=null==n.frameElement&&ae.documentElement}catch(i){}t&&t.doScroll&&!function r(){if(!ve.isReady){try{t.doScroll("left")}catch(e){return n.setTimeout(r,50)}c(),ve.ready()}}()}return He.promise(e)},ve.ready.promise();var Me;for(Me in ve(me))break;me.ownFirst="0"===Me,me.inlineBlockNeedsLayout=!1,ve(function(){var e,t,n,i;n=ae.getElementsByTagName("body")[0],n&&n.style&&(t=ae.createElement("div"),i=ae.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",me.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(i))}),function(){var e=ae.createElement("div");me.deleteExpando=!0;try{delete e.test}catch(t){me.deleteExpando=!1}e=null}();var Ie=function(e){var t=ve.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return 1!==n&&9!==n?!1:!t||t!==!0&&e.getAttribute("classid")===t},Oe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Pe=/([A-Z])/g;ve.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?ve.cache[e[ve.expando]]:e[ve.expando],!!e&&!f(e)},data:function(e,t,n){return h(e,t,n)},removeData:function(e,t){return m(e,t)},_data:function(e,t,n){return h(e,t,n,!0)},_removeData:function(e,t){return m(e,t,!0)}}),ve.fn.extend({data:function(e,t){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(r=ve.data(o),1===o.nodeType&&!ve._data(o,"parsedAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=ve.camelCase(i.slice(5)),p(o,i,r[i])));ve._data(o,"parsedAttrs",!0)}return r}return"object"==typeof e?this.each(function(){ve.data(this,e)}):arguments.length>1?this.each(function(){ve.data(this,e,t)}):o?p(o,e,ve.data(o,e)):void 0},removeData:function(e){return this.each(function(){ve.removeData(this,e)})}}),ve.extend({queue:function(e,t,n){var i;return e?(t=(t||"fx")+"queue",i=ve._data(e,t),n&&(!i||ve.isArray(n)?i=ve._data(e,t,ve.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=ve.queue(e,t),i=n.length,r=n.shift(),o=ve._queueHooks(e,t),s=function(){ve.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,s,o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ve._data(e,n)||ve._data(e,n,{empty:ve.Callbacks("once memory").add(function(){ve._removeData(e,t+"queue"),ve._removeData(e,n)})})}}),ve.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ve.queue(this[0],e):void 0===t?this:this.each(function(){var n=ve.queue(this,e,t);ve._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ve.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ve.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=ve.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)n=ve._data(o[s],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}}),function(){var e;me.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,n,i;return n=ae.getElementsByTagName("body")[0],n&&n.style?(t=ae.createElement("div"),i=ae.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(ae.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(i),e):void 0}}();var Fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Re=new RegExp("^(?:([+-])=|)("+Fe+")([a-z%]*)$","i"),We=["Top","Right","Bottom","Left"],ze=function(e,t){return e=t||e,"none"===ve.css(e,"display")||!ve.contains(e.ownerDocument,e)},Be=function(e,t,n,i,r,o,s){var a=0,u=e.length,l=null==n;if("object"===ve.type(n)){r=!0;for(a in n)Be(e,t,a,n[a],!0,o,s)}else if(void 0!==i&&(r=!0,ve.isFunction(i)||(s=!0),l&&(s?(t.call(e,i),t=null):(l=t,t=function(e,t,n){return l.call(ve(e),n)})),t))for(;u>a;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return r?e:l?t.call(e):u?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=ae.createElement("div"),t=ae.createDocumentFragment(),n=ae.createElement("input");e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",me.leadingWhitespace=3===e.firstChild.nodeType,me.tbody=!e.getElementsByTagName("tbody").length,me.htmlSerialize=!!e.getElementsByTagName("link").length,me.html5Clone="<:nav></:nav>"!==ae.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),me.appendChecked=n.checked,e.innerHTML="<textarea>x</textarea>",me.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),n=ae.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),me.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,me.noCloneEvent=!!e.addEventListener,e[ve.expando]=1,me.attributes=!e.getAttribute(ve.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:me.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 Je=/<|&#?\w+;/,Qe=/<tbody/i;!function(){var e,t,i=ae.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(me[e]=t in n)||(i.setAttribute(t,"t"),me[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=/^([^.]*)(?:\.(.+)|)/;ve.event={global:{},add:function(e,t,n,i,r){var o,s,a,u,l,c,d,p,f,h,m,g=ve._data(e);if(g){for(n.handler&&(u=n,n=u.handler,r=u.selector),n.guid||(n.guid=ve.guid++),(s=g.events)||(s=g.events={}),(c=g.handle)||(c=g.handle=function(e){return"undefined"==typeof ve||e&&ve.event.triggered===e.type?void 0:ve.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(_e)||[""],a=t.length;a--;)o=nt.exec(t[a])||[],f=m=o[1],h=(o[2]||"").split(".").sort(),f&&(l=ve.event.special[f]||{},f=(r?l.delegateType:l.bindType)||f,l=ve.event.special[f]||{},d=ve.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&ve.expr.match.needsContext.test(r),namespace:h.join(".")},u),(p=s[f])||(p=s[f]=[],p.delegateCount=0,l.setup&&l.setup.call(e,i,h,c)!==!1||(e.addEventListener?e.addEventListener(f,c,!1):e.attachEvent&&e.attachEvent("on"+f,c))),l.add&&(l.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,d):p.push(d),ve.event.global[f]=!0);e=null}},remove:function(e,t,n,i,r){var o,s,a,u,l,c,d,p,f,h,m,g=ve.hasData(e)&&ve._data(e);if(g&&(c=g.events)){for(t=(t||"").match(_e)||[""],l=t.length;l--;)if(a=nt.exec(t[l])||[],f=m=a[1],h=(a[2]||"").split(".").sort(),f){for(d=ve.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,p=c[f]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=p.length;o--;)s=p[o],!r&&m!==s.origType||n&&n.guid!==s.guid||a&&!a.test(s.namespace)||i&&i!==s.selector&&("**"!==i||!s.selector)||(p.splice(o,1),s.selector&&p.delegateCount--,d.remove&&d.remove.call(e,s));u&&!p.length&&(d.teardown&&d.teardown.call(e,h,g.handle)!==!1||ve.removeEvent(e,f,g.handle),delete c[f])}else for(f in c)ve.event.remove(e,f+t[l],n,i,!0);ve.isEmptyObject(c)&&(delete g.handle,ve._removeData(e,"events"))}},trigger:function(e,t,i,r){var o,s,a,u,l,c,d,p=[i||ae],f=he.call(e,"type")?e.type:e,h=he.call(e,"namespace")?e.namespace.split("."):[];if(a=c=i=i||ae,3!==i.nodeType&&8!==i.nodeType&&!tt.test(f+ve.event.triggered)&&(f.indexOf(".")>-1&&(h=f.split("."),f=h.shift(),h.sort()),s=f.indexOf(":")<0&&"on"+f,e=e[ve.expando]?e:new ve.Event(f,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:ve.makeArray(t,[e]),l=ve.event.special[f]||{},r||!l.trigger||l.trigger.apply(i,t)!==!1)){if(!r&&!l.noBubble&&!ve.isWindow(i)){for(u=l.delegateType||f,tt.test(u+f)||(a=a.parentNode);a;a=a.parentNode)p.push(a),c=a;c===(i.ownerDocument||ae)&&p.push(c.defaultView||c.parentWindow||n)}for(d=0;(a=p[d++])&&!e.isPropagationStopped();)e.type=d>1?u:l.bindType||f,o=(ve._data(a,"events")||{})[e.type]&&ve._data(a,"handle"),o&&o.apply(a,t),o=s&&a[s],o&&o.apply&&Ie(a)&&(e.result=o.apply(a,t),e.result===!1&&e.preventDefault());if(e.type=f,!r&&!e.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),t)===!1)&&Ie(i)&&s&&i[f]&&!ve.isWindow(i)){c=i[s],c&&(i[s]=null),ve.event.triggered=f;try{i[f]()}catch(m){}ve.event.triggered=void 0,c&&(i[s]=c)}return e.result}},dispatch:function(e){e=ve.event.fix(e);var t,n,i,r,o,s=[],a=ue.call(arguments),u=(ve._data(this,"events")||{})[e.type]||[],l=ve.event.special[e.type]||{};if(a[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(s=ve.event.handlers.call(this,e,u),t=0;(r=s[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=((ve.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a),void 0!==i&&(e.result=i)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,r,o,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(i=[],n=0;a>n;n++)o=t[n],r=o.selector+" ",void 0===i[r]&&(i[r]=o.needsContext?ve(r,this).index(u)>-1:ve.find(r,this,null,[u]).length),i[r]&&i.push(o);i.length&&s.push({elem:u,handlers:i})}return a<t.length&&s.push({elem:this,handlers:t.slice(a)}),s},fix:function(e){if(e[ve.expando])return e;var t,n,i,r=e.type,o=e,s=this.fixHooks[r];for(s||(this.fixHooks[r]=s=et.test(r)?this.mouseHooks:Ze.test(r)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,e=new ve.Event(o),t=i.length;t--;)n=i[t],e[n]=o[n];return e.target||(e.target=o.srcElement||ae),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.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,s=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=e.target.ownerDocument||ae,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&&s&&(e.relatedTarget=s===e.target?t.toElement:s),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!==E()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===E()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return ve.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(e){return ve.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=ve.extend(new ve.Event,n,{type:e,isSimulated:!0});ve.event.trigger(i,null,t),i.isDefaultPrevented()&&n.preventDefault()}},ve.removeEvent=ae.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))},ve.Event=function(e,t){return this instanceof ve.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&&ve.extend(this,t),this.timeStamp=e&&e.timeStamp||ve.now(),void(this[ve.expando]=!0)):new ve.Event(e,t)},ve.Event.prototype={constructor:ve.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()}},ve.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){ve.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===i||ve.contains(i,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),me.submit||(ve.event.special.submit={setup:function(){return ve.nodeName(this,"form")?!1:void ve.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=ve.nodeName(t,"input")||ve.nodeName(t,"button")?ve.prop(t,"form"):void 0;n&&!ve._data(n,"submit")&&(ve.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),ve._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&ve.event.simulate("submit",this.parentNode,e))},teardown:function(){return ve.nodeName(this,"form")?!1:void ve.event.remove(this,"._submit")}}),me.change||(ve.event.special.change={setup:function(){return Ke.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(ve.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),ve.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),ve.event.simulate("change",this,e)})),!1):void ve.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ke.test(t.nodeName)&&!ve._data(t,"change")&&(ve.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||ve.event.simulate("change",this.parentNode,e)}),ve._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 ve.event.remove(this,"._change"),!Ke.test(this.nodeName)}}),me.focusin||ve.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ve.event.simulate(t,e.target,ve.event.fix(e))};ve.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=ve._data(i,t);r||i.addEventListener(e,n,!0),ve._data(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=ve._data(i,t)-1;r?ve._data(i,t,r):(i.removeEventListener(e,n,!0),ve._removeData(i,t))}}}),ve.fn.extend({on:function(e,t,n,i){return k(this,e,t,n,i)},one:function(e,t,n,i){return k(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,ve(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(){ve.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){ve.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?ve.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,st=/<script|<style|<link/i,at=/checked\s*(?:[^=]|=\s*.checked.)/i,ut=/^true\/(.*)/,lt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ct=v(ae),dt=ct.appendChild(ae.createElement("div"));ve.extend({htmlPrefilter:function(e){return e.replace(ot,"<$1></$2>")},clone:function(e,t,n){var i,r,o,s,a,u=ve.contains(e.ownerDocument,e);if(me.html5Clone||ve.isXMLDoc(e)||!rt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(dt.innerHTML=e.outerHTML,dt.removeChild(o=dt.firstChild)),!(me.noCloneEvent&&me.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ve.isXMLDoc(e)))for(i=y(o),a=y(e),s=0;null!=(r=a[s]);++s)i[s]&&j(r,i[s]);if(t)if(n)for(a=a||y(e),i=i||y(o),s=0;null!=(r=a[s]);s++)D(r,i[s]);else D(e,o);return i=y(o,"script"),i.length>0&&b(i,!u&&y(e,"script")),i=a=r=null,o},cleanData:function(e,t){for(var n,i,r,o,s=0,a=ve.expando,u=ve.cache,l=me.attributes,c=ve.event.special;null!=(n=e[s]);s++)if((t||Ie(n))&&(r=n[a],o=r&&u[r])){if(o.events)for(i in o.events)c[i]?ve.event.remove(n,i):ve.removeEvent(n,i,o.handle);u[r]&&(delete u[r],l||"undefined"==typeof n.removeAttribute?n[a]=void 0:n.removeAttribute(a),se.push(r))}}}),ve.fn.extend({domManip:L,detach:function(e){return q(this,e,!0)},remove:function(e){return q(this,e)},text:function(e){return Be(this,function(e){return void 0===e?ve.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ae).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=S(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=S(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&&ve.cleanData(y(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&ve.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 ve.clone(this,e,t)})},html:function(e){return Be(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&&!st.test(e)&&(me.htmlSerialize||!rt.test(e))&&(me.leadingWhitespace||!Ye.test(e))&&!Ge[($e.exec(e)||["",""])[1].toLowerCase()]){e=ve.htmlPrefilter(e);try{for(;i>n;n++)t=this[n]||{},1===t.nodeType&&(ve.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;ve.inArray(this,e)<0&&(ve.cleanData(y(this)),n&&n.replaceChild(t,this))},e)}}),ve.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ve.fn[e]=function(e){for(var n,i=0,r=[],o=ve(e),s=o.length-1;s>=i;i++)n=i===s?this:this.clone(!0),ve(o[i])[t](n),ce.apply(r,n.get());return this.pushStack(r)}});var pt,ft={HTML:"block",BODY:"block"},ht=/^margin/,mt=new RegExp("^("+Fe+")(?!px)[a-z%]+$","i"),gt=function(e,t,n,i){var r,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];r=n.apply(e,i||[]);for(o in t)e.style[o]=s[o];return r},vt=ae.documentElement;!function(){function e(){var e,c,d=ae.documentElement;d.appendChild(u),l.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=a=!1,i=s=!0,n.getComputedStyle&&(c=n.getComputedStyle(l),t="1%"!==(c||{}).top,a="2px"===(c||{}).marginLeft,r="4px"===(c||{width:"4px"}).width,l.style.marginRight="50%",i="4px"===(c||{marginRight:"4px"}).marginRight,e=l.appendChild(ae.createElement("div")),e.style.cssText=l.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",l.style.width="1px",s=!parseFloat((n.getComputedStyle(e)||{}).marginRight),l.removeChild(e)),l.style.display="none",o=0===l.getClientRects().length,o&&(l.style.display="",l.innerHTML="<table><tr><td></td><td>t</td></tr></table>",l.childNodes[0].style.borderCollapse="separate",e=l.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(u)}var t,i,r,o,s,a,u=ae.createElement("div"),l=ae.createElement("div");l.style&&(l.style.cssText="float:left;opacity:.5",me.opacity="0.5"===l.style.opacity,me.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",me.clearCloneStyle="content-box"===l.style.backgroundClip,u=ae.createElement("div"),u.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",u.appendChild(l),me.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.style.WebkitBoxSizing,ve.extend(me,{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(),s},reliableMarginLeft:function(){return null==t&&e(),a}}))}();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,s,a=e.style;return n=n||yt(e),s=n?n.getPropertyValue(t)||n[t]:void 0,""!==s&&void 0!==s||ve.contains(e.ownerDocument,e)||(s=ve.style(e,t)),n&&!me.pixelMarginRight()&&mt.test(s)&&ht.test(t)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o),void 0===s?s:s+""}):vt.currentStyle&&(yt=function(e){return e.currentStyle},bt=function(e,t,n){var i,r,o,s,a=e.style;return n=n||yt(e),s=n?n[t]:void 0,null==s&&a&&a[t]&&(s=a[t]),mt.test(s)&&!xt.test(t)&&(i=a.left,r=e.runtimeStyle,o=r&&r.left,o&&(r.left=e.currentStyle.left),a.left="fontSize"===t?"1em":s,s=a.pixelLeft+"px",a.left=i,o&&(r.left=o)),void 0===s?s:s+""||"auto"});var wt=/alpha\([^)]*\)/i,Tt=/opacity\s*=\s*([^)]*)/i,Ct=/^(none|table(?!-c[ea]).+)/,Et=new RegExp("^("+Fe+")(.*)$","i"),kt={position:"absolute",visibility:"hidden",display:"block"},St={letterSpacing:"0",fontWeight:"400"},Nt=["Webkit","O","Moz","ms"],At=ae.createElement("div").style;ve.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":me.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=ve.camelCase(t),u=e.style;if(t=ve.cssProps[a]||(ve.cssProps[a]=I(a)||a),s=ve.cssHooks[t]||ve.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:u[t];if(o=typeof n,"string"===o&&(r=Re.exec(n))&&r[1]&&(n=g(e,t,r),o="number"),null!=n&&n===n&&("number"===o&&(n+=r&&r[3]||(ve.cssNumber[a]?"":"px")),me.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),!(s&&"set"in s&&void 0===(n=s.set(e,n,i)))))try{u[t]=n}catch(l){}}},css:function(e,t,n,i){var r,o,s,a=ve.camelCase(t);return t=ve.cssProps[a]||(ve.cssProps[a]=I(a)||a),s=ve.cssHooks[t]||ve.cssHooks[a],s&&"get"in s&&(o=s.get(e,!0,n)),void 0===o&&(o=bt(e,t,i)),"normal"===o&&t in St&&(o=St[t]),""===n||n?(r=parseFloat(o),n===!0||isFinite(r)?r||0:o):o}}),ve.each(["height","width"],function(e,t){ve.cssHooks[t]={get:function(e,n,i){return n?Ct.test(ve.css(e,"display"))&&0===e.offsetWidth?gt(e,kt,function(){return R(e,t,i)}):R(e,t,i):void 0},set:function(e,n,i){var r=i&&yt(e);return P(e,n,i?F(e,t,i,me.boxSizing&&"border-box"===ve.css(e,"boxSizing",!1,r),r):0)}}}),me.opacity||(ve.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=ve.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===ve.trim(o.replace(wt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=wt.test(o)?o.replace(wt,r):o+" "+r)}}),ve.cssHooks.marginRight=M(me.reliableMarginRight,function(e,t){return t?gt(e,{display:"inline-block"},bt,[e,"marginRight"]):void 0}),ve.cssHooks.marginLeft=M(me.reliableMarginLeft,function(e,t){return t?(parseFloat(bt(e,"marginLeft"))||(ve.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-gt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px":void 0}),ve.each({margin:"",padding:"",border:"Width"},function(e,t){ve.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];4>i;i++)r[e+We[i]+t]=o[i]||o[i-2]||o[0];return r}},ht.test(e)||(ve.cssHooks[e+t].set=P)}),ve.fn.extend({css:function(e,t){return Be(this,function(e,t,n){var i,r,o={},s=0;if(ve.isArray(t)){for(i=yt(e),r=t.length;r>s;s++)o[t[s]]=ve.css(e,t[s],!1,i);return o}return void 0!==n?ve.style(e,t,n):ve.css(e,t)},e,t,arguments.length>1)},show:function(){return O(this,!0)},hide:function(){return O(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ze(this)?ve(this).show():ve(this).hide()})}}),ve.Tween=W,W.prototype={constructor:W,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||ve.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(ve.cssNumber[n]?"":"px")},cur:function(){var e=W.propHooks[this.prop];return e&&e.get?e.get(this):W.propHooks._default.get(this)},run:function(e){var t,n=W.propHooks[this.prop];return this.options.duration?this.pos=t=ve.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):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.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=ve.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){ve.fx.step[e.prop]?ve.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[ve.cssProps[e.prop]]&&!ve.cssHooks[e.prop]?e.elem[e.prop]=e.now:ve.style(e.elem,e.prop,e.now+e.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ve.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ve.fx=W.prototype.init,ve.fx.step={};var Dt,jt,Lt=/^(?:toggle|show|hide)$/,qt=/queueHooks$/;ve.Animation=ve.extend(Y,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return g(n.elem,e,Re.exec(t),n),n}]},tweener:function(e,t){ve.isFunction(e)?(t=e,e=["*"]):e=e.match(_e);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)}}),ve.speed=function(e,t,n){var i=e&&"object"==typeof e?ve.extend({},e):{complete:n||!n&&t||ve.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ve.isFunction(t)&&t};return i.duration=ve.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in ve.fx.speeds?ve.fx.speeds[i.duration]:ve.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){ve.isFunction(i.old)&&i.old.call(this),i.queue&&ve.dequeue(this,i.queue)},i},ve.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ze).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=ve.isEmptyObject(e),o=ve.speed(t,n,i),s=function(){var t=Y(this,ve.extend({},e),o);(r||ve._data(this,"finish"))&&t.stop(!0)};return s.finish=s,r||o.queue===!1?this.each(s):this.queue(o.queue,s)},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=ve.timers,s=ve._data(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&qt.test(r)&&i(s[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||ve.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=ve._data(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=ve.timers,s=i?i.length:0;for(n.finish=!0,ve.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;s>t;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),ve.each(["toggle","show","hide"],function(e,t){var n=ve.fn[t];ve.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(B(t,!0),e,i,r)}}),ve.each({slideDown:B("show"),slideUp:B("hide"),slideToggle:B("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ve.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),ve.timers=[],ve.fx.tick=function(){var e,t=ve.timers,n=0;for(Dt=ve.now();n<t.length;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||ve.fx.stop(),Dt=void 0},ve.fx.timer=function(e){ve.timers.push(e),e()?ve.fx.start():ve.timers.pop()},ve.fx.interval=13,ve.fx.start=function(){jt||(jt=n.setInterval(ve.fx.tick,ve.fx.interval))},ve.fx.stop=function(){n.clearInterval(jt),jt=null},ve.fx.speeds={slow:600,fast:200,_default:400},ve.fn.delay=function(e,t){return e=ve.fx?ve.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=ae.createElement("input"),n=ae.createElement("div"),i=ae.createElement("select"),r=i.appendChild(ae.createElement("option"));n=ae.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",me.getSetAttribute="t"!==n.className,me.style=/top/.test(e.getAttribute("style")),me.hrefNormalized="/a"===e.getAttribute("href"),me.checkOn=!!t.value,me.optSelected=r.selected,me.enctype=!!ae.createElement("form").enctype,i.disabled=!0,me.optDisabled=!r.disabled,t=ae.createElement("input"),t.setAttribute("value",""),me.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),me.radioValue="t"===t.value}();var _t=/\r/g,Ht=/[\x20\t\r\n\f]+/g;ve.fn.extend({val:function(e){var t,n,i,r=this[0];{if(arguments.length)return i=ve.isFunction(e),this.each(function(n){var r;1===this.nodeType&&(r=i?e.call(this,n,ve(this).val()):e,null==r?r="":"number"==typeof r?r+="":ve.isArray(r)&&(r=ve.map(r,function(e){return null==e?"":e+""})),t=ve.valHooks[this.type]||ve.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))});if(r)return t=ve.valHooks[r.type]||ve.valHooks[r.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(_t,""):null==n?"":n)}}}),ve.extend({valHooks:{option:{get:function(e){var t=ve.find.attr(e,"value");return null!=t?t:ve.trim(ve.text(e)).replace(Ht," ")}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,o="select-one"===e.type||0>r,s=o?null:[],a=o?r+1:i.length,u=0>r?a:o?r:0;a>u;u++)if(n=i[u],(n.selected||u===r)&&(me.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ve.nodeName(n.parentNode,"optgroup"))){if(t=ve(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,i,r=e.options,o=ve.makeArray(t),s=r.length;s--;)if(i=r[s],ve.inArray(ve.valHooks.option.get(i),o)>-1)try{i.selected=n=!0}catch(a){i.scrollHeight}else i.selected=!1;return n||(e.selectedIndex=-1),r}}}}),ve.each(["radio","checkbox"],function(){ve.valHooks[this]={set:function(e,t){return ve.isArray(t)?e.checked=ve.inArray(ve(e).val(),t)>-1:void 0}},me.checkOn||(ve.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Mt,It,Ot=ve.expr.attrHandle,Pt=/^(?:checked|selected)$/i,Ft=me.getSetAttribute,Rt=me.input;ve.fn.extend({attr:function(e,t){return Be(this,ve.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ve.removeAttr(this,e)})}}),ve.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ve.prop(e,t,n):(1===o&&ve.isXMLDoc(e)||(t=t.toLowerCase(),r=ve.attrHooks[t]||(ve.expr.match.bool.test(t)?It:Mt)),void 0!==n?null===n?void ve.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=ve.find.attr(e,t),null==i?void 0:i))},attrHooks:{type:{set:function(e,t){if(!me.radioValue&&"radio"===t&&ve.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(_e);if(o&&1===e.nodeType)for(;n=o[r++];)i=ve.propFix[n]||n,ve.expr.match.bool.test(n)?Rt&&Ft||!Pt.test(n)?e[i]=!1:e[ve.camelCase("default-"+n)]=e[i]=!1:ve.attr(e,n,""),e.removeAttribute(Ft?n:i)}}),It={set:function(e,t,n){return t===!1?ve.removeAttr(e,n):Rt&&Ft||!Pt.test(n)?e.setAttribute(!Ft&&ve.propFix[n]||n,n):e[ve.camelCase("default-"+n)]=e[n]=!0,n}},ve.each(ve.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Ot[t]||ve.find.attr;Rt&&Ft||!Pt.test(t)?Ot[t]=function(e,t,i){var r,o;return i||(o=Ot[t],Ot[t]=r,r=null!=n(e,t,i)?t.toLowerCase():null,Ot[t]=o),r}:Ot[t]=function(e,t,n){return n?void 0:e[ve.camelCase("default-"+t)]?t.toLowerCase():null}}),Rt&&Ft||(ve.attrHooks.value={set:function(e,t,n){return ve.nodeName(e,"input")?void(e.defaultValue=t):Mt&&Mt.set(e,t,n)}}),Ft||(Mt={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}},Ot.id=Ot.name=Ot.coords=function(e,t,n){var i;return n?void 0:(i=e.getAttributeNode(t))&&""!==i.value?i.value:null},ve.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:void 0},set:Mt.set},ve.attrHooks.contenteditable={set:function(e,t,n){Mt.set(e,""===t?!1:t,n)}},ve.each(["width","height"],function(e,t){ve.attrHooks[t]={set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}}})),me.style||(ve.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Wt=/^(?:input|select|textarea|button|object)$/i,zt=/^(?:a|area)$/i;ve.fn.extend({prop:function(e,t){return Be(this,ve.prop,e,t,arguments.length>1)},removeProp:function(e){return e=ve.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(t){}})}}),ve.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ve.isXMLDoc(e)||(t=ve.propFix[t]||t,r=ve.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=ve.find.attr(e,"tabindex");return t?parseInt(t,10):Wt.test(e.nodeName)||zt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),me.hrefNormalized||ve.each(["href","src"],function(e,t){ve.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),me.optSelected||(ve.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)}}),ve.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ve.propFix[this.toLowerCase()]=this}),me.enctype||(ve.propFix.enctype="encoding");var Bt=/[\t\r\n\f]/g;ve.fn.extend({addClass:function(e){var t,n,i,r,o,s,a,u=0;if(ve.isFunction(e))return this.each(function(t){ve(this).addClass(e.call(this,t,V(this)))});if("string"==typeof e&&e)for(t=e.match(_e)||[];n=this[u++];)if(r=V(n),i=1===n.nodeType&&(" "+r+" ").replace(Bt," ")){for(s=0;o=t[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");a=ve.trim(i),r!==a&&ve.attr(n,"class",a)}return this},removeClass:function(e){var t,n,i,r,o,s,a,u=0;if(ve.isFunction(e))return this.each(function(t){ve(this).removeClass(e.call(this,t,V(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(_e)||[];n=this[u++];)if(r=V(n),i=1===n.nodeType&&(" "+r+" ").replace(Bt," ")){for(s=0;o=t[s++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");a=ve.trim(i),r!==a&&ve.attr(n,"class",a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ve.isFunction(e)?this.each(function(n){ve(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=ve(this),o=e.match(_e)||[];t=o[i++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==e&&"boolean"!==n||(t=V(this),t&&ve._data(this,"__className__",t),ve.attr(this,"class",t||e===!1?"":ve._data(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+V(n)+" ").replace(Bt," ").indexOf(t)>-1)return!0;return!1}}),ve.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){ve.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ve.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Xt=n.location,$t=ve.now(),Ut=/\?/,Yt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ve.parseJSON=function(e){if(n.JSON&&n.JSON.parse)return n.JSON.parse(e+"");var t,i=null,r=ve.trim(e+"");return r&&!ve.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)():ve.error("Invalid JSON: "+e)},ve.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||ve.error("Invalid XML: "+e),t};var Vt=/#.*$/,Gt=/([?&])_=[^&]*/,Jt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Qt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Kt=/^(?:GET|HEAD)$/,Zt=/^\/\//,en=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,tn={},nn={},rn="*/".concat("*"),on=Xt.href,sn=en.exec(on.toLowerCase())||[];ve.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:on,type:"GET",isLocal:Qt.test(sn[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":ve.parseJSON,"text xml":ve.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Q(Q(e,ve.ajaxSettings),t):Q(ve.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,u&&n.clearTimeout(u),c=void 0,a=r||"",T.readyState=e>0?4:0,o=e>=200&&300>e||304===e,i&&(b=K(p,T,i)),b=Z(p,b,T,o),o?(p.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(ve.lastModified[s]=w),w=T.getResponseHeader("etag"),w&&(ve.etag[s]=w)),204===e||"HEAD"===p.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?m.resolveWith(f,[d,C,T]):m.rejectWith(f,[T,C,y]),T.statusCode(v),v=void 0,l&&h.trigger(o?"ajaxSuccess":"ajaxError",[T,p,o?d:y]),g.fireWith(f,[T,C]),l&&(h.trigger("ajaxComplete",[T,p]),--ve.active||ve.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,o,s,a,u,l,c,d,p=ve.ajaxSetup({},t),f=p.context||p,h=p.context&&(f.nodeType||f.jquery)?ve(f):ve.event,m=ve.Deferred(),g=ve.Callbacks("once memory"),v=p.statusCode||{},y={},b={},x=0,w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!d)for(d={};t=Jt.exec(a);)d[t[1].toLowerCase()]=t[2];t=d[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?a: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||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>x)for(t in e)v[t]=[v[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(m.promise(T).complete=g.add,T.success=T.done,T.error=T.fail,p.url=((e||p.url||on)+"").replace(Vt,"").replace(Zt,sn[1]+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=ve.trim(p.dataType||"*").toLowerCase().match(_e)||[""],null==p.crossDomain&&(r=en.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===sn[1]&&r[2]===sn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(sn[3]||("http:"===sn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=ve.param(p.data,p.traditional)),J(tn,p,t,T),2===x)return T;l=ve.event&&p.global,l&&0===ve.active++&&ve.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Kt.test(p.type),s=p.url,p.hasContent||(p.data&&(s=p.url+=(Ut.test(s)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=Gt.test(s)?s.replace(Gt,"$1_="+$t++):s+(Ut.test(s)?"&":"?")+"_="+$t++)),p.ifModified&&(ve.lastModified[s]&&T.setRequestHeader("If-Modified-Since",ve.lastModified[s]),ve.etag[s]&&T.setRequestHeader("If-None-Match",ve.etag[s])),(p.data&&p.hasContent&&p.contentType!==!1||t.contentType)&&T.setRequestHeader("Content-Type",p.contentType),T.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+rn+"; q=0.01":""):p.accepts["*"]);for(o in p.headers)T.setRequestHeader(o,p.headers[o]);if(p.beforeSend&&(p.beforeSend.call(f,T,p)===!1||2===x))return T.abort();w="abort";for(o in{success:1,error:1,complete:1})T[o](p[o]);if(c=J(nn,p,t,T)){if(T.readyState=1,l&&h.trigger("ajaxSend",[T,p]),2===x)return T;p.async&&p.timeout>0&&(u=n.setTimeout(function(){T.abort("timeout")},p.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 ve.get(e,t,n,"json")},getScript:function(e,t){return ve.get(e,void 0,t,"script")}}),ve.each(["get","post"],function(e,t){ve[t]=function(e,n,i,r){return ve.isFunction(n)&&(r=r||i,i=n,n=void 0),ve.ajax(ve.extend({url:e,type:t,dataType:r,data:n,success:i},ve.isPlainObject(e)&&e))}}),ve._evalUrl=function(e){return ve.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},ve.fn.extend({wrapAll:function(e){if(ve.isFunction(e))return this.each(function(t){ve(this).wrapAll(e.call(this,t))});if(this[0]){var t=ve(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 ve.isFunction(e)?this.each(function(t){ve(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ve(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ve.isFunction(e);return this.each(function(n){ve(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ve.nodeName(this,"body")||ve(this).replaceWith(this.childNodes)}).end()}}),ve.expr.filters.hidden=function(e){return me.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:te(e)},ve.expr.filters.visible=function(e){return!ve.expr.filters.hidden(e)};var an=/%20/g,un=/\[\]$/,ln=/\r?\n/g,cn=/^(?:submit|button|image|reset|file)$/i,dn=/^(?:input|select|textarea|keygen)/i;ve.param=function(e,t){var n,i=[],r=function(e,t){t=ve.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ve.ajaxSettings&&ve.ajaxSettings.traditional),ve.isArray(e)||e.jquery&&!ve.isPlainObject(e))ve.each(e,function(){r(this.name,this.value)});else for(n in e)ne(n,e[n],t,r);return i.join("&").replace(an,"+")},ve.fn.extend({serialize:function(){return ve.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ve.prop(this,"elements");return e?ve.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ve(this).is(":disabled")&&dn.test(this.nodeName)&&!cn.test(e)&&(this.checked||!Xe.test(e))}).map(function(e,t){var n=ve(this).val();return null==n?null:ve.isArray(n)?ve.map(n,function(e){return{name:t.name,value:e.replace(ln,"\r\n")}}):{name:t.name,value:n.replace(ln,"\r\n")}}).get()}}),ve.ajaxSettings.xhr=void 0!==n.ActiveXObject?function(){return this.isLocal?re():ae.documentMode>8?ie():/^(get|post|head|put|delete|options)$/i.test(this.type)&&ie()||re()}:ie;var pn=0,fn={},hn=ve.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var e in fn)fn[e](void 0,!0)}),me.cors=!!hn&&"withCredentials"in hn,hn=me.ajax=!!hn,hn&&ve.ajaxTransport(function(e){if(!e.crossDomain||me.cors){var t;return{send:function(i,r){var o,s=e.xhr(),a=++pn;if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(o in i)void 0!==i[o]&&s.setRequestHeader(o,i[o]+"");s.send(e.hasContent&&e.data||null),t=function(n,i){var o,u,l;if(t&&(i||4===s.readyState))if(delete fn[a],t=void 0,s.onreadystatechange=ve.noop,i)4!==s.readyState&&s.abort();else{l={},o=s.status,"string"==typeof s.responseText&&(l.text=s.responseText);try{u=s.statusText}catch(c){u=""}o||!e.isLocal||e.crossDomain?1223===o&&(o=204):o=l.text?200:404}l&&r(o,u,l,s.getAllResponseHeaders())},e.async?4===s.readyState?n.setTimeout(t):s.onreadystatechange=fn[a]=t:t()},abort:function(){t&&t(void 0,!0)}}}}),ve.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 ve.globalEval(e),e}}}),ve.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),ve.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=ae.head||ve("head")[0]||ae.documentElement;return{send:function(i,r){t=ae.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 mn=[],gn=/(=)\?(?=&|$)|\?\?/;ve.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=mn.pop()||ve.expando+"_"+$t++;return this[e]=!0,e}}),ve.ajaxPrefilter("json jsonp",function(e,t,i){var r,o,s,a=e.jsonp!==!1&&(gn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&gn.test(e.data)&&"data");return a||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=ve.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(gn,"$1"+r):e.jsonp!==!1&&(e.url+=(Ut.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||ve.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=n[r],n[r]=function(){s=arguments},i.always(function(){void 0===o?ve(n).removeProp(r):n[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,mn.push(r)),s&&ve.isFunction(o)&&o(s[0]),s=o=void 0}),"script"):void 0}),ve.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||ae;var i=Se.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=w([e],t,r),r&&r.length&&ve(r).remove(),ve.merge([],i.childNodes))};var vn=ve.fn.load;ve.fn.load=function(e,t,n){if("string"!=typeof e&&vn)return vn.apply(this,arguments);var i,r,o,s=this,a=e.indexOf(" ");return a>-1&&(i=ve.trim(e.slice(a,e.length)),e=e.slice(0,a)),ve.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),s.length>0&&ve.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(i?ve("<div>").append(ve.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ve.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ve.fn[t]=function(e){return this.on(t,e)}}),ve.expr.filters.animated=function(e){return ve.grep(ve.timers,function(t){return e===t.elem}).length},ve.offset={setOffset:function(e,t,n){var i,r,o,s,a,u,l,c=ve.css(e,"position"),d=ve(e),p={};"static"===c&&(e.style.position="relative"),a=d.offset(),o=ve.css(e,"top"),u=ve.css(e,"left"),l=("absolute"===c||"fixed"===c)&&ve.inArray("auto",[o,u])>-1,l?(i=d.position(),s=i.top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(u)||0),ve.isFunction(t)&&(t=t.call(e,n,ve.extend({},a))),null!=t.top&&(p.top=t.top-a.top+s),null!=t.left&&(p.left=t.left-a.left+r),"using"in t?t.using.call(e,p):d.css(p)}},ve.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ve.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,ve.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"===ve.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ve.nodeName(e[0],"html")||(n=e.offset()),n.top+=ve.css(e[0],"borderTopWidth",!0),n.left+=ve.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-ve.css(i,"marginTop",!0),left:t.left-n.left-ve.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!ve.nodeName(e,"html")&&"static"===ve.css(e,"position");)e=e.offsetParent;return e||vt})}}),ve.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);ve.fn[e]=function(i){return Be(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?ve(o).scrollLeft():r,n?r:ve(o).scrollTop()):e[i]=r)},e,i,arguments.length,null)}}),ve.each(["top","left"],function(e,t){ve.cssHooks[t]=M(me.pixelPosition,function(e,n){return n?(n=bt(e,t),mt.test(n)?ve(e).position()[t]+"px":n):void 0})}),ve.each({Height:"height",Width:"width"},function(e,t){ve.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){ve.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||r===!0?"margin":"border");return Be(this,function(t,n,i){var r;return ve.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?ve.css(t,n,s):ve.style(t,n,i,s)},t,o?i:void 0,o,null)}})}),ve.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)}}),ve.fn.size=function(){return this.length},ve.fn.andSelf=ve.fn.addBack,i=[],r=function(){return ve}.apply(t,i),!(void 0!==r&&(e.exports=r));var yn=n.jQuery,bn=n.$;return ve.noConflict=function(e){return n.$===ve&&(n.$=bn),e&&n.jQuery===ve&&(n.jQuery=yn),ve},o||(n.jQuery=n.$=ve),ve})},,,,,,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(p.trim(i.substring(n,i.indexOf(";",n)))))),t}function r(e,t,n){var i,r,o,s,a="";"undefined"!=typeof t&&(n=n||{},null===t&&(t="",n.expires=-1),n.expires&&("number"==typeof n.expires||n.expires.toUTCString)&&("number"==typeof n.expires?(s=new Date,s.setTime(s.getTime()+24*n.expires*60*60*1e3)):s=n.expires,a="; expires="+s.toUTCString()),i=n.path?"; path="+n.path:"",r=n.domain?"; domain="+n.domain:"",o=n.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(t),a,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 s(){var e,t=i("_UID");return"undefined"==typeof t?0:(e=t.split("::"),"undefined"==typeof e||e.length<4?0:e)}function a(){var e=s();return 0===e?0:e[1]}function u(){var e=i("_g");return"undefined"==typeof e?"":JSON.parse(e).k}function l(){var e;0!==h.length&&(e=Math.min(p(window).height(),window.screen.availHeight),p("body").height()<=e-parseInt(h.css("height"),0)?h.addClass("bottom"):h.removeClass("bottom"))}function c(e){var t=p(e).outerHeight();e&&h.css("margin-bottom",t+"px")}function d(e){return e.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2")}var p=n(2),f=n(9),h=p("#yoho-footer"),m=p(".yoho-page"),g=p(".yoho-header");!function(){var e,t=h.children(".op-row"),n=p(".back-to-top"),i=s();l(),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 f(n[0]),e.on("tap",function(e){return p(window).scrollTop(0),e.srcEvent.preventDefault(),!1})),h.removeClass("hide")}(),function(e,t,n,i,r){var o=t.createElement(n),s=t.getElementsByTagName(n)[0];e.YohoAcquisitionObject=r,e[r]=function(){e[r].p=arguments},o.async=1,o.src=i,s.parentNode.insertBefore(o,s)}(window,document,"script","http://cdn.yoho.cn/yas-jssdk/1.0.17/yas.js","_yas"),function(){var e=a();e=0===e?"":e,window._ozuid=e,window._yas&&window._yas(1*new Date,"1.0.14","yohobuy_m",e,"","")}(),g.on("touchstart","a",function(){g.find("a").removeClass("highlight"),p(this).addClass("highlight")}).on("touchend touchcancel","a",function(){p(this).removeClass("highlight")}),m.on("touchstart",".tap-hightlight",function(){p(this).siblings(".tap-hightlight").removeClass("highlight"),p(this).addClass("highlight")}).on("touchend touchcancel",".tap-hightlight",function(){p(this).removeClass("highlight")}),p(".nav-home").on("touchstart",function(){p(".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}(),p.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===h.find(".user-name").text().length&&h.find(".user-name").html(d(h.find(".user-name").text())),window.cookie=i,window.setCookie=r,window.isCookiesEnabled=o,window.getUser=s,window.getUid=a,window.getShoppingKey=u,window.rePosFooter=l,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,s,a){"use strict";function u(e,t,n){return setTimeout(f(e,n),t)}function l(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!==a)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 p(e,t,n){var i,r=t.prototype;i=e.prototype=Object.create(r),i.constructor=e,i._super=r,n&&me(i,n)}function f(e,t){return function(){return e.apply(t,arguments)}}function h(e,t){return typeof e==ye?e.apply(t?t[0]||a:a,t):e}function m(e,t){return e===a?t:e}function g(e,t,n){c(x(t),function(t){e.addEventListener(t,n,!1)})}function v(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 s=t?e[o][t]:e[o];w(r,s)<0&&i.push(e[o]),r[o]=s,o++}return n&&(i=t?i.sort(function(e,n){return e[t]>n[t]}):i.sort()),i}function E(e,t){for(var n,i,r=t[0].toUpperCase()+t.slice(1),o=0;o<ge.length;){if(n=ge[o],i=n?n+r:t,i in e)return i;o++}return a}function k(){return Ee++}function S(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||r}function N(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){h(e.options.enable,[e])&&n.handler(t)},this.init()}function A(e){var t,n=e.options.inputClass;return new(t=n?n:Ne?z:Ae?$:Se?Y:W)(e,D)}function D(e,t,n){var i=n.pointers.length,r=n.changedPointers.length,o=t&He&&i-r===0,s=t&(Ie|Oe)&&i-r===0;n.isFirst=!!o,n.isFinal=!!s,o&&(e.session={}),n.eventType=t,j(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function j(e,t){var n=e.session,i=t.pointers,r=i.length;n.firstInput||(n.firstInput=_(t)),r>1&&!n.firstMultiple?n.firstMultiple=_(t):1===r&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,a=s?s.center:o.center,u=t.center=H(i);t.timeStamp=we(),t.deltaTime=t.timeStamp-o.timeStamp,t.angle=P(a,u),t.distance=O(a,u),L(n,t),t.offsetDirection=I(t.deltaX,t.deltaY);var l=M(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=l.x,t.overallVelocityY=l.y,t.overallVelocity=xe(l.x)>xe(l.y)?l.x:l.y,t.scale=s?R(s.pointers,i):1,t.rotation=s?F(s.pointers,i):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,q(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!==He&&o.eventType!==Ie||(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 q(e,t){var n,i,r,o,s=e.lastInterval||t,u=t.timeStamp-s.timeStamp;if(t.eventType!=Oe&&(u>_e||s.velocity===a)){var l=t.deltaX-s.deltaX,c=t.deltaY-s.deltaY,d=M(u,l,c);i=d.x,r=d.y,n=xe(d.x)>xe(d.y)?d.x:d.y,o=I(l,c),e.lastInterval=t}else n=s.velocity,i=s.velocityX,r=s.velocityY,o=s.direction;t.velocity=n,t.velocityX=i,t.velocityY=r,t.direction=o}function _(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:H(t),deltaX:e.deltaX,deltaY:e.deltaY}}function H(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 M(e,t,n){return{x:t/e||0,y:n/e||0}}function I(e,t){return e===t?Pe:xe(e)>=xe(t)?0>e?Fe:Re:0>t?We:ze}function O(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 F(e,t){return P(t[1],t[0],Ye)+P(e[1],e[0],Ye)}function R(e,t){return O(t[0],t[1],Ye)/O(e[0],e[1],Ye)}function W(){this.evEl=Ge,this.evWin=Je,this.pressed=!1,N.apply(this,arguments)}function z(){this.evEl=Ze,this.evWin=et,N.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function B(){this.evTarget=nt,this.evWin=it,this.started=!1,N.apply(this,arguments)}function X(e,t){var n=T(e.touches),i=T(e.changedTouches);return t&(Ie|Oe)&&(n=C(n.concat(i),"identifier",!0)),[n,i]}function $(){this.evTarget=ot,this.targetIds={},N.apply(this,arguments)}function U(e,t){var n=T(e.touches),i=this.targetIds;if(t&(He|Me)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,s=T(e.changedTouches),a=[],u=this.target;if(o=n.filter(function(e){return y(e.target,u)}),t===He)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<s.length;)i[s[r].identifier]&&a.push(s[r]),t&(Ie|Oe)&&delete i[s[r].identifier],r++;return a.length?[C(o.concat(a),"identifier",!0),a]:void 0}function Y(){N.apply(this,arguments);var e=f(this.handler,this);this.touch=new $(this.manager,e),this.mouse=new W(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function V(e,t){e&He?(this.primaryTouch=t.changedPointers[0].identifier,G.call(this,t)):e&(Ie|Oe)&&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,st)}}function J(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),s=Math.abs(n-r.y);if(at>=o&&at>=s)return!0}return!1}function Q(e,t){this.manager=e,this.set(t)}function K(e){if(b(e,ft))return ft;var t=b(e,ht),n=b(e,mt);return t&&n?ft:t||n?t?ht:mt:b(e,pt)?pt:dt}function Z(){if(!lt)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=me({},this.defaults,e||{}),this.id=k(),this.manager=null,this.options.enable=m(this.options.enable,!0),this.state=vt,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==ze?"down":e==We?"up":e==Fe?"left":e==Re?"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 se(){re.apply(this,arguments)}function ae(){ee.apply(this,arguments),this._timer=null,this._input=null}function ue(){re.apply(this,arguments)}function le(){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=m(t.recognizers,de.defaults.preset),new pe(e,t)}function pe(e,t){this.options=me({},de.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=A(this),this.touchAction=new Q(this,this.options.touchAction),fe(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 fe(e,t){var n=e.element;if(n.style){var i;c(e.options.cssProps,function(r,o){i=E(n.style,o),t?(e.oldCssProps[i]=n.style[i],n.style[i]=r):n.style[i]=e.oldCssProps[i]||""}),t||(e.oldCssProps={})}}function he(e,t){var n=o.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}var me,ge=["","webkit","Moz","MS","ms","o"],ve=o.createElement("div"),ye="function",be=Math.round,xe=Math.abs,we=Date.now;me="function"!=typeof Object.assign?function(e){if(e===a||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!==a&&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]]===a)&&(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`."),Ee=1,ke=/mobile|tablet|ip(ad|hone|od)|android/i,Se="ontouchstart"in r,Ne=E(r,"PointerEvent")!==a,Ae=Se&&ke.test(navigator.userAgent),De="touch",je="pen",Le="mouse",qe="kinect",_e=25,He=1,Me=2,Ie=4,Oe=8,Pe=1,Fe=2,Re=4,We=8,ze=16,Be=Fe|Re,Xe=We|ze,$e=Be|Xe,Ue=["x","y"],Ye=["clientX","clientY"];N.prototype={handler:function(){},init:function(){this.evEl&&g(this.element,this.evEl,this.domHandler),this.evTarget&&g(this.target,this.evTarget,this.domHandler),this.evWin&&g(S(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&v(this.element,this.evEl,this.domHandler),this.evTarget&&v(this.target,this.evTarget,this.domHandler),this.evWin&&v(S(this.element),this.evWin,this.domHandler)}};var Ve={mousedown:He,mousemove:Me,mouseup:Ie},Ge="mousedown",Je="mousemove mouseup";p(W,N,{handler:function(e){var t=Ve[e.type];t&He&&0===e.button&&(this.pressed=!0),t&Me&&1!==e.which&&(t=Ie),this.pressed&&(t&Ie&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:Le,srcEvent:e}))}});var Qe={pointerdown:He,pointermove:Me,pointerup:Ie,pointercancel:Oe,pointerout:Oe},Ke={2:De,3:je,4:Le,5:qe},Ze="pointerdown",et="pointermove pointerup pointercancel";r.MSPointerEvent&&!r.PointerEvent&&(Ze="MSPointerDown",et="MSPointerMove MSPointerUp MSPointerCancel"),p(z,N,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),r=Qe[i],o=Ke[e.pointerType]||e.pointerType,s=o==De,a=w(t,e.pointerId,"pointerId");r&He&&(0===e.button||s)?0>a&&(t.push(e),a=t.length-1):r&(Ie|Oe)&&(n=!0),0>a||(t[a]=e,this.callback(this.manager,r,{pointers:t,changedPointers:[e],pointerType:o,srcEvent:e}),n&&t.splice(a,1))}});var tt={touchstart:He,touchmove:Me,touchend:Ie,touchcancel:Oe},nt="touchstart",it="touchstart touchmove touchend touchcancel";p(B,N,{handler:function(e){var t=tt[e.type];if(t===He&&(this.started=!0),this.started){var n=X.call(this,e,t);t&(Ie|Oe)&&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:He,touchmove:Me,touchend:Ie,touchcancel:Oe},ot="touchstart touchmove touchend touchcancel";p($,N,{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 st=2500,at=25;p(Y,N,{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&&J.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ut=E(ve.style,"touchAction"),lt=ut!==a,ct="compute",dt="auto",pt="manipulation",ft="none",ht="pan-x",mt="pan-y",gt=Z();Q.prototype={set:function(e){e==ct&&(e=this.compute()),lt&&this.manager.element.style&>[e]&&(this.manager.element.style[ut]=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){h(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,ft)&&!gt[ft],o=b(i,mt)&&!gt[mt],s=b(i,ht)&&!gt[ht];if(r){var a=1===e.pointers.length,u=e.distance<2,l=e.deltaTime<250;if(a&&u&&l)return}return s&&o?void 0:r||o&&n&Be||s&&n&Xe?this.preventSrc(t):void 0},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var vt=1,yt=2,bt=4,xt=8,wt=xt,Tt=16,Ct=32;ee.prototype={defaults:{},set:function(e){return me(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(l(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 l(e,"dropRecognizeWith",this)?this:(e=ie(e,this),delete this.simultaneous[e.id],this)},requireFailure:function(e){if(l(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(l(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|vt)))return!1;e++}return!0},recognize:function(e){var t=me({},e);return h(this.options.enable,[this,t])?(this.state&(wt|Tt|Ct)&&(this.state=vt),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(){}},p(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&Oe||!r)?t|Tt:i||r?n&Ie?t|xt:t&yt?t|bt:yt:Ct}}),p(oe,re,{defaults:{event:"pan",threshold:10,pointers:1,direction:$e},getTouchAction:function(){var e=this.options.direction,t=[];return e&Be&&t.push(mt),e&Xe&&t.push(ht),t},directionTest:function(e){var t=this.options,n=!0,i=e.distance,r=e.direction,o=e.deltaX,s=e.deltaY;return r&t.direction||(t.direction&Be?(r=0===o?Pe:0>o?Fe:Re,n=o!=this.pX,i=Math.abs(e.deltaX)):(r=0===s?Pe:0>s?We:ze,n=s!=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)}}),p(se,re,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[ft]},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)}}),p(ae,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&(Ie|Oe)&&!r)this.reset();else if(e.eventType&He)this.reset(),this._timer=u(function(){this.state=wt,this.tryEmit()},t.time,this);else if(e.eventType&Ie)return wt;return Ct},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===wt&&(e&&e.eventType&Ie?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=we(),this.manager.emit(this.options.event,this._input)))}}),p(ue,re,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[ft]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&yt)}}),p(le,re,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Be|Xe,pointers:1},getTouchAction:function(){return oe.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(Be|Xe)?t=e.overallVelocity:n&Be?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&Ie},emit:function(e){var t=ne(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),p(ce,ee,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[pt]},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&He&&0===this.count)return this.failTimeout();if(i&&r&&n){if(e.eventType!=Ie)return this.failTimeout();var o=this.pTime?e.timeStamp-this.pTime<t.interval:!0,s=!this.pCenter||O(this.pCenter,e.center)<t.posThreshold;this.pTime=e.timeStamp,this.pCenter=e.center,s&&o?this.count+=1:this.count=1,this._input=e;var a=this.count%t.taps;if(0===a)return this.hasRequireFailures()?(this._timer=u(function(){this.state=wt,this.tryEmit()},t.interval,this),yt):wt}return Ct},failTimeout:function(){return this._timer=u(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:[[ue,{enable:!1}],[se,{enable:!1},["rotate"]],[le,{direction:Be}],[oe,{direction:Be},["swipe"]],[ce],[ce,{event:"doubletap",taps:2},["tap"]],[ae]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var Et=1,kt=2;pe.prototype={set:function(e){return me(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?kt:Et},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===kt||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(l(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(l(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!==a&&t!==a){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!==a){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&&he(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&&fe(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},me(de,{INPUT_START:He,INPUT_MOVE:Me,INPUT_END:Ie,INPUT_CANCEL:Oe,STATE_POSSIBLE:vt,STATE_BEGAN:yt,STATE_CHANGED:bt,STATE_ENDED:xt,STATE_RECOGNIZED:wt,STATE_CANCELLED:Tt,STATE_FAILED:Ct,DIRECTION_NONE:Pe,DIRECTION_LEFT:Fe,DIRECTION_RIGHT:Re,DIRECTION_UP:We,DIRECTION_DOWN:ze,DIRECTION_HORIZONTAL:Be,DIRECTION_VERTICAL:Xe,DIRECTION_ALL:$e,Manager:pe,Input:N,TouchAction:Q,TouchInput:$,MouseInput:W,PointerEventInput:z,TouchMouseInput:Y,SingleTouchInput:B,Recognizer:ee,AttrRecognizer:re,Tap:ce,Pan:oe,Swipe:le,Pinch:se,Rotate:ue,Press:ae,on:g,off:v,each:c,merge:Ce,extend:Te,assign:me,inherit:p,bindFn:f,prefixed:E});var St="undefined"!=typeof r?r:"undefined"!=typeof self?self:{};St.Hammer=de,i=function(){return de}.call(t,n,t,e),!(i!==a&&(e.exports=i))}(window,document,"Hammer")}]);