e7cd3d147246319cc57d39132c44c8ab1180a901a229952d98b36b8e63ebba47

Source Code:

if (self.CavalryLogger) { CavalryLogger.start_js(["oM\/JScq"]); }

__d("legacy:intl-base",["IntlUtils"],(function(a,b,c,d,e,f,g){a.intl_set_string_manager_mode=d("IntlUtils").setSmode,a.intl_set_xmode=d("IntlUtils").setXmode,a.intl_set_amode=d("IntlUtils").setAmode,a.intl_set_rmode=d("IntlUtils").setRmode,a.intl_set_locale=d("IntlUtils").setLocale}),35);
__d("legacy:onload-action",["PageHooks"],(function(a,b,c,d,e,f){a._domreadyHook=(c=b("PageHooks"))._domreadyHook;a._onloadHook=c._onloadHook;a.runHook=c.runHook;a.runHooks=c.runHooks;a.keep_window_set_as_loaded=c.keepWindowSetAsLoaded}),3);
__d("FlipDirectionOnKeypress",["Event","FlipDirection"],(function(a,b,c,d,e,f,g){a=function(a){a=a.getTarget();d("FlipDirection").setDirection(a)};c("Event").listen(document.documentElement,{keyup:a,input:a})}),34);
__d("Nectar",["Env","getContextualParent"],(function(a,b,c,d,e,f){var g;function h(a){a.nctr||(a.nctr={})}function i(a){if((g||(g=b("Env"))).module||!a)return(g||(g=b("Env"))).module;var c={fbpage_fan_confirm:!0,photos_snowlift:!0},d;while(a&&a.getAttribute){var e=a.getAttribute("id");if(e!=null&&e.startsWith("pagelet_"))return e;!d&&c[e]&&(d=e);a=b("getContextualParent")(a)}return d}a={addModuleData:function(a,b){b=i(b);b&&(h(a),a.nctr._mod=b)}};e.exports=a}),null);
__d("AsyncRequestNectarLogging",["AsyncRequest","Nectar"],(function(a,b,c,d,e,f,g){Object.assign(c("AsyncRequest").prototype,{setNectarModuleData:function(a){this.method=="POST"&&d("Nectar").addModuleData(this.data,a)}})}),34);
__d("DOMTraverser",["DOM"],(function(a,b,c,d,e,f,g){function h(a){if(a.previousElementSibling){var b=a.previousElementSibling;while(b.lastElementChild!==null)b=b.lastElementChild;return b}return a.parentElement}function i(a){if(a.firstElementChild)return a.firstElementChild;if(a.nextElementSibling)return a.nextElementSibling;a=a.parentElement;while(a!=null){if(a.nextElementSibling)return a.nextElementSibling;a=a.parentElement}return null}function a(a,b,c){if(b===a)return null;b=h(b);while(b!=null){if(b instanceof HTMLElement&&c(b))return b;if(b===a)return null;b=h(b)}return null}function b(a,b,d){b=i(b);while(b!=null){if(a&&!c("DOM").contains(a,b))return null;if(b instanceof HTMLElement&&d(b))return b;b=i(b)}return null}g.previousNode=h;g.nextNode=i;g.previousFilteredNode=a;g.nextFilteredNode=b}),98);
__d("FocusRing",["cx","CSS","Event","KeyEventController","Keys","VirtualCursorStatus","emptyFunction"],(function(a,b,c,d,e,f,g,h){var i=["mousedown","mouseup"],j=[c("Keys").UP,c("Keys").RIGHT,c("Keys").DOWN,c("Keys").LEFT,c("Keys").TAB,c("Keys").RETURN,c("Keys").SPACE,c("Keys").ESC];function a(){if(this._initialized)return;this._userInteractingWithKeyboard=!1;this._attachVirtualCursorListener();this._attachKeyDownListener();document.body&&d("CSS").addClass(document.body,"_19_u");this._initialized=!0}function b(){return this._userInteractingWithKeyboard}function e(){document.documentElement&&(this._onClickListener=d("VirtualCursorStatus").add(document.documentElement,this._onClick.bind(this)))}function f(){var a=this;this._onMouseListeners=i.map(function(b){return c("Event").listen(document.documentElement,b,a._onMouseEvent.bind(a))})}function h(){this._onKeyDownListener=c("Event").listen(document.documentElement,"keydown",this._onKeyDown.bind(this))}var k=!1,l=!0;function m(){this._hideFocusRing()}var n=i.map(function(a){return{remove:c("emptyFunction")}});function o(){this._onMouseListeners.forEach(function(a){return a.remove()})}function p(a,b,c){a&&this._showFocusRing()}function q(a){this.KEY_CODES.indexOf(c("Event").getKeyCode(a))>-1&&c("KeyEventController").filterEventTargets(a,"keydown")&&this._showFocusRing()}function r(){this._onKeyDownListener.remove(),this._attachMouseListeners(),this._userInteractingWithKeyboard=!0,document.body&&d("CSS").removeClass(document.body,"_19_u")}function s(){this._removeMouseListeners(),this._attachKeyDownListener(),this._userInteractingWithKeyboard=!1,document.body&&d("CSS").addClass(document.body,"_19_u")}var t={remove:c("emptyFunction")},u={remove:c("emptyFunction")};g.KEY_CODES=j;g.init=a;g.usingKeyboardNavigation=b;g._attachVirtualCursorListener=e;g._attachMouseListeners=f;g._attachKeyDownListener=h;g._initialized=k;g._userInteractingWithKeyboard=l;g._onMouseEvent=m;g._onMouseListeners=n;g._removeMouseListeners=o;g._onClick=p;g._onKeyDown=q;g._showFocusRing=r;g._hideFocusRing=s;g._onKeyDownListener=t;g._onClickListener=u}),98);
__d("PixelRatioConst",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({cookieName:"dpr"})}),null);
__d("WebPixelRatioDetector",["Cookie","DOMEventListener","PixelRatioConst","Run"],(function(a,b,c,d,e,f,g){"use strict";var h=!1,i=!1,j=!1;function k(){return window.devicePixelRatio||1}function l(){c("Cookie").set(c("PixelRatioConst").cookieName,String(k()))}function m(){c("Cookie").clear(c("PixelRatioConst").cookieName)}function n(){if(i)return;i=!0;j&&m();k()!==1?l():m()}function a(a){a&&(j=!0);if(h)return;h=!0;"onpagehide"in window&&d("DOMEventListener").add(window,"pagehide",n);d("Run").onBeforeUnload(n,!1)}g.startDetecting=a}),98);
__d("tidyEvent",["Run"],(function(a,b,c,d,e,f,g){var h=[];function i(){while(h.length){var a=h.shift();a.remove?a.remove():a.unsubscribe&&a.unsubscribe()}}function j(a){var b,c=a;function d(){if(!b)return;b.apply(c,arguments);b=null;c=null}if(c&&c.remove)b=c.remove,c.remove=d;else{b=(a=c)==null?void 0:a.unsubscribe;c.unsubscribe=d}return c}function a(a){h.length||d("Run").onLeave(i);if(Array.isArray(a))for(var b=0;b<a.length;b++)a[b]&&h.push(j(a[b]));else a&&h.push(j(a));return a}g["default"]=a}),98);
__d("VisualCompletionInst",["VisibilityListener","getElementRect","gkx","performance","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";var g,h,i=/url\(.*(http.*)\)/gi,j=1,k=0;a=function(){function a(a){this.$4=0,this.$8=0,this.$9=0,this.$10=0,this.markerPoints=new Map(),this.annotations=new Map(),this.$5=new Map(),this.$3=new Map(),this.$1=[],this.$2=[],this.$7=0,this.$11=a,this.$6={width:window.innerWidth,height:window.innerHeight}}var c=a.prototype;c.addMarkerPoint=function(a,b){this.markerPoints.set(a,b)};c.addNavigationTiming=function(){var a=((g||(g=b("performance")))==null?void 0:(g||(g=b("performance"))).timing)||{};for(var c in a)typeof a[c]==="number"&&a[c]>=this.$4&&this.addMarkerPoint(c,a[c]-this.$4)};c.calculate=function(a,c,d){var e=this;if(!this.$11.size)return null;k++;var f=(h||(h=b("performanceAbsoluteNow")))();this.$4=a;this.$7=0;this.$9=0;this.$10=0;this.setResourceTimingMap();this.setViewportSize();this.initTree();this.getImages();b("gkx")("676838")&&this.getBackgroundImages();this.$8=this.traverseTree(this.$1,this.$6.width*this.$6.height);var g={annotations:this.annotations,viewport:this.$6,totalPixels:this.$8,paintedPixels:this.$9,bgNum:0,imgNum:0,compNum:0,bgPixels:0,imgPixels:0,compPixels:0,elements:this.$2,calcLatency:0,bgChecked:this.$7,bgCheckLatency:this.$10,markerPoints:this.markerPoints,speedIndex:0,startTime:a,visuallyComplete:0,scrollY:window.scrollY,navSequence:k,pageType:c,page:d};this.$2.length&&(this.$2=this.$2.sort(function(a,b){return b.latency-a.latency}),g.visuallyComplete=this.$2[0].latency,this.addMarkerPoint("FP",this.$2[this.$2.length-1].latency),this.$2.forEach(function(a){!e.markerPoints.has("vcWithoutImage")&&a.type==="component"&&e.addMarkerPoint("vcWithoutImage",a.latency);g.speedIndex+=a.pixels/e.$9*a.latency;switch(a.type){case"component":g.compNum++;g.compPixels+=a.pixels;break;case"img":g.imgNum++;g.imgPixels+=a.pixels;break;case"bg":g.bgNum++;g.bgPixels+=a.pixels;break}}));g.calcLatency=h()-f;this.logPixelProgress();this.setMetadata(g);k===1&&this.addNavigationTiming();return g};c.findParent=function(a){a=a.parentElement;while(a){var b=a.getAttribute("data-veid");if(b!=null&&b!==""&&this.$3.has(b))return this.$3.get(b);a=a.parentElement}return null};c.getBackgroundImages=function(){var a=this,c=(h||(h=b("performanceAbsoluteNow")))();this.$1.forEach(function(c){c=c.element.querySelectorAll(":not(img)");Array.prototype.forEach.call(c,function(c){var d=a.findParent(c);if(!d)return;var e=a.getRectangle(c,d.rectangle),f=a.getPixels(e);if(!f)return;var h=a.trimHash(a.getStyleBackground(c));if(h!=null&&h!==""){var i=a.$5.get(h);if(i!=null){c={veid:String(j++),element:c,rectangle:e,pixels:f,children:[],parent:d,type:"bg",latency:i+(g||(g=b("performance"))).timing.navigationStart-a.$4,timestamp:i+g.timing.navigationStart,url:h};d.children.push(c)}}})});this.$10=h()-c};c.getImages=function(){var a=this,c=document.querySelectorAll("img");Array.prototype.forEach.call(c,function(c){var d=a.findParent(c);if(!d)return;var e=a.getRectangle(c,d.rectangle);if(c.parentElement){var f=a.getRectangle(c.parentElement,d.rectangle);e=a.getRectIntersection(e,f)}f=a.getPixels(e);if(!f)return;var h=a.trimHash(c.getAttribute("src"));if(h!=null&&h!==""&&a.$5.has(h)){var i=a.$5.get(h);if(i!=null){c={veid:String(j++),element:c,rectangle:e,pixels:f,children:[],parent:d,type:"img",latency:i+(g||(g=b("performance"))).timing.navigationStart-a.$4,timestamp:i+g.timing.navigationStart,url:h};d.children.push(c)}}})};c.getPixels=function(a){return(a.right-a.left)*(a.bottom-a.top)};c.getRectangle=function(a,c){a=b("getElementRect")(a);return this.getRectIntersection(a,c)};c.getRectIntersection=function(a,b){return{top:Math.min(Math.max(a.top,b.top),b.bottom),bottom:Math.max(Math.min(a.bottom,b.bottom),b.top),left:Math.min(Math.max(a.left,b.left),b.right),right:Math.max(Math.min(a.right,b.right),b.left)}};c.getStyleBackground=function(a){if(typeof window.getComputedStyle!=="function")return null;this.$7++;a=window.getComputedStyle(a);var b=a["background-image"];if(a.visibility!=="hidden"&&b&&b!=="none"){i.lastIndex=0;a=i.exec(b);if(a&&a.length>1)return a[1].replace('"',"")}return null};c.logPixelProgress=function(){var a=this,b=new Map([["vc98",.02],["vc95",.05]]),c=0,d=0,e=function(e){var f=a.$2[e];c+=f.pixels;if(b.size===0)return"break";b.forEach(function(b,d){!a.markerPoints.has(d)&&c/a.$9>=b&&a.addMarkerPoint(d,f.latency)});f.type==="component"&&(d+=f.pixels,f.children.forEach(function(a){a.type!=="component"&&(d+=a.pixels)}),b.forEach(function(c,e){!a.markerPoints.has(e+"WithoutImage")&&d/a.$9>=c&&(a.addMarkerPoint(e+"WithoutImage",f.latency),b["delete"](e))}))};for(var f=0;f<this.$2.length;f++){var g=e(f);if(g==="break")break}};c.initTree=function(){var a=this,b={top:0,left:0,bottom:this.$6.height,right:this.$6.width};this.$11.forEach(function(c){var d=c[0],e=c[1];c=c[2];var f=a.getRectangle(e,b);if(a.getPixels(f)===0)e.removeAttribute("data-veid"),a.$11["delete"](d);else{e={veid:d,element:e,rectangle:f,pixels:a.getPixels(f),children:[],parent:null,type:"component",latency:c-a.$4,timestamp:c};a.$3.set(d,e)}});this.$3.forEach(function(b){var c=a.findParent(b.element);c?(b.rectangle=a.getRectIntersection(b.rectangle,c.rectangle),b.pixels=a.getPixels(b.rectangle),c.children.push(b),b.parent=c):(a.$1.forEach(function(c){c=a.getRectIntersection(b.rectangle,c.rectangle);a.getPixels(c)>0&&(b.rectangle.top=c.bottom,b.pixels=a.getPixels(b.rectangle))}),a.$1.push(b))})};c.setMetadata=function(a){var c=b("VisibilityListener").getHiddenTime(a.startTime,a.startTime+a.visuallyComplete);c=c!=null&&c>0?1:0;this.annotations.set("height",a.viewport.height);this.annotations.set("width",a.viewport.width);this.annotations.set("page",a.page);this.annotations.set("scrollY",a.scrollY);this.annotations.set("overhead",a.calcLatency);this.annotations.set("navSequence",a.navSequence);this.annotations.set("hidden",c);a.navSequence===1&&(g||(g=b("performance")))&&(g||(g=b("performance"))).timing&&((g||(g=b("performance"))).timing.responseStart&&this.addMarkerPoint("TTFB",(g||(g=b("performance"))).timing.responseStart-a.startTime));a.speedIndex>0&&this.addMarkerPoint("speedIndex",a.speedIndex)};c.setResourceTimingMap=function(){var a=this;if(window.performance&&typeof window.performance.getEntriesByType==="function"){var b=window.performance.getEntriesByType("resource");b.forEach(function(b){var c=a.trimHash(b.name);c!=null&&c!==""&&a.$5.set(c,b.responseEnd)})}};c.setViewportSize=function(){this.$6={width:window.innerWidth,height:window.innerHeight}};c.traverseTree=function(a,b){var c=this,d=b,e=0;a.sort(function(a,b){return b.timestamp-a.timestamp}).forEach(function(a){a.pixels=Math.min(d,a.pixels),e+=a.pixels,d-=a.pixels,a.pixels-=c.traverseTree(a.children,a.pixels),a.timestamp>c.$4&&(a.type!=="component"&&a.parent&&a.parent.timestamp>a.timestamp&&(a.latency=a.parent.latency),c.$9+=a.pixels,c.$2.push(a))});return e};c.trimHash=function(a){return a!=null&&a!==""&&a.indexOf("#")>=0?a.substring(0,a.indexOf("#")):a};return a}();e.exports=a}),null);
__d("VisualCompletionQPL",["QuickPerformanceLogger"],(function(a,b,c,d,e,f,g){"use strict";function a(a){c("QuickPerformanceLogger").markerStartFromNavStart(27983875),a.markerPoints.forEach(function(b,d){c("QuickPerformanceLogger").markerPoint(27983875,d,{timestamp:b+a.startTime})}),a.annotations.forEach(function(a,b){if(typeof a==="number"){var d;c("QuickPerformanceLogger").markerAnnotate(27983875,{"int":(d={},d[b]=a,d)})}else{c("QuickPerformanceLogger").markerAnnotate(27983875,{string:(d={},d[b]=a,d)})}}),c("QuickPerformanceLogger").markerEnd(27983875,2,0,a.visuallyComplete+a.startTime)}g.log=a}),98);
__d("VisualCompletion",["csx","NavigationMetrics","VisualCompletionInst","VisualCompletionQPL"],(function(a,b,c,d,e,f,g,h){"use strict";var i=!1,j,k=[],l=new Set(),m=new Map(),n=1;function o(a,b){if(!a)return;var c="vc_"+n++,d=a.getAttribute("data-veid");d!=null&&d!==""&&m["delete"](d);a.setAttribute("data-veid",c);m.set(c,[c,a,b])}function p(){k.forEach(function(a){a(j)}),j&&d("VisualCompletionQPL").log(j)}function a(a,b,c){i||q();b&&b.forEach(function(a){o(a,c)});if(a==="first_response"){if(l.has(a))return;b=document.getElementById("pagelet_bluebar");if(b!=null){b=b.querySelector("._2s1y");b&&o(b,c)}l.add(a)}else if(a==="pagelet_sidebar"){if(l.has(a))return;b=document.getElementById("pagelet_sidebar");if(b!=null){b=b.querySelector("._51x_");b&&o(b,c)}l.add(a)}}function b(){return j}function q(){c("NavigationMetrics").addRetroactiveListener(c("NavigationMetrics").Events.NAVIGATION_DONE,function(a,b){if(b.pageType!=="normal"&&b.pageType!=="quickling")return;a=new(c("VisualCompletionInst"))(m);j=a.calculate(b.start,b.pageType,b.page);p()}),i=!0}function e(a){k.push(a)}function f(a){k=k.filter(function(b){return b!==a})}g.addElements=a;g.getReport=b;g.init=q;g.subscribe=e;g.unsubscribe=f}),98);
__d("VisualCompletionGating",["cr:729414"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=b("cr:729414")}),98);
__d("FbtLogging",["cr:1094907"],(function(a,b,c,d,e,f,g){"use strict";a=b("cr:1094907")==null?void 0:b("cr:1094907").logImpression;g.logImpression=a}),98);
__d("IntlQtEventFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getFalcoLogPolicy_DO_NOT_USE")("1848815");c=b("FalcoLoggerInternal").create("intl_qt_event",a);e.exports=c}),null);