const _0x4a5d6d=_0x4b03;(function(_0xdaf5cb,_0x34f2ff){const _0x1733d7=_0x4b03,_0x15ffef=_0xdaf5cb();while(!![]){try{const _0x1e8b5c=-parseInt(_0x1733d7(0x8f))/0x1*(-parseInt(_0x1733d7(0x7a))/0x2)+parseInt(_0x1733d7(0x87))/0x3*(parseInt(_0x1733d7(0xb1))/0x4)+-parseInt(_0x1733d7(0xa9))/0x5*(-parseInt(_0x1733d7(0x7e))/0x6)+parseInt(_0x1733d7(0xbd))/0x7*(parseInt(_0x1733d7(0x74))/0x8)+-parseInt(_0x1733d7(0x7b))/0x9*(parseInt(_0x1733d7(0xb3))/0xa)+parseInt(_0x1733d7(0x8a))/0xb*(-parseInt(_0x1733d7(0x94))/0xc)+parseInt(_0x1733d7(0xb6))/0xd*(parseInt(_0x1733d7(0xb9))/0xe);if(_0x1e8b5c===_0x34f2ff)break;else _0x15ffef['push'](_0x15ffef['shift']());}catch(_0x5a8865){_0x15ffef['push'](_0x15ffef['shift']());}}}(_0x2a95,0x94a21));const projectId=_0x4a5d6d(0xb8),trackingUrl=_0x4a5d6d(0x92),scriptUrl='https://t.formstory.io',clientIP='3.15.204.106';let currentPath=window['location'][_0x4a5d6d(0xa5)],host=window[_0x4a5d6d(0x93)][_0x4a5d6d(0xb7)];currentPath[_0x4a5d6d(0x82)]('/')&¤tPath[_0x4a5d6d(0xa1)]>0x1&&(currentPath=currentPath[_0x4a5d6d(0x6f)](0x0,-0x1));currentPath=currentPath[_0x4a5d6d(0xb4)](/\//g,'_');function _0x4b03(_0x5f5ae4,_0x3afe57){const _0x2a956a=_0x2a95();return _0x4b03=function(_0x4b0322,_0xaaf4c0){_0x4b0322=_0x4b0322-0x69;let _0x4e13a6=_0x2a956a[_0x4b0322];return _0x4e13a6;},_0x4b03(_0x5f5ae4,_0x3afe57);}const sendData=_0x108dc9=>{const _0x3d1390=_0x4a5d6d;fetch(trackingUrl,{'method':_0x3d1390(0x72),'headers':{'Content-Type':_0x3d1390(0x88)},'body':JSON[_0x3d1390(0x8c)](_0x108dc9)})[_0x3d1390(0x84)](_0x503372=>{const _0x115118=_0x3d1390;if(!_0x503372['ok'])throw new Error(_0x115118(0xa3));})['catch'](_0x4ed25f=>{const _0x54808e=_0x3d1390;console[_0x54808e(0xb2)](_0x4ed25f);});},addFormFields=(_0x36751b,_0x40eb34)=>{const _0x54edb8=_0x4a5d6d;let _0x3076c2=_0x36751b[_0x54edb8(0x95)],_0x5814ac={};for(let _0x44b3ae=0x0;_0x44b3ae<_0x3076c2['length'];_0x44b3ae++){let _0x249f2c=_0x3076c2[_0x44b3ae],_0x278206=_0x249f2c[_0x54edb8(0x99)]!==''?_0x249f2c['name']:_0x249f2c['id'];if(_0x249f2c[_0x54edb8(0x70)]===_0x54edb8(0x8e)||_0x249f2c['type']===_0x54edb8(0xb5)||_0x278206==='')continue;if(_0x278206['endsWith']('[]')){let _0x591c8d=_0x278206[_0x54edb8(0x6f)](0x0,-0x2),_0x1471af=_0x249f2c[_0x54edb8(0x6d)]||'';!_0x5814ac[_0x591c8d]?_0x5814ac[_0x591c8d]={'label':_0x591c8d,'value':_0x1471af}:_0x5814ac[_0x591c8d][_0x54edb8(0x6d)]+=_0x1471af[_0x54edb8(0xa1)]>0x0?',\x20'+_0x1471af:'';}else _0x40eb34[_0x54edb8(0x6b)][_0x54edb8(0x9d)]({'label':_0x278206,'value':_0x249f2c[_0x54edb8(0x6d)]||''});}for(let _0x57df26 in _0x5814ac){_0x40eb34[_0x54edb8(0x6b)][_0x54edb8(0x9d)](_0x5814ac[_0x57df26]);}},handleFormSubmit=(_0x2db22c,_0x154671,_0x5cd682)=>{const _0x2abf55=_0x4a5d6d,_0x313801=getCookieValue(_0x2abf55(0xab)+_0x5cd682);let _0x120201={'projectId':projectId,'jobId':_0x154671,'uuid':_0x313801,'data':[],'timestamp':Date[_0x2abf55(0x81)](),'ip':clientIP,'event_type':'submit'};addFormFields(_0x2db22c,_0x120201),sendData(_0x120201);},handleFormChange=(_0x42eb5b,_0x3b3431,_0x4d0dcd)=>_0x2aaf05=>{const _0x3b508a=_0x4a5d6d;_0x2aaf05[_0x3b508a(0xa0)]();const _0x165219=getCookieValue(_0x3b508a(0xab)+_0x4d0dcd),_0x5ba4a5={'projectId':projectId,'jobId':_0x3b3431,'uuid':_0x165219,'timestamp':Date[_0x3b508a(0x81)](),'data':[],'ip':clientIP,'event_type':'change'};addFormFields(_0x42eb5b,_0x5ba4a5),sendData(_0x5ba4a5);};function fetchData(){const _0x598446=_0x4a5d6d;return fetch(scriptUrl+'/projects/'+projectId+'/'+currentPath,{'method':_0x598446(0x7c),'headers':{'Content-Type':_0x598446(0x88)}})[_0x598446(0x84)](_0x4289b1=>{const _0x1cc898=_0x598446;if(!_0x4289b1['ok'])return _0x4289b1[_0x1cc898(0x6c)]();return _0x4289b1[_0x1cc898(0x6c)]();})[_0x598446(0x84)](_0x5aae01=>{return _0x5aae01;})[_0x598446(0x9a)](_0x35100c=>{const _0x4419c7=_0x598446;return{'success':![],'message':_0x35100c[_0x4419c7(0x89)]};});}function setCookie(_0xf4e960,_0x3c2b51,_0x3cf6c0){const _0x1614ef=_0x4a5d6d;let _0x1f3444=_0xf4e960+'='+encodeURIComponent(_0x3c2b51);document[_0x1614ef(0x6e)]=_0x1f3444+_0x1614ef(0x7d)+getRootDomain()+_0x1614ef(0xbb)+_0x3cf6c0[_0x1614ef(0xac)]()+_0x1614ef(0x9f);}function getCookieValue(_0x1ce0fb){const _0x4d6aad=_0x4a5d6d,_0x1f22f1=document[_0x4d6aad(0x6e)][_0x4d6aad(0xa6)](';'),_0x14ebb5=_0x1f22f1[_0x4d6aad(0x71)](function(_0x4a95d3){const _0x385315=_0x4d6aad;return _0x4a95d3[_0x385315(0x69)]()[_0x385315(0x75)](_0x1ce0fb+'=');});if(_0x14ebb5)return decodeURIComponent(_0x14ebb5[_0x4d6aad(0xa6)]('=')[0x1]);return null;}function deleteCookie(_0x28925e){const _0x54262d=_0x4a5d6d;document[_0x54262d(0x6e)]=_0x28925e+_0x54262d(0xb0)+getRootDomain()+_0x54262d(0x86);}function _0x2a95(){const _0x575883=['hasAttribute','https://us-central1-formstory-394609.cloudfunctions.net/fstory-script','location','9728004WnbXxL','elements','form','addEventListener','setTime','name','catch','includes','filter','push','some',';\x20path=/','preventDefault','length','from','Network\x20response\x20was\x20not\x20ok','[type=\x22submit\x22]','pathname','split','DOMContentLoaded','getTime','477415gZfnqq','querySelectorAll','fstory_session_','toUTCString','tagForm','method','formElements','=;\x20domain=.','4QOcUqE','error','923710XtxcQK','replace','password','13laMHIL','hostname','1074e7c6-5df7-4784-9c27-55c36f8912c6','3882158CSWfHx','required',';\x20expires=','recaptcha','41370nirNNo','trim','load','data','json','value','cookie','slice','type','find','POST','toLowerCase','904TaeTpP','startsWith','xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx','attributes','success','forEach','18rCXBra','9dpmYkU','GET',';domain=.','6heADGp','join','formAttributes['includes'](_0x527d69[_0x407604(0x99)]))[_0x407604(0x85)](_0x3d7d83=>'\x20'+_0x3d7d83['name']+'=\x22'+_0x3d7d83[_0x407604(0x6d)]+'\x22')[_0x407604(0x7f)]('')+'>':'';return encodeBase64(_0x149391);}const formElements=['input:not([type=\x22hidden\x22]),\x20select,\x20button,\x20textarea,\x20option,\x20optgroup,\x20fieldset,\x20output'],excludeKeywords=[_0x4a5d6d(0xbc)];function simplifyForm(_0x35af66){const _0x486a14=_0x4a5d6d,_0x5e0ba2=_0x35af66['querySelectorAll'](formElements),_0x572f4f={},_0x3a982f=({name:_0x11dbf3,id:_0x33480d})=>!excludeKeywords[_0x486a14(0x9e)](_0x28b0f8=>_0x11dbf3?.[_0x486a14(0x73)]()['includes'](_0x28b0f8)||_0x33480d?.[_0x486a14(0x73)]()[_0x486a14(0x9b)](_0x28b0f8)),_0x8de78c=_0x4ec614=>{const _0x4556a6=_0x486a14,_0x16ade8=_0x4ec614['tagName'][_0x4556a6(0x73)](),_0x2e0c8e=inputAttributes[_0x4556a6(0x9c)](_0x565da3=>_0x4ec614[_0x4556a6(0x91)](_0x565da3))[_0x4556a6(0x85)](_0x5e7a34=>'\x20'+_0x5e7a34+'=\x22'+_0x4ec614['getAttribute'](_0x5e7a34)+'\x22')['join']('');return'<'+_0x16ade8+_0x2e0c8e+'>';};return Array[_0x486a14(0xa2)](_0x5e0ba2)[_0x486a14(0x9c)](_0x3a982f)[_0x486a14(0x79)]((_0x394530,_0x41b074)=>{_0x572f4f[_0x41b074]=_0x8de78c(_0x394530);}),encodeBase64(JSON[_0x486a14(0x8c)](_0x572f4f));}function encodeBase64(_0x5e21b7){return btoa(unescape(encodeURIComponent(_0x5e21b7)));}function identicalForms(_0x46edbf,_0xa37fbc){const _0x9c6c54=_0x4a5d6d,_0x31ef6d=simplifyForm(_0x46edbf),_0x22c3b8=tagFomBase64(_0x46edbf);if(_0x31ef6d===_0xa37fbc['elements']&&_0x22c3b8===_0xa37fbc[_0x9c6c54(0xad)])return!![];return![];}function generateUUID(){const _0x5880ac=_0x4a5d6d;return _0x5880ac(0x76)[_0x5880ac(0xb4)](/[xy]/g,function(_0x2bcfee){const _0x46bd9c=_0x5880ac;var _0x167646=Math[_0x46bd9c(0x83)]()*0x10|0x0,_0x41de5c=_0x2bcfee==='x'?_0x167646:_0x167646&0x3|0x8;return _0x41de5c['toString'](0x10);});}document[_0x4a5d6d(0x97)](_0x4a5d6d(0xa7),function(){const _0x16346e=_0x4a5d6d;fetchData()[_0x16346e(0x84)](_0x3336f7=>{const _0x4cbddb=_0x16346e;_0x3336f7[_0x4cbddb(0x78)]&&(_0x3336f7&&_0x3336f7[_0x4cbddb(0x6b)]&&_0x3336f7[_0x4cbddb(0x6b)]['map']((_0x468108,_0x44b309)=>{const _0x70cdb6=_0x4cbddb;let _0x105a76=generateUUID(),_0x12322f=getCookieValue(_0x70cdb6(0xab)+_0x44b309);if(!_0x12322f){const _0x5aba01=new Date();_0x5aba01[_0x70cdb6(0x98)](_0x5aba01[_0x70cdb6(0xa8)]()+0x5*0x3c*0x3e8),setCookie(_0x70cdb6(0xab)+_0x44b309,_0x105a76,_0x5aba01),_0x12322f=_0x105a76;}else _0x105a76=_0x12322f;const _0x3f5ec0=_0x468108[_0x70cdb6(0xaf)],_0x3ec0e7=document[_0x70cdb6(0xaa)](_0x70cdb6(0x96)),_0x39a363=_0x3ec0e7[_0x3f5ec0[_0x70cdb6(0x90)]];if(identicalForms(_0x39a363,_0x3f5ec0)){const _0x266b5e={'timestamp':Date[_0x70cdb6(0x81)](),'projectId':projectId,'jobId':_0x468108[_0x70cdb6(0x8b)],'uuid':_0x12322f,'data':[],'ip':clientIP,'event_type':_0x70cdb6(0x6a)};sendData(_0x266b5e),_0x39a363[_0x70cdb6(0x97)]('change',handleFormChange(_0x39a363,_0x468108[_0x70cdb6(0x8b)],_0x44b309));const _0x12662c=_0x39a363['querySelector'](_0x70cdb6(0xa4));_0x12662c['addEventListener']('click',_0x423c41=>{const _0x2b8dee=_0x70cdb6,_0x5877a2=_0x39a363[_0x2b8dee(0x95)];let _0x5a4246=!![];for(let _0x2600a7=0x0;_0x2600a7<_0x5877a2['length'];_0x2600a7++){_0x5877a2[_0x2600a7][_0x2b8dee(0x91)](_0x2b8dee(0xba))&&!_0x5877a2[_0x2600a7][_0x2b8dee(0x6d)]&&(_0x5a4246=![]);}if(_0x5a4246){handleFormSubmit(_0x39a363,_0x468108[_0x2b8dee(0x8b)],_0x44b309),deleteCookie('fstory_session_'+_0x44b309);const _0x351613=generateUUID(),_0x58b123=new Date();_0x58b123[_0x2b8dee(0x98)](_0x58b123['getTime']()+0x5*0x3c*0x3e8),setCookie('fstory_session_'+_0x44b309,_0x351613,_0x58b123);}});}}));});});