/** * Copyright (c) 2017-present, Facebook, Inc. All rights reserved. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, * copy, modify, and distribute this software in source code or binary form for use * in connection with the web services and APIs provided by Facebook. * * As with any software that integrates with the Facebook platform, your use of * this software is subject to the Facebook Platform Policy * [http://developers.facebook.com/policy/]. This copyright notice shall be * included in all copies or substantial portions of the software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ (function(a,b,c,d){var e={exports:{}};e.exports;(function(){var f=a.fbq;f.execStart=a.performance&&a.performance.now&&a.performance.now();if(!function(){var b=a.postMessage||function(){};if(!f){b({action:"FB_LOG",logType:"Facebook Pixel Error",logMessage:"Pixel code is not installed correctly on this page"},"*");"error"in console&&console.error("Facebook Pixel Error: Pixel code is not installed correctly on this page");return!1}return!0}())return;f.__fbeventsModules||(f.__fbeventsModules={},f.__fbeventsResolvedModules={},f.getFbeventsModules=function(a){f.__fbeventsResolvedModules[a]||(f.__fbeventsResolvedModules[a]=f.__fbeventsModules[a]());return f.__fbeventsResolvedModules[a]},f.fbIsModuleLoaded=function(a){return!!f.__fbeventsModules[a]},f.ensureModuleRegistered=function(b,a){f.fbIsModuleLoaded(b)||(f.__fbeventsModules[b]=a)});f.ensureModuleRegistered("signalsFBEventsGetIwlUrl",function(){return function(a,b,c,d){var e={exports:{}};e.exports;(function(){"use strict";var a=f.getFbeventsModules("signalsFBEventsGetTier");e.exports=function(b,c){c=a(c);c=c==null?"www.facebook.com":"www."+c+".facebook.com";return"https://"+c+"/signals/iwl.js?pixel_id="+b}})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsGetTier",function(){return function(f,b,c,d){var e={exports:{}};e.exports;(function(){"use strict";var a=/^https:\/\/www\.([A-Za-z0-9\.]+)\.facebook\.com\/tr\/?$/,b=["https://www.facebook.com/tr","https://www.facebook.com/tr/"];e.exports=function(c){if(b.indexOf(c)!==-1)return null;var d=a.exec(c);if(d==null)throw new Error("Malformed tier: "+c);return d[1]}})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEvents.plugins.iwlbootstrapper",function(){return function(a,b,c,d){var e={exports:{}};e.exports;(function(){"use strict";var c=f.getFbeventsModules("SignalsFBEventsIWLBootStrapEvent"),d=f.getFbeventsModules("SignalsFBEventsLogging"),g=f.getFbeventsModules("SignalsFBEventsNetworkConfig"),h=f.getFbeventsModules("SignalsFBEventsPlugin"),i=f.getFbeventsModules("signalsFBEventsGetIwlUrl"),j=f.getFbeventsModules("signalsFBEventsGetTier"),k=d.logUserError,l=/^https:\/\/.*\.facebook\.com$/i,m="FACEBOOK_IWL_CONFIG_STORAGE_KEY",n=a.sessionStorage?a.sessionStorage:{getItem:function(a){return null},removeItem:function(a){},setItem:function(a,b){}};e.exports=new h(function(d,e){function h(c,d){var e=b.createElement("script");e.async=!0;e.onload=function(){if(!a.FacebookIWL||!a.FacebookIWL.init)return;var b=j(g.ENDPOINT);b!=null&&a.FacebookIWL.set&&a.FacebookIWL.set("tier",b);d()};a.FacebookIWLSessionEnd=function(){n.removeItem(m),a.close()};e.src=i(c,g.ENDPOINT);b.body&&b.body.appendChild(e)}var o=!1,p=function(a){return!!(e&&e.pixelsByID&&Object.prototype.hasOwnProperty.call(e.pixelsByID,a))};function q(){if(o)return;var b=n.getItem(m);if(!b)return;b=JSON.parse(b);var c=b.pixelID,d=b.graphToken,e=b.sessionStartTime;o=!0;h(c,function(){var b=p(c)?c:null;a.FacebookIWL.init(b,d,e)})}function r(b){if(o)return;h(b,function(){return a.FacebookIWL.showConfirmModal(b)})}function s(a,b,c){n.setItem(m,JSON.stringify({graphToken:a,pixelID:b,sessionStartTime:c})),q()}c.listen(function(b){var c=b.graphToken;b=b.pixelID;s(c,b);a.FacebookIWLSessionEnd=function(){return n.removeItem(m)}});function d(a){var b=a.data,c=b.graphToken,d=b.msg_type,f=b.pixelID;b=b.sessionStartTime;if(e&&e.pixelsByID&&e.pixelsByID[f]&&e.pixelsByID[f].codeless==="false"){k({pixelID:f,type:"SITE_CODELESS_OPT_OUT"});return}if(n.getItem(m)||!l.test(a.origin)||!(a.data&&(d==="FACEBOOK_IWL_BOOTSTRAP"||d==="FACEBOOK_IWL_CONFIRM_DOMAIN")))return;switch(d){case"FACEBOOK_IWL_BOOTSTRAP":a.source.postMessage("FACEBOOK_IWL_BOOTSTRAP_ACK",a.origin);s(c,f,b);break;case"FACEBOOK_IWL_CONFIRM_DOMAIN":a.source.postMessage("FACEBOOK_IWL_CONFIRM_DOMAIN_ACK",a.origin);r(f);break}}if(n.getItem(m)){q();return}a.opener&&a.addEventListener("message",d)})})();return e.exports}(a,b,c,d)});e.exports=f.getFbeventsModules("SignalsFBEvents.plugins.iwlbootstrapper");f.registerPlugin&&f.registerPlugin("fbevents.plugins.iwlbootstrapper",e.exports);f.ensureModuleRegistered("fbevents.plugins.iwlbootstrapper",function(){return e.exports})})()})(window,document,location,history); (function(a,b,c,d){var e={exports:{}};e.exports;(function(){var f=a.fbq;f.execStart=a.performance&&a.performance.now&&a.performance.now();if(!function(){var b=a.postMessage||function(){};if(!f){b({action:"FB_LOG",logType:"Facebook Pixel Error",logMessage:"Pixel code is not installed correctly on this page"},"*");"error"in console&&console.error("Facebook Pixel Error: Pixel code is not installed correctly on this page");return!1}return!0}())return;function g(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function h(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b==="object"||typeof b==="function")?b:a}function i(a,b){if(typeof b!=="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}f.__fbeventsModules||(f.__fbeventsModules={},f.__fbeventsResolvedModules={},f.getFbeventsModules=function(a){f.__fbeventsResolvedModules[a]||(f.__fbeventsResolvedModules[a]=f.__fbeventsModules[a]());return f.__fbeventsResolvedModules[a]},f.fbIsModuleLoaded=function(a){return!!f.__fbeventsModules[a]},f.ensureModuleRegistered=function(b,a){f.fbIsModuleLoaded(b)||(f.__fbeventsModules[b]=a)});f.ensureModuleRegistered("signalsFBEventsIsHostFacebook",function(){return function(f,g,h,i){var e={exports:{}};e.exports;(function(){"use strict";e.exports=function(a){if(typeof a!=="string")return!1;a=a.match(/^(.*\.)*(facebook\.com|internalfb\.com|workplace\.com|instagram\.com|oculus\.com|novi\.com)\.?$/i);return a!==null}})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsShouldNotDropCookie",function(){return function(g,h,i,d){var e={exports:{}};e.exports;(function(){"use strict";var a=f.getFbeventsModules("signalsFBEventsIsHostFacebook"),b="FirstPartyCookies";e.exports=function(c,d){return g.location.protocol.substring(0,"http".length)!=="http"||a(g.location.hostname)||d.disableFirstPartyCookies||d.getOptedInPixels(b).indexOf(c)===-1}})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEvents.plugins.cookie",function(){return function(a,b,c,d){var e={exports:{}};e.exports;(function(){"use strict";var c=f.getFbeventsModules("SignalsFBEventsEvents"),d=c.getCustomParameters,j=c.getClickIDFromBrowserProperties;f.getFbeventsModules("SignalsFBEventsPixelCookie");c=f.getFbeventsModules("SignalsFBEventsPlugin");var k=f.getFbeventsModules("SignalsFBEventsURLUtil"),l=k.getURLParameter,m=f.getFbeventsModules("signalsFBEventsShouldNotDropCookie");k=f.getFbeventsModules("SignalsPixelCookieUtils");var n=k.readPackedCookie,o=k.writeNewCookie,p=k.writeExistingCookie,q=k.CLICK_ID_PARAMETER,r=k.CLICKTHROUGH_COOKIE_NAME,s=k.CLICKTHROUGH_COOKIE_PARAM,t=k.DOMAIN_SCOPED_BROWSER_ID_COOKIE_NAME,u=k.DOMAIN_SCOPED_BROWSER_ID_COOKIE_PARAM,v=2147483647;function w(){return""+Math.round(v*Math.random())}function x(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a.location.href,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,e=l(c,q);e===null&&(e=l(b.referrer,q));e===null&&(e=d);if(e!=null&&e.length>500)return null;var f=n(r);if(e!=null){if(!f)return o(r,e);f.maybeUpdatePayload(e);return p(r,f)}else if(f)return p(r,f);return null}function y(){var a=n(t);if(a){p(t,a);return a}a=w();return o(t,a)}k=function(a){i(b,a);function b(){var a,c,d;g(this,b);var e;for(var f=arguments.length,i=Array(f),j=0;j=55296&&c<=56319&&d>=56320&&d<=57343&&(c=65536+((c&1023)<<10)+(d&1023),e++),c<=127?b+=String.fromCharCode(c):c<=2047?b+=String.fromCharCode(192|c>>>6&31,128|c&63):c<=65535?b+=String.fromCharCode(224|c>>>12&15,128|c>>>6&63,128|c&63):c<=2097151&&(b+=String.fromCharCode(240|c>>>18&7,128|c>>>12&63,128|c>>>6&63,128|c&63));return b}function b(a,b){return b>>>a|b<<32-a}function c(a,b,c){return a&b^~a&c}function d(a,b,c){return a&b^a&c^b&c}function f(a){return b(2,a)^b(13,a)^b(22,a)}function g(a){return b(6,a)^b(11,a)^b(25,a)}function h(a){return b(7,a)^b(18,a)^a>>>3}function i(a){return b(17,a)^b(19,a)^a>>>10}function j(a,b){return a[b&15]+=i(a[b+14&15])+a[b+9&15]+h(a[b+1&15])}var k=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],l=new Array(8),m=new Array(2),n=new Array(64),o=new Array(16),p="0123456789abcdef";function q(a,b){var c=(a&65535)+(b&65535);a=(a>>16)+(b>>16)+(c>>16);return a<<16|c&65535}function r(){m[0]=m[1]=0,l[0]=1779033703,l[1]=3144134277,l[2]=1013904242,l[3]=2773480762,l[4]=1359893119,l[5]=2600822924,l[6]=528734635,l[7]=1541459225}function s(){var a=void 0,b=void 0,e=void 0,h=void 0,i=void 0,m=void 0,p=void 0,r=void 0,s=void 0,t=void 0;e=l[0];h=l[1];i=l[2];m=l[3];p=l[4];r=l[5];s=l[6];t=l[7];for(var u=0;u<16;u++)o[u]=n[(u<<2)+3]|n[(u<<2)+2]<<8|n[(u<<2)+1]<<16|n[u<<2]<<24;for(u=0;u<64;u++)a=t+g(p)+c(p,r,s)+k[u],u<16?a+=o[u]:a+=j(o,u),b=f(e)+d(e,h,i),t=s,s=r,r=p,p=q(m,a),m=i,i=h,h=e,e=q(a,b);l[0]+=e;l[1]+=h;l[2]+=i;l[3]+=m;l[4]+=p;l[5]+=r;l[6]+=s;l[7]+=t}function t(a,b){var c=void 0,d,e=0;d=m[0]>>3&63;var f=b&63;(m[0]+=b<<3)>29;for(c=0;c+63>3&63;n[a++]=128;if(a<=56)for(var b=a;b<56;b++)n[b]=0;else{for(b=a;b<64;b++)n[b]=0;s();for(a=0;a<56;a++)n[a]=0}n[56]=m[1]>>>24&255;n[57]=m[1]>>>16&255;n[58]=m[1]>>>8&255;n[59]=m[1]&255;n[60]=m[0]>>>24&255;n[61]=m[0]>>>16&255;n[62]=m[0]>>>8&255;n[63]=m[0]&255;s()}function v(){var a="";for(var b=0;b<8;b++)for(var c=28;c>=0;c-=4)a+=p.charAt(l[b]>>>c&15);return a}function w(a){var b=0;for(var c=0;c<8;c++)for(var d=28;d>=0;d-=4)a[b++]=p.charCodeAt(l[c]>>>d&15)}function x(a,b){r();t(a,a.length);u();if(b)w(b);else return v()}function y(b){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,d=arguments[2];if(b===null||b===void 0)return null;var e=b;c&&(e=a(b));return x(e,d)}e.exports=y})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEvents.plugins.prohibitedsources",function(){return function(a,b,c,d){var e={exports:{}};e.exports;(function(){"use strict";var b=f.getFbeventsModules("SignalsFBEventsConfigStore"),c=f.getFbeventsModules("SignalsFBEventsEvents"),d=c.configLoaded,g=f.getFbeventsModules("SignalsFBEventsLogging");c=f.getFbeventsModules("SignalsFBEventsPlugin");var h=f.getFbeventsModules("SignalsFBEventsUtils"),i=h.filter,j=f.getFbeventsModules("sha256_with_dependencies_new");e.exports=new c(function(c,e){d.listen(function(c){var d=e.optIns.isOptedIn(c,"ProhibitedSources");if(!d)return;d=e.getPixel(c);if(d==null)return;var f=b.get(d.id,"prohibitedSources");if(f==null)return;f=i(f.prohibitedSources,function(b){return b.domain!=null&&b.domain===j(a.location.hostname)}).length>0;f&&(e.locks.lock("prohibited_sources_"+c),g.consoleWarn("[fbpixel] "+d.id+" is unavailable. Go to Events Manager to learn more"))})})})();return e.exports}(a,b,c,d)});e.exports=f.getFbeventsModules("SignalsFBEvents.plugins.prohibitedsources");f.registerPlugin&&f.registerPlugin("fbevents.plugins.prohibitedsources",e.exports);f.ensureModuleRegistered("fbevents.plugins.prohibitedsources",function(){return e.exports})})()})(window,document,location,history); (function(a,b,c,d){var e={exports:{}};e.exports;(function(){var f=a.fbq;f.execStart=a.performance&&a.performance.now&&a.performance.now();if(!function(){var b=a.postMessage||function(){};if(!f){b({action:"FB_LOG",logType:"Facebook Pixel Error",logMessage:"Pixel code is not installed correctly on this page"},"*");"error"in console&&console.error("Facebook Pixel Error: Pixel code is not installed correctly on this page");return!1}return!0}())return;f.__fbeventsModules||(f.__fbeventsModules={},f.__fbeventsResolvedModules={},f.getFbeventsModules=function(a){f.__fbeventsResolvedModules[a]||(f.__fbeventsResolvedModules[a]=f.__fbeventsModules[a]());return f.__fbeventsResolvedModules[a]},f.fbIsModuleLoaded=function(a){return!!f.__fbeventsModules[a]},f.ensureModuleRegistered=function(b,a){f.fbIsModuleLoaded(b)||(f.__fbeventsModules[b]=a)});f.ensureModuleRegistered("sha256_with_dependencies_new",function(){return function(f,b,c,d){var e={exports:{}};e.exports;(function(){"use strict";function a(a){var b="",c=void 0,d;for(var e=0;e=55296&&c<=56319&&d>=56320&&d<=57343&&(c=65536+((c&1023)<<10)+(d&1023),e++),c<=127?b+=String.fromCharCode(c):c<=2047?b+=String.fromCharCode(192|c>>>6&31,128|c&63):c<=65535?b+=String.fromCharCode(224|c>>>12&15,128|c>>>6&63,128|c&63):c<=2097151&&(b+=String.fromCharCode(240|c>>>18&7,128|c>>>12&63,128|c>>>6&63,128|c&63));return b}function b(a,b){return b>>>a|b<<32-a}function c(a,b,c){return a&b^~a&c}function d(a,b,c){return a&b^a&c^b&c}function f(a){return b(2,a)^b(13,a)^b(22,a)}function g(a){return b(6,a)^b(11,a)^b(25,a)}function h(a){return b(7,a)^b(18,a)^a>>>3}function i(a){return b(17,a)^b(19,a)^a>>>10}function j(a,b){return a[b&15]+=i(a[b+14&15])+a[b+9&15]+h(a[b+1&15])}var k=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],l=new Array(8),m=new Array(2),n=new Array(64),o=new Array(16),p="0123456789abcdef";function q(a,b){var c=(a&65535)+(b&65535);a=(a>>16)+(b>>16)+(c>>16);return a<<16|c&65535}function r(){m[0]=m[1]=0,l[0]=1779033703,l[1]=3144134277,l[2]=1013904242,l[3]=2773480762,l[4]=1359893119,l[5]=2600822924,l[6]=528734635,l[7]=1541459225}function s(){var a=void 0,b=void 0,e=void 0,h=void 0,i=void 0,m=void 0,p=void 0,r=void 0,s=void 0,t=void 0;e=l[0];h=l[1];i=l[2];m=l[3];p=l[4];r=l[5];s=l[6];t=l[7];for(var u=0;u<16;u++)o[u]=n[(u<<2)+3]|n[(u<<2)+2]<<8|n[(u<<2)+1]<<16|n[u<<2]<<24;for(u=0;u<64;u++)a=t+g(p)+c(p,r,s)+k[u],u<16?a+=o[u]:a+=j(o,u),b=f(e)+d(e,h,i),t=s,s=r,r=p,p=q(m,a),m=i,i=h,h=e,e=q(a,b);l[0]+=e;l[1]+=h;l[2]+=i;l[3]+=m;l[4]+=p;l[5]+=r;l[6]+=s;l[7]+=t}function t(a,b){var c=void 0,d,e=0;d=m[0]>>3&63;var f=b&63;(m[0]+=b<<3)>29;for(c=0;c+63>3&63;n[a++]=128;if(a<=56)for(var b=a;b<56;b++)n[b]=0;else{for(b=a;b<64;b++)n[b]=0;s();for(a=0;a<56;a++)n[a]=0}n[56]=m[1]>>>24&255;n[57]=m[1]>>>16&255;n[58]=m[1]>>>8&255;n[59]=m[1]&255;n[60]=m[0]>>>24&255;n[61]=m[0]>>>16&255;n[62]=m[0]>>>8&255;n[63]=m[0]&255;s()}function v(){var a="";for(var b=0;b<8;b++)for(var c=28;c>=0;c-=4)a+=p.charAt(l[b]>>>c&15);return a}function w(a){var b=0;for(var c=0;c<8;c++)for(var d=28;d>=0;d-=4)a[b++]=p.charCodeAt(l[c]>>>d&15)}function x(a,b){r();t(a,a.length);u();if(b)w(b);else return v()}function y(b){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,d=arguments[2];if(b===null||b===void 0)return null;var e=b;c&&(e=a(b));return x(e,d)}e.exports=y})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEvents.plugins.unwateddata",function(){return function(a,b,c,d){var e={exports:{}};e.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsEvents");a.configLoaded;var b=a.validateCustomParameters,c=a.validateUrlParameters,d=f.getFbeventsModules("SignalsFBEventsConfigStore"),g=f.getFbeventsModules("SignalsFBEventsLogging");a=f.getFbeventsModules("SignalsFBEventsPlugin");var h=f.getFbeventsModules("SignalsFBEventsUtils"),i=f.getFbeventsModules("sha256_with_dependencies_new");h.each;var j=h.map,k=!1;e.exports=new a(function(a,e){b.listen(function(a,b,c){if(a==null)return;var f=e.optIns.isOptedIn(a.id,"UnwantedData");if(!f)return;f=d.get(a.id,"unwantedData");if(f==null)return;a=!1;var h=[],k=[],l={};if(f.blacklisted_keys!=null){var m=f.blacklisted_keys[c];if(m!=null){m=m.cd;j(m,function(c){Object.prototype.hasOwnProperty.call(b,c)&&(a=!0,h.push(c),delete b[c])})}}if(f.sensitive_keys!=null){m=f.sensitive_keys[c];if(m!=null){var n=m.cd;Object.keys(b).forEach(function(c){j(n,function(d){i(c)===d&&(a=!0,k.push(d),delete b[c])})})}}l.unwantedParams=h;l.sensitiveParams=k;a&&(b._filteredParams=l,g.logUserError({type:"UNWANTED_CUSTOM_DATA"}))});function f(a,b,c){var d=new URLSearchParams(a.search),e=[],f=[];a={};if(b.blacklisted_keys!=null){var g=b.blacklisted_keys[c];if(g!=null){g=g.url;j(g,function(a){d.has(a)&&(k=!0,e.push(a),d.set(a,"_removed_"))})}}if(b.sensitive_keys!=null){g=b.sensitive_keys[c];if(g!=null){var h=g.url;d.forEach(function(a,b){j(h,function(a){i(b)===a&&(k=!0,f.push(a),d.set(b,"_removed_"))})})}}a.unwantedParams=e;a.sensitiveParams=f;if(k){d.set("_filteredParams",JSON.stringify(a));return d.toString()}return""}c.listen(function(a,b,c){if(a==null)return;var h=e.optIns.isOptedIn(a.id,"UnwantedData");if(!h)return;h=d.get(a.id,"unwantedData");if(h==null)return;if(Object.prototype.hasOwnProperty.call(b,"dl")&&b.dl.length>0){a=new URL(b.dl);var i=f(a,h,c);k&&i.length>0&&(a.search=i,b.dl=a.toString())}if(Object.prototype.hasOwnProperty.call(b,"rl")&&b.rl.length>0){i=new URL(b.rl);a=f(i,h,c);k&&a.length>0&&(i.search=a,b.rl=i.toString())}k&&g.logUserError({type:"UNWANTED_URL_DATA"})})})})();return e.exports}(a,b,c,d)});e.exports=f.getFbeventsModules("SignalsFBEvents.plugins.unwateddata");f.registerPlugin&&f.registerPlugin("fbevents.plugins.unwanteddata",e.exports);f.ensureModuleRegistered("fbevents.plugins.unwanteddata",function(){return e.exports})})()})(window,document,location,history); (function(a,b,c,d){var e={exports:{}};e.exports;(function(){var f=a.fbq;f.execStart=a.performance&&a.performance.now&&a.performance.now();if(!function(){var b=a.postMessage||function(){};if(!f){b({action:"FB_LOG",logType:"Facebook Pixel Error",logMessage:"Pixel code is not installed correctly on this page"},"*");"error"in console&&console.error("Facebook Pixel Error: Pixel code is not installed correctly on this page");return!1}return!0}())return;f.__fbeventsModules||(f.__fbeventsModules={},f.__fbeventsResolvedModules={},f.getFbeventsModules=function(a){f.__fbeventsResolvedModules[a]||(f.__fbeventsResolvedModules[a]=f.__fbeventsModules[a]());return f.__fbeventsResolvedModules[a]},f.fbIsModuleLoaded=function(a){return!!f.__fbeventsModules[a]},f.ensureModuleRegistered=function(b,a){f.fbIsModuleLoaded(b)||(f.__fbeventsModules[b]=a)});f.ensureModuleRegistered("SignalsFBEvents.plugins.iabpcmaebridge",function(){return function(a,b,c,d){var e={exports:{}};e.exports;(function(){"use strict";var c=f.getFbeventsModules("SignalsFBEventsEvents"),d=c.fired;c=f.getFbeventsModules("SignalsFBEventsPlugin");f.getFbeventsModules("SignalsParamList");var g=f.getFbeventsModules("signalsFBEventsGetIsIosInAppBrowser");function h(a){return(typeof a==="string"||a instanceof String)&&a.toUpperCase()==="LDU"}function i(a){try{if(a==null||typeof a!=="string")return null;else{var b=JSON.parse(a);if(b.conversionBit!=null&&typeof b.conversionBit==="number"&&b.priority!=null&&typeof b.priority==="number"&&b.etldOne!=null&&typeof b.etldOne==="string")return a;else return JSON.stringify({conversionBit:-1,priority:-1,etldOne:""})}}catch(a){return null}}e.exports=new c(function(c,e){d.listen(function(c,d){if(!g())return;c=d.get("id");var e=d.get("ev"),f={},j=d.get("dpo"),k=d.get("dpoco"),l=d.get("dpost"),m=d.get("coo"),n=d.get("es"),o=i(d.get("aem")),p=!1;(m==="false"||m==="true")&&(f.coo=m);n!==null&&(f.es=n);b!==null&&b.referrer!==null&&(f.referrer_link=b.referrer);if(h(j))if(k==="1"&&l==="1000")return;else k==="0"&&l==="0"&&(p=!0);d.each(function(a,b){if(a){a=a.match(/^cd\[(.+)\]$/);a&&(f[a[1]]=b)}});m={pcmPixelPostMessageEvent:{id:c,ev:e,cd:JSON.stringify(f),dpo:p,aem:o!=null?o:""}};a.postMessage(m,"*")})})})();return e.exports}(a,b,c,d)});e.exports=f.getFbeventsModules("SignalsFBEvents.plugins.iabpcmaebridge");f.registerPlugin&&f.registerPlugin("fbevents.plugins.iabpcmaebridge",e.exports);f.ensureModuleRegistered("fbevents.plugins.iabpcmaebridge",function(){return e.exports})})()})(window,document,location,history); fbq.registerPlugin("210859139804711", {__fbEventsPlugin: 1, plugin: function(fbq, instance, config) { fbq.loadPlugin("iwlbootstrapper"); instance.optIn("210859139804711", "IWLBootstrapper", true); fbq.loadPlugin("cookie"); instance.optIn("210859139804711", "FirstPartyCookies", true); config.set(null, "batching", {"batchWaitTimeMs":501,"maxBatchSize":10}); config.set(null, "microdata", {"waitTimeMs":500}); config.set("210859139804711", "prohibitedSources", {"prohibitedSources":[]}); fbq.loadPlugin("prohibitedsources"); instance.optIn("210859139804711", "ProhibitedSources", true); config.set("210859139804711", "unwantedData", {"blacklisted_keys":{"PageView":{"cd":[],"url":["lastname","mobile","password","ac_buyer_email","lon","lat"]}},"sensitive_keys":{}}); fbq.loadPlugin("unwanteddata"); instance.optIn("210859139804711", "UnwantedData", true); fbq.loadPlugin("iabpcmaebridge"); instance.optIn("210859139804711", "IABPCMAEBridge", true);instance.configLoaded("210859139804711"); }});