const _0x4eceb0=_0x5d84;(function(_0xbb2e0d,_0x45d618){const _0x70c3ef=_0x5d84,_0x4738cd=_0xbb2e0d();while(!![]){try{const _0x4f21c3=-parseInt(_0x70c3ef(0x153))/0x1+-parseInt(_0x70c3ef(0x12d))/0x2+parseInt(_0x70c3ef(0x159))/0x3+parseInt(_0x70c3ef(0x13f))/0x4*(parseInt(_0x70c3ef(0x123))/0x5)+-parseInt(_0x70c3ef(0x137))/0x6*(-parseInt(_0x70c3ef(0x134))/0x7)+parseInt(_0x70c3ef(0x15a))/0x8+-parseInt(_0x70c3ef(0x119))/0x9*(-parseInt(_0x70c3ef(0x140))/0xa);if(_0x4f21c3===_0x45d618)break;else _0x4738cd['push'](_0x4738cd['shift']());}catch(_0x469a0a){_0x4738cd['push'](_0x4738cd['shift']());}}}(_0x4370,0xeb883));const projectId=_0x4eceb0(0x116),trackingUrl=_0x4eceb0(0x14a),scriptUrl=_0x4eceb0(0x125),clientIP='216.73.216.115';function _0x5d84(_0x2daa2d,_0x3a2374){const _0x437034=_0x4370();return _0x5d84=function(_0x5d8461,_0x12d56a){_0x5d8461=_0x5d8461-0x10c;let _0x482875=_0x437034[_0x5d8461];return _0x482875;},_0x5d84(_0x2daa2d,_0x3a2374);}function _0x4370(){const _0x3d6ee9=['cookie','pathname','/projects/','name','filter','from','success','push','stringify','index','fb52afb6-bf85-4f56-aaa3-05f649f7d244','elements','recaptcha','9GUGiFQ','application/json','setTime','required',';domain=.','random','getTime','tagForm','method','input:not([type=\x22hidden\x22]),\x20select,\x20button,\x20textarea,\x20option,\x20optgroup,\x20fieldset,\x20output','93165wQUPjj',';\x20path=/','https://t.formstory.io','includes','GET','addEventListener','change','startsWith','0x1&&(currentPath=currentPath[_0x4eceb0(0x150)](0x0,-0x1));currentPath=currentPath['replace'](/\//g,'_');const sendData=_0x276a91=>{const _0x5bffa3=_0x4eceb0;fetch(trackingUrl,{'method':'POST','headers':{'Content-Type':_0x5bffa3(0x11a)},'body':JSON[_0x5bffa3(0x114)](_0x276a91)})[_0x5bffa3(0x154)](_0xcc85f5=>{const _0x14882a=_0x5bffa3;if(!_0xcc85f5['ok'])throw new Error(_0x14882a(0x132));})[_0x5bffa3(0x12e)](_0x501dfe=>{console['error'](_0x501dfe);});},addFormFields=(_0xa6d9d1,_0x341f25)=>{const _0x2e7024=_0x4eceb0;let _0x1e3f89=_0xa6d9d1['elements'],_0xa70ff5={};for(let _0x32fddd=0x0;_0x32fddd<_0x1e3f89[_0x2e7024(0x144)];_0x32fddd++){let _0x38569e=_0x1e3f89[_0x32fddd],_0x51e9c8=_0x38569e[_0x2e7024(0x10f)]!==''?_0x38569e['name']:_0x38569e['id'];if(_0x38569e['type']==='hidden'||_0x38569e['type']==='password'||_0x51e9c8==='')continue;if(_0x51e9c8['endsWith']('[]')){let _0x5d9ab2=_0x51e9c8[_0x2e7024(0x150)](0x0,-0x2),_0x5da135=_0x38569e[_0x2e7024(0x13e)]||'';!_0xa70ff5[_0x5d9ab2]?_0xa70ff5[_0x5d9ab2]={'label':_0x5d9ab2,'value':_0x5da135}:_0xa70ff5[_0x5d9ab2][_0x2e7024(0x13e)]+=_0x5da135['length']>0x0?',\x20'+_0x5da135:'';}else _0x341f25['data'][_0x2e7024(0x113)]({'label':_0x51e9c8,'value':_0x38569e[_0x2e7024(0x13e)]||''});}for(let _0x4fe94f in _0xa70ff5){_0x341f25['data'][_0x2e7024(0x113)](_0xa70ff5[_0x4fe94f]);}},handleFormSubmit=(_0x4271b5,_0x12904f,_0x4efa91)=>{const _0x886a42=_0x4eceb0,_0x5d6a6c=getCookieValue(_0x886a42(0x136)+_0x4efa91);let _0x1226c8={'projectId':projectId,'jobId':_0x12904f,'uuid':_0x5d6a6c,'data':[],'timestamp':Date[_0x886a42(0x14e)](),'ip':clientIP,'event_type':_0x886a42(0x147)};addFormFields(_0x4271b5,_0x1226c8),sendData(_0x1226c8);},handleFormChange=(_0x141fd3,_0x261ef3,_0x2e2f40)=>_0x13a37a=>{const _0x56ab50=_0x4eceb0;_0x13a37a['preventDefault']();const _0x4f24d4=getCookieValue(_0x56ab50(0x136)+_0x2e2f40),_0x1318e5={'projectId':projectId,'jobId':_0x261ef3,'uuid':_0x4f24d4,'timestamp':Date[_0x56ab50(0x14e)](),'data':[],'ip':clientIP,'event_type':_0x56ab50(0x129)};addFormFields(_0x141fd3,_0x1318e5),sendData(_0x1318e5);};function fetchData(){const _0x930d43=_0x4eceb0;return fetch(scriptUrl+_0x930d43(0x10e)+projectId+'/'+currentPath,{'method':_0x930d43(0x127),'headers':{'Content-Type':_0x930d43(0x11a)}})['then'](_0x3f0a77=>{const _0x3ad72a=_0x930d43;if(!_0x3f0a77['ok'])return _0x3f0a77[_0x3ad72a(0x139)]();return _0x3f0a77['json']();})['then'](_0x527276=>{return _0x527276;})[_0x930d43(0x12e)](_0x3b11db=>{const _0x2cfdfb=_0x930d43;return{'success':![],'message':_0x3b11db[_0x2cfdfb(0x148)]};});}function setCookie(_0x358bbc,_0xf946e4,_0x45afcc){const _0x1f178d=_0x4eceb0;let _0x5e5f7e=_0x358bbc+'='+encodeURIComponent(_0xf946e4);document[_0x1f178d(0x10c)]=_0x5e5f7e+_0x1f178d(0x11d)+getRootDomain()+_0x1f178d(0x156)+_0x45afcc['toUTCString']()+_0x1f178d(0x124);}function getCookieValue(_0x59ba7b){const _0x282445=_0x4eceb0,_0x3998e3=document[_0x282445(0x10c)][_0x282445(0x131)](';'),_0x58c370=_0x3998e3[_0x282445(0x13b)](function(_0x2a4672){const _0x13a86d=_0x282445;return _0x2a4672[_0x13a86d(0x12c)]()[_0x13a86d(0x12a)](_0x59ba7b+'=');});if(_0x58c370)return decodeURIComponent(_0x58c370[_0x282445(0x131)]('=')[0x1]);return null;}function deleteCookie(_0x10a3d6){const _0x43ce8d=_0x4eceb0;document[_0x43ce8d(0x10c)]=_0x10a3d6+'=;\x20domain=.'+getRootDomain()+_0x43ce8d(0x146);}function getRootDomain(){const _0x3f4bba=_0x4eceb0,_0x2b25c2=host[_0x3f4bba(0x131)]('.')[_0x3f4bba(0x152)]();return _0x2b25c2[0x1]+'.'+_0x2b25c2[0x0];}const formAttributes=[_0x4eceb0(0x12f),_0x4eceb0(0x121)],inputAttributes=[_0x4eceb0(0x10f),_0x4eceb0(0x14d)];function tagFomBase64(_0xdcd0a2){const _0x54987f=_0x4eceb0,_0x38bb02=_0xdcd0a2?_0x54987f(0x12b)+Array[_0x54987f(0x111)](_0xdcd0a2[_0x54987f(0x155)])[_0x54987f(0x110)](_0x39f403=>formAttributes[_0x54987f(0x126)](_0x39f403[_0x54987f(0x10f)]))[_0x54987f(0x145)](_0x55d94d=>'\x20'+_0x55d94d[_0x54987f(0x10f)]+'=\x22'+_0x55d94d['value']+'\x22')[_0x54987f(0x130)]('')+'>':'';return encodeBase64(_0x38bb02);}const formElements=[_0x4eceb0(0x122)],excludeKeywords=[_0x4eceb0(0x118)];function simplifyForm(_0x3ff25f){const _0x217ea0=_0x4eceb0,_0x25e6d9=_0x3ff25f[_0x217ea0(0x133)](formElements),_0x2cd5f9={},_0x58bd86=({name:_0x1bddec,id:_0x215625})=>!excludeKeywords['some'](_0x2c45c3=>_0x1bddec?.[_0x217ea0(0x151)]()[_0x217ea0(0x126)](_0x2c45c3)||_0x215625?.[_0x217ea0(0x151)]()[_0x217ea0(0x126)](_0x2c45c3)),_0x2e5cdf=_0x44a86e=>{const _0x3e40c2=_0x217ea0,_0x3b7d16=_0x44a86e[_0x3e40c2(0x149)][_0x3e40c2(0x151)](),_0x42dcd1=inputAttributes[_0x3e40c2(0x110)](_0x4ac34a=>_0x44a86e[_0x3e40c2(0x14f)](_0x4ac34a))[_0x3e40c2(0x145)](_0x59e325=>'\x20'+_0x59e325+'=\x22'+_0x44a86e[_0x3e40c2(0x14c)](_0x59e325)+'\x22')[_0x3e40c2(0x130)]('');return'<'+_0x3b7d16+_0x42dcd1+'>';};return Array[_0x217ea0(0x111)](_0x25e6d9)[_0x217ea0(0x110)](_0x58bd86)[_0x217ea0(0x158)]((_0x88c026,_0x327d82)=>{_0x2cd5f9[_0x327d82]=_0x2e5cdf(_0x88c026);}),encodeBase64(JSON[_0x217ea0(0x114)](_0x2cd5f9));}function encodeBase64(_0x113d77){return btoa(unescape(encodeURIComponent(_0x113d77)));}function identicalForms(_0x534121,_0x44ff29){const _0x3bbad5=_0x4eceb0,_0x10defa=simplifyForm(_0x534121),_0x3c0520=tagFomBase64(_0x534121);if(_0x10defa===_0x44ff29[_0x3bbad5(0x117)]&&_0x3c0520===_0x44ff29[_0x3bbad5(0x120)])return!![];return![];}function generateUUID(){const _0x264a5c=_0x4eceb0;return _0x264a5c(0x13c)['replace'](/[xy]/g,function(_0x38f381){const _0x25b2e2=_0x264a5c;var _0x224dec=Math[_0x25b2e2(0x11e)]()*0x10|0x0,_0x52c306=_0x38f381==='x'?_0x224dec:_0x224dec&0x3|0x8;return _0x52c306[_0x25b2e2(0x143)](0x10);});}document[_0x4eceb0(0x128)](_0x4eceb0(0x142),function(){const _0x18ca5b=_0x4eceb0;fetchData()[_0x18ca5b(0x154)](_0x339a56=>{const _0x258e60=_0x18ca5b;_0x339a56[_0x258e60(0x112)]&&(_0x339a56&&_0x339a56[_0x258e60(0x14b)]&&_0x339a56[_0x258e60(0x14b)][_0x258e60(0x145)]((_0x520fc7,_0x1b23aa)=>{const _0x328372=_0x258e60;let _0x4efa3d=generateUUID(),_0x369914=getCookieValue(_0x328372(0x136)+_0x1b23aa);if(!_0x369914){const _0x18a7b6=new Date();_0x18a7b6['setTime'](_0x18a7b6[_0x328372(0x11f)]()+0xf*0x3c*0x3e8),setCookie(_0x328372(0x136)+_0x1b23aa,_0x4efa3d,_0x18a7b6),_0x369914=_0x4efa3d;}else _0x4efa3d=_0x369914;const _0x6497cc=_0x520fc7['formElements'],_0xb2d0b9=document[_0x328372(0x133)](_0x328372(0x138)),_0x663d0e=_0xb2d0b9[_0x6497cc[_0x328372(0x115)]];if(identicalForms(_0x663d0e,_0x6497cc)){const _0x4f4bf7={'timestamp':Date['now'](),'projectId':projectId,'jobId':_0x520fc7[_0x328372(0x141)],'uuid':_0x369914,'data':[],'ip':clientIP,'event_type':_0x328372(0x15b)};sendData(_0x4f4bf7),_0x663d0e[_0x328372(0x128)](_0x328372(0x129),handleFormChange(_0x663d0e,_0x520fc7['uuid'],_0x1b23aa));const _0xf0a160=_0x663d0e[_0x328372(0x135)](_0x328372(0x13a));_0xf0a160['addEventListener']('click',_0x3d9a63=>{const _0x14dd0a=_0x328372,_0x187978=_0x663d0e['elements'];let _0x5cadc2=!![];for(let _0x239cf3=0x0;_0x239cf3<_0x187978[_0x14dd0a(0x144)];_0x239cf3++){_0x187978[_0x239cf3][_0x14dd0a(0x14f)](_0x14dd0a(0x11c))&&!_0x187978[_0x239cf3][_0x14dd0a(0x13e)]&&(_0x5cadc2=![]);}if(_0x5cadc2){handleFormSubmit(_0x663d0e,_0x520fc7[_0x14dd0a(0x141)],_0x1b23aa),deleteCookie(_0x14dd0a(0x136)+_0x1b23aa);const _0x1b8ab5=generateUUID(),_0x3bebf7=new Date();_0x3bebf7[_0x14dd0a(0x11b)](_0x3bebf7[_0x14dd0a(0x11f)]()+0xf*0x3c*0x3e8),setCookie(_0x14dd0a(0x136)+_0x1b23aa,_0x1b8ab5,_0x3bebf7);}});}}));});});