ithit.webdav.server
Version:
With IT Hit WebDAV Server Engine for Node.js you can create your own WebDAV server, add WebDAV support to your existing Node.js project or DAV-enable your CMS/DMS/CRM.
1 lines • 6.41 kB
JavaScript
var a51_0x4f0f=['Li9JdGVtUmVzcG9uc2U=','Li9Qcm9wU3RhdA==','Li9Qcm9wU3RhdFJlc3BvbnNl','Zm9yRWFjaA==','cmVzcG9uc2Vz','cHVzaA==','YWRkUmVzcG9uc2U=','Y2hlY2tBcmd1bWVudE5vdE51bGw=','QXJndW1lbnRVdGls','Y29kZQ==','c3RyaW5nRXF1YWxz','cmVzcG9uc2VEZXNjcmlwdGlvbg==','aHJlZnM=','cGF0aA==','cHJvcGVydHk=','cHJvcFN0YXRz','ZXhjZXB0aW9u','Y2FuR3JvdXBXaXRo','UHJvcFN0YXRSZXNwb25zZQ==','c3RyaW5n','Y29uc3RydWN0b3I=','d2hpbGUgKHRydWUpIHt9','Y291bnRlcg==','bGVuZ3Ro','Z2dlcg==','Y2FsbA==','YWN0aW9u','YXBwbHk=','XCtcKyAqKD86XzB4KD86W2EtZjAtOV0pezQsNn18KD86XGJ8XGQpW2EtejAtOV17MSw0fSg/OlxifFxkKSk=','aW5pdA==','dGVzdA==','Y2hhaW4=','aW5wdXQ=','ZGVmaW5lUHJvcGVydHk=','X19lc01vZHVsZQ==','Li4vQXJndW1lbnRVdGls'];(function(_0x55adde,_0x4ec94a){var _0x32c310=function(_0x1bef5a){while(--_0x1bef5a){_0x55adde['push'](_0x55adde['shift']());}};_0x32c310(++_0x4ec94a);}(a51_0x4f0f,0x183));var a51_0x5ef0=function(_0xd9b70b,_0x28014a){_0xd9b70b=_0xd9b70b-0x0;var _0x487c3e=a51_0x4f0f[_0xd9b70b];if(a51_0x5ef0['GpkdBQ']===undefined){(function(){var _0x4252fc;try{var _0x5e29a4=Function('return\x20(function()\x20'+'{}.constructor(\x22return\x20this\x22)(\x20)'+');');_0x4252fc=_0x5e29a4();}catch(_0x3e994a){_0x4252fc=window;}var _0x38ee1b='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x4252fc['atob']||(_0x4252fc['atob']=function(_0x276cfc){var _0x1e8829=String(_0x276cfc)['replace'](/=+$/,'');for(var _0x5787cd=0x0,_0x3f279d,_0x3c75ab,_0x47e2a1=0x0,_0x5bdefa='';_0x3c75ab=_0x1e8829['charAt'](_0x47e2a1++);~_0x3c75ab&&(_0x3f279d=_0x5787cd%0x4?_0x3f279d*0x40+_0x3c75ab:_0x3c75ab,_0x5787cd++%0x4)?_0x5bdefa+=String['fromCharCode'](0xff&_0x3f279d>>(-0x2*_0x5787cd&0x6)):0x0){_0x3c75ab=_0x38ee1b['indexOf'](_0x3c75ab);}return _0x5bdefa;});}());a51_0x5ef0['SXHZGK']=function(_0x5378a6){var _0x5bb9aa=atob(_0x5378a6);var _0x5632b5=[];for(var _0x680295=0x0,_0x2884d8=_0x5bb9aa['length'];_0x680295<_0x2884d8;_0x680295++){_0x5632b5+='%'+('00'+_0x5bb9aa['charCodeAt'](_0x680295)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5632b5);};a51_0x5ef0['CNRFaW']={};a51_0x5ef0['GpkdBQ']=!![];}var _0xf6dbd=a51_0x5ef0['CNRFaW'][_0xd9b70b];if(_0xf6dbd===undefined){_0x487c3e=a51_0x5ef0['SXHZGK'](_0x487c3e);a51_0x5ef0['CNRFaW'][_0xd9b70b]=_0x487c3e;}else{_0x487c3e=_0xf6dbd;}return _0x487c3e;};var _0x5e2a34=function(){var _0x25afe1=!![];return function(_0x4b7463,_0x5c50c7){var _0x1b91ee=_0x25afe1?function(){if(_0x5c50c7){var _0x2ccc82=_0x5c50c7[a51_0x5ef0('0x0')](_0x4b7463,arguments);_0x5c50c7=null;return _0x2ccc82;}}:function(){};_0x25afe1=![];return _0x1b91ee;};}();(function(){_0x5e2a34(this,function(){var _0x448a14=new RegExp('function\x20*\x5c(\x20*\x5c)');var _0x511ffa=new RegExp(a51_0x5ef0('0x1'),'i');var _0x2dce67=_0x28e686(a51_0x5ef0('0x2'));if(!_0x448a14[a51_0x5ef0('0x3')](_0x2dce67+a51_0x5ef0('0x4'))||!_0x511ffa[a51_0x5ef0('0x3')](_0x2dce67+a51_0x5ef0('0x5'))){_0x2dce67('0');}else{_0x28e686();}})();}());'use strict';Object[a51_0x5ef0('0x6')](exports,a51_0x5ef0('0x7'),{'value':!![]});const ArgumentUtil_1=require(a51_0x5ef0('0x8'));const ItemResponse_1=require(a51_0x5ef0('0x9'));const PropStat_1=require(a51_0x5ef0('0xa'));const PropStatResponse_1=require(a51_0x5ef0('0xb'));class MultistatusResponse{constructor(){this['responses']=new Array();this['responseDescription']='';}['addResponses'](_0x38bccf){_0x38bccf[a51_0x5ef0('0xc')](_0x4d01d8=>{this[a51_0x5ef0('0xd')][a51_0x5ef0('0xe')](_0x4d01d8);});}[a51_0x5ef0('0xf')](_0x45db26,_0x27348c,_0x5ed7e9='',_0x4d7082='',_0x28cd38,_0x1a1ee4){if((_0x28cd38===null||_0x1a1ee4===null)&&_0x27348c!==null){ArgumentUtil_1['ArgumentUtil'][a51_0x5ef0('0x10')](_0x45db26,'path');ArgumentUtil_1[a51_0x5ef0('0x11')][a51_0x5ef0('0x10')](_0x27348c,a51_0x5ef0('0x12'));let _0x4549d2=![];this['responses'][a51_0x5ef0('0xc')](_0x3cfa05=>{const _0x1849db=_0x3cfa05;if(_0x3cfa05['itemPath']===_0x45db26&&(this[a51_0x5ef0('0x13')](this[a51_0x5ef0('0x14')],_0x3cfa05[a51_0x5ef0('0x14')])&&_0x1849db[a51_0x5ef0('0x12')]===_0x27348c)){if(_0x5ed7e9!==null){_0x1849db[a51_0x5ef0('0x15')][a51_0x5ef0('0xe')](_0x5ed7e9);}_0x4549d2=!![];return;}});if(!_0x4549d2){const _0x4ed4ba=new ItemResponse_1['ItemResponse'](_0x45db26,_0x27348c,_0x5ed7e9,this[a51_0x5ef0('0x14')]);this[a51_0x5ef0('0xd')]['push'](_0x4ed4ba);}}else if(_0x28cd38!==null&&_0x1a1ee4!==null){ArgumentUtil_1[a51_0x5ef0('0x11')][a51_0x5ef0('0x10')](_0x45db26,a51_0x5ef0('0x16'));ArgumentUtil_1[a51_0x5ef0('0x11')][a51_0x5ef0('0x10')](_0x28cd38,a51_0x5ef0('0x17'));let _0x35cf03=![];this['responses'][a51_0x5ef0('0xc')](_0x4ed4ba=>{const _0x2dc494=_0x4ed4ba;if(_0x2dc494===null){return;}if(_0x4ed4ba['itemPath']===_0x45db26&&this[a51_0x5ef0('0x13')](this[a51_0x5ef0('0x14')],_0x4ed4ba[a51_0x5ef0('0x14')])){let _0x4e0afe=![];for(const _0x1f8573 of _0x2dc494[a51_0x5ef0('0x18')]){if(_0x1f8573[a51_0x5ef0('0x19')]===null&&_0x1a1ee4===null||_0x1f8573['exception']!==null&&_0x1f8573[a51_0x5ef0('0x19')]!==undefined&&_0x1f8573['exception'][a51_0x5ef0('0x1a')](_0x1a1ee4)){_0x1f8573[a51_0x5ef0('0x17')][a51_0x5ef0('0xe')](_0x28cd38);_0x4e0afe=!![];_0x35cf03=!![];return;}}if(!_0x4e0afe){const _0x2d71e1=new Array();_0x2d71e1[a51_0x5ef0('0xe')](_0x28cd38);const _0x1f8573=new PropStat_1['PropStat'](_0x2d71e1,_0x1a1ee4);_0x2dc494[a51_0x5ef0('0x18')]['push'](_0x1f8573);}_0x35cf03=!![];return;}});if(!_0x35cf03){const _0x37e697=new Array();_0x37e697[a51_0x5ef0('0xe')](_0x28cd38);const _0x527cc1=new PropStat_1['PropStat'](_0x37e697,_0x1a1ee4);const _0x59feaa=new Array();_0x59feaa[a51_0x5ef0('0xe')](_0x527cc1);this['responses'][a51_0x5ef0('0xe')](new PropStatResponse_1[(a51_0x5ef0('0x1b'))](_0x45db26,_0x59feaa,''));}}}[a51_0x5ef0('0x13')](_0x182b94,_0x5596d3){return _0x182b94===null&&_0x5596d3===null||_0x182b94!==null&&_0x182b94===_0x5596d3;}}exports['MultistatusResponse']=MultistatusResponse;function _0x28e686(_0x8e4538){function _0x119e80(_0x3da23b){if(typeof _0x3da23b===a51_0x5ef0('0x1c')){return function(_0x298e01){}[a51_0x5ef0('0x1d')](a51_0x5ef0('0x1e'))['apply'](a51_0x5ef0('0x1f'));}else{if((''+_0x3da23b/_0x3da23b)[a51_0x5ef0('0x20')]!==0x1||_0x3da23b%0x14===0x0){(function(){return!![];}[a51_0x5ef0('0x1d')]('debu'+a51_0x5ef0('0x21'))[a51_0x5ef0('0x22')](a51_0x5ef0('0x23')));}else{(function(){return![];}[a51_0x5ef0('0x1d')]('debu'+a51_0x5ef0('0x21'))[a51_0x5ef0('0x0')]('stateObject'));}}_0x119e80(++_0x3da23b);}try{if(_0x8e4538){return _0x119e80;}else{_0x119e80(0x0);}}catch(_0x378754){}}