diff --git a/dist/jquery.qtip.css b/dist/jquery.qtip.css index 22fb6175..309fa007 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: Tue Apr 26 13:30:25 2011 +0100 +* Date: Tue Apr 26 13:49:46 2011 +0100 */ /* Fluid class for determining actual width in IE */ diff --git a/dist/jquery.qtip.js b/dist/jquery.qtip.js index 942370fa..c39bfe85 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: Tue Apr 26 13:30:25 2011 +0100 +* Date: Tue Apr 26 13:49:46 2011 +0100 */ "use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/ @@ -1159,18 +1159,6 @@ function QTip(target, options, id, attr) } }; - - - // Cache our viewport details - viewport = !viewport ? FALSE : { - elem: viewport, - height: viewport[ (viewport[0] === window ? 'h' : 'outerH') + 'eight' ](), - width: viewport[ (viewport[0] === window ? 'w' : 'outerW') + 'idth' ](), - scrollLeft: viewport.scrollLeft(), - scrollTop: viewport.scrollTop(), - offset: viewport.offset() || { left:0, top: 0 } - }; - // Check if mouse was the target if(target === 'mouse') { // Force left top to allow flipping @@ -1178,8 +1166,9 @@ function QTip(target, options, id, attr) // Use cached event if one isn't available for positioning event = event && (event.type === 'resize' || event.type === 'scroll') ? cache.event : - !adjust.mouse && cache.origin ? cache.origin : - adjust.mouse || !event || !event.pageX ? { pageX: MOUSE.pageX, pageY: MOUSE.pageY } : event; + !adjust.mouse && cache.origin ? cache.origin : + MOUSE && (adjust.mouse || !event || !event.pageX) ? { pageX: MOUSE.pageX, pageY: MOUSE.pageY } : + event; // Use event coordinates for position position = { top: event.pageY, left: event.pageX }; @@ -1206,8 +1195,8 @@ function QTip(target, options, id, attr) if(target[0] === window) { position = { - top: !fixed || PLUGINS.iOS ? viewport.scrollTop : 0, - left: !fixed || PLUGINS.iOS ? viewport.scrollLeft : 0 + top: !fixed || PLUGINS.iOS ? viewport.scrollTop() : 0, + left: !fixed || PLUGINS.iOS ? viewport.scrollLeft() : 0 }; } } @@ -1216,7 +1205,7 @@ function QTip(target, options, id, attr) else if(target.is('area') && PLUGINS.imagemap) { position = PLUGINS.imagemap(target, at); } - else if(target[0].namespaceURI == 'http://www.w3.org/2000/svg' && PLUGINS.svg) { + else if(target[0].namespaceURI === 'http://www.w3.org/2000/svg' && PLUGINS.svg) { position = PLUGINS.svg(target, at); } @@ -1243,16 +1232,29 @@ function QTip(target, options, id, attr) position.left += adjust.x + (my.x === 'right' ? -elemWidth : my.x === 'center' ? -elemWidth / 2 : 0); position.top += adjust.y + (my.y === 'bottom' ? -elemHeight : my.y === 'center' ? -elemHeight / 2 : 0); - // Calculate collision offset values - if(posOptions.viewport.jquery && target[0] !== window && target[0] !== docBody) { + // Calculate collision offset values if viewport positioning is enabled + if(viewport.jquery && target[0] !== window && target[0] !== docBody && + readjust.vertical+readjust.horizontal !== 'nonenone') + { + // Cache our viewport details + viewport = { + elem: viewport, + height: viewport[ (viewport[0] === window ? 'h' : 'outerH') + 'eight' ](), + width: viewport[ (viewport[0] === window ? 'w' : 'outerW') + 'idth' ](), + scrollLeft: viewport.scrollLeft(), + scrollTop: viewport.scrollTop(), + offset: viewport.offset() || { left:0, top: 0 } + }; + + // Adjust position based onviewport and adjustment options position.adjusted = { left: readjust.horizontal !== 'none' ? readjust.left(position.left) : 0, top: readjust.vertical !== 'none' ? readjust.top(position.top) : 0 }; } - else { - position.adjusted = { left: 0, top: 0 }; - } + + //Viewport adjustment is disabled, set values to zero + else { position.adjusted = { left: 0, top: 0 }; } // Set tooltip position class tooltip.attr('class', function(i, val) { @@ -1262,7 +1264,7 @@ function QTip(target, options, id, attr) // Call API method callback.originalEvent = $.extend({}, event); - tooltip.trigger(callback, [self, position, viewport.elem]); + tooltip.trigger(callback, [self, position, viewport.elem || viewport]); if(callback.isDefaultPrevented()){ return self; } delete position.adjusted; diff --git a/dist/jquery.qtip.min.js b/dist/jquery.qtip.min.js index 0fcbe67b..6aa24521 100644 --- a/dist/jquery.qtip.min.js +++ b/dist/jquery.qtip.min.js @@ -9,5 +9,5 @@ * http://en.wikipedia.org/wiki/MIT_License * http://en.wikipedia.org/wiki/GNU_General_Public_License * -* Date: Tue Apr 26 13:30:25 2011 +0100 -*/"use strict",function(a,b,c){function A(b){var c=this,d=b.elements,e=d.tooltip,f=".bgiframe-"+b.id;a.extend(c,{init:function(){d.bgiframe=a(''),d.bgiframe.appendTo(e),e.bind("tooltipmove"+f,c.adjust)},adjust:function(){var a=b.get("dimensions"),c=b.plugins.tip,f=d.tip,g,h;h=parseInt(e.css("border-left-width"),10)||0,h={left:-h,top:-h},c&&f&&(g=c.corner.precedance==="x"?["width","left"]:["height","top"],h[g[1]]-=f[g[0]]()),d.bgiframe.css(h).css(a)},destroy:function(){d.bgiframe.remove(),e.unbind(f)}}),c.init()}function z(c){var f=this,g=c.options.show.modal,h=c.elements,i=h.tooltip,j="#qtip-overlay",k=".qtipmodal",l=k+c.id,m="is-modal-qtip",o;c.checks.modal={"^show.modal.(on|blur)$":function(){f.init(),h.overlay.toggle(i.is(":visible"))}},a.extend(f,{init:function(){if(!g.on)return f;o=f.create(),i.attr(m,d).unbind(k).unbind(l).bind("tooltipshow"+k+" tooltiphide"+k,function(a,b,c){f[a.type.replace("tooltip","")](a,c)}).bind("tooltipfocus"+k,function(a,b,c){o[0].style.zIndex=c-1}).bind("tooltipblur"+k,function(b){a("["+m+"]:visible").not(i).last().qtip("focus",b)}),g.escape&&a(b).unbind(l).bind("keydown"+l,function(a){a.keyCode===27&&i.hasClass(n)&&c.hide(a)}),g.blur&&h.overlay.unbind(l).bind("click"+l,function(a){i.hasClass(n)&&c.hide(a)});return f},create:function(){var c=a(j);if(c.length){h.overlay=c;return c}o=h.overlay=a("
",{id:j.substr(1),css:{position:"absolute",top:0,left:0,display:"none"},mousedown:function(){return e}}).appendTo(document.body),a(b).unbind(k).bind("resize"+k,function(){o.css({height:Math.max(a(b).height(),a(document).height()),width:Math.max(a(b).width(),a(document).width())})}).trigger("resize");return o},toggle:function(b,c,j){if(b&&b.isDefaultPrevented())return f;var k=g.effect,l=c?"show":"hide",n=a("["+m+"]:visible").not(i),p;o||(o=f.create());if(o.is(":animated")&&!c||!c&&n.length)return f;c&&h.overlay.css("cursor",g.blur?"pointer":""),o.stop(d,e),a.isFunction(k)?k.call(o,c):k===e?o[l]():o.fadeTo(parseInt(j,10)||90,c?.7:0,function(){c||a(this).hide()});return f},show:function(a,b){return f.toggle(a,d,b)},hide:function(a,b){return f.toggle(a,e,b)},destroy:function(){var d=o;d&&(d=a("["+m+"]").not(i).length<1,d?(h.overlay.remove(),a(b).unbind(k)):h.overlay.unbind(k+c.id));return i.removeAttr(m).unbind(k)}}),f.init()}function y(b,g){function v(a){var b=a.precedance==="y",c=n[b?"width":"height"],d=n[b?"height":"width"],e=a.string().indexOf("center")>-1,f=c*(e?.5:1),g=Math.pow,h=Math.round,i,j,k,l=Math.sqrt(g(f,2)+g(d,2)),m=[p/f*l,p/d*l];m[2]=Math.sqrt(g(m[0],2)-g(p,2)),m[3]=Math.sqrt(g(m[1],2)-g(p,2)),i=l+m[2]+m[3]+(e?0:m[0]),j=i/l,k=[h(j*d),h(j*c)];return{height:k[b?0:1],width:k[b?1:0]}}function u(b){var c=k.titlebar&&b.y==="top",d=c?k.titlebar:k.content,e=a.browser.mozilla,f=e?"-moz-":a.browser.webkit?"-webkit-":"",g=b.y+(e?"":"-")+b.x,h=f+(e?"border-radius-"+g:"border-"+g+"-radius");return parseInt(d.css(h),10)||parseInt(l.css(h),10)||0}function t(a,b,c){b=b?b:a[a.precedance];var d=k.titlebar&&a.y==="top",e=d?k.titlebar:k.content,f="border-"+b+"-width",g=parseInt(e.css(f),10);return(c?g||parseInt(l.css(f),10):g)||0}function s(f,g,h,l){if(k.tip){var n=a.extend({},i.corner),o=h.adjusted,p=b.options.position.adjust.method.split(" "),q=p[0],r=p[1]||p[0],s={left:e,top:e,x:0,y:0},t,u={},v;i.corner.fixed!==d&&(q==="shift"&&n.precedance==="x"&&o.left&&n.y!=="center"?n.precedance=n.precedance==="x"?"y":"x":q==="flip"&&o.left&&(n.x=n.x==="center"?o.left>0?"left":"right":n.x==="left"?"right":"left"),r==="shift"&&n.precedance==="y"&&o.top&&n.x!=="center"?n.precedance=n.precedance==="y"?"x":"y":r==="flip"&&o.top&&(n.y=n.y==="center"?o.top>0?"top":"bottom":n.y==="top"?"bottom":"top"),n.string()!==m.corner&&(m.top!==o.top||m.left!==o.left)&&i.update(n,e)),t=i.position(n,o),t.right!==c&&(t.left=-t.right),t.bottom!==c&&(t.top=-t.bottom),t.user=Math.max(0,j.offset);if(s.left=q==="shift"&&!!o.left)n.x==="center"?u["margin-left"]=s.x=t["margin-left"]-o.left:(v=t.right!==c?[o.left,-t.left]:[-o.left,t.left],(s.x=Math.max(v[0],v[1]))>v[0]&&(h.left-=o.left,s.left=e),u[t.right!==c?"right":"left"]=s.x);if(s.top=r==="shift"&&!!o.top)n.y==="center"?u["margin-top"]=s.y=t["margin-top"]-o.top:(v=t.bottom!==c?[o.top,-t.top]:[-o.top,t.top],(s.y=Math.max(v[0],v[1]))>v[0]&&(h.top-=o.top,s.top=e),u[t.bottom!==c?"bottom":"top"]=s.y);k.tip.css(u).toggle(!(s.x&&s.y||n.x==="center"&&s.y||n.y==="center"&&s.x)),h.left-=t.left.charAt?t.user:q!=="shift"||s.top||!s.left&&!s.top?t.left:0,h.top-=t.top.charAt?t.user:r!=="shift"||s.left||!s.left&&!s.top?t.top:0,m.left=o.left,m.top=o.top,m.corner=n.string()}}var i=this,j=b.options.style.tip,k=b.elements,l=k.tooltip,m={top:0,left:0,corner:""},n={width:j.width,height:j.height},o={},p=j.border||0,q=".qtip-tip",r=a("")[0].getContext;i.corner=f,i.mimic=f,i.position={},b.checks.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){i.init()||i.destroy(),b.reposition()},"^style.tip.(height|width)$":function(){n={width:j.width,height:j.height},i.create(),i.update(),b.reposition()},"^content.title.text|style.(classes|widget)$":function(){k.tip&&i.update()}},a.extend(i,{init:function(){var b=i.detectCorner()&&(r||a.browser.msie);b&&(i.create(),i.update(),l.unbind(q).bind("tooltipmove"+q,s));return b},detectCorner:function(){var a=j.corner,c=b.options.position,f=c.at,g=c.my.string?c.my.string():c.my;if(a===e||g===e&&f===e)return e;a===d?i.corner=new h.Corner(g):a.string||(i.corner=new h.Corner(a),i.corner.fixed=d);return i.corner.string()!=="centercenter"},detectColours:function(){var c,d,e,f=k.tip.css({backgroundColor:"",border:""}),g=i.corner,h=g[g.precedance],m="border-"+h+"-color",p="border"+h.charAt(0)+h.substr(1)+"Color",q=/rgba?\(0, 0, 0(, 0)?\)|transparent/i,r="background-color",s="transparent",t="ui-tooltip-fluid",u=a(document.body).css("color"),v=b.elements.content.css("color"),w=k.titlebar&&(g.y==="top"||g.y==="center"&&f.position().top+n.height/2+j.offset",{"class":"ui-tooltip-tip"}).css({width:b,height:c}).prependTo(l),r?a("").appendTo(k.tip)[0].getContext("2d").save():(d='',k.tip.html(p?d+=d:d))},update:function(b,c){var g=k.tip,l=g.children(),m=n.width,q=n.height,s="px solid ",u="px dashed transparent",w=j.mimic,y=Math.round,z,A,B,C,D;b||(b=i.corner),w===e?w=b:(w=new h.Corner(w),w.precedance=b.precedance,w.x==="inherit"?w.x=b.x:w.y==="inherit"?w.y=b.y:w.x===w.y&&(w[b.precedance]=b[b.precedance])),z=w.precedance,i.detectColours(),p=o.border==="transparent"||o.border==="#123456"?0:j.border===d?t(b,f,d):j.border,B=x(w,m,q),D=v(b),g.css(D),b.precedance==="y"?C=[y(w.x==="left"?p:w.x==="right"?D.width-m-p:(D.width-m)/2),y(w.y==="top"?D.height-q:0)]:C=[y(w.x==="left"?D.width-m:0),y(w.y==="top"?p:w.y==="bottom"?D.height-q-p:(D.height-q)/2)],r?(l.attr(D),A=l[0].getContext("2d"),A.restore(),A.save(),A.clearRect(0,0,3e3,3e3),A.translate(C[0],C[1]),A.beginPath(),A.moveTo(B[0][0],B[0][1]),A.lineTo(B[1][0],B[1][1]),A.lineTo(B[2][0],B[2][1]),A.closePath(),A.fillStyle=o.fill,A.strokeStyle=o.border,A.lineWidth=p*2,A.lineJoin="miter",A.miterLimit=100,A.stroke(),A.fill()):(B="m"+B[0][0]+","+B[0][1]+" l"+B[1][0]+","+B[1][1]+" "+B[2][0]+","+B[2][1]+" xe",C[2]=p&&/^(r|b)/i.test(b.string())?parseFloat(a.browser.version,10)===8?2:1:0,l.css({antialias:""+(w.string().indexOf("center")>-1),left:C[0]-C[2]*Number(z==="x"),top:C[1]-C[2]*Number(z==="y"),width:m+p,height:q+p}).each(function(b){var c=a(this);c.attr({coordsize:m+p+" "+(q+p),path:B,fillcolor:o.fill,filled:!!b,stroked:!b}).css({display:p||b?"block":"none"}),!b&&p>0&&c.html()===""&&c.html('')})),c!==e&&i.position(b)},position:function(b){var c=k.tip,f={},g=Math.max(0,j.offset),h,l,m;if(j.corner===e||!c)return e;b=b||i.corner,h=b.precedance,l=v(b),m=[b.x,b.y],h==="x"&&m.reverse(),a.each(m,function(a,c){var e,i;c==="center"?(e=h==="y"?"left":"top",f[e]="50%",f["margin-"+e]=-Math.round(l[h==="y"?"width":"height"]/2)+g):(e=t(b,c,d),i=u(b),f[c]=a?t(b,c):g+(i>e?i:0))}),f[b[h]]-=l[h==="x"?"width":"height"],c.css({top:"",bottom:"",left:"",right:"",margin:""}).css(f);return f},destroy:function(){k.tip&&k.tip.remove(),l.unbind(q)}}),i.init()}function x(a,b,c){var d=Math.ceil(b/2),e=Math.ceil(c/2),f={bottomright:[[0,0],[b,c],[b,0]],bottomleft:[[0,0],[b,0],[0,c]],topright:[[0,c],[b,0],[b,c]],topleft:[[0,0],[0,c],[b,c]],topcenter:[[0,c],[d,0],[b,c]],bottomcenter:[[0,0],[b,0],[d,c]],rightcenter:[[0,0],[b,e],[0,c]],leftcenter:[[b,0],[b,c],[0,e]]};f.lefttop=f.bottomright,f.righttop=f.bottomleft,f.leftbottom=f.topright,f.rightbottom=f.topleft;return f[a.string()]}function w(b){var c=this,f=b.elements.tooltip,g=b.options.content.ajax,h=".qtip-ajax",i=/)<[^<]*)*<\/script>/gi,j=d;b.checks.ajax={"^content.ajax":function(a,b,d){b==="ajax"&&(g=d),b==="once"?c.init():g&&g.url?c.load():f.unbind(h)}},a.extend(c,{init:function(){g&&g.url&&f.unbind(h)[g.once?"one":"bind"]("tooltipshow"+h,c.load);return c},load:function(d,h){function p(a,c,d){b.set("content.text",c+": "+d),n()}function o(c){l&&(c=a("
").append(c.replace(i,"")).find(l)),b.set("content.text",c),n()}function n(){m&&(f.css("visibility",""),h=e)}if(d&&d.isDefaultPrevented())return c;var j=g.url.indexOf(" "),k=g.url,l,m=g.once&&!g.loading&&h;m&&f.css("visibility","hidden"),j>-1&&(l=k.substr(j),k=k.substr(0,j)),a.ajax(a.extend({success:o,error:p,context:b},g,{url:k}));return c}}),c.init()}function v(b,c){var i,j,k,l,m=a(this),n=a(document.body),o=this===document?n:m,p=m.metadata?m.metadata(c.metadata):f,q=c.metadata.type==="html5"&&p?p[c.metadata.name]:f,v=m.data(c.metadata.name||"qtipopts");try{v=typeof v==="string"?(new Function("return "+v))():v}catch(w){s("Unable to parse HTML5 attribute data: "+v)}l=a.extend(d,{},g.defaults,c,typeof v==="object"?t(v):f,t(q||p)),p&&a.removeData(this,"metadata"),j=l.position,l.id=b;if("boolean"===typeof l.content.text){k=m.attr(l.content.attr);if(l.content.attr!==e&&k)l.content.text=k;else return e}j.container===e&&(j.container=n),j.target===e&&(j.target=o),l.show.target===e&&(l.show.target=o),l.show.solo===d&&(l.show.solo=n),l.hide.target===e&&(l.hide.target=o),l.position.viewport===d&&(l.position.viewport=j.container),j.at=new h.Corner(j.at),j.my=new h.Corner(j.my);if(a.data(this,"qtip"))if(l.overwrite)m.qtip("destroy");else if(l.overwrite===e)return e;a.attr(this,"title")&&(a.attr(this,r,a.attr(this,"title")),this.removeAttribute("title")),i=new u(m,l,b,!!k),a.data(this,"qtip",i),m.bind("remove.qtip",function(){i.destroy()});return i}function u(c,p,q,s){function L(c,d,e,f){f=parseInt(f,10)!==0;var g=".qtip-"+q,h={show:c&&p.show.target[0],hide:d&&p.hide.target[0],tooltip:e&&u.rendered&&A.tooltip[0],content:e&&u.rendered&&A.content[0],container:f&&p.position.container[0]===v?document:p.position.container[0],window:f&&b};u.rendered?a([]).pushStack(a.grep([h.show,h.hide,h.tooltip,h.container,h.content,h.window],function(a){return typeof a==="object"})).unbind(g):c&&p.show.target.unbind(g+"-create")}function K(d,f,h,j){function D(a){z.is(":visible")&&u.reposition(a)}function C(a){if(z.hasClass(l))return e;clearTimeout(u.timers.inactive),u.timers.inactive=setTimeout(function(){u.hide(a)},p.hide.inactive)}function y(b){if(z.hasClass(l))return e;var c=a(b.relatedTarget||b.target),d=c.closest(m)[0]===z[0],f=c[0]===r.show[0];clearTimeout(u.timers.show),clearTimeout(u.timers.hide);if(n.target==="mouse"&&d||p.hide.fixed&&(/mouse(out|leave|move)/.test(b.type)&&(d||f))){b.stopPropagation(),b.preventDefault();return e}p.hide.delay>0?u.timers.hide=setTimeout(function(){u.hide(b)},p.hide.delay):u.hide(b)}function x(a){if(z.hasClass(l))return e;r.show.trigger("qtip-"+q+"-inactive"),clearTimeout(u.timers.show),clearTimeout(u.timers.hide);var b=function(){u.show(a)};p.show.delay>0?u.timers.show=setTimeout(b,p.show.delay):b()}var k=".qtip-"+q,n=p.position,r={show:p.show.target,hide:p.hide.target,container:n.container[0]===v?a(document):n.container,doc:a(document)},s={show:a.trim(""+p.show.event).split(" "),hide:a.trim(""+p.hide.event).split(" ")},t=a.browser.msie&&parseInt(a.browser.version,10)===6,w;h&&(p.hide.fixed&&(r.hide=r.hide.add(z),z.bind("mouseover"+k,function(){z.hasClass(l)||clearTimeout(u.timers.hide)})),n.target==="mouse"&&n.adjust.mouse&&p.hide.event&&z.bind("mouseleave"+k,function(a){(a.relatedTarget||a.target)!==r.show[0]&&u.hide(a)}),z.bind("mouseenter"+k,function(a){u[a.type==="mouseenter"?"focus":"blur"](a)}),z.bind("mouseenter"+k+" mouseleave"+k,function(a){z.toggleClass(o,a.type==="mouseenter")})),f&&("number"===typeof p.hide.inactive&&(r.show.bind("qtip-"+q+"-inactive",C),a.each(g.inactiveEvents,function(a,b){r.hide.add(A.tooltip).bind(b+k+"-inactive",C)})),a.each(s.hide,function(b,c){var d=a.inArray(c,s.show),e=a(r.hide);d>-1&&e.add(r.show).length===e.length||c==="unfocus"?(r.show.bind(c+k,function(a){z.is(":visible")?y(a):x(a)}),delete s.show[d]):r.hide.bind(c+k,y)})),d&&(a.each(s.show,function(a,b){r.show.bind(b+k,x)}),"number"===typeof p.hide.distance&&r.show.bind("mousemove"+k,function(a){var b=B.origin||{},c=p.hide.distance,d=Math.abs;b&&(d(a.pageX-b.pageX)>=c||d(a.pageY-b.pageY)>=c)&&u.hide(a)})),j&&((n.adjust.resize||n.viewport)&&a(a.event.special.resize?n.viewport:b).bind("resize"+k,D),(n.viewport||t&&z.css("position")==="fixed")&&a(n.viewport).bind("scroll"+k,D),/unfocus/i.test(p.hide.event)&&r.doc.bind("mousedown"+k,function(b){var d=a(b.target);d.parents(m).length===0&&d.add(c).length>1&&z.is(":visible")&&!z.hasClass(l)&&u.hide(b)}),p.hide.leave&&/mouseleave|mouseout/i.test(p.hide.event)&&a(b).bind("blur"+k+" mouse"+(p.hide.leave.indexOf("frame")>-1?"out":"leave")+k,function(a){a.relatedTarget||u.hide(a)}),n.target==="mouse"&&r.doc.bind("mousemove"+k,function(a){n.adjust.mouse&&!z.hasClass(l)&&z.is(":visible")&&u.reposition(a||i)}))}function J(b,d){function g(a){function c(c){(b=b.not(this)).length===0&&(u.redraw(),u.reposition(B.event),a())}var b;if((b=f.find("img:not([height]):not([width])")).length===0)return c.call(b);b.each(function(a,b){(function d(){var e=u.timers.img;if(b.height&&b.width){clearTimeout(e[a]);return c.call(b)}e[a]=setTimeout(d,20)})()})}var f=A.content;b=b||p.content.text;if(!u.rendered||!b)return e;a.isFunction(b)&&(b=b.call(c,u)||""),b.jquery&&b.length>0?f.empty().append(b.css({display:"block"})):f.html(b),u.rendered<0?z.queue("fx",g):(y=0,g(a.noop));return u}function I(b){var d=A.title;if(!u.rendered||!b)return e;a.isFunction(b)&&(b=b.call(c,u)||""),b.jquery&&b.length>0?d.empty().append(b.css({display:"block"})):d.html(b),u.redraw(),u.rendered&&z.is(":visible")&&u.reposition(B.event)}function H(a){var b=A.button,c=A.title;if(!u.rendered)return e;a?(c||G(),F()):b.remove()}function G(){var b=w+"-title";A.titlebar&&E(),A.titlebar=a("
",{"class":j+"-titlebar "+(p.style.widget?"ui-widget-header":"")}).append(A.title=a("
",{id:b,"class":j+"-title","aria-atomic":d})).insertBefore(A.content),p.content.title.button?F():u.rendered&&u.redraw()}function F(){var b=p.content.title.button,c=typeof b==="string",d=c?b:"Close tooltip";A.button&&A.button.remove(),b.jquery?A.button=b:A.button=a("",{"class":"ui-state-default "+(p.style.widget?"":j+"-icon"),title:d,"aria-label":d}).prepend(a("",{"class":"ui-icon ui-icon-close",html:"×"})),A.button.appendTo(A.titlebar).attr("role","button").hover(function(b){a(this).toggleClass("ui-state-hover",b.type==="mouseenter")}).click(function(a){z.hasClass(l)||u.hide(a);return e}).bind("mousedown keydown mouseup keyup mouseout",function(b){a(this).toggleClass("ui-state-active ui-state-focus",b.type.substr(-4)==="down")}),u.redraw()}function E(){A.title&&(A.titlebar.remove(),A.titlebar=A.title=A.button=f,u.reposition())}function D(){var a=p.style.widget;z.toggleClass(k,a),A.content.toggleClass(k+"-content",a),A.titlebar&&A.titlebar.toggleClass(k+"-header",a),A.button&&A.button.toggleClass(j+"-icon",!a)}function C(a){var b=0,c,d=p,e=a.split(".");while(d=d[e[b++]])b0&&!a("#"+i).length&&(z[0].id=i,A.content[0].id=i+"-content",A.title[0].id=i+"-title")},"^content.text$":function(a,b,c){J(c)},"^content.title.text$":function(a,b,c){if(!c)return E();!A.title&&c&&G(),I(c)},"^content.title.button$":function(a,b,c){H(c)},"^position.(my|at)$":function(a,b,c){"string"===typeof c&&(a[b]=new h.Corner(c))},"^position.container$":function(a,b,c){u.rendered&&z.appendTo(c)},"^(show|hide).(event|target|fixed|delay|inactive)$":function(a,b,c,d,e){var f=[1,0,0];f[e[1]==="show"?"push":"unshift"](0),L.apply(u,f),K.apply(u,[1,1,0,0])},"^show.ready$":function(){u.rendered?u.show():u.render(1)},"^style.classes$":function(b,c,d){a.attr(z[0],"class",j+" qtip ui-helper-reset "+d)},"^style.widget|content.title":D,"^events.(render|show|move|hide|focus|blur)$":function(b,c,d){z[(a.isFunction(d)?"":"un")+"bind"]("tooltip"+c,d)}},a.extend(u,{render:function(b){if(u.rendered)return u;var f=p.content.title.text,g=a.Event("tooltiprender");a.attr(c[0],"aria-describedby",w),z=A.tooltip=a("
",{id:w,"class":j+" qtip ui-helper-reset "+p.style.classes,width:p.style.width||"",role:"alert","aria-live":"polite","aria-atomic":e,"aria-describedby":w+"-content","aria-hidden":d}).toggleClass(l,B.disabled).data("qtip",u).appendTo(p.position.container).append(A.content=a("
",{"class":j+"-content",id:w+"-content","aria-atomic":d})),u.rendered=-1,y=1,f&&(G(),I(f)),J(),u.rendered=d,D(),a.each(p.events,function(b,c){a.isFunction(c)&&z.bind(b==="toggle"?"tooltipshow tooltiphide":"tooltip"+b,c)}),a.each(h,function(){this.initialize==="render"&&this(u)}),K(1,1,1,1),z.queue("fx",function(a){g.originalEvent=B.event,z.trigger(g,[u]),y=0,u.redraw(),(p.show.ready||b)&&u.show(B.event),a()});return u},get:function(a){var b,c;switch(a.toLowerCase()){case"dimensions":b={height:z.outerHeight(),width:z.outerWidth()};break;case"offset":b=h.offset(z,p.position.container);break;default:c=C(a.toLowerCase()),b=c[0][c[1]],b=b.precedance?b.string():b}return b},set:function(b,c){function m(a,b){var c,d,e;for(c in k)for(d in k[c])if(e=(new RegExp(d,"i")).exec(a))b.push(e),k[c][d].apply(u,b)}var g=/^position\.(my|at|adjust|target|container)|style|content|show\.ready/i,h=/^content\.(title|attr)|style/i,i=e,j=e,k=u.checks,l;"string"===typeof b?(l=b,b={},b[l]=c):b=a.extend(d,{},b),a.each(b,function(c,d){var e=C(c.toLowerCase()),f;f=e[0][e[1]],e[0][e[1]]="object"===typeof d&&d.nodeType?a(d):d,b[c]=[e[0],e[1],d,f],i=g.test(c)||i,j=h.test(c)||j}),t(p),x=y=1,a.each(b,m),x=y=0,z.is(":visible")&&u.rendered&&(i&&u.reposition(p.position.target==="mouse"?f:B.event),j&&u.redraw());return u},toggle:function(b,c){function k(){b?(a.browser.msie&&z[0].style.removeAttribute("filter"),z.css("overflow","")):z.css({display:"",visibility:"",width:"",opacity:"",left:"",top:""})}if(!u.rendered)if(b)u.render(1);else return u;var d=b?"show":"hide",g=p[d],h=z.is(":visible"),i,j;(typeof b).search("boolean|number")&&(b=!h);if(h===b)return u;if(c){if(/over|enter/.test(c.type)&&/out|leave/.test(B.event.type)&&c.target===p.show.target[0]&&z.has(c.relatedTarget).length)return u;B.event=a.extend({},c)}j=a.Event("tooltip"+d),j.originalEvent=c?B.event:f,z.trigger(j,[u,90]);if(j.isDefaultPrevented())return u;a.attr(z[0],"aria-hidden",!b),b?(B.origin=B.event,u.focus(c),a.isFunction(p.content.text)&&J(),u.reposition(c),g.solo&&a(m,g.solo).not(z).qtip("hide",j)):(clearTimeout(u.timers.show),delete B.origin,u.blur(c)),z.stop(0,1),a.isFunction(g.effect)?(g.effect.call(z,u),z.queue("fx",function(a){k(),a()})):g.effect===e?(z[d](),k.call(z)):z.fadeTo(90,b?1:0,k),b&&g.target.trigger("qtip-"+q+"-inactive");return u},show:function(a){return u.toggle(d,a)},hide:function(a){return u.toggle(e,a)},focus:function(b){if(!u.rendered)return u;var c=a(m),d=parseInt(z[0].style.zIndex,10),e=g.zindex+c.length,f=a.extend({},b),h,i;z.hasClass(n)||(i=a.Event("tooltipfocus"),i.originalEvent=f,z.trigger(i,[u,e]),i.isDefaultPrevented()||(d!==e&&(c.each(function(){this.style.zIndex>d&&(this.style.zIndex=this.style.zIndex-1)}),c.filter("."+n).qtip("blur",f)),z.addClass(n)[0].style.zIndex=e));return u},blur:function(b){var c=a.extend({},b),d;z.removeClass(n),d=a.Event("tooltipblur"),d.originalEvent=c,z.trigger(d,[u]);return u},reposition:function(c,d){if(!u.rendered||x)return u;x=1;var f=p.position.target,g=p.position,k=g.my,l=g.at,m=g.adjust,n=m.method.split(" "),o=z.outerWidth(),q=z.outerHeight(),r=0,s=0,t=a.Event("tooltipmove"),w=z.css("position")==="fixed",y=g.viewport.jquery?g.viewport:a(b),A={left:0,top:0},C=(u.plugins.tip||{}).corner,D={horizontal:n[0],vertical:n[1]||n[0],tip:p.style.tip,left:function(a){var b=y.offset.left+y.scrollLeft,c=k.x==="left"?o:k.x==="right"?-o:-o/2,d=l.x==="left"?r:l.x==="right"?-r:-r/2,e=D.tip.width+D.tip.border*2,f=C&&C.precedance==="x"?e:0,g=b-a-f,h=a+o-y.width-b+f,i=c-(k.precedance==="x"||k.x===k.y?d:0),j=k.x==="center";D.horizontal==="shift"?(f=C&&C.precedance==="y"?e:0,i=(k.x==="left"?c:-c)-f,A.left+=g>0?g:h>0?-h:0,A.left=Math.max(y.offset.left+(f&&C.x==="center"?D.tip.offset:0),a-i,Math.min(a+i,A.left))):(g>0&&(k.x!=="left"||h>0)?A.left-=i+(j?0:2*m.x):h>0&&(k.x!=="right"||g>0)&&(A.left-=j?-i:i+2*m.x),A.left!==a&&j&&(A.left-=m.x),A.lefth&&(A.left=a));return A.left-a},top:function(a){var b=y.offset.top+y.scrollTop,c=k.y==="top"?q:k.y==="bottom"?-q:-q/2,d=l.y==="top"?s:l.y==="bottom"?-s:-s/2,e=D.tip.height+D.tip.border*2,f=C&&C.precedance==="y"?e:0,g=b-a-f,h=a+q-y.height-b+f,i=c-(k.precedance==="y"||k.x===k.y?d:0),j=k.y==="center";D.vertical==="shift"?(f=C&&C.precedance==="x"?e:0,i=(k.y==="top"?c:-c)-f,A.top+=g>0?g:h>0?-h:0,A.top=Math.max(y.offset.top+(f&&C.x==="center"?D.tip.offset:0),a-i,Math.min(a+i,A.top))):(g>0&&(k.y!=="top"||h>0)?A.top-=i+(j?0:2*m.y):h>0&&(k.y!=="bottom"||g>0)&&(A.top-=j?-i:i+2*m.y),A.top!==a&&j&&(A.top-=m.y),A.top<0&&-A.top>h&&(A.top=a));return A.top-a}};y=y?{elem:y,height:y[(y[0]===b?"h":"outerH")+"eight"](),width:y[(y[0]===b?"w":"outerW")+"idth"](),scrollLeft:y.scrollLeft(),scrollTop:y.scrollTop(),offset:y.offset()||{left:0,top:0}}:e;if(f==="mouse")l={x:"left",y:"top"},c=c&&(c.type==="resize"||c.type==="scroll")?B.event:!m.mouse&&B.origin?B.origin:m.mouse||!c||!c.pageX?{pageX:i.pageX,pageY:i.pageY}:c,A={top:c.pageY,left:c.pageX};else{f==="event"&&(c&&c.target&&c.type!=="scroll"&&c.type!=="resize"?f=B.target=a(c.target):f=B.target),f=a(f).eq(0);if(f.length===0)return u;f[0]===document||f[0]===b?(r=f.width(),s=f.height(),f[0]===b&&(A={top:!w||h.iOS?y.scrollTop:0,left:!w||h.iOS?y.scrollLeft:0})):f.is("area")&&h.imagemap?A=h.imagemap(f,l):f[0].namespaceURI=="http://www.w3.org/2000/svg"&&h.svg?A=h.svg(f,l):(r=f.outerWidth(),s=f.outerHeight(),A=h.offset(f,g.container,w)),A.offset&&(r=A.width,s=A.height,A=A.offset),A.left+=l.x==="right"?r:l.x==="center"?r/2:0,A.top+=l.y==="bottom"?s:l.y==="center"?s/2:0}A.left+=m.x+(k.x==="right"?-o:k.x==="center"?-o/2:0),A.top+=m.y+(k.y==="bottom"?-q:k.y==="center"?-q/2:0),g.viewport.jquery&&f[0]!==b&&f[0]!==v?A.adjusted={left:D.horizontal!=="none"?D.left(A.left):0,top:D.vertical!=="none"?D.top(A.top):0}:A.adjusted={left:0,top:0},z.attr("class",function(b,c){return a.attr(this,"class").replace(/ui-tooltip-pos-\w+/i,"")}).addClass(j+"-pos-"+k.abbreviation()),t.originalEvent=a.extend({},c),z.trigger(t,[u,A,y.elem]);if(t.isDefaultPrevented())return u;delete A.adjusted,d===e||isNaN(A.left)||isNaN(A.top)||!a.isFunction(g.effect)?z.css(A):a.isFunction(g.effect)&&(g.effect.call(z,u,a.extend({},A)),z.queue(function(b){a(this).css({opacity:"",height:""}),a.browser.msie&&this.style.removeAttribute("filter"),b()})),x=0;return u},redraw:function(){if(u.rendered<1||p.style.width||y)return u;var b=j+"-fluid",c=p.position.container,d,e,f,g;y=1,z.css("width","").addClass(b),e=z.width()+(a.browser.mozilla?1:0),f=z.css("max-width"),g=z.css("min-width"),d=(f+g).indexOf("%")>-1?c.width()/100:0,f=(f.indexOf("%")>-1?d:1)*parseInt(f,10)||0,g=(g.indexOf("%")>-1?d:1)*parseInt(g,10)||0,e=f+g?Math.min(Math.max(e,g),f):e,z.css("width",Math.round(e)).removeClass(b),y=0;return u},disable:function(b){var c=l;"boolean"!==typeof b&&(b=!z.hasClass(c)&&!B.disabled),u.rendered?(z.toggleClass(c,b),a.attr(z[0],"aria-disabled",b)):B.disabled=!!b;return u},enable:function(){return u.disable(e)},destroy:function(){var b=c[0],d=a.attr(b,r);u.rendered&&(z.remove(),a.each(u.plugins,function(){this.destroy&&this.destroy()})),clearTimeout(u.timers.show),clearTimeout(u.timers.hide),L(1,1,1,1),a.removeData(b,"qtip"),d&&(a.attr(b,"title",d),c.removeAttr(r)),c.removeAttr("aria-describedby").unbind(".qtip");return c}})}function t(b){var c;if(!b||"object"!==typeof b)return e;"object"!==typeof b.metadata&&(b.metadata={type:b.metadata});if("content"in b){if("object"!==typeof b.content||b.content.jquery)b.content={text:b.content};c=b.content.text||e,!a.isFunction(c)&&(!c&&!c.attr||c.length<1||"object"===typeof c&&!c.jquery)&&(b.content.text=e),"title"in b.content&&("object"!==typeof b.content.title&&(b.content.title={text:b.content.title}),c=b.content.title.text||e,!a.isFunction(c)&&(!c&&!c.attr||c.length<1||"object"===typeof c&&!c.jquery)&&(b.content.title.text=e))}"position"in b&&("object"!==typeof b.position&&(b.position={my:b.position,at:b.position})),"show"in b&&("object"!==typeof b.show&&(b.show.jquery?b.show={target:b.show}:b.show={event:b.show})),"hide"in b&&("object"!==typeof b.hide&&(b.hide.jquery?b.hide={target:b.hide}:b.hide={event:b.hide})),"style"in b&&("object"!==typeof b.style&&(b.style={classes:b.style})),a.each(h,function(){this.sanitize&&this.sanitize(b)});return b}function s(){var c=b.console;return c&&(c.error||c.log||a.noop).apply(c,arguments)}var d=!0,e=!1,f=null,g,h,i,j="ui-tooltip",k="ui-widget",l="ui-state-disabled",m="div.qtip."+j,n=j+"-focus",o=j+"-hover",p="-31000px",q="_replacedByqTip",r="oldtitle";g=a.fn.qtip=function(b,h,i){var j=(""+b).toLowerCase(),k=f,l=j==="disable"?[d]:a.makeArray(arguments).slice(1,10),m=l[l.length-1],n=this[0]?a.data(this[0],"qtip"):f;if(!arguments.length&&n||j==="api")return n;if("string"===typeof b){this.each(function(){var b=a.data(this,"qtip");if(!b)return d;m&&m.timeStamp&&(b.cache.event=m);if(j!=="option"&&j!=="options"||!h)b[j]&&b[j].apply(b[j],l);else if(a.isPlainObject(h)||i!==c)b.set(h,i);else{k=b.get(h);return e}});return k!==f?k:this}if("object"===typeof b||!arguments.length){n=t(a.extend(d,{},b));return g.bind.call(this,n,m)}},g.bind=function(b,c){return this.each(function(f){function p(b){function c(){o.render(typeof b==="object"||i.show.ready),k.show.unbind(l.show),k.hide.unbind(l.hide)}if(o.cache.disabled)return e;o.cache.event=a.extend({},b),i.show.delay>0?(clearTimeout(o.timers.show),o.timers.show=setTimeout(c,i.show.delay),l.show!==l.hide&&k.hide.bind(l.hide,function(){clearTimeout(o.timers.show)})):c()}var i,k,l,m=!b.id||b.id===e||b.id.length<1||a("#"+j+"-"+b.id).length?g.nextid++:b.id,n=".qtip-"+m+"-create",o=v.call(this,m,b);if(o===e)return d;i=o.options,a.each(h,function(){this.initialize==="initialize"&&this(o)}),k={show:i.show.target,hide:i.hide.target},l={show:a.trim(""+i.show.event).replace(/ /g,n+" ")+n,hide:a.trim(""+i.hide.event).replace(/ /g,n+" ")+n},i.hide.event==="unfocus"&&(l.hide="mouseleave"+n),k.show.bind(l.show,p),(i.show.ready||i.prerender)&&p(c)})},h=g.plugins={Corner:function(a){a=(""+a).replace(/([A-Z])/," $1").replace(/middle/gi,"center").toLowerCase(),this.x=(a.match(/left|right/i)||a.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(a.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.precedance=a.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),b=this.y.substr(0,1);return a===b?a:a==="c"||a!=="c"&&b!=="c"?b+a:a+b}},offset:function(c,d,e){function l(a,b){f.left+=b*a.scrollLeft(),f.top+=b*a.scrollTop()}var f=c.offset(),g=d,i=0,j=document.body,k;if(g){do{if(g[0]===j)break;g.css("position")!=="static"&&(k=g.position(),f.left-=k.left+(parseInt(g.css("borderLeftWidth"),10)||0),f.top-=k.top+(parseInt(g.css("borderTopWidth"),10)||0),i++)}while(g=g.offsetParent());(d[0]!==j||i>1)&&l(d,1),(h.iOS<4.1&&h.iOS>3.1||!h.iOS&&e)&&l(a(b),-1)}return f},iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,3})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_","."))||e,fn:{attr:function(b,c){if(this.length){var d=this[0],e="title",f=a.data(d,"qtip");if(b===e){if(arguments.length<2)return a.attr(d,r);if(typeof f==="object"){f&&f.rendered&&f.options.content.attr===e&&f.cache.attr&&f.set("content.text",c),a.fn["attr"+q].apply(this,arguments),a.attr(d,r,a.attr(d,e));return this.removeAttr(e)}}}},clone:function(b){var c=a([]),d="title",e;e=a.fn["clone"+q].apply(this,arguments).filter("[oldtitle]").each(function(){a.attr(this,d,a.attr(this,r)),this.removeAttribute(r)}).end();return e},remove:a.ui?f:function(b,c){a(this).each(function(){c||(!b||a.filter(b,[this]).length)&&a("*",this).add(this).each(function(){a(this).triggerHandler("remove")})})}}},a.each(h.fn,function(b,c){if(!c)return d;var e=a.fn[b+q]=a.fn[b];a.fn[b]=function(){return c.apply(this,arguments)||e.apply(this,arguments)}}),a(document).bind("mousemove.qtip",function(a){i={pageX:a.pageX,pageY:a.pageY,type:"mousemove"}}),g.version="2.0.0pre",g.nextid=0,g.inactiveEvents="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),g.zindex=15e3,g.defaults={prerender:e,id:e,overwrite:d,content:{text:d,attr:"title",title:{text:e,button:e}},position:{my:"top left",at:"bottom right",target:e,container:e,viewport:e,adjust:{x:0,y:0,mouse:d,resize:d,method:"flip flip"},effect:d},show:{target:e,event:"mouseenter",effect:d,delay:90,solo:e,ready:e},hide:{target:e,event:"mouseleave",effect:d,delay:0,fixed:e,inactive:e,leave:"window",distance:e},style:{classes:"",widget:e,width:e},events:{render:f,move:f,show:f,hide:f,toggle:f,focus:f,blur:f}},h.ajax=function(a){var b=a.plugins.ajax;return"object"===typeof b?b:a.plugins.ajax=new w(a)},h.ajax.initialize="render",h.ajax.sanitize=function(a){var b=a.content,c;b&&"ajax"in b&&(c=b.ajax,typeof c!=="object"&&(c=a.content.ajax={url:c}),"boolean"!==typeof c.once&&c.once&&(c.once=!!c.once))},a.extend(d,g.defaults,{content:{ajax:{loading:d,once:d}}}),h.tip=function(a){var b=a.plugins.tip;return"object"===typeof b?b:a.plugins.tip=new y(a)},h.tip.initialize="render",h.tip.sanitize=function(a){var b=a.style,c;b&&"tip"in b&&(c=a.style.tip,typeof c!=="object"&&(a.style.tip={corner:c}),/string|boolean/i.test(typeof c.corner)||(c.corner=d),typeof c.width!=="number"&&delete c.width,typeof c.height!=="number"&&delete c.height,typeof c.border!=="number"&&c.border!==d&&delete c.border,typeof c.offset!=="number"&&delete c.offset)},a.extend(d,g.defaults,{style:{tip:{corner:d,mimic:e,width:6,height:6,border:d,offset:0}}}),h.imagemap=function(b,c){function l(a,b){var d=0,e=1,f=1,g=0,h=0,i=a.width,j=a.height;while(i>0&&j>0&&e>0&&f>0){i=Math.floor(i/2),j=Math.floor(j/2),c.x==="left"?e=i:c.x==="right"?e=a.width-i:e+=Math.floor(i/2),c.y==="top"?f=j:c.y==="bottom"?f=a.height-j:f+=Math.floor(j/2),d=b.length;while(d--){if(b.length<2)break;g=b[d][0]-a.offset.left,h=b[d][1]-a.offset.top,(c.x==="left"&&g>=e||c.x==="right"&&g<=e||c.x==="center"&&(ga.width-e)||c.y==="top"&&h>=f||c.y==="bottom"&&h<=f||c.y==="center"&&(ha.height-f))&&b.splice(d,1)}}return{left:b[0][0],top:b[0][1]}}var d=b.attr("shape").toLowerCase(),e=b.attr("coords").split(","),f=[],g=a('img[usemap="#'+b.parent("map").attr("name")+'"]'),h=g.offset(),i={width:0,height:0,offset:{top:1e10,right:0,bottom:0,left:1e10}},j=0,k=0;h.left+=Math.ceil((g.outerWidth()-g.width())/2),h.top+=Math.ceil((g.outerHeight()-g.height())/2);if(d==="poly"){j=e.length;while(j--)k=[parseInt(e[--j],10),parseInt(e[j+1],10)],k[0]>i.offset.right&&(i.offset.right=k[0]),k[0]i.offset.bottom&&(i.offset.bottom=k[1]),k[1]'),d.bgiframe.appendTo(e),e.bind("tooltipmove"+f,c.adjust)},adjust:function(){var a=b.get("dimensions"),c=b.plugins.tip,f=d.tip,g,h;h=parseInt(e.css("border-left-width"),10)||0,h={left:-h,top:-h},c&&f&&(g=c.corner.precedance==="x"?["width","left"]:["height","top"],h[g[1]]-=f[g[0]]()),d.bgiframe.css(h).css(a)},destroy:function(){d.bgiframe.remove(),e.unbind(f)}}),c.init()}function z(c){var f=this,g=c.options.show.modal,h=c.elements,i=h.tooltip,j="#qtip-overlay",k=".qtipmodal",l=k+c.id,m="is-modal-qtip",o;c.checks.modal={"^show.modal.(on|blur)$":function(){f.init(),h.overlay.toggle(i.is(":visible"))}},a.extend(f,{init:function(){if(!g.on)return f;o=f.create(),i.attr(m,d).unbind(k).unbind(l).bind("tooltipshow"+k+" tooltiphide"+k,function(a,b,c){f[a.type.replace("tooltip","")](a,c)}).bind("tooltipfocus"+k,function(a,b,c){o[0].style.zIndex=c-1}).bind("tooltipblur"+k,function(b){a("["+m+"]:visible").not(i).last().qtip("focus",b)}),g.escape&&a(b).unbind(l).bind("keydown"+l,function(a){a.keyCode===27&&i.hasClass(n)&&c.hide(a)}),g.blur&&h.overlay.unbind(l).bind("click"+l,function(a){i.hasClass(n)&&c.hide(a)});return f},create:function(){var c=a(j);if(c.length){h.overlay=c;return c}o=h.overlay=a("
",{id:j.substr(1),css:{position:"absolute",top:0,left:0,display:"none"},mousedown:function(){return e}}).appendTo(document.body),a(b).unbind(k).bind("resize"+k,function(){o.css({height:Math.max(a(b).height(),a(document).height()),width:Math.max(a(b).width(),a(document).width())})}).trigger("resize");return o},toggle:function(b,c,j){if(b&&b.isDefaultPrevented())return f;var k=g.effect,l=c?"show":"hide",n=a("["+m+"]:visible").not(i),p;o||(o=f.create());if(o.is(":animated")&&!c||!c&&n.length)return f;c&&h.overlay.css("cursor",g.blur?"pointer":""),o.stop(d,e),a.isFunction(k)?k.call(o,c):k===e?o[l]():o.fadeTo(parseInt(j,10)||90,c?.7:0,function(){c||a(this).hide()});return f},show:function(a,b){return f.toggle(a,d,b)},hide:function(a,b){return f.toggle(a,e,b)},destroy:function(){var d=o;d&&(d=a("["+m+"]").not(i).length<1,d?(h.overlay.remove(),a(b).unbind(k)):h.overlay.unbind(k+c.id));return i.removeAttr(m).unbind(k)}}),f.init()}function y(b,g){function v(a){var b=a.precedance==="y",c=n[b?"width":"height"],d=n[b?"height":"width"],e=a.string().indexOf("center")>-1,f=c*(e?.5:1),g=Math.pow,h=Math.round,i,j,k,l=Math.sqrt(g(f,2)+g(d,2)),m=[p/f*l,p/d*l];m[2]=Math.sqrt(g(m[0],2)-g(p,2)),m[3]=Math.sqrt(g(m[1],2)-g(p,2)),i=l+m[2]+m[3]+(e?0:m[0]),j=i/l,k=[h(j*d),h(j*c)];return{height:k[b?0:1],width:k[b?1:0]}}function u(b){var c=k.titlebar&&b.y==="top",d=c?k.titlebar:k.content,e=a.browser.mozilla,f=e?"-moz-":a.browser.webkit?"-webkit-":"",g=b.y+(e?"":"-")+b.x,h=f+(e?"border-radius-"+g:"border-"+g+"-radius");return parseInt(d.css(h),10)||parseInt(l.css(h),10)||0}function t(a,b,c){b=b?b:a[a.precedance];var d=k.titlebar&&a.y==="top",e=d?k.titlebar:k.content,f="border-"+b+"-width",g=parseInt(e.css(f),10);return(c?g||parseInt(l.css(f),10):g)||0}function s(f,g,h,l){if(k.tip){var n=a.extend({},i.corner),o=h.adjusted,p=b.options.position.adjust.method.split(" "),q=p[0],r=p[1]||p[0],s={left:e,top:e,x:0,y:0},t,u={},v;i.corner.fixed!==d&&(q==="shift"&&n.precedance==="x"&&o.left&&n.y!=="center"?n.precedance=n.precedance==="x"?"y":"x":q==="flip"&&o.left&&(n.x=n.x==="center"?o.left>0?"left":"right":n.x==="left"?"right":"left"),r==="shift"&&n.precedance==="y"&&o.top&&n.x!=="center"?n.precedance=n.precedance==="y"?"x":"y":r==="flip"&&o.top&&(n.y=n.y==="center"?o.top>0?"top":"bottom":n.y==="top"?"bottom":"top"),n.string()!==m.corner&&(m.top!==o.top||m.left!==o.left)&&i.update(n,e)),t=i.position(n,o),t.right!==c&&(t.left=-t.right),t.bottom!==c&&(t.top=-t.bottom),t.user=Math.max(0,j.offset);if(s.left=q==="shift"&&!!o.left)n.x==="center"?u["margin-left"]=s.x=t["margin-left"]-o.left:(v=t.right!==c?[o.left,-t.left]:[-o.left,t.left],(s.x=Math.max(v[0],v[1]))>v[0]&&(h.left-=o.left,s.left=e),u[t.right!==c?"right":"left"]=s.x);if(s.top=r==="shift"&&!!o.top)n.y==="center"?u["margin-top"]=s.y=t["margin-top"]-o.top:(v=t.bottom!==c?[o.top,-t.top]:[-o.top,t.top],(s.y=Math.max(v[0],v[1]))>v[0]&&(h.top-=o.top,s.top=e),u[t.bottom!==c?"bottom":"top"]=s.y);k.tip.css(u).toggle(!(s.x&&s.y||n.x==="center"&&s.y||n.y==="center"&&s.x)),h.left-=t.left.charAt?t.user:q!=="shift"||s.top||!s.left&&!s.top?t.left:0,h.top-=t.top.charAt?t.user:r!=="shift"||s.left||!s.left&&!s.top?t.top:0,m.left=o.left,m.top=o.top,m.corner=n.string()}}var i=this,j=b.options.style.tip,k=b.elements,l=k.tooltip,m={top:0,left:0,corner:""},n={width:j.width,height:j.height},o={},p=j.border||0,q=".qtip-tip",r=a("")[0].getContext;i.corner=f,i.mimic=f,i.position={},b.checks.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){i.init()||i.destroy(),b.reposition()},"^style.tip.(height|width)$":function(){n={width:j.width,height:j.height},i.create(),i.update(),b.reposition()},"^content.title.text|style.(classes|widget)$":function(){k.tip&&i.update()}},a.extend(i,{init:function(){var b=i.detectCorner()&&(r||a.browser.msie);b&&(i.create(),i.update(),l.unbind(q).bind("tooltipmove"+q,s));return b},detectCorner:function(){var a=j.corner,c=b.options.position,f=c.at,g=c.my.string?c.my.string():c.my;if(a===e||g===e&&f===e)return e;a===d?i.corner=new h.Corner(g):a.string||(i.corner=new h.Corner(a),i.corner.fixed=d);return i.corner.string()!=="centercenter"},detectColours:function(){var c,d,e,f=k.tip.css({backgroundColor:"",border:""}),g=i.corner,h=g[g.precedance],m="border-"+h+"-color",p="border"+h.charAt(0)+h.substr(1)+"Color",q=/rgba?\(0, 0, 0(, 0)?\)|transparent/i,r="background-color",s="transparent",t="ui-tooltip-fluid",u=a(document.body).css("color"),v=b.elements.content.css("color"),w=k.titlebar&&(g.y==="top"||g.y==="center"&&f.position().top+n.height/2+j.offset",{"class":"ui-tooltip-tip"}).css({width:b,height:c}).prependTo(l),r?a("").appendTo(k.tip)[0].getContext("2d").save():(d='',k.tip.html(p?d+=d:d))},update:function(b,c){var g=k.tip,l=g.children(),m=n.width,q=n.height,s="px solid ",u="px dashed transparent",w=j.mimic,y=Math.round,z,A,B,C,D;b||(b=i.corner),w===e?w=b:(w=new h.Corner(w),w.precedance=b.precedance,w.x==="inherit"?w.x=b.x:w.y==="inherit"?w.y=b.y:w.x===w.y&&(w[b.precedance]=b[b.precedance])),z=w.precedance,i.detectColours(),p=o.border==="transparent"||o.border==="#123456"?0:j.border===d?t(b,f,d):j.border,B=x(w,m,q),D=v(b),g.css(D),b.precedance==="y"?C=[y(w.x==="left"?p:w.x==="right"?D.width-m-p:(D.width-m)/2),y(w.y==="top"?D.height-q:0)]:C=[y(w.x==="left"?D.width-m:0),y(w.y==="top"?p:w.y==="bottom"?D.height-q-p:(D.height-q)/2)],r?(l.attr(D),A=l[0].getContext("2d"),A.restore(),A.save(),A.clearRect(0,0,3e3,3e3),A.translate(C[0],C[1]),A.beginPath(),A.moveTo(B[0][0],B[0][1]),A.lineTo(B[1][0],B[1][1]),A.lineTo(B[2][0],B[2][1]),A.closePath(),A.fillStyle=o.fill,A.strokeStyle=o.border,A.lineWidth=p*2,A.lineJoin="miter",A.miterLimit=100,A.stroke(),A.fill()):(B="m"+B[0][0]+","+B[0][1]+" l"+B[1][0]+","+B[1][1]+" "+B[2][0]+","+B[2][1]+" xe",C[2]=p&&/^(r|b)/i.test(b.string())?parseFloat(a.browser.version,10)===8?2:1:0,l.css({antialias:""+(w.string().indexOf("center")>-1),left:C[0]-C[2]*Number(z==="x"),top:C[1]-C[2]*Number(z==="y"),width:m+p,height:q+p}).each(function(b){var c=a(this);c.attr({coordsize:m+p+" "+(q+p),path:B,fillcolor:o.fill,filled:!!b,stroked:!b}).css({display:p||b?"block":"none"}),!b&&p>0&&c.html()===""&&c.html('')})),c!==e&&i.position(b)},position:function(b){var c=k.tip,f={},g=Math.max(0,j.offset),h,l,m;if(j.corner===e||!c)return e;b=b||i.corner,h=b.precedance,l=v(b),m=[b.x,b.y],h==="x"&&m.reverse(),a.each(m,function(a,c){var e,i;c==="center"?(e=h==="y"?"left":"top",f[e]="50%",f["margin-"+e]=-Math.round(l[h==="y"?"width":"height"]/2)+g):(e=t(b,c,d),i=u(b),f[c]=a?t(b,c):g+(i>e?i:0))}),f[b[h]]-=l[h==="x"?"width":"height"],c.css({top:"",bottom:"",left:"",right:"",margin:""}).css(f);return f},destroy:function(){k.tip&&k.tip.remove(),l.unbind(q)}}),i.init()}function x(a,b,c){var d=Math.ceil(b/2),e=Math.ceil(c/2),f={bottomright:[[0,0],[b,c],[b,0]],bottomleft:[[0,0],[b,0],[0,c]],topright:[[0,c],[b,0],[b,c]],topleft:[[0,0],[0,c],[b,c]],topcenter:[[0,c],[d,0],[b,c]],bottomcenter:[[0,0],[b,0],[d,c]],rightcenter:[[0,0],[b,e],[0,c]],leftcenter:[[b,0],[b,c],[0,e]]};f.lefttop=f.bottomright,f.righttop=f.bottomleft,f.leftbottom=f.topright,f.rightbottom=f.topleft;return f[a.string()]}function w(b){var c=this,f=b.elements.tooltip,g=b.options.content.ajax,h=".qtip-ajax",i=/)<[^<]*)*<\/script>/gi,j=d;b.checks.ajax={"^content.ajax":function(a,b,d){b==="ajax"&&(g=d),b==="once"?c.init():g&&g.url?c.load():f.unbind(h)}},a.extend(c,{init:function(){g&&g.url&&f.unbind(h)[g.once?"one":"bind"]("tooltipshow"+h,c.load);return c},load:function(d,h){function p(a,c,d){b.set("content.text",c+": "+d),n()}function o(c){l&&(c=a("
").append(c.replace(i,"")).find(l)),b.set("content.text",c),n()}function n(){m&&(f.css("visibility",""),h=e)}if(d&&d.isDefaultPrevented())return c;var j=g.url.indexOf(" "),k=g.url,l,m=g.once&&!g.loading&&h;m&&f.css("visibility","hidden"),j>-1&&(l=k.substr(j),k=k.substr(0,j)),a.ajax(a.extend({success:o,error:p,context:b},g,{url:k}));return c}}),c.init()}function v(b,c){var i,j,k,l,m=a(this),n=a(document.body),o=this===document?n:m,p=m.metadata?m.metadata(c.metadata):f,q=c.metadata.type==="html5"&&p?p[c.metadata.name]:f,v=m.data(c.metadata.name||"qtipopts");try{v=typeof v==="string"?(new Function("return "+v))():v}catch(w){s("Unable to parse HTML5 attribute data: "+v)}l=a.extend(d,{},g.defaults,c,typeof v==="object"?t(v):f,t(q||p)),p&&a.removeData(this,"metadata"),j=l.position,l.id=b;if("boolean"===typeof l.content.text){k=m.attr(l.content.attr);if(l.content.attr!==e&&k)l.content.text=k;else return e}j.container===e&&(j.container=n),j.target===e&&(j.target=o),l.show.target===e&&(l.show.target=o),l.show.solo===d&&(l.show.solo=n),l.hide.target===e&&(l.hide.target=o),l.position.viewport===d&&(l.position.viewport=j.container),j.at=new h.Corner(j.at),j.my=new h.Corner(j.my);if(a.data(this,"qtip"))if(l.overwrite)m.qtip("destroy");else if(l.overwrite===e)return e;a.attr(this,"title")&&(a.attr(this,r,a.attr(this,"title")),this.removeAttribute("title")),i=new u(m,l,b,!!k),a.data(this,"qtip",i),m.bind("remove.qtip",function(){i.destroy()});return i}function u(c,p,q,s){function L(c,d,e,f){f=parseInt(f,10)!==0;var g=".qtip-"+q,h={show:c&&p.show.target[0],hide:d&&p.hide.target[0],tooltip:e&&u.rendered&&A.tooltip[0],content:e&&u.rendered&&A.content[0],container:f&&p.position.container[0]===v?document:p.position.container[0],window:f&&b};u.rendered?a([]).pushStack(a.grep([h.show,h.hide,h.tooltip,h.container,h.content,h.window],function(a){return typeof a==="object"})).unbind(g):c&&p.show.target.unbind(g+"-create")}function K(d,f,h,j){function D(a){z.is(":visible")&&u.reposition(a)}function C(a){if(z.hasClass(l))return e;clearTimeout(u.timers.inactive),u.timers.inactive=setTimeout(function(){u.hide(a)},p.hide.inactive)}function y(b){if(z.hasClass(l))return e;var c=a(b.relatedTarget||b.target),d=c.closest(m)[0]===z[0],f=c[0]===r.show[0];clearTimeout(u.timers.show),clearTimeout(u.timers.hide);if(n.target==="mouse"&&d||p.hide.fixed&&(/mouse(out|leave|move)/.test(b.type)&&(d||f))){b.stopPropagation(),b.preventDefault();return e}p.hide.delay>0?u.timers.hide=setTimeout(function(){u.hide(b)},p.hide.delay):u.hide(b)}function x(a){if(z.hasClass(l))return e;r.show.trigger("qtip-"+q+"-inactive"),clearTimeout(u.timers.show),clearTimeout(u.timers.hide);var b=function(){u.show(a)};p.show.delay>0?u.timers.show=setTimeout(b,p.show.delay):b()}var k=".qtip-"+q,n=p.position,r={show:p.show.target,hide:p.hide.target,container:n.container[0]===v?a(document):n.container,doc:a(document)},s={show:a.trim(""+p.show.event).split(" "),hide:a.trim(""+p.hide.event).split(" ")},t=a.browser.msie&&parseInt(a.browser.version,10)===6,w;h&&(p.hide.fixed&&(r.hide=r.hide.add(z),z.bind("mouseover"+k,function(){z.hasClass(l)||clearTimeout(u.timers.hide)})),n.target==="mouse"&&n.adjust.mouse&&p.hide.event&&z.bind("mouseleave"+k,function(a){(a.relatedTarget||a.target)!==r.show[0]&&u.hide(a)}),z.bind("mouseenter"+k,function(a){u[a.type==="mouseenter"?"focus":"blur"](a)}),z.bind("mouseenter"+k+" mouseleave"+k,function(a){z.toggleClass(o,a.type==="mouseenter")})),f&&("number"===typeof p.hide.inactive&&(r.show.bind("qtip-"+q+"-inactive",C),a.each(g.inactiveEvents,function(a,b){r.hide.add(A.tooltip).bind(b+k+"-inactive",C)})),a.each(s.hide,function(b,c){var d=a.inArray(c,s.show),e=a(r.hide);d>-1&&e.add(r.show).length===e.length||c==="unfocus"?(r.show.bind(c+k,function(a){z.is(":visible")?y(a):x(a)}),delete s.show[d]):r.hide.bind(c+k,y)})),d&&(a.each(s.show,function(a,b){r.show.bind(b+k,x)}),"number"===typeof p.hide.distance&&r.show.bind("mousemove"+k,function(a){var b=B.origin||{},c=p.hide.distance,d=Math.abs;b&&(d(a.pageX-b.pageX)>=c||d(a.pageY-b.pageY)>=c)&&u.hide(a)})),j&&((n.adjust.resize||n.viewport)&&a(a.event.special.resize?n.viewport:b).bind("resize"+k,D),(n.viewport||t&&z.css("position")==="fixed")&&a(n.viewport).bind("scroll"+k,D),/unfocus/i.test(p.hide.event)&&r.doc.bind("mousedown"+k,function(b){var d=a(b.target);d.parents(m).length===0&&d.add(c).length>1&&z.is(":visible")&&!z.hasClass(l)&&u.hide(b)}),p.hide.leave&&/mouseleave|mouseout/i.test(p.hide.event)&&a(b).bind("blur"+k+" mouse"+(p.hide.leave.indexOf("frame")>-1?"out":"leave")+k,function(a){a.relatedTarget||u.hide(a)}),n.target==="mouse"&&r.doc.bind("mousemove"+k,function(a){n.adjust.mouse&&!z.hasClass(l)&&z.is(":visible")&&u.reposition(a||i)}))}function J(b,d){function g(a){function c(c){(b=b.not(this)).length===0&&(u.redraw(),u.reposition(B.event),a())}var b;if((b=f.find("img:not([height]):not([width])")).length===0)return c.call(b);b.each(function(a,b){(function d(){var e=u.timers.img;if(b.height&&b.width){clearTimeout(e[a]);return c.call(b)}e[a]=setTimeout(d,20)})()})}var f=A.content;b=b||p.content.text;if(!u.rendered||!b)return e;a.isFunction(b)&&(b=b.call(c,u)||""),b.jquery&&b.length>0?f.empty().append(b.css({display:"block"})):f.html(b),u.rendered<0?z.queue("fx",g):(y=0,g(a.noop));return u}function I(b){var d=A.title;if(!u.rendered||!b)return e;a.isFunction(b)&&(b=b.call(c,u)||""),b.jquery&&b.length>0?d.empty().append(b.css({display:"block"})):d.html(b),u.redraw(),u.rendered&&z.is(":visible")&&u.reposition(B.event)}function H(a){var b=A.button,c=A.title;if(!u.rendered)return e;a?(c||G(),F()):b.remove()}function G(){var b=w+"-title";A.titlebar&&E(),A.titlebar=a("
",{"class":j+"-titlebar "+(p.style.widget?"ui-widget-header":"")}).append(A.title=a("
",{id:b,"class":j+"-title","aria-atomic":d})).insertBefore(A.content),p.content.title.button?F():u.rendered&&u.redraw()}function F(){var b=p.content.title.button,c=typeof b==="string",d=c?b:"Close tooltip";A.button&&A.button.remove(),b.jquery?A.button=b:A.button=a("",{"class":"ui-state-default "+(p.style.widget?"":j+"-icon"),title:d,"aria-label":d}).prepend(a("",{"class":"ui-icon ui-icon-close",html:"×"})),A.button.appendTo(A.titlebar).attr("role","button").hover(function(b){a(this).toggleClass("ui-state-hover",b.type==="mouseenter")}).click(function(a){z.hasClass(l)||u.hide(a);return e}).bind("mousedown keydown mouseup keyup mouseout",function(b){a(this).toggleClass("ui-state-active ui-state-focus",b.type.substr(-4)==="down")}),u.redraw()}function E(){A.title&&(A.titlebar.remove(),A.titlebar=A.title=A.button=f,u.reposition())}function D(){var a=p.style.widget;z.toggleClass(k,a),A.content.toggleClass(k+"-content",a),A.titlebar&&A.titlebar.toggleClass(k+"-header",a),A.button&&A.button.toggleClass(j+"-icon",!a)}function C(a){var b=0,c,d=p,e=a.split(".");while(d=d[e[b++]])b0&&!a("#"+i).length&&(z[0].id=i,A.content[0].id=i+"-content",A.title[0].id=i+"-title")},"^content.text$":function(a,b,c){J(c)},"^content.title.text$":function(a,b,c){if(!c)return E();!A.title&&c&&G(),I(c)},"^content.title.button$":function(a,b,c){H(c)},"^position.(my|at)$":function(a,b,c){"string"===typeof c&&(a[b]=new h.Corner(c))},"^position.container$":function(a,b,c){u.rendered&&z.appendTo(c)},"^(show|hide).(event|target|fixed|delay|inactive)$":function(a,b,c,d,e){var f=[1,0,0];f[e[1]==="show"?"push":"unshift"](0),L.apply(u,f),K.apply(u,[1,1,0,0])},"^show.ready$":function(){u.rendered?u.show():u.render(1)},"^style.classes$":function(b,c,d){a.attr(z[0],"class",j+" qtip ui-helper-reset "+d)},"^style.widget|content.title":D,"^events.(render|show|move|hide|focus|blur)$":function(b,c,d){z[(a.isFunction(d)?"":"un")+"bind"]("tooltip"+c,d)}},a.extend(u,{render:function(b){if(u.rendered)return u;var f=p.content.title.text,g=a.Event("tooltiprender");a.attr(c[0],"aria-describedby",w),z=A.tooltip=a("
",{id:w,"class":j+" qtip ui-helper-reset "+p.style.classes,width:p.style.width||"",role:"alert","aria-live":"polite","aria-atomic":e,"aria-describedby":w+"-content","aria-hidden":d}).toggleClass(l,B.disabled).data("qtip",u).appendTo(p.position.container).append(A.content=a("
",{"class":j+"-content",id:w+"-content","aria-atomic":d})),u.rendered=-1,y=1,f&&(G(),I(f)),J(),u.rendered=d,D(),a.each(p.events,function(b,c){a.isFunction(c)&&z.bind(b==="toggle"?"tooltipshow tooltiphide":"tooltip"+b,c)}),a.each(h,function(){this.initialize==="render"&&this(u)}),K(1,1,1,1),z.queue("fx",function(a){g.originalEvent=B.event,z.trigger(g,[u]),y=0,u.redraw(),(p.show.ready||b)&&u.show(B.event),a()});return u},get:function(a){var b,c;switch(a.toLowerCase()){case"dimensions":b={height:z.outerHeight(),width:z.outerWidth()};break;case"offset":b=h.offset(z,p.position.container);break;default:c=C(a.toLowerCase()),b=c[0][c[1]],b=b.precedance?b.string():b}return b},set:function(b,c){function m(a,b){var c,d,e;for(c in k)for(d in k[c])if(e=(new RegExp(d,"i")).exec(a))b.push(e),k[c][d].apply(u,b)}var g=/^position\.(my|at|adjust|target|container)|style|content|show\.ready/i,h=/^content\.(title|attr)|style/i,i=e,j=e,k=u.checks,l;"string"===typeof b?(l=b,b={},b[l]=c):b=a.extend(d,{},b),a.each(b,function(c,d){var e=C(c.toLowerCase()),f;f=e[0][e[1]],e[0][e[1]]="object"===typeof d&&d.nodeType?a(d):d,b[c]=[e[0],e[1],d,f],i=g.test(c)||i,j=h.test(c)||j}),t(p),x=y=1,a.each(b,m),x=y=0,z.is(":visible")&&u.rendered&&(i&&u.reposition(p.position.target==="mouse"?f:B.event),j&&u.redraw());return u},toggle:function(b,c){function k(){b?(a.browser.msie&&z[0].style.removeAttribute("filter"),z.css("overflow","")):z.css({display:"",visibility:"",width:"",opacity:"",left:"",top:""})}if(!u.rendered)if(b)u.render(1);else return u;var d=b?"show":"hide",g=p[d],h=z.is(":visible"),i,j;(typeof b).search("boolean|number")&&(b=!h);if(h===b)return u;if(c){if(/over|enter/.test(c.type)&&/out|leave/.test(B.event.type)&&c.target===p.show.target[0]&&z.has(c.relatedTarget).length)return u;B.event=a.extend({},c)}j=a.Event("tooltip"+d),j.originalEvent=c?B.event:f,z.trigger(j,[u,90]);if(j.isDefaultPrevented())return u;a.attr(z[0],"aria-hidden",!b),b?(B.origin=B.event,u.focus(c),a.isFunction(p.content.text)&&J(),u.reposition(c),g.solo&&a(m,g.solo).not(z).qtip("hide",j)):(clearTimeout(u.timers.show),delete B.origin,u.blur(c)),z.stop(0,1),a.isFunction(g.effect)?(g.effect.call(z,u),z.queue("fx",function(a){k(),a()})):g.effect===e?(z[d](),k.call(z)):z.fadeTo(90,b?1:0,k),b&&g.target.trigger("qtip-"+q+"-inactive");return u},show:function(a){return u.toggle(d,a)},hide:function(a){return u.toggle(e,a)},focus:function(b){if(!u.rendered)return u;var c=a(m),d=parseInt(z[0].style.zIndex,10),e=g.zindex+c.length,f=a.extend({},b),h,i;z.hasClass(n)||(i=a.Event("tooltipfocus"),i.originalEvent=f,z.trigger(i,[u,e]),i.isDefaultPrevented()||(d!==e&&(c.each(function(){this.style.zIndex>d&&(this.style.zIndex=this.style.zIndex-1)}),c.filter("."+n).qtip("blur",f)),z.addClass(n)[0].style.zIndex=e));return u},blur:function(b){var c=a.extend({},b),d;z.removeClass(n),d=a.Event("tooltipblur"),d.originalEvent=c,z.trigger(d,[u]);return u},reposition:function(c,d){if(!u.rendered||x)return u;x=1;var f=p.position.target,g=p.position,k=g.my,l=g.at,m=g.adjust,n=m.method.split(" "),o=z.outerWidth(),q=z.outerHeight(),r=0,s=0,t=a.Event("tooltipmove"),w=z.css("position")==="fixed",y=g.viewport.jquery?g.viewport:a(b),A={left:0,top:0},C=(u.plugins.tip||{}).corner,D={horizontal:n[0],vertical:n[1]||n[0],tip:p.style.tip,left:function(a){var b=y.offset.left+y.scrollLeft,c=k.x==="left"?o:k.x==="right"?-o:-o/2,d=l.x==="left"?r:l.x==="right"?-r:-r/2,e=D.tip.width+D.tip.border*2,f=C&&C.precedance==="x"?e:0,g=b-a-f,h=a+o-y.width-b+f,i=c-(k.precedance==="x"||k.x===k.y?d:0),j=k.x==="center";D.horizontal==="shift"?(f=C&&C.precedance==="y"?e:0,i=(k.x==="left"?c:-c)-f,A.left+=g>0?g:h>0?-h:0,A.left=Math.max(y.offset.left+(f&&C.x==="center"?D.tip.offset:0),a-i,Math.min(a+i,A.left))):(g>0&&(k.x!=="left"||h>0)?A.left-=i+(j?0:2*m.x):h>0&&(k.x!=="right"||g>0)&&(A.left-=j?-i:i+2*m.x),A.left!==a&&j&&(A.left-=m.x),A.lefth&&(A.left=a));return A.left-a},top:function(a){var b=y.offset.top+y.scrollTop,c=k.y==="top"?q:k.y==="bottom"?-q:-q/2,d=l.y==="top"?s:l.y==="bottom"?-s:-s/2,e=D.tip.height+D.tip.border*2,f=C&&C.precedance==="y"?e:0,g=b-a-f,h=a+q-y.height-b+f,i=c-(k.precedance==="y"||k.x===k.y?d:0),j=k.y==="center";D.vertical==="shift"?(f=C&&C.precedance==="x"?e:0,i=(k.y==="top"?c:-c)-f,A.top+=g>0?g:h>0?-h:0,A.top=Math.max(y.offset.top+(f&&C.x==="center"?D.tip.offset:0),a-i,Math.min(a+i,A.top))):(g>0&&(k.y!=="top"||h>0)?A.top-=i+(j?0:2*m.y):h>0&&(k.y!=="bottom"||g>0)&&(A.top-=j?-i:i+2*m.y),A.top!==a&&j&&(A.top-=m.y),A.top<0&&-A.top>h&&(A.top=a));return A.top-a}};if(f==="mouse")l={x:"left",y:"top"},c=c&&(c.type==="resize"||c.type==="scroll")?B.event:!m.mouse&&B.origin?B.origin:i&&(m.mouse||!c||!c.pageX)?{pageX:i.pageX,pageY:i.pageY}:c,A={top:c.pageY,left:c.pageX};else{f==="event"&&(c&&c.target&&c.type!=="scroll"&&c.type!=="resize"?f=B.target=a(c.target):f=B.target),f=a(f).eq(0);if(f.length===0)return u;f[0]===document||f[0]===b?(r=f.width(),s=f.height(),f[0]===b&&(A={top:!w||h.iOS?y.scrollTop():0,left:!w||h.iOS?y.scrollLeft():0})):f.is("area")&&h.imagemap?A=h.imagemap(f,l):f[0].namespaceURI==="http://www.w3.org/2000/svg"&&h.svg?A=h.svg(f,l):(r=f.outerWidth(),s=f.outerHeight(),A=h.offset(f,g.container,w)),A.offset&&(r=A.width,s=A.height,A=A.offset),A.left+=l.x==="right"?r:l.x==="center"?r/2:0,A.top+=l.y==="bottom"?s:l.y==="center"?s/2:0}A.left+=m.x+(k.x==="right"?-o:k.x==="center"?-o/2:0),A.top+=m.y+(k.y==="bottom"?-q:k.y==="center"?-q/2:0),y.jquery&&f[0]!==b&&f[0]!==v&&D.vertical+D.horizontal!=="nonenone"?(y={elem:y,height:y[(y[0]===b?"h":"outerH")+"eight"](),width:y[(y[0]===b?"w":"outerW")+"idth"](),scrollLeft:y.scrollLeft(),scrollTop:y.scrollTop(),offset:y.offset()||{left:0,top:0}},A.adjusted={left:D.horizontal!=="none"?D.left(A.left):0,top:D.vertical!=="none"?D.top(A.top):0}):A.adjusted={left:0,top:0},z.attr("class",function(b,c){return a.attr(this,"class").replace(/ui-tooltip-pos-\w+/i,"")}).addClass(j+"-pos-"+k.abbreviation()),t.originalEvent=a.extend({},c),z.trigger(t,[u,A,y.elem||y]);if(t.isDefaultPrevented())return u;delete A.adjusted,d===e||isNaN(A.left)||isNaN(A.top)||!a.isFunction(g.effect)?z.css(A):a.isFunction(g.effect)&&(g.effect.call(z,u,a.extend({},A)),z.queue(function(b){a(this).css({opacity:"",height:""}),a.browser.msie&&this.style.removeAttribute("filter"),b()})),x=0;return u},redraw:function(){if(u.rendered<1||p.style.width||y)return u;var b=j+"-fluid",c=p.position.container,d,e,f,g;y=1,z.css("width","").addClass(b),e=z.width()+(a.browser.mozilla?1:0),f=z.css("max-width"),g=z.css("min-width"),d=(f+g).indexOf("%")>-1?c.width()/100:0,f=(f.indexOf("%")>-1?d:1)*parseInt(f,10)||0,g=(g.indexOf("%")>-1?d:1)*parseInt(g,10)||0,e=f+g?Math.min(Math.max(e,g),f):e,z.css("width",Math.round(e)).removeClass(b),y=0;return u},disable:function(b){var c=l;"boolean"!==typeof b&&(b=!z.hasClass(c)&&!B.disabled),u.rendered?(z.toggleClass(c,b),a.attr(z[0],"aria-disabled",b)):B.disabled=!!b;return u},enable:function(){return u.disable(e)},destroy:function(){var b=c[0],d=a.attr(b,r);u.rendered&&(z.remove(),a.each(u.plugins,function(){this.destroy&&this.destroy()})),clearTimeout(u.timers.show),clearTimeout(u.timers.hide),L(1,1,1,1),a.removeData(b,"qtip"),d&&(a.attr(b,"title",d),c.removeAttr(r)),c.removeAttr("aria-describedby").unbind(".qtip");return c}})}function t(b){var c;if(!b||"object"!==typeof b)return e;"object"!==typeof b.metadata&&(b.metadata={type:b.metadata});if("content"in b){if("object"!==typeof b.content||b.content.jquery)b.content={text:b.content};c=b.content.text||e,!a.isFunction(c)&&(!c&&!c.attr||c.length<1||"object"===typeof c&&!c.jquery)&&(b.content.text=e),"title"in b.content&&("object"!==typeof b.content.title&&(b.content.title={text:b.content.title}),c=b.content.title.text||e,!a.isFunction(c)&&(!c&&!c.attr||c.length<1||"object"===typeof c&&!c.jquery)&&(b.content.title.text=e))}"position"in b&&("object"!==typeof b.position&&(b.position={my:b.position,at:b.position})),"show"in b&&("object"!==typeof b.show&&(b.show.jquery?b.show={target:b.show}:b.show={event:b.show})),"hide"in b&&("object"!==typeof b.hide&&(b.hide.jquery?b.hide={target:b.hide}:b.hide={event:b.hide})),"style"in b&&("object"!==typeof b.style&&(b.style={classes:b.style})),a.each(h,function(){this.sanitize&&this.sanitize(b)});return b}function s(){var c=b.console;return c&&(c.error||c.log||a.noop).apply(c,arguments)}var d=!0,e=!1,f=null,g,h,i,j="ui-tooltip",k="ui-widget",l="ui-state-disabled",m="div.qtip."+j,n=j+"-focus",o=j+"-hover",p="-31000px",q="_replacedByqTip",r="oldtitle";g=a.fn.qtip=function(b,h,i){var j=(""+b).toLowerCase(),k=f,l=j==="disable"?[d]:a.makeArray(arguments).slice(1,10),m=l[l.length-1],n=this[0]?a.data(this[0],"qtip"):f;if(!arguments.length&&n||j==="api")return n;if("string"===typeof b){this.each(function(){var b=a.data(this,"qtip");if(!b)return d;m&&m.timeStamp&&(b.cache.event=m);if(j!=="option"&&j!=="options"||!h)b[j]&&b[j].apply(b[j],l);else if(a.isPlainObject(h)||i!==c)b.set(h,i);else{k=b.get(h);return e}});return k!==f?k:this}if("object"===typeof b||!arguments.length){n=t(a.extend(d,{},b));return g.bind.call(this,n,m)}},g.bind=function(b,c){return this.each(function(f){function p(b){function c(){o.render(typeof b==="object"||i.show.ready),k.show.unbind(l.show),k.hide.unbind(l.hide)}if(o.cache.disabled)return e;o.cache.event=a.extend({},b),i.show.delay>0?(clearTimeout(o.timers.show),o.timers.show=setTimeout(c,i.show.delay),l.show!==l.hide&&k.hide.bind(l.hide,function(){clearTimeout(o.timers.show)})):c()}var i,k,l,m=!b.id||b.id===e||b.id.length<1||a("#"+j+"-"+b.id).length?g.nextid++:b.id,n=".qtip-"+m+"-create",o=v.call(this,m,b);if(o===e)return d;i=o.options,a.each(h,function(){this.initialize==="initialize"&&this(o)}),k={show:i.show.target,hide:i.hide.target},l={show:a.trim(""+i.show.event).replace(/ /g,n+" ")+n,hide:a.trim(""+i.hide.event).replace(/ /g,n+" ")+n},i.hide.event==="unfocus"&&(l.hide="mouseleave"+n),k.show.bind(l.show,p),(i.show.ready||i.prerender)&&p(c)})},h=g.plugins={Corner:function(a){a=(""+a).replace(/([A-Z])/," $1").replace(/middle/gi,"center").toLowerCase(),this.x=(a.match(/left|right/i)||a.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(a.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.precedance=a.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),b=this.y.substr(0,1);return a===b?a:a==="c"||a!=="c"&&b!=="c"?b+a:a+b}},offset:function(c,d,e){function l(a,b){f.left+=b*a.scrollLeft(),f.top+=b*a.scrollTop()}var f=c.offset(),g=d,i=0,j=document.body,k;if(g){do{if(g[0]===j)break;g.css("position")!=="static"&&(k=g.position(),f.left-=k.left+(parseInt(g.css("borderLeftWidth"),10)||0),f.top-=k.top+(parseInt(g.css("borderTopWidth"),10)||0),i++)}while(g=g.offsetParent());(d[0]!==j||i>1)&&l(d,1),(h.iOS<4.1&&h.iOS>3.1||!h.iOS&&e)&&l(a(b),-1)}return f},iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,3})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_","."))||e,fn:{attr:function(b,c){if(this.length){var d=this[0],e="title",f=a.data(d,"qtip");if(b===e){if(arguments.length<2)return a.attr(d,r);if(typeof f==="object"){f&&f.rendered&&f.options.content.attr===e&&f.cache.attr&&f.set("content.text",c),a.fn["attr"+q].apply(this,arguments),a.attr(d,r,a.attr(d,e));return this.removeAttr(e)}}}},clone:function(b){var c=a([]),d="title",e;e=a.fn["clone"+q].apply(this,arguments).filter("[oldtitle]").each(function(){a.attr(this,d,a.attr(this,r)),this.removeAttribute(r)}).end();return e},remove:a.ui?f:function(b,c){a(this).each(function(){c||(!b||a.filter(b,[this]).length)&&a("*",this).add(this).each(function(){a(this).triggerHandler("remove")})})}}},a.each(h.fn,function(b,c){if(!c)return d;var e=a.fn[b+q]=a.fn[b];a.fn[b]=function(){return c.apply(this,arguments)||e.apply(this,arguments)}}),a(document).bind("mousemove.qtip",function(a){i={pageX:a.pageX,pageY:a.pageY,type:"mousemove"}}),g.version="2.0.0pre",g.nextid=0,g.inactiveEvents="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),g.zindex=15e3,g.defaults={prerender:e,id:e,overwrite:d,content:{text:d,attr:"title",title:{text:e,button:e}},position:{my:"top left",at:"bottom right",target:e,container:e,viewport:e,adjust:{x:0,y:0,mouse:d,resize:d,method:"flip flip"},effect:d},show:{target:e,event:"mouseenter",effect:d,delay:90,solo:e,ready:e},hide:{target:e,event:"mouseleave",effect:d,delay:0,fixed:e,inactive:e,leave:"window",distance:e},style:{classes:"",widget:e,width:e},events:{render:f,move:f,show:f,hide:f,toggle:f,focus:f,blur:f}},h.ajax=function(a){var b=a.plugins.ajax;return"object"===typeof b?b:a.plugins.ajax=new w(a)},h.ajax.initialize="render",h.ajax.sanitize=function(a){var b=a.content,c;b&&"ajax"in b&&(c=b.ajax,typeof c!=="object"&&(c=a.content.ajax={url:c}),"boolean"!==typeof c.once&&c.once&&(c.once=!!c.once))},a.extend(d,g.defaults,{content:{ajax:{loading:d,once:d}}}),h.tip=function(a){var b=a.plugins.tip;return"object"===typeof b?b:a.plugins.tip=new y(a)},h.tip.initialize="render",h.tip.sanitize=function(a){var b=a.style,c;b&&"tip"in b&&(c=a.style.tip,typeof c!=="object"&&(a.style.tip={corner:c}),/string|boolean/i.test(typeof c.corner)||(c.corner=d),typeof c.width!=="number"&&delete c.width,typeof c.height!=="number"&&delete c.height,typeof c.border!=="number"&&c.border!==d&&delete c.border,typeof c.offset!=="number"&&delete c.offset)},a.extend(d,g.defaults,{style:{tip:{corner:d,mimic:e,width:6,height:6,border:d,offset:0}}}),h.imagemap=function(b,c){function l(a,b){var d=0,e=1,f=1,g=0,h=0,i=a.width,j=a.height;while(i>0&&j>0&&e>0&&f>0){i=Math.floor(i/2),j=Math.floor(j/2),c.x==="left"?e=i:c.x==="right"?e=a.width-i:e+=Math.floor(i/2),c.y==="top"?f=j:c.y==="bottom"?f=a.height-j:f+=Math.floor(j/2),d=b.length;while(d--){if(b.length<2)break;g=b[d][0]-a.offset.left,h=b[d][1]-a.offset.top,(c.x==="left"&&g>=e||c.x==="right"&&g<=e||c.x==="center"&&(ga.width-e)||c.y==="top"&&h>=f||c.y==="bottom"&&h<=f||c.y==="center"&&(ha.height-f))&&b.splice(d,1)}}return{left:b[0][0],top:b[0][1]}}var d=b.attr("shape").toLowerCase(),e=b.attr("coords").split(","),f=[],g=a('img[usemap="#'+b.parent("map").attr("name")+'"]'),h=g.offset(),i={width:0,height:0,offset:{top:1e10,right:0,bottom:0,left:1e10}},j=0,k=0;h.left+=Math.ceil((g.outerWidth()-g.width())/2),h.top+=Math.ceil((g.outerHeight()-g.height())/2);if(d==="poly"){j=e.length;while(j--)k=[parseInt(e[--j],10),parseInt(e[j+1],10)],k[0]>i.offset.right&&(i.offset.right=k[0]),k[0]i.offset.bottom&&(i.offset.bottom=k[1]),k[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",9(a,b,c){9 A(b){Q c=S,d=b.2R,e=d.1p,f=".24-"+b.1n;a.1l(c,{1L:9(){d.24=a(\'<4r 1O="1s-1p-24" 5z="0" 87="-1" 5B="86:\\\'\\\';" 14="2g:2Q; 15:3R; z-5C:-1; 2A:7W(4l=0); -5E-2A:"5F:5G.7L.5H(5I=0)";">\'),d.24.2W(e),e.18("4d"+f,c.29)},29:9(){Q a=b.4e("53"),c=b.1E.12,f=d.12,g,h;h=1v(e.Y("1c-O-U"),10)||0,h={O:-h,M:-h},c&&f&&(g=c.1i.1e==="x"?["U","O"]:["X","M"],h[g[1]]-=f[g[0]]()),d.24.Y(h).Y(a)},2c:9(){d.24.1Q(),e.1r(f)}}),c.1L()}9 z(c){Q f=S,g=c.25.P.1y,h=c.2R,i=h.1p,j="#1b-2q",k=".7C",l=k+c.1n,m="1H-1y-1b",o;c.2T.1y={"^P.1y.(2Y|1M)$":9(){f.1L(),h.2q.1W(i.1H(":1T"))}},a.1l(f,{1L:9(){T(!g.2Y)N f;o=f.2k(),i.16(m,d).1r(k).1r(l).18("46"+k+" 52"+k,9(a,b,c){f[a.1z.26("1p","")](a,c)}).18("5b"+k,9(a,b,c){o[0].14.2K=c-1}).18("5c"+k,9(b){a("["+m+"]:1T").2z(i).7D().1b("2n",b)}),g.4U&&a(b).1r(l).18("4H"+l,9(a){a.5K===27&&i.1R(n)&&c.R(a)}),g.1M&&h.2q.1r(l).18("3P"+l,9(a){i.1R(n)&&c.R(a)});N f},2k:9(){Q c=a(j);T(c.1a){h.2q=c;N c}o=h.2q=a("<2j />",{1n:j.2C(1),Y:{15:"3R",M:0,O:0,2g:"3G"},3t:9(){N e}}).2W(1B.39),a(b).1r(k).18("2s"+k,9(){o.Y({X:19.1Z(a(b).X(),a(1B).X()),U:19.1Z(a(b).U(),a(1B).U())})}).2u("2s");N o},1W:9(b,c,j){T(b&&b.3k())N f;Q k=g.1N,l=c?"P":"R",n=a("["+m+"]:1T").2z(i),p;o||(o=f.2k());T(o.1H(":7v")&&!c||!c&&n.1a)N f;c&&h.2q.Y("5M",g.1M?"5N":""),o.58(d,e),a.1P(k)?k.1U(o,c):k===e?o[l]():o.59(1v(j,10)||3N,c?.7:0,9(){c||a(S).R()});N f},P:9(a,b){N f.1W(a,d,b)},R:9(a,b){N f.1W(a,e,b)},2c:9(){Q d=o;d&&(d=a("["+m+"]").2z(i).1a<1,d?(h.2q.1Q(),a(b).1r(k)):h.2q.1r(k+c.1n));N i.3y(m).1r(k)}}),f.1L()}9 y(b,g){9 v(a){Q b=a.1e==="y",c=n[b?"U":"X"],d=n[b?"X":"U"],e=a.1o().2F("1f")>-1,f=c*(e?.5:1),g=19.7M,h=19.3M,i,j,k,l=19.4n(g(f,2)+g(d,2)),m=[p/f*l,p/d*l];m[2]=19.4n(g(m[0],2)-g(p,2)),m[3]=19.4n(g(m[1],2)-g(p,2)),i=l+m[2]+m[3]+(e?0:m[0]),j=i/l,k=[h(j*d),h(j*c)];N{X:k[b?0:1],U:k[b?1:0]}}9 u(b){Q c=k.1x&&b.y==="M",d=c?k.1x:k.V,e=a.22.5o,f=e?"-6D-":a.22.4E?"-4E-":"",g=b.y+(e?"":"-")+b.x,h=f+(e?"1c-4s-"+g:"1c-"+g+"-4s");N 1v(d.Y(h),10)||1v(l.Y(h),10)||0}9 t(a,b,c){b=b?b:a[a.1e];Q d=k.1x&&a.y==="M",e=d?k.1x:k.V,f="1c-"+b+"-U",g=1v(e.Y(f),10);N(c?g||1v(l.Y(f),10):g)||0}9 s(f,g,h,l){T(k.12){Q n=a.1l({},i.1i),o=h.3H,p=b.25.15.29.4m.2B(" "),q=p[0],r=p[1]||p[0],s={O:e,M:e,x:0,y:0},t,u={},v;i.1i.2v!==d&&(q==="2f"&&n.1e==="x"&&o.O&&n.y!=="1f"?n.1e=n.1e==="x"?"y":"x":q==="3K"&&o.O&&(n.x=n.x==="1f"?o.O>0?"O":"1j":n.x==="O"?"1j":"O"),r==="2f"&&n.1e==="y"&&o.M&&n.x!=="1f"?n.1e=n.1e==="y"?"x":"y":r==="3K"&&o.M&&(n.y=n.y==="1f"?o.M>0?"M":"1k":n.y==="M"?"1k":"M"),n.1o()!==m.1i&&(m.M!==o.M||m.O!==o.O)&&i.35(n,e)),t=i.15(n,o),t.1j!==c&&(t.O=-t.1j),t.1k!==c&&(t.M=-t.1k),t.3U=19.1Z(0,j.W);T(s.O=q==="2f"&&!!o.O)n.x==="1f"?u["2L-O"]=s.x=t["2L-O"]-o.O:(v=t.1j!==c?[o.O,-t.O]:[-o.O,t.O],(s.x=19.1Z(v[0],v[1]))>v[0]&&(h.O-=o.O,s.O=e),u[t.1j!==c?"1j":"O"]=s.x);T(s.M=r==="2f"&&!!o.M)n.y==="1f"?u["2L-M"]=s.y=t["2L-M"]-o.M:(v=t.1k!==c?[o.M,-t.M]:[-o.M,t.M],(s.y=19.1Z(v[0],v[1]))>v[0]&&(h.M-=o.M,s.M=e),u[t.1k!==c?"1k":"M"]=s.y);k.12.Y(u).1W(!(s.x&&s.y||n.x==="1f"&&s.y||n.y==="1f"&&s.x)),h.O-=t.O.3i?t.3U:q!=="2f"||s.M||!s.O&&!s.M?t.O:0,h.M-=t.M.3i?t.3U:r!=="2f"||s.O||!s.O&&!s.M?t.M:0,m.O=o.O,m.M=o.M,m.1i=n.1o()}}Q i=S,j=b.25.14.12,k=b.2R,l=k.1p,m={M:0,O:0,1i:""},n={U:j.U,X:j.X},o={},p=j.1c||0,q=".1b-12",r=a("<4P />")[0].3S;i.1i=f,i.3A=f,i.15={},b.2T.12={"^15.1K|14.12.(1i|3A|1c)$":9(){i.1L()||i.2c(),b.1V()},"^14.12.(X|U)$":9(){n={U:j.U,X:j.X},i.2k(),i.35(),b.1V()},"^V.17.1q|14.(3o|2l)$":9(){k.12&&i.35()}},a.1l(i,{1L:9(){Q b=i.4D()&&(r||a.22.3e);b&&(i.2k(),i.35(),l.1r(q).18("4d"+q,s));N b},4D:9(){Q a=j.1i,c=b.25.15,f=c.2t,g=c.1K.1o?c.1K.1o():c.1K;T(a===e||g===e&&f===e)N e;a===d?i.1i=1C h.2w(g):a.1o||(i.1i=1C h.2w(a),i.1i.2v=d);N i.1i.1o()!=="5q"},4w:9(){Q c,d,e,f=k.12.Y({5U:"",1c:""}),g=i.1i,h=g[g.1e],m="1c-"+h+"-3f",p="1c"+h.3i(0)+h.2C(1)+"5V",q=/5W?\\(0, 0, 0(, 0)?\\)|3r/i,r="6m-3f",s="3r",t="1s-1p-5n",u=a(1B.39).Y("3f"),v=b.2R.V.Y("3f"),w=k.1x&&(g.y==="M"||g.y==="1f"&&f.15().M+n.X/2+j.W",{"1O":"1s-1p-12"}).Y({U:b,X:c}).5X(l),r?a("<4P />").2W(k.12)[0].3S("2d").4u():(d=\'<4q:3W 5Y="0,0" 14="2g:4C-2Q; 15:3R; 4B:2o(#3D#51);">\',k.12.2N(p?d+=d:d))},35:9(b,c){Q g=k.12,l=g.60(),m=n.U,q=n.X,s="4c 61 ",u="4c 62 3r",w=j.3A,y=19.3M,z,A,B,C,D;b||(b=i.1i),w===e?w=b:(w=1C h.2w(w),w.1e=b.1e,w.x==="3u"?w.x=b.x:w.y==="3u"?w.y=b.y:w.x===w.y&&(w[b.1e]=b[b.1e])),z=w.1e,i.4w(),p=o.1c==="3r"||o.1c==="#63"?0:j.1c===d?t(b,f,d):j.1c,B=x(w,m,q),D=v(b),g.Y(D),b.1e==="y"?C=[y(w.x==="O"?p:w.x==="1j"?D.U-m-p:(D.U-m)/2),y(w.y==="M"?D.X-q:0)]:C=[y(w.x==="O"?D.U-m:0),y(w.y==="M"?p:w.y==="1k"?D.X-q-p:(D.X-q)/2)],r?(l.16(D),A=l[0].3S("2d"),A.65(),A.4u(),A.66(0,0,5v,5v),A.67(C[0],C[1]),A.68(),A.69(B[0][0],B[0][1]),A.4v(B[1][0],B[1][1]),A.4v(B[2][0],B[2][1]),A.6a(),A.6b=o.2O,A.82=o.1c,A.6c=p*2,A.6d="4Z",A.6e=5p,A.56(),A.2O()):(B="m"+B[0][0]+","+B[0][1]+" l"+B[1][0]+","+B[1][1]+" "+B[2][0]+","+B[2][1]+" 6f",C[2]=p&&/^(r|b)/i.1D(b.1o())?4G(a.22.3F,10)===8?2:1:0,l.Y({6g:""+(w.1o().2F("1f")>-1),O:C[0]-C[2]*4x(z==="x"),M:C[1]-C[2]*4x(z==="y"),U:m+p,X:q+p}).1m(9(b){Q c=a(S);c.16({7U:m+p+" "+(q+p),6i:B,6j:o.2O,6k:!!b,6l:!b}).Y({2g:p||b?"2Q":"3G"}),!b&&p>0&&c.2N()===""&&c.2N(\'<4q:56 6n="\'+p*2+\'4c" 3f="\'+o.1c+\'" 6o="6p" 6q="4Z" 14="4B:2o(#3D#51); 2g:4C-2Q;" />\')})),c!==e&&i.15(b)},15:9(b){Q c=k.12,f={},g=19.1Z(0,j.W),h,l,m;T(j.1i===e||!c)N e;b=b||i.1i,h=b.1e,l=v(b),m=[b.x,b.y],h==="x"&&m.6r(),a.1m(m,9(a,c){Q e,i;c==="1f"?(e=h==="y"?"O":"M",f[e]="50%",f["2L-"+e]=-19.3M(l[h==="y"?"U":"X"]/2)+g):(e=t(b,c,d),i=u(b),f[c]=a?t(b,c):g+(i>e?i:0))}),f[b[h]]-=l[h==="x"?"U":"X"],c.Y({M:"",1k:"",O:"",1j:"",2L:""}).Y(f);N f},2c:9(){k.12&&k.12.1Q(),l.1r(q)}}),i.1L()}9 x(a,b,c){Q d=19.3v(b/2),e=19.3v(c/2),f={4V:[[0,0],[b,c],[b,0]],4S:[[0,0],[b,0],[0,c]],4Q:[[0,c],[b,0],[b,c]],4F:[[0,0],[0,c],[b,c]],6t:[[0,c],[d,0],[b,c]],6v:[[0,0],[b,0],[d,c]],6w:[[0,0],[b,e],[0,c]],7w:[[b,0],[b,c],[0,e]]};f.6y=f.4V,f.6z=f.4S,f.7r=f.4Q,f.6C=f.4F;N f[a.1o()]}9 w(b){Q c=S,f=b.2R.1p,g=b.25.V.1w,h=".1b-1w",i=/<43\\b[^<]*(?:(?!<\\/43>)<[^<]*)*<\\/43>/5i,j=d;b.2T.1w={"^V.1w":9(a,b,d){b==="1w"&&(g=d),b==="2i"?c.1L():g&&g.2o?c.3Z():f.1r(h)}},a.1l(c,{1L:9(){g&&g.2o&&f.1r(h)[g.2i?"6E":"18"]("46"+h,c.3Z);N c},3Z:9(d,h){9 p(a,c,d){b.3a("V.1q",c+": "+d),n()}9 o(c){l&&(c=a("<2j/>").38(c.26(i,"")).4L(l)),b.3a("V.1q",c),n()}9 n(){m&&(f.Y("48",""),h=e)}T(d&&d.3k())N c;Q j=g.2o.2F(" "),k=g.2o,l,m=g.2i&&!g.4N&&h;m&&f.Y("48","4b"),j>-1&&(l=k.2C(j),k=k.2C(0,j)),a.1w(a.1l({7k:o,5r:p,6F:b},g,{2o:k}));N c}}),c.1L()}9 v(b,c){Q i,j,k,l,m=a(S),n=a(1B.39),o=S===1B?n:m,p=m.1Y?m.1Y(c.1Y):f,q=c.1Y.1z==="6H"&&p?p[c.1Y.41]:f,v=m.2p(c.1Y.41||"7g");6J{v=11 v==="1o"?(1C 7e("N "+v))():v}6K(w){s("7c 7b 7a 6N 78 2p: "+v)}l=a.1l(d,{},g.3j,c,11 v==="1g"?t(v):f,t(q||p)),p&&a.5t(S,"1Y"),j=l.15,l.1n=b;T("33"===11 l.V.1q){k=m.16(l.V.16);T(l.V.16!==e&&k)l.V.1q=k;2x N e}j.1u===e&&(j.1u=n),j.13===e&&(j.13=o),l.P.13===e&&(l.P.13=o),l.P.3n===d&&(l.P.3n=n),l.R.13===e&&(l.R.13=o),l.15.23===d&&(l.15.23=j.1u),j.2t=1C h.2w(j.2t),j.1K=1C h.2w(j.1K);T(a.2p(S,"1b"))T(l.4h)m.1b("2c");2x T(l.4h===e)N e;a.16(S,"17")&&(a.16(S,r,a.16(S,"17")),S.3z("17")),i=1C u(m,l,b,!!k),a.2p(S,"1b",i),m.18("1Q.1b",9(){i.2c()});N i}9 u(c,p,q,s){9 L(c,d,e,f){f=1v(f,10)!==0;Q g=".1b-"+q,h={P:c&&p.P.13[0],R:d&&p.R.13[0],1p:e&&u.1h&&A.1p[0],V:e&&u.1h&&A.V[0],1u:f&&p.15.1u[0]===v?1B:p.15.1u[0],3O:f&&b};u.1h?a([]).6Q(a.76([h.P,h.R,h.1p,h.1u,h.V,h.3O],9(a){N 11 a==="1g"})).1r(g):c&&p.P.13.1r(g+"-2k")}9 K(d,f,h,j){9 D(a){z.1H(":1T")&&u.1V(a)}9 C(a){T(z.1R(l))N e;1F(u.1t.1S),u.1t.1S=37(9(){u.R(a)},p.R.1S)}9 y(b){T(z.1R(l))N e;Q c=a(b.3q||b.13),d=c.6R(m)[0]===z[0],f=c[0]===r.P[0];1F(u.1t.P),1F(u.1t.R);T(n.13==="1G"&&d||p.R.2v&&(/1G(49|30|3V)/.1D(b.1z)&&(d||f))){b.6T(),b.6U();N e}p.R.2e>0?u.1t.R=37(9(){u.R(b)},p.R.2e):u.R(b)}9 x(a){T(z.1R(l))N e;r.P.2u("1b-"+q+"-1S"),1F(u.1t.P),1F(u.1t.R);Q b=9(){u.P(a)};p.P.2e>0?u.1t.P=37(b,p.P.2e):b()}Q k=".1b-"+q,n=p.15,r={P:p.P.13,R:p.R.13,1u:n.1u[0]===v?a(1B):n.1u,3X:a(1B)},s={P:a.3s(""+p.P.1d).2B(" "),R:a.3s(""+p.R.1d).2B(" ")},t=a.22.3e&&1v(a.22.3F,10)===6,w;h&&(p.R.2v&&(r.R=r.R.2S(z),z.18("6W"+k,9(){z.1R(l)||1F(u.1t.R)})),n.13==="1G"&&n.29.1G&&p.R.1d&&z.18("2Z"+k,9(a){(a.3q||a.13)!==r.P[0]&&u.R(a)}),z.18("2G"+k,9(a){u[a.1z==="2G"?"2n":"1M"](a)}),z.18("2G"+k+" 2Z"+k,9(a){z.28(o,a.1z==="2G")})),f&&("2H"===11 p.R.1S&&(r.P.18("1b-"+q+"-1S",C),a.1m(g.57,9(a,b){r.R.2S(A.1p).18(b+k+"-1S",C)})),a.1m(s.R,9(b,c){Q d=a.6X(c,s.P),e=a(r.R);d>-1&&e.2S(r.P).1a===e.1a||c==="4i"?(r.P.18(c+k,9(a){z.1H(":1T")?y(a):x(a)}),2E s.P[d]):r.R.18(c+k,y)})),d&&(a.1m(s.P,9(a,b){r.P.18(b+k,x)}),"2H"===11 p.R.4f&&r.P.18("34"+k,9(a){Q b=B.31||{},c=p.R.4f,d=19.3l;b&&(d(a.2h-b.2h)>=c||d(a.2D-b.2D)>=c)&&u.R(a)})),j&&((n.29.2s||n.23)&&a(a.1d.70.2s?n.23:b).18("2s"+k,D),(n.23||t&&z.Y("15")==="2v")&&a(n.23).18("4g"+k,D),/4i/i.1D(p.R.1d)&&r.3X.18("3t"+k,9(b){Q d=a(b.13);d.71(m).1a===0&&d.2S(c).1a>1&&z.1H(":1T")&&!z.1R(l)&&u.R(b)}),p.R.30&&/2Z|4R/i.1D(p.R.1d)&&a(b).18("1M"+k+" 1G"+(p.R.30.2F("72")>-1?"49":"30")+k,9(a){a.3q||u.R(a)}),n.13==="1G"&&r.3X.18("34"+k,9(a){n.29.1G&&!z.1R(l)&&z.1H(":1T")&&u.1V(a||i)}))}9 J(b,d){9 g(a){9 c(c){(b=b.2z(S)).1a===0&&(u.2I(),u.1V(B.1d),a())}Q b;T((b=f.4L("3x:2z([X]):2z([U])")).1a===0)N c.1U(b);b.1m(9(a,b){(9 d(){Q e=u.1t.3x;T(b.X&&b.U){1F(e[a]);N c.1U(b)}e[a]=37(d,20)})()})}Q f=A.V;b=b||p.V.1q;T(!u.1h||!b)N e;a.1P(b)&&(b=b.1U(c,u)||""),b.1X&&b.1a>0?f.4M().38(b.Y({2g:"2Q"})):f.2N(b),u.1h<0?z.3I("3Q",g):(y=0,g(a.5s));N u}9 I(b){Q d=A.17;T(!u.1h||!b)N e;a.1P(b)&&(b=b.1U(c,u)||""),b.1X&&b.1a>0?d.4M().38(b.Y({2g:"2Q"})):d.2N(b),u.2I(),u.1h&&z.1H(":1T")&&u.1V(B.1d)}9 H(a){Q b=A.1A,c=A.17;T(!u.1h)N e;a?(c||G(),F()):b.1Q()}9 G(){Q b=w+"-17";A.1x&&E(),A.1x=a("<2j />",{"1O":j+"-1x "+(p.14.2l?"1s-2l-4T":"")}).38(A.17=a("<2j />",{1n:b,"1O":j+"-17","1I-44":d})).75(A.V),p.V.17.1A?F():u.1h&&u.2I()}9 F(){Q b=p.V.17.1A,c=11 b==="1o",d=c?b:"77 1p";A.1A&&A.1A.1Q(),b.1X?A.1A=b:A.1A=a("",{"1O":"1s-32-3D "+(p.14.2l?"":j+"-3B"),17:d,"1I-79":d}).7d(a("<7f />",{"1O":"1s-3B 1s-3B-7h",2N:"&7j;"})),A.1A.2W(A.1x).16("4Y","1A").45(9(b){a(S).28("1s-32-45",b.1z==="2G")}).3P(9(a){z.1R(l)||u.R(a);N e}).18("3t 4H 5d 7l 4R",9(b){a(S).28("1s-32-7n 1s-32-2n",b.1z.2C(-4)==="7o")}),u.2I()}9 E(){A.17&&(A.1x.1Q(),A.1x=A.17=A.1A=f,u.1V())}9 D(){Q a=p.14.2l;z.28(k,a),A.V.28(k+"-V",a),A.1x&&A.1x.28(k+"-4T",a),A.1A&&A.1A.28(j+"-3B",!a)}9 C(a){Q b=0,c,d=p,e=a.2B(".");3d(d=d[e[b++]])b0&&!a("#"+i).1a&&(z[0].1n=i,A.V[0].1n=i+"-V",A.17[0].1n=i+"-17")},"^V.1q$":9(a,b,c){J(c)},"^V.17.1q$":9(a,b,c){T(!c)N E();!A.17&&c&&G(),I(c)},"^V.17.1A$":9(a,b,c){H(c)},"^15.(1K|2t)$":9(a,b,c){"1o"===11 c&&(a[b]=1C h.2w(c))},"^15.1u$":9(a,b,c){u.1h&&z.2W(c)},"^(P|R).(1d|13|2v|2e|1S)$":9(a,b,c,d,e){Q f=[1,0,0];f[e[1]==="P"?"47":"7t"](0),L.2b(u,f),K.2b(u,[1,1,0,0])},"^P.2X$":9(){u.1h?u.P():u.1J(1)},"^14.3o$":9(b,c,d){a.16(z[0],"1O",j+" 1b 1s-4W-4X "+d)},"^14.2l|V.17":D,"^42.(1J|P|3V|R|2n|1M)$":9(b,c,d){z[(a.1P(d)?"":"7u")+"18"]("1p"+c,d)}},a.1l(u,{1J:9(b){T(u.1h)N u;Q f=p.V.17.1q,g=a.36("7x");a.16(c[0],"1I-4p",w),z=A.1p=a("<2j/>",{1n:w,"1O":j+" 1b 1s-4W-4X "+p.14.3o,U:p.14.U||"",4Y:"7z","1I-7A":"7B","1I-44":e,"1I-4p":w+"-V","1I-4b":d}).28(l,B.2y).2p("1b",u).2W(p.15.1u).38(A.V=a("<2j />",{"1O":j+"-V",1n:w+"-V","1I-44":d})),u.1h=-1,y=1,f&&(G(),I(f)),J(),u.1h=d,D(),a.1m(p.42,9(b,c){a.1P(c)&&z.18(b==="1W"?"46 52":"1p"+b,c)}),a.1m(h,9(){S.2J==="1J"&&S(u)}),K(1,1,1,1),z.3I("3Q",9(a){g.3m=B.1d,z.2u(g,[u]),y=0,u.2I(),(p.P.2X||b)&&u.P(B.1d),a()});N u},4e:9(a){Q b,c;5a(a.2r()){3h"53":b={X:z.3c(),U:z.3C()};2U;3h"W":b=h.W(z,p.15.1u);2U;3D:c=C(a.2r()),b=c[0][c[1]],b=b.1e?b.1o():b}N b},3a:9(b,c){9 m(a,b){Q c,d,e;54(c 21 k)54(d 21 k[c])T(e=(1C 7E(d,"i")).4K(a))b.47(e),k[c][d].2b(u,b)}Q g=/^15\\.(1K|2t|29|13|1u)|14|V|P\\.2X/i,h=/^V\\.(17|16)|14/i,i=e,j=e,k=u.2T,l;"1o"===11 b?(l=b,b={},b[l]=c):b=a.1l(d,{},b),a.1m(b,9(c,d){Q e=C(c.2r()),f;f=e[0][e[1]],e[0][e[1]]="1g"===11 d&&d.7F?a(d):d,b[c]=[e[0],e[1],d,f],i=g.1D(c)||i,j=h.1D(c)||j}),t(p),x=y=1,a.1m(b,m),x=y=0,z.1H(":1T")&&u.1h&&(i&&u.1V(p.15.13==="1G"?f:B.1d),j&&u.2I());N u},1W:9(b,c){9 k(){b?(a.22.3e&&z[0].14.3z("2A"),z.Y("7G","")):z.Y({2g:"",48:"",U:"",4l:"",O:"",M:""})}T(!u.1h)T(b)u.1J(1);2x N u;Q d=b?"P":"R",g=p[d],h=z.1H(":1T"),i,j;(11 b).4y("33|2H")&&(b=!h);T(h===b)N u;T(c){T(/7H|7I/.1D(c.1z)&&/49|30/.1D(B.1d.1z)&&c.13===p.P.13[0]&&z.7K(c.3q).1a)N u;B.1d=a.1l({},c)}j=a.36("1p"+d),j.3m=c?B.1d:f,z.2u(j,[u,3N]);T(j.3k())N u;a.16(z[0],"1I-4b",!b),b?(B.31=B.1d,u.2n(c),a.1P(p.V.1q)&&J(),u.1V(c),g.3n&&a(m,g.3n).2z(z).1b("R",j)):(1F(u.1t.P),2E B.31,u.1M(c)),z.58(0,1),a.1P(g.1N)?(g.1N.1U(z,u),z.3I("3Q",9(a){k(),a()})):g.1N===e?(z[d](),k.1U(z)):z.59(3N,b?1:0,k),b&&g.13.2u("1b-"+q+"-1S");N u},P:9(a){N u.1W(d,a)},R:9(a){N u.1W(e,a)},2n:9(b){T(!u.1h)N u;Q c=a(m),d=1v(z[0].14.2K,10),e=g.5f+c.1a,f=a.1l({},b),h,i;z.1R(n)||(i=a.36("5b"),i.3m=f,z.2u(i,[u,e]),i.3k()||(d!==e&&(c.1m(9(){S.14.2K>d&&(S.14.2K=S.14.2K-1)}),c.2A("."+n).1b("1M",f)),z.3J(n)[0].14.2K=e));N u},1M:9(b){Q c=a.1l({},b),d;z.4o(n),d=a.36("5c"),d.3m=c,z.2u(d,[u]);N u},1V:9(c,d){T(!u.1h||x)N u;x=1;Q f=p.15.13,g=p.15,k=g.1K,l=g.2t,m=g.29,n=m.4m.2B(" "),o=z.3C(),q=z.3c(),r=0,s=0,t=a.36("4d"),w=z.Y("15")==="2v",y=g.23.1X?g.23:a(b),A={O:0,M:0},C=(u.1E.12||{}).1i,D={4j:n[0],4k:n[1]||n[0],12:p.14.12,O:9(a){Q b=y.W.O+y.2P,c=k.x==="O"?o:k.x==="1j"?-o:-o/2,d=l.x==="O"?r:l.x==="1j"?-r:-r/2,e=D.12.U+D.12.1c*2,f=C&&C.1e==="x"?e:0,g=b-a-f,h=a+o-y.U-b+f,i=c-(k.1e==="x"||k.x===k.y?d:0),j=k.x==="1f";D.4j==="2f"?(f=C&&C.1e==="y"?e:0,i=(k.x==="O"?c:-c)-f,A.O+=g>0?g:h>0?-h:0,A.O=19.1Z(y.W.O+(f&&C.x==="1f"?D.12.W:0),a-i,19.3L(a+i,A.O))):(g>0&&(k.x!=="O"||h>0)?A.O-=i+(j?0:2*m.x):h>0&&(k.x!=="1j"||g>0)&&(A.O-=j?-i:i+2*m.x),A.O!==a&&j&&(A.O-=m.x),A.Oh&&(A.O=a));N A.O-a},M:9(a){Q b=y.W.M+y.2V,c=k.y==="M"?q:k.y==="1k"?-q:-q/2,d=l.y==="M"?s:l.y==="1k"?-s:-s/2,e=D.12.X+D.12.1c*2,f=C&&C.1e==="y"?e:0,g=b-a-f,h=a+q-y.X-b+f,i=c-(k.1e==="y"||k.x===k.y?d:0),j=k.y==="1f";D.4k==="2f"?(f=C&&C.1e==="x"?e:0,i=(k.y==="M"?c:-c)-f,A.M+=g>0?g:h>0?-h:0,A.M=19.1Z(y.W.M+(f&&C.x==="1f"?D.12.W:0),a-i,19.3L(a+i,A.M))):(g>0&&(k.y!=="M"||h>0)?A.M-=i+(j?0:2*m.y):h>0&&(k.y!=="1k"||g>0)&&(A.M-=j?-i:i+2*m.y),A.M!==a&&j&&(A.M-=m.y),A.M<0&&-A.M>h&&(A.M=a));N A.M-a}};y=y?{5l:y,X:y[(y[0]===b?"h":"7P")+"7Q"](),U:y[(y[0]===b?"w":"7S")+"7T"](),2P:y.2P(),2V:y.2V(),W:y.W()||{O:0,M:0}}:e;T(f==="1G")l={x:"O",y:"M"},c=c&&(c.1z==="2s"||c.1z==="4g")?B.1d:!m.1G&&B.31?B.31:m.1G||!c||!c.2h?{2h:i.2h,2D:i.2D}:c,A={M:c.2D,O:c.2h};2x{f==="1d"&&(c&&c.13&&c.1z!=="4g"&&c.1z!=="2s"?f=B.13=a(c.13):f=B.13),f=a(f).7X(0);T(f.1a===0)N u;f[0]===1B||f[0]===b?(r=f.U(),s=f.X(),f[0]===b&&(A={M:!w||h.2M?y.2V:0,O:!w||h.2M?y.2P:0})):f.1H("7Y")&&h.3Y?A=h.3Y(f,l):f[0].7Z=="80://81.83.84/85/3p"&&h.3p?A=h.3p(f,l):(r=f.3C(),s=f.3c(),A=h.W(f,g.1u,w)),A.W&&(r=A.U,s=A.X,A=A.W),A.O+=l.x==="1j"?r:l.x==="1f"?r/2:0,A.M+=l.y==="1k"?s:l.y==="1f"?s/2:0}A.O+=m.x+(k.x==="1j"?-o:k.x==="1f"?-o/2:0),A.M+=m.y+(k.y==="1k"?-q:k.y==="1f"?-q/2:0),g.23.1X&&f[0]!==b&&f[0]!==v?A.3H={O:D.4j!=="3G"?D.O(A.O):0,M:D.4k!=="3G"?D.M(A.M):0}:A.3H={O:0,M:0},z.16("1O",9(b,c){N a.16(S,"1O").26(/1s-1p-5k-\\w+/i,"")}).3J(j+"-5k-"+k.4A()),t.3m=a.1l({},c),z.2u(t,[u,A,y.5l]);T(t.3k())N u;2E A.3H,d===e||5m(A.O)||5m(A.M)||!a.1P(g.1N)?z.Y(A):a.1P(g.1N)&&(g.1N.1U(z,u,a.1l({},A)),z.3I(9(b){a(S).Y({4l:"",X:""}),a.22.3e&&S.14.3z("2A"),b()})),x=0;N u},2I:9(){T(u.1h<1||p.14.U||y)N u;Q b=j+"-5n",c=p.15.1u,d,e,f,g;y=1,z.Y("U","").3J(b),e=z.U()+(a.22.5o?1:0),f=z.Y("1Z-U"),g=z.Y("3L-U"),d=(f+g).2F("%")>-1?c.U()/5p:0,f=(f.2F("%")>-1?d:1)*1v(f,10)||0,g=(g.2F("%")>-1?d:1)*1v(g,10)||0,e=f+g?19.3L(19.1Z(e,g),f):e,z.Y("U",19.3M(e)).4o(b),y=0;N u},40:9(b){Q c=l;"33"!==11 b&&(b=!z.1R(c)&&!B.2y),u.1h?(z.28(c,b),a.16(z[0],"1I-2y",b)):B.2y=!!b;N u},88:9(){N u.40(e)},2c:9(){Q b=c[0],d=a.16(b,r);u.1h&&(z.1Q(),a.1m(u.1E,9(){S.2c&&S.2c()})),1F(u.1t.P),1F(u.1t.R),L(1,1,1,1),a.5t(b,"1b"),d&&(a.16(b,"17",d),c.3y(r)),c.3y("1I-4p").1r(".1b");N c}})}9 t(b){Q c;T(!b||"1g"!==11 b)N e;"1g"!==11 b.1Y&&(b.1Y={1z:b.1Y});T("V"21 b){T("1g"!==11 b.V||b.V.1X)b.V={1q:b.V};c=b.V.1q||e,!a.1P(c)&&(!c&&!c.16||c.1a<1||"1g"===11 c&&!c.1X)&&(b.V.1q=e),"17"21 b.V&&("1g"!==11 b.V.17&&(b.V.17={1q:b.V.17}),c=b.V.17.1q||e,!a.1P(c)&&(!c&&!c.16||c.1a<1||"1g"===11 c&&!c.1X)&&(b.V.17.1q=e))}"15"21 b&&("1g"!==11 b.15&&(b.15={1K:b.15,2t:b.15})),"P"21 b&&("1g"!==11 b.P&&(b.P.1X?b.P={13:b.P}:b.P={1d:b.P})),"R"21 b&&("1g"!==11 b.R&&(b.R.1X?b.R={13:b.R}:b.R={1d:b.R})),"14"21 b&&("1g"!==11 b.14&&(b.14={3o:b.14})),a.1m(h,9(){S.3g&&S.3g(b)});N b}9 s(){Q c=b.5w;N c&&(c.5r||c.5A||a.5s).2b(c,2a)}Q d=!0,e=!1,f=5D,g,h,i,j="1s-1p",k="1s-2l",l="1s-32-2y",m="2j.1b."+j,n=j+"-2n",o=j+"-45",p="-5J",q="5L",r="4J";g=a.2m.1b=9(b,h,i){Q j=(""+b).2r(),k=f,l=j==="40"?[d]:a.5O(2a).5u(1,10),m=l[l.1a-1],n=S[0]?a.2p(S[0],"1b"):f;T(!2a.1a&&n||j==="5P")N n;T("1o"===11 b){S.1m(9(){Q b=a.2p(S,"1b");T(!b)N d;m&&m.5Q&&(b.3b.1d=m);T(j!=="5S"&&j!=="25"||!h)b[j]&&b[j].2b(b[j],l);2x T(a.5T(h)||i!==c)b.3a(h,i);2x{k=b.4e(h);N e}});N k!==f?k:S}T("1g"===11 b||!2a.1a){n=t(a.1l(d,{},b));N g.18.1U(S,n,m)}},g.18=9(b,c){N S.1m(9(f){9 p(b){9 c(){o.1J(11 b==="1g"||i.P.2X),k.P.1r(l.P),k.R.1r(l.R)}T(o.3b.2y)N e;o.3b.1d=a.1l({},b),i.P.2e>0?(1F(o.1t.P),o.1t.P=37(c,i.P.2e),l.P!==l.R&&k.R.18(l.R,9(){1F(o.1t.P)})):c()}Q i,k,l,m=!b.1n||b.1n===e||b.1n.1a<1||a("#"+j+"-"+b.1n).1a?g.4a++:b.1n,n=".1b-"+m+"-2k",o=v.1U(S,m,b);T(o===e)N d;i=o.25,a.1m(h,9(){S.2J==="2J"&&S(o)}),k={P:i.P.13,R:i.R.13},l={P:a.3s(""+i.P.1d).26(/ /g,n+" ")+n,R:a.3s(""+i.R.1d).26(/ /g,n+" ")+n},i.R.1d==="4i"&&(l.R="2Z"+n),k.P.18(l.P,p),(i.P.2X||i.5h)&&p(c)})},h=g.1E={2w:9(a){a=(""+a).26(/([A-Z])/," $1").26(/6h/5i,"1f").2r(),S.x=(a.3T(/O|1j/i)||a.3T(/1f/)||["3u"])[0].2r(),S.y=(a.3T(/M|1k|1f/i)||["3u"])[0].2r(),S.1e=a.3i(0).4y(/^(t|b)/)>-1?"y":"x",S.1o=9(){N S.1e==="y"?S.y+S.x:S.x+S.y},S.4A=9(){Q a=S.x.2C(0,1),b=S.y.2C(0,1);N a===b?a:a==="c"||a!=="c"&&b!=="c"?b+a:a+b}},W:9(c,d,e){9 l(a,b){f.O+=b*a.2P(),f.M+=b*a.2V()}Q f=c.W(),g=d,i=0,j=1B.39,k;T(g){6s{T(g[0]===j)2U;g.Y("15")!=="6u"&&(k=g.15(),f.O-=k.O+(1v(g.Y("6x"),10)||0),f.M-=k.M+(1v(g.Y("6A"),10)||0),i++)}3d(g=g.6B());(d[0]!==j||i>1)&&l(d,1),(h.2M<4.1&&h.2M>3.1||!h.2M&&e)&&l(a(b),-1)}N f},2M:4G((""+(/4O.*6G ([0-6I]{1,3})|(4O 6L).*6M.*6O/i.4K(6S.6V)||[0,""])[1]).26("5e","6Y").26("73","."))||e,2m:{16:9(b,c){T(S.1a){Q d=S[0],e="17",f=a.2p(d,"1b");T(b===e){T(2a.1a<2)N a.16(d,r);T(11 f==="1g"){f&&f.1h&&f.25.V.16===e&&f.3b.16&&f.3a("V.1q",c),a.2m["16"+q].2b(S,2a),a.16(d,r,a.16(d,e));N S.3y(e)}}}},4I:9(b){Q c=a([]),d="17",e;e=a.2m["4I"+q].2b(S,2a).2A("[4J]").1m(9(){a.16(S,d,a.16(S,r)),S.3z(r)}).7q();N e},1Q:a.1s?f:9(b,c){a(S).1m(9(){c||(!b||a.2A(b,[S]).1a)&&a("*",S).2S(S).1m(9(){a(S).7y("1Q")})})}}},a.1m(h.2m,9(b,c){T(!c)N d;Q e=a.2m[b+q]=a.2m[b];a.2m[b]=9(){N c.2b(S,2a)||e.2b(S,2a)}}),a(1B).18("34.1b",9(a){i={2h:a.2h,2D:a.2D,1z:"34"}}),g.3F="2.0.7J",g.4a=0,g.57="3P 7N 3t 5d 34 2Z 2G".2B(" "),g.5f=7R,g.3j={5h:e,1n:e,4h:d,V:{1q:d,16:"17",17:{1q:e,1A:e}},15:{1K:"M O",2t:"1k 1j",13:e,1u:e,23:e,29:{x:0,y:0,1G:d,2s:d,4m:"3K 3K"},1N:d},P:{13:e,1d:"2G",1N:d,2e:3N,3n:e,2X:e},R:{13:e,1d:"2Z",1N:d,2e:0,2v:e,1S:e,30:"3O",4f:e},14:{3o:"",2l:e,U:e},42:{1J:f,3V:f,P:f,R:f,1W:f,2n:f,1M:f}},h.1w=9(a){Q b=a.1E.1w;N"1g"===11 b?b:a.1E.1w=1C w(a)},h.1w.2J="1J",h.1w.3g=9(a){Q b=a.V,c;b&&"1w"21 b&&(c=b.1w,11 c!=="1g"&&(c=a.V.1w={2o:c}),"33"!==11 c.2i&&c.2i&&(c.2i=!!c.2i))},a.1l(d,g.3j,{V:{1w:{4N:d,2i:d}}}),h.12=9(a){Q b=a.1E.12;N"1g"===11 b?b:a.1E.12=1C y(a)},h.12.2J="1J",h.12.3g=9(a){Q b=a.14,c;b&&"12"21 b&&(c=a.14.12,11 c!=="1g"&&(a.14.12={1i:c}),/1o|33/i.1D(11 c.1i)||(c.1i=d),11 c.U!=="2H"&&2E c.U,11 c.X!=="2H"&&2E c.X,11 c.1c!=="2H"&&c.1c!==d&&2E c.1c,11 c.W!=="2H"&&2E c.W)},a.1l(d,g.3j,{14:{12:{1i:d,3A:e,U:6,X:6,1c:d,W:0}}}),h.3Y=9(b,c){9 l(a,b){Q d=0,e=1,f=1,g=0,h=0,i=a.U,j=a.X;3d(i>0&&j>0&&e>0&&f>0){i=19.3w(i/2),j=19.3w(j/2),c.x==="O"?e=i:c.x==="1j"?e=a.U-i:e+=19.3w(i/2),c.y==="M"?f=j:c.y==="1k"?f=a.X-j:f+=19.3w(j/2),d=b.1a;3d(d--){T(b.1a<2)2U;g=b[d][0]-a.W.O,h=b[d][1]-a.W.M,(c.x==="O"&&g>=e||c.x==="1j"&&g<=e||c.x==="1f"&&(ga.U-e)||c.y==="M"&&h>=f||c.y==="1k"&&h<=f||c.y==="1f"&&(ha.X-f))&&b.6P(d,1)}}N{O:b[0][0],M:b[0][1]}}Q d=b.16("3W").2r(),e=b.16("74").2B(","),f=[],g=a(\'3x[7i="#\'+b.7m("55").16("41")+\'"]\'),h=g.W(),i={U:0,X:0,W:{M:3E,1j:0,1k:0,O:3E}},j=0,k=0;h.O+=19.3v((g.3C()-g.U())/2),h.M+=19.3v((g.3c()-g.X())/2);T(d==="5j"){j=e.1a;3d(j--)k=[1v(e[--j],10),1v(e[j+1],10)],k[0]>i.W.1j&&(i.W.1j=k[0]),k[0]i.W.1k&&(i.W.1k=k[1]),k[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}('"88 5x",9(a,b,c){9 A(b){Q c=S,d=b.2S,e=d.1p,f=".23-"+b.1o;a.1l(c,{1P:9(){d.23=a(\'<4r 1M="1t-1p-23" 5y="0" 5z="-1" 8a="5B:\\\'\\\';" 15="2i:2R; 14:3T; z-7S:-1; 2D:5C(4m=0); -86-2D:"5E:5F.5G.7C(5H=0)";">\'),d.23.2L(e),e.17("4h"+f,c.2a)},2a:9(){Q a=b.4k("51"),c=b.1C.12,f=d.12,g,h;h=1v(e.Y("1b-O-U"),10)||0,h={O:-h,M:-h},c&&f&&(g=c.1i.1e==="x"?["U","O"]:["X","M"],h[g[1]]-=f[g[0]]()),d.23.Y(h).Y(a)},2c:9(){d.23.1I(),e.1r(f)}}),c.1P()}9 z(c){Q f=S,g=c.24.P.1z,h=c.2S,i=h.1p,j="#1c-2n",k=".5I",l=k+c.1o,m="1H-1z-1c",o;c.2V.1z={"^P.1z.(2Z|1N)$":9(){f.1P(),h.2n.1X(i.1H(":1T"))}},a.1l(f,{1P:9(){T(!g.2Z)N f;o=f.2s(),i.16(m,d).1r(k).1r(l).17("4b"+k+" 4Z"+k,9(a,b,c){f[a.1x.25("1p","")](a,c)}).17("58"+k,9(a,b,c){o[0].15.2M=c-1}).17("5a"+k,9(b){a("["+m+"]:1T").2H(i).7D().1c("2f",b)}),g.4s&&a(b).1r(l).17("4J"+l,9(a){a.7L===27&&i.1R(n)&&c.R(a)}),g.1N&&h.2n.1r(l).17("3R"+l,9(a){i.1R(n)&&c.R(a)});N f},2s:9(){Q c=a(j);T(c.1a){h.2n=c;N c}o=h.2n=a("<2l />",{1o:j.2z(1),Y:{14:"3T",M:0,O:0,2i:"3I"},3r:9(){N e}}).2L(1A.39),a(b).1r(k).17("2r"+k,9(){o.Y({X:18.22(a(b).X(),a(1A).X()),U:18.22(a(b).U(),a(1A).U())})}).2u("2r");N o},1X:9(b,c,j){T(b&&b.3k())N f;Q k=g.1O,l=c?"P":"R",n=a("["+m+"]:1T").2H(i),p;o||(o=f.2s());T(o.1H(":5L")&&!c||!c&&n.1a)N f;c&&h.2n.Y("7o",g.1N?"5M":""),o.57(d,e),a.1K(k)?k.21(o,c):k===e?o[l]():o.4u(1v(j,10)||3P,c?.7:0,9(){c||a(S).R()});N f},P:9(a,b){N f.1X(a,d,b)},R:9(a,b){N f.1X(a,e,b)},2c:9(){Q d=o;d&&(d=a("["+m+"]").2H(i).1a<1,d?(h.2n.1I(),a(b).1r(k)):h.2n.1r(k+c.1o));N i.3v(m).1r(k)}}),f.1P()}9 y(b,g){9 v(a){Q b=a.1e==="y",c=n[b?"U":"X"],d=n[b?"X":"U"],e=a.1q().2F("1f")>-1,f=c*(e?.5:1),g=18.5O,h=18.3O,i,j,k,l=18.4p(g(f,2)+g(d,2)),m=[p/f*l,p/d*l];m[2]=18.4p(g(m[0],2)-g(p,2)),m[3]=18.4p(g(m[1],2)-g(p,2)),i=l+m[2]+m[3]+(e?0:m[0]),j=i/l,k=[h(j*d),h(j*c)];N{X:k[b?0:1],U:k[b?1:0]}}9 u(b){Q c=k.1y&&b.y==="M",d=c?k.1y:k.V,e=a.1Z.5o,f=e?"-6C-":a.1Z.4F?"-4F-":"",g=b.y+(e?"":"-")+b.x,h=f+(e?"1b-4I-"+g:"1b-"+g+"-4I");N 1v(d.Y(h),10)||1v(l.Y(h),10)||0}9 t(a,b,c){b=b?b:a[a.1e];Q d=k.1y&&a.y==="M",e=d?k.1y:k.V,f="1b-"+b+"-U",g=1v(e.Y(f),10);N(c?g||1v(l.Y(f),10):g)||0}9 s(f,g,h,l){T(k.12){Q n=a.1l({},i.1i),o=h.3J,p=b.24.14.2a.4n.2A(" "),q=p[0],r=p[1]||p[0],s={O:e,M:e,x:0,y:0},t,u={},v;i.1i.2v!==d&&(q==="2g"&&n.1e==="x"&&o.O&&n.y!=="1f"?n.1e=n.1e==="x"?"y":"x":q==="3M"&&o.O&&(n.x=n.x==="1f"?o.O>0?"O":"1j":n.x==="O"?"1j":"O"),r==="2g"&&n.1e==="y"&&o.M&&n.x!=="1f"?n.1e=n.1e==="y"?"x":"y":r==="3M"&&o.M&&(n.y=n.y==="1f"?o.M>0?"M":"1k":n.y==="M"?"1k":"M"),n.1q()!==m.1i&&(m.M!==o.M||m.O!==o.O)&&i.35(n,e)),t=i.14(n,o),t.1j!==c&&(t.O=-t.1j),t.1k!==c&&(t.M=-t.1k),t.3Z=18.22(0,j.W);T(s.O=q==="2g"&&!!o.O)n.x==="1f"?u["2N-O"]=s.x=t["2N-O"]-o.O:(v=t.1j!==c?[o.O,-t.O]:[-o.O,t.O],(s.x=18.22(v[0],v[1]))>v[0]&&(h.O-=o.O,s.O=e),u[t.1j!==c?"1j":"O"]=s.x);T(s.M=r==="2g"&&!!o.M)n.y==="1f"?u["2N-M"]=s.y=t["2N-M"]-o.M:(v=t.1k!==c?[o.M,-t.M]:[-o.M,t.M],(s.y=18.22(v[0],v[1]))>v[0]&&(h.M-=o.M,s.M=e),u[t.1k!==c?"1k":"M"]=s.y);k.12.Y(u).1X(!(s.x&&s.y||n.x==="1f"&&s.y||n.y==="1f"&&s.x)),h.O-=t.O.31?t.3Z:q!=="2g"||s.M||!s.O&&!s.M?t.O:0,h.M-=t.M.31?t.3Z:r!=="2g"||s.O||!s.O&&!s.M?t.M:0,m.O=o.O,m.M=o.M,m.1i=n.1q()}}Q i=S,j=b.24.15.12,k=b.2S,l=k.1p,m={M:0,O:0,1i:""},n={U:j.U,X:j.X},o={},p=j.1b||0,q=".1c-12",r=a("<4P />")[0].3S;i.1i=f,i.3y=f,i.14={},b.2V.12={"^14.1Q|15.12.(1i|3y|1b)$":9(){i.1P()||i.2c(),b.1V()},"^15.12.(X|U)$":9(){n={U:j.U,X:j.X},i.2s(),i.35(),b.1V()},"^V.19.1n|15.(3f|2j)$":9(){k.12&&i.35()}},a.1l(i,{1P:9(){Q b=i.4t()&&(r||a.1Z.3j);b&&(i.2s(),i.35(),l.1r(q).17("4h"+q,s));N b},4t:9(){Q a=j.1i,c=b.24.14,f=c.2t,g=c.1Q.1q?c.1Q.1q():c.1Q;T(a===e||g===e&&f===e)N e;a===d?i.1i=1E h.2w(g):a.1q||(i.1i=1E h.2w(a),i.1i.2v=d);N i.1i.1q()!=="5q"},4w:9(){Q c,d,e,f=k.12.Y({6i:"",1b:""}),g=i.1i,h=g[g.1e],m="1b-"+h+"-36",p="1b"+h.31(0)+h.2z(1)+"5T",q=/5U?\\(0, 0, 0(, 0)?\\)|3q/i,r="5V-36",s="3q",t="1t-1p-5n",u=a(1A.39).Y("36"),v=b.2S.V.Y("36"),w=k.1y&&(g.y==="M"||g.y==="1f"&&f.14().M+n.X/2+j.W",{"1M":"1t-1p-12"}).Y({U:b,X:c}).5W(l),r?a("<4P />").2L(k.12)[0].3S("2d").4x():(d=\'<3W:41 5X="0,0" 15="2i:4X-2R; 14:3T; 4C:2h(#3B#4D);">\',k.12.2Q(p?d+=d:d))},35:9(b,c){Q g=k.12,l=g.5Z(),m=n.U,q=n.X,s="3X 60 ",u="3X 61 3q",w=j.3y,y=18.3O,z,A,B,C,D;b||(b=i.1i),w===e?w=b:(w=1E h.2w(w),w.1e=b.1e,w.x==="3D"?w.x=b.x:w.y==="3D"?w.y=b.y:w.x===w.y&&(w[b.1e]=b[b.1e])),z=w.1e,i.4w(),p=o.1b==="3q"||o.1b==="#62"?0:j.1b===d?t(b,f,d):j.1b,B=x(w,m,q),D=v(b),g.Y(D),b.1e==="y"?C=[y(w.x==="O"?p:w.x==="1j"?D.U-m-p:(D.U-m)/2),y(w.y==="M"?D.X-q:0)]:C=[y(w.x==="O"?D.U-m:0),y(w.y==="M"?p:w.y==="1k"?D.X-q-p:(D.X-q)/2)],r?(l.16(D),A=l[0].3S("2d"),A.63(),A.4x(),A.65(0,0,5u,5u),A.66(C[0],C[1]),A.67(),A.68(B[0][0],B[0][1]),A.4y(B[1][0],B[1][1]),A.4y(B[2][0],B[2][1]),A.69(),A.6a=o.2K,A.6b=o.1b,A.82=p*2,A.6c="4B",A.6d=5p,A.4z(),A.2K()):(B="m"+B[0][0]+","+B[0][1]+" l"+B[1][0]+","+B[1][1]+" "+B[2][0]+","+B[2][1]+" 6e",C[2]=p&&/^(r|b)/i.1D(b.1q())?4G(a.1Z.3E,10)===8?2:1:0,l.Y({6f:""+(w.1q().2F("1f")>-1),O:C[0]-C[2]*5e(z==="x"),M:C[1]-C[2]*5e(z==="y"),U:m+p,X:q+p}).1m(9(b){Q c=a(S);c.16({6g:m+p+" "+(q+p),7U:B,6j:o.2K,6k:!!b,6l:!b}).Y({2i:p||b?"2R":"3I"}),!b&&p>0&&c.2Q()===""&&c.2Q(\'<3W:4z 6m="\'+p*2+\'3X" 36="\'+o.1b+\'" 6n="6o" 6p="4B" 15="4C:2h(#3B#4D); 2i:4X-2R;" />\')})),c!==e&&i.14(b)},14:9(b){Q c=k.12,f={},g=18.22(0,j.W),h,l,m;T(j.1i===e||!c)N e;b=b||i.1i,h=b.1e,l=v(b),m=[b.x,b.y],h==="x"&&m.6q(),a.1m(m,9(a,c){Q e,i;c==="1f"?(e=h==="y"?"O":"M",f[e]="50%",f["2N-"+e]=-18.3O(l[h==="y"?"U":"X"]/2)+g):(e=t(b,c,d),i=u(b),f[c]=a?t(b,c):g+(i>e?i:0))}),f[b[h]]-=l[h==="x"?"U":"X"],c.Y({M:"",1k:"",O:"",1j:"",2N:""}).Y(f);N f},2c:9(){k.12&&k.12.1I(),l.1r(q)}}),i.1P()}9 x(a,b,c){Q d=18.3A(b/2),e=18.3A(c/2),f={4V:[[0,0],[b,c],[b,0]],4U:[[0,0],[b,0],[0,c]],4R:[[0,c],[b,0],[b,c]],4S:[[0,0],[0,c],[b,c]],7A:[[0,c],[d,0],[b,c]],6s:[[0,0],[b,0],[d,c]],6u:[[0,0],[b,e],[0,c]],6v:[[b,0],[b,c],[0,e]]};f.6x=f.4V,f.6y=f.4U,f.7s=f.4R,f.6B=f.4S;N f[a.1q()]}9 w(b){Q c=S,f=b.2S.1p,g=b.24.V.1w,h=".1c-1w",i=/<45\\b[^<]*(?:(?!<\\/45>)<[^<]*)*<\\/45>/5g,j=d;b.2V.1w={"^V.1w":9(a,b,d){b==="1w"&&(g=d),b==="2p"?c.1P():g&&g.2h?c.43():f.1r(h)}},a.1l(c,{1P:9(){g&&g.2h&&f.1r(h)[g.2p?"6D":"17"]("4b"+h,c.43);N c},43:9(d,h){9 p(a,c,d){b.3c("V.1n",c+": "+d),n()}9 o(c){l&&(c=a("<2l/>").38(c.25(i,"")).4M(l)),b.3c("V.1n",c),n()}9 n(){m&&(f.Y("4d",""),h=e)}T(d&&d.3k())N c;Q j=g.2h.2F(" "),k=g.2h,l,m=g.2p&&!g.5v&&h;m&&f.Y("4d","4f"),j>-1&&(l=k.2z(j),k=k.2z(0,j)),a.1w(a.1l({6E:o,5r:p,7k:b},g,{2h:k}));N c}}),c.1P()}9 v(b,c){Q i,j,k,l,m=a(S),n=a(1A.39),o=S===1A?n:m,p=m.1U?m.1U(c.1U):f,q=c.1U.1x==="6G"&&p?p[c.1U.46]:f,v=m.2o(c.1U.46||"6H");7g{v=11 v==="1q"?(1E 6J("N "+v))():v}7e(w){s("6K 7c 7b 7a 6N 2o: "+v)}l=a.1l(d,{},g.3a,c,11 v==="1g"?t(v):f,t(q||p)),p&&a.5s(S,"1U"),j=l.14,l.1o=b;T("3h"===11 l.V.1n){k=m.16(l.V.16);T(l.V.16!==e&&k)l.V.1n=k;2y N e}j.1u===e&&(j.1u=n),j.13===e&&(j.13=o),l.P.13===e&&(l.P.13=o),l.P.3o===d&&(l.P.3o=n),l.R.13===e&&(l.R.13=o),l.14.29===d&&(l.14.29=j.1u),j.2t=1E h.2w(j.2t),j.1Q=1E h.2w(j.1Q);T(a.2o(S,"1c"))T(l.4l)m.1c("2c");2y T(l.4l===e)N e;a.16(S,"19")&&(a.16(S,r,a.16(S,"19")),S.3w("19")),i=1E u(m,l,b,!!k),a.2o(S,"1c",i),m.17("1I.1c",9(){i.2c()});N i}9 u(c,p,q,s){9 L(c,d,e,f){f=1v(f,10)!==0;Q g=".1c-"+q,h={P:c&&p.P.13[0],R:d&&p.R.13[0],1p:e&&u.1h&&A.1p[0],V:e&&u.1h&&A.V[0],1u:f&&p.14.1u[0]===v?1A:p.14.1u[0],3Q:f&&b};u.1h?a([]).78(a.6Q([h.P,h.R,h.1p,h.1u,h.V,h.3Q],9(a){N 11 a==="1g"})).1r(g):c&&p.P.13.1r(g+"-2s")}9 K(d,f,h,j){9 D(a){z.1H(":1T")&&u.1V(a)}9 C(a){T(z.1R(l))N e;1G(u.1s.1S),u.1s.1S=37(9(){u.R(a)},p.R.1S)}9 y(b){T(z.1R(l))N e;Q c=a(b.3C||b.13),d=c.76(m)[0]===z[0],f=c[0]===r.P[0];1G(u.1s.P),1G(u.1s.R);T(n.13==="1F"&&d||p.R.2v&&(/1F(4e|2X|42)/.1D(b.1x)&&(d||f))){b.6R(),b.6T();N e}p.R.2e>0?u.1s.R=37(9(){u.R(b)},p.R.2e):u.R(b)}9 x(a){T(z.1R(l))N e;r.P.2u("1c-"+q+"-1S"),1G(u.1s.P),1G(u.1s.R);Q b=9(){u.P(a)};p.P.2e>0?u.1s.P=37(b,p.P.2e):b()}Q k=".1c-"+q,n=p.14,r={P:p.P.13,R:p.R.13,1u:n.1u[0]===v?a(1A):n.1u,40:a(1A)},s={P:a.3F(""+p.P.1d).2A(" "),R:a.3F(""+p.R.1d).2A(" ")},t=a.1Z.3j&&1v(a.1Z.3E,10)===6,w;h&&(p.R.2v&&(r.R=r.R.2T(z),z.17("6U"+k,9(){z.1R(l)||1G(u.1s.R)})),n.13==="1F"&&n.2a.1F&&p.R.1d&&z.17("30"+k,9(a){(a.3C||a.13)!==r.P[0]&&u.R(a)}),z.17("2E"+k,9(a){u[a.1x==="2E"?"2f":"1N"](a)}),z.17("2E"+k+" 30"+k,9(a){z.2b(o,a.1x==="2E")})),f&&("2J"===11 p.R.1S&&(r.P.17("1c-"+q+"-1S",C),a.1m(g.56,9(a,b){r.R.2T(A.1p).17(b+k+"-1S",C)})),a.1m(s.R,9(b,c){Q d=a.6W(c,s.P),e=a(r.R);d>-1&&e.2T(r.P).1a===e.1a||c==="3U"?(r.P.17(c+k,9(a){z.1H(":1T")?y(a):x(a)}),2C s.P[d]):r.R.17(c+k,y)})),d&&(a.1m(s.P,9(a,b){r.P.17(b+k,x)}),"2J"===11 p.R.4j&&r.P.17("34"+k,9(a){Q b=B.33||{},c=p.R.4j,d=18.3l;b&&(d(a.2m-b.2m)>=c||d(a.2x-b.2x)>=c)&&u.R(a)})),j&&((n.2a.2r||n.29)&&a(a.1d.6X.2r?n.29:b).17("2r"+k,D),(n.29||t&&z.Y("14")==="2v")&&a(n.29).17("4i"+k,D),/3U/i.1D(p.R.1d)&&r.40.17("3r"+k,9(b){Q d=a(b.13);d.70(m).1a===0&&d.2T(c).1a>1&&z.1H(":1T")&&!z.1R(l)&&u.R(b)}),p.R.2X&&/30|4H/i.1D(p.R.1d)&&a(b).17("1N"+k+" 1F"+(p.R.2X.2F("71")>-1?"4e":"2X")+k,9(a){a.3C||u.R(a)}),n.13==="1F"&&r.40.17("34"+k,9(a){n.2a.1F&&!z.1R(l)&&z.1H(":1T")&&u.1V(a||i)}))}9 J(b,d){9 g(a){9 c(c){(b=b.2H(S)).1a===0&&(u.2G(),u.1V(B.1d),a())}Q b;T((b=f.4M("3t:2H([X]):2H([U])")).1a===0)N c.21(b);b.1m(9(a,b){(9 d(){Q e=u.1s.3t;T(b.X&&b.U){1G(e[a]);N c.21(b)}e[a]=37(d,20)})()})}Q f=A.V;b=b||p.V.1n;T(!u.1h||!b)N e;a.1K(b)&&(b=b.21(c,u)||""),b.1Y&&b.1a>0?f.4N().38(b.Y({2i:"2R"})):f.2Q(b),u.1h<0?z.3K("3Y",g):(y=0,g(a.5h));N u}9 I(b){Q d=A.19;T(!u.1h||!b)N e;a.1K(b)&&(b=b.21(c,u)||""),b.1Y&&b.1a>0?d.4N().38(b.Y({2i:"2R"})):d.2Q(b),u.2G(),u.1h&&z.1H(":1T")&&u.1V(B.1d)}9 H(a){Q b=A.1B,c=A.19;T(!u.1h)N e;a?(c||G(),F()):b.1I()}9 G(){Q b=w+"-19";A.1y&&E(),A.1y=a("<2l />",{"1M":j+"-1y "+(p.15.2j?"1t-2j-4T":"")}).38(A.19=a("<2l />",{1o:b,"1M":j+"-19","1L-4a":d})).74(A.V),p.V.19.1B?F():u.1h&&u.2G()}9 F(){Q b=p.V.19.1B,c=11 b==="1q",d=c?b:"75 1p";A.1B&&A.1B.1I(),b.1Y?A.1B=b:A.1B=a("",{"1M":"1t-32-3B "+(p.15.2j?"":j+"-3x"),19:d,"1L-77":d}).79(a("<7d />",{"1M":"1t-3x 1t-3x-7f",2Q:"&7h;"})),A.1B.2L(A.1y).16("4Y","1B").49(9(b){a(S).2b("1t-32-49",b.1x==="2E")}).3R(9(a){z.1R(l)||u.R(a);N e}).17("3r 4J 5b 7j 4H",9(b){a(S).2b("1t-32-7l 1t-32-2f",b.1x.2z(-4)==="7n")}),u.2G()}9 E(){A.19&&(A.1y.1I(),A.1y=A.19=A.1B=f,u.1V())}9 D(){Q a=p.15.2j;z.2b(k,a),A.V.2b(k+"-V",a),A.1y&&A.1y.2b(k+"-4T",a),A.1B&&A.1B.2b(j+"-3x",!a)}9 C(a){Q b=0,c,d=p,e=a.2A(".");3e(d=d[e[b++]])b0&&!a("#"+i).1a&&(z[0].1o=i,A.V[0].1o=i+"-V",A.19[0].1o=i+"-19")},"^V.1n$":9(a,b,c){J(c)},"^V.19.1n$":9(a,b,c){T(!c)N E();!A.19&&c&&G(),I(c)},"^V.19.1B$":9(a,b,c){H(c)},"^14.(1Q|2t)$":9(a,b,c){"1q"===11 c&&(a[b]=1E h.2w(c))},"^14.1u$":9(a,b,c){u.1h&&z.2L(c)},"^(P|R).(1d|13|2v|2e|1S)$":9(a,b,c,d,e){Q f=[1,0,0];f[e[1]==="P"?"4c":"7t"](0),L.26(u,f),K.26(u,[1,1,0,0])},"^P.2Y$":9(){u.1h?u.P():u.1J(1)},"^15.3f$":9(b,c,d){a.16(z[0],"1M",j+" 1c 1t-4E-4W "+d)},"^15.2j|V.19":D,"^48.(1J|P|42|R|2f|1N)$":9(b,c,d){z[(a.1K(d)?"":"7u")+"17"]("1p"+c,d)}},a.1l(u,{1J:9(b){T(u.1h)N u;Q f=p.V.19.1n,g=a.3b("7v");a.16(c[0],"1L-4q",w),z=A.1p=a("<2l/>",{1o:w,"1M":j+" 1c 1t-4E-4W "+p.15.3f,U:p.15.U||"",4Y:"7y","1L-7z":"7B","1L-4a":e,"1L-4q":w+"-V","1L-4f":d}).2b(l,B.2B).2o("1c",u).2L(p.14.1u).38(A.V=a("<2l />",{"1M":j+"-V",1o:w+"-V","1L-4a":d})),u.1h=-1,y=1,f&&(G(),I(f)),J(),u.1h=d,D(),a.1m(p.48,9(b,c){a.1K(c)&&z.17(b==="1X"?"4b 4Z":"1p"+b,c)}),a.1m(h,9(){S.2I==="1J"&&S(u)}),K(1,1,1,1),z.3K("3Y",9(a){g.3n=B.1d,z.2u(g,[u]),y=0,u.2G(),(p.P.2Y||b)&&u.P(B.1d),a()});N u},4k:9(a){Q b,c;59(a.2q()){3i"51":b={X:z.3d(),U:z.3z()};2W;3i"W":b=h.W(z,p.14.1u);2W;3B:c=C(a.2q()),b=c[0][c[1]],b=b.1e?b.1q():b}N b},3c:9(b,c){9 m(a,b){Q c,d,e;52(c 1W k)52(d 1W k[c])T(e=(1E 7E(d,"i")).4L(a))b.4c(e),k[c][d].26(u,b)}Q g=/^14\\.(1Q|2t|2a|13|1u)|15|V|P\\.2Y/i,h=/^V\\.(19|16)|15/i,i=e,j=e,k=u.2V,l;"1q"===11 b?(l=b,b={},b[l]=c):b=a.1l(d,{},b),a.1m(b,9(c,d){Q e=C(c.2q()),f;f=e[0][e[1]],e[0][e[1]]="1g"===11 d&&d.7F?a(d):d,b[c]=[e[0],e[1],d,f],i=g.1D(c)||i,j=h.1D(c)||j}),t(p),x=y=1,a.1m(b,m),x=y=0,z.1H(":1T")&&u.1h&&(i&&u.1V(p.14.13==="1F"?f:B.1d),j&&u.2G());N u},1X:9(b,c){9 k(){b?(a.1Z.3j&&z[0].15.3w("2D"),z.Y("7G","")):z.Y({2i:"",4d:"",U:"",4m:"",O:"",M:""})}T(!u.1h)T(b)u.1J(1);2y N u;Q d=b?"P":"R",g=p[d],h=z.1H(":1T"),i,j;(11 b).4A("3h|2J")&&(b=!h);T(h===b)N u;T(c){T(/7H|7I/.1D(c.1x)&&/4e|2X/.1D(B.1d.1x)&&c.13===p.P.13[0]&&z.7J(c.3C).1a)N u;B.1d=a.1l({},c)}j=a.3b("1p"+d),j.3n=c?B.1d:f,z.2u(j,[u,3P]);T(j.3k())N u;a.16(z[0],"1L-4f",!b),b?(B.33=B.1d,u.2f(c),a.1K(p.V.1n)&&J(),u.1V(c),g.3o&&a(m,g.3o).2H(z).1c("R",j)):(1G(u.1s.P),2C B.33,u.1N(c)),z.57(0,1),a.1K(g.1O)?(g.1O.21(z,u),z.3K("3Y",9(a){k(),a()})):g.1O===e?(z[d](),k.21(z)):z.4u(3P,b?1:0,k),b&&g.13.2u("1c-"+q+"-1S");N u},P:9(a){N u.1X(d,a)},R:9(a){N u.1X(e,a)},2f:9(b){T(!u.1h)N u;Q c=a(m),d=1v(z[0].15.2M,10),e=g.5d+c.1a,f=a.1l({},b),h,i;z.1R(n)||(i=a.3b("58"),i.3n=f,z.2u(i,[u,e]),i.3k()||(d!==e&&(c.1m(9(){S.15.2M>d&&(S.15.2M=S.15.2M-1)}),c.2D("."+n).1c("1N",f)),z.3L(n)[0].15.2M=e));N u},1N:9(b){Q c=a.1l({},b),d;z.4o(n),d=a.3b("5a"),d.3n=c,z.2u(d,[u]);N u},1V:9(c,d){T(!u.1h||x)N u;x=1;Q f=p.14.13,g=p.14,k=g.1Q,l=g.2t,m=g.2a,n=m.4n.2A(" "),o=z.3z(),q=z.3d(),r=0,s=0,t=a.3b("4h"),w=z.Y("14")==="2v",y=g.29.1Y?g.29:a(b),A={O:0,M:0},C=(u.1C.12||{}).1i,D={3G:n[0],3H:n[1]||n[0],12:p.15.12,O:9(a){Q b=y.W.O+y.2P,c=k.x==="O"?o:k.x==="1j"?-o:-o/2,d=l.x==="O"?r:l.x==="1j"?-r:-r/2,e=D.12.U+D.12.1b*2,f=C&&C.1e==="x"?e:0,g=b-a-f,h=a+o-y.U-b+f,i=c-(k.1e==="x"||k.x===k.y?d:0),j=k.x==="1f";D.3G==="2g"?(f=C&&C.1e==="y"?e:0,i=(k.x==="O"?c:-c)-f,A.O+=g>0?g:h>0?-h:0,A.O=18.22(y.W.O+(f&&C.x==="1f"?D.12.W:0),a-i,18.3N(a+i,A.O))):(g>0&&(k.x!=="O"||h>0)?A.O-=i+(j?0:2*m.x):h>0&&(k.x!=="1j"||g>0)&&(A.O-=j?-i:i+2*m.x),A.O!==a&&j&&(A.O-=m.x),A.Oh&&(A.O=a));N A.O-a},M:9(a){Q b=y.W.M+y.2U,c=k.y==="M"?q:k.y==="1k"?-q:-q/2,d=l.y==="M"?s:l.y==="1k"?-s:-s/2,e=D.12.X+D.12.1b*2,f=C&&C.1e==="y"?e:0,g=b-a-f,h=a+q-y.X-b+f,i=c-(k.1e==="y"||k.x===k.y?d:0),j=k.y==="1f";D.3H==="2g"?(f=C&&C.1e==="x"?e:0,i=(k.y==="M"?c:-c)-f,A.M+=g>0?g:h>0?-h:0,A.M=18.22(y.W.M+(f&&C.x==="1f"?D.12.W:0),a-i,18.3N(a+i,A.M))):(g>0&&(k.y!=="M"||h>0)?A.M-=i+(j?0:2*m.y):h>0&&(k.y!=="1k"||g>0)&&(A.M-=j?-i:i+2*m.y),A.M!==a&&j&&(A.M-=m.y),A.M<0&&-A.M>h&&(A.M=a));N A.M-a}};T(f==="1F")l={x:"O",y:"M"},c=c&&(c.1x==="2r"||c.1x==="4i")?B.1d:!m.1F&&B.33?B.33:i&&(m.1F||!c||!c.2m)?{2m:i.2m,2x:i.2x}:c,A={M:c.2x,O:c.2m};2y{f==="1d"&&(c&&c.13&&c.1x!=="4i"&&c.1x!=="2r"?f=B.13=a(c.13):f=B.13),f=a(f).7O(0);T(f.1a===0)N u;f[0]===1A||f[0]===b?(r=f.U(),s=f.X(),f[0]===b&&(A={M:!w||h.2O?y.2U():0,O:!w||h.2O?y.2P():0})):f.1H("7Q")&&h.44?A=h.44(f,l):f[0].7T==="7V://7W.7X.7Y/7Z/3p"&&h.3p?A=h.3p(f,l):(r=f.3z(),s=f.3d(),A=h.W(f,g.1u,w)),A.W&&(r=A.U,s=A.X,A=A.W),A.O+=l.x==="1j"?r:l.x==="1f"?r/2:0,A.M+=l.y==="1k"?s:l.y==="1f"?s/2:0}A.O+=m.x+(k.x==="1j"?-o:k.x==="1f"?-o/2:0),A.M+=m.y+(k.y==="1k"?-q:k.y==="1f"?-q/2:0),y.1Y&&f[0]!==b&&f[0]!==v&&D.3H+D.3G!=="80"?(y={5l:y,X:y[(y[0]===b?"h":"81")+"83"](),U:y[(y[0]===b?"w":"84")+"85"](),2P:y.2P(),2U:y.2U(),W:y.W()||{O:0,M:0}},A.3J={O:D.3G!=="3I"?D.O(A.O):0,M:D.3H!=="3I"?D.M(A.M):0}):A.3J={O:0,M:0},z.16("1M",9(b,c){N a.16(S,"1M").25(/1t-1p-5k-\\w+/i,"")}).3L(j+"-5k-"+k.55()),t.3n=a.1l({},c),z.2u(t,[u,A,y.5l||y]);T(t.3k())N u;2C A.3J,d===e||5m(A.O)||5m(A.M)||!a.1K(g.1O)?z.Y(A):a.1K(g.1O)&&(g.1O.21(z,u,a.1l({},A)),z.3K(9(b){a(S).Y({4m:"",X:""}),a.1Z.3j&&S.15.3w("2D"),b()})),x=0;N u},2G:9(){T(u.1h<1||p.15.U||y)N u;Q b=j+"-5n",c=p.14.1u,d,e,f,g;y=1,z.Y("U","").3L(b),e=z.U()+(a.1Z.5o?1:0),f=z.Y("22-U"),g=z.Y("3N-U"),d=(f+g).2F("%")>-1?c.U()/5p:0,f=(f.2F("%")>-1?d:1)*1v(f,10)||0,g=(g.2F("%")>-1?d:1)*1v(g,10)||0,e=f+g?18.3N(18.22(e,g),f):e,z.Y("U",18.3O(e)).4o(b),y=0;N u},47:9(b){Q c=l;"3h"!==11 b&&(b=!z.1R(c)&&!B.2B),u.1h?(z.2b(c,b),a.16(z[0],"1L-2B",b)):B.2B=!!b;N u},87:9(){N u.47(e)},2c:9(){Q b=c[0],d=a.16(b,r);u.1h&&(z.1I(),a.1m(u.1C,9(){S.2c&&S.2c()})),1G(u.1s.P),1G(u.1s.R),L(1,1,1,1),a.5s(b,"1c"),d&&(a.16(b,"19",d),c.3v(r)),c.3v("1L-4q").1r(".1c");N c}})}9 t(b){Q c;T(!b||"1g"!==11 b)N e;"1g"!==11 b.1U&&(b.1U={1x:b.1U});T("V"1W b){T("1g"!==11 b.V||b.V.1Y)b.V={1n:b.V};c=b.V.1n||e,!a.1K(c)&&(!c&&!c.16||c.1a<1||"1g"===11 c&&!c.1Y)&&(b.V.1n=e),"19"1W b.V&&("1g"!==11 b.V.19&&(b.V.19={1n:b.V.19}),c=b.V.19.1n||e,!a.1K(c)&&(!c&&!c.16||c.1a<1||"1g"===11 c&&!c.1Y)&&(b.V.19.1n=e))}"14"1W b&&("1g"!==11 b.14&&(b.14={1Q:b.14,2t:b.14})),"P"1W b&&("1g"!==11 b.P&&(b.P.1Y?b.P={13:b.P}:b.P={1d:b.P})),"R"1W b&&("1g"!==11 b.R&&(b.R.1Y?b.R={13:b.R}:b.R={1d:b.R})),"15"1W b&&("1g"!==11 b.15&&(b.15={3f:b.15})),a.1m(h,9(){S.3g&&S.3g(b)});N b}9 s(){Q c=b.5w;N c&&(c.5r||c.5A||a.5h).26(c,28)}Q d=!0,e=!1,f=5D,g,h,i,j="1t-1p",k="1t-2j",l="1t-32-2B",m="2l.1c."+j,n=j+"-2f",o=j+"-49",p="-5J",q="5K",r="4K";g=a.2k.1c=9(b,h,i){Q j=(""+b).2q(),k=f,l=j==="47"?[d]:a.5N(28).5t(1,10),m=l[l.1a-1],n=S[0]?a.2o(S[0],"1c"):f;T(!28.1a&&n||j==="7w")N n;T("1q"===11 b){S.1m(9(){Q b=a.2o(S,"1c");T(!b)N d;m&&m.5P&&(b.3m.1d=m);T(j!=="5R"&&j!=="24"||!h)b[j]&&b[j].26(b[j],l);2y T(a.5S(h)||i!==c)b.3c(h,i);2y{k=b.4k(h);N e}});N k!==f?k:S}T("1g"===11 b||!28.1a){n=t(a.1l(d,{},b));N g.17.21(S,n,m)}},g.17=9(b,c){N S.1m(9(f){9 p(b){9 c(){o.1J(11 b==="1g"||i.P.2Y),k.P.1r(l.P),k.R.1r(l.R)}T(o.3m.2B)N e;o.3m.1d=a.1l({},b),i.P.2e>0?(1G(o.1s.P),o.1s.P=37(c,i.P.2e),l.P!==l.R&&k.R.17(l.R,9(){1G(o.1s.P)})):c()}Q i,k,l,m=!b.1o||b.1o===e||b.1o.1a<1||a("#"+j+"-"+b.1o).1a?g.4g++:b.1o,n=".1c-"+m+"-2s",o=v.21(S,m,b);T(o===e)N d;i=o.24,a.1m(h,9(){S.2I==="2I"&&S(o)}),k={P:i.P.13,R:i.R.13},l={P:a.3F(""+i.P.1d).25(/ /g,n+" ")+n,R:a.3F(""+i.R.1d).25(/ /g,n+" ")+n},i.R.1d==="3U"&&(l.R="30"+n),k.P.17(l.P,p),(i.P.2Y||i.5f)&&p(c)})},h=g.1C={2w:9(a){a=(""+a).25(/([A-Z])/," $1").25(/6h/5g,"1f").2q(),S.x=(a.3V(/O|1j/i)||a.3V(/1f/)||["3D"])[0].2q(),S.y=(a.3V(/M|1k|1f/i)||["3D"])[0].2q(),S.1e=a.31(0).4A(/^(t|b)/)>-1?"y":"x",S.1q=9(){N S.1e==="y"?S.y+S.x:S.x+S.y},S.55=9(){Q a=S.x.2z(0,1),b=S.y.2z(0,1);N a===b?a:a==="c"||a!=="c"&&b!=="c"?b+a:a+b}},W:9(c,d,e){9 l(a,b){f.O+=b*a.2P(),f.M+=b*a.2U()}Q f=c.W(),g=d,i=0,j=1A.39,k;T(g){6r{T(g[0]===j)2W;g.Y("14")!=="6t"&&(k=g.14(),f.O-=k.O+(1v(g.Y("6w"),10)||0),f.M-=k.M+(1v(g.Y("6z"),10)||0),i++)}3e(g=g.6A());(d[0]!==j||i>1)&&l(d,1),(h.2O<4.1&&h.2O>3.1||!h.2O&&e)&&l(a(b),-1)}N f},2O:4G((""+(/4O.*6F ([0-6I]{1,3})|(4O 6L).*6M.*6O/i.4L(6S.6V)||[0,""])[1]).25("5c","6Y").25("72","."))||e,2k:{16:9(b,c){T(S.1a){Q d=S[0],e="19",f=a.2o(d,"1c");T(b===e){T(28.1a<2)N a.16(d,r);T(11 f==="1g"){f&&f.1h&&f.24.V.16===e&&f.3m.16&&f.3c("V.1n",c),a.2k["16"+q].26(S,28),a.16(d,r,a.16(d,e));N S.3v(e)}}}},4Q:9(b){Q c=a([]),d="19",e;e=a.2k["4Q"+q].26(S,28).2D("[4K]").1m(9(){a.16(S,d,a.16(S,r)),S.3w(r)}).7q();N e},1I:a.1t?f:9(b,c){a(S).1m(9(){c||(!b||a.2D(b,[S]).1a)&&a("*",S).2T(S).1m(9(){a(S).7x("1I")})})}}},a.1m(h.2k,9(b,c){T(!c)N d;Q e=a.2k[b+q]=a.2k[b];a.2k[b]=9(){N c.26(S,28)||e.26(S,28)}}),a(1A).17("34.1c",9(a){i={2m:a.2m,2x:a.2x,1x:"34"}}),g.3E="2.0.7K",g.4g=0,g.56="3R 7M 3r 5b 34 30 2E".2A(" "),g.5d=7P,g.3a={5f:e,1o:e,4l:d,V:{1n:d,16:"19",19:{1n:e,1B:e}},14:{1Q:"M O",2t:"1k 1j",13:e,1u:e,29:e,2a:{x:0,y:0,1F:d,2r:d,4n:"3M 3M"},1O:d},P:{13:e,1d:"2E",1O:d,2e:3P,3o:e,2Y:e},R:{13:e,1d:"30",1O:d,2e:0,2v:e,1S:e,2X:"3Q",4j:e},15:{3f:"",2j:e,U:e},48:{1J:f,42:f,P:f,R:f,1X:f,2f:f,1N:f}},h.1w=9(a){Q b=a.1C.1w;N"1g"===11 b?b:a.1C.1w=1E w(a)},h.1w.2I="1J",h.1w.3g=9(a){Q b=a.V,c;b&&"1w"1W b&&(c=b.1w,11 c!=="1g"&&(c=a.V.1w={2h:c}),"3h"!==11 c.2p&&c.2p&&(c.2p=!!c.2p))},a.1l(d,g.3a,{V:{1w:{5v:d,2p:d}}}),h.12=9(a){Q b=a.1C.12;N"1g"===11 b?b:a.1C.12=1E y(a)},h.12.2I="1J",h.12.3g=9(a){Q b=a.15,c;b&&"12"1W b&&(c=a.15.12,11 c!=="1g"&&(a.15.12={1i:c}),/1q|3h/i.1D(11 c.1i)||(c.1i=d),11 c.U!=="2J"&&2C c.U,11 c.X!=="2J"&&2C c.X,11 c.1b!=="2J"&&c.1b!==d&&2C c.1b,11 c.W!=="2J"&&2C c.W)},a.1l(d,g.3a,{15:{12:{1i:d,3y:e,U:6,X:6,1b:d,W:0}}}),h.44=9(b,c){9 l(a,b){Q d=0,e=1,f=1,g=0,h=0,i=a.U,j=a.X;3e(i>0&&j>0&&e>0&&f>0){i=18.3u(i/2),j=18.3u(j/2),c.x==="O"?e=i:c.x==="1j"?e=a.U-i:e+=18.3u(i/2),c.y==="M"?f=j:c.y==="1k"?f=a.X-j:f+=18.3u(j/2),d=b.1a;3e(d--){T(b.1a<2)2W;g=b[d][0]-a.W.O,h=b[d][1]-a.W.M,(c.x==="O"&&g>=e||c.x==="1j"&&g<=e||c.x==="1f"&&(ga.U-e)||c.y==="M"&&h>=f||c.y==="1k"&&h<=f||c.y==="1f"&&(ha.X-f))&&b.6P(d,1)}}N{O:b[0][0],M:b[0][1]}}Q d=b.16("41").2q(),e=b.16("73").2A(","),f=[],g=a(\'3t[7i="#\'+b.7m("54").16("46")+\'"]\'),h=g.W(),i={U:0,X:0,W:{M:3s,1j:0,1k:0,O:3s}},j=0,k=0;h.O+=18.3A((g.3z()-g.U())/2),h.M+=18.3A((g.3d()-g.X())/2);T(d==="5i"){j=e.1a;3e(j--)k=[1v(e[--j],10),1v(e[j+1],10)],k[0]>i.W.1j&&(i.W.1j=k[0]),k[0]i.W.1k&&(i.W.1k=k[1]),k[1]