YUI.add("aui-event-base",function(e,t){var n=e.Array,r=e.DOMEventFacade,i=r.prototype,s={BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,RETURN:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUM_LOCK:144,WIN_KEY:224,WIN_IME:229,NON_MODIFYING_KEYS:["ALT","CAPS_LOCK","CTRL","DOWN","END","ESC","F1","F10","F11","F12","F2","F3","F4","F5","F6","F7","F8","F9","HOME","LEFT","NUM_LOCK","PAGE_DOWN","PAGE_UP","PAUSE","PRINT_SCREEN","RIGHT","SHIFT","SPACE","UP","WIN_KEY"],hasModifier:function(e){return e&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)},isKey:function(e,t){var n=this;return t&&(n[t]||n[t.toUpperCase()])===e},isKeyInRange:function(e,t,n){var r=this,i=!1;if(t&&n){var s=r[t]||r[t.toUpperCase()],o=r[n]||r[n.toUpperCase()];i=s&&o&&e>=s&&e<=o}return i},isKeyInSet:function(e){var t=this,r=n(arguments,1,!0);return t._isKeyInSet(e,r)},isNavKey:function(e){var t=this;return t.isKeyInRange(e,"PAGE_UP","DOWN")||t.isKeyInSet(e,"ENTER","TAB","ESC")},isSpecialKey:function(e,t){var n=this,r=t==="keypress"&&n.ctrlKey;return r||n.isNavKey(e)||n.isKeyInRange(e,"SHIFT","CAPS_LOCK")||n.isKeyInSet(e,"BACKSPACE","PRINT_SCREEN","INSERT","WIN_IME")},isModifyingKey:function(e){var t=this;return!t._isKeyInSet(e,t.NON_MODIFYING_KEYS)},_isKeyInSet:function(e,t){var n=this,r=t.length,i=!1,s,o;while(r--){s=t[r],o=s&&(n[s]||n[String(s).toUpperCase()]);if(e===o){i=!0;break}}return i}};e.mix(i,{hasModifier:function(){var e=this;return s.hasModifier(e)},isKey:function(e){var t=this;return s.isKey(t.keyCode,e)},isKeyInRange:function(e,t){var n=this;return s.isKeyInRange(n.keyCode,e,t)},isKeyInSet:function(){var e=this,t=n(arguments,0,!0);return s._isKeyInSet(e.keyCode,t)},isModifyingKey:function(){var e=this;return s.isModifyingKey(e.keyCode)},isNavKey:function(){var e=this;return s.isNavKey(e.keyCode)},isSpecialKey:function(){var e=this;return s.isSpecialKey(e.keyCode,e.type)}}),e.Event.KeyMap=s,e.Event.supportsDOMEvent=e.supportsDOMEvent},"3.1.0-deprecated.106",{requires:["event-base"]});

YUI.add("event-resize",function(c,e){c.Event.define("windowresize",{on:c.UA.gecko&&c.UA.gecko<1.91?function(e,n,t){n._handle=c.Event.attach("resize",function(e){t.fire(e)})}:function(e,n,t){var i=c.config.windowResizeDelay||100;n._handle=c.Event.attach("resize",function(e){n._timer&&n._timer.cancel(),n._timer=c.later(i,c,function(){t.fire(e)})})},detach:function(e,n){n._timer&&n._timer.cancel(),n._handle.detach()}})},"patched-v3.18.6",{requires:["node-base","event-synthetic"]});
YUI.add("widget-htmlparser",function(d,e){var o=d.Widget,t=d.Node,a=d.Lang,i="srcNode";o.HTML_PARSER={},o._buildCfg={aggregates:["HTML_PARSER"]},o.ATTRS[i]={value:null,setter:t.one,getter:"_getSrcNode",writeOnce:!0},d.mix(o.prototype,{_getSrcNode:function(e){return e||this.get("contentBox")},_preAddAttrs:function(e,t,n){var r={id:e.id,boundingBox:e.boundingBox,contentBox:e.contentBox,srcNode:e.srcNode||d.Object(o.ATTRS[i])};this.addAttrs(r,t,n),delete e.boundingBox,delete e.contentBox,delete e.srcNode,delete e.id,this._applyParser&&this._applyParser(t)},_applyParsedConfig:function(e,t,n){return n?d.mix(t,n,!1):t},_applyParser:function(e){var r,o,i=this,s=this._getNodeToParse(),t=i._getHtmlParser();t&&s&&d.Object.each(t,function(e,t,n){o=null,a.isFunction(e)?o=e.call(i,s):a.isArray(e)?(o=s.all(e[0])).isEmpty()&&(o=null):o=s.one(e),null!==o&&o!==undefined&&((r=r||{})[t]=o)}),i._applyParsedConfig(s,e,r)},_getNodeToParse:function(){var e=this.get("srcNode");return this._cbFromTemplate?null:e},_getHtmlParser:function(){for(var e,t=this._getClasses(),n={},r=t.length-1;0<=r;r--)(e=t[r].HTML_PARSER)&&d.mix(n,e,!0);return n}})},"patched-v3.18.6",{requires:["widget-base"]});
YUI.add("widget-skin",function(e,t){var i=e.ClassNameManager.getClassName;e.Widget.prototype.getSkinName=function(e){var t,n,a=this.get("contentBox")||this.get("boundingBox");return e=e||i("skin",""),n=new RegExp("\\b"+e+"(\\S+)"),a&&a.ancestor(function(e){return t=e.get("className").match(n)}),t?t[1]:null}},"patched-v3.18.6",{requires:["widget-base"]});
YUI.add("widget-uievents",function(s,t){var r=s.Widget,i=s.Lang,a=s.Widget._uievts=s.Widget._uievts||{};s.mix(r.prototype,{_destroyUIEvents:function(){var n=s.stamp(this,!0);s.each(a,function(t,e){t.instances[n]&&(delete t.instances[n],s.Object.isEmpty(t.instances)&&(t.handle.detach(),a[e]&&delete a[e]))})},UI_EVENTS:s.Node.DOM_EVENTS,_getUIEventNode:function(){return this.get("boundingBox")},_createUIEvent:function(t){var e=this._getUIEventNode(),n=s.stamp(e)+t,i=a[n];i||(t=e.delegate(t,function(t){var e=r.getByNode(this);e&&e._filterUIEvent(t)&&e.fire(t.type,{domEvent:t})},"."+s.Widget.getClassName()),a[n]=i={instances:{},handle:t}),i.instances[s.stamp(this)]=1},_filterUIEvent:function(t){return t.currentTarget.compareTo(t.container)||t.container.compareTo(this._getUIEventNode())},_getUIEvent:function(t){var e,n;if(i.isString(t))return(t=this.parseType(t)[1])&&(-1<(e=t.indexOf(":"))&&(t=t.substring(e+":".length)),this.UI_EVENTS[t]&&(n=t)),n},_initUIEvent:function(t){var e=this._getUIEvent(t),t=this._uiEvtsInitQueue||{};e&&!t[e]&&(this._uiEvtsInitQueue=t[e]=1,this.after("render",function(){this._createUIEvent(e),delete this._uiEvtsInitQueue[e]}))},on:function(t){return this._initUIEvent(t),r.superclass.on.apply(this,arguments)},publish:function(t,e){var n=this._getUIEvent(t);return n&&e&&e.defaultFn&&this._initUIEvent(n),r.superclass.publish.apply(this,arguments)}},!0)},"patched-v3.18.6",{requires:["node-event-delegate","widget-base"]});
YUI.add("widget-position",function(t,i){var e=t.Lang,n=t.Widget,s="xy",o=n.UI_SRC;function r(t){}r.ATTRS={x:{setter:function(t){this._setX(t)},getter:function(){return this._getX()},lazyAdd:!1},y:{setter:function(t){this._setY(t)},getter:function(){return this._getY()},lazyAdd:!1},xy:{value:[0,0],validator:function(t){return this._validateXY(t)}}},r.POSITIONED_CLASS_NAME=n.getClassName("positioned"),r.prototype={initializer:function(){this._posNode=this.get("boundingBox"),t.after(this._renderUIPosition,this,"renderUI"),t.after(this._syncUIPosition,this,"syncUI"),t.after(this._bindUIPosition,this,"bindUI")},_renderUIPosition:function(){this._posNode.addClass(r.POSITIONED_CLASS_NAME)},_syncUIPosition:function(){"relative"===this._posNode.getStyle("position")&&this.syncXY(),this._uiSetXY(this.get(s))},_bindUIPosition:function(){this.after("xyChange",this._afterXYChange)},move:function(){var t=arguments,t=e.isArray(t[0])?t[0]:[t[0],t[1]];this.set(s,t)},syncXY:function(){this.set(s,this._posNode.getXY(),{src:o})},_validateXY:function(t){return e.isArray(t)&&e.isNumber(t[0])&&e.isNumber(t[1])},_setX:function(t){this.set(s,[t,this.get(s)[1]])},_setY:function(t){this.set(s,[this.get(s)[0],t])},_getX:function(){return this.get(s)[0]},_getY:function(){return this.get(s)[1]},_afterXYChange:function(t){t.src!=o&&this._uiSetXY(t.newVal)},_uiSetXY:function(t){this._posNode.setXY(t)}},t.WidgetPosition=r},"patched-v3.18.6",{requires:["base-build","node-screen","widget"]});
YUI.add("widget-stack",function(e,t){var i=e.Lang,s=e.UA,n=e.Node,h=e.Widget,a="zIndex",d="shim",r="visible",_="shimdeferred",c="shimresize",o="visibleChange";function S(e){}S.ATTRS={shim:{value:6==s.ie},zIndex:{value:0,setter:"_setZIndex"}},S.HTML_PARSER={zIndex:function(e){return this._parseZIndex(e)}},S.SHIM_CLASS_NAME=h.getClassName(d),S.STACKED_CLASS_NAME=h.getClassName("stacked"),S.SHIM_TEMPLATE='<iframe class="'+S.SHIM_CLASS_NAME+'" frameborder="0" title="Widget Stacking Shim" src="javascript:false" tabindex="-1" role="presentation"></iframe>',S.prototype={initializer:function(){this._stackNode=this.get("boundingBox"),this._stackHandles={},e.after(this._renderUIStack,this,"renderUI"),e.after(this._syncUIStack,this,"syncUI"),e.after(this._bindUIStack,this,"bindUI")},_syncUIStack:function(){this._uiSetShim(this.get(d)),this._uiSetZIndex(this.get(a))},_bindUIStack:function(){this.after("shimChange",this._afterShimChange),this.after("zIndexChange",this._afterZIndexChange)},_renderUIStack:function(){this._stackNode.addClass(S.STACKED_CLASS_NAME)},_parseZIndex:function(e){e=e.inDoc()&&"static"!==e.getStyle("position")?e.getComputedStyle("zIndex"):"auto";return"auto"===e?null:e},_setZIndex:function(e){return i.isString(e)&&(e=parseInt(e,10)),e=i.isNumber(e)?e:0},_afterShimChange:function(e){this._uiSetShim(e.newVal)},_afterZIndexChange:function(e){this._uiSetZIndex(e.newVal)},_uiSetZIndex:function(e){this._stackNode.setStyle(a,e)},_uiSetShim:function(e){e?(this.get(r)?this._renderShim():this._renderShimDeferred(),6==s.ie&&this._addShimResizeHandlers()):this._destroyShim()},_renderShimDeferred:function(){this._stackHandles[_]=this._stackHandles[_]||[];this._stackHandles[_].push(this.on(o,function(e){e.newVal&&this._renderShim()}))},_addShimResizeHandlers:function(){this._stackHandles[c]=this._stackHandles[c]||[];var e=this.sizeShim,t=this._stackHandles[c];t.push(this.after(o,e)),t.push(this.after("widthChange",e)),t.push(this.after("heightChange",e)),t.push(this.after("contentUpdate",e))},_detachStackHandles:function(e){var t,i=this._stackHandles[e];if(i&&0<i.length)for(;t=i.pop();)t.detach()},_renderShim:function(){var e=this._shimNode,t=this._stackNode;e||(e=this._shimNode=this._getShimTemplate(),t.insertBefore(e,t.get("firstChild")),this._detachStackHandles(_),this.sizeShim())},_destroyShim:function(){this._shimNode&&(this._shimNode.get("parentNode").removeChild(this._shimNode),this._shimNode=null,this._detachStackHandles(_),this._detachStackHandles(c))},sizeShim:function(){var e=this._shimNode,t=this._stackNode;e&&6===s.ie&&this.get(r)&&(e.setStyle("width",t.get("offsetWidth")+"px"),e.setStyle("height",t.get("offsetHeight")+"px"))},_getShimTemplate:function(){return n.create(S.SHIM_TEMPLATE,this._stackNode.get("ownerDocument"))}},e.WidgetStack=S},"patched-v3.18.6",{requires:["base-build","widget"],skinnable:!0});
YUI.add("widget-position-align",function(o,t){var s=o.Lang,i="align",e="visible",a="offsetWidth",g="offsetHeight";function l(t){}l.ATTRS={align:{value:null},centered:{setter:"_setAlignCenter",lazyAdd:!1,value:!1},alignOn:{value:[],validator:o.Lang.isArray}},l.TL="tl",l.TR="tr",l.BL="bl",l.BR="br",l.TC="tc",l.RC="rc",l.BC="bc",l.LC="lc",l.CC="cc",l.prototype={initializer:function(){this._posNode||o.error("WidgetPosition needs to be added to the Widget, before WidgetPositionAlign is added"),o.after(this._bindUIPosAlign,this,"bindUI"),o.after(this._syncUIPosAlign,this,"syncUI")},_posAlignUIHandles:null,destructor:function(){this._detachPosAlignUIHandles()},_bindUIPosAlign:function(){this.after("alignChange",this._afterAlignChange),this.after("alignOnChange",this._afterAlignOnChange),this.after("visibleChange",this._syncUIPosAlign)},_syncUIPosAlign:function(){var t=this.get(i);this._uiSetVisiblePosAlign(this.get(e)),t&&this._uiSetAlign(t.node,t.points)},align:function(t,e){return arguments.length?this.set(i,{node:t,points:e}):this._syncUIPosAlign(),this},centered:function(t){return this.align(t,[l.CC,l.CC])},_getAlignToXY:function(t,e,i,n){var s;switch(e){case l.TL:s=[i,n];break;case l.TR:s=[i-t.get(a),n];break;case l.BL:s=[i,n-t.get(g)];break;case l.BR:s=[i-t.get(a),n-t.get(g)];break;case l.TC:s=[i-t.get(a)/2,n];break;case l.BC:s=[i-t.get(a)/2,n-t.get(g)];break;case l.LC:s=[i,n-t.get(g)/2];break;case l.RC:s=[i-t.get(a),n-t.get(g)/2];break;case l.CC:s=[i-t.get(a)/2,n-t.get(g)/2]}return s},_getAlignedXY:function(t,e){if(s.isArray(e)&&2===e.length){var i,n=this._getRegion(t);if(n){switch(e[1]){case l.TL:i=[n.left,n.top];break;case l.TR:i=[n.right,n.top];break;case l.BL:i=[n.left,n.bottom];break;case l.BR:i=[n.right,n.bottom];break;case l.TC:i=[n.left+Math.floor(n.width/2),n.top];break;case l.BC:i=[n.left+Math.floor(n.width/2),n.bottom];break;case l.LC:i=[n.left,n.top+Math.floor(n.height/2)];break;case l.RC:i=[n.right,n.top+Math.floor(n.height/2)];break;case l.CC:i=[n.left+Math.floor(n.width/2),n.top+Math.floor(n.height/2)]}return this._getAlignToXY(this._posNode,e[0],i[0],i[1])}}else o.error("align: Invalid Points Arguments")},_setAlignCenter:function(t){return t&&this.set(i,{node:!0===t?null:t,points:[l.CC,l.CC]}),t},_uiSetAlign:function(t,e){t=this._getAlignedXY(t,e);t&&this._doAlign(t)},_uiSetVisiblePosAlign:function(t){t?this._attachPosAlignUIHandles():this._detachPosAlignUIHandles()},_attachPosAlignUIHandles:function(){var i,n,s;this._posAlignUIHandles||(i=this.get("boundingBox"),n=o.bind(this._syncUIPosAlign,this),s=[],o.Array.each(this.get("alignOn"),function(t){var e=t.eventName,t=o.one(t.node)||i;e&&s.push(t.on(e,n))}),this._posAlignUIHandles=s)},_detachPosAlignUIHandles:function(){var t=this._posAlignUIHandles;t&&(new o.EventHandle(t).detach(),this._posAlignUIHandles=null)},_doAlign:function(t){t&&this.move(t)},_getRegion:function(t){var e;return t?(t=o.Node.one(t))&&(e=t.get("region")):e=this._posNode.get("viewportRegion"),e},_afterAlignChange:function(t){t=t.newVal;t&&this._uiSetAlign(t.node,t.points)},_afterAlignOnChange:function(t){this._detachPosAlignUIHandles(),this.get(e)&&this._attachPosAlignUIHandles()}},o.WidgetPositionAlign=l},"patched-v3.18.6",{requires:["widget-position"]});
YUI.add("widget-position-constrain",function(t,n){var l,e="constrain",i=t.Node,o="region";function s(t){}s.ATTRS={constrain:{value:null,setter:"_setConstrain"},preventOverlap:{value:!1}},l=s._PREVENT_OVERLAP={x:{tltr:1,blbr:1,brbl:1,trtl:1},y:{trbr:1,tlbl:1,bltl:1,brtr:1}},s.prototype={initializer:function(){this._posNode||t.error("WidgetPosition needs to be added to the Widget, before WidgetPositionConstrain is added"),t.after(this._bindUIPosConstrained,this,"bindUI")},getConstrainedXY:function(t,n){n=n||this.get(e);var n=this._getRegion(!0===n?null:n),i=this._posNode.get(o);return[this._constrain(t[0],"x",i,n),this._constrain(t[1],"y",i,n)]},constrain:function(t,n){var n=n||this.get(e);n&&(t=t||this.get("xy"),(n=this.getConstrainedXY(t,n))[0]===t[0]&&n[1]===t[1]||this.set("xy",n,{constrained:!0}))},_setConstrain:function(t){return!0===t?t:i.one(t)},_constrain:function(t,n,i,e){var o,s;return e&&(this.get("preventOverlap")&&(t=this._preventOverlap(t,n,i,e)),o=(n="x"==n)?e.width:e.height,i=n?i.width:i.height,s=n?e.left:e.top,n=n?e.right-i:e.bottom-i,(t<s||n<t)&&(!(i<o)||t<s?t=s:n<t&&(t=n))),t},_preventOverlap:function(t,n,i,e){var o,s,r,a,h,g=this.get("align"),d="x"===n;return g&&g.points&&l[n][g.points.join("")]&&((n=this._getRegion(g.node))&&(o=d?i.width:i.height,s=d?n.left:n.top,r=d?n.right:n.bottom,a=d?n.left-e.left:n.top-e.top,h=d?e.right-n.right:e.bottom-n.bottom),s<t?h<o&&o<a&&(t=s-o):a<o&&o<h&&(t=r)),t},_bindUIPosConstrained:function(){this.after("constrainChange",this._afterConstrainChange),this._enableConstraints(this.get(e))},_afterConstrainChange:function(t){this._enableConstraints(t.newVal)},_enableConstraints:function(t){t?(this.constrain(),this._cxyHandle=this._cxyHandle||this.on("constrain|xyChange",this._constrainOnXYChange)):this._cxyHandle&&(this._cxyHandle.detach(),this._cxyHandle=null)},_constrainOnXYChange:function(t){t.constrained||(t.newVal=this.getConstrainedXY(t.newVal))},_getRegion:function(t){var n;return t?(t=i.one(t))&&(n=t.get(o)):n=this._posNode.get("viewportRegion"),n}},t.WidgetPositionConstrain=s},"patched-v3.18.6",{requires:["widget-position"]});
YUI.add("widget-stdmod",function(i,t){var h,e,a,d,o,n,s,S,r,l,g,f,u,_,M,c,C,E;function p(t){}h=i.Lang,e=i.Node,a=i.UA,d=i.Widget,o="fillHeight",n="Node",s="Content",S="contentBox",r="height",l="offsetHeight",g="contentUpdate",f=i.Widget.UI_SRC,p.HEADER="header",p.BODY="body",p.FOOTER="footer",p.AFTER="after",p.BEFORE="before",p.REPLACE="replace",c=(u=p.HEADER)+s,C=(M=p.FOOTER)+s,E=(_=p.BODY)+s,p.ATTRS={headerContent:{value:null},footerContent:{value:null},bodyContent:{value:null},fillHeight:{value:p.BODY,validator:function(t){return this._validateFillHeight(t)}}},p.HTML_PARSER={headerContent:function(t){return this._parseStdModHTML(u)},bodyContent:function(t){return this._parseStdModHTML(_)},footerContent:function(t){return this._parseStdModHTML(M)}},p.SECTION_CLASS_NAMES={header:d.getClassName("hd"),body:d.getClassName("bd"),footer:d.getClassName("ft")},p.TEMPLATES={header:'<div class="'+p.SECTION_CLASS_NAMES[u]+'"></div>',body:'<div class="'+p.SECTION_CLASS_NAMES[_]+'"></div>',footer:'<div class="'+p.SECTION_CLASS_NAMES[M]+'"></div>'},p.prototype={initializer:function(){this._stdModNode=this.get(S),i.before(this._renderUIStdMod,this,"renderUI"),i.before(this._bindUIStdMod,this,"bindUI"),i.before(this._syncUIStdMod,this,"syncUI")},_syncUIStdMod:function(){var t=this._stdModParsed;t&&t[c]||this._uiSetStdMod(u,this.get(c)),t&&t[E]||this._uiSetStdMod(_,this.get(E)),t&&t[C]||this._uiSetStdMod(M,this.get(C)),this._uiSetFillHeight(this.get(o))},_renderUIStdMod:function(){this._stdModNode.addClass(d.getClassName("stdmod")),this._renderStdModSections(),this.after("headerContentChange",this._afterHeaderChange),this.after("bodyContentChange",this._afterBodyChange),this.after("footerContentChange",this._afterFooterChange)},_renderStdModSections:function(){h.isValue(this.get(c))&&this._renderStdMod(u),h.isValue(this.get(E))&&this._renderStdMod(_),h.isValue(this.get(C))&&this._renderStdMod(M)},_bindUIStdMod:function(){this.after("fillHeightChange",this._afterFillHeightChange),this.after("heightChange",this._fillHeight),this.after(g,this._fillHeight)},_afterHeaderChange:function(t){t.src!==f&&this._uiSetStdMod(u,t.newVal,t.stdModPosition)},_afterBodyChange:function(t){t.src!==f&&this._uiSetStdMod(_,t.newVal,t.stdModPosition)},_afterFooterChange:function(t){t.src!==f&&this._uiSetStdMod(M,t.newVal,t.stdModPosition)},_afterFillHeightChange:function(t){this._uiSetFillHeight(t.newVal)},_validateFillHeight:function(t){return!t||t==p.BODY||t==p.HEADER||t==p.FOOTER},_uiSetFillHeight:function(t){var t=this.getStdModNode(t),e=this._currFillNode;e&&t!==e&&e.setStyle(r,""),t&&(this._currFillNode=t),this._fillHeight()},_fillHeight:function(){var t;this.get(o)&&""!=(t=this.get(r))&&"auto"!=t&&this.fillHeight(this.getStdModNode(this.get(o)))},_uiSetStdMod:function(t,e,i){var d;h.isValue(e)?(d=this.getStdModNode(t,!0),this._addStdModContent(d,e,i),this.set(t+s,this._getStdModContent(t),{src:f})):this._eraseStdMod(t),this.fire(g)},_renderStdMod:function(t){var e=this.get(S),i=(i=this._findStdModSection(t))||this._getStdModTemplate(t);return this._insertStdModSection(e,t,i),this[t+n]=i,this[t+n]},_eraseStdMod:function(t){var e=this.getStdModNode(t);e&&(e.remove(!0),delete this[t+n])},_insertStdModSection:function(t,e,i){var d=t.get("firstChild");e!==M&&d?e===u?t.insertBefore(i,d):(e=this[M+n])?t.insertBefore(i,e):t.appendChild(i):t.appendChild(i)},_getStdModTemplate:function(t){return e.create(p.TEMPLATES[t],this._stdModNode.get("ownerDocument"))},_addStdModContent:function(t,e,i){switch(i){case p.BEFORE:i=0;break;case p.AFTER:i=undefined;break;default:i=p.REPLACE}t.insert(e,i)},_getPreciseHeight:function(t){var e=t?t.get(l):0,i="getBoundingClientRect";return e=t&&t.hasMethod(i)&&(i=t.invoke(i))?i.bottom-i.top:e},_findStdModSection:function(t){return this.get(S).one("> ."+p.SECTION_CLASS_NAMES[t])},_parseStdModHTML:function(t){var e=this._findStdModSection(t);return e?(this._stdModParsed||(this._stdModParsed={},i.before(this._applyStdModParsedConfig,this,"_applyParsedConfig")),this._stdModParsed[t+s]=1,e.get("innerHTML")):null},_applyStdModParsedConfig:function(t,e,i){var d=this._stdModParsed;d&&(d[c]=!(c in e)&&c in d,d[E]=!(E in e)&&E in d,d[C]=!(C in e)&&C in d)},_getStdModContent:function(t){return this[t+n]?this[t+n].get("childNodes"):null},setStdModContent:function(t,e,i){this.set(t+s,e,{stdModPosition:i})},getStdModNode:function(t,e){var i=this[t+n]||null;return i=!i&&e?this._renderStdMod(t):i},fillHeight:function(t){var e,i,d,o,n,s,r;if(t){for(o=this.get(S),n=!(e=[this.headerNode,this.bodyNode,this.footerNode]),s=d=0,r=e.length;s<r;s++)(i=e[s])&&(i!==t?d+=this._getPreciseHeight(i):n=!0);n&&((a.ie||a.opera)&&t.set(l,0),o=o.get(l)-parseInt(o.getComputedStyle("paddingTop"),10)-parseInt(o.getComputedStyle("paddingBottom"),10)-parseInt(o.getComputedStyle("borderBottomWidth"),10)-parseInt(o.getComputedStyle("borderTopWidth"),10),h.isNumber(o)&&0<=(o=o-d)&&t.set(l,o))}}},i.WidgetStdMod=p},"patched-v3.18.6",{requires:["base-build","widget"]});
YUI.add("aui-overlay-base-deprecated",function(e,t){e.OverlayBase=e.Component.create({NAME:"overlay",ATTRS:{hideClass:{value:!1}},AUGMENTS:[e.WidgetPosition,e.WidgetStack,e.WidgetPositionAlign,e.WidgetPositionConstrain,e.WidgetStdMod]})},"3.1.0-deprecated.106",{requires:["widget-position","widget-stack","widget-position-align","widget-position-constrain","widget-stdmod","aui-component"]});

YUI.add("aui-overlay-mask-deprecated",function(e,t){var n=e.Lang,r=n.isArray,i=n.isString,s=n.isNumber,o=n.isValue,u=e.config,a=e.UA,f=a.ie<=6,l="absolute",c="alignPoints",h="background",p="boundingBox",d="contentBox",v="fixed",m="height",g="offsetHeight",y="offsetWidth",b="opacity",w="overlaymask",E="position",S="target",x="width",T=e.Component.create({NAME:w,ATTRS:{alignPoints:{value:["tl","tl"],validator:r},background:{lazyAdd:!1,value:null,validator:i,setter:function(e){return e&&this.get(d).setStyle(h,e),e}},target:{cloneDefaultValue:!1,lazyAdd:!1,value:u.doc,setter:function(t){var n=this,r=e.one(t),i=n._isDoc=r.compareTo(u.doc),s=n._isWin=r.compareTo(u.win);return n._fullPage=i||s,r}},opacity:{value:.5,validator:s,setter:function(e){return this._setOpacity(e)}},shim:{value:e.UA.ie},visible:{value:!1},zIndex:{value:1e3}},EXTENDS:e.OverlayBase,prototype:{bindUI:function(){var t=this;T.superclass.bindUI.apply(this,arguments),t._eventHandles=[t.after("targetChange",t._afterTargetChange),t.after("visibleChange",t._afterVisibleChange),e.on("windowresize",e.bind(t.refreshMask,t))]},syncUI:function(){var e=this;e.refreshMask()},destructor:function(){var t=this;(new e.EventHandle(t._eventHandles)).detach()},getTargetSize:function(){var t=this,n=t.get(S),r=t._isDoc,i=t._isWin,s=n.get(g),o=n.get(y);return f?i?(o=e.DOM.winWidth(),s=e.DOM.winHeight()):r&&(o=e.DOM.docWidth(),s=e.DOM.docHeight()):t._fullPage&&(s="100%",o="100%"),{height:s,width:o}},refreshMask:function(){var e=this,t=e.get(c),n=e.get(S),r=e.get(p),i=e.getTargetSize(),s=e._fullPage;r.setStyles({position:f||!s?l:v,left:0,top:0});var u=i.height,a=i.width;o(u)&&e.set(m,u),o(a)&&e.set(x,a),s||e.align(n,t)},_setOpacity:function(e){var t=this;return t.get(d).setStyle(b,e),e},_uiSetVisible:function(e){var t=this;T.superclass._uiSetVisible.apply(this,arguments),e&&t._setOpacity(t.get(b))},_afterTargetChange:function(e){var t=this;t.refreshMask()},_afterVisibleChange:function(e){var t=this;t._uiSetVisible(e.newVal)},_uiSetXY:function(){var e=this;(!e._fullPage||f)&&T.superclass._uiSetXY.apply(e,arguments)}}});e.OverlayMask=T},"3.1.0-deprecated.106",{requires:["event-resize","aui-base-deprecated","aui-overlay-base-deprecated"],skinnable:!0});

YUI.add("aui-loading-mask-deprecated",function(e,t){var n=e.Lang,r="boundingBox",i="contentBox",s="hide",o="host",u="messageEl",t="loadingmask",a="position",f="show",l="static",c="strings",h="target",p="toggle",d=e.getClassName,v=d(t),m=d(t,"masked"),g=d(t,"masked","relative"),y=d(t,"message"),b=d(t,"message","content"),w='<div class="'+y+'"><div class="'+b+'">{0}</div></div>',E=e.Component.create({NAME:t,NS:t,ATTRS:{messageEl:{valueFn:function(t){var r=this,i=r.get(c);return e.Node.create(n.sub(w,[i.loading]))}},strings:{value:{loading:"Loading&hellip;"}},target:{setter:function(){var t=this,n=t.get(o);return n instanceof e.Widget&&(n=n.get(i)),n},value:null}},EXTENDS:e.Plugin.Base,prototype:{initializer:function(t){var n=this;n.IGNORED_ATTRS=e.merge({host:!0},E.ATTRS),n.renderUI(),n.bindUI(),n._createDynamicAttrs(t)},renderUI:function(){var e=this,t=e.get(c);e._renderOverlayMask(),e.overlayMask.get(r).append(e.get(u))},bindUI:function(){var e=this;e._bindOverlayMaskUI()},destructor:function(){var e=this;e.overlayMask.destroy(),e._visibleChangeHandle.detach()},_bindOverlayMaskUI:function(){var e=this;e._visibleChangeHandle=e.overlayMask.after("visibleChange",e._afterVisibleChange,e)},centerMessage:function(){var e=this;e.get(u).center(e.overlayMask.get(r))},refreshMask:function(){var e=this;e.overlayMask.refreshMask(),e.centerMessage()},_afterVisibleChange:function(e){var t=this,n=t.get(h),r=n.getStyle(a)==l;n.toggleClass(m,e.newVal),n.toggleClass(g,e.newVal&&r),e.newVal&&t.refreshMask()},_renderOverlayMask:function(){var t=this,n=t.get(h);t.overlayMask=(new e.OverlayMask({target:n,cssClass:v})).render(n)},_createDynamicAttrs:function(t){var n=this;e.each(t,function(e,t){var r=n.IGNORED_ATTRS[t];r||n.addAttr(t,{setter:function(e){return this.overlayMask.set(t,e),e},value:e})})}}});e.each([s,f,p],function(e){E.prototype[e]=function(){this.overlayMask[e]()}}),e.LoadingMask=E},"3.1.0-deprecated.106",{requires:["plugin","aui-overlay-mask-deprecated"],skinnable:!0});

