/*!CK:4216035886!*//*1445283968,*/

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

__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("PlatformVersions",[],function a(b,c,d,e,f,g){c.__markCompiled&&c.__markCompiled();f.exports={LATEST:"v2.5",versions:{UNVERSIONED:"unversioned",V1_0:"v1.0",V2_0:"v2.0",V2_1:"v2.1",V2_2:"v2.2",V2_3:"v2.3",V2_4:"v2.4",V2_5:"v2.5"}};},null,{});
__d("PluginConnectButtonType",[],function a(b,c,d,e,f,g){c.__markCompiled&&c.__markCompiled();f.exports={BLUE_BASE:1,WHITE_BASE:2};},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('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('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('PlatformDialog',['DOMEventListener','DOMEvent','CSS','cx'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l;m.getInstance=function(){'use strict';return l;};function m(n,o,p){'use strict';l=this;this.$PlatformDialog1=n;this.$PlatformDialog2=o;this.$PlatformDialog3=false;h.add(this.$PlatformDialog1,'submit',(function(q){if(this.$PlatformDialog3){new i(q).kill();return;}this.$PlatformDialog3=true;if(p)j.addClass(n,"_32qa");}).bind(this));}m.prototype.getForm=function(){'use strict';return this.$PlatformDialog1;};m.prototype.getDisplay=function(){'use strict';return this.$PlatformDialog2;};m.prototype.hasBeenSubmitted=function(){'use strict';return this.$PlatformDialog3;};m.RESPONSE='platform/dialog/response';f.exports=m;},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('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);
/**
 * @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('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('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('Promise',['invariant','setImmediate'],function a(b,c,d,e,f,g,h,i){'use strict';if(c.__markCompiled)c.__markCompiled();function j(){}var k=null,l={};function m(ea){try{return ea.then;}catch(fa){k=fa;return l;}}function n(ea,fa){try{return ea(fa);}catch(ga){k=ga;return l;}}function o(ea,fa,ga){try{ea(fa,ga);}catch(ha){k=ha;return l;}}function p(ea){if(typeof this!=='object')throw new TypeError('Promises must be constructed via new');if(typeof ea!=='function')throw new TypeError('not a function');this._state=0;this._value=null;this._deferreds=[];if(ea===j)return;w(ea,this);}p._noop=j;p.prototype.then=function(ea,fa){if(this.constructor!==p)return q(this,ea,fa);var ga=new p(j);r(this,new v(ea,fa,ga));return ga;};function q(ea,fa,ga){return new ea.constructor(function(ha,ia){var ja=new p(j);ja.then(ha,ia);r(ea,new v(fa,ga,ja));});}function r(ea,fa){while(ea._state===3)ea=ea._value;if(ea._state===0){ea._deferreds.push(fa);return;}i(function ga(){var ha=ea._state===1?fa.onFulfilled:fa.onRejected;if(ha===null){if(ea._state===1){s(fa.promise,ea._value);}else t(fa.promise,ea._value);return;}var ia=n(ha,ea._value);if(ia===l){t(fa.promise,k);}else s(fa.promise,ia);});}function s(ea,fa){if(fa===ea)return t(ea,new TypeError('A promise cannot be resolved with itself.'));if(fa&&(typeof fa==='object'||typeof fa==='function')){var ga=m(fa);if(ga===l)return t(ea,k);if(ga===ea.then&&fa instanceof p){ea._state=3;ea._value=fa;u(ea);return;}else if(typeof ga==='function'){w(ga.bind(fa),ea);return;}}ea._state=1;ea._value=fa;u(ea);}function t(ea,fa){ea._state=2;ea._value=fa;u(ea);}function u(ea){for(var fa=0;fa<ea._deferreds.length;fa++)r(ea,ea._deferreds[fa]);ea._deferreds=null;}function v(ea,fa,ga){this.onFulfilled=typeof ea==='function'?ea:null;this.onRejected=typeof fa==='function'?fa:null;this.promise=ga;}function w(ea,fa){var ga=false,ha=o(ea,function(ia){if(ga)return;ga=true;s(fa,ia);},function(ia){if(ga)return;ga=true;t(fa,ia);});if(!ga&&ha===l){ga=true;t(fa,k);}}p.prototype.done=function(ea,fa){var ga=arguments.length?this.then.apply(this,arguments):this;ga.then(null,function(ha){setTimeout(function(){throw ha;},0);});};p.prototype['finally']=function(ea){return this.then(function(fa){return p.resolve(ea()).then(function(){return fa;});},function(fa){return p.resolve(ea()).then(function(){throw fa;});});};var x=da(true),y=da(false),z=da(null),aa=da(undefined),ba=da(0),ca=da('');function da(ea){var fa=new p(p._noop);fa._state=1;fa._value=ea;return fa;}p.resolve=function(ea){if(ea instanceof p)return ea;if(ea===null)return z;if(ea===undefined)return aa;if(ea===true)return x;if(ea===false)return y;if(ea===0)return ba;if(ea==='')return ca;if(typeof ea==='object'||typeof ea==='function')try{var ga=ea.then;if(typeof ga==='function')return new p(ga.bind(ea));}catch(fa){return new p(function(ha,ia){ia(fa);});}return da(ea);};p.all=function(ea){if(!Array.isArray(ea))ea=[new p(function(){throw new TypeError('Promise.all must be passed an iterable.');})];var fa=Array.prototype.slice.call(ea);return new p(function(ga,ha){if(fa.length===0)return ga([]);var ia=fa.length;function ja(la,ma){if(ma&&(typeof ma==='object'||typeof ma==='function'))if(ma instanceof p&&ma.then===p.prototype.then){while(ma._state===3)ma=ma._value;if(ma._state===1)return ja(la,ma._value);if(ma._state===2)ha(ma._value);ma.then(function(pa){ja(la,pa);},ha);return;}else{var na=ma.then;if(typeof na==='function'){var oa=new p(na.bind(ma));oa.then(function(pa){ja(la,pa);},ha);return;}}fa[la]=ma;if(--ia===0)ga(fa);}for(var ka=0;ka<fa.length;ka++)ja(ka,fa[ka]);});};p.reject=function(ea){return new p(function(fa,ga){ga(ea);});};p.race=function(ea){return new p(function(fa,ga){ea.forEach(function(ha){p.resolve(ha).then(fa,ga);});});};p.prototype['catch']=function(ea){return this.then(null,ea);};f.exports=p;},null);
__d('StrSet',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i){'use strict';this.$StrSet1={};this.$StrSet2=0;if(i)this.addAll(i);}h.prototype.add=function(i){'use strict';if(!this.$StrSet1.hasOwnProperty(i)){this.$StrSet1[i]=true;this.$StrSet2++;}return this;};h.prototype.addAll=function(i){'use strict';i.forEach(this.add,this);return this;};h.prototype.remove=function(i){'use strict';if(this.$StrSet1.hasOwnProperty(i)){delete this.$StrSet1[i];this.$StrSet2--;}return this;};h.prototype.removeAll=function(i){'use strict';i.forEach(this.remove,this);return this;};h.prototype.toArray=function(){'use strict';return Object.keys(this.$StrSet1);};h.prototype.toMap=function(i){'use strict';var j={};Object.keys(this.$StrSet1).forEach(function(k){j[k]=typeof i=='function'?i(k):i||true;});return j;};h.prototype.contains=function(i){'use strict';return this.$StrSet1.hasOwnProperty(i);};h.prototype.count=function(){'use strict';return this.$StrSet2;};h.prototype.clear=function(){'use strict';this.$StrSet1={};this.$StrSet2=0;return this;};h.prototype.clone=function(){'use strict';return new h(this);};h.prototype.forEach=function(i,j){'use strict';Object.keys(this.$StrSet1).forEach(i,j);};h.prototype.map=function(i,j){'use strict';return Object.keys(this.$StrSet1).map(i,j);};h.prototype.some=function(i,j){'use strict';return Object.keys(this.$StrSet1).some(i,j);};h.prototype.every=function(i,j){'use strict';return Object.keys(this.$StrSet1).every(i,j);};h.prototype.filter=function(i,j){'use strict';return new h(Object.keys(this.$StrSet1).filter(i,j));};h.prototype.union=function(i){'use strict';return this.clone().addAll(i);};h.prototype.intersect=function(i){'use strict';return this.filter(function(j){return i.contains(j);});};h.prototype.difference=function(i){'use strict';return i.filter((function(j){return !this.contains(j);}).bind(this));};h.prototype.equals=function(i){'use strict';var j=function(n,o){return n===o?0:n<o?-1:1;},k=this.toArray(),l=i.toArray();if(k.length!==l.length)return false;var m=k.length;k=k.sort(j);l=l.sort(j);while(m--)if(k[m]!==l[m])return false;return true;};f.exports=h;},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("classWithMixins",[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i,j){var k=function(){i.apply(this,arguments);};k.prototype=Object.assign(Object.create(i.prototype),j.prototype);return k;}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('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('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('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("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('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('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("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('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('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('transferTextStyles',['Style'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i={fontFamily:null,fontSize:null,fontStyle:null,fontWeight:null,lineHeight:null,wordWrap:null};function j(k,l){for(var m in i)if(i.hasOwnProperty(m))i[m]=h.get(k,m);h.apply(l,i);}f.exports=j;},null);
__d('TextMetrics',['DOM','Style','UserAgent','transferTextStyles'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();function l(n){var o=n.clientWidth,p=i.get(n,'-moz-box-sizing')=='border-box';if(p&&j.isBrowser('Firefox < 29'))return o;var q=i.getFloat(n,'paddingLeft')+i.getFloat(n,'paddingRight');return o-q;}function m(n,o){'use strict';this.$TextMetrics1=n;this.$TextMetrics2=!!o;var p='textarea',q='textMetrics';if(this.$TextMetrics2){p='div';q+=' textMetricsInline';}this.$TextMetrics3=h.create(p,{className:q});k(n,this.$TextMetrics3);document.body.appendChild(this.$TextMetrics3);}m.prototype.measure=function(n){'use strict';var o=this.$TextMetrics1,p=this.$TextMetrics3;n=(n||o.value)+'...';if(!this.$TextMetrics2){var q=l(o);i.set(p,'width',Math.max(q,0)+'px');}if(o.nodeName==='TEXTAREA'){p.value=n;}else h.setContent(p,n);return {width:p.scrollWidth,height:p.scrollHeight};};m.prototype.destroy=function(){'use strict';h.remove(this.$TextMetrics3);};f.exports=m;},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('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("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('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('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("regeneratorRuntime",["Promise"],function a(b,c,d,e,f,g){c.__markCompiled&&c.__markCompiled();"use strict";var h=Object.prototype.hasOwnProperty,i=typeof Symbol==="function"&&Symbol.iterator||"@@iterator",j=f.exports;function k(ea,fa,ga,ha){var ia=Object.create((fa||r).prototype),ja=new ba(ha||[]);ia._invoke=y(ea,ga,ja);return ia;}j.wrap=k;function l(ea,fa,ga){try{return {type:"normal",arg:ea.call(fa,ga)};}catch(ha){return {type:"throw",arg:ha};}}var m="suspendedStart",n="suspendedYield",o="executing",p="completed",q={};function r(){}function s(){}function t(){}var u=t.prototype=r.prototype;s.prototype=u.constructor=t;t.constructor=s;s.displayName="GeneratorFunction";function v(ea){["next","throw","return"].forEach(function(fa){ea[fa]=function(ga){return this._invoke(fa,ga);};});}j.isGeneratorFunction=function(ea){var fa=typeof ea==="function"&&ea.constructor;return fa?fa===s||(fa.displayName||fa.name)==="GeneratorFunction":false;};j.mark=function(ea){if(Object.setPrototypeOf){Object.setPrototypeOf(ea,t);}else Object.assign(ea,t);ea.prototype=Object.create(u);return ea;};j.awrap=function(ea){return new w(ea);};function w(ea){this.arg=ea;}function x(ea){var fa=c('Promise');function ga(ma,na){var oa=ea[ma](na),pa=oa.value;return pa instanceof w?fa.resolve(pa.arg).then(ha,ia):fa.resolve(pa).then(function(qa){oa.value=qa;return oa;});}if(typeof process==="object"&&process.domain)ga=process.domain.bind(ga);var ha=ga.bind(ea,"next"),ia=ga.bind(ea,"throw"),ja=ga.bind(ea,"return"),ka;function la(ma,na){var oa=ka?ka.then(function(){return ga(ma,na);}):new fa(function(pa){pa(ga(ma,na));});ka=oa["catch"](function(pa){});return oa;}this._invoke=la;}v(x.prototype);j.async=function(ea,fa,ga,ha){var ia=new x(k(ea,fa,ga,ha));return j.isGeneratorFunction(fa)?ia:ia.next().then(function(ja){return ja.done?ja.value:ia.next();});};function y(ea,fa,ga){var ha=m;return function ia(ja,ka){if(ha===o)throw new Error("Generator is already running");if(ha===p){if(ja==="throw")throw ka;return da();}while(true){var la=ga.delegate;if(la){if(ja==="return"||(ja==="throw"&&la.iterator[ja]===undefined)){ga.delegate=null;var ma=la.iterator["return"];if(ma){var na=l(ma,la.iterator,ka);if(na.type==="throw"){ja="throw";ka=na.arg;continue;}}if(ja==="return")continue;}var na=l(la.iterator[ja],la.iterator,ka);if(na.type==="throw"){ga.delegate=null;ja="throw";ka=na.arg;continue;}ja="next";ka=undefined;var oa=na.arg;if(oa.done){ga[la.resultName]=oa.value;ga.next=la.nextLoc;}else{ha=n;return oa;}ga.delegate=null;}if(ja==="next"){if(ha===n){ga.sent=ka;}else ga.sent=undefined;}else if(ja==="throw"){if(ha===m){ha=p;throw ka;}if(ga.dispatchException(ka)){ja="next";ka=undefined;}}else if(ja==="return")ga.abrupt("return",ka);ha=o;var na=l(ea,fa,ga);if(na.type==="normal"){ha=ga.done?p:n;var oa={value:na.arg,done:ga.done};if(na.arg===q){if(ga.delegate&&ja==="next")ka=undefined;}else return oa;}else if(na.type==="throw"){ha=p;ja="throw";ka=na.arg;}}};}v(u);u[i]=function(){return this;};u.toString=function(){return "[object Generator]";};function z(ea){var fa={tryLoc:ea[0]};if(1 in ea)fa.catchLoc=ea[1];if(2 in ea){fa.finallyLoc=ea[2];fa.afterLoc=ea[3];}this.tryEntries.push(fa);}function aa(ea){var fa=ea.completion||{};fa.type="normal";delete fa.arg;ea.completion=fa;}function ba(ea){this.tryEntries=[{tryLoc:"root"}];ea.forEach(z,this);this.reset(true);}j.keys=function(ea){var fa=[];for(var ga in ea)fa.push(ga);fa.reverse();return function ha(){while(fa.length){var ia=fa.pop();if(ia in ea){ha.value=ia;ha.done=false;return ha;}}ha.done=true;return ha;};};function ca(ea){if(ea){var fa=ea[i];if(fa)return fa.call(ea);if(typeof ea.next==="function")return ea;if(!isNaN(ea.length)){var ga=-1,ha=function ia(){while(++ga<ea.length)if(h.call(ea,ga)){ia.value=ea[ga];ia.done=false;return ia;}ia.value=undefined;ia.done=true;return ia;};return ha.next=ha;}}return {next:da};}j.values=ca;function da(){return {value:undefined,done:true};}ba.prototype={constructor:ba,reset:function(ea){this.prev=0;this.next=0;this.sent=undefined;this.done=false;this.delegate=null;this.tryEntries.forEach(aa);if(!ea)for(var fa in this)if(fa.charAt(0)==="t"&&h.call(this,fa)&&!isNaN(+fa.slice(1)))this[fa]=undefined;},stop:function(){this.done=true;var ea=this.tryEntries[0],fa=ea.completion;if(fa.type==="throw")throw fa.arg;return this.rval;},dispatchException:function(ea){if(this.done)throw ea;var fa=this;function ga(ma,na){ja.type="throw";ja.arg=ea;fa.next=ma;return !!na;}for(var ha=this.tryEntries.length-1;ha>=0;--ha){var ia=this.tryEntries[ha],ja=ia.completion;if(ia.tryLoc==="root")return ga("end");if(ia.tryLoc<=this.prev){var ka=h.call(ia,"catchLoc"),la=h.call(ia,"finallyLoc");if(ka&&la){if(this.prev<ia.catchLoc){return ga(ia.catchLoc,true);}else if(this.prev<ia.finallyLoc)return ga(ia.finallyLoc);}else if(ka){if(this.prev<ia.catchLoc)return ga(ia.catchLoc,true);}else if(la){if(this.prev<ia.finallyLoc)return ga(ia.finallyLoc);}else throw new Error("try statement without catch or finally");}}},abrupt:function(ea,fa){for(var ga=this.tryEntries.length-1;ga>=0;--ga){var ha=this.tryEntries[ga];if(ha.tryLoc<=this.prev&&h.call(ha,"finallyLoc")&&this.prev<ha.finallyLoc){var ia=ha;break;}}if(ia&&(ea==="break"||ea==="continue")&&ia.tryLoc<=fa&&fa<=ia.finallyLoc)ia=null;var ja=ia?ia.completion:{};ja.type=ea;ja.arg=fa;if(ia){this.next=ia.finallyLoc;}else this.complete(ja);return q;},complete:function(ea,fa){if(ea.type==="throw")throw ea.arg;if(ea.type==="break"||ea.type==="continue"){this.next=ea.arg;}else if(ea.type==="return"){this.rval=ea.arg;this.next="end";}else if(ea.type==="normal"&&fa)this.next=fa;},finish:function(ea){for(var fa=this.tryEntries.length-1;fa>=0;--fa){var ga=this.tryEntries[fa];if(ga.finallyLoc===ea){this.complete(ga.completion,ga.afterLoc);aa(ga);return q;}}},"catch":function(ea){for(var fa=this.tryEntries.length-1;fa>=0;--fa){var ga=this.tryEntries[fa];if(ga.tryLoc===ea){var ha=ga.completion;if(ha.type==="throw"){var ia=ha.arg;aa(ga);}return ia;}}throw new Error("illegal catch attempt");},delegateYield:function(ea,fa,ga){this.delegate={iterator:ca(ea),resultName:fa,nextLoc:ga};return q;}};},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('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('IntlPolishNumberType',['IntlVariations'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i={getNumberVariationType:function(j){var k=j%100,l=k%10;return j===1?h.NUMBER_SINGULAR:l>=2&&l<=4&&!(k>=12&&k<=14)?h.NUMBER_DUAL:h.NUMBER_PLURAL;}};f.exports=i;},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('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('PlatformBaseVersioning',['PlatformVersions','getObjectValues','StrSet','invariant'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l=new j(i(h.versions)),m=location.pathname,n=m.substring(1,m.indexOf('/',1)),o=l.contains(n)?n:h.versions.UNVERSIONED;function p(s,t){if(t==h.versions.UNVERSIONED)return s;!l.contains(t)?k(0):undefined;if(s.indexOf('/')!==0)s='/'+s;return '/'+t+s;}function q(s){if(l.contains(s.substring(1,s.indexOf('/',1))))return s.substring(s.indexOf('/',1));return s;}var r={addVersionToPath:p,getLatestVersion:function(){return h.LATEST;},versionAwareURI:function(s){return s.setPath(p(s.getPath(),o));},versionAwarePath:function(s){return p(s,o);},getUnversionedPath:q};f.exports=r;},null);
__d('PlatformWidgetEndpoint',['PlatformBaseVersioning'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();function i(n,o){return h.versionAwarePath('/dialog'+'/'+n+(o?'/'+o:''));}function j(n,o){return h.versionAwarePath('/plugins'+'/'+n+(o?'/'+o:''));}function k(n){return (/^\/plugins\//.test(h.getUnversionedPath(n)));}function l(n){return (/^\/dialog\//.test(h.getUnversionedPath(n)));}var m={dialog:i,plugins:j,isPluginEndpoint:k,isDialogEndpoint:l};f.exports=m;},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('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('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('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('FlipDirection',['DOM','Input','Style'],function a(b,c,d,e,f,g,h,i,j){if(c.__markCompiled)c.__markCompiled();var k={setDirection:function(l){var m=h.isNodeOfType(l,'input')&&l.type=='text',n=h.isNodeOfType(l,'textarea');if(!(m||n)||l.getAttribute('data-prevent-auto-flip'))return;var o=i.getValue(l),p=l.style&&l.style.direction;if(!p){var q=0,r=true;for(var s=0;s<o.length;s++){var t=o.charCodeAt(s);if(t>=48){if(r){r=false;q++;}if(t>=1470&&t<=1920){j.set(l,'direction','rtl');l.setAttribute('dir','rtl');return;}if(q==5){j.set(l,'direction','ltr');l.setAttribute('dir','ltr');return;}}else r=true;}}else if(o.length===0){j.set(l,'direction','');l.removeAttribute('dir');}}};f.exports=k;},null);
__d('FlipDirectionOnKeypress',['Event','FlipDirection'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j=function(event){var k=event.getTarget();i.setDirection(k);};h.listen(document.documentElement,{keyup:j,input:j});},null);
__d('ArbiterFrame',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h={inform:function(i,j,k){var l=parent.frames,m=l.length,n;j.crossFrame=true;for(var o=0;o<m;o++){n=l[o];try{if(!n||n==window)continue;if(n.require){n.require('Arbiter').inform(i,j,k);}else if(n.ServerJSAsyncLoader)n.ServerJSAsyncLoader.wakeUp(i,j,k);}catch(p){}}}};f.exports=h;},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('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('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._("Nincs h\u00e1l\u00f3zati kapcsolat");desc=fbt._("\u00dagy t\u0171nik, a b\u00f6ng\u00e9sz\u0151d kapcsolat n\u00e9lk\u00fcli \u00e1llapotban van. Ellen\u0151rizd az internet kapcsolatot, \u00e9s pr\u00f3b\u00e1ld \u00fajra!");}else if(error>=300&&error<=399){summary=fbt._("\u00c1tir\u00e1ny\u00edt\u00e1s.");desc=fbt._("A Facebookhoz val\u00f3 hozz\u00e1f\u00e9r\u00e9sedet harmadik f\u00e9l \u00e1tir\u00e1ny\u00edtotta vagy megakad\u00e1lyozta, k\u00e9rj\u00fck, vedd fel a kapcsolatot az internetszolg\u00e1ltat\u00f3ddal, vagy pr\u00f3b\u00e1ld meg friss\u00edteni az oldalt.");var location=this.transport.getResponseHeader("Location");if(location)goURI(location,true);silent=true;}else{summary=fbt._("Hopp\u00e1!");desc=fbt._("Valami hiba t\u00f6rt\u00e9nt. Igyeksz\u00fcnk miel\u0151bb kijav\u00edtani. Esetleg pr\u00f3b\u00e1ld \u00fajra.");}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('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('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('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],END:[35],HOME:[36],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('Popup',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h={open:function(i,j,k){var l=document.body,m='screenX' in window?window.screenX:window.screenLeft,n='screenY' in window?window.screenY:window.screenTop,o='outerWidth' in window?window.outerWidth:l.clientWidth,p='outerHeight' in window?window.outerHeight:l.clientHeight-22,q=Math.floor(m+(o-j)/2),r=Math.floor(n+(p-k)/2.5),s=['width='+j,'height='+k,'left='+q,'top='+r,'scrollbars'];return window.open(i,'_blank',s.join(','));}};f.exports=h;},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('PopupWindow',['DOMDimensions','DOMQuery','Layer','Popup'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l={_opts:{allowShrink:true,strategy:'vector',timeout:100,widthElement:null},init:function(m){Object.assign(l._opts,m);setInterval(l._resizeCheck,l._opts.timeout);},_resizeCheck:function(){var m=h.getViewportDimensions(),n=l._getDocumentSize(),o=j.getTopmostLayer();if(o){var p=o.getRoot().firstChild,q=h.getElementDimensions(p);q.height+=h.measureElementBox(p,'height',true,true,true);q.width+=h.measureElementBox(p,'width',true,true,true);n.height=Math.max(n.height,q.height);n.width=Math.max(n.width,q.width);}var r=n.height-m.height,s=n.width-m.width;if(s<0&&!l._opts.widthElement)s=0;s=s>1?s:0;if(!l._opts.allowShrink&&r<0)r=0;if(r||s)try{window.console&&window.console.firebug;window.resizeBy(s,r);if(s)window.moveBy(s/-2,0);}catch(t){}},_getDocumentSize:function(){var m=h.getDocumentDimensions();if(l._opts.strategy==='offsetHeight')m.height=document.body.offsetHeight;if(l._opts.widthElement){var n=i.scry(document.body,l._opts.widthElement)[0];if(n)m.width=h.getElementDimensions(n).width;}var o=b.Dialog;if(o&&o.max_bottom&&o.max_bottom>m.height)m.height=o.max_bottom;return m;},open:function(m,n,o){return k.open(m,o,n);}};f.exports=l;},null);
__d('Queue',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h={};function i(j){'use strict';this._opts=babelHelpers._extends({interval:0,processor:null},j);this._queue=[];this._stopped=true;}i.prototype._dispatch=function(j){'use strict';if(this._stopped||this._queue.length===0)return;if(!this._opts.processor){this._stopped=true;throw new Error('No processor available');}if(this._opts.interval){this._opts.processor.call(this,this._queue.shift());this._timeout=setTimeout(this._dispatch.bind(this),this._opts.interval);}else while(this._queue.length)this._opts.processor.call(this,this._queue.shift());};i.prototype.enqueue=function(j){'use strict';if(this._opts.processor&&!this._stopped){this._opts.processor.call(this,j);}else this._queue.push(j);return this;};i.prototype.start=function(j){'use strict';if(j)this._opts.processor=j;this._stopped=false;this._dispatch();return this;};i.prototype.isStarted=function(){'use strict';return !this._stopped;};i.prototype.dispatch=function(){'use strict';this._dispatch(true);};i.prototype.stop=function(j){'use strict';this._stopped=true;if(j)clearTimeout(this._timeout);return this;};i.prototype.merge=function(j,k){'use strict';this._queue[k?'unshift':'push'].apply(this._queue,j._queue);j._queue=[];this._dispatch();return this;};i.prototype.getLength=function(){'use strict';return this._queue.length;};i.get=function(j,k){'use strict';var l;if(j in h){l=h[j];}else l=h[j]=new i(k);return l;};i.exists=function(j){'use strict';return j in h;};i.remove=function(j){'use strict';return delete h[j];};f.exports=i;},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('TextInputControl',['DOMControl','Event','Input','debounce'],function a(b,c,d,e,f,g,h,i,j,k){if(c.__markCompiled)c.__markCompiled();var l,m;l=babelHelpers.inherits(n,h);m=l&&l.prototype;function n(o){'use strict';m.constructor.call(this,o);var p=this.getRoot(),q=k(this.update.bind(this),0);i.listen(p,{input:q,keydown:q,paste:q});}n.prototype.setMaxLength=function(o){'use strict';j.setMaxLength(this.getRoot(),o);return this;};n.prototype.getValue=function(){'use strict';return j.getValue(this.getRoot());};n.prototype.isEmpty=function(){'use strict';return j.isEmpty(this.getRoot());};n.prototype.setValue=function(o){'use strict';j.setValue(this.getRoot(),o);this.update();return this;};n.prototype.clear=function(){'use strict';return this.setValue('');};n.prototype.setPlaceholderText=function(o){'use strict';j.setPlaceholder(this.getRoot(),o);return this;};f.exports=n;},null);
__d('TextAreaControl',['Arbiter','ArbiterMixin','CSS','DOMControl','Event','Style','TextInputControl','TextMetrics','classWithMixins','mixin'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){if(c.__markCompiled)c.__markCompiled();var r,s;function t(v,w){return m.getFloat(v,w)||0;}r=babelHelpers.inherits(u,p(n,q(i)));s=r&&r.prototype;function u(v){'use strict';s.constructor.call(this,v);this.autogrow=j.hasClass(v,'uiTextareaAutogrow');this.autogrowWithPlaceholder=j.hasClass(v,'uiTextareaAutogrowWithPlaceholder');this.width=null;l.listen(v,'focus',this._handleFocus.bind(this));}u.prototype.setAutogrow=function(v){'use strict';this.autogrow=v;return this;};u.prototype.onupdate=function(){'use strict';s.onupdate.call(this);this.updateHeight();};u.prototype.updateHeight=function(){'use strict';if(this.autogrow){var v=this.getRoot();if(!this.metrics)this.metrics=new o(v);if(typeof this.initialHeight==='undefined'){this.isBorderBox=m.get(v,'box-sizing')==='border-box'||m.get(v,'-moz-box-sizing')==='border-box'||m.get(v,'-webkit-box-sizing')==='border-box';this.borderBoxOffset=t(v,'padding-top')+t(v,'padding-bottom')+t(v,'border-top-width')+t(v,'border-bottom-width');this.initialHeight=v.offsetHeight-this.borderBoxOffset;}var w=null;if((!v.value||v.value.length===0)&&this.autogrowWithPlaceholder){w=this.metrics.measure(v.placeholder);}else w=this.metrics.measure();var x=Math.max(this.initialHeight,w.height);if(this.isBorderBox)x+=this.borderBoxOffset;if(this.maxHeight&&x>this.maxHeight){x=this.maxHeight;h.inform('maxHeightExceeded',{textArea:v});}if(x!==this.height){this.height=x;m.set(v,'height',x+'px');h.inform('reflow');this.inform('resize');}}else if(this.metrics){this.metrics.destroy();this.metrics=null;}};u.prototype.resetHeight=function(){'use strict';this.height=-1;this.update();};u.prototype.setMaxHeight=function(v){'use strict';this.maxHeight=v;};u.prototype.setAutogrowWithPlaceholder=function(v){'use strict';this.autogrowWithPlacedholder=v;};u.prototype._handleFocus=function(){'use strict';this.width=null;};u.getInstance=function(v){'use strict';return k.getInstance(v)||new u(v);};f.exports=u;},null);
__d('resolveWindow',[],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();function h(i){var j=window,k=i.split('.');try{for(var m=0;m<k.length;m++){var n=k[m],o=/^frames\[['"]?([a-zA-Z0-9\-_]+)['"]?\]$/.exec(n);if(o){j=j.frames[o[1]];}else if(n==='opener'||n==='parent'||n==='top'){j=j[n];}else return null;}}catch(l){return null;}return j;}f.exports=h;},null);
__d('XD',['Arbiter','DOM','DOMDimensions','Log','PHPQuerySerializer','URI','Queue','isFacebookURI','isInIframe','resolveWindow'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){if(c.__markCompiled)c.__markCompiled();var r='fb_xdm_frame_'+location.protocol.replace(':',''),s={_callbacks:[],_opts:{autoResize:false,allowShrink:true,channelUrl:null,hideOverflow:false,resizeTimeout:1000,resizeWidth:false,expectResizeAck:false,resizeAckTimeout:6000},_lastResizeAckId:0,_resizeCount:0,_resizeTimestamp:0,_shrinker:null,init:function(u){this._opts=babelHelpers._extends({},this._opts,u);if(this._opts.autoResize)this._startResizeMonitor();h.subscribe('Connect.Unsafe.resize.ack',(function(v,w){if(!w.id)w.id=this._resizeCount;if(w.id>this._lastResizeAckId)this._lastResizeAckId=w.id;}).bind(this));},getQueue:function(){if(!this._queue)this._queue=new n();return this._queue;},setChannelUrl:function(u){this.getQueue().start((function(v){return this.send(v,u);}).bind(this));},send:function(u,v){v=v||this._opts.channelUrl;if(!v){this.getQueue().enqueue(u);return;}var w={},x=new m(v);Object.assign(w,u,l.deserialize(x.getFragment()));var y=new m(w.origin).getOrigin(),z=q(w.relation.replace(/^parent\./,'')),aa=50,ba=function(){var ca=z.frames[r];try{ca.proxyMessage(l.serialize(w),y);}catch(da){if(--aa){setTimeout(ba,100);}else k.warn('No such frame "'+r+'" to proxyMessage to');}};ba();},_computeSize:function(){var u=j.getDocumentDimensions(),v=0;if(this._opts.resizeWidth){var w=document.body;if(w.clientWidth<w.scrollWidth){v=u.width;}else{var x=w.childNodes;for(var y=0;y<x.length;y++){var z=x[y],aa=z.offsetLeft+z.offsetWidth;if(aa>v)v=aa;}}v=Math.max(v,s.forced_min_width);}u.width=v;if(this._opts.allowShrink){if(!this._shrinker)this._shrinker=i.create('div');i.appendContent(document.body,this._shrinker);u.height=Math.max(this._shrinker.offsetTop,0);}return u;},_startResizeMonitor:function(){var u,v=document.documentElement;if(this._opts.hideOverflow){v.style.overflow='hidden';document.body.style.overflow='hidden';}var w=(function(){var x=this._computeSize(),y=Date.now(),z=this._lastResizeAckId<this._resizeCount&&y-this._resizeTimestamp>this._opts.resizeAckTimeout;if(!u||this._opts.expectResizeAck&&z||this._opts.allowShrink&&u.width!=x.width||!this._opts.allowShrink&&u.width<x.width||this._opts.allowShrink&&u.height!=x.height||!this._opts.allowShrink&&u.height<x.height){u=x;this._resizeCount++;this._resizeTimestamp=y;var aa={type:'resize',height:x.height,ackData:{id:this._resizeCount}};if(x.width&&x.width!=0)aa.width=x.width;try{if(o(new m(document.referrer))&&p()&&window.name&&window.parent.location&&window.parent.location.toString&&o(new m(window.parent.location))){var ca=window.parent.document.getElementsByTagName('iframe');for(var da=0;da<ca.length;da=da+1)if(ca[da].name==window.name){if(this._opts.resizeWidth)ca[da].style.width=aa.width+'px';ca[da].style.height=aa.height+'px';}}this.send(aa);}catch(ba){this.send(aa);}}}).bind(this);w();setInterval(w,this._opts.resizeTimeout);}},t=babelHelpers._extends({},s);f.exports.UnverifiedXD=t;f.exports.XD=s;b.UnverifiedXD=t;b.XD=s;},null);
__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('Plugin',['Arbiter','ArbiterFrame'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j={CONNECT:'platform/plugins/connect',DISCONNECT:'platform/plugins/disconnect',ERROR:'platform/plugins/error',RELOAD:'platform/plugins/reload',DIALOG:'platform/plugins/dialog',connect:function(k,l){var m={identifier:k,href:k,story_fbid:l};h.inform(j.CONNECT,m);i.inform(j.CONNECT,m);},disconnect:function(k,l){var m={identifier:k,href:k,story_fbid:l};h.inform(j.DISCONNECT,m);i.inform(j.DISCONNECT,m);},error:function(k,l){h.inform(j.ERROR,{action:k,content:l});},reload:function(k){h.inform(j.RELOAD,{reloadUrl:k||''});i.inform(j.RELOAD,{reloadUrl:k||''});},reloadOtherPlugins:function(){i.inform(j.RELOAD,{reloadUrl:''});}};f.exports=j;},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('PluginFlyout',['Arbiter','Button','CSS','DOM','DOMEvent','DOMEventListener','Focus','Form','Plugin','TextAreaControl','csx'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){if(c.__markCompiled)c.__markCompiled();var s=h.SUBSCRIBE_NEW,t=h.subscribe,u=h.inform,v=function(x,y){return m.add(x,'click',y);};function w(x,y,z){var aa=this,ba=t(p.CONNECT,function(event,ca){h.unsubscribe(ba);aa.init(x,y,z);aa.connect(event,ca);},s);t(p.DIALOG,function(){aa.init(x,y,z);aa.toggle();},s);}Object.assign(w.prototype,{init:function(x,y,z){if(this.initialized)return;this.initialized=true;k.appendContent(x,JSON.parse(z));var aa=k.find(x,'form'),ba=k.find(aa,"._56zw"),ca=k.find(aa,"._56zx"),da=k.find(aa,"._42x4"),ea=q.getInstance(da);m.add(da,'keyup',function(ia){i.setEnabled(ba,!!ea.getValue());});m.add(window,'keydown',function(ia){if(ia.keyCode===27)ga();});m.add(aa,'submit',function(ia){new l(ia).kill();o.bootstrap(aa);});var fa=y==='tiny'?k.find(document.body,'.pluginPostFlyoutPrompt'):null;this.flyout=x;this.form=aa;this.post_button=ba;this.prompt=fa;var ga=this.hide.bind(this),ha=this.show.bind(this);v(ca,function(ia){new l(ia).kill();ga();});if(fa)v(fa,function(ia){new l(ia).kill();ha();});t(p.CONNECT,this.connect.bind(this),s);t(p.DISCONNECT,function(){ga();},s);t(w.SUCCESS,function(){ga();if(fa)j.hide(fa);},s);t(p.ERROR,function(event,ia){if(ia.action!=='comment')return;k.setContent(k.find(aa,"._56zy"),ia.content);j.hide(ba);},s);},connect:function(event,x){if(x.crossFrame)return;if(this.prompt)j.show(this.prompt);if(!x.story_fbid)this.show();},show:function(){this.shown=true;j.show(this.flyout);j.show(this.post_button);var x=k.scry(this.form,"._5jjo");if(x){n.set(x[0]);}else n.set(this.form.comment);u(w.SHOW);},hide:function(){this.shown=false;j.hide(this.flyout);u(w.HIDE);},toggle:function(){if(this.shown){this.hide();}else this.show();}});Object.assign(w,{SUCCESS:'platform/plugins/flyout/success',SHOW:'platform/plugins/flyout/show',HIDE:'platform/plugins/flyout/hide',success:function(){u(w.SUCCESS);}});f.exports=w;},null);
__d('PluginMessage',['DOMEventListener'],function a(b,c,d,e,f,g,h){if(c.__markCompiled)c.__markCompiled();var i={listen:function(){h.add(window,'message',function(event){if(/\.facebook\.com$/.test(event.origin)&&/^FB_POPUP:/.test(event.data)){var j=JSON.parse(event.data.substring(9));if('reload' in j&&/^https?:/.test(j.reload))document.location.replace(j.reload);}});}};f.exports=i;},null);
__d('PluginOptin',['DOMEvent','DOMEventListener','PluginMessage','PopupWindow','URI','UserAgent_DEPRECATED','PlatformWidgetEndpoint'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n){if(c.__markCompiled)c.__markCompiled();function o(p,q){Object.assign(this,{return_params:l.getRequestURI().getQueryData(),login_params:{},optin_params:{},plugin:p,api_key:q});this.addReturnParams({ret:'optin'});this.login_params.nux=false;delete this.return_params.hash;}Object.assign(o.prototype,{addReturnParams:function(p){Object.assign(this.return_params,p);return this;},addLoginParams:function(p){Object.assign(this.login_params,p);return this;},addOptinParams:function(p){Object.assign(this.optin_params,p);return this;},start:function(){var p=new l(n.dialog('plugin.optin')).addQueryData(this.optin_params).addQueryData({app_id:this.api_key||127760087237610,secure:l.getRequestURI().isSecure(),social_plugin:this.plugin,return_params:JSON.stringify(this.return_params),login_params:JSON.stringify(this.login_params)});if(m.mobile()){p.setSubdomain('m');}else p.addQueryData({display:'popup'});this.popup=k.open(p.toString(),420,450);j.listen();return this;}});o.starter=function(p,q,r,s){var t=new o(p);t.addReturnParams(q||{});t.addLoginParams(r||{});t.addOptinParams(s||{});return t.start.bind(t);};o.listen=function(p,q,r,s,t){i.add(p,'click',function(u){new h(u).kill();o.starter(q,r,s,t)();});};f.exports=o;},null);
__d('PluginConnectButton',['Arbiter','CSS','DOM','DOMDimensions','DOMEvent','DOMEventListener','Focus','Form','PlatformWidgetEndpoint','Plugin','PluginConnectButtonType','PluginFlyout','PluginOptin','Style','URI','csx','cx','getElementPosition'],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){if(c.__markCompiled)c.__markCompiled();var z=h.SUBSCRIBE_NEW,aa=h.subscribe,ba=function(da,ea){return m.add(da,'click',ea);};function ca(da){this.config=da;this.busy=false;var ea=j.find(da.form,'.pluginConnectButton');this.buttons=ea;this.node_connected=j.find(ea,'.pluginConnectButtonConnected');this.node_disconnected=j.find(ea,'.pluginConnectButtonDisconnected');var fa=(function(ha){new l(ha).kill();if(!this.busy){this.submit();this.busy=this.canpersonalize;}}).bind(this);ba(this.node_disconnected,fa);if(da.buttontype===r.BLUE_BASE){ba(j.find(ea,'.pluginButtonX button'),fa);}else if(da.buttontype===r.WHITE_BASE)ba(this.node_connected,fa);ba(this.node_connected,function(ha){return h.inform(q.DIALOG,ha);});var ga=this.update.bind(this);aa(q.CONNECT,ga,z);aa(q.DISCONNECT,ga,z);aa(q.ERROR,this.error.bind(this),z);aa('Connect.Unsafe.xd/reposition',this.flip.bind(this));aa(s.HIDE,this.hideFlyout.bind(this));if(da.autosubmit)setTimeout(this.submit.bind(this),0);}Object.assign(ca.prototype,{update:function(da,event){this.busy=false;var ea=this.config;if(event.identifier!==ea.identifier)return;var fa=da===q.CONNECT,ga=p.plugins(ea.plugin);ga+='/'+(!fa?'connect':'disconnect');i[fa?'show':'hide'](this.node_connected);i[fa?'hide':'show'](this.node_disconnected);try{if(document.activeElement.nodeName.toLowerCase()==='button'){var ia=fa?this.node_connected:this.node_disconnected,ja=j.find(ia,'button');ja.disabled=false;n.set(ja);}}catch(ha){}ea.connected=fa;ea.form.setAttribute('action',ga);ea.form.setAttribute('ajaxify',ga);},error:function(event,da){this.busy=false;if(da.action in {connect:1,disconnect:1}){j.setContent(this.buttons,da.content);var ea=j.scry(this.buttons,'.confirmButton');if(ea.length===1)n.set(ea[0]);}},submit:function(){if(!this.config.canpersonalize)return this.login();o.bootstrap(this.config.form);this.fireStateToggle();},fireStateToggle:function(){var da=this.config;if(da.connected){q.disconnect(da.identifier);}else q.connect(da.identifier);},login:function(){var da=this.config.plugin;new t(da,v.getRequestURI().getQueryData().api_key).addReturnParams({act:'connect'}).addLoginParams({social_plugin_action:this.config.pluginaction}).start();},flip:function(da,ea){var fa=j.scry(document.body,"._4xn8");if(fa.length===0){return;}else fa=fa[0];var ga=j.scry(this.config.form,'.pluginConnectButtonConnected .pluginButtonIcon'),ha=u.get(ga[0],'display')!=='none'?ga[0]:ga[1],ia=j.find(document.body,'.pluginConnectButtonLayoutRoot'),ja;if(ea.type==='reposition'){i.addClass(ia,"_1f8a");u.set(ia,'padding-left',450-ia.offsetWidth+'px');i.removeClass(ia,"_1f8b");ja=y(ha).x+k.getElementDimensions(ha).width/2-6;}else{i.addClass(ia,"_1f8b");u.set(ia,'padding-left','0px');i.removeClass(ia,"_1f8a");ja=6;}u.set(fa,'left',ja+'px');},hideFlyout:function(){n.set(this.connected?this.node_disconnected:this.node_connected);}});f.exports=ca;},null);
__d('UnverifiedXD',['XD'],function a(b,c,d,e,f,g){if(c.__markCompiled)c.__markCompiled();var h=c('XD').UnverifiedXD;f.exports=h;},null);
__d('PluginResize',['Locale','Log','UnverifiedXD','getOffsetParent','getStyleProperty'],function a(b,c,d,e,f,g,h,i,j,k,l){if(c.__markCompiled)c.__markCompiled();function m(q){q=q||document.body;var r=0,s=k(q);if(h.isRTL()&&s){r=s.offsetWidth-q.offsetLeft-q.offsetWidth;}else if(!h.isRTL())r=q.offsetLeft;return n(q)+r;}function n(q){return Math.ceil(parseFloat(l(q,'width')))||q.offsetWidth;}function o(q){q=q||document.body;return q.offsetHeight+q.offsetTop;}function p(q,r,event,s){this.calcWidth=q||m;this.calcHeight=r||o;this.width=undefined;this.height=undefined;this.reposition=!!s;this.event=event||'resize';}Object.assign(p.prototype,{resize:function(){var q=this.calcWidth(),r=this.calcHeight();if(q!==this.width||r!==this.height){i.debug('Resizing Plugin: (%s, %s, %s, %s)',q,r,this.event,this.reposition);this.width=q;this.height=r;j.send({type:this.event,width:q,height:r,reposition:this.reposition});}return this;},auto:function(q){setInterval(this.resize.bind(this),q||250);return this;}});p.auto=function(q,event,r){return new p(m.bind(null,q),o.bind(null,q),event).resize().auto(r);};p.autoHeight=function(q,r,event,s){return new p(function(){return q;},o.bind(null,r),event).resize().auto(s);};p.getElementWidth=n;f.exports=p;},null);
__d('PluginConnectButtonResize',['DOMDimensions','DOMQuery','PluginResize','Style','getElementPosition'],function a(b,c,d,e,f,g,h,i,j,k,l){if(c.__markCompiled)c.__markCompiled();function m(n,o,p){if(p)k.set(n,'width',p+'px');j.auto(n,'resize.flow');function q(){var r=i.scry(document.body,'.uiTypeaheadView')[0];if(!r)return {x:0,y:0};var s=l(r),t=h.getElementDimensions(r);return {x:s.x+t.width,y:s.y+t.height};}new j(function(){return (Math.max(j.getElementWidth(n),o&&o.offsetWidth,q().x));},function(){return (Math.max(n.offsetHeight,o?o.offsetHeight+o.offsetTop:0,q().y));},'resize.iframe',true).resize().auto();}f.exports=m;},null);
__d('PluginConnection',['Arbiter','CSS','Plugin'],function a(b,c,d,e,f,g,h,i,j){if(c.__markCompiled)c.__markCompiled();var k=function(){};Object.assign(k.prototype,{init:function(l,m,n,event){event=event||j.CONNECT;this.identifier=l;this.element=m;this.css=n;h.subscribe([j.CONNECT,j.DISCONNECT],function(o,p){if(l===p.href)i[o===event?'addClass':'removeClass'](m,n);return true;});return this;},connected:function(){return i.hasClass(this.element,this.css);},connect:function(){return h.inform(j.CONNECT,{href:this.identifier},h.BEHAVIOR_STATE);},disconnect:function(){return h.inform(j.DISCONNECT,{href:this.identifier},h.BEHAVIOR_STATE);},toggle:function(){return this.connected()?this.disconnect():this.connect();}});k.init=function(l){for(var m,n=0;n<l.length;n++){m=new k();m.init.apply(m,l[n]);}};f.exports=k;},null);
__d('PluginReturn',['Arbiter','Log','PlatformDialog','Plugin','URI','invariant','PlatformWidgetEndpoint'],function a(b,c,d,e,f,g,h,i,j,k,l,m,n){if(c.__markCompiled)c.__markCompiled();h.subscribe(j.RESPONSE,function(event,p){if(p.error_code){i.debug('Plugin Return Error (%s): %s',p.error_code,p.error_message||p.error_description);return;}k.reload(p.plugin_reload);});var o={auto:function(){h.subscribe(k.RELOAD,function(event,p){var q=typeof p=='object'?p.reloadUrl:p;o.reload(q);});},syncPlugins:function(){h.subscribe(k.RELOAD,function(event,p){if(p.crossFrame)o.reload(p.reloadUrl);});},reload:function(p){var q=l.getRequestURI().removeQueryData('ret').removeQueryData('act').removeQueryData('hash');if(p){var r=new l(p);!n.isPluginEndpoint(r.getPath())?m(0):undefined;q.setPath(r.getPath()).addQueryData(r.getQueryData());}window.location.replace(q.toString());}};f.exports=o;},null);
__d('PluginXDReady',['Arbiter','UnverifiedXD'],function a(b,c,d,e,f,g,h,i){if(c.__markCompiled)c.__markCompiled();var j={handleMessage:function(k){if(!k.method)return;try{h.inform('Connect.Unsafe.'+k.method,JSON.parse(k.params),h.BEHAVIOR_PERSISTENT);}catch(l){}}};b.XdArbiter=j;i.send({xd_action:'plugin_ready',name:window.name});f.exports=null;},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);