const _0x3a19e5=_0x3b36;function _0x3b36(_0x3f047d,_0x5eb601){const _0x5ae1f4=_0x5ae1();return _0x3b36=function(_0x3b36b0,_0x421e50){_0x3b36b0=_0x3b36b0-0x177;let _0x1657ce=_0x5ae1f4[_0x3b36b0];return _0x1657ce;},_0x3b36(_0x3f047d,_0x5eb601);}(function(_0x2149d4,_0x128423){const _0x3a3728=_0x3b36,_0x3dd97f=_0x2149d4();while(!![]){try{const _0x5d6db6=-parseInt(_0x3a3728(0x1b3))/0x1*(-parseInt(_0x3a3728(0x183))/0x2)+parseInt(_0x3a3728(0x18c))/0x3*(-parseInt(_0x3a3728(0x19a))/0x4)+-parseInt(_0x3a3728(0x18a))/0x5*(parseInt(_0x3a3728(0x1a3))/0x6)+-parseInt(_0x3a3728(0x18b))/0x7+parseInt(_0x3a3728(0x1af))/0x8*(parseInt(_0x3a3728(0x1a7))/0x9)+-parseInt(_0x3a3728(0x177))/0xa+parseInt(_0x3a3728(0x17e))/0xb;if(_0x5d6db6===_0x128423)break;else _0x3dd97f['push'](_0x3dd97f['shift']());}catch(_0x9db0d3){_0x3dd97f['push'](_0x3dd97f['shift']());}}}(_0x5ae1,0x6fa0a));const projectId=_0x3a19e5(0x17f),trackingUrl=_0x3a19e5(0x19e),scriptUrl='https://t.formstory.io';let uuid=generateUUID();const clientIP='3.145.164.47';let currentPath=window['location'][_0x3a19e5(0x1a8)],host=window[_0x3a19e5(0x189)][_0x3a19e5(0x1c0)];currentPath[_0x3a19e5(0x17c)]('/')&¤tPath[_0x3a19e5(0x1b2)]>0x1&&(currentPath=currentPath[_0x3a19e5(0x1a6)](0x0,-0x1));currentPath=currentPath[_0x3a19e5(0x1b9)](/\//g,'_');let jobId='';const sendData=_0x3c6bde=>{const _0x3e4351=_0x3a19e5;fetch(trackingUrl,{'method':_0x3e4351(0x19d),'headers':{'Content-Type':_0x3e4351(0x1b0)},'body':JSON[_0x3e4351(0x1b7)](_0x3c6bde)})[_0x3e4351(0x1bd)](_0x1867d0=>{if(!_0x1867d0['ok'])throw new Error('Network\x20response\x20was\x20not\x20ok');})[_0x3e4351(0x192)](_0x452d51=>{const _0x4ebcfc=_0x3e4351;console[_0x4ebcfc(0x1c3)](_0x452d51);});},addFormFields=(_0x2d26fd,_0x5bcdd4)=>{const _0x522daa=_0x3a19e5;let _0x3c9470=_0x2d26fd['elements'],_0x345921={};for(let _0x2f884a=0x0;_0x2f884a<_0x3c9470['length'];_0x2f884a++){let _0x56a59c=_0x3c9470[_0x2f884a],_0x263359=_0x56a59c[_0x522daa(0x191)]!==''?_0x56a59c[_0x522daa(0x191)]:_0x56a59c['id'];if(_0x56a59c[_0x522daa(0x17d)]===_0x522daa(0x1b8)||_0x56a59c[_0x522daa(0x17d)]===_0x522daa(0x1a5)||_0x263359==='')continue;if(_0x263359[_0x522daa(0x17c)]('[]')){let _0x2a388c=_0x263359[_0x522daa(0x1a6)](0x0,-0x2),_0x37c3a1=_0x56a59c[_0x522daa(0x180)]||'';!_0x345921[_0x2a388c]?_0x345921[_0x2a388c]={'label':_0x2a388c,'value':_0x37c3a1}:_0x345921[_0x2a388c][_0x522daa(0x180)]+=_0x37c3a1['length']>0x0?',\x20'+_0x37c3a1:'';}else _0x5bcdd4['data']['push']({'label':_0x263359,'value':_0x56a59c['value']||''});}for(let _0x7d144b in _0x345921){_0x5bcdd4[_0x522daa(0x19b)][_0x522daa(0x198)](_0x345921[_0x7d144b]);}},handleFormSubmit=_0x1e1a0f=>{const _0x123d85=_0x3a19e5;let _0x3cbd99={'projectId':projectId,'jobId':jobId,'uuid':uuid,'data':[],'timestamp':Date[_0x123d85(0x1b6)](),'ip':clientIP,'event_type':_0x123d85(0x182)};addFormFields(_0x1e1a0f,_0x3cbd99),sendData(_0x3cbd99);},handleFormChange=_0x18d876=>_0x231750=>{const _0x55185f=_0x3a19e5;_0x231750[_0x55185f(0x195)]();const _0x48f181={'projectId':projectId,'jobId':jobId,'uuid':uuid,'timestamp':Date[_0x55185f(0x1b6)](),'data':[],'ip':clientIP,'event_type':_0x55185f(0x1a1)};addFormFields(_0x18d876,_0x48f181),sendData(_0x48f181);};function fetchData(){const _0x9f3754=_0x3a19e5;return fetch(scriptUrl+'/projects/'+projectId+'/'+currentPath,{'method':_0x9f3754(0x18d),'headers':{'Content-Type':_0x9f3754(0x1b0)}})[_0x9f3754(0x1bd)](_0x3cb141=>{const _0x57c2b9=_0x9f3754;if(!_0x3cb141['ok'])return _0x3cb141[_0x57c2b9(0x196)]();return _0x3cb141[_0x57c2b9(0x196)]();})[_0x9f3754(0x1bd)](_0x10a5ab=>{return _0x10a5ab;})[_0x9f3754(0x192)](_0x4142af=>{const _0x3fe1a6=_0x9f3754;return{'success':![],'message':_0x4142af[_0x3fe1a6(0x1c2)]};});}function setCookie(_0x51fbd1,_0xa2821b,_0x271cef){const _0x53504c=_0x3a19e5;let _0x19610a=_0x51fbd1+'='+encodeURIComponent(_0xa2821b);document[_0x53504c(0x184)]=_0x19610a+_0x53504c(0x1b1)+getRootDomain()+';\x20expires='+_0x271cef[_0x53504c(0x1c1)]()+_0x53504c(0x19f);}function getCookieValue(_0x59d085){const _0x3514a2=_0x3a19e5,_0x38245f=document['cookie'][_0x3514a2(0x1aa)](';'),_0x18dca5=_0x38245f['find'](function(_0xe5ba74){const _0x4b69f7=_0x3514a2;return _0xe5ba74[_0x4b69f7(0x178)]()[_0x4b69f7(0x17b)](_0x59d085+'=');});if(_0x18dca5)return decodeURIComponent(_0x18dca5[_0x3514a2(0x1aa)]('=')[0x1]);return null;}function deleteCookie(_0x2931f6){const _0x2fe855=_0x3a19e5;document[_0x2fe855(0x184)]=_0x2931f6+_0x2fe855(0x1ae)+getRootDomain()+_0x2fe855(0x1b5);}function getRootDomain(){const _0x1a216a=_0x3a19e5,_0x571079=host['split']('.')[_0x1a216a(0x185)]();return _0x571079[0x1]+'.'+_0x571079[0x0];}const formAttributes=[_0x3a19e5(0x1a2),_0x3a19e5(0x1ab)],inputAttributes=[_0x3a19e5(0x191),'type'];function tagFomBase64(_0x583c2e){const _0x4e4b11=_0x3a19e5,_0x252450=_0x583c2e?'formAttributes[_0x4e4b11(0x18f)](_0xda28c4[_0x4e4b11(0x191)]))[_0x4e4b11(0x1a4)](_0x21ddc6=>'\x20'+_0x21ddc6[_0x4e4b11(0x191)]+'=\x22'+_0x21ddc6['value']+'\x22')['join']('')+'>':'';return encodeBase64(_0x252450);}const formElements=[_0x3a19e5(0x1bf)],excludeKeywords=[_0x3a19e5(0x1a0)];function simplifyForm(_0x169e4d){const _0x137965=_0x3a19e5,_0x4ad8b2=_0x169e4d['querySelectorAll'](formElements),_0x31e5d7={},_0x220835=({name:_0x579641,id:_0x10bb7c})=>!excludeKeywords['some'](_0x433186=>_0x579641?.[_0x137965(0x187)]()['includes'](_0x433186)||_0x10bb7c?.[_0x137965(0x187)]()[_0x137965(0x18f)](_0x433186)),_0x38d7b8=_0x338e68=>{const _0x2fad4e=_0x137965,_0x28939b=_0x338e68[_0x2fad4e(0x179)][_0x2fad4e(0x187)](),_0x3bca9b=inputAttributes[_0x2fad4e(0x1ad)](_0x449ef0=>_0x338e68['hasAttribute'](_0x449ef0))[_0x2fad4e(0x1a4)](_0x24ae90=>'\x20'+_0x24ae90+'=\x22'+_0x338e68['getAttribute'](_0x24ae90)+'\x22')[_0x2fad4e(0x1a9)]('');return'<'+_0x28939b+_0x3bca9b+'>';};return Array[_0x137965(0x1ac)](_0x4ad8b2)[_0x137965(0x1ad)](_0x220835)[_0x137965(0x1bb)]((_0x59ba14,_0x1ee9cf)=>{_0x31e5d7[_0x1ee9cf]=_0x38d7b8(_0x59ba14);}),encodeBase64(JSON[_0x137965(0x1b7)](_0x31e5d7));}function encodeBase64(_0x14e97a){return btoa(unescape(encodeURIComponent(_0x14e97a)));}function identicalForms(_0x46cb3b,_0x25aeaf){const _0x54bf25=simplifyForm(_0x46cb3b),_0x50c481=tagFomBase64(_0x46cb3b);if(_0x54bf25===_0x25aeaf['elements']&&_0x50c481===_0x25aeaf['tagForm'])return!![];return![];}function generateUUID(){const _0xc7cea4=_0x3a19e5;return'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'[_0xc7cea4(0x1b9)](/[xy]/g,function(_0x357ad4){const _0x1149ca=_0xc7cea4;var _0x536fce=Math[_0x1149ca(0x194)]()*0x10|0x0,_0x26a81e=_0x357ad4==='x'?_0x536fce:_0x536fce&0x3|0x8;return _0x26a81e[_0x1149ca(0x1be)](0x10);});}document[_0x3a19e5(0x19c)]('DOMContentLoaded',function(){fetchData()['then'](_0x17b484=>{const _0x4329a1=_0x3b36;if(_0x17b484[_0x4329a1(0x1c4)]){if(_0x17b484&&_0x17b484['data']){let _0x382fae=getCookieValue('fstory_session');jobId=_0x17b484['data'][_0x4329a1(0x17a)];if(!_0x382fae){const _0x5617e7=new Date();_0x5617e7[_0x4329a1(0x181)](_0x5617e7['getTime']()+0x5*0x3c*0x3e8),setCookie(_0x4329a1(0x188),uuid,_0x5617e7),_0x382fae=uuid;}else uuid=_0x382fae;const _0x4a4347=_0x17b484['data']['formElements'],_0x27f7d7=document['querySelectorAll'](_0x4329a1(0x1b4)),_0x3eb585=_0x27f7d7[_0x4a4347[_0x4329a1(0x18e)]];if(identicalForms(_0x3eb585,_0x4a4347)){const _0x20b5ec={'timestamp':Date['now'](),'projectId':projectId,'jobId':jobId,'uuid':_0x382fae,'data':[],'ip':clientIP,'event_type':_0x4329a1(0x199)};sendData(_0x20b5ec),_0x3eb585[_0x4329a1(0x19c)](_0x4329a1(0x1a1),handleFormChange(_0x3eb585));const _0x4b1ea1=_0x3eb585[_0x4329a1(0x1ba)](_0x4329a1(0x186));_0x4b1ea1[_0x4329a1(0x19c)](_0x4329a1(0x190),_0x4e2a91=>{const _0x3c5d5d=_0x4329a1,_0x36604f=_0x3eb585[_0x3c5d5d(0x193)];let _0x364fa7=!![];for(let _0x96e421=0x0;_0x96e421<_0x36604f[_0x3c5d5d(0x1b2)];_0x96e421++){_0x36604f[_0x96e421][_0x3c5d5d(0x1c6)](_0x3c5d5d(0x1bc))&&!_0x36604f[_0x96e421][_0x3c5d5d(0x180)]&&(_0x364fa7=![]);}if(_0x364fa7){deleteCookie(_0x3c5d5d(0x188)),handleFormSubmit(_0x3eb585),uuid=generateUUID();const _0x3735ac=new Date();_0x3735ac['setTime'](_0x3735ac[_0x3c5d5d(0x1c5)]()+0x5*0x3c*0x3e8),setCookie(_0x3c5d5d(0x188),uuid,_0x3735ac),_0x382fae=uuid;}});}}}});});function _0x5ae1(){const _0x22c626=['hasAttribute','5034300MrJyXF','trim','tagName','uuid','startsWith','endsWith','type','18166819YhrzBu','6b91c494-e697-4823-a6f5-b5415381e102','value','setTime','submit','6968VGlOdO','cookie','reverse','[type=\x22submit\x22]','toLowerCase','fstory_session','location','375aIXpzm','1477868BjJoPJ','1185339AILlfd','GET','index','includes','click','name','catch','elements','random','preventDefault','json','attributes','push','load','8ytZUny','data','addEventListener','POST','https://us-central1-formstory-394609.cloudfunctions.net/fstory-script',';\x20path=/','recaptcha','change','action','14334txKnaR','map','password','slice','36LJKHhA','pathname','join','split','method','from','filter','=;\x20domain=.','575160DHFQLe','application/json',';domain=.','length','58UivFdm','form',';\x20expires=Thu,\x2001\x20Jan\x201970\x2000:00:00\x20UTC;\x20path=/;','now','stringify','hidden','replace','querySelector','forEach','required','then','toString','input:not([type=\x22hidden\x22]),\x20select,\x20button,\x20textarea,\x20option,\x20optgroup,\x20fieldset,\x20output','hostname','toUTCString','message','error','success','getTime'];_0x5ae1=function(){return _0x22c626;};return _0x5ae1();}