connect.facebook.net
Open in
urlscan Pro
2a03:2880:f01c:8012:face:b00c:0:3
Public Scan
URL:
https://connect.facebook.net/en_US/fbevents.js
Submission: On April 11 via api from US — Scanned from DE
Submission: On April 11 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
/** * 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.101"; 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;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1;d.configurable=!0;"value"in d&&(d.writable=!0);Object.defineProperty(a,d.key,d)}}return function(b,c,d){c&&a(b.prototype,c);d&&a(b,d);return b}}(),i=typeof Symbol==="function"&&typeof (typeof Symbol==="function"?Symbol.iterator:"@@iterator")==="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol==="function"&&a.constructor===Symbol&&a!==(typeof Symbol==="function"?Symbol.prototype:"@@prototype")?"symbol":typeof a};function j(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 k(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)}function l(a,b,c){b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c;return a}function m(a){if(Array.isArray(a)){for(var b=0,c=Array(a.length);b<a.length;b++)c[b]=a[b];return c}else return Array.from(a)}function n(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}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("generateUUID",function(){return function(f,g,h,i){var j={exports:{}};j.exports;(function(){"use strict";function a(){var a=new Date().getTime(),b="xxxxxxxsx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(b){var c=(a+Math.random()*16)%16|0;a=Math.floor(a/16);return(b=="x"?c:c&3|8).toString(16)});return b}j.exports=a})();return j.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsConvertNodeToHTMLElement",function(){return function(f,g,h,j){var k={exports:{}};k.exports;(function(){"use strict";function a(a){if((typeof HTMLElement==="undefined"?"undefined":i(HTMLElement))==="object")return a instanceof HTMLElement;else return a!==null&&(typeof a==="undefined"?"undefined":i(a))==="object"&&a.nodeType===Node.ELEMENT_NODE&&typeof a.nodeName==="string"}function b(b){return!a(b)?null:b}k.exports=b})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsEventValidation",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsLogging"),b=a.logUserError,c=/^[+-]?\d+(\.\d+)?$/,d="number",e="currency_code",g={AED:1,ARS:1,AUD:1,BOB:1,BRL:1,CAD:1,CHF:1,CLP:1,CNY:1,COP:1,CRC:1,CZK:1,DKK:1,EUR:1,GBP:1,GTQ:1,HKD:1,HNL:1,HUF:1,IDR:1,ILS:1,INR:1,ISK:1,JPY:1,KRW:1,MOP:1,MXN:1,MYR:1,NIO:1,NOK:1,NZD:1,PEN:1,PHP:1,PLN:1,PYG:1,QAR:1,RON:1,RUB:1,SAR:1,SEK:1,SGD:1,THB:1,TRY:1,TWD:1,USD:1,UYU:1,VEF:1,VND:1,ZAR:1};a={value:{isRequired:!0,type:d},currency:{isRequired:!0,type:e}};var h={AddPaymentInfo:{},AddToCart:{},AddToWishlist:{},CompleteRegistration:{},Contact:{},CustomEvent:{validationSchema:{event:{isRequired:!0}}},CustomizeProduct:{},Donate:{},FindLocation:{},InitiateCheckout:{},Lead:{},PageView:{},PixelInitialized:{},Purchase:{validationSchema:a},Schedule:{},Search:{},StartTrial:{},SubmitApplication:{},Subscribe:{},ViewContent:{}},i={agent:!0,automaticmatchingconfig:!0,codeless:!0,tracksingleonly:!0,"cbdata.onetrustid":!0},j=Object.prototype.hasOwnProperty;function l(){return{error:null,warnings:[]}}function m(a){return{error:a,warnings:[]}}function n(a){return{error:null,warnings:a}}function o(a){if(a){a=a.toLowerCase();var b=i[a];if(b!==!0)return m({metadata:a,type:"UNSUPPORTED_METADATA_ARGUMENT"})}return l()}function p(a){var b=arguments.length>1&&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<a.warnings.length;c++)b(a.warnings[c]);return a}k.exports={validateEvent:p,validateEventAndLog:r,validateMetadata:o}})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsBaseEvent",function(){return function(g,i,j,k){var l={exports:{}};l.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsUtils"),b=a.map,c=a.keys;a=function(){function a(b){n(this,a),this._regKey=0,this._subscriptions={},this._coerceArgs=b||null}h(a,[{key:"listen",value:function(a){var b=this,c=""+this._regKey++;this._subscriptions[c]=a;return function(){delete b._subscriptions[c]}}},{key:"listenOnce",value:function(a){var b=null,c=function(){b&&b();b=null;return a.apply(void 0,arguments)};b=this.listen(c);return b}},{key:"trigger",value:function(){var a=this;for(var d=arguments.length,e=Array(d),f=0;f<d;f++)e[f]=arguments[f];return b(c(this._subscriptions),function(b){var c;return(c=a._subscriptions)[b].apply(c,e)})}},{key:"triggerWeakly",value:function(){var a=this._coerceArgs!=null?this._coerceArgs.apply(this,arguments):null;return a==null?[]:this.trigger.apply(this,m(a))}}]);return a}();l.exports=a})();return l.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsBatcher",function(){return function(g,i,j,k){var l={exports:{}};l.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsConfigStore"),b=1e3,c=10;function d(){var b=a.get(null,"batching");return b!=null?b.maxBatchSize:c}function e(){var c=a.get(null,"batching");return c!=null?c.batchWaitTimeMs:b}var i=function(){function a(b){n(this,a),this._waitHandle=null,this._data=[],this._cb=b}h(a,[{key:"addToBatch",value:function(a){var b=this;this._waitHandle==null&&(this._waitHandle=g.setTimeout(function(){b._waitHandle=null,b.forceEndBatch()},e()));this._data.push(a);this._data.length>=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;b<arguments.length;b++){var c=arguments[b];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a},b=f.getFbeventsModules("SignalsFBEventsUtils"),c=b.filter,d=b.map,e=b.reduce;function g(a){return Object.values(a)}function h(a){return typeof a==="boolean"?a:null}function j(a){return typeof a==="number"?a:null}function k(a){return typeof a==="string"?a:null}function n(a){return(typeof a==="undefined"?"undefined":i(a))==="object"&&!Array.isArray(a)&&a!=null?a:null}function o(a){return Array.isArray(a)?a:null}function p(a,b){return g(a).includes(b)?b:null}function q(a,b){a=o(a);return a==null?null:c(d(a,b),function(a){return a!=null})}function r(a,b){var c=o(a);if(c==null)return null;a=q(a,b);return a==null?null:a.length===c.length?a:null}function s(b,c){var d=n(b);if(d==null)return null;b=e(Object.keys(d),function(b,e){var f=c(d[e]);return f==null?b:a({},b,l({},e,f))},{});return Object.keys(d).length===Object.keys(b).length?b:null}function t(a){var b=function(b){return a(b)};b.nullable=!0;return b}function u(b,c){var d=n(b);if(d==null)return null;b=Object.keys(c).reduce(function(b,e){if(b==null)return null;var f=c[e],g=d[e];if(f.nullable===!0&&g==null)return a({},b,l({},e,null));f=f(g);return f==null?null:a({},b,l({},e,f))},{});return b!=null?Object.freeze(b):null}m.exports={coerceArray:o,coerceArrayFilteringNulls:q,coerceArrayOf:r,coerceBoolean:h,coerceEnum:p,coerceMapOf:s,coerceNullableField:t,coerceNumber:j,coerceObject:n,coerceObjectWithFields:u,coerceString:k}})();return m.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsCoerceStandardParameter",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsUtils");a=a.FBSet;var b=new a(["content_category","content_ids","content_name","content_type","currency","contents","num_items","order_id","predicted_ltv","search_string","status","subscription_id","value","id","item_price","quantity","ct","db","em","external_id","fn","ge","ln","namespace","ph","st","zp"]);function c(a){return typeof a==="string"&&b.has(a)?a:null}k.exports=c})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsConfigLoadedEvent",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent"),b=f.getFbeventsModules("signalsFBEventsCoercePixelID");function c(a){a=b(a);return a!=null?[a]:null}a=new a(c);k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsConfigStore",function(){return function(g,i,j,k){var m={exports:{}};m.exports;(function(){"use strict";var a=f.getFbeventsModules("signalsFBEventsCoerceAutomaticMatchingConfig"),b=f.getFbeventsModules("signalsFBEventsCoerceBatchingConfig"),c=f.getFbeventsModules("signalsFBEventsCoerceInferedEventsConfig"),d=f.getFbeventsModules("signalsFBEventsCoercePixelID"),e=f.getFbeventsModules("SignalsFBEventsLogging"),g=e.logError,i=f.getFbeventsModules("SignalsFBEventsQE");e=f.getFbeventsModules("SignalsFBEventsBrowserPropertiesConfigTypedef");var j=f.getFbeventsModules("SignalsFBEventsBufferConfigTypedef"),k=f.getFbeventsModules("SignalsFBEventsESTRuleEngineConfigTypedef"),o=f.getFbeventsModules("SignalsFBEventsDataProcessingOptionsConfigTypedef"),p=f.getFbeventsModules("SignalsFBEventsDefaultCustomDataConfigTypedef"),q=f.getFbeventsModules("SignalsFBEventsMicrodataConfigTypedef"),r=f.getFbeventsModules("SignalsFBEventsOpenBridgeConfigTypedef"),s=f.getFbeventsModules("SignalsFBEventsParallelFireConfigTypedef"),t=f.getFbeventsModules("SignalsFBEventsProhibitedSourcesTypedef"),u=f.getFbeventsModules("SignalsFBEventsTyped"),v=u.Typed,w=u.coerce;u=f.getFbeventsModules("SignalsFBEventsUnwantedDataTypedef");var x="global",y={automaticMatching:a,openbridge:r,batching:b,inferredEvents:c,microdata:q,prohibitedSources:t,unwantedData:u,dataProcessingOptions:o,parallelfire:s,buffer:j,browserProperties:e,defaultCustomData:p,estRuleEngine:k};a=function(){function a(){var b;n(this,a);this._configStore=(b={automaticMatching:{},batching:{},inferredEvents:{},microdata:{},prohibitedSources:{},unwantedData:{},dataProcessingOptions:{},openbridge:{},parallelfire:{},buffer:{},defaultCustomData:{},estRuleEngine:{}},l(b,"defaultCustomData",{}),l(b,"browserProperties",{}),b)}h(a,[{key:"set",value:function(a,b,c){a=a==null?x:d(a);if(a==null)return;b=w(b,v.string());if(b==null)return;if(this._configStore[b]==null)return;this._configStore[b][a]=y[b]!=null?y[b](c):c}},{key:"setExperimental",value:function(a){a=w(a,v.objectWithFields({config:v.object(),experimentName:v.string(),pixelID:d,pluginName:v.string()}));if(a==null)return;var b=a.config,c=a.experimentName,e=a.pixelID;a=a.pluginName;i.isInTest(c)&&this.set(e,a,b)}},{key:"get",value:function(a,b){return this._configStore[b][a!=null?a:x]}},{key:"getWithGlobalFallback",value:function(a,b){var c=x;b=this._configStore[b];a!=null&&Object.prototype.hasOwnProperty.call(b,a)&&(c=a);return b[c]}},{key:"getAutomaticMatchingConfig",value:function(a){g(new Error("Calling legacy api getAutomaticMatchingConfig"));return this.get(a,"automaticMatching")}},{key:"getInferredEventsConfig",value:function(a){g(new Error("Calling legacy api getInferredEventsConfig"));return this.get(a,"inferredEvents")}}]);return a}();m.exports=new a()})();return m.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsDataProcessingOptionsConfigTypedef",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({dataProcessingOptions:a.withValidation({def:a.arrayOf(a.string()),validators:[function(a){return a.reduce(function(a,b){return a===!0&&b==="LDU"},!0)}]}),dataProcessingCountry:a.withValidation({def:a.allowNull(a.number()),validators:[function(a){return a===null||a===0||a===1}]}),dataProcessingState:a.withValidation({def:a.allowNull(a.number()),validators:[function(a){return a===null||a===0||a===1e3}]})});k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsDefaultCustomDataConfigTypedef",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({enable_order_id:b["boolean"](),enable_value:b["boolean"](),enable_currency:b["boolean"](),enable_contents:b["boolean"](),enable_content_ids:b["boolean"](),enable_content_type:b["boolean"](),experiment:b.allowNull(b.string())});k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsESTRuleEngineConfigTypedef",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({experimentName:b.allowNull(b.string())});k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsEvents",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent"),b=f.getFbeventsModules("SignalsFBEventsConfigLoadedEvent"),c=f.getFbeventsModules("SignalsFBEventsFiredEvent"),d=f.getFbeventsModules("SignalsFBEventsGetCustomParametersEvent"),e=f.getFbeventsModules("SignalsFBEventsGetIWLParametersEvent"),g=f.getFbeventsModules("SignalsFBEventsIWLBootStrapEvent"),h=f.getFbeventsModules("SignalsFBEventsPIIAutomatchedEvent"),i=f.getFbeventsModules("SignalsFBEventsPIIConflictingEvent"),j=f.getFbeventsModules("SignalsFBEventsPIIInvalidatedEvent"),l=f.getFbeventsModules("SignalsFBEventsPluginLoadedEvent"),m=f.getFbeventsModules("SignalsFBEventsSetEventIDEvent"),n=f.getFbeventsModules("SignalsFBEventsSetIWLExtractorsEvent"),o=f.getFbeventsModules("SignalsFBEventsSetESTRules"),p=f.getFbeventsModules("SignalsFBEventsValidateCustomParametersEvent"),q=f.getFbeventsModules("SignalsFBEventsValidateUrlParametersEvent"),r=f.getFbeventsModules("SignalsFBEventsGetAemResultEvent"),s=f.getFbeventsModules("SignalsFBEventsValidateGetClickIDFromBrowserProperties"),t=f.getFbeventsModules("SignalsFBEventsExtractPII");b={configLoaded:b,execEnd:new a(),fired:c,getCustomParameters:d,getIWLParameters:e,iwlBootstrap:g,piiAutomatched:h,piiConflicting:i,piiInvalidated:j,pluginLoaded:l,setEventId:m,setIWLExtractors:n,setESTRules:o,validateCustomParameters:p,validateUrlParameters:q,getAemResult:r,getClickIDFromBrowserProperties:s,extractPii:t};k.exports=b})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsExperimentNames",function(){return function(f,g,h,i){var j={exports:{}};j.exports;(function(){"use strict";j.exports={BATCHING_EXPERIMENT:"batching",SEND_BEACON_STRING_EXPERIMENT:"send_beacon_string",SEND_XHR_EXPERIMENT:"send_xhr",USE_FBC_AS_CACHE_KEY_EXPERIMENT:"use_fbc_as_cache_key",AAM_LISTEN_TO_SUBMIT_NOT_CLICK:"aam_listen_to_submit_not_click",ONLY_SEND_PII_WHEN_FORM_SUBMIT:"only_send_pii_when_form_submit",NETWORK_RETRY_EXPERIMENT:"network_retry_when_not_success",DISALLOW_PII_ON_STRICT_NON_SUBMIT:"disallow_pii_on_strict_non_submit",BUFFER_EVENTS_EXPERIMENT:"buffer_events",SKIP_X_FRAME_POST:"skip_x_frame_post",RETRIEVE_FBCLID_FROM_BROWSER_PROPERTIES:"retrieve_fbclid_from_browser_properties"}})();return j.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsExperimentsTypedef",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.enforce;a=b.arrayOf(b.objectWithFields({allocation:b.number(),code:b.string(),name:b.string(),passRate:b.number()}));k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsExtractPII",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.Typed,e=c.coerce;function g(a,c,f){c=e(a,b);f=d.allowNull(d.object());a=d.allowNull(d.object());return c!=null?[{pixel:c,form:f,button:a}]:null}c=new a(g);k.exports=c})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsFBQ",function(){return function(g,i,j,k){var l={exports:{}};l.exports;(function(){var a=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a},b=f.getFbeventsModules("SignalsEventValidation"),c=f.getFbeventsModules("SignalsFBEventsConfigStore"),d=f.getFbeventsModules("SignalsFBEventsEvents"),e=d.configLoaded,k=f.getFbeventsModules("SignalsFBEventsFireLock"),o=f.getFbeventsModules("SignalsFBEventsJSLoader");d=f.getFbeventsModules("SignalsFBEventsLogging");var p=f.getFbeventsModules("SignalsFBEventsOptIn"),q=f.getFbeventsModules("SignalsFBEventsUtils"),r=f.getFbeventsModules("signalsFBEventsGetIsIosInAppBrowser"),s=f.getFbeventsModules("SignalsFBEventsURLUtil"),t=s.getURLParameter;s=f.getFbeventsModules("SignalsPixelCookieUtils");var u=s.CLICK_ID_PARAMETER,v=s.readPackedCookie,w=s.CLICKTHROUGH_COOKIE_NAME;s=f.getFbeventsModules("SignalsFBEventsExperimentNames");var x=s.USE_FBC_AS_CACHE_KEY_EXPERIMENT,y=f.getFbeventsModules("SignalsFBEventsQE"),z=f.getFbeventsModules("SignalsParamList"),A=f.getFbeventsModules("signalsFBEventsSendEvent"),B=q.each,C=q.keys,D=q.map,E=q.some,F=d.logError,G=d.logUserError,H={AutomaticMatching:!0,AutomaticMatchingForPartnerIntegrations:!0,DefaultCustomData:!0,Buffer:!0,CommonIncludes:!0,FirstPartyCookies:!0,IWLBootstrapper:!0,IWLParameters:!0,IdentifyIntegration:!0,InferredEvents:!0,Microdata:!0,MicrodataJsonLd:!0,OpenBridge:!0,ParallelFire:!0,ProhibitedSources:!0,Timespent:!0,UnwantedData:!0,LocalComputation:!0,IABPCMAEBridge:!0,AEM:!0,BrowserProperties:!0,ESTRuleEngine:!0},I={Track:0,TrackCustom:4,TrackSingle:1,TrackSingleCustom:2,TrackSingleSystem:3,TrackSystem:5};s=["InferredEvents","Microdata"];var J={AutomaticSetup:s},K={AutomaticMatching:["inferredevents","identity"],AutomaticMatchingForPartnerIntegrations:["automaticmatchingforpartnerintegrations"],CommonIncludes:["commonincludes"],DefaultCustomData:["defaultcustomdata"],FirstPartyCookies:["cookie"],IWLBootstrapper:["iwlbootstrapper"],IWLParameters:["iwlparameters","inferredevents"],ESTRuleEngine:["estruleengine"],IdentifyIntegration:["identifyintegration"],Buffer:["buffer"],InferredEvents:["inferredevents","identity"],Microdata:["microdata","identity"],MicrodataJsonLd:["jsonld_microdata"],ParallelFire:["parallelfire"],ProhibitedSources:["prohibitedsources"],Timespent:["timespent"],UnwantedData:["unwanteddata"],LocalComputation:["localcomputation"],IABPCMAEBridge:["iabpcmaebridge"],AEM:["aem"],BrowserProperties:["browserproperties"]};function L(a){return!!(H[a]||J[a])}var M=function(a,b,c,d,e,f){var g=new z(function(a){return a});g.append("v",b);g.append("r",c);d===!0&&g.append("no_min",!0);e!=null&&e!=""&&g.append("domain",e);f!=null&&e!=""&&g.append("fbc",f);return o.CONFIG.CDN_BASE_URL+"signals/config/"+a+"?"+g.toQueryString()};function N(a,b,c,d,e,f){o.loadJSFile(M(a,b,c,e,d,f))}q=function(){function d(a,b){var e=this;n(this,d);this.VALID_FEATURES=H;this.optIns=new p(J);this.configsLoaded={};this.locks=k.global;this.pluginConfig=c;this.disableFirstPartyCookies=!1;this.forceWeakPIICheck=!1;this.disableErrorLogging=!1;this.VERSION=a.version;this.RELEASE_SEGMENT=a._releaseSegment;this.pixelsByID=b;this.fbq=a;B(a.pendingConfigs||[],function(a){return e.locks.lockConfig(a)})}h(d,[{key:"optIn",value:function(a,b){var c=this,d=arguments.length>2&&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;b<arguments.length;b++){var c=arguments[b];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a},b=f.getFbeventsModules("SignalsFBEventsBaseEvent"),c=f.getFbeventsModules("SignalsParamList");function d(b,d,e){var f=null;(b==="GET"||b==="POST"||b==="BEACON")&&(f=b);b=d instanceof c?d:null;d=(typeof e==="undefined"?"undefined":i(e))==="object"?a({},e):null;return f!=null&&b!=null&&d!=null?[f,b,d]:null}b=new b(d);l.exports=b})();return l.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsFireLock",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.keys;a=function(){function a(){n(this,a),this._locks={},this._callbacks=[]}h(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();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;f<a;f++)d[f]=arguments[f];var g=d[0];if(g==null||(typeof g==="undefined"?"undefined":i(g))!=="object")return null;var h=g.unsafePixel,j=g.unsafeTarget,k=e(h,c),l=j instanceof Node?b(j):null;return k!=null&&l!=null?[{pixel:k,target:l}]:null}l.exports=new a(g)})();return l.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(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];var d=e.apply(this,b);f.apply(this,b);return d}}k.exports=b})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsIWLBootStrapEvent",function(){return function(g,h,j,k){var l={exports:{}};l.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent"),b=f.getFbeventsModules("signalsFBEventsCoercePixelID");function c(){for(var a=arguments.length,c=Array(a),d=0;d<a;d++)c[d]=arguments[d];var e=c[0];if(e==null||(typeof e==="undefined"?"undefined":i(e))!=="object")return null;var f=e.graphToken,g=e.pixelID,h=b(g);return f!=null&&typeof f==="string"&&h!=null?[{graphToken:f,pixelID:h}]:null}a=new a(c);l.exports=a})();return l.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;c<b.length;c++){var d=b[c];if(d&&d.src&&d.src.indexOf(a.CDN_BASE_URL)!==-1)return d}return null}function c(a){var c=g.createElement("script");c.src=a;c.async=!0;a=b();a&&a.parentNode?a.parentNode.insertBefore(c,a):g.head&&g.head.firstChild&&g.head.appendChild(c)}j.exports={CONFIG:a,loadJSFile:c}})();return j.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsLegacyExperimentGroupsTypedef",function(){return function(g,h,j,k){var l={exports:{}};l.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsTyped"),b=a.Typed;a.coerce;var c=a.enforce;a=f.getFbeventsModules("SignalsFBEventsTypeVersioning");a=a.upgrade;function d(a){return a!=null&&(typeof a==="undefined"?"undefined":i(a))==="object"?Object.values(a):null}var e=function(a){a=Array.isArray(a)?a:d(a);return c(a,b.arrayOf(b.objectWithFields({code:b.string(),name:b.string(),passRate:b.number(),range:b.tuple([b.number(),b.number()])})))};function g(a){var b=a.name,c=a.code,d=a.range;a=a.passRate;return{allocation:d[1]-d[0],code:c,name:b,passRate:a}}l.exports=a(e,function(a){return a.map(g)})})();return l.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsLogging",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsUtils"),b=a.isArray,c=a.isInstanceOf,d=a.map,e=f.getFbeventsModules("SignalsParamList"),h=f.getFbeventsModules("signalsFBEventsSendGET"),i=f.getFbeventsModules("SignalsFBEventsJSLoader"),j=!1;function l(){j=!0}var m=!0;function n(){m=!1}var o=!1;function p(){o=!0}var q="console",r="warn",s=[];function t(a){g[q]&&g[q][r]&&(g[q][r](a),o&&s.push(a))}var u=!1;function v(){u=!0}function w(a){if(u)return;t("[Meta Pixel] - "+a)}var x="Meta Pixel Error",y=function(){g.postMessage!=null&&g.postMessage.apply(g,arguments)},z={};function A(a){switch(a.type){case"FBQ_NO_METHOD_NAME":return"You must provide an argument to fbq().";case"INVALID_FBQ_METHOD":var b=a.method;return"\"fbq('"+b+"', ...);\" is not a valid fbq command.";case"INVALID_FBQ_METHOD_PARAMETER":b=a.invalidParamName;var c=a.invalidParamValue,d=a.method,e=a.params;return"Call to \"fbq('"+d+"', "+C(e)+');" with parameter "'+b+'" has an invalid value of "'+B(c)+'"';case"INVALID_PIXEL_ID":d=a.pixelID;return"Invalid PixelID: "+d+".";case"DUPLICATE_PIXEL_ID":e=a.pixelID;return"Duplicate Pixel ID: "+e+".";case"SET_METADATA_ON_UNINITIALIZED_PIXEL_ID":b=a.metadataValue;c=a.pixelID;return"Trying to set argument "+b+" for uninitialized Pixel ID "+c+".";case"CONFLICTING_VERSIONS":return"Multiple pixels with conflicting versions were detected on this page.";case"MULTIPLE_PIXELS":return"Multiple pixels were detected on this page.";case"UNSUPPORTED_METADATA_ARGUMENT":d=a.metadata;return"Unsupported metadata argument: "+d+".";case"REQUIRED_PARAM_MISSING":e=a.param;b=a.eventName;return"Required parameter '"+e+"' is missing for event '"+b+"'.";case"INVALID_PARAM":c=a.param;d=a.eventName;return"Parameter '"+c+"' is invalid for event '"+d+"'.";case"NO_EVENT_NAME":return'Missing event name. Track events must be logged with an event name fbq("track", eventName)';case"NONSTANDARD_EVENT":e=a.eventName;return"You are sending a non-standard event '"+e+"'. The preferred way to send these events is using trackCustom. See 'https://developers.facebook.com/docs/ads-for-websites/pixel-events/#events' for more information.";case"NEGATIVE_EVENT_PARAM":b=a.param;c=a.eventName;return"Parameter '"+b+"' is negative for event '"+c+"'.";case"PII_INVALID_TYPE":d=a.key_type;e=a.key_val;return"An invalid "+d+" was specified for '"+e+"'. This data will not be sent with any events for this Pixel.";case"PII_UNHASHED_PII":b=a.key;return"The value for the '"+b+"' key appeared to be PII. This data will not be sent with any events for this Pixel.";case"INVALID_CONSENT_ACTION":c=a.action;return"\"fbq('"+c+"', ...);\" is not a valid fbq('consent', ...) action. Valid actions are 'revoke' and 'grant'.";case"INVALID_JSON_LD":d=a.jsonLd;return"Unable to parse JSON-LD tag. Malformed JSON found: '"+d+"'.";case"SITE_CODELESS_OPT_OUT":e=a.pixelID;return"Unable to open Codeless events interface for pixel as the site has opted out. Pixel ID: "+e+".";case"PIXEL_NOT_INITIALIZED":b=a.pixelID;return"Pixel "+b+" not found";case"UNWANTED_CUSTOM_DATA":return"Removed parameters from custom data due to potential violations. Go to Events Manager to learn more.";case"UNWANTED_URL_DATA":return"Removed URL query parameters due to potential violations.";default:F(new Error("INVALID_USER_ERROR - "+a.type+" - "+JSON.stringify(a)));return"Invalid User Error."}}var B=function(a){if(typeof a==="string")return"'"+a+"'";else if(typeof a=="undefined")return"undefined";else if(a===null)return"null";else if(!b(a)&&a.constructor!=null&&a.constructor.name!=null)return a.constructor.name;try{return JSON.stringify(a)||"undefined"}catch(a){return"undefined"}},C=function(a){return d(a,B).join(", ")};function D(a,b){try{var d=g.fbq.instance.pluginConfig.get(null,"dataProcessingOptions");if(d!=null&&d.dataPrivacyOptions.includes("LDU"))return;d=Math.random();var f=g.fbq&&g.fbq._releaseSegment?g.fbq._releaseSegment:"unknown";if((!g.fbq||!g.fbq.disableErrorLogging)&&(m&&d<.01||f==="canary")){d=new e(null);d.append("p","pixel");d.append("v",g.fbq&&g.fbq.version?g.fbq.version:"unknown");d.append("e",a.toString());c(a,Error)&&(d.append("f",a.fileName),d.append("s",a.stackTrace||a.stack));d.append("ue",b?"1":"0");d.append("rs",f);h(d,{url:i.CONFIG.CDN_BASE_URL+"/log/error",ignoreRequestLengthCheck:!0})}}catch(a){}}function E(a){var b=JSON.stringify(a);if(!Object.prototype.hasOwnProperty.call(z,b))z[b]=!0;else return;b=A(a);w(b);y({action:"FB_LOG",logMessage:b,logType:x},"*");D(new Error(b),!0)}function F(a){D(a,!1),j&&w(a.toString())}a={consoleWarn:t,disableAllLogging:v,disableSampling:n,enableVerboseDebugLogging:l,logError:F,logUserError:E,enableBufferedLoggedWarnings:p,bufferedLoggedWarnings:s};k.exports=a})();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"),b=a.logError;function c(a){return function(){try{for(var c=arguments.length,d=Array(c),e=0;e<c;e++)d[e]=arguments[e];a.apply(this,d)}catch(a){b(a)}return}}k.exports=c})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsMicrodataConfigTypedef",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({waitTimeMs:a.withValidation({def:a.number(),validators:[function(a){return a>0&&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<a.length;d++){var e=a[d],f=e.passRate,h=e.code;e=e.name;var k=g(b[d],2),l=k[0];k=k[1];if(c>=l&&c<k){l=j()<f;return{code:h,isInExperimentGroup:l,name:e}}}return null}d=function(){function d(){n(this,d),this._result=null,this._hasRolled=!1,this._isExposed=!1,this.CONTROL="CONTROL",this.TEST="TEST",this.UNASSIGNED="UNASSIGNED"}h(d,[{key:"setExperiments",value:function(d){d=e(d,c.waterfall([b,a]));d!=null&&(this._experiments=d,this._hasRolled=!1,this._result=null,this._isExposed=!1)}},{key:"get",value:function(a){if(!this._hasRolled){var b=this._experiments;if(b==null)return null;b=k(b);b!=null&&(this._result=b);this._hasRolled=!0}if(a==null||a==="")return this._result;return this._result!=null&&this._result.name===a?this._result:null}},{key:"getCode",value:function(){var a=this.get();if(a==null)return"";var b=0;a.isInExperimentGroup&&(b|=1);this._isExposed&&(b|=2);return a.code+b.toString()}},{key:"getAssignmentFor",value:function(a){var b=this.get();if(b!=null&&b.name===a){this._isExposed=!0;return b.isInExperimentGroup?this.TEST:this.CONTROL}return this.UNASSIGNED}},{key:"isInTest",value:function(a){var b=this.get();if(b!=null&&b.name===a){this._isExposed=!0;return b.isInExperimentGroup}return!1}}]);return d}();m.exports=new d()})();return m.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsResolveLegacyArguments",function(){return function(f,h,j,k){var l={exports:{}};l.exports;(function(){"use strict";var a="report";function b(a){var b=g(a,1);b=b[0];return a.length===1&&Array.isArray(b)?{args:b,isLegacySyntax:!0}:{args:a,isLegacySyntax:!1}}function c(b){var c=g(b,2),d=c[0];c=c[1];if(typeof d==="string"&&d.slice(0,a.length)===a){d=d.slice(a.length);if(d==="CustomEvent"){c!=null&&(typeof c==="undefined"?"undefined":i(c))==="object"&&typeof c.event==="string"&&(d=c.event);return["trackCustom",d].concat(b.slice(1))}return["track",d].concat(b.slice(1))}return b}function d(a){a=b(a);var d=a.args;a=a.isLegacySyntax;d=c(d);return{args:d,isLegacySyntax:a}}l.exports=d})();return l.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsSendBatch",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBatcher"),b=f.getFbeventsModules("SignalsFBEventsLogging"),c=b.logError;b=f.getFbeventsModules("SignalsFBEventsUtils");var d=b.map,e=f.getFbeventsModules("SignalsParamList"),h=f.getFbeventsModules("signalsFBEventsSendBeacon"),i=f.getFbeventsModules("signalsFBEventsSendGET"),j=f.getFbeventsModules("signalsFBEventsSendXHR");function l(a){a=d(a,function(a){return a.toQueryString()});a=new e().appendHash({batch:1,events:a});a=i(a)||h(a)||j(a)||i(a,{ignoreRequestLengthCheck:!0});a||c(new Error("could not send batch"))}var m=new a(l);function n(a){m.addToBatch(a)}g.addEventListener("onpagehide"in g?"pagehide":"unload",function(){return m.forceEndBatch()});k.exports=n})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsSendBeacon",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsQE"),b=f.getFbeventsModules("SignalsFBEventsNetworkConfig"),c=f.getFbeventsModules("SignalsFBEventsExperimentNames"),d=c.SEND_BEACON_STRING_EXPERIMENT;function e(c,e){if(!g.navigator||!g.navigator.sendBeacon)return!1;e=e||{};e=e.url;e=e===void 0?b.ENDPOINT:e;c.replaceEntry("rqm","SB");return a.isInTest(d)?g.navigator.sendBeacon(e,c.toQueryString()):g.navigator.sendBeacon(e,c.toFormData())}k.exports=e})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsSendCloudbridgeEvent",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent"),b=f.getFbeventsModules("SignalsParamList");f.getFbeventsModules("SignalsFBEventsPixelTypedef");var c=f.getFbeventsModules("SignalsFBEventsTyped"),d=c.Typed;c.coerce;c=d.objectWithFields({customData:d.allowNull(d.object()),customParams:function(a){return a instanceof b?a:void 0},eventName:d.string(),id:d.string(),piiTranslator:function(a){return typeof a==="function"?a:void 0},documentLink:d.allowNull(d.string()),referrerLink:d.allowNull(d.string())});a=new a(d.tuple([c]));k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsSendEvent",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsEvents"),b=a.fired,c=a.setEventId,d=f.getFbeventsModules("SignalsFBEventsQE"),e=f.getFbeventsModules("SignalsParamList");f.getFbeventsModules("SignalsFBEventsConfigStore");f.getFbeventsModules("signalsFBEventsSendBatch");var j=f.getFbeventsModules("signalsFBEventsSendBeacon"),l=f.getFbeventsModules("signalsFBEventsSendGET");f.getFbeventsModules("signalsFBEventsSendXHR");var m=f.getFbeventsModules("signalsFBEventsSendXHRWithRetry"),n=f.getFbeventsModules("signalsFBEventsSendFormPOST"),o=f.getFbeventsModules("signalsFBEventsGetIsChrome");f.getFbeventsModules("signalsFBEventsGetIsMobileSafari");var p=f.getFbeventsModules("SignalsFBEventsSendEventEvent"),q=f.getFbeventsModules("SignalsFBEventsSendCloudbridgeEvent");a=f.getFbeventsModules("SignalsFBEventsUtils");var r=a.some,s=f.getFbeventsModules("SignalsFBEventsNetworkConfig");f.getFbeventsModules("generateUUID");a=f.getFbeventsModules("SignalsFBEventsExperimentNames");a.BATCHING_EXPERIMENT;a.DISALLOW_PII_ON_STRICT_NON_SUBMIT;var t=a.NETWORK_RETRY_EXPERIMENT;a.SEND_BEACON_STRING_EXPERIMENT;a.SEND_XHR_EXPERIMENT;var u=g.top!==g,v="SubscribedButtonClick",w=1978;function x(a){var b=a.customData,c=a.customParams,f=a.eventName,j=a.id,k=a.piiTranslator,l=a.documentLink,m=a.referrerLink,n=i.href;Object.prototype.hasOwnProperty.call(a,"documentLink")&&(n=l);l=h.referrer;Object.prototype.hasOwnProperty.call(a,"referrerLink")&&(l=m);a=new e(k);a.append("id",j);a.append("ev",f);a.append("dl",n);a.append("rl",l);a.append("if",u);a.append("ts",new Date().valueOf());a.append("cd",b);a.append("sw",g.screen.width);a.append("sh",g.screen.height);c&&a.addRange(c);m=d.get();m!=null&&a.append("exp",d.getCode());return a}function y(a,b,c){a.replaceEntry("rqm",c),m(a,s.ENDPOINT,b,0)}function z(a){var e=typeof XMLHttpRequest!=="undefined"&&"withCredentials"in new XMLHttpRequest(),f=p.trigger(a);if(r(f,function(a){return a}))return;f=q.trigger(a);if(r(f,function(a){return a}))return;f=a.customData;var g=a.eventName,h=d.isInTest(t);h=h&&e;e=x(a);c.trigger(a.id,e);var i=!o(),k=Object.prototype.hasOwnProperty.call(a,"customData")&&typeof a.customData!=="undefined"&&a.customData!==null;k||(a.customData={});if(i&&g===v){if(h){y(e,"POST","SB");b.trigger("XHRPOST",e,f);return}if(j(e)){b.trigger("BEACON",e,f);return}}if(h){k=e.toQueryString();a=s.ENDPOINT+"?"+k;if(a.length<w){y(e,"GET","GET");b.trigger("XHRGET",e,f);return}}if(l(e)){b.trigger("GET",e,f);return}if(i){if(h){y(e,"POST","SB");b.trigger("XHRPOST",e,f);return}if(j(e)){b.trigger("BEACON",e,f);return}}if(h){y(e,"POST","formPOST");b.trigger("XHRPOST",e,f);return}n(e);b.trigger("POST",e,f)}k.exports=z})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsSendEventEvent",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent"),b=f.getFbeventsModules("SignalsParamList");f.getFbeventsModules("SignalsFBEventsPixelTypedef");var c=f.getFbeventsModules("SignalsFBEventsTyped"),d=c.Typed;c.coerce;c=d.objectWithFields({customData:d.allowNull(d.object()),customParams:function(a){return a instanceof b?a:void 0},eventName:d.string(),id:d.string(),piiTranslator:function(a){return typeof a==="function"?a:void 0},documentLink:d.allowNull(d.string()),referrerLink:d.allowNull(d.string())});a=new a(d.tuple([c]));k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsSendFormPOST",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsNetworkConfig"),b=f.getFbeventsModules("SignalsFBEventsUtils"),c=b.listenOnce;function d(b,d){b.replaceEntry("rqm","formPOST");var e="fb"+Math.random().toString().replace(".",""),f=h.createElement("form");f.method="post";f.action=d!=null?d:a.ENDPOINT;f.target=e;f.acceptCharset="utf-8";f.style.display="none";d=!!(g.attachEvent&&!g.addEventListener);var i=h.createElement("iframe");d&&(i.name=e);i.src="about:blank";i.id=e;i.name=e;f.appendChild(i);c(i,"load",function(){b.each(function(a,b){var c=h.createElement("input");c.name=decodeURIComponent(a);c.value=b;f.appendChild(c)}),c(i,"load",function(){f.parentNode&&f.parentNode.removeChild(f)}),f.submit()});h.body!=null&&h.body.appendChild(f);return!0}k.exports=d})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsSendGET",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsNetworkConfig"),b=2048;function c(c,d){var e=d||{},f=e.ignoreRequestLengthCheck;f=f===void 0?!1:f;e=e.url;e=e===void 0?a.ENDPOINT:e;c.replaceEntry("rqm",f?"FGET":"GET");c=c.toQueryString();e=e+"?"+c;if(f||e.length<b){c=new Image();d!=null&&d.errorHandler!=null&&(c.onerror=d.errorHandler);c.src=e;return!0}return!1}k.exports=c})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsSendXHR",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsNetworkConfig"),b=f.getFbeventsModules("SignalsParamList"),c=f.getFbeventsModules("SignalsFBEventsLogging"),d=c.logError,e={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},g=typeof XMLHttpRequest!=="undefined"&&"withCredentials"in new XMLHttpRequest();function h(a,b,c){var f=new XMLHttpRequest();f.withCredentials=!0;f.open("POST",b);f.onreadystatechange=function(){if(f.readyState!==e.DONE)return;f.status!==200&&(c!=null?c():d(new Error("Error sending XHR "+f.status+" - "+f.statusText)))};f.send(a)}function i(c){var d=arguments.length>1&&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;f<a;f++)b[f]=arguments[f];var g=b[0];if(g==null||(typeof g==="undefined"?"undefined":i(g))!=="object")return null;var h=g.pixelID,j=g.rules,k=d(h);if(k==null)return null;var l=c(j,e);return[{rules:l,pixelID:k}]}b=new a(g);l.exports=b})();return l.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsSetEventIDEvent",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent"),b=f.getFbeventsModules("SignalsParamList"),c=f.getFbeventsModules("SignalsFBEventsPixelTypedef"),d=f.getFbeventsModules("SignalsFBEventsTyped"),e=d.coerce;function g(a,d){a=e(a,c);d=d instanceof b?d:null;return a!=null&&d!=null?[a,d]:null}d=new a(g);k.exports=d})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsSetIWLExtractorsEvent",function(){return function(g,h,j,k){var l={exports:{}};l.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent"),b=f.getFbeventsModules("SignalsFBEventsUtils"),c=b.filter,d=b.map,e=f.getFbeventsModules("signalsFBEventsCoerceParameterExtractors"),g=f.getFbeventsModules("signalsFBEventsCoercePixelID");function h(){for(var a=arguments.length,b=Array(a),f=0;f<a;f++)b[f]=arguments[f];var h=b[0];if(h==null||(typeof h==="undefined"?"undefined":i(h))!=="object")return null;var j=h.pixelID,k=h.extractors,l=g(j),m=Array.isArray(k)?d(k,e):null,n=m!=null?c(m,Boolean):null;return n!=null&&m!=null&&n.length===m.length&&l!=null?[{extractors:n,pixelID:l}]:null}b=new a(h);l.exports=b})();return l.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsTelemetry",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsLogging"),b=f.getFbeventsModules("SignalsParamList");f.getFbeventsModules("SignalsFBEventsQE");var c=f.getFbeventsModules("signalsFBEventsSendGET");f.getFbeventsModules("signalsFBEventsSendXHR");f.getFbeventsModules("signalsFBEventsSendBeacon");var d=f.getFbeventsModules("SignalsFBEventsExperimentNames");d.SEND_BEACON_STRING_EXPERIMENT;d=.01;var e=Math.random(),h=g.fbq&&g.fbq._releaseSegment?g.fbq._releaseSegment:"unknown",i=e<d||h==="canary",j="https://connect.facebook.net/log/fbevents_telemetry/";function l(d){var e=arguments.length>1&&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;b<arguments.length;b++){var c=arguments[b];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a},b=f.getFbeventsModules("SignalsFBEventsUtils");b.filter;b.map;var c=b.reduce;b=f.getFbeventsModules("SignalsFBEventsUtils");var d=b.isSafeInteger,g=function(b){k(a,b);function a(){var b=arguments.length>0&&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<a.length;e++){var f=a[e];try{return b(d,f)}catch(a){if(a.name==="FBEventsCoercionError")continue;throw a}}throw new c()}}function e(a,c){return function(d){return c(b(d,a))}}a={waterfall:d,upgrade:e};k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsUnwantedDataTypedef",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({blacklisted_keys:b.allowNull(b.mapOf(b.mapOf(b.arrayOf(b.string())))),sensitive_keys:b.allowNull(b.mapOf(b.mapOf(b.arrayOf(b.string()))))});k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsURLUtil",function(){return function(f,g,h,i){var j={exports:{}};j.exports;(function(){"use strict";function a(a,b){b=new RegExp("[?#&]"+b.replace(/[\[\]]/g,"\\$&")+"(=([^&#]*)|&|#|$)");b=b.exec(a);if(!b)return null;return!b[2]?"":decodeURIComponent(b[2].replace(/\+/g," "))}j.exports={getURLParameter:a}})();return j.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsUtils",function(){return function(f,g,j,k){var l={exports:{}};l.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 e(a){return typeof a==="number"||typeof a==="string"&&/^\d+$/.test(a)}function f(a){return a!=null&&(typeof a==="undefined"?"undefined":i(a))==="object"&&d(a)===!1}function j(a){return f(a)===!0&&Object.prototype.toString.call(a)==="[object Object]"}function k(a){if(j(a)===!1)return!1;a=a.constructor;if(typeof a!=="function")return!1;a=a.prototype;if(j(a)===!1)return!1;return Object.prototype.hasOwnProperty.call(a,"isPrototypeOf")===!1?!1:!0}var m=Number.isInteger||function(a){return typeof a==="number"&&isFinite(a)&&Math.floor(a)===a};function o(a){return m(a)&&a>=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<t;c++)q.call(a,s[c])&&b.push(s[c]);return b}function v(a,b){if(a==null)throw new TypeError(" array is null or not defined");a=Object(a);var c=a.length>>>0;if(typeof b!=="function")throw new TypeError(b+" is not a function");var d=new Array(c),e=0;while(e<c){var f;e in a&&(f=a[e],f=b(f,e,a),d[e]=f);e++}return d}function w(a,b,c,d){if(a==null)throw new TypeError(" array is null or not defined");if(typeof b!=="function")throw new TypeError(b+" is not a function");var e=Object(a),f=e.length>>>0,g=0;if(c!=null||d===!0)d=c;else{while(g<f&&!(g in e))g++;if(g>=f)throw new TypeError("Reduce of empty array with no initial value");d=e[g++]}while(g<f)g in e&&(d=b(d,e[g],g,a)),g++;return d}function x(a){if(typeof a!=="function")throw new TypeError();var b=Object(this),c=b.length>>>0,d=arguments.length>=2?arguments[1]:void 0;for(var e=0;e<c;e++)if(e in b&&a.call(d,b[e],e,b))return!0;return!1}function y(a){return u(a).length===0}function z(a){if(this===void 0||this===null)throw new TypeError();var b=Object(this),c=b.length>>>0;if(typeof a!=="function")throw new TypeError();var d=[],e=arguments.length>=2?arguments[1]:void 0;for(var f=0;f<c;f++)if(f in b){var g=b[f];a.call(e,g,f,b)&&d.push(g)}return d}function A(a,b){try{return b(a)}catch(a){if(a instanceof TypeError)if(B.test(a))return null;else if(C.test(a))return void 0;throw a}}var B=/^null | null$|^[^(]* null /i,C=/^undefined | undefined$|^[^(]* undefined /i;A["default"]=A;var D=function(){function a(b){n(this,a),this.items=b||[]}h(a,[{key:"has",value:function(a){return x.call(this.items,function(b){return b===a})}},{key:"add",value:function(a){this.items.push(a)}}]);return a}();function E(a){return a}function F(a,b){return a==null||b==null?!1:a.indexOf(b)>=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;f<a;f++)b[f]=arguments[f];return c(b,d.tuple([e,d.object(),d.string()]))}b=new a(g);k.exports=b})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsValidateGetClickIDFromBrowserProperties",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsBaseEvent");function b(a){return a!=null&&typeof a==="string"&&a!==""?a:null}a=new a(b);k.exports=a})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsValidateUrlParametersEvent",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;f<a;f++)b[f]=arguments[f];return c(b,d.tuple([e,d.mapOf(d.string()),d.string()]))}b=new a(g);k.exports=b})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsParamList",function(){return function(f,j,k,l){var m={exports:{}};m.exports;(function(){"use strict";var a="deep",b="shallow",c=["eid"];function d(a){return JSON===void 0||JSON===null||!JSON.stringify?Object.prototype.toString.call(a):JSON.stringify(a)}function e(a){if(a===null||a===void 0)return!0;a=typeof a==="undefined"?"undefined":i(a);return a==="number"||a==="boolean"||a==="string"}var f=function(){function f(a){n(this,f),this._params=new Map(),this._piiTranslator=a}h(f,[{key:"containsKey",value:function(a){return this._params.has(a)}},{key:"get",value:function(a){a=this._params.get(a);return a==null||a.length===0?null:a[a.length-1]}},{key:"getAllParams",value:function(){var a=[],b=!0,c=!1,d=void 0;try{for(var e=this._params.entries()[typeof Symbol==="function"?Symbol.iterator:"@@iterator"](),f;!(b=(f=e.next()).done);b=!0){f=f.value;f=g(f,2);var h=f[0];f=f[1];var i=!0,j=!1,k=void 0;try{for(var l=f[typeof Symbol==="function"?Symbol.iterator:"@@iterator"](),f;!(i=(f=l.next()).done);i=!0){f=f.value;a.push({name:h,value:f})}}catch(a){j=!0,k=a}finally{try{!i&&l["return"]&&l["return"]()}finally{if(j)throw k}}}}catch(a){c=!0,d=a}finally{try{!b&&e["return"]&&e["return"]()}finally{if(c)throw d}}return a}},{key:"replaceEntry",value:function(a,b){this._removeKey(a),this.append(a,b)}},{key:"replaceObjectEntry",value:function(a,b){this._removeObjectKey(a,b),this.append(a,b)}},{key:"addRange",value:function(a){this.addParams(a.getAllParams())}},{key:"addParams",value:function(a){for(var c=0;c<a.length;c++){var d=a[c];this._append({name:d.name,value:d.value},b,!1)}return this}},{key:"append",value:function(b,c){var d=arguments.length>2&&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<c.length;i++){var j=c[i];j===h&&this._removeKey(h)}e(b)?this._appendPrimitive(h,b,g):f===a?this._appendObject(h,b,g):this._appendPrimitive(h,d(b),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);if(b!=null){c=this._params.get(a);c!=null?(c.push(b),this._params.set(a,c)):this._params.set(a,[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({name:g,value:c[f]},b,d)}catch(a){e==null&&(e=a)}}if(e!=null)throw e}},{key:"each",value:function(a){var b=!0,c=!1,d=void 0;try{for(var e=this._params.entries()[typeof Symbol==="function"?Symbol.iterator:"@@iterator"](),f;!(b=(f=e.next()).done);b=!0){f=f.value;f=g(f,2);var h=f[0];f=f[1];var i=!0,j=!1,k=void 0;try{for(var l=f[typeof Symbol==="function"?Symbol.iterator:"@@iterator"](),f;!(i=(f=l.next()).done);i=!0){f=f.value;a(h,f)}}catch(a){j=!0,k=a}finally{try{!i&&l["return"]&&l["return"]()}finally{if(j)throw k}}}}catch(a){c=!0,d=a}finally{try{!b&&e["return"]&&e["return"]()}finally{if(c)throw d}}}},{key:"toQueryString",value:function(){var a=[];this.each(function(b,c){a.push(b+"="+encodeURIComponent(c))});return a.join("&")}},{key:"toFormData",value:function(){var a=new FormData();this.each(function(b,c){a.append(b,c)});return a}}],[{key:"fromHash",value:function(a,b){return new f(b).appendHash(a)}}]);return f}();m.exports=f})();return m.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsPixelCookieUtils",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsPixelCookie"),b=f.getFbeventsModules("signalsFBEventsGetIsChrome"),c=f.getFbeventsModules("SignalsFBEventsLogging");c.logError;var d=90*24*60*60*1e3;c="_fbc";var e="fbc",i="_fbp",j="fbp",l="fbclid";function m(a){return new Date(Date.now()+Math.round(a)).toUTCString()}function n(a){var b=[],c=h.cookie.split(";");a="^\\s*"+a+"=\\s*(.*?)\\s*$";a=new RegExp(a);for(var d=0;d<c.length;d++){var e=c[d].match(a);e&&b.push(e[1])}return b&&typeof b[0]==="string"?b[0]:""}function o(b){b=n(b);return typeof b!=="string"||b===""?null:a.unpack(b)}function p(a,b){return a.slice(a.length-1-b).join(".")}function q(a,c,e){var f=m(d);h.cookie=a+"="+c+";"+("expires="+f+";")+("domain=."+e+";")+(""+(b()?"SameSite=Lax;":""))+"path=/"}function r(a,b){var c=g.location.hostname;c=c.split(".");if(b.subdomainIndex==null)throw new Error("Subdomain index not set on cookie.");c=p(c,b.subdomainIndex);q(a,b.pack(),c);return b}function s(b,c){var d=g.location.hostname;d=d.split(".");c=new a(c);for(var e=0;e<d.length;e++){var f=p(d,e);c.subdomainIndex=e;q(b,c.pack(),f);if(n(b)!=="")return c}return null}k.exports={readPackedCookie:o,writeNewCookie:s,writeExistingCookie:r,CLICK_ID_PARAMETER:l,CLICKTHROUGH_COOKIE_NAME:c,CLICKTHROUGH_COOKIE_PARAM:e,DOMAIN_SCOPED_BROWSER_ID_COOKIE_NAME:i,DOMAIN_SCOPED_BROWSER_ID_COOKIE_PARAM:j}})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEvents.plugins.commonincludes",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsPlugin");k.exports=new a(function(a,b){})})();return k.exports}(a,b,c,d)});e.exports=f.getFbeventsModules("SignalsFBEvents.plugins.commonincludes");f.registerPlugin&&f.registerPlugin("fbevents.plugins.commonincludes",e.exports);f.ensureModuleRegistered("fbevents.plugins.commonincludes",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("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;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("SignalsFBEventsOptTrackingOptions",function(){return function(f,b,c,d){var e={exports:{}};e.exports;(function(){"use strict";e.exports={AUTO_CONFIG_OPT_OUT:1<<0,AUTO_CONFIG:1<<1,CONFIG_LOADING:1<<2,SUPPORTS_DEFINE_PROPERTY:1<<3,SUPPORTS_SEND_BEACON:1<<4,HAS_INVALIDATED_PII:1<<5,SHOULD_PROXY:1<<6,IS_HEADLESS:1<<7,IS_SELENIUM:1<<8,HAS_DETECTION_FAILED:1<<9,HAS_CONFLICTING_PII:1<<10,HAS_AUTOMATCHED_PII:1<<11}})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsProxyState",function(){return function(f,b,c,d){var e={exports:{}};e.exports;(function(){"use strict";var a=!1;e.exports={getShouldProxy:function(){return a},setShouldProxy:function(b){a=b}}})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEvents.plugins.opttracking",function(){return function(a,b,c,d){var e={exports:{}};e.exports;(function(){"use strict";var b=f.getFbeventsModules("SignalsFBEventsEvents"),c=b.getCustomParameters,d=b.piiAutomatched,g=b.piiConflicting,h=b.piiInvalidated,i=f.getFbeventsModules("SignalsFBEventsOptTrackingOptions");b=f.getFbeventsModules("SignalsFBEventsPlugin");var j=f.getFbeventsModules("SignalsFBEventsProxyState"),k=f.getFbeventsModules("SignalsFBEventsUtils"),l=k.some,m=!1;function n(){try{Object.defineProperty({},"test",{})}catch(a){return!1}return!0}function o(){return!!(a.navigator&&a.navigator.sendBeacon)}function p(a,b){return a?b:0}var q=["_selenium","callSelenium","_Selenium_IDE_Recorder"],r=["__webdriver_evaluate","__selenium_evaluate","__webdriver_script_function","__webdriver_script_func","__webdriver_script_fn","__fxdriver_evaluate","__driver_unwrapped","__webdriver_unwrapped","__driver_evaluate","__selenium_unwrapped","__fxdriver_unwrapped"];function s(){if(u(q))return!0;var b=l(r,function(b){return a.document[b]?!0:!1});if(b)return!0;b=a.document;for(var c in b)if(c.match(/\$[a-z]dc_/)&&b[c].cache_)return!0;if(a.external&&a.external.toString&&a.external.toString().indexOf("Sequentum")>=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);b<a.length;b++)c[b]=a[b];return c}else return Array.from(a)}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",function(){return function(a,b,c,d){var e={exports:{}};e.exports;(function(){"use strict";var j=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a},f=a.fbq;f.execStart=a.performance&&typeof a.performance.now==="function"?a.performance.now():null;var k=f.getFbeventsModules("SignalsFBEventsNetworkConfig"),l=f.getFbeventsModules("SignalsFBEventsQE"),m=f.getFbeventsModules("SignalsParamList"),n=f.getFbeventsModules("signalsFBEventsSendEvent"),o=f.getFbeventsModules("SignalsFBEventsUtils"),p=f.getFbeventsModules("SignalsFBEventsLogging"),q=f.getFbeventsModules("SignalsEventValidation"),r=f.getFbeventsModules("SignalsFBEventsFBQ"),s=f.getFbeventsModules("SignalsFBEventsJSLoader"),t=f.getFbeventsModules("SignalsFBEventsFireLock"),u=f.getFbeventsModules("SignalsFBEventsMobileAppBridge"),v=f.getFbeventsModules("signalsFBEventsInjectMethod"),w=f.getFbeventsModules("signalsFBEventsMakeSafe"),x=f.getFbeventsModules("signalsFBEventsResolveLegacyArguments"),y=f.getFbeventsModules("SignalsFBEventsPluginManager"),z=f.getFbeventsModules("signalsFBEventsCoercePixelID"),A=f.getFbeventsModules("SignalsFBEventsEvents"),B=f.getFbeventsModules("SignalsFBEventsTyped"),aa=B.coerce,ba=B.Typed,C=o.each;B=o.FBSet;var D=o.isEmptyObject,E=o.isPlainObject,F=o.isNumber,G=o.keys;o=A.execEnd;var H=A.fired,I=A.getCustomParameters,ca=A.iwlBootstrap,J=A.piiInvalidated,da=A.setIWLExtractors,K=A.validateCustomParameters,L=A.validateUrlParameters,ea=A.setESTRules,M=p.logError,N=p.logUserError,O=t.global,P=-1,fa="b68919aff001d8366249403a2544fba2d833084f1ad22839b6310aadacb6a138",ga=Array.prototype.slice,Q=Object.prototype.hasOwnProperty,R=c.href,S=!1,ha=!1,T=[],U={},ia;b.referrer;var V={PageView:new B(),PixelInitialized:new B()},W=new r(f,U),X=new y(W,O),ja=new B(["eid"]);function ka(a){for(var b in a)Q.call(a,b)&&(this[b]=a[b]);return this}function Y(){try{var a=ga.call(arguments);if(O.isLocked()&&a[0]!=="consent"){f.queue.push(arguments);return}var b=x(a),c=[].concat(i(b.args)),d=b.isLegacySyntax,e=c.shift();switch(e){case"addPixelId":S=!0;Z.apply(this,c);break;case"init":ha=!0;Z.apply(this,c);break;case"set":la.apply(this,c);break;case"track":if(F(c[0])){qa.apply(this,c);break}if(d){pa.apply(this,c);break}oa.apply(this,c);break;case"trackCustom":pa.apply(this,c);break;case"send":ra.apply(this,c);break;case"on":var j=h(c),k=j[0],l=j.slice(1),m=A[k];m&&m.triggerWeakly(l);break;case"loadPlugin":X.loadPlugin(c[0]);break;case"dataProcessingOptions":switch(c.length){case 1:var n=g(c,1),o=n[0];W.pluginConfig.set(null,"dataProcessingOptions",{dataProcessingOptions:o,dataProcessingCountry:null,dataProcessingState:null});break;case 3:var p=g(c,3),q=p[0],r=p[1],s=p[2];W.pluginConfig.set(null,"dataProcessingOptions",{dataProcessingOptions:q,dataProcessingCountry:r,dataProcessingState:s});break;case 4:var t=g(c,3),u=t[0],v=t[1],w=t[2];W.pluginConfig.set(null,"dataProcessingOptions",{dataProcessingOptions:u,dataProcessingCountry:v,dataProcessingState:w});break}break;default:W.callMethod(arguments);break}}catch(a){M(a)}}function la(a){for(var b=arguments.length,c=Array(b>1?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];var e=[a].concat(c);switch(a){case"endpoint":var g=c[0];if(typeof g!=="string")throw new Error("endpoint value must be a string");k.ENDPOINT=g;break;case"cdn":var h=c[0];if(typeof h!=="string")throw new Error("cdn value must be a string");s.CONFIG.CDN_BASE_URL=h;break;case"releaseSegment":var i=c[0];if(typeof i!=="string"){N({invalidParamName:"new_release_segment",invalidParamValue:i,method:"set",params:e,type:"INVALID_FBQ_METHOD_PARAMETER"});break}f._releaseSegment=i;break;case"autoConfig":var j=c[0],m=c[1],n=j===!0||j==="true"?"optIn":"optOut";if(typeof m!=="string"){N({invalidParamName:"pixel_id",invalidParamValue:m,method:"set",params:e,type:"INVALID_FBQ_METHOD_PARAMETER"});break}W.callMethod([n,m,"AutomaticSetup"]);break;case"firstPartyCookies":var o=c[0],p=c[1],r=o===!0||o==="true"?"optIn":"optOut";typeof p==="string"?W.callMethod([r,p,"FirstPartyCookies"]):p===void 0?W.disableFirstPartyCookies=!0:N({invalidParamName:"pixel_id",invalidParamValue:p,method:"set",params:e,type:"INVALID_FBQ_METHOD_PARAMETER"});break;case"experiments":l.setExperiments.apply(l,c);break;case"mobileBridge":var t=c[0],v=c[1];if(typeof t!=="string"){N({invalidParamName:"pixel_id",invalidParamValue:t,method:"set",params:e,type:"INVALID_FBQ_METHOD_PARAMETER"});break}if(typeof v!=="string"){N({invalidParamName:"app_id",invalidParamValue:v,method:"set",params:e,type:"INVALID_FBQ_METHOD_PARAMETER"});break}u.registerBridge([t,v]);break;case"iwlExtractors":var w=c[0],x=c[1];da.triggerWeakly({extractors:x,pixelID:w});break;case"estRules":var y=c[0],z=c[1];ea.triggerWeakly({rules:z,pixelID:y});break;case"startIWLBootstrap":var A=c[0],B=c[1];ca.triggerWeakly({graphToken:A,pixelID:B});break;case"parallelfire":var C=c[0],D=c[1];W.pluginConfig.set(C,"parallelfire",{target:D});break;case"trackSingleOnly":var E=c[0],F=c[1],G=aa(E,ba["boolean"]()),H=aa(F,ba.fbid());if(H==null){N({invalidParamName:"pixel_id",invalidParamValue:F,method:"set",params:e,type:"INVALID_FBQ_METHOD_PARAMETER"});break}if(G==null){N({invalidParamName:"on_or_off",invalidParamValue:E,method:"set",params:e,type:"INVALID_FBQ_METHOD_PARAMETER"});break}var I=q.validateMetadata(a);I.error&&N(I.error);I.warnings&&I.warnings.forEach(function(a){N(a)});Q.call(U,H)?U[H].trackSingleOnly=G:N({metadataValue:a,pixelID:H,type:"SET_METADATA_ON_UNINITIALIZED_PIXEL_ID"});break;default:var J=W.pluginConfig.getWithGlobalFallback(null,"dataProcessingOptions"),K=J!=null&&J.dataProcessingOptions.includes("LDU"),L=c[0],M=c[1];if(typeof a!=="string")throw new Error("The metadata setting provided in the 'set' call is invalid.");if(typeof L!=="string"){if(K)break;N({invalidParamName:"value",invalidParamValue:L,method:"set",params:e,type:"INVALID_FBQ_METHOD_PARAMETER"});break}if(typeof M!=="string"){if(K)break;N({invalidParamName:"pixel_id",invalidParamValue:M,method:"set",params:e,type:"INVALID_FBQ_METHOD_PARAMETER"});break}na(a,L,M);break}}f._initHandlers=[];f._initsDone={};function Z(a,b,c){P=P===-1?Date.now():P;var d=z(a);if(d==null)return;var e=b==null||E(b);e||N({invalidParamName:"user_data",invalidParamValue:b,method:"init",params:[a,b],type:"INVALID_FBQ_METHOD_PARAMETER"});if(Q.call(U,d)){b!=null&&D(U[d].userData)?(U[d].userData=e?b||{}:{},X.loadPlugin("identity")):N({pixelID:d,type:"DUPLICATE_PIXEL_ID"});return}a={agent:c?c.agent:null,eventCount:0,id:d,userData:e?b||{}:{},userDataFormFields:{}};T.push(a);U[d]=a;b!=null&&X.loadPlugin("identity");ma();W.loadConfig(d)}function ma(){for(var a=0;a<f._initHandlers.length;a++){var b=f._initHandlers[a];f._initsDone[a]||(f._initsDone[a]={});for(var c=0;c<T.length;c++){var d=T[c];f._initsDone[a][d.id]||(f._initsDone[a][d.id]=!0,b(d))}}}function na(a,b,c){var d=q.validateMetadata(a);d.error&&N(d.error);d.warnings&&d.warnings.forEach(function(a){N(a)});if(Q.call(U,c)){for(var d=0,e=T.length;d<e;d++)if(T[d].id===c){T[d][a]=b;break}}else N({metadataValue:b,pixelID:c,type:"SET_METADATA_ON_UNINITIALIZED_PIXEL_ID"})}function oa(a,b,c){b=b||{},q.validateEventAndLog(a,b),a==="CustomEvent"&&typeof b.event==="string"&&(a=b.event),pa.call(this,a,b,c)}function pa(a,b,c){for(var d=0,e=T.length;d<e;d++){var f=T[d];if(!(a==="PageView"&&this.allowDuplicatePageViews)&&Object.prototype.hasOwnProperty.call(V,a)&&V[a].has(f.id))continue;if(f.trackSingleOnly)continue;ta({customData:b,eventData:c,eventName:a,pixel:f});Object.prototype.hasOwnProperty.call(V,a)&&V[a].add(f.id)}}function qa(a,b){ta({customData:b,eventName:a,pixel:null})}function ra(a,b,c){T.forEach(function(c){return ta({customData:b,eventName:a,pixel:c})})}function $(a){a=a.toLowerCase().trim();var b=a.endsWith("@icloud.com");a=a.endsWith("@privaterelay.appleid.com");if(b)return 2;if(a)return 1}function sa(a,b,c,d){var e=new m(f.piiTranslator);try{var g=a&&a.userData||{},h=a&&a.userDataFormFields||{},i={},k={},l=void 0,n=g.em;n!=null&&$(n)&&(l=$(n),l===1&&(i.em=fa));n=h.em;n!=null&&$(n)&&(l=$(n),l===1&&(k.em=fa));l!=null&&e.append("ped",l);e.append("ud",j({},g,i),!0);e.append("udff",j({},h,k),!0)}catch(b){J.trigger(a)}e.append("v",f.version);f._releaseSegment&&e.append("r",f._releaseSegment);e.append("a",a&&a.agent?a.agent:f.agent);a&&(e.append("ec",a.eventCount),a.eventCount++);n=I.trigger(a,b,c,d);C(n,function(a){return C(G(a),function(b){if(e.containsKey(b)){if(!ja.has(b))throw new Error("Custom parameter "+b+" has already been specified.")}else e.append(b,a[b])})});e.append("it",P);l=a&&a.codeless==="false";e.append("coo",l);g=W.pluginConfig.getWithGlobalFallback(a?a.id:null,"dataProcessingOptions");if(g!=null){i=g.dataProcessingCountry;h=g.dataProcessingOptions;k=g.dataProcessingState;e.append("dpo",h.join(","));e.append("dpoco",i);e.append("dpost",k)}return e}function ta(a){var d=a.customData,e=a.eventData,f=a.eventName;a=a.pixel;d=d||{};if(a!=null&&u.pixelHasActiveBridge(a)){u.sendEvent(a,f,d);return}var g=sa(a,f,d);if(e!=null){var h=e.eventID;e=e.event_id;h=h!=null?h:e;h==null&&(d.event_id!=null||d.eventID!=null)&&p.consoleWarn("eventID is being sent in the 3rd parameter, it should be in the 4th parameter.");g.containsKey("eid")?g.replaceEntry("eid",h):g.append("eid",h)}K.trigger(a,d,f);e=c.href;h=b.referrer;var i={};e!=null&&(i.dl=e);h!=null&&(i.rl=h);D(i)||L.trigger(a,i,f);n({customData:d,customParams:g,eventName:f,id:a?a.id:null,piiTranslator:null,documentLink:i.dl?i.dl:"",referrerLink:i.rl?i.rl:""})}function ua(){while(f.queue.length&&!O.isLocked()){var a=f.queue.shift();Y.apply(f,a)}}O.onUnlocked(function(){ua()});f.pixelId&&(S=!0,Z(f.pixelId));(S&&ha||a.fbq!==a._fbq)&&N({type:"CONFLICTING_VERSIONS"});T.length>1&&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"); }});