/** * 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.8.34"; fbq._releaseSegment = "stable"; fbq.pendingConfigs=["global_config"]; (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){for(var c=0;c>>0;if(typeof b!=="function")throw new TypeError(b+" is not a function");c=new Array(e);d=0;while(d>>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;f1&&arguments[1]!==void 0?arguments[1]:{};if(!a)return m({type:"NO_EVENT_NAME"});var c=h[a];return!c?n([{type:"NONSTANDARD_EVENT",eventName:a}]):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&&!j.call(b,i))return m({type:"REQUIRED_PARAM_MISSING",param:i,eventName:a});if(k.type&&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({type:"NEGATIVE_EVENT_PARAM",param:i,eventName:a?a:"null"});o=k;break;case e:o=typeof l==="string"&&!!g[l.toUpperCase()];break}if(!o)return m({type:"INVALID_PARAM",param:i,eventName:a})}}}return n(h)}function r(a,c){a=p(a,c);a.error&&b(a.error);if(a.warnings)for(var c=0;c1?c-1:0),e=1;e1?e-1:0),g=1;g2&&arguments[2]!==void 0?arguments[2]:!1;if(typeof b!=="string"||!x(b))throw new Error('Invalid Argument: "'+b+'" is not a valid opt-in feature');x(b)&&(this.optIns.optIn(a,b,d),o([b].concat(j(v[b]||[])),function(a){w[a]&&o(w[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():t({type:"INVALID_CONSENT_ACTION",action:a});return this}},{key:"setUserProperties",value:function(a,b){if(!Object.prototype.hasOwnProperty.call(this.pixelsByID,a)){t({type:"PIXEL_NOT_INITIALIZED",pixelID:a});return}var c=this.getDefaultSendData(a,"UserProperties");c.customData=b;c.customParameters={es:"userProperties"};this.trackSingleSystem("user_properties",a,"UserProperties",b)}},{key:"trackSingle",value:function(b,c,d,e){a.validateEventAndLog(c,d);return this.trackSingleGeneric(b,c,d,e)}},{key:"trackSingleCustom",value:function(a,b,c,d){return this.trackSingleGeneric(a,b,c,d)}},{key:"trackSingleSystem",value:function(a,b,c,d){return this.trackSingleGeneric(b,c,d,null,a)}},{key:"trackSingleGeneric",value:function(a,b,c,d,e){a=typeof a==="string"?a:a.id;if(!Object.prototype.hasOwnProperty.call(this.pixelsByID,a)){var f={type:"PIXEL_NOT_INITIALIZED",pixelID:a};e==null?t(f):s(new Error(f.type+" "+f.pixelID));return this}f=this.getDefaultSendData(a,b,d);f.customData=c;e!=null&&(f.customParameters={es:e});this.fire(f,!1);return this}},{key:"_validateSend",value:function(b,c){if(!b.eventName||!b.eventName.length)throw new Error("Event name not specified");if(!b.pixelId||!b.pixelId.length)throw new Error("PixelId not specified");b.set&&o(q(p(b.set),function(b){return a.validateMetadata(b)}),function(a){if(a.error)throw new Error(a.error);a.warnings.length&&o(a.warnings,t)});if(c){c=a.validateEvent(b.eventName,b.customData||{});if(c.error)throw new Error(c.error);c.warnings&&c.warnings.length&&o(c.warnings,t)}return this}},{key:"fire",value:function(a){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this._validateSend(a,b);if(a.userData&&p(a.userData).length>0&&!this.fbq.loadPlugin("identity")){g.fbq("fire",a);return this}var c=this.fbq.getEventCustomParameters(this.getPixel(a.pixelId)),d=a.eventData.eventID;c.append("eid",d);var e=a.customParameters;e&&o(p(e),function(a){if(c.containsKey(a))throw new Error("Custom parameter "+a+" already specified.");else c.append(a,e[a])});n.sendEvent(a.pixelId,a.eventName,a.customData,c);return this}},{key:"callMethod",value:function(a){var b=a[0];a=Array.prototype.slice.call(a,1);if(typeof b!=="string"){t({type:"FBQ_NO_METHOD_NAME"});return}if(typeof this[b]==="function")try{this[b].apply(this,a)}catch(a){s(a)}else t({type:"INVALID_FBQ_METHOD",method:b})}},{key:"getDefaultSendData",value:function(a,b,c){var d=this.getPixel(a);a={pixelId:a,eventName:b,eventData:c||{}};d&&(d.userData&&(a.userData=d.userData),d.agent!=null&&d.agent!==""?a.set={agent:d.agent}:this.fbq.agent!=null&&this.fbq.agent!==""&&(a.set={agent:this.fbq.agent}));return a}},{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:"loadConfig",value:function(a){if(this.fbq.disableConfigLoading===!0||Object.prototype.hasOwnProperty.call(this.configsLoaded,a))return;this.locks.lockConfig(a);(!this.fbq.pendingConfigs||r(this.fbq.pendingConfigs,function(b){return b===a})==!1)&&y(a,this.VERSION,this.RELEASE_SEGMENT!=null?this.RELEASE_SEGMENT:"stable")}},{key:"configLoaded",value:function(a){this.configsLoaded[a]=!0,this.locks.releaseConfig(a),this.fbq.trigger("configLoaded",a)}}]);return d}();e.exports=h})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsFireLock",function(){return function(g,h,j,d){var e={exports:{}};e.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsUtils"),b=a.each,c=a.keys;a=function(){function a(){k(this,a),this._locks={},this._callbacks=[]}i(a,[{key:"lock",value:function(a){this._locks[a]=!0}},{key:"release",value:function(a){Object.prototype.hasOwnProperty.call(this._locks,a)&&(delete this._locks[a],c(this._locks).length===0&&b(this._callbacks,function(b){return b(a)}))}},{key:"onUnlocked",value:function(a){this._callbacks.push(a)}},{key:"isLocked",value:function(){return c(this._locks).length>0}},{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();e.exports=a})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsJSLoader",function(){return function(f,g,h,i){var j={exports:{}};j.exports;(function(){"use strict";var a={CDN_BASE_URL:"https://connect.facebook.net/"};function b(){var b=g.getElementsByTagName("script");for(var c=0;c0}function p(a){return Object.prototype.hasOwnProperty.call(i,a)?i[a]:a}function q(a){return Object.prototype.hasOwnProperty.call(j,a)?j[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":h(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,e){c(n(a),function(c){return c.sendEvent(a.id,p(b),JSON.stringify(s(d)))}),t++,setTimeout(u,0)}e.exports={pixelHasActiveBridge:o,registerBridge:m,sendEvent:v}})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsNetworkUtils",function(){return function(g,h,i,j){var e={exports:{}};e.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsProxyState"),b=f.getFbeventsModules("SignalsFBEventsQE"),c=f.getFbeventsModules("SignalsFBEventsUtils"),d=c.listenOnce;function i(b,c){return c!=null&&a.getShouldProxy()?c:b}var j={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4};c=function c(){var e=this;k(this,c);this.sendGET=function(b,c,d){var f=b.toQueryString();f=i(c,d)+"?"+f;if(f.length<2048){var g=new Image();if(d!=null){var h=a.getShouldProxy();g.onerror=function(){a.setShouldProxy(!0),h||e.sendGET(b,c,d)}}g.src=f;return!0}return!1};this.sendPOST=function(a,c,d){var f=b.get("xhr_cors_post");if(f){a.append("exp",f.code);if(f.isInExperimentGroup)return e._sendXHRPost(a,c,d)}return e._sendFormPOST(a,c,d)};this._sendXHRPost=function(b,c,d){var f=new XMLHttpRequest(),g=function(){if(d!=null){var f=a.getShouldProxy();a.setShouldProxy(!0);f||e.sendPOST(b,c,d)}};if("withCredentials"in f)f.withCredentials=!0,f.open("POST",c,!1),f.onreadystatechange=function(){if(f.readyState!==j.DONE)return;f.status!==200&&g()};else if(XDomainRequest!=void 0)f=new XDomainRequest(),f.open("POST",c),f.onerror=g;else return!1;f.send(b.toFormData());return!0};this._sendFormPOST=function(b,c,f){var j="fb"+Math.random().toString().replace(".",""),k=h.createElement("form");k.method="post";k.action=i(c,f);k.target=j;k.acceptCharset="utf-8";k.style.display="none";var l=!!(g.attachEvent&&!g.addEventListener),m=h.createElement("iframe");l&&(m.name=j);m.src="about:blank";m.id=j;m.name=j;k.appendChild(m);d(m,"load",function(){b.each(function(a,b){var c=h.createElement("input");c.name=decodeURIComponent(a);c.value=b;k.appendChild(c)}),d(m,"load",function(){k.parentNode&&k.parentNode.removeChild(k)}),k.submit()});if(f!=null){var n=a.getShouldProxy();m.onerror=function(){a.setShouldProxy(!0),n||e.sendPOST(b,c,f)}}h.body!=null&&h.body.appendChild(k);return!0};this.sendBeacon=function(b,c,d){if(g.navigator&&g.navigator.sendBeacon){var f=g.navigator.sendBeacon(i(c,d),b.toFormData());if(d!=null&&!f){f=a.getShouldProxy();a.setShouldProxy(!0);f||e.sendBeacon(b,c,d)}return!0}return!1}};e.exports=new c()})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsOptIn",function(){return function(g,h,c,d){var e={exports:{}};e.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsUtils"),b=a.each,c=a.filter,d=a.keys,g=a.some;function h(a){b(d(a),function(b){if(g(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]:{};k(this,a);this._opts={};this._subOpts=b;h(this._subOpts)}i(a,[{key:"_getOpts",value:function(a){return[].concat(j(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}();e.exports=a})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsProxyState",function(){return function(f,g,h,i){var j={exports:{}};j.exports;(function(){"use strict";var a=!1;j.exports={getShouldProxy:function(){return a},setShouldProxy:function(b){a=b}}})();return j.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsQE",function(){return function(f,h,j,d){var e={exports:{}};e.exports;(function(){"use strict";var a=function(){return Math.random()};function b(c){var b=a();for(var d=0;d1)throw new Error("passRate should be between 0 and 1 in "+e.name);if(b>=i&&b1&&arguments[1]!==void 0?arguments[1]:0,e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!e&&!i)return;try{var f=new d(null);f.append("v",g.fbq&&g.fbq.version?g.fbq.version:"unknown");f.append("rs",h);f.append("e",event);f.append("p",b);c(f,"https://connect.facebook.net/log/fbevents_telemetry/")}catch(b){a.logError(b)}}function l(){j("COALESCE_INIT")}function m(a){j("COALESCE_COMPLETE",a)}function n(a){j("FBMQ_FORWARDED",a,!0)}k.exports={logStartBatch:l,logEndBatch:m,logMobileNativeForwarding:n}})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsUtils",function(){return function(f,g,j,d){var e={exports:{}};e.exports;(function(){"use strict";var a=Object.prototype.toString,b=!("addEventListener"in g);function c(a,b){return b!=null&&a instanceof b}function d(b){return Array.isArray?Array.isArray(b):a.call(b)==="[object Array]"}function f(a){return typeof a==="number"||typeof a==="string"&&/^\d+$/.test(a)}var j=Number.isInteger||function(a){return typeof a==="number"&&isFinite(a)&&Math.floor(a)===a};function l(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 m=Object.prototype.hasOwnProperty,n=!{toString:null}.propertyIsEnumerable("toString"),o=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],p=o.length;function q(a){if(Object.keys)return Object.keys(a);if((typeof a==="undefined"?"undefined":h(a))!=="object"&&(typeof a!=="function"||a===null))throw new TypeError("Object.keys called on non-object");var b=[];for(var c in a)m.call(a,c)&&b.push(c);if(n)for(var d=0;d>>0;if(typeof b!=="function")throw new TypeError(b+" is not a function");c=new Array(e);d=0;while(d>>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;f2&&arguments[2]!==void 0?arguments[2]:!1;this._append(encodeURIComponent(b),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(encodeURIComponent(d),b[d],a,c);return this}},{key:"_append",value:function(b,e,f,g){d(e)?this._appendPrimitive(b,e,g):f===a?this._appendObject(b,e,g):this._appendPrimitive(b,c(e),g)}},{key:"_translateValue",value:function(a,b,c){if(typeof b==="boolean")return b?"true":"false";if(!c)return""+b;if(!this._piiTranslator)throw new Error();return this._piiTranslator(a,""+b)}},{key:"_appendPrimitive",value:function(a,b,c){if(b!=null){b=this._translateValue(a,b,c);b!=null&&this._params.push({name:a,value:b})}}},{key:"_appendObject",value:function(a,c,d){var e=null;for(var f in c)if(Object.prototype.hasOwnProperty.call(c,f)){var g=a+"["+encodeURIComponent(f)+"]";try{this._append(g,c[f],b,d)}catch(a){e==null&&(e=a)}}if(e!=null)throw e}},{key:"each",value:function(a){for(var b=0;b-1;b=b.userAgent.match("CriOS");return!b&&a!==null&&a!==void 0&&c==="Google Inc."&&d===!1&&e===!1}function t(a,c,d,f,h){if(g.navigator&&g.navigator.sendBeacon){h=new e(h);o(h,a,c,d);f&&h.addRange(f);b.sendBeacon(h,l.ENDPOINT)}}k.exports={CONFIG:l,sendEvent:r,sendBeaconPII:t,setIsChrome:a}})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsInjectMethod",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("signalsFBEventsMakeSafe");function b(b,c,d){var e=b[c],f=a(d);b[c]=function(){var a=e.apply(this,arguments);f.apply(this,arguments);return a}}k.exports=b})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsMakeSafe",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsLogging");a=a.logError;function b(b){return typeof b!=="function"?b:function(){try{return b.apply(this,arguments)}catch(b){a(b)}return void 0}}k.exports=b})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEvents",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=g.fbq;a.execStart=g.performance&&typeof g.performance.now==="function"?g.performance.now():null;var b=a.getFbeventsModules("SignalsFBEventsQE"),c=a.getFbeventsModules("SignalsParamList"),d=a.getFbeventsModules("SignalsPixelEndpoint"),e=a.getFbeventsModules("SignalsEvents"),l=a.getFbeventsModules("SignalsFBEventsUtils"),m=a.getFbeventsModules("SignalsFBEventsLogging"),n=a.getFbeventsModules("SignalsEventValidation"),o=a.getFbeventsModules("SignalsFBEventsFBQ"),p=a.getFbeventsModules("SignalsFBEventsJSLoader"),q=a.getFbeventsModules("SignalsFBEventsFireLock"),r=a.getFbeventsModules("SignalsFBEventsMobileAppBridge"),s=a.getFbeventsModules("signalsFBEventsInjectMethod"),t=a.getFbeventsModules("signalsFBEventsMakeSafe"),u=a.getFbeventsModules("SignalsFBEventsConfigStore"),v=e.on,w=e.once,x=e.trigger,y=l.each;e=l.FBSet;var z=l.isArray,A=l.isInteger,B=l.isEmptyObject,C=l.isNumber,D=l.keys,E=m.logError,F=m.logUserError,G=q.global;function aa(b){return a.getFbeventsModules(b)}function ba(b){return a.fbIsModuleLoaded(b)}var H={},I=-1,ca=Array.prototype.slice,J=Object.prototype.hasOwnProperty,K=i.href,L=!1,M=!1,N=[],O={},P;h.referrer;var Q={PageView:new e(),PixelInitialized:new e()},R=new o(a,O);function da(a){for(var b in a)J.call(a,b)&&(this[b]=a[b]);return this}function S(b){try{var c=ca.call(arguments);if(G.isLocked()&&c[0]!=="consent"){a.queue.push(arguments);return}var d=c.length===1&&z(c[0]);d&&(c=c[0]);typeof c[0]!=="string"&&F({type:"FBQ_NO_METHOD_NAME"});if(b.slice(0,6)==="report"){var e=b.slice(6);e==="CustomEvent"?(e=(c[1]||{}).event||e,c=["trackCustom",e].concat(c.slice(1))):c=["track",e].concat(c.slice(1))}b=c.shift();switch(b){case"addPixelId":L=!0;U.apply(this,c);break;case"init":M=!0;U.apply(this,c);break;case"set":T.apply(this,c);break;case"track":if(C(c[0])){ha.apply(this,c);break}if(d){W.apply(this,c);break}ga.apply(this,c);break;case"trackCustom":W.apply(this,c);break;case"send":X.apply(this,c);break;case"on":v.apply(null,c);break;case"loadPlugin":$(c[0]);break;default:R.callMethod(arguments);break}}catch(a){E(a)}}function T(c){for(var e=arguments.length,f=Array(e>1?e-1:0),g=1;g=0&&a<=Number.MAX_SAFE_INTEGER};function U(a,b,c){I=I===-1?Date.now():I;if(typeof a==="number")ea(a)||F({type:"INVALID_PIXEL_ID",pixelID:a.toString()}),a=a.toString();else if(typeof a==="string"){var d=/^[1-9][0-9]{0,25}$/;d.test(a)||F({type:"INVALID_PIXEL_ID",pixelID:a})}else if(a===void 0)F({type:"INVALID_PIXEL_ID",pixelID:"undefined"});else if(a===null)F({type:"INVALID_PIXEL_ID",pixelID:"null"});else{typeof a.toString==="function"?F({type:"INVALID_PIXEL_ID",pixelID:a.toString()}):F({type:"INVALID_PIXEL_ID",pixelID:"[no toString]"});return}if(J.call(O,a)){b&&B(O[a].userData)?(O[a].userData=b,$("identity")):F({type:"DUPLICATE_PIXEL_ID",pixelID:a});return}d={agent:c?c.agent:null,id:a,userData:b||{},eventCount:0};N.push(d);O[a]=d;b!=null&&$("identity");V();R.loadConfig(a)}function V(){for(var b=0;b1&&F({type:"MULTIPLE_PIXELS"});function la(){if(a.disablePushState===!0)return;if(!j.pushState||!j.replaceState)return;var b=t(function(){P=K;K=i.href;if(K===P)return;var a=new da({allowDuplicatePageViews:!0});S.call(a,"trackCustom","PageView")});s(j,"pushState",b);s(j,"replaceState",b);g.addEventListener("popstate",b,!1)}w("fired",function(){return la()});function ma(b){a._initHandlers.push(b),V()}function na(){return{pixelInitializationTime:I,pixels:N}}function oa(a){a.instance=R,a.callMethod=S,a.loadPlugin=$,a.registerPlugin=ka,a._initHandlers=[],a._initsDone={},a.on=v,a.once=w,a.send=X,a.trigger=x,a.getEventCustomParameters=Y,a.addInitHandler=ma,a.getState=na,a.init=U,a.set=T}oa(g.fbq);ia();k.exports={doExport:oa};x("execEnd");x("initialized",a)})();return k.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("opttracking"); fbq.set("experiments", {"0":{"name":"beacon","range":[0,0],"code":"b","passRate":0.5},"1":{"name":"logDataLayer","range":[0,0],"code":"d","passRate":0},"2":{"name":"button_click_send_beacon","range":[0,0.1],"code":"e","passRate":0.5},"3":{"name":"button_click_send_beacon_all_browser","range":[0.11,0.12],"code":"f","passRate":0.5},"4":{"name":"all_event_send_beacon","range":[0.12,0.13],"code":"g","passRate":0.5},"5":{"name":"send_coalescence_telemetry","range":[0,0],"code":"h","passRate":0.5},"6":{"name":"xhr_cors_post","range":[0,0],"code":"x","passRate":0.5}});instance.configLoaded("global_config"); }});