mergn-webapp-sdk 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.global.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.global.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0x4315(_0x50c8ba,_0x1799c7){const _0x42e5a6=_0x42e5();return _0x4315=function(_0x431550,_0x13d1d0){_0x431550=_0x431550-0xf0;let _0x4512db=_0x42e5a6[_0x431550];return _0x4512db;},_0x4315(_0x50c8ba,_0x1799c7);}(function(_0x1e5ada,_0x3b5018){const _0x3104d1=_0x4315,_0x4ab98c=_0x1e5ada();while(!![]){try{const _0x24fd74=-parseInt(_0x3104d1(0x12e))/0x1*(parseInt(_0x3104d1(0x1b0))/0x2)+-parseInt(_0x3104d1(0x16a))/0x3+-parseInt(_0x3104d1(0x18a))/0x4*(-parseInt(_0x3104d1(0x128))/0x5)+-parseInt(_0x3104d1(0x1b8))/0x6+parseInt(_0x3104d1(0x1b3))/0x7*(-parseInt(_0x3104d1(0x11c))/0x8)+parseInt(_0x3104d1(0x1a6))/0x9+parseInt(_0x3104d1(0x137))/0xa*(parseInt(_0x3104d1(0xfc))/0xb);if(_0x24fd74===_0x3b5018)break;else _0x4ab98c['push'](_0x4ab98c['shift']());}catch(_0x38c1da){_0x4ab98c['push'](_0x4ab98c['shift']());}}}(_0x42e5,0x4f2fa));function _0x42e5(){const _0x300828=['SESSION_ID','Button\x20Click','#\x20Recording\x20event','removeEventListener','apiKey','updateAPIKey','Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203','Mergn\x20not\x20initialized!','8SefIaZ','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','ERROR:\x20','hostname','toLowerCase','addEventListener','string','querySelectorAll','time','done','application/json','ALL','78385LpLhKn','Mergn\x20SDK\x20Initialization\x20Time','timeEnd','Error\x20posting\x20attribute\x20record','recordEvent','online','194149QHYPrk','Event\x20Payload','form','Chrome','session','Mergn\x20is\x20offline!','prototype','Internet\x20Explorer','get','10XQRPAq','\x0aMergnError:\x20','map','UTM_TERM','apply','attributes','POST','join','Popup\x20Action','appendChild','entries','INFO','init','call','customer','throw','SESSION_CREATED','[id^=\x22u_content_form_\x22]','Form\x20Submit','Popup','Identity:\x20','Cannot\x20','attributeProperty','groupEnd','UTM_CONTENT','NONE','record\x20event','pathname','Initializing\x20Mergn\x20SDK','Logging\x20out\x20Time','IMMEDIATELY','error','propertyIsEnumerable','Error\x20fetching\x20attribute\x20data','message','[id^=\x22u_content_button_\x22]','mergn','campaignId','URL','Tracking\x20page\x20change\x20Time','logout','getItem','uniqueIdentity','campaignCustomerInstanceId','setItem','Checking\x20TTL','userAgent','pushState','keys','eventProperty','querySelector','1556832ApAxIu','identity','Checking\x20TTL\x20Time','Close\x20Click','then','Event\x20Payload:\x0a\x20','Microsoft\x20Edge','add','events','Tracking\x20page\x20change','Error\x20posting\x20identity\x20data','Mergn\x20SDK\x20is\x20disabled!','location','length','forEach','stringify','MergnError','Safari','click','campaignEntryTimeValue','name','Attribute\x20Payload:\x0a\x20','beforeunload','getInstance','.u-popup-container\x20img','🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:','defineProperty','MSIE','randomUUID','Recording\x20attribute\x20Time','log','getTime','8QyvcgP','post','Web','utm_campaign','scrollY','push','search','removeItem','onLine','value','\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.','isInitialized','info','defineProperties','Popup\x20View','Web\x20Session\x20Started','utm_term','Firefox','offlineEvents','.u-close-button','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','Event\x20','Recording\x20event\x20Time','Mobile','toISOString','hasOwnProperty','UTM_CAMPAIGN','resolve','4076595UbfuUW','debugLevel','Logging\x20in','test','innerHTML','\x20is\x20not\x20valid.','/set-identity','parse','indexOf','/brand','6iPolvW','OriginateFrom:\x20','Recording\x20attribute','1740207xUAYqE','\x20has\x20invalid\x20eventProperties:\x20','recordAttribute','setDebugLevel','/customer','1933350LMKDBi','/set-attribute','offline','popup_container_','Edg','#\x20recordAttribute','utm_source','isArray','scroll','Attribute\x20','href','read\x20from\x20private\x20field','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','Error\x20setting\x20identity','ttl','action','remove','documentElement','os-version','/event','disableSDK','next','Logging\x20in\x20Time','Web\x20Session\x20Concluded','16634794uiUbLm','Unknown','login','getOwnPropertySymbols','filter','Error\x20posting\x20event\x20record','/record-event','Recording\x20event','json','Platform','scrollHeight','submit','called\x202','Google\x20Chrome','page','UTM_MEDIUM','Logging\x20out','set','Mozilla\x20Firefox','zIndex','data','has','INFO:\x20','div'];_0x42e5=function(){return _0x300828;};return _0x42e5();}((()=>{const _0x279004=_0x4315;var _0x87e869=Object[_0x279004(0x184)],_0xc31525=Object[_0x279004(0x197)],_0x36e59e=Object['getOwnPropertyDescriptors'],_0x58d379=Object[_0x279004(0xff)],_0x1b5660=Object[_0x279004(0x134)][_0x279004(0x1a3)],_0x3ba39b=Object[_0x279004(0x134)][_0x279004(0x157)],_0x39d648=(_0x258d38,_0x5dd528,_0x2ceaba)=>_0x5dd528 in _0x258d38?_0x87e869(_0x258d38,_0x5dd528,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ceaba}):_0x258d38[_0x5dd528]=_0x2ceaba,_0x26e663=(_0x59b45e,_0x5619b2)=>{const _0x29fffd=_0x279004;for(var _0x4071a2 in _0x5619b2||(_0x5619b2={}))_0x1b5660[_0x29fffd(0x144)](_0x5619b2,_0x4071a2)&&_0x39d648(_0x59b45e,_0x4071a2,_0x5619b2[_0x4071a2]);if(_0x58d379){for(var _0x4071a2 of _0x58d379(_0x5619b2))_0x3ba39b[_0x29fffd(0x144)](_0x5619b2,_0x4071a2)&&_0x39d648(_0x59b45e,_0x4071a2,_0x5619b2[_0x4071a2]);}return _0x59b45e;},_0xcbc480=(_0x4a60df,_0x30f24a)=>_0xc31525(_0x4a60df,_0x36e59e(_0x30f24a)),_0x15798c=(_0xc02c93,_0x9a774,_0x2b80a3)=>{const _0x59ae54=_0x279004;if(!_0x9a774[_0x59ae54(0x111)](_0xc02c93))throw TypeError(_0x59ae54(0x14c)+_0x2b80a3);},_0x2eadda=(_0x4b56af,_0x22afcc,_0x2cc622)=>(_0x15798c(_0x4b56af,_0x22afcc,_0x279004(0x1c3)),_0x2cc622?_0x2cc622['call'](_0x4b56af):_0x22afcc[_0x279004(0x136)](_0x4b56af)),_0x9c3c6a=(_0x37cf3f,_0x40473b,_0x2c6694)=>{const _0x45d5b1=_0x279004;if(_0x40473b[_0x45d5b1(0x111)](_0x37cf3f))throw TypeError(_0x45d5b1(0x11d));_0x40473b instanceof WeakSet?_0x40473b[_0x45d5b1(0x171)](_0x37cf3f):_0x40473b[_0x45d5b1(0x10d)](_0x37cf3f,_0x2c6694);},_0x561ad0=(_0x575d4a,_0x3cea2c,_0xfc2e30,_0xa17756)=>(_0x15798c(_0x575d4a,_0x3cea2c,'write\x20to\x20private\x20field'),_0xa17756?_0xa17756['call'](_0x575d4a,_0xfc2e30):_0x3cea2c[_0x279004(0x10d)](_0x575d4a,_0xfc2e30),_0xfc2e30),_0x2d03de=(_0x293428,_0x18d698,_0x15723c)=>(_0x15798c(_0x293428,_0x18d698,'access\x20private\x20method'),_0x15723c),_0x3e66b1=(_0x357afd,_0x591344,_0x4da54c)=>new Promise((_0x42d9af,_0x3f35dd)=>{const _0x35adcd=_0x279004;var _0x51e5b6=_0x5eb18f=>{try{_0x32b9ee(_0x4da54c['next'](_0x5eb18f));}catch(_0x5752ab){_0x3f35dd(_0x5752ab);}},_0x4d9f5f=_0x4c9088=>{const _0x52b9a8=_0x4315;try{_0x32b9ee(_0x4da54c[_0x52b9a8(0x146)](_0x4c9088));}catch(_0x5a4886){_0x3f35dd(_0x5a4886);}},_0x32b9ee=_0xadec53=>_0xadec53[_0x35adcd(0x125)]?_0x42d9af(_0xadec53['value']):Promise[_0x35adcd(0x1a5)](_0xadec53['value'])[_0x35adcd(0x16e)](_0x51e5b6,_0x4d9f5f);_0x32b9ee((_0x4da54c=_0x4da54c[_0x35adcd(0x13b)](_0x357afd,_0x591344))[_0x35adcd(0xf9)]());}),_0x163503=(_0xe07687=>(_0xe07687['UTM_SOURCE']=_0x279004(0x1be),_0xe07687[_0x279004(0x10b)]='utm_medium',_0xe07687[_0x279004(0x1a4)]=_0x279004(0x18d),_0xe07687[_0x279004(0x13a)]=_0x279004(0x19a),_0xe07687[_0x279004(0x14f)]='utm_content',_0xe07687))(_0x163503||{}),_0x4d692d=new Set(Object['values'](_0x163503)),_0x3345e1=_0x279004(0x13f),_0xa19f21=_0x279004(0x19e),_0x5796f5='/attribute',_0x4ae6f6=_0x279004(0x1b9),_0x5ed356=_0x279004(0xf7),_0x45da3e=_0x279004(0x102),_0x2b19c7=_0x279004(0x1b7),_0x38f85c=_0x279004(0x1ac),_0x429a55,_0x2df450=class _0x4dbb77{constructor(){}static['getInstance'](){return _0x2eadda(_0x4dbb77,_0x429a55)||_0x561ad0(_0x4dbb77,_0x429a55,new _0x4dbb77()),_0x2eadda(_0x4dbb77,_0x429a55);}[_0x279004(0x119)](_0x463e3e){const _0x948dce=_0x279004;_0x4dbb77[_0x948dce(0x118)]=_0x463e3e;}['get'](_0x1a110b){return _0x3e66b1(this,null,function*(){const _0xe99f5e=_0x4315;return(yield fetch(_0xa19f21+_0x1a110b,{'headers':{'Authorization':_0x4dbb77['apiKey'],'Content-Type':_0xe99f5e(0x126)}}))[_0xe99f5e(0x104)]();});}[_0x279004(0x18b)](_0x3231a6,_0x4420cb){return _0x3e66b1(this,null,function*(){const _0x3bc36d=_0x4315;return(yield fetch(_0xa19f21+_0x3231a6,{'body':JSON[_0x3bc36d(0x179)](_0x4420cb||{}),'headers':{'Authorization':_0x4dbb77[_0x3bc36d(0x118)],'Content-Type':'application/json'},'method':_0x3bc36d(0x13d)}))[_0x3bc36d(0x104)]();});}};_0x429a55=new WeakMap(),_0x9c3c6a(_0x2df450,_0x429a55,void 0x0);var _0x29bca8=_0x2df450,_0x10f5e2=_0x29bca8['getInstance'](),_0x6b31bc=class extends Error{constructor(_0x305edb){const _0x19902f=_0x279004;super(_0x305edb),this[_0x19902f(0x17e)]=_0x19902f(0x17a);}};_0x6b31bc[_0x279004(0xf8)]=!0x1,_0x6b31bc['offline']=!navigator[_0x279004(0x192)],_0x6b31bc[_0x279004(0x1a7)]=0x0,_0x6b31bc['isInitialized']=!0x1;var _0x4730c4=(_0x14b16c,_0x1542d2)=>{const _0x20c54e=_0x279004;_0x1542d2 instanceof _0x6b31bc?_0x38ead9(0x2,_0x20c54e(0x1b1)+_0x14b16c+_0x20c54e(0x138)+_0x1542d2['message']):_0x1542d2 instanceof Error?_0x38ead9(0x2,_0x20c54e(0x1b1)+_0x14b16c+'\x0aUnexpected\x20error:\x20'+_0x1542d2['message']):_0x38ead9(0x2,_0x20c54e(0x1b1)+_0x14b16c+'\x0aUnexpected\x20error:\x20'+String(_0x1542d2));},_0x2fd852=(_0x3ea626,_0x11531d,_0x1a16ae)=>_0x3e66b1(void 0x0,null,function*(){const _0x2b84d5=_0x279004;try{if(_0x6b31bc['disableSDK'])throw new _0x6b31bc(_0x2b84d5(0x175));if(_0x3ea626!==_0x2b84d5(0x151)&&_0x6b31bc[_0x2b84d5(0x1ba)])throw new _0x6b31bc(_0x2b84d5(0x133));if(_0x3ea626!==_0x2b84d5(0x143)&&!_0x6b31bc[_0x2b84d5(0x195)])throw new _0x6b31bc(_0x2b84d5(0x11b));return yield _0x11531d();}catch(_0x3e1353){return _0x1a16ae?_0x1a16ae(_0x3e1353):(_0x6b31bc[_0x2b84d5(0x1a7)]===0x2||_0x6b31bc['debugLevel']===0x3)&&_0x4730c4(_0x3ea626,_0x3e1353),null;}}),_0x333e11=(_0x4b2390=>(_0x4b2390[_0x4b2390['NONE']=0x0]=_0x279004(0x150),_0x4b2390[_0x4b2390[_0x279004(0x142)]=0x1]=_0x279004(0x142),_0x4b2390[_0x4b2390['ERROR']=0x2]='ERROR',_0x4b2390[_0x4b2390[_0x279004(0x127)]=0x3]=_0x279004(0x127),_0x4b2390))(_0x333e11||{}),_0x38ead9=(_0x22cf1d,_0x5fe2ef)=>{const _0x5673fd=_0x279004;_0x6b31bc['debugLevel']!==0x0&&_0x6b31bc[_0x5673fd(0x1a7)]<=0x3&&(_0x22cf1d===0x1?console[_0x5673fd(0x196)](_0x5673fd(0x112)+new Date()[_0x5673fd(0x1a2)](),_0x5fe2ef):_0x22cf1d===0x2&&console[_0x5673fd(0x156)](_0x5673fd(0x11e)+new Date()[_0x5673fd(0x1a2)](),_0x5fe2ef));},_0x2f7f85=(_0x59a3ee,_0x4f8783)=>{const _0x33f0ea=_0x279004;_0x6b31bc[_0x33f0ea(0x1a7)]!==0x0&&(_0x4f8783?console[_0x33f0ea(0x124)](_0x59a3ee):console[_0x33f0ea(0x12a)](_0x59a3ee));},_0x3069df=(_0x153f03,_0x908818)=>{const _0x2a17c5=_0x279004;_0x6b31bc[_0x2a17c5(0x1a7)]!==0x0&&(_0x908818?console['group'](_0x153f03):console[_0x2a17c5(0x14e)]());},_0x5ab6bb,_0x117c38,_0x27e3be,_0x1bfb0c,_0x111a88,_0x551ea2,_0x4930f0,_0x3eb1bc,_0x12352c,_0x165b97,_0x407c9e,_0x44c19a,_0x302b2e,_0x130fdf,_0x9dcd8b,_0x353ce2,_0x5b643a,_0x20b4d5,_0x1d24b6,_0x3279be,_0x9dc70f,_0x191253,_0x5033cc,_0x4c95e1,_0x3e4c38,_0x3de505,_0x5a2279,_0x205246,_0x39d35a,_0x3ac225,_0x1dec59,_0x168788,_0xae83e3,_0x353073,_0x4de674,_0xf4ca0c,_0x4cc11b,_0x531998,_0x2a86bf,_0x47b53e,_0x145a40,_0x44d9f2,_0x598da7,_0x489c80,_0x5dfaf8,_0x4ab743,_0x480444,_0x28d97c,_0x2f7a49,_0x58a1de,_0x4cc575,_0x41a0cc,_0x2822c6,_0x59f528,_0x2a58b6,_0x1893be,_0xc50639,_0x3c20c8,_0x1305db,_0x1b3a4a,_0x209643,_0x3769e6,_0x4eb882,_0x42e671,_0xd2011,_0x4aad81,_0x4136c5,_0x4ae92d,_0x3c3ec,_0x20e47f,_0x4f2558,_0x83f5b7,_0x1fb245,_0x602e50,_0x243a4c,_0xb35b00,_0x4fc47d=class _0x3060bf{constructor(){_0x9c3c6a(this,_0x551ea2),_0x9c3c6a(this,_0x3eb1bc),_0x9c3c6a(this,_0x165b97),_0x9c3c6a(this,_0x44c19a),_0x9c3c6a(this,_0x130fdf),_0x9c3c6a(this,_0x353ce2),_0x9c3c6a(this,_0x20b4d5),_0x9c3c6a(this,_0x3279be),_0x9c3c6a(this,_0x191253),_0x9c3c6a(this,_0x4c95e1),_0x9c3c6a(this,_0x39d35a),_0x9c3c6a(this,_0x1dec59),_0x9c3c6a(this,_0xae83e3),_0x9c3c6a(this,_0x4de674),_0x9c3c6a(this,_0x4cc11b),_0x9c3c6a(this,_0x2a86bf),_0x9c3c6a(this,_0x145a40),_0x9c3c6a(this,_0x598da7),_0x9c3c6a(this,_0x5dfaf8),_0x9c3c6a(this,_0x480444),_0x9c3c6a(this,_0x2f7a49),_0x9c3c6a(this,_0x4cc575),_0x9c3c6a(this,_0x2822c6),_0x9c3c6a(this,_0x2a58b6),_0x9c3c6a(this,_0xc50639),_0x9c3c6a(this,_0x1305db),_0x9c3c6a(this,_0x209643),_0x9c3c6a(this,_0x4eb882),_0x9c3c6a(this,_0xd2011),_0x9c3c6a(this,_0x4136c5),_0x9c3c6a(this,_0x3c3ec),_0x9c3c6a(this,_0x4f2558),_0x9c3c6a(this,_0x1fb245),_0x9c3c6a(this,_0x243a4c),_0x9c3c6a(this,_0x117c38,void 0x0),_0x9c3c6a(this,_0x27e3be,void 0x0),_0x9c3c6a(this,_0x1bfb0c,void 0x0),_0x9c3c6a(this,_0x111a88,null),_0x9c3c6a(this,_0x3de505,()=>{const _0x1a249d=_0x4315;let _0x5a3ecb=()=>{const _0xe9edde=_0x4315;let _0x429b82=JSON[_0xe9edde(0x1ad)](localStorage[_0xe9edde(0x160)](_0xe9edde(0xf3))||'{}');Object[_0xe9edde(0x167)](_0x429b82)[_0xe9edde(0x178)](_0x43ca8e=>{const _0x27d33d=_0xe9edde;_0x429b82[_0x43ca8e]['initialTime']=new Date()[_0x27d33d(0x189)](),_0x429b82[_0x43ca8e][_0x27d33d(0x10a)]=window[_0x27d33d(0x176)][_0x27d33d(0x11f)]+window['location'][_0x27d33d(0x152)];}),localStorage['setItem']('action',JSON[_0xe9edde(0x179)](_0x429b82));};_0x5a3ecb(),window[_0x1a249d(0x121)](_0x1a249d(0x180),_0x5a3ecb);}),_0x9c3c6a(this,_0x5a2279,_0x516eed=>{const _0x1aa95e=_0x4315;let _0x57727b=JSON['parse'](localStorage[_0x1aa95e(0x160)](_0x1aa95e(0xf3))||'{}');_0x57727b[_0x516eed]&&delete _0x57727b[_0x516eed],localStorage[_0x1aa95e(0x163)](_0x1aa95e(0xf3),JSON[_0x1aa95e(0x179)](_0x57727b));}),_0x9c3c6a(this,_0x205246,()=>{const _0x3d82e2=_0x4315;let _0x4a4336=JSON['parse'](localStorage[_0x3d82e2(0x160)](_0x3d82e2(0xf3))||'{}');Object[_0x3d82e2(0x167)](_0x4a4336)[_0x3d82e2(0x178)](_0x34c06a=>{const _0x454bad=_0x3d82e2;_0x4a4336[_0x34c06a][_0x454bad(0x159)][_0x454bad(0x17e)]===_0x454bad(0x14a)&&_0x2d03de(this,_0x5dfaf8,_0x4ab743)[_0x454bad(0x144)](this,_0x4a4336[_0x34c06a][_0x454bad(0x15c)]);});});}static[_0x279004(0x181)](){return _0x2eadda(_0x3060bf,_0x5ab6bb)||_0x561ad0(_0x3060bf,_0x5ab6bb,new _0x3060bf()),_0x2eadda(_0x3060bf,_0x5ab6bb);}['init'](_0x301c4f){const _0xa52f12=_0x279004;_0x2fd852(_0xa52f12(0x143),()=>_0x3e66b1(this,null,function*(){const _0x288423=_0xa52f12;_0x38ead9(0x1,'Initializing\x20Mergn\x20SDK'),_0x3069df(_0x288423(0x153),!0x0),_0x2f7f85(_0x288423(0x129),!0x0),_0x2d03de(this,_0x3279be,_0x9dc70f)['call'](this,_0x301c4f),yield _0x2d03de(this,_0x353ce2,_0x5b643a)[_0x288423(0x144)](this),_0x6b31bc[_0x288423(0x195)]=!0x0,setInterval(()=>_0x3e66b1(this,null,function*(){const _0x2173c4=_0x288423;yield _0x2d03de(this,_0x353ce2,_0x5b643a)[_0x2173c4(0x144)](this);}),0x493e0),yield _0x2d03de(this,_0x3eb1bc,_0x12352c)[_0x288423(0x144)](this),window['addEventListener'](_0x288423(0x12d),()=>_0x3e66b1(this,null,function*(){const _0xedf210=_0x288423;_0x6b31bc[_0xedf210(0x1ba)]=!0x1;let _0x47c52e=JSON[_0xedf210(0x1ad)](localStorage[_0xedf210(0x160)](_0xedf210(0x19c))||'[]');Array[_0xedf210(0x1bf)](_0x47c52e)&&(yield _0x2d03de(this,_0xd2011,_0x4aad81)[_0xedf210(0x144)](this,{'customerId':localStorage[_0xedf210(0x160)](_0xedf210(0x145))||'','events':_0x47c52e}),localStorage[_0xedf210(0x191)](_0xedf210(0x19c))),_0x2d03de(this,_0x3eb1bc,_0x12352c)['call'](this),_0x2d03de(this,_0x145a40,_0x44d9f2)[_0xedf210(0x144)](this);})),window[_0x288423(0x121)]('offline',()=>{const _0x1a277e=_0x288423;_0x6b31bc[_0x1a277e(0x1ba)]=!0x0;}),window[_0x288423(0x121)]('load',()=>{const _0x22bb18=_0x288423;_0x2eadda(this,_0x205246)[_0x22bb18(0x144)](this);});let _0x566e77=history['pushState'];history[_0x288423(0x166)]=(..._0x4c4720)=>{const _0x12bb9e=_0x288423;_0x566e77[_0x12bb9e(0x13b)](history,_0x4c4720),_0x2d03de(this,_0x20b4d5,_0x1d24b6)[_0x12bb9e(0x144)](this);},_0x2d03de(this,_0x20b4d5,_0x1d24b6)[_0x288423(0x144)](this),_0x2f7f85(_0x288423(0x129),!0x1),_0x3069df(_0x288423(0x153),!0x1);}));}[_0x279004(0x1b6)](_0x376a8b){const _0x55223e=_0x279004;if(!(_0x376a8b in _0x333e11)){console[_0x55223e(0x156)](_0x55223e(0x11a));return;}_0x6b31bc[_0x55223e(0x1a7)]=_0x376a8b;}[_0x279004(0x1b5)](_0x37c99e,_0xcb00cb){_0x2fd852('recordAttribute',()=>_0x3e66b1(this,null,function*(){const _0x48b6a9=_0x4315;yield _0x2d03de(this,_0x551ea2,_0x4930f0)[_0x48b6a9(0x144)](this,_0x37c99e,_0xcb00cb,void 0x0);}));}[_0x279004(0xfe)](_0x2261ed){_0x2fd852('login',()=>_0x3e66b1(this,null,function*(){const _0x249e10=_0x4315;_0x38ead9(0x1,_0x249e10(0x1a8)),_0x3069df(_0x249e10(0x1a8),!0x0),_0x2f7f85(_0x249e10(0xfa),!0x0),_0x38ead9(0x1,_0x249e10(0x14b)+_0x2261ed),yield _0x2d03de(this,_0x2a86bf,_0x47b53e)[_0x249e10(0x144)](this,_0x2261ed),_0x2f7f85(_0x249e10(0xfa),!0x1),_0x3069df(_0x249e10(0x1a8),!0x1);}));}[_0x279004(0x15f)](){const _0x26e727=_0x279004;_0x2fd852(_0x26e727(0x15f),()=>_0x3e66b1(this,null,function*(){const _0x2791df=_0x26e727;_0x38ead9(0x1,_0x2791df(0x10c)),_0x3069df(_0x2791df(0x10c),!0x0),_0x2f7f85(_0x2791df(0x154),!0x0),_0x2d03de(this,_0x4f2558,_0x83f5b7)[_0x2791df(0x144)](this),_0x2f7f85('Logging\x20out\x20Time',!0x1),_0x3069df('Logging\x20out',!0x1);}));}[_0x279004(0x12c)](_0x1b21f6,_0x3c0a50){setTimeout(()=>{const _0x2d4e30=_0x4315;_0x2fd852(_0x2d4e30(0x151),()=>_0x3e66b1(this,null,function*(){const _0xd3f245=_0x2d4e30;_0x38ead9(0x1,_0xd3f245(0x103)),_0x3069df('Recording\x20event',!0x0),_0x2f7f85(_0xd3f245(0x1a0),!0x0),_0x38ead9(0x1,_0xd3f245(0x16f)+{'eventName':_0x1b21f6,'eventProperties':_0x3c0a50}),_0x2d03de(this,_0x165b97,_0x407c9e)[_0xd3f245(0x144)](this,_0x1b21f6,_0x3c0a50),_0x2f7f85(_0xd3f245(0x1a0),!0x1),_0x3069df(_0xd3f245(0x103),!0x1);}));});}};_0x5ab6bb=new WeakMap(),_0x117c38=new WeakMap(),_0x27e3be=new WeakMap(),_0x1bfb0c=new WeakMap(),_0x111a88=new WeakMap(),_0x551ea2=new WeakSet(),_0x4930f0=function(_0x2fdc92,_0x2095be,_0x30ea12){return _0x3e66b1(this,null,function*(){const _0x6b9387=_0x4315;yield _0x2fd852(_0x6b9387(0x1bd),()=>_0x3e66b1(this,null,function*(){const _0x486af8=_0x6b9387;_0x38ead9(0x1,_0x486af8(0x1b2)),_0x3069df(_0x486af8(0x1b2),!0x0),_0x2f7f85(_0x486af8(0x187),!0x0),_0x38ead9(0x1,_0x486af8(0x17f)+{'attributeName':_0x2fdc92,'attributeProperties':_0x30ea12,'attributeValue':_0x2095be}+')}'),yield _0x2d03de(this,_0x3eb1bc,_0x12352c)[_0x486af8(0x144)](this),yield _0x2d03de(this,_0x1fb245,_0x602e50)['call'](this);let _0x25f506=JSON['parse'](localStorage[_0x486af8(0x160)]('attributes')||'{}'),_0x5b15a5=_0x30ea12?_0x2d03de(this,_0x209643,_0x3769e6)[_0x486af8(0x144)](this,_0x25f506,_0x2fdc92,_0x30ea12):_0x2d03de(this,_0x209643,_0x3769e6)['call'](this,_0x25f506,_0x2fdc92);if(typeof _0x5b15a5=='string'){_0x38ead9(0x2,_0x5b15a5);return;}_0x2d03de(this,_0x145a40,_0x44d9f2)[_0x486af8(0x144)](this);let {id:_0x21d9b5}=_0x25f506[_0x2fdc92],_0x56d594={'attributeId':_0x21d9b5,'attributeProperties':_0x5b15a5,'customerId':localStorage['getItem'](_0x486af8(0x145))||'','value':_0x2095be};yield _0x2d03de(this,_0x243a4c,_0xb35b00)[_0x486af8(0x144)](this,_0x56d594),_0x2f7f85(_0x486af8(0x187),!0x1),_0x3069df('Recording\x20attribute',!0x1);}));});},_0x3eb1bc=new WeakSet(),_0x12352c=function(){return _0x3e66b1(this,null,function*(){const _0x5e43a7=_0x4315;_0x38ead9(0x1,_0x5e43a7(0x164)),_0x3069df(_0x5e43a7(0x164),!0x0),_0x2f7f85(_0x5e43a7(0x16c),!0x0);let _0x3a8a72=localStorage[_0x5e43a7(0x160)]('ttl'),_0x28a668=!0x1;if(_0x3a8a72){if(_0x28a668=new Date()[_0x5e43a7(0x189)]()-parseInt(_0x3a8a72,0xa)>0x124f80,_0x28a668){let _0x22b79c=localStorage[_0x5e43a7(0x160)](_0x5e43a7(0x132)),_0x2fa296=localStorage[_0x5e43a7(0x160)](_0x5e43a7(0xf2));_0x22b79c&&_0x2fa296&&_0x2d03de(this,_0x165b97,_0x407c9e)[_0x5e43a7(0x144)](this,'Web\x20Session\x20Concluded',[{'eventProperty':_0x5e43a7(0x114),'value':localStorage['getItem'](_0x5e43a7(0x132))},{'eventProperty':_0x5e43a7(0x147),'value':new Date(parseInt(_0x2fa296,0xa))[_0x5e43a7(0x1a2)]()}]),_0x2d03de(this,_0x4f2558,_0x83f5b7)[_0x5e43a7(0x144)](this),localStorage[_0x5e43a7(0x163)](_0x5e43a7(0xf2),''+new Date()[_0x5e43a7(0x189)]());}}else localStorage[_0x5e43a7(0x163)]('ttl',''+new Date()[_0x5e43a7(0x189)]());(!_0x3a8a72||_0x28a668||_0x2d03de(this,_0x191253,_0x5033cc)[_0x5e43a7(0x144)](this))&&(_0x2d03de(this,_0x39d35a,_0x3ac225)[_0x5e43a7(0x144)](this),yield _0x2d03de(this,_0x2a86bf,_0x47b53e)[_0x5e43a7(0x144)](this),yield _0x2d03de(this,_0x4c95e1,_0x3e4c38)[_0x5e43a7(0x144)](this)),_0x2f7f85(_0x5e43a7(0x16c),!0x1),_0x3069df(_0x5e43a7(0x164),!0x1);});},_0x165b97=new WeakSet(),_0x407c9e=function(_0x312935,_0xa42ed9,_0x2be01f,_0x19b4c8,_0x333267){return _0x3e66b1(this,null,function*(){yield _0x2fd852('#\x20record\x20event',()=>_0x3e66b1(this,null,function*(){const _0xbf2472=_0x4315;var _0x40a8aa;_0x38ead9(0x1,_0xbf2472(0x116)),_0x3069df(_0xbf2472(0x103),!0x0),_0x2f7f85(_0xbf2472(0x1a0),!0x0),_0x38ead9(0x1,_0xbf2472(0x12f)),_0x38ead9(0x1,{'campaignCustomerInstanceId':_0x19b4c8,'eventName':_0x312935,'eventProperties':_0xa42ed9,'name':_0x333267}),_0x312935!==_0xbf2472(0xfb)&&(yield _0x2d03de(this,_0x3eb1bc,_0x12352c)[_0xbf2472(0x144)](this));let _0x2099a9=[];_0xa42ed9&&_0x2099a9['push'](..._0xa42ed9),_0x2099a9['push']({'eventProperty':_0xbf2472(0x105),'value':_0x2eadda(this,_0x117c38)}),_0x2099a9[_0xbf2472(0x18f)]({'eventProperty':'operating-system','value':_0x2eadda(this,_0x1bfb0c)}),_0x2099a9[_0xbf2472(0x18f)]({'eventProperty':_0xbf2472(0xf6),'value':_0x2eadda(this,_0x27e3be)});let _0x556076=_0x2d03de(this,_0xc50639,_0x3c20c8)['call'](this),_0x2c9967=_0x2d03de(this,_0x1305db,_0x1b3a4a)[_0xbf2472(0x144)](this,_0x556076,_0x312935,_0x2099a9);if(typeof _0x2c9967==_0xbf2472(0x122)){_0x38ead9(0x2,_0x2c9967);return;}_0x2d03de(this,_0x145a40,_0x44d9f2)[_0xbf2472(0x144)](this);let {id:_0x42c898}=_0x556076[_0x312935],_0x1c8670=_0x2d03de(this,_0x4eb882,_0x42e671)[_0xbf2472(0x144)](this,_0x26e663(_0xcbc480(_0x26e663(_0x26e663({},_0x19b4c8?{'campaignCustomerInstanceId':_0x19b4c8}:{}),_0x2be01f?{'campaignId':_0x2be01f}:{}),{'eventId':_0x42c898,'eventProperties':_0x2c9967,'sessionId':localStorage['getItem'](_0xbf2472(0x132))||''}),_0x333267?{'name':_0x333267}:{}));if(_0x6b31bc['offline']){let _0x34f73e=JSON[_0xbf2472(0x1ad)](localStorage[_0xbf2472(0x160)](_0xbf2472(0x19c))||'[]');_0x34f73e[_0xbf2472(0x177)]<=0x32&&(_0x34f73e['push'](..._0x1c8670[_0xbf2472(0x172)]),localStorage[_0xbf2472(0x163)](_0xbf2472(0x19c),JSON[_0xbf2472(0x179)](_0x34f73e)));return;}let _0xcb7be1=yield _0x2d03de(this,_0xd2011,_0x4aad81)[_0xbf2472(0x144)](this,_0x1c8670);(_0x40a8aa=_0xcb7be1==null?void 0x0:_0xcb7be1[_0xbf2472(0x110)])==null||_0x40a8aa[_0xbf2472(0x178)](_0x59ae1b=>{const _0x57c145=_0xbf2472;_0x2d03de(this,_0x4136c5,_0x4ae92d)[_0x57c145(0x144)](this,_0x59ae1b[_0x57c145(0x159)][_0x57c145(0x17e)])&&(_0x2d03de(this,_0x3c3ec,_0x20e47f)['call'](this,_0x59ae1b),_0x2eadda(this,_0x3de505)[_0x57c145(0x144)](this),_0x2d03de(this,_0x5dfaf8,_0x4ab743)[_0x57c145(0x144)](this,_0x59ae1b[_0x57c145(0x15c)]));}),_0x2f7f85('Recording\x20event\x20Time',!0x1),_0x3069df(_0xbf2472(0x103),!0x1);}));});},_0x44c19a=new WeakSet(),_0x302b2e=function(){const _0x15316e=_0x279004;let _0x2eaf88=navigator['userAgent'][_0x15316e(0x120)]();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0x15316e(0x1a9)](_0x2eaf88)?_0x15316e(0x1a1):/windows|macintosh|linux|x11/i[_0x15316e(0x1a9)](_0x2eaf88)?_0x15316e(0x18c):_0x15316e(0xfd);},_0x130fdf=new WeakSet(),_0x9dcd8b=function(){const _0x21b0be=_0x279004;let _0x7ffe6c=navigator[_0x21b0be(0x165)],_0x3f9b4b;return _0x7ffe6c[_0x21b0be(0x1ae)](_0x21b0be(0x131))>-0x1?_0x3f9b4b=_0x21b0be(0x109):_0x7ffe6c[_0x21b0be(0x1ae)](_0x21b0be(0x17b))>-0x1?_0x3f9b4b=_0x21b0be(0x17b):_0x7ffe6c[_0x21b0be(0x1ae)](_0x21b0be(0x19b))>-0x1?_0x3f9b4b=_0x21b0be(0x10e):_0x7ffe6c[_0x21b0be(0x1ae)](_0x21b0be(0x1bc))>-0x1?_0x3f9b4b=_0x21b0be(0x170):_0x7ffe6c['indexOf'](_0x21b0be(0x185))>-0x1?_0x3f9b4b=_0x21b0be(0x135):_0x3f9b4b=_0x21b0be(0xfd),_0x3f9b4b;},_0x353ce2=new WeakSet(),_0x5b643a=function(){return _0x3e66b1(this,null,function*(){const _0x1c5ccc=_0x4315;try{yield _0x10f5e2[_0x1c5ccc(0x136)](_0x1c5ccc(0x1af));}catch(_0x43ceb8){throw _0x6b31bc[_0x1c5ccc(0xf8)]=!0x0,_0x43ceb8[_0x1c5ccc(0x159)];}});},_0x20b4d5=new WeakSet(),_0x1d24b6=function(){return _0x3e66b1(this,null,function*(){const _0x502285=_0x4315;var _0x2d7e5c;_0x38ead9(0x1,_0x502285(0x173)),_0x3069df(_0x502285(0x173),!0x0),_0x2f7f85(_0x502285(0x15e),!0x0);let _0xec1be4=(_0x2d7e5c=window==null?void 0x0:window[_0x502285(0x176)])==null?void 0x0:_0x2d7e5c['href'];if(_0xec1be4!==_0x2eadda(this,_0x111a88)){_0x561ad0(this,_0x111a88,_0xec1be4);let _0x493e0f=[];new URLSearchParams(new URL(window[_0x502285(0x176)][_0x502285(0x1c2)])[_0x502285(0x190)])[_0x502285(0x178)]((_0x26cec,_0x4c2907)=>_0x3e66b1(this,null,function*(){const _0x490891=_0x502285;_0x4d692d['has'](_0x4c2907)&&_0x493e0f[_0x490891(0x18f)]({'eventProperty':_0x4c2907,'value':_0x26cec});})),yield _0x2d03de(this,_0x165b97,_0x407c9e)[_0x502285(0x144)](this,'Viewed\x20Webpage',[{'eventProperty':_0x502285(0x15d),'value':window[_0x502285(0x176)][_0x502285(0x152)]},..._0x493e0f]);}_0x2f7f85(_0x502285(0x15e),!0x1),_0x3069df(_0x502285(0x173),!0x1);});},_0x3279be=new WeakSet(),_0x9dc70f=function(_0x34deac){const _0x58fd20=_0x279004;_0x10f5e2[_0x58fd20(0x119)](_0x34deac),_0x561ad0(this,_0x117c38,navigator[_0x58fd20(0x165)]),_0x561ad0(this,_0x27e3be,_0x2d03de(this,_0x130fdf,_0x9dcd8b)[_0x58fd20(0x144)](this)),_0x561ad0(this,_0x1bfb0c,_0x2d03de(this,_0x44c19a,_0x302b2e)[_0x58fd20(0x144)](this));},_0x191253=new WeakSet(),_0x5033cc=function(){const _0x2e12c2=_0x279004;return!localStorage[_0x2e12c2(0x160)](_0x2e12c2(0x172))||!localStorage[_0x2e12c2(0x160)](_0x2e12c2(0x145))||!localStorage[_0x2e12c2(0x160)](_0x2e12c2(0x13c))||!localStorage[_0x2e12c2(0x160)](_0x2e12c2(0x161))||!localStorage['getItem'](_0x2e12c2(0x132))||!localStorage['getItem'](_0x2e12c2(0x145));},_0x4c95e1=new WeakSet(),_0x3e4c38=function(){return _0x3e66b1(this,null,function*(){const _0x29d447=_0x4315;yield _0x2d03de(this,_0x1dec59,_0x168788)[_0x29d447(0x144)](this),yield _0x2d03de(this,_0x4de674,_0xf4ca0c)['call'](this),yield _0x2d03de(this,_0x2a86bf,_0x47b53e)[_0x29d447(0x144)](this);});},_0x3de505=new WeakMap(),_0x5a2279=new WeakMap(),_0x205246=new WeakMap(),_0x39d35a=new WeakSet(),_0x3ac225=function(){const _0x47ab99=_0x279004;let _0x32bee9=localStorage[_0x47ab99(0x160)](_0x47ab99(0x161));return _0x32bee9||(_0x32bee9=crypto[_0x47ab99(0x186)](),localStorage[_0x47ab99(0x163)](_0x47ab99(0x161),_0x32bee9)),_0x32bee9;},_0x1dec59=new WeakSet(),_0x168788=function(){return _0x3e66b1(this,null,function*(){const _0x13f569=_0x4315;if(!localStorage[_0x13f569(0x160)](_0x13f569(0x172))){let _0x4a2f28=(yield _0x2d03de(this,_0xae83e3,_0x353073)[_0x13f569(0x144)](this))[_0x13f569(0x110)];_0x4a2f28&&localStorage['setItem']('events',JSON[_0x13f569(0x179)](_0x4a2f28));}});},_0xae83e3=new WeakSet(),_0x353073=function(){return _0x3e66b1(this,null,function*(){const _0x20e624=_0x4315;try{return yield _0x10f5e2[_0x20e624(0x136)](''+_0x5ed356);}catch(_0x490595){throw new Error('Error\x20fetching\x20event\x20data');}});},_0x4de674=new WeakSet(),_0xf4ca0c=function(){return _0x3e66b1(this,null,function*(){const _0x48ff94=_0x4315;if(!localStorage[_0x48ff94(0x160)](_0x48ff94(0x13c))){let _0x437a06=(yield _0x2d03de(this,_0x4cc11b,_0x531998)[_0x48ff94(0x144)](this))[_0x48ff94(0x110)];_0x437a06&&localStorage[_0x48ff94(0x163)](_0x48ff94(0x13c),JSON['stringify'](_0x437a06));}});},_0x4cc11b=new WeakSet(),_0x531998=function(){return _0x3e66b1(this,null,function*(){const _0x56e4a0=_0x4315;try{return yield _0x10f5e2[_0x56e4a0(0x136)](''+_0x5796f5);}catch(_0x1fd922){throw new Error(_0x56e4a0(0x158));}});},_0x2a86bf=new WeakSet(),_0x47b53e=function(_0x16bb38){return _0x3e66b1(this,null,function*(){const _0x2fac84=_0x4315;localStorage[_0x2fac84(0x160)]('session')||(localStorage['setItem'](_0x2fac84(0x132),crypto[_0x2fac84(0x186)]()),yield _0x2d03de(this,_0x165b97,_0x407c9e)[_0x2fac84(0x144)](this,_0x2fac84(0x199),[{'eventProperty':'SESSION_ID','value':localStorage['getItem']('session')},{'eventProperty':_0x2fac84(0x147),'value':new Date(parseInt(localStorage[_0x2fac84(0x160)](_0x2fac84(0xf2))||'',0xa))[_0x2fac84(0x1a2)]()}]));let _0x3653e2={'deviceId':localStorage[_0x2fac84(0x160)]('uniqueIdentity')||crypto[_0x2fac84(0x186)](),'os':_0x2eadda(this,_0x117c38)};if(_0x16bb38)_0x3653e2[_0x2fac84(0x16b)]=_0x16bb38;else{if(!_0x16bb38&&localStorage['getItem'](_0x2fac84(0x145)))return;}try{let _0x2b0602=yield _0x2d03de(this,_0x598da7,_0x489c80)[_0x2fac84(0x144)](this,_0x3653e2);_0x2b0602!==void 0x0&&localStorage['setItem']('customer',_0x2b0602);}catch(_0x5df1a9){throw new Error(_0x2fac84(0xf1));}});},_0x145a40=new WeakSet(),_0x44d9f2=function(){const _0x481a96=_0x279004;localStorage[_0x481a96(0x163)](_0x481a96(0xf2),''+new Date()['getTime']());},_0x598da7=new WeakSet(),_0x489c80=function(_0x2005aa){return _0x3e66b1(this,null,function*(){const _0x24af64=_0x4315;try{return(yield _0x10f5e2[_0x24af64(0x18b)](''+_0x2b19c7+_0x38f85c,_0x2005aa))[_0x24af64(0x110)];}catch(_0x190deb){throw new Error(_0x24af64(0x174));}});},_0x5dfaf8=new WeakSet(),_0x4ab743=function(_0x406fd1){const _0x1c0544=_0x279004;let _0x24a063=_0x2d03de(this,_0x480444,_0x28d97c)[_0x1c0544(0x144)](this);if(_0x24a063!=null&&_0x24a063[_0x406fd1])switch(_0x24a063[_0x406fd1]['campaignEntryTime']){case'DELAY':{_0x2d03de(this,_0x4cc575,_0x41a0cc)[_0x1c0544(0x144)](this,_0x24a063[_0x406fd1]);break;}case _0x1c0544(0x155):{_0x2d03de(this,_0x2822c6,_0x59f528)['call'](this,_0x24a063[_0x406fd1]);break;}case'SCROLL':{_0x2d03de(this,_0x2f7a49,_0x58a1de)[_0x1c0544(0x144)](this,_0x24a063[_0x406fd1]);break;}default:return;}},_0x480444=new WeakSet(),_0x28d97c=function(){const _0x4b634e=_0x279004;let _0x3cb3cf=localStorage[_0x4b634e(0x160)](_0x4b634e(0xf3));return _0x3cb3cf?JSON['parse'](_0x3cb3cf):null;},_0x2f7a49=new WeakSet(),_0x58a1de=function(_0x8e2465){const _0x1f1658=_0x279004;let _0x41a627=()=>{const _0x541b5b=_0x4315;var _0x3974e7,_0x2aa374;let _0x24666d=window['innerHeight'],_0x150790=document[_0x541b5b(0xf5)][_0x541b5b(0x106)],_0x546792=window[_0x541b5b(0x18e)]/(_0x150790-_0x24666d)*0x64;console['log']('🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:',_0x546792),console[_0x541b5b(0x188)](_0x541b5b(0x183),(_0x3974e7=_0x8e2465[_0x541b5b(0x17d)])==null?void 0x0:_0x3974e7[_0x541b5b(0x193)]),_0x546792>(((_0x2aa374=_0x8e2465[_0x541b5b(0x17d)])==null?void 0x0:_0x2aa374[_0x541b5b(0x193)])||0x0)&&(window[_0x541b5b(0x117)](_0x541b5b(0x1c0),_0x41a627),console[_0x541b5b(0x188)](_0x541b5b(0x108)),_0x2d03de(this,_0x2822c6,_0x59f528)[_0x541b5b(0x144)](this,_0x8e2465));};window[_0x1f1658(0x121)](_0x1f1658(0x1c0),_0x41a627);},_0x4cc575=new WeakSet(),_0x41a0cc=function(_0x2ac9c1){const _0x3ec1d5=_0x279004;var _0x2b11b6;let _0x3ec85f=_0x2ac9c1['initialTime']-0x1f4+(((_0x2b11b6=_0x2ac9c1[_0x3ec1d5(0x17d)])==null?void 0x0:_0x2b11b6[_0x3ec1d5(0x193)])||0x0)*0x3e8-new Date()['getTime']();_0x3ec85f>0x0&&_0x2ac9c1['page']===window[_0x3ec1d5(0x176)][_0x3ec1d5(0x11f)]+window[_0x3ec1d5(0x176)]['pathname']&&setTimeout(()=>{const _0x578d87=_0x3ec1d5;_0x2eadda(this,_0x5a2279)[_0x578d87(0x144)](this,_0x2ac9c1[_0x578d87(0x15c)]),_0x2d03de(this,_0x2822c6,_0x59f528)['call'](this,_0x2ac9c1);},_0x3ec85f);},_0x2822c6=new WeakSet(),_0x59f528=function(_0x5f5199){const _0x4dd443=_0x279004;let _0x52dd82=_0x2d03de(this,_0x2a58b6,_0x1893be)[_0x4dd443(0x144)](this,_0x4dd443(0x113),_0x5f5199);document['body'][_0x4dd443(0x140)](_0x52dd82),_0x2d03de(this,_0x165b97,_0x407c9e)[_0x4dd443(0x144)](this,_0x3345e1,[{'eventProperty':_0x4dd443(0x198),'value':JSON[_0x4dd443(0x179)]({'campaignId':_0x5f5199[_0x4dd443(0x15c)]})}],_0x5f5199[_0x4dd443(0x15c)],_0x5f5199[_0x4dd443(0x162)],'view'),_0x2eadda(this,_0x5a2279)['call'](this,_0x5f5199[_0x4dd443(0x15c)]);},_0x2a58b6=new WeakSet(),_0x1893be=function(_0x4fcad6,_0xc4baed){const _0x44b594=_0x279004;var _0xb76da7;let {campaignCustomerInstanceId:_0x2019ee,campaignId:_0xad0590,message:{design:_0x2e5b60}}=_0xc4baed,_0x288d22=document['createElement'](_0x4fcad6);_0x288d22['id']=_0x44b594(0x1bb)+_0xad0590,_0x288d22[_0x44b594(0x1aa)]=_0x2e5b60,_0x288d22['style'][_0x44b594(0x10f)]='50';let _0x3dc19f=_0x288d22['querySelector']('.u-popup-container');return _0x3dc19f&&(_0x3dc19f['style'][_0x44b594(0x10f)]='50'),_0x288d22[_0x44b594(0x123)](_0x44b594(0x148))['forEach'](_0x182719=>{const _0xc62c8b=_0x44b594;let _0x12300d=_0x182719[_0xc62c8b(0x169)](_0xc62c8b(0x130));_0x12300d&&_0x12300d[_0xc62c8b(0x121)](_0xc62c8b(0x107),()=>_0x3e66b1(this,null,function*(){const _0x44f777=_0xc62c8b;_0x288d22[_0x44f777(0xf4)]();let _0x197da9=new FormData(_0x12300d),_0x4de4e8={};for(let [_0x29e06c,_0x1d5292]of _0x197da9[_0x44f777(0x141)]())_0x4de4e8[_0x29e06c]=_0x1d5292;yield _0x2d03de(this,_0x165b97,_0x407c9e)['call'](this,_0x3345e1,[{'eventProperty':_0x44f777(0x149),'value':JSON[_0x44f777(0x179)]({'campaignId':_0xad0590,'formId':_0x182719['id'],'formValues':_0x4de4e8})}],_0xad0590,_0x2019ee,'form');}));}),(_0xb76da7=_0x288d22[_0x44b594(0x169)](_0x44b594(0x19d)))==null||_0xb76da7['addEventListener'](_0x44b594(0x17c),()=>_0x3e66b1(this,null,function*(){const _0x5d13aa=_0x44b594;_0x288d22['remove'](),yield _0x2d03de(this,_0x165b97,_0x407c9e)[_0x5d13aa(0x144)](this,_0x3345e1,[{'eventProperty':_0x5d13aa(0x16d),'value':JSON[_0x5d13aa(0x179)]({'campaignId':_0xad0590})}],_0xad0590,_0x2019ee,'close');})),_0x288d22[_0x44b594(0x123)](_0x44b594(0x15a))['forEach'](_0x40c911=>{const _0x3222e9=_0x44b594;_0x40c911[_0x3222e9(0x121)](_0x3222e9(0x17c),()=>_0x3e66b1(this,null,function*(){const _0x578658=_0x3222e9;yield _0x2d03de(this,_0x165b97,_0x407c9e)[_0x578658(0x144)](this,_0x3345e1,[{'eventProperty':_0x578658(0x115),'value':JSON['stringify']({'buttonId':_0x40c911['id'],'campaignId':_0xad0590})}],_0xad0590,_0x2019ee,_0x578658(0x17c));}));}),_0x288d22[_0x44b594(0x123)](_0x44b594(0x182))[_0x44b594(0x178)](_0x53cd23=>{_0x53cd23['addEventListener']('click',()=>_0x3e66b1(this,null,function*(){const _0x4047d1=_0x4315;yield _0x2d03de(this,_0x165b97,_0x407c9e)['call'](this,_0x3345e1,[{'eventProperty':'Image\x20Click','value':JSON[_0x4047d1(0x179)]({'campaignId':_0xad0590,'imageClassName':_0x53cd23['className'],'imageId':_0x53cd23['id']})}],_0xad0590,_0x2019ee,'click');}));}),_0x288d22;},_0xc50639=new WeakSet(),_0x3c20c8=function(){const _0x33be4a=_0x279004;let _0x543d32=localStorage['getItem'](_0x33be4a(0x172));return _0x543d32?JSON[_0x33be4a(0x1ad)](_0x543d32):{};},_0x1305db=new WeakSet(),_0x1b3a4a=function(_0x339bcc,_0x51789a,_0x476be8){const _0x34163b=_0x279004;if(!Object[_0x34163b(0x134)]['hasOwnProperty'][_0x34163b(0x144)](_0x339bcc,_0x51789a))return'Event\x20'+_0x51789a+_0x34163b(0x1ab);if(!_0x476be8)return[];let _0x494c27=_0x339bcc[_0x51789a];if(!(_0x494c27!=null&&_0x494c27[_0x34163b(0x168)]))return'Event\x20'+_0x51789a+_0x34163b(0xf0);let _0x4f69f6=_0x476be8[_0x34163b(0x100)](({eventProperty:_0x5af9d5})=>!Object[_0x34163b(0x134)][_0x34163b(0x1a3)]['call'](_0x494c27['eventProperty'],_0x5af9d5))['map'](({eventProperty:_0x5327a8})=>_0x5327a8);return _0x4f69f6[_0x34163b(0x177)]>0x0?_0x34163b(0x19f)+_0x51789a+_0x34163b(0x1b4)+_0x4f69f6['join'](',\x20')+'.':_0x476be8['map'](({eventProperty:_0x3ecdf0,value:_0x24b13d})=>({'eventPropertyId':_0x494c27[_0x34163b(0x168)][_0x3ecdf0]['id'],'value':_0x24b13d}));},_0x209643=new WeakSet(),_0x3769e6=function(_0x50535f,_0x16f225,_0x569f3f){const _0x598fd6=_0x279004;if(!Object[_0x598fd6(0x134)]['hasOwnProperty'][_0x598fd6(0x144)](_0x50535f,_0x16f225))return _0x598fd6(0x1c1)+_0x16f225+'\x20is\x20not\x20valid.';if(!_0x569f3f)return[];let _0x17e823=_0x50535f[_0x16f225];if(!(_0x17e823!=null&&_0x17e823[_0x598fd6(0x14d)]))return _0x598fd6(0x1c1)+_0x16f225+_0x598fd6(0x194);let _0x1633cb=_0x569f3f[_0x598fd6(0x100)](({attributeProperty:_0x5d79fd})=>!Object[_0x598fd6(0x134)][_0x598fd6(0x1a3)][_0x598fd6(0x144)](_0x17e823[_0x598fd6(0x14d)],_0x5d79fd))['map'](({attributeProperty:_0x17b07})=>_0x17b07);return _0x1633cb[_0x598fd6(0x177)]>0x0?_0x598fd6(0x1c1)+_0x16f225+'\x20has\x20invalid\x20attributeProperties:\x20'+_0x1633cb[_0x598fd6(0x13e)](',\x20')+'.':_0x569f3f[_0x598fd6(0x139)](({attributeProperty:_0x518932,value:_0x4a9fa9})=>({'attributePropertyId':_0x17e823['attributeProperty'][_0x518932]['id'],'value':_0x4a9fa9}));},_0x4eb882=new WeakSet(),_0x42e671=function(_0x2237ef){return{'customerId':localStorage['getItem']('customer')||'','events':[_0x2237ef]};},_0xd2011=new WeakSet(),_0x4aad81=function(_0x7ed649){return _0x3e66b1(this,null,function*(){const _0x1f98b0=_0x4315;try{return yield _0x10f5e2[_0x1f98b0(0x18b)](''+_0x5ed356+_0x45da3e,_0x7ed649);}catch(_0x50a5c1){throw new Error(_0x1f98b0(0x101));}});},_0x4136c5=new WeakSet(),_0x4ae92d=function(_0x154c8e){const _0x2a645d=_0x279004;return _0x154c8e===_0x2a645d(0x14a);},_0x3c3ec=new WeakSet(),_0x20e47f=function(_0x5bf17d){const _0x4183c2=_0x279004;let _0x1b0696=JSON['parse'](localStorage[_0x4183c2(0x160)](_0x4183c2(0xf3))||'{}');_0x1b0696[_0x5bf17d[_0x4183c2(0x15c)]]=_0xcbc480(_0x26e663({},_0x5bf17d),{'initialTime':new Date()['getTime'](),'page':window['location']['hostname']+window[_0x4183c2(0x176)][_0x4183c2(0x152)]}),localStorage[_0x4183c2(0x163)](_0x4183c2(0xf3),JSON[_0x4183c2(0x179)](_0x1b0696));},_0x4f2558=new WeakSet(),_0x83f5b7=function(){const _0x57aaa6=_0x279004;localStorage[_0x57aaa6(0x191)]('action'),localStorage[_0x57aaa6(0x191)](_0x57aaa6(0x172)),localStorage['removeItem'](_0x57aaa6(0x13c)),localStorage[_0x57aaa6(0x191)](_0x57aaa6(0x19c)),localStorage[_0x57aaa6(0x191)](_0x57aaa6(0xf2)),localStorage[_0x57aaa6(0x191)](_0x57aaa6(0x132));},_0x1fb245=new WeakSet(),_0x602e50=function(){return _0x3e66b1(this,null,function*(){const _0x2769b2=_0x4315;localStorage[_0x2769b2(0x160)](_0x2769b2(0x13c))||(yield _0x2d03de(this,_0x4de674,_0xf4ca0c)[_0x2769b2(0x144)](this));});},_0x243a4c=new WeakSet(),_0xb35b00=function(_0x15c4fc){return _0x3e66b1(this,null,function*(){const _0x538882=_0x4315;try{return yield _0x10f5e2[_0x538882(0x18b)](''+_0x5796f5+_0x4ae6f6,_0x15c4fc);}catch(_0x3f5e07){throw new Error(_0x538882(0x12b));}});},_0x9c3c6a(_0x4fc47d,_0x5ab6bb,void 0x0);var _0x424ddd=_0x4fc47d,_0x56f221=_0x424ddd[_0x279004(0x181)]();typeof window!='undefined'&&(window[_0x279004(0x15b)]=_0x56f221);var _0x3c3c64=_0x56f221;})());
|
|
1
|
+
'use strict';function _0x291e(_0x3e70a1,_0xf2d4d4){const _0x10de8e=_0x10de();return _0x291e=function(_0x291e71,_0x20f702){_0x291e71=_0x291e71-0x14a;let _0xbae76a=_0x10de8e[_0x291e71];return _0xbae76a;},_0x291e(_0x3e70a1,_0xf2d4d4);}(function(_0x3b49ce,_0x380387){const _0x7b57f5=_0x291e,_0x2a5bae=_0x3b49ce();while(!![]){try{const _0x5ac3a8=parseInt(_0x7b57f5(0x213))/0x1+-parseInt(_0x7b57f5(0x1fb))/0x2+parseInt(_0x7b57f5(0x206))/0x3*(parseInt(_0x7b57f5(0x19c))/0x4)+parseInt(_0x7b57f5(0x225))/0x5*(parseInt(_0x7b57f5(0x161))/0x6)+-parseInt(_0x7b57f5(0x1c8))/0x7+-parseInt(_0x7b57f5(0x14b))/0x8+-parseInt(_0x7b57f5(0x14a))/0x9*(parseInt(_0x7b57f5(0x21f))/0xa);if(_0x5ac3a8===_0x380387)break;else _0x2a5bae['push'](_0x2a5bae['shift']());}catch(_0x3421e7){_0x2a5bae['push'](_0x2a5bae['shift']());}}}(_0x10de,0x9ae2f));function _0x10de(){const _0x1c269b=['identity','logout','Platform','utm_campaign','UTM_MEDIUM','#\x20Recording\x20event','documentElement','🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:','scroll','/attribute','Error\x20fetching\x20attribute\x20data','Edg','recordEvent','beforeunload','Popup','customer','getItem','length','Viewed\x20Webpage','removeItem','events','data','read\x20from\x20private\x20field','Event\x20','Web','URL','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','SCROLL','toISOString','test','Recording\x20attribute','groupEnd','[id^=\x22u_content_form_\x22]','campaignEntryTimeValue','propertyIsEnumerable','has','position','attributes','timeEnd','Identity:\x20','left','message','application/json','scrollHeight','write\x20to\x20private\x20field','defineProperties','/set-attribute','Error\x20posting\x20attribute\x20record','🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:','Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203','log','SESSION_ID','.u-close-button','location','40bbABVh','Safari','campaignEntryTime','ttl','access\x20private\x20method','Event\x20Payload:\x0a\x20','scrollY','debugLevel','UTM_TERM','Cannot\x20','INFO:\x20','campaignId','ERROR','Error\x20posting\x20event\x20record','hasOwnProperty','innerHTML','offlineEvents','[id^=\x22u_content_button_\x22]','Chrome','value','setDebugLevel','Recording\x20event\x20Time','Logging\x20out','/event','Checking\x20TTL','setItem','MergnError','ERROR:\x20','set','uniqueIdentity','post','\x0aUnexpected\x20error:\x20','querySelectorAll','Image\x20Click','popup_container_','disableSDK','parse','page','apiKey','\x0aMergnError:\x20','pathname','apply','group','stringify','4815412bUKlGI','IMMEDIATELY','SESSION_CREATED','UTM_CONTENT','utm_source','querySelector','Recording\x20event','.u-popup-container','name','innerHeight','Checking\x20TTL\x20Time','100%','UTM_SOURCE','userAgent','\x20is\x20not\x20valid.','utm_medium','load','Logging\x20in\x20Time','getOwnPropertyDescriptors','POST','99999999','Internet\x20Explorer','Unknown','Tracking\x20page\x20change','NONE','appendChild','string','INFO','randomUUID','updateAPIKey','login','initialTime','/customer','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','indexOf','click','Web\x20Session\x20Concluded','mergn','Error\x20posting\x20identity\x20data','ALL','top','online','Logging\x20out\x20Time','record\x20event','Mergn\x20SDK\x20Initialization\x20Time','addEventListener','getInstance','info','then','Attribute\x20Payload:\x0a\x20','Event\x20Payload','549612pwCcoy','style','filter','session','Popup\x20Action','#\x20recordAttribute','Initializing\x20Mergn\x20SDK','keys','Mergn\x20is\x20offline!','error','map','315348poPMzY','next','Tracking\x20page\x20change\x20Time','Mergn\x20SDK\x20is\x20disabled!','Attribute\x20','attributeProperty','join','Popup\x20View','eventProperty','close','search','getOwnPropertySymbols','get','1075147DgxbPl','isArray','fixed','recordAttribute','/brand','resolve','init','Form\x20Submit','\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.','onLine','os-version','defineProperty','530IRNFkm','throw','forEach','prototype','Mozilla\x20Firefox','utm_term','9185aTYkOI','call','toLowerCase','214290OuiDLI','2117848LgPGfZ','\x20has\x20invalid\x20attributeProperties:\x20','offline','form','div','Recording\x20attribute\x20Time','json','body','utm_content','hostname','isInitialized','Error\x20setting\x20identity','pushState','/record-event','/set-identity','action','time','zIndex','getTime','height','push','Firefox','3258LAlZxY','Microsoft\x20Edge','Logging\x20in','remove','href'];_0x10de=function(){return _0x1c269b;};return _0x10de();}((()=>{const _0x3fa1e9=_0x291e;var _0x2ba8e5=Object[_0x3fa1e9(0x21e)],_0x5534f3=Object[_0x3fa1e9(0x193)],_0x5b61fa=Object[_0x3fa1e9(0x1da)],_0x45946b=Object[_0x3fa1e9(0x211)],_0x951a9b=Object[_0x3fa1e9(0x222)][_0x3fa1e9(0x1aa)],_0x1e50b5=Object[_0x3fa1e9(0x222)][_0x3fa1e9(0x188)],_0x7d832c=(_0x567547,_0x5f55a2,_0x4500c8)=>_0x5f55a2 in _0x567547?_0x2ba8e5(_0x567547,_0x5f55a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4500c8}):_0x567547[_0x5f55a2]=_0x4500c8,_0x1af828=(_0x3f7eb7,_0x11abbc)=>{const _0x30661f=_0x3fa1e9;for(var _0x3bf20c in _0x11abbc||(_0x11abbc={}))_0x951a9b[_0x30661f(0x226)](_0x11abbc,_0x3bf20c)&&_0x7d832c(_0x3f7eb7,_0x3bf20c,_0x11abbc[_0x3bf20c]);if(_0x45946b){for(var _0x3bf20c of _0x45946b(_0x11abbc))_0x1e50b5[_0x30661f(0x226)](_0x11abbc,_0x3bf20c)&&_0x7d832c(_0x3f7eb7,_0x3bf20c,_0x11abbc[_0x3bf20c]);}return _0x3f7eb7;},_0xe3a062=(_0x1f391,_0x1afc3c)=>_0x5534f3(_0x1f391,_0x5b61fa(_0x1afc3c)),_0x25bdcc=(_0x4e2f2c,_0x2d5441,_0x309fb9)=>{const _0x16352f=_0x3fa1e9;if(!_0x2d5441[_0x16352f(0x189)](_0x4e2f2c))throw TypeError(_0x16352f(0x1a5)+_0x309fb9);},_0x224c57=(_0x535aad,_0x491be9,_0xe499e)=>(_0x25bdcc(_0x535aad,_0x491be9,_0x3fa1e9(0x17c)),_0xe499e?_0xe499e[_0x3fa1e9(0x226)](_0x535aad):_0x491be9[_0x3fa1e9(0x212)](_0x535aad)),_0x2085b6=(_0x370698,_0x30f5c5,_0x404119)=>{const _0x4acfd1=_0x3fa1e9;if(_0x30f5c5[_0x4acfd1(0x189)](_0x370698))throw TypeError('Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once');_0x30f5c5 instanceof WeakSet?_0x30f5c5['add'](_0x370698):_0x30f5c5[_0x4acfd1(0x1b8)](_0x370698,_0x404119);},_0x4dba13=(_0x4055bf,_0x2ae2c0,_0x2dd592,_0x16e479)=>(_0x25bdcc(_0x4055bf,_0x2ae2c0,_0x3fa1e9(0x192)),_0x16e479?_0x16e479[_0x3fa1e9(0x226)](_0x4055bf,_0x2dd592):_0x2ae2c0[_0x3fa1e9(0x1b8)](_0x4055bf,_0x2dd592),_0x2dd592),_0x4dd6c9=(_0x37765f,_0x72f78,_0x437efa)=>(_0x25bdcc(_0x37765f,_0x72f78,_0x3fa1e9(0x1a0)),_0x437efa),_0x3ec66a=(_0x261f58,_0x5cf45c,_0x106830)=>new Promise((_0x2760a0,_0x3fb801)=>{const _0x44e055=_0x3fa1e9;var _0x2fe6e1=_0x21f2ca=>{const _0x2c95dc=_0x291e;try{_0x25836a(_0x106830[_0x2c95dc(0x207)](_0x21f2ca));}catch(_0x550b37){_0x3fb801(_0x550b37);}},_0x28d9f5=_0x419d36=>{const _0x29b158=_0x291e;try{_0x25836a(_0x106830[_0x29b158(0x220)](_0x419d36));}catch(_0x40a3d6){_0x3fb801(_0x40a3d6);}},_0x25836a=_0x6582ef=>_0x6582ef['done']?_0x2760a0(_0x6582ef['value']):Promise[_0x44e055(0x218)](_0x6582ef[_0x44e055(0x1af)])[_0x44e055(0x1f8)](_0x2fe6e1,_0x28d9f5);_0x25836a((_0x106830=_0x106830[_0x44e055(0x1c5)](_0x261f58,_0x5cf45c))[_0x44e055(0x207)]());}),_0x54c29b=(_0x57f27e=>(_0x57f27e[_0x3fa1e9(0x1d4)]=_0x3fa1e9(0x1cc),_0x57f27e[_0x3fa1e9(0x16a)]=_0x3fa1e9(0x1d7),_0x57f27e['UTM_CAMPAIGN']=_0x3fa1e9(0x169),_0x57f27e[_0x3fa1e9(0x1a4)]=_0x3fa1e9(0x224),_0x57f27e[_0x3fa1e9(0x1cb)]=_0x3fa1e9(0x153),_0x57f27e))(_0x54c29b||{}),_0x2bc93c=new Set(Object['values'](_0x54c29b)),_0x59349f=_0x3fa1e9(0x1ff),_0x5d16c6=_0x3fa1e9(0x1e9),_0x3ee760=_0x3fa1e9(0x16f),_0x5cf735=_0x3fa1e9(0x194),_0x56b1fe=_0x3fa1e9(0x1b3),_0x15782a=_0x3fa1e9(0x158),_0x7f7cb0=_0x3fa1e9(0x1e8),_0x43021b=_0x3fa1e9(0x159),_0xb3459b,_0x5e5b98=class _0x30e1aa{constructor(){}static['getInstance'](){return _0x224c57(_0x30e1aa,_0xb3459b)||_0x4dba13(_0x30e1aa,_0xb3459b,new _0x30e1aa()),_0x224c57(_0x30e1aa,_0xb3459b);}[_0x3fa1e9(0x1e5)](_0x170f3d){const _0x5cb67b=_0x3fa1e9;_0x30e1aa[_0x5cb67b(0x1c2)]=_0x170f3d;}['get'](_0x24f2b5){return _0x3ec66a(this,null,function*(){const _0xd54ac=_0x291e;return(yield fetch(_0x5d16c6+_0x24f2b5,{'headers':{'Authorization':_0x30e1aa[_0xd54ac(0x1c2)],'Content-Type':_0xd54ac(0x190)}}))[_0xd54ac(0x151)]();});}[_0x3fa1e9(0x1ba)](_0x2d5c3b,_0x53b833){return _0x3ec66a(this,null,function*(){const _0x23e4b7=_0x291e;return(yield fetch(_0x5d16c6+_0x2d5c3b,{'body':JSON[_0x23e4b7(0x1c7)](_0x53b833||{}),'headers':{'Authorization':_0x30e1aa[_0x23e4b7(0x1c2)],'Content-Type':_0x23e4b7(0x190)},'method':_0x23e4b7(0x1db)}))[_0x23e4b7(0x151)]();});}};_0xb3459b=new WeakMap(),_0x2085b6(_0x5e5b98,_0xb3459b,void 0x0);var _0x1b2a76=_0x5e5b98,_0xe39655=_0x1b2a76[_0x3fa1e9(0x1f6)](),_0x16dea6=class extends Error{constructor(_0x4cfeab){const _0xed8415=_0x3fa1e9;super(_0x4cfeab),this[_0xed8415(0x1d0)]=_0xed8415(0x1b6);}};_0x16dea6[_0x3fa1e9(0x1bf)]=!0x1,_0x16dea6['offline']=!navigator[_0x3fa1e9(0x21c)],_0x16dea6['debugLevel']=0x0,_0x16dea6[_0x3fa1e9(0x155)]=!0x1;var _0x243f0a=(_0x346f74,_0x5401bd)=>{const _0x104ea5=_0x3fa1e9;_0x5401bd instanceof _0x16dea6?_0x48d513(0x2,'OriginateFrom:\x20'+_0x346f74+_0x104ea5(0x1c3)+_0x5401bd[_0x104ea5(0x18f)]):_0x5401bd instanceof Error?_0x48d513(0x2,'OriginateFrom:\x20'+_0x346f74+'\x0aUnexpected\x20error:\x20'+_0x5401bd[_0x104ea5(0x18f)]):_0x48d513(0x2,'OriginateFrom:\x20'+_0x346f74+_0x104ea5(0x1bb)+String(_0x5401bd));},_0x424aa8=(_0xf04df,_0xaee818,_0x2ab93f)=>_0x3ec66a(void 0x0,null,function*(){const _0x53b9e4=_0x3fa1e9;try{if(_0x16dea6[_0x53b9e4(0x1bf)])throw new _0x16dea6(_0x53b9e4(0x209));if(_0xf04df!==_0x53b9e4(0x1f3)&&_0x16dea6[_0x53b9e4(0x14d)])throw new _0x16dea6(_0x53b9e4(0x203));if(_0xf04df!==_0x53b9e4(0x219)&&!_0x16dea6[_0x53b9e4(0x155)])throw new _0x16dea6('Mergn\x20not\x20initialized!');return yield _0xaee818();}catch(_0x407a07){return _0x2ab93f?_0x2ab93f(_0x407a07):(_0x16dea6['debugLevel']===0x2||_0x16dea6[_0x53b9e4(0x1a3)]===0x3)&&_0x243f0a(_0xf04df,_0x407a07),null;}}),_0x44aeb0=(_0x5a6898=>(_0x5a6898[_0x5a6898['NONE']=0x0]=_0x3fa1e9(0x1e0),_0x5a6898[_0x5a6898[_0x3fa1e9(0x1e3)]=0x1]=_0x3fa1e9(0x1e3),_0x5a6898[_0x5a6898[_0x3fa1e9(0x1a8)]=0x2]=_0x3fa1e9(0x1a8),_0x5a6898[_0x5a6898[_0x3fa1e9(0x1ef)]=0x3]=_0x3fa1e9(0x1ef),_0x5a6898))(_0x44aeb0||{}),_0x48d513=(_0x1d95ec,_0x3b1cd1)=>{const _0xd96668=_0x3fa1e9;_0x16dea6['debugLevel']!==0x0&&_0x16dea6[_0xd96668(0x1a3)]<=0x3&&(_0x1d95ec===0x1?console[_0xd96668(0x1f7)](_0xd96668(0x1a6)+new Date()[_0xd96668(0x182)](),_0x3b1cd1):_0x1d95ec===0x2&&console[_0xd96668(0x204)](_0xd96668(0x1b7)+new Date()['toISOString'](),_0x3b1cd1));},_0x5474cb=(_0x59645d,_0x46df10)=>{const _0x149772=_0x3fa1e9;_0x16dea6[_0x149772(0x1a3)]!==0x0&&(_0x46df10?console[_0x149772(0x15b)](_0x59645d):console[_0x149772(0x18c)](_0x59645d));},_0x29c717=(_0x1264b8,_0x301a3f)=>{const _0x4abe7c=_0x3fa1e9;_0x16dea6[_0x4abe7c(0x1a3)]!==0x0&&(_0x301a3f?console[_0x4abe7c(0x1c6)](_0x1264b8):console[_0x4abe7c(0x185)]());},_0x42553f,_0x169270,_0x549dc9,_0x3cc540,_0x1f66e3,_0x55714a,_0x20dbb9,_0x105709,_0x12eaad,_0x4eee1a,_0x7d1891,_0x870467,_0x4ce33e,_0x5545da,_0x47eeba,_0x1f4e27,_0xc90bd2,_0x56f016,_0x1ead06,_0x28f9d0,_0x244245,_0x20fc3d,_0x1e2d5c,_0x28477e,_0xdb7f8f,_0x27d596,_0x3d995a,_0x21d27f,_0x2549fe,_0xc776c,_0x6622b9,_0x43ef14,_0x74d558,_0x208e3f,_0x5c6240,_0x54eada,_0x53161a,_0x1cb98,_0x2ac5fc,_0xe994b,_0x4a7d3a,_0x3fb810,_0x130b7b,_0x299d57,_0x3a8eef,_0x1f6cc0,_0x52f849,_0x3ad148,_0x3d817d,_0x5a91b6,_0x230a58,_0x78690e,_0x423c46,_0x2e0538,_0xc2d380,_0x23c86c,_0x56a831,_0x55177f,_0x3a8e4c,_0x16e627,_0x271b85,_0x51284d,_0x390f38,_0x10b647,_0x2c33bc,_0x5845ef,_0x10d4f8,_0x19bcdb,_0x3f8761,_0x29c13a,_0x3bdba0,_0x1fa7ba,_0x25d3dd,_0x19a139,_0x25df1b,_0x138f27,_0x2d4268=class _0x4ab25a{constructor(){_0x2085b6(this,_0x55714a),_0x2085b6(this,_0x105709),_0x2085b6(this,_0x4eee1a),_0x2085b6(this,_0x870467),_0x2085b6(this,_0x5545da),_0x2085b6(this,_0x1f4e27),_0x2085b6(this,_0x56f016),_0x2085b6(this,_0x28f9d0),_0x2085b6(this,_0x20fc3d),_0x2085b6(this,_0x28477e),_0x2085b6(this,_0x2549fe),_0x2085b6(this,_0x6622b9),_0x2085b6(this,_0x74d558),_0x2085b6(this,_0x5c6240),_0x2085b6(this,_0x53161a),_0x2085b6(this,_0x2ac5fc),_0x2085b6(this,_0x4a7d3a),_0x2085b6(this,_0x130b7b),_0x2085b6(this,_0x3a8eef),_0x2085b6(this,_0x52f849),_0x2085b6(this,_0x3d817d),_0x2085b6(this,_0x230a58),_0x2085b6(this,_0x423c46),_0x2085b6(this,_0xc2d380),_0x2085b6(this,_0x56a831),_0x2085b6(this,_0x3a8e4c),_0x2085b6(this,_0x271b85),_0x2085b6(this,_0x390f38),_0x2085b6(this,_0x2c33bc),_0x2085b6(this,_0x10d4f8),_0x2085b6(this,_0x3f8761),_0x2085b6(this,_0x3bdba0),_0x2085b6(this,_0x25d3dd),_0x2085b6(this,_0x25df1b),_0x2085b6(this,_0x169270,void 0x0),_0x2085b6(this,_0x549dc9,void 0x0),_0x2085b6(this,_0x3cc540,void 0x0),_0x2085b6(this,_0x1f66e3,null),_0x2085b6(this,_0x27d596,()=>{const _0x61e764=_0x291e;let _0x6fdb6f=()=>{const _0x708b89=_0x291e;let _0x31a8ef=JSON[_0x708b89(0x1c0)](localStorage[_0x708b89(0x176)](_0x708b89(0x15a))||'{}');Object['keys'](_0x31a8ef)['forEach'](_0x3ecb53=>{const _0x5c4ab0=_0x708b89;_0x31a8ef[_0x3ecb53][_0x5c4ab0(0x1e7)]=new Date()['getTime'](),_0x31a8ef[_0x3ecb53][_0x5c4ab0(0x1c1)]=window[_0x5c4ab0(0x19b)][_0x5c4ab0(0x154)]+window[_0x5c4ab0(0x19b)][_0x5c4ab0(0x1c4)];}),localStorage[_0x708b89(0x1b5)](_0x708b89(0x15a),JSON[_0x708b89(0x1c7)](_0x31a8ef));};_0x6fdb6f(),window[_0x61e764(0x1f5)](_0x61e764(0x173),_0x6fdb6f);}),_0x2085b6(this,_0x3d995a,_0x5718a5=>{const _0x41e0b6=_0x291e;let _0x52a489=JSON[_0x41e0b6(0x1c0)](localStorage['getItem'](_0x41e0b6(0x15a))||'{}');_0x52a489[_0x5718a5]&&delete _0x52a489[_0x5718a5],localStorage[_0x41e0b6(0x1b5)](_0x41e0b6(0x15a),JSON['stringify'](_0x52a489));}),_0x2085b6(this,_0x21d27f,()=>{const _0x3a6a4a=_0x291e;let _0x3d074a=JSON[_0x3a6a4a(0x1c0)](localStorage['getItem'](_0x3a6a4a(0x15a))||'{}');Object[_0x3a6a4a(0x202)](_0x3d074a)['forEach'](_0x1eb5ae=>{const _0xf513f6=_0x3a6a4a;_0x3d074a[_0x1eb5ae][_0xf513f6(0x18f)][_0xf513f6(0x1d0)]===_0xf513f6(0x174)&&_0x4dd6c9(this,_0x3a8eef,_0x1f6cc0)[_0xf513f6(0x226)](this,_0x3d074a[_0x1eb5ae][_0xf513f6(0x1a7)]);});});}static[_0x3fa1e9(0x1f6)](){return _0x224c57(_0x4ab25a,_0x42553f)||_0x4dba13(_0x4ab25a,_0x42553f,new _0x4ab25a()),_0x224c57(_0x4ab25a,_0x42553f);}[_0x3fa1e9(0x219)](_0x139d10){_0x424aa8('init',()=>_0x3ec66a(this,null,function*(){const _0x227e79=_0x291e;_0x48d513(0x1,'Initializing\x20Mergn\x20SDK'),_0x29c717('Initializing\x20Mergn\x20SDK',!0x0),_0x5474cb('Mergn\x20SDK\x20Initialization\x20Time',!0x0),_0x4dd6c9(this,_0x28f9d0,_0x244245)['call'](this,_0x139d10),yield _0x4dd6c9(this,_0x1f4e27,_0xc90bd2)[_0x227e79(0x226)](this),_0x16dea6[_0x227e79(0x155)]=!0x0,setInterval(()=>_0x3ec66a(this,null,function*(){yield _0x4dd6c9(this,_0x1f4e27,_0xc90bd2)['call'](this);}),0x493e0),yield _0x4dd6c9(this,_0x105709,_0x12eaad)[_0x227e79(0x226)](this),window['addEventListener'](_0x227e79(0x1f1),()=>_0x3ec66a(this,null,function*(){const _0x242297=_0x227e79;_0x16dea6[_0x242297(0x14d)]=!0x1;let _0x579b32=JSON['parse'](localStorage[_0x242297(0x176)](_0x242297(0x1ac))||'[]');Array[_0x242297(0x214)](_0x579b32)&&(yield _0x4dd6c9(this,_0x2c33bc,_0x5845ef)[_0x242297(0x226)](this,{'customerId':localStorage[_0x242297(0x176)]('customer')||'','events':_0x579b32}),localStorage[_0x242297(0x179)]('offlineEvents')),_0x4dd6c9(this,_0x105709,_0x12eaad)['call'](this),_0x4dd6c9(this,_0x4a7d3a,_0x3fb810)['call'](this);})),window['addEventListener']('offline',()=>{const _0x2f55c9=_0x227e79;_0x16dea6[_0x2f55c9(0x14d)]=!0x0;}),window[_0x227e79(0x1f5)](_0x227e79(0x1d8),()=>{const _0x362b2f=_0x227e79;_0x224c57(this,_0x21d27f)[_0x362b2f(0x226)](this);});let _0x12c673=history[_0x227e79(0x157)];history[_0x227e79(0x157)]=(..._0x460a54)=>{const _0x231e0a=_0x227e79;_0x12c673[_0x231e0a(0x1c5)](history,_0x460a54),_0x4dd6c9(this,_0x56f016,_0x1ead06)[_0x231e0a(0x226)](this);},_0x4dd6c9(this,_0x56f016,_0x1ead06)['call'](this),_0x5474cb(_0x227e79(0x1f4),!0x1),_0x29c717(_0x227e79(0x201),!0x1);}));}[_0x3fa1e9(0x1b0)](_0x3bbed8){const _0x531beb=_0x3fa1e9;if(!(_0x3bbed8 in _0x44aeb0)){console[_0x531beb(0x204)](_0x531beb(0x197));return;}_0x16dea6[_0x531beb(0x1a3)]=_0x3bbed8;}[_0x3fa1e9(0x216)](_0x464532,_0x5b1846){const _0x8da0cf=_0x3fa1e9;_0x424aa8(_0x8da0cf(0x216),()=>_0x3ec66a(this,null,function*(){yield _0x4dd6c9(this,_0x55714a,_0x20dbb9)['call'](this,_0x464532,_0x5b1846,void 0x0);}));}[_0x3fa1e9(0x1e6)](_0x5eccef){const _0x689d81=_0x3fa1e9;_0x424aa8(_0x689d81(0x1e6),()=>_0x3ec66a(this,null,function*(){const _0x3db7ad=_0x689d81;_0x48d513(0x1,'Logging\x20in'),_0x29c717(_0x3db7ad(0x163),!0x0),_0x5474cb(_0x3db7ad(0x1d9),!0x0),_0x48d513(0x1,_0x3db7ad(0x18d)+_0x5eccef),yield _0x4dd6c9(this,_0x2ac5fc,_0xe994b)[_0x3db7ad(0x226)](this,_0x5eccef),_0x5474cb(_0x3db7ad(0x1d9),!0x1),_0x29c717(_0x3db7ad(0x163),!0x1);}));}[_0x3fa1e9(0x167)](){const _0x480de1=_0x3fa1e9;_0x424aa8(_0x480de1(0x167),()=>_0x3ec66a(this,null,function*(){const _0x339274=_0x480de1;_0x48d513(0x1,_0x339274(0x1b2)),_0x29c717(_0x339274(0x1b2),!0x0),_0x5474cb(_0x339274(0x1f2),!0x0),_0x4dd6c9(this,_0x3bdba0,_0x1fa7ba)[_0x339274(0x226)](this),_0x5474cb(_0x339274(0x1f2),!0x1),_0x29c717(_0x339274(0x1b2),!0x1);}));}[_0x3fa1e9(0x172)](_0x2e36df,_0xa4132f){setTimeout(()=>{const _0x2d36e3=_0x291e;_0x424aa8(_0x2d36e3(0x1f3),()=>_0x3ec66a(this,null,function*(){const _0x341e18=_0x2d36e3;_0x48d513(0x1,_0x341e18(0x1ce)),_0x29c717(_0x341e18(0x1ce),!0x0),_0x5474cb(_0x341e18(0x1b1),!0x0),_0x48d513(0x1,_0x341e18(0x1a1)+{'eventName':_0x2e36df,'eventProperties':_0xa4132f}),_0x4dd6c9(this,_0x4eee1a,_0x7d1891)['call'](this,_0x2e36df,_0xa4132f),_0x5474cb(_0x341e18(0x1b1),!0x1),_0x29c717('Recording\x20event',!0x1);}));});}};_0x42553f=new WeakMap(),_0x169270=new WeakMap(),_0x549dc9=new WeakMap(),_0x3cc540=new WeakMap(),_0x1f66e3=new WeakMap(),_0x55714a=new WeakSet(),_0x20dbb9=function(_0x368e86,_0x1cdc22,_0x56ee08){return _0x3ec66a(this,null,function*(){const _0x229616=_0x291e;yield _0x424aa8(_0x229616(0x200),()=>_0x3ec66a(this,null,function*(){const _0x40a1d2=_0x229616;_0x48d513(0x1,_0x40a1d2(0x184)),_0x29c717('Recording\x20attribute',!0x0),_0x5474cb(_0x40a1d2(0x150),!0x0),_0x48d513(0x1,_0x40a1d2(0x1f9)+{'attributeName':_0x368e86,'attributeProperties':_0x56ee08,'attributeValue':_0x1cdc22}+')}'),yield _0x4dd6c9(this,_0x105709,_0x12eaad)['call'](this),yield _0x4dd6c9(this,_0x25d3dd,_0x19a139)['call'](this);let _0x3f39be=JSON[_0x40a1d2(0x1c0)](localStorage[_0x40a1d2(0x176)]('attributes')||'{}'),_0x813c3a=_0x56ee08?_0x4dd6c9(this,_0x271b85,_0x51284d)[_0x40a1d2(0x226)](this,_0x3f39be,_0x368e86,_0x56ee08):_0x4dd6c9(this,_0x271b85,_0x51284d)[_0x40a1d2(0x226)](this,_0x3f39be,_0x368e86);if(typeof _0x813c3a==_0x40a1d2(0x1e2)){_0x48d513(0x2,_0x813c3a);return;}_0x4dd6c9(this,_0x4a7d3a,_0x3fb810)[_0x40a1d2(0x226)](this);let {id:_0x3920cd}=_0x3f39be[_0x368e86],_0x6afd27={'attributeId':_0x3920cd,'attributeProperties':_0x813c3a,'customerId':localStorage[_0x40a1d2(0x176)](_0x40a1d2(0x175))||'','value':_0x1cdc22};yield _0x4dd6c9(this,_0x25df1b,_0x138f27)['call'](this,_0x6afd27),_0x5474cb(_0x40a1d2(0x150),!0x1),_0x29c717('Recording\x20attribute',!0x1);}));});},_0x105709=new WeakSet(),_0x12eaad=function(){return _0x3ec66a(this,null,function*(){const _0x8557ce=_0x291e;_0x48d513(0x1,'Checking\x20TTL'),_0x29c717(_0x8557ce(0x1b4),!0x0),_0x5474cb(_0x8557ce(0x1d2),!0x0);let _0x43ab12=localStorage[_0x8557ce(0x176)](_0x8557ce(0x19f)),_0x33aa2c=!0x1;if(_0x43ab12){if(_0x33aa2c=new Date()['getTime']()-parseInt(_0x43ab12,0xa)>0x124f80,_0x33aa2c){let _0x11ed9e=localStorage[_0x8557ce(0x176)](_0x8557ce(0x1fe)),_0x56f28b=localStorage[_0x8557ce(0x176)](_0x8557ce(0x19f));_0x11ed9e&&_0x56f28b&&_0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0x8557ce(0x226)](this,'Web\x20Session\x20Concluded',[{'eventProperty':_0x8557ce(0x199),'value':localStorage[_0x8557ce(0x176)](_0x8557ce(0x1fe))},{'eventProperty':_0x8557ce(0x1ca),'value':new Date(parseInt(_0x56f28b,0xa))[_0x8557ce(0x182)]()}]),_0x4dd6c9(this,_0x3bdba0,_0x1fa7ba)[_0x8557ce(0x226)](this),localStorage[_0x8557ce(0x1b5)](_0x8557ce(0x19f),''+new Date()[_0x8557ce(0x15d)]());}}else localStorage[_0x8557ce(0x1b5)](_0x8557ce(0x19f),''+new Date()['getTime']());(!_0x43ab12||_0x33aa2c||_0x4dd6c9(this,_0x20fc3d,_0x1e2d5c)[_0x8557ce(0x226)](this))&&(_0x4dd6c9(this,_0x2549fe,_0xc776c)[_0x8557ce(0x226)](this),yield _0x4dd6c9(this,_0x2ac5fc,_0xe994b)[_0x8557ce(0x226)](this),yield _0x4dd6c9(this,_0x28477e,_0xdb7f8f)[_0x8557ce(0x226)](this)),_0x5474cb('Checking\x20TTL\x20Time',!0x1),_0x29c717(_0x8557ce(0x1b4),!0x1);});},_0x4eee1a=new WeakSet(),_0x7d1891=function(_0x50e6ae,_0xce8c5a,_0x50a90e,_0x5da839,_0x5536d3){return _0x3ec66a(this,null,function*(){yield _0x424aa8('#\x20record\x20event',()=>_0x3ec66a(this,null,function*(){const _0x355a3c=_0x291e;var _0x12722c;_0x48d513(0x1,_0x355a3c(0x16b)),_0x29c717(_0x355a3c(0x1ce),!0x0),_0x5474cb(_0x355a3c(0x1b1),!0x0),_0x48d513(0x1,_0x355a3c(0x1fa)),_0x48d513(0x1,{'campaignCustomerInstanceId':_0x5da839,'eventName':_0x50e6ae,'eventProperties':_0xce8c5a,'name':_0x5536d3}),_0x50e6ae!==_0x355a3c(0x1ec)&&(yield _0x4dd6c9(this,_0x105709,_0x12eaad)[_0x355a3c(0x226)](this));let _0xbaaf13=[];_0xce8c5a&&_0xbaaf13[_0x355a3c(0x15f)](..._0xce8c5a),_0xbaaf13[_0x355a3c(0x15f)]({'eventProperty':_0x355a3c(0x168),'value':_0x224c57(this,_0x169270)}),_0xbaaf13[_0x355a3c(0x15f)]({'eventProperty':'operating-system','value':_0x224c57(this,_0x3cc540)}),_0xbaaf13['push']({'eventProperty':_0x355a3c(0x21d),'value':_0x224c57(this,_0x549dc9)});let _0x6254a0=_0x4dd6c9(this,_0x56a831,_0x55177f)[_0x355a3c(0x226)](this),_0x53401d=_0x4dd6c9(this,_0x3a8e4c,_0x16e627)[_0x355a3c(0x226)](this,_0x6254a0,_0x50e6ae,_0xbaaf13);if(typeof _0x53401d==_0x355a3c(0x1e2)){_0x48d513(0x2,_0x53401d);return;}_0x4dd6c9(this,_0x4a7d3a,_0x3fb810)['call'](this);let {id:_0x20f247}=_0x6254a0[_0x50e6ae],_0x5acb63=_0x4dd6c9(this,_0x390f38,_0x10b647)[_0x355a3c(0x226)](this,_0x1af828(_0xe3a062(_0x1af828(_0x1af828({},_0x5da839?{'campaignCustomerInstanceId':_0x5da839}:{}),_0x50a90e?{'campaignId':_0x50a90e}:{}),{'eventId':_0x20f247,'eventProperties':_0x53401d,'sessionId':localStorage[_0x355a3c(0x176)](_0x355a3c(0x1fe))||''}),_0x5536d3?{'name':_0x5536d3}:{}));if(_0x16dea6[_0x355a3c(0x14d)]){let _0x22b48d=JSON[_0x355a3c(0x1c0)](localStorage['getItem'](_0x355a3c(0x1ac))||'[]');_0x22b48d[_0x355a3c(0x177)]<=0x32&&(_0x22b48d[_0x355a3c(0x15f)](..._0x5acb63[_0x355a3c(0x17a)]),localStorage[_0x355a3c(0x1b5)](_0x355a3c(0x1ac),JSON[_0x355a3c(0x1c7)](_0x22b48d)));return;}let _0x1bde42=yield _0x4dd6c9(this,_0x2c33bc,_0x5845ef)['call'](this,_0x5acb63);(_0x12722c=_0x1bde42==null?void 0x0:_0x1bde42[_0x355a3c(0x17b)])==null||_0x12722c[_0x355a3c(0x221)](_0xb547f7=>{const _0x16f4e3=_0x355a3c;_0x4dd6c9(this,_0x10d4f8,_0x19bcdb)[_0x16f4e3(0x226)](this,_0xb547f7['message'][_0x16f4e3(0x1d0)])&&(_0x4dd6c9(this,_0x3f8761,_0x29c13a)[_0x16f4e3(0x226)](this,_0xb547f7),_0x224c57(this,_0x27d596)[_0x16f4e3(0x226)](this),_0x4dd6c9(this,_0x3a8eef,_0x1f6cc0)['call'](this,_0xb547f7[_0x16f4e3(0x1a7)]));}),_0x5474cb('Recording\x20event\x20Time',!0x1),_0x29c717(_0x355a3c(0x1ce),!0x1);}));});},_0x870467=new WeakSet(),_0x4ce33e=function(){const _0x42819a=_0x3fa1e9;let _0x43aec8=navigator[_0x42819a(0x1d5)][_0x42819a(0x227)]();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0x42819a(0x183)](_0x43aec8)?'Mobile':/windows|macintosh|linux|x11/i[_0x42819a(0x183)](_0x43aec8)?_0x42819a(0x17e):'Unknown';},_0x5545da=new WeakSet(),_0x47eeba=function(){const _0x1f203a=_0x3fa1e9;let _0xdb39a9=navigator[_0x1f203a(0x1d5)],_0x703f11;return _0xdb39a9['indexOf'](_0x1f203a(0x1ae))>-0x1?_0x703f11='Google\x20Chrome':_0xdb39a9[_0x1f203a(0x1ea)]('Safari')>-0x1?_0x703f11=_0x1f203a(0x19d):_0xdb39a9[_0x1f203a(0x1ea)](_0x1f203a(0x160))>-0x1?_0x703f11=_0x1f203a(0x223):_0xdb39a9[_0x1f203a(0x1ea)](_0x1f203a(0x171))>-0x1?_0x703f11=_0x1f203a(0x162):_0xdb39a9[_0x1f203a(0x1ea)]('MSIE')>-0x1?_0x703f11=_0x1f203a(0x1dd):_0x703f11=_0x1f203a(0x1de),_0x703f11;},_0x1f4e27=new WeakSet(),_0xc90bd2=function(){return _0x3ec66a(this,null,function*(){const _0x3fe7a8=_0x291e;try{yield _0xe39655[_0x3fe7a8(0x212)](_0x3fe7a8(0x217));}catch(_0x52fe5a){throw _0x16dea6[_0x3fe7a8(0x1bf)]=!0x0,_0x52fe5a['message'];}});},_0x56f016=new WeakSet(),_0x1ead06=function(){return _0x3ec66a(this,null,function*(){const _0x3f659e=_0x291e;var _0x257e03;_0x48d513(0x1,_0x3f659e(0x1df)),_0x29c717(_0x3f659e(0x1df),!0x0),_0x5474cb(_0x3f659e(0x208),!0x0);let _0x148104=(_0x257e03=window==null?void 0x0:window[_0x3f659e(0x19b)])==null?void 0x0:_0x257e03[_0x3f659e(0x165)];if(_0x148104!==_0x224c57(this,_0x1f66e3)){_0x4dba13(this,_0x1f66e3,_0x148104);let _0x2f5590=[];new URLSearchParams(new URL(window['location'][_0x3f659e(0x165)])[_0x3f659e(0x210)])['forEach']((_0x1f0081,_0x4e4a1e)=>_0x3ec66a(this,null,function*(){const _0x51aae8=_0x3f659e;_0x2bc93c[_0x51aae8(0x189)](_0x4e4a1e)&&_0x2f5590[_0x51aae8(0x15f)]({'eventProperty':_0x4e4a1e,'value':_0x1f0081});})),yield _0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0x3f659e(0x226)](this,_0x3f659e(0x178),[{'eventProperty':_0x3f659e(0x17f),'value':window[_0x3f659e(0x19b)]['pathname']},..._0x2f5590]);}_0x5474cb(_0x3f659e(0x208),!0x1),_0x29c717(_0x3f659e(0x1df),!0x1);});},_0x28f9d0=new WeakSet(),_0x244245=function(_0x5ae3f0){const _0x25ed8b=_0x3fa1e9;_0xe39655[_0x25ed8b(0x1e5)](_0x5ae3f0),_0x4dba13(this,_0x169270,navigator[_0x25ed8b(0x1d5)]),_0x4dba13(this,_0x549dc9,_0x4dd6c9(this,_0x5545da,_0x47eeba)[_0x25ed8b(0x226)](this)),_0x4dba13(this,_0x3cc540,_0x4dd6c9(this,_0x870467,_0x4ce33e)[_0x25ed8b(0x226)](this));},_0x20fc3d=new WeakSet(),_0x1e2d5c=function(){const _0x169fa2=_0x3fa1e9;return!localStorage['getItem'](_0x169fa2(0x17a))||!localStorage[_0x169fa2(0x176)](_0x169fa2(0x175))||!localStorage[_0x169fa2(0x176)]('attributes')||!localStorage[_0x169fa2(0x176)](_0x169fa2(0x1b9))||!localStorage['getItem'](_0x169fa2(0x1fe))||!localStorage['getItem'](_0x169fa2(0x175));},_0x28477e=new WeakSet(),_0xdb7f8f=function(){return _0x3ec66a(this,null,function*(){const _0x4571d4=_0x291e;yield _0x4dd6c9(this,_0x6622b9,_0x43ef14)[_0x4571d4(0x226)](this),yield _0x4dd6c9(this,_0x5c6240,_0x54eada)[_0x4571d4(0x226)](this),yield _0x4dd6c9(this,_0x2ac5fc,_0xe994b)['call'](this);});},_0x27d596=new WeakMap(),_0x3d995a=new WeakMap(),_0x21d27f=new WeakMap(),_0x2549fe=new WeakSet(),_0xc776c=function(){const _0x32a490=_0x3fa1e9;let _0x285029=localStorage[_0x32a490(0x176)](_0x32a490(0x1b9));return _0x285029||(_0x285029=crypto[_0x32a490(0x1e4)](),localStorage[_0x32a490(0x1b5)](_0x32a490(0x1b9),_0x285029)),_0x285029;},_0x6622b9=new WeakSet(),_0x43ef14=function(){return _0x3ec66a(this,null,function*(){const _0x3fedd6=_0x291e;if(!localStorage[_0x3fedd6(0x176)](_0x3fedd6(0x17a))){let _0x2eff6f=(yield _0x4dd6c9(this,_0x74d558,_0x208e3f)[_0x3fedd6(0x226)](this))[_0x3fedd6(0x17b)];_0x2eff6f&&localStorage['setItem'](_0x3fedd6(0x17a),JSON['stringify'](_0x2eff6f));}});},_0x74d558=new WeakSet(),_0x208e3f=function(){return _0x3ec66a(this,null,function*(){try{return yield _0xe39655['get'](''+_0x56b1fe);}catch(_0x1583f3){throw new Error('Error\x20fetching\x20event\x20data');}});},_0x5c6240=new WeakSet(),_0x54eada=function(){return _0x3ec66a(this,null,function*(){const _0x192e47=_0x291e;if(!localStorage[_0x192e47(0x176)](_0x192e47(0x18b))){let _0x2499e1=(yield _0x4dd6c9(this,_0x53161a,_0x1cb98)[_0x192e47(0x226)](this))['data'];_0x2499e1&&localStorage[_0x192e47(0x1b5)](_0x192e47(0x18b),JSON[_0x192e47(0x1c7)](_0x2499e1));}});},_0x53161a=new WeakSet(),_0x1cb98=function(){return _0x3ec66a(this,null,function*(){const _0x3d7533=_0x291e;try{return yield _0xe39655[_0x3d7533(0x212)](''+_0x3ee760);}catch(_0x5c0574){throw new Error(_0x3d7533(0x170));}});},_0x2ac5fc=new WeakSet(),_0xe994b=function(_0x439cb8){return _0x3ec66a(this,null,function*(){const _0x5f4b4f=_0x291e;localStorage[_0x5f4b4f(0x176)](_0x5f4b4f(0x1fe))||(localStorage['setItem']('session',crypto[_0x5f4b4f(0x1e4)]()),yield _0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0x5f4b4f(0x226)](this,'Web\x20Session\x20Started',[{'eventProperty':'SESSION_ID','value':localStorage[_0x5f4b4f(0x176)]('session')},{'eventProperty':_0x5f4b4f(0x1ca),'value':new Date(parseInt(localStorage[_0x5f4b4f(0x176)](_0x5f4b4f(0x19f))||'',0xa))[_0x5f4b4f(0x182)]()}]));let _0x3e6193={'deviceId':localStorage[_0x5f4b4f(0x176)]('uniqueIdentity')||crypto[_0x5f4b4f(0x1e4)](),'os':_0x224c57(this,_0x169270)};if(_0x439cb8)_0x3e6193[_0x5f4b4f(0x166)]=_0x439cb8;else{if(!_0x439cb8&&localStorage[_0x5f4b4f(0x176)](_0x5f4b4f(0x175)))return;}try{let _0x49758c=yield _0x4dd6c9(this,_0x130b7b,_0x299d57)[_0x5f4b4f(0x226)](this,_0x3e6193);_0x49758c!==void 0x0&&localStorage[_0x5f4b4f(0x1b5)](_0x5f4b4f(0x175),_0x49758c);}catch(_0x472747){throw new Error(_0x5f4b4f(0x156));}});},_0x4a7d3a=new WeakSet(),_0x3fb810=function(){const _0x3d0a63=_0x3fa1e9;localStorage['setItem'](_0x3d0a63(0x19f),''+new Date()[_0x3d0a63(0x15d)]());},_0x130b7b=new WeakSet(),_0x299d57=function(_0x144c37){return _0x3ec66a(this,null,function*(){const _0x2118c3=_0x291e;try{return(yield _0xe39655[_0x2118c3(0x1ba)](''+_0x7f7cb0+_0x43021b,_0x144c37))['data'];}catch(_0xa16908){throw new Error(_0x2118c3(0x1ee));}});},_0x3a8eef=new WeakSet(),_0x1f6cc0=function(_0x5567b1){const _0x116f6d=_0x3fa1e9;let _0x23a29f=_0x4dd6c9(this,_0x52f849,_0x3ad148)[_0x116f6d(0x226)](this);if(_0x23a29f!=null&&_0x23a29f[_0x5567b1])switch(_0x23a29f[_0x5567b1][_0x116f6d(0x19e)]){case'DELAY':{_0x4dd6c9(this,_0x230a58,_0x78690e)['call'](this,_0x23a29f[_0x5567b1]);break;}case _0x116f6d(0x1c9):{_0x4dd6c9(this,_0x423c46,_0x2e0538)['call'](this,_0x23a29f[_0x5567b1]);break;}case _0x116f6d(0x181):{_0x4dd6c9(this,_0x3d817d,_0x5a91b6)[_0x116f6d(0x226)](this,_0x23a29f[_0x5567b1]);break;}default:return;}},_0x52f849=new WeakSet(),_0x3ad148=function(){const _0x13eaf1=_0x3fa1e9;let _0x3f76cc=localStorage[_0x13eaf1(0x176)](_0x13eaf1(0x15a));return _0x3f76cc?JSON[_0x13eaf1(0x1c0)](_0x3f76cc):null;},_0x3d817d=new WeakSet(),_0x5a91b6=function(_0x307b77){const _0x10bebb=_0x3fa1e9;let _0x53c241=()=>{const _0x3c8728=_0x291e;var _0x16dc5e,_0x4b2968;let _0x5e1cda=window[_0x3c8728(0x1d1)],_0x5b5922=document[_0x3c8728(0x16c)][_0x3c8728(0x191)],_0x22c5ee=window[_0x3c8728(0x1a2)]/(_0x5b5922-_0x5e1cda)*0x64;console[_0x3c8728(0x198)](_0x3c8728(0x196),_0x22c5ee),console[_0x3c8728(0x198)](_0x3c8728(0x16d),(_0x16dc5e=_0x307b77['campaignEntryTimeValue'])==null?void 0x0:_0x16dc5e[_0x3c8728(0x1af)]),_0x22c5ee>(((_0x4b2968=_0x307b77[_0x3c8728(0x187)])==null?void 0x0:_0x4b2968[_0x3c8728(0x1af)])||0x0)&&(window['removeEventListener'](_0x3c8728(0x16e),_0x53c241),console[_0x3c8728(0x198)]('called\x202'),_0x4dd6c9(this,_0x423c46,_0x2e0538)['call'](this,_0x307b77));};window[_0x10bebb(0x1f5)](_0x10bebb(0x16e),_0x53c241);},_0x230a58=new WeakSet(),_0x78690e=function(_0x32c336){const _0x27d5dc=_0x3fa1e9;var _0x2b44dd;let _0x2f6b0e=_0x32c336[_0x27d5dc(0x1e7)]-0x1f4+(((_0x2b44dd=_0x32c336[_0x27d5dc(0x187)])==null?void 0x0:_0x2b44dd[_0x27d5dc(0x1af)])||0x0)*0x3e8-new Date()[_0x27d5dc(0x15d)]();_0x2f6b0e>0x0&&_0x32c336[_0x27d5dc(0x1c1)]===window[_0x27d5dc(0x19b)][_0x27d5dc(0x154)]+window[_0x27d5dc(0x19b)][_0x27d5dc(0x1c4)]&&setTimeout(()=>{const _0xc03933=_0x27d5dc;_0x224c57(this,_0x3d995a)[_0xc03933(0x226)](this,_0x32c336[_0xc03933(0x1a7)]),_0x4dd6c9(this,_0x423c46,_0x2e0538)[_0xc03933(0x226)](this,_0x32c336);},_0x2f6b0e);},_0x423c46=new WeakSet(),_0x2e0538=function(_0xd9d483){const _0x3a4048=_0x3fa1e9;let _0x1eed86=_0x4dd6c9(this,_0xc2d380,_0x23c86c)['call'](this,_0x3a4048(0x14f),_0xd9d483);document[_0x3a4048(0x152)][_0x3a4048(0x1e1)](_0x1eed86),_0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0x3a4048(0x226)](this,_0x59349f,[{'eventProperty':_0x3a4048(0x20d),'value':JSON[_0x3a4048(0x1c7)]({'campaignId':_0xd9d483[_0x3a4048(0x1a7)]})}],_0xd9d483[_0x3a4048(0x1a7)],_0xd9d483['campaignCustomerInstanceId'],'view'),_0x224c57(this,_0x3d995a)[_0x3a4048(0x226)](this,_0xd9d483[_0x3a4048(0x1a7)]);},_0xc2d380=new WeakSet(),_0x23c86c=function(_0x16f404,_0x3ffd36){const _0x4a8b26=_0x3fa1e9;var _0x2c34f1;let {campaignCustomerInstanceId:_0x55dced,campaignId:_0x3b840c,message:{design:_0x292b39}}=_0x3ffd36,_0x10e8ae=document['createElement'](_0x16f404);_0x10e8ae['id']=_0x4a8b26(0x1be)+_0x3b840c,_0x10e8ae[_0x4a8b26(0x1ab)]=_0x292b39,_0x10e8ae[_0x4a8b26(0x1fc)][_0x4a8b26(0x18a)]=_0x4a8b26(0x215),_0x10e8ae[_0x4a8b26(0x1fc)][_0x4a8b26(0x1f0)]='0',_0x10e8ae['style'][_0x4a8b26(0x18e)]='0',_0x10e8ae[_0x4a8b26(0x1fc)]['width']=_0x4a8b26(0x1d3),_0x10e8ae['style'][_0x4a8b26(0x15e)]='100%',_0x10e8ae[_0x4a8b26(0x1fc)][_0x4a8b26(0x15c)]=_0x4a8b26(0x1dc);let _0x4aa37c=_0x10e8ae['querySelector'](_0x4a8b26(0x1cf));return _0x4aa37c&&(_0x4aa37c[_0x4a8b26(0x1fc)][_0x4a8b26(0x15c)]='50'),_0x10e8ae[_0x4a8b26(0x1bc)](_0x4a8b26(0x186))['forEach'](_0x2e5f7f=>{const _0x1babbb=_0x4a8b26;let _0x4d3fb7=_0x2e5f7f['querySelector'](_0x1babbb(0x14e));_0x4d3fb7&&_0x4d3fb7[_0x1babbb(0x1f5)]('submit',()=>_0x3ec66a(this,null,function*(){const _0x53310a=_0x1babbb;_0x10e8ae['remove']();let _0x114cec=new FormData(_0x4d3fb7),_0x1ef170={};for(let [_0x540635,_0x1be1b9]of _0x114cec['entries']())_0x1ef170[_0x540635]=_0x1be1b9;yield _0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0x53310a(0x226)](this,_0x59349f,[{'eventProperty':_0x53310a(0x21a),'value':JSON[_0x53310a(0x1c7)]({'campaignId':_0x3b840c,'formId':_0x2e5f7f['id'],'formValues':_0x1ef170})}],_0x3b840c,_0x55dced,_0x53310a(0x14e));}));}),(_0x2c34f1=_0x10e8ae[_0x4a8b26(0x1cd)](_0x4a8b26(0x19a)))==null||_0x2c34f1[_0x4a8b26(0x1f5)](_0x4a8b26(0x1eb),()=>_0x3ec66a(this,null,function*(){const _0xae2c46=_0x4a8b26;_0x10e8ae[_0xae2c46(0x164)](),yield _0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0xae2c46(0x226)](this,_0x59349f,[{'eventProperty':'Close\x20Click','value':JSON[_0xae2c46(0x1c7)]({'campaignId':_0x3b840c})}],_0x3b840c,_0x55dced,_0xae2c46(0x20f));})),_0x10e8ae[_0x4a8b26(0x1bc)](_0x4a8b26(0x1ad))[_0x4a8b26(0x221)](_0xe823c0=>{const _0x2250e9=_0x4a8b26;_0xe823c0[_0x2250e9(0x1f5)]('click',()=>_0x3ec66a(this,null,function*(){const _0x22cf08=_0x2250e9;_0x10e8ae['remove'](),yield _0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0x22cf08(0x226)](this,_0x59349f,[{'eventProperty':'Button\x20Click','value':JSON[_0x22cf08(0x1c7)]({'buttonId':_0xe823c0['id'],'campaignId':_0x3b840c})}],_0x3b840c,_0x55dced,'click');}));}),_0x10e8ae['querySelectorAll']('.u-popup-container\x20img')[_0x4a8b26(0x221)](_0xca8a9c=>{const _0x3b6ae6=_0x4a8b26;_0xca8a9c[_0x3b6ae6(0x1f5)](_0x3b6ae6(0x1eb),()=>_0x3ec66a(this,null,function*(){const _0x11316f=_0x3b6ae6;yield _0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0x11316f(0x226)](this,_0x59349f,[{'eventProperty':_0x11316f(0x1bd),'value':JSON[_0x11316f(0x1c7)]({'campaignId':_0x3b840c,'imageClassName':_0xca8a9c['className'],'imageId':_0xca8a9c['id']})}],_0x3b840c,_0x55dced,_0x11316f(0x1eb));}));}),_0x10e8ae;},_0x56a831=new WeakSet(),_0x55177f=function(){const _0xf5eea7=_0x3fa1e9;let _0x2288f8=localStorage[_0xf5eea7(0x176)](_0xf5eea7(0x17a));return _0x2288f8?JSON[_0xf5eea7(0x1c0)](_0x2288f8):{};},_0x3a8e4c=new WeakSet(),_0x16e627=function(_0x50e65b,_0x2cc104,_0x512fc4){const _0x32d501=_0x3fa1e9;if(!Object[_0x32d501(0x222)]['hasOwnProperty'][_0x32d501(0x226)](_0x50e65b,_0x2cc104))return _0x32d501(0x17d)+_0x2cc104+'\x20is\x20not\x20valid.';if(!_0x512fc4)return[];let _0x507415=_0x50e65b[_0x2cc104];if(!(_0x507415!=null&&_0x507415['eventProperty']))return _0x32d501(0x17d)+_0x2cc104+_0x32d501(0x180);let _0x179fc3=_0x512fc4[_0x32d501(0x1fd)](({eventProperty:_0x43f6f5})=>!Object[_0x32d501(0x222)][_0x32d501(0x1aa)][_0x32d501(0x226)](_0x507415[_0x32d501(0x20e)],_0x43f6f5))[_0x32d501(0x205)](({eventProperty:_0x4aa7e9})=>_0x4aa7e9);return _0x179fc3['length']>0x0?'Event\x20'+_0x2cc104+'\x20has\x20invalid\x20eventProperties:\x20'+_0x179fc3[_0x32d501(0x20c)](',\x20')+'.':_0x512fc4['map'](({eventProperty:_0x388623,value:_0x3c5957})=>({'eventPropertyId':_0x507415[_0x32d501(0x20e)][_0x388623]['id'],'value':_0x3c5957}));},_0x271b85=new WeakSet(),_0x51284d=function(_0x35075c,_0x32a56a,_0x4b6250){const _0x24fe99=_0x3fa1e9;if(!Object['prototype'][_0x24fe99(0x1aa)][_0x24fe99(0x226)](_0x35075c,_0x32a56a))return _0x24fe99(0x20a)+_0x32a56a+_0x24fe99(0x1d6);if(!_0x4b6250)return[];let _0x5028e2=_0x35075c[_0x32a56a];if(!(_0x5028e2!=null&&_0x5028e2[_0x24fe99(0x20b)]))return _0x24fe99(0x20a)+_0x32a56a+_0x24fe99(0x21b);let _0x47b2ee=_0x4b6250['filter'](({attributeProperty:_0x8e4932})=>!Object[_0x24fe99(0x222)][_0x24fe99(0x1aa)][_0x24fe99(0x226)](_0x5028e2[_0x24fe99(0x20b)],_0x8e4932))[_0x24fe99(0x205)](({attributeProperty:_0x1e91c6})=>_0x1e91c6);return _0x47b2ee[_0x24fe99(0x177)]>0x0?_0x24fe99(0x20a)+_0x32a56a+_0x24fe99(0x14c)+_0x47b2ee[_0x24fe99(0x20c)](',\x20')+'.':_0x4b6250[_0x24fe99(0x205)](({attributeProperty:_0x56a526,value:_0x4c6c50})=>({'attributePropertyId':_0x5028e2[_0x24fe99(0x20b)][_0x56a526]['id'],'value':_0x4c6c50}));},_0x390f38=new WeakSet(),_0x10b647=function(_0xdde1f4){const _0x47b19f=_0x3fa1e9;return{'customerId':localStorage[_0x47b19f(0x176)](_0x47b19f(0x175))||'','events':[_0xdde1f4]};},_0x2c33bc=new WeakSet(),_0x5845ef=function(_0x548a1e){return _0x3ec66a(this,null,function*(){const _0x593b33=_0x291e;try{return yield _0xe39655[_0x593b33(0x1ba)](''+_0x56b1fe+_0x15782a,_0x548a1e);}catch(_0x509587){throw new Error(_0x593b33(0x1a9));}});},_0x10d4f8=new WeakSet(),_0x19bcdb=function(_0x42345f){const _0x121915=_0x3fa1e9;return _0x42345f===_0x121915(0x174);},_0x3f8761=new WeakSet(),_0x29c13a=function(_0x4ccf4c){const _0xe8f77c=_0x3fa1e9;let _0x334d8a=JSON[_0xe8f77c(0x1c0)](localStorage[_0xe8f77c(0x176)]('action')||'{}');_0x334d8a[_0x4ccf4c[_0xe8f77c(0x1a7)]]=_0xe3a062(_0x1af828({},_0x4ccf4c),{'initialTime':new Date()['getTime'](),'page':window['location'][_0xe8f77c(0x154)]+window[_0xe8f77c(0x19b)][_0xe8f77c(0x1c4)]}),localStorage[_0xe8f77c(0x1b5)](_0xe8f77c(0x15a),JSON['stringify'](_0x334d8a));},_0x3bdba0=new WeakSet(),_0x1fa7ba=function(){const _0x248a60=_0x3fa1e9;localStorage[_0x248a60(0x179)](_0x248a60(0x15a)),localStorage['removeItem'](_0x248a60(0x17a)),localStorage['removeItem'](_0x248a60(0x18b)),localStorage['removeItem'](_0x248a60(0x1ac)),localStorage['removeItem'](_0x248a60(0x19f)),localStorage[_0x248a60(0x179)](_0x248a60(0x1fe));},_0x25d3dd=new WeakSet(),_0x19a139=function(){return _0x3ec66a(this,null,function*(){const _0x37da73=_0x291e;localStorage[_0x37da73(0x176)]('attributes')||(yield _0x4dd6c9(this,_0x5c6240,_0x54eada)[_0x37da73(0x226)](this));});},_0x25df1b=new WeakSet(),_0x138f27=function(_0x8b8e5e){return _0x3ec66a(this,null,function*(){const _0x3b4ae9=_0x291e;try{return yield _0xe39655[_0x3b4ae9(0x1ba)](''+_0x3ee760+_0x5cf735,_0x8b8e5e);}catch(_0x279f4a){throw new Error(_0x3b4ae9(0x195));}});},_0x2085b6(_0x2d4268,_0x42553f,void 0x0);var _0x36e207=_0x2d4268,_0x71214e=_0x36e207[_0x3fa1e9(0x1f6)]();typeof window!='undefined'&&(window[_0x3fa1e9(0x1ed)]=_0x71214e);var _0x95e707=_0x71214e;})());
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0xbd4d46=_0x12bf;(function(_0x58af26,_0xb34dc1){const _0x39fea4=_0x12bf,_0x236300=_0x58af26();while(!![]){try{const _0xdcc89d=parseInt(_0x39fea4(0xf7))/0x1*(-parseInt(_0x39fea4(0x158))/0x2)+parseInt(_0x39fea4(0x133))/0x3*(-parseInt(_0x39fea4(0x9a))/0x4)+-parseInt(_0x39fea4(0xd8))/0x5+parseInt(_0x39fea4(0x122))/0x6*(-parseInt(_0x39fea4(0x14d))/0x7)+-parseInt(_0x39fea4(0xab))/0x8*(-parseInt(_0x39fea4(0x16d))/0x9)+parseInt(_0x39fea4(0x115))/0xa*(-parseInt(_0x39fea4(0xd7))/0xb)+parseInt(_0x39fea4(0x110))/0xc;if(_0xdcc89d===_0xb34dc1)break;else _0x236300['push'](_0x236300['shift']());}catch(_0x1d4a87){_0x236300['push'](_0x236300['shift']());}}}(_0x422e,0x1aa40));function _0x422e(){const _0xaaaa7f=['93210mnXHWq','UTM_MEDIUM','campaignEntryTime','object','recordAttribute','MSIE','Microsoft\x20Edge','defineProperty','.u-popup-container','Web\x20Session\x20Started','timeEnd','stringify','setDebugLevel','login','prototype','debugLevel','test','querySelectorAll','Button\x20Click','Mobile','campaignId','Mergn\x20is\x20offline!','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','getOwnPropertyDescriptors','Logging\x20in\x20Time','campaignEntryTimeValue','apply','exports','OriginateFrom:\x20','access\x20private\x20method','Checking\x20TTL','53lpQQWk','apiKey','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','join','Logging\x20out','attributeProperty','indexOf','ALL','enumerable','throw','data','/set-attribute','name','click','createElement','offlineEvents','onLine','call','disableSDK','json','error','appendChild','filter','style','Image\x20Click','4552128vIkfIp','SESSION_ID','innerHTML','Tracking\x20page\x20change\x20Time','attributes','170uXbUCR','Recording\x20attribute','Close\x20Click','[id^=\x22u_content_button_\x22]','initialTime','events','campaignCustomerInstanceId','Logging\x20out\x20Time','post','getOwnPropertySymbols','undefined','utm_source','map','6TogjWu','href','Safari','Form\x20Submit','pushState','get','function','set','\x20is\x20not\x20valid.','read\x20from\x20private\x20field','Initializing\x20Mergn\x20SDK','DELAY','remove','/brand','🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:','NONE','utm_content','38079JryRju','\x20has\x20invalid\x20attributeProperties:\x20','Tracking\x20page\x20change','zIndex','randomUUID','defineProperties','string','forEach','INFO:\x20','Platform','customer','updateAPIKey','Recording\x20event','Event\x20Payload','eventProperty','page','offline','hasOwnProperty','Identity:\x20','Error\x20fetching\x20event\x20data','Attribute\x20','Mergn\x20SDK\x20is\x20disabled!','querySelector','add','pathname','ERROR:\x20','1147307fCZJkL','\x20has\x20invalid\x20eventProperties:\x20','MergnError','toISOString','form','log','userAgent','SESSION_CREATED','UTM_TERM','ERROR','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','6342wSEtRM','/record-event','div','utm_medium','record\x20event','scrollY','Web\x20Session\x20Concluded','message','mergn','Error\x20posting\x20event\x20record','getOwnPropertyNames','Unknown','next','getInstance','getTime','className','setItem','Popup\x20View','getOwnPropertyDescriptor','session','URL','73638vAHQGp','Chrome','documentElement','os-version','keys','online','Attribute\x20Payload:\x0a\x20','Internet\x20Explorer','groupEnd','4qEyXLs','isArray','SCROLL','Logging\x20in','addEventListener','getItem','time','group','length','hostname','/customer','🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:','Event\x20','application/json','__esModule','search','removeItem','136wACOvG','parse','Recording\x20event\x20Time','action','\x0aUnexpected\x20error:\x20','popup_container_','INFO','IMMEDIATELY','Mergn\x20SDK\x20Initialization\x20Time','isInitialized','Recording\x20attribute\x20Time','.u-close-button','UTM_CONTENT','location','/set-identity','Mergn\x20not\x20initialized!','\x0aMergnError:\x20','#\x20record\x20event','\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.','[id^=\x22u_content_form_\x22]','then','identity','view','removeEventListener','propertyIsEnumerable','value','scrollHeight','innerHeight','push','ttl','init','write\x20to\x20private\x20field','Checking\x20TTL\x20Time','Error\x20setting\x20identity','Error\x20posting\x20identity\x20data','entries','Popup','logout','UTM_CAMPAIGN','scroll','close','uniqueIdentity','/event','has','29777SovuYL'];_0x422e=function(){return _0xaaaa7f;};return _0x422e();}var Y=Object[_0xbd4d46(0xdf)],vt=Object[_0xbd4d46(0x138)],Tt=Object[_0xbd4d46(0x16a)],yt=Object[_0xbd4d46(0xef)],ft=Object[_0xbd4d46(0x162)],Be=Object[_0xbd4d46(0x11e)],Je=Object[_0xbd4d46(0xe6)][_0xbd4d46(0x144)],ht=Object[_0xbd4d46(0xe6)][_0xbd4d46(0xc3)],ke=(_0x231eb5,_0x50f7df,_0x2109c8)=>_0x50f7df in _0x231eb5?Y(_0x231eb5,_0x50f7df,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2109c8}):_0x231eb5[_0x50f7df]=_0x2109c8,M=(_0x27604a,_0x12366e)=>{const _0xdbfa88=_0xbd4d46;for(var _0x31815c in _0x12366e||(_0x12366e={}))Je[_0xdbfa88(0x108)](_0x12366e,_0x31815c)&&ke(_0x27604a,_0x31815c,_0x12366e[_0x31815c]);if(Be){for(var _0x31815c of Be(_0x12366e))ht[_0xdbfa88(0x108)](_0x12366e,_0x31815c)&&ke(_0x27604a,_0x31815c,_0x12366e[_0x31815c]);}return _0x27604a;},we=(_0x4f4cb7,_0x538c56)=>vt(_0x4f4cb7,yt(_0x538c56)),Ot=(_0x197f98,_0x4e8e13)=>{for(var _0x54a524 in _0x4e8e13)Y(_0x197f98,_0x54a524,{'get':_0x4e8e13[_0x54a524],'enumerable':!0x0});},Rt=(_0x3988b1,_0x679ee,_0x35cc32,_0x31f2a1)=>{const _0x1568e3=_0xbd4d46;if(_0x679ee&&typeof _0x679ee==_0x1568e3(0xdb)||typeof _0x679ee==_0x1568e3(0x128)){for(let _0x37bb5c of ft(_0x679ee))!Je[_0x1568e3(0x108)](_0x3988b1,_0x37bb5c)&&_0x37bb5c!==_0x35cc32&&Y(_0x3988b1,_0x37bb5c,{'get':()=>_0x679ee[_0x37bb5c],'enumerable':!(_0x31f2a1=Tt(_0x679ee,_0x37bb5c))||_0x31f2a1[_0x1568e3(0xff)]});}return _0x3988b1;},wt=_0x9f03e2=>Rt(Y({},_0xbd4d46(0xa8),{'value':!0x0}),_0x9f03e2),Le=(_0xcde606,_0x1f6af5,_0x2a3f99)=>{const _0x4fa149=_0xbd4d46;if(!_0x1f6af5[_0x4fa149(0xd6)](_0xcde606))throw TypeError('Cannot\x20'+_0x2a3f99);},I=(_0x192925,_0x4bd575,_0x369e58)=>(Le(_0x192925,_0x4bd575,_0xbd4d46(0x12b)),_0x369e58?_0x369e58[_0xbd4d46(0x108)](_0x192925):_0x4bd575[_0xbd4d46(0x127)](_0x192925)),a=(_0x4e5895,_0x29e88c,_0x5597f1)=>{const _0x2ada32=_0xbd4d46;if(_0x29e88c['has'](_0x4e5895))throw TypeError(_0x2ada32(0x157));_0x29e88c instanceof WeakSet?_0x29e88c[_0x2ada32(0x14a)](_0x4e5895):_0x29e88c[_0x2ada32(0x129)](_0x4e5895,_0x5597f1);},O=(_0x545d05,_0x393e83,_0x2b4a98,_0x10ec9c)=>(Le(_0x545d05,_0x393e83,_0xbd4d46(0xca)),_0x10ec9c?_0x10ec9c[_0xbd4d46(0x108)](_0x545d05,_0x2b4a98):_0x393e83[_0xbd4d46(0x129)](_0x545d05,_0x2b4a98),_0x2b4a98),n=(_0x5ce87a,_0x3f317b,_0x93d898)=>(Le(_0x5ce87a,_0x3f317b,_0xbd4d46(0xf5)),_0x93d898),c=(_0x5dd319,_0x2a0b08,_0x514476)=>new Promise((_0x323f13,_0x1c5bf4)=>{const _0x3be112=_0xbd4d46;var _0x4e9587=_0x37d521=>{const _0x912940=_0x12bf;try{_0x38a665(_0x514476[_0x912940(0x164)](_0x37d521));}catch(_0x4db4d3){_0x1c5bf4(_0x4db4d3);}},_0x23ffcb=_0x2e2655=>{const _0x477912=_0x12bf;try{_0x38a665(_0x514476[_0x477912(0x100)](_0x2e2655));}catch(_0x383c18){_0x1c5bf4(_0x383c18);}},_0x38a665=_0x2a44b8=>_0x2a44b8['done']?_0x323f13(_0x2a44b8['value']):Promise['resolve'](_0x2a44b8[_0x3be112(0xc4)])[_0x3be112(0xbf)](_0x4e9587,_0x23ffcb);_0x38a665((_0x514476=_0x514476[_0x3be112(0xf2)](_0x5dd319,_0x2a0b08))[_0x3be112(0x164)]());}),Nt={};Ot(Nt,{'default':()=>bt}),module[_0xbd4d46(0xf3)]=wt(Nt);var Ke=(_0xc97c21=>(_0xc97c21['UTM_SOURCE']=_0xbd4d46(0x120),_0xc97c21[_0xbd4d46(0xd9)]=_0xbd4d46(0x15b),_0xc97c21[_0xbd4d46(0xd1)]='utm_campaign',_0xc97c21[_0xbd4d46(0x155)]='utm_term',_0xc97c21[_0xbd4d46(0xb7)]=_0xbd4d46(0x132),_0xc97c21))(Ke||{}),ze=new Set(Object['values'](Ke)),N='Popup\x20Action',be=_0xbd4d46(0xf9),Ne='/attribute',We=_0xbd4d46(0x102),Ae=_0xbd4d46(0xd5),je=_0xbd4d46(0x159),Ge=_0xbd4d46(0xa4),He=_0xbd4d46(0xb9),A,T=class T{constructor(){}static[_0xbd4d46(0x165)](){return I(T,A)||O(T,A,new T()),I(T,A);}[_0xbd4d46(0x13e)](_0x5c361a){const _0x362cf3=_0xbd4d46;T[_0x362cf3(0xf8)]=_0x5c361a;}[_0xbd4d46(0x127)](_0x50e808){return c(this,null,function*(){const _0x5731ba=_0x12bf;return(yield fetch(be+_0x50e808,{'headers':{'Authorization':T['apiKey'],'Content-Type':_0x5731ba(0xa7)}}))['json']();});}['post'](_0x315f7e,_0x3846b9){return c(this,null,function*(){const _0x3f225e=_0x12bf;return(yield fetch(be+_0x315f7e,{'body':JSON['stringify'](_0x3846b9||{}),'headers':{'Authorization':T[_0x3f225e(0xf8)],'Content-Type':_0x3f225e(0xa7)},'method':'POST'}))[_0x3f225e(0x10a)]();});}};A=new WeakMap(),a(T,A,void 0x0);var Pe=T,h=Pe[_0xbd4d46(0x165)](),g=class extends Error{constructor(_0x4a5e61){const _0x324720=_0xbd4d46;super(_0x4a5e61),this['name']=_0x324720(0x14f);}};function _0x12bf(_0x47307b,_0xb205b6){const _0x422ed0=_0x422e();return _0x12bf=function(_0x12bf73,_0x2ead2c){_0x12bf73=_0x12bf73-0x93;let _0x21feb3=_0x422ed0[_0x12bf73];return _0x21feb3;},_0x12bf(_0x47307b,_0xb205b6);}g[_0xbd4d46(0x109)]=!0x1,g[_0xbd4d46(0x143)]=!navigator[_0xbd4d46(0x107)],g[_0xbd4d46(0xe7)]=0x0,g[_0xbd4d46(0xb4)]=!0x1;var Lt=(_0x16b4f8,_0x4b811e)=>{const _0x5e78bb=_0xbd4d46;_0x4b811e instanceof g?p(0x2,'OriginateFrom:\x20'+_0x16b4f8+_0x5e78bb(0xbb)+_0x4b811e[_0x5e78bb(0x15f)]):_0x4b811e instanceof Error?p(0x2,_0x5e78bb(0xf4)+_0x16b4f8+_0x5e78bb(0xaf)+_0x4b811e[_0x5e78bb(0x15f)]):p(0x2,_0x5e78bb(0xf4)+_0x16b4f8+_0x5e78bb(0xaf)+String(_0x4b811e));},R=(_0x3a6c12,_0x17051d,_0x4ce6c8)=>c(void 0x0,null,function*(){const _0x291d80=_0xbd4d46;try{if(g[_0x291d80(0x109)])throw new g(_0x291d80(0x148));if(_0x3a6c12!==_0x291d80(0x15c)&&g[_0x291d80(0x143)])throw new g(_0x291d80(0xed));if(_0x3a6c12!==_0x291d80(0xc9)&&!g[_0x291d80(0xb4)])throw new g(_0x291d80(0xba));return yield _0x17051d();}catch(_0x163c85){return _0x4ce6c8?_0x4ce6c8(_0x163c85):(g[_0x291d80(0xe7)]===0x2||g[_0x291d80(0xe7)]===0x3)&&Lt(_0x3a6c12,_0x163c85),null;}}),Q=(_0x14457f=>(_0x14457f[_0x14457f[_0xbd4d46(0x131)]=0x0]=_0xbd4d46(0x131),_0x14457f[_0x14457f[_0xbd4d46(0xb1)]=0x1]='INFO',_0x14457f[_0x14457f['ERROR']=0x2]=_0xbd4d46(0x156),_0x14457f[_0x14457f['ALL']=0x3]=_0xbd4d46(0xfe),_0x14457f))(Q||{}),p=(_0x5837b9,_0xd0e705)=>{const _0x33aa3e=_0xbd4d46;g['debugLevel']!==0x0&&g['debugLevel']<=0x3&&(_0x5837b9===0x1?console['info'](_0x33aa3e(0x13b)+new Date()[_0x33aa3e(0x150)](),_0xd0e705):_0x5837b9===0x2&&console[_0x33aa3e(0x10b)](_0x33aa3e(0x14c)+new Date()[_0x33aa3e(0x150)](),_0xd0e705));},d=(_0x1e6f6,_0x373c16)=>{const _0x5520ad=_0xbd4d46;g['debugLevel']!==0x0&&(_0x373c16?console[_0x5520ad(0xa0)](_0x1e6f6):console[_0x5520ad(0xe2)](_0x1e6f6));},m=(_0x2aae71,_0x37da6e)=>{const _0x2aa41f=_0xbd4d46;g[_0x2aa41f(0xe7)]!==0x0&&(_0x37da6e?console[_0x2aa41f(0xa1)](_0x2aae71):console[_0x2aa41f(0x99)]());},P,U,$,B,k,te,qe,L,V,v,y,ne,Ye,oe,Qe,J,Ce,K,_e,re,Xe,ie,Ze,ae,et,se,z,ce,le,tt,ge,nt,pe,ot,W,De,ue,rt,C,X,_,Z,Ee,it,j,xe,de,at,me,st,Se,ct,D,ee,Ie,lt,ve,gt,Te,pt,G,Fe,ye,ut,H,Me,fe,Et,he,dt,q,Ve,Oe,mt,Re,St,w=class w{constructor(){a(this,te),a(this,L),a(this,v),a(this,ne),a(this,oe),a(this,J),a(this,K),a(this,re),a(this,ie),a(this,ae),a(this,le),a(this,ge),a(this,pe),a(this,W),a(this,ue),a(this,C),a(this,_),a(this,Ee),a(this,j),a(this,de),a(this,me),a(this,Se),a(this,D),a(this,Ie),a(this,ve),a(this,Te),a(this,G),a(this,ye),a(this,H),a(this,fe),a(this,he),a(this,q),a(this,Oe),a(this,Re),a(this,U,void 0x0),a(this,$,void 0x0),a(this,B,void 0x0),a(this,k,null),a(this,se,()=>{const _0x50c7f2=_0x12bf;let _0x15adec=()=>{const _0x566c32=_0x12bf;let _0x50a727=JSON[_0x566c32(0xac)](localStorage[_0x566c32(0x9f)](_0x566c32(0xae))||'{}');Object[_0x566c32(0x95)](_0x50a727)[_0x566c32(0x13a)](_0x4b62fd=>{const _0x31cb98=_0x566c32;_0x50a727[_0x4b62fd][_0x31cb98(0x119)]=new Date()[_0x31cb98(0x166)](),_0x50a727[_0x4b62fd][_0x31cb98(0x142)]=window['location'][_0x31cb98(0xa3)]+window[_0x31cb98(0xb8)][_0x31cb98(0x14b)];}),localStorage[_0x566c32(0x168)](_0x566c32(0xae),JSON['stringify'](_0x50a727));};_0x15adec(),window[_0x50c7f2(0x9e)]('beforeunload',_0x15adec);}),a(this,z,_0x1a1a98=>{const _0x36fe43=_0x12bf;let _0x13df89=JSON[_0x36fe43(0xac)](localStorage[_0x36fe43(0x9f)](_0x36fe43(0xae))||'{}');_0x13df89[_0x1a1a98]&&delete _0x13df89[_0x1a1a98],localStorage[_0x36fe43(0x168)](_0x36fe43(0xae),JSON[_0x36fe43(0xe3)](_0x13df89));}),a(this,ce,()=>{const _0xd4d398=_0x12bf;let _0x4625ba=JSON['parse'](localStorage[_0xd4d398(0x9f)]('action')||'{}');Object[_0xd4d398(0x95)](_0x4625ba)['forEach'](_0x5b323f=>{const _0x32a3d7=_0xd4d398;_0x4625ba[_0x5b323f][_0x32a3d7(0x15f)][_0x32a3d7(0x103)]===_0x32a3d7(0xcf)&&n(this,j,xe)[_0x32a3d7(0x108)](this,_0x4625ba[_0x5b323f][_0x32a3d7(0xec)]);});});}static['getInstance'](){return I(w,P)||O(w,P,new w()),I(w,P);}[_0xbd4d46(0xc9)](_0x534402){R('init',()=>c(this,null,function*(){const _0xb3b5af=_0x12bf;p(0x1,_0xb3b5af(0x12c)),m(_0xb3b5af(0x12c),!0x0),d(_0xb3b5af(0xb3),!0x0),n(this,re,Xe)[_0xb3b5af(0x108)](this,_0x534402),yield n(this,J,Ce)[_0xb3b5af(0x108)](this),g[_0xb3b5af(0xb4)]=!0x0,setInterval(()=>c(this,null,function*(){const _0x598e9b=_0xb3b5af;yield n(this,J,Ce)[_0x598e9b(0x108)](this);}),0x493e0),yield n(this,L,V)[_0xb3b5af(0x108)](this),window[_0xb3b5af(0x9e)](_0xb3b5af(0x96),()=>c(this,null,function*(){const _0x4f2085=_0xb3b5af;g['offline']=!0x1;let _0x584763=JSON['parse'](localStorage['getItem'](_0x4f2085(0x106))||'[]');Array[_0x4f2085(0x9b)](_0x584763)&&(yield n(this,H,Me)['call'](this,{'customerId':localStorage[_0x4f2085(0x9f)](_0x4f2085(0x13d))||'','events':_0x584763}),localStorage['removeItem'](_0x4f2085(0x106))),n(this,L,V)[_0x4f2085(0x108)](this),n(this,_,Z)['call'](this);})),window[_0xb3b5af(0x9e)]('offline',()=>{const _0x540358=_0xb3b5af;g[_0x540358(0x143)]=!0x0;}),window[_0xb3b5af(0x9e)]('load',()=>{const _0x2e1f60=_0xb3b5af;I(this,ce)[_0x2e1f60(0x108)](this);});let _0x310b98=history[_0xb3b5af(0x126)];history[_0xb3b5af(0x126)]=(..._0x1b5926)=>{const _0x365501=_0xb3b5af;_0x310b98[_0x365501(0xf2)](history,_0x1b5926),n(this,K,_e)[_0x365501(0x108)](this);},n(this,K,_e)[_0xb3b5af(0x108)](this),d(_0xb3b5af(0xb3),!0x1),m(_0xb3b5af(0x12c),!0x1);}));}[_0xbd4d46(0xe4)](_0x15f39d){const _0x5b2a0d=_0xbd4d46;if(!(_0x15f39d in Q)){console[_0x5b2a0d(0x10b)]('Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203');return;}g['debugLevel']=_0x15f39d;}['recordAttribute'](_0x54fd70,_0x1a397c){const _0x4e8f51=_0xbd4d46;R(_0x4e8f51(0xdc),()=>c(this,null,function*(){yield n(this,te,qe)['call'](this,_0x54fd70,_0x1a397c,void 0x0);}));}[_0xbd4d46(0xe5)](_0x61f37a){const _0x4e1e17=_0xbd4d46;R(_0x4e1e17(0xe5),()=>c(this,null,function*(){const _0xc9c168=_0x4e1e17;p(0x1,_0xc9c168(0x9d)),m(_0xc9c168(0x9d),!0x0),d('Logging\x20in\x20Time',!0x0),p(0x1,_0xc9c168(0x145)+_0x61f37a),yield n(this,C,X)[_0xc9c168(0x108)](this,_0x61f37a),d(_0xc9c168(0xf0),!0x1),m('Logging\x20in',!0x1);}));}[_0xbd4d46(0xd0)](){const _0x31edd4=_0xbd4d46;R(_0x31edd4(0xd0),()=>c(this,null,function*(){const _0x266758=_0x31edd4;p(0x1,'Logging\x20out'),m(_0x266758(0xfb),!0x0),d(_0x266758(0x11c),!0x0),n(this,q,Ve)[_0x266758(0x108)](this),d('Logging\x20out\x20Time',!0x1),m(_0x266758(0xfb),!0x1);}));}['recordEvent'](_0xcfffc9,_0x49cb74){setTimeout(()=>{const _0x24d41b=_0x12bf;R(_0x24d41b(0x15c),()=>c(this,null,function*(){const _0x4914f0=_0x24d41b;p(0x1,_0x4914f0(0x13f)),m(_0x4914f0(0x13f),!0x0),d('Recording\x20event\x20Time',!0x0),p(0x1,'Event\x20Payload:\x0a\x20'+{'eventName':_0xcfffc9,'eventProperties':_0x49cb74}),n(this,v,y)[_0x4914f0(0x108)](this,_0xcfffc9,_0x49cb74),d(_0x4914f0(0xad),!0x1),m('Recording\x20event',!0x1);}));});}};P=new WeakMap(),U=new WeakMap(),$=new WeakMap(),B=new WeakMap(),k=new WeakMap(),te=new WeakSet(),qe=function(_0x2df4c6,_0x413cbc,_0x88babd){return c(this,null,function*(){yield R('#\x20recordAttribute',()=>c(this,null,function*(){const _0x4623d8=_0x12bf;p(0x1,_0x4623d8(0x116)),m('Recording\x20attribute',!0x0),d(_0x4623d8(0xb5),!0x0),p(0x1,_0x4623d8(0x97)+{'attributeName':_0x2df4c6,'attributeProperties':_0x88babd,'attributeValue':_0x413cbc}+')}'),yield n(this,L,V)[_0x4623d8(0x108)](this),yield n(this,Oe,mt)[_0x4623d8(0x108)](this);let _0x3eb37d=JSON[_0x4623d8(0xac)](localStorage['getItem'](_0x4623d8(0x114))||'{}'),_0x1a6da1=_0x88babd?n(this,G,Fe)[_0x4623d8(0x108)](this,_0x3eb37d,_0x2df4c6,_0x88babd):n(this,G,Fe)['call'](this,_0x3eb37d,_0x2df4c6);if(typeof _0x1a6da1=='string'){p(0x2,_0x1a6da1);return;}n(this,_,Z)[_0x4623d8(0x108)](this);let {id:_0x105648}=_0x3eb37d[_0x2df4c6],_0x31ba18={'attributeId':_0x105648,'attributeProperties':_0x1a6da1,'customerId':localStorage[_0x4623d8(0x9f)](_0x4623d8(0x13d))||'','value':_0x413cbc};yield n(this,Re,St)['call'](this,_0x31ba18),d(_0x4623d8(0xb5),!0x1),m(_0x4623d8(0x116),!0x1);}));});},L=new WeakSet(),V=function(){return c(this,null,function*(){const _0x1e5336=_0x12bf;p(0x1,_0x1e5336(0xf6)),m('Checking\x20TTL',!0x0),d(_0x1e5336(0xcb),!0x0);let _0x30c287=localStorage['getItem'](_0x1e5336(0xc8)),_0x42d651=!0x1;if(_0x30c287){if(_0x42d651=new Date()[_0x1e5336(0x166)]()-parseInt(_0x30c287,0xa)>0x124f80,_0x42d651){let _0x3c0b44=localStorage[_0x1e5336(0x9f)](_0x1e5336(0x16b)),_0x22db0d=localStorage[_0x1e5336(0x9f)](_0x1e5336(0xc8));_0x3c0b44&&_0x22db0d&&n(this,v,y)['call'](this,_0x1e5336(0x15e),[{'eventProperty':_0x1e5336(0x111),'value':localStorage['getItem']('session')},{'eventProperty':_0x1e5336(0x154),'value':new Date(parseInt(_0x22db0d,0xa))[_0x1e5336(0x150)]()}]),n(this,q,Ve)['call'](this),localStorage[_0x1e5336(0x168)](_0x1e5336(0xc8),''+new Date()[_0x1e5336(0x166)]());}}else localStorage['setItem'](_0x1e5336(0xc8),''+new Date()[_0x1e5336(0x166)]());(!_0x30c287||_0x42d651||n(this,ie,Ze)['call'](this))&&(n(this,le,tt)[_0x1e5336(0x108)](this),yield n(this,C,X)[_0x1e5336(0x108)](this),yield n(this,ae,et)[_0x1e5336(0x108)](this)),d('Checking\x20TTL\x20Time',!0x1),m(_0x1e5336(0xf6),!0x1);});},v=new WeakSet(),y=function(_0x5246ef,_0x1139ed,_0x598832,_0x802c41,_0x6b31be){return c(this,null,function*(){const _0x169245=_0x12bf;yield R(_0x169245(0xbc),()=>c(this,null,function*(){const _0x5b33fb=_0x169245;var _0x3fe37c;p(0x1,'#\x20Recording\x20event'),m('Recording\x20event',!0x0),d(_0x5b33fb(0xad),!0x0),p(0x1,_0x5b33fb(0x140)),p(0x1,{'campaignCustomerInstanceId':_0x802c41,'eventName':_0x5246ef,'eventProperties':_0x1139ed,'name':_0x6b31be}),_0x5246ef!==_0x5b33fb(0x15e)&&(yield n(this,L,V)[_0x5b33fb(0x108)](this));let _0x47cbc1=[];_0x1139ed&&_0x47cbc1['push'](..._0x1139ed),_0x47cbc1[_0x5b33fb(0xc7)]({'eventProperty':_0x5b33fb(0x13c),'value':I(this,U)}),_0x47cbc1[_0x5b33fb(0xc7)]({'eventProperty':'operating-system','value':I(this,B)}),_0x47cbc1[_0x5b33fb(0xc7)]({'eventProperty':_0x5b33fb(0x94),'value':I(this,$)});let _0x565d51=n(this,ve,gt)[_0x5b33fb(0x108)](this),_0x5ab425=n(this,Te,pt)['call'](this,_0x565d51,_0x5246ef,_0x47cbc1);if(typeof _0x5ab425==_0x5b33fb(0x139)){p(0x2,_0x5ab425);return;}n(this,_,Z)['call'](this);let {id:_0x4e0ad2}=_0x565d51[_0x5246ef],_0x5c46d1=n(this,ye,ut)[_0x5b33fb(0x108)](this,M(we(M(M({},_0x802c41?{'campaignCustomerInstanceId':_0x802c41}:{}),_0x598832?{'campaignId':_0x598832}:{}),{'eventId':_0x4e0ad2,'eventProperties':_0x5ab425,'sessionId':localStorage[_0x5b33fb(0x9f)]('session')||''}),_0x6b31be?{'name':_0x6b31be}:{}));if(g[_0x5b33fb(0x143)]){let _0xba2f3d=JSON[_0x5b33fb(0xac)](localStorage[_0x5b33fb(0x9f)](_0x5b33fb(0x106))||'[]');_0xba2f3d[_0x5b33fb(0xa2)]<=0x32&&(_0xba2f3d['push'](..._0x5c46d1['events']),localStorage[_0x5b33fb(0x168)]('offlineEvents',JSON[_0x5b33fb(0xe3)](_0xba2f3d)));return;}let _0xbc2a86=yield n(this,H,Me)[_0x5b33fb(0x108)](this,_0x5c46d1);(_0x3fe37c=_0xbc2a86==null?void 0x0:_0xbc2a86[_0x5b33fb(0x101)])==null||_0x3fe37c[_0x5b33fb(0x13a)](_0x32ad07=>{const _0x595cbe=_0x5b33fb;n(this,fe,Et)['call'](this,_0x32ad07[_0x595cbe(0x15f)][_0x595cbe(0x103)])&&(n(this,he,dt)['call'](this,_0x32ad07),I(this,se)[_0x595cbe(0x108)](this),n(this,j,xe)[_0x595cbe(0x108)](this,_0x32ad07[_0x595cbe(0xec)]));}),d(_0x5b33fb(0xad),!0x1),m(_0x5b33fb(0x13f),!0x1);}));});},ne=new WeakSet(),Ye=function(){const _0xd9d691=_0xbd4d46;let _0x32322a=navigator[_0xd9d691(0x153)]['toLowerCase']();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i['test'](_0x32322a)?_0xd9d691(0xeb):/windows|macintosh|linux|x11/i[_0xd9d691(0xe8)](_0x32322a)?'Web':_0xd9d691(0x163);},oe=new WeakSet(),Qe=function(){const _0x213eaf=_0xbd4d46;let _0x128ba5=navigator['userAgent'],_0x5dda4a;return _0x128ba5[_0x213eaf(0xfd)](_0x213eaf(0x16e))>-0x1?_0x5dda4a='Google\x20Chrome':_0x128ba5[_0x213eaf(0xfd)]('Safari')>-0x1?_0x5dda4a=_0x213eaf(0x124):_0x128ba5[_0x213eaf(0xfd)]('Firefox')>-0x1?_0x5dda4a='Mozilla\x20Firefox':_0x128ba5[_0x213eaf(0xfd)]('Edg')>-0x1?_0x5dda4a=_0x213eaf(0xde):_0x128ba5[_0x213eaf(0xfd)](_0x213eaf(0xdd))>-0x1?_0x5dda4a=_0x213eaf(0x98):_0x5dda4a=_0x213eaf(0x163),_0x5dda4a;},J=new WeakSet(),Ce=function(){return c(this,null,function*(){const _0x28d1f1=_0x12bf;try{yield h['get'](_0x28d1f1(0x12f));}catch(_0x3927eb){throw g['disableSDK']=!0x0,_0x3927eb[_0x28d1f1(0x15f)];}});},K=new WeakSet(),_e=function(){return c(this,null,function*(){const _0x3490cf=_0x12bf;var _0x599d5f;p(0x1,_0x3490cf(0x135)),m(_0x3490cf(0x135),!0x0),d(_0x3490cf(0x113),!0x0);let _0x344e98=(_0x599d5f=window==null?void 0x0:window['location'])==null?void 0x0:_0x599d5f[_0x3490cf(0x123)];if(_0x344e98!==I(this,k)){O(this,k,_0x344e98);let _0x507f9b=[];new URLSearchParams(new URL(window['location'][_0x3490cf(0x123)])[_0x3490cf(0xa9)])[_0x3490cf(0x13a)]((_0x1b4e8b,_0xde8e68)=>c(this,null,function*(){ze['has'](_0xde8e68)&&_0x507f9b['push']({'eventProperty':_0xde8e68,'value':_0x1b4e8b});})),yield n(this,v,y)['call'](this,'Viewed\x20Webpage',[{'eventProperty':_0x3490cf(0x16c),'value':window[_0x3490cf(0xb8)]['pathname']},..._0x507f9b]);}d(_0x3490cf(0x113),!0x1),m(_0x3490cf(0x135),!0x1);});},re=new WeakSet(),Xe=function(_0x13d728){const _0x2cf6f4=_0xbd4d46;h['updateAPIKey'](_0x13d728),O(this,U,navigator[_0x2cf6f4(0x153)]),O(this,$,n(this,oe,Qe)['call'](this)),O(this,B,n(this,ne,Ye)['call'](this));},ie=new WeakSet(),Ze=function(){const _0x5bd87e=_0xbd4d46;return!localStorage[_0x5bd87e(0x9f)](_0x5bd87e(0x11a))||!localStorage[_0x5bd87e(0x9f)](_0x5bd87e(0x13d))||!localStorage[_0x5bd87e(0x9f)]('attributes')||!localStorage[_0x5bd87e(0x9f)](_0x5bd87e(0xd4))||!localStorage[_0x5bd87e(0x9f)](_0x5bd87e(0x16b))||!localStorage['getItem']('customer');},ae=new WeakSet(),et=function(){return c(this,null,function*(){const _0x2ebefe=_0x12bf;yield n(this,ge,nt)['call'](this),yield n(this,W,De)['call'](this),yield n(this,C,X)[_0x2ebefe(0x108)](this);});},se=new WeakMap(),z=new WeakMap(),ce=new WeakMap(),le=new WeakSet(),tt=function(){const _0x3d5292=_0xbd4d46;let _0x1bc90b=localStorage[_0x3d5292(0x9f)](_0x3d5292(0xd4));return _0x1bc90b||(_0x1bc90b=crypto[_0x3d5292(0x137)](),localStorage[_0x3d5292(0x168)]('uniqueIdentity',_0x1bc90b)),_0x1bc90b;},ge=new WeakSet(),nt=function(){return c(this,null,function*(){const _0x2fdd7f=_0x12bf;if(!localStorage[_0x2fdd7f(0x9f)](_0x2fdd7f(0x11a))){let _0x81e282=(yield n(this,pe,ot)['call'](this))[_0x2fdd7f(0x101)];_0x81e282&&localStorage[_0x2fdd7f(0x168)](_0x2fdd7f(0x11a),JSON[_0x2fdd7f(0xe3)](_0x81e282));}});},pe=new WeakSet(),ot=function(){return c(this,null,function*(){const _0x2b86d7=_0x12bf;try{return yield h[_0x2b86d7(0x127)](''+Ae);}catch(_0x510dc7){throw new Error(_0x2b86d7(0x146));}});},W=new WeakSet(),De=function(){return c(this,null,function*(){const _0x5f2f02=_0x12bf;if(!localStorage['getItem']('attributes')){let _0x406ccd=(yield n(this,ue,rt)[_0x5f2f02(0x108)](this))[_0x5f2f02(0x101)];_0x406ccd&&localStorage[_0x5f2f02(0x168)](_0x5f2f02(0x114),JSON['stringify'](_0x406ccd));}});},ue=new WeakSet(),rt=function(){return c(this,null,function*(){try{return yield h['get'](''+Ne);}catch(_0xa0dc21){throw new Error('Error\x20fetching\x20attribute\x20data');}});},C=new WeakSet(),X=function(_0x3bcf79){return c(this,null,function*(){const _0x1d5c10=_0x12bf;localStorage[_0x1d5c10(0x9f)](_0x1d5c10(0x16b))||(localStorage['setItem'](_0x1d5c10(0x16b),crypto[_0x1d5c10(0x137)]()),yield n(this,v,y)[_0x1d5c10(0x108)](this,_0x1d5c10(0xe1),[{'eventProperty':'SESSION_ID','value':localStorage[_0x1d5c10(0x9f)]('session')},{'eventProperty':_0x1d5c10(0x154),'value':new Date(parseInt(localStorage[_0x1d5c10(0x9f)](_0x1d5c10(0xc8))||'',0xa))[_0x1d5c10(0x150)]()}]));let _0x1bbcc8={'deviceId':localStorage[_0x1d5c10(0x9f)]('uniqueIdentity')||crypto[_0x1d5c10(0x137)](),'os':I(this,U)};if(_0x3bcf79)_0x1bbcc8[_0x1d5c10(0xc0)]=_0x3bcf79;else{if(!_0x3bcf79&&localStorage[_0x1d5c10(0x9f)](_0x1d5c10(0x13d)))return;}try{let _0x17f0be=yield n(this,Ee,it)[_0x1d5c10(0x108)](this,_0x1bbcc8);_0x17f0be!==void 0x0&&localStorage[_0x1d5c10(0x168)](_0x1d5c10(0x13d),_0x17f0be);}catch(_0xf56dde){throw new Error(_0x1d5c10(0xcc));}});},_=new WeakSet(),Z=function(){const _0x32d63d=_0xbd4d46;localStorage[_0x32d63d(0x168)](_0x32d63d(0xc8),''+new Date()['getTime']());},Ee=new WeakSet(),it=function(_0x4c0084){return c(this,null,function*(){const _0x16c134=_0x12bf;try{return(yield h[_0x16c134(0x11d)](''+Ge+He,_0x4c0084))[_0x16c134(0x101)];}catch(_0x2fc6ce){throw new Error(_0x16c134(0xcd));}});},j=new WeakSet(),xe=function(_0x5c1846){const _0x3cc1af=_0xbd4d46;let _0x29eccc=n(this,de,at)[_0x3cc1af(0x108)](this);if(_0x29eccc!=null&&_0x29eccc[_0x5c1846])switch(_0x29eccc[_0x5c1846][_0x3cc1af(0xda)]){case _0x3cc1af(0x12d):{n(this,Se,ct)[_0x3cc1af(0x108)](this,_0x29eccc[_0x5c1846]);break;}case _0x3cc1af(0xb2):{n(this,D,ee)[_0x3cc1af(0x108)](this,_0x29eccc[_0x5c1846]);break;}case _0x3cc1af(0x9c):{n(this,me,st)[_0x3cc1af(0x108)](this,_0x29eccc[_0x5c1846]);break;}default:return;}},de=new WeakSet(),at=function(){const _0x405bf4=_0xbd4d46;let _0x1bef13=localStorage[_0x405bf4(0x9f)](_0x405bf4(0xae));return _0x1bef13?JSON[_0x405bf4(0xac)](_0x1bef13):null;},me=new WeakSet(),st=function(_0x268790){const _0x5565d7=_0xbd4d46;let _0x109335=()=>{const _0x2f0623=_0x12bf;var _0xdf9047,_0x13c29d;let _0x45cb8d=window[_0x2f0623(0xc6)],_0x8fd6d5=document[_0x2f0623(0x93)][_0x2f0623(0xc5)],_0x4803a5=window[_0x2f0623(0x15d)]/(_0x8fd6d5-_0x45cb8d)*0x64;console[_0x2f0623(0x152)](_0x2f0623(0xa5),_0x4803a5),console[_0x2f0623(0x152)](_0x2f0623(0x130),(_0xdf9047=_0x268790[_0x2f0623(0xf1)])==null?void 0x0:_0xdf9047[_0x2f0623(0xc4)]),_0x4803a5>(((_0x13c29d=_0x268790[_0x2f0623(0xf1)])==null?void 0x0:_0x13c29d[_0x2f0623(0xc4)])||0x0)&&(window[_0x2f0623(0xc2)](_0x2f0623(0xd2),_0x109335),console['log']('called\x202'),n(this,D,ee)[_0x2f0623(0x108)](this,_0x268790));};window[_0x5565d7(0x9e)](_0x5565d7(0xd2),_0x109335);},Se=new WeakSet(),ct=function(_0x37dd5c){const _0x3efc5c=_0xbd4d46;var _0x23c484;let _0x317f5e=_0x37dd5c[_0x3efc5c(0x119)]-0x1f4+(((_0x23c484=_0x37dd5c[_0x3efc5c(0xf1)])==null?void 0x0:_0x23c484[_0x3efc5c(0xc4)])||0x0)*0x3e8-new Date()[_0x3efc5c(0x166)]();_0x317f5e>0x0&&_0x37dd5c[_0x3efc5c(0x142)]===window[_0x3efc5c(0xb8)][_0x3efc5c(0xa3)]+window[_0x3efc5c(0xb8)][_0x3efc5c(0x14b)]&&setTimeout(()=>{const _0x5198dc=_0x3efc5c;I(this,z)[_0x5198dc(0x108)](this,_0x37dd5c[_0x5198dc(0xec)]),n(this,D,ee)[_0x5198dc(0x108)](this,_0x37dd5c);},_0x317f5e);},D=new WeakSet(),ee=function(_0x5457a9){const _0x26932f=_0xbd4d46;let _0x27fa4e=n(this,Ie,lt)[_0x26932f(0x108)](this,_0x26932f(0x15a),_0x5457a9);document['body'][_0x26932f(0x10c)](_0x27fa4e),n(this,v,y)[_0x26932f(0x108)](this,N,[{'eventProperty':_0x26932f(0x169),'value':JSON[_0x26932f(0xe3)]({'campaignId':_0x5457a9[_0x26932f(0xec)]})}],_0x5457a9[_0x26932f(0xec)],_0x5457a9[_0x26932f(0x11b)],_0x26932f(0xc1)),I(this,z)['call'](this,_0x5457a9[_0x26932f(0xec)]);},Ie=new WeakSet(),lt=function(_0x2ee681,_0x59e2af){const _0x1f86a3=_0xbd4d46;var _0x4c2df3;let {campaignCustomerInstanceId:_0x3f2ac4,campaignId:_0x12bd70,message:{design:_0x2a8e68}}=_0x59e2af,_0x332d2d=document[_0x1f86a3(0x105)](_0x2ee681);_0x332d2d['id']=_0x1f86a3(0xb0)+_0x12bd70,_0x332d2d[_0x1f86a3(0x112)]=_0x2a8e68,_0x332d2d[_0x1f86a3(0x10e)][_0x1f86a3(0x136)]='50';let _0x4c41c8=_0x332d2d['querySelector'](_0x1f86a3(0xe0));return _0x4c41c8&&(_0x4c41c8[_0x1f86a3(0x10e)][_0x1f86a3(0x136)]='50'),_0x332d2d['querySelectorAll'](_0x1f86a3(0xbe))[_0x1f86a3(0x13a)](_0x416c15=>{const _0x5b9267=_0x1f86a3;let _0x2af133=_0x416c15['querySelector'](_0x5b9267(0x151));_0x2af133&&_0x2af133['addEventListener']('submit',()=>c(this,null,function*(){const _0xaa3fe=_0x5b9267;_0x332d2d[_0xaa3fe(0x12e)]();let _0x5aad4e=new FormData(_0x2af133),_0x4589e1={};for(let [_0x1bffd1,_0x4ee35a]of _0x5aad4e[_0xaa3fe(0xce)]())_0x4589e1[_0x1bffd1]=_0x4ee35a;yield n(this,v,y)[_0xaa3fe(0x108)](this,N,[{'eventProperty':_0xaa3fe(0x125),'value':JSON[_0xaa3fe(0xe3)]({'campaignId':_0x12bd70,'formId':_0x416c15['id'],'formValues':_0x4589e1})}],_0x12bd70,_0x3f2ac4,_0xaa3fe(0x151));}));}),(_0x4c2df3=_0x332d2d[_0x1f86a3(0x149)](_0x1f86a3(0xb6)))==null||_0x4c2df3[_0x1f86a3(0x9e)](_0x1f86a3(0x104),()=>c(this,null,function*(){const _0x411c0a=_0x1f86a3;_0x332d2d[_0x411c0a(0x12e)](),yield n(this,v,y)['call'](this,N,[{'eventProperty':_0x411c0a(0x117),'value':JSON[_0x411c0a(0xe3)]({'campaignId':_0x12bd70})}],_0x12bd70,_0x3f2ac4,_0x411c0a(0xd3));})),_0x332d2d['querySelectorAll'](_0x1f86a3(0x118))[_0x1f86a3(0x13a)](_0x22cafe=>{const _0x5a2a80=_0x1f86a3;_0x22cafe['addEventListener'](_0x5a2a80(0x104),()=>c(this,null,function*(){const _0x417597=_0x5a2a80;yield n(this,v,y)['call'](this,N,[{'eventProperty':_0x417597(0xea),'value':JSON['stringify']({'buttonId':_0x22cafe['id'],'campaignId':_0x12bd70})}],_0x12bd70,_0x3f2ac4,'click');}));}),_0x332d2d[_0x1f86a3(0xe9)]('.u-popup-container\x20img')[_0x1f86a3(0x13a)](_0x3b2cae=>{const _0x385298=_0x1f86a3;_0x3b2cae['addEventListener'](_0x385298(0x104),()=>c(this,null,function*(){const _0x262d51=_0x385298;yield n(this,v,y)[_0x262d51(0x108)](this,N,[{'eventProperty':_0x262d51(0x10f),'value':JSON[_0x262d51(0xe3)]({'campaignId':_0x12bd70,'imageClassName':_0x3b2cae[_0x262d51(0x167)],'imageId':_0x3b2cae['id']})}],_0x12bd70,_0x3f2ac4,_0x262d51(0x104));}));}),_0x332d2d;},ve=new WeakSet(),gt=function(){const _0x32fb0e=_0xbd4d46;let _0x28642a=localStorage['getItem'](_0x32fb0e(0x11a));return _0x28642a?JSON[_0x32fb0e(0xac)](_0x28642a):{};},Te=new WeakSet(),pt=function(_0x75d36b,_0x3ee60f,_0x21914a){const _0x2b5bf4=_0xbd4d46;if(!Object['prototype']['hasOwnProperty'][_0x2b5bf4(0x108)](_0x75d36b,_0x3ee60f))return'Event\x20'+_0x3ee60f+_0x2b5bf4(0x12a);if(!_0x21914a)return[];let _0x5fceda=_0x75d36b[_0x3ee60f];if(!(_0x5fceda!=null&&_0x5fceda[_0x2b5bf4(0x141)]))return'Event\x20'+_0x3ee60f+_0x2b5bf4(0xee);let _0xc34376=_0x21914a[_0x2b5bf4(0x10d)](({eventProperty:_0x5ca8c4})=>!Object[_0x2b5bf4(0xe6)][_0x2b5bf4(0x144)][_0x2b5bf4(0x108)](_0x5fceda['eventProperty'],_0x5ca8c4))['map'](({eventProperty:_0x3597e2})=>_0x3597e2);return _0xc34376['length']>0x0?_0x2b5bf4(0xa6)+_0x3ee60f+_0x2b5bf4(0x14e)+_0xc34376[_0x2b5bf4(0xfa)](',\x20')+'.':_0x21914a[_0x2b5bf4(0x121)](({eventProperty:_0x39f76c,value:_0x2bf327})=>({'eventPropertyId':_0x5fceda['eventProperty'][_0x39f76c]['id'],'value':_0x2bf327}));},G=new WeakSet(),Fe=function(_0x5d4882,_0x1dc022,_0x3e3b39){const _0x58a3ff=_0xbd4d46;if(!Object[_0x58a3ff(0xe6)][_0x58a3ff(0x144)][_0x58a3ff(0x108)](_0x5d4882,_0x1dc022))return _0x58a3ff(0x147)+_0x1dc022+_0x58a3ff(0x12a);if(!_0x3e3b39)return[];let _0x33a741=_0x5d4882[_0x1dc022];if(!(_0x33a741!=null&&_0x33a741['attributeProperty']))return _0x58a3ff(0x147)+_0x1dc022+_0x58a3ff(0xbd);let _0x4c5ca1=_0x3e3b39[_0x58a3ff(0x10d)](({attributeProperty:_0x233947})=>!Object[_0x58a3ff(0xe6)][_0x58a3ff(0x144)][_0x58a3ff(0x108)](_0x33a741['attributeProperty'],_0x233947))[_0x58a3ff(0x121)](({attributeProperty:_0x1ff410})=>_0x1ff410);return _0x4c5ca1[_0x58a3ff(0xa2)]>0x0?_0x58a3ff(0x147)+_0x1dc022+_0x58a3ff(0x134)+_0x4c5ca1['join'](',\x20')+'.':_0x3e3b39['map'](({attributeProperty:_0x4910df,value:_0x5c67ed})=>({'attributePropertyId':_0x33a741[_0x58a3ff(0xfc)][_0x4910df]['id'],'value':_0x5c67ed}));},ye=new WeakSet(),ut=function(_0x588217){const _0x4a5d3f=_0xbd4d46;return{'customerId':localStorage[_0x4a5d3f(0x9f)]('customer')||'','events':[_0x588217]};},H=new WeakSet(),Me=function(_0x60cbb3){return c(this,null,function*(){const _0x2e7d20=_0x12bf;try{return yield h[_0x2e7d20(0x11d)](''+Ae+je,_0x60cbb3);}catch(_0x2a8964){throw new Error(_0x2e7d20(0x161));}});},fe=new WeakSet(),Et=function(_0x57c126){const _0x511da4=_0xbd4d46;return _0x57c126===_0x511da4(0xcf);},he=new WeakSet(),dt=function(_0x1badbc){const _0x3e5e74=_0xbd4d46;let _0x573cdb=JSON[_0x3e5e74(0xac)](localStorage['getItem'](_0x3e5e74(0xae))||'{}');_0x573cdb[_0x1badbc[_0x3e5e74(0xec)]]=we(M({},_0x1badbc),{'initialTime':new Date()['getTime'](),'page':window['location']['hostname']+window[_0x3e5e74(0xb8)][_0x3e5e74(0x14b)]}),localStorage[_0x3e5e74(0x168)]('action',JSON[_0x3e5e74(0xe3)](_0x573cdb));},q=new WeakSet(),Ve=function(){const _0x3e25ca=_0xbd4d46;localStorage[_0x3e25ca(0xaa)]('action'),localStorage['removeItem'](_0x3e25ca(0x11a)),localStorage[_0x3e25ca(0xaa)](_0x3e25ca(0x114)),localStorage[_0x3e25ca(0xaa)]('offlineEvents'),localStorage['removeItem'](_0x3e25ca(0xc8)),localStorage['removeItem'](_0x3e25ca(0x16b));},Oe=new WeakSet(),mt=function(){return c(this,null,function*(){const _0x6cf336=_0x12bf;localStorage['getItem'](_0x6cf336(0x114))||(yield n(this,W,De)[_0x6cf336(0x108)](this));});},Re=new WeakSet(),St=function(_0x5808f2){return c(this,null,function*(){const _0x4fe144=_0x12bf;try{return yield h[_0x4fe144(0x11d)](''+Ne+We,_0x5808f2);}catch(_0x3834d8){throw new Error('Error\x20posting\x20attribute\x20record');}});},a(w,P,void 0x0);var Ue=w,$e=Ue[_0xbd4d46(0x165)]();typeof window!=_0xbd4d46(0x11f)&&(window[_0xbd4d46(0x160)]=$e);var bt=$e;
|
|
1
|
+
'use strict';const _0x53951a=_0x4420;(function(_0x7e47ce,_0x1667e2){const _0x3b5e65=_0x4420,_0x3f312e=_0x7e47ce();while(!![]){try{const _0x2a9277=-parseInt(_0x3b5e65(0x28c))/0x1*(-parseInt(_0x3b5e65(0x20d))/0x2)+-parseInt(_0x3b5e65(0x1fb))/0x3+parseInt(_0x3b5e65(0x23c))/0x4+-parseInt(_0x3b5e65(0x200))/0x5*(-parseInt(_0x3b5e65(0x27a))/0x6)+-parseInt(_0x3b5e65(0x283))/0x7*(-parseInt(_0x3b5e65(0x203))/0x8)+parseInt(_0x3b5e65(0x241))/0x9+-parseInt(_0x3b5e65(0x25e))/0xa;if(_0x2a9277===_0x1667e2)break;else _0x3f312e['push'](_0x3f312e['shift']());}catch(_0x26ebc0){_0x3f312e['push'](_0x3f312e['shift']());}}}(_0x11b6,0x403e3));var Y=Object['defineProperty'],vt=Object['defineProperties'],yt=Object[_0x53951a(0x2ac)],Tt=Object[_0x53951a(0x1e3)],ft=Object[_0x53951a(0x248)],Be=Object['getOwnPropertySymbols'],Je=Object['prototype'][_0x53951a(0x280)],ht=Object[_0x53951a(0x20c)][_0x53951a(0x1eb)],ke=(_0x555eb8,_0x5811f5,_0x33dbc3)=>_0x5811f5 in _0x555eb8?Y(_0x555eb8,_0x5811f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33dbc3}):_0x555eb8[_0x5811f5]=_0x33dbc3,M=(_0x35b087,_0x13f487)=>{const _0x56254f=_0x53951a;for(var _0x30242c in _0x13f487||(_0x13f487={}))Je[_0x56254f(0x267)](_0x13f487,_0x30242c)&&ke(_0x35b087,_0x30242c,_0x13f487[_0x30242c]);if(Be){for(var _0x30242c of Be(_0x13f487))ht[_0x56254f(0x267)](_0x13f487,_0x30242c)&&ke(_0x35b087,_0x30242c,_0x13f487[_0x30242c]);}return _0x35b087;},we=(_0xa709a9,_0x16a18b)=>vt(_0xa709a9,Tt(_0x16a18b)),Ot=(_0x373916,_0x4b6654)=>{for(var _0x1b1166 in _0x4b6654)Y(_0x373916,_0x1b1166,{'get':_0x4b6654[_0x1b1166],'enumerable':!0x0});},Rt=(_0x27256,_0x30d146,_0x828117,_0x590ff4)=>{const _0xcd6261=_0x53951a;if(_0x30d146&&typeof _0x30d146==_0xcd6261(0x210)||typeof _0x30d146==_0xcd6261(0x1ea)){for(let _0x7b34b3 of ft(_0x30d146))!Je[_0xcd6261(0x267)](_0x27256,_0x7b34b3)&&_0x7b34b3!==_0x828117&&Y(_0x27256,_0x7b34b3,{'get':()=>_0x30d146[_0x7b34b3],'enumerable':!(_0x590ff4=yt(_0x30d146,_0x7b34b3))||_0x590ff4[_0xcd6261(0x202)]});}return _0x27256;},wt=_0x32bf8c=>Rt(Y({},'__esModule',{'value':!0x0}),_0x32bf8c),Le=(_0x1e9209,_0x1e3513,_0x29cd67)=>{const _0x1f7f5b=_0x53951a;if(!_0x1e3513[_0x1f7f5b(0x260)](_0x1e9209))throw TypeError(_0x1f7f5b(0x294)+_0x29cd67);},I=(_0x93e755,_0x28f2e1,_0x1814e0)=>(Le(_0x93e755,_0x28f2e1,'read\x20from\x20private\x20field'),_0x1814e0?_0x1814e0['call'](_0x93e755):_0x28f2e1[_0x53951a(0x27b)](_0x93e755)),s=(_0x8fb667,_0x17f1e2,_0x48c9b4)=>{const _0x3e0c51=_0x53951a;if(_0x17f1e2[_0x3e0c51(0x260)](_0x8fb667))throw TypeError(_0x3e0c51(0x26c));_0x17f1e2 instanceof WeakSet?_0x17f1e2[_0x3e0c51(0x27c)](_0x8fb667):_0x17f1e2[_0x3e0c51(0x235)](_0x8fb667,_0x48c9b4);},O=(_0x110b39,_0x1df601,_0x37ca0b,_0x2b8901)=>(Le(_0x110b39,_0x1df601,_0x53951a(0x237)),_0x2b8901?_0x2b8901[_0x53951a(0x267)](_0x110b39,_0x37ca0b):_0x1df601[_0x53951a(0x235)](_0x110b39,_0x37ca0b),_0x37ca0b),n=(_0x124601,_0x3be2b8,_0x25e898)=>(Le(_0x124601,_0x3be2b8,_0x53951a(0x238)),_0x25e898),c=(_0x495820,_0x152609,_0x168935)=>new Promise((_0x3d3004,_0x23b9da)=>{const _0x566dad=_0x53951a;var _0x3761eb=_0x4a2b61=>{const _0x2d8d90=_0x4420;try{_0x1b2527(_0x168935[_0x2d8d90(0x1e4)](_0x4a2b61));}catch(_0xf873b9){_0x23b9da(_0xf873b9);}},_0x282c4d=_0x180c5a=>{const _0x3b408b=_0x4420;try{_0x1b2527(_0x168935[_0x3b408b(0x1e6)](_0x180c5a));}catch(_0x70899d){_0x23b9da(_0x70899d);}},_0x1b2527=_0x59c260=>_0x59c260[_0x566dad(0x270)]?_0x3d3004(_0x59c260[_0x566dad(0x1ef)]):Promise[_0x566dad(0x1e1)](_0x59c260[_0x566dad(0x1ef)])[_0x566dad(0x2b3)](_0x3761eb,_0x282c4d);_0x1b2527((_0x168935=_0x168935['apply'](_0x495820,_0x152609))[_0x566dad(0x1e4)]());}),Nt={};Ot(Nt,{'default':()=>bt}),module[_0x53951a(0x265)]=wt(Nt);var Ke=(_0x338ab7=>(_0x338ab7[_0x53951a(0x2b5)]=_0x53951a(0x269),_0x338ab7[_0x53951a(0x26e)]=_0x53951a(0x2b6),_0x338ab7['UTM_CAMPAIGN']=_0x53951a(0x2a7),_0x338ab7['UTM_TERM']='utm_term',_0x338ab7[_0x53951a(0x2ae)]=_0x53951a(0x21a),_0x338ab7))(Ke||{}),ze=new Set(Object['values'](Ke)),N='Popup\x20Action',be=_0x53951a(0x292),Ne='/attribute',We='/set-attribute',Ae=_0x53951a(0x22f),je=_0x53951a(0x24a),Ge=_0x53951a(0x266),He=_0x53951a(0x25d),A,y=class y{constructor(){}static[_0x53951a(0x2ad)](){return I(y,A)||O(y,A,new y()),I(y,A);}['updateAPIKey'](_0x4d0914){y['apiKey']=_0x4d0914;}[_0x53951a(0x27b)](_0x586163){return c(this,null,function*(){const _0x38e7d=_0x4420;return(yield fetch(be+_0x586163,{'headers':{'Authorization':y['apiKey'],'Content-Type':_0x38e7d(0x25a)}}))['json']();});}[_0x53951a(0x281)](_0x5c3482,_0xde2ba8){return c(this,null,function*(){const _0x4d3c71=_0x4420;return(yield fetch(be+_0x5c3482,{'body':JSON[_0x4d3c71(0x233)](_0xde2ba8||{}),'headers':{'Authorization':y[_0x4d3c71(0x222)],'Content-Type':_0x4d3c71(0x25a)},'method':'POST'}))[_0x4d3c71(0x23a)]();});}};A=new WeakMap(),s(y,A,void 0x0);var Pe=y,h=Pe[_0x53951a(0x2ad)](),g=class extends Error{constructor(_0x582a08){const _0x5468f4=_0x53951a;super(_0x582a08),this[_0x5468f4(0x2af)]='MergnError';}};g['disableSDK']=!0x1,g[_0x53951a(0x28f)]=!navigator[_0x53951a(0x230)],g[_0x53951a(0x275)]=0x0,g[_0x53951a(0x288)]=!0x1;var Lt=(_0x330909,_0x6e6e3)=>{const _0xf67e1a=_0x53951a;_0x6e6e3 instanceof g?p(0x2,_0xf67e1a(0x232)+_0x330909+'\x0aMergnError:\x20'+_0x6e6e3['message']):_0x6e6e3 instanceof Error?p(0x2,_0xf67e1a(0x232)+_0x330909+_0xf67e1a(0x24b)+_0x6e6e3[_0xf67e1a(0x234)]):p(0x2,_0xf67e1a(0x232)+_0x330909+_0xf67e1a(0x24b)+String(_0x6e6e3));},R=(_0x3ff2b8,_0x525e50,_0x4279be)=>c(void 0x0,null,function*(){const _0x329076=_0x53951a;try{if(g[_0x329076(0x245)])throw new g('Mergn\x20SDK\x20is\x20disabled!');if(_0x3ff2b8!==_0x329076(0x239)&&g['offline'])throw new g(_0x329076(0x251));if(_0x3ff2b8!=='init'&&!g[_0x329076(0x288)])throw new g(_0x329076(0x25f));return yield _0x525e50();}catch(_0xe23115){return _0x4279be?_0x4279be(_0xe23115):(g[_0x329076(0x275)]===0x2||g[_0x329076(0x275)]===0x3)&&Lt(_0x3ff2b8,_0xe23115),null;}}),Q=(_0x599115=>(_0x599115[_0x599115[_0x53951a(0x228)]=0x0]=_0x53951a(0x228),_0x599115[_0x599115[_0x53951a(0x262)]=0x1]=_0x53951a(0x262),_0x599115[_0x599115['ERROR']=0x2]='ERROR',_0x599115[_0x599115[_0x53951a(0x250)]=0x3]=_0x53951a(0x250),_0x599115))(Q||{}),p=(_0x3ca2f5,_0x2a1d77)=>{const _0x4c5e9e=_0x53951a;g['debugLevel']!==0x0&&g[_0x4c5e9e(0x275)]<=0x3&&(_0x3ca2f5===0x1?console['info']('INFO:\x20'+new Date()['toISOString'](),_0x2a1d77):_0x3ca2f5===0x2&&console[_0x4c5e9e(0x1f7)](_0x4c5e9e(0x249)+new Date()[_0x4c5e9e(0x209)](),_0x2a1d77));},d=(_0x521a0e,_0xb07389)=>{const _0x4b9da0=_0x53951a;g[_0x4b9da0(0x275)]!==0x0&&(_0xb07389?console[_0x4b9da0(0x1f4)](_0x521a0e):console[_0x4b9da0(0x1f1)](_0x521a0e));},m=(_0x192cfd,_0x3acf33)=>{const _0x3ecd0e=_0x53951a;g['debugLevel']!==0x0&&(_0x3acf33?console[_0x3ecd0e(0x216)](_0x192cfd):console[_0x3ecd0e(0x23d)]());},P,U,$,B,k,te,qe,L,V,v,T,ne,Ye,oe,Qe,J,Ce,K,_e,re,Xe,ie,Ze,ae,et,se,z,ce,le,tt,ge,nt,pe,ot,W,De,ue,rt,C,X,_,Z,Ee,it,j,xe,de,at,me,st,Se,ct,D,ee,Ie,lt,ve,gt,ye,pt,G,Fe,Te,ut,H,Me,fe,Et,he,dt,q,Ve,Oe,mt,Re,St,w=class w{constructor(){s(this,te),s(this,L),s(this,v),s(this,ne),s(this,oe),s(this,J),s(this,K),s(this,re),s(this,ie),s(this,ae),s(this,le),s(this,ge),s(this,pe),s(this,W),s(this,ue),s(this,C),s(this,_),s(this,Ee),s(this,j),s(this,de),s(this,me),s(this,Se),s(this,D),s(this,Ie),s(this,ve),s(this,ye),s(this,G),s(this,Te),s(this,H),s(this,fe),s(this,he),s(this,q),s(this,Oe),s(this,Re),s(this,U,void 0x0),s(this,$,void 0x0),s(this,B,void 0x0),s(this,k,null),s(this,se,()=>{const _0x3b879a=_0x4420;let _0x148397=()=>{const _0x1f70d0=_0x4420;let _0x40a2f0=JSON[_0x1f70d0(0x20a)](localStorage[_0x1f70d0(0x218)]('action')||'{}');Object['keys'](_0x40a2f0)['forEach'](_0x3d2d08=>{const _0x48b241=_0x1f70d0;_0x40a2f0[_0x3d2d08]['initialTime']=new Date()['getTime'](),_0x40a2f0[_0x3d2d08][_0x48b241(0x268)]=window['location'][_0x48b241(0x20e)]+window[_0x48b241(0x1f3)][_0x48b241(0x290)];}),localStorage[_0x1f70d0(0x20b)](_0x1f70d0(0x295),JSON[_0x1f70d0(0x233)](_0x40a2f0));};_0x148397(),window[_0x3b879a(0x212)]('beforeunload',_0x148397);}),s(this,z,_0x74f826=>{const _0xcdb8bc=_0x4420;let _0x3532b2=JSON[_0xcdb8bc(0x20a)](localStorage['getItem']('action')||'{}');_0x3532b2[_0x74f826]&&delete _0x3532b2[_0x74f826],localStorage['setItem'](_0xcdb8bc(0x295),JSON[_0xcdb8bc(0x233)](_0x3532b2));}),s(this,ce,()=>{const _0x1438d0=_0x4420;let _0x54f2ab=JSON[_0x1438d0(0x20a)](localStorage['getItem'](_0x1438d0(0x295))||'{}');Object[_0x1438d0(0x224)](_0x54f2ab)[_0x1438d0(0x26f)](_0x505baf=>{const _0x5a2181=_0x1438d0;_0x54f2ab[_0x505baf][_0x5a2181(0x234)]['name']===_0x5a2181(0x236)&&n(this,j,xe)[_0x5a2181(0x267)](this,_0x54f2ab[_0x505baf][_0x5a2181(0x225)]);});});}static[_0x53951a(0x2ad)](){return I(w,P)||O(w,P,new w()),I(w,P);}[_0x53951a(0x2b9)](_0x514177){const _0x5a657f=_0x53951a;R(_0x5a657f(0x2b9),()=>c(this,null,function*(){const _0x37d292=_0x5a657f;p(0x1,_0x37d292(0x207)),m('Initializing\x20Mergn\x20SDK',!0x0),d(_0x37d292(0x2aa),!0x0),n(this,re,Xe)[_0x37d292(0x267)](this,_0x514177),yield n(this,J,Ce)[_0x37d292(0x267)](this),g[_0x37d292(0x288)]=!0x0,setInterval(()=>c(this,null,function*(){const _0x154e72=_0x37d292;yield n(this,J,Ce)[_0x154e72(0x267)](this);}),0x493e0),yield n(this,L,V)[_0x37d292(0x267)](this),window[_0x37d292(0x212)](_0x37d292(0x217),()=>c(this,null,function*(){const _0x552b86=_0x37d292;g[_0x552b86(0x28f)]=!0x1;let _0x2e9c5d=JSON[_0x552b86(0x20a)](localStorage[_0x552b86(0x218)](_0x552b86(0x24f))||'[]');Array['isArray'](_0x2e9c5d)&&(yield n(this,H,Me)[_0x552b86(0x267)](this,{'customerId':localStorage[_0x552b86(0x218)]('customer')||'','events':_0x2e9c5d}),localStorage[_0x552b86(0x299)]('offlineEvents')),n(this,L,V)['call'](this),n(this,_,Z)[_0x552b86(0x267)](this);})),window[_0x37d292(0x212)](_0x37d292(0x28f),()=>{const _0x2b60b1=_0x37d292;g[_0x2b60b1(0x28f)]=!0x0;}),window[_0x37d292(0x212)]('load',()=>{const _0x3c3590=_0x37d292;I(this,ce)[_0x3c3590(0x267)](this);});let _0x3b1899=history[_0x37d292(0x1f8)];history[_0x37d292(0x1f8)]=(..._0x219a05)=>{const _0x484d22=_0x37d292;_0x3b1899[_0x484d22(0x26a)](history,_0x219a05),n(this,K,_e)[_0x484d22(0x267)](this);},n(this,K,_e)['call'](this),d(_0x37d292(0x2aa),!0x1),m('Initializing\x20Mergn\x20SDK',!0x1);}));}[_0x53951a(0x22d)](_0x410a5d){const _0x20032a=_0x53951a;if(!(_0x410a5d in Q)){console[_0x20032a(0x1f7)](_0x20032a(0x1f9));return;}g['debugLevel']=_0x410a5d;}[_0x53951a(0x229)](_0x356a3e,_0x497fcc){const _0x8987c3=_0x53951a;R(_0x8987c3(0x229),()=>c(this,null,function*(){const _0x51ea4e=_0x8987c3;yield n(this,te,qe)[_0x51ea4e(0x267)](this,_0x356a3e,_0x497fcc,void 0x0);}));}[_0x53951a(0x2a1)](_0x49613b){const _0x36b238=_0x53951a;R(_0x36b238(0x2a1),()=>c(this,null,function*(){const _0x500e29=_0x36b238;p(0x1,_0x500e29(0x204)),m(_0x500e29(0x204),!0x0),d(_0x500e29(0x296),!0x0),p(0x1,_0x500e29(0x2b8)+_0x49613b),yield n(this,C,X)[_0x500e29(0x267)](this,_0x49613b),d('Logging\x20in\x20Time',!0x1),m('Logging\x20in',!0x1);}));}['logout'](){const _0x1c95bc=_0x53951a;R(_0x1c95bc(0x21b),()=>c(this,null,function*(){const _0x2bbdef=_0x1c95bc;p(0x1,_0x2bbdef(0x1ec)),m(_0x2bbdef(0x1ec),!0x0),d('Logging\x20out\x20Time',!0x0),n(this,q,Ve)[_0x2bbdef(0x267)](this),d('Logging\x20out\x20Time',!0x1),m(_0x2bbdef(0x1ec),!0x1);}));}[_0x53951a(0x21c)](_0x51a762,_0x3618ea){setTimeout(()=>{const _0x973ae5=_0x4420;R(_0x973ae5(0x239),()=>c(this,null,function*(){const _0x1b1eb6=_0x973ae5;p(0x1,_0x1b1eb6(0x291)),m(_0x1b1eb6(0x291),!0x0),d('Recording\x20event\x20Time',!0x0),p(0x1,_0x1b1eb6(0x2b4)+{'eventName':_0x51a762,'eventProperties':_0x3618ea}),n(this,v,T)[_0x1b1eb6(0x267)](this,_0x51a762,_0x3618ea),d(_0x1b1eb6(0x263),!0x1),m('Recording\x20event',!0x1);}));});}};P=new WeakMap(),U=new WeakMap(),$=new WeakMap(),B=new WeakMap(),k=new WeakMap(),te=new WeakSet(),qe=function(_0x28366f,_0x70e8b1,_0x12a67c){return c(this,null,function*(){const _0x37a52b=_0x4420;yield R(_0x37a52b(0x284),()=>c(this,null,function*(){const _0xc101c9=_0x37a52b;p(0x1,'Recording\x20attribute'),m(_0xc101c9(0x231),!0x0),d(_0xc101c9(0x2b1),!0x0),p(0x1,_0xc101c9(0x215)+{'attributeName':_0x28366f,'attributeProperties':_0x12a67c,'attributeValue':_0x70e8b1}+')}'),yield n(this,L,V)[_0xc101c9(0x267)](this),yield n(this,Oe,mt)['call'](this);let _0x3e731e=JSON[_0xc101c9(0x20a)](localStorage[_0xc101c9(0x218)](_0xc101c9(0x277))||'{}'),_0x258dd8=_0x12a67c?n(this,G,Fe)[_0xc101c9(0x267)](this,_0x3e731e,_0x28366f,_0x12a67c):n(this,G,Fe)['call'](this,_0x3e731e,_0x28366f);if(typeof _0x258dd8=='string'){p(0x2,_0x258dd8);return;}n(this,_,Z)[_0xc101c9(0x267)](this);let {id:_0x35d737}=_0x3e731e[_0x28366f],_0x338f88={'attributeId':_0x35d737,'attributeProperties':_0x258dd8,'customerId':localStorage[_0xc101c9(0x218)](_0xc101c9(0x26b))||'','value':_0x70e8b1};yield n(this,Re,St)[_0xc101c9(0x267)](this,_0x338f88),d(_0xc101c9(0x2b1),!0x1),m(_0xc101c9(0x231),!0x1);}));});},L=new WeakSet(),V=function(){return c(this,null,function*(){const _0x3c0a6a=_0x4420;p(0x1,_0x3c0a6a(0x1f6)),m(_0x3c0a6a(0x1f6),!0x0),d(_0x3c0a6a(0x22c),!0x0);let _0x2b34c3=localStorage['getItem'](_0x3c0a6a(0x272)),_0x2a4015=!0x1;if(_0x2b34c3){if(_0x2a4015=new Date()[_0x3c0a6a(0x24e)]()-parseInt(_0x2b34c3,0xa)>0x124f80,_0x2a4015){let _0x2d736f=localStorage['getItem'](_0x3c0a6a(0x223)),_0x185c0b=localStorage[_0x3c0a6a(0x218)](_0x3c0a6a(0x272));_0x2d736f&&_0x185c0b&&n(this,v,T)[_0x3c0a6a(0x267)](this,_0x3c0a6a(0x23b),[{'eventProperty':_0x3c0a6a(0x24d),'value':localStorage['getItem'](_0x3c0a6a(0x223))},{'eventProperty':_0x3c0a6a(0x258),'value':new Date(parseInt(_0x185c0b,0xa))[_0x3c0a6a(0x209)]()}]),n(this,q,Ve)[_0x3c0a6a(0x267)](this),localStorage[_0x3c0a6a(0x20b)](_0x3c0a6a(0x272),''+new Date()[_0x3c0a6a(0x24e)]());}}else localStorage['setItem'](_0x3c0a6a(0x272),''+new Date()[_0x3c0a6a(0x24e)]());(!_0x2b34c3||_0x2a4015||n(this,ie,Ze)['call'](this))&&(n(this,le,tt)['call'](this),yield n(this,C,X)[_0x3c0a6a(0x267)](this),yield n(this,ae,et)[_0x3c0a6a(0x267)](this)),d(_0x3c0a6a(0x22c),!0x1),m('Checking\x20TTL',!0x1);});},v=new WeakSet(),T=function(_0x2e1cd3,_0xfc2745,_0x32da0,_0x10aa37,_0x222b75){return c(this,null,function*(){const _0x3266e7=_0x4420;yield R(_0x3266e7(0x1e2),()=>c(this,null,function*(){const _0x6600ea=_0x3266e7;var _0x1329ca;p(0x1,_0x6600ea(0x29b)),m(_0x6600ea(0x291),!0x0),d(_0x6600ea(0x263),!0x0),p(0x1,'Event\x20Payload'),p(0x1,{'campaignCustomerInstanceId':_0x10aa37,'eventName':_0x2e1cd3,'eventProperties':_0xfc2745,'name':_0x222b75}),_0x2e1cd3!==_0x6600ea(0x23b)&&(yield n(this,L,V)[_0x6600ea(0x267)](this));let _0x1b0d5d=[];_0xfc2745&&_0x1b0d5d[_0x6600ea(0x220)](..._0xfc2745),_0x1b0d5d[_0x6600ea(0x220)]({'eventProperty':_0x6600ea(0x28a),'value':I(this,U)}),_0x1b0d5d[_0x6600ea(0x220)]({'eventProperty':_0x6600ea(0x23e),'value':I(this,B)}),_0x1b0d5d[_0x6600ea(0x220)]({'eventProperty':_0x6600ea(0x21f),'value':I(this,$)});let _0xd90f97=n(this,ve,gt)[_0x6600ea(0x267)](this),_0x23dc7a=n(this,ye,pt)[_0x6600ea(0x267)](this,_0xd90f97,_0x2e1cd3,_0x1b0d5d);if(typeof _0x23dc7a==_0x6600ea(0x1e8)){p(0x2,_0x23dc7a);return;}n(this,_,Z)[_0x6600ea(0x267)](this);let {id:_0x546bb8}=_0xd90f97[_0x2e1cd3],_0x26388f=n(this,Te,ut)[_0x6600ea(0x267)](this,M(we(M(M({},_0x10aa37?{'campaignCustomerInstanceId':_0x10aa37}:{}),_0x32da0?{'campaignId':_0x32da0}:{}),{'eventId':_0x546bb8,'eventProperties':_0x23dc7a,'sessionId':localStorage['getItem'](_0x6600ea(0x223))||''}),_0x222b75?{'name':_0x222b75}:{}));if(g[_0x6600ea(0x28f)]){let _0x431461=JSON[_0x6600ea(0x20a)](localStorage['getItem'](_0x6600ea(0x24f))||'[]');_0x431461[_0x6600ea(0x271)]<=0x32&&(_0x431461['push'](..._0x26388f[_0x6600ea(0x2a5)]),localStorage['setItem'](_0x6600ea(0x24f),JSON[_0x6600ea(0x233)](_0x431461)));return;}let _0x169ac9=yield n(this,H,Me)['call'](this,_0x26388f);(_0x1329ca=_0x169ac9==null?void 0x0:_0x169ac9['data'])==null||_0x1329ca[_0x6600ea(0x26f)](_0x23598f=>{const _0x8060a=_0x6600ea;n(this,fe,Et)[_0x8060a(0x267)](this,_0x23598f['message'][_0x8060a(0x2af)])&&(n(this,he,dt)[_0x8060a(0x267)](this,_0x23598f),I(this,se)[_0x8060a(0x267)](this),n(this,j,xe)[_0x8060a(0x267)](this,_0x23598f[_0x8060a(0x225)]));}),d(_0x6600ea(0x263),!0x1),m(_0x6600ea(0x291),!0x1);}));});},ne=new WeakSet(),Ye=function(){const _0xd4c41d=_0x53951a;let _0x30b35f=navigator['userAgent'][_0xd4c41d(0x278)]();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0xd4c41d(0x2a3)](_0x30b35f)?'Mobile':/windows|macintosh|linux|x11/i[_0xd4c41d(0x2a3)](_0x30b35f)?'Web':'Unknown';},oe=new WeakSet(),Qe=function(){const _0x12d566=_0x53951a;let _0x5e9380=navigator['userAgent'],_0xdd1303;return _0x5e9380[_0x12d566(0x22e)](_0x12d566(0x255))>-0x1?_0xdd1303=_0x12d566(0x1e5):_0x5e9380['indexOf'](_0x12d566(0x276))>-0x1?_0xdd1303=_0x12d566(0x276):_0x5e9380[_0x12d566(0x22e)](_0x12d566(0x2a6))>-0x1?_0xdd1303=_0x12d566(0x1fe):_0x5e9380[_0x12d566(0x22e)]('Edg')>-0x1?_0xdd1303=_0x12d566(0x2b2):_0x5e9380[_0x12d566(0x22e)]('MSIE')>-0x1?_0xdd1303=_0x12d566(0x2a0):_0xdd1303=_0x12d566(0x1ff),_0xdd1303;},J=new WeakSet(),Ce=function(){return c(this,null,function*(){const _0xeed550=_0x4420;try{yield h['get'](_0xeed550(0x247));}catch(_0x5186b2){throw g[_0xeed550(0x245)]=!0x0,_0x5186b2[_0xeed550(0x234)];}});},K=new WeakSet(),_e=function(){return c(this,null,function*(){const _0x45c461=_0x4420;var _0x1dd1c2;p(0x1,_0x45c461(0x206)),m('Tracking\x20page\x20change',!0x0),d(_0x45c461(0x205),!0x0);let _0x46b6c7=(_0x1dd1c2=window==null?void 0x0:window[_0x45c461(0x1f3)])==null?void 0x0:_0x1dd1c2['href'];if(_0x46b6c7!==I(this,k)){O(this,k,_0x46b6c7);let _0x4a24b4=[];new URLSearchParams(new URL(window[_0x45c461(0x1f3)][_0x45c461(0x208)])[_0x45c461(0x2a9)])[_0x45c461(0x26f)]((_0x30f0f3,_0x52331b)=>c(this,null,function*(){const _0x1beee3=_0x45c461;ze[_0x1beee3(0x260)](_0x52331b)&&_0x4a24b4[_0x1beee3(0x220)]({'eventProperty':_0x52331b,'value':_0x30f0f3});})),yield n(this,v,T)[_0x45c461(0x267)](this,_0x45c461(0x226),[{'eventProperty':_0x45c461(0x253),'value':window['location'][_0x45c461(0x290)]},..._0x4a24b4]);}d(_0x45c461(0x205),!0x1),m('Tracking\x20page\x20change',!0x1);});},re=new WeakSet(),Xe=function(_0xbfa54){const _0x535164=_0x53951a;h[_0x535164(0x2a8)](_0xbfa54),O(this,U,navigator[_0x535164(0x264)]),O(this,$,n(this,oe,Qe)['call'](this)),O(this,B,n(this,ne,Ye)[_0x535164(0x267)](this));},ie=new WeakSet(),Ze=function(){const _0xdd0c8b=_0x53951a;return!localStorage[_0xdd0c8b(0x218)]('events')||!localStorage[_0xdd0c8b(0x218)](_0xdd0c8b(0x26b))||!localStorage[_0xdd0c8b(0x218)]('attributes')||!localStorage[_0xdd0c8b(0x218)](_0xdd0c8b(0x1fc))||!localStorage[_0xdd0c8b(0x218)]('session')||!localStorage['getItem']('customer');},ae=new WeakSet(),et=function(){return c(this,null,function*(){const _0x196f9f=_0x4420;yield n(this,ge,nt)[_0x196f9f(0x267)](this),yield n(this,W,De)[_0x196f9f(0x267)](this),yield n(this,C,X)[_0x196f9f(0x267)](this);});},se=new WeakMap(),z=new WeakMap(),ce=new WeakMap(),le=new WeakSet(),tt=function(){const _0x2c4fc8=_0x53951a;let _0x30b47e=localStorage[_0x2c4fc8(0x218)](_0x2c4fc8(0x1fc));return _0x30b47e||(_0x30b47e=crypto[_0x2c4fc8(0x2a2)](),localStorage['setItem']('uniqueIdentity',_0x30b47e)),_0x30b47e;},ge=new WeakSet(),nt=function(){return c(this,null,function*(){const _0x488edb=_0x4420;if(!localStorage[_0x488edb(0x218)](_0x488edb(0x2a5))){let _0x3b307e=(yield n(this,pe,ot)[_0x488edb(0x267)](this))[_0x488edb(0x243)];_0x3b307e&&localStorage[_0x488edb(0x20b)](_0x488edb(0x2a5),JSON[_0x488edb(0x233)](_0x3b307e));}});},pe=new WeakSet(),ot=function(){return c(this,null,function*(){const _0x1f940a=_0x4420;try{return yield h['get'](''+Ae);}catch(_0x45d117){throw new Error(_0x1f940a(0x1fd));}});},W=new WeakSet(),De=function(){return c(this,null,function*(){const _0x4f5cd1=_0x4420;if(!localStorage[_0x4f5cd1(0x218)](_0x4f5cd1(0x277))){let _0x3f2e2e=(yield n(this,ue,rt)[_0x4f5cd1(0x267)](this))[_0x4f5cd1(0x243)];_0x3f2e2e&&localStorage[_0x4f5cd1(0x20b)](_0x4f5cd1(0x277),JSON['stringify'](_0x3f2e2e));}});},ue=new WeakSet(),rt=function(){return c(this,null,function*(){const _0xb11979=_0x4420;try{return yield h[_0xb11979(0x27b)](''+Ne);}catch(_0x2d3131){throw new Error('Error\x20fetching\x20attribute\x20data');}});},C=new WeakSet(),X=function(_0x1be048){return c(this,null,function*(){const _0x12505c=_0x4420;localStorage[_0x12505c(0x218)](_0x12505c(0x223))||(localStorage['setItem']('session',crypto[_0x12505c(0x2a2)]()),yield n(this,v,T)[_0x12505c(0x267)](this,'Web\x20Session\x20Started',[{'eventProperty':_0x12505c(0x24d),'value':localStorage['getItem']('session')},{'eventProperty':_0x12505c(0x258),'value':new Date(parseInt(localStorage[_0x12505c(0x218)](_0x12505c(0x272))||'',0xa))['toISOString']()}]));let _0x52ac26={'deviceId':localStorage[_0x12505c(0x218)](_0x12505c(0x1fc))||crypto[_0x12505c(0x2a2)](),'os':I(this,U)};if(_0x1be048)_0x52ac26[_0x12505c(0x21e)]=_0x1be048;else{if(!_0x1be048&&localStorage[_0x12505c(0x218)](_0x12505c(0x26b)))return;}try{let _0x58e1df=yield n(this,Ee,it)['call'](this,_0x52ac26);_0x58e1df!==void 0x0&&localStorage['setItem'](_0x12505c(0x26b),_0x58e1df);}catch(_0x4122e2){throw new Error(_0x12505c(0x256));}});},_=new WeakSet(),Z=function(){const _0x3de7ba=_0x53951a;localStorage[_0x3de7ba(0x20b)](_0x3de7ba(0x272),''+new Date()['getTime']());},Ee=new WeakSet(),it=function(_0x566e4e){return c(this,null,function*(){const _0x2c0b09=_0x4420;try{return(yield h['post'](''+Ge+He,_0x566e4e))[_0x2c0b09(0x243)];}catch(_0x260d4e){throw new Error(_0x2c0b09(0x213));}});},j=new WeakSet(),xe=function(_0x18b974){const _0x54baf8=_0x53951a;let _0x4660dc=n(this,de,at)['call'](this);if(_0x4660dc!=null&&_0x4660dc[_0x18b974])switch(_0x4660dc[_0x18b974][_0x54baf8(0x1e9)]){case _0x54baf8(0x2ab):{n(this,Se,ct)['call'](this,_0x4660dc[_0x18b974]);break;}case _0x54baf8(0x27f):{n(this,D,ee)[_0x54baf8(0x267)](this,_0x4660dc[_0x18b974]);break;}case _0x54baf8(0x25c):{n(this,me,st)[_0x54baf8(0x267)](this,_0x4660dc[_0x18b974]);break;}default:return;}},de=new WeakSet(),at=function(){let _0x25e51f=localStorage['getItem']('action');return _0x25e51f?JSON['parse'](_0x25e51f):null;},me=new WeakSet(),st=function(_0x29fda1){const _0x489a32=_0x53951a;let _0x44762d=()=>{const _0x3b3288=_0x4420;var _0x1deecd,_0x9c9d00;let _0x5c81bf=window['innerHeight'],_0x2e49e4=document[_0x3b3288(0x2b7)]['scrollHeight'],_0x5172e8=window[_0x3b3288(0x1f0)]/(_0x2e49e4-_0x5c81bf)*0x64;console[_0x3b3288(0x246)]('🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:',_0x5172e8),console[_0x3b3288(0x246)](_0x3b3288(0x29a),(_0x1deecd=_0x29fda1[_0x3b3288(0x28d)])==null?void 0x0:_0x1deecd['value']),_0x5172e8>(((_0x9c9d00=_0x29fda1[_0x3b3288(0x28d)])==null?void 0x0:_0x9c9d00[_0x3b3288(0x1ef)])||0x0)&&(window[_0x3b3288(0x242)](_0x3b3288(0x201),_0x44762d),console[_0x3b3288(0x246)](_0x3b3288(0x221)),n(this,D,ee)[_0x3b3288(0x267)](this,_0x29fda1));};window['addEventListener'](_0x489a32(0x201),_0x44762d);},Se=new WeakSet(),ct=function(_0x20dd36){const _0xaec035=_0x53951a;var _0x351c9c;let _0x3ec578=_0x20dd36[_0xaec035(0x244)]-0x1f4+(((_0x351c9c=_0x20dd36[_0xaec035(0x28d)])==null?void 0x0:_0x351c9c[_0xaec035(0x1ef)])||0x0)*0x3e8-new Date()['getTime']();_0x3ec578>0x0&&_0x20dd36[_0xaec035(0x268)]===window[_0xaec035(0x1f3)][_0xaec035(0x20e)]+window[_0xaec035(0x1f3)][_0xaec035(0x290)]&&setTimeout(()=>{const _0x1f03b1=_0xaec035;I(this,z)[_0x1f03b1(0x267)](this,_0x20dd36[_0x1f03b1(0x225)]),n(this,D,ee)[_0x1f03b1(0x267)](this,_0x20dd36);},_0x3ec578);},D=new WeakSet(),ee=function(_0x2468ce){const _0x500798=_0x53951a;let _0x47abd4=n(this,Ie,lt)['call'](this,_0x500798(0x2a4),_0x2468ce);document[_0x500798(0x214)][_0x500798(0x27e)](_0x47abd4),n(this,v,T)[_0x500798(0x267)](this,N,[{'eventProperty':_0x500798(0x261),'value':JSON[_0x500798(0x233)]({'campaignId':_0x2468ce[_0x500798(0x225)]})}],_0x2468ce['campaignId'],_0x2468ce[_0x500798(0x1ee)],'view'),I(this,z)[_0x500798(0x267)](this,_0x2468ce[_0x500798(0x225)]);},Ie=new WeakSet(),lt=function(_0x44cfee,_0x212fe8){const _0x47f017=_0x53951a;var _0x267808;let {campaignCustomerInstanceId:_0x133d8c,campaignId:_0x4e1738,message:{design:_0x3a7b1a}}=_0x212fe8,_0x355269=document[_0x47f017(0x273)](_0x44cfee);_0x355269['id']=_0x47f017(0x252)+_0x4e1738,_0x355269['innerHTML']=_0x3a7b1a,_0x355269['style']['position']=_0x47f017(0x2b0),_0x355269['style']['top']='0',_0x355269[_0x47f017(0x27d)][_0x47f017(0x1f5)]='0',_0x355269[_0x47f017(0x27d)][_0x47f017(0x24c)]=_0x47f017(0x29f),_0x355269['style'][_0x47f017(0x211)]=_0x47f017(0x29f),_0x355269[_0x47f017(0x27d)][_0x47f017(0x227)]=_0x47f017(0x259);let _0xa52f6d=_0x355269['querySelector'](_0x47f017(0x29e));return _0xa52f6d&&(_0xa52f6d['style']['zIndex']='50'),_0x355269[_0x47f017(0x1ed)]('[id^=\x22u_content_form_\x22]')['forEach'](_0xf04996=>{const _0x1ebf2b=_0x47f017;let _0x2fcbc=_0xf04996[_0x1ebf2b(0x22a)](_0x1ebf2b(0x289));_0x2fcbc&&_0x2fcbc['addEventListener'](_0x1ebf2b(0x279),()=>c(this,null,function*(){const _0x12ed6b=_0x1ebf2b;_0x355269[_0x12ed6b(0x282)]();let _0x483c45=new FormData(_0x2fcbc),_0x3df82d={};for(let [_0x43ba6e,_0x51aa5f]of _0x483c45[_0x12ed6b(0x297)]())_0x3df82d[_0x43ba6e]=_0x51aa5f;yield n(this,v,T)[_0x12ed6b(0x267)](this,N,[{'eventProperty':_0x12ed6b(0x28e),'value':JSON[_0x12ed6b(0x233)]({'campaignId':_0x4e1738,'formId':_0xf04996['id'],'formValues':_0x3df82d})}],_0x4e1738,_0x133d8c,_0x12ed6b(0x289));}));}),(_0x267808=_0x355269[_0x47f017(0x22a)](_0x47f017(0x26d)))==null||_0x267808[_0x47f017(0x212)]('click',()=>c(this,null,function*(){const _0x483544=_0x47f017;_0x355269[_0x483544(0x282)](),yield n(this,v,T)['call'](this,N,[{'eventProperty':'Close\x20Click','value':JSON[_0x483544(0x233)]({'campaignId':_0x4e1738})}],_0x4e1738,_0x133d8c,_0x483544(0x28b));})),_0x355269['querySelectorAll']('[id^=\x22u_content_button_\x22]')[_0x47f017(0x26f)](_0x1f6760=>{const _0x12e084=_0x47f017;_0x1f6760['addEventListener'](_0x12e084(0x257),()=>c(this,null,function*(){const _0x38f671=_0x12e084;_0x355269[_0x38f671(0x282)](),yield n(this,v,T)[_0x38f671(0x267)](this,N,[{'eventProperty':_0x38f671(0x1f2),'value':JSON[_0x38f671(0x233)]({'buttonId':_0x1f6760['id'],'campaignId':_0x4e1738})}],_0x4e1738,_0x133d8c,_0x38f671(0x257));}));}),_0x355269[_0x47f017(0x1ed)](_0x47f017(0x20f))[_0x47f017(0x26f)](_0x39cdc4=>{_0x39cdc4['addEventListener']('click',()=>c(this,null,function*(){const _0x510357=_0x4420;yield n(this,v,T)['call'](this,N,[{'eventProperty':_0x510357(0x25b),'value':JSON['stringify']({'campaignId':_0x4e1738,'imageClassName':_0x39cdc4[_0x510357(0x21d)],'imageId':_0x39cdc4['id']})}],_0x4e1738,_0x133d8c,_0x510357(0x257));}));}),_0x355269;},ve=new WeakSet(),gt=function(){const _0x429637=_0x53951a;let _0x3adb7f=localStorage['getItem']('events');return _0x3adb7f?JSON[_0x429637(0x20a)](_0x3adb7f):{};},ye=new WeakSet(),pt=function(_0xe25968,_0x10c223,_0xca6403){const _0x4d17b5=_0x53951a;if(!Object['prototype'][_0x4d17b5(0x280)]['call'](_0xe25968,_0x10c223))return _0x4d17b5(0x29d)+_0x10c223+_0x4d17b5(0x240);if(!_0xca6403)return[];let _0x1cc5fb=_0xe25968[_0x10c223];if(!(_0x1cc5fb!=null&&_0x1cc5fb[_0x4d17b5(0x1fa)]))return _0x4d17b5(0x29d)+_0x10c223+_0x4d17b5(0x287);let _0x284b8b=_0xca6403[_0x4d17b5(0x219)](({eventProperty:_0x1d0b48})=>!Object[_0x4d17b5(0x20c)][_0x4d17b5(0x280)][_0x4d17b5(0x267)](_0x1cc5fb[_0x4d17b5(0x1fa)],_0x1d0b48))[_0x4d17b5(0x23f)](({eventProperty:_0x14ec8c})=>_0x14ec8c);return _0x284b8b[_0x4d17b5(0x271)]>0x0?'Event\x20'+_0x10c223+_0x4d17b5(0x298)+_0x284b8b[_0x4d17b5(0x29c)](',\x20')+'.':_0xca6403[_0x4d17b5(0x23f)](({eventProperty:_0x3bdc61,value:_0x1a796c})=>({'eventPropertyId':_0x1cc5fb[_0x4d17b5(0x1fa)][_0x3bdc61]['id'],'value':_0x1a796c}));},G=new WeakSet(),Fe=function(_0x53cf0a,_0x3600ef,_0x16cd5f){const _0x389269=_0x53951a;if(!Object[_0x389269(0x20c)][_0x389269(0x280)][_0x389269(0x267)](_0x53cf0a,_0x3600ef))return _0x389269(0x274)+_0x3600ef+_0x389269(0x240);if(!_0x16cd5f)return[];let _0x15d327=_0x53cf0a[_0x3600ef];if(!(_0x15d327!=null&&_0x15d327[_0x389269(0x285)]))return'Attribute\x20'+_0x3600ef+'\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.';let _0x4a36c8=_0x16cd5f[_0x389269(0x219)](({attributeProperty:_0x3c20ba})=>!Object['prototype'][_0x389269(0x280)][_0x389269(0x267)](_0x15d327['attributeProperty'],_0x3c20ba))[_0x389269(0x23f)](({attributeProperty:_0x27e3ab})=>_0x27e3ab);return _0x4a36c8['length']>0x0?'Attribute\x20'+_0x3600ef+_0x389269(0x293)+_0x4a36c8[_0x389269(0x29c)](',\x20')+'.':_0x16cd5f[_0x389269(0x23f)](({attributeProperty:_0x2a524b,value:_0x19fa21})=>({'attributePropertyId':_0x15d327[_0x389269(0x285)][_0x2a524b]['id'],'value':_0x19fa21}));},Te=new WeakSet(),ut=function(_0x566090){const _0xbf3b6b=_0x53951a;return{'customerId':localStorage[_0xbf3b6b(0x218)]('customer')||'','events':[_0x566090]};},H=new WeakSet(),Me=function(_0x264f86){return c(this,null,function*(){const _0x27e205=_0x4420;try{return yield h[_0x27e205(0x281)](''+Ae+je,_0x264f86);}catch(_0xfec6ab){throw new Error(_0x27e205(0x254));}});},fe=new WeakSet(),Et=function(_0x46ab8a){const _0x1beffb=_0x53951a;return _0x46ab8a===_0x1beffb(0x236);},he=new WeakSet(),dt=function(_0xf73f76){const _0x566b48=_0x53951a;let _0x4e2b01=JSON[_0x566b48(0x20a)](localStorage['getItem']('action')||'{}');_0x4e2b01[_0xf73f76['campaignId']]=we(M({},_0xf73f76),{'initialTime':new Date()[_0x566b48(0x24e)](),'page':window[_0x566b48(0x1f3)][_0x566b48(0x20e)]+window['location'][_0x566b48(0x290)]}),localStorage[_0x566b48(0x20b)](_0x566b48(0x295),JSON[_0x566b48(0x233)](_0x4e2b01));},q=new WeakSet(),Ve=function(){const _0x1029a2=_0x53951a;localStorage['removeItem'](_0x1029a2(0x295)),localStorage['removeItem'](_0x1029a2(0x2a5)),localStorage[_0x1029a2(0x299)](_0x1029a2(0x277)),localStorage[_0x1029a2(0x299)](_0x1029a2(0x24f)),localStorage[_0x1029a2(0x299)](_0x1029a2(0x272)),localStorage[_0x1029a2(0x299)](_0x1029a2(0x223));},Oe=new WeakSet(),mt=function(){return c(this,null,function*(){const _0x282ada=_0x4420;localStorage[_0x282ada(0x218)](_0x282ada(0x277))||(yield n(this,W,De)['call'](this));});},Re=new WeakSet(),St=function(_0x448700){return c(this,null,function*(){const _0x14bc49=_0x4420;try{return yield h[_0x14bc49(0x281)](''+Ne+We,_0x448700);}catch(_0x5d707d){throw new Error(_0x14bc49(0x22b));}});},s(w,P,void 0x0);var Ue=w,$e=Ue[_0x53951a(0x2ad)]();function _0x11b6(){const _0x17050b=['\x20has\x20invalid\x20eventProperties:\x20','removeItem','🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:','#\x20Recording\x20event','join','Event\x20','.u-popup-container','100%','Internet\x20Explorer','login','randomUUID','test','div','events','Firefox','utm_campaign','updateAPIKey','search','Mergn\x20SDK\x20Initialization\x20Time','DELAY','getOwnPropertyDescriptor','getInstance','UTM_CONTENT','name','fixed','Recording\x20attribute\x20Time','Microsoft\x20Edge','then','Event\x20Payload:\x0a\x20','UTM_SOURCE','utm_medium','documentElement','Identity:\x20','init','resolve','#\x20record\x20event','getOwnPropertyDescriptors','next','Google\x20Chrome','throw','mergn','string','campaignEntryTime','function','propertyIsEnumerable','Logging\x20out','querySelectorAll','campaignCustomerInstanceId','value','scrollY','timeEnd','Button\x20Click','location','time','left','Checking\x20TTL','error','pushState','Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203','eventProperty','697470sGMKzi','uniqueIdentity','Error\x20fetching\x20event\x20data','Mozilla\x20Firefox','Unknown','335hNpyOy','scroll','enumerable','32cJOIMz','Logging\x20in','Tracking\x20page\x20change\x20Time','Tracking\x20page\x20change','Initializing\x20Mergn\x20SDK','href','toISOString','parse','setItem','prototype','244694aDcpni','hostname','.u-popup-container\x20img','object','height','addEventListener','Error\x20posting\x20identity\x20data','body','Attribute\x20Payload:\x0a\x20','group','online','getItem','filter','utm_content','logout','recordEvent','className','identity','os-version','push','called\x202','apiKey','session','keys','campaignId','Viewed\x20Webpage','zIndex','NONE','recordAttribute','querySelector','Error\x20posting\x20attribute\x20record','Checking\x20TTL\x20Time','setDebugLevel','indexOf','/event','onLine','Recording\x20attribute','OriginateFrom:\x20','stringify','message','set','Popup','write\x20to\x20private\x20field','access\x20private\x20method','record\x20event','json','Web\x20Session\x20Concluded','215416iheLkj','groupEnd','operating-system','map','\x20is\x20not\x20valid.','4372695YrVKRL','removeEventListener','data','initialTime','disableSDK','log','/brand','getOwnPropertyNames','ERROR:\x20','/record-event','\x0aUnexpected\x20error:\x20','width','SESSION_ID','getTime','offlineEvents','ALL','Mergn\x20is\x20offline!','popup_container_','URL','Error\x20posting\x20event\x20record','Chrome','Error\x20setting\x20identity','click','SESSION_CREATED','99999999','application/json','Image\x20Click','SCROLL','/set-identity','9683970YTZnAI','Mergn\x20not\x20initialized!','has','Popup\x20View','INFO','Recording\x20event\x20Time','userAgent','exports','/customer','call','page','utm_source','apply','customer','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','.u-close-button','UTM_MEDIUM','forEach','done','length','ttl','createElement','Attribute\x20','debugLevel','Safari','attributes','toLowerCase','submit','24054LLTMiy','get','add','style','appendChild','IMMEDIATELY','hasOwnProperty','post','remove','719285ioDfsn','#\x20recordAttribute','attributeProperty','undefined','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','isInitialized','form','Platform','close','2WbDGtv','campaignEntryTimeValue','Form\x20Submit','offline','pathname','Recording\x20event','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','\x20has\x20invalid\x20attributeProperties:\x20','Cannot\x20','action','Logging\x20in\x20Time','entries'];_0x11b6=function(){return _0x17050b;};return _0x11b6();}function _0x4420(_0x32df6d,_0x15f9f0){const _0x11b637=_0x11b6();return _0x4420=function(_0x4420e7,_0x2b48f9){_0x4420e7=_0x4420e7-0x1e1;let _0x268ea7=_0x11b637[_0x4420e7];return _0x268ea7;},_0x4420(_0x32df6d,_0x15f9f0);}typeof window!=_0x53951a(0x286)&&(window[_0x53951a(0x1e7)]=$e);var bt=$e;
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1f0faa=_0x5acf;(function(_0x319fa2,_0x4f5fd9){const _0x8a627e=_0x5acf,_0x2583f1=_0x319fa2();while(!![]){try{const _0x24d70d=-parseInt(_0x8a627e(0x8d))/0x1*(-parseInt(_0x8a627e(0xe5))/0x2)+parseInt(_0x8a627e(0xf0))/0x3+parseInt(_0x8a627e(0x10b))/0x4*(-parseInt(_0x8a627e(0xa2))/0x5)+parseInt(_0x8a627e(0xff))/0x6+-parseInt(_0x8a627e(0xf6))/0x7*(-parseInt(_0x8a627e(0x9b))/0x8)+-parseInt(_0x8a627e(0xad))/0x9+-parseInt(_0x8a627e(0x95))/0xa*(parseInt(_0x8a627e(0x9c))/0xb);if(_0x24d70d===_0x4f5fd9)break;else _0x2583f1['push'](_0x2583f1['shift']());}catch(_0x36a80d){_0x2583f1['push'](_0x2583f1['shift']());}}}(_0x117a,0x99ad0));var St=Object['defineProperty'],It=Object[_0x1f0faa(0xf1)],vt=Object[_0x1f0faa(0xd6)],$e=Object[_0x1f0faa(0xac)],Tt=Object[_0x1f0faa(0x13f)][_0x1f0faa(0x13e)],yt=Object[_0x1f0faa(0x13f)][_0x1f0faa(0xe8)],Be=(_0x15dace,_0xe1957d,_0x260a2b)=>_0xe1957d in _0x15dace?St(_0x15dace,_0xe1957d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x260a2b}):_0x15dace[_0xe1957d]=_0x260a2b,M=(_0xd9275c,_0x147e09)=>{const _0x47f26d=_0x1f0faa;for(var _0x43c116 in _0x147e09||(_0x147e09={}))Tt[_0x47f26d(0xc4)](_0x147e09,_0x43c116)&&Be(_0xd9275c,_0x43c116,_0x147e09[_0x43c116]);if($e){for(var _0x43c116 of $e(_0x147e09))yt[_0x47f26d(0xc4)](_0x147e09,_0x43c116)&&Be(_0xd9275c,_0x43c116,_0x147e09[_0x43c116]);}return _0xd9275c;},Re=(_0x499c55,_0x2a715a)=>It(_0x499c55,vt(_0x2a715a)),we=(_0x114e3c,_0x33e694,_0x35ad45)=>{const _0x1a9590=_0x1f0faa;if(!_0x33e694[_0x1a9590(0xa8)](_0x114e3c))throw TypeError(_0x1a9590(0x9d)+_0x35ad45);},I=(_0x747d39,_0x36feba,_0x4371c7)=>(we(_0x747d39,_0x36feba,_0x1f0faa(0xfc)),_0x4371c7?_0x4371c7[_0x1f0faa(0xc4)](_0x747d39):_0x36feba[_0x1f0faa(0xc2)](_0x747d39)),i=(_0x310d83,_0x45e61d,_0x424bd0)=>{const _0x291fb7=_0x1f0faa;if(_0x45e61d['has'](_0x310d83))throw TypeError(_0x291fb7(0x129));_0x45e61d instanceof WeakSet?_0x45e61d['add'](_0x310d83):_0x45e61d['set'](_0x310d83,_0x424bd0);},O=(_0x2eb3e8,_0x325a98,_0x173842,_0x7e01d6)=>(we(_0x2eb3e8,_0x325a98,_0x1f0faa(0xd3)),_0x7e01d6?_0x7e01d6[_0x1f0faa(0xc4)](_0x2eb3e8,_0x173842):_0x325a98[_0x1f0faa(0xb2)](_0x2eb3e8,_0x173842),_0x173842),n=(_0x4ce233,_0x1377c9,_0x3b9d15)=>(we(_0x4ce233,_0x1377c9,_0x1f0faa(0xed)),_0x3b9d15),c=(_0xd7f735,_0x3796db,_0x30d942)=>new Promise((_0x10e310,_0x3865f8)=>{const _0x449479=_0x1f0faa;var _0x2ca608=_0x471d70=>{const _0x51b45f=_0x5acf;try{_0x38bf4f(_0x30d942[_0x51b45f(0x145)](_0x471d70));}catch(_0x28bc1e){_0x3865f8(_0x28bc1e);}},_0x14afec=_0x1a9d41=>{const _0x280bce=_0x5acf;try{_0x38bf4f(_0x30d942[_0x280bce(0xf4)](_0x1a9d41));}catch(_0x3acdbf){_0x3865f8(_0x3acdbf);}},_0x38bf4f=_0x25b2b6=>_0x25b2b6[_0x449479(0x106)]?_0x10e310(_0x25b2b6[_0x449479(0xfe)]):Promise[_0x449479(0xee)](_0x25b2b6[_0x449479(0xfe)])[_0x449479(0x144)](_0x2ca608,_0x14afec);_0x38bf4f((_0x30d942=_0x30d942['apply'](_0xd7f735,_0x3796db))['next']());}),ke=(_0x32b587=>(_0x32b587['UTM_SOURCE']=_0x1f0faa(0xb5),_0x32b587[_0x1f0faa(0x138)]='utm_medium',_0x32b587[_0x1f0faa(0xa6)]=_0x1f0faa(0xcc),_0x32b587[_0x1f0faa(0xe0)]='utm_term',_0x32b587['UTM_CONTENT']='utm_content',_0x32b587))(ke||{}),Je=new Set(Object[_0x1f0faa(0x9e)](ke)),N=_0x1f0faa(0x93),Le=_0x1f0faa(0x14a),be=_0x1f0faa(0xe1),Ke=_0x1f0faa(0x152),Ne=_0x1f0faa(0x13b),ze=_0x1f0faa(0xe7),We=_0x1f0faa(0x120),je='/set-identity',A,T=class T{constructor(){}static[_0x1f0faa(0xdf)](){return I(T,A)||O(T,A,new T()),I(T,A);}[_0x1f0faa(0x104)](_0x5dee47){const _0x476439=_0x1f0faa;T[_0x476439(0x109)]=_0x5dee47;}[_0x1f0faa(0xc2)](_0x4c6e74){return c(this,null,function*(){const _0xfc3da2=_0x5acf;return(yield fetch(Le+_0x4c6e74,{'headers':{'Authorization':T[_0xfc3da2(0x109)],'Content-Type':'application/json'}}))[_0xfc3da2(0x131)]();});}[_0x1f0faa(0x119)](_0xdac219,_0x37dc27){return c(this,null,function*(){const _0x529d85=_0x5acf;return(yield fetch(Le+_0xdac219,{'body':JSON[_0x529d85(0xce)](_0x37dc27||{}),'headers':{'Authorization':T['apiKey'],'Content-Type':'application/json'},'method':_0x529d85(0x12d)}))[_0x529d85(0x131)]();});}};A=new WeakMap(),i(T,A,void 0x0);var Ae=T,h=Ae[_0x1f0faa(0xdf)](),g=class extends Error{constructor(_0x574144){const _0x513043=_0x1f0faa;super(_0x574144),this[_0x513043(0xca)]=_0x513043(0x139);}};g[_0x1f0faa(0x137)]=!0x1,g[_0x1f0faa(0x112)]=!navigator[_0x1f0faa(0x11e)],g[_0x1f0faa(0x8a)]=0x0,g[_0x1f0faa(0xeb)]=!0x1;var ft=(_0x7b9332,_0x294957)=>{const _0xf5fa9e=_0x1f0faa;_0x294957 instanceof g?p(0x2,'OriginateFrom:\x20'+_0x7b9332+'\x0aMergnError:\x20'+_0x294957[_0xf5fa9e(0xda)]):_0x294957 instanceof Error?p(0x2,_0xf5fa9e(0xef)+_0x7b9332+_0xf5fa9e(0x141)+_0x294957[_0xf5fa9e(0xda)]):p(0x2,_0xf5fa9e(0xef)+_0x7b9332+'\x0aUnexpected\x20error:\x20'+String(_0x294957));},R=(_0x230b08,_0x408f60,_0x54117d)=>c(void 0x0,null,function*(){const _0x3ae195=_0x1f0faa;try{if(g[_0x3ae195(0x137)])throw new g(_0x3ae195(0x86));if(_0x230b08!==_0x3ae195(0x12f)&&g[_0x3ae195(0x112)])throw new g(_0x3ae195(0x87));if(_0x230b08!==_0x3ae195(0x99)&&!g[_0x3ae195(0xeb)])throw new g('Mergn\x20not\x20initialized!');return yield _0x408f60();}catch(_0x31dc91){return _0x54117d?_0x54117d(_0x31dc91):(g[_0x3ae195(0x8a)]===0x2||g[_0x3ae195(0x8a)]===0x3)&&ft(_0x230b08,_0x31dc91),null;}}),Y=(_0x333cb1=>(_0x333cb1[_0x333cb1[_0x1f0faa(0x14b)]=0x0]=_0x1f0faa(0x14b),_0x333cb1[_0x333cb1[_0x1f0faa(0xd1)]=0x1]=_0x1f0faa(0xd1),_0x333cb1[_0x333cb1[_0x1f0faa(0xcd)]=0x2]=_0x1f0faa(0xcd),_0x333cb1[_0x333cb1[_0x1f0faa(0x132)]=0x3]=_0x1f0faa(0x132),_0x333cb1))(Y||{}),p=(_0x28422f,_0x5b2b48)=>{const _0x106d02=_0x1f0faa;g[_0x106d02(0x8a)]!==0x0&&g['debugLevel']<=0x3&&(_0x28422f===0x1?console[_0x106d02(0xaf)](_0x106d02(0x12e)+new Date()['toISOString'](),_0x5b2b48):_0x28422f===0x2&&console[_0x106d02(0x13a)](_0x106d02(0x94)+new Date()[_0x106d02(0x113)](),_0x5b2b48));},d=(_0xee36ce,_0x630e17)=>{const _0x39b86d=_0x1f0faa;g[_0x39b86d(0x8a)]!==0x0&&(_0x630e17?console[_0x39b86d(0x89)](_0xee36ce):console[_0x39b86d(0x147)](_0xee36ce));},m=(_0xdde827,_0x5db7c7)=>{const _0x392f1c=_0x1f0faa;g[_0x392f1c(0x8a)]!==0x0&&(_0x5db7c7?console[_0x392f1c(0x11a)](_0xdde827):console[_0x392f1c(0xa5)]());},P,U,$,B,k,ee,Ge,L,V,v,y,te,He,ne,qe,J,Ue,K,Ce,oe,Ye,re,Qe,ie,Xe,ae,z,se,ce,Ze,le,et,ge,tt,W,_e,pe,nt,C,Q,_,X,ue,ot,j,De,Ee,rt,de,it,me,at,D,Z,Se,st,Ie,ct,ve,lt,G,xe,Te,gt,H,Fe,ye,pt,fe,ut,q,Me,he,Et,Oe,dt,w=class w{constructor(){i(this,ee),i(this,L),i(this,v),i(this,te),i(this,ne),i(this,J),i(this,K),i(this,oe),i(this,re),i(this,ie),i(this,ce),i(this,le),i(this,ge),i(this,W),i(this,pe),i(this,C),i(this,_),i(this,ue),i(this,j),i(this,Ee),i(this,de),i(this,me),i(this,D),i(this,Se),i(this,Ie),i(this,ve),i(this,G),i(this,Te),i(this,H),i(this,ye),i(this,fe),i(this,q),i(this,he),i(this,Oe),i(this,U,void 0x0),i(this,$,void 0x0),i(this,B,void 0x0),i(this,k,null),i(this,ae,()=>{const _0x5d2b3f=_0x5acf;let _0x583ff3=()=>{const _0x501894=_0x5acf;let _0xb2b36a=JSON[_0x501894(0xbf)](localStorage['getItem'](_0x501894(0xb1))||'{}');Object[_0x501894(0x96)](_0xb2b36a)[_0x501894(0x126)](_0x481d7f=>{const _0x3e1d64=_0x501894;_0xb2b36a[_0x481d7f]['initialTime']=new Date()['getTime'](),_0xb2b36a[_0x481d7f][_0x3e1d64(0xa4)]=window['location'][_0x3e1d64(0x102)]+window[_0x3e1d64(0x8e)][_0x3e1d64(0x12b)];}),localStorage[_0x501894(0xd7)]('action',JSON[_0x501894(0xce)](_0xb2b36a));};_0x583ff3(),window[_0x5d2b3f(0x11d)](_0x5d2b3f(0x142),_0x583ff3);}),i(this,z,_0x4b858d=>{const _0x433eb7=_0x5acf;let _0x227b9a=JSON['parse'](localStorage[_0x433eb7(0xb6)](_0x433eb7(0xb1))||'{}');_0x227b9a[_0x4b858d]&&delete _0x227b9a[_0x4b858d],localStorage[_0x433eb7(0xd7)](_0x433eb7(0xb1),JSON[_0x433eb7(0xce)](_0x227b9a));}),i(this,se,()=>{const _0x1bd3d4=_0x5acf;let _0x474421=JSON[_0x1bd3d4(0xbf)](localStorage[_0x1bd3d4(0xb6)](_0x1bd3d4(0xb1))||'{}');Object['keys'](_0x474421)['forEach'](_0x4f030b=>{const _0x20d8de=_0x1bd3d4;_0x474421[_0x4f030b]['message'][_0x20d8de(0xca)]==='Popup'&&n(this,j,De)[_0x20d8de(0xc4)](this,_0x474421[_0x4f030b][_0x20d8de(0x9f)]);});});}static[_0x1f0faa(0xdf)](){return I(w,P)||O(w,P,new w()),I(w,P);}['init'](_0x89a0ed){const _0x1774c1=_0x1f0faa;R(_0x1774c1(0x99),()=>c(this,null,function*(){const _0x3ba83e=_0x1774c1;p(0x1,'Initializing\x20Mergn\x20SDK'),m(_0x3ba83e(0xb7),!0x0),d('Mergn\x20SDK\x20Initialization\x20Time',!0x0),n(this,oe,Ye)[_0x3ba83e(0xc4)](this,_0x89a0ed),yield n(this,J,Ue)[_0x3ba83e(0xc4)](this),g[_0x3ba83e(0xeb)]=!0x0,setInterval(()=>c(this,null,function*(){const _0x30c881=_0x3ba83e;yield n(this,J,Ue)[_0x30c881(0xc4)](this);}),0x493e0),yield n(this,L,V)[_0x3ba83e(0xc4)](this),window['addEventListener'](_0x3ba83e(0x14c),()=>c(this,null,function*(){const _0x1abc94=_0x3ba83e;g['offline']=!0x1;let _0x4d68d8=JSON[_0x1abc94(0xbf)](localStorage[_0x1abc94(0xb6)](_0x1abc94(0xc3))||'[]');Array[_0x1abc94(0x125)](_0x4d68d8)&&(yield n(this,H,Fe)[_0x1abc94(0xc4)](this,{'customerId':localStorage[_0x1abc94(0xb6)]('customer')||'','events':_0x4d68d8}),localStorage[_0x1abc94(0x151)](_0x1abc94(0xc3))),n(this,L,V)[_0x1abc94(0xc4)](this),n(this,_,X)[_0x1abc94(0xc4)](this);})),window[_0x3ba83e(0x11d)]('offline',()=>{const _0x3eef19=_0x3ba83e;g[_0x3eef19(0x112)]=!0x0;}),window[_0x3ba83e(0x11d)](_0x3ba83e(0xdd),()=>{I(this,se)['call'](this);});let _0x706fb2=history[_0x3ba83e(0x12a)];history[_0x3ba83e(0x12a)]=(..._0x30e88f)=>{const _0x4286c8=_0x3ba83e;_0x706fb2[_0x4286c8(0x88)](history,_0x30e88f),n(this,K,Ce)[_0x4286c8(0xc4)](this);},n(this,K,Ce)['call'](this),d(_0x3ba83e(0x135),!0x1),m('Initializing\x20Mergn\x20SDK',!0x1);}));}[_0x1f0faa(0xb4)](_0x3f0aba){const _0x180238=_0x1f0faa;if(!(_0x3f0aba in Y)){console[_0x180238(0x13a)]('Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203');return;}g['debugLevel']=_0x3f0aba;}['recordAttribute'](_0x406a32,_0x5c2e40){const _0x50a46d=_0x1f0faa;R(_0x50a46d(0xb8),()=>c(this,null,function*(){yield n(this,ee,Ge)['call'](this,_0x406a32,_0x5c2e40,void 0x0);}));}[_0x1f0faa(0x118)](_0x15afce){const _0x1f323b=_0x1f0faa;R(_0x1f323b(0x118),()=>c(this,null,function*(){const _0x272061=_0x1f323b;p(0x1,'Logging\x20in'),m(_0x272061(0x90),!0x0),d(_0x272061(0xb0),!0x0),p(0x1,'Identity:\x20'+_0x15afce),yield n(this,C,Q)['call'](this,_0x15afce),d(_0x272061(0xb0),!0x1),m(_0x272061(0x90),!0x1);}));}[_0x1f0faa(0x11c)](){const _0xd7f6b8=_0x1f0faa;R(_0xd7f6b8(0x11c),()=>c(this,null,function*(){const _0x352063=_0xd7f6b8;p(0x1,_0x352063(0x11f)),m(_0x352063(0x11f),!0x0),d(_0x352063(0xe6),!0x0),n(this,q,Me)[_0x352063(0xc4)](this),d('Logging\x20out\x20Time',!0x1),m('Logging\x20out',!0x1);}));}[_0x1f0faa(0x8b)](_0x145a26,_0x1d0408){setTimeout(()=>{const _0x121d70=_0x5acf;R(_0x121d70(0x12f),()=>c(this,null,function*(){const _0x5f3bb4=_0x121d70;p(0x1,_0x5f3bb4(0xf8)),m('Recording\x20event',!0x0),d(_0x5f3bb4(0x149),!0x0),p(0x1,_0x5f3bb4(0x98)+{'eventName':_0x145a26,'eventProperties':_0x1d0408}),n(this,v,y)[_0x5f3bb4(0xc4)](this,_0x145a26,_0x1d0408),d(_0x5f3bb4(0x149),!0x1),m('Recording\x20event',!0x1);}));});}};P=new WeakMap(),U=new WeakMap(),$=new WeakMap(),B=new WeakMap(),k=new WeakMap(),ee=new WeakSet(),Ge=function(_0x32b40c,_0x2ee7bd,_0xac7fc7){return c(this,null,function*(){const _0x4c6709=_0x5acf;yield R(_0x4c6709(0xb3),()=>c(this,null,function*(){const _0x5aaf3c=_0x4c6709;p(0x1,'Recording\x20attribute'),m(_0x5aaf3c(0x127),!0x0),d(_0x5aaf3c(0x83),!0x0),p(0x1,_0x5aaf3c(0xab)+{'attributeName':_0x32b40c,'attributeProperties':_0xac7fc7,'attributeValue':_0x2ee7bd}+')}'),yield n(this,L,V)[_0x5aaf3c(0xc4)](this),yield n(this,he,Et)[_0x5aaf3c(0xc4)](this);let _0x667f19=JSON[_0x5aaf3c(0xbf)](localStorage[_0x5aaf3c(0xb6)]('attributes')||'{}'),_0x6dbbcd=_0xac7fc7?n(this,G,xe)[_0x5aaf3c(0xc4)](this,_0x667f19,_0x32b40c,_0xac7fc7):n(this,G,xe)['call'](this,_0x667f19,_0x32b40c);if(typeof _0x6dbbcd==_0x5aaf3c(0xfa)){p(0x2,_0x6dbbcd);return;}n(this,_,X)['call'](this);let {id:_0x3c6e7a}=_0x667f19[_0x32b40c],_0x3e9cc3={'attributeId':_0x3c6e7a,'attributeProperties':_0x6dbbcd,'customerId':localStorage[_0x5aaf3c(0xb6)]('customer')||'','value':_0x2ee7bd};yield n(this,Oe,dt)['call'](this,_0x3e9cc3),d(_0x5aaf3c(0x83),!0x1),m(_0x5aaf3c(0x127),!0x1);}));});},L=new WeakSet(),V=function(){return c(this,null,function*(){const _0x355e0f=_0x5acf;p(0x1,_0x355e0f(0x115)),m(_0x355e0f(0x115),!0x0),d(_0x355e0f(0x10f),!0x0);let _0x4202b0=localStorage[_0x355e0f(0xb6)](_0x355e0f(0xd0)),_0x315d68=!0x1;if(_0x4202b0){if(_0x315d68=new Date()[_0x355e0f(0xde)]()-parseInt(_0x4202b0,0xa)>0x124f80,_0x315d68){let _0x2e8a3f=localStorage[_0x355e0f(0xb6)](_0x355e0f(0x97)),_0x5b9a7b=localStorage[_0x355e0f(0xb6)](_0x355e0f(0xd0));_0x2e8a3f&&_0x5b9a7b&&n(this,v,y)[_0x355e0f(0xc4)](this,_0x355e0f(0x8c),[{'eventProperty':_0x355e0f(0x14f),'value':localStorage['getItem'](_0x355e0f(0x97))},{'eventProperty':_0x355e0f(0x122),'value':new Date(parseInt(_0x5b9a7b,0xa))['toISOString']()}]),n(this,q,Me)['call'](this),localStorage['setItem'](_0x355e0f(0xd0),''+new Date()[_0x355e0f(0xde)]());}}else localStorage[_0x355e0f(0xd7)](_0x355e0f(0xd0),''+new Date()[_0x355e0f(0xde)]());(!_0x4202b0||_0x315d68||n(this,re,Qe)[_0x355e0f(0xc4)](this))&&(n(this,ce,Ze)[_0x355e0f(0xc4)](this),yield n(this,C,Q)[_0x355e0f(0xc4)](this),yield n(this,ie,Xe)['call'](this)),d('Checking\x20TTL\x20Time',!0x1),m('Checking\x20TTL',!0x1);});},v=new WeakSet(),y=function(_0x4d7d60,_0x2626b6,_0x402a4e,_0x5ce765,_0x51a173){return c(this,null,function*(){const _0x47642d=_0x5acf;yield R(_0x47642d(0xb9),()=>c(this,null,function*(){const _0x57bd41=_0x47642d;var _0x34ed72;p(0x1,'#\x20Recording\x20event'),m('Recording\x20event',!0x0),d(_0x57bd41(0x149),!0x0),p(0x1,_0x57bd41(0x91)),p(0x1,{'campaignCustomerInstanceId':_0x5ce765,'eventName':_0x4d7d60,'eventProperties':_0x2626b6,'name':_0x51a173}),_0x4d7d60!==_0x57bd41(0x8c)&&(yield n(this,L,V)['call'](this));let _0x1dc0a8=[];_0x2626b6&&_0x1dc0a8[_0x57bd41(0x140)](..._0x2626b6),_0x1dc0a8['push']({'eventProperty':_0x57bd41(0x116),'value':I(this,U)}),_0x1dc0a8[_0x57bd41(0x140)]({'eventProperty':_0x57bd41(0xbb),'value':I(this,B)}),_0x1dc0a8[_0x57bd41(0x140)]({'eventProperty':_0x57bd41(0x148),'value':I(this,$)});let _0xc00ac7=n(this,Ie,ct)['call'](this),_0x829028=n(this,ve,lt)[_0x57bd41(0xc4)](this,_0xc00ac7,_0x4d7d60,_0x1dc0a8);if(typeof _0x829028==_0x57bd41(0xfa)){p(0x2,_0x829028);return;}n(this,_,X)['call'](this);let {id:_0x5cc4c9}=_0xc00ac7[_0x4d7d60],_0x57dcc8=n(this,Te,gt)['call'](this,M(Re(M(M({},_0x5ce765?{'campaignCustomerInstanceId':_0x5ce765}:{}),_0x402a4e?{'campaignId':_0x402a4e}:{}),{'eventId':_0x5cc4c9,'eventProperties':_0x829028,'sessionId':localStorage['getItem']('session')||''}),_0x51a173?{'name':_0x51a173}:{}));if(g[_0x57bd41(0x112)]){let _0x3e13b0=JSON[_0x57bd41(0xbf)](localStorage['getItem']('offlineEvents')||'[]');_0x3e13b0[_0x57bd41(0xd5)]<=0x32&&(_0x3e13b0[_0x57bd41(0x140)](..._0x57dcc8[_0x57bd41(0xcf)]),localStorage['setItem'](_0x57bd41(0xc3),JSON['stringify'](_0x3e13b0)));return;}let _0x4ef456=yield n(this,H,Fe)['call'](this,_0x57dcc8);(_0x34ed72=_0x4ef456==null?void 0x0:_0x4ef456[_0x57bd41(0xdc)])==null||_0x34ed72[_0x57bd41(0x126)](_0x26b63f=>{const _0x7984dc=_0x57bd41;n(this,ye,pt)[_0x7984dc(0xc4)](this,_0x26b63f[_0x7984dc(0xda)]['name'])&&(n(this,fe,ut)['call'](this,_0x26b63f),I(this,ae)['call'](this),n(this,j,De)[_0x7984dc(0xc4)](this,_0x26b63f['campaignId']));}),d(_0x57bd41(0x149),!0x1),m(_0x57bd41(0xf8),!0x1);}));});},te=new WeakSet(),He=function(){const _0x563826=_0x1f0faa;let _0x9b214d=navigator[_0x563826(0x84)][_0x563826(0xbd)]();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0x563826(0xbc)](_0x9b214d)?'Mobile':/windows|macintosh|linux|x11/i['test'](_0x9b214d)?_0x563826(0x10d):'Unknown';},ne=new WeakSet(),qe=function(){const _0x3bf53e=_0x1f0faa;let _0x4b0a54=navigator[_0x3bf53e(0x84)],_0x44013b;return _0x4b0a54[_0x3bf53e(0x10a)](_0x3bf53e(0xf7))>-0x1?_0x44013b='Google\x20Chrome':_0x4b0a54['indexOf'](_0x3bf53e(0x124))>-0x1?_0x44013b=_0x3bf53e(0x124):_0x4b0a54['indexOf']('Firefox')>-0x1?_0x44013b=_0x3bf53e(0xae):_0x4b0a54[_0x3bf53e(0x10a)](_0x3bf53e(0xc9))>-0x1?_0x44013b=_0x3bf53e(0x133):_0x4b0a54[_0x3bf53e(0x10a)]('MSIE')>-0x1?_0x44013b=_0x3bf53e(0x103):_0x44013b=_0x3bf53e(0xec),_0x44013b;},J=new WeakSet(),Ue=function(){return c(this,null,function*(){const _0x492dac=_0x5acf;try{yield h[_0x492dac(0xc2)]('/brand');}catch(_0x18a3bc){throw g[_0x492dac(0x137)]=!0x0,_0x18a3bc[_0x492dac(0xda)];}});},K=new WeakSet(),Ce=function(){return c(this,null,function*(){const _0x4631c4=_0x5acf;var _0x4c5e05;p(0x1,_0x4631c4(0x10e)),m(_0x4631c4(0x10e),!0x0),d(_0x4631c4(0xaa),!0x0);let _0x3f1bcf=(_0x4c5e05=window==null?void 0x0:window[_0x4631c4(0x8e)])==null?void 0x0:_0x4c5e05['href'];if(_0x3f1bcf!==I(this,k)){O(this,k,_0x3f1bcf);let _0x4d4bba=[];new URLSearchParams(new URL(window[_0x4631c4(0x8e)][_0x4631c4(0x114)])[_0x4631c4(0x14d)])[_0x4631c4(0x126)]((_0x467cfa,_0x428e6b)=>c(this,null,function*(){const _0x10ef6c=_0x4631c4;Je[_0x10ef6c(0xa8)](_0x428e6b)&&_0x4d4bba[_0x10ef6c(0x140)]({'eventProperty':_0x428e6b,'value':_0x467cfa});})),yield n(this,v,y)['call'](this,_0x4631c4(0xa9),[{'eventProperty':_0x4631c4(0xe9),'value':window[_0x4631c4(0x8e)]['pathname']},..._0x4d4bba]);}d(_0x4631c4(0xaa),!0x1),m('Tracking\x20page\x20change',!0x1);});},oe=new WeakSet(),Ye=function(_0x257921){const _0x16609c=_0x1f0faa;h['updateAPIKey'](_0x257921),O(this,U,navigator[_0x16609c(0x84)]),O(this,$,n(this,ne,qe)[_0x16609c(0xc4)](this)),O(this,B,n(this,te,He)['call'](this));},re=new WeakSet(),Qe=function(){const _0x51f0d6=_0x1f0faa;return!localStorage[_0x51f0d6(0xb6)]('events')||!localStorage[_0x51f0d6(0xb6)](_0x51f0d6(0xf5))||!localStorage['getItem']('attributes')||!localStorage[_0x51f0d6(0xb6)](_0x51f0d6(0x117))||!localStorage[_0x51f0d6(0xb6)](_0x51f0d6(0x97))||!localStorage[_0x51f0d6(0xb6)](_0x51f0d6(0xf5));},ie=new WeakSet(),Xe=function(){return c(this,null,function*(){const _0x35d4b3=_0x5acf;yield n(this,le,et)[_0x35d4b3(0xc4)](this),yield n(this,W,_e)['call'](this),yield n(this,C,Q)[_0x35d4b3(0xc4)](this);});},ae=new WeakMap(),z=new WeakMap(),se=new WeakMap(),ce=new WeakSet(),Ze=function(){const _0x995fbd=_0x1f0faa;let _0x5243d4=localStorage[_0x995fbd(0xb6)](_0x995fbd(0x117));return _0x5243d4||(_0x5243d4=crypto[_0x995fbd(0x8f)](),localStorage[_0x995fbd(0xd7)]('uniqueIdentity',_0x5243d4)),_0x5243d4;},le=new WeakSet(),et=function(){return c(this,null,function*(){const _0x4473a7=_0x5acf;if(!localStorage[_0x4473a7(0xb6)](_0x4473a7(0xcf))){let _0x3eb563=(yield n(this,ge,tt)[_0x4473a7(0xc4)](this))[_0x4473a7(0xdc)];_0x3eb563&&localStorage['setItem'](_0x4473a7(0xcf),JSON[_0x4473a7(0xce)](_0x3eb563));}});},ge=new WeakSet(),tt=function(){return c(this,null,function*(){const _0x2bb877=_0x5acf;try{return yield h['get'](''+Ne);}catch(_0xe5793){throw new Error(_0x2bb877(0x14e));}});},W=new WeakSet(),_e=function(){return c(this,null,function*(){const _0x1e9bc4=_0x5acf;if(!localStorage['getItem']('attributes')){let _0x69f585=(yield n(this,pe,nt)[_0x1e9bc4(0xc4)](this))[_0x1e9bc4(0xdc)];_0x69f585&&localStorage['setItem']('attributes',JSON[_0x1e9bc4(0xce)](_0x69f585));}});},pe=new WeakSet(),nt=function(){return c(this,null,function*(){const _0x4b3266=_0x5acf;try{return yield h[_0x4b3266(0xc2)](''+be);}catch(_0x310aeb){throw new Error('Error\x20fetching\x20attribute\x20data');}});},C=new WeakSet(),Q=function(_0x29b288){return c(this,null,function*(){const _0xd7cc39=_0x5acf;localStorage[_0xd7cc39(0xb6)](_0xd7cc39(0x97))||(localStorage[_0xd7cc39(0xd7)](_0xd7cc39(0x97),crypto[_0xd7cc39(0x8f)]()),yield n(this,v,y)[_0xd7cc39(0xc4)](this,_0xd7cc39(0xc6),[{'eventProperty':'SESSION_ID','value':localStorage[_0xd7cc39(0xb6)](_0xd7cc39(0x97))},{'eventProperty':'SESSION_CREATED','value':new Date(parseInt(localStorage[_0xd7cc39(0xb6)](_0xd7cc39(0xd0))||'',0xa))[_0xd7cc39(0x113)]()}]));let _0x4d4159={'deviceId':localStorage[_0xd7cc39(0xb6)]('uniqueIdentity')||crypto['randomUUID'](),'os':I(this,U)};if(_0x29b288)_0x4d4159[_0xd7cc39(0x121)]=_0x29b288;else{if(!_0x29b288&&localStorage['getItem']('customer'))return;}try{let _0x12426d=yield n(this,ue,ot)[_0xd7cc39(0xc4)](this,_0x4d4159);_0x12426d!==void 0x0&&localStorage['setItem'](_0xd7cc39(0xf5),_0x12426d);}catch(_0x278537){throw new Error(_0xd7cc39(0x107));}});},_=new WeakSet(),X=function(){const _0x3530b1=_0x1f0faa;localStorage['setItem'](_0x3530b1(0xd0),''+new Date()[_0x3530b1(0xde)]());},ue=new WeakSet(),ot=function(_0x407a70){return c(this,null,function*(){const _0x3240fc=_0x5acf;try{return(yield h['post'](''+We+je,_0x407a70))['data'];}catch(_0x435e72){throw new Error(_0x3240fc(0xbe));}});},j=new WeakSet(),De=function(_0x3bac76){const _0x1353b6=_0x1f0faa;let _0x3a2588=n(this,Ee,rt)[_0x1353b6(0xc4)](this);if(_0x3a2588!=null&&_0x3a2588[_0x3bac76])switch(_0x3a2588[_0x3bac76]['campaignEntryTime']){case _0x1353b6(0xdb):{n(this,me,at)[_0x1353b6(0xc4)](this,_0x3a2588[_0x3bac76]);break;}case _0x1353b6(0xba):{n(this,D,Z)['call'](this,_0x3a2588[_0x3bac76]);break;}case _0x1353b6(0xe3):{n(this,de,it)['call'](this,_0x3a2588[_0x3bac76]);break;}default:return;}},Ee=new WeakSet(),rt=function(){const _0x4c833d=_0x1f0faa;let _0x10fbfc=localStorage[_0x4c833d(0xb6)](_0x4c833d(0xb1));return _0x10fbfc?JSON['parse'](_0x10fbfc):null;},de=new WeakSet(),it=function(_0x404d15){let _0x1ec159=()=>{const _0x3b5576=_0x5acf;var _0x2effe8,_0x46f04b;let _0x32cdc1=window[_0x3b5576(0x85)],_0x58c365=document[_0x3b5576(0xd8)][_0x3b5576(0x153)],_0x2d2e74=window['scrollY']/(_0x58c365-_0x32cdc1)*0x64;console['log'](_0x3b5576(0x13c),_0x2d2e74),console['log'](_0x3b5576(0xe2),(_0x2effe8=_0x404d15[_0x3b5576(0xa7)])==null?void 0x0:_0x2effe8[_0x3b5576(0xfe)]),_0x2d2e74>(((_0x46f04b=_0x404d15[_0x3b5576(0xa7)])==null?void 0x0:_0x46f04b[_0x3b5576(0xfe)])||0x0)&&(window[_0x3b5576(0x105)](_0x3b5576(0x136),_0x1ec159),console[_0x3b5576(0xf2)]('called\x202'),n(this,D,Z)[_0x3b5576(0xc4)](this,_0x404d15));};window['addEventListener']('scroll',_0x1ec159);},me=new WeakSet(),at=function(_0xde3641){const _0x44ce5d=_0x1f0faa;var _0x20764f;let _0x3c56cf=_0xde3641['initialTime']-0x1f4+(((_0x20764f=_0xde3641['campaignEntryTimeValue'])==null?void 0x0:_0x20764f[_0x44ce5d(0xfe)])||0x0)*0x3e8-new Date()[_0x44ce5d(0xde)]();_0x3c56cf>0x0&&_0xde3641[_0x44ce5d(0xa4)]===window[_0x44ce5d(0x8e)][_0x44ce5d(0x102)]+window[_0x44ce5d(0x8e)][_0x44ce5d(0x12b)]&&setTimeout(()=>{const _0x4b613b=_0x44ce5d;I(this,z)[_0x4b613b(0xc4)](this,_0xde3641[_0x4b613b(0x9f)]),n(this,D,Z)[_0x4b613b(0xc4)](this,_0xde3641);},_0x3c56cf);},D=new WeakSet(),Z=function(_0x545474){const _0x221f8e=_0x1f0faa;let _0x96cddd=n(this,Se,st)[_0x221f8e(0xc4)](this,_0x221f8e(0x143),_0x545474);document['body']['appendChild'](_0x96cddd),n(this,v,y)['call'](this,N,[{'eventProperty':_0x221f8e(0x108),'value':JSON[_0x221f8e(0xce)]({'campaignId':_0x545474[_0x221f8e(0x9f)]})}],_0x545474['campaignId'],_0x545474[_0x221f8e(0xf9)],_0x221f8e(0xc7)),I(this,z)[_0x221f8e(0xc4)](this,_0x545474['campaignId']);},Se=new WeakSet(),st=function(_0x45e3a0,_0x25d5df){const _0xf8469a=_0x1f0faa;var _0x1f9c82;let {campaignCustomerInstanceId:_0x313f25,campaignId:_0x4bbd2e,message:{design:_0x556ba9}}=_0x25d5df,_0x5f0388=document[_0xf8469a(0x11b)](_0x45e3a0);_0x5f0388['id']=_0xf8469a(0x12c)+_0x4bbd2e,_0x5f0388[_0xf8469a(0xf3)]=_0x556ba9,_0x5f0388[_0xf8469a(0xd4)][_0xf8469a(0x130)]='50';let _0x35a614=_0x5f0388[_0xf8469a(0xa1)]('.u-popup-container');return _0x35a614&&(_0x35a614[_0xf8469a(0xd4)]['zIndex']='50'),_0x5f0388['querySelectorAll']('[id^=\x22u_content_form_\x22]')['forEach'](_0x198f54=>{const _0xfd0350=_0xf8469a;let _0x567034=_0x198f54[_0xfd0350(0xa1)](_0xfd0350(0x150));_0x567034&&_0x567034[_0xfd0350(0x11d)]('submit',()=>c(this,null,function*(){const _0x356cd5=_0xfd0350;_0x5f0388[_0x356cd5(0xcb)]();let _0x343ae2=new FormData(_0x567034),_0x55374={};for(let [_0xfd6780,_0x71ec6e]of _0x343ae2['entries']())_0x55374[_0xfd6780]=_0x71ec6e;yield n(this,v,y)[_0x356cd5(0xc4)](this,N,[{'eventProperty':_0x356cd5(0x110),'value':JSON[_0x356cd5(0xce)]({'campaignId':_0x4bbd2e,'formId':_0x198f54['id'],'formValues':_0x55374})}],_0x4bbd2e,_0x313f25,'form');}));}),(_0x1f9c82=_0x5f0388['querySelector']('.u-close-button'))==null||_0x1f9c82[_0xf8469a(0x11d)](_0xf8469a(0x128),()=>c(this,null,function*(){const _0x4a4c0c=_0xf8469a;_0x5f0388[_0x4a4c0c(0xcb)](),yield n(this,v,y)[_0x4a4c0c(0xc4)](this,N,[{'eventProperty':_0x4a4c0c(0xc0),'value':JSON[_0x4a4c0c(0xce)]({'campaignId':_0x4bbd2e})}],_0x4bbd2e,_0x313f25,'close');})),_0x5f0388[_0xf8469a(0x101)](_0xf8469a(0xd9))[_0xf8469a(0x126)](_0x47253b=>{const _0x396705=_0xf8469a;_0x47253b[_0x396705(0x11d)](_0x396705(0x128),()=>c(this,null,function*(){const _0x23ff17=_0x396705;yield n(this,v,y)[_0x23ff17(0xc4)](this,N,[{'eventProperty':_0x23ff17(0x134),'value':JSON[_0x23ff17(0xce)]({'buttonId':_0x47253b['id'],'campaignId':_0x4bbd2e})}],_0x4bbd2e,_0x313f25,'click');}));}),_0x5f0388['querySelectorAll']('.u-popup-container\x20img')[_0xf8469a(0x126)](_0x208aa1=>{const _0x10e2ee=_0xf8469a;_0x208aa1[_0x10e2ee(0x11d)](_0x10e2ee(0x128),()=>c(this,null,function*(){const _0x3e25e9=_0x10e2ee;yield n(this,v,y)[_0x3e25e9(0xc4)](this,N,[{'eventProperty':_0x3e25e9(0xea),'value':JSON[_0x3e25e9(0xce)]({'campaignId':_0x4bbd2e,'imageClassName':_0x208aa1['className'],'imageId':_0x208aa1['id']})}],_0x4bbd2e,_0x313f25,_0x3e25e9(0x128));}));}),_0x5f0388;},Ie=new WeakSet(),ct=function(){const _0xd87864=_0x1f0faa;let _0x3e294f=localStorage[_0xd87864(0xb6)](_0xd87864(0xcf));return _0x3e294f?JSON[_0xd87864(0xbf)](_0x3e294f):{};},ve=new WeakSet(),lt=function(_0x18e4d9,_0x3a5a60,_0x520293){const _0x59c1ad=_0x1f0faa;if(!Object[_0x59c1ad(0x13f)][_0x59c1ad(0x13e)]['call'](_0x18e4d9,_0x3a5a60))return _0x59c1ad(0x123)+_0x3a5a60+'\x20is\x20not\x20valid.';if(!_0x520293)return[];let _0xf82b72=_0x18e4d9[_0x3a5a60];if(!(_0xf82b72!=null&&_0xf82b72[_0x59c1ad(0xfd)]))return'Event\x20'+_0x3a5a60+_0x59c1ad(0x13d);let _0x2b3009=_0x520293[_0x59c1ad(0x100)](({eventProperty:_0x5342c4})=>!Object[_0x59c1ad(0x13f)][_0x59c1ad(0x13e)]['call'](_0xf82b72[_0x59c1ad(0xfd)],_0x5342c4))[_0x59c1ad(0x146)](({eventProperty:_0x17d830})=>_0x17d830);return _0x2b3009[_0x59c1ad(0xd5)]>0x0?'Event\x20'+_0x3a5a60+_0x59c1ad(0x111)+_0x2b3009[_0x59c1ad(0xc8)](',\x20')+'.':_0x520293['map'](({eventProperty:_0x595d0b,value:_0x14a1d1})=>({'eventPropertyId':_0xf82b72[_0x59c1ad(0xfd)][_0x595d0b]['id'],'value':_0x14a1d1}));},G=new WeakSet(),xe=function(_0x3c9857,_0x528162,_0x1724b9){const _0x11bda6=_0x1f0faa;if(!Object[_0x11bda6(0x13f)][_0x11bda6(0x13e)][_0x11bda6(0xc4)](_0x3c9857,_0x528162))return _0x11bda6(0xc1)+_0x528162+_0x11bda6(0xa0);if(!_0x1724b9)return[];let _0x4bd5e2=_0x3c9857[_0x528162];if(!(_0x4bd5e2!=null&&_0x4bd5e2[_0x11bda6(0x92)]))return _0x11bda6(0xc1)+_0x528162+_0x11bda6(0xc5);let _0x500268=_0x1724b9[_0x11bda6(0x100)](({attributeProperty:_0x2d82a1})=>!Object['prototype']['hasOwnProperty'][_0x11bda6(0xc4)](_0x4bd5e2['attributeProperty'],_0x2d82a1))['map'](({attributeProperty:_0x1818e1})=>_0x1818e1);return _0x500268[_0x11bda6(0xd5)]>0x0?_0x11bda6(0xc1)+_0x528162+_0x11bda6(0xe4)+_0x500268[_0x11bda6(0xc8)](',\x20')+'.':_0x1724b9[_0x11bda6(0x146)](({attributeProperty:_0xbe7af6,value:_0xc7f5ec})=>({'attributePropertyId':_0x4bd5e2[_0x11bda6(0x92)][_0xbe7af6]['id'],'value':_0xc7f5ec}));},Te=new WeakSet(),gt=function(_0x2273f8){const _0xb5de55=_0x1f0faa;return{'customerId':localStorage[_0xb5de55(0xb6)](_0xb5de55(0xf5))||'','events':[_0x2273f8]};},H=new WeakSet(),Fe=function(_0xa7f8bf){return c(this,null,function*(){const _0x38c3cd=_0x5acf;try{return yield h[_0x38c3cd(0x119)](''+Ne+ze,_0xa7f8bf);}catch(_0xbe00bd){throw new Error('Error\x20posting\x20event\x20record');}});},ye=new WeakSet(),pt=function(_0x18ccca){const _0x154375=_0x1f0faa;return _0x18ccca===_0x154375(0xa3);},fe=new WeakSet(),ut=function(_0x55d93f){const _0x276d15=_0x1f0faa;let _0x990876=JSON[_0x276d15(0xbf)](localStorage[_0x276d15(0xb6)](_0x276d15(0xb1))||'{}');_0x990876[_0x55d93f['campaignId']]=Re(M({},_0x55d93f),{'initialTime':new Date()[_0x276d15(0xde)](),'page':window['location']['hostname']+window[_0x276d15(0x8e)][_0x276d15(0x12b)]}),localStorage['setItem'](_0x276d15(0xb1),JSON[_0x276d15(0xce)](_0x990876));},q=new WeakSet(),Me=function(){const _0x1a4257=_0x1f0faa;localStorage[_0x1a4257(0x151)](_0x1a4257(0xb1)),localStorage[_0x1a4257(0x151)](_0x1a4257(0xcf)),localStorage[_0x1a4257(0x151)](_0x1a4257(0x10c)),localStorage['removeItem'](_0x1a4257(0xc3)),localStorage[_0x1a4257(0x151)](_0x1a4257(0xd0)),localStorage['removeItem']('session');},he=new WeakSet(),Et=function(){return c(this,null,function*(){const _0x2a8ff0=_0x5acf;localStorage[_0x2a8ff0(0xb6)](_0x2a8ff0(0x10c))||(yield n(this,W,_e)[_0x2a8ff0(0xc4)](this));});},Oe=new WeakSet(),dt=function(_0x477796){return c(this,null,function*(){const _0x1160ab=_0x5acf;try{return yield h[_0x1160ab(0x119)](''+be+Ke,_0x477796);}catch(_0x7412ec){throw new Error(_0x1160ab(0xfb));}});},i(w,P,void 0x0);var Pe=w,Ve=Pe['getInstance']();typeof window!=_0x1f0faa(0x9a)&&(window[_0x1f0faa(0xd2)]=Ve);var En=Ve;function _0x5acf(_0x66a896,_0x55701f){const _0x117af5=_0x117a();return _0x5acf=function(_0x5acf24,_0x4d869a){_0x5acf24=_0x5acf24-0x83;let _0x1c24fa=_0x117af5[_0x5acf24];return _0x1c24fa;},_0x5acf(_0x66a896,_0x55701f);}function _0x117a(){const _0x3aa397=['getOwnPropertySymbols','3758490vlYtuJ','Mozilla\x20Firefox','info','Logging\x20in\x20Time','action','set','#\x20recordAttribute','setDebugLevel','utm_source','getItem','Initializing\x20Mergn\x20SDK','recordAttribute','#\x20record\x20event','IMMEDIATELY','operating-system','test','toLowerCase','Error\x20posting\x20identity\x20data','parse','Close\x20Click','Attribute\x20','get','offlineEvents','call','\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.','Web\x20Session\x20Started','view','join','Edg','name','remove','utm_campaign','ERROR','stringify','events','ttl','INFO','mergn','write\x20to\x20private\x20field','style','length','getOwnPropertyDescriptors','setItem','documentElement','[id^=\x22u_content_button_\x22]','message','DELAY','data','load','getTime','getInstance','UTM_TERM','/attribute','🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:','SCROLL','\x20has\x20invalid\x20attributeProperties:\x20','85118zRCSQc','Logging\x20out\x20Time','/record-event','propertyIsEnumerable','URL','Image\x20Click','isInitialized','Unknown','access\x20private\x20method','resolve','OriginateFrom:\x20','454020siFTmv','defineProperties','log','innerHTML','throw','customer','63JyoXbF','Chrome','Recording\x20event','campaignCustomerInstanceId','string','Error\x20posting\x20attribute\x20record','read\x20from\x20private\x20field','eventProperty','value','716394WUyejP','filter','querySelectorAll','hostname','Internet\x20Explorer','updateAPIKey','removeEventListener','done','Error\x20setting\x20identity','Popup\x20View','apiKey','indexOf','207380fDUduy','attributes','Web','Tracking\x20page\x20change','Checking\x20TTL\x20Time','Form\x20Submit','\x20has\x20invalid\x20eventProperties:\x20','offline','toISOString','href','Checking\x20TTL','Platform','uniqueIdentity','login','post','group','createElement','logout','addEventListener','onLine','Logging\x20out','/customer','identity','SESSION_CREATED','Event\x20','Safari','isArray','forEach','Recording\x20attribute','click','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','pushState','pathname','popup_container_','POST','INFO:\x20','record\x20event','zIndex','json','ALL','Microsoft\x20Edge','Button\x20Click','Mergn\x20SDK\x20Initialization\x20Time','scroll','disableSDK','UTM_MEDIUM','MergnError','error','/event','🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','hasOwnProperty','prototype','push','\x0aUnexpected\x20error:\x20','beforeunload','div','then','next','map','timeEnd','os-version','Recording\x20event\x20Time','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','NONE','online','search','Error\x20fetching\x20event\x20data','SESSION_ID','form','removeItem','/set-attribute','scrollHeight','Recording\x20attribute\x20Time','userAgent','innerHeight','Mergn\x20SDK\x20is\x20disabled!','Mergn\x20is\x20offline!','apply','time','debugLevel','recordEvent','Web\x20Session\x20Concluded','24atlJKm','location','randomUUID','Logging\x20in','Event\x20Payload','attributeProperty','Popup\x20Action','ERROR:\x20','3901510hbKjVu','keys','session','Event\x20Payload:\x0a\x20','init','undefined','798336yKysAI','22taBIQO','Cannot\x20','values','campaignId','\x20is\x20not\x20valid.','querySelector','35vKaPUl','Popup','page','groupEnd','UTM_CAMPAIGN','campaignEntryTimeValue','has','Viewed\x20Webpage','Tracking\x20page\x20change\x20Time','Attribute\x20Payload:\x0a\x20'];_0x117a=function(){return _0x3aa397;};return _0x117a();}export{En as default};
|
|
1
|
+
const _0x4d949b=_0x3479;(function(_0x102734,_0x472077){const _0x33c5de=_0x3479,_0x4aee0f=_0x102734();while(!![]){try{const _0x556d09=-parseInt(_0x33c5de(0x17c))/0x1+-parseInt(_0x33c5de(0x1d8))/0x2*(-parseInt(_0x33c5de(0x1bd))/0x3)+-parseInt(_0x33c5de(0x1cb))/0x4*(-parseInt(_0x33c5de(0x195))/0x5)+parseInt(_0x33c5de(0x162))/0x6+-parseInt(_0x33c5de(0x148))/0x7*(-parseInt(_0x33c5de(0x1a6))/0x8)+parseInt(_0x33c5de(0x13b))/0x9*(parseInt(_0x33c5de(0x155))/0xa)+-parseInt(_0x33c5de(0x19b))/0xb*(parseInt(_0x33c5de(0x14f))/0xc);if(_0x556d09===_0x472077)break;else _0x4aee0f['push'](_0x4aee0f['shift']());}catch(_0x43decf){_0x4aee0f['push'](_0x4aee0f['shift']());}}}(_0x2529,0x52449));var St=Object['defineProperty'],It=Object[_0x4d949b(0x178)],vt=Object['getOwnPropertyDescriptors'],$e=Object[_0x4d949b(0x113)],yt=Object[_0x4d949b(0x1c8)][_0x4d949b(0x17b)],Tt=Object[_0x4d949b(0x1c8)][_0x4d949b(0x17f)],Be=(_0x5f4fbc,_0x192577,_0x2e1b79)=>_0x192577 in _0x5f4fbc?St(_0x5f4fbc,_0x192577,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e1b79}):_0x5f4fbc[_0x192577]=_0x2e1b79,M=(_0x14fee6,_0x39de25)=>{const _0x3f79f3=_0x4d949b;for(var _0x424a2b in _0x39de25||(_0x39de25={}))yt[_0x3f79f3(0x124)](_0x39de25,_0x424a2b)&&Be(_0x14fee6,_0x424a2b,_0x39de25[_0x424a2b]);if($e){for(var _0x424a2b of $e(_0x39de25))Tt[_0x3f79f3(0x124)](_0x39de25,_0x424a2b)&&Be(_0x14fee6,_0x424a2b,_0x39de25[_0x424a2b]);}return _0x14fee6;},Re=(_0x1b6eb2,_0x58417d)=>It(_0x1b6eb2,vt(_0x58417d)),we=(_0x1e70d7,_0xc59127,_0x3dbeef)=>{const _0x2956e1=_0x4d949b;if(!_0xc59127[_0x2956e1(0x16b)](_0x1e70d7))throw TypeError(_0x2956e1(0x1bc)+_0x3dbeef);},I=(_0x4107ef,_0x5f166f,_0x29b78c)=>(we(_0x4107ef,_0x5f166f,_0x4d949b(0x185)),_0x29b78c?_0x29b78c[_0x4d949b(0x124)](_0x4107ef):_0x5f166f[_0x4d949b(0x13f)](_0x4107ef)),a=(_0x4247df,_0x20c1a1,_0x188c9b)=>{const _0xe4cbf6=_0x4d949b;if(_0x20c1a1[_0xe4cbf6(0x16b)](_0x4247df))throw TypeError(_0xe4cbf6(0x1cd));_0x20c1a1 instanceof WeakSet?_0x20c1a1[_0xe4cbf6(0x164)](_0x4247df):_0x20c1a1[_0xe4cbf6(0x1ac)](_0x4247df,_0x188c9b);},O=(_0x2b2627,_0xf7288e,_0x596a8d,_0x595713)=>(we(_0x2b2627,_0xf7288e,_0x4d949b(0x141)),_0x595713?_0x595713[_0x4d949b(0x124)](_0x2b2627,_0x596a8d):_0xf7288e[_0x4d949b(0x1ac)](_0x2b2627,_0x596a8d),_0x596a8d),n=(_0xf346f9,_0x6af4f,_0x2fbd57)=>(we(_0xf346f9,_0x6af4f,_0x4d949b(0x1b2)),_0x2fbd57),c=(_0x21a51a,_0x1cc7ce,_0x163aee)=>new Promise((_0x4e3891,_0x55fd0e)=>{const _0x5181d5=_0x4d949b;var _0x2dcba5=_0x2ff0c3=>{try{_0x51f475(_0x163aee['next'](_0x2ff0c3));}catch(_0x1e8820){_0x55fd0e(_0x1e8820);}},_0x33f869=_0x4257ca=>{const _0x2d60c4=_0x3479;try{_0x51f475(_0x163aee[_0x2d60c4(0x161)](_0x4257ca));}catch(_0x54aef7){_0x55fd0e(_0x54aef7);}},_0x51f475=_0x569286=>_0x569286[_0x5181d5(0x158)]?_0x4e3891(_0x569286[_0x5181d5(0x189)]):Promise[_0x5181d5(0x16f)](_0x569286[_0x5181d5(0x189)])[_0x5181d5(0x176)](_0x2dcba5,_0x33f869);_0x51f475((_0x163aee=_0x163aee['apply'](_0x21a51a,_0x1cc7ce))[_0x5181d5(0x10e)]());}),ke=(_0x5d7d4e=>(_0x5d7d4e['UTM_SOURCE']=_0x4d949b(0x16c),_0x5d7d4e[_0x4d949b(0x10d)]=_0x4d949b(0x1c0),_0x5d7d4e[_0x4d949b(0x122)]=_0x4d949b(0x166),_0x5d7d4e[_0x4d949b(0x1a3)]=_0x4d949b(0x14e),_0x5d7d4e[_0x4d949b(0x1dc)]='utm_content',_0x5d7d4e))(ke||{}),Je=new Set(Object[_0x4d949b(0x1cf)](ke)),N=_0x4d949b(0x126),Le=_0x4d949b(0x187),be=_0x4d949b(0x123),Ke=_0x4d949b(0x11b),Ne=_0x4d949b(0x14d),ze=_0x4d949b(0x17e),We=_0x4d949b(0x180),je=_0x4d949b(0x1c5),A,y=class y{constructor(){}static[_0x4d949b(0x175)](){return I(y,A)||O(y,A,new y()),I(y,A);}[_0x4d949b(0x19c)](_0x2af7b9){const _0x45efa8=_0x4d949b;y[_0x45efa8(0x1d0)]=_0x2af7b9;}['get'](_0x3e6ddb){return c(this,null,function*(){const _0x400e15=_0x3479;return(yield fetch(Le+_0x3e6ddb,{'headers':{'Authorization':y[_0x400e15(0x1d0)],'Content-Type':_0x400e15(0x1c4)}}))['json']();});}[_0x4d949b(0x157)](_0x464dd8,_0x414245){return c(this,null,function*(){const _0xfec90e=_0x3479;return(yield fetch(Le+_0x464dd8,{'body':JSON[_0xfec90e(0x183)](_0x414245||{}),'headers':{'Authorization':y['apiKey'],'Content-Type':_0xfec90e(0x1c4)},'method':_0xfec90e(0x159)}))[_0xfec90e(0x117)]();});}};A=new WeakMap(),a(y,A,void 0x0);var Ae=y,h=Ae[_0x4d949b(0x175)](),g=class extends Error{constructor(_0x4bb7a7){const _0x5c2863=_0x4d949b;super(_0x4bb7a7),this[_0x5c2863(0x18b)]=_0x5c2863(0x1b5);}};function _0x3479(_0x4c3733,_0x4bdb10){const _0x252966=_0x2529();return _0x3479=function(_0x3479df,_0x3a00c3){_0x3479df=_0x3479df-0x10c;let _0x248f7e=_0x252966[_0x3479df];return _0x248f7e;},_0x3479(_0x4c3733,_0x4bdb10);}g[_0x4d949b(0x170)]=!0x1,g['offline']=!navigator['onLine'],g[_0x4d949b(0x194)]=0x0,g[_0x4d949b(0x17a)]=!0x1;var ft=(_0x36fed1,_0x417725)=>{const _0x1cb7af=_0x4d949b;_0x417725 instanceof g?p(0x2,'OriginateFrom:\x20'+_0x36fed1+_0x1cb7af(0x182)+_0x417725[_0x1cb7af(0x174)]):_0x417725 instanceof Error?p(0x2,'OriginateFrom:\x20'+_0x36fed1+_0x1cb7af(0x12f)+_0x417725[_0x1cb7af(0x174)]):p(0x2,'OriginateFrom:\x20'+_0x36fed1+_0x1cb7af(0x12f)+String(_0x417725));},R=(_0x3bd04b,_0x278f6c,_0x525dce)=>c(void 0x0,null,function*(){const _0x6053cf=_0x4d949b;try{if(g['disableSDK'])throw new g(_0x6053cf(0x13e));if(_0x3bd04b!=='record\x20event'&&g[_0x6053cf(0x193)])throw new g(_0x6053cf(0x10c));if(_0x3bd04b!==_0x6053cf(0x19d)&&!g[_0x6053cf(0x17a)])throw new g(_0x6053cf(0x11c));return yield _0x278f6c();}catch(_0x401333){return _0x525dce?_0x525dce(_0x401333):(g[_0x6053cf(0x194)]===0x2||g[_0x6053cf(0x194)]===0x3)&&ft(_0x3bd04b,_0x401333),null;}}),Y=(_0x4cedbd=>(_0x4cedbd[_0x4cedbd[_0x4d949b(0x1a1)]=0x0]=_0x4d949b(0x1a1),_0x4cedbd[_0x4cedbd[_0x4d949b(0x196)]=0x1]=_0x4d949b(0x196),_0x4cedbd[_0x4cedbd['ERROR']=0x2]=_0x4d949b(0x131),_0x4cedbd[_0x4cedbd['ALL']=0x3]=_0x4d949b(0x154),_0x4cedbd))(Y||{}),p=(_0x3d8727,_0x3cd2cf)=>{const _0x4a5d48=_0x4d949b;g['debugLevel']!==0x0&&g[_0x4a5d48(0x194)]<=0x3&&(_0x3d8727===0x1?console[_0x4a5d48(0x112)]('INFO:\x20'+new Date()[_0x4a5d48(0x184)](),_0x3cd2cf):_0x3d8727===0x2&&console[_0x4a5d48(0x1a8)]('ERROR:\x20'+new Date()[_0x4a5d48(0x184)](),_0x3cd2cf));},d=(_0x3e53f0,_0x587f23)=>{const _0x133a02=_0x4d949b;g[_0x133a02(0x194)]!==0x0&&(_0x587f23?console[_0x133a02(0x156)](_0x3e53f0):console[_0x133a02(0x18e)](_0x3e53f0));},m=(_0x2dbbdb,_0x346cd9)=>{const _0xb61c1b=_0x4d949b;g['debugLevel']!==0x0&&(_0x346cd9?console[_0xb61c1b(0x1d3)](_0x2dbbdb):console[_0xb61c1b(0x1ad)]());},P,U,$,B,k,ee,Ge,L,V,v,T,te,He,ne,qe,J,Ue,K,Ce,oe,Ye,re,Qe,ie,Xe,ae,z,se,ce,Ze,le,et,ge,tt,W,_e,pe,nt,C,Q,_,X,ue,ot,j,De,Ee,rt,de,it,me,at,D,Z,Se,st,Ie,ct,ve,lt,G,xe,ye,gt,H,Fe,Te,pt,fe,ut,q,Me,he,Et,Oe,dt,w=class w{constructor(){a(this,ee),a(this,L),a(this,v),a(this,te),a(this,ne),a(this,J),a(this,K),a(this,oe),a(this,re),a(this,ie),a(this,ce),a(this,le),a(this,ge),a(this,W),a(this,pe),a(this,C),a(this,_),a(this,ue),a(this,j),a(this,Ee),a(this,de),a(this,me),a(this,D),a(this,Se),a(this,Ie),a(this,ve),a(this,G),a(this,ye),a(this,H),a(this,Te),a(this,fe),a(this,q),a(this,he),a(this,Oe),a(this,U,void 0x0),a(this,$,void 0x0),a(this,B,void 0x0),a(this,k,null),a(this,ae,()=>{const _0x1fc8ca=_0x3479;let _0x23d518=()=>{const _0x3d66de=_0x3479;let _0x277d85=JSON['parse'](localStorage[_0x3d66de(0x165)]('action')||'{}');Object['keys'](_0x277d85)[_0x3d66de(0x173)](_0x1cd25c=>{const _0x40b306=_0x3d66de;_0x277d85[_0x1cd25c][_0x40b306(0x1a9)]=new Date()[_0x40b306(0x1d9)](),_0x277d85[_0x1cd25c][_0x40b306(0x110)]=window[_0x40b306(0x1e0)]['hostname']+window[_0x40b306(0x1e0)][_0x40b306(0x1dd)];}),localStorage[_0x3d66de(0x1cc)](_0x3d66de(0x121),JSON[_0x3d66de(0x183)](_0x277d85));};_0x23d518(),window[_0x1fc8ca(0x19f)](_0x1fc8ca(0x142),_0x23d518);}),a(this,z,_0x4f745b=>{const _0x191656=_0x3479;let _0x4218e7=JSON[_0x191656(0x150)](localStorage[_0x191656(0x165)](_0x191656(0x121))||'{}');_0x4218e7[_0x4f745b]&&delete _0x4218e7[_0x4f745b],localStorage[_0x191656(0x1cc)]('action',JSON['stringify'](_0x4218e7));}),a(this,se,()=>{const _0x46cf07=_0x3479;let _0x1650fe=JSON[_0x46cf07(0x150)](localStorage[_0x46cf07(0x165)]('action')||'{}');Object['keys'](_0x1650fe)[_0x46cf07(0x173)](_0x492526=>{const _0x5ccf08=_0x46cf07;_0x1650fe[_0x492526][_0x5ccf08(0x174)]['name']==='Popup'&&n(this,j,De)[_0x5ccf08(0x124)](this,_0x1650fe[_0x492526]['campaignId']);});});}static['getInstance'](){return I(w,P)||O(w,P,new w()),I(w,P);}['init'](_0x16bcbd){const _0x5cf994=_0x4d949b;R(_0x5cf994(0x19d),()=>c(this,null,function*(){const _0x1d72e9=_0x5cf994;p(0x1,_0x1d72e9(0x19e)),m(_0x1d72e9(0x19e),!0x0),d('Mergn\x20SDK\x20Initialization\x20Time',!0x0),n(this,oe,Ye)[_0x1d72e9(0x124)](this,_0x16bcbd),yield n(this,J,Ue)[_0x1d72e9(0x124)](this),g['isInitialized']=!0x0,setInterval(()=>c(this,null,function*(){const _0x524a2c=_0x1d72e9;yield n(this,J,Ue)[_0x524a2c(0x124)](this);}),0x493e0),yield n(this,L,V)[_0x1d72e9(0x124)](this),window[_0x1d72e9(0x19f)]('online',()=>c(this,null,function*(){const _0x1c8084=_0x1d72e9;g[_0x1c8084(0x193)]=!0x1;let _0x3633a3=JSON[_0x1c8084(0x150)](localStorage[_0x1c8084(0x165)](_0x1c8084(0x167))||'[]');Array[_0x1c8084(0x115)](_0x3633a3)&&(yield n(this,H,Fe)[_0x1c8084(0x124)](this,{'customerId':localStorage[_0x1c8084(0x165)](_0x1c8084(0x13d))||'','events':_0x3633a3}),localStorage[_0x1c8084(0x1b3)](_0x1c8084(0x167))),n(this,L,V)[_0x1c8084(0x124)](this),n(this,_,X)[_0x1c8084(0x124)](this);})),window[_0x1d72e9(0x19f)]('offline',()=>{const _0x59cc80=_0x1d72e9;g[_0x59cc80(0x193)]=!0x0;}),window['addEventListener']('load',()=>{const _0xfebfcb=_0x1d72e9;I(this,se)[_0xfebfcb(0x124)](this);});let _0x41c397=history['pushState'];history['pushState']=(..._0xf388da)=>{const _0x56b5e0=_0x1d72e9;_0x41c397[_0x56b5e0(0x168)](history,_0xf388da),n(this,K,Ce)[_0x56b5e0(0x124)](this);},n(this,K,Ce)['call'](this),d('Mergn\x20SDK\x20Initialization\x20Time',!0x1),m(_0x1d72e9(0x19e),!0x1);}));}[_0x4d949b(0x143)](_0x257143){const _0x10ef2b=_0x4d949b;if(!(_0x257143 in Y)){console[_0x10ef2b(0x1a8)](_0x10ef2b(0x199));return;}g[_0x10ef2b(0x194)]=_0x257143;}[_0x4d949b(0x160)](_0xc98c8e,_0x28b74a){const _0x9917ba=_0x4d949b;R(_0x9917ba(0x160),()=>c(this,null,function*(){yield n(this,ee,Ge)['call'](this,_0xc98c8e,_0x28b74a,void 0x0);}));}[_0x4d949b(0x15a)](_0x417db){const _0x483e18=_0x4d949b;R(_0x483e18(0x15a),()=>c(this,null,function*(){const _0x505026=_0x483e18;p(0x1,_0x505026(0x152)),m(_0x505026(0x152),!0x0),d(_0x505026(0x130),!0x0),p(0x1,'Identity:\x20'+_0x417db),yield n(this,C,Q)['call'](this,_0x417db),d('Logging\x20in\x20Time',!0x1),m(_0x505026(0x152),!0x1);}));}[_0x4d949b(0x120)](){R('logout',()=>c(this,null,function*(){const _0x5aca1a=_0x3479;p(0x1,_0x5aca1a(0x119)),m(_0x5aca1a(0x119),!0x0),d(_0x5aca1a(0x18d),!0x0),n(this,q,Me)[_0x5aca1a(0x124)](this),d(_0x5aca1a(0x18d),!0x1),m(_0x5aca1a(0x119),!0x1);}));}[_0x4d949b(0x1ae)](_0x26637e,_0x41ad1b){setTimeout(()=>{const _0x5180c5=_0x3479;R(_0x5180c5(0x19a),()=>c(this,null,function*(){const _0x5d0ae1=_0x5180c5;p(0x1,'Recording\x20event'),m(_0x5d0ae1(0x1b1),!0x0),d(_0x5d0ae1(0x1d4),!0x0),p(0x1,_0x5d0ae1(0x118)+{'eventName':_0x26637e,'eventProperties':_0x41ad1b}),n(this,v,T)['call'](this,_0x26637e,_0x41ad1b),d(_0x5d0ae1(0x1d4),!0x1),m('Recording\x20event',!0x1);}));});}};P=new WeakMap(),U=new WeakMap(),$=new WeakMap(),B=new WeakMap(),k=new WeakMap(),ee=new WeakSet(),Ge=function(_0x26376f,_0xe9d7ae,_0x1a8aae){return c(this,null,function*(){const _0x2ac702=_0x3479;yield R(_0x2ac702(0x1ce),()=>c(this,null,function*(){const _0x44a6ca=_0x2ac702;p(0x1,'Recording\x20attribute'),m(_0x44a6ca(0x15d),!0x0),d(_0x44a6ca(0x18a),!0x0),p(0x1,'Attribute\x20Payload:\x0a\x20'+{'attributeName':_0x26376f,'attributeProperties':_0x1a8aae,'attributeValue':_0xe9d7ae}+')}'),yield n(this,L,V)['call'](this),yield n(this,he,Et)['call'](this);let _0x29f938=JSON[_0x44a6ca(0x150)](localStorage[_0x44a6ca(0x165)](_0x44a6ca(0x1aa))||'{}'),_0x267077=_0x1a8aae?n(this,G,xe)[_0x44a6ca(0x124)](this,_0x29f938,_0x26376f,_0x1a8aae):n(this,G,xe)[_0x44a6ca(0x124)](this,_0x29f938,_0x26376f);if(typeof _0x267077==_0x44a6ca(0x15f)){p(0x2,_0x267077);return;}n(this,_,X)[_0x44a6ca(0x124)](this);let {id:_0x3784e4}=_0x29f938[_0x26376f],_0x24acbc={'attributeId':_0x3784e4,'attributeProperties':_0x267077,'customerId':localStorage[_0x44a6ca(0x165)]('customer')||'','value':_0xe9d7ae};yield n(this,Oe,dt)[_0x44a6ca(0x124)](this,_0x24acbc),d(_0x44a6ca(0x18a),!0x1),m(_0x44a6ca(0x15d),!0x1);}));});},L=new WeakSet(),V=function(){return c(this,null,function*(){const _0x5e306e=_0x3479;p(0x1,_0x5e306e(0x1b4)),m(_0x5e306e(0x1b4),!0x0),d(_0x5e306e(0x125),!0x0);let _0x3c7a9c=localStorage['getItem']('ttl'),_0x372f58=!0x1;if(_0x3c7a9c){if(_0x372f58=new Date()[_0x5e306e(0x1d9)]()-parseInt(_0x3c7a9c,0xa)>0x124f80,_0x372f58){let _0x2c91e7=localStorage[_0x5e306e(0x165)](_0x5e306e(0x179)),_0x33c692=localStorage[_0x5e306e(0x165)](_0x5e306e(0x11f));_0x2c91e7&&_0x33c692&&n(this,v,T)['call'](this,_0x5e306e(0x1e1),[{'eventProperty':'SESSION_ID','value':localStorage['getItem'](_0x5e306e(0x179))},{'eventProperty':_0x5e306e(0x12a),'value':new Date(parseInt(_0x33c692,0xa))[_0x5e306e(0x184)]()}]),n(this,q,Me)[_0x5e306e(0x124)](this),localStorage[_0x5e306e(0x1cc)](_0x5e306e(0x11f),''+new Date()['getTime']());}}else localStorage[_0x5e306e(0x1cc)](_0x5e306e(0x11f),''+new Date()[_0x5e306e(0x1d9)]());(!_0x3c7a9c||_0x372f58||n(this,re,Qe)[_0x5e306e(0x124)](this))&&(n(this,ce,Ze)[_0x5e306e(0x124)](this),yield n(this,C,Q)[_0x5e306e(0x124)](this),yield n(this,ie,Xe)[_0x5e306e(0x124)](this)),d(_0x5e306e(0x125),!0x1),m('Checking\x20TTL',!0x1);});},v=new WeakSet(),T=function(_0x30acf6,_0x501578,_0x46ecd6,_0x57c4c6,_0x8e49e6){return c(this,null,function*(){const _0x57386b=_0x3479;yield R(_0x57386b(0x1d6),()=>c(this,null,function*(){const _0x3cc42f=_0x57386b;var _0x5e2a5e;p(0x1,_0x3cc42f(0x153)),m(_0x3cc42f(0x1b1),!0x0),d('Recording\x20event\x20Time',!0x0),p(0x1,'Event\x20Payload'),p(0x1,{'campaignCustomerInstanceId':_0x57c4c6,'eventName':_0x30acf6,'eventProperties':_0x501578,'name':_0x8e49e6}),_0x30acf6!==_0x3cc42f(0x1e1)&&(yield n(this,L,V)[_0x3cc42f(0x124)](this));let _0x10c35e=[];_0x501578&&_0x10c35e[_0x3cc42f(0x1e2)](..._0x501578),_0x10c35e[_0x3cc42f(0x1e2)]({'eventProperty':_0x3cc42f(0x181),'value':I(this,U)}),_0x10c35e[_0x3cc42f(0x1e2)]({'eventProperty':'operating-system','value':I(this,B)}),_0x10c35e[_0x3cc42f(0x1e2)]({'eventProperty':_0x3cc42f(0x10f),'value':I(this,$)});let _0x47ce49=n(this,Ie,ct)[_0x3cc42f(0x124)](this),_0xad31dc=n(this,ve,lt)[_0x3cc42f(0x124)](this,_0x47ce49,_0x30acf6,_0x10c35e);if(typeof _0xad31dc==_0x3cc42f(0x15f)){p(0x2,_0xad31dc);return;}n(this,_,X)['call'](this);let {id:_0x2a9940}=_0x47ce49[_0x30acf6],_0x5c7444=n(this,ye,gt)[_0x3cc42f(0x124)](this,M(Re(M(M({},_0x57c4c6?{'campaignCustomerInstanceId':_0x57c4c6}:{}),_0x46ecd6?{'campaignId':_0x46ecd6}:{}),{'eventId':_0x2a9940,'eventProperties':_0xad31dc,'sessionId':localStorage['getItem'](_0x3cc42f(0x179))||''}),_0x8e49e6?{'name':_0x8e49e6}:{}));if(g['offline']){let _0x171302=JSON['parse'](localStorage['getItem'](_0x3cc42f(0x167))||'[]');_0x171302[_0x3cc42f(0x171)]<=0x32&&(_0x171302[_0x3cc42f(0x1e2)](..._0x5c7444[_0x3cc42f(0x16d)]),localStorage[_0x3cc42f(0x1cc)](_0x3cc42f(0x167),JSON['stringify'](_0x171302)));return;}let _0x2f698e=yield n(this,H,Fe)[_0x3cc42f(0x124)](this,_0x5c7444);(_0x5e2a5e=_0x2f698e==null?void 0x0:_0x2f698e[_0x3cc42f(0x1c2)])==null||_0x5e2a5e[_0x3cc42f(0x173)](_0x1f1c4e=>{const _0x3480df=_0x3cc42f;n(this,Te,pt)[_0x3480df(0x124)](this,_0x1f1c4e[_0x3480df(0x174)][_0x3480df(0x18b)])&&(n(this,fe,ut)[_0x3480df(0x124)](this,_0x1f1c4e),I(this,ae)[_0x3480df(0x124)](this),n(this,j,De)[_0x3480df(0x124)](this,_0x1f1c4e[_0x3480df(0x15e)]));}),d(_0x3cc42f(0x1d4),!0x1),m(_0x3cc42f(0x1b1),!0x1);}));});},te=new WeakSet(),He=function(){const _0x31f780=_0x4d949b;let _0x2af937=navigator['userAgent']['toLowerCase']();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0x31f780(0x1c1)](_0x2af937)?_0x31f780(0x18c):/windows|macintosh|linux|x11/i['test'](_0x2af937)?_0x31f780(0x1b8):_0x31f780(0x1b0);},ne=new WeakSet(),qe=function(){const _0x31b616=_0x4d949b;let _0x353b81=navigator[_0x31b616(0x14b)],_0x4f34ed;return _0x353b81[_0x31b616(0x16e)](_0x31b616(0x129))>-0x1?_0x4f34ed=_0x31b616(0x15c):_0x353b81['indexOf'](_0x31b616(0x11a))>-0x1?_0x4f34ed=_0x31b616(0x11a):_0x353b81[_0x31b616(0x16e)]('Firefox')>-0x1?_0x4f34ed='Mozilla\x20Firefox':_0x353b81[_0x31b616(0x16e)](_0x31b616(0x133))>-0x1?_0x4f34ed=_0x31b616(0x144):_0x353b81[_0x31b616(0x16e)]('MSIE')>-0x1?_0x4f34ed=_0x31b616(0x140):_0x4f34ed='Unknown',_0x4f34ed;},J=new WeakSet(),Ue=function(){return c(this,null,function*(){const _0x4ea7e2=_0x3479;try{yield h[_0x4ea7e2(0x13f)](_0x4ea7e2(0x127));}catch(_0x39fccc){throw g['disableSDK']=!0x0,_0x39fccc[_0x4ea7e2(0x174)];}});},K=new WeakSet(),Ce=function(){return c(this,null,function*(){const _0x1b409c=_0x3479;var _0x5e392c;p(0x1,'Tracking\x20page\x20change'),m(_0x1b409c(0x146),!0x0),d(_0x1b409c(0x186),!0x0);let _0x37bc6d=(_0x5e392c=window==null?void 0x0:window['location'])==null?void 0x0:_0x5e392c[_0x1b409c(0x1df)];if(_0x37bc6d!==I(this,k)){O(this,k,_0x37bc6d);let _0x5c2e9d=[];new URLSearchParams(new URL(window[_0x1b409c(0x1e0)]['href'])[_0x1b409c(0x137)])['forEach']((_0x1917bd,_0x236dbe)=>c(this,null,function*(){Je['has'](_0x236dbe)&&_0x5c2e9d['push']({'eventProperty':_0x236dbe,'value':_0x1917bd});})),yield n(this,v,T)[_0x1b409c(0x124)](this,_0x1b409c(0x111),[{'eventProperty':_0x1b409c(0x1c3),'value':window[_0x1b409c(0x1e0)]['pathname']},..._0x5c2e9d]);}d('Tracking\x20page\x20change\x20Time',!0x1),m(_0x1b409c(0x146),!0x1);});},oe=new WeakSet(),Ye=function(_0x4fbbb7){const _0x28adff=_0x4d949b;h[_0x28adff(0x19c)](_0x4fbbb7),O(this,U,navigator[_0x28adff(0x14b)]),O(this,$,n(this,ne,qe)[_0x28adff(0x124)](this)),O(this,B,n(this,te,He)[_0x28adff(0x124)](this));},re=new WeakSet(),Qe=function(){const _0x16f2ab=_0x4d949b;return!localStorage[_0x16f2ab(0x165)](_0x16f2ab(0x16d))||!localStorage[_0x16f2ab(0x165)](_0x16f2ab(0x13d))||!localStorage[_0x16f2ab(0x165)]('attributes')||!localStorage[_0x16f2ab(0x165)](_0x16f2ab(0x16a))||!localStorage[_0x16f2ab(0x165)](_0x16f2ab(0x179))||!localStorage[_0x16f2ab(0x165)](_0x16f2ab(0x13d));},ie=new WeakSet(),Xe=function(){return c(this,null,function*(){const _0x56c15d=_0x3479;yield n(this,le,et)[_0x56c15d(0x124)](this),yield n(this,W,_e)[_0x56c15d(0x124)](this),yield n(this,C,Q)[_0x56c15d(0x124)](this);});},ae=new WeakMap(),z=new WeakMap(),se=new WeakMap(),ce=new WeakSet(),Ze=function(){const _0x201576=_0x4d949b;let _0x3cfbd4=localStorage['getItem'](_0x201576(0x16a));return _0x3cfbd4||(_0x3cfbd4=crypto['randomUUID'](),localStorage['setItem'](_0x201576(0x16a),_0x3cfbd4)),_0x3cfbd4;},le=new WeakSet(),et=function(){return c(this,null,function*(){const _0x869d52=_0x3479;if(!localStorage[_0x869d52(0x165)](_0x869d52(0x16d))){let _0x16e22=(yield n(this,ge,tt)['call'](this))[_0x869d52(0x1c2)];_0x16e22&&localStorage[_0x869d52(0x1cc)](_0x869d52(0x16d),JSON[_0x869d52(0x183)](_0x16e22));}});},ge=new WeakSet(),tt=function(){return c(this,null,function*(){const _0x11c631=_0x3479;try{return yield h['get'](''+Ne);}catch(_0x3994a0){throw new Error(_0x11c631(0x1ca));}});},W=new WeakSet(),_e=function(){return c(this,null,function*(){const _0x3bfbd3=_0x3479;if(!localStorage['getItem'](_0x3bfbd3(0x1aa))){let _0x3bd02f=(yield n(this,pe,nt)[_0x3bfbd3(0x124)](this))[_0x3bfbd3(0x1c2)];_0x3bd02f&&localStorage[_0x3bfbd3(0x1cc)](_0x3bfbd3(0x1aa),JSON['stringify'](_0x3bd02f));}});},pe=new WeakSet(),nt=function(){return c(this,null,function*(){try{return yield h['get'](''+be);}catch(_0x44e4d4){throw new Error('Error\x20fetching\x20attribute\x20data');}});},C=new WeakSet(),Q=function(_0x46064d){return c(this,null,function*(){const _0x516577=_0x3479;localStorage[_0x516577(0x165)](_0x516577(0x179))||(localStorage['setItem'](_0x516577(0x179),crypto[_0x516577(0x198)]()),yield n(this,v,T)[_0x516577(0x124)](this,_0x516577(0x145),[{'eventProperty':_0x516577(0x12d),'value':localStorage[_0x516577(0x165)]('session')},{'eventProperty':_0x516577(0x12a),'value':new Date(parseInt(localStorage[_0x516577(0x165)]('ttl')||'',0xa))['toISOString']()}]));let _0x5d79a7={'deviceId':localStorage[_0x516577(0x165)](_0x516577(0x16a))||crypto[_0x516577(0x198)](),'os':I(this,U)};if(_0x46064d)_0x5d79a7['identity']=_0x46064d;else{if(!_0x46064d&&localStorage['getItem'](_0x516577(0x13d)))return;}try{let _0x5ac9b6=yield n(this,ue,ot)[_0x516577(0x124)](this,_0x5d79a7);_0x5ac9b6!==void 0x0&&localStorage[_0x516577(0x1cc)]('customer',_0x5ac9b6);}catch(_0x579168){throw new Error(_0x516577(0x14a));}});},_=new WeakSet(),X=function(){const _0x24bb18=_0x4d949b;localStorage[_0x24bb18(0x1cc)](_0x24bb18(0x11f),''+new Date()[_0x24bb18(0x1d9)]());},ue=new WeakSet(),ot=function(_0xa5fa52){return c(this,null,function*(){const _0x448695=_0x3479;try{return(yield h['post'](''+We+je,_0xa5fa52))[_0x448695(0x1c2)];}catch(_0x4c62f1){throw new Error(_0x448695(0x149));}});},j=new WeakSet(),De=function(_0x1724f1){const _0x200888=_0x4d949b;let _0x36813a=n(this,Ee,rt)[_0x200888(0x124)](this);if(_0x36813a!=null&&_0x36813a[_0x1724f1])switch(_0x36813a[_0x1724f1][_0x200888(0x147)]){case _0x200888(0x191):{n(this,me,at)[_0x200888(0x124)](this,_0x36813a[_0x1724f1]);break;}case'IMMEDIATELY':{n(this,D,Z)[_0x200888(0x124)](this,_0x36813a[_0x1724f1]);break;}case'SCROLL':{n(this,de,it)[_0x200888(0x124)](this,_0x36813a[_0x1724f1]);break;}default:return;}},Ee=new WeakSet(),rt=function(){const _0x193a80=_0x4d949b;let _0x3d6fe2=localStorage[_0x193a80(0x165)]('action');return _0x3d6fe2?JSON[_0x193a80(0x150)](_0x3d6fe2):null;},de=new WeakSet(),it=function(_0x4d0b36){const _0x3ed88a=_0x4d949b;let _0x19f88c=()=>{const _0x47eb40=_0x3479;var _0xc88b65,_0x50bf4d;let _0x4d35e7=window[_0x47eb40(0x1de)],_0x47fbe9=document[_0x47eb40(0x116)][_0x47eb40(0x138)],_0x97168d=window[_0x47eb40(0x197)]/(_0x47fbe9-_0x4d35e7)*0x64;console[_0x47eb40(0x128)](_0x47eb40(0x11e),_0x97168d),console[_0x47eb40(0x128)](_0x47eb40(0x172),(_0xc88b65=_0x4d0b36[_0x47eb40(0x12b)])==null?void 0x0:_0xc88b65['value']),_0x97168d>(((_0x50bf4d=_0x4d0b36[_0x47eb40(0x12b)])==null?void 0x0:_0x50bf4d[_0x47eb40(0x189)])||0x0)&&(window[_0x47eb40(0x1db)]('scroll',_0x19f88c),console['log'](_0x47eb40(0x1b9)),n(this,D,Z)['call'](this,_0x4d0b36));};window[_0x3ed88a(0x19f)](_0x3ed88a(0x1c6),_0x19f88c);},me=new WeakSet(),at=function(_0x114a41){const _0x39d50d=_0x4d949b;var _0x84b024;let _0x507098=_0x114a41[_0x39d50d(0x1a9)]-0x1f4+(((_0x84b024=_0x114a41[_0x39d50d(0x12b)])==null?void 0x0:_0x84b024[_0x39d50d(0x189)])||0x0)*0x3e8-new Date()[_0x39d50d(0x1d9)]();_0x507098>0x0&&_0x114a41['page']===window[_0x39d50d(0x1e0)]['hostname']+window[_0x39d50d(0x1e0)][_0x39d50d(0x1dd)]&&setTimeout(()=>{const _0x314ddf=_0x39d50d;I(this,z)[_0x314ddf(0x124)](this,_0x114a41['campaignId']),n(this,D,Z)[_0x314ddf(0x124)](this,_0x114a41);},_0x507098);},D=new WeakSet(),Z=function(_0x413486){const _0x2e790e=_0x4d949b;let _0x2a1bf1=n(this,Se,st)['call'](this,_0x2e790e(0x114),_0x413486);document['body']['appendChild'](_0x2a1bf1),n(this,v,T)['call'](this,N,[{'eventProperty':'Popup\x20View','value':JSON[_0x2e790e(0x183)]({'campaignId':_0x413486[_0x2e790e(0x15e)]})}],_0x413486[_0x2e790e(0x15e)],_0x413486[_0x2e790e(0x1a7)],'view'),I(this,z)['call'](this,_0x413486[_0x2e790e(0x15e)]);},Se=new WeakSet(),st=function(_0x590cfa,_0x1d98be){const _0x3e1455=_0x4d949b;var _0x4d6ed8;let {campaignCustomerInstanceId:_0x5c98fe,campaignId:_0x32185f,message:{design:_0x35560e}}=_0x1d98be,_0x9303a0=document[_0x3e1455(0x192)](_0x590cfa);_0x9303a0['id']='popup_container_'+_0x32185f,_0x9303a0[_0x3e1455(0x1b6)]=_0x35560e,_0x9303a0['style'][_0x3e1455(0x135)]=_0x3e1455(0x1af),_0x9303a0[_0x3e1455(0x12e)][_0x3e1455(0x18f)]='0',_0x9303a0['style']['left']='0',_0x9303a0[_0x3e1455(0x12e)][_0x3e1455(0x1ba)]=_0x3e1455(0x169),_0x9303a0['style'][_0x3e1455(0x1d1)]='100%',_0x9303a0['style'][_0x3e1455(0x136)]=_0x3e1455(0x14c);let _0x45201c=_0x9303a0[_0x3e1455(0x1d2)](_0x3e1455(0x1d5));return _0x45201c&&(_0x45201c[_0x3e1455(0x12e)][_0x3e1455(0x136)]='50'),_0x9303a0['querySelectorAll']('[id^=\x22u_content_form_\x22]')[_0x3e1455(0x173)](_0x4d3d07=>{const _0x36ee0b=_0x3e1455;let _0x4bfb76=_0x4d3d07[_0x36ee0b(0x1d2)](_0x36ee0b(0x134));_0x4bfb76&&_0x4bfb76[_0x36ee0b(0x19f)]('submit',()=>c(this,null,function*(){const _0x4ba7ac=_0x36ee0b;_0x9303a0[_0x4ba7ac(0x139)]();let _0x4e469a=new FormData(_0x4bfb76),_0x1e2331={};for(let [_0x20e8ed,_0x2c00fc]of _0x4e469a[_0x4ba7ac(0x163)]())_0x1e2331[_0x20e8ed]=_0x2c00fc;yield n(this,v,T)[_0x4ba7ac(0x124)](this,N,[{'eventProperty':'Form\x20Submit','value':JSON[_0x4ba7ac(0x183)]({'campaignId':_0x32185f,'formId':_0x4d3d07['id'],'formValues':_0x1e2331})}],_0x32185f,_0x5c98fe,_0x4ba7ac(0x134));}));}),(_0x4d6ed8=_0x9303a0[_0x3e1455(0x1d2)](_0x3e1455(0x11d)))==null||_0x4d6ed8[_0x3e1455(0x19f)](_0x3e1455(0x1b7),()=>c(this,null,function*(){const _0xfa2c9c=_0x3e1455;_0x9303a0['remove'](),yield n(this,v,T)[_0xfa2c9c(0x124)](this,N,[{'eventProperty':'Close\x20Click','value':JSON['stringify']({'campaignId':_0x32185f})}],_0x32185f,_0x5c98fe,'close');})),_0x9303a0[_0x3e1455(0x1a5)](_0x3e1455(0x190))[_0x3e1455(0x173)](_0x102649=>{const _0x1f5287=_0x3e1455;_0x102649['addEventListener'](_0x1f5287(0x1b7),()=>c(this,null,function*(){const _0x3fc590=_0x1f5287;_0x9303a0[_0x3fc590(0x139)](),yield n(this,v,T)[_0x3fc590(0x124)](this,N,[{'eventProperty':_0x3fc590(0x177),'value':JSON['stringify']({'buttonId':_0x102649['id'],'campaignId':_0x32185f})}],_0x32185f,_0x5c98fe,_0x3fc590(0x1b7));}));}),_0x9303a0[_0x3e1455(0x1a5)](_0x3e1455(0x1a2))[_0x3e1455(0x173)](_0x5ce356=>{const _0x535b5b=_0x3e1455;_0x5ce356['addEventListener'](_0x535b5b(0x1b7),()=>c(this,null,function*(){const _0x2359af=_0x535b5b;yield n(this,v,T)[_0x2359af(0x124)](this,N,[{'eventProperty':_0x2359af(0x1da),'value':JSON[_0x2359af(0x183)]({'campaignId':_0x32185f,'imageClassName':_0x5ce356[_0x2359af(0x1a0)],'imageId':_0x5ce356['id']})}],_0x32185f,_0x5c98fe,'click');}));}),_0x9303a0;},Ie=new WeakSet(),ct=function(){const _0x3aacf2=_0x4d949b;let _0x12f671=localStorage['getItem']('events');return _0x12f671?JSON[_0x3aacf2(0x150)](_0x12f671):{};},ve=new WeakSet(),lt=function(_0x32a8d7,_0x13c949,_0x292475){const _0x21adfd=_0x4d949b;if(!Object['prototype'][_0x21adfd(0x17b)][_0x21adfd(0x124)](_0x32a8d7,_0x13c949))return _0x21adfd(0x1be)+_0x13c949+'\x20is\x20not\x20valid.';if(!_0x292475)return[];let _0x34fab1=_0x32a8d7[_0x13c949];if(!(_0x34fab1!=null&&_0x34fab1[_0x21adfd(0x1c7)]))return _0x21adfd(0x1be)+_0x13c949+_0x21adfd(0x1d7);let _0xd10e06=_0x292475[_0x21adfd(0x15b)](({eventProperty:_0x47d432})=>!Object[_0x21adfd(0x1c8)][_0x21adfd(0x17b)][_0x21adfd(0x124)](_0x34fab1['eventProperty'],_0x47d432))[_0x21adfd(0x151)](({eventProperty:_0x36bed1})=>_0x36bed1);return _0xd10e06[_0x21adfd(0x171)]>0x0?_0x21adfd(0x1be)+_0x13c949+_0x21adfd(0x1ab)+_0xd10e06[_0x21adfd(0x1a4)](',\x20')+'.':_0x292475[_0x21adfd(0x151)](({eventProperty:_0xe82457,value:_0x4d34d4})=>({'eventPropertyId':_0x34fab1[_0x21adfd(0x1c7)][_0xe82457]['id'],'value':_0x4d34d4}));},G=new WeakSet(),xe=function(_0x3144cf,_0x1649bb,_0x16c303){const _0x26054e=_0x4d949b;if(!Object[_0x26054e(0x1c8)][_0x26054e(0x17b)][_0x26054e(0x124)](_0x3144cf,_0x1649bb))return'Attribute\x20'+_0x1649bb+_0x26054e(0x17d);if(!_0x16c303)return[];let _0x2bf7f4=_0x3144cf[_0x1649bb];if(!(_0x2bf7f4!=null&&_0x2bf7f4[_0x26054e(0x12c)]))return _0x26054e(0x1bf)+_0x1649bb+'\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.';let _0x97b628=_0x16c303[_0x26054e(0x15b)](({attributeProperty:_0x55485f})=>!Object[_0x26054e(0x1c8)][_0x26054e(0x17b)][_0x26054e(0x124)](_0x2bf7f4[_0x26054e(0x12c)],_0x55485f))[_0x26054e(0x151)](({attributeProperty:_0x5d2c58})=>_0x5d2c58);return _0x97b628['length']>0x0?_0x26054e(0x1bf)+_0x1649bb+_0x26054e(0x13c)+_0x97b628['join'](',\x20')+'.':_0x16c303['map'](({attributeProperty:_0x529ea6,value:_0x26974d})=>({'attributePropertyId':_0x2bf7f4['attributeProperty'][_0x529ea6]['id'],'value':_0x26974d}));},ye=new WeakSet(),gt=function(_0x5c8c3a){const _0xbce1ff=_0x4d949b;return{'customerId':localStorage['getItem'](_0xbce1ff(0x13d))||'','events':[_0x5c8c3a]};},H=new WeakSet(),Fe=function(_0x4c33ea){return c(this,null,function*(){const _0x34889e=_0x3479;try{return yield h[_0x34889e(0x157)](''+Ne+ze,_0x4c33ea);}catch(_0x18044f){throw new Error(_0x34889e(0x1bb));}});},Te=new WeakSet(),pt=function(_0x532ffe){const _0x40a45c=_0x4d949b;return _0x532ffe===_0x40a45c(0x13a);},fe=new WeakSet(),ut=function(_0x159e06){const _0x1bd7c9=_0x4d949b;let _0x5c618d=JSON[_0x1bd7c9(0x150)](localStorage['getItem'](_0x1bd7c9(0x121))||'{}');_0x5c618d[_0x159e06[_0x1bd7c9(0x15e)]]=Re(M({},_0x159e06),{'initialTime':new Date()[_0x1bd7c9(0x1d9)](),'page':window[_0x1bd7c9(0x1e0)][_0x1bd7c9(0x132)]+window[_0x1bd7c9(0x1e0)][_0x1bd7c9(0x1dd)]}),localStorage[_0x1bd7c9(0x1cc)](_0x1bd7c9(0x121),JSON[_0x1bd7c9(0x183)](_0x5c618d));},q=new WeakSet(),Me=function(){const _0x4af900=_0x4d949b;localStorage[_0x4af900(0x1b3)]('action'),localStorage[_0x4af900(0x1b3)](_0x4af900(0x16d)),localStorage['removeItem']('attributes'),localStorage['removeItem'](_0x4af900(0x167)),localStorage['removeItem']('ttl'),localStorage[_0x4af900(0x1b3)]('session');},he=new WeakSet(),Et=function(){return c(this,null,function*(){const _0x2c07a1=_0x3479;localStorage[_0x2c07a1(0x165)](_0x2c07a1(0x1aa))||(yield n(this,W,_e)[_0x2c07a1(0x124)](this));});},Oe=new WeakSet(),dt=function(_0x1d8428){return c(this,null,function*(){const _0x535450=_0x3479;try{return yield h[_0x535450(0x157)](''+be+Ke,_0x1d8428);}catch(_0x54c70d){throw new Error('Error\x20posting\x20attribute\x20record');}});},a(w,P,void 0x0);var Pe=w,Ve=Pe[_0x4d949b(0x175)]();typeof window!=_0x4d949b(0x188)&&(window[_0x4d949b(0x1c9)]=Ve);function _0x2529(){const _0x1675c2=['width','Error\x20posting\x20event\x20record','Cannot\x20','9rqTSYD','Event\x20','Attribute\x20','utm_medium','test','data','URL','application/json','/set-identity','scroll','eventProperty','prototype','mergn','Error\x20fetching\x20event\x20data','1301992xpZbce','setItem','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','#\x20recordAttribute','values','apiKey','height','querySelector','group','Recording\x20event\x20Time','.u-popup-container','#\x20record\x20event','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','413128ZvREog','getTime','Image\x20Click','removeEventListener','UTM_CONTENT','pathname','innerHeight','href','location','Web\x20Session\x20Concluded','push','Mergn\x20is\x20offline!','UTM_MEDIUM','next','os-version','page','Viewed\x20Webpage','info','getOwnPropertySymbols','div','isArray','documentElement','json','Event\x20Payload:\x0a\x20','Logging\x20out','Safari','/set-attribute','Mergn\x20not\x20initialized!','.u-close-button','🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:','ttl','logout','action','UTM_CAMPAIGN','/attribute','call','Checking\x20TTL\x20Time','Popup\x20Action','/brand','log','Chrome','SESSION_CREATED','campaignEntryTimeValue','attributeProperty','SESSION_ID','style','\x0aUnexpected\x20error:\x20','Logging\x20in\x20Time','ERROR','hostname','Edg','form','position','zIndex','search','scrollHeight','remove','Popup','9PqgoYl','\x20has\x20invalid\x20attributeProperties:\x20','customer','Mergn\x20SDK\x20is\x20disabled!','get','Internet\x20Explorer','write\x20to\x20private\x20field','beforeunload','setDebugLevel','Microsoft\x20Edge','Web\x20Session\x20Started','Tracking\x20page\x20change','campaignEntryTime','187019AiPBVg','Error\x20posting\x20identity\x20data','Error\x20setting\x20identity','userAgent','99999999','/event','utm_term','1346676DMZfUf','parse','map','Logging\x20in','#\x20Recording\x20event','ALL','4198290FEnGYl','time','post','done','POST','login','filter','Google\x20Chrome','Recording\x20attribute','campaignId','string','recordAttribute','throw','347202GYPeFG','entries','add','getItem','utm_campaign','offlineEvents','apply','100%','uniqueIdentity','has','utm_source','events','indexOf','resolve','disableSDK','length','🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:','forEach','message','getInstance','then','Button\x20Click','defineProperties','session','isInitialized','hasOwnProperty','214792CrlaPr','\x20is\x20not\x20valid.','/record-event','propertyIsEnumerable','/customer','Platform','\x0aMergnError:\x20','stringify','toISOString','read\x20from\x20private\x20field','Tracking\x20page\x20change\x20Time','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','undefined','value','Recording\x20attribute\x20Time','name','Mobile','Logging\x20out\x20Time','timeEnd','top','[id^=\x22u_content_button_\x22]','DELAY','createElement','offline','debugLevel','5wnwOwr','INFO','scrollY','randomUUID','Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203','record\x20event','143tOrRUu','updateAPIKey','init','Initializing\x20Mergn\x20SDK','addEventListener','className','NONE','.u-popup-container\x20img','UTM_TERM','join','querySelectorAll','176CToEYu','campaignCustomerInstanceId','error','initialTime','attributes','\x20has\x20invalid\x20eventProperties:\x20','set','groupEnd','recordEvent','fixed','Unknown','Recording\x20event','access\x20private\x20method','removeItem','Checking\x20TTL','MergnError','innerHTML','click','Web','called\x202'];_0x2529=function(){return _0x1675c2;};return _0x2529();}var En=Ve;export{En as default};
|