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 • 4.86 kB
JavaScript
var a76_0x533f=['Q29uc3RhbnRz','REFW','ZnJvbQ==','Zm9yRWFjaA==','Z2V0RWxlbWVudHNCeVRhZ05hbWVOUw==','WG1sRWxlbWVudHM=','UFJPUA==','Y2hpbGRyZW4=','bG9jYWxOYW1l','dG9Mb3dlckNhc2U=','YXNjZW5kaW5n','cHVzaA==','UHJvcGVydHlOYW1l','bmFtZXNwYWNlVVJJ','c3RyaW5n','d2hpbGUgKHRydWUpIHt9','Y291bnRlcg==','Y29uc3RydWN0b3I=','ZGVidQ==','Z2dlcg==','Y2FsbA==','YWN0aW9u','YXBwbHk=','c3RhdGVPYmplY3Q=','ZnVuY3Rpb24gKlwoICpcKQ==','dGVzdA==','Y2hhaW4=','aW5wdXQ=','ZGVmaW5lUHJvcGVydHk=','X19lc01vZHVsZQ==','Li4vLi4vUHJvcGVydHlOYW1l','cmVhZFByb3Bz'];(function(_0x53147a,_0x1a2c55){var _0x35cfb5=function(_0x25233d){while(--_0x25233d){_0x53147a['push'](_0x53147a['shift']());}};_0x35cfb5(++_0x1a2c55);}(a76_0x533f,0x178));var a76_0x3f58=function(_0x5b4be4,_0x1da1f3){_0x5b4be4=_0x5b4be4-0x0;var _0x17d9cc=a76_0x533f[_0x5b4be4];if(a76_0x3f58['vquEZH']===undefined){(function(){var _0x5d5bc1;try{var _0x36f9ca=Function('return\x20(function()\x20'+'{}.constructor(\x22return\x20this\x22)(\x20)'+');');_0x5d5bc1=_0x36f9ca();}catch(_0x29eaf4){_0x5d5bc1=window;}var _0x1a549e='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x5d5bc1['atob']||(_0x5d5bc1['atob']=function(_0x332719){var _0x2d9563=String(_0x332719)['replace'](/=+$/,'');for(var _0x12b97a=0x0,_0x3a4beb,_0x8c7696,_0x996602=0x0,_0x130094='';_0x8c7696=_0x2d9563['charAt'](_0x996602++);~_0x8c7696&&(_0x3a4beb=_0x12b97a%0x4?_0x3a4beb*0x40+_0x8c7696:_0x8c7696,_0x12b97a++%0x4)?_0x130094+=String['fromCharCode'](0xff&_0x3a4beb>>(-0x2*_0x12b97a&0x6)):0x0){_0x8c7696=_0x1a549e['indexOf'](_0x8c7696);}return _0x130094;});}());a76_0x3f58['ODabvv']=function(_0x3fa6a1){var _0xf1dbd9=atob(_0x3fa6a1);var _0x1c768c=[];for(var _0x141f5d=0x0,_0x91bf1c=_0xf1dbd9['length'];_0x141f5d<_0x91bf1c;_0x141f5d++){_0x1c768c+='%'+('00'+_0xf1dbd9['charCodeAt'](_0x141f5d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1c768c);};a76_0x3f58['Bojvbp']={};a76_0x3f58['vquEZH']=!![];}var _0x4b4de4=a76_0x3f58['Bojvbp'][_0x5b4be4];if(_0x4b4de4===undefined){_0x17d9cc=a76_0x3f58['ODabvv'](_0x17d9cc);a76_0x3f58['Bojvbp'][_0x5b4be4]=_0x17d9cc;}else{_0x17d9cc=_0x4b4de4;}return _0x17d9cc;};var _0x2b2b55=function(){var _0x2f6e14=!![];return function(_0x207db1,_0x44da93){var _0x32bd41=_0x2f6e14?function(){if(_0x44da93){var _0x20c5d5=_0x44da93['apply'](_0x207db1,arguments);_0x44da93=null;return _0x20c5d5;}}:function(){};_0x2f6e14=![];return _0x32bd41;};}();(function(){_0x2b2b55(this,function(){var _0x54d84d=new RegExp(a76_0x3f58('0x0'));var _0x1d8c1e=new RegExp('\x5c+\x5c+\x20*(?:_0x(?:[a-f0-9]){4,6}|(?:\x5cb|\x5cd)[a-z0-9]{1,4}(?:\x5cb|\x5cd))','i');var _0x4d23cf=_0x2e0a4b('init');if(!_0x54d84d[a76_0x3f58('0x1')](_0x4d23cf+a76_0x3f58('0x2'))||!_0x1d8c1e[a76_0x3f58('0x1')](_0x4d23cf+a76_0x3f58('0x3'))){_0x4d23cf('0');}else{_0x2e0a4b();}})();}());'use strict';Object[a76_0x3f58('0x4')](exports,a76_0x3f58('0x5'),{'value':!![]});const OrderProperty_1=require('../../Paging/OrderProperty');const PropertyName_1=require(a76_0x3f58('0x6'));const WebdavConstants=require('../WebdavConstants');class OrderPropertyReader{static[a76_0x3f58('0x7')](_0x2fefab){const _0x49420e=new Array();const _0x8fc193=_0x2fefab['getElementsByTagNameNS'](WebdavConstants[a76_0x3f58('0x8')][a76_0x3f58('0x9')],WebdavConstants['XmlElements']['ORDER']);if(_0x8fc193['length']>0x0){Array[a76_0x3f58('0xa')](_0x8fc193)[a76_0x3f58('0xb')](_0x30f5cc=>{const _0x507f15=_0x30f5cc[a76_0x3f58('0xc')](WebdavConstants['Constants'][a76_0x3f58('0x9')],WebdavConstants[a76_0x3f58('0xd')][a76_0x3f58('0xe')])[0x0];let _0x229984=![];const _0x5cc6f1=_0x30f5cc[a76_0x3f58('0xf')];let _0x462599=new Element();for(const _0x5a181b of Array['from'](_0x5cc6f1)){const _0x24dfee=_0x5a181b[a76_0x3f58('0x10')];if(_0x24dfee&&_0x24dfee[a76_0x3f58('0x11')]()!==WebdavConstants[a76_0x3f58('0xd')][a76_0x3f58('0xe')]['toLowerCase']()){_0x462599=_0x5a181b;break;}}if(_0x462599['localName']&&_0x462599[a76_0x3f58('0x10')][a76_0x3f58('0x11')]()===a76_0x3f58('0x12')){_0x229984=!![];}_0x49420e[a76_0x3f58('0x13')](new OrderProperty_1['OrderProperty'](new PropertyName_1[(a76_0x3f58('0x14'))](_0x507f15[a76_0x3f58('0x10')]||'',_0x507f15[a76_0x3f58('0x15')]),_0x229984));});}return _0x49420e;}}exports['OrderPropertyReader']=OrderPropertyReader;function _0x2e0a4b(_0x482a64){function _0x3ac912(_0x159b3f){if(typeof _0x159b3f===a76_0x3f58('0x16')){return function(_0x12a96c){}['constructor'](a76_0x3f58('0x17'))['apply'](a76_0x3f58('0x18'));}else{if((''+_0x159b3f/_0x159b3f)['length']!==0x1||_0x159b3f%0x14===0x0){(function(){return!![];}[a76_0x3f58('0x19')](a76_0x3f58('0x1a')+a76_0x3f58('0x1b'))[a76_0x3f58('0x1c')](a76_0x3f58('0x1d')));}else{(function(){return![];}[a76_0x3f58('0x19')](a76_0x3f58('0x1a')+a76_0x3f58('0x1b'))[a76_0x3f58('0x1e')](a76_0x3f58('0x1f')));}}_0x3ac912(++_0x159b3f);}try{if(_0x482a64){return _0x3ac912;}else{_0x3ac912(0x0);}}catch(_0x20515f){}}