YUI.add("plugin",function(n,t){function s(t){(this.hasImpl&&this.hasImpl(n.Plugin.Base)?s.prototype.initializer:s.superclass.constructor).apply(this,arguments)}s.ATTRS={host:{writeOnce:!0}},s.NAME="plugin",s.NS="plugin",n.extend(s,n.Base,{_handles:null,initializer:function(t){this._handles=[]},destructor:function(){if(this._handles)for(var t=0,s=this._handles.length;t<s;t++)this._handles[t].detach()},doBefore:function(t,s,e){var n,h=this.get("host");return t in h?n=this.beforeHostMethod(t,s,e):h.on&&(n=this.onHostEvent(t,s,e)),n},doAfter:function(t,s,e){var n,h=this.get("host");return t in h?n=this.afterHostMethod(t,s,e):h.after&&(n=this.afterHostEvent(t,s,e)),n},onHostEvent:function(t,s,e){t=this.get("host").on(t,s,e||this);return this._handles.push(t),t},onceHostEvent:function(t,s,e){t=this.get("host").once(t,s,e||this);return this._handles.push(t),t},afterHostEvent:function(t,s,e){t=this.get("host").after(t,s,e||this);return this._handles.push(t),t},onceAfterHostEvent:function(t,s,e){t=this.get("host").onceAfter(t,s,e||this);return this._handles.push(t),t},beforeHostMethod:function(t,s,e){s=n.Do.before(s,this.get("host"),t,e||this);return this._handles.push(s),s},afterHostMethod:function(t,s,e){s=n.Do.after(s,this.get("host"),t,e||this);return this._handles.push(s),s},toString:function(){return this.constructor.NAME+"["+this.constructor.NS+"]"}}),n.namespace("Plugin").Base=s},"patched-v3.18.4",{requires:["base-base"]});
YUI.add("array-invoke",function(a,r){a.Array.invoke=function(r,n){var i=a.Array(arguments,2,!0),e=a.Lang.isFunction,u=[];return a.Array.each(a.Array(r),function(r,a){r&&e(r[n])&&(u[a]=r[n].apply(r,i))}),u}},"patched-v3.18.4",{requires:["yui-base"]});
YUI.add("aui-delayed-task-deprecated",function(e,t){var n=function(e,t,n){var r=this;r._args=n,r._delay=0,r._fn=e,r._id=null,r._scope=t||r,r._time=0,r._base=function(){var e=r._getTime();e-r._time>=r._delay&&(clearInterval(r._id),r._id=null,r._fn.apply(r._scope,r._args||[]))}};n.prototype={delay:function(t,n,r,i){var s=this;s._id&&s._delay!=t&&s.cancel(),s._delay=t||s._delay,s._time=s._getTime(),s._fn=n||s._fn,s._scope=r||s._scope,s._args=i||s._args,e.Lang.isArray(s._args)||(s._args=[s._args]),s._id||(s._delay>0?s._id=setInterval(s._base,s._delay):s._base())},cancel:function(){var e=this;e._id&&(clearInterval(e._id),e._id=null)},_getTime:function(){var e=this;return+(new Date)}},e.DelayedTask=n},"3.1.0-deprecated.101",{requires:["yui-base"]});

YUI.add("aui-selector",function(e,t){var n=e.Selector,r=e.getClassName("sr-only"),i=e.getClassName("hide"),s=new RegExp(/rect\((0(px)?(,)?(\s)?){4}\)/i),o=new RegExp(i),u=new RegExp(r);n._isNodeHidden=function(e){var t=e.offsetWidth,n=e.offsetHeight,r=e.nodeName.toLowerCase()==="tr",i=e.className,a=e.style,f=!1;return r||(t===0&&n===0?f=!0:t>0&&n>0&&(f=!1)),f=f||a.display==="none"||a.visibility==="hidden"||a.position==="absolute"&&s.test(a.clip)||o.test(i)||u.test(i),f};var a=function(e){return function(t){return t.type===e}};e.mix(n.pseudos,{button:function(e){return e.type==="button"||e.nodeName.toLowerCase()==="button"},checkbox:a("checkbox"),checked:function(e){return e.checked===!0},disabled:function(e){return e.disabled===!0},empty:function(e){return!e.firstChild},enabled:function(e){return e.disabled===!1&&e.type!=="hidden"},file:a("file"),header:function(e){return/h\d/i.test(e.nodeName)},hidden:function(e){return n._isNodeHidden(e)},image:a("image"),input:function(e){return/input|select|textarea|button/i.test(e.nodeName)},parent:function(e){return!!e.firstChild},password:a("password"),radio:a("radio"),reset:a("reset"),selected:function(e){return e.parentNode.selectedIndex,e.selected===!0},submit:a("submit"),text:a("text"),visible:function(e){return!n._isNodeHidden(e)}})},"3.1.0-deprecated.101",{requires:["selector-css3","aui-classnamemanager"]});

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.4",{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.4",{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.4",{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.4",{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.4",{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.4",{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.4",{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.4",{requires:["widget-position"]});
YUI.add("widget-stdmod",function(i,t){var o,e,n,s,r,h,a=i.Lang,d=i.Node,S=i.UA,l=i.Widget,g="fillHeight",f="Node",u="Content",_="contentBox",M="height",c="offsetHeight",C="contentUpdate",E=i.Widget.UI_SRC;function p(t){}p.HEADER="header",p.BODY="body",p.FOOTER="footer",p.AFTER="after",p.BEFORE="before",p.REPLACE="replace",s=(o=p.HEADER)+u,r=(n=p.FOOTER)+u,h=(e=p.BODY)+u,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(o)},bodyContent:function(t){return this._parseStdModHTML(e)},footerContent:function(t){return this._parseStdModHTML(n)}},p.SECTION_CLASS_NAMES={header:l.getClassName("hd"),body:l.getClassName("bd"),footer:l.getClassName("ft")},p.TEMPLATES={header:'<div class="'+p.SECTION_CLASS_NAMES[o]+'"></div>',body:'<div class="'+p.SECTION_CLASS_NAMES[e]+'"></div>',footer:'<div class="'+p.SECTION_CLASS_NAMES[n]+'"></div>'},p.prototype={initializer:function(){this._stdModNode=this.get(_),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[s]||this._uiSetStdMod(o,this.get(s)),t&&t[h]||this._uiSetStdMod(e,this.get(h)),t&&t[r]||this._uiSetStdMod(n,this.get(r)),this._uiSetFillHeight(this.get(g))},_renderUIStdMod:function(){this._stdModNode.addClass(l.getClassName("stdmod")),this._renderStdModSections(),this.after("headerContentChange",this._afterHeaderChange),this.after("bodyContentChange",this._afterBodyChange),this.after("footerContentChange",this._afterFooterChange)},_renderStdModSections:function(){a.isValue(this.get(s))&&this._renderStdMod(o),a.isValue(this.get(h))&&this._renderStdMod(e),a.isValue(this.get(r))&&this._renderStdMod(n)},_bindUIStdMod:function(){this.after("fillHeightChange",this._afterFillHeightChange),this.after("heightChange",this._fillHeight),this.after(C,this._fillHeight)},_afterHeaderChange:function(t){t.src!==E&&this._uiSetStdMod(o,t.newVal,t.stdModPosition)},_afterBodyChange:function(t){t.src!==E&&this._uiSetStdMod(e,t.newVal,t.stdModPosition)},_afterFooterChange:function(t){t.src!==E&&this._uiSetStdMod(n,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(M,""),t&&(this._currFillNode=t),this._fillHeight()},_fillHeight:function(){var t;this.get(g)&&""!=(t=this.get(M))&&"auto"!=t&&this.fillHeight(this.getStdModNode(this.get(g)))},_uiSetStdMod:function(t,e,i){var d;a.isValue(e)?(d=this.getStdModNode(t,!0),this._addStdModContent(d,e,i),this.set(t+u,this._getStdModContent(t),{src:E})):this._eraseStdMod(t),this.fire(C)},_renderStdMod:function(t){var e=this.get(_),i=(i=this._findStdModSection(t))||this._getStdModTemplate(t);return this._insertStdModSection(e,t,i),this[t+f]=i,this[t+f]},_eraseStdMod:function(t){var e=this.getStdModNode(t);e&&(e.remove(!0),delete this[t+f])},_insertStdModSection:function(t,e,i){var d=t.get("firstChild");e!==n&&d?e===o?t.insertBefore(i,d):(e=this[n+f])?t.insertBefore(i,e):t.appendChild(i):t.appendChild(i)},_getStdModTemplate:function(t){return d.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(c):0,i="getBoundingClientRect";return e=t&&t.hasMethod(i)&&(i=t.invoke(i))?i.bottom-i.top:e},_findStdModSection:function(t){return this.get(_).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+u]=1,e.get("innerHTML")):null},_applyStdModParsedConfig:function(t,e,i){var d=this._stdModParsed;d&&(d[s]=!(s in e)&&s in d,d[h]=!(h in e)&&h in d,d[r]=!(r in e)&&r in d)},_getStdModContent:function(t){return this[t+f]?this[t+f].get("childNodes"):null},setStdModContent:function(t,e,i){this.set(t+u,e,{stdModPosition:i})},getStdModNode:function(t,e){var i=this[t+f]||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(_),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&&((S.ie||S.opera)&&t.set(c,0),o=o.get(c)-parseInt(o.getComputedStyle("paddingTop"),10)-parseInt(o.getComputedStyle("paddingBottom"),10)-parseInt(o.getComputedStyle("borderBottomWidth"),10)-parseInt(o.getComputedStyle("borderTopWidth"),10),a.isNumber(o)&&0<=(o=o-d)&&t.set(c,o))}}},i.WidgetStdMod=p},"patched-v3.18.4",{requires:["base-build","widget"]});
