/*!CK:3330505116!*//*1450740641,*/ if (self.CavalryLogger) { CavalryLogger.start_js(["TgHbB"]); } __d("ActorURIConfig",[],function a(b,c,d,e,f,g){c.__markCompiled&&c.__markCompiled();f.exports={PARAMETER_ACTOR:"av"};},null); __d('CallbackManagerController',['ErrorUtils'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j){'use strict';this.$CallbackManagerController1=[];this.$CallbackManagerController2=[undefined];this.$CallbackManagerController3=j;}i.prototype.executeOrEnqueue=function(j,k,l){'use strict';l=l||{};var m=this.$CallbackManagerController4(k,j,l);if(m)return 0;this.$CallbackManagerController2.push({fn:k,request:j,options:l});var n=this.$CallbackManagerController2.length-1;this.$CallbackManagerController1.push(n);return n;};i.prototype.unsubscribe=function(j){'use strict';delete this.$CallbackManagerController2[j];};i.prototype.reset=function(){'use strict';this.$CallbackManagerController2=[];};i.prototype.getRequest=function(j){'use strict';return this.$CallbackManagerController2[j];};i.prototype.runPossibleCallbacks=function(){'use strict';var j=this.$CallbackManagerController1;this.$CallbackManagerController1=[];var k=[];j.forEach((function(l){var m=this.$CallbackManagerController2[l];if(!m)return;if(this.$CallbackManagerController3(m.request,m.options)){k.push(l);}else this.$CallbackManagerController1.push(l);}).bind(this));k.forEach((function(l){var m=this.$CallbackManagerController2[l];delete this.$CallbackManagerController2[l];this.$CallbackManagerController4(m.fn,m.request,m.options);}).bind(this));};i.prototype.$CallbackManagerController4=function(j,k,l){'use strict';var m=this.$CallbackManagerController3(k,l);if(m){var n={ids:k};h.applyWithGuard(j,n,m);}return !!m;};f.exports=i;},null); __d('KeyedCallbackManager',['CallbackManagerController','ErrorUtils'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();function j(){'use strict';this.$KeyedCallbackManager1={};this.$KeyedCallbackManager2=new h(this.$KeyedCallbackManager3.bind(this));}j.prototype.executeOrEnqueue=function(k,l){'use strict';if(!(k instanceof Array)){var m=k,n=l;k=[k];l=function(o){n(o[m]);};}k=k.filter(function(o){var p=o!==null&&o!==undefined;if(!p)i.applyWithGuard(function(){throw new Error('KeyedCallbackManager.executeOrEnqueue: key '+JSON.stringify(o)+' is invalid');});return p;});return this.$KeyedCallbackManager2.executeOrEnqueue(k,l);};j.prototype.unsubscribe=function(k){'use strict';this.$KeyedCallbackManager2.unsubscribe(k);};j.prototype.reset=function(){'use strict';this.$KeyedCallbackManager2.reset();this.$KeyedCallbackManager1={};};j.prototype.getUnavailableResources=function(k){'use strict';var l=this.$KeyedCallbackManager2.getRequest(k),m=[];if(l)m=l.request.filter((function(n){return !this.$KeyedCallbackManager1[n];}).bind(this));return m;};j.prototype.getUnavailableResourcesFromRequest=function(k){'use strict';var l=Array.isArray(k)?k:[k];return l.filter(function(m){if(m!==null&&m!==undefined)return !this.$KeyedCallbackManager1[m];},this);};j.prototype.addResourcesAndExecute=function(k){'use strict';Object.assign(this.$KeyedCallbackManager1,k);this.$KeyedCallbackManager2.runPossibleCallbacks();};j.prototype.setResource=function(k,l){'use strict';this.$KeyedCallbackManager1[k]=l;this.$KeyedCallbackManager2.runPossibleCallbacks();};j.prototype.getResource=function(k){'use strict';return this.$KeyedCallbackManager1[k];};j.prototype.getAllResources=function(){'use strict';return this.$KeyedCallbackManager1;};j.prototype.dumpResources=function(){'use strict';var k={};for(var l in this.$KeyedCallbackManager1){var m=this.$KeyedCallbackManager1[l];if(typeof m==='object')m=babelHelpers._extends({},m);k[l]=m;}return k;};j.prototype.$KeyedCallbackManager3=function(k){'use strict';var l={};for(var m=0;m1?t-1:0),v=1;v1?t-1:0),v=1;v1?t-1:0),v=1;v1?t-1:0),v=1;vi.MAX_HISTORY)i.tail=i.tail.next;return q;}};function m(o){if(!i.categories[o]){i.categories[o]={};var p=function(q){var r={cat:o,type:q};i.categories[o][q]=function(){i.forwarding=false;var s=null;if(h.isValidDocumentDomain())return;s=i.logAction;if(j(location.pathname)){i.forwarding=false;}else try{s=b.top.require('JSLogger')._.logAction;i.forwarding=s!==i.logAction;}catch(t){}s&&s.apply(r,arguments);};};p('debug');p('log');p('warn');p('error');p('bump');p('rate');}return i.categories[o];}function n(o,p){var q=[];for(var r=p||i.tail;r;r=r.next)if(!o||o(r)){var s={type:r.type,cat:r.cat,date:r.date,event:r.event,seq:r.seq};if(r.data)s.data=JSON.parse(r.data);q.push(s);}return q;}f.exports={_:i,DUMP_EVENT:'jslogger/dump',create:m,getEntries:n};},null); __d('BanzaiODS',['Banzai','invariant'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();function j(){var l={},m={};function n(o,p,q,r){if(q===undefined)q=1;if(r===undefined)r=1;if(o in m)if(m[o]<=0){return;}else q/=m[o];var s=l[o]||(l[o]={}),t=s[p]||(s[p]=[0]);q=Number(q);r=Number(r);if(!isFinite(q)||!isFinite(r))return;t[0]+=q;if(arguments.length>=4){if(!t[1])t[1]=0;t[1]+=r;}}return {setEntitySample:function(o,p){m[o]=Math.random()=n){this.$ShortProfilesBootstrapper13();return this.$ShortProfilesBootstrapper2;}this.$ShortProfilesBootstrapper7++;this.$ShortProfilesBootstrapper14();this.$ShortProfilesBootstrapper6=new i(p).setHandler((function(s){this.$ShortProfilesBootstrapper6=null;this.$ShortProfilesBootstrapper5=true;this.$ShortProfilesBootstrapper15();this.$ShortProfilesBootstrapper1(s.payload);this.$ShortProfilesBootstrapper3();}).bind(this)).setErrorHandler((function(){this.$ShortProfilesBootstrapper6=null;this.$ShortProfilesBootstrapper8++;this.$ShortProfilesBootstrapper16();}).bind(this)).setTimeoutHandler(o,(function(){this.$ShortProfilesBootstrapper6=null;this.$ShortProfilesBootstrapper9++;this.$ShortProfilesBootstrapper17();}).bind(this)).setAllowCrossPageTransition(true);this.$ShortProfilesBootstrapper6.send();return this.$ShortProfilesBootstrapper2;};r.prototype.isBootstrapped=function(){return this.$ShortProfilesBootstrapper5;};r.prototype.isBootstrapping=function(){return !!this.$ShortProfilesBootstrapper6;};r.prototype.getAttemptCount=function(){return this.$ShortProfilesBootstrapper7;};r.prototype.getErrorCount=function(){return this.$ShortProfilesBootstrapper8;};r.prototype.getTimeoutCount=function(){return this.$ShortProfilesBootstrapper9;};r.prototype.$ShortProfilesBootstrapper12=function(){if(!this.$ShortProfilesBootstrapper10){q.log('bootstrap_start');j.bumpEntityKey('chat.web','typeahead.bootstrap.starts');this.$ShortProfilesBootstrapper10=true;}};r.prototype.$ShortProfilesBootstrapper14=function(){q.log('bootstrap_attempt');j.bumpEntityKey('chat.web','typeahead.bootstrap.attempts');};r.prototype.$ShortProfilesBootstrapper15=function(){q.log('bootstrap_success');j.bumpEntityKey('chat.web','typeahead.bootstrap.successes');if(this.$ShortProfilesBootstrapper7>1)j.bumpEntityKey('chat.web','typeahead.bootstrap.successes_after_retries');};r.prototype.$ShortProfilesBootstrapper16=function(){q.log('bootstrap_error');j.bumpEntityKey('chat.web','typeahead.bootstrap.errors');};r.prototype.$ShortProfilesBootstrapper17=function(){q.log('bootstrap_timeout');j.bumpEntityKey('chat.web','typeahead.bootstrap.timeouts');};r.prototype.$ShortProfilesBootstrapper13=function(){if(!this.$ShortProfilesBootstrapper11){q.log('bootstrap_giveup');j.bumpEntityKey('chat.web','typeahead.bootstrap.giveups');this.$ShortProfilesBootstrapper11=true;this.$ShortProfilesBootstrapper4();}};f.exports=r;},null); __d("XChatUserInfoAsyncController",["XController"],function a(b,c,d,e,f,g){c.__markCompiled&&c.__markCompiled();f.exports=c("XController").create("\/chat\/user_info\/",{ids:{type:"IntVector",defaultValue:[]}});},null); __d('ShortProfiles',['AjaxLoader','Arbiter','JSLogger','ShortProfilesBootstrapper','XChatUserInfoAsyncController'],function a(b,c,d,e,f,g,h,i,j,k,l){if(c.__markCompiled)c.__markCompiled();var m=null,n=new h(l.getURIBuilder().getURI().toString(),'profiles'),o={get:function(q,r){this.getMulti([q],function(s){r(s[q],q);});},getMulti:function(q,r){function s(t){r&&r(p(t));}n.get(q,s);},getNow:function(q){return p(n.getNow(q)||null);},getNowUnsafe:function(q){return n.getNow(q)||null;},getCachedProfileIDs:function(){return n.getCachedKeys();},hasAll:function(){return !!m&&m.isBootstrapped();},fetchAll:function(){if(!m)m=new k(function(q){n.set(q);});return m.fetchAll();},set:function(q,r){var s={};s[q]=r;this.setMulti(s);},setMulti:function(q){n.set(p(q));}};function p(q){return JSON.parse(JSON.stringify(q));}i.subscribe(j.DUMP_EVENT,function(q,r){var s=o.getCachedProfileIDs(),t=j.getEntries(function(u){return (u.cat=='short_profiles'||u.cat=='chat_typeahead');});r.chat_typeahead={bootstrapped:m&&m.isBootstrapped(),bootstrapping:m&&m.isBootstrapping(),bootstrap_attempts:m&&m.getAttemptCount(),bootstrap_errors:m&&m.getErrorCount(),bootstrap_timeouts:m&&m.getTimeoutCount(),entries:s,entry_count:s.length,history:t};});f.exports=o;},null); __d("str2rstr",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i){var j="",k,l;for(var m=0;m>>6&31,128|k&63);}else if(k<=65535){j+=String.fromCharCode(224|k>>>12&15,128|k>>>6&63,128|k&63);}else if(k<=2097151)j+=String.fromCharCode(240|k>>>18&7,128|k>>>12&63,128|k>>>6&63,128|k&63);}return j;}f.exports=h;},null); __d('destroyOnUnload',['Run'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j){h.onLeave(j);}f.exports=i;},null); __d('ActorURI',['ActorURIConfig','URI'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j={create:function(k,l){return new i(k).addQueryData(h.PARAMETER_ACTOR,l);}};j.PARAMETER_ACTOR=h.PARAMETER_ACTOR;f.exports=j;},null); __d("BanzaiScuba",["Banzai"],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i="scuba_sample";function j(m,n,o){this.fields={};this.post=function(p){if(!m)return;var q=babelHelpers._extends({},this.fields);q._ds=m;if(n)q._lid=n;q._options=o;h.post(i,q,p);this.post=function(){};this.posted=true;};this.lid=n;return this;}function k(m,n,o){if(!this.fields[m])this.fields[m]={};this.fields[m][n]=o;return this;}function l(m){return function(n,o){if(this.posted)return this;return k.call(this,m,n,o);};}Object.assign(j.prototype,{post:function(){},addNormal:l('normal'),addInteger:l('int'),addDenorm:l('denorm'),addTagset:l('tags'),addNormVector:l('normvector')});f.exports=j;},null); __d('JSResource',['Promise','Bootloader'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();function j(l){'use strict';this.$JSResourceReference1=l;}j.prototype.getModuleId=function(){'use strict';return this.$JSResourceReference1;};j.prototype.load=function(){'use strict';return new h((function(l){i.loadModules.call(i,[this.$JSResourceReference1],l);}).bind(this));};j.prototype.equals=function(l){'use strict';return this===l||this.$JSResourceReference1==l.$JSResourceReference1;};var k=function(l){return new j(l);};k.Reference=j;f.exports=k;},null); __d('ServerTime',['InitialServerTime'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();l(h.serverTime);var i;function j(){return Date.now()-i;}function k(){return i;}function l(m){i=Date.now()-m;}f.exports={getMillis:j,getOffsetMillis:k,update:l,get:j,getSkew:k};},null); __d("flattenArray",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(j){var k=[];i(j,k);return k;}function i(j,k){var l=j.length,m=0;while(l--){var n=j[m++];if(Array.isArray(n)){i(n,k);}else k.push(n);}}f.exports=h;},null); __d("getOwnObjectValues",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i){return Object.keys(i).map(function(j){return i[j];});}f.exports=h;},null); __d('getVendorPrefixedName',['ExecutionEnvironment','UserAgent','camelize','invariant'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l={},m=['Webkit','ms','Moz','O'],n=new RegExp('^('+m.join('|')+')'),o=h.canUseDOM?document.createElement('div').style:{};function p(s){for(var t=0;t= 315.14.2'))return 'WebkitLineClamp';return null;default:return null;}}function r(s){var t=j(s);if(l[t]===undefined){var u=t.charAt(0).toUpperCase()+t.slice(1);if(n.test(u))k(0);if(h.canUseDOM){l[t]=t in o?t:p(u);}else l[t]=q(t);}return l[t];}f.exports=r;},null); __d("nativeRequestAnimationFrame",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=b.requestAnimationFrame||b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame||b.oRequestAnimationFrame||b.msRequestAnimationFrame;f.exports=h;},null); __d('requestAnimationFramePolyfill',['emptyFunction','nativeRequestAnimationFrame'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j=0,k=i||function(l){var m=Date.now(),n=Math.max(0,16-(m-j));j=m+n;return b.setTimeout(function(){l(Date.now());},n);};k(h);f.exports=k;},null); __d('shield',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i,j){if(typeof i!='function')throw new TypeError('shield expects a function as the first argument');var k=Array.prototype.slice.call(arguments,2);return function(){return i.apply(j,k);};}f.exports=h;},null); __d('BrowserSupportCore',['getVendorPrefixedName'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i={hasCSSAnimations:function(){return !!h('animationName');},hasCSSTransforms:function(){return !!h('transform');},hasCSS3DTransforms:function(){return !!h('perspective');},hasCSSTransitions:function(){return !!h('transition');}};f.exports=i;},null); __d('CurrentLocale',['LocaleInitialData'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i={};i.get=function(){return h.locale;};f.exports=i;},null); __d('keyMirror',['invariant'],function a(b,c,d,e,f,g,h){'use strict';if(c.__markCompiled)c.__markCompiled();var i=function(j){var k={},l;!(j instanceof Object&&!Array.isArray(j))?h(0):undefined;for(l in j){if(!j.hasOwnProperty(l))continue;k[l]=l;}return k;};f.exports=i;},null); __d("keyOf",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=function(i){var j;for(j in i){if(!i.hasOwnProperty(j))continue;return j;}return null;};f.exports=h;},null); __d('ifRequired',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i,j,k){typeof k==='function'&&k();}f.exports=h;},null); __d('requireWeak',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i,j){if(Object.prototype.toString.call(i)==='[object Array]'){if(i.length!==1)throw new Error('requireWeak only supports a one-arg array for push safety');i=i[0];}e.call(null,[i],j);}f.exports=h;},null); __d('JSXDOM',['DOM','flattenArray'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j=['a','blockquote','br','button','canvas','checkbox','dd','div','dl','dt','em','form','h1','h2','h3','h4','h5','h6','hr','i','iframe','img','input','label','li','option','p','pre','select','span','strong','table','tbody','thead','td','textarea','th','tr','ul','video'],k={};j.forEach(function(l){var m=function(n,o){if(arguments.length>2)o=Array.prototype.slice.call(arguments,1);if(!o&&n){o=n.children;delete n.children;}if(o)o=Array.isArray(o)?i(o):i([o]);return h.create(l,n,o);};k[l]=m;});f.exports=k;},null); __d('clearTimeout',['TimerStorage'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i=b.clearTimeout.nativeBackup||b.clearTimeout;f.exports=function(){for(var j=arguments.length,k=Array(j),l=0;l=32||j===13)return j;return 0;}f.exports=h;},null); __d('SearchI18nArabic',[],function a(b,c,d,e,f,g){'use strict';if(c.__markCompiled)c.__markCompiled();var h=/[\u0600-\u06FF]/;function i(o){return h.test(o);}var j={1570:1575,1571:1575,1573:1575,1649:1575,1609:1610,1577:1607,1572:1569,1574:1569},k=[1600,1611,1612,1613,1614,1615,1616,1617,1618];function l(o){return j.hasOwnProperty(o)?String.fromCharCode(j[o]):k.indexOf(o)!=-1?'':String.fromCharCode(o);}function m(o){if(!i(o))return o;var p=[];for(var q=0;q0?String.fromCharCode(q+da):'');}function z(ba){if(!i(ba))return ba;var ca=[];for(var da=0;daq[1]?la:la+s);}function ga(ka){if(!ca(ka))return ka;return ka.split('').map(fa).join('');}function ha(ka){ba=ba||new RegExp('^'+'['+p+']+'+'['+j+']'+'$');return ba.test(ka);}function ia(ka){if(ha(ka))return ka.substr(0,ka.length-1);return ka;}var ja={hasKana:ca,hasIdeograph:da,hasIdeoOrSyll:ea,hiraganaToKatakana:ga,isKanaWithTrailingLatin:ha,kanaRemoveTrailingLatin:ia};f.exports=ja;},null); __d('SearchI18nMatch',['UnicodeHangulKorean','UnicodeCJK','SearchI18nArabic','invariant','createObjectFrom','mapObject'],function a(b,c,d,e,f,g,h,i,j,k,l,m){'use strict';if(c.__markCompiled)c.__markCompiled();var n=['prefix_hangul_conjoining_jamo','prefix_kana_drop_trailing_latin','prefix_kana_hiragana_to_katakana','search_i18n_prefix_arabic_normalization'];function o(p){this.config=l(n,false);this.setConfigs(p||{});}o.prototype.setConfigs=function(p){m(p,(function(q,r){return this.setConfig(r,q);}).bind(this),this);};o.prototype.setConfig=function(p,q){!(p in this.config)?k(0):undefined;this.config[p]=q;};o.prototype.prefixMatchPrepare=function(p){if(p){if(this.config.prefix_hangul_conjoining_jamo)p=h.toConjoiningJamo(p);if(this.config.prefix_kana_drop_trailing_latin)p=i.kanaRemoveTrailingLatin(p);if(this.config.prefix_kana_hiragana_to_katakana)p=i.hiraganaToKatakana(p);if(this.config.search_i18n_prefix_arabic_normalization)p=j.arabicNormalization(p);}return p;};o.prototype.prefixMatch=function(p,q){p=this.prefixMatchPrepare(p);q=this.prefixMatchPrepare(q);return p.startsWith(q);};f.exports=o;},null); __d('SubscriptionsHandler',['invariant'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(l){return l.remove||l.reset||l.unsubscribe||l.cancel;}function j(l){var m=i(l);m.call(l);}function k(){'use strict';this._subscriptions=[];}k.prototype.addSubscriptions=function(){'use strict';for(var l=arguments.length,m=Array(l),n=0;n_:;'+'\u30fb\u3001\u3002\u3008-\u3011\u3014-\u301f\uff1a-\uff1f\uff01-\uff0f'+'\uff3b-\uff40\uff5b-\uff65\u2E2E\u061f\u066a-\u066c\u061b\u060c\u060d'+'\uFD3e\uFD3F\u1801\u0964\u104a\u104b\u2010-\u2027\u2030-\u205e'+'\u00a1-\u00b1\u00b4-\u00b8\u00ba\u00bb\u00bf]';}var l={},m={a:"\u0430 \u00e0 \u00e1 \u00e2 \u00e3 \u00e4 \u00e5 \u0101",b:"\u0431",c:"\u0446 \u00e7 \u010d",d:"\u0434 \u00f0 \u010f \u0111",e:"\u044d \u0435 \u00e8 \u00e9 \u00ea \u00eb \u011b \u0113",f:"\u0444",g:"\u0433 \u011f \u0123",h:"\u0445 \u0127",i:"\u0438 \u00ec \u00ed \u00ee \u00ef \u0131 \u012b",j:"\u0439",k:"\u043a \u0138 \u0137",l:"\u043b \u013e \u013a \u0140 \u0142 \u013c",m:"\u043c",n:"\u043d \u00f1 \u0148 \u0149 \u014b \u0146",o:"\u043e \u00f8 \u00f6 \u00f5 \u00f4 \u00f3 \u00f2",p:"\u043f",r:"\u0440 \u0159 \u0155",s:"\u0441 \u015f \u0161 \u017f",t:"\u0442 \u0165 \u0167 \u00fe",u:"\u0443 \u044e \u00fc \u00fb \u00fa \u00f9 \u016f \u016b",v:"\u0432",y:"\u044b \u00ff \u00fd",z:"\u0437 \u017e",ae:"\u00e6",oe:"\u0153",ts:"\u0446",ch:"\u0447",ij:"\u0133",sh:"\u0448",ss:"\u00df",ya:"\u044f"};for(var n in m){var o=m[n].split(' ');for(var p=0;p0)j.addClass(u,r);}};f.exports=t;},null); __d('Nectar',['Env','getContextualParent'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();function j(m){if(!m.nctr)m.nctr={};}function k(m){if(h.module||!m)return h.module;var n={fbpage_fan_confirm:true,photos_snowlift:true},o;while(m&&m.getAttribute){var p=m.getAttribute('id');if(p!=null&&p.startsWith('pagelet_'))return p;if(!o&&n[p])o=p;m=i(m);}return o;}var l={addModuleData:function(m,n){var o=k(n);if(o){j(m);m.nctr._mod=o;}},addImpressionID:function(m){if(h.impid){j(m);m.nctr._impid=h.impid;}}};f.exports=l;},null); __d('ARIA',['DOM','emptyFunction','ge','getOrCreateDOMID'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l,m,n=function(){l=j('ariaAssertiveAlert');if(!l){l=h.create('div',{id:'ariaAssertiveAlert',className:'accessible_elem','aria-live':'assertive'});h.appendContent(document.body,l);}m=j('ariaPoliteAlert');if(!m){m=l.cloneNode(false);m.setAttribute('id','ariaPoliteAlert');m.setAttribute('aria-live','polite');h.appendContent(document.body,m);}n=i;};function o(q,r){n();var s=r?l:m;h.setContent(s,q);}var p={owns:function(q,r){q.setAttribute('aria-owns',k(r));},setPopup:function(q,r){var s=k(r);q.setAttribute('aria-owns',s);q.setAttribute('aria-haspopup','true');if(q.tabIndex==-1)q.tabIndex=0;},announce:function(q){o(q,true);},notify:function(q){o(q);}};f.exports=p;},null); __d('AsyncRequestNectarLogging',['AsyncRequest','Nectar'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();Object.assign(h.prototype,{setNectarModuleData:function(j){if(this.method=='POST')i.addModuleData(this.data,j);},setNectarImpressionId:function(){if(this.method=='POST')i.addImpressionID(this.data);}});},null); __d('BrowserSupport',['BrowserSupportCore','ExecutionEnvironment','UserAgent_DEPRECATED','memoize','getVendorPrefixedName'],function a(b,c,d,e,f,g,h,i,j,k,l){if(c.__markCompiled)c.__markCompiled();var m=i.canUseDOM?document.createElement('div'):null,n={hasCSSAnimations:h.hasCSSAnimations,hasCSSTransforms:h.hasCSSTransforms,hasCSS3DTransforms:h.hasCSS3DTransforms,hasCSSTransitions:h.hasCSSTransitions,hasPositionSticky:k(function(){if(!i.canUseDOM)return false;m.style.cssText='position:-moz-sticky;position:-webkit-sticky;'+'position:-o-sticky;position:-ms-sticky;position:sticky;';return (/sticky/.test(m.style.position));}),hasPointerEvents:k(function(){if(!i.canUseDOM)return false;if(!('pointerEvents' in m.style))return false;m.style.cssText='pointer-events:auto';return m.style.pointerEvents==='auto';}),hasFileAPI:k(function(){return (!(j.webkit()&&!j.chrome()&&j.windows())&&'FileList' in window&&'FormData' in window);}),hasBlobFactory:k(function(){return !!b.blob;}),getTransitionEndEvent:k(function(){var o={transition:'transitionend',WebkitTransition:'webkitTransitionEnd',MozTransition:'mozTransitionEnd',OTransition:'oTransitionEnd'},p=l('transition');return o[p]||null;}),hasClipboardEvents:k(function(){if(!i.canUseDOM)return false;var o=document.createElement('textarea'),p='oncut',q=(p in o);if(!q){o.setAttribute(p,'return;');q=typeof o[p]=='function';}return q;}),hasCanvasRenderingContext2D:function(){return !!window.CanvasRenderingContext2D;}};f.exports=n;},null); __d('DataSource',['ArbiterMixin','AsyncRequest','TokenizeUtil','SearchI18nMatch','createArrayFromMixed','createObjectFrom','emptyFunction','mixin','str2rstr'],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;q=babelHelpers.inherits(s,o(h));r=q&&q.prototype;function s(t){'use strict';r.constructor.call(this);this._maxResults=t.maxResults||10;this.token=t.token;this.queryData=t.queryData||{};this.queryEndpoint=t.queryEndpoint||'';this.bootstrapData=t.bootstrapData||{};this.bootstrapEndpoint=t.bootstrapEndpoint||'';this._indexedFields=t.indexedFields||['text','tokens'];this._titleFields=t.titleFields||[];this._alwaysPrefixMatch=t.alwaysPrefixMatch||false;this._deduplicationKey=t.deduplicationKey||null;this._enabledLocalCache=t.enabledLocalCache!=null?t.enabledLocalCache:true;this._enabledQueryCache=t.enabledQueryCache!=null?t.enabledQueryCache:true;this._disableAllCaches=t.disableAllCaches!=null?t.disableAllCaches:false;this._enabledMergeUids=t.enabledMergeUids!=null?t.enabledMergeUids:false;this._queryExactMatch=t.queryExactMatch||false;this._acrossTransitions=t.acrossTransitions||false;this._minQueryLength=t.minQueryLength||-1;this._enforceNewRequestIDUponFetch=t.enforceNewRequestIDUponFetch||false;this._minExactMatchLength=4;this._filters=[];this._headerflags=t.headerflags||{};this.setExclusions(t.exclusions);this.backendUnicodeMatch=new k({prefix_kana_hiragana_to_katakana:!!t.kanaNormalization});this.cacheUnicodeMatch=new k({prefix_kana_hiragana_to_katakana:!!t.kanaNormalization});}s.prototype.init=function(){'use strict';this.init=n;this._fields=m(this._indexedFields);this._activeQueries=0;this.dirty();};s.prototype.dirty=function(){'use strict';this.value='';this._bootstrapped=false;this._bootstrapping=false;this._data={};this.localCache={};this.queryCache={};this.queryIDs={};this.inform('dirty',{});return this;};s.prototype.bootstrap=function(){'use strict';var t=arguments.length<=0||arguments[0]===undefined?false:arguments[0];if(this._bootstrapped&&!t)return;this.bootstrapWithoutToken();this._bootstrapped=true;this._bootstrapping=true;this.inform('bootstrap',{bootstrapping:true});};s.prototype.bootstrapWithoutToken=function(){'use strict';this.fetch(this.bootstrapEndpoint,this.bootstrapData,{bootstrap:true,token:this.token});};s.prototype.bootstrapWithToken=function(){'use strict';var t=babelHelpers._extends({},this.bootstrapData);t.token=this.token;this.fetch(this.bootstrapEndpoint,t,{bootstrap:true,replaceCache:true,value:''});};s.prototype.query=function(t,u,v,w,x){'use strict';this.inform('beforeQuery',babelHelpers._extends({value:t,local_only:u,exclusions:v,time_waited:w},x));var y=Date.now();if(this._disableAllCaches){this.dirty();if(!t){this.bootstrap();return true;}}else if(!this._enabledQueryCache){this.queryCache={};this.queryIDs={};}var z=this.buildUids(t,[],v),aa=this.respond(t,z);this.value=t;this.inform('query',babelHelpers._extends({value:t,results:aa},x));var ba=this.tokenizeBackend(t).flatValue;if(u||!ba||this._isQueryTooShort(ba)||!this.queryEndpoint||this.getQueryCache().hasOwnProperty(ba)||!this.shouldFetchMoreResults(aa)){this.inform('logPerformanceTiming',babelHelpers._extends({field:'cache_keypress_render',value:Date.now()-y},x));this.inform('completeCacheFetch');return false;}this.inform('queryEndpoint',babelHelpers._extends({value:t},x));this.fetch(this.queryEndpoint,this.getQueryData(t,z),babelHelpers._extends({value:t,exclusions:v},x));return true;};s.prototype._isQueryTooShort=function(t){'use strict';return t.length0){y=u.splice(w,1)[0];u.unshift(y);u.map(function(z,aa){z.index=aa;});}}};s.prototype.getUniqueID=function(){'use strict';var t='_'+Math.random().toString(36).substr(2,9);while(this._data[t]!==undefined)t='_'+Math.random().toString(36).substr(2,9);return t;};s.prototype.fetch=function(t,u,v){'use strict';if(!t)return;if(this._enforceNewRequestIDUponFetch||u.request_id===undefined){u.request_id=this._guid();v.request_id=u.request_id;}var w=new i().setURI(t).setData(u).setMethod('GET').setReadOnly(true).setAllowCrossPageTransition(this._acrossTransitions).setHandler((function(y){this.fetchHandler(y,v||{});}).bind(this));if(t===this.queryEndpoint){for(var x in this._headerflags)if(this._headerflags.hasOwnProperty(x))w.setRequestHeader(x,this._headerflags[x]);w.setFinallyHandler((function(){this._activeQueries--;if(!this._activeQueries)this.inform('activity',{activity:false});}).bind(this));}w.setErrorHandler((function(y){return this.asyncErrorHandler(y,v);}).bind(this));this.inform('beforeFetch',{request:w,fetch_context:v});w.send();if(t===this.queryEndpoint){if(!this._activeQueries)this.inform('activity',{activity:true});this._activeQueries++;}};s.prototype.fetchHandler=function(t,u){'use strict';var v=u.value,w=u.exclusions;if(t.getPayload().requestID!==undefined)u.request_id=t.getPayload().requestID;var x=this.getQueryIDs(),y=this.tokenizeBackend(v||'').flatValue;x[y]=u.request_id;if(!v&&u.replaceCache)this.localCache={};this.inform('buildQueryCache',{});var z=t.getPayload().entries;this.addEntries(z,v);this.inform('fetchComplete',{entries:z,response:t,value:v,fetch_context:u});var aa=!v&&this.value?this.value:v;this.respond(aa,this.buildUids(aa,[],w),true);if(!v){if(this._bootstrapping){this._bootstrapping=false;this.inform('bootstrap',{bootstrapping:false});}if(u.token&&t.getPayload().token!==u.token)this.bootstrapWithToken();}};s.prototype.addEntries=function(t,u){'use strict';var v=this.processEntries(l(t||[]),u),w=v;if(this._enabledMergeUids)w=this.buildUids(u,v);if(u){var x=this.getQueryCache(),y=this.tokenizeBackend(u).flatValue;x[y]=w;}else this.fillCache(w);return v;};s.prototype.processEntries=function(t,u){'use strict';return t.map(function(v,w){var x=v.uid=v.uid+'',y=this.getEntry(x);if(!y){y=v;y.query=u;y.bootstrapped=!u;this.setEntry(x,y);}else Object.assign(y,v);this.processEntry(y,u);y.index===undefined&&(y.index=w);return x;},this);};s.prototype.processEntry=function(t,u){'use strict';};s.prototype.getAllEntries=function(){'use strict';return this._data||{};};s.prototype.getEntry=function(t){'use strict';return this._data[t]||null;};s.prototype.setEntry=function(t,u){'use strict';this._data[t]=u;};s.prototype.fillCache=function(t){'use strict';if(!this._enabledLocalCache)return;var u=this.localCache;t.forEach(function(v){var w=this.getEntry(v);if(!w)return;var x=this.tokenizeCache(this.getTextToIndex(w)).tokens;for(var y=0,z=x.length;y=this._maxResults){var y=u.splice(w,1)[0];u.splice(this._maxResults-1,0,y);}break;}}return u;};s.prototype.buildData=function(t){'use strict';var u=[],v=Math.min(t.length,this._maxResults);for(var w=0;wv){v=x.length;w=x;}return w;};s.prototype.findQueryCache=function(t){'use strict';var u=this.findBestPreviousQuery(t,this.getQueryCache());return this.getQueryCache()[u]||[];};s.prototype.buildQueryResults=function(t){'use strict';var u=this.tokenizeBackend(t).flatValue,v=this.findQueryCache(u);if(this.getQueryCache().hasOwnProperty(u))return v;var w=this.filterQueryResults(u,v);return w;};s.prototype.filterQueryResults=function(t,u){'use strict';var v=this._alwaysPrefixMatch?j.isPrefixMatch:j.isQueryMatch;return u.filter(function(w){return v(t,this.getTextToIndex(this.getEntry(w)));},this);};s.prototype.buildCacheResults=function(t,u){'use strict';var v=this.tokenizeCache(t,this._alwaysPrefixMatch),w=this._alwaysPrefixMatch?v.sortedTokens:v.tokens,x=w.length,y=v.isPrefixQuery?x-1:null,z={},aa={},ba={},ca=[],da=false,ea={},fa=0;for(var ga=0;ga0)ca=this.filterNonTitleMatchQueryResults(t,ca);return ca;};s.prototype.filterNonTitleMatchQueryResults=function(t,u){'use strict';return u.filter(function(v){var w=this.tokenizeCache(t),x=w.tokens.length;if(x===0)return true;var y=this.getTitleTerms(this.getEntry(v)),z=w.tokens[0];return x===1||this._alwaysPrefixMatch?j.isPrefixMatch(z,y)||this.cacheUnicodeMatch.prefixMatch(y,z):j.isQueryMatch(z,y);},this);};s.prototype.getTitleTerms=function(t){'use strict';if(!t.titleToIndex)t.titleToIndex=this.getTextToIndexFromFields(t,this._titleFields);return t.titleToIndex;};s.prototype.deduplicateByKey=function(t){'use strict';if(!this._deduplicationKey)return t;var u=m(t.map(this._getDeduplicationKey.bind(this)),t);return t.filter((function(v){return u[this._getDeduplicationKey(v)]==v;}).bind(this));};s.prototype._getDeduplicationKey=function(t){'use strict';var u=this.getEntry(t);if(u[this._deduplicationKey]){return u[this._deduplicationKey]+'';}else return '__'+t+'__';};s.prototype.getQueryCache=function(){'use strict';return this.queryCache;};s.prototype.getQueryIDs=function(){'use strict';return this.queryIDs;};s.prototype.setMaxResults=function(t){'use strict';this._maxResults=t;this.value&&this.respond(this.value,this.buildUids(this.value));};s.prototype.getMaxResults=function(){'use strict';return this._maxResults;};s.prototype.updateToken=function(t){'use strict';this.token=t;this.dirty();return this;};s.prototype._guid=function(){'use strict';var t=Date.now(),u='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(v){var w=Math.floor((t+Math.random()*16)%16);t=Math.floor(t/16);var x=(v=='x'?w:w&7|8).toString(16);return x;});return u;};Object.assign(s.prototype,{events:['bootstrap','query','respond'],asyncErrorHandler:n});f.exports=s;},null); __d('LiveTimer',['CSS','DOM','ServerTime','fbt','csx','cx'],function a(b,c,d,e,f,g,h,i,j,k,l,m){if(c.__markCompiled)c.__markCompiled();var n=1000,o=60,p=3600,q=43200,r=86400,s=60,t=60000,u={restart:function(v){j.update(v*1000);this.updateTimeStamps();},getApproximateServerTime:function(){return j.get();},getServerTimeOffset:function(){return -1*j.getSkew();},updateTimeStamps:function(){this.timestamps=i.scry(document.body,'abbr.livetimestamp');this.startLoop(t);},addTimeStamps:function(v){if(!v)return;this.timestamps=this.timestamps||[];if(i.isNodeOfType(v,'abbr')&&h.hasClass(v,'livetimestamp')){this.timestamps.push(v);}else{var w=i.scry(v,'abbr.livetimestamp');for(var x=0;x-1)this.timestamps.splice(w,1);},startLoop:function(v){this.stop();this.timeout=setTimeout((function(){this.loop();}).bind(this),v);},stop:function(){clearTimeout(this.timeout);},loop:function(v){if(v)this.updateTimeStamps();var w=Math.floor(j.get()/n),x=-1;this.timestamps&&this.timestamps.forEach((function(z){var aa=z.getAttribute('data-utime'),ba=z.getAttribute('data-shorten'),ca=z.getAttribute('data-minimize'),da=this.renderRelativeTime(w,aa,ba,ca);if(da.text){var ea={'class':"timestampContent"},fa=i.scry(z,".timestampContent")[0],ga=fa&&fa.getAttribute('id');if(ga)ea.id=ga;i.setContent(z,i.create('span',ea,da.text));}if(da.next!=-1&&(da.nextr)return z;var aa=v-w,ba=Math.floor(aa/o),ca=Math.floor(ba/s);if(ba<1){if(y){z.text=k._("1m");z.next=20-aa%20;}else if(x){z.text=k._("Just now");z.next=20-aa%20;}else{z.text=k._("a few seconds ago");z.next=o-aa%o;}return z;}if(ca<1){if(y){z.text=k._({"*":"{number}m"},[k.param('number',ba,[0])]);}else if(x&&ba==1){z.text=k._("1 min");}else if(x){z.text=k._({"*":"{number} mins"},[k.param('number',ba,[0])]);}else z.text=ba==1?k._("about a minute ago"):k._({"*":"{number} minutes ago"},[k.param('number',ba,[0])]);z.next=o-aa%o;return z;}if(ca<11)z.next=p-aa%p;if(y){z.text=k._({"*":"{number}h"},[k.param('number',ca,[0])]);}else if(x&&ca==1){z.text=k._("1 hr");}else if(x){z.text=k._({"*":"{number} hrs"},[k.param('number',ca,[0])]);}else z.text=ca==1?k._("about an hour ago"):k._({"*":"{number} hours ago"},[k.param('number',ca,[0])]);return z;},renderRelativeTimeToServer:function(v,w,x){return this.renderRelativeTime(Math.floor(j.get()/n),v,w,x);}};f.exports=u;f.exports.CONSTS={MS_IN_SEC:n,SEC_IN_MIN:o,SEC_IN_HOUR:p,SEC_IN_12_HOUR:q,SEC_IN_24_HOUR:r,MIN_IN_HOUR:s,HEARTBEAT:t};},null); __d('MultiBootstrapDataSource',['DataSource'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i,j;i=babelHelpers.inherits(k,h);j=i&&i.prototype;function k(l){'use strict';j.constructor.call(this,l);this._bootstrapEndpoints=l.bootstrapEndpoints;}k.prototype.bootstrapWithoutToken=function(){'use strict';for(var l=0;l=k.r&&l.t<=k.t&&l.b>=k.b;};j.prototype.isEqualTo=function(k){'use strict';return (this.t===k.t&&this.r===k.r&&this.b===k.b&&this.l===k.l&&this.domain===k.domain);};j.prototype.add=function(k,l){'use strict';if(arguments.length==1){if(k.domain!='pure')k=k.convertTo(this.domain);return this.add(k.x,k.y);}var m=parseFloat(k),n=parseFloat(l);return new j(this.t+n,this.r+m,this.b+n,this.l+m,this.domain);};j.prototype.sub=function(k,l){'use strict';if(arguments.length==1){return this.add(k.mul(-1));}else return this.add(-k,-l);};j.prototype.rotateAroundOrigin=function(k){'use strict';var l=this.getCenter().rotate(k*Math.PI/2),m,n;if(k%2){m=this.h();n=this.w();}else{m=this.w();n=this.h();}var o=l.y-n/2,p=l.x-m/2,q=o+n,r=p+m;return new j(o,r,q,p,this.domain);};j.prototype.boundWithin=function(k){'use strict';var l=0,m=0;if(this.lk.r)l=k.r-this.r;if(this.tk.b)m=k.b-this.b;return this.add(l,m);};j.prototype.getCenter=function(){'use strict';return new h(this.l+this.w()/2,this.t+this.h()/2,this.domain);};j.prototype.getTop=function(){'use strict';return this.t;};j.prototype.getLeft=function(){'use strict';return this.l;};j.prototype.getPositionVector=function(){'use strict';return new h(this.l,this.t,this.domain);};j.prototype.getDimensionVector=function(){'use strict';return new h(this.w(),this.h(),'pure');};j.prototype.convertTo=function(k){'use strict';if(this.domain==k)return this;if(k=='pure')return new j(this.t,this.r,this.b,this.l,'pure');if(this.domain=='pure')return new j(0,0,0,0);var l=new h(this.l,this.t,this.domain).convertTo(k);return new j(l.y,l.x+this.w(),l.y+this.h(),l.x,k);};j.deserialize=function(k){'use strict';var l=k.split(':');return new j(parseFloat(l[1]),parseFloat(l[2]),parseFloat(l[3]),parseFloat(l[0]));};j.newFromVectors=function(k,l){'use strict';return new j(k.y,k.x+l.x,k.y+l.y,k.x,k.domain);};j.getElementBounds=function(k){'use strict';return j.newFromVectors(h.getElementPosition(k),h.getElementDimensions(k));};j.getViewportBounds=function(){'use strict';return j.newFromVectors(h.getScrollPosition(),h.getViewportDimensions());};j.getViewportWithoutScrollbarsBounds=function(){'use strict';return j.newFromVectors(h.getScrollPosition(),h.getViewportWithoutScrollbarDimensions());};j.minimumBoundingBox=function(k){'use strict';var l=new j(Math.min(),Math.max(),Math.max(),Math.min()),m;for(var n=0;n0||m.tabIndex===0&&m.getAttribute('tabIndex')!==null)return true;switch(m.tagName){case "A":return m.href&&m.rel!="ignore";case "INPUT":return m.type!="hidden"&&m.type!="file"&&!m.disabled;case "BUTTON":case "SELECT":case "TEXTAREA":return !m.disabled;}return false;}function k(m){if(m.offsetHeight===0&&m.offsetWidth===0)return false;while(m!==document&&h.get(m,'visibility')!='hidden')m=m.parentNode;return m===document;}var l={find:function(m){var n=i(m.getElementsByTagName("*"));return n.filter(l.isTabbable);},isTabbable:function(m){return j(m)&&k(m);}};f.exports=l;},null); __d('TidyArbiterMixin',['Arbiter','ArbiterMixin','Run'],function a(b,c,d,e,f,g,h,i,j){if(c.__markCompiled)c.__markCompiled();var k={};Object.assign(k,i,{_getArbiterInstance:function(){if(!this._arbiter){this._arbiter=new h();j.onLeave((function(){delete this._arbiter;}).bind(this));}return this._arbiter;}});f.exports=k;},null); __d('tidyEvent',['Run'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i=[];function j(){while(i.length){var m=i.shift();m&&m.remove?m.remove():m.unsubscribe();}}function k(m){var n;function o(){if(!n)return;n.apply(m,arguments);n=null;m=null;}if(m.remove){n=m.remove;m.remove=o;}else{n=m.unsubscribe;m.unsubscribe=o;}return m;}function l(m){if(!i.length)h.onLeave(j);if(Array.isArray(m)){for(var n=0;nk){n=m;if(!q)s=m;if(x>=(r||j)){o=true;p=m;}h.inform('useractivity/activity',{event:event,idleness:x,last_inform:n});}else if(x= 10.8')&&h.isBrowser('Safari >= 6.0');return i;}f.exports=j;},null); __d('goOrReplace',['URI'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j,k,l){var m=new h(k),n=b.Quickling;if(j.pathname=='/'&&m.getPath()!='/'&&n&&n.isActive()&&n.isPageActive(m)){var o=j.search?{}:{q:''};m=new h().setPath('/').setQueryData(o).setFragment(m.getUnqualifiedURI().toString());k=m.toString();}if(l){j.replace(k);}else if(j.href==k){j.reload();}else j.href=k;}f.exports=i;},null); __d('nl2br',['DOM'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i=/(\r\n|[\r\n])/;function j(k){return k.split(i).map(function(l){return i.test(l)?h.create('br'):l;});}f.exports=j;},null); __d('queryThenMutateDOM',['Run','emptyFunction','requestAnimationFrame'],function a(b,c,d,e,f,g,h,i,j){if(c.__markCompiled)c.__markCompiled();var k,l,m={},n=[],o=[];function p(s,t,u){if(!s&&!t)return;if(u&&m.hasOwnProperty(u)){return;}else if(u)m[u]=1;n.push(t||i);o.push(s||i);r();if(!k){k=true;h.onLeave(function(){k=false;l=false;m={};n.length=0;o.length=0;});}}p.prepare=function(s,t,u){return function(){for(var v=arguments.length,w=Array(v),x=0;x-1)m.splice(p,1);this._eventHandler.remove();this._eventHandler=null;}};o.prototype._tabHandler=function(p){'use strict';if(i.getKeyCode(p)!==k.TAB)return;var q=p.getTarget();if(!q)return;var r=l.find(this._root),s=r[0],t=r[r.length-1],u=p.getModifiers().shift;if(u&&q===s){p.preventDefault();j.set(t);}else if(!u&&q===t||!h.contains(this._root,q)){p.preventDefault();j.set(s);}};f.exports=o;},null); __d('UITinyViewportAction',['Arbiter','ArbiterMixin','BanzaiScuba','CSS','Event','getDocumentScrollElement','queryThenMutateDOM'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n){if(c.__markCompiled)c.__markCompiled();var o=document.documentElement,p,q,r,s,t=false,u=false,v=false,w=false,x={init:function(y){var z=n.bind(null,function(){s=s||m();q=o.clientWidth0){u.set(qa,'width',gb-hb+'px');}else if(db==='right'&&hb+qa.offsetWidth>0){u.set(qa,'width',hb+qa.offsetWidth+'px');}else u.set(qa,'width','');u.set(qa,'top',ya+ra.getOffsetY()+'px');var ib=ca(oa,this.getInsertParent());u.set(qa,'z-index',ib>200?ib:'');this.inform('reposition',ra);return true;};ja.prototype._updateWrapperPosition=function(oa){'use strict';var pa=oa.getPosition()==='above';u.set(this._contentWrapper,'bottom',pa?'0':null);var qa=q.isRTL()?'left':'right',ra=ia(oa);u.set(this._contentWrapper,qa,ra?'0':null);};ja.prototype._updateWrapperClass=function(oa){'use strict';var pa=oa.getClassName();if(pa===this._orientationClass)return;if(this._orientationClass)k.removeClass(this._contentWrapper,this._orientationClass);this._orientationClass=pa;k.addClass(this._contentWrapper,pa);};ja.prototype.simulateOrientation=function(oa,pa){'use strict';var qa=oa.getClassName();if(qa===this._orientationClass){return pa();}else{if(this._orientationClass)k.removeClass(this._contentWrapper,this._orientationClass);k.addClass(this._contentWrapper,qa);var ra=pa();k.removeClass(this._contentWrapper,qa);if(this._orientationClass)k.addClass(this._contentWrapper,this._orientationClass);return ra;}};ja.prototype.destroy=function(){'use strict';ha.destroy.call(this);this._contentWrapper=null;this._content=null;return this;};ja.prototype.getArrowDimensions=function(){'use strict';return this._config.arrowDimensions||{offset:0,length:0};};ja.getDefaultBehaviorsAsObject=function(){'use strict';return {LayerHideOnTransition:p};};function ja(){'use strict';ga.apply(this,arguments);}var ka=[];h.subscribe('reflow',function(){ka.forEach(function(oa){if(oa.updatePosition()===false)oa.hide();});});Object.assign(ja.prototype,{_contentWrapper:null,_content:null,_contextNode:null,_contextBounds:null,_contextSelector:null,_parentLayer:null,_parentSubscription:null,_orientation:null,_orientationClass:null,_shouldSetARIAProperties:true});var la=z.thatReturnsArgument,ma=z.thatReturnsArgument;function na(){'use strict';this._default={_position:'above',_alignment:'left',_offsetX:0,_offsetY:0,_valid:true};this.reset();}na.prototype.setPosition=function(oa){'use strict';this._position=la(oa);return this;};na.prototype.setAlignment=function(oa){'use strict';this._alignment=ma(oa);return this;};na.prototype.getOppositePosition=function(){'use strict';return na.OPPOSITE[this.getPosition()];};na.prototype.invalidate=function(){'use strict';this._valid=false;return this;};na.prototype.getPosition=function(){'use strict';return this._position||'above';};na.prototype.getAlignment=function(){'use strict';return this._alignment||'left';};na.prototype.getOffsetX=function(){'use strict';var oa=this._offsetX||0;if(!this.isVertical()){if(this._default._position!==this._position)oa*=-1;}else if(this._default._alignment!==this._alignment)oa*=-1;return oa;};na.prototype.getOffsetY=function(){'use strict';var oa=this._offsetY||0;if(this.isVertical()&&this._default._position!==this._position)oa*=-1;return oa;};na.prototype.getClassName=function(){'use strict';var oa=this.getAlignment(),pa=this.getPosition();if(pa==='below'){if(oa==='left'){return 'uiContextualLayerBelowLeft';}else if(oa==='right'){return 'uiContextualLayerBelowRight';}else return 'uiContextualLayerBelowCenter';}else if(pa==='above'){if(oa==='left'){return 'uiContextualLayerAboveLeft';}else if(oa==='right'){return 'uiContextualLayerAboveRight';}else return 'uiContextualLayerAboveCenter';}else if(pa==='left'){return 'uiContextualLayerLeft';}else return 'uiContextualLayerRight';};na.prototype.isValid=function(){'use strict';return this._valid;};na.prototype.isVertical=function(){'use strict';return this.getPosition()==='above'||this.getPosition()==='below';};na.prototype.reset=function(){'use strict';Object.assign(this,this._default);return this;};na.prototype.setDefaultPosition=function(oa){'use strict';var pa=this._default._position;this._default._position=la(oa);return pa!==oa;};na.prototype.setDefaultAlignment=function(oa){'use strict';var pa=this._default._alignment;this._default._alignment=ma(oa);return pa!==oa;};na.prototype.setDefaultOffsetX=function(oa){'use strict';var pa=this._default._offsetX;this._default._offsetX=oa;return pa!==oa;};na.prototype.setArrowOffset=function(oa){'use strict';var pa=this._default._arrowOffset;this._default._arrowOffset=oa;return pa!==oa;};na.prototype.getArrowOffset=function(){'use strict';return this._default._arrowOffset||0;};na.prototype.setDefaultOffsetY=function(oa){'use strict';var pa=this._default._offsetY;this._default._offsetY=oa;return pa!==oa;};na.OPPOSITE={above:'below',below:'above',left:'right',right:'left'};f.exports=ja;},null); __d('ContextualLayerDimensions',['DOM','Locale','Rect','Vector','ViewportBounds','ge','getOverlayZIndex'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n){if(c.__markCompiled)c.__markCompiled();var o={getViewportRect:function(p){var q=m('globalContainer'),r=p.getContext(),s=q&&h.contains(q,r)||n(r)<300,t=j.getViewportWithoutScrollbarsBounds();if(s){t.t+=l.getTop();if(i.isRTL()){t.r-=l.getLeft();t.l+=l.getRight();}else{t.r-=l.getRight();t.l+=l.getLeft();}}return t;},getLayerRect:function(p,q){var r=p.getContextBounds('viewport'),s=p.simulateOrientation(q,function(){return k.getElementDimensions(p.getContentRoot());}),t=r.t+q.getOffsetY();if(q.getPosition()==='above'){t-=s.y;}else if(q.getPosition()==='below')t+=r.b-r.t;var u=r.l+q.getOffsetX(),v=r.r-r.l;if(q.isVertical()){var w=q.getAlignment();if(w==='center'){u+=(v-s.x)/2;}else if(w==='right'!==i.isRTL()){u+=v-s.x+q.getArrowOffset();}else u-=q.getArrowOffset();}else if(q.getPosition()==='right'!==i.isRTL()){u+=v;}else u-=s.x;return new j(t,u+s.x,t+s.y,u,'viewport');}};f.exports=o;},null); __d('ContextualLayerAutoFlip',['ContextualLayerDimensions','Vector','Rect','arrayContains','getDocumentScrollElement'],function a(b,c,d,e,f,g,h,i,j,k,l){if(c.__markCompiled)c.__markCompiled();function m(o,p){p=new j(p).convertTo(o.domain);var q=Math.max(o.l,p.l),r=Math.min(o.r,p.r);return Math.max(r-q,0);}function n(o){'use strict';this._layer=o;}n.prototype.enable=function(){'use strict';this._subscription=this._layer.subscribe('adjust',this._adjustOrientation.bind(this));if(this._layer.isShown())this._layer.updatePosition();};n.prototype.disable=function(){'use strict';this._subscription.unsubscribe();this._subscription=null;if(this._layer.isShown())this._layer.updatePosition();};n.prototype._adjustOrientation=function(o,p){'use strict';var q=this.getValidPositions(p);if(!q.length){p.invalidate();return;}var r=h.getViewportRect(this._layer),s=this._getValidAlignments(p),t,u,v;for(t=0;ty){y=w;x=t;}}p.setAlignment(s[x]);};n.prototype.getValidPositions=function(o){'use strict';var p=[o.getPosition(),o.getOppositePosition()],q=this._layer.getContextScrollParent();if(q===window||q===l())return p;var r=this._layer.getContext(),s=i.getElementPosition(q,'viewport').y,t=i.getElementPosition(r,'viewport').y;if(o.isVertical()){return p.filter(function(v){if(v==='above'){return t>=s;}else{var w=s+q.offsetHeight,x=t+r.offsetHeight;return x<=w;}});}else{var u=s+q.offsetHeight;if(t>=s&&t+r.offsetHeight<=u){return p;}else return [];}};n.prototype._getValidAlignments=function(o){'use strict';var p=['left','right','center'],q=o.getAlignment(),r=p.indexOf(q);if(r>0){p.splice(r,1);p.unshift(q);}return p;};Object.assign(n.prototype,{_subscription:null});f.exports=n;},null); __d('ContextualLayerHideOnScroll',['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('contextchange',this._handleContextChange.bind(this)),this._layer.subscribe('show',this.attach.bind(this)),this._layer.subscribe('hide',this.detach.bind(this))];};i.prototype.disable=function(){'use strict';while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();this.detach();};i.prototype.attach=function(){'use strict';if(this._listener)return;var j=this._layer.getContextScrollParent();if(j===window)return;this._listener=h.listen(j,'scroll',this._layer.hide.bind(this._layer));};i.prototype.detach=function(){'use strict';this._listener&&this._listener.remove();this._listener=null;};i.prototype._handleContextChange=function(){'use strict';this.detach();if(this._layer.isShown())this.attach();};Object.assign(i.prototype,{_subscriptions:[]});f.exports=i;},null); __d('focusWithinLayer',['DOMQuery','Focus','TabbableElements','getActiveElement'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();function l(m){var n=h.scry(m,'.autofocus')[0],o=true;if(!n){var p=k();if(h.isNodeOfType(p,['input','textarea']))return;var q=j.find(m);for(var r=0;r