mergn-webapp-sdk 1.0.10 → 1.0.11

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.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2a85c8=_0x292b;(function(_0x10d54d,_0x7888eb){const _0x43a958=_0x292b,_0x3c5db0=_0x10d54d();while(!![]){try{const _0xfea2d6=parseInt(_0x43a958(0x1c1))/0x1*(parseInt(_0x43a958(0x17d))/0x2)+parseInt(_0x43a958(0x1c6))/0x3*(-parseInt(_0x43a958(0x21b))/0x4)+parseInt(_0x43a958(0x24f))/0x5*(-parseInt(_0x43a958(0x179))/0x6)+-parseInt(_0x43a958(0x22b))/0x7+-parseInt(_0x43a958(0x180))/0x8+parseInt(_0x43a958(0x1e3))/0x9*(parseInt(_0x43a958(0x1a8))/0xa)+parseInt(_0x43a958(0x219))/0xb;if(_0xfea2d6===_0x7888eb)break;else _0x3c5db0['push'](_0x3c5db0['shift']());}catch(_0x49352c){_0x3c5db0['push'](_0x3c5db0['shift']());}}}(_0x2ccf,0x64704));var xt=Object[_0x2a85c8(0x18f)],_=Object['defineProperty'],Ct=Object[_0x2a85c8(0x21e)],_t=Object[_0x2a85c8(0x216)],Ft=Object[_0x2a85c8(0x252)],Mt=Object[_0x2a85c8(0x254)],Ge=Object[_0x2a85c8(0x230)],$t=Object[_0x2a85c8(0x1ea)],He=Object[_0x2a85c8(0x1e9)][_0x2a85c8(0x22e)],Vt=Object[_0x2a85c8(0x1e9)]['propertyIsEnumerable'],je=(_0x5d77f7,_0x1aac74,_0x15e114)=>_0x1aac74 in _0x5d77f7?_(_0x5d77f7,_0x1aac74,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15e114}):_0x5d77f7[_0x1aac74]=_0x15e114,F=(_0x519528,_0x114ae1)=>{const _0x252c2c=_0x2a85c8;for(var _0x480f91 in _0x114ae1||(_0x114ae1={}))He[_0x252c2c(0x1ec)](_0x114ae1,_0x480f91)&&je(_0x519528,_0x480f91,_0x114ae1[_0x480f91]);if(Ge){for(var _0x480f91 of Ge(_0x114ae1))Vt[_0x252c2c(0x1ec)](_0x114ae1,_0x480f91)&&je(_0x519528,_0x480f91,_0x114ae1[_0x480f91]);}return _0x519528;},Ue=(_0x4d0c21,_0x52dc58)=>Ct(_0x4d0c21,Ft(_0x52dc58)),Bt=(_0x25cc8d,_0x414a97)=>{for(var _0x88f4b4 in _0x414a97)_(_0x25cc8d,_0x88f4b4,{'get':_0x414a97[_0x88f4b4],'enumerable':!0x0});},Qe=(_0xf67feb,_0x3c5b90,_0x1d7608,_0x5f563f)=>{const _0x53fb6a=_0x2a85c8;if(_0x3c5b90&&typeof _0x3c5b90==_0x53fb6a(0x203)||typeof _0x3c5b90==_0x53fb6a(0x213)){for(let _0x13445f of Mt(_0x3c5b90))!He[_0x53fb6a(0x1ec)](_0xf67feb,_0x13445f)&&_0x13445f!==_0x1d7608&&_(_0xf67feb,_0x13445f,{'get':()=>_0x3c5b90[_0x13445f],'enumerable':!(_0x5f563f=_t(_0x3c5b90,_0x13445f))||_0x5f563f[_0x53fb6a(0x23b)]});}return _0xf67feb;},qe=(_0x37cfb3,_0x457446,_0x4830d2)=>(_0x4830d2=_0x37cfb3!=null?xt($t(_0x37cfb3)):{},Qe(_0x457446||!_0x37cfb3||!_0x37cfb3[_0x2a85c8(0x187)]?_(_0x4830d2,'default',{'value':_0x37cfb3,'enumerable':!0x0}):_0x4830d2,_0x37cfb3)),kt=_0x199ec6=>Qe(_({},_0x2a85c8(0x187),{'value':!0x0}),_0x199ec6),xe=(_0xd2b4b5,_0x7292f1,_0x4f5ecf)=>{if(!_0x7292f1['has'](_0xd2b4b5))throw TypeError('Cannot\x20'+_0x4f5ecf);},p=(_0x1d5243,_0xd28f6e,_0xd33e0c)=>(xe(_0x1d5243,_0xd28f6e,_0x2a85c8(0x1ef)),_0xd33e0c?_0xd33e0c['call'](_0x1d5243):_0xd28f6e['get'](_0x1d5243)),a=(_0x4b5fb2,_0x3fd149,_0x268ffb)=>{const _0x4721be=_0x2a85c8;if(_0x3fd149[_0x4721be(0x1f2)](_0x4b5fb2))throw TypeError(_0x4721be(0x19a));_0x3fd149 instanceof WeakSet?_0x3fd149[_0x4721be(0x1fc)](_0x4b5fb2):_0x3fd149['set'](_0x4b5fb2,_0x268ffb);},v=(_0xa726b0,_0x868dc7,_0x1363b9,_0x1c1642)=>(xe(_0xa726b0,_0x868dc7,_0x2a85c8(0x192)),_0x1c1642?_0x1c1642['call'](_0xa726b0,_0x1363b9):_0x868dc7[_0x2a85c8(0x20d)](_0xa726b0,_0x1363b9),_0x1363b9),Ye=(_0x528670,_0x1120ed,_0x4117c3,_0x58021e)=>({set '_'(_0x3b2c77){v(_0x528670,_0x1120ed,_0x3b2c77,_0x4117c3);},get '_'(){return p(_0x528670,_0x1120ed,_0x58021e);}}),n=(_0x1c42c7,_0xe9d996,_0x4e973e)=>(xe(_0x1c42c7,_0xe9d996,_0x2a85c8(0x18c)),_0x4e973e),c=(_0x46297a,_0x145d9e,_0x11fcb1)=>new Promise((_0x3a4487,_0x267d3a)=>{const _0x148b82=_0x2a85c8;var _0xa675f2=_0x1a5049=>{const _0x5344a9=_0x292b;try{_0x23caae(_0x11fcb1[_0x5344a9(0x233)](_0x1a5049));}catch(_0x13257c){_0x267d3a(_0x13257c);}},_0x35b020=_0x85d953=>{const _0x45caa4=_0x292b;try{_0x23caae(_0x11fcb1[_0x45caa4(0x17e)](_0x85d953));}catch(_0x7e5db2){_0x267d3a(_0x7e5db2);}},_0x23caae=_0x3b39ed=>_0x3b39ed[_0x148b82(0x1a4)]?_0x3a4487(_0x3b39ed[_0x148b82(0x1dc)]):Promise[_0x148b82(0x210)](_0x3b39ed[_0x148b82(0x1dc)])['then'](_0xa675f2,_0x35b020);_0x23caae((_0x11fcb1=_0x11fcb1[_0x148b82(0x1d3)](_0x46297a,_0x145d9e))[_0x148b82(0x233)]());}),Wt={};function _0x292b(_0x1a19ae,_0x322d2d){const _0x2ccfe4=_0x2ccf();return _0x292b=function(_0x292b7e,_0x4bee3a){_0x292b7e=_0x292b7e-0x178;let _0x5bddba=_0x2ccfe4[_0x292b7e];return _0x5bddba;},_0x292b(_0x1a19ae,_0x322d2d);}function _0x2ccf(){const _0x1711cb=['headers','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','action','2BeHRVn','throw','map','2131680YolxIO','🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:','recordAttribute','time','attributes','utm_medium','Initializing\x20Mergn\x20SDK','__esModule','Edg','setItem','Tracking\x20page\x20change','view','access\x20private\x20method','campaignEntryTimeValue','toISOString','create','response','Recording\x20attribute','write\x20to\x20private\x20field','stringify','campaignEntryTime','showErrorLog','os-version','Web\x20Session\x20Concluded','indexOf','#\x20Recording\x20event','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','/set-identity','getItem','location','INFO:\x20','\x0aHTTP\x20Status:\x20','setDebugLevel','uniqueIdentity','ttl','UTM_MEDIUM','done','page','isArray','group','120VoLjXM','URL','Chrome','debugLevel','brand','data','Viewed\x20Webpage','Logging\x20out\x20Time','MergnError','get','querySelector','application/json','filter','Max\x20retries\x20reached.\x20Disabling\x20SDK.','scroll','status','attributeProperty','Logging\x20in','/record-event','campaignId','Mozilla\x20Firefox','Platform','scrollHeight','utm_source','/set-attribute','57607gmLfbP','form','getInstance','MSIE','INFO','4497oljpIf','length','click','forEach','appendChild','Error\x20posting\x20attribute\x20record','/event','exports','Web','Recording\x20event','Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203','innerHeight','session','apply','init','removeEventListener','Recording\x20attribute\x20Time','/customer','.u-popup-container\x20img','called\x202','campaignCustomerInstanceId','remove','value','Popup\x20Action','Web\x20Session\x20Started','keys','disableSDK','/attribute','default','90513Kckrrz','Firefox','Recording\x20event\x20Time','ERROR','AxiosError','scrollY','prototype','getPrototypeOf','post','call','timeEnd','Checking\x20TTL\x20Time','read\x20from\x20private\x20field','toLowerCase','common','has','Error\x20fetching\x20attribute\x20data','string','join','UTM_CONTENT','groupEnd','record\x20event','div','Mergn\x20not\x20initialized!','UTM_CAMPAIGN','add','removeItem','search','ALL','logout','request','SESSION_ID','object','#\x20record\x20event','entries','eventProperty','Popup','Error\x20posting\x20event\x20record','initialTime','NONE','\x0aError\x20setting\x20up\x20the\x20request:\x20','href','set','Attribute\x20','test','resolve','pathname','close','function','documentElement','utm_campaign','getOwnPropertyDescriptor','Tracking\x20page\x20change\x20Time','zIndex','16594974DGJcVm','events','1924gvTrfK','operating-system','push','defineProperties','updateAPIKey','Google\x20Chrome','name','Event\x20','\x20is\x20not\x20valid.','ERROR:\x20','hostname','isInitialized','Checking\x20TTL','identity','error','utm_content','1820000pyZkDx','\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.','#\x20recordAttribute','hasOwnProperty','Logging\x20out','getOwnPropertySymbols','Identity:\x20','info','next','Microsoft\x20Edge','Authorization','Unknown','Mergn\x20SDK\x20Initialization\x20Time','offlineEvents','.u-close-button','login','enumerable','Safari','querySelectorAll','OriginateFrom:\x20','addEventListener','SESSION_CREATED','🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:','log','[id^=\x22u_content_button_\x22]','pushState','style','Logging\x20in\x20Time','offline','getTime','\x0aUnexpected\x20error:\x20','AxiosQueueManager','userAgent','parse','Popup\x20View','message','1650anxYHb','Event\x20Payload','customer','getOwnPropertyDescriptors','\x20has\x20invalid\x20eventProperties:\x20','getOwnPropertyNames','recordEvent','510bqcPQn'];_0x2ccf=function(){return _0x1711cb;};return _0x2ccf();}Bt(Wt,{'default':()=>Kt}),module[_0x2a85c8(0x1cd)]=kt(Wt);var oe=require('uuid'),Xe=(_0x95a4c=>(_0x95a4c['UTM_SOURCE']=_0x2a85c8(0x1bf),_0x95a4c[_0x2a85c8(0x1a3)]=_0x2a85c8(0x185),_0x95a4c[_0x2a85c8(0x1fb)]=_0x2a85c8(0x215),_0x95a4c['UTM_TERM']='utm_term',_0x95a4c[_0x2a85c8(0x1f6)]=_0x2a85c8(0x22a),_0x95a4c))(Xe||{}),Ze=new Set(Object['values'](Xe)),N=_0x2a85c8(0x1dd),et=_0x2a85c8(0x17b),Ce=_0x2a85c8(0x1e1),tt=_0x2a85c8(0x1c0),_e=_0x2a85c8(0x1cc),rt=_0x2a85c8(0x1ba),nt=_0x2a85c8(0x1d7),ot=_0x2a85c8(0x19b),at=qe(require('axios')),st=require('axios-queue-js'),ct=qe(require('axios-retry')),it=require('axios'),te=(_0x12d75b=>(_0x12d75b[_0x12d75b[_0x2a85c8(0x20a)]=0x0]=_0x2a85c8(0x20a),_0x12d75b[_0x12d75b[_0x2a85c8(0x1c5)]=0x1]=_0x2a85c8(0x1c5),_0x12d75b[_0x12d75b[_0x2a85c8(0x1e6)]=0x2]='ERROR',_0x12d75b[_0x12d75b[_0x2a85c8(0x1ff)]=0x3]=_0x2a85c8(0x1ff),_0x12d75b))(te||{}),u=(_0x25f29d,_0x3ba597)=>{const _0xbf2a88=_0x2a85c8;l[_0xbf2a88(0x1ab)]!==0x0&&l['debugLevel']<=0x3&&(_0x25f29d===0x1?console[_0xbf2a88(0x232)](_0xbf2a88(0x19e)+new Date()[_0xbf2a88(0x18e)](),_0x3ba597):_0x25f29d===0x2&&console['error'](_0xbf2a88(0x224)+new Date()['toISOString'](),_0x3ba597));},S=(_0x1cfdf4,_0x13586c)=>{const _0xe3f506=_0x2a85c8;l['debugLevel']!==0x0&&(_0x13586c?console[_0xe3f506(0x183)](_0x1cfdf4):console[_0xe3f506(0x1ed)](_0x1cfdf4));},I=(_0x792316,_0x1ebbab)=>{const _0x1c3dbb=_0x2a85c8;l[_0x1c3dbb(0x1ab)]!==0x0&&(_0x1ebbab?console[_0x1c3dbb(0x1a7)](_0x792316):console[_0x1c3dbb(0x1f7)]());},l=class extends Error{constructor(_0x992fc1){const _0x43f140=_0x2a85c8;super(_0x992fc1),this[_0x43f140(0x221)]=_0x43f140(0x1b0);}};l[_0x2a85c8(0x1e0)]=!0x1,l[_0x2a85c8(0x247)]=!navigator['onLine'],l[_0x2a85c8(0x1ab)]=0x0,l[_0x2a85c8(0x226)]=!0x1;var Jt=(_0x31635f,_0x5e4290)=>{const _0x1c1118=_0x2a85c8;_0x5e4290 instanceof l?u(0x2,_0x1c1118(0x23e)+_0x31635f+'\x0aMergnError:\x20'+_0x5e4290['message']):_0x5e4290 instanceof it[_0x1c1118(0x1e7)]?(u(0x2,_0x1c1118(0x23e)+_0x31635f+'\x0aAxiosError:\x20'+_0x5e4290[_0x1c1118(0x24e)]),_0x5e4290[_0x1c1118(0x190)]?(u(0x2,_0x1c1118(0x23e)+_0x31635f+_0x1c1118(0x19f)+_0x5e4290[_0x1c1118(0x190)][_0x1c1118(0x1b7)]),u(0x2,'OriginateFrom:\x20'+_0x31635f+'\x0aResponse\x20Data:\x20'+_0x5e4290[_0x1c1118(0x190)]['data'])):_0x5e4290[_0x1c1118(0x201)]?u(0x2,_0x1c1118(0x23e)+_0x31635f+'\x0aNo\x20response\x20received.\x20Check\x20network\x20connection\x20or\x20server\x20issues.'):u(0x2,_0x1c1118(0x23e)+_0x31635f+_0x1c1118(0x20b)+_0x5e4290['message'])):_0x5e4290 instanceof Error?u(0x2,_0x1c1118(0x23e)+_0x31635f+_0x1c1118(0x249)+_0x5e4290[_0x1c1118(0x24e)]):u(0x2,_0x1c1118(0x23e)+_0x31635f+_0x1c1118(0x249)+String(_0x5e4290));},O=(_0x44a932,_0x37bcca,_0x3a4462)=>c(void 0x0,null,function*(){const _0x456309=_0x2a85c8;try{if(l['disableSDK'])throw new l('Mergn\x20SDK\x20is\x20disabled!');if(_0x44a932!=='record\x20event'&&l[_0x456309(0x247)])throw new l('Mergn\x20is\x20offline!');if(_0x44a932!=='init'&&!l[_0x456309(0x226)])throw new l(_0x456309(0x1fa));return yield _0x37bcca();}catch(_0x315c4b){return _0x3a4462?_0x3a4462(_0x315c4b):(l[_0x456309(0x1ab)]===0x2||l['debugLevel']===0x3)&&Jt(_0x44a932,_0x315c4b),null;}}),w,M,$,V,re,B,Me,ne,lt,d=class d{constructor(){const _0x5e7a32=_0x2a85c8;a(this,re,0x0);let _0x2a4efb=at[_0x5e7a32(0x1e2)]['create']({'baseURL':et,'headers':{'Content-Type':_0x5e7a32(0x1b3)}});v(d,M,_0x2a4efb),v(d,$,new st[(_0x5e7a32(0x24a))]({'client':_0x2a4efb,'queueSize':0xa})),(0x0,ct[_0x5e7a32(0x1e2)])(_0x2a4efb,{'onRetry':_0x473d5c=>{const _0x877a6b=_0x5e7a32;_0x473d5c>=p(d,V)?(l[_0x877a6b(0x195)]&&console['log'](_0x877a6b(0x1b5)),l['disableSDK']=!0x0):Ye(this,re)['_']++;},'retries':p(d,V),'retryDelay':_0x2fc721=>_0x2fc721*0x1388});}static[_0x2a85c8(0x21f)](_0x4f71f6){const _0x598771=_0x2a85c8;this['apiKey']=_0x4f71f6,n(this,ne,lt)['call'](this)['defaults'][_0x598771(0x17a)][_0x598771(0x1f1)][_0x598771(0x235)]=_0x4f71f6;}static[_0x2a85c8(0x1b1)](_0x1117d7){const _0x202571=_0x2a85c8;return n(this,B,Me)[_0x202571(0x1ec)](this)[_0x202571(0x1b1)](_0x1117d7);}static[_0x2a85c8(0x1eb)](_0x2a3658,_0x377f86){const _0x2087ef=_0x2a85c8;return n(this,B,Me)[_0x2087ef(0x1ec)](this)[_0x2087ef(0x1eb)](_0x2a3658,_0x377f86||{});}};w=new WeakMap(),M=new WeakMap(),$=new WeakMap(),V=new WeakMap(),re=new WeakMap(),B=new WeakSet(),Me=function(){return p(d,w)||v(d,w,new d()),p(d,$);},ne=new WeakSet(),lt=function(){return p(d,w)||v(d,w,new d()),p(d,M);},a(d,B),a(d,ne),a(d,w,void 0x0),a(d,M,void 0x0),a(d,$,void 0x0),a(d,V,0x2);var Fe=d,R=Fe,P,D,J,K,W,ce,gt,b,k,f,T,le,ut,ge,Et,z,Ve,G,Be,ue,pt,Ee,dt,pe,mt,de,j,me,Se,St,Ie,It,ve,vt,H,ke,fe,ft,U,ie,x,ae,Te,Tt,Q,Je,ye,yt,he,ht,Re,Rt,C,se,Oe,Ot,we,wt,Le,Lt,q,Ke,be,bt,Y,We,Ae,At,Ne,Nt,X,ze,Pe,Pt,De,Dt,L=class L{constructor(){a(this,ce),a(this,b),a(this,f),a(this,le),a(this,ge),a(this,z),a(this,G),a(this,ue),a(this,Ee),a(this,pe),a(this,Se),a(this,Ie),a(this,ve),a(this,H),a(this,fe),a(this,U),a(this,x),a(this,Te),a(this,Q),a(this,ye),a(this,he),a(this,Re),a(this,C),a(this,Oe),a(this,we),a(this,Le),a(this,q),a(this,be),a(this,Y),a(this,Ae),a(this,Ne),a(this,X),a(this,Pe),a(this,De),a(this,D,void 0x0),a(this,J,void 0x0),a(this,K,void 0x0),a(this,W,null),a(this,de,()=>{let _0x26f71b=()=>{const _0xb284c5=_0x292b;let _0x1895c1=JSON[_0xb284c5(0x24c)](localStorage['getItem'](_0xb284c5(0x17c))||'{}');Object['keys'](_0x1895c1)['forEach'](_0x149f23=>{const _0x200475=_0xb284c5;_0x1895c1[_0x149f23]['initialTime']=new Date()['getTime'](),_0x1895c1[_0x149f23][_0x200475(0x1a5)]=window[_0x200475(0x19d)]['hostname']+window['location'][_0x200475(0x211)];}),localStorage[_0xb284c5(0x189)]('action',JSON[_0xb284c5(0x193)](_0x1895c1));};_0x26f71b(),window['addEventListener']('beforeunload',_0x26f71b);}),a(this,j,_0x5d01e4=>{const _0x516a1c=_0x292b;let _0x4553a3=JSON[_0x516a1c(0x24c)](localStorage[_0x516a1c(0x19c)](_0x516a1c(0x17c))||'{}');_0x4553a3[_0x5d01e4]&&delete _0x4553a3[_0x5d01e4],localStorage['setItem']('action',JSON[_0x516a1c(0x193)](_0x4553a3));}),a(this,me,()=>{const _0x44053c=_0x292b;let _0x410d0d=JSON['parse'](localStorage[_0x44053c(0x19c)](_0x44053c(0x17c))||'{}');Object[_0x44053c(0x1df)](_0x410d0d)[_0x44053c(0x1c9)](_0x4cbe77=>{const _0x499345=_0x44053c;_0x410d0d[_0x4cbe77][_0x499345(0x24e)][_0x499345(0x221)]===_0x499345(0x207)&&n(this,Q,Je)[_0x499345(0x1ec)](this,_0x410d0d[_0x4cbe77][_0x499345(0x1bb)]);});});}static[_0x2a85c8(0x1c3)](){return p(L,P)||v(L,P,new L()),p(L,P);}[_0x2a85c8(0x1d4)](_0x3ecaf6){const _0x7b47f=_0x2a85c8;O(_0x7b47f(0x1d4),()=>c(this,null,function*(){const _0x55a540=_0x7b47f;u(0x1,_0x55a540(0x186)),I(_0x55a540(0x186),!0x0),S(_0x55a540(0x237),!0x0),n(this,ue,pt)[_0x55a540(0x1ec)](this,_0x3ecaf6),yield n(this,z,Ve)['call'](this),l[_0x55a540(0x226)]=!0x0,setInterval(()=>c(this,null,function*(){const _0x56fd0d=_0x55a540;yield n(this,z,Ve)[_0x56fd0d(0x1ec)](this);}),0x493e0),yield n(this,b,k)[_0x55a540(0x1ec)](this),window['addEventListener']('online',()=>c(this,null,function*(){const _0x184d30=_0x55a540;l[_0x184d30(0x247)]=!0x1;let _0x32da24=JSON['parse'](localStorage[_0x184d30(0x19c)](_0x184d30(0x238))||'[]');Array[_0x184d30(0x1a6)](_0x32da24)&&(yield n(this,Y,We)[_0x184d30(0x1ec)](this,{'customerId':localStorage[_0x184d30(0x19c)](_0x184d30(0x251))||'','events':_0x32da24}),localStorage['removeItem'](_0x184d30(0x238))),n(this,b,k)[_0x184d30(0x1ec)](this),n(this,x,ae)['call'](this);})),window[_0x55a540(0x23f)]('offline',()=>{const _0x7dca02=_0x55a540;l[_0x7dca02(0x247)]=!0x0;}),window['addEventListener']('load',()=>{const _0x17b6f3=_0x55a540;p(this,me)[_0x17b6f3(0x1ec)](this);});let _0x11f651=history[_0x55a540(0x244)];history['pushState']=(..._0x4a9775)=>{const _0x37f53d=_0x55a540;_0x11f651['apply'](history,_0x4a9775),n(this,G,Be)[_0x37f53d(0x1ec)](this);},n(this,G,Be)[_0x55a540(0x1ec)](this),S('Mergn\x20SDK\x20Initialization\x20Time',!0x1),I(_0x55a540(0x186),!0x1);}));}[_0x2a85c8(0x1a0)](_0x540844){const _0x35da2a=_0x2a85c8;if(!(_0x540844 in te)){console[_0x35da2a(0x229)](_0x35da2a(0x1d0));return;}l[_0x35da2a(0x1ab)]=_0x540844;}['recordAttribute'](_0x39b386,_0x133286){const _0x1ffe3c=_0x2a85c8;O(_0x1ffe3c(0x182),()=>c(this,null,function*(){const _0x58a0f6=_0x1ffe3c;yield n(this,ce,gt)[_0x58a0f6(0x1ec)](this,_0x39b386,_0x133286,void 0x0);}));}['login'](_0xc4f159){const _0x1023be=_0x2a85c8;O(_0x1023be(0x23a),()=>c(this,null,function*(){const _0x2ea3ec=_0x1023be;u(0x1,_0x2ea3ec(0x1b9)),I(_0x2ea3ec(0x1b9),!0x0),S(_0x2ea3ec(0x246),!0x0),u(0x1,_0x2ea3ec(0x231)+_0xc4f159),yield n(this,U,ie)[_0x2ea3ec(0x1ec)](this,_0xc4f159),S(_0x2ea3ec(0x246),!0x1),I(_0x2ea3ec(0x1b9),!0x1);}));}[_0x2a85c8(0x200)](){const _0x25d9ea=_0x2a85c8;O(_0x25d9ea(0x200),()=>c(this,null,function*(){const _0x423e95=_0x25d9ea;u(0x1,_0x423e95(0x22f)),I(_0x423e95(0x22f),!0x0),S(_0x423e95(0x1af),!0x0),n(this,X,ze)[_0x423e95(0x1ec)](this),S(_0x423e95(0x1af),!0x1),I(_0x423e95(0x22f),!0x1);}));}[_0x2a85c8(0x178)](_0x428584,_0x2fbdb1){const _0x3016ae=_0x2a85c8;O(_0x3016ae(0x1f8),()=>c(this,null,function*(){const _0x8dca5=_0x3016ae;u(0x1,_0x8dca5(0x1cf)),I(_0x8dca5(0x1cf),!0x0),S(_0x8dca5(0x1e5),!0x0),u(0x1,'Event\x20Payload:\x0a\x20'+{'eventName':_0x428584,'eventProperties':_0x2fbdb1}),yield n(this,f,T)['call'](this,_0x428584,_0x2fbdb1),S(_0x8dca5(0x1e5),!0x1),I(_0x8dca5(0x1cf),!0x1);}));}};P=new WeakMap(),D=new WeakMap(),J=new WeakMap(),K=new WeakMap(),W=new WeakMap(),ce=new WeakSet(),gt=function(_0x3883aa,_0x41b1f3,_0x21a5a9){return c(this,null,function*(){const _0x33a24e=_0x292b;yield O(_0x33a24e(0x22d),()=>c(this,null,function*(){const _0x271342=_0x33a24e;u(0x1,_0x271342(0x191)),I(_0x271342(0x191),!0x0),S('Recording\x20attribute\x20Time',!0x0),u(0x1,'Attribute\x20Payload:\x0a\x20'+{'attributeName':_0x3883aa,'attributeProperties':_0x21a5a9,'attributeValue':_0x41b1f3}+')}'),yield n(this,b,k)[_0x271342(0x1ec)](this),yield n(this,Pe,Pt)[_0x271342(0x1ec)](this);let _0x561d3e=JSON['parse'](localStorage[_0x271342(0x19c)](_0x271342(0x184))||'{}'),_0x274e4d=_0x21a5a9?n(this,q,Ke)[_0x271342(0x1ec)](this,_0x561d3e,_0x3883aa,_0x21a5a9):n(this,q,Ke)['call'](this,_0x561d3e,_0x3883aa);if(typeof _0x274e4d=='string'){u(0x2,_0x274e4d);return;}n(this,x,ae)[_0x271342(0x1ec)](this);let {id:_0x4e4a91}=_0x561d3e[_0x3883aa],_0x23a42a={'attributeId':_0x4e4a91,'attributeProperties':_0x274e4d,'customerId':localStorage[_0x271342(0x19c)](_0x271342(0x251))||'','value':_0x41b1f3};yield n(this,De,Dt)['call'](this,_0x23a42a),S(_0x271342(0x1d6),!0x1),I(_0x271342(0x191),!0x1);}));});},b=new WeakSet(),k=function(){return c(this,null,function*(){const _0x5a39b2=_0x292b;u(0x1,_0x5a39b2(0x227)),I(_0x5a39b2(0x227),!0x0),S(_0x5a39b2(0x1ee),!0x0);let _0x34e362=localStorage[_0x5a39b2(0x19c)](_0x5a39b2(0x1a2)),_0x4d300a=!0x1;if(_0x34e362){if(_0x4d300a=new Date()[_0x5a39b2(0x248)]()-parseInt(_0x34e362,0xa)>0x124f80,_0x4d300a){let _0x345b80=localStorage['getItem'](_0x5a39b2(0x1d2)),_0x13740a=localStorage[_0x5a39b2(0x19c)](_0x5a39b2(0x1a2));_0x345b80&&_0x13740a&&n(this,f,T)['call'](this,_0x5a39b2(0x197),[{'eventProperty':'SESSION_ID','value':localStorage[_0x5a39b2(0x19c)](_0x5a39b2(0x1d2))},{'eventProperty':'SESSION_CREATED','value':new Date(parseInt(_0x13740a,0xa))[_0x5a39b2(0x18e)]()}]),n(this,X,ze)['call'](this),localStorage[_0x5a39b2(0x189)](_0x5a39b2(0x1a2),''+new Date()[_0x5a39b2(0x248)]());}}else localStorage['setItem']('ttl',''+new Date()['getTime']());(!_0x34e362||_0x4d300a||n(this,Ee,dt)['call'](this))&&(n(this,Se,St)['call'](this),yield n(this,U,ie)[_0x5a39b2(0x1ec)](this),yield n(this,pe,mt)[_0x5a39b2(0x1ec)](this)),S(_0x5a39b2(0x1ee),!0x1),I('Checking\x20TTL',!0x1);});},f=new WeakSet(),T=function(_0x59ea14,_0x16bf33,_0x409690,_0x11d22e,_0x23bdb8){return c(this,null,function*(){const _0x4e0c7c=_0x292b;yield O(_0x4e0c7c(0x204),()=>c(this,null,function*(){const _0x3d6fff=_0x4e0c7c;var _0x169960;u(0x1,_0x3d6fff(0x199)),I('Recording\x20event',!0x0),S(_0x3d6fff(0x1e5),!0x0),u(0x1,_0x3d6fff(0x250)),u(0x1,{'campaignCustomerInstanceId':_0x11d22e,'eventName':_0x59ea14,'eventProperties':_0x16bf33,'name':_0x23bdb8}),_0x59ea14!==_0x3d6fff(0x197)&&(yield n(this,b,k)[_0x3d6fff(0x1ec)](this));let _0x4c1f85=[];_0x16bf33&&_0x4c1f85[_0x3d6fff(0x21d)](..._0x16bf33),_0x4c1f85[_0x3d6fff(0x21d)]({'eventProperty':_0x3d6fff(0x1bd),'value':p(this,D)}),_0x4c1f85['push']({'eventProperty':_0x3d6fff(0x21c),'value':p(this,K)}),_0x4c1f85[_0x3d6fff(0x21d)]({'eventProperty':_0x3d6fff(0x196),'value':p(this,J)});let _0x15ef31=n(this,we,wt)[_0x3d6fff(0x1ec)](this),_0x409c48=n(this,Le,Lt)[_0x3d6fff(0x1ec)](this,_0x15ef31,_0x59ea14,_0x4c1f85);if(typeof _0x409c48==_0x3d6fff(0x1f4)){u(0x2,_0x409c48);return;}n(this,x,ae)['call'](this);let {id:_0x41a18a}=_0x15ef31[_0x59ea14],_0x30a147=n(this,be,bt)['call'](this,F(Ue(F(F({},_0x11d22e?{'campaignCustomerInstanceId':_0x11d22e}:{}),_0x409690?{'campaignId':_0x409690}:{}),{'eventId':_0x41a18a,'eventProperties':_0x409c48,'sessionId':localStorage[_0x3d6fff(0x19c)](_0x3d6fff(0x1d2))||''}),_0x23bdb8?{'name':_0x23bdb8}:{}));if(l['offline']){let _0x4f57ba=JSON['parse'](localStorage['getItem'](_0x3d6fff(0x238))||'[]');_0x4f57ba[_0x3d6fff(0x1c7)]<=0x32&&(_0x4f57ba[_0x3d6fff(0x21d)](..._0x30a147[_0x3d6fff(0x21a)]),localStorage[_0x3d6fff(0x189)](_0x3d6fff(0x238),JSON[_0x3d6fff(0x193)](_0x4f57ba)));return;}let _0x3e799b=yield n(this,Y,We)['call'](this,_0x30a147);(_0x169960=_0x3e799b==null?void 0x0:_0x3e799b[_0x3d6fff(0x1ad)])==null||_0x169960[_0x3d6fff(0x1c9)](_0xc291bb=>{const _0x1069b7=_0x3d6fff;n(this,Ae,At)['call'](this,_0xc291bb[_0x1069b7(0x24e)][_0x1069b7(0x221)])&&(n(this,Ne,Nt)['call'](this,_0xc291bb),p(this,de)[_0x1069b7(0x1ec)](this),n(this,Q,Je)[_0x1069b7(0x1ec)](this,_0xc291bb[_0x1069b7(0x1bb)]));}),S(_0x3d6fff(0x1e5),!0x1),I(_0x3d6fff(0x1cf),!0x1);}));});},le=new WeakSet(),ut=function(){const _0x5ee436=_0x2a85c8;let _0x320c5b=navigator[_0x5ee436(0x24b)][_0x5ee436(0x1f0)]();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0x5ee436(0x20f)](_0x320c5b)?'Mobile':/windows|macintosh|linux|x11/i[_0x5ee436(0x20f)](_0x320c5b)?_0x5ee436(0x1ce):'Unknown';},ge=new WeakSet(),Et=function(){const _0x155ec2=_0x2a85c8;let _0x3b34a4=navigator[_0x155ec2(0x24b)],_0x36f16c;return _0x3b34a4[_0x155ec2(0x198)](_0x155ec2(0x1aa))>-0x1?_0x36f16c=_0x155ec2(0x220):_0x3b34a4[_0x155ec2(0x198)](_0x155ec2(0x23c))>-0x1?_0x36f16c=_0x155ec2(0x23c):_0x3b34a4['indexOf'](_0x155ec2(0x1e4))>-0x1?_0x36f16c=_0x155ec2(0x1bc):_0x3b34a4['indexOf'](_0x155ec2(0x188))>-0x1?_0x36f16c=_0x155ec2(0x234):_0x3b34a4[_0x155ec2(0x198)](_0x155ec2(0x1c4))>-0x1?_0x36f16c='Internet\x20Explorer':_0x36f16c=_0x155ec2(0x236),_0x36f16c;},z=new WeakSet(),Ve=function(){return c(this,null,function*(){const _0x2f339d=_0x292b;try{yield R[_0x2f339d(0x1b1)](_0x2f339d(0x1ac));}catch(_0x11b451){throw l[_0x2f339d(0x1e0)]=!0x0,_0x11b451[_0x2f339d(0x24e)];}});},G=new WeakSet(),Be=function(){return c(this,null,function*(){const _0x332d40=_0x292b;var _0x39c3fc;u(0x1,_0x332d40(0x18a)),I(_0x332d40(0x18a),!0x0),S(_0x332d40(0x217),!0x0);let _0x3c450b=(_0x39c3fc=window==null?void 0x0:window[_0x332d40(0x19d)])==null?void 0x0:_0x39c3fc[_0x332d40(0x20c)];if(_0x3c450b!==p(this,W)){v(this,W,_0x3c450b);let _0x54c124=[];new URLSearchParams(new URL(window[_0x332d40(0x19d)][_0x332d40(0x20c)])[_0x332d40(0x1fe)])[_0x332d40(0x1c9)]((_0x31ab89,_0x1035f3)=>c(this,null,function*(){Ze['has'](_0x1035f3)&&_0x54c124['push']({'eventProperty':_0x1035f3,'value':_0x31ab89});})),yield n(this,f,T)[_0x332d40(0x1ec)](this,_0x332d40(0x1ae),[{'eventProperty':_0x332d40(0x1a9),'value':window[_0x332d40(0x19d)][_0x332d40(0x211)]},..._0x54c124]);}S('Tracking\x20page\x20change\x20Time',!0x1),I(_0x332d40(0x18a),!0x1);});},ue=new WeakSet(),pt=function(_0x33ee88){const _0x37b0f1=_0x2a85c8;R[_0x37b0f1(0x21f)](_0x33ee88),v(this,D,navigator[_0x37b0f1(0x24b)]),v(this,J,n(this,ge,Et)[_0x37b0f1(0x1ec)](this)),v(this,K,n(this,le,ut)[_0x37b0f1(0x1ec)](this));},Ee=new WeakSet(),dt=function(){const _0x51ae44=_0x2a85c8;return!localStorage[_0x51ae44(0x19c)]('events')||!localStorage[_0x51ae44(0x19c)]('customer')||!localStorage[_0x51ae44(0x19c)]('attributes')||!localStorage[_0x51ae44(0x19c)]('uniqueIdentity')||!localStorage[_0x51ae44(0x19c)](_0x51ae44(0x1d2))||!localStorage[_0x51ae44(0x19c)]('customer');},pe=new WeakSet(),mt=function(){return c(this,null,function*(){const _0xb2a250=_0x292b;yield n(this,Ie,It)[_0xb2a250(0x1ec)](this),yield n(this,H,ke)['call'](this),yield n(this,U,ie)[_0xb2a250(0x1ec)](this);});},de=new WeakMap(),j=new WeakMap(),me=new WeakMap(),Se=new WeakSet(),St=function(){const _0x1c3d14=_0x2a85c8;let _0x3c7f28=localStorage[_0x1c3d14(0x19c)](_0x1c3d14(0x1a1));return _0x3c7f28||(_0x3c7f28=(0x0,oe['v4'])(),localStorage['setItem']('uniqueIdentity',_0x3c7f28)),_0x3c7f28;},Ie=new WeakSet(),It=function(){return c(this,null,function*(){const _0x509264=_0x292b;if(!localStorage[_0x509264(0x19c)](_0x509264(0x21a))){let _0x409f94=(yield n(this,ve,vt)[_0x509264(0x1ec)](this))['data'];_0x409f94&&localStorage[_0x509264(0x189)](_0x509264(0x21a),JSON[_0x509264(0x193)](_0x409f94));}});},ve=new WeakSet(),vt=function(){return c(this,null,function*(){const _0x2588ce=_0x292b;try{return(yield R[_0x2588ce(0x1b1)](''+_e))['data'];}catch(_0x3a6219){throw new Error('Error\x20fetching\x20event\x20data');}});},H=new WeakSet(),ke=function(){return c(this,null,function*(){const _0x3c2f84=_0x292b;if(!localStorage[_0x3c2f84(0x19c)](_0x3c2f84(0x184))){let _0x509aa9=(yield n(this,fe,ft)[_0x3c2f84(0x1ec)](this))[_0x3c2f84(0x1ad)];_0x509aa9&&localStorage['setItem'](_0x3c2f84(0x184),JSON['stringify'](_0x509aa9));}});},fe=new WeakSet(),ft=function(){return c(this,null,function*(){const _0x5be40c=_0x292b;try{return(yield R['get'](''+Ce))[_0x5be40c(0x1ad)];}catch(_0x10a9c6){throw new Error(_0x5be40c(0x1f3));}});},U=new WeakSet(),ie=function(_0x36a5f8){return c(this,null,function*(){const _0x49be34=_0x292b;localStorage[_0x49be34(0x19c)](_0x49be34(0x1d2))||(localStorage[_0x49be34(0x189)](_0x49be34(0x1d2),(0x0,oe['v4'])()),yield n(this,f,T)[_0x49be34(0x1ec)](this,_0x49be34(0x1de),[{'eventProperty':_0x49be34(0x202),'value':localStorage[_0x49be34(0x19c)](_0x49be34(0x1d2))},{'eventProperty':_0x49be34(0x240),'value':new Date(parseInt(localStorage['getItem'](_0x49be34(0x1a2))||'',0xa))['toISOString']()}]));let _0x2beb17={'deviceId':localStorage[_0x49be34(0x19c)](_0x49be34(0x1a1))||(0x0,oe['v4'])(),'os':p(this,D)};if(_0x36a5f8)_0x2beb17[_0x49be34(0x228)]=_0x36a5f8;else{if(!_0x36a5f8&&localStorage[_0x49be34(0x19c)](_0x49be34(0x251)))return;}try{let _0x4bf590=(yield n(this,Te,Tt)[_0x49be34(0x1ec)](this,_0x2beb17))['data'];_0x4bf590!==void 0x0&&localStorage[_0x49be34(0x189)](_0x49be34(0x251),_0x4bf590);}catch(_0x5400db){throw new Error('Error\x20setting\x20identity');}});},x=new WeakSet(),ae=function(){const _0x3743b1=_0x2a85c8;localStorage[_0x3743b1(0x189)]('ttl',''+new Date()['getTime']());},Te=new WeakSet(),Tt=function(_0x588f08){return c(this,null,function*(){const _0x419088=_0x292b;try{return(yield R[_0x419088(0x1eb)](''+nt+ot,_0x588f08))[_0x419088(0x1ad)];}catch(_0x5e6f82){throw new Error('Error\x20posting\x20identity\x20data');}});},Q=new WeakSet(),Je=function(_0x32842f){const _0x4d8045=_0x2a85c8;let _0x2a6019=n(this,ye,yt)['call'](this);if(_0x2a6019!=null&&_0x2a6019[_0x32842f])switch(_0x2a6019[_0x32842f][_0x4d8045(0x194)]){case'DELAY':{n(this,Re,Rt)[_0x4d8045(0x1ec)](this,_0x2a6019[_0x32842f]);break;}case'IMMEDIATELY':{n(this,C,se)[_0x4d8045(0x1ec)](this,_0x2a6019[_0x32842f]);break;}case'SCROLL':{n(this,he,ht)['call'](this,_0x2a6019[_0x32842f]);break;}default:return;}},ye=new WeakSet(),yt=function(){const _0x1cfd21=_0x2a85c8;let _0x1bcb06=localStorage['getItem'](_0x1cfd21(0x17c));return _0x1bcb06?JSON[_0x1cfd21(0x24c)](_0x1bcb06):null;},he=new WeakSet(),ht=function(_0x579e48){const _0x390f32=_0x2a85c8;let _0x5343d5=()=>{const _0x5f5420=_0x292b;var _0x21de9f,_0xfad32;let _0x166601=window[_0x5f5420(0x1d1)],_0x530467=document[_0x5f5420(0x214)][_0x5f5420(0x1be)],_0x205d70=window[_0x5f5420(0x1e8)]/(_0x530467-_0x166601)*0x64;console['log'](_0x5f5420(0x241),_0x205d70),console[_0x5f5420(0x242)](_0x5f5420(0x181),(_0x21de9f=_0x579e48['campaignEntryTimeValue'])==null?void 0x0:_0x21de9f[_0x5f5420(0x1dc)]),_0x205d70>(((_0xfad32=_0x579e48['campaignEntryTimeValue'])==null?void 0x0:_0xfad32[_0x5f5420(0x1dc)])||0x0)&&(window[_0x5f5420(0x1d5)](_0x5f5420(0x1b6),_0x5343d5),console[_0x5f5420(0x242)](_0x5f5420(0x1d9)),n(this,C,se)[_0x5f5420(0x1ec)](this,_0x579e48));};window[_0x390f32(0x23f)]('scroll',_0x5343d5);},Re=new WeakSet(),Rt=function(_0x390de3){const _0x3bb3eb=_0x2a85c8;var _0x48ec8e;let _0x4b0cfe=_0x390de3[_0x3bb3eb(0x209)]-0x1f4+(((_0x48ec8e=_0x390de3[_0x3bb3eb(0x18d)])==null?void 0x0:_0x48ec8e['value'])||0x0)*0x3e8-new Date()['getTime']();_0x4b0cfe>0x0&&_0x390de3[_0x3bb3eb(0x1a5)]===window[_0x3bb3eb(0x19d)][_0x3bb3eb(0x225)]+window[_0x3bb3eb(0x19d)][_0x3bb3eb(0x211)]&&setTimeout(()=>{const _0x44a396=_0x3bb3eb;p(this,j)['call'](this,_0x390de3['campaignId']),n(this,C,se)[_0x44a396(0x1ec)](this,_0x390de3);},_0x4b0cfe);},C=new WeakSet(),se=function(_0x255920){const _0x168a65=_0x2a85c8;let _0x3bcac8=n(this,Oe,Ot)[_0x168a65(0x1ec)](this,_0x168a65(0x1f9),_0x255920);document['body'][_0x168a65(0x1ca)](_0x3bcac8),n(this,f,T)[_0x168a65(0x1ec)](this,N,[{'eventProperty':_0x168a65(0x24d),'value':JSON[_0x168a65(0x193)]({'campaignId':_0x255920[_0x168a65(0x1bb)]})}],_0x255920[_0x168a65(0x1bb)],_0x255920[_0x168a65(0x1da)],_0x168a65(0x18b)),p(this,j)['call'](this,_0x255920[_0x168a65(0x1bb)]);},Oe=new WeakSet(),Ot=function(_0x4c7264,_0x389d09){const _0x293548=_0x2a85c8;var _0x520106;let {campaignCustomerInstanceId:_0x1a978c,campaignId:_0x3b9ce9,message:{design:_0x42fe5b}}=_0x389d09,_0x1f2008=document['createElement'](_0x4c7264);return _0x1f2008['id']='popup_container_'+_0x3b9ce9,_0x1f2008['innerHTML']=_0x42fe5b,_0x1f2008[_0x293548(0x245)][_0x293548(0x218)]='50',_0x1f2008[_0x293548(0x23d)]('[id^=\x22u_content_form_\x22]')[_0x293548(0x1c9)](_0x2cc1d5=>{const _0x359ab5=_0x293548;let _0x15eb4e=_0x2cc1d5['querySelector'](_0x359ab5(0x1c2));_0x15eb4e&&_0x15eb4e[_0x359ab5(0x23f)]('submit',()=>c(this,null,function*(){const _0x1e5c8c=_0x359ab5;_0x1f2008[_0x1e5c8c(0x1db)]();let _0x1036c9=new FormData(_0x15eb4e),_0x7b10a5={};for(let [_0x5793ff,_0x5e3956]of _0x1036c9[_0x1e5c8c(0x205)]())_0x7b10a5[_0x5793ff]=_0x5e3956;yield n(this,f,T)[_0x1e5c8c(0x1ec)](this,N,[{'eventProperty':'Form\x20Submit','value':JSON[_0x1e5c8c(0x193)]({'campaignId':_0x3b9ce9,'formId':_0x2cc1d5['id'],'formValues':_0x7b10a5})}],_0x3b9ce9,_0x1a978c,'form');}));}),(_0x520106=_0x1f2008[_0x293548(0x1b2)](_0x293548(0x239)))==null||_0x520106['addEventListener'](_0x293548(0x1c8),()=>c(this,null,function*(){const _0x11afc1=_0x293548;_0x1f2008[_0x11afc1(0x1db)](),yield n(this,f,T)[_0x11afc1(0x1ec)](this,N,[{'eventProperty':'Close\x20Click','value':JSON[_0x11afc1(0x193)]({'campaignId':_0x3b9ce9})}],_0x3b9ce9,_0x1a978c,_0x11afc1(0x212));})),_0x1f2008[_0x293548(0x23d)](_0x293548(0x243))[_0x293548(0x1c9)](_0x506322=>{_0x506322['addEventListener']('click',()=>c(this,null,function*(){const _0x157719=_0x292b;yield n(this,f,T)['call'](this,N,[{'eventProperty':'Button\x20Click','value':JSON['stringify']({'buttonId':_0x506322['id'],'campaignId':_0x3b9ce9})}],_0x3b9ce9,_0x1a978c,_0x157719(0x1c8));}));}),_0x1f2008[_0x293548(0x23d)](_0x293548(0x1d8))[_0x293548(0x1c9)](_0x4fda55=>{const _0xa5fd55=_0x293548;_0x4fda55['addEventListener'](_0xa5fd55(0x1c8),()=>c(this,null,function*(){const _0x501838=_0xa5fd55;yield n(this,f,T)[_0x501838(0x1ec)](this,N,[{'eventProperty':'Image\x20Click','value':JSON[_0x501838(0x193)]({'campaignId':_0x3b9ce9,'imageClassName':_0x4fda55['className'],'imageId':_0x4fda55['id']})}],_0x3b9ce9,_0x1a978c,_0x501838(0x1c8));}));}),_0x1f2008;},we=new WeakSet(),wt=function(){const _0x164aef=_0x2a85c8;let _0x3c760d=localStorage['getItem'](_0x164aef(0x21a));return _0x3c760d?JSON[_0x164aef(0x24c)](_0x3c760d):{};},Le=new WeakSet(),Lt=function(_0x5535c1,_0x4054c9,_0x52ecae){const _0x33c623=_0x2a85c8;if(!Object['prototype']['hasOwnProperty'][_0x33c623(0x1ec)](_0x5535c1,_0x4054c9))return _0x33c623(0x222)+_0x4054c9+_0x33c623(0x223);if(!_0x52ecae)return[];let _0x4ad7e7=_0x5535c1[_0x4054c9];if(!(_0x4ad7e7!=null&&_0x4ad7e7[_0x33c623(0x206)]))return _0x33c623(0x222)+_0x4054c9+'\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.';let _0x163d8a=_0x52ecae[_0x33c623(0x1b4)](({eventProperty:_0x31dab4})=>!Object[_0x33c623(0x1e9)][_0x33c623(0x22e)][_0x33c623(0x1ec)](_0x4ad7e7[_0x33c623(0x206)],_0x31dab4))['map'](({eventProperty:_0x2697a4})=>_0x2697a4);return _0x163d8a[_0x33c623(0x1c7)]>0x0?_0x33c623(0x222)+_0x4054c9+_0x33c623(0x253)+_0x163d8a[_0x33c623(0x1f5)](',\x20')+'.':_0x52ecae[_0x33c623(0x17f)](({eventProperty:_0xc29bd3,value:_0x234e8e})=>({'eventPropertyId':_0x4ad7e7[_0x33c623(0x206)][_0xc29bd3]['id'],'value':_0x234e8e}));},q=new WeakSet(),Ke=function(_0x43a204,_0x381614,_0x3f1fda){const _0x4acc88=_0x2a85c8;if(!Object[_0x4acc88(0x1e9)][_0x4acc88(0x22e)][_0x4acc88(0x1ec)](_0x43a204,_0x381614))return _0x4acc88(0x20e)+_0x381614+_0x4acc88(0x223);if(!_0x3f1fda)return[];let _0x41f87d=_0x43a204[_0x381614];if(!(_0x41f87d!=null&&_0x41f87d[_0x4acc88(0x1b8)]))return _0x4acc88(0x20e)+_0x381614+_0x4acc88(0x22c);let _0x1613d5=_0x3f1fda[_0x4acc88(0x1b4)](({attributeProperty:_0x3af3d7})=>!Object[_0x4acc88(0x1e9)][_0x4acc88(0x22e)][_0x4acc88(0x1ec)](_0x41f87d[_0x4acc88(0x1b8)],_0x3af3d7))[_0x4acc88(0x17f)](({attributeProperty:_0x2bd014})=>_0x2bd014);return _0x1613d5[_0x4acc88(0x1c7)]>0x0?_0x4acc88(0x20e)+_0x381614+'\x20has\x20invalid\x20attributeProperties:\x20'+_0x1613d5['join'](',\x20')+'.':_0x3f1fda[_0x4acc88(0x17f)](({attributeProperty:_0x2cc121,value:_0x5137c7})=>({'attributePropertyId':_0x41f87d[_0x4acc88(0x1b8)][_0x2cc121]['id'],'value':_0x5137c7}));},be=new WeakSet(),bt=function(_0x5e4c79){const _0x584f34=_0x2a85c8;return{'customerId':localStorage[_0x584f34(0x19c)](_0x584f34(0x251))||'','events':[_0x5e4c79]};},Y=new WeakSet(),We=function(_0x20b17a){return c(this,null,function*(){const _0x437f65=_0x292b;try{return(yield R['post'](''+_e+rt,_0x20b17a))[_0x437f65(0x1ad)];}catch(_0x42e4e4){throw new Error(_0x437f65(0x208));}});},Ae=new WeakSet(),At=function(_0x493e15){return _0x493e15==='Popup';},Ne=new WeakSet(),Nt=function(_0x1f3180){const _0x31911b=_0x2a85c8;let _0x79715c=JSON[_0x31911b(0x24c)](localStorage[_0x31911b(0x19c)]('action')||'{}');_0x79715c[_0x1f3180[_0x31911b(0x1bb)]]=Ue(F({},_0x1f3180),{'initialTime':new Date()[_0x31911b(0x248)](),'page':window[_0x31911b(0x19d)][_0x31911b(0x225)]+window[_0x31911b(0x19d)][_0x31911b(0x211)]}),localStorage[_0x31911b(0x189)](_0x31911b(0x17c),JSON['stringify'](_0x79715c));},X=new WeakSet(),ze=function(){const _0x3d593a=_0x2a85c8;localStorage[_0x3d593a(0x1fd)](_0x3d593a(0x17c)),localStorage[_0x3d593a(0x1fd)](_0x3d593a(0x21a)),localStorage[_0x3d593a(0x1fd)](_0x3d593a(0x184)),localStorage[_0x3d593a(0x1fd)](_0x3d593a(0x238)),localStorage[_0x3d593a(0x1fd)](_0x3d593a(0x1a2)),localStorage[_0x3d593a(0x1fd)](_0x3d593a(0x1d2));},Pe=new WeakSet(),Pt=function(){return c(this,null,function*(){const _0x5def79=_0x292b;localStorage[_0x5def79(0x19c)]('attributes')||(yield n(this,H,ke)[_0x5def79(0x1ec)](this));});},De=new WeakSet(),Dt=function(_0x1834ed){return c(this,null,function*(){const _0xd1cff9=_0x292b;try{return yield R[_0xd1cff9(0x1eb)](''+Ce+tt,_0x1834ed);}catch(_0x548eaa){throw new Error(_0xd1cff9(0x1cb));}});},a(L,P,void 0x0);var $e=L,Ut=$e[_0x2a85c8(0x1c3)](),Kt=Ut;
1
+ 'use strict';const _0x1c3e94=_0x260a;(function(_0x1279b2,_0x49ab13){const _0x55fda0=_0x260a,_0x5047b4=_0x1279b2();while(!![]){try{const _0x1ef703=parseInt(_0x55fda0(0xd3))/0x1+-parseInt(_0x55fda0(0xc8))/0x2*(parseInt(_0x55fda0(0xf7))/0x3)+parseInt(_0x55fda0(0xd2))/0x4*(-parseInt(_0x55fda0(0x128))/0x5)+-parseInt(_0x55fda0(0xa4))/0x6+-parseInt(_0x55fda0(0xb1))/0x7*(parseInt(_0x55fda0(0xa6))/0x8)+-parseInt(_0x55fda0(0x91))/0x9*(parseInt(_0x55fda0(0x136))/0xa)+-parseInt(_0x55fda0(0xa3))/0xb*(-parseInt(_0x55fda0(0xcc))/0xc);if(_0x1ef703===_0x49ab13)break;else _0x5047b4['push'](_0x5047b4['shift']());}catch(_0x2d3d0c){_0x5047b4['push'](_0x5047b4['shift']());}}}(_0x50aa,0x5c05e));var xt=Object[_0x1c3e94(0xf2)],_=Object[_0x1c3e94(0xc3)],Ct=Object[_0x1c3e94(0x14b)],_t=Object[_0x1c3e94(0xb2)],Ft=Object['getOwnPropertyDescriptors'],Mt=Object[_0x1c3e94(0x134)],Ge=Object[_0x1c3e94(0x9b)],$t=Object[_0x1c3e94(0x113)],He=Object[_0x1c3e94(0x143)][_0x1c3e94(0x138)],Vt=Object['prototype'][_0x1c3e94(0x15d)],je=(_0x591c5c,_0x42aabd,_0x253f97)=>_0x42aabd in _0x591c5c?_(_0x591c5c,_0x42aabd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x253f97}):_0x591c5c[_0x42aabd]=_0x253f97,F=(_0x26430c,_0xdde652)=>{const _0x35006e=_0x1c3e94;for(var _0xd5327 in _0xdde652||(_0xdde652={}))He['call'](_0xdde652,_0xd5327)&&je(_0x26430c,_0xd5327,_0xdde652[_0xd5327]);if(Ge){for(var _0xd5327 of Ge(_0xdde652))Vt[_0x35006e(0xa1)](_0xdde652,_0xd5327)&&je(_0x26430c,_0xd5327,_0xdde652[_0xd5327]);}return _0x26430c;},Ue=(_0x4fc9ac,_0x5ed467)=>Ct(_0x4fc9ac,Ft(_0x5ed467)),Bt=(_0x5a8579,_0x462ca4)=>{for(var _0x140683 in _0x462ca4)_(_0x5a8579,_0x140683,{'get':_0x462ca4[_0x140683],'enumerable':!0x0});},Qe=(_0x470d34,_0x1063eb,_0x27a6a0,_0x3612e4)=>{const _0x2f764d=_0x1c3e94;if(_0x1063eb&&typeof _0x1063eb=='object'||typeof _0x1063eb==_0x2f764d(0xbb)){for(let _0xca774f of Mt(_0x1063eb))!He[_0x2f764d(0xa1)](_0x470d34,_0xca774f)&&_0xca774f!==_0x27a6a0&&_(_0x470d34,_0xca774f,{'get':()=>_0x1063eb[_0xca774f],'enumerable':!(_0x3612e4=_t(_0x1063eb,_0xca774f))||_0x3612e4[_0x2f764d(0x12c)]});}return _0x470d34;},qe=(_0x412f3b,_0x415cd1,_0x2bcf2e)=>(_0x2bcf2e=_0x412f3b!=null?xt($t(_0x412f3b)):{},Qe(_0x415cd1||!_0x412f3b||!_0x412f3b[_0x1c3e94(0x147)]?_(_0x2bcf2e,'default',{'value':_0x412f3b,'enumerable':!0x0}):_0x2bcf2e,_0x412f3b)),kt=_0x153653=>Qe(_({},'__esModule',{'value':!0x0}),_0x153653),xe=(_0x3c9535,_0x2fca0f,_0x15bbcd)=>{const _0x1b5ceb=_0x1c3e94;if(!_0x2fca0f[_0x1b5ceb(0x116)](_0x3c9535))throw TypeError('Cannot\x20'+_0x15bbcd);},p=(_0x3fc648,_0x4c6228,_0x399626)=>(xe(_0x3fc648,_0x4c6228,_0x1c3e94(0xe5)),_0x399626?_0x399626[_0x1c3e94(0xa1)](_0x3fc648):_0x4c6228[_0x1c3e94(0x8e)](_0x3fc648)),a=(_0x5afbd1,_0xd923fc,_0x4d8a8f)=>{const _0x695e34=_0x1c3e94;if(_0xd923fc[_0x695e34(0x116)](_0x5afbd1))throw TypeError(_0x695e34(0x14a));_0xd923fc instanceof WeakSet?_0xd923fc['add'](_0x5afbd1):_0xd923fc[_0x695e34(0x15e)](_0x5afbd1,_0x4d8a8f);},v=(_0x15a2d6,_0x499372,_0x4ef918,_0x193c89)=>(xe(_0x15a2d6,_0x499372,_0x1c3e94(0x15c)),_0x193c89?_0x193c89['call'](_0x15a2d6,_0x4ef918):_0x499372[_0x1c3e94(0x15e)](_0x15a2d6,_0x4ef918),_0x4ef918),Ye=(_0x386742,_0x280e49,_0x2475c1,_0x228a03)=>({set '_'(_0xe8e9a4){v(_0x386742,_0x280e49,_0xe8e9a4,_0x2475c1);},get '_'(){return p(_0x386742,_0x280e49,_0x228a03);}}),n=(_0xb21f23,_0x4f7871,_0x2f6df9)=>(xe(_0xb21f23,_0x4f7871,_0x1c3e94(0xb8)),_0x2f6df9),c=(_0x2b8bb5,_0x1357a1,_0x288004)=>new Promise((_0x3dd52b,_0x1d1050)=>{const _0x167d15=_0x1c3e94;var _0x3bd852=_0x65a46c=>{try{_0x100430(_0x288004['next'](_0x65a46c));}catch(_0xd0d34a){_0x1d1050(_0xd0d34a);}},_0x4aeb49=_0x8cb54a=>{const _0x586a90=_0x260a;try{_0x100430(_0x288004[_0x586a90(0x9f)](_0x8cb54a));}catch(_0x548cbf){_0x1d1050(_0x548cbf);}},_0x100430=_0x534bdd=>_0x534bdd[_0x167d15(0x88)]?_0x3dd52b(_0x534bdd[_0x167d15(0xd7)]):Promise[_0x167d15(0xbf)](_0x534bdd[_0x167d15(0xd7)])[_0x167d15(0x101)](_0x3bd852,_0x4aeb49);_0x100430((_0x288004=_0x288004[_0x167d15(0x115)](_0x2b8bb5,_0x1357a1))[_0x167d15(0xf5)]());}),Wt={};Bt(Wt,{'default':()=>Kt}),module[_0x1c3e94(0xfb)]=kt(Wt);function _0x50aa(){const _0x4e7a77=['Safari','addEventListener','campaignCustomerInstanceId','getOwnPropertySymbols','href','hostname','group','throw','Web\x20Session\x20Concluded','call','Unknown','319XVPgpB','1204410dkbGIP','removeEventListener','88yGvDfr','updateAPIKey','Event\x20','\x20has\x20invalid\x20eventProperties:\x20','disableSDK','os-version','values','log','location','campaignEntryTimeValue','application/json','443191uKnsQN','getOwnPropertyDescriptor','Mergn\x20is\x20offline!','\x0aHTTP\x20Status:\x20','Tracking\x20page\x20change\x20Time','querySelector','setItem','access\x20private\x20method','#\x20record\x20event','/set-attribute','function','default','userAgent','push','resolve','events','ERROR:\x20','record\x20event','defineProperty','UTM_MEDIUM','UTM_SOURCE','\x0aUnexpected\x20error:\x20','defaults','1146254aTxpUO','Identity:\x20','[id^=\x22u_content_button_\x22]','search','1110036dEOIxx','onLine','page','removeItem','string','click','620kyFxdb','261094FFvTwE','INFO','close','querySelectorAll','value','/attribute','.u-close-button','/set-identity','Button\x20Click','innerHTML','className','Mozilla\x20Firefox','entries','Error\x20posting\x20identity\x20data','Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203','OriginateFrom:\x20','scroll','uniqueIdentity','read\x20from\x20private\x20field','response','utm_source','isInitialized','error','scrollHeight','join','common','Checking\x20TTL','Error\x20posting\x20attribute\x20record','Chrome','IMMEDIATELY','utm_campaign','create','Edg','Popup','next','pushState','3NeljEc','login','#\x20recordAttribute','UTM_CAMPAIGN','exports','NONE','request','forEach','headers','SESSION_ID','then','Max\x20retries\x20reached.\x20Disabling\x20SDK\x20for\x2030\x20secs.','getItem','Mergn\x20SDK\x20is\x20disabled!','recordAttribute','indexOf','post','Mobile','pathname','getInstance','timeEnd','form','name','data','Recording\x20event','Logging\x20in\x20Time','offline','logout','getPrototypeOf','DELAY','apply','has','Close\x20Click','SESSION_CREATED','createElement','campaignId','time','div','Logging\x20out','Error\x20setting\x20identity','🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:','Recording\x20event\x20Time','Event\x20Payload:\x0a\x20','\x20is\x20not\x20valid.','Error\x20posting\x20event\x20record','map','Recording\x20attribute','test','style','17455tNioLR','toLowerCase','ERROR','message','enumerable','submit','attributes','\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.','info','Platform','parse','Form\x20Submit','getOwnPropertyNames','/record-event','50MpnfOk','Checking\x20TTL\x20Time','hasOwnProperty','appendChild','length','/customer','recordEvent','Image\x20Click','zIndex','action','utm_medium','Mergn\x20SDK\x20Initialization\x20Time','operating-system','prototype','ttl','eventProperty','Microsoft\x20Edge','__esModule','debugLevel','Logging\x20in','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','defineProperties','\x0aError\x20setting\x20up\x20the\x20request:\x20','keys','Logging\x20out\x20Time','AxiosQueueManager','Recording\x20attribute\x20Time','init','attributeProperty','#\x20Recording\x20event','initialTime','getTime','session','Attribute\x20','setDebugLevel','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','view','stringify','write\x20to\x20private\x20field','propertyIsEnumerable','set','ALL','Google\x20Chrome','🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:','utm_term','offlineEvents','Initializing\x20Mergn\x20SDK','AxiosError','documentElement','remove','Popup\x20Action','.u-popup-container\x20img','identity','done','Tracking\x20page\x20change','\x0aMergnError:\x20','innerHeight','\x0aAxiosError:\x20','Authorization','get','toISOString','customer','999621ByTNAY','campaignEntryTime','Attribute\x20Payload:\x0a\x20','utm_content','status','Web\x20Session\x20Started','body'];_0x50aa=function(){return _0x4e7a77;};return _0x50aa();}var oe=require('uuid'),Xe=(_0xf0e89c=>(_0xf0e89c[_0x1c3e94(0xc5)]=_0x1c3e94(0xe7),_0xf0e89c[_0x1c3e94(0xc4)]=_0x1c3e94(0x140),_0xf0e89c[_0x1c3e94(0xfa)]=_0x1c3e94(0xf1),_0xf0e89c['UTM_TERM']=_0x1c3e94(0x162),_0xf0e89c['UTM_CONTENT']=_0x1c3e94(0x94),_0xf0e89c))(Xe||{}),Ze=new Set(Object[_0x1c3e94(0xac)](Xe)),N=_0x1c3e94(0x85),et='https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api',Ce=_0x1c3e94(0xd8),tt=_0x1c3e94(0xba),_e='/event',rt=_0x1c3e94(0x135),nt=_0x1c3e94(0x13b),ot=_0x1c3e94(0xda),at=qe(require('axios')),st=require('axios-queue-js'),ct=qe(require('axios-retry')),it=require('axios'),l=class extends Error{constructor(_0x104bd8){super(_0x104bd8),this['name']='MergnError';}};l[_0x1c3e94(0xaa)]=!0x1,l[_0x1c3e94(0x111)]=!navigator[_0x1c3e94(0xcd)],l[_0x1c3e94(0x148)]=0x0,l[_0x1c3e94(0xe8)]=!0x1;var Jt=(_0x105a35,_0x9ee4c)=>{const _0x525e0b=_0x1c3e94;_0x9ee4c instanceof l?u(0x2,_0x525e0b(0xe2)+_0x105a35+_0x525e0b(0x8a)+_0x9ee4c[_0x525e0b(0x12b)]):_0x9ee4c instanceof it[_0x525e0b(0x165)]?(u(0x2,_0x525e0b(0xe2)+_0x105a35+_0x525e0b(0x8c)+_0x9ee4c[_0x525e0b(0x12b)]),_0x9ee4c[_0x525e0b(0xe6)]?(u(0x2,_0x525e0b(0xe2)+_0x105a35+_0x525e0b(0xb4)+_0x9ee4c[_0x525e0b(0xe6)][_0x525e0b(0x95)]),u(0x2,_0x525e0b(0xe2)+_0x105a35+'\x0aResponse\x20Data:\x20'+_0x9ee4c['response']['data'])):_0x9ee4c[_0x525e0b(0xfd)]?u(0x2,_0x525e0b(0xe2)+_0x105a35+'\x0aNo\x20response\x20received.\x20Check\x20network\x20connection\x20or\x20server\x20issues.'):u(0x2,_0x525e0b(0xe2)+_0x105a35+_0x525e0b(0x14c)+_0x9ee4c['message'])):_0x9ee4c instanceof Error?u(0x2,_0x525e0b(0xe2)+_0x105a35+_0x525e0b(0xc6)+_0x9ee4c[_0x525e0b(0x12b)]):u(0x2,_0x525e0b(0xe2)+_0x105a35+_0x525e0b(0xc6)+String(_0x9ee4c));},O=(_0x5b1ff9,_0x57c9ea,_0x3cbe8b)=>c(void 0x0,null,function*(){const _0x278903=_0x1c3e94;try{if(l['disableSDK'])throw new l(_0x278903(0x104));if(_0x5b1ff9!=='record\x20event'&&l[_0x278903(0x111)])throw new l(_0x278903(0xb3));if(_0x5b1ff9!==_0x278903(0x151)&&!l['isInitialized'])throw new l('Mergn\x20not\x20initialized!');return yield _0x57c9ea();}catch(_0x188b51){return _0x3cbe8b?_0x3cbe8b(_0x188b51):(l['debugLevel']===0x2||l[_0x278903(0x148)]===0x3)&&Jt(_0x5b1ff9,_0x188b51),null;}}),M=(_0x180e8e=>(_0x180e8e[_0x180e8e['NONE']=0x0]=_0x1c3e94(0xfc),_0x180e8e[_0x180e8e[_0x1c3e94(0xd4)]=0x1]=_0x1c3e94(0xd4),_0x180e8e[_0x180e8e[_0x1c3e94(0x12a)]=0x2]=_0x1c3e94(0x12a),_0x180e8e[_0x180e8e['ALL']=0x3]=_0x1c3e94(0x15f),_0x180e8e))(M||{}),u=(_0x4e30cc,_0x18090c)=>{const _0x1847e9=_0x1c3e94;l[_0x1847e9(0x148)]!==0x0&&l[_0x1847e9(0x148)]<=0x3&&(_0x4e30cc===0x1?console[_0x1847e9(0x130)]('INFO:\x20'+new Date()[_0x1847e9(0x8f)](),_0x18090c):_0x4e30cc===0x2&&console['error'](_0x1847e9(0xc1)+new Date()[_0x1847e9(0x8f)](),_0x18090c));},S=(_0x5c16dd,_0xfe75c0)=>{const _0x1c665a=_0x1c3e94;l['debugLevel']!==0x0&&(_0xfe75c0?console[_0x1c665a(0x11b)](_0x5c16dd):console[_0x1c665a(0x10b)](_0x5c16dd));},I=(_0x13f857,_0x3c3fc0)=>{const _0x364556=_0x1c3e94;l['debugLevel']!==0x0&&(_0x3c3fc0?console[_0x364556(0x9e)](_0x13f857):console['groupEnd']());},w,$,V,B,re,k,Me,ne,lt,d=class d{constructor(){const _0x346521=_0x1c3e94;a(this,re,0x0);let _0x1c646e=at['default'][_0x346521(0xf2)]({'baseURL':et,'headers':{'Content-Type':_0x346521(0xb0)}});v(d,$,_0x1c646e),v(d,V,new st[(_0x346521(0x14f))]({'client':_0x1c646e,'queueSize':0xa})),(0x0,ct[_0x346521(0xbc)])(_0x1c646e,{'onRetry':_0xd3509d=>{const _0x67fd84=_0x346521;_0xd3509d>=p(d,B)?(l[_0x67fd84(0x148)]>0x2&&console[_0x67fd84(0xe9)](_0x67fd84(0x102)),l[_0x67fd84(0xaa)]=!0x0,setTimeout(()=>{const _0x45053a=_0x67fd84;l[_0x45053a(0xaa)]=!0x1;},0x7530)):Ye(this,re)['_']++;},'retries':p(d,B),'retryDelay':_0x3293e2=>_0x3293e2*0x1388});}static[_0x1c3e94(0xa7)](_0x52bf13){const _0x31dfe3=_0x1c3e94;this['apiKey']=_0x52bf13,n(this,ne,lt)[_0x31dfe3(0xa1)](this)[_0x31dfe3(0xc7)][_0x31dfe3(0xff)][_0x31dfe3(0xec)][_0x31dfe3(0x8d)]=_0x52bf13;}static[_0x1c3e94(0x8e)](_0x31fdcb){const _0x39095e=_0x1c3e94;return n(this,k,Me)[_0x39095e(0xa1)](this)['get'](_0x31fdcb);}static[_0x1c3e94(0x107)](_0x1a7f73,_0x199426){const _0x55c82a=_0x1c3e94;return n(this,k,Me)[_0x55c82a(0xa1)](this)[_0x55c82a(0x107)](_0x1a7f73,_0x199426||{});}};w=new WeakMap(),$=new WeakMap(),V=new WeakMap(),B=new WeakMap(),re=new WeakMap(),k=new WeakSet(),Me=function(){return p(d,w)||v(d,w,new d()),p(d,V);},ne=new WeakSet(),lt=function(){return p(d,w)||v(d,w,new d()),p(d,$);},a(d,k),a(d,ne),a(d,w,void 0x0),a(d,$,void 0x0),a(d,V,void 0x0),a(d,B,0x2);function _0x260a(_0x3a9346,_0x5b31d4){const _0x50aad6=_0x50aa();return _0x260a=function(_0x260a89,_0x40841c){_0x260a89=_0x260a89-0x85;let _0x252600=_0x50aad6[_0x260a89];return _0x252600;},_0x260a(_0x3a9346,_0x5b31d4);}var Fe=d,R=Fe,P,D,K,W,z,ce,gt,b,J,f,T,le,ut,ge,Et,G,Ve,j,Be,ue,pt,Ee,dt,pe,mt,de,H,me,Se,St,Ie,It,ve,vt,Q,ke,fe,ft,U,ie,x,ae,Te,Tt,q,Je,ye,yt,he,ht,Re,Rt,C,se,Oe,Ot,we,wt,Le,Lt,Y,Ke,be,bt,X,We,Ae,At,Ne,Nt,Z,ze,Pe,Pt,De,Dt,L=class L{constructor(){a(this,ce),a(this,b),a(this,f),a(this,le),a(this,ge),a(this,G),a(this,j),a(this,ue),a(this,Ee),a(this,pe),a(this,Se),a(this,Ie),a(this,ve),a(this,Q),a(this,fe),a(this,U),a(this,x),a(this,Te),a(this,q),a(this,ye),a(this,he),a(this,Re),a(this,C),a(this,Oe),a(this,we),a(this,Le),a(this,Y),a(this,be),a(this,X),a(this,Ae),a(this,Ne),a(this,Z),a(this,Pe),a(this,De),a(this,D,void 0x0),a(this,K,void 0x0),a(this,W,void 0x0),a(this,z,null),a(this,de,()=>{const _0x39ad47=_0x260a;let _0x1f14e4=()=>{const _0x408fea=_0x260a;let _0x223d73=JSON['parse'](localStorage[_0x408fea(0x103)]('action')||'{}');Object['keys'](_0x223d73)[_0x408fea(0xfe)](_0x42951e=>{const _0x445a52=_0x408fea;_0x223d73[_0x42951e][_0x445a52(0x154)]=new Date()[_0x445a52(0x155)](),_0x223d73[_0x42951e][_0x445a52(0xce)]=window[_0x445a52(0xae)][_0x445a52(0x9d)]+window[_0x445a52(0xae)][_0x445a52(0x109)];}),localStorage[_0x408fea(0xb7)](_0x408fea(0x13f),JSON['stringify'](_0x223d73));};_0x1f14e4(),window[_0x39ad47(0x99)]('beforeunload',_0x1f14e4);}),a(this,H,_0x21de87=>{const _0x11c91b=_0x260a;let _0x4f5f87=JSON[_0x11c91b(0x132)](localStorage[_0x11c91b(0x103)]('action')||'{}');_0x4f5f87[_0x21de87]&&delete _0x4f5f87[_0x21de87],localStorage['setItem'](_0x11c91b(0x13f),JSON[_0x11c91b(0x15b)](_0x4f5f87));}),a(this,me,()=>{const _0x1bfd53=_0x260a;let _0x127603=JSON[_0x1bfd53(0x132)](localStorage[_0x1bfd53(0x103)](_0x1bfd53(0x13f))||'{}');Object[_0x1bfd53(0x14d)](_0x127603)[_0x1bfd53(0xfe)](_0x683fe=>{const _0x531ee3=_0x1bfd53;_0x127603[_0x683fe][_0x531ee3(0x12b)][_0x531ee3(0x10d)]===_0x531ee3(0xf4)&&n(this,q,Je)[_0x531ee3(0xa1)](this,_0x127603[_0x683fe][_0x531ee3(0x11a)]);});});}static[_0x1c3e94(0x10a)](){return p(L,P)||v(L,P,new L()),p(L,P);}[_0x1c3e94(0x151)](_0xf6ca5e){const _0x1dc3f0=_0x1c3e94;O(_0x1dc3f0(0x151),()=>c(this,null,function*(){const _0x4ca537=_0x1dc3f0;u(0x1,_0x4ca537(0x164)),I(_0x4ca537(0x164),!0x0),S(_0x4ca537(0x141),!0x0),n(this,ue,pt)[_0x4ca537(0xa1)](this,_0xf6ca5e),yield n(this,G,Ve)[_0x4ca537(0xa1)](this),l[_0x4ca537(0xe8)]=!0x0,setInterval(()=>c(this,null,function*(){const _0x40ad92=_0x4ca537;yield n(this,G,Ve)[_0x40ad92(0xa1)](this);}),0x493e0),yield n(this,b,J)['call'](this),window[_0x4ca537(0x99)]('online',()=>c(this,null,function*(){const _0x2952a7=_0x4ca537;l[_0x2952a7(0x111)]=!0x1;let _0x16ca5f=JSON[_0x2952a7(0x132)](localStorage['getItem'](_0x2952a7(0x163))||'[]');Array['isArray'](_0x16ca5f)&&(yield n(this,X,We)[_0x2952a7(0xa1)](this,{'customerId':localStorage[_0x2952a7(0x103)](_0x2952a7(0x90))||'','events':_0x16ca5f}),localStorage[_0x2952a7(0xcf)](_0x2952a7(0x163))),n(this,b,J)[_0x2952a7(0xa1)](this),n(this,x,ae)[_0x2952a7(0xa1)](this);})),window['addEventListener'](_0x4ca537(0x111),()=>{const _0x83193=_0x4ca537;l[_0x83193(0x111)]=!0x0;}),window['addEventListener']('load',()=>{const _0x29f6d1=_0x4ca537;p(this,me)[_0x29f6d1(0xa1)](this);});let _0x4fd91a=history[_0x4ca537(0xf6)];history['pushState']=(..._0x2a2e95)=>{const _0x15be4b=_0x4ca537;_0x4fd91a['apply'](history,_0x2a2e95),n(this,j,Be)[_0x15be4b(0xa1)](this);},n(this,j,Be)['call'](this),S(_0x4ca537(0x141),!0x1),I(_0x4ca537(0x164),!0x1);}));}[_0x1c3e94(0x158)](_0x55067c){const _0x547828=_0x1c3e94;if(!(_0x55067c in M)){console[_0x547828(0xe9)](_0x547828(0xe1));return;}l[_0x547828(0x148)]=_0x55067c;}[_0x1c3e94(0x105)](_0x1c0e53,_0x13e6bb){const _0x5b17ab=_0x1c3e94;O(_0x5b17ab(0x105),()=>c(this,null,function*(){const _0x5ea60d=_0x5b17ab;yield n(this,ce,gt)[_0x5ea60d(0xa1)](this,_0x1c0e53,_0x13e6bb,void 0x0);}));}[_0x1c3e94(0xf8)](_0xf6d668){O('login',()=>c(this,null,function*(){const _0x5234ac=_0x260a;u(0x1,'Logging\x20in'),I(_0x5234ac(0x149),!0x0),S(_0x5234ac(0x110),!0x0),u(0x1,_0x5234ac(0xc9)+_0xf6d668),yield n(this,U,ie)[_0x5234ac(0xa1)](this,_0xf6d668),S(_0x5234ac(0x110),!0x1),I(_0x5234ac(0x149),!0x1);}));}[_0x1c3e94(0x112)](){const _0x188012=_0x1c3e94;O(_0x188012(0x112),()=>c(this,null,function*(){const _0x4fed57=_0x188012;u(0x1,'Logging\x20out'),I(_0x4fed57(0x11d),!0x0),S(_0x4fed57(0x14e),!0x0),n(this,Z,ze)[_0x4fed57(0xa1)](this),S(_0x4fed57(0x14e),!0x1),I(_0x4fed57(0x11d),!0x1);}));}[_0x1c3e94(0x13c)](_0x12f254,_0x10744e){const _0x34febb=_0x1c3e94;O(_0x34febb(0xc2),()=>c(this,null,function*(){const _0x23bc4d=_0x34febb;u(0x1,'Recording\x20event'),I(_0x23bc4d(0x10f),!0x0),S(_0x23bc4d(0x120),!0x0),u(0x1,_0x23bc4d(0x121)+{'eventName':_0x12f254,'eventProperties':_0x10744e}),yield n(this,f,T)['call'](this,_0x12f254,_0x10744e),S(_0x23bc4d(0x120),!0x1),I(_0x23bc4d(0x10f),!0x1);}));}};P=new WeakMap(),D=new WeakMap(),K=new WeakMap(),W=new WeakMap(),z=new WeakMap(),ce=new WeakSet(),gt=function(_0x1d26ad,_0x34ecea,_0x4df333){return c(this,null,function*(){const _0x13c68f=_0x260a;yield O(_0x13c68f(0xf9),()=>c(this,null,function*(){const _0x227db8=_0x13c68f;u(0x1,'Recording\x20attribute'),I(_0x227db8(0x125),!0x0),S(_0x227db8(0x150),!0x0),u(0x1,_0x227db8(0x93)+{'attributeName':_0x1d26ad,'attributeProperties':_0x4df333,'attributeValue':_0x34ecea}+')}'),yield n(this,b,J)[_0x227db8(0xa1)](this),yield n(this,Pe,Pt)[_0x227db8(0xa1)](this);let _0x587116=JSON['parse'](localStorage[_0x227db8(0x103)]('attributes')||'{}'),_0x1b2c0b=_0x4df333?n(this,Y,Ke)[_0x227db8(0xa1)](this,_0x587116,_0x1d26ad,_0x4df333):n(this,Y,Ke)[_0x227db8(0xa1)](this,_0x587116,_0x1d26ad);if(typeof _0x1b2c0b==_0x227db8(0xd0)){u(0x2,_0x1b2c0b);return;}n(this,x,ae)['call'](this);let {id:_0xe8798a}=_0x587116[_0x1d26ad],_0x532f93={'attributeId':_0xe8798a,'attributeProperties':_0x1b2c0b,'customerId':localStorage[_0x227db8(0x103)](_0x227db8(0x90))||'','value':_0x34ecea};yield n(this,De,Dt)[_0x227db8(0xa1)](this,_0x532f93),S(_0x227db8(0x150),!0x1),I('Recording\x20attribute',!0x1);}));});},b=new WeakSet(),J=function(){return c(this,null,function*(){const _0x438aee=_0x260a;u(0x1,_0x438aee(0xed)),I(_0x438aee(0xed),!0x0),S('Checking\x20TTL\x20Time',!0x0);let _0x252fd8=localStorage[_0x438aee(0x103)]('ttl'),_0x4206e3=!0x1;if(_0x252fd8){if(_0x4206e3=new Date()[_0x438aee(0x155)]()-parseInt(_0x252fd8,0xa)>0x124f80,_0x4206e3){let _0x4e6c84=localStorage[_0x438aee(0x103)](_0x438aee(0x156)),_0x54c9e3=localStorage['getItem'](_0x438aee(0x144));_0x4e6c84&&_0x54c9e3&&n(this,f,T)['call'](this,_0x438aee(0xa0),[{'eventProperty':_0x438aee(0x100),'value':localStorage['getItem']('session')},{'eventProperty':'SESSION_CREATED','value':new Date(parseInt(_0x54c9e3,0xa))[_0x438aee(0x8f)]()}]),n(this,Z,ze)['call'](this),localStorage[_0x438aee(0xb7)](_0x438aee(0x144),''+new Date()[_0x438aee(0x155)]());}}else localStorage['setItem'](_0x438aee(0x144),''+new Date()[_0x438aee(0x155)]());(!_0x252fd8||_0x4206e3||n(this,Ee,dt)[_0x438aee(0xa1)](this))&&(n(this,Se,St)[_0x438aee(0xa1)](this),yield n(this,U,ie)[_0x438aee(0xa1)](this),yield n(this,pe,mt)[_0x438aee(0xa1)](this)),S(_0x438aee(0x137),!0x1),I(_0x438aee(0xed),!0x1);});},f=new WeakSet(),T=function(_0x264226,_0x35de41,_0xfb423d,_0x58dc48,_0x335b5d){return c(this,null,function*(){const _0x3f1a6f=_0x260a;yield O(_0x3f1a6f(0xb9),()=>c(this,null,function*(){const _0x318bfd=_0x3f1a6f;var _0x4aa029;u(0x1,_0x318bfd(0x153)),I(_0x318bfd(0x10f),!0x0),S(_0x318bfd(0x120),!0x0),u(0x1,'Event\x20Payload'),u(0x1,{'campaignCustomerInstanceId':_0x58dc48,'eventName':_0x264226,'eventProperties':_0x35de41,'name':_0x335b5d}),_0x264226!==_0x318bfd(0xa0)&&(yield n(this,b,J)['call'](this));let _0x5d60ad=[];_0x35de41&&_0x5d60ad['push'](..._0x35de41),_0x5d60ad[_0x318bfd(0xbe)]({'eventProperty':_0x318bfd(0x131),'value':p(this,D)}),_0x5d60ad['push']({'eventProperty':_0x318bfd(0x142),'value':p(this,W)}),_0x5d60ad[_0x318bfd(0xbe)]({'eventProperty':_0x318bfd(0xab),'value':p(this,K)});let _0x3d8f60=n(this,we,wt)['call'](this),_0x30795a=n(this,Le,Lt)['call'](this,_0x3d8f60,_0x264226,_0x5d60ad);if(typeof _0x30795a==_0x318bfd(0xd0)){u(0x2,_0x30795a);return;}n(this,x,ae)['call'](this);let {id:_0x1255ba}=_0x3d8f60[_0x264226],_0x3858c8=n(this,be,bt)[_0x318bfd(0xa1)](this,F(Ue(F(F({},_0x58dc48?{'campaignCustomerInstanceId':_0x58dc48}:{}),_0xfb423d?{'campaignId':_0xfb423d}:{}),{'eventId':_0x1255ba,'eventProperties':_0x30795a,'sessionId':localStorage[_0x318bfd(0x103)](_0x318bfd(0x156))||''}),_0x335b5d?{'name':_0x335b5d}:{}));if(l[_0x318bfd(0x111)]){let _0x429763=JSON[_0x318bfd(0x132)](localStorage[_0x318bfd(0x103)](_0x318bfd(0x163))||'[]');_0x429763[_0x318bfd(0x13a)]<=0x32&&(_0x429763[_0x318bfd(0xbe)](..._0x3858c8[_0x318bfd(0xc0)]),localStorage['setItem'](_0x318bfd(0x163),JSON[_0x318bfd(0x15b)](_0x429763)));return;}let _0x414e15=yield n(this,X,We)[_0x318bfd(0xa1)](this,_0x3858c8);(_0x4aa029=_0x414e15==null?void 0x0:_0x414e15[_0x318bfd(0x10e)])==null||_0x4aa029[_0x318bfd(0xfe)](_0x3351c4=>{const _0x542ec2=_0x318bfd;n(this,Ae,At)[_0x542ec2(0xa1)](this,_0x3351c4[_0x542ec2(0x12b)][_0x542ec2(0x10d)])&&(n(this,Ne,Nt)[_0x542ec2(0xa1)](this,_0x3351c4),p(this,de)[_0x542ec2(0xa1)](this),n(this,q,Je)[_0x542ec2(0xa1)](this,_0x3351c4[_0x542ec2(0x11a)]));}),S(_0x318bfd(0x120),!0x1),I(_0x318bfd(0x10f),!0x1);}));});},le=new WeakSet(),ut=function(){const _0x19f59e=_0x1c3e94;let _0x2349b3=navigator[_0x19f59e(0xbd)][_0x19f59e(0x129)]();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0x19f59e(0x126)](_0x2349b3)?_0x19f59e(0x108):/windows|macintosh|linux|x11/i[_0x19f59e(0x126)](_0x2349b3)?'Web':'Unknown';},ge=new WeakSet(),Et=function(){const _0x420316=_0x1c3e94;let _0x4702dd=navigator['userAgent'],_0xf2c22e;return _0x4702dd['indexOf'](_0x420316(0xef))>-0x1?_0xf2c22e=_0x420316(0x160):_0x4702dd[_0x420316(0x106)](_0x420316(0x98))>-0x1?_0xf2c22e=_0x420316(0x98):_0x4702dd['indexOf']('Firefox')>-0x1?_0xf2c22e=_0x420316(0xde):_0x4702dd['indexOf'](_0x420316(0xf3))>-0x1?_0xf2c22e=_0x420316(0x146):_0x4702dd['indexOf']('MSIE')>-0x1?_0xf2c22e='Internet\x20Explorer':_0xf2c22e=_0x420316(0xa2),_0xf2c22e;},G=new WeakSet(),Ve=function(){return c(this,null,function*(){const _0x26ade2=_0x260a;try{yield R[_0x26ade2(0x8e)]('brand');}catch(_0x5eb63d){throw l['disableSDK']=!0x0,_0x5eb63d[_0x26ade2(0x12b)];}});},j=new WeakSet(),Be=function(){return c(this,null,function*(){const _0x865477=_0x260a;var _0x59235d;u(0x1,_0x865477(0x89)),I('Tracking\x20page\x20change',!0x0),S(_0x865477(0xb5),!0x0);let _0x472971=(_0x59235d=window==null?void 0x0:window[_0x865477(0xae)])==null?void 0x0:_0x59235d[_0x865477(0x9c)];if(_0x472971!==p(this,z)){v(this,z,_0x472971);let _0x310378=[];new URLSearchParams(new URL(window[_0x865477(0xae)][_0x865477(0x9c)])[_0x865477(0xcb)])[_0x865477(0xfe)]((_0x1fd37f,_0x57cd97)=>c(this,null,function*(){const _0x1c980e=_0x865477;Ze[_0x1c980e(0x116)](_0x57cd97)&&_0x310378['push']({'eventProperty':_0x57cd97,'value':_0x1fd37f});})),yield n(this,f,T)[_0x865477(0xa1)](this,'Viewed\x20Webpage',[{'eventProperty':'URL','value':window[_0x865477(0xae)][_0x865477(0x109)]},..._0x310378]);}S('Tracking\x20page\x20change\x20Time',!0x1),I('Tracking\x20page\x20change',!0x1);});},ue=new WeakSet(),pt=function(_0x1af942){const _0x1bbf0f=_0x1c3e94;R[_0x1bbf0f(0xa7)](_0x1af942),v(this,D,navigator['userAgent']),v(this,K,n(this,ge,Et)['call'](this)),v(this,W,n(this,le,ut)[_0x1bbf0f(0xa1)](this));},Ee=new WeakSet(),dt=function(){const _0x26544c=_0x1c3e94;return!localStorage[_0x26544c(0x103)](_0x26544c(0xc0))||!localStorage[_0x26544c(0x103)](_0x26544c(0x90))||!localStorage[_0x26544c(0x103)]('attributes')||!localStorage[_0x26544c(0x103)]('uniqueIdentity')||!localStorage[_0x26544c(0x103)](_0x26544c(0x156))||!localStorage['getItem']('customer');},pe=new WeakSet(),mt=function(){return c(this,null,function*(){const _0x98b219=_0x260a;yield n(this,Ie,It)[_0x98b219(0xa1)](this),yield n(this,Q,ke)[_0x98b219(0xa1)](this),yield n(this,U,ie)[_0x98b219(0xa1)](this);});},de=new WeakMap(),H=new WeakMap(),me=new WeakMap(),Se=new WeakSet(),St=function(){const _0x293ad4=_0x1c3e94;let _0x3b6c7f=localStorage['getItem'](_0x293ad4(0xe4));return _0x3b6c7f||(_0x3b6c7f=(0x0,oe['v4'])(),localStorage['setItem'](_0x293ad4(0xe4),_0x3b6c7f)),_0x3b6c7f;},Ie=new WeakSet(),It=function(){return c(this,null,function*(){const _0x5b2246=_0x260a;if(!localStorage[_0x5b2246(0x103)](_0x5b2246(0xc0))){let _0xf5466d=(yield n(this,ve,vt)[_0x5b2246(0xa1)](this))['data'];_0xf5466d&&localStorage['setItem']('events',JSON[_0x5b2246(0x15b)](_0xf5466d));}});},ve=new WeakSet(),vt=function(){return c(this,null,function*(){const _0x15dc19=_0x260a;try{return(yield R[_0x15dc19(0x8e)](''+_e))[_0x15dc19(0x10e)];}catch(_0x45657d){throw new Error('Error\x20fetching\x20event\x20data');}});},Q=new WeakSet(),ke=function(){return c(this,null,function*(){const _0x3b4ce7=_0x260a;if(!localStorage[_0x3b4ce7(0x103)]('attributes')){let _0x35816c=(yield n(this,fe,ft)[_0x3b4ce7(0xa1)](this))[_0x3b4ce7(0x10e)];_0x35816c&&localStorage[_0x3b4ce7(0xb7)](_0x3b4ce7(0x12e),JSON[_0x3b4ce7(0x15b)](_0x35816c));}});},fe=new WeakSet(),ft=function(){return c(this,null,function*(){const _0x46a521=_0x260a;try{return(yield R[_0x46a521(0x8e)](''+Ce))[_0x46a521(0x10e)];}catch(_0x5c7822){throw new Error('Error\x20fetching\x20attribute\x20data');}});},U=new WeakSet(),ie=function(_0xadb58d){return c(this,null,function*(){const _0x4b3310=_0x260a;localStorage[_0x4b3310(0x103)](_0x4b3310(0x156))||(localStorage[_0x4b3310(0xb7)](_0x4b3310(0x156),(0x0,oe['v4'])()),yield n(this,f,T)[_0x4b3310(0xa1)](this,_0x4b3310(0x96),[{'eventProperty':'SESSION_ID','value':localStorage['getItem'](_0x4b3310(0x156))},{'eventProperty':_0x4b3310(0x118),'value':new Date(parseInt(localStorage[_0x4b3310(0x103)](_0x4b3310(0x144))||'',0xa))[_0x4b3310(0x8f)]()}]));let _0x5abbe0={'deviceId':localStorage[_0x4b3310(0x103)](_0x4b3310(0xe4))||(0x0,oe['v4'])(),'os':p(this,D)};if(_0xadb58d)_0x5abbe0[_0x4b3310(0x87)]=_0xadb58d;else{if(!_0xadb58d&&localStorage[_0x4b3310(0x103)]('customer'))return;}try{let _0x4365f5=(yield n(this,Te,Tt)[_0x4b3310(0xa1)](this,_0x5abbe0))['data'];_0x4365f5!==void 0x0&&localStorage[_0x4b3310(0xb7)](_0x4b3310(0x90),_0x4365f5);}catch(_0x5ddb54){throw new Error(_0x4b3310(0x11e));}});},x=new WeakSet(),ae=function(){const _0x5bd0ef=_0x1c3e94;localStorage[_0x5bd0ef(0xb7)](_0x5bd0ef(0x144),''+new Date()['getTime']());},Te=new WeakSet(),Tt=function(_0x1f16ba){return c(this,null,function*(){const _0xb6bf25=_0x260a;try{return(yield R[_0xb6bf25(0x107)](''+nt+ot,_0x1f16ba))[_0xb6bf25(0x10e)];}catch(_0x227892){throw new Error(_0xb6bf25(0xe0));}});},q=new WeakSet(),Je=function(_0xf9ade3){const _0x14b3a2=_0x1c3e94;let _0x297836=n(this,ye,yt)[_0x14b3a2(0xa1)](this);if(_0x297836!=null&&_0x297836[_0xf9ade3])switch(_0x297836[_0xf9ade3][_0x14b3a2(0x92)]){case _0x14b3a2(0x114):{n(this,Re,Rt)['call'](this,_0x297836[_0xf9ade3]);break;}case _0x14b3a2(0xf0):{n(this,C,se)['call'](this,_0x297836[_0xf9ade3]);break;}case'SCROLL':{n(this,he,ht)[_0x14b3a2(0xa1)](this,_0x297836[_0xf9ade3]);break;}default:return;}},ye=new WeakSet(),yt=function(){const _0x17a19c=_0x1c3e94;let _0x1a75cf=localStorage['getItem'](_0x17a19c(0x13f));return _0x1a75cf?JSON[_0x17a19c(0x132)](_0x1a75cf):null;},he=new WeakSet(),ht=function(_0x14f64a){const _0x7141a2=_0x1c3e94;let _0xbb1b64=()=>{const _0x1ba46c=_0x260a;var _0x3bcc01,_0x243ec2;let _0x2b426f=window[_0x1ba46c(0x8b)],_0x5d0462=document[_0x1ba46c(0x166)][_0x1ba46c(0xea)],_0x48b7e1=window['scrollY']/(_0x5d0462-_0x2b426f)*0x64;console['log'](_0x1ba46c(0x11f),_0x48b7e1),console[_0x1ba46c(0xad)](_0x1ba46c(0x161),(_0x3bcc01=_0x14f64a[_0x1ba46c(0xaf)])==null?void 0x0:_0x3bcc01[_0x1ba46c(0xd7)]),_0x48b7e1>(((_0x243ec2=_0x14f64a[_0x1ba46c(0xaf)])==null?void 0x0:_0x243ec2[_0x1ba46c(0xd7)])||0x0)&&(window[_0x1ba46c(0xa5)]('scroll',_0xbb1b64),console[_0x1ba46c(0xad)]('called\x202'),n(this,C,se)[_0x1ba46c(0xa1)](this,_0x14f64a));};window[_0x7141a2(0x99)](_0x7141a2(0xe3),_0xbb1b64);},Re=new WeakSet(),Rt=function(_0x2a3141){const _0x36a8ee=_0x1c3e94;var _0x2ad6c3;let _0x1b997b=_0x2a3141['initialTime']-0x1f4+(((_0x2ad6c3=_0x2a3141['campaignEntryTimeValue'])==null?void 0x0:_0x2ad6c3[_0x36a8ee(0xd7)])||0x0)*0x3e8-new Date()[_0x36a8ee(0x155)]();_0x1b997b>0x0&&_0x2a3141['page']===window[_0x36a8ee(0xae)][_0x36a8ee(0x9d)]+window[_0x36a8ee(0xae)][_0x36a8ee(0x109)]&&setTimeout(()=>{const _0x1fdced=_0x36a8ee;p(this,H)[_0x1fdced(0xa1)](this,_0x2a3141[_0x1fdced(0x11a)]),n(this,C,se)[_0x1fdced(0xa1)](this,_0x2a3141);},_0x1b997b);},C=new WeakSet(),se=function(_0x1995d3){const _0x39c5aa=_0x1c3e94;let _0x5b9213=n(this,Oe,Ot)[_0x39c5aa(0xa1)](this,_0x39c5aa(0x11c),_0x1995d3);document[_0x39c5aa(0x97)][_0x39c5aa(0x139)](_0x5b9213),n(this,f,T)[_0x39c5aa(0xa1)](this,N,[{'eventProperty':'Popup\x20View','value':JSON[_0x39c5aa(0x15b)]({'campaignId':_0x1995d3[_0x39c5aa(0x11a)]})}],_0x1995d3[_0x39c5aa(0x11a)],_0x1995d3[_0x39c5aa(0x9a)],_0x39c5aa(0x15a)),p(this,H)[_0x39c5aa(0xa1)](this,_0x1995d3[_0x39c5aa(0x11a)]);},Oe=new WeakSet(),Ot=function(_0x2d54c2,_0x252f62){const _0x292043=_0x1c3e94;var _0x54515e;let {campaignCustomerInstanceId:_0x333a97,campaignId:_0x58bb99,message:{design:_0x35c7fc}}=_0x252f62,_0x154c50=document[_0x292043(0x119)](_0x2d54c2);return _0x154c50['id']='popup_container_'+_0x58bb99,_0x154c50[_0x292043(0xdc)]=_0x35c7fc,_0x154c50[_0x292043(0x127)][_0x292043(0x13e)]='50',_0x154c50[_0x292043(0xd6)]('[id^=\x22u_content_form_\x22]')[_0x292043(0xfe)](_0x334c07=>{const _0x5d120a=_0x292043;let _0x4b6a85=_0x334c07['querySelector'](_0x5d120a(0x10c));_0x4b6a85&&_0x4b6a85['addEventListener'](_0x5d120a(0x12d),()=>c(this,null,function*(){const _0x2806bb=_0x5d120a;_0x154c50[_0x2806bb(0x167)]();let _0x23cff9=new FormData(_0x4b6a85),_0x3ea5d5={};for(let [_0x26342f,_0x3013e0]of _0x23cff9[_0x2806bb(0xdf)]())_0x3ea5d5[_0x26342f]=_0x3013e0;yield n(this,f,T)[_0x2806bb(0xa1)](this,N,[{'eventProperty':_0x2806bb(0x133),'value':JSON[_0x2806bb(0x15b)]({'campaignId':_0x58bb99,'formId':_0x334c07['id'],'formValues':_0x3ea5d5})}],_0x58bb99,_0x333a97,_0x2806bb(0x10c));}));}),(_0x54515e=_0x154c50[_0x292043(0xb6)](_0x292043(0xd9)))==null||_0x54515e[_0x292043(0x99)](_0x292043(0xd1),()=>c(this,null,function*(){const _0x12e9de=_0x292043;_0x154c50[_0x12e9de(0x167)](),yield n(this,f,T)[_0x12e9de(0xa1)](this,N,[{'eventProperty':_0x12e9de(0x117),'value':JSON['stringify']({'campaignId':_0x58bb99})}],_0x58bb99,_0x333a97,_0x12e9de(0xd5));})),_0x154c50[_0x292043(0xd6)](_0x292043(0xca))[_0x292043(0xfe)](_0x2126e8=>{const _0x2f2d53=_0x292043;_0x2126e8[_0x2f2d53(0x99)](_0x2f2d53(0xd1),()=>c(this,null,function*(){const _0x37b052=_0x2f2d53;yield n(this,f,T)[_0x37b052(0xa1)](this,N,[{'eventProperty':_0x37b052(0xdb),'value':JSON['stringify']({'buttonId':_0x2126e8['id'],'campaignId':_0x58bb99})}],_0x58bb99,_0x333a97,'click');}));}),_0x154c50[_0x292043(0xd6)](_0x292043(0x86))[_0x292043(0xfe)](_0x6e1b9d=>{const _0x5ed40b=_0x292043;_0x6e1b9d['addEventListener'](_0x5ed40b(0xd1),()=>c(this,null,function*(){const _0x5c0369=_0x5ed40b;yield n(this,f,T)[_0x5c0369(0xa1)](this,N,[{'eventProperty':_0x5c0369(0x13d),'value':JSON[_0x5c0369(0x15b)]({'campaignId':_0x58bb99,'imageClassName':_0x6e1b9d[_0x5c0369(0xdd)],'imageId':_0x6e1b9d['id']})}],_0x58bb99,_0x333a97,'click');}));}),_0x154c50;},we=new WeakSet(),wt=function(){const _0x2113bd=_0x1c3e94;let _0x2bf242=localStorage[_0x2113bd(0x103)](_0x2113bd(0xc0));return _0x2bf242?JSON[_0x2113bd(0x132)](_0x2bf242):{};},Le=new WeakSet(),Lt=function(_0x43b44a,_0x3a0909,_0x45b15d){const _0x15e617=_0x1c3e94;if(!Object[_0x15e617(0x143)][_0x15e617(0x138)][_0x15e617(0xa1)](_0x43b44a,_0x3a0909))return _0x15e617(0xa8)+_0x3a0909+_0x15e617(0x122);if(!_0x45b15d)return[];let _0x11dbb2=_0x43b44a[_0x3a0909];if(!(_0x11dbb2!=null&&_0x11dbb2[_0x15e617(0x145)]))return _0x15e617(0xa8)+_0x3a0909+_0x15e617(0x159);let _0x18e795=_0x45b15d['filter'](({eventProperty:_0xb4464f})=>!Object[_0x15e617(0x143)][_0x15e617(0x138)][_0x15e617(0xa1)](_0x11dbb2[_0x15e617(0x145)],_0xb4464f))[_0x15e617(0x124)](({eventProperty:_0x34037a})=>_0x34037a);return _0x18e795[_0x15e617(0x13a)]>0x0?'Event\x20'+_0x3a0909+_0x15e617(0xa9)+_0x18e795['join'](',\x20')+'.':_0x45b15d[_0x15e617(0x124)](({eventProperty:_0x49d517,value:_0x8cf628})=>({'eventPropertyId':_0x11dbb2[_0x15e617(0x145)][_0x49d517]['id'],'value':_0x8cf628}));},Y=new WeakSet(),Ke=function(_0x5a4482,_0x3933c9,_0x14574e){const _0x1ab852=_0x1c3e94;if(!Object[_0x1ab852(0x143)][_0x1ab852(0x138)][_0x1ab852(0xa1)](_0x5a4482,_0x3933c9))return _0x1ab852(0x157)+_0x3933c9+_0x1ab852(0x122);if(!_0x14574e)return[];let _0x4a0b31=_0x5a4482[_0x3933c9];if(!(_0x4a0b31!=null&&_0x4a0b31[_0x1ab852(0x152)]))return'Attribute\x20'+_0x3933c9+_0x1ab852(0x12f);let _0xdecf1b=_0x14574e['filter'](({attributeProperty:_0x3fdbc4})=>!Object[_0x1ab852(0x143)][_0x1ab852(0x138)][_0x1ab852(0xa1)](_0x4a0b31[_0x1ab852(0x152)],_0x3fdbc4))['map'](({attributeProperty:_0x601e9f})=>_0x601e9f);return _0xdecf1b['length']>0x0?'Attribute\x20'+_0x3933c9+'\x20has\x20invalid\x20attributeProperties:\x20'+_0xdecf1b[_0x1ab852(0xeb)](',\x20')+'.':_0x14574e[_0x1ab852(0x124)](({attributeProperty:_0x76c225,value:_0x1574d5})=>({'attributePropertyId':_0x4a0b31[_0x1ab852(0x152)][_0x76c225]['id'],'value':_0x1574d5}));},be=new WeakSet(),bt=function(_0x209873){const _0x478f12=_0x1c3e94;return{'customerId':localStorage['getItem'](_0x478f12(0x90))||'','events':[_0x209873]};},X=new WeakSet(),We=function(_0x374c80){return c(this,null,function*(){const _0x13bae8=_0x260a;try{return(yield R[_0x13bae8(0x107)](''+_e+rt,_0x374c80))[_0x13bae8(0x10e)];}catch(_0x3ea055){throw new Error(_0x13bae8(0x123));}});},Ae=new WeakSet(),At=function(_0x53cbdf){const _0x31dc89=_0x1c3e94;return _0x53cbdf===_0x31dc89(0xf4);},Ne=new WeakSet(),Nt=function(_0x1277ca){const _0x3ac48f=_0x1c3e94;let _0x53cb4c=JSON[_0x3ac48f(0x132)](localStorage['getItem'](_0x3ac48f(0x13f))||'{}');_0x53cb4c[_0x1277ca[_0x3ac48f(0x11a)]]=Ue(F({},_0x1277ca),{'initialTime':new Date()[_0x3ac48f(0x155)](),'page':window['location'][_0x3ac48f(0x9d)]+window['location']['pathname']}),localStorage[_0x3ac48f(0xb7)](_0x3ac48f(0x13f),JSON[_0x3ac48f(0x15b)](_0x53cb4c));},Z=new WeakSet(),ze=function(){const _0x4a585b=_0x1c3e94;localStorage[_0x4a585b(0xcf)](_0x4a585b(0x13f)),localStorage[_0x4a585b(0xcf)](_0x4a585b(0xc0)),localStorage[_0x4a585b(0xcf)](_0x4a585b(0x12e)),localStorage[_0x4a585b(0xcf)](_0x4a585b(0x163)),localStorage[_0x4a585b(0xcf)](_0x4a585b(0x144)),localStorage[_0x4a585b(0xcf)](_0x4a585b(0x156));},Pe=new WeakSet(),Pt=function(){return c(this,null,function*(){const _0x490d48=_0x260a;localStorage[_0x490d48(0x103)]('attributes')||(yield n(this,Q,ke)[_0x490d48(0xa1)](this));});},De=new WeakSet(),Dt=function(_0x1e9deb){return c(this,null,function*(){const _0x17b5b2=_0x260a;try{return yield R[_0x17b5b2(0x107)](''+Ce+tt,_0x1e9deb);}catch(_0x48ed13){throw new Error(_0x17b5b2(0xee));}});},a(L,P,void 0x0);var $e=L,Ut=$e[_0x1c3e94(0x10a)](),Kt=Ut;
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- const _0x18abfe=_0x3633;(function(_0x3f2e47,_0x4590f2){const _0x533c27=_0x3633,_0x5006d2=_0x3f2e47();while(!![]){try{const _0x34d22d=parseInt(_0x533c27(0x111))/0x1*(parseInt(_0x533c27(0x12e))/0x2)+-parseInt(_0x533c27(0x114))/0x3*(-parseInt(_0x533c27(0x1cd))/0x4)+parseInt(_0x533c27(0x1a7))/0x5+parseInt(_0x533c27(0x132))/0x6*(-parseInt(_0x533c27(0x1bd))/0x7)+parseInt(_0x533c27(0x194))/0x8+parseInt(_0x533c27(0x1a0))/0x9*(-parseInt(_0x533c27(0x107))/0xa)+-parseInt(_0x533c27(0x17e))/0xb;if(_0x34d22d===_0x4590f2)break;else _0x5006d2['push'](_0x5006d2['shift']());}catch(_0xc69229){_0x5006d2['push'](_0x5006d2['shift']());}}}(_0x2e3a,0x77185));var wt=Object[_0x18abfe(0x128)],Lt=Object['defineProperties'],bt=Object[_0x18abfe(0x17c)],ze=Object[_0x18abfe(0x1c4)],At=Object[_0x18abfe(0x14b)][_0x18abfe(0x135)],Nt=Object[_0x18abfe(0x14b)][_0x18abfe(0x130)],Ge=(_0x558c91,_0x3f3f69,_0x442e37)=>_0x3f3f69 in _0x558c91?wt(_0x558c91,_0x3f3f69,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x442e37}):_0x558c91[_0x3f3f69]=_0x442e37,_=(_0xfd84c7,_0x55c03c)=>{const _0x55daf2=_0x18abfe;for(var _0x167183 in _0x55c03c||(_0x55c03c={}))At[_0x55daf2(0x131)](_0x55c03c,_0x167183)&&Ge(_0xfd84c7,_0x167183,_0x55c03c[_0x167183]);if(ze){for(var _0x167183 of ze(_0x55c03c))Nt[_0x55daf2(0x131)](_0x55c03c,_0x167183)&&Ge(_0xfd84c7,_0x167183,_0x55c03c[_0x167183]);}return _0xfd84c7;},Pe=(_0x2c5a06,_0x4301fe)=>Lt(_0x2c5a06,bt(_0x4301fe)),De=(_0x431a5b,_0x4bb49c,_0x379fe8)=>{const _0x4ca816=_0x18abfe;if(!_0x4bb49c[_0x4ca816(0x14a)](_0x431a5b))throw TypeError(_0x4ca816(0x1b2)+_0x379fe8);},p=(_0x3fdf36,_0xa1283c,_0x495dd0)=>(De(_0x3fdf36,_0xa1283c,_0x18abfe(0x14f)),_0x495dd0?_0x495dd0[_0x18abfe(0x131)](_0x3fdf36):_0xa1283c['get'](_0x3fdf36)),o=(_0x476aca,_0x339b7b,_0x3d5218)=>{const _0x57392e=_0x18abfe;if(_0x339b7b['has'](_0x476aca))throw TypeError(_0x57392e(0x12b));_0x339b7b instanceof WeakSet?_0x339b7b[_0x57392e(0x171)](_0x476aca):_0x339b7b[_0x57392e(0x1ad)](_0x476aca,_0x3d5218);},v=(_0x54132e,_0x3d26a9,_0x53a66f,_0x4753f5)=>(De(_0x54132e,_0x3d26a9,'write\x20to\x20private\x20field'),_0x4753f5?_0x4753f5[_0x18abfe(0x131)](_0x54132e,_0x53a66f):_0x3d26a9[_0x18abfe(0x1ad)](_0x54132e,_0x53a66f),_0x53a66f),je=(_0x180799,_0x3b097d,_0x2b15f3,_0x408b06)=>({set '_'(_0x1fda3e){v(_0x180799,_0x3b097d,_0x1fda3e,_0x2b15f3);},get '_'(){return p(_0x180799,_0x3b097d,_0x408b06);}}),r=(_0x402f16,_0x2015c8,_0x1d0401)=>(De(_0x402f16,_0x2015c8,_0x18abfe(0x156)),_0x1d0401),c=(_0x2fecb4,_0x2c9654,_0x18d7ab)=>new Promise((_0x3846e7,_0x8c6f48)=>{const _0x124a98=_0x18abfe;var _0x1b860a=_0x45d32e=>{const _0xcafbd7=_0x3633;try{_0x599930(_0x18d7ab[_0xcafbd7(0x104)](_0x45d32e));}catch(_0x18c6bc){_0x8c6f48(_0x18c6bc);}},_0x5bbfc3=_0x361355=>{const _0x3aee79=_0x3633;try{_0x599930(_0x18d7ab[_0x3aee79(0x137)](_0x361355));}catch(_0x1619ac){_0x8c6f48(_0x1619ac);}},_0x599930=_0xb037a7=>_0xb037a7[_0x124a98(0x11a)]?_0x3846e7(_0xb037a7[_0x124a98(0x1b6)]):Promise['resolve'](_0xb037a7[_0x124a98(0x1b6)])[_0x124a98(0x175)](_0x1b860a,_0x5bbfc3);_0x599930((_0x18d7ab=_0x18d7ab[_0x124a98(0x109)](_0x2fecb4,_0x2c9654))[_0x124a98(0x104)]());});import{v4 as _0x4219d5}from'uuid';function _0x3633(_0xdad50c,_0x394853){const _0x2e3a05=_0x2e3a();return _0x3633=function(_0x3633b7,_0x33085b){_0x3633b7=_0x3633b7-0x102;let _0x1b8b83=_0x2e3a05[_0x3633b7];return _0x1b8b83;},_0x3633(_0xdad50c,_0x394853);}var He=(_0x3ccee7=>(_0x3ccee7[_0x18abfe(0x1d0)]=_0x18abfe(0x1a6),_0x3ccee7['UTM_MEDIUM']=_0x18abfe(0x192),_0x3ccee7[_0x18abfe(0x127)]=_0x18abfe(0x1b4),_0x3ccee7[_0x18abfe(0x187)]=_0x18abfe(0x16a),_0x3ccee7[_0x18abfe(0x125)]=_0x18abfe(0x1c3),_0x3ccee7))(He||{}),Qe=new Set(Object[_0x18abfe(0x146)](He)),N=_0x18abfe(0x1dc),qe=_0x18abfe(0x10a),Ue=_0x18abfe(0x17d),Ye=_0x18abfe(0x165),xe=_0x18abfe(0x113),Xe=_0x18abfe(0x10f),Ze=_0x18abfe(0x174),et=_0x18abfe(0x123);import _0x1caa05 from'axios';import{AxiosQueueManager as _0x34209c}from'axios-queue-js';import _0x718cc6 from'axios-retry';import{AxiosError as _0x148f9a}from'axios';function _0x2e3a(){const _0x44d69e=['value','error','Error\x20posting\x20identity\x20data','pushState','DELAY','offlineEvents','[id^=\x22u_content_form_\x22]','1869ggaJNC','Recording\x20event\x20Time','attributes','#\x20recordAttribute','Edg','addEventListener','utm_content','getOwnPropertySymbols','Web\x20Session\x20Concluded','map','\x0aHTTP\x20Status:\x20','Event\x20Payload:\x0a\x20','Error\x20fetching\x20event\x20data','Viewed\x20Webpage','campaignEntryTimeValue','Checking\x20TTL','95768mInIOc','headers','querySelector','UTM_SOURCE','SCROLL','Web','test','Firefox','events','getTime','campaignId','Tracking\x20page\x20change\x20Time','Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203','INFO:\x20','forEach','Popup\x20Action','status','defaults','getInstance','stringify','Logging\x20out\x20Time','application/json','keys','next','.u-popup-container\x20img','Mergn\x20SDK\x20is\x20disabled!','345890aoaHQq','click','apply','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','string','push','Microsoft\x20Edge','onLine','/record-event','Image\x20Click','7732dLMlbA','\x20has\x20invalid\x20eventProperties:\x20','/event','63kRknqH','Max\x20retries\x20reached.\x20Disabling\x20SDK.','attributeProperty','beforeunload','Event\x20','\x0aNo\x20response\x20received.\x20Check\x20network\x20connection\x20or\x20server\x20issues.','done','Recording\x20attribute','remove','action','Error\x20setting\x20identity','innerHTML','\x0aError\x20setting\x20up\x20the\x20request:\x20','common','createElement','/set-identity','pathname','UTM_CONTENT','Error\x20posting\x20event\x20record','UTM_CAMPAIGN','defineProperty','os-version','Checking\x20TTL\x20Time','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','appendChild','Safari','250sFClBm','removeItem','propertyIsEnumerable','call','16914OiRNCS','setDebugLevel','record\x20event','hasOwnProperty','isArray','throw','scrollY','offline','Popup','Mergn\x20is\x20offline!','Logging\x20out','submit','eventProperty','customer','disableSDK','indexOf','INFO','request','innerHeight','join','values','scrollHeight','showErrorLog','Form\x20Submit','has','prototype','message','Initializing\x20Mergn\x20SDK','\x0aResponse\x20Data:\x20','read\x20from\x20private\x20field','Mergn\x20SDK\x20Initialization\x20Time','Web\x20Session\x20Started','init','toLowerCase','querySelectorAll','isInitialized','access\x20private\x20method','userAgent','response','page','uniqueIdentity','Close\x20Click','removeEventListener','Attribute\x20','online','session','OriginateFrom:\x20','href','Attribute\x20Payload:\x0a\x20','Internet\x20Explorer','hostname','/set-attribute','Mozilla\x20Firefox','className','search','updateAPIKey','utm_term','div','entries','documentElement','debugLevel','\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.','filter','add','setItem','ttl','/customer','then','MSIE','scroll','campaignEntryTime','parse','Event\x20Payload','info','getOwnPropertyDescriptors','/attribute','12027323KuaRNJ','Error\x20posting\x20attribute\x20record','Logging\x20in\x20Time','Mobile','Button\x20Click','length','SESSION_ID','\x20is\x20not\x20valid.','toISOString','UTM_TERM','Recording\x20attribute\x20Time','Tracking\x20page\x20change','ALL','ERROR:\x20','ERROR','login','body','.u-close-button','Unknown','log','utm_medium','logout','7765240CyRFLE','initialTime','Identity:\x20','#\x20Recording\x20event','\x0aMergnError:\x20','\x0aAxiosError:\x20','Google\x20Chrome','[id^=\x22u_content_button_\x22]','post','SESSION_CREATED','form','close','108QeuFCz','popup_container_','name','recordEvent','get','MergnError','utm_source','1545050hdJRGx','Chrome','recordAttribute','identity','location','called\x202','set','groupEnd','Logging\x20in','data','getItem','Cannot\x20','#\x20record\x20event','utm_campaign','Recording\x20event'];_0x2e3a=function(){return _0x44d69e;};return _0x2e3a();}var ee=(_0x1489e7=>(_0x1489e7[_0x1489e7['NONE']=0x0]='NONE',_0x1489e7[_0x1489e7[_0x18abfe(0x142)]=0x1]=_0x18abfe(0x142),_0x1489e7[_0x1489e7[_0x18abfe(0x18c)]=0x2]=_0x18abfe(0x18c),_0x1489e7[_0x1489e7[_0x18abfe(0x18a)]=0x3]=_0x18abfe(0x18a),_0x1489e7))(ee||{}),u=(_0x532dcd,_0x36b3d7)=>{const _0x513215=_0x18abfe;l[_0x513215(0x16e)]!==0x0&&l['debugLevel']<=0x3&&(_0x532dcd===0x1?console[_0x513215(0x17b)](_0x513215(0x1da)+new Date()[_0x513215(0x186)](),_0x36b3d7):_0x532dcd===0x2&&console[_0x513215(0x1b7)](_0x513215(0x18b)+new Date()[_0x513215(0x186)](),_0x36b3d7));},S=(_0x37c66e,_0x58fc1d)=>{l['debugLevel']!==0x0&&(_0x58fc1d?console['time'](_0x37c66e):console['timeEnd'](_0x37c66e));},I=(_0x2b1cc1,_0x407040)=>{const _0x545262=_0x18abfe;l[_0x545262(0x16e)]!==0x0&&(_0x407040?console['group'](_0x2b1cc1):console[_0x545262(0x1ae)]());},l=class extends Error{constructor(_0x4742c0){const _0x2a4daa=_0x18abfe;super(_0x4742c0),this['name']=_0x2a4daa(0x1a5);}};l[_0x18abfe(0x140)]=!0x1,l[_0x18abfe(0x139)]=!navigator[_0x18abfe(0x10e)],l[_0x18abfe(0x16e)]=0x0,l[_0x18abfe(0x155)]=!0x1;var Dt=(_0x35250f,_0x26bfa5)=>{const _0x5db749=_0x18abfe;_0x26bfa5 instanceof l?u(0x2,_0x5db749(0x160)+_0x35250f+_0x5db749(0x198)+_0x26bfa5[_0x5db749(0x14c)]):_0x26bfa5 instanceof _0x148f9a?(u(0x2,_0x5db749(0x160)+_0x35250f+_0x5db749(0x199)+_0x26bfa5[_0x5db749(0x14c)]),_0x26bfa5[_0x5db749(0x158)]?(u(0x2,'OriginateFrom:\x20'+_0x35250f+_0x5db749(0x1c7)+_0x26bfa5[_0x5db749(0x158)][_0x5db749(0x1dd)]),u(0x2,_0x5db749(0x160)+_0x35250f+_0x5db749(0x14e)+_0x26bfa5[_0x5db749(0x158)][_0x5db749(0x1b0)])):_0x26bfa5[_0x5db749(0x143)]?u(0x2,_0x5db749(0x160)+_0x35250f+_0x5db749(0x119)):u(0x2,_0x5db749(0x160)+_0x35250f+_0x5db749(0x120)+_0x26bfa5[_0x5db749(0x14c)])):_0x26bfa5 instanceof Error?u(0x2,_0x5db749(0x160)+_0x35250f+'\x0aUnexpected\x20error:\x20'+_0x26bfa5[_0x5db749(0x14c)]):u(0x2,_0x5db749(0x160)+_0x35250f+'\x0aUnexpected\x20error:\x20'+String(_0x26bfa5));},O=(_0x4ff8e5,_0x9dd8c0,_0x2f1f2b)=>c(void 0x0,null,function*(){const _0x28b063=_0x18abfe;try{if(l[_0x28b063(0x140)])throw new l(_0x28b063(0x106));if(_0x4ff8e5!==_0x28b063(0x134)&&l[_0x28b063(0x139)])throw new l(_0x28b063(0x13b));if(_0x4ff8e5!=='init'&&!l['isInitialized'])throw new l('Mergn\x20not\x20initialized!');return yield _0x9dd8c0();}catch(_0x5a898c){return _0x2f1f2b?_0x2f1f2b(_0x5a898c):(l[_0x28b063(0x16e)]===0x2||l['debugLevel']===0x3)&&Dt(_0x4ff8e5,_0x5a898c),null;}}),w,F,M,$,te,V,_e,re,tt,d=class d{constructor(){const _0x56de0d=_0x18abfe;o(this,te,0x0);let _0x32aeae=_0x1caa05['create']({'baseURL':qe,'headers':{'Content-Type':_0x56de0d(0x102)}});v(d,F,_0x32aeae),v(d,M,new _0x34209c({'client':_0x32aeae,'queueSize':0xa})),_0x718cc6(_0x32aeae,{'onRetry':_0x4d4298=>{const _0x3623b8=_0x56de0d;_0x4d4298>=p(d,$)?(l[_0x3623b8(0x148)]&&console[_0x3623b8(0x191)](_0x3623b8(0x115)),l[_0x3623b8(0x140)]=!0x0):je(this,te)['_']++;},'retries':p(d,$),'retryDelay':_0x4d219a=>_0x4d219a*0x1388});}static[_0x18abfe(0x169)](_0x55b05f){const _0x5ebf61=_0x18abfe;this['apiKey']=_0x55b05f,r(this,re,tt)[_0x5ebf61(0x131)](this)[_0x5ebf61(0x1de)][_0x5ebf61(0x1ce)][_0x5ebf61(0x121)]['Authorization']=_0x55b05f;}static[_0x18abfe(0x1a4)](_0x191c5e){const _0x135aee=_0x18abfe;return r(this,V,_e)[_0x135aee(0x131)](this)[_0x135aee(0x1a4)](_0x191c5e);}static[_0x18abfe(0x19c)](_0x1518e9,_0x430352){const _0x367e00=_0x18abfe;return r(this,V,_e)['call'](this)[_0x367e00(0x19c)](_0x1518e9,_0x430352||{});}};w=new WeakMap(),F=new WeakMap(),M=new WeakMap(),$=new WeakMap(),te=new WeakMap(),V=new WeakSet(),_e=function(){return p(d,w)||v(d,w,new d()),p(d,M);},re=new WeakSet(),tt=function(){return p(d,w)||v(d,w,new d()),p(d,F);},o(d,V),o(d,re),o(d,w,void 0x0),o(d,F,void 0x0),o(d,M,void 0x0),o(d,$,0x2);var Ce=d,R=Ce,P,D,k,J,K,ae,rt,b,B,f,T,se,nt,ce,ot,W,$e,z,Ve,le,it,ge,at,ue,st,Ee,G,pe,de,ct,me,lt,Se,gt,j,Be,Ie,ut,U,ne,x,oe,ve,Et,H,ke,fe,pt,Te,dt,ye,mt,C,ie,he,St,Re,It,Oe,vt,Q,Je,we,ft,q,Ke,Le,Tt,be,yt,Y,We,Ae,ht,Ne,Rt,L=class L{constructor(){o(this,ae),o(this,b),o(this,f),o(this,se),o(this,ce),o(this,W),o(this,z),o(this,le),o(this,ge),o(this,ue),o(this,de),o(this,me),o(this,Se),o(this,j),o(this,Ie),o(this,U),o(this,x),o(this,ve),o(this,H),o(this,fe),o(this,Te),o(this,ye),o(this,C),o(this,he),o(this,Re),o(this,Oe),o(this,Q),o(this,we),o(this,q),o(this,Le),o(this,be),o(this,Y),o(this,Ae),o(this,Ne),o(this,D,void 0x0),o(this,k,void 0x0),o(this,J,void 0x0),o(this,K,null),o(this,Ee,()=>{const _0x56d344=_0x3633;let _0x15f140=()=>{const _0x3c88ce=_0x3633;let _0xe60743=JSON[_0x3c88ce(0x179)](localStorage[_0x3c88ce(0x1b1)]('action')||'{}');Object[_0x3c88ce(0x103)](_0xe60743)[_0x3c88ce(0x1db)](_0x3cf38a=>{const _0x430046=_0x3c88ce;_0xe60743[_0x3cf38a][_0x430046(0x195)]=new Date()[_0x430046(0x1d6)](),_0xe60743[_0x3cf38a][_0x430046(0x159)]=window[_0x430046(0x1ab)][_0x430046(0x164)]+window[_0x430046(0x1ab)][_0x430046(0x124)];}),localStorage[_0x3c88ce(0x172)](_0x3c88ce(0x11d),JSON[_0x3c88ce(0x1e0)](_0xe60743));};_0x15f140(),window[_0x56d344(0x1c2)](_0x56d344(0x117),_0x15f140);}),o(this,G,_0x55f57c=>{const _0x562646=_0x3633;let _0x1da7ac=JSON[_0x562646(0x179)](localStorage[_0x562646(0x1b1)](_0x562646(0x11d))||'{}');_0x1da7ac[_0x55f57c]&&delete _0x1da7ac[_0x55f57c],localStorage[_0x562646(0x172)](_0x562646(0x11d),JSON['stringify'](_0x1da7ac));}),o(this,pe,()=>{const _0x15b654=_0x3633;let _0x6c78c3=JSON['parse'](localStorage['getItem'](_0x15b654(0x11d))||'{}');Object['keys'](_0x6c78c3)['forEach'](_0x51e8c2=>{const _0xf7d051=_0x15b654;_0x6c78c3[_0x51e8c2]['message']['name']===_0xf7d051(0x13a)&&r(this,H,ke)[_0xf7d051(0x131)](this,_0x6c78c3[_0x51e8c2][_0xf7d051(0x1d7)]);});});}static[_0x18abfe(0x1df)](){return p(L,P)||v(L,P,new L()),p(L,P);}[_0x18abfe(0x152)](_0x2928c2){const _0xbadf11=_0x18abfe;O(_0xbadf11(0x152),()=>c(this,null,function*(){const _0xc6a352=_0xbadf11;u(0x1,_0xc6a352(0x14d)),I(_0xc6a352(0x14d),!0x0),S(_0xc6a352(0x150),!0x0),r(this,le,it)[_0xc6a352(0x131)](this,_0x2928c2),yield r(this,W,$e)[_0xc6a352(0x131)](this),l[_0xc6a352(0x155)]=!0x0,setInterval(()=>c(this,null,function*(){const _0x343afb=_0xc6a352;yield r(this,W,$e)[_0x343afb(0x131)](this);}),0x493e0),yield r(this,b,B)[_0xc6a352(0x131)](this),window[_0xc6a352(0x1c2)](_0xc6a352(0x15e),()=>c(this,null,function*(){const _0x54d18d=_0xc6a352;l['offline']=!0x1;let _0x462225=JSON[_0x54d18d(0x179)](localStorage[_0x54d18d(0x1b1)](_0x54d18d(0x1bb))||'[]');Array[_0x54d18d(0x136)](_0x462225)&&(yield r(this,q,Ke)['call'](this,{'customerId':localStorage[_0x54d18d(0x1b1)](_0x54d18d(0x13f))||'','events':_0x462225}),localStorage[_0x54d18d(0x12f)](_0x54d18d(0x1bb))),r(this,b,B)[_0x54d18d(0x131)](this),r(this,x,oe)[_0x54d18d(0x131)](this);})),window['addEventListener'](_0xc6a352(0x139),()=>{const _0x4032a6=_0xc6a352;l[_0x4032a6(0x139)]=!0x0;}),window[_0xc6a352(0x1c2)]('load',()=>{p(this,pe)['call'](this);});let _0x597668=history[_0xc6a352(0x1b9)];history['pushState']=(..._0x3d6a4c)=>{const _0x60cbae=_0xc6a352;_0x597668[_0x60cbae(0x109)](history,_0x3d6a4c),r(this,z,Ve)[_0x60cbae(0x131)](this);},r(this,z,Ve)[_0xc6a352(0x131)](this),S('Mergn\x20SDK\x20Initialization\x20Time',!0x1),I(_0xc6a352(0x14d),!0x1);}));}[_0x18abfe(0x133)](_0x1c22a2){const _0x12c37a=_0x18abfe;if(!(_0x1c22a2 in ee)){console[_0x12c37a(0x1b7)](_0x12c37a(0x1d9));return;}l[_0x12c37a(0x16e)]=_0x1c22a2;}['recordAttribute'](_0x28279b,_0x2d5796){const _0x4e5713=_0x18abfe;O(_0x4e5713(0x1a9),()=>c(this,null,function*(){const _0x31acc0=_0x4e5713;yield r(this,ae,rt)[_0x31acc0(0x131)](this,_0x28279b,_0x2d5796,void 0x0);}));}['login'](_0x309838){const _0xebdbee=_0x18abfe;O(_0xebdbee(0x18d),()=>c(this,null,function*(){const _0x2c81cb=_0xebdbee;u(0x1,_0x2c81cb(0x1af)),I(_0x2c81cb(0x1af),!0x0),S(_0x2c81cb(0x180),!0x0),u(0x1,_0x2c81cb(0x196)+_0x309838),yield r(this,U,ne)['call'](this,_0x309838),S('Logging\x20in\x20Time',!0x1),I('Logging\x20in',!0x1);}));}['logout'](){const _0x2dc1da=_0x18abfe;O(_0x2dc1da(0x193),()=>c(this,null,function*(){const _0x379a65=_0x2dc1da;u(0x1,'Logging\x20out'),I(_0x379a65(0x13c),!0x0),S(_0x379a65(0x1e1),!0x0),r(this,Y,We)[_0x379a65(0x131)](this),S(_0x379a65(0x1e1),!0x1),I(_0x379a65(0x13c),!0x1);}));}[_0x18abfe(0x1a3)](_0x3ce635,_0x2fe7e0){O('record\x20event',()=>c(this,null,function*(){const _0x4d1c46=_0x3633;u(0x1,_0x4d1c46(0x1b5)),I('Recording\x20event',!0x0),S(_0x4d1c46(0x1be),!0x0),u(0x1,_0x4d1c46(0x1c8)+{'eventName':_0x3ce635,'eventProperties':_0x2fe7e0}),yield r(this,f,T)[_0x4d1c46(0x131)](this,_0x3ce635,_0x2fe7e0),S(_0x4d1c46(0x1be),!0x1),I(_0x4d1c46(0x1b5),!0x1);}));}};P=new WeakMap(),D=new WeakMap(),k=new WeakMap(),J=new WeakMap(),K=new WeakMap(),ae=new WeakSet(),rt=function(_0x585d5d,_0x224436,_0x24f657){return c(this,null,function*(){const _0x47dc07=_0x3633;yield O(_0x47dc07(0x1c0),()=>c(this,null,function*(){const _0x46b05c=_0x47dc07;u(0x1,_0x46b05c(0x11b)),I('Recording\x20attribute',!0x0),S('Recording\x20attribute\x20Time',!0x0),u(0x1,_0x46b05c(0x162)+{'attributeName':_0x585d5d,'attributeProperties':_0x24f657,'attributeValue':_0x224436}+')}'),yield r(this,b,B)[_0x46b05c(0x131)](this),yield r(this,Ae,ht)[_0x46b05c(0x131)](this);let _0x10431d=JSON[_0x46b05c(0x179)](localStorage[_0x46b05c(0x1b1)](_0x46b05c(0x1bf))||'{}'),_0x5ecbd7=_0x24f657?r(this,Q,Je)[_0x46b05c(0x131)](this,_0x10431d,_0x585d5d,_0x24f657):r(this,Q,Je)[_0x46b05c(0x131)](this,_0x10431d,_0x585d5d);if(typeof _0x5ecbd7==_0x46b05c(0x10b)){u(0x2,_0x5ecbd7);return;}r(this,x,oe)[_0x46b05c(0x131)](this);let {id:_0x344ecd}=_0x10431d[_0x585d5d],_0x162376={'attributeId':_0x344ecd,'attributeProperties':_0x5ecbd7,'customerId':localStorage[_0x46b05c(0x1b1)](_0x46b05c(0x13f))||'','value':_0x224436};yield r(this,Ne,Rt)['call'](this,_0x162376),S(_0x46b05c(0x188),!0x1),I('Recording\x20attribute',!0x1);}));});},b=new WeakSet(),B=function(){return c(this,null,function*(){const _0x571c08=_0x3633;u(0x1,_0x571c08(0x1cc)),I(_0x571c08(0x1cc),!0x0),S(_0x571c08(0x12a),!0x0);let _0xee77c7=localStorage[_0x571c08(0x1b1)](_0x571c08(0x173)),_0x439400=!0x1;if(_0xee77c7){if(_0x439400=new Date()['getTime']()-parseInt(_0xee77c7,0xa)>0x124f80,_0x439400){let _0x47c9f0=localStorage['getItem'](_0x571c08(0x15f)),_0x3bbddf=localStorage[_0x571c08(0x1b1)](_0x571c08(0x173));_0x47c9f0&&_0x3bbddf&&r(this,f,T)[_0x571c08(0x131)](this,'Web\x20Session\x20Concluded',[{'eventProperty':_0x571c08(0x184),'value':localStorage[_0x571c08(0x1b1)](_0x571c08(0x15f))},{'eventProperty':_0x571c08(0x19d),'value':new Date(parseInt(_0x3bbddf,0xa))[_0x571c08(0x186)]()}]),r(this,Y,We)['call'](this),localStorage['setItem'](_0x571c08(0x173),''+new Date()[_0x571c08(0x1d6)]());}}else localStorage[_0x571c08(0x172)](_0x571c08(0x173),''+new Date()['getTime']());(!_0xee77c7||_0x439400||r(this,ge,at)[_0x571c08(0x131)](this))&&(r(this,de,ct)[_0x571c08(0x131)](this),yield r(this,U,ne)['call'](this),yield r(this,ue,st)['call'](this)),S(_0x571c08(0x12a),!0x1),I(_0x571c08(0x1cc),!0x1);});},f=new WeakSet(),T=function(_0x2680ca,_0x539660,_0x238d53,_0x3b6831,_0x59b45b){return c(this,null,function*(){const _0x282256=_0x3633;yield O(_0x282256(0x1b3),()=>c(this,null,function*(){const _0x58c619=_0x282256;var _0x361690;u(0x1,_0x58c619(0x197)),I(_0x58c619(0x1b5),!0x0),S(_0x58c619(0x1be),!0x0),u(0x1,_0x58c619(0x17a)),u(0x1,{'campaignCustomerInstanceId':_0x3b6831,'eventName':_0x2680ca,'eventProperties':_0x539660,'name':_0x59b45b}),_0x2680ca!==_0x58c619(0x1c5)&&(yield r(this,b,B)[_0x58c619(0x131)](this));let _0x3772ec=[];_0x539660&&_0x3772ec[_0x58c619(0x10c)](..._0x539660),_0x3772ec[_0x58c619(0x10c)]({'eventProperty':'Platform','value':p(this,D)}),_0x3772ec[_0x58c619(0x10c)]({'eventProperty':'operating-system','value':p(this,J)}),_0x3772ec['push']({'eventProperty':_0x58c619(0x129),'value':p(this,k)});let _0x3ccd2d=r(this,Re,It)[_0x58c619(0x131)](this),_0x3003fc=r(this,Oe,vt)[_0x58c619(0x131)](this,_0x3ccd2d,_0x2680ca,_0x3772ec);if(typeof _0x3003fc==_0x58c619(0x10b)){u(0x2,_0x3003fc);return;}r(this,x,oe)['call'](this);let {id:_0x2aa59c}=_0x3ccd2d[_0x2680ca],_0x3faf96=r(this,we,ft)['call'](this,_(Pe(_(_({},_0x3b6831?{'campaignCustomerInstanceId':_0x3b6831}:{}),_0x238d53?{'campaignId':_0x238d53}:{}),{'eventId':_0x2aa59c,'eventProperties':_0x3003fc,'sessionId':localStorage['getItem']('session')||''}),_0x59b45b?{'name':_0x59b45b}:{}));if(l[_0x58c619(0x139)]){let _0x1347ce=JSON[_0x58c619(0x179)](localStorage['getItem']('offlineEvents')||'[]');_0x1347ce[_0x58c619(0x183)]<=0x32&&(_0x1347ce[_0x58c619(0x10c)](..._0x3faf96['events']),localStorage[_0x58c619(0x172)](_0x58c619(0x1bb),JSON[_0x58c619(0x1e0)](_0x1347ce)));return;}let _0x499777=yield r(this,q,Ke)[_0x58c619(0x131)](this,_0x3faf96);(_0x361690=_0x499777==null?void 0x0:_0x499777['data'])==null||_0x361690[_0x58c619(0x1db)](_0xd7830d=>{const _0x3769c6=_0x58c619;r(this,Le,Tt)[_0x3769c6(0x131)](this,_0xd7830d['message'][_0x3769c6(0x1a2)])&&(r(this,be,yt)[_0x3769c6(0x131)](this,_0xd7830d),p(this,Ee)[_0x3769c6(0x131)](this),r(this,H,ke)[_0x3769c6(0x131)](this,_0xd7830d['campaignId']));}),S(_0x58c619(0x1be),!0x1),I(_0x58c619(0x1b5),!0x1);}));});},se=new WeakSet(),nt=function(){const _0xbf4da8=_0x18abfe;let _0x4182b3=navigator['userAgent'][_0xbf4da8(0x153)]();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0xbf4da8(0x1d3)](_0x4182b3)?_0xbf4da8(0x181):/windows|macintosh|linux|x11/i['test'](_0x4182b3)?_0xbf4da8(0x1d2):'Unknown';},ce=new WeakSet(),ot=function(){const _0x43cf69=_0x18abfe;let _0x55ed4e=navigator['userAgent'],_0x221783;return _0x55ed4e[_0x43cf69(0x141)](_0x43cf69(0x1a8))>-0x1?_0x221783=_0x43cf69(0x19a):_0x55ed4e[_0x43cf69(0x141)]('Safari')>-0x1?_0x221783=_0x43cf69(0x12d):_0x55ed4e['indexOf'](_0x43cf69(0x1d4))>-0x1?_0x221783=_0x43cf69(0x166):_0x55ed4e[_0x43cf69(0x141)](_0x43cf69(0x1c1))>-0x1?_0x221783=_0x43cf69(0x10d):_0x55ed4e[_0x43cf69(0x141)](_0x43cf69(0x176))>-0x1?_0x221783=_0x43cf69(0x163):_0x221783=_0x43cf69(0x190),_0x221783;},W=new WeakSet(),$e=function(){return c(this,null,function*(){const _0x27eaca=_0x3633;try{yield R[_0x27eaca(0x1a4)]('brand');}catch(_0x5db886){throw l[_0x27eaca(0x140)]=!0x0,_0x5db886[_0x27eaca(0x14c)];}});},z=new WeakSet(),Ve=function(){return c(this,null,function*(){const _0x5f2e70=_0x3633;var _0x5182ab;u(0x1,'Tracking\x20page\x20change'),I(_0x5f2e70(0x189),!0x0),S(_0x5f2e70(0x1d8),!0x0);let _0x432872=(_0x5182ab=window==null?void 0x0:window['location'])==null?void 0x0:_0x5182ab[_0x5f2e70(0x161)];if(_0x432872!==p(this,K)){v(this,K,_0x432872);let _0x174f30=[];new URLSearchParams(new URL(window[_0x5f2e70(0x1ab)][_0x5f2e70(0x161)])[_0x5f2e70(0x168)])['forEach']((_0x2cc9cc,_0xc7ba89)=>c(this,null,function*(){const _0x532f70=_0x5f2e70;Qe['has'](_0xc7ba89)&&_0x174f30[_0x532f70(0x10c)]({'eventProperty':_0xc7ba89,'value':_0x2cc9cc});})),yield r(this,f,T)[_0x5f2e70(0x131)](this,_0x5f2e70(0x1ca),[{'eventProperty':'URL','value':window['location']['pathname']},..._0x174f30]);}S(_0x5f2e70(0x1d8),!0x1),I(_0x5f2e70(0x189),!0x1);});},le=new WeakSet(),it=function(_0x19841f){const _0x3316ff=_0x18abfe;R[_0x3316ff(0x169)](_0x19841f),v(this,D,navigator[_0x3316ff(0x157)]),v(this,k,r(this,ce,ot)[_0x3316ff(0x131)](this)),v(this,J,r(this,se,nt)[_0x3316ff(0x131)](this));},ge=new WeakSet(),at=function(){const _0x13d015=_0x18abfe;return!localStorage[_0x13d015(0x1b1)](_0x13d015(0x1d5))||!localStorage['getItem'](_0x13d015(0x13f))||!localStorage[_0x13d015(0x1b1)]('attributes')||!localStorage['getItem'](_0x13d015(0x15a))||!localStorage[_0x13d015(0x1b1)]('session')||!localStorage['getItem'](_0x13d015(0x13f));},ue=new WeakSet(),st=function(){return c(this,null,function*(){const _0x423db5=_0x3633;yield r(this,me,lt)[_0x423db5(0x131)](this),yield r(this,j,Be)[_0x423db5(0x131)](this),yield r(this,U,ne)[_0x423db5(0x131)](this);});},Ee=new WeakMap(),G=new WeakMap(),pe=new WeakMap(),de=new WeakSet(),ct=function(){const _0x1bc1eb=_0x18abfe;let _0x4ebbeb=localStorage['getItem']('uniqueIdentity');return _0x4ebbeb||(_0x4ebbeb=_0x4219d5(),localStorage['setItem'](_0x1bc1eb(0x15a),_0x4ebbeb)),_0x4ebbeb;},me=new WeakSet(),lt=function(){return c(this,null,function*(){const _0x59509a=_0x3633;if(!localStorage[_0x59509a(0x1b1)](_0x59509a(0x1d5))){let _0x1686ed=(yield r(this,Se,gt)[_0x59509a(0x131)](this))[_0x59509a(0x1b0)];_0x1686ed&&localStorage['setItem'](_0x59509a(0x1d5),JSON[_0x59509a(0x1e0)](_0x1686ed));}});},Se=new WeakSet(),gt=function(){return c(this,null,function*(){const _0x5cc6d6=_0x3633;try{return(yield R['get'](''+xe))[_0x5cc6d6(0x1b0)];}catch(_0x16ae25){throw new Error(_0x5cc6d6(0x1c9));}});},j=new WeakSet(),Be=function(){return c(this,null,function*(){const _0x65f79e=_0x3633;if(!localStorage[_0x65f79e(0x1b1)]('attributes')){let _0x3065f8=(yield r(this,Ie,ut)[_0x65f79e(0x131)](this))[_0x65f79e(0x1b0)];_0x3065f8&&localStorage[_0x65f79e(0x172)](_0x65f79e(0x1bf),JSON[_0x65f79e(0x1e0)](_0x3065f8));}});},Ie=new WeakSet(),ut=function(){return c(this,null,function*(){try{return(yield R['get'](''+Ue))['data'];}catch(_0x532b64){throw new Error('Error\x20fetching\x20attribute\x20data');}});},U=new WeakSet(),ne=function(_0x57322a){return c(this,null,function*(){const _0x391157=_0x3633;localStorage[_0x391157(0x1b1)](_0x391157(0x15f))||(localStorage[_0x391157(0x172)](_0x391157(0x15f),_0x4219d5()),yield r(this,f,T)[_0x391157(0x131)](this,_0x391157(0x151),[{'eventProperty':'SESSION_ID','value':localStorage[_0x391157(0x1b1)](_0x391157(0x15f))},{'eventProperty':_0x391157(0x19d),'value':new Date(parseInt(localStorage[_0x391157(0x1b1)](_0x391157(0x173))||'',0xa))['toISOString']()}]));let _0x284e06={'deviceId':localStorage[_0x391157(0x1b1)](_0x391157(0x15a))||_0x4219d5(),'os':p(this,D)};if(_0x57322a)_0x284e06[_0x391157(0x1aa)]=_0x57322a;else{if(!_0x57322a&&localStorage['getItem']('customer'))return;}try{let _0x165fc0=(yield r(this,ve,Et)[_0x391157(0x131)](this,_0x284e06))[_0x391157(0x1b0)];_0x165fc0!==void 0x0&&localStorage[_0x391157(0x172)](_0x391157(0x13f),_0x165fc0);}catch(_0x3164f4){throw new Error(_0x391157(0x11e));}});},x=new WeakSet(),oe=function(){const _0x399804=_0x18abfe;localStorage[_0x399804(0x172)](_0x399804(0x173),''+new Date()[_0x399804(0x1d6)]());},ve=new WeakSet(),Et=function(_0xc28aba){return c(this,null,function*(){const _0x1fd53a=_0x3633;try{return(yield R[_0x1fd53a(0x19c)](''+Ze+et,_0xc28aba))[_0x1fd53a(0x1b0)];}catch(_0x411ba5){throw new Error(_0x1fd53a(0x1b8));}});},H=new WeakSet(),ke=function(_0xc81b36){const _0x31b4fe=_0x18abfe;let _0xe41f0b=r(this,fe,pt)[_0x31b4fe(0x131)](this);if(_0xe41f0b!=null&&_0xe41f0b[_0xc81b36])switch(_0xe41f0b[_0xc81b36][_0x31b4fe(0x178)]){case _0x31b4fe(0x1ba):{r(this,ye,mt)['call'](this,_0xe41f0b[_0xc81b36]);break;}case'IMMEDIATELY':{r(this,C,ie)[_0x31b4fe(0x131)](this,_0xe41f0b[_0xc81b36]);break;}case _0x31b4fe(0x1d1):{r(this,Te,dt)['call'](this,_0xe41f0b[_0xc81b36]);break;}default:return;}},fe=new WeakSet(),pt=function(){const _0xb542dd=_0x18abfe;let _0x2bdf09=localStorage['getItem'](_0xb542dd(0x11d));return _0x2bdf09?JSON[_0xb542dd(0x179)](_0x2bdf09):null;},Te=new WeakSet(),dt=function(_0x2455fa){const _0x4fb72a=_0x18abfe;let _0x360229=()=>{const _0x5444ce=_0x3633;var _0x3539b9,_0x495595;let _0xfeeef4=window[_0x5444ce(0x144)],_0x254bbf=document[_0x5444ce(0x16d)][_0x5444ce(0x147)],_0x186eda=window[_0x5444ce(0x138)]/(_0x254bbf-_0xfeeef4)*0x64;console['log']('🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:',_0x186eda),console[_0x5444ce(0x191)]('🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:',(_0x3539b9=_0x2455fa['campaignEntryTimeValue'])==null?void 0x0:_0x3539b9[_0x5444ce(0x1b6)]),_0x186eda>(((_0x495595=_0x2455fa[_0x5444ce(0x1cb)])==null?void 0x0:_0x495595[_0x5444ce(0x1b6)])||0x0)&&(window[_0x5444ce(0x15c)](_0x5444ce(0x177),_0x360229),console[_0x5444ce(0x191)](_0x5444ce(0x1ac)),r(this,C,ie)[_0x5444ce(0x131)](this,_0x2455fa));};window[_0x4fb72a(0x1c2)](_0x4fb72a(0x177),_0x360229);},ye=new WeakSet(),mt=function(_0x3a007b){const _0xa85b9c=_0x18abfe;var _0x18a48c;let _0x1a393c=_0x3a007b[_0xa85b9c(0x195)]-0x1f4+(((_0x18a48c=_0x3a007b[_0xa85b9c(0x1cb)])==null?void 0x0:_0x18a48c[_0xa85b9c(0x1b6)])||0x0)*0x3e8-new Date()['getTime']();_0x1a393c>0x0&&_0x3a007b[_0xa85b9c(0x159)]===window[_0xa85b9c(0x1ab)][_0xa85b9c(0x164)]+window['location'][_0xa85b9c(0x124)]&&setTimeout(()=>{const _0xea0905=_0xa85b9c;p(this,G)['call'](this,_0x3a007b[_0xea0905(0x1d7)]),r(this,C,ie)[_0xea0905(0x131)](this,_0x3a007b);},_0x1a393c);},C=new WeakSet(),ie=function(_0x5f5161){const _0x8c2717=_0x18abfe;let _0x5085f6=r(this,he,St)[_0x8c2717(0x131)](this,_0x8c2717(0x16b),_0x5f5161);document[_0x8c2717(0x18e)][_0x8c2717(0x12c)](_0x5085f6),r(this,f,T)[_0x8c2717(0x131)](this,N,[{'eventProperty':'Popup\x20View','value':JSON['stringify']({'campaignId':_0x5f5161[_0x8c2717(0x1d7)]})}],_0x5f5161[_0x8c2717(0x1d7)],_0x5f5161['campaignCustomerInstanceId'],'view'),p(this,G)[_0x8c2717(0x131)](this,_0x5f5161[_0x8c2717(0x1d7)]);},he=new WeakSet(),St=function(_0x5664a8,_0xedd7e8){const _0x3becbf=_0x18abfe;var _0x50b15d;let {campaignCustomerInstanceId:_0x2f773e,campaignId:_0x1cd4f5,message:{design:_0x168b31}}=_0xedd7e8,_0x414dab=document[_0x3becbf(0x122)](_0x5664a8);return _0x414dab['id']=_0x3becbf(0x1a1)+_0x1cd4f5,_0x414dab[_0x3becbf(0x11f)]=_0x168b31,_0x414dab['style']['zIndex']='50',_0x414dab[_0x3becbf(0x154)](_0x3becbf(0x1bc))['forEach'](_0x985187=>{const _0x4bc1c1=_0x3becbf;let _0x208c24=_0x985187['querySelector'](_0x4bc1c1(0x19e));_0x208c24&&_0x208c24[_0x4bc1c1(0x1c2)](_0x4bc1c1(0x13d),()=>c(this,null,function*(){const _0x56c328=_0x4bc1c1;_0x414dab[_0x56c328(0x11c)]();let _0x285df3=new FormData(_0x208c24),_0x2a81c8={};for(let [_0x4f39c8,_0x8ad859]of _0x285df3[_0x56c328(0x16c)]())_0x2a81c8[_0x4f39c8]=_0x8ad859;yield r(this,f,T)[_0x56c328(0x131)](this,N,[{'eventProperty':_0x56c328(0x149),'value':JSON[_0x56c328(0x1e0)]({'campaignId':_0x1cd4f5,'formId':_0x985187['id'],'formValues':_0x2a81c8})}],_0x1cd4f5,_0x2f773e,_0x56c328(0x19e));}));}),(_0x50b15d=_0x414dab[_0x3becbf(0x1cf)](_0x3becbf(0x18f)))==null||_0x50b15d[_0x3becbf(0x1c2)](_0x3becbf(0x108),()=>c(this,null,function*(){const _0x1c5876=_0x3becbf;_0x414dab[_0x1c5876(0x11c)](),yield r(this,f,T)['call'](this,N,[{'eventProperty':_0x1c5876(0x15b),'value':JSON['stringify']({'campaignId':_0x1cd4f5})}],_0x1cd4f5,_0x2f773e,_0x1c5876(0x19f));})),_0x414dab['querySelectorAll'](_0x3becbf(0x19b))[_0x3becbf(0x1db)](_0x2166be=>{const _0x37f987=_0x3becbf;_0x2166be[_0x37f987(0x1c2)](_0x37f987(0x108),()=>c(this,null,function*(){const _0x4d7858=_0x37f987;yield r(this,f,T)[_0x4d7858(0x131)](this,N,[{'eventProperty':_0x4d7858(0x182),'value':JSON['stringify']({'buttonId':_0x2166be['id'],'campaignId':_0x1cd4f5})}],_0x1cd4f5,_0x2f773e,'click');}));}),_0x414dab[_0x3becbf(0x154)](_0x3becbf(0x105))['forEach'](_0x45c79e=>{const _0x2f2f2e=_0x3becbf;_0x45c79e['addEventListener'](_0x2f2f2e(0x108),()=>c(this,null,function*(){const _0x5937c6=_0x2f2f2e;yield r(this,f,T)[_0x5937c6(0x131)](this,N,[{'eventProperty':_0x5937c6(0x110),'value':JSON['stringify']({'campaignId':_0x1cd4f5,'imageClassName':_0x45c79e[_0x5937c6(0x167)],'imageId':_0x45c79e['id']})}],_0x1cd4f5,_0x2f773e,_0x5937c6(0x108));}));}),_0x414dab;},Re=new WeakSet(),It=function(){const _0x134c3d=_0x18abfe;let _0x2d1340=localStorage[_0x134c3d(0x1b1)](_0x134c3d(0x1d5));return _0x2d1340?JSON[_0x134c3d(0x179)](_0x2d1340):{};},Oe=new WeakSet(),vt=function(_0x3a4779,_0x5e1f79,_0x125c85){const _0x80002e=_0x18abfe;if(!Object[_0x80002e(0x14b)]['hasOwnProperty']['call'](_0x3a4779,_0x5e1f79))return _0x80002e(0x118)+_0x5e1f79+_0x80002e(0x185);if(!_0x125c85)return[];let _0x170712=_0x3a4779[_0x5e1f79];if(!(_0x170712!=null&&_0x170712[_0x80002e(0x13e)]))return _0x80002e(0x118)+_0x5e1f79+'\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.';let _0x29ea54=_0x125c85[_0x80002e(0x170)](({eventProperty:_0x54c006})=>!Object[_0x80002e(0x14b)][_0x80002e(0x135)][_0x80002e(0x131)](_0x170712[_0x80002e(0x13e)],_0x54c006))[_0x80002e(0x1c6)](({eventProperty:_0x1526b7})=>_0x1526b7);return _0x29ea54[_0x80002e(0x183)]>0x0?'Event\x20'+_0x5e1f79+_0x80002e(0x112)+_0x29ea54[_0x80002e(0x145)](',\x20')+'.':_0x125c85['map'](({eventProperty:_0x964e9c,value:_0x29e120})=>({'eventPropertyId':_0x170712[_0x80002e(0x13e)][_0x964e9c]['id'],'value':_0x29e120}));},Q=new WeakSet(),Je=function(_0x2d006d,_0x3cc86a,_0x2097cf){const _0xe4a40c=_0x18abfe;if(!Object[_0xe4a40c(0x14b)]['hasOwnProperty'][_0xe4a40c(0x131)](_0x2d006d,_0x3cc86a))return'Attribute\x20'+_0x3cc86a+_0xe4a40c(0x185);if(!_0x2097cf)return[];let _0x350d57=_0x2d006d[_0x3cc86a];if(!(_0x350d57!=null&&_0x350d57['attributeProperty']))return'Attribute\x20'+_0x3cc86a+_0xe4a40c(0x16f);let _0x414921=_0x2097cf[_0xe4a40c(0x170)](({attributeProperty:_0x980ead})=>!Object[_0xe4a40c(0x14b)][_0xe4a40c(0x135)]['call'](_0x350d57[_0xe4a40c(0x116)],_0x980ead))[_0xe4a40c(0x1c6)](({attributeProperty:_0x5c6199})=>_0x5c6199);return _0x414921[_0xe4a40c(0x183)]>0x0?_0xe4a40c(0x15d)+_0x3cc86a+'\x20has\x20invalid\x20attributeProperties:\x20'+_0x414921['join'](',\x20')+'.':_0x2097cf[_0xe4a40c(0x1c6)](({attributeProperty:_0x3b24d6,value:_0x19b128})=>({'attributePropertyId':_0x350d57[_0xe4a40c(0x116)][_0x3b24d6]['id'],'value':_0x19b128}));},we=new WeakSet(),ft=function(_0x30e227){const _0xbbf448=_0x18abfe;return{'customerId':localStorage[_0xbbf448(0x1b1)](_0xbbf448(0x13f))||'','events':[_0x30e227]};},q=new WeakSet(),Ke=function(_0xd620bf){return c(this,null,function*(){const _0x2d1d11=_0x3633;try{return(yield R[_0x2d1d11(0x19c)](''+xe+Xe,_0xd620bf))[_0x2d1d11(0x1b0)];}catch(_0x57a003){throw new Error(_0x2d1d11(0x126));}});},Le=new WeakSet(),Tt=function(_0x56534a){const _0x3665a3=_0x18abfe;return _0x56534a===_0x3665a3(0x13a);},be=new WeakSet(),yt=function(_0x42cdbc){const _0x477afd=_0x18abfe;let _0x2e0f58=JSON[_0x477afd(0x179)](localStorage['getItem'](_0x477afd(0x11d))||'{}');_0x2e0f58[_0x42cdbc[_0x477afd(0x1d7)]]=Pe(_({},_0x42cdbc),{'initialTime':new Date()[_0x477afd(0x1d6)](),'page':window[_0x477afd(0x1ab)][_0x477afd(0x164)]+window[_0x477afd(0x1ab)][_0x477afd(0x124)]}),localStorage[_0x477afd(0x172)](_0x477afd(0x11d),JSON[_0x477afd(0x1e0)](_0x2e0f58));},Y=new WeakSet(),We=function(){const _0x834502=_0x18abfe;localStorage[_0x834502(0x12f)](_0x834502(0x11d)),localStorage[_0x834502(0x12f)](_0x834502(0x1d5)),localStorage[_0x834502(0x12f)]('attributes'),localStorage[_0x834502(0x12f)]('offlineEvents'),localStorage[_0x834502(0x12f)](_0x834502(0x173)),localStorage['removeItem'](_0x834502(0x15f));},Ae=new WeakSet(),ht=function(){return c(this,null,function*(){const _0x234130=_0x3633;localStorage[_0x234130(0x1b1)](_0x234130(0x1bf))||(yield r(this,j,Be)[_0x234130(0x131)](this));});},Ne=new WeakSet(),Rt=function(_0x36620d){return c(this,null,function*(){const _0x4e1615=_0x3633;try{return yield R['post'](''+Ue+Ye,_0x36620d);}catch(_0x3d6789){throw new Error(_0x4e1615(0x17f));}});},o(L,P,void 0x0);var Me=L,Ot=Me[_0x18abfe(0x1df)](),xr=Ot;export{xr as default};
1
+ const _0x3948f2=_0x2b73;(function(_0x59e082,_0x5ddfc6){const _0x5e2fe6=_0x2b73,_0x47e2fe=_0x59e082();while(!![]){try{const _0x461421=parseInt(_0x5e2fe6(0x24b))/0x1*(parseInt(_0x5e2fe6(0x226))/0x2)+parseInt(_0x5e2fe6(0x212))/0x3*(parseInt(_0x5e2fe6(0x219))/0x4)+-parseInt(_0x5e2fe6(0x270))/0x5+parseInt(_0x5e2fe6(0x229))/0x6+parseInt(_0x5e2fe6(0x24d))/0x7+parseInt(_0x5e2fe6(0x25d))/0x8+-parseInt(_0x5e2fe6(0x23b))/0x9*(parseInt(_0x5e2fe6(0x1f5))/0xa);if(_0x461421===_0x5ddfc6)break;else _0x47e2fe['push'](_0x47e2fe['shift']());}catch(_0x19589d){_0x47e2fe['push'](_0x47e2fe['shift']());}}}(_0xddc3,0xcd805));var wt=Object[_0x3948f2(0x258)],Lt=Object[_0x3948f2(0x252)],bt=Object[_0x3948f2(0x1dd)],ze=Object[_0x3948f2(0x25f)],At=Object['prototype'][_0x3948f2(0x21e)],Nt=Object[_0x3948f2(0x1fc)][_0x3948f2(0x263)],Ge=(_0x4dbbab,_0x35102e,_0x164e9a)=>_0x35102e in _0x4dbbab?wt(_0x4dbbab,_0x35102e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x164e9a}):_0x4dbbab[_0x35102e]=_0x164e9a,_=(_0x46afd1,_0x5d95cf)=>{const _0x35ee0a=_0x3948f2;for(var _0x27ae9e in _0x5d95cf||(_0x5d95cf={}))At[_0x35ee0a(0x257)](_0x5d95cf,_0x27ae9e)&&Ge(_0x46afd1,_0x27ae9e,_0x5d95cf[_0x27ae9e]);if(ze){for(var _0x27ae9e of ze(_0x5d95cf))Nt[_0x35ee0a(0x257)](_0x5d95cf,_0x27ae9e)&&Ge(_0x46afd1,_0x27ae9e,_0x5d95cf[_0x27ae9e]);}return _0x46afd1;},Pe=(_0x441c9c,_0x26e6f2)=>Lt(_0x441c9c,bt(_0x26e6f2)),De=(_0x2b259b,_0x15fd8f,_0x4c337f)=>{const _0x2d119b=_0x3948f2;if(!_0x15fd8f[_0x2d119b(0x28d)](_0x2b259b))throw TypeError(_0x2d119b(0x22c)+_0x4c337f);},p=(_0x3efe30,_0x30ff9d,_0x1a3959)=>(De(_0x3efe30,_0x30ff9d,_0x3948f2(0x276)),_0x1a3959?_0x1a3959[_0x3948f2(0x257)](_0x3efe30):_0x30ff9d[_0x3948f2(0x1e3)](_0x3efe30)),o=(_0x52217b,_0x2edfad,_0x2ab237)=>{const _0x48d889=_0x3948f2;if(_0x2edfad[_0x48d889(0x28d)](_0x52217b))throw TypeError(_0x48d889(0x2a7));_0x2edfad instanceof WeakSet?_0x2edfad['add'](_0x52217b):_0x2edfad[_0x48d889(0x22f)](_0x52217b,_0x2ab237);},v=(_0x1e3766,_0x1977ee,_0x41d487,_0x15135a)=>(De(_0x1e3766,_0x1977ee,_0x3948f2(0x1fb)),_0x15135a?_0x15135a[_0x3948f2(0x257)](_0x1e3766,_0x41d487):_0x1977ee[_0x3948f2(0x22f)](_0x1e3766,_0x41d487),_0x41d487),je=(_0x249172,_0x322eec,_0x57c425,_0x12812e)=>({set '_'(_0x58114b){v(_0x249172,_0x322eec,_0x58114b,_0x57c425);},get '_'(){return p(_0x249172,_0x322eec,_0x12812e);}}),r=(_0x12f5ae,_0x1db8b7,_0x1e4aab)=>(De(_0x12f5ae,_0x1db8b7,_0x3948f2(0x25e)),_0x1e4aab),c=(_0x1a6ffe,_0xd63e53,_0x17ee9d)=>new Promise((_0x36970f,_0x83800e)=>{const _0x2286ea=_0x3948f2;var _0x2424b0=_0x4590a6=>{const _0x50b41a=_0x2b73;try{_0x117b67(_0x17ee9d[_0x50b41a(0x1d6)](_0x4590a6));}catch(_0x3e41ab){_0x83800e(_0x3e41ab);}},_0x5f528b=_0x3f3cc8=>{const _0x7df11f=_0x2b73;try{_0x117b67(_0x17ee9d[_0x7df11f(0x20a)](_0x3f3cc8));}catch(_0x2bae7b){_0x83800e(_0x2bae7b);}},_0x117b67=_0x4d0b29=>_0x4d0b29[_0x2286ea(0x21d)]?_0x36970f(_0x4d0b29[_0x2286ea(0x299)]):Promise[_0x2286ea(0x1ed)](_0x4d0b29[_0x2286ea(0x299)])[_0x2286ea(0x268)](_0x2424b0,_0x5f528b);_0x117b67((_0x17ee9d=_0x17ee9d[_0x2286ea(0x1f3)](_0x1a6ffe,_0xd63e53))[_0x2286ea(0x1d6)]());});import{v4 as _0x66de17}from'uuid';var He=(_0x15077f=>(_0x15077f[_0x3948f2(0x1e0)]='utm_source',_0x15077f['UTM_MEDIUM']=_0x3948f2(0x271),_0x15077f[_0x3948f2(0x26c)]=_0x3948f2(0x243),_0x15077f[_0x3948f2(0x1d8)]=_0x3948f2(0x286),_0x15077f['UTM_CONTENT']=_0x3948f2(0x259),_0x15077f))(He||{}),Qe=new Set(Object[_0x3948f2(0x297)](He)),N='Popup\x20Action',qe=_0x3948f2(0x1f2),Ue='/attribute',Ye=_0x3948f2(0x23a),xe='/event',Xe=_0x3948f2(0x26a),Ze=_0x3948f2(0x215),et=_0x3948f2(0x228);import _0xec1edc from'axios';import{AxiosQueueManager as _0x36da24}from'axios-queue-js';import _0x483db1 from'axios-retry';import{AxiosError as _0x2b7fee}from'axios';var l=class extends Error{constructor(_0x62a8b3){const _0x11a811=_0x3948f2;super(_0x62a8b3),this[_0x11a811(0x204)]=_0x11a811(0x260);}};l[_0x3948f2(0x29c)]=!0x1,l[_0x3948f2(0x1f1)]=!navigator[_0x3948f2(0x250)],l[_0x3948f2(0x20e)]=0x0,l[_0x3948f2(0x2a4)]=!0x1;function _0xddc3(){const _0x538b8c=['has','Logging\x20out\x20Time','Logging\x20in','defaults','Firefox','message','view','Mergn\x20SDK\x20Initialization\x20Time','setDebugLevel','Mobile','values','Initializing\x20Mergn\x20SDK','value','MSIE','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','disableSDK','setItem','userAgent','\x0aMergnError:\x20','page','ALL','popup_container_','Event\x20','isInitialized','search','action','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','getInstance','session','Tracking\x20page\x20change\x20Time','next','join','UTM_TERM','IMMEDIATELY','Checking\x20TTL\x20Time','events','Recording\x20attribute\x20Time','getOwnPropertyDescriptors','Unknown','Web\x20Session\x20Concluded','UTM_SOURCE','customer','Max\x20retries\x20reached.\x20Disabling\x20SDK\x20for\x2030\x20secs.','get','Event\x20Payload','Authorization','location','remove','headers','Form\x20Submit','Event\x20Payload:\x0a\x20','#\x20record\x20event','Recording\x20attribute','resolve','Tracking\x20page\x20change','parse','querySelectorAll','offline','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','apply','Error\x20fetching\x20attribute\x20data','30xQyxCc','Error\x20fetching\x20event\x20data','length','time','push','SESSION_CREATED','write\x20to\x20private\x20field','prototype','init','Error\x20setting\x20identity','div','filter','documentElement','brand','style','name','offlineEvents','eventProperty','forEach','error','operating-system','throw','Mergn\x20not\x20initialized!','appendChild','[id^=\x22u_content_form_\x22]','debugLevel','\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.','href','close','3Vmpgkm','log','getTime','/customer','Popup\x20View','Web\x20Session\x20Started','scrollY','5444740beYrHY','Popup','Web','Error\x20posting\x20event\x20record','done','hasOwnProperty','scrollHeight','URL','Edg','[id^=\x22u_content_button_\x22]','os-version','isArray','\x0aUnexpected\x20error:\x20','10SwkCyi','campaignCustomerInstanceId','/set-identity','1618266yTMKeG','initialTime','map','Cannot\x20','Checking\x20TTL','.u-popup-container\x20img','set','Button\x20Click','Mergn\x20is\x20offline!','indexOf','ERROR:\x20','application/json','logout','\x0aNo\x20response\x20received.\x20Check\x20network\x20connection\x20or\x20server\x20issues.','Logging\x20out','data','uniqueIdentity','/set-attribute','12616101yfQRun','stringify','getItem','Viewed\x20Webpage','Microsoft\x20Edge','updateAPIKey','removeItem','Attribute\x20Payload:\x0a\x20','utm_campaign','campaignEntryTime','pushState','Logging\x20in\x20Time','NONE','recordAttribute','called\x202','Attribute\x20','131391cnkOHO','timeEnd','11513929rJekkt','post','body','onLine','removeEventListener','defineProperties','pathname','login','status','\x20is\x20not\x20valid.','call','defineProperty','utm_content','response','SESSION_ID','click','11297384SByVsP','access\x20private\x20method','getOwnPropertySymbols','MergnError','campaignEntryTimeValue','info','propertyIsEnumerable','Google\x20Chrome','attributeProperty','record\x20event','Mergn\x20SDK\x20is\x20disabled!','then','ERROR','/record-event','ttl','UTM_CAMPAIGN','\x0aResponse\x20Data:\x20','scroll','querySelector','1488855ehAVhN','utm_medium','group','hostname','Safari','form','read\x20from\x20private\x20field','toISOString','campaignId','INFO','Recording\x20event','recordEvent','\x0aError\x20setting\x20up\x20the\x20request:\x20','Recording\x20event\x20Time','keys','test','beforeunload','Image\x20Click','Identity:\x20','attributes','toLowerCase','groupEnd','utm_term','Close\x20Click','OriginateFrom:\x20','online','.u-close-button','addEventListener','\x20has\x20invalid\x20attributeProperties:\x20'];_0xddc3=function(){return _0x538b8c;};return _0xddc3();}var Dt=(_0x5313b8,_0x594203)=>{const _0x3c1551=_0x3948f2;_0x594203 instanceof l?u(0x2,_0x3c1551(0x288)+_0x5313b8+_0x3c1551(0x29f)+_0x594203[_0x3c1551(0x292)]):_0x594203 instanceof _0x2b7fee?(u(0x2,_0x3c1551(0x288)+_0x5313b8+'\x0aAxiosError:\x20'+_0x594203[_0x3c1551(0x292)]),_0x594203[_0x3c1551(0x25a)]?(u(0x2,'OriginateFrom:\x20'+_0x5313b8+'\x0aHTTP\x20Status:\x20'+_0x594203[_0x3c1551(0x25a)][_0x3c1551(0x255)]),u(0x2,_0x3c1551(0x288)+_0x5313b8+_0x3c1551(0x26d)+_0x594203[_0x3c1551(0x25a)][_0x3c1551(0x238)])):_0x594203['request']?u(0x2,'OriginateFrom:\x20'+_0x5313b8+_0x3c1551(0x236)):u(0x2,'OriginateFrom:\x20'+_0x5313b8+_0x3c1551(0x27c)+_0x594203['message'])):_0x594203 instanceof Error?u(0x2,_0x3c1551(0x288)+_0x5313b8+_0x3c1551(0x225)+_0x594203[_0x3c1551(0x292)]):u(0x2,_0x3c1551(0x288)+_0x5313b8+_0x3c1551(0x225)+String(_0x594203));},O=(_0x24e369,_0x824f2a,_0x3e80c2)=>c(void 0x0,null,function*(){const _0x803353=_0x3948f2;try{if(l['disableSDK'])throw new l(_0x803353(0x267));if(_0x24e369!==_0x803353(0x266)&&l[_0x803353(0x1f1)])throw new l(_0x803353(0x231));if(_0x24e369!==_0x803353(0x1fd)&&!l[_0x803353(0x2a4)])throw new l(_0x803353(0x20b));return yield _0x824f2a();}catch(_0x57788e){return _0x3e80c2?_0x3e80c2(_0x57788e):(l[_0x803353(0x20e)]===0x2||l['debugLevel']===0x3)&&Dt(_0x24e369,_0x57788e),null;}}),F=(_0xb326ef=>(_0xb326ef[_0xb326ef[_0x3948f2(0x247)]=0x0]=_0x3948f2(0x247),_0xb326ef[_0xb326ef['INFO']=0x1]=_0x3948f2(0x279),_0xb326ef[_0xb326ef['ERROR']=0x2]=_0x3948f2(0x269),_0xb326ef[_0xb326ef[_0x3948f2(0x2a1)]=0x3]=_0x3948f2(0x2a1),_0xb326ef))(F||{}),u=(_0x5a49e3,_0x166e27)=>{const _0x21ea8a=_0x3948f2;l[_0x21ea8a(0x20e)]!==0x0&&l[_0x21ea8a(0x20e)]<=0x3&&(_0x5a49e3===0x1?console[_0x21ea8a(0x262)]('INFO:\x20'+new Date()[_0x21ea8a(0x277)](),_0x166e27):_0x5a49e3===0x2&&console[_0x21ea8a(0x208)](_0x21ea8a(0x233)+new Date()[_0x21ea8a(0x277)](),_0x166e27));},S=(_0x191153,_0x211e43)=>{const _0x5022a2=_0x3948f2;l['debugLevel']!==0x0&&(_0x211e43?console[_0x5022a2(0x1f8)](_0x191153):console[_0x5022a2(0x24c)](_0x191153));},I=(_0x545759,_0x2cdbe8)=>{const _0xcfea6e=_0x3948f2;l[_0xcfea6e(0x20e)]!==0x0&&(_0x2cdbe8?console[_0xcfea6e(0x272)](_0x545759):console[_0xcfea6e(0x285)]());},w,M,$,V,te,B,_e,re,tt,d=class d{constructor(){const _0x4dab87=_0x3948f2;o(this,te,0x0);let _0x2f83d0=_0xec1edc['create']({'baseURL':qe,'headers':{'Content-Type':_0x4dab87(0x234)}});v(d,M,_0x2f83d0),v(d,$,new _0x36da24({'client':_0x2f83d0,'queueSize':0xa})),_0x483db1(_0x2f83d0,{'onRetry':_0x4d51fc=>{const _0x38c40d=_0x4dab87;_0x4d51fc>=p(d,V)?(l[_0x38c40d(0x20e)]>0x2&&console['error'](_0x38c40d(0x1e2)),l[_0x38c40d(0x29c)]=!0x0,setTimeout(()=>{const _0x58aa1d=_0x38c40d;l[_0x58aa1d(0x29c)]=!0x1;},0x7530)):je(this,te)['_']++;},'retries':p(d,V),'retryDelay':_0x42229e=>_0x42229e*0x1388});}static['updateAPIKey'](_0x358c30){const _0x33707d=_0x3948f2;this['apiKey']=_0x358c30,r(this,re,tt)[_0x33707d(0x257)](this)[_0x33707d(0x290)][_0x33707d(0x1e8)]['common'][_0x33707d(0x1e5)]=_0x358c30;}static[_0x3948f2(0x1e3)](_0x16eb80){return r(this,B,_e)['call'](this)['get'](_0x16eb80);}static[_0x3948f2(0x24e)](_0x30def9,_0x52bc25){const _0xbc4d09=_0x3948f2;return r(this,B,_e)[_0xbc4d09(0x257)](this)[_0xbc4d09(0x24e)](_0x30def9,_0x52bc25||{});}};w=new WeakMap(),M=new WeakMap(),$=new WeakMap(),V=new WeakMap(),te=new WeakMap(),B=new WeakSet(),_e=function(){return p(d,w)||v(d,w,new d()),p(d,$);},re=new WeakSet(),tt=function(){return p(d,w)||v(d,w,new d()),p(d,M);},o(d,B),o(d,re),o(d,w,void 0x0),o(d,M,void 0x0),o(d,$,void 0x0),o(d,V,0x2);var Ce=d,R=Ce,P,D,J,K,W,ae,rt,b,k,f,T,se,nt,ce,ot,z,$e,G,Ve,le,it,ge,at,ue,st,Ee,j,pe,de,ct,me,lt,Se,gt,H,Be,Ie,ut,U,ne,x,oe,ve,Et,Q,ke,fe,pt,Te,dt,ye,mt,C,ie,he,St,Re,It,Oe,vt,q,Je,we,ft,Y,Ke,Le,Tt,be,yt,X,We,Ae,ht,Ne,Rt,L=class L{constructor(){o(this,ae),o(this,b),o(this,f),o(this,se),o(this,ce),o(this,z),o(this,G),o(this,le),o(this,ge),o(this,ue),o(this,de),o(this,me),o(this,Se),o(this,H),o(this,Ie),o(this,U),o(this,x),o(this,ve),o(this,Q),o(this,fe),o(this,Te),o(this,ye),o(this,C),o(this,he),o(this,Re),o(this,Oe),o(this,q),o(this,we),o(this,Y),o(this,Le),o(this,be),o(this,X),o(this,Ae),o(this,Ne),o(this,D,void 0x0),o(this,J,void 0x0),o(this,K,void 0x0),o(this,W,null),o(this,Ee,()=>{const _0x258193=_0x2b73;let _0x5b9b73=()=>{const _0x543328=_0x2b73;let _0x22aad3=JSON['parse'](localStorage[_0x543328(0x23d)](_0x543328(0x2a6))||'{}');Object['keys'](_0x22aad3)[_0x543328(0x207)](_0x185bab=>{const _0x3d7a56=_0x543328;_0x22aad3[_0x185bab][_0x3d7a56(0x22a)]=new Date()[_0x3d7a56(0x214)](),_0x22aad3[_0x185bab][_0x3d7a56(0x2a0)]=window[_0x3d7a56(0x1e6)]['hostname']+window[_0x3d7a56(0x1e6)][_0x3d7a56(0x253)];}),localStorage[_0x543328(0x29d)](_0x543328(0x2a6),JSON[_0x543328(0x23c)](_0x22aad3));};_0x5b9b73(),window['addEventListener'](_0x258193(0x280),_0x5b9b73);}),o(this,j,_0x5a775c=>{const _0x4cfbb4=_0x2b73;let _0x100343=JSON[_0x4cfbb4(0x1ef)](localStorage[_0x4cfbb4(0x23d)](_0x4cfbb4(0x2a6))||'{}');_0x100343[_0x5a775c]&&delete _0x100343[_0x5a775c],localStorage['setItem'](_0x4cfbb4(0x2a6),JSON['stringify'](_0x100343));}),o(this,pe,()=>{const _0x2e7304=_0x2b73;let _0x175ed7=JSON[_0x2e7304(0x1ef)](localStorage[_0x2e7304(0x23d)](_0x2e7304(0x2a6))||'{}');Object[_0x2e7304(0x27e)](_0x175ed7)[_0x2e7304(0x207)](_0x28c62e=>{const _0x192bac=_0x2e7304;_0x175ed7[_0x28c62e][_0x192bac(0x292)][_0x192bac(0x204)]===_0x192bac(0x21a)&&r(this,Q,ke)['call'](this,_0x175ed7[_0x28c62e]['campaignId']);});});}static[_0x3948f2(0x2a8)](){return p(L,P)||v(L,P,new L()),p(L,P);}[_0x3948f2(0x1fd)](_0x3f3560){const _0x3dc85f=_0x3948f2;O(_0x3dc85f(0x1fd),()=>c(this,null,function*(){const _0x3e8b9d=_0x3dc85f;u(0x1,_0x3e8b9d(0x298)),I('Initializing\x20Mergn\x20SDK',!0x0),S(_0x3e8b9d(0x294),!0x0),r(this,le,it)[_0x3e8b9d(0x257)](this,_0x3f3560),yield r(this,z,$e)['call'](this),l['isInitialized']=!0x0,setInterval(()=>c(this,null,function*(){const _0x5dc8c5=_0x3e8b9d;yield r(this,z,$e)[_0x5dc8c5(0x257)](this);}),0x493e0),yield r(this,b,k)[_0x3e8b9d(0x257)](this),window['addEventListener'](_0x3e8b9d(0x289),()=>c(this,null,function*(){const _0x5ee23e=_0x3e8b9d;l[_0x5ee23e(0x1f1)]=!0x1;let _0x44838e=JSON[_0x5ee23e(0x1ef)](localStorage['getItem']('offlineEvents')||'[]');Array[_0x5ee23e(0x224)](_0x44838e)&&(yield r(this,Y,Ke)[_0x5ee23e(0x257)](this,{'customerId':localStorage[_0x5ee23e(0x23d)](_0x5ee23e(0x1e1))||'','events':_0x44838e}),localStorage[_0x5ee23e(0x241)](_0x5ee23e(0x205))),r(this,b,k)[_0x5ee23e(0x257)](this),r(this,x,oe)['call'](this);})),window[_0x3e8b9d(0x28b)]('offline',()=>{l['offline']=!0x0;}),window[_0x3e8b9d(0x28b)]('load',()=>{const _0x3375d9=_0x3e8b9d;p(this,pe)[_0x3375d9(0x257)](this);});let _0x396345=history[_0x3e8b9d(0x245)];history['pushState']=(..._0x3c8c41)=>{_0x396345['apply'](history,_0x3c8c41),r(this,G,Ve)['call'](this);},r(this,G,Ve)[_0x3e8b9d(0x257)](this),S(_0x3e8b9d(0x294),!0x1),I(_0x3e8b9d(0x298),!0x1);}));}[_0x3948f2(0x295)](_0x2a4e7e){const _0x3cc415=_0x3948f2;if(!(_0x2a4e7e in F)){console[_0x3cc415(0x208)]('Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203');return;}l[_0x3cc415(0x20e)]=_0x2a4e7e;}['recordAttribute'](_0x514fe3,_0x3a17e7){const _0xc2a7a8=_0x3948f2;O(_0xc2a7a8(0x248),()=>c(this,null,function*(){const _0x3e8f2d=_0xc2a7a8;yield r(this,ae,rt)[_0x3e8f2d(0x257)](this,_0x514fe3,_0x3a17e7,void 0x0);}));}[_0x3948f2(0x254)](_0x30d1be){const _0x45fbb9=_0x3948f2;O(_0x45fbb9(0x254),()=>c(this,null,function*(){const _0x53ff7d=_0x45fbb9;u(0x1,_0x53ff7d(0x28f)),I('Logging\x20in',!0x0),S(_0x53ff7d(0x246),!0x0),u(0x1,_0x53ff7d(0x282)+_0x30d1be),yield r(this,U,ne)[_0x53ff7d(0x257)](this,_0x30d1be),S(_0x53ff7d(0x246),!0x1),I('Logging\x20in',!0x1);}));}[_0x3948f2(0x235)](){O('logout',()=>c(this,null,function*(){const _0x4df2bd=_0x2b73;u(0x1,'Logging\x20out'),I('Logging\x20out',!0x0),S(_0x4df2bd(0x28e),!0x0),r(this,X,We)[_0x4df2bd(0x257)](this),S(_0x4df2bd(0x28e),!0x1),I(_0x4df2bd(0x237),!0x1);}));}[_0x3948f2(0x27b)](_0xe46843,_0x490609){const _0x34f662=_0x3948f2;O(_0x34f662(0x266),()=>c(this,null,function*(){const _0x41589e=_0x34f662;u(0x1,'Recording\x20event'),I(_0x41589e(0x27a),!0x0),S(_0x41589e(0x27d),!0x0),u(0x1,_0x41589e(0x1ea)+{'eventName':_0xe46843,'eventProperties':_0x490609}),yield r(this,f,T)[_0x41589e(0x257)](this,_0xe46843,_0x490609),S(_0x41589e(0x27d),!0x1),I(_0x41589e(0x27a),!0x1);}));}};P=new WeakMap(),D=new WeakMap(),J=new WeakMap(),K=new WeakMap(),W=new WeakMap(),ae=new WeakSet(),rt=function(_0x25d193,_0xf704c,_0xb7e504){return c(this,null,function*(){yield O('#\x20recordAttribute',()=>c(this,null,function*(){const _0x28a110=_0x2b73;u(0x1,_0x28a110(0x1ec)),I(_0x28a110(0x1ec),!0x0),S('Recording\x20attribute\x20Time',!0x0),u(0x1,_0x28a110(0x242)+{'attributeName':_0x25d193,'attributeProperties':_0xb7e504,'attributeValue':_0xf704c}+')}'),yield r(this,b,k)[_0x28a110(0x257)](this),yield r(this,Ae,ht)[_0x28a110(0x257)](this);let _0xe24e25=JSON['parse'](localStorage[_0x28a110(0x23d)](_0x28a110(0x283))||'{}'),_0x49a345=_0xb7e504?r(this,q,Je)[_0x28a110(0x257)](this,_0xe24e25,_0x25d193,_0xb7e504):r(this,q,Je)[_0x28a110(0x257)](this,_0xe24e25,_0x25d193);if(typeof _0x49a345=='string'){u(0x2,_0x49a345);return;}r(this,x,oe)[_0x28a110(0x257)](this);let {id:_0x5a3ba3}=_0xe24e25[_0x25d193],_0x2b8d1d={'attributeId':_0x5a3ba3,'attributeProperties':_0x49a345,'customerId':localStorage[_0x28a110(0x23d)](_0x28a110(0x1e1))||'','value':_0xf704c};yield r(this,Ne,Rt)[_0x28a110(0x257)](this,_0x2b8d1d),S(_0x28a110(0x1dc),!0x1),I('Recording\x20attribute',!0x1);}));});},b=new WeakSet(),k=function(){return c(this,null,function*(){const _0xd04152=_0x2b73;u(0x1,_0xd04152(0x22d)),I(_0xd04152(0x22d),!0x0),S(_0xd04152(0x1da),!0x0);let _0x86be9e=localStorage[_0xd04152(0x23d)](_0xd04152(0x26b)),_0x4e05fe=!0x1;if(_0x86be9e){if(_0x4e05fe=new Date()[_0xd04152(0x214)]()-parseInt(_0x86be9e,0xa)>0x124f80,_0x4e05fe){let _0x139c2d=localStorage[_0xd04152(0x23d)](_0xd04152(0x2a9)),_0x44d69c=localStorage[_0xd04152(0x23d)](_0xd04152(0x26b));_0x139c2d&&_0x44d69c&&r(this,f,T)[_0xd04152(0x257)](this,_0xd04152(0x1df),[{'eventProperty':_0xd04152(0x25b),'value':localStorage[_0xd04152(0x23d)](_0xd04152(0x2a9))},{'eventProperty':_0xd04152(0x1fa),'value':new Date(parseInt(_0x44d69c,0xa))[_0xd04152(0x277)]()}]),r(this,X,We)[_0xd04152(0x257)](this),localStorage[_0xd04152(0x29d)](_0xd04152(0x26b),''+new Date()[_0xd04152(0x214)]());}}else localStorage[_0xd04152(0x29d)](_0xd04152(0x26b),''+new Date()[_0xd04152(0x214)]());(!_0x86be9e||_0x4e05fe||r(this,ge,at)[_0xd04152(0x257)](this))&&(r(this,de,ct)[_0xd04152(0x257)](this),yield r(this,U,ne)['call'](this),yield r(this,ue,st)[_0xd04152(0x257)](this)),S(_0xd04152(0x1da),!0x1),I('Checking\x20TTL',!0x1);});},f=new WeakSet(),T=function(_0x41f0e1,_0x18ed20,_0x19527c,_0x308e1e,_0x374a26){return c(this,null,function*(){const _0x231a44=_0x2b73;yield O(_0x231a44(0x1eb),()=>c(this,null,function*(){const _0x25209d=_0x231a44;var _0x5c7ecf;u(0x1,'#\x20Recording\x20event'),I('Recording\x20event',!0x0),S('Recording\x20event\x20Time',!0x0),u(0x1,_0x25209d(0x1e4)),u(0x1,{'campaignCustomerInstanceId':_0x308e1e,'eventName':_0x41f0e1,'eventProperties':_0x18ed20,'name':_0x374a26}),_0x41f0e1!=='Web\x20Session\x20Concluded'&&(yield r(this,b,k)[_0x25209d(0x257)](this));let _0x1f192a=[];_0x18ed20&&_0x1f192a[_0x25209d(0x1f9)](..._0x18ed20),_0x1f192a[_0x25209d(0x1f9)]({'eventProperty':'Platform','value':p(this,D)}),_0x1f192a[_0x25209d(0x1f9)]({'eventProperty':_0x25209d(0x209),'value':p(this,K)}),_0x1f192a[_0x25209d(0x1f9)]({'eventProperty':_0x25209d(0x223),'value':p(this,J)});let _0x118cfe=r(this,Re,It)['call'](this),_0x5210a9=r(this,Oe,vt)['call'](this,_0x118cfe,_0x41f0e1,_0x1f192a);if(typeof _0x5210a9=='string'){u(0x2,_0x5210a9);return;}r(this,x,oe)[_0x25209d(0x257)](this);let {id:_0x5c6f89}=_0x118cfe[_0x41f0e1],_0xae2506=r(this,we,ft)[_0x25209d(0x257)](this,_(Pe(_(_({},_0x308e1e?{'campaignCustomerInstanceId':_0x308e1e}:{}),_0x19527c?{'campaignId':_0x19527c}:{}),{'eventId':_0x5c6f89,'eventProperties':_0x5210a9,'sessionId':localStorage[_0x25209d(0x23d)](_0x25209d(0x2a9))||''}),_0x374a26?{'name':_0x374a26}:{}));if(l[_0x25209d(0x1f1)]){let _0x335882=JSON[_0x25209d(0x1ef)](localStorage[_0x25209d(0x23d)](_0x25209d(0x205))||'[]');_0x335882[_0x25209d(0x1f7)]<=0x32&&(_0x335882[_0x25209d(0x1f9)](..._0xae2506[_0x25209d(0x1db)]),localStorage[_0x25209d(0x29d)](_0x25209d(0x205),JSON['stringify'](_0x335882)));return;}let _0x12d1df=yield r(this,Y,Ke)[_0x25209d(0x257)](this,_0xae2506);(_0x5c7ecf=_0x12d1df==null?void 0x0:_0x12d1df[_0x25209d(0x238)])==null||_0x5c7ecf[_0x25209d(0x207)](_0x4858b4=>{const _0x17b997=_0x25209d;r(this,Le,Tt)[_0x17b997(0x257)](this,_0x4858b4['message'][_0x17b997(0x204)])&&(r(this,be,yt)['call'](this,_0x4858b4),p(this,Ee)[_0x17b997(0x257)](this),r(this,Q,ke)[_0x17b997(0x257)](this,_0x4858b4[_0x17b997(0x278)]));}),S('Recording\x20event\x20Time',!0x1),I(_0x25209d(0x27a),!0x1);}));});},se=new WeakSet(),nt=function(){const _0x111a3a=_0x3948f2;let _0x1fd480=navigator['userAgent'][_0x111a3a(0x284)]();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0x111a3a(0x27f)](_0x1fd480)?_0x111a3a(0x296):/windows|macintosh|linux|x11/i[_0x111a3a(0x27f)](_0x1fd480)?_0x111a3a(0x21b):_0x111a3a(0x1de);},ce=new WeakSet(),ot=function(){const _0x3e2e1f=_0x3948f2;let _0x15681c=navigator[_0x3e2e1f(0x29e)],_0x23e1f0;return _0x15681c[_0x3e2e1f(0x232)]('Chrome')>-0x1?_0x23e1f0=_0x3e2e1f(0x264):_0x15681c[_0x3e2e1f(0x232)](_0x3e2e1f(0x274))>-0x1?_0x23e1f0=_0x3e2e1f(0x274):_0x15681c[_0x3e2e1f(0x232)](_0x3e2e1f(0x291))>-0x1?_0x23e1f0='Mozilla\x20Firefox':_0x15681c[_0x3e2e1f(0x232)](_0x3e2e1f(0x221))>-0x1?_0x23e1f0=_0x3e2e1f(0x23f):_0x15681c['indexOf'](_0x3e2e1f(0x29a))>-0x1?_0x23e1f0='Internet\x20Explorer':_0x23e1f0=_0x3e2e1f(0x1de),_0x23e1f0;},z=new WeakSet(),$e=function(){return c(this,null,function*(){const _0x25b88c=_0x2b73;try{yield R[_0x25b88c(0x1e3)](_0x25b88c(0x202));}catch(_0x42dac1){throw l['disableSDK']=!0x0,_0x42dac1[_0x25b88c(0x292)];}});},G=new WeakSet(),Ve=function(){return c(this,null,function*(){const _0x1db3aa=_0x2b73;var _0x309548;u(0x1,_0x1db3aa(0x1ee)),I('Tracking\x20page\x20change',!0x0),S(_0x1db3aa(0x2aa),!0x0);let _0x4a146e=(_0x309548=window==null?void 0x0:window[_0x1db3aa(0x1e6)])==null?void 0x0:_0x309548[_0x1db3aa(0x210)];if(_0x4a146e!==p(this,W)){v(this,W,_0x4a146e);let _0x140866=[];new URLSearchParams(new URL(window[_0x1db3aa(0x1e6)]['href'])[_0x1db3aa(0x2a5)])['forEach']((_0x59ccae,_0x128f39)=>c(this,null,function*(){const _0x4facdf=_0x1db3aa;Qe[_0x4facdf(0x28d)](_0x128f39)&&_0x140866[_0x4facdf(0x1f9)]({'eventProperty':_0x128f39,'value':_0x59ccae});})),yield r(this,f,T)[_0x1db3aa(0x257)](this,_0x1db3aa(0x23e),[{'eventProperty':_0x1db3aa(0x220),'value':window[_0x1db3aa(0x1e6)][_0x1db3aa(0x253)]},..._0x140866]);}S(_0x1db3aa(0x2aa),!0x1),I(_0x1db3aa(0x1ee),!0x1);});},le=new WeakSet(),it=function(_0x2cba2b){const _0x46a624=_0x3948f2;R[_0x46a624(0x240)](_0x2cba2b),v(this,D,navigator['userAgent']),v(this,J,r(this,ce,ot)[_0x46a624(0x257)](this)),v(this,K,r(this,se,nt)[_0x46a624(0x257)](this));},ge=new WeakSet(),at=function(){const _0x13b6e3=_0x3948f2;return!localStorage[_0x13b6e3(0x23d)](_0x13b6e3(0x1db))||!localStorage['getItem'](_0x13b6e3(0x1e1))||!localStorage[_0x13b6e3(0x23d)](_0x13b6e3(0x283))||!localStorage[_0x13b6e3(0x23d)](_0x13b6e3(0x239))||!localStorage[_0x13b6e3(0x23d)](_0x13b6e3(0x2a9))||!localStorage['getItem']('customer');},ue=new WeakSet(),st=function(){return c(this,null,function*(){const _0x210faf=_0x2b73;yield r(this,me,lt)[_0x210faf(0x257)](this),yield r(this,H,Be)[_0x210faf(0x257)](this),yield r(this,U,ne)['call'](this);});},Ee=new WeakMap(),j=new WeakMap(),pe=new WeakMap(),de=new WeakSet(),ct=function(){const _0x2e2207=_0x3948f2;let _0x365c56=localStorage[_0x2e2207(0x23d)]('uniqueIdentity');return _0x365c56||(_0x365c56=_0x66de17(),localStorage[_0x2e2207(0x29d)]('uniqueIdentity',_0x365c56)),_0x365c56;},me=new WeakSet(),lt=function(){return c(this,null,function*(){const _0x5ccd80=_0x2b73;if(!localStorage[_0x5ccd80(0x23d)](_0x5ccd80(0x1db))){let _0x193186=(yield r(this,Se,gt)[_0x5ccd80(0x257)](this))['data'];_0x193186&&localStorage[_0x5ccd80(0x29d)](_0x5ccd80(0x1db),JSON[_0x5ccd80(0x23c)](_0x193186));}});},Se=new WeakSet(),gt=function(){return c(this,null,function*(){const _0x307377=_0x2b73;try{return(yield R[_0x307377(0x1e3)](''+xe))[_0x307377(0x238)];}catch(_0x54ffaa){throw new Error(_0x307377(0x1f6));}});},H=new WeakSet(),Be=function(){return c(this,null,function*(){const _0x366e66=_0x2b73;if(!localStorage[_0x366e66(0x23d)](_0x366e66(0x283))){let _0x50e826=(yield r(this,Ie,ut)[_0x366e66(0x257)](this))['data'];_0x50e826&&localStorage[_0x366e66(0x29d)](_0x366e66(0x283),JSON[_0x366e66(0x23c)](_0x50e826));}});},Ie=new WeakSet(),ut=function(){return c(this,null,function*(){const _0x198313=_0x2b73;try{return(yield R[_0x198313(0x1e3)](''+Ue))[_0x198313(0x238)];}catch(_0x3da459){throw new Error(_0x198313(0x1f4));}});},U=new WeakSet(),ne=function(_0x108abf){return c(this,null,function*(){const _0x2f4df3=_0x2b73;localStorage[_0x2f4df3(0x23d)](_0x2f4df3(0x2a9))||(localStorage[_0x2f4df3(0x29d)](_0x2f4df3(0x2a9),_0x66de17()),yield r(this,f,T)[_0x2f4df3(0x257)](this,_0x2f4df3(0x217),[{'eventProperty':_0x2f4df3(0x25b),'value':localStorage['getItem'](_0x2f4df3(0x2a9))},{'eventProperty':_0x2f4df3(0x1fa),'value':new Date(parseInt(localStorage[_0x2f4df3(0x23d)](_0x2f4df3(0x26b))||'',0xa))[_0x2f4df3(0x277)]()}]));let _0x3678db={'deviceId':localStorage[_0x2f4df3(0x23d)]('uniqueIdentity')||_0x66de17(),'os':p(this,D)};if(_0x108abf)_0x3678db['identity']=_0x108abf;else{if(!_0x108abf&&localStorage['getItem'](_0x2f4df3(0x1e1)))return;}try{let _0x164cf2=(yield r(this,ve,Et)[_0x2f4df3(0x257)](this,_0x3678db))[_0x2f4df3(0x238)];_0x164cf2!==void 0x0&&localStorage[_0x2f4df3(0x29d)](_0x2f4df3(0x1e1),_0x164cf2);}catch(_0x5492c0){throw new Error(_0x2f4df3(0x1fe));}});},x=new WeakSet(),oe=function(){const _0x2f17bd=_0x3948f2;localStorage[_0x2f17bd(0x29d)](_0x2f17bd(0x26b),''+new Date()[_0x2f17bd(0x214)]());},ve=new WeakSet(),Et=function(_0x44a762){return c(this,null,function*(){const _0x44937c=_0x2b73;try{return(yield R[_0x44937c(0x24e)](''+Ze+et,_0x44a762))[_0x44937c(0x238)];}catch(_0x477ce2){throw new Error('Error\x20posting\x20identity\x20data');}});},Q=new WeakSet(),ke=function(_0x25df3e){const _0x1ddf70=_0x3948f2;let _0xe3cbf9=r(this,fe,pt)[_0x1ddf70(0x257)](this);if(_0xe3cbf9!=null&&_0xe3cbf9[_0x25df3e])switch(_0xe3cbf9[_0x25df3e][_0x1ddf70(0x244)]){case'DELAY':{r(this,ye,mt)[_0x1ddf70(0x257)](this,_0xe3cbf9[_0x25df3e]);break;}case _0x1ddf70(0x1d9):{r(this,C,ie)['call'](this,_0xe3cbf9[_0x25df3e]);break;}case'SCROLL':{r(this,Te,dt)[_0x1ddf70(0x257)](this,_0xe3cbf9[_0x25df3e]);break;}default:return;}},fe=new WeakSet(),pt=function(){const _0x593d7f=_0x3948f2;let _0x36b1a9=localStorage[_0x593d7f(0x23d)](_0x593d7f(0x2a6));return _0x36b1a9?JSON[_0x593d7f(0x1ef)](_0x36b1a9):null;},Te=new WeakSet(),dt=function(_0x321106){const _0x486a6e=_0x3948f2;let _0xcf0827=()=>{const _0x2c15e8=_0x2b73;var _0x1ba81e,_0x4d8047;let _0x155d87=window['innerHeight'],_0x12e6ff=document[_0x2c15e8(0x201)][_0x2c15e8(0x21f)],_0x3846fc=window[_0x2c15e8(0x218)]/(_0x12e6ff-_0x155d87)*0x64;console[_0x2c15e8(0x213)]('🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:',_0x3846fc),console['log']('🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:',(_0x1ba81e=_0x321106[_0x2c15e8(0x261)])==null?void 0x0:_0x1ba81e[_0x2c15e8(0x299)]),_0x3846fc>(((_0x4d8047=_0x321106[_0x2c15e8(0x261)])==null?void 0x0:_0x4d8047[_0x2c15e8(0x299)])||0x0)&&(window[_0x2c15e8(0x251)](_0x2c15e8(0x26e),_0xcf0827),console[_0x2c15e8(0x213)](_0x2c15e8(0x249)),r(this,C,ie)[_0x2c15e8(0x257)](this,_0x321106));};window[_0x486a6e(0x28b)](_0x486a6e(0x26e),_0xcf0827);},ye=new WeakSet(),mt=function(_0x2e2051){const _0x339985=_0x3948f2;var _0x5d90b4;let _0x34c522=_0x2e2051[_0x339985(0x22a)]-0x1f4+(((_0x5d90b4=_0x2e2051[_0x339985(0x261)])==null?void 0x0:_0x5d90b4[_0x339985(0x299)])||0x0)*0x3e8-new Date()[_0x339985(0x214)]();_0x34c522>0x0&&_0x2e2051[_0x339985(0x2a0)]===window[_0x339985(0x1e6)]['hostname']+window[_0x339985(0x1e6)]['pathname']&&setTimeout(()=>{const _0x38b689=_0x339985;p(this,j)['call'](this,_0x2e2051[_0x38b689(0x278)]),r(this,C,ie)['call'](this,_0x2e2051);},_0x34c522);},C=new WeakSet(),ie=function(_0x2d09cd){const _0x515ef9=_0x3948f2;let _0x1b472a=r(this,he,St)[_0x515ef9(0x257)](this,_0x515ef9(0x1ff),_0x2d09cd);document[_0x515ef9(0x24f)][_0x515ef9(0x20c)](_0x1b472a),r(this,f,T)[_0x515ef9(0x257)](this,N,[{'eventProperty':_0x515ef9(0x216),'value':JSON[_0x515ef9(0x23c)]({'campaignId':_0x2d09cd[_0x515ef9(0x278)]})}],_0x2d09cd[_0x515ef9(0x278)],_0x2d09cd[_0x515ef9(0x227)],_0x515ef9(0x293)),p(this,j)[_0x515ef9(0x257)](this,_0x2d09cd[_0x515ef9(0x278)]);},he=new WeakSet(),St=function(_0x369673,_0x19f3cf){const _0x38d8ed=_0x3948f2;var _0xb1ffc2;let {campaignCustomerInstanceId:_0x4c365f,campaignId:_0x1a6ce8,message:{design:_0x6ffded}}=_0x19f3cf,_0x4f08ae=document['createElement'](_0x369673);return _0x4f08ae['id']=_0x38d8ed(0x2a2)+_0x1a6ce8,_0x4f08ae['innerHTML']=_0x6ffded,_0x4f08ae[_0x38d8ed(0x203)]['zIndex']='50',_0x4f08ae[_0x38d8ed(0x1f0)](_0x38d8ed(0x20d))[_0x38d8ed(0x207)](_0x500e42=>{const _0x4e422c=_0x38d8ed;let _0x3dc37a=_0x500e42[_0x4e422c(0x26f)]('form');_0x3dc37a&&_0x3dc37a[_0x4e422c(0x28b)]('submit',()=>c(this,null,function*(){const _0x338c1f=_0x4e422c;_0x4f08ae[_0x338c1f(0x1e7)]();let _0x1f8408=new FormData(_0x3dc37a),_0x3e6c0a={};for(let [_0x26943f,_0x5d8a22]of _0x1f8408['entries']())_0x3e6c0a[_0x26943f]=_0x5d8a22;yield r(this,f,T)[_0x338c1f(0x257)](this,N,[{'eventProperty':_0x338c1f(0x1e9),'value':JSON[_0x338c1f(0x23c)]({'campaignId':_0x1a6ce8,'formId':_0x500e42['id'],'formValues':_0x3e6c0a})}],_0x1a6ce8,_0x4c365f,_0x338c1f(0x275));}));}),(_0xb1ffc2=_0x4f08ae[_0x38d8ed(0x26f)](_0x38d8ed(0x28a)))==null||_0xb1ffc2['addEventListener']('click',()=>c(this,null,function*(){const _0x4f78de=_0x38d8ed;_0x4f08ae[_0x4f78de(0x1e7)](),yield r(this,f,T)[_0x4f78de(0x257)](this,N,[{'eventProperty':_0x4f78de(0x287),'value':JSON[_0x4f78de(0x23c)]({'campaignId':_0x1a6ce8})}],_0x1a6ce8,_0x4c365f,_0x4f78de(0x211));})),_0x4f08ae[_0x38d8ed(0x1f0)](_0x38d8ed(0x222))['forEach'](_0x133a07=>{const _0x5dd557=_0x38d8ed;_0x133a07[_0x5dd557(0x28b)](_0x5dd557(0x25c),()=>c(this,null,function*(){const _0x4e12f1=_0x5dd557;yield r(this,f,T)[_0x4e12f1(0x257)](this,N,[{'eventProperty':_0x4e12f1(0x230),'value':JSON[_0x4e12f1(0x23c)]({'buttonId':_0x133a07['id'],'campaignId':_0x1a6ce8})}],_0x1a6ce8,_0x4c365f,_0x4e12f1(0x25c));}));}),_0x4f08ae[_0x38d8ed(0x1f0)](_0x38d8ed(0x22e))[_0x38d8ed(0x207)](_0x5d81b9=>{const _0x359be9=_0x38d8ed;_0x5d81b9[_0x359be9(0x28b)](_0x359be9(0x25c),()=>c(this,null,function*(){const _0x2a520f=_0x359be9;yield r(this,f,T)[_0x2a520f(0x257)](this,N,[{'eventProperty':_0x2a520f(0x281),'value':JSON['stringify']({'campaignId':_0x1a6ce8,'imageClassName':_0x5d81b9['className'],'imageId':_0x5d81b9['id']})}],_0x1a6ce8,_0x4c365f,_0x2a520f(0x25c));}));}),_0x4f08ae;},Re=new WeakSet(),It=function(){const _0x404fe9=_0x3948f2;let _0x3f7aa6=localStorage['getItem'](_0x404fe9(0x1db));return _0x3f7aa6?JSON['parse'](_0x3f7aa6):{};},Oe=new WeakSet(),vt=function(_0x22495c,_0x1c0926,_0x3bd7bc){const _0x5f331f=_0x3948f2;if(!Object['prototype'][_0x5f331f(0x21e)][_0x5f331f(0x257)](_0x22495c,_0x1c0926))return _0x5f331f(0x2a3)+_0x1c0926+_0x5f331f(0x256);if(!_0x3bd7bc)return[];let _0x1946bc=_0x22495c[_0x1c0926];if(!(_0x1946bc!=null&&_0x1946bc[_0x5f331f(0x206)]))return'Event\x20'+_0x1c0926+_0x5f331f(0x29b);let _0x2a50ac=_0x3bd7bc[_0x5f331f(0x200)](({eventProperty:_0x1ea4c2})=>!Object['prototype'][_0x5f331f(0x21e)]['call'](_0x1946bc[_0x5f331f(0x206)],_0x1ea4c2))['map'](({eventProperty:_0xa60b17})=>_0xa60b17);return _0x2a50ac[_0x5f331f(0x1f7)]>0x0?'Event\x20'+_0x1c0926+'\x20has\x20invalid\x20eventProperties:\x20'+_0x2a50ac[_0x5f331f(0x1d7)](',\x20')+'.':_0x3bd7bc['map'](({eventProperty:_0x563ea5,value:_0x187124})=>({'eventPropertyId':_0x1946bc[_0x5f331f(0x206)][_0x563ea5]['id'],'value':_0x187124}));},q=new WeakSet(),Je=function(_0x14f655,_0x4d928b,_0x140753){const _0xeae07a=_0x3948f2;if(!Object[_0xeae07a(0x1fc)][_0xeae07a(0x21e)][_0xeae07a(0x257)](_0x14f655,_0x4d928b))return _0xeae07a(0x24a)+_0x4d928b+_0xeae07a(0x256);if(!_0x140753)return[];let _0x33a202=_0x14f655[_0x4d928b];if(!(_0x33a202!=null&&_0x33a202[_0xeae07a(0x265)]))return _0xeae07a(0x24a)+_0x4d928b+_0xeae07a(0x20f);let _0x6f6f55=_0x140753[_0xeae07a(0x200)](({attributeProperty:_0x394e70})=>!Object[_0xeae07a(0x1fc)][_0xeae07a(0x21e)][_0xeae07a(0x257)](_0x33a202[_0xeae07a(0x265)],_0x394e70))[_0xeae07a(0x22b)](({attributeProperty:_0x218821})=>_0x218821);return _0x6f6f55[_0xeae07a(0x1f7)]>0x0?_0xeae07a(0x24a)+_0x4d928b+_0xeae07a(0x28c)+_0x6f6f55[_0xeae07a(0x1d7)](',\x20')+'.':_0x140753[_0xeae07a(0x22b)](({attributeProperty:_0x168840,value:_0x1897cd})=>({'attributePropertyId':_0x33a202[_0xeae07a(0x265)][_0x168840]['id'],'value':_0x1897cd}));},we=new WeakSet(),ft=function(_0x14ec73){const _0x15d997=_0x3948f2;return{'customerId':localStorage[_0x15d997(0x23d)](_0x15d997(0x1e1))||'','events':[_0x14ec73]};},Y=new WeakSet(),Ke=function(_0x2e99e4){return c(this,null,function*(){const _0x30486e=_0x2b73;try{return(yield R[_0x30486e(0x24e)](''+xe+Xe,_0x2e99e4))[_0x30486e(0x238)];}catch(_0x25ecf9){throw new Error(_0x30486e(0x21c));}});},Le=new WeakSet(),Tt=function(_0x583b6d){const _0x14f83d=_0x3948f2;return _0x583b6d===_0x14f83d(0x21a);},be=new WeakSet(),yt=function(_0x51b623){const _0x1ce44a=_0x3948f2;let _0x26cd9e=JSON[_0x1ce44a(0x1ef)](localStorage[_0x1ce44a(0x23d)]('action')||'{}');_0x26cd9e[_0x51b623[_0x1ce44a(0x278)]]=Pe(_({},_0x51b623),{'initialTime':new Date()[_0x1ce44a(0x214)](),'page':window[_0x1ce44a(0x1e6)][_0x1ce44a(0x273)]+window[_0x1ce44a(0x1e6)]['pathname']}),localStorage[_0x1ce44a(0x29d)](_0x1ce44a(0x2a6),JSON[_0x1ce44a(0x23c)](_0x26cd9e));},X=new WeakSet(),We=function(){const _0x53d5da=_0x3948f2;localStorage['removeItem'](_0x53d5da(0x2a6)),localStorage[_0x53d5da(0x241)](_0x53d5da(0x1db)),localStorage['removeItem'](_0x53d5da(0x283)),localStorage[_0x53d5da(0x241)](_0x53d5da(0x205)),localStorage['removeItem'](_0x53d5da(0x26b)),localStorage['removeItem']('session');},Ae=new WeakSet(),ht=function(){return c(this,null,function*(){const _0x1fb8b6=_0x2b73;localStorage[_0x1fb8b6(0x23d)](_0x1fb8b6(0x283))||(yield r(this,H,Be)[_0x1fb8b6(0x257)](this));});},Ne=new WeakSet(),Rt=function(_0x11b993){return c(this,null,function*(){try{return yield R['post'](''+Ue+Ye,_0x11b993);}catch(_0x335d89){throw new Error('Error\x20posting\x20attribute\x20record');}});},o(L,P,void 0x0);function _0x2b73(_0x134a45,_0x1f2eec){const _0xddc38b=_0xddc3();return _0x2b73=function(_0x2b73ae,_0x2ae3da){_0x2b73ae=_0x2b73ae-0x1d6;let _0x569412=_0xddc38b[_0x2b73ae];return _0x569412;},_0x2b73(_0x134a45,_0x1f2eec);}var Me=L,Ot=Me[_0x3948f2(0x2a8)](),Cr=Ot;export{Cr as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mergn-webapp-sdk",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "",
5
5
  "author": "yaseenmergn123",
6
6
  "main": "./dist/index.js",