Guest User

Untitled

a guest
Sep 20th, 2014
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*!CK:1357795725!*//*1410765604,*/
  2.  
  3. if (self.CavalryLogger) { CavalryLogger.start_js(["Z3urS"]); }
  4.  
  5.  
  6. self.__DEV__=self.__DEV__||0;
  7. (function(a){function b(c,d){if(this==null)throw new TypeError('Array.prototype.findIndex called on null or undefined');if(typeof c!=='function')throw new TypeError('predicate must be a function');var e=Object(this),f=e.length>>>0;for(var g=0;g<f;g++)if(g in e)if(c.call(d,e[g],g,e))return g;return -1;}if(!Array.prototype.findIndex)Array.prototype.findIndex=b;if(!Array.prototype.find)Array.prototype.find=function(c,d){if(this==null)throw new TypeError('Array.prototype.find called on null or undefined');var e=b.call(this,c,d);return e===-1?a:this[e];};})();
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14. if(JSON.stringify(["\u2028\u2029"])==='["\u2028\u2029"]')JSON.stringify=function(a){var b=/\u2028/g,c=/\u2029/g;return function(d,e,f){var g=a.call(this,d,e,f);if(g){if(-1<g.indexOf('\u2028'))g=g.replace(b,'\\u2028');if(-1<g.indexOf('\u2029'))g=g.replace(c,'\\u2029');}return g;};}(JSON.stringify);
  15.  
  16.  
  17.  
  18.  
  19. if(!Object.assign)Object.assign=function(a,b){if(a==null)throw new TypeError('Object.assign target cannot be null or undefined');var c=Object(a),d=Object.prototype.hasOwnProperty;for(var e=1;e<arguments.length;e++){var f=arguments[e];if(f==null)continue;var g=Object(f);for(var h in g)if(d.call(g,h))c[h]=g[h];}return c;};
  20.  
  21. (function(a){a.__m=function(b,c){b.__SMmeta=c;return b;};})(this);
  22. if(!String.prototype.startsWith)String.prototype.startsWith=function(a){"use strict";if(this==null)throw TypeError();var b=String(this),c=arguments.length>1?(Number(arguments[1])||0):0,d=Math.min(Math.max(c,0),b.length);return b.indexOf(String(a),c)==d;};if(!String.prototype.endsWith)String.prototype.endsWith=function(a){"use strict";if(this==null)throw TypeError();var b=String(this),c=b.length,d=String(a),e=arguments.length>1?(Number(arguments[1])||0):c,f=Math.min(Math.max(e,0),c),g=f-d.length;if(g<0)return false;return b.lastIndexOf(d,g)==g;};if(!String.prototype.contains)String.prototype.contains=function(a){"use strict";if(this==null)throw TypeError();var b=String(this),c=arguments.length>1?(Number(arguments[1])||0):0;return b.indexOf(String(a),c)!=-1;};if(!String.prototype.repeat)String.prototype.repeat=function(a){"use strict";if(this==null)throw TypeError();var b=String(this);a=Number(a)||0;if(a<0||a===Infinity)throw RangeError();if(a===1)return b;var c='';while(a){if(a&1)c+=b;if((a>>=1))b+=b;}return c;};
  23.  
  24.  
  25. __t=function(a){return a[0];};__w=function(a){return a;};
  26.  
  27. (function(a){if(a.require)return;var b=Object.prototype.toString,c={},d={},e={},f=0,g=1,h=2,i=Object.prototype.hasOwnProperty;function j(y){var z=Array.prototype.slice.call(y),aa={},ba,ca,da,ea;while(z.length){ca=z.shift();if(aa[ca])continue;aa[ca]=true;da=c[ca];if(!da||!da.waiting)continue;for(ba=0;ba<da.dependencies.length;ba++){ea=da.dependencies[ba];if(!c[ea]||c[ea].waiting)z.push(ea);}}for(ca in aa)if(i.call(aa,ca))z.push(ca);var fa=[];for(ba=0;ba<z.length;ba++){ca=z[ba];var ga=ca;da=c[ca];if(!da){ga+=' is not defined';}else if(!da.waiting){ga+=' is ready';}else{var ha=[];for(var ia=0;ia<da.dependencies.length;ia++){ea=da.dependencies[ia];if(!c[ea]||c[ea].waiting)ha.push(ea);}ga+=' is waiting for '+ha.join(', ');}fa.push(ga);}return fa.join('\n');}function k(y){this.name='ModuleError';this.message=y;this.stack=Error(y).stack;this.framesToPop=2;}k.prototype=Object.create(Error.prototype);k.prototype.constructor=k;var l=a.performance||a.msPerformance||a.webkitPerformance||{};if(!l.now)l=a.Date;var m=l?l.now.bind(l):function(){return 0;},n=0,o=0,p=0;function q(y){var z=c[y],aa,ba,ca;if(z&&z.exports){if(z.refcount--===1)delete c[y];return z.exports;}if(a.ErrorUtils&&!a.ErrorUtils.inGuard())return ErrorUtils.applyWithGuard(q,this,arguments);if(!z){ca='Requiring unknown module "'+y+'"';throw new k(ca);}if(z.hasError)throw new k('Requiring module "'+y+'" which threw an exception');if(z.waiting)throw new k('Requiring module "'+y+'" with unresolved dependencies: '+j([y]));var da=z.exports={},ea=z.factory;if(b.call(ea)==='[object Function]'){var fa=[],ga=z.dependencies,ha=ga.length,ia;if(z.special&h)ha=Math.min(ha,ea.length);try{for(ba=0;fa.length<ha;ba++){aa=ga[ba];if(!z.inlineRequires[aa])fa.push(aa==='module'?z:(aa==='exports'?da:q.call(null,aa)));}++p;if(n++===0)o-=m();try{ia=ea.apply(z.context||a,fa);}catch(ja){if(c.ex&&c.erx){var ka=q.call(null,'ex'),la=q.call(null,'erx'),ma=la(ja.message);if(ma[0].indexOf(' from module "%s"')<0){ma[0]+=' from module "%s"';ma[ma.length]=y;}ja.message=ka.apply(null,ma);}throw ja;}finally{if(--n===0)o+=m();}}catch(ja){z.hasError=true;z.exports=null;throw ja;}if(ia)z.exports=ia;}else z.exports=ea;if(z.refcount--===1)delete c[y];return z.exports;}q.__getFactoryTime=function(){return (n?m():0)+o;};q.__getTotalFactories=function(){return p;};function r(y,z,aa,ba,ca,da,ea){if(z===undefined){z=[];aa=y;y=u();}else if(aa===undefined){aa=z;if(b.call(y)==='[object Array]'){z=y;y=u();}else z=[];}var fa={cancel:s.bind(this,y)},ga=c[y];if(ga){if(da)ga.refcount+=da;return fa;}else if(!z&&!aa&&da){e[y]=(e[y]||0)+da;return fa;}else{ga={id:y};ga.refcount=(e[y]||0)+(da||0);delete e[y];}ga.factory=aa;ga.dependencies=z;ga.context=ca;ga.special=ba;ga.inlineRequires=ea||{};ga.waitingMap={};ga.waiting=0;ga.hasError=false;c[y]=ga;w(y);return fa;}function s(y){if(!c[y])return;var z=c[y];delete c[y];for(var aa in z.waitingMap)if(z.waitingMap[aa])delete d[aa][y];for(var ba=0;ba<z.dependencies.length;ba++){aa=z.dependencies[ba];if(c[aa]){if(c[aa].refcount--===1)s(aa);}else if(e[aa])e[aa]--;}}function t(y,z,aa){return r(y,z,undefined,g,aa,1);}function u(){return '__mod__'+f++;}function v(y,z){if(!y.waitingMap[z]&&y.id!==z){y.waiting++;y.waitingMap[z]=1;d[z]||(d[z]={});d[z][y.id]=1;}}function w(y){var z=[],aa=c[y],ba,ca,da;for(ca=0;ca<aa.dependencies.length;ca++){ba=aa.dependencies[ca];if(!c[ba]){v(aa,ba);}else if(c[ba].waiting)for(da in c[ba].waitingMap)if(c[ba].waitingMap[da])v(aa,da);}if(aa.waiting===0&&aa.special&g)z.push(y);if(d[y]){var ea=d[y],fa;d[y]=undefined;for(ba in ea){fa=c[ba];for(da in aa.waitingMap)if(aa.waitingMap[da])v(fa,da);if(fa.waitingMap[y]){fa.waitingMap[y]=undefined;fa.waiting--;}if(fa.waiting===0&&fa.special&g)z.push(ba);}}for(ca=0;ca<z.length;ca++)q.call(null,z[ca]);}function x(y,z){var aa=c[y]={id:y};aa.exports=z;aa.refcount=0;}x('module',0);x('exports',0);x('define',r);x('global',a);x('require',q);x('requireDynamic',q);x('requireLazy',t);r.amd={};a.define=r;a.require=q;a.requireDynamic=q;a.requireLazy=t;q.__debug={modules:c,deps:d,printDependencyInfo:function(){if(!a.console)return;var y=Object.keys(q.__debug.deps);a.console.log(j(y));}};a.__d=function(y,z,aa,ba,ca){var da=['global','require','requireDynamic','requireLazy','module','exports'];r(y,da.concat(z),aa,ba||h,null,null,ca);};})(this);
  28. __d("CookieCore",[],function(a,b,c,d,e,f){var g={set:function(h,i,j,k,l){document.cookie=h+"="+encodeURIComponent(i)+"; "+(j?"expires="+(new Date(Date.now()+j)).toGMTString()+"; ":"")+"path="+(k||'/')+"; domain="+window.location.hostname.replace(/^.*(\.facebook\..*)$/i,'$1')+(l?"; secure":"");},clear:function(h,i){i=i||'/';document.cookie=h+"=; expires=Thu, 01-Jan-1970 00:00:01 GMT; "+"path="+i+"; domain="+window.location.hostname.replace(/^.*(\.facebook\..*)$/i,'$1');},get:function(h){var i=document.cookie.match('(?:^|;\\s*)'+h+'=(.*?)(?:;|$)');return (i?decodeURIComponent(i[1]):i);}};e.exports=g;},null);
  29. __d("copyProperties",[],function(a,b,c,d,e,f){function g(h,i,j,k,l,m,n){h=h||{};var o=[i,j,k,l,m],p=0,q;while(o[p]){q=o[p++];for(var r in q)h[r]=q[r];if(q.hasOwnProperty&&q.hasOwnProperty('toString')&&(typeof q.toString!='undefined')&&(h.toString!==q.toString))h.toString=q.toString;}return h;}e.exports=g;},null);
  30. __d("Env",["copyProperties"],function(a,b,c,d,e,f,g){var h={start:Date.now()};if(a.Env){g(h,a.Env);a.Env=undefined;}e.exports=h;},null);
  31. __d("Cookie",["CookieCore","Env","copyProperties"],function(a,b,c,d,e,f,g,h,i){function j(l,m,n,o,p){if(h.no_cookies&&l!='tpa')return;g.set(l,m,n,o,p);}var k=i({},g);k.set=j;e.exports=k;},null);
  32. __d("event-form-bubbling",[],function(a,b,c,d,e,f){a.Event=a.Event||function(){};a.Event.__inlineSubmit=function(g,event){var h=(a.Event.__getHandler&&a.Event.__getHandler(g,'submit'));return h?null:a.Event.__bubbleSubmit(g,event);};a.Event.__bubbleSubmit=function(g,event){if(document.documentElement.attachEvent){var h;while(h!==false&&(g=g.parentNode))h=g.onsubmit?g.onsubmit(event):a.Event.__fire&&a.Event.__fire(g,'submit',event);return h;}};},3);
  33. __d("eprintf",[],function(a,b,c,d,e,f){var g=function(h){var i=Array.prototype.slice.call(arguments).map(function(l){return String(l);}),j=h.split('%s').length-1;if(j!==i.length-1)return g('eprintf args number mismatch: %s',JSON.stringify(i));var k=1;return h.replace(/%s/g,function(l){return String(i[k++]);});};e.exports=g;},null);
  34. __d("ex",["eprintf"],function(a,b,c,d,e,f,g){var h=function(){var i=Array.prototype.slice.call(arguments,0);i=i.map(function(j){return String(j);});if(i[0].split('%s').length!==i.length)return h('ex args number mismatch: %s',JSON.stringify(i));return h._prefix+JSON.stringify(i)+h._suffix;};h._prefix='<![EX[';h._suffix=']]>';e.exports=h;},null);
  35. __d("erx",["ex"],function(a,b,c,d,e,f,g){var h=function(i){if(typeof i!=='string')return i;var j=i.indexOf(g._prefix),k=i.lastIndexOf(g._suffix);if(j<0||k<0)return [i];var l=j+g._prefix.length,m=k+g._suffix.length;if(l>=k)return ['erx slice failure: %s',i];var n=i.substring(0,j),o=i.substring(m);i=i.substring(l,k);var p;try{p=JSON.parse(i);p[0]=n+p[0]+o;}catch(q){return ['erx parse failure: %s',i];}return p;};e.exports=h;},null);
  36. __d("wrapFunction",[],function(a,b,c,d,e,f){var g={};function h(i,j,k){j=j||'default';return function(){var l=j in g?g[j](i,k):i;return l.apply(this,arguments);};}h.setWrapper=function(i,j){j=j||'default';g[j]=i;};e.exports=h;},null);
  37. __d("ErrorUtils",["Env","eprintf","erx","wrapFunction"],function(a,b,c,d,e,f,g,h,i,j){var k={},l='<anonymous guard>',m='<generated guard>',n='<window.onerror>',o=/^https?:\/\//i,p=/^Type Mismatch for/,q=['Unknown script code','Function code','eval code'],r=new RegExp('(.*?)(\\s)(?:'+q.join('|')+')$'),s=[],t,u=[],v=50,w=[],x=false,y=false;function z(la){if(!la)return [];var ma=la.split(/\n\n/)[0].replace(/[\(\)]|\[.*?\]|^\w+:\s.*?\n/g,'').split('\n').map(function(na){var oa,pa,qa;na=na.trim();if(/(:(\d+)(:(\d+))?)$/.test(na)){pa=RegExp.$2;qa=RegExp.$4;na=na.slice(0,-RegExp.$1.length);}if(r.test(na)||/(.*)(@|\s)[^\s]+$/.test(na)){na=na.substring(RegExp.$1.length+1);oa=/(at)?\s*(.*)([^\s]+|$)/.test(RegExp.$1)?RegExp.$2:'';}var ra={identifier:oa,script:na,line:pa,column:qa};if(t)t(ra);ra.text='    at'+(ra.identifier?' '+ra.identifier+' (':' ')+ra.script+(ra.line?':'+ra.line:'')+(ra.column?':'+ra.column:'')+(ra.identifier?')':'');return ra;});return ma;}function aa(la){if(!la){return {};}else if(la._originalError)return la;var ma=z(la.stackTrace||la.stack),na=false;if(la.framesToPop){var oa=la.framesToPop,pa;while(oa>0&&ma.length>0){pa=ma.shift();oa--;na=true;}if(p.test(la.message)&&la.framesToPop===2&&pa)if(o.test(pa.script))la.message+=' at '+pa.script+(pa.line?':'+pa.line:'')+(pa.column?':'+pa.column:'');delete la.framesToPop;}var qa={line:la.lineNumber||la.line,column:la.columnNumber||la.column,name:la.name,message:la.message,messageWithParams:la.messageWithParams,type:la.type,script:la.fileName||la.sourceURL||la.script,stack:ma.map(function(sa){return sa.text;}).join('\n'),stackFrames:ma,guard:la.guard,guardList:la.guardList,extra:la.extra,snapshot:la.snapshot};if(typeof qa.message==='string'&&!qa.messageWithParams){qa.messageWithParams=i(qa.message);qa.message=h.apply(a,qa.messageWithParams);}else{qa.messageObject=qa.message;qa.message=String(qa.message);}if(t)t(qa);if(na){delete qa.script;delete qa.line;delete qa.column;}if(ma[0]){qa.script=qa.script||ma[0].script;qa.line=qa.line||ma[0].line;qa.column=qa.column||ma[0].column;}qa._originalError=la;for(var ra in qa)(qa[ra]==null&&delete qa[ra]);return qa;}function ba(la,ma){if(y)return false;if(w.length>0){la.guard=la.guard||w[0];la.guardList=w.slice();}la=aa(la);!ma;if(u.length>v)u.splice(v/2,1);u.push(la);y=true;for(var na=0;na<s.length;na++)try{s[na](la);}catch(oa){}y=false;return true;}function ca(){return x;}function da(la){w.unshift(la);x=true;}function ea(){w.shift();x=(w.length!==0);}function fa(la,ma,na,oa,pa){da(pa||l);var qa,ra=k.nocatch||(/nocatch/).test(location.search);if(!ra&&g.nocatch)ra=g.nocatch;if(ra){try{qa=la.apply(ma,na||[]);}finally{ea();}return qa;}try{qa=la.apply(ma,na||[]);return qa;}catch(sa){var ta=aa(sa);if(oa)oa(ta);if(la)ta.callee=la.toString().substring(0,100);if(na)ta.args=Array.prototype.slice.call(na).toString().substring(0,100);ta.guard=w[0];ta.guardList=w.slice();ba(ta);}finally{ea();}}function ga(la,ma,na){ma=ma||la.name||m;function oa(){return fa(la,na||this,arguments,null,ma);}return oa;}j.setWrapper(ga,'entry');function ha(la,ma,na,oa,pa){pa=pa||{};pa.message=pa.message||la;pa.script=pa.script||ma;pa.line=pa.line||na;pa.column=pa.column||oa;pa.guard=n;pa.guardList=[n];ba(pa,true);}window.onerror=ha;function ia(la,ma){s.push(la);if(!ma)u.forEach(la);}function ja(la){t=la;}var ka={ANONYMOUS_GUARD_TAG:l,GENERATED_GUARD_TAG:m,GLOBAL_ERROR_HANDLER_TAG:n,addListener:ia,setSourceResolver:ja,applyWithGuard:fa,guard:ga,history:u,inGuard:ca,normalizeError:aa,onerror:ha,reportError:ba};e.exports=a.ErrorUtils=ka;if(typeof __t==='function'&&__t.setHandler)__t.setHandler(ba);},null);
  38. __d("CallbackDependencyManager",["ErrorUtils"],function(a,b,c,d,e,f,g){function h(){"use strict";this.$CallbackDependencyManager0={};this.$CallbackDependencyManager1={};this.$CallbackDependencyManager2=1;this.$CallbackDependencyManager3={};}h.prototype.$CallbackDependencyManager4=function(i,j){"use strict";var k=0,l={};for(var m=0,n=j.length;m<n;m++)l[j[m]]=1;for(var o in l){if(this.$CallbackDependencyManager3[o])continue;k++;if(this.$CallbackDependencyManager0[o]===undefined)this.$CallbackDependencyManager0[o]={};this.$CallbackDependencyManager0[o][i]=(this.$CallbackDependencyManager0[o][i]||0)+1;}return k;};h.prototype.$CallbackDependencyManager5=function(i){"use strict";if(!this.$CallbackDependencyManager0[i])return;for(var j in this.$CallbackDependencyManager0[i]){this.$CallbackDependencyManager0[i][j]--;if(this.$CallbackDependencyManager0[i][j]<=0)delete this.$CallbackDependencyManager0[i][j];this.$CallbackDependencyManager1[j].$CallbackDependencyManager6--;if(this.$CallbackDependencyManager1[j].$CallbackDependencyManager6<=0){var k=this.$CallbackDependencyManager1[j].$CallbackDependencyManager7;delete this.$CallbackDependencyManager1[j];g.applyWithGuard(k);}}};h.prototype.addDependenciesToExistingCallback=function(i,j){"use strict";if(!this.$CallbackDependencyManager1[i])return null;var k=this.$CallbackDependencyManager4(i,j);this.$CallbackDependencyManager1[i].$CallbackDependencyManager6+=k;return i;};h.prototype.isPersistentDependencySatisfied=function(i){"use strict";return !!this.$CallbackDependencyManager3[i];};h.prototype.satisfyPersistentDependency=function(i){"use strict";this.$CallbackDependencyManager3[i]=1;this.$CallbackDependencyManager5(i);};h.prototype.satisfyNonPersistentDependency=function(i){"use strict";var j=this.$CallbackDependencyManager3[i]===1;if(!j)this.$CallbackDependencyManager3[i]=1;this.$CallbackDependencyManager5(i);if(!j)delete this.$CallbackDependencyManager3[i];};h.prototype.registerCallback=function(i,j){"use strict";var k=this.$CallbackDependencyManager2;this.$CallbackDependencyManager2++;var l=this.$CallbackDependencyManager4(k,j);if(l===0){g.applyWithGuard(i);return null;}this.$CallbackDependencyManager1[k]={$CallbackDependencyManager7:i,$CallbackDependencyManager6:l};return k;};h.prototype.unsatisfyPersistentDependency=function(i){"use strict";delete this.$CallbackDependencyManager3[i];};e.exports=h;},null);
  39. __d("EventSubscription",[],function(a,b,c,d,e,f){'use strict';function g(h){this.subscriber=h;}g.prototype.remove=function(){this.subscriber.removeSubscription(this);};e.exports=g;},null);
  40. __d("EmitterSubscription",["EventSubscription"],function(a,b,c,d,e,f,g){'use strict';for(var h in g)if(g.hasOwnProperty(h))j[h]=g[h];var i=g===null?null:g.prototype;j.prototype=Object.create(i);j.prototype.constructor=j;j.__superConstructor__=g;function j(k,l,m){g.call(this,k);this.listener=l;this.context=m;}e.exports=j;},null);
  41. __d("invariant",[],function(a,b,c,d,e,f){"use strict";var g=function(h,i,j,k,l,m,n,o){if(!h){var p;if(i===undefined){p=new Error('Minified exception occurred; use the non-minified dev environment '+'for the full error message and additional helpful warnings.');}else{var q=[j,k,l,m,n,o],r=0;p=new Error('Invariant Violation: '+i.replace(/%s/g,function(){return q[r++];}));}p.framesToPop=1;throw p;}};e.exports=g;},null);
  42. __d("EventSubscriptionVendor",["invariant"],function(a,b,c,d,e,f,g){'use strict';function h(){this.$EventSubscriptionVendor0={};this.$EventSubscriptionVendor1=null;}h.prototype.addSubscription=function(i,j){g(j.subscriber===this);if(!this.$EventSubscriptionVendor0[i])this.$EventSubscriptionVendor0[i]=[];var k=this.$EventSubscriptionVendor0[i].length;this.$EventSubscriptionVendor0[i].push(j);j.eventType=i;j.key=k;return j;};h.prototype.removeAllSubscriptions=function(i){if(i===undefined){this.$EventSubscriptionVendor0={};}else delete this.$EventSubscriptionVendor0[i];};h.prototype.removeSubscription=function(i){var j=i.eventType,k=i.key,l=this.$EventSubscriptionVendor0[j];if(l)delete l[k];};h.prototype.getSubscriptionsForType=function(i){return this.$EventSubscriptionVendor0[i];};e.exports=h;},null);
  43. __d("emptyFunction",["copyProperties"],function(a,b,c,d,e,f,g){function h(j){return function(){return j;};}function i(){}g(i,{thatReturns:h,thatReturnsFalse:h(false),thatReturnsTrue:h(true),thatReturnsNull:h(null),thatReturnsThis:function(){return this;},thatReturnsArgument:function(j){return j;}});e.exports=i;},null);
  44. __d("EventEmitter",["EmitterSubscription","ErrorUtils","EventSubscriptionVendor","emptyFunction","invariant"],function(a,b,c,d,e,f,g,h,i,j,k){function l(){"use strict";this.$EventEmitter0=new i();}l.prototype.addListener=function(m,n,o){"use strict";return this.$EventEmitter0.addSubscription(m,new g(this.$EventEmitter0,n,o));};l.prototype.once=function(m,n,o){"use strict";var p=this;return this.addListener(m,function(){p.removeCurrentListener();n.apply(o,arguments);});};l.prototype.removeAllListeners=function(m){"use strict";this.$EventEmitter0.removeAllSubscriptions(m);};l.prototype.removeCurrentListener=function(){"use strict";k(!!this.$EventEmitter1);this.$EventEmitter0.removeSubscription(this.$EventEmitter1);};l.prototype.listeners=function(m){"use strict";var n=this.$EventEmitter0.getSubscriptionsForType(m);return n?n.filter(j.thatReturnsTrue).map(function(o){return o.listener;}):[];};l.prototype.emit=function(m){"use strict";var n=this.$EventEmitter0.getSubscriptionsForType(m);if(n){var o=Object.keys(n);for(var p=0;p<o.length;p++){var q=o[p],r=n[q];if(r){this.$EventEmitter1=r;h.applyWithGuard(r.listener,r.context,Array.prototype.slice.call(arguments,1),null,'EventEmitter:'+m);}}this.$EventEmitter1=null;}};e.exports=l;},null);
  45. __d("EventEmitterWithHolding",[],function(a,b,c,d,e,f){'use strict';function g(h,i){this.$EventEmitterWithHolding0=h;this.$EventEmitterWithHolding1=i;this.$EventEmitterWithHolding2=null;this.$EventEmitterWithHolding3=[];this.$EventEmitterWithHolding4=0;}g.prototype.addListener=function(h,i,j){return this.$EventEmitterWithHolding0.addListener(h,i,j);};g.prototype.once=function(h,i,j){return this.$EventEmitterWithHolding0.once(h,i,j);};g.prototype.addRetroactiveListener=function(h,i,j){var k=this.$EventEmitterWithHolding0.addListener(h,i,j),l=this.$EventEmitterWithHolding3;l.push(false);this.$EventEmitterWithHolding4++;this.$EventEmitterWithHolding1.emitToListener(h,i,j);this.$EventEmitterWithHolding4--;if(l[l.length-1])k.remove();l.pop();return k;};g.prototype.removeAllListeners=function(h){this.$EventEmitterWithHolding0.removeAllListeners(h);};g.prototype.removeCurrentListener=function(){if(this.$EventEmitterWithHolding4){var h=this.$EventEmitterWithHolding3;h[h.length-1]=true;}else this.$EventEmitterWithHolding0.removeCurrentListener();};g.prototype.listeners=function(h){return this.$EventEmitterWithHolding0.listeners(h);};g.prototype.emit=function(h,i,j,k,l,m,n){this.$EventEmitterWithHolding0.emit(h,i,j,k,l,m,n);};g.prototype.emitAndHold=function(h,i,j,k,l,m,n){this.$EventEmitterWithHolding2=this.$EventEmitterWithHolding1.holdEvent(h,i,j,k,l,m,n);this.$EventEmitterWithHolding0.emit(h,i,j,k,l,m,n);this.$EventEmitterWithHolding2=null;};g.prototype.releaseCurrentEvent=function(){if(this.$EventEmitterWithHolding2!==null){this.$EventEmitterWithHolding1.releaseEvent(this.$EventEmitterWithHolding2);}else if(!!this.$EventEmitterWithHolding4)this.$EventEmitterWithHolding1.releaseCurrentEvent();};g.prototype.releaseHeldEventType=function(h){this.$EventEmitterWithHolding1.releaseEventType(h);};e.exports=g;},null);
  46. __d("EventHolder",["invariant"],function(a,b,c,d,e,f,g){'use strict';function h(){this.$EventHolder0={};this.$EventHolder1=[];}h.prototype.holdEvent=function(i,j,k,l,m,n,o){this.$EventHolder0[i]=this.$EventHolder0[i]||[];var p=this.$EventHolder0[i],q={eventType:i,index:p.length};p.push([j,k,l,m,n,o]);return q;};h.prototype.emitToListener=function(i,j,k){var l=this.$EventHolder0[i];if(!l)return;l.forEach(function(m,n){if(!m)return;this.$EventHolder1.push({eventType:i,index:n});j.apply(k,m);this.$EventHolder1.pop();}.bind(this));};h.prototype.releaseCurrentEvent=function(){g(this.$EventHolder1.length);this.releaseEvent(this.$EventHolder1[this.$EventHolder1.length-1]);};h.prototype.releaseEvent=function(i){delete this.$EventHolder0[i.eventType][i.index];};h.prototype.releaseEventType=function(i){this.$EventHolder0[i]=[];};e.exports=h;},null);
  47. __d("asyncCallback",[],function(a,b,c,d,e,f){function g(h,i){return h;}e.exports=g;},null);
  48. __d("toArray",["invariant"],function(a,b,c,d,e,f,g){function h(i){var j=i.length;g(!Array.isArray(i)&&(typeof i==='object'||typeof i==='function'));g(typeof j==='number');g(j===0||(j-1) in i);if(i.hasOwnProperty)try{return Array.prototype.slice.call(i);}catch(k){}var l=Array(j);for(var m=0;m<j;m++)l[m]=i[m];return l;}e.exports=h;},null);
  49. __d("createArrayFrom",["toArray"],function(a,b,c,d,e,f,g){function h(j){return (!!j&&(typeof j=='object'||typeof j=='function')&&('length' in j)&&!('setInterval' in j)&&(typeof j.nodeType!='number')&&(Array.isArray(j)||('callee' in j)||('item' in j)));}function i(j){if(!h(j)){return [j];}else if(Array.isArray(j)){return j.slice();}else return g(j);}e.exports=i;},null);
  50. __d("Arbiter",["CallbackDependencyManager","ErrorUtils","EventEmitter","EventEmitterWithHolding","EventHolder","asyncCallback","copyProperties","createArrayFrom","invariant"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){'use strict';function p(){var u=new i();this.$Arbiter0=new s();this.$Arbiter1=new j(u,this.$Arbiter0);this.$Arbiter2=new g();this.$Arbiter3=[];}p.prototype.subscribe=function(u,v,w){u=n(u);u.forEach(function(y){o(y&&typeof y==='string');});o(typeof v==='function');w=w||p.SUBSCRIBE_ALL;o(w===p.SUBSCRIBE_NEW||w===p.SUBSCRIBE_ALL);var x=u.map(function(y){var z=this.$Arbiter4.bind(this,v,y);if(w===p.SUBSCRIBE_NEW)return this.$Arbiter1.addListener(y,z);this.$Arbiter3.push({});var aa=this.$Arbiter1.addRetroactiveListener(y,z);this.$Arbiter3.pop();return aa;},this);return new t(this,x);};p.prototype.$Arbiter4=function(u,v,w){var x=this.$Arbiter3[this.$Arbiter3.length-1];if(x[v]===false)return;var y=h.applyWithGuard(u,null,[v,w]);if(y===false)this.$Arbiter1.releaseCurrentEvent();x[v]=y;};p.prototype.unsubscribeCurrentSubscription=function(){this.$Arbiter1.removeCurrentListener();};p.prototype.releaseCurrentPersistentEvent=function(){this.$Arbiter1.releaseCurrentEvent();};p.prototype.subscribeOnce=function(u,v,w){var x=this.subscribe(u,function(y,z){this.unsubscribeCurrentSubscription();return v(y,z);}.bind(this),w);return x;};p.prototype.unsubscribe=function(u){o(u.isForArbiterInstance(this));u.unsubscribe();};p.prototype.inform=function(u,v,w){var x=Array.isArray(u);u=n(u);w=w||p.BEHAVIOR_EVENT;var y=(w===p.BEHAVIOR_STATE)||(w===p.BEHAVIOR_PERSISTENT);this.$Arbiter3.push({});for(var z=0;z<u.length;z++){var aa=u[z];o(aa);this.$Arbiter0.setHoldingBehavior(aa,w);this.$Arbiter1.emitAndHold(aa,v);this.$Arbiter5(aa,v,y);}var ba=this.$Arbiter3.pop();return x?ba:ba[u[0]];};p.prototype.query=function(u){var v=this.$Arbiter0.getHoldingBehavior(u);o(!v||v===p.BEHAVIOR_STATE);var w=null;this.$Arbiter0.emitToListener(u,function(x){w=x;});return w;};p.prototype.registerCallback=function(u,v){if(typeof u==='function'){return this.$Arbiter2.registerCallback(l(u,'arbiter'),v);}else return this.$Arbiter2.addDependenciesToExistingCallback(u,v);};p.prototype.$Arbiter5=function(u,v,w){if(v===null)return;if(w){this.$Arbiter2.satisfyPersistentDependency(u);}else this.$Arbiter2.satisfyNonPersistentDependency(u);};for(var q in k)if(k.hasOwnProperty(q))s[q]=k[q];var r=k===null?null:k.prototype;s.prototype=Object.create(r);s.prototype.constructor=s;s.__superConstructor__=k;function s(){k.call(this);this.$ArbiterEventHolder0={};}s.prototype.setHoldingBehavior=function(u,v){this.$ArbiterEventHolder0[u]=v;};s.prototype.getHoldingBehavior=function(u){return this.$ArbiterEventHolder0[u];};s.prototype.holdEvent=function(u,v,w,x,y){var z=this.$ArbiterEventHolder0[u];if(z!==p.BEHAVIOR_PERSISTENT)this.$ArbiterEventHolder2(u);if(z!==p.BEHAVIOR_EVENT)return r.holdEvent.call(this,u,v,w,x,y);};s.prototype.$ArbiterEventHolder2=function(u){this.emitToListener(u,this.releaseCurrentEvent,this);};s.prototype.releaseEvent=function(u){if(u)r.releaseEvent.call(this,u);};m(p,{SUBSCRIBE_NEW:'new',SUBSCRIBE_ALL:'all',BEHAVIOR_EVENT:'event',BEHAVIOR_STATE:'state',BEHAVIOR_PERSISTENT:'persistent'});function t(u,v){this.$ArbiterToken0=u;this.$ArbiterToken1=v;}t.prototype.unsubscribe=function(){for(var u=0;u<this.$ArbiterToken1.length;u++)this.$ArbiterToken1[u].remove();this.$ArbiterToken1.length=0;};t.prototype.isForArbiterInstance=function(u){o(this.$ArbiterToken0);return this.$ArbiterToken0===u;};Object.keys(p.prototype).forEach(function(u){p[u]=function(){var v=(this instanceof p)?this:p;return p.prototype[u].apply(v,arguments);};});p.call(p);e.exports=p;},null);
  51. __d("isEmpty",[],function(a,b,c,d,e,f){function g(h){if(Array.isArray(h)){return h.length===0;}else if(typeof h==='object'){for(var i in h)return false;return true;}else return !h;}e.exports=g;},null);
  52. __d("DataStore",["isEmpty"],function(a,b,c,d,e,f,g){var h={},i=1;function j(m){if(typeof m=='string'){return 'str_'+m;}else return 'elem_'+(m.__FB_TOKEN||(m.__FB_TOKEN=[i++]))[0];}function k(m){var n=j(m);return h[n]||(h[n]={});}var l={set:function(m,n,o){if(!m)throw new TypeError('DataStore.set: namespace is required, got '+(typeof m));var p=k(m);p[n]=o;return m;},get:function(m,n,o){if(!m)throw new TypeError('DataStore.get: namespace is required, got '+(typeof m));var p=k(m),q=p[n];if(typeof q==='undefined'&&m.getAttribute)if(m.hasAttribute&&!m.hasAttribute('data-'+n)){q=undefined;}else{var r=m.getAttribute('data-'+n);q=(null===r)?undefined:r;}if((o!==undefined)&&(q===undefined))q=p[n]=o;return q;},remove:function(m,n){if(!m)throw new TypeError('DataStore.remove: namespace is required, got '+(typeof m));var o=k(m),p=o[n];delete o[n];if(g(o))l.purge(m);return p;},purge:function(m){delete h[j(m)];},_storage:h};e.exports=l;},null);
  53. __d("$",["ex"],function(a,b,c,d,e,f,g){function h(j){var k=typeof j==='string'?document.getElementById(j):j;if(!k)throw new Error(g('Tried to get element with id of "%s" but it is not present on the page.',j));return k;}function i(j){return h(j);}i.unsafe=h;e.exports=i;},null);
  54. __d("CSSCore",["invariant"],function(a,b,c,d,e,f,g){var h={addClass:function(i,j){g(!/\s/.test(j));if(j)if(i.classList){i.classList.add(j);}else if(!h.hasClass(i,j))i.className=i.className+' '+j;return i;},removeClass:function(i,j){g(!/\s/.test(j));if(j)if(i.classList){i.classList.remove(j);}else if(h.hasClass(i,j))i.className=i.className.replace(new RegExp('(^|\\s)'+j+'(?:\\s|$)','g'),'$1').replace(/\s+/g,' ').replace(/^\s*|\s*$/g,'');return i;},conditionClass:function(i,j,k){return (k?h.addClass:h.removeClass)(i,j);},hasClass:function(i,j){g(!/\s/.test(j));if(i.classList)return !!j&&i.classList.contains(j);return (' '+i.className+' ').indexOf(' '+j+' ')>-1;}};e.exports=h;},null);
  55. __d("CSS",["CSSCore","$"],function(a,b,c,d,e,f,g){var h=b('$').unsafe,i='hidden_elem',j={setClass:function(k,l){h(k).className=l||'';return k;},hasClass:function(k,l){return g.hasClass(h(k),l);},addClass:function(k,l){return g.addClass(h(k),l);},removeClass:function(k,l){return g.removeClass(h(k),l);},conditionClass:function(k,l,m){return g.conditionClass(h(k),l,m);},toggleClass:function(k,l){return j.conditionClass(k,l,!j.hasClass(k,l));},shown:function(k){return !j.hasClass(k,i);},hide:function(k){return j.addClass(k,i);},show:function(k){return j.removeClass(k,i);},toggle:function(k){return j.toggleClass(k,i);},conditionShow:function(k,l){return j.conditionClass(k,i,!l);}};e.exports=j;},null);
  56. __d("isNode",[],function(a,b,c,d,e,f){function g(h){return !!(h&&(typeof Node==='function'?h instanceof Node:typeof h==='object'&&typeof h.nodeType==='number'&&typeof h.nodeName==='string'));}e.exports=g;},null);
  57. __d("isTextNode",["isNode"],function(a,b,c,d,e,f,g){function h(i){return g(i)&&i.nodeType==3;}e.exports=h;},null);
  58. __d("containsNode",["isTextNode"],function(a,b,c,d,e,f,g){function h(i,j){if(!i||!j){return false;}else if(i===j){return true;}else if(g(i)){return false;}else if(g(j)){return h(i,j.parentNode);}else if(i.contains){return i.contains(j);}else if(i.compareDocumentPosition){return !!(i.compareDocumentPosition(j)&16);}else return false;}e.exports=h;},null);
  59. __d("createObjectFrom",[],function(a,b,c,d,e,f){function g(h,i){var j={},k=Array.isArray(i);if(typeof i=='undefined')i=true;for(var l=h.length;l--;)j[h[l]]=k?i[l]:i;return j;}e.exports=g;},null);
  60. __d("ge",[],function(a,b,c,d,e,f){function g(j,k,l){return typeof j!='string'?j:!k?document.getElementById(j):h(j,k,l);}function h(j,k,l){var m,n,o;if(i(k)==j){return k;}else if(k.getElementsByTagName){n=k.getElementsByTagName(l||'*');for(o=0;o<n.length;o++)if(i(n[o])==j)return n[o];}else{n=k.childNodes;for(o=0;o<n.length;o++){m=h(j,n[o]);if(m)return m;}}return null;}function i(j){return j.getAttribute?j.getAttribute('id'):null;}e.exports=g;},null);
  61. __d("getDocumentScrollElement",[],function(a,b,c,d,e,f){"use strict";var g=typeof navigator!=='undefined'&&navigator.userAgent.indexOf('AppleWebKit')>-1;function h(i){i=i||document;return !g&&i.compatMode==='CSS1Compat'?i.documentElement:i.body;}e.exports=h;},null);
  62. __d("isElementNode",["isNode"],function(a,b,c,d,e,f,g){function h(i){return g(i)&&i.nodeType==1;}e.exports=h;},null);
  63. __d("getElementText",["isElementNode","isTextNode"],function(a,b,c,d,e,f,g,h){var i=null;function j(k){if(h(k)){return k.data;}else if(g(k)){if(i===null){var l=document.createElement('div');i=l.textContent!=null?'textContent':'innerText';}return k[i];}else return '';}e.exports=j;},null);
  64. __d("DOMQuery",["CSS","containsNode","createArrayFrom","createObjectFrom","ge","getDocumentScrollElement","getElementText","isElementNode","isNode","isTextNode"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){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=k(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)){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(!g.hasClass(ta,sa))delete ha[la];continue;}else{var ua=qa.slice(1,qa.length-1);if(ua.indexOf('=')==-1){if(!q(ta,ua)){delete ha[la];continue;}}else{var va=ua.split('='),wa=va[0],xa=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=k(s);t=k(t);typeof s==='string'||typeof t==='string';return h(s,t);},getRootElement:function(){var s=null;if(window.Quickling&&Quickling.isActive())s=k('content');return s||document.body;},isNode:function(s){return o(s);},isNodeOfType:function(s,t){var u=i(t).join('|').toUpperCase().split('|'),v=j(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:l};e.exports=r;},null);
  65. __d("DOMEvent",["invariant"],function(a,b,c,d,e,f,g){function h(i){"use strict";this.event=i||window.event;g(typeof(this.event.srcElement)!='unknown');this.target=this.event.target||this.event.srcElement;}h.prototype.preventDefault=function(){"use strict";var i=this.event;if(i.preventDefault){i.preventDefault();if(!('defaultPrevented' in i))i.defaultPrevented=true;}else i.returnValue=false;return this;};h.prototype.isDefaultPrevented=function(){"use strict";var i=this.event;return ('defaultPrevented' in i)?i.defaultPrevented:i.returnValue===false;};h.prototype.stopPropagation=function(){"use strict";var i=this.event;i.stopPropagation?i.stopPropagation():i.cancelBubble=true;return this;};h.prototype.kill=function(){"use strict";this.stopPropagation().preventDefault();return this;};h.killThenCall=function(i){"use strict";return function(j){new h(j).kill();return i();};};e.exports=h;},null);
  66. __d("Parent",["CSSCore"],function(a,b,c,d,e,f,g){var h={byTag:function(i,j){j=j.toUpperCase();while(i&&i.nodeName!==j)i=i.parentNode;return i;},byClass:function(i,j){while(i&&!g.hasClass(i,j))i=i.parentNode;return i;},byAttribute:function(i,j){while(i&&(!i.getAttribute||!i.getAttribute(j)))i=i.parentNode;return i;}};e.exports=h;},null);
  67. __d("UserAgent_DEPRECATED",[],function(a,b,c,d,e,f){var g=false,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;function w(){if(g)return;g=true;var y=navigator.userAgent,z=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(y),aa=/(Mac OS X)|(Windows)|(Linux)/.exec(y);s=/\b(iPhone|iP[ao]d)/.exec(y);t=/\b(iP[ao]d)/.exec(y);q=/Android/i.exec(y);u=/FBAN\/\w+;/i.exec(y);v=/Mobile/i.exec(y);r=!!(/Win64/.exec(y));if(z){h=z[1]?parseFloat(z[1]):(z[5]?parseFloat(z[5]):NaN);if(h&&document&&document.documentMode)h=document.documentMode;var ba=/(?:Trident\/(\d+.\d+))/.exec(y);m=ba?parseFloat(ba[1])+4:h;i=z[2]?parseFloat(z[2]):NaN;j=z[3]?parseFloat(z[3]):NaN;k=z[4]?parseFloat(z[4]):NaN;if(k){z=/(?:Chrome\/(\d+\.\d+))/.exec(y);l=z&&z[1]?parseFloat(z[1]):NaN;}else l=NaN;}else h=i=j=l=k=NaN;if(aa){if(aa[1]){var ca=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(y);n=ca?parseFloat(ca[1].replace('_','.')):true;}else n=false;o=!!aa[2];p=!!aa[3];}else n=o=p=false;}var x={ie:function(){return w()||h;},ieCompatibilityMode:function(){return w()||(m>h);},ie64:function(){return x.ie()&&r;},firefox:function(){return w()||i;},opera:function(){return w()||j;},webkit:function(){return w()||k;},safari:function(){return x.webkit();},chrome:function(){return w()||l;},windows:function(){return w()||o;},osx:function(){return w()||n;},linux:function(){return w()||p;},iphone:function(){return w()||s;},mobile:function(){return w()||(s||t||q||v);},nativeApp:function(){return w()||u;},android:function(){return w()||q;},ipad:function(){return w()||t;}};e.exports=x;},null);
  68. __d("DOMEventListener",["wrapFunction"],function(a,b,c,d,e,f,g){var h,i;if(window.addEventListener){h=function(k,l,m){m.wrapper=g(m,'entry','DOMEventListener.add '+l);k.addEventListener(l,m.wrapper,false);};i=function(k,l,m){k.removeEventListener(l,m.wrapper,false);};}else if(window.attachEvent){h=function(k,l,m){m.wrapper=g(m,'entry','DOMEventListener.add '+l);k.attachEvent('on'+l,m.wrapper);};i=function(k,l,m){k.detachEvent('on'+l,m.wrapper);};}else i=h=function(){};var j={add:function(k,l,m){h(k,l,m);return {remove:function(){i(k,l,m);k=null;}};},remove:i};e.exports=j;},null);
  69. __d("getObjectValues",[],function(a,b,c,d,e,f){function g(h){var i=[];for(var j in h)i.push(h[j]);return i;}e.exports=g;},null);
  70. __d("Event",["Arbiter","DataStore","DOMQuery","DOMEvent","ErrorUtils","Parent","UserAgent_DEPRECATED","DOMEventListener","$","copyProperties","invariant","getObjectValues","event-form-bubbling"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b('event-form-bubbling');var s=a.Event,t='Event.listeners';if(!s.prototype)s.prototype={};function u(ea){if(ea.type==='click'||ea.type==='mouseover'||ea.type==='keydown')g.inform('Event/stop',{event:ea});}function v(ea,fa,ga){this.target=ea;this.type=fa;this.data=ga;}p(v.prototype,{getData:function(){this.data=this.data||{};return this.data;},stop:function(){return s.stop(this);},prevent:function(){return s.prevent(this);},isDefaultPrevented:function(){return s.isDefaultPrevented(this);},kill:function(){return s.kill(this);},getTarget:function(){return new j(this).target||null;}});function w(ea){if(ea instanceof v)return ea;if(!ea)if(!window.addEventListener&&document.createEventObject){ea=window.event?document.createEventObject(window.event):{};}else ea={};if(!ea._inherits_from_prototype)for(var fa in s.prototype)try{ea[fa]=s.prototype[fa];}catch(ga){}return ea;}p(s.prototype,{_inherits_from_prototype:true,getRelatedTarget:function(){var ea=this.relatedTarget||(this.fromElement===this.srcElement?this.toElement:this.fromElement);return ea&&ea.nodeType?ea:null;},getModifiers:function(){var ea={control:!!this.ctrlKey,shift:!!this.shiftKey,alt:!!this.altKey,meta:!!this.metaKey};ea.access=m.osx()?ea.control:ea.alt;ea.any=ea.control||ea.shift||ea.alt||ea.meta;return ea;},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();}});p(s.prototype,v.prototype);p(s,{listen:function(ea,fa,ga,ha){if(typeof ea=='string')ea=o(ea);if(typeof ha=='undefined')ha=s.Priority.NORMAL;if(typeof fa=='object'){var ia={};for(var ja in fa)ia[ja]=s.listen(ea,ja,fa[ja],ha);return ia;}if(fa.match(/^on/i))throw new TypeError("Bad event name `"+fa+"': use `click', not `onclick'.");if(ea.nodeName=='LABEL'&&fa=='click'){var ka=ea.getElementsByTagName('input');ea=ka.length==1?ka[0]:ea;}else if(ea===window&&fa==='scroll'){var la=i.getDocumentScrollElement();if(la!==document.documentElement&&la!==document.body)ea=la;}var ma=h.get(ea,t,{}),na=z[fa];if(na){fa=na.base;if(na.wrap)ga=na.wrap(ga);}ba(ea,ma,fa);var oa=ma[fa];if(!(ha in oa))oa[ha]=[];var pa=oa[ha].length,qa=new da(ga,ma,fa,ha,pa);oa[ha][pa]=qa;oa.numHandlers++;return qa;},stop:function(ea){var fa=new j(ea).stopPropagation();u(fa.event);return ea;},prevent:function(ea){new j(ea).preventDefault();return ea;},isDefaultPrevented:function(ea){return new j(ea).isDefaultPrevented(ea);},kill:function(ea){var fa=new j(ea).kill();u(fa.event);return false;},getKeyCode:function(event){event=new j(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(!x){var ea=r(s.Priority);ea.sort(function(fa,ga){return fa-ga;});x=ea;}return x;},fire:function(ea,fa,ga){var ha=new v(ea,fa,ga),ia;do{var ja=s.__getHandler(ea,fa);if(ja)ia=ja(ha);ea=ea.parentNode;}while(ea&&ia!==false&&!ha.cancelBubble);return ia!==false;},__fire:function(ea,fa,event){var ga=s.__getHandler(ea,fa);if(ga)return ga(w(event));},__getHandler:function(ea,fa){var ga=h.get(ea,t);if(ga&&ga[fa])return ga[fa].domHandler;},getPosition:function(ea){ea=new j(ea).event;var fa=i.getDocumentScrollElement(),ga=ea.clientX+fa.scrollLeft,ha=ea.clientY+fa.scrollTop;return {x:ga,y:ha};}});var x=null,y=function(ea){return function(fa){if(!i.contains(this,fa.getRelatedTarget()))return ea.call(this,fa);};},z;if(!window.navigator.msPointerEnabled){z={mouseenter:{base:'mouseover',wrap:y},mouseleave:{base:'mouseout',wrap:y}};}else z={mousedown:{base:'MSPointerDown'},mousemove:{base:'MSPointerMove'},mouseup:{base:'MSPointerUp'},mouseover:{base:'MSPointerOver'},mouseout:{base:'MSPointerOut'},mouseenter:{base:'MSPointerOver',wrap:y},mouseleave:{base:'MSPointerOut',wrap:y}};if(m.firefox()){var aa=function(ea,event){event=w(event);var fa=event.getTarget();while(fa){s.__fire(fa,ea,event);fa=fa.parentNode;}};document.documentElement.addEventListener('focus',aa.bind(null,'focusin'),true);document.documentElement.addEventListener('blur',aa.bind(null,'focusout'),true);}var ba=function(ea,fa,ga){if(ga in fa)return;var ha=ca.bind(ea,ga);fa[ga]={numHandlers:0,domHandlerRemover:n.add(ea,ga,ha),domHandler:ha};var ia='on'+ga;if(ea[ia]){var ja=ea===document.documentElement?s.Priority._BUBBLE:s.Priority.TRADITIONAL,ka=ea[ia];ea[ia]=null;s.listen(ea,ga,ka,ja);}if(ea.nodeName==='FORM'&&ga==='submit')s.listen(ea,ga,s.__bubbleSubmit.bind(null,ea),s.Priority._BUBBLE);},ca=function(ea,event){event=w(event);if(!h.get(this,t))throw new Error("Bad listenHandler context.");var fa=h.get(this,t)[ea];if(!fa)throw new Error("No registered handlers for `"+ea+"'.");if(ea=='click'){var ga=l.byTag(event.getTarget(),'a');if(window.userAction)var ha=window.userAction('evt_ext',ga,event,{mode:'DEDUP'}).uai_fallback('click');if(window.clickRefAction)window.clickRefAction('click',ga,event);}var ia=s.getPriorities();for(var ja=0;ja<ia.length;ja++){var ka=ia[ja];if(ka in fa){var la=fa[ka];for(var ma=0;ma<la.length;ma++){if(!la[ma])continue;var na=la[ma].fire(this,event);if(na===false){return event.kill();}else if(event.cancelBubble)event.stop();}}}return event.returnValue;};s.Priority={URGENT:-20,TRADITIONAL:-10,NORMAL:0,_BUBBLE:1000};function da(ea,fa,ga,ha,ia){this._handler=ea;this._handlers=fa;this._type=ga;this._priority=ha;this._id=ia;}p(da.prototype,{remove:function(){q(this._handlers);var ea=this._handlers[this._type];if(ea.numHandlers<=1){ea.domHandlerRemover.remove();delete this._handlers[this._type];}else{delete ea[this._priority][this._id];ea.numHandlers--;}this._handlers=null;},fire:function(ea,event){return k.applyWithGuard(this._handler,ea,[event],function(fa){fa.event_type=event.type;fa.dom_element=ea.name||ea.id;fa.category='eventhandler';});}});a.$E=s.$E=w;e.exports=s;},null);
  71. __d("setIntervalAcrossTransitions",[],function(a,b,c,d,e,f){function g(h,i){return setInterval(h,i,false);}e.exports=g;},null);
  72. __d("CSSLoader",["isEmpty","setIntervalAcrossTransitions"],function(a,b,c,d,e,f,g,h){var i=20,j=5000,k,l,m={},n=[],o,p={};function q(u){if(l)return;l=true;var v=document.createElement('link');v.onload=function(){k=true;v.parentNode.removeChild(v);};v.rel='stylesheet';v.href='data:text/css;base64,';u.appendChild(v);}function r(){var u,v=[],w=[];if(Date.now()>=o){for(u in p){w.push(p[u].signal);v.push(p[u].error);}p={};}else for(u in p){var x=p[u].signal,y=window.getComputedStyle?getComputedStyle(x,null):x.currentStyle;if(y&&parseInt(y.height,10)>1){v.push(p[u].load);w.push(x);delete p[u];}}for(var z=0;z<w.length;z++)w[z].parentNode.removeChild(w[z]);if(!g(v)){for(z=0;z<v.length;z++)v[z]();o=Date.now()+j;}return g(p);}function s(u,v,w,x){var y=document.createElement('meta');y.id='bootloader_'+u.replace(/[^a-z0-9]/ig,'_');v.appendChild(y);var z=!g(p);o=Date.now()+j;p[u]={signal:y,load:w,error:x};if(!z)var aa=h(function ba(){if(r())clearInterval(aa);},i);}var t={loadStyleSheet:function(u,v,w,x,y){if(m[u])throw new Error('CSS component '+u+' has already been requested.');if(document.createStyleSheet){var z;for(var aa=0;aa<n.length;aa++)if(n[aa].imports.length<31){z=aa;break;}if(z===undefined){try{n.push(document.createStyleSheet());}catch(ba){y();return;}z=n.length-1;}n[z].addImport(v);m[u]={styleSheet:n[z],uri:v};s(u,w,x,y);return;}var ca=document.createElement('link');ca.rel='stylesheet';ca.type='text/css';ca.href=v;m[u]={link:ca};if(k){ca.onload=function(){ca.onload=ca.onerror=null;x();};ca.onerror=function(){ca.onload=ca.onerror=null;y();};}else{s(u,w,x,y);if(k===undefined)q(w);}w.appendChild(ca);},registerLoadedStyleSheet:function(u,v){if(m[u])throw new Error('CSS component '+u+' has been requested and should not be '+'loaded more than once.');m[u]={link:v};},unloadStyleSheet:function(u){if(!u in m)return;var v=m[u],w=v.link;if(w){w.onload=w.onerror=null;w.parentNode.removeChild(w);}else{var x=v.styleSheet;for(var y=0;y<x.imports.length;y++)if(x.imports[y].href==v.uri){x.removeImport(y);break;}}delete p[u];delete m[u];}};e.exports=t;},null);
  73. __d("setTimeoutAcrossTransitions",[],function(a,b,c,d,e,f){function g(h,i){return setTimeout(h,i,false);}e.exports=g;},null);
  74. __d("Bootloader",["BootloaderConfig","CSSLoader","CallbackDependencyManager","setTimeoutAcrossTransitions","createArrayFrom","ErrorUtils","ex"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){var n={},o={},p={},q={},r=null,s={},t={},u={},v={},w={},x={},y=false,z=[],aa=new i(),ba=Date.now();l.addListener(function(ma){ma.loadingUrls=Object.keys(t);},true);function ca(ma){var na=new Error(ma);na.guard='Bootloader';l.reportError(na);}function da(){return document.documentMode||+(/MSIE.(\d+)/.exec(navigator.userAgent)||[])[1];}function ea(){if(!g.retry_on_timeout||!g.is_not_mobile||da()||!g.timeout||g.timeout<0)return false;return true;}function fa(ma,na,oa,pa){var qa=document.createElement('script');qa.src=ma;qa.async=true;var ra=s[na];if(ra&&ra.crossOrigin)qa.crossOrigin='anonymous';qa.onload=oa;qa.onerror=function(){v[ma]=true;oa();};qa.onreadystatechange=function(){if(this.readyState in {loaded:1,complete:1})oa();};pa.appendChild(qa);return qa;}function ga(ma,na,oa,pa){var qa=la.done.bind(null,[oa],na);t[na]=Date.now();if(ma=='js'){var ra=fa(na,oa,qa,pa);if(ea())q[na]=j(function(){delete q[na];if(r){if(ra.parentNode&&ra.parentNode===r)r.removeChild(ra);w[na]=Date.now();fa(na,oa,qa,r);}},g.timeout);}else if(ma=='css')h.loadStyleSheet(oa,na,pa,qa,function(){ca(m('CSS timeout [%s] at %s',oa,na));v[na]=true;qa();});}function ha(ma){if(!s[ma]){ca(m('Missing unloading resource %s',ma));return;}if(s[ma].type=='css'){h.unloadStyleSheet(ma);delete n[ma];aa.unsatisfyPersistentDependency(ma);}}function ia(ma,na){if(!y){z.push([ma,na]);return;}ma=k(ma);var oa=[];for(var pa=0;pa<ma.length;++pa){if(!ma[pa]){ca(m('Empty component!'));continue;}var qa=p[ma[pa]];if(qa){var ra=qa.resources;for(var sa=0;sa<ra.length;++sa)oa.push(ra[sa]);}}la.loadResources(oa,na);}function ja(ma){if(ma){n[ma]=true;}else ca(m('Making an empty resource (%s) as requested',typeof ma));}function ka(ma){if(!ma)return [];var na=[];for(var oa=0;oa<ma.length;++oa)if(typeof ma[oa]=='string'){if(ma[oa] in s){na.push(s[ma[oa]]);}else ca(m('Unable to resolve resource %s.',ma[oa]));}else na.push(ma[oa]);return na;}var la={configurePage:function(ma){var na={},oa=ka(ma),pa;for(pa=0;pa<oa.length;pa++){na[oa[pa].src]=oa[pa];ja(oa[pa].name);}var qa=document.getElementsByTagName('link'),ra=0;for(pa=0;pa<qa.length;++pa){if(qa[pa].rel!='stylesheet')continue;for(var sa in na)if(qa[pa].href.indexOf(sa)!==-1){var ta=na[sa].name;if(na[sa].permanent)o[ta]=true;delete na[sa];h.registerLoadedStyleSheet(ta,qa[pa]);la.done([ta]);ra++;break;}}if(ra!=oa.length)ca(m('configurePage: Found %s out of %s items',ra,oa.length));},loadComponents:function(ma,na){ma=k(ma);var oa=[];for(var pa=0;pa<ma.length;pa++){var qa=p[ma[pa]],ra='legacy:'+ma[pa];if(p[ra]){if(qa)ca(m('%s has a conflicting legacy component. That cannot happen '+'and legacy won btw.',ma[pa]));ma[pa]=ra;oa.push(ra);continue;}if(!qa){ca(m('loadComponents: %s is not in the component map.',ma[pa]));}else if(qa.module){oa.push(ma[pa]);ca(m('loadComponents: Loading module %s!',ma[pa]));}}ia(ma,oa.length?d.bind(null,oa,na):na);},loadModules:function(ma,na){var oa=[];for(var pa=0;pa<ma.length;pa++){var qa=p[ma[pa]];if(!qa){ca(m('loadModules: %s is not in the component map.',ma[pa]));oa.push(ma[pa]);}else if(qa.module){oa.push(ma[pa]);}else{var ra=qa.resources,sa=true;for(var ta=0;ta<ra.length;ta++){var ua=s[ra[ta]];if(!ua||ua.type!='css')sa=false;}if(!sa)ca(m('loadModules: %s is not a module!',ma[pa]));}}ia(ma,d.bind(null,oa,na));},loadResources:function(ma,na,oa,pa){var qa;ma=ka(k(ma));if(oa){var ra={};for(qa=0;qa<ma.length;++qa)ra[ma[qa].name]=true;for(var sa in n)if(!(sa in o)&&!(sa in ra)&&!(sa in x))ha(sa);x={};}var ta=[],ua=[];for(qa=0;qa<ma.length;++qa){var va=ma[qa];if(va.permanent)o[va.name]=true;if(aa.isPersistentDependencySatisfied(va.name))continue;if(!va.nonblocking)ua.push(va.name);if(!n[va.name]){ja(va.name);ta.push(va);window.CavalryLogger&&window.CavalryLogger.getInstance().measureResources(va,pa);}}var wa;if(na)if(typeof na==='function'){wa=aa.registerCallback(na,ua);}else wa=aa.addDependenciesToExistingCallback(na,ua);var xa=la.getHardpoint(),ya=da()?xa:document.createDocumentFragment();for(qa=0;qa<ta.length;++qa)ga(ta[qa].type,ta[qa].src,ta[qa].name,ya);if(xa!==ya)xa.appendChild(ya);return wa;},requestJSResource:function(ma){var na=la.getHardpoint();ga('js',ma,null,na);},done:function(ma,na){if(na){u[na]=Date.now()-t[na];delete t[na];if(q[na]){clearTimeout(q[na]);delete q[na];}}if(window.CavalryLogger)window.CavalryLogger.done_js(ma);for(var oa=0;oa<ma.length;++oa){var pa=ma[oa];if(pa){ja(pa);aa.satisfyPersistentDependency(pa);}}},enableBootload:function(ma){for(var na in ma)if(!p[na])p[na]=ma[na];if(!y){y=true;for(var oa=0;oa<z.length;oa++)ia.apply(null,z[oa]);z=[];}},getHardpoint:function(){if(!r){var ma=document.getElementsByTagName('head');r=ma.length&&ma[0]||document.body;}return r;},setResourceMap:function(ma){for(var na in ma)if(!s[na]){ma[na].name=na;s[na]=ma[na];}},getResourceURLs:function(){var ma={};for(var na in s){var oa=s[na].src;ma[oa]=(na in n)&&!(oa in v)&&!(oa in t);}return ma;},getResourceHashes:function(){return Object.assign({},s);},loadEarlyResources:function(ma){la.setResourceMap(ma);var na=[];for(var oa in ma){var pa=s[oa];na.push(pa);if(!pa.permanent)x[pa.name]=pa;}la.loadResources(na);},getLoadingUrls:function(){var ma={},na=Date.now();for(var oa in t)ma[oa]=na-t[oa];return ma;},getLoadedUrlTimes:function(){return u;},getErrorUrls:function(){return Object.keys(v);},getStartTime:function(){return ba;},getRetriedUrls:function(){return Object.keys(w);},__debug:{callbackManager:aa,componentMap:p,requested:n,resources:s}};e.exports=la;},null);
  75. __d("ExecutionEnvironment",[],function(a,b,c,d,e,f){"use strict";var g=!!(typeof window!=='undefined'&&window.document&&window.document.createElement),h={canUseDOM:g,canUseWorkers:typeof Worker!=='undefined',canUseEventListeners:g&&!!(window.addEventListener||window.attachEvent),canUseViewport:g&&!!window.screen,isInWorker:!g};e.exports=h;},null);
  76. __d("getMarkupWrap",["ExecutionEnvironment","invariant"],function(a,b,c,d,e,f,g,h){var i=g.canUseDOM?document.createElement('div'):null,j={circle:true,defs:true,ellipse:true,g:true,line:true,linearGradient:true,path:true,polygon:true,polyline:true,radialGradient:true,rect:true,stop:true,text:true},k=[1,'<select multiple="true">','</select>'],l=[1,'<table>','</table>'],m=[3,'<table><tbody><tr>','</tr></tbody></table>'],n=[1,'<svg>','</svg>'],o={'*':[1,'?<div>','</div>'],area:[1,'<map>','</map>'],col:[2,'<table><tbody></tbody><colgroup>','</colgroup></table>'],legend:[1,'<fieldset>','</fieldset>'],param:[1,'<object>','</object>'],tr:[2,'<table><tbody>','</tbody></table>'],optgroup:k,option:k,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:m,th:m,circle:n,defs:n,ellipse:n,g:n,line:n,linearGradient:n,path:n,polygon:n,polyline:n,radialGradient:n,rect:n,stop:n,text:n};function p(q){h(!!i);if(!o.hasOwnProperty(q))q='*';if(!j.hasOwnProperty(q)){if(q==='*'){i.innerHTML='<link />';}else i.innerHTML='<'+q+'></'+q+'>';j[q]=!i.firstChild;}return j[q]?o[q]:null;}e.exports=p;},null);
  77. __d("createNodesFromMarkup",["ExecutionEnvironment","createArrayFrom","getMarkupWrap","invariant"],function(a,b,c,d,e,f,g,h,i,j){var k=g.canUseDOM?document.createElement('div'):null,l=/^\s*<(\w+)/;function m(o){var p=o.match(l);return p&&p[1].toLowerCase();}function n(o,p){var q=k;j(!!k);var r=m(o),s=r&&i(r);if(s){q.innerHTML=s[1]+o+s[2];var t=s[0];while(t--)q=q.lastChild;}else q.innerHTML=o;var u=q.getElementsByTagName('script');if(u.length){j(p);h(u).forEach(p);}var v=h(q.childNodes);while(q.lastChild)q.removeChild(q.lastChild);return v;}e.exports=n;},null);
  78. __d("evalGlobal",[],function(a,b,c,d,e,f){function g(h){if(typeof h!='string')throw new TypeError('JS sent to evalGlobal is not a string. Only strings are permitted.');if(!h)return;var i=document.createElement('script');try{i.appendChild(document.createTextNode(h));}catch(j){i.text=h;}var k=document.getElementsByTagName('head')[0]||document.documentElement;k.appendChild(i);k.removeChild(i);}e.exports=g;},null);
  79. __d("HTML",["Bootloader","createNodesFromMarkup","emptyFunction","evalGlobal","invariant"],function(a,b,c,d,e,f,g,h,i,j,k){var l=/(<(\w+)[^>]*?)\/>/g,m={abbr:true,area:true,br:true,col:true,embed:true,hr:true,img:true,input:true,link:true,meta:true,param:true};function n(o){"use strict";if(o&&typeof o.__html==='string')o=o.__html;if(!(this instanceof n)){if(o instanceof n)return o;return new n(o);}if(o){var p=typeof o;k(p==='string');}this._markup=o||'';this._defer=false;this._extraAction='';this._nodes=null;this._inlineJS=i;this._rootNode=null;}n.prototype.toString=function(){"use strict";var o=this._markup;if(this._extraAction)o+='<script type="text/javascript">'+this._extraAction+'</scr'+'ipt>';return o;};n.prototype.getContent=function(){"use strict";return this._markup;};n.prototype.getNodes=function(){"use strict";this._fillCache();return this._nodes;};n.prototype.getRootNode=function(){"use strict";k(!this._rootNode);var o=this.getNodes();if(o.length===1){this._rootNode=o[0];}else{var p=document.createDocumentFragment();for(var q=0;q<o.length;q++)p.appendChild(o[q]);this._rootNode=p;}return this._rootNode;};n.prototype.getAction=function(){"use strict";this._fillCache();var o=function(){this._inlineJS();j(this._extraAction);}.bind(this);return this._defer?function(){setTimeout(o,0);}:o;};n.prototype._fillCache=function(){"use strict";if(this._nodes!==null)return;if(!this._markup){this._nodes=[];return;}var o=this._markup.replace(l,function(r,s,t){return m[t.toLowerCase()]?r:s+'></'+t+'>';}),p=null,q=h(o,function(r){p=p||[];p.push(r.src?g.requestJSResource.bind(g,r.src):j.bind(null,r.innerHTML));r.parentNode.removeChild(r);});if(p)this._inlineJS=function(){for(var r=0;r<p.length;r++)p[r]();};this._nodes=q;};n.prototype.setAction=function(o){"use strict";this._extraAction=o;return this;};n.prototype.setDeferred=function(o){"use strict";this._defer=!!o;return this;};n.isHTML=function(o){"use strict";return !!o&&(o instanceof n||o.__html!==undefined);};n.replaceJSONWrapper=function(o){"use strict";return o&&o.__html!==undefined?new n(o.__html):o;};e.exports=n;},null);
  80. __d("getOrCreateDOMID",[],function(a,b,c,d,e,f){var g='js_',h=0;function i(j){var k=j.id;if(!k){k=g+h++;j.id=k;}return k;}e.exports=i;},null);
  81. __d("isScalar",[],function(a,b,c,d,e,f){function g(h){return (/string|number|boolean/).test(typeof h);}e.exports=g;},null);
  82. __d("Intl",[],function(a,b,c,d,e,f){var g;function h(j){if(typeof j!='string')return false;return j.match(new RegExp(h.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'+']*$'));}h.punct_char_class='['+'.!?'+'\u3002'+'\uFF01'+'\uFF1F'+'\u0964'+'\u2026'+'\u0EAF'+'\u1801'+'\u0E2F'+'\uFF0E'+']';function i(j){if(g){var k=[],l=[];for(var m in g.patterns){var n=g.patterns[m];for(var o in g.meta){var p=new RegExp(o.slice(1,-1),'g'),q=g.meta[o];m=m.replace(p,q);n=n.replace(p,q);}k.push(m);l.push(n);}for(var r=0;r<k.length;r++){var s=new RegExp(k[r].slice(1,-1),'g');if(l[r]=='javascript'){j.replace(s,function(t){return t.slice(1).toLowerCase();});}else j=j.replace(s,l[r]);}}return j.replace(/\x01/g,'');}e.exports={endsInPunct:h,applyPhonologicalRules:i,setPhonologicalRules:function(j){g=j;}};},null);
  83. __d("substituteTokens",["invariant","Intl"],function(a,b,c,d,e,f,g,h){function i(j,k){if(!k)return j;g(typeof k==='object');var l='\\{([^}]+)\\}('+h.endsInPunct.punct_char_class+'*)',m=new RegExp(l,'g'),n=[],o=[],p=j.replace(m,function(s,t,u){var v=k[t];if(v&&typeof v==='object'){n.push(v);o.push(t);return '\x17'+u;}else if(v===null)return '';return v+(h.endsInPunct(v)?'':u);}).split('\x17').map(h.applyPhonologicalRules);if(p.length===1)return p[0];var q={};q['[0]']=p[0];for(var r=0;r<n.length;r++){q['{'+o[r]+'}']=n[r];q['['+(r+1)+']']=p[r+1];}return q;}e.exports=i;},null);
  84. __d("tx",["substituteTokens","getObjectValues"],function(a,b,c,d,e,f,g,h){function i(j,k){if(typeof _string_table=='undefined')return;j=_string_table[j];var l=g(j,k);return (typeof l==='string')?l:h(l);}i._=function(j,k){var l=g(j,k);return (typeof l==='string')?l:h(l);};e.exports=i;},null);
  85. __d("DOM",["DOMQuery","Event","HTML","UserAgent_DEPRECATED","$","copyProperties","createArrayFrom","getOrCreateDOMID","isScalar","tx"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){var q={create:function(u,v,w){var x=document.createElement(u);if(v)q.setAttributes(x,v);if(w!=null)q.setContent(x,w);return x;},setAttributes:function(u,v){if(v.type)u.type=v.type;for(var w in v){var x=v[w],y=(/^on/i).test(w);if(w=='type'){continue;}else if(w=='style'){if(typeof x=='string'){u.style.cssText=x;}else l(u.style,x);}else if(y){h.listen(u,w.substr(2),x);}else if(w in u){u[w]=x;}else if(u.setAttribute)u.setAttribute(w,x);}},prependContent:function(u,v){return s(v,u,function(w){u.firstChild?u.insertBefore(w,u.firstChild):u.appendChild(w);});},insertAfter:function(u,v){var w=u.parentNode;return s(v,w,function(x){u.nextSibling?w.insertBefore(x,u.nextSibling):w.appendChild(x);});},insertBefore:function(u,v){var w=u.parentNode;return s(v,w,function(x){w.insertBefore(x,u);});},setContent:function(u,v){while(u.firstChild)r(u.firstChild);return q.appendContent(u,v);},appendContent:function(u,v){return s(v,u,function(w){u.appendChild(w);});},replace:function(u,v){var w=u.parentNode;return s(v,w,function(x){w.replaceChild(x,u);});},remove:function(u){r(k(u));},empty:function(u){u=k(u);while(u.firstChild)r(u.firstChild);},getID:n};l(q,g);function r(u){if(u.parentNode)u.parentNode.removeChild(u);}function s(u,v,w){u=i.replaceJSONWrapper(u);if(u instanceof i&&''===v.innerHTML&&-1===u.toString().indexOf('<scr'+'ipt')){var x=j.ie();if(!x||(x>7&&!g.isNodeOfType(v,['table','tbody','thead','tfoot','tr','select','fieldset']))){var y=x?'<em style="display:none;">&nbsp;</em>':'';v.innerHTML=y+u;x&&v.removeChild(v.firstChild);return m(v.childNodes);}}else if(g.isTextNode(v)){v.data=u;return [u];}var z=document.createDocumentFragment(),aa,ba=[],ca=[];u=m(u);for(var da=0;da<u.length;da++){aa=i.replaceJSONWrapper(u[da]);if(aa instanceof i){ca.push(aa.getAction());var ea=aa.getNodes();for(var fa=0;fa<ea.length;fa++){ba.push(ea[fa]);z.appendChild(ea[fa]);}}else if(o(aa)){var ga=document.createTextNode(aa);ba.push(ga);z.appendChild(ga);}else if(g.isNode(aa)){ba.push(aa);z.appendChild(aa);}}w(z);ca.forEach(function(ha){ha();});return ba;}function t(u){function v(w){return q.create('div',{},w).innerHTML;}return function(w,x){var y={};if(x)for(var z in x)y[z]=v(x[z]);return i(u(w,y));};}q.tx=t(p);q.tx._=q._tx=t(p._);e.exports=q;},null);
  86. __d("DOMControl",["DataStore","$"],function(a,b,c,d,e,f,g,h){function i(j){"use strict";this.root=h(j);this.updating=false;g.set(j,'DOMControl',this);}i.prototype.getRoot=function(){"use strict";return this.root;};i.prototype.beginUpdate=function(){"use strict";if(this.updating)return false;this.updating=true;return true;};i.prototype.endUpdate=function(){"use strict";this.updating=false;};i.prototype.update=function(j){"use strict";if(!this.beginUpdate())return this;this.onupdate(j);this.endUpdate();};i.prototype.onupdate=function(j){"use strict";};i.getInstance=function(j){"use strict";return g.get(j,'DOMControl');};e.exports=i;},null);
  87. __d("getActiveElement",[],function(a,b,c,d,e,f){function g(){try{return document.activeElement||document.body;}catch(h){return document.body;}}e.exports=g;},null);
  88. __d("OnloadEvent",[],function(a,b,c,d,e,f){var g={ONLOAD:'onload/onload',ONLOAD_CALLBACK:'onload/onload_callback',ONLOAD_DOMCONTENT:'onload/dom_content_ready',ONLOAD_DOMCONTENT_CALLBACK:'onload/domcontent_callback',ONBEFOREUNLOAD:'onload/beforeunload',ONUNLOAD:'onload/unload'};e.exports=g;},null);
  89. __d("Run",["Arbiter","OnloadEvent"],function(a,b,c,d,e,f,g,h){var i='onunloadhooks',j='onafterunloadhooks',k=g.BEHAVIOR_STATE;function l(ba){var ca=a.CavalryLogger;ca&&ca.getInstance().setTimeStamp(ba);}function m(){return !window.loading_page_chrome;}function n(ba){var ca=a.OnloadHooks;if(window.loaded&&ca){ca.runHook(ba,'onlateloadhooks');}else u('onloadhooks',ba);}function o(ba){var ca=a.OnloadHooks;if(window.afterloaded&&ca){setTimeout(function(){ca.runHook(ba,'onlateafterloadhooks');},0);}else u('onafterloadhooks',ba);}function p(ba,ca){if(ca===undefined)ca=m();ca?u('onbeforeleavehooks',ba):u('onbeforeunloadhooks',ba);}function q(ba,ca){if(!window.onunload)window.onunload=function(){g.inform(h.ONUNLOAD,true,k);};u(ba,ca);}function r(ba){q(i,ba);}function s(ba){q(j,ba);}function t(ba){u('onleavehooks',ba);}function u(ba,ca){window[ba]=(window[ba]||[]).concat(ca);}function v(ba){window[ba]=[];}function w(){g.inform(h.ONLOAD_DOMCONTENT,true,k);}a._domcontentready=w;function x(){var ba=document,ca=window;if(ba.addEventListener){var da=/AppleWebKit.(\d+)/.exec(navigator.userAgent);if(da&&da[1]<525){var ea=setInterval(function(){if(/loaded|complete/.test(ba.readyState)){w();clearInterval(ea);}},10);}else ba.addEventListener("DOMContentLoaded",w,true);}else{var fa='javascript:void(0)';if(ca.location.protocol=='https:')fa='//:';ba.write('<script onreadystatechange="if (this.readyState==\'complete\') {'+'this.parentNode.removeChild(this);_domcontentready();}" '+'defer="defer" src="'+fa+'"><\/script\>');}var ga=ca.onload;ca.onload=function(){l('t_layout');ga&&ga();g.inform(h.ONLOAD,true,k);};ca.onbeforeunload=function(){var ha={};g.inform(h.ONBEFOREUNLOAD,ha,k);if(!ha.warn)g.inform('onload/exit',true);return ha.warn;};}var y=g.registerCallback(function(){l('t_onload');g.inform(h.ONLOAD_CALLBACK,true,k);},[h.ONLOAD]),z=g.registerCallback(function(){l('t_domcontent');var ba={timeTriggered:Date.now()};g.inform(h.ONLOAD_DOMCONTENT_CALLBACK,ba,k);},[h.ONLOAD_DOMCONTENT]);x();var aa={onLoad:n,onAfterLoad:o,onLeave:t,onBeforeUnload:p,onUnload:r,onAfterUnload:s,__domContentCallback:z,__onloadCallback:y,__removeHook:v};e.exports=aa;},null);
  90. __d("cx",[],function(a,b,c,d,e,f){function g(h){throw new Error('cx'+'(...): Unexpected class transformation.');}e.exports=g;},null);
  91. __d("Focus",["CSS","DOM","Event","Run","cx","ge"],function(a,b,c,d,e,f,g,h,i,j,k,l){var m={},n,o={set:function(s){try{s.tabIndex=s.tabIndex;s.focus();}catch(t){}},setWithoutOutline:function(s){g.addClass(s,"_5f0v");var t=i.listen(s,'blur',function(){g.removeClass(s,"_5f0v");t.remove();});o.set(s);},relocate:function(s,t){function u(v){g.conditionClass(t,"_3oxt",v);}o.listen(s,u);g.addClass(s,"_5f0v");},listen:function(s,t){p();var u=h.getID(s);m[u]=t;j.onLeave(r.bind(null,u));}};function p(){if(n)return;i.listen(document.documentElement,'focusout',q);i.listen(document.documentElement,'focusin',q);n=true;}function q(event){var s=event.getTarget();if(typeof m[s.id]==='function'){var t=event.type==='focusin'||event.type==='focus';m[s.id](t);}}function r(s){if(m[s]&&!l(s))delete m[s];}e.exports=o;},null);
  92. __d("InputSelection",["DOM","Focus"],function(a,b,c,d,e,f,g,h){var i={get:function(j){if(!document.selection){var k;try{k={start:j.selectionStart,end:j.selectionEnd};}catch(l){k={start:0,end:0};}return k;}var m=document.selection.createRange();if(m.parentElement()!==j)return {start:0,end:0};var n=j.value.length;if(g.isNodeOfType(j,'input')){return {start:-m.moveStart('character',-n),end:-m.moveEnd('character',-n)};}else{var o=m.duplicate();o.moveToElementText(j);o.setEndPoint('StartToEnd',m);var p=n-o.text.length;o.setEndPoint('StartToStart',m);return {start:n-o.text.length,end:p};}},set:function(j,k,l){if(typeof l=='undefined')l=k;if(document.selection){if(j.tagName=='TEXTAREA'){var m=(j.value.slice(0,k).match(/\r/g)||[]).length,n=(j.value.slice(k,l).match(/\r/g)||[]).length;k-=m;l-=m+n;}var o=j.createTextRange();o.collapse(true);o.moveStart('character',k);o.moveEnd('character',l-k);o.select();}else{j.selectionStart=k;j.selectionEnd=Math.min(l,j.value.length);h.set(j);}}};e.exports=i;},null);
  93. __d("enforceMaxLength",["DOM","Event","Input","InputSelection"],function(a,b,c,d,e,f,g,h,i,j){var k=function(n,o){var p=i.getValue(n),q=p.length,r=q-o;if(r>0){var s,t;try{s=j.get(n);t=s.end;}catch(u){s=null;t=0;}if(t>=r)q=t;var v=q-r;if(v&&(p.charCodeAt(v-1)&64512)===55296)v--;t=Math.min(t,v);i.setValue(n,p.slice(0,v)+p.slice(q));if(s)j.set(n,Math.min(s.start,t),t);}},l=function(event){var n=event.getTarget(),o=n.getAttribute&&parseInt(n.getAttribute('maxlength'),10);if(o>0&&g.isNodeOfType(n,['input','textarea']))setTimeout(k.bind(null,n,o),0);},m='maxLength' in g.create('input')&&'maxLength' in g.create('textarea');if(!m)h.listen(document.documentElement,{keydown:l,paste:l});e.exports=k;},null);
  94. __d("Input",["CSS","DOMQuery","DOMControl","getActiveElement"],function(a,b,c,d,e,f,g,h,i,j){var k=function(m){var n=m.getAttribute('maxlength');if(n&&n>0)d(['enforceMaxLength'],function(o){o(m,n);});},l={hasPlaceholder:function(m){return g.hasClass(m,'DOMControl_placeholder');},isWhiteSpaceOnly:function(m){return !(/\S/).test(m||'');},isEmpty:function(m){return l.isWhiteSpaceOnly(m.value)||l.hasPlaceholder(m);},getValue:function(m){return l.isEmpty(m)?'':m.value;},getValueRaw:function(m){return l.hasPlaceholder(m)?'':m.value;},setValue:function(m,n){g.removeClass(m,'DOMControl_placeholder');m.value=n||'';k(m);var o=i.getInstance(m);o&&o.resetHeight&&o.resetHeight();},setPlaceholder:function(m,n){m.setAttribute('aria-label',n);m.setAttribute('placeholder',n);if(m==j())return;if(l.isEmpty(m)){g.conditionClass(m,'DOMControl_placeholder',n);m.value=n||'';}},reset:function(m){var n=m!==document.activeElement?(m.getAttribute('placeholder')||''):'';m.value=n;g.conditionClass(m,'DOMControl_placeholder',n);m.style.height='';},setSubmitOnEnter:function(m,n){g.conditionClass(m,'enter_submit',n);},getSubmitOnEnter:function(m){return g.hasClass(m,'enter_submit');},setMaxLength:function(m,n){if(n>0){m.setAttribute('maxlength',n);k(m);}else m.removeAttribute('maxlength');}};e.exports=l;},null);
  95. __d("camelize",[],function(a,b,c,d,e,f){var g=/-(.)/g;function h(i){return i.replace(g,function(j,k){return k.toUpperCase();});}e.exports=h;},null);
  96. __d("getOpacityStyleName",[],function(a,b,c,d,e,f){var g=false,h=null;function i(){if(!g){if('opacity' in document.body.style){h='opacity';}else{var j=document.createElement('div');j.style.filter='alpha(opacity=100)';if(j.style.filter)h='filter';j=null;}g=true;}return h;}e.exports=i;},null);
  97. __d("hyphenate",[],function(a,b,c,d,e,f){var g=/([A-Z])/g;function h(i){return i.replace(g,'-$1').toLowerCase();}e.exports=h;},null);
  98. __d("getStyleProperty",["camelize","hyphenate"],function(a,b,c,d,e,f,g,h){function i(k){return k==null?k:String(k);}function j(k,l){var m;if(window.getComputedStyle){m=window.getComputedStyle(k,null);if(m)return i(m.getPropertyValue(h(l)));}if(document.defaultView&&document.defaultView.getComputedStyle){m=document.defaultView.getComputedStyle(k,null);if(m)return i(m.getPropertyValue(h(l)));if(l==='display')return 'none';}if(k.currentStyle){if(l==='float')return i(k.currentStyle.cssFloat||k.currentStyle.styleFloat);return i(k.currentStyle[g(l)]);}return i(k.style&&k.style[g(l)]);}e.exports=j;},null);
  99. __d("mergeInto",[],function(a,b,c,d,e,f){"use strict";e.exports=Object.assign;},null);
  100. __d("Style-upstream",["camelize","containsNode","ex","getOpacityStyleName","getStyleProperty","hyphenate","invariant","mergeInto"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){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(l(w)){case 'font-weight':case 'line-height':case 'opacity':case 'z-index':break;case 'width':case 'height':var y=parseInt(x,10)<0;m(!y);default:m(isNaN(x)||!x||x==='0');break;}}var u={set:function(v,w,x){t('Style.set',w,x);var y=v.style;switch(w){case 'opacity':if(j()==='filter'){y.filter=s(x);}else y.opacity=x;break;case 'float':y.cssFloat=y.styleFloat=x||'';break;default:try{y[g(w)]=x;}catch(z){throw new Error(i('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&&j()==='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=l(x);for(var ba in y)if(ba===aa||ba.indexOf(aa+'-')===0)delete y[ba];w[aa]=z;}n(y,w);v.style.cssText=r(y);},get:k,getFloat:function(v,w){return parseFloat(u.get(v,w),10);},getOpacity:function(v){if(j()==='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(h(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;}};e.exports=u;},null);
  101. __d("merge",[],function(a,b,c,d,e,f){"use strict";var g=function(h,i){return Object.assign({},h,i);};e.exports=g;},null);
  102. __d("Style",["Style-upstream","$","merge"],function(a,b,c,d,e,f,g,h,i){var j=i(g,{get:function(k,l){typeof k==='string';return g.get(h(k),l);},getFloat:function(k,l){typeof k==='string';return g.getFloat(h(k),l);}});e.exports=j;},null);
  103. __d("FlipDirectionOnKeypress",["Event","DOM","Input","Style"],function(a,b,c,d,e,f,g,h,i,j){function k(event){var l=event.getTarget(),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');}}g.listen(document.documentElement,{keyup:k,input:k});},null);
  104. __d("guid",[],function(a,b,c,d,e,f){function g(){return 'f'+(Math.random()*(1<<30)).toString(16).replace('.','');}e.exports=g;},null);
  105. __d("ArbiterMixin",["Arbiter","guid"],function(a,b,c,d,e,f,g,h){var i="arbiter$"+h(),j=Object.prototype.hasOwnProperty,k={_getArbiterInstance:function(){return j.call(this,i)?this[i]:this[i]=new g();},inform:function(l,m,n){return this._getArbiterInstance().inform(l,m,n);},subscribe:function(l,m,n){return this._getArbiterInstance().subscribe(l,m,n);},subscribeOnce:function(l,m,n){return this._getArbiterInstance().subscribeOnce(l,m,n);},unsubscribe:function(l){this._getArbiterInstance().unsubscribe(l);},unsubscribeCurrentSubscription:function(){this._getArbiterInstance().unsubscribeCurrentSubscription();},releaseCurrentPersistentEvent:function(){this._getArbiterInstance().releaseCurrentPersistentEvent();},registerCallback:function(l,m){return this._getArbiterInstance().registerCallback(l,m);},query:function(l){return this._getArbiterInstance().query(l);}};e.exports=k;},null);
  106. __d("PHPQuerySerializer",["invariant"],function(a,b,c,d,e,f,g){function h(o){return i(o,null);}function i(o,p){p=p||'';var q=[];if(o===null||o===undefined){q.push(j(p));}else if(typeof(o)=='object'){g(!(('nodeName' in o)||('nodeType' in o)));for(var r in o)if(o.hasOwnProperty(r)&&o[r]!==undefined)q.push(i(o[r],p?(p+'['+r+']'):r));}else q.push(j(p)+'='+j(o));return q.join('&');}function j(o){return encodeURIComponent(o).replace(/%5D/g,"]").replace(/%5B/g,"[");}var k=/^([-_\w]+)((?:\[[-_\w]*\])+)=?(.*)/;function l(o){if(!o)return {};var p={};o=o.replace(/%5B/ig,'[').replace(/%5D/ig,']');o=o.split('&');var q=Object.prototype.hasOwnProperty;for(var r=0,s=o.length;r<s;r++){var t=o[r].match(k);if(!t){var u=o[r].split('=');p[m(u[0])]=u[1]===undefined?null:m(u[1]);}else{var v=t[2].split(/\]\[|\[|\]/).slice(0,-1),w=t[1],x=m(t[3]||'');v[0]=w;var y=p;for(var z=0;z<v.length-1;z++)if(v[z]){if(!q.call(y,v[z])){var aa=v[z+1]&&!v[z+1].match(/^\d{1,3}$/)?{}:[];y[v[z]]=aa;if(y[v[z]]!==aa)return p;}y=y[v[z]];}else{if(v[z+1]&&!v[z+1].match(/^\d{1,3}$/)){y.push({});}else y.push([]);y=y[y.length-1];}if(y instanceof Array&&v[v.length-1]===''){y.push(x);}else y[v[v.length-1]]=x;}}return p;}function m(o){return decodeURIComponent(o.replace(/\+/g,' '));}var n={serialize:h,encodeComponent:j,deserialize:l,decodeComponent:m};e.exports=n;},null);
  107. __d("URIRFC3986",[],function(a,b,c,d,e,f){var g=new RegExp('^'+'([^:/?#]+:)?'+'(//'+'([^\\\\/?#@]*@)?'+'('+'\\[[A-Fa-f0-9:.]+\\]|'+'[^\\/?#:]*'+')'+'(:[0-9]*)?'+')?'+'([^?#]*)'+'(\\?[^#]*)?'+'(#.*)?'),h={parse:function(i){if(i.trim()==='')return null;var j=i.match(g),k={};k.uri=j[0]?j[0]:null;k.scheme=j[1]?j[1].substr(0,j[1].length-1):null;k.authority=j[2]?j[2].substr(2):null;k.userinfo=j[3]?j[3].substr(0,j[3].length-1):null;k.host=j[2]?j[4]:null;k.port=j[5]?(j[5].substr(1)?parseInt(j[5].substr(1),10):null):null;k.path=j[6]?j[6]:null;k.query=j[7]?j[7].substr(1):null;k.fragment=j[8]?j[8].substr(1):null;k.isGenericURI=k.authority===null&&!!k.scheme;return k;}};e.exports=h;},null);
  108. __d("URISchemes",["createObjectFrom"],function(a,b,c,d,e,f,g){var h=g(['fb','fbcf','fbconnect','fb-messenger','fbrpc','file','ftp','http','https','mailto','ms-app','itms','itms-apps','itms-services','market','svn+ssh','fbstaging','tel','sms']),i={isAllowed:function(j){if(!j)return true;return h.hasOwnProperty(j.toLowerCase());}};e.exports=i;},null);
  109. __d("URIBase",["URIRFC3986","URISchemes","copyProperties","ex","invariant"],function(a,b,c,d,e,f,g,h,i,j,k){var l=new RegExp('[\\x00-\\x2c\\x2f\\x3b-\\x40\\x5c\\x5e\\x60\\x7b-\\x7f'+'\\uFDD0-\\uFDEF\\uFFF0-\\uFFFF'+'\\u2047\\u2048\\uFE56\\uFE5F\\uFF03\\uFF0F\\uFF1F]'),m=new RegExp('^(?:[^/]*:|'+'[\\x00-\\x1f]*/[\\x00-\\x1f]*/)');function n(p,q,r,s){if(!q)return true;if(q instanceof o){p.setProtocol(q.getProtocol());p.setDomain(q.getDomain());p.setPort(q.getPort());p.setPath(q.getPath());p.setQueryData(s.deserialize(s.serialize(q.getQueryData())));p.setFragment(q.getFragment());p.setForceFragmentSeparator(q.getForceFragmentSeparator());return true;}q=q.toString().trim();var t=g.parse(q)||{};if(!r&&!h.isAllowed(t.scheme))return false;p.setProtocol(t.scheme||'');if(!r&&l.test(t.host))return false;p.setDomain(t.host||'');p.setPort(t.port||'');p.setPath(t.path||'');if(r){p.setQueryData(s.deserialize(t.query)||{});}else try{p.setQueryData(s.deserialize(t.query)||{});}catch(u){return false;}p.setFragment(t.fragment||'');if(t.fragment==='')p.setForceFragmentSeparator(true);if(t.userinfo!==null)if(r){throw new Error(j('URI.parse: invalid URI (userinfo is not allowed in a URI): %s',p.toString()));}else return false;if(!p.getDomain()&&p.getPath().indexOf('\\')!==-1)if(r){throw new Error(j('URI.parse: invalid URI (no domain but multiple back-slashes): %s',p.toString()));}else return false;if(!p.getProtocol()&&m.test(q))if(r){throw new Error(j('URI.parse: invalid URI (unsafe protocol-relative URLs): %s',p.toString()));}else return false;return true;}function o(p,q){"use strict";k(q);this.$URIBase0=q;this.$URIBase1='';this.$URIBase2='';this.$URIBase3='';this.$URIBase4='';this.$URIBase5='';this.$URIBase6={};this.$URIBase7=false;n(this,p,true,q);}o.prototype.setProtocol=function(p){"use strict";k(h.isAllowed(p));this.$URIBase1=p;return this;};o.prototype.getProtocol=function(p){"use strict";return this.$URIBase1;};o.prototype.setSecure=function(p){"use strict";return this.setProtocol(p?'https':'http');};o.prototype.isSecure=function(){"use strict";return this.getProtocol()==='https';};o.prototype.setDomain=function(p){"use strict";if(l.test(p))throw new Error(j('URI.setDomain: unsafe domain specified: %s for url %s',p,this.toString()));this.$URIBase2=p;return this;};o.prototype.getDomain=function(){"use strict";return this.$URIBase2;};o.prototype.setPort=function(p){"use strict";this.$URIBase3=p;return this;};o.prototype.getPort=function(){"use strict";return this.$URIBase3;};o.prototype.setPath=function(p){"use strict";this.$URIBase4=p;return this;};o.prototype.getPath=function(){"use strict";return this.$URIBase4;};o.prototype.addQueryData=function(p,q){"use strict";if(Object.prototype.toString.call(p)==='[object Object]'){i(this.$URIBase6,p);}else this.$URIBase6[p]=q;return this;};o.prototype.setQueryData=function(p){"use strict";this.$URIBase6=p;return this;};o.prototype.getQueryData=function(){"use strict";return this.$URIBase6;};o.prototype.removeQueryData=function(p){"use strict";if(!Array.isArray(p))p=[p];for(var q=0,r=p.length;q<r;++q)delete this.$URIBase6[p[q]];return this;};o.prototype.setFragment=function(p){"use strict";this.$URIBase5=p;this.setForceFragmentSeparator(false);return this;};o.prototype.getFragment=function(){"use strict";return this.$URIBase5;};o.prototype.setForceFragmentSeparator=function(p){"use strict";this.$URIBase7=p;return this;};o.prototype.getForceFragmentSeparator=function(){"use strict";return this.$URIBase7;};o.prototype.isEmpty=function(){"use strict";return !(this.getPath()||this.getProtocol()||this.getDomain()||this.getPort()||Object.keys(this.getQueryData()).length>0||this.getFragment());};o.prototype.toString=function(){"use strict";var p='';if(this.$URIBase1)p+=this.$URIBase1+'://';if(this.$URIBase2)p+=this.$URIBase2;if(this.$URIBase3)p+=':'+this.$URIBase3;if(this.$URIBase4){p+=this.$URIBase4;}else if(p)p+='/';var q=this.$URIBase0.serialize(this.$URIBase6);if(q)p+='?'+q;if(this.$URIBase5){p+='#'+this.$URIBase5;}else if(this.$URIBase7)p+='#';return p;};o.prototype.getOrigin=function(){"use strict";return this.$URIBase1+'://'+this.$URIBase2+(this.$URIBase3?':'+this.$URIBase3:'');};o.isValidURI=function(p,q){return n(new o(null,q),p,false,q);};e.exports=o;},null);
  110. __d("isFacebookURI",[],function(a,b,c,d,e,f){var g=null,h=['http','https'];function i(j){if(!g)g=new RegExp('(^|\\.)facebook\\.com$','i');if(j.isEmpty())return false;if(!j.getDomain()&&!j.getProtocol())return true;return (h.indexOf(j.getProtocol())!==-1&&g.test(j.getDomain()));}e.exports=i;},null);
  111. __d("unqualifyURI",[],function(a,b,c,d,e,f){function g(h){h.setProtocol(null).setDomain(null).setPort(null);}e.exports=g;},null);
  112. __d("areSameOrigin",[],function(a,b,c,d,e,f){function g(h,i){if(h.isEmpty()||i.isEmpty())return false;if(h.getProtocol()&&h.getProtocol()!=i.getProtocol())return false;if(h.getDomain()&&h.getDomain()!=i.getDomain())return false;if(h.getPort()&&h.getPort()!=i.getPort())return false;return true;}e.exports=g;},null);
  113. __d("goURI",["URISchemes"],function(a,b,c,d,e,f,g){function h(i,j,k){i=i.toString();if(/^([^.:/?#]+):/.test(i)&&!g.isAllowed(RegExp.$1))throw new Error('goURI: URI scheme rejected, URI: '+i);if(!j&&a.PageTransitions&&a.PageTransitions.isInitialized()){a.PageTransitions.go(i,k);}else if(window.location.href==i){window.location.reload();}else window.location.href=i;}e.exports=h;},null);
  114. __d("URI",["PHPQuerySerializer","URIBase","isFacebookURI","unqualifyURI","areSameOrigin","copyProperties","goURI"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){for(var n in h)if(h.hasOwnProperty(n))p[n]=h[n];var o=h===null?null:h.prototype;p.prototype=Object.create(o);p.prototype.constructor=p;p.__superConstructor__=h;function p(q){"use strict";if(!(this instanceof p))return new p(q||window.location.href);h.call(this,q||'',g);}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 i(this);};p.prototype.isLinkshimURI=function(){"use strict";if(i(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(!i(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);j(q);return q;};p.prototype.getQualifiedURI=function(){"use strict";return new p(this).$URI0();};p.prototype.$URI0=function(){"use strict";if(!this.getDomain()){var q=p();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 k(this,r);};p.prototype.go=function(q){"use strict";m(this,q);};p.prototype.setSubdomain=function(q){"use strict";var r=this.$URI0().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 h.isValidURI(q,g);};l(p,{getRequestURI:function(q,r){q=q===undefined||q;var s=a.PageTransitions;if(q&&s&&s.isInitialized()){return s.getCurrentURI(!!r).getQualifiedURI();}else return new p(window.location.href);},getMostRecentURI:function(){var q=a.PageTransitions;if(q&&q.isInitialized()){return q.getMostRecentURI().getQualifiedURI();}else return new p(window.location.href);},getNextURI:function(){var q=a.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,' '));}});e.exports=p;},null);
  115. __d("mixin",[],function(a,b,c,d,e,f){function g(h,i,j,k,l,m,n,o,p,q,r){var s=function(){},t=[h,i,j,k,l,m,n,o,p,q],u=0,v;while(t[u]){v=t[u];for(var w in v)if(v.hasOwnProperty(w))s.prototype[w]=v[w];u+=1;}return s;}e.exports=g;},null);
  116. __d("JSONPTransport",["ArbiterMixin","DOM","HTML","URI","asyncCallback","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l){var m={},n=2,o='jsonp',p='iframe';function q(v){delete m[v];}var r=l(g);for(var s in r)if(r.hasOwnProperty(s))u[s]=r[s];var t=r===null?null:r.prototype;u.prototype=Object.create(t);u.prototype.constructor=u;u.__superConstructor__=r;function u(v,w){"use strict";this._type=v;this._uri=w;m[this.getID()]=this;}u.prototype.getID=function(){"use strict";return this._id||(this._id=n++);};u.prototype.hasFinished=function(){"use strict";return !(this.getID() in m);};u.prototype.getRequestURI=function(){"use strict";return j(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=i('<iframe class="hidden_elem" name="'+v+'" src="javascript:void(0)" />');return this._iframe=h.appendContent(document.body,w)[0];};u.prototype.send=function(){"use strict";if(this._type===o){setTimeout((function(){h.appendContent(document.body,h.create('script',{src:this.getRequestURI().toString(),type:'text/javascript'}));}).bind(this),0);}else 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();q(this.getID());this.inform('abort');};u.prototype._cleanup=function(){"use strict";if(this._iframe){h.remove(this._iframe);this._iframe=null;}};u.respond=function(v,w,x){"use strict";var y=m[v];if(y){if(!x)q(v);if(y._type==p)w=JSON.parse(JSON.stringify(w));k(y.handleResponse.bind(y),'json')(w);}else{var z=a.ErrorSignal;if(z&&!x)z.logJSError('ajax',{error:'UnexpectedJsonResponse',extra:{id:v,uri:(w.payload&&w.payload.uri)||''}});}};e.exports=u;},null);
  117. __d("PlaceholderListener",["Arbiter","CSS","Parent"],function(a,b,c,d,e,f,g,h,i){function j(o,p){if(p.getAttribute('data-silentplaceholderlistener'))return;var q=p.getAttribute('placeholder');if(q){var r=i.byClass(p,'focus_target');if('focus'==o||'focusin'==o){var s=p.value.replace(/\r\n/g,'\n'),t=q.replace(/\r\n/g,'\n');if(s==t&&h.hasClass(p,'DOMControl_placeholder')){p.value='';h.removeClass(p,'DOMControl_placeholder');}if(r)n.expandInput(r);}else{if(p.value===''){h.addClass(p,'DOMControl_placeholder');p.value=q;r&&h.removeClass(r,'child_is_active');p.style.direction='';}r&&h.removeClass(r,'child_is_focused');}}}try{if(document.activeElement)j('focus',document.activeElement);}catch(k){}function l(event){event=event||window.event;j(event.type,event.target||event.srcElement);}var m=document.documentElement;if(m.addEventListener){m.addEventListener('focus',l,true);m.addEventListener('blur',l,true);}else{m.attachEvent('onfocusin',l);m.attachEvent('onfocusout',l);}var n={expandInput:function(o){h.addClass(o,'child_is_active');h.addClass(o,'child_is_focused');h.addClass(o,'child_was_focused');g.inform('reflow');}};e.exports=n;},null);
  118. __d("PlaceholderOnsubmitFormListener",["Event","Input"],function(a,b,c,d,e,f,g,h){g.listen(document.documentElement,'submit',function(i){var j=i.getTarget().getElementsByTagName('*');for(var k=0;k<j.length;k++)if(j[k].getAttribute('placeholder')&&h.isEmpty(j[k]))h.setValue(j[k],'');});},null);
  119. __d("PluginMessage",["DOMEventListener"],function(a,b,c,d,e,f,g){var h={listen:function(){g.add(window,'message',function(event){if((/\.facebook\.com$/).test(event.origin)&&/^FB_POPUP:/.test(event.data)){var i=JSON.parse(event.data.substring(9));if('reload' in i&&/^https?:/.test(i.reload))document.location.replace(i.reload);}});}};e.exports=h;},null);
  120. __d("getViewportDimensions",[],function(a,b,c,d,e,f){function g(){return (document.documentElement&&document.documentElement.clientWidth)||(document.body&&document.body.clientWidth)||0;}function h(){return (document.documentElement&&document.documentElement.clientHeight)||(document.body&&document.body.clientHeight)||0;}function i(){return {width:window.innerWidth||g(),height:window.innerHeight||h()};}i.withoutScrollbars=function(){return {width:g(),height:h()};};e.exports=i;},null);
  121. __d("DOMDimensions",["Style","getDocumentScrollElement","getViewportDimensions"],function(a,b,c,d,e,f,g,h,i){var j={getElementDimensions:function(k){return {width:k.offsetWidth||0,height:k.offsetHeight||0};},getViewportDimensions:i,getViewportWithoutScrollbarDimensions:i.withoutScrollbars,getDocumentDimensions:function(k){var l=h(k),m=l.scrollWidth||0,n=l.scrollHeight||0;return {width:m,height:n};},measureElementBox:function(k,l,m,n,o){var p;switch(l){case 'left':case 'right':case 'top':case 'bottom':p=[l];break;case 'width':p=['left','right'];break;case 'height':p=['top','bottom'];break;default:throw Error('Invalid plane: '+l);}var q=function(r,s){var t=0;for(var u=0;u<p.length;u++)t+=parseInt(g.get(k,r+'-'+p[u]+s),10)||0;return t;};return (m?q('padding',''):0)+(n?q('border','-width'):0)+(o?q('margin',''):0);}};e.exports=j;},null);
  122. __d("KeyStatus",["Event"],function(a,b,c,d,e,f,g){var h=null,i=null;function j(){if(!i)i=g.listen(window,'blur',function(){h=null;k();});}function k(){if(i){i.remove();i=null;}}function l(event){h=g.getKeyCode(event);j();}function m(){h=null;k();}var n=document.documentElement;if(n.addEventListener){n.addEventListener('keydown',l,true);n.addEventListener('keyup',m,true);}else{n.attachEvent('onkeydown',l);n.attachEvent('onkeyup',m);}var o={isKeyDown:function(){return !!h;},getKeyDownCode:function(){return h;}};e.exports=o;},null);
  123. __d("BehaviorsMixin",["copyProperties"],function(a,b,c,d,e,f,g){function h(l){this._behavior=l;this._enabled=false;}g(h.prototype,{enable:function(){if(!this._enabled){this._enabled=true;this._behavior.enable();}},disable:function(){if(this._enabled){this._enabled=false;this._behavior.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.bind(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);}};e.exports=k;},null);
  124. __d("BootloadedReact",["Bootloader"],function(a,b,c,d,e,f,g){var h=function(j){g.loadModules(["React"],j);},i={isValidComponent:function(j){if(!j||!j.type||!j.type.prototype)return false;var k=j.type.prototype;return (typeof k.mountComponentIntoNode==='function'&&typeof k.receiveComponent==='function');},initializeTouchEvents:function(j,k){h(function(l){l.initializeTouchEvents(j);k&&k();});},createClass:function(j,k){h(function(l){var m=l.createClass(j);k&&k(m);});},renderComponent:function(j,k,l){h(function(m){var n=m.renderComponent(j,k);l&&l(n);});},unmountComponentAtNode:function(j,k){h(function(l){l.unmountComponentAtNode(j);k&&k();});}};e.exports=i;},null);
  125. __d("ContextualThing",["CSS","DOM","ge"],function(a,b,c,d,e,f,g,h,i){var j={register:function(k,l){k.setAttribute('data-ownerid',h.getID(l));},containsIncludingLayers:function(k,l){while(l){if(h.contains(k,l))return true;l=j.getContext(l);}return false;},getContext:function(k){var l;while(k){if(k.getAttribute&&(l=k.getAttribute('data-ownerid')))return i(l);k=k.parentNode;}return null;},parentByClass:function(k,l){var m;while(k&&!g.hasClass(k,l))if(k.getAttribute&&(m=k.getAttribute('data-ownerid'))){k=i(m);}else k=k.parentNode;return k;}};e.exports=j;},null);
  126. __d("KeyEventController",["DOMQuery","Event","Run","getElementText","isEmpty"],function(a,b,c,d,e,f,g,h,i,j,k){var l=null,m=['input','select','textarea','object','embed'],n={button:1,checkbox:1,radio:1,submit:1},o={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]},p={8:1,9:1,13:1,27:1,37:1,63234:1,38:1,63232:1,39:1,63235:1,40:1,63233:1,46:1};function q(){"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');}q.prototype.mapKey=function(r){"use strict";if(r>=0&&r<=9){if(typeof(r)!='number')r=r.charCodeAt(0)-48;return [48+r,96+r];}var s=o[r.toUpperCase()];if(s)return s;return [r.toUpperCase().charCodeAt(0)];};q.prototype.onkeyevent=function(r,s){"use strict";s=h.$E(s);var t=this.handlers[s.keyCode]||this.handlers[s.which],u,v,w;if(t)for(var x=0;x<t.length;x++){u=t[x].callback;v=t[x].filter;try{if(!v||v(s,r)){w=u(s,r);if(w===false)return h.kill(s);}}catch(y){}}return true;};q.prototype.resetHandlers=function(){"use strict";this.handlers={};};q.getInstance=function(){"use strict";return l||(l=new q());};q.defaultFilter=function(event,r){"use strict";event=h.$E(event);return q.filterEventTypes(event,r)&&q.filterEventTargets(event,r)&&q.filterEventModifiers(event,r);};q.filterEventTypes=function(event,r){"use strict";if(r==='onkeydown')return true;return false;};q.filterEventTargets=function(event,r){"use strict";var s=event.getTarget(),t=(s.contentEditable==='true'||s.contentEditable==='plaintext-only');return (!(t||g.isNodeOfType(s,m))||s.type in n||(event.keyCode in p&&((g.isNodeOfType(s,['input','textarea'])&&s.value.length===0)||(t&&j(s).length===0))));};q.filterEventModifiers=function(event,r){"use strict";if(event.ctrlKey||event.altKey||event.metaKey||event.repeat)return false;return true;};q.registerKey=function(r,s,t,u){"use strict";if(t===undefined)t=q.defaultFilter;var v=q.getInstance(),w=v.mapKey(r);if(k(v.handlers))i.onLeave(v.resetHandlers.bind(v));var x={};for(var y=0;y<w.length;y++){r=w[y];if(!v.handlers[r]||u)v.handlers[r]=[];var z={callback:s,filter:t};x[r]=z;v.handlers[r].push(z);}return {remove:function(){for(var aa in x){if(v.handlers[aa]&&v.handlers[aa].length){var ba=v.handlers[aa].indexOf(x[aa]);ba>=0&&v.handlers[aa].splice(ba,1);}delete x[aa];}}};};e.exports=q;},null);
  127. __d("removeFromArray",[],function(a,b,c,d,e,f){function g(h,i){var j=h.indexOf(i);j!=-1&&h.splice(j,1);}e.exports=g;},null);
  128. /**
  129.  * @generated SignedSource<<38c660df4077b7dc57a24ea3cec01c11>>
  130.  *
  131.  * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  132.  * !! This file is a check-in of a static_upstream project!      !!
  133.  * !!                                                            !!
  134.  * !! You should not modify this file directly. Instead:         !!
  135.  * !! 1) Use `fjs use-upstream` to temporarily replace this with !!
  136.  * !!    the latest version from upstream.                       !!
  137.  * !! 2) Make your changes, test them, etc.                      !!
  138.  * !! 3) Use `fjs push-upstream` to copy your changes back to    !!
  139.  * !!    static_upstream.                                        !!
  140.  * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  141.  *
  142.  * Copyright (c) 2012 Barnesandnoble.com, llc, Donavon West, and Domenic
  143.  * Denicola
  144.  *
  145.  * Permission is hereby granted, free of charge, to any person obtaining
  146.  * a copy of this software and associated documentation files (the
  147.  * "Software"), to deal in the Software without restriction, including
  148.  * without limitation the rights to use, copy, modify, merge, publish,
  149.  * distribute, sublicense, and/or sell copies of the Software, and to
  150.  * permit persons to whom the Software is furnished to do so, subject to
  151.  * the following conditions:
  152.  *
  153.  * The above copyright notice and this permission notice shall be
  154.  * included in all copies or substantial portions of the Software.
  155.  *
  156.  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  157.  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  158.  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  159.  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  160.  * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  161.  * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  162.  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  163.  *
  164.  * @preserve-header
  165.  * @providesModule ImmediateImplementation
  166.  */__d("ImmediateImplementation",[],function(a,b,c,d,e,f){(function(g,h){"use strict";var i=1,j={},k={},l=k,m=false,n=g.document,o;function p(x){var y=x[0];x=Array.prototype.slice.call(x,1);j[i]=function(){y.apply(h,x);};l=(l.next={handle:i++});return l.handle;}function q(){var x,y;while(!m&&(x=k.next)){k=x;if((y=j[x.handle])){m=true;try{y();m=false;}finally{r(x.handle);if(m){m=false;if(k.next)o(q);}}}}}function r(x){delete j[x];}function s(){if(g.postMessage&&!g.importScripts){var x=true,y=function(){x=false;if(g.removeEventListener){g.removeEventListener("message",y,false);}else g.detachEvent("onmessage",y);};if(g.addEventListener){g.addEventListener("message",y,false);}else if(g.attachEvent){g.attachEvent("onmessage",y);}else return false;g.postMessage("","*");return x;}}function t(){var x="setImmediate$"+Math.random()+"$",y=function(event){if(event.source===g&&typeof event.data==="string"&&event.data.indexOf(x)===0)q();};if(g.addEventListener){g.addEventListener("message",y,false);}else g.attachEvent("onmessage",y);o=function(){var z=p(arguments);g.postMessage(x+z,"*");return z;};}function u(){var x=new MessageChannel();x.port1.onmessage=q;o=function(){var y=p(arguments);x.port2.postMessage(y);return y;};}function v(){var x=n.documentElement;o=function(){var y=p(arguments),z=n.createElement("script");z.onreadystatechange=function(){z.onreadystatechange=null;x.removeChild(z);z=null;q();};x.appendChild(z);return y;};}function w(){o=function(){setTimeout(q,0);return p(arguments);};}if(s()){t();}else if(g.MessageChannel){u();}else if(n&&n.createElement&&"onreadystatechange" in n.createElement("script")){v();}else w();f.setImmediate=o;f.clearImmediate=r;}(Function("return this")()));},null);
  167. __d("setImmediate",["ErrorUtils","invariant","ImmediateImplementation"],function(a,b,c,d,e,f,g,h){var i=a.setImmediate;if(!i){var j=b('ImmediateImplementation');i=j.setImmediate;}function k(l){var m=Array.prototype.slice.call(arguments,1);h(typeof l==='function');l=g.guard(l,'setImmediate');return i.apply(null,[l].concat(m));}e.exports=k;},null);
  168. __d("Layer",["ArbiterMixin","BehaviorsMixin","BootloadedReact","ContextualThing","CSS","DataStore","DOM","Event","HTML","KeyEventController","Parent","Style","copyProperties","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){b('KeyStatus');var y=[],z=v(g,h);for(var aa in z)if(z.hasOwnProperty(aa))ca[aa]=z[aa];var ba=z===null?null:z.prototype;ca.prototype=Object.create(ba);ca.prototype.constructor=ca;ca.__superConstructor__=z;function ca(fa,ga){"use strict";this._config=fa||{};if(ga){this._configure(this._config,ga);var ha=this._config.addedBehaviors||[];this.enableBehaviors(this._getDefaultBehaviors().concat(ha));}}ca.prototype.init=function(fa){"use strict";this._configure(this._config,fa);var ga=this._config.addedBehaviors||[];this.enableBehaviors(this._getDefaultBehaviors().concat(ga));this._initialized=true;return this;};ca.prototype._configure=function(fa,ga){"use strict";if(ga){var ha=m.isNode(ga),ia=typeof ga==='string'||o.isHTML(ga);this.containsReactComponent=i.isValidComponent(ga);if(ia){ga=o(ga).getRootNode();}else if(this.containsReactComponent){var ja=document.createElement('div');i.renderComponent(ga,ja);ga=this._reactContainer=ja;}}this._root=this._buildWrapper(fa,ga);if(fa.attributes)m.setAttributes(this._root,fa.attributes);if(fa.classNames)fa.classNames.forEach(k.addClass.bind(null,this._root));k.addClass(this._root,'uiLayer');if(fa.causalElement)this._causalElement=u(fa.causalElement);if(fa.permanent)this._permanent=fa.permanent;l.set(this._root,'layer',this);};ca.prototype._getDefaultBehaviors=function(){"use strict";return [];};ca.prototype.getCausalElement=function(){"use strict";return this._causalElement;};ca.prototype.setCausalElement=function(fa){"use strict";this._causalElement=fa;return this;};ca.prototype.getInsertParent=function(){"use strict";return this._insertParent||document.body;};ca.prototype.getRoot=function(){"use strict";return this._root;};ca.prototype.getContentRoot=function(){"use strict";return this._root;};ca.prototype._buildWrapper=function(fa,ga){"use strict";return ga;};ca.prototype.setInsertParent=function(fa){"use strict";if(fa){if(this._shown&&fa!==this.getInsertParent()){m.appendContent(fa,this.getRoot());this.updatePosition();}this._insertParent=fa;}return this;};ca.prototype.showAfterDelay=function(fa){"use strict";setTimeout(this.show.bind(this),fa);};ca.prototype.show=function(){"use strict";if(this._shown)return this;var fa=this.getRoot();this.inform('beforeshow');r.set(fa,'visibility','hidden');r.set(fa,'overflow','hidden');k.show(fa);m.appendContent(this.getInsertParent(),fa);if(this.updatePosition()!==false){this._shown=true;this.inform('show');ca.inform('show',this);if(!this._permanent)setTimeout(function(){if(this._shown)y.push(this);}.bind(this),0);}else k.hide(fa);r.set(fa,'visibility','');r.set(fa,'overfl...
Add Comment
Please, Sign In to add comment