").attr({id:s,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));t("
").addClass("ui-tooltip-content").appendTo(n);n.appendTo(this.document[0].body);this.tooltips[s]=i;return n},_find:function(e){var i=e.data("ui-tooltip-id");return i?t("#"+i):t()},_removeTooltip:function(t){t.remove();delete this.tooltips[t.attr("id")]},_destroy:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0];e.close(n,true);t("#"+i).remove();if(s.data("ui-tooltip-title")){s.attr("title",s.data("ui-tooltip-title"));s.removeData("ui-tooltip-title")}})}})})(jQuery);(function(t,e){var i="ui-effects-";t.effects={effect:{}};(function(t,e){var i="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",s=/^([\-+])=\s*(\d+\.?\d*)/,n=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1]*2.55,t[2]*2.55,t[3]*2.55,t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],a=t.Color=function(e,i,s,n){return new t.Color.fn.parse(e,i,s,n)},o={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},r={"byte":{floor:true,max:255},percent:{max:1},degrees:{mod:360,floor:true}},l=a.support={},h=t("
")[0],u,c=t.each;h.style.cssText="background-color:rgba(1,1,1,.5)";l.rgba=h.style.backgroundColor.indexOf("rgba")>-1;c(o,function(t,e){e.cache="_"+t;e.props.alpha={idx:3,type:"percent",def:1}});function f(t,e,i){var s=r[e.type]||{};if(t==null){return i||!e.def?null:e.def}t=s.floor?~~t:parseFloat(t);if(isNaN(t)){return e.def}if(s.mod){return(t+s.mod)%s.mod}return 0>t?0:s.maxl.mod/2){a+=l.mod}else if(a-o>l.mod/2){a-=l.mod}}u[n]=f((o-a)*e+a,s)}});return this[s](u)},blend:function(e){if(this._rgba[3]===1){return this}var i=this._rgba.slice(),s=i.pop(),n=a(e)._rgba;return a(t.map(i,function(t,e){return(1-s)*n[e]+s*t}))},toRgbaString:function(){var e="rgba(",i=t.map(this._rgba,function(t,e){return t==null?e>2?1:0:t});if(i[3]===1){i.pop();e="rgb("}return e+i.join()+")"},toHslaString:function(){var e="hsla(",i=t.map(this.hsla(),function(t,e){if(t==null){t=e>2?1:0}if(e&&e<3){t=Math.round(t*100)+"%"}return t});if(i[3]===1){i.pop();e="hsl("}return e+i.join()+")"},toHexString:function(e){var i=this._rgba.slice(),s=i.pop();if(e){i.push(~~(s*255))}return"#"+t.map(i,function(t){t=(t||0).toString(16);return t.length===1?"0"+t:t}).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}});a.fn.parse.prototype=a.fn;function p(t,e,i){i=(i+1)%1;if(i*6<1){return t+(e-t)*i*6}if(i*2<1){return e}if(i*3<2){return t+(e-t)*(2/3-i)*6}return t}o.hsla.to=function(t){if(t[0]==null||t[1]==null||t[2]==null){return[null,null,null,t[3]]}var e=t[0]/255,i=t[1]/255,s=t[2]/255,n=t[3],a=Math.max(e,i,s),o=Math.min(e,i,s),r=a-o,l=a+o,h=l*.5,u,c;if(o===a){u=0}else if(e===a){u=60*(i-s)/r+360}else if(i===a){u=60*(s-e)/r+120}else{u=60*(e-i)/r+240}if(r===0){c=0}else if(h<=.5){c=r/l}else{c=r/(2-l)}return[Math.round(u)%360,c,h,n==null?1:n]};o.hsla.from=function(t){if(t[0]==null||t[1]==null||t[2]==null){return[null,null,null,t[3]]}var e=t[0]/360,i=t[1],s=t[2],n=t[3],a=s<=.5?s*(1+i):s+i-s*i,o=2*s-a;return[Math.round(p(o,a,e+1/3)*255),Math.round(p(o,a,e)*255),Math.round(p(o,a,e-1/3)*255),n]};c(o,function(i,n){var o=n.props,r=n.cache,l=n.to,h=n.from;a.fn[i]=function(i){if(l&&!this[r]){this[r]=l(this._rgba)}if(i===e){return this[r].slice()}var s,n=t.type(i),u=n==="array"||n==="object"?i:arguments,d=this[r].slice();c(o,function(t,e){var i=u[n==="object"?t:e.idx];if(i==null){i=d[e.idx]}d[e.idx]=f(i,e)});if(h){s=a(h(d));s[r]=d;return s}else{return a(d)}};c(o,function(e,n){if(a.fn[e]){return}a.fn[e]=function(a){var o=t.type(a),r=e==="alpha"?this._hsla?"hsla":"rgba":i,l=this[r](),h=l[n.idx],u;if(o==="undefined"){return h}if(o==="function"){a=a.call(this,h);o=t.type(a)}if(a==null&&n.empty){return this}if(o==="string"){u=s.exec(a);if(u){a=h+parseFloat(u[2])*(u[1]==="+"?1:-1)}}l[n.idx]=a;return this[r](l)}})});a.hook=function(e){var i=e.split(" ");c(i,function(e,i){t.cssHooks[i]={set:function(e,s){var n,o,r="";if(s!=="transparent"&&(t.type(s)!=="string"||(n=d(s)))){s=a(n||s);if(!l.rgba&&s._rgba[3]!==1){o=i==="backgroundColor"?e.parentNode:e;while((r===""||r==="transparent")&&o&&o.style){try{r=t.css(o,"backgroundColor");o=o.parentNode}catch(h){}}s=s.blend(r&&r!=="transparent"?r:"_default")}s=s.toRgbaString()}try{e.style[i]=s}catch(h){}}};t.fx.step[i]=function(e){if(!e.colorInit){e.start=a(e.elem,i);e.end=a(e.end);e.colorInit=true}t.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})};a.hook(i);t.cssHooks.borderColor={expand:function(t){var e={};c(["Top","Right","Bottom","Left"],function(i,s){e["border"+s+"Color"]=t});return e}};u=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}})(jQuery);(function(){var i=["add","remove","toggle"],s={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,i){t.fx.step[i]=function(t){if(t.end!=="none"&&!t.setAttr||t.pos===1&&!t.setAttr){jQuery.style(t.elem,i,t.end);t.setAttr=true}}});function n(e){var i,s,n=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,a={};if(n&&n.length&&n[0]&&n[n[0]]){s=n.length;while(s--){i=n[s];if(typeof n[i]==="string"){a[t.camelCase(i)]=n[i]}}}else{for(i in n){if(typeof n[i]==="string"){a[i]=n[i]}}}return a}function a(e,i){var n={},a,o;for(a in i){o=i[a];if(e[a]!==o){if(!s[a]){if(t.fx.step[a]||!isNaN(parseFloat(o))){n[a]=o}}}}return n}if(!t.fn.addBack){t.fn.addBack=function(t){return this.add(t==null?this.prevObject:this.prevObject.filter(t))}}t.effects.animateClass=function(e,s,o,r){var l=t.speed(s,o,r);return this.queue(function(){var s=t(this),o=s.attr("class")||"",r,h=l.children?s.find("*").addBack():s;h=h.map(function(){var e=t(this);return{el:e,start:n(this)}});r=function(){t.each(i,function(t,i){if(e[i]){s[i+"Class"](e[i])}})};r();h=h.map(function(){this.end=n(this.el[0]);this.diff=a(this.start,this.end);return this});s.attr("class",o);h=h.map(function(){var e=this,i=t.Deferred(),s=t.extend({},l,{queue:false,complete:function(){i.resolve(e)}});this.el.animate(this.diff,s);return i.promise()});t.when.apply(t,h.get()).done(function(){r();t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})});l.complete.call(s[0])})})};t.fn.extend({addClass:function(e){return function(i,s,n,a){return s?t.effects.animateClass.call(this,{add:i},s,n,a):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(i,s,n,a){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},s,n,a):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(i){return function(s,n,a,o,r){if(typeof n==="boolean"||n===e){if(!a){return i.apply(this,arguments)}else{return t.effects.animateClass.call(this,n?{add:s}:{remove:s},a,o,r)}}else{return t.effects.animateClass.call(this,{toggle:s},n,a,o)}}}(t.fn.toggleClass),switchClass:function(e,i,s,n,a){return t.effects.animateClass.call(this,{add:i,remove:e},s,n,a)}})})();(function(){t.extend(t.effects,{version:"1.10.3",save:function(t,e){for(var s=0;s
").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),n={width:e.width(),height:e.height()},a=document.activeElement;try{a.id}catch(o){a=document.body}e.wrap(s);if(e[0]===a||t.contains(e[0],a)){t(a).focus()}s=e.parent();if(e.css("position")==="static"){s.css({position:"relative"});e.css({position:"relative"})}else{t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")});t.each(["top","left","bottom","right"],function(t,s){i[s]=e.css(s);if(isNaN(parseInt(i[s],10))){i[s]="auto"}});e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}e.css(n);return s.css(i).show()},removeWrapper:function(e){var i=document.activeElement;if(e.parent().is(".ui-effects-wrapper")){e.parent().replaceWith(e);if(e[0]===i||t.contains(e[0],i)){t(i).focus()}}return e},setTransition:function(e,i,s,n){n=n||{};t.each(i,function(t,i){var a=e.cssUnit(i);if(a[0]>0){n[i]=a[0]*s+a[1]}});return n}});function s(e,i,s,n){if(t.isPlainObject(e)){i=e;e=e.effect}e={effect:e};if(i==null){i={}}if(t.isFunction(i)){n=i;s=null;i={}}if(typeof i==="number"||t.fx.speeds[i]){n=s;s=i;i={}}if(t.isFunction(s)){n=s;s=null}if(i){t.extend(e,i)}s=s||i.duration;e.duration=t.fx.off?0:typeof s==="number"?s:s in t.fx.speeds?t.fx.speeds[s]:t.fx.speeds._default;e.complete=n||i.complete;return e}function n(e){if(!e||typeof e==="number"||t.fx.speeds[e]){return true}if(typeof e==="string"&&!t.effects.effect[e]){return true}if(t.isFunction(e)){return true}if(typeof e==="object"&&!e.effect){return true}return false}t.fn.extend({effect:function(){var e=s.apply(this,arguments),i=e.mode,n=e.queue,a=t.effects.effect[e.effect];if(t.fx.off||!a){if(i){return this[i](e.duration,e.complete)}else{return this.each(function(){if(e.complete){e.complete.call(this)}})}}function o(i){var s=t(this),n=e.complete,o=e.mode;function r(){if(t.isFunction(n)){n.call(s[0])}if(t.isFunction(i)){i()}}if(s.is(":hidden")?o==="hide":o==="show"){s[o]();r()}else{a.call(s[0],e,r)}}return n===false?this.each(o):this.queue(n||"fx",o)},show:function(t){return function(e){if(n(e)){return t.apply(this,arguments)}else{var i=s.apply(this,arguments);i.mode="show";return this.effect.call(this,i)}}}(t.fn.show),hide:function(t){return function(e){if(n(e)){return t.apply(this,arguments)}else{var i=s.apply(this,arguments);i.mode="hide";return this.effect.call(this,i)}}}(t.fn.hide),toggle:function(t){return function(e){if(n(e)||typeof e==="boolean"){return t.apply(this,arguments)}else{var i=s.apply(this,arguments);i.mode="toggle";return this.effect.call(this,i)}}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),s=[];t.each(["em","px","%","pt"],function(t,e){if(i.indexOf(e)>0){s=[parseFloat(i),e]}});return s}})})();(function(){var e={};t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,i){e[i]=function(e){return Math.pow(e,t+2)}});t.extend(e,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return t===0||t===1?t:-Math.pow(2,8*(t-1))*Math.sin(((t-1)*80-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){var e,i=4;while(t<((e=Math.pow(2,--i))-1)/11){}return 1/Math.pow(4,3-i)-7.5625*Math.pow((e*3-2)/22-t,2)}});t.each(e,function(e,i){t.easing["easeIn"+e]=i;t.easing["easeOut"+e]=function(t){return 1-i(1-t)};t.easing["easeInOut"+e]=function(t){return t<.5?i(t*2)/2:1-i(t*-2+2)/2}})})()})(jQuery);(function(t,e){var i=/up|down|vertical/,s=/up|left|vertical|horizontal/;t.effects.effect.blind=function(e,n){var a=t(this),o=["position","top","bottom","left","right","height","width"],r=t.effects.setMode(a,e.mode||"hide"),l=e.direction||"up",h=i.test(l),u=h?"height":"width",c=h?"top":"left",f=s.test(l),d={},p=r==="show",g,m,v;if(a.parent().is(".ui-effects-wrapper")){t.effects.save(a.parent(),o)}else{t.effects.save(a,o)}a.show();g=t.effects.createWrapper(a).css({overflow:"hidden"});m=g[u]();v=parseFloat(g.css(c))||0;d[u]=p?m:0;if(!f){a.css(h?"bottom":"right",0).css(h?"top":"left","auto").css({position:"absolute"});d[c]=p?v:m+v}if(p){g.css(u,0);if(!f){g.css(c,v+m)}}g.animate(d,{duration:e.duration,easing:e.easing,queue:false,complete:function(){if(r==="hide"){a.hide()}t.effects.restore(a,o);t.effects.removeWrapper(a);n()}})}})(jQuery);(function(t,e){t.effects.effect.bounce=function(e,i){var s=t(this),n=["position","top","bottom","left","right","height","width"],a=t.effects.setMode(s,e.mode||"effect"),o=a==="hide",r=a==="show",l=e.direction||"up",h=e.distance,u=e.times||5,c=u*2+(r||o?1:0),f=e.duration/c,d=e.easing,p=l==="up"||l==="down"?"top":"left",g=l==="up"||l==="left",m,v,_,b=s.queue(),y=b.length;if(r||o){n.push("opacity")}t.effects.save(s,n);s.show();t.effects.createWrapper(s);if(!h){h=s[p==="top"?"outerHeight":"outerWidth"]()/3}if(r){_={opacity:1};_[p]=0;s.css("opacity",0).css(p,g?-h*2:h*2).animate(_,f,d)}if(o){h=h/Math.pow(2,u-1)}_={};_[p]=0;for(m=0;m
1){b.splice.apply(b,[1,0].concat(b.splice(y,c+1)))}s.dequeue()}})(jQuery);(function(t,e){t.effects.effect.clip=function(e,i){var s=t(this),n=["position","top","bottom","left","right","height","width"],a=t.effects.setMode(s,e.mode||"hide"),o=a==="show",r=e.direction||"vertical",l=r==="vertical",h=l?"height":"width",u=l?"top":"left",c={},f,d,p;t.effects.save(s,n);s.show();f=t.effects.createWrapper(s).css({overflow:"hidden"});d=s[0].tagName==="IMG"?f:s;p=d[h]();if(o){d.css(h,0);d.css(u,p/2)}c[h]=o?p:0;c[u]=o?0:p/2;d.animate(c,{queue:false,duration:e.duration,easing:e.easing,complete:function(){if(!o){s.hide()}t.effects.restore(s,n);t.effects.removeWrapper(s);i()}})}})(jQuery);(function(t,e){t.effects.effect.drop=function(e,i){var s=t(this),n=["position","top","bottom","left","right","opacity","height","width"],a=t.effects.setMode(s,e.mode||"hide"),o=a==="show",r=e.direction||"left",l=r==="up"||r==="down"?"top":"left",h=r==="up"||r==="left"?"pos":"neg",u={opacity:o?1:0},c;t.effects.save(s,n);s.show();t.effects.createWrapper(s);c=e.distance||s[l==="top"?"outerHeight":"outerWidth"](true)/2;
if(o){s.css("opacity",0).css(l,h==="pos"?-c:c)}u[l]=(o?h==="pos"?"+=":"-=":h==="pos"?"-=":"+=")+c;s.animate(u,{queue:false,duration:e.duration,easing:e.easing,complete:function(){if(a==="hide"){s.hide()}t.effects.restore(s,n);t.effects.removeWrapper(s);i()}})}})(jQuery);(function(t,e){t.effects.effect.explode=function(e,i){var s=e.pieces?Math.round(Math.sqrt(e.pieces)):3,n=s,a=t(this),o=t.effects.setMode(a,e.mode||"hide"),r=o==="show",l=a.show().css("visibility","hidden").offset(),h=Math.ceil(a.outerWidth()/n),u=Math.ceil(a.outerHeight()/s),c=[],f,d,p,g,m,v;function _(){c.push(this);if(c.length===s*n){b()}}for(f=0;f ").css({position:"absolute",visibility:"visible",left:-d*h,top:-f*u}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h,height:u,left:p+(r?m*h:0),top:g+(r?v*u:0),opacity:r?0:1}).animate({left:p+(r?0:m*h),top:g+(r?0:v*u),opacity:r?1:0},e.duration||500,e.easing,_)}}function b(){a.css({visibility:"visible"});t(c).remove();if(!r){a.hide()}i()}}})(jQuery);(function(t,e){t.effects.effect.fade=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"toggle");s.animate({opacity:n},{queue:false,duration:e.duration,easing:e.easing,complete:i})}})(jQuery);(function(t,e){t.effects.effect.fold=function(e,i){var s=t(this),n=["position","top","bottom","left","right","height","width"],a=t.effects.setMode(s,e.mode||"hide"),o=a==="show",r=a==="hide",l=e.size||15,h=/([0-9]+)%/.exec(l),u=!!e.horizFirst,c=o!==u,f=c?["width","height"]:["height","width"],d=e.duration/2,p,g,m={},v={};t.effects.save(s,n);s.show();p=t.effects.createWrapper(s).css({overflow:"hidden"});g=c?[p.width(),p.height()]:[p.height(),p.width()];if(h){l=parseInt(h[1],10)/100*g[r?0:1]}if(o){p.css(u?{height:0,width:l}:{height:l,width:0})}m[f[0]]=o?g[0]:l;v[f[1]]=o?g[1]:0;p.animate(m,d,e.easing).animate(v,d,e.easing,function(){if(r){s.hide()}t.effects.restore(s,n);t.effects.removeWrapper(s);i()})}})(jQuery);(function(t,e){t.effects.effect.highlight=function(e,i){var s=t(this),n=["backgroundImage","backgroundColor","opacity"],a=t.effects.setMode(s,e.mode||"show"),o={backgroundColor:s.css("backgroundColor")};if(a==="hide"){o.opacity=0}t.effects.save(s,n);s.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(o,{queue:false,duration:e.duration,easing:e.easing,complete:function(){if(a==="hide"){s.hide()}t.effects.restore(s,n);i()}})}})(jQuery);(function(t,e){t.effects.effect.pulsate=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"show"),a=n==="show",o=n==="hide",r=a||n==="hide",l=(e.times||5)*2+(r?1:0),h=e.duration/l,u=0,c=s.queue(),f=c.length,d;if(a||!s.is(":visible")){s.css("opacity",0).show();u=1}for(d=1;d