From 2e9392806aca8ad7f66d26691e9521720b35d312 Mon Sep 17 00:00:00 2001 From: Craig Michael Thompson Date: Thu, 13 Jan 2011 10:18:52 +0000 Subject: [PATCH] Updated sanitizations for title.text --- dist/jquery.qtip.css | 2 +- dist/jquery.qtip.js | 21 ++++--- dist/jquery.qtip.min.js | 125 ++++++++++++++++++++------------------- dist/jquery.qtip.pack.js | 4 +- src/core.js | 19 ++++-- 5 files changed, 93 insertions(+), 78 deletions(-) diff --git a/dist/jquery.qtip.css b/dist/jquery.qtip.css index 7747a553..345387bf 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 Jan 13 09:18:01 2011 +0000 +* Date: Thu Jan 13 10:09:14 2011 +0000 */ /* Fluid class for determining actual width in IE */ diff --git a/dist/jquery.qtip.js b/dist/jquery.qtip.js index 2def3156..7ba921a8 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 Jan 13 09:18:01 2011 +0000 +* Date: Thu Jan 13 10:09:14 2011 +0000 */ "use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/ @@ -55,13 +55,20 @@ function sanitizeOptions(opts) content = opts.content.text || FALSE; if(!$.isFunction(content) && ((!content && !content.attr) || content.length < 1 || ('object' === typeof content && !content.jquery))) { - content = opts.content.text = FALSE; + opts.content.text = FALSE; } - if('title' in opts.content && 'object' !== typeof opts.content.title) { - opts.content.title = { - text: opts.content.title - }; + if('title' in opts.content) { + if('object' !== typeof opts.content.title) { + opts.content.title = { + text: opts.content.title + }; + } + + content = opts.content.title.text || FALSE; + if(!$.isFunction(content) && ((!content && !content.attr) || content.length < 1 || ('object' === typeof content && !content.jquery))) { + opts.content.text = FALSE; + } } } @@ -194,7 +201,7 @@ function QTip(target, options, id) } function isVisible() { - return tooltip.css('left') !== hideOffset; + return tooltip[0].offsetLeft !== hideOffset; } function setWidget() { diff --git a/dist/jquery.qtip.min.js b/dist/jquery.qtip.min.js index 21753435..6c1ca176 100644 --- a/dist/jquery.qtip.min.js +++ b/dist/jquery.qtip.min.js @@ -9,71 +9,72 @@ * http://en.wikipedia.org/wiki/MIT_License * http://en.wikipedia.org/wiki/GNU_General_Public_License * -* Date: Thu Jan 13 09:18:01 2011 +0000 +* Date: Thu Jan 13 10:09:14 2011 +0000 */ "use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/ /*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */ /*global window: false, jQuery: false */ -(function(b,M,R){function W(e){var a;if(!e)return n;if("object"!==typeof e.metadata)e.metadata={type:e.metadata};if("content"in e){if("object"!==typeof e.content||e.content.jquery)e.content={text:e.content};a=e.content.text||n;if(!b.isFunction(a)&&(!a&&!a.attr||a.length<1||"object"===typeof a&&!a.jquery))a=e.content.text=n;if("title"in e.content&&"object"!==typeof e.content.title)e.content.title={text:e.content.title}}if("position"in e)if("object"!==typeof e.position)e.position={my:e.position,at:e.position}; -if("show"in e)if("object"!==typeof e.show)e.show=e.show.jquery?{target:e.show}:{event:e.show};if("hide"in e)if("object"!==typeof e.hide)e.hide=e.hide.jquery?{target:e.hide}:{event:e.hide};if("style"in e)if("object"!==typeof e.style)e.style={classes:e.style};b.each(b.fn.qtip.plugins,function(){this.sanitize&&this.sanitize(e)});return e}function Z(e,a,o){function g(c){var f,l=c.split("."),k=a[l[0]];for(c=1;c",{"class":"ui-state-default "+(a.style.widget?"":J+"-icon"),title:"Close tooltip","aria-label":"Close tooltip"}).prepend(b("",{"class":"ui-icon ui-icon-close",html:"×"})); -c.button.appendTo(c.titlebar).attr("role","button").hover(function(l){b(this).toggleClass("ui-state-hover",l.type==="mouseenter")}).click(function(l){h.hasClass(O)||d.hide(l);return n}).bind("mousedown keydown mouseup keyup mouseout",function(l){b(this).toggleClass("ui-state-active ui-state-focus",l.type.substr(-4)==="down")});d.redraw()}function A(){var c=d.elements,f=r+"-title";c.titlebar&&s();c.titlebar=b("
",{"class":J+"-titlebar "+(a.style.widget?"ui-widget-header":"")}).append(c.title= -b("
",{id:f,"class":J+"-title","aria-atomic":u})).insertBefore(c.content);if(a.content.title.button)q();else d.rendered===u&&d.redraw()}function D(c){var f=d.elements.title;if(!d.rendered||!c)return n;if(b.isFunction(c))c=c.call(e,d)||"";c.jquery&&c.length>0?f.empty().append(c.css({display:"block"})):f.html(c);d.redraw();d.rendered===u&&d.reposition(d.cache.event)}function H(c){var f=d.elements.content;if(!d.rendered||!c)return n;if(b.isFunction(c))c=c.call(e,d)||"";c.jquery&&c.length>0?f.empty().append(c.css({display:"block"})): -f.html(c);h.queue("fx",function(l){function k(x){m=m.not(x);if(m.length===0){d.redraw();d.rendered===u&&d.reposition(d.cache.event);l()}}var m=b("img:not([height]):not([width])",f);m.each(function(x,E){var I=["abort","error","load","unload",""].join(".qtip-image ");b(this).bind(I,function(){clearTimeout(d.timers.img[x]);k(this)});(function B(){if(E.height)return k(E);d.timers.img[x]=setTimeout(B,20)})();return u});m.length===0&&k(m)});return d}function j(c,f,l,k){function m(y){if(h.hasClass(O))return n; -G.show.trigger("qtip-"+o+"-inactive");clearTimeout(d.timers.show);clearTimeout(d.timers.hide);var w=function(){d.show(y)};if(a.show.delay>0)d.timers.show=setTimeout(w,a.show.delay);else w()}function x(y){if(h.hasClass(O))return n;var w=b(y.relatedTarget||y.target).parents(T)[0]===h[0],S=b(y.relatedTarget||y.target)[0]===G.show[0];clearTimeout(d.timers.show);clearTimeout(d.timers.hide);if(a.hide.fixed&&(C.target==="mouse"&&w||/mouse(out|leave|move)/.test(y.type)&&(w||S))){y.stopPropagation();y.preventDefault(); -return n}h.stop(1,1);if(a.hide.delay>0)d.timers.hide=setTimeout(function(){d.hide(y)},a.hide.delay);else d.hide(y)}function E(y){if(h.hasClass(O))return n;clearTimeout(d.timers.inactive);d.timers.inactive=setTimeout(function(){d.hide(y)},a.hide.inactive)}function I(y){if(!d.cache.processing){d.cache.processing=1;i()&&d.reposition(y);d.cache.processing=0}}var B=".qtip-"+o,C=a.position,G={show:a.show.target,hide:a.hide.target,container:C.container[0]===v?document:C.container},N={show:String(a.show.event).split(" "), -hide:String(a.hide.event).split(" ")},P=b.browser.msie&&parseInt(b.browser.version,10)===6;if(l){if(a.hide.fixed){G.hide=G.hide.add(h);h.bind("mouseover"+B,function(){h.hasClass(O)||clearTimeout(d.timers.hide)})}h.bind("mouseenter"+B+" mouseleave"+B,function(y){d[y.type==="mouseenter"?"focus":"blur"](y)})}if(f){if("number"===typeof a.hide.inactive){G.show.bind("qtip-"+o+"-inactive",E);b.each(b.fn.qtip.inactiveEvents,function(y,w){G.hide.add(d.elements.tooltip).bind(w+B+"-inactive",E)})}b.each(N.hide, -function(y,w){var S=b.inArray(w,N.show);if(S>-1&&b(G.hide).add(G.show).length===b(G.hide).length||w==="unfocus"){G.show.bind(w+B,function(K){i()?x(K):m(K)});delete N.show[S]}else G.hide.bind(w+B,x)})}c&&b.each(N.show,function(y,w){G.show.bind(w+B,m)});if(k){if(C.adjust.resize||C.viewport)b(b.event.special.resize?C.viewport:M).bind("resize"+B,I);if(C.viewport||P&&h.css("position")==="fixed")b(C.viewport).bind("scroll"+B,I);/unfocus/i.test(a.hide.event)&&b(document).bind("mousedown"+B,function(y){b(y.target).parents(T).length=== -0&&b(y.target).add(e).length>1&&i()&&!h.hasClass(O)&&d.hide(y)});C.target==="mouse"&&b(document).bind("mousemove"+B,function(y){if(C.adjust.mouse&&!h.hasClass(O)&&i())d.reposition(y||b.fn.qtip.mouse)})}}function t(c,f,l,k){k=parseInt(k,10)!==0;var m=".qtip-"+o;f={show:c?a.show.target:F,hide:f?a.hide.target:F,tooltip:l?d.elements.tooltip:F,content:l?d.elements.content:F,container:k?a.position.container[0]===v?document:a.position.container:F,window:k?M:F};if(d.rendered)b([]).pushStack(b.grep([f.show, -f.hide,f.tooltip,f.container,f.content,f.window],function(){return this!==null})).unbind(m);else c&&f.show.unbind(m+"-create")}var d=this,v=document.body,r=J+"-"+o,h;d.id=o;d.rendered=n;d.elements={target:e};d.timers={img:[]};d.options=a;d.plugins={};d.cache={event:{},target:F,disabled:n,lastFocus:v};b.extend(d,{render:function(c){if(d.rendered)return n;var f=d.elements,l=a.content.text,k=a.content.title.text,m=b.Event("tooltiprender");e.attr({"aria-owns":r,"aria-controls":r,"aria-haspopup":u,"aria-describedby":r}); -h=f.tooltip=b("
").attr({id:r,"class":J+" qtip ui-helper-reset "+a.style.classes,role:"alert","aria-live":"polite","aria-atomic":n,"aria-describedby":r+"-content","aria-hidden":u}).toggleClass(O,d.cache.disabled).data("qtip",d).appendTo(a.position.container).append(f.content=b("
",{"class":J+"-content",id:r+"-content","aria-atomic":u}));d.rendered=u;if(k){A();D(k)}H(l);b.each(b.fn.qtip.plugins,function(){this.initialize==="render"&&this(d)});j(1,1,1,1);b.each(a.events,function(x,E){if(E)h.bind(x=== -"toggle"?"tooltipshow tooltiphide":"tooltip"+x,E)});h.queue("fx",function(x){m.originalEvent=d.cache.event;h.trigger(m,[d]);if(a.show.ready||c){h.hide();d.show(d.cache.event)}x()});return d},get:function(c){switch(c.toLowerCase()){case "dimensions":c={height:h.outerHeight(),width:h.outerWidth()};break;case "offset":c=p(h[0],a.position.container[0]);break;default:c=g(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 l= -g(c),k=d.elements,m,x,E,I={builtin:{"^id$":function(){var B=f===u?b.fn.qtip.nextid:f,C=J+"-"+B;if(B!==n&&B.length>0&&!b("#"+C).length){h[0].id=C;k.content[0].id=C+"-content";k.title[0].id=C+"-title"}},"^content.text$":function(){H(f)},"^content.title.text$":function(){if(!f)return s();!d.elements.title&&f&&A();D(f)},"^content.title.button$":function(){var B=d.elements.button,C=d.elements.title;if(d.rendered)if(f){C||A();q()}else B.remove()},"^position.(my|at)$":function(){var B=/my$/i.test(c)?"my": -"at";if("string"===typeof f)a.position[B]=new b.fn.qtip.plugins.Corner(f)},"^position.container$":function(){d.rendered===u&&h.appendTo(f)},"^(show|hide).(event|target|fixed|delay|inactive)$":function(B,C,G,N){var P=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(P[0])B[C]=N;t.apply(d,P[1]);if(P[0])B[C]=G;j.apply(d,P[1])},"^show.ready$":function(){d.rendered===n&&d.show()},"^style.classes$":function(){h.attr("class",J+" qtip ui-helper-reset "+f)},"^style.widget|content.title":z, -"^events.(render|show|move|hide|focus|blur)$":function(B,C,G){k.tooltip[(b.isFunction(f)?"":"un")+"bind"]("tooltip"+C,G)},"^position.(my|at|adjust|target|container)|style|content":function(){d.reposition()}}};b.each(d.plugins,function(B){if("object"===typeof this.checks)I[B]=this.checks});m=l[0][l[1]];l[0][l[1]]=f.nodeType?b(f):f;W(a);for(x in I)for(E in I[x])RegExp(E,"i").test(c)&&I[x][E].call(d,l[0],l[1],f,m);return d},toggle:function(c,f){function l(){if(c)b.browser.msie&&h[0].style.removeAttribute("filter"); -else h.css({display:"",visibility:"hidden",width:"",opacity:"",left:"",top:""})}if(d.rendered===n)return n;var k=c?"show":"hide",m=a[k],x=i();if((typeof c).search("boolean|number"))c=!x;if(!x&&!c||h.is(":animated"))return d;if(f){if(/over|enter/.test(f.type)&&/out|leave/.test(d.cache.event.type)&&f.target===a.show.target[0]&&h.has(f.relatedTarget).length)return d;d.cache.event=b.extend({},f)}x=b.Event("tooltip"+k);x.originalEvent=f?d.cache.event:F;h.trigger(x,[d,90]);if(x.isDefaultPrevented())return d; -h.attr("aria-hidden",!!!c);if(c){h.hide().css({visibility:""});d.focus(f);d.reposition(f,0);m.solo&&b(T).not(h).qtip("hide")}else{clearTimeout(d.timers.show);d.blur(f)}h.stop(1,1);if(b.isFunction(m.effect)){m.effect.call(h,d);h.queue("fx",function(E){l.call(this,E);E()})}else if(m.effect===n){h[k]();l.call(h)}else h.fadeTo(90,c?1:0,l);c&&m.target.trigger("qtip-"+o+"-inactive");return b.fn.qtip.lastShown=d},show:function(c){d.toggle(u,c)},hide:function(c){d.toggle(n,c)},focus:function(c){if(d.rendered=== -n)return n;var f=b(T),l=parseInt(h[0].style.zIndex,10),k=b.fn.qtip.zindex+f.length;c=b.extend({},c);if(!h.hasClass(V)){if(l!==k){f.each(function(){if(this.style.zIndex>l)this.style.zIndex-=1});b(T+"."+V).qtip("blur",c)}d.cache.lastFocus=document.activeElement;f=b.Event("tooltipfocus");f.originalEvent=c;h.trigger(f,[d,k]);if(!f.isDefaultPrevented())h.addClass(V)[0].style.zIndex=k}return d},blur:function(c){c=b.extend({},c);var f;h.removeClass(V);f=b.Event("tooltipblur");f.originalEvent=c;h.trigger(f, -[d])},reposition:function(c,f){if(d.rendered===n)return n;var l=a.position.target,k=a.position,m=k.my,x=k.at,E=k.adjust,I=h.outerWidth(),B=h.outerHeight(),C=0,G=0,N=b.Event("tooltipmove"),P=h.css("position")==="fixed",y=k.viewport.jquery?k.viewport:b(M),w={left:0,top:0},S={left:function(K){var L=y.scrollLeft,Q=x.x==="left"?C:x.x==="right"?-C:-C/2,U=L-K;L=K+I-y.width-L;Q=(m.x==="left"?I:m.x==="right"?-I:-I/2)-(m.precedance==="x"||m.x===m.y?Q:0);if(U>0&&(m.x!=="left"||L>0))w.left-=Q;else if(L>0&&(m.x!== -"right"||U>0))w.left-=(m.x==="center"?-1:1)*Q+2*E.x;if(w.left<0&&-w.left>L)w.left=K;return w.left-K},top:function(K){var L=y.scrollTop,Q=x.y==="top"?G:x.y==="bottom"?-G:-G/2,U=L-K;L=K+B-y.height-L;Q=(m.y==="top"?B:m.y==="bottom"?-B:-B/2)-(m.precedance==="y"||m.x===m.y?Q:0);if(U>0&&(m.y!=="top"||L>0))w.top-=Q;else if(L>0&&(m.y!=="bottom"||U>0))w.top-=(m.y==="center"?-1:1)*Q+2*E.y;if(w.top<0&&-w.top>L)w.top=K;return w.top-K}};f=f===R||!!f||n;y=!y?n:{elem:y,height:y[(y[0]===M?"h":"outerH")+"eight"](), -width:y[(y[0]===M?"w":"outerW")+"idth"](),scrollLeft:y.scrollLeft(),scrollTop:y.scrollTop()};if(l==="mouse"){x={x:"left",y:"top"};c=c&&(c.type==="resize"||c.type==="scroll")?d.cache.event:E.mouse||!c||!c.pageX?b.extend({},b.fn.qtip.mouse):c;w={top:c.pageY,left:c.pageX}}else{if(l==="event")l=c&&c.target&&c.type!=="scroll"&&c.type!=="resize"?d.cache.target=b(c.target):d.cache.target;l=b(l).eq(0);if(l.length===0)return d;else if(l[0]===document||l[0]===M){C=l.width();G=l.height();if(l[0]===M)w={top:P? -0:y.scrollTop,left:P?0:y.scrollLeft}}else if(l.is("area")&&b.fn.qtip.plugins.imagemap){w=b.fn.qtip.plugins.imagemap(l,x);C=w.width;G=w.height;w=w.offset}else{C=l.outerWidth();G=l.outerHeight();w=p(l[0],k.container[0])}w.left+=x.x==="right"?C:x.x==="center"?C/2:0;w.top+=x.y==="bottom"?G:x.y==="center"?G/2:0}w.left+=E.x+(m.x==="right"?-I:m.x==="center"?-I/2:0);w.top+=E.y+(m.y==="bottom"?-B:m.y==="center"?-B/2:0);w.adjusted=k.viewport.jquery&&l[0]!==M&&l[0]!==v?{left:S.left(w.left),top:S.top(w.top)}: -{left:0,top:0};h.attr("class",function(){return b(this).attr("class").replace(/ui-tooltip-pos-\w+/i,"")}).addClass(J+"-pos-"+m.abbreviation());N.originalEvent=b.extend({},c);h.trigger(N,[d,w,y.elem]);if(N.isDefaultPrevented())return d;delete w.adjusted;if(!f||!isNaN(w.left,w.top))h.css(w);else if(i()&&b.isFunction(k.effect)){k.effect.call(h,d,w);h.queue(function(K){b(this).css({opacity:"",height:""});b.browser.msie&&this.style&&this.style.removeAttribute("filter");K()})}return d},redraw:function(){if(!d.rendered|| -!(b.browser.msie&&b.browser.version<8))return n;var c=J+"-fluid",f;h.css({width:"auto",height:"auto"}).addClass(c);f={height:h.outerHeight(),width:h.outerWidth()};b.each(["width","height"],function(l,k){var m=parseInt(h.css("max-"+k),10)||0,x=parseInt(h.css("min-"+k),10)||0;f[k]=m+x?Math.min(Math.max(f[k],x),m):f[k]});h.css(f).removeClass(c)},disable:function(c){var f=O;if("boolean"!==typeof c)c=!(h.hasClass(f)||d.cache.disabled);if(d.rendered){h.toggleClass(f,c);h.attr("aria-disabled",c)}else d.cache.disabled= -!!c;return d},destroy:function(){var c=e.data("oldtitle");if(d.rendered){h.remove();b.each(d.plugins,function(){this.initialize==="render"&&this.destroy()})}clearTimeout(d.timers.show);clearTimeout(d.timers.hide);t(1,1,1,1);e.removeData("qtip");c&&e.attr("title",c);e.removeAttr("aria-describedby");return e}})}function aa(e,a){var o,g,p=b(this),i=b(document.body),z=this===document?i:p;g=p.metadata?p.metadata(a.metadata):F;var s=b.extend(u,{},b.fn.qtip.defaults,a,W((g&&a.metadata.type==="html5"?g[a.metadata.name]: -F)||g));p.removeData("metadata");g=s.position;if("boolean"===typeof s.content.text)if(s.content.attr!==n&&p.attr(s.content.attr))s.content.text=p.attr(s.content.attr);else return n;if(g.container===n)g.container=i;if(g.target===n)g.target=z;if(s.show.target===n)s.show.target=z;if(s.hide.target===n)s.hide.target=z;if(s.position.viewport===u)s.position.viewport=g.container;g.at=new b.fn.qtip.plugins.Corner(g.at);g.my=new b.fn.qtip.plugins.Corner(g.my);if(p.data("qtip"))if(s.overwrite)p.qtip("destroy"); -else if(s.overwrite===n)return n;p.attr("title")&&p.data("oldtitle",p.attr("title")).removeAttr("title");o=new Z(p,s,e);p.data("qtip",o);p.bind("remove.qtip",function(){o.destroy()});return o}function ba(e){var a=this,o=e.elements.tooltip,g=e.options.content.ajax;a.checks={"^content.ajax":function(p,i){if(i==="once")a.once();else g&&g.url&&a.load()}};b.extend(a,{init:function(){if(g&&g.url){a.load();o.one("tooltipshow",a.once)}},once:function(){g.once?a.destroy():o.bind("tooltipshow.qtip-ajax",a.load)}, -load:function(){b.ajax(b.extend({success:function(p){e.set("content.text",p)},error:function(p,i,z){e.set("content.text",i+": "+z)},context:e},g));return a},destroy:function(){o.unbind(".qtip-ajax")}});a.init()}function Y(e,a,o){var g=Math.ceil(a/2),p=Math.ceil(o/2);a={bottomright:[[0,0],[a,o],[a,0]],bottomleft:[[0,0],[a,0],[0,o]],topright:[[0,o],[a,0],[a,o]],topleft:[[0,0],[0,o],[a,o]],topcenter:[[0,o],[g,0],[a,o]],bottomcenter:[[0,0],[a,0],[g,o]],rightcenter:[[0,0],[a,p],[0,o]],leftcenter:[[a,0], -[a,o],[0,p]]};a.lefttop=a.bottomright;a.righttop=a.bottomleft;a.leftbottom=a.topright;a.rightbottom=a.topleft;return a[e.string()]}function ca(e){function a(j,t,d){if(i.tip){j=b.extend({},g.corner);t=d.adjusted;var v;if(g.corner.fixed!==u){if(t.left)j.x=j.x==="center"?t.left>0?"left":"right":j.x==="left"?"right":"left";if(t.top)j.y=j.y==="center"?t.top>0?"top":"bottom":j.y==="top"?"bottom":"top";if(j.string()!==s.corner&&(s.top!==t.top||s.left!==t.left))v=g.update(j)}v||(v=g.position(j,0));if(v.right!== -R)v.left=v.right;if(v.bottom!==R)v.top=v.bottom;v.option=Math.max(0,p.offset);d.left-=v.left.charAt?v.option:(v.right?-1:1)*v.left;d.top-=v.top.charAt?v.option:(v.bottom?-1:1)*v.top;s.left=t.left;s.top=t.top;s.corner=j.string()}}function o(j,t,d){t=!t?j[j.precedance]:t;t="border-"+t+"-width";j=parseInt((i.titlebar&&j.y==="top"?i.titlebar:i.content).css(t),10);return(d?j||parseInt(z.css(t),10):j)||0}var g=this,p=e.options.style.tip,i=e.elements,z=i.tooltip,s={top:0,left:0,corner:""},q={width:p.width, -height:p.height},A={},D=p.border||0,H=p.method||n;g.corner=F;g.mimic=F;g.checks={"^position.my|style.tip.(corner|mimic|method|border)$":function(){g.init()||g.destroy();e.reposition()},"^style.tip.(height|width)$":function(){q={width:p.width,height:p.height};g.create();g.update();e.reposition()},"^content.title.text|style.(classes|widget)$":function(){i.tip&&g.update()}};b.extend(g,{init:function(){var j=g.detectCorner();if(j){if(H!=="polygon")H=b("")[0].getContext?"canvas":b.browser.msie? -"vml":"polygon";g.create();g.update();z.unbind(".qtip-tip").bind("tooltipmove.qtip-tip",a)}return j},detectCorner:function(){var j=p.corner,t=e.options.position,d=t.at;t=t.my.string?t.my.string():t.my;if(j===n||t===n&&d===n)return n;else if(j===u)g.corner=new b.fn.qtip.plugins.Corner(t);else if(!j.string){g.corner=new b.fn.qtip.plugins.Corner(j);g.corner.fixed=u}return g.corner.string()!=="centercenter"},detectColours:function(){var j=i.tip.css({backgroundColor:"",border:""}),t=g.corner,d=t[t.precedance], -v="border-"+d+"-color";d="border"+d.charAt(0)+d.substr(1)+"Color";var r=/rgba?\(0, 0, 0(, 0)?\)|transparent/i;t=i.titlebar&&(t.y==="top"||t.y==="center"&&j.position().top+q.height/2+p.offset",{"class":"ui-tooltip-tip"}).css(q).prependTo(z);switch(H){case "canvas":b('').appendTo(i.tip)[0].getContext("2d").save();break;case "vml":j='';i.tip.html(D?j+=j:j);break;case "polygon":i.tip.append('
').append(D?'
':"");break}},update:function(j){var t=i.tip.children(),d=q.width,v=q.height,r=p.mimic,h,c,f,l,k;if(!j)j=g.corner;if(r===n)r=j;else{r=new b.fn.qtip.plugins.Corner(r);r.precedance=j.precedance;if(r.x==="inherit")r.x=j.x;else if(r.y==="inherit")r.y=j.y;else if(r.x===r.y)r[j.precedance]=j[j.precedance]}D=p.border===u?o(j,F, -u):p.border;h=D>0?0:1;l=r.string().indexOf("center")>-1;k=Math[/b|r/.test(r[r.precedance==="y"?"x":"y"])?"ceil":"floor"];j=g.position(j,1);g.detectColours();switch(H){case "canvas":c=t[0].getContext("2d");c.restore&&c.restore();c.clearRect(0,0,3E3,3E3);for(f=Y(r,d,v);h<2;h++){if(h){c.save();c.translate(k((r.x==="left"?1:r.x==="right"?-1:0)*(D+1)*(r.precedance==="y"?0.5:1)),k((r.y==="top"?1:r.y==="bottom"?-1:0)*(D+1)*(r.precedance==="x"?0.5:1)))}c.beginPath();c.moveTo(f[0][0],f[0][1]);c.lineTo(f[1][0], -f[1][1]);c.lineTo(f[2][0],f[2][1]);c.closePath();c.fillStyle=A[h?"fill":"border"];c.fill()}break;case "vml":f=Y(r,d,v);f="m"+f[0][0]+","+f[0][1]+" l"+f[1][0]+","+f[1][1]+" "+f[2][0]+","+f[2][1]+" xe";t.each(function(m){b(this).attr({path:f,fillcolor:A[m||!D?"fill":"border"]}).css("antialias",""+l)});break;case "polygon":t.removeAttr("style").css({position:"absolute",left:0,top:0}).each(function(m){var x={x:r.precedance==="x"?r.x==="left"?"right":"left":r.x,y:r.precedance==="y"?r.y==="top"?"bottom": -"top":r.y},E=r.x==="center"?["left","right",x.y,v,d]:["top","bottom",x.x,d,v];m=A[!m&&D?"border":"fill"];r.x==="center"||r.y==="center"?b(this).css("border-"+E[2],E[3]+"px solid "+m).css("border-"+E[0],k(E[4]/2)+"px dashed transparent").css("border-"+E[1],k(E[4]/2)+"px dashed transparent"):b(this).css("border-width",k(v/2)+"px "+k(d/2)+"px").css("border-"+x.x,k(d/2)+"px solid "+m).css("border-"+x.y,k(v/2)+"px solid "+m)});break}if(H!=="canvas"&&D){h=[D*2.75,D];h=r.precedance==="y"?[r.x==="left"?h[1]: -r.x==="right"?-h[1]:0,r.y==="bottom"?-h[0]:h[0]]:[r.x==="left"?h[0]:-h[0],r.y==="bottom"?-h[1]:r.y==="top"?h[1]:0];t.eq(1).css({left:h[0],top:h[1]})}return j},position:function(j,t){var d=i.tip,v={},r=Math.max(0,p.offset),h,c;if(p.corner===n||!d)return n;j=j||g.corner;h=j.precedance;c=q[h==="x"?"width":"height"];b.each(h==="y"?[j.x,j.y]:[j.y,j.x],function(f,l){var k;if(l==="center"){k=h==="y"?"left":"top";v[k]="50%";v["margin-"+k]=-Math.floor(c/2)+r}else{o(j,l,u);if(f||D===R)k=o(j,l);else{k=b.browser.mozilla; -var m=j.y+(k?"":"-")+j.x;k=(k?"-moz-":b.browser.webkit?"-webkit-":"")+(k?"border-radius-"+m:"border-"+m+"-radius");k=parseInt((i.titlebar&&j.y==="top"?i.titlebar:i.content).css(k),10)||parseInt(z.css(k),10)||0;k=r+k}v[l]=k}});v[j[h]]-=c;t&&d.css({top:"",bottom:"",left:"",right:"",margin:""}).css(v);return v},destroy:function(){i.tip&&i.tip.remove();z.unbind(".qtip-tip")}});g.init()}function da(e){var a=this,o=e.options.show.modal,g=e.elements,p=g.tooltip;a.checks={"^show.modal.(on|blur)$":function(){a.init(); -g.overlay.toggle(p.is(":visible"))}};b.extend(a,{init:function(){if(o.on){p.unbind(".qtipmodal").bind("tooltipshow.qtipmodal tooltiphide.qtipmodal",function(i,z,s){i=i.type.replace("tooltip","");b.isFunction(o[i])?o[i].call(g.overlay,s,z):a[i](s)});a.create();o.blur===u&&g.overlay.unbind(".qtipmodal"+e.id).bind("click.qtipmodal"+e.id,function(){e.hide.call(e)})}},create:function(){var i=b("#qtip-overlay");if(i.length)g.overlay=i;else{g.overlay=b("
",{id:"#qtip-overlay".substr(1),css:{position:"absolute", -top:0,left:0,display:"none",zIndex:parseInt(p.css("z-index"),10)-1}}).appendTo(document.body);b(M).bind("resize.qtipmodal",function(){g.overlay.css({height:Math.max(b(M).height(),b(document).height()),width:Math.max(b(M).width(),b(document).width())})}).trigger("resize")}},toggle:function(i){var z=g.overlay,s=e.options.show.modal.effect,q=i?"show":"hide";z.stop(u,n);if(b.isFunction(s))s.call(z,i);else s===n?z[q]():z.fadeTo(90,i?0.7:0,function(){i||b(this).hide()})},show:function(){a.toggle(u)},hide:function(){a.toggle(n)}, -destroy:function(){var i=u;b("*").each(function(){var z=b(this).data("qtip");if(z&&z.id!==e.id&&z.options.show.modal)return i=n});if(i){g.overlay.remove();b(M).unbind(".qtipmodal")}else g.overlay.unbind(".qtipmodal"+e.id);p.unbind("tooltipshow.qtipmodal tooltiphide.qtipmodal")}});a.init()}function ea(e){var a=this,o=e.elements,g=o.tooltip,p=".bgiframe-"+e.id,i="tooltipmove"+p+" tooltipshow"+p;b.extend(a,{init:function(){o.bgiframe=b(''); -o.bgiframe.appendTo(g);g.bind(i,a.adjust)},adjust:function(){var z=e.get("dimensions"),s=e.plugins.tip,q=e.elements.tip,A;A=parseInt(g.css("border-left-width"),10)||0;A={left:-A,top:-A};if(s&&q){s=s.corner.precedance==="x"?["width","left"]:["height","top"];A[s[1]]-=q[s[0]]()}o.bgiframe.css(A).css(z)},destroy:function(){a.iframe.remove();g.unbind(i)}});a.init()}var u=true,n=false,F=null,J="ui-tooltip",X="ui-widget",O="ui-state-disabled",T=".qtip."+J,V=J+"-focus",$="-31000px";b.fn.qtip=function(e,a, -o){var g=String(e).toLowerCase(),p=F,i=g==="disable"?[u]:b.makeArray(arguments).slice(1,10),z=i[i.length-1],s;if(!arguments.length&&this.data("qtip")||g==="api")return(s=this.data("qtip"))?s:R;else if("string"===typeof e){this.each(function(){var q=b(this).data("qtip");if(!q)return u;if(/option|set/.test(g)&&a)if(o!==R)q.set(a,o);else p=q.get(a);else{if(!q.rendered&&(g==="show"||g==="toggle")){if(z&&z.timeStamp)q.cache.event=z;q.render(1)}else if(g==="enable"){g="disable";i=[n]}q[g]&&q[g].apply(q[g], -i)}});return p!==F?p:this}else if("object"===typeof e||!arguments.length){s=W(b.extend(u,{},e));return b.fn.qtip.bind.call(this,s,z)}};b.fn.qtip.bind=function(e,a){return this.each(function(){function o(A){function D(){q.render(typeof A==="object"||g.show.ready);p.show.unbind(i.show);p.hide.unbind(i.hide)}if(q.cache.disabled)return n;q.cache.event=b.extend({},A);if(g.show.delay>0){clearTimeout(q.timers.show);q.timers.show=setTimeout(D,g.show.delay);i.show!==i.hide&&p.hide.bind(i.hide,function(){clearTimeout(q.timers.show)})}else D()} -var g,p,i,z=e.id=!e.id||e.id===n||e.id.length<1||b("#"+J+"-"+e.id).length?b.fn.qtip.nextid++:e.id,s=".qtip-"+z+"-create",q=aa.call(this,z,e);if(q===n)return u;g=q.options;b.each(b.fn.qtip.plugins,function(){this.initialize==="initialize"&&this(q)});p={show:g.show.target,hide:g.hide.target};i={show:String(g.show.event).replace(" ",s+" ")+s,hide:String(g.hide.event).replace(" ",s+" ")+s};p.show.bind(i.show,o);if(g.show.ready||g.prerender)o(a)})};b.each({attr:function(e){var a=b(this),o=a.data("qtip"); -return arguments.length===1&&e==="title"&&o&&o.rendered===u?a.data("oldtitle"):F},remove:b.ui?F:function(e,a){b(this).each(function(){if(!a)if(!e||b.filter(e,[this]).length)b("*",this).add(this).each(function(){b(this).triggerHandler("remove")})})}},function(e,a){if(!a)return u;b.fn["Old"+e]=b.fn[e];b.fn[e]=function(){return a.apply(this,arguments)||b.fn["Old"+e].apply(this,arguments)}});b(document).ready(function(){var e=document,a=e.body;b(e).bind("mousemove.qtip",function(o){b.fn.qtip.mouse={pageX:o.pageX, -pageY:o.pageY}});e.activeElement===R&&e.addEventListener("focus",function(o){if(o&&o.target)e.activeElement=o.target===e?a:o.target},true)});b.fn.qtip.version="2.0.0pre";b.fn.qtip.nextid=0;b.fn.qtip.inactiveEvents="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" ");b.fn.qtip.zindex=15E3;b.fn.qtip.plugins={Corner:function(e){e=String(e).replace(/([A-Z])/," $1").replace(/middle/gi,"center").toLowerCase();this.x=(e.match(/left|right/i)||e.match(/center/)||["inherit"])[0].toLowerCase(); -this.y=(e.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase();this.precedance=e.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 a=this.x.substr(0,1),o=this.y.substr(0,1);return a===o?a:a==="c"||a!=="c"&&o!=="c"?o+a:a+o}},iOS:parseFloat((/CPU.+OS ([0-9_]{3}).*AppleWebkit.*Mobile/i.exec(navigator.userAgent)||[0,"4_2"])[1].replace("_","."))<4.1};b.fn.qtip.defaults={prerender:n,id:n,overwrite:u, -metadata:{type:"class"},content:{text:u,attr:"title",title:{text:n,button:n}},position:{my:"top left",at:"bottom right",target:n,container:n,viewport:n,adjust:{x:0,y:0,mouse:u,resize:u},effect:u},show:{target:n,event:"mouseenter",effect:u,delay:90,solo:n,ready:n},hide:{target:n,event:"mouseleave",effect:u,delay:0,fixed:n,inactive:n},style:{classes:"",widget:n},events:{render:F,move:F,show:F,hide:F,toggle:F,focus:F,blur:F}};b.fn.qtip.plugins.ajax=function(e){var a=e.plugins.ajax;return"object"===typeof a? -a:e.plugins.ajax=new ba(e)};b.fn.qtip.plugins.ajax.initialize="render";b.fn.qtip.plugins.ajax.sanitize=function(e){var a=e.content;if(a&&"ajax"in a){a=a.ajax;if(typeof a!=="object")a=e.content.ajax={url:a};if("boolean"!==typeof a.once&&a.once)a.once=!!a.once}};b.extend(u,b.fn.qtip.defaults,{content:{ajax:{once:u}}});b.fn.qtip.plugins.tip=function(e){var a=e.plugins.tip;return"object"===typeof a?a:e.plugins.tip=new ca(e)};b.fn.qtip.plugins.tip.initialize="render";b.fn.qtip.plugins.tip.sanitize=function(e){var a= -e.style;if(a&&"tip"in a){a=e.style.tip;if(typeof a!=="object")e.style.tip={corner:a};if(!/string|boolean/i.test(typeof a.corner))a.corner=u;if(typeof a.method!=="string")a.method=u;if(!/canvas|polygon/i.test(a.method))a.method=u;typeof a.width!=="number"&&delete a.width;typeof a.height!=="number"&&delete a.height;typeof a.border!=="number"&&a.border!==u&&delete a.border;typeof a.offset!=="number"&&delete a.offset}};b.extend(u,b.fn.qtip.defaults,{style:{tip:{corner:u,mimic:n,method:u,width:8,height:8, -border:u,offset:0}}});b.fn.qtip.plugins.imagemap=function(e,a){function o(H,j){for(var t=0,d=1,v=1,r=0,h=0,c=H.width,f=H.height;c>0&&f>0&&d>0&&v>0;){c=Math.floor(c/2);f=Math.floor(f/2);if(a.x==="left")d=c;else if(a.x==="right")d=H.width-c;else d+=Math.floor(c/2);if(a.y==="top")v=f;else if(a.y==="bottom")v=H.height-f;else v+=Math.floor(f/2);for(t=j.length;t--;){if(j.length<2)break;r=j[t][0]-H.offset.left;h=j[t][1]-H.offset.top;if(a.x==="left"&&r>=d||a.x==="right"&&r<=d||a.x==="center"&&(rH.width- -d)||a.y==="top"&&h>=v||a.y==="bottom"&&h<=v||a.y==="center"&&(hH.height-v))j.splice(t,1)}}return{left:j[0][0],top:j[0][1]}}var g=e.attr("shape").toLowerCase(),p=e.attr("coords").split(","),i=[],z=b('img[usemap="#'+e.parent("map").attr("name")+'"]'),s=z.offset(),q={width:0,height:0,offset:{top:1E10,right:0,bottom:0,left:1E10}},A=0,D=0;s.left+=Math.ceil((z.outerWidth()-z.width())/2);s.top+=Math.ceil((z.outerHeight()-z.height())/2);if(g==="poly")for(A=p.length;A--;){D=[parseInt(p[--A],10),parseInt(p[A+ -1],10)];if(D[0]>q.offset.right)q.offset.right=D[0];if(D[0]q.offset.bottom)q.offset.bottom=D[1];if(D[1]",{"class":"ui-state-default "+ +(a.style.widget?"":J+"-icon"),title:"Close tooltip","aria-label":"Close tooltip"}).prepend(b("",{"class":"ui-icon ui-icon-close",html:"×"}));c.button.appendTo(c.titlebar).attr("role","button").hover(function(l){b(this).toggleClass("ui-state-hover",l.type==="mouseenter")}).click(function(l){h.hasClass(O)||e.hide(l);return m}).bind("mousedown keydown mouseup keyup mouseout",function(l){b(this).toggleClass("ui-state-active ui-state-focus",l.type.substr(-4)==="down")});e.redraw()}function A(){var c= +e.elements,f=r+"-title";c.titlebar&&s();c.titlebar=b("
",{"class":J+"-titlebar "+(a.style.widget?"ui-widget-header":"")}).append(c.title=b("
",{id:f,"class":J+"-title","aria-atomic":u})).insertBefore(c.content);if(a.content.title.button)q();else e.rendered===u&&e.redraw()}function D(c){var f=e.elements.title;if(!e.rendered||!c)return m;if(b.isFunction(c))c=c.call(d,e)||"";c.jquery&&c.length>0?f.empty().append(c.css({display:"block"})):f.html(c);e.redraw();e.rendered===u&&e.reposition(e.cache.event)} +function H(c){var f=e.elements.content;if(!e.rendered||!c)return m;if(b.isFunction(c))c=c.call(d,e)||"";c.jquery&&c.length>0?f.empty().append(c.css({display:"block"})):f.html(c);h.queue("fx",function(l){function k(x){n=n.not(x);if(n.length===0){e.redraw();e.rendered===u&&e.reposition(e.cache.event);l()}}var n=b("img:not([height]):not([width])",f);n.each(function(x,E){var I=["abort","error","load","unload",""].join(".qtip-image ");b(this).bind(I,function(){clearTimeout(e.timers.img[x]);k(this)});(function B(){if(E.height)return k(E); +e.timers.img[x]=setTimeout(B,20)})();return u});n.length===0&&k(n)});return e}function j(c,f,l,k){function n(y){if(h.hasClass(O))return m;G.show.trigger("qtip-"+o+"-inactive");clearTimeout(e.timers.show);clearTimeout(e.timers.hide);var w=function(){e.show(y)};if(a.show.delay>0)e.timers.show=setTimeout(w,a.show.delay);else w()}function x(y){if(h.hasClass(O))return m;var w=b(y.relatedTarget||y.target).parents(T)[0]===h[0],S=b(y.relatedTarget||y.target)[0]===G.show[0];clearTimeout(e.timers.show);clearTimeout(e.timers.hide); +if(a.hide.fixed&&(C.target==="mouse"&&w||/mouse(out|leave|move)/.test(y.type)&&(w||S))){y.stopPropagation();y.preventDefault();return m}h.stop(1,1);if(a.hide.delay>0)e.timers.hide=setTimeout(function(){e.hide(y)},a.hide.delay);else e.hide(y)}function E(y){if(h.hasClass(O))return m;clearTimeout(e.timers.inactive);e.timers.inactive=setTimeout(function(){e.hide(y)},a.hide.inactive)}function I(y){if(!e.cache.processing){e.cache.processing=1;i()&&e.reposition(y);e.cache.processing=0}}var B=".qtip-"+o, +C=a.position,G={show:a.show.target,hide:a.hide.target,container:C.container[0]===v?document:C.container},N={show:String(a.show.event).split(" "),hide:String(a.hide.event).split(" ")},P=b.browser.msie&&parseInt(b.browser.version,10)===6;if(l){if(a.hide.fixed){G.hide=G.hide.add(h);h.bind("mouseover"+B,function(){h.hasClass(O)||clearTimeout(e.timers.hide)})}h.bind("mouseenter"+B+" mouseleave"+B,function(y){e[y.type==="mouseenter"?"focus":"blur"](y)})}if(f){if("number"===typeof a.hide.inactive){G.show.bind("qtip-"+ +o+"-inactive",E);b.each(b.fn.qtip.inactiveEvents,function(y,w){G.hide.add(e.elements.tooltip).bind(w+B+"-inactive",E)})}b.each(N.hide,function(y,w){var S=b.inArray(w,N.show);if(S>-1&&b(G.hide).add(G.show).length===b(G.hide).length||w==="unfocus"){G.show.bind(w+B,function(K){i()?x(K):n(K)});delete N.show[S]}else G.hide.bind(w+B,x)})}c&&b.each(N.show,function(y,w){G.show.bind(w+B,n)});if(k){if(C.adjust.resize||C.viewport)b(b.event.special.resize?C.viewport:M).bind("resize"+B,I);if(C.viewport||P&&h.css("position")=== +"fixed")b(C.viewport).bind("scroll"+B,I);/unfocus/i.test(a.hide.event)&&b(document).bind("mousedown"+B,function(y){b(y.target).parents(T).length===0&&b(y.target).add(d).length>1&&i()&&!h.hasClass(O)&&e.hide(y)});C.target==="mouse"&&b(document).bind("mousemove"+B,function(y){if(C.adjust.mouse&&!h.hasClass(O)&&i())e.reposition(y||b.fn.qtip.mouse)})}}function t(c,f,l,k){k=parseInt(k,10)!==0;var n=".qtip-"+o;f={show:c?a.show.target:F,hide:f?a.hide.target:F,tooltip:l?e.elements.tooltip:F,content:l?e.elements.content: +F,container:k?a.position.container[0]===v?document:a.position.container:F,window:k?M:F};if(e.rendered)b([]).pushStack(b.grep([f.show,f.hide,f.tooltip,f.container,f.content,f.window],function(){return this!==null})).unbind(n);else c&&f.show.unbind(n+"-create")}var e=this,v=document.body,r=J+"-"+o,h;e.id=o;e.rendered=m;e.elements={target:d};e.timers={img:[]};e.options=a;e.plugins={};e.cache={event:{},target:F,disabled:m,lastFocus:v};b.extend(e,{render:function(c){if(e.rendered)return m;var f=e.elements, +l=a.content.text,k=a.content.title.text,n=b.Event("tooltiprender");d.attr({"aria-owns":r,"aria-controls":r,"aria-haspopup":u,"aria-describedby":r});h=f.tooltip=b("
").attr({id:r,"class":J+" qtip ui-helper-reset "+a.style.classes,role:"alert","aria-live":"polite","aria-atomic":m,"aria-describedby":r+"-content","aria-hidden":u}).toggleClass(O,e.cache.disabled).data("qtip",e).appendTo(a.position.container).append(f.content=b("
",{"class":J+"-content",id:r+"-content","aria-atomic":u}));e.rendered= +u;if(k){A();D(k)}H(l);b.each(b.fn.qtip.plugins,function(){this.initialize==="render"&&this(e)});j(1,1,1,1);b.each(a.events,function(x,E){if(E)h.bind(x==="toggle"?"tooltipshow tooltiphide":"tooltip"+x,E)});h.queue("fx",function(x){n.originalEvent=e.cache.event;h.trigger(n,[e]);if(a.show.ready||c){h.hide();e.show(e.cache.event)}x()});return e},get:function(c){switch(c.toLowerCase()){case "dimensions":c={height:h.outerHeight(),width:h.outerWidth()};break;case "offset":c=p(h[0],a.position.container[0]); +break;default:c=g(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 l=g(c),k=e.elements,n,x,E,I={builtin:{"^id$":function(){var B=f===u?b.fn.qtip.nextid:f,C=J+"-"+B;if(B!==m&&B.length>0&&!b("#"+C).length){h[0].id=C;k.content[0].id=C+"-content";k.title[0].id=C+"-title"}},"^content.text$":function(){H(f)},"^content.title.text$":function(){if(!f)return s();!e.elements.title&&f&&A();D(f)},"^content.title.button$":function(){var B= +e.elements.button,C=e.elements.title;if(e.rendered)if(f){C||A();q()}else B.remove()},"^position.(my|at)$":function(){var B=/my$/i.test(c)?"my":"at";if("string"===typeof f)a.position[B]=new b.fn.qtip.plugins.Corner(f)},"^position.container$":function(){e.rendered===u&&h.appendTo(f)},"^(show|hide).(event|target|fixed|delay|inactive)$":function(B,C,G,N){var P=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(P[0])B[C]=N;t.apply(e,P[1]);if(P[0])B[C]=G;j.apply(e, +P[1])},"^show.ready$":function(){e.rendered===m&&e.show()},"^style.classes$":function(){h.attr("class",J+" qtip ui-helper-reset "+f)},"^style.widget|content.title":z,"^events.(render|show|move|hide|focus|blur)$":function(B,C,G){k.tooltip[(b.isFunction(f)?"":"un")+"bind"]("tooltip"+C,G)},"^position.(my|at|adjust|target|container)|style|content":function(){e.reposition()}}};b.each(e.plugins,function(B){if("object"===typeof this.checks)I[B]=this.checks});n=l[0][l[1]];l[0][l[1]]=f.nodeType?b(f):f;W(a); +for(x in I)for(E in I[x])RegExp(E,"i").test(c)&&I[x][E].call(e,l[0],l[1],f,n);return e},toggle:function(c,f){function l(){if(c)b.browser.msie&&h[0].style.removeAttribute("filter");else h.css({display:"",visibility:"hidden",width:"",opacity:"",left:"",top:""})}if(e.rendered===m)return m;var k=c?"show":"hide",n=a[k],x=i();if((typeof c).search("boolean|number"))c=!x;if(!x&&!c||h.is(":animated"))return e;if(f){if(/over|enter/.test(f.type)&&/out|leave/.test(e.cache.event.type)&&f.target===a.show.target[0]&& +h.has(f.relatedTarget).length)return e;e.cache.event=b.extend({},f)}x=b.Event("tooltip"+k);x.originalEvent=f?e.cache.event:F;h.trigger(x,[e,90]);if(x.isDefaultPrevented())return e;h.attr("aria-hidden",!!!c);if(c){h.hide().css({visibility:""});e.focus(f);e.reposition(f,0);n.solo&&b(T).not(h).qtip("hide")}else{clearTimeout(e.timers.show);e.blur(f)}h.stop(1,1);if(b.isFunction(n.effect)){n.effect.call(h,e);h.queue("fx",function(E){l.call(this,E);E()})}else if(n.effect===m){h[k]();l.call(h)}else h.fadeTo(90, +c?1:0,l);c&&n.target.trigger("qtip-"+o+"-inactive");return b.fn.qtip.lastShown=e},show:function(c){e.toggle(u,c)},hide:function(c){e.toggle(m,c)},focus:function(c){if(e.rendered===m)return m;var f=b(T),l=parseInt(h[0].style.zIndex,10),k=b.fn.qtip.zindex+f.length;c=b.extend({},c);if(!h.hasClass(V)){if(l!==k){f.each(function(){if(this.style.zIndex>l)this.style.zIndex-=1});b(T+"."+V).qtip("blur",c)}e.cache.lastFocus=document.activeElement;f=b.Event("tooltipfocus");f.originalEvent=c;h.trigger(f,[e,k]); +if(!f.isDefaultPrevented())h.addClass(V)[0].style.zIndex=k}return e},blur:function(c){c=b.extend({},c);var f;h.removeClass(V);f=b.Event("tooltipblur");f.originalEvent=c;h.trigger(f,[e])},reposition:function(c,f){if(e.rendered===m)return m;var l=a.position.target,k=a.position,n=k.my,x=k.at,E=k.adjust,I=h.outerWidth(),B=h.outerHeight(),C=0,G=0,N=b.Event("tooltipmove"),P=h.css("position")==="fixed",y=k.viewport.jquery?k.viewport:b(M),w={left:0,top:0},S={left:function(K){var L=y.scrollLeft,Q=x.x==="left"? +C:x.x==="right"?-C:-C/2,U=L-K;L=K+I-y.width-L;Q=(n.x==="left"?I:n.x==="right"?-I:-I/2)-(n.precedance==="x"||n.x===n.y?Q:0);if(U>0&&(n.x!=="left"||L>0))w.left-=Q;else if(L>0&&(n.x!=="right"||U>0))w.left-=(n.x==="center"?-1:1)*Q+2*E.x;if(w.left<0&&-w.left>L)w.left=K;return w.left-K},top:function(K){var L=y.scrollTop,Q=x.y==="top"?G:x.y==="bottom"?-G:-G/2,U=L-K;L=K+B-y.height-L;Q=(n.y==="top"?B:n.y==="bottom"?-B:-B/2)-(n.precedance==="y"||n.x===n.y?Q:0);if(U>0&&(n.y!=="top"||L>0))w.top-=Q;else if(L> +0&&(n.y!=="bottom"||U>0))w.top-=(n.y==="center"?-1:1)*Q+2*E.y;if(w.top<0&&-w.top>L)w.top=K;return w.top-K}};f=f===R||!!f||m;y=!y?m:{elem:y,height:y[(y[0]===M?"h":"outerH")+"eight"](),width:y[(y[0]===M?"w":"outerW")+"idth"](),scrollLeft:y.scrollLeft(),scrollTop:y.scrollTop()};if(l==="mouse"){x={x:"left",y:"top"};c=c&&(c.type==="resize"||c.type==="scroll")?e.cache.event:E.mouse||!c||!c.pageX?b.extend({},b.fn.qtip.mouse):c;w={top:c.pageY,left:c.pageX}}else{if(l==="event")l=c&&c.target&&c.type!=="scroll"&& +c.type!=="resize"?e.cache.target=b(c.target):e.cache.target;l=b(l).eq(0);if(l.length===0)return e;else if(l[0]===document||l[0]===M){C=l.width();G=l.height();if(l[0]===M)w={top:P?0:y.scrollTop,left:P?0:y.scrollLeft}}else if(l.is("area")&&b.fn.qtip.plugins.imagemap){w=b.fn.qtip.plugins.imagemap(l,x);C=w.width;G=w.height;w=w.offset}else{C=l.outerWidth();G=l.outerHeight();w=p(l[0],k.container[0])}w.left+=x.x==="right"?C:x.x==="center"?C/2:0;w.top+=x.y==="bottom"?G:x.y==="center"?G/2:0}w.left+=E.x+(n.x=== +"right"?-I:n.x==="center"?-I/2:0);w.top+=E.y+(n.y==="bottom"?-B:n.y==="center"?-B/2:0);w.adjusted=k.viewport.jquery&&l[0]!==M&&l[0]!==v?{left:S.left(w.left),top:S.top(w.top)}:{left:0,top:0};h.attr("class",function(){return b(this).attr("class").replace(/ui-tooltip-pos-\w+/i,"")}).addClass(J+"-pos-"+n.abbreviation());N.originalEvent=b.extend({},c);h.trigger(N,[e,w,y.elem]);if(N.isDefaultPrevented())return e;delete w.adjusted;if(!f||!isNaN(w.left,w.top))h.css(w);else if(i()&&b.isFunction(k.effect)){k.effect.call(h, +e,w);h.queue(function(K){b(this).css({opacity:"",height:""});b.browser.msie&&this.style&&this.style.removeAttribute("filter");K()})}return e},redraw:function(){if(!e.rendered||!(b.browser.msie&&b.browser.version<8))return m;var c=J+"-fluid",f;h.css({width:"auto",height:"auto"}).addClass(c);f={height:h.outerHeight(),width:h.outerWidth()};b.each(["width","height"],function(l,k){var n=parseInt(h.css("max-"+k),10)||0,x=parseInt(h.css("min-"+k),10)||0;f[k]=n+x?Math.min(Math.max(f[k],x),n):f[k]});h.css(f).removeClass(c)}, +disable:function(c){var f=O;if("boolean"!==typeof c)c=!(h.hasClass(f)||e.cache.disabled);if(e.rendered){h.toggleClass(f,c);h.attr("aria-disabled",c)}else e.cache.disabled=!!c;return e},destroy:function(){var c=d.data("oldtitle");if(e.rendered){h.remove();b.each(e.plugins,function(){this.initialize==="render"&&this.destroy()})}clearTimeout(e.timers.show);clearTimeout(e.timers.hide);t(1,1,1,1);d.removeData("qtip");c&&d.attr("title",c);d.removeAttr("aria-describedby");return d}})}function aa(d,a){var o, +g,p=b(this),i=b(document.body),z=this===document?i:p;g=p.metadata?p.metadata(a.metadata):F;var s=b.extend(u,{},b.fn.qtip.defaults,a,W((g&&a.metadata.type==="html5"?g[a.metadata.name]:F)||g));p.removeData("metadata");g=s.position;if("boolean"===typeof s.content.text)if(s.content.attr!==m&&p.attr(s.content.attr))s.content.text=p.attr(s.content.attr);else return m;if(g.container===m)g.container=i;if(g.target===m)g.target=z;if(s.show.target===m)s.show.target=z;if(s.hide.target===m)s.hide.target=z;if(s.position.viewport=== +u)s.position.viewport=g.container;g.at=new b.fn.qtip.plugins.Corner(g.at);g.my=new b.fn.qtip.plugins.Corner(g.my);if(p.data("qtip"))if(s.overwrite)p.qtip("destroy");else if(s.overwrite===m)return m;p.attr("title")&&p.data("oldtitle",p.attr("title")).removeAttr("title");o=new Z(p,s,d);p.data("qtip",o);p.bind("remove.qtip",function(){o.destroy()});return o}function ba(d){var a=this,o=d.elements.tooltip,g=d.options.content.ajax;a.checks={"^content.ajax":function(p,i){if(i==="once")a.once();else g&&g.url&& +a.load()}};b.extend(a,{init:function(){if(g&&g.url){a.load();o.one("tooltipshow",a.once)}},once:function(){g.once?a.destroy():o.bind("tooltipshow.qtip-ajax",a.load)},load:function(){b.ajax(b.extend({success:function(p){d.set("content.text",p)},error:function(p,i,z){d.set("content.text",i+": "+z)},context:d},g));return a},destroy:function(){o.unbind(".qtip-ajax")}});a.init()}function Y(d,a,o){var g=Math.ceil(a/2),p=Math.ceil(o/2);a={bottomright:[[0,0],[a,o],[a,0]],bottomleft:[[0,0],[a,0],[0,o]],topright:[[0, +o],[a,0],[a,o]],topleft:[[0,0],[0,o],[a,o]],topcenter:[[0,o],[g,0],[a,o]],bottomcenter:[[0,0],[a,0],[g,o]],rightcenter:[[0,0],[a,p],[0,o]],leftcenter:[[a,0],[a,o],[0,p]]};a.lefttop=a.bottomright;a.righttop=a.bottomleft;a.leftbottom=a.topright;a.rightbottom=a.topleft;return a[d.string()]}function ca(d){function a(j,t,e){if(i.tip){j=b.extend({},g.corner);t=e.adjusted;var v;if(g.corner.fixed!==u){if(t.left)j.x=j.x==="center"?t.left>0?"left":"right":j.x==="left"?"right":"left";if(t.top)j.y=j.y==="center"? +t.top>0?"top":"bottom":j.y==="top"?"bottom":"top";if(j.string()!==s.corner&&(s.top!==t.top||s.left!==t.left))v=g.update(j)}v||(v=g.position(j,0));if(v.right!==R)v.left=v.right;if(v.bottom!==R)v.top=v.bottom;v.option=Math.max(0,p.offset);e.left-=v.left.charAt?v.option:(v.right?-1:1)*v.left;e.top-=v.top.charAt?v.option:(v.bottom?-1:1)*v.top;s.left=t.left;s.top=t.top;s.corner=j.string()}}function o(j,t,e){t=!t?j[j.precedance]:t;t="border-"+t+"-width";j=parseInt((i.titlebar&&j.y==="top"?i.titlebar:i.content).css(t), +10);return(e?j||parseInt(z.css(t),10):j)||0}var g=this,p=d.options.style.tip,i=d.elements,z=i.tooltip,s={top:0,left:0,corner:""},q={width:p.width,height:p.height},A={},D=p.border||0,H=p.method||m;g.corner=F;g.mimic=F;g.checks={"^position.my|style.tip.(corner|mimic|method|border)$":function(){g.init()||g.destroy();d.reposition()},"^style.tip.(height|width)$":function(){q={width:p.width,height:p.height};g.create();g.update();d.reposition()},"^content.title.text|style.(classes|widget)$":function(){i.tip&& +g.update()}};b.extend(g,{init:function(){var j=g.detectCorner();if(j){if(H!=="polygon")H=b("")[0].getContext?"canvas":b.browser.msie?"vml":"polygon";g.create();g.update();z.unbind(".qtip-tip").bind("tooltipmove.qtip-tip",a)}return j},detectCorner:function(){var j=p.corner,t=d.options.position,e=t.at;t=t.my.string?t.my.string():t.my;if(j===m||t===m&&e===m)return m;else if(j===u)g.corner=new b.fn.qtip.plugins.Corner(t);else if(!j.string){g.corner=new b.fn.qtip.plugins.Corner(j);g.corner.fixed= +u}return g.corner.string()!=="centercenter"},detectColours:function(){var j=i.tip.css({backgroundColor:"",border:""}),t=g.corner,e=t[t.precedance],v="border-"+e+"-color";e="border"+e.charAt(0)+e.substr(1)+"Color";var r=/rgba?\(0, 0, 0(, 0)?\)|transparent/i;t=i.titlebar&&(t.y==="top"||t.y==="center"&&j.position().top+q.height/2+p.offset",{"class":"ui-tooltip-tip"}).css(q).prependTo(z);switch(H){case "canvas":b('').appendTo(i.tip)[0].getContext("2d").save(); +break;case "vml":j='';i.tip.html(D?j+=j:j);break;case "polygon":i.tip.append('
').append(D?'
':"");break}},update:function(j){var t=i.tip.children(),e=q.width,v=q.height,r=p.mimic,h,c,f,l,k;if(!j)j=g.corner; +if(r===m)r=j;else{r=new b.fn.qtip.plugins.Corner(r);r.precedance=j.precedance;if(r.x==="inherit")r.x=j.x;else if(r.y==="inherit")r.y=j.y;else if(r.x===r.y)r[j.precedance]=j[j.precedance]}D=p.border===u?o(j,F,u):p.border;h=D>0?0:1;l=r.string().indexOf("center")>-1;k=Math[/b|r/.test(r[r.precedance==="y"?"x":"y"])?"ceil":"floor"];j=g.position(j,1);g.detectColours();switch(H){case "canvas":c=t[0].getContext("2d");c.restore&&c.restore();c.clearRect(0,0,3E3,3E3);for(f=Y(r,e,v);h<2;h++){if(h){c.save();c.translate(k((r.x=== +"left"?1:r.x==="right"?-1:0)*(D+1)*(r.precedance==="y"?0.5:1)),k((r.y==="top"?1:r.y==="bottom"?-1:0)*(D+1)*(r.precedance==="x"?0.5:1)))}c.beginPath();c.moveTo(f[0][0],f[0][1]);c.lineTo(f[1][0],f[1][1]);c.lineTo(f[2][0],f[2][1]);c.closePath();c.fillStyle=A[h?"fill":"border"];c.fill()}break;case "vml":f=Y(r,e,v);f="m"+f[0][0]+","+f[0][1]+" l"+f[1][0]+","+f[1][1]+" "+f[2][0]+","+f[2][1]+" xe";t.each(function(n){b(this).attr({path:f,fillcolor:A[n||!D?"fill":"border"]}).css("antialias",""+l)});break;case "polygon":t.removeAttr("style").css({position:"absolute", +left:0,top:0}).each(function(n){var x={x:r.precedance==="x"?r.x==="left"?"right":"left":r.x,y:r.precedance==="y"?r.y==="top"?"bottom":"top":r.y},E=r.x==="center"?["left","right",x.y,v,e]:["top","bottom",x.x,e,v];n=A[!n&&D?"border":"fill"];r.x==="center"||r.y==="center"?b(this).css("border-"+E[2],E[3]+"px solid "+n).css("border-"+E[0],k(E[4]/2)+"px dashed transparent").css("border-"+E[1],k(E[4]/2)+"px dashed transparent"):b(this).css("border-width",k(v/2)+"px "+k(e/2)+"px").css("border-"+x.x,k(e/2)+ +"px solid "+n).css("border-"+x.y,k(v/2)+"px solid "+n)});break}if(H!=="canvas"&&D){h=[D*2.75,D];h=r.precedance==="y"?[r.x==="left"?h[1]:r.x==="right"?-h[1]:0,r.y==="bottom"?-h[0]:h[0]]:[r.x==="left"?h[0]:-h[0],r.y==="bottom"?-h[1]:r.y==="top"?h[1]:0];t.eq(1).css({left:h[0],top:h[1]})}return j},position:function(j,t){var e=i.tip,v={},r=Math.max(0,p.offset),h,c;if(p.corner===m||!e)return m;j=j||g.corner;h=j.precedance;c=q[h==="x"?"width":"height"];b.each(h==="y"?[j.x,j.y]:[j.y,j.x],function(f,l){var k; +if(l==="center"){k=h==="y"?"left":"top";v[k]="50%";v["margin-"+k]=-Math.floor(c/2)+r}else{o(j,l,u);if(f||D===R)k=o(j,l);else{k=b.browser.mozilla;var n=j.y+(k?"":"-")+j.x;k=(k?"-moz-":b.browser.webkit?"-webkit-":"")+(k?"border-radius-"+n:"border-"+n+"-radius");k=parseInt((i.titlebar&&j.y==="top"?i.titlebar:i.content).css(k),10)||parseInt(z.css(k),10)||0;k=r+k}v[l]=k}});v[j[h]]-=c;t&&e.css({top:"",bottom:"",left:"",right:"",margin:""}).css(v);return v},destroy:function(){i.tip&&i.tip.remove();z.unbind(".qtip-tip")}}); +g.init()}function da(d){var a=this,o=d.options.show.modal,g=d.elements,p=g.tooltip;a.checks={"^show.modal.(on|blur)$":function(){a.init();g.overlay.toggle(p.is(":visible"))}};b.extend(a,{init:function(){if(o.on){p.unbind(".qtipmodal").bind("tooltipshow.qtipmodal tooltiphide.qtipmodal",function(i,z,s){i=i.type.replace("tooltip","");b.isFunction(o[i])?o[i].call(g.overlay,s,z):a[i](s)});a.create();o.blur===u&&g.overlay.unbind(".qtipmodal"+d.id).bind("click.qtipmodal"+d.id,function(){d.hide.call(d)})}}, +create:function(){var i=b("#qtip-overlay");if(i.length)g.overlay=i;else{g.overlay=b("
",{id:"#qtip-overlay".substr(1),css:{position:"absolute",top:0,left:0,display:"none",zIndex:parseInt(p.css("z-index"),10)-1}}).appendTo(document.body);b(M).bind("resize.qtipmodal",function(){g.overlay.css({height:Math.max(b(M).height(),b(document).height()),width:Math.max(b(M).width(),b(document).width())})}).trigger("resize")}},toggle:function(i){var z=g.overlay,s=d.options.show.modal.effect,q=i?"show":"hide"; +z.stop(u,m);if(b.isFunction(s))s.call(z,i);else s===m?z[q]():z.fadeTo(90,i?0.7:0,function(){i||b(this).hide()})},show:function(){a.toggle(u)},hide:function(){a.toggle(m)},destroy:function(){var i=u;b("*").each(function(){var z=b(this).data("qtip");if(z&&z.id!==d.id&&z.options.show.modal)return i=m});if(i){g.overlay.remove();b(M).unbind(".qtipmodal")}else g.overlay.unbind(".qtipmodal"+d.id);p.unbind("tooltipshow.qtipmodal tooltiphide.qtipmodal")}});a.init()}function ea(d){var a=this,o=d.elements,g= +o.tooltip,p=".bgiframe-"+d.id,i="tooltipmove"+p+" tooltipshow"+p;b.extend(a,{init:function(){o.bgiframe=b('');o.bgiframe.appendTo(g);g.bind(i,a.adjust)},adjust:function(){var z=d.get("dimensions"),s=d.plugins.tip,q=d.elements.tip,A;A=parseInt(g.css("border-left-width"),10)||0;A={left:-A,top:-A};if(s&&q){s=s.corner.precedance=== +"x"?["width","left"]:["height","top"];A[s[1]]-=q[s[0]]()}o.bgiframe.css(A).css(z)},destroy:function(){a.iframe.remove();g.unbind(i)}});a.init()}var u=true,m=false,F=null,J="ui-tooltip",X="ui-widget",O="ui-state-disabled",T=".qtip."+J,V=J+"-focus",$="-31000px";b.fn.qtip=function(d,a,o){var g=String(d).toLowerCase(),p=F,i=g==="disable"?[u]:b.makeArray(arguments).slice(1,10),z=i[i.length-1],s;if(!arguments.length&&this.data("qtip")||g==="api")return(s=this.data("qtip"))?s:R;else if("string"===typeof d){this.each(function(){var q= +b(this).data("qtip");if(!q)return u;if(/option|set/.test(g)&&a)if(o!==R)q.set(a,o);else p=q.get(a);else{if(!q.rendered&&(g==="show"||g==="toggle")){if(z&&z.timeStamp)q.cache.event=z;q.render(1)}else if(g==="enable"){g="disable";i=[m]}q[g]&&q[g].apply(q[g],i)}});return p!==F?p:this}else if("object"===typeof d||!arguments.length){s=W(b.extend(u,{},d));return b.fn.qtip.bind.call(this,s,z)}};b.fn.qtip.bind=function(d,a){return this.each(function(){function o(A){function D(){q.render(typeof A==="object"|| +g.show.ready);p.show.unbind(i.show);p.hide.unbind(i.hide)}if(q.cache.disabled)return m;q.cache.event=b.extend({},A);if(g.show.delay>0){clearTimeout(q.timers.show);q.timers.show=setTimeout(D,g.show.delay);i.show!==i.hide&&p.hide.bind(i.hide,function(){clearTimeout(q.timers.show)})}else D()}var g,p,i,z=d.id=!d.id||d.id===m||d.id.length<1||b("#"+J+"-"+d.id).length?b.fn.qtip.nextid++:d.id,s=".qtip-"+z+"-create",q=aa.call(this,z,d);if(q===m)return u;g=q.options;b.each(b.fn.qtip.plugins,function(){this.initialize=== +"initialize"&&this(q)});p={show:g.show.target,hide:g.hide.target};i={show:String(g.show.event).replace(" ",s+" ")+s,hide:String(g.hide.event).replace(" ",s+" ")+s};p.show.bind(i.show,o);if(g.show.ready||g.prerender)o(a)})};b.each({attr:function(d){var a=b(this),o=a.data("qtip");return arguments.length===1&&d==="title"&&o&&o.rendered===u?a.data("oldtitle"):F},remove:b.ui?F:function(d,a){b(this).each(function(){if(!a)if(!d||b.filter(d,[this]).length)b("*",this).add(this).each(function(){b(this).triggerHandler("remove")})})}}, +function(d,a){if(!a)return u;b.fn["Old"+d]=b.fn[d];b.fn[d]=function(){return a.apply(this,arguments)||b.fn["Old"+d].apply(this,arguments)}});b(document).ready(function(){var d=document,a=d.body;b(d).bind("mousemove.qtip",function(o){b.fn.qtip.mouse={pageX:o.pageX,pageY:o.pageY}});d.activeElement===R&&d.addEventListener("focus",function(o){if(o&&o.target)d.activeElement=o.target===d?a:o.target},true)});b.fn.qtip.version="2.0.0pre";b.fn.qtip.nextid=0;b.fn.qtip.inactiveEvents="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "); +b.fn.qtip.zindex=15E3;b.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 a=this.x.substr(0,1),o=this.y.substr(0,1); +return a===o?a:a==="c"||a!=="c"&&o!=="c"?o+a:a+o}},iOS:parseFloat((/CPU.+OS ([0-9_]{3}).*AppleWebkit.*Mobile/i.exec(navigator.userAgent)||[0,"4_2"])[1].replace("_","."))<4.1};b.fn.qtip.defaults={prerender:m,id:m,overwrite:u,metadata:{type:"class"},content:{text:u,attr:"title",title:{text:m,button:m}},position:{my:"top left",at:"bottom right",target:m,container:m,viewport:m,adjust:{x:0,y:0,mouse:u,resize:u},effect:u},show:{target:m,event:"mouseenter",effect:u,delay:90,solo:m,ready:m},hide:{target:m, +event:"mouseleave",effect:u,delay:0,fixed:m,inactive:m},style:{classes:"",widget:m},events:{render:F,move:F,show:F,hide:F,toggle:F,focus:F,blur:F}};b.fn.qtip.plugins.ajax=function(d){var a=d.plugins.ajax;return"object"===typeof a?a:d.plugins.ajax=new ba(d)};b.fn.qtip.plugins.ajax.initialize="render";b.fn.qtip.plugins.ajax.sanitize=function(d){var a=d.content;if(a&&"ajax"in a){a=a.ajax;if(typeof a!=="object")a=d.content.ajax={url:a};if("boolean"!==typeof a.once&&a.once)a.once=!!a.once}};b.extend(u, +b.fn.qtip.defaults,{content:{ajax:{once:u}}});b.fn.qtip.plugins.tip=function(d){var a=d.plugins.tip;return"object"===typeof a?a:d.plugins.tip=new ca(d)};b.fn.qtip.plugins.tip.initialize="render";b.fn.qtip.plugins.tip.sanitize=function(d){var a=d.style;if(a&&"tip"in a){a=d.style.tip;if(typeof a!=="object")d.style.tip={corner:a};if(!/string|boolean/i.test(typeof a.corner))a.corner=u;if(typeof a.method!=="string")a.method=u;if(!/canvas|polygon/i.test(a.method))a.method=u;typeof a.width!=="number"&&delete a.width; +typeof a.height!=="number"&&delete a.height;typeof a.border!=="number"&&a.border!==u&&delete a.border;typeof a.offset!=="number"&&delete a.offset}};b.extend(u,b.fn.qtip.defaults,{style:{tip:{corner:u,mimic:m,method:u,width:8,height:8,border:u,offset:0}}});b.fn.qtip.plugins.imagemap=function(d,a){function o(H,j){for(var t=0,e=1,v=1,r=0,h=0,c=H.width,f=H.height;c>0&&f>0&&e>0&&v>0;){c=Math.floor(c/2);f=Math.floor(f/2);if(a.x==="left")e=c;else if(a.x==="right")e=H.width-c;else e+=Math.floor(c/2);if(a.y=== +"top")v=f;else if(a.y==="bottom")v=H.height-f;else v+=Math.floor(f/2);for(t=j.length;t--;){if(j.length<2)break;r=j[t][0]-H.offset.left;h=j[t][1]-H.offset.top;if(a.x==="left"&&r>=e||a.x==="right"&&r<=e||a.x==="center"&&(rH.width-e)||a.y==="top"&&h>=v||a.y==="bottom"&&h<=v||a.y==="center"&&(hH.height-v))j.splice(t,1)}}return{left:j[0][0],top:j[0][1]}}var g=d.attr("shape").toLowerCase(),p=d.attr("coords").split(","),i=[],z=b('img[usemap="#'+d.parent("map").attr("name")+'"]'),s=z.offset(), +q={width:0,height:0,offset:{top:1E10,right:0,bottom:0,left:1E10}},A=0,D=0;s.left+=Math.ceil((z.outerWidth()-z.width())/2);s.top+=Math.ceil((z.outerHeight()-z.height())/2);if(g==="poly")for(A=p.length;A--;){D=[parseInt(p[--A],10),parseInt(p[A+1],10)];if(D[0]>q.offset.right)q.offset.right=D[0];if(D[0]q.offset.bottom)q.offset.bottom=D[1];if(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}('"5x 5y";(12(b,M,R){12 W(e){18 a;11(!e)17 n;11("1F"!==1m e.2g)e.2g={1U:e.2g};11("1b"2h e){11("1F"!==1m e.1b||e.1b.26)e.1b={1Q:e.1b};a=e.1b.1Q||n;11(!b.2D(a)&&(!a&&!a.1v||a.1r<1||"1F"===1m a&&!a.26))a=e.1b.1Q=n;11("1p"2h e.1b&&"1F"!==1m e.1b.1p)e.1b.1p={1Q:e.1b.1p}}11("1k"2h e)11("1F"!==1m e.1k)e.1k={1Z:e.1k,2r:e.1k};11("14"2h e)11("1F"!==1m e.14)e.14=e.14.26?{1h:e.14}:{1t:e.14};11("1a"2h e)11("1F"!==1m e.1a)e.1a=e.1a.26?{1h:e.1a}:{1t:e.1a};11("1o"2h e)11("1F"!==1m e.1o)e.1o={3v:e.1o};b.1A(b.1c.13.1i,12(){19.3k&&19.3k(e)});17 e}12 Z(e,a,o){12 g(c){18 f,l=c.3u("."),k=a[l[0]];2L(c=1;c",{"1R":"1I-37-48 "+(a.1o.2B?"":J+"-3H"),1p:"4y 1w","1V-5D":"4y 1w"}).5F(b("<5G />",{"1R":"1I-3H 1I-3H-7i",3G:"&5H;"}));c.1X.2Y(c.1L).1v("4w","1X").4z(12(l){b(19).2z("1I-37-4z",l.1U==="3r")}).40(12(l){h.2s(O)||d.1a(l);17 n}).1q("4p 5I 4Q 5J 5K",12(l){b(19).2z("1I-37-5L 1I-37-2A",l.1U.2X(-4)==="5M")});d.3c()}12 A(){18 c=d.1D,f=r+"-1p";c.1L&&s();c.1L=b("<2w />",{"1R":J+"-1L "+(a.1o.2B?"1I-2B-4W":"")}).2R(c.1p=b("<2w />",{1x:f,"1R":J+"-1p","1V-3S":u})).5N(c.1b);11(a.1b.1p.1X)q();1d d.1E===u&&d.3c()}12 D(c){18 f=d.1D.1p;11(!d.1E||!c)17 n;11(b.2D(c))c=c.21(e,d)||"";c.26&&c.1r>0?f.4A().2R(c.1e({36:"3L"})):f.3G(c);d.3c();d.1E===u&&d.2j(d.1y.1t)}12 H(c){18 f=d.1D.1b;11(!d.1E||!c)17 n;11(b.2D(c))c=c.21(e,d)||"";c.26&&c.1r>0?f.4A().2R(c.1e({36:"3L"})):f.3G(c);h.3F("3W",12(l){12 k(x){m=m.3z(x);11(m.1r===0){d.3c();d.1E===u&&d.2j(d.1y.1t);l()}}18 m=b("3f:3z([1g]):3z([1f])",f);m.1A(12(x,E){18 I=["5O","56","3d","6o",""].5P(".13-5Q ");b(19).1q(I,12(){22(d.1J.3f[x]);k(19)});(12 B(){11(E.1g)17 k(E);d.1J.3f[x]=3a(B,20)})();17 u});m.1r===0&&k(m)});17 d}12 j(c,f,l,k){12 m(y){11(h.2s(O))17 n;G.14.2E("13-"+o+"-2k");22(d.1J.14);22(d.1J.1a);18 w=12(){d.14(y)};11(a.14.2t>0)d.1J.14=3a(w,a.14.2t);1d w()}12 x(y){11(h.2s(O))17 n;18 w=b(y.3V||y.1h).4D(T)[0]===h[0],S=b(y.3V||y.1h)[0]===G.14[0];22(d.1J.14);22(d.1J.1a);11(a.1a.2v&&(C.1h==="2i"&&w||/2i(4F|4G|4n)/.1O(y.1U)&&(w||S))){y.6s();y.5R();17 n}h.4h(1,1);11(a.1a.2t>0)d.1J.1a=3a(12(){d.1a(y)},a.1a.2t);1d d.1a(y)}12 E(y){11(h.2s(O))17 n;22(d.1J.2k);d.1J.2k=3a(12(){d.1a(y)},a.1a.2k)}12 I(y){11(!d.1y.3R){d.1y.3R=1;i()&&d.2j(y);d.1y.3R=0}}18 B=".13-"+o,C=a.1k,G={14:a.14.1h,1a:a.1a.1h,1K:C.1K[0]===v?1M:C.1K},N={14:2W(a.14.1t).3u(" "),1a:2W(a.1a.1t).3u(" ")},P=b.29.33&&1W(b.29.3D,10)===6;11(l){11(a.1a.2v){G.1a=G.1a.31(h);h.1q("5S"+B,12(){h.2s(O)||22(d.1J.1a)})}h.1q("3r"+B+" 4i"+B,12(y){d[y.1U==="3r"?"2A":"2q"](y)})}11(f){11("30"===1m a.1a.2k){G.14.1q("13-"+o+"-2k",E);b.1A(b.1c.13.4M,12(y,w){G.1a.31(d.1D.1w).1q(w+B+"-2k",E)})}b.1A(N.1a,12(y,w){18 S=b.5T(w,N.14);11(S>-1&&b(G.1a).31(G.14).1r===b(G.1a).1r||w==="4J"){G.14.1q(w+B,12(K){i()?x(K):m(K)});2Q N.14[S]}1d G.1a.1q(w+B,x)})}c&&b.1A(N.14,12(y,w){G.14.1q(w+B,m)});11(k){11(C.2N.2x||C.2n)b(b.1t.5U.2x?C.2n:M).1q("2x"+B,I);11(C.2n||P&&h.1e("1k")==="2v")b(C.2n).1q("3X"+B,I);/4J/i.1O(a.1a.1t)&&b(1M).1q("4p"+B,12(y){b(y.1h).4D(T).1r===0&&b(y.1h).31(e).1r>1&&i()&&!h.2s(O)&&d.1a(y)});C.1h==="2i"&&b(1M).1q("49"+B,12(y){11(C.2N.2i&&!h.2s(O)&&i())d.2j(y||b.1c.13.2i)})}}12 t(c,f,l,k){k=1W(k,10)!==0;18 m=".13-"+o;f={14:c?a.14.1h:F,1a:f?a.1a.1h:F,1w:l?d.1D.1w:F,1b:l?d.1D.1b:F,1K:k?a.1k.1K[0]===v?1M:a.1k.1K:F,4l:k?M:F};11(d.1E)b([]).6f(b.5V([f.14,f.1a,f.1w,f.1K,f.1b,f.4l],12(){17 19!==4t})).1Y(m);1d c&&f.14.1Y(m+"-2J")}18 d=19,v=1M.3g,r=J+"-"+o,h;d.1x=o;d.1E=n;d.1D={1h:e};d.1J={3f:[]};d.2C=a;d.1i={};d.1y={1t:{},1h:F,2H:n,5r:v};b.1H(d,{28:12(c){11(d.1E)17 n;18 f=d.1D,l=a.1b.1Q,k=a.1b.1p.1Q,m=b.3s("5W");e.1v({"1V-5X":r,"1V-6a":r,"1V-5Y":u,"1V-45":r});h=f.1w=b("<2w/>").1v({1x:r,"1R":J+" 13 1I-4E-4B "+a.1o.3v,4w:"5Z","1V-6e":"60","1V-3S":n,"1V-45":r+"-1b","1V-3N":u}).2z(O,d.1y.2H).2b("13",d).2Y(a.1k.1K).2R(f.1b=b("<2w />",{"1R":J+"-1b",1x:r+"-1b","1V-3S":u}));d.1E=u;11(k){A();D(k)}H(l);b.1A(b.1c.13.1i,12(){19.2F==="28"&&19(d)});j(1,1,1,1);b.1A(a.4m,12(x,E){11(E)h.1q(x==="2p"?"2Z 4j":"1w"+x,E)});h.3F("3W",12(x){m.3i=d.1y.1t;h.2E(m,[d]);11(a.14.34||c){h.1a();d.14(d.1y.1t)}x()});17 d},4f:12(c){3J(c.2y()){27"4r":c={1g:h.2P(),1f:h.3l()};1T;27"1n":c=p(h[0],a.1k.1K[0]);1T;48:c=g(c.2y());c=c[0].1C?c[0].1N():c[0].26?c[0]:c[0][c[1]];1T}17 c},3q:12(c,f){c=c.2y();18 l=g(c),k=d.1D,m,x,E,I={61:{"^1x$":12(){18 B=f===u?b.1c.13.3Y:f,C=J+"-"+B;11(B!==n&&B.1r>0&&!b("#"+C).1r){h[0].1x=C;k.1b[0].1x=C+"-1b";k.1p[0].1x=C+"-1p"}},"^1b.1Q$":12(){H(f)},"^1b.1p.1Q$":12(){11(!f)17 s();!d.1D.1p&&f&&A();D(f)},"^1b.1p.1X$":12(){18 B=d.1D.1X,C=d.1D.1p;11(d.1E)11(f){C||A();q()}1d B.24()},"^1k.(1Z|2r)$":12(){18 B=/1Z$/i.1O(c)?"1Z":"2r";11("1N"===1m f)a.1k[B]=23 b.1c.13.1i.2K(f)},"^1k.1K$":12(){d.1E===u&&h.2Y(f)},"^(14|1a).(1t|1h|2v|2t|2k)$":12(B,C,G,N){18 P=c.43(/2v/i)>-1?[0,[0,1,1,1]]:[c.2X(0,3),c.3e(0)==="s"?[1,0,0,0]:[0,1,0,0]];11(P[0])B[C]=N;t.39(d,P[1]);11(P[0])B[C]=G;j.39(d,P[1])},"^14.34$":12(){d.1E===n&&d.14()},"^1o.3v$":12(){h.1v("1R",J+" 13 1I-4E-4B "+f)},"^1o.2B|1b.1p":z,"^4m.(28|14|4n|1a|2A|2q)$":12(B,C,G){k.1w[(b.2D(f)?"":"63")+"1q"]("1w"+C,G)},"^1k.(1Z|2r|2N|1h|1K)|1o|1b":12(){d.2j()}}};b.1A(d.1i,12(B){11("1F"===1m 19.3h)I[B]=19.3h});m=l[0][l[1]];l[0][l[1]]=f.64?b(f):f;W(a);2L(x 2h I)2L(E 2h I[x])65(E,"i").1O(c)&&I[x][E].21(d,l[0],l[1],f,m);17 d},2p:12(c,f){12 l(){11(c)b.29.33&&h[0].1o.4R("3w");1d h.1e({36:"",4H:"3N",1f:"",3O:"",16:"",15:""})}11(d.1E===n)17 n;18 k=c?"14":"1a",m=a[k],x=i();11((1m c).43("38|30"))c=!x;11(!x&&!c||h.4g(":66"))17 d;11(f){11(/67|68/.1O(f.1U)&&/4F|4G/.1O(d.1y.1t.1U)&&f.1h===a.14.1h[0]&&h.69(f.3V).1r)17 d;d.1y.1t=b.1H({},f)}x=b.3s("1w"+k);x.3i=f?d.1y.1t:F;h.2E(x,[d,3x]);11(x.41())17 d;h.1v("1V-3N",!!!c);11(c){h.1a().1e({4H:""});d.2A(f);d.2j(f,0);m.5p&&b(T).3z(h).13("1a")}1d{22(d.1J.14);d.2q(f)}h.4h(1,1);11(b.2D(m.2m)){m.2m.21(h,d);h.3F("3W",12(E){l.21(19,E);E()})}1d 11(m.2m===n){h[k]();l.21(h)}1d h.5q(3x,c?1:0,l);c&&m.1h.2E("13-"+o+"-2k");17 b.1c.13.6b=d},14:12(c){d.2p(u,c)},1a:12(c){d.2p(n,c)},2A:12(c){11(d.1E===n)17 n;18 f=b(T),l=1W(h[0].1o.3t,10),k=b.1c.13.57+f.1r;c=b.1H({},c);11(!h.2s(V)){11(l!==k){f.1A(12(){11(19.1o.3t>l)19.1o.3t-=1});b(T+"."+V).13("2q",c)}d.1y.5r=1M.4b;f=b.3s("6c");f.3i=c;h.2E(f,[d,k]);11(!f.41())h.47(V)[0].1o.3t=k}17 d},2q:12(c){c=b.1H({},c);18 f;h.4U(V);f=b.3s("6d");f.3i=c;h.2E(f,[d])},2j:12(c,f){11(d.1E===n)17 n;18 l=a.1k.1h,k=a.1k,m=k.1Z,x=k.2r,E=k.2N,I=h.3l(),B=h.2P(),C=0,G=0,N=b.3s("4k"),P=h.1e("1k")==="2v",y=k.2n.26?k.2n:b(M),w={16:0,15:0},S={16:12(K){18 L=y.2T,Q=x.x==="16"?C:x.x==="1u"?-C:-C/2,U=L-K;L=K+I-y.1f-L;Q=(m.x==="16"?I:m.x==="1u"?-I:-I/2)-(m.1C==="x"||m.x===m.y?Q:0);11(U>0&&(m.x!=="16"||L>0))w.16-=Q;1d 11(L>0&&(m.x!=="1u"||U>0))w.16-=(m.x==="1G"?-1:1)*Q+2*E.x;11(w.16<0&&-w.16>L)w.16=K;17 w.16-K},15:12(K){18 L=y.32,Q=x.y==="15"?G:x.y==="1s"?-G:-G/2,U=L-K;L=K+B-y.1g-L;Q=(m.y==="15"?B:m.y==="1s"?-B:-B/2)-(m.1C==="y"||m.x===m.y?Q:0);11(U>0&&(m.y!=="15"||L>0))w.15-=Q;1d 11(L>0&&(m.y!=="1s"||U>0))w.15-=(m.y==="1G"?-1:1)*Q+2*E.y;11(w.15<0&&-w.15>L)w.15=K;17 w.15-K}};f=f===R||!!f||n;y=!y?n:{4P:y,1g:y[(y[0]===M?"h":"6h")+"6i"](),1f:y[(y[0]===M?"w":"6j")+"6k"](),2T:y.2T(),32:y.32()};11(l==="2i"){x={x:"16",y:"15"};c=c&&(c.1U==="2x"||c.1U==="3X")?d.1y.1t:E.2i||!c||!c.3K?b.1H({},b.1c.13.2i):c;w={15:c.4o,16:c.3K}}1d{11(l==="1t")l=c&&c.1h&&c.1U!=="3X"&&c.1U!=="2x"?d.1y.1h=b(c.1h):d.1y.1h;l=b(l).5j(0);11(l.1r===0)17 d;1d 11(l[0]===1M||l[0]===M){C=l.1f();G=l.1g();11(l[0]===M)w={15:P?0:y.32,16:P?0:y.2T}}1d 11(l.4g("6m")&&b.1c.13.1i.3T){w=b.1c.13.1i.3T(l,x);C=w.1f;G=w.1g;w=w.1n}1d{C=l.3l();G=l.2P();w=p(l[0],k.1K[0])}w.16+=x.x==="1u"?C:x.x==="1G"?C/2:0;w.15+=x.y==="1s"?G:x.y==="1G"?G/2:0}w.16+=E.x+(m.x==="1u"?-I:m.x==="1G"?-I/2:0);w.15+=E.y+(m.y==="1s"?-B:m.y==="1G"?-B/2:0);w.44=k.2n.26&&l[0]!==M&&l[0]!==v?{16:S.16(w.16),15:S.15(w.15)}:{16:0,15:0};h.1v("1R",12(){17 b(19).1v("1R").2I(/1I-1w-4O-\\w+/i,"")}).47(J+"-4O-"+m.4X());N.3i=b.1H({},c);h.2E(N,[d,w,y.4P]);11(N.41())17 d;2Q w.44;11(!f||!76(w.16,w.15))h.1e(w);1d 11(i()&&b.2D(k.2m)){k.2m.21(h,d,w);h.3F(12(K){b(19).1e({3O:"",1g:""});b.29.33&&19.1o&&19.1o.4R("3w");K()})}17 d},3c:12(){11(!d.1E||!(b.29.33&&b.29.3D<8))17 n;18 c=J+"-6r",f;h.1e({1f:"4S",1g:"4S"}).47(c);f={1g:h.2P(),1f:h.3l()};b.1A(["1f","1g"],12(l,k){18 m=1W(h.1e("2S-"+k),10)||0,x=1W(h.1e("4T-"+k),10)||0;f[k]=m+x?1B.4T(1B.2S(f[k],x),m):f[k]});h.1e(f).4U(c)},4d:12(c){18 f=O;11("38"!==1m c)c=!(h.2s(f)||d.1y.2H);11(d.1E){h.2z(f,c);h.1v("1V-2H",c)}1d d.1y.2H=!!c;17 d},2f:12(){18 c=e.2b("3Z");11(d.1E){h.24();b.1A(d.1i,12(){19.2F==="28"&&19.2f()})}22(d.1J.14);22(d.1J.1a);t(1,1,1,1);e.54("13");c&&e.1v("1p",c);e.4c("1V-45");17 e}})}12 4V(e,a){18 o,g,p=b(19),i=b(1M.3g),z=19===1M?i:p;g=p.2g?p.2g(a.2g):F;18 s=b.1H(u,{},b.1c.13.3p,a,W((g&&a.2g.1U==="6v"?g[a.2g.58]:F)||g));p.54("2g");g=s.1k;11("38"===1m s.1b.1Q)11(s.1b.1v!==n&&p.1v(s.1b.1v))s.1b.1Q=p.1v(s.1b.1v);1d 17 n;11(g.1K===n)g.1K=i;11(g.1h===n)g.1h=z;11(s.14.1h===n)s.14.1h=z;11(s.1a.1h===n)s.1a.1h=z;11(s.1k.2n===u)s.1k.2n=g.1K;g.2r=23 b.1c.13.1i.2K(g.2r);g.1Z=23 b.1c.13.1i.2K(g.1Z);11(p.2b("13"))11(s.4a)p.13("2f");1d 11(s.4a===n)17 n;p.1v("1p")&&p.2b("3Z",p.1v("1p")).4c("1p");o=23 Z(p,s,e);p.2b("13",o);p.1q("24.13",12(){o.2f()});17 o}12 4s(e){18 a=19,o=e.1D.1w,g=e.2C.1b.1S;a.3h={"^1b.1S":12(p,i){11(i==="2c")a.2c();1d g&&g.3C&&a.3d()}};b.1H(a,{2o:12(){11(g&&g.3C){a.3d();o.6w("2Z",a.2c)}},2c:12(){g.2c?a.2f():o.1q("2Z.13-1S",a.3d)},3d:12(){b.1S(b.1H({6x:12(p){e.3q("1b.1Q",p)},56:12(p,i,z){e.3q("1b.1Q",i+": "+z)},6y:e},g));17 a},2f:12(){o.1Y(".13-1S")}});a.2o()}12 Y(e,a,o){18 g=1B.3b(a/2),p=1B.3b(o/2);a={4Y:[[0,0],[a,o],[a,0]],4Z:[[0,0],[a,0],[0,o]],52:[[0,o],[a,0],[a,o]],53:[[0,0],[0,o],[a,o]],6z:[[0,o],[g,0],[a,o]],6A:[[0,0],[a,0],[g,o]],6C:[[0,0],[a,p],[0,o]],6D:[[a,0],[a,o],[0,p]]};a.6E=a.4Y;a.6F=a.4Z;a.6G=a.52;a.6H=a.53;17 a[e.1N()]}12 4v(e){12 a(j,t,d){11(i.1j){j=b.1H({},g.1z);t=d.44;18 v;11(g.1z.2v!==u){11(t.16)j.x=j.x==="1G"?t.16>0?"16":"1u":j.x==="16"?"1u":"16";11(t.15)j.y=j.y==="1G"?t.15>0?"15":"1s":j.y==="15"?"1s":"15";11(j.1N()!==s.1z&&(s.15!==t.15||s.16!==t.16))v=g.3j(j)}v||(v=g.1k(j,0));11(v.1u!==R)v.16=v.1u;11(v.1s!==R)v.15=v.1s;v.3I=1B.2S(0,p.1n);d.16-=v.16.3e?v.3I:(v.1u?-1:1)*v.16;d.15-=v.15.3e?v.3I:(v.1s?-1:1)*v.15;s.16=t.16;s.15=t.15;s.1z=j.1N()}}12 o(j,t,d){t=!t?j[j.1C]:t;t="1l-"+t+"-1f";j=1W((i.1L&&j.y==="15"?i.1L:i.1b).1e(t),10);17(d?j||1W(z.1e(t),10):j)||0}18 g=19,p=e.2C.1o.1j,i=e.1D,z=i.1w,s={15:0,16:0,1z:""},q={1f:p.1f,1g:p.1g},A={},D=p.1l||0,H=p.2M||n;g.1z=F;g.3A=F;g.3h={"^1k.1Z|1o.1j.(1z|3A|2M|1l)$":12(){g.2o()||g.2f();e.2j()},"^1o.1j.(1g|1f)$":12(){q={1f:p.1f,1g:p.1g};g.2J();g.3j();e.2j()},"^1b.1p.1Q|1o.(3v|2B)$":12(){i.1j&&g.3j()}};b.1H(g,{2o:12(){18 j=g.55();11(j){11(H!=="3o")H=b("<2G />")[0].3U?"2G":b.29.33?"3m":"3o";g.2J();g.3j();z.1Y(".13-1j").1q("4k.13-1j",a)}17 j},55:12(){18 j=p.1z,t=e.2C.1k,d=t.2r;t=t.1Z.1N?t.1Z.1N():t.1Z;11(j===n||t===n&&d===n)17 n;1d 11(j===u)g.1z=23 b.1c.13.1i.2K(t);1d 11(!j.1N){g.1z=23 b.1c.13.1i.2K(j);g.1z.2v=u}17 g.1z.1N()!=="4C"},5b:12(){18 j=i.1j.1e({6L:"",1l:""}),t=g.1z,d=t[t.1C],v="1l-"+d+"-2V";d="1l"+d.3e(0)+d.2X(1)+"6N";18 r=/6O?\\(0, 0, 0(, 0)?\\)|3n/i;t=i.1L&&(t.y==="15"||t.y==="1G"&&j.1k().15+q.1g/2+p.1n",{"1R":"1I-1w-1j"}).1e(q).6T(z);3J(H){27"2G":b(\'<2G 1g="\'+t+\'" 1f="\'+j+\'" />\').2Y(i.1j)[0].3U("2d").5f();1T;27"3m":j=\'<3m:42 6U="0,0" 6W="\'+j+" "+t+\'" 6X="3Q" 1o="6Z:3C(#48#71); 36:72-3L; 1k:3M; 5h:3Q; 16: 0; 15: 0; 1f:\'+j+"2u; 1g:"+t+\'2u;">\';i.1j.3G(D?j+=j:j);1T;27"3o":i.1j.2R(\'<2w 1R="1I-1w-1j-74" />\').2R(D?\'<2w 1R="1I-1w-1j-1l" />\':"");1T}},3j:12(j){18 t=i.1j.78(),d=q.1f,v=q.1g,r=p.3A,h,c,f,l,k;11(!j)j=g.1z;11(r===n)r=j;1d{r=23 b.1c.13.1i.2K(r);r.1C=j.1C;11(r.x==="3B")r.x=j.x;1d 11(r.y==="3B")r.y=j.y;1d 11(r.x===r.y)r[j.1C]=j[j.1C]}D=p.1l===u?o(j,F,u):p.1l;h=D>0?0:1;l=r.1N().79("1G")>-1;k=1B[/b|r/.1O(r[r.1C==="y"?"x":"y"])?"3b":"2O"];j=g.1k(j,1);g.5b();3J(H){27"2G":c=t[0].3U("2d");c.5d&&c.5d();c.7b(0,0,5e,5e);2L(f=Y(r,d,v);h<2;h++){11(h){c.5f();c.7c(k((r.x==="16"?1:r.x==="1u"?-1:0)*(D+1)*(r.1C==="y"?0.5:1)),k((r.y==="15"?1:r.y==="1s"?-1:0)*(D+1)*(r.1C==="x"?0.5:1)))}c.7d();c.7e(f[0][0],f[0][1]);c.5g(f[1][0],f[1][1]);c.5g(f[2][0],f[2][1]);c.7f();c.7g=A[h?"25":"1l"];c.25()}1T;27"3m":f=Y(r,d,v);f="m"+f[0][0]+","+f[0][1]+" l"+f[1][0]+","+f[1][1]+" "+f[2][0]+","+f[2][1]+" 7j";t.1A(12(m){b(19).1v({7k:f,7l:A[m||!D?"25":"1l"]}).1e("5h",""+l)});1T;27"3o":t.4c("1o").1e({1k:"3M",16:0,15:0}).1A(12(m){18 x={x:r.1C==="x"?r.x==="16"?"1u":"16":r.x,y:r.1C==="y"?r.y==="15"?"1s":"15":r.y},E=r.x==="1G"?["16","1u",x.y,v,d]:["15","1s",x.x,d,v];m=A[!m&&D?"1l":"25"];r.x==="1G"||r.y==="1G"?b(19).1e("1l-"+E[2],E[3]+"2u 4e "+m).1e("1l-"+E[0],k(E[4]/2)+"2u 5i 3n").1e("1l-"+E[1],k(E[4]/2)+"2u 5i 3n"):b(19).1e("1l-1f",k(v/2)+"2u "+k(d/2)+"2u").1e("1l-"+x.x,k(d/2)+"2u 4e "+m).1e("1l-"+x.y,k(v/2)+"2u 4e "+m)});1T}11(H!=="2G"&&D){h=[D*2.75,D];h=r.1C==="y"?[r.x==="16"?h[1]:r.x==="1u"?-h[1]:0,r.y==="1s"?-h[0]:h[0]]:[r.x==="16"?h[0]:-h[0],r.y==="1s"?-h[1]:r.y==="15"?h[1]:0];t.5j(1).1e({16:h[0],15:h[1]})}17 j},1k:12(j,t){18 d=i.1j,v={},r=1B.2S(0,p.1n),h,c;11(p.1z===n||!d)17 n;j=j||g.1z;h=j.1C;c=q[h==="x"?"1f":"1g"];b.1A(h==="y"?[j.x,j.y]:[j.y,j.x],12(f,l){18 k;11(l==="1G"){k=h==="y"?"16":"15";v[k]="50%";v["5n-"+k]=-1B.2O(c/2)+r}1d{o(j,l,u);11(f||D===R)k=o(j,l);1d{k=b.29.7p;18 m=j.y+(k?"":"-")+j.x;k=(k?"-7q-":b.29.5l?"-5l-":"")+(k?"1l-5m-"+m:"1l-"+m+"-5m");k=1W((i.1L&&j.y==="15"?i.1L:i.1b).1e(k),10)||1W(z.1e(k),10)||0;k=r+k}v[l]=k}});v[j[h]]-=c;t&&d.1e({15:"",1s:"",16:"",1u:"",5n:""}).1e(v);17 v},2f:12(){i.1j&&i.1j.24();z.1Y(".13-1j")}});g.2o()}12 59(e){18 a=19,o=e.2C.14.1P,g=e.1D,p=g.1w;a.3h={"^14.1P.(35|2q)$":12(){a.2o();g.2a.2p(p.4g(":5o"))}};b.1H(a,{2o:12(){11(o.35){p.1Y(".2e").1q("2Z.2e 4j.2e",12(i,z,s){i=i.1U.2I("1w","");b.2D(o[i])?o[i].21(g.2a,s,z):a[i](s)});a.2J();o.2q===u&&g.2a.1Y(".2e"+e.1x).1q("40.2e"+e.1x,12(){e.1a.21(e)})}},2J:12(){18 i=b("#13-2a");11(i.1r)g.2a=i;1d{g.2a=b("<2w />",{1x:"#13-2a".2X(1),1e:{1k:"3M",15:0,16:0,36:"7r",3t:1W(p.1e("z-4q"),10)-1}}).2Y(1M.3g);b(M).1q("2x.2e",12(){g.2a.1e({1g:1B.2S(b(M).1g(),b(1M).1g()),1f:1B.2S(b(M).1f(),b(1M).1f())})}).2E("2x")}},2p:12(i){18 z=g.2a,s=e.2C.14.1P.2m,q=i?"14":"1a";z.4h(u,n);11(b.2D(s))s.21(z,i);1d s===n?z[q]():z.5q(3x,i?0.7:0,12(){i||b(19).1a()})},14:12(){a.2p(u)},1a:12(){a.2p(n)},2f:12(){18 i=u;b("*").1A(12(){18 z=b(19).2b("13");11(z&&z.1x!==e.1x&&z.2C.14.1P)17 i=n});11(i){g.2a.24();b(M).1Y(".2e")}1d g.2a.1Y(".2e"+e.1x);p.1Y("2Z.2e 4j.2e")}});a.2o()}12 4N(e){18 a=19,o=e.1D,g=o.1w,p=".2l-"+e.1x,i="4k"+p+" 2Z"+p;b.1H(a,{2o:12(){o.2l=b(\'<3P 1R="1I-1w-2l" 7t="0" 7u="-1" 7v="7x:\\\'\\\';" 1o="36:3L; 1k:3M; z-4q:-1; 3w:5s(3O=0);">\');o.2l.2Y(g);g.1q(i,a.2N)},2N:12(){18 z=e.4f("4r"),s=e.1i.1j,q=e.1D.1j,A;A=1W(g.1e("1l-16-1f"),10)||0;A={16:-A,15:-A};11(s&&q){s=s.1z.1C==="x"?["1f","16"]:["1g","15"];A[s[1]]-=q[s[0]]()}o.2l.1e(A).1e(z)},2f:12(){a.3P.24();g.1Y(i)}});a.2o()}18 u=4L,n=3Q,F=4t,J="1I-1w",X="1I-2B",O="1I-37-2H",T=".13."+J,V=J+"-2A",$="-5u";b.1c.13=12(e,a,o){18 g=2W(e).2y(),p=F,i=g==="4d"?[u]:b.5v(2U).4I(1,10),z=i[i.1r-1],s;11(!2U.1r&&19.2b("13")||g==="5w")17(s=19.2b("13"))?s:R;1d 11("1N"===1m e){19.1A(12(){18 q=b(19).2b("13");11(!q)17 u;11(/3I|3q/.1O(g)&&a)11(o!==R)q.3q(a,o);1d p=q.4f(a);1d{11(!q.1E&&(g==="14"||g==="2p")){11(z&&z.5C)q.1y.1t=z;q.28(1)}1d 11(g==="5E"){g="4d";i=[n]}q[g]&&q[g].39(q[g],i)}});17 p!==F?p:19}1d 11("1F"===1m e||!2U.1r){s=W(b.1H(u,{},e));17 b.1c.13.1q.21(19,s,z)}};b.1c.13.1q=12(e,a){17 19.1A(12(){12 o(A){12 D(){q.28(1m A==="1F"||g.14.34);p.14.1Y(i.14);p.1a.1Y(i.1a)}11(q.1y.2H)17 n;q.1y.1t=b.1H({},A);11(g.14.2t>0){22(q.1J.14);q.1J.14=3a(D,g.14.2t);i.14!==i.1a&&p.1a.1q(i.1a,12(){22(q.1J.14)})}1d D()}18 g,p,i,z=e.1x=!e.1x||e.1x===n||e.1x.1r<1||b("#"+J+"-"+e.1x).1r?b.1c.13.3Y++:e.1x,s=".13-"+z+"-2J",q=4V.21(19,z,e);11(q===n)17 u;g=q.2C;b.1A(b.1c.13.1i,12(){19.2F==="2F"&&19(q)});p={14:g.14.1h,1a:g.1a.1h};i={14:2W(g.14.1t).2I(" ",s+" ")+s,1a:2W(g.1a.1t).2I(" ",s+" ")+s};p.14.1q(i.14,o);11(g.14.34||g.5c)o(a)})};b.1A({1v:12(e){18 a=b(19),o=a.2b("13");17 2U.1r===1&&e==="1p"&&o&&o.1E===u?a.2b("3Z"):F},24:b.1I?F:12(e,a){b(19).1A(12(){11(!a)11(!e||b.3w(e,[19]).1r)b("*",19).31(19).1A(12(){b(19).62("24")})})}},12(e,a){11(!a)17 u;b.1c["4K"+e]=b.1c[e];b.1c[e]=12(){17 a.39(19,2U)||b.1c["4K"+e].39(19,2U)}});b(1M).34(12(){18 e=1M,a=e.3g;b(e).1q("49.13",12(o){b.1c.13.2i={3K:o.3K,4o:o.4o}});e.4b===R&&e.6g("2A",12(o){11(o&&o.1h)e.4b=o.1h===e?a:o.1h},4L)});b.1c.13.3D="2.0.6l";b.1c.13.3Y=0;b.1c.13.4M="40 6n 4p 4Q 49 4i 3r".3u(" ");b.1c.13.57=6q;b.1c.13.1i={2K:12(e){e=2W(e).2I(/([A-Z])/," $1").2I(/6t/6u,"1G").2y();19.x=(e.46(/16|1u/i)||e.46(/1G/)||["3B"])[0].2y();19.y=(e.46(/15|1s|1G/i)||["3B"])[0].2y();19.1C=e.3e(0).43(/^(t|b)/)>-1?"y":"x";19.1N=12(){17 19.1C==="y"?19.y+19.x:19.x+19.y};19.4X=12(){18 a=19.x.2X(0,1),o=19.y.2X(0,1);17 a===o?a:a==="c"||a!=="c"&&o!=="c"?o+a:a+o}},51:6I((/6J.+6M ([0-6P]{3}).*6S.*6V/i.6Y(70.73)||[0,"77"])[1].2I("7a","."))<4.1};b.1c.13.3p={5c:n,1x:n,4a:u,2g:{1U:"1R"},1b:{1Q:u,1v:"1p",1p:{1Q:n,1X:n}},1k:{1Z:"15 16",2r:"1s 1u",1h:n,1K:n,2n:n,2N:{x:0,y:0,2i:u,2x:u},2m:u},14:{1h:n,1t:"3r",2m:u,2t:3x,5p:n,34:n},1a:{1h:n,1t:"4i",2m:u,2t:0,2v:n,2k:n},1o:{3v:"",2B:n},4m:{28:F,4n:F,14:F,1a:F,2p:F,2A:F,2q:F}};b.1c.13.1i.1S=12(e){18 a=e.1i.1S;17"1F"===1m a?a:e.1i.1S=23 4s(e)};b.1c.13.1i.1S.2F="28";b.1c.13.1i.1S.3k=12(e){18 a=e.1b;11(a&&"1S"2h a){a=a.1S;11(1m a!=="1F")a=e.1b.1S={3C:a};11("38"!==1m a.2c&&a.2c)a.2c=!!a.2c}};b.1H(u,b.1c.13.3p,{1b:{1S:{2c:u}}});b.1c.13.1i.1j=12(e){18 a=e.1i.1j;17"1F"===1m a?a:e.1i.1j=23 4v(e)};b.1c.13.1i.1j.2F="28";b.1c.13.1i.1j.3k=12(e){18 a=e.1o;11(a&&"1j"2h a){a=e.1o.1j;11(1m a!=="1F")e.1o.1j={1z:a};11(!/1N|38/i.1O(1m a.1z))a.1z=u;11(1m a.2M!=="1N")a.2M=u;11(!/2G|3o/i.1O(a.2M))a.2M=u;1m a.1f!=="30"&&2Q a.1f;1m a.1g!=="30"&&2Q a.1g;1m a.1l!=="30"&&a.1l!==u&&2Q a.1l;1m a.1n!=="30"&&2Q a.1n}};b.1H(u,b.1c.13.3p,{1o:{1j:{1z:u,3A:n,2M:u,1f:8,1g:8,1l:u,1n:0}}});b.1c.13.1i.3T=12(e,a){12 o(H,j){2L(18 t=0,d=1,v=1,r=0,h=0,c=H.1f,f=H.1g;c>0&&f>0&&d>0&&v>0;){c=1B.2O(c/2);f=1B.2O(f/2);11(a.x==="16")d=c;1d 11(a.x==="1u")d=H.1f-c;1d d+=1B.2O(c/2);11(a.y==="15")v=f;1d 11(a.y==="1s")v=H.1g-f;1d v+=1B.2O(f/2);2L(t=j.1r;t--;){11(j.1r<2)1T;r=j[t][0]-H.1n.16;h=j[t][1]-H.1n.15;11(a.x==="16"&&r>=d||a.x==="1u"&&r<=d||a.x==="1G"&&(rH.1f-d)||a.y==="15"&&h>=v||a.y==="1s"&&h<=v||a.y==="1G"&&(hH.1g-v))j.6p(t,1)}}17{16:j[0][0],15:j[0][1]}}18 g=e.1v("42").2y(),p=e.1v("6B").3u(","),i=[],z=b(\'3f[6K="#\'+e.6Q("5k").1v("58")+\'"]\'),s=z.1n(),q={1f:0,1g:0,1n:{15:5a,1u:0,1s:0,16:5a}},A=0,D=0;s.16+=1B.3b((z.3l()-z.1f())/2);s.15+=1B.3b((z.2P()-z.1g())/2);11(g==="4u")2L(A=p.1r;A--;){D=[1W(p[--A],10),1W(p[A+1],10)];11(D[0]>q.1n.1u)q.1n.1u=D[0];11(D[0]q.1n.1s)q.1n.1s=D[1];11(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";(12(b,M,R){12 W(d){18 a;11(!d)16 m;11("1D"!==1m d.2i)d.2i={1V:d.2i};11("1b"2f d){11("1D"!==1m d.1b||d.1b.23)d.1b={1K:d.1b};a=d.1b.1K||m;11(!b.2v(a)&&(!a&&!a.1t||a.1q<1||"1D"===1m a&&!a.23))d.1b.1K=m;11("1p"2f d.1b){11("1D"!==1m d.1b.1p)d.1b.1p={1K:d.1b.1p};a=d.1b.1p.1K||m;11(!b.2v(a)&&(!a&&!a.1t||a.1q<1||"1D"===1m a&&!a.23))d.1b.1K=m}}11("1j"2f d)11("1D"!==1m d.1j)d.1j={1Z:d.1j,2s:d.1j};11("15"2f d)11("1D"!==1m d.15)d.15=d.15.23?{1h:d.15}:{1v:d.15};11("1a"2f d)11("1D"!==1m d.1a)d.1a=d.1a.23?{1h:d.1a}:{1v:d.1a};11("1n"2f d)11("1D"!==1m d.1n)d.1n={3v:d.1n};b.1A(b.1c.13.1i,12(){19.3l&&19.3l(d)});16 d}12 Z(d,a,o){12 g(c){18 f,l=c.3h("."),k=a[l[0]];2G(c=1;c",{"1S":"1I-37-47 "+(a.1n.2D?"":J+"-3H"),1p:"4y 1x","1W-5E":"4y 1x"}).5G(b("<5H />",{"1S":"1I-3H 1I-3H-7j",3G:"&5I;"}));c.1Y.2X(c.1Q).1t("4w","1Y").4z(12(l){b(19).2A("1I-37-4z",l.1V==="3s")}).40(12(l){h.2u(O)||e.1a(l);16 m}).1r("49 5J 4Q 5K 5L",12(l){b(19).2A("1I-37-5M 1I-37-2x",l.1V.2W(-4)==="5N")});e.3d()}12 A(){18 c=e.1F,f=r+"-1p";c.1Q&&s();c.1Q=b("<2B />",{"1S":J+"-1Q "+(a.1n.2D?"1I-2D-4W":"")}).2T(c.1p=b("<2B />",{1w:f,"1S":J+"-1p","1W-3S":u})).5O(c.1b);11(a.1b.1p.1Y)q();1d e.1E===u&&e.3d()}12 D(c){18 f=e.1F.1p;11(!e.1E||!c)16 m;11(b.2v(c))c=c.21(d,e)||"";c.23&&c.1q>0?f.4A().2T(c.1e({36:"3L"})):f.3G(c);e.3d();e.1E===u&&e.2m(e.1y.1v)}12 H(c){18 f=e.1F.1b;11(!e.1E||!c)16 m;11(b.2v(c))c=c.21(d,e)||"";c.23&&c.1q>0?f.4A().2T(c.1e({36:"3L"})):f.3G(c);h.3F("3V",12(l){12 k(x){n=n.3z(x);11(n.1q===0){e.3d();e.1E===u&&e.2m(e.1y.1v);l()}}18 n=b("3f:3z([1g]):3z([1f])",f);n.1A(12(x,E){18 I=["5P","53","3e","6p",""].5Q(".13-5R ");b(19).1r(I,12(){22(e.1J.3f[x]);k(19)});(12 B(){11(E.1g)16 k(E);e.1J.3f[x]=3b(B,20)})();16 u});n.1q===0&&k(n)});16 e}12 j(c,f,l,k){12 n(y){11(h.2u(O))16 m;G.15.2E("13-"+o+"-2k");22(e.1J.15);22(e.1J.1a);18 w=12(){e.15(y)};11(a.15.2t>0)e.1J.15=3b(w,a.15.2t);1d w()}12 x(y){11(h.2u(O))16 m;18 w=b(y.3U||y.1h).4D(T)[0]===h[0],S=b(y.3U||y.1h)[0]===G.15[0];22(e.1J.15);22(e.1J.1a);11(a.1a.2w&&(C.1h==="2j"&&w||/2j(4F|4G|4o)/.1N(y.1V)&&(w||S))){y.6t();y.5S();16 m}h.4i(1,1);11(a.1a.2t>0)e.1J.1a=3b(12(){e.1a(y)},a.1a.2t);1d e.1a(y)}12 E(y){11(h.2u(O))16 m;22(e.1J.2k);e.1J.2k=3b(12(){e.1a(y)},a.1a.2k)}12 I(y){11(!e.1y.3R){e.1y.3R=1;i()&&e.2m(y);e.1y.3R=0}}18 B=".13-"+o,C=a.1j,G={15:a.15.1h,1a:a.1a.1h,1L:C.1L[0]===v?1M:C.1L},N={15:2V(a.15.1v).3h(" "),1a:2V(a.1a.1v).3h(" ")},P=b.28.2P&&1T(b.28.3D,10)===6;11(l){11(a.1a.2w){G.1a=G.1a.2Q(h);h.1r("5T"+B,12(){h.2u(O)||22(e.1J.1a)})}h.1r("3s"+B+" 4j"+B,12(y){e[y.1V==="3s"?"2x":"2q"](y)})}11(f){11("30"===1m a.1a.2k){G.15.1r("13-"+o+"-2k",E);b.1A(b.1c.13.4M,12(y,w){G.1a.2Q(e.1F.1x).1r(w+B+"-2k",E)})}b.1A(N.1a,12(y,w){18 S=b.5U(w,N.15);11(S>-1&&b(G.1a).2Q(G.15).1q===b(G.1a).1q||w==="4J"){G.15.1r(w+B,12(K){i()?x(K):n(K)});2S N.15[S]}1d G.1a.1r(w+B,x)})}c&&b.1A(N.15,12(y,w){G.15.1r(w+B,n)});11(k){11(C.2H.2y||C.2h)b(b.1v.5V.2y?C.2h:M).1r("2y"+B,I);11(C.2h||P&&h.1e("1j")==="2w")b(C.2h).1r("3X"+B,I);/4J/i.1N(a.1a.1v)&&b(1M).1r("49"+B,12(y){b(y.1h).4D(T).1q===0&&b(y.1h).2Q(d).1q>1&&i()&&!h.2u(O)&&e.1a(y)});C.1h==="2j"&&b(1M).1r("4a"+B,12(y){11(C.2H.2j&&!h.2u(O)&&i())e.2m(y||b.1c.13.2j)})}}12 t(c,f,l,k){k=1T(k,10)!==0;18 n=".13-"+o;f={15:c?a.15.1h:F,1a:f?a.1a.1h:F,1x:l?e.1F.1x:F,1b:l?e.1F.1b:F,1L:k?a.1j.1L[0]===v?1M:a.1j.1L:F,4m:k?M:F};11(e.1E)b([]).6g(b.5W([f.15,f.1a,f.1x,f.1L,f.1b,f.4m],12(){16 19!==4t})).1X(n);1d c&&f.15.1X(n+"-2J")}18 e=19,v=1M.3i,r=J+"-"+o,h;e.1w=o;e.1E=m;e.1F={1h:d};e.1J={3f:[]};e.2z=a;e.1i={};e.1y={1v:{},1h:F,2L:m,5s:v};b.1H(e,{2b:12(c){11(e.1E)16 m;18 f=e.1F,l=a.1b.1K,k=a.1b.1p.1K,n=b.3t("5X");d.1t({"1W-5Y":r,"1W-6b":r,"1W-5Z":u,"1W-46":r});h=f.1x=b("<2B/>").1t({1w:r,"1S":J+" 13 1I-4E-4B "+a.1n.3v,4w:"60","1W-6f":"61","1W-3S":m,"1W-46":r+"-1b","1W-3N":u}).2A(O,e.1y.2L).2a("13",e).2X(a.1j.1L).2T(f.1b=b("<2B />",{"1S":J+"-1b",1w:r+"-1b","1W-3S":u}));e.1E=u;11(k){A();D(k)}H(l);b.1A(b.1c.13.1i,12(){19.2F==="2b"&&19(e)});j(1,1,1,1);b.1A(a.4n,12(x,E){11(E)h.1r(x==="2g"?"2Z 4k":"1x"+x,E)});h.3F("3V",12(x){n.3j=e.1y.1v;h.2E(n,[e]);11(a.15.33||c){h.1a();e.15(e.1y.1v)}x()});16 e},4g:12(c){3J(c.2C()){24"4r":c={1g:h.2R(),1f:h.3m()};1U;24"1o":c=p(h[0],a.1j.1L[0]);1U;47:c=g(c.2C());c=c[0].1B?c[0].1O():c[0].23?c[0]:c[0][c[1]];1U}16 c},3r:12(c,f){c=c.2C();18 l=g(c),k=e.1F,n,x,E,I={62:{"^1w$":12(){18 B=f===u?b.1c.13.3Y:f,C=J+"-"+B;11(B!==m&&B.1q>0&&!b("#"+C).1q){h[0].1w=C;k.1b[0].1w=C+"-1b";k.1p[0].1w=C+"-1p"}},"^1b.1K$":12(){H(f)},"^1b.1p.1K$":12(){11(!f)16 s();!e.1F.1p&&f&&A();D(f)},"^1b.1p.1Y$":12(){18 B=e.1F.1Y,C=e.1F.1p;11(e.1E)11(f){C||A();q()}1d B.26()},"^1j.(1Z|2s)$":12(){18 B=/1Z$/i.1N(c)?"1Z":"2s";11("1O"===1m f)a.1j[B]=25 b.1c.13.1i.2K(f)},"^1j.1L$":12(){e.1E===u&&h.2X(f)},"^(15|1a).(1v|1h|2w|2t|2k)$":12(B,C,G,N){18 P=c.43(/2w/i)>-1?[0,[0,1,1,1]]:[c.2W(0,3),c.3g(0)==="s"?[1,0,0,0]:[0,1,0,0]];11(P[0])B[C]=N;t.3a(e,P[1]);11(P[0])B[C]=G;j.3a(e,P[1])},"^15.33$":12(){e.1E===m&&e.15()},"^1n.3v$":12(){h.1t("1S",J+" 13 1I-4E-4B "+f)},"^1n.2D|1b.1p":z,"^4n.(2b|15|4o|1a|2x|2q)$":12(B,C,G){k.1x[(b.2v(f)?"":"64")+"1r"]("1x"+C,G)},"^1j.(1Z|2s|2H|1h|1L)|1n|1b":12(){e.2m()}}};b.1A(e.1i,12(B){11("1D"===1m 19.38)I[B]=19.38});n=l[0][l[1]];l[0][l[1]]=f.65?b(f):f;W(a);2G(x 2f I)2G(E 2f I[x])66(E,"i").1N(c)&&I[x][E].21(e,l[0],l[1],f,n);16 e},2g:12(c,f){12 l(){11(c)b.28.2P&&h[0].1n.4R("3w");1d h.1e({36:"",4H:"3N",1f:"",3O:"",17:"",14:""})}11(e.1E===m)16 m;18 k=c?"15":"1a",n=a[k],x=i();11((1m c).43("39|30"))c=!x;11(!x&&!c||h.4h(":67"))16 e;11(f){11(/68|69/.1N(f.1V)&&/4F|4G/.1N(e.1y.1v.1V)&&f.1h===a.15.1h[0]&&h.6a(f.3U).1q)16 e;e.1y.1v=b.1H({},f)}x=b.3t("1x"+k);x.3j=f?e.1y.1v:F;h.2E(x,[e,3x]);11(x.41())16 e;h.1t("1W-3N",!!!c);11(c){h.1a().1e({4H:""});e.2x(f);e.2m(f,0);n.5q&&b(T).3z(h).13("1a")}1d{22(e.1J.15);e.2q(f)}h.4i(1,1);11(b.2v(n.2p)){n.2p.21(h,e);h.3F("3V",12(E){l.21(19,E);E()})}1d 11(n.2p===m){h[k]();l.21(h)}1d h.5r(3x,c?1:0,l);c&&n.1h.2E("13-"+o+"-2k");16 b.1c.13.6c=e},15:12(c){e.2g(u,c)},1a:12(c){e.2g(m,c)},2x:12(c){11(e.1E===m)16 m;18 f=b(T),l=1T(h[0].1n.3u,10),k=b.1c.13.57+f.1q;c=b.1H({},c);11(!h.2u(V)){11(l!==k){f.1A(12(){11(19.1n.3u>l)19.1n.3u-=1});b(T+"."+V).13("2q",c)}e.1y.5s=1M.4c;f=b.3t("6d");f.3j=c;h.2E(f,[e,k]);11(!f.41())h.48(V)[0].1n.3u=k}16 e},2q:12(c){c=b.1H({},c);18 f;h.4U(V);f=b.3t("6e");f.3j=c;h.2E(f,[e])},2m:12(c,f){11(e.1E===m)16 m;18 l=a.1j.1h,k=a.1j,n=k.1Z,x=k.2s,E=k.2H,I=h.3m(),B=h.2R(),C=0,G=0,N=b.3t("4l"),P=h.1e("1j")==="2w",y=k.2h.23?k.2h:b(M),w={17:0,14:0},S={17:12(K){18 L=y.31,Q=x.x==="17"?C:x.x==="1u"?-C:-C/2,U=L-K;L=K+I-y.1f-L;Q=(n.x==="17"?I:n.x==="1u"?-I:-I/2)-(n.1B==="x"||n.x===n.y?Q:0);11(U>0&&(n.x!=="17"||L>0))w.17-=Q;1d 11(L>0&&(n.x!=="1u"||U>0))w.17-=(n.x==="1G"?-1:1)*Q+2*E.x;11(w.17<0&&-w.17>L)w.17=K;16 w.17-K},14:12(K){18 L=y.32,Q=x.y==="14"?G:x.y==="1s"?-G:-G/2,U=L-K;L=K+B-y.1g-L;Q=(n.y==="14"?B:n.y==="1s"?-B:-B/2)-(n.1B==="y"||n.x===n.y?Q:0);11(U>0&&(n.y!=="14"||L>0))w.14-=Q;1d 11(L>0&&(n.y!=="1s"||U>0))w.14-=(n.y==="1G"?-1:1)*Q+2*E.y;11(w.14<0&&-w.14>L)w.14=K;16 w.14-K}};f=f===R||!!f||m;y=!y?m:{4P:y,1g:y[(y[0]===M?"h":"6i")+"6j"](),1f:y[(y[0]===M?"w":"6k")+"6l"](),31:y.31(),32:y.32()};11(l==="2j"){x={x:"17",y:"14"};c=c&&(c.1V==="2y"||c.1V==="3X")?e.1y.1v:E.2j||!c||!c.3K?b.1H({},b.1c.13.2j):c;w={14:c.4p,17:c.3K}}1d{11(l==="1v")l=c&&c.1h&&c.1V!=="3X"&&c.1V!=="2y"?e.1y.1h=b(c.1h):e.1y.1h;l=b(l).5k(0);11(l.1q===0)16 e;1d 11(l[0]===1M||l[0]===M){C=l.1f();G=l.1g();11(l[0]===M)w={14:P?0:y.32,17:P?0:y.31}}1d 11(l.4h("6n")&&b.1c.13.1i.3T){w=b.1c.13.1i.3T(l,x);C=w.1f;G=w.1g;w=w.1o}1d{C=l.3m();G=l.2R();w=p(l[0],k.1L[0])}w.17+=x.x==="1u"?C:x.x==="1G"?C/2:0;w.14+=x.y==="1s"?G:x.y==="1G"?G/2:0}w.17+=E.x+(n.x==="1u"?-I:n.x==="1G"?-I/2:0);w.14+=E.y+(n.y==="1s"?-B:n.y==="1G"?-B/2:0);w.44=k.2h.23&&l[0]!==M&&l[0]!==v?{17:S.17(w.17),14:S.14(w.14)}:{17:0,14:0};h.1t("1S",12(){16 b(19).1t("1S").2N(/1I-1x-4O-\\w+/i,"")}).48(J+"-4O-"+n.4X());N.3j=b.1H({},c);h.2E(N,[e,w,y.4P]);11(N.41())16 e;2S w.44;11(!f||!76(w.17,w.14))h.1e(w);1d 11(i()&&b.2v(k.2p)){k.2p.21(h,e,w);h.3F(12(K){b(19).1e({3O:"",1g:""});b.28.2P&&19.1n&&19.1n.4R("3w");K()})}16 e},3d:12(){11(!e.1E||!(b.28.2P&&b.28.3D<8))16 m;18 c=J+"-6s",f;h.1e({1f:"4S",1g:"4S"}).48(c);f={1g:h.2R(),1f:h.3m()};b.1A(["1f","1g"],12(l,k){18 n=1T(h.1e("34-"+k),10)||0,x=1T(h.1e("4T-"+k),10)||0;f[k]=n+x?1C.4T(1C.34(f[k],x),n):f[k]});h.1e(f).4U(c)},4e:12(c){18 f=O;11("39"!==1m c)c=!(h.2u(f)||e.1y.2L);11(e.1E){h.2A(f,c);h.1t("1W-2L",c)}1d e.1y.2L=!!c;16 e},2o:12(){18 c=d.2a("3Z");11(e.1E){h.26();b.1A(e.1i,12(){19.2F==="2b"&&19.2o()})}22(e.1J.15);22(e.1J.1a);t(1,1,1,1);d.54("13");c&&d.1t("1p",c);d.4d("1W-46");16 d}})}12 4V(d,a){18 o,g,p=b(19),i=b(1M.3i),z=19===1M?i:p;g=p.2i?p.2i(a.2i):F;18 s=b.1H(u,{},b.1c.13.3q,a,W((g&&a.2i.1V==="6w"?g[a.2i.58]:F)||g));p.54("2i");g=s.1j;11("39"===1m s.1b.1K)11(s.1b.1t!==m&&p.1t(s.1b.1t))s.1b.1K=p.1t(s.1b.1t);1d 16 m;11(g.1L===m)g.1L=i;11(g.1h===m)g.1h=z;11(s.15.1h===m)s.15.1h=z;11(s.1a.1h===m)s.1a.1h=z;11(s.1j.2h===u)s.1j.2h=g.1L;g.2s=25 b.1c.13.1i.2K(g.2s);g.1Z=25 b.1c.13.1i.2K(g.1Z);11(p.2a("13"))11(s.4b)p.13("2o");1d 11(s.4b===m)16 m;p.1t("1p")&&p.2a("3Z",p.1t("1p")).4d("1p");o=25 Z(p,s,d);p.2a("13",o);p.1r("26.13",12(){o.2o()});16 o}12 4s(d){18 a=19,o=d.1F.1x,g=d.2z.1b.1R;a.38={"^1b.1R":12(p,i){11(i==="2c")a.2c();1d g&&g.3C&&a.3e()}};b.1H(a,{2n:12(){11(g&&g.3C){a.3e();o.6x("2Z",a.2c)}},2c:12(){g.2c?a.2o():o.1r("2Z.13-1R",a.3e)},3e:12(){b.1R(b.1H({6y:12(p){d.3r("1b.1K",p)},53:12(p,i,z){d.3r("1b.1K",i+": "+z)},6z:d},g));16 a},2o:12(){o.1X(".13-1R")}});a.2n()}12 Y(d,a,o){18 g=1C.3c(a/2),p=1C.3c(o/2);a={4Y:[[0,0],[a,o],[a,0]],4Z:[[0,0],[a,0],[0,o]],52:[[0,o],[a,0],[a,o]],55:[[0,0],[0,o],[a,o]],6A:[[0,o],[g,0],[a,o]],6B:[[0,0],[a,0],[g,o]],6D:[[0,0],[a,p],[0,o]],6E:[[a,0],[a,o],[0,p]]};a.6F=a.4Y;a.6G=a.4Z;a.6H=a.52;a.6I=a.55;16 a[d.1O()]}12 4v(d){12 a(j,t,e){11(i.1l){j=b.1H({},g.1z);t=e.44;18 v;11(g.1z.2w!==u){11(t.17)j.x=j.x==="1G"?t.17>0?"17":"1u":j.x==="17"?"1u":"17";11(t.14)j.y=j.y==="1G"?t.14>0?"14":"1s":j.y==="14"?"1s":"14";11(j.1O()!==s.1z&&(s.14!==t.14||s.17!==t.17))v=g.3k(j)}v||(v=g.1j(j,0));11(v.1u!==R)v.17=v.1u;11(v.1s!==R)v.14=v.1s;v.3I=1C.34(0,p.1o);e.17-=v.17.3g?v.3I:(v.1u?-1:1)*v.17;e.14-=v.14.3g?v.3I:(v.1s?-1:1)*v.14;s.17=t.17;s.14=t.14;s.1z=j.1O()}}12 o(j,t,e){t=!t?j[j.1B]:t;t="1k-"+t+"-1f";j=1T((i.1Q&&j.y==="14"?i.1Q:i.1b).1e(t),10);16(e?j||1T(z.1e(t),10):j)||0}18 g=19,p=d.2z.1n.1l,i=d.1F,z=i.1x,s={14:0,17:0,1z:""},q={1f:p.1f,1g:p.1g},A={},D=p.1k||0,H=p.2M||m;g.1z=F;g.3A=F;g.38={"^1j.1Z|1n.1l.(1z|3A|2M|1k)$":12(){g.2n()||g.2o();d.2m()},"^1n.1l.(1g|1f)$":12(){q={1f:p.1f,1g:p.1g};g.2J();g.3k();d.2m()},"^1b.1p.1K|1n.(3v|2D)$":12(){i.1l&&g.3k()}};b.1H(g,{2n:12(){18 j=g.56();11(j){11(H!=="3p")H=b("<2I />")[0].3W?"2I":b.28.2P?"3n":"3p";g.2J();g.3k();z.1X(".13-1l").1r("4l.13-1l",a)}16 j},56:12(){18 j=p.1z,t=d.2z.1j,e=t.2s;t=t.1Z.1O?t.1Z.1O():t.1Z;11(j===m||t===m&&e===m)16 m;1d 11(j===u)g.1z=25 b.1c.13.1i.2K(t);1d 11(!j.1O){g.1z=25 b.1c.13.1i.2K(j);g.1z.2w=u}16 g.1z.1O()!=="4C"},5b:12(){18 j=i.1l.1e({6M:"",1k:""}),t=g.1z,e=t[t.1B],v="1k-"+e+"-2Y";e="1k"+e.3g(0)+e.2W(1)+"6O";18 r=/6P?\\(0, 0, 0(, 0)?\\)|3o/i;t=i.1Q&&(t.y==="14"||t.y==="1G"&&j.1j().14+q.1g/2+p.1o",{"1S":"1I-1x-1l"}).1e(q).6U(z);3J(H){24"2I":b(\'<2I 1g="\'+t+\'" 1f="\'+j+\'" />\').2X(i.1l)[0].3W("2d").5f();1U;24"3n":j=\'<3n:42 6V="0,0" 6X="\'+j+" "+t+\'" 6Y="3Q" 1n="70:3C(#47#72); 36:73-3L; 1j:3M; 5h:3Q; 17: 0; 14: 0; 1f:\'+j+"2r; 1g:"+t+\'2r;">\';i.1l.3G(D?j+=j:j);1U;24"3p":i.1l.2T(\'<2B 1S="1I-1x-1l-77" />\').2T(D?\'<2B 1S="1I-1x-1l-1k" />\':"");1U}},3k:12(j){18 t=i.1l.79(),e=q.1f,v=q.1g,r=p.3A,h,c,f,l,k;11(!j)j=g.1z;11(r===m)r=j;1d{r=25 b.1c.13.1i.2K(r);r.1B=j.1B;11(r.x==="3B")r.x=j.x;1d 11(r.y==="3B")r.y=j.y;1d 11(r.x===r.y)r[j.1B]=j[j.1B]}D=p.1k===u?o(j,F,u):p.1k;h=D>0?0:1;l=r.1O().7a("1G")>-1;k=1C[/b|r/.1N(r[r.1B==="y"?"x":"y"])?"3c":"2O"];j=g.1j(j,1);g.5b();3J(H){24"2I":c=t[0].3W("2d");c.5d&&c.5d();c.7c(0,0,5e,5e);2G(f=Y(r,e,v);h<2;h++){11(h){c.5f();c.7d(k((r.x==="17"?1:r.x==="1u"?-1:0)*(D+1)*(r.1B==="y"?0.5:1)),k((r.y==="14"?1:r.y==="1s"?-1:0)*(D+1)*(r.1B==="x"?0.5:1)))}c.7e();c.7f(f[0][0],f[0][1]);c.5g(f[1][0],f[1][1]);c.5g(f[2][0],f[2][1]);c.7g();c.7h=A[h?"27":"1k"];c.27()}1U;24"3n":f=Y(r,e,v);f="m"+f[0][0]+","+f[0][1]+" l"+f[1][0]+","+f[1][1]+" "+f[2][0]+","+f[2][1]+" 7k";t.1A(12(n){b(19).1t({7l:f,7m:A[n||!D?"27":"1k"]}).1e("5h",""+l)});1U;24"3p":t.4d("1n").1e({1j:"3M",17:0,14:0}).1A(12(n){18 x={x:r.1B==="x"?r.x==="17"?"1u":"17":r.x,y:r.1B==="y"?r.y==="14"?"1s":"14":r.y},E=r.x==="1G"?["17","1u",x.y,v,e]:["14","1s",x.x,e,v];n=A[!n&&D?"1k":"27"];r.x==="1G"||r.y==="1G"?b(19).1e("1k-"+E[2],E[3]+"2r 4f "+n).1e("1k-"+E[0],k(E[4]/2)+"2r 5i 3o").1e("1k-"+E[1],k(E[4]/2)+"2r 5i 3o"):b(19).1e("1k-1f",k(v/2)+"2r "+k(e/2)+"2r").1e("1k-"+x.x,k(e/2)+"2r 4f "+n).1e("1k-"+x.y,k(v/2)+"2r 4f "+n)});1U}11(H!=="2I"&&D){h=[D*2.75,D];h=r.1B==="y"?[r.x==="17"?h[1]:r.x==="1u"?-h[1]:0,r.y==="1s"?-h[0]:h[0]]:[r.x==="17"?h[0]:-h[0],r.y==="1s"?-h[1]:r.y==="14"?h[1]:0];t.5k(1).1e({17:h[0],14:h[1]})}16 j},1j:12(j,t){18 e=i.1l,v={},r=1C.34(0,p.1o),h,c;11(p.1z===m||!e)16 m;j=j||g.1z;h=j.1B;c=q[h==="x"?"1f":"1g"];b.1A(h==="y"?[j.x,j.y]:[j.y,j.x],12(f,l){18 k;11(l==="1G"){k=h==="y"?"17":"14";v[k]="50%";v["5o-"+k]=-1C.2O(c/2)+r}1d{o(j,l,u);11(f||D===R)k=o(j,l);1d{k=b.28.7p;18 n=j.y+(k?"":"-")+j.x;k=(k?"-7q-":b.28.5m?"-5m-":"")+(k?"1k-5n-"+n:"1k-"+n+"-5n");k=1T((i.1Q&&j.y==="14"?i.1Q:i.1b).1e(k),10)||1T(z.1e(k),10)||0;k=r+k}v[l]=k}});v[j[h]]-=c;t&&e.1e({14:"",1s:"",17:"",1u:"",5o:""}).1e(v);16 v},2o:12(){i.1l&&i.1l.26();z.1X(".13-1l")}});g.2n()}12 59(d){18 a=19,o=d.2z.15.1P,g=d.1F,p=g.1x;a.38={"^15.1P.(35|2q)$":12(){a.2n();g.29.2g(p.4h(":5p"))}};b.1H(a,{2n:12(){11(o.35){p.1X(".2e").1r("2Z.2e 4k.2e",12(i,z,s){i=i.1V.2N("1x","");b.2v(o[i])?o[i].21(g.29,s,z):a[i](s)});a.2J();o.2q===u&&g.29.1X(".2e"+d.1w).1r("40.2e"+d.1w,12(){d.1a.21(d)})}},2J:12(){18 i=b("#13-29");11(i.1q)g.29=i;1d{g.29=b("<2B />",{1w:"#13-29".2W(1),1e:{1j:"3M",14:0,17:0,36:"7r",3u:1T(p.1e("z-4q"),10)-1}}).2X(1M.3i);b(M).1r("2y.2e",12(){g.29.1e({1g:1C.34(b(M).1g(),b(1M).1g()),1f:1C.34(b(M).1f(),b(1M).1f())})}).2E("2y")}},2g:12(i){18 z=g.29,s=d.2z.15.1P.2p,q=i?"15":"1a";z.4i(u,m);11(b.2v(s))s.21(z,i);1d s===m?z[q]():z.5r(3x,i?0.7:0,12(){i||b(19).1a()})},15:12(){a.2g(u)},1a:12(){a.2g(m)},2o:12(){18 i=u;b("*").1A(12(){18 z=b(19).2a("13");11(z&&z.1w!==d.1w&&z.2z.15.1P)16 i=m});11(i){g.29.26();b(M).1X(".2e")}1d g.29.1X(".2e"+d.1w);p.1X("2Z.2e 4k.2e")}});a.2n()}12 4N(d){18 a=19,o=d.1F,g=o.1x,p=".2l-"+d.1w,i="4l"+p+" 2Z"+p;b.1H(a,{2n:12(){o.2l=b(\'<3P 1S="1I-1x-2l" 7t="0" 7u="-1" 7v="7x:\\\'\\\';" 1n="36:3L; 1j:3M; z-4q:-1; 3w:5t(3O=0);">\');o.2l.2X(g);g.1r(i,a.2H)},2H:12(){18 z=d.4g("4r"),s=d.1i.1l,q=d.1F.1l,A;A=1T(g.1e("1k-17-1f"),10)||0;A={17:-A,14:-A};11(s&&q){s=s.1z.1B==="x"?["1f","17"]:["1g","14"];A[s[1]]-=q[s[0]]()}o.2l.1e(A).1e(z)},2o:12(){a.3P.26();g.1X(i)}});a.2n()}18 u=4L,m=3Q,F=4t,J="1I-1x",X="1I-2D",O="1I-37-2L",T=".13."+J,V=J+"-2x",$="-5v";b.1c.13=12(d,a,o){18 g=2V(d).2C(),p=F,i=g==="4e"?[u]:b.5w(2U).4I(1,10),z=i[i.1q-1],s;11(!2U.1q&&19.2a("13")||g==="5x")16(s=19.2a("13"))?s:R;1d 11("1O"===1m d){19.1A(12(){18 q=b(19).2a("13");11(!q)16 u;11(/3I|3r/.1N(g)&&a)11(o!==R)q.3r(a,o);1d p=q.4g(a);1d{11(!q.1E&&(g==="15"||g==="2g")){11(z&&z.5D)q.1y.1v=z;q.2b(1)}1d 11(g==="5F"){g="4e";i=[m]}q[g]&&q[g].3a(q[g],i)}});16 p!==F?p:19}1d 11("1D"===1m d||!2U.1q){s=W(b.1H(u,{},d));16 b.1c.13.1r.21(19,s,z)}};b.1c.13.1r=12(d,a){16 19.1A(12(){12 o(A){12 D(){q.2b(1m A==="1D"||g.15.33);p.15.1X(i.15);p.1a.1X(i.1a)}11(q.1y.2L)16 m;q.1y.1v=b.1H({},A);11(g.15.2t>0){22(q.1J.15);q.1J.15=3b(D,g.15.2t);i.15!==i.1a&&p.1a.1r(i.1a,12(){22(q.1J.15)})}1d D()}18 g,p,i,z=d.1w=!d.1w||d.1w===m||d.1w.1q<1||b("#"+J+"-"+d.1w).1q?b.1c.13.3Y++:d.1w,s=".13-"+z+"-2J",q=4V.21(19,z,d);11(q===m)16 u;g=q.2z;b.1A(b.1c.13.1i,12(){19.2F==="2F"&&19(q)});p={15:g.15.1h,1a:g.1a.1h};i={15:2V(g.15.1v).2N(" ",s+" ")+s,1a:2V(g.1a.1v).2N(" ",s+" ")+s};p.15.1r(i.15,o);11(g.15.33||g.5c)o(a)})};b.1A({1t:12(d){18 a=b(19),o=a.2a("13");16 2U.1q===1&&d==="1p"&&o&&o.1E===u?a.2a("3Z"):F},26:b.1I?F:12(d,a){b(19).1A(12(){11(!a)11(!d||b.3w(d,[19]).1q)b("*",19).2Q(19).1A(12(){b(19).63("26")})})}},12(d,a){11(!a)16 u;b.1c["4K"+d]=b.1c[d];b.1c[d]=12(){16 a.3a(19,2U)||b.1c["4K"+d].3a(19,2U)}});b(1M).33(12(){18 d=1M,a=d.3i;b(d).1r("4a.13",12(o){b.1c.13.2j={3K:o.3K,4p:o.4p}});d.4c===R&&d.6h("2x",12(o){11(o&&o.1h)d.4c=o.1h===d?a:o.1h},4L)});b.1c.13.3D="2.0.6m";b.1c.13.3Y=0;b.1c.13.4M="40 6o 49 4Q 4a 4j 3s".3h(" ");b.1c.13.57=6r;b.1c.13.1i={2K:12(d){d=2V(d).2N(/([A-Z])/," $1").2N(/6u/6v,"1G").2C();19.x=(d.45(/17|1u/i)||d.45(/1G/)||["3B"])[0].2C();19.y=(d.45(/14|1s|1G/i)||["3B"])[0].2C();19.1B=d.3g(0).43(/^(t|b)/)>-1?"y":"x";19.1O=12(){16 19.1B==="y"?19.y+19.x:19.x+19.y};19.4X=12(){18 a=19.x.2W(0,1),o=19.y.2W(0,1);16 a===o?a:a==="c"||a!=="c"&&o!=="c"?o+a:a+o}},51:6J((/6K.+6N ([0-6Q]{3}).*6T.*6W/i.6Z(71.74)||[0,"78"])[1].2N("7b","."))<4.1};b.1c.13.3q={5c:m,1w:m,4b:u,2i:{1V:"1S"},1b:{1K:u,1t:"1p",1p:{1K:m,1Y:m}},1j:{1Z:"14 17",2s:"1s 1u",1h:m,1L:m,2h:m,2H:{x:0,y:0,2j:u,2y:u},2p:u},15:{1h:m,1v:"3s",2p:u,2t:3x,5q:m,33:m},1a:{1h:m,1v:"4j",2p:u,2t:0,2w:m,2k:m},1n:{3v:"",2D:m},4n:{2b:F,4o:F,15:F,1a:F,2g:F,2x:F,2q:F}};b.1c.13.1i.1R=12(d){18 a=d.1i.1R;16"1D"===1m a?a:d.1i.1R=25 4s(d)};b.1c.13.1i.1R.2F="2b";b.1c.13.1i.1R.3l=12(d){18 a=d.1b;11(a&&"1R"2f a){a=a.1R;11(1m a!=="1D")a=d.1b.1R={3C:a};11("39"!==1m a.2c&&a.2c)a.2c=!!a.2c}};b.1H(u,b.1c.13.3q,{1b:{1R:{2c:u}}});b.1c.13.1i.1l=12(d){18 a=d.1i.1l;16"1D"===1m a?a:d.1i.1l=25 4v(d)};b.1c.13.1i.1l.2F="2b";b.1c.13.1i.1l.3l=12(d){18 a=d.1n;11(a&&"1l"2f a){a=d.1n.1l;11(1m a!=="1D")d.1n.1l={1z:a};11(!/1O|39/i.1N(1m a.1z))a.1z=u;11(1m a.2M!=="1O")a.2M=u;11(!/2I|3p/i.1N(a.2M))a.2M=u;1m a.1f!=="30"&&2S a.1f;1m a.1g!=="30"&&2S a.1g;1m a.1k!=="30"&&a.1k!==u&&2S a.1k;1m a.1o!=="30"&&2S a.1o}};b.1H(u,b.1c.13.3q,{1n:{1l:{1z:u,3A:m,2M:u,1f:8,1g:8,1k:u,1o:0}}});b.1c.13.1i.3T=12(d,a){12 o(H,j){2G(18 t=0,e=1,v=1,r=0,h=0,c=H.1f,f=H.1g;c>0&&f>0&&e>0&&v>0;){c=1C.2O(c/2);f=1C.2O(f/2);11(a.x==="17")e=c;1d 11(a.x==="1u")e=H.1f-c;1d e+=1C.2O(c/2);11(a.y==="14")v=f;1d 11(a.y==="1s")v=H.1g-f;1d v+=1C.2O(f/2);2G(t=j.1q;t--;){11(j.1q<2)1U;r=j[t][0]-H.1o.17;h=j[t][1]-H.1o.14;11(a.x==="17"&&r>=e||a.x==="1u"&&r<=e||a.x==="1G"&&(rH.1f-e)||a.y==="14"&&h>=v||a.y==="1s"&&h<=v||a.y==="1G"&&(hH.1g-v))j.6q(t,1)}}16{17:j[0][0],14:j[0][1]}}18 g=d.1t("42").2C(),p=d.1t("6C").3h(","),i=[],z=b(\'3f[6L="#\'+d.6R("5l").1t("58")+\'"]\'),s=z.1o(),q={1f:0,1g:0,1o:{14:5a,1u:0,1s:0,17:5a}},A=0,D=0;s.17+=1C.3c((z.3m()-z.1f())/2);s.14+=1C.3c((z.2R()-z.1g())/2);11(g==="4u")2G(A=p.1q;A--;){D=[1T(p[--A],10),1T(p[A+1],10)];11(D[0]>q.1o.1u)q.1o.1u=D[0];11(D[0]q.1o.1s)q.1o.1s=D[1];11(D[1]