text: !function(win,options,undefined){var hideKefu=!1,hideList=!1,cssfix="smartnlp-robot-",apiUrl="http://api.smartnlp.cn/cloud/robot/",cssUrl="robot/css/robot.css",kfJsUrl="robot/ddp-client.js",kfServerHost="http://kf.smartnlp.cn/",kfTimeout=12e3,imgUpdateUrl="http://res.smartnlp.cn/robot-id/upload",cookieKey="SMARTNLP_USER",imgUpdateType="gif|jpg|jpeg|png|bmp",imgMaxSize=5120,kefuStartWord="向你发起咨询请求",$=function(e,t){function n(e){var t=ht[e]={};return Q.each(e.split(tt),function(e,n){t[n]=!0}),t}function r(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(gt,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:mt.test(r)?Q.parseJSON(r):r}catch(o){}Q.data(e,n,r)}else r=t}return r}function i(e){var t;for(t in e)if(("data"!==t||!Q.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function o(){return!1}function a(){return!0}function s(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function l(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function c(e,t,n){if(t=t||0,Q.isFunction(t))return Q.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return Q.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=Q.grep(e,function(e){return 1===e.nodeType});if(Ht.test(t))return Q.filter(t,r,!n);t=Q.filter(t,r)}return Q.grep(e,function(e){return Q.inArray(e,t)>=0===n})}function u(e){var t=It.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function d(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function f(e,t){if(1===t.nodeType&&Q.hasData(e)){var n,r,i,o=Q._data(e),a=Q._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)Q.event.add(t,n,s[n][r])}a.data&&(a.data=Q.extend({},a.data))}}function p(e,t){var n;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),Q.support.html5Clone&&e.innerHTML&&!Q.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Kt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.selected=e.defaultSelected:"input"===n||"textarea"===n?t.defaultValue=e.defaultValue:"script"===n&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(Q.expando))}function h(e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName("*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll("*"):[]}function m(e){Kt.test(e.type)&&(e.defaultChecked=e.checked)}function g(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=vn.length;i--;)if(t=vn[i]+n,t in e)return t;return r}function v(e,t){return e=t||e,"none"===Q.css(e,"display")||!Q.contains(e.ownerDocument,e)}function y(e,t){for(var n,r,i=[],o=0,a=e.length;a>o;o++)n=e[o],n.style&&(i[o]=Q._data(n,"olddisplay"),t?(i[o]||"none"!==n.style.display||(n.style.display=""),""===n.style.display&&v(n)&&(i[o]=Q._data(n,"olddisplay",T(n.nodeName)))):(r=nn(n,"display"),i[o]||"none"===r||Q._data(n,"olddisplay",r)));for(o=0;a>o;o++)n=e[o],n.style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?i[o]||"":"none"));return e}function x(e,t,n){var r=un.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function b(e,t,n,r){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,o=0;4>i;i+=2)"margin"===n&&(o+=Q.css(e,n+gn[i],!0)),r?("content"===n&&(o-=parseFloat(nn(e,"padding"+gn[i]))||0),"margin"!==n&&(o-=parseFloat(nn(e,"border"+gn[i]+"Width"))||0)):(o+=parseFloat(nn(e,"padding"+gn[i]))||0,"padding"!==n&&(o+=parseFloat(nn(e,"border"+gn[i]+"Width"))||0));return o}function w(e,t,n){var r="width"===t?e.offsetWidth:e.offsetHeight,i=!0,o=Q.support.boxSizing&&"border-box"===Q.css(e,"boxSizing");if(0>=r){if(r=nn(e,t),(0>r||null==r)&&(r=e.style[t]),dn.test(r))return r;i=o&&(Q.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+b(e,t,n||(o?"border":"content"),i)+"px"}function T(e){if(pn[e])return pn[e];var t=Q("<"+e+">").appendTo(R.body),n=t.css("display");return t.remove(),("none"===n||""===n)&&(rn=R.body.appendChild(rn||Q.extend(R.createElement("iframe"),{frameBorder:0,width:0,height:0})),on&&rn.createElement||(on=(rn.contentWindow||rn.contentDocument).document,on.write("<!doctype html><html><body>"),on.close()),t=on.body.appendChild(on.createElement(e)),n=nn(t,"display"),R.body.removeChild(rn)),pn[e]=n,n}function k(e,t,n,r){var i;if(Q.isArray(t))Q.each(t,function(t,i){n||bn.test(e)?r(e,i):k(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==Q.type(t))r(e,t);else for(i in t)k(e+"["+i+"]",t[i],n,r)}function S(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i,o,a=t.toLowerCase().split(tt),s=0,l=a.length;if(Q.isFunction(n))for(;l>s;s++)r=a[s],o=/^\+/.test(r),o&&(r=r.substr(1)||"*"),i=e[r]=e[r]||[],i[o?"unshift":"push"](n)}}function C(e,n,r,i,o,a){o=o||n.dataTypes[0],a=a||{},a[o]=!0;for(var s,l=e[o],c=0,u=l?l.length:0,d=e===Hn;u>c&&(d||!s);c++)s=l[c](n,r,i),"string"==typeof s&&(!d||a[s]?s=t:(n.dataTypes.unshift(s),s=C(e,n,r,i,s,a)));return!d&&s||a["*"]||(s=C(e,n,r,i,"*",a)),s}function E(e,n){var r,i,o=Q.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((o[r]?e:i||(i={}))[r]=n[r]);i&&Q.extend(!0,e,i)}function N(e,n,r){var i,o,a,s,l=e.contents,c=e.dataTypes,u=e.responseFields;for(o in u)o in r&&(n[u[o]]=r[o]);for(;"*"===c[0];)c.shift(),i===t&&(i=e.mimeType||n.getResponseHeader("content-type"));if(i)for(o in l)if(l[o]&&l[o].test(i)){c.unshift(o);break}if(c[0]in r)a=c[0];else{for(o in r){if(!c[0]||e.converters[o+" "+c[0]]){a=o;break}s||(s=o)}a=a||s}return a?(a!==c[0]&&c.unshift(a),r[a]):void 0}function $(e,t){var n,r,i,o,a=e.dataTypes.slice(),s=a[0],l={},c=0;if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a[1])for(n in e.converters)l[n.toLowerCase()]=e.converters[n];for(;i=a[++c];)if("*"!==i){if("*"!==s&&s!==i){if(n=l[s+" "+i]||l["* "+i],!n)for(r in l)if(o=r.split(" "),o[1]===i&&(n=l[s+" "+o[0]]||l["* "+o[0]])){n===!0?n=l[r]:l[r]!==!0&&(i=o[0],a.splice(c--,0,i));break}if(n!==!0)if(n&&e["throws"])t=n(t);else try{t=n(t)}catch(u){return{state:"parsererror",error:n?u:"No conversion from "+s+" to "+i}}}s=i}return{state:"success",data:t}}function D(){try{return new e.XMLHttpRequest}catch(t){}}function _(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function j(){return setTimeout(function(){Jn=t},0),Jn=Q.now()}function A(e,t){Q.each(t,function(t,n){for(var r=(Zn[t]||[]).concat(Zn["*"]),i=0,o=r.length;o>i;i++)if(r[i].call(e,t,n))return})}function L(e,t,n){var r,i=0,o=Qn.length,a=Q.Deferred().always(function(){delete s.elem}),s=function(){for(var t=Jn||j(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),i=0,o=l.tweens.length;o>i;i++)l.tweens[i].run(r);return a.notifyWith(e,[l,r,n]),1>r&&o?n:(a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:Q.extend({},t),opts:Q.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Jn||j(),duration:n.duration,tweens:[],createTween:function(t,n){var r=Q.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){for(var n=0,r=t?l.tweens.length:0;r>n;n++)l.tweens[n].run(1);return t?a.resolveWith(e,[l,t]):a.rejectWith(e,[l,t]),this}}),c=l.props;for(M(c,l.opts.specialEasing);o>i;i++)if(r=Qn[i].call(l,e,c,l.opts))return r;return A(l,c),Q.isFunction(l.opts.start)&&l.opts.start.call(e,l),Q.fx.timer(Q.extend(s,{anim:l,queue:l.opts.queue,elem:e})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function M(e,t){var n,r,i,o,a;for(n in e)if(r=Q.camelCase(n),i=t[r],o=e[n],Q.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=Q.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function X(e,t,n){var r,i,o,a,s,l,c,u,d=this,f=e.style,p={},h=[],m=e.nodeType&&v(e);n.queue||(c=Q._queueHooks(e,"fx"),null==c.unqueued&&(c.unqueued=0,u=c.empty.fire,c.empty.fire=function(){c.unqueued||u()}),c.unqueued++,d.always(function(){d.always(function(){c.unqueued--,Q.queue(e,"fx").length||c.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===Q.css(e,"display")&&"none"===Q.css(e,"float")&&(Q.support.inlineBlockNeedsLayout&&"inline"!==T(e.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",Q.support.shrinkWrapBlocks||d.done(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(r in t)if(o=t[r],Kn.exec(o)){if(delete t[r],o===(m?"hide":"show"))continue;h.push(r)}if(a=h.length)for(s=Q._data(e,"fxshow")||Q._data(e,"fxshow",{}),m?Q(e).show():d.done(function(){Q(e).hide()}),d.done(function(){var t;Q.removeData(e,"fxshow",!0);for(t in p)Q.style(e,t,p[t])}),r=0;a>r;r++)i=h[r],l=d.createTween(i,m?s[i]:0),p[i]=s[i]||Q.style(e,i),i in s||(s[i]=l.start,m&&(l.end=l.start,l.start="width"===i||"height"===i?1:0))}function H(e,t,n,r,i){return new H.prototype.init(e,t,n,r,i)}function F(e,t){for(var n,r={height:e},i=0;4>i;i+=2-t)n=gn[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function O(e){return Q.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}var I,B,R=e.document,P=e.location,q=e.navigator,W=e.jQuery,z=e.$,U=Array.prototype.push,J=Array.prototype.slice,V=Array.prototype.indexOf,K=Object.prototype.toString,Y=Object.prototype.hasOwnProperty,G=String.prototype.trim,Q=function(e,t){return new Q.fn.init(e,t,I)},Z=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,et=/\S/,tt=/\s+/,nt=et.test(" ")?/^[\s\xA0]+|[\s\xA0]+$/g:/^\s+|\s+$/g,rt=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,it=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ot=/^[\],:{}\s]*$/,at=/(?:^|:|,)(?:\s*\[)+/g,st=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,lt=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,ct=/^-ms-/,ut=/-([\da-z])/gi,dt=function(e,t){return(t+"").toUpperCase()},ft=function(){R.addEventListener?(R.removeEventListener("DOMContentLoaded",ft,!1),Q.ready()):"complete"===R.readyState&&(R.detachEvent("onreadystatechange",ft),Q.ready())},pt={};Q.fn=Q.prototype={constructor:Q,init:function(e,n,r){var i,o,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:rt.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1])return n=n instanceof Q?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:R,e=Q.parseHTML(i[1],a,!0),it.test(i[1])&&Q.isPlainObject(n)&&this.attr.call(e,n,!0),Q.merge(this,e);if(o=R.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=R,this.selector=e,this}return Q.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),Q.makeArray(e,this))},selector:"",jquery:"1.8.0",length:0,size:function(){return this.length},toArray:function(){return J.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=Q.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,"find"===t?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return Q.each(this,e,t)},ready:function(e){return Q.ready.promise().done(e),this},eq:function(e){return e=+e,-1===e?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(J.apply(this,arguments),"slice",J.call(arguments).join(","))},map:function(e){return this.pushStack(Q.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:U,sort:[].sort,splice:[].splice},Q.fn.init.prototype=Q.fn,Q.extend=Q.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[1]||{},l=2),"object"==typeof s||Q.isFunction(s)||(s={}),c===l&&(s=this,--l);c>l;l++)if(null!=(e=arguments[l]))for(n in e)r=s[n],i=e[n],s!==i&&(u&&i&&(Q.isPlainObject(i)||(o=Q.isArray(i)))?(o?(o=!1,a=r&&Q.isArray(r)?r:[]):a=r&&Q.isPlainObject(r)?r:{},s[n]=Q.extend(u,a,i)):i!==t&&(s[n]=i));return s},Q.extend({noConflict:function(t){return e.$===Q&&(e.$=z),t&&e.jQuery===Q&&(e.jQuery=W),Q},isReady:!1,readyWait:1,holdReady:function(e){e?Q.readyWait++:Q.ready(!0)},ready:function(e){if(e===!0?!--Q.readyWait:!Q.isReady){if(!R.body)return setTimeout(Q.ready,1);Q.isReady=!0,e!==!0&&--Q.readyWait>0||(B.resolveWith(R,[Q]),Q.fn.trigger&&Q(R).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===Q.type(e)},isArray:Array.isArray||function(e){return"array"===Q.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):pt[K.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==Q.type(e)||e.nodeType||Q.isWindow(e))return!1;try{if(e.constructor&&!Y.call(e,"constructor")&&!Y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||Y.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return e&&"string"==typeof e?("boolean"==typeof t&&(n=t,t=0),t=t||R,(r=it.exec(e))?[t.createElement(r[1])]:(r=Q.buildFragment([e],t,n?null:[]),Q.merge([],(r.cacheable?Q.clone(r.fragment):r.fragment).childNodes))):null},parseJSON:function(t){return t&&"string"==typeof t?(t=Q.trim(t),e.JSON&&e.JSON.parse?e.JSON.parse(t):ot.test(t.replace(st,"@").replace(lt,"]").replace(at,""))?new Function("return "+t)():void Q.error("Invalid JSON: "+t)):null},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||Q.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&et.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(ct,"ms-").replace(ut,dt)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,n,r){var i,o=0,a=e.length,s=a===t||Q.isFunction(e);if(r)if(s){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;a>o&&n.apply(e[o++],r)!==!1;);else if(s){for(i in e)if(n.call(e[i],i,e[i])===!1)break}else for(;a>o&&n.call(e[o],o,e[o++])!==!1;);return e},trim:G?function(e){return null==e?"":G.call(e)}:function(e){return null==e?"":e.toString().replace(nt,"")},makeArray:function(e,t){var n,r=t||[];return null!=e&&(n=Q.type(e),null==e.length||"string"===n||"function"===n||"regexp"===n||Q.isWindow(e)?U.call(r,e):Q.merge(r,e)),r},inArray:function(e,t,n){var r;if(t){if(V)return V.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else for(;n[o]!==t;)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,n,r){var i,o,a=[],s=0,l=e.length,c=e instanceof Q||l!==t&&"number"==typeof l&&(l>0&&e[0]&&e[l-1]||0===l||Q.isArray(e));if(c)for(;l>s;s++)i=n(e[s],s,r),null!=i&&(a[a.length]=i);else for(o in e)i=n(e[o],o,r),null!=i&&(a[a.length]=i);return a.concat.apply([],a)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(r=e[n],n=e,e=r),Q.isFunction(e)?(i=J.call(arguments,2),o=function(){return e.apply(n,i.concat(J.call(arguments)))},o.guid=e.guid=e.guid||o.guid||Q.guid++,o):t},access:function(e,n,r,i,o,a,s){var l,c=null==r,u=0,d=e.length;if(r&&"object"==typeof r){for(u in r)Q.access(e,n,u,r[u],1,a,i);o=1}else if(i!==t){if(l=s===t&&Q.isFunction(i),c&&(l?(l=n,n=function(e,t,n){return l.call(Q(e),n)}):(n.call(e,i),n=null)),n)for(;d>u;u++)n(e[u],r,l?i.call(e[u],u,n(e[u],r)):i,s);o=1}return o?e:c?n.call(e):d?n(e[0],r):a},now:function(){return(new Date).getTime()}}),Q.ready.promise=function(t){if(!B)if(B=Q.Deferred(),"complete"===R.readyState||"loading"!==R.readyState&&R.addEventListener)setTimeout(Q.ready,1);else if(R.addEventListener)R.addEventListener("DOMContentLoaded",ft,!1),e.addEventListener("load",Q.ready,!1);else{R.attachEvent("onreadystatechange",ft),e.attachEvent("onload",Q.ready);var n=!1;try{n=null==e.frameElement&&R.documentElement}catch(r){}n&&n.doScroll&&!function i(){if(!Q.isReady){try{n.doScroll("left")}catch(e){return setTimeout(i,50)}Q.ready()}}()}return B.promise(t)},Q.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){pt["[object "+t+"]"]=t.toLowerCase()}),I=Q(R);var ht={};Q.Callbacks=function(e){e="string"==typeof e?ht[e]||n(e):Q.extend({},e);var r,i,o,a,s,l,c=[],u=!e.once&&[],d=function(t){for(r=e.memory&&t,i=!0,l=a||0,a=0,s=c.length,o=!0;c&&s>l;l++)if(c[l].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}o=!1,c&&(u?u.length&&d(u.shift()):r?c=[]:f.disable())},f={add:function(){if(c){var t=c.length;!function n(t){Q.each(t,function(t,r){!Q.isFunction(r)||e.unique&&f.has(r)?r&&r.length&&n(r):c.push(r)})}(arguments),o?s=c.length:r&&(a=t,d(r))}return this},remove:function(){return c&&Q.each(arguments,function(e,t){for(var n;(n=Q.inArray(t,c,n))>-1;)c.splice(n,1),o&&(s>=n&&s--,l>=n&&l--)}),this},has:function(e){return Q.inArray(e,c)>-1},empty:function(){return c=[],this},disable:function(){return c=u=r=t,this},disabled:function(){return!c},lock:function(){return u=t,r||f.disable(),this},locked:function(){return!u},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!c||i&&!u||(o?u.push(t):d(t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!i}};return f},Q.extend({Deferred:function(e){var t=[["resolve","done",Q.Callbacks("once memory"),"resolved"],["reject","fail",Q.Callbacks("once memory"),"rejected"],["notify","progress",Q.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return Q.Deferred(function(n){Q.each(t,function(t,r){var o=r[0],a=e[t];i[r[1]](Q.isFunction(a)?function(){var e=a.apply(this,arguments);e&&Q.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o+"With"](this===i?n:this,[e])}:n[o])}),e=null}).promise()},promise:function(e){return"object"==typeof e?Q.extend(e,r):r}},i={};return r.pipe=r.then,Q.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=a.fire,i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=J.call(arguments),a=o.length,s=1!==a||e&&Q.isFunction(e.promise)?a:0,l=1===s?e:Q.Deferred(),c=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?J.call(arguments):i,r===t?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);a>i;i++)o[i]&&Q.isFunction(o[i].promise)?o[i].promise().done(c(i,r,o)).fail(l.reject).progress(c(i,n,t)):--s;return s||l.resolveWith(r,o),l.promise()}}),Q.support=function(){var t,n,r,i,o,a,s,l,c,u,d,f=R.createElement("div");if(f.setAttribute("className","t"),f.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=f.getElementsByTagName("*"),r=f.getElementsByTagName("a")[0],r.style.cssText="top:1px;float:left;opacity:.5",!n||!n.length||!r)return{};i=R.createElement("select"),o=i.appendChild(R.createElement("option")),a=f.getElementsByTagName("input")[0],t={leadingWhitespace:3===f.firstChild.nodeType,tbody:!f.getElementsByTagName("tbody").length,htmlSerialize:!!f.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:"on"===a.value,optSelected:o.selected,getSetAttribute:"t"!==f.className,enctype:!!R.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==R.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===R.compatMode,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,i.disabled=!0,t.optDisabled=!o.disabled;try{delete f.test}catch(p){t.deleteExpando=!1}if(!f.addEventListener&&f.attachEvent&&f.fireEvent&&(f.attachEvent("onclick",d=function(){t.noCloneEvent=!1}),f.cloneNode(!0).fireEvent("onclick"),f.detachEvent("onclick",d)),a=R.createElement("input"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","checked"),a.setAttribute("name","t"),f.appendChild(a),s=R.createDocumentFragment(),s.appendChild(f.lastChild),t.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=a.checked,s.removeChild(a),s.appendChild(f),f.attachEvent)for(c in{submit:!0,change:!0,focusin:!0})l="on"+c,u=l in f,u||(f.setAttribute(l,"return;"),u="function"==typeof f[l]),t[c+"Bubbles"]=u;return Q(function(){var n,r,i,o,a="padding:0;margin:0;border:0;display:block;overflow:hidden;",s=R.getElementsByTagName("body")[0];s&&(n=R.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",s.insertBefore(n,s.firstChild),r=R.createElement("div"),n.appendChild(r),r.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=r.getElementsByTagName("td"),i[0].style.cssText="padding:0;margin:0;border:0;display:none",u=0===i[0].offsetHeight,i[0].style.display="",i[1].style.display="none",t.reliableHiddenOffsets=u&&0===i[0].offsetHeight,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===r.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==s.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(r,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(r,null)||{width:"4px"}).width,o=R.createElement("div"),o.style.cssText=r.style.cssText=a,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),"undefined"!=typeof r.style.zoom&&(r.innerHTML="",r.style.cssText=a+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===r.offsetWidth,r.style.display="block",r.style.overflow="visible",r.innerHTML="<div></div>",r.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==r.offsetWidth,n.style.zoom=1),s.removeChild(n),n=r=i=o=null)}),s.removeChild(f),n=r=i=o=a=s=f=null,t}();var mt=/^(?:\{.*\}|\[.*\])$/,gt=/([A-Z])/g;Q.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(Q.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?Q.cache[e[Q.expando]]:e[Q.expando],!!e&&!i(e)},data:function(e,n,r,i){if(Q.acceptData(e)){var o,a,s=Q.expando,l="string"==typeof n,c=e.nodeType,u=c?Q.cache:e,d=c?e[s]:e[s]&&s;if(d&&u[d]&&(i||u[d].data)||!l||r!==t)return d||(c?e[s]=d=Q.deletedIds.pop()||++Q.uuid:d=s),u[d]||(u[d]={},c||(u[d].toJSON=Q.noop)),("object"==typeof n||"function"==typeof n)&&(i?u[d]=Q.extend(u[d],n):u[d].data=Q.extend(u[d].data,n)),o=u[d],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[Q.camelCase(n)]=r),l?(a=o[n],null==a&&(a=o[Q.camelCase(n)])):a=o,a}},removeData:function(e,t,n){if(Q.acceptData(e)){var r,o,a,s=e.nodeType,l=s?Q.cache:e,c=s?e[Q.expando]:Q.expando;if(l[c]){if(t&&(r=n?l[c]:l[c].data)){Q.isArray(t)||(t in r?t=[t]:(t=Q.camelCase(t),t=t in r?[t]:t.split(" ")));for(o=0,a=t.length;a>o;o++)delete r[t[o]];if(!(n?i:Q.isEmptyObject)(r))return}(n||(delete l[c].data,i(l[c])))&&(s?Q.cleanData([e],!0):Q.support.deleteExpando||l!=l.window?delete l[c]:l[c]=null)}}},_data:function(e,t,n){return Q.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&Q.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),Q.fn.extend({data:function(e,n){var i,o,a,s,l,c=this[0],u=0,d=null;if(e===t){if(this.length&&(d=Q.data(c),1===c.nodeType&&!Q._data(c,"parsedAttrs"))){for(a=c.attributes,l=a.length;l>u;u++)s=a[u].name,0===s.indexOf("data-")&&(s=Q.camelCase(s.substring(5)),r(c,s,d[s]));Q._data(c,"parsedAttrs",!0)}return d}return"object"==typeof e?this.each(function(){Q.data(this,e)}):(i=e.split(".",2),i[1]=i[1]?"."+i[1]:"",o=i[1]+"!",Q.access(this,function(n){return n===t?(d=this.triggerHandler("getData"+o,[i[0]]),d===t&&c&&(d=Q.data(c,e),d=r(c,e,d)),d===t&&i[1]?this.data(i[0]):d):(i[1]=n,void this.each(function(){var t=Q(this);t.triggerHandler("setData"+o,i),Q.data(this,e,n),t.triggerHandler("changeData"+o,i)}))},null,n,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){Q.removeData(this,e)})}}),Q.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=Q._data(e,t),n&&(!r||Q.isArray(n)?r=Q._data(e,t,Q.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=Q.queue(e,t),r=n.shift(),i=Q._queueHooks(e,t),o=function(){Q.dequeue(e,t)};"inprogress"===r&&(r=n.shift()),r&&("fx"===t&&n.unshift("inprogress"),delete i.stop,r.call(e,o,i)),!n.length&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q._data(e,n)||Q._data(e,n,{empty:Q.Callbacks("once memory").add(function(){Q.removeData(e,t+"queue",!0),Q.removeData(e,n,!0)})})}}),Q.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),arguments.length<r?Q.queue(this[0],e):n===t?this:this.each(function(){var t=Q.queue(this,e,n);Q._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&Q.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Q.dequeue(this,e)})},delay:function(e,t){return e=Q.fx?Q.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=Q.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};for("string"!=typeof e&&(n=e,e=t),e=e||"fx";s--;)(r=Q._data(a[s],e+"queueHooks"))&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var vt,yt,xt,bt=/[\t\r\n]/g,wt=/\r/g,Tt=/^(?:button|input)$/i,kt=/^(?:button|input|object|select|textarea)$/i,St=/^a(?:rea|)$/i,Ct=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Et=Q.support.getSetAttribute;Q.fn.extend({attr:function(e,t){return Q.access(this,Q.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Q.removeAttr(this,e)})},prop:function(e,t){return Q.access(this,Q.prop,e,t,arguments.length>1)},removeProp:function(e){return e=Q.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a,s;if(Q.isFunction(e))return this.each(function(t){Q(this).addClass(e.call(this,t,this.className))});if(e&&"string"==typeof e)for(t=e.split(tt),n=0,r=this.length;r>n;n++)if(i=this[n],1===i.nodeType)if(i.className||1!==t.length){for(o=" "+i.className+" ",a=0,s=t.length;s>a;a++)~o.indexOf(" "+t[a]+" ")||(o+=t[a]+" ");i.className=Q.trim(o)}else i.className=e;return this},removeClass:function(e){var n,r,i,o,a,s,l;if(Q.isFunction(e))return this.each(function(t){Q(this).removeClass(e.call(this,t,this.className))});if(e&&"string"==typeof e||e===t)for(n=(e||"").split(tt),s=0,l=this.length;l>s;s++)if(i=this[s],1===i.nodeType&&i.className){for(r=(" "+i.className+" ").replace(bt," "),o=0,a=n.length;a>o;o++)for(;r.indexOf(" "+n[o]+" ")>-1;)r=r.replace(" "+n[o]+" "," ");i.className=e?Q.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return this.each(Q.isFunction(e)?function(n){Q(this).toggleClass(e.call(this,n,this.className,t),t)}:function(){if("string"===n)for(var i,o=0,a=Q(this),s=t,l=e.split(tt);i=l[o++];)s=r?s:!a.hasClass(i),a[s?"addClass":"removeClass"](i);else("undefined"===n||"boolean"===n)&&(this.className&&Q._data(this,"__className__",this.className),this.className=this.className||e===!1?"":Q._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(bt," ").indexOf(t)>-1)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=Q.isFunction(e),this.each(function(r){var o,a=Q(this);1===this.nodeType&&(o=i?e.call(this,r,a.val()):e,null==o?o="":"number"==typeof o?o+="":Q.isArray(o)&&(o=Q.map(o,function(e){return null==e?"":e+""})),n=Q.valHooks[this.type]||Q.valHooks[this.nodeName.toLowerCase()],n&&"set"in n&&n.set(this,o,"value")!==t||(this.value=o))});if(o)return n=Q.valHooks[o.type]||Q.valHooks[o.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(o,"value"))!==t?r:(r=o.value,"string"==typeof r?r.replace(wt,""):null==r?"":r)}}}),Q.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r,i,o=e.selectedIndex,a=[],s=e.options,l="select-one"===e.type;if(0>o)return null;for(n=l?o:0,r=l?o+1:s.length;r>n;n++)if(i=s[n],!(!i.selected||(Q.support.optDisabled?i.disabled:null!==i.getAttribute("disabled"))||i.parentNode.disabled&&Q.nodeName(i.parentNode,"optgroup"))){if(t=Q(i).val(),l)return t;a.push(t)}return l&&!a.length&&s.length?Q(s[o]).val():a},set:function(e,t){var n=Q.makeArray(t);return Q(e).find("option").each(function(){this.selected=Q.inArray(Q(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var o,a,s,l=e.nodeType;if(e&&3!==l&&8!==l&&2!==l)return i&&Q.isFunction(Q.fn[n])?Q(e)[n](r):"undefined"==typeof e.getAttribute?Q.prop(e,n,r):(s=1!==l||!Q.isXMLDoc(e),s&&(n=n.toLowerCase(),a=Q.attrHooks[n]||(Ct.test(n)?yt:vt)),r!==t?null===r?void Q.removeAttr(e,n):a&&"set"in a&&s&&(o=a.set(e,r,n))!==t?o:(e.setAttribute(n,""+r),r):a&&"get"in a&&s&&null!==(o=a.get(e,n))?o:(o=e.getAttribute(n),null===o?t:o))},removeAttr:function(e,t){var n,r,i,o,a=0;if(t&&1===e.nodeType)for(r=t.split(tt);a<r.length;a++)i=r[a],i&&(n=Q.propFix[i]||i,o=Ct.test(i),o||Q.attr(e,i,""),e.removeAttribute(Et?i:n),o&&n in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){if(Tt.test(e.nodeName)&&e.parentNode)Q.error("type property can't be changed");else if(!Q.support.radioValue&&"radio"===t&&Q.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return vt&&Q.nodeName(e,"button")?vt.get(e,t):t in e?e.value:null},set:function(e,t,n){return vt&&Q.nodeName(e,"button")?vt.set(e,t,n):void(e.value=t)}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!Q.isXMLDoc(e),a&&(n=Q.propFix[n]||n,o=Q.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):kt.test(e.nodeName)||St.test(e.nodeName)&&e.href?0:t}}}}),yt={get:function(e,n){var r,i=Q.prop(e,n);return i===!0||"boolean"!=typeof i&&(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var r;return t===!1?Q.removeAttr(e,n):(r=Q.propFix[n]||n,r in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase())),n
  }},Et||(xt={name:!0,id:!0,coords:!0},vt=Q.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n),r&&(xt[n]?""!==r.value:r.specified)?r.value:t},set:function(e,t,n){var r=e.getAttributeNode(n);return r||(r=R.createAttribute(n),e.setAttributeNode(r)),r.value=t+""}},Q.each(["width","height"],function(e,t){Q.attrHooks[t]=Q.extend(Q.attrHooks[t],{set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):void 0}})}),Q.attrHooks.contenteditable={get:vt.get,set:function(e,t,n){""===t&&(t="false"),vt.set(e,t,n)}}),Q.support.hrefNormalized||Q.each(["href","src","width","height"],function(e,n){Q.attrHooks[n]=Q.extend(Q.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null===r?t:r}})}),Q.support.style||(Q.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=""+t}}),Q.support.optSelected||(Q.propHooks.selected=Q.extend(Q.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),Q.support.enctype||(Q.propFix.enctype="encoding"),Q.support.checkOn||Q.each(["radio","checkbox"],function(){Q.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),Q.each(["radio","checkbox"],function(){Q.valHooks[this]=Q.extend(Q.valHooks[this],{set:function(e,t){return Q.isArray(t)?e.checked=Q.inArray(Q(e).val(),t)>=0:void 0}})});var Nt=/^(?:textarea|input|select)$/i,$t=/^([^\.]*|)(?:\.(.+)|)$/,Dt=/(?:^|\s)hover(\.\S+|)\b/,_t=/^key/,jt=/^(?:mouse|contextmenu)|click/,At=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){return Q.event.special.hover?e:e.replace(Dt,"mouseenter$1 mouseleave$1")};Q.event={add:function(e,n,r,i,o){var a,s,l,c,u,d,f,p,h,m,g;if(3!==e.nodeType&&8!==e.nodeType&&n&&r&&(a=Q._data(e))){for(r.handler&&(h=r,r=h.handler,o=h.selector),r.guid||(r.guid=Q.guid++),l=a.events,l||(a.events=l={}),s=a.handle,s||(a.handle=s=function(e){return"undefined"==typeof Q||e&&Q.event.triggered===e.type?t:Q.event.dispatch.apply(s.elem,arguments)},s.elem=e),n=Q.trim(Lt(n)).split(" "),c=0;c<n.length;c++)u=$t.exec(n[c])||[],d=u[1],f=(u[2]||"").split(".").sort(),g=Q.event.special[d]||{},d=(o?g.delegateType:g.bindType)||d,g=Q.event.special[d]||{},p=Q.extend({type:d,origType:u[1],data:i,handler:r,guid:r.guid,selector:o,namespace:f.join(".")},h),m=l[d],m||(m=l[d]=[],m.delegateCount=0,g.setup&&g.setup.call(e,i,f,s)!==!1||(e.addEventListener?e.addEventListener(d,s,!1):e.attachEvent&&e.attachEvent("on"+d,s))),g.add&&(g.add.call(e,p),p.handler.guid||(p.handler.guid=r.guid)),o?m.splice(m.delegateCount++,0,p):m.push(p),Q.event.global[d]=!0;e=null}},global:{},remove:function(e,t,n,r,i){var o,a,s,l,c,u,d,f,p,h,m,g=Q.hasData(e)&&Q._data(e);if(g&&(f=g.events)){for(t=Q.trim(Lt(t||"")).split(" "),o=0;o<t.length;o++)if(a=$t.exec(t[o])||[],s=l=a[1],c=a[2],s){for(p=Q.event.special[s]||{},s=(r?p.delegateType:p.bindType)||s,h=f[s]||[],u=h.length,c=c?new RegExp("(^|\\.)"+c.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,d=0;d<h.length;d++)m=h[d],!i&&l!==m.origType||n&&n.guid!==m.guid||c&&!c.test(m.namespace)||r&&r!==m.selector&&("**"!==r||!m.selector)||(h.splice(d--,1),m.selector&&h.delegateCount--,p.remove&&p.remove.call(e,m));0===h.length&&u!==h.length&&(p.teardown&&p.teardown.call(e,c,g.handle)!==!1||Q.removeEvent(e,s,g.handle),delete f[s])}else for(s in f)Q.event.remove(e,s+t[o],n,r,!0);Q.isEmptyObject(f)&&(delete g.handle,Q.removeData(e,"events",!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,r,i,o){if(!i||3!==i.nodeType&&8!==i.nodeType){var a,s,l,c,u,d,f,p,h,m,g=n.type||n,v=[];if(!At.test(g+Q.event.triggered)&&(g.indexOf("!")>=0&&(g=g.slice(0,-1),s=!0),g.indexOf(".")>=0&&(v=g.split("."),g=v.shift(),v.sort()),i&&!Q.event.customEvent[g]||Q.event.global[g]))if(n="object"==typeof n?n[Q.expando]?n:new Q.Event(g,n):new Q.Event(g),n.type=g,n.isTrigger=!0,n.exclusive=s,n.namespace=v.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,d=g.indexOf(":")<0?"on"+g:"",i){if(n.result=t,n.target||(n.target=i),r=null!=r?Q.makeArray(r):[],r.unshift(n),f=Q.event.special[g]||{},!f.trigger||f.trigger.apply(i,r)!==!1){if(h=[[i,f.bindType||g]],!o&&!f.noBubble&&!Q.isWindow(i)){for(m=f.delegateType||g,c=At.test(m+g)?i:i.parentNode,u=i;c;c=c.parentNode)h.push([c,m]),u=c;u===(i.ownerDocument||R)&&h.push([u.defaultView||u.parentWindow||e,m])}for(l=0;l<h.length&&!n.isPropagationStopped();l++)c=h[l][0],n.type=h[l][1],p=(Q._data(c,"events")||{})[n.type]&&Q._data(c,"handle"),p&&p.apply(c,r),p=d&&c[d],p&&Q.acceptData(c)&&p.apply(c,r)===!1&&n.preventDefault();return n.type=g,o||n.isDefaultPrevented()||f._default&&f._default.apply(i.ownerDocument,r)!==!1||"click"===g&&Q.nodeName(i,"a")||!Q.acceptData(i)||d&&i[g]&&("focus"!==g&&"blur"!==g||0!==n.target.offsetWidth)&&!Q.isWindow(i)&&(u=i[d],u&&(i[d]=null),Q.event.triggered=g,i[g](),Q.event.triggered=t,u&&(i[d]=u)),n.result}}else{a=Q.cache;for(l in a)a[l].events&&a[l].events[g]&&Q.event.trigger(n,r,a[l].handle.elem,!0)}}},dispatch:function(n){n=Q.event.fix(n||e.event);var r,i,o,a,s,l,c,u,d,f,p=(Q._data(this,"events")||{})[n.type]||[],h=p.delegateCount,m=[].slice.call(arguments),g=!n.exclusive&&!n.namespace,v=Q.event.special[n.type]||{},y=[];if(m[0]=n,n.delegateTarget=this,!v.preDispatch||v.preDispatch.call(this,n)!==!1){if(h&&(!n.button||"click"!==n.type))for(a=Q(this),a.context=this,o=n.target;o!=this;o=o.parentNode||this)if(o.disabled!==!0||"click"!==n.type){for(l={},u=[],a[0]=o,r=0;h>r;r++)d=p[r],f=d.selector,l[f]===t&&(l[f]=a.is(f)),l[f]&&u.push(d);u.length&&y.push({elem:o,matches:u})}for(p.length>h&&y.push({elem:this,matches:p.slice(h)}),r=0;r<y.length&&!n.isPropagationStopped();r++)for(c=y[r],n.currentTarget=c.elem,i=0;i<c.matches.length&&!n.isImmediatePropagationStopped();i++)d=c.matches[i],(g||!n.namespace&&!d.namespace||n.namespace_re&&n.namespace_re.test(d.namespace))&&(n.data=d.data,n.handleObj=d,s=((Q.event.special[d.origType]||{}).handle||d.handler).apply(c.elem,m),s!==t&&(n.result=s,s===!1&&(n.preventDefault(),n.stopPropagation())));return v.postDispatch&&v.postDispatch.call(this,n),n.result}},props:"attrChange attrName relatedNode srcElement 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,n){var r,i,o,a=n.button,s=n.fromElement;return null==e.pageX&&null!=n.clientX&&(r=e.target.ownerDocument||R,i=r.documentElement,o=r.body,e.pageX=n.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),e.pageY=n.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?n.toElement:s),e.which||a===t||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[Q.expando])return e;var t,n,r=e,i=Q.event.fixHooks[e.type]||{},o=i.props?this.props.concat(i.props):this.props;for(e=Q.Event(r),t=o.length;t;)n=o[--t],e[n]=r[n];return e.target||(e.target=r.srcElement||R),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,i.filter?i.filter(e,r):e},special:{ready:{setup:Q.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){Q.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,r){var i=Q.extend(new Q.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?Q.event.trigger(i,null,t):Q.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},Q.event.handle=Q.event.dispatch,Q.removeEvent=R.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&("undefined"==typeof e[r]&&(e[r]=null),e.detachEvent(r,n))},Q.Event=function(e,t){return this instanceof Q.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?a:o):this.type=e,t&&Q.extend(this,t),this.timeStamp=e&&e.timeStamp||Q.now(),void(this[Q.expando]=!0)):new Q.Event(e,t)},Q.Event.prototype={preventDefault:function(){this.isDefaultPrevented=a;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=a;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=a,this.stopPropagation()},isDefaultPrevented:o,isPropagationStopped:o,isImmediatePropagationStopped:o},Q.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){Q.event.special[e]={delegateType:t,bindType:t,handle:function(e){{var n,r=this,i=e.relatedTarget,o=e.handleObj;o.selector}return(!i||i!==r&&!Q.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),Q.support.submitBubbles||(Q.event.special.submit={setup:function(){return Q.nodeName(this,"form")?!1:void Q.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=Q.nodeName(n,"input")||Q.nodeName(n,"button")?n.form:t;r&&!Q._data(r,"_submit_attached")&&(Q.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),Q._data(r,"_submit_attached",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&Q.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return Q.nodeName(this,"form")?!1:void Q.event.remove(this,"._submit")}}),Q.support.changeBubbles||(Q.event.special.change={setup:function(){return Nt.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(Q.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),Q.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),Q.event.simulate("change",this,e,!0)})),!1):void Q.event.add(this,"beforeactivate._change",function(e){var t=e.target;Nt.test(t.nodeName)&&!Q._data(t,"_change_attached")&&(Q.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||Q.event.simulate("change",this.parentNode,e,!0)}),Q._data(t,"_change_attached",!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 Q.event.remove(this,"._change"),Nt.test(this.nodeName)}}),Q.support.focusinBubbles||Q.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){Q.event.simulate(t,e.target,Q.event.fix(e),!0)};Q.event.special[t]={setup:function(){0===n++&&R.addEventListener(e,r,!0)},teardown:function(){0===--n&&R.removeEventListener(e,r,!0)}}}),Q.fn.extend({on:function(e,n,r,i,a){var s,l;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(l in e)this.on(l,n,r,e[l],a);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=o;else if(!i)return this;return 1===a&&(s=i,i=function(e){return Q().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=Q.guid++)),this.each(function(){Q.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,a;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,Q(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(a in e)this.off(a,n,e[a]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=o),this.each(function(){Q.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return Q(this.context).on(e,this.selector,t,n),this},die:function(e,t){return Q(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1==arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){Q.event.trigger(e,t,this)})},triggerHandler:function(e,t){return this[0]?Q.event.trigger(e,t,this[0],!0):void 0},toggle:function(e){var t=arguments,n=e.guid||Q.guid++,r=0,i=function(n){var i=(Q._data(this,"lastToggle"+e.guid)||0)%r;return Q._data(this,"lastToggle"+e.guid,i+1),n.preventDefault(),t[i].apply(this,arguments)||!1};for(i.guid=n;r<t.length;)t[r++].guid=n;return this.click(i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Q.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){Q.fn[t]=function(e,n){return null==n&&(n=e,e=null),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},_t.test(t)&&(Q.event.fixHooks[t]=Q.event.keyHooks),jt.test(t)&&(Q.event.fixHooks[t]=Q.event.mouseHooks)}),function(e,t){function n(e,t,n,r){for(var i=0,o=t.length;o>i;i++)ot(e,t[i],n,r)}function r(e,t,r,i,o,a){var s,l=at.setFilters[t.toLowerCase()];return l||ot.error(t),(e||!(s=o))&&n(e||"*",i,s=[],o),s.length>0?l(s,r,a):[]}function i(e,i,o,a,s){for(var l,c,u,d,f,p,h,m,g=0,v=s.length,y=W.POS,x=new RegExp("^"+y.source+"(?!"+S+")","i"),b=function(){for(var e=1,n=arguments.length-2;n>e;e++)arguments[e]===t&&(l[e]=t)};v>g;g++){for(y.exec(""),e=s[g],d=[],u=0,f=a;l=y.exec(e);)m=y.lastIndex=l.index+l[0].length,m>u&&(h=e.slice(u,l.index),u=m,p=[i],M.test(h)&&(f&&(p=f),f=a),(c=B.test(h))&&(h=h.slice(0,-5).replace(M,"$&*")),l.length>1&&l[0].replace(x,b),f=r(h,l[1],l[2],p,f,c));f?(d=d.concat(f),(h=e.slice(u))&&")"!==h?M.test(h)?n(h,d,o,a):ot(h,i,o,a?a.concat(f):f):T.apply(o,d)):ot(e,i,o,a)}return 1===v?o:ot.uniqueSort(o)}function o(e,t,n){for(var r,i,o,a=[],s=0,l=H.exec(e),c=!l.pop()&&!l.pop(),u=c&&e.match(X)||[""],d=at.preFilter,f=at.filter,p=!n&&t!==m;null!=(i=u[s])&&c;s++)for(a.push(r=[]),p&&(i=" "+i);i;){c=!1,(l=M.exec(i))&&(i=i.slice(l[0].length),c=r.push({part:l.pop().replace(L," "),captures:l}));for(o in f)!(l=W[o].exec(i))||d[o]&&!(l=d[o](l,t,n))||(i=i.slice(l.shift().length),c=r.push({part:o,captures:l}));if(!c)break}return c||ot.error(e),a}function a(e,t,n){var r=t.dir,i=b++;return e||(e=function(e){return e===n}),t.first?function(t,n){for(;t=t[r];)if(1===t.nodeType)return e(t,n)&&t}:function(t,n){for(var o,a=i+"."+d,s=a+"."+u;t=t[r];)if(1===t.nodeType){if((o=t[k])===s)return t.sizset;if("string"==typeof o&&0===o.indexOf(a)){if(t.sizset)return t}else{if(t[k]=s,e(t,n))return t.sizset=!0,t;t.sizset=!1}}}}function s(e,t){return e?function(n,r){var i=t(n,r);return i&&e(i===!0?n:i,r)}:t}function l(e,t,n){for(var r,i,o=0;r=e[o];o++)at.relative[r.part]?i=a(i,at.relative[r.part],t):(r.captures.push(t,n),i=s(i,at.filter[r.part].apply(null,r.captures)));return i}function c(e){return function(t,n){for(var r,i=0;r=e[i];i++)if(r(t,n))return!0;return!1}}var u,d,f,p,h,m=e.document,g=m.documentElement,v="undefined",y=!1,x=!0,b=0,w=[].slice,T=[].push,k=("sizcache"+Math.random()).replace(".",""),S="[\\x20\\t\\r\\n\\f]",C="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",E=C.replace("w","w#"),N="([*^$|!~]?=)",$="\\["+S+"*("+C+")"+S+"*(?:"+N+S+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+E+")|)|)"+S+"*\\]",D=":("+C+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|((?:[^,]|\\\\,|(?:,(?=[^\\[]*\\]))|(?:,(?=[^\\(]*\\))))*))\\)|)",_=":(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\)|)(?=[^-]|$)",j=S+"*([\\x20\\t\\r\\n\\f>+~])"+S+"*",A="(?=[^\\x20\\t\\r\\n\\f])(?:\\\\.|"+$+"|"+D.replace(2,7)+"|[^\\\\(),])+",L=new RegExp("^"+S+"+|((?:^|[^\\\\])(?:\\\\.)*)"+S+"+$","g"),M=new RegExp("^"+j),X=new RegExp(A+"?(?="+S+"*,|$)","g"),H=new RegExp("^(?:(?!,)(?:(?:^|,)"+S+"*"+A+")*?|"+S+"*(.*?))(\\)|$)"),F=new RegExp(A.slice(19,-6)+"\\x20\\t\\r\\n\\f>+~])+|"+j,"g"),O=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,I=/[\x20\t\r\n\f]*[+~]/,B=/:not\($/,R=/h\d/i,P=/input|select|textarea|button/i,q=/\\(?!\\)/g,W={ID:new RegExp("^#("+C+")"),CLASS:new RegExp("^\\.("+C+")"),NAME:new RegExp("^\\[name=['\"]?("+C+")['\"]?\\]"),TAG:new RegExp("^("+C.replace("[-","[-\\*")+")"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+D),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+S+"*(even|odd|(([+-]|)(\\d*)n|)"+S+"*(?:([+-]|)"+S+"*(\\d+)|))"+S+"*\\)|)","i"),POS:new RegExp(_,"ig"),needsContext:new RegExp("^"+S+"*[>+~]|"+_,"i")},z={},U=[],J={},V=[],K=function(e){return e.sizzleFilter=!0,e},Y=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}},G=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}},Z=function(e){var t=!1,n=m.createElement("div");try{t=e(n)}catch(r){}return n=null,t},et=Z(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),tt=Z(function(e){e.id=k+0,e.innerHTML="<a name='"+k+"'></a><div name='"+k+"'></div>",g.insertBefore(e,g.firstChild);var t=m.getElementsByName&&m.getElementsByName(k).length===2+m.getElementsByName(k+0).length;return h=!m.getElementById(k),g.removeChild(e),t}),nt=Z(function(e){return e.appendChild(m.createComment("")),0===e.getElementsByTagName("*").length}),rt=Z(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==v&&"#"===e.firstChild.getAttribute("href")}),it=Z(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",e.getElementsByClassName&&0!==e.getElementsByClassName("e").length?(e.lastChild.className="e",1!==e.getElementsByClassName("e").length):!1}),ot=function(e,t,n,r){n=n||[],t=t||m;var i,o,a,s,l=t.nodeType;if(1!==l&&9!==l)return[];if(!e||"string"!=typeof e)return n;if(a=lt(t),!a&&!r&&(i=O.exec(e)))if(s=i[1]){if(9===l){if(o=t.getElementById(s),!o||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(s))&&ct(t,o)&&o.id===s)return n.push(o),n}else{if(i[2])return T.apply(n,w.call(t.getElementsByTagName(e),0)),n;if((s=i[3])&&it&&t.getElementsByClassName)return T.apply(n,w.call(t.getElementsByClassName(s),0)),n}return ft(e,t,n,r,a)},at=ot.selectors={cacheLength:50,match:W,order:["ID","TAG"],attrHandle:{},createPseudo:K,find:{ID:h?function(e,t,n){if(typeof t.getElementById!==v&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==v&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==v&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:nt?function(e,t){return typeof t.getElementsByTagName!==v?t.getElementsByTagName(e):void 0}:function(e,t){var n=t.getElementsByTagName(e);if("*"===e){for(var r,i=[],o=0;r=n[o];o++)1===r.nodeType&&i.push(r);return i}return n}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(q,""),e[3]=(e[4]||e[5]||"").replace(q,""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1]?(e[2]||ot.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*("even"===e[2]||"odd"===e[2])),e[4]=+(e[6]+e[7]||"odd"===e[2])):e[2]&&ot.error(e[0]),e},PSEUDO:function(e){var t,n=e[4];return W.CHILD.test(e[0])?null:(n&&(t=H.exec(n))&&t.pop()&&(e[0]=e[0].slice(0,t[0].length-n.length-1),n=t[0].slice(0,-1)),e.splice(2,3,n||e[3]),e)}},filter:{ID:h?function(e){return e=e.replace(q,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace(q,""),function(t){var n=typeof t.getAttributeNode!==v&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(q,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=z[e];return t||(t=z[e]=new RegExp("(^|"+S+")"+e+"("+S+"|$)"),U.push(e),U.length>at.cacheLength&&delete z[U.shift()]),function(e){return t.test(e.className||typeof e.getAttribute!==v&&e.getAttribute("class")||"")}},ATTR:function(e,t,n){return t?function(r){var i=ot.attr(r,e),o=i+"";if(null==i)return"!="===t;switch(t){case"=":return o===n;case"!=":return o!==n;case"^=":return n&&0===o.indexOf(n);case"*=":return n&&o.indexOf(n)>-1;case"$=":return n&&o.substr(o.length-n.length)===n;case"~=":return(" "+o+" ").indexOf(n)>-1;case"|=":return o===n||o.substr(0,n.length+1)===n+"-"}}:function(t){return null!=ot.attr(t,e)}},CHILD:function(e,t,n,r){if("nth"===e){var i=b++;return function(e){var t,o,a=0,s=e;if(1===n&&0===r)return!0;if(t=e.parentNode,t&&(t[k]!==i||!e.sizset)){for(s=t.firstChild;s&&(1!==s.nodeType||(s.sizset=++a,s!==e));s=s.nextSibling);t[k]=i}return o=e.sizset-r,0===n?0===o:o%n===0&&o/n>=0}}return function(t){var n=t;switch(e){case"only":case"first":for(;n=n.previousSibling;)if(1===n.nodeType)return!1;if("first"===e)return!0;n=t;case"last":for(;n=n.nextSibling;)if(1===n.nodeType)return!1;return!0}}},PSEUDO:function(e,t,n,r){var i=at.pseudos[e]||at.pseudos[e.toLowerCase()];return i||ot.error("unsupported pseudo: "+e),i.sizzleFilter?i(t,n,r):i}},pseudos:{not:K(function(e,t,n){var r=dt(e.replace(L,"$1"),t,n);return function(e){return!r(e)}}),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},parent:function(e){return!at.pseudos.empty(e)},empty:function(e){var t;for(e=e.firstChild;e;){if(e.nodeName>"@"||3===(t=e.nodeType)||4===t)return!1;e=e.nextSibling}return!0},contains:K(function(e){return function(t){return(t.textContent||t.innerText||ut(t)).indexOf(e)>-1}}),has:K(function(e){return function(t){return ot(e,t).length>0}}),header:function(e){return R.test(e.nodeName)},text:function(e){var t,n;return"input"===e.nodeName.toLowerCase()&&"text"===(t=e.type)&&(null==(n=e.getAttribute("type"))||n.toLowerCase()===t)},radio:Y("radio"),checkbox:Y("checkbox"),file:Y("file"),password:Y("password"),image:Y("image"),submit:G("submit"),reset:G("reset"),button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return P.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return!(e!==t.activeElement||t.hasFocus&&!t.hasFocus()||!e.type&&!e.href)},active:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t,n){return n?e.slice(1):[e[0]]},last:function(e,t,n){var r=e.pop();return n?e:[r]},even:function(e,t,n){for(var r=[],i=n?1:0,o=e.length;o>i;i+=2)r.push(e[i]);return r},odd:function(e,t,n){for(var r=[],i=n?0:1,o=e.length;o>i;i+=2)r.push(e[i]);return r},lt:function(e,t,n){return n?e.slice(+t):e.slice(0,+t)},gt:function(e,t,n){return n?e.slice(0,+t+1):e.slice(+t+1)},eq:function(e,t,n){var r=e.splice(+t,1);return n?e:r}}};at.setFilters.nth=at.setFilters.eq,at.filters=at.pseudos,rt||(at.attrHandle={href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}}),tt&&(at.order.push("NAME"),at.find.NAME=function(e,t){return typeof t.getElementsByName!==v?t.getElementsByName(e):void 0}),it&&(at.order.splice(1,0,"CLASS"),at.find.CLASS=function(e,t,n){return typeof t.getElementsByClassName===v||n?void 0:t.getElementsByClassName(e)});try{w.call(g.childNodes,0)[0].nodeType}catch(st){w=function(e){for(var t,n=[];t=this[e];e++)n.push(t);return n}}var lt=ot.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},ct=ot.contains=g.compareDocumentPosition?function(e,t){return!!(16&e.compareDocumentPosition(t))}:g.contains?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t.parentNode;return e===r||!!(r&&1===r.nodeType&&n.contains&&n.contains(r))}:function(e,t){for(;t=t.parentNode;)if(t===e)return!0;return!1},ut=ot.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=ut(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=ut(t);return n};ot.attr=function(e,t){var n,r=lt(e);return r||(t=t.toLowerCase()),at.attrHandle[t]?at.attrHandle[t](e):et||r?e.getAttribute(t):(n=e.getAttributeNode(t),n?"boolean"==typeof e[t]?e[t]?t:null:n.specified?n.value:null:null)},ot.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},[0,0].sort(function(){return x=0}),g.compareDocumentPosition?f=function(e,t){return e===t?(y=!0,0):(e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t):e.compareDocumentPosition)?-1:1}:(f=function(e,t){if(e===t)return y=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i=[],o=[],a=e.parentNode,s=t.parentNode,l=a;if(a===s)return p(e,t);if(!a)return-1;if(!s)return 1;for(;l;)i.unshift(l),l=l.parentNode;for(l=s;l;)o.unshift(l),l=l.parentNode;n=i.length,r=o.length;for(var c=0;n>c&&r>c;c++)if(i[c]!==o[c])return p(i[c],o[c]);return c===n?p(e,o[c],-1):p(i[c],t,1)},p=function(e,t,n){if(e===t)return n;for(var r=e.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}),ot.uniqueSort=function(e){var t,n=1;if(f&&(y=x,e.sort(f),y))for(;t=e[n];n++)t===e[n-1]&&e.splice(n--,1);return e};var dt=ot.compile=function(e,t,n){var r,i,a,s=J[e];if(s&&s.context===t)return s;for(i=o(e,t,n),a=0;r=i[a];a++)i[a]=l(r,t,n);return s=J[e]=c(i),s.context=t,s.runs=s.dirruns=0,V.push(e),V.length>at.cacheLength&&delete J[V.shift()],s};ot.matches=function(e,t){return ot(e,null,null,t)},ot.matchesSelector=function(e,t){return ot(t,null,null,[e]).length>0};var ft=function(e,t,n,r,o){e=e.replace(L,"$1");var a,s,l,c,f,p,h,m,g,v=e.match(X),y=e.match(F),x=t.nodeType;if(W.POS.test(e))return i(e,t,n,r,v);if(r)a=w.call(r,0);else if(v&&1===v.length){if(y.length>1&&9===x&&!o&&(v=W.ID.exec(y[0]))){if(t=at.find.ID(v[1],t,o)[0],!t)return n;e=e.slice(y.shift().length)}for(m=(v=I.exec(y[0]))&&!v.index&&t.parentNode||t,g=y.pop(),p=g.split(":not")[0],l=0,c=at.order.length;c>l;l++)if(h=at.order[l],v=W[h].exec(p)){if(a=at.find[h]((v[1]||"").replace(q,""),m,o),null==a)continue;p===g&&(e=e.slice(0,e.length-g.length)+p.replace(W[h],""),e||T.apply(n,w.call(a,0)));break}}if(e)for(s=dt(e,t,o),d=s.dirruns++,null==a&&(a=at.find.TAG("*",I.test(e)&&t.parentNode||t)),l=0;f=a[l];l++)u=s.runs++,s(f,t)&&n.push(f);return n};m.querySelectorAll&&!function(){var e,t=ft,n=/'|\\/g,r=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,i=[],o=[":active"],a=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.oMatchesSelector||g.msMatchesSelector;Z(function(e){e.innerHTML="<select><option selected></option></select>",e.querySelectorAll("[selected]").length||i.push("\\["+S+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),Z(function(e){e.innerHTML="<p test=''></p>",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+S+"*(?:\"\"|'')"),e.innerHTML="<input type='hidden'>",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=i.length&&new RegExp(i.join("|")),ft=function(e,r,o,a,s){if(!(a||s||i&&i.test(e)))if(9===r.nodeType)try{return T.apply(o,w.call(r.querySelectorAll(e),0)),o}catch(l){}else if(1===r.nodeType&&"object"!==r.nodeName.toLowerCase()){var c=r.getAttribute("id"),u=c||k,d=I.test(e)&&r.parentNode||r;c?u=u.replace(n,"\\$&"):r.setAttribute("id",u);try{return T.apply(o,w.call(d.querySelectorAll(e.replace(X,"[id='"+u+"'] $&")),0)),o}catch(l){}finally{c||r.removeAttribute("id")}}return t(e,r,o,a,s)},a&&(Z(function(t){e=a.call(t,"div");try{a.call(t,"[test!='']:sizzle"),o.push(at.match.PSEUDO)}catch(n){}}),o=new RegExp(o.join("|")),ot.matchesSelector=function(t,n){if(n=n.replace(r,"='$1']"),!(lt(t)||o.test(n)||i&&i.test(n)))try{var s=a.call(t,n);if(s||e||t.document&&11!==t.document.nodeType)return s}catch(l){}return ot(n,null,null,[t]).length>0})}(),ot.attr=Q.attr,Q.find=ot,Q.expr=ot.selectors,Q.expr[":"]=Q.expr.pseudos,Q.unique=ot.uniqueSort,Q.text=ot.getText,Q.isXMLDoc=ot.isXML,Q.contains=ot.contains}(e);var Mt=/Until$/,Xt=/^(?:parents|prev(?:Until|All))/,Ht=/^.[^:#\[\.,]*$/,Ft=Q.expr.match.needsContext,Ot={children:!0,contents:!0,next:!0,prev:!0};Q.fn.extend({find:function(e){var t,n,r,i,o,a,s=this;if("string"!=typeof e)return Q(e).filter(function(){for(t=0,n=s.length;n>t;t++)if(Q.contains(s[t],this))return!0});for(a=this.pushStack("","find",e),t=0,n=this.length;n>t;t++)if(r=a.length,Q.find(e,this[t],a),t>0)for(i=r;i<a.length;i++)for(o=0;r>o;o++)if(a[o]===a[i]){a.splice(i--,1);break}return a},has:function(e){var t,n=Q(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(Q.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(c(this,e,!1),"not",e)},filter:function(e){return this.pushStack(c(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?Ft.test(e)?Q(e,this.context).index(this[0])>=0:Q.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=Ft.test(e)||"string"!=typeof e?Q(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n.ownerDocument&&n!==t&&11!==n.nodeType;){if(a?a.index(n)>-1:Q.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}return o=o.length>1?Q.unique(o):o,this.pushStack(o,"closest",e)},index:function(e){return e?"string"==typeof e?Q.inArray(this[0],Q(e)):Q.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n="string"==typeof e?Q(e,t):Q.makeArray(e&&e.nodeType?[e]:e),r=Q.merge(this.get(),n);return this.pushStack(s(n[0])||s(r[0])?r:Q.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Q.fn.andSelf=Q.fn.addBack,Q.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Q.dir(e,"parentNode")},parentsUntil:function(e,t,n){return Q.dir(e,"parentNode",n)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return Q.dir(e,"nextSibling")},prevAll:function(e){return Q.dir(e,"previousSibling")},nextUntil:function(e,t,n){return Q.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return Q.dir(e,"previousSibling",n)},siblings:function(e){return Q.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Q.sibling(e.firstChild)},contents:function(e){return Q.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:Q.merge([],e.childNodes)}},function(e,t){Q.fn[e]=function(n,r){var i=Q.map(this,t,n);return Mt.test(e)||(r=n),r&&"string"==typeof r&&(i=Q.filter(r,i)),i=this.length>1&&!Ot[e]?Q.unique(i):i,this.length>1&&Xt.test(e)&&(i=i.reverse()),this.pushStack(i,e,J.call(arguments).join(","))}}),Q.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?Q.find.matchesSelector(t[0],e)?[t[0]]:[]:Q.find.matches(e,t)},dir:function(e,n,r){for(var i=[],o=e[n];o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!Q(o).is(r));)1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var It="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Bt=/ jQuery\d+="(?:null|\d+)"/g,Rt=/^\s+/,Pt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,qt=/<([\w:]+)/,Wt=/<tbody/i,zt=/<|&#?\w+;/,Ut=/<(?:script|style|link)/i,Jt=/<(?:script|object|embed|option|style)/i,Vt=new RegExp("<(?:"+It+")[\\s/>]","i"),Kt=/^(?:checkbox|radio)$/,Yt=/checked\s*(?:[^=]|=\s*.checked.)/i,Gt=/\/(java|ecma)script/i,Qt=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,Zt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},en=u(R),tn=en.appendChild(R.createElement("div"));
  Zt.optgroup=Zt.option,Zt.tbody=Zt.tfoot=Zt.colgroup=Zt.caption=Zt.thead,Zt.th=Zt.td,Q.support.htmlSerialize||(Zt._default=[1,"X<div>","</div>"]),Q.fn.extend({text:function(e){return Q.access(this,function(e){return e===t?Q.text(this):this.empty().append((this[0]&&this[0].ownerDocument||R).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(Q.isFunction(e))return this.each(function(t){Q(this).wrapAll(e.call(this,t))});if(this[0]){var t=Q(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(Q.isFunction(e)?function(t){Q(this).wrapInner(e.call(this,t))}:function(){var t=Q(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=Q.isFunction(e);return this.each(function(n){Q(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){Q.nodeName(this,"body")||Q(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!s(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=Q.clean(arguments);return this.pushStack(Q.merge(e,this),"before",this.selector)}},after:function(){if(!s(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=Q.clean(arguments);return this.pushStack(Q.merge(this,e),"after",this.selector)}},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)(!e||Q.filter(e,[n]).length)&&(t||1!==n.nodeType||(Q.cleanData(n.getElementsByTagName("*")),Q.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&Q.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return Q.clone(this,e,t)})},html:function(e){return Q.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(Bt,""):t;if(!("string"!=typeof e||Ut.test(e)||!Q.support.htmlSerialize&&Vt.test(e)||!Q.support.leadingWhitespace&&Rt.test(e)||Zt[(qt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(Pt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(Q.cleanData(n.getElementsByTagName("*")),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return s(this[0])?this.length?this.pushStack(Q(Q.isFunction(e)?e():e),"replaceWith",e):this:Q.isFunction(e)?this.each(function(t){var n=Q(this),r=n.html();n.replaceWith(e.call(this,t,r))}):("string"!=typeof e&&(e=Q(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;Q(this).remove(),t?Q(t).before(e):Q(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=[].concat.apply([],e);var i,o,a,s,l=0,c=e[0],u=[],f=this.length;if(!Q.support.checkClone&&f>1&&"string"==typeof c&&Yt.test(c))return this.each(function(){Q(this).domManip(e,n,r)});if(Q.isFunction(c))return this.each(function(i){var o=Q(this);e[0]=c.call(this,i,n?o.html():t),o.domManip(e,n,r)});if(this[0]){if(i=Q.buildFragment(e,this,u),a=i.fragment,o=a.firstChild,1===a.childNodes.length&&(a=o),o)for(n=n&&Q.nodeName(o,"tr"),s=i.cacheable||f-1;f>l;l++)r.call(n&&Q.nodeName(this[l],"table")?d(this[l],"tbody"):this[l],l===s?a:Q.clone(a,!0,!0));a=o=null,u.length&&Q.each(u,function(e,t){t.src?Q.ajax?Q.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):Q.error("no ajax"):Q.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Qt,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),Q.buildFragment=function(e,n,r){var i,o,a,s=e[0];return n=n||R,n=(n[0]||n).ownerDocument||n[0]||n,"undefined"==typeof n.createDocumentFragment&&(n=R),!(1===e.length&&"string"==typeof s&&s.length<512&&n===R&&"<"===s.charAt(0))||Jt.test(s)||!Q.support.checkClone&&Yt.test(s)||!Q.support.html5Clone&&Vt.test(s)||(o=!0,i=Q.fragments[s],a=i!==t),i||(i=n.createDocumentFragment(),Q.clean(e,n,i,r),o&&(Q.fragments[s]=a&&i)),{fragment:i,cacheable:o}},Q.fragments={},Q.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Q.fn[e]=function(n){var r,i=0,o=[],a=Q(n),s=a.length,l=1===this.length&&this[0].parentNode;if((null==l||l&&11===l.nodeType&&1===l.childNodes.length)&&1===s)return a[t](this[0]),this;for(;s>i;i++)r=(i>0?this.clone(!0):this).get(),Q(a[i])[t](r),o=o.concat(r);return this.pushStack(o,e,a.selector)}}),Q.extend({clone:function(e,t,n){var r,i,o,a;if(Q.support.html5Clone||Q.isXMLDoc(e)||!Vt.test("<"+e.nodeName+">")?a=e.cloneNode(!0):(tn.innerHTML=e.outerHTML,tn.removeChild(a=tn.firstChild)),!(Q.support.noCloneEvent&&Q.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Q.isXMLDoc(e)))for(p(e,a),r=h(e),i=h(a),o=0;r[o];++o)i[o]&&p(r[o],i[o]);if(t&&(f(e,a),n))for(r=h(e),i=h(a),o=0;r[o];++o)f(r[o],i[o]);return r=i=null,a},clean:function(e,t,n,r){var i,o,a,s,l,c,d,f,p,h,g,v=0,y=[];for(t&&"undefined"!=typeof t.createDocumentFragment||(t=R),o=t===R&&en;null!=(a=e[v]);v++)if("number"==typeof a&&(a+=""),a){if("string"==typeof a)if(zt.test(a)){for(o=o||u(t),d=d||o.appendChild(t.createElement("div")),a=a.replace(Pt,"<$1></$2>"),s=(qt.exec(a)||["",""])[1].toLowerCase(),l=Zt[s]||Zt._default,c=l[0],d.innerHTML=l[1]+a+l[2];c--;)d=d.lastChild;if(!Q.support.tbody)for(f=Wt.test(a),p="table"!==s||f?"<table>"!==l[1]||f?[]:d.childNodes:d.firstChild&&d.firstChild.childNodes,i=p.length-1;i>=0;--i)Q.nodeName(p[i],"tbody")&&!p[i].childNodes.length&&p[i].parentNode.removeChild(p[i]);!Q.support.leadingWhitespace&&Rt.test(a)&&d.insertBefore(t.createTextNode(Rt.exec(a)[0]),d.firstChild),a=d.childNodes,d=o.lastChild}else a=t.createTextNode(a);a.nodeType?y.push(a):y=Q.merge(y,a)}if(d&&(o.removeChild(d),a=d=o=null),!Q.support.appendChecked)for(v=0;null!=(a=y[v]);v++)Q.nodeName(a,"input")?m(a):"undefined"!=typeof a.getElementsByTagName&&Q.grep(a.getElementsByTagName("input"),m);if(n)for(h=function(e){return!e.type||Gt.test(e.type)?r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e):void 0},v=0;null!=(a=y[v]);v++)Q.nodeName(a,"script")&&h(a)||(n.appendChild(a),"undefined"!=typeof a.getElementsByTagName&&(g=Q.grep(Q.merge([],a.getElementsByTagName("script")),h),y.splice.apply(y,[v+1,0].concat(g)),v+=g.length));return y},cleanData:function(e,t){for(var n,r,i,o,a=0,s=Q.expando,l=Q.cache,c=Q.support.deleteExpando,u=Q.event.special;null!=(i=e[a]);a++)if((t||Q.acceptData(i))&&(r=i[s],n=r&&l[r])){if(n.events)for(o in n.events)u[o]?Q.event.remove(i,o):Q.removeEvent(i,o,n.handle);l[r]&&(delete l[r],c?delete i[s]:i.removeAttribute?i.removeAttribute(s):i[s]=null,Q.deletedIds.push(r))}}}),function(){var e,t;Q.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=Q.uaMatch(q.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.webkit&&(t.safari=!0),Q.browser=t,Q.sub=function(){function e(t,n){return new e.fn.init(t,n)}Q.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(n,r){return r&&r instanceof Q&&!(r instanceof e)&&(r=e(r)),Q.fn.init.call(this,n,r,t)},e.fn.init.prototype=e.fn;var t=e(R);return e}}();var nn,rn,on,an=/alpha\([^)]*\)/i,sn=/opacity=([^)]*)/,ln=/^(top|right|bottom|left)$/,cn=/^margin/,un=new RegExp("^("+Z+")(.*)$","i"),dn=new RegExp("^("+Z+")(?!px)[a-z%]+$","i"),fn=new RegExp("^([-+])=("+Z+")","i"),pn={},hn={position:"absolute",visibility:"hidden",display:"block"},mn={letterSpacing:0,fontWeight:400,lineHeight:1},gn=["Top","Right","Bottom","Left"],vn=["Webkit","O","Moz","ms"],yn=Q.fn.toggle;Q.fn.extend({css:function(e,n){return Q.access(this,function(e,n,r){return r!==t?Q.style(e,n,r):Q.css(e,n)},e,n,arguments.length>1)},show:function(){return y(this,!0)},hide:function(){return y(this)},toggle:function(e,t){var n="boolean"==typeof e;return Q.isFunction(e)&&Q.isFunction(t)?yn.apply(this,arguments):this.each(function(){(n?e:v(this))?Q(this).show():Q(this).hide()})}}),Q.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=nn(e,"opacity");return""===n?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":Q.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=Q.camelCase(n),c=e.style;if(n=Q.cssProps[l]||(Q.cssProps[l]=g(c,l)),s=Q.cssHooks[n]||Q.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:c[n];if(a=typeof r,"string"===a&&(o=fn.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(Q.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||Q.cssNumber[l]||(r+="px"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{c[n]=r}catch(u){}}},css:function(e,n,r,i){var o,a,s,l=Q.camelCase(n);return n=Q.cssProps[l]||(Q.cssProps[l]=g(e.style,l)),s=Q.cssHooks[n]||Q.cssHooks[l],s&&"get"in s&&(o=s.get(e,!0,i)),o===t&&(o=nn(e,n)),"normal"===o&&n in mn&&(o=mn[n]),r||i!==t?(a=parseFloat(o),r||Q.isNumeric(a)?a||0:o):o},swap:function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=o[i];return r}}),e.getComputedStyle?nn=function(e,t){var n,r,i,o,a=getComputedStyle(e,null),s=e.style;return a&&(n=a[t],""!==n||Q.contains(e.ownerDocument.documentElement,e)||(n=Q.style(e,t)),dn.test(n)&&cn.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=n,n=a.width,s.width=r,s.minWidth=i,s.maxWidth=o)),n}:R.documentElement.currentStyle&&(nn=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],o=e.style;return null==i&&o&&o[t]&&(i=o[t]),dn.test(i)&&!ln.test(t)&&(n=o.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),o.left="fontSize"===t?"1em":i,i=o.pixelLeft+"px",o.left=n,r&&(e.runtimeStyle.left=r)),""===i?"auto":i}),Q.each(["height","width"],function(e,t){Q.cssHooks[t]={get:function(e,n,r){return n?0!==e.offsetWidth||"none"!==nn(e,"display")?w(e,t,r):Q.swap(e,hn,function(){return w(e,t,r)}):void 0},set:function(e,n,r){return x(e,n,r?b(e,t,r,Q.support.boxSizing&&"border-box"===Q.css(e,"boxSizing")):0)}}}),Q.support.opacity||(Q.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,r=e.currentStyle,i=Q.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,t>=1&&""===Q.trim(o.replace(an,""))&&n.removeAttribute&&(n.removeAttribute("filter"),r&&!r.filter)||(n.filter=an.test(o)?o.replace(an,i):o+" "+i)}}),Q(function(){Q.support.reliableMarginRight||(Q.cssHooks.marginRight={get:function(e,t){return Q.swap(e,{display:"inline-block"},function(){return t?nn(e,"marginRight"):void 0})}}),!Q.support.pixelPosition&&Q.fn.position&&Q.each(["top","left"],function(e,t){Q.cssHooks[t]={get:function(e,n){if(n){var r=nn(e,t);return dn.test(r)?Q(e).position()[t]+"px":r}}}})}),Q.expr&&Q.expr.filters&&(Q.expr.filters.hidden=function(e){return 0===e.offsetWidth&&0===e.offsetHeight||!Q.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||nn(e,"display"))},Q.expr.filters.visible=function(e){return!Q.expr.filters.hidden(e)}),Q.each({margin:"",padding:"",border:"Width"},function(e,t){Q.cssHooks[e+t]={expand:function(n){var r,i="string"==typeof n?n.split(" "):[n],o={};for(r=0;4>r;r++)o[e+gn[r]+t]=i[r]||i[r-2]||i[0];return o}},cn.test(e)||(Q.cssHooks[e+t].set=x)});var xn=/%20/g,bn=/\[\]$/,wn=/\r?\n/g,Tn=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,kn=/^(?:select|textarea)/i;Q.fn.extend({serialize:function(){return Q.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?Q.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||kn.test(this.nodeName)||Tn.test(this.type))}).map(function(e,t){var n=Q(this).val();return null==n?null:Q.isArray(n)?Q.map(n,function(e){return{name:t.name,value:e.replace(wn,"\r\n")}}):{name:t.name,value:n.replace(wn,"\r\n")}}).get()}}),Q.param=function(e,n){var r,i=[],o=function(e,t){t=Q.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=Q.ajaxSettings&&Q.ajaxSettings.traditional),Q.isArray(e)||e.jquery&&!Q.isPlainObject(e))Q.each(e,function(){o(this.name,this.value)});else for(r in e)k(r,e[r],n,o);return i.join("&").replace(xn,"+")};var Sn,Cn,En=/#.*$/,Nn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,$n=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,Dn=/^(?:GET|HEAD)$/,_n=/^\/\//,jn=/\?/,An=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Ln=/([?&])_=[^&]*/,Mn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Xn=Q.fn.load,Hn={},Fn={},On=["*/"]+["*"];try{Sn=P.href}catch(In){Sn=R.createElement("a"),Sn.href="",Sn=Sn.href}Cn=Mn.exec(Sn.toLowerCase())||[],Q.fn.load=function(e,n,r){if("string"!=typeof e&&Xn)return Xn.apply(this,arguments);if(!this.length)return this;var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),Q.isFunction(n)?(r=n,n=t):"object"==typeof n&&(o="POST"),Q.ajax({url:e,type:o,dataType:"html",data:n,complete:function(e,t){r&&s.each(r,a||[e.responseText,t,e])}}).done(function(e){a=arguments,s.html(i?Q("<div>").append(e.replace(An,"")).find(i):e)}),this},Q.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){Q.fn[t]=function(e){return this.on(t,e)}}),Q.each(["get","post"],function(e,n){Q[n]=function(e,r,i,o){return Q.isFunction(r)&&(o=o||i,i=r,r=t),Q.ajax({type:n,url:e,data:r,success:i,dataType:o})}}),Q.extend({getScript:function(e,n){return Q.get(e,t,n,"script")},getJSON:function(e,t,n){return Q.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?E(e,Q.ajaxSettings):(t=e,e=Q.ajaxSettings),E(e,t),e},ajaxSettings:{url:Sn,isLocal:$n.test(Cn[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":On},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":Q.parseJSON,"text xml":Q.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:S(Hn),ajaxTransport:S(Fn),ajax:function(e,n){function r(e,n,r,a){var c,d,y,x,w,k=n;2!==b&&(b=2,l&&clearTimeout(l),s=t,o=a||"",T.readyState=e>0?4:0,r&&(x=N(f,T,r)),e>=200&&300>e||304===e?(f.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(Q.lastModified[i]=w),w=T.getResponseHeader("Etag"),w&&(Q.etag[i]=w)),304===e?(k="notmodified",c=!0):(c=$(f,x),k=c.state,d=c.data,y=c.error,c=!y)):(y=k,(!k||e)&&(k="error",0>e&&(e=0))),T.status=e,T.statusText=""+(n||k),c?m.resolveWith(p,[d,k,T]):m.rejectWith(p,[T,k,y]),T.statusCode(v),v=t,u&&h.trigger("ajax"+(c?"Success":"Error"),[T,f,c?d:y]),g.fireWith(p,[T,k]),u&&(h.trigger("ajaxComplete",[T,f]),--Q.active||Q.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=t),n=n||{};var i,o,a,s,l,c,u,d,f=Q.ajaxSetup({},n),p=f.context||f,h=p!==f&&(p.nodeType||p instanceof Q)?Q(p):Q.event,m=Q.Deferred(),g=Q.Callbacks("once memory"),v=f.statusCode||{},y={},x={},b=0,w="canceled",T={readyState:0,setRequestHeader:function(e,t){if(!b){var n=e.toLowerCase();e=x[n]=x[n]||e,y[e]=t}return this},getAllResponseHeaders:function(){return 2===b?o:null},getResponseHeader:function(e){var n;if(2===b){if(!a)for(a={};n=Nn.exec(o);)a[n[1].toLowerCase()]=n[2];n=a[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return b||(f.mimeType=e),this},abort:function(e){return e=e||w,s&&s.abort(e),r(0,e),this}};if(m.promise(T),T.success=T.done,T.error=T.fail,T.complete=g.add,T.statusCode=function(e){if(e){var t;if(2>b)for(t in e)v[t]=[v[t],e[t]];else t=e[T.status],T.always(t)}return this},f.url=((e||f.url)+"").replace(En,"").replace(_n,Cn[1]+"//"),f.dataTypes=Q.trim(f.dataType||"*").toLowerCase().split(tt),null==f.crossDomain&&(c=Mn.exec(f.url.toLowerCase()),f.crossDomain=!(!c||c[1]==Cn[1]&&c[2]==Cn[2]&&(c[3]||("http:"===c[1]?80:443))==(Cn[3]||("http:"===Cn[1]?80:443)))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=Q.param(f.data,f.traditional)),C(Hn,f,n,T),2===b)return T;if(u=f.global,f.type=f.type.toUpperCase(),f.hasContent=!Dn.test(f.type),u&&0===Q.active++&&Q.event.trigger("ajaxStart"),!f.hasContent&&(f.data&&(f.url+=(jn.test(f.url)?"&":"?")+f.data,delete f.data),i=f.url,f.cache===!1)){var k=Q.now(),S=f.url.replace(Ln,"$1_="+k);f.url=S+(S===f.url?(jn.test(f.url)?"&":"?")+"_="+k:"")}(f.data&&f.hasContent&&f.contentType!==!1||n.contentType)&&T.setRequestHeader("Content-Type",f.contentType),f.ifModified&&(i=i||f.url,Q.lastModified[i]&&T.setRequestHeader("If-Modified-Since",Q.lastModified[i]),Q.etag[i]&&T.setRequestHeader("If-None-Match",Q.etag[i])),T.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+On+"; q=0.01":""):f.accepts["*"]);for(d in f.headers)T.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(f.beforeSend.call(p,T,f)===!1||2===b))return T.abort();w="abort";for(d in{success:1,error:1,complete:1})T[d](f[d]);if(s=C(Fn,f,n,T)){T.readyState=1,u&&h.trigger("ajaxSend",[T,f]),f.async&&f.timeout>0&&(l=setTimeout(function(){T.abort("timeout")},f.timeout));try{b=1,s.send(y,r)}catch(E){if(!(2>b))throw E;r(-1,E)}}else r(-1,"No Transport");return T},active:0,lastModified:{},etag:{}});var Bn=[],Rn=/\?/,Pn=/(=)\?(?=&|$)|\?\?/,qn=Q.now();Q.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Bn.pop()||Q.expando+"_"+qn++;return this[e]=!0,e}}),Q.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.data,c=n.url,u=n.jsonp!==!1,d=u&&Pn.test(c),f=u&&!d&&"string"==typeof l&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Pn.test(l);return"jsonp"===n.dataTypes[0]||d||f?(o=n.jsonpCallback=Q.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,a=e[o],d?n.url=c.replace(Pn,"$1"+o):f?n.data=l.replace(Pn,"$1"+o):u&&(n.url+=(Rn.test(c)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||Q.error(o+" was not called"),s[0]},n.dataTypes[0]="json",e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Bn.push(o)),s&&Q.isFunction(a)&&a(s[0]),s=a=t}),"script"):void 0}),Q.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return Q.globalEval(e),e}}}),Q.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),Q.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=R.head||R.getElementsByTagName("head")[0]||R.documentElement;return{send:function(i,o){n=R.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){(i||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Wn,zn=e.ActiveXObject?function(){for(var e in Wn)Wn[e](0,1)}:!1,Un=0;Q.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&D()||_()}:D,function(e){Q.extend(Q.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(Q.ajaxSettings.xhr()),Q.support.ajax&&Q.ajaxTransport(function(n){if(!n.crossDomain||Q.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(c){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,c,u,d,f;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=Q.noop,zn&&delete Wn[a]),i)4!==l.readyState&&l.abort();else{s=l.status,u=l.getAllResponseHeaders(),d={},f=l.responseXML,f&&f.documentElement&&(d.xml=f);try{d.text=l.responseText}catch(e){}try{c=l.statusText}catch(p){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=d.text?200:404}}catch(h){i||o(-1,h)}d&&o(s,c,d,u)},n.async?4===l.readyState?setTimeout(r,0):(a=++Un,zn&&(Wn||(Wn={},Q(e).unload(zn)),Wn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var Jn,Vn,Kn=/^(?:toggle|show|hide)$/,Yn=new RegExp("^(?:([-+])=|)("+Z+")([a-z%]*)$","i"),Gn=/queueHooks$/,Qn=[X],Zn={"*":[function(e,t){var n,r,i,o=this.createTween(e,t),a=Yn.exec(t),s=o.cur(),l=+s||0,c=1;if(a){if(n=+a[2],r=a[3]||(Q.cssNumber[e]?"":"px"),"px"!==r&&l){l=Q.css(o.elem,e,!0)||n||1;do i=c=c||".5",l/=c,Q.style(o.elem,e,l+r),c=o.cur()/s;while(1!==c&&c!==i)}o.unit=r,o.start=l,o.end=a[1]?l+(a[1]+1)*n:n}return o}]};Q.Animation=Q.extend(L,{tweener:function(e,t){Q.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],Zn[n]=Zn[n]||[],Zn[n].unshift(t)},prefilter:function(e,t){t?Qn.unshift(e):Qn.push(e)}}),Q.Tween=H,H.prototype={constructor:H,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Q.cssNumber[n]?"":"px")},cur:function(){var e=H.propHooks[this.prop];return e&&e.get?e.get(this):H.propHooks._default.get(this)},run:function(e){var t,n=H.propHooks[this.prop];return this.pos=t=Q.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration),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):H.propHooks._default.set(this),this}},H.prototype.init.prototype=H.prototype,H.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=Q.css(e.elem,e.prop,!1,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){Q.fx.step[e.prop]?Q.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[Q.cssProps[e.prop]]||Q.cssHooks[e.prop])?Q.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},H.propHooks.scrollTop=H.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Q.each(["toggle","show","hide"],function(e,t){var n=Q.fn[t];Q.fn[t]=function(r,i,o){return null==r||"boolean"==typeof r||!e&&Q.isFunction(r)&&Q.isFunction(i)?n.apply(this,arguments):this.animate(F(t,!0),r,i,o)}}),Q.fn.extend({fadeTo:function(e,t,n,r){return this.filter(v).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=Q.isEmptyObject(e),o=Q.speed(t,n,r),a=function(){var t=L(this,Q.extend({},e),o);i&&t.stop(!0)};return i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=Q.timers,a=Q._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Gn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&Q.dequeue(this,e)})}}),Q.each({slideDown:F("show"),slideUp:F("hide"),slideToggle:F("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Q.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Q.speed=function(e,t,n){var r=e&&"object"==typeof e?Q.extend({},e):{complete:n||!n&&t||Q.isFunction(e)&&e,duration:e,easing:n&&t||t&&!Q.isFunction(t)&&t};return r.duration=Q.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in Q.fx.speeds?Q.fx.speeds[r.duration]:Q.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){Q.isFunction(r.old)&&r.old.call(this),r.queue&&Q.dequeue(this,r.queue)},r},Q.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},Q.timers=[],Q.fx=H.prototype.init,Q.fx.tick=function(){for(var e,t=Q.timers,n=0;n<t.length;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||Q.fx.stop()},Q.fx.timer=function(e){e()&&Q.timers.push(e)&&!Vn&&(Vn=setInterval(Q.fx.tick,Q.fx.interval))},Q.fx.interval=13,Q.fx.stop=function(){clearInterval(Vn),Vn=null},Q.fx.speeds={slow:600,fast:200,_default:400},Q.fx.step={},Q.expr&&Q.expr.filters&&(Q.expr.filters.animated=function(e){return Q.grep(Q.timers,function(t){return e===t.elem}).length});var er=/^(?:body|html)$/i;return Q.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){Q.offset.setOffset(this,e,t)});var n,r,i,o,a,s,l,c,u,d,f=this[0],p=f&&f.ownerDocument;if(p)return(i=p.body)===f?Q.offset.bodyOffset(f):(r=p.documentElement,Q.contains(r,f)?(n=f.getBoundingClientRect(),o=O(p),a=r.clientTop||i.clientTop||0,s=r.clientLeft||i.clientLeft||0,l=o.pageYOffset||r.scrollTop,c=o.pageXOffset||r.scrollLeft,u=n.top+l-a,d=n.left+c-s,{top:u,left:d}):{top:0,left:0})},Q.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return Q.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(Q.css(e,"marginTop"))||0,n+=parseFloat(Q.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=Q.css(e,"position");"static"===r&&(e.style.position="relative");var i,o,a=Q(e),s=a.offset(),l=Q.css(e,"top"),c=Q.css(e,"left"),u=("absolute"===r||"fixed"===r)&&Q.inArray("auto",[l,c])>-1,d={},f={};u?(f=a.position(),i=f.top,o=f.left):(i=parseFloat(l)||0,o=parseFloat(c)||0),Q.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(d.top=t.top-s.top+i),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):a.css(d)}},Q.fn.extend({position:function(){if(this[0]){var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(Q.css(e,"marginTop"))||0,n.left-=parseFloat(Q.css(e,"marginLeft"))||0,r.top+=parseFloat(Q.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(Q.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||R.body;e&&!er.test(e.nodeName)&&"static"===Q.css(e,"position");)e=e.offsetParent;return e||R.body})}}),Q.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);Q.fn[e]=function(i){return Q.access(this,function(e,i,o){var a=O(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:void(a?a.scrollTo(r?Q(a).scrollLeft():o,r?o:Q(a).scrollTop()):e[i]=o)},e,i,arguments.length,null)}}),Q.each({Height:"height",Width:"width"},function(e,n){Q.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){Q.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return Q.access(this,function(n,r,i){var o;return Q.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?Q.css(n,r,i,s):Q.style(n,r,i,s)},n,a?i:t,a)}})}),Q}(window);$.cookie=function(e,t,n){if("undefined"==typeof t){var r=null;if(document.cookie&&""!=document.cookie)for(var i=document.cookie.split(";"),o=0;o<i.length;o++){var a=i[o].replace(/(^[ ]+)|([ ]+$)/gi,"");if(a.substring(0,e.length+1)==e+"="){r=decodeURIComponent(a.substring(e.length+1));break}}return r}n=n||{},null===t&&(t="",n.expires=-1);var s="";if(n.expires&&("number"==typeof n.expires||n.expires.toUTCString)){var l;"number"==typeof n.expires?(l=new Date,l.setTime(l.getTime()+24*n.expires*60*60*1e3)):l=n.expires,s="; expires="+l.toUTCString()}var c=n.path?"; path="+n.path:"",u=n.domain?"; domain="+n.domain:"",d=n.secure?"; secure":"";document.cookie=[e,"=",encodeURIComponent(t),s,c,u,d].join("")};var feature={};feature.fileapi=$("<input type='file'/>").get(0).files!==undefined,feature.formdata=window.FormData!==undefined,$.fn.attr2=$.fn.attr,$.fieldValue=function(e,t){var n=e.name,r=e.type,i=e.tagName.toLowerCase();if(t===undefined&&(t=!0),t&&(!n||e.disabled||"reset"==r||"button"==r||("checkbox"==r||"radio"==r)&&!e.checked||("submit"==r||"image"==r)&&e.form&&e.form.clk!=e||"select"==i&&-1==e.selectedIndex))return null;if("select"==i){var o=e.selectedIndex;if(0>o)return null;for(var a=[],s=e.options,l="select-one"==r,c=l?o+1:s.length,u=l?o:0;c>u;u++){var d=s[u];if(d.selected){var f=d.value;if(f||(f=d.attributes&&d.attributes.value&&!d.attributes.value.specified?d.text:d.value),l)return f;a.push(f)}}return a}return $(e).val()},$.fn.fieldValue=function(e){for(var t=[],n=0,r=this.length;r>n;n++){var i=this[n],o=$.fieldValue(i,e);null===o||"undefined"==typeof o||o.constructor==Array&&!o.length||(o.constructor==Array?$.merge(t,o):t.push(o))}return t},$.fn.formToArray=function(e,t){var n=[];if(0===this.length)return n;var r,i=this[0],o=this.attr("id"),a=e?i.getElementsByTagName("*"):i.elements;if(a&&!/MSIE [678]/.test(navigator.userAgent)&&(a=$(a).get()),o&&(r=$(':input[form="'+o+'"]').get(),r.length&&(a=(a||[]).concat(r))),!a||!a.length)return n;var s,l,c,u,d,f,p;for(s=0,f=a.length;f>s;s++)if(d=a[s],c=d.name,c&&!d.disabled)if(e&&i.clk&&"image"==d.type)i.clk==d&&(n.push({name:c,value:$(d).val(),type:d.type}),n.push({name:c+".x",value:i.clk_x},{name:c+".y",value:i.clk_y}));else if(u=$.fieldValue(d,!0),u&&u.constructor==Array)for(t&&t.push(d),l=0,p=u.length;p>l;l++)n.push({name:c,value:u[l]});else if(feature.fileapi&&"file"==d.type){t&&t.push(d);var h=d.files;if(h.length)for(l=0;l<h.length;l++)n.push({name:c,value:h[l],type:d.type});else n.push({name:c,value:"",type:d.type})}else null!==u&&"undefined"!=typeof u&&(t&&t.push(d),n.push({name:c,value:u,type:d.type,required:d.required}));if(!e&&i.clk){var m=$(i.clk),g=m[0];c=g.name,c&&!g.disabled&&"image"==g.type&&(n.push({name:c,value:m.val()}),n.push({name:c+".x",value:i.clk_x},{name:c+".y",value:i.clk_y}))}return n},$.fn.ajaxSubmit=function(e){function t(t){var n,r,i=$.param(t,e.traditional).split("&"),o=i.length,a=[];for(n=0;o>n;n++)i[n]=i[n].replace(/\+/g," "),r=i[n].split("="),a.push([decodeURIComponent(r[0]),decodeURIComponent(r[1])]);return a}function n(n){for(var r=new FormData,o=0;o<n.length;o++)r.append(n[o].name,n[o].value);if(e.extraData){var a=t(e.extraData);for(o=0;o<a.length;o++)a[o]&&r.append(a[o][0],a[o][1])}e.data=null;var s=$.extend(!0,{},$.ajaxSettings,e,{contentType:!1,processData:!1,cache:!1,type:i||"POST"});e.uploadProgress&&(s.xhr=function(){var t=$.ajaxSettings.xhr();return t.upload&&t.upload.addEventListener("progress",function(t){var n=0,r=t.loaded||t.position,i=t.total;t.lengthComputable&&(n=Math.ceil(r/i*100)),e.uploadProgress(t,r,i,n)},!1),t}),s.data=null;var l=s.beforeSend;return s.beforeSend=function(t,n){n.data=e.formData?e.formData:r,l&&l.call(this,t,n)},$.ajax(s)}function r(t){function n(e){var t=null;try{e.contentWindow&&(t=e.contentWindow.document)}catch(n){log("cannot get iframe.contentWindow document: "+n)}if(t)return t;try{t=e.contentDocument?e.contentDocument:e.document}catch(n){log("cannot get iframe.contentDocument: "+n),t=e.document}return t}function r(){function e(){try{var t=n(h).readyState;log("state = "+t),t&&"uninitialized"==t.toLowerCase()&&setTimeout(e,50)}catch(r){log("Server abort: ",r," (",r.name,")"),o(k),x&&clearTimeout(x),x=undefined
  }}var t=s.attr2("target"),r=s.attr2("action"),a="multipart/form-data",l=s.attr("enctype")||s.attr("encoding")||a;b.setAttribute("target",f),(!i||/post/i.test(i))&&b.setAttribute("method","POST"),r!=c.url&&b.setAttribute("action",c.url),c.skipEncodingOverride||i&&!/post/i.test(i)||s.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),c.timeout&&(x=setTimeout(function(){y=!0,o(T)},c.timeout));var u=[];try{if(c.extraData)for(var d in c.extraData)c.extraData.hasOwnProperty(d)&&u.push($.isPlainObject(c.extraData[d])&&c.extraData[d].hasOwnProperty("name")&&c.extraData[d].hasOwnProperty("value")?$('<input type="hidden" name="'+c.extraData[d].name+'">').val(c.extraData[d].value).appendTo(b)[0]:$('<input type="hidden" name="'+d+'">').val(c.extraData[d]).appendTo(b)[0]);c.iframeTarget||p.appendTo("body"),h.attachEvent?h.attachEvent("onload",o):h.addEventListener("load",o,!1),setTimeout(e,15);try{b.submit()}catch(m){var g=document.createElement("form").submit;g.apply(b)}}finally{b.setAttribute("action",r),b.setAttribute("enctype",l),t?b.setAttribute("target",t):s.removeAttr("target"),$(u).remove()}}function o(e){if(!m.aborted&&!D){if(N=n(h),N||(log("cannot access response document"),e=k),e===T&&m)return m.abort("timeout"),void w.reject(m,"timeout");if(e==k&&m)return m.abort("server abort"),void w.reject(m,"error","server abort");if(N&&N.location.href!=c.iframeSrc||y){h.detachEvent?h.detachEvent("onload",o):h.removeEventListener("load",o,!1);var t,r="success";try{if(y)throw"timeout";var i="xml"==c.dataType||N.XMLDocument||$.isXMLDoc(N);if(log("isXml="+i),!i&&window.opera&&(null===N.body||!N.body.innerHTML)&&--_)return log("requeing onLoad callback, DOM not available"),void setTimeout(o,250);var a=N.body?N.body:N.documentElement;m.responseText=a?a.innerHTML:null,m.responseXML=N.XMLDocument?N.XMLDocument:N,i&&(c.dataType="xml"),m.getResponseHeader=function(e){var t={"content-type":c.dataType};return t[e.toLowerCase()]},a&&(m.status=Number(a.getAttribute("status"))||m.status,m.statusText=a.getAttribute("statusText")||m.statusText);var s=(c.dataType||"").toLowerCase(),l=/(json|script|text)/.test(s);if(l||c.textarea){var d=N.getElementsByTagName("textarea")[0];if(d)m.responseText=d.value,m.status=Number(d.getAttribute("status"))||m.status,m.statusText=d.getAttribute("statusText")||m.statusText;else if(l){var f=N.getElementsByTagName("pre")[0],g=N.getElementsByTagName("body")[0];f?m.responseText=f.textContent?f.textContent:f.innerText:g&&(m.responseText=g.textContent?g.textContent:g.innerText)}}else"xml"==s&&!m.responseXML&&m.responseText&&(m.responseXML=j(m.responseText));try{E=L(m,s,c)}catch(v){r="parsererror",m.error=t=v||r}}catch(v){log("error caught: ",v),r="error",m.error=t=v||r}m.aborted&&(log("upload aborted"),r=null),m.status&&(r=m.status>=200&&m.status<300||304===m.status?"success":"error"),"success"===r?(c.success&&c.success.call(c.context,E,"success",m),w.resolve(m.responseText,"success",m),u&&$.event.trigger("ajaxSuccess",[m,c])):r&&(t===undefined&&(t=m.statusText),c.error&&c.error.call(c.context,m,r,t),w.reject(m,"error",t),u&&$.event.trigger("ajaxError",[m,c,t])),u&&$.event.trigger("ajaxComplete",[m,c]),u&&!--$.active&&$.event.trigger("ajaxStop"),c.complete&&c.complete.call(c.context,m,r),D=!0,c.timeout&&clearTimeout(x),setTimeout(function(){c.iframeTarget?p.attr("src",c.iframeSrc):p.remove(),m.responseXML=null},100)}}}var a,l,c,u,f,p,h,m,g,v,y,x,b=s[0],w=$.Deferred();if(w.abort=function(e){m.abort(e)},t)for(l=0;l<d.length;l++)a=$(d[l]),hasProp?a.prop("disabled",!1):a.removeAttr("disabled");if(c=$.extend(!0,{},$.ajaxSettings,e),c.context=c.context||c,f="jqFormIO"+(new Date).getTime(),c.iframeTarget?(p=$(c.iframeTarget),v=p.attr2("name"),v?f=v:p.attr2("name",f)):(p=$('<iframe name="'+f+'" src="'+c.iframeSrc+'" />'),p.css({position:"absolute",top:"-1000px",left:"-1000px"})),h=p[0],m={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(e){var t="timeout"===e?"timeout":"aborted";log("aborting upload... "+t),this.aborted=1;try{h.contentWindow.document.execCommand&&h.contentWindow.document.execCommand("Stop")}catch(n){}p.attr("src",c.iframeSrc),m.error=t,c.error&&c.error.call(c.context,m,t,e),u&&$.event.trigger("ajaxError",[m,c,t]),c.complete&&c.complete.call(c.context,m,t)}},u=c.global,u&&0===$.active++&&$.event.trigger("ajaxStart"),u&&$.event.trigger("ajaxSend",[m,c]),c.beforeSend&&c.beforeSend.call(c.context,m,c)===!1)return c.global&&$.active--,w.reject(),w;if(m.aborted)return w.reject(),w;g=b.clk,g&&(v=g.name,v&&!g.disabled&&(c.extraData=c.extraData||{},c.extraData[v]=g.value,"image"==g.type&&(c.extraData[v+".x"]=b.clk_x,c.extraData[v+".y"]=b.clk_y)));var T=1,k=2,S=$("meta[name=csrf-token]").attr("content"),C=$("meta[name=csrf-param]").attr("content");C&&S&&(c.extraData=c.extraData||{},c.extraData[C]=S),c.forceSync?r():setTimeout(r,10);var E,N,D,_=50,j=$.parseXML||function(e,t){return window.ActiveXObject?(t=new ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!=t.documentElement.nodeName?t:null},A=$.parseJSON||function(e){return window.eval("("+e+")")},L=function(e,t,n){var r=e.getResponseHeader("content-type")||"",i="xml"===t||!t&&r.indexOf("xml")>=0,o=i?e.responseXML:e.responseText;return i&&"parsererror"===o.documentElement.nodeName&&$.error&&$.error("parsererror"),n&&n.dataFilter&&(o=n.dataFilter(o,t)),"string"==typeof o&&("json"===t||!t&&r.indexOf("json")>=0?o=A(o):("script"===t||!t&&r.indexOf("javascript")>=0)&&$.globalEval(o)),o};return w}if(!this.length)return log("ajaxSubmit: skipping submit process - no element selected"),this;var i,o,a,s=this;"function"==typeof e?e={success:e}:e===undefined&&(e={}),i=e.type||this.attr2("method"),o=e.url||this.attr2("action"),a="string"==typeof o?$.trim(o):"",a=a||window.location.href||"",a&&(a=(a.match(/^([^#]+)/)||[])[1]),e=$.extend(!0,{url:a,iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},e);var l={};if(this.trigger("form-pre-serialize",[this,e,l]),l.veto)return log("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(e.beforeSerialize&&e.beforeSerialize(this,e)===!1)return log("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var c=e.traditional;c===undefined&&(c=!0);var u,d=[],f=this.formToArray(e.semantic,d);if(e.data&&(e.extraData=e.data,u=$.param(e.data,c)),e.beforeSubmit&&e.beforeSubmit(f,this,e)===!1)return log("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[f,this,e,l]),l.veto)return log("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var p=$.param(f,c);u&&(p=p?p+"&"+u:u),"GET"==e.type.toUpperCase()?(e.url+=(e.url.indexOf("?")>=0?"&":"?")+p,e.data=null):e.data=p;var h=[];if(e.resetForm&&h.push(function(){s.resetForm()}),e.clearForm&&h.push(function(){s.clearForm(e.includeHidden)}),!e.dataType&&e.target){var m=e.success||function(){};h.push(function(t){var n=e.replaceTarget?"replaceWith":"html";$(e.target)[n](t).each(m,arguments)})}else e.success&&h.push(e.success);if(e.success=function(t,n,r){for(var i=e.context||this,o=0,a=h.length;a>o;o++)h[o].apply(i,[t,n,r||s,s])},e.error){var g=e.error;e.error=function(t,n,r){var i=e.context||this;g.apply(i,[t,n,r,s])}}if(e.complete){var v=e.complete;e.complete=function(t,n){var r=e.context||this;v.apply(r,[t,n,s])}}var y,x=$("input[type=file]:enabled",this).filter(function(){return""!==$(this).val()}),b=x.length>0,w="multipart/form-data",T=s.attr("enctype")==w||s.attr("encoding")==w,k=feature.fileapi&&feature.formdata,S=(b||T)&&!k;e.iframe!==!1&&(e.iframe||S)?e.closeKeepAlive?$.get(e.closeKeepAlive,function(){y=r(f)}):y=r(f):y=(b||T)&&k?n(f):$.ajax(e),s.removeData("jqxhr").data("jqxhr",y);for(var C=0;C<d.length;C++)d[C]=null;this.trigger("form-submit-notify",[this,e])};var _htmlEncode=function(e){var t="";return 0==e.length?"":(t=e.replace(/\'/g,"&#39;"),t=t.replace(/\"/g,"&quot;"),t=t.replace(/\>/g,"&gt;"),t=t.replace(/\</g,"&lt;"))},_addEvent=function(){var e=function(e){var t=e.type;return("DOMMouseScroll"==t||"mousewheel"==t)&&(e.delta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3),e.srcElement&&!e.target&&(e.target=e.srcElement),e.preventDefault||e.returnValue===undefined||(e.preventDefault=function(){e.returnValue=!1}),e};return win.addEventListener?function(t,n,r,i){return t?("mousewheel"===n&&document.mozHidden!==undefined&&(n="DOMMouseScroll"),void t.addEventListener(n,function(t){r.call(this,e(t))},i||!1)):!1}:win.attachEvent?function(t,n,r){return t?void t.attachEvent("on"+n,function(n){n=n||win.event,r.call(t,e(n))}):!1}:function(){}}(),_loadJs=function(e,t,n){var r=document.createElement("script"),i=document.getElementsByTagName("head")[0],o=!1;r.type="text/javascript",r.src=e,r.onreadystatechange=function(){var e=r.readyState;o||"loaded"!==e&&"complete"!==e||(o=!0,t&&t(),r.onreadystatechange=null,i.removeChild(r))},r.onload=function(){o||(o=!0,t&&t(),i.removeChild(r))},n&&(r.onerror=n),i.appendChild(r)},_trim=function(){return this.replace(/(^\s*)|(\s*$)/g,"")},_emnu=function(e){var t=new Array;for(var n in e)t.push(n+"="+e[n]);return t.join("&")},_jsonp=function(e){var t=$.extend({url:"",data:{},success:function(){},error:function(){}},e),n="JSONP"+(new Date).getTime().toString(36);t.data.callback=n;var r=_emnu(t.data);win[n]=t.success,_loadJs(t.url+(t.url.indexOf("?")>0?"&":"?")+r,function(){},t.error)},_dateFormat=function(e){var t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length)));for(var n in t)new RegExp("("+n+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[n]:("00"+t[n]).substr((""+t[n]).length)));return e},_generateHtml=function(e){var t=[],n=navigator.userAgent,r=e.con,i=r.colors;if(n.indexOf("Android")>-1||n.indexOf("Linux")>-1?_isPad=!0:(n.indexOf("iPhone")>-1||n.indexOf("iPad")>-1)&&(_isPad=!0,r.ismax=!0),_isPad&&$(win).width()<600&&(_isMobile=!0,$("head").append('<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>')),t.push('<div id="robot" class="smartnlp-robot '+(_isMobile?cssfix+"mobile "+cssfix+"box":"")+" "+("mini"===r.mod?cssfix+"mini":"")+'" style="'+("mini"===r.mod?"border-color:"+i.border:"")+";position:"+(_isMobile&&"mini"!==r.mod?"static":"fixed")+";z-index:"+r.zindex+";"+(r.showSideBtn||_isMobile?"":"right: -284px;")+'">'),_isMobile&&"mini"===r.mod)return t.push('<a href="'+r.newurl+'" target="_blank" class="'+cssfix+'mobile-title" style="background-color: '+i.header+';"><span class="'+cssfix+'icon"></span>咨询在线客服 &gt;</a>'),t.push("</div></div>"),t.join("");if(t.push('<div class="'+cssfix+'header" style="background-color: '+i.header+';" onselectstart="return false">'),t.push('<div class="'+cssfix+'logo">'),t.push('<img src="'+r.logo+'"/>'),t.push("<span>"+r.title+"</span></div>"),t.push('<div class="'+cssfix+'header-nav">'),t.push('<a href="javascript:void(0);" class="'+cssfix+"icon-max"+(r.ismax?" "+cssfix+"icon-nor":"")+'"><em class="'+cssfix+'icon"></em></a>'),t.push('<a href="javascript:void(0);" class="'+cssfix+'icon-clo"><em class="'+cssfix+'icon"></em></a>'),t.push("</div>"),t.push("</div>"),t.push('<div class="'+cssfix+'content">'),t.push('<ul class="'+cssfix+'slide" '+(r.showSideBtn?"":'style="visibility: hidden;"')+">"),t.push('<li class="'+cssfix+'slide-btn" style="background-color:'+i.border+';"><a href="javascript:void(0);"><span class="'+cssfix+'icon"></span>'+(r.kefuOnly?"在线客服":"机器人")+"</a></li>"),r.feedBtn.url&&t.push('<li class="'+cssfix+'slide-feed" style="background-color:'+r.feedBtn.color+';"><a href="'+r.feedBtn.url+'" target="_blank"><span class="'+cssfix+'icon"></span>反馈</a></li>'),t.push("</ul>"),t.push('<div class="'+cssfix+'fl-area" style="'+(r.showLeftPanel?"":"padding-right: 0;")+'">'),t.push('<div class="'+cssfix+'nano">'),t.push('<div class="'+cssfix+'chat"></div>'),t.push("</div>"),t.push('<div class="'+cssfix+"edit "+(_isMobile?cssfix+"box":"")+'">'),t.push('<div class="'+cssfix+'photo" '+(_isIE?'style="display: none;"':"")+">"),t.push('<input class="'+cssfix+'file" type="file" name="files[]" />  <a class="'+cssfix+'btn-pic" title="发送图片消息"></a></div>'),t.push('<div class="'+cssfix+'copy">'),t.push('<a class="'+cssfix+'art" href="javascript:void(0);" title="切换到…">人工客服</a></div>'),t.push('<div class="'+cssfix+"input "+(_isMobile?cssfix+"box-flex":"")+'">'),t.push('<textarea class="'+cssfix+'textarea" placeholder="'+r.placeholder+'" style="'+(_isIE?"color:#999;":"")+'">'+(_isIE?r.placeholder:"")+"</textarea>"),t.push("</div>"),t.push('<div class="'+cssfix+'sub" onselectstart="return false">'),r.showCopyright&&t.push('<a class="'+cssfix+'clink" href="http://smartnlp.cn" target="_blank">Powered by 奇智机器人</a>'),t.push('<a class="'+cssfix+'btn-send" style="background-color:'+i.button+'">发送</a>'),t.push("</div>"),t.push("</div>"),t.push("</div>"),r.showLeftPanel){t.push('<div class="'+cssfix+'fr-area">'),t.push('<div class="'+cssfix+'fr-nav">'),t.push('<a href="javascript:void(0);" data-index="0" class="'+cssfix+'on">常见问题</a>'),hideList||t.push('<a href="javascript:void(0);" data-index="1">功能列表</a>'),t.push("</div>"),t.push('<div class="'+cssfix+'fr-content">'),t.push('<div class="'+cssfix+'fr-panel"><ul>');for(var o=0,a=r.quicks,s=a.length;s>o;o++)t.push('<li><a href="javascript:void(0);">'+a[o]+"</a></li>");if(t.push("</ul>"),!hideList){t.push("<ol>");for(var o=0,a=r.tools,s=a.length;s>o;o++)t.push('<li><a href="'+a[o].href+'" target="new"><i style="background-image: url('+a[o].icon+');"></i>'+a[o].label+"</a></li>");t.push("</ol>")}t.push("</div>"),t.push("</div>"),t.push('<ul class="'+cssfix+'fr-footer">'),hideKefu||(t.push('<li class="'+cssfix+'call"><a href="javascript:void(0);">'),t.push('<i style="background-image:url('+r.callImg+');"></i>'),t.push("<span>人工客服</span>"),t.push("</a></li>")),null!==r.codeImg&&(t.push('<li class="'+cssfix+'code"><a href="javascript:void(0);">'),t.push('<i style="background-image:url('+r.codeImg+');"></i>'),t.push("<span>公众号</span>"),t.push("</a></li>")),t.push('<div class="'+cssfix+'big-code"><img src="'+r.codeImg+'"/></div>'),t.push("</ul>"),t.push("</div>")}return t.push("</div>"),t.push("</div>"),t.join("")},_getRndId=function(){function e(e){var t,n="0123456789abcdefghigklmnopqrstuvwxyzABCDEFGHIGKLMNOPQRSTUVWXYZ".split(""),r=n.length,i=e,o=[];do t=i%r,i=(i-t)/r,o.unshift(n[t]);while(i);return o.join("")}for(var t=Math.floor((new Date).getTime()/100-1e10).toString(36),n=Math.floor(1296*Math.random()).toString(36),r=n.length,i=0;2-r>i;)n="0"+n,i++;return e(parseInt(n.toString()+t,36))};win.__meteor_runtime_config__={meteorRelease:"METEOR@1.2.1",ROOT_URL_PATH_PREFIX:"/",ROOT_URL:kfServerHost};var _isMobile=!1,_isPad=!1,_isIphone=!1,_isIE=!1,_isLoadChatJs=-1,_isConnChat=-1,_userName=$.cookie(cookieKey),_inited=!1,_timediff=0;_userName&&""!==_userName||(_userName=_getRndId(),$.cookie(cookieKey,_userName,{path:"/",expires:"1000"})),_isIE=function(){var e=$.browser.version;return $.browser.msie&&("6.0"===e||"7.0"===e||"8.0"===e)}();var Robot=function(e){this.con=$.extend({mod:"normal",ismax:!1,kefuOnly:!1,minWidth:940,minHeight:576,title:"竭诚为您服务",quicks:[],tools:[],colors:{header:"",border:"",button:""},zindex:999,showLeftPanel:!0,showSideBtn:!0,showCopyright:!0,placeholder:"请简要描述您的问题，如“退换货运费怎么算”",url:"http://api.smartnlp.cn/cloud/-/",newurl:"#",appid:"",callImg:"http://img.alicdn.com/imgextra/i4/TB1tMo3JpXXXXbwXVXXwu0bFXXX.png",codeImg:null,welcome:"Hi，我是$name",kefuWelcome:"您好，客服 $name 为您服务!",nick:"小智",autoblur:!1,logo:"http://img.alicdn.com/imgextra/i3/TB1UhE3JpXXXXbaXpXXwu0bFXXX.png",feedBtn:{color:"#20a56e"},user:_userName},e),this.init()},_imgViews=function(){var e=$('<div class="'+cssfix+'img-views"><div class="'+cssfix+'img-views-inner"><img src="'+this.src+'"/></div></div>');$("body").append(e);var t=function(){var t=$(win).width(),n=$(win).height();$("."+cssfix+"img-views-inner",e).css({width:t,height:n}),$("img",e).css({"max-width":t,"max-height":n})};e.click(function(){$(win).off("resize",t),e.remove()}),$(win).on("resize",t),t()};Robot.prototype={con:{},switchKefu:function(){var e=this;if(e.waiting||0===_isLoadChatJs||0===_isConnChat)return!1;var t=e.con,n=e.wrap,r=(e.chat,$(this),function(t){return t!==!0?!1:(e.iskf=!0,e.scroll(),$("."+cssfix+"edit",n).addClass(cssfix+"kefu"),void $("."+cssfix+"art,."+cssfix+"call",n).hide())}),i=function(){if(-1===_isConnChat){_isConnChat=0;var n,i,o,a=Package.meteor.Meteor,s=Package["ddp-client"].DDP,l=null;a.disconnect(),n=function(n,o,c){var u,d,f,p=s.connect(n),h={robotId:o,name:c};p.call("getTime",function(n,o){_timediff=(new Date).getTime()-o.getTime(),p.call("assignKF",h,function(n,o){return u=o,e.hidewait(),u&&"NO_KF"!==u&&"NO_KF_ONLINE"!==u?(d=u.kfName,f=u.kfNickName,void s.loginWithPassword(p,{username:h.name},u.password,function(n){return n?null:(_isConnChat=1,r(!0),p.call("methodTheRequiresBeingLoggedIn",function(){e.log(f+" 为您服务");var n;p.call("createDirectMessage",d,function(r,o){n=o.rid;var s=new a.Collection("rocketchat_message",p);p.subscribe("messages",n,new Date),l={connection:p,message:s,rid:n,kfInfo:u},i(l,kefuStartWord),s.find({}).observe({added:function(n){var r=(new Date).getTime()-n.ts.getTime()-_timediff,i=0>r?"append":"prepend",o=n.msg,a={time:n.ts},s="";return-2e3>r||r>2e3?!1:(n.u.username===t.user?i="cSendEle":(i="cReplyEle",a.img='<img src="'+kfServerHost+"avatar/"+d+'.jpg"/>',a.nick=f),o===kefuStartWord&&(i="cReplyEle",o=t.kefuWelcome.replace("$name",f),a.img='<img src="'+kfServerHost+"avatar/"+d+'.jpg"/>',a.nick=f),n.attachments&&n.attachments.length>0&&(s=n.attachments[0].image_url,s=s.replace(/^\//i,kfServerHost),o='<img class="'+cssfix+'msg-img" src="'+s+'"/>',a.encode=!1),a.text=o,e.chat.append(e[i](a)),void e.scroll())}})})}),void 0)})):(_isConnChat=-1,e.log("没有客服在线"),e.welcomed||(e.log("连接到客服机器人"),e.welcome()),null)})}),setTimeout(function(){-1===_isConnChat&&e.iskf===!0&&(e.hidewait(),e.log("没有客服在线"))},kfTimeout)},i=function(e,t){return null!==e?void e.connection.call("sendMessage",{rid:e.rid,msg:t}):void 0},l=n(kfServerHost,t.appid,t.user),e.sendMsg=function(e){i(l,e)},o=function(e,t,n){return null!==e?void e.connection.call("sendImgMessage",{rid:e.rid,msg:t,img:n}):void 0},e.sendPic=function(e){o(l,"",e)},r(!1)}else 1===_isConnChat&&r(!1)};-1===_isLoadChatJs?(_isLoadChatJs=0,_loadJs(kfJsUrl,function(){_isLoadChatJs=1,i()},function(){e.log("无法连接人工客服")})):1===_isLoadChatJs&&i(),e.showwait("请求人工客服…")},iskf:!1,welcomed:!1,waiting:!1,showwait:function(e){var t=this;t.waiting=!0,t.log(e,!0)},hidewait:function(){var e=this;e.waiting=!1,$("."+cssfix+"wait",e.wrap).remove()},sendMsg:function(){},sendPic:function(){},upload:function($ele,settings){var _this=this,options=$.extend({fileType:imgUpdateType,uploadUrl:imgUpdateUrl,deleteUrl:imgUpdateUrl,width:"",height:100,imgSelector:".imgdiv",uploadData:{},deleteData:{},deleteFn:function(e,t){methods.deleteImage(e,t)},beforeSubmitFn:"beforeUpload",successFn:function(){},errorFn:"uploadError"},settings),methods={checkFile:function(e){var t=e.lastIndexOf("."),n=e.substring(t,e.length),r=n.toLowerCase();"string"!=typeof options.fileType&&(options.fileType="gif|jpg|jpeg|png|bmp");var i=new RegExp(".("+options.fileType+")$");return i.test(r)},createForm:function(){var e=document.createElement("form");return e.action=options.uploadUrl,e.method="post",e.enctype="multipart/form-data",e.style.display="none",document.body.appendChild(e),$(e)},createImage:function(){var e=$(document.createElement("img"));return e.attr({title:"双击图片可删除图片！"}),""!==options.width&&e.attr({width:options.width}),""!==options.height&&e.attr({height:options.height}),e},showImage:function(e,t){var n=methods.createImage();t.find(options.imgSelector).find("img").remove(),n.appendTo(t.find(options.imgSelector)),n.attr("src",e),this.bindDelete(t)},bindDelete:function(e){e.find(options.imgSelector).find("img").bind("dblclick",function(){options.deleteFn(e,!0)})},deleteImage:function(e,t){var n=e.find('[type="hidden"]');if(""!==n.val()){var r=$.extend(options.deleteData,{filePath:n.val(),t:Math.random()});$.post(options.deleteUrl,r,function(r){t&&alert(r.MessageContent),1==r.MessageType&&(n.val(""),e.find(options.imgSelector).find("img").remove())},"JSON")}},onload:function(e){var t=e.find('[type="hidden"]');if("undefined"!=typeof t&&""!==t.val()){var n=methods.createImage();e.find(options.imgSelector).find("img").length>0&&e.find(options.imgSelector).find("img").remove(),n.appendTo(e.find(options.imgSelector)),n.attr("src",t.val()),methods.bindDelete(e)}}};$ele.each(function(){var $this=$(this),$fileInput=$(this).parent().find('[type="file"]');methods.onload($this.parent()),$this.click(function(){return _this.waiting?!1:void $fileInput.trigger("click")}),$fileInput.change(function(){var fileBox=$fileInput.parent();if(""===$fileInput.val())return!1;if(!_isMobile&&!methods.checkFile($fileInput.val()))return alert("图片格式错误，只支持"+options.fileType.replace(/\|/,"，")+"格式。"),$fileInput.val(""),!1;try{if($fileInput.get(0).files[0].size>=1024*imgMaxSize)return alert("请上传小于 "+(imgMaxSize>1024?Math.floor(imgMaxSize/1024)+"M":imgMaxSize+"K")+" 的图片"),$fileInput.val(""),!1}catch(e){}_this.showwait("图片上传中…"),""!==$fileInput.val();var $form=methods.createForm();$fileInput.appendTo($form),$this.attr("disabled",!0);var data={};data.data=options.uploadData,data.type="POST",data.dataType="JSON",data.beforeSubmit=function(arr,$form,options){var beforeSubmitFn;try{beforeSubmitFn=eval(options.beforeSubmitFn)}catch(err){}if(beforeSubmitFn){var $result=beforeSubmitFn(arr,$form,options);if("boolean"==typeof $result)return $result}},data.error=function(){_this.hidewait(),_this.log("图片上传失败"),$this.attr("disabled",!1),$fileInput.val("")},data.success=function(e){var t=options.successFn;t(e),_this.hidewait(),$this.attr("disabled",!1),$fileInput.val("")},$form.ajaxSubmit(data)})})},init:function(){{var e=this,t=e.con,n=e.wrap=$(_generateHtml(e));e.chat=$("."+cssfix+"chat",n)}e.input=$("textarea",n),e.view=$("."+cssfix+"nano",n);var r=($("."+cssfix+"edit",n),$("."+cssfix+"big-code",n));$("."+cssfix+"fr-nav a",n).on("click",$.proxy(e.tab,e)),$("."+cssfix+"icon-max,."+cssfix+"slide-btn",n).on("click",$.proxy(e.zoom,e)),$("."+cssfix+"btn-send",n).on("click",$.proxy(e.submit,e)),$("."+cssfix+"fr-panel ul a",n).on("click",function(){e.send($(this).text())}),$("."+cssfix+"code a",n).on("click",function(){r.show().stop().animate({width:220,height:220})}),$("."+cssfix+"icon-clo",n).on("click",$.proxy(e.remod,e)),$("."+cssfix+"art,."+cssfix+"call",n).on("click",$.proxy(e.switchKefu,e)),r.click(function(){r.stop().animate({width:80,height:80},function(){r.hide()})}),n.on("load","."+cssfix+"msg-img",$.proxy(e.scroll,e)),e.input.on("keyup",function(t){t=t||win.event;var n=t.keyCode||t.which||t.charCode;return"13"==n?e.submit():void 0}).on("input",function(){if(_isMobile){var e=this,t=$(e);e.scrollTop>0&&t.outerHeight(e.scrollTop+e.scrollHeight)}}).on("blur",function(){_isIE&&(this.value===t.placeholder||""===this.value)&&(this.value=t.placeholder,this.style.color="#999"),_isPad&&n.css({top:0,bottom:"inherit"})}).on("focus",function(){_isIE?(this.value===t.placeholder&&(this.value=""),this.style.color="inherit"):_isPad&&(n.css({top:"inherit",bottom:0}),$("body").scrollTop(1e4))}),_addEvent(e.view.get(0),"mousewheel",function(e){var t=this;t.scrollTop+=e.delta<0?60:-60,e.preventDefault&&e.preventDefault()}),_addEvent(n.get(0),"mousewheel",function(e){e.preventDefault&&e.preventDefault()}),_isMobile&&"mini"!==t.mod&&$("body").css({overflow:"auto",height:"auto","background-color":"#fafafa"}).html(""),$("body").append(n),e.upload($("."+cssfix+"btn-pic"),{uploadData:{id:"12233"},successFn:function(t){e.sendPic(t.url)},deleteData:{id:function(){return"asdfasdf"}}}),t.kefuOnly||e.welcome(),e.resize(),e.move("."+cssfix+"header"),$(win).resize($.proxy(e.resize,this))},welcome:function(){var e=this,t=e.con;return e.welcomed?!1:(e.welcomed=!0,e.chat.append(e.cReplyEle({text:t.welcome.replace("$name",t.nick)})),void e.scroll())},tab:function(e){var t=this,n=$(e.target),r=n.data("index");return n.hasClass(cssfix+"on")?!1:(n.addClass(cssfix+"on").siblings("a").removeClass(cssfix+"on"),void $("."+cssfix+"fr-content",t.wrap).stop().animate({marginLeft:0-300*parseInt(r)}))},log:function(e,t){var n=this;n.chat.append('<div class="'+cssfix+"chat-t "+(t?cssfix+"wait":"")+'"><span>'+e+"</span></div>"),n.scroll()},submit:function(){var e=this,t=e.input,n=_trim.call(t.val());""!==n&&n!==e.con.placeholder&&(e.iskf?e.sendMsg(n):e.send(n),t.val(""),_isMobile?t.outerHeight(32).trigger("focus"):e.con.autoblur&&t.trigger("blur"))},remod:function(e){var t=this,n=t.con,r=($(e.target),t.wrap);return _inited||(n.kefuOnly&&t.switchKefu(),_inited=!0),"mini"===n.mod?(n.mod="normal",t.ecss||(t.ecss={left:0,top:0,width:"100%"}),r.css(t.ecss).removeClass(cssfix+"mini")):(n.mod="mini",t.ecss={left:r.css("left"),width:r.css("width"),top:r.css("top")},r.addClass(cssfix+"mini").css({left:"inherit",width:280,top:0,right:0})),t.resize()},zoom:function(e){var t=this,n=t.con,r=$(e.target);_inited||(n.kefuOnly&&t.switchKefu(),_inited=!0),n.ismax=!n.ismax,"mini"===n.mod?t.wrap.animate({right:n.ismax?0:n.showSideBtn?-280:-284}):r.toggleClass(cssfix+"icon-nor"),t.resize()},scroll:function(){var e=this;if(_isMobile){if("mini"===e.con.mod)return!1;$("body").scrollTop(1e5)}else e.view.scrollTop(e.chat.height()-e.view.height()+20)},send:function(e){var t=this;if(t.waiting)return!1;if(e&&"string"==typeof e){if(""===e)return!1;var n=t.con,r=t.cSendEle({text:e}),i=t.cReplyEle({text:'<img src="http://img.alicdn.com/imgextra/i3/TB1tAEJJpXXXXXraXXXtKXbFXXX.gif"/>'});t.chat.append(r),t.chat.append(i),t.scroll(),_jsonp({url:apiUrl+n.appid+"/answer",data:{q:encodeURIComponent(e)},success:function(e){if(e.answer.indexOf("#转人工#")>=0)return i.remove(),t.switchKefu();e.answer.length>150&&$("."+cssfix+"msg",i).css("min-width","75%");var r;if(e.suggestion&&e.suggestion.length>0){r=e.answer+'<div class="'+cssfix+'msg-sug">',r+="我猜您可能关心以下问题，点击或回复序列号即可：<br/>";for(var o=0,a=e.suggestion,s=a.length;s>o;o++)r+='<div class="'+cssfix+'sug-item" rel="'+a[o]+'">&nbsp;'+a[o]+"</div>";r+="</div>"}else r=e.answer?e.answer:"&nbsp;";$("."+cssfix+"msg-mm ."+cssfix+"htmcont",i).html(r).on("click","."+cssfix+"sug-item",function(){t.send($(this).attr("rel").replace(/^[\d]+\./,""))}),$("."+cssfix+"chat-headimg span",i).text(n.nick+" "+_dateFormat.call(new Date,"hh:mm:ss")),t.scroll()},error:function(){$("."+cssfix+"msg-mm ."+cssfix+"htmcont",i).html("会话丢失")}})}},resize:function(){var e=$(win),t=this,n=t.con,r=e.width(),i=e.height(),o=n.minWidth,a=n.minHeight,s=n.ismax,l=s?i>a?i:a:i>a?a:i,c=s&&r>o?r:o;_isMobile?"mini"===n.mod&&t.wrap.css({height:"44px"}):"mini"===n.mod?(t.wrap.height(i),t.view.height(i-182)):(t.view.height(l-162),t.wrap.css({height:l,width:c,top:s?0:i>a?parseInt((i-a)/2):0,left:s?0:r>o?parseInt((r-o)/2):0}),$("."+cssfix+"fr-content",t.wrap).height(l-240),$("."+cssfix+"fr-area",t.wrap).height(l-46),$("body").css("overflow",s?"hidden":"auto")),$("."+cssfix+"icon-max",t.wrap)[(n.ismax?"add":"remove")+"Class"](cssfix+"icon-nor"),t.scroll()},move:function(e){var t,n,r,i,o,a,s=top.document,l=s.body,c=$(s),u=this,d=u.con,f=u.wrap,p=$(e,f),h=function(e){return e.pageX||e.pageY?{x:e.pageX,y:e.pageY}:{x:e.clientX+l.scrollLeft-l.clientLeft,y:e.clientY+l.scrollTop-l.clientTop}},m=function(e){e=e||event;var s=h(e),c=l.clientWidth,u=l.clientHeight;u=0===u?win.innerHeight:u;var d=r+s.x-t,p=i+s.y-n;p=p>u-a?u-a:p,p=0>p?0:p,d=d>c-o?c-o:d,d=0>d?0:d,f.css({left:d,top:p}),e.preventDefault&&e.preventDefault()};c.on("mouseup",function(){c.off("mousemove",m),f.css("opacity",1),p.css("cursor","default")}),p.on("mousedown",function(e){if("normal"===d.mod&&!d.ismax){e=e||event;var s=h(e);t=s.x,n=s.y,r=parseInt(f.css("left")),i=parseInt(f.css("top")),c.on("mousemove",m),f.css("opacity",.9),o=f.width(),a=f.height(),p.css("cursor","move")}e.preventDefault&&e.preventDefault()})},cSendEle:function(e){var t=this,n=(t.con,$.extend({text:"&nbsp;",time:new Date,nick:"我",encode:!0,img:""},e));n.text=n.encode?_htmlEncode(n.text):n.text;var r=$('<div class="'+cssfix+'chat-ask"><div class="'+cssfix+'chat-headimg"></div><div class="'+cssfix+'chat-name">'+n.nick+" "+_dateFormat.call(n.time,"hh:mm:ss")+'</div><table class="'+cssfix+'msg" cellspacing="0" cellpadding="0"><tbody><tr><td class="'+cssfix+'msg-lt bg-msg-lr"></td><td class="'+cssfix+'msg-tt bg-msg-tb"></td><td class="'+cssfix+'msg-rt bg-msg-lr"></td></tr><tr><td class="'+cssfix+'msg-lm bg-msg-lr"></td><td class="'+cssfix+'msg-mm">'+n.text+'</td><td class="'+cssfix+'msg-rm bg-msg-lr"><span class="bg-msg-lr"></span></td></tr><tr><td class="'+cssfix+'msg-lb bg-msg-lr"></td><td class="'+cssfix+'msg-bm bg-msg-tb"></td><td class="'+cssfix+'msg-rb bg-msg-lr"></td></tr></tbody></table></div>');return r.find(".smartnlp-robot-msg-img").each(function(){this.onload=function(){t.scroll()},$(this).click(_imgViews)}),r},cReplyEle:function(e){var t=this,n=t.con,r=$.extend({text:"&nbsp;",time:new Date,nick:n.nick,img:n.headImg?'<img src="'+n.headImg+'"/>':""},e),i=$('<div class="'+cssfix+'chat-replay"><div class="'+cssfix+'chat-headimg" >'+r.img+'</div><div class="'+cssfix+'chat-name">'+r.nick+" "+_dateFormat.call(r.time,"hh:mm:ss")+'</div><table class="'+cssfix+'msg" cellspacing="0" cellpadding="0"><tbody><tr><td class="bg-msg-lr '+cssfix+'msg-lt"></td><td class="bg-msg-tb '+cssfix+'msg-tt"></td><td class="bg-msg-lr '+cssfix+'msg-rt"></td></tr><tr><td class="bg-msg-lr '+cssfix+'msg-lm"><span class="bg-msg-lr"></span></td><td class="'+cssfix+'msg-mm"><div class="'+cssfix+'htmcont">'+r.text+'</div></td><td class="bg-msg-lr '+cssfix+'msg-rm"></td></tr><tr><td class="bg-msg-lr '+cssfix+'msg-lb"></td><td class="bg-msg-tb '+cssfix+'msg-bm"></td><td class="bg-msg-lr '+cssfix+'msg-rb"></td></tr><tr><td></td></tr></tbody></table></div>');return i.find("img").each(function(){this.onload=function(){t.scroll()},$(this).click(_imgViews)}),i}},function(){var e=document.createElement("link"),t=document.getElementsByTagName("head")[0],n=!1;e.type="text/css",e.rel="stylesheet",e.href=cssUrl;var r=function(){var e=new Robot(options),t=e.con;n=!0,win._smartnlpRobotShow=function(n){return"mini"===t.mod&&"normal"===n?void e.wrap.find("."+cssfix+"icon-clo").trigger("click"):void("mini"!==t.mod||"normal"===n||t.ismax||e.wrap.find("."+cssfix+"slide-btn").trigger("click"))},win._smartnlpRobotHide=function(){"mini"!==t.mod&&e.wrap.find("."+cssfix+"icon-clo").trigger("click"),t.ismax&&e.wrap.find("."+cssfix+"slide-btn").trigger("click")}};e.onreadystatechange=function(){var t=e.readyState;n||"loaded"!==t&&"complete"!==t&&"interactive"!==t||r()},e.onload=function(){!n&&r()},setTimeout(function(){!n&&r()},1e3),t.appendChild(e)}()}(window,{mod:window.location.href.indexOf("mobile")>0?"normal":"mini",appid:"55d28d61d3a93df500131c24",kefuOnly:!1,minWidth:800,colors:{header:"#2d8ef2",border:"#2d8ef2",button:"#2d8ef2"},quicks:["我买的商品售后政策是怎样","订单提交成功后商品降价了，可以退给我差价吗？","订单提交成功后，还能修改吗？","怎么取消订单","货到哪里了，怎么不更新物流啊","我退货了运费怎么算","取消订单怎么退款","退款到哪儿","拒收有什么后果"],tools:[{label:"天气预报",icon:"http://img.alicdn.com/imgextra/i3/TB16M.kJpXXXXXAXVXXwu0bFXXX.png",href:"#"},{label:"听首歌",icon:"http://img.alicdn.com/imgextra/i3/TB17xcEJpXXXXXfXXXXwu0bFXXX.png",href:"#"},{label:"指南针",icon:"http://img.alicdn.com/imgextra/i1/TB10VUAJpXXXXczXXXXwu0bFXXX.png",href:"#"},{label:"常用帮助",icon:"http://img.alicdn.com/imgextra/i2/TB1FX7tJpXXXXccXpXXwu0bFXXX.png",href:"#"}],showLeftPanel:!0,showSideBtn:!0,showCopyright:!0,placeholder:"文本框提示文本",callImg:"http://img.alicdn.com/imgextra/i4/TB1tMo3JpXXXXbwXVXXwu0bFXXX.png",codeImg:"http://img.alicdn.com/imgextra/i1/TB197MVJpXXXXXuXVXXSutbFXXX.jpg",codeBigImg:"http://img.alicdn.com/imgextra/i1/TB197MVJpXXXXXuXVXXSutbFXXX.jpg",welcome:"Hi，我是$name",kefuWelcome:"多一些润滑，少一些摩擦： 统一润滑油<br/>您好，$name 为您服务!",nick:"哆啦A梦",newurl:"?mobile",logo:"https://cloud.smartnlp.cn/cloud/res/win-logo/55d28d61d3a93df500131c24.png",feedBtn:{url:"#",color:"#20a56e"}});
  