const _0x44e983=_0x4c8d;(function(_0x4737e7,_0x161a8c){const _0x1e71a5=_0x4c8d,_0x502933=_0x4737e7();while(!![]){try{const _0x19862d=-parseInt(_0x1e71a5(0x120))/0x1+-parseInt(_0x1e71a5(0x12f))/0x2+parseInt(_0x1e71a5(0x122))/0x3+parseInt(_0x1e71a5(0x165))/0x4*(parseInt(_0x1e71a5(0x130))/0x5)+parseInt(_0x1e71a5(0x13d))/0x6*(-parseInt(_0x1e71a5(0x151))/0x7)+parseInt(_0x1e71a5(0x166))/0x8+parseInt(_0x1e71a5(0x15f))/0x9;if(_0x19862d===_0x161a8c)break;else _0x502933['push'](_0x502933['shift']());}catch(_0x4d7879){_0x502933['push'](_0x502933['shift']());}}}(_0x1c05,0xce104));const projectId='cce43ad7-635e-4bf7-8ad8-939d7cac5a1f',trackingUrl=_0x44e983(0x146),scriptUrl=_0x44e983(0x149);function _0x1c05(){const _0xb2455e=['760000WlWlPS','6937325oEtURL','required','map','POST','replace','tagName','change','toLowerCase','index','filter','preventDefault',';\x20path=/','startsWith','9014118anAlnc','from','form','input:not([type=\x22hidden\x22]),\x20select,\x20button,\x20textarea,\x20option,\x20optgroup,\x20fieldset,\x20output','push','action','application/json','toUTCString','uuid','https://us-central1-formstory-394609.cloudfunctions.net/fstory-script','name','then','https://t.formstory.io','join','fstory_session','split','value','[type=\x22submit\x22]','hidden','getAttribute','7Ikemyh','trim','3.15.34.50','json','xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx','hostname','slice','some','GET','random','querySelector','formElements','includes','getTime','7551504vUdQNu','addEventListener','catch','location','hasAttribute','elements','4yojWGn','2305768kAIkOo','recaptcha','message','stringify','data','=;\x20domain=.','method','click','endsWith','cookie','length','Network\x20response\x20was\x20not\x20ok','submit','1109629IbzFgS','find','3963828omyEXx','type','setTime','pathname','querySelectorAll','success','load','now','/projects/',';\x20expires=','DOMContentLoaded','0x1&&(currentPath=currentPath[_0x44e983(0x157)](0x0,-0x1));currentPath=currentPath[_0x44e983(0x134)](/\//g,'_');let jobId='';const sendData=_0x5b99c9=>{const _0x1fd59c=_0x44e983;fetch(trackingUrl,{'method':_0x1fd59c(0x133),'headers':{'Content-Type':_0x1fd59c(0x143)},'body':JSON[_0x1fd59c(0x169)](_0x5b99c9)})[_0x1fd59c(0x148)](_0x5dafea=>{const _0x30bb9a=_0x1fd59c;if(!_0x5dafea['ok'])throw new Error(_0x30bb9a(0x11e));})['catch'](_0x494536=>{console['error'](_0x494536);});},addFormFields=(_0x18e66f,_0x5881d5)=>{const _0x553905=_0x44e983;let _0x470148=_0x18e66f[_0x553905(0x164)],_0xa4f97d={};for(let _0x14af71=0x0;_0x14af71<_0x470148[_0x553905(0x11d)];_0x14af71++){let _0xc186a7=_0x470148[_0x14af71],_0x24d49a=_0xc186a7[_0x553905(0x147)]!==''?_0xc186a7['name']:_0xc186a7['id'];if(_0xc186a7[_0x553905(0x123)]===_0x553905(0x14f)||_0xc186a7[_0x553905(0x123)]==='password'||_0x24d49a==='')continue;if(_0x24d49a[_0x553905(0x11b)]('[]')){let _0x4e1f2c=_0x24d49a[_0x553905(0x157)](0x0,-0x2),_0x1cd501=_0xc186a7[_0x553905(0x14d)]||'';!_0xa4f97d[_0x4e1f2c]?_0xa4f97d[_0x4e1f2c]={'label':_0x4e1f2c,'value':_0x1cd501}:_0xa4f97d[_0x4e1f2c]['value']+=_0x1cd501['length']>0x0?',\x20'+_0x1cd501:'';}else _0x5881d5['data'][_0x553905(0x141)]({'label':_0x24d49a,'value':_0xc186a7[_0x553905(0x14d)]||''});}for(let _0x4c2f4c in _0xa4f97d){_0x5881d5[_0x553905(0x16a)]['push'](_0xa4f97d[_0x4c2f4c]);}},handleFormSubmit=_0x2c0d76=>{const _0x4ef995=_0x44e983;let _0x11489d={'projectId':projectId,'jobId':jobId,'uuid':uuid,'data':[],'timestamp':Date[_0x4ef995(0x129)](),'ip':clientIP,'event_type':_0x4ef995(0x11f)};addFormFields(_0x2c0d76,_0x11489d),sendData(_0x11489d);},handleFormChange=_0x385319=>_0x231e78=>{const _0x1d8fc8=_0x44e983;_0x231e78[_0x1d8fc8(0x13a)]();const _0x1f2ab4={'projectId':projectId,'jobId':jobId,'uuid':uuid,'timestamp':Date[_0x1d8fc8(0x129)](),'data':[],'ip':clientIP,'event_type':_0x1d8fc8(0x136)};addFormFields(_0x385319,_0x1f2ab4),sendData(_0x1f2ab4);};function fetchData(){const _0x56d51e=_0x44e983;return fetch(scriptUrl+_0x56d51e(0x12a)+projectId+'/'+currentPath,{'method':_0x56d51e(0x159),'headers':{'Content-Type':_0x56d51e(0x143)}})[_0x56d51e(0x148)](_0x156253=>{const _0x4aa2d3=_0x56d51e;if(!_0x156253['ok'])return _0x156253[_0x4aa2d3(0x154)]();return _0x156253[_0x4aa2d3(0x154)]();})[_0x56d51e(0x148)](_0x4769f0=>{return _0x4769f0;})[_0x56d51e(0x161)](_0x21b8a2=>{const _0xb56633=_0x56d51e;return{'success':![],'message':_0x21b8a2[_0xb56633(0x168)]};});}function _0x4c8d(_0x1e316c,_0x7441d6){const _0x1c0580=_0x1c05();return _0x4c8d=function(_0x4c8dd5,_0x2bd378){_0x4c8dd5=_0x4c8dd5-0x118;let _0x3db9f5=_0x1c0580[_0x4c8dd5];return _0x3db9f5;},_0x4c8d(_0x1e316c,_0x7441d6);}function setCookie(_0x27391a,_0x71c10f,_0x4b47a3){const _0x383c7d=_0x44e983;let _0x397dd7=_0x27391a+'='+encodeURIComponent(_0x71c10f);document[_0x383c7d(0x11c)]=_0x397dd7+';domain=.'+getRootDomain()+_0x383c7d(0x12b)+_0x4b47a3[_0x383c7d(0x144)]()+_0x383c7d(0x13b);}function getCookieValue(_0x15714f){const _0x20acc4=_0x44e983,_0x15684b=document['cookie'][_0x20acc4(0x14c)](';'),_0x2fbf8f=_0x15684b[_0x20acc4(0x121)](function(_0x17dd1c){const _0x2ce6d7=_0x20acc4;return _0x17dd1c[_0x2ce6d7(0x152)]()[_0x2ce6d7(0x13c)](_0x15714f+'=');});if(_0x2fbf8f)return decodeURIComponent(_0x2fbf8f[_0x20acc4(0x14c)]('=')[0x1]);return null;}function deleteCookie(_0x1ad025){const _0x3fd2b9=_0x44e983;document[_0x3fd2b9(0x11c)]=_0x1ad025+_0x3fd2b9(0x118)+getRootDomain()+';\x20expires=Thu,\x2001\x20Jan\x201970\x2000:00:00\x20UTC;\x20path=/;';}function getRootDomain(){const _0x449a8c=_0x44e983,_0x3337c2=host[_0x449a8c(0x14c)]('.')['reverse']();return _0x3337c2[0x1]+'.'+_0x3337c2[0x0];}const formAttributes=[_0x44e983(0x142),_0x44e983(0x119)],inputAttributes=[_0x44e983(0x147),_0x44e983(0x123)];function tagFomBase64(_0xd3e992){const _0x22e778=_0x44e983,_0x3029b6=_0xd3e992?_0x22e778(0x12d)+Array[_0x22e778(0x13e)](_0xd3e992['attributes'])[_0x22e778(0x139)](_0x2c65ad=>formAttributes['includes'](_0x2c65ad[_0x22e778(0x147)]))[_0x22e778(0x132)](_0x5913bb=>'\x20'+_0x5913bb[_0x22e778(0x147)]+'=\x22'+_0x5913bb[_0x22e778(0x14d)]+'\x22')[_0x22e778(0x14a)]('')+'>':'';return encodeBase64(_0x3029b6);}const formElements=[_0x44e983(0x140)],excludeKeywords=[_0x44e983(0x167)];function simplifyForm(_0x277af7){const _0x493354=_0x44e983,_0x2ffb00=_0x277af7['querySelectorAll'](formElements),_0x2d29e2={},_0xdcb955=({name:_0x574050,id:_0x1f8b21})=>!excludeKeywords[_0x493354(0x158)](_0x32595c=>_0x574050?.['toLowerCase']()[_0x493354(0x15d)](_0x32595c)||_0x1f8b21?.[_0x493354(0x137)]()[_0x493354(0x15d)](_0x32595c)),_0x55ab81=_0x33b3c8=>{const _0x5f35e4=_0x493354,_0x19d5d7=_0x33b3c8[_0x5f35e4(0x135)][_0x5f35e4(0x137)](),_0xa3aee0=inputAttributes[_0x5f35e4(0x139)](_0x330f62=>_0x33b3c8[_0x5f35e4(0x163)](_0x330f62))['map'](_0x39ec43=>'\x20'+_0x39ec43+'=\x22'+_0x33b3c8[_0x5f35e4(0x150)](_0x39ec43)+'\x22')['join']('');return'<'+_0x19d5d7+_0xa3aee0+'>';};return Array[_0x493354(0x13e)](_0x2ffb00)[_0x493354(0x139)](_0xdcb955)[_0x493354(0x12e)]((_0x30818e,_0x141a65)=>{_0x2d29e2[_0x141a65]=_0x55ab81(_0x30818e);}),encodeBase64(JSON[_0x493354(0x169)](_0x2d29e2));}function encodeBase64(_0xff6bd4){return btoa(unescape(encodeURIComponent(_0xff6bd4)));}function identicalForms(_0x462edb,_0x4939bc){const _0x56b217=_0x44e983,_0x135a72=simplifyForm(_0x462edb),_0x3c4954=tagFomBase64(_0x462edb);if(_0x135a72===_0x4939bc[_0x56b217(0x164)]&&_0x3c4954===_0x4939bc['tagForm'])return!![];return![];}function generateUUID(){const _0x21672c=_0x44e983;return _0x21672c(0x155)[_0x21672c(0x134)](/[xy]/g,function(_0x25c9c9){const _0x2f239b=_0x21672c;var _0x2e10d5=Math[_0x2f239b(0x15a)]()*0x10|0x0,_0x8f2223=_0x25c9c9==='x'?_0x2e10d5:_0x2e10d5&0x3|0x8;return _0x8f2223['toString'](0x10);});}document[_0x44e983(0x160)](_0x44e983(0x12c),function(){const _0xcd1e8a=_0x44e983;fetchData()[_0xcd1e8a(0x148)](_0x5547bc=>{const _0x4ea7a6=_0xcd1e8a;if(_0x5547bc[_0x4ea7a6(0x127)]){if(_0x5547bc&&_0x5547bc[_0x4ea7a6(0x16a)]){let _0x35e082=getCookieValue(_0x4ea7a6(0x14b));jobId=_0x5547bc[_0x4ea7a6(0x16a)][_0x4ea7a6(0x145)];if(!_0x35e082){const _0x392fbd=new Date();_0x392fbd[_0x4ea7a6(0x124)](_0x392fbd[_0x4ea7a6(0x15e)]()+0x5*0x3c*0x3e8),setCookie(_0x4ea7a6(0x14b),uuid,_0x392fbd),_0x35e082=uuid;}else uuid=_0x35e082;const _0x5a3b95=_0x5547bc['data'][_0x4ea7a6(0x15c)],_0x64d809=document[_0x4ea7a6(0x126)](_0x4ea7a6(0x13f)),_0x12939f=_0x64d809[_0x5a3b95[_0x4ea7a6(0x138)]];if(identicalForms(_0x12939f,_0x5a3b95)){const _0x5854a9={'timestamp':Date[_0x4ea7a6(0x129)](),'projectId':projectId,'jobId':jobId,'uuid':_0x35e082,'data':[],'ip':clientIP,'event_type':_0x4ea7a6(0x128)};sendData(_0x5854a9),_0x12939f[_0x4ea7a6(0x160)](_0x4ea7a6(0x136),handleFormChange(_0x12939f));const _0x41bc93=_0x12939f[_0x4ea7a6(0x15b)](_0x4ea7a6(0x14e));_0x41bc93[_0x4ea7a6(0x160)](_0x4ea7a6(0x11a),_0x45c22c=>{const _0x112c29=_0x4ea7a6,_0x4940eb=_0x12939f[_0x112c29(0x164)];let _0x4efaf7=!![];for(let _0x380ee1=0x0;_0x380ee1<_0x4940eb[_0x112c29(0x11d)];_0x380ee1++){_0x4940eb[_0x380ee1][_0x112c29(0x163)](_0x112c29(0x131))&&!_0x4940eb[_0x380ee1][_0x112c29(0x14d)]&&(_0x4efaf7=![]);}if(_0x4efaf7){deleteCookie(_0x112c29(0x14b)),handleFormSubmit(_0x12939f),uuid=generateUUID();const _0x386b62=new Date();_0x386b62[_0x112c29(0x124)](_0x386b62['getTime']()+0x5*0x3c*0x3e8),setCookie(_0x112c29(0x14b),uuid,_0x386b62),_0x35e082=uuid;}});}}}});});