function ToShowLayer(){"True"==showLayer&&""==Sessionclosed&&($("html,body").scrollTop(0),googleLayer())}function ajaxTooltip(){$(".tooltip").on({mouseenter:function(){for(var n=$(this).find(".tooltip-content"),i=$(this).attr("class").split(" "),t=0;t<i.length;t++){switch(i[t]){case"left":n.css({"margin-left":-($(n).width()+15)+"px","margin-top":-$(this).height()+"px"});break;case"right":n.css({"margin-left":$(this).width()+5+"px","margin-top":-$(this).height()+"px"});break;case"top":n.css("margin-top",-($(this).height()+$(n).height()+5)+"px");break;case"bottom":n.css({"margin-left":-($(this).width()+2*$(this).width())+"px","margin-top":$(this).height()-10+"px"})}$(this).find(".tooltip-content").css("display","block")}},mouseleave:function(){$(".tooltip-content").hide()}})}function SogoSurvey(){localStorage.survey||(localStorage.survey=1);$("#myIFrame")[0].contentWindow.location.replace("//www.sogosurvey.com/survey.aspx?k=VsUXWYQsSsSUPsPsP&lang=0&data=&isEmbedMobile=0");$(document).bind("mouseleave",function(n){n.pageY-$(window).scrollTop()<=1&&n.pageX>172&&"hidden"==$(".black-layer").css("visibility")&&0==$(".modal-backdrop").is(":visible")&&0==$("#modal-bck").is(":visible")&&0==$(".otp-black-layer").is(":visible")&&0==$(".lg-backdrop").is(":visible")&&1==localStorage.survey&&($(".surveylayer").animate({top:"15%"},600),$(".black-layer").css("visibility","visible"),$(".black-layer").unbind("click"),$(".surveylayer").addClass("cat-visible"),localStorage.survey=0)})}function cclink(n){var t,r,u;if($(".newacclink").hide(),$(n).closest(".login").siblings(".signup").css({left:"0",display:"table-cell",width:"550px"}),t=$(n).closest(".login").siblings(".signup").innerHeight(),r=$(n).closest(".login").innerHeight(),t>r?$(n).closest(".login").css("height",t):$(".login").hide(),$(".corp-acc").hide(),$("#txtCaptcha").val(""),"undefined"!=typeof otp_ext){let t=window.intlTelInputGlobals.getCountryData(),f=window.intlTelInputGlobals.getCountryData().length,n="in";if("91"==otp_ext)n="in";else for(i=0;i<f;i++)t[i].dialCode==otp_ext&&(n=t[i].iso2);let r=document.querySelector("#txtotpmob");u=window.intlTelInput(r,{dropdownContainer:document.extinput,initialCountry:n,separateDialCode:!0,preferredCountries:["in","us","gb","pk","ae"],utilsScript:"/APP_THEMES/VENDORS_NEW/intelPicker/js/utils.js"});r.addEventListener("countrychange",function(){otp_ext=u.selectedCountryData.dialCode})}}function layerclose(){$(".signup").hide().css("height","auto");$(".signup-container").css("width","auto");$(".signup ,.login").removeClass("col-6");$(".black-layer").css("visibility","hidden");$(".login").hide().css("height","auto");$("body").css("overflow-y","auto");$("#modal-bck").hide();$(".newacclink").show();window.parent.$(".to-top").css("display","block");window.parent.$("#mainBody").css("overflow","visible")}function topScroll(){0!=$(document).scrollTop&&$("html, body").animate({scrollTop:0},200)}function createCookie(n,t,i){var r,u;i?(r=new Date,r.setTime(r.getTime()+6e4*i),u="; expires="+r.toGMTString()):u="";document.cookie=n+"="+t+u+"; path=/"}function eraseCookie(n){createCookie(n,"",-1)}function setCookie(n,t){var i=new Date,r;i.setTime(i.getTime()+31536e6);r="expires="+i.toUTCString();document.cookie=n+"="+t+"; "+r+"; path=/"}function CookieRecentVistedProducts(){var n,t,i;try{if(null==CatId)return}catch(n){}try{if(null!=CatId&&"undefined"!=CatId&&null!=CatId&&""!=CatId){if(n=readCookies("CookieRecentVistedProducts"),t=[],t.push(CatId.toString()),"undefined"!==n&&null!=n)for(var r=n.split(","),f=1,u=0;u<=r.length-1;u++)if(i=r[u].toString().trim(),i.length>0&&i!=CatId.toString()&&(t.push(i.toString()),21==++f))break;createCookie("CookieRecentVistedProducts",(r=t).join(","),525600)}}catch(n){}}function readCookies(n){for(var t,r=n+"=",u=document.cookie.split(";"),i=0;i<u.length;i++){for(t=u[i];" "==t.charAt(0);)t=t.substring(1,t.length);if(0==t.indexOf(r))return t.substring(r.length,t.length)}return null}function Eventtracking(n,t,i,r,u,f){$.post(trackServerLink+"web/webservice3.asmx/EventTracking",{Events:n,EventUsedFor:t,Label:i,Value:r,UserId:u,IpAddress:f},function(){})}function initMap(n,t){var i={lat:n,lng:t},r=new google.maps.Map(document.getElementById("map"),{zoom:16,center:i});new google.maps.Marker({position:i,map:r});openModal("#ModalMap")}!function(n,t){function pt(n,r,u){if(u===t&&1===n.nodeType){var f="data-"+r.replace(yt,"-$1").toLowerCase();if("string"==typeof(u=n.getAttribute(f))){try{u="true"===u||"false"!==u&&("null"===u?null:i.isNumeric(u)?parseFloat(u):vt.test(u)?i.parseJSON(u):u)}catch(n){}i.data(n,r,u)}else u=t}return u}function rt(n){for(var t in n)if(("data"!==t||!i.isEmptyObject(n[t]))&&"toJSON"!==t)return!1;return!0}function wt(n,t,r){var u=t+"defer",f=t+"queue",e=t+"mark",o=i._data(n,u);!o||"queue"!==r&&i._data(n,f)||"mark"!==r&&i._data(n,e)||setTimeout(function(){i._data(n,f)||i._data(n,e)||(i.removeData(n,u,!0),o.fire())},0)}function s(){return!1}function b(){return!0}function fi(n){return!n||!n.parentNode||11===n.parentNode.nodeType}function ei(n,t,r){if(t=t||0,i.isFunction(t))return i.grep(n,function(n,i){return!!t.call(n,i,n)===r});if(t.nodeType)return i.grep(n,function(n){return n===t===r});if("string"==typeof t){var u=i.grep(n,function(n){return 1===n.nodeType});if(cu.test(t))return i.filter(t,u,!r);t=i.filter(t,u)}return i.grep(n,function(n){return i.inArray(n,t)>=0===r})}function oi(n){var i=si.split("|"),t=n.createDocumentFragment();if(t.createElement)for(;i.length;)t.createElement(i.pop());return t}function yi(n,t){if(1===t.nodeType&&i.hasData(n)){var r,u,o,s=i._data(n),e=i._data(t,s),f=s.events;if(f)for(r in delete e.handle,e.events={},f)for(u=0,o=f[r].length;u<o;u++)i.event.add(t,r+(f[r][u].namespace?".":"")+f[r][u].namespace,f[r][u],f[r][u].data);e.data&&(e.data=i.extend({},e.data))}}function pi(n,t){var r;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(n),"object"===(r=t.nodeName.toLowerCase())?t.outerHTML=n.outerHTML:"input"!==r||"checkbox"!==n.type&&"radio"!==n.type?"option"===r?t.selected=n.defaultSelected:"input"!==r&&"textarea"!==r||(t.defaultValue=n.defaultValue):(n.checked&&(t.defaultChecked=t.checked=n.checked),t.value!==n.value&&(t.value=n.value)),t.removeAttribute(i.expando))}function k(n){return void 0!==n.getElementsByTagName?n.getElementsByTagName("*"):void 0!==n.querySelectorAll?n.querySelectorAll("*"):[]}function wi(n){"checkbox"!==n.type&&"radio"!==n.type||(n.defaultChecked=n.checked)}function bi(n){var t=(n.nodeName||"").toLowerCase();"input"===t?wi(n):"script"!==t&&void 0!==n.getElementsByTagName&&i.grep(n.getElementsByTagName("input"),wi)}function gu(n,t){t.src?i.ajax({url:t.src,async:!1,dataType:"script"}):i.globalEval((t.text||t.textContent||t.innerHTML||"").replace(du,"/*$0*/"));t.parentNode&&t.parentNode.removeChild(t)}function nr(n,t,r){var u="width"===t?n.offsetWidth:n.offsetHeight,e="width"===t?ef:of,f=0,o=e.length;if(u>0){if("border"!==r)for(;f<o;f++)r||(u-=parseFloat(i.css(n,"padding"+e[f]))||0),"margin"===r?u+=parseFloat(i.css(n,r+e[f]))||0:u-=parseFloat(i.css(n,"border"+e[f]+"Width"))||0;return u+"px"}if(((u=h(n,t,t))<0||null==u)&&(u=n.style[t]||0),u=parseFloat(u)||0,r)for(;f<o;f++)u+=parseFloat(i.css(n,"padding"+e[f]))||0,"padding"!==r&&(u+=parseFloat(i.css(n,"border"+e[f]+"Width"))||0),"margin"===r&&(u+=parseFloat(i.css(n,r+e[f]))||0);return u+"px"}function sr(n){return function(t,r){if("string"!=typeof t&&(r=t,t="*"),i.isFunction(r))for(var u,e,o=t.toLowerCase().split(rr),f=0,s=o.length;f<s;f++)u=o[f],(e=/^\+/.test(u))&&(u=u.substr(1)||"*"),(n[u]=n[u]||[])[e?"unshift":"push"](r)}}function d(n,i,r,u,f,e){(e=e||{})[f=f||i.dataTypes[0]]=!0;for(var o,s=n[f],h=0,l=s?s.length:0,c=n===ot;h<l&&(c||!o);h++)"string"==typeof(o=s[h](i,r,u))&&(!c||e[o]?o=t:(i.dataTypes.unshift(o),o=d(n,i,r,u,o,e)));return!c&&o||e["*"]||(o=d(n,i,r,u,"*",e)),o}function hr(n,r){var u,f,e=i.ajaxSettings.flatOptions||{};for(u in r)r[u]!==t&&((e[u]?n:f||(f={}))[u]=r[u]);f&&i.extend(!0,n,f)}function st(n,t,r,u){if(i.isArray(t))i.each(t,function(t,f){r||hf.test(n)?u(n,f):st(n+"["+("object"==typeof f||i.isArray(f)?t:"")+"]",f,r,u)});else if(r||null==t||"object"!=typeof t)u(n,t);else for(var f in t)st(n+"["+f+"]",t[f],r,u)}function ar(){try{return new n.XMLHttpRequest}catch(n){}}function yr(){return setTimeout(gf,0),it=i.now()}function gf(){it=t}function a(n,t){var r={};return i.each(vr.concat.apply([],vr.slice(0,t)),function(){r[this]=n}),r}function pr(n){if(!ht[n]){var f=r.body,t=i("<"+n+">").appendTo(f),u=t.css("display");t.remove();"none"!==u&&""!==u||(e||((e=r.createElement("iframe")).frameBorder=e.width=e.height=0),f.appendChild(e),y&&e.createElement||((y=(e.contentWindow||e.contentDocument).document).write(("CSS1Compat"===r.compatMode?"<!doctype html>":"")+"<html><body>"),y.close()),t=y.createElement(n),y.body.appendChild(t),u=i.css(t,"display"),f.removeChild(e));ht[n]=u}return ht[n]}function lt(n){return i.isWindow(n)?n:9===n.nodeType&&(n.defaultView||n.parentWindow)}var r=n.document,br=n.navigator,kr=n.location,i=function(){function b(){if(!i.isReady){try{r.documentElement.doScroll("left")}catch(n){return void setTimeout(b,1)}i.ready()}}var c,o,e,u,i=function(n,t){return new i.fn.init(n,t,c)},k=n.jQuery,d=n.$,g=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,l=/\S/,a=/^\s+/,v=/\s+$/,nt=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,tt=/^[\],:{}\s]*$/,it=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rt=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ut=/(?:^|:|,)(?:\s*\[)+/g,ft=/(webkit)[ \/]([\w.]+)/,et=/(opera)(?:.*version)?[ \/]([\w.]+)/,ot=/(msie) ([\w.]+)/,st=/(mozilla)(?:.*? rv:([\w.]+))?/,ht=/-([a-z]|[0-9])/gi,ct=/^-ms-/,lt=function(n,t){return(t+"").toUpperCase()},at=br.userAgent,vt=Object.prototype.toString,s=Object.prototype.hasOwnProperty,h=Array.prototype.push,f=Array.prototype.slice,y=String.prototype.trim,p=Array.prototype.indexOf,w={};return i.fn=i.prototype={constructor:i,init:function(n,u,f){var e,s,o,h;if(!n)return this;if(n.nodeType)return this.context=this[0]=n,this.length=1,this;if("body"===n&&!u&&r.body)return this.context=r,this[0]=r.body,this.selector=n,this.length=1,this;if("string"==typeof n){if(!(e="<"===n.charAt(0)&&">"===n.charAt(n.length-1)&&n.length>=3?[null,n,null]:g.exec(n))||!e[1]&&u)return!u||u.jquery?(u||f).find(n):this.constructor(u).find(n);if(e[1])return h=(u=u instanceof i?u[0]:u)?u.ownerDocument||u:r,(o=nt.exec(n))?i.isPlainObject(u)?(n=[r.createElement(o[1])],i.fn.attr.call(n,u,!0)):n=[h.createElement(o[1])]:n=((o=i.buildFragment([e[1]],[h])).cacheable?i.clone(o.fragment):o.fragment).childNodes,i.merge(this,n);if((s=r.getElementById(e[2]))&&s.parentNode){if(s.id!==e[2])return f.find(n);this.length=1;this[0]=s}return this.context=r,this.selector=n,this}return i.isFunction(n)?f.ready(n):(n.selector!==t&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return f.call(this,0)},get:function(n){return null==n?this.toArray():n<0?this[this.length+n]:this[n]},pushStack:function(n,t,r){var u=this.constructor();return i.isArray(n)?h.apply(u,n):i.merge(u,n),u.prevObject=this,u.context=this.context,"find"===t?u.selector=this.selector+(this.selector?" ":"")+r:t&&(u.selector=this.selector+"."+t+"("+r+")"),u},each:function(n,t){return i.each(this,n,t)},ready:function(n){return i.bindReady(),e.add(n),this},eq:function(n){return-1==(n=+n)?this.slice(n):this.slice(n,n+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(f.apply(this,arguments),"slice",f.call(arguments).join(","))},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},i.fn.init.prototype=i.fn,i.extend=i.fn.extend=function(){var o,e,r,u,s,h,n=arguments[0]||{},f=1,l=arguments.length,c=!1;for("boolean"==typeof n&&(c=n,n=arguments[1]||{},f=2),"object"==typeof n||i.isFunction(n)||(n={}),l===f&&(n=this,--f);f<l;f++)if(null!=(o=arguments[f]))for(e in o)r=n[e],n!==(u=o[e])&&(c&&u&&(i.isPlainObject(u)||(s=i.isArray(u)))?(s?(s=!1,h=r&&i.isArray(r)?r:[]):h=r&&i.isPlainObject(r)?r:{},n[e]=i.extend(c,h,u)):u!==t&&(n[e]=u));return n},i.extend({noConflict:function(t){return n.$===i&&(n.$=d),t&&n.jQuery===i&&(n.jQuery=k),i},isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){if(!0===n&&!--i.readyWait||!0!==n&&!i.isReady){if(!r.body)return setTimeout(i.ready,1);if(i.isReady=!0,!0!==n&&--i.readyWait>0)return;e.fireWith(r,[i]);i.fn.trigger&&i(r).trigger("ready").off("ready")}},bindReady:function(){if(!e){if(e=i.Callbacks("once memory"),"complete"===r.readyState)return setTimeout(i.ready,1);if(r.addEventListener)r.addEventListener("DOMContentLoaded",u,!1),n.addEventListener("load",i.ready,!1);else if(r.attachEvent){r.attachEvent("onreadystatechange",u);n.attachEvent("onload",i.ready);var t=!1;try{t=null==n.frameElement}catch(n){}r.documentElement.doScroll&&t&&b()}}},isFunction:function(n){return"function"===i.type(n)},isArray:Array.isArray||function(n){return"array"===i.type(n)},isWindow:function(n){return n&&"object"==typeof n&&"setInterval"in n},isNumeric:function(n){return!isNaN(parseFloat(n))&&isFinite(n)},type:function(n){return null==n?String(n):w[vt.call(n)]||"object"},isPlainObject:function(n){if(!n||"object"!==i.type(n)||n.nodeType||i.isWindow(n))return!1;try{if(n.constructor&&!s.call(n,"constructor")&&!s.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in n);return r===t||s.call(n,r)},isEmptyObject:function(n){for(var t in n)return!1;return!0},error:function(n){throw new Error(n);},parseJSON:function(t){return"string"==typeof t&&t?(t=i.trim(t),n.JSON&&n.JSON.parse?n.JSON.parse(t):tt.test(t.replace(it,"@").replace(rt,"]").replace(ut,""))?new Function("return "+t)():void i.error("Invalid JSON: "+t)):null},parseXML:function(r){var u;try{n.DOMParser?u=(new DOMParser).parseFromString(r,"text/xml"):((u=new ActiveXObject("Microsoft.XMLDOM")).async="false",u.loadXML(r))}catch(n){u=t}return u&&u.documentElement&&!u.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+r),u},noop:function(){},globalEval:function(t){t&&l.test(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(n){return n.replace(ct,"ms-").replace(ht,lt)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toUpperCase()===t.toUpperCase()},each:function(n,r,u){var f,e=0,o=n.length,s=o===t||i.isFunction(n);if(u)if(s){for(f in n)if(!1===r.apply(n[f],u))break}else for(;e<o&&!1!==r.apply(n[e++],u););else if(s){for(f in n)if(!1===r.call(n[f],f,n[f]))break}else for(;e<o&&!1!==r.call(n[e],e,n[e++]););return n},trim:y?function(n){return null==n?"":y.call(n)}:function(n){return null==n?"":n.toString().replace(a,"").replace(v,"")},makeArray:function(n,t){var u=t||[],r;return null!=n&&(r=i.type(n),null==n.length||"string"===r||"function"===r||"regexp"===r||i.isWindow(n)?h.call(u,n):i.merge(u,n)),u},inArray:function(n,t,i){var r;if(t){if(p)return p.call(t,n,i);for(r=t.length,i=i?i<0?Math.max(0,r+i):i:0;i<r;i++)if(i in t&&t[i]===n)return i}return-1},merge:function(n,i){var u=n.length,r=0,f;if("number"==typeof i.length)for(f=i.length;r<f;r++)n[u++]=i[r];else for(;i[r]!==t;)n[u++]=i[r++];return n.length=u,n},grep:function(n,t,i){var u=[],r,f;for(i=!!i,r=0,f=n.length;r<f;r++)i!==!!t(n[r],r)&&u.push(n[r]);return u},map:function(n,r,u){var o,h,f=[],s=0,e=n.length;if(n instanceof i||e!==t&&"number"==typeof e&&(e>0&&n[0]&&n[e-1]||0===e||i.isArray(n)))for(;s<e;s++)null!=(o=r(n[s],s,u))&&(f[f.length]=o);else for(h in n)null!=(o=r(n[h],h,u))&&(f[f.length]=o);return f.concat.apply([],f)},guid:1,proxy:function(n,r){var e,o,u;return("string"==typeof r&&(e=n[r],r=n,n=e),!i.isFunction(n))?t:(o=f.call(arguments,2),u=function(){return n.apply(r,o.concat(f.call(arguments)))},u.guid=n.guid=n.guid||u.guid||i.guid++,u)},access:function(n,r,u,f,e,o){var c=n.length,h,s;if("object"==typeof r){for(h in r)i.access(n,h,r[h],f,e,u);return n}if(u!==t){for(f=!o&&f&&i.isFunction(u),s=0;s<c;s++)e(n[s],r,f?u.call(n[s],s,e(n[s],r)):u,o);return n}return c?e(n[0],r):t},now:function(){return(new Date).getTime()},uaMatch:function(n){n=n.toLowerCase();var t=ft.exec(n)||et.exec(n)||ot.exec(n)||n.indexOf("compatible")<0&&st.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}},sub:function(){function n(t,i){return new n.fn.init(t,i)}i.extend(!0,n,this);n.superclass=this;n.fn=n.prototype=this();n.fn.constructor=n;n.sub=this.sub;n.fn.init=function(r,u){return u&&u instanceof i&&!(u instanceof n)&&(u=n(u)),i.fn.init.call(this,r,u,t)};n.fn.init.prototype=n.fn;var t=n(r);return n},browser:{}}),i.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(n,t){w["[object "+t+"]"]=t.toLowerCase()}),(o=i.uaMatch(at)).browser&&(i.browser[o.browser]=!0,i.browser.version=o.version),i.browser.webkit&&(i.browser.safari=!0),l.test(" ")&&(a=/^[\s\xA0]+/,v=/[\s\xA0]+$/),c=i(r),r.addEventListener?u=function(){r.removeEventListener("DOMContentLoaded",u,!1);i.ready()}:r.attachEvent&&(u=function(){"complete"===r.readyState&&(r.detachEvent("onreadystatechange",u),i.ready())}),i}(),at={},p,vt,yt,cr,v,l,g,nt,lr,wr,ct;i.Callbacks=function(n){n=n?at[n]||function(n){for(var r=at[n]={},t=0,i=(n=n.split(/\s+/)).length;t<i;t++)r[n[t]]=!0;return r}(n):{};var u,s,c,h,e,r=[],f=[],l=function(t){for(var u,s,f=0,e=t.length;f<e;f++)u=t[f],"array"===(s=i.type(u))?l(u):"function"===s&&(n.unique&&o.has(u)||r.push(u))},a=function(t,i){for(i=i||[],u=!n.memory||[t,i],s=!0,e=c||0,c=0,h=r.length;r&&e<h;e++)if(!1===r[e].apply(t,i)&&n.stopOnFalse){u=!0;break}s=!1;r&&(n.once?!0===u?o.disable():r=[]:f&&f.length&&(u=f.shift(),o.fireWith(u[0],u[1])))},o={add:function(){if(r){var n=r.length;l(arguments);s?h=r.length:u&&!0!==u&&(c=n,a(u[0],u[1]))}return this},remove:function(){var t;if(r)for(var u=arguments,i=0,f=u.length;i<f;i++)for(t=0;t<r.length&&(u[i]!==r[t]||(s&&t<=h&&(h--,t<=e&&e--),r.splice(t--,1),!n.unique));t++);return this},has:function(n){if(r)for(var t=0,i=r.length;t<i;t++)if(n===r[t])return!0;return!1},empty:function(){return r=[],this},disable:function(){return r=f=u=t,this},disabled:function(){return!r},lock:function(){return f=t,u&&!0!==u||o.disable(),this},locked:function(){return!f},fireWith:function(t,i){return f&&(s?n.once||f.push([t,i]):n.once&&u||a(t,i)),this},fire:function(){return o.fireWith(this,arguments),this},fired:function(){return!!u}};return o};p=[].slice;i.extend({Deferred:function(n){var r,u=i.Callbacks("once memory"),f=i.Callbacks("once memory"),e=i.Callbacks("memory"),s="pending",h={resolve:u,reject:f,notify:e},o={done:u.add,fail:f.add,progress:e.add,state:function(){return s},isResolved:u.fired,isRejected:f.fired,then:function(n,i,r){return t.done(n).fail(i).progress(r),this},always:function(){return t.done.apply(t,arguments).fail.apply(t,arguments),this},pipe:function(n,r,u){return i.Deferred(function(f){i.each({done:[n,"resolve"],fail:[r,"reject"],progress:[u,"notify"]},function(n,r){var u,e=r[0],o=r[1];i.isFunction(e)?t[n](function(){(u=e.apply(this,arguments))&&i.isFunction(u.promise)?u.promise().then(f.resolve,f.reject,f.notify):f[o+"With"](this===t?f:this,[u])}):t[n](f[o])})}).promise()},promise:function(n){if(null==n)n=o;else for(var t in o)n[t]=o[t];return n}},t=o.promise({});for(r in h)t[r]=h[r].fire,t[r+"With"]=h[r].fireWith;return t.done(function(){s="resolved"},f.disable,e.lock).fail(function(){s="rejected"},u.disable,e.lock),n&&n.call(t,t),t},when:function(n){function h(n){return function(i){r[n]=arguments.length>1?p.call(arguments,0):i;--e||t.resolveWith(t,r)}}function c(n){return function(i){o[n]=arguments.length>1?p.call(arguments,0):i;t.notifyWith(s,o)}}var r=p.call(arguments,0),u=0,f=r.length,o=new Array(f),e=f,t=f<=1&&n&&i.isFunction(n.promise)?n:i.Deferred(),s=t.promise();if(f>1){for(;u<f;u++)r[u]&&r[u].promise&&i.isFunction(r[u].promise)?r[u].promise().then(h(u),t.reject,c(u)):--e;e||t.resolveWith(t,r)}else t!==n&&t.resolveWith(t,f?[n]:[]);return s}});i.support=function(){var u,a,e,v,l,f,s,o,h,y,p,c,t=r.createElement("div");if(r.documentElement,t.setAttribute("className","t"),t.innerHTML="   <link/><table><\/table><a href='/a' style='top:1px;float:left;opacity:.55;'>a<\/a><input type='checkbox'/>",a=t.getElementsByTagName("*"),e=t.getElementsByTagName("a")[0],!a||!a.length||!e)return{};l=(v=r.createElement("select")).appendChild(r.createElement("option"));f=t.getElementsByTagName("input")[0];u={leadingWhitespace:3===t.firstChild.nodeType,tbody:!t.getElementsByTagName("tbody").length,htmlSerialize:!!t.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:"/a"===e.getAttribute("href"),opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:"on"===f.value,optSelected:l.selected,getSetAttribute:"t"!==t.className,enctype:!!r.createElement("form").enctype,html5Clone:"<:nav><\/:nav>"!==r.createElement("nav").cloneNode(!0).outerHTML,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};f.checked=!0;u.noCloneChecked=f.cloneNode(!0).checked;v.disabled=!0;u.optDisabled=!l.disabled;try{delete t.test}catch(n){u.deleteExpando=!1}if(!t.addEventListener&&t.attachEvent&&t.fireEvent&&(t.attachEvent("onclick",function(){u.noCloneEvent=!1}),t.cloneNode(!0).fireEvent("onclick")),(f=r.createElement("input")).value="t",f.setAttribute("type","radio"),u.radioValue="t"===f.value,f.setAttribute("checked","checked"),t.appendChild(f),(o=r.createDocumentFragment()).appendChild(t.lastChild),u.checkClone=o.cloneNode(!0).cloneNode(!0).lastChild.checked,u.appendChecked=f.checked,o.removeChild(f),o.appendChild(t),t.innerHTML="",n.getComputedStyle&&((s=r.createElement("div")).style.width="0",s.style.marginRight="0",t.style.width="2px",t.appendChild(s),u.reliableMarginRight=0===(parseInt((n.getComputedStyle(s,null)||{marginRight:0}).marginRight,10)||0)),t.attachEvent)for(p in{submit:1,change:1,focusin:1})(c=(y="on"+p)in t)||(t.setAttribute(y,"return;"),c="function"==typeof t[y]),u[p+"Bubbles"]=c;return o.removeChild(t),o=v=l=s=t=f=null,i(function(){var f,s,n,a,e,v,l,y,o=r.getElementsByTagName("body")[0];o&&(l="visibility:hidden;border:0;",y="style='"+(v="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;")+"border:5px solid #000;padding:0;'",(f=r.createElement("div")).style.cssText=l+"width:0;height:0;position:static;top:0;margin-top:1px",o.insertBefore(f,o.firstChild),t=r.createElement("div"),f.appendChild(t),t.innerHTML="<table><tr><td style='padding:0;border:0;display:none'><\/td><td>t<\/td><\/tr><\/table>",h=t.getElementsByTagName("td"),c=0===h[0].offsetHeight,h[0].style.display="",h[1].style.display="none",u.reliableHiddenOffsets=c&&0===h[0].offsetHeight,t.innerHTML="",t.style.width=t.style.paddingLeft="1px",i.boxModel=u.boxModel=2===t.offsetWidth,void 0!==t.style.zoom&&(t.style.display="inline",t.style.zoom=1,u.inlineBlockNeedsLayout=2===t.offsetWidth,t.style.display="",t.innerHTML="<div style='width:4px;'><\/div>",u.shrinkWrapBlocks=2!==t.offsetWidth),t.style.cssText=v+l,t.innerHTML="<div style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;'><div><\/div><\/div><table style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;' cellpadding='0' cellspacing='0'><tr><td><\/td><\/tr><\/table>",n=(s=t.firstChild).firstChild,a=s.nextSibling.firstChild.firstChild,e={doesNotAddBorder:5!==n.offsetTop,doesAddBorderForTableAndCells:5===a.offsetTop},n.style.position="fixed",n.style.top="20px",e.fixedPosition=20===n.offsetTop||15===n.offsetTop,n.style.position=n.style.top="",s.style.overflow="hidden",s.style.position="relative",e.subtractsBorderForOverflowNotVisible=-5===n.offsetTop,e.doesNotIncludeMarginInBodyOffset=1!==o.offsetTop,o.removeChild(f),t=f=null,i.extend(u,e))}),u}();vt=/^(?:\{.*\}|\[.*\])$/;yt=/([A-Z])/g;i.extend({cache:{},uuid:0,expando:"jQuery"+(i.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(n){return!!(n=n.nodeType?i.cache[n[i.expando]]:n[i.expando])&&!rt(n)},data:function(n,r,u,f){if(i.acceptData(n)){var a,o,c,h=i.expando,v="string"==typeof r,l=n.nodeType,s=l?i.cache:n,e=l?n[h]:n[h]&&h,y="events"===r;if(e&&s[e]&&(y||f||s[e].data)||!v||u!==t)return e||(l?n[h]=e=++i.uuid:e=h),s[e]||(s[e]={},l||(s[e].toJSON=i.noop)),"object"!=typeof r&&"function"!=typeof r||(f?s[e]=i.extend(s[e],r):s[e].data=i.extend(s[e].data,r)),a=o=s[e],f||(o.data||(o.data={}),o=o.data),u!==t&&(o[i.camelCase(r)]=u),y&&!o[r]?a.events:(v?null==(c=o[r])&&(c=o[i.camelCase(r)]):c=o,c)}},removeData:function(n,t,r){if(i.acceptData(n)){var e,s,c,o=i.expando,h=n.nodeType,u=h?i.cache:n,f=h?n[o]:o;if(u[f]){if(t&&(e=r?u[f]:u[f].data)){for(i.isArray(t)||(t=(t in e)?[t]:((t=i.camelCase(t))in e)?[t]:t.split(" ")),s=0,c=t.length;s<c;s++)delete e[t[s]];if(!(r?rt:i.isEmptyObject)(e))return}(r||(delete u[f].data,rt(u[f])))&&(i.support.deleteExpando||!u.setInterval?delete u[f]:u[f]=null,h&&(i.support.deleteExpando?delete n[o]:n.removeAttribute?n.removeAttribute(o):n[o]=null))}}},_data:function(n,t,r){return i.data(n,t,r,!0)},acceptData:function(n){if(n.nodeName){var t=i.noData[n.nodeName.toLowerCase()];if(t)return!(!0===t||n.getAttribute("classid")!==t)}return!0}});i.fn.extend({data:function(n,r){var u,s,e,f=null,o,h;if(void 0===n){if(this.length&&(f=i.data(this[0]),1===this[0].nodeType&&!i._data(this[0],"parsedAttrs"))){for(o=0,h=(s=this[0].attributes).length;o<h;o++)0===(e=s[o].name).indexOf("data-")&&(e=i.camelCase(e.substring(5)),pt(this[0],e,f[e]));i._data(this[0],"parsedAttrs",!0)}return f}return"object"==typeof n?this.each(function(){i.data(this,n)}):((u=n.split("."))[1]=u[1]?"."+u[1]:"",r===t?((f=this.triggerHandler("getData"+u[1]+"!",[u[0]]))===t&&this.length&&(f=i.data(this[0],n),f=pt(this[0],n,f)),f===t&&u[1]?this.data(u[0]):f):this.each(function(){var t=i(this),f=[u[0],r];t.triggerHandler("setData"+u[1]+"!",f);i.data(this,n,r);t.triggerHandler("changeData"+u[1]+"!",f)}))},removeData:function(n){return this.each(function(){i.removeData(this,n)})}});i.extend({_mark:function(n,t){n&&(t=(t||"fx")+"mark",i._data(n,t,(i._data(n,t)||0)+1))},_unmark:function(n,t,r){if(!0!==n&&(r=t,t=n,n=!1),t){var u=(r=r||"fx")+"mark",f=n?0:(i._data(t,u)||1)-1;f?i._data(t,u,f):(i.removeData(t,u,!0),wt(t,r,"mark"))}},queue:function(n,t,r){var u;if(n)return t=(t||"fx")+"queue",u=i._data(n,t),r&&(!u||i.isArray(r)?u=i._data(n,t,i.makeArray(r)):u.push(r)),u||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),u=r.shift(),f={};"inprogress"===u&&(u=r.shift());u&&("fx"===t&&r.unshift("inprogress"),i._data(n,t+".run",f),u.call(n,function(){i.dequeue(n,t)},f));r.length||(i.removeData(n,t+"queue "+t+".run",!0),wt(n,t,"queue"))}});i.fn.extend({queue:function(n,r){return"string"!=typeof n&&(r=n,n="fx"),r===t?i.queue(this[0],n):this.each(function(){var t=i.queue(this,n,r);"fx"===n&&"inprogress"!==t[0]&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},delay:function(n,t){return n=i.fx&&i.fx.speeds[n]||n,t=t||"fx",this.queue(t,function(t,i){var r=setTimeout(t,n);i.stop=function(){clearTimeout(r)}})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n){function h(){--o||e.resolveWith(r,[r])}"string"!=typeof n&&(n,n=t);n=n||"fx";for(var f,e=i.Deferred(),r=this,u=r.length,o=1,s=n+"defer",c=n+"queue",l=n+"mark";u--;)(f=i.data(r[u],s,t,!0)||(i.data(r[u],c,t,!0)||i.data(r[u],l,t,!0))&&i.data(r[u],s,i.Callbacks("once memory"),!0))&&(o++,f.add(h));return h(),e.promise()}});var f,bt,kt,dt=/[\n\t\r]/g,w=/\s+/,dr=/\r/g,gr=/^(?:button|input)$/i,nu=/^(?:button|input|object|select|textarea)$/i,tu=/^a(?:rea)?$/i,gt=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,ni=i.support.getSetAttribute;i.fn.extend({attr:function(n,t){return i.access(this,n,t,!0,i.attr)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})},prop:function(n,t){return i.access(this,n,t,!0,i.prop)},removeProp:function(n){return n=i.propFix[n]||n,this.each(function(){try{this[n]=t;delete this[n]}catch(n){}})},addClass:function(n){var t,f,o,r,e,u,s;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(n&&"string"==typeof n)for(t=n.split(w),f=0,o=this.length;f<o;f++)if(1===(r=this[f]).nodeType)if(r.className||1!==t.length){for(e=" "+r.className+" ",u=0,s=t.length;u<s;u++)~e.indexOf(" "+t[u]+" ")||(e+=t[u]+" ");r.className=i.trim(e)}else r.className=n;return this},removeClass:function(n){var o,u,s,r,f,e,h;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,this.className))});if(n&&"string"==typeof n||n===t)for(o=(n||"").split(w),u=0,s=this.length;u<s;u++)if(1===(r=this[u]).nodeType&&r.className)if(n){for(f=(" "+r.className+" ").replace(dt," "),e=0,h=o.length;e<h;e++)f=f.replace(" "+o[e]+" "," ");r.className=i.trim(f)}else r.className="";return this},toggleClass:function(n,t){var r=typeof n,u="boolean"==typeof t;return i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}):this.each(function(){if("string"===r)for(var f,s=0,o=i(this),e=t,h=n.split(w);f=h[s++];)e=u?e:!o.hasClass(f),o[e?"addClass":"removeClass"](f);else"undefined"!==r&&"boolean"!==r||(this.className&&i._data(this,"__className__",this.className),this.className=this.className||!1===n?"":i._data(this,"__className__")||"")})},hasClass:function(n){for(var i=" "+n+" ",t=0,r=this.length;t<r;t++)if(1===this[t].nodeType&&(" "+this[t].className+" ").replace(dt," ").indexOf(i)>-1)return!0;return!1},val:function(n){var r,u,e,f=this[0];return arguments.length?(e=i.isFunction(n),this.each(function(u){var f,o=i(this);1===this.nodeType&&(null==(f=e?n.call(this,u,o.val()):n)?f="":"number"==typeof f?f+="":i.isArray(f)&&(f=i.map(f,function(n){return null==n?"":n+""})),(r=i.valHooks[this.nodeName.toLowerCase()]||i.valHooks[this.type])&&"set"in r&&r.set(this,f,"value")!==t||(this.value=f))})):f?(r=i.valHooks[f.nodeName.toLowerCase()]||i.valHooks[f.type])&&"get"in r&&(u=r.get(f,"value"))!==t?u:"string"==typeof(u=f.value)?u.replace(dr,""):null==u?"":u:void 0}});i.extend({valHooks:{option:{get:function(n){var t=n.attributes.value;return!t||t.specified?n.value:n.text}},select:{get:function(n){var o,r,h,t,u=n.selectedIndex,s=[],f=n.options,e="select-one"===n.type;if(u<0)return null;for(r=e?u:0,h=e?u+1:f.length;r<h;r++)if((t=f[r]).selected&&(i.support.optDisabled?!t.disabled:null===t.getAttribute("disabled"))&&(!t.parentNode.disabled||!i.nodeName(t.parentNode,"optgroup"))){if(o=i(t).val(),e)return o;s.push(o)}return e&&!s.length&&f.length?i(f[u]).val():s},set:function(n,t){var r=i.makeArray(t);return i(n).find("option").each(function(){this.selected=i.inArray(i(this).val(),r)>=0}),r.length||(n.selectedIndex=-1),r}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(n,r,u,e){var s,o,c,h=n.nodeType;if(n&&3!==h&&8!==h&&2!==h)return e&&r in i.attrFn?i(n)[r](u):void 0===n.getAttribute?i.prop(n,r,u):((c=1!==h||!i.isXMLDoc(n))&&(r=r.toLowerCase(),o=i.attrHooks[r]||(gt.test(r)?bt:f)),u!==t?null===u?void i.removeAttr(n,r):o&&"set"in o&&c&&(s=o.set(n,u,r))!==t?s:(n.setAttribute(r,""+u),u):o&&"get"in o&&c&&null!==(s=o.get(n,r))?s:null===(s=n.getAttribute(r))?t:s)},removeAttr:function(n,t){var u,e,r,o,f=0;if(t&&1===n.nodeType)for(o=(e=t.toLowerCase().split(w)).length;f<o;f++)(r=e[f])&&(u=i.propFix[r]||r,i.attr(n,r,""),n.removeAttribute(ni?r:u),gt.test(r)&&u in n&&(n[u]=!1))},attrHooks:{type:{set:function(n,t){if(gr.test(n.nodeName)&&n.parentNode)i.error("type property can't be changed");else if(!i.support.radioValue&&"radio"===t&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}},value:{get:function(n,t){return f&&i.nodeName(n,"button")?f.get(n,t):t in n?n.value:null},set:function(n,t,r){if(f&&i.nodeName(n,"button"))return f.set(n,t,r);n.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(n,r,u){var e,f,o=n.nodeType;if(n&&3!==o&&8!==o&&2!==o)return(1!==o||!i.isXMLDoc(n))&&(r=i.propFix[r]||r,f=i.propHooks[r]),u!==t?f&&"set"in f&&(e=f.set(n,u,r))!==t?e:n[r]=u:f&&"get"in f&&null!==(e=f.get(n,r))?e:n[r]},propHooks:{tabIndex:{get:function(n){var i=n.getAttributeNode("tabindex");return i&&i.specified?parseInt(i.value,10):nu.test(n.nodeName)||tu.test(n.nodeName)&&n.href?0:t}}}});i.attrHooks.tabindex=i.propHooks.tabIndex;bt={get:function(n,r){var u,f=i.prop(n,r);return!0===f||"boolean"!=typeof f&&(u=n.getAttributeNode(r))&&!1!==u.nodeValue?r.toLowerCase():t},set:function(n,t,r){var u;return!1===t?i.removeAttr(n,r):((u=i.propFix[r]||r)in n&&(n[u]=!0),n.setAttribute(r,r.toLowerCase())),r}};ni||(kt={name:!0,id:!0},f=i.valHooks.button={get:function(n,i){var r;return(r=n.getAttributeNode(i))&&(kt[i]?""!==r.nodeValue:r.specified)?r.nodeValue:t},set:function(n,t,i){var u=n.getAttributeNode(i);return u||(u=r.createAttribute(i),n.setAttributeNode(u)),u.nodeValue=t+""}},i.attrHooks.tabindex.set=f.set,i.each(["width","height"],function(n,t){i.attrHooks[t]=i.extend(i.attrHooks[t],{set:function(n,i){if(""===i)return n.setAttribute(t,"auto"),i}})}),i.attrHooks.contenteditable={get:f.get,set:function(n,t,i){""===t&&(t="false");f.set(n,t,i)}});i.support.hrefNormalized||i.each(["href","src","width","height"],function(n,r){i.attrHooks[r]=i.extend(i.attrHooks[r],{get:function(n){var i=n.getAttribute(r,2);return null===i?t:i}})});i.support.style||(i.attrHooks.style={get:function(n){return n.style.cssText.toLowerCase()||t},set:function(n,t){return n.style.cssText=""+t}});i.support.optSelected||(i.propHooks.selected=i.extend(i.propHooks.selected,{get:function(n){var t=n.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}));i.support.enctype||(i.propFix.enctype="encoding");i.support.checkOn||i.each(["radio","checkbox"],function(){i.valHooks[this]={get:function(n){return null===n.getAttribute("value")?"on":n.value}}});i.each(["radio","checkbox"],function(){i.valHooks[this]=i.extend(i.valHooks[this],{set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>=0}})});var ut=/^(?:textarea|input|select)$/i,ti=/^([^\.]*)?(?:\.(.+))?$/,iu=/\bhover(\.\S+)?\b/,ru=/^key/,uu=/^(?:mouse|contextmenu)|click/,ii=/^(?:focusinfocus|focusoutblur)$/,fu=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,eu=function(n){var t=fu.exec(n);return t&&(t[1]=(t[1]||"").toLowerCase(),t[3]=t[3]&&new RegExp("(?:^|\\s)"+t[3]+"(?:\\s|$)")),t},ri=function(n){return i.event.special.hover?n:n.replace(iu,"mouseenter$1 mouseleave$1")};i.event={add:function(n,r,u,f,e){var l,h,v,y,p,o,w,c,b,a,s;if(3!==n.nodeType&&8!==n.nodeType&&r&&u&&(l=i._data(n))){for(u.handler&&(u=(b=u).handler),u.guid||(u.guid=i.guid++),(v=l.events)||(l.events=v={}),(h=l.handle)||(l.handle=h=function(n){return void 0===i||n&&i.event.triggered===n.type?t:i.event.dispatch.apply(h.elem,arguments)},h.elem=n),r=i.trim(ri(r)).split(" "),y=0;y<r.length;y++)o=(p=ti.exec(r[y])||[])[1],w=(p[2]||"").split(".").sort(),s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},c=i.extend({type:o,origType:p[1],data:f,handler:u,guid:u.guid,selector:e,quick:eu(e),namespace:w.join(".")},b),(a=v[o])||((a=v[o]=[]).delegateCount=0,s.setup&&!1!==s.setup.call(n,f,w,h)||(n.addEventListener?n.addEventListener(o,h,!1):n.attachEvent&&n.attachEvent("on"+o,h))),s.add&&(s.add.call(n,c),c.handler.guid||(c.handler.guid=u.guid)),e?a.splice(a.delegateCount++,0,c):a.push(c),i.event.global[o]=!0;n=null}},global:{},remove:function(n,t,r,u,f){var l,p,e,w,s,b,a,v,h,k,c,o,y=i.hasData(n)&&i._data(n);if(y&&(v=y.events)){for(t=i.trim(ri(t||"")).split(" "),l=0;l<t.length;l++)if(e=w=(p=ti.exec(t[l])||[])[1],s=p[2],e){for(h=i.event.special[e]||{},b=(c=v[e=(u?h.delegateType:h.bindType)||e]||[]).length,s=s?new RegExp("(^|\\.)"+s.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null,a=0;a<c.length;a++)o=c[a],!f&&w!==o.origType||r&&r.guid!==o.guid||s&&!s.test(o.namespace)||u&&u!==o.selector&&("**"!==u||!o.selector)||(c.splice(a--,1),o.selector&&c.delegateCount--,h.remove&&h.remove.call(n,o));0===c.length&&b!==c.length&&(h.teardown&&!1!==h.teardown.call(n,s)||i.removeEvent(n,e,y.handle),delete v[e])}else for(e in v)i.event.remove(n,e+t[l],r,u,!0);i.isEmptyObject(v)&&((k=y.handle)&&(k.elem=null),i.removeData(n,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(r,u,f,e){if(!f||3!==f.nodeType&&8!==f.nodeType){var p,k,h,s,c,l,a,w,v,b,o=r.type||r,y=[];if(!ii.test(o+i.event.triggered)&&(o.indexOf("!")>=0&&(o=o.slice(0,-1),k=!0),o.indexOf(".")>=0&&(y=o.split("."),o=y.shift(),y.sort()),f&&!i.event.customEvent[o]||i.event.global[o]))if((r="object"==typeof r?r[i.expando]?r:new i.Event(o,r):new i.Event(o)).type=o,r.isTrigger=!0,r.exclusive=k,r.namespace=y.join("."),r.namespace_re=r.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,l=o.indexOf(":")<0?"on"+o:"",f){if(r.result=t,r.target||(r.target=f),(u=null!=u?i.makeArray(u):[]).unshift(r),!(a=i.event.special[o]||{}).trigger||!1!==a.trigger.apply(f,u)){if(v=[[f,a.bindType||o]],!e&&!a.noBubble&&!i.isWindow(f)){for(b=a.delegateType||o,s=ii.test(b+o)?f:f.parentNode,c=null;s;s=s.parentNode)v.push([s,b]),c=s;c&&c===f.ownerDocument&&v.push([c.defaultView||c.parentWindow||n,b])}for(h=0;h<v.length&&!r.isPropagationStopped();h++)s=v[h][0],r.type=v[h][1],(w=(i._data(s,"events")||{})[r.type]&&i._data(s,"handle"))&&w.apply(s,u),(w=l&&s[l])&&i.acceptData(s)&&!1===w.apply(s,u)&&r.preventDefault();return r.type=o,e||r.isDefaultPrevented()||a._default&&!1!==a._default.apply(f.ownerDocument,u)||"click"===o&&i.nodeName(f,"a")||!i.acceptData(f)||l&&f[o]&&("focus"!==o&&"blur"!==o||0!==r.target.offsetWidth)&&!i.isWindow(f)&&((c=f[l])&&(f[l]=null),i.event.triggered=o,f[o](),i.event.triggered=t,c&&(f[l]=c)),r.result}}else for(h in p=i.cache)p[h].events&&p[h].events[o]&&i.event.trigger(r,u,p[h].handle.elem,!0)}},dispatch:function(r){r=i.event.fix(r||n.event);var f,h,e,b,k,c,s,l,u,a,d,o,v,y=(i._data(this,"events")||{})[r.type]||[],p=y.delegateCount,g=[].slice.call(arguments,0),nt=!r.exclusive&&!r.namespace,w=[];if(g[0]=r,r.delegateTarget=this,p&&!r.target.disabled&&(!r.button||"click"!==r.type))for((b=i(this)).context=this.ownerDocument||this,e=r.target;e!=this;e=e.parentNode||this){for(c={},l=[],b[0]=e,f=0;f<p;f++)c[a=(u=y[f]).selector]===t&&(c[a]=u.quick?(d=e,o=u.quick,v=void 0,v=d.attributes||{},(!o[1]||d.nodeName.toLowerCase()===o[1])&&(!o[2]||(v.id||{}).value===o[2])&&(!o[3]||o[3].test((v.class||{}).value))):b.is(a)),c[a]&&l.push(u);l.length&&w.push({elem:e,matches:l})}for(y.length>p&&w.push({elem:this,matches:y.slice(p)}),f=0;f<w.length&&!r.isPropagationStopped();f++)for(s=w[f],r.currentTarget=s.elem,h=0;h<s.matches.length&&!r.isImmediatePropagationStopped();h++)u=s.matches[h],(nt||!r.namespace&&!u.namespace||r.namespace_re&&r.namespace_re.test(u.namespace))&&(r.data=u.data,r.handleObj=u,(k=((i.event.special[u.origType]||{}).handle||u.handler).apply(s.elem,g))!==t&&(r.result=k,!1===k&&(r.preventDefault(),r.stopPropagation())));return r.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(n,t){return null==n.which&&(n.which=null!=t.charCode?t.charCode:t.keyCode),n}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,i){var s,u,f,e=i.button,o=i.fromElement;return null==n.pageX&&null!=i.clientX&&(u=(s=n.target.ownerDocument||r).documentElement,f=s.body,n.pageX=i.clientX+(u&&u.scrollLeft||f&&f.scrollLeft||0)-(u&&u.clientLeft||f&&f.clientLeft||0),n.pageY=i.clientY+(u&&u.scrollTop||f&&f.scrollTop||0)-(u&&u.clientTop||f&&f.clientTop||0)),!n.relatedTarget&&o&&(n.relatedTarget=o===n.target?i.toElement:o),n.which||e===t||(n.which=1&e?1:2&e?3:4&e?2:0),n}},fix:function(n){if(n[i.expando])return n;var e,o,u=n,f=i.event.fixHooks[n.type]||{},s=f.props?this.props.concat(f.props):this.props;for(n=i.Event(u),e=s.length;e;)n[o=s[--e]]=u[o];return n.target||(n.target=u.srcElement||r),3===n.target.nodeType&&(n.target=n.target.parentNode),n.metaKey===t&&(n.metaKey=n.ctrlKey),f.filter?f.filter(n,u):n},special:{ready:{setup:i.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(n,t,r){i.isWindow(this)&&(this.onbeforeunload=r)},teardown:function(n,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(n,t,r,u){var f=i.extend(new i.Event,r,{type:n,isSimulated:!0,originalEvent:{}});u?i.event.trigger(f,null,t):i.event.dispatch.call(t,f);f.isDefaultPrevented()&&r.preventDefault()}};i.event.handle=i.event.dispatch;i.removeEvent=r.removeEventListener?function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i,!1)}:function(n,t,i){n.detachEvent&&n.detachEvent("on"+t,i)};i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||!1===n.returnValue||n.getPreventDefault&&n.getPreventDefault()?b:s):this.type=n;t&&i.extend(this,t);this.timeStamp=n&&n.timeStamp||i.now();this[i.expando]=!0};i.Event.prototype={preventDefault:function(){this.isDefaultPrevented=b;var n=this.originalEvent;n&&(n.preventDefault?n.preventDefault():n.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=b;var n=this.originalEvent;n&&(n.stopPropagation&&n.stopPropagation(),n.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=b;this.stopPropagation()},isDefaultPrevented:s,isPropagationStopped:s,isImmediatePropagationStopped:s};i.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var f,r=n.relatedTarget,u=n.handleObj;return u.selector,r&&(r===this||i.contains(this,r))||(n.type=u.origType,f=u.handler.apply(this,arguments),n.type=t),f}}});i.support.submitBubbles||(i.event.special.submit={setup:function(){if(i.nodeName(this,"form"))return!1;i.event.add(this,"click._submit keypress._submit",function(n){var u=n.target,r=i.nodeName(u,"input")||i.nodeName(u,"button")?u.form:t;r&&!r._submit_attached&&(i.event.add(r,"submit._submit",function(n){this.parentNode&&!n.isTrigger&&i.event.simulate("submit",this.parentNode,n,!0)}),r._submit_attached=!0)})},teardown:function(){if(i.nodeName(this,"form"))return!1;i.event.remove(this,"._submit")}});i.support.changeBubbles||(i.event.special.change={setup:function(){if(ut.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(i.event.add(this,"propertychange._change",function(n){"checked"===n.originalEvent.propertyName&&(this._just_changed=!0)}),i.event.add(this,"click._change",function(n){this._just_changed&&!n.isTrigger&&(this._just_changed=!1,i.event.simulate("change",this,n,!0))})),!1;i.event.add(this,"beforeactivate._change",function(n){var t=n.target;ut.test(t.nodeName)&&!t._change_attached&&(i.event.add(t,"change._change",function(n){!this.parentNode||n.isSimulated||n.isTrigger||i.event.simulate("change",this.parentNode,n,!0)}),t._change_attached=!0)})},handle:function(n){var t=n.target;if(this!==t||n.isSimulated||n.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return n.handleObj.handler.apply(this,arguments)},teardown:function(){return i.event.remove(this,"._change"),ut.test(this.nodeName)}});i.support.focusinBubbles||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=0,f=function(n){i.event.simulate(t,n.target,i.event.fix(n),!0)};i.event.special[t]={setup:function(){0==u++&&r.addEventListener(n,f,!0)},teardown:function(){0==--u&&r.removeEventListener(n,f,!0)}}});i.fn.extend({on:function(n,r,u,f,e){var o,h;if("object"==typeof n){for(h in"string"!=typeof r&&(u=r,r=t),n)this.on(h,r,u,n[h],e);return this}if(null==u&&null==f?(f=r,u=r=t):null==f&&("string"==typeof r?(f=u,u=t):(f=u,u=r,r=t)),!1===f)f=s;else if(!f)return this;return 1===e&&(o=f,(f=function(n){return i().off(n),o.apply(this,arguments)}).guid=o.guid||(o.guid=i.guid++)),this.each(function(){i.event.add(this,n,f,u,r)})},one:function(n,t,i,r){return this.on.call(this,n,t,i,r,1)},off:function(n,r,u){var f,e;if(n&&n.preventDefault&&n.handleObj)return f=n.handleObj,i(n.delegateTarget).off(f.namespace?f.type+"."+f.namespace:f.type,f.selector,f.handler),this;if("object"==typeof n){for(e in n)this.off(e,r,n[e]);return this}return!1!==r&&"function"!=typeof r||(u=r,r=t),!1===u&&(u=s),this.each(function(){i.event.remove(this,n,u,r)})},bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},live:function(n,t,r){return i(this.context).on(n,this.selector,t,r),this},die:function(n,t){return i(this.context).off(n,this.selector||"**",t),this},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return 1==arguments.length?this.off(n,"**"):this.off(t,n,i)},trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){if(this[0])return i.event.trigger(n,t,this[0],!0)},toggle:function(n){var t=arguments,u=n.guid||i.guid++,r=0,f=function(u){var f=(i._data(this,"lastToggle"+n.guid)||0)%r;return i._data(this,"lastToggle"+n.guid,f+1),u.preventDefault(),t[f].apply(this,arguments)||!1};for(f.guid=u;r<t.length;)t[r++].guid=u;return this.click(f)},hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}});i.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(n,t){i.fn[t]=function(n,i){return null==i&&(i=n,n=null),arguments.length>0?this.on(t,null,n,i):this.trigger(t)};i.attrFn&&(i.attrFn[t]=!0);ru.test(t)&&(i.event.fixHooks[t]=i.event.keyHooks);uu.test(t)&&(i.event.fixHooks[t]=i.event.mouseHooks)}),function(){function it(n,t,i,r,u,f){for(var e,h,s=0,c=r.length;s<c;s++)if(e=r[s],e){for(h=!1,e=e[n];e;){if(e[o]===i){h=r[e.sizset];break}if(1!==e.nodeType||f||(e[o]=i,e.sizset=s),e.nodeName.toLowerCase()===t){h=e;break}e=e[n]}r[s]=h}}function rt(t,i,r,u,f,e){for(var s,c,h=0,l=u.length;h<l;h++)if(s=u[h],s){for(c=!1,s=s[t];s;){if(s[o]===r){c=u[s.sizset];break}if(1===s.nodeType)if(e||(s[o]=r,s.sizset=h),"string"!=typeof i){if(s===i){c=!0;break}}else if(n.filter(i,[s]).length>0){c=s;break}s=s[t]}u[h]=c}}var w=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,o="sizcache"+(Math.random()+"").replace(".",""),b=0,nt=Object.prototype.toString,v=!1,tt=!0,s=/\\/g,ut=/\r\n/g,y=/\W/,n,h,p,c,l,d,a,e,f,g;[0,0].sort(function(){return tt=!1,0});n=function(t,i,e,o){var d;if(e=e||[],d=i=i||r,1!==i.nodeType&&9!==i.nodeType)return[];if(!t||"string"!=typeof t)return e;var v,l,h,k,a,y,p,c,tt=!0,b=n.isXML(i),s=[],it=t;do if(w.exec(""),(v=w.exec(it))&&(it=v[3],s.push(v[1]),v[2])){k=v[3];break}while(v);if(s.length>1&&ft.exec(t))if(2===s.length&&u.relative[s[0]])l=g(s[0]+s[1],i,o);else for(l=u.relative[s[0]]?[i]:n(s.shift(),i);s.length;)t=s.shift(),u.relative[t]&&(t+=s.shift()),l=g(t,l,o);else if(!o&&s.length>1&&9===i.nodeType&&!b&&u.match.ID.test(s[0])&&!u.match.ID.test(s[s.length-1])&&(i=(a=n.find(s.shift(),i,b)).expr?n.filter(a.expr,a.set)[0]:a.set[0]),i)for(l=(a=o?{expr:s.pop(),set:f(o)}:n.find(s.pop(),1!==s.length||"~"!==s[0]&&"+"!==s[0]||!i.parentNode?i:i.parentNode,b)).expr?n.filter(a.expr,a.set):a.set,s.length>0?h=f(l):tt=!1;s.length;)p=y=s.pop(),u.relative[y]?p=s.pop():y="",null==p&&(p=i),u.relative[y](h,p,b);else h=s=[];if(h||(h=l),h||n.error(y||t),"[object Array]"===nt.call(h))if(tt)if(i&&1===i.nodeType)for(c=0;null!=h[c];c++)h[c]&&(!0===h[c]||1===h[c].nodeType&&n.contains(i,h[c]))&&e.push(l[c]);else for(c=0;null!=h[c];c++)h[c]&&1===h[c].nodeType&&e.push(l[c]);else e.push.apply(e,h);else f(h,e);return k&&(n(k,d,e,o),n.uniqueSort(e)),e};n.uniqueSort=function(n){if(p&&(v=tt,n.sort(p),v))for(var t=1;t<n.length;t++)n[t]===n[t-1]&&n.splice(t--,1);return n};n.matches=function(t,i){return n(t,null,null,i)};n.matchesSelector=function(t,i){return n(i,null,null,[t]).length>0};n.find=function(n,t,i){var f,e,c,r,o,h;if(!n)return[];for(e=0,c=u.order.length;e<c;e++)if(o=u.order[e],(r=u.leftMatch[o].exec(n))&&(h=r[1],r.splice(1,1),"\\"!==h.substr(h.length-1)&&(r[1]=(r[1]||"").replace(s,""),null!=(f=u.find[o](r,t,i))))){n=n.replace(u.match[o],"");break}return f||(f=void 0!==t.getElementsByTagName?t.getElementsByTagName("*"):[]),{set:f,expr:n}};n.filter=function(i,r,f,e){for(var o,h,c,v,y,b,p,l,w,k=i,a=[],s=r,d=r&&r[0]&&n.isXML(r[0]);i&&r.length;){for(c in u.filter)if(null!=(o=u.leftMatch[c].exec(i))&&o[2]){if(b=u.filter[c],p=o[1],h=!1,o.splice(1,1),"\\"===p.substr(p.length-1))continue;if(s===a&&(a=[]),u.preFilter[c])if(o=u.preFilter[c](o,s,f,a,e,d)){if(!0===o)continue}else h=v=!0;if(o)for(l=0;null!=(y=s[l]);l++)y&&(w=e^(v=b(y,o,l,s)),f&&null!=v?w?h=!0:s[l]=!1:w&&(a.push(y),h=!0));if(v!==t){if(f||(s=a),i=i.replace(u.match[c],""),!h)return[];break}}if(i===k){if(null!=h)break;n.error(i)}k=i}return s};n.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};var k=n.getText=function(n){var i,r,t=n.nodeType,u="";if(t){if(1===t||9===t){if("string"==typeof n.textContent)return n.textContent;if("string"==typeof n.innerText)return n.innerText.replace(ut,"");for(n=n.firstChild;n;n=n.nextSibling)u+=k(n)}else if(3===t||4===t)return n.nodeValue}else for(i=0;r=n[i];i++)8!==r.nodeType&&(u+=k(r));return u},u=n.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(n){return n.getAttribute("href")},type:function(n){return n.getAttribute("type")}},relative:{"+":function(t,i){var f="string"==typeof i,e=f&&!y.test(i),o=f&&!e,r,u,s;for(e&&(i=i.toLowerCase()),u=0,s=t.length;u<s;u++)if(r=t[u]){for(;(r=r.previousSibling)&&1!==r.nodeType;);t[u]=o||r&&r.nodeName.toLowerCase()===i?r||!1:r===i}o&&n.filter(i,t,!0)},">":function(t,i){var u,f="string"==typeof i,r=0,o=t.length,e;if(f&&!y.test(i))for(i=i.toLowerCase();r<o;r++)(u=t[r])&&(e=u.parentNode,t[r]=e.nodeName.toLowerCase()===i&&e);else{for(;r<o;r++)(u=t[r])&&(t[r]=f?u.parentNode:u.parentNode===i);f&&n.filter(i,t,!0)}},"":function(n,t,i){var r,f=b++,u=rt;"string"!=typeof t||y.test(t)||(r=t=t.toLowerCase(),u=it);u("parentNode",t,f,n,r,i)},"~":function(n,t,i){var r,f=b++,u=rt;"string"!=typeof t||y.test(t)||(r=t=t.toLowerCase(),u=it);u("previousSibling",t,f,n,r,i)}},find:{ID:function(n,t,i){if(void 0!==t.getElementById&&!i){var r=t.getElementById(n[1]);return r&&r.parentNode?[r]:[]}},NAME:function(n,t){if(void 0!==t.getElementsByName){for(var r=[],u=t.getElementsByName(n[1]),i=0,f=u.length;i<f;i++)u[i].getAttribute("name")===n[1]&&r.push(u[i]);return 0===r.length?null:r}},TAG:function(n,t){if(void 0!==t.getElementsByTagName)return t.getElementsByTagName(n[1])}},preFilter:{CLASS:function(n,t,i,r,u,f){if(n=" "+n[1].replace(s,"")+" ",f)return n;for(var e,o=0;null!=(e=t[o]);o++)e&&(u^(e.className&&(" "+e.className+" ").replace(/[\t\n\r]/g," ").indexOf(n)>=0)?i||r.push(e):i&&(t[o]=!1));return!1},ID:function(n){return n[1].replace(s,"")},TAG:function(n){return n[1].replace(s,"").toLowerCase()},CHILD:function(t){if("nth"===t[1]){t[2]||n.error(t[0]);t[2]=t[2].replace(/^\+|\s*/g,"");var i=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(("even"===t[2]?"2n":"odd"===t[2]&&"2n+1")||!/\D/.test(t[2])&&"0n+"+t[2]||t[2]);t[2]=i[1]+(i[2]||1)-0;t[3]=i[3]-0}else t[2]&&n.error(t[0]);return t[0]=b++,t},ATTR:function(n,t,i,r,f,e){var o=n[1]=n[1].replace(s,"");return!e&&u.attrMap[o]&&(n[1]=u.attrMap[o]),n[4]=(n[4]||n[5]||"").replace(s,""),"~="===n[2]&&(n[4]=" "+n[4]+" "),n},PSEUDO:function(t,i,r,f,e){if("not"===t[1]){if(!((w.exec(t[3])||"").length>1||/^\w/.test(t[3]))){var o=n.filter(t[3],i,r,!0^e);return r||f.push.apply(f,o),!1}t[3]=n(t[3],null,null,i)}else if(u.match.POS.test(t[0])||u.match.CHILD.test(t[0]))return!0;return t},POS:function(n){return n.unshift(!0),n}},filters:{enabled:function(n){return!1===n.disabled&&"hidden"!==n.type},disabled:function(n){return!0===n.disabled},checked:function(n){return!0===n.checked},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,!0===n.selected},parent:function(n){return!!n.firstChild},empty:function(n){return!n.firstChild},has:function(t,i,r){return!!n(r[3],t).length},header:function(n){return/h\d/i.test(n.nodeName)},text:function(n){var t=n.getAttribute("type"),i=n.type;return"input"===n.nodeName.toLowerCase()&&"text"===i&&(t===i||null===t)},radio:function(n){return"input"===n.nodeName.toLowerCase()&&"radio"===n.type},checkbox:function(n){return"input"===n.nodeName.toLowerCase()&&"checkbox"===n.type},file:function(n){return"input"===n.nodeName.toLowerCase()&&"file"===n.type},password:function(n){return"input"===n.nodeName.toLowerCase()&&"password"===n.type},submit:function(n){var t=n.nodeName.toLowerCase();return("input"===t||"button"===t)&&"submit"===n.type},image:function(n){return"input"===n.nodeName.toLowerCase()&&"image"===n.type},reset:function(n){var t=n.nodeName.toLowerCase();return("input"===t||"button"===t)&&"reset"===n.type},button:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&"button"===n.type||"button"===t},input:function(n){return/input|select|textarea|button/i.test(n.nodeName)},focus:function(n){return n===n.ownerDocument.activeElement}},setFilters:{first:function(n,t){return 0===t},last:function(n,t,i,r){return t===r.length-1},even:function(n,t){return t%2==0},odd:function(n,t){return t%2==1},lt:function(n,t,i){return t<i[3]-0},gt:function(n,t,i){return t>i[3]-0},nth:function(n,t,i){return i[3]-0===t},eq:function(n,t,i){return i[3]-0===t}},filter:{PSEUDO:function(t,i,r,f){var e=i[1],s=u.filters[e];if(s)return s(t,r,i,f);if("contains"===e)return(t.textContent||t.innerText||k([t])||"").indexOf(i[3])>=0;if("not"===e){for(var h=i[3],o=0,c=h.length;o<c;o++)if(h[o]===t)return!1;return!0}n.error(e)},CHILD:function(n,t){var r,e,s,u,h,f,c=t[1],i=n;switch(c){case"only":case"first":for(;i=i.previousSibling;)if(1===i.nodeType)return!1;if("first"===c)return!0;i=n;case"last":for(;i=i.nextSibling;)if(1===i.nodeType)return!1;return!0;case"nth":if(r=t[2],e=t[3],1===r&&0===e)return!0;if(s=t[0],(u=n.parentNode)&&(u[o]!==s||!n.nodeIndex)){for(h=0,i=u.firstChild;i;i=i.nextSibling)1===i.nodeType&&(i.nodeIndex=++h);u[o]=s}return f=n.nodeIndex-e,0===r?0===f:f%r==0&&f/r>=0}},ID:function(n,t){return 1===n.nodeType&&n.getAttribute("id")===t},TAG:function(n,t){return"*"===t&&1===n.nodeType||!!n.nodeName&&n.nodeName.toLowerCase()===t},CLASS:function(n,t){return(" "+(n.className||n.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(t,i){var o=i[1],s=n.attr?n.attr(t,o):u.attrHandle[o]?u.attrHandle[o](t):null!=t[o]?t[o]:t.getAttribute(o),f=s+"",e=i[2],r=i[4];return null==s?"!="===e:!e&&n.attr?null!=s:"="===e?f===r:"*="===e?f.indexOf(r)>=0:"~="===e?(" "+f+" ").indexOf(r)>=0:r?"!="===e?f!==r:"^="===e?0===f.indexOf(r):"$="===e?f.substr(f.length-r.length)===r:"|="===e&&(f===r||f.substr(0,r.length+1)===r+"-"):f&&!1!==s},POS:function(n,t,i,r){var e=t[2],f=u.setFilters[e];if(f)return f(n,i,t,r)}}},ft=u.match.POS,et=function(n,t){return"\\"+(+t+1)};for(h in u.match)u.match[h]=new RegExp(u.match[h].source+/(?![^\[]*\])(?![^\(]*\))/.source),u.leftMatch[h]=new RegExp(/(^(?:.|\r|\n)*?)/.source+u.match[h].source.replace(/\\(\d+)/g,et));f=function(n,t){return n=Array.prototype.slice.call(n,0),t?(t.push.apply(t,n),t):n};try{Array.prototype.slice.call(r.documentElement.childNodes,0)[0].nodeType}catch(w){f=function(n,t){var i=0,r=t||[],u;if("[object Array]"===nt.call(n))Array.prototype.push.apply(r,n);else if("number"==typeof n.length)for(u=n.length;i<u;i++)r.push(n[i]);else for(;n[i];i++)r.push(n[i]);return r}}r.documentElement.compareDocumentPosition?p=function(n,t){return n===t?(v=!0,0):n.compareDocumentPosition&&t.compareDocumentPosition?4&n.compareDocumentPosition(t)?-1:1:n.compareDocumentPosition?-1:1}:(p=function(n,t){var i;if(n===t)return v=!0,0;if(n.sourceIndex&&t.sourceIndex)return n.sourceIndex-t.sourceIndex;var e,h,u=[],f=[],o=n.parentNode,s=t.parentNode,r=o;if(o===s)return c(n,t);if(!o)return-1;if(!s)return 1;for(;r;)u.unshift(r),r=r.parentNode;for(r=s;r;)f.unshift(r),r=r.parentNode;for(e=u.length,h=f.length,i=0;i<e&&i<h;i++)if(u[i]!==f[i])return c(u[i],f[i]);return i===e?c(n,f[i],-1):c(u[i],t,1)},c=function(n,t,i){if(n===t)return i;for(var r=n.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1});l=r.createElement("div");d="script"+(new Date).getTime();a=r.documentElement;l.innerHTML="<a name='"+d+"'/>";a.insertBefore(l,a.firstChild);r.getElementById(d)&&(u.find.ID=function(n,i,r){if(void 0!==i.getElementById&&!r){var u=i.getElementById(n[1]);return u?u.id===n[1]||void 0!==u.getAttributeNode&&u.getAttributeNode("id").nodeValue===n[1]?[u]:t:[]}},u.filter.ID=function(n,t){var i=void 0!==n.getAttributeNode&&n.getAttributeNode("id");return 1===n.nodeType&&i&&i.nodeValue===t});a.removeChild(l);a=l=null;(e=r.createElement("div")).appendChild(r.createComment(""));e.getElementsByTagName("*").length>0&&(u.find.TAG=function(n,t){var i=t.getElementsByTagName(n[1]),u,r;if("*"===n[1]){for(u=[],r=0;i[r];r++)1===i[r].nodeType&&u.push(i[r]);i=u}return i});e.innerHTML="<a href='#'><\/a>";e.firstChild&&void 0!==e.firstChild.getAttribute&&"#"!==e.firstChild.getAttribute("href")&&(u.attrHandle.href=function(n){return n.getAttribute("href",2)});e=null;r.querySelectorAll&&function(){var i=n,t=r.createElement("div"),e;if(t.innerHTML="<p class='TEST'><\/p>",!t.querySelectorAll||0!==t.querySelectorAll(".TEST").length){for(e in n=function(t,e,o,s){var h,c;if(e=e||r,!s&&!n.isXML(e)){if(h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(t),h&&(1===e.nodeType||9===e.nodeType)){if(h[1])return f(e.getElementsByTagName(t),o);if(h[2]&&u.find.CLASS&&e.getElementsByClassName)return f(e.getElementsByClassName(h[2]),o)}if(9===e.nodeType){if("body"===t&&e.body)return f([e.body],o);if(h&&h[3]){if(c=e.getElementById(h[3]),!c||!c.parentNode)return f([],o);if(c.id===h[3])return f([c],o)}try{return f(e.querySelectorAll(t),o)}catch(i){}}else if(1===e.nodeType&&"object"!==e.nodeName.toLowerCase()){var p=e,a=e.getAttribute("id"),l=a||"__sizzle__",v=e.parentNode,y=/^\s*[+~]/.test(t);a?l=l.replace(/'/g,"\\$&"):e.setAttribute("id",l);y&&v&&(e=e.parentNode);try{if(!y||v)return f(e.querySelectorAll("[id='"+l+"'] "+t),o)}catch(i){}finally{a||p.removeAttribute("id")}}}return i(t,e,o,s)},i)n[e]=i[e];t=null}}(),function(){var t=r.documentElement,i=t.matchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.msMatchesSelector,e,f;if(i){e=!i.call(r.createElement("div"),"div");f=!1;try{i.call(r.documentElement,"[test!='']:sizzle")}catch(t){f=!0}n.matchesSelector=function(t,r){if(r=r.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!n.isXML(t))try{if(f||!u.match.PSEUDO.test(r)&&!/!=/.test(r)){var o=i.call(t,r);if(o||!e||t.document&&11!==t.document.nodeType)return o}}catch(t){}return n(r,null,null,[t]).length>0}}}(),function(){var n=r.createElement("div");n.innerHTML="<div class='test e'><\/div><div class='test'><\/div>";n.getElementsByClassName&&0!==n.getElementsByClassName("e").length&&(n.lastChild.className="e",1!==n.getElementsByClassName("e").length&&(u.order.splice(1,0,"CLASS"),u.find.CLASS=function(n,t,i){if(void 0!==t.getElementsByClassName&&!i)return t.getElementsByClassName(n[1])},n=null))}();n.contains=r.documentElement.contains?function(n,t){return n!==t&&(!n.contains||n.contains(t))}:r.documentElement.compareDocumentPosition?function(n,t){return!!(16&n.compareDocumentPosition(t))}:function(){return!1};n.isXML=function(n){var t=(n?n.ownerDocument||n:0).documentElement;return!!t&&"HTML"!==t.nodeName};g=function(t,i,r){for(var f,c,e,o=[],s="",h=i.nodeType?[i]:i;e=u.match.PSEUDO.exec(t);)s+=e[0],t=t.replace(u.match.PSEUDO,"");for(t=u.relative[t]?t+"*":t,f=0,c=h.length;f<c;f++)n(t,h[f],o,r);return n.filter(s,o)};n.attr=i.attr;n.selectors.attrMap={};i.find=n;i.expr=n.selectors;i.expr[":"]=i.expr.filters;i.unique=n.uniqueSort;i.text=n.getText;i.isXMLDoc=n.isXML;i.contains=n.contains}();var ou=/Until$/,su=/^(?:parents|prevUntil|prevAll)/,hu=/,/,cu=/^.[^:#\[\.,]*$/,lu=Array.prototype.slice,ui=i.expr.match.POS,au={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({find:function(n){var t,f,s=this,o,u,e,r;if("string"!=typeof n)return i(n).filter(function(){for(t=0,f=s.length;t<f;t++)if(i.contains(s[t],this))return!0});for(r=this.pushStack("","find",n),t=0,f=this.length;t<f;t++)if(o=r.length,i.find(n,this[t],r),t>0)for(u=o;u<r.length;u++)for(e=0;e<o;e++)if(r[e]===r[u]){r.splice(u--,1);break}return r},has:function(n){var t=i(n);return this.filter(function(){for(var n=0,r=t.length;n<r;n++)if(i.contains(this,t[n]))return!0})},not:function(n){return this.pushStack(ei(this,n,!1),"not",n)},filter:function(n){return this.pushStack(ei(this,n,!0),"filter",n)},is:function(n){return!!n&&("string"==typeof n?ui.test(n)?i(n,this.context).index(this[0])>=0:i.filter(n,this).length>0:this.filter(n).length>0)},closest:function(n,t){var u,s,f=[],r=this[0],e,o;if(i.isArray(n)){for(e=1;r&&r.ownerDocument&&r!==t;){for(u=0;u<n.length;u++)i(r).is(n[u])&&f.push({selector:n[u],elem:r,level:e});r=r.parentNode;e++}return f}for(o=ui.test(n)||"string"!=typeof n?i(n,t||this.context):0,u=0,s=this.length;u<s;u++)for(r=this[u];r;){if(o?o.index(r)>-1:i.find.matchesSelector(r,n)){f.push(r);break}if(!(r=r.parentNode)||!r.ownerDocument||r===t||11===r.nodeType)break}return f=f.length>1?i.unique(f):f,this.pushStack(f,"closest",n)},index:function(n){return n?"string"==typeof n?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(n,t){var u="string"==typeof n?i(n,t):i.makeArray(n&&n.nodeType?[n]:n),r=i.merge(this.get(),u);return this.pushStack(fi(u[0])||fi(r[0])?r:i.unique(r))},andSelf:function(){return this.add(this.prevObject)}});i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return i.nth(n,2,"nextSibling")},prev:function(n){return i.nth(n,2,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling(n.parentNode.firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return i.nodeName(n,"iframe")?n.contentDocument||n.contentWindow.document:i.makeArray(n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return ou.test(n)||(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),f=this.length>1&&!au[n]?i.unique(f):f,(this.length>1||hu.test(u))&&su.test(n)&&(f=f.reverse()),this.pushStack(f,n,lu.call(arguments).join(","))}});i.extend({filter:function(n,t,r){return r&&(n=":not("+n+")"),1===t.length?i.find.matchesSelector(t[0],n)?[t[0]]:[]:i.find.matches(n,t)},dir:function(n,r,u){for(var e=[],f=n[r];f&&9!==f.nodeType&&(u===t||1!==f.nodeType||!i(f).is(u));)1===f.nodeType&&e.push(f),f=f[r];return e},nth:function(n,t,i){t=t||1;for(var r=0;n&&(1!==n.nodeType||++r!==t);n=n[i]);return n},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i}});var si="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",vu=/ jQuery\d+="(?:\d+|null)"/g,ft=/^\s+/,hi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ci=/<([\w:]+)/,yu=/<tbody/i,pu=/<|&#?\w+;/,wu=/<(?:script|style)/i,bu=/<(?:script|object|embed|option|style)/i,li=new RegExp("<(?:"+si+")","i"),ai=/checked\s*(?:[^=]|=\s*.checked.)/i,ku=/\/(java|ecma)script/i,du=/^\s*<!(?:\[CDATA\[|\-\-)/,u={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,"",""]},vi=oi(r);u.optgroup=u.option;u.tbody=u.tfoot=u.colgroup=u.caption=u.thead;u.th=u.td;i.support.htmlSerialize||(u._default=[1,"div<div>","<\/div>"]);i.fn.extend({text:function(n){return i.isFunction(n)?this.each(function(t){var r=i(this);r.text(n.call(this,t,r.text()))}):"object"!=typeof n&&n!==t?this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(n)):i.text(this)},wrapAll:function(n){if(i.isFunction(n))return this.each(function(t){i(this).wrapAll(n.call(this,t))});if(this[0]){var t=i(n,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]);t.map(function(){for(var n=this;n.firstChild&&1===n.firstChild.nodeType;)n=n.firstChild;return n}).append(this)}return this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(n){1===this.nodeType&&this.appendChild(n)})},prepend:function(){return this.domManip(arguments,!0,function(n){1===this.nodeType&&this.insertBefore(n,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this)});if(arguments.length){var n=i.clean(arguments);return n.push.apply(n,this.toArray()),this.pushStack(n,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this.nextSibling)});if(arguments.length){var n=this.pushStack(this,"after",arguments);return n.push.apply(n,i.clean(arguments)),n}},remove:function(n,t){for(var r,u=0;null!=(r=this[u]);u++)n&&!i.filter(n,[r]).length||(t||1!==r.nodeType||(i.cleanData(r.getElementsByTagName("*")),i.cleanData([r])),r.parentNode&&r.parentNode.removeChild(r));return this},empty:function(){for(var n,t=0;null!=(n=this[t]);t++)for(1===n.nodeType&&i.cleanData(n.getElementsByTagName("*"));n.firstChild;)n.removeChild(n.firstChild);return this},clone:function(n,t){return n=null!=n&&n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){if(n===t)return this[0]&&1===this[0].nodeType?this[0].innerHTML.replace(vu,""):null;if("string"!=typeof n||wu.test(n)||!i.support.leadingWhitespace&&ft.test(n)||u[(ci.exec(n)||["",""])[1].toLowerCase()])i.isFunction(n)?this.each(function(t){var r=i(this);r.html(n.call(this,t,r.html()))}):this.empty().append(n);else{n=n.replace(hi,"<$1><\/$2>");try{for(var r=0,f=this.length;r<f;r++)1===this[r].nodeType&&(i.cleanData(this[r].getElementsByTagName("*")),this[r].innerHTML=n)}catch(t){this.empty().append(n)}}return this},replaceWith:function(n){return this[0]&&this[0].parentNode?i.isFunction(n)?this.each(function(t){var r=i(this),u=r.html();r.replaceWith(n.call(this,t,u))}):("string"!=typeof n&&(n=i(n).detach()),this.each(function(){var t=this.nextSibling,r=this.parentNode;i(this).remove();t?i(t).before(n):i(r).append(n)})):this.length?this.pushStack(i(i.isFunction(n)?n():n),"replaceWith",n):this},detach:function(n){return this.remove(n,!0)},domManip:function(n,r,u){var v,c,f,s,e,o=n[0],l=[];if(!i.support.checkClone&&3===arguments.length&&"string"==typeof o&&ai.test(o))return this.each(function(){i(this).domManip(n,r,u,!0)});if(i.isFunction(o))return this.each(function(f){var e=i(this);n[0]=o.call(this,f,r?e.html():t);e.domManip(n,r,u)});if(this[0]){if(s=o&&o.parentNode,c=1===(f=(v=i.support.parentNode&&s&&11===s.nodeType&&s.childNodes.length===this.length?{fragment:s}:i.buildFragment(n,this,l)).fragment).childNodes.length?f=f.firstChild:f.firstChild){r=r&&i.nodeName(c,"tr");for(var h=0,a=this.length,y=a-1;h<a;h++)u.call(r?(e=this[h],c,i.nodeName(e,"table")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e):this[h],v.cacheable||a>1&&h<y?i.clone(f,!0,!0):f)}l.length&&i.each(l,gu)}return this}});i.buildFragment=function(n,t,u){var e,h,s,o,f=n[0];return t&&t[0]&&(o=t[0].ownerDocument||t[0]),o.createDocumentFragment||(o=r),!(1===n.length&&"string"==typeof f&&f.length<512&&o===r&&"<"===f.charAt(0))||bu.test(f)||!i.support.checkClone&&ai.test(f)||!i.support.html5Clone&&li.test(f)||(h=!0,(s=i.fragments[f])&&1!==s&&(e=s)),e||(e=o.createDocumentFragment(),i.clean(n,o,e,u)),h&&(i.fragments[f]=s?e:1),{fragment:e,cacheable:h}};i.fragments={};i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(r){var e=[],u=i(r),o=1===this.length&&this[0].parentNode,f,h,s;if(o&&11===o.nodeType&&1===o.childNodes.length&&1===u.length)return u[t](this[0]),this;for(f=0,h=u.length;f<h;f++)s=(f>0?this.clone(!0):this).get(),i(u[f])[t](s),e=e.concat(s);return this.pushStack(e,n,u.selector)}});i.extend({clone:function(n,t,u){var e,o,f,s=i.support.html5Clone||!li.test("<"+n.nodeName)?n.cloneNode(!0):function(n){var t=r.createElement("div");return vi.appendChild(t),t.innerHTML=n.outerHTML,t.firstChild}(n);if(!(i.support.noCloneEvent&&i.support.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(pi(n,s),e=k(n),o=k(s),f=0;e[f];++f)o[f]&&pi(e[f],o[f]);if(t&&(yi(n,s),u))for(e=k(n),o=k(s),f=0;e[f];++f)yi(e[f],o[f]);return e=o=null,s},clean:function(n,t,f,e){var p,c,o,s,h,y,a,b,k;for(void 0===(t=t||r).createElement&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||r),s=[],h=0;null!=(o=n[h]);h++)if("number"==typeof o&&(o+=""),o){if("string"==typeof o)if(pu.test(o)){o=o.replace(hi,"<$1><\/$2>");var w=(ci.exec(o)||["",""])[1].toLowerCase(),v=u[w]||u._default,d=v[0],l=t.createElement("div");for(t===r?vi.appendChild(l):oi(t).appendChild(l),l.innerHTML=v[1]+o+v[2];d--;)l=l.lastChild;if(!i.support.tbody)for(y=yu.test(o),a="table"!==w||y?"<table>"!==v[1]||y?[]:l.childNodes:l.firstChild&&l.firstChild.childNodes,c=a.length-1;c>=0;--c)i.nodeName(a[c],"tbody")&&!a[c].childNodes.length&&a[c].parentNode.removeChild(a[c]);!i.support.leadingWhitespace&&ft.test(o)&&l.insertBefore(t.createTextNode(ft.exec(o)[0]),l.firstChild);o=l.childNodes}else o=t.createTextNode(o);if(!i.support.appendChecked)if(o[0]&&"number"==typeof(b=o.length))for(c=0;c<b;c++)bi(o[c]);else bi(o);o.nodeType?s.push(o):s=i.merge(s,o)}if(f)for(p=function(n){return!n.type||ku.test(n.type)},h=0;s[h];h++)e&&i.nodeName(s[h],"script")&&(!s[h].type||"text/javascript"===s[h].type.toLowerCase())?e.push(s[h].parentNode?s[h].parentNode.removeChild(s[h]):s[h]):(1===s[h].nodeType&&(k=i.grep(s[h].getElementsByTagName("script"),p),s.splice.apply(s,[h+1,0].concat(k))),f.appendChild(s[h]));return s},cleanData:function(n){for(var u,r,f,t,e=i.cache,s=i.event.special,h=i.support.deleteExpando,o=0;null!=(t=n[o]);o++)if((!t.nodeName||!i.noData[t.nodeName.toLowerCase()])&&(f=t[i.expando])){if((r=e[f])&&r.events){for(u in r.events)s[u]?i.event.remove(t,u):i.removeEvent(t,u,r.handle);r.handle&&(r.handle.elem=null)}h?delete t[i.expando]:t.removeAttribute&&t.removeAttribute(i.expando);delete e[f]}}});var h,ki,di,et=/alpha\([^)]*\)/i,nf=/opacity=([^)]*)/,tf=/([A-Z]|^ms)/g,gi=/^-?\d+(?:px)?$/i,rf=/^-?\d/,uf=/^([\-+])=([\-+.\de]+)/,ff={position:"absolute",visibility:"hidden",display:"block"},ef=["Left","Right"],of=["Top","Bottom"];i.fn.css=function(n,r){return 2===arguments.length&&r===t?this:i.access(this,n,r,!0,function(n,r,u){return u!==t?i.style(n,r,u):i.css(n,r)})};i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=h(n,"opacity","opacity");return""===i?"1":i}return n.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:i.support.cssFloat?"cssFloat":"styleFloat"},style:function(n,r,u,f){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var o,s,h=i.camelCase(r),c=n.style,e=i.cssHooks[h];if(r=i.cssProps[h]||h,u===t)return e&&"get"in e&&(o=e.get(n,!1,f))!==t?o:c[r];if(!("string"==(s=typeof u)&&(o=uf.exec(u))&&(u=+(o[1]+1)*+o[2]+parseFloat(i.css(n,r)),s="number"),null==u||"number"===s&&isNaN(u)||("number"!==s||i.cssNumber[h]||(u+="px"),e&&"set"in e&&(u=e.set(n,u))===t)))try{c[r]=u}catch(n){}}},css:function(n,r,u){var e,f;return r=i.camelCase(r),f=i.cssHooks[r],"cssFloat"===(r=i.cssProps[r]||r)&&(r="float"),f&&"get"in f&&(e=f.get(n,!0,u))!==t?e:h?h(n,r):void 0},swap:function(n,t,i){var u={},r;for(r in t)u[r]=n.style[r],n.style[r]=t[r];for(r in i.call(n),t)n.style[r]=u[r]}});i.curCSS=i.css;i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){var f;if(r)return 0!==n.offsetWidth?nr(n,t,u):(i.swap(n,ff,function(){f=nr(n,t,u)}),f)},set:function(n,t){return gi.test(t)?(t=parseFloat(t))>=0?t+"px":void 0:t}}});i.support.opacity||(i.cssHooks.opacity={get:function(n,t){return nf.test((t&&n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(n,t){var r=n.style,u=n.currentStyle,e=i.isNumeric(t)?"alpha(opacity="+100*t+")":"",f=u&&u.filter||r.filter||"";r.zoom=1;t>=1&&""===i.trim(f.replace(et,""))&&(r.removeAttribute("filter"),u&&!u.filter)||(r.filter=et.test(f)?f.replace(et,e):f+" "+e)}});i(function(){i.support.reliableMarginRight||(i.cssHooks.marginRight={get:function(n,t){var r;return i.swap(n,{display:"inline-block"},function(){r=t?h(n,"margin-right","marginRight"):n.style.marginRight}),r}})});r.defaultView&&r.defaultView.getComputedStyle&&(ki=function(n,t){var r,u,f;return t=t.replace(tf,"-$1").toLowerCase(),(u=n.ownerDocument.defaultView)&&(f=u.getComputedStyle(n,null))&&(""!==(r=f.getPropertyValue(t))||i.contains(n.ownerDocument.documentElement,n)||(r=i.style(n,t))),r});r.documentElement.currentStyle&&(di=function(n,t){var f,u,e,i=n.currentStyle&&n.currentStyle[t],r=n.style;return null===i&&r&&(e=r[t])&&(i=e),!gi.test(i)&&rf.test(i)&&(f=r.left,(u=n.runtimeStyle&&n.runtimeStyle.left)&&(n.runtimeStyle.left=n.currentStyle.left),r.left="fontSize"===t?"1em":i||0,i=r.pixelLeft+"px",r.left=f,u&&(n.runtimeStyle.left=u)),""===i?"auto":i});h=ki||di;i.expr&&i.expr.filters&&(i.expr.filters.hidden=function(n){var t=n.offsetWidth,r=n.offsetHeight;return 0===t&&0===r||!i.support.reliableHiddenOffsets&&"none"===(n.style&&n.style.display||i.css(n,"display"))},i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)});var c,o,sf=/%20/g,hf=/\[\]$/,tr=/\r?\n/g,cf=/#.*$/,lf=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,af=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,vf=/^(?:GET|HEAD)$/,yf=/^\/\//,ir=/\?/,pf=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,wf=/^(?:select|textarea)/i,rr=/\s+/,bf=/([?&])_=[^&]*/,ur=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,fr=i.fn.load,ot={},er={},or=["*/"]+["*"];try{c=kr.href}catch(n){(c=r.createElement("a")).href="";c=c.href}o=ur.exec(c.toLowerCase())||[];i.fn.extend({load:function(n,r,u){var f,e,o,s;return"string"!=typeof n&&fr?fr.apply(this,arguments):this.length?(f=n.indexOf(" "),f>=0&&(e=n.slice(f,n.length),n=n.slice(0,f)),o="GET",r&&(i.isFunction(r)?(u=r,r=t):"object"==typeof r&&(r=i.param(r,i.ajaxSettings.traditional),o="POST")),s=this,i.ajax({url:n,type:o,dataType:"html",data:r,complete:function(n,t,r){r=n.responseText;n.isResolved()&&(n.done(function(n){r=n}),s.html(e?i("<div>").append(r.replace(pf,"")).find(e):r));u&&s.each(u,[r,t,n])}}),this):this},serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?i.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||wf.test(this.nodeName)||af.test(this.type))}).map(function(n,t){var r=i(this).val();return null==r?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(tr,"\r\n")}}):{name:t.name,value:r.replace(tr,"\r\n")}}).get()}});i.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(n,t){i.fn[t]=function(n){return this.on(t,n)}});i.each(["get","post"],function(n,r){i[r]=function(n,u,f,e){return i.isFunction(u)&&(e=e||f,f=u,u=t),i.ajax({type:r,url:n,data:u,success:f,dataType:e})}});i.extend({getScript:function(n,r){return i.get(n,t,r,"script")},getJSON:function(n,t,r){return i.get(n,t,r,"json")},ajaxSetup:function(n,t){return t?hr(n,i.ajaxSettings):(t=n,n=i.ajaxSettings),hr(n,t),n},ajaxSettings:{url:c,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(o[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":or},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":n.String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:sr(ot),ajaxTransport:sr(er),ajax:function(n,r){function w(n,r,o,c){if(2!==e){e=2;k&&clearTimeout(k);a=t;b=c||"";f.readyState=n>0?4:0;var y,d,w,tt,it,l=r,ut=o?function(n,i,r){var o,u,e,s,h=n.contents,f=n.dataTypes,c=n.responseFields;for(u in c)u in r&&(i[c[u]]=r[u]);for(;"*"===f[0];)f.shift(),o===t&&(o=n.mimeType||i.getResponseHeader("content-type"));if(o)for(u in h)if(h[u]&&h[u].test(o)){f.unshift(u);break}if(f[0]in r)e=f[0];else{for(u in r){if(!f[0]||n.converters[u+" "+f[0]]){e=u;break}s||(s=u)}e=e||s}if(e)return e!==f[0]&&f.unshift(e),r[e]}(u,f,o):t;if(n>=200&&n<300||304===n)if(u.ifModified&&((tt=f.getResponseHeader("Last-Modified"))&&(i.lastModified[s]=tt),(it=f.getResponseHeader("Etag"))&&(i.etag[s]=it)),304===n)l="notmodified",y=!0;else try{d=function(n,r){n.dataFilter&&(r=n.dataFilter(r,n.dataType));for(var l,a,e,y,u,o,s,v=n.dataTypes,h={},p=v.length,f=v[0],c=1;c<p;c++){if(1===c)for(l in n.converters)"string"==typeof l&&(h[l.toLowerCase()]=n.converters[l]);if(e=f,"*"===(f=v[c]))f=e;else if("*"!==e&&e!==f){if(!(u=h[y=e+" "+f]||h["* "+f]))for(o in s=t,h)if(((a=o.split(" "))[0]===e||"*"===a[0])&&(s=h[a[1]+" "+f])){!0===(o=h[o])?u=s:!0===s&&(u=o);break}u||s||i.error("No conversion from "+y.replace(" "," to "));!0!==u&&(r=u?u(r):s(o(r)))}}return r}(u,ut);l="success";y=!0}catch(n){l="parsererror";w=n}else w=l,l&&!n||(l="error",n<0&&(n=0));f.status=n;f.statusText=""+(r||l);y?nt.resolveWith(h,[d,l,f]):nt.rejectWith(h,[f,l,w]);f.statusCode(p);p=t;v&&g.trigger("ajax"+(y?"Success":"Error"),[f,u,y?d:w]);rt.fireWith(h,[f,l]);v&&(g.trigger("ajaxComplete",[f,u]),--i.active||i.event.trigger("ajaxStop"))}}var tt,it;"object"==typeof n&&(r=n,n=t);r=r||{};var s,b,y,a,k,c,v,l,u=i.ajaxSetup({},r),h=u.context||u,g=h!==u&&(h.nodeType||h instanceof i)?i(h):i.event,nt=i.Deferred(),rt=i.Callbacks("once memory"),p=u.statusCode||{},ut={},ft={},e=0,f={readyState:0,setRequestHeader:function(n,t){if(!e){var i=n.toLowerCase();n=ft[i]=ft[i]||n;ut[n]=t}return this},getAllResponseHeaders:function(){return 2===e?b:null},getResponseHeader:function(n){var i;if(2===e){if(!y)for(y={};i=lf.exec(b);)y[i[1].toLowerCase()]=i[2];i=y[n.toLowerCase()]}return i===t?null:i},overrideMimeType:function(n){return e||(u.mimeType=n),this},abort:function(n){return n=n||"abort",a&&a.abort(n),w(0,n),this}};if(nt.promise(f),f.success=f.done,f.error=f.fail,f.complete=rt.add,f.statusCode=function(n){var t;if(n)if(e<2)for(t in n)p[t]=[p[t],n[t]];else t=n[f.status],f.then(t,t);return this},u.url=((n||u.url)+"").replace(cf,"").replace(yf,o[1]+"//"),u.dataTypes=i.trim(u.dataType||"*").toLowerCase().split(rr),null==u.crossDomain&&(c=ur.exec(u.url.toLowerCase()),u.crossDomain=!(!c||c[1]==o[1]&&c[2]==o[2]&&(c[3]||("http:"===c[1]?80:443))==(o[3]||("http:"===o[1]?80:443)))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=i.param(u.data,u.traditional)),d(ot,u,r,f),2===e)return!1;(v=u.global,u.type=u.type.toUpperCase(),u.hasContent=!vf.test(u.type),v&&0==i.active++&&i.event.trigger("ajaxStart"),u.hasContent||(u.data&&(u.url+=(ir.test(u.url)?"&":"?")+u.data,delete u.data),s=u.url,!1!==u.cache))||(tt=i.now(),it=u.url.replace(bf,"$1_="+tt),u.url=it+(it===u.url?(ir.test(u.url)?"&":"?")+"_="+tt:""));for(l in(u.data&&u.hasContent&&!1!==u.contentType||r.contentType)&&f.setRequestHeader("Content-Type",u.contentType),u.ifModified&&(s=s||u.url,i.lastModified[s]&&f.setRequestHeader("If-Modified-Since",i.lastModified[s]),i.etag[s]&&f.setRequestHeader("If-None-Match",i.etag[s])),f.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+or+"; q=0.01":""):u.accepts["*"]),u.headers)f.setRequestHeader(l,u.headers[l]);if(u.beforeSend&&(!1===u.beforeSend.call(h,f,u)||2===e))return f.abort(),!1;for(l in{success:1,error:1,complete:1})f[l](u[l]);if(a=d(er,u,r,f)){f.readyState=1;v&&g.trigger("ajaxSend",[f,u]);u.async&&u.timeout>0&&(k=setTimeout(function(){f.abort("timeout")},u.timeout));try{e=1;a.send(ut,w)}catch(n){if(!(e<2))throw n;w(-1,n)}}else w(-1,"No Transport");return f},param:function(n,r){var u=[],e=function(n,t){t=i.isFunction(t)?t():t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)},f;if(r===t&&(r=i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(f in n)st(f,n[f],r,e);return u.join("&").replace(sf,"+")}});i.extend({active:0,lastModified:{},etag:{}});cr=i.now();v=/(\=)\?(&|$)|\?\?/i;i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return i.expando+"_"+cr++}});i.ajaxPrefilter("json jsonp",function(t,r,u){var h="application/x-www-form-urlencoded"===t.contentType&&"string"==typeof t.data;if("jsonp"===t.dataTypes[0]||!1!==t.jsonp&&(v.test(t.url)||h&&v.test(t.data))){var o,f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,c=n[f],e=t.url,s=t.data,l="$1"+f+"$2";return!1!==t.jsonp&&(e=e.replace(v,l),t.url===e&&(h&&(s=s.replace(v,l)),t.data===s&&(e+=(/\?/.test(e)?"&":"?")+t.jsonp+"="+f))),t.url=e,t.data=s,n[f]=function(n){o=[n]},u.always(function(){n[f]=c;o&&i.isFunction(c)&&n[f](o[0])}),t.converters["script json"]=function(){return o||i.error(f+" was not called"),o[0]},t.dataTypes[0]="json","script"}});i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(n){return i.globalEval(n),n}}});i.ajaxPrefilter("script",function(n){n.cache===t&&(n.cache=!1);n.crossDomain&&(n.type="GET",n.global=!1)});i.ajaxTransport("script",function(n){if(n.crossDomain){var i,u=r.head||r.getElementsByTagName("head")[0]||r.documentElement;return{send:function(f,e){(i=r.createElement("script")).async="async";n.scriptCharset&&(i.charset=n.scriptCharset);i.src=n.url;i.onload=i.onreadystatechange=function(n,r){(r||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,u&&i.parentNode&&u.removeChild(i),i=t,r||e(200,"success"))};u.insertBefore(i,u.firstChild)},abort:function(){i&&i.onload(0,1)}}}});nt=!!n.ActiveXObject&&function(){for(var n in l)l[n](0,1)};lr=0;i.ajaxSettings.xhr=n.ActiveXObject?function(){return!this.isLocal&&ar()||function(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(n){}}()}:ar;g=i.ajaxSettings.xhr();i.extend(i.support,{ajax:!!g,cors:!!g&&"withCredentials"in g});i.support.ajax&&i.ajaxTransport(function(r){var u;if(!r.crossDomain||i.support.cors)return{send:function(f,e){var h,s,o=r.xhr();if(r.username?o.open(r.type,r.url,r.async,r.username,r.password):o.open(r.type,r.url,r.async),r.xhrFields)for(s in r.xhrFields)o[s]=r.xhrFields[s];r.mimeType&&o.overrideMimeType&&o.overrideMimeType(r.mimeType);r.crossDomain||f["X-Requested-With"]||(f["X-Requested-With"]="XMLHttpRequest");try{for(s in f)o.setRequestHeader(s,f[s])}catch(n){}o.send(r.hasContent&&r.data||null);u=function(n,f){var s,a,y,c,v;try{if(u&&(f||4===o.readyState))if(u=t,h&&(o.onreadystatechange=i.noop,nt&&delete l[h]),f)4!==o.readyState&&o.abort();else{s=o.status;y=o.getAllResponseHeaders();c={};(v=o.responseXML)&&v.documentElement&&(c.xml=v);c.text=o.responseText;try{a=o.statusText}catch(n){a=""}s||!r.isLocal||r.crossDomain?1223===s&&(s=204):s=c.text?200:404}}catch(n){f||e(-1,n)}c&&e(s,a,c,y)};r.async&&4!==o.readyState?(h=++lr,nt&&(l||(l={},i(n).unload(nt)),l[h]=u),o.onreadystatechange=u):u()},abort:function(){u&&u(0,1)}}});var e,y,tt,it,ht={},kf=/^(?:toggle|show|hide)$/,df=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,vr=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];i.fn.extend({show:function(n,t,r){var u,e,f,o;if(n||0===n)return this.animate(a("show",3),n,t,r);for(f=0,o=this.length;f<o;f++)(u=this[f]).style&&(e=u.style.display,i._data(u,"olddisplay")||"none"!==e||(e=u.style.display=""),""===e&&"none"===i.css(u,"display")&&i._data(u,"olddisplay",pr(u.nodeName)));for(f=0;f<o;f++)(u=this[f]).style&&(""!==(e=u.style.display)&&"none"!==e||(u.style.display=i._data(u,"olddisplay")||""));return this},hide:function(n,t,r){if(n||0===n)return this.animate(a("hide",3),n,t,r);for(var f,e,u=0,o=this.length;u<o;u++)(f=this[u]).style&&("none"===(e=i.css(f,"display"))||i._data(f,"olddisplay")||i._data(f,"olddisplay",e));for(u=0;u<o;u++)this[u].style&&(this[u].style.display="none");return this},_toggle:i.fn.toggle,toggle:function(n,t,r){var u="boolean"==typeof n;return i.isFunction(n)&&i.isFunction(t)?this._toggle.apply(this,arguments):null==n||u?this.each(function(){var t=u?n:i(this).is(":hidden");i(this)[t?"show":"hide"]()}):this.animate(a("toggle",3),n,t,r),this},fadeTo:function(n,t,i,r){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,r,u){function e(){!1===f.queue&&i._mark(this);var e,t,r,o,h,s,c,l,a,u=i.extend({},f),y=1===this.nodeType,v=y&&i(this).is(":hidden");for(r in u.animatedProperties={},n){if(r!==(e=i.camelCase(r))&&(n[e]=n[r],delete n[r]),t=n[e],i.isArray(t)?(u.animatedProperties[e]=t[1],t=n[e]=t[0]):u.animatedProperties[e]=u.specialEasing&&u.specialEasing[e]||u.easing||"swing","hide"===t&&v||"show"===t&&!v)return u.complete.call(this);y&&("height"===e||"width"===e)&&(u.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===i.css(this,"display")&&"none"===i.css(this,"float")&&(i.support.inlineBlockNeedsLayout&&"inline"!==pr(this.nodeName)?this.style.zoom=1:this.style.display="inline-block"))}for(r in null!=u.overflow&&(this.style.overflow="hidden"),n)o=new i.fx(this,u,r),t=n[r],kf.test(t)?(a=i._data(this,"toggle"+r)||("toggle"===t?v?"show":"hide":0))?(i._data(this,"toggle"+r,"show"===a?"hide":"show"),o[a]()):o[t]():(h=df.exec(t),s=o.cur(),h?(c=parseFloat(h[2]),"px"!==(l=h[3]||(i.cssNumber[r]?"":"px"))&&(i.style(this,r,(c||1)+l),s=(c||1)/o.cur()*s,i.style(this,r,s+l)),h[1]&&(c=("-="===h[1]?-1:1)*c+s),o.custom(s,c,l)):o.custom(s,t,""));return!0}var f=i.speed(t,r,u);return i.isEmptyObject(n)?this.each(f.complete,[!1]):(n=i.extend({},n),!1===f.queue?this.each(e):this.queue(f.queue,e))},stop:function(n,r,u){return"string"!=typeof n&&(u=r,r=n,n=t),r&&!1!==n&&this.queue(n||"fx",[]),this.each(function(){function o(n,t,r){var f=t[r];i.removeData(n,r,!0);f.stop(u)}var t,e=!1,f=i.timers,r=i._data(this);if(u||i._unmark(!0,this),null==n)for(t in r)r[t]&&r[t].stop&&t.indexOf(".run")===t.length-4&&o(this,r,t);else r[t=n+".run"]&&r[t].stop&&o(this,r,t);for(t=f.length;t--;)f[t].elem!==this||null!=n&&f[t].queue!==n||(u?f[t](!0):f[t].saveState(),e=!0,f.splice(t,1));u&&e||i.dequeue(this,n)})}});i.each({slideDown:a("show",1),slideUp:a("hide",1),slideToggle:a("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.extend({speed:function(n,t,r){var u=n&&"object"==typeof n?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return u.duration=i.fx.off?0:"number"==typeof u.duration?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,null!=u.queue&&!0!==u.queue||(u.queue="fx"),u.old=u.complete,u.complete=function(n){i.isFunction(u.old)&&u.old.call(this);u.queue?i.dequeue(this,u.queue):!1!==n&&i._unmark(this)},u},easing:{linear:function(n,t,i,r){return i+r*n},swing:function(n,t,i,r){return(-Math.cos(n*Math.PI)/2+.5)*r+i}},timers:[],fx:function(n,t,i){this.options=t;this.elem=n;this.prop=i;t.orig=t.orig||{}}});i.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(i.fx.step[this.prop]||i.fx.step._default)(this)},cur:function(){if(null!=this.elem[this.prop]&&(!this.elem.style||null==this.elem.style[this.prop]))return this.elem[this.prop];var t,n=i.css(this.elem,this.prop);return isNaN(t=parseFloat(n))?n&&"auto"!==n?n:0:t},custom:function(n,r,u){function e(n){return f.step(n)}var f=this,o=i.fx;this.startTime=it||yr();this.end=r;this.now=this.start=n;this.pos=this.state=0;this.unit=u||this.unit||(i.cssNumber[this.prop]?"":"px");e.queue=this.options.queue;e.elem=this.elem;e.saveState=function(){f.options.hide&&i._data(f.elem,"fxshow"+f.prop)===t&&i._data(f.elem,"fxshow"+f.prop,f.start)};e()&&i.timers.push(e)&&!tt&&(tt=setInterval(o.tick,o.interval))},show:function(){var n=i._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=n||i.style(this.elem,this.prop);this.options.show=!0;n!==t?this.custom(this.cur(),n):this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur());i(this.elem).show()},hide:function(){this.options.orig[this.prop]=i._data(this.elem,"fxshow"+this.prop)||i.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(n){var r,f,o,e=it||yr(),s=!0,u=this.elem,t=this.options;if(n||e>=t.duration+this.startTime){for(r in this.now=this.end,this.pos=this.state=1,this.update(),t.animatedProperties[this.prop]=!0,t.animatedProperties)!0!==t.animatedProperties[r]&&(s=!1);if(s){if(null==t.overflow||i.support.shrinkWrapBlocks||i.each(["","X","Y"],function(n,i){u.style["overflow"+i]=t.overflow[n]}),t.hide&&i(u).hide(),t.hide||t.show)for(r in t.animatedProperties)i.style(u,r,t.orig[r]),i.removeData(u,"fxshow"+r,!0),i.removeData(u,"toggle"+r,!0);(o=t.complete)&&(t.complete=!1,o.call(u))}return!1}return t.duration==1/0?this.now=e:(f=e-this.startTime,this.state=f/t.duration,this.pos=i.easing[t.animatedProperties[this.prop]](this.state,f,0,1,t.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}};i.extend(i.fx,{tick:function(){for(var r,n=i.timers,t=0;t<n.length;t++)(r=n[t])()||n[t]!==r||n.splice(t--,1);n.length||i.fx.stop()},interval:13,stop:function(){clearInterval(tt);tt=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(n){i.style(n.elem,"opacity",n.now)},_default:function(n){n.elem.style&&null!=n.elem.style[n.prop]?n.elem.style[n.prop]=n.now+n.unit:n.elem[n.prop]=n.now}}});i.each(["width","height"],function(n,t){i.fx.step[t]=function(n){i.style(n.elem,t,Math.max(0,n.now)+n.unit)}});i.expr&&i.expr.filters&&(i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length});wr=/^t(?:able|d|h)$/i;ct=/^(?:body|html)$/i;i.fn.offset="getBoundingClientRect"in r.documentElement?function(n){var r,t=this[0],f,u;if(n)return this.each(function(t){i.offset.setOffset(this,n,t)});if(!t||!t.ownerDocument)return null;if(t===t.ownerDocument.body)return i.offset.bodyOffset(t);try{r=t.getBoundingClientRect()}catch(n){}if(f=t.ownerDocument,u=f.documentElement,!r||!i.contains(u,t))return r?{top:r.top,left:r.left}:{top:0,left:0};var e=f.body,o=lt(f),s=u.clientTop||e.clientTop||0,h=u.clientLeft||e.clientLeft||0,c=o.pageYOffset||i.support.boxModel&&u.scrollTop||e.scrollTop,l=o.pageXOffset||i.support.boxModel&&u.scrollLeft||e.scrollLeft;return{top:r.top+c-s,left:r.left+l-h}}:function(n){var t=this[0];if(n)return this.each(function(t){i.offset.setOffset(this,n,t)});if(!t||!t.ownerDocument)return null;if(t===t.ownerDocument.body)return i.offset.bodyOffset(t);for(var r,h=t.offsetParent,c=t.ownerDocument,l=c.documentElement,e=c.body,s=c.defaultView,o=s?s.getComputedStyle(t,null):t.currentStyle,u=t.offsetTop,f=t.offsetLeft;(t=t.parentNode)&&t!==e&&t!==l&&(!i.support.fixedPosition||"fixed"!==o.position);)r=s?s.getComputedStyle(t,null):t.currentStyle,u-=t.scrollTop,f-=t.scrollLeft,t===h&&(u+=t.offsetTop,f+=t.offsetLeft,!i.support.doesNotAddBorder||i.support.doesAddBorderForTableAndCells&&wr.test(t.nodeName)||(u+=parseFloat(r.borderTopWidth)||0,f+=parseFloat(r.borderLeftWidth)||0),h,h=t.offsetParent),i.support.subtractsBorderForOverflowNotVisible&&"visible"!==r.overflow&&(u+=parseFloat(r.borderTopWidth)||0,f+=parseFloat(r.borderLeftWidth)||0),o=r;return"relative"!==o.position&&"static"!==o.position||(u+=e.offsetTop,f+=e.offsetLeft),i.support.fixedPosition&&"fixed"===o.position&&(u+=Math.max(l.scrollTop,e.scrollTop),f+=Math.max(l.scrollLeft,e.scrollLeft)),{top:u,left:f}};i.offset={bodyOffset:function(n){var t=n.offsetTop,r=n.offsetLeft;return i.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(i.css(n,"marginTop"))||0,r+=parseFloat(i.css(n,"marginLeft"))||0),{top:t,left:r}},setOffset:function(n,t,r){var f=i.css(n,"position");"static"===f&&(n.style.position="relative");var e,o,s=i(n),h=s.offset(),c=i.css(n,"top"),l=i.css(n,"left"),u={},a={};("absolute"===f||"fixed"===f)&&i.inArray("auto",[c,l])>-1?(e=(a=s.position()).top,o=a.left):(e=parseFloat(c)||0,o=parseFloat(l)||0);i.isFunction(t)&&(t=t.call(n,r,h));null!=t.top&&(u.top=t.top-h.top+e);null!=t.left&&(u.left=t.left-h.left+o);"using"in t?t.using.call(n,u):s.css(u)}};i.fn.extend({position:function(){if(!this[0])return null;var u=this[0],n=this.offsetParent(),t=this.offset(),r=ct.test(n[0].nodeName)?{top:0,left:0}:n.offset();return t.top-=parseFloat(i.css(u,"marginTop"))||0,t.left-=parseFloat(i.css(u,"marginLeft"))||0,r.top+=parseFloat(i.css(n[0],"borderTopWidth"))||0,r.left+=parseFloat(i.css(n[0],"borderLeftWidth"))||0,{top:t.top-r.top,left:t.left-r.left}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||r.body;n&&!ct.test(n.nodeName)&&"static"===i.css(n,"position");)n=n.offsetParent;return n})}});i.each(["Left","Top"],function(n,r){var u="scroll"+r;i.fn[u]=function(r){var e,f;return r===t?(e=this[0])?(f=lt(e))?"pageXOffset"in f?f[n?"pageYOffset":"pageXOffset"]:i.support.boxModel&&f.document.documentElement[u]||f.document.body[u]:e[u]:null:this.each(function(){(f=lt(this))?f.scrollTo(n?i(f).scrollLeft():r,n?r:i(f).scrollTop()):this[u]=r})}});i.each(["Height","Width"],function(n,r){var u=r.toLowerCase();i.fn["inner"+r]=function(){var n=this[0];return n?n.style?parseFloat(i.css(n,u,"padding")):this[u]():null};i.fn["outer"+r]=function(n){var t=this[0];return t?t.style?parseFloat(i.css(t,u,n?"margin":"border")):this[u]():null};i.fn[u]=function(n){var f=this[0],e,o,s,h;if(!f)return null==n?null:this;if(i.isFunction(n))return this.each(function(t){var r=i(this);r[u](n.call(this,t,r[u]()))});if(!i.isWindow(f))return 9===f.nodeType?Math.max(f.documentElement["client"+r],f.body["scroll"+r],f.documentElement["scroll"+r],f.body["offset"+r],f.documentElement["offset"+r]):n===t?(e=i.css(f,u),o=parseFloat(e),i.isNumeric(o)?o:e):this.css(u,"string"==typeof n?n:n+"px");try{return s=f.document.documentElement["client"+r],h=f.document.body,"CSS1Compat"===f.document.compatMode&&s||h&&h["client"+r]||s}catch(n){}}});n.jQuery=n.$=i;"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return i})}(window);!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ClipboardJS=t():n.ClipboardJS=t()}(this,function(){return function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var i={};return t.m=n,t.c=i,t.d=function(n,i,r){t.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:r})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,i){var r,u;if((1&i&&(n=t(n)),8&i)||4&i&&"object"==typeof n&&n&&n.__esModule)return n;if(r=Object.create(null),t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&i&&"string"!=typeof n)for(u in n)t.d(r,u,function(t){return n[t]}.bind(null,u));return r},t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=0)}([function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function u(n,t){var i="data-clipboard-"+n;if(t.hasAttribute(i))return t.getAttribute(i)}var f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),o=r(i(1)),s=r(i(3)),h=r(i(4)),c=function(){function n(t,i){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return r.resolveOptions(i),r.listenClick(t),r}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(n,s.default),e(n,[{key:"resolveOptions",value:function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof n.action?n.action:this.defaultAction;this.target="function"==typeof n.target?n.target:this.defaultTarget;this.text="function"==typeof n.text?n.text:this.defaultText;this.container="object"===f(n.container)?n.container:document.body}},{key:"listenClick",value:function(n){var t=this;this.listener=h.default(n,"click",function(n){return t.onClick(n)})}},{key:"onClick",value:function(n){var t=n.delegateTarget||n.currentTarget;this.clipboardAction&&(this.clipboardAction=null);this.clipboardAction=new o.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(n){return u("action",n)}},{key:"defaultTarget",value:function(n){var t=u("target",n);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(n){return u("text",n)}},{key:"destroy",value:function(){this.listener.destroy();this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],i="string"==typeof n?[n]:n,t=!!document.queryCommandSupported;return i.forEach(function(n){t=t&&!!document.queryCommandSupported(n)}),t}}]),n}();n.exports=c},function(n,t,i){"use strict";var r,f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),o=i(2),u=(r=o)&&r.__esModule?r:{"default":r},s=function(){function n(t){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.resolveOptions(t);this.initSelection()}return e(n,[{key:"resolveOptions",value:function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action=n.action;this.container=n.container;this.emitter=n.emitter;this.target=n.target;this.text=n.text;this.trigger=n.trigger;this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,i="rtl"==document.documentElement.getAttribute("dir"),n;this.removeFake();this.fakeHandlerCallback=function(){return t.removeFake()};this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0;this.fakeElem=document.createElement("textarea");this.fakeElem.style.fontSize="12pt";this.fakeElem.style.border="0";this.fakeElem.style.padding="0";this.fakeElem.style.margin="0";this.fakeElem.style.position="absolute";this.fakeElem.style[i?"right":"left"]="-9999px";n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px";this.fakeElem.setAttribute("readonly","");this.fakeElem.value=this.text;this.container.appendChild(this.fakeElem);this.selectedText=u.default(this.fakeElem);this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null);this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=u.default(this.target);this.copyText()}},{key:"copyText",value:function(){var n=void 0;try{n=document.execCommand(this.action)}catch(t){n=!1}this.handleResult(n)}},{key:"handleResult",value:function(n){this.emitter.emit(n?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus();window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=n,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"');},get:function(){return this._action}},{key:"target",set:function(n){if(void 0!==n){if(!n||"object"!==(void 0===n?"undefined":f(n))||1!==n.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&n.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(n.hasAttribute("readonly")||n.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=n}},get:function(){return this._target}}]),n}();n.exports=s},function(n){n.exports=function(n){var t,r,i,u;return"SELECT"===n.nodeName?(n.focus(),t=n.value):"INPUT"===n.nodeName||"TEXTAREA"===n.nodeName?(r=n.hasAttribute("readonly"),r||n.setAttribute("readonly",""),n.select(),n.setSelectionRange(0,n.value.length),r||n.removeAttribute("readonly"),t=n.value):(n.hasAttribute("contenteditable")&&n.focus(),i=window.getSelection(),u=document.createRange(),u.selectNodeContents(n),i.removeAllRanges(),i.addRange(u),t=i.toString()),t}},function(n){function t(){}t.prototype={on:function(n,t,i){var r=this.e||(this.e={});return(r[n]||(r[n]=[])).push({fn:t,ctx:i}),this},once:function(n,t,i){function r(){u.off(n,r);t.apply(i,arguments)}var u=this;return r._=t,this.on(n,r,i)},emit:function(n){for(var r=[].slice.call(arguments,1),i=((this.e||(this.e={}))[n]||[]).slice(),t=0,u=i.length;t<u;t++)i[t].fn.apply(i[t].ctx,r);return this},off:function(n,t){var u=this.e||(this.e={}),r=u[n],f=[],i,e;if(r&&t)for(i=0,e=r.length;i<e;i++)r[i].fn!==t&&r[i].fn._!==t&&f.push(r[i]);return f.length?u[n]=f:delete u[n],this}};n.exports=t},function(n,t,i){var r=i(5),u=i(6);n.exports=function(n,t,i){if(!n&&!t&&!i)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(i))throw new TypeError("Third argument must be a Function");if(r.node(n))return s=t,h=i,(v=n).addEventListener(s,h),{destroy:function(){v.removeEventListener(s,h)}};if(r.nodeList(n))return f=n,e=t,o=i,Array.prototype.forEach.call(f,function(n){n.addEventListener(e,o)}),{destroy:function(){Array.prototype.forEach.call(f,function(n){n.removeEventListener(e,o)})}};if(r.string(n))return c=n,l=t,a=i,u(document.body,c,l,a);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var c,l,a,f,e,o,v,s,h}},function(n,t){t.node=function(n){return void 0!==n&&n instanceof HTMLElement&&1===n.nodeType};t.nodeList=function(n){var i=Object.prototype.toString.call(n);return void 0!==n&&("[object NodeList]"===i||"[object HTMLCollection]"===i)&&"length"in n&&(0===n.length||t.node(n[0]))};t.string=function(n){return"string"==typeof n||n instanceof String};t.fn=function(n){return"[object Function]"===Object.prototype.toString.call(n)}},function(n,t,i){function r(n,t,i,r,f){var e=function(n,t,i,r){return function(i){i.delegateTarget=u(i.target,t);i.delegateTarget&&r.call(n,i)}}.apply(this,arguments);return n.addEventListener(i,e,f),{destroy:function(){n.removeEventListener(i,e,f)}}}var u=i(7);n.exports=function(n,t,i,u,f){return"function"==typeof n.addEventListener?r.apply(null,arguments):"function"==typeof i?r.bind(null,document).apply(null,arguments):("string"==typeof n&&(n=document.querySelectorAll(n)),Array.prototype.map.call(n,function(n){return r(n,t,i,u,f)}))}},function(n){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}n.exports=function(n,t){for(;n&&9!==n.nodeType;){if("function"==typeof n.matches&&n.matches(t))return n;n=n.parentNode}}}])});!function(n,t,i){var r,u=n.getElementsByTagName(t)[0];n.getElementById(i)||((r=n.createElement(t)).id=i,r.src="https://connect.facebook.net/en_US/sdk.js#version=v2.8&appId="+strFaceBookKey+"&status=true&cookie=true&xfbml=true",u.parentNode.insertBefore(r,u))}(document,"script","facebook-jssdk");$(document).ready(function(){$(".to-top").addClass("hide");$(".categories-btn").hover(function(){$(".browse-cat-shadow").scrollTop(0)},function(){$(".browse-sub-type .row").addClass("d-none");$(".browse-cat-type-text").removeClass("active");$(".browse-cat-type a:first-child").addClass("active");$(".browse-sub-type").children().eq(0).removeClass("d-none")});$(".browse-cat-holder").hover(function(){$(".browse-cat-shadow").scrollTop(0)},function(){$(".browse-sub-type .row").addClass("d-none");$(".browse-cat-type-text").removeClass("active");$(".browse-cat-type a:first-child").addClass("active");$(".browse-sub-type").children().eq(0).removeClass("d-none")});$(".browse-cat-type-text").mouseover(function(){$(".browse-cat-type-text").removeClass("active");$(this).addClass("active");var n=$(".browse-cat-type a.active").index();$(".browse-sub-type").children().addClass("d-none");$(".browse-sub-type").children().eq(n).removeClass("d-none")});$(".browse-cat-type-text").hover(function(){$(".browse-cat-type-text").removeClass("active");$(this).addClass("active");var n=$(".browse-cat-type a.active").index();$(".browse-sub-type").children().addClass("d-none");$(".browse-sub-type").children().eq(n).removeClass("d-none")});$(".search input").click(function(){$(this).parent().siblings(".search-suggestion").show()});$(".brands .full-spec a").click(function(){$(this).parent().siblings(".toggle").toggle()});$(".search-suggestion ul li").click(function(){$(".search-suggestion").hide()});$(".badge .icon-close").click(function(){$(this).parent().hide()});$(".src-fltr").click(function(n){n.preventDefault();$(this).parent().siblings(".search-filter").slideToggle()});$(".tr-info").click(function(){$(this).hide().parent().siblings(".expand").slideDown("fast")});$(window).scroll(function(){0==$(window).scrollTop()?$(".to-top").addClass("hide"):$(".to-top").removeClass("hide")});$(".comp-cont .icon-drop-down").click(function(){$(this).toggleClass("icon-next").closest(".comp-cont").toggleClass("minimize")});$(".compare-col .add-prod").click(function(){$(".dropdown-tip").toggle()});$(".compare .icon-close").not(".compare-col .icon-close").click(function(){$(this).closest(".comp-cont").hide()});$(".compare-col .icon-close").click(function(){$(this).closest(".compare-col").hide()});$("header .sign-in,.otpclk,.otpclk1,.otpclk2,.otpclk3").click(function(n){$(".black-layer").css("visibility","visible");$(this).siblings(".layer-signup").find(".login,.newacclink").show();n.stopPropagation()});$(".black-layer, .login .icon-close").click(function(){$(".signup").hide().css("height","auto");$(".signup-container").css("width","auto");$(".signup ,.login").removeClass("col-6");$(".black-layer").css("visibility","hidden");$(".newacclink").show();$(".login").hide().css("height","auto");$("body").css("overflow-y","auto")});$(".upload").click(function(n){$(".black-layer").css("visibility","visible");$(".upload-pics").show();n.stopPropagation()});$(".black-layer, .upload-pics h2 .icon-close").click(function(){$(".black-layer").css("visibility","hidden");$(".upload-pics").hide()});$(".black-layer, .upload-menu h2 .icon-close").click(function(){$(".black-layer").css("visibility","hidden");$(".upload-menu").hide()});$(".vernum").click(function(){$(".hide").show()});$(".pages li").click(function(){$(this).find("button").addClass("active");$(this).siblings().find("button").removeClass("active")});1==$(".left-panel .light-box .light-box-content").length&&$("#next,#prev").addClass("unrated-star");$("#prev, #next").click(function(){!function(n){var t,r=n.getAttribute("id"),i=$(n).closest(".light-box").find(".light-box-content.on"),u=$(n).closest(".light-box").find(".light-box-content"),f=i.index();"prev"==r&&(t=f-1)>=0&&(i.fadeOut("fast",function(){$(n).closest(".light-box").find(".light-box-content:eq("+t+")").fadeIn("fast").addClass("on")}).removeClass("on"),0==t?($(n).addClass("unrated-star"),$("#next").removeClass("unrated-star")):($(n).removeClass("unrated-star"),$("#next").removeClass("unrated-star")));"next"==r&&(t=f+1)<=u.length-1&&(i.fadeOut("fast",function(){$(n).closest(".light-box").find(".light-box-content:eq("+t+")").fadeIn("fast").addClass("on")}).removeClass("on"),t==u.length-1?($(n).addClass("unrated-star"),$("#prev").removeClass("unrated-star")):($(n).removeClass("unrated-star"),$("#prev").removeClass("unrated-star")))}(this)});$(document).on("click",".user-rating-show li",function(){$(".tabs-display-div").css("height",$("#dvAll").height()+"px")});$("body").on("mouseenter",".more-share",function(){$(this).find(".dropdown-tip").show()}).on("mouseleave",".more-share",function(){$(this).find(".dropdown-tip").hide()});$("footer .socialbtn").click(function(){$(".socialbtn").hide();$(".user-points").show();$(".icon-write-share-win").css("font-size","70px")});$(".collapsible li > span").unbind("click").click(function(){$(this).parent().find("ul:eq(0)").slideToggle(500);$(this).find("span.icon-drop-down,span.icon-next").toggleClass("icon-drop-down icon-next")});$(".ex-col").click(function(n){n.preventDefault();$(this).parent().find(".variant-prods div.col-3:nth-child(n+5)").slideToggle();$(this).parent().find(".contents_specification div.spec:nth-child(n+2)").slideToggle();"View All"==$(this).find("a").text()?$(this).find("a").text("View Less"):$(this).find("a").text("View All")});$(".tooltip").on({mouseenter:function(){for(var n=$(this).find(".tooltip-content"),i=$(this).attr("class").split(" "),t=0;t<i.length;t++){switch(i[t]){case"left":n.css({"margin-left":-($(n).width()+15)+"px","margin-top":-$(this).height()+"px"});break;case"right":n.css({"margin-left":$(this).width()+5+"px","margin-top":-$(this).height()+"px"});break;case"top":n.css("margin-top",-($(this).height()+$(n).height()+5)+"px")}$(this).find(".tooltip-content").css("display","block")}},mouseleave:function(){$(".tooltip-content").hide()}});$("body").bind("touchstart",function(){})});$(window).on("load",function(){IsSurveyMaintenance;$(".surveylayerclose").click(function(){$(".black-layer").click(function(){$(".signup").hide().css("height","auto");$(".signup-container").css("width","auto");$(".signup ,.login").removeClass("col-6");$(".black-layer").css("visibility","hidden");$(".login").hide().css("height","auto");$("body").css("overflow-y","auto")});$(".black-layer").css("visibility","hidden");$("body").css("position","inherit");var n=$(".surveylayer").height();$(".surveylayer").animate({top:-n},600)})})