(function () {
function loadPixel() {
if (window.fbq) return;
var n = (window.fbq = function () {
n.callMethod
? n.callMethod.apply(n, arguments)
: n.queue.push(arguments);
});
if (!window._fbq) window._fbq = n;
n.push = n;
n.loaded = !0;
n.version = "2.0";
n.queue = [];
var t = document.createElement("script");
t.async = !0;
t.src = "https://connect.facebook.net/en_US/fbevents.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(t, s);
fbq("init", "781386418366961");
fbq("track", "PageView");
}
if ("requestIdleCallback" in window) {
requestIdleCallback(loadPixel, { timeout: 2500 });
} else {
window.addEventListener("load", function () {
setTimeout(loadPixel, 1000);
});
}
})();