const _0x5535ab=_0x564c;(function(_0x44bed9,_0x4d25f1){const _0x574f61=_0x564c,_0x499d19=_0x44bed9();while(!![]){try{const _0x445b98=parseInt(_0x574f61(0xe4))/0x1*(parseInt(_0x574f61(0xda))/0x2)+-parseInt(_0x574f61(0xb4))/0x3*(-parseInt(_0x574f61(0xa1))/0x4)+parseInt(_0x574f61(0xbf))/0x5*(-parseInt(_0x574f61(0xb7))/0x6)+parseInt(_0x574f61(0xac))/0x7+-parseInt(_0x574f61(0xc1))/0x8*(parseInt(_0x574f61(0xba))/0x9)+-parseInt(_0x574f61(0xc0))/0xa+parseInt(_0x574f61(0xc8))/0xb*(parseInt(_0x574f61(0xd2))/0xc);if(_0x445b98===_0x4d25f1)break;else _0x499d19['push'](_0x499d19['shift']());}catch(_0x2ca6f8){_0x499d19['push'](_0x499d19['shift']());}}}(_0x1ca0,0x6e769));const projectId=_0x5535ab(0xbd),trackingUrl=_0x5535ab(0xa9),scriptUrl=_0x5535ab(0xf3),clientIP=_0x5535ab(0xe5);let currentPath=window['location']['pathname'],host=window['location'][_0x5535ab(0xca)];currentPath[_0x5535ab(0xde)]('/')&¤tPath[_0x5535ab(0x9f)]>0x1&&(currentPath=currentPath[_0x5535ab(0xc3)](0x0,-0x1));currentPath=currentPath[_0x5535ab(0xc4)](/\//g,'_');const sendData=_0x592410=>{const _0x88fb99=_0x5535ab;fetch(trackingUrl,{'method':_0x88fb99(0xf1),'headers':{'Content-Type':_0x88fb99(0xa5)},'body':JSON['stringify'](_0x592410)})[_0x88fb99(0xd0)](_0x51c7a0=>{if(!_0x51c7a0['ok'])throw new Error('Network\x20response\x20was\x20not\x20ok');})[_0x88fb99(0xe3)](_0x322dd3=>{const _0x1667fb=_0x88fb99;console[_0x1667fb(0xc2)](_0x322dd3);});},addFormFields=(_0x1d6c8e,_0xda5d45)=>{const _0x49a3c1=_0x5535ab;let _0x4b2238=_0x1d6c8e[_0x49a3c1(0xc5)],_0x4015d1={};for(let _0x2874f1=0x0;_0x2874f1<_0x4b2238[_0x49a3c1(0x9f)];_0x2874f1++){let _0x5e4eb2=_0x4b2238[_0x2874f1],_0x6b32e3=_0x5e4eb2[_0x49a3c1(0xb0)]!==''?_0x5e4eb2['name']:_0x5e4eb2['id'];if(_0x5e4eb2[_0x49a3c1(0xb5)]===_0x49a3c1(0xa7)||_0x5e4eb2['type']===_0x49a3c1(0xd6)||_0x6b32e3==='')continue;if(_0x6b32e3[_0x49a3c1(0xde)]('[]')){let _0x1ae453=_0x6b32e3[_0x49a3c1(0xc3)](0x0,-0x2),_0x49499a=_0x5e4eb2['value']||'';!_0x4015d1[_0x1ae453]?_0x4015d1[_0x1ae453]={'label':_0x1ae453,'value':_0x49499a}:_0x4015d1[_0x1ae453][_0x49a3c1(0xe0)]+=_0x49499a[_0x49a3c1(0x9f)]>0x0?',\x20'+_0x49499a:'';}else _0xda5d45[_0x49a3c1(0xcd)][_0x49a3c1(0xe1)]({'label':_0x6b32e3,'value':_0x5e4eb2[_0x49a3c1(0xe0)]||''});}for(let _0xe1c467 in _0x4015d1){_0xda5d45[_0x49a3c1(0xcd)][_0x49a3c1(0xe1)](_0x4015d1[_0xe1c467]);}},handleFormSubmit=(_0xd07dbc,_0x190680,_0x3a3bd8)=>{const _0xb062f4=_0x5535ab,_0x764403=getCookieValue('fstory_session_'+_0x3a3bd8);let _0x186223={'projectId':projectId,'jobId':_0x190680,'uuid':_0x764403,'data':[],'timestamp':Date[_0xb062f4(0xef)](),'ip':clientIP,'event_type':_0xb062f4(0xbe)};addFormFields(_0xd07dbc,_0x186223),sendData(_0x186223);},handleFormChange=(_0x16c737,_0x560ed9,_0x289e21)=>_0x58c546=>{const _0x1ee289=_0x5535ab;_0x58c546[_0x1ee289(0xd9)]();const _0x11cf04=getCookieValue(_0x1ee289(0xec)+_0x289e21),_0x1f15b8={'projectId':projectId,'jobId':_0x560ed9,'uuid':_0x11cf04,'timestamp':Date['now'](),'data':[],'ip':clientIP,'event_type':_0x1ee289(0xeb)};addFormFields(_0x16c737,_0x1f15b8),sendData(_0x1f15b8);};function fetchData(){const _0x3fd0c4=_0x5535ab;return fetch(scriptUrl+_0x3fd0c4(0xc6)+projectId+'/'+currentPath,{'method':_0x3fd0c4(0xdc),'headers':{'Content-Type':_0x3fd0c4(0xa5)}})[_0x3fd0c4(0xd0)](_0x113398=>{const _0x2272fa=_0x3fd0c4;if(!_0x113398['ok'])return _0x113398[_0x2272fa(0xd7)]();return _0x113398[_0x2272fa(0xd7)]();})[_0x3fd0c4(0xd0)](_0x3b3d95=>{return _0x3b3d95;})[_0x3fd0c4(0xe3)](_0x347aff=>{return{'success':![],'message':_0x347aff['message']};});}function setCookie(_0x1ed5cc,_0x3f587c,_0x31c497){const _0x38bb91=_0x5535ab;let _0x662221=_0x1ed5cc+'='+encodeURIComponent(_0x3f587c);document[_0x38bb91(0xb9)]=_0x662221+_0x38bb91(0xb6)+getRootDomain()+_0x38bb91(0xed)+_0x31c497[_0x38bb91(0xd5)]()+_0x38bb91(0xd4);}function getCookieValue(_0x519406){const _0x570807=_0x5535ab,_0x393def=document[_0x570807(0xb9)][_0x570807(0xae)](';'),_0x258cb6=_0x393def['find'](function(_0x5471bf){const _0xf49a4=_0x570807;return _0x5471bf[_0xf49a4(0xa2)]()[_0xf49a4(0xdd)](_0x519406+'=');});if(_0x258cb6)return decodeURIComponent(_0x258cb6[_0x570807(0xae)]('=')[0x1]);return null;}function deleteCookie(_0x52f1f9){const _0x169de2=_0x5535ab;document[_0x169de2(0xb9)]=_0x52f1f9+_0x169de2(0xe2)+getRootDomain()+';\x20expires=Thu,\x2001\x20Jan\x201970\x2000:00:00\x20UTC;\x20path=/;';}function getRootDomain(){const _0x1baac1=_0x5535ab,_0x4c0b9d=host[_0x1baac1(0xae)]('.')[_0x1baac1(0xe6)]();return _0x4c0b9d[0x1]+'.'+_0x4c0b9d[0x0];}const formAttributes=[_0x5535ab(0xc9),_0x5535ab(0x9e)],inputAttributes=[_0x5535ab(0xb0),_0x5535ab(0xb5)];function tagFomBase64(_0x214c18){const _0x2b40c7=_0x5535ab,_0x248e2d=_0x214c18?_0x2b40c7(0xb1)+Array['from'](_0x214c18[_0x2b40c7(0xce)])[_0x2b40c7(0xb8)](_0x4d5ab9=>formAttributes[_0x2b40c7(0xad)](_0x4d5ab9[_0x2b40c7(0xb0)]))[_0x2b40c7(0xbb)](_0x423920=>'\x20'+_0x423920[_0x2b40c7(0xb0)]+'=\x22'+_0x423920['value']+'\x22')[_0x2b40c7(0xa3)]('')+'>':'';return encodeBase64(_0x248e2d);}function _0x1ca0(){const _0x5322be=['data','attributes','tagName','then','input:not([type=\x22hidden\x22]),\x20select,\x20button,\x20textarea,\x20option,\x20optgroup,\x20fieldset,\x20output','60cKsqmE','toString',';\x20path=/','toUTCString','password','json','xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx','preventDefault','4294VIpTDY','some','GET','startsWith','endsWith','setTime','value','push','=;\x20domain=.','catch','276epRuiK','216.73.216.115','reverse','from','uuid','[type=\x22submit\x22]','hasAttribute','change','fstory_session_',';\x20expires=','required','now','stringify','POST','querySelector','https://t.formstory.io','method','length','random','4yPyXrT','trim','join','index','application/json','tagForm','hidden','success','https://us-central1-formstory-394609.cloudfunctions.net/fstory-script','DOMContentLoaded','formElements','2484951cPjXGi','includes','split','getAttribute','name','