/*!CK:2234794524!*//*1452545591,*/

if (self.CavalryLogger) { CavalryLogger.start_js(["bpxdZ"]); }

__d("VideoPlayerReason",[],function a(b,c,d,e,f,g){c.__markCompiled&&c.__markCompiled();f.exports={AUTOPLAY:"autoplay_initiated",USER:"user_initiated",PAGE_VISIBILITY:"page_visibility_initiated",SEEK:"seek_initiated",LOOP:"loop_initiated",EMBEDDED_VIDEO_API:"embedded_video_api_initiated",CONNECTION:"host-connection-error",VIDEO_DATA_REPLACED:"video_data_replaced",VOD_NOT_READY:"vod_not_ready",VIDEO_DATA_SWITCH:"video_data_switch",FALLBACK_MODE:"fallback_mode"};},null);
__d('DesktopHscrollUnitEventConstants',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();f.exports={HSCROLL_ITEM_INSERTED_EVENT:'DesktopHScrollUnit/itemInserted',HSCROLL_ITEM_SHOWN_EVENT:'DesktopHScrollUnit/itemShown',HSCROLL_ITEM_HIDE_EVENT:'DesktopHScrollUnit/HideIndividualItem',HSCROLL_ITEM_SCROLL_BEFORE_XOUT_EVENT:'DesktopHScrollUnit/scrollItemBeforeXout',HSCROLL_ITEM_UNHIDE_EVENT:'DesktopHScrollUnit/unhideIndividualItem',HSCROLL_LAST_ITEM_NFX_ACTION_TAKEN:'logLastAdXout',HSCROLL_PAGER_ITEM_HIDE_EVENT:'onXoutIndividualItem'};},null);
__d('TooltipLink.react',['React','TooltipMixin'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j=h.createClass({displayName:'TooltipLink',mixins:[i],render:function(){return h.createElement('a',this.props,this.props.children);}});f.exports=j;},null);
__d('XUIBlock',['React','cx'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j=h.PropTypes,k={propTypes:{background:j.oneOf(['base-wash','light-wash','white','highlight','transparent'])},getDefaultProps:function(){return {background:'transparent'};},getBackgroundClass:function(l){var m=(l.background==='base-wash'?"_4-u5":'')+(l.background==='light-wash'?' '+"_57d8":'')+(l.background==='white'?' '+"_4-u8":'')+(l.background==='highlight'?' '+"_4-u7":'');return m;}};f.exports=k;},null);
__d('XUICard.react',['React','XUIBlock','cx','joinClasses'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l=h.createClass({displayName:'XUICard',propTypes:i.propTypes,getDefaultProps:function(){return babelHelpers._extends({},i.getDefaultProps(),{background:'white'});},render:function(){var m=k("_4-u2",i.getBackgroundClass(this.props));return (h.createElement('div',babelHelpers._extends({},this.props,{className:k(this.props.className,m)}),this.props.children));}});f.exports=l;},null);
__d('XUICardSection.react',['React','XUIBlock','cx','joinClasses'],function a(b,c,d,e,f,g,h,i,j,k){'use strict';if(c.__markCompiled)c.__markCompiled();var l=h.createClass({displayName:'XUICardSection',propTypes:i.propTypes,getDefaultProps:i.getDefaultProps,render:function(){var m=k("_4-u3",i.getBackgroundClass(this.props));return (h.createElement('div',babelHelpers._extends({},this.props,{className:k(this.props.className,m)}),this.props.children));}});f.exports=l;},null);
__d('XUIDialogButton.react',['React','XUIButton.react','cx','joinClasses'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l=h.PropTypes,m=h.createClass({displayName:'XUIDialogButton',propTypes:{action:l.oneOf(['cancel','confirm','button'])},render:function(){var n=this.props.action,o=(n=='confirm'?"layerConfirm":'')+(n=='cancel'?' '+"layerCancel":'')+(n=='button'?' '+"layerButton":''),p=this.props.href;if(n=='cancel'){p='#';}else if(n=='button')p=p||'#';return (h.createElement(i,babelHelpers._extends({},this.props,{className:k(this.props.className,o),href:p})));}});f.exports=m;},null);
__d('XUIDialogBody.react',['React','cx','joinClasses','XUIText.react'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l=h.PropTypes,m=h.createClass({displayName:'XUIDialogBody',propTypes:{fontSize:l.oneOf(['medium','inherit']),useCustomPadding:l.bool},getDefaultProps:function(){return {fontSize:'medium'};},render:function(){var n="_4-i2"+(!this.props.useCustomPadding?' '+"_57_a":'');return (h.createElement(k,babelHelpers._extends({},this.props,{className:j(this.props.className,n),display:'block',size:this.props.fontSize}),this.props.children));}});f.exports=m;},null);
__d('XUIDialogFooter.react',['LeftRight.react','React','XUIOverlayFooter.react','cx','joinClasses'],function a(b,c,d,e,f,g,h,i,j,k,l){if(c.__markCompiled)c.__markCompiled();var m=i.PropTypes,n=i.createClass({displayName:'XUIDialogFooter',propTypes:{fullBleedBorder:m.bool,leftContent:m.object},render:function(){var o="_5a8u"+(this.props.fullBleedBorder?' '+"_27qq":'');return (i.createElement(j,babelHelpers._extends({},this.props,{className:l(this.props.className,o)}),i.createElement('div',{className:"_50f4"},i.createElement(h,null,i.createElement('div',null,this.props.leftContent),i.createElement('div',null,this.props.children)))));}});f.exports=n;},null);
__d('sliceChildren',['ReactChildren'],function a(b,c,d,e,f,g,h){'use strict';if(c.__markCompiled)c.__markCompiled();function i(j,k,l){if(j==null)return j;var m=h.toArray(j);return m.slice(k,l);}f.exports=i;},null);
__d('XUIDialogTitle.react',['LeftRight.react','React','XUICloseButton.react','cx','fbt','sliceChildren','joinClasses'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n){if(c.__markCompiled)c.__markCompiled();var o=i.PropTypes,p=i.createClass({displayName:'XUIDialogTitle',propTypes:{closeButtonText:o.string,showCloseButton:o.bool},getDefaultProps:function(){return {closeButtonText:l._("\u0e1b\u0e34\u0e14"),showCloseButton:true};},render:function(){var q=null;if(this.props.showCloseButton)q=i.createElement(j,{label:this.props.closeButtonText,className:"layerCancel _51-t"});return (i.createElement('div',babelHelpers._extends({},this.props,{className:n(this.props.className,"_4-i0")}),i.createElement(h,null,i.createElement('h3',{className:"_52c9"},m(this.props.children,0,1)),i.createElement('div',{className:"_51-u"},m(this.props.children,1),q))));}});f.exports=p;},null);
__d('BanzaiNectar',['Banzai'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(k){return {log:function(l,m,n){var o={e:m,a:n};h.post('nectar:'+l,o,k);}};}var j=i();j.create=i;f.exports=j;},null);
__d('Visibility',['TimeSlice','mixInEventEmitter'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j,k;if(typeof document.hidden!=='undefined'){j='hidden';k='visibilitychange';}else if(typeof document.mozHidden!=='undefined'){j='mozHidden';k='mozvisibilitychange';}else if(typeof document.msHidden!=='undefined'){j='msHidden';k='msvisibilitychange';}else if(typeof document.webkitHidden!=='undefined'){j='webkitHidden';k='webkitvisibilitychange';}function l(){return j?document[j]:false;}var m={HIDDEN:'hidden',VISIBLE:'visible',isHidden:l};i(m,{visible:true,hidden:true});if(document.addEventListener&&k)document.addEventListener(k,h.guard(function n(){m.emit(l()?m.HIDDEN:m.VISIBLE);},'visibility change'));f.exports=m;},null);
__d('areEqual',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=[],i=[];function j(l,m){var n=h.length?h.pop():[],o=i.length?i.pop():[],p=k(l,m,n,o);n.length=0;o.length=0;h.push(n);i.push(o);return p;}function k(l,m,n,o){if(l===m)return l!==0||1/l==1/m;if(l==null||m==null)return false;if(typeof l!='object'||typeof m!='object')return false;var p=Object.prototype.toString,q=p.call(l);if(q!=p.call(m))return false;switch(q){case '[object String]':return l==String(m);case '[object Number]':return isNaN(l)||isNaN(m)?false:l==Number(m);case '[object Date]':case '[object Boolean]':return +l==+m;case '[object RegExp]':return l.source==m.source&&l.global==m.global&&l.multiline==m.multiline&&l.ignoreCase==m.ignoreCase;}var r=n.length;while(r--)if(n[r]==l)return o[r]==m;n.push(l);o.push(m);var s=0;if(q==='[object Array]'){s=l.length;if(s!==m.length)return false;while(s--)if(!k(l[s],m[s],n,o))return false;}else{if(l.constructor!==m.constructor)return false;if(l.hasOwnProperty('valueOf')&&m.hasOwnProperty('valueOf'))return l.valueOf()==m.valueOf();var t=Object.keys(l);if(t.length!=Object.keys(m).length)return false;for(var u=0;u<t.length;u++)if(!k(l[t[u]],m[t[u]],n,o))return false;}n.pop();o.pop();return true;}f.exports=j;},null);
__d('xuiglyph',['ix'],function a(b,c,d,e,f,g,h){'use strict';if(c.__markCompiled)c.__markCompiled();function i(j){if(typeof j==='string')j={name:j};var k=babelHelpers._extends({name:undefined,shade:'dark',size:'small'},j);return h.call(null,k.name+':'+k.shade+':'+k.size);}f.exports=i;},null);
__d('SimpleDrag',['Event','ArbiterMixin','SubscriptionsHandler','UserAgent_DEPRECATED','Vector','emptyFunction'],function a(b,c,d,e,f,g,h,i,j,k,l,m){if(c.__markCompiled)c.__markCompiled();function n(o){this.minDragDistance=0;this._subscriptions=new j();this._subscriptions.addSubscriptions(h.listen(o,'mousedown',this._start.bind(this)));}Object.assign(n.prototype,i,{setMinDragDistance:function(o){this.minDragDistance=o;},destroy:function(){this._subscriptions.release();},_start:function(event){var o=false,p=true,q=null;if(this.inform('mousedown',event))p=false;if(this.minDragDistance){q=l.getEventPosition(event);}else{o=true;var r=this.inform('start',event);if(r===true){p=false;}else if(r===false){o=false;return;}}var s=k.ie()<9?document.documentElement:window,t=h.listen(s,{selectstart:p?h.prevent:m,mousemove:(function(event){if(!o){var u=l.getEventPosition(event);if(q.distanceTo(u)<this.minDragDistance)return;o=true;if(this.inform('start',event)===false){o=false;return;}}this.inform('update',event);}).bind(this),mouseup:(function(event){for(var u in t)t[u].remove();if(o){this.inform('end',event);}else this.inform('click',event);}).bind(this)});p&&event.prevent();}});f.exports=n;},null);
__d('LitestandMessages',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h={NEWSFEED_LOAD:'LitestandMessages/NewsFeedLoad',LEAVE_HOME:'LitestandMessages/LeaveHome',STORIES_REQUESTED:'LitestandMessages/StoriesRequested',STORIES_INSERTED:'LitestandMessages/StoriesInserted',NEWER_STORIES_INSERTED:'LitestandMessages/NewerStoriesInserted',NEW_STORIES_CONTAINER_CREATED:'LitestandMessages/NewStoriesContainer',RHC_RELOADED:'LitestandMessages/RHCReloaded'};f.exports=h;},null);
__d('AccessibilityLogger',['AsyncSignal','Cookie'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j={COOKIE:'a11y',DECAY_MS:6*60*60*1000,DEFAULT:{sr:0,'sr-ts':Date.now(),jk:0,'jk-ts':Date.now(),kb:0,'kb-ts':Date.now(),hcm:0,'hcm-ts':Date.now()},getCookie:function(){var k=j.DEFAULT,l=i.get(j.COOKIE);if(l){l=JSON.parse(l);for(var m in k)if(m in l)k[m]=l[m];}return k;},logKey:function(k,l){var m=j.getCookie();m[k]++;var n=Date.now();if(n-m[k+'-ts']>j.DECAY_MS){new h('/ajax/accessibilitylogging',{eventName:l,times_pressed:m[k]}).send();m[k+'-ts']=n;m[k]=0;}i.set(j.COOKIE,JSON.stringify(m));},logHCM:function(){j.logKey('hcm','hcm_users');},logSRKey:function(){j.logKey('sr','sr_users');},logJKKey:function(){j.logKey('jk','jk_users');},logFocusIn:function(){j.logKey('kb','kb_users');}};f.exports=j;},null);
__d('Animation',['BrowserSupport','CSS','DataStore','DOM','Style','getVendorPrefixedName','setIntervalAcrossTransitions','setTimeoutAcrossTransitions','shield'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){if(c.__markCompiled)c.__markCompiled();var q,r=[],s;function t(ka){if(b==this){return new t(ka);}else{this.obj=ka;this._reset_state();this.queue=[];this.last_attr=null;}}function u(ka){if(h.hasCSS3DTransforms()){return x(ka);}else return w(ka);}function v(ka){return ka.toFixed(8);}function w(ka){ka=[ka[0],ka[4],ka[1],ka[5],ka[12],ka[13]];return 'matrix('+ka.map(v).join(',')+')';}function x(ka){return 'matrix3d('+ka.map(v).join(',')+')';}function y(ka,la){if(!ka)ka=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];var ma=[];for(var na=0;na<4;na++)for(var oa=0;oa<4;oa++){var pa=0;for(var qa=0;qa<4;qa++)pa+=ka[na*4+qa]*la[qa*4+oa];ma[na*4+oa]=pa;}return ma;}var z=0;t.prototype._reset_state=function(){this.state={attrs:{},duration:500};};t.prototype.stop=function(){this._reset_state();this.queue=[];return this;};t.prototype._build_container=function(){if(this.container_div){this._refresh_container();return;}if(this.obj.firstChild&&this.obj.firstChild.__animation_refs){this.container_div=this.obj.firstChild;this.container_div.__animation_refs++;this._refresh_container();return;}var ka=document.createElement('div');ka.style.padding='0px';ka.style.margin='0px';ka.style.border='0px';ka.__animation_refs=1;var la=this.obj.childNodes;while(la.length)ka.appendChild(la[0]);this.obj.appendChild(ka);this._orig_overflow=this.obj.style.overflow;this.obj.style.overflow='hidden';this.container_div=ka;this._refresh_container();};t.prototype._refresh_container=function(){this.container_div.style.height='auto';this.container_div.style.width='auto';this.container_div.style.height=this.container_div.offsetHeight+'px';this.container_div.style.width=this.container_div.offsetWidth+'px';};t.prototype._destroy_container=function(){if(!this.container_div)return;if(!--this.container_div.__animation_refs){var ka=this.container_div.childNodes;while(ka.length)this.obj.appendChild(ka[0]);this.obj.removeChild(this.container_div);}this.container_div=null;this.obj.style.overflow=this._orig_overflow;};var aa=1,ba=2,ca=3;t.prototype._attr=function(ka,la,ma){ka=ka.replace(/-[a-z]/gi,function(oa){return oa.substring(1).toUpperCase();});var na=false;switch(ka){case 'background':this._attr('backgroundColor',la,ma);return this;case 'backgroundColor':case 'borderColor':case 'color':la=ga(la);break;case 'opacity':la=parseFloat(la,10);break;case 'height':case 'width':if(la=='auto'){na=true;}else la=parseInt(la,10);break;case 'borderWidth':case 'lineHeight':case 'fontSize':case 'margin':case 'marginBottom':case 'marginLeft':case 'marginRight':case 'marginTop':case 'padding':case 'paddingBottom':case 'paddingLeft':case 'paddingRight':case 'paddingTop':case 'bottom':case 'left':case 'right':case 'top':case 'scrollTop':case 'scrollLeft':la=parseInt(la,10);break;case 'rotateX':case 'rotateY':case 'rotateZ':la=parseInt(la,10)*Math.PI/180;break;case 'translateX':case 'translateY':case 'translateZ':case 'scaleX':case 'scaleY':case 'scaleZ':la=parseFloat(la,10);break;case 'rotate3d':this._attr('rotateX',la[0],ma);this._attr('rotateY',la[1],ma);this._attr('rotateZ',la[2],ma);return this;case 'rotate':this._attr('rotateZ',la,ma);return this;case 'scale3d':this._attr('scaleZ',la[2],ma);case 'scale':this._attr('scaleX',la[0],ma);this._attr('scaleY',la[1],ma);return this;case 'translate3d':this._attr('translateZ',la[2],ma);case 'translate':this._attr('translateX',la[0],ma);this._attr('translateY',la[1],ma);return this;default:throw new Error(ka+' is not a supported attribute!');}if(this.state.attrs[ka]===undefined)this.state.attrs[ka]={};if(na)this.state.attrs[ka].auto=true;switch(ma){case ca:this.state.attrs[ka].start=la;break;case ba:this.state.attrs[ka].by=true;case aa:this.state.attrs[ka].value=la;break;}};function da(ka){var la=parseInt(l.get(ka,'paddingLeft'),10),ma=parseInt(l.get(ka,'paddingRight'),10),na=parseInt(l.get(ka,'borderLeftWidth'),10),oa=parseInt(l.get(ka,'borderRightWidth'),10);return ka.offsetWidth-(la?la:0)-(ma?ma:0)-(na?na:0)-(oa?oa:0);}function ea(ka){var la=parseInt(l.get(ka,'paddingTop'),10),ma=parseInt(l.get(ka,'paddingBottom'),10),na=parseInt(l.get(ka,'borderTopWidth'),10),oa=parseInt(l.get(ka,'borderBottomWidth'),10);return ka.offsetHeight-(la?la:0)-(ma?ma:0)-(na?na:0)-(oa?oa:0);}t.prototype.to=function(ka,la){if(la===undefined){this._attr(this.last_attr,ka,aa);}else{this._attr(ka,la,aa);this.last_attr=ka;}return this;};t.prototype.by=function(ka,la){if(la===undefined){this._attr(this.last_attr,ka,ba);}else{this._attr(ka,la,ba);this.last_attr=ka;}return this;};t.prototype.from=function(ka,la){if(la===undefined){this._attr(this.last_attr,ka,ca);}else{this._attr(ka,la,ca);this.last_attr=ka;}return this;};t.prototype.duration=function(ka){this.state.duration=ka?ka:0;return this;};t.prototype.checkpoint=function(ka,la){if(ka===undefined)ka=1;this.state.checkpoint=ka;this.queue.push(this.state);this._reset_state();this.state.checkpointcb=la;return this;};t.prototype.blind=function(){this.state.blind=true;return this;};t.prototype.hide=function(){this.state.hide=true;return this;};t.prototype.show=function(){this.state.show=true;return this;};t.prototype.ease=function(ka){this.state.ease=ka;return this;};t.prototype.go=function(){var ka=Date.now();this.queue.push(this.state);for(var la=0;la<this.queue.length;la++){this.queue[la].start=ka-z;if(this.queue[la].checkpoint)ka+=this.queue[la].checkpoint*this.queue[la].duration;}ha(this);return this;};t.prototype._show=function(){i.show(this.obj);};t.prototype._hide=function(){i.hide(this.obj);};t.prototype._frame=function(ka){var la=true,ma=false,na;function oa(lb){return document.documentElement[lb]||document.body[lb];}function pa(lb,mb){return (lb===document.body?oa(mb):lb[mb]);}function qa(lb,mb){return (mb.lastScrollTop!==undefined&&mb.lastScrollTop!==pa(lb.obj,'scrollTop')||mb.lastScrollLeft!==undefined&&mb.lastScrollLeft!==pa(lb.obj,'scrollLeft'));}function ra(lb,mb){mb.lastScrollTop=pa(lb.obj,'scrollTop');mb.lastScrollLeft=pa(lb.obj,'scrollLeft');}for(var sa=0;sa<this.queue.length;sa++){var ta=this.queue[sa];if(ta.start>ka){la=false;continue;}if(ta.checkpointcb){this._callback(ta.checkpointcb,ka-ta.start);ta.checkpointcb=null;}if(ta.started===undefined){if(ta.show)this._show();for(var ua in ta.attrs){if(ta.attrs[ua].start!==undefined)continue;switch(ua){case 'backgroundColor':case 'borderColor':case 'color':na=ga(l.get(this.obj,ua=='borderColor'?'borderLeftColor':ua));if(ta.attrs[ua].by){ta.attrs[ua].value[0]=Math.min(255,Math.max(0,ta.attrs[ua].value[0]+na[0]));ta.attrs[ua].value[1]=Math.min(255,Math.max(0,ta.attrs[ua].value[1]+na[1]));ta.attrs[ua].value[2]=Math.min(255,Math.max(0,ta.attrs[ua].value[2]+na[2]));}break;case 'opacity':na=l.getOpacity(this.obj);if(ta.attrs[ua].by)ta.attrs[ua].value=Math.min(1,Math.max(0,ta.attrs[ua].value+na));break;case 'height':na=ea(this.obj);if(ta.attrs[ua].by)ta.attrs[ua].value+=na;break;case 'width':na=da(this.obj);if(ta.attrs[ua].by)ta.attrs[ua].value+=na;break;case 'scrollLeft':case 'scrollTop':na=pa(this.obj,ua);if(ta.attrs[ua].by)ta.attrs[ua].value+=na;ra(this,ta);break;case 'rotateX':case 'rotateY':case 'rotateZ':case 'translateX':case 'translateY':case 'translateZ':na=j.get(this.obj,ua,0);if(ta.attrs[ua].by)ta.attrs[ua].value+=na;break;case 'scaleX':case 'scaleY':case 'scaleZ':na=j.get(this.obj,ua,1);if(ta.attrs[ua].by)ta.attrs[ua].value+=na;break;default:na=parseInt(l.get(this.obj,ua),10)||0;if(ta.attrs[ua].by)ta.attrs[ua].value+=na;break;}ta.attrs[ua].start=na;}if(ta.attrs.height&&ta.attrs.height.auto||ta.attrs.width&&ta.attrs.width.auto){this._destroy_container();for(var ua in {height:1,width:1,fontSize:1,borderLeftWidth:1,borderRightWidth:1,borderTopWidth:1,borderBottomWidth:1,paddingLeft:1,paddingRight:1,paddingTop:1,paddingBottom:1})if(ta.attrs[ua])this.obj.style[ua]=ta.attrs[ua].value+(typeof ta.attrs[ua].value=='number'?'px':'');if(ta.attrs.height&&ta.attrs.height.auto)ta.attrs.height.value=ea(this.obj);if(ta.attrs.width&&ta.attrs.width.auto)ta.attrs.width.value=da(this.obj);}ta.started=true;if(ta.blind)this._build_container();}var va=(ka-ta.start)/ta.duration;if(va>=1){va=1;if(ta.hide)this._hide();}else la=false;var wa=ta.ease?ta.ease(va):va;if(!ma&&va!=1&&ta.blind)ma=true;for(var ua in ta.attrs)switch(ua){case 'backgroundColor':case 'borderColor':case 'color':if(ta.attrs[ua].start[3]!=ta.attrs[ua].value[3]){this.obj.style[ua]='rgba('+fa(wa,ta.attrs[ua].start[0],ta.attrs[ua].value[0],true)+','+fa(wa,ta.attrs[ua].start[1],ta.attrs[ua].value[1],true)+','+fa(wa,ta.attrs[ua].start[2],ta.attrs[ua].value[2],true)+','+fa(wa,ta.attrs[ua].start[3],ta.attrs[ua].value[3],false)+')';}else this.obj.style[ua]='rgb('+fa(wa,ta.attrs[ua].start[0],ta.attrs[ua].value[0],true)+','+fa(wa,ta.attrs[ua].start[1],ta.attrs[ua].value[1],true)+','+fa(wa,ta.attrs[ua].start[2],ta.attrs[ua].value[2],true)+')';break;case 'opacity':l.set(this.obj,'opacity',fa(wa,ta.attrs[ua].start,ta.attrs[ua].value));break;case 'height':case 'width':this.obj.style[ua]=wa==1&&ta.attrs[ua].auto?'auto':fa(wa,ta.attrs[ua].start,ta.attrs[ua].value,true)+'px';break;case 'scrollLeft':case 'scrollTop':var xa=this.obj===document.body;if(qa(this,ta)){delete ta.attrs.scrollTop;delete ta.attrs.scrollLeft;}else{var ya=fa(wa,ta.attrs[ua].start,ta.attrs[ua].value,true);if(!xa){this.obj[ua]=ya;}else if(ua=='scrollLeft'){b.scrollTo(ya,oa('scrollTop'));}else b.scrollTo(oa('scrollLeft'),ya);ra(this,ta);}break;case 'translateX':case 'translateY':case 'translateZ':case 'rotateX':case 'rotateY':case 'rotateZ':case 'scaleX':case 'scaleY':case 'scaleZ':j.set(this.obj,ua,fa(wa,ta.attrs[ua].start,ta.attrs[ua].value,false));break;default:this.obj.style[ua]=fa(wa,ta.attrs[ua].start,ta.attrs[ua].value,true)+'px';break;}var za=null,ab=j.get(this.obj,'translateX',0),bb=j.get(this.obj,'translateY',0),cb=j.get(this.obj,'translateZ',0);if(ab||bb||cb)za=y(za,[1,0,0,0,0,1,0,0,0,0,1,0,ab,bb,cb,1]);var db=j.get(this.obj,'scaleX',1),eb=j.get(this.obj,'scaleY',1),fb=j.get(this.obj,'scaleZ',1);if(db-1||eb-1||fb-1)za=y(za,[db,0,0,0,0,eb,0,0,0,0,fb,0,0,0,0,1]);var gb=j.get(this.obj,'rotateX',0);if(gb)za=y(za,[1,0,0,0,0,Math.cos(gb),Math.sin(-gb),0,0,Math.sin(gb),Math.cos(gb),0,0,0,0,1]);var hb=j.get(this.obj,'rotateY',0);if(hb)za=y(za,[Math.cos(hb),0,Math.sin(hb),0,0,1,0,0,Math.sin(-hb),0,Math.cos(hb),0,0,0,0,1]);var ib=j.get(this.obj,'rotateZ',0);if(ib)za=y(za,[Math.cos(ib),Math.sin(-ib),0,0,Math.sin(ib),Math.cos(ib),0,0,0,0,1,0,0,0,0,1]);var jb=m('transform');if(jb)if(za){var kb=u(za);l.set(this.obj,jb,kb);}else if(la)l.set(this.obj,jb,null);if(va==1){this.queue.splice(sa--,1);this._callback(ta.ondone,ka-ta.start-ta.duration);}}if(!ma&&this.container_div)this._destroy_container();return !la;};t.prototype.ondone=function(ka){this.state.ondone=ka;return this;};t.prototype._callback=function(ka,la){if(ka){z=la;ka.call(this);z=0;}};function fa(ka,la,ma,na){return (na?parseInt:parseFloat)((ma-la)*ka+la,10);}function ga(ka){var la=/^#([a-f0-9]{1,2})([a-f0-9]{1,2})([a-f0-9]{1,2})$/i.exec(ka);if(la){return [parseInt(la[1].length==1?la[1]+la[1]:la[1],16),parseInt(la[2].length==1?la[2]+la[2]:la[2],16),parseInt(la[3].length==1?la[3]+la[3]:la[3],16),1];}else{var ma=/^rgba? *\(([0-9]+), *([0-9]+), *([0-9]+)(?:, *([0-9\.]+))?\)$/.exec(ka);if(ma){return [parseInt(ma[1],10),parseInt(ma[2],10),parseInt(ma[3],10),ma[4]?parseFloat(ma[4]):1];}else if(ka=='transparent'){return [255,255,255,0];}else throw 'Named color attributes are not supported.';}}function ha(ka){r.push(ka);if(r.length===1){if(!q){var la=b.requestAnimationFrame||b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame;if(la)q=la.bind(b);}if(q){q(ja);}else s=n(ja,20);}if(q)ia();ja(Date.now(),true);}function ia(){if(!q)throw new Error('Ending timer only valid with requestAnimationFrame');var ka=0;for(var la=0;la<r.length;la++){var ma=r[la];for(var na=0;na<ma.queue.length;na++){var oa=ma.queue[na].start+ma.queue[na].duration;if(oa>ka)ka=oa;}}if(s){clearTimeout(s);s=null;}var pa=Date.now();if(ka>pa)s=o(p(ja),ka-pa);}function ja(ka,la){var ma=Date.now();for(var na=la===true?r.length-1:0;na<r.length;na++)try{if(!r[na]._frame(ma))r.splice(na--,1);}catch(oa){r.splice(na--,1);}if(r.length===0){if(s){if(q){clearTimeout(s);}else clearInterval(s);s=null;}}else if(q)q(ja);}t.ease={};t.ease.begin=function(ka){return Math.sin(Math.PI/2*(ka-1))+1;};t.ease.end=function(ka){return Math.sin(.5*Math.PI*ka);};t.ease.both=function(ka){return .5*Math.sin(Math.PI*(ka-.5))+.5;};t.prependInsert=function(ka,la){t.insert(ka,la,k.prependContent);};t.appendInsert=function(ka,la){t.insert(ka,la,k.appendContent);};t.insert=function(ka,la,ma){l.set(la,'opacity',0);ma(ka,la);new t(la).from('opacity',0).to('opacity',1).duration(400).go();};f.exports=t;},null);
__d('FBID',[],function a(b,c,d,e,f,g){'use strict';if(c.__markCompiled)c.__markCompiled();var h={isUser:function(i){return i<2.2e+09||i>=1e+14&&i<=100099999989999||i>=8.9e+13&&i<=89999999999999||i>=6.000001e+13&&i<=60000019999999;}};f.exports=h;},null);
__d('PopoverMenuInterface',['ArbiterMixin','emptyFunction','mixin'],function a(b,c,d,e,f,g,h,i,j){if(c.__markCompiled)c.__markCompiled();var k,l;k=babelHelpers.inherits(m,j(h));l=k&&k.prototype;function m(){'use strict';l.constructor.call(this);}m.prototype.done=function(){'use strict';this.inform('done');};Object.assign(m.prototype,{getRoot:i,onShow:i,onHide:i,focusAnItem:i.thatReturnsFalse,blur:i,handleKeydown:i.thatReturnsFalse,destroy:i});f.exports=m;},null);
__d('ScrollAwareDOM',['ArbiterMixin','CSS','DOM','DOMDimensions','HTML','Vector','ViewportBounds','getDocumentScrollElement','getElementPosition','getViewportDimensions','isAsyncScrollQuery','isNode'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){if(c.__markCompiled)c.__markCompiled();function t(y,z){return function(){var aa=arguments;x.monitor(arguments[y],function(){z.apply(null,aa);});};}function u(y){if(!(y instanceof Array))y=[y];for(var z=0;z<y.length;z++){var aa=l.replaceJSONWrapper(y[z]);if(aa instanceof l){return aa.getRootNode();}else if(s(aa))return aa;}return null;}function v(y){return p(y).y>n.getTop();}function w(y){var z=p(y).y+k.getElementDimensions(y).height,aa=q().height-n.getBottom();return z>=aa;}var x=babelHelpers._extends({monitor:function(y,z){if(r())return z();var aa=u(y);if(aa){var ba=!!aa.offsetParent;if(ba&&(v(aa)||w(aa)))return z();var ca=m.getDocumentDimensions(),da=z();if(ba||aa.offsetParent&&!v(aa)){var ea=m.getDocumentDimensions().sub(ca),fa={delta:ea,target:aa};if(x.inform('scroll',fa)!==false)ea.scrollElementBy(o());}return da;}else return z();},replace:function(y,z){var aa=u(z);if(!aa||i.hasClass(aa,'hidden_elem'))aa=y;return x.monitor(aa,function(){j.replace(y,z);});},prependContent:t(1,j.prependContent),insertAfter:t(1,j.insertAfter),insertBefore:t(1,j.insertBefore),setContent:t(0,j.setContent),appendContent:t(1,j.appendContent),remove:t(0,j.remove),empty:t(0,j.empty)},h);f.exports=x;},null);
__d('Toggler',['Arbiter','ArbiterMixin','ContextualThing','CSS','DataStore','DOM','DOMQuery','Event','Focus','Keys','TabbableElements','arrayContains','createArrayFromMixed','cx','emptyFunction','ge','getContextualParent','getObjectValues','setImmediate','mixin'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa){if(c.__markCompiled)c.__markCompiled();var ba,ca,da=[],ea,fa=false;function ga(){if(!fa){fa=true;z(function(){fa=false;});}}function ha(){ha=v;o.listen(document.documentElement,'click',function(event){if(fa)return;var la=event.getTarget();da.forEach(function(ma){ma.clickedTarget=la;ma.active&&!ma.sticky&&!j.containsIncludingLayers(ma.getActive(),la)&&!ma.inTargetFlyout(la)&&ma.inActiveDialog()&&!ma.isIgnoredByModalLayer(la)&&ma.hide();});},o.Priority.URGENT);}ba=babelHelpers.inherits(ia,aa(i));ca=ba&&ba.prototype;function ia(){'use strict';ca.constructor.call(this);this.active=null;this.togglers={};this.setSticky(false);da.push(this);this.subscribe(['show','hide'],ia.inform.bind(ia));return ha();}ia.prototype.show=function(la){'use strict';var ma=ja(this,la),na=ma.active;if(la!==na){na&&ma.hide();ma.active=la;k.addClass(la,'openToggler');var oa=m.scry(la,'a[rel="toggle"]');if(oa.length>0&&oa[0].getAttribute('data-target'))k.removeClass(w(oa[0].getAttribute('data-target')),'toggleTargetClosed');var pa=n.scry(la,'.uiToggleFlyout')[0];if(pa){var qa=r.find(pa)[0]||pa;if(qa.tabIndex==-1)qa.tabIndex=0;p.setWithoutOutline(qa);}if(oa.length>0){m.appendContent(la,ma.getToggler('next'));m.prependContent(la,ma.getToggler('prev'));}o.listen(la,'keydown',function(event){if(o.getKeyCode(event)===q.ESC)if(ma.isShown()){var ra=m.scry(la,'a[rel="toggle"]')[0];ra&&ra.focus();ma.hide();event.kill();}});ma.inform('show',ma);}};ia.prototype.hide=function(la){'use strict';var ma=ja(this,la),na=ma.active;if(na&&(!la||la===na)){k.removeClass(na,'openToggler');var oa=m.scry(na,'a[rel="toggle"]');if(oa.length>0&&oa[0].getAttribute('data-target'))k.addClass(w(oa[0].getAttribute('data-target')),'toggleTargetClosed');y(ma.togglers).forEach(m.remove);ma.inform('hide',ma);ma.active=null;}};ia.prototype.toggle=function(la){'use strict';var ma=ja(this,la);if(ma.active===la){ma.hide();}else ma.show(la);ga();};ia.prototype.getActive=function(){'use strict';return ja(this).active;};ia.prototype.isShown=function(){'use strict';return ja(this).active&&k.hasClass(ja(this).active,'openToggler');};ia.prototype.inTargetFlyout=function(la){'use strict';var ma=ka(this.getActive());return ma&&j.containsIncludingLayers(ma,la);};ia.prototype.inActiveDialog=function(){'use strict';var la=b.Dialog&&b.Dialog.getCurrent();return !la||m.contains(la.getRoot(),this.getActive());};ia.prototype.isIgnoredByModalLayer=function(la){'use strict';var ma=!!j.parentByClass(la,"_3qw"),na=!!j.parentByClass(this.getActive(),"_3qw");return ma&&!na;};ia.prototype.getToggler=function(la){'use strict';var ma=ja(this);if(!ma.togglers[la]){ma.togglers[la]=m.create('button',{className:'hideToggler',onfocus:function(){var na=m.scry(ma.active,'a[rel="toggle"]')[0];na&&na.focus();ma.hide();},style:{right:la==='next'?'0':''}});ma.togglers[la].setAttribute('type','button');}return this.togglers[la];};ia.prototype.setSticky=function(la){'use strict';var ma=ja(this);la=la!==false;if(la!==ma.sticky){ma.sticky=la;if(la){ma.$Toggler1&&ma.$Toggler1.unsubscribe();}else ma.$Toggler1=h.subscribe('pre_page_transition',ma.hide.bind(ma,null));}return ma;};ia.prototype.setPrePageTransitionCallback=function(la){'use strict';var ma=ja(this);ma.$Toggler1&&ma.$Toggler1.unsubscribe();ma.$Toggler1=h.subscribe('pre_page_transition',la);};ia.bootstrap=function(la){'use strict';var ma=la.parentNode;ia.getInstance(ma).toggle(ma);};ia.createInstance=function(la){'use strict';var ma=new ia().setSticky(true);l.set(la,'toggler',ma);return ma;};ia.destroyInstance=function(la){'use strict';l.remove(la,'toggler');};ia.getInstance=function(la){'use strict';while(la){var ma=l.get(la,'toggler');if(ma)return ma;if(k.hasClass(la,'uiToggleContext'))return ia.createInstance(la);la=x(la);}return ea=ea||new ia();};ia.listen=function(la,ma,na){'use strict';return ia.subscribe(t(la),function(oa,pa){if(pa.getActive()===ma)return na(oa,pa);});};Object.assign(ia,ia.prototype,i);Object.assign(ia,{subscribe:(function(la){return function(ma,na){ma=t(ma);if(s(ma,'show'))da.forEach(function(oa){if(oa.getActive())setTimeout(na.bind(null,'show',oa),0);});return la(ma,na);};})(ia.subscribe.bind(ia))});function ja(la,ma){if(la instanceof ia)return la;return ia.getInstance(ma);}function ka(la){var ma=m.scry(la,'a[rel="toggle"]');if(ma.length>0&&ma[0].getAttribute('data-target'))return w(ma[0].getAttribute('data-target'));}f.exports=ia;},null);
__d('getInlineBoundingRect',['Rect'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j,k){var l=j.getClientRects();if(!k||l.length===0)return h.getElementBounds(j);var m,n=false;for(var o=0;o<l.length;o++){var p=new h(Math.round(l[o].top),Math.round(l[o].right),Math.round(l[o].bottom),Math.round(l[o].left),'viewport').convertTo('document'),q=p.getPositionVector(),r=q.add(p.getDimensionVector());if(!m||q.x<=m.l&&q.y>m.t){if(n)break;m=new h(q.y,r.x,r.y,q.x,'document');}else{m.t=Math.min(m.t,q.y);m.b=Math.max(m.b,r.y);m.r=r.x;}if(p.contains(k))n=true;}if(!m)m=h.getElementBounds(j);return m;}f.exports=i;},null);
__d('Tooltip',['AsyncRequest','ContextualLayer','ContextualLayerAutoFlip','CSS','DOM','Event','Style','TooltipData','Vector','emptyFunction','fbt','getElementText','getInlineBoundingRect','getOrCreateDOMID','nl2br','setImmediate'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w){if(c.__markCompiled)c.__markCompiled();var x=null,y=null,z=null,aa=null,ba=null,ca=null,da=[],ea=[];function fa(){if(!aa){ba=l.create('div',{className:'tooltipContent','data-testid':'tooltip_testid'});ca=u(ba);var ja=l.create('i',{className:'arrow'}),ka=l.create('div',{className:'uiTooltipX'},[ba,ja]);aa=new i({},ka);aa.shouldSetARIAProperties(false);aa.enableBehavior(j);}}function ga(ja,ka){ia._show(ja,r._("\u0e01\u0e33\u0e25\u0e31\u0e07\u0e42\u0e2b\u0e25\u0e14..."));new h(ka).setHandler(function(la){ia._show(ja,la.getPayload());}).setErrorHandler(q).send();}var ha;m.listen(document.documentElement,'mouseover',function(event){ha=event;w(function(){ha=null;});});var ia=babelHelpers._extends({},o,{isActive:function(ja){return ja===x;},process:function(ja,ka){if(!l.contains(ja,ka))return;if(ja!==x){ia.fetchIfNecessary(ja);var la=ja.getAttribute('data-tooltip-delay');if(la){la=parseInt(la,10)||1000;ia._showWithDelay(ja,la);}else ia.show(ja);}},fetchIfNecessary:function(ja){var ka=ja.getAttribute('data-tooltip-uri');if(ka){ja.removeAttribute('data-tooltip-uri');ga(ja,ka);}},hide:function(){if(x){aa.hide();x=null;while(da.length)da.pop().remove();}},_show:function(ja,ka){ia._store({context:ja,content:ka});ia.isActive(ja)&&ia.show(ja);},show:function(ja){var ka=function(){ja.setAttribute('aria-describedby',ca);aa.show();},la=function(){ja.removeAttribute('aria-describedby');ia.hide();},ma=function(xa){if(!l.contains(x,xa.getTarget()))la();};fa();la();var na=ia._get(ja);if(na.suppress)return;var oa=na.content;if(na.overflowDisplay){if(ja.offsetWidth>=ja.scrollWidth)return;if(!oa)oa=s(ja);}if(!oa)return;var pa=0,qa=0;if(na.position==='left'||na.position==='right'){qa=(ja.offsetHeight-28)/2;}else if(na.alignH!=='center'){var ra=ja.offsetWidth;if(ra<32)pa=(ra-32)/2*(na.alignH==='right'?-1:1);}aa.setContextWithBounds(ja,t(ja,ha&&p.getEventPosition(ha))).setOffsetX(pa).setOffsetY(qa).setPosition(na.position).setAlignment(na.alignH);if(typeof oa==='string'){k.addClass(aa.getRoot(),'invisible_elem');var sa=l.create('span',{},v(oa));if(na.textDirection)sa=l.create('bdo',{dir:na.textDirection},sa);var ta=l.create('div',{className:'tooltipText'},sa);l.setContent(ba,ta);ka();var ua;if(ta.getClientRects){var va=ta.getClientRects()[0];if(va)ua=Math.ceil(va.right-va.left);}if(!ua)ua=ta.offsetWidth;if(ua<sa.offsetWidth){k.addClass(ta,'tooltipWrap');aa.updatePosition();}k.removeClass(aa.getRoot(),'invisible_elem');}else{l.setContent(ba,oa);ka();}da.push(m.listen(document.documentElement,'mouseover',ma),m.listen(document.documentElement,'focusin',ma));var wa=n.getScrollParent(ja);if(wa!==window)da.push(m.listen(wa,'scroll',la));if(!na.persistOnClick)da.push(m.listen(ja,'click',la));x=ja;},_showWithDelay:function(ja,ka){if(ja!==y)ia._clearDelay();if(!z){var la=function(ma){if(!l.contains(y,ma.getTarget()))ia._clearDelay();};ea.push(m.listen(document.documentElement,'mouseover',la),m.listen(document.documentElement,'focusin',la));y=ja;z=setTimeout(function(){ia._clearDelay();ia.show(ja);},ka);}},_clearDelay:function(){clearTimeout(z);y=null;z=null;while(ea.length)ea.pop().remove();}});m.listen(window,'scroll',ia.hide);f.exports=ia;},null);
__d('ReactComposerActionTypes',['keyMirror'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();f.exports=h({INIT_CONFIG:null,POST_ERROR:null,POST_STARTED:null,POST_INTENDED:null,POST_SUCCEEDED:null,POST_FINALLY:null,PUBLISH_STARTED:null,PUBLISH_SUCCEEDED:null,COMPOSER_RESET:null});},null);
__d('ReactComposerDispatcher',['Dispatcher_DEPRECATED'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();f.exports=new h();},null);
__d('ScrollableArea',['ArbiterMixin','Bootloader','BrowserSupport','CSS','DataStore','DOM','Event','Parent','Run','Scroll','SimpleDrag','Style','SubscriptionsHandler','UserAgent_DEPRECATED','Vector','createCancelableFunction','emptyFunction','ifRequired','mixin','setTimeoutAcrossTransitions','throttle'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ba){if(c.__markCompiled)c.__markCompiled();var ca,da,ea=12;ca=babelHelpers.inherits(fa,z(h));da=ca&&ca.prototype;function fa(ga,ha){'use strict';da.constructor.call(this);if(!ga)return;ha=ha||{};p.onAfterLoad(function(){i.loadModules(["Animation"],x);});this._elem=ga;this._wrap=m.find(ga,'div.uiScrollableAreaWrap');this._body=m.find(this._wrap,'div.uiScrollableAreaBody');this._content=m.find(this._body,'div.uiScrollableAreaContent');this._track=m.find(ga,'div.uiScrollableAreaTrack');this._gripper=m.find(this._track,'div.uiScrollableAreaGripper');this._options=ha;this._throttledComputeHeights=ba.withBlocking(this._computeHeights,250,this);this.throttledAdjustGripper=ba.withBlocking(this.adjustGripper,250,this);this._throttledShowGripperAndShadows=ba.withBlocking(this._showGripperAndShadows,250,this);this._throttledRespondMouseMove=ba(this._respondMouseMove,250,this);aa(this.adjustGripper.bind(this),0);this._listeners=new t();this._listeners.addSubscriptions(n.listen(this._wrap,'scroll',this._handleScroll.bind(this)),n.listen(ga,'mousemove',this._handleMouseMove.bind(this)),n.listen(this._track,'click',this._handleClickOnTrack.bind(this)));if(j.hasPointerEvents())this._listeners.addSubscriptions(n.listen(ga,'mousedown',this._handleClickOnTrack.bind(this)));if(ha.fade!==false){this._listeners.addSubscriptions(n.listen(ga,'mouseenter',this._handleMouseEnter.bind(this)),n.listen(ga,'mouseleave',this._handleMouseLeave.bind(this)),n.listen(ga,'focusin',this.showScrollbar.bind(this,false)),n.listen(ga,'focusout',this.hideScrollbar.bind(this)));}else if(j.hasPointerEvents())this._listeners.addSubscriptions(n.listen(ga,'mouseleave',k.removeClass.bind(null,ga,'uiScrollableAreaTrackOver')));if(u.webkit()||u.chrome()){this._listeners.addSubscriptions(n.listen(ga,'mousedown',function(){var ia=n.listen(window,'mouseup',function(){if(q.getLeft(ga))q.setLeft(ga,0);ia.remove();});}));}else if(u.firefox())this._wrap.addEventListener('DOMMouseScroll',function(event){event.axis===event.HORIZONTAL_AXIS&&event.preventDefault();},false);this._drag=this.initDrag();l.set(this._elem,'ScrollableArea',this);if(!ha.persistent){this._destroy=w(this._destroy.bind(this));p.onLeave(this._destroy);}if(ha.shadow!==false)k.addClass(this._elem,'uiScrollableAreaWithShadow');}fa.prototype.getElement=function(){'use strict';return this._elem;};fa.prototype.initDrag=function(){'use strict';var ga=j.hasPointerEvents(),ha=new r(ga?this._elem:this._gripper);ha.subscribe('start',(function(ia,event){if(!(event.which&&event.which===1||event.button&&event.button===1))return;var ja=v.getEventPosition(event,'viewport');if(ga){var ka=this._gripper.getBoundingClientRect();if(ja.x<ka.left||ja.x>ka.right||ja.y<ka.top||ja.y>ka.bottom)return false;}this.inform('grip_start');var la=ja.y,ma=this._gripper.offsetTop;k.addClass(this._elem,'uiScrollableAreaDragging');var na=ha.subscribe('update',(function(pa,event){var qa=v.getEventPosition(event,'viewport').y-la;this._throttledComputeHeights();var ra=this._contentHeight-this._containerHeight,sa=ma+qa,ta=this._trackHeight-this._gripperHeight;sa=Math.max(Math.min(sa,ta),0);var ua=sa/ta*ra;q.setTop(this._wrap,ua);}).bind(this)),oa=ha.subscribe('end',(function(){ha.unsubscribe(na);ha.unsubscribe(oa);k.removeClass(this._elem,'uiScrollableAreaDragging');this.inform('grip_end');}).bind(this));}).bind(this));return ha;};fa.prototype.adjustGripper=function(){'use strict';if(this._needsGripper()){s.set(this._gripper,'height',this._gripperHeight+'px');this._slideGripper();}this._throttledShowGripperAndShadows();return this;};fa.prototype._computeHeights=function(){'use strict';this._containerHeight=this._elem.clientHeight;this._contentHeight=this._content.offsetHeight;this._trackHeight=this._track.offsetHeight;this._gripperHeight=Math.max(this._containerHeight/this._contentHeight*this._trackHeight,ea);};fa.prototype._needsGripper=function(){'use strict';this._throttledComputeHeights();return this._gripperHeight<this._trackHeight;};fa.prototype._slideGripper=function(){'use strict';var ga=q.getTop(this._wrap)/(this._contentHeight-this._containerHeight)*(this._trackHeight-this._gripperHeight);s.set(this._gripper,'top',ga+'px');};fa.prototype._showGripperAndShadows=function(){'use strict';k.conditionShow(this._gripper,this._needsGripper());k.conditionClass(this._elem,'contentBefore',q.getTop(this._wrap)>0);k.conditionClass(this._elem,'contentAfter',!this.isScrolledToBottom());};fa.prototype.destroy=function(){'use strict';this._destroy();this._destroy.cancel&&this._destroy.cancel();};fa.prototype._destroy=function(){'use strict';this._listeners&&this._listeners.release();this._elem&&l.remove(this._elem,'ScrollableArea');this._drag&&this._drag.destroy();};fa.prototype._handleClickOnTrack=function(event){'use strict';var ga=v.getEventPosition(event,'viewport'),ha=this._gripper.getBoundingClientRect();if(ga.x<ha.right&&ga.x>ha.left){if(ga.y<ha.top){this.setScrollTop(this.getScrollTop()-this._elem.clientHeight);}else if(ga.y>ha.bottom)this.setScrollTop(this.getScrollTop()+this._elem.clientHeight);event.prevent();}};fa.prototype._handleMouseMove=function(event){'use strict';var ga=this._options.fade!==false;if(j.hasPointerEvents()||ga){this._mousePos=v.getEventPosition(event);this._throttledRespondMouseMove();}};fa.prototype._respondMouseMove=function(){'use strict';if(!this._mouseOver)return;var ga=this._options.fade!==false,ha=this._mousePos,ia=v.getElementPosition(this._track).x,ja=v.getElementDimensions(this._track).x,ka=Math.abs(ia+ja/2-ha.x);k.conditionClass(this._elem,'uiScrollableAreaTrackOver',j.hasPointerEvents()&&ka<=10);if(ga)if(ka<25){this.showScrollbar(false);}else if(!this._options.no_fade_on_hover)this.hideScrollbar();};fa.prototype._handleScroll=function(event){'use strict';if(this._needsGripper())this._slideGripper();this.throttledAdjustGripper();if(this._options.fade!==false)this.showScrollbar();this.inform('scroll');};fa.prototype._handleMouseLeave=function(){'use strict';this._mouseOver=false;this.hideScrollbar();};fa.prototype._handleMouseEnter=function(){'use strict';this._mouseOver=true;this.showScrollbar();};fa.prototype.hideScrollbar=function(ga){'use strict';if(!this._scrollbarVisible)return this;this._scrollbarVisible=false;if(this._hideTimeout){clearTimeout(this._hideTimeout);this._hideTimeout=null;}if(ga){this._simpleHide();}else this._hideTimeout=aa((function(){y('Animation',(function(ha){return this._animatedHide(ha);}).bind(this),(function(){return this._simpleHide();}).bind(this));}).bind(this),750);return this;};fa.prototype._simpleHide=function(){'use strict';s.set(this._track,'opacity',0);k.addClass.bind(null,this._track,'invisible_elem');};fa.prototype._animatedHide=function(ga){'use strict';if(this._hideAnimation){this._hideAnimation.stop();this._hideAnimation=null;}this._hideAnimation=new ga(this._track).from('opacity',1).to('opacity',0).duration(250).ondone(k.addClass.bind(null,this._track,'invisible_elem')).go();};fa.prototype.pageDown=function(ga,ha){'use strict';this._scrollPage(1,ga,ha);};fa.prototype.pageUp=function(ga,ha){'use strict';this._scrollPage(-1,ga,ha);};fa.prototype._scrollPage=function(ga,ha,ia){'use strict';var ja=ga*this._containerHeight,ka=this.getScrollHeight()-this._containerHeight,la=Math.max(0,Math.min(ka,this.getScrollTop()+ja));this.setScrollTop(la,ha,ia);};fa.prototype.resize=function(){'use strict';if(this._body.style.width)this._body.style.width='';var ga=this._wrap.offsetWidth-this._wrap.clientWidth;if(ga>0)s.set(this._body,'margin-right',-ga+'px');return this;};fa.prototype.showScrollbar=function(ga){'use strict';this.throttledAdjustGripper();if(this._scrollbarVisible)return this;this._scrollbarVisible=true;if(this._hideTimeout){clearTimeout(this._hideTimeout);this._hideTimeout=null;}if(this._hideAnimation){this._hideAnimation.stop();this._hideAnimation=null;}s.set(this._track,'opacity',1);k.removeClass(this._track,'invisible_elem');if(ga!==false&&!this._options.no_fade_on_hover)this.hideScrollbar();return this;};fa.prototype.distanceToBottom=function(){'use strict';this._computeHeights();return this._contentHeight-(q.getTop(this._wrap)+this._containerHeight);};fa.prototype.isScrolledToBottom=function(){'use strict';return this.distanceToBottom()<=0;};fa.prototype.isScrolledToTop=function(){'use strict';return q.getTop(this._wrap)===0;};fa.prototype.scrollToBottom=function(ga,ha){'use strict';this.setScrollTop(this._wrap.scrollHeight,ga,ha);};fa.prototype.scrollToTop=function(ga){'use strict';this.setScrollTop(0,ga);};fa.prototype.scrollIntoView=function(ga,ha){'use strict';var ia=this._wrap.clientHeight,ja=ga.offsetHeight,ka=q.getTop(this._wrap),la=ka+ia,ma=ga.offsetTop,na=ma+ja;if(ma<ka||ia<ja){this.setScrollTop(ma,ha);}else if(na>la)this.setScrollTop(ka+(na-la),ha);};fa.prototype.scrollElemToTop=function(ga,ha,ia){'use strict';this.setScrollTop(ga.offsetTop,ha,{callback:ia});};fa.prototype.poke=function(){'use strict';var ga=q.getTop(this._wrap);q.setTop(this._wrap,q.getTop(this._wrap)+1);q.setTop(this._wrap,q.getTop(this._wrap)-1);q.setTop(this._wrap,ga);return this.showScrollbar(false);};fa.prototype.getClientHeight=function(){'use strict';return this._wrap.clientHeight;};fa.prototype.getScrollTop=function(){'use strict';return q.getTop(this._wrap);};fa.prototype.getScrollHeight=function(){'use strict';return this._wrap.scrollHeight;};fa.prototype.setScrollTop=function(ga,ha){'use strict';var ia=arguments.length<=2||arguments[2]===undefined?{}:arguments[2];if(ha!==false){y('Animation',(function(ja){return (this._animatedSetScrollTop(ja,ga,ia));}).bind(this),(function(){return this._simpleSetScrollTop(ga,ia);}).bind(this));}else this._simpleSetScrollTop(ga,ia);};fa.prototype._simpleSetScrollTop=function(ga,ha){'use strict';q.setTop(this._wrap,ga);ha.callback&&ha.callback();};fa.prototype._animatedSetScrollTop=function(ga,ha,ia){'use strict';if(this._scrollTopAnimation)this._scrollTopAnimation.stop();var ja=ia.duration||250,ka=ia.ease||ga.ease.end;this._scrollTopAnimation=new ga(this._wrap).to('scrollTop',ha).ease(ka).duration(ja).ondone(ia.callback).go();};fa.renderDOM=function(){'use strict';var ga=m.create('div',{className:'uiScrollableAreaContent'}),ha=m.create('div',{className:'uiScrollableAreaBody'},ga),ia=m.create('div',{className:'uiScrollableAreaWrap scrollable'},ha),ja=m.create('div',{className:'uiScrollableArea native'},ia);return {root:ja,wrap:ia,body:ha,content:ga};};fa.fromNative=function(ga,ha){'use strict';if(!k.hasClass(ga,'uiScrollableArea')||!k.hasClass(ga,'native'))return;ha=ha||{};k.removeClass(ga,'native');var ia=m.create('div',{className:'uiScrollableAreaTrack'},m.create('div',{className:'uiScrollableAreaGripper'}));if(ha.fade!==false){k.addClass(ga,'fade');k.addClass(ia,'invisible_elem');}else k.addClass(ga,'nofade');if(ha.tabIndex!==undefined&&ha.tabIndex!==null){m.setAttributes(ia,{tabIndex:ha.tabIndex});m.prependContent(ga,ia);}else m.appendContent(ga,ia);var ja=new fa(ga,ha);ja.resize();return ja;};fa.getInstance=function(ga){'use strict';var ha=o.byClass(ga,'uiScrollableArea');return ha?l.get(ha,'ScrollableArea'):null;};fa.poke=function(ga){'use strict';var ha=fa.getInstance(ga);ha&&ha.poke();};f.exports=fa;},null);
__d('Menu',['BehaviorsMixin','CSS','DataStore','DOM','Event','Keys','Parent','PopoverMenuInterface','ScrollableArea','Style','SubscriptionsHandler','cx'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){if(c.__markCompiled)c.__markCompiled();var t,u;t=babelHelpers.inherits(v,o);u=t&&t.prototype;function v(w,x){'use strict';u.constructor.call(this);this._items=[];for(var y=0;y<w.length;y++){var z=w[y],aa;if(z.ctor){aa=new z.ctor(z);}else aa=new z.type(z.props);this._items[y]=aa;}this._config=x||{};this._theme=x.theme||{};this._subscriptions=new r();}v.prototype.addItem=function(w){'use strict';this._addItem(w);};v.prototype.addItemBefore=function(w,x){'use strict';this._addItem(w,x,false);};v.prototype.addItemAfter=function(w,x){'use strict';this._addItem(w,x,true);};v.prototype._addItem=function(w,x,y){'use strict';var z=this._items.indexOf(w);if(z>=0){var aa=y?-1:1;if(this._items[z+aa]==x)return;this._items.splice(z,1);}if(x){z=this._items.indexOf(x);if(z<0)throw new Error('reference item must already be in the menu');if(y)z++;this._items.splice(z,0,w);}else this._items.push(w);if(this._root)this._insertItem(w,x,y);};v.prototype.removeItem=function(w){'use strict';var x=this._items.indexOf(w);if(x<0)return;this._items.splice(x,1);this._root&&k.remove(w.getRoot());};v.prototype.forEachItem=function(w){'use strict';this._items.forEach(w);};v.prototype.getFocusedItem=function(){'use strict';return this._focused;};v.prototype.getItemAt=function(w){'use strict';return this._items[w]||null;};v.prototype.getRoot=function(){'use strict';if(!this._root)this._render();return this._root;};v.prototype.onShow=function(){'use strict';if(this._config.maxheight)if(!this._scrollableArea){this._scrollableArea=p.fromNative(this._scrollableElems.root,{fade:true});}else this._scrollableArea.resize();this.inform('show');};v.prototype.onHide=function(){'use strict';this.blur();};v.prototype.focusAnItem=function(w){'use strict';return this._attemptFocus(w||0,1);};v.prototype.blur=function(){'use strict';if(this._focused){var w=this._focused;this._focused.blur();this._focused=null;this.inform('blur',{item:w});}};v.prototype.handleKeydown=function(w,x){'use strict';var y=this._items.indexOf(this._focused);switch(w){case m.UP:case m.DOWN:var z=w===m.UP,aa=z?-1:1,ba=z?this._items.length-1:0,ca=z?0:this._items.length-1;if(y===-1){return this._attemptFocus(ba,aa);}else if(y!==ca)return this._attemptFocus(y+aa,aa);break;case m.SPACE:if(this._items.indexOf(this._focused)!==-1){this._handleItemClick(this._focused,x);return true;}return false;default:var da=String.fromCharCode(w).toLowerCase(),ea;for(var fa=y+1;fa<this._items.length;fa++){ea=this._items[fa].getAccessKey();if(ea&&ea.charAt(0).toLowerCase()===da)if(this._focusItem(this._items[fa]))return true;}return false;}};v.prototype._render=function(){'use strict';this._ul=k.create('ul',{className:"_54nf"});this._ul.setAttribute('role','menu');this._items.forEach((function(y){this._insertItem(y,null);}).bind(this));this._subscriptions.addSubscriptions(l.listen(this._ul,'click',this._handleClick.bind(this)),l.listen(this._ul,'mouseover',this._handleMouseOver.bind(this)),l.listen(this._ul,'mouseout',this._handleMouseOut.bind(this)));var w=this._ul;if(this._config.maxheight){this._scrollableElems=p.renderDOM();k.setContent(this._scrollableElems.content,this._ul);w=this._scrollableElems.root;q.set(this._scrollableElems.wrap,'max-height',this._config.maxheight+'px');}var x="_54nq"+(this._config.className?' '+this._config.className:'')+(this._theme.className?' '+this._theme.className:'');this._root=k.create('div',{className:x},k.create('div',{className:"_54ng"},w));this._config.id&&this._root.setAttribute('id',this._config.id);if(this._config.behaviors)this.enableBehaviors(this._config.behaviors);this.inform('rendered',this._root);};v.prototype._needsDefaultBehavior=function(w){'use strict';if(w.isDefaultRequested&&w.isDefaultRequested()){var x=n.byTag(w.getTarget(),'a'),y=x&&x.getAttribute('href');return y&&y[0]!=='#';}return false;};v.prototype._handleClick=function(w){'use strict';if(!this._needsDefaultBehavior(w)){var x=this._getItemInstance(w.getTarget());if(x)return this._handleItemClick(x,w);}};v.prototype._handleItemClick=function(w,x){'use strict';this.inform('itemclick',{item:w,event:x});if(w.hasAction())this.done();return w.handleClick(x);};v.prototype._handleMouseOver=function(w){'use strict';var x=this._getItemInstance(w.getTarget());x&&this._focusItem(x,true);};v.prototype._handleMouseOut=function(w){'use strict';var x=this._getItemInstance(w.getTarget());if(x&&this._focused===x)this.blur();};v.prototype._insertItem=function(w,x,y){'use strict';var z=w.getRoot();i.addClass(z,'__MenuItem');j.set(z,'MenuItem',w);if(x){var aa=y?k.insertAfter:k.insertBefore;aa(x.getRoot(),z);}else k.appendContent(this._ul,z);};v.prototype._attemptFocus=function(w,x){'use strict';var y=this.getItemAt(w);if(y)if(this._focusItem(y)){return true;}else return this._attemptFocus(w+x,x);return false;};v.prototype._focusItem=function(w,x){'use strict';if(w.focus(x)!==false){if(this._focused!==w){this.blur();this._focused=w;this.inform('focus',{item:w,from_mouse_over:x});}return true;}return false;};v.prototype._getItemInstance=function(w){'use strict';var x=n.byClass(w,'__MenuItem');return x?j.get(x,'MenuItem'):null;};v.prototype.destroy=function(){'use strict';this._items.forEach(function(w){var x=w.getRoot();j.remove(x,'MenuItem');w.destroy();});this._subscriptions.release();this.destroyBehaviors();};Object.assign(v.prototype,h,{_focused:null,_root:null});f.exports=v;},null);
__d('MenuItemInterface',['emptyFunction'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(){'use strict';}i.prototype.getRoot=function(){'use strict';if(!this._root)this._root=this.render();return this._root;};Object.assign(i.prototype,{_root:null,render:h,getAccessKey:h,hasAction:h.thatReturnsFalse,focus:h.thatReturnsFalse,blur:h.thatReturnsFalse,onShow:h.thatReturnsFalse,handleClick:h.thatReturnsFalse,destroy:h});f.exports=i;},null);
__d('MenuItemBase',['DOM','HTML','MenuItemInterface','cx'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l,m;l=babelHelpers.inherits(n,j);m=l&&l.prototype;function n(o){'use strict';m.constructor.call(this);this._data=babelHelpers._extends({},o);}n.prototype.render=function(){'use strict';var o="_54ni";if(this._data.className)o+=' '+this._data.className;var p={className:o,role:'presentation'};Object.assign(p,this.__getAttributesFromData());return h.create('li',p,this._renderItemContent());};n.prototype._renderItemContent=function(){'use strict';return i(this._data.markup).getNodes();};n.prototype.__getAttributesFromData=function(){'use strict';var o={};for(var p in this._data)if(p.indexOf('data-')===0||p.indexOf('aria-')===0)o[p]=this._data[p];return o;};f.exports=n;},null);
__d('MenuItem',['CSS','DOM','MenuItemBase','React','ReactDOM','cloneWithProps','cx','emptyFunction'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o){if(c.__markCompiled)c.__markCompiled();var p,q,r=['href','rel','ajaxify','target','accesskey'];function s(v,w){var x={};r.forEach(function(y){if(w[y])x[y]=w[y];});i.setAttributes(v,x);}function t(v){r.forEach(function(w){v.removeAttribute(w);});}p=babelHelpers.inherits(u,j);q=p&&p.prototype;function u(v){'use strict';q.constructor.call(this,v);this._disabled=!!this._data.disabled;this._onclickHandler=this._data.onclick;}u.prototype.getValue=function(){'use strict';return this._data.value;};u.prototype.getLabel=function(){'use strict';return this._data.label;};u.prototype.getAccessKey=function(){'use strict';var v=this.getLabel();return v&&v.charAt(0);};u.prototype.focus=function(v){'use strict';if(this.isDisabled()||!this._root.offsetParent)return false;h.addClass(this._root,"_54ne");h.addClass(this._root,'selected');v||this._anchor.focus();};u.prototype.blur=function(){'use strict';h.removeClass(this._root,"_54ne");h.removeClass(this._root,'selected');};u.prototype.handleClick=function(v){'use strict';if(this.isDisabled())return false;if(typeof this._onclickHandler==='function')return this._onclickHandler(v);return true;};u.prototype.setOnClickHandler=function(v){'use strict';this._onclickHandler=v;};u.prototype._renderItemContent=function(){'use strict';this._anchor=i.create(this._data.renderas==='label'?'label':'a',{className:"_54nc"+(this._data.icon?' '+"_54nu":'')});if(this._data.children){var v=null;if(this._data.icon)v=m(this._data.icon,{className:'mrs'});l.render(k.createElement('span',null,v,k.createElement('span',{className:"_54nh"},this._data.children)),this._anchor);this._data.label=this._anchor.innerText||this._anchor.textContent;}else{var w=i.create('span',null,i.create('span',{className:"_54nh"},this._data.markup||this._data.label));if(this._data.icon)i.prependContent(w,this._data.icon);i.setContent(this._anchor,w);}if(!this._data.href)this._data.href='#';if(!this.isDisabled())s(this._anchor,this._data);i.setAttributes(this._anchor,this.__getAttributesFromData());this._anchor.setAttribute('role','menuitem');var x=this._data.title;x&&this._anchor.setAttribute('title',x);return this._anchor;};u.prototype.isDisabled=function(){'use strict';return this._disabled;};u.prototype.enable=function(){'use strict';if(this._root){s(this._anchor,this._data);h.removeClass(this._root,"_5arm");}this._disabled=false;};u.prototype.disable=function(){'use strict';if(this._root){t(this._anchor);h.addClass(this._root,"_5arm");}this._disabled=true;};u.prototype.render=function(){'use strict';var v=q.render.call(this);if(this._disabled)h.addClass(v,"_5arm");return v;};u.prototype.destroy=function(){'use strict';if(this._anchor)l.unmountComponentAtNode(this._anchor);};Object.assign(u.prototype,{hasAction:o.thatReturnsTrue});f.exports=u;},null);
__d('MenuSeparator',['DOM','CSS','MenuItemInterface','cx'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l,m;l=babelHelpers.inherits(n,j);m=l&&l.prototype;function n(o){'use strict';m.constructor.call(this,o);this._data=o;this.showFn=this._data.should_show_fn;}n.prototype.updateShownState=function(o){'use strict';if(this.showFn){this._isHidden=!this.showFn(o);if(this._root)i.conditionShow(this._root,!this._isHidden);}};n.prototype.isShown=function(o){'use strict';var p=this.showFn?this.showFn(o):true;return p;};n.prototype.render=function(){'use strict';var o="_54ak";if(this._data.className)o+=' '+this._data.className;var p=this._data.label||'',q=h.create('li',{className:o,role:'separator'},p);if(this._isHidden)i.hide(q);return q;};f.exports=n;},null);
__d('MenuStaticItem',['DOM','MenuItemBase','React','ReactDOM','cx','emptyFunction'],function a(b,c,d,e,f,g,h,i,j,k,l,m){if(c.__markCompiled)c.__markCompiled();var n,o;n=babelHelpers.inherits(p,i);o=n&&n.prototype;function p(q){'use strict';o.constructor.call(this);this._data=q;}p.prototype._renderItemContent=function(){'use strict';var q=h.create('span',{className:"_54nc _54ah"});if(this._data.children){k.render(j.createElement('span',{className:"_54nh"},this._data.children),q);}else h.setContent(q,h.create('span',{className:"_54nh"},this._data.markup));return q;};Object.assign(p.prototype,{handleClick:m});f.exports=p;},null);
__d('XUIMenuTheme',['cx'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();f.exports={className:"_558b"};},null);
__d('XUIMenuWithSquareCorner',['CSS','cx'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();function j(k){'use strict';this.$XUIMenuWithSquareCorner1=k;}j.prototype.enable=function(){'use strict';h.addClass(this.$XUIMenuWithSquareCorner1.getRoot(),"_2n_z");};j.prototype.disable=function(){'use strict';h.removeClass(this.$XUIMenuWithSquareCorner1.getRoot(),"_2n_z");};f.exports=j;},null);
__d('ContextualLayerUpdateOnScroll',['Event'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j){'use strict';this._layer=j;}i.prototype.enable=function(){'use strict';this._subscriptions=[this._layer.subscribe('show',this._attachScrollListener.bind(this)),this._layer.subscribe('hide',this._removeScrollListener.bind(this))];};i.prototype.disable=function(){'use strict';while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();};i.prototype._attachScrollListener=function(){'use strict';if(this._listener)return;var j=this._layer.getContextScrollParent();this._listener=h.listen(j,'scroll',this._layer.updatePosition.bind(this._layer));};i.prototype._removeScrollListener=function(){'use strict';this._listener&&this._listener.remove();this._listener=null;};Object.assign(i.prototype,{_subscriptions:[]});f.exports=i;},null);
__d('LayerDestroyOnHide',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i){'use strict';this._layer=i;}h.prototype.enable=function(){'use strict';var i=this._layer.destroy.bind(this._layer);this._subscription=this._layer.subscribe('hide',function(){setTimeout(i,0);});};h.prototype.disable=function(){'use strict';if(this._subscription){this._subscription.unsubscribe();this._subscription=null;}};Object.assign(h.prototype,{_subscription:null});f.exports=h;},null);
__d('LayerFadeOnHide',['Animation','Layer','Style','UserAgent_DEPRECATED','emptyFunction','setTimeoutAcrossTransitions'],function a(b,c,d,e,f,g,h,i,j,k,l,m){if(c.__markCompiled)c.__markCompiled();function n(o){'use strict';this._layer=o;}n.prototype.enable=function(){'use strict';if(k.ie()<9)return;this._subscription=this._layer.subscribe('starthide',this._handleStartHide.bind(this));};n.prototype.disable=function(){'use strict';if(this._subscription){this._subscription.unsubscribe();this._subscription=null;}};n.prototype._getDuration=function(){'use strict';return 150;};n.prototype._handleStartHide=function(){'use strict';var o=true,p=i.subscribe('show',function(){p.unsubscribe();o=false;});m((function(){p.unsubscribe();p=null;var q=(function(){this._layer.finishHide();}).bind(this);if(o){this._animate(q);}else q();}).bind(this),0);return false;};n.prototype._animate=function(o){'use strict';var p=this._layer.getRoot();new h(p).from('opacity',1).to('opacity',0).duration(this._getDuration()).ondone(function(){j.set(p,'opacity','');o();}).go();};n.forDuration=function(o){var p,q;'use strict';p=babelHelpers.inherits(r,n);q=p&&p.prototype;function r(){p.apply(this,arguments);}r.prototype._getDuration=l.thatReturns(o);return r;};Object.assign(n.prototype,{_subscription:null});f.exports=n;},null);
__d('LayerHideOnBlur',['requestAnimationFrame'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j){'use strict';this._layer=j;}i.prototype.enable=function(){'use strict';this._subscriptions=[this._layer.subscribe('show',this._attach.bind(this)),this._layer.subscribe('hide',this._detach.bind(this))];if(this._layer.isShown())this._attach();};i.prototype.disable=function(){'use strict';this._detach();while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();this._subscriptions=null;};i.prototype._detach=function(){'use strict';this._onBlur&&this._onBlur.unsubscribe();this._onBlur=null;};i.prototype._attach=function(){'use strict';this._onBlur=this._layer.subscribe('blur',(function(){return h((function(){this._layer.hide();return false;}).bind(this));}).bind(this));};Object.assign(i.prototype,{_subscriptions:null,_onBlur:null});f.exports=i;},null);
__d('LayerTogglerContext',['Toggler'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j){'use strict';this._layer=j;}i.prototype.enable=function(){'use strict';this._root=this._layer.getRoot();h.createInstance(this._root).setSticky(false);};i.prototype.disable=function(){'use strict';h.destroyInstance(this._root);this._root=null;};f.exports=i;},null);
__d('ModalLayer',['Arbiter','ArbiterMixin','CSS','DataStore','DOM','DOMDimensions','DOMQuery','Event','Scroll','ScrollAwareDOM','Style','UserAgent_DEPRECATED','Vector','csx','cx','debounceAcrossTransitions','getDocumentScrollElement','isAsyncScrollQuery','removeFromArray','setTimeoutAcrossTransitions'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa){if(c.__markCompiled)c.__markCompiled();var ba=[],ca=null,da=null,ea=null;function fa(){if(!ea)ea=n.scry(document.body,"._li")[0];return ea;}function ga(na){var oa={position:t.getScrollPosition()},pa=na.offsetTop-oa.position.y;j.addClass(na,"_31e");r.set(na,'top',pa+'px');h.inform('reflow');oa.listener=q.subscribe('scroll',function(qa,ra){if(n.contains(na,ra.target)){var sa=na.offsetTop-ra.delta.y;r.set(na,'top',sa+'px');oa.position=oa.position.add(ra.delta);return false;}});k.set(na,'ModalLayerData',oa);}function ha(na,oa){var pa=k.get(na,'ModalLayerData');if(pa){var qa=function(){j.removeClass(na,"_31e");r.set(na,'top','');if(oa){var ta=x();p.setTop(ta,pa.position.y);if(p.getTop(ta)!==pa.position.y){p.setTop(ta,pa.position.y+1);p.setTop(ta,pa.position.y);}}h.inform('reflow');pa.listener.unsubscribe();pa.listener=null;k.remove(na,'ModalLayerData');};if(oa&&y()){var ra=l.create('div',{className:"_42w"});r.set(ra,'height',na.offsetHeight+'px');l.appendContent(document.body,ra);var sa=x();p.setTop(sa,pa.position.y);oa=false;setTimeout(function(){qa();l.remove(ra);},0);}else qa();}}function ia(){var na=fa();if(!j.hasClass(na,"_31e"))ga(na);}function ja(){if(!ba.length)ha(fa(),true);}function ka(){var na=ba.length;while(na--){var oa=ba[na],pa=oa.getLayerRoot();la(pa,'');var qa=oa.getLayerContentRoot(),ra=qa.offsetWidth+m.measureElementBox(qa,'width',0,0,1);la(pa,ra);}}function la(na,oa){r.set(na,'min-width',oa+(oa?'px':''));}function ma(na){'use strict';this._layer=na;this._enabled=false;}ma.prototype.enable=function(){'use strict';if(!fa())return;this._subscription=this._layer.subscribe(['show','hide'],(function(na){na=='show'?this._addModal():this._removeModal();}).bind(this));if(this._layer.isShown())this._addModal();this._enabled=true;};ma.prototype.disable=function(){'use strict';if(!fa())return;this._subscription.unsubscribe();this._subscription=null;if(this._layer.isShown())this._removeModal();this._enabled=false;};ma.prototype._addModal=function(){'use strict';var na=this.getLayerRoot();j.addClass(na,"_3qw");this._wash=l.create('div',{className:"_3ixn"});l.prependContent(na,this._wash);var oa=ba[ba.length-1];if(oa){ga(oa.getLayerRoot());}else ia();var pa=x();p.setTop(pa,0);if(!ba.length){var qa=w(ka,100);ca=o.listen(window,'resize',qa);da=h.subscribe('reflow',qa);}ba.push(this);ma.inform('show',this);setTimeout(ka,0);};ma.prototype._removeModal=function(){'use strict';var na=this.getLayerRoot();j.removeClass(na,"_3qw");l.remove(this._wash);this._wash=null;la(na,'');var oa=this===ba[ba.length-1];z(ba,this);if(!ba.length){ca.remove();ca=null;da.unsubscribe();da=null;}var pa=o.listen(document.documentElement,'mousewheel',o.prevent),qa=pa.remove.bind(pa);aa((function(){var ra=ba[ba.length-1];if(ra){ha(ra.getLayerRoot(),oa);ma.inform('show',ra);}else{ja();ma.inform('hide',this);}if(ba.length)setTimeout(ka,0);setTimeout(qa,0);}).bind(this),400);};ma.prototype.getLayerRoot=function(){'use strict';return this._enabled?this._layer.getRoot():null;};ma.prototype.getLayerContentRoot=function(){'use strict';return this._enabled?this._layer.getContentRoot():null;};ma.getTopmostModalLayer=function(){'use strict';return ba[ba.length-1];};ma.unfixed=function(na){'use strict';if(s.chrome()){var oa=fa();if(oa&&j.hasClass(oa,"_31e")){var pa=x(),qa=p.getTop(pa);ha(oa,true);na();ga(oa);p.setTop(pa,qa);return;}}na();};Object.assign(ma,i);f.exports=ma;},null);
__d('DialogPosition',['Vector'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i=40,j,k={calculateTopMargin:function(l,m){var n=arguments.length<=2||arguments[2]===undefined?null:arguments[2],o=arguments.length<=3||arguments[3]===undefined?false:arguments[3],p=h.getViewportDimensions(),q=false;if(o&&n)q=n+m>p.y;if(n&&!q)return n;if(j)return j;var r=Math.floor((p.x+l)*(p.y-m)/(4*p.x));return Math.max(r,i);},setFixedTopMargin:function(l){j=l;}};f.exports=k;},null);
__d('DialogX',['Arbiter','CSS','DialogPosition','Event','JSXDOM','Layer','LayerAutoFocus','LayerButtons','LayerFormHooks','LayerRefocusOnHide','LayerTabIsolation','LayerTogglerContext','ModalLayer','Style','Vector','cx','debounce','goURI','shield'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z){if(c.__markCompiled)c.__markCompiled();var aa,ba;aa=babelHelpers.inherits(ca,m);ba=aa&&aa.prototype;ca.prototype._configure=function(ea,fa){'use strict';ba._configure.call(this,ea,fa);i.addClass(this.getRoot(),"_4-hy");if(ea.autohide)var ga=this.subscribe('show',(function(){ga.unsubscribe();setTimeout(z(this.hide,this),ea.autohide);}).bind(this));if(ea.redirectURI)var ha=this.subscribe('hide',function(){ha.unsubscribe();y(ea.redirectURI);});this._fixedTopPosition=ea.fixedTopPosition;this._ignoreFixedTopInShortViewport=ea.ignoreFixedTopInShortViewport;};ca.prototype._getDefaultBehaviors=function(){'use strict';return ba._getDefaultBehaviors.call(this).concat([da,t,n,o,p,r,s,q]);};ca.prototype._buildWrapper=function(ea,fa){'use strict';var ga=ea.xui?"_4t2a":"_t",ha=ea.xui?"_59s7":"_1yv";this._innerContent=l.div(null,fa);this._wrapper=l.div({className:ha,role:"dialog","aria-labelledby":ea.titleID||null},l.div({className:ga},this._innerContent));this.setWidth(ea.width);return (l.div({className:"_10"},this._wrapper));};ca.prototype.getContentRoot=function(){'use strict';return this._wrapper;};ca.prototype.getInnerContent=function(){'use strict';return this._innerContent;};ca.prototype.updatePosition=function(){'use strict';var ea=v.getElementDimensions(this._wrapper),fa=j.calculateTopMargin(ea.x,ea.y,this._fixedTopPosition,this._ignoreFixedTopInShortViewport);u.set(this._wrapper,'margin-top',fa+'px');this.inform('update_position',{type:'DialogX',top:fa});};ca.prototype.setWidth=function(ea){'use strict';ea=Math.floor(ea);if(ea===this._width)return;this._width=ea;u.set(this._wrapper,'width',ea+'px');};ca.prototype.getWidth=function(){'use strict';return this._width;};ca.prototype.getFixedTopPosition=function(){'use strict';return this._fixedTopPosition;};ca.prototype.shouldIgnoreFixedTopInShortViewport=function(){'use strict';return this._ignoreFixedTopInShortViewport;};function ca(){'use strict';aa.apply(this,arguments);}function da(ea){'use strict';this._layer=ea;}da.prototype.enable=function(){'use strict';this._subscription=this._layer.subscribe(['show','hide'],(function(ea){if(ea==='show'){this._attach();h.inform('layer_shown',{type:'DialogX'});}else{this._detach();h.inform('layer_hidden',{type:'DialogX'});}}).bind(this));};da.prototype.disable=function(){'use strict';this._subscription.unsubscribe();this._subscription=null;this._resize&&this._detach();};da.prototype._attach=function(){'use strict';this._layer.updatePosition();this._resize=k.listen(window,'resize',x(this._layer.updatePosition.bind(this._layer)));};da.prototype._detach=function(){'use strict';this._resize.remove();this._resize=null;};Object.assign(da.prototype,{_subscription:null,_resize:null});f.exports=ca;},null);
__d("LoadingDialogDimensions",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h={HEIGHT:96,WIDTH:300};f.exports=h;},null);
__d('AsyncDialog',['AsyncRequest','CSS','DialogX','DOM','Keys','LayerFadeOnShow','LoadingDialogDimensions','Parent','React','ReactDOM','URI','XUISpinner.react','XUIDialogTitle.react','cx','emptyFunction','forEachObject'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w){if(c.__markCompiled)c.__markCompiled();var x,y;function z(ha){var ia=n.WIDTH,ja;if(ha){ia=parseInt(ha.getAttribute('data-dialog-width'),10)||ia;ja=ha.getAttribute('data-dialog-title')||ja;}if(!x){var ka=k.create('div',{className:"_57-x"});x=new j({width:ia,addedBehaviors:[m],xui:true},k.create('div',null,ka));y=k.create('div');k.insertBefore(ka,y);q.render(p.createElement(s,{size:'large'}),ka);x.subscribe(['key','blur'],function(la,ma){if(la=='blur'||la=='key'&&ma.keyCode==l.ESC){da();return false;}});}if(ja){q.render(p.createElement(t,{showCloseButton:false},ja),y);}else k.empty(y);x.setWidth(ia);return x;}var aa={},ba=1,ca=[];function da(){w(aa,function(ha,ia){ha.abandon();ea(ia);});}function ea(ha){delete aa[ha];if(!Object.keys(aa).length)z().hide();}function fa(ha,ia){var ja=ba++;ca[ja]=ia;aa[ja]=ha;var ka=ea.bind(null,''+ja);Object.assign(ha.getData(),{__asyncDialog:ja});var la=ha.getRelativeTo();z(la).setCausalElement(la).show();var ma=ha.finallyHandler;ha.setFinallyHandler(function(pa){var qa=pa.getPayload();if(qa&&qa.asyncURL)ga.send(new h(qa.asyncURL));ka();ma&&ma(pa);});var na=ha.abortHandler||v,oa=ha.interceptHandler||v;ha.setInterceptHandler(function(){try{oa();}finally{ka();}}).setAbortHandler(function(){try{na();}finally{ka();}});ha.send();}var ga={send:function(ha,ia){fa(ha,ia||v);},bootstrap:function(ha,ia,ja){if(!ha)return;var ka=o.byClass(ia,'stat_elem')||ia;if(ka&&i.hasClass(ka,'async_saving'))return false;var la=new r(ha).getQueryData(),ma=ja==='dialog',na=new h().setURI(ha).setData(la).setMethod(ma?'GET':'POST').setReadOnly(ma).setRelativeTo(ia).setStatusElement(ka).setNectarModuleDataSafe(ia);ga.send(na);},respond:function(ha,ia){var ja=ca[ha];if(ja){ja(ia);delete ca[ha];}},getLoadingDialog:function(){return z();}};f.exports=ga;},null);