const _0x223a12=_0x5175;(function(_0x1aee6d,_0x18812f){const _0x43f8b5=_0x5175,_0x1e05f3=_0x1aee6d();while(!![]){try{const _0xa6c592=-parseInt(_0x43f8b5(0x183))/0x1+-parseInt(_0x43f8b5(0x166))/0x2+-parseInt(_0x43f8b5(0x17d))/0x3+-parseInt(_0x43f8b5(0x16f))/0x4*(parseInt(_0x43f8b5(0x17f))/0x5)+-parseInt(_0x43f8b5(0x17b))/0x6*(parseInt(_0x43f8b5(0x195))/0x7)+parseInt(_0x43f8b5(0x165))/0x8*(-parseInt(_0x43f8b5(0x164))/0x9)+parseInt(_0x43f8b5(0x173))/0xa;if(_0xa6c592===_0x18812f)break;else _0x1e05f3['push'](_0x1e05f3['shift']());}catch(_0x28a0c6){_0x1e05f3['push'](_0x1e05f3['shift']());}}}(_0x3261,0xba458));const projectId='a55dbe3e-20b9-4dc2-9551-e9c2856c797e',trackingUrl='https://us-central1-formstory-394609.cloudfunctions.net/fstory-script',scriptUrl=_0x223a12(0x15e),clientIP=_0x223a12(0x16b);let currentPath=window[_0x223a12(0x160)][_0x223a12(0x19b)],host=window[_0x223a12(0x160)][_0x223a12(0x16d)];currentPath[_0x223a12(0x1a6)]('/')&¤tPath[_0x223a12(0x192)]>0x1&&(currentPath=currentPath['slice'](0x0,-0x1));currentPath=currentPath['replace'](/\//g,'_');const sendData=_0x25ac69=>{const _0x5be9fc=_0x223a12;fetch(trackingUrl,{'method':_0x5be9fc(0x177),'headers':{'Content-Type':_0x5be9fc(0x198)},'body':JSON[_0x5be9fc(0x193)](_0x25ac69)})['then'](_0x4d9878=>{if(!_0x4d9878['ok'])throw new Error('Network\x20response\x20was\x20not\x20ok');})[_0x5be9fc(0x191)](_0x4eb3cc=>{const _0x4d456b=_0x5be9fc;console[_0x4d456b(0x16c)](_0x4eb3cc);});},addFormFields=(_0x585703,_0x328f32)=>{const _0x1a4adb=_0x223a12;let _0x6a574c=_0x585703[_0x1a4adb(0x179)],_0x421af1={};for(let _0x2149d9=0x0;_0x2149d9<_0x6a574c[_0x1a4adb(0x192)];_0x2149d9++){let _0x2b0498=_0x6a574c[_0x2149d9],_0x1a5cf9=_0x2b0498[_0x1a4adb(0x184)]!==''?_0x2b0498[_0x1a4adb(0x184)]:_0x2b0498['id'];if(_0x2b0498[_0x1a4adb(0x172)]==='hidden'||_0x2b0498[_0x1a4adb(0x172)]==='password'||_0x1a5cf9==='')continue;if(_0x1a5cf9[_0x1a4adb(0x1a6)]('[]')){let _0x1819b8=_0x1a5cf9['slice'](0x0,-0x2),_0x485964=_0x2b0498['value']||'';!_0x421af1[_0x1819b8]?_0x421af1[_0x1819b8]={'label':_0x1819b8,'value':_0x485964}:_0x421af1[_0x1819b8][_0x1a4adb(0x1a2)]+=_0x485964[_0x1a4adb(0x192)]>0x0?',\x20'+_0x485964:'';}else _0x328f32[_0x1a4adb(0x188)][_0x1a4adb(0x185)]({'label':_0x1a5cf9,'value':_0x2b0498[_0x1a4adb(0x1a2)]||''});}for(let _0x4d4bdf in _0x421af1){_0x328f32[_0x1a4adb(0x188)]['push'](_0x421af1[_0x4d4bdf]);}},handleFormSubmit=(_0x3de567,_0x285dea,_0x459d43)=>{const _0x2f8464=_0x223a12;let _0x56f31a={'projectId':projectId,'jobId':_0x285dea,'uuid':_0x459d43,'data':[],'timestamp':Date['now'](),'ip':clientIP,'event_type':_0x2f8464(0x167)};addFormFields(_0x3de567,_0x56f31a),sendData(_0x56f31a);},handleFormChange=(_0x4a7bbf,_0x581e22,_0x2fad39)=>_0x3d6107=>{const _0x45dda9=_0x223a12;_0x3d6107['preventDefault']();const _0x57aa1a={'projectId':projectId,'jobId':_0x581e22,'uuid':_0x2fad39,'timestamp':Date['now'](),'data':[],'ip':clientIP,'event_type':_0x45dda9(0x181)};addFormFields(_0x4a7bbf,_0x57aa1a),sendData(_0x57aa1a);};function _0x3261(){const _0x367d4f=['2638012SoFtbr','submit','toLowerCase','method','attributes','18.220.81.170','error','hostname','filter','314516yFFRTS','hasAttribute','success','type','52951560skdEqH','DOMContentLoaded','form','find','POST','tagName','elements','reverse','6522TQDIVE',';domain=.','2477607UeWfmH','join','25wjrAIe','then','change','forEach','1024730ahQsQC','name','push','includes','input:not([type=\x22hidden\x22]),\x20select,\x20button,\x20textarea,\x20option,\x20optgroup,\x20fieldset,\x20output','data','message','addEventListener','=;\x20domain=.','click','index',';\x20expires=Thu,\x2001\x20Jan\x201970\x2000:00:00\x20UTC;\x20path=/;','querySelector','uuid','catch','length','stringify','fstory_session_','4977NheFcz','/projects/','getTime','application/json','cookie','getAttribute','pathname','recaptcha','setTime','xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx','json','load','[type=\x22submit\x22]','value','random','querySelectorAll','split','endsWith','GET','{const _0x425f55=_0x2cc115;if(!_0x1fd860['ok'])return _0x1fd860[_0x425f55(0x19f)]();return _0x1fd860[_0x425f55(0x19f)]();})[_0x2cc115(0x180)](_0x3fd677=>{return _0x3fd677;})[_0x2cc115(0x191)](_0xd9a44c=>{const _0x3d4fb0=_0x2cc115;return{'success':![],'message':_0xd9a44c[_0x3d4fb0(0x189)]};});}function setCookie(_0x682f89,_0x3e2a1e,_0x424d34){const _0x2c3e0c=_0x223a12;let _0x4d6df=_0x682f89+'='+encodeURIComponent(_0x3e2a1e);document[_0x2c3e0c(0x199)]=_0x4d6df+_0x2c3e0c(0x17c)+getRootDomain()+_0x2c3e0c(0x161)+_0x424d34['toUTCString']()+';\x20path=/';}function getCookieValue(_0x4622e7){const _0x1e90ed=_0x223a12,_0x4da3d8=document['cookie'][_0x1e90ed(0x1a5)](';'),_0x537970=_0x4da3d8[_0x1e90ed(0x176)](function(_0x2ca2ba){return _0x2ca2ba['trim']()['startsWith'](_0x4622e7+'=');});if(_0x537970)return decodeURIComponent(_0x537970['split']('=')[0x1]);return null;}function deleteCookie(_0x41da0c){const _0xf58493=_0x223a12;document[_0xf58493(0x199)]=_0x41da0c+_0xf58493(0x18b)+getRootDomain()+_0xf58493(0x18e);}function getRootDomain(){const _0x250537=_0x223a12,_0x5c0c3d=host['split']('.')[_0x250537(0x17a)]();return _0x5c0c3d[0x1]+'.'+_0x5c0c3d[0x0];}const formAttributes=['action',_0x223a12(0x169)],inputAttributes=['name',_0x223a12(0x172)];function tagFomBase64(_0x45a8ef){const _0x591f17=_0x223a12,_0x5de936=_0x45a8ef?_0x591f17(0x1a8)+Array[_0x591f17(0x163)](_0x45a8ef[_0x591f17(0x16a)])[_0x591f17(0x16e)](_0x5c4324=>formAttributes[_0x591f17(0x186)](_0x5c4324[_0x591f17(0x184)]))[_0x591f17(0x162)](_0x142a8d=>'\x20'+_0x142a8d[_0x591f17(0x184)]+'=\x22'+_0x142a8d[_0x591f17(0x1a2)]+'\x22')[_0x591f17(0x17e)]('')+'>':'';return encodeBase64(_0x5de936);}const formElements=[_0x223a12(0x187)],excludeKeywords=[_0x223a12(0x19c)];function simplifyForm(_0x4087ac){const _0x4c870a=_0x223a12,_0x436226=_0x4087ac['querySelectorAll'](formElements),_0x53c06a={},_0x199e70=({name:_0x25b980,id:_0x58b8ba})=>!excludeKeywords[_0x4c870a(0x15f)](_0x58ac62=>_0x25b980?.[_0x4c870a(0x168)]()['includes'](_0x58ac62)||_0x58b8ba?.['toLowerCase']()['includes'](_0x58ac62)),_0x10700b=_0x250b7e=>{const _0x4cb4e1=_0x4c870a,_0x4429c4=_0x250b7e[_0x4cb4e1(0x178)][_0x4cb4e1(0x168)](),_0x476157=inputAttributes['filter'](_0x4607fb=>_0x250b7e[_0x4cb4e1(0x170)](_0x4607fb))[_0x4cb4e1(0x162)](_0x2c3070=>'\x20'+_0x2c3070+'=\x22'+_0x250b7e[_0x4cb4e1(0x19a)](_0x2c3070)+'\x22')['join']('');return'<'+_0x4429c4+_0x476157+'>';};return Array['from'](_0x436226)[_0x4c870a(0x16e)](_0x199e70)[_0x4c870a(0x182)]((_0x4e60bb,_0x379e69)=>{_0x53c06a[_0x379e69]=_0x10700b(_0x4e60bb);}),encodeBase64(JSON[_0x4c870a(0x193)](_0x53c06a));}function encodeBase64(_0x5407fc){return btoa(unescape(encodeURIComponent(_0x5407fc)));}function identicalForms(_0x4b736c,_0x3542a7){const _0x1af0b0=simplifyForm(_0x4b736c),_0x15f2be=tagFomBase64(_0x4b736c);if(_0x1af0b0===_0x3542a7['elements']&&_0x15f2be===_0x3542a7['tagForm'])return!![];return![];}function _0x5175(_0x804777,_0x4f994f){const _0x3261bc=_0x3261();return _0x5175=function(_0x5175fc,_0x465f89){_0x5175fc=_0x5175fc-0x15e;let _0x435a8d=_0x3261bc[_0x5175fc];return _0x435a8d;},_0x5175(_0x804777,_0x4f994f);}function generateUUID(){const _0x18fc9f=_0x223a12;return _0x18fc9f(0x19e)['replace'](/[xy]/g,function(_0x294f5e){const _0xb6d07b=_0x18fc9f;var _0x40856d=Math[_0xb6d07b(0x1a3)]()*0x10|0x0,_0x576477=_0x294f5e==='x'?_0x40856d:_0x40856d&0x3|0x8;return _0x576477['toString'](0x10);});}document[_0x223a12(0x18a)](_0x223a12(0x174),function(){const _0x54556e=_0x223a12;fetchData()[_0x54556e(0x180)](_0xb5b42f=>{const _0xd4bbbf=_0x54556e;_0xb5b42f[_0xd4bbbf(0x171)]&&(_0xb5b42f&&_0xb5b42f[_0xd4bbbf(0x188)]&&_0xb5b42f['data']['map']((_0x4f558c,_0x5ac41d)=>{const _0x25bb5f=_0xd4bbbf;let _0x502aec=generateUUID(),_0x20f68e=getCookieValue('fstory_session_'+_0x5ac41d);if(!_0x20f68e){const _0x4cf2cf=new Date();_0x4cf2cf[_0x25bb5f(0x19d)](_0x4cf2cf[_0x25bb5f(0x197)]()+0x5*0x3c*0x3e8),setCookie(_0x25bb5f(0x194)+_0x5ac41d,_0x502aec,_0x4cf2cf),_0x20f68e=_0x502aec;}else _0x502aec=_0x20f68e;const _0x477c3a=_0x4f558c['formElements'],_0x1fd538=document[_0x25bb5f(0x1a4)](_0x25bb5f(0x175)),_0x2edc2b=_0x1fd538[_0x477c3a[_0x25bb5f(0x18d)]];if(identicalForms(_0x2edc2b,_0x477c3a)){const _0x4f76ad={'timestamp':Date['now'](),'projectId':projectId,'jobId':_0x4f558c['uuid'],'uuid':_0x20f68e,'data':[],'ip':clientIP,'event_type':_0x25bb5f(0x1a0)};sendData(_0x4f76ad),_0x2edc2b[_0x25bb5f(0x18a)](_0x25bb5f(0x181),handleFormChange(_0x2edc2b,_0x4f558c['uuid'],_0x502aec));const _0x27ac9c=_0x2edc2b[_0x25bb5f(0x18f)](_0x25bb5f(0x1a1));_0x27ac9c[_0x25bb5f(0x18a)](_0x25bb5f(0x18c),_0xf13e84=>{const _0x6ed545=_0x25bb5f,_0x1c1ab1=_0x2edc2b[_0x6ed545(0x179)];let _0x49ecc2=!![];for(let _0x4c1423=0x0;_0x4c1423<_0x1c1ab1[_0x6ed545(0x192)];_0x4c1423++){_0x1c1ab1[_0x4c1423]['hasAttribute']('required')&&!_0x1c1ab1[_0x4c1423]['value']&&(_0x49ecc2=![]);}if(_0x49ecc2){deleteCookie(_0x6ed545(0x194)+_0x5ac41d),handleFormSubmit(_0x2edc2b,_0x4f558c[_0x6ed545(0x190)],_0x502aec),_0x502aec=generateUUID();const _0x576d72=new Date();_0x576d72['setTime'](_0x576d72[_0x6ed545(0x197)]()+0x5*0x3c*0x3e8),setCookie(_0x6ed545(0x194)+_0x5ac41d,_0x502aec,_0x576d72),_0x20f68e=_0x502aec;}});}}));});});