const _0x337fda=_0x8e95;(function(_0x5b23ba,_0xf6a5d0){const _0x469132=_0x8e95,_0x14b94e=_0x5b23ba();while(!![]){try{const _0x5be46b=-parseInt(_0x469132(0x1bc))/0x1+parseInt(_0x469132(0x198))/0x2*(-parseInt(_0x469132(0x1ad))/0x3)+parseInt(_0x469132(0x1b7))/0x4+parseInt(_0x469132(0x1cc))/0x5+parseInt(_0x469132(0x1bb))/0x6*(-parseInt(_0x469132(0x190))/0x7)+parseInt(_0x469132(0x192))/0x8*(-parseInt(_0x469132(0x1aa))/0x9)+-parseInt(_0x469132(0x1a6))/0xa*(-parseInt(_0x469132(0x1bd))/0xb);if(_0x5be46b===_0xf6a5d0)break;else _0x14b94e['push'](_0x14b94e['shift']());}catch(_0x40b73f){_0x14b94e['push'](_0x14b94e['shift']());}}}(_0x6583,0xc71ab));const projectId='184b063d-74cc-4eb8-8e12-a46112af5a30',trackingUrl=_0x337fda(0x1d2),scriptUrl=_0x337fda(0x19a),clientIP=_0x337fda(0x1be);let currentPath=window[_0x337fda(0x18e)][_0x337fda(0x191)],host=window[_0x337fda(0x18e)][_0x337fda(0x1a3)];currentPath[_0x337fda(0x1c4)]('/')&¤tPath[_0x337fda(0x1cb)]>0x1&&(currentPath=currentPath['slice'](0x0,-0x1));currentPath=currentPath['replace'](/\//g,'_');const sendData=_0x4bef82=>{const _0x3798c6=_0x337fda;fetch(trackingUrl,{'method':_0x3798c6(0x1b1),'headers':{'Content-Type':_0x3798c6(0x1d1)},'body':JSON['stringify'](_0x4bef82)})['then'](_0x38dd01=>{const _0x17ab11=_0x3798c6;if(!_0x38dd01['ok'])throw new Error(_0x17ab11(0x1b6));})[_0x3798c6(0x1b8)](_0x6f3ea7=>{console['error'](_0x6f3ea7);});},addFormFields=(_0x5d8f52,_0x17d7d3)=>{const _0x8c1e88=_0x337fda;let _0x45eb68=_0x5d8f52[_0x8c1e88(0x19f)],_0xe2b90c={};for(let _0x37b77a=0x0;_0x37b77a<_0x45eb68[_0x8c1e88(0x1cb)];_0x37b77a++){let _0x3f8581=_0x45eb68[_0x37b77a],_0x1b9753=_0x3f8581[_0x8c1e88(0x18f)]!==''?_0x3f8581[_0x8c1e88(0x18f)]:_0x3f8581['id'];if(_0x3f8581['type']==='hidden'||_0x3f8581[_0x8c1e88(0x197)]===_0x8c1e88(0x1c5)||_0x1b9753==='')continue;if(_0x1b9753[_0x8c1e88(0x1c4)]('[]')){let _0x5c7523=_0x1b9753['slice'](0x0,-0x2),_0x2b2dd7=_0x3f8581[_0x8c1e88(0x1b3)]||'';!_0xe2b90c[_0x5c7523]?_0xe2b90c[_0x5c7523]={'label':_0x5c7523,'value':_0x2b2dd7}:_0xe2b90c[_0x5c7523][_0x8c1e88(0x1b3)]+=_0x2b2dd7['length']>0x0?',\x20'+_0x2b2dd7:'';}else _0x17d7d3[_0x8c1e88(0x1af)][_0x8c1e88(0x1a2)]({'label':_0x1b9753,'value':_0x3f8581[_0x8c1e88(0x1b3)]||''});}for(let _0x44dbe7 in _0xe2b90c){_0x17d7d3['data'][_0x8c1e88(0x1a2)](_0xe2b90c[_0x44dbe7]);}},handleFormSubmit=(_0x2f5037,_0x5ee1fd,_0xb0d37b)=>{const _0x310f6c=_0x337fda,_0xfa321c=getCookieValue(_0x310f6c(0x1cd)+_0xb0d37b);let _0x5a1312={'projectId':projectId,'jobId':_0x5ee1fd,'uuid':_0xfa321c,'data':[],'timestamp':Date[_0x310f6c(0x1ca)](),'ip':clientIP,'event_type':_0x310f6c(0x194)};addFormFields(_0x2f5037,_0x5a1312),sendData(_0x5a1312);},handleFormChange=(_0x2990fb,_0x121dbf,_0x10c027)=>_0x58b0ee=>{const _0x2ca841=_0x337fda;_0x58b0ee[_0x2ca841(0x1ce)]();const _0x4db133=getCookieValue('fstory_session_'+_0x10c027),_0x1c0de0={'projectId':projectId,'jobId':_0x121dbf,'uuid':_0x4db133,'timestamp':Date[_0x2ca841(0x1ca)](),'data':[],'ip':clientIP,'event_type':_0x2ca841(0x1c8)};addFormFields(_0x2990fb,_0x1c0de0),sendData(_0x1c0de0);};function fetchData(){const _0x59919c=_0x337fda;return fetch(scriptUrl+_0x59919c(0x1cf)+projectId+'/'+currentPath,{'method':_0x59919c(0x1c2),'headers':{'Content-Type':_0x59919c(0x1d1)}})[_0x59919c(0x1a7)](_0x36353d=>{const _0x435421=_0x59919c;if(!_0x36353d['ok'])return _0x36353d[_0x435421(0x1ae)]();return _0x36353d['json']();})[_0x59919c(0x1a7)](_0x29653c=>{return _0x29653c;})[_0x59919c(0x1b8)](_0x4ac20d=>{const _0x349693=_0x59919c;return{'success':![],'message':_0x4ac20d[_0x349693(0x1a8)]};});}function _0x8e95(_0x36fad0,_0x35ced0){const _0x65838c=_0x6583();return _0x8e95=function(_0x8e95d,_0x594e81){_0x8e95d=_0x8e95d-0x18e;let _0x2ac5de=_0x65838c[_0x8e95d];return _0x2ac5de;},_0x8e95(_0x36fad0,_0x35ced0);}function setCookie(_0x4cb252,_0x30031d,_0x1ef6ac){const _0x8896f0=_0x337fda;let _0x3e43b2=_0x4cb252+'='+encodeURIComponent(_0x30031d);document[_0x8896f0(0x1d7)]=_0x3e43b2+';domain=.'+getRootDomain()+';\x20expires='+_0x1ef6ac[_0x8896f0(0x1a9)]()+';\x20path=/';}function getCookieValue(_0x19b0a9){const _0x5e99be=_0x337fda,_0x174db7=document['cookie'][_0x5e99be(0x193)](';'),_0x579439=_0x174db7[_0x5e99be(0x1ab)](function(_0x2afef1){const _0x291a44=_0x5e99be;return _0x2afef1[_0x291a44(0x1a0)]()[_0x291a44(0x1c6)](_0x19b0a9+'=');});if(_0x579439)return decodeURIComponent(_0x579439['split']('=')[0x1]);return null;}function deleteCookie(_0x5ad06a){const _0x56d63e=_0x337fda;document[_0x56d63e(0x1d7)]=_0x5ad06a+_0x56d63e(0x1da)+getRootDomain()+_0x56d63e(0x1a5);}function getRootDomain(){const _0x16ec6c=_0x337fda,_0x1ebb9c=host[_0x16ec6c(0x193)]('.')[_0x16ec6c(0x19b)]();return _0x1ebb9c[0x1]+'.'+_0x1ebb9c[0x0];}const formElements=[_0x337fda(0x1d0)];function _0x6583(){const _0x4ed7f7=['application/json','https://us-central1-formstory-394609.cloudfunctions.net/fstory-script','querySelector','toString','hasAttribute','setTime','cookie','getAttribute','formElements','=;\x20domain=.','location','name','8033557LEzePZ','pathname','11589176ITkesS','split','submit','success','formFields','type','1028qlcVZD','index','https://t.formstory.io','reverse','random','replace','getTime','elements','trim','uuid','push','hostname','click',';\x20expires=Thu,\x2001\x20Jan\x201970\x2000:00:00\x20UTC;\x20path=/;','2148910mGaFns','then','message','toUTCString','9zwliyn','find','from','8367XvNmyU','json','data','load','POST','xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx','value','filter','addEventListener','Network\x20response\x20was\x20not\x20ok','376272FqcjFC','catch','form','map','6cQZZbE','96053HqueNT','231CpYjZT','216.73.216.144','querySelectorAll','[type=\x22submit\x22]','required','GET','includes','endsWith','password','startsWith','DOMContentLoaded','change','every','now','length','1673245cUYmEI','fstory_session_','preventDefault','/projects/','input:not([type=\x22hidden\x22]),\x20select,\x20button,\x20textarea,\x20option,\x20optgroup,\x20fieldset,\x20output'];_0x6583=function(){return _0x4ed7f7;};return _0x6583();}function encodeBase64(_0x2a99e3){return btoa(unescape(encodeURIComponent(_0x2a99e3)));}function identicalForms(_0x31a1e1,_0x181352){const _0x571acb=_0x337fda,_0x560c90=_0x31a1e1['querySelectorAll'](formElements),_0x2864df=Array[_0x571acb(0x1ac)](_0x560c90)[_0x571acb(0x1ba)](_0x4cd6cd=>{const _0x27eaca=_0x571acb;if(_0x4cd6cd[_0x27eaca(0x1d5)](_0x27eaca(0x18f))){let _0x1399d9=_0x4cd6cd[_0x27eaca(0x1d8)](_0x27eaca(0x18f));return _0x1399d9[_0x27eaca(0x1c4)]('[]')&&(_0x1399d9=_0x1399d9['slice'](0x0,-0x2)),_0x1399d9;}return null;})[_0x571acb(0x1b4)](Boolean);return _0x181352[_0x571acb(0x1c9)](_0x27e8a5=>_0x2864df[_0x571acb(0x1c3)](_0x27e8a5));}function generateUUID(){const _0x2321b9=_0x337fda;return _0x2321b9(0x1b2)[_0x2321b9(0x19d)](/[xy]/g,function(_0x118429){const _0x165dc7=_0x2321b9;var _0x5400df=Math[_0x165dc7(0x19c)]()*0x10|0x0,_0x31fefd=_0x118429==='x'?_0x5400df:_0x5400df&0x3|0x8;return _0x31fefd[_0x165dc7(0x1d4)](0x10);});}document['addEventListener'](_0x337fda(0x1c7),function(){const _0x242715=_0x337fda;fetchData()[_0x242715(0x1a7)](_0x2954a0=>{const _0x2440ad=_0x242715;_0x2954a0[_0x2440ad(0x195)]&&(_0x2954a0&&_0x2954a0['data']&&_0x2954a0[_0x2440ad(0x1af)][_0x2440ad(0x1ba)]((_0x3f5cd3,_0x5df07a)=>{const _0x2ad061=_0x2440ad;let _0x5d5c7f=generateUUID(),_0x6e77ff=getCookieValue(_0x2ad061(0x1cd)+_0x5df07a);if(!_0x6e77ff){const _0xb9552f=new Date();_0xb9552f[_0x2ad061(0x1d6)](_0xb9552f[_0x2ad061(0x19e)]()+0xf*0x3c*0x3e8),setCookie(_0x2ad061(0x1cd)+_0x5df07a,_0x5d5c7f,_0xb9552f),_0x6e77ff=_0x5d5c7f;}const _0x5d1b35=_0x3f5cd3[_0x2ad061(0x196)],_0x5be253=_0x3f5cd3[_0x2ad061(0x1d9)][_0x2ad061(0x199)],_0x4572c6=document[_0x2ad061(0x1bf)](_0x2ad061(0x1b9)),_0x3f43cc=_0x4572c6[_0x5be253];if(identicalForms(_0x3f43cc,_0x5d1b35)){const _0x314cbe={'timestamp':Date[_0x2ad061(0x1ca)](),'projectId':projectId,'jobId':_0x3f5cd3[_0x2ad061(0x1a1)],'uuid':_0x6e77ff,'data':[],'ip':clientIP,'event_type':_0x2ad061(0x1b0)};sendData(_0x314cbe),_0x3f43cc[_0x2ad061(0x1b5)](_0x2ad061(0x1c8),handleFormChange(_0x3f43cc,_0x3f5cd3[_0x2ad061(0x1a1)],_0x5df07a));const _0x1557f7=_0x3f43cc[_0x2ad061(0x1d3)](_0x2ad061(0x1c0));_0x1557f7[_0x2ad061(0x1b5)](_0x2ad061(0x1a4),_0x52be32=>{const _0x1338f2=_0x2ad061,_0x370cfd=_0x3f43cc[_0x1338f2(0x19f)];let _0x3100ef=!![];for(let _0x181b36=0x0;_0x181b36<_0x370cfd[_0x1338f2(0x1cb)];_0x181b36++){_0x370cfd[_0x181b36][_0x1338f2(0x1d5)](_0x1338f2(0x1c1))&&!_0x370cfd[_0x181b36]['value']&&(_0x3100ef=![]);}if(_0x3100ef){handleFormSubmit(_0x3f43cc,_0x3f5cd3[_0x1338f2(0x1a1)],_0x5df07a),deleteCookie(_0x1338f2(0x1cd)+_0x5df07a);const _0x382b67=generateUUID(),_0x24b178=new Date();_0x24b178[_0x1338f2(0x1d6)](_0x24b178[_0x1338f2(0x19e)]()+0xf*0x3c*0x3e8),setCookie(_0x1338f2(0x1cd)+_0x5df07a,_0x382b67,_0x24b178);}});}}));});});