12345 |
- !function(){function parseCookieString(e,t){var n={};if(isString(e)&&e.length>0)for(var i,o,r,a=t?decode:same,s=e.split(/;\s/g),u=0,l=s.length;l>u;u++){if(r=s[u].match(/([^=]+)=/i),r instanceof Array)try{i=decode(r[1]),o=a(s[u].substring(r[1].length+1))}catch(c){}else i=decode(s[u]),o="";i&&(n[i]=o)}return n}function isString(e){return"string"==typeof e}function isNonEmptyString(e){return isString(e)&&""!==e}function validateCookieName(e){if(!isNonEmptyString(e))throw new TypeError("Cookie name must be a non-empty string")}function same(e){return e}window.jQuery||!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t="length"in e&&e.length,n=ot.type(e);return"function"===n||ot.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function i(e,t,n){if(ot.isFunction(t))return ot.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return ot.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(pt.test(t))return ot.filter(t,e,n);t=ot.filter(t,e)}return ot.grep(e,function(e){return ot.inArray(e,t)>=0!==n})}function o(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function r(e){var t=xt[e]={};return ot.each(e.match(yt)||[],function(e,n){t[n]=!0}),t}function a(){ht.addEventListener?(ht.removeEventListener("DOMContentLoaded",s,!1),e.removeEventListener("load",s,!1)):(ht.detachEvent("onreadystatechange",s),e.detachEvent("onload",s))}function s(){(ht.addEventListener||"load"===event.type||"complete"===ht.readyState)&&(a(),ot.ready())}function u(e,t,n){if(void 0===n&&1===e.nodeType){var i="data-"+t.replace(Ct,"-$1").toLowerCase();if(n=e.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Tt.test(n)?ot.parseJSON(n):n}catch(o){}ot.data(e,t,n)}else n=void 0}return n}function l(e){var t;for(t in e)if(("data"!==t||!ot.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(e,t,n,i){if(ot.acceptData(e)){var o,r,a=ot.expando,s=e.nodeType,u=s?ot.cache:e,l=s?e[a]:e[a]&&a;if(l&&u[l]&&(i||u[l].data)||void 0!==n||"string"!=typeof t)return l||(l=s?e[a]=G.pop()||ot.guid++:a),u[l]||(u[l]=s?{}:{toJSON:ot.noop}),("object"==typeof t||"function"==typeof t)&&(i?u[l]=ot.extend(u[l],t):u[l].data=ot.extend(u[l].data,t)),r=u[l],i||(r.data||(r.data={}),r=r.data),void 0!==n&&(r[ot.camelCase(t)]=n),"string"==typeof t?(o=r[t],null==o&&(o=r[ot.camelCase(t)])):o=r,o}}function d(e,t,n){if(ot.acceptData(e)){var i,o,r=e.nodeType,a=r?ot.cache:e,s=r?e[ot.expando]:ot.expando;if(a[s]){if(t&&(i=n?a[s]:a[s].data)){ot.isArray(t)?t=t.concat(ot.map(t,ot.camelCase)):t in i?t=[t]:(t=ot.camelCase(t),t=t in i?[t]:t.split(" ")),o=t.length;for(;o--;)delete i[t[o]];if(n?!l(i):!ot.isEmptyObject(i))return}(n||(delete a[s].data,l(a[s])))&&(r?ot.cleanData([e],!0):nt.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function p(){return!0}function f(){return!1}function h(){try{return ht.activeElement}catch(e){}}function g(e){var t=qt.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function m(e,t){var n,i,o=0,r=typeof e.getElementsByTagName!==_t?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==_t?e.querySelectorAll(t||"*"):void 0;if(!r)for(r=[],n=e.childNodes||e;null!=(i=n[o]);o++)!t||ot.nodeName(i,t)?r.push(i):ot.merge(r,m(i,t));return void 0===t||t&&ot.nodeName(e,t)?ot.merge([e],r):r}function v(e){jt.test(e.type)&&(e.defaultChecked=e.checked)}function b(e,t){return ot.nodeName(e,"table")&&ot.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function y(e){return e.type=(null!==ot.find.attr(e,"type"))+"/"+e.type,e}function x(e){var t=Xt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function w(e,t){for(var n,i=0;null!=(n=e[i]);i++)ot._data(n,"globalEval",!t||ot._data(t[i],"globalEval"))}function k(e,t){if(1===t.nodeType&&ot.hasData(e)){var n,i,o,r=ot._data(e),a=ot._data(t,r),s=r.events;if(s){delete a.handle,a.events={};for(n in s)for(i=0,o=s[n].length;o>i;i++)ot.event.add(t,n,s[n][i])}a.data&&(a.data=ot.extend({},a.data))}}function _(e,t){var n,i,o;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!nt.noCloneEvent&&t[ot.expando]){o=ot._data(t);for(i in o.events)ot.removeEvent(t,i,o.handle);t.removeAttribute(ot.expando)}"script"===n&&t.text!==e.text?(y(t).text=e.text,x(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),nt.html5Clone&&e.innerHTML&&!ot.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&jt.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 T(t,n){var i,o=ot(n.createElement(t)).appendTo(n.body),r=e.getDefaultComputedStyle&&(i=e.getDefaultComputedStyle(o[0]))?i.display:ot.css(o[0],"display");return o.detach(),r}function C(e){var t=ht,n=Zt[e];return n||(n=T(e,t),"none"!==n&&n||(Qt=(Qt||ot("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(Qt[0].contentWindow||Qt[0].contentDocument).document,t.write(),t.close(),n=T(e,t),Qt.detach()),Zt[e]=n),n}function E(e,t){return{get:function(){var n=e();return null!=n?n?void delete this.get:(this.get=t).apply(this,arguments):void 0}}}function N(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),i=t,o=fn.length;o--;)if(t=fn[o]+n,t in e)return t;return i}function S(e,t){for(var n,i,o,r=[],a=0,s=e.length;s>a;a++)i=e[a],i.style&&(r[a]=ot._data(i,"olddisplay"),n=i.style.display,t?(r[a]||"none"!==n||(i.style.display=""),""===i.style.display&&St(i)&&(r[a]=ot._data(i,"olddisplay",C(i.nodeName)))):(o=St(i),(n&&"none"!==n||!o)&&ot._data(i,"olddisplay",o?n:ot.css(i,"display"))));for(a=0;s>a;a++)i=e[a],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?r[a]||"":"none"));return e}function D(e,t,n){var i=ln.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function j(e,t,n,i,o){for(var r=n===(i?"border":"content")?4:"width"===t?1:0,a=0;4>r;r+=2)"margin"===n&&(a+=ot.css(e,n+Nt[r],!0,o)),i?("content"===n&&(a-=ot.css(e,"padding"+Nt[r],!0,o)),"margin"!==n&&(a-=ot.css(e,"border"+Nt[r]+"Width",!0,o))):(a+=ot.css(e,"padding"+Nt[r],!0,o),"padding"!==n&&(a+=ot.css(e,"border"+Nt[r]+"Width",!0,o)));return a}function A(e,t,n){var i=!0,o="width"===t?e.offsetWidth:e.offsetHeight,r=en(e),a=nt.boxSizing&&"border-box"===ot.css(e,"boxSizing",!1,r);if(0>=o||null==o){if(o=tn(e,t,r),(0>o||null==o)&&(o=e.style[t]),on.test(o))return o;i=a&&(nt.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+j(e,t,n||(a?"border":"content"),i,r)+"px"}function L(e,t,n,i,o){return new L.prototype.init(e,t,n,i,o)}function H(){return setTimeout(function(){hn=void 0}),hn=ot.now()}function M(e,t){var n,i={height:e},o=0;for(t=t?1:0;4>o;o+=2-t)n=Nt[o],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function F(e,t,n){for(var i,o=(xn[t]||[]).concat(xn["*"]),r=0,a=o.length;a>r;r++)if(i=o[r].call(n,t,e))return i}function q(e,t,n){var i,o,r,a,s,u,l,c,d=this,p={},f=e.style,h=e.nodeType&&St(e),g=ot._data(e,"fxshow");n.queue||(s=ot._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,ot.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],l=ot.css(e,"display"),c="none"===l?ot._data(e,"olddisplay")||C(e.nodeName):l,"inline"===c&&"none"===ot.css(e,"float")&&(nt.inlineBlockNeedsLayout&&"inline"!==C(e.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",nt.shrinkWrapBlocks()||d.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(i in t)if(o=t[i],mn.exec(o)){if(delete t[i],r=r||"toggle"===o,o===(h?"hide":"show")){if("show"!==o||!g||void 0===g[i])continue;h=!0}p[i]=g&&g[i]||ot.style(e,i)}else l=void 0;if(ot.isEmptyObject(p))"inline"===("none"===l?C(e.nodeName):l)&&(f.display=l);else{g?"hidden"in g&&(h=g.hidden):g=ot._data(e,"fxshow",{}),r&&(g.hidden=!h),h?ot(e).show():d.done(function(){ot(e).hide()}),d.done(function(){var t;ot._removeData(e,"fxshow");for(t in p)ot.style(e,t,p[t])});for(i in p)a=F(h?g[i]:0,i,d),i in g||(g[i]=a.start,h&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}}function O(e,t){var n,i,o,r,a;for(n in e)if(i=ot.camelCase(n),o=t[i],r=e[n],ot.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),a=ot.cssHooks[i],a&&"expand"in a){r=a.expand(r),delete e[i];for(n in r)n in e||(e[n]=r[n],t[n]=o)}else t[i]=o}function B(e,t,n){var i,o,r=0,a=yn.length,s=ot.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var t=hn||H(),n=Math.max(0,l.startTime+l.duration-t),i=n/l.duration||0,r=1-i,a=0,u=l.tweens.length;u>a;a++)l.tweens[a].run(r);return s.notifyWith(e,[l,r,n]),1>r&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:ot.extend({},t),opts:ot.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:hn||H(),duration:n.duration,tweens:[],createTween:function(t,n){var i=ot.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(o)return this;for(o=!0;i>n;n++)l.tweens[n].run(1);return t?s.resolveWith(e,[l,t]):s.rejectWith(e,[l,t]),this}}),c=l.props;for(O(c,l.opts.specialEasing);a>r;r++)if(i=yn[r].call(l,e,c,l.opts))return i;return ot.map(c,F,l),ot.isFunction(l.opts.start)&&l.opts.start.call(e,l),ot.fx.timer(ot.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 I(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,r=t.toLowerCase().match(yt)||[];if(ot.isFunction(n))for(;i=r[o++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function z(e,t,n,i){function o(s){var u;return r[s]=!0,ot.each(e[s]||[],function(e,s){var l=s(t,n,i);return"string"!=typeof l||a||r[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),o(l),!1)}),u}var r={},a=e===Pn;return o(t.dataTypes[0])||!r["*"]&&o("*")}function $(e,t){var n,i,o=ot.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((o[i]?e:n||(n={}))[i]=t[i]);return n&&ot.extend(!0,e,n),e}function R(e,t,n){for(var i,o,r,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===o&&(o=e.mimeType||t.getResponseHeader("Content-Type"));if(o)for(a in s)if(s[a]&&s[a].test(o)){u.unshift(a);break}if(u[0]in n)r=u[0];else{for(a in n){if(!u[0]||e.converters[a+" "+u[0]]){r=a;break}i||(i=a)}r=r||i}return r?(r!==u[0]&&u.unshift(r),n[r]):void 0}function W(e,t,n,i){var o,r,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(r=c.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!u&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=r,r=c.shift())if("*"===r)r=u;else if("*"!==u&&u!==r){if(a=l[u+" "+r]||l["* "+r],!a)for(o in l)if(s=o.split(" "),s[1]===r&&(a=l[u+" "+s[0]]||l["* "+s[0]])){a===!0?a=l[o]:l[o]!==!0&&(r=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+u+" to "+r}}}return{state:"success",data:t}}function P(e,t,n,i){var o;if(ot.isArray(t))ot.each(t,function(t,o){n||Gn.test(e)?i(e,o):P(e+"["+("object"==typeof o?t:"")+"]",o,n,i)});else if(n||"object"!==ot.type(t))i(e,t);else for(o in t)P(e+"["+o+"]",t[o],n,i)}function U(){try{return new e.XMLHttpRequest}catch(t){}}function V(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function X(e){return ot.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var G=[],Y=G.slice,K=G.concat,J=G.push,Q=G.indexOf,Z={},et=Z.toString,tt=Z.hasOwnProperty,nt={},it="1.11.3",ot=function(e,t){return new ot.fn.init(e,t)},rt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,at=/^-ms-/,st=/-([\da-z])/gi,ut=function(e,t){return t.toUpperCase()};ot.fn=ot.prototype={jquery:it,constructor:ot,selector:"",length:0,toArray:function(){return Y.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:Y.call(this)},pushStack:function(e){var t=ot.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return ot.each(this,e,t)},map:function(e){return this.pushStack(ot.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(Y.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(null)},push:J,sort:G.sort,splice:G.splice},ot.extend=ot.fn.extend=function(){var e,t,n,i,o,r,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||ot.isFunction(a)||(a={}),s===u&&(a=this,s--);u>s;s++)if(null!=(o=arguments[s]))for(i in o)e=a[i],n=o[i],a!==n&&(l&&n&&(ot.isPlainObject(n)||(t=ot.isArray(n)))?(t?(t=!1,r=e&&ot.isArray(e)?e:[]):r=e&&ot.isPlainObject(e)?e:{},a[i]=ot.extend(l,r,n)):void 0!==n&&(a[i]=n));return a},ot.extend({expando:"jQuery"+(it+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ot.type(e)},isArray:Array.isArray||function(e){return"array"===ot.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!ot.isArray(e)&&e-parseFloat(e)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==ot.type(e)||e.nodeType||ot.isWindow(e))return!1;try{if(e.constructor&&!tt.call(e,"constructor")&&!tt.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(nt.ownLast)for(t in e)return tt.call(e,t);for(t in e);return void 0===t||tt.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?Z[et.call(e)]||"object":typeof e},globalEval:function(t){t&&ot.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(at,"ms-").replace(st,ut)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,i){var o,r=0,a=e.length,s=n(e);if(i){if(s)for(;a>r&&(o=t.apply(e[r],i),o!==!1);r++);else for(r in e)if(o=t.apply(e[r],i),o===!1)break}else if(s)for(;a>r&&(o=t.call(e[r],r,e[r]),o!==!1);r++);else for(r in e)if(o=t.call(e[r],r,e[r]),o===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(rt,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(n(Object(e))?ot.merge(i,"string"==typeof e?[e]:e):J.call(i,e)),i},inArray:function(e,t,n){var i;if(t){if(Q)return Q.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,o=e.length;n>i;)e[o++]=t[i++];if(n!==n)for(;void 0!==t[i];)e[o++]=t[i++];return e.length=o,e},grep:function(e,t,n){for(var i,o=[],r=0,a=e.length,s=!n;a>r;r++)i=!t(e[r],r),i!==s&&o.push(e[r]);return o},map:function(e,t,i){var o,r=0,a=e.length,s=n(e),u=[];if(s)for(;a>r;r++)o=t(e[r],r,i),null!=o&&u.push(o);else for(r in e)o=t(e[r],r,i),null!=o&&u.push(o);return K.apply([],u)},guid:1,proxy:function(e,t){var n,i,o;return"string"==typeof t&&(o=e[t],t=e,e=o),ot.isFunction(e)?(n=Y.call(arguments,2),i=function(){return e.apply(t||this,n.concat(Y.call(arguments)))},i.guid=e.guid=e.guid||ot.guid++,i):void 0},now:function(){return+new Date},support:nt}),ot.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){Z["[object "+t+"]"]=t.toLowerCase()});var lt=function(e){function t(e,t,n,i){var o,r,a,s,u,l,d,f,h,g;if((t?t.ownerDocument||t:z)!==L&&A(t),t=t||L,n=n||[],s=t.nodeType,"string"!=typeof e||!e||1!==s&&9!==s&&11!==s)return n;if(!i&&M){if(11!==s&&(o=bt.exec(e)))if(a=o[1]){if(9===s){if(r=t.getElementById(a),!r||!r.parentNode)return n;if(r.id===a)return n.push(r),n}else if(t.ownerDocument&&(r=t.ownerDocument.getElementById(a))&&B(t,r)&&r.id===a)return n.push(r),n}else{if(o[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((a=o[3])&&w.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(a)),n}if(w.qsa&&(!F||!F.test(e))){if(f=d=I,h=t,g=1!==s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(l=C(e),(d=t.getAttribute("id"))?f=d.replace(xt,"\\$&"):t.setAttribute("id",f),f="[id='"+f+"'] ",u=l.length;u--;)l[u]=f+p(l[u]);h=yt.test(e)&&c(t.parentNode)||t,g=l.join(",")}if(g)try{return Q.apply(n,h.querySelectorAll(g)),n}catch(m){}finally{d||t.removeAttribute("id")}}}return N(e.replace(ut,"$1"),t,n,i)}function n(){function e(n,i){return t.push(n+" ")>k.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function i(e){return e[I]=!0,e}function o(e){var t=L.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function r(e,t){for(var n=e.split("|"),i=e.length;i--;)k.attrHandle[n[i]]=t}function a(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||X)-(~e.sourceIndex||X);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function 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 o,r=e([],n.length,t),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))})})}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,o=n&&"parentNode"===i,r=R++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,a){var s,u,l=[$,r];if(a){for(;t=t[i];)if((1===t.nodeType||o)&&e(t,n,a))return!0}else for(;t=t[i];)if(1===t.nodeType||o){if(u=t[I]||(t[I]={}),(s=u[i])&&s[0]===$&&s[1]===r)return l[2]=s[2];if(u[i]=l,l[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function g(e,n,i){for(var o=0,r=n.length;r>o;o++)t(e,n[o],i);return i}function m(e,t,n,i,o){for(var r,a=[],s=0,u=e.length,l=null!=t;u>s;s++)(r=e[s])&&(!n||n(r,i,o))&&(a.push(r),l&&t.push(s));return a}function v(e,t,n,o,r,a){return o&&!o[I]&&(o=v(o)),r&&!r[I]&&(r=v(r,a)),i(function(i,a,s,u){var l,c,d,p=[],f=[],h=a.length,v=i||g(t||"*",s.nodeType?[s]:s,[]),b=!e||!i&&t?v:m(v,p,e,s,u),y=n?r||(i?e:h||o)?[]:a:b;if(n&&n(b,y,s,u),o)for(l=m(y,f),o(l,[],s,u),c=l.length;c--;)(d=l[c])&&(y[f[c]]=!(b[f[c]]=d));if(i){if(r||e){if(r){for(l=[],c=y.length;c--;)(d=y[c])&&l.push(b[c]=d);r(null,y=[],l,u)}for(c=y.length;c--;)(d=y[c])&&(l=r?et(i,d):p[c])>-1&&(i[l]=!(a[l]=d))}}else y=m(y===a?y.splice(h,y.length):y),r?r(null,a,y,u):Q.apply(a,y)})}function b(e){for(var t,n,i,o=e.length,r=k.relative[e[0].type],a=r||k.relative[" "],s=r?1:0,u=f(function(e){return e===t},a,!0),l=f(function(e){return et(t,e)>-1},a,!0),c=[function(e,n,i){var o=!r&&(i||n!==S)||((t=n).nodeType?u(e,n,i):l(e,n,i));return t=null,o}];o>s;s++)if(n=k.relative[e[s].type])c=[f(h(c),n)];else{if(n=k.filter[e[s].type].apply(null,e[s].matches),n[I]){for(i=++s;o>i&&!k.relative[e[i].type];i++);return v(s>1&&h(c),s>1&&p(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ut,"$1"),n,i>s&&b(e.slice(s,i)),o>i&&b(e=e.slice(i)),o>i&&p(e))}c.push(n)}return h(c)}function y(e,n){var o=n.length>0,r=e.length>0,a=function(i,a,s,u,l){var c,d,p,f=0,h="0",g=i&&[],v=[],b=S,y=i||r&&k.find.TAG("*",l),x=$+=null==b?1:Math.random()||.1,w=y.length;for(l&&(S=a!==L&&a);h!==w&&null!=(c=y[h]);h++){if(r&&c){for(d=0;p=e[d++];)if(p(c,a,s)){u.push(c);break}l&&($=x)}o&&((c=!p&&c)&&f--,i&&g.push(c))}if(f+=h,o&&h!==f){for(d=0;p=n[d++];)p(g,v,a,s);if(i){if(f>0)for(;h--;)g[h]||v[h]||(v[h]=K.call(u));v=m(v)}Q.apply(u,v),l&&!i&&v.length>0&&f+n.length>1&&t.uniqueSort(u)}return l&&($=x,S=b),g};return o?i(a):a}var x,w,k,_,T,C,E,N,S,D,j,A,L,H,M,F,q,O,B,I="sizzle"+1*new Date,z=e.document,$=0,R=0,W=n(),P=n(),U=n(),V=function(e,t){return e===t&&(j=!0),0},X=1<<31,G={}.hasOwnProperty,Y=[],K=Y.pop,J=Y.push,Q=Y.push,Z=Y.slice,et=function(e,t){for(var n=0,i=e.length;i>n;n++)if(e[n]===t)return n;return-1},tt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot=it.replace("w","w#"),rt="\\["+nt+"*("+it+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ot+"))|)"+nt+"*\\]",at=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+rt+")*)|.*)\\)|)",st=new RegExp(nt+"+","g"),ut=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),lt=new RegExp("^"+nt+"*,"+nt+"*"),ct=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),dt=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),pt=new RegExp(at),ft=new RegExp("^"+ot+"$"),ht={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it.replace("w","w*")+")"),ATTR:new RegExp("^"+rt),PSEUDO:new RegExp("^"+at),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+tt+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},gt=/^(?:input|select|textarea|button)$/i,mt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,bt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,xt=/'|\\/g,wt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),kt=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)},_t=function(){A()};try{Q.apply(Y=Z.call(z.childNodes),z.childNodes),Y[z.childNodes.length].nodeType}catch(Tt){Q={apply:Y.length?function(e,t){J.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}w=t.support={},T=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},A=t.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:z;return i!==L&&9===i.nodeType&&i.documentElement?(L=i,H=i.documentElement,n=i.defaultView,n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",_t,!1):n.attachEvent&&n.attachEvent("onunload",_t)),M=!T(i),w.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=o(function(e){return e.appendChild(i.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=vt.test(i.getElementsByClassName),w.getById=o(function(e){return H.appendChild(e).id=I,!i.getElementsByName||!i.getElementsByName(I).length}),w.getById?(k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&M){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},k.filter.ID=function(e){var t=e.replace(wt,kt);return function(e){return e.getAttribute("id")===t}}):(delete k.find.ID,k.filter.ID=function(e){var t=e.replace(wt,kt);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),k.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=[],o=0,r=t.getElementsByTagName(e);if("*"===e){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},k.find.CLASS=w.getElementsByClassName&&function(e,t){return M?t.getElementsByClassName(e):void 0},q=[],F=[],(w.qsa=vt.test(i.querySelectorAll))&&(o(function(e){H.appendChild(e).innerHTML="<a id='"+I+"'></a><select id='"+I+"-\f]' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&F.push("[*^$]="+nt+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||F.push("\\["+nt+"*(?:value|"+tt+")"),e.querySelectorAll("[id~="+I+"-]").length||F.push("~="),e.querySelectorAll(":checked").length||F.push(":checked"),e.querySelectorAll("a#"+I+"+*").length||F.push(".#.+[+~]")}),o(function(e){var t=i.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&F.push("name"+nt+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||F.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),F.push(",.*:")})),(w.matchesSelector=vt.test(O=H.matches||H.webkitMatchesSelector||H.mozMatchesSelector||H.oMatchesSelector||H.msMatchesSelector))&&o(function(e){w.disconnectedMatch=O.call(e,"div"),O.call(e,"[s!='']:x"),q.push("!=",at)}),F=F.length&&new RegExp(F.join("|")),q=q.length&&new RegExp(q.join("|")),t=vt.test(H.compareDocumentPosition),B=t||vt.test(H.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},V=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===i||e.ownerDocument===z&&B(z,e)?-1:t===i||t.ownerDocument===z&&B(z,t)?1:D?et(D,e)-et(D,t):0:4&n?-1:1)}:function(e,t){if(e===t)return j=!0,0;var n,o=0,r=e.parentNode,s=t.parentNode,u=[e],l=[t];if(!r||!s)return e===i?-1:t===i?1:r?-1:s?1:D?et(D,e)-et(D,t):0;if(r===s)return a(e,t);for(n=e;n=n.parentNode;)u.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;u[o]===l[o];)o++;return o?a(u[o],l[o]):u[o]===z?-1:l[o]===z?1:0},i):L},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==L&&A(e),n=n.replace(dt,"='$1']"),!(!w.matchesSelector||!M||q&&q.test(n)||F&&F.test(n)))try{var i=O.call(e,n);if(i||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(o){}return t(n,L,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==L&&A(e),B(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==L&&A(e);var n=k.attrHandle[t.toLowerCase()],i=n&&G.call(k.attrHandle,t.toLowerCase())?n(e,t,!M):void 0;return void 0!==i?i:w.attributes||!M?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,o=0;if(j=!w.detectDuplicates,D=!w.sortStable&&e.slice(0),e.sort(V),j){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)e.splice(n[i],1)}return D=null,e},_=t.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=_(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=_(t);return n},k=t.selectors={cacheLength:50,createPseudo:i,match:ht,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(wt,kt),e[3]=(e[3]||e[4]||e[5]||"").replace(wt,kt),"~="===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 ht.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&pt.test(n)&&(t=C(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(wt,kt).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+nt+")"+e+"("+nt+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(o){var r=t.attr(o,e);return null==r?"!="===n:n?(r+="","="===n?r===i:"!="===n?r!==i:"^="===n?i&&0===r.indexOf(i):"*="===n?i&&r.indexOf(i)>-1:"$="===n?i&&r.slice(-i.length)===i:"~="===n?(" "+r.replace(st," ")+" ").indexOf(i)>-1:"|="===n?r===i||r.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(e,t,n,i,o){var r="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var l,c,d,p,f,h,g=r!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),b=!u&&!s;if(m){if(r){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&b){for(c=m[I]||(m[I]={}),l=c[e]||[],f=l[0]===$&&l[1],p=l[0]===$&&l[2],d=f&&m.childNodes[f];d=++f&&d&&d[g]||(p=f=0)||h.pop();)if(1===d.nodeType&&++p&&d===t){c[e]=[$,f,p];break}}else if(b&&(l=(t[I]||(t[I]={}))[e])&&l[0]===$)p=l[1];else for(;(d=++f&&d&&d[g]||(p=f=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++p||(b&&((d[I]||(d[I]={}))[e]=[$,p]),d!==t)););return p-=o,p===i||p%i===0&&p/i>=0}}},PSEUDO:function(e,n){var o,r=k.pseudos[e]||k.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return r[I]?r(n):r.length>1?(o=[e,e,"",n],k.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var i,o=r(e,n),a=o.length;a--;)i=et(e,o[a]),e[i]=!(t[i]=o[a])}):function(e){return r(e,0,o)}):r}},pseudos:{not:i(function(e){var t=[],n=[],o=E(e.replace(ut,"$1"));return o[I]?i(function(e,t,n,i){for(var r,a=o(e,null,i,[]),s=e.length;s--;)(r=a[s])&&(e[s]=!(t[s]=r))}):function(e,i,r){return t[0]=e,o(t,null,r,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(wt,kt),function(t){return(t.textContent||t.innerText||_(t)).indexOf(e)>-1}}),lang:i(function(e){return ft.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(wt,kt).toLowerCase(),function(t){var n;do if(n=M?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===H},focus:function(e){return e===L.activeElement&&(!L.hasFocus||L.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!k.pseudos.empty(e)},header:function(e){return mt.test(e.nodeName)},input:function(e){return gt.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})}},k.pseudos.nth=k.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[x]=s(x);for(x in{submit:!0,reset:!0})k.pseudos[x]=u(x);return d.prototype=k.filters=k.pseudos,k.setFilters=new d,C=t.tokenize=function(e,n){var i,o,r,a,s,u,l,c=P[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=k.preFilter;s;){(!i||(o=lt.exec(s)))&&(o&&(s=s.slice(o[0].length)||s),u.push(r=[])),i=!1,(o=ct.exec(s))&&(i=o.shift(),r.push({value:i,type:o[0].replace(ut," ")}),s=s.slice(i.length));for(a in k.filter)!(o=ht[a].exec(s))||l[a]&&!(o=l[a](o))||(i=o.shift(),r.push({value:i,type:a,matches:o}),s=s.slice(i.length));if(!i)break}return n?s.length:s?t.error(e):P(e,u).slice(0)},E=t.compile=function(e,t){var n,i=[],o=[],r=U[e+" "];if(!r){for(t||(t=C(e)),n=t.length;n--;)r=b(t[n]),r[I]?i.push(r):o.push(r);r=U(e,y(o,i)),r.selector=e}return r},N=t.select=function(e,t,n,i){var o,r,a,s,u,l="function"==typeof e&&e,d=!i&&C(e=l.selector||e);if(n=n||[],1===d.length){if(r=d[0]=d[0].slice(0),r.length>2&&"ID"===(a=r[0]).type&&w.getById&&9===t.nodeType&&M&&k.relative[r[1].type]){if(t=(k.find.ID(a.matches[0].replace(wt,kt),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(o=ht.needsContext.test(e)?0:r.length;o--&&(a=r[o],!k.relative[s=a.type]);)if((u=k.find[s])&&(i=u(a.matches[0].replace(wt,kt),yt.test(r[0].type)&&c(t.parentNode)||t))){if(r.splice(o,1),e=i.length&&p(r),!e)return Q.apply(n,i),n;break}}return(l||E(e,d))(i,t,!M,n,yt.test(e)&&c(t.parentNode)||t),n},w.sortStable=I.split("").sort(V).join("")===I,w.detectDuplicates=!!j,A(),w.sortDetached=o(function(e){return 1&e.compareDocumentPosition(L.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||r("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||r("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||r(tt,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}(e);ot.find=lt,ot.expr=lt.selectors,ot.expr[":"]=ot.expr.pseudos,ot.unique=lt.uniqueSort,ot.text=lt.getText,ot.isXMLDoc=lt.isXML,ot.contains=lt.contains;var ct=ot.expr.match.needsContext,dt=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,pt=/^.[^:#\[\.,]*$/;ot.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?ot.find.matchesSelector(i,e)?[i]:[]:ot.find.matches(e,ot.grep(t,function(e){return 1===e.nodeType}))},ot.fn.extend({find:function(e){var t,n=[],i=this,o=i.length;if("string"!=typeof e)return this.pushStack(ot(e).filter(function(){for(t=0;o>t;t++)if(ot.contains(i[t],this))return!0}));for(t=0;o>t;t++)ot.find(e,i[t],n);return n=this.pushStack(o>1?ot.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(i(this,e||[],!1))},not:function(e){return this.pushStack(i(this,e||[],!0))},is:function(e){return!!i(this,"string"==typeof e&&ct.test(e)?ot(e):e||[],!1).length}});var ft,ht=e.document,gt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,mt=ot.fn.init=function(e,t){var n,i;if(!e)return this;if("string"==typeof e){if(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:gt.exec(e),!n||!n[1]&&t)return!t||t.jquery?(t||ft).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof ot?t[0]:t,ot.merge(this,ot.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:ht,!0)),dt.test(n[1])&&ot.isPlainObject(t))for(n in t)ot.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if(i=ht.getElementById(n[2]),i&&i.parentNode){if(i.id!==n[2])return ft.find(e);this.length=1,this[0]=i}return this.context=ht,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ot.isFunction(e)?"undefined"!=typeof ft.ready?ft.ready(e):e(ot):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ot.makeArray(e,this))};mt.prototype=ot.fn,ft=ot(ht);var vt=/^(?:parents|prev(?:Until|All))/,bt={children:!0,contents:!0,next:!0,prev:!0};ot.extend({dir:function(e,t,n){for(var i=[],o=e[t];o&&9!==o.nodeType&&(void 0===n||1!==o.nodeType||!ot(o).is(n));)1===o.nodeType&&i.push(o),o=o[t];return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),ot.fn.extend({has:function(e){var t,n=ot(e,this),i=n.length;return this.filter(function(){for(t=0;i>t;t++)if(ot.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,i=0,o=this.length,r=[],a=ct.test(e)||"string"!=typeof e?ot(e,t||this.context):0;o>i;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&ot.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?ot.unique(r):r)},index:function(e){return e?"string"==typeof e?ot.inArray(this[0],ot(e)):ot.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ot.unique(ot.merge(this.get(),ot(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ot.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ot.dir(e,"parentNode")},parentsUntil:function(e,t,n){return ot.dir(e,"parentNode",n)},next:function(e){return o(e,"nextSibling")},prev:function(e){return o(e,"previousSibling")},nextAll:function(e){return ot.dir(e,"nextSibling")},prevAll:function(e){return ot.dir(e,"previousSibling")},nextUntil:function(e,t,n){return ot.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return ot.dir(e,"previousSibling",n)},siblings:function(e){return ot.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return ot.sibling(e.firstChild)},contents:function(e){return ot.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:ot.merge([],e.childNodes)}},function(e,t){ot.fn[e]=function(n,i){var o=ot.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=ot.filter(i,o)),this.length>1&&(bt[e]||(o=ot.unique(o)),vt.test(e)&&(o=o.reverse())),this.pushStack(o)}});var yt=/\S+/g,xt={};ot.Callbacks=function(e){e="string"==typeof e?xt[e]||r(e):ot.extend({},e);var t,n,i,o,a,s,u=[],l=!e.once&&[],c=function(r){for(n=e.memory&&r,i=!0,a=s||0,s=0,o=u.length,t=!0;u&&o>a;a++)if(u[a].apply(r[0],r[1])===!1&&e.stopOnFalse){n=!1;break}t=!1,u&&(l?l.length&&c(l.shift()):n?u=[]:d.disable())},d={add:function(){if(u){var i=u.length;!function r(t){ot.each(t,function(t,n){var i=ot.type(n);"function"===i?e.unique&&d.has(n)||u.push(n):n&&n.length&&"string"!==i&&r(n)})}(arguments),t?o=u.length:n&&(s=i,c(n))}return this},remove:function(){return u&&ot.each(arguments,function(e,n){for(var i;(i=ot.inArray(n,u,i))>-1;)u.splice(i,1),t&&(o>=i&&o--,a>=i&&a--)}),this},has:function(e){return e?ot.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],o=0,this},disable:function(){return u=l=n=void 0,this},disabled:function(){return!u},lock:function(){return l=void 0,n||d.disable(),this},locked:function(){return!l},fireWith:function(e,n){return!u||i&&!l||(n=n||[],n=[e,n.slice?n.slice():n],t?l.push(n):c(n)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},ot.extend({Deferred:function(e){var t=[["resolve","done",ot.Callbacks("once memory"),"resolved"],["reject","fail",ot.Callbacks("once memory"),"rejected"],["notify","progress",ot.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ot.Deferred(function(n){ot.each(t,function(t,r){var a=ot.isFunction(e[t])&&e[t];o[r[1]](function(){var e=a&&a.apply(this,arguments);e&&ot.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[r[0]+"With"](this===i?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ot.extend(e,i):i}},o={};return i.pipe=i.then,ot.each(t,function(e,r){var a=r[2],s=r[3];i[r[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),o[r[0]]=function(){return o[r[0]+"With"](this===o?i:this,arguments),this},o[r[0]+"With"]=a.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t,n,i,o=0,r=Y.call(arguments),a=r.length,s=1!==a||e&&ot.isFunction(e.promise)?a:0,u=1===s?e:ot.Deferred(),l=function(e,n,i){return function(o){n[e]=this,i[e]=arguments.length>1?Y.call(arguments):o,i===t?u.notifyWith(n,i):--s||u.resolveWith(n,i)}};if(a>1)for(t=new Array(a),n=new Array(a),i=new Array(a);a>o;o++)r[o]&&ot.isFunction(r[o].promise)?r[o].promise().done(l(o,i,r)).fail(u.reject).progress(l(o,n,t)):--s;return s||u.resolveWith(i,r),u.promise()}});var wt;ot.fn.ready=function(e){return ot.ready.promise().done(e),this},ot.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ot.readyWait++:ot.ready(!0)},ready:function(e){if(e===!0?!--ot.readyWait:!ot.isReady){if(!ht.body)return setTimeout(ot.ready);ot.isReady=!0,e!==!0&&--ot.readyWait>0||(wt.resolveWith(ht,[ot]),ot.fn.triggerHandler&&(ot(ht).triggerHandler("ready"),ot(ht).off("ready")))}}}),ot.ready.promise=function(t){if(!wt)if(wt=ot.Deferred(),"complete"===ht.readyState)setTimeout(ot.ready);else if(ht.addEventListener)ht.addEventListener("DOMContentLoaded",s,!1),e.addEventListener("load",s,!1);else{ht.attachEvent("onreadystatechange",s),e.attachEvent("onload",s);var n=!1;try{n=null==e.frameElement&&ht.documentElement}catch(i){}n&&n.doScroll&&!function o(){if(!ot.isReady){try{n.doScroll("left")}catch(e){return setTimeout(o,50)}a(),ot.ready()}}()}return wt.promise(t)};var kt,_t="undefined";for(kt in ot(nt))break;nt.ownLast="0"!==kt,nt.inlineBlockNeedsLayout=!1,ot(function(){var e,t,n,i;n=ht.getElementsByTagName("body")[0],n&&n.style&&(t=ht.createElement("div"),i=ht.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),typeof t.style.zoom!==_t&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",nt.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(i))}),function(){var e=ht.createElement("div");if(null==nt.deleteExpando){nt.deleteExpando=!0;try{delete e.test}catch(t){nt.deleteExpando=!1}}e=null}(),ot.acceptData=function(e){var t=ot.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return 1!==n&&9!==n?!1:!t||t!==!0&&e.getAttribute("classid")===t};var Tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ct=/([A-Z])/g;ot.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?ot.cache[e[ot.expando]]:e[ot.expando],!!e&&!l(e)},data:function(e,t,n){return c(e,t,n)},removeData:function(e,t){return d(e,t)},_data:function(e,t,n){return c(e,t,n,!0)},_removeData:function(e,t){return d(e,t,!0)}}),ot.fn.extend({data:function(e,t){var n,i,o,r=this[0],a=r&&r.attributes;if(void 0===e){if(this.length&&(o=ot.data(r),1===r.nodeType&&!ot._data(r,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(i=a[n].name,0===i.indexOf("data-")&&(i=ot.camelCase(i.slice(5)),u(r,i,o[i])));ot._data(r,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){ot.data(this,e)}):arguments.length>1?this.each(function(){ot.data(this,e,t)}):r?u(r,e,ot.data(r,e)):void 0},removeData:function(e){return this.each(function(){ot.removeData(this,e)})}}),ot.extend({queue:function(e,t,n){var i;return e?(t=(t||"fx")+"queue",i=ot._data(e,t),n&&(!i||ot.isArray(n)?i=ot._data(e,t,ot.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=ot.queue(e,t),i=n.length,o=n.shift(),r=ot._queueHooks(e,t),a=function(){ot.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,a,r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ot._data(e,n)||ot._data(e,n,{empty:ot.Callbacks("once memory").add(function(){ot._removeData(e,t+"queue"),ot._removeData(e,n)})})}}),ot.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ot.queue(this[0],e):void 0===t?this:this.each(function(){var n=ot.queue(this,e,t);ot._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ot.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ot.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=ot.Deferred(),r=this,a=this.length,s=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=ot._data(r[a],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(t)}});var Et=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Nt=["Top","Right","Bottom","Left"],St=function(e,t){return e=t||e,"none"===ot.css(e,"display")||!ot.contains(e.ownerDocument,e)},Dt=ot.access=function(e,t,n,i,o,r,a){var s=0,u=e.length,l=null==n;if("object"===ot.type(n)){o=!0;for(s in n)ot.access(e,t,s,n[s],!0,r,a)}else if(void 0!==i&&(o=!0,ot.isFunction(i)||(a=!0),l&&(a?(t.call(e,i),t=null):(l=t,t=function(e,t,n){return l.call(ot(e),n)})),t))for(;u>s;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return o?e:l?t.call(e):u?t(e[0],n):r},jt=/^(?:checkbox|radio)$/i;!function(){var e=ht.createElement("input"),t=ht.createElement("div"),n=ht.createDocumentFragment();if(t.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",nt.leadingWhitespace=3===t.firstChild.nodeType,nt.tbody=!t.getElementsByTagName("tbody").length,nt.htmlSerialize=!!t.getElementsByTagName("link").length,nt.html5Clone="<:nav></:nav>"!==ht.createElement("nav").cloneNode(!0).outerHTML,e.type="checkbox",e.checked=!0,n.appendChild(e),nt.appendChecked=e.checked,t.innerHTML="<textarea>x</textarea>",nt.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,n.appendChild(t),t.innerHTML="<input type='radio' checked='checked' name='t'/>",nt.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,nt.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){nt.noCloneEvent=!1}),t.cloneNode(!0).click()),null==nt.deleteExpando){nt.deleteExpando=!0;try{delete t.test}catch(i){nt.deleteExpando=!1}}}(),function(){var t,n,i=ht.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(nt[t+"Bubbles"]=n in e)||(i.setAttribute(n,"t"),nt[t+"Bubbles"]=i.attributes[n].expando===!1);i=null}();var At=/^(?:input|select|textarea)$/i,Lt=/^key/,Ht=/^(?:mouse|pointer|contextmenu)|click/,Mt=/^(?:focusinfocus|focusoutblur)$/,Ft=/^([^.]*)(?:\.(.+)|)$/;ot.event={global:{},add:function(e,t,n,i,o){var r,a,s,u,l,c,d,p,f,h,g,m=ot._data(e);if(m){for(n.handler&&(u=n,n=u.handler,o=u.selector),n.guid||(n.guid=ot.guid++),(a=m.events)||(a=m.events={}),(c=m.handle)||(c=m.handle=function(e){return typeof ot===_t||e&&ot.event.triggered===e.type?void 0:ot.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(yt)||[""],s=t.length;s--;)r=Ft.exec(t[s])||[],f=g=r[1],h=(r[2]||"").split(".").sort(),f&&(l=ot.event.special[f]||{},f=(o?l.delegateType:l.bindType)||f,l=ot.event.special[f]||{},d=ot.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&ot.expr.match.needsContext.test(o),namespace:h.join(".")},u),(p=a[f])||(p=a[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)),o?p.splice(p.delegateCount++,0,d):p.push(d),ot.event.global[f]=!0);e=null}},remove:function(e,t,n,i,o){var r,a,s,u,l,c,d,p,f,h,g,m=ot.hasData(e)&&ot._data(e);if(m&&(c=m.events)){for(t=(t||"").match(yt)||[""],l=t.length;l--;)if(s=Ft.exec(t[l])||[],f=g=s[1],h=(s[2]||"").split(".").sort(),f){for(d=ot.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,p=c[f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=r=p.length;r--;)a=p[r],!o&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||i&&i!==a.selector&&("**"!==i||!a.selector)||(p.splice(r,1),a.selector&&p.delegateCount--,d.remove&&d.remove.call(e,a));u&&!p.length&&(d.teardown&&d.teardown.call(e,h,m.handle)!==!1||ot.removeEvent(e,f,m.handle),delete c[f])}else for(f in c)ot.event.remove(e,f+t[l],n,i,!0);ot.isEmptyObject(c)&&(delete m.handle,ot._removeData(e,"events"))}},trigger:function(t,n,i,o){var r,a,s,u,l,c,d,p=[i||ht],f=tt.call(t,"type")?t.type:t,h=tt.call(t,"namespace")?t.namespace.split("."):[];if(s=c=i=i||ht,3!==i.nodeType&&8!==i.nodeType&&!Mt.test(f+ot.event.triggered)&&(f.indexOf(".")>=0&&(h=f.split("."),f=h.shift(),h.sort()),a=f.indexOf(":")<0&&"on"+f,t=t[ot.expando]?t:new ot.Event(f,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=h.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:ot.makeArray(n,[t]),l=ot.event.special[f]||{},o||!l.trigger||l.trigger.apply(i,n)!==!1)){if(!o&&!l.noBubble&&!ot.isWindow(i)){for(u=l.delegateType||f,Mt.test(u+f)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(i.ownerDocument||ht)&&p.push(c.defaultView||c.parentWindow||e)}for(d=0;(s=p[d++])&&!t.isPropagationStopped();)t.type=d>1?u:l.bindType||f,r=(ot._data(s,"events")||{})[t.type]&&ot._data(s,"handle"),r&&r.apply(s,n),r=a&&s[a],r&&r.apply&&ot.acceptData(s)&&(t.result=r.apply(s,n),t.result===!1&&t.preventDefault());if(t.type=f,!o&&!t.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),n)===!1)&&ot.acceptData(i)&&a&&i[f]&&!ot.isWindow(i)){c=i[a],c&&(i[a]=null),ot.event.triggered=f;try{i[f]()}catch(g){}ot.event.triggered=void 0,c&&(i[a]=c)}return t.result}},dispatch:function(e){e=ot.event.fix(e);var t,n,i,o,r,a=[],s=Y.call(arguments),u=(ot._data(this,"events")||{})[e.type]||[],l=ot.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(a=ot.event.handlers.call(this,e,u),t=0;(o=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,r=0;(i=o.handlers[r++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,n=((ot.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s),void 0!==n&&(e.result=n)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,o,r,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],r=0;s>r;r++)i=t[r],n=i.selector+" ",void 0===o[n]&&(o[n]=i.needsContext?ot(n,this).index(u)>=0:ot.find(n,this,null,[u]).length),o[n]&&o.push(i);o.length&&a.push({elem:u,handlers:o})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[ot.expando])return e;var t,n,i,o=e.type,r=e,a=this.fixHooks[o];for(a||(this.fixHooks[o]=a=Ht.test(o)?this.mouseHooks:Lt.test(o)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,e=new ot.Event(r),t=i.length;t--;)n=i[t],e[n]=r[n];return e.target||(e.target=r.srcElement||ht),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,r):e},props:"altKey bubbles cancelable ctrlKey currentTarget 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,o,r=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=e.target.ownerDocument||ht,o=i.documentElement,n=i.body,e.pageX=t.clientX+(o&&o.scrollLeft||n&&n.scrollLeft||0)-(o&&o.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(o&&o.scrollTop||n&&n.scrollTop||0)-(o&&o.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===r||(e.which=1&r?1:2&r?3:4&r?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==h()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===h()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return ot.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(e){return ot.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,i){var o=ot.extend(new ot.Event,n,{type:e,isSimulated:!0,originalEvent:{}});i?ot.event.trigger(o,null,t):ot.event.dispatch.call(t,o),o.isDefaultPrevented()&&n.preventDefault()}},ot.removeEvent=ht.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var i="on"+t;e.detachEvent&&(typeof e[i]===_t&&(e[i]=null),e.detachEvent(i,n))},ot.Event=function(e,t){return this instanceof ot.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?p:f):this.type=e,t&&ot.extend(this,t),this.timeStamp=e&&e.timeStamp||ot.now(),void(this[ot.expando]=!0)):new ot.Event(e,t)},ot.Event.prototype={isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=p,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=p,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=p,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},ot.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){ot.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,o=e.relatedTarget,r=e.handleObj;return(!o||o!==i&&!ot.contains(i,o))&&(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}}),nt.submitBubbles||(ot.event.special.submit={setup:function(){return ot.nodeName(this,"form")?!1:void ot.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=ot.nodeName(t,"input")||ot.nodeName(t,"button")?t.form:void 0;n&&!ot._data(n,"submitBubbles")&&(ot.event.add(n,"submit._submit",function(e){e._submit_bubble=!0}),ot._data(n,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&ot.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return ot.nodeName(this,"form")?!1:void ot.event.remove(this,"._submit")}}),nt.changeBubbles||(ot.event.special.change={setup:function(){return At.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(ot.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),ot.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),ot.event.simulate("change",this,e,!0)})),!1):void ot.event.add(this,"beforeactivate._change",function(e){var t=e.target;At.test(t.nodeName)&&!ot._data(t,"changeBubbles")&&(ot.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||ot.event.simulate("change",this.parentNode,e,!0)}),ot._data(t,"changeBubbles",!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 ot.event.remove(this,"._change"),!At.test(this.nodeName)}}),nt.focusinBubbles||ot.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ot.event.simulate(t,e.target,ot.event.fix(e),!0)};ot.event.special[t]={setup:function(){var i=this.ownerDocument||this,o=ot._data(i,t);o||i.addEventListener(e,n,!0),ot._data(i,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=ot._data(i,t)-1;o?ot._data(i,t,o):(i.removeEventListener(e,n,!0),ot._removeData(i,t))}}}),ot.fn.extend({on:function(e,t,n,i,o){var r,a;if("object"==typeof e){"string"!=typeof t&&(n=n||t,t=void 0);for(r in e)this.on(r,t,n,e[r],o);return this}if(null==n&&null==i?(i=t,n=t=void 0):null==i&&("string"==typeof t?(i=n,n=void 0):(i=n,n=t,t=void 0)),i===!1)i=f;else if(!i)return this;return 1===o&&(a=i,i=function(e){return ot().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=ot.guid++)),this.each(function(){ot.event.add(this,e,i,n,t)})},one:function(e,t,n,i){return this.on(e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,ot(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return(t===!1||"function"==typeof t)&&(n=t,t=void 0),n===!1&&(n=f),this.each(function(){ot.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){ot.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?ot.event.trigger(e,t,n,!0):void 0}});var qt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ot=/ jQuery\d+="(?:null|\d+)"/g,Bt=new RegExp("<(?:"+qt+")[\\s/>]","i"),It=/^\s+/,zt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,$t=/<([\w:]+)/,Rt=/<tbody/i,Wt=/<|&#?\w+;/,Pt=/<(?:script|style|link)/i,Ut=/checked\s*(?:[^=]|=\s*.checked.)/i,Vt=/^$|\/(?:java|ecma)script/i,Xt=/^true\/(.*)/,Gt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Yt={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:nt.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Kt=g(ht),Jt=Kt.appendChild(ht.createElement("div"));Yt.optgroup=Yt.option,Yt.tbody=Yt.tfoot=Yt.colgroup=Yt.caption=Yt.thead,Yt.th=Yt.td,ot.extend({clone:function(e,t,n){var i,o,r,a,s,u=ot.contains(e.ownerDocument,e);if(nt.html5Clone||ot.isXMLDoc(e)||!Bt.test("<"+e.nodeName+">")?r=e.cloneNode(!0):(Jt.innerHTML=e.outerHTML,Jt.removeChild(r=Jt.firstChild)),!(nt.noCloneEvent&&nt.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ot.isXMLDoc(e)))for(i=m(r),s=m(e),a=0;null!=(o=s[a]);++a)i[a]&&_(o,i[a]);if(t)if(n)for(s=s||m(e),i=i||m(r),a=0;null!=(o=s[a]);a++)k(o,i[a]);else k(e,r);return i=m(r,"script"),i.length>0&&w(i,!u&&m(e,"script")),i=s=o=null,r},buildFragment:function(e,t,n,i){for(var o,r,a,s,u,l,c,d=e.length,p=g(t),f=[],h=0;d>h;h++)if(r=e[h],r||0===r)if("object"===ot.type(r))ot.merge(f,r.nodeType?[r]:r);else if(Wt.test(r)){for(s=s||p.appendChild(t.createElement("div")),u=($t.exec(r)||["",""])[1].toLowerCase(),c=Yt[u]||Yt._default,s.innerHTML=c[1]+r.replace(zt,"<$1></$2>")+c[2],o=c[0];o--;)s=s.lastChild;if(!nt.leadingWhitespace&&It.test(r)&&f.push(t.createTextNode(It.exec(r)[0])),!nt.tbody)for(r="table"!==u||Rt.test(r)?"<table>"!==c[1]||Rt.test(r)?0:s:s.firstChild,o=r&&r.childNodes.length;o--;)ot.nodeName(l=r.childNodes[o],"tbody")&&!l.childNodes.length&&r.removeChild(l);for(ot.merge(f,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=p.lastChild}else f.push(t.createTextNode(r));for(s&&p.removeChild(s),nt.appendChecked||ot.grep(m(f,"input"),v),h=0;r=f[h++];)if((!i||-1===ot.inArray(r,i))&&(a=ot.contains(r.ownerDocument,r),s=m(p.appendChild(r),"script"),a&&w(s),n))for(o=0;r=s[o++];)Vt.test(r.type||"")&&n.push(r);return s=null,p},cleanData:function(e,t){for(var n,i,o,r,a=0,s=ot.expando,u=ot.cache,l=nt.deleteExpando,c=ot.event.special;null!=(n=e[a]);a++)if((t||ot.acceptData(n))&&(o=n[s],r=o&&u[o])){if(r.events)for(i in r.events)c[i]?ot.event.remove(n,i):ot.removeEvent(n,i,r.handle);u[o]&&(delete u[o],l?delete n[s]:typeof n.removeAttribute!==_t?n.removeAttribute(s):n[s]=null,G.push(o))}}}),ot.fn.extend({text:function(e){return Dt(this,function(e){return void 0===e?ot.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ht).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=b(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=b(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,i=e?ot.filter(e,this):this,o=0;null!=(n=i[o]);o++)t||1!==n.nodeType||ot.cleanData(m(n)),n.parentNode&&(t&&ot.contains(n.ownerDocument,n)&&w(m(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&ot.cleanData(m(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&ot.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 ot.clone(this,e,t)})},html:function(e){return Dt(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Ot,""):void 0;if(!("string"!=typeof e||Pt.test(e)||!nt.htmlSerialize&&Bt.test(e)||!nt.leadingWhitespace&&It.test(e)||Yt[($t.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(zt,"<$1></$2>");try{for(;i>n;n++)t=this[n]||{},1===t.nodeType&&(ot.cleanData(m(t,!1)),t.innerHTML=e);t=0}catch(o){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,ot.cleanData(m(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=K.apply([],e);var n,i,o,r,a,s,u=0,l=this.length,c=this,d=l-1,p=e[0],f=ot.isFunction(p);if(f||l>1&&"string"==typeof p&&!nt.checkClone&&Ut.test(p))return this.each(function(n){var i=c.eq(n);f&&(e[0]=p.call(this,n,i.html())),i.domManip(e,t)});if(l&&(s=ot.buildFragment(e,this[0].ownerDocument,!1,this),n=s.firstChild,1===s.childNodes.length&&(s=n),n)){for(r=ot.map(m(s,"script"),y),o=r.length;l>u;u++)i=s,u!==d&&(i=ot.clone(i,!0,!0),o&&ot.merge(r,m(i,"script"))),t.call(this[u],i,u);if(o)for(a=r[r.length-1].ownerDocument,ot.map(r,x),u=0;o>u;u++)i=r[u],Vt.test(i.type||"")&&!ot._data(i,"globalEval")&&ot.contains(a,i)&&(i.src?ot._evalUrl&&ot._evalUrl(i.src):ot.globalEval((i.text||i.textContent||i.innerHTML||"").replace(Gt,"")));s=n=null}return this}}),ot.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ot.fn[e]=function(e){for(var n,i=0,o=[],r=ot(e),a=r.length-1;a>=i;i++)n=i===a?this:this.clone(!0),ot(r[i])[t](n),J.apply(o,n.get());return this.pushStack(o)}});var Qt,Zt={};!function(){var e;nt.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,n,i;return n=ht.getElementsByTagName("body")[0],n&&n.style?(t=ht.createElement("div"),i=ht.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),typeof t.style.zoom!==_t&&(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(ht.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(i),e):void 0
- }}();var en,tn,nn=/^margin/,on=new RegExp("^("+Et+")(?!px)[a-z%]+$","i"),rn=/^(top|right|bottom|left)$/;e.getComputedStyle?(en=function(t){return t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):e.getComputedStyle(t,null)},tn=function(e,t,n){var i,o,r,a,s=e.style;return n=n||en(e),a=n?n.getPropertyValue(t)||n[t]:void 0,n&&(""!==a||ot.contains(e.ownerDocument,e)||(a=ot.style(e,t)),on.test(a)&&nn.test(t)&&(i=s.width,o=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=o,s.maxWidth=r)),void 0===a?a:a+""}):ht.documentElement.currentStyle&&(en=function(e){return e.currentStyle},tn=function(e,t,n){var i,o,r,a,s=e.style;return n=n||en(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),on.test(a)&&!rn.test(t)&&(i=s.left,o=e.runtimeStyle,r=o&&o.left,r&&(o.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=i,r&&(o.left=r)),void 0===a?a:a+""||"auto"}),function(){function t(){var t,n,i,o;n=ht.getElementsByTagName("body")[0],n&&n.style&&(t=ht.createElement("div"),i=ht.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),t.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",r=a=!1,u=!0,e.getComputedStyle&&(r="1%"!==(e.getComputedStyle(t,null)||{}).top,a="4px"===(e.getComputedStyle(t,null)||{width:"4px"}).width,o=t.appendChild(ht.createElement("div")),o.style.cssText=t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",o.style.marginRight=o.style.width="0",t.style.width="1px",u=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight),t.removeChild(o)),t.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=t.getElementsByTagName("td"),o[0].style.cssText="margin:0;border:0;padding:0;display:none",s=0===o[0].offsetHeight,s&&(o[0].style.display="",o[1].style.display="none",s=0===o[0].offsetHeight),n.removeChild(i))}var n,i,o,r,a,s,u;n=ht.createElement("div"),n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",o=n.getElementsByTagName("a")[0],i=o&&o.style,i&&(i.cssText="float:left;opacity:.5",nt.opacity="0.5"===i.opacity,nt.cssFloat=!!i.cssFloat,n.style.backgroundClip="content-box",n.cloneNode(!0).style.backgroundClip="",nt.clearCloneStyle="content-box"===n.style.backgroundClip,nt.boxSizing=""===i.boxSizing||""===i.MozBoxSizing||""===i.WebkitBoxSizing,ot.extend(nt,{reliableHiddenOffsets:function(){return null==s&&t(),s},boxSizingReliable:function(){return null==a&&t(),a},pixelPosition:function(){return null==r&&t(),r},reliableMarginRight:function(){return null==u&&t(),u}}))}(),ot.swap=function(e,t,n,i){var o,r,a={};for(r in t)a[r]=e.style[r],e.style[r]=t[r];o=n.apply(e,i||[]);for(r in t)e.style[r]=a[r];return o};var an=/alpha\([^)]*\)/i,sn=/opacity\s*=\s*([^)]*)/,un=/^(none|table(?!-c[ea]).+)/,ln=new RegExp("^("+Et+")(.*)$","i"),cn=new RegExp("^([+-])=("+Et+")","i"),dn={position:"absolute",visibility:"hidden",display:"block"},pn={letterSpacing:"0",fontWeight:"400"},fn=["Webkit","O","Moz","ms"];ot.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=tn(e,"opacity");return""===n?"1":n}}}},cssNumber:{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":nt.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,a,s=ot.camelCase(t),u=e.style;if(t=ot.cssProps[s]||(ot.cssProps[s]=N(u,s)),a=ot.cssHooks[t]||ot.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,i))?o:u[t];if(r=typeof n,"string"===r&&(o=cn.exec(n))&&(n=(o[1]+1)*o[2]+parseFloat(ot.css(e,t)),r="number"),null!=n&&n===n&&("number"!==r||ot.cssNumber[s]||(n+="px"),nt.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,i)))))try{u[t]=n}catch(l){}}},css:function(e,t,n,i){var o,r,a,s=ot.camelCase(t);return t=ot.cssProps[s]||(ot.cssProps[s]=N(e.style,s)),a=ot.cssHooks[t]||ot.cssHooks[s],a&&"get"in a&&(r=a.get(e,!0,n)),void 0===r&&(r=tn(e,t,i)),"normal"===r&&t in pn&&(r=pn[t]),""===n||n?(o=parseFloat(r),n===!0||ot.isNumeric(o)?o||0:r):r}}),ot.each(["height","width"],function(e,t){ot.cssHooks[t]={get:function(e,n,i){return n?un.test(ot.css(e,"display"))&&0===e.offsetWidth?ot.swap(e,dn,function(){return A(e,t,i)}):A(e,t,i):void 0},set:function(e,n,i){var o=i&&en(e);return D(e,n,i?j(e,t,i,nt.boxSizing&&"border-box"===ot.css(e,"boxSizing",!1,o),o):0)}}}),nt.opacity||(ot.cssHooks.opacity={get:function(e,t){return sn.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,o=ot.isNumeric(t)?"alpha(opacity="+100*t+")":"",r=i&&i.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===ot.trim(r.replace(an,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=an.test(r)?r.replace(an,o):r+" "+o)}}),ot.cssHooks.marginRight=E(nt.reliableMarginRight,function(e,t){return t?ot.swap(e,{display:"inline-block"},tn,[e,"marginRight"]):void 0}),ot.each({margin:"",padding:"",border:"Width"},function(e,t){ot.cssHooks[e+t]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];4>i;i++)o[e+Nt[i]+t]=r[i]||r[i-2]||r[0];return o}},nn.test(e)||(ot.cssHooks[e+t].set=D)}),ot.fn.extend({css:function(e,t){return Dt(this,function(e,t,n){var i,o,r={},a=0;if(ot.isArray(t)){for(i=en(e),o=t.length;o>a;a++)r[t[a]]=ot.css(e,t[a],!1,i);return r}return void 0!==n?ot.style(e,t,n):ot.css(e,t)},e,t,arguments.length>1)},show:function(){return S(this,!0)},hide:function(){return S(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){St(this)?ot(this).show():ot(this).hide()})}}),ot.Tween=L,L.prototype={constructor:L,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||"swing",this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(ot.cssNumber[n]?"":"px")},cur:function(){var e=L.propHooks[this.prop];return e&&e.get?e.get(this):L.propHooks._default.get(this)},run:function(e){var t,n=L.propHooks[this.prop];return this.pos=t=this.options.duration?ot.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):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):L.propHooks._default.set(this),this}},L.prototype.init.prototype=L.prototype,L.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=ot.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){ot.fx.step[e.prop]?ot.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[ot.cssProps[e.prop]]||ot.cssHooks[e.prop])?ot.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},L.propHooks.scrollTop=L.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ot.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},ot.fx=L.prototype.init,ot.fx.step={};var hn,gn,mn=/^(?:toggle|show|hide)$/,vn=new RegExp("^(?:([+-])=|)("+Et+")([a-z%]*)$","i"),bn=/queueHooks$/,yn=[q],xn={"*":[function(e,t){var n=this.createTween(e,t),i=n.cur(),o=vn.exec(t),r=o&&o[3]||(ot.cssNumber[e]?"":"px"),a=(ot.cssNumber[e]||"px"!==r&&+i)&&vn.exec(ot.css(n.elem,e)),s=1,u=20;if(a&&a[3]!==r){r=r||a[3],o=o||[],a=+i||1;do s=s||".5",a/=s,ot.style(n.elem,e,a+r);while(s!==(s=n.cur()/i)&&1!==s&&--u)}return o&&(a=n.start=+a||+i||0,n.unit=r,n.end=o[1]?a+(o[1]+1)*o[2]:+o[2]),n}]};ot.Animation=ot.extend(B,{tweener:function(e,t){ot.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,i=0,o=e.length;o>i;i++)n=e[i],xn[n]=xn[n]||[],xn[n].unshift(t)},prefilter:function(e,t){t?yn.unshift(e):yn.push(e)}}),ot.speed=function(e,t,n){var i=e&&"object"==typeof e?ot.extend({},e):{complete:n||!n&&t||ot.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ot.isFunction(t)&&t};return i.duration=ot.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in ot.fx.speeds?ot.fx.speeds[i.duration]:ot.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){ot.isFunction(i.old)&&i.old.call(this),i.queue&&ot.dequeue(this,i.queue)},i},ot.fn.extend({fadeTo:function(e,t,n,i){return this.filter(St).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=ot.isEmptyObject(e),r=ot.speed(t,n,i),a=function(){var t=B(this,ot.extend({},e),r);(o||ot._data(this,"finish"))&&t.stop(!0)};return a.finish=a,o||r.queue===!1?this.each(a):this.queue(r.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",r=ot.timers,a=ot._data(this);if(o)a[o]&&a[o].stop&&i(a[o]);else for(o in a)a[o]&&a[o].stop&&bn.test(o)&&i(a[o]);for(o=r.length;o--;)r[o].elem!==this||null!=e&&r[o].queue!==e||(r[o].anim.stop(n),t=!1,r.splice(o,1));(t||!n)&&ot.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=ot._data(this),i=n[e+"queue"],o=n[e+"queueHooks"],r=ot.timers,a=i?i.length:0;for(n.finish=!0,ot.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;a>t;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),ot.each(["toggle","show","hide"],function(e,t){var n=ot.fn[t];ot.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(M(t,!0),e,i,o)}}),ot.each({slideDown:M("show"),slideUp:M("hide"),slideToggle:M("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ot.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),ot.timers=[],ot.fx.tick=function(){var e,t=ot.timers,n=0;for(hn=ot.now();n<t.length;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||ot.fx.stop(),hn=void 0},ot.fx.timer=function(e){ot.timers.push(e),e()?ot.fx.start():ot.timers.pop()},ot.fx.interval=13,ot.fx.start=function(){gn||(gn=setInterval(ot.fx.tick,ot.fx.interval))},ot.fx.stop=function(){clearInterval(gn),gn=null},ot.fx.speeds={slow:600,fast:200,_default:400},ot.fn.delay=function(e,t){return e=ot.fx?ot.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var i=setTimeout(t,e);n.stop=function(){clearTimeout(i)}})},function(){var e,t,n,i,o;t=ht.createElement("div"),t.setAttribute("className","t"),t.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",i=t.getElementsByTagName("a")[0],n=ht.createElement("select"),o=n.appendChild(ht.createElement("option")),e=t.getElementsByTagName("input")[0],i.style.cssText="top:1px",nt.getSetAttribute="t"!==t.className,nt.style=/top/.test(i.getAttribute("style")),nt.hrefNormalized="/a"===i.getAttribute("href"),nt.checkOn=!!e.value,nt.optSelected=o.selected,nt.enctype=!!ht.createElement("form").enctype,n.disabled=!0,nt.optDisabled=!o.disabled,e=ht.createElement("input"),e.setAttribute("value",""),nt.input=""===e.getAttribute("value"),e.value="t",e.setAttribute("type","radio"),nt.radioValue="t"===e.value}();var wn=/\r/g;ot.fn.extend({val:function(e){var t,n,i,o=this[0];return arguments.length?(i=ot.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,ot(this).val()):e,null==o?o="":"number"==typeof o?o+="":ot.isArray(o)&&(o=ot.map(o,function(e){return null==e?"":e+""})),t=ot.valHooks[this.type]||ot.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=ot.valHooks[o.type]||ot.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(wn,""):null==n?"":n)):void 0}}),ot.extend({valHooks:{option:{get:function(e){var t=ot.find.attr(e,"value");return null!=t?t:ot.trim(ot.text(e))}},select:{get:function(e){for(var t,n,i=e.options,o=e.selectedIndex,r="select-one"===e.type||0>o,a=r?null:[],s=r?o+1:i.length,u=0>o?s:r?o:0;s>u;u++)if(n=i[u],!(!n.selected&&u!==o||(nt.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&ot.nodeName(n.parentNode,"optgroup"))){if(t=ot(n).val(),r)return t;a.push(t)}return a},set:function(e,t){for(var n,i,o=e.options,r=ot.makeArray(t),a=o.length;a--;)if(i=o[a],ot.inArray(ot.valHooks.option.get(i),r)>=0)try{i.selected=n=!0}catch(s){i.scrollHeight}else i.selected=!1;return n||(e.selectedIndex=-1),o}}}}),ot.each(["radio","checkbox"],function(){ot.valHooks[this]={set:function(e,t){return ot.isArray(t)?e.checked=ot.inArray(ot(e).val(),t)>=0:void 0}},nt.checkOn||(ot.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var kn,_n,Tn=ot.expr.attrHandle,Cn=/^(?:checked|selected)$/i,En=nt.getSetAttribute,Nn=nt.input;ot.fn.extend({attr:function(e,t){return Dt(this,ot.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ot.removeAttr(this,e)})}}),ot.extend({attr:function(e,t,n){var i,o,r=e.nodeType;return e&&3!==r&&8!==r&&2!==r?typeof e.getAttribute===_t?ot.prop(e,t,n):(1===r&&ot.isXMLDoc(e)||(t=t.toLowerCase(),i=ot.attrHooks[t]||(ot.expr.match.bool.test(t)?_n:kn)),void 0===n?i&&"get"in i&&null!==(o=i.get(e,t))?o:(o=ot.find.attr(e,t),null==o?void 0:o):null!==n?i&&"set"in i&&void 0!==(o=i.set(e,n,t))?o:(e.setAttribute(t,n+""),n):void ot.removeAttr(e,t)):void 0},removeAttr:function(e,t){var n,i,o=0,r=t&&t.match(yt);if(r&&1===e.nodeType)for(;n=r[o++];)i=ot.propFix[n]||n,ot.expr.match.bool.test(n)?Nn&&En||!Cn.test(n)?e[i]=!1:e[ot.camelCase("default-"+n)]=e[i]=!1:ot.attr(e,n,""),e.removeAttribute(En?n:i)},attrHooks:{type:{set:function(e,t){if(!nt.radioValue&&"radio"===t&&ot.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),_n={set:function(e,t,n){return t===!1?ot.removeAttr(e,n):Nn&&En||!Cn.test(n)?e.setAttribute(!En&&ot.propFix[n]||n,n):e[ot.camelCase("default-"+n)]=e[n]=!0,n}},ot.each(ot.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Tn[t]||ot.find.attr;Tn[t]=Nn&&En||!Cn.test(t)?function(e,t,i){var o,r;return i||(r=Tn[t],Tn[t]=o,o=null!=n(e,t,i)?t.toLowerCase():null,Tn[t]=r),o}:function(e,t,n){return n?void 0:e[ot.camelCase("default-"+t)]?t.toLowerCase():null}}),Nn&&En||(ot.attrHooks.value={set:function(e,t,n){return ot.nodeName(e,"input")?void(e.defaultValue=t):kn&&kn.set(e,t,n)}}),En||(kn={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}},Tn.id=Tn.name=Tn.coords=function(e,t,n){var i;return n?void 0:(i=e.getAttributeNode(t))&&""!==i.value?i.value:null},ot.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:void 0},set:kn.set},ot.attrHooks.contenteditable={set:function(e,t,n){kn.set(e,""===t?!1:t,n)}},ot.each(["width","height"],function(e,t){ot.attrHooks[t]={set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}}})),nt.style||(ot.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Sn=/^(?:input|select|textarea|button|object)$/i,Dn=/^(?:a|area)$/i;ot.fn.extend({prop:function(e,t){return Dt(this,ot.prop,e,t,arguments.length>1)},removeProp:function(e){return e=ot.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(t){}})}}),ot.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var i,o,r,a=e.nodeType;return e&&3!==a&&8!==a&&2!==a?(r=1!==a||!ot.isXMLDoc(e),r&&(t=ot.propFix[t]||t,o=ot.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]):void 0},propHooks:{tabIndex:{get:function(e){var t=ot.find.attr(e,"tabindex");return t?parseInt(t,10):Sn.test(e.nodeName)||Dn.test(e.nodeName)&&e.href?0:-1}}}}),nt.hrefNormalized||ot.each(["href","src"],function(e,t){ot.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),nt.optSelected||(ot.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),ot.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ot.propFix[this.toLowerCase()]=this}),nt.enctype||(ot.propFix.enctype="encoding");var jn=/[\t\r\n\f]/g;ot.fn.extend({addClass:function(e){var t,n,i,o,r,a,s=0,u=this.length,l="string"==typeof e&&e;if(ot.isFunction(e))return this.each(function(t){ot(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(yt)||[];u>s;s++)if(n=this[s],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(jn," "):" ")){for(r=0;o=t[r++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");a=ot.trim(i),n.className!==a&&(n.className=a)}return this},removeClass:function(e){var t,n,i,o,r,a,s=0,u=this.length,l=0===arguments.length||"string"==typeof e&&e;if(ot.isFunction(e))return this.each(function(t){ot(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(yt)||[];u>s;s++)if(n=this[s],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(jn," "):"")){for(r=0;o=t[r++];)for(;i.indexOf(" "+o+" ")>=0;)i=i.replace(" "+o+" "," ");a=e?ot.trim(i):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):this.each(ot.isFunction(e)?function(n){ot(this).toggleClass(e.call(this,n,this.className,t),t)}:function(){if("string"===n)for(var t,i=0,o=ot(this),r=e.match(yt)||[];t=r[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else(n===_t||"boolean"===n)&&(this.className&&ot._data(this,"__className__",this.className),this.className=this.className||e===!1?"":ot._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(jn," ").indexOf(t)>=0)return!0;return!1}}),ot.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){ot.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ot.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},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)}});var An=ot.now(),Ln=/\?/,Hn=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ot.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,i=null,o=ot.trim(t+"");return o&&!ot.trim(o.replace(Hn,function(e,t,o,r){return n&&t&&(i=0),0===i?e:(n=o||t,i+=!r-!o,"")}))?Function("return "+o)():ot.error("Invalid JSON: "+t)},ot.parseXML=function(t){var n,i;if(!t||"string"!=typeof t)return null;try{e.DOMParser?(i=new DOMParser,n=i.parseFromString(t,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(o){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||ot.error("Invalid XML: "+t),n};var Mn,Fn,qn=/#.*$/,On=/([?&])_=[^&]*/,Bn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,In=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,zn=/^(?:GET|HEAD)$/,$n=/^\/\//,Rn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Wn={},Pn={},Un="*/".concat("*");try{Fn=location.href}catch(Vn){Fn=ht.createElement("a"),Fn.href="",Fn=Fn.href}Mn=Rn.exec(Fn.toLowerCase())||[],ot.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Fn,type:"GET",isLocal:In.test(Mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Un,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ot.parseJSON,"text xml":ot.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$($(e,ot.ajaxSettings),t):$(ot.ajaxSettings,e)},ajaxPrefilter:I(Wn),ajaxTransport:I(Pn),ajax:function(e,t){function n(e,t,n,i){var o,c,v,b,x,k=t;2!==y&&(y=2,s&&clearTimeout(s),l=void 0,a=i||"",w.readyState=e>0?4:0,o=e>=200&&300>e||304===e,n&&(b=R(d,w,n)),b=W(d,b,w,o),o?(d.ifModified&&(x=w.getResponseHeader("Last-Modified"),x&&(ot.lastModified[r]=x),x=w.getResponseHeader("etag"),x&&(ot.etag[r]=x)),204===e||"HEAD"===d.type?k="nocontent":304===e?k="notmodified":(k=b.state,c=b.data,v=b.error,o=!v)):(v=k,(e||!k)&&(k="error",0>e&&(e=0))),w.status=e,w.statusText=(t||k)+"",o?h.resolveWith(p,[c,k,w]):h.rejectWith(p,[w,k,v]),w.statusCode(m),m=void 0,u&&f.trigger(o?"ajaxSuccess":"ajaxError",[w,d,o?c:v]),g.fireWith(p,[w,k]),u&&(f.trigger("ajaxComplete",[w,d]),--ot.active||ot.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,o,r,a,s,u,l,c,d=ot.ajaxSetup({},t),p=d.context||d,f=d.context&&(p.nodeType||p.jquery)?ot(p):ot.event,h=ot.Deferred(),g=ot.Callbacks("once memory"),m=d.statusCode||{},v={},b={},y=0,x="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===y){if(!c)for(c={};t=Bn.exec(a);)c[t[1].toLowerCase()]=t[2];t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===y?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return y||(e=b[n]=b[n]||e,v[e]=t),this},overrideMimeType:function(e){return y||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>y)for(t in e)m[t]=[m[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||x;return l&&l.abort(t),n(0,t),this}};if(h.promise(w).complete=g.add,w.success=w.done,w.error=w.fail,d.url=((e||d.url||Fn)+"").replace(qn,"").replace($n,Mn[1]+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=ot.trim(d.dataType||"*").toLowerCase().match(yt)||[""],null==d.crossDomain&&(i=Rn.exec(d.url.toLowerCase()),d.crossDomain=!(!i||i[1]===Mn[1]&&i[2]===Mn[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(Mn[3]||("http:"===Mn[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=ot.param(d.data,d.traditional)),z(Wn,d,t,w),2===y)return w;u=ot.event&&d.global,u&&0===ot.active++&&ot.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!zn.test(d.type),r=d.url,d.hasContent||(d.data&&(r=d.url+=(Ln.test(r)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=On.test(r)?r.replace(On,"$1_="+An++):r+(Ln.test(r)?"&":"?")+"_="+An++)),d.ifModified&&(ot.lastModified[r]&&w.setRequestHeader("If-Modified-Since",ot.lastModified[r]),ot.etag[r]&&w.setRequestHeader("If-None-Match",ot.etag[r])),(d.data&&d.hasContent&&d.contentType!==!1||t.contentType)&&w.setRequestHeader("Content-Type",d.contentType),w.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Un+"; q=0.01":""):d.accepts["*"]);for(o in d.headers)w.setRequestHeader(o,d.headers[o]);if(d.beforeSend&&(d.beforeSend.call(p,w,d)===!1||2===y))return w.abort();x="abort";for(o in{success:1,error:1,complete:1})w[o](d[o]);if(l=z(Pn,d,t,w)){w.readyState=1,u&&f.trigger("ajaxSend",[w,d]),d.async&&d.timeout>0&&(s=setTimeout(function(){w.abort("timeout")},d.timeout));try{y=1,l.send(v,n)}catch(k){if(!(2>y))throw k;n(-1,k)}}else n(-1,"No Transport");return w},getJSON:function(e,t,n){return ot.get(e,t,n,"json")},getScript:function(e,t){return ot.get(e,void 0,t,"script")}}),ot.each(["get","post"],function(e,t){ot[t]=function(e,n,i,o){return ot.isFunction(n)&&(o=o||i,i=n,n=void 0),ot.ajax({url:e,type:t,dataType:o,data:n,success:i})}}),ot._evalUrl=function(e){return ot.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},ot.fn.extend({wrapAll:function(e){if(ot.isFunction(e))return this.each(function(t){ot(this).wrapAll(e.call(this,t))});if(this[0]){var t=ot(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 this.each(ot.isFunction(e)?function(t){ot(this).wrapInner(e.call(this,t))}:function(){var t=ot(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ot.isFunction(e);return this.each(function(n){ot(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ot.nodeName(this,"body")||ot(this).replaceWith(this.childNodes)}).end()}}),ot.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!nt.reliableHiddenOffsets()&&"none"===(e.style&&e.style.display||ot.css(e,"display"))},ot.expr.filters.visible=function(e){return!ot.expr.filters.hidden(e)};var Xn=/%20/g,Gn=/\[\]$/,Yn=/\r?\n/g,Kn=/^(?:submit|button|image|reset|file)$/i,Jn=/^(?:input|select|textarea|keygen)/i;ot.param=function(e,t){var n,i=[],o=function(e,t){t=ot.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ot.ajaxSettings&&ot.ajaxSettings.traditional),ot.isArray(e)||e.jquery&&!ot.isPlainObject(e))ot.each(e,function(){o(this.name,this.value)});else for(n in e)P(n,e[n],t,o);return i.join("&").replace(Xn,"+")},ot.fn.extend({serialize:function(){return ot.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ot.prop(this,"elements");return e?ot.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ot(this).is(":disabled")&&Jn.test(this.nodeName)&&!Kn.test(e)&&(this.checked||!jt.test(e))}).map(function(e,t){var n=ot(this).val();return null==n?null:ot.isArray(n)?ot.map(n,function(e){return{name:t.name,value:e.replace(Yn,"\r\n")}}):{name:t.name,value:n.replace(Yn,"\r\n")}}).get()}}),ot.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&U()||V()}:U;var Qn=0,Zn={},ei=ot.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in Zn)Zn[e](void 0,!0)}),nt.cors=!!ei&&"withCredentials"in ei,ei=nt.ajax=!!ei,ei&&ot.ajaxTransport(function(e){if(!e.crossDomain||nt.cors){var t;return{send:function(n,i){var o,r=e.xhr(),a=++Qn;if(r.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)r[o]=e.xhrFields[o];e.mimeType&&r.overrideMimeType&&r.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(o in n)void 0!==n[o]&&r.setRequestHeader(o,n[o]+"");r.send(e.hasContent&&e.data||null),t=function(n,o){var s,u,l;if(t&&(o||4===r.readyState))if(delete Zn[a],t=void 0,r.onreadystatechange=ot.noop,o)4!==r.readyState&&r.abort();else{l={},s=r.status,"string"==typeof r.responseText&&(l.text=r.responseText);try{u=r.statusText}catch(c){u=""}s||!e.isLocal||e.crossDomain?1223===s&&(s=204):s=l.text?200:404}l&&i(s,u,l,r.getAllResponseHeaders())},e.async?4===r.readyState?setTimeout(t):r.onreadystatechange=Zn[a]=t:t()},abort:function(){t&&t(void 0,!0)}}}}),ot.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return ot.globalEval(e),e}}}),ot.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),ot.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=ht.head||ot("head")[0]||ht.documentElement;return{send:function(i,o){t=ht.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||o(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var ti=[],ni=/(=)\?(?=&|$)|\?\?/;ot.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=ti.pop()||ot.expando+"_"+An++;return this[e]=!0,e}}),ot.ajaxPrefilter("json jsonp",function(t,n,i){var o,r,a,s=t.jsonp!==!1&&(ni.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ni.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(o=t.jsonpCallback=ot.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ni,"$1"+o):t.jsonp!==!1&&(t.url+=(Ln.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||ot.error(o+" was not called"),a[0]},t.dataTypes[0]="json",r=e[o],e[o]=function(){a=arguments},i.always(function(){e[o]=r,t[o]&&(t.jsonpCallback=n.jsonpCallback,ti.push(o)),a&&ot.isFunction(r)&&r(a[0]),a=r=void 0}),"script"):void 0}),ot.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||ht;var i=dt.exec(e),o=!n&&[];return i?[t.createElement(i[1])]:(i=ot.buildFragment([e],t,o),o&&o.length&&ot(o).remove(),ot.merge([],i.childNodes))};var ii=ot.fn.load;ot.fn.load=function(e,t,n){if("string"!=typeof e&&ii)return ii.apply(this,arguments);var i,o,r,a=this,s=e.indexOf(" ");return s>=0&&(i=ot.trim(e.slice(s,e.length)),e=e.slice(0,s)),ot.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),a.length>0&&ot.ajax({url:e,type:r,dataType:"html",data:t}).done(function(e){o=arguments,a.html(i?ot("<div>").append(ot.parseHTML(e)).find(i):e)}).complete(n&&function(e,t){a.each(n,o||[e.responseText,t,e])}),this},ot.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ot.fn[t]=function(e){return this.on(t,e)}}),ot.expr.filters.animated=function(e){return ot.grep(ot.timers,function(t){return e===t.elem}).length};var oi=e.document.documentElement;ot.offset={setOffset:function(e,t,n){var i,o,r,a,s,u,l,c=ot.css(e,"position"),d=ot(e),p={};"static"===c&&(e.style.position="relative"),s=d.offset(),r=ot.css(e,"top"),u=ot.css(e,"left"),l=("absolute"===c||"fixed"===c)&&ot.inArray("auto",[r,u])>-1,l?(i=d.position(),a=i.top,o=i.left):(a=parseFloat(r)||0,o=parseFloat(u)||0),ot.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):d.css(p)}},ot.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ot.offset.setOffset(this,e,t)});var t,n,i={top:0,left:0},o=this[0],r=o&&o.ownerDocument;return r?(t=r.documentElement,ot.contains(t,o)?(typeof o.getBoundingClientRect!==_t&&(i=o.getBoundingClientRect()),n=X(r),{top:i.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:i.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):i):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===ot.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ot.nodeName(e[0],"html")||(n=e.offset()),n.top+=ot.css(e[0],"borderTopWidth",!0),n.left+=ot.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-ot.css(i,"marginTop",!0),left:t.left-n.left-ot.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||oi;e&&!ot.nodeName(e,"html")&&"static"===ot.css(e,"position");)e=e.offsetParent;return e||oi})}}),ot.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);ot.fn[e]=function(i){return Dt(this,function(e,i,o){var r=X(e);return void 0===o?r?t in r?r[t]:r.document.documentElement[i]:e[i]:void(r?r.scrollTo(n?ot(r).scrollLeft():o,n?o:ot(r).scrollTop()):e[i]=o)
- },e,i,arguments.length,null)}}),ot.each(["top","left"],function(e,t){ot.cssHooks[t]=E(nt.pixelPosition,function(e,n){return n?(n=tn(e,t),on.test(n)?ot(e).position()[t]+"px":n):void 0})}),ot.each({Height:"height",Width:"width"},function(e,t){ot.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){ot.fn[i]=function(i,o){var r=arguments.length&&(n||"boolean"!=typeof i),a=n||(i===!0||o===!0?"margin":"border");return Dt(this,function(t,n,i){var o;return ot.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?ot.css(t,n,a):ot.style(t,n,i,a)},t,r?i:void 0,r,null)}})}),ot.fn.size=function(){return this.length},ot.fn.andSelf=ot.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ot});var ri=e.jQuery,ai=e.$;return ot.noConflict=function(t){return e.$===ot&&(e.$=ai),t&&e.jQuery===ot&&(e.jQuery=ri),ot},typeof t===_t&&(e.jQuery=e.$=ot),ot}),!function(e){function t(e){var n=i[e],o="exports";return"object"==typeof n?n:(n[o]||(n[o]={},n[o]=n.call(n[o],t,n[o],n)||n[o]),n[o])}function n(e,t){i[e]=t}var i={};n("jquery",function(){return jQuery}),n("popup",function(t){function n(){this.destroyed=!1,this.__popup=i("<div />").css({display:"none",position:"absolute",outline:0}).attr("tabindex","-1").html(this.innerHTML).appendTo("body"),this.__backdrop=this.__mask=i("<div />").css({opacity:.7,background:"#000"}),this.node=this.__popup[0],this.backdrop=this.__backdrop[0],o++}var i=t("jquery"),o=0,r=!("minWidth"in i("html")[0].style),a=!r;return i.extend(n.prototype,{node:null,backdrop:null,fixed:!1,destroyed:!0,open:!1,returnValue:"",autofocus:!0,align:"bottom left",innerHTML:"",className:"ui-popup",show:function(t){if(this.destroyed)return this;var o=this.__popup,s=this.__backdrop;if(this.__activeElement=this.__getActive(),this.open=!0,this.follow=t||this.follow,!this.__ready){if(o.addClass(this.className).attr("role",this.modal?"alertdialog":"dialog").css("position",this.fixed?"fixed":"absolute"),r||i(e).on("resize",i.proxy(this.reset,this)),this.modal){var u={position:"fixed",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",userSelect:"none",zIndex:this.zIndex||n.zIndex};o.addClass(this.className+"-modal"),a||i.extend(u,{position:"absolute",width:i(e).width()+"px",height:i(document).height()+"px"}),s.css(u).attr({tabindex:"0"}).on("focus",i.proxy(this.focus,this)),this.__mask=s.clone(!0).attr("style","").insertAfter(o),s.addClass(this.className+"-backdrop").insertBefore(o),this.__ready=!0}o.html()||o.html(this.innerHTML)}return o.addClass(this.className+"-show").show(),s.show(),this.reset().focus(),this.__dispatchEvent("show"),this},showModal:function(){return this.modal=!0,this.show.apply(this,arguments)},close:function(e){return!this.destroyed&&this.open&&(void 0!==e&&(this.returnValue=e),this.__popup.hide().removeClass(this.className+"-show"),this.__backdrop.hide(),this.open=!1,this.blur(),this.__dispatchEvent("close")),this},remove:function(){if(this.destroyed)return this;this.__dispatchEvent("beforeremove"),n.current===this&&(n.current=null),this.__popup.remove(),this.__backdrop.remove(),this.__mask.remove(),r||i(e).off("resize",this.reset),this.__dispatchEvent("remove");for(var t in this)delete this[t];return this},reset:function(){var e=this.follow;return e?this.__follow(e):this.__center(),this.__dispatchEvent("reset"),this},focus:function(){var e=this.node,t=this.__popup,o=n.current,r=this.zIndex=n.zIndex++;if(o&&o!==this&&o.blur(!1),!i.contains(e,this.__getActive())){var a=t.find("[autofocus]")[0];!this._autofocus&&a?this._autofocus=!0:a=e,this.__focus(a)}return t.css("zIndex",r),this.__backdrop.css("zIndex",r),n.current=this,t.addClass(this.className+"-focus"),this.__dispatchEvent("focus"),this},blur:function(){var e=this.__activeElement,t=arguments[0];return t!==!1&&this.__focus(e),this._autofocus=!1,this.__popup.removeClass(this.className+"-focus"),this.__dispatchEvent("blur"),this},addEventListener:function(e,t){return this.__getEventListener(e).push(t),this},removeEventListener:function(e,t){for(var n=this.__getEventListener(e),i=0;i<n.length;i++)t===n[i]&&n.splice(i--,1);return this},__getEventListener:function(e){var t=this.__listener;return t||(t=this.__listener={}),t[e]||(t[e]=[]),t[e]},__dispatchEvent:function(e){var t=this.__getEventListener(e);this["on"+e]&&this["on"+e]();for(var n=0;n<t.length;n++)t[n].call(this)},__focus:function(e){try{this.autofocus&&!/^iframe$/i.test(e.nodeName)&&e.focus()}catch(t){}},__getActive:function(){try{var e=document.activeElement,t=e.contentDocument,n=t&&t.activeElement||e;return n}catch(i){}},__center:function(){var t=this.__popup,n=i(e),o=i(document),r=this.fixed,a=r?0:o.scrollLeft(),s=r?0:o.scrollTop(),u=n.width(),l=n.height(),c=t.width(),d=t.height(),p=(u-c)/2+a,f=382*(l-d)/1e3+s,h=t[0].style;h.left=Math.max(parseInt(p),a)+"px",h.top=Math.max(parseInt(f),s)+"px"},__follow:function(t){var n=t.parentNode&&i(t),o=this.__popup;if(this.__followSkin&&o.removeClass(this.__followSkin),n){var r=n.offset();if(r.left*r.top<0)return this.__center()}var a=this,s=this.fixed,u=i(e),l=i(document),c=u.width(),d=u.height(),p=l.scrollLeft(),f=l.scrollTop(),h=o.width(),g=o.height(),m=n?n.outerWidth():0,v=n?n.outerHeight():0,b=this.__offset(t),y=b.left,x=b.top,w=s?y-p:y,k=s?x-f:x,_=s?0:p,T=s?0:f,C=_+c-h,E=T+d-g,N={},S=this.align.split(" "),D=this.className+"-",j={top:"bottom",bottom:"top",left:"right",right:"left"},A={top:"top",bottom:"top",left:"left",right:"left"},L=[{top:k-g,bottom:k+v,left:w-h,right:w+m},{top:k,bottom:k-g+v,left:w,right:w-h+m}],H={left:w+m/2-h/2,top:k+v/2-g/2},M={left:[_,C],top:[T,E]};i.each(S,function(e,t){L[e][t]>M[A[t]][1]&&(t=S[e]=j[t]),L[e][t]<M[A[t]][0]&&(S[e]=j[t])}),S[1]||(A[S[1]]="left"===A[S[0]]?"top":"left",L[1][S[1]]=H[A[S[1]]]),D+=S.join("-")+" "+this.className+"-follow",a.__followSkin=D,n&&o.addClass(D),N[A[S[0]]]=parseInt(L[0][S[0]]),N[A[S[1]]]=parseInt(L[1][S[1]]),o.css(N)},__offset:function(t){var n=t.parentNode,o=n?i(t).offset():{left:t.pageX,top:t.pageY};t=n?t:t.target;var r=t.ownerDocument,a=r.defaultView||r.parentWindow;if(a==e)return o;var s=a.frameElement,u=i(r),l=u.scrollLeft(),c=u.scrollTop(),d=i(s).offset(),p=d.left,f=d.top;return{left:o.left+p-l,top:o.top+f-c}}}),n.zIndex=1024,n.current=null,n}),n("dialog-config",{backdropBackground:"#000",backdropOpacity:.7,content:'<span class="ui-dialog-loading">Loading..</span>',title:"",statusbar:"",button:null,ok:null,cancel:null,okValue:"ok",cancelValue:"cancel",cancelDisplay:!0,width:"",height:"",padding:"",skin:"",quickClose:!1,cssUri:"../css/ui-dialog.css",innerHTML:'<div i="dialog" class="ui-dialog"><div class="ui-dialog-arrow-a"></div><div class="ui-dialog-arrow-b"></div><table class="ui-dialog-grid"><tr><td i="header" class="ui-dialog-header"><button i="close" class="ui-dialog-close">×</button><div i="title" class="ui-dialog-title"></div></td></tr><tr><td i="body" class="ui-dialog-body"><div i="content" class="ui-dialog-content"></div></td></tr><tr><td i="footer" class="ui-dialog-footer"><div i="statusbar" class="ui-dialog-statusbar"></div><div i="button" class="ui-dialog-button"></div></td></tr></table></div>'}),n("dialog",function(e){function t(e,i,o){var r=e=e||{};("string"==typeof e||1===e.nodeType)&&(e={content:e,fixed:!c}),e=n.extend(!0,{},t.defaults,e),e.original=r;var a=e.id=e.id||u+s,l=t.get(a);return l?l.focus():(d||(e.fixed=!1),e.quickClose&&(e.modal=!0,e.backdropOpacity=0),n.isArray(e.button)||(e.button=[]),void 0!==o&&(e.cancel=o),e.cancel&&e.button.push({id:"cancel",value:e.cancelValue,callback:e.cancel,display:e.cancelDisplay}),void 0!==i&&(e.ok=i),e.ok&&e.button.push({id:"ok",value:e.okValue,callback:e.ok,autofocus:!0}),t.list[a]=new t.create(e))}var n=e("jquery"),i=e("popup"),o=e("dialog-config"),r=o.cssUri;if(r){var a=e[e.toUrl?"toUrl":"resolve"];a&&(r=a(r),r='<link rel="stylesheet" href="'+r+'" />',n("base")[0]?n("base").before(r):n("head").append(r))}var s=0,u=new Date-0,l=!("minWidth"in n("html")[0].style),c="createTouch"in document&&!("onmousemove"in document)||/(iPhone|iPad|iPod)/i.test(navigator.userAgent),d=!l&&!c;t.getCurrent=function(){return i.current},t.get=function(e){return void 0===e?t.list:t.list[e]};var p=function(){};p.prototype=i.prototype;var f=t.prototype=new p;return t.create=function(e){var o=this;n.extend(this,new i);var r=(e.original,n(this.node).html(e.innerHTML)),a=n(this.backdrop);return this.options=e,this._popup=r,n.each(e,function(e,t){"function"==typeof o[e]?o[e](t):o[e]=t}),e.zIndex&&(i.zIndex=e.zIndex),r.attr({"aria-labelledby":this._$("title").attr("id","title:"+this.id).attr("id"),"aria-describedby":this._$("content").attr("id","content:"+this.id).attr("id")}),this._$("close").css("display",this.cancel===!1?"none":"").attr("title",this.cancelValue).on("click",function(e){o._trigger("cancel"),e.preventDefault()}),this._$("dialog").addClass(this.skin),this._$("body").css("padding",this.padding),e.quickClose&&a.on("onmousedown"in document?"mousedown":"click",function(){return o._trigger("cancel"),!1}),this.addEventListener("show",function(){a.css({opacity:0,background:e.backdropBackground}).animate({opacity:e.backdropOpacity},150)}),this._esc=function(e){var t=e.target,n=t.nodeName,r=/^input|textarea$/i,a=i.current===o,s=e.keyCode;!a||r.test(n)&&"button"!==t.type||27===s&&o._trigger("cancel")},n(document).on("keydown",this._esc),this.addEventListener("remove",function(){n(document).off("keydown",this._esc),delete t.list[this.id]}),s++,t.oncreate(this),this},t.create.prototype=f,n.extend(f,{content:function(e){var t=this._$("content");return"object"==typeof e?(e=n(e),t.empty("").append(e.show()),this.addEventListener("beforeremove",function(){n("body").append(e.hide())})):t.html(e),this.reset()},title:function(e){return this._$("title").text(e),this._$("header")[e?"show":"hide"](),this},width:function(e){return this._$("content").css("width",e),this.reset()},height:function(e){return this._$("content").css("height",e),this.reset()},button:function(e){e=e||[];var t=this,i="",o=0;return this.callbacks={},"string"==typeof e?(i=e,o++):n.each(e,function(e,r){var a=r.id=r.id||r.value,s="";t.callbacks[a]=r.callback,r.display===!1?s=' style="display:none"':o++,i+='<button type="button" i-id="'+a+'"'+s+(r.disabled?" disabled":"")+(r.autofocus?' autofocus class="ui-dialog-autofocus"':"")+">"+r.value+"</button>",t._$("button").on("click","[i-id="+a+"]",function(e){var i=n(this);i.attr("disabled")||t._trigger(a),e.preventDefault()})}),this._$("button").html(i),this._$("footer")[o?"show":"hide"](),this},statusbar:function(e){return this._$("statusbar").html(e)[e?"show":"hide"](),this},_$:function(e){return this._popup.find("[i="+e+"]")},_trigger:function(e){var t=this.callbacks[e];return"function"!=typeof t||t.call(this)!==!1?this.close().remove():this}}),t.oncreate=n.noop,t.list={},t.defaults=o,t}),e.Dialog=t("dialog")}(window);var Cookie={},decode=decodeURIComponent,encode=encodeURIComponent;Cookie.get=function(e,t){validateCookieName(e),t="function"==typeof t?{converter:t}:t||{};var n=parseCookieString(document.cookie,!t.raw);return(t.converter||same)(n[e])},Cookie.set=function(e,t,n){validateCookieName(e),n=n||{};var i=n.expires,o=n.domain,r=n.path;n.raw||(t=encode(String(t)));var a=e+"="+t,s=i;return"number"==typeof s&&(s=new Date,s.setDate(s.getDate()+i)),s instanceof Date&&(a+="; expires="+s.toUTCString()),isNonEmptyString(o)&&(a+="; domain="+o),isNonEmptyString(r)&&(a+="; path="+r),n.secure&&(a+="; secure"),document.cookie=a,a},Cookie.remove=function(e,t){return t=t||{},t.expires=new Date(0),Cookie.set(e,1,t)},function(){function e(e){function t(t,n,i,o,r,a){for(;r>=0&&a>r;r+=e){var s=o?o[r]:r;i=n(i,t[s],s,t)}return i}return function(n,i,o,r){i=b(i,r,4);var a=!_(n)&&v.keys(n),s=(a||n).length,u=e>0?0:s-1;return arguments.length<3&&(o=n[a?a[u]:u],u+=e),t(n,i,o,a,u,s)}}function t(e){return function(t,n,i){n=y(n,i);for(var o=null!=t&&t.length,r=e>0?0:o-1;r>=0&&o>r;r+=e)if(n(t[r],r,t))return r;return-1}}function n(e,t){var n=S.length,i=e.constructor,o=v.isFunction(i)&&i.prototype||a,r="constructor";for(v.has(e,r)&&!v.contains(t,r)&&t.push(r);n--;)r=S[n],r in e&&e[r]!==o[r]&&!v.contains(t,r)&&t.push(r)}var i=this,o=i._,r=Array.prototype,a=Object.prototype,s=Function.prototype,u=r.push,l=r.slice,c=a.toString,d=a.hasOwnProperty,p=Array.isArray,f=Object.keys,h=s.bind,g=Object.create,m=function(){},v=function I(e){return e instanceof I?e:this instanceof I?void(this._wrapped=e):new I(e)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=v),exports._=v):i._=v,v.VERSION="1.8.2";var b=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)};case 4:return function(n,i,o,r){return e.call(t,n,i,o,r)}}return function(){return e.apply(t,arguments)}},y=function(e,t,n){return null==e?v.identity:v.isFunction(e)?b(e,t,n):v.isObject(e)?v.matcher(e):v.property(e)};v.iteratee=function(e,t){return y(e,t,1/0)};var x=function(e,t){return function(n){var i=arguments.length;if(2>i||null==n)return n;for(var o=1;i>o;o++)for(var r=arguments[o],a=e(r),s=a.length,u=0;s>u;u++){var l=a[u];t&&void 0!==n[l]||(n[l]=r[l])}return n}},w=function(e){if(!v.isObject(e))return{};if(g)return g(e);m.prototype=e;var t=new m;return m.prototype=null,t},k=Math.pow(2,53)-1,_=function(e){var t=null!=e&&e.length;return"number"==typeof t&&t>=0&&k>=t};v.each=v.forEach=function(e,t,n){t=b(t,n);var i,o;if(_(e))for(i=0,o=e.length;o>i;i++)t(e[i],i,e);else{var r=v.keys(e);for(i=0,o=r.length;o>i;i++)t(e[r[i]],r[i],e)}return e},v.map=v.collect=function(e,t,n){t=y(t,n);for(var i=!_(e)&&v.keys(e),o=(i||e).length,r=Array(o),a=0;o>a;a++){var s=i?i[a]:a;r[a]=t(e[s],s,e)}return r},v.reduce=v.foldl=v.inject=e(1),v.reduceRight=v.foldr=e(-1),v.find=v.detect=function(e,t,n){var i;return i=_(e)?v.findIndex(e,t,n):v.findKey(e,t,n),void 0!==i&&-1!==i?e[i]:void 0},v.filter=v.select=function(e,t,n){var i=[];return t=y(t,n),v.each(e,function(e,n,o){t(e,n,o)&&i.push(e)}),i},v.reject=function(e,t,n){return v.filter(e,v.negate(y(t)),n)},v.every=v.all=function(e,t,n){t=y(t,n);for(var i=!_(e)&&v.keys(e),o=(i||e).length,r=0;o>r;r++){var a=i?i[r]:r;if(!t(e[a],a,e))return!1}return!0},v.some=v.any=function(e,t,n){t=y(t,n);for(var i=!_(e)&&v.keys(e),o=(i||e).length,r=0;o>r;r++){var a=i?i[r]:r;if(t(e[a],a,e))return!0}return!1},v.contains=v.includes=v.include=function(e,t,n){return _(e)||(e=v.values(e)),v.indexOf(e,t,"number"==typeof n&&n)>=0},v.invoke=function(e,t){var n=l.call(arguments,2),i=v.isFunction(t);return v.map(e,function(e){var o=i?t:e[t];return null==o?o:o.apply(e,n)})},v.pluck=function(e,t){return v.map(e,v.property(t))},v.where=function(e,t){return v.filter(e,v.matcher(t))},v.findWhere=function(e,t){return v.find(e,v.matcher(t))},v.max=function(e,t,n){var i,o,r=-1/0,a=-1/0;if(null==t&&null!=e){e=_(e)?e:v.values(e);for(var s=0,u=e.length;u>s;s++)i=e[s],i>r&&(r=i)}else t=y(t,n),v.each(e,function(e,n,i){o=t(e,n,i),(o>a||o===-1/0&&r===-1/0)&&(r=e,a=o)});return r},v.min=function(e,t,n){var i,o,r=1/0,a=1/0;if(null==t&&null!=e){e=_(e)?e:v.values(e);for(var s=0,u=e.length;u>s;s++)i=e[s],r>i&&(r=i)}else t=y(t,n),v.each(e,function(e,n,i){o=t(e,n,i),(a>o||1/0===o&&1/0===r)&&(r=e,a=o)});return r},v.shuffle=function(e){for(var t,n=_(e)?e:v.values(e),i=n.length,o=Array(i),r=0;i>r;r++)t=v.random(0,r),t!==r&&(o[r]=o[t]),o[t]=n[r];return o},v.sample=function(e,t,n){return null==t||n?(_(e)||(e=v.values(e)),e[v.random(e.length-1)]):v.shuffle(e).slice(0,Math.max(0,t))},v.sortBy=function(e,t,n){return t=y(t,n),v.pluck(v.map(e,function(e,n,i){return{value:e,index:n,criteria:t(e,n,i)}}).sort(function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(i>n||void 0===i)return-1}return e.index-t.index}),"value")};var T=function(e){return function(t,n,i){var o={};return n=y(n,i),v.each(t,function(i,r){var a=n(i,r,t);e(o,i,a)}),o}};v.groupBy=T(function(e,t,n){v.has(e,n)?e[n].push(t):e[n]=[t]}),v.indexBy=T(function(e,t,n){e[n]=t}),v.countBy=T(function(e,t,n){v.has(e,n)?e[n]++:e[n]=1}),v.toArray=function(e){return e?v.isArray(e)?l.call(e):_(e)?v.map(e,v.identity):v.values(e):[]},v.size=function(e){return null==e?0:_(e)?e.length:v.keys(e).length},v.partition=function(e,t,n){t=y(t,n);var i=[],o=[];return v.each(e,function(e,n,r){(t(e,n,r)?i:o).push(e)}),[i,o]},v.first=v.head=v.take=function(e,t,n){return null==e?void 0:null==t||n?e[0]:v.initial(e,e.length-t)},v.initial=function(e,t,n){return l.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},v.last=function(e,t,n){return null==e?void 0:null==t||n?e[e.length-1]:v.rest(e,Math.max(0,e.length-t))},v.rest=v.tail=v.drop=function(e,t,n){return l.call(e,null==t||n?1:t)},v.compact=function(e){return v.filter(e,v.identity)};var C=function z(e,t,n,i){for(var o=[],r=0,a=i||0,s=e&&e.length;s>a;a++){var u=e[a];if(_(u)&&(v.isArray(u)||v.isArguments(u))){t||(u=z(u,t,n));var l=0,c=u.length;for(o.length+=c;c>l;)o[r++]=u[l++]}else n||(o[r++]=u)}return o};v.flatten=function(e,t){return C(e,t,!1)},v.without=function(e){return v.difference(e,l.call(arguments,1))},v.uniq=v.unique=function(e,t,n,i){if(null==e)return[];v.isBoolean(t)||(i=n,n=t,t=!1),null!=n&&(n=y(n,i));for(var o=[],r=[],a=0,s=e.length;s>a;a++){var u=e[a],l=n?n(u,a,e):u;t?(a&&r===l||o.push(u),r=l):n?v.contains(r,l)||(r.push(l),o.push(u)):v.contains(o,u)||o.push(u)}return o},v.union=function(){return v.uniq(C(arguments,!0,!0))},v.intersection=function(e){if(null==e)return[];for(var t=[],n=arguments.length,i=0,o=e.length;o>i;i++){var r=e[i];if(!v.contains(t,r)){for(var a=1;n>a&&v.contains(arguments[a],r);a++);a===n&&t.push(r)}}return t},v.difference=function(e){var t=C(arguments,!0,!0,1);return v.filter(e,function(e){return!v.contains(t,e)})},v.zip=function(){return v.unzip(arguments)},v.unzip=function(e){for(var t=e&&v.max(e,"length").length||0,n=Array(t),i=0;t>i;i++)n[i]=v.pluck(e,i);return n},v.object=function(e,t){for(var n={},i=0,o=e&&e.length;o>i;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n},v.indexOf=function(e,t,n){var i=0,o=e&&e.length;if("number"==typeof n)i=0>n?Math.max(0,o+n):n;else if(n&&o)return i=v.sortedIndex(e,t),e[i]===t?i:-1;if(t!==t)return v.findIndex(l.call(e,i),v.isNaN);for(;o>i;i++)if(e[i]===t)return i;return-1},v.lastIndexOf=function(e,t,n){var i=e?e.length:0;if("number"==typeof n&&(i=0>n?i+n+1:Math.min(i,n+1)),t!==t)return v.findLastIndex(l.call(e,0,i),v.isNaN);for(;--i>=0;)if(e[i]===t)return i;return-1},v.findIndex=t(1),v.findLastIndex=t(-1),v.sortedIndex=function(e,t,n,i){n=y(n,i,1);for(var o=n(t),r=0,a=e.length;a>r;){var s=Math.floor((r+a)/2);n(e[s])<o?r=s+1:a=s}return r},v.range=function(e,t,n){arguments.length<=1&&(t=e||0,e=0),n=n||1;for(var i=Math.max(Math.ceil((t-e)/n),0),o=Array(i),r=0;i>r;r++,e+=n)o[r]=e;return o};var E=function(e,t,n,i,o){if(!(i instanceof t))return e.apply(n,o);var r=w(e.prototype),a=e.apply(r,o);return v.isObject(a)?a:r};v.bind=function(e,t){if(h&&e.bind===h)return h.apply(e,l.call(arguments,1));if(!v.isFunction(e))throw new TypeError("Bind must be called on a function");var n=l.call(arguments,2),i=function o(){return E(e,o,t,this,n.concat(l.call(arguments)))};return i},v.partial=function(e){var t=l.call(arguments,1),n=function i(){for(var n=0,o=t.length,r=Array(o),a=0;o>a;a++)r[a]=t[a]===v?arguments[n++]:t[a];for(;n<arguments.length;)r.push(arguments[n++]);return E(e,i,this,this,r)};return n},v.bindAll=function(e){var t,n,i=arguments.length;if(1>=i)throw new Error("bindAll must be passed function names");for(t=1;i>t;t++)n=arguments[t],e[n]=v.bind(e[n],e);return e},v.memoize=function(e,t){var n=function i(n){var o=i.cache,r=""+(t?t.apply(this,arguments):n);return v.has(o,r)||(o[r]=e.apply(this,arguments)),o[r]};return n.cache={},n},v.delay=function(e,t){var n=l.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},v.defer=v.partial(v.delay,v,1),v.throttle=function(e,t,n){var i,o,r,a=null,s=0;n||(n={});var u=function(){s=n.leading===!1?0:v.now(),a=null,r=e.apply(i,o),a||(i=o=null)};return function(){var l=v.now();s||n.leading!==!1||(s=l);var c=t-(l-s);return i=this,o=arguments,0>=c||c>t?(a&&(clearTimeout(a),a=null),s=l,r=e.apply(i,o),a||(i=o=null)):a||n.trailing===!1||(a=setTimeout(u,c)),r}},v.debounce=function(e,t,n){var i,o,r,a,s,u=function l(){var u=v.now()-a;t>u&&u>=0?i=setTimeout(l,t-u):(i=null,n||(s=e.apply(r,o),i||(r=o=null)))};return function(){r=this,o=arguments,a=v.now();var l=n&&!i;return i||(i=setTimeout(u,t)),l&&(s=e.apply(r,o),r=o=null),s}},v.wrap=function(e,t){return v.partial(t,e)},v.negate=function(e){return function(){return!e.apply(this,arguments)}},v.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}},v.after=function(e,t){return function(){return--e<1?t.apply(this,arguments):void 0}},v.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=null),n}},v.once=v.partial(v.before,2);var N=!{toString:null}.propertyIsEnumerable("toString"),S=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];v.keys=function(e){if(!v.isObject(e))return[];if(f)return f(e);var t=[];for(var i in e)v.has(e,i)&&t.push(i);return N&&n(e,t),t},v.allKeys=function(e){if(!v.isObject(e))return[];var t=[];for(var i in e)t.push(i);return N&&n(e,t),t},v.values=function(e){for(var t=v.keys(e),n=t.length,i=Array(n),o=0;n>o;o++)i[o]=e[t[o]];return i},v.mapObject=function(e,t,n){t=y(t,n);for(var i,o=v.keys(e),r=o.length,a={},s=0;r>s;s++)i=o[s],a[i]=t(e[i],i,e);return a},v.pairs=function(e){for(var t=v.keys(e),n=t.length,i=Array(n),o=0;n>o;o++)i[o]=[t[o],e[t[o]]];return i},v.invert=function(e){for(var t={},n=v.keys(e),i=0,o=n.length;o>i;i++)t[e[n[i]]]=n[i];return t},v.functions=v.methods=function(e){var t=[];for(var n in e)v.isFunction(e[n])&&t.push(n);return t.sort()},v.extend=x(v.allKeys),v.extendOwn=v.assign=x(v.keys),v.findKey=function(e,t,n){t=y(t,n);for(var i,o=v.keys(e),r=0,a=o.length;a>r;r++)if(i=o[r],t(e[i],i,e))return i},v.pick=function(e,t,n){var i,o,r={},a=e;if(null==a)return r;v.isFunction(t)?(o=v.allKeys(a),i=b(t,n)):(o=C(arguments,!1,!1,1),i=function(e,t,n){return t in n},a=Object(a));for(var s=0,u=o.length;u>s;s++){var l=o[s],c=a[l];i(c,l,a)&&(r[l]=c)}return r},v.omit=function(e,t,n){if(v.isFunction(t))t=v.negate(t);else{var i=v.map(C(arguments,!1,!1,1),String);t=function(e,t){return!v.contains(i,t)}}return v.pick(e,t,n)},v.defaults=x(v.allKeys,!0),v.create=function(e,t){var n=w(e);return t&&v.extendOwn(n,t),n},v.clone=function(e){return v.isObject(e)?v.isArray(e)?e.slice():v.extend({},e):e},v.tap=function(e,t){return t(e),e},v.isMatch=function(e,t){var n=v.keys(t),i=n.length;if(null==e)return!i;for(var o=Object(e),r=0;i>r;r++){var a=n[r];if(t[a]!==o[a]||!(a in o))return!1}return!0};var D=function $(e,t,n,i){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return e===t;e instanceof v&&(e=e._wrapped),t instanceof v&&(t=t._wrapped);var o=c.call(e);if(o!==c.call(t))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t}var r="[object Array]"===o;if(!r){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!(v.isFunction(a)&&a instanceof a&&v.isFunction(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],i=i||[];for(var u=n.length;u--;)if(n[u]===e)return i[u]===t;if(n.push(e),i.push(t),r){if(u=e.length,u!==t.length)return!1;for(;u--;)if(!$(e[u],t[u],n,i))return!1}else{var l,d=v.keys(e);if(u=d.length,v.keys(t).length!==u)return!1;for(;u--;)if(l=d[u],!v.has(t,l)||!$(e[l],t[l],n,i))return!1}return n.pop(),i.pop(),!0};v.isEqual=function(e,t){return D(e,t)},v.isEmpty=function(e){return null==e?!0:_(e)&&(v.isArray(e)||v.isString(e)||v.isArguments(e))?0===e.length:0===v.keys(e).length},v.isElement=function(e){return!(!e||1!==e.nodeType)},v.isArray=p||function(e){return"[object Array]"===c.call(e)},v.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},v.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(e){v["is"+e]=function(t){return c.call(t)==="[object "+e+"]"}}),v.isArguments(arguments)||(v.isArguments=function(e){return v.has(e,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(v.isFunction=function(e){return"function"==typeof e||!1}),v.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},v.isNaN=function(e){return v.isNumber(e)&&e!==+e},v.isBoolean=function(e){return e===!0||e===!1||"[object Boolean]"===c.call(e)},v.isNull=function(e){return null===e},v.isUndefined=function(e){return void 0===e},v.has=function(e,t){return null!=e&&d.call(e,t)},v.noConflict=function(){return i._=o,this},v.identity=function(e){return e},v.constant=function(e){return function(){return e}},v.noop=function(){},v.property=function(e){return function(t){return null==t?void 0:t[e]}},v.propertyOf=function(e){return null==e?function(){}:function(t){return e[t]}},v.matcher=v.matches=function(e){return e=v.extendOwn({},e),function(t){return v.isMatch(t,e)}},v.times=function(e,t,n){var i=Array(Math.max(0,e));t=b(t,n,1);for(var o=0;e>o;o++)i[o]=t(o);return i},v.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},v.now=Date.now||function(){return(new Date).getTime()};var j={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},A=v.invert(j),L=function(e){var t=function(t){return e[t]},n="(?:"+v.keys(e).join("|")+")",i=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(o,t):e}};v.escape=L(j),v.unescape=L(A),v.result=function(e,t,n){var i=null==e?void 0:e[t];return void 0===i&&(i=n),v.isFunction(i)?i.call(e):i};var H=0;v.uniqueId=function(e){var t=++H+"";return e?e+t:t},v.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var M=/(.)^/,F={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},q=/\\|'|\r|\n|\u2028|\u2029/g,O=function(e){return"\\"+F[e]};v.template=function(e,t,n){!t&&n&&(t=n),t=v.defaults({},t,v.templateSettings);var i=RegExp([(t.escape||M).source,(t.interpolate||M).source,(t.evaluate||M).source].join("|")+"|$","g"),o=0,r="__p+='";e.replace(i,function(t,n,i,a,s){return r+=e.slice(o,s).replace(q,O),o=s+t.length,n?r+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?r+="'+\n((__t=("+i+"))==null?'':__t)+\n'":a&&(r+="';\n"+a+"\n__p+='"),t}),r+="';\n",t.variable||(r="with(obj||{}){\n"+r+"}\n"),r="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+r+"return __p;\n";try{var a=new Function(t.variable||"obj","_",r)}catch(s){throw s.source=r,s}var u=function(e){return a.call(this,e,v)},l=t.variable||"obj";return u.source="function("+l+"){\n"+r+"}",u},v.chain=function(e){var t=v(e);return t._chain=!0,t};var B=function(e,t){return e._chain?v(t).chain():t};v.mixin=function(e){v.each(v.functions(e),function(t){var n=v[t]=e[t];v.prototype[t]=function(){var e=[this._wrapped];return u.apply(e,arguments),B(this,n.apply(v,e))}})},v.mixin(v),v.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=r[e];v.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],B(this,n)}}),v.each(["concat","join","slice"],function(e){var t=r[e];v.prototype[e]=function(){return B(this,t.apply(this._wrapped,arguments))}}),v.prototype.value=function(){return this._wrapped},v.prototype.valueOf=v.prototype.toJSON=v.prototype.value,v.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return v})}.call(this);var Util=function(window,$){function _isEmptyStr(e){return String.prototype.trim?""===e.trim():""===e.replace(/^\s+/,"").replace(/\s+$/,"")}function _udb_decorateURL(e){if(_isEmptyStr(e)){e=top.location.href;var t=e.indexOf("#");return-1!=t&&(e=e.substring(0,t)),e}if(e.startsWith("http"))return e;var n="http://";return top.location.href.startsWith("https")&&(n="https://"),n+document.domain+e}function ensureUDBSDK(e){window.dwUDBProxy?e(window.dwUDBProxy):$.getScript(location.protocol+"//pub.dwstatic.com/common/js/dwudbproxy.js",function(){setTimeout(function(){e(window.dwUDBProxy)},500)})}function getParam(e){var t=function(e,t){var n=new RegExp("(^|!|&|\\?)"+e+"=([^&]*)(&|$)");if(r=t.match(n),null!=r)try{return decodeURIComponent(r[2])}catch(i){return console.log(i+"r[2]:"+r[2]),null}return null},n=document.location.hash.substr(2),i=t(e,n);return null==i&&(n=document.location.search.substr(1),i=t(e,n)),i}function secondToTime(e){var t=function(e){return 10>e?"0"+e:""+e},n=parseInt(e/60),i=parseInt(e-60*n);return t(n)+":"+t(i)}function browserVersion(){var BROWSER={},types={ie:"msie",firefox:"",chrome:"",opera:"",safari:"",mozilla:"",webkit:"",maxthon:"",qq:"qqbrowser"},USERAGENT=navigator.userAgent.toLowerCase(),other=1;for(i in types){var v=types[i]?types[i]:i;if(-1!=USERAGENT.indexOf(v)){var re=new RegExp(v+"(\\/|\\s)([\\d\\.]+)","ig"),matches=re.exec(USERAGENT),ver=null!=matches?matches[2]:0;other=0!==ver&&"mozilla"!=v?0:other}else var ver=0;eval("BROWSER."+i+"= ver")}BROWSER.other=other}var loggedIn=!1,isLoggedIn=function(){return loggedIn||(loggedIn=Cookie.get("yyuid")||Cookie.get("lg_uid")||Cookie.get("ouid")),loggedIn},login=function(e){ensureUDBSDK("function"==typeof e?e:function(t){try{t.login(e||"")}catch(n){}})},logout=function(e){ensureUDBSDK(function(t){try{t.logout(e||"")}catch(n){}})},_isAdmin=null,REG_ADMIN=/^dw_[a-z]+/,_isAdmin=function(){return null==_isAdmin&&isLoggedIn()&&(_isAdmin=REG_ADMIN.test(Cookie.get("username")||"")),_isAdmin||!1},parseDate=function(e){return new Date(1e3*parseInt(e,10))},getFriendlyDateStr=function(e){var t=(new Date).getTime()-e.getTime(),n=6e4,i=60*n,o=24*i,r=30*o,a=12*r,s="";return n>t?s="刚刚":i>t?s=Math.floor(t/n)+"分钟前":o>t?s=Math.floor(t/i)+"小时前":r>t?s=Math.floor(t/o)+"天前":a>t?s=Math.floor(t/r)+"个月前":t>=a&&(s=Math.floor(t/a)+"年前"),s},getDateTomorrow=function(){var e=new Date;return e.setHours(0,0,0,0),new Date(e.getTime()+864e5)},getUserLink=function(e){return e&&"0"!=e?location.protocol+"//bbs.duowan.com/space-uid-"+e+".html":"#"},jqWindow=$(window),scrollIntoView=function(e){var t=$(e);if(t.is(":visible")){var n,i=36,o=t.offset().top,r=jqWindow.scrollTop();r+i>o&&(n=o-i),null!=n&&jqWindow.scrollTop(n)}},isInView=function(e){var t=36,n=e.offsetParent(),i=n.scrollTop()||0;return e.offset().top<jqWindow.scrollTop()+jqWindow.innerHeight()+(i?i:i+t)},lazyLoad=function(e,t){function n(){i||isInView(e)&&(jqWindow.off("scroll resize",n),o.off("scroll",n),i=!0,t(e))}var i=!1,o=e.offsetParent();jqWindow.on("scroll resize",n),o.on("scroll",n),n()},Util={};return Util.isLoggedIn=isLoggedIn,Util.login=login,Util.logout=logout,Util.isAdmin=_isAdmin,Util.parseDate=parseDate,Util.getFriendlyDateStr=getFriendlyDateStr,Util.getDateTomorrow=getDateTomorrow,Util.getUserLink=getUserLink,Util.scrollIntoView=scrollIntoView,Util.isInView=isInView,Util.lazyLoad=lazyLoad,Util.getParam=getParam,Util.secondToTime=secondToTime,Util.browserVersion=browserVersion,Util}(window,jQuery);!function(window,$,undefined){if(!window.dwUDBBind){{var bindDialog,bindSuccDialog,BINDRET=!1,bindTmp=function(obj){{var __t,__p="";Array.prototype.join}with(obj||{})__p+='<div class="dw-bind-box">\r\n <h1 class="dw-bind-title">验证手机号码</h1>\r\n <div class="dw-bind-cont">应相关部门要求,多玩全网施行发帖、回帖实名制<a href="http://bbs.duowan.com/thread-45899379-1-1.html" target="_blank" title="查看详情">【查看详情】</a>,海外用户实名制流程<a href=" http://bbs.duowan.com/thread-46028276-1-1.html" target="_blank" title="海外用户实名制流程">【查看详情】</a>。为感谢您的配合,完成之后将送上10金豆,可以在<a href="http://plus.duowan.com/" target="_blank" title="金豆商城">【金豆商城】</a>兑换商品哦!</div>\r\n <div class="bind-cont">\r\n <p>\r\n <input type="text" id="bindPhone" placeholder="输入手机号码" name="bindPhone" value="'+(null==(__t=_phone_)?"":__t)+'"/>\r\n ',__p+=sending?'\r\n <button id="bindGetCode" class="disabled">倒计时'+(null==(__t=seconds)?"":__t)+"s</button>\r\n ":'\r\n <button id="bindGetCode">获取验证码</button>\r\n ',__p+='\r\n </p>\r\n <p>\r\n <input type="text" id="bindCode" placeholder="输入验证码" name="bindCode" />\r\n <button id="bindSubmit">确定</button>\r\n </p>\r\n <p class="error-tip" id="bindTip"></p>\r\n </div>\r\n</div>';
- return __p},bindSuccTmp=function(obj){{var __p="";Array.prototype.join}with(obj||{})__p+='<div class="dw-bind-box bind-succ">\r\n <h1 class="dw-bind-title">验证成功</h1>\r\n <div class="dw-bind-cont">验证手机号码成功,10金豆放入您的【金豆商城】账号,请笑纳~</div>\r\n <div class="bind-succ-tools">\r\n <a href="javascipt:;" i="close" class="dark-btn">确认</a>\r\n <a href="http://plus.duowan.com/" target="_blank" class="light-btn" title="金豆商城">进入金豆商城</a>\r\n </div>\r\n</div>';return __p},cssStyle='.ui-dialog {\n *zoom: 1;\n _float: left;\n position: relative;\n background-color: #FFF;\n border-radius: 6px;\n outline: 0;\n background-clip: padding-box;\n font-family: Helvetica, arial, sans-serif;\n font-size: 14px;\n line-height: 1.428571429;\n color: #333;\n opacity: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transition: -webkit-transform .15s ease-in-out, opacity .15s ease-in-out;\n -webkit-transition: opacity .15s ease-in-out, -webkit-transform .15s ease-in-out;\n transition: opacity .15s ease-in-out, -webkit-transform .15s ease-in-out;\n transition: transform .15s ease-in-out, opacity .15s ease-in-out;\n transition: transform .15s ease-in-out, opacity .15s ease-in-out, -webkit-transform .15s ease-in-out;\n}\n\n.ui-popup-show .ui-dialog {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n\n.ui-popup-focus .ui-dialog {\n -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);\n box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);\n}\n\n.ui-popup-modal .ui-dialog {\n -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), 0 0 256px rgba(255, 255, 255, 0.3);\n box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), 0 0 256px rgba(255, 255, 255, 0.3);\n}\n\n.ui-dialog-grid {\n width: auto;\n margin: 0;\n border: 0 none;\n border-collapse: collapse;\n border-spacing: 0;\n background: transparent;\n}\n\n.ui-dialog-header,\n.ui-dialog-body,\n.ui-dialog-footer {\n padding: 0;\n border: 0 none;\n text-align: left;\n background: transparent;\n}\n\n.ui-dialog-header {\n white-space: nowrap;\n border-bottom: 1px solid #E5E5E5;\n}\n\n.ui-dialog-close {\n position: relative;\n _position: absolute;\n float: right;\n top: 0px;\n right: -16px;\n font-size: 14px;\n width: 14px;\n height: 14px;\n text-indent: -9999px;\n padding: 0;\n font-weight: normal;\n color: #000;\n text-shadow: 0 1px 0 #FFF;\n cursor: pointer;\n background: transparent;\n _background: #FFF;\n font-family: "SimHei";\n border: 0;\n -webkit-appearance: none;\n background: url(http://pub.ouj.com/common//img/icon-close-new_8635244.png?__sprite) no-repeat;\n background-color: transparent;\n}\n\n.ui-dialog-close:hover,\n.ui-dialog-close:focus {\n color: #d13038;\n text-decoration: none;\n cursor: pointer;\n outline: 0;\n background: url(http://pub.ouj.com/common//img/icon-close-hover_f60b81f.png?__sprite) no-repeat;\n}\n\n.ui-dialog-title {\n margin: 0;\n line-height: 1.428571429;\n min-height: 16.428571429px;\n padding: 15px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n font-weight: bold;\n cursor: default;\n}\n\n.ui-dialog-body {\n padding: 20px 40px;\n text-align: center;\n}\n\n.ui-dialog-content {\n display: inline-block;\n position: relative;\n vertical-align: middle;\n *zoom: 1;\n *display: inline;\n text-align: left;\n}\n\n.ui-dialog-footer {\n padding: 0 20px 20px 20px;\n}\n\n.ui-dialog-statusbar {\n float: left;\n margin-right: 20px;\n padding: 6px 0;\n line-height: 1.428571429;\n font-size: 14px;\n color: #888;\n white-space: nowrap;\n}\n\n.ui-dialog-statusbar label:hover {\n color: #333;\n}\n\n.ui-dialog-statusbar input,\n.ui-dialog-statusbar .label {\n vertical-align: middle;\n}\n\n.ui-dialog-button {\n float: right;\n white-space: nowrap;\n}\n\n.ui-dialog-footer button + button {\n margin-bottom: 0;\n margin-left: 5px;\n}\n\n.ui-dialog-footer button {\n width: auto;\n overflow: visible;\n display: inline-block;\n padding: 6px 12px;\n _margin-left: 5px;\n margin-bottom: 0;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.428571429;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n cursor: pointer;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n -o-user-select: none;\n user-select: none;\n}\n\n.ui-dialog-footer button:focus {\n outline: thin dotted #333;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n\n.ui-dialog-footer button:hover,\n.ui-dialog-footer button:focus {\n color: #333333;\n text-decoration: none;\n}\n\n.ui-dialog-footer button:active {\n background-image: none;\n outline: 0;\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n}\n\n.ui-dialog-footer button[disabled] {\n pointer-events: none;\n cursor: not-allowed;\n opacity: 0.65;\n filter: alpha(opacity=65);\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n\n.ui-dialog-footer button {\n color: #333333;\n background-color: #ffffff;\n border-color: #cccccc;\n}\n\n.ui-dialog-footer button:hover,\n.ui-dialog-footer button:focus,\n.ui-dialog-footer button:active {\n color: #333333;\n background-color: #ebebeb;\n border-color: #adadad;\n}\n\n.ui-dialog-footer button:active {\n background-image: none;\n}\n\n.ui-dialog-footer button[disabled],\n.ui-dialog-footer button[disabled]:hover,\n.ui-dialog-footer button[disabled]:focus,\n.ui-dialog-footer button[disabled]:active {\n background-color: #ffffff;\n border-color: #cccccc;\n}\n\n.ui-dialog-footer button.ui-dialog-autofocus {\n color: #ffffff;\n background-color: #428bca;\n border-color: #357ebd;\n}\n\n.ui-dialog-footer button.ui-dialog-autofocus:hover,\n.ui-dialog-footer button.ui-dialog-autofocus:focus,\n.ui-dialog-footer button.ui-dialog-autofocus:active {\n color: #ffffff;\n background-color: #3276b1;\n border-color: #285e8e;\n}\n\n.ui-dialog-footer button.ui-dialog-autofocus:active {\n background-image: none;\n}\n\n.ui-popup-top-left .ui-dialog,\n.ui-popup-top .ui-dialog,\n.ui-popup-top-right .ui-dialog {\n top: -8px;\n}\n\n.ui-popup-bottom-left .ui-dialog,\n.ui-popup-bottom .ui-dialog,\n.ui-popup-bottom-right .ui-dialog {\n top: 8px;\n}\n\n.ui-popup-left-top .ui-dialog,\n.ui-popup-left .ui-dialog,\n.ui-popup-left-bottom .ui-dialog {\n left: -8px;\n}\n\n.ui-popup-right-top .ui-dialog,\n.ui-popup-right .ui-dialog,\n.ui-popup-right-bottom .ui-dialog {\n left: 8px;\n}\n\n.ui-dialog-arrow-a,\n.ui-dialog-arrow-b {\n position: absolute;\n display: none;\n width: 0;\n height: 0;\n overflow: hidden;\n _color: #FF3FFF;\n _-webkit-filter: chroma(color=#FF3FFF);\n _ filter: chroma(color=#FF3FFF);\n border: 8px dashed transparent;\n}\n\n.ui-popup-follow .ui-dialog-arrow-a,\n.ui-popup-follow .ui-dialog-arrow-b {\n display: block;\n}\n\n.ui-popup-top-left .ui-dialog-arrow-a,\n.ui-popup-top .ui-dialog-arrow-a,\n.ui-popup-top-right .ui-dialog-arrow-a {\n bottom: -16px;\n border-top: 8px solid #7C7C7C;\n}\n\n.ui-popup-top-left .ui-dialog-arrow-b,\n.ui-popup-top .ui-dialog-arrow-b,\n.ui-popup-top-right .ui-dialog-arrow-b {\n bottom: -15px;\n border-top: 8px solid #fff;\n}\n\n.ui-popup-top-left .ui-dialog-arrow-a,\n.ui-popup-top-left .ui-dialog-arrow-b {\n left: 15px;\n}\n\n.ui-popup-top .ui-dialog-arrow-a,\n.ui-popup-top .ui-dialog-arrow-b {\n left: 50%;\n margin-left: -8px;\n}\n\n.ui-popup-top-right .ui-dialog-arrow-a,\n.ui-popup-top-right .ui-dialog-arrow-b {\n right: 15px;\n}\n\n.ui-popup-bottom-left .ui-dialog-arrow-a,\n.ui-popup-bottom .ui-dialog-arrow-a,\n.ui-popup-bottom-right .ui-dialog-arrow-a {\n top: -16px;\n border-bottom: 8px solid #7C7C7C;\n}\n\n.ui-popup-bottom-left .ui-dialog-arrow-b,\n.ui-popup-bottom .ui-dialog-arrow-b,\n.ui-popup-bottom-right .ui-dialog-arrow-b {\n top: -15px;\n border-bottom: 8px solid #fff;\n}\n\n.ui-popup-bottom-left .ui-dialog-arrow-a,\n.ui-popup-bottom-left .ui-dialog-arrow-b {\n left: 15px;\n}\n\n.ui-popup-bottom .ui-dialog-arrow-a,\n.ui-popup-bottom .ui-dialog-arrow-b {\n margin-left: -8px;\n left: 50%;\n}\n\n.ui-popup-bottom-right .ui-dialog-arrow-a,\n.ui-popup-bottom-right .ui-dialog-arrow-b {\n right: 15px;\n}\n\n.ui-popup-left-top .ui-dialog-arrow-a,\n.ui-popup-left .ui-dialog-arrow-a,\n.ui-popup-left-bottom .ui-dialog-arrow-a {\n right: -16px;\n border-left: 8px solid #7C7C7C;\n}\n\n.ui-popup-left-top .ui-dialog-arrow-b,\n.ui-popup-left .ui-dialog-arrow-b,\n.ui-popup-left-bottom .ui-dialog-arrow-b {\n right: -15px;\n border-left: 8px solid #fff;\n}\n\n.ui-popup-left-top .ui-dialog-arrow-a,\n.ui-popup-left-top .ui-dialog-arrow-b {\n top: 15px;\n}\n\n.ui-popup-left .ui-dialog-arrow-a,\n.ui-popup-left .ui-dialog-arrow-b {\n margin-top: -8px;\n top: 50%;\n}\n\n.ui-popup-left-bottom .ui-dialog-arrow-a,\n.ui-popup-left-bottom .ui-dialog-arrow-b {\n bottom: 15px;\n}\n\n.ui-popup-right-top .ui-dialog-arrow-a,\n.ui-popup-right .ui-dialog-arrow-a,\n.ui-popup-right-bottom .ui-dialog-arrow-a {\n left: -16px;\n border-right: 8px solid #7C7C7C;\n}\n\n.ui-popup-right-top .ui-dialog-arrow-b,\n.ui-popup-right .ui-dialog-arrow-b,\n.ui-popup-right-bottom .ui-dialog-arrow-b {\n left: -15px;\n border-right: 8px solid #fff;\n}\n\n.ui-popup-right-top .ui-dialog-arrow-a,\n.ui-popup-right-top .ui-dialog-arrow-b {\n top: 15px;\n}\n\n.ui-popup-right .ui-dialog-arrow-a,\n.ui-popup-right .ui-dialog-arrow-b {\n margin-top: -8px;\n top: 50%;\n}\n\n.ui-popup-right-bottom .ui-dialog-arrow-a,\n.ui-popup-right-bottom .ui-dialog-arrow-b {\n bottom: 15px;\n}\n\n@-webkit-keyframes ui-dialog-loading {\n 0% {\n -webkit-transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n }\n}\n\n@keyframes ui-dialog-loading {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n.ui-dialog-loading {\n vertical-align: middle;\n position: relative;\n display: block;\n *zoom: 1;\n *display: inline;\n overflow: hidden;\n width: 32px;\n height: 32px;\n top: 50%;\n margin: 0 auto 0 auto;\n font-size: 0;\n text-indent: -999em;\n color: #666;\n}\n\n.ui-dialog-loading {\n width: 100%\\9;\n text-indent: 0\\9;\n line-height: 32px\\9;\n text-align: center\\9;\n font-size: 12px\\9;\n margin-top: -16px\\9;\n}\n\n.ui-dialog-loading::after {\n position: absolute;\n content: \'\';\n width: 3px;\n height: 3px;\n margin: 14.5px 0 0 14.5px;\n border-radius: 100%;\n -webkit-box-shadow: 0 -10px 0 1px #ccc, 10px 0px #ccc, 0 10px #ccc, -10px 0 #ccc, -7px -7px 0 0.5px #ccc, 7px -7px 0 1.5px #ccc, 7px 7px #ccc, -7px 7px #ccc;\n box-shadow: 0 -10px 0 1px #ccc, 10px 0px #ccc, 0 10px #ccc, -10px 0 #ccc, -7px -7px 0 0.5px #ccc, 7px -7px 0 1.5px #ccc, 7px 7px #ccc, -7px 7px #ccc;\n -webkit-transform: rotate(360deg);\n -webkit-animation: ui-dialog-loading 1.5s infinite linear;\n transform: rotate(360deg);\n animation: ui-dialog-loading 1.5s infinite linear;\n display: none\\9;\n}\n\n.base-ui {\n border-radius: 0;\n font-family: "Microsoft Yahei";\n}\n\n.base-ui .ui-dialog-header {\n border-bottom: none;\n}\n\n.base-ui .ui-dialog-title {\n font-size: 16px;\n padding: 5px 15px;\n}\n\n.base-ui .ui-dialog-close {\n position: absolute;\n}\n\n.base-ui .ui-dialog-content {\n color: #666;\n font-size: 18px;\n}\n\n.login-ui {\n border-radius: 0;\n font-family: "Microsoft Yahei";\n}\n\n.login-ui .ui-dialog-header {\n border-bottom: none;\n}\n\n.login-ui .ui-dialog-title {\n text-indent: -9999px;\n padding: 5px 15px;\n}\n\n.login-ui .ui-dialog-content {\n color: #666;\n font-size: 18px;\n}\n\n.login-ui .ui-dialog-body {\n padding: 0;\n}\n\n.login-ui .ui-dialog-title {\n display: none;\n}\n\n.login-ui .ui-dialog-close {\n position: absolute;\n float: right;\n top: 0px;\n right: -16px;\n font-size: 14px;\n width: 14px;\n height: 14px;\n text-indent: -9999px;\n padding: 0;\n font-weight: normal;\n color: #000;\n cursor: pointer;\n background: transparent;\n font-family: "SimHei";\n border: 0;\n -webkit-appearance: none;\n background: url(http://pub.ouj.com/common//img/icon-close-new_8635244.png?__sprite) no-repeat;\n background-color: transparent;\n}\n\n.login-ui .ui-dialog-close:hover,\n.login-ui .ui-dialog-close:focus {\n color: #d13038;\n text-decoration: none;\n cursor: pointer;\n outline: 0;\n background: url(http://pub.ouj.com/common//img/icon-close-hover_f60b81f.png?__sprite) no-repeat;\n}\n\n.base-ui2 {\n border-radius: 3px;\n font-family: "Microsoft Yahei";\n border: 4px solid rgba(255, 255, 255, 0.18);\n}\n\n.base-ui2 .ui-dialog-header {\n border-bottom: none;\n}\n\n.base-ui2 .ui-dialog-content {\n color: #666;\n font-size: 18px;\n}\n\n.base-ui2 .ui-dialog-body {\n padding-top: 0;\n}\n\n.nobg-ui {\n background: none;\n font-family: "Microsoft Yahei";\n border: none;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n}\n\n.nobg-ui2 {\n background: none;\n font-family: "Microsoft Yahei";\n border: none;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n}\n\n.nobg-ui2 .ui-dialog-header {\n border-bottom: none;\n}\n\n.nobg-ui2 .ui-dialog-close {\n top: 35px;\n right: 15px;\n}\n\n.dw-bind-box {\n width: 370px;\n padding: 0 75px;\n -webkit-box-sizing: content-box;\n box-sizing: content-box;\n font-family: \'Micrsoft Yahei\';\n color: #333;\n}\n\n.dw-bind-box .dw-bind-title {\n margin: 30px 0 17px;\n font-size: 20px;\n line-height: 36px;\n font-weight: bold;\n text-align: center;\n}\n\n.dw-bind-box .bind-cont {\n margin-bottom: 60px;\n}\n\n.dw-bind-box .bind-cont p {\n font-size: 0;\n margin: 0;\n margin-bottom: 20px;\n}\n\n.dw-bind-box .bind-cont input {\n display: inline-block;\n *display: inline;\n *zoom: 1;\n width: 248px;\n height: 32px;\n padding-left: 10px;\n border: 1px solid #bdc3c7;\n vertical-align: top;\n font-size: 14px;\n color: #333;\n line-height: 32px;\n}\n\n.dw-bind-box .bind-cont button {\n outline: none;\n border: none;\n background: transparent;\n padding: 0;\n display: inline-block;\n *display: inline;\n *zoom: 1;\n width: 99px;\n height: 34px;\n vertical-align: top;\n margin-left: 10px;\n font-size: 14px;\n color: #fff;\n line-height: 34px;\n background-color: #e94646;\n border-radius: 2px;\n cursor: pointer;\n}\n\n.dw-bind-box .bind-cont button.disabled {\n background-color: #b0abab;\n color: #fff;\n}\n\n.dw-bind-box .bind-cont button:hover, .dw-bind-box .bind-cont button:active {\n opacity: 0.8;\n /* filter: alpha(opacity=80); */\n filter: alpha(opacity=80);\n}\n\n.dw-bind-box .bind-cont .error-tip {\n font-size: 14px;\n color: #e94646;\n}\n\n.dw-bind-box .dw-bind-cont {\n font-size: 16px;\n line-height: 25px;\n margin-bottom: 36px;\n}\n\n.dw-bind-box .dw-bind-cont a {\n color: #e94646;\n}\n\n.dw-bind-box.bind-succ .bind-succ-tools {\n margin: 30px 0 60px;\n text-align: center;\n font-size: 0;\n}\n\n.dw-bind-box.bind-succ .bind-succ-tools a {\n display: inline-block;\n *display: inline;\n *zoom: 1;\n width: 119px;\n height: 34px;\n margin: 0 10px;\n font-size: 14px;\n color: #fff;\n line-height: 36px;\n text-decoration: none;\n}\n\n.dw-bind-box.bind-succ .bind-succ-tools a:hover,\n.dw-bind-box.bind-succ .bind-succ-tools a:active {\n opacity: .8;\n}\n\n.dw-bind-box.bind-succ .bind-succ-tools a.dark-btn {\n background-color: #596d81;\n}\n\n.dw-bind-box.bind-succ .bind-succ-tools a.light-btn {\n background-color: #e94646;\n}\n\n@media screen and (max-width: 500px) {\n .dw-bind-box {\n width: 310px;\n padding: 0 15px;\n }\n .dw-bind-box .bind-cont input {\n width: 180px;\n }\n .dw-bind-box .bind-cont button {\n width: 90px;\n }\n}\n\n@media screen and (max-width: 325px) {\n .dw-bind-box {\n width: 270px;\n padding: 0 5px;\n }\n .dw-bind-box .bind-cont input {\n width: 150px;\n }\n .dw-bind-box .bind-cont button {\n width: 90px;\n }\n}\n',isBBs=/bbs./.exec(location.host)?!0:!1,isWap=/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||window.opera),_sending_=!1,_seconds_=0,_phone_="",getData=function(e,t){t||(t={});var n=$.Deferred();return $.ajax({url:e,data:t,dataType:"jsonp"}).done(function(){n.resolveWith(this,arguments)}).fail(function(){n.rejectWith(this,arguments)}),setTimeout(function(){n.notify("timeout")},1e4),n},_afterCloseDialog=(function(){$("body").append("<style>"+cssStyle+"</style>")}(),function(){window.HostApp&&HostApp.closeWebview()});(function(){function e(e){var t=/^((1[0-9]{2}){1}\d{8})$/;return t.test(e)}function t(){_sending_=!0,_seconds_=60,$("#bindGetCode").addClass("disabled").text("倒计时60s");var e=setInterval(function(){0>=_seconds_?(clearInterval(e),$("#bindGetCode").removeClass("disabled").text("获取验证码"),_sending_=!1,_phone_=""):$("#bindGetCode").text("倒计时"+--_seconds_+"s")},1e3)}$("body").on("click","#bindGetCode",function(){if(!_sending_){if(_phone_=$.trim($("#bindPhone").val()),!e(_phone_))return void $("#bindTip").text("手机号码格式错误");$("#bindTip").text(""),t(),dwUDBBind.sendMessage(_phone_)}}).on("click","#bindSubmit",_.throttle(function(){var t=$.trim($("#bindPhone").val()),n=$.trim($("#bindCode").val());return""==n?void $("#bindTip").text("验证码不能为空"):e(t)?($("#bindTip").text(""),void dwUDBBind.sendBind(t,n)):void $("#bindTip").text("手机号码格式错误")},1e3,{trailing:!0}))})()}window.dwUDBBind={isBind:function(){function e(){var e=arguments;BINDRET?t.resolveWith(this,arguments):getData(location.protocol+"//udbproxy.duowan.com/realname/isbind").done(function(n){-1==n.code?bindDialog=Dialog({title:" ",content:bindTmp({sending:_sending_,seconds:_seconds_}),skin:"login-ui"}).addEventListener("close",_afterCloseDialog).showModal():1==n.code?(BINDRET=!0,t.resolve(e)):Dialog({title:"提示",content:n.msg,skin:"base-ui"}).showModal()})}var t=$.Deferred();return isBBs?e():Util.isLoggedIn()?e():isWap?Util.login(function(){}):Util.login(),t},sendMessage:function(e){return getData(location.protocol+"//udbproxy.duowan.com/realname/sendsms?tel="+e).done(function(e){1!=e.code&&Dialog({title:"提示",content:e.msg,skin:"base-ui"}).showModal()})},sendBind:function(e,t){return getData(location.protocol+("//udbproxy.duowan.com/realname/bind?tel="+e+"&code="+t)).done(function(e){1==e.code?(BINDRET=!0,bindDialog.remove(),bindSuccDialog=Dialog({title:" ",content:bindSuccTmp,skin:"login-ui"}).addEventListener("close",_afterCloseDialog).showModal()):Dialog({title:"提示",content:e.msg,skin:"base-ui"}).showModal()})}}}}(window,jQuery)}();
|