/*!CK:2373779332!*//*1444015693,*/

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

__d("ActorURIConfig",[],function a(b,c,d,e,f,g){c.__markCompiled&&c.__markCompiled();f.exports={PARAMETER_ACTOR:"av"};},null,{});
__d("IntlVariations",[],function a(b,c,d,e,f,g){c.__markCompiled&&c.__markCompiled();f.exports={BITMASK_NUMBER:805306368,NUMBER_SINGULAR:268435456,NUMBER_DUAL:536870912,NUMBER_PLURAL:805306368,BITMASK_GENDER:50331648,GENDER_MALE:16777216,GENDER_FEMALE:33554432,GENDER_UNKNOWN:50331648};},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<i.length;m++){k=i.charCodeAt(m);l=m+1<i.length?i.charCodeAt(m+1):0;if(55296<=k&&k<=56319&&56320<=l&&l<=57343){k=65536+((k&1023)<<10)+(l&1023);m++;}if(k<=127){j+=String.fromCharCode(k);}else if(k<=2047){j+=String.fromCharCode(192|k>>>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('isFacebookURI',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=null,i=['http','https'];function j(k){if(!h)h=new RegExp('(^|\\.)facebook\\.com$','i');if(k.isEmpty()&&k.toString()!=='#')return false;if(!k.getDomain()&&!k.getProtocol())return true;return i.indexOf(k.getProtocol())!==-1&&h.test(k.getDomain());}j.setRegex=function(k){h=k;};f.exports=j;},null);
__d("unqualifyURI",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i){i.setProtocol(null).setDomain(null).setPort(null);}f.exports=h;},null);
__d("areSameOrigin",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i,j){if(i.isEmpty()||j.isEmpty())return false;if(i.getProtocol()&&i.getProtocol()!=j.getProtocol())return false;if(i.getDomain()&&i.getDomain()!=j.getDomain())return false;if(i.getPort()&&i.getPort()!=j.getPort())return false;return true;}f.exports=h;},null);
__d('URI',['PHPQuerySerializer','URIBase','isFacebookURI','unqualifyURI','areSameOrigin','goURI'],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,q||'',h);}p.prototype.setPath=function(q){'use strict';this.path=q;return o.setPath.call(this,q);};p.prototype.getPath=function(){'use strict';var q=o.getPath.call(this);if(q)return q.replace(/^\/+/,'/');return q;};p.prototype.setProtocol=function(q){'use strict';this.protocol=q;return o.setProtocol.call(this,q);};p.prototype.setDomain=function(q){'use strict';this.domain=q;return o.setDomain.call(this,q);};p.prototype.setPort=function(q){'use strict';this.port=q;return o.setPort.call(this,q);};p.prototype.setFragment=function(q){'use strict';this.fragment=q;return o.setFragment.call(this,q);};p.prototype.valueOf=function(){'use strict';return this.toString();};p.prototype.isFacebookURI=function(){'use strict';return j(this);};p.prototype.isLinkshimURI=function(){'use strict';if(j(this)&&(this.getPath()==='/l.php'||this.getPath().indexOf('/si/ajax/l/')===0||this.getPath().indexOf('/l/')===0||this.getPath().indexOf('l/')===0))return true;return false;};p.prototype.getRegisteredDomain=function(){'use strict';if(!this.getDomain())return '';if(!j(this))return null;var q=this.getDomain().split('.'),r=q.indexOf('facebook');return q.slice(r).join('.');};p.prototype.getUnqualifiedURI=function(){'use strict';var q=new p(this);k(q);return q;};p.prototype.getQualifiedURI=function(){'use strict';return new p(this).$URI1();};p.prototype.$URI1=function(){'use strict';if(!this.getDomain()){var q=new p(window.location.href);this.setProtocol(q.getProtocol()).setDomain(q.getDomain()).setPort(q.getPort());}return this;};p.prototype.isSameOrigin=function(q){'use strict';var r=q||window.location.href;if(!(r instanceof p))r=new p(r.toString());return l(this,r);};p.prototype.go=function(q){'use strict';m(this,q);};p.prototype.setSubdomain=function(q){'use strict';var r=this.$URI1().getDomain().split('.');if(r.length<=2){r.unshift(q);}else r[0]=q;return this.setDomain(r.join('.'));};p.prototype.getSubdomain=function(){'use strict';if(!this.getDomain())return '';var q=this.getDomain().split('.');if(q.length<=2){return '';}else return q[0];};p.isValidURI=function(q){'use strict';return i.isValidURI(q,h);};Object.assign(p,{getRequestURI:function(q,r){q=q===undefined||q;var s=b.PageTransitions;if(q&&s&&s.isInitialized()){return s.getCurrentURI(!!r).getQualifiedURI();}else return new p(window.location.href);},getMostRecentURI:function(){var q=b.PageTransitions;if(q&&q.isInitialized()){return q.getMostRecentURI().getQualifiedURI();}else return new p(window.location.href);},getNextURI:function(){var q=b.PageTransitions;if(q&&q.isInitialized()){return q._next_uri.getQualifiedURI();}else return new p(window.location.href);},expression:/(((\w+):\/\/)([^\/:]*)(:(\d+))?)?([^#?]*)(\?([^#]*))?(#(.*))?/,arrayQueryExpression:/^(\w+)((?:\[\w*\])+)=?(.*)/,encodeComponent:function(q){return encodeURIComponent(q).replace(/%5D/g,"]").replace(/%5B/g,"[");},decodeComponent:function(q){return decodeURIComponent(q.replace(/\+/g,' '));}});f.exports=p;},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('BanzaiLogger',['Banzai'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i='logger';function j(l){return {log:function(m,n){h.post(i+':'+m,n,l);}};}var k=j();k.create=j;f.exports=k;},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('BasicVector',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i,j){'use strict';this.x=i;this.y=j;}h.prototype.derive=function(i,j){'use strict';return new h(i,j);};h.prototype.toString=function(){'use strict';return '('+this.x+', '+this.y+')';};h.prototype.add=function(i,j){'use strict';if(i instanceof h){j=i.y;i=i.x;}var k=parseFloat(i),l=parseFloat(j);return this.derive(this.x+k,this.y+l);};h.prototype.mul=function(i,j){'use strict';if(j===undefined)j=i;return this.derive(this.x*i,this.y*j);};h.prototype.div=function(i,j){'use strict';if(j===undefined)j=i;return this.derive(this.x*1/i,this.y*1/j);};h.prototype.sub=function(i,j){'use strict';if(arguments.length===1){return this.add(i.mul(-1));}else return this.add(-i,-j);};h.prototype.distanceTo=function(i){'use strict';return this.sub(i).magnitude();};h.prototype.magnitude=function(){'use strict';return Math.sqrt(this.x*this.x+this.y*this.y);};h.prototype.rotate=function(i){'use strict';return this.derive(this.x*Math.cos(i)-this.y*Math.sin(i),this.x*Math.sin(i)+this.y*Math.cos(i));};f.exports=h;},null);
__d('BehaviorsMixin',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(l){'use strict';this.$InstalledBehavior1=l;this.$InstalledBehavior2=false;}h.prototype.enable=function(){'use strict';if(!this.$InstalledBehavior2){this.$InstalledBehavior2=true;this.$InstalledBehavior1.enable();}};h.prototype.disable=function(){'use strict';if(this.$InstalledBehavior2){this.$InstalledBehavior2=false;this.$InstalledBehavior1.disable();}};var i=1;function j(l){if(!l.__BEHAVIOR_ID)l.__BEHAVIOR_ID=i++;return l.__BEHAVIOR_ID;}var k={enableBehavior:function(l){if(!this._behaviors)this._behaviors={};var m=j(l);if(!this._behaviors[m])this._behaviors[m]=new h(new l(this));this._behaviors[m].enable();return this;},disableBehavior:function(l){if(this._behaviors){var m=j(l);if(this._behaviors[m])this._behaviors[m].disable();}return this;},enableBehaviors:function(l){l.forEach(this.enableBehavior,this);return this;},destroyBehaviors:function(){if(this._behaviors){for(var l in this._behaviors)this._behaviors[l].disable();this._behaviors={};}},hasBehavior:function(l){return this._behaviors&&j(l) in this._behaviors;}};f.exports=k;},null);
__d("Keys",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();f.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105};},null);
__d("camelize",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=/-(.)/g;function i(j){return j.replace(h,function(k,l){return l.toUpperCase();});}f.exports=i;},null);
__d('isNode',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i){return !!(i&&(typeof Node==='function'?i instanceof Node:typeof i==='object'&&typeof i.nodeType==='number'&&typeof i.nodeName==='string'));}f.exports=h;},null);
__d('isTextNode',['isNode'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j){return h(j)&&j.nodeType==3;}f.exports=i;},null);
__d('containsNode',['isTextNode'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j,k){if(!j||!k){return false;}else if(j===k){return true;}else if(h(j)){return false;}else if(h(k)){return i(j,k.parentNode);}else if(j.contains){return j.contains(k);}else if(j.compareDocumentPosition){return !!(j.compareDocumentPosition(k)&16);}else return false;}f.exports=i;},null);
__d('getOpacityStyleName',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=false,i=null;function j(){if(!h){if('opacity' in document.body.style){i='opacity';}else{var k=document.createElement('div');k.style.filter='alpha(opacity=100)';if(k.style.filter)i='filter';k=null;}h=true;}return i;}f.exports=j;},null);
__d('hyphenate',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=/([A-Z])/g;function i(j){return j.replace(h,'-$1').toLowerCase();}f.exports=i;},null);
__d('getStyleProperty',['camelize','hyphenate'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();function j(l){return l==null?l:String(l);}function k(l,m){var n;if(window.getComputedStyle){n=window.getComputedStyle(l,null);if(n)return j(n.getPropertyValue(i(m)));}if(document.defaultView&&document.defaultView.getComputedStyle){n=document.defaultView.getComputedStyle(l,null);if(n)return j(n.getPropertyValue(i(m)));if(m==='display')return 'none';}if(l.currentStyle){if(m==='float')return j(l.currentStyle.cssFloat||l.currentStyle.styleFloat);return j(l.currentStyle[h(m)]);}return j(l.style&&l.style[h(m)]);}f.exports=k;},null);
__d('Style-upstream',['camelize','containsNode','ex','getOpacityStyleName','getStyleProperty','hyphenate','invariant'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n){if(c.__markCompiled)c.__markCompiled();function o(v,w){var x=u.get(v,w);return x==='auto'||x==='scroll';}var p=new RegExp('\\s*'+'([^\\s:]+)'+'\\s*:\\s*'+'([^;(\'"]*(?:(?:\\([^)]*\\)|"[^"]*"|\'[^\']*\')[^;(?:\'"]*)*)'+'(?:;|$)','g');function q(v){var w={};v.replace(p,function(x,y,z){w[y]=z;});return w;}function r(v){var w='';for(var x in v)if(v[x])w+=x+':'+v[x]+';';return w;}function s(v){return v!==''?'alpha(opacity='+v*100+')':'';}function t(v,w,x){switch(m(w)){case 'font-weight':case 'line-height':case 'opacity':case 'z-index':break;case 'width':case 'height':var y=parseInt(x,10)<0;!!y?n(0):undefined;default:!(isNaN(x)||!x||x==='0')?n(0):undefined;break;}}var u={set:function(v,w,x){t('Style.set',w,x);var y=v.style;switch(w){case 'opacity':if(k()==='filter'){y.filter=s(x);}else y.opacity=x;break;case 'float':y.cssFloat=y.styleFloat=x||'';break;default:try{y[h(w)]=x;}catch(z){throw new Error(j('Style.set: "%s" argument is invalid: %s',w,x));}}},apply:function(v,w){var x;for(x in w)t('Style.apply',x,w[x]);if('opacity' in w&&k()==='filter'){w.filter=s(w.opacity);delete w.opacity;}var y=q(v.style.cssText);for(x in w){var z=w[x];delete w[x];var aa=m(x);for(var ba in y)if(ba===aa||ba.indexOf(aa+'-')===0)delete y[ba];w[aa]=z;}Object.assign(y,w);v.style.cssText=r(y);},get:l,getFloat:function(v,w){return parseFloat(u.get(v,w),10);},getOpacity:function(v){if(k()==='filter'){var w=u.get(v,'filter');if(w){var x=/(\d+(?:\.\d+)?)/.exec(w);if(x)return parseFloat(x.pop())/100;}}return u.getFloat(v,'opacity')||1;},isFixed:function(v){while(i(document.body,v)){if(u.get(v,'position')==='fixed')return true;v=v.parentNode;}return false;},getScrollParent:function(v){if(!v)return null;while(v&&v!==document.body){if(o(v,'overflow')||o(v,'overflowY')||o(v,'overflowX'))return v;v=v.parentNode;}return window;}};f.exports=u;},null);
__d('Style',['Style-upstream','$'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j=babelHelpers._extends({},h,{get:function(k,l){typeof k==='string';return h.get(i(k),l);},getFloat:function(k,l){typeof k==='string';return h.getFloat(i(k),l);}});f.exports=j;},null);
__d("areJSONRepresentationsEqual",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i,j){return JSON.stringify(i)==JSON.stringify(j);}f.exports=h;},null);
__d("arrayContains",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i,j){return i.indexOf(j)!==-1;}f.exports=h;},null);
__d("debounceCore",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i,j,k,l,m){l=l||setTimeout;m=m||clearTimeout;var n;function o(){for(var p=arguments.length,q=Array(p),r=0;r<p;r++)q[r]=arguments[r];o.reset();var s=function(){i.apply(k,q);};s.__SMmeta=i.__SMmeta;n=l(s,j);}o.reset=function(){m(n);};return o;}f.exports=h;},null);
__d("Scroll",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(j,k){return !!k&&(j===k.documentElement||j===k.body);}var i={getTop:function(j){var k=j.ownerDocument;return h(j,k)?k.body.scrollTop||k.documentElement.scrollTop:j.scrollTop;},setTop:function(j,k){var l=j.ownerDocument;if(h(j,l)){l.body.scrollTop=l.documentElement.scrollTop=k;}else j.scrollTop=k;},getLeft:function(j){var k=j.ownerDocument;return h(j,k)?k.body.scrollLeft||k.documentElement.scrollLeft:j.scrollLeft;},setLeft:function(j,k){var l=j.ownerDocument;if(h(j,l)){l.body.scrollLeft=l.documentElement.scrollLeft=k;}else j.scrollLeft=k;}};f.exports=i;},null);
__d('getDocumentScrollElement',[],function a(b,c,d,e,f,g){'use strict';if(c.__markCompiled)c.__markCompiled();var h=typeof navigator!=='undefined'&&navigator.userAgent.indexOf('AppleWebKit')>-1;function i(j){j=j||document;return !h&&j.compatMode==='CSS1Compat'?j.documentElement:j.body;}f.exports=i;},null);
__d('getElementRect',['containsNode'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j){var k=document.documentElement;if(!('getBoundingClientRect' in j)||!h(k,j))return {left:0,right:0,top:0,bottom:0};var l=j.getBoundingClientRect();return {left:Math.round(l.left)-k.clientLeft,right:Math.round(l.right)-k.clientLeft,top:Math.round(l.top)-k.clientTop,bottom:Math.round(l.bottom)-k.clientTop};}f.exports=i;},null);
__d('getElementPosition',['getElementRect'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j){var k=h(j);return {x:k.left,y:k.top,width:k.right-k.left,height:k.bottom-k.top};}f.exports=i;},null);
__d('isElementNode',['isNode'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j){return h(j)&&j.nodeType==1;}f.exports=i;},null);
__d('getElementText',['isElementNode','isTextNode'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j=null;function k(l){if(i(l)){return l.data;}else if(h(l)){if(j===null){var m=document.createElement('div');j=m.textContent!=null?'textContent':'innerText';}return l[j];}else return '';}f.exports=k;},null);
__d('getOffsetParent',['Style'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j){var k=j.parentNode;if(!k||k===document.documentElement)return document.documentElement;if(h.get(k,'position')!=='static')return k;return k===document.body?document.documentElement:i(k);}f.exports=i;},null);
__d('uniqueID',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h='js_',i=36,j=0;function k(){return h+(j++).toString(i);}f.exports=k;},null);
__d('getOrCreateDOMID',['uniqueID'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j){if(!j.id)j.id=h();return j.id;}f.exports=i;},null);
__d('getUnboundedScrollPosition',['Scroll'],function a(b,c,d,e,f,g,h){'use strict';if(c.__markCompiled)c.__markCompiled();function i(j){if(j===window)return {x:window.pageXOffset||h.getLeft(document.documentElement),y:window.pageYOffset||h.getTop(document.documentElement)};return {x:h.getLeft(j),y:h.getTop(j)};}f.exports=i;},null);
__d("getViewportDimensions",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(){var k;if(document.documentElement)k=document.documentElement.clientWidth;if(!k&&document.body)k=document.body.clientWidth;return k||0;}function i(){var k;if(document.documentElement)k=document.documentElement.clientHeight;if(!k&&document.body)k=document.body.clientHeight;return k||0;}function j(){return {width:window.innerWidth||h(),height:window.innerHeight||i()};}j.withoutScrollbars=function(){return {width:h(),height:i()};};f.exports=j;},null);
__d("getObjectValues",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i){var j=[];for(var k in i)j.push(i[k]);return j;}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('guid',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(){return 'f'+(Math.random()*(1<<30)).toString(16).replace('.','');}f.exports=h;},null);
__d('htmlSpecialChars',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=/&/g,i=/</g,j=/>/g,k=/"/g,l=/'/g;function m(n){if(typeof n=='undefined'||n===null||!n.toString)return '';if(n===false){return '0';}else if(n===true)return '1';return n.toString().replace(h,'&amp;').replace(k,'&quot;').replace(l,'&#039;').replace(i,'&lt;').replace(j,'&gt;');}f.exports=m;},null);
/**
 * @generated SignedSource<<281efabc9819065945529c38a7893b3a>>
 *
 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 * !! This file is a check-in of a static_upstream project!      !!
 * !!                                                            !!
 * !! You should not modify this file directly. Instead:         !!
 * !! 1) Use `fjs use-upstream` to temporarily replace this with !!
 * !!    the latest version from upstream.                       !!
 * !! 2) Make your changes, test them, etc.                      !!
 * !! 3) Use `fjs push-upstream` to copy your changes back to    !!
 * !!    static_upstream.                                        !!
 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 *
 * Copyright (c) 2012 Barnesandnoble.com, llc, Donavon West, and Domenic
 * Denicola
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 * @preserve-header
 * @providesModule ImmediateImplementation
 */__d("ImmediateImplementation",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();(function(h,i){"use strict";var j=1,k={},l={},m=l,n=false,o=h.document,p;function q(y){var z=y[0];y=Array.prototype.slice.call(y,1);k[j]=function(){z.apply(i,y);};m=m.next={handle:j++};return m.handle;}function r(){var y,z;while(!n&&(y=l.next)){l=y;if(z=k[y.handle]){n=true;try{z();n=false;}finally{s(y.handle);if(n){n=false;if(l.next)p(r);}}}}}function s(y){delete k[y];}function t(){if(h.postMessage&&!h.importScripts){var y=true,z=function(){y=false;if(h.removeEventListener){h.removeEventListener("message",z,false);}else h.detachEvent("onmessage",z);};if(h.addEventListener){h.addEventListener("message",z,false);}else if(h.attachEvent){h.attachEvent("onmessage",z);}else return false;h.postMessage("","*");return y;}}function u(){var y="setImmediate$"+Math.random()+"$",z=function(event){if(event.source===h&&typeof event.data==="string"&&event.data.indexOf(y)===0)r();};if(h.addEventListener){h.addEventListener("message",z,false);}else h.attachEvent("onmessage",z);p=function(){var aa=q(arguments);h.postMessage(y+aa,"*");return aa;};}function v(){var y=new MessageChannel();y.port1.onmessage=r;p=function(){var z=q(arguments);y.port2.postMessage(z);return z;};}function w(){var y=o.documentElement;p=function(){var z=q(arguments),aa=o.createElement("script");aa.onreadystatechange=function(){aa.onreadystatechange=null;y.removeChild(aa);aa=null;r();};y.appendChild(aa);return z;};}function x(){p=function(){setTimeout(r,0);return q(arguments);};}if(t()){u();}else if(h.MessageChannel){v();}else if(o&&o.createElement&&"onreadystatechange" in o.createElement("script")){w();}else x();g.setImmediate=p;g.clearImmediate=s;})(Function("return this")());},null);
__d("isScalar",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i){return (/string|number|boolean/.test(typeof i));}f.exports=h;},null);
__d('joinClasses',[],function a(b,c,d,e,f,g){'use strict';if(c.__markCompiled)c.__markCompiled();function h(i){if(!i)i='';var j,k=arguments.length;if(k>1)for(var l=1;l<k;l++){j=arguments[l];if(j)i=(i?i+' ':'')+j;}return i;}f.exports=h;},null);
__d('mixin',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i,j,k,l,m,n,o,p,q,r,s){var t=function(){},u=[i,j,k,l,m,n,o,p,q,r],v=0,w;while(u[v]){w=u[v];for(var x in w)if(w.hasOwnProperty(x))t.prototype[x]=w[x];v+=1;}return t;}f.exports=h;},null);
__d('setImmediatePolyfill',['invariant','ImmediateImplementation'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i=b.setImmediate;if(!i){var j=c('ImmediateImplementation');i=j.setImmediate;}function k(){for(var l=arguments.length,m=Array(l),n=0;n<l;n++)m[n]=arguments[n];!(typeof m[0]==='function')?h(0):undefined;return i.apply(null,m);}f.exports=k;},null);
__d('DOMVector',['BasicVector','getDocumentScrollElement','getElementPosition','getUnboundedScrollPosition','getViewportDimensions'],function a(b,c,d,e,f,g,h,i,j,k,l){if(c.__markCompiled)c.__markCompiled();var m,n;m=babelHelpers.inherits(o,h);n=m&&m.prototype;function o(p,q,r){'use strict';n.constructor.call(this,p,q);this.domain=r||'pure';}o.prototype.derive=function(p,q,r){'use strict';return new o(p,q,r||this.domain);};o.prototype.add=function(p,q){'use strict';if(p instanceof o&&p.getDomain()!=='pure')p=p.convertTo(this.domain);return n.add.call(this,p,q);};o.prototype.convertTo=function(p){'use strict';if(p!='pure'&&p!='viewport'&&p!='document')return this.derive(0,0);if(p==this.domain)return this.derive(this.x,this.y,this.domain);if(p=='pure')return this.derive(this.x,this.y);if(this.domain=='pure')return this.derive(0,0);var q=o.getScrollPosition('document'),r=this.x,s=this.y;if(this.domain=='document'){r-=q.x;s-=q.y;}else{r+=q.x;s+=q.y;}return this.derive(r,s,p);};o.prototype.getDomain=function(){'use strict';return this.domain;};o.from=function(p,q,r){'use strict';return new o(p,q,r);};o.getScrollPosition=function(p){'use strict';p=p||'document';var q=k(window);return this.from(q.x,q.y,'document').convertTo(p);};o.getElementPosition=function(p,q){'use strict';q=q||'document';var r=j(p);return this.from(r.x,r.y,'viewport').convertTo(q);};o.getElementDimensions=function(p){'use strict';return this.from(p.offsetWidth||0,p.offsetHeight||0);};o.getViewportDimensions=function(){'use strict';var p=l();return this.from(p.width,p.height,'viewport');};o.getViewportWithoutScrollbarDimensions=function(){'use strict';var p=l.withoutScrollbars();return this.from(p.width,p.height,'viewport');};o.getDocumentDimensions=function(p){'use strict';var q=i(p);return this.from(q.scrollWidth,q.scrollHeight,'document');};f.exports=o;},null);
__d('errorCode',[],function a(b,c,d,e,f,g){'use strict';if(c.__markCompiled)c.__markCompiled();function h(i){throw new Error('errorCode'+'("'+i+'"): This should not happen. Oh noes!');}f.exports=h;},null);
__d('IntlEnglishNumberType',['IntlVariations'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i={getNumberVariationType:function(j){return j===1?h.NUMBER_SINGULAR:h.NUMBER_PLURAL;}};f.exports=i;},null);
__d('IntlNoVariationsNumberType',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h={getNumberVariationType:function(i){return '*';}};f.exports=h;},null);
__d('IntlRomanicNumberType',['IntlVariations'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i={getNumberVariationType:function(j){if(j===0||j===1){return h.NUMBER_SINGULAR;}else return h.NUMBER_PLURAL;}};f.exports=i;},null);
__d('cx',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i){throw new Error('cx: Unexpected class transformation.');}f.exports=h;},null);
__d('FbtResult',['ErrorUtils','cx'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j=typeof Symbol==='function'&&Symbol['for']&&Symbol['for']('react.element')||60103,k=false;function l(p,q,r,s){var t="_4qba";if(s)if(q==='TRANSLATION'){t="_4qbb";}else if(q==='APPROVE'){t="_4qbc";}else if(q==='REPORT')t="_4qbd";return {$$typeof:j,type:'em',key:undefined,ref:undefined,props:{className:t,'data-intl-hash':s,'data-intl-translation':r,'data-intl-trid':'',children:p},_owner:null};}m.prototype.render=function(){'use strict';return l(this.props.content,this.props.inlineMode,this.props.translation,this.props.hash);};function m(){'use strict';}function n(p){var q=true;try{throw new Error('Error using fbt string. Used method '+p+' on Fbt string. Fbt string is designed to be immutable '+'and should not be manipulated.');}catch(r){}}function o(p,q,r,s){'use strict';this.$FbtResult1=p;this.$FbtResult2=null;this.$$typeof=j;this.type=m;this.props={content:this.$FbtResult1,inlineMode:q,translation:r,hash:s};this.key=undefined;this.ref=undefined;}o.prototype.getContents=function(){'use strict';return this.$FbtResult1;};o.prototype.toString=function(){'use strict';if(this.$FbtResult2!==null)return this.$FbtResult2;var p="";for(var q=this.$FbtResult1,r=Array.isArray(q),s=0,q=r?q:q[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var t;if(r){if(s>=q.length)break;t=q[s++];}else{s=q.next();if(s.done)break;t=s.value;}var u=t;if(typeof u==='string'||u instanceof o){p+=u;}else{var v=new Error('Converting to a string will drop content data');h.reportError(v,true);}}try{this.$FbtResult2=p;}catch(w){}return p;};o.prototype.toJSON=function(){'use strict';return this.toString();};o.prototype.replace=function(p,q){'use strict';n("replace");return this.toString().replace(p,q);};o.prototype.split=function(p){'use strict';n("split");return this.toString().split(p);};o.prototype.toLowerCase=function(){'use strict';n("toLowerCase");return this.toString().toLowerCase();};o.prototype.toUpperCase=function(){'use strict';n("toUpperCase");return this.toString().toUpperCase();};o.prototype.indexOf=function(p){'use strict';n("indexOf");return this.toString().indexOf(p);};o.prototype.concat=function(p){'use strict';n("concat");return this.toString().concat(p);};o.prototype.charAt=function(p){'use strict';n("charAt");return this.toString().CharAt(p);};o.prototype.charCodeAt=function(p){'use strict';n("charCodeAt");return this.toString().CharCodeAt(p);};o.prototype.substr=function(p,q){'use strict';n("substr");return this.toString().substr(p,q);};o.prototype.substring=function(p,q){'use strict';n("substring");return this.toString().substring(p,q);};o.prototype.trim=function(){'use strict';n("trim");return this.toString().trim();};o.prototype.lastIndexOf=function(p){'use strict';n("lastIndexOf");return this.toString().lastIndexOf(p);};o.prototype.search=function(p){'use strict';n("search");return this.toString().search(p);};o.prototype.match=function(p){'use strict';n("match");return this.toString().match(p);};o.prototype.slice=function(p,q){'use strict';n("slice");return this.toString().slice(p,q);};o.prototype.codePointAt=function(p){'use strict';n("codePointAt");return this.toString().codePointAt(p);};o.prototype.endsWith=function(p,q){'use strict';n("endsWith");return this.toString().endsWith(p,q);};o.prototype.includes=function(p,q){'use strict';n("includes");return this.toString().includes(p,q);};o.prototype.localeCompare=function(p,q,r){'use strict';n("localeCompare");return this.toString().localeCompare(p,q,r);};o.prototype.normalize=function(p){'use strict';n("normalize");return this.toString().normalize(p);};o.prototype.repeat=function(p){'use strict';n("repeat");return this.toString().repeat(p);};o.prototype.startsWith=function(p,q){'use strict';n("startsWith");return this.toString().startsWith(p,q);};o.prototype.toLocaleLowerCase=function(){'use strict';n("toLocaleLowerCase");return this.toString().toLocaleLowerCase();};o.prototype.toLocaleUpperCase=function(){'use strict';n("toLocaleUpperCase");return this.toString().toLocaleUpperCase();};o.prototype.trimLeft=function(){'use strict';n("trimLeft");return this.toString().trimLeft();};o.prototype.trimRight=function(){'use strict';n("trimRight");return this.toString().trimRight();};o.prototype.link=function(p){'use strict';n("link");return this.toString().link(p);};o.prototype.anchor=function(p){'use strict';n("anchor");return this.toString().anchor(p);};o.prototype.fontcolor=function(p){'use strict';n("fontcolor");return this.toString().fontcolor(p);};o.prototype.fontsize=function(p){'use strict';n("fontsize");return this.toString().fontsize(p);};o.prototype.big=function(){'use strict';n("big");return this.toString().big();};o.prototype.blink=function(){'use strict';n("blink");return this.toString().blink();};o.prototype.bold=function(){'use strict';n("bold");return this.toString().bold();};o.prototype.fixed=function(){'use strict';n("fixed");return this.toString().fixed();};o.prototype.italics=function(){'use strict';n("italics");return this.toString().italics();};o.prototype.small=function(){'use strict';n("small");return this.toString().small();};o.prototype.strike=function(){'use strict';n("strike");return this.toString().strike();};o.prototype.sub=function(){'use strict';n("sub");return this.toString().sub();};o.prototype.sup=function(){'use strict';n("sup");return this.toString().sup();};o.prototype.contains=function(p){'use strict';n("contains");return this.toString().contains(p);};f.exports=o;},null);
__d('Intl',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h;function i(k){if(typeof k!='string')return false;return k.match(new RegExp(i.punct_char_class+'['+')"'+"'"+'\u00BB'+'\u0F3B'+'\u0F3D'+'\u2019'+'\u201D'+'\u203A'+'\u3009'+'\u300B'+'\u300D'+'\u300F'+'\u3011'+'\u3015'+'\u3017'+'\u3019'+'\u301B'+'\u301E'+'\u301F'+'\uFD3F'+'\uFF07'+'\uFF09'+'\uFF3D'+'\\s'+']*$'));}i.punct_char_class='['+'.!?'+'\u3002'+'\uFF01'+'\uFF1F'+'\u0964'+'\u2026'+'\u0EAF'+'\u1801'+'\u0E2F'+'\uFF0E'+']';function j(k){if(h){var l=[],m=[];for(var n in h.patterns){var o=h.patterns[n];for(var p in h.meta){var q=new RegExp(p.slice(1,-1),'g'),r=h.meta[p];n=n.replace(q,r);o=o.replace(q,r);}l.push(n);m.push(o);}for(var s=0;s<l.length;s++){var t=new RegExp(l[s].slice(1,-1),'g');if(m[s]=='javascript'){k.replace(t,function(u){return u.slice(1).toLowerCase();});}else k=k.replace(t,m[s]);}}return k.replace(/\x01/g,'');}f.exports={endsInPunct:i,applyPhonologicalRules:j,setPhonologicalRules:function(k){h=k;}};},null);
__d('Locale',['Style','ExecutionEnvironment'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j;function k(){if(!i.canUseDOM){j=false;}else if(j===undefined)j='rtl'===h.get(document.body,'direction');return j;}var l={isRTL:k};f.exports=l;},null);
__d('substituteTokens',['invariant','Intl'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();function j(l){return l;}function k(l,m){if(!m)return l;!(typeof m==='object')?h(0):undefined;var n='\\{([^}]+)\\}('+i.endsInPunct.punct_char_class+'*)',o=new RegExp(n,'g'),p=[],q=[],r=l.replace(o,function(u,v,w){var x=m[v];if(x&&typeof x==='object'){p.push(x);q.push(v);return '\x17'+w;}else if(x===null)return '';return x+(i.endsInPunct(x)?'':w);}).split('\x17').map(i.applyPhonologicalRules);if(r.length===1)return r[0];var s=[r[0]];for(var t=0;t<p.length;t++)s.push(j(p[t]),r[t+1]);return s;}f.exports=k;},null);
__d('fbt',['Banzai','FbtResult','FbtResultGK','IntlVariations','IntlViewerContext','invariant','substituteTokens','FbtNumber','FbtLogger','FbtQTOverrides'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n){if(c.__markCompiled)c.__markCompiled();var o=c('FbtNumber').impl,p=c('FbtLogger').logger,q=c('FbtQTOverrides').overrides,r={INDEX:0,SUBSTITUTION:1},s={NUMBER:0,GENDER:1},t=function(){};t._=function(v,w){var x={},y=v;if(v.__vcg){w=w||[];w.unshift([[l.GENDER,'*'],null]);}if(w!==undefined){y=this._accessTable(v,x,w,0);!(y!==null)?m(0):undefined;}var z=y,aa=null;!(typeof y==='string'||Array.isArray(y))?m(0):undefined;if(Array.isArray(y)){z=y[0];aa=y[1];var ba='1_'+aa;z=q[ba]||z;if(q[ba])t.logQTImpression(aa);t.logImpression(aa);}var ca=n(z,x);return u(ca,z,aa);};t._accessTable=function(v,w,x,y){if(y>=x.length){return v;}else if(v==null)return null;var z=null,aa=x[y],ba=aa[r.INDEX];if(Array.isArray(ba)){for(var ca=0;ca<ba.length;++ca){var da=v[ba[ca]];z=this._accessTable(da,w,x,y+1);if(z!=null)break;}}else{v=ba!==null?v[ba]:v;z=this._accessTable(v,w,x,y+1);}if(z!=null)Object.assign(w,aa[r.SUBSTITUTION]);return z;};t['enum']=function(v,w){return [v,null];};t.param=function(v,w,x){var y=null;if(x)if(x[0]===s.NUMBER){var z=x.length>1?x[1]:w;!(typeof z==='number')?m(0):undefined;y=[o.getNumberVariationType(z),'*'];}else if(x[0]===s.GENDER){!(x.length>1&&x[1]&k.BITMASK_GENDER)?m(0):undefined;y=[x[1],'*'];}else m(0);var aa={};aa[v]=w;return [y,aa];};t.logImpression=function(v){if(p)p.logImpression(v);return v;};t.logQTImpression=function(v){h.post('intl_qt_event',{hash:v});return v;};function u(v,w,x){if(!j.shouldReturnFbtResult)return v;return new i(typeof v==='string'?[v]:v,j.inlineMode,w,x);}f.exports=t;},null);
__d('Log',['sprintf'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i={DEBUG:3,INFO:2,WARNING:1,ERROR:0};function j(l,m){var n=Array.prototype.slice.call(arguments,2),o=h.apply(null,n),p=window.console;if(p&&k.level>=m)p[l in p?l:'log'](o);}var k={level:-1,Level:i,debug:j.bind(null,'debug',i.DEBUG),info:j.bind(null,'info',i.INFO),warn:j.bind(null,'warn',i.WARNING),error:j.bind(null,'error',i.ERROR)};f.exports=k;},null);
__d('setImmediateAcrossTransitions',['TimeSlice','setImmediatePolyfill'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();f.exports=function(){for(var j=arguments.length,k=Array(j),l=0;l<j;l++)k[l]=arguments[l];k[0]=h.guard(k[0],'setImmediate');return i.apply(b,k);};},null);
__d('setImmediate',['TimerStorage','setImmediateAcrossTransitions'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();f.exports=function(){for(var j=arguments.length,k=Array(j),l=0;l<j;l++)k[l]=arguments[l];var m=i.apply(b,k);h.push(h.IMMEDIATE,m);return m;};},null);
__d('TokenizeUtil',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=/[ ]+/g,i=/[^ ]+/g,j=new RegExp(k(),'g');function k(){return '[.,+*?$|#{}()\'\\^\\-\\[\\]\\\\\\/!@%"~=<>_:;'+'\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;p<o.length;p++)l[o[p]]=n;}var q={};function r(x){return x?x.replace(j,' '):'';}function s(x){x=x.toLowerCase();var y='',z='';for(var aa=x.length;aa--;){z=x.charAt(aa);y=(l[z]||z)+y;}return y.replace(h,' ');}function t(x){var y=[],z=i.exec(x);while(z){z=z[0];y.push(z);z=i.exec(x);}return y;}function u(x,y){if(!q.hasOwnProperty(x)){var z=s(x),aa=r(z);q[x]={value:x,flatValue:z,tokens:t(aa),isPrefixQuery:aa&&aa[aa.length-1]!=' '};}if(y&&typeof q[x].sortedTokens=='undefined'){q[x].sortedTokens=q[x].tokens.slice();q[x].sortedTokens.sort(function(ba,ca){return ca.length-ba.length;});}return q[x];}function v(x,y,z){var aa=u(y,x=='prefix'),ba=x=='prefix'?aa.sortedTokens:aa.tokens,ca=u(z).tokens,da={},ea=aa.isPrefixQuery&&x=='query'?ba.length-1:null,fa=function(ga,ha){for(var ia=0;ia<ca.length;++ia){var ja=ca[ia];if(!da[ia]&&(ja==ga||(x=='query'&&ha===ea||x=='prefix')&&ja.indexOf(ga)===0))return da[ia]=true;}return false;};return Boolean(ba.length&&ba.every(fa));}var w={flatten:s,parse:u,getPunctuation:k,isExactMatch:v.bind(null,'exact'),isQueryMatch:v.bind(null,'query'),isPrefixMatch:v.bind(null,'prefix'),tokenize:t};f.exports=w;},null);
__d('UnicodeMatch',['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('UserAgent_DEPRECATED',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=false,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;function x(){if(h)return;h=true;var z=navigator.userAgent,aa=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(z),ba=/(Mac OS X)|(Windows)|(Linux)/.exec(z);t=/\b(iPhone|iP[ao]d)/.exec(z);u=/\b(iP[ao]d)/.exec(z);r=/Android/i.exec(z);v=/FBAN\/\w+;/i.exec(z);w=/Mobile/i.exec(z);s=!!/Win64/.exec(z);if(aa){i=aa[1]?parseFloat(aa[1]):aa[5]?parseFloat(aa[5]):NaN;if(i&&document&&document.documentMode)i=document.documentMode;var ca=/(?:Trident\/(\d+.\d+))/.exec(z);n=ca?parseFloat(ca[1])+4:i;j=aa[2]?parseFloat(aa[2]):NaN;k=aa[3]?parseFloat(aa[3]):NaN;l=aa[4]?parseFloat(aa[4]):NaN;if(l){aa=/(?:Chrome\/(\d+\.\d+))/.exec(z);m=aa&&aa[1]?parseFloat(aa[1]):NaN;}else m=NaN;}else i=j=k=m=l=NaN;if(ba){if(ba[1]){var da=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(z);o=da?parseFloat(da[1].replace('_','.')):true;}else o=false;p=!!ba[2];q=!!ba[3];}else o=p=q=false;}var y={ie:function(){return x()||i;},ieCompatibilityMode:function(){return x()||n>i;},ie64:function(){return y.ie()&&s;},firefox:function(){return x()||j;},opera:function(){return x()||k;},webkit:function(){return x()||l;},safari:function(){return y.webkit();},chrome:function(){return x()||m;},windows:function(){return x()||p;},osx:function(){return x()||o;},linux:function(){return x()||q;},iphone:function(){return x()||t;},mobile:function(){return x()||(t||u||r||w);},nativeApp:function(){return x()||v;},android:function(){return x()||r;},ipad:function(){return x()||u;}};f.exports=y;},null);
__d('getContextualParent',['ge'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j,k){var l,m=false;do{if(j.getAttribute&&(l=j.getAttribute('data-ownerid'))){j=h(l);m=true;}else j=j.parentNode;}while(k&&j&&!m);return j;}f.exports=i;},null);
__d('collectDataAttributes',['getContextualParent'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i='normal';function j(k,l,m){var n={},o=[],p=l.length,q;for(q=0;q<p;++q){n[l[q]]={};o.push('data-'+l[q]);}if(m){n[i]={};for(q=0;q<(m||[]).length;++q)o.push(m[q]);}var r={tn:'',"tn-debug":','};while(k){if(k.getAttribute)for(q=0;q<o.length;++q){var s=o[q],t=k.getAttribute(s);if(t){if(q>=p){if(n[i][s]===undefined)n[i][s]=t;continue;}var u=JSON.parse(t);for(var v in u)if(r[v]!==undefined){if(n[l[q]][v]===undefined)n[l[q]][v]=[];n[l[q]][v].push(u[v]);}else if(n[l[q]][v]===undefined)n[l[q]][v]=u[v];}}k=h(k);}for(var w in n)for(var x in r)if(n[w][x]!==undefined)n[w][x]=n[w][x].join(r[x]);return n;}f.exports=j;},null);
__d('throttle',['setTimeout','setTimeoutAcrossTransitions'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();function j(l,m,n){return k(l,m,n,h,false);}Object.assign(j,{acrossTransitions:function(l,m,n){return k(l,m,n,i,false);},withBlocking:function(l,m,n){return k(l,m,n,h,true);},acrossTransitionsWithBlocking:function(l,m,n){return k(l,m,n,i,true);}});function k(l,m,n,o,p){var q=m==null?100:m,r,s,t=0,u=null,v=function(){t=Date.now();if(s){l.apply(r,s);s=null;u=o(v,q);}else u=null;};v.__SMmeta=l.__SMmeta;return function w(){s=arguments;r=this;if(n!==undefined)r=n;if(u===null||Date.now()-t>q)if(p){v();}else u=o(v,0);};}f.exports=j;},null);
__d('XControllerURIBuilder',['URI','invariant'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();function j(k,l){'use strict';this.$XControllerURIBuilder1=k;this.$XControllerURIBuilder2=l;this.$XControllerURIBuilder3={};}j.prototype.setInt=function(k,l){'use strict';return this.__setParam(k,'Int',l);};j.prototype.setFBID=function(k,l){'use strict';return this.__setParam(k,'FBID',l);};j.prototype.setFloat=function(k,l){'use strict';return this.__setParam(k,'Float',l);};j.prototype.setString=function(k,l){'use strict';return this.__setParam(k,'String',l);};j.prototype.setExists=function(k,l){'use strict';if(l===false)l=undefined;return this.__setParam(k,'Exists',l);};j.prototype.setBool=function(k,l){'use strict';return this.__setParam(k,'Bool',l);};j.prototype.setEnum=function(k,l){'use strict';return this.__setParam(k,'Enum',l);};j.prototype.setIntVector=function(k,l){'use strict';return this.__setParam(k,'IntVector',l);};j.prototype.setIntSet=function(k,l){'use strict';return this.__setParam(k,'IntSet',l.join(','));};j.prototype.setFloatVector=function(k,l){'use strict';return this.__setParam(k,'FloatVector',l);};j.prototype.setFloatSet=function(k,l){'use strict';return this.__setParam(k,'FloatSet',l.join(','));};j.prototype.setStringVector=function(k,l){'use strict';return this.__setParam(k,'StringVector',l);};j.prototype.setStringSet=function(k,l){'use strict';return this.__setParam(k,'StringSet',l);};j.prototype.setEnumVector=function(k,l){'use strict';return this.__setParam(k,'EnumVector',l);};j.prototype.setEnumSet=function(k,l){'use strict';return this.__setParam(k,'EnumSet',l);};j.prototype.setIntToIntMap=function(k,l){'use strict';return this.__setParam(k,'IntToIntMap',l);};j.prototype.setIntToFloatMap=function(k,l){'use strict';return this.__setParam(k,'IntToFloatMap',l);};j.prototype.setIntToStringMap=function(k,l){'use strict';return this.__setParam(k,'IntToStringMap',l);};j.prototype.setIntToBoolMap=function(k,l){'use strict';return this.__setParam(k,'IntToBoolMap',l);};j.prototype.setStringToIntMap=function(k,l){'use strict';return this.__setParam(k,'StringToIntMap',l);};j.prototype.setStringToFloatMap=function(k,l){'use strict';return this.__setParam(k,'StringToFloatMap',l);};j.prototype.setStringToStringMap=function(k,l){'use strict';return this.__setParam(k,'StringToStringMap',l);};j.prototype.setStringToBoolMap=function(k,l){'use strict';return this.__setParam(k,'StringToBoolMap',l);};j.prototype.setHackType=function(k,l){'use strict';return this.__setParam(k,'HackType',l);};j.prototype.__validateRequiredParamsExistence=function(){'use strict';for(var k in this.$XControllerURIBuilder2)!(!this.$XControllerURIBuilder2[k].required||this.$XControllerURIBuilder3.hasOwnProperty(k))?i(0):undefined;};j.prototype.__setParam=function(k,l,m){'use strict';!(k in this.$XControllerURIBuilder2)?i(0):undefined;var n=this.$XControllerURIBuilder2[k].type;!(n===l)?i(0):undefined;this.__setParamInt(k,m);return this;};j.prototype.__setParamInt=function(k,l){'use strict';this.$XControllerURIBuilder3[k]=l;};j.prototype.getURI=function(){'use strict';this.__validateRequiredParamsExistence();var k={},l='',m=/^\{(\?)?(\*)?(.+?)\}$/,n=this.$XControllerURIBuilder1.split('/'),o=false;for(var p=0;p<n.length;p++){var q=n[p];if(q==='')continue;var r=m.exec(q);if(!r){l+='/'+q;}else{var s=r[1]==='?',t=r[3],u=this.$XControllerURIBuilder2[t];!u?i(0):undefined;if(s&&o)continue;var v=this.$XControllerURIBuilder3[t];if(v==null&&s){o=true;continue;}!(v!=null)?i(0):undefined;l+='/'+v;k[t]=true;}}if(this.$XControllerURIBuilder1.slice(-1)==='/')l+='/';if(l==='')l='/';var w=new h();w.setPath(l);for(u in this.$XControllerURIBuilder3){v=this.$XControllerURIBuilder3[u];if(!k[u]&&v!=null){var x=this.$XControllerURIBuilder2[u];w.addQueryData(u,x&&x.type==='Exists'?null:v);}}return w;};j.create=function(k,l){return j.bind(null,k,l);};f.exports=j;},null);
__d('XRequest',['invariant'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i=function(k,l,m){var n;switch(k){case 'Bool':n=l&&l!=='false'||false;break;case 'Int':n=parseInt(l,10);!!isNaN(n)?h(0):undefined;break;case 'Float':n=parseFloat(l,10);!!isNaN(n)?h(0):undefined;break;case 'String':n=l.toString();break;case 'Enum':if(m===0){n=i('Int',l,null);}else if(m===1){n=i('String',l,null);}else if(m===2){n=l;}else h(0);break;default:var o,p,q,r;if(o=/^Nullable(\w+)$/.exec(k)){if(l===null){n=null;}else n=i(o[1],l,m);}else if(p=/^(\w+)Vector$/.exec(k)){if(!Array.isArray(l)){n=l.toString();n=n===''?[]:n.split(',');}else n=l;var s=p[1];!(typeof s==='string')?h(0):undefined;n=n.map(function(v){return i(s,v,m&&m.member);});}else if(q=/^(\w+)Set$/.exec(k)){if(!Array.isArray(l)){n=l.toString();n=n===''?[]:n.split(',');}else n=l;n=n.reduce(function(v,w){v[w]=w;return v;},{});s=q[1];!(typeof s==='string')?h(0):undefined;n=Object.keys(n).map(function(v){return i(s,n[v],m&&m.member);});}else if(r=/^(\w+)To(\w+)Map$/.exec(k)){n={};var t=r[1],u=r[2];!(typeof t==='string'&&typeof u==='string')?h(0):undefined;Object.keys(l).forEach(function(v){n[i(t,v,m&&m.key)]=i(u,l[v],m&&m.value);});}else h(0);}return n;};function j(k,l,m){'use strict';this.$XRequest1=l;this.$XRequest2=babelHelpers._extends({},m.getQueryData());var n=k.split("/").filter(function(t){return t;}),o=m.getPath().split("/").filter(function(t){return t;});for(var p=0;p<n.length;++p){var q=/^\{(\?)?(\w+)\}$/.exec(n[p]);if(!q){!(n[p]===o[p])?h(0):undefined;continue;}var r=!!q[1],s=q[2];!this.$XRequest1.hasOwnProperty(s)?h(0):undefined;if(this.$XRequest1[s].required){!!r?h(0):undefined;this.$XRequest2[s]=o[p];}else{!r?h(0):undefined;if(o[p])this.$XRequest2[s]=o[p];}}Object.keys(this.$XRequest1).forEach(function(t){!(!this.$XRequest1[t].required||this.$XRequest2.hasOwnProperty(t))?h(0):undefined;},this);}j.prototype.getExists=function(k){'use strict';return this.$XRequest2[k]!==undefined;};j.prototype.getBool=function(k){'use strict';return this.$XRequest3(k,'Bool');};j.prototype.getInt=function(k){'use strict';return this.$XRequest3(k,'Int');};j.prototype.getFloat=function(k){'use strict';return this.$XRequest3(k,'Float');};j.prototype.getString=function(k){'use strict';return this.$XRequest3(k,'String');};j.prototype.getEnum=function(k){'use strict';return this.$XRequest3(k,'Enum');};j.prototype.getOptionalInt=function(k){'use strict';return this.$XRequest4(k,'Int');};j.prototype.getOptionalFloat=function(k){'use strict';return this.$XRequest4(k,'Float');};j.prototype.getOptionalString=function(k){'use strict';return this.$XRequest4(k,'String');};j.prototype.getOptionalEnum=function(k){'use strict';return this.$XRequest4(k,'Enum');};j.prototype.getIntVector=function(k){'use strict';return this.$XRequest3(k,'IntVector');};j.prototype.getFloatVector=function(k){'use strict';return this.$XRequest3(k,'FloatVector');};j.prototype.getStringVector=function(k){'use strict';return this.$XRequest3(k,'StringVector');};j.prototype.getEnumVector=function(k){'use strict';return this.$XRequest3(k,'EnumVector');};j.prototype.getOptionalIntVector=function(k){'use strict';return this.$XRequest4(k,'IntVector');};j.prototype.getOptionalFloatVector=function(k){'use strict';return this.$XRequest4(k,'FloatVector');};j.prototype.getOptionalStringVector=function(k){'use strict';return this.$XRequest4(k,'StringVector');};j.prototype.getOptionalEnumVector=function(k){'use strict';return this.$XRequest4(k,'EnumVector');};j.prototype.getIntSet=function(k){'use strict';return this.$XRequest3(k,'IntSet');};j.prototype.getStringSet=function(k){'use strict';return this.$XRequest3(k,'StringSet');};j.prototype.getOptionalIntSet=function(k){'use strict';return this.$XRequest4(k,'IntSet');};j.prototype.getOptionalStringSet=function(k){'use strict';return this.$XRequest4(k,'StringSet');};j.prototype.getEnumToBoolMap=function(k){'use strict';return this.$XRequest3(k,'EnumToBoolMap');};j.prototype.getEnumToEnumMap=function(k){'use strict';return this.$XRequest3(k,'EnumToEnumMap');};j.prototype.getEnumToFloatMap=function(k){'use strict';return this.$XRequest3(k,'EnumToFloatMap');};j.prototype.getEnumToIntMap=function(k){'use strict';return this.$XRequest3(k,'EnumToIntMap');};j.prototype.getEnumToStringMap=function(k){'use strict';return this.$XRequest3(k,'EnumToStringMap');};j.prototype.getIntToBoolMap=function(k){'use strict';return this.$XRequest3(k,'IntToBoolMap');};j.prototype.getIntToEnumMap=function(k){'use strict';return this.$XRequest3(k,'IntToEnumMap');};j.prototype.getIntToFloatMap=function(k){'use strict';return this.$XRequest3(k,'IntToFloatMap');};j.prototype.getIntToIntMap=function(k){'use strict';return this.$XRequest3(k,'IntToIntMap');};j.prototype.getIntToStringMap=function(k){'use strict';return this.$XRequest3(k,'IntToStringMap');};j.prototype.getStringToBoolMap=function(k){'use strict';return this.$XRequest3(k,'StringToBoolMap');};j.prototype.getStringToEnumMap=function(k){'use strict';return this.$XRequest3(k,'StringToEnumMap');};j.prototype.getStringToFloatMap=function(k){'use strict';return this.$XRequest3(k,'StringToFloatMap');};j.prototype.getStringToIntMap=function(k){'use strict';return this.$XRequest3(k,'StringToIntMap');};j.prototype.getStringToStringMap=function(k){'use strict';return this.$XRequest3(k,'StringToStringMap');};j.prototype.getOptionalEnumToBoolMap=function(k){'use strict';return this.$XRequest4(k,'EnumToBoolMap');};j.prototype.getOptionalEnumToEnumMap=function(k){'use strict';return this.$XRequest4(k,'EnumToEnumMap');};j.prototype.getOptionalEnumToFloatMap=function(k){'use strict';return this.$XRequest4(k,'EnumToFloatMap');};j.prototype.getOptionalEnumToIntMap=function(k){'use strict';return this.$XRequest4(k,'EnumToIntMap');};j.prototype.getOptionalEnumToStringMap=function(k){'use strict';return this.$XRequest4(k,'EnumToStringMap');};j.prototype.getOptionalIntToBoolMap=function(k){'use strict';return this.$XRequest4(k,'IntToBoolMap');};j.prototype.getOptionalIntToEnumMap=function(k){'use strict';return this.$XRequest4(k,'IntToEnumMap');};j.prototype.getOptionalIntToFloatMap=function(k){'use strict';return this.$XRequest4(k,'IntToFloatMap');};j.prototype.getOptionalIntToIntMap=function(k){'use strict';return this.$XRequest4(k,'IntToIntMap');};j.prototype.getOptionalIntToStringMap=function(k){'use strict';return this.$XRequest4(k,'IntToStringMap');};j.prototype.getOptionalStringToBoolMap=function(k){'use strict';return this.$XRequest4(k,'StringToBoolMap');};j.prototype.getOptionalStringToEnumMap=function(k){'use strict';return this.$XRequest4(k,'StringToEnumMap');};j.prototype.getOptionalStringToFloatMap=function(k){'use strict';return this.$XRequest4(k,'StringToFloatMap');};j.prototype.getOptionalStringToIntMap=function(k){'use strict';return this.$XRequest4(k,'StringToIntMap');};j.prototype.getOptionalStringToStringMap=function(k){'use strict';return this.$XRequest4(k,'StringToStringMap');};j.prototype.getEnumToNullableEnumMap=function(k){'use strict';return this.$XRequest3(k,'EnumToNullableEnumMap');};j.prototype.getEnumToNullableFloatMap=function(k){'use strict';return this.$XRequest3(k,'EnumToNullableFloatMap');};j.prototype.getEnumToNullableIntMap=function(k){'use strict';return this.$XRequest3(k,'EnumToNullableIntMap');};j.prototype.getEnumToNullableStringMap=function(k){'use strict';return this.$XRequest3(k,'EnumToNullableStringMap');};j.prototype.getIntToNullableEnumMap=function(k){'use strict';return this.$XRequest3(k,'IntToNullableEnumMap');};j.prototype.getIntToNullableFloatMap=function(k){'use strict';return this.$XRequest3(k,'IntToNullableFloatMap');};j.prototype.getIntToNullableIntMap=function(k){'use strict';return this.$XRequest3(k,'IntToNullableIntMap');};j.prototype.getIntToNullableStringMap=function(k){'use strict';return this.$XRequest3(k,'IntToNullableStringMap');};j.prototype.getStringToNullableEnumMap=function(k){'use strict';return this.$XRequest3(k,'StringToNullableEnumMap');};j.prototype.getStringToNullableFloatMap=function(k){'use strict';return this.$XRequest3(k,'StringToNullableFloatMap');};j.prototype.getStringToNullableIntMap=function(k){'use strict';return this.$XRequest3(k,'StringToNullableIntMap');};j.prototype.getStringToNullableStringMap=function(k){'use strict';return this.$XRequest3(k,'StringToNullableStringMap');};j.prototype.getOptionalEnumToNullableEnumMap=function(k){'use strict';return this.$XRequest4(k,'EnumToNullableEnumMap');};j.prototype.getOptionalEnumToNullableFloatMap=function(k){'use strict';return this.$XRequest4(k,'EnumToNullableFloatMap');};j.prototype.getOptionalEnumToNullableIntMap=function(k){'use strict';return this.$XRequest4(k,'EnumToNullableIntMap');};j.prototype.getOptionalEnumToNullableStringMap=function(k){'use strict';return this.$XRequest4(k,'EnumToNullableStringMap');};j.prototype.getOptionalIntToNullableEnumMap=function(k){'use strict';return this.$XRequest4(k,'IntToNullableEnumMap');};j.prototype.getOptionalIntToNullableFloatMap=function(k){'use strict';return this.$XRequest4(k,'IntToNullableFloatMap');};j.prototype.getOptionalIntToNullableIntMap=function(k){'use strict';return this.$XRequest4(k,'IntToNullableIntMap');};j.prototype.getOptionalIntToNullableStringMap=function(k){'use strict';return this.$XRequest4(k,'IntToNullableStringMap');};j.prototype.getOptionalStringToNullableEnumMap=function(k){'use strict';return this.$XRequest4(k,'StringToNullableEnumMap');};j.prototype.getOptionalStringToNullableFloatMap=function(k){'use strict';return this.$XRequest4(k,'StringToNullableFloatMap');};j.prototype.getOptionalStringToNullableIntMap=function(k){'use strict';return this.$XRequest4(k,'StringToNullableIntMap');};j.prototype.getOptionalStringToNullableStringMap=function(k){'use strict';return this.$XRequest4(k,'StringToNullableStringMap');};j.prototype.$XRequest3=function(k,l){'use strict';this.$XRequest5(k,l);var m=this.$XRequest1[k];if(!this.$XRequest2.hasOwnProperty(k)&&m.defaultValue){!!m.required?h(0):undefined;return i(l,m.defaultValue,m.enumType);}!(m.required||l==='Bool'||m.defaultValue!=null)?h(0):undefined;return i(l,this.$XRequest2[k],m.enumType);};j.prototype.$XRequest4=function(k,l){'use strict';this.$XRequest5(k,l);var m=this.$XRequest1[k];!!m.required?h(0):undefined;!!m.defaultValue?h(0):undefined;if(this.$XRequest2.hasOwnProperty(k))return i(l,this.$XRequest2[k],m.enumType);return null;};j.prototype.$XRequest5=function(k,l){'use strict';!this.$XRequest1.hasOwnProperty(k)?h(0):undefined;!(this.$XRequest1[k].type===l)?h(0):undefined;};f.exports=j;},null);
__d('XController',['XControllerURIBuilder','XRequest'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();function j(k,l){'use strict';this.$XController1=k;this.$XController2=l;}j.prototype.getURIBuilder=function(k){'use strict';var l=new h(this.$XController1,this.$XController2);if(k){var m=this.getRequest(k);Object.keys(this.$XController2).forEach(function(n){var o=this.$XController2[n],p='';if(!o.required&&!o.hasOwnProperty('defaultValue'))p='Optional';var q='get'+p+o.type,r=m[q](n);if(r==null||o.hasOwnProperty('defaultValue')&&r===o.defaultValue)return;var s='set'+o.type;l[s](n,r);},this);}return l;};j.prototype.getRequest=function(k){'use strict';return new i(this.$XController1,this.$XController2,k);};j.create=function(k,l){'use strict';return new j(k,l);};f.exports=j;},null);
__d('DOMQuery',['CSS','containsNode','createArrayFromMixed','createObjectFrom','ge','getDocumentScrollElement','isElementNode','isNode','isTextNode'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){if(c.__markCompiled)c.__markCompiled();function q(s,t){return s.hasAttribute?s.hasAttribute(t):s.getAttribute(t)!==null;}var r={find:function(s,t){var u=r.scry(s,t);return u[0];},findPushSafe:function(s,t,u){var v=r.scry(s,t),w=r.scry(s,u),x;if(v.length===1&&w.length===1&&v[0]===w[0]){x=v;}else x=v.concat(w);return x[0];},scry:function(s,t){if(!s||!s.getElementsByTagName)return [];var u=t.split(' '),v=[s];for(var w=0;w<u.length;w++){if(v.length===0)break;if(u[w]==='')continue;var x=u[w],y=u[w],z=[],aa=false;if(x.charAt(0)=='^')if(w===0){aa=true;x=x.slice(1);}else return [];x=x.replace(/\[(?:[^=\]]*=(?:"[^"]*"|'[^']*'))?|[.#]/g,' $&');var ba=x.split(' '),ca=ba[0]||'*',da=ca=='*',ea=ba[1]&&ba[1].charAt(0)=='#';if(ea){var fa=l(ba[1].slice(1),s,ca);if(fa&&(da||fa.tagName.toLowerCase()==ca))for(var ga=0;ga<v.length;ga++)if(aa&&r.contains(fa,v[ga])){z=[fa];break;}else if(document==v[ga]||r.contains(v[ga],fa)&&v[ga]!==fa){z=[fa];break;}}else{var ha=[],ia=v.length,ja,ka=!aa&&y.indexOf('[')<0&&document.querySelectorAll;for(var la=0;la<ia;la++){if(aa){ja=[];var ma=v[la].parentNode;while(n(ma)){if(da||ma.tagName.toLowerCase()==ca)ja.push(ma);ma=ma.parentNode;}}else if(ka){ja=v[la].querySelectorAll(y);}else ja=v[la].getElementsByTagName(ca);var na=ja.length;for(var oa=0;oa<na;oa++)ha.push(ja[oa]);}if(!ka)for(var pa=1;pa<ba.length;pa++){var qa=ba[pa],ra=qa.charAt(0)=='.',sa=qa.substring(1);for(la=0;la<ha.length;la++){var ta=ha[la];if(!ta||ta.nodeType!==1)continue;if(ra){if(!h.hasClass(ta,sa))delete ha[la];continue;}else{var ua=qa.slice(1,qa.length-1),va=ua.indexOf('=');if(va<0){if(!q(ta,ua)){delete ha[la];continue;}}else{var wa=ua.substr(0,va),xa=ua.substr(va+1);xa=xa.slice(1,xa.length-1);if(ta.getAttribute(wa)!=xa){delete ha[la];continue;}}}}}for(la=0;la<ha.length;la++)if(ha[la]){z.push(ha[la]);if(aa)break;}}v=z;}return v;},getSelection:function(){var s=window.getSelection,t=document.selection;if(s){return s()+'';}else if(t)return t.createRange().text;return null;},contains:function(s,t){s=l(s);t=l(t);typeof s==='string'||typeof t==='string';return i(s,t);},getRootElement:function(){var s=null;if(window.Quickling&&Quickling.isActive())s=l('content');return s||document.body;},isNode:function(s){return o(s);},isNodeOfType:function(s,t){var u=j(t).join('|').toUpperCase().split('|'),v=k(u);return o(s)&&s.nodeName in v;},isElementNode:function(s){return n(s);},isTextNode:function(s){return p(s);},isInputNode:function(s){return r.isNodeOfType(s,['input','textarea'])||s.contentEditable==='true';},getDocumentScrollElement:m};f.exports=r;},null);
__d('DataStore',['isEmpty'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i={},j=1;function k(n){if(typeof n=='string'){return 'str_'+n;}else return 'elem_'+(n.__FB_TOKEN||(n.__FB_TOKEN=[j++]))[0];}function l(n){var o=k(n);return i[o]||(i[o]={});}var m={set:function(n,o,p){if(!n)throw new TypeError('DataStore.set: namespace is required, got '+typeof n);var q=l(n);q[o]=p;return n;},get:function(n,o,p){if(!n)throw new TypeError('DataStore.get: namespace is required, got '+typeof n);var q=l(n),r=q[o];if(typeof r==='undefined'&&n.getAttribute)if(n.hasAttribute&&!n.hasAttribute('data-'+o)){r=undefined;}else{var s=n.getAttribute('data-'+o);r=null===s?undefined:s;}if(p!==undefined&&r===undefined)r=q[o]=p;return r;},remove:function(n,o){if(!n)throw new TypeError('DataStore.remove: namespace is required, got '+typeof n);var p=l(n),q=p[o];delete p[o];if(h(p))m.purge(n);return q;},purge:function(n){delete i[k(n)];},_storage:i};f.exports=m;},null);
__d('DOMEvent',['invariant'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j){'use strict';this.event=j||window.event;!(typeof this.event.srcElement!='unknown')?h(0):undefined;this.target=this.event.target||this.event.srcElement;}i.prototype.preventDefault=function(){'use strict';var j=this.event;if(j.preventDefault){j.preventDefault();if(!('defaultPrevented' in j))j.defaultPrevented=true;}else j.returnValue=false;return this;};i.prototype.isDefaultPrevented=function(){'use strict';var j=this.event;return 'defaultPrevented' in j?j.defaultPrevented:j.returnValue===false;};i.prototype.stopPropagation=function(){'use strict';var j=this.event;j.stopPropagation?j.stopPropagation():j.cancelBubble=true;return this;};i.prototype.kill=function(){'use strict';this.stopPropagation().preventDefault();return this;};i.killThenCall=function(j){'use strict';return function(k){new i(k).kill();return j();};};f.exports=i;},null);
__d('DOMEventListener',['wrapFunction'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i,j;if(window.addEventListener){i=function(l,m,n){n.wrapper=h(n,'entry','DOMEventListener.add '+m);l.addEventListener(m,n.wrapper,false);};j=function(l,m,n){l.removeEventListener(m,n.wrapper,false);};}else if(window.attachEvent){i=function(l,m,n){n.wrapper=h(n,'entry','DOMEventListener.add '+m);l.attachEvent('on'+m,n.wrapper);};j=function(l,m,n){l.detachEvent('on'+m,n.wrapper);};}else j=i=function(){};var k={add:function(l,m,n){i(l,m,n);return {remove:function(){j(l,m,n);l=null;}};},remove:j};f.exports=k;},null);
__d('Event',['Arbiter','DataStore','DOMQuery','DOMEvent','ErrorUtils','ExecutionEnvironment','Parent','Scroll','TimeSlice','UserAgent','UserAgent_DEPRECATED','DOMEventListener','$','invariant','getObjectValues','event-form-bubbling'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){if(c.__markCompiled)c.__markCompiled();c('event-form-bubbling');var w=b.Event,x='Event.listeners';if(!w.prototype)w.prototype={};function y(ia){if(ia.type==='click'||ia.type==='mouseover'||ia.type==='keydown')h.inform('Event/stop',{event:ia});}function z(ia,ja,ka){this.target=ia;this.type=ja;this.data=ka;}Object.assign(z.prototype,{getData:function(){this.data=this.data||{};return this.data;},stop:function(){return w.stop(this);},prevent:function(){return w.prevent(this);},isDefaultPrevented:function(){return w.isDefaultPrevented(this);},kill:function(){return w.kill(this);},getTarget:function(){return new k(this).target||null;}});function aa(ia){if(ia instanceof z)return ia;if(!ia)if(!window.addEventListener&&document.createEventObject){ia=window.event?document.createEventObject(window.event):{};}else ia={};if(!ia._inherits_from_prototype)for(var ja in w.prototype)try{ia[ja]=w.prototype[ja];}catch(ka){}return ia;}Object.assign(w.prototype,{_inherits_from_prototype:true,getRelatedTarget:function(){var ia=this.relatedTarget||(this.fromElement===this.srcElement?this.toElement:this.fromElement);return ia&&ia.nodeType?ia:null;},getModifiers:function(){var ia={control:!!this.ctrlKey,shift:!!this.shiftKey,alt:!!this.altKey,meta:!!this.metaKey};ia.access=r.osx()?ia.control:ia.alt;ia.any=ia.control||ia.shift||ia.alt||ia.meta;return ia;},isRightClick:function(){if(this.which)return this.which===3;return this.button&&this.button===2;},isMiddleClick:function(){if(this.which)return this.which===2;return this.button&&this.button===4;},isDefaultRequested:function(){return this.getModifiers().any||this.isMiddleClick()||this.isRightClick();}},z.prototype);Object.assign(w,{listen:function(ia,ja,ka,la){if(!m.canUseDOM)return new ha(ka,qa,ja,la,ta);if(typeof ia=='string')ia=t(ia);if(typeof la=='undefined')la=w.Priority.NORMAL;if(typeof ja=='object'){var ma={};for(var na in ja)ma[na]=w.listen(ia,na,ja[na],la);return ma;}if(ja.match(/^on/i))throw new TypeError("Bad event name `"+ja+"': use `click', not `onclick'.");if(ia.nodeName=='LABEL'&&ja=='click'){var oa=ia.getElementsByTagName('input');ia=oa.length==1?oa[0]:ia;}else if(ia===window&&ja==='scroll'){var pa=j.getDocumentScrollElement();if(pa!==document.documentElement&&pa!==document.body)ia=pa;}var qa=i.get(ia,x,{}),ra=da[ja];if(ra){ja=ra.base;if(ra.wrap)ka=ra.wrap(ka);}fa(ia,qa,ja);var sa=qa[ja];if(!(la in sa))sa[la]=[];var ta=sa[la].length,ua=new ha(ka,qa,ja,la,ta);sa[la][ta]=ua;sa.numHandlers++;return ua;},stop:function(ia){var ja=new k(ia).stopPropagation();y(ja.event);return ia;},prevent:function(ia){new k(ia).preventDefault();return ia;},isDefaultPrevented:function(ia){return new k(ia).isDefaultPrevented(ia);},kill:function(ia){var ja=new k(ia).kill();y(ja.event);return false;},getKeyCode:function(event){event=new k(event).event;if(!event)return false;switch(event.keyCode){case 63232:return 38;case 63233:return 40;case 63234:return 37;case 63235:return 39;case 63272:case 63273:case 63275:return null;case 63276:return 33;case 63277:return 34;}if(event.shiftKey)switch(event.keyCode){case 33:case 34:case 37:case 38:case 39:case 40:return null;}return event.keyCode;},getPriorities:function(){if(!ba){var ia=v(w.Priority);ia.sort(function(ja,ka){return ja-ka;});ba=ia;}return ba;},fire:function(ia,ja,ka){var la=new z(ia,ja,ka),ma;do{var na=w.__getHandler(ia,ja);if(na)ma=na(la);ia=ia.parentNode;}while(ia&&ma!==false&&!la.cancelBubble);return ma!==false;},__fire:function(ia,ja,event){var ka=w.__getHandler(ia,ja);if(ka)return ka(aa(event));},__getHandler:function(ia,ja){var ka=i.get(ia,x);if(ka&&ka[ja])return ka[ja].domHandler;return ia['on'+ja];},getPosition:function(ia){ia=new k(ia).event;var ja=j.getDocumentScrollElement(),ka=ia.clientX+o.getLeft(ja),la=ia.clientY+o.getTop(ja);return {x:ka,y:la};}});var ba=null,ca=function(ia){return function(ja){if(!j.contains(this,ja.getRelatedTarget()))return ia.call(this,ja);};},da;if(!window.navigator.msPointerEnabled){da={mouseenter:{base:'mouseover',wrap:ca},mouseleave:{base:'mouseout',wrap:ca}};}else da={mousedown:{base:'MSPointerDown'},mousemove:{base:'MSPointerMove'},mouseup:{base:'MSPointerUp'},mouseover:{base:'MSPointerOver'},mouseout:{base:'MSPointerOut'},mouseenter:{base:'MSPointerOver',wrap:ca},mouseleave:{base:'MSPointerOut',wrap:ca}};if(r.firefox()){var ea=function(ia,event){event=aa(event);var ja=event.getTarget();while(ja){w.__fire(ja,ia,event);ja=ja.parentNode;}};document.documentElement.addEventListener('focus',ea.bind(null,'focusin'),true);document.documentElement.addEventListener('blur',ea.bind(null,'focusout'),true);}var fa=function(ia,ja,ka){if(ka in ja)return;var la=p.guard(ga.bind(ia,ka),'Event listenHandler '+ka);ja[ka]={numHandlers:0,domHandlerRemover:s.add(ia,ka,la),domHandler:la};var ma='on'+ka;if(ia[ma]){var na=ia===document.documentElement?w.Priority._BUBBLE:w.Priority.TRADITIONAL,oa=ia[ma];ia[ma]=null;w.listen(ia,ka,oa,na);}if(ia.nodeName==='FORM'&&ka==='submit'&&q.isBrowser('IE < 9'))w.listen(ia,ka,w.__bubbleSubmit.bind(null,ia),w.Priority._BUBBLE);},ga=function(ia,event){event=aa(event);if(!i.get(this,x))throw new Error("Bad listenHandler context.");var ja=i.get(this,x)[ia];if(!ja)throw new Error("No registered handlers for `"+ia+"'.");if(ia=='click'){var ka=n.byTag(event.getTarget(),'a');if(window.clickRefAction)window.clickRefAction('click',ka,event);}var la=w.getPriorities();for(var ma=0;ma<la.length;ma++){var na=la[ma];if(na in ja){var oa=ja[na];for(var pa=0;pa<oa.length;pa++){if(!oa[pa])continue;var qa=oa[pa].fire(this,event);if(qa===false){return event.kill();}else if(event.cancelBubble)event.stop();}}}return event.returnValue;};w.Priority={URGENT:-20,TRADITIONAL:-10,NORMAL:0,_BUBBLE:1000};function ha(ia,ja,ka,la,ma){this._handler=ia;this._handlers=ja;this._type=ka;this._priority=la;this._id=ma;}Object.assign(ha.prototype,{remove:function(){if(m.canUseDOM){!this._handlers?u(0):undefined;var ia=this._handlers[this._type];if(ia.numHandlers<=1){ia.domHandlerRemover.remove();delete this._handlers[this._type];}else{delete ia[this._priority][this._id];ia.numHandlers--;}this._handlers=null;}},fire:function(ia,event){if(m.canUseDOM)return l.applyWithGuard(this._handler,ia,[event],function(ja){ja.event_type=event.type;ja.dom_element=ia.name||ia.id;ja.category='eventhandler';});return true;}});b.$E=w.$E=aa;f.exports=w;},null);
__d('DOM',['DOMQuery','Event','HTML','UserAgent_DEPRECATED','$','createArrayFromMixed','getOrCreateDOMID','isScalar','FbtResult'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){if(c.__markCompiled)c.__markCompiled();var q={create:function(t,u,v){var w=document.createElement(t);if(u)q.setAttributes(w,u);if(v!=null)q.setContent(w,v);return w;},setAttributes:function(t,u){if(u.type)t.type=u.type;for(var v in u){var w=u[v],x=/^on/i.test(v);if(v=='type'){continue;}else if(v=='style'){if(typeof w=='string'){t.style.cssText=w;}else Object.assign(t.style,w);}else if(x){i.listen(t,v.substr(2),w);}else if(v in t){t[v]=w;}else if(t.setAttribute)t.setAttribute(v,w);}},prependContent:function(t,u){return s(u,t,function(v){t.firstChild?t.insertBefore(v,t.firstChild):t.appendChild(v);});},insertAfter:function(t,u){var v=t.parentNode;return s(u,v,function(w){t.nextSibling?v.insertBefore(w,t.nextSibling):v.appendChild(w);});},insertBefore:function(t,u){var v=t.parentNode;return s(u,v,function(w){v.insertBefore(w,t);});},setContent:function(t,u){while(t.firstChild)r(t.firstChild);return q.appendContent(t,u);},appendContent:function(t,u){return s(u,t,function(v){t.appendChild(v);});},replace:function(t,u){var v=t.parentNode;return s(u,v,function(w){v.replaceChild(w,t);});},remove:function(t){r(l(t));},empty:function(t){t=l(t);while(t.firstChild)r(t.firstChild);},getID:n};Object.assign(q,h);function r(t){if(t.parentNode)t.parentNode.removeChild(t);}function s(t,u,v){t=j.replaceJSONWrapper(t);if(t instanceof j&&''===u.innerHTML&&-1===t.toString().indexOf('<scr'+'ipt')){var w=k.ie();if(!w||w>7&&!h.isNodeOfType(u,['table','tbody','thead','tfoot','tr','select','fieldset'])){var x=w?'<em style="display:none;">&nbsp;</em>':'';u.innerHTML=x+t;w&&u.removeChild(u.firstChild);return m(u.childNodes);}}else if(h.isTextNode(u)){u.data=t;return [t];}var y=document.createDocumentFragment(),z,aa=[],ba=[];t=m(t);if(t.length===1&&t[0] instanceof p)t=t[0].getContents();for(var ca=0;ca<t.length;ca++){z=j.replaceJSONWrapper(t[ca]);if(z instanceof j){ba.push(z.getAction());var da=z.getNodes();for(var ea=0;ea<da.length;ea++){aa.push(da[ea]);y.appendChild(da[ea]);}}else if(o(z)||z instanceof p){var fa=document.createTextNode(z);aa.push(fa);y.appendChild(fa);}else if(h.isNode(z)){aa.push(z);y.appendChild(z);}}v(y);ba.forEach(function(ga){ga();});return aa;}f.exports=q;},null);
__d('ARIA',['DOM','emptyFunction','ge'],function a(b,c,d,e,f,g,h,i,j){if(c.__markCompiled)c.__markCompiled();var k,l,m=function(){k=j('ariaAssertiveAlert');if(!k){k=h.create('div',{id:'ariaAssertiveAlert',className:'accessible_elem','aria-live':'assertive'});h.appendContent(document.body,k);}l=j('ariaPoliteAlert');if(!l){l=k.cloneNode(false);l.setAttribute('id','ariaPoliteAlert');l.setAttribute('aria-live','polite');h.appendContent(document.body,l);}m=i;};function n(p,q){m();var r=q?k:l;h.setContent(r,p);}var o={owns:function(p,q){p.setAttribute('aria-owns',h.getID(q));},setPopup:function(p,q){var r=h.getID(q);p.setAttribute('aria-owns',r);p.setAttribute('aria-haspopup','true');if(p.tabIndex==-1)p.tabIndex=0;},announce:function(p){n(p,true);},notify:function(p){n(p);}};f.exports=o;},null);
__d('ArbiterMixin',['Arbiter','guid'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j="arbiter$"+i(),k=Object.prototype.hasOwnProperty,l={_getArbiterInstance:function(){return k.call(this,j)?this[j]:this[j]=new h();},inform:function(m,n,o){return this._getArbiterInstance().inform(m,n,o);},subscribe:function(m,n,o){return this._getArbiterInstance().subscribe(m,n,o);},subscribeOnce:function(m,n,o){return this._getArbiterInstance().subscribeOnce(m,n,o);},unsubscribe:function(m){this._getArbiterInstance().unsubscribe(m);},unsubscribeCurrentSubscription:function(){this._getArbiterInstance().unsubscribeCurrentSubscription();},releaseCurrentPersistentEvent:function(){this._getArbiterInstance().releaseCurrentPersistentEvent();},registerCallback:function(m,n){return this._getArbiterInstance().registerCallback(m,n);},query:function(m){return this._getArbiterInstance().query(m);}};f.exports=l;},null);
__d('AsyncResponse',['Bootloader','DTSG','SiteData','errorCode'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();function l(m,n){'use strict';Object.assign(this,{error:0,errorSummary:null,errorDescription:null,onload:null,replay:false,payload:n||null,request:m||null,silentError:false,transientError:false,blockedAction:false,is_last:true});return this;}l.prototype.getRequest=function(){'use strict';return this.request;};l.prototype.getPayload=function(){'use strict';return this.payload;};l.prototype.getError=function(){'use strict';return this.error;};l.prototype.getErrorSummary=function(){'use strict';return this.errorSummary;};l.prototype.setErrorSummary=function(m){'use strict';m=m===undefined?null:m;this.errorSummary=m;return this;};l.prototype.getErrorDescription=function(){'use strict';return this.errorDescription;};l.prototype.getErrorIsWarning=function(){'use strict';return !!this.errorIsWarning;};l.prototype.isTransient=function(){'use strict';return !!this.transientError;};l.prototype.isBlockedAction=function(){'use strict';return !!this.blockedAction;};l.prototype.logError=function(m,n){'use strict';var o=b.ErrorSignal;if(o){var p={err_code:this.error,vip:j.vip||'-'};if(n){p.duration=n.duration;p.xfb_ip=n.xfb_ip;}var q=this.request.getURI();p.path=q||'-';p.aid=this.request.userActionID;if(q&&q.indexOf('scribe_endpoint.php')!=-1)m='async_error_double';o.sendErrorSignal(m,JSON.stringify(p));}};l.prototype.logErrorByGroup=function(m,n){'use strict';if(Math.floor(Math.random()*n)===0)if(this.error==1357010||this.error<15000){this.logError('async_error_oops_'+m);}else this.logError('async_error_logic_'+m);};l.defaultErrorHandler=function(m){'use strict';try{if(!m.silentError){l.verboseErrorHandler(m);}else m.logErrorByGroup('silent',10);}catch(n){alert(m);}};l.verboseErrorHandler=function(m){'use strict';h.loadModules(["ExceptionDialog"],function(n){return n.showAsyncError(m);});};l.renewDTSG=function(m){'use strict';i.setToken(m);};f.exports=l;},null);
__d('HTTPErrors',['emptyFunction'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i={get:h,getAll:h};f.exports=i;},null);
__d('isMessengerDotComURI',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=new RegExp('(^|\\.)messenger\\.com$','i'),i=['https'];function j(k){if(k.isEmpty()&&k.toString()!=='#')return false;if(!k.getDomain()&&!k.getProtocol())return false;return (i.indexOf(k.getProtocol())!==-1&&h.test(k.getDomain()));}f.exports=j;},null);
__d('bind',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i,j){var k=Array.prototype.slice.call(arguments,2);if(typeof j!='string')return Function.prototype.bind.apply(j,[i].concat(k));function l(){var m=k.concat(Array.prototype.slice.call(arguments));if(i[j])return i[j].apply(i,m);}l.toString=function(){return 'bound lazily: '+i[j];};return l;}f.exports=h;},null);
__d("executeAfter",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i,j,k){return function l(){i.apply(k||this,arguments);j.apply(k||this,arguments);};}f.exports=h;},null);
__d('JSONPTransport',['ArbiterMixin','DOM','HTML','TimeSlice','URI','mixin'],function a(b,c,d,e,f,g,h,i,j,k,l,m){if(c.__markCompiled)c.__markCompiled();var n,o,p={},q=2,r='jsonp',s='iframe';function t(v){delete p[v];}n=babelHelpers.inherits(u,m(h));o=n&&n.prototype;function u(v,w){'use strict';o.constructor.call(this);this._type=v;this._uri=w;this._hasResponse=false;p[this.getID()]=this;}u.prototype.getID=function(){'use strict';return this._id||(this._id=q++);};u.prototype.hasFinished=function(){'use strict';return !(this.getID() in p);};u.prototype.getRequestURI=function(){'use strict';return new l(this._uri).addQueryData({__a:1,__adt:this.getID(),__req:'jsonp_'+this.getID()});};u.prototype.getTransportFrame=function(){'use strict';if(this._iframe)return this._iframe;var v='transport_frame_'+this.getID(),w=j('<iframe class="hidden_elem" name="'+v+'" src="javascript:void(0)" />');return this._iframe=i.appendContent(document.body,w)[0];};u.prototype.send=function(){'use strict';if(this._type===r){setTimeout((function(){i.appendContent(document.body,i.create('script',{src:this.getRequestURI().toString(),type:'text/javascript'}));}).bind(this),0);}else{this.getTransportFrame().onload=this._checkForErrors.bind(this);this.getTransportFrame().src=this.getRequestURI().toString();}};u.prototype.handleResponse=function(v){'use strict';this.inform('response',v);if(this.hasFinished())setTimeout(this._cleanup.bind(this),0);};u.prototype.abort=function(){'use strict';if(this._aborted)return;this._aborted=true;this._cleanup();t(this.getID());this.inform('abort');};u.prototype._checkForErrors=function(){'use strict';if(!this._hasResponse)this.abort();};u.prototype._cleanup=function(){'use strict';if(this._iframe){i.remove(this._iframe);this._iframe=null;}};u.respond=function(v,w,x){'use strict';var y=p[v];if(y){y._hasResponse=true;if(!x)t(v);if(y._type==s)if(typeof w==='string'){w=JSON.parse(w);}else w=JSON.parse(JSON.stringify(w));y.handleResponse(w);}else{var z=b.ErrorSignal;if(z&&!x)z.logJSError('ajax',{error:'UnexpectedJsonResponse',extra:{id:v,uri:w.payload&&w.payload.uri||''}});}};u.respond=k.guard(u.respond,'JSONPTransport.respond',{root:true});f.exports=u;},null);
__d('AsyncRequest',['Arbiter','AsyncRequestConfig','AsyncResponse','Bootloader','CSS','DTSG','Env','ErrorUtils','Event','HTTPErrors','JSCC','Parent','PHPQuerySerializer','Run','ServerJS','TimeSlice','URI','UserAgent_DEPRECATED','isFacebookURI','isMessengerDotComURI','bind','emptyFunction','errorCode','evalGlobal','executeAfter','ge','getAsyncParams','getSameOriginTransport','goURI','invariant','isEmpty','ix','setTimeout','setTimeoutAcrossTransitions','fbt'],function a(global,require,requireDynamic,requireLazy,module,exports,Arbiter,AsyncRequestConfig,AsyncResponse,Bootloader,CSS,DTSG,Env,ErrorUtils,Event,HTTPErrors,JSCC,Parent,PHPQuerySerializer,Run,ServerJS,TimeSlice,URI,UserAgent_DEPRECATED,isFacebookURI,isMessengerDotComURI,bind,emptyFunction,errorCode,evalGlobal,executeAfter,ge,getAsyncParams,getSameOriginTransport,goURI,invariant,isEmpty,ix,setTimeout,setTimeoutAcrossTransitions,fbt){if(require.__markCompiled)require.__markCompiled();function hasUnloaded(){try{return !window.domready;}catch(ignore){return true;}}function supportsUploadProgress(transport){return 'upload' in transport&&'onprogress' in transport.upload;}function supportsCrossOrigin(transport){return 'withCredentials' in transport;}function isNetworkError(transport){return transport.status in {0:1,12029:1,12030:1,12031:1,12152:1};}function validateResponseHandler(handler){var valid=!handler||typeof handler==='function';return valid;}var last_id=2,id_threshold=last_id;Arbiter.subscribe('page_transition',function(_,message){id_threshold=message.id;});function AsyncRequest(uri){'use strict';Object.assign(this,{transport:null,method:'POST',uri:'',timeout:null,timer:null,initialHandler:emptyFunction,handler:null,uploadProgressHandler:null,errorHandler:null,transportErrorHandler:null,timeoutHandler:null,interceptHandler:emptyFunction,finallyHandler:emptyFunction,abortHandler:emptyFunction,serverDialogCancelHandler:null,relativeTo:null,statusElement:null,statusClass:'',data:{},headers:{},file:null,context:{},readOnly:false,writeRequiredParams:[],remainingRetries:0,userActionID:'-'});this.option={asynchronous:true,suppressErrorHandlerWarning:false,suppressEvaluation:false,suppressErrorAlerts:false,retries:0,jsonp:false,bundle:false,useIframeTransport:false,handleErrorAfterUnload:false};this.errorHandler=AsyncResponse.defaultErrorHandler;this.transportErrorHandler=bind(this,'errorHandler');if(uri!==undefined)this.setURI(uri);}AsyncRequest.prototype._dispatchResponse=function(asyncResponse){'use strict';this.clearStatusIndicator();if(!this._isRelevant()){this._invokeErrorHandler(1010);return;}if(this.initialHandler(asyncResponse)===false)return;clearTimeout(this.timer);if(asyncResponse.jscc_map){var jscc_map=eval(asyncResponse.jscc_map);JSCC.init(jscc_map);}var suppress_js;if(this.handler)try{suppress_js=this._shouldSuppressJS(this.handler(asyncResponse));}catch(e){asyncResponse.is_last&&this.finallyHandler(asyncResponse);throw e;}if(!suppress_js)this._handleJSResponse(asyncResponse);asyncResponse.is_last&&this.finallyHandler(asyncResponse);};AsyncRequest.prototype._shouldSuppressJS=function(handler_return_value){'use strict';return handler_return_value===AsyncRequest.suppressOnloadToken;};AsyncRequest.prototype._handleJSResponse=function(asyncResponse){'use strict';var relativeTo=this.getRelativeTo(),domOps=asyncResponse.domops,dtsgToken=asyncResponse.dtsgToken,jsMods=asyncResponse.jsmods,serverJS=new ServerJS().setRelativeTo(relativeTo),requires;if(jsMods&&jsMods.require){requires=jsMods.require;delete jsMods.require;}if(jsMods)serverJS.handle(jsMods);if(dtsgToken)DTSG.setToken(dtsgToken);var finishHandleResp=(function(AsyncDOM){if(domOps&&AsyncDOM)AsyncDOM.invoke(domOps,relativeTo);if(requires)serverJS.handle({require:requires});this._handleJSRegisters(asyncResponse,'onload');if(this.lid)Arbiter.inform('tti_ajax',{s:this.lid,d:[this._sendTimeStamp||0,this._sendTimeStamp&&this._responseTime?this._responseTime-this._sendTimeStamp:0]},Arbiter.BEHAVIOR_EVENT);this._handleJSRegisters(asyncResponse,'onafterload');serverJS.cleanup();}).bind(this);if(domOps){Bootloader.loadModules(["AsyncDOM"],finishHandleResp);}else finishHandleResp(null);};AsyncRequest.prototype._handleJSRegisters=function(asyncResponse,phase){'use strict';var registers=asyncResponse[phase];if(registers)for(var ii=0;ii<registers.length;ii++)ErrorUtils.applyWithGuard(new Function(registers[ii]),this);};AsyncRequest.prototype.invokeResponseHandler=function(interpreted){'use strict';if(typeof interpreted.redirect!=='undefined'){setTimeout((function(){this.setURI(interpreted.redirect).send();}).bind(this),0);return;}if(!this.handler&&!this.errorHandler&&!this.transportErrorHandler)return;var response=interpreted.asyncResponse;if(typeof response!=='undefined'){if(!this._isRelevant()){this._invokeErrorHandler(1010);return;}if(response.inlinejs)evalGlobal(response.inlinejs);if(response.lid){this._responseTime=Date.now();if(global.CavalryLogger)this.cavalry=global.CavalryLogger.getInstance(response.lid);this.lid=response.lid;}if(response.resource_map)Bootloader.setResourceMap(response.resource_map);if(response.bootloadable)Bootloader.enableBootload(response.bootloadable);ix.add(response.ixData);var dispatch,arbiter_event;if(response.getError()&&!response.getErrorIsWarning()){var handler=this.errorHandler.bind(this);dispatch=ErrorUtils.guard(this._dispatchErrorResponse,'AsyncRequest#_dispatchErrorResponse for '+this.getURI());dispatch=dispatch.bind(this,response,handler);arbiter_event='error';}else{dispatch=ErrorUtils.guard(this._dispatchResponse,'AsyncRequest#_dispatchResponse for '+this.getURI());dispatch=dispatch.bind(this,response);arbiter_event='response';}dispatch=executeAfter(dispatch,(function(){Arbiter.inform('AsyncRequest/'+arbiter_event,{request:this,response:response});}).bind(this));var replace=false;if(this.preBootloadHandler)replace=this.preBootloadHandler(response);response.css=response.css||[];response.js=response.js||[];Bootloader.loadResources(response.css.concat(response.js),function(){setTimeout(dispatch,0);},replace,this.getURI());}else if(typeof interpreted.transportError!=='undefined'){if(this._xFbServer){this._invokeErrorHandler(1008);}else this._invokeErrorHandler(1012);}else this._invokeErrorHandler(1007);};AsyncRequest.prototype._invokeErrorHandler=function(explicitError){'use strict';var error;if(this.responseText===''){error=1002;}else if(this._requestAborted){error=1011;}else{try{error=explicitError||this.transport.status||1004;}catch(e2){error=1005;}if(false===navigator.onLine)error=1006;}var desc,summary,silent=true;if(error===1006){summary=fbt._("No Network Connection");desc=fbt._("Your browser appears to be offline. Please check your internet connection and try again.");}else if(error>=300&&error<=399){summary=fbt._("Redirection");desc=fbt._("Your access to Facebook was redirected or blocked by a third party at this time, please contact your ISP or reload.");var location=this.transport.getResponseHeader("Location");if(location)goURI(location,true);silent=true;}else{summary=fbt._("Oops");desc=fbt._("Something went wrong. We're working on getting this fixed as soon as we can. You may be able to try again.");}var async_response=new AsyncResponse(this);Object.assign(async_response,{error:error,errorSummary:summary,errorDescription:desc,silentError:silent});setTimeout((function(){Arbiter.inform('AsyncRequest/error',{request:this,response:async_response});}).bind(this),0);if(hasUnloaded()&&!this.getOption('handleErrorAfterUnload'))return;if(!this.transportErrorHandler)return;var error_handler=this.transportErrorHandler.bind(this);!this.getOption('suppressErrorAlerts');ErrorUtils.applyWithGuard(this._dispatchErrorResponse,this,[async_response,error_handler]);};AsyncRequest.prototype._dispatchErrorResponse=function(asyncResponse,errorHandler){'use strict';var error=asyncResponse.getError();this.clearStatusIndicator();var log_data=this._sendTimeStamp&&{duration:Date.now()-this._sendTimeStamp,xfb_ip:this._xFbServer||'-'};asyncResponse.logError('async_error',log_data);if(!this._isRelevant()||error===1010){this.abort();return;}if(error==1357008||error==1357007||error==1357041||error==1442002||error==1357001){var is_confirmation=error==1357008||error==1357007;this.interceptHandler(asyncResponse);if(error==1357041){this._solveQuicksandChallenge(asyncResponse);}else this._displayServerDialog(asyncResponse,is_confirmation);}else if(this.initialHandler(asyncResponse)!==false){clearTimeout(this.timer);try{errorHandler(asyncResponse);}catch(e){this.finallyHandler(asyncResponse);throw e;}this.finallyHandler(asyncResponse);}};AsyncRequest.prototype._solveQuicksandChallenge=function(async_response){'use strict';var payload=async_response.getPayload();Bootloader.loadModules(["QuickSandSolver"],(function(QuickSandSolver){QuickSandSolver.solveAndSendRequestBack(this,payload);}).bind(this));};AsyncRequest.prototype._displayServerDialog=function(async_response,is_confirmation){'use strict';var payload=async_response.getPayload();if(payload.__dialog!==undefined){this._displayServerLegacyDialog(async_response,is_confirmation);return;}var json=payload.__dialogx;new ServerJS().handle(json);Bootloader.loadModules(["ConfirmationDialog"],(function(ConfirmationDialog){ConfirmationDialog.setupConfirmation(async_response,this);}).bind(this));};AsyncRequest.prototype._displayServerLegacyDialog=function(async_response,is_confirmation){'use strict';var model=async_response.getPayload().__dialog;Bootloader.loadModules(["Dialog"],(function(Dialog){var dialog=new Dialog(model);if(is_confirmation)dialog.setHandler(this._displayConfirmationHandler.bind(this,dialog));dialog.setCancelHandler((function(){var handler=this.getServerDialogCancelHandler();try{handler&&handler(async_response);}catch(e){throw e;}finally{this.finallyHandler(async_response);}}).bind(this)).setCausalElement(this.relativeTo).show();}).bind(this));};AsyncRequest.prototype._displayConfirmationHandler=function(dialog){'use strict';this.data.confirmed=1;Object.assign(this.data,dialog.getFormData());this.send();};AsyncRequest.prototype.setJSONPTransport=function(transport){'use strict';transport.subscribe('response',this._handleJSONPResponse.bind(this));transport.subscribe('abort',this._handleJSONPAbort.bind(this));this.transport=transport;};AsyncRequest.prototype._handleJSONPResponse=function(_,data){'use strict';this.is_first=this.is_first===undefined;var interpreted=this._interpretResponse(data);interpreted.asyncResponse.is_first=this.is_first;interpreted.asyncResponse.is_last=this.transport.hasFinished();this.invokeResponseHandler(interpreted);if(this.transport.hasFinished())delete this.transport;};AsyncRequest.prototype._handleJSONPAbort=function(){'use strict';this._invokeErrorHandler();delete this.transport;};AsyncRequest.prototype._handleXHRResponse=function(transport){'use strict';var interpreted;if(this.getOption('suppressEvaluation')){interpreted={asyncResponse:new AsyncResponse(this,transport)};}else{var text=transport.responseText,error=null;try{var safe_text=this._unshieldResponseText(text);try{var response=eval('('+safe_text+')');interpreted=this._interpretResponse(response);}catch(exception){error='excep';interpreted={transportError:'eval() failed on async to '+this.getURI()};}}catch(exception){error='empty';interpreted={transportError:exception.message};}if(error){var ErrorSignal=global.ErrorSignal;ErrorSignal&&ErrorSignal.sendErrorSignal('async_xport_resp',[(this._xFbServer?'1008_':'1012_')+error,this._xFbServer||'-',this.getURI(),text.length,text.substr(0,1600)].join(':'));}}this.invokeResponseHandler(interpreted);};AsyncRequest.prototype._unshieldResponseText=function(text){'use strict';var shield="for (;;);",shieldlen=shield.length;if(text.length<=shieldlen)throw new Error('Response too short on async to '+this.getURI());var offset=0;while(text.charAt(offset)==" "||text.charAt(offset)=="\n")offset++;offset&&text.substring(offset,offset+shieldlen)==shield;return text.substring(offset+shieldlen);};AsyncRequest.prototype._interpretResponse=function(response){'use strict';if(response.redirect)return {redirect:response.redirect};var r=new AsyncResponse(this);if(response.__ar!=1){r.payload=response;}else Object.assign(r,response);return {asyncResponse:r};};AsyncRequest.prototype._onStateChange=function(){'use strict';try{if(this.transport.readyState==4){AsyncRequest._inflightCount--;AsyncRequest._inflightPurge();try{if(typeof this.transport.getResponseHeader!=='undefined'&&this.transport.getResponseHeader('X-FB-Debug'))this._xFbServer=this.transport.getResponseHeader('X-FB-Debug');}catch(ignore){}if(this.transport.status>=200&&this.transport.status<300){AsyncRequest.lastSuccessTime=Date.now();this._handleXHRResponse(this.transport);}else if(UserAgent_DEPRECATED.webkit()&&typeof this.transport.status=='undefined'){this._invokeErrorHandler(1002);}else if(AsyncRequestConfig.retryOnNetworkError&&isNetworkError(this.transport)&&this.remainingRetries>0&&!this._requestTimeout){this.remainingRetries--;delete this.transport;this.send(true);return;}else this._invokeErrorHandler();if(this.getOption('asynchronous')!==false)delete this.transport;}}catch(exception){if(hasUnloaded())return;delete this.transport;if(this.remainingRetries>0){this.remainingRetries--;this.send(true);}else{!this.getOption('suppressErrorAlerts');var ErrorSignal=global.ErrorSignal;ErrorSignal&&ErrorSignal.sendErrorSignal('async_xport_resp',[1007,this._xFbServer||'-',this.getURI(),exception.message].join(':'));this._invokeErrorHandler(1007);}}};AsyncRequest.prototype._isMultiplexable=function(){'use strict';if(this.getOption('jsonp')||this.getOption('useIframeTransport'))return false;if(!isFacebookURI(this.uri))return false;if(!this.getOption('asynchronous'))return false;return true;};AsyncRequest.prototype.handleResponse=function(response){'use strict';var interpreted=this._interpretResponse(response);this.invokeResponseHandler(interpreted);};AsyncRequest.prototype.setMethod=function(m){'use strict';this.method=m.toString().toUpperCase();return this;};AsyncRequest.prototype.getMethod=function(){'use strict';return this.method;};AsyncRequest.prototype.setData=function(obj){'use strict';this.data=obj;return this;};AsyncRequest.prototype.setRequestHeader=function(name,value){'use strict';this.headers[name]=value;return this;};AsyncRequest.prototype.setRawData=function(raw_data){'use strict';this.rawData=raw_data;return this;};AsyncRequest.prototype.getData=function(){'use strict';return this.data;};AsyncRequest.prototype.setContextData=function(key,value,enabled){'use strict';enabled=enabled===undefined?true:enabled;if(enabled)this.context['_log_'+key]=value;return this;};AsyncRequest.prototype._setUserActionID=function(){'use strict';var SessionName=global.SessionName;this.userActionID=(SessionName&&SessionName.getName()||'-')+'/-';};AsyncRequest.prototype.setURI=function(uri){'use strict';var uri_obj=new URI(uri);if(this.getOption('useIframeTransport')&&!isFacebookURI(uri_obj))return this;if(!this._allowCrossOrigin&&!this.getOption('jsonp')&&!this.getOption('useIframeTransport')&&!uri_obj.isSameOrigin())return this;this._setUserActionID();if(!uri||uri_obj.isEmpty()){var ErrorSignal=global.ErrorSignal,getErrorStack=global.getErrorStack;if(ErrorSignal&&getErrorStack){var data={err_code:1013,vip:'-',duration:0,xfb_ip:'-',path:window.location.href,aid:this.userActionID};ErrorSignal.sendErrorSignal('async_error',JSON.stringify(data));ErrorSignal.sendErrorSignal('async_xport_stack',[1013,window.location.href,null,getErrorStack()].join(':'));}return this;}this.uri=uri_obj;return this;};AsyncRequest.prototype.getURI=function(){'use strict';return this.uri.toString();};AsyncRequest.prototype.setInitialHandler=function(fn){'use strict';this.initialHandler=fn;return this;};AsyncRequest.prototype.setHandler=function(fn){'use strict';if(validateResponseHandler(fn))this.handler=fn;return this;};AsyncRequest.prototype.getHandler=function(){'use strict';return this.handler||emptyFunction;};AsyncRequest.prototype.setUploadProgressHandler=function(fn){'use strict';if(validateResponseHandler(fn))this.uploadProgressHandler=fn;return this;};AsyncRequest.prototype.setErrorHandler=function(fn){'use strict';if(validateResponseHandler(fn))this.errorHandler=fn;return this;};AsyncRequest.prototype.setTransportErrorHandler=function(fn){'use strict';this.transportErrorHandler=fn;return this;};AsyncRequest.prototype.getErrorHandler=function(){'use strict';return this.errorHandler;};AsyncRequest.prototype.getTransportErrorHandler=function(){'use strict';return this.transportErrorHandler;};AsyncRequest.prototype.setTimeoutHandler=function(timeout,fn){'use strict';if(validateResponseHandler(fn)){this.timeout=timeout;this.timeoutHandler=fn;}return this;};AsyncRequest.prototype.resetTimeout=function(timeout){'use strict';if(!(this.timeoutHandler===null))if(timeout===null){this.timeout=null;clearTimeout(this.timer);this.timer=null;}else{var clear_on_quickling_event=!this._allowCrossPageTransition;this.timeout=timeout;clearTimeout(this.timer);if(clear_on_quickling_event){this.timer=setTimeout(this._handleTimeout.bind(this),this.timeout);}else this.timer=setTimeoutAcrossTransitions(this._handleTimeout.bind(this),this.timeout);}return this;};AsyncRequest.prototype._handleTimeout=function(){'use strict';this._requestTimeout=true;this.abandon();this.timeoutHandler(this);};AsyncRequest.prototype.setNewSerial=function(){'use strict';this.id=++last_id;return this;};AsyncRequest.prototype.setInterceptHandler=function(fn){'use strict';this.interceptHandler=fn;return this;};AsyncRequest.prototype.setFinallyHandler=function(fn){'use strict';this.finallyHandler=fn;return this;};AsyncRequest.prototype.setAbortHandler=function(fn){'use strict';this.abortHandler=fn;return this;};AsyncRequest.prototype.getServerDialogCancelHandler=function(){'use strict';return this.serverDialogCancelHandler;};AsyncRequest.prototype.setServerDialogCancelHandler=function(fn){'use strict';this.serverDialogCancelHandler=fn;return this;};AsyncRequest.prototype.setPreBootloadHandler=function(fn){'use strict';this.preBootloadHandler=fn;return this;};AsyncRequest.prototype.setReadOnly=function(readOnly){'use strict';if(!(typeof readOnly!='boolean'))this.readOnly=readOnly;return this;};AsyncRequest.prototype.setFBMLForm=function(){'use strict';this.writeRequiredParams=["fb_sig"];return this;};AsyncRequest.prototype.getReadOnly=function(){'use strict';return this.readOnly;};AsyncRequest.prototype.setRelativeTo=function(element){'use strict';this.relativeTo=element;return this;};AsyncRequest.prototype.getRelativeTo=function(){'use strict';return this.relativeTo;};AsyncRequest.prototype.setStatusClass=function(c){'use strict';this.statusClass=c;return this;};AsyncRequest.prototype.setStatusElement=function(element){'use strict';this.statusElement=element;return this;};AsyncRequest.prototype.getStatusElement=function(){'use strict';return ge(this.statusElement);};AsyncRequest.prototype._isRelevant=function(){'use strict';if(this._allowCrossPageTransition)return true;if(!this.id)return true;return this.id>id_threshold;};AsyncRequest.prototype.clearStatusIndicator=function(){'use strict';var statusElem=this.getStatusElement();if(statusElem){CSS.removeClass(statusElem,'async_saving');CSS.removeClass(statusElem,this.statusClass);}};AsyncRequest.prototype.addStatusIndicator=function(){'use strict';var statusElem=this.getStatusElement();if(statusElem){CSS.addClass(statusElem,'async_saving');CSS.addClass(statusElem,this.statusClass);}};AsyncRequest.prototype.specifiesWriteRequiredParams=function(){'use strict';return this.writeRequiredParams.every(function(param){this.data[param]=this.data[param]||Env[param]||(ge(param)||{}).value;if(this.data[param]!==undefined)return true;return false;},this);};AsyncRequest.prototype.setOption=function(opt,v){'use strict';if(typeof this.option[opt]!='undefined')this.option[opt]=v;return this;};AsyncRequest.prototype.getOption=function(opt){'use strict';typeof this.option[opt]=='undefined';return this.option[opt];};AsyncRequest.prototype.abort=function(){'use strict';if(this.transport){var old_handler=this.getTransportErrorHandler();this.setOption('suppressErrorAlerts',true);this.setTransportErrorHandler(emptyFunction);this._requestAborted=true;this.transport.abort();this.setTransportErrorHandler(old_handler);}this.abortHandler();AsyncMultiplex.unschedule(this);};AsyncRequest.prototype.abandon=function(){'use strict';clearTimeout(this.timer);this.setOption('suppressErrorAlerts',true).setHandler(emptyFunction).setErrorHandler(emptyFunction).setTransportErrorHandler(emptyFunction);if(this.transport){this._requestAborted=true;this.transport.abort();}this.abortHandler();AsyncMultiplex.unschedule(this);};AsyncRequest.prototype.setNectarData=function(nctrParams){'use strict';if(nctrParams){if(this.data.nctr===undefined)this.data.nctr={};Object.assign(this.data.nctr,nctrParams);}return this;};AsyncRequest.prototype.setNectarModuleDataSafe=function(elem){'use strict';if(this.setNectarModuleData)this.setNectarModuleData(elem);return this;};AsyncRequest.prototype.setNectarImpressionIdSafe=function(){'use strict';if(this.setNectarImpressionId)this.setNectarImpressionId();return this;};AsyncRequest.prototype.setAllowCrossPageTransition=function(allow){'use strict';this._allowCrossPageTransition=!!allow;if(this.timer)this.resetTimeout(this.timeout);return this;};AsyncRequest.prototype.setAllowIrrelevantRequests=function(allowIrrelevantRequests){'use strict';this._allowIrrelevantRequests=allowIrrelevantRequests;return this;};AsyncRequest.prototype.setAllowCrossOrigin=function(allow){'use strict';this._allowCrossOrigin=allow;return this;};AsyncRequest.prototype.setAllowCredentials=function(allow){'use strict';this._allowCredentials=allow;return this;};AsyncRequest.prototype.setIsBackgroundRequest=function(isBackgroundRequest){'use strict';this._isBackgroundRequest=isBackgroundRequest;return this;};AsyncRequest.prototype.send=function(isRetry){'use strict';isRetry=isRetry||false;if(!this.uri)return false;!this.errorHandler&&!this.getOption('suppressErrorHandlerWarning');if(this.getOption('jsonp')&&this.method!='GET')this.setMethod('GET');if(this.getOption('useIframeTransport')&&this.method!='GET')this.setMethod('GET');this.timeoutHandler!==null&&(this.getOption('jsonp')||this.getOption('useIframeTransport'));if(!this.getReadOnly()){this.specifiesWriteRequiredParams();if(this.method!='POST')return false;}Object.assign(this.data,getAsyncParams(this.method));if(!isEmpty(this.context)){Object.assign(this.data,this.context);this.data.ajax_log=1;}if(Env.force_param)Object.assign(this.data,Env.force_param);this._setUserActionID();if(this.getOption('bundle')&&this._isMultiplexable()){AsyncMultiplex.schedule(this);return true;}this.setNewSerial();if(!this.getOption('asynchronous'))this.uri.addQueryData({__s:1});if(AsyncRequestConfig.pkgCohort){var _uri$addQueryData;this.uri.addQueryData((_uri$addQueryData={},_uri$addQueryData[AsyncRequestConfig.PKG_COHORT_KEY]=AsyncRequestConfig.pkgCohort,_uri$addQueryData));}Arbiter.inform('AsyncRequest/send',{request:this});var uri_str,query;if(this.method=='GET'||this.rawData){uri_str=this.uri.addQueryData(this.data).toString();query=this.rawData||'';}else{if(this._allowCrossOrigin)this.uri.addQueryData({__a:1});uri_str=this.uri.toString();query=PHPQuerySerializer.serialize(this.data);}if(this.transport)return false;if(this.getOption('jsonp')||this.getOption('useIframeTransport')){requireLazy(['JSONPTransport'],(function(JSONPTransport){var transport=new JSONPTransport(this.getOption('jsonp')?'jsonp':'iframe',this.uri);this.setJSONPTransport(transport);transport.send();}).bind(this));return true;}var transport=getSameOriginTransport();if(!transport)return false;transport.onreadystatechange=TimeSlice.guard(this._onStateChange.bind(this),'XHR.onreadystatechange');if(this.uploadProgressHandler&&supportsUploadProgress(transport))transport.upload.onprogress=this.uploadProgressHandler.bind(this);if(!isRetry)this.remainingRetries=this.getOption('retries');if(global.ErrorSignal)this._sendTimeStamp=this._sendTimeStamp||Date.now();this.transport=transport;try{this.transport.open(this.method,uri_str,this.getOption('asynchronous'));}catch(exception){return false;}if(!this.uri.isSameOrigin()&&!this.getOption('jsonp')&&!this.getOption('useIframeTransport')){if(!supportsCrossOrigin(this.transport))return false;if((isFacebookURI(this.uri)||isMessengerDotComURI(this.uri))&&this._allowCredentials!==false)this.transport.withCredentials=true;}if(this.method=='POST'&&!this.rawData)this.transport.setRequestHeader('Content-Type','application/x-www-form-urlencoded');if(this._isBackgroundRequest)this.transport.setRequestHeader('X_FB_BACKGROUND_STATE','1');Arbiter.inform('AsyncRequest/will_send',{request:this});for(var headerName in this.headers)if(this.headers.hasOwnProperty(headerName))this.transport.setRequestHeader(headerName,this.headers[headerName]);this.addStatusIndicator();this.transport.send(query);if(this.timeout!==null)this.resetTimeout(this.timeout);AsyncRequest._inflightCount++;AsyncRequest._inflightAdd(this);return true;};AsyncRequest._inflightAdd=function(ar){'use strict';this._inflight.push(ar);};AsyncRequest._inflightPurge=function(){'use strict';AsyncRequest._inflight=AsyncRequest._inflight.filter(function(ar){return ar.transport&&ar.transport.readyState<4;});};AsyncRequest.bootstrap=function(href,elem,is_post){'use strict';var method='GET',readonly=true,data={};if(is_post||elem&&elem.rel=='async-post'){method='POST';readonly=false;if(href){href=new URI(href);data=href.getQueryData();href.setQueryData({});}}var status_elem=Parent.byClass(elem,'stat_elem')||elem;if(status_elem&&CSS.hasClass(status_elem,'async_saving'))return false;var async=new AsyncRequest(href).setReadOnly(readonly).setMethod(method).setData(data).setNectarModuleDataSafe(elem).setRelativeTo(elem);if(elem){async.setHandler(function(response){Event.fire(elem,'success',{response:response});});async.setErrorHandler(function(response){if(Event.fire(elem,'error',{response:response})!==false)AsyncResponse.defaultErrorHandler(response);});}if(status_elem){async.setStatusElement(status_elem);var status_class=status_elem.getAttribute('data-status-class');status_class&&async.setStatusClass(status_class);}async.send();return false;};AsyncRequest.post=function(href,data){'use strict';new AsyncRequest(href).setReadOnly(false).setMethod('POST').setData(data).send();return false;};AsyncRequest.getLastID=function(){'use strict';return last_id;};AsyncRequest.getInflightCount=function(){'use strict';return this._inflightCount;};AsyncRequest._inflightEnable=function(){'use strict';if(UserAgent_DEPRECATED.ie())Run.onUnload(function(){AsyncRequest._inflight.forEach(function(ar){if(ar.transport&&ar.transport.readyState<4){ar.transport.abort();delete ar.transport;}});});};Object.assign(AsyncRequest,{suppressOnloadToken:{},_inflight:[],_inflightCount:0,_inflightAdd:emptyFunction,_inflightPurge:emptyFunction});var _asyncMultiplex,_pendingAsyncMultiplexes=[];function AsyncMultiplex(){'use strict';this._requests=[];}AsyncMultiplex.prototype.add=function(request){'use strict';this._requests.push(request);};AsyncMultiplex.prototype.remove=function(request){'use strict';var requests=this._requests,requestsSent=this._requestsSent;for(var ii=0,jj=requests.length;ii<jj;ii++)if(requests[ii]===request)if(requestsSent){requests[ii]=null;}else requests.splice(ii,1);};AsyncMultiplex.prototype.send=function(){'use strict';!!this._requestsSent?invariant(0):undefined;this._requestsSent=true;this._wrapperRequest=null;var requests=this._requests;if(!requests.length)return;var request;if(requests.length===1){request=requests[0];}else{var data=requests.map(function(request){return [request.uri.getPath(),PHPQuerySerializer.serialize(request.data)];});request=this._wrapperRequest=new AsyncRequest('/ajax/proxy.php').setAllowCrossPageTransition(true).setData({data:data}).setHandler(this._handler.bind(this)).setTransportErrorHandler(this._transportErrorHandler.bind(this));}request.setOption('bundle',false).send();};AsyncMultiplex.prototype._handler=function(response){'use strict';var responses=response.getPayload().responses;if(responses.length!==this._requests.length)return;for(var ii=0;ii<this._requests.length;ii++){var request=this._requests[ii];if(request===null)continue;var request_path=request.uri.getPath();if(this._wrapperRequest)request.id=this._wrapperRequest.id;if(responses[ii][0]!==request_path){request.invokeResponseHandler({transportError:'Wrong response order in bundled request to '+request_path});continue;}request.handleResponse(responses[ii][1]);}_pendingAsyncMultiplexes.splice(_pendingAsyncMultiplexes.indexOf(this,1));};AsyncMultiplex.prototype._transportErrorHandler=function(response){'use strict';var interpreted={transportError:response.errorDescription},paths=this._requests.map(function(request){if(this._wrapperRequest)request.id=this._wrapperRequest.id;request.invokeResponseHandler(interpreted);return request.uri.getPath();},this);};AsyncMultiplex.schedule=function(request){'use strict';if(!_asyncMultiplex){_asyncMultiplex=new AsyncMultiplex();_pendingAsyncMultiplexes.push(_asyncMultiplex);setTimeout(function(){_asyncMultiplex.send();_asyncMultiplex=null;},0);}_asyncMultiplex.add(request);return _asyncMultiplex;};AsyncMultiplex.unschedule=function(request){'use strict';_pendingAsyncMultiplexes.forEach(function(asyncMultiplex){asyncMultiplex.remove(request);});};global.AsyncRequest=AsyncRequest;module.exports=AsyncRequest;},null);
__d('isAtlassolutionsDotComURI',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=new RegExp('(^|\\.)atlassolutions\\.com$','i'),i=['https'];function j(k){if(k.isEmpty()&&k.toString()!=='#')return false;if(!k.getDomain()&&!k.getProtocol())return true;return (i.indexOf(k.getProtocol())!==-1&&h.test(k.getDomain()));}f.exports=j;},null);
__d('isWitDotAiURI',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=new RegExp('(^|\\.)wit\\.ai$','i'),i=['https'];function j(k){if(k.isEmpty()&&k.toString()!=='#')return false;if(!k.getDomain()&&!k.getProtocol())return true;return (i.indexOf(k.getProtocol())!==-1&&h.test(k.getDomain()));}f.exports=j;},null);
__d('AsyncSignal',['ErrorUtils','QueryString','Run','TrackingConfig','URI','isAtlassolutionsDotComURI','isFacebookURI','isMessengerDotComURI','isWitDotAiURI','getAsyncParams','memoize'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){if(c.__markCompiled)c.__markCompiled();function s(t,u){this.data=u||{};this.uri=t.toString();if(k.domain&&this.uri.charAt(0)=='/')this.uri=k.domain+this.uri;}s.prototype.setHandler=function(t){this.handler=t;return this;};s.prototype.setTimeout=function(t){this.timeout=t;return this;};s.prototype.send=function(){var t=this.handler,u=this.data,v,w;if(t){w=r(function(){h.applyWithGuard(t,null,[Boolean(v&&v.height===1)]);});if(this.timeout)setTimeout(w,this.timeout);}u.asyncSignal=(Math.random()*10000|0)+1;var x=new l(this.uri),y=n(x)||o(x)||m(x)||p(x);if(y){Object.assign(u,q('POST'));}else throw new Error("'"+this.uri+"' "+"is an external URL, you should not send async signals to offsite links.");j.onAfterLoad((function(){v=new Image();if(w)v.onload=v.onerror=function(){w();};v.src=i.appendToUrl(this.uri,u);}).bind(this));return this;};f.exports=s;},null);
__d('BootloadedReact',['Bootloader'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i=typeof Symbol==='function'&&Symbol['for']&&Symbol['for']('react.element')||60103,j=function(l){h.loadModules(["ReactDOM"],l);},k={isValidElement:function(l){return !!(typeof l==='object'&&l!==null&&l.$$typeof===i);},render:function(l,m,n){j(function(o){var p=o.render(l,m);n&&n(p);});},unmountComponentAtNode:function(l,m){j(function(n){n.unmountComponentAtNode(l);m&&m();});}};f.exports=k;},null);
__d('BusyUIManager',['UserAgent_DEPRECATED'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i=false,j=[];function k(m){if(!h.webkit()){j.push([m,m.style.cursor]);m.style.cursor='progress';}}var l={lookBusy:function(m){if(m)k(m);if(i)return;i=true;k(document.documentElement);},stopLookingBusy:function(){if(!i)return;i=false;while(j.length){var m=j.pop(),n=m[0],o=m[1];if(n.style)n.style.cursor=o||'';}}};f.exports=l;},null);
__d('ContextualThing',['CSS','DOM','ge'],function a(b,c,d,e,f,g,h,i,j){if(c.__markCompiled)c.__markCompiled();var k={register:function(l,m){l.setAttribute('data-ownerid',i.getID(m));},containsIncludingLayers:function(l,m){while(m){if(i.contains(l,m))return true;m=k.getContext(m);}return false;},getContext:function(l){var m;while(l){if(l.getAttribute&&(m=l.getAttribute('data-ownerid')))return j(m);l=l.parentNode;}return null;},parentByClass:function(l,m){var n;while(l&&!h.hasClass(l,m))if(l.getAttribute&&(n=l.getAttribute('data-ownerid'))){l=j(n);}else l=l.parentNode;return l;}};f.exports=k;},null);
__d('DOMControl',['DataStore','$'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();function j(k){'use strict';this.root=i(k);this.updating=false;h.set(k,'DOMControl',this);}j.prototype.getRoot=function(){'use strict';return this.root;};j.prototype.beginUpdate=function(){'use strict';if(this.updating)return false;this.updating=true;return true;};j.prototype.endUpdate=function(){'use strict';this.updating=false;};j.prototype.update=function(k){'use strict';if(!this.beginUpdate())return this;this.onupdate(k);this.endUpdate();};j.prototype.onupdate=function(k){'use strict';};j.getInstance=function(k){'use strict';return h.get(k,'DOMControl');};f.exports=j;},null);
__d('DOMDimensions',['Style','getDocumentScrollElement','getViewportDimensions'],function a(b,c,d,e,f,g,h,i,j){if(c.__markCompiled)c.__markCompiled();var k={getElementDimensions:function(l){return {width:l.offsetWidth||0,height:l.offsetHeight||0};},getViewportDimensions:j,getViewportWithoutScrollbarDimensions:j.withoutScrollbars,getDocumentDimensions:function(l){var m=i(l),n=m.scrollWidth||0,o=m.scrollHeight||0;return {width:n,height:o};},measureElementBox:function(l,m,n,o,p){var q;switch(m){case 'left':case 'right':case 'top':case 'bottom':q=[m];break;case 'width':q=['left','right'];break;case 'height':q=['top','bottom'];break;default:throw Error('Invalid plane: '+m);}var r=function(s,t){var u=0;for(var v=0;v<q.length;v++)u+=parseInt(h.get(l,s+'-'+q[v]+t),10)||0;return u;};return (n?r('padding',''):0)+(o?r('border','-width'):0)+(p?r('margin',''):0);}};f.exports=k;},null);
__d('Focus',['CSS','DOM','Event','Run','cx','ge'],function a(b,c,d,e,f,g,h,i,j,k,l,m){if(c.__markCompiled)c.__markCompiled();var n={},o,p={set:function(u){try{u.tabIndex=u.tabIndex;u.focus();}catch(v){}},setWithoutOutline:function(u){h.addClass(u,"_5f0v");var v=j.listen(u,'blur',function(){h.removeClass(u,"_5f0v");v.remove();});p.set(u);},relocate:function(u,v){function w(x){h.conditionClass(v,"_3oxt",x);}h.addClass(u,"_5f0v");return p.listen(u,w);},listen:function(u,v){r();var w=i.getID(u);n[w]=v;return q(w);}};function q(u){k.onLeave(function(){!m(u)&&t(u);});return {remove:function(){return t(u);}};}function r(){if(o)return;j.listen(document.documentElement,'focusout',s);j.listen(document.documentElement,'focusin',s);o=true;}function s(event){var u=event.getTarget();if(typeof n[u.id]==='function'){var v=event.type==='focusin'||event.type==='focus';n[u.id](v);}}function t(u){if(n[u])delete n[u];}f.exports=p;},null);
__d('Input',['CSS','DOMQuery','DOMControl'],function a(b,c,d,e,f,g,h,i,j){if(c.__markCompiled)c.__markCompiled();var k=function(m){var n=m.getAttribute('maxlength');if(n&&n>0)e(['enforceMaxLength'],function(o){o(m,n);});},l={isWhiteSpaceOnly:function(m){return !/\S/.test(m||'');},isEmpty:function(m){return l.isWhiteSpaceOnly(m.value);},getValue:function(m){return l.isEmpty(m)?'':m.value;},getValueRaw:function(m){return m.value;},setValue:function(m,n){m.value=n||'';k(m);var o=j.getInstance(m);o&&o.resetHeight&&o.resetHeight();},setPlaceholder:function(m,n){m.setAttribute('aria-label',n);m.setAttribute('placeholder',n);},reset:function(m){m.value='';m.style.height='';},setSubmitOnEnter:function(m,n){h.conditionClass(m,'enter_submit',n);},getSubmitOnEnter:function(m){return h.hasClass(m,'enter_submit');},setMaxLength:function(m,n){if(n>0){m.setAttribute('maxlength',n);k(m);}else m.removeAttribute('maxlength');}};f.exports=l;},null);
__d('InputSelection',['DOM','Focus'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j={get:function(k){try{if(typeof k.selectionStart==='number')return {start:k.selectionStart,end:k.selectionEnd};}catch(l){return {start:0,end:0};}if(!document.selection)return {start:0,end:0};var m=document.selection.createRange();if(m.parentElement()!==k)return {start:0,end:0};var n=k.value.length;if(h.isNodeOfType(k,'input')){return {start:-m.moveStart('character',-n),end:-m.moveEnd('character',-n)};}else{var o=m.duplicate();o.moveToElementText(k);o.setEndPoint('StartToEnd',m);var p=n-o.text.length;o.setEndPoint('StartToStart',m);return {start:n-o.text.length,end:p};}},set:function(k,l,m){if(typeof m=='undefined')m=l;if(document.selection){if(k.tagName=='TEXTAREA'){var n=(k.value.slice(0,l).match(/\r/g)||[]).length,o=(k.value.slice(l,m).match(/\r/g)||[]).length;l-=n;m-=n+o;}var p=k.createTextRange();p.collapse(true);p.moveStart('character',l);p.moveEnd('character',m-l);p.select();}else{k.selectionStart=l;k.selectionEnd=Math.min(m,k.value.length);i.set(k);}}};f.exports=j;},null);
__d('enforceMaxLength',['DOM','Event','Input','InputSelection'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l=function(o,p){var q=j.getValue(o),r=q.length,s=r-p;if(s>0){var t,u;try{t=k.get(o);u=t.end;}catch(v){t=null;u=0;}if(u>=s)r=u;var w=r-s;if(w&&(q.charCodeAt(w-1)&64512)===55296)w--;u=Math.min(u,w);j.setValue(o,q.slice(0,w)+q.slice(r));if(t)k.set(o,Math.min(t.start,u),u);}},m=function(event){var o=event.getTarget(),p=o.getAttribute&&parseInt(o.getAttribute('maxlength'),10);if(p>0&&h.isNodeOfType(o,['input','textarea']))setTimeout(l.bind(null,o,p),0);},n='maxLength' in h.create('input')&&'maxLength' in h.create('textarea');if(!n)i.listen(document.documentElement,{keydown:m,paste:m});f.exports=l;},null);
__d('Form',['AsyncRequest','AsyncResponse','CSS','DataStore','DOM','DOMQuery','DTSG','Event','Input','LSD','Parent','PHPQuerySerializer','URI','createArrayFromMixed','getElementPosition','trackReferrer'],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=('FileList' in window),y=('FormData' in window);function z(ba){var ca={};s.serialize(ba).split('&').forEach(function(da){if(da){var ea=/^([^=]*)(?:=(.*))?$/.exec(da),fa=t.decodeComponent(ea[1]),ga=ea[2]!==undefined,ha=ga?t.decodeComponent(ea[2]):null;ca[fa]=ha;}});return ca;}var aa={getInputs:function(ba){ba=ba||document;return [].concat(u(m.scry(ba,'input')),u(m.scry(ba,'select')),u(m.scry(ba,'textarea')),u(m.scry(ba,'button')));},getInputsByName:function(ba){var ca={};aa.getInputs(ba).forEach(function(da){var ea=ca[da.name];ca[da.name]=typeof ea==='undefined'?da:[da].concat(ea);});return ca;},getSelectValue:function(ba){return ba.options[ba.selectedIndex].value;},setSelectValue:function(ba,ca){for(var da=0;da<ba.options.length;++da)if(ba.options[da].value==ca){ba.selectedIndex=da;break;}},getRadioValue:function(ba){for(var ca=0;ca<ba.length;ca++)if(ba[ca].checked)return ba[ca].value;return null;},getElements:function(ba){return u(ba.tagName=='FORM'&&ba.elements!=ba?ba.elements:aa.getInputs(ba));},getAttribute:function(ba,ca){return (ba.getAttributeNode(ca)||{}).value||null;},setDisabled:function(ba,ca){aa.getElements(ba).forEach(function(da){if(da.disabled!==undefined){var ea=k.get(da,'origDisabledState');if(ca){if(ea===undefined)k.set(da,'origDisabledState',da.disabled);da.disabled=ca;}else if(ea===false)da.disabled=false;}});},bootstrap:function(ba,ca){var da=(aa.getAttribute(ba,'method')||'GET').toUpperCase();ca=r.byTag(ca,'button')||ca;var ea=r.byClass(ca,'stat_elem')||ba;if(j.hasClass(ea,'async_saving'))return;if(ca&&(ca.form!==ba||ca.nodeName!='INPUT'&&ca.nodeName!='BUTTON'||ca.type!='submit')){var fa=m.scry(ba,'.enter_submit_target')[0];fa&&(ca=fa);}var ga=aa.serialize(ba,ca);aa.setDisabled(ba,true);var ha=aa.getAttribute(ba,'ajaxify')||aa.getAttribute(ba,'action'),ia=!!aa.getAttribute(ba,'data-cors');w(ba,ha);new h().setAllowCrossOrigin(ia).setURI(ha).setData(ga).setNectarModuleDataSafe(ba).setReadOnly(da=='GET').setMethod(da).setRelativeTo(ba).setStatusElement(ea).setInitialHandler(aa.setDisabled.bind(null,ba,false)).setHandler(function(ja){o.fire(ba,'success',{response:ja});}).setErrorHandler(function(ja){if(o.fire(ba,'error',{response:ja})!==false)i.defaultErrorHandler(ja);}).setFinallyHandler(aa.setDisabled.bind(null,ba,false)).send();},forEachValue:function(ba,ca,da){aa.getElements(ba).forEach(function(ea){if(!ea.name||ea.disabled)return;if(ea.type==='submit')return;if(ea.type==='reset'||ea.type==='button'||ea.type==='image')return;if((ea.type==='radio'||ea.type==='checkbox')&&!ea.checked)return;if(ea.nodeName==='SELECT'){for(var fa=0,ga=ea.options.length;fa<ga;fa++){var ha=ea.options[fa];if(ha.selected)da('select',ea.name,ha.value);}return;}if(ea.type==='file'){if(x){var ia=ea.files;for(var ja=0;ja<ia.length;ja++)da('file',ea.name,ia.item(ja));}return;}da(ea.type,ea.name,p.getValue(ea));});if(ca&&ca.name&&ca.type==='submit'&&m.contains(ba,ca)&&m.isNodeOfType(ca,['input','button']))da('submit',ca.name,ca.value);},createFormData:function(ba,ca){if(!y)return null;var da=new FormData();if(ba)if(m.isNode(ba)){aa.forEachValue(ba,ca,function(ga,ha,ia){da.append(ha,ia);});}else{var ea=z(ba);for(var fa in ea)if(ea[fa]==null){da.append(fa,'');}else da.append(fa,ea[fa]);}return da;},serialize:function(ba,ca){var da={};aa.forEachValue(ba,ca,function(ea,fa,ga){if(ea==='file')return;aa._serializeHelper(da,fa,ga);});return aa._serializeFix(da);},_serializeHelper:function(ba,ca,da){var ea=Object.prototype.hasOwnProperty,fa=/([^\]]+)\[([^\]]*)\](.*)/.exec(ca);if(fa){if(!ba[fa[1]]||!ea.call(ba,fa[1])){var ga;ba[fa[1]]=ga={};if(ba[fa[1]]!==ga)return;}var ha=0;if(fa[2]===''){while(ba[fa[1]][ha]!==undefined)ha++;}else ha=fa[2];if(fa[3]===''){ba[fa[1]][ha]=da;}else aa._serializeHelper(ba[fa[1]],ha.concat(fa[3]),da);}else ba[ca]=da;},_serializeFix:function(ba){for(var ca in ba)if(ba[ca] instanceof Object)ba[ca]=aa._serializeFix(ba[ca]);var da=Object.keys(ba);if(da.length===0||da.some(isNaN))return ba;da.sort(function(ga,ha){return ga-ha;});var ea=0,fa=da.every(function(ga){return +ga===ea++;});if(fa)return da.map(function(ga){return ba[ga];});return ba;},post:function(ba,ca,da){var ea=document.createElement('form');ea.action=ba.toString();ea.method='POST';ea.style.display='none';if(da)ea.target=da;ca.fb_dtsg=n.getToken();if(q.token)ca.lsd=q.token;aa.createHiddenInputs(ca,ea);m.getRootElement().appendChild(ea);ea.submit();return false;},createHiddenInputs:function(ba,ca,da,ea){da=da||{};var fa=z(ba);for(var ga in fa){if(fa[ga]===null)continue;if(da[ga]&&ea){da[ga].value=fa[ga];}else{var ha=l.create('input',{type:'hidden',name:ga,value:fa[ga]});da[ga]=ha;ca.appendChild(ha);}}return da;},getFirstElement:function(ba,ca){ca=ca||['input[type="text"]','textarea','input[type="password"]','input[type="button"]','input[type="submit"]'];var da=[];for(var ea=0;ea<ca.length;ea++){da=m.scry(ba,ca[ea]);for(var fa=0;fa<da.length;fa++){var ga=da[fa];try{var ia=v(ga);if(ia.y>0&&ia.x>0)return ga;}catch(ha){}}}return null;},focusFirst:function(ba){var ca=aa.getFirstElement(ba);if(ca){ca.focus();return true;}return false;}};f.exports=aa;},null);
__d('KeyEventController',['DOMQuery','Event','Run','getElementText','isEmpty'],function a(b,c,d,e,f,g,h,i,j,k,l){if(c.__markCompiled)c.__markCompiled();var m=null,n=['input','select','textarea','object','embed'],o={button:1,checkbox:1,radio:1,submit:1},p={BACKSPACE:[8],TAB:[9],RETURN:[13],ESCAPE:[27],LEFT:[37,63234],UP:[38,63232],RIGHT:[39,63235],DOWN:[40,63233],DELETE:[46],COMMA:[188],PERIOD:[190],SLASH:[191],'`':[192],'[':[219],']':[221],PAGE_UP:[33],PAGE_DOWN:[34],SPACE:[32],KP_DOT:[46,110]},q={8:1,9:1,13:1,27:1,32:1,37:1,63234:1,38:1,63232:1,39:1,63235:1,40:1,63233:1,46:1};function r(){'use strict';this.handlers={};document.onkeyup=this.onkeyevent.bind(this,'onkeyup');document.onkeydown=this.onkeyevent.bind(this,'onkeydown');document.onkeypress=this.onkeyevent.bind(this,'onkeypress');}r.prototype.mapKey=function(s){'use strict';if(s>=0&&s<=9){if(typeof s!='number')s=s.charCodeAt(0)-48;return [48+s,96+s];}var t=p[s.toUpperCase()];if(t)return t;return [s.toUpperCase().charCodeAt(0)];};r.prototype.onkeyevent=function(s,t){'use strict';t=i.$E(t);var u=this.handlers[t.keyCode]||this.handlers[t.which],v,w,x;if(u)for(var y=0;y<u.length;y++){v=u[y].callback;w=u[y].filter;try{if(!w||w(t,s)){x=v(t,s);if(x===false)return i.kill(t);}}catch(z){}}return true;};r.prototype.resetHandlers=function(){'use strict';this.handlers={};};r.getInstance=function(){'use strict';return m||(m=new r());};r.defaultFilter=function(event,s){'use strict';event=i.$E(event);return r.filterEventTypes(event,s)&&r.filterEventTargets(event,s)&&r.filterEventModifiers(event,s);};r.filterEventTypes=function(event,s){'use strict';if(s==='onkeydown')return true;return false;};r.filterEventTargets=function(event,s){'use strict';var t=event.getTarget(),u=t.contentEditable==='true'||t.contentEditable==='plaintext-only';return (!(u||h.isNodeOfType(t,n))||t.type in o||event.keyCode in q&&(h.isNodeOfType(t,['input','textarea'])&&t.value.length===0||u&&k(t).length===0));};r.filterEventModifiers=function(event,s){'use strict';if(event.ctrlKey||event.altKey||event.metaKey||event.repeat)return false;return true;};r.registerKey=function(s,t,u,v){'use strict';if(u===undefined)u=r.defaultFilter;var w=r.getInstance(),x=w.mapKey(s);if(l(w.handlers))j.onLeave(w.resetHandlers.bind(w));var y={};for(var z=0;z<x.length;z++){s=x[z];if(!w.handlers[s]||v)w.handlers[s]=[];var aa={callback:t,filter:u};y[s]=aa;w.handlers[s].push(aa);}return {remove:function(){for(var ba in y){if(w.handlers[ba]&&w.handlers[ba].length){var ca=w.handlers[ba].indexOf(y[ba]);ca>=0&&w.handlers[ba].splice(ca,1);}delete y[ba];}}};};f.exports=r;},null);
__d('KeyStatus',['Event','ExecutionEnvironment'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j=null,k=null;function l(){if(!k)k=h.listen(window,'blur',function(){j=null;m();});}function m(){if(k){k.remove();k=null;}}function n(event){j=h.getKeyCode(event);l();}function o(){j=null;m();}if(i.canUseDOM){var p=document.documentElement;if(p.addEventListener){p.addEventListener('keydown',n,true);p.addEventListener('keyup',o,true);}else{p.attachEvent('onkeydown',n);p.attachEvent('onkeyup',o);}}var q={isKeyDown:function(){return !!j;},getKeyDownCode:function(){return j;}};f.exports=q;},null);
__d('LinkController',['Event','DataStore','Parent','trackReferrer'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l='LinkControllerHandler',m=[],n=[];function o(event){var s=event.getTarget(),t=j.byTag(s,'a'),u=t&&t.getAttribute('href',2);if(!u||t.rel||!q(u)||s.nodeName=='INPUT'&&s.type=='file'||i.get(t,l))return;var v=h.listen(t,'click',function(w){if(u.charAt(u.length-1)=='#'){w.prevent();return;}k(t,u);p(t,w);});i.set(t,l,v);}function p(s,event){if(s.target||s.rel||event.getModifiers().any||event.which&&event.which!=1)return;var t=m.concat(n);for(var u=0,v=t.length;u<v;u++)if(t[u](s,event)===false)return event.prevent();}function q(s){var t=s.match(/^(\w+):/);return !t||t[1].match(/^http/i);}var r={registerHandler:function(s){m.push(s);},registerFallbackHandler:function(s){n.push(s);}};h.listen(document.documentElement,'mousedown',o);h.listen(document.documentElement,'keydown',o);f.exports=r;},null);
__d('PageHooks',['Arbiter','ErrorUtils','InitialJSLoader','PageEvents'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l={DOMREADY_HOOK:'domreadyhooks',ONLOAD_HOOK:'onloadhooks'};function m(){var t=b.CavalryLogger;if(!window.domready&&t)t.getInstance().setTimeStamp('t_prehooks');p(s.DOMREADY_HOOK);if(!window.domready&&t)t.getInstance().setTimeStamp('t_hooks');window.domready=true;h.inform('uipage_onload',true,h.BEHAVIOR_STATE);}function n(){p(s.ONLOAD_HOOK);window.loaded=true;}function o(t,u){return i.applyWithGuard(t,null,null,function(v){v.event_type=u;v.category='runhook';},'PageHooks:'+u);}function p(t){var u=t=='onbeforeleavehooks'||t=='onbeforeunloadhooks';do{var v=window[t];if(!v)break;if(!u)window[t]=null;for(var w=0;w<v.length;w++){var x=o(v[w],t);if(u&&x)return x;}}while(!u&&window[t]);}function q(){if(!window.domready){window.domready=true;p('onloadhooks');}if(!window.loaded){window.loaded=true;p('onafterloadhooks');}}function r(){h.registerCallback(m,[k.BIGPIPE_DOMREADY,j.INITIAL_JS_READY]);h.registerCallback(n,[k.BIGPIPE_DOMREADY,k.BIGPIPE_ONLOAD,j.INITIAL_JS_READY]);h.subscribe(k.NATIVE_ONBEFOREUNLOAD,function(t,u){u.warn=p('onbeforeleavehooks')||p('onbeforeunloadhooks');if(!u.warn){window.domready=false;window.loaded=false;}},h.SUBSCRIBE_NEW);h.subscribe(k.NATIVE_ONUNLOAD,function(t,u){p('onunloadhooks');p('onafterunloadhooks');},h.SUBSCRIBE_NEW);}var s=babelHelpers._extends({_domreadyHook:m,_onloadHook:n,runHook:o,runHooks:p,keepWindowSetAsLoaded:q},l);r();b.PageHooks=f.exports=s;},null);
__d('computeRelativeURI',['URI','isFacebookURI','isEmpty'],function a(b,c,d,e,f,g,h,i,j){if(c.__markCompiled)c.__markCompiled();function k(m,n){if(!n)return m;if(n.charAt(0)=='/')return n;var o=m.split('/').slice(0,-1);o[0]!=='';n.split('/').forEach(function(p){if(!(p=='.'))if(p=='..'){if(o.length>1)o=o.slice(0,-1);}else o.push(p);});return o.join('/');}function l(m,n){var o=new h(),p=n;m=new h(m);n=new h(n);if(n.getDomain()&&!i(n))return p;var q=m,r=['Protocol','Domain','Port','Path','QueryData','Fragment'];r.forEach(function(s){var t=s=='Path'&&q===m;if(t)o.setPath(k(m.getPath(),n.getPath()));if(!j(n['get'+s]()))q=n;if(!t)o['set'+s](q['get'+s]());});return o;}f.exports=l;},null);
__d('PageTransitionsRegistrar',['Bootloader','BusyUIManager','DOMQuery','Event','Form','LinkController','Parent','Run','URI','computeRelativeURI','goURI','setTimeoutAcrossTransitions'],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();o.onAfterLoad(function(){h.loadModules(["PageTransitions"],function(){});});var t=[],u=[],v={registerHandler:function(da,ea){ea=ea||5;if(!t[ea])t[ea]=[];t[ea].push(da);},removeHandler:function(da,ea){ea=ea||5;var fa=-1;if(t[ea])fa=t[ea].indexOf(da);if(fa>-1)t[ea].splice(fa,1);},registerCompletionCallback:function(da){u.push(da);},getMostRecentURI:ca,_getTransitionHandlers:function(){return t;},_getCompletionCallbacks:function(){return u;},_resetCompletionCallbacks:function(){u=[];}},w=null,x=null;function y(da){x=da;s(function(){x=null;},0);}function z(event){var da=x;if(da){if(!event.isDefaultPrevented()){aa(x);i.lookBusy(da);r(da.getAttribute('href'));}event.kill();}else{w=event.getTarget();s(function(){w=null;},0);}}function aa(da){var ea=da.getAttribute('href'),fa=q(ca().getQualifiedURI(),ea).toString();if(ea!=fa)da.setAttribute('href',fa);}function ba(event){var da=event.getTarget();if(l.getAttribute(da,'rel')||l.getAttribute(da,'target'))return;var ea=new p(l.getAttribute(da,'action')),fa=q(ca(),ea);da.setAttribute('action',fa.toString());if((l.getAttribute(da,'method')||'GET').toUpperCase()=='GET'){var ga=l.serialize(da),ha=w;if(ha&&(j.isNodeOfType(ha,'input')&&ha.type==='submit'||(ha=n.byTag(ha,'button')))&&ha.name)ga[ha.name]=ha.value;r(fa.addQueryData(ga));event.kill();}}m.registerFallbackHandler(y);k.listen(document,'click',z,k.Priority._BUBBLE);k.listen(document,'submit',ba,k.Priority._BUBBLE);function ca(){if(b.PageTransitions&&b.PageTransitions.isInitialized()){return b.PageTransitions.getMostRecentURI();}else{var da=p.getRequestURI(false),ea=da.getUnqualifiedURI(),fa=new p(ea).setFragment(null),ga=ea.getFragment();if(ga.charAt(0)==='!'&&fa.toString()===ga.substr(1))ea=fa;return ea;}}f.exports=v;},null);
__d('PostLoadJS',['Bootloader','Run','emptyFunction'],function a(b,c,d,e,f,g,h,i,j){if(c.__markCompiled)c.__markCompiled();function k(m,n){i.onAfterLoad(function(){h.loadModules.call(h,[m],n);});}var l={loadAndRequire:function(m){k(m,j);},loadAndCall:function(m,n,o){k(m,function(p){p[n].apply(p,o);});}};f.exports=l;},null);
__d('Vector',['DOMVector','Event','Scroll'],function a(b,c,d,e,f,g,h,i,j){if(c.__markCompiled)c.__markCompiled();var k,l;k=babelHelpers.inherits(m,h);l=k&&k.prototype;function m(n,o,p){'use strict';l.constructor.call(this,parseFloat(n),parseFloat(o),p);}m.prototype.derive=function(n,o,p){'use strict';return new m(n,o,p||this.domain);};m.prototype.setElementPosition=function(n){'use strict';var o=this.convertTo('document');n.style.left=parseInt(o.x,10)+'px';n.style.top=parseInt(o.y,10)+'px';return this;};m.prototype.setElementDimensions=function(n){'use strict';return this.setElementWidth(n).setElementHeight(n);};m.prototype.setElementWidth=function(n){'use strict';n.style.width=parseInt(this.x,10)+'px';return this;};m.prototype.setElementHeight=function(n){'use strict';n.style.height=parseInt(this.y,10)+'px';return this;};m.prototype.scrollElementBy=function(n){'use strict';if(n==document.body){window.scrollBy(this.x,this.y);}else{j.setLeft(n,j.getLeft(n)+this.x);j.setTop(n,j.getTop(n)+this.y);}return this;};m.from=function(n,o,p){'use strict';return new m(n,o,p);};m.getEventPosition=function(n,o){'use strict';o=o||'document';var p=i.getPosition(n),q=this.from(p.x,p.y,'document');return q.convertTo(o);};m.deserialize=function(n){'use strict';var o=n.split(',');return this.from(o[0],o[1]);};f.exports=m;},null);
__d('Rect',['Vector','$'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();function j(k,l,m,n,o){'use strict';if(arguments.length===1){if(k instanceof j)return k;if(k instanceof h)return new j(k.y,k.x,k.y,k.x,k.domain);return j.getElementBounds(i(k));}Object.assign(this,{t:k,r:l,b:m,l:n,domain:o||'pure'});}j.prototype.w=function(){'use strict';return this.r-this.l;};j.prototype.h=function(){'use strict';return this.b-this.t;};j.prototype.toString=function(){'use strict';return '(('+this.l+', '+this.t+'), ('+this.r+', '+this.b+'))';};j.prototype.contains=function(k){'use strict';k=new j(k).convertTo(this.domain);var l=this;return l.l<=k.l&&l.r>=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.l<k.l){l=k.l-this.l;}else if(this.r>k.r)l=k.r-this.r;if(this.t<k.t){m=k.t-this.t;}else if(this.b>k.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;n<k.length;n++){m=k[n];l.t=Math.min(l.t,m.t);l.r=Math.max(l.r,m.r);l.b=Math.max(l.b,m.b);l.l=Math.min(l.l,m.l);}return l;};f.exports=j;},null);
__d('SessionName',['SessionNameConfig','isInIframe'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j='_e_',k=(window.name||'').toString();if(k.length==7&&k.substr(0,3)==j){k=k.substr(3);}else{k=h.seed||'';if(!i())window.name=j+k;}var l={TOKEN:j,getName:function(){return k;}};b.SessionName=l;f.exports=l;},3);
__d('csx',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i){throw new Error('csx: Unexpected class selector transformation.');}f.exports=h;},null);
__d('ViewportBounds',['Arbiter','ArbiterMixin','DOM','Style','Vector','csx','emptyFunction','removeFromArray'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o){if(c.__markCompiled)c.__markCompiled();var p={top:[],right:[],bottom:[],left:[]};function q(u){return function(){var v=0;p[u].forEach(function(w){v=Math.max(v,w.getSize());});return v;};}function r(u,v){return function(w){return new s(u,w,v);};}function s(u,v,w){this.getSide=n.thatReturns(u);this.getSize=function(){return typeof v==='function'?v():v;};this.isPersistent=n.thatReturns(w);p[u].push(this);t.inform('change');}s.prototype.remove=function(){o(p[this.getSide()],this);t.inform('change');};h.subscribe('page_transition',function(){for(var u in p)for(var v=p[u].length-1;v>=0;v--){var w=p[u][v];if(!w.isPersistent())w.remove();}});var t=babelHelpers._extends({getTop:q('top'),getRight:q('right'),getBottom:q('bottom'),getLeft:q('left'),getElementPosition:function(u){var v=l.getElementPosition(u);v.y-=t.getTop();return v;},addTop:r('top'),addRight:r('right'),addBottom:r('bottom'),addLeft:r('left'),addPersistentTop:r('top',true),addPersistentRight:r('right',true),addPersistentBottom:r('bottom',true),addPersistentLeft:r('left',true)},i);t.addPersistentTop(function(){var u=j.scry(document,"div._4f7n")[0];if(u&&k.isFixed(u)){var v=j.scry(document,"div._21mm")[0];return v?v.offsetHeight:0;}return 0;});f.exports=t;},null);
__d('getOverlayZIndex',['Style'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j,k){k=k||document.body;var l=[];while(j&&j!==k){l.push(j);j=j.parentNode;}if(j!==k)return 0;for(var m=l.length-1;m>=0;m--){var n=l[m];if(h.get(n,'position')!='static'){var o=parseInt(h.get(n,'z-index'),10);if(!isNaN(o))return o;}}return 0;}f.exports=i;},null);
__d('queryThenMutateDOM',['Run','createArrayFromMixed','emptyFunction','requestAnimationFrame'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l,m,n={},o=[],p=[];function q(t,u,v){if(!t&&!u)return;if(v&&n.hasOwnProperty(v)){return;}else if(v)n[v]=1;o.push(u||j);p.push(t||j);s();if(!l){l=true;h.onLeave(function(){l=false;m=false;n={};o.length=0;p.length=0;});}}q.prepare=function(t,u,v){return function(){var w=i(arguments);w.unshift(this);var x=Function.prototype.bind.apply(t,w),y=u.bind(this);q(x,y,v);};};function r(){n={};var t=p.length,u=o.length,v=[],w;while(t--){w=p.shift();v.push(w());}while(u--){w=o.shift();w(v.shift());}m=false;s();}function s(){if(!m&&(p.length||o.length)){m=true;k(r);}}f.exports=q;},null);
__d('debounce',['debounceCore'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(j,k,l,m){if(k==null)k=100;var n=function(o,p,q){return setTimeout(o,p,q,!m);};return h(j,k,l,n);}f.exports=i;},null);
__d('Button',['CSS','DataStore','DOM','Event','Parent','cx','emptyFunction'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n){if(c.__markCompiled)c.__markCompiled();var o='uiButtonDisabled',p='uiButtonDepressed',q="_42fr",r="_42fs",s='button:blocker',t='href',u='ajaxify';function v(ba,ca){var da=i.get(ba,s);if(ca){if(da){da.remove();i.remove(ba,s);}}else if(!da)i.set(ba,s,k.listen(ba,'click',n.thatReturnsFalse,k.Priority.URGENT));}function w(ba){var ca=l.byClass(ba,'uiButton')||l.byClass(ba,"_42ft");if(!ca)throw new Error('invalid use case');return ca;}function x(ba){return j.isNodeOfType(ba,'a');}function y(ba){return j.isNodeOfType(ba,'button');}function z(ba){return h.hasClass(ba,"_42ft");}var aa={getInputElement:function(ba){ba=w(ba);if(x(ba))throw new Error('invalid use case');return y(ba)?ba:j.find(ba,'input');},isEnabled:function(ba){return !(h.hasClass(w(ba),o)||h.hasClass(w(ba),q));},setEnabled:function(ba,ca){ba=w(ba);var da=z(ba)?q:o;h.conditionClass(ba,da,!ca);if(x(ba)){var ea=ba.getAttribute('href'),fa=ba.getAttribute('ajaxify'),ga=i.get(ba,t,'#'),ha=i.get(ba,u);if(ca){if(!ea)ba.setAttribute('href',ga);if(!fa&&ha)ba.setAttribute('ajaxify',ha);ba.removeAttribute('tabIndex');}else{if(ea&&ea!==ga)i.set(ba,t,ea);if(fa&&fa!==ha)i.set(ba,u,fa);ba.removeAttribute('href');ba.removeAttribute('ajaxify');ba.setAttribute('tabIndex','-1');}v(ba,ca);}else{var ia=aa.getInputElement(ba);ia.disabled=!ca;v(ia,ca);}},setDepressed:function(ba,ca){ba=w(ba);var da=z(ba)?r:p;h.conditionClass(ba,da,ca);},isDepressed:function(ba){ba=w(ba);var ca=z(ba)?r:p;return h.hasClass(ba,ca);},setLabel:function(ba,ca){ba=w(ba);if(z(ba)){var da=[];if(ca)da.push(ca);var ea=j.scry(ba,'.img')[0];if(ea)if(ba.firstChild==ea){da.unshift(ea);}else da.push(ea);j.setContent(ba,da);}else if(x(ba)){var fa=j.find(ba,'span.uiButtonText');j.setContent(fa,ca);}else aa.getInputElement(ba).value=ca;var ga=z(ba)?"_42fv":'uiButtonNoText';h.conditionClass(ba,ga,!ca);},getIcon:function(ba){ba=w(ba);return j.scry(ba,'.img')[0];},setIcon:function(ba,ca){if(ca&&!j.isNode(ca))return;var da=aa.getIcon(ba);if(!ca){da&&j.remove(da);return;}h.addClass(ca,'customimg');if(da!=ca)if(da){j.replace(da,ca);}else j.prependContent(w(ba),ca);}};f.exports=aa;},null);
__d('UIForm',['ArbiterMixin','BehaviorsMixin','DOM','Event','Form','Run','areJSONRepresentationsEqual','mixin'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o){if(c.__markCompiled)c.__markCompiled();var p,q;p=babelHelpers.inherits(r,o(h,i));q=p&&p.prototype;function r(s,t,u,v,w){'use strict';q.constructor.call(this);this._root=s;this.controller=s;this._message=t;if(v){this._confirm_dialog=v;v.subscribe('confirm',this._handleDialogConfirm.bind(this));j.prependContent(this._root,j.create('input',{type:'hidden',name:'confirmed',value:'true'}));}m.onAfterLoad((function(){this._originalState=l.serialize(this._root);}).bind(this));this._forceDirty=u;this._confirmed=false;this._submitted=false;k.listen(this._root,'submit',this._handleSubmit.bind(this));if(w&&w.length)this.enableBehaviors(w);var x=true;m.onBeforeUnload(this.checkUnsaved.bind(this),x);}r.prototype.getRoot=function(){'use strict';return this._root;};r.prototype._handleSubmit=function(){'use strict';if(this._confirm_dialog&&!this._confirmed){this._confirm_dialog.show();return false;}if(this.inform('submit')===false)return false;this._submitted=true;return true;};r.prototype._handleDialogConfirm=function(){'use strict';this._confirmed=true;this._confirm_dialog.hide();if(this._root.getAttribute('ajaxify')){k.fire(this._root,'submit');}else if(this._handleSubmit())this._root.submit();};r.prototype.reset=function(){'use strict';this.inform('reset');this._submitted=false;this._confirmed=false;};r.prototype.isDirty=function(){'use strict';if(this._submitted||!j.contains(document.body,this._root))return false;if(this._forceDirty)return true;if(!this._originalState)return false;var s=l.serialize(this._root);return !n(s,this._originalState);};r.prototype.checkUnsaved=function(){'use strict';if(this.isDirty())return this._message;return null;};f.exports=b.UIForm||r;},null);
__d('BadgeHelper',['DOM','cx','joinClasses'],function a(b,c,d,e,f,g,h,i,j){if(c.__markCompiled)c.__markCompiled();var k={xsmall:"_5dzz",small:"_5dz-",medium:"_5dz_",large:"_5d-0",xlarge:"_5d-1"},l={verified:"_56_f",trending:"_1gop",topcommenter:"_59t2",page_gray_check:"_5n3t",work:"_5d62",gamegreen:"_3a8y"};function m(o,p){return j(k[o],l[p],"_5dzy");}function n(o,p){var q=m(o,p);if(q)return h.create('span',{className:q});}f.exports={getClasses:m,renderBadge:n,sizes:Object.keys(k),types:Object.keys(l)};},null);
__d('Layer',['ArbiterMixin','BehaviorsMixin','BootloadedReact','ContextualThing','CSS','DataStore','DOM','Event','HTML','KeyEventController','Parent','Style','cx','ge','mixin','removeFromArray','setImmediate','KeyStatus'],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){if(c.__markCompiled)c.__markCompiled();var y,z;c('KeyStatus');var aa=[];y=babelHelpers.inherits(ba,v(h,i));z=y&&y.prototype;function ba(ea,fa){'use strict';z.constructor.call(this);this._config=ea||{};if(fa){this._configure(this._config,fa);var ga=this._config.addedBehaviors||[];this.enableBehaviors(this._getDefaultBehaviors().concat(ga));}}ba.prototype.init=function(ea){'use strict';this._configure(this._config,ea);var fa=this._config.addedBehaviors||[];this.enableBehaviors(this._getDefaultBehaviors().concat(fa));this._initialized=true;return this;};ba.prototype._configure=function(ea,fa){'use strict';if(fa){var ga=n.isNode(fa),ha=typeof fa==='string'||p.isHTML(fa);this.containsReactComponent=j.isValidElement(fa);if(ha){fa=p(fa).getRootNode();}else if(this.containsReactComponent){var ia=document.createElement('div');j.render(fa,ia);fa=this._reactContainer=ia;}}this._root=this._buildWrapper(ea,fa);if(ea.attributes)n.setAttributes(this._root,ea.attributes);if(ea.classNames)ea.classNames.forEach(l.addClass.bind(null,this._root));l.addClass(this._root,'uiLayer');if(ea.causalElement)this._causalElement=u(ea.causalElement);if(ea.permanent)this._permanent=ea.permanent;m.set(this._root,'layer',this);};ba.prototype._getDefaultBehaviors=function(){'use strict';return [];};ba.prototype.getCausalElement=function(){'use strict';return this._causalElement;};ba.prototype.setCausalElement=function(ea){'use strict';this._causalElement=ea;return this;};ba.prototype.getInsertParent=function(){'use strict';return this._insertParent||document.body;};ba.prototype.getRoot=function(){'use strict';return this._root;};ba.prototype.getContentRoot=function(){'use strict';return this._root;};ba.prototype._buildWrapper=function(ea,fa){'use strict';return fa;};ba.prototype.setInsertParent=function(ea){'use strict';if(ea){if(this._shown&&ea!==this.getInsertParent()){n.appendContent(ea,this.getRoot());this.updatePosition();}this._insertParent=ea;}return this;};ba.prototype.showAfterDelay=function(ea){'use strict';setTimeout(this.show.bind(this),ea);};ba.prototype.show=function(){'use strict';if(this._shown)return this;var ea=this.getRoot();this.inform('beforeshow');s.set(ea,'visibility','hidden');s.set(ea,'overflow','hidden');l.show(ea);n.appendContent(this.getInsertParent(),ea);if(this.updatePosition()!==false){this._shown=true;this.inform('show');ba.inform('show',this);if(!this._permanent)setTimeout((function(){if(this._shown)aa.push(this);}).bind(this),0);}else l.hide(ea);s.set(ea,'visibility','');s.set(ea,'overflow','');this.inform('aftershow');return this;};ba.prototype.hide=function(){'use strict';if(this._hiding||!this._shown||this.inform('beforehide')===false)return this;this._hiding=true;if(this.inform('starthide')!==false)this.finishHide();return this;};ba.prototype.conditionShow=function(ea){'use strict';return ea?this.show():this.hide();};ba.prototype.finishHide=function(){'use strict';if(this._shown){if(!this._permanent)w(aa,this);this._hiding=false;this._shown=false;l.hide(this.getRoot());this.inform('hide');ba.inform('hide',this);}};ba.prototype.isShown=function(){'use strict';return this._shown;};ba.prototype.updatePosition=function(){'use strict';return true;};ba.prototype.destroy=function(){'use strict';if(this.containsReactComponent)j.unmountComponentAtNode(this._reactContainer);this.finishHide();var ea=this.getRoot();n.remove(ea);this.destroyBehaviors();this.inform('destroy');ba.inform('destroy',this);m.remove(ea,'layer');this._root=this._causalElement=null;};ba.init=function(ea,fa){'use strict';ea.init(fa);};ba.initAndShow=function(ea,fa){'use strict';ea.init(fa).show();};ba.show=function(ea){'use strict';ea.show();};ba.showAfterDelay=function(ea,fa){'use strict';ea.showAfterDelay(fa);};ba.getTopmostLayer=function(){'use strict';return aa[aa.length-1];};Object.assign(ba,h);Object.assign(ba.prototype,{_initialized:false,_root:null,_shown:false,_hiding:false,_causalElement:null,_reactContainer:null});o.listen(document.documentElement,'keydown',function(event){if(q.filterEventTargets(event,'keydown'))for(var ea=aa.length-1;ea>=0;ea--)if(aa[ea].inform('key',event)===false)return false;},o.Priority.URGENT);var ca;o.listen(document.documentElement,'mousedown',function(event){ca=event.getTarget();});var da;o.listen(document.documentElement,'mouseup',function(event){da=event.getTarget();x(function(){ca=null;da=null;});});o.listen(document.documentElement,'click',function(event){var ea=ca,fa=da;ca=null;da=null;var ga=aa.length;if(!ga)return;var ha=event.getTarget();if(ha!==fa||ha!==ea)return;if(!n.contains(document.documentElement,ha))return;if(!ha.offsetWidth)return;if(r.byClass(ha,'generic_dialog')||r.byClass(ha,"_3sod"))return;while(ga--){var ia=aa[ga],ja=ia.getContentRoot();if(k.containsIncludingLayers(ja,ha))return;if(ia.inform('blur')===false||ia.isShown())return;}});f.exports=ba;},null);
__d('LayerHideOnTransition',['PageTransitionsRegistrar'],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._enabled=true;if(!this._subscribed)setTimeout(this._subscribe.bind(this),0);};i.prototype.disable=function(){'use strict';this._enabled=false;};i.prototype._handler=function(){'use strict';if(this._enabled)this._layer.hide();this._subscribe();};i.prototype._subscribe=function(){'use strict';h.registerHandler(this._handler.bind(this));this._subscribed=true;};Object.assign(i.prototype,{_enabled:false,_subscribed:false});f.exports=i;},null);
__d("SVGChecker",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();f.exports={isSVG:function(h){return !!h.ownerSVGElement||h.tagName.toLowerCase()==="svg";},isDisplayed:function(h){try{var j=h.getBBox();if(j&&(j.height===0||j.width===0))return false;}catch(i){return false;}return true;}};},null);
__d('ContextualLayer',['Arbiter','ARIA','ContextualThing','CSS','DataStore','DOM','Event','Layer','LayerHideOnTransition','Locale','Parent','Rect','Scroll','Style','SVGChecker','Vector','arrayContains','containsNode','emptyFunction','getOwnObjectValues','getOffsetParent','getOverlayZIndex','removeFromArray','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,ca,da,ea){if(c.__markCompiled)c.__markCompiled();var fa,ga;function ha(na){return na.getPosition()==='left'||na.isVertical()&&na.getAlignment()==='right';}fa=babelHelpers.inherits(ia,o);ga=fa&&fa.prototype;ia.prototype._configure=function(na,oa){'use strict';ga._configure.call(this,na,oa);if(na.shouldSetARIAProperties===false)this._shouldSetARIAProperties=na.shouldSetARIAProperties;if(na.context){this.setContext(na.context);}else if(na.contextID){this._setContextID(na.contextID);}else if(na.contextSelector)this._setContextSelector(na.contextSelector);this.setPosition(na.position);this.setAlignment(na.alignment);this.setOffsetX(na.offsetX);this.setOffsetY(na.offsetY);this.setArrowDimensions(na.arrowDimensions);this._content=oa;};ia.prototype._getDefaultBehaviors=function(){'use strict';var na=ia.getDefaultBehaviorsAsObject();return ga._getDefaultBehaviors.call(this).concat(aa(na));};ia.prototype._buildWrapper=function(na,oa){'use strict';this._contentWrapper=m.create('div',{className:'uiContextualLayer'},oa);return m.create('div',{className:'uiContextualLayerPositioner'},this._contentWrapper);};ia.prototype.getInsertParent=function(){'use strict';var na=this._insertParent;if(!na){var oa=this.getContext();if(oa)na=r.byClass(oa,'uiContextualLayerParent');}return na||ga.getInsertParent.call(this);};ia.prototype.setContent=function(na){'use strict';this._content=na;m.setContent(this._contentWrapper,this._content);this._shown&&this.updatePosition();return this;};ia.prototype.setContext=function(na){'use strict';return this.setContextWithBounds(na,null);};ia.prototype.setContextWithBounds=function(na,oa){'use strict';if(this._contextNode===na&&oa&&this._contextBounds&&oa.isEqualTo(this._contextBounds))return this;this._contextNode=na;var pa=oa&&this._contextBounds&&oa.t===this._contextBounds.t&&oa.r===this._contextBounds.r&&oa.b===this._contextBounds.b&&oa.l===this._contextBounds.l;if(pa)return this;this._contextBounds=oa||null;this._contextSelector=this._contextScrollParent=null;if(this._shown){j.register(this.getRoot(),this._contextNode);this.updatePosition();}this._setParentSubscription();this.setARIAProperties();return this;};ia.prototype.shouldSetARIAProperties=function(na){'use strict';this._shouldSetARIAProperties=na;return this;};ia.prototype.setARIAProperties=function(){'use strict';if(this._shouldSetARIAProperties)i.setPopup(this.getCausalElement(),this.getRoot());return this;};ia.prototype._setContextID=function(na){'use strict';this._contextSelector='#'+na;this._contextNode=null;};ia.prototype._setContextSelector=function(na){'use strict';this._contextSelector=na;this._contextNode=null;};ia.prototype.getCausalElement=function(){'use strict';return ga.getCausalElement.call(this)||this.getContext();};ia.prototype._setParentSubscription=function(){'use strict';var na=this.getContext(),oa=null;while(na!==null){oa=l.get(na,'layer');if(oa)break;na=na.parentNode;}if(oa===this._parentLayer)return;if(this._parentLayer&&this._parentSubscription){this._parentLayer.unsubscribe(this._parentSubscription);this._parentSubscription=null;}if(oa)this._parentSubscription=oa.subscribe('hide',this.hide.bind(this));this._parentLayer=oa;};ia.prototype.setPosition=function(na){'use strict';if(this.getOrientation().setDefaultPosition(na))this._shown&&this.updatePosition();return this;};ia.prototype.setAlignment=function(na){'use strict';if(this.getOrientation().setDefaultAlignment(na))this._shown&&this.updatePosition();return this;};ia.prototype.setOffsetX=function(na){'use strict';if(this.getOrientation().setDefaultOffsetX(na))this._shown&&this.updatePosition();return this;};ia.prototype.setArrowDimensions=function(na){'use strict';if(na&&this.getOrientation().setArrowOffset(na.offset))this._shown&&this.updatePosition();return this;};ia.prototype.setOffsetY=function(na){'use strict';if(this.getOrientation().setDefaultOffsetY(na))this._shown&&this.updatePosition();return this;};ia.prototype.getPosition=function(){'use strict';return this.getOrientation().getPosition();};ia.prototype.getOrientation=function(){'use strict';if(!this._orientation)this._orientation=new ma();return this._orientation;};ia.prototype.getContentRoot=function(){'use strict';return this._contentWrapper;};ia.prototype.getContent=function(){'use strict';return this._content;};ia.prototype.getContext=function(){'use strict';if(!this._contextNode)this._contextNode=m.find(document,this._contextSelector);return this._contextNode;};ia.prototype.getContextBounds=function(na){'use strict';if(this._contextBounds)return this._contextBounds.convertTo(na);var oa=this.getContext();return s.newFromVectors(w.getElementPosition(oa,na),w.getElementDimensions(oa));};ia.prototype.getContextScrollParent=function(){'use strict';if(!this._contextScrollParent){this._contextScrollParent=u.getScrollParent(this.getContext());}else if(m.isElementNode(this._contextScrollParent)&&!y(document.documentElement,this._contextScrollParent))this._contextScrollParent=u.getScrollParent(this.getContext());return this._contextScrollParent;};ia.prototype.setInsertParent=function(na){'use strict';this._insertScrollParent=null;return ga.setInsertParent.call(this,na);};ia.prototype.getInsertScrollParent=function(){'use strict';if(!this._insertScrollParent)this._insertScrollParent=u.getScrollParent(this.getInsertParent());return this._insertScrollParent;};ia.prototype.show=function(){'use strict';if(this._shown)return this;ga.show.call(this);if(this._shown){j.register(this.getRoot(),this.getContext());ja.push(this);this._resizeListener=this._resizeListener||n.listen(window,'resize',ea(this.updatePosition.bind(this)));}return this;};ia.prototype.finishHide=function(){'use strict';da(ja,this);this._resizeListener&&this._resizeListener.remove();this._resizeListener=null;return ga.finishHide.call(this);};ia.prototype.isFixed=function(){'use strict';return (u.isFixed(this.getContext())&&!u.isFixed(this.getInsertParent()));};ia.prototype.updatePosition=function(){'use strict';var na=this.getContext();if(!na)return false;var oa=this.isFixed();if(!oa&&!(na.offsetParent||v.isSVG(na)&&v.isDisplayed(na)))return false;var pa=this.getRoot();u.set(pa,'width',w.getViewportDimensions().x+'px');var qa=this.getOrientation();this.inform('adjust',qa.reset());if(!qa.isValid())return false;this._updateWrapperPosition(qa);this._updateWrapperClass(qa);k.conditionClass(pa,'uiContextualLayerPositionerFixed',oa);var ra,sa,ta=oa?'viewport':'document',ua=oa?document.documentElement:ba(pa);if(ua===document.documentElement){ra=new w(0,0);sa=document.documentElement.clientWidth;}else if(!pa.offsetParent){return false;}else{ra=w.getElementPosition(ua,ta);sa=ua.offsetWidth;if(ua!==document.body)ra=ra.sub(new w(t.getLeft(ua),t.getTop(ua)));}var va=this.getContextBounds(ta),wa=va.l-ra.x,xa=va.t-ra.y,ya=va.h(),za=va.w(),ab=q.isRTL();if(qa.getPosition()==='below')xa+=ya;if((qa.getPosition()==='right'||qa.isVertical()&&qa.getAlignment()==='right')!=ab)wa+=za;var bb=qa.getOffsetX();if(qa.isVertical()&&qa.getAlignment()==='center')bb+=(za-this.getContentRoot().offsetWidth)/2;if(ab)bb*=-1;var cb='left',db=Math.floor(wa+bb);if(ha(qa)!==ab){cb='right';db=sa-db;}u.set(pa,cb,db+'px');u.set(pa,cb==='left'?'right':'left','');var eb=this.getInsertScrollParent(),fb;if(eb!==window){fb=eb.clientWidth;}else fb=document.documentElement.clientWidth;var gb=w.getElementPosition(pa).x;if(cb==='left'&&fb-gb>0){u.set(pa,'width',fb-gb+'px');}else if(cb==='right'&&gb+pa.offsetWidth>0){u.set(pa,'width',gb+pa.offsetWidth+'px');}else u.set(pa,'width','');u.set(pa,'top',xa+qa.getOffsetY()+'px');var hb=ca(na,this.getInsertParent());u.set(pa,'z-index',hb>200?hb:'');this.inform('reposition',qa);return true;};ia.prototype._updateWrapperPosition=function(na){'use strict';var oa=na.getPosition()==='above';u.set(this._contentWrapper,'bottom',oa?'0':null);var pa=q.isRTL()?'left':'right',qa=ha(na);u.set(this._contentWrapper,pa,qa?'0':null);};ia.prototype._updateWrapperClass=function(na){'use strict';var oa=na.getClassName();if(oa===this._orientationClass)return;if(this._orientationClass)k.removeClass(this._contentWrapper,this._orientationClass);this._orientationClass=oa;k.addClass(this._contentWrapper,oa);};ia.prototype.simulateOrientation=function(na,oa){'use strict';var pa=na.getClassName();if(pa===this._orientationClass){return oa();}else{if(this._orientationClass)k.removeClass(this._contentWrapper,this._orientationClass);k.addClass(this._contentWrapper,pa);var qa=oa();k.removeClass(this._contentWrapper,pa);if(this._orientationClass)k.addClass(this._contentWrapper,this._orientationClass);return qa;}};ia.prototype.destroy=function(){'use strict';ga.destroy.call(this);this._contentWrapper=null;this._content=null;return this;};ia.prototype.getArrowDimensions=function(){'use strict';return this._config.arrowDimensions||{offset:0,length:0};};ia.getDefaultBehaviorsAsObject=function(){'use strict';return {LayerHideOnTransition:p};};function ia(){'use strict';fa.apply(this,arguments);}var ja=[];h.subscribe('reflow',function(){ja.forEach(function(na){if(na.updatePosition()===false)na.hide();});});Object.assign(ia.prototype,{_contentWrapper:null,_content:null,_contextNode:null,_contextBounds:null,_contextSelector:null,_parentLayer:null,_parentSubscription:null,_orientation:null,_orientationClass:null,_shouldSetARIAProperties:true});var ka=z.thatReturnsArgument,la=z.thatReturnsArgument;function ma(){'use strict';this._default={_position:'above',_alignment:'left',_offsetX:0,_offsetY:0,_valid:true};this.reset();}ma.prototype.setPosition=function(na){'use strict';this._position=ka(na);return this;};ma.prototype.setAlignment=function(na){'use strict';this._alignment=la(na);return this;};ma.prototype.getOppositePosition=function(){'use strict';return ma.OPPOSITE[this.getPosition()];};ma.prototype.invalidate=function(){'use strict';this._valid=false;return this;};ma.prototype.getPosition=function(){'use strict';return this._position||'above';};ma.prototype.getAlignment=function(){'use strict';return this._alignment||'left';};ma.prototype.getOffsetX=function(){'use strict';var na=this._offsetX||0;if(!this.isVertical()){if(this._default._position!==this._position)na*=-1;}else if(this._default._alignment!==this._alignment)na*=-1;return na;};ma.prototype.getOffsetY=function(){'use strict';var na=this._offsetY||0;if(this.isVertical()&&this._default._position!==this._position)na*=-1;return na;};ma.prototype.getClassName=function(){'use strict';var na=this.getAlignment(),oa=this.getPosition();if(oa==='below'){if(na==='left'){return 'uiContextualLayerBelowLeft';}else if(na==='right'){return 'uiContextualLayerBelowRight';}else return 'uiContextualLayerBelowCenter';}else if(oa==='above'){if(na==='left'){return 'uiContextualLayerAboveLeft';}else if(na==='right'){return 'uiContextualLayerAboveRight';}else return 'uiContextualLayerAboveCenter';}else if(oa==='left'){return 'uiContextualLayerLeft';}else return 'uiContextualLayerRight';};ma.prototype.isValid=function(){'use strict';return this._valid;};ma.prototype.isVertical=function(){'use strict';return this.getPosition()==='above'||this.getPosition()==='below';};ma.prototype.reset=function(){'use strict';Object.assign(this,this._default);return this;};ma.prototype.setDefaultPosition=function(na){'use strict';var oa=this._default._position;this._default._position=ka(na);return oa!==na;};ma.prototype.setDefaultAlignment=function(na){'use strict';var oa=this._default._alignment;this._default._alignment=la(na);return oa!==na;};ma.prototype.setDefaultOffsetX=function(na){'use strict';var oa=this._default._offsetX;this._default._offsetX=na;return oa!==na;};ma.prototype.setArrowOffset=function(na){'use strict';var oa=this._default._arrowOffset;this._default._arrowOffset=na;return oa!==na;};ma.prototype.getArrowOffset=function(){'use strict';return this._default._arrowOffset||0;};ma.prototype.setDefaultOffsetY=function(na){'use strict';var oa=this._default._offsetY;this._default._offsetY=na;return oa!==na;};ma.OPPOSITE={above:'below',below:'above',left:'right',right:'left'};f.exports=ia;},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','DOM','Vector','Rect','arrayContains'],function a(b,c,d,e,f,g,h,i,j,k,l){if(c.__markCompiled)c.__markCompiled();function m(o,p){p=new k(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;t<s.length;t++){p.setAlignment(s[t]);for(u=0;u<q.length;u++){p.setPosition(q[u]);v=h.getLayerRect(this._layer,p);if(r.contains(v))return;}}p.setPosition(l(q,'below')?'below':q[0]);var w,x=0,y=0;for(t=0;t<s.length;t++){p.setAlignment(s[t]);v=h.getLayerRect(this._layer,p);w=m(r,v);if(w>y){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===i.getDocumentScrollElement())return p;var r=this._layer.getContext(),s=j.getElementPosition(q,'viewport').y,t=j.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);