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

__d("ChannelClientID",[],(function a(b,c,d,e,f,g){var h=(Math.random()*2147483648|0).toString(16),i={getID:function j(){return h}};f.exports=i}),null);
__d("destroyOnUnload",["Run"],(function a(b,c,d,e,f,g){function h(i){c("Run").onLeave(i)}f.exports=h}),null);
__d("ImageTimingHelper",["Arbiter","BigPipe","URI"],(function a(b,c,d,e,f,g){var h={},i={};c("Arbiter").subscribe(c("BigPipe").Events.init,function(j,k){if(k.lid&&k.lid!=="0")k.arbiter.subscribe("images_displayed",function(j,k){var l=h[k.lid];if(!l)l=h[k.lid]=[];k.images.forEach(function(m){try{var n=new(c("URI"))(m);m=n.setFragment("").toString()}catch(o){return}if(i[m])return;i[m]=true;l.push({pagelet:k.pagelet,timeslice:k.timeslice,ts:k.ts,uri:m})})})});f.exports.getImageTimings=function(j){return h[j]||[]}}),null);
__d("PageletEventsHelper",["Arbiter","PageletEventConstsJS"],(function a(b,c,d,e,f,g){var h="BigPipe/init",i="pagelet_event",j="phase_begin",k={},l=[],m=false;function n(){return{pagelets:{},categories:{},phase_start:{},display_resources:{},all_resources:{}}}function o(r,s,t,u){if(k[u].pagelets[s]==undefined)k[u].pagelets[s]={};k[u].pagelets[s][r]=t}function p(r){r.subscribe(i,function(s,t){var event=t.event,u=t.ts,v=t.id,w=t.lid,x=t.phase,y=t.categories,z=t.allResources,A=t.displayResources;o(event,v,u,w);var B=k[w],C=B.pagelets[v];if(event===c("PageletEventConstsJS").ARRIVE_END){C.phase=x;B.all_resources[v]=z;B.display_resources[v]=A}if((event===c("PageletEventConstsJS").ONLOAD_END||event===c("PageletEventConstsJS").DISPLAY_END)&&y)y.forEach(function(F){if(B.categories[F]==undefined)B.categories[F]={};B.categories[F][event]=u});for(var D=0,E=l.length;D<E;D++)l[D](v,event,u,w)});r.subscribe(j,function(event,s){k[s.lid].phase_start[s.phase]=s.ts})}var q={init:function r(){if(m)return;c("Arbiter").subscribe(h,function(event,s){var t=s.lid,u=s.arbiter;k[t]=n();p(u)});m=true},getMetrics:function r(s){if(k[s])return JSON.parse(JSON.stringify(k[s]));return null},subscribeToPageletEvents:function r(s){l.push(s);return{remove:function t(){l.splice(0,l.indexOf(s))}}}};f.exports=q}),null);
__d("PluginCSSReflowHack",["Style"],(function a(b,c,d,e,f,g){var h={trigger:function i(j){setTimeout(function(){var k="border-bottom-width",l=c("Style").get(j,k);c("Style").set(j,k,parseInt(l,10)+1+"px");var m=j.offsetHeight;c("Style").set(j,k,l);return m},1e3)}};f.exports=h}),null);
__d("PluginConfirm",["DOMEvent","DOMEventListener","PluginMessage","PopupWindow","URI","PlatformBaseVersioning"],(function a(b,c,d,e,f,g){function h(i){Object.assign(this,{plugin:i,confirm_params:{},return_params:c("URI").getRequestURI().getQueryData()});this.addReturnParams({ret:"sentry"});delete this.return_params.hash}Object.assign(h.prototype,{addConfirmParams:function i(j){Object.assign(this.confirm_params,j)},addReturnParams:function i(j){Object.assign(this.return_params,j);return this},start:function i(){var j=c("PlatformBaseVersioning").versionAwareURI(new(c("URI"))("/plugins/error/confirm/"+this.plugin)).addQueryData(this.confirm_params).addQueryData({secure:c("URI").getRequestURI().isSecure(),plugin:this.plugin,return_params:JSON.stringify(this.return_params)});this.popup=c("PopupWindow").open(j.toString(),320,486);c("PluginMessage").listen();return this}});h.starter=function(i,j,k){var l=new h(i);l.addConfirmParams(j||{});l.addReturnParams(k||{});return l.start.bind(l)};h.listen=function(i,j,k,l){c("DOMEventListener").add(i,"click",function(m){new(c("DOMEvent"))(m).kill();h.starter(j,k,l)()})};f.exports=h}),null);
__d("PluginConnection",["Arbiter","CSS","Plugin"],(function a(b,c,d,e,f,g){var h=function h(){};Object.assign(h.prototype,{init:function i(j,k,l,event){event=event||c("Plugin").CONNECT;this.identifier=j;this.element=k;this.css=l;c("Arbiter").subscribe([c("Plugin").CONNECT,c("Plugin").DISCONNECT],function(m,n){if(j===n.href)c("CSS")[m===event?"addClass":"removeClass"](k,l);return true});return this},connected:function i(){return c("CSS").hasClass(this.element,this.css)},connect:function i(){return c("Arbiter").inform(c("Plugin").CONNECT,{href:this.identifier},c("Arbiter").BEHAVIOR_STATE)},disconnect:function i(){return c("Arbiter").inform(c("Plugin").DISCONNECT,{href:this.identifier},c("Arbiter").BEHAVIOR_STATE)},toggle:function i(){return this.connected()?this.disconnect():this.connect()}});h.init=function(i){for(var j,k=0;k<i.length;k++){j=new h();j.init.apply(j,i[k])}};f.exports=h}),null);
__d("BanzaiLogger",["Banzai"],(function a(b,c,d,e,f,g){var h="logger";function i(k){return{log:function l(m,n){c("Banzai").post(j._getRoute(m),n,k)},registerToSendWithBeacon:function l(m,n,o,p){c("Banzai").registerToSendWithBeacon(j._getRoute(m),n,o,p)},_getRoute:function l(m){return h+":"+m}}}var j=i();j.create=i;f.exports=j}),null);
__d("PagePluginActionTypes",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({CLICK:"click"})}),null);
__d("PagePluginActions",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({PAGE_AVATAR:"page_avatar",PAGE_CTA:"page_cta",PAGE_LIKE:"page_like",PAGE_PERMALINK:"page_permalink",PAGE_SHARE:"page_share",PAGE_UNLIKE:"page_unlike"})}),null);
__d("PluginPageActionLogger",["BanzaiLogger","BanzaiODS","DOM","Event","PagePluginActions","PagePluginActionTypes"],(function a(b,c,d,e,f,g){var h={initializeClickLoggers:function i(j,k,l,m,n,o,p,q,r,s){var t=function t(u,v){try{var w=c("DOM").find(m,"."+u);c("Event").listen(w,"click",function(y){c("BanzaiODS").bumpEntityKey("platform_www","platform.plugin.page.action");c("BanzaiLogger").log("PagePluginActionsLoggerConfig",{page_id:k,page_plugin_action:v,page_plugin_action_type:c("PagePluginActionTypes").CLICK,referer_url:l,is_sdk:j})})}catch(x){}};t(n,c("PagePluginActions").PAGE_LIKE);t(o,c("PagePluginActions").PAGE_UNLIKE);t(p,c("PagePluginActions").PAGE_AVATAR);t(q,c("PagePluginActions").PAGE_PERMALINK);t(r,c("PagePluginActions").PAGE_SHARE);t(s,c("PagePluginActions").PAGE_CTA)}};f.exports=h}),null);
__d("XHRHttpError",[],(function a(b,c,d,e,f,g){"use strict";var h="HTTP_CLIENT_ERROR",i="HTTP_PROXY_ERROR",j="HTTP_SERVER_ERROR",k="HTTP_TRANSPORT_ERROR",l="HTTP_UNKNOWN_ERROR",m={HTTP_CLIENT_ERROR:h,HTTP_PROXY_ERROR:i,HTTP_SERVER_ERROR:j,HTTP_TRANSPORT_ERROR:k,HTTP_UNKNOWN_ERROR:l,getErrorCode:function n(o,p){if(p===0){var q=o.getProtocol();if(q==="file"||q==="ftp")return null;return k}else if(p>=100&&p<200)return i;else if(p>=200&&p<300)return null;else if(p>=400&&p<500)return h;else if(p>=500&&p<600)return j;else if(p>=12001&&p<12156)return k;else return l}};f.exports=m}),null);
__d("xhrSimpleDataSerializer",[],(function a(b,c,d,e,f,g){"use strict";function h(i){var j=[];for(var k in i)j.push(encodeURIComponent(k)+"="+encodeURIComponent(i[k]));return j.join("&")}f.exports=h}),null);
__d("XHRRequest",["invariant","Env","ErrorUtils","ResourceTimingsStore","ResourceTypes","TimeSlice","URI","XHRHttpError","ZeroRewrites","getAsyncHeaders","xhrSimpleDataSerializer"],(function a(b,c,d,e,f,g,h){var i={errorCode:null,errorMsg:null,errorType:null},j={loadedBytes:null,totalBytes:null};function k(l){"use strict";this.setURI(l);this.setResponseType(null);this.setMethod("POST");this.setTransportBuilder(c("ZeroRewrites").getTransportBuilderForURI(this.getURI()));this.setDataSerializer(c("xhrSimpleDataSerializer"));this.$XHRRequest1=c("ResourceTimingsStore").getUID(c("ResourceTypes").XHR,l!=null?l.toString():"")}k.prototype.setURI=function(l){"use strict";this.$XHRRequest2=c("ZeroRewrites").rewriteURI(new(c("URI"))(l));return this};k.prototype.getURI=function(){"use strict";return this.$XHRRequest2};k.prototype.setResponseType=function(l){"use strict";this.$XHRRequest3=l;return this};k.prototype.setMethod=function(l){"use strict";this.$XHRRequest4=l;return this};k.prototype.getMethod=function(){"use strict";return this.$XHRRequest4};k.prototype.setData=function(l){"use strict";this.$XHRRequest5=l;return this};k.prototype.getData=function(){"use strict";return this.$XHRRequest5};k.prototype.setRawData=function(l){"use strict";this.$XHRRequest6=l;return this};k.prototype.setRequestHeader=function(l,m){"use strict";if(!this.$XHRRequest7)this.$XHRRequest7={};this.$XHRRequest7[l]=m;return this};k.prototype.setTimeout=function(l){"use strict";this.$XHRRequest8=l;return this};k.prototype.getTimeout=function(){"use strict";return this.$XHRRequest8};k.prototype.setResponseHandler=function(l){"use strict";this.$XHRRequest9=l;return this};k.prototype.getResponseHandler=function(){"use strict";return this.$XHRRequest9};k.prototype.setErrorHandler=function(l){"use strict";this.$XHRRequest10=l;return this};k.prototype.getErrorHandler=function(){"use strict";return this.$XHRRequest10};k.prototype.setNetworkFailureHandler=function(l){"use strict";this.$XHRRequest11=l;return this};k.prototype.getNetworkFailureHandler=function(){"use strict";return this.$XHRRequest11};k.prototype.setAbortHandler=function(l){"use strict";this.$XHRRequest12=l;return this};k.prototype.getAbortHandler=function(){"use strict";return this.$XHRRequest12};k.prototype.setTimeoutHandler=function(l){"use strict";this.$XHRRequest13=l;return this};k.prototype.setUploadProgressHandler=function(l){"use strict";this.$XHRRequest14=l;return this};k.prototype.setDownloadProgressHandler=function(l){"use strict";this.$XHRRequest15=l;return this};k.prototype.setTransportBuilder=function(l){"use strict";this.$XHRRequest16=l;return this};k.prototype.setDataSerializer=function(l){"use strict";this.$XHRRequest17=l;return this};k.prototype.send=function(){"use strict";var l=this.$XHRRequest8,m=this.$XHRRequest16(),n=this.getURI(),o=new(c("URI"))(n).getQualifiedURI().toString(),p=this.$XHRRequest1;c("ResourceTimingsStore").updateURI(c("ResourceTypes").XHR,p,o);c("ResourceTimingsStore").measureRequestSent(c("ResourceTypes").XHR,p);this.$XHRRequest18=m;var q;this.$XHRRequest4==="POST"||!this.$XHRRequest6||h(0);if(c("Env").force_param)Object.assign(this.$XHRRequest5,c("Env").force_param);if(this.$XHRRequest4==="GET"||this.$XHRRequest6){n.addQueryData(this.$XHRRequest5);q=this.$XHRRequest6}else q=this.$XHRRequest17(this.$XHRRequest5);var r=c("TimeSlice").guard(function v(w){c("ResourceTimingsStore").measureResponseReceived(c("ResourceTypes").XHR,p);for(var x=arguments.length,y=Array(x>1?x-1:0),z=1;z<x;z++)y[z-1]=arguments[z];w.apply(this,y)},"XHRRequest response received",{isContinuation:true});m.onreadystatechange=this.$XHRRequest19(r);m.onerror=this.$XHRRequest20(r);if(m.upload&&this.$XHRRequest14)m.upload.onprogress=this.$XHRRequest21.bind(this);if(this.$XHRRequest15)m.onprogress=this.$XHRRequest22.bind(this);if(l)this.$XHRRequest23=setTimeout(this.$XHRRequest24.bind(this),l);if(this.$XHRRequest25!==null&&this.$XHRRequest25!==undefined)m.withCredentials=this.$XHRRequest25;m.open(this.$XHRRequest4,n.toString(),true);var s=false;if(this.$XHRRequest7)for(var t in this.$XHRRequest7){if(t.toLowerCase()==="content-type")s=true;m.setRequestHeader(t,this.$XHRRequest7[t])}if(this.$XHRRequest4=="POST"&&!this.$XHRRequest6&&!s)m.setRequestHeader("Content-Type","application/x-www-form-urlencoded");var u=c("getAsyncHeaders")(n);Object.keys(u).forEach(function(v){m.setRequestHeader(v,u[v])});if(this.$XHRRequest3==="arraybuffer")if("responseType"in m)m.responseType="arraybuffer";else if("overrideMimeType"in m)m.overrideMimeType("text/plain; charset=x-user-defined");else if("setRequestHeader"in m)m.setRequestHeader("Accept-Charset","x-user-defined");if(this.$XHRRequest3==="blob")m.responseType=this.$XHRRequest3;m.send(q)};k.prototype.abort=function(l){"use strict";this.$XHRRequest26();if(this.$XHRRequest12)c("ErrorUtils").applyWithGuard(this.$XHRRequest12,null,[l],null,"XHRRequest:_abortHandler")};k.prototype.$XHRRequest26=function(){"use strict";var l=this.$XHRRequest18;if(l){l.onreadystatechange=null;l.abort()}this.$XHRRequest27()};k.prototype.$XHRRequest24=function(){"use strict";this.$XHRRequest26();if(this.$XHRRequest13)c("ErrorUtils").applyWithGuard(this.$XHRRequest13,null,null,null,"XHRRequest:_abortHandler")};k.prototype.$XHRRequest28=function(l){"use strict";if(this.$XHRRequest3)if("response"in l)return l.response;else if(this.$XHRRequest3==="arraybuffer")if(window.VBArray)return window.VBArray(l.responseBody).toArray();return l.responseText};k.prototype.$XHRRequest20=function(l){"use strict";return function(){var i={};i.errorCode=c("XHRHttpError").HTTP_TRANSPORT_ERROR;i.errorMsg="Network Failure.";i.errorType="Network";if(this.$XHRRequest11)c("ErrorUtils").applyWithGuard(l.bind(undefined,this.$XHRRequest11),null,[i],null,"XHRRequest:_networkFailureHandler");else l(function(){})}.bind(this)};k.prototype.$XHRRequest19=function(l){"use strict";var m=c("TimeSlice").guard(function(n){for(var o=arguments.length,p=Array(o>1?o-1:0),q=1;q<o;q++)p[q-1]=arguments[q];return n.apply(this,p)},"XHRRequest onreadystatechange",{isContinuation:false});return function(){var n=this.$XHRRequest18,o=n.readyState;if(o>=2){var p=o===4,q=this.getURI(),r=c("XHRHttpError").getErrorCode(q,n.status),s=this.$XHRRequest9;if(r!==null){if(p){i.errorCode=r;i.errorMsg=this.$XHRRequest28(n);i.errorType=n.status?"HTTP "+n.status:"HTTP";if(this.$XHRRequest10)c("ErrorUtils").applyWithGuard(l.bind(undefined,this.$XHRRequest10),null,[i],null,"XHRRequest:_errorHandler");else l(function(){})}}else if(s){var t=null;if(s.includeHeaders)t=n.getAllResponseHeaders();if(p||s.parseStreaming&&o===3){var u=p?l:m;c("ErrorUtils").applyWithGuard(u.bind(undefined,s),null,[this.$XHRRequest28(n),t,p],null,"XHRRequest:handler")}}else if(p)l(function(){});if(p)this.$XHRRequest27()}}.bind(this)};k.prototype.$XHRRequest21=function(l){"use strict";j.loadedBytes=l.loaded;j.totalBytes=l.total;if(this.$XHRRequest14)c("ErrorUtils").applyWithGuard(this.$XHRRequest14,null,[j],null,"XHRRequest:_uploadProgressHandler")};k.prototype.$XHRRequest22=function(l){"use strict";var m={loadedBytes:l.loaded,totalBytes:l.total};if(this.$XHRRequest15)c("ErrorUtils").applyWithGuard(this.$XHRRequest15,null,[m],null,"XHRRequest:_downloadProgressHandler")};k.prototype.$XHRRequest27=function(){"use strict";clearTimeout(this.$XHRRequest23);delete this.$XHRRequest18};f.exports=k}),null);
__d("SimpleFBAuthenticatedXHRRequest",["invariant","CurrentUser","DTSG","ServerJSDefine","XHRRequest","isFacebookURI"],(function a(b,c,d,e,f,g,h){var i,j,k=1;i=babelHelpers.inherits(l,c("XHRRequest"));j=i&&i.prototype;function l(m,n){"use strict";j.constructor.call(this,m);var o={__dyn:c("ServerJSDefine").getLoadedModuleHash(),__req:(k++).toString(36),__ajax__:1,__a:1,__user:c("CurrentUser").getID()};j.setData.call(this,babelHelpers["extends"]({},n,o))}l.prototype.send=function(){"use strict";if(!c("isFacebookURI")(this.getURI()))return j.send.call(this);if(c("DTSG").getCachedToken){var m=c("DTSG").getCachedToken();if(m)return this.sendOnDTSGToken(m);else{c("DTSG").getToken().done(function(m){return this.sendOnDTSGToken(m)}.bind(this));return this}}else this.sendOnDTSGToken(c("DTSG").getToken())};l.prototype.sendOnDTSGToken=function(m){"use strict";if(m)j.setData.call(this,babelHelpers["extends"]({},this.getData(),{fb_dtsg:m}));return j.send.call(this)};l.prototype.setData=function(m){"use strict";h(0)};l.parseResponse=function(m){"use strict";return JSON.parse(m.substr(9))};l.getPayload=function(m){"use strict";var n=l.parseResponse(m).payload;return n.payload?n.payload:n};f.exports=l}),null);
__d("XFantailLogController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ajax/fantail/",{service:{type:"String",required:true}})}),null);
__d("FantailLogQueue",["ChannelClientID","CircularBuffer","FantailConfig","PHPQuerySerializer","SimpleFBAuthenticatedXHRRequest","XFantailLogController","destroyOnUnload","setIntervalAcrossTransitions","sprintf"],(function a(b,c,d,e,f,g){var h={DEBUG:"debug",INFO:"info",WARN:"warn",ERROR:"error"};function i(j){"use strict";this.$FantailLogQueue2=j;this.$FantailLogQueue3=new(c("CircularBuffer"))(200);c("setIntervalAcrossTransitions")(this.$FantailLogQueue4.bind(this),30*1e3);c("destroyOnUnload")(this.$FantailLogQueue4.bind(this))}i.get=function(j){"use strict";i.$FantailLogQueue1=i.$FantailLogQueue1||{};i.$FantailLogQueue1[j]=i.$FantailLogQueue1[j]||new i(j);return i.$FantailLogQueue1[j]};i.prototype.debug=function(j){"use strict";for(var k=arguments.length,l=Array(k>1?k-1:0),m=1;m<k;m++)l[m-1]=arguments[m];this.$FantailLogQueue5.apply(this,[h.DEBUG,j].concat(l))};i.prototype.info=function(j){"use strict";for(var k=arguments.length,l=Array(k>1?k-1:0),m=1;m<k;m++)l[m-1]=arguments[m];this.$FantailLogQueue5.apply(this,[h.INFO,j].concat(l))};i.prototype.warn=function(j){"use strict";for(var k=arguments.length,l=Array(k>1?k-1:0),m=1;m<k;m++)l[m-1]=arguments[m];this.$FantailLogQueue5.apply(this,[h.WARN,j].concat(l))};i.prototype.error=function(j){"use strict";for(var k=arguments.length,l=Array(k>1?k-1:0),m=1;m<k;m++)l[m-1]=arguments[m];this.$FantailLogQueue5.apply(this,[h.ERROR,j].concat(l))};i.prototype.$FantailLogQueue5=function(j,k){"use strict";for(var l=arguments.length,m=Array(l>2?l-2:0),n=2;n<l;n++)m[n-2]=arguments[n];var o=c("sprintf").apply(undefined,[k].concat(m));this.$FantailLogQueue3.write({log_time:Date.now(),log:o,severity:j,device_id:c("ChannelClientID").getID()})};i.prototype.$FantailLogQueue4=function(){"use strict";var j=this.$FantailLogQueue3.read();if(j.length>0){var k={log_time:[],log:[],severity:[],device_id:[]};j.forEach(function(m){k.log_time.push(m.log_time);k.log.push(m.log);k.severity.push(m.severity);k.device_id.push(m.device_id)});this.$FantailLogQueue3.clear();var l=c("XFantailLogController").getURIBuilder().setString("service",this.$FantailLogQueue2).getURI();new(c("SimpleFBAuthenticatedXHRRequest"))(l,k).setMethod("POST").setDataSerializer(c("PHPQuerySerializer").serialize).setRequestHeader("Content-Type","application/x-www-form-urlencoded").send()}};f.exports=i}),null);
__d("NavigationMetricsEnumJS",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({NAVIGATION_START:"navigationStart",UNLOAD_EVENT_START:"unloadEventStart",UNLOAD_EVENT_END:"unloadEventEnd",REDIRECT_START:"redirectStart",REDIRECT_END:"redirectEnd",FETCH_START:"fetchStart",DOMAIN_LOOKUP_START:"domainLookupStart",DOMAIN_LOOKUP_END:"domainLookupEnd",CONNECT_START:"connectStart",CONNECT_END:"connectEnd",SECURE_CONNECTION_START:"secureConnectionStart",REQUEST_START:"requestStart",RESPONSE_START:"responseStart",RESPONSE_END:"responseEnd",DOM_LOADING:"domLoading",DOM_INTERACTIVE:"domInteractive",DOM_CONTENT_LOADED_EVENT_START:"domContentLoadedEventStart",DOM_CONTENT_LOADED_EVENT_END:"domContentLoadedEventEnd",DOM_COMPLETE:"domComplete",LOAD_EVENT_START:"loadEventStart",LOAD_EVENT_END:"loadEventEnd"})}),null);
__d("ResourceTimingMetricsEnumJS",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({START_TIME:"startTime",REDIRECT_START:"redirectStart",REDIRECT_END:"redirectEnd",FETCH_START:"fetchStart",DOMAIN_LOOKUP_START:"domainLookupStart",DOMAIN_LOOKUP_END:"domainLookupEnd",CONNECT_START:"connectStart",SECURE_CONNECTION_START:"secureConnectionStart",CONNECT_END:"connectEnd",REQUEST_START:"requestStart",RESPONSE_START:"responseStart",RESPONSE_END:"responseEnd"})}),null);
__d("NavigationTimingHelper",["NavigationMetricsEnumJS","forEachObject","performance"],(function a(b,c,d,e,f,g){function h(j,k){var l={};c("forEachObject")(c("NavigationMetricsEnumJS"),function(m){var n=k[m];if(n)l[m]=n+j});return l}var i={getAsyncRequestTimings:function j(k){if(!k||!c("performance").timing||!c("performance").getEntriesByName)return undefined;var l=c("performance").getEntriesByName(k);if(l.length===0)return undefined;return h(c("performance").timing.navigationStart,l[0])},getNavTimings:function j(){if(!c("performance").timing)return undefined;return h(0,c("performance").timing)}};f.exports=i}),null);
__d("ResourceTimingBootloaderHelper",["Bootloader","ErrorUtils","ImageTimingHelper","Map","ResourceTimingMetricsEnumJS","ResourceTimingsStore","ResourceTypes","Set","URI","forEachObject","isEmpty","performance"],(function aa(ba,a,ca,da,b,ea){var c=500,d=[],e={},f={},g={},h=[".mp4",".m4v",".mpd","m4a"],i=new(a("Set"))(["bootload","js_exec","start_bootload","tag_bootload"]);function j(s){for(var t=h,u=Array.isArray(t),v=0,t=u?t:t[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var w;if(u){if(v>=t.length)break;w=t[v++]}else{v=t.next();if(v.done)break;w=v.value}var x=w;if(s.endsWith(x))return true}return false}function k(s){var t=new(a("Map"))();a("ResourceTimingsStore").getMapFor(s).forEach(function(u){if(u.requestSent!=null){var v=t.get(u.uri);if(v!=null)v.push(u);else t.set(u.uri,[u])}});t.forEach(function(u){return u.sort(function(v,w){return v.requestSent-w.requestSent})});return t}function l(s,t,u,v){var w=s.get(t);if(w!=null)for(var x=0;x<w.length;x++){var y=w[x],z=y.requestSent,A=y.responseReceived;if((u==null||z!=null&&z<=u)&&(v==null||A!=null&&A>=v))return w.splice(x,1)[0]}return null}function m(f,s,t,u,v,w,x){if(!a("performance").timing||!a("performance").getEntriesByType)return null;var y={},z=a("performance").timing.navigationStart;if(t)y=a("ImageTimingHelper").getImageTimings(u).sort(function(Z,$){return Z.ts-$.ts}).reduce(function(Z,$){if(Z[$.uri])return Z;Z[$.uri]=$.pagelet;return Z},{});var A=Array.from(a("performance").getEntriesByType("resource")),B=A.filter(function(I){return I.duration>=0&&I.startTime!=null&&I.startTime+z>s&&(v==null||I.responseEnd==null||I.responseEnd+z<v)});B.sort(function(Z,$){return Z.startTime-$.startTime});var C=B.length,D=0,E=0,F=0,G=0,fa=0,ga=k(a("ResourceTypes").XHR),ha=k(a("ResourceTypes").CSS),ia=k(a("ResourceTypes").JS);for(var H=0;H<B.length;H++){var I=B[H],J="",K="",L="",M=void 0,ja=I.initiatorType;switch(ja){case"css":case"link":case"script":var N=a("ResourceTimingsStore").parseMakeHasteURL(I.name);if(!N)continue;var ka=N[0],O=N[1];if((O==="css"||O==="js")&&x){var la=O==="css"?ha:ia;M=l(la,I.name,I.startTime+z,I.responseEnd+z);if(M!=null){K=O;J=M.uid;break}}if(O==="css"||O==="js"){K=O;var ma=g[I.name]||F++;J=ma+"_"+ka}else{var P=p(I.name);L=P[0];K=P[1];J=E+++"_"+L}break;case"img":J=E+++"_"+n(I.name);K="img";break;case"iframe":J=G+++"_"+n(I.name)+o(I.name);K="iframe";break;case"xmlhttprequest":if(w){var na=n(I.name),Q=o(I.name);if(j(Q)){J=fa+++"_"+na+Q;K="video";break}else{M=l(ga,I.name,I.startTime+z,I.responseEnd+z);if(M!=null){K=a("ResourceTypes").XHR;J=M.uid;break}}}default:continue}var R={},S=Object.keys(a("ResourceTimingMetricsEnumJS"));for(var T=0;T<S.length;T++){var U=a("ResourceTimingMetricsEnumJS")[S[T]],V=I[U];if(V)R[U]=V+a("performance").timing.navigationStart}if(M!=null){var W=M,X=W.requestSent,Y=W.responseReceived;if(s!=null&&X!=null&&X<s||v!=null&&Y!=null&&Y>v)continue;R.requestSent=X;R.responseReceived=Y}R.type=K;R.desc=J;if(K=="img"&&Object.prototype.hasOwnProperty.call(y,I.name))R.pagelet=y[I.name];R.transferSize=I.transferSize;R.encodedBodySize=I.encodedBodySize;if(f[I.name]==undefined)f[I.name]=[];D++;f[I.name].push(R)}if(x)return{numValidEntries:C,numSuccessfulMetrics:D};return null}function n(s){var t=new(a("URI"))(s).getDomain();return t}function o(s){var t=new(a("URI"))(s).getPath();return t}function p(s){return[n(s),"img"]}function q(s){var t=Object.keys(s).filter(function(v){return v.startsWith("start_bootload/")}).sort(function(v,w){return s[v]-s[w]}).map(function(v){return v.substring(v.indexOf("/")+1)});t.forEach(function(v){return i.forEach(function(w){var x=w+"/"+v;if(s[x]!=null)e[x]=s[x]})});d=d.concat(t);if(d.length>c){var u=d.splice(0,d.length-c);u.forEach(function(v){return i.forEach(function(w){if(e[w+"/"+v])delete e[w+"/"+v]})})}}var r={addPastBootloaderMetricsToResourceTimings:function s(){var t=arguments.length<=0||arguments[0]===undefined?{}:arguments[0],u=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],g=a("Bootloader").getURLToHashMap();a("forEachObject")(t,function(v,w){var x=g[w];if(!x)return;var y=new(a("Map"))();y.set("bootloader_hash",x);i.forEach(function(z){var A=z+"/"+x,B=u[A]||e[A];if(B!=null)y.set(z,B)});if(y.size>0)v.forEach(function(z){if(z.requestSent||z.responseReceived)return;y.forEach(function(A,B){return z[B]=A})})})},mergeBootloaderMetricsAndResourceTimings:function s(){var t=arguments.length<=0||arguments[0]===undefined?{}:arguments[0],u=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],v=arguments.length<=2||arguments[2]===undefined?true:arguments[2];if(a("isEmpty")(g))g=a("Bootloader").getURLToHashMap();var w=new(a("Map"))();a("forEachObject")(g,function(y,z){w.set(y,z)});var x=[];a("forEachObject")(u,function(f,y){var z=y.indexOf("/");if(z===-1)return;var A=y.substring(0,z);if(!i.has(A))return;x.push(y);var B=y.substring(z+1),C=w.get(B);if(!C){C=B;B=g[C];if(!B)return}if(C.startsWith("data:"))C="inlined resource: "+B;if(t[C]==null)t[C]=[{}];t[C].forEach(function(D){D.bootloader_hash=B;D[A]=f})});if(!v){q(u);x.forEach(function(y){return delete u[y]})}return t},getLastTTIAndE2EImageResponseEnds:function s(t,u,v){var w={TTI:t,E2E:u};if(!a("performance").timing)return w;var x=v.filter(function(A){return A.ts<=t}).map(function(A){return A.uri}).reduce(function(A,z){A[z]=true;return A},{}),y=v.map(function(A){return A.uri}).reduce(function(A,z){A[z]=true;return A},{});for(var z in f)f[z].forEach(function(A){if(A.type==="img"){if(x[z])w.TTI=Math.max(w.TTI,A.responseEnd);if(y[z])w.E2E=Math.max(w.E2E,A.responseEnd)}});return w},getMetrics:function s(t,u,v,w,x,y){f={};if(a("isEmpty")(g))g=a("Bootloader").getURLToHashMap();var z=m(f,t,u,v,w,x,y);return{data:f,diagnostics:z}}};b.exports=r}),null);
__d("PerfXFlusher",["invariant","Banzai"],(function a(b,c,d,e,f,g,h){var i="perfx_custom_logger_endpoint",j=["perfx_page","perfx_page_type","lid"];function k(m){j.forEach(function(n){return h(n in m,'PerfXFlusher: Field "%s" missing in the PerfX payload',n)})}var l={flush:function m(n){k(n);c("Banzai").post(i,n,{signal:true})},registerToSendWithBeacon:function m(n){c("Banzai").registerToSendWithBeacon(i,n)}};f.exports=l}),null);
__d("DataAttributeUtils",["DataStore","Parent"],(function a(b,c,d,e,f,g){var h=[],i={LEGACY_CLICK_TRACKING_ATTRIBUTE:"data-ft",CLICK_TRACKING_DATASTORE_KEY:"data-ft",ENABLE_STORE_CLICK_TRACKING:"data-fte",IMPRESSION_TRACKING_CONFIG_ATTRIBUTE:"data-xt-vimp",IMPRESSION_TRACKING_CONFIG_DATASTORE_KEY:"data-xt-vimp",REMOVE_LEGACY_TRACKING:"data-ftr",getDataAttribute:function l(m,n){if(j[n])return j[n](m);return m.getAttribute(n)},setDataAttribute:function l(m,n,o){if(k[n])return k[n](m,o);return m.setAttribute(n,o)},getDataFt:function l(m){if(m.getAttribute(i.ENABLE_STORE_CLICK_TRACKING)){var n=c("DataStore").get(m,i.CLICK_TRACKING_DATASTORE_KEY);if(!n)n=i.moveClickTrackingToDataStore(m,m.getAttribute(i.REMOVE_LEGACY_TRACKING));return n}return m.getAttribute(i.LEGACY_CLICK_TRACKING_ATTRIBUTE)},setDataFt:function l(m,n){if(m.getAttribute(i.ENABLE_STORE_CLICK_TRACKING)){c("DataStore").set(m,i.CLICK_TRACKING_DATASTORE_KEY,n);return}m.setAttribute(i.LEGACY_CLICK_TRACKING_ATTRIBUTE,n)},moveXTVimp:function l(m){i.moveAttributeToDataStore(m,i.IMPRESSION_TRACKING_CONFIG_ATTRIBUTE,i.IMPRESSION_TRACKING_CONFIG_DATASTORE_KEY);h.push(m.id)},getXTrackableElements:function l(){var m=h.map(function(p){return document.getElementById(p)}).filter(function(p){return!!p}),n=document.querySelectorAll("[data-xt-vimp]");for(var o=0;o<n.length;o++)m.push(n[o]);return m},getDataAttributeGeneric:function l(m,n,o){var p=c("DataStore").get(m,o);return p!==undefined?p:m.getAttribute(n)},moveAttributeToDataStore:function l(m,n,o){var p=m.getAttribute(n);if(p){c("DataStore").set(m,o,p);m.removeAttribute(n)}},moveClickTrackingToDataStore:function l(m,n){var o=m.getAttribute(i.LEGACY_CLICK_TRACKING_ATTRIBUTE);if(o){c("DataStore").set(m,i.CLICK_TRACKING_DATASTORE_KEY,o);if(n)m.removeAttribute(i.LEGACY_CLICK_TRACKING_ATTRIBUTE)}return o},getClickTrackingParent:function l(m){var n=c("Parent").byAttribute(m,i.LEGACY_CLICK_TRACKING_ATTRIBUTE)||c("Parent").byAttribute(m,i.ENABLE_STORE_CLICK_TRACKING);return n},getClickTrackingElements:function l(m){return m.querySelectorAll("["+i.LEGACY_CLICK_TRACKING_ATTRIBUTE+"], ["+i.ENABLE_STORE_CLICK_TRACKING+"]")},getParentByAttributeOrDataStoreKey:function l(m,n,o){while(m&&(!m.getAttribute||!m.getAttribute(n))&&c("DataStore").get(m,o)===undefined)m=m.parentNode;return m}},j={"data-ft":i.getDataFt,"data-xt-vimp":function l(m){return i.getDataAttributeGeneric(m,"data-xt-vimp","data-xt-vimp")},"data-ad":function l(m){return i.getDataAttributeGeneric(m,"data-ad","data-ad")},"data-xt":function l(m){return i.getDataAttributeGeneric(m,"data-xt","data-xt")}},k={"data-ft":i.setDataFt,"data-xt":function l(m,n){c("DataStore").set(m,"data-xt",n)}};f.exports=i}),null);
__d("pageLoadedViaSWCache",[],(function a(b,c,d,e,f,g){function h(){return self.__SW_CACHE__===1}f.exports=h}),null);
__d("PerfXLogger",["DataAttributeUtils","NavigationMetrics","NavigationTimingHelper","PerfXFlusher","Set","forEachObject","pageLoadedViaSWCache","performanceAbsoluteNow","setTimeoutAcrossTransitions"],(function a(b,c,d,e,f,g){var h={},i={},j=65*1e3,k=["e2e","tti","all_pagelets_displayed","all_pagelets_loaded"],l={},m={_listenersSetUp:false,_setupListeners:function n(){if(this._listenersSetUp)return;this._subscribeToNavigationMetrics();c("PerfXFlusher").registerToSendWithBeacon(function(){var o=[];c("forEachObject")(h,function(p,q){if(!h[q].sent){var r=this.getPayload(q,"unload fired");if(r!=null)o.push(r)}}.bind(this));h={};return o}.bind(this));this._listenersSetUp=true},_init:function n(o){var p=o.lid;if(p==null)return;var q=i[p]||[];delete i[p];if(o.sw_controlled_tags){if(navigator.serviceWorker&&navigator.serviceWorker.controller)for(var r=0;r<o.sw_controlled_tags.length;r++)q.push(o.sw_controlled_tags[r]);delete o.sw_controlled_tags}h[p]=babelHelpers["extends"]({tags:new(c("Set"))(q),sent:false},o);this._registerTimeoutSendback(p);this._setupListeners()},initWithNavigationMetricsLID:function n(o,p){var q=c("NavigationMetrics").getFullPageLoadLid();if(!q)return;this._init(babelHelpers["extends"]({},p,{lid:q}));if(o&&o.always)for(var r=0;r<o.always.length;r++)m.addTag(q,o.always[r]);if(o&&o.swCache&&c("pageLoadedViaSWCache")())for(var s=0;s<o.swCache.length;s++)m.addTag(q,o.swCache[s])},init:function n(o,p){if(p!=null&&o.lid!=null)l[o.lid]=p;this._init(o)},addTag:function n(o,p){var q=h[o];if(q){q.tags.add(p);return}if(!i[o])i[o]=[];i[o].push(p)},addTagWithNavigationMetricsLID:function n(o){var p=c("NavigationMetrics").getFullPageLoadLid();if(!p)return;m.addTag(p,o)},_registerTimeoutSendback:function n(o){var p=this._getFetchStart(o),q=j;if(p!=null)q-=c("performanceAbsoluteNow")()-p;c("setTimeoutAcrossTransitions")(function(){return this._uploadPayload(o,"sendback time out")}.bind(this),q)},_subscribeToNavigationMetrics:function n(){c("NavigationMetrics").addRetroactiveListener(c("NavigationMetrics").Events.EVENT_OCCURRED,function(o,p){if(!(o in h))return;if(k.includes(p.event)&&Object.prototype.hasOwnProperty.call(p,"timestamp")&&p.timestamp!=null){h[o][p.event]=p.timestamp;if(p.visibilityState)h[o][p.event+"_page_visibility"]=p.visibilityState}});c("NavigationMetrics").addRetroactiveListener(c("NavigationMetrics").Events.NAVIGATION_DONE,function(o,p){var q=p.serverLID;if(!(q in h))return;k.forEach(function(event){if(Object.prototype.hasOwnProperty.call(p,event)&&p[event]!=null)h[q][event]=p[event]});this._uploadPayload(q)}.bind(this))},_getPayloadWithOffset:function n(o,p,q){var r=h[o];if(r==null)return null;var s=Object.assign({},r),t=document.querySelector('[id^="hyperfeed_story_id"]');if(t){var u=JSON.parse(c("DataAttributeUtils").getDataFt(t));if(u)s.mf_query_id=u.qid}s.tags=Array.from(r.tags);this._adjustValues(s,p);s.fetch_start=p;if(s.perfx_page_type==="normal"){var v=c("NavigationTimingHelper").getNavTimings();if(v!=null&&v.navigationStart!=null)s.nav_to_fetch=p-v.navigationStart}if(q!=null)s.sendback_reason=q;if(navigator&&navigator.hardwareConcurrency)s.num_cores=navigator.hardwareConcurrency;if(navigator&&navigator.deviceMemory)s.ram_gb=navigator.deviceMemory;if(navigator&&navigator.connection){if(typeof navigator.connection.downlink==="number")s.downlink_megabits=navigator.connection.downlink;if(typeof navigator.connection.effectiveType==="string")s.effective_connection_type=navigator.connection.effectiveType;if(typeof navigator.connection.rtt==="number")s.rtt_ms=navigator.connection.rtt}delete s.sent;return s},_uploadPayload:function n(o,p){if(h[o]!=null&&!h[o].sent){var q=this.getPayload(o,p);if(q!=null){c("PerfXFlusher").flush(q);h[o].sent=true}}},getPayload:function n(o,p){return this._getPayloadWithOffset(o,this._getFetchStart(o),p)},_getFetchStart:function n(o){if(!(o in h))return null;var p=void 0,q=h[o].perfx_page_type;if(q=="quickling")if(!(o in l))return null;else p=c("NavigationTimingHelper").getAsyncRequestTimings(l[o]);else p=c("NavigationTimingHelper").getNavTimings();if(!p||!p.fetchStart)return null;return p.fetchStart},_adjustValues:function n(o,p){k.forEach(function(q){if(Object.prototype.hasOwnProperty.call(o,q))o[q]-=p})}};f.exports=m}),null);
__d("XRelayBootloadController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/relay/bootload/",{component:{type:"String",required:true},params:{type:"String",required:true},route:{type:"String",required:true},uri:{type:"String",required:true}})}),null);