/** * 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. */ fbq.version="2.9.100"; fbq._releaseSegment = "stable"; fbq.pendingConfigs=["global_config"]; fbq.__openBridgeRollout = 1.0; (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;var g=function(){function a(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g=a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"](),a;!(d=(a=g.next()).done);d=!0){c.push(a.value);if(b&&c.length===b)break}}catch(a){e=!0,f=a}finally{try{!d&&g["return"]&&g["return"]()}finally{if(e)throw f}}return c}return function(b,c){if(Array.isArray(b))return b;else if((typeof Symbol==="function"?Symbol.iterator:"@@iterator")in Object(b))return a(b,c);else throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=function(){function a(a,b){for(var c=0;c1&&arguments[1]!==void 0?arguments[1]:{};if(!a)return m({type:"NO_EVENT_NAME"});var c=h[a];return!c?n([{eventName:a,type:"NONSTANDARD_EVENT"}]):q(a,b,c)}function q(a,b,f){f=f.validationSchema;var h=[];for(var i in f)if(j.call(f,i)){var k=f[i],l=b[i];if(k){if(k.isRequired!=null&&!j.call(b,i))return m({eventName:a,param:i,type:"REQUIRED_PARAM_MISSING"});if(k.type!=null&&typeof k.type==="string"){var o=!0;switch(k.type){case d:k=(typeof l==="string"||typeof l==="number")&&c.test(""+l);k&&Number(l)<0&&h.push({eventName:a?a:"null",param:i,type:"NEGATIVE_EVENT_PARAM"});o=k;break;case e:o=typeof l==="string"&&!!g[l.toUpperCase()];break}if(!o)return m({eventName:a,param:i,type:"INVALID_PARAM"})}}}return n(h)}function r(a,c){a=p(a,c);a.error&&b(a.error);if(a.warnings)for(c=0;c=d()&&this.forceEndBatch()}},{key:"forceEndBatch",value:function(){this._waitHandle!=null&&(g.clearTimeout(this._waitHandle),this._waitHandle=null),this._data.length>0&&this._cb(this._data),this._data=[]}}]);return a}();l.exports=i})();return l.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsBrowserPropertiesConfigTypedef",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsTyped"),b=a.Typed;a.coerce;a=b.objectWithFields({delayInMs:b.allowNull(b.number()),enableEventSuppression:b.allowNull(b["boolean"]()),enableBackupTimeout:b.allowNull(b["boolean"]()),experiment:b.allowNull(b.string())});k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsBufferConfigTypedef",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsTyped"),b=a.Typed;a.coerce;a=b.objectWithFields({delayInMs:b.number(),experimentName:b.allowNull(b.string()),enableMultiEid:b.allowNull(b["boolean"]())});k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsCoerceAutomaticMatchingConfig",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsTyped"),b=a.coerce;a=a.Typed;var c=a.objectWithFields({selectedMatchKeys:a.arrayOf(a.string())});k.exports=function(a){return b(a,c)}})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsCoerceBatchingConfig",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsTyped"),b=a.Typed,c=a.coerce,d=a.enforce,e=function(a){var e=c(a,b.objectWithFields({max_batch_size:b.number(),wait_time_ms:b.number()}));return e!=null?{batchWaitTimeMs:e.wait_time_ms,maxBatchSize:e.max_batch_size}:d(a,b.objectWithFields({batchWaitTimeMs:b.number(),maxBatchSize:b.number()}))};k.exports=function(a){return c(a,e)}})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsCoerceInferedEventsConfig",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsCoercePrimitives");a.coerceNumber;var b=a.coerceObjectWithFields;function c(a){return b(a,{buttonSelector:function(a){return a==="extended"?"extended":null}})}k.exports=c})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsCoerceParameterExtractors",function(){return function(g,h,j,k){var l={exports:{}};l.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsUtils"),b=a.filter,c=a.map,d=f.getFbeventsModules("signalsFBEventsCoerceStandardParameter");function e(a){if(a==null||(typeof a==="undefined"?"undefined":i(a))!=="object")return null;var b=a.domain_uri,c=a.event_type,d=a.extractor_type;a=a.id;b=typeof b==="string"?b:null;c=c!=null&&typeof c==="string"&&c!==""?c:null;a=a!=null&&typeof a==="string"&&a!==""?a:null;d=d==="CONSTANT_VALUE"||d==="CSS"||d==="GLOBAL_VARIABLE"||d==="GTM"||d==="JSON_LD"||d==="META_TAG"||d==="OPEN_GRAPH"||d==="RDFA"||d==="SCHEMA_DOT_ORG"||d==="URI"?d:null;return b!=null&&c!=null&&a!=null&&d!=null?{domain_uri:b,event_type:c,extractor_type:d,id:a}:null}function g(a){if(a==null||(typeof a==="undefined"?"undefined":i(a))!=="object")return null;a=a.extractor_config;if(a==null||(typeof a==="undefined"?"undefined":i(a))!=="object")return null;var b=a.parameter_type;a=a.value;b=d(b);a=a!=null&&typeof a==="string"&&a!==""?a:null;return b!=null&&a!=null?{parameter_type:b,value:a}:null}function h(a){if(a==null||(typeof a==="undefined"?"undefined":i(a))!=="object")return null;var b=a.parameter_type;a=a.selector;b=d(b);a=a!=null&&typeof a==="string"&&a!==""?a:null;return b!=null&&a!=null?{parameter_type:b,selector:a}:null}function j(a){if(a==null||(typeof a==="undefined"?"undefined":i(a))!=="object")return null;a=a.extractor_config;if(a==null||(typeof a==="undefined"?"undefined":i(a))!=="object")return null;a=a.parameter_selectors;if(Array.isArray(a)){a=c(a,h);var d=b(a,Boolean);if(a.length===d.length)return{parameter_selectors:d}}return null}function k(a){if(a==null||(typeof a==="undefined"?"undefined":i(a))!=="object")return null;a=a.extractor_config;if(a==null||(typeof a==="undefined"?"undefined":i(a))!=="object")return null;var b=a.context,c=a.parameter_type;a=a.value;b=b!=null&&typeof b==="string"&&b!==""?b:null;c=d(c);a=a!=null&&typeof a==="string"&&a!==""?a:null;return b!=null&&c!=null&&a!=null?{context:b,parameter_type:c,value:a}:null}function m(a){var b=e(a);if(b==null||a==null||(typeof a==="undefined"?"undefined":i(a))!=="object")return null;var c=b.domain_uri,d=b.event_type,f=b.extractor_type;b=b.id;if(f==="CSS"){var h=j(a);if(h!=null)return{domain_uri:c,event_type:d,extractor_config:h,extractor_type:"CSS",id:b}}if(f==="CONSTANT_VALUE"){h=g(a);if(h!=null)return{domain_uri:c,event_type:d,extractor_config:h,extractor_type:"CONSTANT_VALUE",id:b}}if(f==="GLOBAL_VARIABLE")return{domain_uri:c,event_type:d,extractor_type:"GLOBAL_VARIABLE",id:b};if(f==="GTM")return{domain_uri:c,event_type:d,extractor_type:"GTM",id:b};if(f==="JSON_LD")return{domain_uri:c,event_type:d,extractor_type:"JSON_LD",id:b};if(f==="META_TAG")return{domain_uri:c,event_type:d,extractor_type:"META_TAG",id:b};if(f==="OPEN_GRAPH")return{domain_uri:c,event_type:d,extractor_type:"OPEN_GRAPH",id:b};if(f==="RDFA")return{domain_uri:c,event_type:d,extractor_type:"RDFA",id:b};if(f==="SCHEMA_DOT_ORG")return{domain_uri:c,event_type:d,extractor_type:"SCHEMA_DOT_ORG",id:b};if(f==="URI"){h=k(a);if(h!=null)return{domain_uri:c,event_type:d,extractor_config:h,extractor_type:"URI",id:b}}return null}l.exports=m})();return l.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsCoercePixelID",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsLogging"),b=a.logUserError;a=f.getFbeventsModules("SignalsFBEventsTyped");var c=a.Typed,d=a.coerce;function e(a){a=d(a,c.fbid());if(a==null){var e=JSON.stringify(a);b({pixelID:e!=null?e:"undefined",type:"INVALID_PIXEL_ID"});return null}return a}k.exports=e})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsCoercePrimitives",function(){return function(g,h,j,k){var m={exports:{}};m.exports;(function(){"use strict";var a=Object.assign||function(a){for(var b=1;b2&&arguments[2]!==void 0?arguments[2]:!1;if(typeof b!=="string"||!L(b))throw new Error('Invalid Argument: "'+b+'" is not a valid opt-in feature');L(b)&&(this.optIns.optIn(a,b,d),B([b].concat(m(J[b]||[])),function(a){K[a]&&B(K[a],function(a){return c.fbq.loadPlugin(a)})}));return this}},{key:"optOut",value:function(a,b){this.optIns.optOut(a,b);return this}},{key:"consent",value:function(a){a==="revoke"?this.locks.lockConsent():a==="grant"?this.locks.unlockConsent():G({action:a,type:"INVALID_CONSENT_ACTION"});return this}},{key:"setUserProperties",value:function(b,c){var d=this.pluginConfig.get(null,"dataProcessingOptions");if(d!=null&&d.dataProcessingOptions.includes("LDU"))return;if(!Object.prototype.hasOwnProperty.call(this.pixelsByID,b)){G({pixelID:b,type:"PIXEL_NOT_INITIALIZED"});return}this.trackSingleSystem("user_properties",b,"UserProperties",a({},c))}},{key:"trackSingle",value:function(a,c,d,e){b.validateEventAndLog(c,d);return this.trackSingleGeneric(a,c,d,I.TrackSingle,e)}},{key:"trackSingleCustom",value:function(a,b,c,d){return this.trackSingleGeneric(a,b,c,I.TrackSingleCustom,d)}},{key:"trackSingleSystem",value:function(a,b,c,d){return this.trackSingleGeneric(b,c,d,I.TrackSingleSystem,null,a)}},{key:"trackSingleGeneric",value:function(b,c,d,e,f,g){b=typeof b==="string"?b:b.id;if(!Object.prototype.hasOwnProperty.call(this.pixelsByID,b)){var h={pixelID:b,type:"PIXEL_NOT_INITIALIZED"};g==null?G(h):F(new Error(h.type+" "+h.pixelID));return this}h=this.getDefaultSendData(b,c,f);h.customData=d;g!=null&&(h.customParameters={es:g});h.customParameters=a({},h.customParameters,{tm:""+e});this.fire(h,!1);return this}},{key:"_validateSend",value:function(a,c){if(!a.eventName||!a.eventName.length)throw new Error("Event name not specified");if(!a.pixelId||!a.pixelId.length)throw new Error("PixelId not specified");a.set&&B(D(C(a.set),function(a){return b.validateMetadata(a)}),function(a){if(a.error)throw new Error(a.error);a.warnings.length&&B(a.warnings,G)});if(c){c=b.validateEvent(a.eventName,a.customData||{});if(c.error)throw new Error(c.error);c.warnings&&c.warnings.length&&B(c.warnings,G)}return this}},{key:"_argsHasAnyUserData",value:function(a){var b=a.userData!=null&&C(a.userData).length>0;a=a.userDataFormFields!=null&&C(a.userDataFormFields).length>0;return b||a}},{key:"fire",value:function(a){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this._validateSend(a,b);if(this._argsHasAnyUserData(a)&&!this.fbq.loadPlugin("identity")||this.locks.isLocked()){g.fbq("fire",a);return this}var c=a.customParameters,d="";c&&c.es&&typeof c.es==="string"&&(d=c.es);a.customData=a.customData||{};var e=this.fbq.getEventCustomParameters(this.getPixel(a.pixelId),a.eventName,a.customData,d),f=a.eventData.eventID;e.append("eid",f);c&&B(C(c),function(a){if(e.containsKey(a))throw new Error("Custom parameter "+a+" already specified.");e.append(a,c[a])});A({customData:a.customData,customParams:e,eventName:a.eventName,id:a.pixelId,piiTranslator:null});return this}},{key:"callMethod",value:function(a){var b=a[0];a=Array.prototype.slice.call(a,1);if(typeof b!=="string"){G({type:"FBQ_NO_METHOD_NAME"});return}if(typeof this[b]==="function")try{this[b].apply(this,a)}catch(a){F(a)}else G({method:b,type:"INVALID_FBQ_METHOD"})}},{key:"getDefaultSendData",value:function(a,b,c){var d=this.getPixel(a);c={eventData:c||{},eventName:b,pixelId:a};d&&(d.userData&&(c.userData=d.userData),d.agent!=null&&d.agent!==""?c.set={agent:d.agent}:this.fbq.agent!=null&&this.fbq.agent!==""&&(c.set={agent:this.fbq.agent}));return c}},{key:"getOptedInPixels",value:function(a){var b=this;return this.optIns.listPixelIds(a).map(function(a){return b.pixelsByID[a]})}},{key:"getPixel",value:function(a){return this.pixelsByID[a]}},{key:"getFBCWithAEMPayload",value:function(){if(!y.isInTest(x)||r()===!1)return"";var a=t(g.location.href,u);a===null&&(a=t(i.referrer,u));if(a!=null&&a.includes("_aem_")){a=a.split("_aem_");if(a.length===2)return a[1]}a=v(w);if(a==null)return"";a=a.payload;if(a==null)return"";a=a.split("_aem_");return a.length!==2?"":a[1]}},{key:"loadConfig",value:function(a){if(this.fbq.disableConfigLoading===!0||Object.prototype.hasOwnProperty.call(this.configsLoaded,a))return;this.locks.lockConfig(a);if(!this.fbq.pendingConfigs||E(this.fbq.pendingConfigs,function(b){return b===a})===!1){var b=j.href,c=i.referrer,d;if(r()===!1)d="";else if(g!==g.parent&&c!=null&&c!==""){c=new URL(c);d=c.hostname}else if(b!=null||b!==""){c=new URL(b);d=c.hostname}else d="";N(a,this.VERSION,this.RELEASE_SEGMENT!=null?this.RELEASE_SEGMENT:"stable",d,this.fbq._no_min,this.getFBCWithAEMPayload())}}},{key:"configLoaded",value:function(a){this.configsLoaded[a]=!0,e.trigger(a),this.locks.releaseConfig(a)}}]);return d}();l.exports=q})();return l.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsFiredEvent",function(){return function(g,h,j,k){var l={exports:{}};l.exports;(function(){"use strict";var a=Object.assign||function(a){for(var b=1;b0}},{key:"lockPlugin",value:function(a){this.lock("plugin:"+a)}},{key:"releasePlugin",value:function(a){this.release("plugin:"+a)}},{key:"lockConfig",value:function(a){this.lock("config:"+a)}},{key:"releaseConfig",value:function(a){this.release("config:"+a)}},{key:"lockConsent",value:function(){this.lock("consent")}},{key:"unlockConsent",value:function(){this.release("consent")}}]);return a}();a.global=new a();l.exports=a})();return l.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsGetAemResultEvent",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent");function b(a,b,c){a=a!=null&&typeof a==="number"&&a!==-1?a:null;b=b!=null&&typeof b==="number"&&b!==-1?b:null;c=c!=null&&typeof c==="string"&&c!==""?c:null;return a!==null&&b!==null&&c!==null?[a,b,c]:null}a=new a(b);k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsGetCustomParametersEvent",function(){return function(g,h,j,k){var l={exports:{}};l.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent"),b=f.getFbeventsModules("SignalsFBEventsPixelTypedef"),c=f.getFbeventsModules("SignalsFBEventsTyped"),d=c.Typed,e=c.coerce;function g(a,c,f,g){a=e(a,b);c=e(c,d.string());var h={};f!=null&&(typeof f==="undefined"?"undefined":i(f))==="object"&&(h=f);f=g!=null&&typeof g==="string"?g:null;return a!=null&&c!=null?[a,c,h,f]:null}c=new a(g);l.exports=c})();return l.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsGetIsChrome",function(){return function(f,g,h,i){var j={exports:{}};j.exports;(function(){"use strict";function a(){var a=f.chrome,b=f.navigator,c=b.vendor,d=f.opr!==void 0,e=b.userAgent.indexOf("Edge")>-1;b=b.userAgent.match("CriOS");return!b&&a!==null&&a!==void 0&&c==="Google Inc."&&d===!1&&e===!1}var b=a();function c(){return b}j.exports=c})();return j.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsGetIsIosInAppBrowser",function(){return function(f,g,h,i){var j={exports:{}};j.exports;(function(){"use strict";function a(){var a=f.navigator,b=a.userAgent.indexOf("AppleWebKit"),c=a.userAgent.indexOf("FBIOS"),d=a.userAgent.indexOf("Instagram");a=a.userAgent.indexOf("MessengerLiteForiOS");return b!==null&&(c!=-1||d!=-1||a!=-1)}var b=a();function c(){return b}j.exports=c})();return j.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsGetIsMobileSafari",function(){return function(f,g,h,i){var j={exports:{}};j.exports;(function(){"use strict";function a(){var a=f.navigator;return a.userAgent.indexOf("Safari")!==-1&&a.userAgent.indexOf("Chrome")===-1}function b(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(f.navigator.userAgent)}function c(){var a=f.navigator.userAgent.match(/OS (\d+)_(\d+)_?(\d+)?/);if(a==null||a.length<2)return!1;a=[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3]||0,10)];return a[0]<14||a[0]===14&&a[1]<5?!1:!0}function d(){return a()&&b()&&c()}j.exports=d})();return j.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsGetIWLParametersEvent",function(){return function(g,h,j,k){var l={exports:{}};l.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent"),b=f.getFbeventsModules("SignalsConvertNodeToHTMLElement"),c=f.getFbeventsModules("SignalsFBEventsPixelTypedef"),d=f.getFbeventsModules("SignalsFBEventsTyped"),e=d.coerce;function g(){for(var a=arguments.length,d=Array(a),f=0;f0&&a<1e4}]})});k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsMobileAppBridge",function(){return function(g,h,j,k){var l={exports:{}};l.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsTelemetry"),b=f.getFbeventsModules("SignalsFBEventsUtils"),c=b.each,d="fbmq-0.1",e={AddPaymentInfo:"fb_mobile_add_payment_info",AddToCart:"fb_mobile_add_to_cart",AddToWishlist:"fb_mobile_add_to_wishlist",CompleteRegistration:"fb_mobile_complete_registration",InitiateCheckout:"fb_mobile_initiated_checkout",Other:"other",Purchase:"fb_mobile_purchase",Search:"fb_mobile_search",ViewContent:"fb_mobile_content_view"},h={content_ids:"fb_content_id",content_type:"fb_content_type",currency:"fb_currency",num_items:"fb_num_items",search_string:"fb_search_string",value:"_valueToSum",contents:"fb_content"},j={};function k(a){return"fbmq_"+a[1]}function m(a){if(Object.prototype.hasOwnProperty.call(j,[0])&&Object.prototype.hasOwnProperty.call(j[a[0]],a[1]))return!0;var b=g[k(a)];b=b&&b.getProtocol.call&&b.getProtocol()===d?b:null;b!==null&&(j[a[0]]=j[a[0]]||{},j[a[0]][a[1]]=b);return b!==null}function n(a){var b=[];a=j[a.id]||{};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(a[c]);return b}function o(a){return n(a).length>0}function p(a){return Object.prototype.hasOwnProperty.call(e,a)?e[a]:a}function q(a){return Object.prototype.hasOwnProperty.call(h,a)?h[a]:a}function r(a){if(typeof a==="string")return a;if(typeof a==="number")return isNaN(a)?void 0:a;try{return JSON.stringify(a)}catch(a){}return a.toString&&a.toString.call?a.toString():void 0}function s(a){var b={};if(a!=null&&(typeof a==="undefined"?"undefined":i(a))==="object")for(var c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=r(a[c]);d!=null&&(b[q(c)]=d)}return b}var t=0;function u(){var b=t;t=0;a.logMobileNativeForwarding(b)}function v(a,b,d){c(n(a),function(c){return c.sendEvent(a.id,p(b),JSON.stringify(s(d)))}),t++,setTimeout(u,0)}l.exports={pixelHasActiveBridge:o,registerBridge:m,sendEvent:v}})();return l.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsNetworkConfig",function(){return function(f,g,h,i){var j={exports:{}};j.exports;(function(){"use strict";var a={ENDPOINT:"https://www.facebook.com/tr/",INSTAGRAM_TRIGGER_ATTRIBUTION:"https://www.instagram.com/tr/",AEM_ENDPOINT:"https://www.facebook.com/.well-known/aggregated-event-measurement/"};j.exports=a})();return j.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsOpenBridgeConfigTypedef",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsTyped"),b=a.Typed;a.coerce;a=b.objectWithFields({endpoints:b.arrayOf(b.objectWithFields({targetDomain:b.allowNull(b.string()),endpoint:b.allowNull(b.string()),enable_whole_session_pii_delay:b.allowNull(b["boolean"]())})),eventsFilter:b.allowNull(b.objectWithFields({filteringMode:b.allowNull(b.string()),eventNames:b.allowNull(b.arrayOf(b.string()))})),additionalUserData:b.allowNull(b.objectWithFields({sendFBLoginID:b.allowNull(b["boolean"]())}))});k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsOptIn",function(){return function(g,i,j,k){var l={exports:{}};l.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsUtils"),b=a.each,c=a.filter,d=a.keys,e=a.some;function g(a){b(d(a),function(b){if(e(a[b],function(b){return Object.prototype.hasOwnProperty.call(a,b)}))throw new Error("Circular subOpts are not allowed. "+b+" depends on another subOpt")})}a=function(){function a(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n(this,a);this._opts={};this._subOpts=b;g(this._subOpts)}h(a,[{key:"_getOpts",value:function(a){return[].concat(m(Object.prototype.hasOwnProperty.call(this._subOpts,a)?this._subOpts[a]:[]),[a])}},{key:"_setOpt",value:function(a,b,c){b=this._opts[b]||(this._opts[b]={});b[a]=c}},{key:"optIn",value:function(a,c){var d=this,e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;b(this._getOpts(c),function(b){var f=e==!0&&d.isOptedOut(a,c);f||d._setOpt(a,b,!0)});return this}},{key:"optOut",value:function(a,c){var d=this;b(this._getOpts(c),function(b){return d._setOpt(a,b,!1)});return this}},{key:"isOptedIn",value:function(a,b){return this._opts[b]!=null&&this._opts[b][a]===!0}},{key:"isOptedOut",value:function(a,b){return this._opts[b]!=null&&this._opts[b][a]===!1}},{key:"listPixelIds",value:function(a){var b=this._opts[a];return b!=null?c(d(b),function(a){return b[a]===!0}):[]}}]);return a}();l.exports=a})();return l.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsParallelFireConfigTypedef",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsTyped");a=a.Typed;a=a.objectWithFields({target:a.string()});k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsPIIAutomatchedEvent",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent"),b=f.getFbeventsModules("SignalsFBEventsPixelTypedef"),c=f.getFbeventsModules("SignalsFBEventsTyped"),d=c.coerce;function e(a){a=d(a,b);return a!=null?[a]:null}c=new a(e);k.exports=c})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsPIIConflictingEvent",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent"),b=f.getFbeventsModules("SignalsFBEventsPixelTypedef"),c=f.getFbeventsModules("SignalsFBEventsTyped"),d=c.coerce;function e(a){a=d(a,b);return a!=null?[a]:null}c=new a(e);k.exports=c})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsPIIInvalidatedEvent",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent"),b=f.getFbeventsModules("SignalsFBEventsPixelTypedef"),c=f.getFbeventsModules("SignalsFBEventsTyped"),d=c.coerce;function e(a){a=d(a,b);return a!=null?[a]:null}k.exports=new a(e)})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsPixelCookie",function(){return function(i,j,k,l){var m={exports:{}};m.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsLogging"),b=a.logError,c="fb",d=4;a=function(){function a(b){n(this,a),typeof b==="string"?this.maybeUpdatePayload(b):(this.subdomainIndex=b.subdomainIndex,this.creationTime=b.creationTime,this.payload=b.payload)}h(a,[{key:"pack",value:function(){return[c,this.subdomainIndex,this.creationTime,this.payload].join(".")}},{key:"maybeUpdatePayload",value:function(a){if(this.payload===null||this.payload!==a){this.payload=a;a=Date.now();this.creationTime=typeof a==="number"?a:new Date().getTime()}}}],[{key:"unpack",value:function(e){try{e=e.split(".");if(e.length!==d)return null;var f=g(e,4),h=f[0],i=f[1],j=f[2];f=f[3];if(h!==c)throw new Error("Unexpected version number '"+e[0]+"'");h=parseInt(i,10);if(isNaN(h))throw new Error("Illegal subdomain index '"+e[1]+"'");i=parseInt(j,10);if(isNaN(i))throw new Error("Illegal creation time '"+e[2]+"'");if(f==null||f==="")throw new Error("Empty cookie payload");return new a({creationTime:i,payload:f,subdomainIndex:h})}catch(a){b(a);return null}}}]);return a}();m.exports=a})();return m.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsPixelTypedef",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsTyped");a=a.Typed;a=a.objectWithFields({eventCount:a.number(),id:a.fbid(),userData:a.mapOf(a.string()),userDataFormFields:a.mapOf(a.string())});k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsPlugin",function(){return function(f,g,h,i){var j={exports:{}};j.exports;(function(){"use strict";var a=function a(b){n(this,a),this.__fbEventsPlugin=1,this.plugin=b,this.__fbEventsPlugin=1};j.exports=a})();return j.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsPluginLoadedEvent",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent");function b(a){a=a!=null&&typeof a==="string"?a:null;return a!=null?[a]:null}k.exports=new a(b)})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsPluginManager",function(){return function(g,j,k,l){var m={exports:{}};m.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsConfigStore"),b=f.getFbeventsModules("SignalsFBEventsEvents"),c=b.pluginLoaded,d=f.getFbeventsModules("SignalsFBEventsJSLoader");b=f.getFbeventsModules("SignalsFBEventsLogging");var e=b.logError,g=f.getFbeventsModules("SignalsFBEventsPlugin");function j(a){return"fbevents.plugins."+a}function k(a,b){if(a==="fbevents")return new g(function(){});if(b instanceof g)return b;if(b==null||(typeof b==="undefined"?"undefined":i(b))!=="object"){e(new Error("Invalid plugin registered "+a));return new g(function(){})}var c=b.__fbEventsPlugin;b=b.plugin;if(c!==1||typeof b!=="function"){e(new Error("Invalid plugin registered "+a));return new g(function(){})}return new g(b)}b=function(){function b(a,c){n(this,b),this._loadedPlugins={},this._instance=a,this._lock=c}h(b,[{key:"registerPlugin",value:function(b,d){if(Object.prototype.hasOwnProperty.call(this._loadedPlugins,b))return;this._loadedPlugins[b]=k(b,d);this._loadedPlugins[b].plugin(f,this._instance,a);c.trigger(b);this._lock.releasePlugin(b)}},{key:"loadPlugin",value:function(a){if(/^[a-zA-Z]\w+$/.test(a)===!1)throw new Error("Invalid plugin name: "+a);var b=j(a);if(this._loadedPlugins[b])return!0;if(f.fbIsModuleLoaded(b)){this.registerPlugin(b,f.getFbeventsModules(b));return!0}a=d.CONFIG.CDN_BASE_URL+"signals/plugins/"+a+".js?v="+f.version;if(!this._loadedPlugins[b]){this._lock.lockPlugin(b);d.loadJSFile(a);return!0}return!1}}]);return b}();m.exports=b})();return m.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsProhibitedSourcesTypedef",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsTyped"),b=a.Typed;a.coerce;a=b.objectWithFields({prohibitedSources:b.arrayOf(b.objectWithFields({domain:b.allowNull(b.string())}))});k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsQE",function(){return function(i,j,k,l){var m={exports:{}};m.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsExperimentsTypedef"),b=f.getFbeventsModules("SignalsFBEventsLegacyExperimentGroupsTypedef"),c=f.getFbeventsModules("SignalsFBEventsTypeVersioning"),d=f.getFbeventsModules("SignalsFBEventsTyped"),e=d.coerce;d=f.getFbeventsModules("SignalsFBEventsUtils");var i=d.reduce,j=function(){return Math.random()};function k(a){var b=i(a,function(b,c,a){if(a===0){b.push([0,c.allocation]);return b}a=g(b[a-1],2);a[0];a=a[1];b.push([a,a+c.allocation]);return b},[]),c=j();for(var d=0;d=l&&c1&&arguments[1]!==void 0?arguments[1]:a.ENDPOINT,e=arguments[2];if(!g)return!1;c instanceof b&&c.replaceEntry("rqm","xhr");var f=c instanceof b?c.toFormData():c;h(f,d,e);return!0}k.exports=i})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsSendXHRWithRetry",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";f.getFbeventsModules("SignalsFBEventsNetworkConfig");f.getFbeventsModules("SignalsParamList");var a=f.getFbeventsModules("SignalsFBEventsLogging"),b=a.logError,c=1e3,d=0,e={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4};function g(a,f,h,i){var j=new XMLHttpRequest();j.withCredentials=!0;var k;h=="GET"?k=f+"?"+a.toQueryString():k=f;j.open(h,k);j.onreadystatechange=function(){if(j.readyState===e.DONE&&j.status!==200){if(i>=d){b(new Error("Reached the max number of retries for "+h));return}setTimeout(function(){g(a,f,h,i+1)},c)}};h=="POST"?j.send(a.toFormData()):j.send()}k.exports=g})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsSetESTRules",function(){return function(g,h,j,k){var l={exports:{}};l.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent"),b=f.getFbeventsModules("SignalsFBEventsUtils");b.filter;b.map;b=f.getFbeventsModules("SignalsFBEventsTyped");var c=b.coerce;b=b.Typed;f.getFbeventsModules("signalsFBEventsCoerceParameterExtractors");var d=f.getFbeventsModules("signalsFBEventsCoercePixelID"),e=b.arrayOf(b.objectWithFields({condition:b.string(),derived_event_name:b.string(),rule_status:b.allowNull(b.string()),transformations:b.allowNull(b.array()),rule_id:b.allowNull(b.string())}));function g(){for(var a=arguments.length,b=Array(a),f=0;f1&&arguments[1]!==void 0?arguments[1]:0,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!f&&!i)return;try{var k=new b(null);k.append("v",g.fbq&&g.fbq.version?g.fbq.version:"unknown");k.append("rs",h);k.append("e",d);k.append("p",e);c(k,{ignoreRequestLengthCheck:!0,url:j})}catch(b){a.logError(b)}}function m(a){l("FBMQ_FORWARDED",a,!0)}k.exports={logMobileNativeForwarding:m}})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsTyped",function(){return function(g,h,m,d){var e={exports:{}};e.exports;(function(){"use strict";var a=Object.assign||function(a){for(var b=1;b0&&arguments[0]!==void 0?arguments[0]:"";n(this,a);var c=j(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,b));c.name="FBEventsCoercionError";return c}return a}(Error);function h(a){return Object.values(a)}function m(){return function(a){if(typeof a!=="boolean")throw new g();return a}}function o(){return function(a){if(typeof a!=="number")throw new g();return a}}function p(){return function(a){if(typeof a!=="string")throw new g();return a}}function q(){return function(a){if((typeof a==="undefined"?"undefined":i(a))!=="object"||Array.isArray(a)||a==null)throw new g();return a}}function r(){return function(a){if(a==null||!Array.isArray(a))throw new g();return a}}function s(a){return function(b){if(h(a).includes(b))return b;throw new g()}}function t(a){return function(b){return y(b,F.array()).map(a)}}function u(b){return function(e){var d=y(e,F.object());return c(Object.keys(d),function(c,e){return a({},c,l({},e,b(d[e])))},{})}}function v(a){return function(b){return b==null?null:a(b)}}function w(b){return function(e){var d=y(e,F.object());e=c(Object.keys(b),function(c,e){if(c==null)return null;var f=b[e],g=d[e];f=f(g);return a({},c,l({},e,f))},{});return e}}function x(a,b){try{return b(a)}catch(a){if(a.name==="FBEventsCoercionError")return null;throw a}}function y(a,b){return b(a)}function z(a){return function(b){b=y(b,F.string());if(a.test(b))return b;throw new g()}}function A(a){if(!a)throw new g()}function B(a){return function(b){b=y(b,r());A(b.length===a.length);return b.map(function(b,c){return y(b,a[c])})}}function C(a){var b=a.def,c=a.validators;return function(a){var d=y(a,b);c.forEach(function(a){if(!a(d))throw new g()});return d}}var D=/^[1-9][0-9]{0,25}$/;function E(){return C({def:function(a){var b=x(a,F.number());if(b!=null){F.assert(d(b));return""+b}return y(a,F.string())},validators:[function(a){return D.test(a)}]})}var F={allowNull:v,array:r,arrayOf:t,assert:A,"boolean":m,enumeration:s,fbid:E,mapOf:u,matches:z,number:o,object:q,objectWithFields:w,string:p,tuple:B,withValidation:C};e.exports={Typed:F,coerce:x,enforce:y,FBEventsCoercionError:g}})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsTypeVersioning",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){var a=f.getFbeventsModules("SignalsFBEventsTyped");a.coerce;var b=a.enforce,c=a.FBEventsCoercionError;function d(a){return function(d){for(var e=0;e=0&&a<=Number.MAX_SAFE_INTEGER}function p(a,c,d){var e=b?"on"+c:c;c=b?a.attachEvent:a.addEventListener;var f=b?a.detachEvent:a.removeEventListener,g=function b(){f&&f.call(a,e,b,!1),d()};c&&c.call(a,e,g,!1)}var q=Object.prototype.hasOwnProperty,r=!{toString:null}.propertyIsEnumerable("toString"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],t=s.length;function u(a){if((typeof a==="undefined"?"undefined":i(a))!=="object"&&(typeof a!=="function"||a===null))throw new TypeError("Object.keys called on non-object");var b=[];for(var c in a)q.call(a,c)&&b.push(c);if(r)for(c=0;c>>0;if(typeof b!=="function")throw new TypeError(b+" is not a function");var d=new Array(c),e=0;while(e>>0,g=0;if(c!=null||d===!0)d=c;else{while(g=f)throw new TypeError("Reduce of empty array with no initial value");d=e[g++]}while(g>>0,d=arguments.length>=2?arguments[1]:void 0;for(var e=0;e>>0;if(typeof a!=="function")throw new TypeError();var d=[],e=arguments.length>=2?arguments[1]:void 0;for(var f=0;f=0}function G(a,b){return a==null||b==null?!1:a.indexOf(b)===0}D={FBSet:D,castTo:E,each:function(a,b){v.call(this,a,b)},filter:function(a,b){return z.call(a,b)},idx:A,isArray:d,isEmptyObject:y,isInstanceOf:c,isInteger:m,isNumber:e,isObject:f,isPlainObject:k,isSafeInteger:o,keys:u,listenOnce:p,map:v,reduce:w,some:function(a,b){return x.call(a,b)},stringIncludes:F,stringStartsWith:G};l.exports=D})();return l.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsValidateCustomParametersEvent",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent"),b=f.getFbeventsModules("SignalsFBEventsTyped"),c=b.coerce,d=b.Typed,e=f.getFbeventsModules("SignalsFBEventsPixelTypedef");b=f.getFbeventsModules("SignalsFBEventsCoercePrimitives");b.coerceString;function g(){for(var a=arguments.length,b=Array(a),f=0;f2&&arguments[2]!==void 0?arguments[2]:!1;this._append({name:encodeURIComponent(b),value:c},a,d);return this}},{key:"appendHash",value:function(b){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&this._append({name:encodeURIComponent(d),value:b[d]},a,c);return this}},{key:"_removeKey",value:function(a){this._params["delete"](a)}},{key:"_removeObjectKey",value:function(a,b){for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=a+"["+encodeURIComponent(c)+"]";this._removeKey(d)}}},{key:"_append",value:function(b,f,g){var h=b.name;b=b.value;if(b!=null)for(var i=0;i=0)return!0;if(b.documentElement&&b.documentElement.getAttribute){c=l(["selenium","webdriver","driver"],function(b){return a.document.documentElement.getAttribute(b)?!0:!1});if(c)return!0}return!1}function t(){if(u(["_phantom","__nightmare","callPhantom"]))return!0;return/HeadlessChrome/.test(a.navigator.userAgent)?!0:!1}function u(b){b=l(b,function(b){return a[b]?!0:!1});return b}function v(){var a=0,b=0,c=0;try{a=p(s(),i.IS_SELENIUM),b=p(t(),i.IS_HEADLESS)}catch(a){c=i.HAS_DETECTION_FAILED}return{hasDetectionFailed:c,isHeadless:b,isSelenium:a}}k=new b(function(a,b){if(m)return;var e={};h.listen(function(a){a!=null&&(e[typeof a==="string"?a:a.id]=!0)});var k={};g.listen(function(a){a!=null&&(k[typeof a==="string"?a:a.id]=!0)});var l={};d.listen(function(a){a!=null&&(l[typeof a==="string"?a:a.id]=!0)});c.listen(function(c){var d=b.optIns,f=p(c!=null&&d.isOptedOut(c.id,"AutomaticSetup"),i.AUTO_CONFIG_OPT_OUT);d=p(c!=null&&d.isOptedIn(c.id,"AutomaticSetup"),i.AUTO_CONFIG);var g=p(a.disableConfigLoading!==!0,i.CONFIG_LOADING),h=p(n(),i.SUPPORTS_DEFINE_PROPERTY),m=p(o(),i.SUPPORTS_SEND_BEACON),q=p(c!=null&&k[c.id],i.HAS_CONFLICTING_PII),r=p(c!=null&&e[c.id],i.HAS_INVALIDATED_PII);c=p(c!=null&&l[c.id],i.HAS_AUTOMATCHED_PII);var s=p(j.getShouldProxy(),i.SHOULD_PROXY),t=v();f=f|d|g|h|m|r|s|t.isHeadless|t.isSelenium|t.hasDetectionFailed|q|c;return{o:f}});m=!0});k.OPTIONS=i;e.exports=k})();return e.exports}(a,b,c,d)});e.exports=f.getFbeventsModules("SignalsFBEvents.plugins.opttracking");f.registerPlugin&&f.registerPlugin("fbevents.plugins.opttracking",e.exports);f.ensureModuleRegistered("fbevents.plugins.opttracking",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;var g=function(){function a(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g=a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"](),a;!(d=(a=g.next()).done);d=!0){c.push(a.value);if(b&&c.length===b)break}}catch(a){e=!0,f=a}finally{try{!d&&g["return"]&&g["return"]()}finally{if(e)throw f}}return c}return function(b,c){if(Array.isArray(b))return b;else if((typeof Symbol==="function"?Symbol.iterator:"@@iterator")in Object(b))return a(b,c);else throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function h(a){return Array.isArray(a)?a:Array.from(a)}function i(a){if(Array.isArray(a)){for(var b=0,c=Array(a.length);b1?b-1:0),d=1;d1&&N({type:"MULTIPLE_PIXELS"});function va(){if(f.disablePushState===!0)return;if(!d.pushState||!d.replaceState)return;var b=w(function(){ia=R;R=c.href;if(R===ia)return;var a=new ka({allowDuplicatePageViews:!0});Y.call(a,"trackCustom","PageView")});v(d,"pushState",b);v(d,"replaceState",b);a.addEventListener("popstate",b,!1)}function wa(){"onpageshow"in a&&a.addEventListener("pageshow",function(a){if(a.persisted){a=new ka({allowDuplicatePageViews:!0});Y.call(a,"trackCustom","PageView")}})}H.listenOnce(function(){va(),wa()});function xa(a){f._initHandlers.push(a),ma()}function ya(){return{pixelInitializationTime:P,pixels:T}}function za(a){a.instance=W,a.callMethod=Y,a._initHandlers=[],a._initsDone={},a.send=ra,a.getEventCustomParameters=sa,a.addInitHandler=xa,a.getState=ya,a.init=Z,a.set=la,a.loadPlugin=function(a){return X.loadPlugin(a)},a.registerPlugin=function(a,b){X.registerPlugin(a,b)}}za(a.fbq);ua();e.exports={doExport:za};o.trigger()})();return e.exports}(a,b,c,d)});e.exports=f.getFbeventsModules("SignalsFBEvents");f.registerPlugin&&f.registerPlugin("fbevents",e.exports);f.ensureModuleRegistered("fbevents",function(){return e.exports})})()})(window,document,location,history); fbq.registerPlugin("global_config", {__fbEventsPlugin: 1, plugin: function(fbq, instance, config) { fbq.loadPlugin("commonincludes"); fbq.loadPlugin("opttracking"); fbq.set("experiments", [{"allocation":0,"code":"b","name":"network_retry_when_not_success","passRate":0.5},{"allocation":0.02,"code":"c","name":"no_op_exp","passRate":0.5},{"allocation":0,"code":"e","name":"retrieve_fbclid_from_browser_properties","passRate":0.5}]); config.set(null, "batching", {"batchWaitTimeMs":501,"maxBatchSize":10}); config.set(null, "microdata", {"waitTimeMs":500});instance.configLoaded("global_config"); }});