diff --git a/dist/jquery.qtip.css b/dist/jquery.qtip.css index 2a5a105b..95363888 100644 --- a/dist/jquery.qtip.css +++ b/dist/jquery.qtip.css @@ -9,7 +9,7 @@ * http://en.wikipedia.org/wiki/MIT_License * http://en.wikipedia.org/wiki/GNU_General_Public_License * -* Date: Thu Dec 9 15:26:00 2010 +0000 +* Date: Thu Dec 9 15:47:15 2010 +0000 */ .ui-tooltip-accessible{ diff --git a/dist/jquery.qtip.js b/dist/jquery.qtip.js index f6a3552c..c5b9b28a 100644 --- a/dist/jquery.qtip.js +++ b/dist/jquery.qtip.js @@ -9,7 +9,7 @@ * http://en.wikipedia.org/wiki/MIT_License * http://en.wikipedia.org/wiki/GNU_General_Public_License * -* Date: Thu Dec 9 15:26:00 2010 +0000 +* Date: Thu Dec 9 15:47:15 2010 +0000 */ "use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/ @@ -473,7 +473,6 @@ function QTip(target, options, id) } function repositionMethod(event) { - console.log(event) if(self.cache.processing) { return; } // Only update position if tooltip is visible @@ -586,42 +585,28 @@ function QTip(target, options, id) doc = parseInt(doc, 10) !== 0; var namespace = '.qtip-'+id, targets = { - show: show ? options.show.target : $('
'), - hide: hide ? options.hide.target : $('
'), - tooltip: tooltip ? self.elements.tooltip : $('
') - }, - events = { show: String(options.show.event).split(' '), hide: String(options.hide.event).split(' ') }; + show: show ? options.show.target : NULL, + hide: hide ? options.hide.target : NULL, + tooltip: tooltip ? self.elements.tooltip : NULL, + content: tooltip ? self.elements.content : NULL, + container: doc ? options.position.container[0] === document.body ? document : options.position.container : NULL, + window: doc ? window : NULL + }; // Check if tooltip is rendered if(self.rendered) { - // Remove show events - $.each(events.show, function(index, type){ targets.show.unbind(type+namespace); }); - targets.show.unbind('mousemove'+namespace) - .unbind('mouseout'+namespace) - .unbind('qtip-'+id+'-inactive'); - - // Remove hide events - $.each(events.hide, function(index, type) { - targets.hide.add(targets.tooltip).unbind(type+namespace); - }); - $.each($.fn.qtip.inactiveEvents, function(index, type){ - targets.hide.add(tooltip ? self.elements.content : NULL).unbind(type+namespace+'-inactive'); - }); - targets.hide.unbind('mouseout'+namespace); - - // Remove tooltip events - targets.tooltip.unbind('mouseover'+namespace); - - // Remove document events - if(doc) { - $(window).unbind('resize'+namespace); - $(document).unbind('mousedown'+namespace+' mousemove'+namespace); - } + $([]).pushStack( + $.grep( + [ targets.show, targets.hide, targets.tooltip, targets.container, targets.content, targets.window ], + function(){ return this !== null; } + ) + ) + .unbind(namespace); } // Tooltip isn't yet rendered, remove render event - else if(show) { targets.show.unbind(events.show+namespace+'-create'); } + else if(show) { targets.show.unbind(namespace+'-create'); } } /* diff --git a/dist/jquery.qtip.min.js b/dist/jquery.qtip.min.js index dd0e9be6..dae3654a 100644 --- a/dist/jquery.qtip.min.js +++ b/dist/jquery.qtip.min.js @@ -9,7 +9,7 @@ * http://en.wikipedia.org/wiki/MIT_License * http://en.wikipedia.org/wiki/GNU_General_Public_License * -* Date: Thu Dec 9 15:26:00 2010 +0000 +* Date: Thu Dec 9 15:47:15 2010 +0000 */ "use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/ @@ -19,66 +19,65 @@ var TRUE=true,FALSE=false,NULL=null; (function(a,G,K){function L(d){var b;if(!d)return FALSE;if("object"!==typeof d.metadata)d.metadata={type:d.metadata};if("content"in d){if("object"!==typeof d.content||d.content.jquery)d.content={text:d.content};b=d.content.text||FALSE;if(!a.isFunction(b)&&(!b&&!b.attr||b.length<1||"object"===typeof b&&!b.jquery))b=d.content.text=FALSE;if("title"in d.content&&"object"!==typeof d.content.title)d.content.title={text:d.content.title}}if("position"in d){if("object"!==typeof d.position)d.position={my:d.position, at:d.position};if("object"!==typeof d.position.adjust)d.position.adjust={};if("undefined"!==typeof d.position.adjust.screen)d.position.adjust.screen=!!d.position.adjust.screen}if("show"in d){if("object"!==typeof d.show)d.show={event:d.show};if("object"!==typeof d.show)d.show=d.show.jquery?{target:d.show}:{event:d.show}}if("hide"in d)if("object"!==typeof d.hide)d.hide=d.hide.jquery?{target:d.hide}:{event:d.hide};if("style"in d&&"object"!==typeof d.style)d.style={classes:d.style};a.each(a.fn.qtip.plugins, -function(){this.sanitize&&this.sanitize(d)});return d}function O(d,b,k){function h(c){var f,i=c.split("."),m=b[i[0]];for(c=1;c",{html:f}):a("", +function(){this.sanitize&&this.sanitize(d)});return d}function O(d,b,k){function h(c){var f,i=c.split("."),l=b[i[0]];for(c=1;c",{html:f}):a("", {"class":"ui-state-default",text:"Close tooltip",title:"Close tooltip",css:{"text-indent":"-10000em"}}).prepend(a("",{"class":(b.style.widget?"ui":j)+"-icon ui-icon-close"}));c.button.prependTo(c.titlebar).attr("role","button").addClass(j+"-close").hover(function(i){a(this).toggleClass("ui-state-hover",i.type==="mouseenter")}).click(function(){c.tooltip.hasClass("ui-state-disabled")||e.hide();return FALSE}).bind("mousedown keydown mouseup keyup mouseout",function(i){a(this).toggleClass("ui-state-active ui-state-focus", -/down$/i.test(i.type))});e.redraw()}function p(){var c=e.elements;c.titlebar&&s();c.titlebar=a("
",{"class":j+"-titlebar "+(b.style.widget?"ui-widget-header":"")}).append(c.title=a("
",{id:j+"-"+k+"-title","class":j+"-title",html:b.content.title.text})).prependTo(c.wrapper);if(b.content.title.button)v();else e.rendered===TRUE&&e.redraw()}function C(c){var f=e.elements;if(!e.rendered||!c)return FALSE;if(a.isFunction(c))c=c.call(d);c.jquery&&c.length>0?f.content.empty().append(c.css({display:"block"})): -f.content.html(c);f.tooltip.queue("fx",function(i){function m(o){g=g.not(o);if(g.length===0){e.redraw();e.rendered===TRUE&&e.reposition(e.cache.event);i()}}var g=a("img:not([height]):not([width])",e.elements.content);g.each(function(o,w){var y=["abort","error","load","unload",""].join(".qtip-image ");a(this).bind(y,function(){clearTimeout(e.timers.img[o]);m(this)});(function u(){if(w.height)return m(w);e.timers.img[o]=setTimeout(u,20)})();return TRUE});g.length===0&&m(g)});return e}function D(c,f, -i,m){function g(z){if(r.tooltip.hasClass("ui-state-disabled"))return FALSE;r.show.trigger("qtip-"+k+"-inactive");clearTimeout(e.timers.show);clearTimeout(e.timers.hide);var x=function(){e.show(z)};if(b.show.delay>0)e.timers.show=setTimeout(x,b.show.delay);else x()}function o(z){if(r.tooltip.hasClass("ui-state-disabled"))return FALSE;var x=a(z.relatedTarget||z.target).parents(n)[0]==r.tooltip[0];clearTimeout(e.timers.show);clearTimeout(e.timers.hide);if(b.hide.fixed&&(t.target==="mouse"&&x||/mouse(out|leave|move)/.test(z.type)&& -x)){z.stopPropagation();z.preventDefault();return FALSE}r.tooltip.stop(1,1);if(b.hide.delay>0)e.timers.hide=setTimeout(function(){e.hide(z)},b.hide.delay);else e.hide(z)}function w(z){if(r.tooltip.hasClass("ui-state-disabled"))return FALSE;clearTimeout(e.timers.inactive);e.timers.inactive=setTimeout(function(){e.hide(z)},b.hide.inactive)}function y(z){console.log(z);if(!e.cache.processing){e.cache.processing=1;e.elements.tooltip.is(":visible")&&e.reposition(z);e.cache.processing=0}}var u=".qtip-"+ -k,t=b.position,r={show:b.show.target,hide:b.hide.target,tooltip:e.elements.tooltip,container:t.container[0]===document.body?document:t.container},E={show:String(b.show.event).split(" "),hide:String(b.hide.event).split(" ")},I=a.browser.msie&&parseInt(a.browser.version,10)===6;d.bind("remove.qtip",function(){e.destroy()});if(i&&b.hide.fixed){r.hide=r.hide.add(r.tooltip);r.tooltip.bind("mouseover"+u,function(){r.tooltip.hasClass("ui-state-disabled")||clearTimeout(e.timers.hide)})}if(f){if("number"=== -typeof b.hide.inactive){r.show.bind("qtip-"+k+"-inactive",w);a.each(a.fn.qtip.inactiveEvents,function(z,x){r.hide.add(e.elements.tooltip).bind(x+u+"-inactive",w)})}a.each(E.hide,function(z,x){var A=a.inArray(x,E.show);if(A>-1&&a(r.hide).add(r.show).length===a(r.hide).length||x==="unfocus"){r.show.bind(x+u,function(F){r.tooltip.is(":visible")?o(F):g(F)});delete E.show[A]}else r.hide.bind(x+u,o)})}if(c){a.each(E.show,function(z,x){r.show.bind(x+u,g)});r.tooltip.bind("mouseover"+u,function(){e.focus()})}if(m){if(t.adjust.resize|| -t.adjust.screen)a(a.event.special.resize?r.container:G).bind("resize"+u,y);if(t.adjust.screen||I&&r.tooltip.css("position")==="fixed")a(r.container).bind("scroll"+u,y);/unfocus/i.test(b.hide.event)&&a(document).bind("mousedown"+u,function(z){var x=e.elements.tooltip;a(z.target).parents(n).length===0&&a(z.target).add(d).length>1&&x.is(":visible")&&!x.hasClass("ui-state-disabled")&&e.hide()});t.target==="mouse"&&a(document).bind("mousemove"+u,function(z){if(t.adjust.mouse&&!r.tooltip.hasClass("ui-state-disabled")&& -r.tooltip.is(":visible"))e.reposition(z||a.fn.qtip.mouse)})}}function B(c,f,i,m){m=parseInt(m,10)!==0;var g=".qtip-"+k,o={show:c?b.show.target:a("
"),hide:f?b.hide.target:a("
"),tooltip:i?e.elements.tooltip:a("
")};f={show:String(b.show.event).split(" "),hide:String(b.hide.event).split(" ")};if(e.rendered){a.each(f.show,function(w,y){o.show.unbind(y+g)});o.show.unbind("mousemove"+g).unbind("mouseout"+g).unbind("qtip-"+k+"-inactive");a.each(f.hide,function(w,y){o.hide.add(o.tooltip).unbind(y+ -g)});a.each(a.fn.qtip.inactiveEvents,function(w,y){o.hide.add(i?e.elements.content:NULL).unbind(y+g+"-inactive")});o.hide.unbind("mouseout"+g);o.tooltip.unbind("mouseover"+g);if(m){a(G).unbind("resize"+g);a(document).unbind("mousedown"+g+" mousemove"+g)}}else c&&o.show.unbind(f.show+g+"-create")}var e=this,j="ui-tooltip",n=".qtip."+j;e.id=k;e.rendered=FALSE;e.elements={target:d};e.cache={event:{},target:NULL,disabled:FALSE};e.timers={img:[]};e.options=b;e.plugins={};a.extend(e,{render:function(c){var f= -e.elements,i=a.Event("tooltiprender");if(e.rendered)return FALSE;e.rendered=c?-2:-1;f.tooltip=a("
").attr({id:j+"-"+k,role:"tooltip","class":j+" qtip ui-tooltip-accessible ui-helper-reset "+b.style.classes}).css("z-index",a.fn.qtip.zindex+a(n).length).toggleClass("ui-widget",b.style.widget).toggleClass("ui-state-disabled",e.cache.disabled).data("qtip",e).appendTo(b.position.container);f.wrapper=a("
",{"class":j+"-wrapper"}).appendTo(f.tooltip);f.content=a("
",{"class":j+"-content "+ -(b.style.widget?"ui-widget-content":""),id:j+"-"+k+"-content"}).appendTo(f.wrapper);b.content.title.text&&p();C(b.content.text);a.each(a.fn.qtip.plugins,function(){this.initialize==="render"&&this(e)});e.rendered=TRUE;D(1,1,1,1);a.each(b.events,function(m,g){g&&f.tooltip.bind("tooltip"+m,g)});f.tooltip.queue("fx",function(m){if(b.show.ready||c){f.tooltip.hide();e.show(e.cache.event)}f.tooltip.removeClass("ui-tooltip-accessible");i.originalEvent=e.cache.event;f.tooltip.trigger(i,[e.hash()]);m()}); -return e},get:function(c){switch(c.toLowerCase()){case "offset":c=l("position");break;case "dimensions":c=l("dimensions");break;default:c=h(c.toLowerCase());c=c[0].precedance?c[0].string():c[0].jquery?c[0]:c[0][c[1]];break}return c},set:function(c,f){c=c.toLowerCase();var i=h(c),m=e.elements,g=m.tooltip,o,w,y,u={builtin:{id:function(){var t=f===TRUE?a.fn.qtip.nextid:f,r=j+"-"+t;if(t!==FALSE&&t.length>0&&!a("#ui-tooltip-"+t).length){g[0].id=r;m.content[0].id=r+"-content";m.title[0].id=r+"-title"}}, -"^content.text":function(){C(f)},"^content.title.text":function(){if(e.rendered)if(!e.elements.title&&f){p();e.reposition()}else f?e.elements.title.html(f):s()},"^content.title.button":function(){var t=e.elements.button,r=e.elements.title;if(e.rendered)if(f){r||p();v()}else t.remove()},"^position.(my|at)$":function(){var t=/my$/i.test(c)?"my":"at";if("string"===typeof f)b.position[t]=new a.fn.qtip.plugins.Corner(f)},"^position.(my|at|adjust|target)":function(){e.rendered&&e.reposition()},"^position.container$":function(){if(e.rendered=== -TRUE){g.appendTo(f);e.reposition()}},"^(show|hide).(event|target|fixed|delay|inactive)":function(t,r,E,I){var z=c.search(/fixed/i)>-1?[0,[0,1,1,1]]:[c.substr(0,3),c.charAt(0)==="s"?[1,0,0,0]:[0,1,0,0]];if(z[0])t[r]=I;B.apply(e,z[1]);if(z[0])t[r]=E;D.apply(e,z[1])},"^show.ready$":function(){e.rendered===FALSE&&e.show()},"^style.classes$":function(){e.elements.tooltip.attr("class",j+" qtip ui-helper-reset "+f)},"^style.widget$":function(){var t=!!f;g.toggleClass("ui-widget",t);m.titlebar.toggleClass("ui-widget-header", -t);m.content.toggleClass("ui-widget-content",t);m.button.children("span").toggleClass(j+"-icon",!t).toggleClass("ui-icon",t)},"^events.(render|show|move|hide|focus|blur)":function(t,r,E){m.tooltip[(a.isFunction(f)?"":"un")+"bind"]("tooltip"+r,E)}}};a.each(e.plugins,function(t){if("object"===typeof this.checks)u[t]=this.checks});o=i[0][i[1]];i[0][i[1]]=f.nodeType?a(f):f;L(b);for(w in u)for(y in u[w])RegExp(y,"i").test(c)&&u[w][y].call(e,i[0],i[1],f,o);return e},toggle:function(c,f){function i(){var u= -a(this),t=c?"attr":"removeAttr",r=/^1|0$/.test(u.css("opacity"));e.elements.title&&d[t]("aria-labelledby",j+"-"+k+"-title");d[t]("aria-describedby",j+"-"+k+"-content");if(c){if(a.browser.msie&&this.style&&r){y=this.style;y.removeAttribute("filter");y.removeAttribute("opacity")}}else r&&u.hide()}if(e.rendered===FALSE)return FALSE;var m=c?"show":"hide",g=e.elements.tooltip,o=b[m],w=g.is(":visible"),y;if((typeof c).search("boolean|number"))c=!g.is(":visible");if(!w&&!c||g.is(":animated"))return e;if(f){if(e.cache.event&& -/over|enter/.test(f.type)&&/out|leave/.test(e.cache.event.type)&&a(f.target).add(b.show.target).length<2&&a(f.relatedTarget).parents(n).length>0)return e;e.cache.event=a.extend({},f)}w=a.Event("tooltip"+m);w.originalEvent=f?e.cache.event:NULL;g.trigger(w,[e.hash(),90]);if(w.isDefaultPrevented())return e;if(c){e.focus();e.reposition(f);o.solo&&a(n).qtip("hide")}else clearTimeout(e.timers.show);g.attr("aria-hidden",Boolean(!c));g.stop(1,1);if(a.isFunction(o.effect)){o.effect.call(g,e.hash());g.queue(function(){i.call(this); -a(this).dequeue()})}else if(o.effect===FALSE){g[m]();i.call(g)}else g.fadeTo(90,c?1:0,i);c&&o.target.trigger("qtip-"+k+"-inactive");return e},show:function(c){e.toggle(TRUE,c)},hide:function(c){e.toggle(FALSE,c)},focus:function(c){if(e.rendered===FALSE)return FALSE;var f=e.elements.tooltip,i=a(n),m=parseInt(f[0].style.zIndex,10),g=a.fn.qtip.zindex+i.length,o=j+"-focus",w=a.extend({},c);if(!f.hasClass(o)&&m!==g){i.each(function(){this.style.zIndex-=1});a(n+"."+o).each(function(){var y=a(this),u=y.qtip(), -t;if(!u||u.rendered===FALSE)return TRUE;y.removeClass(o);t=a.Event("tooltipblur");t.originalEvent=w;y.trigger(t,[u,g])});c=a.Event("tooltipfocus");c.originalEvent=w;f.trigger(c,[e.hash(),g]);if(!c.isDefaultPrevented())f.addClass(o)[0].style.zIndex=g}return e},reposition:function(c){if(e.rendered===FALSE)return FALSE;var f=b.position.target,i=e.elements.tooltip,m=b.position,g=m.my,o=m.at,w=m.adjust,y=e.elements.tooltip.width(),u=e.elements.tooltip.height(),t=a(m.container)[0],r=0,E=0,I=a.Event("tooltipmove"), -z=i.css("position")==="fixed",x=a(w.container&&t!==document.body?t:G),A={left:0,top:0};t={left:function(F){var J=x.scrollLeft,H=o.x==="left"?r:o.x==="right"?-r:-r/2,M=F+y-x.width-J;H=(g.x==="left"?y:g.x==="right"?-y:-y/2)-(g.x===g.y?1:-2)*w.x-(g.precedance==="x"||g.x===g.y?H:0);if(J-F>0)A.left-=H;else if(M>0)A.left-=(g.x==="center"?-1:1)*H;return A.left-F},top:function(F){var J=x.scrollTop,H=o.y==="top"?E:o.y==="bottom"?-E:-E/2,M=F+u-x.height-J;H=(g.y==="top"?u:g.y==="bottom"?-u:-u/2)-(g.y===g.x? -1:-2)*w.y-(g.precedance==="y"||g.x===g.y?H:0);if(J-F>0)A.top-=H;else if(M>0)A.top-=(g.y==="center"?-1:1)*H;return A.top-F}};x={elem:x,height:x[(x[0]===G?"h":"outerH")+"eight"](),width:x[(x[0]===G?"w":"outerW")+"idth"](),scrollLeft:x.scrollLeft(),scrollTop:x.scrollTop()};if(f==="mouse"){o={x:"left",y:"top"};c=w.mouse||!c||!c.pageX?a.extend({},a.fn.qtip.mouse):c;A={top:c.pageY,left:c.pageX}}else{if(f==="event")f=c&&c.target&&c.type!=="scroll"&&c.type!=="resize"?e.cache.target=a(c.target):e.cache.target; -f=a(f).eq(0);if(f.length===0)return e;else if(f[0]===document||f[0]===G){r=f.width();E=f.height();if(f[0]===G)A={top:z?0:x.scrollTop,left:z?0:x.scrollLeft}}else if(f.is("area")&&a.fn.qtip.plugins.imagemap){A=a.fn.qtip.plugins.imagemap(f,o);r=A.width;E=A.height;A=A.offset}else{r=f.outerWidth();E=f.outerHeight();A=q(f)}A.left+=o.x==="right"?r:o.x==="center"?r/2:0;A.top+=o.y==="bottom"?E:o.y==="center"?E/2:0}A.left+=w.x+(g.x==="right"?-y:g.x==="center"?-y/2:0);A.top+=w.y+(g.y==="bottom"?-u:g.y==="center"? --u/2:0);A.adjusted=w.screen&&f[0]!==G&&f[0]!==document.body?{left:t.left(A.left),top:t.top(A.top)}:{left:0,top:0};i.attr("class",function(){return a(this).attr("class").replace(/ui-tooltip-pos-\w+/i,"")}).addClass(j+"-pos-"+g.abbreviation());I.originalEvent=a.extend({},c);i.trigger(I,[e.hash(),A,x.elem]);if(I.isDefaultPrevented())return e;delete A.adjusted;if(i.is(":visible")&&a.isFunction(m.effect)){m.effect.call(i,e.hash(),A);i.queue(function(){var F=a(this);F.css({opacity:"",height:""});a.browser.msie&& -this.style&&this.style.removeAttribute("filter");F.dequeue()})}else isNaN(A.left,A.top)||i.css(A);return e},redraw:function(){if(!e.rendered||!(a.browser.msie&&parseInt(a.browser.version.charAt(0),10)<9))return FALSE;var c=e.elements.tooltip;c.attr("style");var f;c.css({width:"auto",height:"auto"});f=l("dimensions",1);a.each(["width","height"],function(i,m){var g=parseInt(c.css("max-"+m),10)||0,o=parseInt(c.css("min-"+m),10)||0;f[m]=g+o?Math.min(Math.max(f[m],o),g):f[m]});c.css(f)},disable:function(c){var f= -e.elements.tooltip;if(e.rendered)f.toggleClass("ui-state-disabled",c);else e.cache.disabled=!!c;return e},destroy:function(){var c=e.elements,f=c.target.data("oldtitle");e.rendered&&a.each(e.plugins,function(){this.initialize==="render"&&this.destroy()});B(1,1,1,1);d.removeData("qtip");e.rendered&&c.tooltip.remove();f&&d.attr("title",f);d.removeAttr("aria-describedby");return d},hash:function(){var c=a.extend({},e);delete c.cache;delete c.timers;delete c.options;delete c.plugins;delete c.render;delete c.hash; -return c}})}function P(d,b){var k,h,q=a(this);k=a(document.body);var l=this===document?k:q;h=q.metadata?q.metadata(b.metadata):NULL;var s=a.extend(TRUE,{},a.fn.qtip.defaults,b,L((h&&b.metadata.type==="html5"?h[b.metadata.name]:NULL)||h));q.removeData("metadata");h=s.position;if("boolean"===typeof s.content.text)if(s.content.attr!==FALSE&&q.attr(s.content.attr))s.content.text=q.attr(s.content.attr);else return FALSE;if(h.container===FALSE)h.container=k;if(h.target===FALSE)h.target=l;if(s.show.target=== -FALSE)s.show.target=l;if(s.hide.target===FALSE)s.hide.target=l;h.at=new a.fn.qtip.plugins.Corner(h.at);h.my=new a.fn.qtip.plugins.Corner(h.my);if(q.data("qtip"))if(s.overwrite)q.qtip("destroy");else if(s.overwrite===FALSE)return FALSE;q.attr("title")&&q.data("oldtitle",q.attr("title")).removeAttr("title");k=new O(q,s,d);q.data("qtip",k);return k}function Q(d){var b=this;b.checks={"^content.ajax":function(){this.plugins.ajax.load(this.options.content.ajax)}};a.extend(b,{init:function(){var k=d.options.content.ajax; -d.elements.tooltip.bind("tooltiprender.ajax",function(){b.load(k);d.elements.tooltip.bind("tooltipshow.ajax",function(){k.once===FALSE&&d.rendered===TRUE&&b.load(k)})})},load:function(k){a.ajax(a.extend(TRUE,{},k,{success:function(h,q){if(a.isFunction(k.success))if(k.success.call(d.hash(),h,q)===FALSE)return;d.set("content.text",h)},error:function(h,q,l){var s=q||l;if(a.isFunction(k.error)){h=k.error.call(d.hash(),h,q,l);if(h===FALSE)return}d.set("content.text",s)}}));return b},destroy:function(){d.elements.tooltip.unbind("tooltipshow.ajax")}}); -b.init()}function N(d,b,k){var h=Math.floor(b/2),q=Math.floor(k/2);b={bottomright:[[0,0],[b,k],[b,0]],bottomleft:[[0,0],[b,0],[0,k]],topright:[[0,k],[b,0],[b,k]],topleft:[[0,0],[0,k],[b,k]],topcenter:[[0,k],[h,0],[b,k]],bottomcenter:[[0,0],[b,0],[h,k]],rightcenter:[[0,0],[b,q],[0,k]],leftcenter:[[b,0],[b,k],[0,q]]};b.lefttop=b.bottomright;b.righttop=b.bottomleft;b.leftbottom=b.topright;b.rightbottom=b.topleft;return b[d]}function R(d){function b(j){var n=l.tip,c=["left","right"],f=q.offset,i,m;if(q.corner=== -FALSE||!n)return FALSE;j=j||h.corner;i=j.precedance;m=i==="y"?"x":"y";c[i==="y"?"push":"unshift"]("top","bottom");f=Math.max(j[m]==="center"?f:0,f);n.css({top:"",bottom:"",left:"",right:"",margin:""});switch(j[i==="y"?"x":"y"]){case "center":n.css(c[0],"50%").css("margin-"+c[0],-Math.floor(C[i==="y"?"width":"height"]/2)+f);break;case c[0]:n.css(c[0],f);break;case c[1]:n.css(c[1],f);break}f=C[i==="x"?"width":"height"];if(B){s.toggleClass("ui-tooltip-accessible",!s.is(":visible"));f-=parseInt(v.css("border-"+ -j[i]+"-width"),10)||0;s.removeClass("ui-tooltip-accessible")}if(e==="vml"&&/bottom|right/.test(j[j.precedance]))f+=B?1:-1;n.css(j[i],-f)}function k(j,n,c){if(l.tip){j=a.extend({},h.corner);n=j.precedance==="y"?["y","top","left","height","x"]:["x","left","top","width","y"];var f=c.adjusted,i=[0,0];if(h.corner.fixed!==TRUE){if(f.left)j.x=j.x==="center"?f.left>0?"left":"right":j.x==="left"?"right":"left";if(f.top)j.y=j.y==="center"?f.top>0?"top":"bottom":j.y==="top"?"bottom":"top";if(j.string()!==p.corner.string()&& -(p.top!==f.top||p.left!==f.left))h.update(j)}i[0]=B?parseInt(v.css("border-"+j[n[0]]+"-width"),10)||0:e==="vml"?1:0;i[1]=Math.max(j[n[4]]==="center"?q.offset:0,q.offset);c[n[1]]+=(j[n[0]]===n[1]?1:-1)*(C[n[3]]-i[0]);c[n[2]]-=(j[n[4]]===n[2]||j[n[4]]==="center"?1:-1)*i[1];p.left=f.left;p.top=f.top;p.corner=j}}var h=this,q=d.options.style.tip,l=d.elements,s=l.tooltip,v=l.wrapper,p={top:0,left:0,corner:{string:function(){}}},C={width:q.width,height:q.height},D={},B=q.border||0,e=q.method||FALSE;h.corner= -NULL;h.mimic=NULL;h.checks={"^position.my|style.tip.(corner|mimic|method|border)":function(){B=q.border;if(h.init())this.get("position.target")!=="mouse"&&this.reposition();else h.destroy()},"^style.tip.(height|width)":function(){C={width:q.width,height:q.height};h.create();h.update();d.reposition()},"^style.(classes|widget)$":function(){h.detectColours();h.update()}};a.extend(h,{init:function(){var j=a.browser.msie,n=h.detectCorner(),c=h[h.mimic?"mimic":"corner"].string().indexOf("center")>-1;if(n){if(e=== -TRUE)e=a("")[0].getContext?"canvas":j&&(c||C.height!==C.width)?"vml":"polygon";else if(e==="canvas")e=j?"vml":!a("")[0].getContext?"polygon":"canvas";else if(e==="polygon")e=j&&c?"vml":e;h.create();h.detectColours();h.update();s.unbind(".qtip-tip").bind("tooltipmove.qtip-tip",k)}return n},detectCorner:function(){var j=q.corner,n=d.options.position.at,c=d.options.position.my;if(c.string)c=c.string();if(j===FALSE||c===FALSE&&n===FALSE)return FALSE;else if(j===TRUE)h.corner=new a.fn.qtip.plugins.Corner(c); -else if(!j.string){h.corner=new a.fn.qtip.plugins.Corner(j);h.corner.fixed=TRUE}return h.corner.string()!=="centercenter"},detectColours:function(){var j=l.tip,n=h.corner,c=h.corner[h.corner.precedance],f="border-"+c+"-color",i=/rgba?\(0, 0, 0(, 0)?\)|transparent/i,m=l.titlebar&&n.y==="top",g=d.options.style.widget;n=g?l.content:m?l.titlebar:l.wrapper;m=!g?l.wrapper:m?l.titlebar:l.content;D.fill=j.css({backgroundColor:"",border:""}).css("background-color")||"transparent";D.border=j.get(0).style?j.get(0).style["border"+ -c.charAt(0)+c.substr(1)+"Color"]:j.css(f)||"transparent";if(i.test(D.fill))D.fill=B?n.css("background-color"):m.css(f);if(!D.border||i.test(D.border))D.border=m.css(f)||D.fill;a("*",j).add(j).css("background-color","transparent").css("border",0)},create:function(){var j=C.width,n=C.height;l.tip&&l.tip.remove();l.tip=a('
').toggleClass("ui-widget-content",d.options.style.widget).css(C).prependTo(s);switch(e){case "canvas":a('').appendTo(l.tip)[0].getContext("2d").save(); -break;case "vml":l.tip.html('');break;case "polygon":l.tip.append('
').append(B?'
': -"");break}return h},update:function(j){var n=l.tip,c=C.width,f=C.height,i=B>0?0:1,m=Math.ceil(B/2+0.5),g=q.mimic,o,w;if(!j)j=h.corner;if(g===FALSE)g=j;else{g=new a.fn.qtip.plugins.Corner(g);g.precedance=j.precedance;if(g.x==="inherit")g.x=j.x;else if(g.y==="inherit")g.y=j.y;else if(g.x===g.y)g[j.precedance]=j[j.precedance]}w=Math[/b|r/.test(g[g.precedance==="y"?"x":"y"])?"ceil":"floor"];n=n.children();switch(e){case "canvas":n=n.get(0).getContext("2d");n.restore&&n.restore();n.clearRect(0,0,3E3,3E3); -for(o=N(g.string(),c,f);i<2;i++){if(i){n.save();n.translate(w((g.x==="left"?1:g.x==="right"?-1:0)*(B+1)*(g.precedance==="y"?0.5:1)),w((g.y==="top"?1:g.y==="bottom"?-1:0)*(B+1)*(g.precedance==="x"?0.5:1)))}n.beginPath();n.moveTo(o[0][0],o[0][1]);n.lineTo(o[1][0],o[1][1]);n.lineTo(o[2][0],o[2][1]);n.closePath();n.fillStyle=D[i?"fill":"border"];n.fill()}break;case "vml":o=N(g.string(),c,f);i="m"+o[0][0]+","+o[0][1]+" l"+o[1][0]+","+o[1][1]+" "+o[2][0]+","+o[2][1]+" xe";n.attr({path:i,fillcolor:D.fill}); -if(B){n.children().attr("color",D.border);if(g.precedance==="y"){n.css("top",(g.y==="top"?1:-1)*(B-2));n.css("left",g.x==="left"?1:-2)}else{n.css("left",(g.x==="left"?1:-1)*(B-2));n.css("top",g.y==="top"?1:-2)}}break;case "polygon":if(g.precedance==="y"){i=c>f?1.5:cf?5:2.2;m=[Math.floor(i*m*(g.x==="right"?-1:1)*(g.y==="center"?0.9:1)),g.y==="top"?m:g.y==="bottom"?-m:0]}n.removeAttr("style").each(function(y){var u= -{x:g.precedance==="x"?g.x==="left"?"right":"left":g.x,y:g.precedance==="y"?g.y==="top"?"bottom":"top":g.y},t=g.x==="center"?["left","right",u.y,f,c]:["top","bottom",u.x,c,f],r=D[!y&&B?"border":"fill"];y&&a(this).css({position:"absolute","z-index":1,left:m[0],top:m[1]});g.x==="center"||g.y==="center"?a(this).css("border-"+t[2],t[3]+"px solid "+r).css("border-"+t[0],Math.floor(t[4]/2)+"px dashed transparent").css("border-"+t[1],Math.floor(t[4]/2)+"px dashed transparent"):a(this).css("border-width", -Math.floor(f/2)+"px "+Math.floor(c/2)+"px").css("border-"+u.x,Math.floor(c/2)+"px solid "+r).css("border-"+u.y,Math.floor(f/2)+"px solid "+r)});break}b(j);return h},destroy:function(){l.tip&&l.tip.remove();s.unbind(".qtip-tip")}})}function S(d,b){var k=this,h=d.elements,q=h.tooltip;h.overlay=a("#qtip-overlay");a.extend(k,{init:function(){q.bind("tooltipshow.qtipmodal tooltiphide.qtipmodal",function(l,s,v){l=l.type.replace("tooltip","");a.isFunction(b[l])?b[l].call(h.overlay,v,s):k[l](v)});h.overlay.length|| -k.create();b.blur===TRUE&&h.overlay.bind("click.qtipmodal"+d.id,function(){d.hide.call(d)})},create:function(){h.overlay=a("
",{id:"qtip-overlay",css:{position:"absolute",top:0,left:0,display:"none"}}).appendTo(document.body);a(G).bind("resize.qtipmodal",function(){h.overlay.css({height:Math.max(a(G).height(),a(document).height()),width:Math.max(a(G).width(),a(document).width())})}).trigger("resize")},toggle:function(l){var s=h.overlay,v=d.options.show.modal.effect,p=l?"show":"hide";s.stop(TRUE, -FALSE);if(a.isFunction(v))v.call(s,l);else v===FALSE?s[p]():s.fadeTo(90,l?0.7:0,function(){l||a(this).hide()})},show:function(){k.toggle(TRUE)},hide:function(){k.toggle(FALSE)},destroy:function(){var l=TRUE;a("*").each(function(){var s=a(this).data("qtip");if(s&&s.id!==d.id&&s.options.show.modal)return l=FALSE});if(l){h.overlay.remove();a(G).unbind("scroll.qtipmodal resize.qtipmodal")}else h.overlay.unbind("click.qtipmodal"+d.id);q.unbind("tooltipshow.qtipmodal tooltiphide.qtipmodal")}});k.init()} -function T(d){var b=this,k=d.elements,h=k.tooltip,q=".bgiframe-"+d.id,l="tooltipmove"+q+" tooltipshow"+q;a.extend(b,{init:function(){k.bgiframe=a('');k.bgiframe.appendTo(h);h.bind(l,b.adjust)},adjust:function(){var s=d.get("dimensions"),v=d.plugins.tip,p=d.elements.tip,C;C=parseInt(h.css("border-left-width"),10)||0;C={left:-C, -top:-C};if(v&&p){v=v.corner.precedance==="x"?["width","left"]:["height","top"];C[v[1]]-=p[v[0]]()}k.bgiframe.css(C).css(s)},destroy:function(){b.iframe.remove();h.unbind(l)}});b.init()}a.fn.qtip=function(d,b,k){var h=String(d).toLowerCase(),q=NULL,l=h==="disable"?[TRUE]:a.makeArray(arguments).slice(1,10),s=l[l.length-1],v;if(!arguments.length&&this.data("qtip")||h==="api")return(v=this.data("qtip"))?v.hash():K;else if("string"===typeof d){this.each(function(){var p=a(this).data("qtip");if(!p)return TRUE; -if(/option|set/.test(h)&&b)if(k!==K)p.set(b,k);else q=p.get(b);else{if(!p.rendered&&(h==="show"||h==="toggle")){if(s&&s.timeStamp)p.cache.event=s;p.render(1)}else if(h==="enable"){h="disable";l=[FALSE]}p[h]&&p[h].apply(p[h],l)}});return q!==NULL?q:this}else if("object"===typeof d||!arguments.length){v=L(a.extend(TRUE,{},d));return a.fn.qtip.bind.call(this,v,s)}};a.fn.qtip.bind=function(d,b){return this.each(function(){function k(C){function D(){p.render(typeof C==="object"||h.show.ready);q.show.unbind(l.show); -q.hide.unbind(l.hide)}if(p.cache.disabled)return FALSE;p.cache.event=a.extend({},C);if(h.show.delay>0){clearTimeout(p.timers.show);p.timers.show=setTimeout(D,h.show.delay);l.show!==l.hide&&q.hide.bind(l.hide,function(){clearTimeout(p.timers.show)})}else D()}var h,q,l,s=d.id=!d.id||d.id===FALSE||d.id.length<1||a("#ui-tooltip-"+d.id).length?a.fn.qtip.nextid++:d.id,v=".qtip-"+s+"-create",p=P.call(this,s,d);if(p===FALSE)return TRUE;h=p.options;a.each(a.fn.qtip.plugins,function(){this.initialize==="initialize"&& -this(p)});q={show:h.show.target,hide:h.hide.target};l={show:String(h.show.event).replace(" ",v+" ")+v,hide:String(h.hide.event).replace(" ",v+" ")+v};q.show.bind(l.show,k);if(h.show.ready||h.prerender)k(b)})};a.each({attr:function(d){var b=a(this),k=b.data("qtip");return arguments.length===1&&d==="title"&&k&&k.rendered===TRUE?b.data("oldtitle"):NULL},remove:a.ui?NULL:function(d,b){a(this).each(function(){if(!b)if(!d||a.filter(d,[this]).length)a("*",this).add(this).each(function(){a(this).triggerHandler("remove")})})}}, -function(d,b){if(!b)return TRUE;a.fn["Old"+d]=a.fn[d];a.fn[d]=function(){return b.apply(this,arguments)||a.fn["Old"+d].apply(this,arguments)}});a(document.body).attr("role",function(d,b){return!b?"application":b});a(document).bind("mousemove.qtip",function(d){a.fn.qtip.mouse={pageX:d.pageX,pageY:d.pageY}});a.fn.qtip.version="2.0.0pre";a.fn.qtip.nextid=0;a.fn.qtip.inactiveEvents="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" ");a.fn.qtip.zindex=15E3;a.fn.qtip.plugins={Corner:function(d){d= -String(d).replace(/([A-Z])/," $1").replace(/middle/gi,"center").toLowerCase();this.x=(d.match(/left|right/i)||d.match(/center/)||["inherit"])[0].toLowerCase();this.y=(d.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase();this.precedance=d.charAt(0).search(/^(t|b)/)>-1?"y":"x";this.string=function(){return this.precedance==="y"?this.y+this.x:this.x+this.y};this.abbreviation=function(){var b=this.x.substr(0,1),k=this.y.substr(0,1);return b===k?b:b==="c"||b!=="c"&&k!=="c"?k+b:b+k}}};a.fn.qtip.defaults= -{prerender:FALSE,id:FALSE,overwrite:TRUE,metadata:{type:"class"},content:{text:TRUE,attr:"title",title:{text:FALSE,button:FALSE}},position:{my:"top left",at:"bottom right",target:FALSE,container:FALSE,adjust:{x:0,y:0,mouse:TRUE,screen:FALSE,resize:TRUE,container:FALSE},effect:TRUE},show:{target:FALSE,event:"mouseenter",effect:TRUE,delay:90,solo:FALSE,ready:FALSE},hide:{target:FALSE,event:"mouseleave",effect:TRUE,delay:0,fixed:FALSE,inactive:FALSE},style:{classes:"",widget:FALSE},events:{render:NULL, -move:NULL,show:NULL,hide:NULL,focus:NULL,blur:NULL}};a.fn.qtip.plugins.ajax=function(d){var b=d.plugins.ajax,k=d.options.content.ajax;if(k&&k.url)if(b)return b;else{d.plugins.ajax=new Q(d);return d.plugins.ajax}};a.fn.qtip.plugins.ajax.initialize="render";a.fn.qtip.plugins.ajax.sanitize=function(d){var b=d.content;if(b&&"ajax"in b){b=b.ajax;if(typeof b!=="object")b=d.content.ajax={url:b};if("boolean"!==typeof b.once&&b.once)b.once=!!b.once}};a.extend(TRUE,a.fn.qtip.defaults,{content:{ajax:{once:TRUE}}}); -a.fn.qtip.plugins.tip=function(d){var b=d.plugins.tip,k=d.options.style.tip;if(k&&k.corner)if(b)return b;else{d.plugins.tip=new R(d);d.plugins.tip.init();return d.plugins.tip}};a.fn.qtip.plugins.tip.initialize="render";a.fn.qtip.plugins.tip.sanitize=function(d){var b=d.style;if(b&&"tip"in b){b=d.style.tip;if(typeof b!=="object")d.style.tip={corner:b};if(!/string|boolean/i.test(typeof b.corner))b.corner=true;if(typeof b.method!=="string")b.method=TRUE;if(!/canvas|polygon/i.test(b.method))b.method= -TRUE;typeof b.width!=="number"&&delete b.width;typeof b.height!=="number"&&delete b.height;typeof b.border!=="number"&&delete b.border;typeof b.offset!=="number"&&delete b.offset}};a.extend(TRUE,a.fn.qtip.defaults,{style:{tip:{corner:TRUE,mimic:FALSE,method:TRUE,width:9,height:9,border:0,offset:0}}});a.fn.qtip.plugins.imagemap=function(d,b){function k(B,e){for(var j=0,n=1,c=1,f=0,i=0,m=B.width,g=B.height;m>0&&g>0&&n>0&&c>0;){m=Math.floor(m/2);g=Math.floor(g/2);if(b.x==="left")n=m;else if(b.x==="right")n= -B.width-m;else n+=Math.floor(m/2);if(b.y==="top")c=g;else if(b.y==="bottom")c=B.height-g;else c+=Math.floor(g/2);for(j=e.length;j--;){if(e.length<2)break;f=e[j][0]-B.offset.left;i=e[j][1]-B.offset.top;if(b.x==="left"&&f>=n||b.x==="right"&&f<=n||b.x==="center"&&(fB.width-n)||b.y==="top"&&i>=c||b.y==="bottom"&&i<=c||b.y==="center"&&(iB.height-c))e.splice(j,1)}}return{left:e[0][0],top:e[0][1]}}var h=d.attr("shape").toLowerCase(),q=d.attr("coords").split(","),l=[],s=a('img[usemap="#'+d.parent("map").attr("name")+ -'"]'),v=s.offset(),p={width:0,height:0,offset:{top:1E10,right:0,bottom:0,left:1E10}},C=0,D=0;v.left+=Math.ceil((s.outerWidth()-s.width())/2);v.top+=Math.ceil((s.outerHeight()-s.height())/2);if(h==="poly")for(C=q.length;C--;){D=[parseInt(q[--C],10),parseInt(q[C+1],10)];if(D[0]>p.offset.right)p.offset.right=D[0];if(D[0]p.offset.bottom)p.offset.bottom=D[1];if(D[1]",{"class":j+"-titlebar "+(b.style.widget?"ui-widget-header":"")}).append(c.title=a("
",{id:j+"-"+k+"-title","class":j+"-title",html:b.content.title.text})).prependTo(c.wrapper);if(b.content.title.button)v();else e.rendered===TRUE&&e.redraw()}function A(c){var f=e.elements;if(!e.rendered||!c)return FALSE;if(a.isFunction(c))c=c.call(d);c.jquery&&c.length>0?f.content.empty().append(c.css({display:"block"})): +f.content.html(c);f.tooltip.queue("fx",function(i){function l(q){g=g.not(q);if(g.length===0){e.redraw();e.rendered===TRUE&&e.reposition(e.cache.event);i()}}var g=a("img:not([height]):not([width])",e.elements.content);g.each(function(q,x){var D=["abort","error","load","unload",""].join(".qtip-image ");a(this).bind(D,function(){clearTimeout(e.timers.img[q]);l(this)});(function u(){if(x.height)return l(x);e.timers.img[q]=setTimeout(u,20)})();return TRUE});g.length===0&&l(g)});return e}function B(c,f, +i,l){function g(C){if(r.tooltip.hasClass("ui-state-disabled"))return FALSE;r.show.trigger("qtip-"+k+"-inactive");clearTimeout(e.timers.show);clearTimeout(e.timers.hide);var w=function(){e.show(C)};if(b.show.delay>0)e.timers.show=setTimeout(w,b.show.delay);else w()}function q(C){if(r.tooltip.hasClass("ui-state-disabled"))return FALSE;var w=a(C.relatedTarget||C.target).parents(n)[0]==r.tooltip[0];clearTimeout(e.timers.show);clearTimeout(e.timers.hide);if(b.hide.fixed&&(t.target==="mouse"&&w||/mouse(out|leave|move)/.test(C.type)&& +w)){C.stopPropagation();C.preventDefault();return FALSE}r.tooltip.stop(1,1);if(b.hide.delay>0)e.timers.hide=setTimeout(function(){e.hide(C)},b.hide.delay);else e.hide(C)}function x(C){if(r.tooltip.hasClass("ui-state-disabled"))return FALSE;clearTimeout(e.timers.inactive);e.timers.inactive=setTimeout(function(){e.hide(C)},b.hide.inactive)}function D(C){if(!e.cache.processing){e.cache.processing=1;e.elements.tooltip.is(":visible")&&e.reposition(C);e.cache.processing=0}}var u=".qtip-"+k,t=b.position, +r={show:b.show.target,hide:b.hide.target,tooltip:e.elements.tooltip,container:t.container[0]===document.body?document:t.container},E={show:String(b.show.event).split(" "),hide:String(b.hide.event).split(" ")},I=a.browser.msie&&parseInt(a.browser.version,10)===6;d.bind("remove.qtip",function(){e.destroy()});if(i&&b.hide.fixed){r.hide=r.hide.add(r.tooltip);r.tooltip.bind("mouseover"+u,function(){r.tooltip.hasClass("ui-state-disabled")||clearTimeout(e.timers.hide)})}if(f){if("number"===typeof b.hide.inactive){r.show.bind("qtip-"+ +k+"-inactive",x);a.each(a.fn.qtip.inactiveEvents,function(C,w){r.hide.add(e.elements.tooltip).bind(w+u+"-inactive",x)})}a.each(E.hide,function(C,w){var y=a.inArray(w,E.show);if(y>-1&&a(r.hide).add(r.show).length===a(r.hide).length||w==="unfocus"){r.show.bind(w+u,function(F){r.tooltip.is(":visible")?q(F):g(F)});delete E.show[y]}else r.hide.bind(w+u,q)})}if(c){a.each(E.show,function(C,w){r.show.bind(w+u,g)});r.tooltip.bind("mouseover"+u,function(){e.focus()})}if(l){if(t.adjust.resize||t.adjust.screen)a(a.event.special.resize? +r.container:G).bind("resize"+u,D);if(t.adjust.screen||I&&r.tooltip.css("position")==="fixed")a(r.container).bind("scroll"+u,D);/unfocus/i.test(b.hide.event)&&a(document).bind("mousedown"+u,function(C){var w=e.elements.tooltip;a(C.target).parents(n).length===0&&a(C.target).add(d).length>1&&w.is(":visible")&&!w.hasClass("ui-state-disabled")&&e.hide()});t.target==="mouse"&&a(document).bind("mousemove"+u,function(C){if(t.adjust.mouse&&!r.tooltip.hasClass("ui-state-disabled")&&r.tooltip.is(":visible"))e.reposition(C|| +a.fn.qtip.mouse)})}}function z(c,f,i,l){l=parseInt(l,10)!==0;var g=".qtip-"+k;f={show:c?b.show.target:NULL,hide:f?b.hide.target:NULL,tooltip:i?e.elements.tooltip:NULL,content:i?e.elements.content:NULL,container:l?b.position.container[0]===document.body?document:b.position.container:NULL,window:l?G:NULL};if(e.rendered)a([]).pushStack(a.grep([f.show,f.hide,f.tooltip,f.container,f.content,f.window],function(){return this!==null})).unbind(g);else c&&f.show.unbind(g+"-create")}var e=this,j="ui-tooltip", +n=".qtip."+j;e.id=k;e.rendered=FALSE;e.elements={target:d};e.cache={event:{},target:NULL,disabled:FALSE};e.timers={img:[]};e.options=b;e.plugins={};a.extend(e,{render:function(c){var f=e.elements,i=a.Event("tooltiprender");if(e.rendered)return FALSE;e.rendered=c?-2:-1;f.tooltip=a("
").attr({id:j+"-"+k,role:"tooltip","class":j+" qtip ui-tooltip-accessible ui-helper-reset "+b.style.classes}).css("z-index",a.fn.qtip.zindex+a(n).length).toggleClass("ui-widget",b.style.widget).toggleClass("ui-state-disabled", +e.cache.disabled).data("qtip",e).appendTo(b.position.container);f.wrapper=a("
",{"class":j+"-wrapper"}).appendTo(f.tooltip);f.content=a("
",{"class":j+"-content "+(b.style.widget?"ui-widget-content":""),id:j+"-"+k+"-content"}).appendTo(f.wrapper);b.content.title.text&&o();A(b.content.text);a.each(a.fn.qtip.plugins,function(){this.initialize==="render"&&this(e)});e.rendered=TRUE;B(1,1,1,1);a.each(b.events,function(l,g){g&&f.tooltip.bind("tooltip"+l,g)});f.tooltip.queue("fx",function(l){if(b.show.ready|| +c){f.tooltip.hide();e.show(e.cache.event)}f.tooltip.removeClass("ui-tooltip-accessible");i.originalEvent=e.cache.event;f.tooltip.trigger(i,[e.hash()]);l()});return e},get:function(c){switch(c.toLowerCase()){case "offset":c=m("position");break;case "dimensions":c=m("dimensions");break;default:c=h(c.toLowerCase());c=c[0].precedance?c[0].string():c[0].jquery?c[0]:c[0][c[1]];break}return c},set:function(c,f){c=c.toLowerCase();var i=h(c),l=e.elements,g=l.tooltip,q,x,D,u={builtin:{id:function(){var t=f=== +TRUE?a.fn.qtip.nextid:f,r=j+"-"+t;if(t!==FALSE&&t.length>0&&!a("#ui-tooltip-"+t).length){g[0].id=r;l.content[0].id=r+"-content";l.title[0].id=r+"-title"}},"^content.text":function(){A(f)},"^content.title.text":function(){if(e.rendered)if(!e.elements.title&&f){o();e.reposition()}else f?e.elements.title.html(f):s()},"^content.title.button":function(){var t=e.elements.button,r=e.elements.title;if(e.rendered)if(f){r||o();v()}else t.remove()},"^position.(my|at)$":function(){var t=/my$/i.test(c)?"my":"at"; +if("string"===typeof f)b.position[t]=new a.fn.qtip.plugins.Corner(f)},"^position.(my|at|adjust|target)":function(){e.rendered&&e.reposition()},"^position.container$":function(){if(e.rendered===TRUE){g.appendTo(f);e.reposition()}},"^(show|hide).(event|target|fixed|delay|inactive)":function(t,r,E,I){var C=c.search(/fixed/i)>-1?[0,[0,1,1,1]]:[c.substr(0,3),c.charAt(0)==="s"?[1,0,0,0]:[0,1,0,0]];if(C[0])t[r]=I;z.apply(e,C[1]);if(C[0])t[r]=E;B.apply(e,C[1])},"^show.ready$":function(){e.rendered===FALSE&& +e.show()},"^style.classes$":function(){e.elements.tooltip.attr("class",j+" qtip ui-helper-reset "+f)},"^style.widget$":function(){var t=!!f;g.toggleClass("ui-widget",t);l.titlebar.toggleClass("ui-widget-header",t);l.content.toggleClass("ui-widget-content",t);l.button.children("span").toggleClass(j+"-icon",!t).toggleClass("ui-icon",t)},"^events.(render|show|move|hide|focus|blur)":function(t,r,E){l.tooltip[(a.isFunction(f)?"":"un")+"bind"]("tooltip"+r,E)}}};a.each(e.plugins,function(t){if("object"=== +typeof this.checks)u[t]=this.checks});q=i[0][i[1]];i[0][i[1]]=f.nodeType?a(f):f;L(b);for(x in u)for(D in u[x])RegExp(D,"i").test(c)&&u[x][D].call(e,i[0],i[1],f,q);return e},toggle:function(c,f){function i(){var u=a(this),t=c?"attr":"removeAttr",r=/^1|0$/.test(u.css("opacity"));e.elements.title&&d[t]("aria-labelledby",j+"-"+k+"-title");d[t]("aria-describedby",j+"-"+k+"-content");if(c){if(a.browser.msie&&this.style&&r){D=this.style;D.removeAttribute("filter");D.removeAttribute("opacity")}}else r&&u.hide()} +if(e.rendered===FALSE)return FALSE;var l=c?"show":"hide",g=e.elements.tooltip,q=b[l],x=g.is(":visible"),D;if((typeof c).search("boolean|number"))c=!g.is(":visible");if(!x&&!c||g.is(":animated"))return e;if(f){if(e.cache.event&&/over|enter/.test(f.type)&&/out|leave/.test(e.cache.event.type)&&a(f.target).add(b.show.target).length<2&&a(f.relatedTarget).parents(n).length>0)return e;e.cache.event=a.extend({},f)}x=a.Event("tooltip"+l);x.originalEvent=f?e.cache.event:NULL;g.trigger(x,[e.hash(),90]);if(x.isDefaultPrevented())return e; +if(c){e.focus();e.reposition(f);q.solo&&a(n).qtip("hide")}else clearTimeout(e.timers.show);g.attr("aria-hidden",Boolean(!c));g.stop(1,1);if(a.isFunction(q.effect)){q.effect.call(g,e.hash());g.queue(function(){i.call(this);a(this).dequeue()})}else if(q.effect===FALSE){g[l]();i.call(g)}else g.fadeTo(90,c?1:0,i);c&&q.target.trigger("qtip-"+k+"-inactive");return e},show:function(c){e.toggle(TRUE,c)},hide:function(c){e.toggle(FALSE,c)},focus:function(c){if(e.rendered===FALSE)return FALSE;var f=e.elements.tooltip, +i=a(n),l=parseInt(f[0].style.zIndex,10),g=a.fn.qtip.zindex+i.length,q=j+"-focus",x=a.extend({},c);if(!f.hasClass(q)&&l!==g){i.each(function(){this.style.zIndex-=1});a(n+"."+q).each(function(){var D=a(this),u=D.qtip(),t;if(!u||u.rendered===FALSE)return TRUE;D.removeClass(q);t=a.Event("tooltipblur");t.originalEvent=x;D.trigger(t,[u,g])});c=a.Event("tooltipfocus");c.originalEvent=x;f.trigger(c,[e.hash(),g]);if(!c.isDefaultPrevented())f.addClass(q)[0].style.zIndex=g}return e},reposition:function(c){if(e.rendered=== +FALSE)return FALSE;var f=b.position.target,i=e.elements.tooltip,l=b.position,g=l.my,q=l.at,x=l.adjust,D=e.elements.tooltip.width(),u=e.elements.tooltip.height(),t=a(l.container)[0],r=0,E=0,I=a.Event("tooltipmove"),C=i.css("position")==="fixed",w=a(x.container&&t!==document.body?t:G),y={left:0,top:0};t={left:function(F){var J=w.scrollLeft,H=q.x==="left"?r:q.x==="right"?-r:-r/2,M=F+D-w.width-J;H=(g.x==="left"?D:g.x==="right"?-D:-D/2)-(g.x===g.y?1:-2)*x.x-(g.precedance==="x"||g.x===g.y?H:0);if(J-F>0)y.left-= +H;else if(M>0)y.left-=(g.x==="center"?-1:1)*H;return y.left-F},top:function(F){var J=w.scrollTop,H=q.y==="top"?E:q.y==="bottom"?-E:-E/2,M=F+u-w.height-J;H=(g.y==="top"?u:g.y==="bottom"?-u:-u/2)-(g.y===g.x?1:-2)*x.y-(g.precedance==="y"||g.x===g.y?H:0);if(J-F>0)y.top-=H;else if(M>0)y.top-=(g.y==="center"?-1:1)*H;return y.top-F}};w={elem:w,height:w[(w[0]===G?"h":"outerH")+"eight"](),width:w[(w[0]===G?"w":"outerW")+"idth"](),scrollLeft:w.scrollLeft(),scrollTop:w.scrollTop()};if(f==="mouse"){q={x:"left", +y:"top"};c=x.mouse||!c||!c.pageX?a.extend({},a.fn.qtip.mouse):c;y={top:c.pageY,left:c.pageX}}else{if(f==="event")f=c&&c.target&&c.type!=="scroll"&&c.type!=="resize"?e.cache.target=a(c.target):e.cache.target;f=a(f).eq(0);if(f.length===0)return e;else if(f[0]===document||f[0]===G){r=f.width();E=f.height();if(f[0]===G)y={top:C?0:w.scrollTop,left:C?0:w.scrollLeft}}else if(f.is("area")&&a.fn.qtip.plugins.imagemap){y=a.fn.qtip.plugins.imagemap(f,q);r=y.width;E=y.height;y=y.offset}else{r=f.outerWidth(); +E=f.outerHeight();y=p(f)}y.left+=q.x==="right"?r:q.x==="center"?r/2:0;y.top+=q.y==="bottom"?E:q.y==="center"?E/2:0}y.left+=x.x+(g.x==="right"?-D:g.x==="center"?-D/2:0);y.top+=x.y+(g.y==="bottom"?-u:g.y==="center"?-u/2:0);y.adjusted=x.screen&&f[0]!==G&&f[0]!==document.body?{left:t.left(y.left),top:t.top(y.top)}:{left:0,top:0};i.attr("class",function(){return a(this).attr("class").replace(/ui-tooltip-pos-\w+/i,"")}).addClass(j+"-pos-"+g.abbreviation());I.originalEvent=a.extend({},c);i.trigger(I,[e.hash(), +y,w.elem]);if(I.isDefaultPrevented())return e;delete y.adjusted;if(i.is(":visible")&&a.isFunction(l.effect)){l.effect.call(i,e.hash(),y);i.queue(function(){var F=a(this);F.css({opacity:"",height:""});a.browser.msie&&this.style&&this.style.removeAttribute("filter");F.dequeue()})}else isNaN(y.left,y.top)||i.css(y);return e},redraw:function(){if(!e.rendered||!(a.browser.msie&&parseInt(a.browser.version.charAt(0),10)<9))return FALSE;var c=e.elements.tooltip;c.attr("style");var f;c.css({width:"auto",height:"auto"}); +f=m("dimensions",1);a.each(["width","height"],function(i,l){var g=parseInt(c.css("max-"+l),10)||0,q=parseInt(c.css("min-"+l),10)||0;f[l]=g+q?Math.min(Math.max(f[l],q),g):f[l]});c.css(f)},disable:function(c){var f=e.elements.tooltip;if(e.rendered)f.toggleClass("ui-state-disabled",c);else e.cache.disabled=!!c;return e},destroy:function(){var c=e.elements,f=c.target.data("oldtitle");e.rendered&&a.each(e.plugins,function(){this.initialize==="render"&&this.destroy()});z(1,1,1,1);d.removeData("qtip");e.rendered&& +c.tooltip.remove();f&&d.attr("title",f);d.removeAttr("aria-describedby");return d},hash:function(){var c=a.extend({},e);delete c.cache;delete c.timers;delete c.options;delete c.plugins;delete c.render;delete c.hash;return c}})}function P(d,b){var k,h,p=a(this);k=a(document.body);var m=this===document?k:p;h=p.metadata?p.metadata(b.metadata):NULL;var s=a.extend(TRUE,{},a.fn.qtip.defaults,b,L((h&&b.metadata.type==="html5"?h[b.metadata.name]:NULL)||h));p.removeData("metadata");h=s.position;if("boolean"=== +typeof s.content.text)if(s.content.attr!==FALSE&&p.attr(s.content.attr))s.content.text=p.attr(s.content.attr);else return FALSE;if(h.container===FALSE)h.container=k;if(h.target===FALSE)h.target=m;if(s.show.target===FALSE)s.show.target=m;if(s.hide.target===FALSE)s.hide.target=m;h.at=new a.fn.qtip.plugins.Corner(h.at);h.my=new a.fn.qtip.plugins.Corner(h.my);if(p.data("qtip"))if(s.overwrite)p.qtip("destroy");else if(s.overwrite===FALSE)return FALSE;p.attr("title")&&p.data("oldtitle",p.attr("title")).removeAttr("title"); +k=new O(p,s,d);p.data("qtip",k);return k}function Q(d){var b=this;b.checks={"^content.ajax":function(){this.plugins.ajax.load(this.options.content.ajax)}};a.extend(b,{init:function(){var k=d.options.content.ajax;d.elements.tooltip.bind("tooltiprender.ajax",function(){b.load(k);d.elements.tooltip.bind("tooltipshow.ajax",function(){k.once===FALSE&&d.rendered===TRUE&&b.load(k)})})},load:function(k){a.ajax(a.extend(TRUE,{},k,{success:function(h,p){if(a.isFunction(k.success))if(k.success.call(d.hash(), +h,p)===FALSE)return;d.set("content.text",h)},error:function(h,p,m){var s=p||m;if(a.isFunction(k.error)){h=k.error.call(d.hash(),h,p,m);if(h===FALSE)return}d.set("content.text",s)}}));return b},destroy:function(){d.elements.tooltip.unbind("tooltipshow.ajax")}});b.init()}function N(d,b,k){var h=Math.floor(b/2),p=Math.floor(k/2);b={bottomright:[[0,0],[b,k],[b,0]],bottomleft:[[0,0],[b,0],[0,k]],topright:[[0,k],[b,0],[b,k]],topleft:[[0,0],[0,k],[b,k]],topcenter:[[0,k],[h,0],[b,k]],bottomcenter:[[0,0], +[b,0],[h,k]],rightcenter:[[0,0],[b,p],[0,k]],leftcenter:[[b,0],[b,k],[0,p]]};b.lefttop=b.bottomright;b.righttop=b.bottomleft;b.leftbottom=b.topright;b.rightbottom=b.topleft;return b[d]}function R(d){function b(j){var n=m.tip,c=["left","right"],f=p.offset,i,l;if(p.corner===FALSE||!n)return FALSE;j=j||h.corner;i=j.precedance;l=i==="y"?"x":"y";c[i==="y"?"push":"unshift"]("top","bottom");f=Math.max(j[l]==="center"?f:0,f);n.css({top:"",bottom:"",left:"",right:"",margin:""});switch(j[i==="y"?"x":"y"]){case "center":n.css(c[0], +"50%").css("margin-"+c[0],-Math.floor(A[i==="y"?"width":"height"]/2)+f);break;case c[0]:n.css(c[0],f);break;case c[1]:n.css(c[1],f);break}f=A[i==="x"?"width":"height"];if(z){s.toggleClass("ui-tooltip-accessible",!s.is(":visible"));f-=parseInt(v.css("border-"+j[i]+"-width"),10)||0;s.removeClass("ui-tooltip-accessible")}if(e==="vml"&&/bottom|right/.test(j[j.precedance]))f+=z?1:-1;n.css(j[i],-f)}function k(j,n,c){if(m.tip){j=a.extend({},h.corner);n=j.precedance==="y"?["y","top","left","height","x"]: +["x","left","top","width","y"];var f=c.adjusted,i=[0,0];if(h.corner.fixed!==TRUE){if(f.left)j.x=j.x==="center"?f.left>0?"left":"right":j.x==="left"?"right":"left";if(f.top)j.y=j.y==="center"?f.top>0?"top":"bottom":j.y==="top"?"bottom":"top";if(j.string()!==o.corner.string()&&(o.top!==f.top||o.left!==f.left))h.update(j)}i[0]=z?parseInt(v.css("border-"+j[n[0]]+"-width"),10)||0:e==="vml"?1:0;i[1]=Math.max(j[n[4]]==="center"?p.offset:0,p.offset);c[n[1]]+=(j[n[0]]===n[1]?1:-1)*(A[n[3]]-i[0]);c[n[2]]-= +(j[n[4]]===n[2]||j[n[4]]==="center"?1:-1)*i[1];o.left=f.left;o.top=f.top;o.corner=j}}var h=this,p=d.options.style.tip,m=d.elements,s=m.tooltip,v=m.wrapper,o={top:0,left:0,corner:{string:function(){}}},A={width:p.width,height:p.height},B={},z=p.border||0,e=p.method||FALSE;h.corner=NULL;h.mimic=NULL;h.checks={"^position.my|style.tip.(corner|mimic|method|border)":function(){z=p.border;if(h.init())this.get("position.target")!=="mouse"&&this.reposition();else h.destroy()},"^style.tip.(height|width)":function(){A= +{width:p.width,height:p.height};h.create();h.update();d.reposition()},"^style.(classes|widget)$":function(){h.detectColours();h.update()}};a.extend(h,{init:function(){var j=a.browser.msie,n=h.detectCorner(),c=h[h.mimic?"mimic":"corner"].string().indexOf("center")>-1;if(n){if(e===TRUE)e=a("")[0].getContext?"canvas":j&&(c||A.height!==A.width)?"vml":"polygon";else if(e==="canvas")e=j?"vml":!a("")[0].getContext?"polygon":"canvas";else if(e==="polygon")e=j&&c?"vml":e;h.create();h.detectColours(); +h.update();s.unbind(".qtip-tip").bind("tooltipmove.qtip-tip",k)}return n},detectCorner:function(){var j=p.corner,n=d.options.position.at,c=d.options.position.my;if(c.string)c=c.string();if(j===FALSE||c===FALSE&&n===FALSE)return FALSE;else if(j===TRUE)h.corner=new a.fn.qtip.plugins.Corner(c);else if(!j.string){h.corner=new a.fn.qtip.plugins.Corner(j);h.corner.fixed=TRUE}return h.corner.string()!=="centercenter"},detectColours:function(){var j=m.tip,n=h.corner,c=h.corner[h.corner.precedance],f="border-"+ +c+"-color",i=/rgba?\(0, 0, 0(, 0)?\)|transparent/i,l=m.titlebar&&n.y==="top",g=d.options.style.widget;n=g?m.content:l?m.titlebar:m.wrapper;l=!g?m.wrapper:l?m.titlebar:m.content;B.fill=j.css({backgroundColor:"",border:""}).css("background-color")||"transparent";B.border=j.get(0).style?j.get(0).style["border"+c.charAt(0)+c.substr(1)+"Color"]:j.css(f)||"transparent";if(i.test(B.fill))B.fill=z?n.css("background-color"):l.css(f);if(!B.border||i.test(B.border))B.border=l.css(f)||B.fill;a("*",j).add(j).css("background-color", +"transparent").css("border",0)},create:function(){var j=A.width,n=A.height;m.tip&&m.tip.remove();m.tip=a('
').toggleClass("ui-widget-content",d.options.style.widget).css(A).prependTo(s);switch(e){case "canvas":a('').appendTo(m.tip)[0].getContext("2d").save();break;case "vml":m.tip.html('');break;case "polygon":m.tip.append('
').append(z?'
':"");break}return h},update:function(j){var n=m.tip,c=A.width,f=A.height,i=z>0?0:1,l=Math.ceil(z/2+0.5),g=p.mimic,q,x;if(!j)j=h.corner;if(g===FALSE)g=j;else{g=new a.fn.qtip.plugins.Corner(g); +g.precedance=j.precedance;if(g.x==="inherit")g.x=j.x;else if(g.y==="inherit")g.y=j.y;else if(g.x===g.y)g[j.precedance]=j[j.precedance]}x=Math[/b|r/.test(g[g.precedance==="y"?"x":"y"])?"ceil":"floor"];n=n.children();switch(e){case "canvas":n=n.get(0).getContext("2d");n.restore&&n.restore();n.clearRect(0,0,3E3,3E3);for(q=N(g.string(),c,f);i<2;i++){if(i){n.save();n.translate(x((g.x==="left"?1:g.x==="right"?-1:0)*(z+1)*(g.precedance==="y"?0.5:1)),x((g.y==="top"?1:g.y==="bottom"?-1:0)*(z+1)*(g.precedance=== +"x"?0.5:1)))}n.beginPath();n.moveTo(q[0][0],q[0][1]);n.lineTo(q[1][0],q[1][1]);n.lineTo(q[2][0],q[2][1]);n.closePath();n.fillStyle=B[i?"fill":"border"];n.fill()}break;case "vml":q=N(g.string(),c,f);i="m"+q[0][0]+","+q[0][1]+" l"+q[1][0]+","+q[1][1]+" "+q[2][0]+","+q[2][1]+" xe";n.attr({path:i,fillcolor:B.fill});if(z){n.children().attr("color",B.border);if(g.precedance==="y"){n.css("top",(g.y==="top"?1:-1)*(z-2));n.css("left",g.x==="left"?1:-2)}else{n.css("left",(g.x==="left"?1:-1)*(z-2));n.css("top", +g.y==="top"?1:-2)}}break;case "polygon":if(g.precedance==="y"){i=c>f?1.5:cf?5:2.2;l=[Math.floor(i*l*(g.x==="right"?-1:1)*(g.y==="center"?0.9:1)),g.y==="top"?l:g.y==="bottom"?-l:0]}n.removeAttr("style").each(function(D){var u={x:g.precedance==="x"?g.x==="left"?"right":"left":g.x,y:g.precedance==="y"?g.y==="top"?"bottom":"top":g.y},t=g.x==="center"?["left","right",u.y,f,c]:["top", +"bottom",u.x,c,f],r=B[!D&&z?"border":"fill"];D&&a(this).css({position:"absolute","z-index":1,left:l[0],top:l[1]});g.x==="center"||g.y==="center"?a(this).css("border-"+t[2],t[3]+"px solid "+r).css("border-"+t[0],Math.floor(t[4]/2)+"px dashed transparent").css("border-"+t[1],Math.floor(t[4]/2)+"px dashed transparent"):a(this).css("border-width",Math.floor(f/2)+"px "+Math.floor(c/2)+"px").css("border-"+u.x,Math.floor(c/2)+"px solid "+r).css("border-"+u.y,Math.floor(f/2)+"px solid "+r)});break}b(j);return h}, +destroy:function(){m.tip&&m.tip.remove();s.unbind(".qtip-tip")}})}function S(d,b){var k=this,h=d.elements,p=h.tooltip;h.overlay=a("#qtip-overlay");a.extend(k,{init:function(){p.bind("tooltipshow.qtipmodal tooltiphide.qtipmodal",function(m,s,v){m=m.type.replace("tooltip","");a.isFunction(b[m])?b[m].call(h.overlay,v,s):k[m](v)});h.overlay.length||k.create();b.blur===TRUE&&h.overlay.bind("click.qtipmodal"+d.id,function(){d.hide.call(d)})},create:function(){h.overlay=a("
",{id:"qtip-overlay",css:{position:"absolute", +top:0,left:0,display:"none"}}).appendTo(document.body);a(G).bind("resize.qtipmodal",function(){h.overlay.css({height:Math.max(a(G).height(),a(document).height()),width:Math.max(a(G).width(),a(document).width())})}).trigger("resize")},toggle:function(m){var s=h.overlay,v=d.options.show.modal.effect,o=m?"show":"hide";s.stop(TRUE,FALSE);if(a.isFunction(v))v.call(s,m);else v===FALSE?s[o]():s.fadeTo(90,m?0.7:0,function(){m||a(this).hide()})},show:function(){k.toggle(TRUE)},hide:function(){k.toggle(FALSE)}, +destroy:function(){var m=TRUE;a("*").each(function(){var s=a(this).data("qtip");if(s&&s.id!==d.id&&s.options.show.modal)return m=FALSE});if(m){h.overlay.remove();a(G).unbind("scroll.qtipmodal resize.qtipmodal")}else h.overlay.unbind("click.qtipmodal"+d.id);p.unbind("tooltipshow.qtipmodal tooltiphide.qtipmodal")}});k.init()}function T(d){var b=this,k=d.elements,h=k.tooltip,p=".bgiframe-"+d.id,m="tooltipmove"+p+" tooltipshow"+p;a.extend(b,{init:function(){k.bgiframe=a(''); +k.bgiframe.appendTo(h);h.bind(m,b.adjust)},adjust:function(){var s=d.get("dimensions"),v=d.plugins.tip,o=d.elements.tip,A;A=parseInt(h.css("border-left-width"),10)||0;A={left:-A,top:-A};if(v&&o){v=v.corner.precedance==="x"?["width","left"]:["height","top"];A[v[1]]-=o[v[0]]()}k.bgiframe.css(A).css(s)},destroy:function(){b.iframe.remove();h.unbind(m)}});b.init()}a.fn.qtip=function(d,b,k){var h=String(d).toLowerCase(),p=NULL,m=h==="disable"?[TRUE]:a.makeArray(arguments).slice(1,10),s=m[m.length-1],v; +if(!arguments.length&&this.data("qtip")||h==="api")return(v=this.data("qtip"))?v.hash():K;else if("string"===typeof d){this.each(function(){var o=a(this).data("qtip");if(!o)return TRUE;if(/option|set/.test(h)&&b)if(k!==K)o.set(b,k);else p=o.get(b);else{if(!o.rendered&&(h==="show"||h==="toggle")){if(s&&s.timeStamp)o.cache.event=s;o.render(1)}else if(h==="enable"){h="disable";m=[FALSE]}o[h]&&o[h].apply(o[h],m)}});return p!==NULL?p:this}else if("object"===typeof d||!arguments.length){v=L(a.extend(TRUE, +{},d));return a.fn.qtip.bind.call(this,v,s)}};a.fn.qtip.bind=function(d,b){return this.each(function(){function k(A){function B(){o.render(typeof A==="object"||h.show.ready);p.show.unbind(m.show);p.hide.unbind(m.hide)}if(o.cache.disabled)return FALSE;o.cache.event=a.extend({},A);if(h.show.delay>0){clearTimeout(o.timers.show);o.timers.show=setTimeout(B,h.show.delay);m.show!==m.hide&&p.hide.bind(m.hide,function(){clearTimeout(o.timers.show)})}else B()}var h,p,m,s=d.id=!d.id||d.id===FALSE||d.id.length< +1||a("#ui-tooltip-"+d.id).length?a.fn.qtip.nextid++:d.id,v=".qtip-"+s+"-create",o=P.call(this,s,d);if(o===FALSE)return TRUE;h=o.options;a.each(a.fn.qtip.plugins,function(){this.initialize==="initialize"&&this(o)});p={show:h.show.target,hide:h.hide.target};m={show:String(h.show.event).replace(" ",v+" ")+v,hide:String(h.hide.event).replace(" ",v+" ")+v};p.show.bind(m.show,k);if(h.show.ready||h.prerender)k(b)})};a.each({attr:function(d){var b=a(this),k=b.data("qtip");return arguments.length===1&&d=== +"title"&&k&&k.rendered===TRUE?b.data("oldtitle"):NULL},remove:a.ui?NULL:function(d,b){a(this).each(function(){if(!b)if(!d||a.filter(d,[this]).length)a("*",this).add(this).each(function(){a(this).triggerHandler("remove")})})}},function(d,b){if(!b)return TRUE;a.fn["Old"+d]=a.fn[d];a.fn[d]=function(){return b.apply(this,arguments)||a.fn["Old"+d].apply(this,arguments)}});a(document.body).attr("role",function(d,b){return!b?"application":b});a(document).bind("mousemove.qtip",function(d){a.fn.qtip.mouse= +{pageX:d.pageX,pageY:d.pageY}});a.fn.qtip.version="2.0.0pre";a.fn.qtip.nextid=0;a.fn.qtip.inactiveEvents="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" ");a.fn.qtip.zindex=15E3;a.fn.qtip.plugins={Corner:function(d){d=String(d).replace(/([A-Z])/," $1").replace(/middle/gi,"center").toLowerCase();this.x=(d.match(/left|right/i)||d.match(/center/)||["inherit"])[0].toLowerCase();this.y=(d.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase();this.precedance=d.charAt(0).search(/^(t|b)/)> +-1?"y":"x";this.string=function(){return this.precedance==="y"?this.y+this.x:this.x+this.y};this.abbreviation=function(){var b=this.x.substr(0,1),k=this.y.substr(0,1);return b===k?b:b==="c"||b!=="c"&&k!=="c"?k+b:b+k}}};a.fn.qtip.defaults={prerender:FALSE,id:FALSE,overwrite:TRUE,metadata:{type:"class"},content:{text:TRUE,attr:"title",title:{text:FALSE,button:FALSE}},position:{my:"top left",at:"bottom right",target:FALSE,container:FALSE,adjust:{x:0,y:0,mouse:TRUE,screen:FALSE,resize:TRUE,container:FALSE}, +effect:TRUE},show:{target:FALSE,event:"mouseenter",effect:TRUE,delay:90,solo:FALSE,ready:FALSE},hide:{target:FALSE,event:"mouseleave",effect:TRUE,delay:0,fixed:FALSE,inactive:FALSE},style:{classes:"",widget:FALSE},events:{render:NULL,move:NULL,show:NULL,hide:NULL,focus:NULL,blur:NULL}};a.fn.qtip.plugins.ajax=function(d){var b=d.plugins.ajax,k=d.options.content.ajax;if(k&&k.url)if(b)return b;else{d.plugins.ajax=new Q(d);return d.plugins.ajax}};a.fn.qtip.plugins.ajax.initialize="render";a.fn.qtip.plugins.ajax.sanitize= +function(d){var b=d.content;if(b&&"ajax"in b){b=b.ajax;if(typeof b!=="object")b=d.content.ajax={url:b};if("boolean"!==typeof b.once&&b.once)b.once=!!b.once}};a.extend(TRUE,a.fn.qtip.defaults,{content:{ajax:{once:TRUE}}});a.fn.qtip.plugins.tip=function(d){var b=d.plugins.tip,k=d.options.style.tip;if(k&&k.corner)if(b)return b;else{d.plugins.tip=new R(d);d.plugins.tip.init();return d.plugins.tip}};a.fn.qtip.plugins.tip.initialize="render";a.fn.qtip.plugins.tip.sanitize=function(d){var b=d.style;if(b&& +"tip"in b){b=d.style.tip;if(typeof b!=="object")d.style.tip={corner:b};if(!/string|boolean/i.test(typeof b.corner))b.corner=true;if(typeof b.method!=="string")b.method=TRUE;if(!/canvas|polygon/i.test(b.method))b.method=TRUE;typeof b.width!=="number"&&delete b.width;typeof b.height!=="number"&&delete b.height;typeof b.border!=="number"&&delete b.border;typeof b.offset!=="number"&&delete b.offset}};a.extend(TRUE,a.fn.qtip.defaults,{style:{tip:{corner:TRUE,mimic:FALSE,method:TRUE,width:9,height:9,border:0, +offset:0}}});a.fn.qtip.plugins.imagemap=function(d,b){function k(z,e){for(var j=0,n=1,c=1,f=0,i=0,l=z.width,g=z.height;l>0&&g>0&&n>0&&c>0;){l=Math.floor(l/2);g=Math.floor(g/2);if(b.x==="left")n=l;else if(b.x==="right")n=z.width-l;else n+=Math.floor(l/2);if(b.y==="top")c=g;else if(b.y==="bottom")c=z.height-g;else c+=Math.floor(g/2);for(j=e.length;j--;){if(e.length<2)break;f=e[j][0]-z.offset.left;i=e[j][1]-z.offset.top;if(b.x==="left"&&f>=n||b.x==="right"&&f<=n||b.x==="center"&&(fz.width-n)|| +b.y==="top"&&i>=c||b.y==="bottom"&&i<=c||b.y==="center"&&(iz.height-c))e.splice(j,1)}}return{left:e[0][0],top:e[0][1]}}var h=d.attr("shape").toLowerCase(),p=d.attr("coords").split(","),m=[],s=a('img[usemap="#'+d.parent("map").attr("name")+'"]'),v=s.offset(),o={width:0,height:0,offset:{top:1E10,right:0,bottom:0,left:1E10}},A=0,B=0;v.left+=Math.ceil((s.outerWidth()-s.width())/2);v.top+=Math.ceil((s.outerHeight()-s.height())/2);if(h==="poly")for(A=p.length;A--;){B=[parseInt(p[--A],10),parseInt(p[A+ +1],10)];if(B[0]>o.offset.right)o.offset.right=B[0];if(B[0]o.offset.bottom)o.offset.bottom=B[1];if(B[1]35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('"5w 5x";11 1b=4z,12=76,1I=5y;(V(a,G,K){V L(d){11 b;U(!d)X 12;U("1K"!==1m d.2n)d.2n={28:d.2n};U("19"2i d){U("1K"!==1m d.19||d.19.2E)d.19={1M:d.19};b=d.19.1M||12;U(!a.2r(b)&&(!b&&!b.1v||b.1q<1||"1K"===1m b&&!b.2E))b=d.19.1M=12;U("1o"2i d.19&&"1K"!==1m d.19.1o)d.19.1o={1M:d.19.1o}}U("1l"2i d){U("1K"!==1m d.1l)d.1l={2a:d.1l,2x:d.1l};U("1K"!==1m d.1l.1T)d.1l.1T={};U("59"!==1m d.1l.1T.2N)d.1l.1T.2N=!!d.1l.1T.2N}U("W"2i d){U("1K"!==1m d.W)d.W={1w:d.W};U("1K"!==1m d.W)d.W=d.W.2E?{1i:d.W}:{1w:d.W}}U("17"2i d)U("1K"!==1m d.17)d.17=d.17.2E?{1i:d.17}:{1w:d.17};U("1h"2i d&&"1K"!==1m d.1h)d.1h={3k:d.1h};a.1x(a.1a.Y.1e,V(){13.3f&&13.3f(d)});X d}V O(d,b,k){V h(c){11 f,i=c.2R("."),m=b[i[0]];2O(c=1;c",{3j:f}):a("",{"1R":"1g-1X-3z",1M:"5b 14",1o:"5b 14",1c:{"1M-5D":"-6B"}}).5E(a("<4J />",{"1R":(b.1h.1Q?"1g":j)+"-3C 1g-3C-5d"}));c.23.4k(c.2k).1v("44","23").3U(j+"-5d").4C(V(i){a(13).22("1g-1X-4C",i.28==="4n")}).3D(V(){c.14.2F("1g-1X-1Y")||e.17();X 12}).1r("3N 5F 4R 5G 4r",V(i){a(13).22("1g-1X-6h 1g-1X-2S",/5H$/i.1O(i.28))});e.3M()}V p(){11 c=e.1j;c.2k&&s();c.2k=a("<24 />",{"1R":j+"-2k "+(b.1h.1Q?"1g-1Q-4I":"")}).3y(c.1o=a("<24 />",{1C:j+"-"+k+"-1o","1R":j+"-1o",3j:b.19.1o.1M})).4k(c.2Q);U(b.19.1o.23)v();18 e.1u===1b&&e.3M()}V C(c){11 f=e.1j;U(!e.1u||!c)X 12;U(a.2r(c))c=c.1Z(d);c.2E&&c.1q>0?f.19.5I().3y(c.1c({3c:"3u"})):f.19.3j(c);f.14.3O("4F",V(i){V m(o){g=g.4a(o);U(g.1q===0){e.3M();e.1u===1b&&e.2j(e.1F.1w);i()}}11 g=a("38:4a([1f]):4a([1d])",e.1j.19);g.1x(V(o,w){11 y=["6x","3G","3d","5J",""].5K(".Y-5L ");a(13).1r(y,V(){2m(e.1L.38[o]);m(13)});(V u(){U(w.1f)X m(w);e.1L.38[o]=3h(u,20)})();X 1b});g.1q===0&&m(g)});X e}V D(c,f,i,m){V g(z){U(r.14.2F("1g-1X-1Y"))X 12;r.W.2H("Y-"+k+"-25");2m(e.1L.W);2m(e.1L.17);11 x=V(){e.W(z)};U(b.W.2C>0)e.1L.W=3h(x,b.W.2C);18 x()}V o(z){U(r.14.2F("1g-1X-1Y"))X 12;11 x=a(z.4O||z.1i).3W(n)[0]==r.14[0];2m(e.1L.W);2m(e.1L.17);U(b.17.2B&&(t.1i==="2b"&&x||/2b(4M|4N|4v)/.1O(z.28)&&x)){z.6b();z.63();X 12}r.14.3V(1,1);U(b.17.2C>0)e.1L.17=3h(V(){e.17(z)},b.17.2C);18 e.17(z)}V w(z){U(r.14.2F("1g-1X-1Y"))X 12;2m(e.1L.25);e.1L.25=3h(V(){e.17(z)},b.17.25)}V y(z){5N.5O(z);U(!e.1F.45){e.1F.45=1;e.1j.14.2c(":2A")&&e.2j(z);e.1F.45=0}}11 u=".Y-"+k,t=b.1l,r={W:b.W.1i,17:b.17.1i,14:e.1j.14,1W:t.1W[0]===1V.2Z?1V:t.1W},E={W:2D(b.W.1w).2R(" "),17:2D(b.17.1w).2R(" ")},I=a.2w.2X&&26(a.2w.3E,10)===6;d.1r("2h.Y",V(){e.2u()});U(i&&b.17.2B){r.17=r.17.2s(r.14);r.14.1r("43"+u,V(){r.14.2F("1g-1X-1Y")||2m(e.1L.17)})}U(f){U("2Y"===1m b.17.25){r.W.1r("Y-"+k+"-25",w);a.1x(a.1a.Y.4o,V(z,x){r.17.2s(e.1j.14).1r(x+u+"-25",w)})}a.1x(E.17,V(z,x){11 A=a.5P(x,E.W);U(A>-1&&a(r.17).2s(r.W).1q===a(r.17).1q||x==="4E"){r.W.1r(x+u,V(F){r.14.2c(":2A")?o(F):g(F)});21 E.W[A]}18 r.17.1r(x+u,o)})}U(c){a.1x(E.W,V(z,x){r.W.1r(x+u,g)});r.14.1r("43"+u,V(){e.2S()})}U(m){U(t.1T.2v||t.1T.2N)a(a.1w.5Q.2v?r.1W:G).1r("2v"+u,y);U(t.1T.2N||I&&r.14.1c("1l")==="2B")a(r.1W).1r("3X"+u,y);/4E/i.1O(b.17.1w)&&a(1V).1r("3N"+u,V(z){11 x=e.1j.14;a(z.1i).3W(n).1q===0&&a(z.1i).2s(d).1q>1&&x.2c(":2A")&&!x.2F("1g-1X-1Y")&&e.17()});t.1i==="2b"&&a(1V).1r("3i"+u,V(z){U(t.1T.2b&&!r.14.2F("1g-1X-1Y")&&r.14.2c(":2A"))e.2j(z||a.1a.Y.2b)})}}V B(c,f,i,m){m=26(m,10)!==0;11 g=".Y-"+k,o={W:c?b.W.1i:a("<24/>"),17:f?b.17.1i:a("<24/>"),14:i?e.1j.14:a("<24/>")};f={W:2D(b.W.1w).2R(" "),17:2D(b.17.1w).2R(" ")};U(e.1u){a.1x(f.W,V(w,y){o.W.1D(y+g)});o.W.1D("3i"+g).1D("4r"+g).1D("Y-"+k+"-25");a.1x(f.17,V(w,y){o.17.2s(o.14).1D(y+g)});a.1x(a.1a.Y.4o,V(w,y){o.17.2s(i?e.1j.19:1I).1D(y+g+"-25")});o.17.1D("4r"+g);o.14.1D("43"+g);U(m){a(G).1D("2v"+g);a(1V).1D("3N"+g+" 3i"+g)}}18 c&&o.W.1D(f.W+g+"-2K")}11 e=13,j="1g-14",n=".Y."+j;e.1C=k;e.1u=12;e.1j={1i:d};e.1F={1w:{},1i:1I,1Y:12};e.1L={38:[]};e.1S=b;e.1e={};a.1E(e,{27:V(c){11 f=e.1j,i=a.3r("4X");U(e.1u)X 12;e.1u=c?-2:-1;f.14=a("<24/>").1v({1C:j+"-"+k,44:"14","1R":j+" Y 1g-14-30 1g-4G-4H "+b.1h.3k}).1c("z-3Z",a.1a.Y.4i+a(n).1q).22("1g-1Q",b.1h.1Q).22("1g-1X-1Y",e.1F.1Y).2e("Y",e).2P(b.1l.1W);f.2Q=a("<24 />",{"1R":j+"-2Q"}).2P(f.14);f.19=a("<24 />",{"1R":j+"-19 "+(b.1h.1Q?"1g-1Q-19":""),1C:j+"-"+k+"-19"}).2P(f.2Q);b.19.1o.1M&&p();C(b.19.1M);a.1x(a.1a.Y.1e,V(){13.2J==="27"&&13(e)});e.1u=1b;D(1,1,1,1);a.1x(b.4u,V(m,g){g&&f.14.1r("14"+m,g)});f.14.3O("4F",V(m){U(b.W.3o||c){f.14.17();e.W(e.1F.1w)}f.14.3I("1g-14-30");i.3b=e.1F.1w;f.14.2H(i,[e.29()]);m()});X e},2U:V(c){33(c.2G()){1P"1n":c=l("1l");1H;1P"39":c=l("39");1H;3z:c=h(c.2G());c=c[0].1B?c[0].1J():c[0].2E?c[0]:c[0][c[1]];1H}X c},3a:V(c,f){c=c.2G();11 i=h(c),m=e.1j,g=m.14,o,w,y,u={5R:{1C:V(){11 t=f===1b?a.1a.Y.46:f,r=j+"-"+t;U(t!==12&&t.1q>0&&!a("#1g-14-"+t).1q){g[0].1C=r;m.19[0].1C=r+"-19";m.1o[0].1C=r+"-1o"}},"^19.1M":V(){C(f)},"^19.1o.1M":V(){U(e.1u)U(!e.1j.1o&&f){p();e.2j()}18 f?e.1j.1o.3j(f):s()},"^19.1o.23":V(){11 t=e.1j.23,r=e.1j.1o;U(e.1u)U(f){r||p();v()}18 t.2h()},"^1l.(2a|2x)$":V(){11 t=/2a$/i.1O(c)?"2a":"2x";U("1J"===1m f)b.1l[t]=2f a.1a.Y.1e.2T(f)},"^1l.(2a|2x|1T|1i)":V(){e.1u&&e.2j()},"^1l.1W$":V(){U(e.1u===1b){g.2P(f);e.2j()}},"^(W|17).(1w|1i|2B|2C|25)":V(t,r,E,I){11 z=c.4c(/2B/i)>-1?[0,[0,1,1,1]]:[c.3K(0,3),c.3H(0)==="s"?[1,0,0,0]:[0,1,0,0]];U(z[0])t[r]=I;B.3g(e,z[1]);U(z[0])t[r]=E;D.3g(e,z[1])},"^W.3o$":V(){e.1u===12&&e.W()},"^1h.3k$":V(){e.1j.14.1v("1R",j+" Y 1g-4G-4H "+f)},"^1h.1Q$":V(){11 t=!!f;g.22("1g-1Q",t);m.2k.22("1g-1Q-4I",t);m.19.22("1g-1Q-19",t);m.23.4q("4J").22(j+"-3C",!t).22("1g-3C",t)},"^4u.(27|W|4v|17|2S|3s)":V(t,r,E){m.14[(a.2r(f)?"":"5S")+"1r"]("14"+r,E)}}};a.1x(e.1e,V(t){U("1K"===1m 13.3J)u[t]=13.3J});o=i[0][i[1]];i[0][i[1]]=f.5M?a(f):f;L(b);2O(w 2i u)2O(y 2i u[w])5T(y,"i").1O(c)&&u[w][y].1Z(e,i[0],i[1],f,o);X e},2L:V(c,f){V i(){11 u=a(13),t=c?"1v":"3p",r=/^1|0$/.1O(u.1c("3x"));e.1j.1o&&d[t]("3e-4K",j+"-"+k+"-1o");d[t]("3e-4V",j+"-"+k+"-19");U(c){U(a.2w.2X&&13.1h&&r){y=13.1h;y.4l("3A");y.4l("3x")}}18 r&&u.17()}U(e.1u===12)X 12;11 m=c?"W":"17",g=e.1j.14,o=b[m],w=g.2c(":2A"),y;U((1m c).4c("3w|2Y"))c=!g.2c(":2A");U(!w&&!c||g.2c(":5V"))X e;U(f){U(e.1F.1w&&/5W|5X/.1O(f.28)&&/4M|4N/.1O(e.1F.1w.28)&&a(f.1i).2s(b.W.1i).1q<2&&a(f.4O).3W(n).1q>0)X e;e.1F.1w=a.1E({},f)}w=a.3r("14"+m);w.3b=f?e.1F.1w:1I;g.2H(w,[e.29(),3R]);U(w.48())X e;U(c){e.2S();e.2j(f);o.5k&&a(n).Y("17")}18 2m(e.1L.W);g.1v("3e-5Y",5Z(!c));g.3V(1,1);U(a.2r(o.2q)){o.2q.1Z(g,e.29());g.3O(V(){i.1Z(13);a(13).4S()})}18 U(o.2q===12){g[m]();i.1Z(g)}18 g.4w(3R,c?1:0,i);c&&o.1i.2H("Y-"+k+"-25");X e},W:V(c){e.2L(1b,c)},17:V(c){e.2L(12,c)},2S:V(c){U(e.1u===12)X 12;11 f=e.1j.14,i=a(n),m=26(f[0].1h.4s,10),g=a.1a.Y.4i+i.1q,o=j+"-2S",w=a.1E({},c);U(!f.2F(o)&&m!==g){i.1x(V(){13.1h.4s-=1});a(n+"."+o).1x(V(){11 y=a(13),u=y.Y(),t;U(!u||u.1u===12)X 1b;y.3I(o);t=a.3r("60");t.3b=w;y.2H(t,[u,g])});c=a.3r("61");c.3b=w;f.2H(c,[e.29(),g]);U(!c.48())f.3U(o)[0].1h.4s=g}X e},2j:V(c){U(e.1u===12)X 12;11 f=b.1l.1i,i=e.1j.14,m=b.1l,g=m.2a,o=m.2x,w=m.1T,y=e.1j.14.1d(),u=e.1j.14.1f(),t=a(m.1W)[0],r=0,E=0,I=a.3r("3Y"),z=i.1c("1l")==="2B",x=a(w.1W&&t!==1V.2Z?t:G),A={15:0,16:0};t={15:V(F){11 J=x.3Q,H=o.x==="15"?r:o.x==="1A"?-r:-r/2,M=F+y-x.1d-J;H=(g.x==="15"?y:g.x==="1A"?-y:-y/2)-(g.x===g.y?1:-2)*w.x-(g.1B==="x"||g.x===g.y?H:0);U(J-F>0)A.15-=H;18 U(M>0)A.15-=(g.x==="1y"?-1:1)*H;X A.15-F},16:V(F){11 J=x.3S,H=o.y==="16"?E:o.y==="1z"?-E:-E/2,M=F+u-x.1f-J;H=(g.y==="16"?u:g.y==="1z"?-u:-u/2)-(g.y===g.x?1:-2)*w.y-(g.1B==="y"||g.x===g.y?H:0);U(J-F>0)A.16-=H;18 U(M>0)A.16-=(g.y==="1y"?-1:1)*H;X A.16-F}};x={4Q:x,1f:x[(x[0]===G?"h":"70")+"65"](),1d:x[(x[0]===G?"w":"66")+"67"](),3Q:x.3Q(),3S:x.3S()};U(f==="2b"){o={x:"15",y:"16"};c=w.2b||!c||!c.3T?a.1E({},a.1a.Y.2b):c;A={16:c.4p,15:c.3T}}18{U(f==="1w")f=c&&c.1i&&c.28!=="3X"&&c.28!=="2v"?e.1F.1i=a(c.1i):e.1F.1i;f=a(f).68(0);U(f.1q===0)X e;18 U(f[0]===1V||f[0]===G){r=f.1d();E=f.1f();U(f[0]===G)A={16:z?0:x.3S,15:z?0:x.3Q}}18 U(f.2c("6a")&&a.1a.Y.1e.41){A=a.1a.Y.1e.41(f,o);r=A.1d;E=A.1f;A=A.1n}18{r=f.4e();E=f.4h();A=q(f)}A.15+=o.x==="1A"?r:o.x==="1y"?r/2:0;A.16+=o.y==="1z"?E:o.y==="1y"?E/2:0}A.15+=w.x+(g.x==="1A"?-y:g.x==="1y"?-y/2:0);A.16+=w.y+(g.y==="1z"?-u:g.y==="1y"?-u/2:0);A.4f=w.2N&&f[0]!==G&&f[0]!==1V.2Z?{15:t.15(A.15),16:t.16(A.16)}:{15:0,16:0};i.1v("1R",V(){X a(13).1v("1R").31(/1g-14-4P-\\w+/i,"")}).3U(j+"-4P-"+g.56());I.3b=a.1E({},c);i.2H(I,[e.29(),A,x.4Q]);U(I.48())X e;21 A.4f;U(i.2c(":2A")&&a.2r(m.2q)){m.2q.1Z(i,e.29(),A);i.3O(V(){11 F=a(13);F.1c({3x:"",1f:""});a.2w.2X&&13.1h&&13.1h.4l("3A");F.4S()})}18 6e(A.15,A.16)||i.1c(A);X e},3M:V(){U(!e.1u||!(a.2w.2X&&26(a.2w.3E.3H(0),10)<9))X 12;11 c=e.1j.14;c.1v("1h");11 f;c.1c({1d:"4T",1f:"4T"});f=l("39",1);a.1x(["1d","1f"],V(i,m){11 g=26(c.1c("36-"+m),10)||0,o=26(c.1c("4U-"+m),10)||0;f[m]=g+o?1p.4U(1p.36(f[m],o),g):f[m]});c.1c(f)},4m:V(c){11 f=e.1j.14;U(e.1u)f.22("1g-1X-1Y",c);18 e.1F.1Y=!!c;X e},2u:V(){11 c=e.1j,f=c.1i.2e("42");e.1u&&a.1x(e.1e,V(){13.2J==="27"&&13.2u()});B(1,1,1,1);d.4W("Y");e.1u&&c.14.2h();f&&d.1v("1o",f);d.3p("3e-4V");X d},29:V(){11 c=a.1E({},e);21 c.1F;21 c.1L;21 c.1S;21 c.1e;21 c.27;21 c.29;X c}})}V P(d,b){11 k,h,q=a(13);k=a(1V.2Z);11 l=13===1V?k:q;h=q.2n?q.2n(b.2n):1I;11 s=a.1E(1b,{},a.1a.Y.3n,b,L((h&&b.2n.28==="6g"?h[b.2n.52]:1I)||h));q.4W("2n");h=s.1l;U("3w"===1m s.19.1M)U(s.19.1v!==12&&q.1v(s.19.1v))s.19.1M=q.1v(s.19.1v);18 X 12;U(h.1W===12)h.1W=k;U(h.1i===12)h.1i=l;U(s.W.1i===12)s.W.1i=l;U(s.17.1i===12)s.17.1i=l;h.2x=2f a.1a.Y.1e.2T(h.2x);h.2a=2f a.1a.Y.1e.2T(h.2a);U(q.2e("Y"))U(s.4d)q.Y("2u");18 U(s.4d===12)X 12;q.1v("1o")&&q.2e("42",q.1v("1o")).3p("1o");k=2f O(q,s,d);q.2e("Y",k);X k}V Q(d){11 b=13;b.3J={"^19.1G":V(){13.1e.1G.3d(13.1S.19.1G)}};a.1E(b,{2y:V(){11 k=d.1S.19.1G;d.1j.14.1r("4X.1G",V(){b.3d(k);d.1j.14.1r("37.1G",V(){k.2V===12&&d.1u===1b&&b.3d(k)})})},3d:V(k){a.1G(a.1E(1b,{},k,{49:V(h,q){U(a.2r(k.49))U(k.49.1Z(d.29(),h,q)===12)X;d.3a("19.1M",h)},3G:V(h,q,l){11 s=q||l;U(a.2r(k.3G)){h=k.3G.1Z(d.29(),h,q,l);U(h===12)X}d.3a("19.1M",s)}}));X b},2u:V(){d.1j.14.1D("37.1G")}});b.2y()}V N(d,b,k){11 h=1p.1N(b/2),q=1p.1N(k/2);b={4Y:[[0,0],[b,k],[b,0]],4Z:[[0,0],[b,0],[0,k]],51:[[0,k],[b,0],[b,k]],53:[[0,0],[0,k],[b,k]],6j:[[0,k],[h,0],[b,k]],6s:[[0,0],[b,0],[h,k]],6r:[[0,0],[b,q],[0,k]],6m:[[b,0],[b,k],[0,q]]};b.6n=b.4Y;b.6p=b.4Z;b.6t=b.51;b.6u=b.53;X b[d]}V R(d){V b(j){11 n=l.1k,c=["15","1A"],f=q.1n,i,m;U(q.1t===12||!n)X 12;j=j||h.1t;i=j.1B;m=i==="y"?"x":"y";c[i==="y"?"5a":"6v"]("16","1z");f=1p.36(j[m]==="1y"?f:0,f);n.1c({16:"",1z:"",15:"",1A:"",55:""});33(j[i==="y"?"x":"y"]){1P"1y":n.1c(c[0],"50%").1c("55-"+c[0],-1p.1N(C[i==="y"?"1d":"1f"]/2)+f);1H;1P c[0]:n.1c(c[0],f);1H;1P c[1]:n.1c(c[1],f);1H}f=C[i==="x"?"1d":"1f"];U(B){s.22("1g-14-30",!s.2c(":2A"));f-=26(v.1c("1s-"+j[i]+"-1d"),10)||0;s.3I("1g-14-30")}U(e==="2o"&&/1z|1A/.1O(j[j.1B]))f+=B?1:-1;n.1c(j[i],-f)}V k(j,n,c){U(l.1k){j=a.1E({},h.1t);n=j.1B==="y"?["y","16","15","1f","x"]:["x","15","16","1d","y"];11 f=c.4f,i=[0,0];U(h.1t.2B!==1b){U(f.15)j.x=j.x==="1y"?f.15>0?"15":"1A":j.x==="15"?"1A":"15";U(f.16)j.y=j.y==="1y"?f.16>0?"16":"1z":j.y==="16"?"1z":"16";U(j.1J()!==p.1t.1J()&&(p.16!==f.16||p.15!==f.15))h.3m(j)}i[0]=B?26(v.1c("1s-"+j[n[0]]+"-1d"),10)||0:e==="2o"?1:0;i[1]=1p.36(j[n[4]]==="1y"?q.1n:0,q.1n);c[n[1]]+=(j[n[0]]===n[1]?1:-1)*(C[n[3]]-i[0]);c[n[2]]-=(j[n[4]]===n[2]||j[n[4]]==="1y"?1:-1)*i[1];p.15=f.15;p.16=f.16;p.1t=j}}11 h=13,q=d.1S.1h.1k,l=d.1j,s=l.14,v=l.2Q,p={16:0,15:0,1t:{1J:V(){}}},C={1d:q.1d,1f:q.1f},D={},B=q.1s||0,e=q.2M||12;h.1t=1I;h.35=1I;h.3J={"^1l.2a|1h.1k.(1t|35|2M|1s)":V(){B=q.1s;U(h.2y())13.2U("1l.1i")!=="2b"&&13.2j();18 h.2u()},"^1h.1k.(1f|1d)":V(){C={1d:q.1d,1f:q.1f};h.2K();h.3m();d.2j()},"^1h.(3k|1Q)$":V(){h.4g();h.3m()}};a.1E(h,{2y:V(){11 j=a.2w.2X,n=h.57(),c=h[h.35?"35":"1t"].1J().6w("1y")>-1;U(n){U(e===1b)e=a("<2t />")[0].3P?"2t":j&&(c||C.1f!==C.1d)?"2o":"2W";18 U(e==="2t")e=j?"2o":!a("<2t />")[0].3P?"2W":"2t";18 U(e==="2W")e=j&&c?"2o":e;h.2K();h.4g();h.3m();s.1D(".Y-1k").1r("3Y.Y-1k",k)}X n},57:V(){11 j=q.1t,n=d.1S.1l.2x,c=d.1S.1l.2a;U(c.1J)c=c.1J();U(j===12||c===12&&n===12)X 12;18 U(j===1b)h.1t=2f a.1a.Y.1e.2T(c);18 U(!j.1J){h.1t=2f a.1a.Y.1e.2T(j);h.1t.2B=1b}X h.1t.1J()!=="4A"},4g:V(){11 j=l.1k,n=h.1t,c=h.1t[h.1t.1B],f="1s-"+c+"-3l",i=/6y?\\(0, 0, 0(, 0)?\\)|34/i,m=l.2k&&n.y==="16",g=d.1S.1h.1Q;n=g?l.19:m?l.2k:l.2Q;m=!g?l.2Q:m?l.2k:l.19;D.2I=j.1c({6z:"",1s:""}).1c("4j-3l")||"34";D.1s=j.2U(0).1h?j.2U(0).1h["1s"+c.3H(0)+c.3K(1)+"6A"]:j.1c(f)||"34";U(i.1O(D.2I))D.2I=B?n.1c("4j-3l"):m.1c(f);U(!D.1s||i.1O(D.1s))D.1s=m.1c(f)||D.2I;a("*",j).2s(j).1c("4j-3l","34").1c("1s",0)},2K:V(){11 j=C.1d,n=C.1f;l.1k&&l.1k.2h();l.1k=a(\'<24 1R="1g-14-1k" />\').22("1g-1Q-19",d.1S.1h.1Q).1c(C).4k(s);33(e){1P"2t":a(\'<2t 1f="\'+n+\'" 1d="\'+j+\'" />\').2P(l.1k)[0].3P("2d").5j();1H;1P"2o":l.1k.3j(\'<2o:47 6C="0 0" 6D="\'+j+" "+n+\'" 6E="\'+!!B+\'" 1h="5c:3t(#3z#5e); 3c:5f-3u; 6F:1b; 1l: 3v; 16:0; 15:0; 1d:\'+j+"2p; 1f:"+n+"2p; 6G-6H:"+h.1t.y+\';"><2o:6I 6J="\'+(B-2)+\'2p" 6K="6L" 6M="10" 1h="5c:3t(#3z#5e); 3c:5f-3u;" />\');1H;1P"2W":l.1k.3y(\'<24 1R="1g-14-1k-6N" />\').3y(B?\'<24 1R="1g-14-1k-1s" />\':"");1H}X h},3m:V(j){11 n=l.1k,c=C.1d,f=C.1f,i=B>0?0:1,m=1p.3L(B/2+0.5),g=q.35,o,w;U(!j)j=h.1t;U(g===12)g=j;18{g=2f a.1a.Y.1e.2T(g);g.1B=j.1B;U(g.x==="3F")g.x=j.x;18 U(g.y==="3F")g.y=j.y;18 U(g.x===g.y)g[j.1B]=j[j.1B]}w=1p[/b|r/.1O(g[g.1B==="y"?"x":"y"])?"3L":"1N"];n=n.4q();33(e){1P"2t":n=n.2U(0).3P("2d");n.5h&&n.5h();n.6O(0,0,5i,5i);2O(o=N(g.1J(),c,f);i<2;i++){U(i){n.5j();n.6P(w((g.x==="15"?1:g.x==="1A"?-1:0)*(B+1)*(g.1B==="y"?0.5:1)),w((g.y==="16"?1:g.y==="1z"?-1:0)*(B+1)*(g.1B==="x"?0.5:1)))}n.6Q();n.6R(o[0][0],o[0][1]);n.5l(o[1][0],o[1][1]);n.5l(o[2][0],o[2][1]);n.6T();n.6U=D[i?"2I":"1s"];n.2I()}1H;1P"2o":o=N(g.1J(),c,f);i="m"+o[0][0]+","+o[0][1]+" l"+o[1][0]+","+o[1][1]+" "+o[2][0]+","+o[2][1]+" 6V";n.1v({6W:i,6X:D.2I});U(B){n.4q().1v("3l",D.1s);U(g.1B==="y"){n.1c("16",(g.y==="16"?1:-1)*(B-2));n.1c("15",g.x==="15"?1:-2)}18{n.1c("15",(g.x==="15"?1:-1)*(B-2));n.1c("16",g.y==="16"?1:-2)}}1H;1P"2W":U(g.1B==="y"){i=c>f?1.5:cf?5:2.2;m=[1p.1N(i*m*(g.x==="1A"?-1:1)*(g.y==="1y"?0.9:1)),g.y==="16"?m:g.y==="1z"?-m:0]}n.3p("1h").1x(V(y){11 u={x:g.1B==="x"?g.x==="15"?"1A":"15":g.x,y:g.1B==="y"?g.y==="16"?"1z":"16":g.y},t=g.x==="1y"?["15","1A",u.y,f,c]:["16","1z",u.x,c,f],r=D[!y&&B?"1s":"2I"];y&&a(13).1c({1l:"3v","z-3Z":1,15:m[0],16:m[1]});g.x==="1y"||g.y==="1y"?a(13).1c("1s-"+t[2],t[3]+"2p 4t "+r).1c("1s-"+t[0],1p.1N(t[4]/2)+"2p 5n 34").1c("1s-"+t[1],1p.1N(t[4]/2)+"2p 5n 34"):a(13).1c("1s-1d",1p.1N(f/2)+"2p "+1p.1N(c/2)+"2p").1c("1s-"+u.x,1p.1N(c/2)+"2p 4t "+r).1c("1s-"+u.y,1p.1N(f/2)+"2p 4t "+r)});1H}b(j);X h},2u:V(){l.1k&&l.1k.2h();s.1D(".Y-1k")}})}V S(d,b){11 k=13,h=d.1j,q=h.14;h.2g=a("#Y-2g");a.1E(k,{2y:V(){q.1r("37.2z 4x.2z",V(l,s,v){l=l.28.31("14","");a.2r(b[l])?b[l].1Z(h.2g,v,s):k[l](v)});h.2g.1q||k.2K();b.3s===1b&&h.2g.1r("3D.2z"+d.1C,V(){d.17.1Z(d)})},2K:V(){h.2g=a("<24 />",{1C:"Y-2g",1c:{1l:"3v",16:0,15:0,3c:"75"}}).2P(1V.2Z);a(G).1r("2v.2z",V(){h.2g.1c({1f:1p.36(a(G).1f(),a(1V).1f()),1d:1p.36(a(G).1d(),a(1V).1d())})}).2H("2v")},2L:V(l){11 s=h.2g,v=d.1S.W.1U.2q,p=l?"W":"17";s.3V(1b,12);U(a.2r(v))v.1Z(s,l);18 v===12?s[p]():s.4w(3R,l?0.7:0,V(){l||a(13).17()})},W:V(){k.2L(1b)},17:V(){k.2L(12)},2u:V(){11 l=1b;a("*").1x(V(){11 s=a(13).2e("Y");U(s&&s.1C!==d.1C&&s.1S.W.1U)X l=12});U(l){h.2g.2h();a(G).1D("3X.2z 2v.2z")}18 h.2g.1D("3D.2z"+d.1C);q.1D("37.2z 4x.2z")}});k.2y()}V T(d){11 b=13,k=d.1j,h=k.14,q=".2l-"+d.1C,l="3Y"+q+" 37"+q;a.1E(b,{2y:V(){k.2l=a(\'<40 1R="1g-14-2l" 5o="0" 5p="-1" 5q="5r:\\\'\\\';" 1h="3c:3u; 1l:3v; z-3Z:-1; 3A:5s(3x=0);">\');k.2l.2P(h);h.1r(l,b.1T)},1T:V(){11 s=d.2U("39"),v=d.1e.1k,p=d.1j.1k,C;C=26(h.1c("1s-15-1d"),10)||0;C={15:-C,16:-C};U(v&&p){v=v.1t.1B==="x"?["1d","15"]:["1f","16"];C[v[1]]-=p[v[0]]()}k.2l.1c(C).1c(s)},2u:V(){b.40.2h();h.1D(l)}});b.2y()}a.1a.Y=V(d,b,k){11 h=2D(d).2G(),q=1I,l=h==="4m"?[1b]:a.5t(32).4D(1,10),s=l[l.1q-1],v;U(!32.1q&&13.2e("Y")||h==="5u")X(v=13.2e("Y"))?v.29():K;18 U("1J"===1m d){13.1x(V(){11 p=a(13).2e("Y");U(!p)X 1b;U(/5v|3a/.1O(h)&&b)U(k!==K)p.3a(b,k);18 q=p.2U(b);18{U(!p.1u&&(h==="W"||h==="2L")){U(s&&s.5A)p.1F.1w=s;p.27(1)}18 U(h==="5B"){h="4m";l=[12]}p[h]&&p[h].3g(p[h],l)}});X q!==1I?q:13}18 U("1K"===1m d||!32.1q){v=L(a.1E(1b,{},d));X a.1a.Y.1r.1Z(13,v,s)}};a.1a.Y.1r=V(d,b){X 13.1x(V(){V k(C){V D(){p.27(1m C==="1K"||h.W.3o);q.W.1D(l.W);q.17.1D(l.17)}U(p.1F.1Y)X 12;p.1F.1w=a.1E({},C);U(h.W.2C>0){2m(p.1L.W);p.1L.W=3h(D,h.W.2C);l.W!==l.17&&q.17.1r(l.17,V(){2m(p.1L.W)})}18 D()}11 h,q,l,s=d.1C=!d.1C||d.1C===12||d.1C.1q<1||a("#1g-14-"+d.1C).1q?a.1a.Y.46++:d.1C,v=".Y-"+s+"-2K",p=P.1Z(13,s,d);U(p===12)X 1b;h=p.1S;a.1x(a.1a.Y.1e,V(){13.2J==="2J"&&13(p)});q={W:h.W.1i,17:h.17.1i};l={W:2D(h.W.1w).31(" ",v+" ")+v,17:2D(h.17.1w).31(" ",v+" ")+v};q.W.1r(l.W,k);U(h.W.3o||h.58)k(b)})};a.1x({1v:V(d){11 b=a(13),k=b.2e("Y");X 32.1q===1&&d==="1o"&&k&&k.1u===1b?b.2e("42"):1I},2h:a.1g?1I:V(d,b){a(13).1x(V(){U(!b)U(!d||a.3A(d,[13]).1q)a("*",13).2s(13).1x(V(){a(13).5U("2h")})})}},V(d,b){U(!b)X 1b;a.1a["4L"+d]=a.1a[d];a.1a[d]=V(){X b.3g(13,32)||a.1a["4L"+d].3g(13,32)}});a(1V.2Z).1v("44",V(d,b){X!b?"62":b});a(1V).1r("3i.Y",V(d){a.1a.Y.2b={3T:d.3T,4p:d.4p}});a.1a.Y.3E="2.0.69";a.1a.Y.46=0;a.1a.Y.4o="3D 6c 3N 4R 3i 5m 4n".2R(" ");a.1a.Y.4i=6f;a.1a.Y.1e={2T:V(d){d=2D(d).31(/([A-Z])/," $1").31(/6k/6o,"1y").2G();13.x=(d.4b(/15|1A/i)||d.4b(/1y/)||["3F"])[0].2G();13.y=(d.4b(/16|1z|1y/i)||["3F"])[0].2G();13.1B=d.3H(0).4c(/^(t|b)/)>-1?"y":"x";13.1J=V(){X 13.1B==="y"?13.y+13.x:13.x+13.y};13.56=V(){11 b=13.x.3K(0,1),k=13.y.3K(0,1);X b===k?b:b==="c"||b!=="c"&&k!=="c"?k+b:b+k}}};a.1a.Y.3n={58:12,1C:12,4d:1b,2n:{28:"1R"},19:{1M:1b,1v:"1o",1o:{1M:12,23:12}},1l:{2a:"16 15",2x:"1z 1A",1i:12,1W:12,1T:{x:0,y:0,2b:1b,2N:12,2v:1b,1W:12},2q:1b},W:{1i:12,1w:"4n",2q:1b,2C:3R,5k:12,3o:12},17:{1i:12,1w:"5m",2q:1b,2C:0,2B:12,25:12},1h:{3k:"",1Q:12},4u:{27:1I,4v:1I,W:1I,17:1I,2S:1I,3s:1I}};a.1a.Y.1e.1G=V(d){11 b=d.1e.1G,k=d.1S.19.1G;U(k&&k.3t)U(b)X b;18{d.1e.1G=2f Q(d);X d.1e.1G}};a.1a.Y.1e.1G.2J="27";a.1a.Y.1e.1G.3f=V(d){11 b=d.19;U(b&&"1G"2i b){b=b.1G;U(1m b!=="1K")b=d.19.1G={3t:b};U("3w"!==1m b.2V&&b.2V)b.2V=!!b.2V}};a.1E(1b,a.1a.Y.3n,{19:{1G:{2V:1b}}});a.1a.Y.1e.1k=V(d){11 b=d.1e.1k,k=d.1S.1h.1k;U(k&&k.1t)U(b)X b;18{d.1e.1k=2f R(d);d.1e.1k.2y();X d.1e.1k}};a.1a.Y.1e.1k.2J="27";a.1a.Y.1e.1k.3f=V(d){11 b=d.1h;U(b&&"1k"2i b){b=d.1h.1k;U(1m b!=="1K")d.1h.1k={1t:b};U(!/1J|3w/i.1O(1m b.1t))b.1t=4z;U(1m b.2M!=="1J")b.2M=1b;U(!/2t|2W/i.1O(b.2M))b.2M=1b;1m b.1d!=="2Y"&&21 b.1d;1m b.1f!=="2Y"&&21 b.1f;1m b.1s!=="2Y"&&21 b.1s;1m b.1n!=="2Y"&&21 b.1n}};a.1E(1b,a.1a.Y.3n,{1h:{1k:{1t:1b,35:12,2M:1b,1d:9,1f:9,1s:0,1n:0}}});a.1a.Y.1e.41=V(d,b){V k(B,e){2O(11 j=0,n=1,c=1,f=0,i=0,m=B.1d,g=B.1f;m>0&&g>0&&n>0&&c>0;){m=1p.1N(m/2);g=1p.1N(g/2);U(b.x==="15")n=m;18 U(b.x==="1A")n=B.1d-m;18 n+=1p.1N(m/2);U(b.y==="16")c=g;18 U(b.y==="1z")c=B.1f-g;18 c+=1p.1N(g/2);2O(j=e.1q;j--;){U(e.1q<2)1H;f=e[j][0]-B.1n.15;i=e[j][1]-B.1n.16;U(b.x==="15"&&f>=n||b.x==="1A"&&f<=n||b.x==="1y"&&(fB.1d-n)||b.y==="16"&&i>=c||b.y==="1z"&&i<=c||b.y==="1y"&&(iB.1f-c))e.64(j,1)}}X{15:e[0][0],16:e[0][1]}}11 h=d.1v("47").2G(),q=d.1v("6d").2R(","),l=[],s=a(\'38[6i="#\'+d.6l("5g").1v("52")+\'"]\'),v=s.1n(),p={1d:0,1f:0,1n:{16:54,1A:0,1z:0,15:54}},C=0,D=0;v.15+=1p.3L((s.4e()-s.1d())/2);v.16+=1p.3L((s.4h()-s.1f())/2);U(h==="4y")2O(C=q.1q;C--;){D=[26(q[--C],10),26(q[C+1],10)];U(D[0]>p.1n.1A)p.1n.1A=D[0];U(D[0]p.1n.1z)p.1n.1z=D[1];U(D[1]35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('"5y 5z";X 1b=4y,12=74,1w=5m;(V(a,G,K){V L(d){X b;U(!d)W 12;U("1I"!==1m d.2m)d.2m={28:d.2m};U("18"2k d){U("1I"!==1m d.18||d.18.2F)d.18={1M:d.18};b=d.18.1M||12;U(!a.2w(b)&&(!b&&!b.1u||b.1r<1||"1I"===1m b&&!b.2F))b=d.18.1M=12;U("1o"2k d.18&&"1I"!==1m d.18.1o)d.18.1o={1M:d.18.1o}}U("1l"2k d){U("1I"!==1m d.1l)d.1l={27:d.1l,2x:d.1l};U("1I"!==1m d.1l.1V)d.1l.1V={};U("56"!==1m d.1l.1V.2J)d.1l.1V.2J=!!d.1l.1V.2J}U("Y"2k d){U("1I"!==1m d.Y)d.Y={1y:d.Y};U("1I"!==1m d.Y)d.Y=d.Y.2F?{1j:d.Y}:{1y:d.Y}}U("17"2k d)U("1I"!==1m d.17)d.17=d.17.2F?{1j:d.17}:{1y:d.17};U("1h"2k d&&"1I"!==1m d.1h)d.1h={3q:d.1h};a.1D(a.1a.11.1e,V(){13.3h&&13.3h(d)});W d}V O(d,b,k){V h(c){X f,i=c.3c("."),l=b[i[0]];2L(c=1;c",{3i:f}):a("",{"1U":"1g-1W-3O",1M:"5o 14",1o:"5o 14",1c:{"1M-6Q":"-5G"}}).5H(a("<4E />",{"1U":(b.1h.1R?"1g":j)+"-3x 1g-3x-55"}));c.23.4h(c.2h).1u("4n","23").3N(j+"-55").59(V(i){a(13).24("1g-1W-59",i.28==="4l")}).3D(V(){c.14.2C("1g-1W-1X")||e.17();W 12}).1q("44 5I 4N 5J 5K",V(i){a(13).24("1g-1W-6n 1g-1W-2S",/5M$/i.1O(i.28))});e.3M()}V o(){X c=e.1i;c.2h&&s();c.2h=a("<2A />",{"1U":j+"-2h "+(b.1h.1R?"1g-1R-4A":"")}).3P(c.1o=a("<2A />",{1C:j+"-"+k+"-1o","1U":j+"-1o",3i:b.18.1o.1M})).4h(c.2O);U(b.18.1o.23)v();19 e.1v===1b&&e.3M()}V A(c){X f=e.1i;U(!e.1v||!c)W 12;U(a.2w(c))c=c.1Y(d);c.2F&&c.1r>0?f.18.5N().3P(c.1c({38:"3s"})):f.18.3i(c);f.14.3L("4B",V(i){V l(q){g=g.4c(q);U(g.1r===0){e.3M();e.1v===1b&&e.2i(e.1G.1y);i()}}X g=a("3o:4c([1f]):4c([1d])",e.1i.18);g.1D(V(q,x){X D=["6g","3H","3d","5O",""].5P(".11-5Q ");a(13).1q(D,V(){2g(e.1L.3o[q]);l(13)});(V u(){U(x.1f)W l(x);e.1L.3o[q]=3e(u,20)})();W 1b});g.1r===0&&l(g)});W e}V B(c,f,i,l){V g(C){U(r.14.2C("1g-1W-1X"))W 12;r.Y.2B("11-"+k+"-2o");2g(e.1L.Y);2g(e.1L.17);X w=V(){e.Y(C)};U(b.Y.2v>0)e.1L.Y=3e(w,b.Y.2v);19 w()}V q(C){U(r.14.2C("1g-1W-1X"))W 12;X w=a(C.4I||C.1j).40(n)[0]==r.14[0];2g(e.1L.Y);2g(e.1L.17);U(b.17.2y&&(t.1j==="2e"&&w||/2e(4H|4v|4t)/.1O(C.28)&&w)){C.5R();C.5S();W 12}r.14.3T(1,1);U(b.17.2v>0)e.1L.17=3e(V(){e.17(C)},b.17.2v);19 e.17(C)}V x(C){U(r.14.2C("1g-1W-1X"))W 12;2g(e.1L.2o);e.1L.2o=3e(V(){e.17(C)},b.17.2o)}V D(C){U(!e.1G.41){e.1G.41=1;e.1i.14.29(":2u")&&e.2i(C);e.1G.41=0}}X u=".11-"+k,t=b.1l,r={Y:b.Y.1j,17:b.17.1j,14:e.1i.14,1J:t.1J[0]===1N.2N?1N:t.1J},E={Y:32(b.Y.1y).3c(" "),17:32(b.17.1y).3c(" ")},I=a.2z.2X&&22(a.2z.3K,10)===6;d.1q("2c.11",V(){e.2s()});U(i&&b.17.2y){r.17=r.17.2K(r.14);r.14.1q("4J"+u,V(){r.14.2C("1g-1W-1X")||2g(e.1L.17)})}U(f){U("2W"===1m b.17.2o){r.Y.1q("11-"+k+"-2o",x);a.1D(a.1a.11.4L,V(C,w){r.17.2K(e.1i.14).1q(w+u+"-2o",x)})}a.1D(E.17,V(C,w){X y=a.5T(w,E.Y);U(y>-1&&a(r.17).2K(r.Y).1r===a(r.17).1r||w==="4K"){r.Y.1q(w+u,V(F){r.14.29(":2u")?q(F):g(F)});1Z E.Y[y]}19 r.17.1q(w+u,q)})}U(c){a.1D(E.Y,V(C,w){r.Y.1q(w+u,g)});r.14.1q("4J"+u,V(){e.2S()})}U(l){U(t.1V.2D||t.1V.2J)a(a.1y.5U.2D?r.1J:G).1q("2D"+u,D);U(t.1V.2J||I&&r.14.1c("1l")==="2y")a(r.1J).1q("3U"+u,D);/4K/i.1O(b.17.1y)&&a(1N).1q("44"+u,V(C){X w=e.1i.14;a(C.1j).40(n).1r===0&&a(C.1j).2K(d).1r>1&&w.29(":2u")&&!w.2C("1g-1W-1X")&&e.17()});t.1j==="2e"&&a(1N).1q("4d"+u,V(C){U(t.1V.2e&&!r.14.2C("1g-1W-1X")&&r.14.29(":2u"))e.2i(C||a.1a.11.2e)})}}V z(c,f,i,l){l=22(l,10)!==0;X g=".11-"+k;f={Y:c?b.Y.1j:1w,17:f?b.17.1j:1w,14:i?e.1i.14:1w,18:i?e.1i.18:1w,1J:l?b.1l.1J[0]===1N.2N?1N:b.1l.1J:1w,4o:l?G:1w};U(e.1v)a([]).6j(a.5V([f.Y,f.17,f.14,f.1J,f.18,f.4o],V(){W 13!==5m})).2f(g);19 c&&f.Y.2f(g+"-2Q")}X e=13,j="1g-14",n=".11."+j;e.1C=k;e.1v=12;e.1i={1j:d};e.1G={1y:{},1j:1w,1X:12};e.1L={3o:[]};e.1T=b;e.1e={};a.1H(e,{21:V(c){X f=e.1i,i=a.36("4S");U(e.1v)W 12;e.1v=c?-2:-1;f.14=a("<2A/>").1u({1C:j+"-"+k,4n:"14","1U":j+" 11 1g-14-2Z 1g-4C-4D "+b.1h.3q}).1c("z-3W",a.1a.11.46+a(n).1r).24("1g-1R",b.1h.1R).24("1g-1W-1X",e.1G.1X).2a("11",e).2I(b.1l.1J);f.2O=a("<2A />",{"1U":j+"-2O"}).2I(f.14);f.18=a("<2A />",{"1U":j+"-18 "+(b.1h.1R?"1g-1R-18":""),1C:j+"-"+k+"-18"}).2I(f.2O);b.18.1o.1M&&o();A(b.18.1M);a.1D(a.1a.11.1e,V(){13.2H==="21"&&13(e)});e.1v=1b;B(1,1,1,1);a.1D(b.4q,V(l,g){g&&f.14.1q("14"+l,g)});f.14.3L("4B",V(l){U(b.Y.3n||c){f.14.17();e.Y(e.1G.1y)}f.14.3I("1g-14-2Z");i.3b=e.1G.1y;f.14.2B(i,[e.26()]);l()});W e},2T:V(c){33(c.2E()){1Q"1n":c=m("1l");1E;1Q"39":c=m("39");1E;3O:c=h(c.2E());c=c[0].1A?c[0].1K():c[0].2F?c[0]:c[0][c[1]];1E}W c},3l:V(c,f){c=c.2E();X i=h(c),l=e.1i,g=l.14,q,x,D,u={5W:{1C:V(){X t=f===1b?a.1a.11.43:f,r=j+"-"+t;U(t!==12&&t.1r>0&&!a("#1g-14-"+t).1r){g[0].1C=r;l.18[0].1C=r+"-18";l.1o[0].1C=r+"-1o"}},"^18.1M":V(){A(f)},"^18.1o.1M":V(){U(e.1v)U(!e.1i.1o&&f){o();e.2i()}19 f?e.1i.1o.3i(f):s()},"^18.1o.23":V(){X t=e.1i.23,r=e.1i.1o;U(e.1v)U(f){r||o();v()}19 t.2c()},"^1l.(27|2x)$":V(){X t=/27$/i.1O(c)?"27":"2x";U("1K"===1m f)b.1l[t]=2b a.1a.11.1e.2P(f)},"^1l.(27|2x|1V|1j)":V(){e.1v&&e.2i()},"^1l.1J$":V(){U(e.1v===1b){g.2I(f);e.2i()}},"^(Y|17).(1y|1j|2y|2v|2o)":V(t,r,E,I){X C=c.47(/2y/i)>-1?[0,[0,1,1,1]]:[c.3B(0,3),c.3C(0)==="s"?[1,0,0,0]:[0,1,0,0]];U(C[0])t[r]=I;z.3f(e,C[1]);U(C[0])t[r]=E;B.3f(e,C[1])},"^Y.3n$":V(){e.1v===12&&e.Y()},"^1h.3q$":V(){e.1i.14.1u("1U",j+" 11 1g-4C-4D "+f)},"^1h.1R$":V(){X t=!!f;g.24("1g-1R",t);l.2h.24("1g-1R-4A",t);l.18.24("1g-1R-18",t);l.23.4m("4E").24(j+"-3x",!t).24("1g-3x",t)},"^4q.(21|Y|4t|17|2S|3r)":V(t,r,E){l.14[(a.2w(f)?"":"5X")+"1q"]("14"+r,E)}}};a.1D(e.1e,V(t){U("1I"===1m 13.3E)u[t]=13.3E});q=i[0][i[1]];i[0][i[1]]=f.5L?a(f):f;L(b);2L(x 2k u)2L(D 2k u[x])5Y(D,"i").1O(c)&&u[x][D].1Y(e,i[0],i[1],f,q);W e},2R:V(c,f){V i(){X u=a(13),t=c?"1u":"3j",r=/^1|0$/.1O(u.1c("3v"));e.1i.1o&&d[t]("3g-4F",j+"-"+k+"-1o");d[t]("3g-4R",j+"-"+k+"-18");U(c){U(a.2z.2X&&13.1h&&r){D=13.1h;D.45("3w");D.45("3v")}}19 r&&u.17()}U(e.1v===12)W 12;X l=c?"Y":"17",g=e.1i.14,q=b[l],x=g.29(":2u"),D;U((1m c).47("3y|2W"))c=!g.29(":2u");U(!x&&!c||g.29(":5Z"))W e;U(f){U(e.1G.1y&&/61|62/.1O(f.28)&&/4H|4v/.1O(e.1G.1y.28)&&a(f.1j).2K(b.Y.1j).1r<2&&a(f.4I).40(n).1r>0)W e;e.1G.1y=a.1H({},f)}x=a.36("14"+l);x.3b=f?e.1G.1y:1w;g.2B(x,[e.26(),3t]);U(x.4i())W e;U(c){e.2S();e.2i(f);q.5h&&a(n).11("17")}19 2g(e.1L.Y);g.1u("3g-63",64(!c));g.3T(1,1);U(a.2w(q.2n)){q.2n.1Y(g,e.26());g.3L(V(){i.1Y(13);a(13).4O()})}19 U(q.2n===12){g[l]();i.1Y(g)}19 g.4u(3t,c?1:0,i);c&&q.1j.2B("11-"+k+"-2o");W e},Y:V(c){e.2R(1b,c)},17:V(c){e.2R(12,c)},2S:V(c){U(e.1v===12)W 12;X f=e.1i.14,i=a(n),l=22(f[0].1h.4r,10),g=a.1a.11.46+i.1r,q=j+"-2S",x=a.1H({},c);U(!f.2C(q)&&l!==g){i.1D(V(){13.1h.4r-=1});a(n+"."+q).1D(V(){X D=a(13),u=D.11(),t;U(!u||u.1v===12)W 1b;D.3I(q);t=a.36("65");t.3b=x;D.2B(t,[u,g])});c=a.36("66");c.3b=x;f.2B(c,[e.26(),g]);U(!c.4i())f.3N(q)[0].1h.4r=g}W e},2i:V(c){U(e.1v===12)W 12;X f=b.1l.1j,i=e.1i.14,l=b.1l,g=l.27,q=l.2x,x=l.1V,D=e.1i.14.1d(),u=e.1i.14.1f(),t=a(l.1J)[0],r=0,E=0,I=a.36("3V"),C=i.1c("1l")==="2y",w=a(x.1J&&t!==1N.2N?t:G),y={15:0,16:0};t={15:V(F){X J=w.3A,H=q.x==="15"?r:q.x==="1B"?-r:-r/2,M=F+D-w.1d-J;H=(g.x==="15"?D:g.x==="1B"?-D:-D/2)-(g.x===g.y?1:-2)*x.x-(g.1A==="x"||g.x===g.y?H:0);U(J-F>0)y.15-=H;19 U(M>0)y.15-=(g.x==="1x"?-1:1)*H;W y.15-F},16:V(F){X J=w.3R,H=q.y==="16"?E:q.y==="1z"?-E:-E/2,M=F+u-w.1f-J;H=(g.y==="16"?u:g.y==="1z"?-u:-u/2)-(g.y===g.x?1:-2)*x.y-(g.1A==="y"||g.x===g.y?H:0);U(J-F>0)y.16-=H;19 U(M>0)y.16-=(g.y==="1x"?-1:1)*H;W y.16-F}};w={4M:w,1f:w[(w[0]===G?"h":"70")+"69"](),1d:w[(w[0]===G?"w":"6a")+"6b"](),3A:w.3A(),3R:w.3R()};U(f==="2e"){q={x:"15",y:"16"};c=x.2e||!c||!c.3z?a.1H({},a.1a.11.2e):c;y={16:c.42,15:c.3z}}19{U(f==="1y")f=c&&c.1j&&c.28!=="3U"&&c.28!=="2D"?e.1G.1j=a(c.1j):e.1G.1j;f=a(f).6c(0);U(f.1r===0)W e;19 U(f[0]===1N||f[0]===G){r=f.1d();E=f.1f();U(f[0]===G)y={16:C?0:w.3R,15:C?0:w.3A}}19 U(f.29("6e")&&a.1a.11.1e.3Y){y=a.1a.11.1e.3Y(f,q);r=y.1d;E=y.1f;y=y.1n}19{r=f.4a();E=f.4p();y=p(f)}y.15+=q.x==="1B"?r:q.x==="1x"?r/2:0;y.16+=q.y==="1z"?E:q.y==="1x"?E/2:0}y.15+=x.x+(g.x==="1B"?-D:g.x==="1x"?-D/2:0);y.16+=x.y+(g.y==="1z"?-u:g.y==="1x"?-u/2:0);y.4b=x.2J&&f[0]!==G&&f[0]!==1N.2N?{15:t.15(y.15),16:t.16(y.16)}:{15:0,16:0};i.1u("1U",V(){W a(13).1u("1U").31(/1g-14-57-\\w+/i,"")}).3N(j+"-57-"+g.52());I.3b=a.1H({},c);i.2B(I,[e.26(),y,w.4M]);U(I.4i())W e;1Z y.4b;U(i.29(":2u")&&a.2w(l.2n)){l.2n.1Y(i,e.26(),y);i.3L(V(){X F=a(13);F.1c({3v:"",1f:""});a.2z.2X&&13.1h&&13.1h.45("3w");F.4O()})}19 6i(y.15,y.16)||i.1c(y);W e},3M:V(){U(!e.1v||!(a.2z.2X&&22(a.2z.3K.3C(0),10)<9))W 12;X c=e.1i.14;c.1u("1h");X f;c.1c({1d:"4P",1f:"4P"});f=m("39",1);a.1D(["1d","1f"],V(i,l){X g=22(c.1c("2U-"+l),10)||0,q=22(c.1c("4Q-"+l),10)||0;f[l]=g+q?1p.4Q(1p.2U(f[l],q),g):f[l]});c.1c(f)},4k:V(c){X f=e.1i.14;U(e.1v)f.24("1g-1W-1X",c);19 e.1G.1X=!!c;W e},2s:V(){X c=e.1i,f=c.1j.2a("3Z");e.1v&&a.1D(e.1e,V(){13.2H==="21"&&13.2s()});z(1,1,1,1);d.4T("11");e.1v&&c.14.2c();f&&d.1u("1o",f);d.3j("3g-4R");W d},26:V(){X c=a.1H({},e);1Z c.1G;1Z c.1L;1Z c.1T;1Z c.1e;1Z c.21;1Z c.26;W c}})}V P(d,b){X k,h,p=a(13);k=a(1N.2N);X m=13===1N?k:p;h=p.2m?p.2m(b.2m):1w;X s=a.1H(1b,{},a.1a.11.3a,b,L((h&&b.2m.28==="6l"?h[b.2m.4W]:1w)||h));p.4T("2m");h=s.1l;U("3y"===1m s.18.1M)U(s.18.1u!==12&&p.1u(s.18.1u))s.18.1M=p.1u(s.18.1u);19 W 12;U(h.1J===12)h.1J=k;U(h.1j===12)h.1j=m;U(s.Y.1j===12)s.Y.1j=m;U(s.17.1j===12)s.17.1j=m;h.2x=2b a.1a.11.1e.2P(h.2x);h.27=2b a.1a.11.1e.2P(h.27);U(p.2a("11"))U(s.4f)p.11("2s");19 U(s.4f===12)W 12;p.1u("1o")&&p.2a("3Z",p.1u("1o")).3j("1o");k=2b O(p,s,d);p.2a("11",k);W k}V Q(d){X b=13;b.3E={"^18.1F":V(){13.1e.1F.3d(13.1T.18.1F)}};a.1H(b,{2r:V(){X k=d.1T.18.1F;d.1i.14.1q("4S.1F",V(){b.3d(k);d.1i.14.1q("37.1F",V(){k.30===12&&d.1v===1b&&b.3d(k)})})},3d:V(k){a.1F(a.1H(1b,{},k,{48:V(h,p){U(a.2w(k.48))U(k.48.1Y(d.26(),h,p)===12)W;d.3l("18.1M",h)},3H:V(h,p,m){X s=p||m;U(a.2w(k.3H)){h=k.3H.1Y(d.26(),h,p,m);U(h===12)W}d.3l("18.1M",s)}}));W b},2s:V(){d.1i.14.2f("37.1F")}});b.2r()}V N(d,b,k){X h=1p.1P(b/2),p=1p.1P(k/2);b={4U:[[0,0],[b,k],[b,0]],4V:[[0,0],[b,0],[0,k]],4X:[[0,k],[b,0],[b,k]],4Y:[[0,0],[0,k],[b,k]],6o:[[0,k],[h,0],[b,k]],6r:[[0,0],[b,0],[h,k]],6s:[[0,0],[b,p],[0,k]],6u:[[b,0],[b,k],[0,p]]};b.6v=b.4U;b.6x=b.4V;b.6y=b.4X;b.6z=b.4Y;W b[d]}V R(d){V b(j){X n=m.1k,c=["15","1B"],f=p.1n,i,l;U(p.1t===12||!n)W 12;j=j||h.1t;i=j.1A;l=i==="y"?"x":"y";c[i==="y"?"58":"6A"]("16","1z");f=1p.2U(j[l]==="1x"?f:0,f);n.1c({16:"",1z:"",15:"",1B:"",51:""});33(j[i==="y"?"x":"y"]){1Q"1x":n.1c(c[0],"50%").1c("51-"+c[0],-1p.1P(A[i==="y"?"1d":"1f"]/2)+f);1E;1Q c[0]:n.1c(c[0],f);1E;1Q c[1]:n.1c(c[1],f);1E}f=A[i==="x"?"1d":"1f"];U(z){s.24("1g-14-2Z",!s.29(":2u"));f-=22(v.1c("1s-"+j[i]+"-1d"),10)||0;s.3I("1g-14-2Z")}U(e==="2p"&&/1z|1B/.1O(j[j.1A]))f+=z?1:-1;n.1c(j[i],-f)}V k(j,n,c){U(m.1k){j=a.1H({},h.1t);n=j.1A==="y"?["y","16","15","1f","x"]:["x","15","16","1d","y"];X f=c.4b,i=[0,0];U(h.1t.2y!==1b){U(f.15)j.x=j.x==="1x"?f.15>0?"15":"1B":j.x==="15"?"1B":"15";U(f.16)j.y=j.y==="1x"?f.16>0?"16":"1z":j.y==="16"?"1z":"16";U(j.1K()!==o.1t.1K()&&(o.16!==f.16||o.15!==f.15))h.3k(j)}i[0]=z?22(v.1c("1s-"+j[n[0]]+"-1d"),10)||0:e==="2p"?1:0;i[1]=1p.2U(j[n[4]]==="1x"?p.1n:0,p.1n);c[n[1]]+=(j[n[0]]===n[1]?1:-1)*(A[n[3]]-i[0]);c[n[2]]-=(j[n[4]]===n[2]||j[n[4]]==="1x"?1:-1)*i[1];o.15=f.15;o.16=f.16;o.1t=j}}X h=13,p=d.1T.1h.1k,m=d.1i,s=m.14,v=m.2O,o={16:0,15:0,1t:{1K:V(){}}},A={1d:p.1d,1f:p.1f},B={},z=p.1s||0,e=p.2M||12;h.1t=1w;h.34=1w;h.3E={"^1l.27|1h.1k.(1t|34|2M|1s)":V(){z=p.1s;U(h.2r())13.2T("1l.1j")!=="2e"&&13.2i();19 h.2s()},"^1h.1k.(1f|1d)":V(){A={1d:p.1d,1f:p.1f};h.2Q();h.3k();d.2i()},"^1h.(3q|1R)$":V(){h.4e();h.3k()}};a.1H(h,{2r:V(){X j=a.2z.2X,n=h.54(),c=h[h.34?"34":"1t"].1K().6B("1x")>-1;U(n){U(e===1b)e=a("<2t />")[0].3Q?"2t":j&&(c||A.1f!==A.1d)?"2p":"2V";19 U(e==="2t")e=j?"2p":!a("<2t />")[0].3Q?"2V":"2t";19 U(e==="2V")e=j&&c?"2p":e;h.2Q();h.4e();h.3k();s.2f(".11-1k").1q("3V.11-1k",k)}W n},54:V(){X j=p.1t,n=d.1T.1l.2x,c=d.1T.1l.27;U(c.1K)c=c.1K();U(j===12||c===12&&n===12)W 12;19 U(j===1b)h.1t=2b a.1a.11.1e.2P(c);19 U(!j.1K){h.1t=2b a.1a.11.1e.2P(j);h.1t.2y=1b}W h.1t.1K()!=="5l"},4e:V(){X j=m.1k,n=h.1t,c=h.1t[h.1t.1A],f="1s-"+c+"-3m",i=/6C?\\(0, 0, 0(, 0)?\\)|35/i,l=m.2h&&n.y==="16",g=d.1T.1h.1R;n=g?m.18:l?m.2h:m.2O;l=!g?m.2O:l?m.2h:m.18;B.2G=j.1c({6D:"",1s:""}).1c("4g-3m")||"35";B.1s=j.2T(0).1h?j.2T(0).1h["1s"+c.3C(0)+c.3B(1)+"6E"]:j.1c(f)||"35";U(i.1O(B.2G))B.2G=z?n.1c("4g-3m"):l.1c(f);U(!B.1s||i.1O(B.1s))B.1s=l.1c(f)||B.2G;a("*",j).2K(j).1c("4g-3m","35").1c("1s",0)},2Q:V(){X j=A.1d,n=A.1f;m.1k&&m.1k.2c();m.1k=a(\'<2A 1U="1g-14-1k" />\').24("1g-1R-18",d.1T.1h.1R).1c(A).4h(s);33(e){1Q"2t":a(\'<2t 1f="\'+n+\'" 1d="\'+j+\'" />\').2I(m.1k)[0].3Q("2d").5g();1E;1Q"2p":m.1k.3i(\'<2p:4j 6F="0 0" 6G="\'+j+" "+n+\'" 6H="\'+!!z+\'" 1h="5a:3G(#3O#5b); 38:5c-3s; 6I:1b; 1l: 3S; 16:0; 15:0; 1d:\'+j+"2l; 1f:"+n+"2l; 6J-6K:"+h.1t.y+\';"><2p:6L 6M="\'+(z-2)+\'2l" 6N="6O" 6P="10" 1h="5a:3G(#3O#5b); 38:5c-3s;" />\');1E;1Q"2V":m.1k.3P(\'<2A 1U="1g-14-1k-6R" />\').3P(z?\'<2A 1U="1g-14-1k-1s" />\':"");1E}W h},3k:V(j){X n=m.1k,c=A.1d,f=A.1f,i=z>0?0:1,l=1p.3J(z/2+0.5),g=p.34,q,x;U(!j)j=h.1t;U(g===12)g=j;19{g=2b a.1a.11.1e.2P(g);g.1A=j.1A;U(g.x==="3F")g.x=j.x;19 U(g.y==="3F")g.y=j.y;19 U(g.x===g.y)g[j.1A]=j[j.1A]}x=1p[/b|r/.1O(g[g.1A==="y"?"x":"y"])?"3J":"1P"];n=n.4m();33(e){1Q"2t":n=n.2T(0).3Q("2d");n.5e&&n.5e();n.6S(0,0,5f,5f);2L(q=N(g.1K(),c,f);i<2;i++){U(i){n.5g();n.6U(x((g.x==="15"?1:g.x==="1B"?-1:0)*(z+1)*(g.1A==="y"?0.5:1)),x((g.y==="16"?1:g.y==="1z"?-1:0)*(z+1)*(g.1A==="x"?0.5:1)))}n.6V();n.6W(q[0][0],q[0][1]);n.5j(q[1][0],q[1][1]);n.5j(q[2][0],q[2][1]);n.6X();n.6Y=B[i?"2G":"1s"];n.2G()}1E;1Q"2p":q=N(g.1K(),c,f);i="m"+q[0][0]+","+q[0][1]+" l"+q[1][0]+","+q[1][1]+" "+q[2][0]+","+q[2][1]+" 6Z";n.1u({71:i,72:B.2G});U(z){n.4m().1u("3m",B.1s);U(g.1A==="y"){n.1c("16",(g.y==="16"?1:-1)*(z-2));n.1c("15",g.x==="15"?1:-2)}19{n.1c("15",(g.x==="15"?1:-1)*(z-2));n.1c("16",g.y==="16"?1:-2)}}1E;1Q"2V":U(g.1A==="y"){i=c>f?1.5:cf?5:2.2;l=[1p.1P(i*l*(g.x==="1B"?-1:1)*(g.y==="1x"?0.9:1)),g.y==="16"?l:g.y==="1z"?-l:0]}n.3j("1h").1D(V(D){X u={x:g.1A==="x"?g.x==="15"?"1B":"15":g.x,y:g.1A==="y"?g.y==="16"?"1z":"16":g.y},t=g.x==="1x"?["15","1B",u.y,f,c]:["16","1z",u.x,c,f],r=B[!D&&z?"1s":"2G"];D&&a(13).1c({1l:"3S","z-3W":1,15:l[0],16:l[1]});g.x==="1x"||g.y==="1x"?a(13).1c("1s-"+t[2],t[3]+"2l 4s "+r).1c("1s-"+t[0],1p.1P(t[4]/2)+"2l 5n 35").1c("1s-"+t[1],1p.1P(t[4]/2)+"2l 5n 35"):a(13).1c("1s-1d",1p.1P(f/2)+"2l "+1p.1P(c/2)+"2l").1c("1s-"+u.x,1p.1P(c/2)+"2l 4s "+r).1c("1s-"+u.y,1p.1P(f/2)+"2l 4s "+r)});1E}b(j);W h},2s:V(){m.1k&&m.1k.2c();s.2f(".11-1k")}})}V S(d,b){X k=13,h=d.1i,p=h.14;h.25=a("#11-25");a.1H(k,{2r:V(){p.1q("37.2q 4w.2q",V(m,s,v){m=m.28.31("14","");a.2w(b[m])?b[m].1Y(h.25,v,s):k[m](v)});h.25.1r||k.2Q();b.3r===1b&&h.25.1q("3D.2q"+d.1C,V(){d.17.1Y(d)})},2Q:V(){h.25=a("<2A />",{1C:"11-25",1c:{1l:"3S",16:0,15:0,38:"5p"}}).2I(1N.2N);a(G).1q("2D.2q",V(){h.25.1c({1f:1p.2U(a(G).1f(),a(1N).1f()),1d:1p.2U(a(G).1d(),a(1N).1d())})}).2B("2D")},2R:V(m){X s=h.25,v=d.1T.Y.1S.2n,o=m?"Y":"17";s.3T(1b,12);U(a.2w(v))v.1Y(s,m);19 v===12?s[o]():s.4u(3t,m?0.7:0,V(){m||a(13).17()})},Y:V(){k.2R(1b)},17:V(){k.2R(12)},2s:V(){X m=1b;a("*").1D(V(){X s=a(13).2a("11");U(s&&s.1C!==d.1C&&s.1T.Y.1S)W m=12});U(m){h.25.2c();a(G).2f("3U.2q 2D.2q")}19 h.25.2f("3D.2q"+d.1C);p.2f("37.2q 4w.2q")}});k.2r()}V T(d){X b=13,k=d.1i,h=k.14,p=".2j-"+d.1C,m="3V"+p+" 37"+p;a.1H(b,{2r:V(){k.2j=a(\'<3X 1U="1g-14-2j" 5q="0" 5r="-1" 5s="5t:\\\'\\\';" 1h="38:3s; 1l:3S; z-3W:-1; 3w:5u(3v=0);">\');k.2j.2I(h);h.1q(m,b.1V)},1V:V(){X s=d.2T("39"),v=d.1e.1k,o=d.1i.1k,A;A=22(h.1c("1s-15-1d"),10)||0;A={15:-A,16:-A};U(v&&o){v=v.1t.1A==="x"?["1d","15"]:["1f","16"];A[v[1]]-=o[v[0]]()}k.2j.1c(A).1c(s)},2s:V(){b.3X.2c();h.2f(m)}});b.2r()}a.1a.11=V(d,b,k){X h=32(d).2E(),p=1w,m=h==="4k"?[1b]:a.5v(2Y).4z(1,10),s=m[m.1r-1],v;U(!2Y.1r&&13.2a("11")||h==="5w")W(v=13.2a("11"))?v.26():K;19 U("1K"===1m d){13.1D(V(){X o=a(13).2a("11");U(!o)W 1b;U(/5x|3l/.1O(h)&&b)U(k!==K)o.3l(b,k);19 p=o.2T(b);19{U(!o.1v&&(h==="Y"||h==="2R")){U(s&&s.5D)o.1G.1y=s;o.21(1)}19 U(h==="5F"){h="4k";m=[12]}o[h]&&o[h].3f(o[h],m)}});W p!==1w?p:13}19 U("1I"===1m d||!2Y.1r){v=L(a.1H(1b,{},d));W a.1a.11.1q.1Y(13,v,s)}};a.1a.11.1q=V(d,b){W 13.1D(V(){V k(A){V B(){o.21(1m A==="1I"||h.Y.3n);p.Y.2f(m.Y);p.17.2f(m.17)}U(o.1G.1X)W 12;o.1G.1y=a.1H({},A);U(h.Y.2v>0){2g(o.1L.Y);o.1L.Y=3e(B,h.Y.2v);m.Y!==m.17&&p.17.1q(m.17,V(){2g(o.1L.Y)})}19 B()}X h,p,m,s=d.1C=!d.1C||d.1C===12||d.1C.1r<1||a("#1g-14-"+d.1C).1r?a.1a.11.43++:d.1C,v=".11-"+s+"-2Q",o=P.1Y(13,s,d);U(o===12)W 1b;h=o.1T;a.1D(a.1a.11.1e,V(){13.2H==="2H"&&13(o)});p={Y:h.Y.1j,17:h.17.1j};m={Y:32(h.Y.1y).31(" ",v+" ")+v,17:32(h.17.1y).31(" ",v+" ")+v};p.Y.1q(m.Y,k);U(h.Y.3n||h.53)k(b)})};a.1D({1u:V(d){X b=a(13),k=b.2a("11");W 2Y.1r===1&&d==="1o"&&k&&k.1v===1b?b.2a("3Z"):1w},2c:a.1g?1w:V(d,b){a(13).1D(V(){U(!b)U(!d||a.3w(d,[13]).1r)a("*",13).2K(13).1D(V(){a(13).60("2c")})})}},V(d,b){U(!b)W 1b;a.1a["4G"+d]=a.1a[d];a.1a[d]=V(){W b.3f(13,2Y)||a.1a["4G"+d].3f(13,2Y)}});a(1N.2N).1u("4n",V(d,b){W!b?"67":b});a(1N).1q("4d.11",V(d){a.1a.11.2e={3z:d.3z,42:d.42}});a.1a.11.3K="2.0.6d";a.1a.11.43=0;a.1a.11.4L="3D 6f 44 4N 4d 5k 4l".3c(" ");a.1a.11.46=6k;a.1a.11.1e={2P:V(d){d=32(d).31(/([A-Z])/," $1").31(/6p/6t,"1x").2E();13.x=(d.49(/15|1B/i)||d.49(/1x/)||["3F"])[0].2E();13.y=(d.49(/16|1z|1x/i)||["3F"])[0].2E();13.1A=d.3C(0).47(/^(t|b)/)>-1?"y":"x";13.1K=V(){W 13.1A==="y"?13.y+13.x:13.x+13.y};13.52=V(){X b=13.x.3B(0,1),k=13.y.3B(0,1);W b===k?b:b==="c"||b!=="c"&&k!=="c"?k+b:b+k}}};a.1a.11.3a={53:12,1C:12,4f:1b,2m:{28:"1U"},18:{1M:1b,1u:"1o",1o:{1M:12,23:12}},1l:{27:"16 15",2x:"1z 1B",1j:12,1J:12,1V:{x:0,y:0,2e:1b,2J:12,2D:1b,1J:12},2n:1b},Y:{1j:12,1y:"4l",2n:1b,2v:3t,5h:12,3n:12},17:{1j:12,1y:"5k",2n:1b,2v:0,2y:12,2o:12},1h:{3q:"",1R:12},4q:{21:1w,4t:1w,Y:1w,17:1w,2S:1w,3r:1w}};a.1a.11.1e.1F=V(d){X b=d.1e.1F,k=d.1T.18.1F;U(k&&k.3G)U(b)W b;19{d.1e.1F=2b Q(d);W d.1e.1F}};a.1a.11.1e.1F.2H="21";a.1a.11.1e.1F.3h=V(d){X b=d.18;U(b&&"1F"2k b){b=b.1F;U(1m b!=="1I")b=d.18.1F={3G:b};U("3y"!==1m b.30&&b.30)b.30=!!b.30}};a.1H(1b,a.1a.11.3a,{18:{1F:{30:1b}}});a.1a.11.1e.1k=V(d){X b=d.1e.1k,k=d.1T.1h.1k;U(k&&k.1t)U(b)W b;19{d.1e.1k=2b R(d);d.1e.1k.2r();W d.1e.1k}};a.1a.11.1e.1k.2H="21";a.1a.11.1e.1k.3h=V(d){X b=d.1h;U(b&&"1k"2k b){b=d.1h.1k;U(1m b!=="1I")d.1h.1k={1t:b};U(!/1K|3y/i.1O(1m b.1t))b.1t=4y;U(1m b.2M!=="1K")b.2M=1b;U(!/2t|2V/i.1O(b.2M))b.2M=1b;1m b.1d!=="2W"&&1Z b.1d;1m b.1f!=="2W"&&1Z b.1f;1m b.1s!=="2W"&&1Z b.1s;1m b.1n!=="2W"&&1Z b.1n}};a.1H(1b,a.1a.11.3a,{1h:{1k:{1t:1b,34:12,2M:1b,1d:9,1f:9,1s:0,1n:0}}});a.1a.11.1e.3Y=V(d,b){V k(z,e){2L(X j=0,n=1,c=1,f=0,i=0,l=z.1d,g=z.1f;l>0&&g>0&&n>0&&c>0;){l=1p.1P(l/2);g=1p.1P(g/2);U(b.x==="15")n=l;19 U(b.x==="1B")n=z.1d-l;19 n+=1p.1P(l/2);U(b.y==="16")c=g;19 U(b.y==="1z")c=z.1f-g;19 c+=1p.1P(g/2);2L(j=e.1r;j--;){U(e.1r<2)1E;f=e[j][0]-z.1n.15;i=e[j][1]-z.1n.16;U(b.x==="15"&&f>=n||b.x==="1B"&&f<=n||b.x==="1x"&&(fz.1d-n)||b.y==="16"&&i>=c||b.y==="1z"&&i<=c||b.y==="1x"&&(iz.1f-c))e.68(j,1)}}W{15:e[0][0],16:e[0][1]}}X h=d.1u("4j").2E(),p=d.1u("6h").3c(","),m=[],s=a(\'3o[6m="#\'+d.6q("5d").1u("4W")+\'"]\'),v=s.1n(),o={1d:0,1f:0,1n:{16:4Z,1B:0,1z:0,15:4Z}},A=0,B=0;v.15+=1p.3J((s.4a()-s.1d())/2);v.16+=1p.3J((s.4p()-s.1f())/2);U(h==="4x")2L(A=p.1r;A--;){B=[22(p[--A],10),22(p[A+1],10)];U(B[0]>o.1n.1B)o.1n.1B=B[0];U(B[0]o.1n.1z)o.1n.1z=B[1];U(B[1]'), - hide: hide ? options.hide.target : $('
'), - tooltip: tooltip ? self.elements.tooltip : $('
') - }, - events = { show: String(options.show.event).split(' '), hide: String(options.hide.event).split(' ') }; + show: show ? options.show.target : NULL, + hide: hide ? options.hide.target : NULL, + tooltip: tooltip ? self.elements.tooltip : NULL, + content: tooltip ? self.elements.content : NULL, + container: doc ? options.position.container[0] === document.body ? document : options.position.container : NULL, + window: doc ? window : NULL + }; // Check if tooltip is rendered if(self.rendered) { - // Remove show events - $.each(events.show, function(index, type){ targets.show.unbind(type+namespace); }); - targets.show.unbind('mousemove'+namespace) - .unbind('mouseout'+namespace) - .unbind('qtip-'+id+'-inactive'); - - // Remove hide events - $.each(events.hide, function(index, type) { - targets.hide.add(targets.tooltip).unbind(type+namespace); - }); - $.each($.fn.qtip.inactiveEvents, function(index, type){ - targets.hide.add(tooltip ? self.elements.content : NULL).unbind(type+namespace+'-inactive'); - }); - targets.hide.unbind('mouseout'+namespace); - - // Remove tooltip events - targets.tooltip.unbind('mouseover'+namespace); - - // Remove document events - if(doc) { - $(window).unbind('resize'+namespace); - $(document).unbind('mousedown'+namespace+' mousemove'+namespace); - } + $([]).pushStack( + $.grep( + [ targets.show, targets.hide, targets.tooltip, targets.container, targets.content, targets.window ], + function(){ return this !== null; } + ) + ) + .unbind(namespace); } // Tooltip isn't yet rendered, remove render event - else if(show) { targets.show.unbind(events.show+namespace+'-create'); } + else if(show) { targets.show.unbind(namespace+'-create'); } } /*