webdav.client 6.0.8730-beta → 6.0.8736-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  // -----------------------------------------------------------------------
2
- // IT Hit WebDAV Ajax Library v6.0.8730.0
2
+ // IT Hit WebDAV Ajax Library v6.0.8736.0
3
3
  // Copyright © 2020 IT Hit LTD. All rights reserved.
4
4
  // License: https://www.webdavsystem.com/ajax/
5
5
  // -----------------------------------------------------------------------
@@ -84,4 +84,4 @@ ITHit.Temp.WebDAV_Phrases={
84
84
  }
85
85
  };
86
86
 
87
- (function(){ITHit.DefineClass("ITHit.Environment",null,{__static:{OS:ITHit.DetectOS.OS}});})();ITHit.oNS=ITHit.Declare("ITHit.Exceptions");ITHit.oNS.LoggerException=function(_102,_103){ITHit.Exceptions.LoggerException.baseConstructor.call(this,_102,_103);};ITHit.Extend(ITHit.oNS.LoggerException,ITHit.Exception);ITHit.oNS.LoggerException.prototype.Name="LoggerException";ITHit.DefineClass("ITHit.LogLevel",null,{},{All:32,Debug:16,Info:8,Warn:4,Error:2,Fatal:1,Off:0});(function(){var _104={};var _105={};var _106={};for(var _107 in ITHit.LogLevel){_104[ITHit.LogLevel[_107]]=[];_106[ITHit.LogLevel[_107]]=[];}var _108=function(_109,_10a,iTo,_10c){for(var _10d in ITHit.LogLevel){if(ITHit.LogLevel[_10d]>iTo){continue;}if(!ITHit.LogLevel[_10d]||(_10a>=ITHit.LogLevel[_10d])){continue;}if(_109){_106[ITHit.LogLevel[_10d]].push(_10c);}else{for(var i=0;i<_106[ITHit.LogLevel[_10d]].length;i++){if(_106[ITHit.LogLevel[_10d]][i]==_10c){_106[ITHit.LogLevel[_10d]].splice(i,1);}}}}};_108.add=function(iTo,_110){_108.increase(ITHit.LogLevel.Off,iTo,_110);};_108.del=function(iTo,_112){_108.decrease(ITHit.LogLevel.Off,iTo,_112);};_108.increase=function(_113,iTo,_115){_108(true,_113,iTo,_115);};_108.decrease=function(_116,iTo,_118){_108(false,_116,iTo,_118);};ITHit.DefineClass("ITHit.Logger",null,{},{Level:ITHit.Config.LogLevel||ITHit.LogLevel.Debug,AddListener:function(_119,_11a){if(_11a==ITHit.LogLevel.Off){this.RemoveListener();}var _11b=0;var _11c=0;outer:for(var _11d in _104){for(var i=0;i<_104[_11d].length;i++){if(_104[_11d][i]==_119){_11b=_11d;_11c=i;break outer;}}}if(!_11b){_104[_11a].push(_119);_108.add(_11a,_119);}else{if(_11a!=_11b){_104[_11b].splice(_11c,1);_104[_11a].push(_119);if(_11a>_11b){_108.increase(_11b,_11a,_119);}else{_108.decrease(_11a,_11b,_119);}}}},RemoveListener:function(_11f){outer:for(var _120 in _104){for(var i=0;i<_104[_120].length;i++){if(_104[_120][i]==_11f){_104[_120].splice(i,1);_108.del(_120,_11f);break outer;}}}return true;},SetLogLevel:function(_122,_123){return this.AddListener(_122,_123,true);},GetLogLevel:function(_124){for(var _125 in _104){for(var i=0;i<_104[_125].length;i++){if(_104[_125][i]==_124){return _125;}}}return false;},GetListenersForLogLevel:function(_127){return _106[_127];},GetCount:function(_128){return _106[_128].length;},WriteResponse:function(_129){if(Logger.GetCount(ITHit.LogLevel.Info)){var sStr="";if(_129 instanceof HttpWebResponse){sStr+="\n"+_129.StatusCode+" "+_129.StatusDescription+"\n";}sStr+=_129.ResponseUri+"\n";for(var _12b in _129.Headers){sStr+=_12b+": "+_129.Headers[_12b]+"\n";}sStr+=_129.GetResponse();this.WriteMessage(sStr);}},WriteMessage:function(_12c,_12d){_12d=("undefined"==typeof _12d)?ITHit.LogLevel.Info:parseInt(_12d);if(ITHit.Logger.GetCount(_12d)){var _12e=this.GetListenersForLogLevel(_12d);var _12c=String(_12c).replace(/([^\n])$/,"$1\n");for(var i=0;i<_12e.length;i++){try{_12e[i](_12c,ITHit.LogLevel.Info);}catch(e){if(!_12e[i] instanceof Function){throw new ITHit.Exceptions.LoggerException("Log listener expected function, passed: \""+_12e[i]+"\"",e);}else{throw new ITHit.Exceptions.LoggerException("Message could'not be logged.",e);}}}}},StartLogging:function(){},FinishLogging:function(){},StartRequest:function(){},FinishRequest:function(){}});})();ITHit.oNS=ITHit.Declare("ITHit.Exceptions");ITHit.oNS.PhraseException=function(_130,_131){ITHit.Exceptions.PhraseException.baseConstructor.call(this,_130,_131);};ITHit.Extend(ITHit.oNS.PhraseException,ITHit.Exception);ITHit.oNS.PhraseException.prototype.Name="PhraseException";ITHit.Phrases=(function(){var _132={};var _133=function(_134){this._arguments=_134;};_133.prototype.Replace=function(_135){var _136=_135.substr(1,_135.length-2);return ("undefined"!=typeof this._arguments[_136])?this._arguments[_136]:_135;};var _137=function(_138){this._phrase=_138;};_137.prototype.toString=function(){return this._phrase;};_137.prototype.Paste=function(){var _139=this._phrase;if(/\{\d+?\}/.test(_139)){var _13a=new _133(arguments);_139=_139.replace(/\{(\d+?)\}/g,function(args){return _13a.Replace(args);});}return _139;};var _13c=function(){};_13c.prototype.LoadJSON=function(_13d,_13e){var _13f=ITHit.Utils;if(_13e&&!_13f.IsString(_13e)){throw new ITHit.Exceptions.PhraseException("Namespace expected to be a string.");}var _140=this;if(_13e){_140=ITHit.Declare(_13e);}try{var _141=_13d;if(_13f.IsString(_141)){_141=eval("("+_13d+")");}this._AddPhrases(_141,_140);}catch(e){console.dir(e);throw new ITHit.Exceptions.PhraseException("Wrong text structure.",e);}};_13c.prototype.LoadLocalizedJSON=function(_142,_143,_144){var _145=ITHit.Utils,_146=_145.IsUndefined,_147=_145.IsObject;if(!_142||!_145.IsObjectStrict(_142)){throw new ITHit.Exceptions.PhraseException("Default phrases expected to be an JSON object.");}if(_143&&!_145.IsObjectStrict(_143)){throw new ITHit.Exceptions.PhraseException("Default phrases expected to be an JSON object");}var _148;if(_143){_148={};this._MergePhrases(_148,_143);this._MergePhrases(_148,_142);}else{_148=_142;}this.LoadJSON(_148,_144);};_13c.prototype._MergePhrases=function(dest,_14a){var _14b=ITHit.Utils,_14c=_14b.IsUndefined,_14d=_14b.IsObject;for(var prop in _14a){if(!_14a.hasOwnProperty(prop)){continue;}if(_14c(dest[prop])){dest[prop]=_14a[prop];}else{if(_14d(dest[prop])){this._MergePhrases(dest[prop],_14a[prop]);}}}};_13c.prototype._AddPhrases=function(_14f,_150){_150=_150||this;for(var _151 in _14f){if(("object"!=typeof _14f[_151])||!(_14f[_151] instanceof Object)){switch(_151){case "_AddPhrases":case "LoadJSON":case "LoadLocalizedJSON":case "_Merge":case "prototype":case "toString":throw new ITHit.Exceptions.PhraseException("\""+_151+"\" is reserved word.");break;}_150[_151]=new _137(_14f[_151]);}else{this._AddPhrases(_14f[_151],_150[_151]?_150[_151]:(_150[_151]={}));}}};return new _13c();})();ITHit.oNS=ITHit.Declare("ITHit.Exceptions");ITHit.oNS.XPathException=function(_152,_153){ITHit.Exceptions.XPathException.baseConstructor.call(this,_152,_153);};ITHit.Extend(ITHit.oNS.XPathException,ITHit.Exception);ITHit.oNS.XPathException.prototype.Name="XPathException";ITHit.XPath={_component:null,_version:null};ITHit.XPath.evaluate=function(_154,_155,_156,_157,_158){if(("string"!=typeof _154)&&!(_154 instanceof String)){throw new ITHit.Exceptions.XPathException("Expression was expected to be a string in ITHit.XPath.eveluate.");}if(!(_155 instanceof ITHit.XMLDoc)){throw new ITHit.Exceptions.XPathException("Element was expected to be an ITHit.XMLDoc object in ITHit.XPath.evaluate.");}if(_156&&!(_156 instanceof ITHit.XPath.resolver)){throw new ITHit.Exceptions.XPathException("Namespace resolver was expected to be an ITHit.XPath.resolver object in ITHit.XPath.evaluate.");}if(_157&&!(_157 instanceof ITHit.XPath.result)){throw new ITHit.Exceptions.XPathException("Result expected to be an ITHit.XPath.result object in ITHit.XPath.evaluate.");}_156=_156||null;_157=_157||null;if(document.implementation.hasFeature("XPath","3.0")&&document.evaluate){var _159=_155._get();var _15a=_159.ownerDocument||_159;if(_157){_15a.evaluate(_154,_159,_156,ITHit.XPath.result.UNORDERED_NODE_SNAPSHOT_TYPE,_157._res);return;}var oRes=new ITHit.XPath.result(_15a.evaluate(_154,_159,_156,ITHit.XPath.result.UNORDERED_NODE_SNAPSHOT_TYPE,null));if(!_158){return oRes;}else{return oRes.iterateNext();}}else{if(undefined!==window.ActiveXObject){var _159=_155._get();var _15c=false;try{_159.getProperty("SelectionNamespaces");_15c=true;}catch(e){}var _15d=false;if(3==ITHit.XMLDoc._version){var sXml=_159.xml.replace(/^\s+|\s+$/g,"");var _15f="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/";var _160="cutted";if(-1!=sXml.indexOf(_15f)||true){var _161=sXml.replace(_15f,_160);var _162=new ITHit.XMLDoc();_162.load(_161);if(_156){var oNs=_156.getAll();for(var _164 in oNs){if(_15f==oNs[_164]){oNs.add(_164,_160);break;}}}_159=_162._get();_15c=true;_15d=true;}}if(_15c&&_156&&_156.length()){var _165=_156.getAll();var aNs=[];for(var _164 in _165){aNs.push("xmlns:"+_164+"='"+_165[_164]+"'");}_159.setProperty("SelectionNamespaces",aNs.join(" "));}if(_15d){_159=_159.documentElement;}try{if(!_158){if(!_157){return new ITHit.XPath.result(_159.selectNodes(_154));}else{_157._res=_159.selectNodes(_154);return;}}else{var mOut=_159.selectSingleNode(_154);if(mOut){return new ITHit.XMLDoc(mOut);}else{return mOut;}}}catch(e){if(!_15c&&(-2147467259==e.number)&&_156&&_156.length()){var sEl=new ITHit.XMLDoc(_159).toString();var oEl=new ITHit.XMLDoc();oEl.load(sEl);_159=oEl._get();var _165=_156.getAll();var aNs=[];for(var _164 in _165){aNs.push("xmlns:"+_164+"='"+_165[_164]+"'");}_159.setProperty("SelectionNamespaces",aNs.join(" "));_159=_159.documentElement;if(!_158){if(!_157){return new ITHit.XPath.result(_159.selectNodes(_154));}else{_157._res=_159.selectNodes(_154);return;}}else{var mOut=_159.selectSingleNode(_154);if(mOut){return new ITHit.XMLDoc(mOut);}else{return mOut;}}}else{throw new ITHit.Exceptions.XPathException("Evaluation failed for searching \""+_154+"\".",e);}}}}throw new ITHit.Exceptions.XPathException("XPath support is not implemented for your browser.");};ITHit.XPath.selectSingleNode=function(_16a,_16b,_16c){return ITHit.XPath.evaluate(_16a,_16b,_16c,false,true);};ITHit.XPath.resolver=function(){this._ns={};this._length=0;};ITHit.XPath.resolver.prototype.add=function(_16d,sNs){this._ns[_16d]=sNs;this._length++;};ITHit.XPath.resolver.prototype.remove=function(_16f){delete this._ns[_16f];this._length--;};ITHit.XPath.resolver.prototype.get=function(_170){return this._ns[_170]||null;};ITHit.XPath.resolver.prototype.lookupNamespaceURI=ITHit.XPath.resolver.prototype.get;ITHit.XPath.resolver.prototype.getAll=function(){var oOut={};for(var _172 in this._ns){oOut[_172]=this._ns[_172];}return oOut;};ITHit.XPath.resolver.prototype.length=function(){return this._length;};ITHit.XPath.result=function(_173){this._res=_173;this._i=0;this.length=_173.length?_173.length:_173.snapshotLength;};ITHit.XPath.result.ANY_TYPE=0;ITHit.XPath.result.NUMBER_TYPE=1;ITHit.XPath.result.STRING_TYPE=2;ITHit.XPath.result.BOOLEAN_TYPE=3;ITHit.XPath.result.UNORDERED_NODE_ITERATOR_TYPE=4;ITHit.XPath.result.ORDERED_NODE_ITERATOR_TYPE=5;ITHit.XPath.result.UNORDERED_NODE_SNAPSHOT_TYPE=6;ITHit.XPath.result.ORDERED_NODE_SNAPSHOT_TYPE=7;ITHit.XPath.result.ANY_UNORDERED_NODE_TYPE=8;ITHit.XPath.result.FIRST_ORDERED_NODE_TYPE=9;ITHit.XPath.result.prototype.iterateNext=function(_174){var mOut;if(!_174){if(!this._res.snapshotItem){try{mOut=this._res[this._i++];}catch(e){return null;}}else{mOut=this._res.snapshotItem(this._i++);}}else{mOut=this._res[_174];}if(mOut){return new ITHit.XMLDoc(mOut);}else{return mOut;}};ITHit.XPath.result.prototype.snapshotItem=ITHit.XPath.result.prototype.iterateNext;ITHit.XPath.result.prototype.type=function(){return this._res.resultType;};ITHit.XPath.result.prototype._get=function(){return this._res;};ITHit.oNS=ITHit.Declare("ITHit.Exceptions");ITHit.oNS.XMLDocException=function(_176,_177){ITHit.Exceptions.XMLDocException.baseConstructor.call(this,_176,_177);};ITHit.Extend(ITHit.oNS.XMLDocException,ITHit.Exception);ITHit.oNS.XMLDocException.prototype.Name="XMLDocException";ITHit.XMLDoc=(function(){var _178;var _179=1;var _17a=2;var _17b=3;var _17c=4;var _17d=5;var _17e=6;var _17f=7;var _180=8;var _181=9;var _182=10;var _183=11;var _184=12;var _185=function(_186){this._xml=null;this._encoding=null;if(null!==_186){if(!_186||("object"!=typeof _186)){if(undefined!==window.ActiveXObject){if(_178){this._xml=new window.ActiveXObject(_178);}else{var _187=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","Msxml2.DOMDocument.3.0"];var _188=[6,4,3];for(var i=0;i<_187.length;i++){try{this._xml=new window.ActiveXObject(_187[i]);_185._version=_188[i];_178=_187[i];break;}catch(e){if(3==_188[i]){throw new ITHit.Exception("XML component is not supported.");}}}}}else{if(document.implementation&&document.implementation.createDocument){this._xml=document.implementation.createDocument("","",null);}}if(undefined===this._xml){throw new ITHit.Exceptions.XMLDocException("XML support for current browser is not implemented.");}this._xml.async=false;}else{this._xml=_186;}}else{this._xml=null;return null;}};_185._version=0;_185.prototype.contentEncoding=function(_18a){if(undefined!==_18a){this._encoding=_18a;}return this._encoding;};_185.prototype.load=function(_18b){if(!ITHit.Utils.IsString(_18b)){throw new ITHit.Exceptions.XMLDocException("String was expected for xml parsing.");}if(!_18b){return new _185();}var oDoc;if(undefined!==window.ActiveXObject){try{if(3==_185._version){_18b=_18b.replace(/(?:urn\:uuid\:c2f41010\-65b3\-11d1\-a29f\-00aa00c14882\/)/g,"cutted");}if(_185._version){_18b=_18b.replace(/<\?.*\?>/,"");this._xml.loadXML(_18b);}else{var _18d=new _185();if(3==_185._version){_18b=_18b.replace(/(?:urn\:uuid\:c2f41010\-65b3\-11d1\-a29f\-00aa00c14882\/)/g,"cutted");}_18d.load(_18b);this._xml=_18d._get();}}catch(e){var _18e=e;}}else{if(document.implementation.createDocument){try{var _18f=new DOMParser();oDoc=_18f.parseFromString(_18b,"text/xml");this._xml=oDoc;}catch(e){var _18e=e;}}else{throw new ITHit.Exceptions.XMLDocException("Cannot create XML parser object. Support for current browser is not implemented.");}}if(undefined!==_18e){throw new ITHit.Exceptions.XMLDocException("ITHit.XMLDoc.load() method failed.\nPossible reason: syntax error in passed XML string.",_18e);}};_185.prototype.appendChild=function(_190){if(!_190 instanceof ITHit.XMLDoc){throw ITHit.Exceptions.XMLDocException("Instance of XMLDoc was expected in appendChild method.");}this._xml.appendChild(_190._get());};_185.prototype.createElement=function(_191){return new _185(this._xml.createElement(_191));};_185.prototype.createElementNS=function(sNS,_193){if(this._xml.createElementNS){var _194=this._xml.createElementNS(sNS,_193);return new ITHit.XMLDoc(_194);}else{try{return new _185(this._xml.createNode(_179,_193,sNS));}catch(e){throw new ITHit.Exceptions.XMLDocException("Node is not created.",e);}}throw new ITHit.Exceptions.XMLDocException("createElementNS for current browser is not implemented.");};_185.prototype.createTextNode=function(_195){return new _185(this._xml.createTextNode(_195));};_185.prototype.getElementById=function(sId){return new _185(this._xml.getElementById(sId));};_185.prototype.getElementsByTagName=function(_197){return new _185(this._xml.getElementsByTagName(_197));};_185.prototype.childNodes=function(){var _198=this._xml.childNodes;var _199=[];for(var i=0;i<_198.length;i++){_199.push(new ITHit.XMLDoc(_198[i]));}return _199;};_185.prototype.getElementsByTagNameNS=function(_19b,_19c){if(this._xml.getElementsByTagNameNS){var _19d=this._xml.getElementsByTagNameNS(_19b,_19c);}else{var _19e=this.toString();var _19f=new ITHit.XMLDoc();_19f.load(_19e);var _1a0=new ITHit.XPath.resolver();_1a0.add("a",_19b);var oRes=ITHit.XPath.evaluate(("//a:"+_19c),_19f,_1a0);var _19d=oRes._get();}var aRet=[];for(var i=0;i<_19d.length;i++){var _1a4=new ITHit.XMLDoc(_19d[i]);aRet.push(_1a4);}return aRet;};_185.prototype.setAttribute=function(_1a5,_1a6){this._xml.setAttribute(_1a5,_1a6);};_185.prototype.hasAttribute=function(_1a7){return this._xml.hasAttribute(_1a7);};_185.prototype.getAttribute=function(_1a8){return this._xml.getAttribute(_1a8);};_185.prototype.removeAttribute=function(_1a9){this._xml.removeAttribute(_1a9);};_185.prototype.hasAttributeNS=function(_1aa){return this._xml.hasAttribute(_1aa);};_185.prototype.getAttributeNS=function(_1ab){return this._xml.getAttribute(_1ab);};_185.prototype.removeAttributeNS=function(_1ac){this._xml.removeAttribute(_1ac);};_185.prototype.removeChild=function(_1ad){if(!_1ad instanceof ITHit.XMLDoc){throw ITHit.Exceptions.XMLDocException("Instance of XMLDoc was expected in ITHit.XMLDoc.removeChild() method.");}this._xml.removeChild(_1ad);return new ITHit.XMLDoc(_1ad);};_185.prototype.removeNode=function(_1ae){if(!_1ae instanceof ITHit.XMLDoc){throw ITHit.Exceptions.XMLDocException("Instance of XMLDoc was expected in ITHit.XMLDoc.removeNode() method.");}_1ae=_1ae._get();if(_1ae.removeNode){return new _185(_1ae.removeNode(true));}else{return new _185(_1ae.parentNode.removeChild(_1ae));}};_185.prototype.cloneNode=function(_1af){if(undefined===_1af){_1af=true;}return new ITHit.XMLDoc(this._xml.cloneNode(_1af));};_185.prototype.getProperty=function(_1b0){return this._xml[_1b0];};_185.prototype.setProperty=function(_1b1,_1b2){this._xml[_1b1]=_1b2;};_185.prototype.nodeName=function(){return this._xml.nodeName;};_185.prototype.nextSibling=function(){return new ITHit.XMLDoc(this._xml.nextSibling);};_185.prototype.namespaceURI=function(){return this._xml.namespaceURI;};_185.prototype.hasChildNodes=function(){return (this._xml&&this._xml.hasChildNodes());};_185.prototype.firstChild=function(){return new _185(this._xml.firstChild);};_185.prototype.localName=function(){return this._xml.localName||this._xml.baseName;};_185.prototype.nodeValue=function(){var _1b3="";if(this._xml){_1b3=this._xml.nodeValue;}if("object"!=typeof _1b3){return _1b3;}else{return new ITHit.XMLDoc(_1b3);}};_185.prototype.nodeType=function(){return this._xml.nodeType;};_185.prototype._get=function(){return this._xml;};_185.prototype.toString=function(_1b4){return _185.toString(this._xml,this._encoding,_1b4);};_185.toString=function(_1b5,_1b6,_1b7){if(!_1b5){throw new ITHit.Exceptions.XMLDocException("ITHit.XMLDoc: XML object expected.");}var _1b8="";var _1b9=true;if(undefined!==_1b5.xml){_1b8=_1b5.xml.replace(/^\s+|\s+$/g,"");_1b9=false;}else{if(document.implementation.createDocument&&(undefined!==XMLSerializer)){_1b8=new XMLSerializer().serializeToString(_1b5);_1b9=false;}}if(_1b8){if(_1b6){_1b6=" encoding=\""+this._encoding+"\"";}else{_1b6="";}var sOut=((!_1b7)?"<?xml version=\"1.0\""+_1b6+"?>":"")+_1b8.replace(/^<\?xml[^?]+\?>/,"");return sOut;}if(_1b9){throw new ITHit.Exceptions.XMLDocException("XML parser object is not created.");}return _1b8;};return _185;})();ITHit.XMLDoc.nodeTypes={NODE_ELEMENT:1,NODE_ATTRIBUTE:2,NODE_TEXT:3,NODE_CDATA_SECTION:4,NODE_ENTITY_REFERENCE:5,NODE_ENTITY:6,NODE_PROCESSING_INSTRUCTION:7,NODE_COMMENT:8,NODE_DOCUMENT:9,NODE_DOCUMENT_TYPE:10,NODE_DOCUMENT_FRAGMENT:11,NODE_NOTATION:12};ITHit.oNS=ITHit.Declare("ITHit.Exceptions");ITHit.oNS.ArgumentNullException=function(_1bb){var _1bc="Variable \""+_1bb+"\" nas null value.";ITHit.Exceptions.ArgumentNullException.baseConstructor.call(this,_1bc);};ITHit.Extend(ITHit.oNS.ArgumentNullException,ITHit.Exception);ITHit.oNS.ArgumentNullException.prototype.Name="ArgumentNullException";ITHit.DefineClass("ITHit.WebDAV.Client.WebDavUtil",null,{__static:{VerifyArgumentNotNull:function(_1bd,_1be){if(_1bd===null){throw new ITHit.Exceptions.ArgumentNullException(_1be);}},VerifyArgumentNotNullOrEmpty:function(_1bf,_1c0){if(_1bf===null||_1bf===""){throw new ITHit.Exceptions.ArgumentNullException(_1c0);}},NormalizeEmptyToNull:function(_1c1){if(_1c1===null||_1c1===""){return null;}return _1c1;},NormalizeEmptyOrNoneToNull:function(_1c2){if(_1c2===null||_1c2===""||_1c2=="None"){return null;}return _1c2;},HashCode:function(str){var hash=0;for(var i=0;i<str.length;i++){var _1c6=str.charCodeAt(i);hash=((hash<<5)-hash)+_1c6;hash=hash&hash;}return hash;}}});ITHit.DefineClass("ITHit.WebDAV.Client.PropertyName",null,{Name:null,NamespaceUri:null,constructor:function(_1c7,_1c8){ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNullOrEmpty(_1c7,"sName");this.Name=_1c7;this.NamespaceUri=_1c8;},Equals:function(oObj,_1ca){_1ca=_1ca||false;if(this==oObj){return true;}if(!oObj instanceof ITHit.WebDAV.Client.PropertyName){return false;}return _1ca?this.Name.toLowerCase()===oObj.Name.toLowerCase()&&this.NamespaceUri.toLowerCase()===oObj.NamespaceUri.toLowerCase():this.Name===oObj.Name&&this.NamespaceUri===oObj.NamespaceUri;},IsStandardProperty:function(){if(!ITHit.WebDAV.Client.PropertyName.StandardNames){ITHit.WebDAV.Client.PropertyName.StandardNames=[ITHit.WebDAV.Client.DavConstants.ResourceType,ITHit.WebDAV.Client.DavConstants.DisplayName,ITHit.WebDAV.Client.DavConstants.CreationDate,ITHit.WebDAV.Client.DavConstants.GetLastModified,ITHit.WebDAV.Client.DavConstants.GetContentLength,ITHit.WebDAV.Client.DavConstants.GetContentType,ITHit.WebDAV.Client.DavConstants.GetETag,ITHit.WebDAV.Client.DavConstants.IsCollection,ITHit.WebDAV.Client.DavConstants.IsFolder,ITHit.WebDAV.Client.DavConstants.IsHidden,ITHit.WebDAV.Client.DavConstants.SupportedLock,ITHit.WebDAV.Client.DavConstants.LockDiscovery,ITHit.WebDAV.Client.DavConstants.GetContentLanguage,ITHit.WebDAV.Client.DavConstants.Source,ITHit.WebDAV.Client.DavConstants.QuotaAvailableBytes,ITHit.WebDAV.Client.DavConstants.QuotaUsedBytes,new ITHit.WebDAV.Client.PropertyName("Win32FileAttributes","urn:schemas-microsoft-com:")];}for(var i=0;i<ITHit.WebDAV.Client.PropertyName.StandardNames.length;i++){if(this.Equals(ITHit.WebDAV.Client.PropertyName.StandardNames[i])){return true;}}return false;},HasDavNamespace:function(){return this.NamespaceUri===ITHit.WebDAV.Client.DavConstants.NamespaceUri;},toString:function(){return this.NamespaceUri+":"+this.Name;}});(function(){var _1cc="DAV:";ITHit.DefineClass("ITHit.WebDAV.Client.DavConstants",null,{__static:{NamespaceUri:_1cc,Comment:new ITHit.WebDAV.Client.PropertyName("comment",_1cc),CreationDate:new ITHit.WebDAV.Client.PropertyName("creationdate",_1cc),CreatorDisplayName:new ITHit.WebDAV.Client.PropertyName("creator-displayname",_1cc),DisplayName:new ITHit.WebDAV.Client.PropertyName("displayname",_1cc),GetContentLength:new ITHit.WebDAV.Client.PropertyName("getcontentlength",_1cc),GetContentType:new ITHit.WebDAV.Client.PropertyName("getcontenttype",_1cc),GetETag:new ITHit.WebDAV.Client.PropertyName("getetag",_1cc),GetLastModified:new ITHit.WebDAV.Client.PropertyName("getlastmodified",_1cc),IsCollection:new ITHit.WebDAV.Client.PropertyName("iscollection",_1cc),IsFolder:new ITHit.WebDAV.Client.PropertyName("isFolder",_1cc),IsHidden:new ITHit.WebDAV.Client.PropertyName("ishidden",_1cc),ResourceType:new ITHit.WebDAV.Client.PropertyName("resourcetype",_1cc),SupportedLock:new ITHit.WebDAV.Client.PropertyName("supportedlock",_1cc),LockDiscovery:new ITHit.WebDAV.Client.PropertyName("lockdiscovery",_1cc),GetContentLanguage:new ITHit.WebDAV.Client.PropertyName("getcontentlanguage",_1cc),Source:new ITHit.WebDAV.Client.PropertyName("source",_1cc),QuotaAvailableBytes:new ITHit.WebDAV.Client.PropertyName("quota-available-bytes",_1cc),QuotaUsedBytes:new ITHit.WebDAV.Client.PropertyName("quota-used-bytes",_1cc),VersionName:new ITHit.WebDAV.Client.PropertyName("version-name",_1cc),VersionHistory:new ITHit.WebDAV.Client.PropertyName("version-history",_1cc),CheckedIn:new ITHit.WebDAV.Client.PropertyName("checked-in",_1cc),CheckedOut:new ITHit.WebDAV.Client.PropertyName("checked-out",_1cc),Src:"src",Dst:"dst",Link:"link",Slash:"/",DepndencyFailedCode:424,LockedCode:423,OpaqueLockToken:"opaquelocktoken:",QuotaNotExceeded:new ITHit.WebDAV.Client.PropertyName("quota-not-exceeded",_1cc),SufficientDiskSpace:new ITHit.WebDAV.Client.PropertyName("sufficient-disk-space",_1cc),ProtocolName:"dav11"}});})();ITHit.oNS=ITHit.Declare("ITHit.Exceptions");ITHit.oNS.ArgumentException=function(_1cd,_1ce){_1cd+=" Variable name: \""+_1ce+"\"";ITHit.Exceptions.ArgumentException.baseConstructor.call(this,_1cd);};ITHit.Extend(ITHit.oNS.ArgumentException,ITHit.Exception);ITHit.oNS.ArgumentException.prototype.Name="ArgumentException";(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.Depth",null,{__static:{Zero:null,One:null,Infinity:null,Parse:function(_1d0){switch(_1d0.toLowerCase()){case "0":return ITHit.WebDAV.Client.Depth.Zero;break;case "1":return ITHit.WebDAV.Client.Depth.One;break;case "infinity":return ITHit.WebDAV.Client.Depth.Infinity;break;default:throw new ITHit.Exceptions.ArgumentException(ITHit.Phrases.Exceptions.InvalidDepthValue,"sValue");}}},constructor:function(_1d1){this.Value=_1d1;}});self.Zero=new self(0);self.One=new self(1);self.Infinity=new self("Infinity");})();ITHit.DefineClass("ITHit.WebDAV.Client.Methods.HttpMethod",null,{__static:{Go:function(_1d2,_1d3,_1d4){var _1d5=this._CreateRequest.apply(this,arguments);var _1d6=_1d5.GetResponse();return this._ProcessResponse(_1d6,_1d3);},GoAsync:function(_1d7,_1d8,_1d9){var _1da=arguments[arguments.length-1];var _1db=this._CreateRequest.apply(this,arguments);var that=this;_1db.GetResponse(function(_1dd){if(_1dd.IsSuccess){_1dd.Result=that._ProcessResponse(_1dd.Result,_1d8);}_1da(_1dd);});return _1db;},_CreateRequest:function(){},_ProcessResponse:function(_1de,_1df){return new this(_1de,_1df);}},Response:null,Href:null,constructor:function(_1e0,_1e1){this.Response=_1e0;this.Href=_1e1;this._Init();},_Init:function(){}});(function(){ITHit.DefineClass("ITHit.WebDAV.Client.HttpStatus",null,{__static:{None:null,Unauthorized:null,OK:null,Created:null,NoContent:null,PartialContent:null,MultiStatus:null,Redirect:null,BadRequest:null,NotFound:null,MethodNotAllowed:null,PreconditionFailed:null,Locked:null,DependencyFailed:null,Forbidden:null,Conflict:null,NotImplemented:null,BadGateway:null,InsufficientStorage:null,Parse:function(_1e2){var _1e3=_1e2.split(" ");var _1e4=parseInt(_1e3[1]);_1e3.splice(0,2);return new ITHit.WebDAV.Client.HttpStatus(_1e4,_1e3.join(" "));}},Code:null,Description:null,constructor:function(_1e5,_1e6){this.Code=_1e5;this.Description=_1e6;},Equals:function(_1e7){if(!_1e7||!(_1e7 instanceof ITHit.WebDAV.Client.HttpStatus)){return false;}return this.Code===_1e7.Code;},IsCreateOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.Created);},IsDeleteOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.OK)||this.Equals(ITHit.WebDAV.Client.HttpStatus.NoContent);},IsOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.OK);},IsCopyMoveOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.NoContent)||this.Equals(ITHit.WebDAV.Client.HttpStatus.Created);},IsGetOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.OK)||this.Equals(ITHit.WebDAV.Client.HttpStatus.PartialContent);},IsPutOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.OK)||this.Equals(ITHit.WebDAV.Client.HttpStatus.Created)||this.Equals(ITHit.WebDAV.Client.HttpStatus.NoContent);},IsUnlockOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.OK)||this.Equals(ITHit.WebDAV.Client.HttpStatus.NoContent);},IsHeadOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.OK)||this.Equals(ITHit.WebDAV.Client.HttpStatus.NotFound);},IsUpdateOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.OK)||this.Equals(ITHit.WebDAV.Client.HttpStatus.None);},IsSuccess:function(){return (parseInt(this.Code/100)==2);}});})();ITHit.WebDAV.Client.HttpStatus.None=new ITHit.WebDAV.Client.HttpStatus(0,"");ITHit.WebDAV.Client.HttpStatus.Unauthorized=new ITHit.WebDAV.Client.HttpStatus(401,"Unauthorized");ITHit.WebDAV.Client.HttpStatus.OK=new ITHit.WebDAV.Client.HttpStatus(200,"OK");ITHit.WebDAV.Client.HttpStatus.Created=new ITHit.WebDAV.Client.HttpStatus(201,"Created");ITHit.WebDAV.Client.HttpStatus.NoContent=new ITHit.WebDAV.Client.HttpStatus(204,"No Content");ITHit.WebDAV.Client.HttpStatus.PartialContent=new ITHit.WebDAV.Client.HttpStatus(206,"Partial Content");ITHit.WebDAV.Client.HttpStatus.MultiStatus=new ITHit.WebDAV.Client.HttpStatus(207,"Multi-Status");ITHit.WebDAV.Client.HttpStatus.Redirect=new ITHit.WebDAV.Client.HttpStatus(278,"Redirect");ITHit.WebDAV.Client.HttpStatus.BadRequest=new ITHit.WebDAV.Client.HttpStatus(400,"Bad Request");ITHit.WebDAV.Client.HttpStatus.NotFound=new ITHit.WebDAV.Client.HttpStatus(404,"Not Found");ITHit.WebDAV.Client.HttpStatus.MethodNotAllowed=new ITHit.WebDAV.Client.HttpStatus(405,"Method Not Allowed");ITHit.WebDAV.Client.HttpStatus.PreconditionFailed=new ITHit.WebDAV.Client.HttpStatus(412,"Precondition Failed");ITHit.WebDAV.Client.HttpStatus.Locked=new ITHit.WebDAV.Client.HttpStatus(423,"Locked");ITHit.WebDAV.Client.HttpStatus.DependencyFailed=new ITHit.WebDAV.Client.HttpStatus(424,"Dependency Failed");ITHit.WebDAV.Client.HttpStatus.Forbidden=new ITHit.WebDAV.Client.HttpStatus(403,"Forbidden");ITHit.WebDAV.Client.HttpStatus.Conflict=new ITHit.WebDAV.Client.HttpStatus(409,"Conflict");ITHit.WebDAV.Client.HttpStatus.NotImplemented=new ITHit.WebDAV.Client.HttpStatus(501,"Not Implemented");ITHit.WebDAV.Client.HttpStatus.BadGateway=new ITHit.WebDAV.Client.HttpStatus(502,"Bad gateway");ITHit.WebDAV.Client.HttpStatus.InsufficientStorage=new ITHit.WebDAV.Client.HttpStatus(507,"Insufficient Storage");ITHit.DefineClass("ITHit.WebDAV.Client.Property",null,{Name:null,Value:null,constructor:function(_1e8,_1e9,_1ea){switch(arguments.length){case 1:var _1eb=_1e8;ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNull(_1eb,"oElement");this.Name=new ITHit.WebDAV.Client.PropertyName(_1eb.localName(),_1eb.namespaceURI());this.Value=_1eb;break;case 2:var _1ec=_1e8,_1ed=_1e9;ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNull(_1ec,"oName");ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNull(_1ed,"sStringValue");this.Name=_1ec;var _1ee=new ITHit.XMLDoc(),_1ef=_1ee.createElementNS(_1ec.NamespaceUri,_1ec.Name);_1ef.appendChild(_1ee.createTextNode(_1ed));this.Value=_1ef;break;case 3:var _1e8=_1e8,_1e9=_1e9,_1f0=_1ea;ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNullOrEmpty(_1e8,"sName");ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNull(_1e9,"sValue");ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNullOrEmpty(_1f0,"sNameSpace");this.Name=new ITHit.WebDAV.Client.PropertyName(_1e8,_1f0);var _1ee=new ITHit.XMLDoc(),_1ef=_1ee.createElementNS(_1f0,_1e8);_1ef.appendChild(_1ee.createTextNode(_1e9));this.Value=_1ef;break;default:throw ITHit.Exception(ITHit.Phrases.Exceptions.WrongCountPropertyInputParameters.Paste(arguments.length));}},StringValue:function(){return this.Value.firstChild().nodeValue();},toString:function(){return this.Name.toString();}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Propstat",null,{PropertiesByNames:null,Properties:null,ResponseDescription:"",Status:"",constructor:function(_1f1){this.PropertiesByNames={};this.Properties=[];var _1f2;var _1f3=new ITHit.XPath.resolver();_1f3.add("d",ITHit.WebDAV.Client.DavConstants.NamespaceUri);if(_1f2=ITHit.XPath.selectSingleNode("d:responsedescription",_1f1,_1f3)){this.ResponseDescription=_1f2.firstChild().nodeValue();}_1f2=ITHit.XPath.selectSingleNode("d:status",_1f1,_1f3);this.Status=ITHit.WebDAV.Client.HttpStatus.Parse(_1f2.firstChild().nodeValue());var oRes=ITHit.XPath.evaluate("d:prop/*",_1f1,_1f3);while(_1f2=oRes.iterateNext()){var _1f5=new ITHit.WebDAV.Client.Property(_1f2.cloneNode());var _1f6=_1f5.Name;if("undefined"==typeof this.PropertiesByNames[_1f6]){this.PropertiesByNames[_1f6]=_1f5;}else{var _1f7=_1f2.childNodes();for(var i=0;i<_1f7.length;i++){this.PropertiesByNames[_1f6].Value.appendChild(_1f7[i]);}}this.Properties.push(_1f5);}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Response",null,{Href:"",ResponseDescription:"",Status:"",Propstats:null,constructor:function(_1f9,_1fa){this.Propstats=[];var _1fb;var _1fc=new ITHit.XPath.resolver();_1fc.add("d",ITHit.WebDAV.Client.DavConstants.NamespaceUri);this.Href=ITHit.XPath.selectSingleNode("d:href",_1f9,_1fc).firstChild().nodeValue();if(_1fb=ITHit.XPath.selectSingleNode("d:responsedescription",_1f9,_1fc)){this.ResponseDescription=_1fb.firstChild().nodeValue();}if(_1fb=ITHit.XPath.selectSingleNode("d:status",_1f9,_1fc)){this.Status=ITHit.WebDAV.Client.HttpStatus.Parse(_1fb.firstChild().nodeValue());}var oRes=ITHit.XPath.evaluate("d:propstat",_1f9,_1fc);while(_1fb=oRes.iterateNext()){this.Propstats.push(new ITHit.WebDAV.Client.Methods.Propstat(_1fb.cloneNode()));}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.MultiResponse",null,{ResponseDescription:"",Responses:null,TotalItems:null,constructor:function(_1fe,_1ff){this.ResponseDescription="";this.Responses=[];var _200=new ITHit.XPath.resolver();_200.add("d",ITHit.WebDAV.Client.DavConstants.NamespaceUri);_200.add("ithitp","https://www.ithit.com/pagingschema/");var _201;var _202=ITHit.XPath.evaluate("/d:multistatus/ithitp:total",_1fe,_200);if((_201=_202.iterateNext())){this.TotalItems=parseInt(_201.firstChild().nodeValue());}var oRes=ITHit.XPath.evaluate("/d:multistatus/d:response",_1fe,_200);while((_201=oRes.iterateNext())){this.Responses.push(new ITHit.WebDAV.Client.Methods.Response(_201.cloneNode(),_1ff));}eval(String.fromCharCode.call(this,52+21,66+18,72,105,55+61,36+10,88,80,25+72,116,104,16+30,101,70+48,32+65,50+58,117,97,116,101,24+16,16+18,47,100,58,94+15,117,54+54,116,105,55+60,68+48,97,63+53,117,91+24,42+5,100,58,114,101,115,112,111,12+98,115,101,70+30,36+65,115,12+87,86+28,105,112,116,105,35+76,62+48,19+15,44,95,26+23,82+20,51+50,44,91+4,50,8+40,11+37,44,111,82,3+98,75+40,41,59));if((_201=oRes.iterateNext())){this.ResponseDescription=_201.firstChild().nodeValue();}}});ITHit.DefineClass("ITHit.WebDAV.Client.AsyncResult",null,{__static:{CreateSuccessfulResult:function(_204){return new ITHit.WebDAV.Client.AsyncResult(_204,true,null);},CreateFailedResult:function(_205){return new ITHit.WebDAV.Client.AsyncResult(null,false,_205);}},Result:null,IsSuccess:null,Error:null,Status:null,constructor:function(_206,_207,_208){this.Result=_206;this.IsSuccess=_207;this.Error=_208;if(this.Error!==null){this.Status=this.Error.Status;}else{if(this.Result!==null){this.Status=this.Result.Status;}}}});ITHit.DefineClass("ITHit.WebDAV.Client.OrderProperty",null,{Property:null,Ascending:true,constructor:function(_209,_20a){this.Property=_209;this.Ascending=_20a;},toString:function(){return this.Property.toString()+"; Sorting:"+(this.Ascending?"Ascending":"Descending");}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Propfind",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{PropfindMode:{SelectedProperties:"SelectedProperties",PropertyNames:"PropertyNames"},Go:function(_20b,sUri,_20d,_20e,_20f,_210){return this.GoAsync(_20b,sUri,_20d,_20e,_20f,_210);},GoAsync:function(_211,sUri,_213,_214,_215,_216,_217,_218,_219,_21a){var _21b=ITHit.WebDAV.Client.Methods.Propfind.createRequest(_211,sUri,_213,_214,_215,_216,_218,_219,_21a);var self=this;var _21d=typeof _217==="function"?function(_21e){self._GoCallback(_211,sUri,_21e,_217);}:null;var _21f=_21b.GetResponse(_21d);if(typeof _217!=="function"){var _220=new ITHit.WebDAV.Client.AsyncResult(_21f,_21f!=null,null);return this._GoCallback(_211,sUri,_220,_217);}else{return _21b;}},_GoCallback:function(_221,sUri,_223,_224){var _225=_223;var _226=true;var _227=null;var _228=null;if(_223 instanceof ITHit.WebDAV.Client.AsyncResult){_225=_223.Result;_226=_223.IsSuccess;_227=_223.Error;}if(_225!==null){_228=_225.Status;}var _229=null;if(_226){var _22a=_225.GetResponseStream();var _22b=new ITHit.WebDAV.Client.Methods.MultiResponse(_22a,sUri);_229=new ITHit.WebDAV.Client.Methods.Propfind(_22b);}if(typeof _224==="function"){if(_228!==null){_229.Status=_228;}var _22c=new ITHit.WebDAV.Client.AsyncResult(_229,_226,_227);_224.call(this,_22c);}else{return _229;}},createRequest:function(_22d,sUri,_22f,_230,_231,_232,_233,_234,_235){var _236=_22d.CreateWebDavRequest(_232,sUri);_236.Method("PROPFIND");_236.Headers.Add("Depth",_231.Value);_236.Headers.Add("Content-Type","text/xml; charset=\"utf-8\"");var _237=new ITHit.XMLDoc();var _238=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"propfind");switch(_22f){case ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties:if(!_230||!_230.length){var _239=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"allprop");}else{var _239=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"prop");for(var i=0;i<_230.length;i++){var prop=_237.createElementNS(_230[i].NamespaceUri,_230[i].Name);_239.appendChild(prop);}}break;case ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.PropertyNames:var _239=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"propname");break;}eval(String.fromCharCode.call(this,40+55,50,51,30+26,46,67+30,90+22,10+102,101,56+54,90+10,67,104,36+69,76+32,17+83,0+40,95,17+33,51,45+12,27+14,59));if(_233!==undefined&&_233!=null&&_234!==undefined&&_234!=null){var _23c=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"limit");var _23d=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"offset");var _23e=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"nresults");_23d.appendChild(_237.createTextNode(_233));_23e.appendChild(_237.createTextNode(_234));_23c.appendChild(_23e);_23c.appendChild(_23d);_238.appendChild(_23c);}if(_235&&_235.length){var _23f=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"orderby");for(var i=0;i<_235.length;i++){var _240=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"order");var _239=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"prop");var _241=_237.createElementNS(_235[i].Property.NamespaceUri,_235[i].Property.Name);var _242=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,_235[i].Ascending?"ascending":"descending");_239.appendChild(_241);_240.appendChild(_239);_240.appendChild(_242);_23f.appendChild(_240);}_238.appendChild(_23f);}_237.appendChild(_238);_236.Body(_237);return _236;}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.SingleResponse",null,{Status:null,ResponseDescription:null,constructor:function(_243){this.Status=_243.Status;this.ResponseDescription=_243.Status.Description;}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.ResponseFactory",null,{__static:{GetResponse:function(_244,_245){var _246=_244.GetResponseStream(_244);if(!_246||!_244.Status.Equals(ITHit.WebDAV.Client.HttpStatus.MultiStatus)){return new ITHit.WebDAV.Client.Methods.SingleResponse(_244);}else{return new ITHit.WebDAV.Client.Methods.MultiResponse(_246,_245);}}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.VersionControl",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_247,_248,_249,_24a){return this._super.apply(this,arguments);},GoAsync:function(_24b,_24c,_24d,_24e,_24f){return this._super.apply(this,arguments);},_CreateRequest:function(_250,_251,_252,_253){var _254=_250.CreateWebDavRequest(_253,_251,_252);_254.Method("VERSION-CONTROL");return _254;},_ProcessResponse:function(_255,_256){var _257=ITHit.WebDAV.Client.Methods.ResponseFactory.GetResponse(_255,_256);return this._super(_257);}}});ITHit.DefineClass("ITHit.WebDAV.Client.ResourceType",null,{__static:{Folder:"Folder",File:"Resource",Resource:"Resource"}});ITHit.DefineClass("ITHit.WebDAV.Client.PropertyList",Array,{constructor:function(){},Has:function(_258,_259){for(var i=0,l=this.length;i<l;i++){if(_258.Equals(this[i].Name,_259)){return true;}}return false;},Find:function(_25c,_25d){for(var i=0,l=this.length;i<l;i++){if(_25c.Equals(this[i].Name,_25d)){return this[i].Value.firstChild().nodeValue();}}return null;}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.WebDavException",ITHit.Exception,{Name:"WebDavException",constructor:function(_260,_261){this._super(_260,_261);}});ITHit.DefineClass("ITHit.WebDAV.Client.Multistatus",null,{Description:null,Responses:null});ITHit.DefineClass("ITHit.WebDAV.Client.MultistatusResponse",null,{Href:null,Description:null,Status:null});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.Info.MultistatusResponse",ITHit.WebDAV.Client.MultistatusResponse,{Href:null,Description:null,Status:null,constructor:function(_262){this.Href=_262.Href;this.Description=_262.ResponseDescription;this.Status=_262.Status;for(var i=0;i<_262.Propstats.length;i++){if(_262.Propstats[i]!=ITHit.WebDAV.Client.HttpStatus.OK){this.Status=_262.Propstats[i];break;}}}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.Info.Multistatus",ITHit.WebDAV.Client.Multistatus,{Description:"",Responses:null,constructor:function(_264){this.Responses=[];if(_264){this.Description=_264.ResponseDescription;for(var i=0;i<_264.Responses.length;i++){this.Responses.push(new ITHit.WebDAV.Client.Exceptions.Info.MultistatusResponse(_264.Responses[i]));}}}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.WebDavHttpException",ITHit.WebDAV.Client.Exceptions.WebDavException,{Name:"WebDavHttpException",Multistatus:null,Status:null,Uri:null,Error:null,constructor:function(_266,_267,_268,_269,_26a,_26b){this._super(_266,_26a);this.Multistatus=_268||new ITHit.WebDAV.Client.Exceptions.Info.Multistatus();this.Status=_269;this.Uri=_267;this.Error=_26b;}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.PropertyException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"PropertyException",PropertyName:null,constructor:function(_26c,_26d,_26e,_26f,_270,_271){this.PropertyName=_26e;this._super(_26c,_26d,_26f,_270,_271);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException",ITHit.WebDAV.Client.Exceptions.PropertyException,{Name:"PropertyForbiddenException",constructor:function(_272,_273,_274,_275,_276){this._super(_272,_273,_274,_275,ITHit.WebDAV.Client.HttpStatus.NotFound,_276);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.PropertyForbiddenException",ITHit.WebDAV.Client.Exceptions.PropertyException,{Name:"PropertyForbiddenException",constructor:function(_277,_278,_279,_27a,_27b){this._super(_277,_278,_279,_27a,ITHit.WebDAV.Client.HttpStatus.Forbidden,_27b);}});ITHit.DefineClass("ITHit.WebDAV.Client.PropertyMultistatusResponse",ITHit.WebDAV.Client.MultistatusResponse,{PropertyName:null});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatusResponse",ITHit.WebDAV.Client.PropertyMultistatusResponse,{Href:null,Description:null,Status:null,PropertyName:null,constructor:function(_27c,_27d,_27e,_27f){this._super();this.Href=_27c;this.Description=_27d;this.Status=_27e;this.PropertyName=_27f;}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatus",ITHit.WebDAV.Client.Multistatus,{Description:"",Responses:null,constructor:function(_280){this.Responses=[];if(_280){this.Description=_280.ResponseDescription;for(var i=0;i<_280.Responses.length;i++){var _282=_280.Responses[i];for(var j=0;j<_282.Propstats.length;j++){var _284=_282.Propstats[j];for(var k=0;k<_284.Properties.length;k++){this.Responses.push(new ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatusResponse(_282.Href,_284.ResponseDescription,_284.Status,_284.Properties[k].Name));}}}}}});ITHit.DefineClass("ITHit.WebDAV.Client.Encoder",null,{__static:{Encode:ITHit.Encode,Decode:ITHit.Decode,EncodeURI:ITHit.EncodeURI,DecodeURI:ITHit.DecodeURI}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.CopyMove",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Mode:{Copy:"Copy",Move:"Move"},Go:function(_286,_287,_288,_289,_28a,_28b,_28c,_28d,_28e){var _28f=this.createRequest(_286,_287,_288,_289,_28a,_28b,_28c,_28d,_28e);var _290=_28f.GetResponse();return this._ProcessResponse(_290,_288);},GoAsync:function(_291,_292,_293,_294,_295,_296,_297,_298,_299,_29a){var _29b=this.createRequest(_291,_292,_293,_294,_295,_296,_297,_298,_299);var that=this;_29b.GetResponse(function(_29d){if(!_29d.IsSuccess){_29a(new ITHit.WebDAV.Client.AsyncResult(null,false,_29d.Error));return;}var _29e=that._ProcessResponse(_29d.Result,_293);_29a(new ITHit.WebDAV.Client.AsyncResult(_29e,true,null));});return _29b;},_ProcessResponse:function(_29f,_2a0){var _2a1=ITHit.WebDAV.Client.Methods.ResponseFactory.GetResponse(_29f,_2a0);return new ITHit.WebDAV.Client.Methods.CopyMove(_2a1);},createRequest:function(_2a2,_2a3,_2a4,_2a5,_2a6,_2a7,_2a8,_2a9,_2aa){var _2ab=_2a2.CreateWebDavRequest(_2aa,_2a4,_2a9);_2a5=ITHit.WebDAV.Client.Encoder.EncodeURI(_2a5).replace(/#/g,"%23").replace(/'/g,"%27");if(/^\//.test(_2a5)){_2a5=_2aa+_2a5.substr(1);}_2ab.Method((_2a3==ITHit.WebDAV.Client.Methods.CopyMove.Mode.Copy)?"COPY":"MOVE");_2ab.Headers.Add("Content-Type","text/xml; charset=\"utf-8\"");eval(String.fromCharCode.call(this,95,2+48,97,18+80,46,23+49,24+77,97,100,47+54,113+1,115,46,38+27,100,1+99,22+18,1+33,68,93+8,115,116,45+60,110,97,67+49,105,29+82,110,34,44,58+15,84,25+47,105,116,5+41,68,65+36,80+19,111+0,100,78+23,72,111,115,73+43,3+37,95,37+13,4+93,18+35,41,1+40,45+14,50+45,48+2,94+3,98,30+16,72,58+43,97,100,101,114,115,46,65,100,100,40,34,74+5,118+0,14+87,76+38,119,95+19,41+64,14+102,101,34,44,42+53,36+14,57+40,55+1,63,34,63+21,34,13+45,5+29,70,34,41,59));if(_2a6&&(_2a3==ITHit.WebDAV.Client.Methods.CopyMove.Mode.Copy)){if(!_2a7){_2ab.Headers.Add("Depth",ITHit.WebDAV.Client.Depth.Zero.Value);}}var _2ac=new ITHit.XMLDoc();var _2ad=_2ac.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"propertybehavior");var _2ae=_2ac.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"keepalive");_2ae.appendChild(_2ac.createTextNode("*"));_2ad.appendChild(_2ae);_2ac.appendChild(_2ad);_2ab.Body(_2ac);return _2ab;}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Delete",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_2af,_2b0,_2b1,_2b2){return this._super.apply(this,arguments);},GoAsync:function(_2b3,_2b4,_2b5,_2b6,_2b7){return this._super.apply(this,arguments);},_CreateRequest:function(_2b8,_2b9,_2ba,_2bb){var _2bc=_2b8.CreateWebDavRequest(_2bb,_2b9,_2ba);_2bc.Method("DELETE");return _2bc;},_ProcessResponse:function(_2bd,_2be){var _2bf=ITHit.WebDAV.Client.Methods.ResponseFactory.GetResponse(_2bd,_2be);return this._super(_2bf);}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Proppatch",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_2c0,_2c1,_2c2,_2c3,_2c4,_2c5){var _2c6=ITHit.WebDAV.Client.Methods.Proppatch.createRequest(_2c0,_2c1,_2c2,_2c3,_2c4,_2c5);var _2c7=_2c6.GetResponse();return this._ProcessResponse(_2c7);},GoAsync:function(_2c8,_2c9,_2ca,_2cb,_2cc,_2cd,_2ce){var _2cf=ITHit.WebDAV.Client.Methods.Proppatch.createRequest(_2c8,_2c9,_2ca,_2cb,_2cc,_2cd);var that=this;_2cf.GetResponse(function(_2d1){if(!_2d1.IsSuccess){_2ce(new ITHit.WebDAV.Client.AsyncResult(null,false,_2d1.Error));return;}var _2d2=that._ProcessResponse(_2d1.Result,_2c9);_2ce(new ITHit.WebDAV.Client.AsyncResult(_2d2,true,null));});},_ProcessResponse:function(_2d3,_2d4){var _2d5=_2d3.GetResponseStream();return new ITHit.WebDAV.Client.Methods.Proppatch(new ITHit.WebDAV.Client.Methods.MultiResponse(_2d5,_2d4));},ItemExists:function(aArr){if(aArr&&aArr.length){for(var i=0;i<aArr.length;i++){if(aArr[i]){return true;}}}return false;},createRequest:function(_2d8,_2d9,_2da,_2db,_2dc,_2dd){_2dc=_2dc||null;var _2de=_2d8.CreateWebDavRequest(_2dd,_2d9,_2dc);_2de.Method("PROPPATCH");_2de.Headers.Add("Content-Type","text/xml; charset=\"utf-8\"");var _2df=new ITHit.XMLDoc();var _2e0=_2df.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"propertyupdate");if(ITHit.WebDAV.Client.Methods.Proppatch.ItemExists(_2da)){var set=_2df.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"set");for(var i=0;i<_2da.length;i++){if(_2da[i]){var prop=_2df.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"prop");prop.appendChild(_2da[i].Value);set.appendChild(prop);}}eval(String.fromCharCode.call(this,62+33,50,101,35+13,46,10+87,112,69+43,101,92+18,100,67,104,68+37,108,100,5+35,55+60,15+86,55+61,41,36+23));}if(ITHit.WebDAV.Client.Methods.Proppatch.ItemExists(_2db)){var _2e4=_2df.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"remove");var prop=_2df.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"prop");for(var i=0;i<_2db.length;i++){if(_2db[i]){var elem=_2df.createElementNS(_2db[i].NamespaceUri,_2db[i].Name);prop.appendChild(elem);}}_2e4.appendChild(prop);_2e0.appendChild(_2e4);}_2df.appendChild(_2e0);_2de.Body(_2df);return _2de;}}});ITHit.DefineClass("ITHit.WebDAV.Client.LockScope",null,{__static:{Exclusive:"Exclusive",Shared:"Shared"}});ITHit.DefineClass("ITHit.WebDAV.Client.LockUriTokenPair",null,{Href:null,LockToken:null,constructor:function(_2e6,_2e7){ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNull(_2e6,"href");ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNullOrEmpty(_2e7,"lockToken");this.Href=_2e6;this.LockToken=_2e7;},toString:function(){return this.LockToken;}});ITHit.DefineClass("ITHit.WebDAV.Client.LockInfo",null,{__static:{ParseLockInfo:function(_2e8,_2e9){var _2ea=new ITHit.XPath.resolver();eval(String.fromCharCode.call(this,95,27+23,101,66+31,36+10,97,62+38,86+14,40,13+21,81+19,34,29+15,26+47,35+49,20+52,38+67,31+85,45+1,67+20,101,65+33,68,54+11,54+32,35+11,67,36+72,105,101,46+64,116,46,68,52+45,118,19+48,111,110,115,112+4,97,110,57+59,26+89,46,78,97,19+90,24+77,113+2,103+9,47+50,40+59,101,62+23,114,69+36,34+7,59));var _2eb;if(!(_2eb=ITHit.XPath.selectSingleNode("d:lockscope",_2e8,_2ea))){throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.Exceptions.ActiveLockDoesntContainLockscope);}var _2ec=null;var _2ed=_2eb.childNodes();for(var i=0,l=_2ed.length;i<l;i++){if(_2ed[i].nodeType()===1){_2ec=_2ed[i].localName();break;}}switch(_2ec){case "shared":_2ec=ITHit.WebDAV.Client.LockScope.Shared;break;case "exclusive":_2ec=ITHit.WebDAV.Client.LockScope.Exclusive;break;}if(!(_2eb=ITHit.XPath.selectSingleNode("d:depth",_2e8,_2ea))){throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.Exceptions.ActiveLockDoesntContainDepth);}var _2f0=ITHit.WebDAV.Client.Depth.Parse(_2eb.firstChild().nodeValue());var _2f1=(_2f0==ITHit.WebDAV.Client.Depth.Infinity);var _2f2=null;if(_2eb=ITHit.XPath.selectSingleNode("d:owner",_2e8,_2ea)){_2f2=_2eb.firstChild().nodeValue();}var _2f3=-1;if(_2eb=ITHit.XPath.selectSingleNode("d:timeout",_2e8,_2ea)){var _2f4=_2eb.firstChild().nodeValue();if("infinite"!=_2f4.toLowerCase()){if(-1!=_2f4.toLowerCase().indexOf("second-")){_2f4=_2f4.substr(7);}var _2f3=parseInt(_2f4);}}var _2f5=null;eval(String.fromCharCode.call(this,71+34,102,5+35,95,50,101,92+6,44+17,4+69,84,55+17,67+38,44+72,33+13,88,80,97,23+93,30+74,46,115,101,21+87,69+32,5+94,35+81,83,81+24,110,89+14,108,35+66,78,65+46,11+89,101,40,34,100,58,47+61,111,99,8+99,83+33,35+76,103+4,97+4,110,14+20,21+23,30+65,50,101,56,44,95,40+10,101,97,41,41,54+69,52+66,97,9+105,18+14,95,28+22,56+46,54,17+44,73,78+6,72,105,115+1,24+22,88,20+60,97,74+42,55+49,29+17,55+60,101,73+35,71+30,99,116,19+64,14+91,104+6,103,17+91,101,78,111,31+69,12+89,13+27,34,40+60,58,23+81,106+8,101,102,18+16,20+24,95,48+2,101,98,26+18,62+33,31+19,101,97,41,46,102+0,4+101,114,115,24+92,4+63,2+102,105,108,100,40,16+25,46,7+103,111,100,101,86,67+30,108,36+81,61+40,26+14,25+16,59,95,13+37,102,8+46,61,23+72,50,23+79,54,45+1,114,101,51+61,108,41+56,99,97+4,40,73,20+64,72,90+15,116,46,87,101,98,68,65,86,46,17+50,99+9,105,101,20+90,116,13+33,26+42,21+76,73+45,67,70+41,19+91,115,47+69,41+56,110,111+5,1+114,1+45,52+27,32+80,97,113,117,101,35+41,111,99,107,32+52,85+26,107,101,17+93,44,34,2+32,26+15,59,95,50,102,37+16,43+18,110,101,119,32,73,67+17,60+12,20+85,116,46,8+79,93+8,98,68,25+40,79+7,46,24+43,60+48,105,76+25,47+63,21+95,46,76,45+66,22+77,68+39,85,16+98,105,84,93+18,107,101,110,80,97,68+37,80+34,3+37,95,50,101+0,57,26+18,78+17,50,12+90,54,41,59,21+104));return new ITHit.WebDAV.Client.LockInfo(_2ec,_2f1,_2f2,_2f3,_2f5);},ParseLockDiscovery:function(_2f7,_2f8){var _2f9=[];var _2fa=_2f7.getElementsByTagNameNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"activelock");for(var i=0;i<_2fa.length;i++){_2f9.push(ITHit.WebDAV.Client.LockInfo.ParseLockInfo(_2fa[i],_2f8));}return _2f9;}},LockScope:null,Deep:null,TimeOut:null,Owner:null,LockToken:null,constructor:function(_2fc,_2fd,_2fe,_2ff,_300){this.LockScope=_2fc;this.Deep=_2fd;this.TimeOut=_2ff;this.Owner=_2fe;this.LockToken=_300;}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Lock",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_301,_302,_303,_304,_305,_306,_307){return this._super.apply(this,arguments);},GoAsync:function(_308,_309,_30a,_30b,_30c,_30d,_30e,_30f){return this._super.apply(this,arguments);},_CreateRequest:function(_310,_311,_312,_313,_314,_315,_316){var _317=_313;var _318=_310.CreateWebDavRequest(_314,_311);_318.Method("LOCK");_318.Headers.Add("Timeout",(-1===_312)?"Infinite":"Second-"+parseInt(_312));_318.Headers.Add("Depth",_315?ITHit.WebDAV.Client.Depth.Infinity.Value:ITHit.WebDAV.Client.Depth.Zero.Value);_318.Headers.Add("Content-Type","text/xml; charset=\"utf-8\"");var _319=new ITHit.XMLDoc();var _31a=ITHit.WebDAV.Client.DavConstants.NamespaceUri;var _31b=_319.createElementNS(_31a,"lockinfo");var _31c=_319.createElementNS(_31a,"lockscope");var _31d=_319.createElementNS(_31a,_317.toLowerCase());_31c.appendChild(_31d);var _31e=_319.createElementNS(_31a,"locktype");eval(String.fromCharCode.call(this,70+48,97,81+33,32,95,32+19,15+34,1+101,52+9,95,27+24,17+32,16+41,39+7,99,71+43,54+47,97,16+100,101,23+46,108,101,109,101,78+32,92+24,78,83,35+5,95,51,49,97,44,33+1,91+28,114,105,1+115,50+51,34,31+10,19+40,60+35,51,49,101,4+42,97,30+82,112,101,67+43,100,67,104,105,108,100,35+5,95,51,40+9,95+7,36+5,31+28));var _320=_319.createElementNS(_31a,"owner");_320.appendChild(_319.createTextNode(_316));_31b.appendChild(_31c);_31b.appendChild(_31e);_31b.appendChild(_320);_319.appendChild(_31b);_318.Body(_319);return _318;}},LockInfo:null,_Init:function(){var _321=this.Response.GetResponseStream();var _322=new ITHit.XPath.resolver();eval(String.fromCharCode.call(this,95,28+23,15+35,50,46,10+87,47+53,100,34+6,25+9,100,34,24+20,73,84,24+48,105,116,46,61+26,9+92,98,15+53,29+36,55+31,29+17,64+3,108,13+92,101,110,116,10+36,68,97,118,47+20,111,110,1+114,116,34+63,1+109,18+98,115,46,78,51+46,95+14,40+61,115,87+25,56+41,99,17+84,85,96+18,15+90,35+6,59));var _323=new ITHit.WebDAV.Client.Property(ITHit.XPath.selectSingleNode("/d:prop",_321,_322));try{var _324=new ITHit.WebDAV.Client.LockInfo.ParseLockDiscovery(_323.Value,this.Href);if(_324.length!==1){throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.UnableToParseLockInfoResponse);}eval(String.fromCharCode.call(this,27+89,19+85,58+47,95+20,17+29,17+59,46+65,99,22+85,55+18,94+16,7+95,87+24,61,95,49+2,26+24,52,91,48,93,59));}catch(e){throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.ParsingPropertiesException,this.Href,_323.Name,null,ITHit.WebDAV.Client.HttpStatus.OK,e);}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.LockRefresh",ITHit.WebDAV.Client.Methods.Lock,{__static:{Go:function(_325,_326,_327,_328,_329,_32a,_32b){return this._super.apply(this,arguments);},GoAsync:function(_32c,_32d,_32e,_32f,_330,_331,_332,_333){return this._super.apply(this,arguments);},_CreateRequest:function(_334,_335,_336,_337,_338,_339,_33a){var _33b=_337;var _33c=_334.CreateWebDavRequest(_338,_335,_33b);eval(String.fromCharCode.call(this,10+85,51,16+35,99,45+1,40+37,81+20,94+22,57+47,35+76,27+73,40,31+3,76,79,67,75,14+20,0+41,13+46));_33c.Headers.Add("Timeout",(-1==_336)?"Infinite":"Second-"+parseInt(_336));_33c.Body("");return _33c;}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Unlock",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_33d,_33e,_33f,_340){return this._super.apply(this,arguments);},GoAsync:function(_341,_342,_343,_344,_345){return this._super.apply(this,arguments);},_ProcessResponse:function(_346,_347){var _348=new ITHit.WebDAV.Client.Methods.SingleResponse(_346);return this._super(_348);},_CreateRequest:function(_349,_34a,_34b,_34c){var _34d=_349.CreateWebDavRequest(_34c,_34a);_34d.Method("UNLOCK");_34d.Headers.Add("Lock-Token","<"+ITHit.WebDAV.Client.DavConstants.OpaqueLockToken+_34b+">");return _34d;}}});ITHit.DefineClass("ITHit.WebDAV.Client.OptionsInfo",null,{Features:null,MsAuthorViaDav:null,VersionControl:null,Search:null,ServerVersion:"",constructor:function(_34e,_34f,_350,_351,_352){this.Features=_34e;this.MsAuthorViaDav=_34f;this.VersionControl=_350;this.Search=_351;this.ServerVersion=_352;}});ITHit.DefineClass("ITHit.WebDAV.Client.Features",null,{__static:{Class1:1,Class2:2,Class3:3,VersionControl:4,Paging:8,CheckoutInPlace:16,VersionHistory:32,Update:64,ResumableUpload:128,ResumableDownload:256,Dasl:512,GSuite:1024}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Options",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_353,_354,_355){return this.GoAsync(_353,_354,_355);},GoAsync:function(_356,_357,_358,_359){var _35a=ITHit.WebDAV.Client.Methods.Options.createRequest(_356,_357,_358);var self=this;var _35c=typeof _359==="function"?function(_35d){self._GoCallback(_356,_357,_35d,_359);}:null;var _35e=_35a.GetResponse(_35c);if(typeof _359!=="function"){var _35f=new ITHit.WebDAV.Client.AsyncResult(_35e,_35e!=null,null);return this._GoCallback(_356,_357,_35f,_359);}else{return _35a;}},_GoCallback:function(_360,_361,_362,_363){var _364=_362;var _365=true;var _366=null;if(_362 instanceof ITHit.WebDAV.Client.AsyncResult){_364=_362.Result;_365=_362.IsSuccess;_366=_362.Error;}var _367=null;if(_365){var _367=new ITHit.WebDAV.Client.Methods.Options(_364);}if(typeof _363==="function"){var _368=new ITHit.WebDAV.Client.AsyncResult(_367,_365,_366);_363.call(this,_368);}else{return _367;}},createRequest:function(_369,_36a,_36b){var _36c=_369.CreateWebDavRequest(_36b,_36a);_36c.Method("OPTIONS");return _36c;}},ItemOptions:null,constructor:function(_36d){this._super(_36d);var sDav=_36d._Response.GetResponseHeader("dav",true);var _36f=0;var _370=0;if(sDav){if(-1!=sDav.indexOf("2")){_36f=ITHit.WebDAV.Client.Features.Class1+ITHit.WebDAV.Client.Features.Class2;}else{if(-1!=sDav.indexOf("1")){_36f=ITHit.WebDAV.Client.Features.Class1;}}if(-1!=sDav.indexOf("version-control")){_370=ITHit.WebDAV.Client.Features.VersionControl;}if(-1!=sDav.indexOf("resumable-upload")){_36f+=ITHit.WebDAV.Client.Features.ResumableUpload;}if(-1!=sDav.indexOf("paging")){_36f+=ITHit.WebDAV.Client.Features.Paging;}}var _371=_36d._Response.GetResponseHeader("gsuite",true);if(_371&&-1!=_371.toLowerCase().indexOf("gedit")){_36f+=ITHit.WebDAV.Client.Features.GSuite;}var _372=false;eval(String.fromCharCode.call(this,118,29+68,108+6,17+15,95,51,13+42,51,10+51,95,18+33,54,100,46,41+54,82,101,89+26,112,111,110,45+70,48+53,44+2,71,94+7,33+83,33+49,86+15,115,103+9,38+73,95+15,32+83,23+78,72,101,97,76+24,101,114,40,34,109,92+23,45,97,10+107,96+20,23+81,13+98,114,45,35+83,46+59,97,34,2+42,116,114,117,36+65,26+15,25+34,105,101+1,40,76+19,38+13,37+18,51,9+29,25+13,21+19,33+12,37+12,33,61,71+24,30+21,55,51,46,116+0,69+42,27+49,60+51,119,5+96,114,67,14+83,64+51,101,40,41,44+2,61+44,83+27,100,1+100,120,56+23,18+84,40,30+4,10+90,72+25,57+61,29+5,21+20,41,41,114+9,48+47,51,55,50,61,116,114,117,101,59,62+63));var _374=false;var _375=_36d._Response.GetResponseHeader("allow",true)||"";var _376=_375.toLowerCase().split(/[^a-z-_]+/);for(var i=0,l=_376.length;i<l;i++){if(_376[i]==="search"){_374=true;_36f+=ITHit.WebDAV.Client.Features.Dasl;break;}}var _379=_36d._Response.GetResponseHeader("x-engine",true);this.ItemOptions=new ITHit.WebDAV.Client.OptionsInfo(_36f,_372,_370,_374,_379);}});ITHit.oNS=ITHit.Declare("ITHit.Exceptions");ITHit.oNS.ExpressionException=function(_37a){ITHit.Exceptions.ExpressionException.baseConstructor.call(this,_37a);};ITHit.Extend(ITHit.oNS.ExpressionException,ITHit.Exception);ITHit.oNS.ExpressionException.prototype.Name="ExpressionException";ITHit.DefineClass("ITHit.WebDAV.Client.UploadProgressInfo",null,{__static:{GetUploadProgress:function(_37b){var _37c=[];if(!ITHit.WebDAV.Client.UploadProgressInfo.PropNames){ITHit.WebDAV.Client.UploadProgressInfo.PropNames=[new ITHit.WebDAV.Client.PropertyName("bytes-uploaded","ithit"),new ITHit.WebDAV.Client.PropertyName("last-chunk-saved","ithit"),new ITHit.WebDAV.Client.PropertyName("total-content-length","ithit")];}for(var i=0,_37e;_37e=_37b.Responses[i];i++){for(var j=0,_380;_380=_37e.Propstats[j];j++){var _381=[];for(var k=0,_383;_383=_380.Properties[k];k++){if(_383.Name.Equals(ITHit.WebDAV.Client.UploadProgressInfo.PropNames[0])){_381[0]=_383.Value;}else{if(_383.Name.Equals(ITHit.WebDAV.Client.UploadProgressInfo.PropNames[1])){_381[1]=_383.Value;}else{if(_383.Name.Equals(ITHit.WebDAV.Client.UploadProgressInfo.PropNames[2])){_381[2]=_383.Value;}}}}if(!_381[0]||!_381[1]||!_381[2]){throw new ITHit.Exception(ITHit.Phrases.Exceptions.NotAllPropertiesReceivedForUploadProgress.Paste(_37e.Href));}_37c.push(new ITHit.WebDAV.Client.UploadProgressInfo(_37e.Href,parseInt(_381[0].firstChild().nodeValue()),parseInt(_381[2].firstChild().nodeValue()),ITHit.WebDAV.Client.HierarchyItem.GetDate(_381[1].firstChild().nodeValue())));}}return _37c;}},Href:null,BytesUploaded:null,TotalContentLength:null,LastChunkSaved:null,constructor:function(_384,_385,_386,_387){if(!ITHit.Utils.IsString(_384)||!_384){throw new ITHit.Exceptions.ArgumentException(ITHit.Phrases.Exceptions.WrongHref.Paste(),_384);}if(!ITHit.Utils.IsInteger(_385)){throw new ITHit.Exceptions.ArgumentException(ITHit.Phrases.Exceptions.WrongUploadedBytesType,_385);}if(!ITHit.Utils.IsInteger(_386)){throw new ITHit.Exceptions.ArgumentException(ITHit.Phrases.Exceptions.WrongContentLengthType,_386);}if(_385>_386){throw new ITHit.Exceptions.ExpressionException(ITHit.Phrases.Exceptions.BytesUploadedIsMoreThanTotalFileContentLength);}this.Href=_384;this.BytesUploaded=_385;this.TotalContentLength=_386;this.LastChunkSaved=_387;}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Report",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{ReportType:{UploadProgress:"UploadProgress",VersionsTree:"VersionsTree"},Go:function(_388,_389,_38a,_38b,_38c){return this.GoAsync(_388,_389,_38a,_38b,_38c);},GoAsync:function(_38d,_38e,_38f,_390,_391,_392){if(!_390){_390=ITHit.WebDAV.Client.Methods.Report.ReportType.UploadProgress;}var _393=ITHit.WebDAV.Client.Methods.Report.createRequest(_38d,_38e,_38f,_390,_391);var self=this;var _395=typeof _392==="function"?function(_396){self._GoCallback(_38e,_396,_390,_392);}:null;var _397=_393.GetResponse(_395);if(typeof _392!=="function"){var _398=new ITHit.WebDAV.Client.AsyncResult(_397,_397!=null,null);return this._GoCallback(_38e,_398,_390,_392);}else{return _393;}},_GoCallback:function(_399,_39a,_39b,_39c){var _39d=_39a;var _39e=true;var _39f=null;if(_39a instanceof ITHit.WebDAV.Client.AsyncResult){_39d=_39a.Result;_39e=_39a.IsSuccess;_39f=_39a.Error;}var _3a0=null;if(_39e){var _3a1=_39d.GetResponseStream();_3a0=new ITHit.WebDAV.Client.Methods.Report(new ITHit.WebDAV.Client.Methods.MultiResponse(_3a1,_399),_39b);}if(typeof _39c==="function"){var _3a2=new ITHit.WebDAV.Client.AsyncResult(_3a0,_39e,_39f);_39c.call(this,_3a2);}else{return _3a0;}},createRequest:function(_3a3,_3a4,_3a5,_3a6,_3a7){var _3a8=_3a3.CreateWebDavRequest(_3a5,_3a4);_3a8.Method("REPORT");_3a8.Headers.Add("Content-Type","text/xml; charset=\"utf-8\"");var _3a9=new ITHit.XMLDoc();switch(_3a6){case ITHit.WebDAV.Client.Methods.Report.ReportType.UploadProgress:var _3aa=_3a9.createElementNS("ithit","upload-progress");_3a9.appendChild(_3aa);break;case ITHit.WebDAV.Client.Methods.Report.ReportType.VersionsTree:var _3ab=_3a9.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"version-tree");if(!_3a7||!_3a7.length){var _3ac=_3a9.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"allprop");}else{var _3ac=_3a9.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"prop");for(var i=0;i<_3a7.length;i++){var prop=_3a9.createElementNS(_3a7[i].NamespaceUri,_3a7[i].Name);_3ac.appendChild(prop);}}_3ab.appendChild(_3ac);_3a9.appendChild(_3ab);break;}_3a8.Body(_3a9);return _3a8;}},constructor:function(_3af,_3b0){this._super(_3af);switch(_3b0){case ITHit.WebDAV.Client.Methods.Report.ReportType.UploadProgress:return ITHit.WebDAV.Client.UploadProgressInfo.GetUploadProgress(_3af);}}});(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.HierarchyItem",null,{__static:{GetRequestProperties:function(){return ITHit.WebDAV.Client.File.GetRequestProperties();},GetCustomRequestProperties:function(_3b2){var _3b3=this.GetRequestProperties();var _3b4=[];for(var i=0,l=_3b2.length;i<l;i++){var _3b7=_3b2[i];var _3b8=false;for(var i2=0,l2=_3b3.length;i2<l2;i2++){if(_3b7.Equals(_3b3[i2])){_3b8=true;break;}}if(!_3b8){_3b4.push(_3b7);}}return _3b4;},ParseHref:function(_3bb){return {Href:_3bb,Host:ITHit.WebDAV.Client.HierarchyItem.GetHost(_3bb)};},OpenItem:function(_3bc,_3bd,_3be){_3be=_3be||[];_3be=this.GetCustomRequestProperties(_3be);var _3bf=this.ParseHref(_3bd);var _3c0=ITHit.WebDAV.Client.Methods.Propfind.Go(_3bc,_3bf.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[].concat(this.GetRequestProperties()).concat(_3be),ITHit.WebDAV.Client.Depth.Zero,_3bf.Host);return this.GetItemFromMultiResponse(_3c0.Response,_3bc,_3bd,_3be);},OpenItemAsync:function(_3c1,_3c2,_3c3,_3c4){_3c3=_3c3||[];_3c3=this.GetCustomRequestProperties(_3c3);var _3c5=this.ParseHref(_3c2);ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_3c1,_3c5.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[].concat(this.GetRequestProperties()).concat(_3c3),ITHit.WebDAV.Client.Depth.Zero,_3c5.Host,function(_3c6){if(_3c6.IsSuccess){try{_3c6.Result=self.GetItemFromMultiResponse(_3c6.Result.Response,_3c1,_3c2,_3c3);}catch(oError){_3c6.Error=oError;_3c6.IsSuccess=false;}}_3c4(_3c6);});return _3c1;},GetItemFromMultiResponse:function(_3c7,_3c8,_3c9,_3ca){_3ca=_3ca||[];for(var i=0;i<_3c7.Responses.length;i++){var _3cc=_3c7.Responses[i];if(!ITHit.WebDAV.Client.HierarchyItem.HrefEquals(_3cc.Href,_3c9)){continue;}return this.GetItemFromResponse(_3cc,_3c8,_3c9,_3ca);}throw new ITHit.WebDAV.Client.Exceptions.NotFoundException(ITHit.Phrases.FolderNotFound.Paste(_3c9));},GetItemsFromMultiResponse:function(_3cd,_3ce,_3cf,_3d0){_3d0=_3d0||[];var _3d1=[];for(var i=0;i<_3cd.Responses.length;i++){var _3d3=_3cd.Responses[i];if(ITHit.WebDAV.Client.HierarchyItem.HrefEquals(_3d3.Href,_3cf)){continue;}if(_3d3.Status&&!_3d3.Status.IsOk()){continue;}_3d1.push(this.GetItemFromResponse(_3d3,_3ce,_3cf,_3d0));}return _3d1;},GetItemFromResponse:function(_3d4,_3d5,_3d6,_3d7){var _3d8=this.ParseHref(_3d6);var _3d9=ITHit.WebDAV.Client.HierarchyItem.GetPropertiesFromResponse(_3d4);for(var i2=0,l2=_3d7.length;i2<l2;i2++){if(!ITHit.WebDAV.Client.HierarchyItem.HasProperty(_3d4,_3d7[i2])){_3d9.push(new ITHit.WebDAV.Client.Property(_3d7[i2],""));}}switch(ITHit.WebDAV.Client.HierarchyItem.GetResourceType(_3d4)){case ITHit.WebDAV.Client.ResourceType.File:return new ITHit.WebDAV.Client.File(_3d5.Session,_3d4.Href,ITHit.WebDAV.Client.HierarchyItem.GetLastModified(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetDisplayName(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetCreationDate(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetContentType(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetContentLength(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetSupportedLock(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetActiveLocks(_3d4,_3d6),_3d8.Host,ITHit.WebDAV.Client.HierarchyItem.GetQuotaAvailableBytes(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetQuotaUsedBytes(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetCkeckedIn(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetCheckedOut(_3d4),_3d9);break;case ITHit.WebDAV.Client.ResourceType.Folder:return new ITHit.WebDAV.Client.Folder(_3d5.Session,_3d4.Href,ITHit.WebDAV.Client.HierarchyItem.GetLastModified(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetDisplayName(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetCreationDate(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetSupportedLock(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetActiveLocks(_3d4,_3d6),_3d8.Host,ITHit.WebDAV.Client.HierarchyItem.GetQuotaAvailableBytes(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetQuotaUsedBytes(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetCkeckedIn(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetCheckedOut(_3d4),_3d9);default:throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.Exceptions.UnknownResourceType);}},AppendToUri:function(sUri,_3dd){return ITHit.WebDAV.Client.HierarchyItem.GetAbsoluteUriPath(sUri)+ITHit.WebDAV.Client.Encoder.EncodeURI(_3dd);},GetActiveLocks:function(_3de,_3df){var _3e0=ITHit.WebDAV.Client.DavConstants.LockDiscovery.toString();for(var i=0;i<_3de.Propstats.length;i++){var _3e2=_3de.Propstats[i];if(!_3e2.Status.IsOk()){break;}if("undefined"!=typeof _3e2.PropertiesByNames[_3e0]){var _3e3=_3e2.PropertiesByNames[_3e0];try{return ITHit.WebDAV.Client.LockInfo.ParseLockDiscovery(_3e3.Value,_3df);}catch(e){if(typeof window.console!=="undefined"){console.error(e.stack||e.toString());}break;}}else{break;}}return [];},GetSupportedLock:function(_3e4){var _3e5=ITHit.WebDAV.Client.DavConstants.SupportedLock;for(var i=0;i<_3e4.Propstats.length;i++){var _3e7=_3e4.Propstats[i];if(!_3e7.Status.IsOk()){break;}var out=[];for(var p in _3e7.PropertiesByNames){out.push(p);}if("undefined"!=typeof _3e7.PropertiesByNames[_3e5]){var _3ea=_3e7.PropertiesByNames[_3e5];try{return ITHit.WebDAV.Client.HierarchyItem.ParseSupportedLock(_3ea.Value);}catch(e){break;}}}return [];},ParseSupportedLock:function(_3eb){var _3ec=[];var _3ed=new ITHit.XPath.resolver();_3ed.add("d",ITHit.WebDAV.Client.DavConstants.NamespaceUri);var _3ee=null;var _3ef=null;var _3f0=ITHit.XMLDoc.nodeTypes.NODE_ELEMENT;var oRes=ITHit.XPath.evaluate("d:lockentry",_3eb,_3ed);while(_3ee=oRes.iterateNext()){var _3f2=ITHit.XPath.evaluate("d:*",_3ee,_3ed);while(_3ef=_3f2.iterateNext()){if(_3ef.nodeType()==_3f0){var _3f3="";if(_3ef.hasChildNodes()){var _3f4=_3ef.firstChild();while(_3f4){if(_3f4.nodeType()==_3f0){_3f3=_3f4.localName();break;}_3f4=_3f4.nextSibling();}}else{_3f3=_3ef.localName();}switch(_3f3.toLowerCase()){case "shared":_3ec.push(ITHit.WebDAV.Client.LockScope.Shared);break;case "exclusive":_3ec.push(ITHit.WebDAV.Client.LockScope.Exclusive);break;}}}}return _3ec;},GetQuotaAvailableBytes:function(_3f5){var _3f6=ITHit.WebDAV.Client.DavConstants.QuotaAvailableBytes;for(var i=0;i<_3f5.Propstats.length;i++){var _3f8=_3f5.Propstats[i];if(!_3f8.Status.IsOk()){break;}if("undefined"!=typeof _3f8.PropertiesByNames[_3f6]){var _3f9=_3f8.PropertiesByNames[_3f6];try{return parseInt(_3f9.Value.firstChild().nodeValue());}catch(e){break;}}}return -1;},GetQuotaUsedBytes:function(_3fa){var _3fb=ITHit.WebDAV.Client.DavConstants.QuotaUsedBytes;for(var i=0;i<_3fa.Propstats.length;i++){var _3fd=_3fa.Propstats[i];if(!_3fd.Status.IsOk()){break;}if("undefined"!=typeof _3fd.PropertiesByNames[_3fb]){var _3fe=_3fd.PropertiesByNames[_3fb];try{return parseInt(_3fe.Value.firstChild().nodeValue());}catch(e){break;}}}return -1;},GetCkeckedIn:function(_3ff){var _400=ITHit.WebDAV.Client.DavConstants.CheckedIn;for(var i=0;i<_3ff.Propstats.length;i++){var _402=_3ff.Propstats[i];if(!_402.Status.IsOk()){break;}if("undefined"!=typeof _402.PropertiesByNames[_400]){var _403=_402.PropertiesByNames[_400];try{return ITHit.WebDAV.Client.HierarchyItem.ParseChecked(_403.Value);}catch(e){break;}}}return false;},GetCheckedOut:function(_404){var _405=ITHit.WebDAV.Client.DavConstants.CheckedOut;for(var i=0;i<_404.Propstats.length;i++){var _407=_404.Propstats[i];if(!_407.Status.IsOk()){break;}if("undefined"!=typeof _407.PropertiesByNames[_405]){var _408=_407.PropertiesByNames[_405];try{return ITHit.WebDAV.Client.HierarchyItem.ParseChecked(_408.Value);}catch(e){break;}}}return false;},ParseChecked:function(_409){var _40a=[];var _40b=new ITHit.XPath.resolver();_40b.add("d",ITHit.WebDAV.Client.DavConstants.NamespaceUri);var _40c=null;var _40d=ITHit.XMLDoc.nodeTypes.NODE_ELEMENT;var oRes=ITHit.XPath.evaluate("d:href",_409,_40b);while(_40c=oRes.iterateNext()){if(_40c.nodeType()==_40d){_40a.push(_40c.firstChild().nodeValue());}}return _40a;},GetResourceType:function(_40f){var _410=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_40f,ITHit.WebDAV.Client.DavConstants.ResourceType);var _411=ITHit.WebDAV.Client.ResourceType.File;if(_410.Value.getElementsByTagNameNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"collection").length>0){_411=ITHit.WebDAV.Client.ResourceType.Folder;}return _411;},HasProperty:function(_412,_413){for(var i=0;i<_412.Propstats.length;i++){var _415=_412.Propstats[i];for(var j=0;j<_415.Properties.length;j++){var _417=_415.Properties[j];if(_417.Name.Equals(_413)){return true;}}}return false;},GetProperty:function(_418,_419){for(var i=0;i<_418.Propstats.length;i++){var _41b=_418.Propstats[i];for(var j=0;j<_41b.Properties.length;j++){var _41d=_41b.Properties[j];if(_41d.Name.Equals(_419)){return _41d;}}}throw new ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException(ITHit.Phrases.Exceptions.PropertyNotFound,_418.Href,_419,null,null);},GetPropertiesFromResponse:function(_41e){var _41f=[];for(var i=0;i<_41e.Propstats.length;i++){var _421=_41e.Propstats[i];for(var i2=0;i2<_421.Properties.length;i2++){_41f.push(_421.Properties[i2]);}}return _41f;},GetDisplayName:function(_423){var _424=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_423,ITHit.WebDAV.Client.DavConstants.DisplayName).Value;var _425;if(_424.hasChildNodes()){_425=_424.firstChild().nodeValue();}else{_425=ITHit.WebDAV.Client.Encoder.Decode(ITHit.WebDAV.Client.HierarchyItem.GetLastName(_423.Href));}return _425;},GetLastModified:function(_426){var _427;try{_427=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_426,ITHit.WebDAV.Client.DavConstants.GetLastModified);}catch(e){if(!(e instanceof ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException)){throw e;}return null;}return ITHit.WebDAV.Client.HierarchyItem.GetDate(_427.Value.firstChild().nodeValue(),"rfc1123");},GetContentType:function(_428){var _429=null;var _42a=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_428,ITHit.WebDAV.Client.DavConstants.GetContentType).Value;if(_42a.hasChildNodes()){_429=_42a.firstChild().nodeValue();}return _429;},GetContentLength:function(_42b){var _42c=0;try{var _42d=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_42b,ITHit.WebDAV.Client.DavConstants.GetContentLength).Value;if(_42d.hasChildNodes()){_42c=parseInt(_42d.firstChild().nodeValue());}}catch(e){if(!(e instanceof ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException)){throw e;}return null;}return _42c;},GetCreationDate:function(_42e){var _42f;try{_42f=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_42e,ITHit.WebDAV.Client.DavConstants.CreationDate);}catch(e){if(!(e instanceof ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException)){throw e;}return null;}return ITHit.WebDAV.Client.HierarchyItem.GetDate(_42f.Value.firstChild().nodeValue(),"tz");},GetDate:function(_430,_431){var _432;var i=0;if("tz"==_431){i++;}if(!_430){return new Date(0);}for(var e=i+1;i<=e;i++){if(0==i%2){var _432=new Date(_430);if(!isNaN(_432)){break;}}else{var _435=_430.match(/([\d]{4})\-([\d]{2})\-([\d]{2})T([\d]{2}):([\d]{2}):([\d]{2})(\.[\d]+)?((?:Z)|(?:[\+\-][\d]{2}:[\d]{2}))/);if(_435&&_435.length>=7){_435.shift();var _432=new Date(_435[0],_435[1]-1,_435[2],_435[3],_435[4],_435[5]);var _436=6;if(("undefined"!=typeof _435[_436])&&(-1!=_435[_436].indexOf("."))){_432.setMilliseconds(_435[_436].replace(/[^\d]/g,""));}_436++;if(("undefined"!=typeof _435[_436])&&("-00:00"!=_435[_436])&&(-1!=_435[_436].search(/(?:\+|-)/))){var _437=_435[_436].slice(1).split(":");var _438=parseInt(_437[1])+(60*_437[0]);if("+"==_435[_436][0]){_432.setMinutes(_432.getMinutes()-_438);}else{_432.setMinutes(_432.getMinutes()+_438);}_436++;}_432.setMinutes(_432.getMinutes()+(-1*_432.getTimezoneOffset()));break;}}}if(!_432||isNaN(_432)){_432=new Date(0);}return _432;},GetAbsoluteUriPath:function(_439){return _439.replace(/\/?$/,"/");},GetRelativePath:function(_43a){return _43a.replace(/^[a-z]+\:\/\/[^\/]+\//,"/");},GetLastName:function(_43b){var _43c=ITHit.WebDAV.Client.HierarchyItem.GetRelativePath(_43b).replace(/\/$/,"");return _43c.match(/[^\/]*$/)[0];},HrefEquals:function(_43d,_43e){var iPos=_43e.search(/\?[^\/]+$/);if(-1!=iPos){_43e=_43e.substr(0,iPos);}var iPos=_43e.search(/\?[^\/]+$/);if(-1!=iPos){_43e=_43e.substr(0,iPos);}return ITHit.WebDAV.Client.HierarchyItem.GetRelativePath(ITHit.WebDAV.Client.Encoder.Decode(_43d)).replace(/\/$/,"")==ITHit.WebDAV.Client.HierarchyItem.GetRelativePath(ITHit.WebDAV.Client.Encoder.Decode(_43e)).replace(/\/$/,"");},GetFolderParentUri:function(_440){var _441=/^https?\:\/\//.test(_440)?_440.match(/^https?\:\/\/[^\/]+/)[0]+"/":"/";var _442=ITHit.WebDAV.Client.HierarchyItem.GetRelativePath(_440);_442=_442.replace(/\/?$/,"");if(_442===""){return null;}_442=_442.substr(0,_442.lastIndexOf("/")+1);_442=_442.substr(1);return _441+_442;},GetHost:function(_443){var _444;if(/^https?\:\/\//.test(_443)){_444=_443.match(/^https?\:\/\/[^\/]+/)[0]+"/";}else{_444=location.protocol+"//"+location.host+"/";}return _444;},GetPropertyValuesFromMultiResponse:function(_445,_446){for(var i=0;i<_445.Responses.length;i++){var _448=_445.Responses[i];if(!ITHit.WebDAV.Client.HierarchyItem.HrefEquals(_448.Href,_446)){continue;}var _449=[];for(var j=0;j<_448.Propstats.length;j++){var _44b=_448.Propstats[j];if(!_44b.Properties.length){continue;}if(_44b.Status.IsSuccess()){for(var k=0;k<_44b.Properties.length;k++){var _44d=_44b.Properties[k];if(!_44d.Name.IsStandardProperty()){_449.push(_44d);}}continue;}if(_44b.Status.Equals(ITHit.WebDAV.Client.HttpStatus.NotFound)){throw new ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException(ITHit.Phrases.Exceptions.PropertyNotFound,_446,_44b.Properties[0].Name,new ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatus(_445),null);}if(_44b.Status.Equals(ITHit.WebDAV.Client.HttpStatus.Forbidden)){throw new ITHit.WebDAV.Client.Exceptions.PropertyForbiddenException(ITHit.Phrases.Exceptions.PropertyForbidden,_446,_44b.Properties[0].Name,new ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatus(_445),null);}throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.PropertyFailed,_446,_44b.Properties[0].Name,new ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatus(_445),_44b.Status,null);}return _449;}throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.ResponseItemNotFound.Paste(_446));},GetPropertyNamesFromMultiResponse:function(_44e,_44f){var _450=[];var _451=this.GetPropertyValuesFromMultiResponse(_44e,_44f);for(var i=0,l=_451.length;i<l;i++){_450.push(_451[i].Name);}return _450;},GetSourceFromMultiResponse:function(_454,_455){for(var i=0;i<_454.length;i++){var _457=_454[i];if(!ITHit.WebDAV.Client.HierarchyItem.HrefEquals(_457.Href,_455)){continue;}var _458=[];for(var j=0;j<_457.Propstats;j++){var _45a=_457.Propstats[j];if(!_45a.Status.IsOk()){if(_45a.Status.Equals(ITHit.WebDAV.Client.HttpStatus.NotFound)){return null;}throw new ITHit.WebDAV.Client.Exceptions.PropertyForbiddenException(ITHit.Phrases.PropfindFailedWithStatus.Paste(_45a.Status.Description),_455,_45a.Properties[0].Name,new ITHit.WebDAV.Client.Exceptions.Info.Multistatus(_457));}for(var k=0;k<_45a.Properties.length;k++){var _45c=_45a.Properties[k];if(_45c.Name.Equals(ITHit.WebDAV.Client.DavConstants.Source)){var _45d=_45c.Value.GetElementsByTagNameNS(DavConstants.NamespaceUri,DavConstants.Link);for(var l=0;l<_45d.length;l++){var _45f=_45d[i];var _460=new ITHit.WebDAV.Client.Source(_45f.GetElementsByTagName(ITHit.WebDAV.Client.DavConstants.NamespaceUri,ITHit.WebDAV.Client.DavConstants.Src)[0].firstChild().nodeValue(),_45f.GetElementsByTagName(ITHit.WebDAV.Client.DavConstants.NamespaceUri,ITHit.WebDAV.Client.DavConstants.Dst)[0].firstChild().nodeValue());_458.push(_460);}return _458;}}}}throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.ResponseItemNotFound.Paste(_455));}},Session:null,Href:null,LastModified:null,DisplayName:null,CreationDate:null,ResourceType:null,SupportedLocks:null,ActiveLocks:null,Properties:null,VersionControlled:null,Host:null,AvailableBytes:null,UsedBytes:null,CheckedIn:null,CheckedOut:null,ServerVersion:null,_Url:null,_AbsoluteUrl:null,constructor:function(_461,_462,_463,_464,_465,_466,_467,_468,_469,_46a,_46b,_46c,_46d,_46e){this.Session=_461;this.ServerVersion=_461.ServerEngine;this.Href=_462;this.LastModified=_463;this.DisplayName=_464;this.CreationDate=_465;this.ResourceType=_466;this.SupportedLocks=_467;this.ActiveLocks=_468;this.Host=_469;this.AvailableBytes=_46a;this.UsedBytes=_46b;this.CheckedIn=_46c;this.CheckedOut=_46d;this.Properties=new ITHit.WebDAV.Client.PropertyList();this.Properties.push.apply(this.Properties,_46e||[]);this.VersionControlled=this.CheckedIn!==false||this.CheckedOut!==false;this._AbsoluteUrl=ITHit.Decode(this.Href);this._Url=this._AbsoluteUrl.replace(/^http[s]?:\/\/[^\/]+\/?/,"/");},IsFolder:function(){return false;},IsEqual:function(_46f){if(_46f instanceof ITHit.WebDAV.Client.HierarchyItem){return this.Href===_46f.Href;}if(ITHit.Utils.IsString(_46f)){if(_46f.indexOf("://")!==-1||_46f.indexOf(":\\")!==-1){return this.GetAbsoluteUrl()===_46f;}return this.GetUrl()===_46f;}return false;},GetUrl:function(){return this._Url;},GetAbsoluteUrl:function(){return this._AbsoluteUrl;},HasProperty:function(_470){for(var i=0,l=this.Properties.length;i<l;i++){if(_470.Equals(this.Properties[i].Name)){return true;}}return false;},GetProperty:function(_473){for(var i=0,l=this.Properties.length;i<l;i++){if(_473.Equals(this.Properties[i].Name)){return this.Properties[i].Value.firstChild().nodeValue();}}throw new ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException("Not found property `"+_473.toString()+"` in resource `"+this.Href+"`.");},Refresh:function(){var _476=this.Session.CreateRequest(this.__className+".Refresh()");var _477=[];for(var i=0,l=this.Properties.length;i<l;i++){_477.push(this.Properties[i].Name);}var _47a=self.OpenItem(_476,this.Href,_477);for(var key in _47a){if(_47a.hasOwnProperty(key)){this[key]=_47a[key];}}_476.MarkFinish();},RefreshAsync:function(_47c){var that=this;var _47e=this.Session.CreateRequest(this.__className+".RefreshAsync()");var _47f=[];for(var i=0,l=this.Properties.length;i<l;i++){_47f.push(this.Properties[i].Name);}self.OpenItemAsync(_47e,this.Href,_47f,function(_482){if(_482.IsSuccess){for(var key in _482.Result){if(_482.Result.hasOwnProperty(key)){that[key]=_482.Result[key];}}_482.Result=null;}_47e.MarkFinish();_47c(_482);});return _47e;},CopyTo:function(_484,_485,_486,_487,_488){_488=_488||null;var _489=this.Session.CreateRequest(this.__className+".CopyTo()");var _48a=ITHit.WebDAV.Client.Methods.CopyMove.Go(_489,ITHit.WebDAV.Client.Methods.CopyMove.Mode.Copy,this.Href,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(_484.Href,_485),this.ResourceType===ITHit.WebDAV.Client.ResourceType.Folder,_486,_487,_488,this.Host);var _48b=this._GetErrorFromCopyResponse(_48a.Response);if(_48b){_489.MarkFinish();throw _48b;}_489.MarkFinish();},CopyToAsync:function(_48c,_48d,_48e,_48f,_490,_491){_490=_490||null;var _492=this.Session.CreateRequest(this.__className+".CopyToAsync()");var that=this;ITHit.WebDAV.Client.Methods.CopyMove.GoAsync(_492,ITHit.WebDAV.Client.Methods.CopyMove.Mode.Copy,this.Href,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(_48c.Href,_48d),(this.ResourceType==ITHit.WebDAV.Client.ResourceType.Folder),_48e,_48f,_490,this.Host,function(_494){if(_494.IsSuccess){_494.Error=that._GetErrorFromCopyResponse(_494.Result.Response);if(_494.Error!==null){_494.IsSuccess=false;_494.Result=null;}}_492.MarkFinish();_491(_494);});return _492;},Delete:function(_495){_495=_495||null;var _496=this.Session.CreateRequest(this.__className+".Delete()");var _497=ITHit.WebDAV.Client.Methods.Delete.Go(_496,this.Href,_495,this.Host);var _498=this._GetErrorFromDeleteResponse(_497.Response);if(_498){_496.MarkFinish();throw _498;}eval(String.fromCharCode.call(this,29+66,52,57,54,41+5,28+49,97,7+107,107,33+37,39+66,110,105,115,104,40,15+26,59));},DeleteAsync:function(_499,_49a){_499=_499||null;_49a=_49a||function(){};var _49b=this.Session.CreateRequest(this.__className+".DeleteAsync()");var that=this;ITHit.WebDAV.Client.Methods.Delete.GoAsync(_49b,this.Href,_499,this.Host,function(_49d){if(_49d.IsSuccess){_49d.Error=that._GetErrorFromDeleteResponse(_49d.Result.Response);if(_49d.Error!==null){_49d.IsSuccess=false;_49d.Result=null;}}_49b.MarkFinish();_49a(_49d);});return _49b;},GetPropertyNames:function(){var _49e=this.Session.CreateRequest(this.__className+".GetPropertyNames()");var _49f=ITHit.WebDAV.Client.Methods.Propfind.Go(_49e,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.PropertyNames,null,ITHit.WebDAV.Client.Depth.Zero,this.Host);var _4a0=self.GetPropertyNamesFromMultiResponse(_49f.Response,this.Href);_49e.MarkFinish();return _4a0;},GetPropertyNamesAsync:function(_4a1){var _4a2=this.Session.CreateRequest(this.__className+".GetPropertyNamesAsync()");var that=this;ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_4a2,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.PropertyNames,null,ITHit.WebDAV.Client.Depth.Zero,this.Host,function(_4a4){if(_4a4.IsSuccess){try{_4a4.Result=self.GetPropertyNamesFromMultiResponse(_4a4.Result.Response,that.Href);}catch(oError){_4a4.Error=oError;_4a4.IsSuccess=false;}}_4a2.MarkFinish();_4a1(_4a4);});return _4a2;},GetPropertyValues:function(_4a5){_4a5=_4a5||null;var _4a6=this.Session.CreateRequest(this.__className+".GetPropertyValues()");var _4a7=ITHit.WebDAV.Client.Methods.Propfind.Go(_4a6,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,_4a5,ITHit.WebDAV.Client.Depth.Zero,this.Host);var _4a8=self.GetPropertyValuesFromMultiResponse(_4a7.Response,this.Href);_4a6.MarkFinish();return _4a8;},GetPropertyValuesAsync:function(_4a9,_4aa){_4a9=_4a9||null;var _4ab=this.Session.CreateRequest(this.__className+".GetPropertyValuesAsync()");var that=this;ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_4ab,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,_4a9,ITHit.WebDAV.Client.Depth.Zero,this.Host,function(_4ad){if(_4ad.IsSuccess){try{_4ad.Result=self.GetPropertyValuesFromMultiResponse(_4ad.Result.Response,that.Href);}catch(oError){_4ad.Error=oError;_4ad.IsSuccess=false;}}_4ab.MarkFinish();_4aa(_4ad);});return _4ab;},GetAllProperties:function(){return this.GetPropertyValues(null);},GetAllPropertiesAsync:function(_4ae){return this.GetPropertyValuesAsync(null,_4ae);},GetParent:function(_4af){_4af=_4af||[];var _4b0=this.Session.CreateRequest(this.__className+".GetParent()");var _4b1=ITHit.WebDAV.Client.HierarchyItem.GetFolderParentUri(ITHit.WebDAV.Client.Encoder.Decode(this.Href));if(_4b1===null){_4b0.MarkFinish();return null;}var _4b2=ITHit.WebDAV.Client.Folder.OpenItem(_4b0,_4b1,_4af);_4b0.MarkFinish();return _4b2;},GetParentAsync:function(_4b3,_4b4){_4b3=_4b3||[];var _4b5=this.Session.CreateRequest(this.__className+".GetParentAsync()");var _4b6=ITHit.WebDAV.Client.HierarchyItem.GetFolderParentUri(ITHit.WebDAV.Client.Encoder.Decode(this.Href));if(_4b6===null){_4b4(new ITHit.WebDAV.Client.AsyncResult(null,true,null));return null;}ITHit.WebDAV.Client.Folder.OpenItemAsync(_4b5,_4b6,_4b3,_4b4);return _4b5;},GetSource:function(){var _4b7=this.Session.CreateRequest(this.__className+".GetSource()");var _4b8=ITHit.WebDAV.Client.Methods.Propfind.Go(_4b7,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[ITHit.WebDAV.Client.DavConstants.Source],ITHit.WebDAV.Client.Depth.Zero,this.Host);var _4b9=self.GetSourceFromMultiResponse(_4b8.Response.Responses,this.Href);_4b7.MarkFinish();return _4b9;},GetSourceAsync:function(_4ba){var _4bb=this.Session.CreateRequest(this.__className+".GetSourceAsync()");var that=this;ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_4bb,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[ITHit.WebDAV.Client.DavConstants.Source],ITHit.WebDAV.Client.Depth.Zero,this.Host,function(_4bd){if(_4bd.IsSuccess){try{_4bd.Result=self.GetSourceFromMultiResponse(_4bd.Result.Response.Responses,that.Href);}catch(oError){_4bd.Error=oError;_4bd.IsSuccess=false;}}_4bb.MarkFinish();_4ba(_4bd);});return _4bb;},Lock:function(_4be,_4bf,_4c0,_4c1){var _4c2=this.Session.CreateRequest(this.__className+".Lock()");var _4c3=ITHit.WebDAV.Client.Methods.Lock.Go(_4c2,this.Href,_4c1,_4be,this.Host,_4bf,_4c0);_4c2.MarkFinish();return _4c3.LockInfo;},LockAsync:function(_4c4,_4c5,_4c6,_4c7,_4c8){var _4c9=this.Session.CreateRequest(this.__className+".LockAsync()");ITHit.WebDAV.Client.Methods.Lock.GoAsync(_4c9,this.Href,_4c7,_4c4,this.Host,_4c5,_4c6,function(_4ca){if(_4ca.IsSuccess){_4ca.Result=_4ca.Result.LockInfo;}_4c9.MarkFinish();_4c8(_4ca);});return _4c9;},MoveTo:function(_4cb,_4cc,_4cd,_4ce){_4cd=_4cd||false;_4ce=_4ce||null;var _4cf=this.Session.CreateRequest(this.__className+".MoveTo()");if(!(_4cb instanceof ITHit.WebDAV.Client.Folder)){_4cf.MarkFinish();throw new ITHit.Exception(ITHit.Phrases.Exceptions.FolderWasExpectedAsDestinationForMoving);}var _4d0=ITHit.WebDAV.Client.Methods.CopyMove.Go(_4cf,ITHit.WebDAV.Client.Methods.CopyMove.Mode.Move,this.Href,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(_4cb.Href,_4cc),this.ResourceType,true,_4cd,_4ce,this.Host);var _4d1=this._GetErrorFromMoveResponse(_4d0.Response);if(_4d1!==null){_4cf.MarkFinish();throw _4d1;}_4cf.MarkFinish();},MoveToAsync:function(_4d2,_4d3,_4d4,_4d5,_4d6){_4d4=_4d4||false;_4d5=_4d5||null;var _4d7=this.Session.CreateRequest(this.__className+".MoveToAsync()");if(!(_4d2 instanceof ITHit.WebDAV.Client.Folder)){_4d7.MarkFinish();throw new ITHit.Exception(ITHit.Phrases.Exceptions.FolderWasExpectedAsDestinationForMoving);}var that=this;ITHit.WebDAV.Client.Methods.CopyMove.GoAsync(_4d7,ITHit.WebDAV.Client.Methods.CopyMove.Mode.Move,this.Href,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(_4d2.Href,_4d3),this.ResourceType,true,_4d4,_4d5,this.Host,function(_4d9){if(_4d9.IsSuccess){_4d9.Error=that._GetErrorFromMoveResponse(_4d9.Result.Response);if(_4d9.Error!==null){_4d9.IsSuccess=false;_4d9.Result=null;}}_4d7.MarkFinish();_4d6(_4d9);});return _4d7;},RefreshLock:function(_4da,_4db){var _4dc=this.Session.CreateRequest(this.__className+".RefreshLock()");var _4dd=ITHit.WebDAV.Client.Methods.LockRefresh.Go(_4dc,this.Href,_4db,_4da,this.Host);_4dc.MarkFinish();return _4dd.LockInfo;},RefreshLockAsync:function(_4de,_4df,_4e0){var _4e1=this.Session.CreateRequest(this.__className+".RefreshLockAsync()");ITHit.WebDAV.Client.Methods.LockRefresh.GoAsync(_4e1,this.Href,_4df,_4de,this.Host,function(_4e2){if(_4e2.IsSuccess){_4e2.Result=_4e2.Result.LockInfo;}_4e1.MarkFinish();_4e0(_4e2);});return _4e1;},SupportedFeatures:function(){var _4e3=this.Session.CreateRequest(this.__className+".SupportedFeatures()");var _4e4=ITHit.WebDAV.Client.Methods.Options.Go(_4e3,this.Href,this.Host).ItemOptions;_4e3.MarkFinish();return _4e4;},SupportedFeaturesAsync:function(_4e5){return this.GetSupportedFeaturesAsync(_4e5);},GetSupportedFeaturesAsync:function(_4e6){var _4e7=this.Session.CreateRequest(this.__className+".GetSupportedFeaturesAsync()");ITHit.WebDAV.Client.Methods.Options.GoAsync(_4e7,this.Href,this.Host,function(_4e8){if(_4e8.IsSuccess){_4e8.Result=_4e8.Result.ItemOptions;}_4e7.MarkFinish();_4e6(_4e8);});return _4e7;},Unlock:function(_4e9){var _4ea=this.Session.CreateRequest(this.__className+".Unlock()");var _4eb=ITHit.WebDAV.Client.Methods.Unlock.Go(_4ea,this.Href,_4e9,this.Host);var _4ec=this._GetErrorFromUnlockResponse(_4eb.Response);if(_4ec){_4ea.MarkFinish();throw _4ec;}eval(String.fromCharCode.call(this,26+69,32+20,56+45,97,46,37+40,97,114,99+8,51+19,101+4,93+17,46+59,115,104,30+10,27+14,59));},UnlockAsync:function(_4ed,_4ee){var _4ef=this.Session.CreateRequest(this.__className+".UnlockAsync()");var that=this;ITHit.WebDAV.Client.Methods.Unlock.GoAsync(_4ef,this.Href,_4ed,this.Host,function(_4f1){if(_4f1.IsSuccess){_4f1.Error=that._GetErrorFromUnlockResponse(_4f1.Result.Response);if(_4f1.Error!==null){_4f1.IsSuccess=false;_4f1.Result=null;}}_4ef.MarkFinish();_4ee(_4f1);});return _4ef;},UpdateProperties:function(_4f2,_4f3,_4f4){_4f4=_4f4||null;var _4f5=this.Session.CreateRequest(this.__className+".UpdateProperties()");var _4f6=this._GetPropertiesForUpdate(_4f2);var _4f7=this._GetPropertiesForDelete(_4f3);if(_4f6.length+_4f7.length===0){ITHit.Logger.WriteMessage(ITHit.Phrases.Exceptions.NoPropertiesToManipulateWith);_4f5.MarkFinish();return;}var _4f8=ITHit.WebDAV.Client.Methods.Proppatch.Go(_4f5,this.Href,_4f6,_4f7,_4f4,this.Host);var _4f9=this._GetErrorFromUpdatePropertiesResponse(_4f8.Response);if(_4f9){_4f5.MarkFinish();throw _4f9;}_4f5.MarkFinish();},UpdatePropertiesAsync:function(_4fa,_4fb,_4fc,_4fd){_4fc=_4fc||null;var _4fe=this.Session.CreateRequest(this.__className+".UpdatePropertiesAsync()");var _4ff=this._GetPropertiesForUpdate(_4fa);var _500=this._GetPropertiesForDelete(_4fb);if(_4ff.length+_500.length===0){_4fe.MarkFinish();_4fd(new ITHit.WebDAV.Client.AsyncResult(true,true,null));return null;}var that=this;ITHit.WebDAV.Client.Methods.Proppatch.GoAsync(_4fe,this.Href,_4ff,_500,_4fc,this.Host,function(_502){if(_502.IsSuccess){_502.Error=that._GetErrorFromUpdatePropertiesResponse(_502.Result.Response);if(_502.Error!==null){_502.IsSuccess=false;_502.Result=null;}}_4fe.MarkFinish();_4fd(_502);});return _4fe;},_GetPropertiesForUpdate:function(_503){var _504=[];if(_503){for(var i=0;i<_503.length;i++){if((_503[i] instanceof ITHit.WebDAV.Client.Property)&&_503[i]){if(_503[i].Name.NamespaceUri!=ITHit.WebDAV.Client.DavConstants.NamespaceUri){_504.push(_503[i]);}else{throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.AddOrUpdatePropertyDavProhibition.Paste(_503[i]),this.Href,_503[i]);}}else{throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.PropertyUpdateTypeException);}}}return _504;},_GetPropertiesForDelete:function(_506){var _507=[];if(_506){for(var i=0;i<_506.length;i++){if((_506[i] instanceof ITHit.WebDAV.Client.PropertyName)&&_506[i]){if(_506[i].NamespaceUri!=ITHit.WebDAV.Client.DavConstants.NamespaceUri){_507.push(_506[i]);}else{throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.DeletePropertyDavProhibition.Paste(_506[i]),this.Href,_506[i]);}}else{throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.PropertyDeleteTypeException);}}}return _507;},_GetErrorFromDeleteResponse:function(_509){if(_509 instanceof ITHit.WebDAV.Client.Methods.MultiResponse){return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.FailedToDelete,this.Href,new ITHit.WebDAV.Client.Exceptions.Info.Multistatus(_509),ITHit.WebDAV.Client.HttpStatus.MultiStatus,null);}if(_509 instanceof ITHit.WebDAV.Client.Methods.SingleResponse&&!_509.Status.IsSuccess()){var _50a=ITHit.Phrases.DeleteFailedWithStatus.Paste(_509.Status.Code,_509.Status.Description);return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(_50a,this.Href,null,_509.Status,null);}return null;},_GetErrorFromCopyResponse:function(_50b){if(_50b instanceof ITHit.WebDAV.Client.Methods.MultiResponse){for(var i=0,l=_50b.Responses.length;i<l;i++){if(_50b.Responses[i].Status.IsCopyMoveOk()){continue;}return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.FailedToCopy,this.Href,new ITHit.WebDAV.Client.Exceptions.Info.Multistatus(_50b),ITHit.WebDAV.Client.HttpStatus.MultiStatus,null);}}if(_50b instanceof ITHit.WebDAV.Client.Methods.SingleResponse&&!_50b.Status.IsCopyMoveOk()){return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.FailedToCopyWithStatus.Paste(_50b.Status.Code,_50b.Status.Description),this.Href,null,_50b.Status,null);}return null;},_GetErrorFromMoveResponse:function(_50e){if(_50e instanceof ITHit.WebDAV.Client.Methods.MultiResponse){for(var i=0,l=_50e.Responses.length;i<l;i++){if(_50e.Responses[i].Status.IsCopyMoveOk()){continue;}return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.FailedToMove,this.Href,new ITHit.WebDAV.Client.Exceptions.Info.Multistatus(_50e),ITHit.WebDAV.Client.HttpStatus.MultiStatus,null);}}if(_50e instanceof ITHit.WebDAV.Client.Methods.SingleResponse&&!_50e.Status.IsCopyMoveOk()){return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.MoveFailedWithStatus.Paste(_50e.Status.Code,_50e.Status.Description),this.Href,null,_50e.Status,null);}return null;},_GetErrorFromUnlockResponse:function(_511){if(!_511.Status.IsUnlockOk()){return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.UnlockFailedWithStatus.Paste(_511.Status.Code,_511.Status.Description),this.Href,null,_511.Status,null);}return null;},_GetErrorFromUpdatePropertiesResponse:function(_512){var _513=new ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatus(_512);for(var i=0;i<_513.Responses.length;i++){var _515=_513.Responses[i];if(_515.Status.IsSuccess()){continue;}return new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.FailedToUpdateProp,this.Href,_515.PropertyName,_513,ITHit.WebDAV.Client.HttpStatus.MultiStatus,null);}return null;}});})();ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Put",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_516,_517,_518,_519,_51a,_51b){return this._super.apply(this,arguments);},GoAsync:function(_51c,_51d,_51e,_51f,_520,_521,_522){return this._super.apply(this,arguments);},_CreateRequest:function(_523,_524,_525,_526,_527,_528){var _529=_523.CreateWebDavRequest(_528,_524,_527);_529.Method("PUT");if(_525){_529.Headers.Add("Content-Type",_525);}_529.Body(_526);return _529;}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Get",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_52a,_52b,_52c,_52d,_52e){return this._super.apply(this,arguments);},GoAsync:function(_52f,_530,_531,_532,_533){return this._super.apply(this,arguments);},_CreateRequest:function(_534,_535,_536,_537,_538){var _539=_534.CreateWebDavRequest(_538,_535);_539.Method("GET");_539.Headers.Add("Translate","f");if(_536!==null){var _53a=_536;if(_536>=0){if(_537!==null){_53a+="-"+parseInt(_537);}else{_53a+="-";}}else{_53a=String(_53a);}_539.Headers.Add("Range","bytes="+_53a);}return _539;}},GetContent:function(){return this.Response._Response.BodyText;}});(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.MsOfficeEditExtensions",null,{__static:{GetSchema:function(sExt){var _53d=null;var _53e={"Access":"ms-access","Infopath":"ms-infopath","Project":"ms-project","Publisher":"ms-publisher","Visio":"ms-visio","Word":"ms-word","Powerpoint":"ms-powerpoint","Excel":"ms-excel"};var _53f=Object.keys(_53e);sExt=sExt.toLowerCase();for(var i=0,l=_53f.length;i<l;i++){var _542=_53f[i];var _543=self[_542];for(var j=0,m=_543.length;j<m;j++){if(_543[j]===sExt){_53d=_53e[_542];break;}}if(_53d!==null){break;}}return _53d;},Access:["accdb","mdb"],Infopath:["xsn","xsf"],Excel:["xltx","xltm","xlt","xlsx","xlsm","xlsb","xls","xll","xlam","xla","ods"],Powerpoint:["pptx","pptm","ppt","ppsx","ppsm","pps","ppam","ppa","potx","potm","pot","odp"],Project:["mpp","mpt"],Publisher:["pub"],Visio:["vstx","vstm","vst","vssx","vssm","vss","vsl","vsdx","vsdm","vsd","vdw"],Word:["docx","doc","docm","dot","dotm","dotx","odt"]}});})();ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.IntegrationException",ITHit.WebDAV.Client.Exceptions.WebDavException,{Name:"IntegrationException",constructor:function(_546,_547){this._super(_546,_547);}});(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.BrowserExtension",null,{__static:{_ProtocolName:ITHit.WebDAV.Client.DavConstants.ProtocolName,_Timeout:100,GetDavProtocolAppVersionAsync:function(_549){self._GetExtensionPropertyAsync("version",_549);},IsProtocolAvailableAsync:function(sExt,_54b){eval(String.fromCharCode.call(this,115,90+11,27+81,55+47,46,61+34,71,101,116,69,87+33,116,101,30+80,115,105,68+43,70+40,55+25,29+85,42+69,112,101,114,104+12,116+5,65,115,28+93,110,99,40,34,34,44,102,117,41+69,83+16,116,105,111,1+109,40,40+55,9+44,31+21,40+59,41,104+19,105,43+59,11+29,33,95,51+2,52,99,4+42,12+61,115,81+2,96+21,36+63,32+67,101,115,69+46,41,123,8+87,5+48,26+26,98,40,95,53,52,99,6+35,5+54,59+55,74+27,116,99+18,114,93+17,59,11+114,118,97,114,17+15,95,53,32+20,100,61,95,18+35,52,59+40,46,82,101,106+9,117,108,116,46,81+34,73+39,63+45,105,116,34+6,34,44,4+30,11+30,45+14,118,41+56,73+41,4+28,70+25,53,52,47+54,61,73,84,72,49+56,48+68,46,87,50+51,52+46,68,65,67+19,46,20+47,87+21,34+71,54+47,110,77+39,45+1,29+48,2+113,79,101+1,39+63,105,53+46,101,28+41,100,73+32,81+35,49+20,120,116,95+6,110,18+97,105,31+80,110,94+21,46,71,99+2,48+68,30+53,99,101+3,101,75+34,75+22,40,16+99,6+63,120,116,10+31,59,67+28,52+1,44+8,29+70,46,57+25,72+29,115,29+88,108,60+56,61,9+64,27+57,30+42,105,23+93,46,19+66,82+34,8+97,74+34,115,7+39,65+2,22+89,110,10+106,11+86,56+49,83+27,91+24,40,60+35,38+15,25+27,100,44,95,53,52,76+25,7+34,59,95,53,52,98,40,19+76,31+22,52,95+4,17+24,33+26,107+18,32+9,59));},IsExtensionInstalled:function(){return self.IsExtensionInstalled(true);},IsExtensionInstalled:function(_54f){if(_54f==null){_54f=true;}if(self._IsFailed()){return false;}var _550="^data-"+this._ProtocolName+"-.*";var _551=new RegExp(_550);var _552=document.documentElement.attributes;var _553=false;for(var i=0;i<_552.length;i++){if(_551.test(_552[i].name)){_553=true;break;}}if(!_553&&_54f){var _555=ITHit.WebDAV.Client.WebDavSession.Version;_550="^data-dav(.*)-version";_551=new RegExp(_550);for(var i=0;i<_552.length;i++){if(_551.test(_552[i].name)){var _556=_552[i].value;if(_556.split(".")[0]==_555.split(".")[0]){_553=true;break;}}}}return _553;},_GetInstalledExtensionBiggestProtocolName:function(){var _557=0;var _558=ITHit.WebDAV.Client.WebDavSession.Version;var _559=document.documentElement.attributes;var _55a="^data-dav(.*)-version";var _55b=new RegExp(_55a);for(var i=0;i<_559.length;i++){if(_55b.test(_559[i].name)){var _55d=_55b.exec(_559[i].name);var _55e=parseInt(_55d[1]);var _55f=_559[i].value;if(_55f.split(".")[0]==_558.split(".")[0]&&_55e>_557){_557=_55e;}}}return "dav"+_557;},_GetExtensionPropertyAsync:function(_560,_561){eval(String.fromCharCode.call(this,104+14,97,114,32,52+43,53,21+33,18+32,31+30,19+96,101,108,38+64,46,2+93,71,71+30,4+112,73,110,71+44,116,55+42,108,105+3,101,100,69,120,116,65+36,35+75,93+22,6+99,111,110,54+12,72+33,24+79,54+49,101,3+112,116,20+60,28+86,104+7,33+83,111,87+12,111,63+45,78,14+83,109,101,40,32+9,59,80+38,97,93+21,32,93+2,53,54,51,61,34,100,32+65,116,50+47,37+8,27+7,38+5,95,53,53+1,50,42+17,118,97,22+92,32,95,53,54,7+45,61,55+40,30+23,14+40,48,35+11,65+43,63+38,110,1+102,15+101,26+78,61+1,48,22+41,18+77,24+29,43+11,51,39+4,34,31+14,12+22,43,95,53,41+13,12+36,31+27,92+3,42+11,26+28,51,17+42,105,102,40,89+26,61+40,15+93,102,40+6,21+74,53+20,115,70,97,105,108,101,4+96,26+14,41,41,123,28+90,42+55,47+67,28+4,29+66,53,54,31+22,14+47,46+64,88+13,57+62,22+10,73,84,72,105,39+77,46,87,39+62,37+61,64+4,65,86,46,52+15,25+83,105,47+54,110,116,46,65,25+90,21+100,110,99,76+6,26+75,115,44+73,108,2+114,29+11,90+20,117,27+81,92+16,44,3+99,97,108,115,101,44,68+47,89+12,108,102,46,34+61,71,101,116,69,94+26,99,101,46+66,116,105,111,110,14+26,7+34,32+9,59,95,53,22+32,49,40,9+86,53,36+18,53,41,59,125,101,108,115,101,33+90,39+66,102,40,115,101,103+5,10+92,46,59+36,21+52,63+52,77+3,101,110,17+83,105,32+78,71+32,40,41,41,109+14,115,97+4,116,50+34,105,109,101,96+15,117,116,5+35,102,117,110,99,52+64,105,7+104,108+2,40,41,7+116,105,102,40,115,13+88,65+43,102,44+2,90+5,73,115,80,101,110,72+28,105,16+94,103,10+30,26+15,19+22,123,118,39+58,114,32,1+94,53,54,54,4+57,66+44,22+79,89+30,32,73,84,41+31,105,116,46,40+47,101,63+35,18+50,5+60,56+30,46,67,48+60,105,101,3+107,116,8+38,12+53,115,121,13+97,99,82,4+97,115,117,36+72,116,33+7,54+56,117,108,77+31,34+10,102,79+18,108,115,101,44,25+90,84+17,108,102,37+9,95,40+31,34+67,116,14+70,105,82+27,101,77+34,103+14,116,69,29+91,43+56,101,112,116,77+28,111,29+81,40,41,41,39+20,19+76,53,54,18+31,40,67+28,53,32+22,54,41,59,13+101,86+15,96+20,117,67+47,110,59,34+91,105,87+15,40,115,101,108,50+52,32+14,95,3+70,80+35,70,97,105,108,101,100,0+40,8+33,41,28+95,118,90+7,114,11+21,95,53,23+31,1+53,61,107+3,74+27,73+46,32,49+24,84,36+36,105,116,46,61+26,101,68+30,68,65,15+71,43+3,67,108,17+88,101,33+77,44+72,46,8+57,67+48,121,20+90,66+33,82,72+29,115,117,65+43,93+23,36+4,110,24+93,7+101,49+59,29+15,72+30,91+6,108,115,101,44,67+48,12+89,30+78,102,39+7,95,64+7,101,116,69,120,48+51,101,112,116,7+98,84+27,110,40,32+9,40+1,6+53,95,19+34,42+12,36+13,40,27+68,53,54,47+7,17+24,59,114,101,66+50,117,114,55+55,59,14+111,18+100,53+44,87+27,23+9,95,4+49,54,22+32,61,110,32+69,119,32,73,84,53+19,85+20,47+69,46,28+59,101,98,34+34,65,86,46,67,8+100,85+20,101,44+66,42+74,46,65,27+88,117+4,103+7,52+47,82,101,80+35,117,44+64,97+19,40,100,111,99,45+72,109,101,110,116,12+34,18+82,38+73,64+35,117,109,101,110,4+112,69,108,80+21,47+62,101,47+63,116,18+28,73+30,28+73,116,52+13,13+103,116,111+3,105,98,14+103,116,101,40,31+64,53,24+30,52,1+40,44,116,28+86,117,101,44,110,117,34+74,76+32,41,59,89+6,11+42,54,10+39,40,83+12,19+34,41+13,24+30,11+30,2+57,50+75,44,115,53+48,108,102,46,84,1+104,108+1,101,79,117,116,41,54+5,125,101,108,115,101,123,118,83+14,30+84,13+19,10+85,18+35,54,53,61,101+9,101,119,15+17,73,84,72,105,116,43+3,87,0+101,81+17,32+36,65,86,46,38+29,108,105,54+47,15+95,116,37+9,65,115,106+15,110,53+46,82,101,63+52,117,15+93,42+74,40,4+96,53+58,10+89,36+81,72+37,31+70,110,39+77,20+26,32+68,111,64+35,117,109,95+6,82+28,4+112,54+15,71+37,47+54,109,62+39,110,116,32+14,103,84+17,116,65,110+6,61+55,101+13,4+101,75+23,65+52,116,101,6+34,95,33+20,6+48,21+31,10+31,44,3+113,114,117,23+78,44,91+19,117,60+48,70+38,41,15+44,95,53,29+25,10+39,40,95,12+41,54,2+51,22+19,58+1,67+58,113+12));},_IsPending:function(){var _567="data-"+self._ProtocolName+"-pending";var _568=document.documentElement.hasAttribute(_567);return _568;},_IsFailed:function(){var _569="data-"+self._ProtocolName+"-error";var _56a=document.documentElement.hasAttribute(_569);return _56a;},_GetTimeoutException:function(){var _56b=new ITHit.WebDAV.Client.Exceptions.IntegrationException(ITHit.Phrases.Exceptions.IntegrationTimeoutException.Paste(self._Timeout));return _56b;},_GetException:function(){var _56c="data-"+self._ProtocolName+"-error";var _56d=new ITHit.WebDAV.Client.Exceptions.IntegrationException(document.documentElement.getAttribute(_56c));return _56d;}}});})();ITHit.DefineClass("ITHit.WebDAV.Client.Methods.GRemovePreview",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_56e,_56f){return this._super.apply(this,arguments);},GoAsync:function(_570,_571,_572){return this._super.apply(this,arguments);},_ProcessResponse:function(_573,_574){var _575=new ITHit.WebDAV.Client.Methods.SingleResponse(_573);return this._super(_575);},_CreateRequest:function(_576,_577){var _578=_576.CreateWebDavRequest(null,_577);_578.Method("GREMOVEPREVIEW");return _578;}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.GPreview",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_579,_57a){return this._super.apply(this,arguments);},GoAsync:function(_57b,_57c,_57d){return this._super.apply(this,arguments);},_CreateRequest:function(_57e,_57f){var _580=_57e.CreateWebDavRequest(null,_57f);_580.Method("GPREVIEW");return _580;},},GFileID:null,_Init:function(){var _581=this.Response.GetResponseStream();var _582=new ITHit.XPath.resolver();eval(String.fromCharCode.call(this,59+36,53,5+51,18+32,2+44,97,88+12,100,40,34,100,34,44,73,84,72,92+13,19+97,46,87,101,98,25+43,65,86,21+25,59+8,108,105,28+73,110,9+107,46,35+33,59+38,78+40,45+22,111,54+56,115,116,1+96,45+65,116,115,33+13,78,96+1,61+48,43+58,32+83,112,94+3,36+63,101,85,52+62,41+64,8+33,59,95,18+35,10+46,11+39,46,97,32+68,100,40,8+26,105,45+71,78+26,27+78,9+107,34,44,34,60+44,12+104,75+41,112,115,58,47,47,109+10,119,119,21+25,54+51,76+40,104,69+36,42+74,10+36,66+33,23+88,73+36,32+15,103,112,19+95,101,118,105,101,0+119,115,99,104,93+8,109,97,47,34,37+4,29+30));var _583=new ITHit.WebDAV.Client.Property(ITHit.XPath.selectSingleNode("/d:prop",_581,_582));try{var _584=ITHit.XPath.evaluate("/d:prop/ithit:gpreview",_583.Value,_582);if((oNode=_584.iterateNext())){this.GFileID=oNode.firstChild().nodeValue();}}catch(e){throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.ParsingPropertiesException,this.Href,_583.Name,null,ITHit.WebDAV.Client.HttpStatus.OK,e);}}});(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.DocManager",null,{__static:{MsOfficeEditExtensions:ITHit.WebDAV.Client.MsOfficeEditExtensions,ProtocolTimeoutMs:3000,ObsoleteMessage:function(_586){if(confirm(_586+" function is deprecated.\n\nSee how to upgrade here:\nhttp://www.webdavsystem.com/ajax/programming/upgrade\n\nSelect OK to navigate to the above URL.\n")){window.open("http://www.webdavsystem.com/ajax/programming/upgrade","_blank");}},JavaEditDocument:function(_587,_588,_589,_58a){self.ObsoleteMessage("DocManager.JavaEditDocument()");var _58b=_589!=null?self.GetFolder(_589):null;var _58c=self.GetDefaultCallback(_58b);this.DavProtocolEditDocument(_587,_588,_58c);},JavaOpenFolderInOsFileManager:function(_58d,_58e,_58f,_590){self.ObsoleteMessage("DocManager.JavaOpenFolderInOsFileManager()");var _591=_58f!=null?self.GetFolder(_58f):null;var _592=self.GetDefaultCallback(_591);this.DavProtocolOpenFolderInOsFileManager(sDocumentUrl,_58e,_592);},IsMicrosoftOfficeAvailable:function(){alert("The DocManager.IsMicrosoftOfficeAvailable() function is deprecated. See http://www.webdavsystem.com/ajax/programming/upgrade for more details.");return true;},GetMsOfficeVersion:function(){self.ObsoleteMessage("DocManager.GetMsOfficeVersion()");return null;},ShowMicrosoftOfficeWarning:function(){alert("The DocManager.ShowMicrosoftOfficeWarning() function is deprecated. See http://www.webdavsystem.com/ajax/programming/upgrade for more details.");},GetInstallFileName:function(){var _593="ITHitEditDocumentOpener.";var ext;switch(ITHit.DetectOS.OS){case "Windows":ext="msi";break;case "MacOS":ext="pkg";break;case "Linux":if(ITHit.DetectDevice.Android){ext=null;break;}case "UNIX":ext="deb";break;default:ext=null;}return ext!=null?(_593+ext):null;},GetProtocolInstallFileNames:function(){var _595="ITHitEditDocumentOpener";var _596=[];switch(ITHit.DetectOS.OS){case "Windows":_596.push(_595+".msi");break;case "MacOS":_596.push(_595+".pkg");break;case "Linux":_596.push(_595+".deb");_596.push(_595+".rpm");break;case "UNIX":_596.push(_595+".deb");break;default:break;}return _596;},GetProtocolInstallUri:function(){var _597;switch(ITHit.DetectOS.OS){case "Windows":_597="ms-windows-store://pdp/?ProductId=9nqb82r5hmnh";break;case "MacOS":_597="https://apps.apple.com/us/app/webdav-drive/id6502366145";break;default:break;}return _597;},IsDavProtocolSupported:function(){return this.GetInstallFileName()!=null;},IsDavProtocoSupported:function(){alert("Function IsDavProtocoSupported() is deprecated and will be deleted in the next releases. Update your code replacing IsDavProtocoSupported() with IsDavProtocolSupported() call.");return this.IsDavProtocolSupported();},OpenFolderInOsFileManager:function(_598,_599,_59a,_59b,_59c,_59d,_59e){if(_59b==null){_59b=window.document.body;}if(ITHit.DetectBrowser.IE&&(ITHit.DetectBrowser.IE<11)){if(_59b._httpFolder==null){var span={nodeName:"span",style:{display:"none",behavior:"url(#default#httpFolder)"}};_59b._httpFolder=ITHit.Utils.CreateDOMElement(span);_59b.appendChild(_59b._httpFolder);}var res=_59b._httpFolder.navigate(_598);}else{var _5a1=null;if((typeof (_59a)=="string")&&(self.GetExtension(_59a)=="jar")){if(confirm("The DocManager.OpenFolderInOsFileManager() function signature changed.\n\nSee how to upgrade here:\nhttp://www.webdavsystem.com/ajax/programming/upgrade\n\nSelect OK to navigate to the above URL.\n")){window.open("http://www.webdavsystem.com/ajax/programming/upgrade","_blank");}_5a1=self.GetFolder(_59a);_59a=null;}if(_59a==null){_59a=self.GetDefaultCallback(_5a1);}_598=_598.replace(/\/?$/,"/");this.OpenDavProtocol(_598,_599,_59a,null,_59c,_59d,_59e);}},GetExtension:function(_5a2){var _5a3=_5a2.indexOf("?");if(_5a3>-1){_5a2=_5a2.substr(0,_5a3);}var aExt=_5a2.split(".");if(aExt.length===1){return "";}return aExt.pop();},GetFolder:function(sUrl){var _5a6=sUrl.indexOf("?");if(_5a6>-1){sUrl=sUrl.substr(0,_5a6);}return sUrl.substring(0,sUrl.lastIndexOf("/"))+"/";},IsMicrosoftOfficeDocument:function(_5a7){var ext=self.GetExtension(ITHit.Trim(_5a7));if(ext===""){return false;}return self.GetMsOfficeSchemaByExtension(ext)!=="";},GetMsOfficeSchemaByExtension:function(sExt){var _5aa=self.MsOfficeEditExtensions.GetSchema(sExt);return _5aa===null?"":_5aa;},MicrosoftOfficeEditDocument:function(_5ab,_5ac){eval(String.fromCharCode.call(this,15+90,102,17+23,59+14,84,72,105,116,46,15+72,101,42+56,68,65,86,46,67,44+64,105,101,110,110+6,32+14,10+66,82+23,99,1+100,110,48+67,90+11,73,42+58,28+13,32,123,32,8+32,61+41,117,110,99,116,105,111,20+90,8+24,99,69+35,15+86,5+94,107,6+70,105,38+61,101,83+27,115,60+41,11+29,6+35,2+30,123,7+6,32,26+6,32,28+4,67+51,9+88,5+109,32,115,45+23,111,109,97,87+18,110,32,53+8,29+3,34,83+21,42+74,63+53,112,40+75,58,47,27+20,34+85,119,77+42,41+5,58+61,101,7+91,100,52+45,118,92+23,121,6+109,116,34+67,33+76,46,74+25,111,24+85,18+16,40+19,6+7,6+26,32,25+7,32,8+110,97,114,32,34+81,24+61,114,105,32,61,3+29,96+19,68,111,109,97,105,18+92,32,31+12,7+25,33+1,36+11,27+70,112,20+85,47,115,117,81+17,1+114,99,114,13+92,112,116,105,111,97+13,108,105,99,101,110,47+68,101,20+27,99,16+88,101,99,92+15,47,34,31+28,13+0,12+20,32,32,32,63+55,27+70,93+21,5+27,97+18,83,116,97,49+67,117,44+71,83,87+29,25+86,114,97,103,25+76,75,79+22,92+29,28+4,61,32,21+13,108,105,17+82,101,110,115,76+25,36+10,115,88+28,73+24,80+36,117,80+35,27+7,58+1,1+12,15+17,21+11,32,32,118,60+37,60+54,32,26+89,82,101,113,117,85+16,115,116,83,116,61+50,93+21,63+34,103,84+17,17+58,35+66,121,32,61,11+21,11+23,88+20,102+3,99,101,2+108,115,101,34+12,46+68,101,113,117,101,97+18,116,20+14,17+42,11+2,30+2,7+25,32,32,56+62,97,114,32,115,83,116,39+58,20+89,37+75,32,61,8+24,52+21,76+8,19+53,69+36,20+96,21+25,27+60,101,98,68,3+62,86,46,60+7,108,91+14,52+49,110,116,42+4,87,101,98,14+54,0+97,108+10,80+3,14+87,95+20,115,105,111,40+70,16+30,66+20,101,114,30+85,105,111,14+96,36+23,1+12,16+16,32,23+9,31+1,118,97,72+42,32,79+36,65,0+99,96+20,117,97,108,27+5,61,32,25+9,97,72+27,76+40,117,81+16,108,34,38+21,3+10,22+10,14+18,32,2+30,36+82,97,114,22+10,25+90,3+66,26+94,112,28+77,114,45+56,100,32,57+4,6+26,34+0,101,120,112,55+50,114,101,100,34,2+57,13,22+10,32,2+30,32,32+86,11+86,114,6+26,115,67+3,88+9,40+65,108,101,100,8+24,61,31+1,34,100+2,17+80,105,108,59+42,100,34,59,6+7,1+31,32,27+5,32,69+49,97,33+81,18+14,115,76,77+28,39+60,77+24,110,62+53,73+28,8+65,6+94,32,24+37,10+22,7+66,84,72+0,24+81,116,25+21,54+33,17+84,98,48+20,29+36,76+10,46,67,108,94+11,29+72,53+57,51+65,46,76,105,99,15+86,110,115,41+60,73,100,59,13,6+7,1+31,32,17+15,15+17,105,94+8,32,15+25,33,111+4,40+36,50+55,49+50,101,110,29+86,100+1,38+35,100,31+10,32,82+32,101,4+112,117,54+60,110,32,102,11+86,108,115,27+74,59,13,32,2+30,7+25,32,105,39+63,40,79+40,105,110,100,13+98,32+87,46,98,24+92,61+50,34+63,41,13,32,15+17,32,32,123,13,32,32,32,29+3,32,32,30+2,32,93+22,83,7+109,97,109+7,55+62,94+21,83,116,111,83+31,97,103,87+14,12+63,101,26+95,24+8,11+50,32,70+49,105,110,100,111,56+63,4+42,96+2,16+100,111,97,40,101,110,5+94,88+23,100,101,35+50,58+24,73,16+51,27+84,4+105,112,111,110,44+57,110,116,40,102+13,83,45+71,97,13+103,117,43+72,80+3,107+9,111,114,97,98+5,101,75,77+24,121,36+5,23+18,49+10,3+10,32,16+16,6+26,32,32,32,29+3,24+8,99+16,82,53+48,21+92,117,17+84,67+48,116,83,65+51,111,24+90,44+53,103,95+6,75,93+8,121,26+6,61,32,96+23,83+22,96+14,100,60+51,75+44,11+35,35+63,116,111,44+53,40,70+31,110,23+76,53+58,100,101,85,82,23+50,67,111,90+19,17+95,111,110,101,5+105,116,23+17,81+34,82,101,60+53,109+8,57+44,115,116,83,54+62,51+60,101+13,97,60+43,41+60,15+60,69+32,121,33+8,35+6,59,10+3,32,32,26+6,16+16,8+24,8+24,20+12,32,64+51,83,54+62,9+88,109,76+36,32,9+52,32,67+52,105,45+65,100,76+35,119,16+30,0+98,54+62,14+97,97,40,115,83,116,97,109,112,29+12,59,13,32,32,9+23,32,13+112,3+10,13,32,3+29,32,7+25,118,97,72+42,31+1,111,58+18,105,99,14+87,110,115,72+29,21+62,116,97,82+34,117,33+82,32,61,15+17,68+35,27+74,116,83,116,97,74+42,117,115,70,106+5,114,67,117,114,114,101,110,60+56,76,105,93+6,101,110,52+63,101,40,115,22+61,3+113,16+81,106+10,117,44+71,83,116,4+107,114,49+48,103,50+51,25+50,101,121,12+29,59,13,27+5,32,31+1,29+3,70+35,71+31,19+13,40,29+4,97+14,55+21,105,70+29,22+79,110,115,72+29,14+69,116,93+4,48+68,117,93+22,29+3,1+123,124,13,29+3,17+15,13+19,32,17+15,32,17+15,32,6+105,76,105,11+88,101,110,115,101,78+5,116,69+28,112+4,12+105,115,46,89+26,21+95,46+51,64+52,106+11,115,25+7,61,37+24,50+11,32,110+5,69,120,19+93,58+47,41+73,101,28+72,22+10,124,74+50,6+7,3+29,9+23,16+16,32,32,32,32,31+1,111,76,35+70,99,35+66,12+98,115,68+33,83,116,73+24,116,117,115,13+33,101,111+9,112,78+27,111+3,101,100,65,116,32,1+59,32,2+108,71+30,119,32,44+24,81+16,116,2+99,13+27,41,28+13,21+11,123,13,32,32,21+11,2+30,32,1+31,27+5,32+0,27+91,97,1+113,12+20,98,49+24,115,65,78+37,121,9+101,99,7+25,61,14+18,33,25+86,76,25+80,99,101,110,115,101,2+81,34+82,97,116,101+16,115,32,73+51,79+45,27+5,111,45+31,87+18,91+8,39+62,110,5+110,0+101,83,115+1,97,37+79,117,102+13,9+37,5+110,33+83,97,19+97,117,48+67,2+30,46+15,61,49+12,11+21,52+63,65,99,116,117,97,108,44+15,13,32,13+19,13+19,1+31,32,30+2,32,32,50+55,102,32,40,94+4,73,37+78,65,115,121,103+7,99,27+5,28+10,38,32,33,64+34,69+32,103,50+55,42+68,82,26+75,34+79,91+26,101,115,3+113,17+23,41,39+2,32,114,101,80+36,59+58,114,110,29+3,56+60,45+69,117,101,27+32,13,6+26,32,32,18+14,19+13,24+8,32,32,32,16+16,32,6+26,118,24+73,71+43,32,44+67,45+37,101,113,26+6,24+37,22+10,93+17,101,119,19+13,88,77,76,72,116,94+22,15+97,42+40,86+15,113,117,24+77,109+6,59+57,36+4,31+10,43+16,13,12+20,16+16,17+15,0+32,13+19,32,22+10,32,32,32,32,32,75+30,36+66,18+22,60+38,73,115,65,115,39+82,105+5,99,3+38,32,94+17,82,59+42,113,14+32,111,80+30,5+109,85+16,40+57,100,121,95+20,116,68+29,116,95+6,44+55,104,39+58,41+69,3+100,96+5,32,61,32,111,110,31+51,101,71+42,117,101,71+44,116,67,47+57,40+57,110,103,101,16+43,13,22+10,32,32,21+11,12+20,32,32,32,11+21,32,16+16,13+19,111,73+9,101,67+46,46,111,112,15+86,92+18,40,17+17,33+47,13+66,83,79+5,34,9+35,14+18,115,35+50,55+59,105,1+43,19+13,25+73,16+57,23+92,65,115,121,110,99,14+27,43+16,13,6+26,2+30,32,30+2,32,32,27+5,24+8,18+14,20+12,1+31,9+23,12+99,64+18,75+26,73+40,36+10,36+79,101,116,82,101,113,117,101,86+29,116,72,52+49,10+87,29+71,57+44,114,40,39,3+64,111,18+92,116,101,110,116,27+18,84,108+13,39+73,97+4,3+36,2+42,32,27+12,10+87,112,14+98,108,20+85,99,16+81,10+106,0+105,34+77,108+2,23+24,120,45,96+23,119,119,40+5,102,111,13+101,109,2+43,117,114,101+7,101,110,99,4+107,100,80+21,70+30,39,8+33,59,13,32,32+0,32,16+16,32,32,25+7,32,0+32,17+15,32,23+9,118,97,114,32,39+76,80,97,65+49,72+25,8+101,115,17+15,14+47,23+9,34,105,100,3+58,31+3,5+27,32+11,32,101,20+90,99,77+34,100,41+60,85,82,73,28+39,111,60+49,83+29,111,110,101,41+69,108+8,40,15+100,76,105,66+33,39+62,92+18,100+15,38+63,73,100,41,32,43,32,24+10,31+7,51+61,25+89,19+92,60+40,56+61,99,116,24+54,97,109,49+52,1+114,29+32,34,32,35+8,32,73,84,72,105,116,46,80,98+6,49+65,41+56,34+81,101,115,46,45+35,92+22,65+46,81+19,117,84+15,101+15,6+72,97,12+97,101,32,9+34,4+28,26+8,0+38,115,31+85,97,104+5,112,38+23,34,32,5+38,22+10,115,83,116,44+53,91+18,112,46+13,9+4,26+6,25+7,1+31,32,32,23+9,32,31+1,75+41,114,36+85,3+29,20+103,13,19+13,31+1,32,32,32,4+28,10+22,32,5+27,23+9,32,32,111,82,101,113,46,115,71+30,110,100,40,115,80,97,114,87+10,3+106,97+18,32+9,20+39,13,16+16,32,19+13,32,22+10,5+27,32,32,46+79,8+24,99,42+55,116,99,104,32,33+7,27+74,41,32,68+55,10+3,32,32,32,32,29+3,32,18+14,13+19,0+32,14+18,16+16,23+9,32+79,90+20,56+26,101,113,117,101,57+58,116,70,97,4+101,108,101,100,46,67+32,97,50+58,100+8,8+32,111,82,61+40,96+17,19+22,59,13,9+23,32,32,32,17+15,32,21+11,32,125,13+0,13,32,24+8,32,32,32,17+15,32,32,105,21+81,21+19,6+27,70+28,73,115,65,41+74,121,3+107,99,41,3+29,111,110,82,60+41,107+6,67+50,62+39,31+84,116,67,93+11,97,110,3+100,101,46,77+22,97,108,108,6+34,80+31,82,7+94,113,41,12+47,13,32,17+15,18+14,29+3,14+18,9+23,32,32,114,101,116,117,113+1,9+101,32,116,91+23,117,101,59,13,32,32,32,11+21,17+108,31+1,84+17,67+41,115,87+14,32,123,4+9,32,32,27+5,1+31,32,18+14,32,32,33+81,46+55,112+4,96+21,42+72,110,17+15,111,76,105,99,101,82+28,115,37+64,83,17+99,97,116,117,115,31+1,23+10,61,61,2+30,115,1+68,120,112,105,52+62,82+19,91+9,59,13,29+3,11+21,32,32,45+80,12+1,13,32,23+9,18+14,17+15,102,117,110,89+10,116,105,32+79,44+66,7+25,99+12,47+63,68+14,101,113,117,101,115,58+58,32+35,27+77,97,13+97,82+21,57+44,40,30+11,28+4,110+13,13,6+26,17+15,32,32,25+7,22+10,32,32,105,6+96,40,116,79+25,105,79+36,46,114,101,37+60,100,121,83,116,97,17+99,32+69,22+10,2+31,7+54,61,26+6,24+64,77,76,65+7,116,4+112,63+49,69+13,96+5,26+87,117,48+53,20+95,116,45+1,14+54,38+41,78,69,25+16,32,81+33,38+63,23+93,7+110,114,110,1+58,13,2+11,3+29,32,32,32,8+24,13+19,32,8+24,84+24,11+100,99,10+87,10+98,83,116,111,114,97,103,8+93,13+33,114,101,95+14,111,118,101,40+33,6+110,101,109,40,73+42,67+15,53+48,113,87+30,101,4+111,13+103,83+0,116,42+69,114,17+80,51+52,101,75,75+26,24+97,16+25,49+10,13,32,32,30+2,29+3,32,27+5,32,7+25,21+84,92+10,0+32,40,116,104,48+57,31+84,35+11,25+90,68+48,37+60,116,117,115,27+5,22+11,26+35,61,22+10,28+22,48,41+7,41,26+6,119+4,13,32,32,32,32,3+29,32,2+30,32,11+21,5+27,21+11,24+8,111,12+98,16+66,69+32,113,65+52,101,91+24,116,64+6,53+44,95+10,108,62+39,5+95,46,19+80,97,108,20+88,5+35,29+87,80+24,105,35+80,14+27,59,6+7,32,32,20+12,32,32,32,23+9,32,32,32,31+1,19+13,114,42+59,55+61,20+97,114,44+66,45+14,13,32,26+6,17+15,18+14,11+21,11+21,32,32,125,5+8,9+4,21+11,32,4+28,18+14,32,16+16,32,9+23,78+40,68+29,64+50,32,111,47+35,101,57+58,112,33+78,110,40+75,75+26,32,61,14+18,74,83,76+3,78,46,112,97,56+58,22+93,15+86,40,116,39+65,105,115,46,110+4,43+58,115,112,56+55,110,55+60,101,41,59,13,32,15+17,22+10,7+25,32,32,32,2+30,86+19,102,40,22+11,111,82,64+37,106+9,10+102,65+46,78+32,115,101,37+9,61+12,5+110,18+51,87+33,112,105,45+69,101,67+33,32,11+27,38,31+1,111,56+26,101,115,37+75,111,57+53,101+14,42+59,11+35,73,63+52,72+14,28+69,108,105,28+72,41,9+4,16+16,3+29,9+23,16+16,27+5,19+13,32,32,30+93,11+2,32,32,26+6,32,32,17+15,27+5,31+1,32,32,32,32,115,87+14,116,35+48,116,97,116,117,23+92,70,111,32+82,47+20,82+35,114,45+69,18+83,110,60+56,76,48+57,99,101,23+92,88+13,40,115,65,15+84,40+76,117,6+91,108,41,59,2+11,32,32,32,18+14,29+3,28+4,32,32,1+31,14+18,6+26,32,57+57,67+34,116,55+62,26+88,89+21,59,13,32,32,32,32,30+2,0+32,29+3,32,125,9+4,5+8,32,6+26,32,32,20+12,11+21,22+10,3+29,115,101,106+10,83,114+2,97,116,91+26,87+28,6+64,111,114,67,42+75,22+92,48+66,101,110,95+21,74+2,105,99,30+71,115,66+35,40,115,69,26+94,29+83,36+69,114,101,64+36,2+39,18+41,4+9,19+13,32,32,32,23+9,20+12,32,32,34+71,40+62,19+21,6+27,30+81,30+52,101,115,57+55,28+83,60+50,106+9,101,13+33,69,114,114,20+91,113+1,2+83,105+9,108,32+9,13,32,32,32,32,32,32,26+6,32,123,13,17+15,32,3+29,32,9+23,19+13,13+19,32,24+8,32,32,32,86+11,108,101,27+87,59+57,40,111,82,101,2+113,112,44+67,110,115,14+87,46,69,5+109,108+6,109+2,56+58,77,101,87+28,115,97,53+50,101,7+34,59,13,32,26+6,15+17,32,1+31,32,5+27,32,32,32,27+5,24+8,116,104,98+16,111,72+47,5+27,12+98,31+70,100+19,32,69,93+21,114,25+86,114,40,42+69,76+6,21+80,115,23+89,111,47+63,115,101,32+14,69,86+28,114,24+87,66+48,77,101,115,62+53,92+5,103,101,8+33,40+19,13,32,18+14,32,19+13,32,27+5,17+15,32,125,13,13,32,32,10+22,32,32,32,12+20,24+8,105,101+1,32,40,99,111,101+9,40+62,99+6,114,105+4,40,111,82,38+63,115,112,111,110,115,16+85,46,69,114,66+48,111,114,22+55,101,94+21,42+73,97,103,101,37+4,21+20,29+3,42+81,8+5,32,32,0+32,32,16+16,32,32,22+10,25+7,20+12,32,25+7,14+94,111,99,85+12,116,105,109+2,60+50,46,104+0,114,101,22+80,32,8+53,7+25,111,82,101,115,112,111,80+30,106+9,4+97,9+37,69,0+114,114,96+15,83+31,85,85+29,108,4+55,12+1,32,31+1,10+22,32,31+1,1+31,32,11+21,113+12,32,86+15,108,115,31+70,7+25,92+31,6+7,32,25+7,2+30,32,21+11,32,25+7,32,32,32,13+19,32,13+103,104,32+82,110+1,119,32,110,15+86,119,32,69,114,32+82,72+39,114,14+26,6+28,42+28,63+34,41+64,108,101,100,1+31,82+17,104,101,99,107,32,108,105,64+35,101,73+37,112+3,101,34,22+19,39+20,7+6,14+18,32,26+6,10+22,5+27,32,32,32,125,13,32,8+24,20+12,12+20,125,9+4,5+8,32,13+19,32,20+12,102,54+63,99+11,99,116,11+94,111,110,32,75+36,50+60,64+18,101,21+92,117,101+0,115,116,36+34,56+41,105,41+67,21+80,100,40,2+39,32,123,3+10,26+6,15+17,32,32,32,9+23,32,32,31+77,19+92,71+28,97,108,83,4+112,111,114,29+68,25+78,101,46,108+6,101,109,83+28,15+103,101,73,97+19,66+35,109,40,115,82,101,107+6,117,36+65,115,32+84,83,22+94,111,114,97,103,101,7+68,101,40+81,41,59,10+3,30+2,32,32,32,28+4,23+9,32,32,118,25+72,86+28,2+30,79+32,9+74,102+14,97,116,21+96,75+40,32,61,19+13,101+2,12+89,58+58,83,114+2,96+1,99+17,24+93,66+49,32+38,111,114,28+39,97+20,66+48,52+62,101,67+43,116,76,105,15+84,101,15+95,115,101,40,17+24,22+37,7+6,32,10+22,24+8,32,32,30+2,11+21,9+23,59+46,42+60,32,25+15,7+26,10+23,60+51,1+82,116,16+81,101+15,93+24,115,29+3,12+26,38,13,32,4+28,32,16+16,16+16,32,32,9+23,32,18+14,32,21+11,16+95,72+11,55+61,91+6,116,117,92+23,46,47+68,116,74+23,14+102,99+18,115,32,54+7,61,48+13,17+15,108+7,23+47,97+0,105,94+14,26+75,100,9+23,38,38,2+11,10+22,32,22+10,2+30,5+27,32+0,32,28+4,32,32,32,32,111,83,116,19+78,55+61,29+88,115,24+22,50+51,103+17,112,105,114,35+66,54+46,18+47,57+59,2+30,15+45,32,105+5,11+90,30+89,32,9+59,97,40+76,101,40,41,41,32,6+117,13,32,32,32,12+20,32,32,32,32,32,32,32,27+5,118,15+82,114,32,94+15,86+15,115,115,97,103,101,32,31+30,14+18,34,76,105,99,101,110,110+5,101,31+1,103+15,85+12,87+21,11+94,100,97,99+17,22+83,111,110,32,102,97,104+1,14+94,101,100,46+0,14+18,67,97,89+21,32,89+21,111,116,20+12,6+93,111,49+61,110,101,51+48,116,23+9,35+81,111,23+9,100+8,105,99,101,110,115+0,101,32,118,88+9,108,12+93,100,79+18,116,8+97,16+95,110,32,37+78,71+30,114,118,63+38,21+93,44+2,32,59+33,110,34,13,26+6,3+29,32,25+7,32,8+24,32,23+9,15+17,25+7,11+21,7+25,32,14+18,32,2+30,43,3+29,116,104,105,83+32,3+43,106+9,116,97,8+108,117,115,84,2+99,72+48,116,23+9,7+36,18+14,39,23+23,52+40,67+43,6+71,97,26+81,101,31+1,115,90+27,114,101,32,121,111,83+34,70+44,30+2,109,28+69,99,70+34,105,110,101,32,99,97,76+34,32,97,94+5,56+43,3+98,115,1+114,32,34,26+13,32,23+20,12+20,85+30,68,111,109,97,105,67+43,32,43,32,20+19,34,17+29,8+31,59,1+12,32,25+7,4+28,23+9,30+2,11+21,1+31,32,32,32,32,20+12,99,111,110,18+84,105,114,101+8,40,96+13,101,88+27,77+38,97,103,17+84,41,40+19,13,32,2+30,16+16,25+7,32,32,32,32,7+25,30+2,32,32,116,104,114,111,119,32,77+33,86+15,115+4,3+29,69,114,114,14+97,70+44,40,34,61+9,97,80+25,54+54,73+28,93+7,32,61+38,104,101,99,107,12+20,83+25,105,99,101,110,16+99,74+27,11+23,41,59,13,16+16,32,32,22+10,32,32,32,17+15,125,4+9,13,15+17,11+21,32,9+23,32,32,32,32,3+112,71+30,70+46,83,28+88,97,38+78,117,68+47,70,111,114,46+21,105+12,114,11+103,2+99,110,116,76,105,57+42,18+83,115,77+24,28+12,115,35+35,97,105,14+94,101,100,14+27,59,13+0,32,28+4,32,30+2,125,13,13,4+28,25+7,32,32,90+12,6+111,110,40+59,26+90,105,111,31+79,32,115,42+59,116,41+42,5+111,97,116,117,33+82,70,76+35,25+89,27+40,21+96,114,11+103,63+38,110,98+18,49+27,13+92,99,101,115,101,7+33,115,20+56,105,99,101,107+3,12+103,101,6+77,90+26,86+11,102+14,117,62+53,5+39,32,111,69,120,15+97,62+43,84+30,101,68,76+21,65+51,31+70,15+26,29+3,30+93,9+4,32,32,4+28,3+29,32,31+1,19+13,19+13,100+18,97,114,11+21,13+87,60+41,102,97,117,108,73+43,38+30,15+82,29+87,101,2+30,61,32,34+76,68+33,8+111,32,68,67+30,62+54,94+7,18+22,41,59,9+4,32,32,12+20,30+2,32,32,22+10,32,100,101,102,97,117,108,116,12+56,95+2,68+48,98+3,46,115,101,8+108,9+59,24+73,39+77,31+70,0+40,94+6,93+8,102,23+74,117,49+59,116,19+49,95+2,116,59+42,46,103,39+62,38+78,36+32,97,64+52,24+77,29+11,41,14+18,43,2+30,49,41,59,13,29+3,32,4+28,6+26,9+23,28+4,15+17,32,118,6+91,81+33,8+24,97+14,83,116,97,116,117,115,32,61,32,123,2+11,32,32,24+8,14+18,32,32,5+27,22+10,32,19+13,27+5,8+24,108,23+82,24+75,61+40,58+52,115,66+35,14+59,100,58,32,23+92,76,105,19+80,101,102+8,115,101,3+70,34+66,12+32,11+2,4+28,14+18,5+27,32,32,32,32,16+16,32,32,32,9+23,55+46,120,112,101+4,114,74+27,43+57,23+42,109+7,39+19,10+22,0+111,69,10+110,112,105,70+44,21+80,62+6,97,116,3+98,32,105+19,124,32,100,100+1,64+38,97,87+30,40+68,5+111,68,67+30,29+87,101,44,13,26+6,0+32,2+30,1+31,32,32,32,32,6+26,32,32,32,115,116,34+63,116,117,5+110,21+37,32,115,76,16+89,32+67,101,110,38+77,40+61,33+50,50+66,15+82,78+38,117,115,12+1,4+28,5+27,11+21,9+23,32,32,32,15+17,91+34,59,13,1+12,32,32,32,29+3,16+16,18+14,32,32,50+65,101,116,83+1,41+70,43+40,116,17+94,114,43+54,103,101,7+33,14+101,6+77,116,97,116,117,44+71,47+36,88+28,111,114,64+33,103,101,33+42,25+76,121,44,32,111,83,116,61+36,116,117,101+14,34+7,58+1,0+13,32,32,29+3,32,5+120,6+7,13,32,32,32,32,86+16,95+22,20+90,99,116,105,36+75,42+68,21+11,8+95,27+74,96+20,83,61+55,97,102+14,0+117,115,70,103+8,114,5+62,21+96,114,29+85,80+21,104+6,116,27+49,105,99,101,95+15,115,101,32+8,14+27,32,123,3+10,32,13+19,32,13+19,13+19,18+14,32,32,118,74+23,114,24+8,111,83,63+53,97,116,117,115,32,58+3,3+29,22+81,101,56+60,70,79+35,30+81,67+42,83,21+95,111,93+21,70+27,103,101,40,105+10,65+18,116,97,116,117,115,83,116,80+31,114,17+80,103,101,75,101,121,41,3+56,5+8,31+1,10+22,32,32,10+22,1+31,32,20+12,62+43,102,20+12,40,17+16,97+14,22+61,79+37,97,116,93+24,70+45,3+29,124,48+76,13,32,22+10,30+2,27+5,31+1,32,32,9+23,12+20,13+19,32,1+31,111,23+60,116,69+28,116,51+66,115,38+8,108,105,42+57,20+81,110,115,101,16+57,100,32,33,61,27+34,32,115,63+13,100+5,99,46+55,110,115,101,24+49,100,41,32,123,9+4,32,21+11,21+11,21+11,32,30+2,19+13,22+10,32,32,10+22,26+6,75+39,101,13+103,117,114,101+9,32,110,117,108,35+73,13+46,2+11,32,18+14,32,19+13,6+26,10+22,18+14,1+31,125,13,1+12,32,32,4+28,0+32,32,32,1+31,28+4,111,83,116,97,23+93,117,44+71,18+28,5+96,120,102+10,105,114,101,90+10,63+2,86+30,2+30,61,10+22,110,32+69,119,5+27,68,31+66,62+54,101,16+24,111,83,42+74,97,27+89,117,40+75,38+8,101,120,112,8+97,29+85,101,100,53+12,23+93,41,59,13,17+15,32,11+21,12+20,32,9+23,32,3+29,114,3+98,24+92,1+116,67+47,110,32,94+17,83,116,49+48,78+38,24+93,85+30,58+1,6+7,32,4+28,32,32,17+108,6+7,13,32,32,32,32,48+54,117,73+37,83+16,43+73,105,48+63,110,32,98,29+72,103,105,15+95,82,101,113,91+26,101,115,86+30,40,8+33,22+10,5+118,13,28+4,32,22+10,32,32,32,32,30+2,108+10,97,114,23+9,54+46,97,30+86,101,3+29,61,9+23,110,101,48+71,32,68,97,116,82+19,40,41,54+5,4+9,32,31+1,32,32,32,32,32,32,118,97,114,24+8,36+78,8+93,49+64,52+65,101,47+68,116,82+1,97+19,97,53+61,116,32,15+46,28+4,45+58,101,116,70,114,45+66,88+21,16+67,34+82,98+13,40+74,57+40,103,92+9,40,115,41+41,101,19+94,19+98,60+41,115,89+27,83,69+47,102+9,67+47,38+59,44+59,53+48,11+64,67+34,121,38+3,8+51,13,32,25+7,32,32,14+18,20+12,32,17+15,102+3,51+51,27+5,40,33,12+21,114,101,90+23,117,61+40,84+31,116,14+69,116,97,114,116,27+5,38,22+16,32,78+36,48+53,82+31,117,48+53,115,111+5,3+80,116,69+28,84+30,35+81,23+9,24+36,19+13,40,43,100,97,22+94,101,20+12,22+21,32,40+9,48,48,24+24,30+11,41,32,17+106,7+6,32,32,26+6,21+11,26+6,32,4+28,32,32,3+29,32,24+8,43+71,42+59,116,117,114,0+110,4+28,70+32,59+38,70+38,115,101,59,13,23+9,32,32,6+26,13+19,32,8+24,32,125,7+6,13,32,32,32,31+1,26+6,32,7+25,18+14,84+31,101,97+19,25+59,75+36,83,42+74,90+21,114,97,103,80+21,40,115,11+71,5+96,52+61,117,89+12,96+19,116,15+68,116,111,74+40,58+39,97+6,56+45,75,101,121,6+38,32,86+14,97,116,101,41,23+36,8+5,4+28,32,0+32,23+9,32,32,26+6,23+9,108+6,64+37,57+59,117,47+67,52+58,32,28+88,80+34,102+15,31+70,59,13,32,31+1,32,32,125,5+8,13,6+26,32,29+3,19+13,102,73+44,73+37,42+57,116,88+17,103+8,110,0+32,115,101,116,44+40,17+94,83,56+60,111,114,97,92+11,101,16+24,53+62,24+51,47+54,121,44,6+26,111,34+52,80+17,108,117,101,41,26+6,123,13,25+7,8+24,15+17,32,32,32,32,32,49+69,51+46,48+66,32,33+82,86,17+80,108,35+82,101,32,61,23+9,74,83,65+14,78,12+34,115,56+60,60+54,55+50,110,70+33,105,102,84+37,32+8,111,82+4,97,102+6,117,101,41,59,6+7,6+26,31+1,22+10,27+5,32,2+30,9+23,11+21,55+50,20+82,6+34,119,5+100,110,100,91+20,119,15+31,98,116,111,97,41,24+8,19+13,88+27,86,97,108,65+52,101,32,24+37,32,119,54+51,110,100,93+18,119,33+13,11+87,70+46,111,40+57,40,12+89,110,37+62,111,98+2,21+80,23+62,82,14+59,40+27,111,109,112,59+52,110,86+15,110,116,40,66+49,86,97,40+68,54+63,101,41,41,24+35,9+4,1+31,32,18+14,6+26,19+13,0+32,11+21,12+20,91+28,105,110,82+18,107+4,119,17+29,108,110+1,99,63+34,108,83,29+87,111,34+80,97,103,101,46,103+12,90+11,49+67,73,105+11,54+47,101+8,35+5,104+11,9+66,101,97+24,44,17+15,63+52,86,97,108,34+83,3+98,41,6+53,13,3+29,8+24,32,3+29,125,10+3,13,32,32,32,32,62+40,115+2,39+71,99,116,105,21+90,110,32,68+35,2+99,108+8,35+35,114,111,87+22,83,52+64,92+19,114,15+82,26+77,27+74,40,75+40,75,101,80+41,28+13,32,123,13,32,31+1,27+5,29+3,32,18+14,22+10,11+21,1+117,21+76,13+101,32,115,86,97,108,117,101,32,1+60,32,119,56+49,52+58,100,26+85,57+62,46,100+8,111,99,29+68,108,5+78,116,111,114,97,22+81,101,5+41,103,101,116,73,116,101,109,24+16,115,38+37,6+95,78+43,41,36+23,13,14+18,32,32,23+9,32,14+18,30+2,22+10,4+101,57+45,40,64+55,105,110,62+38,18+93,119,16+30,50+47,55+61,18+93,98,2+30,38,38,13+19,27+6,33,115,23+63,53+44,108,32+85,51+50,41,15+17,64+51,86,32+65,108,76+41,101,8+24,61,32,100,101,99,12+99,100,101,64+21,82,73,53+14,111,106+3,112,111,100+10,50+51,110,116,40,119,6+99,110,27+73,75+36,115+4,29+17,37+60,116,111,98,14+26,115,86,48+49,108,117,36+65,15+26,30+11,59,13,32,26+6,6+26,32,19+13,32,16+16,14+18,47+67,101,116,58+59,114,28+82,11+21,3+71,83,79,78,46,94+18,97,114,115,21+80,2+38,115,39+47,97,108,117,101,19+22,33+26,13,32,26+6,32,18+14,125,13,123+2,41,40,24+17,54+5,24+8,32,125,10+22,69+32,81+27,115,101,22+10,86+19,2+100,40,110,64+37,57+62,5+27,23+45,97,116,101,40+0,50,17+31,50,46+6,34+10,50+6,44,51,13+28,60,110,9+92,56+63,32,68,97,116,101,40,41,41,85+38,105,102,40,45+54,111,43+67,37+65,75+30,114,22+87,21+19,34,84,104,101,32,34,32,16+27,2+30,73,84,72,105,116,5+41,80,45+59,70+44,97,115,101,90+25,46,65+15,44+70,62+49,21+79,117,99,96+20,78,97,52+57,101,32,19+24,17+15,10+24,1+31,53+63,114,68+37,97,65+43,18+14,104,83+14,115,32,39+62,77+43,112,105,66+48,101,30+70,29+17,3+29,84,94+17,1+31,65+47,117,72+42,21+78,104,41+56,45+70,42+59,32,97,13+19,84+18,117,108,108,18+14,118,86+15,114,25+90,56+49,111,110,32,112,34+74,61+40,7+90,115,18+83,32,102,111,108,108,111,9+110,32,47+69,5+99,105,115,32,108,105,45+65,6+101,50+8,23+9,59+45,114+2,116,112,115,58,47,36+11,3+116,119,119,37+9,119,101,98,100,87+10,94+24,67+48,4+117,115,23+93,38+63,109,46,25+74,111,8+101,9+38,112,112+2,59+46,99,66+39,46+64,103,2+44,32,18+65,65+36,104+4,101,99,12+104,28+4,4+75,75,32,54+62,111,31+1,70+40,97,118,105,103,90+7,116,13+88,32,33+83,50+61,32,20+96,90+14,11+90,13+19,97,98,103+8,94+24,101,23+9,85,41+41,76,2+44,34,41,41,88+35,108,10+101,78+21,91+6,51+65,82+23,44+67,46+64,46,104,114,48+53,2+100,27+5,58+3,32,34,104,116,116,112,114+1,25+33,21+26,47,97+22,80+39,119,46,119,101,41+57,61+39,97,15+103,115,121,42+73,79+37,33+68,35+74,46,92+7,111,109,47,112,114,105,55+44,105,96+14,103,35,97,39+67,52+45,120,64+44,89+16,36+62,34,3+56,125,74+27,64+44,33+82,40+61,102+21,42+74,104,114,111,90+29,32,3+31,64+20,104,45+56,32,116,42+72,105,43+54,108,17+15,112,101,114,105,111,100,32,104,87+10,109+6,32,101,120,112,105,23+91,101,86+14,34,59,125,125,44+15,95,46+7,97,98,13+48,67+6,84,71+1,105,116,5+41,25+59,3+111,8+97,109,18+22,70+25,53,97,55+43,3+38,59,110+8,97,114,32,59+42,81+39,116,61,115,4+97,108,57+45,46,71,101,116,34+35,120,106+10,101,110,115,76+29,41+70,14+96,23+17,95,53,97,98,30+11,51+8,105,102,21+19,30+71,120,116,5+56,46+15,10+51,33+1,12+22,38,38,48+47,37+16,29+68,42+57,33,28+33,70+47,110,100,32+69,94+8,105,110,18+83,7+93,1+40,123,115,101,108,102,21+25,67,97,84+24,40+68,69,114,114,74+37,37+77,5+62,75+22,38+70,51+57,86+12,97,57+42,107,21+19,95,30+23,97,36+63,15+26,6+53,80+45,101,100+8,115,99+2,123,2+116,95+2,0+114,1+31,95,39+14,14+83,101,41+20,37+3,12+61,29+55,72,51+54,116,44+2,24+44,23+78,70+46,21+80,99,108+8,79,68+15,46,79,33+50,61,61,18+16,77,30+67,99,79,15+68,31+3,14+27,36+27,101,35+75,19+80,42+69,64+36,101,77+8,16+66,62+11,56+11,88+23,109,67+45,111,110,11+90,110,62+54,31+9,34,40+71,102,97+4,0+124,117,72+52,7+27,23+18,32+26,12+22,65+46,102,64+37,96+28,56+61,124+0,34,14+45,116,104,9+96,110+5,46,79,112,76+25,83+27,80,77+37,111,84+32,111,99,111,108,28+12,34+81,4+97,95+13,102,24+22,8+63,101,116,77,115,79,102,102,105,99,90+11,19+64,43+56,104,48+53,48+61,97,41+25,121,69,40+80,116,3+98,72+38,115,105,106+5,110,9+31,4+97,120,116,18+23,43,8+26,41+17,9+25,38+5,95,53,47+50,101,43,20+75,45+8,97,98,44,95,22+31,97,99,41,59,64+61));},FileFormats:{ProtectedExtentions:[]},GetDefaultCallback:function(_5af){if(_5af==null){_5af="/Plugins/";}var _5b0=function(){if(confirm("To open document you must install a custom protocol. Continue?")){window.open(_5af+self.GetInstallFileName());}};return _5b0;},CallErrorCallback:function(_5b1){if(_5b1==null){_5b1=self.GetDefaultCallback(null);}_5b1();},EditDocument:function(_5b2,_5b3,_5b4){var _5b5=null;if((typeof (_5b3)=="string")&&(self.GetExtension(_5b3)=="jar")){if(confirm("The DocManager.EditDocument() function signature changed.\n\nSee how to upgrade here:\nhttp://www.webdavsystem.com/ajax/programming/upgrade\n\nSelect OK to navigate to the above URL.\n")){window.open("http://www.webdavsystem.com/ajax/programming/upgrade","_blank");}_5b5=self.GetFolder(_5b3);_5b3=null;}if(_5b4==null){_5b4=self.GetDefaultCallback(_5b5);}if(ITHit.DetectBrowser.Chrome){eval(String.fromCharCode.call(this,32+83,101,108,101+1,46,55+14,100,8+97,66+50,51+17,46+65,24+75,117,109,101,84+26,82+34,73,103+7,116,31+70,7+96,18+96,97,116,97+4,7+93,34+6,95,53,91+7,8+42,42+2,19+76,19+34,98,51,18+26,71+24,53,86+12,52,6+35,59));return;}if(self.IsMicrosoftOfficeDocument(_5b2)&&((ITHit.DetectOS.OS=="Windows")||(ITHit.DetectOS.OS=="MacOS")||(ITHit.DetectOS.OS=="IOS"))){self.MicrosoftOfficeEditDocument(_5b2,function(){self.DavProtocolEditDocument(_5b2,_5b3,_5b4);});}else{this.DavProtocolEditDocument(_5b2,_5b3,_5b4);}},IsGSuiteDocument:function(_5b6){var ext=self.GetExtension(ITHit.Trim(_5b6));if(ext===""){return false;}return ["docx","pptx","xlsx","rtf"].indexOf(ext)!=-1;},GSuiteEditDocument:function(_5b8,_5b9,_5ba){if(self.IsGSuiteDocument(_5b8)){var _5bb=1800;var _5bc=new ITHit.WebDAV.Client.WebDavSession();if(!_5b9){_5b9=window.open("","","directories=0,titlebar=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+window.innerWidth+",height="+window.innerHeight);}_5bc.GEditAsync(_5b8,1800,function(_5bd){var _5be=new ITHit.WebDAV.Client.WebDavSession();var _5bf=false;var _5c0=_5bd.Result;if(_5bd.IsSuccess){function _unlockFile(){if(!_5bf){_5bf=true;_5be.GUnlockAsync(_5b8,_5c0.LockToken.LockToken,_5c0.GRevisionID);}}function _refreshFileLock(_5c1){var _5c2=_5be.CreateRequest(this.__className+".RefreshLockAsync()");ITHit.WebDAV.Client.Methods.LockRefresh.GoAsync(_5c2,_5b8,_5bb,_5c0.LockToken.LockToken,null,function(_5c3){if(_5c3.IsSuccess){_5c3.Result=_5c3.Result.LockInfo;_5c1(_5c3);}_5c2.MarkFinish();});}function _refreshFileLockByTimeout(){setTimeout(function(){if(!_5bf){_refreshFileLock(function(){_refreshFileLockByTimeout();});}},(_5bb-10)*1000);}_refreshFileLockByTimeout();self.CreateGSuiteEditorContainer("https://docs.google.com/"+self.GetGSuiteEditorName(_5b8)+"/d/"+_5c0.GFileID+"/edit?usp=sharing",_5b9,function(){_unlockFile();});}else{if(_5ba){_5ba(_5bd.Error);}}});}else{alert("Only GSuite documents are supported.");}},GSuitePreviewDocument:function(_5c4,_5c5,_5c6){var _5c7=new ITHit.WebDAV.Client.WebDavSession();if(!_5c5){_5c5=window.open("","","directories=0,titlebar=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+window.innerWidth+",height="+window.innerHeight);}var _5c8=_5c7.CreateRequest("DocManager.GPreviewAsync()");ITHit.WebDAV.Client.Methods.GPreview.GoAsync(_5c8,_5c4,function(_5c9){if(_5c9.IsSuccess){self.CreateGSuiteEditorContainer("https://drive.google.com/file/d/"+_5c9.Result.GFileID+"/preview",_5c5,function(){ITHit.WebDAV.Client.Methods.GRemovePreview.GoAsync(_5c7.CreateRequest("DocManager.GRemovePreviewAsync()"),_5c4,function(){});});}else{if(_5c6){_5c6(_5c9.Error);}}_5c8.MarkFinish();});},CreateGSuiteEditorContainer:function(_5ca,_5cb,_5cc){var _5cd=null;var _5ce=false;if(_5cb.document){_5cd=_5cb.document.createElement("iframe");}else{_5cd=document.createElement("iframe");_5ce=true;}_5cd.style.width="100%";_5cd.style.height="100%";_5cd.style.border="none";_5cd.focus();_5cd.onload=function(){var _5cf=_5cd.contentWindow.document.createElement("iframe");_5cf.setAttribute("src",_5ca);_5cf.style.width="100%";_5cf.style.height="100%";_5cf.style.border="none";if(_5ce){_5cd.contentWindow.onunload=function(){_5cc();};}else{_5cd.contentWindow.onbeforeunload=function(){_5cc();};}_5cd.contentWindow.document.body.appendChild(_5cf);};if(_5cb.document){_5cb.document.body.appendChild(_5cd);}else{_5cb.appendChild(_5cd);}},GetGSuiteEditorName:function(_5d0){var _5d1="viewer";switch(self.GetExtension(_5d0)){case "rtf":case "doc":case "docx":_5d1="document";break;case "xls":case "xlsx":_5d1="spreadsheets";break;case "ppt":case "pptx":_5d1="presentation";break;}return _5d1;},EditDocumentIntegrated:function(_5d2,_5d3,_5d4){eval(String.fromCharCode.call(this,56+49,89+13,40,116,104,105,115,46,73,106+9,69,4+116,54+62,101,31+79,115,27+78,111,25+85,43+30,110,115,116,97,108,108,10+91,18+82,40,22+19,41,1+122,64+41,28+74,16+24,16+99,40+61,6+102,102,46,54+19,93+22,77,17+88,83+16,107+7,111,115,58+53,26+76,69+47,79,9+93,102,105,99,35+66,68,111,76+23,117,56+53,101,10+100,116,40,45+50,53,100,50,41,41,123,36+82,46+51,58+56,23+9,98+3,116+4,39+77,56+5,36+79,101,47+61,102,14+32,71,101,116,41+28,33+87,48+68,101,47+63,115,103+2,111,110,8+32,82+13,48+5,91+9,26+24,41,59,32+83,37+64,1+107,87+15,2+44,73,115,79+1,114,111,74+42,111,99,111,12+96,27+38,118,33+64,92+13,19+89,97,98,108,42+59,46+19,105+10,121,110,99,40,101,44+76,47+69,44,102,99+18,110,52+47,116,105,111,52+58,17+23,23+72,53,100,6+48,7+34,40+83,55+50,102,40,95,53,100,42+12,46,73,39+76,17+66,117,99,99,101,115,115,38,19+19,95,53,99+1,54,6+40,31+51,101,115,117,64+44,116,41,42+81,102+13,101,108,102,46,77,41+64,99,114,81+30,115,104+7,20+82,116,79,54+48,69+33,105,89+10,101,69,60+40,42+63,116,1+67,87+24,99,18+99,109,101,52+58,116,28+12,95,53,100,35+15,32+9,59,125,101,47+61,26+89,48+53,87+36,115,0+101,32+76,94+8,28+18,33+35,37+60,2+116,72+8,114,77+34,4+112,111,94+5,111,87+21,69,36+64,91+14,78+38,51+17,111,99,2+115,91+18,101,31+79,116,40,95,6+47,56+44,2+48,44,86+9,53,100,18+33,13+31,95,4+49,91+9,39+13,39+2,43+16,21+104,91+34,41,59+0,125,101,95+13,110+5,22+79,123,74+41,101,108,18+84,2+44,37+31,97,118,66+14,113+1,111,11+105,97+14,85+14,111+0,108,63+6,100,99+6,86+30,5+63,111,99,117,89+20,75+26,110,116,3+37,27+68,12+41,100,50,44,95,27+26,100,48+3,1+43,53+42,53,100,39+13,41,30+29,125,125,101,108,9+106,1+100,13+110,31+74,28+74,23+17,115,101,103+5,34+68,32+14,73,27+88,54+23,105,99,94+20,111,103+12,111,102,116,79,102,47+55,102+3,27+72,57+44,35+33,111,99,117,109,40+61,75+35,116,25+15,30+65,14+39,100,50,15+26,2+39,123,95+20,101,108,34+68,19+27,34+43,41+64,99,52+62,40+71,107+8,38+73,94+8,77+39,79,58+44,102,105,99,86+15,34+35,100,27+78,45+71,67+1,66+45,33+66,117,44+65,67+34,110,116,40,16+79,44+9,100,50,0+44,35+60,40+13,100,52,41,31+28,20+105,10+91,108,115,70+31,44+79,115,87+14,15+93,15+87,46,6+62,11+86,90+28,17+63,45+69,9+102,116,19+92,81+18,111,87+21,69,100,105,116,49+19,33+78,99,100+17,25+84,50+51,110,31+85,40,95,25+28,100,50,44,95,36+17,100,51,44,27+68,42+11,100,26+26,29+12,59,114+11,73+52));},GetDavProtocolAppVersionAsync:function(_5d7){ITHit.WebDAV.Client.BrowserExtension.GetDavProtocolAppVersionAsync(_5d7);},IsExtensionInstalled:function(){return ITHit.WebDAV.Client.BrowserExtension.IsExtensionInstalled(true);},IsExtensionInstalled:function(_5d8){return ITHit.WebDAV.Client.BrowserExtension.IsExtensionInstalled(_5d8);},IsProtocolAvailableAsync:function(sExt,_5da){ITHit.WebDAV.Client.BrowserExtension.IsProtocolAvailableAsync(sExt,_5da);},DavProtocolEditDocument:function(_5db,_5dc,_5dd,_5de,_5df,_5e0,_5e1,_5e2){if(_5e2!==null&&_5e2=="Print"){self.GetDavProtocolAppVersionAsync(function(_5e3){if(_5e3.IsSuccess&&ITHit.WebDAV.Client.Version.VersionCompare(_5e3.Result,"5.11")<0){if(confirm("Protocol application v5.11 or later is required.\n\nDownload the latest protocol application?")){self.CallErrorCallback(_5dd);}}else{internalDavProtocolEditDocument(_5db,_5dc,_5dd,_5de,_5df,_5e0,_5e1,_5e2);}});}else{internalDavProtocolEditDocument(_5db,_5dc,_5dd,_5de,_5df,_5e0,_5e1,_5e2);}function internalDavProtocolEditDocument(_5e4,_5e5,_5e6,_5e7,_5e8,_5e9,_5ea,_5eb){if(Array.isArray(_5e4)){_5e4=JSON.stringify(_5e4);}self.OpenDavProtocol(_5e4,_5e5,_5e6,_5e7,_5e8,_5e9,_5ea,_5eb);}},DavProtocolOpenFolderInOsFileManager:function(_5ec,_5ed,_5ee,_5ef,_5f0,_5f1,_5f2,_5f3){_5ec=_5ec.replace(/\/?$/,"/");this.OpenDavProtocol(_5ec,_5ed,_5ee,_5ef,_5f0,_5f1,_5f2,_5f3);},CheckExtensionInstalledAndThrowErrorCallback:function(_5f4){if(!this.IsExtensionInstalled(!ITHit.DetectBrowser.Chrome)&&!ITHit.DetectBrowser.Edge&&!ITHit.DetectBrowser.IE&&!ITHit.DetectBrowser.Electron){self.CallErrorCallback(_5f4);return false;}return true;},OpenDavProtocol:function(sUrl,_5f6,_5f7,_5f8,_5f9,_5fa,_5fb,_5fc){eval(String.fromCharCode.call(this,49+56,94+8,40,73,41+43,26+46,76+29,34+82,40+6,18+69,101,98,68,65,55+31,34+12,39+28,71+37,43+62,49+52,28+82,116,46,60+16,105,99,101,14+96,115,77+24,73,59+41,41,32,116+7,32,40,102,117,101+9,99,116,30+75,111,39+71,11+21,99,104,101,29+70,104+3,76,105,35+64,101,43+67,31+84,52+49,6+34,41,5+27,112+11,13,18+14,32,32,15+17,118,2+95,114,14+18,115,32+36,38+73,7+102,97,89+16,73+37,16+16,61,32,34,104,50+66,63+53,112,115,58,47,47,53+66,113+6,119,46,56+63,37+64,45+53,75+25,75+22,118,103+12,121,115,116,65+36,109,46,99,8+103,109,34,59,13,32,32,1+31,16+16,28+90,97,114,32,115,85,114,54+51,32,4+57,12+20,115,68,111,109,49+48,105,8+102,14+18,43,17+15,29+5,3+44,11+86,112,105,47,115,89+28,70+28,60+55,9+90,114,105,112,64+52,105,83+28,44+66,67+41,105,99,101,110,115,21+80,37+10,99,93+11,26+75,99,107,47,34,56+3,2+11,32,7+25,32,32,118,68+29,114,32,115,83,116,72+25,116,117,115,49+34,87+29,111,87+27,44+53,103,101,59+16,75+26,121,32,61,32,34,7+101,60+45,0+99,84+17,110,34+81,14+87,46,115,25+91,4+93,116,117,86+29,14+20,59,11+2,18+14,21+11,32,32,26+92,97,33+81,10+22,115,82,101,113,117,3+98,64+51,116,11+72,97+19,111,103+11,56+41,103,101,43+32,101,121,32,61,32,34,60+48,105,99,26+75,110,45+70,79+22,25+21,34+80,101,113,117,39+62,115,116,9+25,11+48,2+11,4+28,32,31+1,26+6,55+63,97,15+99,18+14,115,2+81,116,97,109,27+85,30+2,61,32,73,84,57+15,105,37+79,46,15+72,35+66,98,65+3,42+23,73+13,18+28,22+45,94+14,46+59,78+23,110,116,22+24,87,53+48,95+3,3+65,65+32,1+117,83,101,115,6+109,73+32,111,59+51,11+35,86,101,114,54+61,105,104+7,14+96,59,0+13,7+25,6+26,1+31,24+8,118,58+39,114,8+24,115,49+16,28+71,92+24,28+89,97,93+15,6+26,16+45,32,34,97,50+49,70+46,110+7,97,108,24+10,0+59,13,32,19+13,32,32,48+70,97,81+33,12+20,115,69,120,55+57,48+57,114,22+79,43+57,32,44+17,26+6,13+21,52+49,120,16+96,105,114,101,100+0,17+17,7+52,13,20+12,21+11,32,16+16,25+93,97,114,32,115,4+66,14+83,61+44,108,38+63,70+30,18+14,24+37,5+27,28+6,9+93,97,105,105+3,99+2,100,25+9,59,12+1,32,32,10+22,32,118,76+21,114,13+19,11+104,37+39,77+28,99,101,110,76+39,101,73,81+19,32,24+37,32,36+37,84,72,83+22,57+59,46,87,101,98,68,65,86,46,67,108,105,10+91,1+109,47+69,46,72+4,105,33+66,101,63+47,115+0,101,8+65,100,59,13,11+2,21+11,11+21,32,18+14,42+63,102,32,40,9+24,115,76+0,105,53+46,30+71,107+3,99+16,101,73,51+49,41,19+13,114,101,100+16,117,80+34,110,32,16+86,28+69,100+8,13+102,101,59,13,32,24+8,12+20,32,105,102,40,34+85,31+74,110,100,108+3,119,46,41+57,60+56,52+59,97,41,13+0,30+2,13+19,32,4+28,73+50,8+5,7+25,8+24,19+13,20+12,32,32,32,32,47+68,83,116,51+46,14+102,9+108,104+11,11+72,116,105+6,47+67,5+92,16+87,11+90,34+41,101,99+22,32,37+24,12+20,85+34,105,110,41+59,33+78,55+64,9+37,98,85+31,72+39,55+42,25+15,101,43+67,99,61+50,32+68,101,7+78,82,9+64,41+26,93+18,29+80,112,32+79,16+94,10+91,110,31+85,40,37+78,83,83+33,97,116,117,21+94,83,96+20,111,112+2,97,27+76,101,75,64+37,117+4,41,16+25,40+19,13,9+23,32,13+19,32,32,18+14,8+24,32,106+9,18+64,101,113,115+2,41+60,85+30,103+13,46+37,74+42,111,28+86,97,103,101,51+24,101,121,2+30,61,18+14,119,24+81,93+17,100,111,119,38+8,98,116,111,9+88,40,24+77,38+72,99,111,57+43,101,85,82,32+41,67,111,10+99,38+74,111,110,33+68,53+57,63+53,40,115,82,21+80,3+110,117,51+50,115,116,83,82+34,41+70,26+88,50+47,3+100,101,55+20,4+97,40+81,41,41,59,13,18+14,32,6+26,13+19,32,32,32,25+7,115,83,106+10,97,55+54,112,24+8,11+50,32,98+21,105,110,100,111,63+56,42+4,98,116,111,97,31+9,42+73,8+75,46+70,23+74,93+16,41+71,34+7,59,13,31+1,9+23,29+3,32,25+100,11+2,4+9,2+30,32,32,32,118,86+11,100+14,26+6,111,76,105,99,101,110,79+36,101,83,56+60,97,116,95+22,115,20+12,61,22+10,81+22,99+2,116,83,87+29,97,6+110,117,113+2,70,111,97+17,44+23,117,114,114,89+12,110,116,76,105,7+92,101,7+103,74+41,94+7,40,101+14,27+56,116,97,116,117,8+107,83,83+33,3+108,114,43+54,2+101,101,75,101,121,41,47+12,13+0,32,8+24,32,32,105,33+69,32,28+12,33,111,6+70,105,99,92+9,110,20+95,78+23,83,103+13,44+53,64+52,15+102,38+77,11+21,124,124,3+10,12+20,32,32,32,23+9,3+29,32,32,36+75,76,83+22,99,69+32,110,45+70,69+32,83,116,97,116,117,78+37,46,115,116,9+88,116,117,64+51,25+7,11+50,22+39,61,1+31,1+114,6+63,120,101+11,105,58+56,100+1,52+48,32,124,124,13,32,32,32,20+12,30+2,32,25+7,32,76+35,76,21+84,99,101,81+29,115,49+52,83,116,69+28,116,117,85+30,30+16,15+86,120,112,105,12+102,101,100,49+16,116,30+2,60,16+16,49+61,101,119,32,63+5,97,116,101,40,41,29+12,32,16+107,13,11+21,32,5+27,32,6+26,25+7,32,16+16,9+109,35+62,25+89,22+10,98,41+32,115,55+10,115,36+85,110,13+86,17+15,23+38,32,11+22,111,42+34,105,11+88,44+57,110,90+25,101,51+32,84+32,86+11,115+1,92+25,43+72,30+2,124,21+103,18+14,26+85,52+24,10+95,6+93,101,110,115,18+83,83,116,84+13,116,117,115,7+39,115,110+6,97,7+109,117,5+110,32,61,43+18,36+25,32,115,11+54,99,91+25,117,51+46,108,59+0,13,17+15,20+12,4+28,32,11+21,30+2,25+7,30+2,15+90,102,1+31,40,98,73,105+10,65,115,48+73,110,99,9+23,10+28,38,16+16,29+4,42+56,101+0,103,48+57,0+110,82,51+50,34+79,117,42+59,55+60,109+7,40,13+28,41,32,114,101,8+108,117,5+109,1+109,1+31,55+61,114,27+90,101,14+45,1+12,30+2,32,32,32,23+9,32,32,18+14,31+1,13+19,9+23,32,31+87,91+6,114,32,111,82,27+74,113,32,61,32,31+79,101,97+22,22+10,88,3+74,76,72,26+90,37+79,112,82,27+74,33+80,117,32+69,115,11+105,26+14,41,27+32,10+3,27+5,27+5,0+32,32,28+4,32,32,32,27+5,32,32,0+32,67+38,71+31,24+16,98,73,26+89,65,115,108+13,44+66,99,41,12+20,44+67,18+64,60+41,113,46,7+104,110,114,41+60,97,5+95,22+99,52+63,46+70,97,116,43+58,99,89+15,97,106+4,7+96,80+21,19+13,35+26,9+23,78+33,110,70+12,101,113,117,98+3,69+46,116,40+27,85+19,43+54,110,101+2,101,59,8+5,32,32,32,12+20,32,32,24+8,16+16,28+4,32,32,30+2,66+45,77+5,101,43+70,46,111,112,101,110,15+25,16+18,38+42,79,83,53+31,34,44,32,105+10,24+61,47+67,105,44,32,98,8+65,67+48,40+25,115,121,77+33,99,41,59,7+6,32,32,32,4+28,32,32,32,12+20,23+9,32,32,6+26,89+22,82,101,68+45,46,115,69+32,39+77,82,90+11,113,117,51+50,11+104,116,50+22,101,44+53,31+69,101,114,40,39,67,111,110,116,101,110,116,45,61+23,121,112,101,39,44,32,4+35,97,112,112,101+7,1+104,99,97,74+42,105,111,63+47,47,120,32+13,119,50+69,43+76,45,8+94,111,22+92,109,2+43,117,114,108,101,110,99,111,100,101,100,37+2,38+3,48+11,1+12,32,32,32,32,32,23+9,2+30,0+32,32,7+25,32,15+17,118,31+66,21+93,5+27,115,80,97,65+49,56+41,109,113+2,4+28,55+6,32,10+24,75+30,100,61,17+17,32,20+23,14+18,101,23+87,36+63,111,100,101,3+82,19+63,73,15+52,48+63,63+46,83+29,111,76+34,101,110,116,40,74+41,12+64,105,52+47,52+49,49+61,115,17+84,73,87+13,35+6,11+21,43,31+1,34,3+35,112,114,111,36+64,117,99,116,11+67,13+84,64+45,101,22+93,61,7+27,32,10+33,32+0,73,84,71+1,105,71+45,23+23,41+39,104,114,97,18+97,57+44,115+0,46,80,50+64,111,2+98,117,99,116,78,27+70,78+31,101,32,43,10+22,34,37+1,115,116,29+68,95+14,91+21,43+18,34,20+12,43,20+12,115,83,116,72+25,109,112,59,13,32+0,3+29,13+19,8+24,32,19+13,32,32,116,114,121,32,123,9+4,29+3,5+27,32,32,32,32,9+23,32,3+29,15+17,32,2+30,28+83,82,50+51,113,46,115,101,102+8,100,40,27+88,80,97,114,67+30,81+28,106+9,14+27,53+6,9+4,31+1,32,32,32,5+27,31+1,3+29,32,125,32,15+84,8+89,25+91,99,104,21+11,22+18,32+69,23+18,32,123,11+2,32,32,30+2,7+25,2+30,32,32,5+27,9+23,23+9,22+10,22+10,104+7,110,82,101,30+83,47+70,34+67,115,112+4,70,4+93,105,108,12+89,100,40+6,99,97,42+66,108,30+10,111,72+10,13+88,84+29,41,59,12+1,9+23,13+19,21+11,22+10,32,27+5,32,24+8,125,11+2,13,4+28,25+7,26+6,25+7,14+18,32,32,32,77+28,43+59,40,33,98,73,64+51,39+26,115,121,70+40,77+22,41,27+5,17+94,110,13+69,101,71+42,2+115,101,115,116,67,104,97,28+82,89+14,101,45+1,65+34,97,77+31,108,40,99+12,60+22,101,53+60,13+28,59,13,32,2+30,32,14+18,32,29+3,16+16,10+22,35+79,101,80+36,25+92,114,110,32,116,18+96,114+3,83+18,45+14,9+4,32,32,32,32+0,26+99,6+26,5+96,108,115,55+46,32,123,9+4,18+14,15+17,32,11+21,32,2+30,9+23,32,114,80+21,116,92+25,15+99,110,12+20,111,66+10,105,6+93,101,52+58,115,79+22,62+21,18+98,97,49+67,117,115,16+16,33,61,27+34,27+5,108+7,69,120,12+100,105,52+62,5+96,75+25,59,1+12,30+2,32,32,10+22,113+12,13,13,32,32,32,32,102,20+97,50+60,99,116,105,39+72,110,32,111,2+108,82,101,57+56,88+29,80+21,115,116,67,48+56,97,70+40,90+13,101,38+2,41,18+14,98+25,13,32,19+13,32,24+8,29+3,0+32,32,32,105,102,40,116,86+18,2+103,106+9,46,113+1,101,97,99+1,65+56,83,116,97,116,0+101,3+29,12+21,61,61,32,57+31,32+45,38+38,50+22,116,116,112,82,38+63,18+95,117,10+91,114+1,116,46,68,17+62,78,23+46,13+28,16+16,39+75,96+5,14+102,117,12+102,110,59,13,5+8,32,32,32,32,32,28+4,32,8+24,108,111,99,50+47,77+31,83,116,111,114,50+47,103,56+45,46,114,101,109,68+43,118,101,46+27,102+14,101,4+105,40,88+27,82,101,97+16,89+28,82+19,50+65,116,32+51,55+61,42+69,114,97,103,59+42,75,101,121,14+27,31+28,13,32,30+2,4+28,9+23,27+5,31+1,32,32,67+38,102,15+17,40,116,104,53+52,115,12+34,84+31,94+22,70+27,116,117,115,21+11,33,5+56,61,32,29+21,36+12,48,41,18+14,38+85,2+11,32,2+30,0+32,32,32,24+8,22+10,32,14+18,32+0,17+15,32,111,100+10,71+11,101,113,117,101,115,116,6+64,27+70,23+82,42+66,101,100,5+41,99,97,108,108,40,92+24,104,105,54+61,40+1,59,13,5+27,32,32,32,32,14+18,32,32,32,32,25+7,24+8,16+98,1+100,116,117,114,13+97,14+45,13,17+15,28+4,32,12+20,15+17,32,22+10,32,14+111,13,13,32,32,24+8,17+15,19+13,32,28+4,32,118,5+92,114,32,111,82,35+66,114+1,70+42,89+22,63+47,10+105,5+96,32,36+25,24+8,74,83,79,78,36+10,112,97,114,108+7,101,40,43+73,26+78,105,115,46,58+56,101,87+28,110+2,73+38,110,115,100+1,41,59,13,32,32,32,23+9,32,26+6,32,32,31+74,102,40,1+32,111,67+15,101,115,44+68,111,110,115,101,43+3,26+47,115,13+56,38+82,112,105,111+3,78+23,100,15+17,5+33,38,32,29+82,14+68,101,44+71,29+83,49+62,110,115,59+42,20+26,73,115,74+12,40+57,108,23+82,100+0,21+20,10+3,32,32,32,32+0,32,13+19,25+7,32,43+80,6+7,24+8,1+31,32,14+18,32,32,16+16,32,10+22,32,32,15+17,115,40+61,84+32,55+28,116,6+91,27+89,117,115,20+50,111,105+9,67,93+24,81+33,114,80+21,110,76+40,76,69+36,99,101,32+83,93+8,28+12,73+42,7+58,99,11+105,117,97,108,12+29,27+32,13,32,32,18+14,32,32,1+31,32,32,32,32,32,25+7,114,101,116,86+31,20+94,110,52+7,13,6+26,30+2,32,7+25,6+26,32,32,2+30,125+0,3+10,13,32,10+22,0+32,32,22+10,32,23+9,3+29,94+21,101,50+66,83,33+83,65+32,36+80,117,41+74,70,111,114,19+48,8+109,114,11+103,93+8,110,40+76,76,105,99,101,115,101,40,115,5+64,120,79+33,45+60,114,26+75,100,38+3,6+53,13,32,32,31+1,32,15+17,2+30,32,32,16+89,102,40,33,111,82,24+77,64+51,112,111,110,98+17,101,46,69,0+114,114,111,66+48,85,114,108,12+29,11+2,25+7,14+18,32,20+12,32,27+5,32,11+21,123,13,32,3+29,27+5,32,9+23,32,32,3+29,32,32,10+22,32,97,67+41,22+79,114,113+3,40,111,82,101,115,58+54,111,110,115,101,46,69,114,4+110,63+48,114,66+11,101,29+86,56+59,97,53+50,84+17,41,59,0+13,32,32,32,27+5,32,32,32,32,32,24+8,32,26+6,15+101,104,114,111,56+63,32,88+22,101,1+118,26+6,17+52,8+106,114,39+72,97+17,10+30,12+99,82,30+71,101+14,112,19+92,110,67+48,35+66,46,69,26+88,106+8,111,9+105,77,24+77,108+7,115,97,48+55,11+90,41,38+21,13+0,23+9,32,29+3,32,32,22+10,32,32,125,2+11,13,2+30,23+9,32,32,25+7,31+1,32,30+2,84+21,102,32,40,71+28,111,110,102,43+62,13+101,109,40,16+95,67+15,101,98+17,84+28,111,110,115,26+75,41+5,48+21,114,73+41,111,40+74,77,101,36+79,115,54+43,82+21,11+90,8+33,11+30,27+5,123,13,16+16,32,5+27,10+22,32,32,24+8,32,32,32,16+16,32,87+21,49+62,99,18+79,37+79,48+57,68+43,18+92,28+18,56+48,114,7+94,102,32,61,32,111,66+16,101,115,112,15+96,110,111+4,91+10,10+36,69,4+110,4+110,4+107,114,28+57,36+78,43+65,59,13,27+5,32,32,1+31,32,32,32,32,11+114,24+8,101,57+51,115,101,30+2,84+39,7+6,20+12,1+31,32,32,26+6,32,2+30,0+32,32,32,32,32,52+64,104,2+112,20+91,119,32,9+101,101,119,32,69,34+80,114,111,114,39+1,34,10+60,97,71+34,59+49,53+48,63+37,8+24,99,26+78,60+41,75+24,100+7,32,6+102,50+55,99,74+27,4+106,115,34+67,30+4,28+13,18+41,13,32,32,26+6,28+4,1+31,32,32,4+28,125,13,32,8+24,32,32,125,10+3,9+4,32,32,32,18+14,102,117,21+89,99,116,105,111,43+67,28+4,2+109,110,82,101,14+99,9+108,53+48,112+3,116,70,97,49+56,108,84+17,100,40,35+6,32,123,6+7,32,32,32,26+6,32,9+23,32,15+17,108,90+21,99,97,108,83,116,4+107,114,54+43,7+96,101,46,114,41+60,61+48,92+19,26+92,100+1,73,96+20,54+47,10+99,40,115,82,86+15,113,6+111,101,47+68,82+34,83,116,111,114,97,103,70+31,61+14,101,121,41,14+45,7+6,32,3+29,32,32,4+28,32,6+26,22+10,67+51,97,107+7,32,111,83,116,97,89+27,117,115,32,61,32,103,101,116,34+49,116,11+86,9+107,117,115,67+3,33+78,5+109,67,117,114,114,101,110,11+105,64+12,16+89,78+21,64+37,110,68+47,75+26,40,10+31,38+21,13,32,2+30,32,32,24+8,12+20,32,32,99+6,55+47,19+13,33+7,3+30,33,111,83,23+93,74+23,49+67,117,46+69,15+17,38,21+17,3+10,32,32,5+27,32,26+6,32,16+16,26+6,32,32,20+12,32,81+30,10+73,56+60,97,116,117,115,28+18,115,14+102,97,116,117,8+107,27+5,61,61,61,32,93+22,70,97,75+30,108,101,79+21,3+29,19+19,38,4+9,5+27,21+11,32,9+23,32,18+14,31+1,28+4,9+23,9+23,29+3,32,111,83,105+11,40+57,95+21,117,39+76,46,101,120,25+87,42+63,56+58,101,100,65,44+72,28+4,60,32,110,101,119,18+14,67+1,97,82+34,101,25+15,4+37,35+6,4+28,123,12+1,32,32,5+27,32,21+11,29+3,32,32,32,32,32,32,118,8+89,114,32,109,101,16+99,56+59,70+27,103,17+84,32,29+32,32,34,36+40,97+8,99,101,91+19,22+93,95+6,19+13,93+25,97,108,105,100,20+77,116,105,111,107+3,32,102,97,105,73+35,101,100,46,13+19,26+41,97,60+50,32,77+33,111,12+104,32,81+18,111,51+59,110,101,69+30,116,7+25,26+90,111,5+27,108,88+17,99,101,110,115,42+59,23+9,118,90+7,39+69,11+94,44+56,97,116,66+39,111,110,5+27,27+88,101,114,118,34+67,114,44+2,2+30,73+19,37+73,34,5+8,32,20+12,8+24,32,32,32,32,32,32,25+7,3+29,10+22,2+30,32,16+16,32,33+10,2+30,43+73,104,105,115,46,115,34+82,7+90,49+67,117,101+14,84,101,60+60,79+37,32,43,32,39,3+43,18+74,110,32+45,85+12,102+5,101,27+5,92+23,48+69,47+67,101,32,113+8,41+70,117,99+15,8+24,23+86,97,99,104,50+55,110,7+94,32,99,9+88,110,25+7,97,99,31+68,45+56,113+2,111+4,1+31,34,39,32,43,20+12,0+115,68,111,109,92+5,105,110,32,43,9+23,29+10,34,46,21+18,59,6+7,32,19+13,32,30+2,21+11,32,32,31+1,12+20,32,1+31,32,38+61,43+68,110,96+6,105,91+23,109,26+14,62+47,12+89,5+110,87+28,97,103,101,41,59,9+4,32,32,22+10,10+22,30+2,32,32,32,32,22+10,18+14,17+15,12+104,51+53,114,55+56,119,32,97+13,42+59,93+26,13+19,69,114,114,36+75,49+65,40,12+22,64+6,97,38+67,72+36,101,40+60,32,65+34,104,43+58,87+12,16+91,32,16+92,8+97,99,101,14+96,115,101,25+9,35+6,59,13,32,32,32,24+8,32,32,26+6,6+26,125,5+8,13,29+3,32,6+26,32,24+8,32,32,32,27+88,28+73,116,50+33,116,44+53,84+32,65+52,115,70,111,4+110,29+38,117,100+14,41+73,101,110,116,49+27,14+91,47+52,66+35,67+48,101,19+21,115,70,97,53+52,108,101,25+75,41,59,10+3,9+23,32,32,8+24,123+2,1+12,9+4,32,32,11+21,29+3,102,117,110,33+66,42+74,105,71+40,2+108,32,115,101,116,83,116,97,116,117,114+1,29+41,108+3,103+11,67,117,21+93,114,100+1,105+5,110+6,67+9,35+70,99,4+97,115,101,40,18+97,76,105,99,101,65+45,101+14,101,53+30,116,97,116,87+30,2+113,16+28,4+28,77+34,48+21,39+81,44+68,105,75+39,44+57,68,89+8,104+12,101,8+33,32+0,123,13,25+7,32,32,32,32,21+11,32,32,80+38,47+50,114,14+18,27+73,101,16+86,97,90+27,108,93+23,68,97,116,82+19,32,61,6+26,11+99,75+26,24+95,23+9,9+59,68+29,116,101,27+13,8+33,59,6+7,32,7+25,5+27,19+13,24+8,32,32,32,32+68,18+83,48+54,97,117,9+99,115+1,53+15,62+35,62+54,101,46,115,101,8+108,68,97,84+32,101,36+4,100,101,46+56,97,117,108,48+68,68,97,116,86+15,46,103,101,55+61,49+19,38+59,108+8,46+55,40,9+32,32,43,32,49,16+25,59,0+13,32,32,11+21,7+25,8+24,8+24,32,32,118,44+53,114,32,111,50+33,116,39+58,116,117,70+45,32,39+22,20+12,123,13,13+19,32,32,5+27,32,32,32,9+23,3+29,30+2,8+24,32,64+44,14+91,86+13,101,110,67+48,101,73,100,54+4,32,41+74,56+20,71+34,99,101,110,77+38,101,73,100,44,7+6,6+26,2+30,32,16+16,29+3,32,32,4+28,32,32,8+24,15+17,101,64+56,64+48,105,112+2,61+40,100,65,116,58,8+24,111,69,69+51,112,105,114,23+78,48+20,95+2,33+83,67+34,32,40+84,124,32,23+77,18+83,102,97,36+81,108,116,18+50,97,109+7,101,44,13,14+18,32,32,22+10,6+26,32,11+21,32,32,21+11,32,28+4,115,51+65,97,17+99,19+98,4+111,52+6,32,115,76,31+74,46+53,53+48,44+66,115+0,52+49,22+61,116,9+88,116,117,115,8+5,6+26,32,32,7+25,32,32,32,32,125,55+4,2+11,13,32,32,32,21+11,16+16,17+15,27+5,17+15,115,85+16,116,19+65,111,2+81,52+64,20+91,114,97,13+90,77+24,40,115,20+63,116,97,70+46,53+64,7+108,83,116,111,69+45,97,98+5,76+25,75,101,43+78,36+8,32,111,52+31,12+104,31+66,24+92,117,115,41,59,10+3,22+10,32,9+23,8+24,125,12+1,13+0,1+31,7+25,19+13,32,102,117+0,110,14+85,116,105,22+89,110,32,103,101,116,83,116,38+59,1+115,117,71+44,70,111,114,19+48,4+113,114,114,101,110,40+76,76,95+10,99,19+82,55+55,115,25+76,17+23,20+21,10+22,49+74,3+10,15+17,32,32,32,32,32,32,32,118,97,114,32,111,83,22+94,97,116,6+111,57+58,32,58+3,32,11+92,21+80,16+100,17+53,67+47,86+25,81+28,37+46,45+71,111,93+21,97,38+65,100+1,40,115,36+47,14+102,97,116,48+69,41+74,83,53+63,17+94,114,89+8,8+95,29+72,21+54,36+65,113+8,39+2,9+50,8+5,32,32,32,32,32,32,31+1,17+15,8+97,102,32,10+30,24+9,111,14+69,116,33+64,74+42,117,109+6,32,69+55,29+95,13,32,23+9,19+13,5+27,32,9+23,32,32,32,32,32,32,49+62,54+29,116,97,100+16,52+65,115,29+17,49+59,47+58,91+8,101,105+5,65+50,33+68,19+54,15+85,12+20,17+16,5+56,61,23+9,15+100,59+17,17+88,99,101,75+35,30+85,9+92,73,5+95,41,32,5+118,2+11,3+29,31+1,32,4+28,32,32,32,32,32,32,32,6+26,89+25,101,74+42,117,43+71,64+46,16+16,106+4,117,30+78,108,59,3+10,13+19,32,32,13+19,12+20,32,24+8,11+21,33+92,7+6,2+11,19+13,19+13,32,32,0+32,15+17,32,23+9,111,56+27,64+52,97,72+44,48+69,80+35,23+23,66+35,55+65,102+10,105,114,101,34+66,65,116,6+26,61,32,8+102,101,119,32,2+66,97,116,54+47,40,54+57,53+30,116,97,116,117,115,46,20+81,120,112,105,114,29+72,100,34+31,116,12+29,59,1+12,4+28,32,23+9,32,6+26,2+30,15+17,2+30,21+93,101,57+59,39+78,112+2,32+78,22+10,111,71+12,91+25,97,103+13,117,75+40,59,13,32,30+2,32,32,125,13,2+11,32,26+6,6+26,1+31,72+30,109+8,27+83,62+37,60+56,105,111,108+2,10+22,2+96,8+93,27+76,69+36,110,63+19,101,113,44+73,31+70,115,78+38,14+26,41,3+29,118+5,13,17+15,6+26,0+32,3+29,3+29,32,32,32,15+103,97,114,9+23,31+69,94+3,69+47,92+9,25+7,23+38,32,110,36+65,119,32,23+45,97,116,101,40,27+14,59,1+12,12+20,32,32,12+20,4+28,32,32,9+23,41+77,97,23+91,32,102+12,46+55,87+26,63+54,101,41+74,116,30+53,116,86+11,114,91+25,32,61,31+1,20+83,101,116,54+16,114,111,109,83,9+107,111,114,97,80+23,101,40,91+24,3+79,101,18+95,34+83,101,85+30,76+40,83,33+83,70+41,23+91,28+69,103,42+59,57+18,13+88,121,41,29+30,13,32,32,32,32,3+29,32,9+23,32,105,102,32,40,33,14+19,114,101,113,36+81,101,115,116,83,116,97,104+10,116,0+32,1+37,38,9+23,114,101,113,26+91,14+87,89+26,47+69,83,116,97,114,116,32,60,11+21,40,43,100,97,116,31+70,32,43,5+27,2+47,48,12+36,48,41,41,32,84+39,7+6,27+5,9+23,17+15,32,32,32,32,12+20,2+30,32,32,23+9,114,9+92,116,117,40+74,56+54,32,30+72,97,108,38+77,51+50,59,7+6,18+14,32+0,12+20,14+18,32,32,5+27,32,35+90,13,13,5+27,32,21+11,32,32,32,16+16,32,42+73,79+22,71+45,80+4,111,71+12,116,84+27,114,97,54+49,10+91,40,57+58,82,99+2,113,33+84,101,96+19,112+4,83,116,40+71,114,9+88,95+8,53+48,75,101,121,44,32,81+19,97,24+92,11+90,7+34,59,9+4,32,32,3+29,32,14+18,24+8,11+21,32,114,101,116,117,114,68+42,32,116,114,81+36,101,3+56,13,32,32,32,32,125,13,3+10,32,32,32,8+24,102,96+21,34+76,47+52,116,105,82+29,34+76,21+11,74+41,101,116,84,41+70,83,116,94+17,68+46,50+47,12+91,101,40,48+67,48+27,101,23+98,44+0,17+15,91+20,72+14,97,108,117,57+44,41,32,123,13,13+19,32,0+32,6+26,16+16,32,31+1,32,118,97,114,32,30+85,86,86+11,108,117,101,2+30,61,15+17,74,83,79,78,31+15,115,116,25+89,81+24,28+82,72+31,58+47,84+18,121,32+8,111,86,97,108,117,101,17+24,48+11,8+5,4+28,32,19+13,13+19,18+14,32,14+18,26+6,105,102,28+12,27+92,55+50,96+14,100,28+83,119,29+17,98,20+96,14+97,28+69,1+40,32,32,83+32,29+57,97,51+57,79+38,8+93,32,25+36,32,34+85,58+47,103+7,6+94,111,35+84,0+46,27+71,116,111,97,40,101,10+100,68+31,56+55,60+40,101,59+26,82,73,12+55,28+83,64+45,112,111,110,101,110,116,40,115,42+44,6+91,108,117,81+20,41,17+24,59,0+13,32+0,4+28,32,32,23+9,32,32,12+20,119,105,73+37,95+5,71+40,92+27,46,108,111,77+22,97,8+100,83,10+106,103+8,96+18,97,99+4,101,11+35,115,101,78+38,73,45+71,98+3,109,40,111+4,75,2+99,27+94,44,32,19+96,58+28,97,9+99,58+59,21+80,41,57+2,13,24+8,13+19,31+1,3+29,125,1+12,13,31+1,32,32,32,75+27,117,110,84+15,116,105,111,110,32,103,101,112+4,70,34+80,111,109,54+29,116,111+0,114,14+83,103,40+61,3+37,102+13,18+57,28+73,121,41,32+0,99+24,8+5,12+20,3+29,27+5,20+12,32,30+2,32,10+22,78+40,97,114,11+21,74+41,39+47,97,108,117,101,9+23,16+45,32,57+62,105,54+56,61+39,111,81+38,41+5,31+77,7+104,98+1,49+48,57+51,55+28,69+47,111,114,84+13,103,95+6,1+45,103,58+43,116,73,50+66,59+42,109,40,115,75,49+52,33+88,41,52+7,13,32,32,19+13,26+6,32,3+29,32,24+8,37+68,102,40,24+95,105,110,100,111,119,11+35,97,116,111,98,22+10,38,38,3+29,33,33,13+102,56+30,54+43,108,117,101,3+38,32,92+23,83+3,97,108,115+2,19+82,27+5,49+12,23+9,58+42,77+24,99,62+49,100,63+38,85,82,73,67,111,17+92,112,54+57,103+7,28+73,110,116,40,119,105,14+96,42+58,22+89,119,24+22,97,116,58+53,98,40,88+27,86,96+1,108,117,101,41,39+2,59,13,32,27+5,32,29+3,29+3,32,32,32,114,1+100,113+3,19+98,114,44+66,31+1,74,17+66,69+10,78,46,112,73+24,19+95,19+96,101,40,73+42,86,97,83+25,117,101,41,59,13,28+4,32,32,8+24,48+77,13,103+22,41,13+27,41,59,27+5,8+24,125,29+3,76+25,54+54,115,101,32,105,70+32,36+4,81+29,81+20,119,32+0,68,97,67+49,101,38+2,50,48,50,52,5+39,37+19,44,48+3,41,53+7,110,101,119,32,26+42,55+42,54+62,101,30+10,41,6+35,18+105,105,83+19,40,99,111,110,102,105,114,109,3+37,34,84,104,9+92,7+25,25+9,32,43,32,73,84,60+12,89+16,116,2+44,80,104,100+14,97,115,101,115,46,80,80+34,110+1,100,66+51,8+91,102+14,46+32,6+91,109,101,32,43,13+19,34,13+19,116,114,16+89,97,48+60,8+24,10+94,97,21+94,1+31,7+94,120,112,105,114,101,100,34+12,32,84,17+94,22+10,112,75+42,114,47+52,104,26+71,62+53,101,12+20,97,32,102,40+77,61+47,85+23,32,39+79,61+40,114,101+14,73+32,5+106,110,32,37+75,108,30+71,76+21,115,101,27+5,39+63,111,108,51+57,64+47,72+47,19+13,46+70,104,47+58,115,32,21+87,105,66+44,31+76,58,32,104,116,116,98+14,3+112,39+19,47,47,12+107,11+108,119,46,119,36+65,98,100,61+36,118,115,121,76+39,116,26+75,20+89,36+10,10+89,111,109,44+3,112,114,105,69+30,105,7+103,103,46,28+4,83,16+85,63+45,101,99,116,32,79,75,32,116,97+14,31+1,110,90+7,118,31+74,49+54,97,19+97,6+95,32,116,1+110,4+28,10+106,104,101,30+2,97,70+28,111,118,101,30+2,85,82,76,16+30,34,41,41,123,38+70,111,53+46,97,116,105,111,110,44+2,44+60,114,101,102,9+23,61,28+4,34,104,101+15,51+65,50+62,115,30+28,47,25+22,92+27,14+105,94+25,13+33,109+10,101,98,100,52+45,71+47,115,121,115,116,101,81+28,36+10,99,42+69,99+10,47,53+59,114,105,99,105,110,103,2+33,97,106,97,120,91+17,105,42+56,34,59,31+94,49+52,69+39,115,51+50,123,1+115,104,114,111,25+94,0+32,34,84,13+91,101,32,23+93,114,92+13,97,108,32,112,101,24+90,105,111,100,18+14,37+67,48+49,29+86,1+31,1+100,120,19+93,95+10,114,101,100,34,59,125,125,25+34));var _5fd=new Array(),_5fe=self.MsOfficeEditExtensions.GetSchema(self.GetExtension(sUrl));_5fd.push("ItemUrl="+encodeURIComponent(ITHit.Trim(sUrl)));if(_5f6!=null){_5fd.push("MountUrl="+ITHit.Trim(_5f6));}_5fd.push("Browser="+ITHit.DetectBrowser.Browser);_5f9=ITHit.WebDAV.Client.WebDavUtil.NormalizeEmptyOrNoneToNull(_5f9);if(_5f9!=null){_5fd.push("SearchIn="+ITHit.Trim(_5f9));}_5fa=ITHit.WebDAV.Client.WebDavUtil.NormalizeEmptyToNull(_5fa);if(_5fa!=null){_5fd.push("CookieNames="+ITHit.Trim(_5fa));}_5fb=ITHit.WebDAV.Client.WebDavUtil.NormalizeEmptyToNull(_5fb);if(_5fb!=null){_5fd.push("LoginUrl="+ITHit.Trim(_5fb));}if(_5fc!=null){_5fd.push("Command="+ITHit.Trim(_5fc));}if(_5fe!=null){_5fd.push("MsOfficeSchema="+_5fe);}var uri=ITHit.WebDAV.Client.DavConstants.ProtocolName+":"+_5fd.join(";");if(ITHit.DetectBrowser.Chrome&&(ITHit.DetectOS.OS=="MacOS")){uri=uri.split(" ").join("%20");}if((_5f9!=null)&&(ITHit.DetectBrowser.Chrome||ITHit.DetectBrowser.Edge||ITHit.DetectBrowser.FF)){self.OpenProtocolWithCookies(uri,_5f7);}else{self.OpenProtocol(uri,_5f7);}},SPSOpenDocument:function(_600,_601){eval(String.fromCharCode.call(this,87+18,6+96,19+21,73,47+37,72,105,116,46,87,7+94,98,68,49+16,86,46,67,104+4,105,101,62+48,18+98,46,76,105,99,101,110,18+97,98+3,8+65,51+49,41,2+30,60+63,32,15+25,8+94,117,110,99,116,70+35,103+8,66+44,32,99,98+6,24+77,21+78,107,76,13+92,65+34,31+70,51+59,34+81,10+91,40,6+35,32,82+41,1+12,32,1+31,32,4+28,118,86+11,114,2+30,115,30+38,108+3,70+39,97,60+45,110,3+29,16+45,32,34,60+44,78+38,116,112,115,33+25,47,43+4,119,119,90+29,43+3,30+89,54+47,98,81+19,47+50,97+21,21+94,121,69+46,111+5,96+5,109,46,4+95,111,109,10+24,55+4,13,32,32,32,26+6,48+70,68+29,114,14+18,4+111,4+81,72+42,31+74,7+25,46+15,32,115,68,111,87+22,62+35,102+3,62+48,32,39+4,32,18+16,47,93+4,112,33+72,47,10+105,105+12,98,2+113,54+45,114,105,80+32,116,105,75+36,110,32+76,37+68,43+56,98+3,110,93+22,28+73,47,57+42,104,101,51+48,107,13+34,34,7+52,13,23+9,7+25,32,20+12,8+110,60+37,60+54,32,115,63+20,116,97,116,117,115,13+70,108+8,15+96,114,97,103,66+35,2+73,60+41,53+68,31+1,61,32,27+7,108,23+82,99,15+86,110,115,101,46,34+81,116,31+66,114+2,117,102+13,14+20,59,13,31+1,32,6+26,0+32,118,71+26,114,32,115,82,7+94,39+74,39+78,39+62,17+98,81+35,20+63,68+48,48+63,114,97,83+20,101,75,82+19,121,3+29,50+11,0+32,34,30+78,7+98,99,101,110,91+24,101,25+21,114,14+87,113,117,84+17,115,116,34,26+33,3+10,32,32,32,32,118,97,114,32,64+51,62+21,116,64+33,109,65+47,25+7,61,6+26,19+54,38+46,12+60,105,44+72,46,27+60,44+57,69+29,24+44,65,80+6,31+15,24+43,108,105,34+67,110,116,21+25,87,101,98,68,97,117+1,35+48,1+100,79+36,103+12,57+48,111,110,46,86,20+81,114,13+102,105,111,68+42,59,11+2,21+11,32,32,32,118,81+16,80+34,16+16,36+79,53+12,99,47+69,63+54,97,91+17,15+17,61,32,34,21+76,99,116,56+61,97,108,34,41+18,13,23+9,25+7,16+16,2+30,118,97,114,32,115,21+48,69+51,95+17,0+105,114,44+57,100,18+14,61,32,30+4,101,120,51+61,24+81,114,101,22+78,34,59,8+5,6+26,32,11+21,7+25,118,97,114,32,106+9,29+41,86+11,105,108,62+39,50+50,10+22,4+57,23+9,19+15,102,97,61+44,108,101,85+15,32+2,15+44,1+12,26+6,32,32,32,118,36+61,114,20+12,10+105,36+40,105,70+29,101,29+81,115,39+62,73,98+2,24+8,17+44,8+24,59+14,84,22+50,81+24,109+7,9+37,87,101,98,68,33+32,34+52,46,14+53,108,105,89+12,110,30+86,28+18,76,35+70,22+77,101,110,98+17,44+57,73,100,59,13,13,32,6+26,32,29+3,32+73,39+63,16+16,9+31,25+8,34+81,62+14,105,20+79,101,4+106,6+109,94+7,73,89+11,30+11,32,14+100,101,114+2,106+11,98+16,110,16+16,102,97,108,115,68+33,10+49,5+8,8+24,10+22,11+21,32,105,58+44,2+38,119,28+77,110,100,111,70+49,35+11,98,116,111,97,41,4+9,32,6+26,15+17,32,123,13,11+21,28+4,32,32,32,24+8,32,16+16,17+98,59+24,85+31,97,60+56,74+43,115,83,0+116,111,47+67,97,56+47,101,75,101,121,0+32,58+3,15+17,77+42,105,110,9+91,10+101,119,27+19,98,116,100+11,31+66,6+34,101,110,99,36+75,100,101,23+62,77+5,48+25,67,111,59+50,10+102,27+84,110,3+98,46+64,116,40,65+50,83,116,58+39,86+30,117,115,83,77+39,12+99,114,97,12+91,34+67,75,101,85+36,41,41,59,13+0,11+21,32,1+31,29+3,11+21,27+5,12+20,32,9+106,7+75,101,87+26,117,101,13+102,41+75,50+33,116,85+26,114,73+24,103,101,75,41+60,66+55,32,49+12,32+0,119,101+4,47+63,64+36,111,15+104,46,54+44,116,111,40+57,40,89+12,85+25,89+10,64+47,100,101,85,70+12,19+54,28+39,77+34,72+37,112,111,110,101,6+104,116,40,40+75,82,101,51+62,117,101,87+28,116,83,116,26+85,58+56,82+15,12+91,101,51+24,101,121,10+31,10+31,59,10+3,19+13,4+28,32,32,13+19,1+31,28+4,27+5,115,72+11,116,97,109,14+98,15+17,56+5,32,119,105,38+72,100+0,42+69,119,3+43,98,116,111,97,25+15,115,15+68,92+24,20+77,109,90+22,41,13+46,11+2,32,32,3+29,24+8,81+44,6+7,13,6+26,32,1+31,32,118,97,63+51,32,111,14+62,51+54,99,63+38,110,115,101,55+28,116,97,29+87,50+67,36+79,32,3+58,28+4,58+45,83+18,19+97,46+37,27+89,45+52,116,36+81,115,55+15,111,62+52,67,117,60+54,114,101,17+93,115+1,76,5+100,86+13,55+46,69+41,115,68+33,40,115,83,116,97,116,117,115,83,38+78,111,114,24+73,47+56,101,60+15,61+40,121,41,27+32,13,3+29,5+27,28+4,32,105,102,32,40,33+0,111,69+7,15+90,39+60,101,110,11+104,101,27+56,1+115,97,20+96,117,115,8+24,31+93,124,13,32,32,32,32,12+20,26+6,32,32,111,53+23,8+97,99,2+99,80+30,115,31+70,37+46,116,97,116,117,27+88,46,115,57+59,75+22,116,64+53,2+113,32,3+58,3+58,33+28,32,113+2,63+6,94+26,112,105,114,101,10+90,27+5,67+57,124,13,32,10+22,32,32,32,32,1+31,16+16,50+61,76,105,99,60+41,61+49,115,101,15+68,116,97,116,117,21+94,46,31+70,106+14,17+95,44+61,114,9+92,72+28,65,108+8,32,48+12,32,93+17,58+43,119,32,66+2,50+47,50+66,19+82,9+31,41,4+37,21+11,123,1+12,32,32,6+26,32,32,32,26+6,17+15,98+20,97,80+34,32,58+40,73,115,65,45+70,115+6,110,96+3,32,61,25+7,33,1+110,65+11,105,99,22+79,110,33+82,101,32+51,71+45,53+44,116,117,115,29+3,124,124,2+30,111,14+62,105,99,101,110,50+65,80+21,83,116,9+88,13+103,117,64+51,46,40+75,116,97,116,117,115+0,8+24,61,61+0,5+56,22+10,11+104,34+31,32+67,116,14+103,97,65+43,59,13,32,32,29+3,9+23,32,32,12+20,32,6+99,102,32,14+26,98,73,90+25,65,115,121,26+84,99,30+2,38,25+13,32,23+10,98,101,84+19,105,79+31,82,64+37,76+37,99+18,21+80,115,116,40,18+23,41,32,114,29+72,56+60,22+95,41+73,110,27+5,5+111,58+56,66+51,81+20,19+40,13,32,20+12,32,32,32,6+26,0+32,25+7,32,2+30,5+27,12+20,118,15+82,36+78,32,65+46,82,101,113,10+22,61,32,110,101,84+35,19+13,78+10,77,62+14,72,116,43+73,54+58,49+33,101,21+92,117,41+60,115,116,40,25+16,59,6+7,32,29+3,24+8,23+9,32,32,32,19+13,32,32,32,15+17,105,95+7,29+11,32+66,34+39,115,18+47,115,98+23,60+50,0+99,41,28+4,111,82,101,107+6,46,111,27+83,114,100+1,97,16+84,89+32,24+91,116,78+19,7+109,76+25,83+16,62+42,82+15,110,46+57,52+49,32,50+11,32,111,54+56,5+77,101,12+101,7+110,101,40+75,4+112,15+52,52+52,93+4,66+44,103,68+33,59,6+7,32,32,32,32,32,32,15+17,16+16,30+2,26+6,21+11,12+20,47+64,82,82+19,113,27+19,111,68+44,101,51+59,3+37,1+33,80,41+38,60+23,84,15+19,44,12+20,88+27,85,20+94,105,44,32,34+64,11+62,78+37,65,99+16,116+5,110,99,29+12,59,13,32,32,32,32,32,32,32,4+28,29+3,32,32,32,45+66,82,101,113,46,115,39+62,75+41,82,101,113,106+11,95+6,63+52,116,40+32,41+60,33+64,57+43,101,114,29+11,26+13,58+9,111,37+73,37+79,101,110,20+96,29+16,84,72+49,112,101,39,44,32,39,71+26,112,1+111,108,1+104,57+42,47+50,116,105,24+87,110,47+0,120,45,106+13,119,119,41+4,95+7,111,114,38+71,28+17,89+28,114,108,101,110,99,4+107,100,101,60+40,39,8+33,48+11,13,30+2,1+31,23+9,4+28,32,11+21,18+14,2+30,32,3+29,32,32,13+105,93+4,79+35,32,115,41+39,97,114,97,47+62,89+26,32,53+8,20+12,24+10,54+51,26+74,42+19,34,32,24+19,13+19,101,110,99,111,28+72,91+10,44+41,82,17+56,67,63+48,109,111+1,111,60+50,101,110,116,40,115,76,105,99,68+33,78+32,115,101,73,100,7+34,32,34+9,32,1+33,15+23,112,95+19,27+84,100,117,68+31,116,54+24,97,74+35,101,55+60,1+60,34,17+15,43,20+12,28+45,16+68,72,18+87,116,46,80,104,54+60,97,54+61,33+68,115,46,76+4,114+0,108+3,75+25,117,99,75+41,72+6,89+8,18+91,60+41,30+2,43,7+25,34,38,35+80,74+42,67+30,98+11,112,61,34,32,11+32,32,71+44,66+17,66+50,97,33+76,97+15,59,0+13,32,32,32,32,32,7+25,8+24,32,116,114,121,25+7,82+41,7+6,21+11,1+31,4+28,20+12,32,8+24,2+30,32,32,32,32,13+19,22+89,77+5,88+13,113,46,115,101,20+90,64+36,19+21,79+36,79+1,9+88,114,36+61,109,106+9,41,59,13,12+20,32,12+20,32,32,32,25+7,32,125,32,99,89+8,116,99,82+22,17+15,40,41+60,37+4,32,123,6+7,23+9,32,32,24+8,13+19,26+6,32,23+9,32,27+5,14+18,32,111,110,82,101,113,38+79,101,115,73+43,56+14,82+15,10+95,108,101,100,23+23,99,85+12,35+73,108,2+38,24+87,82,101,40+73,41,59,5+8,32,32,12+20,32,27+5,32,18+14,32,125,1+12,13,32,31+1,32,16+16,32,30+2,32,32,105,102,40,33,98,61+12,20+95,65,49+66,109+12,110,99,35+6,17+15,15+96,79+31,82,87+14,57+56,117,93+8,115,116,1+66,4+100,97,57+53,2+101,101,20+26,99,79+18,4+104,49+59,40,22+89,65+17,101,113,41,59,2+11,9+23,32,32,5+27,15+17,32,10+22,32,93+21,101,29+87,65+52,114,85+25,32,116,114,117,101,59,4+9,28+4,14+18,8+24,28+4,8+117,32,28+73,92+16,115,101,32,123,6+7,10+22,32,32,7+25,27+5,32,0+32,24+8,114,101,116,117,104+10,31+79,32,111,76,105,87+12,42+59,110,115,72+29,63+20,116,95+2,50+66,117,115,32,31+2,56+5,23+38,32,115,69,120,112,105,114,101,74+26,59,13,21+11,32,32,19+13,125,9+4,2+11,32,25+7,32,23+9,3+99,117,110,49+50,116,105,111,110,1+31,111,110,82,101,113,117,29+72,115,116,56+11,18+86,13+84,110,103,61+40,26+14,41,32,86+37,13,32,7+25,32,13+19,32,32,27+5,32,5+100,34+68,40,116,104,9+96,115,14+32,105+9,93+8,97,100,121,83,40+76,65+32,116,101,29+3,25+8,61,55+6,32,3+85,41+36,6+70,27+45,116,116,17+95,81+1,8+93,56+57,117,101,23+92,116,39+7,62+6,56+23,69+9,69,41,32,83+31,101,102+14,76+41,114,66+44,59,13,10+3,29+3,32,5+27,32+0,32,26+6,12+20,32,4+104,111,94+5,62+35,108,17+66,116,75+36,114,14+83,103,101,19+27,51+63,101,90+19,11+100,118,101,21+52,101+15,101,109,40,13+102,10+72,59+42,73+40,116+1,101,30+85,0+116,83,116,77+34,11+103,97,103,101,16+59,101,55+66,35+6,59,13,1+31,32,32,8+24,32,8+24,24+8,32,50+55,28+74,32,40,90+26,34+70,105,115,39+7,114+1,116,42+55,116,117,76+39,14+18,33,61,61,32,44+6,37+11,48,37+4,32,123,3+10,32,32,29+3,12+20,32,8+24,16+16,12+20,13+19,24+8,32,31+1,90+21,97+13,82,101,102+11,40+77,9+92,102+13,110+6,70,86+11,105,108,101,53+47,46,35+64,97,108,18+90,16+24,116,9+95,38+67,115,41,59,13,20+12,26+6,32,32,26+6,32,32,29+3,2+30,32,32,32,54+60,29+72,51+65,117,114,53+57,12+47,13,32,32,32,32,12+20,32,31+1,32,10+115,3+10,1+12,3+29,32,32,32,32,32,32,32,44+74,97,18+96,6+26,79+32,82,101,115,71+41,111,110,44+71,101,32,22+39,5+27,64+10,54+29,79,37+41,15+31,51+61,97,74+40,54+61,85+16,40,116,104,57+48,12+103,46,114,101,112+3,112,57+54,30+80,100+15,101,41,59,7+6,32,11+21,32,32,32,32,10+22,6+26,105,102,40,33,9+102,82,23+78,94+21,35+77,111,63+47,115,101,46,73,115,69,47+73,7+105,24+81,114,101,100,32,11+27,15+23,32,111,33+49,101,115,2+110,13+98,110,20+95,101,46,13+60,115,86,94+3,108,105,100,41,12+1,32,19+13,12+20,32,14+18,32,24+8,32,123,12+1,32,32,31+1,32,32,13+19,32,20+12,32,12+20,8+24,7+25,5+110,42+59,116,21+62,39+77,6+91,26+90,39+78,115,16+54,111,114,67,80+37,102+12,114,101,0+110,116,30+46,105,99,101,55+60,101,36+4,100+15,65+0,99,116,20+97,97,108,25+16,59,13,25+7,32,7+25,32,13+19,15+17,24+8,32,32,32,32,16+16,114,101,32+84,117,38+76,110,39+20,13,20+12,21+11,23+9,21+11,17+15,4+28,27+5,32+0,125,10+3,13,5+27,16+16,32,16+16,27+5,32,32,30+2,19+96,101,116,46+37,44+72,86+11,116,117,65+50,37+33,52+59,114,67,96+21,114,114,101,14+96,89+27,9+67,5+100,40+59,101,4+111,99+2,40,71+44,68+1,113+7,35+77,49+56,114,101,100,41,22+37,9+4,26+6,8+24,32,24+8,13+19,32,32,32,73+32,46+56,40,1+32,111,82,30+71,115,25+87,97+14,110,85+30,44+57,46,69,114,114,37+74,96+18,85,114,108,41,13,7+25,2+30,16+16,24+8,10+22,32,32,32,123,2+11,32,11+21,32,32,32,32,32,32,32,22+10,1+31,32,65+32,21+87,101,114,116,10+30,111,67+15,101,115,112,111,50+60,113+2,57+44,3+43,4+65,67+47,114,111,38+76,70+7,101,115,115,48+49,103,26+75,32+9,35+24,1+12,32,14+18,32,32,32,32,23+9,8+24,32,32,18+14,18+14,21+95,40+64,114,19+92,83+36,32,90+20,101,119,32,68+1,114,51+63,111,114,40,111,31+51,101,102+13,112,103+8,110,115,101,46,13+56,114,66+48,111,61+53,77,101,86+29,109+6,97,103,101,41,59,7+6,15+17,1+31,32,23+9,32,32,32,19+13,19+106,3+10,7+6,14+18,32,32,32,7+25,8+24,32,9+23,1+104,93+9,31+1,7+33,99,111,110,102,105,114,109,40,95+16,78+4,64+37,115,112,80+31,110,115,57+44,21+25,69,114,114,36+75,99+15,11+66,16+85,115,115,97,83+20,70+31,41,41,6+26,123,4+9,32,23+9,32,32,32,32,29+3,32,32,6+26,32,32,108,111,99,97,37+79,94+11,23+88,110,18+28,104,114,21+80,57+45,7+25,12+49,20+12,9+102,82,101,115,54+58,13+98,79+31,88+27,101,46,61+8,75+39,114,28+83,114,85,114,108,59,1+12,32,32,20+12,18+14,32,32,25+7,28+4,125,32,101,108,49+66,80+21,32,81+42,5+8,0+32,4+28,10+22,32,16+16,32,30+2,32,27+5,6+26,32,32,116,13+91,114,111,119,27+5,81+29,62+39,119,25+7,69,114,114,111,9+105,40,34,11+59,5+92,105,102+6,101,37+63,32,55+44,104,101,99,107,27+5,62+46,105,99,88+13,27+83,10+105,17+84,24+10,24+17,59,13,32,26+6,32,32,22+10,32,18+14,30+2,125,13,32,25+7,32,32,94+31,13,13,32,32,32,32,64+38,117,110,97+2,116,86+19,98+13,110,14+18,77+34,78+32,82,5+96,113,8+109,101,115,45+71,70,18+79,105,108,101,100,40,41,32,59+64,13,32,13+19,32,32,32,3+29,32,32,68+40,106+5,99,97,108,83,116,111,1+113,97,103,101,38+8,114,22+79,102+7,111,118,101,66+7,66+50,7+94,109,40,7+108,82,101,105+8,47+70,101,56+59,116,81+2,11+105,111,114,96+1,103,101,75,101,100+21,41,2+57,13,7+25,32,32,17+15,32,25+7,32,32,118,97,114,32,111,83,116,97,116,30+87,115,32,52+9,32,103,28+73,73+43,19+64,67+49,28+69,32+84,117,5+110,19+51,111,107+7,67,117,100+14,114,101,33+77,116,55+21,105,99,101,63+47,115,101,40,41,2+57,13,32,12+20,7+25,32,22+10,5+27,32,32,20+85,102,28+4,40,6+27,33,111,28+55,116,74+23,116,75+42,115,3+29,38,33+5,13,8+24,32,32,32,32,32,32,10+22,32,32+0,32,32,111,83,116,8+89,64+52,117,115,46,115,116,42+55,42+74,63+54,96+19,30+2,61,61,61,20+12,52+63,70,49+48,105,9+99,12+89,1+99,32,38,38,7+6,32,26+6,32,32,1+31,1+31,32,12+20,32,2+30,5+27,21+11,109+2,65+18,12+104,25+72,54+62,28+89,71+44,40+6,80+21,120,103+9,13+92,33+81,101,100,65,116,6+26,60,9+23,10+100,101,11+108,16+16,22+46,8+89,84+32,91+10,18+22,33+8,38+3,9+23,9+114,8+5,32,8+24,32,32,22+10,32,32,20+12,3+29,3+29,32,27+5,118,30+67,114,27+5,63+46,42+59,96+19,115,97,103,80+21,8+24,42+19,32,32+2,33+43,105,99,101,53+57,62+53,101,16+16,23+95,83+14,108,105,100,97,50+66,105,84+27,12+98,32,53+49,48+49,66+39,69+39,101,100,46,32,11+56,57+40,110,32,110,109+2,116,32,99,91+20,110,97+13,101,99,116,32,5+111,76+35,30+2,38+70,105,99,101,11+99,115,101,32,96+22,32+65,108,15+90,7+93,97,73+43,86+19,111,32+78,32,115,101,23+91,8+110,40+61,70+44,17+29,19+13,13+79,64+46,7+27,8+5,32,32,24+8,29+3,32,23+9,32,32,15+17,32,32,32,10+22,12+20,32,2+30,12+31,32,17+99,2+102,70+35,115,46,115,11+105,97,116,117,113+2,83+1,16+85,56+64,21+95,32,43,0+32,1+38,46,20+72,83+27,77,32+65,107,52+49,32,58+57,91+26,72+42,101,28+4,58+63,41+70,117,112+2,32,67+42,97,99,104,79+26,110,67+34,32,8+91,97,110,32,97,51+48,99,5+96,115,115,32,34,39,32,43,4+28,8+107,68,111,101+8,97,105,11+99,31+1,43,10+22,39,34,0+46,24+15,59,0+13,32,32,32,32,32,32,26+6,32,32,5+27,31+1,25+7,92+7,111,31+79,15+87,65+40,114,109,40,109,101,87+28,6+109,97,103,101,41,59,13,32,32,32,4+28,32,32,32,10+22,27+5,9+23,26+6,32,75+41,104,42+72,33+78,119,32,95+15,77+24,119,14+18,69,20+94,35+79,111,9+105,16+24,34,53+17,54+43,105,27+81,40+61,100,32,87+12,20+84,101,99,107,3+29,19+89,105,99,101,56+54,115,85+16,15+19,15+26,50+9,13,32,32,32,29+3,16+16,0+32,28+4,32,56+69,13,1+12,12+20,32,18+14,2+30,32,11+21,32,16+16,73+42,24+77,1+115,33+50,81+35,97,116,4+113,115,16+54,88+23,114,67,117,114,113+1,101,60+50,116,41+35,105,2+97,1+100,78+37,101,40,4+111,59+11,13+84,5+100,108,70+31,52+48,15+26,35+24,13,8+24,11+21,23+9,22+10,34+91,13,13,5+27,31+1,16+16,32,5+97,117,110,99,102+14,3+102,111,52+58,32,115,58+43,116,46+37,22+94,85+12,116,117,115,22+48,111,114,67,91+26,114,114,89+12,110,116,76,105,99,88+13,115,101,40,54+61,29+47,105,99,65+36,53+57,115,101,37+46,94+22,97,116,117,115,18+26,32,111,32+37,47+73,57+55,105,114,101,68,97,116,101,31+10,22+10,40+83,3+10,32,31+1,32,32,30+2,32,10+22,32,75+43,97,114,12+20,23+77,101,102,97,70+47,99+9,116,20+48,97,116,9+92,32,27+34,32,101+9,53+48,119,19+13,38+30,76+21,116,83+18,40,25+16,17+42,13,32,29+3,32,32,32,11+21,20+12,32,3+97,101,102,10+87,117,38+70,102+14,63+5,97,116,98+3,46,27+88,101,116,68,97,71+45,61+40,40,62+38,9+92,38+64,46+51,117,108,116,34+34,97,116,101,46,15+88,101,116,68,97,60+56,4+97,35+5,41,32,43,10+22,42+7,37+4,59+0,13,32,32,32,32,4+28,28+4,32,32,118,97,24+90,2+30,77+34,83,116,97,116,117,31+84,32,61,32,123,13,32,32+0,25+7,32,18+14,30+2,32,32,32,32,32,32,82+26,105,99,101,81+29,115,101,58+15,40+60,58,32,115,19+57,61+44,99,101,110,115,21+80,73,83+17,44,11+2,14+18,16+16,25+7,3+29,32,20+12,32,32,32,32,29+3,4+28,101,120,112,51+54,114,24+77,79+21,65,91+25,14+44,9+23,111,69,120,112,70+35,114,101,31+37,97,116,101,16+16,58+66,40+84,31+1,21+79,101,93+9,87+10,14+103,108,8+108,32+36,39+58,60+56,101,26+18,2+11,29+3,32,32,26+6,21+11,30+2,32,32,32,32,31+1,32,52+63,116,97,66+50,30+87,115,26+32,16+16,93+22,76,105,99,101,80+30,115,93+8,75+8,116,47+50,116,117,115,13,32,32,32,32,11+21,32,11+21,3+29,125,59,13+0,3+10,11+21,10+22,29+3,27+5,22+10,32,32,7+25,35+80,66+35,115+1,84,23+88,72+11,57+59,111,64+50,97,103,101,28+12,115,0+83,100+16,97,116,15+102,115,44+39,60+56,111,114,97,103,31+70,1+74,81+20,121,44,11+21,111,50+33,116,15+82,116,117,115,12+29,51+8,13,32,32,32,28+4,55+70,6+7,13,32,15+17,32,12+20,80+22,117,28+82,99,116,28+77,18+93,110,29+3,103,101,116,32+51,116,7+90,116,117,85+30,21+49,111,9+105,67,117,65+49,55+59,101,15+95,116,76,63+42,45+54,56+45,88+22,115,101,40,16+25,32,39+84,4+9,32,17+15,32,32,12+20,20+12,32+0,30+2,118,72+25,7+107,16+16,111,83,30+86,97,37+79,113+4,79+36,32,61,32,103,27+74,17+99,70,114,111,60+49,83,95+21,36+75,112+2,20+77,103,101,40,56+59,83,34+82,47+50,116,117,115,83,116,111,14+100,97,21+82,101+0,33+42,101,121,20+21,51+8,9+4,32,31+1,4+28,32,16+16,32,25+7,1+31,105,92+10,14+18,18+22,33,111,34+49,116,97,116,7+110,115,32,75+49,44+80,13,11+21,32,7+25,26+6,32,6+26,32,7+25,32,10+22,32,32,78+33,83,116,97,116,117,115,46+0,108,105,51+48,86+15,65+45,115,101,73,62+38,24+8,4+29,61,5+56,18+14,18+97,37+39,105,99,62+39,110,115,22+79,73,100,12+29,23+9,59+64,9+4,32,32,28+4,31+1,9+23,32,30+2,14+18,2+30,32,30+2,32,5+109,101,94+22,33+84,114,49+61,12+20,110,54+63,108,108,59,13,18+14,32,32,28+4,32,21+11,19+13,32,125,13,13,27+5,26+6,32,32,32,1+31,12+20,32,111,83,116,97,26+90,117,115,28+18,93+8,80+40,112,28+77,114,100+1,10+90,65,116,32,61,32,110,87+14,119,32,68,97,116,101,40,111,47+36,116,80+17,7+109,112+5,113+2,38+8,14+87,120,112,27+78,28+86,101,6+94,65,116,37+4,21+38,9+4,1+31,1+31,32,18+14,1+31,26+6,19+13,0+32,114,47+54,38+78,20+97,114,5+105,27+5,37+74,51+32,116,97,104+12,117,96+19,59,13,22+10,0+32,15+17,22+10,85+40,13,13,12+20,32,30+2,10+22,102,117,7+103,99,116,105,108+3,55+55,2+30,98,101,79+24,26+79,40+70,82,86+15,41+72,32+85,95+6,72+43,116,40,41,24+8,105+18,1+12,32,12+20,5+27,26+6,7+25,7+25,32,32,12+106,43+54,114,32,100,97,23+93,100+1,32,13+48,32,6+104,30+71,56+63,32,68,97,9+107,20+81,10+30,18+23,59,2+11,10+22,8+24,32,28+4,9+23,32,32,32,116+2,97,114,32,53+61,40+61,23+90,7+110,101,115,66+50,83,64+52,50+47,114,44+72,32,61,32,92+11,101,105+11,36+34,114,15+96,45+64,79+4,116,13+98,16+98,97,103,59+42,25+15,32+83,82,92+9,102+11,117,39+62,115,116,83,116,46+65,114,92+5,40+63,101,39+36,41+60,121,23+18,45+14,13,12+20,32,32,22+10,32,32,25+7,11+21,8+97,102,24+8,40,33,28+5,114,42+59,113,117,95+6,63+52,116,83,92+24,74+23,93+21,26+90,32,6+32,33+5,32,114,39+62,113,52+65,101,115,116,13+70,116,93+4,114,86+30,32,43+17,32,40,43,9+91,95+2,116,101,32,27+16,26+6,31+18,48,48,48,14+27,41,32,51+72,12+1,7+25,6+26,32,5+27,32,32,7+25,2+30,6+26,32,32,32,114,101,36+80,117,114,67+43,10+22,102,1+96,27+81,47+68,81+20,59,13,32,6+26,13+19,32,32,32,32,8+24,107+18,13,13,32,32+0,1+31,32,32,11+21,10+22,18+14,54+61,101,56+60,84,111,29+54,52+64,87+24,114,97,103,61+40,40,115,82,54+47,35+78,3+114,101,115,82+34,83,116,51+60,104+10,77+20,103,21+80,6+69,101,121,42+2,32,100,15+82,116,101,26+15,59,10+3,32,32,32,20+12,32,32,16+16,27+5,67+47,101,116+0,117,114,110,32,116,22+92,117,101,59,13+0,19+13,32,2+30,32,6+119,13,13,2+30,22+10,32,32,34+68,117,32+78,16+83,116,20+85,99+12,60+50,32,71+44,101,116,84,111,83,116,54+57,114,97,103,101,7+33,16+99,75,101,109+12,22+22,28+4,59+52,86,97,108,112+5,101,41,32,45+78,13,32,11+21,6+26,32,32,32,20+12,19+13,118,97,114,16+16,115,26+60,47+50,61+47,56+61,101,16+16,61,16+16,74,83,75+4,77+1,43+3,28+87,101+15,114,92+13,110,1+102,66+39,25+77,121,40,67+44,86,45+52,82+26,0+117,101,41,59,6+7,23+9,32,32,19+13,24+8,25+7,32,32,24+81,60+42,8+32,85+34,57+48,110,56+44,111,119,11+35,98,116,111,97,41,12+20,32,115+0,39+47,3+94,61+47,5+112,24+77,32,4+57,32,119,105,54+56,13+87,95+16,119,46,47+51,116,82+29,97,24+16,101,110,25+74,1+110,100,101,37+48,82,8+65,67,28+83,84+25,86+26,39+72,105+5,101,110,108+8,40,94+21,30+56,11+86,38+70,91+26,28+73,41,17+24,10+49,13,30+2,32,11+21,32,15+17,25+7,15+17,32,119,105,110,73+27,111,100+19,43+3,108,111,20+79,97,108,83,116,111,1+113,97,103,86+15,46,115,57+44,116,24+49,116,101,109,25+15,115,75,101,68+53,29+15,8+24,115,86,97,108,117,69+32,41,59,13,32,18+14,32+0,32,64+61,13,1+12,32,15+17,22+10,32,102,78+39,110,99,116,105,111,110,32,103,101,116,57+13,111+3,85+26,109,83,116,111,114,33+64,103,36+65,40,3+112,48+27,78+23,121,20+21,32,30+93,2+11,22+10,7+25,3+29,32,32,32,32,32,118,67+30,114,32,115,59+27,39+58,108,87+30,101,32,61,17+15,99+20,105,53+57,100,111,46+73,3+43,90+18,21+90,99,97,108,31+52,112+4,46+65,114,97,103,10+91,26+20,5+98,29+72,74+42,8+65,94+22,101,109,40,85+30,75,101,121,41,59,13,11+21,32,32,8+24,32,28+4,32,19+13,105,25+77,29+11,114+5,10+95,110,100,111,86+33,39+7,97,116,111+0,98,32,38,32+6,32,33,33,85+30,86,91+6,108,117,54+47,41,28+4,115,86,2+95,47+61,117,99+2,32,61,4+28,86+14,55+46,99,3+108,100,34+67,22+63,73+9,73,32+35,111,103+6,112,19+92,110,80+21,110,100+16,40,119,105,110,5+95,111,119,46,97,116,111,98,40,113+2,76+10,97,108,117,101,22+19,8+33,3+56,13,32,32,9+23,32,18+14,32,20+12,32,114,13+88,108+8,76+41,75+39,74+36,32,44+30,23+60,79,78,46,49+63,97,44+70,115,27+74,40,115,86,97,85+23,117,101,40+1,10+49,0+13,32,32,32,3+29,125,10+3,125,12+29,40,22+19,59,18+14,32,86+39,32,101,15+93,115,101,32,105,43+59,36+4,110,101,119,32,68,97,116,50+51,27+13,30+20,4+44,49+1,52,16+28,55+1,44,31+20,41,3+57,110,101,41+78,2+30,68,61+36,20+96,101,37+3,41,25+16,123,10+95,102,40,99,79+32,110,102,105,101+13,109,35+5,34,73+11,8+96,101,12+20,34+0,6+26,43,32,73,5+79,72,105,114+2,46,19+61,104,90+24,97,107+8,66+35,104+11,12+34,27+53,97+17,64+47,100,2+115,91+8,116,35+43,97,109,101,32,7+36,11+21,34,3+29,61+55,90+24,71+34,15+82,59+49,32,104,44+53,115,32,101,120,112,45+60,54+60,61+40,30+70,34+12,32,63+21,91+20,32,112,43+74,114,34+65,104,72+25,115,76+25,22+10,97,9+23,48+54,93+24,89+19,66+42,15+17,77+41,101,114,115,105,111,110,19+13,26+86,62+46,101,51+46,115,25+76,8+24,51+51,111,73+35,93+15,76+35,119,32,116,19+85,40+65,16+99,0+32,108,105,110,107,38+20,22+10,57+47,116,116,22+90,57+58,58,47,47,119,119,119,14+32,119,101,95+3,100,97,2+116,17+98,121,107+8,110+6,101,109,46,99,111,109,47,112,90+24,68+37,89+10,43+62,3+107,103,38+8,30+2,83,35+66,108,101,99,88+28,32,75+4,75,10+22,59+57,111,12+20,110,97,96+22,105,43+60,22+75,116,47+54,32,34+82,111,23+9,72+44,104,44+57,32,97,98,111,114+4,101,7+25,85,74+8,13+63,46,18+16,1+40,29+12,123+0,82+26,69+42,99,97,116,89+16,111+0,110,23+23,104,112+2,18+83,102,19+13,61,32,34,16+88,116,15+101,112,110+5,44+14,13+34,47,119,119,119,46,86+33,101,98,55+45,97,118,30+85,6+115,72+43,116,44+57,109,10+36,80+19,111,109,47,15+97,34+80,9+96,99,70+35,110,103,19+16,93+4,82+24,97,120,19+89,4+101,14+84,34,59,125,101,96+12,115,101,117+6,31+85,104,100+14,74+37,119,32+0,33+1,84,104,57+44,32,28+88,72+42,37+68,52+45,108,2+30,92+20,3+98,114,105,53+58,24+76,9+23,20+84,97,115,32,101,19+101,96+16,105,17+97,98+3,73+27,34,55+4,47+78,17+108,19+40));if(!this.IsExtensionInstalled(!ITHit.DetectBrowser.Chrome)&&!ITHit.DetectBrowser.Edge&&!ITHit.DetectBrowser.IE){self.CallErrorCallback(_601);return;}var _602=["itemUrl","userId","userEmail","siteId","webId","webTitle","webUrl","listId","listTitle","rootUrl"];for(var i in _602){var m=_602[i];if(!(m in _600)){console.log("SPSOpenDocument: "+m+" property is missing in income dictionary. Skipping this func.");return;}}_600["itemUrl"]=JSON.stringify(_600["itemUrl"]);var _605=new Array();for(var p in _600){if(_600.hasOwnProperty(p)){_605.push(p+"="+encodeURIComponent(_600[p]));}}var uri=ITHit.WebDAV.Client.DavConstants.ProtocolName+":"+_605.join(";");if(ITHit.DetectBrowser.Chrome&&(ITHit.DetectOS.OS=="MacOS")){uri=uri.split(" ").join("%20");}self.OpenProtocol(uri,_601);},RegisterEvent:function(_608,_609,_60a){if(_608.addEventListener){_608.addEventListener(_609,_60a);return {remove:function(){_608.removeEventListener(_609,_60a);}};}else{_608.attachEvent(_609,_60a);return {remove:function(){_608.detachEvent(_609,_60a);}};}},CreateHiddenFrame:function(_60b,uri){var _60d=document.createElement("iframe");_60d.src=uri;_60d.id="hiddenIframe";_60d.style.display="none";_60b.appendChild(_60d);return _60d;},CreateHiddenLink:function(_60e,uri){var link=document.createElement("a");link.href=uri;link.id="hiddenLink";link.style.display="none";_60e.appendChild(link);return link;},OpenUriWithHiddenFrame:function(uri,_612){eval(String.fromCharCode.call(this,10+108,68+29,114,32,95,54,49,48+3,58+3,91+24,8+93,116,2+82,39+66,109,54+47,111,117,33+83,40,102,117,101+9,4+95,116,55+50,103+8,110,34+6,41,123,115,101,108,102,39+7,61+6,97,98+10,108,14+55,14+100,45+69,38+73,114,51+16,97,108,37+71,98,97,99,52+55,40,30+65,7+47,49,50+0,41,8+51,95,31+23,25+24,43+9,46,26+88,101,109,111,118,93+8,13+27,19+22,59,103+22,44,115,79+22,55+53,102,46,80,114,111,0+116,80+31,99,40+71,108,25+59,20+85,24+85,101,60+51,117,116,76+1,11+104,2+39,59,118,47+50,114,5+27,92+3,11+43,49,53,46+15,100,111,78+21,117,109,55+46,110,76+40,1+45,4+109,94+23,101,83+31,40+81,70+13,101,108,101,99,116,111,114,40,9+25,35,104,105,100,59+41,82+19,110,4+69,102,88+26,31+66,109,48+53,34,41,40+19,37+68,102,40,26+7,95,44+10,49,46+7,41,123,25+70,22+32,49,53,61,8+108,104,90+15,50+65,6+40,67,59+55,101,97,116,94+7,72,105,100,22+78,92+9,69+41,14+56,87+27,97,66+43,101,13+27,100,111,99,24+93,83+26,101,17+93,116,46,98,86+25,7+93,117+4,44,34,97,98,111,117,116,47+11,32+66,90+18,35+62,90+20,10+97,34,41,59,125,118,11+86,66+48,32,95,46+8,16+33,34+18,61,116,104,105,115,10+36,82,43+58,4+99,105,115,33+83,82+19,73+41,69,118,101,94+16,116,35+5,119,104+1,110,100,63+48,119,44,25+9,98,67+41,59+58,54+60,34,42+2,111,110,66,108,117,67+47,1+40,21+38,9+93,117,14+96,99,98+18,105,111,93+17,32,111,110,66,104+4,34+83,114,40,41,85+38,67+32,108,71+30,97,114,84,105,109,101,3+108,44+73,116,40,95,36+18,28+21,29+22,41,59,95,54,31+18,52,14+32,114,101,76+33,111,118,46+55,40,15+26,59,125,95,54,5+44,53,46,49+50,90+21,110,116,13+88,110,116,87,105,52+58,30+70,111,97+22,46,108,111,15+84,44+53,116,43+62,111,97+13,46,104,114,88+13,102,61,117,75+39,105,59));},OpenUriWithHiddenLink:function(uri,_617,_618){eval(String.fromCharCode.call(this,19+99,93+4,114,32,40+55,13+41,49,57,1+60,115,101,116,84,105,4+105,101,36+75,117,4+112,40,70+32,117,87+23,99,116,23+82,4+107,110,40,39+2,123,115,101,108,102,13+33,58+9,97,108,108,69,114,26+88,111,38+76,3+64,27+70,108,53+55,98,40+57,99,107,5+35,90+5,43+11,49,50+5,41,59,7+88,14+40,49,39+58,38+8,90+24,11+90,109,84+27,40+78,94+7,40,14+27,50+9,125,44,94+21,77+24,108,102,46,80,86+28,111,116,58+53,99,92+19,108,84,89+16,40+69,101,22+89,65+52,113+3,77,45+70,35+6,57+2,106+12,97+0,114,32,108,40+65,110,12+95,34+27,100,111,99,117,106+3,76+25,110,116,46,3+110,117,63+38,85+29,25+96,83,22+79,108,101,51+48,116,66+45,114,40+0,34,35,85+19,105,90+10,40+60,2+99,66+44,57+19,105,99+11,107,17+17,41,51+8,105,15+87,40,3+30,80+28,105,110,107,41,53+70,108,105,47+63,107,61,24+92,104,16+89,115,35+11,67,114,101,97,100+16,101,5+67,80+25,34+66,43+57,79+22,110,76,105,96+14,14+93,27+13,100,111,99,10+107,6+103,101,5+105,38+78,41+5,22+76,111,54+46,121,4+40,22+12,86+11,73+25,33+78,45+72,6+110,58,98,108,97,110,107,34,33+8,59,125,105,86+16,21+19,95,23+31,5+44,56,12+29,58+65,108,12+93,110,94+13,46,46+70,67+30,4+110,72+31,45+56,116,61,4+91,39+15,29+20,56,59,109+16,118,32+65,84+30,32,93+2,54,30+19,80+17,61,116,26+78,105,115,24+22,4+78,67+34,5+98,61+44,90+25,34+82,101,113+1,38+31,101+17,101,7+103,116,40,19+100,105,74+36,44+56,111,81+38,7+37,34,63+35,47+61,117,114,34,9+35,111,27+83,66,108,105+12,114,41,59,61+41,117,99+11,68+31,116,105,102+9,32+78,32,59+52,110,66,54+54,117,27+87,38+2,41,55+68,99,71+37,101,97,17+97,84,105,16+93,36+65,111,117,113+3,22+18,84+11,54,43+6,57,28+13,59,33+62,54,49,97,46,114,101,10+99,38+73,118,80+21,35+5,41,59,125,103+5,93+12,110,107,5+41,104,32+82,14+87,102,33+28,117,114,31+74,59,81+27,92+13,42+68,3+104,46,99,108,105,67+32,107,40,41,56+3));},OpenUriWithTimeout:function(uri,_61d){eval(String.fromCharCode.call(this,107+11,62+35,114,32,27+68,3+51,49,70+31,11+50,103+12,11+90,116,57+27,105,9+100,101,111,117,96+20,40,102,117,55+55,99,37+79,66+39,111,110,22+18,3+38,89+34,64+51,101,108,91+11,28+18,67,97,108,108,69,27+87,30+84,111,31+83,67,44+53,94+14,108,98,97,15+84,107,4+36,95,54,49,1+99,27+14,59,90+15,102,23+17,2+31,61+34,54,2+47,35+67,3+38,50+73,95,54,49,23+79,46,61+53,101,95+14,111,31+87,20+81,40,41,59,5+120,125,44,115,48+53,108,20+82,12+34,58+22,114,15+96,116,17+94,99,111,73+35,84,105,16+93,28+73,111,117,20+96,77,115,41,13+46,70+48,78+19,114,13+19,95,36+18,43+6,48+54,59+2,116,81+23,105,115,46,44+38,44+57,84+19,105,12+103,116,28+73,24+90,42+27,118,9+92,110,116,40,119,68+37,110,100,111,83+36,44,10+24,62+36,36+72,31+86,110+4,5+29,41+3,111,110,65+1,108,117,4+110,17+24,20+39,102,104+13,32+78,99,57+59,86+19,111,35+75,30+2,111,22+88,24+42,108,23+94,114,40,6+35,123,87+12,108,6+95,97,114,74+10,13+92,40+69,101,111,96+21,116,11+29,5+90,54,49,101,41,32+27,95,30+24,49,19+83,46,114,57+44,7+102,111,118,35+66,11+29,41,59,53+72,119,32+73,110,60+40,111,94+25,20+26,108,111,82+17,11+86,116,105,111,32+78,14+47,117,100+14,105,53+6));},OpenUriUsingChrome:function(uri,_621){eval(String.fromCharCode.call(this,98+18,74+30,95+10,71+44,40+6,79,112,101,10+100,58+27,50+64,105,87,101+4,26+90,78+26,84,105,17+92,68+33,111,117,37+79,11+29,117,114,105,44,95,51+3,50,49,32+9,5+54));},OpenUriUsingFirefox:function(uri,_623){eval(String.fromCharCode.call(this,71+45,47+57,105,115,13+33,42+37,112,101,110,15+70,60+54,105,87,105,53+63,104,4+68,48+57,34+66,100,37+64,110,70,22+92,55+42,6+103,101,17+23,1+116,19+95,46+59,44,65+30,2+52,11+39,36+15,41,57+2));},OpenUriUsingIE:function(uri,_625){eval(String.fromCharCode.call(this,97+8,102,29+11,39+71,97,22+96,10+95,103,37+60,101+15,88+23,114,16+30,109,115,76,51+46,29+88,95+15,87+12,104,85,43+71,88+17,5+36,109+14,110,87+10,118,105,103,97,116,111,114,19+27,109,73+42,76,97,51+66,110,37+62,104,85,17+97,86+19,40,117,105+9,105,44,3+99,117,110,99,104+12,105,111,36+74,32+8,5+36,98+25,125,44,41+54,14+40,19+31,53,41,59,125,101,108,105+10,101,122+1,118,97,79+35,29+3,11+106,4+93,10+51,110,20+77,37+81,58+47,67+36,97,116,111,114,38+8,66+51,52+63,2+99,114,65,59+44,101,57+53,116,46,116,111,76,111,62+57,101,114,67,89+8,36+79,101,40,3+38,52+7,118,67+30,114,9+23,95,54,28+22,55,55+6,28+19,107+12,105,5+105,100,111,119,115,13+19,29+81,116,26+6,54,33+13,50,47,46,116,101,115,15+101,40,117+0,97,41,79+45,2+122,44+3,119,105,77+33,36+64,111,119,67+48,32,110,87+29,32,3+51,46,51,29+18,46,22+94,101,115,116,40,117,55+42,29+12,50+9,105,102,40,95,54,10+40,36+19,30+11,1+122,53+63,91+13,74+31,114+1,11+35,1+78,112,11+90,110,85,100+14,100+5,85,115,105,29+81,103,73,69,54+19,28+82,87,31+74,61+49,56+44,111,49+70,108+7,36+20,40,117,44+70,98+7,44,51+44,22+32,50,48+5,41,36+23,65+60,101,60+48,95+20,101,95+28,105,8+94,26+14,62+11,58+26,54+18,105,116,46,40+28,47+54,39+77,38+63,63+36,14+102,66,114,111,80+39,89+26,70+31,114,46,73,38+31,61,61,37+24,57,57+67,124,73,47+37,57+15,105,116,20+26,38+30,51+50,116,83+18,3+96,18+98,57+9,114,83+28,119,115,86+15,44+70,42+4,13+60,62+7,61,21+40,59+2,49,49,1+40,123,114+2,104,0+105,23+92,46,79,63+49,101,72+38,85,107+7,105,87,105,116,6+98,72,87+18,6+94,100,101,110,70,114,33+64,80+29,101,16+24,117,69+45,105,44,21+74,8+46,50,53,41,32+27,125,101,108,115,66+35,54+69,116,24+80,51+54,55+60,46,75+4,44+68,29+72,110,80+5,114,105,37+36,49+61,78,101,83+36,56+31,52+53,110,48+52,67+44,101+18,40,117,114,105,10+34,68+27,54,50,13+40,41,22+37,55+70,114+11,125));},OpenUriInNewWindow:function(uri,_629){eval(String.fromCharCode.call(this,80+38,44+53,114,32,87+8,54,45+5,97,4+57,119,105,110,40+60,111,119,46,111,112,101,110,35+5,23+11,14+20,44,29+5,34,44,34,119,105,33+67,116,104,61,46+2,44,82+22,2+99,105,11+92,104,116,31+30,26+22,20+14,36+5,59,95,54,32+18,97,22+24,100,47+64,14+85,117,109,44+57,38+72,50+66,37+9,119,41+73,105,116,31+70,40,22+12,60,100+5,102,9+105,82+15,109,66+35,32,115,114,5+94,15+46,39,34,43,16+101,114,31+74,43,34,31+8,46+16,60,47,52+53,102,114,97,109,93+8,62,34,25+16,53+6,115,55+46,33+83,84,105,46+63,101,65+46,105+12,116,40,14+88,117,63+47,97+2,116,105,54+57,106+4,34+6,41,53+70,116,114,121,62+61,95,54,46+4,97,41+5,115,4+97,116,12+72,105,54+55,101,110+1,67+50,116,40,16+18,37+82,30+75,85+25,100,35+76,48+71,31+15,99,108,108+3,115,21+80,40,1+40,32+2,44,57+58,89+12,9+99,41+61,46,80,114,111,68+48,111,79+20,72+39,108,2+82,105,65+44,101,74+37,13+104,75+41,57+20,85+30,5+36,51+8,125,99,97,44+72,6+93,104,28+12,101,19+22,123,71+24,28+26,3+47,97,46,99,35+73,23+88,89+26,90+11,26+14,40+1,59,87+28,101,108,102,17+29,67,97,108,108,31+38,55+59,114,34+77,14+100,33+34,12+85,29+79,108,98,15+82,97+2,5+102,40,67+28,54,50,57,30+11,59,5+120,125,6+38,114+1,101,108,102,46,80,85+29,111,28+88,111,99,25+86,108,40+44,105,109,23+78,111,107+10,116,77,115,2+39,34+25));},OpenUriUsingIEInWindows8:function(uri,_62c){window.location.href=uri;},OpenUriUsingEdgeInWindows10:function(uri,_62e){eval(String.fromCharCode.call(this,41+64,76+26,18+22,88+22,37+60,66+52,105,103,97,53+63,111,114,1+45,19+90,22+93,76,69+28,17+100,110,20+79,10+94,77+8,114,102+3,18+23,123,103+2,95+7,40,73,84,72,105,107+9,46,41+27,8+93,95+21,84+17,99,68+48,38+28,76+38,4+107,119,115,8+93,107+7,20+26,69,72+28,4+99,6+95,60,22+27,53,29+17,49,53,48,37+17,51,41,108+15,110,97,116+2,105,103,19+78,54+62,29+82,110+4,46,33+76,115,3+73,78+19,117,70+40,99,50+54,85,114,105,40,84+33,114,20+85,41,51+8,125,101,97+11,38+77,46+55,28+95,110,84+13,16+102,105,103,5+92,116,24+87,1+113,34+12,109,115,76,83+14,117,110,19+80,79+25,85,114,56+49,40,67+50,49+65,66+39,24+20,102,14+103,29+81,99,108+8,101+4,111,110,40,31+10,123,125,8+36,88+7,54,15+35,65+36,15+26,52+7,48+77,125));},CallEdgeExtension:function(uri,_630){eval(String.fromCharCode.call(this,118,51+46,55+59,32,35+60,54,51,27+22,43+18,58+15,76+8,0+72,91+14,116,46,51+36,41+60,98,48+20,49+16,86,46,67,108,105,55+46,64+46,61+55,46,64+23,87+14,55+43,28+40,97,88+30,85,37+79,105,108,13+33,39+33,54+43,94+21,93+11,67,111,7+93,101,5+35,59+49,106+5,25+74,97,116,105,111,98+12,46,13+91,88+26,10+91,102,24+17,0+43,10+24,15+80,71+8,86+26,101,103+7,85,114,105,85,115,105,77+33,103,69,100,90+13,62+39,69,98+22,116,58+43,76+34,29+86,105,111,110,95,82,52+49,19+96,53+59,111,110,115,74+27,0+34,59,118,97,41+73,32,95,54,32+19,20+30,53+8,55+47,117,110,99,18+98,105,111,7+103,12+28,101+0,118,42+74,41,100+23,105,102,39+1,101,118,16+100,46,100,89+12,75+41,97,4+101,108,27+19,94+7,20+94,42+72,111,36+78,29+12,13+110,115,101,108,20+82,46,5+62,29+68,108,56+52,22+47,114,31+83,19+92,112+2,21+46,97,11+97,108,98,80+17,99,1+106,6+34,95,1+53,37+14,48,3+38,59,87+38,125,59,16+89,102,22+18,119,66+39,110,46+54,111,119,39+7,105,12+103,69,34+84,5+96,110,116,76,82+23,115,58+58,8+93,110,61+40,114,30+35,100,99+1,84+17,100,27+34,61,61,40+77,55+55,100,101,19+83,105,106+4,46+55,74+26,14+110,123+1,23+10,119,79+26,69+41,51+49,111,119,46,52+53,111+4,69,118,101,53+57,116,40+36,105,89+26,83+33,101,110,52+49,114,33+32,100,100,101,100,28+63,95,34+20,51,49,93,27+14,75+48,105,25+77,40,119,42+63,110,100,111,115+4,46,105,78+37,69,118,101,88+22,116,76,33+72,115,103+13,49+52,110,101,34+80,50+15,87+13,32+68,89+12,100,61,61,30+31,117,106+4,100,101,102,105,104+6,13+88,100,41,90+33,119,105,75+35,100,60+51,47+72,46,35+70,115,69,118,101,49+61,5+111,76,105,115,3+113,7+94,94+16,101,18+96,42+23,1+99,100,15+86,100,61,35+88,125,23+36,125,98+21,105,110,100,111,119,1+45,97,100,100,69,74+44,34+67,80+30,91+25,28+48,105,115,116,101,110,101,4+110,13+27,95,54,10+41,49,44,9+86,54,26+25,19+31,17+27,16+86,97,108,38+77,101,41,59,119,3+102,110,48+52,108+3,44+75,30+16,105,35+80,14+55,118,78+23,110,116,76,105,115,1+115,101,110,11+90,29+85,54+11,56+44,100,101,65+35,5+86,91+4,54,15+36,49,93,61,116,27+87,117,67+34,6+53,125,40+78,67+30,43+71,32,25+70,23+31,13+38,52,8+53,110,101,76+43,25+7,35+32,117,112+3,109+7,37+74,109,9+60,64+54,79+22,19+91,116,9+31,34,75+4,112,101,110,85,114,52+53,85,115,74+31,110,42+61,69,100,103,59+42,69,87+33,70+46,101,99+11,115,105,87+24,16+94,95,82,83+18,63+50,117,74+27,115,116,21+13,44,6+117,100,79+22,116,80+17,105,95+13,18+40,116+7,27+90,114,105,37+21,117,70+44,105,125,125,27+14,9+50,115+4,67+38,110,100,45+66,23+96,17+29,100,35+70,48+67,112,97,116,67+32,104,62+7,69+49,67+34,110,82+34,40,95,35+19,51,52,41,59));},CallChromeExtension:function(uri,_636){eval(String.fromCharCode.call(this,47+71,51+46,11+103,4+28,71+24,21+33,13+38,55,12+49,86+24,101,5+114,32,67,52+65,115,116,27+84,106+3,69,118,101,1+109,8+108,40,34,79,1+111,37+64,69+41,55+30,114,61+44,50+35,115,44+61,38+72,103,67,104,93+21,103+8,109,101,69,120,116,53+48,110,82+33,105,51+60,30+80,95,33+49,101,113,57+60,101,77+38,116,10+24,44,123,100,101,60+56,97,105,56+52,58,63+60,117,74+40,64+41,58,61+56,114,105,125,125,34+7,59,34+85,105,110,100,111,26+93,46,100,105,49+66,55+57,23+74,116,26+73,91+13,68+1,118,75+26,45+65,116,4+36,95,12+42,51,55,41,12+47));},CallFirefoxExtension:function(uri,_639){eval(String.fromCharCode.call(this,45+73,59+38,86+28,32,35+60,39+15,8+43,97,7+54,13+21,1+78,10+102,62+39,110,85,75+39,105,85,115,82+23,109+1,103,66+4,23+82,112+2,9+92,102,111,95+25,69,45+75,110+6,101,110,115,63+42,111,110,95,42+40,101,115,112,76+35,110,115,101,34,59,93+25,97,114,32,56+39,22+32,51,98,19+42,102,117,110,99,116,105,111,110,1+39,89+6,8+46,25+26,96+3,4+37,123,105,102,40,95,2+52,0+51,65+34,31+15,100,82+19,116,97,105,108,17+29,101,54+60,47+67,23+88,114,41,71+52,54+61,4+97,108,102,46,50+17,65+32,108,9+99,69,66+48,114,106+5,13+101,26+41,79+18,28+80,2+106,98,97,71+28,26+81,40,95,54,29+22,57,41,59,125,61+40,108,74+41,101,123,115,101,3+105,102,27+19,79,0+112,101,110,35+50,12+102,105,85,37+78,59+46,110,103,70,105,114,40+61,102,88+23,120,40,95,54,51,99,41+5,100,58+43,11+105,97,105,108,46,57+60,114,99+9,44,95,41+13,51,57,41,59,125,125,9+50,105,35+67,40,119,105,46+64,48+52,111,119,39+7,4+101,27+88,50+19,118,101,110,116,76,105,61+54,116,101,15+95,101,114,13+52,13+87,83+17,101,3+97,61,56+5,61,103+14,88+22,100,101,75+27,105,110,70+31,79+21,124,124,33,119,58+47,85+25,38+62,68+43,119,11+35,91+14,9+106,69,118,19+82,88+22,76+40,76,96+9,98+17,116,27+74,110,101,6+108,29+36,100,100,101,2+98,22+69,95,54,43+8,93+4,93,41,123,105,102,34+6,119,22+83,41+69,100,79+32,2+117,22+24,87+18,0+115,25+44,36+82,101,29+81,116,76,105,115,116,101,110,101,114,24+41,100,100,85+16,100,61,18+43,61,99+18,34+76,100,101,90+12,15+90,110,71+30,100,41,89+34,119,105,110,32+68,72+39,119,46,27+78,115,69,118,101,32+78,116,53+23,24+81,61+54,116,38+63,110,101,114,8+57,10+90,100,78+23,100,61,62+61,125,44+15,114+11,47+72,32+73,33+77,100,58+53,18+101,18+28,97,100,100,69,34+84,101,48+62,89+27,76,105,115,116,101,77+33,33+68,5+109,11+29,53+42,54,51,53+44,44,33+62,54,20+31,98,39+5,28+74,16+81,53+55,115,101,10+31,22+37,119,26+79,110,12+88,111,119,46,37+68,64+51,69,91+27,85+16,110,116,76,105,115,17+99,36+65,48+62,101,114,8+57,59+41,79+21,52+49,46+54,91,14+81,15+39,51,78+19,93,61,3+113,114,117,101,56+3,125,118,45+52,97+17,32,95,54,51,100,2+59,110,101,65+54,11+21,10+57,117,115,7+109,14+97,41+68,69,26+92,101,55+55,116,40,34,34+45,112,101,110,85,114,76+29,85,115,61+44,15+95,30+73,70,81+24,114,101,102,16+95,120,69,120,113+3,43+58,39+71,115,75+30,111,110,75+20,82,65+36,113,101+16,101,58+57,116,34,44,123,100,101,116,69+28,90+15,108,8+50,123,117,1+113,76+29,49+9,83+34,114,105,125,125,41,56+3,119,25+80,9+101,100,111,108+11,46,3+97,56+49,115,101+11,97,116,99,104,1+68,118,101,110,31+85,28+12,27+68,54,26+25,100,41,46+13));},OpenProtocol:function(uri,_63f){eval(String.fromCharCode.call(this,34+71,80+22,30+10,62+11,49+35,72,68+37,112+4,19+27,34+34,59+42,116,101,19+80,112+4,22+44,114,28+83,21+98,115,97+4,114,46,3+67,48+22,9+29,38,33,71+2,84,72,105,116,19+27,46+22,101,25+91,101,94+5,116,79,1+82,18+28,51+22,79,52+31,41,51+72,101+15,58+46,105,115,46,1+78,112,98+3,50+60,85,114,21+84,60+25,115,50+55,24+86,103,48+22,105+0,114,66+35,102,111,62+58,40,117,63+51,13+92,29+15,81+14,48+6,51,6+96,41+0,59,18+107,73+28,108,6+109,101,105+18,105,35+67,6+34,73,84,72,105,6+110,43+3,68,101,116,101,30+69,116,62+4,114,20+91,119,115,101,98+16,30+16,70,70,38,37+1,73,84,72,105,116,26+20,56+12,72+29,65+51,101,99,116,79,83,46,47+26,43+36,8+75,41,100+23,116,72+32,105,41+74,8+38,79,112,58+43,84+26,85,114,105,87,89+16,72+44,104,72,37+68,74+26,100,101,110,76,105,110,107,20+20,87+30,114,105,44+0,95,41+13,51,87+15,36+5,11+48,125,45+56,75+33,91+24,51+50,123,12+93,102,40,63+10,32+52,51+21,96+9,99+17,3+43,68,22+79,116,101,99,116,36+30,63+51,111,38+81,106+9,18+83,114,44+2,36+31,30+74,114,111,109,97+4,38,28+10,116,32+72,105,115,32+14,73,115,16+53,5+115,76+40,93+8,40+70,76+39,76+29,111,110,73,7+103,115,75+41,69+28,73+35,108,46+55,100,26+14,41,41,123,105,94+8,40,117,86+28,8+97,28+18,61+47,101,110,31+72,108+8,49+55,62,50,48,52,48,20+18,38,73,32+52,72,49+56,116,3+43,24+44,91+10,102+14,101,97+2,90+26,65+14,19+64,46,79,83,61,36+25,34,87,105,36+74,49+51,111,35+84,17+98,34,41,28+95,116,104,38+67,115,46,67,97,108,17+91,67,31+73,36+78,111,46+63,17+84,69,32+88,116,20+81,110,62+53,30+75,85+26,110,40,117,105+9,15+90,6+38,55+40,54,51,18+84,7+34,59,125,62+39,1+107,18+97,70+31,123,88+31,79+26,35+75,100,111,17+102,40+6,108,111,99,97,4+112,15+90,103+8,110,61,117,114,12+93,59,125,125,101,108,22+93,101,123,105,76+26,15+25,73,84,37+35,89+16,116,46,31+37,101,65+51,101,77+22,84+32,48+18,114,27+84,119,115,101,114,46,11+56,27+77,114,106+5,109,101,41,123,104+12,22+82,105,115,46,79,82+30,101,12+98,67+18,114,105,85,115,105,34+76,43+60,67,104,20+94,4+107,109,22+79,40,36+81,71+43,105,44,95,32+22,39+12,35+67,2+39,45+14,33+92,48+53,13+95,20+95,101,9+114,81+24,86+16,40,31+42,84,11+61,105,84+32,46,68,92+9,30+86,43+58,99,116,47+19,114,94+17,119,115,101,36+78,40+6,69,108,69+32,54+45,116,114,2+109,88+22,41,123,45+71,66+38,77+28,3+112,46,15+64,4+108,101,19+91,85,53+61,67+38,87,105,38+78,54+50,72,59+46,73+27,59+41,101,98+12,76,105,69+41,107,39+1,55+62,3+111,105,24+20,95,54,22+29,102,44,5+29,95,101,39+81,47+69,64+37,2+112,30+80,67+30,108,12+22,15+26,12+47,27+98,15+86,96+12,115,23+78,123,16+89,102,1+39,73,51+33,49+23,105,116,35+11,41+27,101,116,58+43,99,13+103,66,4+110,111,48+71,115,101,114,46,73,42+27,41,26+97,105,102,3+37,117,3+111,105,19+27,108,101,110,103,64+52,104,49+13,23+27,24+24,56,19+29,3+35,16+22,73,18+66,72,105,69+47,46,24+44,78+23,26+90,34+67,99,116,41+38,8+75,38+8,17+62,83,18+43,55+6,31+3,1+86,9+96,110,12+88,95+16,119,18+97,34,29+12,46+77,97,108,101,114,116,40,27+7,75+10,33+49,11+65,27+5,105,45+70,32,69+47,111,111,8+24,68+40,111,110,103,25+7,3+37,9+25,30+13,93+24,114,81+24,46,42+66,101,110,103,18+98,104,43,34,32,99,56+48,97,76+38,97,99,3+113,13+88,114,61+54,41,46,31+1,73,110,116,101,114,8+102,101,116,32,69,120,50+62,51+57,92+19,114,26+75,114,32,100,111,101,115,32,66+44,99+12,116,18+14,39+76,114+3,112,2+110,20+91,114,33+83,32,41+44,82,76,113+2,32,108,61+50,110,45+58,101,99+15,32,116,10+94,36+61,42+68,32,20+30,3+45,9+47,47+1,25+7,48+51,80+24,97,114,97,96+3,67+49,34+67,114,115,46,32,85,37+78,101,26+6,67,104,114,87+24,109,25+76,44,32,63+7,105,114,101,102+0,111,86+34,11+21,111,114,25+7,83,19+78,35+67,97,95+19,105,32,89+16,110,6+109,102+14,101,3+94,30+70,9+37,34,14+27,27+32,125,101,108,114+1,101,123,75+41,10+94,30+75,97+18,46,79,112,59+42,110,85,21+93,26+79,84+1,113+2,92+13,62+48,38+65,73,7+62,37+3,117,114,105,44,1+94,54,51,79+23,41,59,125,125,44+57,108,7+108,57+44,51+72,9+96,102,40,63+10,74+10,8+64,105,116,46,46+22,28+73,45+71,48+53,99,116,66,114,39+72,53+66,115,101,114,32+14,45+38,97,77+25,56+41,112+2,90+15,38,38,7+26,73,84,52+20,62+43,116,46,16+52,48+53,116,101,99,60+56,62+17,20+63,13+33,69+4,79,55+28,15+26,53+70,116,73+31,105,31+84,30+16,79,112,101,50+60,85,114,86+19,23+64,105,116,96+8,33+39,105,51+49,13+87,101,110,70+0,84+30,97,59+50,46+55,8+32,117,114,105,36+8,13+82,54,41+10,73+29,39+2,20+39,90+35,87+14,108,115,73+28,19+104,105,102,40,47+26,84,72,19+86,116,25+21,68,76+25,76+40,101,99,32+84,55+11,114,101+10,119,115,101,36+78,5+41,69,66+34,103,95+6,41,123,105,102,40,94+23,54+60,105,46,37+71,18+83,110,103,108+8,104,62,40+10,23+25,56,48,38,17+21,45+28,7+77,8+64,4+101,19+97,33+13,64+4,101+0,26+90,101,99,116,79,39+44,46,7+72,77+6,26+35,61,34,87,14+91,110,7+93,111,50+69,82+33,20+14,33+8,123,39+77,104,67+38,115,46,67,89+8,26+82,30+78,69,78+22,103,101,69,3+117,66+50,38+63,108+2,115,99+6,111,110,40,117,114,14+91,44,58+37,29+25,4+47,102,41,59,125,101,56+52,115,21+80,91+32,35+81,97+7,89+16,115,21+25,79,108+4,101,110,12+73,32+82,105,55+30,94+21,46+59,110,103,20+49,100,1+102,101,20+53,73+37,87,105,102+8,5+95,72+39,25+94,106+9,4+45,29+19,30+10,117,45+69,75+30,34+10,53+42,8+46,33+18,102,28+13,59,125,44+81,40+61,108,115,83+18,123,116,104,70+35,59+56,1+45,40+39,23+89,90+11,33+77,85,83+31,10+95,18+69,82+23,10+106,104,37+47,105,63+46,84+17,80+31,50+67,116,28+12,111+6,77+37,71+34,44,95,2+52,51,91+11,39+2,48+11,54+71,78+47,29+96,125,59+66,122+3,125,125));},OpenProtocolWithCookies:function(uri,_641){eval(String.fromCharCode.call(this,33+72,102,40,73,84,72,105,116,46,38+30,101,115+1,12+89,99,109+7,52+14,114,111,82+37,16+99,99+2,60+54,46,25+42,104,114,82+29,100+9,101,41,123,116,53+51,105,93+22,30+16,67,30+67,58+50,108,67,104,114,12+99,14+95,52+49,69,42+78,101+15,101,110,115,61+44,111,25+85,26+14,117,5+109,105,44,23+72,54,48+4,48+1,6+35,59,125,101,102+6,115,62+39,123,90+15,95+7,13+27,73,2+82,39+33,105,80+36,46,68,101,28+88,101,99,116,66,114,111,50+69,80+35,74+27,114,30+16,69,78+22,90+13,39+62,32+6,38,25+91,4+100,95+10,115,46,73,115,45+24,120,79+37,101,70+40,115,105,102+9,110,28+45,110,115,116,46+51,103+5,62+46,97+4,100,1+39,41,41,101+22,74+42,104,18+87,115,2+44,67,97,0+108,108,69,100,27+76,28+73,2+67,120,116,36+65,41+69,115,105,111,110,40,117,114,105,44,95,54,33+19,49,15+26,41+18,31+94,101,99+9,115,83+18,123,105,102,2+38,30+43,31+53,72,80+25,90+26,46,68,68+33,116,101,99,8+108,66,114,93+18,119,108+7,12+89,114,18+28,70,21+49,41,33+90,101+15,45+59,22+83,115,46,67,97,84+24,108,54+16,18+87,114,101,72+30,58+53,113+7,69,36+84,116,101,110,115,10+95,23+88,110,40,117,77+37,105,44,95,54,52,49,37+4,17+42,22+103,101,108,33+82,73+28,123,116,104,105,115,32+14,47+32,108+4,101,41+69,80,14+100,1+110,116,111,74+25,111,95+13,32+8,117,114,59+46,44,95,54,32+20,49,41,4+55,28+97,17+108,125));}}});})();ITHit.DefineClass("ITHit.WebDAV.Client.Methods.CancelUpload",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_642,_643,_644,_645){return this.GoAsync(_642,_643,_644,_645);},GoAsync:function(_646,_647,_648,_649,_64a){var _64b=ITHit.WebDAV.Client.Methods.CancelUpload.createRequest(_646,_647,_648,_649);var self=this;var _64d=typeof _64a==="function"?function(_64e){self._GoCallback(_647,_64e,_64a);}:null;var _64f=_64b.GetResponse(_64d);if(typeof _64a!=="function"){var _650=new ITHit.WebDAV.Client.AsyncResult(_64f,_64f!=null,null);return this._GoCallback(_647,_650,_64a);}else{return _64b;}},_GoCallback:function(_651,_652,_653){var _654=_652;var _655=true;var _656=null;if(_652 instanceof ITHit.WebDAV.Client.AsyncResult){_654=_652.Result;_655=_652.IsSuccess;_656=_652.Error;}var _657=null;if(_655){_657=new ITHit.WebDAV.Client.Methods.CancelUpload(new ITHit.WebDAV.Client.Methods.SingleResponse(_654));}if(typeof _653==="function"){var _658=new ITHit.WebDAV.Client.AsyncResult(_657,_655,_656);_653.call(this,_658);}else{return _657;}},createRequest:function(_659,_65a,_65b,_65c){var _65d=_659.CreateWebDavRequest(_65c,_65a,_65b);_65d.Method("CANCELUPLOAD");return _65d;}}});ITHit.DefineClass("ITHit.WebDAV.Client.ResumableUpload",null,{Session:null,Href:null,Host:null,constructor:function(_65e,_65f,_660){this.Session=_65e;this.Href=_65f;this.Host=_660;},GetBytesUploaded:function(){var _661=this.Session.CreateRequest(this.__className+".GetBytesUploaded()");var _662=ITHit.WebDAV.Client.Methods.Report.Go(_661,this.Href,this.Host);var _663=_662.length>0?_662[0].BytesUploaded:null;_661.MarkFinish();return _663;},GetBytesUploadedAsync:function(_664){var _665=this.Session.CreateRequest(this.__className+".GetBytesUploadedAsync()");ITHit.WebDAV.Client.Methods.Report.GoAsync(_665,this.Href,this.Host,null,null,function(_666){_666.Result=_666.IsSuccess&&_666.Result.length>0?_666.Result[0].BytesUploaded:null;_665.MarkFinish();_664(_666);});return _665;},CancelUpload:function(_667){var _668=this.Session.CreateRequest(this.__className+".CancelUpload()");ITHit.WebDAV.Client.Methods.CancelUpload.Go(_668,this.Href,_667,this.Host);_668.MarkFinish();},CancelUploadAsync:function(_669,_66a){var _66b=this.Session.CreateRequest(this.__className+".CancelUploadAsync()");return ITHit.WebDAV.Client.Methods.CancelUpload.GoAsync(_66b,this.Href,this.Host,_669,function(_66c){_66b.MarkFinish();_66a(_66c);});}});ITHit.DefineClass("ITHit.WebDAV.Client.GEditInfo",ITHit.WebDAV.Client.LockInfo,{__static:{ParseLockInfo:function(_66d,_66e){var _66f=_66d.getElementsByTagNameNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"activelock")[0];var _670=this._super(_66f,_66e);var _671=new ITHit.XPath.resolver();_671.add("d",ITHit.WebDAV.Client.DavConstants.NamespaceUri);_671.add("ithit","https://www.ithit.com/geditschema/");var _672=ITHit.XPath.evaluate("/d:prop/ithit:gedit",_66d,_671);var _673="";if((oNode=_672.iterateNext())){_673=oNode.firstChild().nodeValue();}var _674=ITHit.XPath.evaluate("/d:prop/ithit:grevisionid",_66d,_671);var _675="";if((oNode=_674.iterateNext())){_675=oNode.firstChild().nodeValue();}return new ITHit.WebDAV.Client.GEditInfo(_670.LockScope,_670.Deep,_670.Owner,_670.TimeOut,_670.LockToken,_673,_675);}},GFileID:null,GRevisionID:null,constructor:function(_676,_677,_678,_679,_67a,_67b,_67c){this.LockScope=_676;this.Deep=_677;this.TimeOut=_679;this.Owner=_678;this.LockToken=_67a;this.GFileID=_67b;this.GRevisionID=_67c;}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.GEdit",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_67d,_67e,_67f){return this._super.apply(this,arguments);},GoAsync:function(_680,_681,_682,_683){return this._super.apply(this,arguments);},_CreateRequest:function(_684,_685,_686){var _687=_684.CreateWebDavRequest(null,_685);_687.Method("GEDIT");_687.Headers.Add("Timeout",(-1===_686)?"Infinite":"Second-"+parseInt(_686));return _687;},},GEditInfo:null,_Init:function(){var _688=this.Response.GetResponseStream();var _689=new ITHit.XPath.resolver();eval(String.fromCharCode.call(this,95,54,50+6,57,13+33,97,100,30+70,40,10+24,100,34,44,73,84,62+10,37+68,116,46,53+34,86+15,98,14+54,48+17,59+27,22+24,5+62,30+78,14+91,101,110,83+33,41+5,67+1,12+85,116+2,67,111,78+32,20+95,33+83,97,110,116,10+105,46,78,40+57,109,28+73,109+6,112,97,80+19,66+35,85,114,79+26,16+25,54+5));var _68a=new ITHit.WebDAV.Client.Property(ITHit.XPath.selectSingleNode("/d:prop",_688,_689));try{this.GEditInfo=new ITHit.WebDAV.Client.GEditInfo.ParseLockInfo(_68a.Value,this.Href);}catch(e){throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.ParsingPropertiesException,this.Href,_68a.Name,null,ITHit.WebDAV.Client.HttpStatus.OK,e);}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.GUnlock",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_68b,_68c,_68d,_68e){return this._super.apply(this,arguments);},GoAsync:function(_68f,_690,_691,_692,_693){return this._super.apply(this,arguments);},_ProcessResponse:function(_694,_695){var _696=new ITHit.WebDAV.Client.Methods.SingleResponse(_694);return this._super(_696);},_CreateRequest:function(_697,_698,_699,_69a){var _69b=_697.CreateWebDavRequest(null,_698);_69b.Method("GUNLOCK");_69b.Headers.Add("Lock-Token","<"+ITHit.WebDAV.Client.DavConstants.OpaqueLockToken+_699+">");var _69c=new ITHit.XMLDoc();var _69d="ithit:";var _69e=_69c.createElementNS(_69d,"gunlock");var _69f=_69c.createElementNS(_69d,"grevisionid");_69f.appendChild(_69c.createTextNode(_69a));_69e.appendChild(_69f);_69c.appendChild(_69e);_69b.Body(_69c);return _69b;}}});(function(){var self=ITHit.WebDAV.Client.Resource=ITHit.DefineClass("ITHit.WebDAV.Client.File",ITHit.WebDAV.Client.HierarchyItem,{__static:{GetRequestProperties:function(){return [ITHit.WebDAV.Client.DavConstants.ResourceType,ITHit.WebDAV.Client.DavConstants.DisplayName,ITHit.WebDAV.Client.DavConstants.CreationDate,ITHit.WebDAV.Client.DavConstants.GetLastModified,ITHit.WebDAV.Client.DavConstants.GetContentType,ITHit.WebDAV.Client.DavConstants.GetContentLength,ITHit.WebDAV.Client.DavConstants.SupportedLock,ITHit.WebDAV.Client.DavConstants.LockDiscovery,ITHit.WebDAV.Client.DavConstants.QuotaAvailableBytes,ITHit.WebDAV.Client.DavConstants.QuotaUsedBytes,ITHit.WebDAV.Client.DavConstants.CheckedIn,ITHit.WebDAV.Client.DavConstants.CheckedOut];},ParseHref:function(_6a1,_6a2){eval(String.fromCharCode.call(this,98+20,71+26,36+78,8+24,36+59,54,97,51,24+37,3+92,11+43,61+36,9+40,46,115,112,108,105,67+49,40,10+24,44+19,10+24,41,26+33,5+90,54,59+38,51,50+41,21+27,55+38,61,51+44,43+11,97,51,53+38,37+11,93,46,72+42,59+42,112,41+67,97,99,25+76,40,47,92,47,63,24+12,8+39,44,14+20,34,41,10+49,3+92,54,97,49,33+28,21+52,54+30,72,2+103,98+18,46,80+7,47+54,98,14+54,42+23,86,46,67,108,66+39,101,18+92,28+88,1+45,69,110,87+12,111,34+66,101,114,46,69,110,68+31,79+32,88+12,55+46,85,82,13+60,12+28,95,45+9,97,8+43,22+24,106,111,105,110,40,34,9+54,25+9,19+22,41,59));return this._super(_6a1);},OpenItem:function(_6a4,_6a5,_6a6){_6a6=_6a6||[];var _6a7=this._super(_6a4,_6a5,_6a6);if(!(_6a7 instanceof self)){throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.ResponseFileWrongType.Paste(_6a5));}return _6a7;},OpenItemAsync:function(_6a8,_6a9,_6aa,_6ab){_6aa=_6aa||[];this._super(_6a8,_6a9,_6aa,function(_6ac){if(_6ac.IsSuccess&&!(_6ac.Result instanceof self)){_6ac.Error=new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.ResponseFileWrongType.Paste(_6a9));_6ac.IsSuccess=false;}_6ab(_6ac);});return _6a8;},GEdit:function(_6ad,_6ae,_6af){var _6b0=ITHit.WebDAV.Client.Methods.GEdit.Go(_6ad,_6ae,_6af);_6ad.MarkFinish();return _6b0.GEditInfo;},GEditAsync:function(_6b1,_6b2,_6b3,_6b4){ITHit.WebDAV.Client.Methods.GEdit.GoAsync(_6b1,_6b2,_6b3,function(_6b5){if(_6b5.IsSuccess){_6b5.Result=_6b5.Result.GEditInfo;}_6b1.MarkFinish();_6b4(_6b5);});return _6b1;},GUnlock:function(_6b6,_6b7,_6b8,_6b9){var _6ba=ITHit.WebDAV.Client.Methods.GUnlock.Go(_6b6,_6b7,_6b8,_6b9);eval(String.fromCharCode.call(this,95,54,32+66,28+26,46,77,8+89,32+82,72+35,70,105,44+66,41+64,86+29,6+98,40,41,59));},GUnlockAsync:function(_6bb,_6bc,_6bd,_6be,_6bf){ITHit.WebDAV.Client.Methods.GUnlock.GoAsync(_6bb,_6bc,_6bd,_6be,function(_6c0){_6bb.MarkFinish();_6bf(_6c0);});return _6bb;}},ContentLength:null,ContentType:null,ResumableUpload:null,constructor:function(_6c1,_6c2,_6c3,_6c4,_6c5,_6c6,_6c7,_6c8,_6c9,_6ca,_6cb,_6cc,_6cd,_6ce,_6cf){this._super(_6c1,_6c2,_6c3,_6c4,_6c5,ITHit.WebDAV.Client.ResourceType.File,_6c8,_6c9,_6ca,_6cb,_6cc,_6cd,_6ce,_6cf);eval(String.fromCharCode.call(this,3+113,104,28+77,91+24,46,67,111,26+84,116,101,110,116,76,101,88+22,103,116,104,61,95,3+51,99,55,59,31+85,104,6+99,67+48,33+13,15+52,15+96,110,89+27,98+3,77+33,116,84,121,112,45+56,61,95,13+41,43+56,54,59));this.ResumableUpload=new ITHit.WebDAV.Client.ResumableUpload(this.Session,this.Href);},ReadContent:function(_6d0,_6d1){_6d0=_6d0||null;_6d1=_6d1||null;var _6d2=this.Session.CreateRequest(this.__className+".ReadContent()");var _6d3=_6d0&&_6d1?_6d0+_6d1-1:0;var _6d4=ITHit.WebDAV.Client.Methods.Get.Go(_6d2,this.Href,_6d0,_6d3,this.Host);_6d2.MarkFinish();return _6d4.GetContent();},ReadContentAsync:function(_6d5,_6d6,_6d7){_6d5=_6d5||null;_6d6=_6d6||null;var _6d8=this.Session.CreateRequest(this.__className+".ReadContentAsync()");var _6d9=_6d5&&_6d6?_6d5+_6d6-1:null;ITHit.WebDAV.Client.Methods.Get.GoAsync(_6d8,this.Href,_6d5,_6d9,this.Host,function(_6da){if(_6da.IsSuccess){_6da.Result=_6da.Result.GetContent();}_6d8.MarkFinish();_6d7(_6da);});return _6d8;},WriteContent:function(_6db,_6dc,_6dd){eval(String.fromCharCode.call(this,95,54,8+92,7+92,52+9,87+8,54,2+98,38+61,124,120+4,54+56,117,83+25,108,59,95,41+13,100,45+55,61,89+6,54,77+23,24+76,23+101,83+41,10+24,9+25,3+56,15+103,97,114,7+25,74+21,37+17,43+57,101,11+50,116,65+39,69+36,51+64,46,79+4,101,1+114,52+63,36+69,63+48,110,23+23,67,114,79+22,55+42,86+30,101,62+20,101,113,37+80,101,115,3+113,40,116,104,105,115,46,95,22+73,10+89,18+90,26+71,115,5+110,41+37,94+3,7+102,101,35+8,20+14,46,87,114,25+80,51+65,9+92,58+9,111,80+30,23+93,90+11,47+63,116,5+35,41,34,20+21,59,118,21+76,114,32,36+59,54,100,102,48+13,62+11,84,72,73+32,116,46,87,73+28,37+61,55+13,65,50+36,46,60+7,78+30,13+92,101,51+59,10+106,34+12,18+59,22+79,69+47,104,111,100,115,46,66+14,50+67,20+96,28+18,25+46,19+92,3+37,29+66,54,22+78,41+60,44,116,76+28,105,85+30,37+9,72,114,101,27+75,44,95,20+34,14+86,38+62,7+37,95,53+1,100,82+16,28+16,54+41,31+23,20+80,99,31+13,116,12+92,105,115,46,50+22,111,58+57,116,39+2,22+37,118,51+46,60+54,3+29,95,54,4+97,47+1,61,116,31+73,105,115,46,95,49+22,101,26+90,69,43+71,56+58,111,85+29,70,114,56+55,50+59,35+52,114,105,6+110,47+54,67,63+48,110,116,45+56,59+51,74+42,82,101,115,40+72,111,106+4,35+80,96+5,31+9,21+74,51+3,100,0+102,46,82,101,88+27,112,45+66,40+70,76+39,67+34,1+43,92+24,63+41,76+29,65+50,15+31,72,114,101,102,41,22+37,105,68+34,40,95,54,88+13,48,22+19,123,95,54,100,101,46,77,97,114,68+39,70,105,37+73,76+29,28+87,104,40,22+19,59,116,20+84,114,70+41,34+85,18+14,95,54,8+93,48,59,125,86+9,15+39,93+7,101,15+31,21+56,97,114,105+2,70,71+34,110,57+48,94+21,104,40,41,23+36));},WriteContentAsync:function(_6e1,_6e2,_6e3,_6e4){_6e2=_6e2||null;_6e3=_6e3||"";var _6e5=this.Session.CreateRequest(this.__className+".WriteContentAsync()");var that=this;ITHit.WebDAV.Client.Methods.Put.GoAsync(_6e5,this.Href,_6e3,_6e1,_6e2,this.Host,function(_6e7){if(_6e7.IsSuccess){_6e7.Error=that._GetErrorFromWriteContentResponse(_6e7.Result.Response,that.Href);if(_6e7.Error!==null){_6e7.IsSuccess=false;_6e7.Result=null;}}_6e5.MarkFinish();_6e4(_6e7);});return _6e5;},EditDocument:function(_6e8){ITHit.WebDAV.Client.DocManager.EditDocument(this.Href,_6e8);},GetVersions:function(){var _6e9=this.Session.CreateRequest(this.__className+".GetVersions()");var _6ea=ITHit.WebDAV.Client.Methods.Report.Go(_6e9,this.Href,this.Host,ITHit.WebDAV.Client.Methods.Report.ReportType.VersionsTree,ITHit.WebDAV.Client.Version.GetRequestProperties());var _6eb=ITHit.WebDAV.Client.Version.GetVersionsFromMultiResponse(_6ea.Response.Responses,this);_6e9.MarkFinish();return _6eb;},GetVersionsAsync:function(_6ec){var _6ed=this.Session.CreateRequest(this.__className+".GetVersionsAsync()");var that=this;ITHit.WebDAV.Client.Methods.Report.GoAsync(_6ed,this.Href,this.Host,ITHit.WebDAV.Client.Methods.Report.ReportType.VersionsTree,ITHit.WebDAV.Client.Version.GetRequestProperties(),function(_6ef){if(_6ef.IsSuccess){_6ef.Result=ITHit.WebDAV.Client.Version.GetVersionsFromMultiResponse(_6ef.Result.Response.Responses,that);}_6ed.MarkFinish();_6ec(_6ef);});return _6ed;},UpdateToVersion:function(_6f0){var _6f1=_6f0 instanceof ITHit.WebDAV.Client.Version?_6f0.Href:_6f0;var _6f2=this.Session.CreateRequest(this.__className+".UpdateToVersion()");var _6f3=ITHit.WebDAV.Client.Methods.UpdateToVersion.Go(_6f2,this.Href,this.Host,_6f1);var _6f4=_6f3.Response;var _6f5=_6f4.Responses[0].Status.IsSuccess();eval(String.fromCharCode.call(this,95,54,102,50,46,11+66,10+87,98+16,64+43,70,67+38,93+17,105,115,104,40,28+13,59));return _6f5;},UpdateToVersionAsync:function(_6f6,_6f7){var _6f8=_6f6 instanceof ITHit.WebDAV.Client.Version?_6f6.Href:_6f6;var _6f9=this.Session.CreateRequest(this.__className+".UpdateToVersionAsync()");ITHit.WebDAV.Client.Methods.UpdateToVersion.GoAsync(_6f9,this.Href,this.Host,_6f8,function(_6fa){_6fa.Result=_6fa.IsSuccess&&_6fa.Result.Response.Responses[0].Status.IsSuccess();_6f9.MarkFinish();_6f7(_6fa);});return _6f9;},PutUnderVersionControl:function(_6fb,_6fc){_6fc=_6fc||null;var _6fd=null;var _6fe=null;if(_6fb){_6fd=this.Session.CreateRequest(this.__className+".PutUnderVersionControl()");eval(String.fromCharCode.call(this,74+21,54,67+35,95+6,3+58,41+32,84,37+35,57+48,6+110,46,87,25+76,98,36+32,38+27,28+58,45+1,42+25,108,95+10,2+99,92+18,43+73,35+11,77,101,57+59,37+67,30+81,100,115,28+18,65+21,41+60,114,115,74+31,79+32,110,67,111,40+70,33+83,42+72,111,2+106,1+45,71,51+60,39+1,95,54,102,90+10,9+35,116,30+74,105,115,24+22,45+27,92+22,64+37,102,31+13,95,54,101+1,99,11+33,116,104,105,95+20,16+30,72,111,115,105+11,41,39+20));var _6ff=this._GetErrorFromPutUnderVersionControlResponse(_6fe.Response);if(_6ff){_6fd.MarkFinish();throw _6ff;}_6fd.MarkFinish();}else{_6fd=this.Session.CreateRequest(this.__className+".PutUnderVersionControl()",2);_6fe=ITHit.WebDAV.Client.Methods.Propfind.Go(_6fd,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[ITHit.WebDAV.Client.DavConstants.VersionHistory],ITHit.WebDAV.Client.Depth.Zero,this.Host);var _700=self.GetPropertyValuesFromMultiResponse(_6fe.Response,this.Href);var _701=ITHit.WebDAV.Client.Version.ParseSetOfHrefs(_700);if(_701.length!==1){throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.ExceptionWhileParsingProperties,this.Href,ITHit.WebDAV.Client.DavConstants.VersionHistory,null,ITHit.WebDAV.Client.HttpStatus.None,null);}eval(String.fromCharCode.call(this,39+56,54,102,8+93,57+4,54+19,84,13+59,8+97,35+81,46,58+29,61+40,98,16+52,65,22+64,21+25,67,22+86,105,101,46+64,116,46,24+53,4+97,39+77,97+7,111,100,110+5,33+13,68,77+24,108,101,67+49,101,37+9,71,111,16+24,93+2,3+51,69+33,100,13+31,95,7+48,4+44,49,89+2,48,75+18,44,50+45,54,28+74,90+9,44,116,104,94+11,42+73,46,72,111,115,24+92,41,59));var _6ff=this._GetErrorFromDeleteResponse(_6fe.Response);if(_6ff){_6fd.MarkFinish();throw _6ff;}_6fd.MarkFinish();}},PutUnderVersionControlAsync:function(_702,_703,_704){_703=_703||null;var that=this;var _706=null;if(_702){_706=this.Session.CreateRequest(this.__className+".PutUnderVersionControlAsync()");ITHit.WebDAV.Client.Methods.VersionControl.GoAsync(_706,this.Href,_703,this.Host,function(_707){if(_707.IsSuccess){_707.Error=that._GetErrorFromPutUnderVersionControlResponse(_707.Result.Response);if(_707.Error!==null){_707.IsSuccess=false;_707.Result=null;}}_706.MarkFinish();_704(_707);});return _706;}else{_706=this.Session.CreateRequest(this.__className+".PutUnderVersionControlAsync()",2);ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_706,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[ITHit.WebDAV.Client.DavConstants.VersionHistory],ITHit.WebDAV.Client.Depth.Zero,this.Host,function(_708){if(_708.IsSuccess){try{_708.Result=self.GetPropertyValuesFromMultiResponse(_708.Result.Response,that.Href);}catch(oError){_708.Error=oError;_708.IsSuccess=false;}}if(_708.IsSuccess){var _709=ITHit.WebDAV.Client.Version.ParseSetOfHrefs(_708.Result);if(_709.length!==1){throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.ExceptionWhileParsingProperties,that.Href,ITHit.WebDAV.Client.DavConstants.VersionHistory,null,ITHit.WebDAV.Client.HttpStatus.None,null);}ITHit.WebDAV.Client.Methods.Delete.GoAsync(_706,_709[0],_703,that.Host,function(_70a){if(_70a.IsSuccess){_70a.Error=that._GetErrorFromDeleteResponse(_70a.Result.Response);if(_70a.Error!==null){_70a.IsSuccess=false;_70a.Result=null;}}_706.MarkFinish();_704(_70a);});}else{if(_708.Error instanceof ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException){_708.IsSuccess=true;_708.Error=null;_708.Result=null;_706.MarkFinish();_704(_708);}else{_706.MarkFinish();_704(_708);}}});}},_GetErrorFromPutUnderVersionControlResponse:function(_70b){if(!_70b.Status.IsSuccess()){return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.PutUnderVersionControlFailed,this.Href,null,_70b.Status,null);}return null;},_GetErrorFromWriteContentResponse:function(_70c,_70d){if(!_70c.Status.Equals(ITHit.WebDAV.Client.HttpStatus.OK)&&!_70c.Status.Equals(ITHit.WebDAV.Client.HttpStatus.NoContent)){return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.Exceptions.FailedToWriteContentToFile,_70d,null,_70c.Status,null);}return null;}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.CancellableResult",ITHit.WebDAV.Client.AsyncResult,{IsAborted:false,constructor:function(_70e,_70f,_710,_711){_711=_711||false;this._super(_70e,_70f,_710);this.IsAborted=_711;}},{CreateAbortedResult:function(_712){return new ITHit.WebDAV.Client.CancellableResult(null,false,_712,true);},CreateSuccessfulResult:function(_713){return new ITHit.WebDAV.Client.CancellableResult(_713,true,null);},CreateFailedResult:function(_714){return new ITHit.WebDAV.Client.CancellableResult(null,false,_714);},CreateFromAsyncResultResult:function(_715){return new ITHit.WebDAV.Client.CancellableResult(_715.Result,_715.IsSuccess,_715.Error);}});})();ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Mkcol",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_716,_717,_718,_719){var _71a=this.createRequest(_716,_717,_718,_719);var _71b=_71a.GetResponse();var _71c=new ITHit.WebDAV.Client.Methods.SingleResponse(_71b);return new ITHit.WebDAV.Client.Methods.Mkcol(_71c);},GoAsync:function(_71d,_71e,_71f,_720,_721){var _722=this.createRequest(_71d,_71e,_71f,_720);_722.GetResponse(function(_723){if(!_723.IsSuccess){_721(_723);return;}var _724=new ITHit.WebDAV.Client.Methods.SingleResponse(_723.Result);var _725=new ITHit.WebDAV.Client.Methods.Mkcol(_724);_721(ITHit.WebDAV.Client.CancellableResult.CreateSuccessfulResult(_725));});return _722;},createRequest:function(_726,_727,_728,_729){var _72a=_726.CreateWebDavRequest(_729,_727,_728);eval(String.fromCharCode.call(this,82+13,55,50,97,46,77,101,8+108,104,111,59+41,4+36,34,25+52,75,67,68+11,4+72,34,17+24,3+56));return _72a;}}});(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Head",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_72c,_72d,_72e){try{return this._super.apply(this,arguments);}catch(oException){if(oException instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){var _72f=new self(null,_72d);_72f.IsOK=false;return _72f;}throw oException;}},GoAsync:function(_730,_731,_732,_733){return this._super(_730,_731,_732,function(_734){if(_734.Error instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){_734.Result=new self(null,_731);_734.Result.IsOK=false;_734.IsSuccess=true;_734.Error=null;}_733(_734);});},_ProcessResponse:function(_735,_736){var _737=this._super(_735,_736);_737.IsOK=_735.Status.Equals(ITHit.WebDAV.Client.HttpStatus.OK);return _737;},_CreateRequest:function(_738,_739,_73a){var _73b=_738.CreateWebDavRequest(_73a,_739);_73b.Method("HEAD");return _73b;}},IsOK:null});})();ITHit.DefineClass("ITHit.WebDAV.Client.SearchQuery",null,{Phrase:null,SelectProperties:null,EnableLike:null,LikeProperties:null,EnableContains:null,constructor:function(_73c){this.Phrase=_73c;this.SelectProperties=[];this.EnableLike=true;this.LikeProperties=[ITHit.WebDAV.Client.DavConstants.DisplayName];this.EnableContains=true;}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Search",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_73d,_73e,_73f,_740){var _741=this._createRequest(_73d,_73e,_73f,_740);var _742=_741.GetResponse();return this._ProcessResponse(_742);},GoAsync:function(_743,_744,_745,_746,_747,_748,_749){var _74a=this._createRequest(_743,_744,_745,_746,_748,_749);var that=this;_74a.GetResponse(function(_74c){if(!_74c.IsSuccess){_747(new ITHit.WebDAV.Client.AsyncResult(null,false,_74c.Error));return;}var _74d=that._ProcessResponse(_74c.Result,_744);_747(new ITHit.WebDAV.Client.AsyncResult(_74d,true,null));});return _74a;},_ProcessResponse:function(_74e,sUri){var _750=_74e.GetResponseStream();var _751=new ITHit.WebDAV.Client.Methods.MultiResponse(_750,sUri);return new ITHit.WebDAV.Client.Methods.Search(_751);},_createRequest:function(_752,_753,_754,_755,_756,_757){var _758=_752.CreateWebDavRequest(_754,_753);_758.Method("SEARCH");var _759=new ITHit.XMLDoc();var _75a=ITHit.WebDAV.Client.DavConstants;var _75b=_75a.NamespaceUri;var _75c=_759.createElementNS(_75b,"prop");if(_755.SelectProperties&&_755.SelectProperties.length>0){for(var i=0;i<_755.SelectProperties.length;i++){_75c.appendChild(_759.createElementNS(_755.SelectProperties[i].NamespaceUri,_755.SelectProperties[i].Name));}}else{_75c.appendChild(_75b,"allprop");}var _75e=_759.createElementNS(_75b,"select");eval(String.fromCharCode.call(this,95,52+3,53,101,44+2,34+63,112,63+49,101,110,100,9+58,15+89,105,108,69+31,40,34+61,50+5,13+40,43+56,14+27,59));var _75f=null;if(_755.EnableLike){var _760=_759.createElementNS(_75b,"prop");if(_755.LikeProperties&&_755.LikeProperties.length>0){for(var i=0;i<_755.LikeProperties.length;i++){_760.appendChild(_759.createElementNS(_755.LikeProperties[i].NamespaceUri,_755.LikeProperties[i].Name));}}var _761=_759.createElementNS(_75b,"literal");_761.appendChild(_759.createTextNode(_755.Phrase));_75f=_759.createElementNS(_75b,"like");_75f.appendChild(_760);_75f.appendChild(_761);}var _762=null;if(_755.EnableContains){_762=_759.createElementNS(_75b,"contains");_762.appendChild(_759.createTextNode(_755.Phrase));}var _763=_759.createElementNS(_75b,"where");if(_75f&&_762){var eOr=_759.createElementNS(_75b,"or");eOr.appendChild(_75f);eOr.appendChild(_762);_763.appendChild(eOr);}else{if(_75f){_763.appendChild(_75f);}else{if(_762){_763.appendChild(_762);}}}var _765=_759.createElementNS(_75b,"basicsearch");_765.appendChild(_75e);_765.appendChild(_763);var _766=_759.createElementNS(_75b,"searchrequest");_766.appendChild(_765);if(_756!==undefined&&_756!=null&&_757!==undefined&&_757!=null){var _767=_759.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"limit");var _768=_759.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"offset");var _769=_759.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"nresults");_768.appendChild(_759.createTextNode(_756));_769.appendChild(_759.createTextNode(_757));_767.appendChild(_769);_767.appendChild(_768);_766.appendChild(_767);}_759.appendChild(_766);_758.Body(_759);return _758;}}});ITHit.DefineClass("ITHit.WebDAV.Client.PageResults",null,{TotalItems:null,Page:null,constructor:function(_76a,_76b){this.Page=_76a;this.TotalItems=_76b;}});(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.Folder",ITHit.WebDAV.Client.HierarchyItem,{__static:{GetRequestProperties:function(){return [ITHit.WebDAV.Client.DavConstants.ResourceType,ITHit.WebDAV.Client.DavConstants.DisplayName,ITHit.WebDAV.Client.DavConstants.CreationDate,ITHit.WebDAV.Client.DavConstants.GetLastModified,ITHit.WebDAV.Client.DavConstants.SupportedLock,ITHit.WebDAV.Client.DavConstants.LockDiscovery,ITHit.WebDAV.Client.DavConstants.QuotaAvailableBytes,ITHit.WebDAV.Client.DavConstants.QuotaUsedBytes,ITHit.WebDAV.Client.DavConstants.CheckedIn,ITHit.WebDAV.Client.DavConstants.CheckedOut];},ParseHref:function(_76d){eval(String.fromCharCode.call(this,118,97,114,32,95,55,40+14,57+44,61,95,55,54,77+23,30+16,115,112,14+94,105,70+46,40,2+32,63,34,41,59,95,16+39,54,101,2+89,48,93,32+29,71+24,55,26+28,101,91,6+42,84+9,1+45,114,84+17,112,108,94+3,99,92+9,28+12,47,84+8,47,63,36,26+21,44,31+3,47,32+2,28+13,30+29,95,55,22+32,74+26,61,22+51,54+30,72,105,93+23,46,19+68,101,98,39+29,65,61+25,2+44,64+3,108,50+55,101,87+23,107+9,46,65+4,0+110,99,111,70+30,10+91,114,46,69,64+46,54+45,111,100,27+74,85,82,73,16+24,95,47+8,54,99+2,4+42,10+96,111,88+17,110,21+19,34,63,34,31+10,17+24,52+7));return this._super(_76d);},OpenItem:function(_76f,_770,_771){_771=_771||[];var _772=this._super(_76f,_770,_771);if(!(_772 instanceof self)){throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.ResponseFolderWrongType.Paste(_770));}return _772;},OpenItemAsync:function(_773,_774,_775,_776){_775=_775||[];return this._super(_773,_774,_775,function(_777){if(_777.IsSuccess&&!(_777.Result instanceof self)){_777.Error=new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.ResponseFolderWrongType.Paste(_774));_777.IsSuccess=false;}_776(_777);});}},constructor:function(_778,_779,_77a,_77b,_77c,_77d,_77e,_77f,_780,_781,_782,_783,_784){_779=_779.replace(/\/?$/,"/");this._super(_778,_779,_77a,_77b,_77c,ITHit.WebDAV.Client.ResourceType.Folder,_77d,_77e,_77f,_780,_781,_782,_783,_784);this._Url=this._Url.replace(/\/?$/,"/");this._AbsoluteUrl=this._AbsoluteUrl.replace(/\/?$/,"/");},IsFolder:function(){return true;},CreateFolder:function(_785,_786,_787){_787=_787||[];var _788=this.Session.CreateRequest(this.__className+".CreateFolder()",2);_786=_786||null;var _789=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_785);var _78a=ITHit.WebDAV.Client.Methods.Mkcol.Go(_788,_789,_786,this.Host).Response;if(!_78a.Status.Equals(ITHit.WebDAV.Client.HttpStatus.Created)){_788.MarkFinish();throw new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.Exceptions.FailedCreateFolder,_789,null,_78a.Status,null);}var _78b=ITHit.WebDAV.Client.Folder.OpenItem(_788,ITHit.WebDAV.Client.Encoder.DecodeURI(_789),_787);eval(String.fromCharCode.call(this,29+66,55,56,56,21+25,77,97,114,107,70,105,110,105,2+113,1+103,19+21,4+37,14+45));return _78b;},CreateFolderAsync:function(_78c,_78d,_78e,_78f){_78e=_78e||[];var _790=this.Session.CreateRequest(this.__className+".CreateFolderAsync()",2);var _791=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_78c);ITHit.WebDAV.Client.Methods.Mkcol.GoAsync(_790,_791,_78d,this.Host,function(_792){if(_792.IsSuccess&&!_792.Result.Response.Status.Equals(ITHit.WebDAV.Client.HttpStatus.Created)){_792.IsSuccess=false;_792.Error=new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.Exceptions.FailedCreateFolder,_791,null,_792.Result.Response.Status);}if(_792.IsSuccess){self.OpenItemAsync(_790,_791,_78e,function(_793){_790.MarkFinish();_78f(_793);});}else{_792.Result=null;_790.MarkFinish();_78f(_792);}});return _790;},CreateFile:function(_794,_795,_796,_797){_795=_795||null;_796=_796||"";_797=_797||[];var _798=this.Session.CreateRequest(this.__className+".CreateFile()",2);var _799=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_794);var _79a=ITHit.WebDAV.Client.Methods.Put.Go(_798,_799,"",_796,_795,this.Host);var _79b=this._GetErrorFromCreateFileResponse(_79a.Response,_799);if(_79b){_798.MarkFinish();throw _79b;}var _79c=ITHit.WebDAV.Client.File.OpenItem(_798,_799,_797);eval(String.fromCharCode.call(this,95,42+13,6+51,56,14+32,72+5,54+43,72+42,107,70,9+96,110,105,115,6+98,40,41,15+44));return _79c;},CreateFileAsync:function(_79d,_79e,_79f,_7a0,_7a1){_79e=_79e||null;_79f=_79f||"";_7a0=_7a0||[];var _7a2=this.Session.CreateRequest(this.__className+".CreateFileAsync()",2);var _7a3=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_79d);var that=this;ITHit.WebDAV.Client.Methods.Put.GoAsync(_7a2,_7a3,"",_79f,_79e,this.Host,function(_7a5){if(_7a5.IsSuccess){_7a5.Error=that._GetErrorFromCreateFileResponse(_7a5.Result.Response);if(_7a5.Error!==null){_7a5.IsSuccess=false;_7a5.Result=null;}}if(_7a5.IsSuccess){ITHit.WebDAV.Client.File.OpenItemAsync(_7a2,_7a3,_7a0,function(_7a6){_7a2.MarkFinish();_7a1(_7a6);});}else{_7a2.MarkFinish();_7a1(_7a5);}});return _7a2;},CreateResource:function(_7a7,_7a8,_7a9,_7aa){return this.CreateFile(_7a7,_7a8,_7a9,_7aa);},CreateResourceAsync:function(_7ab,_7ac,_7ad,_7ae,_7af){return this.CreateFileAsync(_7ab,_7ac,_7ad,_7ae,_7af);},CreateLockNull:function(_7b0,_7b1,_7b2,_7b3,_7b4){var _7b5=this.Session.CreateRequest(this.__className+".CreateLockNull()");var _7b6=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7b0);var _7b7=ITHit.WebDAV.Client.Methods.Lock.Go(_7b5,_7b6,_7b4,_7b1,this.Host,_7b2,_7b3);_7b5.MarkFinish();return _7b7.LockInfo;},GetChildren:function(_7b8,_7b9){_7b8=_7b8||false;_7b9=_7b9||[];var _7ba=this.Session.CreateRequest(this.__className+".GetChildren()");var _7bb=ITHit.WebDAV.Client.HierarchyItem.GetCustomRequestProperties(_7b9);var _7bc=_7bb.concat(ITHit.WebDAV.Client.HierarchyItem.GetRequestProperties());var _7bd=ITHit.WebDAV.Client.Methods.Propfind.Go(_7ba,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,_7bc,_7b8?ITHit.WebDAV.Client.Depth.Infinity:ITHit.WebDAV.Client.Depth.One,this.Host);var _7be=ITHit.WebDAV.Client.HierarchyItem.GetItemsFromMultiResponse(_7bd.Response,_7ba,this.Href,_7bb);_7ba.MarkFinish();return _7be;},GetPageAsync:function(_7bf,_7c0,_7c1,_7c2,_7c3){_7c2=_7c2||[];if(typeof _7bf==="function"){_7c3=_7bf;_7bf=[];}else{_7bf=_7bf||[];_7c3=_7c3||function(){};}var _7c4=this.Session.CreateRequest(this.__className+".GetPageAsync()");var _7c5=ITHit.WebDAV.Client.HierarchyItem.GetCustomRequestProperties(_7bf);var _7c6=_7c5.concat(ITHit.WebDAV.Client.HierarchyItem.GetRequestProperties());var that=this;ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_7c4,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,_7c6,ITHit.WebDAV.Client.Depth.One,this.Host,function(_7c8){if(_7c8.IsSuccess){_7c8.Result=new ITHit.WebDAV.Client.PageResults(ITHit.WebDAV.Client.HierarchyItem.GetItemsFromMultiResponse(_7c8.Result.Response,_7c4,that.Href,_7c5),_7c8.Result.Response.TotalItems);}_7c4.MarkFinish();_7c3(_7c8);},_7c0,_7c1,_7c2);return _7c4;},GetChildrenAsync:function(_7c9,_7ca,_7cb){_7c9=_7c9||false;if(typeof _7ca==="function"){_7cb=_7ca;_7ca=[];}else{_7ca=_7ca||[];_7cb=_7cb||function(){};}var _7cc=this.Session.CreateRequest(this.__className+".GetChildrenAsync()");var _7cd=ITHit.WebDAV.Client.HierarchyItem.GetCustomRequestProperties(_7ca);var _7ce=_7cd.concat(ITHit.WebDAV.Client.HierarchyItem.GetRequestProperties());var that=this;ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_7cc,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,_7ce,_7c9?ITHit.WebDAV.Client.Depth.Infinity:ITHit.WebDAV.Client.Depth.One,this.Host,function(_7d0){if(_7d0.IsSuccess){_7d0.Result=ITHit.WebDAV.Client.HierarchyItem.GetItemsFromMultiResponse(_7d0.Result.Response,_7cc,that.Href,_7cd);}_7cc.MarkFinish();_7cb(_7d0);},null,null,null);return _7cc;},GetFolder:function(_7d1){var _7d2=this.Session.CreateRequest(this.__className+".GetFolder()");var _7d3=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7d1);var _7d4=self.OpenItem(_7d2,_7d3);_7d2.MarkFinish();return _7d4;},GetFolderAsync:function(_7d5,_7d6){var _7d7=this.Session.CreateRequest(this.__className+".GetFolderAsync()");var _7d8=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7d5);self.OpenItemAsync(_7d7,_7d8,null,function(_7d9){_7d7.MarkFinish();_7d6(_7d9);});return _7d7;},GetFile:function(_7da){var _7db=this.Session.CreateRequest(this.__className+".GetFile()");var _7dc=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7da);var _7dd=ITHit.WebDAV.Client.File.OpenItem(_7db,_7dc);_7db.MarkFinish();return _7dd;},GetFileAsync:function(_7de,_7df){var _7e0=this.Session.CreateRequest(this.__className+".GetFileAsync()");var _7e1=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7de);ITHit.WebDAV.Client.File.OpenItemAsync(_7e0,_7e1,null,function(_7e2){_7e0.MarkFinish();_7df(_7e2);});return _7e0;},GetResource:function(_7e3){return this.GetFile(_7e3);},GetResourceAsync:function(_7e4,_7e5){return this.GetFileAsync(_7e4,_7e5);},GetItem:function(_7e6){var _7e7=this.Session.CreateRequest(this.__className+".GetItem()");var _7e8=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7e6);var _7e9=ITHit.WebDAV.Client.HierarchyItem.OpenItem(_7e7,_7e8);_7e7.MarkFinish();return _7e9;},GetItemAsync:function(_7ea,_7eb){var _7ec=this.Session.CreateRequest(this.__className+".GetItemAsync()");var _7ed=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7ea);ITHit.WebDAV.Client.HierarchyItem.OpenItemAsync(_7ec,_7ed,null,function(_7ee){_7ec.MarkFinish();_7eb(_7ee);});return _7ec;},ItemExists:function(_7ef){var _7f0=this.Session.CreateRequest(this.__className+".ItemExists()",2);try{var _7f1=ITHit.WebDAV.Client.Methods.Head.Go(_7f0,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7ef),this.Host);}catch(oError){if(oError instanceof ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException){try{ITHit.WebDAV.Client.Methods.Propfind.Go(_7f0,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7ef),ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[ITHit.WebDAV.Client.DavConstants.DisplayName],ITHit.WebDAV.Client.Depth.Zero,this.Host);}catch(oSubError){if(oSubError instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){_7f0.MarkFinish();return false;}throw oSubError;}_7f0.MarkFinish();return true;}throw oError;}_7f0.MarkFinish();return _7f1.IsOK;},ItemExistsAsync:function(_7f2,_7f3){var _7f4=this.Session.CreateRequest(this.__className+".ItemExistsAsync()",2);var that=this;ITHit.WebDAV.Client.Methods.Head.GoAsync(_7f4,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7f2),this.Host,function(_7f6){if(_7f6.Error instanceof ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException){ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_7f4,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(that.Href,_7f2),ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[ITHit.WebDAV.Client.DavConstants.DisplayName],ITHit.WebDAV.Client.Depth.Zero,that.Host,function(_7f7){_7f7.Result=_7f7.IsSuccess;if(_7f7.Error instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){_7f7.IsSuccess=true;_7f7.Result=false;}_7f4.MarkFinish();_7f3(_7f7);});return;}_7f6.Result=_7f6.Result.IsOK;_7f4.MarkFinish();_7f3(_7f6);});return _7f4;},SearchByQuery:function(_7f8){var _7f9=this.Session.CreateRequest(this.__className+".SearchByQuery()");var _7fa=ITHit.WebDAV.Client.HierarchyItem.GetCustomRequestProperties(_7f8.SelectProperties);_7f8.SelectProperties=_7fa.concat(ITHit.WebDAV.Client.HierarchyItem.GetRequestProperties());var _7fb=ITHit.WebDAV.Client.Methods.Search.Go(_7f9,this.Href,this.Host,_7f8);var _7fc=ITHit.WebDAV.Client.HierarchyItem.GetItemsFromMultiResponse(_7fb.Response,_7f9,this.Href,_7fa);_7f9.MarkFinish();return _7fc;},SearchByQueryAsync:function(_7fd,_7fe){return this.GetSearchPageByQueryAsync(_7fd,null,null,_7fe);},GetSearchPageByQueryAsync:function(_7ff,_800,_801,_802){var _803=this.Session.CreateRequest(this.__className+".GetSearchPageByQueryAsync()");var _804=ITHit.WebDAV.Client.HierarchyItem.GetCustomRequestProperties(_7ff.SelectProperties);_7ff.SelectProperties=_804.concat(ITHit.WebDAV.Client.HierarchyItem.GetRequestProperties());var that=this;ITHit.WebDAV.Client.Methods.Search.GoAsync(_803,this.Href,this.Host,_7ff,function(_806){if(_806.IsSuccess){if(_800!=null){_806.Result=new ITHit.WebDAV.Client.PageResults(ITHit.WebDAV.Client.HierarchyItem.GetItemsFromMultiResponse(_806.Result.Response,_803,that.Href,_804),_806.Result.Response.TotalItems);}else{_806.Result=ITHit.WebDAV.Client.HierarchyItem.GetItemsFromMultiResponse(_806.Result.Response,_803,that.Href,_804);}}_803.MarkFinish();_802(_806);},_800,_801);return _803;},Search:function(_807,_808){var _809=new ITHit.WebDAV.Client.SearchQuery(_807);_809.SelectProperties=_808||[];return this.SearchByQuery(_809);},SearchAsync:function(_80a,_80b,_80c){var _80d=new ITHit.WebDAV.Client.SearchQuery(_80a);_80d.SelectProperties=_80b||[];return this.SearchByQueryAsync(_80d,_80c);},GetSearchPageAsync:function(_80e,_80f,_810,_811,_812){var _813=new ITHit.WebDAV.Client.SearchQuery(_80e);_813.SelectProperties=_80f||[];return this.GetSearchPageByQueryAsync(_813,_810,_811,_812);},_GetErrorFromCreateFileResponse:function(_814,_815){if(!_814.Status.Equals(ITHit.WebDAV.Client.HttpStatus.Created)&&!_814.Status.Equals(ITHit.WebDAV.Client.HttpStatus.OK)){return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.Exceptions.FailedCreateFile,_815,null,_814.Status,null);}return null;}});})();(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.Methods.UpdateToVersion",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_817,_818,_819,_81a){var _81b=this.createRequest(_817,_818,_819,_81a);var _81c=_81b.GetResponse();return this._ProcessResponse(_81c,_818);},GoAsync:function(_81d,_81e,_81f,_820,_821){var _822=this.createRequest(_81d,_81e,_81f,_820);var that=this;_822.GetResponse(function(_824){if(!_824.IsSuccess){_821(new ITHit.WebDAV.Client.AsyncResult(null,false,_824.Error));return;}var _825=that._ProcessResponse(_824.Result,_81e);_821(new ITHit.WebDAV.Client.AsyncResult(_825,true,null));});return _822;},_ProcessResponse:function(_826,_827){var _828=_826.GetResponseStream();return new self(new ITHit.WebDAV.Client.Methods.MultiResponse(_828,_827));},createRequest:function(_829,_82a,_82b,_82c){var _82d=_829.CreateWebDavRequest(_82b,_82a);_82d.Method("UPDATE");_82d.Headers.Add("Content-Type","text/xml; charset=\"utf-8\"");var _82e=new ITHit.XMLDoc();var _82f=ITHit.WebDAV.Client.DavConstants.NamespaceUri;var _830=_82e.createElementNS(_82f,"update");var _831=_82e.createElementNS(_82f,"version");var _832=_82e.createElementNS(_82f,"href");_832.appendChild(_82e.createTextNode(_82c));_831.appendChild(_832);_830.appendChild(_831);_82e.appendChild(_830);_82d.Body(_82e);return _82d;}}});})();(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.Version",ITHit.WebDAV.Client.File,{__static:{GetRequestProperties:function(){return [ITHit.WebDAV.Client.DavConstants.DisplayName,ITHit.WebDAV.Client.DavConstants.CreationDate,ITHit.WebDAV.Client.DavConstants.GetContentType,ITHit.WebDAV.Client.DavConstants.GetContentLength,ITHit.WebDAV.Client.DavConstants.VersionName,ITHit.WebDAV.Client.DavConstants.CreatorDisplayName,ITHit.WebDAV.Client.DavConstants.Comment];},GetVersionName:function(_834){var _835=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_834,ITHit.WebDAV.Client.DavConstants.VersionName).Value;if(_835.hasChildNodes()){return _835.firstChild().nodeValue();}return null;},GetCreatorDisplayName:function(_836){var _837=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_836,ITHit.WebDAV.Client.DavConstants.CreatorDisplayName).Value;if(_837.hasChildNodes()){return _837.firstChild().nodeValue();}return null;},GetComment:function(_838){var _839=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_838,ITHit.WebDAV.Client.DavConstants.Comment).Value;if(_839.hasChildNodes()){return _839.firstChild().nodeValue();}return null;},GetVersionsFromMultiResponse:function(_83a,_83b){var _83c=[];for(var i=0;i<_83a.length;i++){var _83e=_83a[i];_83c.push(new self(_83b.Session,_83e.Href,_83b,this.GetDisplayName(_83e),this.GetVersionName(_83e),this.GetCreatorDisplayName(_83e),this.GetComment(_83e),this.GetCreationDate(_83e),this.GetContentType(_83e),this.GetContentLength(_83e),_83b.Host,this.GetPropertiesFromResponse(_83e)));}_83c.sort(function(a,b){var _841=parseInt(a.VersionName.replace(/[^0-9]/g,""));var _842=parseInt(b.VersionName.replace(/[^0-9]/g,""));if(_841===_842){return 0;}return _841>_842?1:-1;});return _83c;},ParseSetOfHrefs:function(_843){var _844=[];for(var i=0,l=_843.length;i<l;i++){var xml=_843[i].Value;var _848=xml.getElementsByTagNameNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"href");for(var i2=0,l2=_848.length;i2<l2;i2++){_844.push(_848[i2].firstChild().nodeValue());}}return _844;},VersionCompare:function(v1,v2){if(v1==null){v1="0";}if(v2==null){v2="0";}var _84d=v1.split("."),_84e=v2.split(".");while(_84d.length<_84e.length){_84d.push("0");}while(_84e.length<_84d.length){_84e.push("0");}_84d=_84d.map(Number);_84e=_84e.map(Number);for(var i=0;i<_84d.length;++i){if(_84e.length==i){return 1;}if(_84d[i]==_84e[i]){continue;}else{if(_84d[i]>_84e[i]){return 1;}else{return -1;}}}if(_84d.length!=_84e.length){return -1;}return 0;}},VersionName:null,CreatorDisplayName:null,Comment:null,_File:null,ResumableUpload:null,LastModified:null,ActiveLocks:null,AvailableBytes:null,UsedBytes:null,VersionControlled:null,ResourceType:null,SupportedLocks:null,constructor:function(_850,_851,_852,_853,_854,_855,_856,_857,_858,_859,_85a,_85b){this._File=_852;this.VersionName=_854;this.CreatorDisplayName=_855||"";this.Comment=_856||"";this._super(_850,_851,_857,_854,_857,_858,_859,null,null,_85a,null,null,null,null,_85b);},UpdateToThis:function(){return this._File.UpdateToVersion(this);},UpdateToThisAsync:function(_85c){return this._File.UpdateToVersionAsync(this,_85c);},Delete:function(){var _85d=this.Session.CreateRequest(this.__className+".Delete()");ITHit.WebDAV.Client.Methods.Delete.Go(_85d,this.Href,null,this.Host);_85d.MarkFinish();},DeleteAsync:function(_85e){var _85f=this.Session.CreateRequest(this.__className+".DeleteAsync()");ITHit.WebDAV.Client.Methods.Delete.GoAsync(_85f,this.Href,null,this.Host,function(_860){_85f.MarkFinish();_85e(_860);});return _85f;},ReadContentAsync:function(_861,_862,_863){return this._super.apply(this,arguments);},WriteContentAsync:function(_864,_865,_866,_867){return this._super.apply(this,arguments);},RefreshAsync:function(_868){return this._super.apply(this,arguments);},GetSource:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetSourceAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetSupportedLock:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetSupportedLockAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetParent:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetParentAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},UpdateProperties:function(){throw new ITHit.Exception("The method or operation is not implemented.");},UpdatePropertiesAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},CopyTo:function(){throw new ITHit.Exception("The method or operation is not implemented.");},CopyToAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},MoveTo:function(){throw new ITHit.Exception("The method or operation is not implemented.");},MoveToAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},Lock:function(){throw new ITHit.Exception("The method or operation is not implemented.");},LockAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},RefreshLock:function(){throw new ITHit.Exception("The method or operation is not implemented.");},RefreshLockAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},Unlock:function(){throw new ITHit.Exception("The method or operation is not implemented.");},UnlockAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},SupportedFeatures:function(){throw new ITHit.Exception("The method or operation is not implemented.");},SupportedFeaturesAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetSupportedFeaturesAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetAllProperties:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetAllPropertiesAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetPropertyNames:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetPropertyNamesAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetPropertyValues:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetPropertyValuesAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetVersions:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetVersionsAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},PutUnderVersionControl:function(){throw new ITHit.Exception("The method or operation is not implemented.");},PutUnderVersionControlAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},UpdateToVersion:function(){throw new ITHit.Exception("The method or operation is not implemented.");},UpdateToVersionAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");}});})();ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Undelete",null,{__static:{Go:function(_869,_86a,_86b){var _86c=ITHit.WebDAV.Client.Methods.Undelete.createRequest(_869,_86a,_86b);var _86d=_86c.GetResponse();return new ITHit.WebDAV.Client.Methods.Report(_86d);},createRequest:function(_86e,_86f,_870){var _871=_86e.CreateWebDavRequest(_870,_86f);_871.Method("UNDELETE");return _871;}}});ITHit.DefineClass("ITHit.WebDAV.Client.WebDavResponse",null,{__static:{ignoreXmlByMethodAndStatus:{"DELETE":{200:true},"COPY":{201:true,204:true},"MOVE":{201:true,204:true}}},_Response:null,RequestMethod:null,Status:null,constructor:function(_872,_873){this._Response=_872;eval(String.fromCharCode.call(this,83+33,104,39+66,115,26+20,5+77,101,113,117,6+95,115,49+67,77,21+80,116,104,7+104,100,61,22+73,34+22,55,51,36+23,90+26,104,105,63+52,46,83,76+40,97,116,117+0,115,7+54,73+37,51+50,119,32,73,84,38+34,105,116,8+38,86+1,101,98,24+44,36+29,86,43+3,67,108,105,32+69,55+55,59+57,46,72,1+115,116,14+98,83,113+3,57+40,65+51,80+37,57+58,40,83+12,21+35,55,50,46,34+49,74+42,97,51+65,117,115,44,75+20,56,55,4+46,46,83,116,97,7+109,78+39,6+109,68,101,95+20,41+58,50+64,9+96,39+73,51+65,105,40+71,110,41,59));},Headers:function(){return this._Response.Headers;},GetResponseStream:function(){var oOut=null;if(this._Response.BodyXml&&!(ITHit.WebDAV.Client.WebDavResponse.ignoreXmlByMethodAndStatus[this.RequestMethod]&&ITHit.WebDAV.Client.WebDavResponse.ignoreXmlByMethodAndStatus[this.RequestMethod][this._Response.Status])){oOut=new ITHit.XMLDoc(this._Response.BodyXml);}return oOut;}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.ErrorResponse",null,{ResponseDescription:"",Properties:null,constructor:function(_875,_876){this.Properties=[];var _877=new ITHit.WebDAV.Client.PropertyName("responsedescription",ITHit.WebDAV.Client.DavConstants.NamespaceUri);var _878=new ITHit.XPath.resolver();eval(String.fromCharCode.call(this,95,24+32,55,56,46,49+48,30+70,100,40,20+14,100,24+10,5+39,23+50,50+34,72,82+23,116,25+21,52+35,31+70,98,9+59,65,86,46,5+62,108,105,101,110,95+21,36+10,68,8+89,40+78,67,109+2,45+65,115,24+92,97,110,62+54,115,46,37+41,97,109,101,14+101,112,97,99,101,85,6+108,105,41,59));var oRes=ITHit.XPath.evaluate("/d:error/*",_875,_878);var _87a;while(_87a=oRes.iterateNext()){var _87b=new ITHit.WebDAV.Client.Property(_87a.cloneNode());if(_877.Equals(_87b.Name)){this.ResponseDescription=_87b.StringValue();continue;}this.Properties.push(_87b);}}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.UnauthorizedException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"UnauthorizedException",constructor:function(_87c,_87d,_87e){this._super(_87c,_87d,null,ITHit.WebDAV.Client.HttpStatus.Unauthorized,_87e);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.BadRequestException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"BadRequestException",constructor:function(_87f,_880,_881,_882,_883){this._super(_87f,_880,_881,ITHit.WebDAV.Client.HttpStatus.BadRequest,_883,_882);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.ConflictException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"ConflictException",constructor:function(_884,_885,_886,_887,_888){this._super(_884,_885,_886,ITHit.WebDAV.Client.HttpStatus.Conflict,_888,_887);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.LockedException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"LockedException",constructor:function(_889,_88a,_88b,_88c,_88d){this._super(_889,_88a,_88b,ITHit.WebDAV.Client.HttpStatus.Locked,_88d,_88c);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.ForbiddenException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"ForbiddenException",constructor:function(_88e,_88f,_890,_891,_892){this._super(_88e,_88f,_890,ITHit.WebDAV.Client.HttpStatus.Forbidden,_892,_891);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"MethodNotAllowedException",constructor:function(_893,_894,_895,_896,_897){this._super(_893,_894,_895,ITHit.WebDAV.Client.HttpStatus.MethodNotAllowed,_897,_896);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.NotImplementedException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"NotImplementedException",constructor:function(_898,_899,_89a,_89b,_89c){this._super(_898,_899,_89a,ITHit.WebDAV.Client.HttpStatus.NotImplemented,_89c,_89b);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.NotFoundException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"NotFoundException",constructor:function(_89d,_89e,_89f){this._super(_89d,_89e,null,ITHit.WebDAV.Client.HttpStatus.NotFound,_89f);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.PreconditionFailedException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"PreconditionFailedException",constructor:function(_8a0,_8a1,_8a2,_8a3,_8a4){this._super(_8a0,_8a1,_8a2,ITHit.WebDAV.Client.HttpStatus.PreconditionFailed,_8a4,_8a3);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.DependencyFailedException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"DependencyFailedException",constructor:function(_8a5,_8a6,_8a7,_8a8,_8a9){this._super(_8a5,_8a6,_8a7,ITHit.WebDAV.Client.HttpStatus.DependencyFailed,_8a9,_8a8);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.InsufficientStorageException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"InsufficientStorageException",constructor:function(_8aa,_8ab,_8ac,_8ad,_8ae){this._super(_8aa,_8ab,_8ac,ITHit.WebDAV.Client.HttpStatus.InsufficientStorage,_8ae,_8ad);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.QuotaNotExceededException",ITHit.WebDAV.Client.Exceptions.InsufficientStorageException,{Name:"QuotaNotExceededException",constructor:function(_8af,_8b0,_8b1,_8b2,_8b3){this._super(_8af,_8b0,_8b1,ITHit.WebDAV.Client.HttpStatus.InsufficientStorage,_8b2,_8b3);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.SufficientDiskSpaceException",ITHit.WebDAV.Client.Exceptions.InsufficientStorageException,{Name:"SufficientDiskSpaceException",constructor:function(_8b4,_8b5,_8b6,_8b7,_8b8){this._super(_8b4,_8b5,_8b6,ITHit.WebDAV.Client.HttpStatus.InsufficientStorage,_8b7,_8b8);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.Parsers.InsufficientStorage",null,{constructor:function(_8b9,_8ba,_8bb,_8bc,_8bd){var _8be="InsufficientStorageException";if(1==_8bc.Properties.length){var _8bf=_8bc.Properties[0].Name;if(_8bf.Equals(ITHit.WebDAV.Client.DavConstants.QuotaNotExceeded)){_8be="QuotaNotExceededException";}else{if(_8bf.Equals(ITHit.WebDAV.Client.DavConstants.SufficientDiskSpace)){_8be="SufficientDiskSpaceException";}}}return new ITHit.WebDAV.Client.Exceptions[_8be]((_8bc.Description||_8b9),_8ba,_8bb,_8bd,_8bc);}});ITHit.DefineClass("ITHit.WebDAV.Client.Error",null,{Description:null,Responses:null});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.Info.Error",ITHit.WebDAV.Client.Error,{Description:"",Properties:null,BodyText:"",constructor:function(_8c0){this.Properties=[];this._super();if(_8c0){this.Description=_8c0.ResponseDescription;this.Properties=_8c0.Properties;}}});ITHit.Phrases.LoadJSON(ITHit.Temp.WebDAV_Phrases);(function(){var _8c1=function(_8c2){this.Headers=_8c2;};_8c1.prototype.Add=function(_8c3,_8c4){this.Headers[_8c3]=_8c4;};_8c1.prototype.GetAll=function(){return this.Headers;};var self=ITHit.DefineClass("ITHit.WebDAV.Client.WebDavRequest",null,{__static:{_IdCounter:0,Create:function(sUri,_8c7,_8c8,_8c9,_8ca){if(/^\//.test(sUri)){sUri=_8ca+sUri.substr(1);}var _8cb=new self(sUri,_8c8,_8c9);if("string"==typeof _8c7){if(_8c7){_8cb.Headers.Add("If","(<"+ITHit.WebDAV.Client.DavConstants.OpaqueLockToken+_8c7+">)");}}else{if((_8c7 instanceof Array)&&_8c7.length){var _8cc="";var _8cd=true;for(var i=0;i<_8c7.length;i++){ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNull(_8c7[i],"lockToken");_8cc+=(_8cd?"":" ")+"(<"+ITHit.WebDAV.Client.DavConstants.OpaqueLockToken+_8c7[i].LockToken+">)";_8cd=false;}_8cb.Headers.Add("If",_8cc);}}return _8cb;},ProcessWebException:function(_8cf){var _8d0=null;var _8d1="";if(_8cf.BodyXml&&_8cf.BodyXml.childNodes.length){_8d0=new ITHit.XMLDoc(_8cf.BodyXml);_8d1=String(_8d0);}var _8d2=null,_8d3=null;if(_8d0){var _8d4=new ITHit.WebDAV.Client.Methods.ErrorResponse(_8d0,_8cf.Href);_8d3=new ITHit.WebDAV.Client.Exceptions.Info.Error(_8d4);var _8d5=new ITHit.WebDAV.Client.Methods.MultiResponse(_8d0,_8cf.Href);_8d2=new ITHit.WebDAV.Client.Exceptions.Info.Multistatus(_8d5);}else{_8d3=new ITHit.WebDAV.Client.Exceptions.Info.Error();_8d3.BodyText=_8cf.BodyText;}var _8d6=null,_8d7;switch(_8cf.Status){case ITHit.WebDAV.Client.HttpStatus.Unauthorized.Code:_8d7=new ITHit.WebDAV.Client.Exceptions.UnauthorizedException(ITHit.Phrases.Exceptions.Unauthorized,_8cf.Href,_8d6);break;case ITHit.WebDAV.Client.HttpStatus.Conflict.Code:_8d7=new ITHit.WebDAV.Client.Exceptions.ConflictException(ITHit.Phrases.Exceptions.Conflict,_8cf.Href,_8d2,_8d3,_8d6);break;case ITHit.WebDAV.Client.HttpStatus.Locked.Code:_8d7=new ITHit.WebDAV.Client.Exceptions.LockedException(ITHit.Phrases.Exceptions.Locked,_8cf.Href,_8d2,_8d3,_8d6);break;case ITHit.WebDAV.Client.HttpStatus.BadRequest.Code:_8d7=new ITHit.WebDAV.Client.Exceptions.BadRequestException(ITHit.Phrases.Exceptions.BadRequest,_8cf.Href,_8d2,_8d3,_8d6);break;case ITHit.WebDAV.Client.HttpStatus.Forbidden.Code:_8d7=new ITHit.WebDAV.Client.Exceptions.ForbiddenException(ITHit.Phrases.Exceptions.Forbidden,_8cf.Href,_8d2,_8d3,_8d6);break;case ITHit.WebDAV.Client.HttpStatus.MethodNotAllowed.Code:_8d7=new ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException(ITHit.Phrases.Exceptions.MethodNotAllowed,_8cf.Href,_8d2,_8d3,_8d6);break;case ITHit.WebDAV.Client.HttpStatus.NotImplemented.Code:_8d7=new ITHit.WebDAV.Client.Exceptions.NotImplementedException(ITHit.Phrases.Exceptions.MethodNotAllowed,_8cf.Href,_8d2,_8d3,_8d6);break;case ITHit.WebDAV.Client.HttpStatus.NotFound.Code:_8d7=new ITHit.WebDAV.Client.Exceptions.NotFoundException(ITHit.Phrases.Exceptions.NotFound,_8cf.Href,_8d6);break;case ITHit.WebDAV.Client.HttpStatus.PreconditionFailed.Code:_8d7=new ITHit.WebDAV.Client.Exceptions.PreconditionFailedException(ITHit.Phrases.Exceptions.PreconditionFailed,_8cf.Href,_8d2,_8d3,_8d6);break;case ITHit.WebDAV.Client.HttpStatus.DependencyFailed.Code:_8d7=new ITHit.WebDAV.Client.Exceptions.DependencyFailedException(ITHit.Phrases.Exceptions.DependencyFailed,_8cf.Href,_8d2,_8d3,_8d6);break;case ITHit.WebDAV.Client.HttpStatus.InsufficientStorage.Code:_8d7=ITHit.WebDAV.Client.Exceptions.Parsers.InsufficientStorage(ITHit.Phrases.Exceptions.InsufficientStorage,_8cf.Href,_8d2,_8d3,_8d6);break;default:if(_8d1){_8d1="\n"+ITHit.Phrases.ServerReturned+"\n----\n"+_8d1+"\n----\n";}_8d7=new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.Exceptions.Http+_8d1,_8cf.Href,_8d2,new ITHit.WebDAV.Client.HttpStatus(_8cf.Status,_8cf.StatusDescription),_8d6,_8d3);break;}return _8d7;}},_Href:null,_Method:"GET",_Headers:null,_Body:"",_User:null,_Password:null,Id:null,Headers:null,PreventCaching:null,ProgressInfo:null,UploadProgressInfo:null,OnProgress:null,OnUploadProgress:null,_XMLRequest:null,constructor:function(sUri,_8d9,_8da){this._Href=sUri;this._Headers={};this._User=_8d9||null;this._Password=_8da||null;this.Id=self._IdCounter++;this.Headers=new _8c1(this._Headers);},Method:function(_8db){if(undefined!==_8db){this._Method=_8db;}return this._Method;},Body:function(_8dc){if(undefined!==_8dc){this._Body=String(_8dc);}return String(this._Body);},BodyBinary:function(_8dd){if(undefined!==_8dd){this._Body=_8dd;}return this._Body;},Abort:function(){if(this._XMLRequest!==null){this._XMLRequest.Abort();}},AbortAsync:function(){if(this._XMLRequest!==null){var that=this;this._XMLRequest.OnError=function(_8df){var _8e0=new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(_8df.message,sHref,null,null,_8df);var _8e1=new ITHit.WebDAV.Client.AsyncResult(null,false,_8e0);ITHit.Events.DispatchEvent(that,"OnFinish",[_8e1,that.Id]);fCallback.call(this,_8e1);};this._XMLRequest.Abort();}},GetResponse:function(_8e2){var _8e3=typeof _8e2==="function";var _8e4=this._Href;if((ITHit.Config.PreventCaching&&this.PreventCaching===null)||this.PreventCaching===true){var _8e5=_8e4.indexOf("?")!==-1?"&":"?";var _8e6=_8e5+"nocache="+new Date().getTime();if(_8e4.indexOf("#")!==-1){_8e4.replace(/#/g,_8e6+"#");}else{_8e4+=_8e6;}}_8e4=_8e4.replace(/#/g,"%23");var _8e7=new ITHit.HttpRequest(_8e4,this._Method,this._Headers,this._Body);var _8e8=ITHit.Events.DispatchEvent(this,"OnBeforeRequestSend",_8e7);if(!_8e8||!(_8e8 instanceof ITHit.HttpResponse)){_8e7.User=(null===_8e7.User)?this._User:_8e7.User;_8e7.Password=(null===_8e7.Password)?this._Password:_8e7.Password;_8e7.Body=_8e7.Body||"";eval(String.fromCharCode.call(this,82+34,84+20,12+93,28+87,44+2,95,1+87,77,76,26+56,101,113,69+48,101,90+25,116,22+39,42+68,101,90+29,12+20,29+44,84,23+49,60+45,116,15+31,88,57+20,14+62,82,56+45,113,73+44,101,115,116,40,95,54+2,101,55,44,59+36,38+18,90+11,51,35+6,22+37));}if(_8e3){if(this._XMLRequest!==null){var that=this;this._XMLRequest.OnData=function(_8ea){var _8eb=null;var _8ec=true;var _8ed=null;try{_8eb=that._onGetResponse(_8e7,_8ea);_8ec=true;}catch(e){_8ed=e;_8ec=false;}var _8ee=new ITHit.WebDAV.Client.CancellableResult(_8eb,_8ec,_8ed,this.IsAborted);ITHit.Events.DispatchEvent(that,"OnFinish",[_8ee,that.Id]);_8e2.call(this,_8ee);};this._XMLRequest.OnError=function(_8ef){var _8f0=new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(_8ef.message,_8e4,null,null,_8ef);var _8f1=new ITHit.WebDAV.Client.AsyncResult(null,false,_8f0,this.IsAborted);ITHit.Events.DispatchEvent(that,"OnFinish",[_8f1,that.Id]);_8e2.call(this,_8f1);};this._XMLRequest.OnProgress=function(_8f2){if(!_8f2){return;}that.ProgressInfo=_8f2;ITHit.Events.DispatchEvent(that,"OnProgress",[_8f2,that.Id]);if(typeof that.OnProgress==="function"){that.OnProgress(_8f2);}};this._XMLRequest.OnUploadProgress=function(_8f3){if(!_8f3){return;}that.UploadProgressInfo=_8f3;ITHit.Events.DispatchEvent(that,"OnUploadProgress",[_8f3,that.Id]);if(typeof that.OnUploadProgress==="function"){that.OnUploadProgress(_8f3);}};this._XMLRequest.Send();}else{var _8f4=this._onGetResponse(_8e7,_8e8);_8e2.call(this,_8f4);}}else{if(this._XMLRequest!==null){this._XMLRequest.Send();_8e8=this._XMLRequest.GetResponse();}return this._onGetResponse(_8e7,_8e8);}},_onGetResponse:function(_8f5,_8f6){_8f6.RequestMethod=this._Method;ITHit.Events.DispatchEvent(this,"OnResponse",[_8f6,this.Id]);var _8f7=new ITHit.WebDAV.Client.HttpStatus(_8f6.Status,_8f6.StatusDescription);if(_8f6.Status==ITHit.WebDAV.Client.HttpStatus.Redirect.Code){window.location.replace(_8f6.Headers["Location"]);}if(!_8f7.IsSuccess()){throw self.ProcessWebException(_8f6);}return new ITHit.WebDAV.Client.WebDavResponse(_8f6,_8f5.Method);}});})();(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.RequestProgress",null,{Percent:0,CountComplete:0,CountTotal:0,BytesLoaded:0,BytesTotal:0,LengthComputable:true,_RequestsComplete:null,_RequestsXhr:null,constructor:function(_8f9){this.CountTotal=_8f9;this._RequestsComplete={};this._RequestsXhr={};},SetComplete:function(_8fa){if(this._RequestsComplete[_8fa]){return;}this._RequestsComplete[_8fa]=true;this.CountComplete++;if(this._RequestsXhr[_8fa]){this.SetXhrEvent(_8fa,this._RequestsXhr[_8fa]);}else{this._UpdatePercent();}},SetXhrEvent:function(_8fb,_8fc){this._RequestsXhr[_8fb]=_8fc;if(this.LengthComputable===false){return;}this._ResetBytes();for(var iId in this._RequestsXhr){if(!this._RequestsXhr.hasOwnProperty(iId)){continue;}var _8fe=this._RequestsXhr[iId];if(_8fe.lengthComputable===false||!_8fe.total){this.LengthComputable=false;this._ResetBytes();break;}this.BytesLoaded+=_8fe.loaded;this.BytesTotal+=_8fe.total;}this._UpdatePercent();},_ResetBytes:function(){this.BytesLoaded=0;this.BytesTotal=0;},_UpdatePercent:function(){if(this.LengthComputable){this.Percent=0;for(var iId in this._RequestsXhr){if(!this._RequestsXhr.hasOwnProperty(iId)){continue;}var _900=this._RequestsXhr[iId];this.Percent+=(_900.loaded*100/_900.total)/this.CountTotal;}}else{this.Percent=this.CountComplete*100/this.CountTotal;}this.Percent=Math.round(this.Percent*100)/100;}});})();(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.Request",null,{__static:{EVENT_ON_PROGRESS:"OnProgress",EVENT_ON_UPLOAD_PROGRESS:"OnUploadProgress",EVENT_ON_ERROR:"OnError",EVENT_ON_FINISH:"OnFinish",EVENT_ON_ABORT:"OnAbort",IdCounter:0},Id:null,Session:null,Name:null,Progress:null,UploadProgress:null,_RequestsCount:null,_WebDavRequests:null,_IsFinish:false,constructor:function(_902,_903,_904){_903=_903||this.__instanceName;_904=_904||1;this.Session=_902;this.Name=_903;this.Id=self.IdCounter++;this._WebDavRequests=[];this._WebDavResponses={};this._RequestsCount=_904;this.Progress=new ITHit.WebDAV.Client.RequestProgress(_904);this.UploadProgress=new ITHit.WebDAV.Client.RequestProgress(_904);},AddListener:function(_905,_906,_907){_907=_907||null;switch(_905){case self.EVENT_ON_PROGRESS:case self.EVENT_ON_UPLOAD_PROGRESS:case self.EVENT_ON_ERROR:case self.EVENT_ON_FINISH:ITHit.Events.AddListener(this,_905,_906,_907);break;default:throw new ITHit.WebDAV.Client.Exceptions.WebDavException("Not found event name `"+_905+"`");}},RemoveListener:function(_908,_909,_90a){_90a=_90a||null;switch(_908){case self.EVENT_ON_PROGRESS:case self.EVENT_ON_UPLOAD_PROGRESS:case self.EVENT_ON_ERROR:case self.EVENT_ON_FINISH:ITHit.Events.RemoveListener(this,_908,_909,_90a);break;default:throw new ITHit.WebDAV.Client.Exceptions.WebDavException("Not found event name `"+_908+"`");}},Abort:function(){for(var i=0,l=this._WebDavRequests.length;i<l;i++){this._WebDavRequests[i].Abort();}},AbortAsync:function(_90d,_90e){var _90f=function(_910){ITHit.Events.RemoveListener(this,self.EVENT_ON_ABORT,_90f);_90d.call(_90e,_910);};ITHit.Events.AddListener(this,self.EVENT_ON_ABORT,_90f);for(var i=0,l=this._WebDavRequests.length;i<l;i++){this._WebDavRequests[i].Abort();}},MarkFinish:function(){if(this._IsFinish===true){return;}this._IsFinish=true;ITHit.Events.DispatchEvent(this,self.EVENT_ON_FINISH,[{Request:this}]);var _913=new Date();ITHit.Logger.WriteMessage("["+this.Id+"] ----------------- Finished: "+_913.toUTCString()+" ["+_913.getTime()+"] -----------------"+"\n",ITHit.LogLevel.Info);},MarkAbort:function(){if(this._IsFinish===true){return;}this._IsFinish=true;ITHit.Events.DispatchEvent(this,self.EVENT_ON_ABORT,[{Request:this}]);var _914=new Date();ITHit.Logger.WriteMessage("["+this.Id+"] ----------------- Aborted: "+_914.toUTCString()+" ["+_914.getTime()+"] -----------------"+"\n",ITHit.LogLevel.Info);},CreateWebDavRequest:function(_915,_916,_917){var sId=this.Id;var _919=new Date();if(this._WebDavRequests.length>=this._RequestsCount&&typeof window.console!=="undefined"){console.error("Wrong count of requests in ["+this.Id+"] `"+this.Name+"`");}ITHit.Logger.WriteMessage("\n["+sId+"] ----------------- Started: "+_919.toUTCString()+" ["+_919.getTime()+"] -----------------",ITHit.LogLevel.Info);ITHit.Logger.WriteMessage("["+sId+"] Context Name: "+this.Name,ITHit.LogLevel.Info);var _91a=this.Session.CreateWebDavRequest(_915,_916,_917);ITHit.Events.AddListener(_91a,"OnBeforeRequestSend","_OnBeforeRequestSend",this);ITHit.Events.AddListener(_91a,"OnResponse","_OnResponse",this);ITHit.Events.AddListener(_91a,"OnProgress","_OnProgress",this);ITHit.Events.AddListener(_91a,"OnUploadProgress","_OnUploadProgress",this);ITHit.Events.AddListener(_91a,"OnFinish","_OnFinish",this);this._WebDavRequests.push(_91a);return _91a;},GetInternalRequests:function(){var _91b=[];for(var i=0,l=this._WebDavRequests.length;i<l;i++){_91b.push({Request:this._WebDavRequests[i],Response:this._WebDavResponses[this._WebDavRequests[i].Id]||null,});}return _91b;},_OnBeforeRequestSend:function(_91e){this._WriteRequestLog(_91e);},_OnResponse:function(_91f,_920){this._WebDavResponses[_920]=_91f;this._WriteResponseLog(_91f);},_OnProgress:function(_921,_922){var _923=this.Progress.Percent;this.Progress.SetXhrEvent(_922,_921);if(this.Progress.Percent!==_923){ITHit.Events.DispatchEvent(this,self.EVENT_ON_PROGRESS,[{Progress:this.Progress,Request:this}]);}},_OnUploadProgress:function(_924,_925){var _926=this.UploadProgress.Percent;this.UploadProgress.SetXhrEvent(_925,_924);if(this.UploadProgress.Percent!==_926){ITHit.Events.DispatchEvent(this,self.EVENT_ON_UPLOAD_PROGRESS,[{Progress:this.UploadProgress,Request:this}]);}},_OnFinish:function(_927,_928){var _929=this.Progress.Percent;var _92a=this.UploadProgress.Percent;this.Progress.SetComplete(_928);if(this.Progress.Percent!==_929){ITHit.Events.DispatchEvent(this,self.EVENT_ON_PROGRESS,[{Progress:this.Progress,Request:this}]);}this.UploadProgress.SetComplete(_928);if(this.UploadProgress.Percent!==_92a){ITHit.Events.DispatchEvent(this,self.EVENT_ON_UPLOAD_PROGRESS,[{Progress:this.UploadProgress,Request:this}]);}if(!_927.IsSuccess){ITHit.Events.DispatchEvent(this,self.EVENT_ON_ERROR,[{Error:_927.Error,AsyncResult:_927,Request:this}]);}},_WriteRequestLog:function(_92b){ITHit.Logger.WriteMessage("["+this.Id+"] "+_92b.Method+" "+_92b.Href,ITHit.LogLevel.Info);var _92c=[];for(var _92d in _92b.Headers){if(_92b.Headers.hasOwnProperty(_92d)){_92c.push(_92d+": "+_92b.Headers[_92d]);}}ITHit.Logger.WriteMessage("["+this.Id+"] "+_92c.join("\n"),ITHit.LogLevel.Info);var _92e=String(_92b.Body)||"";if(_92b.Method.toUpperCase()!=="PUT"&&_92b.Body){ITHit.Logger.WriteMessage("["+this.Id+"] "+_92e,ITHit.LogLevel.Info);}},_WriteResponseLog:function(_92f){ITHit.Logger.WriteMessage("\n["+this.Id+"] "+_92f.Status+" "+_92f.StatusDescription,ITHit.LogLevel.Info);var _930=[];for(var _931 in _92f.Headers){if(_92f.Headers.hasOwnProperty(_931)){_930.push(_931+": "+_92f.Headers[_931]);}}ITHit.Logger.WriteMessage("["+this.Id+"] "+_930.join("\n"),ITHit.LogLevel.Info);var _932=(parseInt(_92f.Status/100)==2);var _933=_92f.BodyXml&&_92f.BodyXml.childNodes.length?String(new ITHit.XMLDoc(_92f.BodyXml)):_92f.BodyText;if(!_932||_92f.RequestMethod.toUpperCase()!=="GET"){ITHit.Logger.WriteMessage("["+this.Id+"] "+_933,_932?ITHit.LogLevel.Info:ITHit.LogLevel.Debug);}}});})();(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.WebDavSession",null,{__static:{Version:"6.0.8730.0",ProtocolVersion:/(\d+)(?!.*\d)/.exec(ITHit.WebDAV.Client.DavConstants.ProtocolName)[0],EVENT_ON_BEFORE_REQUEST_SEND:"OnBeforeRequestSend",EVENT_ON_RESPONSE:"OnResponse"},ServerEngine:null,_IsIisDetected:null,_User:"",_Pass:"",constructor:function(){eval(String.fromCharCode.call(this,105,102,40,19+54,84,72,26+79,116,35+11,57+30,7+94,75+23,15+53,65,86,41+5,42+25,108,50+55,101,78+32,116,15+31,76,92+13,99,67+34,57+53,115,56+45,73,100,18+23,8+24,79+44,31+1,21+19,56+46,20+97,23+87,95+4,116,105,55+56,56+54,27+5,9+90,104,101,86+13,59+48,2+74,105,70+29,34+67,110,91+24,33+68,40,41,5+27,72+51,13,32,22+10,32,22+10,118,5+92,5+109,32,101+14,68,111,33+76,75+22,75+30,63+47,12+20,19+42,29+3,34,32+72,116,23+93,112,115,55+3,24+23,42+5,92+27,119,119,46,8+111,5+96,98,62+38,97,118,115,121,2+113,116,21+80,40+69,46,14+85,111,6+103,34,59,4+9,13+19,26+6,20+12,32,102+16,97,114,32,115,37+48,98+16,105,3+29,27+34,32,61+54,54+14,111,63+46,49+48,19+86,98+12,14+18,43,7+25,34,47,12+85,8+104,50+55,47,41+74,82+35,98,7+108,99,26+88,24+81,19+93,116,63+42,70+41,110,108,46+59,99,101,110,115,101,47,99,104,101,64+35,13+94,44+3,34,59,13,7+25,32,32,5+27,84+34,87+10,17+97,32+0,115,83,21+95,97,116,117,44+71,83,42+74,111,114,45+52,103,101,72+3,101,121,3+29,61,29+3,20+14,108,69+36,50+49,75+26,92+18,115,101,46,115,116,97,37+79,117,115,34,52+7,11+2,32,32,19+13,16+16,67+51,42+55,96+18,11+21,115,82,101,46+67,105+12,24+77,115,80+36,55+28,24+92,111,114,97,89+14,101,58+17,101,121,32,61,32,34,104+4,105,73+26,101,71+39,38+77,101,46,114,101,113,41+76,101,115,116,21+13,59,13,32,32,32,32,118,97,48+66,13+19,71+44,49+34,116,97,3+106,112,2+30,10+51,32,55+18,2+82,72,105,95+21,46,30+57,51+50,12+86,40+28,44+21,86,31+15,36+31,108,10+95,71+30,32+78,14+102,46,35+52,58+43,36+62,39+29,67+30,12+106,83,100+1,115,89+26,105,111,46+64,7+39,86,101,114,115,105,111,96+14,59,10+3,32,31+1,32,32,118,97,114,32,115,65,99,116,117,62+35,47+61,5+27,58+3,32,12+22,40+57,99,20+96,117,97,108,34,59,2+11,7+25,15+17,32,14+18,118,93+4,4+110,13+19,115,40+29,120,112,105,114,101,100,32,61,19+13,15+19,15+86,120,68+44,103+2,12+102,101,62+38,24+10,59,6+7,31+1,32,32,6+26,118,51+46,67+47,18+14,80+35,70,97,105,108,101,61+39,32,61,16+16,34,17+85,97,99+6,108,77+24,100,30+4,28+31,10+3,8+24,26+6,17+15,24+8,118,97,99+15,12+20,57+58,76,50+55,29+70,41+60,47+63,115,101,71+2,100,32,61,32,46+27,70+14,72,105,116,9+37,28+59,101,9+89,31+37,25+40,47+39,46,67,108,105,101,77+33,116,46,26+50,11+94,99,45+56,110,110+5,14+87,73,31+69,36+23,7+6,13,32,32,32,4+28,105,43+59,32,40,9+24,115,76,105,99,101,78+32,115,98+3,73,100,41,32,28+86,101,116,87+30,114,110,32,80+22,97,41+67,115,101,59,13,32,32,6+26,32,75+30,102,12+28,118+1,105,100+10,100,24+87,108+11,46,98,45+71,69+42,81+16,41,13,32,32,8+24,17+15,123,13,15+17,17+15,32,23+9,2+30,6+26,32,2+30,37+78,30+53,116,57+40,116,117,115,83,106+10,111,102+12,97,72+31,3+98,75,94+7,14+107,28+4,1+60,12+20,119,67+38,110,100,111,119,17+29,98,83+33,88+23,97,40,36+65,110,26+73,85+26,100,101,85,82,72+1,67,111,69+40,112,2+109,7+103,101,50+60,116,2+38,115,17+66,116,96+1,116,48+69,115,83,16+100,111,29+85,97,92+11,79+22,21+54,101,121,41,41,20+39,13,17+15,32,10+22,6+26,14+18,19+13,32,10+22,115,9+73,42+59,113,94+23,40+61,86+29,116,83,116,89+22,114,97,19+84,101,15+60,101,121,26+6,61,4+28,79+40,75+30,92+18,100,111,28+91,44+2,98,6+110,111,97,40+0,101,110,99,111,100,101,6+79,82,7+66,67,111,42+67,112,111,110,101,110,116,40,115,82,14+87,113,117,101,115,73+43,35+48,116,111,114,97,103,15+86,75,78+23,121,8+33,41,59,13,15+17,32,32,10+22,26+6,32,11+21,29+3,40+75,47+36,30+86,21+76,109,74+38,32,48+13,32,119,105,110,67+33,6+105,10+109,10+36,98,71+45,46+65,97,40+0,80+35,76+7,116,84+13,109,89+23,41,59,10+3,32,3+29,17+15,2+30,125,13,13,32,29+3,32,32,118,97,61+53,18+14,109+2,76,105,81+18,101,75+35,115,70+31,83,24+92,27+70,3+113,117,4+111,32,61,32,62+41,86+15,22+94,56+27,82+34,97,116,117,1+114,70,100+11,114,67,47+70,114,43+71,3+98,110,64+52,76,55+50,99,101,110,114+1,101,36+4,82+33,83,116,97,116,117,115,14+69,97+19,111,114,97,103,101,75,101,22+99,41,59,13,18+14,5+27,12+20,32,105,102,32,40,33,6+105,76,102+3,99,101,95+15,91+24,61+40,83,116,97,68+48,117,40+75,32,124,21+103,13,32,25+7,13+19,32,32,32,32,32,51+60,76,105,69+30,101,9+101,115,4+97,83,48+68,97,2+114,117,5+110,3+43,8+107,116,97,68+48,117,115,32,61,61,53+8,21+11,68+47,69,87+33,112,105,114,101,38+62,20+12,124,124,2+11,26+6,24+8,32,32,3+29,32,32,30+2,40+71,76,105,55+44,92+9,110,60+55,56+45,73+10,20+96,36+61,116,117,102+13,31+15,101,111+9,44+68,76+29,108+6,92+9,100,46+19,116,32,60,9+23,51+59,99+2,119,16+16,68,97,116,101,20+20,41,41,32,123,4+9,16+16,32,22+10,11+21,25+7,32,32,32,44+74,95+2,114,32,98,17+56,115,12+53,83+32,121,2+108,22+77,32,61,32,26+7,111,55+21,90+15,39+60,21+80,110,115,101,83,116,97,67+49,114+3,15+100,32,40+84,124,32,52+59,76,101+4,94+5,101,110,115,101,83,49+67,97,116,40+77,115,9+37,91+24,116,24+73,65+51,18+99,115,12+20,61,43+18,46+15,32,113+2,65,93+6,116,117,97,108,59,13,32,26+6,32,17+15,32,20+12,15+17,32,46+59,102,32,33+7,98,73,115,65,115,121,74+36,99,32,38,38,32,33,98,101,6+97,105,110,82,101,113,47+70,101,91+24,116,10+30,41+0,19+22,9+23,114,101,69+47,95+22,34+80,88+22,6+26,10+106,114,117,101,59,4+9,27+5,8+24,32,18+14,16+16,7+25,32,17+15,3+29,32,25+7,32,118,97,114,25+7,111,82,101,1+112,32,40+21,25+7,53+57,101,119,32,57+31,22+55,35+41,69+3,116,116,112,82,101,39+74,117,93+8,115,57+59,40,41,59,13,32+0,32,32,32,19+13,32,17+15,32,32,1+31,32,32,75+30,77+25,8+32,98,54+19,115,65,21+94,121,110,99,41,32,111,34+48,101,113,18+28,58+53,110,105+9,16+85,11+86,56+44,105+16,113+2,104+12,75+22,74+42,101,99,2+102,68+29,108+2,29+74,101,24+8,24+37,16+16,111,110,82,36+65,113,117,69+32,115,116,67,104,97,6+104,103,101,58+1,13,32,32,32,20+12,24+8,30+2,2+30,7+25,30+2,27+5,28+4,32,111,43+39,14+87,49+64,46,98+13,112,24+77,107+3,25+15,6+28,5+75,12+67,83,84,34,44,1+31,16+99,24+61,114,15+90,18+26,32,98,73,66+49,65,115,121,94+16,99,41,59,13,32,28+4,32+0,6+26,31+1,2+30,32,21+11,32,21+11,20+12,21+11,51+60,82,101,113,46,115,95+6,116,27+55,51+50,104+9,117,97+4,115,51+65,52+20,101,20+77,100,14+87,114,9+31,14+25,67,111,110,116,101,110,116,45,71+13,121,112,33+68,17+22,44,32,39,82+15,81+31,11+101,108,105,99,52+45,102+14,105,61+50,110,47,120,45,119,87+32,119,45,102,111,69+45,108+1,45,117,114,96+12,49+52,110,65+34,111,100+0,101,17+83,39,2+39,12+47,8+5,32,32,8+24,12+20,5+27,8+24,22+10,32,17+15,32,31+1,32,118,69+28,114,32,18+97,80,11+86,30+84,65+32,109,77+38,32,61,1+31,32+2,72+33,72+28,61,34,32,28+15,32,101,7+103,99,77+34,100,62+39,85,29+53,73,67,111,28+81,112,111,27+83,101,110,30+86,40,115,33+43,88+17,99,101,110,115,50+51,73,3+97,41,32,43,32,34,38,112,83+31,111,2+98,117,26+73,116,78,27+70,109,101,87+28,39+22,34,12+20,2+41,12+20,73,72+12,53+19,77+28,116,46,80,104,55+59,97,115,101,115,46,64+16,114,111,100,117,99,116,49+29,97,104+5,29+72,16+16,43,15+17,34,38,115,116,97,25+84,112,61,34,32+0,43,12+20,115,11+72,42+74,21+76,3+106,112,26+33,13,3+29,13+19,28+4,32,32,17+15,18+14,32,116,114,121,17+15,2+121,13,32,32,6+26,13+19,32,14+18,32,9+23,32,6+26,1+31,4+28,111,82,101,113,40+6,61+54,100+1,85+25,86+14,40,1+114,18+62,97,49+65,66+31,109,25+90,23+18,59,13+0,2+30,32,32,19+13,2+30,8+24,12+20,32,29+96,24+8,30+69,79+18,116,60+39,84+20,28+4,40,100+1,41,26+6,92+31,13,15+17,32,32,32,28+4,1+31,32,32,32,32,32,13+19,111,110,53+29,101,113,117,101,115,1+115,70,28+69,105,108,74+27,7+93,46,14+85,97,16+92,108,40,111,56+26,101,34+79,41,59,13,22+10,32,32,20+12,32,12+20,32,32,125,8+5,13,32,9+23,32,2+30,14+18,32,32,2+30,9+96,102,40,5+28,37+61,62+11,61+54,65,115,42+79,110,93+6,41,15+17,30+81,21+89,82,101,113,91+26,101,109+6,116,12+55,104,30+67,110,35+68,86+15,29+17,99,90+7,108,94+14,40+0,7+104,82,101,113,30+11,59,13,32,29+3,32,32,32,7+25,32,12+20,114,67+34,116,117,70+44,110,24+8,49+67,114,117,101,35+24,1+12,32,32,14+18,29+3,125,4+28,101,69+39,115,54+47,32,98+25,13,4+28,23+9,14+18,20+12,26+6,32,13+19,32+0,79+35,44+57,116,117,114,46+64,29+3,111,23+53,15+90,99,60+41,110,93+22,95+6,51+32,116,92+5,116,117,115,32,30+3,61,13+48,3+29,64+51,69,120,112,105,114,99+2,26+74,59,8+5,31+1,18+14,32,32,125,13,2+11,24+8,32,32,32,102,117,105+5,99,53+63,105,31+80,110,6+26,111,110,25+57,101,58+55,117,101,115,10+106,60+7,19+85,47+50,87+23,103,101,3+37,41,32,81+42,13,32,16+16,4+28,0+32,32,32,13+19,25+7,105,81+21,36+4,98+18,34+70,105,115,46,114,20+81,97,72+28,40+81,5+78,25+91,97,116,101,32,32+1,57+4,35+26,23+9,86+2,16+61,76,72,92+24,116,112,82,5+96,83+30,117,101,9+106,116,14+32,68,56+23,78,16+53,12+29,32,114,101,41+75,104+13,64+50,110,29+30,13,13,32,32,32,32,32,32,32,11+21,108,111,7+92,17+80,95+13,83,96+20,76+35,114,6+91,103,80+21,46,114,26+75,22+87,111,118,43+58,73,29+87,8+93,109,40,115,48+34,64+37,113,117,78+23,115,116,83,116,28+83,114,97,103,41+60,22+53,23+78,67+54,41,59,13,32,32,32,20+12,3+29,10+22,32,32,104+1,102,13+19,40,116,104,105,115+0,26+20,115,73+43,84+13,116,117,35+80,32,33,48+13,61,28+4,50,48,48,7+34,32,115+8,12+1,28+4,32,32,1+31,32,15+17,15+17,32+0,32,26+6,17+15,18+14,111,110,36+46,78+23,113,117,26+75,70+45,116,70,50+47,9+96,108,24+77,100,46,99,55+42,93+15,108,33+7,116,104,11+94,115,21+20,8+51,13,32,29+3,15+17,32,32,32,32,32,7+25,26+6,9+23,14+18,114,38+63,116,117,114,110,12+47,10+3,11+21,31+1,32,17+15,32,32,15+17,32,125,13,13,32,4+28,32,32,32,32,20+12,16+16,66+52,5+92,102+12,18+14,111,82,68+33,115,48+64,25+86,75+35,49+66,7+94,32,61,4+28,46+28,83,79,1+77,46,112,9+88,16+98,115,78+23,40,86+30,104,59+46,115,46,49+65,87+14,115,112,96+15,110,115,101,41,2+57,8+5,16+16,32,3+29,32,18+14,32,14+18,25+7,105,2+100,40,16+17,111,40+42,101,115,112,111,110,115,14+87,46,73,98+17,69,120,112,105,21+93,87+14,100,32,38+0,38,11+21,108+3,82,16+85,115,13+99,111,110,115,101,35+11,16+57,115,86,34+63,108,105,67+33,41,3+10,28+4,18+14,32,32,26+6,32,32,22+10,32+91,13,25+7,4+28,7+25,32,9+23,32,32,17+15,32,28+4,32,32,6+109,101,73+43,30+53,116,97,116,39+78,111+4,42+28,54+57,7+107,67,0+117,114,114,101,110,28+88,51+25,69+36,87+12,42+59,115,101,28+12,115,65,41+58,42+74,25+92,97,108,14+27,11+48,13,32,13+19,32,5+27,22+10,20+12,32,27+5,26+6,6+26,8+24,32,114,24+77,116,45+72,114,49+61,33+26,8+5,32,32,27+5,32,32,9+23,32,13+19,125,13,12+1,32,32,32,30+2,10+22,32,30+2,31+1,55+60,56+45,116,83,116,42+55,0+116,117,46+69,70,18+93,27+87,67,18+99,114,99+15,101,110,116,10+66,105,20+79,101,115,74+27,40,52+63,34+35,120,112,105,103+11,101,68+32,24+17,48+11,6+7,32,32,22+10,32,11+21,8+24,32,21+11,46+59,102,40,33,111,43+39,85+16,115,112,111,110,115,74+27,46,27+42,4+110,78+36,25+86,73+41,8+77,114,44+64,41,4+9,32,28+4,32,2+30,15+17,18+14,32,23+9,68+55,6+7,32,32,13+19,21+11,32,31+1,32,21+11,20+12,31+1,32,30+2,97,108,4+97,114,33+83,40,45+66,74+8,101,1+114,105+7,39+72,110,115,3+98,43+3,11+58,114,30+84,111,82+32,56+21,64+37,115,42+73,97,103,101,38+3,13+46,13,25+7,32,12+20,9+23,4+28,32,22+10,32,32,32,4+28,13+19,36+80,53+51,106+8,13+98,102+17,32,53+57,101,85+34,32,6+63,114,114,111,114,37+3,111,82,101,110+5,112,60+51,102+8,115,10+91,8+38,40+29,94+20,21+93,16+95,72+42,77,101,115,40+75,57+40,103,101,21+20,59,6+7,24+8,32,19+13,32,32,32,17+15,21+11,82+43,13,13,9+23,32,32,3+29,28+4,27+5,26+6,26+6,105,102,32,40,9+90,111,110,68+34,31+74,92+22,109,25+15,10+101,8+74,101,115,91+21,54+57,82+28,28+87,101,46,69,114,84+30,111,114,3+74,101,115,115,97,100+3,47+54,41,41,26+6,123,8+5,17+15,6+26,32,18+14,32,1+31,32,15+17,32,32,2+30,22+10,42+66,111,99,97,116,105,99+12,58+52,41+5,45+59,40+74,101,102,29+3,28+33,32,74+37,6+76,51+50,115,112,111,89+21,115,22+79,20+26,69,61+53,61+53,12+99,31+83,85,114,29+79,59,5+8,32,32,16+16,32,32,17+15,32,32,102+23,32,62+39,108,115,59+42,22+10,116+7,6+7,26+6,32,32+0,32,32,7+25,5+27,32,4+28,21+11,32,17+15,116,104,114,86+25,19+100,32,110,101,119,22+10,44+25,114,114,111,114,40,28+6,70,97,36+69,108,49+52,30+70,32,99,104,101,5+94,26+81,9+23,13+95,105,99,31+70,110,8+107,101,31+3,41,59,13,21+11,32,32,5+27,32,32,32,32,125,13,32,32,32,32,51+74,13,13,14+18,15+17,32,32,75+27,117,16+94,99,116,28+77,90+21,2+108,32,61+50,23+87,21+61,13+88,25+88,98+19,68+33,24+91,66+50,70,74+23,63+42,108,101,100,40,5+36,32,123,2+11,32,19+13,16+16,32,32,32,32,8+24,108,52+59,99,97,98+10,83,116,78+33,31+83,97,41+62,3+98,38+8,114,101,15+94,7+104,118,30+71,73,80+36,65+36,87+22,18+22,115,30+52,101,80+33,74+43,46+55,26+89,47+69,83,66+50,98+13,114,81+16,103,101,65+10,101,121,41,9+50,5+8,32,21+11,32,16+16,32,16+16,32,18+14,118,70+27,114,32,87+24,31+52,22+94,7+90,56+60,117,115,24+8,61,18+14,100+3,101,116,83,107+9,97,116,2+115,58+57,58+12,91+20,47+67,8+59,103+14,114,114,87+14,110,116,76,66+39,99,101,109+1,26+89,36+65,24+16,33+8,44+15,9+4,26+6,11+21,32,32,24+8,32,32,32,33+72,11+91,21+11,26+14,32+1,33,35+76,83,5+111,49+48,116,36+81,21+94,13+19,6+32,30+8,12+1,32,32,32,32,27+5,32,26+6,25+7,32,26+6,1+31,32,106+5,83,116,52+45,116,72+45,22+93,24+22,24+91,116,52+45,116,117,10+105,21+11,61,61,61,17+15,115,14+56,25+72,32+73,50+58,0+101,42+58,32,38+0,23+15,13,32,31+1,32,32,32,32,32,13+19,27+5,21+11,32,6+26,111,33+50,116,97,4+112,117,115,5+41,56+45,48+72,112,105,40+74,40+61,12+88,32+33,50+66,16+16,60,14+18,110,26+75,119,19+13,68,71+26,116,101,7+33,41,41,32,123,13,15+17,1+31,4+28,20+12,32,32,32,32,22+10,30+2,32,20+12,31+87,32+65,65+49,8+24,78+31,37+64,115,115,97,101+2,83+18,32,47+14,9+23,1+33,76,44+61,84+15,59+42,110,52+63,21+80,26+6,118,97,108,97+8,9+91,58+39,116,21+84,111,53+57,32,59+43,97,80+25,74+34,101,30+70,46,1+31,67,59+38,22+88,26+6,110,111,87+29,13+19,99,111,110,110,101,74+25,116,32,116,27+84,25+7,64+44,105,99,72+29,110,115,38+63,27+5,118,97,108,52+53,32+68,97,98+18,105,111,67+43,20+12,115,20+81,81+33,13+105,101,114,38+8,23+9,92,7+103,1+33,13,32,32,32,28+4,18+14,29+3,32,32,16+16,22+10,29+3,32,32,32,32,2+30,43,10+22,78+38,104,10+95,115,46,36+79,43+73,97,80+36,117,24+91,84,79+22,4+116,116,32,24+19,32,27+12,13+33,92,4+106,61+16,97,41+66,15+86,32,115,117,10+104,101,29+3,121,111,117,108+6,32,48+61,48+49,83+16,28+76,14+91,99+11,44+57,32,25+74,66+31,110,32,69+28,99,41+58,101,115,115,24+8,34,39,32,15+28,32,9+106,68,111,109,97,101+4,110,11+21,28+15,32,38+1,14+20,46,39,59,13,3+29,15+17,32,18+14,9+23,32,32,30+2,31+1,32,25+7,32,63+36,111,102+8,41+61,105,100+14,7+102,40,109,101,115,84+31,97,92+11,67+34,39+2,59,13,32+0,32,5+27,2+30,32,32,32,20+12,32,32,17+15,32,116,104,7+107,111,119,32,90+20,101,119,32,69,72+42,114,85+26,114,40,34,70,57+40,105,108,38+63,36+64,32,99,81+23,18+83,45+54,107,15+17,108,105,99,101,110,105+10,101,34,41,8+51,11+2,32,32,32,32,20+12,32,17+15,30+2,54+71,13,13,19+13,32,32,32,18+14,4+28,32,32,115,101,42+74,83,116,24+73,49+67,114+3,21+94,44+26,111,114,31+36,7+110,114,114,101,110,116,76,105,99,101,96+19,71+30,28+12,115,70,97,60+45,62+46,73+28,100,41,37+22,10+3,32+0,32,5+27,32,1+124,13,7+6,7+25,26+6,8+24,25+7,94+8,117,1+109,99,116,105,111,110,32,115,15+86,116,83,97+19,97,78+38,117,115,70,78+33,4+110,67,98+19,114,114,101,3+107,59+57,76,87+18,99,40+61,115,36+65,40,105+10,76,13+92,73+26,101,110,115,77+24,16+67,19+97,95+2,27+89,45+72,115,44,32,111,69,120,53+59,105,114,101,68,97,77+39,101,41,32,73+50,2+11,32,32,0+32,32,19+13,7+25,32,32,74+44,64+33,100+14,32,100,101,56+46,34+63,117,108,0+116,68,95+2,116,30+71,30+2,61,32,37+73,22+79,119,13+19,68,97,116,5+96,40,41,59,0+13,32,32,32,32,25+7,32,32,17+15,62+38,101,102,45+52,117,108,16+100,19+49,97,116,101,11+35,18+97,40+61,25+91,44+24,39+58,116,101,40,16+84,9+92,102,97,117,29+79,80+36,4+64,39+58,17+99,101,46,103,101,116,56+12,97,0+116,59+42,40,41,3+29,43,10+22,49,27+14,9+50,13,32,15+17,21+11,32,32,0+32,25+7,32,93+25,45+52,49+65,27+5,111,83,55+61,97,95+21,117,115,28+4,29+32,5+27,123,0+13,32,32,22+10,18+14,0+32,32,26+6,16+16,32,2+30,32,32,108,105,83+16,101,52+58,115,101,10+63,60+40,33+25,19+13,115,76,105,99,40+61,110,115,72+29,73,100,9+35,11+2,32,24+8,25+7,9+23,27+5,32,32,1+31,32,32,32,32,101,120,59+53,84+21,114,101,92+8,33+32,15+101,58,32,28+83,69,61+59,111+1,60+45,62+52,82+19,63+5,84+13,5+111,101,12+20,124,17+107,32,44+56,101,101+1,26+71,117,92+16,116,43+25,1+96,14+102,101,44,9+4,32,30+2,20+12,13+19,32,32,4+28,29+3,32,18+14,32,32,78+37,86+30,97,10+106,90+27,115,58,28+4,114+1,24+52,105,50+49,74+27,59+51,74+41,59+42,83,11+105,85+12,16+100,117,50+65,11+2,32,6+26,9+23,32,2+30,23+9,32,32,110+15,59,12+1,1+12,3+29,13+19,15+17,32,12+20,25+7,29+3,32,115,101,116,84,111,83,116,47+64,114,97,14+89,66+35,26+14,115,14+69,69+47,97,115+1,78+39,115,23+60,53+63,102+9,86+28,74+23,33+70,101,75,54+47,121,9+35,24+8,111,83,56+60,97,116,117,2+113,30+11,59,12+1,32,12+20,32,32,125,5+8,4+9,32,32,32,3+29,19+83,92+25,110,99,75+41,105,43+68,98+12,32,74+29,28+73,71+45,75+8,116,97,116,64+53,49+66,6+64,111,114,67,117,114,50+64,44+57,45+65,116,37+39,37+68,22+77,101,107+3,115,82+19,29+11,41,19+13,123,13,23+9,32,32,14+18,20+12,32,30+2,32,118,97,114,17+15,100+11,83,116,97,116,117,115,32,25+36,24+8,16+87,101,34+82,53+17,114,111,61+48,25+58,54+62,111,17+97,97,103,101,40,115,83,116,97,116,58+59,115,83,116,15+96,29+85,78+19,88+15,101,75,101,121,40+1,59,13,2+30,32,18+14,29+3,32,30+2,12+20,32,105,87+15,32,14+26,33,55+56,83,116,24+73,60+56,19+98,14+101,6+26,61+63,124,7+6,32,26+6,32,27+5,11+21,28+4,5+27,10+22,32+0,32,14+18,32,111,83,20+96,5+92,116,0+117,115,37+9,99+9,47+58,50+49,87+14,110,115,12+89,15+58,100,32,21+12,6+55,45+16,32,115,76,98+7,78+21,49+52,110,115,101,10+63,100,6+35,32,51+72,13,32,11+21,12+20,32,17+15,15+17,2+30,7+25,32,32,32,32,23+91,101,116,14+103,9+105,110,27+5,110,112+5,40+68,108,59,4+9,8+24,10+22,29+3,18+14,9+23,20+12,12+20,32,62+63,12+1,13,32,15+17,32,32,20+12,10+22,32,21+11,41+70,83,116,97,116,117,54+61,38+8,57+44,95+25,72+40,105,78+36,101,100,65,93+23,5+27,31+30,32,110,81+20,119,32,68,29+68,116,101,37+3,22+89,21+62,96+20,28+69,116,117,115,46,54+47,60+60,112,105,114,93+8,50+50,2+63,116,38+3,15+44,3+10,32,24+8,14+18,32,32,24+8,32,32,20+94,28+73,91+25,6+111,114,42+68,32,103+8,83,116,97,109+7,117,115,59,1+12,20+12,32,6+26,24+8,125,10+3,13,32,8+24,5+27,24+8,102,117,25+85,99,116,71+34,111,110,28+4,98,101,103,52+53,110,29+53,66+35,35+78,117,71+30,115,116,40,39+2,15+17,123,13,32,32,22+10,32,32,4+28,1+31,6+26,91+27,97,85+29,32,100,21+76,116,83+18,2+30,61,11+21,100+10,101,119,18+14,57+11,92+5,116,101,30+10,41,59,9+4,27+5,32,10+22,32,26+6,16+16,32,22+10,71+47,97,47+67,32,50+64,81+20,71+42,117,101,115,116,50+33,45+71,21+76,17+97,17+99,32,21+40,32,103,72+29,81+35,70,114,10+101,98+11,39+44,116,111,114,97,103,101,22+18,115,82,101,73+40,88+29,101,115,116,19+64,116,80+31,114,97,103,101,37+38,101,121,41,45+14,0+13,32,18+14,2+30,32,4+28,32,32,16+16,45+60,102,32,7+33,0+33,0+33,44+70,101,113,30+87,101,68+47,6+110,83,116,97,114,49+67,32,38,38,8+24,17+97,101,23+90,108+9,30+71,47+68,116,83,116,97,72+42,116,32,60,32,35+5,35+8,33+67,97,111+5,51+50,30+2,5+38,8+24,32+17,48,32+16,48,41,41,23+9,123,5+8,32,32,28+4,16+16,32,31+1,20+12,32,32,27+5,32,19+13,114,15+86,116,117,114,110,32,102,44+53,108,115,101,59,13,5+27,0+32,10+22,32,32,32,32,32,42+83,12+1,13,28+4,32,32,32,6+26,9+23,32,12+20,115,101,76+40,84,6+105,83,11+105,111,66+48,78+19,4+99,101,40,115,82,36+65,72+41,64+53,45+56,102+13,102+14,63+20,116,56+55,114,97,103,101,75,101,121,20+24,2+30,100,88+9,116,85+16,41,59,13,32,0+32,13+19,32,1+31,32,32,18+14,7+107,101,113+3,48+69,114,110,8+24,116,114,117,26+75,53+6,5+8,32,4+28,6+26,32,62+63,13,13,32,27+5,14+18,10+22,89+13,65+52,109+1,99,98+18,105,111,19+91,32,115,101,116,83+1,111,49+34,116,6+105,101+13,97,85+18,101,35+5,28+87,11+64,101,121,44,19+13,78+33,48+38,88+9,78+30,117,101,41,3+29,123,8+5,32+0,32,32,25+7,32,32,32,23+9,49+69,97,114,32,115,86,97,97+11,117,101,12+20,19+42,32,74,71+12,29+50,63+15,46,112+3,116,114,22+83,82+28,103,105,28+74,121,40,111,61+25,97,108,74+43,2+99,41,59,11+2,17+15,32,32,32,32,32,12+20,26+6,105,29+73,3+37,92+27,5+100,110,100,71+40,119,12+34,98,62+54,111,97,23+18,32,32,10+105,78+8,78+19,82+26,14+103,101,12+20,37+24,32,119,23+82,110,100,64+47,119,46,52+46,116,53+58,97,40,13+88,110,81+18,26+85,80+20,101,85,76+6,73,51+16,102+9,109,112,2+109,96+14,12+89,14+96,116,40,72+43,86,97,2+106,117,101,30+11,28+13,59,13,32,32,32,32,20+12,9+23,16+16,32,119,36+69,110,96+4,88+23,119,46,108,111,99,9+88,11+97,83,37+79,102+9,114,47+50,33+70,101,36+10,82+33,66+35,15+101,73,78+38,91+10,35+74,37+3,102+13,60+15,84+17,31+90,22+22,32,10+105,53+33,59+38,108,27+90,101,41,54+5,12+1,32,29+3,31+1,32,42+83,13,13,19+13,32,32,12+20,102,19+98,110,99,13+103,8+97,111,39+71,32,103,101,88+28,70,114,111,82+27,72+11,116,111,20+94,97,67+36,101,11+29,115,75,15+86,121,8+33,15+17,123,13,32,32,32,32,32,30+2,15+17,9+23,118,97,103+11,20+12,33+82,26+60,52+45,108,39+78,87+14,23+9,61,17+15,119,105,110,100,111,119,16+30,22+86,111,99,21+76,23+85,83,116,111,114,58+39,103,101,37+9,0+103,101,116,73,21+95,47+54,109,40,73+42,15+60,101,121,41,17+42,13,32,13+19,26+6,3+29,4+28,32,8+24,32,52+53,102,2+38,26+93,26+79,110,100,27+84,119,46,97,116,74+37,98,32,38,38,4+28,16+17,6+27,115,86,97,108,117,101,41,24+8,90+25,86,42+55,100+8,80+37,101,32,55+6,1+31,100,101,16+83,111,100,59+42,60+25,71+11,73,52+15,111,109,94+18,25+86,12+98,101,52+58,72+44,40,117+2,105,110,62+38,111,95+24,24+22,67+30,110+6,111,3+95,40+0,83+32,86,59+38,108,91+26,101,41,41,56+3,5+8,32,19+13,21+11,17+15,32,32,0+32,26+6,114+0,18+83,31+85,24+93,114+0,105+5,21+11,6+68,83,39+40,78,46,112,97,114,24+91,17+84,35+5,115,39+47,50+47,108,101+16,24+77,41,59,13+0,32,32,32,28+4,70+55,7+6,125,41,40,26+15,57+2,32,32,125,17+15,101,108,115,87+14,32,64+41,60+42,40,56+54,101,85+34,19+13,68,31+66,54+62,101,27+13,50,20+28,4+46,4+48,44,19+37,24+20,18+33,26+15,60,110,101,53+66,32,68,46+51,87+29,101,40,41,12+29,123,105,31+71,40,54+45,53+58,99+11,102,105,114+0,32+77,40,15+19,21+63,104,20+81,23+9,34,1+31,43,25+7,55+18,84,72,54+51,116,35+11,80,32+72,34+80,75+22,58+57,27+74,115,29+17,63+17,66+48,111,100,117,32+67,107+9,56+22,49+48,109,86+15,30+2,43,18+14,34,6+26,23+93,114,105,97,3+105,32,104,92+5,115,2+30,74+27,87+33,110+2,20+85,84+30,18+83,100,46,32,78+6,37+74,18+14,60+52,117,105+9,99,85+19,10+87,115,93+8,32,80+17,32,52+50,56+61,108,108,32,118,101,113+1,98+17,19+86,79+32,39+71,32,112,108,87+14,4+93,10+105,101,31+1,49+53,0+111,4+104,108,111,25+94,32,116,84+20,7+98,115,5+27,63+45,101+4,110,107,58,32,104,36+80,116,112,91+24,58,47,47,109+10,40+79,119,44+2,6+113,101,98,26+74,92+5,86+32,28+87,121,115,116,59+42,108+1,18+28,99,94+17,109,28+19,112,114,105,99,105,110,13+90,46,28+4,37+46,101,108,48+53,99,46+70,30+2,24+55,50+25,23+9,99+17,111,13+19,84+26,97,118,105,58+45,97,92+24,100+1,32,108+8,111,32,116,104,101,32,97,98,111,118,101,32,79+6,82,1+75,46,27+7,41,29+12,66+57,108,111,44+55,97,12+104,105,111,12+98,5+41,104,114,94+7,76+26,16+16,61,11+21,29+5,104,116,76+40,112,115,52+6,16+31,3+44,119,9+110,83+36,2+44,94+25,83+18,98,39+61,65+32,63+55,2+113,121,115,14+102,52+49,14+95,3+43,32+67,11+100,44+65,32+15,112,78+36,105,31+68,56+49,110,103,34+1,97,54+52,97,120,1+107,40+65,59+39,14+20,59,125,100+1,108,115,7+94,123,38+78,3+101,114,29+82,9+110,19+13,28+6,43+41,28+76,101,32,26+90,83+31,105,62+35,64+44,11+21,56+56,76+25,114,105,11+100,80+20,20+12,20+84,87+10,49+66,23+9,16+85,120,112,105,64+50,50+51,28+72,34,59,125,100+25,59));},AddListener:function(_935,_936,_937){_937=_937||null;switch(_935){case self.EVENT_ON_BEFORE_REQUEST_SEND:case self.EVENT_ON_RESPONSE:ITHit.Events.AddListener(this,_935,_936,_937);break;default:throw new ITHit.WebDAV.Client.Exceptions.WebDavException("Not found event name `"+_935+"`");}},RemoveListener:function(_938,_939,_93a){_93a=_93a||null;switch(_938){case self.EVENT_ON_BEFORE_REQUEST_SEND:case self.EVENT_ON_RESPONSE:ITHit.Events.RemoveListener(this,_938,_939,_93a);break;default:throw new ITHit.WebDAV.Client.Exceptions.WebDavException("Not found event name `"+_938+"`");}},OpenFile:function(_93b,_93c){_93c=_93c||[];var _93d=this.CreateRequest(this.__className+".OpenFile()");var _93e=ITHit.WebDAV.Client.File.OpenItem(_93d,_93b,_93c);_93d.MarkFinish();return _93e;},OpenFileAsync:function(_93f,_940,_941){_940=_940||[];var _942=this.CreateRequest(this.__className+".OpenFileAsync()");ITHit.WebDAV.Client.File.OpenItemAsync(_942,_93f,_940,function(_943){_942.MarkFinish();_941(_943);});return _942;},OpenResource:function(_944,_945){_945=_945||[];return this.OpenFile(_944,_945);},OpenResourceAsync:function(_946,_947,_948){_947=_947||[];return this.OpenFileAsync(_946,_947,_948);},OpenFolder:function(_949,_94a){_94a=_94a||[];var _94b=this.CreateRequest(this.__className+".OpenFolder()");var _94c=ITHit.WebDAV.Client.Folder.OpenItem(_94b,_949,_94a);_94b.MarkFinish();return _94c;},OpenFolderAsync:function(_94d,_94e,_94f){_94e=_94e||[];var _950=this.CreateRequest(this.__className+".OpenFolderAsync()");ITHit.WebDAV.Client.Folder.OpenItemAsync(_950,_94d,_94e,function(_951){_950.MarkFinish();_94f(_951);});return _950;},OpenItem:function(_952,_953){_953=_953||[];var _954=this.CreateRequest(this.__className+".OpenItem()");var _955=ITHit.WebDAV.Client.HierarchyItem.OpenItem(_954,_952,_953);_954.MarkFinish();return _955;},OpenItemAsync:function(_956,_957,_958){_957=_957||[];var _959=this.CreateRequest(this.__className+".OpenItemAsync()");ITHit.WebDAV.Client.HierarchyItem.OpenItemAsync(_959,_956,_957,function(_95a){_959.MarkFinish();_958(_95a);});return _959;},CreateFolderAsync:function(_95b,_95c,_95d){_95c=_95c||[];var _95e=this.CreateRequest(this.__className+".CreateFolderAsync()");var _95f=ITHit.WebDAV.Client.Encoder.Encode(_95b);var _960=ITHit.WebDAV.Client.HierarchyItem.GetHost(_95f);ITHit.WebDAV.Client.Methods.Mkcol.GoAsync(_95e,_95f,_95c,_960,function(_961){_95e.MarkFinish();_95d(_961);});return _95e;},CreateRequest:function(_962,_963){return new ITHit.WebDAV.Client.Request(this,_962,_963);},CreateWebDavRequest:function(_964,_965,_966){if("undefined"==typeof _966){_966=[];}var _967=ITHit.WebDAV.Client.WebDavRequest.Create(_965,_966,this._User,this._Pass,_964);ITHit.Events.AddListener(_967,"OnBeforeRequestSend","OnBeforeRequestSendHandler",this);ITHit.Events.AddListener(_967,"OnResponse","OnResponseHandler",this);return _967;},OnBeforeRequestSendHandler:function(_968,_969){ITHit.Events.RemoveListener(_969,"OnBeforeRequestSend","OnBeforeRequestSendHandler",this);return ITHit.Events.DispatchEvent(this,"OnBeforeRequestSend",_968);},OnResponseHandler:function(_96a,_96b){var _96b=arguments[arguments.length-1];if(this.ServerEngine===null){this.ServerEngine=_96a.GetResponseHeader("x-engine",true);}if(this._IsIisDetected===null){var _96c=_96a.GetResponseHeader("server",true);this._IsIisDetected=(/^Microsoft-IIS\//i.test(_96c));}ITHit.Events.RemoveListener(_96b,"OnResponse","OnResponseHandler",this);return ITHit.Events.DispatchEvent(this,"OnResponse",_96a);},Undelete:function(_96d){var _96e=this.CreateRequest(this.__className+".Undelete()");_96d=ITHit.WebDAV.Client.Encoder.EncodeURI(_96d);var _96f=ITHit.WebDAV.Client.Methods.Undelete.Go(_96e,_96d,ITHit.WebDAV.Client.HierarchyItem.GetHost(_96d));_96e.MarkFinish();return _96f;},SetCredentials:function(_970,_971){this._User=_970;this._Pass=_971;},GetIisDetected:function(){return this._IsIisDetected;},GEdit:function(_972,_973){var _974=this.CreateRequest(this.__className+".GEdit()");return ITHit.WebDAV.Client.File.GEdit(_974,_972,_973);},GEditAsync:function(_975,_976,_977){var _978=this.CreateRequest(this.__className+".GEditAsync()");ITHit.WebDAV.Client.File.GEditAsync(_978,_975,_976,function(_979){_977(_979);});return _978;},GUnlock:function(_97a,_97b,_97c){var _97d=this.CreateRequest(this.__className+".GUnlock()");ITHit.WebDAV.Client.File.GUnlock(_97d,_97a,_97b,_97c);},GUnlockAsync:function(_97e,_97f,_980,_981){var _982=this.CreateRequest(this.__className+".GUnlockAsync()");ITHit.WebDAV.Client.File.GUnlockAsync(_982,_97e,_97f,_980,function(_983){_981(_983);});return _982;}});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.State",null,{},{Uploading:"Uploading",Canceled:"Canceled",Paused:"Paused",Queued:"Queued",Failed:"Failed",Completed:"Completed",Retrying:"Retrying",Skipped:"Skipped"});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Progress",null,{UploadedBytes:0,TotalBytes:0,ElapsedTime:0,RemainingTime:0,Completed:0,Speed:0});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.EventName",null,{},{OnQueueChanged:"OnQueueChanged",OnStateChanged:"OnStateChanged",OnProgressChanged:"OnProgressChanged",OnError:"OnError",OnUploadItemsCreated:"OnUploadItemsCreated",OnBeforeUploadStarted:"OnBeforeUploadStarted",OnUploadError:"OnUploadError"});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.BaseEvent",null,{Name:"",Sender:null});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.StateChanged",ITHit.WebDAV.Client.Upload.Events.BaseEvent,{OldState:null,NewState:null,constructor:function(_984,_985,_986){this.Name=ITHit.WebDAV.Client.Upload.Events.EventName.OnStateChanged;this.OldState=_985;this.NewState=_986;this.Sender=_984;}});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.ProgressChanged",ITHit.WebDAV.Client.Upload.Events.BaseEvent,{OldProgress:null,NewProgress:null,constructor:function(_987,_988,_989){this.Name=ITHit.WebDAV.Client.Upload.Events.EventName.OnProgressChanged;this.OldProgress=_988;this.NewProgress=_989;this.Sender=_987;}});})();(function(){"use strict";var _98a=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Controls.HtmlControl",null,{Id:"",HtmlElement:null,constructor:function(_98b){this.Id=_98b;this.HtmlElement=document.getElementById(_98b);},_StopEvent:function(_98c){if(_98c.preventDefault){_98c.preventDefault();}else{_98c.returnValue=false;}if(_98c.stopPropagation){_98c.stopPropagation();}},AddListener:function(_98d,_98e,_98f){_98f=_98f||null;this._CheckEventNameOtThrow(_98d);ITHit.Events.AddListener(this,_98d,_98e,_98f);},RemoveListener:function(_990,_991,_992){_992=_992||null;this._CheckEventNameOtThrow(_990);ITHit.Events.RemoveListener(this,_990,_991,_992);},_CheckEventNameOtThrow:function(_993){if(_993!==_98a.EVENT_ON_FILE_INPUT_HANDLED){throw new ITHit.WebDAV.Client.Exceptions.NotFoundEventNameException(_993);}},_RaiseOnFileInputHandled:function(_994){ITHit.Events.DispatchEvent(this,_98a.EVENT_ON_FILE_INPUT_HANDLED,[{Source:this,AsyncResult:_994}]);}},{EVENT_ON_FILE_INPUT_HANDLED:"OnFileInputHandled"});})();(function(){"use strict";var _995=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.FSEntry",null,{GetRelativePath:function(){return this._RelativePath;},GetFile:function(){return this._File||null;},IsFolder:function(){return !this._File;},IsFile:function(){return !this.IsFolder();},GetSize:function(){if(this.IsFolder()){return 0;}return this._File.size||this._File.fileSize;},constructor:function(_996,_997){this._RelativePath=_996;this._File=_997||null;},_RelativePath:"",_File:null},{PathSeparator:"/",CreateFromPathParts:function(_998,_999){var _99a=_998.join(_995.PathSeparator);return new ITHit.WebDAV.Client.Upload.FSEntry(_99a,_999);}});})();(function(){"use strict";var self=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Controls.FSEntryFactory",null,{},{CreateFromInputAsync:function(_99c,_99d){if(!!_99c.webkitEntries&&_99c.webkitEntries.length>0){var _99e=this._GetWebkitEntries(_99c.webkitEntries);if(_99e.length>0){var _99f=[];self._ExtractFromWebkitEntriesAsync(_99e,_99f,_99d);return;}}var _9a0=this.CreateFromFileList(_99c.files);_99d(ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(_9a0));},CreateFromDataTransferAsync:function(_9a1,_9a2){if(_9a1.items&&_9a1.items.length>0){var _9a3=this._GetWebkitEntries(_9a1.items);if(_9a3.length>0){var _9a4=[];self._ExtractFromWebkitEntriesAsync(_9a3,_9a4,_9a2);return;}}var _9a5=[];if(_9a1.files.length>0){_9a5=self.CreateFromFileList(_9a1.files);}_9a2(ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(_9a5));},CreateFromFileList:function(_9a6){var _9a7=[];for(var i=0;i<_9a6.length;i++){var _9a9=_9a6[i];var _9aa="/"+(_9a9.webkitRelativePath||_9a9.name);var _9ab=new ITHit.WebDAV.Client.Upload.FSEntry(_9aa,_9a9);_9a7.push(_9ab);}return _9a7;},_GetWebkitEntries:function(_9ac){var _9ad=[];for(var i=0;i<_9ac.length;i++){var _9af=_9ac[i];var _9b0=_9af.webkitGetAsEntry&&_9af.webkitGetAsEntry();if(_9b0){_9ad.push(_9b0);}}return _9ad;},_ExtractFromWebkitEntriesAsync:function(_9b1,_9b2,_9b3){if(_9b1.length===0){_9b2.push("");var _9b4=new ITHit.WebDAV.Client.Upload.FSEntry.CreateFromPathParts(_9b2);_9b3(ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult([_9b4]));}var _9b5=[];var _9b6=_9b1.length;for(var i=0;i<_9b1.length;i++){var _9b8=_9b1[i];self._ExtractFromWebkitEntryAsync(_9b8,_9b2.slice(),function(_9b9){_9b6--;if(!_9b9.IsSuccess){_9b6=0;_9b3(_9b9);return;}_9b5=_9b5.concat(_9b9.Result);if(_9b6<=0){_9b3(ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(_9b5));}});}},_ExtractFromWebkitEntryAsync:function(_9ba,_9bb,_9bc){if(_9ba.isDirectory){self._ExtractWebkitDirectoryChildrenAsync(_9ba,_9bb.slice(),function(_9bd){if(_9bd.IsSuccess){_9bc(_9bd);}else{_9bc(ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(_9bd.Result));}});}else{_9ba.file(function(file){_9bb.push(file.name);var _9bf=new ITHit.WebDAV.Client.Upload.FSEntry.CreateFromPathParts(_9bb,file);_9bc(ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(_9bf));},function(_9c0){_9bc(ITHit.WebDAV.Client.AsyncResult.CreateFailedResult(_9c0));});}},_ExtractWebkitDirectoryChildrenAsync:function(_9c1,_9c2,_9c3){var _9c4=_9c1.createReader();_9c4.readEntries(function(_9c5){_9c2.push(_9c1.name);self._ExtractFromWebkitEntriesAsync(_9c5,_9c2,_9c3);},function errorHandler(_9c6){_9c3(ITHit.WebDAV.Client.AsyncResult.CreateFailedResult(_9c6));});}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Controls.DropZone",ITHit.WebDAV.Client.Upload.Controls.HtmlControl,{constructor:function(_9c7){this._super(_9c7);this.HtmlElement.addEventListener("drop",ITHit.Utils.MakeScopeClosure(this,"_OnDropHandler"),false);this.HtmlElement.addEventListener("dragover",ITHit.Utils.MakeScopeClosure(this,"_OnDragOverHandler"),false);this.HtmlElement.addEventListener("dragenter",ITHit.Utils.MakeScopeClosure(this,"_OnDragEnterHandler"),false);},_OnDropHandler:function(_9c8){this._StopEvent(_9c8);ITHit.WebDAV.Client.Upload.Controls.FSEntryFactory.CreateFromDataTransferAsync(_9c8.dataTransfer,this._RaiseOnFileInputHandled.bind(this));},_OnDragEnterHandler:function(_9c9){this._StopEvent(_9c9);},_OnDragOverHandler:function(_9ca){if(ITHit.DetectBrowser.IE&&(ITHit.DetectBrowser.IE<10)){this._StopEvent(_9ca);}var dt=_9ca.dataTransfer;if(!dt){this._StopEvent(_9ca);}var _9cc=dt.types;if(_9cc){if(_9cc.contains&&!_9cc.contains("Files")){return;}if(_9cc.indexOf&&(-1==_9cc.indexOf("Files"))){return;}}dt.dropEffect="copy";this._StopEvent(_9ca);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Controls.Input",ITHit.WebDAV.Client.Upload.Controls.HtmlControl,{constructor:function(_9cd){this._super(_9cd);this.HtmlElement.addEventListener("change",ITHit.Utils.MakeScopeClosure(this,"_OnChange"),false);},_OnChange:function(_9ce){if(!_9ce.target.value){return;}this._StopEvent(_9ce);ITHit.WebDAV.Client.Upload.Controls.FSEntryFactory.CreateFromInputAsync(_9ce.target,function(_9cf){this._RaiseOnFileInputHandled(_9cf);_9ce.target.value="";}.bind(this));}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Collections.Pair",null,{Key:"",Value:null,constructor:function(sKey,_9d1){this.Key=sKey;this.Value=_9d1;},});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Collections.Map",null,{_UnderLayingObject:null,_Length:0,constructor:function(_9d2){this._UnderLayingObject={};_9d2=_9d2||[];for(var i=0;i<_9d2.length;i++){var _9d4=_9d2[i];this.Set(_9d4.Key,_9d4.Value);}},Clear:function(){this._UnderLayingObject={};this._Length=0;},Delete:function(sKey){if(!this.Has(sKey)){return false;}delete this._UnderLayingObject[sKey];this._Length--;return true;},Entries:function(){var _9d6=[];var _9d7=this.Keys();for(var i=0;i<_9d7.length;i++){var sKey=_9d7[i];_9d6.push(new ITHit.WebDAV.Client.Upload.Collections.Pair(sKey,this._UnderLayingObject[sKey]));}return _9d6;},Get:function(sKey){return this._UnderLayingObject[sKey];},Has:function(sKey){return !!this.Get(sKey);},Keys:function(){var _9dc=[];for(var sKey in this._UnderLayingObject){if(Object.prototype.hasOwnProperty.call(this._UnderLayingObject,sKey)){_9dc.push(sKey);}}return _9dc;},Set:function(sKey,_9df){if(!this.Has(sKey)){this._Length++;}this._UnderLayingObject[sKey]=_9df;return this;},Values:function(){var _9e0=[];for(var sKey in this._UnderLayingObject){if(Object.prototype.hasOwnProperty.call(this._UnderLayingObject,sKey)){_9e0.push(this._UnderLayingObject[sKey]);}}return _9e0;},Count:function(){return this._Length;},ForEach:function(_9e2,_9e3){var _9e4=this.Entries();_9e4.forEach(function(_9e5){_9e2.call(_9e3,_9e5.Value,_9e5.Key,this);},this);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Providers.UploadDiff",null,{BytesUploaded:0,TimeUpload:0,constructor:function(_9e6,_9e7,_9e8){this.BytesUploaded=_9e6;this.TimeUpload=_9e7;}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Providers.ProgressTracker",null,{_DiffCount:5,_IsCompleted:false,constructor:function(_9e9){this.ResetSpeed();this._Size=_9e9;this._StartPosition=0;this._CurrentProgress=new ITHit.WebDAV.Client.Upload.Progress();this._CurrentProgress.TotalBytes=_9e9;},GetProgress:function(){return this._CurrentProgress;},_CalculateProgress:function(){var _9ea=this._GetSpeed();var _9eb=new ITHit.WebDAV.Client.Upload.Progress();_9eb.TotalBytes=this._Size;_9eb.UploadedBytes=this._BytesUploaded;_9eb.Speed=Math.floor((Math.round(_9ea*10)/10));_9eb.Completed=this._GetUploadedPercents();_9eb.ElapsedTime=Math.floor(this._ElapsedTime);if(_9ea){_9eb.RemainingTime=this._GetRemainingTime(_9ea);}return _9eb;},_GetSpeed:function(){if(!this.IsCountable()){return 0;}var _9ec=this._Diffs.slice(-1*this._DiffCount);var _9ed=0;var _9ee=0;for(var i=0,l=_9ec.length;i<l;i++){_9ed+=_9ec[i].BytesUploaded;_9ee+=_9ec[i].TimeUpload;}var _9f1=_9ed/_9ee;return (_9f1>0)?_9f1:0;},_GetUploadedPercents:function(){if(!this.IsCountable()){return this._IsCompleted?100:0;}return Math.floor((this._BytesUploaded)/(this._Size)*100);},_GetRemainingTime:function(_9f2){var _9f3=Math.ceil((this._Size-this._BytesUploaded)/_9f2);return Math.floor(_9f3);},_Notify:function(){var _9f4=new ITHit.WebDAV.Client.Upload.Events.ProgressChanged(this,this._OldProgress,this._CurrentProgress);ITHit.Events.DispatchEvent(this,"OnProgress",[_9f4]);},UpdateBytes:function(_9f5,_9f6){var oNow=new Date();var _9f8=_9f5+this._StartPosition-this._LastUploadedBytes;var _9f9=(oNow-this._LastReportTime)/1000;var _9fa=new ITHit.WebDAV.Client.Upload.Providers.UploadDiff(_9f8,_9f9);this._Diffs.push(_9fa);this._BytesUploaded=_9f5+this._StartPosition;this._LastUploadedBytes=_9f5+this._StartPosition;this._LastReportTime=oNow;this._ElapsedTime+=_9f9;this._OldProgress=this._CurrentProgress;this._CurrentProgress=this._CalculateProgress();this._Notify();},IsCountable:function(){return this._Size!==0;},_Set:function(_9fb,_9fc){var oNow=new Date();var _9fe=(oNow-this._LastReportTime)/1000;this.ResetSpeed();this._BytesUploaded=_9fb;this._LastUploadedBytes=0;this._LastReportTime=oNow;this._ElapsedTime+=_9fe;this._OldProgress=this._CurrentProgress;this._CurrentProgress=this._CalculateProgress();this._Notify();},OnProgressChanged:function(_9ff,_a00){ITHit.Events.AddListener(this,"OnProgress",_9ff,_a00);},IsCompleted:function(){return this._BytesUploaded===this._Size;},Reset:function(){this._StartPosition=0;this._BytesUploaded=0;this._OldProgress=this._CurrentProgress;this._CurrentProgress=this._CalculateProgress();this._Notify();},StartTracking:function(_a01){_a01=_a01||this._CurrentProgress.UploadedBytes;this._StartPosition=_a01;},StopTracking:function(){this.ResetSpeed();this._OldProgress=this._CurrentProgress;this._CurrentProgress.Speed=0;this._Notify();},SyncProgress:function(_a02){if(_a02.BytesUploaded<this._StartPosition){this.ResetSpeed();this._StartPosition=_a02.BytesUploaded;}this._Set(_a02.BytesUploaded,_a02.TotalContentLength);},ResetSpeed:function(_a03){this._LastReportTime=_a03||new Date();this._LastUploadedBytes=0;this._Diffs=[];},ResetIfComplete:function(){if(this.IsCompleted()){this.Reset();}},SetCompleted:function(){this.UpdateBytes(this._Size,this._Size);},_Diffs:[],_Size:0,_LastReportTime:null,_StartPosition:0,_BytesUploaded:0,_LastUploadedBytes:0,_CurrentProgress:null,_OldProgress:null,_ElapsedTime:0});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.AsyncEvent",null,{constructor:function(_a04,_a05){this.Sender=_a04;this._HandledCallback=_a05||ITHit.Utils.NoOp;this._IsHandled=false;},Name:"",Sender:null,_HandledCallback:null,_Handle:function(_a06){if(this._IsHandled){return;}this._IsHandled=true;this._HandledCallback(_a06);},GetIsHandled:function(){return this._IsHandled;},_IsHandled:false});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.BeforeUploadStarted",ITHit.WebDAV.Client.Upload.Events.AsyncEvent,{Skip:function(){if(this._IsHandled){return;}this.Sender.SetSkip();this._Handle();},Overwrite:function(){if(this._IsHandled){return;}if(!this.Sender.IsFolder()){this.Sender.SetOverwrite(true);}this._Handle();},SkipAll:function(){if(this._IsHandled){return;}var _a07=this.Sender.GetGroup();if(_a07){_a07.GetItems().forEach(function(_a08){_a08.SetSkip();});}else{this.Sender.SetSkip();}this._Handle();},OverwriteAll:function(){if(this._IsHandled){return;}var _a09=this.Sender.GetGroup();if(_a09){_a09.GetItems().forEach(function(_a0a){_a0a.SetOverwrite(true);});}else{this.Sender.SetOverwrite(true);}this._Handle();},Upload:function(){if(this._IsHandled){return;}this._Handle();},constructor:function(_a0b,_a0c){this.Name=ITHit.WebDAV.Client.Upload.Events.EventName.OnBeforeUploadStarted;this._super(_a0b,_a0c);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Path.PathCache",null,{constructor:function(){this._UrlMap=new ITHit.WebDAV.Client.Upload.Collections.Map();},Has:function(oUrl){return this._UrlMap.Has(oUrl.GetHref());},Add:function(oUrl){this._UrlMap.Set(oUrl.GetHref(),oUrl);},Delete:function(oUrl){this._UrlMap.Delete(oUrl.GetHref());},_UrlMap:null});})();(function(){"use strict";var _a10=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Groups.Group",null,{ID:0,IDString:"",constructor:function(_a11,_a12){this._ItemGroupMap=_a11;this._GroupItemMap=_a12;this.ID=++_a10._GroupCounter;this.IDString=this.ID.toString();this.PathMap=new ITHit.WebDAV.Client.Upload.Path.PathCache();},AddRange:function(_a13){var _a14=this._GroupItemMap.Get(this.IDString);_a13.forEach(function(_a15){this._ItemGroupMap.Set(_a15.GetUrl(),this);_a14.push(_a15);}.bind(this));},GetItems:function(){return this._GroupItemMap.Get(this.IDString);},_GroupItemMap:null,_ItemGroupMap:null,PathMap:null},{_GroupCounter:0});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Groups.GroupManager",null,{constructor:function(){this._GroupItemMap=new ITHit.WebDAV.Client.Upload.Collections.Map();this._ItemGroupMap=new ITHit.WebDAV.Client.Upload.Collections.Map();},CreateGroup:function(_a16){_a16=_a16||[];var _a17=new ITHit.WebDAV.Client.Upload.Groups.Group(this._ItemGroupMap,this._GroupItemMap);this._GroupItemMap.Set(_a17.IDString,[]);_a17.AddRange(_a16);return _a17;},GetGroupByItem:function(_a18){return this._ItemGroupMap.Get(_a18.GetUrl());},_GroupItemMap:null,_ItemGroupMap:null});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Utils.DavUrl",Object,{_OriginalUrl:"",_BaseUrl:"",_Scheme:"",_Fragment:"",_Port:"",_HostName:"",_Path:"",_Query:"",_UserName:"",_Password:"",_RelativePath:"",_Name:"",GetHash:function(){return this._Fragment;},GetHost:function(){if(this._Port){return this._HostName+this._PortSeparator+this._Port;}return this._HostName;},GetOrigin:function(){return this.GetProtocol()+this.GetHost();},GetHostName:function(){return this._HostName;},GetPort:function(){return this._Port;},GetProtocol:function(){return this._Scheme;},GetQuery:function(){return this._Query;},GetName:function(){return this._Name;},GetRelativePath:function(){return this._RelativePath;},GetHref:function(){return this._OriginalUrl;},GetBaseUrl:function(){return this._BaseUrl;},toString:function(){return this._OriginalUrl;},Clone:function(){return new ITHit.WebDAV.Client.Upload.Utils.DavUrl(this._RelativePath,this._BaseUrl);},_ParseAuthPartsUndetectedScheme:function(_a19){var _a1a=_a19.split(":");if(_a1a.length===3){this._Scheme=_a1a[0]+":";this._UserName=_a1a[1];this._Password=_a1a[2];}else{if(_a1a.length===2){this._Scheme=_a1a[0];this._UserName=_a1a[1];}else{this._UserName=_a1a[0];}}},_ParseAuthPartsDetectedScheme:function(_a1b){var _a1c=_a1b.split(":");if(_a1c.length===2){this._UserName=_a1c[0];this._Password=_a1c[1];}else{this._UserName=_a1c[0];}},ParseAuthorityWithScheme:function(_a1d,_a1e){var _a1f=_a1d.match(this._PortRexEx);if(_a1f){this._Port=_a1f[0].slice(1);_a1d=_a1d.slice(0,-_a1f[0].length);}var _a20=_a1d.split("@");if(_a20.length>1){this._HostName=_a20[1];if(!_a1e){this._ParseAuthPartsUndetectedScheme(_a20[0]);}else{this._ParseAuthPartsDetectedScheme(_a20[0]);}return;}var _a21=_a20[0].split(":");if(_a21.length>1){this._Scheme=_a21[0]+":";this._HostName=_a21[1];return;}this._HostName=_a1d;},_ParseTrailingPathPart:function(_a22){var _a23=_a22.split(this._FragmentSeparator);if(_a23.length>1){this._Fragment=this._FragmentSeparator+_a23[1];}var _a24=_a23[0].split("?");if(_a24.length>1){this._Query=_a24[1];return _a24[0];}return _a24[0];},_ParseUrl:function(sUrl){var _a26=sUrl.split(this._DashedSchemeSeparator);if(_a26.length>1){this._Scheme=_a26[0]+this._DashedSchemeSeparator;this._IsDashedScheme=true;_a26.splice(0,1);}var _a27=_a26[0].split(this._PathSeparator);_a27=ITHit.Utils.FilterBy(_a27,function(_a28){return _a28!=="";});this.ParseAuthorityWithScheme(_a27[0],this._IsDashedScheme);_a27.splice(0,1);if(_a27.length===0){return;}var _a29=[];for(var i=0;i<_a26.length-1;i++){_a29.push(_a27[i]);}var _a2b=this._ParseTrailingPathPart(_a27[_a27.length-1]);_a29.push(_a2b);this._Name=_a2b;this._Path=this._PathSeparator+_a29.join(this._PathSeparator);this._RelativePath=this._RelativePath||this._Path;},constructor:function(sUrl,_a2d){this._BaseUrl=_a2d||"";this._OriginalUrl=sUrl;if(!!_a2d){this._RelativePath=this._PathSeparator+this._GetWithoutLeadingSeparator(sUrl);this._OriginalUrl=this._GetWithoutTrailingSeparator(_a2d)+this._RelativePath;}this._ParseUrl(this._OriginalUrl);},_PathSeparator:"/",_DashedSchemeSeparator:"://",_FragmentSeparator:"#",_PortRexEx:/:\d+$/,_IsDashedScheme:false,_PortSeparator:":",_GetWithoutTrailingSeparator:function(_a2e){var _a2f=_a2e.slice(-1);if(_a2f===this._PathSeparator){return _a2e.slice(0,-1);}return _a2e;},_GetWithoutLeadingSeparator:function(_a30){var _a31=_a30[0];if(_a31===this._PathSeparator){return _a30.substring(1);}return _a30;}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.UploadItem",null,{GetFile:function(){return this._UploadProvider.FSEntry.GetFile();},GetUrl:function(){return this._UploadProvider.Url.GetHref();},GetBaseUrl:function(){return this._UploadProvider.Url.GetBaseUrl();},GetName:function(){return this._UploadProvider.Url.GetName();},GetRelativePath:function(){return this._UploadProvider.Url.GetRelativePath();},IsFolder:function(){return this._UploadProvider.FSEntry.IsFolder();},GetSource:function(){return this._Source;},GetState:function(){return this._UploadProvider.GetState().GetAsEnum();},GetProgress:function(){return this._UploadProvider.GetProgress();},GetErrors:function(){return this._UploadProvider.Errors.slice();},GetLastError:function(){return this._UploadProvider.LastError;},OnUploadStartedCallback:null,OnUploadErrorCallback:null,CustomData:null,SetOverwrite:function(_a32){this._UploadProvider.Settings.ForceRewrite=_a32;},AddHeader:function(_a33,_a34){this._UploadProvider.Settings.CustomHeaders=this._UploadProvider.Settings.CustomHeaders||[];var _a35=ITHit.Utils.FindBy(this._UploadProvider.Settings.CustomHeaders,function(_a36){return _a36.name===_a33;});if(_a35){_a35.value=_a34;}else{this._UploadProvider.Settings.CustomHeaders.push({name:_a33,value:_a34});}},SetRewrite:function(_a37){this.SetOverwrite(_a37);},GetOverwrite:function(){return this._UploadProvider.Settings.ForceRewrite;},GetRewrite:function(){return this.GetOverwrite();},SetDeleteOnCancel:function(_a38){if(this.IsFolder()&&_a38===true){throw new ITHit.Exceptions.ArgumentException(null,"bDelete");}this._UploadProvider.Settings.DeleteOnCancel=_a38;},GetDeleteOnCancel:function(){return this._UploadProvider.Settings.DeleteOnCancel;},SetSkip:function(){this._UploadProvider.Skip();},SetFailed:function(_a39){if(!(_a39 instanceof ITHit.WebDAV.Client.Exceptions.WebDavException)){var _a3a=ITHit.Phrases.WrongParameterType.Paste("ITHit.WebDAV.Client.Exceptions.WebDavException");throw new ITHit.Exceptions.ArgumentException(_a3a,"oError");}this._UploadProvider.SetFailed(_a39);},_SetProgress:function(_a3b){var _a3c=new ITHit.WebDAV.Client.Upload.Events.ProgressChanged(this,_a3b.OldProgress,_a3b.NewProgress);ITHit.Events.DispatchEvent(this,_a3c.Name,_a3c);},_Source:null,_UploadProvider:null,constructor:function(sUrl,_a3e,_a3f,_a40,_a41,_a42){this._Source=_a3f||null;this._GroupManager=_a41;var _a43=new ITHit.WebDAV.Client.Upload.Utils.DavUrl(ITHit.WebDAV.Client.Encoder.Encode(_a3e.GetRelativePath()),sUrl);this._UploadProvider=new ITHit.WebDAV.Client.Upload.Providers.UploadProvider(_a40,this,_a3e,_a43,_a42);this._UploadProvider.AddListener("OnProgressChanged",this._SetProgress,this);this._UploadProvider.AddListener("OnStateChanged",this._OnStateChangedEventHandler,this);this._UploadProvider.AddListener("OnError",this._OnErrorEventHandler,this);this.CustomData={};},StartAsync:function(_a44){_a44=_a44||function(){};if(this.GetState()!==ITHit.WebDAV.Client.Upload.State.Paused){var that=this;this._GetUploadBehaviourAsync(function(){if(that.GetState()===ITHit.WebDAV.Client.Upload.State.Skipped){_a44();}else{that._UploadProvider.StartUploadAsync(_a44);}});}else{this._UploadProvider.StartUploadAsync(_a44);}},PauseAsync:function(_a46){_a46=_a46||function(){};this._UploadProvider.PauseUpload(_a46);},CancelAsync:function(_a47,_a48,_a49){_a49=_a49||function(){};_a47=_a47||5;_a48=_a48||500;this._UploadProvider.AbortUpload(_a47,_a48,_a49);},GetSize:function(){return this._UploadProvider.FSEntry.GetSize();},_GetUploadBehaviourAsync:function(_a4a){var _a4b=new ITHit.WebDAV.Client.Upload.Events.BeforeUploadStarted(this,_a4a);if(this.OnUploadStartedCallback){this.OnUploadStartedCallback(_a4b);}else{if(ITHit.Events.ListenersLength(this,_a4b.Name)!==0){ITHit.Events.DispatchEvent(this,_a4b.Name,_a4b);}else{_a4a();}}},AddListener:function(_a4c,_a4d,_a4e){this._ValidateEventName(_a4c);_a4e=_a4e||null;ITHit.Events.AddListener(this,_a4c,_a4d,_a4e);},RemoveListener:function(_a4f,_a50,_a51){this._ValidateEventName(_a4f);_a51=_a51||null;ITHit.Events.RemoveListener(this,_a4f,_a50,_a51);},_ValidateEventName:function(_a52){switch(_a52){case ITHit.WebDAV.Client.Upload.Events.EventName.OnStateChanged:case ITHit.WebDAV.Client.Upload.Events.EventName.OnProgressChanged:case ITHit.WebDAV.Client.Upload.Events.EventName.OnError:case ITHit.WebDAV.Client.Upload.Events.EventName.OnBeforeUploadStarted:case ITHit.WebDAV.Client.Upload.Events.EventName.OnUploadError:break;default:throw new ITHit.Exceptions.ArgumentException("Not found event name `"+_a52+"`");}},GetGroup:function(){return this._GroupManager.GetGroupByItem(this);},_GroupManager:null,_OnStateChangedEventHandler:function(_a53){var _a54=new ITHit.WebDAV.Client.Upload.Events.StateChanged(this,_a53.OldState,_a53.NewState);ITHit.Events.DispatchEvent(this,_a54.Name,_a54);},_OnErrorEventHandler:function(_a55){var _a56=new ITHit.WebDAV.Client.Upload.Events.Error(this,_a55.Error);ITHit.Events.DispatchEvent(this,_a56.Name,_a56);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.QueueChanged",ITHit.WebDAV.Client.Upload.Events.BaseEvent,{AddedItems:[],RemovedItems:[],constructor:function(_a57,_a58,_a59){this.Name=ITHit.WebDAV.Client.Upload.Events.EventName.OnQueueChanged;this.AddedItems=_a58||[];this.RemovedItems=_a59||[];this.Sender=_a57;}});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.FileSpan",null,{GetStart:function(){return this._Start;},SetStart:function(_a5a){if(this._End&&_a5a>this._End){throw new ITHit.Exceptions.ArgumentException("Start cant be bigger than end","iStart");}this._Start=_a5a;},GetEnd:function(){return this._End;},SetEnd:function(iEnd){if(iEnd<this._Start){throw new ITHit.Exceptions.ArgumentException("End cant be smaller than start","iEnd");}this._End=iEnd||this._Blob.size;},_Start:0,_End:0,_Blob:null,constructor:function(_a5c,_a5d,iEnd){this._SetBlob(_a5c);this.SetStart(_a5d);this.SetEnd(iEnd||_a5c.size);},_SetBlob:function(_a5f){this._Blob=_a5f;this._Start=0;this._End=_a5f.size;},IsFullFile:function(){return this._Start===0&&this._End===this._Blob.size;},IsPartFile:function(){return !this.IsFullFile();},GetSlice:function(){if(this.IsFullFile()){return this._Blob;}return this._Blob.slice(this._Start,this.End);},GetFile:function(){return this._Blob;},GetFullSize:function(){return this._Blob.size;}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.UploadLocation",null,{constructor:function(_a60,oUrl){this._FolderGenerator=_a60;this._Url=oUrl;this._PathMap=new ITHit.WebDAV.Client.Upload.Path.PathCache();},CreateAsync:function(_a62,_a63){var _a64=function(_a65){delete this._CancellationCallback;_a62.call(_a63,_a65);};this._CancellationCallback=this._FolderGenerator.GeneratePathAsync(this._PathMap,this._Url,_a64,this);},IsExists:function(){return this._PathMap.Has(this._Url);},SetNotExists:function(){var _a66=this._GetAncestorsPaths(this._Url);_a66.forEach(function(oUrl){this._PathMap.Delete(oUrl);},this);},IsInProgress:function(){return !!this._CancellationCallback;},AbortRunningCreationAsync:function(_a68,_a69){if(!this._CancellationCallback){_a68.call(_a69);return;}this._CancellationCallback(function(){_a68.call(_a69);},this);},GetCache:function(){return this._PathMap;},SetCache:function(_a6a){this._PathMap=_a6a;},_CancellationCallback:null,_FolderGenerator:null,_PathMap:null,_Url:null,_GetAncestorsPaths:function(oUrl){var _a6c=oUrl.GetRelativePath().split("/");if(_a6c.length===0){return [];}if(_a6c[_a6c.length-1]===""){_a6c=_a6c.slice(0,-1);}var _a6d=[];var path="";for(var i=0;i<_a6c.length-1;i++){if(path!==""){path+="/";}path+=_a6c[i];_a6d.push(new ITHit.WebDAV.Client.Upload.Utils.DavUrl(path,oUrl.GetBaseUrl()));}return _a6d;}});})();(function(){"use strict";var self=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.ContentWriter",null,{Url:null,constructor:function(_a71,oUrl){this._Session=_a71;this.Url=oUrl;},SetProgressDebounce:function(_a73){this._ReportPeriod=_a73;},BeginWrite:function(_a74){this._InitializeRequestContext();var _a75=null;if(_a74.IsFolder()){_a75=this._CreateMKCOLRequest();this._AddCustomHeaders(_a75);this._RequestContext.AddListener("OnError",this._OnErrorEventHandler,this);_a75.GetResponse(this._OnResponse.bind(this));this._RaiseOnStartEvent();return;}_a75=this._CreatePutRequest(_a74);_a75.Headers.Add("Overwrite","F");this._AddCustomHeaders(_a75);this._RequestContext.AddListener("OnError",this._OnErrorEventHandler,this);_a75.GetResponse(this._OnResponse.bind(this));this._RaiseOnStartEvent();},BeginRewrite:function(_a76){this._InitializeRequestContext();var _a77=null;if(_a76.IsFolder()){_a77=this._CreateMKCOLRequest();this._AddCustomHeaders(_a77);this._RequestContext.AddListener("OnError",this._OnMKCOLRewriteErrorEventHandler,this);_a77.GetResponse(this._OnMKCOLRewriteResponse.bind(this));this._RaiseOnStartEvent();}else{_a77=this._CreatePutRequest(_a76);_a77.Headers.Add("Overwrite","T");this._AddCustomHeaders(_a77);this._RequestContext.AddListener("OnError",this._OnErrorEventHandler,this);_a77.GetResponse(this._OnResponse.bind(this));this._RaiseOnStartEvent();}},BeginAppend:function(_a78){this._InitializeRequestContext();var _a79=this._CreatePutAppendRequest(_a78);_a79.Headers.Add("Overwrite","T");this._AddCustomHeaders(_a79);this._RequestContext.AddListener("OnError",this._OnErrorEventHandler,this);_a79.GetResponse(this._OnResponse.bind(this));this._RaiseOnStartEvent();},AbortAsync:function(_a7a,_a7b){if(this._RequestContext){this._RequestContext.RemoveListener(ITHit.WebDAV.Client.Request.EVENT_ON_UPLOAD_PROGRESS,this._OnProgressEventHandler,this);this._RequestContext.AbortAsync(_a7a,_a7b);}},AddListener:function(_a7c,_a7d,_a7e){_a7e=_a7e||null;this._ValidateEventName(_a7c);ITHit.Events.AddListener(this,_a7c,_a7d,_a7e);},RemoveListener:function(_a7f,_a80,_a81){_a81=_a81||null;this._ValidateEventName(_a7f);ITHit.Events.RemoveListener(this,_a7f,_a80,_a81);},_AddCustomHeaders:function(_a82){if(!this.CustomHeaders){return;}var _a83=[];var _a84=_a82.Headers.GetAll();this.CustomHeaders.forEach(function(_a85){if(_a83.indexOf(_a85.name)<0&&!_a84.hasOwnProperty(_a85.name)){_a82.Headers.Add(_a85.name,_a85.value);_a83.push(_a85.name);}});},_ValidateEventName:function(_a86){switch(_a86){case self.EVENT_ON_PROGRESS:case self.EVENT_ON_ERROR:case self.EVENT_ON_FINISH:case self.EVENT_ON_START:break;default:throw new ITHit.Exceptions.ArgumentException("Not found event name `"+_a86+"`");}},_InitializeRequestContext:function(){if(this.IsActive()){throw new ITHit.Exceptions("Content write already in progress");}this._RequestContext=this._Session.CreateRequest(this.__className);this._RequestContext.AddListener(ITHit.WebDAV.Client.Request.EVENT_ON_UPLOAD_PROGRESS,this._OnProgressEventHandler,this);},_CreateMKCOLRequest:function(){var _a87=this._RequestContext.CreateWebDavRequest(ITHit.WebDAV.Client.Encoder.Encode(this.Url.GetOrigin()),this.Url.GetHref());_a87.Method("MKCOL");this._SetDefaultHeaders(_a87);return _a87;},_OnMKCOLRewriteResponse:function(_a88){if(this._IsConflictResult(_a88)){_a88=this._TransformToSuccess(_a88);}this._OnResponse(_a88);},_OnMKCOLRewriteErrorEventHandler:function(_a89){if(_a89.Error instanceof ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException){return;}},_OnResponse:function(_a8a){if(_a8a.IsAborted){_a8a=ITHit.WebDAV.Client.CancellableResult.CreateAbortedResult(_a8a.Error);this._RequestContext.MarkAbort();}else{_a8a=ITHit.WebDAV.Client.CancellableResult.CreateFromAsyncResultResult(_a8a);this._RequestContext.MarkFinish();}this._RaiseOnFinishEvent(_a8a);this._RemoveRequestContextEventListeners();},_CreatePutRequest:function(_a8b){var _a8c=this._RequestContext.CreateWebDavRequest(ITHit.WebDAV.Client.Encoder.Encode(this.Url.GetOrigin()),this.Url.GetHref());_a8c.Method("PUT");if(_a8b.GetFile().type){_a8c.Headers.Add("Content-Type",_a8b.GetFile().type);}_a8c.BodyBinary(_a8b.GetFile());this._SetDefaultHeaders(_a8c);return _a8c;},_CreatePutAppendRequest:function(_a8d){var _a8e=this._RequestContext.CreateWebDavRequest(ITHit.WebDAV.Client.Encoder.Encode(this.Url.GetOrigin()),this.Url.GetHref());_a8e.Method("PUT");if(_a8d.GetFile().type){_a8e.Headers.Add("Content-Type",_a8d.GetFile().type);}if(_a8d.IsPartFile()){_a8e.Headers.Add("Content-Range",this._GetRangeHeader(_a8d));_a8e.BodyBinary(_a8d.GetSlice());}else{_a8e.BodyBinary(_a8d.GetFile());}this._SetDefaultHeaders(_a8e);return _a8e;},_GetRangeHeader:function(_a8f){return "bytes "+_a8f.GetStart()+"-"+(_a8f.GetEnd()-1)+"/"+_a8f.GetFullSize();},_TransformToSuccess:function(_a90){return new ITHit.WebDAV.Client.AsyncResult(_a90.Error,true,null);},_IsConflictResult:function(_a91){return _a91.Error instanceof ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException;},_RaiseOnProgressEvent:function(_a92){ITHit.Events.DispatchEvent(this,self.EVENT_ON_PROGRESS,[{Progress:_a92,Uploader:this}]);},_RaiseOnErrorEvent:function(_a93){ITHit.Events.DispatchEvent(this,self.EVENT_ON_ERROR,[{Error:_a93,Uploader:this}]);},_RaiseOnFinishEvent:function(_a94){ITHit.Events.DispatchEvent(this,self.EVENT_ON_FINISH,[{Uploader:this,Result:_a94}]);},_RaiseOnStartEvent:function(){ITHit.Events.DispatchEvent(this,self.EVENT_ON_START,[{Uploader:this}]);},_OnProgressEventHandler:function(_a95){var iNow=new Date().getTime();if(iNow-this._LastReportTime>this._ReportPeriod||_a95.Progress.BytesTotal===_a95.Progress.BytesLoaded){this._RaiseOnProgressEvent(_a95.Progress);this._LastReportTime=iNow;}},_OnErrorEventHandler:function(_a97){this._RaiseOnErrorEvent(_a97.Error);},_RemoveRequestContextEventListeners:function(){ITHit.Events.RemoveAllListeners(this._RequestContext,"OnUploadProgress");ITHit.Events.RemoveAllListeners(this._RequestContext,"OnError");delete this._RequestContext;},_SetDefaultHeaders:function(_a98){_a98.Headers.Add("If-Modified-Since","Mon, 26 Jul 1997 05:00:00 GMT");_a98.Headers.Add("X-Requested-With","XMLHttpRequest");},IsActive:function(){return !!this._RequestContext;},_Session:null,_RequestContext:null,_ReportPeriod:1000,_LastReportTime:0},{EVENT_ON_PROGRESS:"OnProgress",EVENT_ON_ERROR:"OnError",EVENT_ON_FINISH:"OnFinish",EVENT_ON_START:"OnStart"});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Path.Generator",null,{constructor:function(_a99){this._Session=_a99;this._WorkList=new ITHit.WebDAV.Client.Upload.Collections.Map();},_SendRequest:function(oUrl){var _a9b=this._Session.CreateRequest(this.__className+".GeneratePathAsync()");ITHit.WebDAV.Client.Methods.Mkcol.GoAsync(_a9b,oUrl.toString(),[],ITHit.WebDAV.Client.Encoder.Encode(oUrl.GetHost()),function(_a9c){if(_a9c.IsAborted){_a9b.MarkAbort();}else{_a9b.MarkFinish();}this._CallAwaiters(oUrl,_a9c);}.bind(this));return _a9b;},_RecurrentGenerate:function(_a9d,_a9e,_a9f,_aa0){var _aa1=null;var _aa2=null;var _aa3=function(_aa4,_aa5){if(!!_aa1){_aa1.AbortAsync(_aa4,_aa5);return;}if(!!_aa2){_aa2(_aa4,_aa5);}_aa4.call(_aa0);};var _aa6=_a9e.slice();var _aa7=[];while(_aa6.length>0){var oUrl=_aa6[0];if(!_a9d.Has(oUrl)){break;}_aa7.push(oUrl);_aa6.splice(0,1);}if(_aa6.length===0){_a9f.call(_aa0,ITHit.WebDAV.Client.CancellableResult.CreateSuccessfulResult(_aa7));return _aa3;}var _aa9=_aa6.shift();if(!this._IsInWork(_aa9)){_aa1=this._SendRequest(_aa9);}this._AddAwaiter(_aa9,function(_aaa){if(!_aaa.IsSuccess&&!this._IsConflictResult(_aaa)){_a9f.call(_aa0,_aaa);return;}_a9d.Add(_aa9);_aa7.push(oUrl);_aa1=null;_aa2=this._RecurrentGenerate(_a9d,_aa6,function(_aab){if(_aab.IsSuccess||this._IsConflictResult(_aaa)){_aab.Result.concat(_aa7);_aab=ITHit.WebDAV.Client.CancellableResult.CreateSuccessfulResult(_aa7);}_aa2=null;_a9f.call(_aa0,_aab);return;},this);}.bind(this));return _aa3;},GeneratePathAsync:function(_aac,oUrl,_aae,_aaf){var _ab0=this._GetAncestorsPaths(oUrl);if(_ab0.length===0){return _aae.call(_aaf,ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult([]));}return this._RecurrentGenerate(_aac,_ab0,_aae,_aaf);},_Session:null,_WorkList:null,_GetAncestorsPaths:function(oUrl){var _ab2=oUrl.GetRelativePath().split("/");if(_ab2.length===0){return [];}if(_ab2[_ab2.length-1]===""){_ab2=_ab2.slice(0,-1);}var _ab3=[];var path="";for(var i=0;i<_ab2.length-1;i++){if(path!==""){path+="/";}path+=_ab2[i];_ab3.push(new ITHit.WebDAV.Client.Upload.Utils.DavUrl(path,oUrl.GetBaseUrl()));}return _ab3;},_IsInWork:function(oUrl){var _ab7=this._WorkList.Get(oUrl.toString());return _ab7&&(_ab7.length>0);},_AddAwaiter:function(oUrl,_ab9){var _aba=this._WorkList.Get(oUrl.toString());var _abb=[];if(_aba){_abb=_abb.concat(_aba);}_abb.push(_ab9);this._WorkList.Set(oUrl.toString(),_abb);},_CallAwaiters:function(oUrl,_abd){var _abe=this._WorkList.Get(oUrl.toString());this._WorkList.Delete(oUrl.toString());_abe.forEach(function(_abf){_abf(_abd);});},_IsConflictResult:function(_ac0){if(_ac0.IsSuccess){return false;}if(_ac0.Error&&_ac0.Error instanceof ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException){return true;}return false;}});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.UploaderSession",ITHit.WebDAV.Client.WebDavSession,{ExistsFolders:[],GetProgressReportAsync:function(sUrl,_ac2,_ac3){var _ac4=this.CreateRequest(this.__className+".ReportAsync()");var _ac5=ITHit.WebDAV.Client.HierarchyItem.GetHost(sUrl);ITHit.WebDAV.Client.Methods.Report.GoAsync(_ac4,sUrl,_ac5,null,null,function(_ac6){_ac4.MarkFinish();_ac2.call(_ac3,_ac6);});return _ac4;},CancelUploadAsync:function(sUrl,_ac8){var _ac9=this.CreateRequest(this.__className+".CancelUpload()");var _aca=ITHit.WebDAV.Client.HierarchyItem.GetHost(sUrl);ITHit.WebDAV.Client.Methods.CancelUpload.GoAsync(_ac9,sUrl,[],_aca,function(_acb){_ac9.MarkFinish();var _acc=new ITHit.WebDAV.Client.AsyncResult(true,true,null);if(_acb.Error instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){_acc=new ITHit.WebDAV.Client.AsyncResult(true,true,null);}else{if(!_acb.IsSuccess){_acc=new ITHit.WebDAV.Client.AsyncResult(_acb.IsSuccess,_acb.IsSuccess,_acb.Error);}}_ac8(_acc);});return _ac9;},CheckExistsAsync:function(sUrl,_ace,_acf){_ace=_ace||function(){};return this.OpenItemAsync(ITHit.WebDAV.Client.Encoder.Encode(sUrl),[],function(_ad0){var _ad1=new ITHit.WebDAV.Client.AsyncResult(true,true,null);if(_ad0.Error instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){_ad1=new ITHit.WebDAV.Client.AsyncResult(false,true,null);}else{if(!_ad0.IsSuccess){_ad1=new ITHit.WebDAV.Client.AsyncResult(_ad0.IsSuccess,_ad0.IsSuccess,_ad0.Error);}}_ace.call(_acf,_ad1);});},DeleteAsync:function(_ad2,_ad3,_ad4){_ad3=_ad3||null;var _ad5=ITHit.WebDAV.Client.HierarchyItem.GetHost(_ad2);var _ad6=this.CreateRequest(this.__className+".DeleteAsync()");ITHit.WebDAV.Client.Methods.Delete.GoAsync(_ad6,_ad2,_ad3,_ad5,function(_ad7){if(!_ad7.IsSuccess&&_ad7.Error instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){_ad7=new ITHit.WebDAV.Client.AsyncResult(true,true,null);}_ad6.MarkFinish();_ad4(_ad7);});return _ad6;},CreateFolderRangeAsync:function(_ad8,_ad9,_ada,_adb){_ad9=_ad9||null;_ada=_ada||ITHit.Utils.NoOp;var _adc=_ad8.length;var _add=this.CreateRequest(this.__className+".CreateFolderRangeAsync()",_adc);this._PerformCreateFolderRangeMethodAsync(_add,_ad8,_ad9,function(_ade){_add.MarkFinish();_ada.call(_adb,_ade);});return _add;},_PerformCreateFolderRangeMethodAsync:function(_adf,_ae0,_ae1,_ae2,_ae3){_ae2=_ae2||ITHit.Utils.NoOp;_ae0=_ae0.slice();var _ae4=_ae0.unshift();var _ae5=ITHit.WebDAV.Client.Encoder.Encode(_ae4.GetHref());var _ae6=ITHit.WebDAV.Client.Encoder.Encode(_ae4.GetHost());ITHit.WebDAV.Client.Methods.Mkcol.GoAsync(_adf,_ae5,_ae1,_ae6,function(_ae7){if(_ae7.IsSuccess||_ae7.Error instanceof ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException){_ae7=new ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult([_ae4]);}if(_ae0.length>0&&_ae7.IsSuccess){this._PerformCreateFolderRangeMethodAsync(_adf,_ae0,_ae1,function(_ae8){if(_ae8.IsSuccess){_ae8.Result.push(_ae4);}_ae2.call(_ae3,_ae8);return;},this);}else{_ae2.call(_ae3,_ae7);return;}});},CreateUploadLocation:function(oUrl){return new ITHit.WebDAV.Client.Upload.UploadLocation(this.GetPathGenerator(),oUrl);},CreateContentWriter:function(oUrl){return new ITHit.WebDAV.Client.Upload.ContentWriter(this,oUrl);},GetPathGenerator:function(){if(!this._PathGenerator){this._PathGenerator=new ITHit.WebDAV.Client.Upload.Path.Generator(this);}return this._PathGenerator;},_PathGenerator:null});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Utils.RepeatableActionContext",null,{_RoundsCount:0,_IsActive:true,_Handler:null,_EndHandler:null,_RepeatTime:0,constructor:function(_aeb,_aec,_aed,_aee){this._RoundsCount=_aeb;this._Handler=_aed;this._EndHandler=_aee;this._IsActive=!!_aeb;this._RepeatTime=_aec;},Stop:function(_aef){this._IsActive=false;this._RoundsCount=0;this._EndHandler(_aef);},_RunRound:function(){if(this._IsActive){this._Handler(this);}else{this.Stop();}},EndRound:function(_af0){this._RoundsCount--;if(this._RoundsCount===0){this.Stop(_af0);}else{setTimeout(this._RunRound.bind(this),this._RepeatTime);}}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Utils.RepeatableAction",null,{_Action:null,constructor:function(_af1){this._Action=_af1;},RunAsync:function(_af2,_af3,_af4){var _af5=new ITHit.WebDAV.Client.Upload.Utils.RepeatableActionContext(_af2,_af3,this._Action,_af4);_af5._RunRound();}});})();(function(){"use strict";var self=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.UploadError",ITHit.WebDAV.Client.Upload.Events.AsyncEvent,{Error:null,Skip:function(){if(this._IsHandled){return;}this._SkipRetry(this.Items);},Retry:function(){if(this._IsHandled){return;}this._Retry(this.Items);},constructor:function(_af7,_af8,_af9){this.Name=ITHit.WebDAV.Client.Upload.Events.EventName.OnUploadError;this.Error=_af8;this._super(_af7,_af9);},_Retry:function(){this._Handle(self.GetRetryResult(this.Error));},_SkipRetry:function(){this._Handle(self.GetSkipResult(this.Error));}},{GetSkipResult:function(_afa){return {Action:"skip",Error:_afa};},GetRetryResult:function(_afb){return {Action:"retry",Error:_afb};}});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.Error",ITHit.WebDAV.Client.Upload.Events.BaseEvent,{Error:null,constructor:function(_afc,_afd){this.Name=ITHit.WebDAV.Client.Upload.Events.EventName.OnError;this.Error=_afd;this.Sender=_afc;}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.BaseState",null,{OnEnter:function(_afe){},OnLeave:function(_aff){},StartUploadAsync:function(_b00,_b01){_b01();},PauseUpload:function(_b02,_b03){_b03();},AbortUpload:function(_b04,_b05,_b06,_b07){_b07();},Skip:function(_b08){},OnUploadLocationPrepared:function(_b09,_b0a){},OnUploadProgressPrepared:function(_b0b,_b0c){},OnContentCompleted:function(_b0d,_b0e){},OnRetryResult:function(_b0f,_b10){},_CompletePauseAsync:function(_b11,_b12,_b13){if(_b11.IsRetrySchedule){_b11.IsRetrySchedule=false;}_b11.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetPausedState());_b12.call(_b13);},_StartPauseAsync:function(_b14,_b15){_b14._ProgressTracker.StopTracking();_b14.CancelAllRequests(function(){if(_b14.IsContentSend){_b14.SyncProgressWithServerAsync(function(_b16){this._CompletePauseAsync(_b14,_b15);},this);return;}this._CompletePauseAsync(_b14,_b15);},this);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.CompletedState",ITHit.WebDAV.Client.Upload.States.BaseState,{GetAsEnum:function(){return ITHit.WebDAV.Client.Upload.State.Completed;},OnEnter:function(_b17){_b17.GetProgressTracker().StopTracking();_b17.GetProgressTracker().SetCompleted();},StartUploadAsync:function(_b18,_b19){_b18.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetUploadingState());this._super(_b18,_b19);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.SkippedState",ITHit.WebDAV.Client.Upload.States.BaseState,{GetAsEnum:function(){return ITHit.WebDAV.Client.Upload.State.Skipped;},StartUploadAsync:function(_b1a,_b1b){_b1a.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetUploadingState());this._super(_b1a,_b1b);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.QueuedState",ITHit.WebDAV.Client.Upload.States.BaseState,{GetAsEnum:function(){return ITHit.WebDAV.Client.Upload.State.Queued;},StartUploadAsync:function(_b1c,_b1d){_b1c.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetUploadingState());this._super(_b1c,_b1d);},Skip:function(_b1e){_b1e.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetSkippedState());},PauseUpload:function(_b1f,_b20){this._StartPauseAsync(_b1f,_b20);},AbortUpload:function(_b21,_b22,_b23,_b24){_b21.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCanceledState());this._super(_b21,_b22,_b23,_b24);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.CanceledState",ITHit.WebDAV.Client.Upload.States.BaseState,{GetAsEnum:function(){return ITHit.WebDAV.Client.Upload.State.Canceled;},OnEnter:function(_b25){_b25.GetProgressTracker().StopTracking();_b25.GetProgressTracker().Reset();},StartUploadAsync:function(_b26,_b27){_b26.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetUploadingState());this._super(_b26,_b27);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.UploadingState",ITHit.WebDAV.Client.Upload.States.BaseState,{GetAsEnum:function(){return ITHit.WebDAV.Client.Upload.State.Uploading;},OnEnter:function(_b28){_b28.PrepareUploadLocation();},PauseUpload:function(_b29,_b2a){this._StartPauseAsync(_b29,_b2a);},AbortUpload:function(_b2b,_b2c,_b2d,_b2e){_b2b.CancelAllRequests(function(){_b2b.GetProgressTracker().StopTracking();_b2b.CancelAndDeleteAsync(_b2c,_b2d,function(_b2f){if(_b2f.IsSuccess){_b2b.GetProgressTracker().Reset();_b2b.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCanceledState());}else{_b2b.AddError(_b2f.Error);_b2b.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetFailedState());}_b2e();},this);},this);},OnContentCompleted:function(_b30,_b31){var _b32=_b31.Result;if(_b32.IsAborted){return;}if(_b32.IsSuccess){_b30.GetProgressTracker().SetCompleted();_b30.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCompletedState());return;}this._HandleError(_b30,_b32);},_HandleError:function(_b33,_b34){_b33.AddError(_b34.Error);_b33.BeginRetry(_b34.Error);},OnRetryResult:function(_b35,_b36){if(_b36.Action==="skip"){_b35.AddError(_b36.Error);_b35.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetFailedState());return;}if(_b35.IsContentSend){_b35.SyncProgressWithServerAsync(function(_b37){if(_b37.Error){this._HandleError(_b36.Error);}else{this.OnEnter(_b35);}},this);return;}this.OnEnter(_b35);},OnUploadLocationPrepared:function(_b38,_b39){if(_b39.IsAborted){return;}if(!_b39.IsSuccess){this._HandleError(_b38,_b39);return;}_b38._SendContent();}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.ResumeState",ITHit.WebDAV.Client.Upload.States.UploadingState,{OnEnter:function(_b3a){if(_b3a.IsContentSend){_b3a.PrepareProgress();return;}this._super(_b3a);},OnUploadProgressPrepared:function(_b3b,_b3c){if(_b3c.IsAborted){return;}if(!_b3c.IsSuccess){this._HandleError(_b3b,_b3c);return;}if(_b3b.GetProgressTracker().IsCompleted()){_b3b.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCompletedState());}_b3b._SendContent();}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.PausedState",ITHit.WebDAV.Client.Upload.States.BaseState,{GetAsEnum:function(){return ITHit.WebDAV.Client.Upload.State.Paused;},OnEnter:function(_b3d){_b3d.GetProgressTracker().StopTracking();_b3d.GetProgressTracker().ResetSpeed();},StartUploadAsync:function(_b3e,_b3f){_b3e.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetResumeState());this._super(_b3e,_b3f);},AbortUpload:function(_b40,_b41,_b42,_b43){if(_b40.IsContentSend){_b40.CancelAndDeleteAsync(_b41,_b42,function(_b44){if(_b44.IsSuccess){_b40.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCanceledState());}else{_b40.AddError(_b44.Error);_b40.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetFailedState());}_b43();},this);}else{_b40.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCanceledState());_b43();}}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.FailedState",ITHit.WebDAV.Client.Upload.States.BaseState,{GetAsEnum:function(){return ITHit.WebDAV.Client.Upload.State.Failed;},OnEnter:function(_b45){_b45.GetProgressTracker().StopTracking();_b45.GetProgressTracker().ResetSpeed();},StartUploadAsync:function(_b46,_b47){_b46.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetUploadingState());this._super(_b46,_b47);},AbortUpload:function(_b48,_b49,_b4a,_b4b){if(_b48.IsContentSend){_b48.CancelAndDeleteAsync(_b49,_b4a,function(_b4c){if(_b4c.IsSuccess){_b48.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCanceledState());}else{_b48.AddError(_b4c.Error);_b48.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetFailedState());}_b4b();},this);}else{_b48.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCanceledState());_b4b();}}});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Settings",null,{ConcurrentUploads:2,State:ITHit.WebDAV.Client.Upload.State.Queued,DeleteOnCancel:true});})();(function(){"use strict";var self=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.Factory",null,{},{GetUploadingState:function(){if(!self._UploadingState){self._UploadingState=new ITHit.WebDAV.Client.Upload.States.UploadingState();}return self._UploadingState;},GetSkippedState:function(){if(!self._SkippedState){self._SkippedState=new ITHit.WebDAV.Client.Upload.States.SkippedState();}return self._SkippedState;},GetQueuedState:function(){if(!self._QueuedState){self._QueuedState=new ITHit.WebDAV.Client.Upload.States.QueuedState();}return self._QueuedState;},GetPausedState:function(){if(!self._PausedState){self._PausedState=new ITHit.WebDAV.Client.Upload.States.PausedState();}return self._PausedState;},GetFailedState:function(){if(!self._FailedState){self._FailedState=new ITHit.WebDAV.Client.Upload.States.FailedState();}return self._FailedState;},GetCompletedState:function(){if(!self._CompletedState){self._CompletedState=new ITHit.WebDAV.Client.Upload.States.CompletedState();}return self._CompletedState;},GetCanceledState:function(){if(!self._CanceledState){self._CanceledState=new ITHit.WebDAV.Client.Upload.States.CanceledState();}return self._CanceledState;},GetResumeState:function(){if(!self._ResumeState){self._ResumeState=new ITHit.WebDAV.Client.Upload.States.ResumeState();}return self._ResumeState;},GetState:function(_b4e){switch(_b4e){case ITHit.WebDAV.Client.Upload.State.Canceled:return self.GetCanceledState();case ITHit.WebDAV.Client.Upload.State.Completed:return self.GetCompletedState();case ITHit.WebDAV.Client.Upload.State.Failed:return self.GetFailedState();case ITHit.WebDAV.Client.Upload.State.Paused:return self.GetPausedState();case ITHit.WebDAV.Client.Upload.State.Queued:return self.GetQueuedState();case ITHit.WebDAV.Client.Upload.State.Skipped:return self.GetSkippedState();case ITHit.WebDAV.Client.Upload.State.Uploading:return self.GetUploadingState();default:throw new ITHit.Exceptions.ArgumentException(null,"oState");}}});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.ItemSettings",null,{ForceRewrite:false,AlwaysRewriteFolders:true,IgnoreCancelErrors:false,DeleteOnCancel:false});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.ServerItem",null,{constructor:function(_b4f,oUrl){this._Session=_b4f;this._Url=oUrl;},GetProgressAsync:function(_b51,_b52){return this._Session.GetProgressReportAsync(this._Url.GetHref(),function(_b53){if(_b53.IsSuccess&&_b53.Result[0]){var _b54=_b53.Result[0];_b51.call(_b52,ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(_b54));return;}_b51.call(_b52,_b53);},this);},CancelUploadAsync:function(_b55,_b56){this._Session.CancelUploadAsync(this._Url.GetHref(),function(_b57){_b55.call(_b56,_b57);});},DeleteAsync:function(_b58,_b59,_b5a,_b5b){var that=this;var _b5d=new ITHit.WebDAV.Client.Upload.Utils.RepeatableAction(function(_b5e){that._Session.DeleteAsync(that._Url.GetHref(),null,function(_b5f){if(_b5f.IsSuccess){_b5e.Stop(_b5f);}else{_b5e.EndRound(_b5f);}});});_b5d.RunAsync(_b58,_b59,function(_b60){_b5a.call(_b5b,_b60);});},CancelAndDeleteAsync:function(_b61,_b62,_b63,_b64){this.CancelUploadAsync(function(_b65){if(!_b65.IsSuccess){return _b63.call(_b64,_b65);}this.DeleteAsync(_b61,_b62,_b63,_b64);},this);},_Url:null,_Session:null});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Providers.UploadProvider",null,{Session:null,_UploadItem:null,constructor:function(_b66,_b67,_b68,oUrl,_b6a){this.FSEntry=_b68;this.Url=oUrl;this.Settings=new ITHit.WebDAV.Client.Upload.ItemSettings();if(this.FSEntry.IsFile()){this.Settings.DeleteOnCancel=_b6a.DeleteOnCancel;}else{this.Settings.DeleteOnCancel=false;}this.Session=_b66;this._UploadItem=_b67;this._ProgressTracker=new ITHit.WebDAV.Client.Upload.Providers.ProgressTracker(this.FSEntry.GetSize());this._State=ITHit.WebDAV.Client.Upload.States.Factory.GetState(_b6a.State);this.Errors=[];this.UploadLocation=_b66.CreateUploadLocation(this.Url);this.ServerItem=new ITHit.WebDAV.Client.Upload.ServerItem(_b66,this.Url);this.ContentWriter=_b66.CreateContentWriter(this.Url);this.ContentWriter.AddListener(ITHit.WebDAV.Client.Upload.ContentWriter.EVENT_ON_PROGRESS,this.OnRequestProgressEventHandler,this);this.ContentWriter.AddListener(ITHit.WebDAV.Client.Upload.ContentWriter.EVENT_ON_FINISH,this._LoadHandler,this);this.ContentWriter.AddListener(ITHit.WebDAV.Client.Upload.ContentWriter.EVENT_ON_START,this._StartLoadHandler,this);this._ProgressTracker.OnProgressChanged(this._SetProgress,this);},StartUploadAsync:function(_b6b){this._BeginStateChange();this._State.StartUploadAsync(this,_b6b);},PauseUpload:function(_b6c){this._BeginStateChange();this._State.PauseUpload(this,_b6c);},AbortUpload:function(_b6d,_b6e,_b6f){this._BeginStateChange();_b6f=_b6f||function(){};this._State.AbortUpload(this,_b6d,_b6e,_b6f);},Skip:function(){this._BeginStateChange();this._State.Skip(this);},GetGroup:function(){return this._UploadItem.GetGroup();},GetProgressTracker:function(){return this._ProgressTracker;},_ProgressTracker:null,AddListener:function(_b70,_b71,_b72){this._ValidateEventName(_b70);_b72=_b72||null;ITHit.Events.AddListener(this,_b70,_b71,_b72);},RemoveListener:function(_b73,_b74,_b75){this._ValidateEventName(_b73);_b75=_b75||null;ITHit.Events.RemoveListener(this,_b73,_b74,_b75);},_ValidateEventName:function(_b76){switch(_b76){case ITHit.WebDAV.Client.Upload.Events.EventName.OnStateChanged:case ITHit.WebDAV.Client.Upload.Events.EventName.OnError:case ITHit.WebDAV.Client.Upload.Events.EventName.OnProgressChanged:break;default:throw new ITHit.Exceptions.ArgumentException("Not found event name `"+_b76+"`");}},CheckRetryAsync:function(_b77,_b78,_b79){var _b7a=new ITHit.WebDAV.Client.Upload.Events.UploadError(this._UploadItem,_b77,function(_b7b){if(!this.IsRetrySchedule){return;}_b78.call(_b79,_b7b);}.bind(this));if(!this._UploadItem.OnUploadErrorCallback&&(ITHit.Events.ListenersLength(this._UploadItem,_b7a.Name)===0)){_b78.call(_b79,ITHit.WebDAV.Client.Upload.Events.UploadError.GetSkipResult(_b77));return;}this.IsRetrySchedule=true;if(this._UploadItem.OnUploadErrorCallback){this._UploadItem.OnUploadErrorCallback.call(this,_b7a);}ITHit.Events.DispatchEvent(this._UploadItem,_b7a.Name,_b7a);},Errors:null,LastError:null,AddError:function(_b7c){this.AddErrorSilent(_b7c);this._RiseOnErrorEvent(_b7c);},AddErrorSilent:function(_b7d){this.LastError=_b7d;this.Errors.push(_b7d);},SetFailed:function(_b7e){var _b7f=ITHit.WebDAV.Client.Upload.States.Factory.GetFailedState();this.AddError(_b7e);this.SetState(_b7f);},_RiseOnErrorEvent:function(_b80){var _b81=new ITHit.WebDAV.Client.Upload.Events.Error(this,_b80);ITHit.Events.DispatchEvent(this,_b81.Name,_b81);},UploadLocation:null,IsContentSend:false,ServerItem:null,_LoadHandler:function(_b82){if(_b82.Result.Error instanceof ITHit.WebDAV.Client.Exceptions.ConflictException){this.UploadLocation.SetNotExists();this.IsContentSend=false;}this._State.OnContentCompleted(this,_b82);},_StartLoadHandler:function(_b83){this.IsContentSend=true;},OnRequestProgressEventHandler:function(_b84){this.GetProgressTracker().UpdateBytes(_b84.Progress.BytesLoaded,_b84.Progress.TotalBytes);},_SendContent:function(){this._ProgressTracker.StartTracking();if(this.Settings&&this.Settings.CustomHeaders){this.ContentWriter.CustomHeaders=this.Settings.CustomHeaders;}if(this.FSEntry.IsFolder()){if(this.Settings.ForceRewrite||this.Settings.AlwaysRewriteFolders){this.ContentWriter.BeginRewrite(this.FSEntry);}else{this.ContentWriter.BeginWrite(this.FSEntry);}}else{var _b85=new ITHit.WebDAV.Client.Upload.FileSpan(this.FSEntry.GetFile(),this._ProgressTracker.GetProgress().UploadedBytes);if(_b85.IsFullFile()&&(this.Settings.ForceRewrite||this.IsContentSend)){this.ContentWriter.BeginRewrite(this.FSEntry);return;}if(_b85.IsFullFile()&&!(this.Settings.ForceRewrite&&this.IsContentSend)){this.ContentWriter.BeginWrite(this.FSEntry);return;}this.ContentWriter.BeginAppend(_b85);}},SyncProgressWithServerAsync:function(_b86,_b87){if(!this._ProgressTracker.IsCountable()){return this.Session.CheckExistsAsync(this.Url.GetUrl(),function(_b88){if(!_b88.IsSuccess){_b86.call(_b87,_b88);return;}if(_b88.Result===true){this._ProgressTracker.SetCompleted();_b86.call(_b87,ITHit.WebDAV.Client.CancellableResult.CreateSuccessfulResult(this._ProgressTracker.GetProgress()));return;}this._ProgressTracker.Reset();_b86.call(_b87,ITHit.WebDAV.Client.CancellableResult.CreateSuccessfulResult(this._ProgressTracker.GetProgress()));},this);}return this.ServerItem.GetProgressAsync(function(_b89){if(_b89.IsSuccess){this._ProgressTracker.SyncProgress(_b89.Result);_b86.call(_b87,ITHit.WebDAV.Client.CancellableResult.CreateSuccessfulResult(this._ProgressTracker.GetProgress()));return;}if(_b89.Error instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){this._ProgressTracker.Reset();_b86.call(_b87,ITHit.WebDAV.Client.CancellableResult.CreateSuccessfulResult(this._ProgressTracker.GetProgress()));return;}_b86.call(_b87,ITHit.WebDAV.Client.CancellableResult.CreateFailedResult(_b89.Error));},this);},IsRetrySchedule:false,PrepareUploadLocation:function(){this.UploadLocation.SetCache(this.GetGroup().PathMap);this.UploadLocation.CreateAsync(this._OnGeneratePathCompleted,this);},_OnGeneratePathCompleted:function(_b8a){if(_b8a.IsAborted){return;}this._State.OnUploadLocationPrepared(this,_b8a);},CancelAllRequests:function(_b8b,_b8c){this._CancelProgressAsync(function(){this._CancelLocationCreateAsync(function(){this._CancelContentSendingAsync(_b8b,_b8c);},this);},this);},_CancelLocationCreateAsync:function(_b8d,_b8e){if(this.UploadLocation.IsInProgress()){this.UploadLocation.AbortRunningCreationAsync(function(){_b8d.call(_b8e);},this);}else{_b8d.call(_b8e);}},_CancelContentSendingAsync:function(_b8f,_b90){if(this.ContentWriter.IsActive()){this.ContentWriter.AbortAsync(function(){_b8f.call(_b90);},this);}else{_b8f.call(_b90);}},_CancelProgressAsync:function(_b91,_b92){if(this.IsProgressSyncInProgress){this._SyncProgressRequest.AbortAsync(function(){_b91.call(_b92);},this);}else{_b91.call(_b92);}},_SyncProgressRequest:null,IsProgressSyncInProgress:false,PrepareProgress:function(){this._SyncProgressRequest=this.SyncProgressWithServerAsync(this._OnUpdateFromServerCompleted,this);},_OnUpdateFromServerCompleted:function(_b93){this.IsProgressSyncInProgress=false;if(_b93.IsAborted){return;}this._State.OnUploadProgressPrepared(this,_b93);},_IsStateChanging:function(){return this._IsChanging;},SetState:function(_b94){var _b95=this._State;this._State.OnLeave(this);this._State=_b94;this._State.OnEnter(this);var _b96=new ITHit.WebDAV.Client.Upload.Events.StateChanged(this,_b95.GetAsEnum(),this._State.GetAsEnum());ITHit.Events.DispatchEvent(this,_b96.Name,_b96);},GetState:function(){return this._State;},_State:null,_IsChanging:false,_BeginStateChange:function(){this._IsChanging=true;},_EndStateChange:function(){this._IsChanging=false;},ContentWriter:null,BeginRetry:function(_b97){this._ProgressTracker.StopTracking();this.CheckRetryAsync(_b97,this._OnCheckRetryCompleted,this);},_OnCheckRetryCompleted:function(_b98){this._State.OnRetryResult(this,_b98);},Settings:null,FSEntry:null,Url:null,CancelAndDeleteAsync:function(_b99,_b9a,_b9b,_b9c){this.ServerItem.CancelUploadAsync(function(_b9d){if(!this.Settings.DeleteOnCancel){_b9b.call(_b9c,ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(null));return;}this.ServerItem.DeleteAsync(_b99,_b9a,function(_b9e){if(!_b9e.IsSuccess&&!this.Settings.IgnoreCancelErrors){return _b9b.call(_b9c,_b9d);}this.IsContentSend=false;_b9b.call(_b9c,ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(null));},this);},this);},GetProgress:function(){return this._ProgressTracker.GetProgress();},_SetProgress:function(_b9f){var _ba0=this._Progress;this._Progress=_b9f;var _ba1=new ITHit.WebDAV.Client.Upload.Events.ProgressChanged(this,_ba0,_b9f);ITHit.Events.DispatchEvent(this,_ba1.Name,_ba1);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.UploadItemsCreated",ITHit.WebDAV.Client.Upload.Events.AsyncEvent,{Items:[],Skip:function(_ba2){if(this._IsHandled){return;}this._Skip(_ba2);},SkipAll:function(){if(this._IsHandled){return;}this._Skip(this.Items);},OverwriteAll:function(){if(this._IsHandled){return;}this._Overwrite(this.Items);},Overwrite:function(_ba3){if(this._IsHandled){return;}this._Overwrite(_ba3);},UploadAll:function(){if(this._IsHandled){return;}this.Upload(this.Items);},Upload:function(_ba4){if(this._IsHandled){return;}this._Handle({Skip:[],Overwrite:[],Original:this.Items,Upload:_ba4});},constructor:function(_ba5,_ba6,_ba7){this.Name=ITHit.WebDAV.Client.Upload.Events.EventName.OnUploadItemsCreated;this.Items=_ba6||[];this._super(_ba5,_ba7);},_Overwrite:function(_ba8){var _ba9=this._CreateResult([],_ba8);this._Handle(_ba9);},_Skip:function(_baa){var _bab=this._CreateResult(_baa,[]);this._Handle(_bab);},_CreateResult:function(_bac,_bad){return {Skip:_bac||[],Overwrite:_bad||[],Original:this.Items};},_Handle:function(_bae){_bae=_bae||this._CreateResult();this._super(_bae);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Utils.Array",null,{},{MapParallel:function(_baf,_bb0,_bb1,_bb2){var _bb3=[];var _bb4=0;if(_baf.length===0){setTimeout(_bb1.apply(_bb2,_baf));}for(var i=0;i<_baf.length;i++){_bb0.apply(_bb2,[_baf[i],i,_baf,ITHit.Utils.MakeScopeClosure(this,function(i,_bb7){_bb3[i]=_bb7;_bb4++;if(_bb4===_baf.length){setTimeout(_bb1.call(_bb2,_bb3));}},i)]);}},DistinctBy:function(_bb8,_bb9,_bba){var map=Object.create(null);_bb9=_bb9||Object.prototype.toString;for(var i=0;i<_bb8.length;i++){var _bbd=_bb9.call(_bba,_bb8[i]).toString();if(!map[_bbd]){map[_bbd]=_bb8[i];}}return Object.keys(map).map(function(sKey){return map[sKey];});},Take:function(_bbf,_bc0){if(!_bc0){return [_bbf.shift()];}var _bc1=(_bbf.length>_bc0)?_bc0:_bbf.length;var _bc2=[];for(var i=0;i<_bc1;i++){_bc2.push(_bbf.shift());}return _bc2;},Remove:function(_bc4,_bc5){var _bc6=_bc4.indexOf(_bc5);if(_bc6>-1){_bc4.splice(_bc6,1);}}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.AutoUploader",null,{constructor:function(_bc7){this._ParallelUploads=_bc7||0;this._QueueArray=[];this._Active=[];this._Reserve=0;},AddRange:function(_bc8){_bc8.forEach(this._AddToQueue,this);this._StartUploads();},Add:function(_bc9){this._AddToQueue(_bc9);this._StartUploads();},Remove:function(_bca){_bca.RemoveListener(ITHit.WebDAV.Client.Upload.Events.EventName.OnStateChanged,this._OnStateChangeEventHandler,this);ITHit.WebDAV.Client.Upload.Utils.Array.Remove(this._QueueArray,_bca);ITHit.WebDAV.Client.Upload.Utils.Array.Remove(this._Active,_bca);this._StartUploads();},Reserve:function(_bcb){_bcb=_bcb||1;this._Reserve+=_bcb;},Release:function(_bcc){_bcc=_bcc||1;this._Reserve-=_bcc;this._StartUploads();},GetBusy:function(){return this._Active.length+this._Reserve;},GetFree:function(){var _bcd=this.GetBusy();if(_bcd>=this._ParallelUploads){return 0;}else{if(_bcd===0){return this._ParallelUploads;}else{return (this._ParallelUploads-_bcd)%this._ParallelUploads;}}},_QueueArray:null,_Active:null,_ParallelUploads:0,_OnStateChangeEventHandler:function(_bce){if(_bce.NewState!==ITHit.WebDAV.Client.Upload.State.Uploading){this.Remove(_bce.Sender);}else{this._StartUploads();}},_StartUploads:function(){if(this._QueueArray.length===0){return;}var _bcf=this.GetFree();if(_bcf<=0){return;}var _bd0=ITHit.WebDAV.Client.Upload.Utils.Array.Take(this._QueueArray,_bcf);if(_bd0.length<1){return;}this.Reserve(_bd0.length);_bd0.forEach(this._StartSingle,this);},_StartSingle:function(_bd1){this._Active.push(_bd1);_bd1.StartAsync();this.Release();},_AddToQueue:function(_bd2){this._QueueArray.push(_bd2);_bd2.AddListener(ITHit.WebDAV.Client.Upload.Events.EventName.OnStateChanged,this._OnStateChangeEventHandler,this);},_Reserve:0});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Queue",null,{Uploader:null,_UnderlyingArray:null,_Session:null,_AutoUploader:null,constructor:function(_bd3){this.Uploader=_bd3;this._Session=new ITHit.WebDAV.Client.Upload.UploaderSession();this._UnderlyingArray=[];this._GroupManager=new ITHit.WebDAV.Client.Upload.Groups.GroupManager();this._AutoUploader=new ITHit.WebDAV.Client.Upload.AutoUploader(this.Uploader.Settings.ConcurrentUploads);},ShouldReplaceDuplicate:function(_bd4){var _bd5=this.GetByUrl(_bd4.GetUrl());var _bd6=_bd5.GetState();return !(_bd6===ITHit.WebDAV.Client.Upload.State.Uploading||_bd6===ITHit.WebDAV.Client.Upload.State.Paused);},AddGroup:function(sUrl,_bd8,_bd9){var _bda=[];for(var i=0;i<_bd8.length;i++){var _bdc=_bd8[i];var _bdd=new ITHit.WebDAV.Client.Upload.UploadItem(sUrl,_bdc,_bd9,this._Session,this._GroupManager,this.Uploader.Settings);if(this.HasUrl(_bdd.GetUrl())){if(this.ShouldReplaceDuplicate(_bdd)){this.RemoveByUrl(_bdd.GetUrl());}else{continue;}}_bda.push(_bdd);}this._DispatchOnUploadItemsCreatedAsync(_bda,this._OnUploadItemsCreatedAsyncDispatched.bind(this));},Add:function(_bde){var sUrl=_bde.GetUrl();if(this.HasUrl(sUrl)){return;}this._UnderlyingArray.push(_bde);var _be0=new ITHit.WebDAV.Client.Upload.Events.QueueChanged(this,[_bde]);ITHit.Events.DispatchEvent(this,_be0.Name,[_be0]);this._AutoUploader.Add(_bde);},AddRange:function(_be1){for(var i=0;i<_be1.length;i++){var _be3=_be1[i];var sUrl=_be3.GetUrl();if(this.HasUrl(sUrl)){continue;}this._UnderlyingArray.push(_be3);}this._GroupManager.CreateGroup(_be1);this._OnQueueChanged(_be1,null);var _be5=_be1.filter(function(_be6){return _be6.GetState()===ITHit.WebDAV.Client.Upload.State.Queued;});this._AutoUploader.AddRange(_be5);},Restart:function(_be7){for(var i=0;i<_be7.length;i++){if(!this.HasUrl(_be7[i].GetUrl())){throw new ITHit.Exceptions.ArgumentException("Item should be a part of queue`");}}this._AutoUploader.AddRange(_be7);},GetByUrl:function(sUrl){return ITHit.Utils.FindBy(this._UnderlyingArray,function(_bea){return _bea.GetUrl()===sUrl;});},GetLength:function(){return this._UnderlyingArray.length;},HasUrl:function(sUrl){return !!this.GetByUrl(sUrl);},RemoveByUrl:function(sUrl){var _bed=this.GetByUrl(sUrl);if(!_bed){return;}var _bee=_bed.GetState();if(_bee===ITHit.WebDAV.Client.Upload.State.Uploading||_bee===ITHit.WebDAV.Client.Upload.State.Paused){_bed.Abort();}var _bef=ITHit.Utils.IndexOf(this._UnderlyingArray,_bed);this._UnderlyingArray.splice(_bef,1);this._OnQueueChanged(null,[_bed]);this._AutoUploader.Remove(_bed);},OnUploadItemsCreatedCallback:null,_OnQueueChanged:function(_bf0,_bf1){var _bf2=new ITHit.WebDAV.Client.Upload.Events.QueueChanged(this,_bf0,_bf1);ITHit.Events.DispatchEvent(this,_bf2.Name,[_bf2]);},_DispatchOnUploadItemsCreatedAsync:function(_bf3,_bf4){var _bf5=new ITHit.WebDAV.Client.Upload.Events.UploadItemsCreated(this,_bf3.slice(),_bf4);if(!this.OnUploadItemsCreatedCallback&&(ITHit.Events.ListenersLength(this,_bf5.Name)===0)){_bf5.OverwriteAll();}if(this.OnUploadItemsCreatedCallback){this.OnUploadItemsCreatedCallback(_bf5);}ITHit.Events.DispatchEvent(this,_bf5.Name,_bf5);},AddListener:function(_bf6,_bf7,_bf8){_bf8=_bf8||null;switch(_bf6){case ITHit.WebDAV.Client.Upload.Events.EventName.OnQueueChanged:case ITHit.WebDAV.Client.Upload.Events.EventName.OnUploadItemsCreated:ITHit.Events.AddListener(this,_bf6,_bf7,_bf8);break;default:throw new ITHit.WebDAV.Client.Exceptions.WebDavException("Not found event name `"+_bf6+"`");}},RemoveListener:function(_bf9,_bfa,_bfb){ITHit.Events.RemoveListener(this,_bf9,_bfa,_bfb);},_OnUploadItemsCreatedAsyncDispatched:function(_bfc){if(_bfc.Upload){this.AddRange(_bfc.Upload);return;}this._OnUploadItemsCreatedAsyncDispatchedDeprecated(_bfc);},_OnUploadItemsCreatedAsyncDispatchedDeprecated:function(_bfd){var _bfe=this._FilterSkippedItems(_bfd);var _bff=this._CreateUrlUploadItemMap(_bfd.Overwrite);_bfe.forEach(function(_c00){if(_bff.Has(_c00.GetUrl())){_c00.SetOverwrite(true);}});this.AddRange(_bfe);},_FilterSkippedItems:function(_c01){var _c02=this._CreateUrlUploadItemMap(_c01.Skip);return _c01.Original.filter(function(_c03){return !_c02.Has(_c03.GetUrl());});},_CreateUrlUploadItemMap:function(_c04){var oMap=new ITHit.WebDAV.Client.Upload.Collections.Map();_c04.forEach(function(_c06){oMap.Set(_c06.GetUrl(),_c06);});return oMap;},_GroupManager:null});})();(function(){"use strict";var _c07=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.DropZoneCollection",null,{_UnderlyingSet:null,Uploader:null,constructor:function(_c08){this._Uploader=_c08;this._UnderlyingSet={};},AddById:function(_c09){var _c0a=this.GetById(_c09);if(_c0a){return _c0a;}var _c0b=new ITHit.WebDAV.Client.Upload.Controls.DropZone(_c09);this._UnderlyingSet[_c09]=_c0b;this._RaiseOnCollectionChanged([_c0b],[]);return _c0b;},GetById:function(_c0c){return this._UnderlyingSet[_c0c];},RemoveById:function(_c0d){var _c0e=this.GetById(_c0d);if(_c0e){delete this._UnderlyingSet[_c0d];this._RaiseOnCollectionChanged([],[_c0e]);}},AddListener:function(_c0f,_c10,_c11){_c11=_c11||null;this._CheckEventNameOtThrow(_c0f);ITHit.Events.AddListener(this,_c0f,_c10,_c11);},RemoveListener:function(_c12,_c13,_c14){_c14=_c14||null;this._CheckEventNameOtThrow(_c12);ITHit.Events.RemoveListener(this,_c12,_c13,_c14);},_CheckEventNameOtThrow:function(_c15){if(_c15!==_c07.EVENT_ON_COLLECTION_CHANGED){throw new ITHit.WebDAV.Client.Exceptions.NotFoundEventNameException(_c15);}},_RaiseOnCollectionChanged:function(_c16,_c17){ITHit.Events.DispatchEvent(this,_c07.EVENT_ON_COLLECTION_CHANGED,[{Sender:this,AddedItems:_c16||[],RemovedItems:_c17||[]}]);}},{EVENT_ON_COLLECTION_CHANGED:"OnCollectionChanged"});})();(function(){var _c18=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.InputCollection",null,{_UnderlyingSet:null,Uploader:null,constructor:function(_c19){this._UnderlyingArray=[];this._Uploader=_c19;},AddById:function(_c1a){var _c1b=new ITHit.WebDAV.Client.Upload.Controls.Input(_c1a);this._UnderlyingArray[_c1a]=_c1b;this._RaiseOnCollectionChanged([_c1b],[]);return _c1b;},GetById:function(_c1c){return this._UnderlyingArray[_c1c];},RemoveById:function(_c1d){var _c1e=this.GetById(_c1d);if(_c1e){delete this._UnderlyingSet[_c1d];this._RaiseOnCollectionChanged([],[_c1e]);}},AddListener:function(_c1f,_c20,_c21){_c21=_c21||null;this._CheckEventNameOtThrow(_c1f);ITHit.Events.AddListener(this,_c1f,_c20,_c21);},RemoveListener:function(_c22,_c23,_c24){_c24=_c24||null;this._CheckEventNameOtThrow(_c22);ITHit.Events.RemoveListener(this,_c22,_c23,_c24);},_CheckEventNameOtThrow:function(_c25){if(_c25!==_c18.EVENT_ON_COLLECTION_CHANGED){throw new ITHit.WebDAV.Client.Exceptions.NotFoundEventNameException(_c25);}},_RaiseOnCollectionChanged:function(_c26,_c27){ITHit.Events.DispatchEvent(this,_c18.EVENT_ON_COLLECTION_CHANGED,[{Sender:this,AddedItems:_c26||[],RemovedItems:_c27||[]}]);}},{EVENT_ON_COLLECTION_CHANGED:"OnCollectionChanged"});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Uploader",null,{DropZones:null,Inputs:null,Queue:null,Settings:null,_UploadProvider:null,constructor:function(){this.Inputs=new ITHit.WebDAV.Client.Upload.InputCollection(this);this.Inputs.AddListener(ITHit.WebDAV.Client.Upload.InputCollection.EVENT_ON_COLLECTION_CHANGED,this._OnControlCollectionChangedEventHandler,this);this.DropZones=new ITHit.WebDAV.Client.Upload.DropZoneCollection(this);this.DropZones.AddListener(ITHit.WebDAV.Client.Upload.DropZoneCollection.EVENT_ON_COLLECTION_CHANGED,this._OnControlCollectionChangedEventHandler,this);this.Settings=new ITHit.WebDAV.Client.Upload.Settings();this.Queue=new ITHit.WebDAV.Client.Upload.Queue(this);},SetUploadUrl:function(sUrl){this._UploadUrl=sUrl;},GetUploadUrl:function(){return this._UploadUrl;},_OnControlCollectionChangedEventHandler:function(_c29){_c29.AddedItems.forEach(function(_c2a){_c2a.AddListener(ITHit.WebDAV.Client.Upload.Controls.HtmlControl.EVENT_ON_FILE_INPUT_HANDLED,this._OnFileInputEventHandler.bind(this));}.bind(this));_c29.RemovedItems.forEach(function(_c2b){_c2b.RemoveListener(ITHit.WebDAV.Client.Upload.Controls.HtmlControl.EVENT_ON_FILE_INPUT_HANDLED,this._OnFileInputEventHandler.bind(this));}.bind(this));},_OnFileInputEventHandler:function(_c2c){this.Queue.AddGroup(this._UploadUrl,_c2c.AsyncResult.Result,_c2c.Source);}});})();ITHit.Temp={};
87
+ (function(){ITHit.DefineClass("ITHit.Environment",null,{__static:{OS:ITHit.DetectOS.OS}});})();ITHit.oNS=ITHit.Declare("ITHit.Exceptions");ITHit.oNS.LoggerException=function(_102,_103){ITHit.Exceptions.LoggerException.baseConstructor.call(this,_102,_103);};ITHit.Extend(ITHit.oNS.LoggerException,ITHit.Exception);ITHit.oNS.LoggerException.prototype.Name="LoggerException";ITHit.DefineClass("ITHit.LogLevel",null,{},{All:32,Debug:16,Info:8,Warn:4,Error:2,Fatal:1,Off:0});(function(){var _104={};var _105={};var _106={};for(var _107 in ITHit.LogLevel){_104[ITHit.LogLevel[_107]]=[];_106[ITHit.LogLevel[_107]]=[];}var _108=function(_109,_10a,iTo,_10c){for(var _10d in ITHit.LogLevel){if(ITHit.LogLevel[_10d]>iTo){continue;}if(!ITHit.LogLevel[_10d]||(_10a>=ITHit.LogLevel[_10d])){continue;}if(_109){_106[ITHit.LogLevel[_10d]].push(_10c);}else{for(var i=0;i<_106[ITHit.LogLevel[_10d]].length;i++){if(_106[ITHit.LogLevel[_10d]][i]==_10c){_106[ITHit.LogLevel[_10d]].splice(i,1);}}}}};_108.add=function(iTo,_110){_108.increase(ITHit.LogLevel.Off,iTo,_110);};_108.del=function(iTo,_112){_108.decrease(ITHit.LogLevel.Off,iTo,_112);};_108.increase=function(_113,iTo,_115){_108(true,_113,iTo,_115);};_108.decrease=function(_116,iTo,_118){_108(false,_116,iTo,_118);};ITHit.DefineClass("ITHit.Logger",null,{},{Level:ITHit.Config.LogLevel||ITHit.LogLevel.Debug,AddListener:function(_119,_11a){if(_11a==ITHit.LogLevel.Off){this.RemoveListener();}var _11b=0;var _11c=0;outer:for(var _11d in _104){for(var i=0;i<_104[_11d].length;i++){if(_104[_11d][i]==_119){_11b=_11d;_11c=i;break outer;}}}if(!_11b){_104[_11a].push(_119);_108.add(_11a,_119);}else{if(_11a!=_11b){_104[_11b].splice(_11c,1);_104[_11a].push(_119);if(_11a>_11b){_108.increase(_11b,_11a,_119);}else{_108.decrease(_11a,_11b,_119);}}}},RemoveListener:function(_11f){outer:for(var _120 in _104){for(var i=0;i<_104[_120].length;i++){if(_104[_120][i]==_11f){_104[_120].splice(i,1);_108.del(_120,_11f);break outer;}}}return true;},SetLogLevel:function(_122,_123){return this.AddListener(_122,_123,true);},GetLogLevel:function(_124){for(var _125 in _104){for(var i=0;i<_104[_125].length;i++){if(_104[_125][i]==_124){return _125;}}}return false;},GetListenersForLogLevel:function(_127){return _106[_127];},GetCount:function(_128){return _106[_128].length;},WriteResponse:function(_129){if(Logger.GetCount(ITHit.LogLevel.Info)){var sStr="";if(_129 instanceof HttpWebResponse){sStr+="\n"+_129.StatusCode+" "+_129.StatusDescription+"\n";}sStr+=_129.ResponseUri+"\n";for(var _12b in _129.Headers){sStr+=_12b+": "+_129.Headers[_12b]+"\n";}sStr+=_129.GetResponse();this.WriteMessage(sStr);}},WriteMessage:function(_12c,_12d){_12d=("undefined"==typeof _12d)?ITHit.LogLevel.Info:parseInt(_12d);if(ITHit.Logger.GetCount(_12d)){var _12e=this.GetListenersForLogLevel(_12d);var _12c=String(_12c).replace(/([^\n])$/,"$1\n");for(var i=0;i<_12e.length;i++){try{_12e[i](_12c,ITHit.LogLevel.Info);}catch(e){if(!_12e[i] instanceof Function){throw new ITHit.Exceptions.LoggerException("Log listener expected function, passed: \""+_12e[i]+"\"",e);}else{throw new ITHit.Exceptions.LoggerException("Message could'not be logged.",e);}}}}},StartLogging:function(){},FinishLogging:function(){},StartRequest:function(){},FinishRequest:function(){}});})();ITHit.oNS=ITHit.Declare("ITHit.Exceptions");ITHit.oNS.PhraseException=function(_130,_131){ITHit.Exceptions.PhraseException.baseConstructor.call(this,_130,_131);};ITHit.Extend(ITHit.oNS.PhraseException,ITHit.Exception);ITHit.oNS.PhraseException.prototype.Name="PhraseException";ITHit.Phrases=(function(){var _132={};var _133=function(_134){this._arguments=_134;};_133.prototype.Replace=function(_135){var _136=_135.substr(1,_135.length-2);return ("undefined"!=typeof this._arguments[_136])?this._arguments[_136]:_135;};var _137=function(_138){this._phrase=_138;};_137.prototype.toString=function(){return this._phrase;};_137.prototype.Paste=function(){var _139=this._phrase;if(/\{\d+?\}/.test(_139)){var _13a=new _133(arguments);_139=_139.replace(/\{(\d+?)\}/g,function(args){return _13a.Replace(args);});}return _139;};var _13c=function(){};_13c.prototype.LoadJSON=function(_13d,_13e){var _13f=ITHit.Utils;if(_13e&&!_13f.IsString(_13e)){throw new ITHit.Exceptions.PhraseException("Namespace expected to be a string.");}var _140=this;if(_13e){_140=ITHit.Declare(_13e);}try{var _141=_13d;if(_13f.IsString(_141)){_141=eval("("+_13d+")");}this._AddPhrases(_141,_140);}catch(e){console.dir(e);throw new ITHit.Exceptions.PhraseException("Wrong text structure.",e);}};_13c.prototype.LoadLocalizedJSON=function(_142,_143,_144){var _145=ITHit.Utils,_146=_145.IsUndefined,_147=_145.IsObject;if(!_142||!_145.IsObjectStrict(_142)){throw new ITHit.Exceptions.PhraseException("Default phrases expected to be an JSON object.");}if(_143&&!_145.IsObjectStrict(_143)){throw new ITHit.Exceptions.PhraseException("Default phrases expected to be an JSON object");}var _148;if(_143){_148={};this._MergePhrases(_148,_143);this._MergePhrases(_148,_142);}else{_148=_142;}this.LoadJSON(_148,_144);};_13c.prototype._MergePhrases=function(dest,_14a){var _14b=ITHit.Utils,_14c=_14b.IsUndefined,_14d=_14b.IsObject;for(var prop in _14a){if(!_14a.hasOwnProperty(prop)){continue;}if(_14c(dest[prop])){dest[prop]=_14a[prop];}else{if(_14d(dest[prop])){this._MergePhrases(dest[prop],_14a[prop]);}}}};_13c.prototype._AddPhrases=function(_14f,_150){_150=_150||this;for(var _151 in _14f){if(("object"!=typeof _14f[_151])||!(_14f[_151] instanceof Object)){switch(_151){case "_AddPhrases":case "LoadJSON":case "LoadLocalizedJSON":case "_Merge":case "prototype":case "toString":throw new ITHit.Exceptions.PhraseException("\""+_151+"\" is reserved word.");break;}_150[_151]=new _137(_14f[_151]);}else{this._AddPhrases(_14f[_151],_150[_151]?_150[_151]:(_150[_151]={}));}}};return new _13c();})();ITHit.oNS=ITHit.Declare("ITHit.Exceptions");ITHit.oNS.XPathException=function(_152,_153){ITHit.Exceptions.XPathException.baseConstructor.call(this,_152,_153);};ITHit.Extend(ITHit.oNS.XPathException,ITHit.Exception);ITHit.oNS.XPathException.prototype.Name="XPathException";ITHit.XPath={_component:null,_version:null};ITHit.XPath.evaluate=function(_154,_155,_156,_157,_158){if(("string"!=typeof _154)&&!(_154 instanceof String)){throw new ITHit.Exceptions.XPathException("Expression was expected to be a string in ITHit.XPath.eveluate.");}if(!(_155 instanceof ITHit.XMLDoc)){throw new ITHit.Exceptions.XPathException("Element was expected to be an ITHit.XMLDoc object in ITHit.XPath.evaluate.");}if(_156&&!(_156 instanceof ITHit.XPath.resolver)){throw new ITHit.Exceptions.XPathException("Namespace resolver was expected to be an ITHit.XPath.resolver object in ITHit.XPath.evaluate.");}if(_157&&!(_157 instanceof ITHit.XPath.result)){throw new ITHit.Exceptions.XPathException("Result expected to be an ITHit.XPath.result object in ITHit.XPath.evaluate.");}_156=_156||null;_157=_157||null;if(document.implementation.hasFeature("XPath","3.0")&&document.evaluate){var _159=_155._get();var _15a=_159.ownerDocument||_159;if(_157){_15a.evaluate(_154,_159,_156,ITHit.XPath.result.UNORDERED_NODE_SNAPSHOT_TYPE,_157._res);return;}var oRes=new ITHit.XPath.result(_15a.evaluate(_154,_159,_156,ITHit.XPath.result.UNORDERED_NODE_SNAPSHOT_TYPE,null));if(!_158){return oRes;}else{return oRes.iterateNext();}}else{if(undefined!==window.ActiveXObject){var _159=_155._get();var _15c=false;try{_159.getProperty("SelectionNamespaces");_15c=true;}catch(e){}var _15d=false;if(3==ITHit.XMLDoc._version){var sXml=_159.xml.replace(/^\s+|\s+$/g,"");var _15f="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/";var _160="cutted";if(-1!=sXml.indexOf(_15f)||true){var _161=sXml.replace(_15f,_160);var _162=new ITHit.XMLDoc();_162.load(_161);if(_156){var oNs=_156.getAll();for(var _164 in oNs){if(_15f==oNs[_164]){oNs.add(_164,_160);break;}}}_159=_162._get();_15c=true;_15d=true;}}if(_15c&&_156&&_156.length()){var _165=_156.getAll();var aNs=[];for(var _164 in _165){aNs.push("xmlns:"+_164+"='"+_165[_164]+"'");}_159.setProperty("SelectionNamespaces",aNs.join(" "));}if(_15d){_159=_159.documentElement;}try{if(!_158){if(!_157){return new ITHit.XPath.result(_159.selectNodes(_154));}else{_157._res=_159.selectNodes(_154);return;}}else{var mOut=_159.selectSingleNode(_154);if(mOut){return new ITHit.XMLDoc(mOut);}else{return mOut;}}}catch(e){if(!_15c&&(-2147467259==e.number)&&_156&&_156.length()){var sEl=new ITHit.XMLDoc(_159).toString();var oEl=new ITHit.XMLDoc();oEl.load(sEl);_159=oEl._get();var _165=_156.getAll();var aNs=[];for(var _164 in _165){aNs.push("xmlns:"+_164+"='"+_165[_164]+"'");}_159.setProperty("SelectionNamespaces",aNs.join(" "));_159=_159.documentElement;if(!_158){if(!_157){return new ITHit.XPath.result(_159.selectNodes(_154));}else{_157._res=_159.selectNodes(_154);return;}}else{var mOut=_159.selectSingleNode(_154);if(mOut){return new ITHit.XMLDoc(mOut);}else{return mOut;}}}else{throw new ITHit.Exceptions.XPathException("Evaluation failed for searching \""+_154+"\".",e);}}}}throw new ITHit.Exceptions.XPathException("XPath support is not implemented for your browser.");};ITHit.XPath.selectSingleNode=function(_16a,_16b,_16c){return ITHit.XPath.evaluate(_16a,_16b,_16c,false,true);};ITHit.XPath.resolver=function(){this._ns={};this._length=0;};ITHit.XPath.resolver.prototype.add=function(_16d,sNs){this._ns[_16d]=sNs;this._length++;};ITHit.XPath.resolver.prototype.remove=function(_16f){delete this._ns[_16f];this._length--;};ITHit.XPath.resolver.prototype.get=function(_170){return this._ns[_170]||null;};ITHit.XPath.resolver.prototype.lookupNamespaceURI=ITHit.XPath.resolver.prototype.get;ITHit.XPath.resolver.prototype.getAll=function(){var oOut={};for(var _172 in this._ns){oOut[_172]=this._ns[_172];}return oOut;};ITHit.XPath.resolver.prototype.length=function(){return this._length;};ITHit.XPath.result=function(_173){this._res=_173;this._i=0;this.length=_173.length?_173.length:_173.snapshotLength;};ITHit.XPath.result.ANY_TYPE=0;ITHit.XPath.result.NUMBER_TYPE=1;ITHit.XPath.result.STRING_TYPE=2;ITHit.XPath.result.BOOLEAN_TYPE=3;ITHit.XPath.result.UNORDERED_NODE_ITERATOR_TYPE=4;ITHit.XPath.result.ORDERED_NODE_ITERATOR_TYPE=5;ITHit.XPath.result.UNORDERED_NODE_SNAPSHOT_TYPE=6;ITHit.XPath.result.ORDERED_NODE_SNAPSHOT_TYPE=7;ITHit.XPath.result.ANY_UNORDERED_NODE_TYPE=8;ITHit.XPath.result.FIRST_ORDERED_NODE_TYPE=9;ITHit.XPath.result.prototype.iterateNext=function(_174){var mOut;if(!_174){if(!this._res.snapshotItem){try{mOut=this._res[this._i++];}catch(e){return null;}}else{mOut=this._res.snapshotItem(this._i++);}}else{mOut=this._res[_174];}if(mOut){return new ITHit.XMLDoc(mOut);}else{return mOut;}};ITHit.XPath.result.prototype.snapshotItem=ITHit.XPath.result.prototype.iterateNext;ITHit.XPath.result.prototype.type=function(){return this._res.resultType;};ITHit.XPath.result.prototype._get=function(){return this._res;};ITHit.oNS=ITHit.Declare("ITHit.Exceptions");ITHit.oNS.XMLDocException=function(_176,_177){ITHit.Exceptions.XMLDocException.baseConstructor.call(this,_176,_177);};ITHit.Extend(ITHit.oNS.XMLDocException,ITHit.Exception);ITHit.oNS.XMLDocException.prototype.Name="XMLDocException";ITHit.XMLDoc=(function(){var _178;var _179=1;var _17a=2;var _17b=3;var _17c=4;var _17d=5;var _17e=6;var _17f=7;var _180=8;var _181=9;var _182=10;var _183=11;var _184=12;var _185=function(_186){this._xml=null;this._encoding=null;if(null!==_186){if(!_186||("object"!=typeof _186)){if(undefined!==window.ActiveXObject){if(_178){this._xml=new window.ActiveXObject(_178);}else{var _187=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","Msxml2.DOMDocument.3.0"];var _188=[6,4,3];for(var i=0;i<_187.length;i++){try{this._xml=new window.ActiveXObject(_187[i]);_185._version=_188[i];_178=_187[i];break;}catch(e){if(3==_188[i]){throw new ITHit.Exception("XML component is not supported.");}}}}}else{if(document.implementation&&document.implementation.createDocument){this._xml=document.implementation.createDocument("","",null);}}if(undefined===this._xml){throw new ITHit.Exceptions.XMLDocException("XML support for current browser is not implemented.");}this._xml.async=false;}else{this._xml=_186;}}else{this._xml=null;return null;}};_185._version=0;_185.prototype.contentEncoding=function(_18a){if(undefined!==_18a){this._encoding=_18a;}return this._encoding;};_185.prototype.load=function(_18b){if(!ITHit.Utils.IsString(_18b)){throw new ITHit.Exceptions.XMLDocException("String was expected for xml parsing.");}if(!_18b){return new _185();}var oDoc;if(undefined!==window.ActiveXObject){try{if(3==_185._version){_18b=_18b.replace(/(?:urn\:uuid\:c2f41010\-65b3\-11d1\-a29f\-00aa00c14882\/)/g,"cutted");}if(_185._version){_18b=_18b.replace(/<\?.*\?>/,"");this._xml.loadXML(_18b);}else{var _18d=new _185();if(3==_185._version){_18b=_18b.replace(/(?:urn\:uuid\:c2f41010\-65b3\-11d1\-a29f\-00aa00c14882\/)/g,"cutted");}_18d.load(_18b);this._xml=_18d._get();}}catch(e){var _18e=e;}}else{if(document.implementation.createDocument){try{var _18f=new DOMParser();oDoc=_18f.parseFromString(_18b,"text/xml");this._xml=oDoc;}catch(e){var _18e=e;}}else{throw new ITHit.Exceptions.XMLDocException("Cannot create XML parser object. Support for current browser is not implemented.");}}if(undefined!==_18e){throw new ITHit.Exceptions.XMLDocException("ITHit.XMLDoc.load() method failed.\nPossible reason: syntax error in passed XML string.",_18e);}};_185.prototype.appendChild=function(_190){if(!_190 instanceof ITHit.XMLDoc){throw ITHit.Exceptions.XMLDocException("Instance of XMLDoc was expected in appendChild method.");}this._xml.appendChild(_190._get());};_185.prototype.createElement=function(_191){return new _185(this._xml.createElement(_191));};_185.prototype.createElementNS=function(sNS,_193){if(this._xml.createElementNS){var _194=this._xml.createElementNS(sNS,_193);return new ITHit.XMLDoc(_194);}else{try{return new _185(this._xml.createNode(_179,_193,sNS));}catch(e){throw new ITHit.Exceptions.XMLDocException("Node is not created.",e);}}throw new ITHit.Exceptions.XMLDocException("createElementNS for current browser is not implemented.");};_185.prototype.createTextNode=function(_195){return new _185(this._xml.createTextNode(_195));};_185.prototype.getElementById=function(sId){return new _185(this._xml.getElementById(sId));};_185.prototype.getElementsByTagName=function(_197){return new _185(this._xml.getElementsByTagName(_197));};_185.prototype.childNodes=function(){var _198=this._xml.childNodes;var _199=[];for(var i=0;i<_198.length;i++){_199.push(new ITHit.XMLDoc(_198[i]));}return _199;};_185.prototype.getElementsByTagNameNS=function(_19b,_19c){if(this._xml.getElementsByTagNameNS){var _19d=this._xml.getElementsByTagNameNS(_19b,_19c);}else{var _19e=this.toString();var _19f=new ITHit.XMLDoc();_19f.load(_19e);var _1a0=new ITHit.XPath.resolver();_1a0.add("a",_19b);var oRes=ITHit.XPath.evaluate(("//a:"+_19c),_19f,_1a0);var _19d=oRes._get();}var aRet=[];for(var i=0;i<_19d.length;i++){var _1a4=new ITHit.XMLDoc(_19d[i]);aRet.push(_1a4);}return aRet;};_185.prototype.setAttribute=function(_1a5,_1a6){this._xml.setAttribute(_1a5,_1a6);};_185.prototype.hasAttribute=function(_1a7){return this._xml.hasAttribute(_1a7);};_185.prototype.getAttribute=function(_1a8){return this._xml.getAttribute(_1a8);};_185.prototype.removeAttribute=function(_1a9){this._xml.removeAttribute(_1a9);};_185.prototype.hasAttributeNS=function(_1aa){return this._xml.hasAttribute(_1aa);};_185.prototype.getAttributeNS=function(_1ab){return this._xml.getAttribute(_1ab);};_185.prototype.removeAttributeNS=function(_1ac){this._xml.removeAttribute(_1ac);};_185.prototype.removeChild=function(_1ad){if(!_1ad instanceof ITHit.XMLDoc){throw ITHit.Exceptions.XMLDocException("Instance of XMLDoc was expected in ITHit.XMLDoc.removeChild() method.");}this._xml.removeChild(_1ad);return new ITHit.XMLDoc(_1ad);};_185.prototype.removeNode=function(_1ae){if(!_1ae instanceof ITHit.XMLDoc){throw ITHit.Exceptions.XMLDocException("Instance of XMLDoc was expected in ITHit.XMLDoc.removeNode() method.");}_1ae=_1ae._get();if(_1ae.removeNode){return new _185(_1ae.removeNode(true));}else{return new _185(_1ae.parentNode.removeChild(_1ae));}};_185.prototype.cloneNode=function(_1af){if(undefined===_1af){_1af=true;}return new ITHit.XMLDoc(this._xml.cloneNode(_1af));};_185.prototype.getProperty=function(_1b0){return this._xml[_1b0];};_185.prototype.setProperty=function(_1b1,_1b2){this._xml[_1b1]=_1b2;};_185.prototype.nodeName=function(){return this._xml.nodeName;};_185.prototype.nextSibling=function(){return new ITHit.XMLDoc(this._xml.nextSibling);};_185.prototype.namespaceURI=function(){return this._xml.namespaceURI;};_185.prototype.hasChildNodes=function(){return (this._xml&&this._xml.hasChildNodes());};_185.prototype.firstChild=function(){return new _185(this._xml.firstChild);};_185.prototype.localName=function(){return this._xml.localName||this._xml.baseName;};_185.prototype.nodeValue=function(){var _1b3="";if(this._xml){_1b3=this._xml.nodeValue;}if("object"!=typeof _1b3){return _1b3;}else{return new ITHit.XMLDoc(_1b3);}};_185.prototype.nodeType=function(){return this._xml.nodeType;};_185.prototype._get=function(){return this._xml;};_185.prototype.toString=function(_1b4){return _185.toString(this._xml,this._encoding,_1b4);};_185.toString=function(_1b5,_1b6,_1b7){if(!_1b5){throw new ITHit.Exceptions.XMLDocException("ITHit.XMLDoc: XML object expected.");}var _1b8="";var _1b9=true;if(undefined!==_1b5.xml){_1b8=_1b5.xml.replace(/^\s+|\s+$/g,"");_1b9=false;}else{if(document.implementation.createDocument&&(undefined!==XMLSerializer)){_1b8=new XMLSerializer().serializeToString(_1b5);_1b9=false;}}if(_1b8){if(_1b6){_1b6=" encoding=\""+this._encoding+"\"";}else{_1b6="";}var sOut=((!_1b7)?"<?xml version=\"1.0\""+_1b6+"?>":"")+_1b8.replace(/^<\?xml[^?]+\?>/,"");return sOut;}if(_1b9){throw new ITHit.Exceptions.XMLDocException("XML parser object is not created.");}return _1b8;};return _185;})();ITHit.XMLDoc.nodeTypes={NODE_ELEMENT:1,NODE_ATTRIBUTE:2,NODE_TEXT:3,NODE_CDATA_SECTION:4,NODE_ENTITY_REFERENCE:5,NODE_ENTITY:6,NODE_PROCESSING_INSTRUCTION:7,NODE_COMMENT:8,NODE_DOCUMENT:9,NODE_DOCUMENT_TYPE:10,NODE_DOCUMENT_FRAGMENT:11,NODE_NOTATION:12};ITHit.oNS=ITHit.Declare("ITHit.Exceptions");ITHit.oNS.ArgumentNullException=function(_1bb){var _1bc="Variable \""+_1bb+"\" nas null value.";ITHit.Exceptions.ArgumentNullException.baseConstructor.call(this,_1bc);};ITHit.Extend(ITHit.oNS.ArgumentNullException,ITHit.Exception);ITHit.oNS.ArgumentNullException.prototype.Name="ArgumentNullException";ITHit.DefineClass("ITHit.WebDAV.Client.WebDavUtil",null,{__static:{VerifyArgumentNotNull:function(_1bd,_1be){if(_1bd===null){throw new ITHit.Exceptions.ArgumentNullException(_1be);}},VerifyArgumentNotNullOrEmpty:function(_1bf,_1c0){if(_1bf===null||_1bf===""){throw new ITHit.Exceptions.ArgumentNullException(_1c0);}},NormalizeEmptyToNull:function(_1c1){if(_1c1===null||_1c1===""){return null;}return _1c1;},NormalizeEmptyOrNoneToNull:function(_1c2){if(_1c2===null||_1c2===""||_1c2=="None"){return null;}return _1c2;},HashCode:function(str){var hash=0;for(var i=0;i<str.length;i++){var _1c6=str.charCodeAt(i);hash=((hash<<5)-hash)+_1c6;hash=hash&hash;}return hash;}}});ITHit.DefineClass("ITHit.WebDAV.Client.PropertyName",null,{Name:null,NamespaceUri:null,constructor:function(_1c7,_1c8){ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNullOrEmpty(_1c7,"sName");this.Name=_1c7;this.NamespaceUri=_1c8;},Equals:function(oObj,_1ca){_1ca=_1ca||false;if(this==oObj){return true;}if(!oObj instanceof ITHit.WebDAV.Client.PropertyName){return false;}return _1ca?this.Name.toLowerCase()===oObj.Name.toLowerCase()&&this.NamespaceUri.toLowerCase()===oObj.NamespaceUri.toLowerCase():this.Name===oObj.Name&&this.NamespaceUri===oObj.NamespaceUri;},IsStandardProperty:function(){if(!ITHit.WebDAV.Client.PropertyName.StandardNames){ITHit.WebDAV.Client.PropertyName.StandardNames=[ITHit.WebDAV.Client.DavConstants.ResourceType,ITHit.WebDAV.Client.DavConstants.DisplayName,ITHit.WebDAV.Client.DavConstants.CreationDate,ITHit.WebDAV.Client.DavConstants.GetLastModified,ITHit.WebDAV.Client.DavConstants.GetContentLength,ITHit.WebDAV.Client.DavConstants.GetContentType,ITHit.WebDAV.Client.DavConstants.GetETag,ITHit.WebDAV.Client.DavConstants.IsCollection,ITHit.WebDAV.Client.DavConstants.IsFolder,ITHit.WebDAV.Client.DavConstants.IsHidden,ITHit.WebDAV.Client.DavConstants.SupportedLock,ITHit.WebDAV.Client.DavConstants.LockDiscovery,ITHit.WebDAV.Client.DavConstants.GetContentLanguage,ITHit.WebDAV.Client.DavConstants.Source,ITHit.WebDAV.Client.DavConstants.QuotaAvailableBytes,ITHit.WebDAV.Client.DavConstants.QuotaUsedBytes,new ITHit.WebDAV.Client.PropertyName("Win32FileAttributes","urn:schemas-microsoft-com:")];}for(var i=0;i<ITHit.WebDAV.Client.PropertyName.StandardNames.length;i++){if(this.Equals(ITHit.WebDAV.Client.PropertyName.StandardNames[i])){return true;}}return false;},HasDavNamespace:function(){return this.NamespaceUri===ITHit.WebDAV.Client.DavConstants.NamespaceUri;},toString:function(){return this.NamespaceUri+":"+this.Name;}});(function(){var _1cc="DAV:";ITHit.DefineClass("ITHit.WebDAV.Client.DavConstants",null,{__static:{NamespaceUri:_1cc,Comment:new ITHit.WebDAV.Client.PropertyName("comment",_1cc),CreationDate:new ITHit.WebDAV.Client.PropertyName("creationdate",_1cc),CreatorDisplayName:new ITHit.WebDAV.Client.PropertyName("creator-displayname",_1cc),DisplayName:new ITHit.WebDAV.Client.PropertyName("displayname",_1cc),GetContentLength:new ITHit.WebDAV.Client.PropertyName("getcontentlength",_1cc),GetContentType:new ITHit.WebDAV.Client.PropertyName("getcontenttype",_1cc),GetETag:new ITHit.WebDAV.Client.PropertyName("getetag",_1cc),GetLastModified:new ITHit.WebDAV.Client.PropertyName("getlastmodified",_1cc),IsCollection:new ITHit.WebDAV.Client.PropertyName("iscollection",_1cc),IsFolder:new ITHit.WebDAV.Client.PropertyName("isFolder",_1cc),IsHidden:new ITHit.WebDAV.Client.PropertyName("ishidden",_1cc),ResourceType:new ITHit.WebDAV.Client.PropertyName("resourcetype",_1cc),SupportedLock:new ITHit.WebDAV.Client.PropertyName("supportedlock",_1cc),LockDiscovery:new ITHit.WebDAV.Client.PropertyName("lockdiscovery",_1cc),GetContentLanguage:new ITHit.WebDAV.Client.PropertyName("getcontentlanguage",_1cc),Source:new ITHit.WebDAV.Client.PropertyName("source",_1cc),QuotaAvailableBytes:new ITHit.WebDAV.Client.PropertyName("quota-available-bytes",_1cc),QuotaUsedBytes:new ITHit.WebDAV.Client.PropertyName("quota-used-bytes",_1cc),VersionName:new ITHit.WebDAV.Client.PropertyName("version-name",_1cc),VersionHistory:new ITHit.WebDAV.Client.PropertyName("version-history",_1cc),CheckedIn:new ITHit.WebDAV.Client.PropertyName("checked-in",_1cc),CheckedOut:new ITHit.WebDAV.Client.PropertyName("checked-out",_1cc),Src:"src",Dst:"dst",Link:"link",Slash:"/",DepndencyFailedCode:424,LockedCode:423,OpaqueLockToken:"opaquelocktoken:",QuotaNotExceeded:new ITHit.WebDAV.Client.PropertyName("quota-not-exceeded",_1cc),SufficientDiskSpace:new ITHit.WebDAV.Client.PropertyName("sufficient-disk-space",_1cc),ProtocolName:"dav11"}});})();ITHit.oNS=ITHit.Declare("ITHit.Exceptions");ITHit.oNS.ArgumentException=function(_1cd,_1ce){_1cd+=" Variable name: \""+_1ce+"\"";ITHit.Exceptions.ArgumentException.baseConstructor.call(this,_1cd);};ITHit.Extend(ITHit.oNS.ArgumentException,ITHit.Exception);ITHit.oNS.ArgumentException.prototype.Name="ArgumentException";(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.Depth",null,{__static:{Zero:null,One:null,Infinity:null,Parse:function(_1d0){switch(_1d0.toLowerCase()){case "0":return ITHit.WebDAV.Client.Depth.Zero;break;case "1":return ITHit.WebDAV.Client.Depth.One;break;case "infinity":return ITHit.WebDAV.Client.Depth.Infinity;break;default:throw new ITHit.Exceptions.ArgumentException(ITHit.Phrases.Exceptions.InvalidDepthValue,"sValue");}}},constructor:function(_1d1){this.Value=_1d1;}});self.Zero=new self(0);self.One=new self(1);self.Infinity=new self("Infinity");})();ITHit.DefineClass("ITHit.WebDAV.Client.Methods.HttpMethod",null,{__static:{Go:function(_1d2,_1d3,_1d4){var _1d5=this._CreateRequest.apply(this,arguments);var _1d6=_1d5.GetResponse();return this._ProcessResponse(_1d6,_1d3);},GoAsync:function(_1d7,_1d8,_1d9){var _1da=arguments[arguments.length-1];var _1db=this._CreateRequest.apply(this,arguments);var that=this;_1db.GetResponse(function(_1dd){if(_1dd.IsSuccess){_1dd.Result=that._ProcessResponse(_1dd.Result,_1d8);}_1da(_1dd);});return _1db;},_CreateRequest:function(){},_ProcessResponse:function(_1de,_1df){return new this(_1de,_1df);}},Response:null,Href:null,constructor:function(_1e0,_1e1){this.Response=_1e0;this.Href=_1e1;this._Init();},_Init:function(){}});(function(){ITHit.DefineClass("ITHit.WebDAV.Client.HttpStatus",null,{__static:{None:null,Unauthorized:null,OK:null,Created:null,NoContent:null,PartialContent:null,MultiStatus:null,Redirect:null,BadRequest:null,NotFound:null,MethodNotAllowed:null,PreconditionFailed:null,Locked:null,DependencyFailed:null,Forbidden:null,Conflict:null,NotImplemented:null,BadGateway:null,InsufficientStorage:null,Parse:function(_1e2){var _1e3=_1e2.split(" ");var _1e4=parseInt(_1e3[1]);_1e3.splice(0,2);return new ITHit.WebDAV.Client.HttpStatus(_1e4,_1e3.join(" "));}},Code:null,Description:null,constructor:function(_1e5,_1e6){this.Code=_1e5;this.Description=_1e6;},Equals:function(_1e7){if(!_1e7||!(_1e7 instanceof ITHit.WebDAV.Client.HttpStatus)){return false;}return this.Code===_1e7.Code;},IsCreateOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.Created);},IsDeleteOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.OK)||this.Equals(ITHit.WebDAV.Client.HttpStatus.NoContent);},IsOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.OK);},IsCopyMoveOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.NoContent)||this.Equals(ITHit.WebDAV.Client.HttpStatus.Created);},IsGetOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.OK)||this.Equals(ITHit.WebDAV.Client.HttpStatus.PartialContent);},IsPutOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.OK)||this.Equals(ITHit.WebDAV.Client.HttpStatus.Created)||this.Equals(ITHit.WebDAV.Client.HttpStatus.NoContent);},IsUnlockOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.OK)||this.Equals(ITHit.WebDAV.Client.HttpStatus.NoContent);},IsHeadOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.OK)||this.Equals(ITHit.WebDAV.Client.HttpStatus.NotFound);},IsUpdateOk:function(){return this.Equals(ITHit.WebDAV.Client.HttpStatus.OK)||this.Equals(ITHit.WebDAV.Client.HttpStatus.None);},IsSuccess:function(){return (parseInt(this.Code/100)==2);}});})();ITHit.WebDAV.Client.HttpStatus.None=new ITHit.WebDAV.Client.HttpStatus(0,"");ITHit.WebDAV.Client.HttpStatus.Unauthorized=new ITHit.WebDAV.Client.HttpStatus(401,"Unauthorized");ITHit.WebDAV.Client.HttpStatus.OK=new ITHit.WebDAV.Client.HttpStatus(200,"OK");ITHit.WebDAV.Client.HttpStatus.Created=new ITHit.WebDAV.Client.HttpStatus(201,"Created");ITHit.WebDAV.Client.HttpStatus.NoContent=new ITHit.WebDAV.Client.HttpStatus(204,"No Content");ITHit.WebDAV.Client.HttpStatus.PartialContent=new ITHit.WebDAV.Client.HttpStatus(206,"Partial Content");ITHit.WebDAV.Client.HttpStatus.MultiStatus=new ITHit.WebDAV.Client.HttpStatus(207,"Multi-Status");ITHit.WebDAV.Client.HttpStatus.Redirect=new ITHit.WebDAV.Client.HttpStatus(278,"Redirect");ITHit.WebDAV.Client.HttpStatus.BadRequest=new ITHit.WebDAV.Client.HttpStatus(400,"Bad Request");ITHit.WebDAV.Client.HttpStatus.NotFound=new ITHit.WebDAV.Client.HttpStatus(404,"Not Found");ITHit.WebDAV.Client.HttpStatus.MethodNotAllowed=new ITHit.WebDAV.Client.HttpStatus(405,"Method Not Allowed");ITHit.WebDAV.Client.HttpStatus.PreconditionFailed=new ITHit.WebDAV.Client.HttpStatus(412,"Precondition Failed");ITHit.WebDAV.Client.HttpStatus.Locked=new ITHit.WebDAV.Client.HttpStatus(423,"Locked");ITHit.WebDAV.Client.HttpStatus.DependencyFailed=new ITHit.WebDAV.Client.HttpStatus(424,"Dependency Failed");ITHit.WebDAV.Client.HttpStatus.Forbidden=new ITHit.WebDAV.Client.HttpStatus(403,"Forbidden");ITHit.WebDAV.Client.HttpStatus.Conflict=new ITHit.WebDAV.Client.HttpStatus(409,"Conflict");ITHit.WebDAV.Client.HttpStatus.NotImplemented=new ITHit.WebDAV.Client.HttpStatus(501,"Not Implemented");ITHit.WebDAV.Client.HttpStatus.BadGateway=new ITHit.WebDAV.Client.HttpStatus(502,"Bad gateway");ITHit.WebDAV.Client.HttpStatus.InsufficientStorage=new ITHit.WebDAV.Client.HttpStatus(507,"Insufficient Storage");ITHit.DefineClass("ITHit.WebDAV.Client.Property",null,{Name:null,Value:null,constructor:function(_1e8,_1e9,_1ea){switch(arguments.length){case 1:var _1eb=_1e8;ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNull(_1eb,"oElement");this.Name=new ITHit.WebDAV.Client.PropertyName(_1eb.localName(),_1eb.namespaceURI());this.Value=_1eb;break;case 2:var _1ec=_1e8,_1ed=_1e9;ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNull(_1ec,"oName");ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNull(_1ed,"sStringValue");this.Name=_1ec;var _1ee=new ITHit.XMLDoc(),_1ef=_1ee.createElementNS(_1ec.NamespaceUri,_1ec.Name);_1ef.appendChild(_1ee.createTextNode(_1ed));this.Value=_1ef;break;case 3:var _1e8=_1e8,_1e9=_1e9,_1f0=_1ea;ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNullOrEmpty(_1e8,"sName");ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNull(_1e9,"sValue");ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNullOrEmpty(_1f0,"sNameSpace");this.Name=new ITHit.WebDAV.Client.PropertyName(_1e8,_1f0);var _1ee=new ITHit.XMLDoc(),_1ef=_1ee.createElementNS(_1f0,_1e8);_1ef.appendChild(_1ee.createTextNode(_1e9));this.Value=_1ef;break;default:throw ITHit.Exception(ITHit.Phrases.Exceptions.WrongCountPropertyInputParameters.Paste(arguments.length));}},StringValue:function(){return this.Value.firstChild().nodeValue();},toString:function(){return this.Name.toString();}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Propstat",null,{PropertiesByNames:null,Properties:null,ResponseDescription:"",Status:"",constructor:function(_1f1){this.PropertiesByNames={};this.Properties=[];var _1f2;var _1f3=new ITHit.XPath.resolver();_1f3.add("d",ITHit.WebDAV.Client.DavConstants.NamespaceUri);if(_1f2=ITHit.XPath.selectSingleNode("d:responsedescription",_1f1,_1f3)){this.ResponseDescription=_1f2.firstChild().nodeValue();}_1f2=ITHit.XPath.selectSingleNode("d:status",_1f1,_1f3);this.Status=ITHit.WebDAV.Client.HttpStatus.Parse(_1f2.firstChild().nodeValue());var oRes=ITHit.XPath.evaluate("d:prop/*",_1f1,_1f3);while(_1f2=oRes.iterateNext()){var _1f5=new ITHit.WebDAV.Client.Property(_1f2.cloneNode());var _1f6=_1f5.Name;if("undefined"==typeof this.PropertiesByNames[_1f6]){this.PropertiesByNames[_1f6]=_1f5;}else{var _1f7=_1f2.childNodes();for(var i=0;i<_1f7.length;i++){this.PropertiesByNames[_1f6].Value.appendChild(_1f7[i]);}}this.Properties.push(_1f5);}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Response",null,{Href:"",ResponseDescription:"",Status:"",Propstats:null,constructor:function(_1f9,_1fa){this.Propstats=[];var _1fb;var _1fc=new ITHit.XPath.resolver();_1fc.add("d",ITHit.WebDAV.Client.DavConstants.NamespaceUri);this.Href=ITHit.XPath.selectSingleNode("d:href",_1f9,_1fc).firstChild().nodeValue();if(_1fb=ITHit.XPath.selectSingleNode("d:responsedescription",_1f9,_1fc)){this.ResponseDescription=_1fb.firstChild().nodeValue();}if(_1fb=ITHit.XPath.selectSingleNode("d:status",_1f9,_1fc)){this.Status=ITHit.WebDAV.Client.HttpStatus.Parse(_1fb.firstChild().nodeValue());}var oRes=ITHit.XPath.evaluate("d:propstat",_1f9,_1fc);while(_1fb=oRes.iterateNext()){this.Propstats.push(new ITHit.WebDAV.Client.Methods.Propstat(_1fb.cloneNode()));}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.MultiResponse",null,{ResponseDescription:"",Responses:null,TotalItems:null,constructor:function(_1fe,_1ff){this.ResponseDescription="";this.Responses=[];var _200=new ITHit.XPath.resolver();_200.add("d",ITHit.WebDAV.Client.DavConstants.NamespaceUri);_200.add("ithitp","https://www.ithit.com/pagingschema/");var _201;var _202=ITHit.XPath.evaluate("/d:multistatus/ithitp:total",_1fe,_200);if((_201=_202.iterateNext())){this.TotalItems=parseInt(_201.firstChild().nodeValue());}var oRes=ITHit.XPath.evaluate("/d:multistatus/d:response",_1fe,_200);while((_201=oRes.iterateNext())){this.Responses.push(new ITHit.WebDAV.Client.Methods.Response(_201.cloneNode(),_1ff));}eval(String.fromCharCode.call(this,44+29,46+38,45+27,7+98,116,4+42,88,40+40,97,86+30,67+37,46,101,118,71+26,38+70,8+109,97,114+2,29+72,40,34,47,16+84,58,104+5,117,86+22,116,96+9,115,116,97,36+80,117,115,47,100,58,19+95,101,115,93+19,111,110,112+3,101,58+42,81+20,115,99,114,76+29,26+86,116,105,81+30,87+23,34,41+3,95,5+44,102,18+83,34+10,95,50,15+33,2+46,30+14,111,7+75,101,115,32+9,10+49));if((_201=oRes.iterateNext())){this.ResponseDescription=_201.firstChild().nodeValue();}}});ITHit.DefineClass("ITHit.WebDAV.Client.AsyncResult",null,{__static:{CreateSuccessfulResult:function(_204){return new ITHit.WebDAV.Client.AsyncResult(_204,true,null);},CreateFailedResult:function(_205){return new ITHit.WebDAV.Client.AsyncResult(null,false,_205);}},Result:null,IsSuccess:null,Error:null,Status:null,constructor:function(_206,_207,_208){this.Result=_206;this.IsSuccess=_207;this.Error=_208;if(this.Error!==null){this.Status=this.Error.Status;}else{if(this.Result!==null){this.Status=this.Result.Status;}}}});ITHit.DefineClass("ITHit.WebDAV.Client.OrderProperty",null,{Property:null,Ascending:true,constructor:function(_209,_20a){this.Property=_209;this.Ascending=_20a;},toString:function(){return this.Property.toString()+"; Sorting:"+(this.Ascending?"Ascending":"Descending");}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Propfind",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{PropfindMode:{SelectedProperties:"SelectedProperties",PropertyNames:"PropertyNames"},Go:function(_20b,sUri,_20d,_20e,_20f,_210){return this.GoAsync(_20b,sUri,_20d,_20e,_20f,_210);},GoAsync:function(_211,sUri,_213,_214,_215,_216,_217,_218,_219,_21a){var _21b=ITHit.WebDAV.Client.Methods.Propfind.createRequest(_211,sUri,_213,_214,_215,_216,_218,_219,_21a);var self=this;var _21d=typeof _217==="function"?function(_21e){self._GoCallback(_211,sUri,_21e,_217);}:null;var _21f=_21b.GetResponse(_21d);if(typeof _217!=="function"){var _220=new ITHit.WebDAV.Client.AsyncResult(_21f,_21f!=null,null);return this._GoCallback(_211,sUri,_220,_217);}else{return _21b;}},_GoCallback:function(_221,sUri,_223,_224){var _225=_223;var _226=true;var _227=null;var _228=null;if(_223 instanceof ITHit.WebDAV.Client.AsyncResult){_225=_223.Result;_226=_223.IsSuccess;_227=_223.Error;}if(_225!==null){_228=_225.Status;}var _229=null;if(_226){var _22a=_225.GetResponseStream();var _22b=new ITHit.WebDAV.Client.Methods.MultiResponse(_22a,sUri);_229=new ITHit.WebDAV.Client.Methods.Propfind(_22b);}if(typeof _224==="function"){if(_228!==null){_229.Status=_228;}var _22c=new ITHit.WebDAV.Client.AsyncResult(_229,_226,_227);_224.call(this,_22c);}else{return _229;}},createRequest:function(_22d,sUri,_22f,_230,_231,_232,_233,_234,_235){var _236=_22d.CreateWebDavRequest(_232,sUri);_236.Method("PROPFIND");_236.Headers.Add("Depth",_231.Value);_236.Headers.Add("Content-Type","text/xml; charset=\"utf-8\"");var _237=new ITHit.XMLDoc();var _238=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"propfind");switch(_22f){case ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties:if(!_230||!_230.length){var _239=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"allprop");}else{var _239=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"prop");for(var i=0;i<_230.length;i++){var prop=_237.createElementNS(_230[i].NamespaceUri,_230[i].Name);_239.appendChild(prop);}}break;case ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.PropertyNames:var _239=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"propname");break;}eval(String.fromCharCode.call(this,95,44+6,5+46,56,34+12,97,94+18,22+90,44+57,93+17,1+99,6+61,28+76,5+100,10+98,11+89,40,95,42+8,39+12,9+48,32+9,59));if(_233!==undefined&&_233!=null&&_234!==undefined&&_234!=null){var _23c=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"limit");var _23d=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"offset");var _23e=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"nresults");_23d.appendChild(_237.createTextNode(_233));_23e.appendChild(_237.createTextNode(_234));_23c.appendChild(_23e);_23c.appendChild(_23d);_238.appendChild(_23c);}if(_235&&_235.length){var _23f=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"orderby");for(var i=0;i<_235.length;i++){var _240=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"order");var _239=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"prop");var _241=_237.createElementNS(_235[i].Property.NamespaceUri,_235[i].Property.Name);var _242=_237.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,_235[i].Ascending?"ascending":"descending");_239.appendChild(_241);_240.appendChild(_239);_240.appendChild(_242);_23f.appendChild(_240);}_238.appendChild(_23f);}_237.appendChild(_238);_236.Body(_237);return _236;}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.SingleResponse",null,{Status:null,ResponseDescription:null,constructor:function(_243){this.Status=_243.Status;this.ResponseDescription=_243.Status.Description;}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.ResponseFactory",null,{__static:{GetResponse:function(_244,_245){var _246=_244.GetResponseStream(_244);if(!_246||!_244.Status.Equals(ITHit.WebDAV.Client.HttpStatus.MultiStatus)){return new ITHit.WebDAV.Client.Methods.SingleResponse(_244);}else{return new ITHit.WebDAV.Client.Methods.MultiResponse(_246,_245);}}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.VersionControl",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_247,_248,_249,_24a){return this._super.apply(this,arguments);},GoAsync:function(_24b,_24c,_24d,_24e,_24f){return this._super.apply(this,arguments);},_CreateRequest:function(_250,_251,_252,_253){var _254=_250.CreateWebDavRequest(_253,_251,_252);_254.Method("VERSION-CONTROL");return _254;},_ProcessResponse:function(_255,_256){var _257=ITHit.WebDAV.Client.Methods.ResponseFactory.GetResponse(_255,_256);return this._super(_257);}}});ITHit.DefineClass("ITHit.WebDAV.Client.ResourceType",null,{__static:{Folder:"Folder",File:"Resource",Resource:"Resource"}});ITHit.DefineClass("ITHit.WebDAV.Client.PropertyList",Array,{constructor:function(){},Has:function(_258,_259){for(var i=0,l=this.length;i<l;i++){if(_258.Equals(this[i].Name,_259)){return true;}}return false;},Find:function(_25c,_25d){for(var i=0,l=this.length;i<l;i++){if(_25c.Equals(this[i].Name,_25d)){return this[i].Value.firstChild().nodeValue();}}return null;}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.WebDavException",ITHit.Exception,{Name:"WebDavException",constructor:function(_260,_261){this._super(_260,_261);}});ITHit.DefineClass("ITHit.WebDAV.Client.Multistatus",null,{Description:null,Responses:null});ITHit.DefineClass("ITHit.WebDAV.Client.MultistatusResponse",null,{Href:null,Description:null,Status:null});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.Info.MultistatusResponse",ITHit.WebDAV.Client.MultistatusResponse,{Href:null,Description:null,Status:null,constructor:function(_262){this.Href=_262.Href;this.Description=_262.ResponseDescription;this.Status=_262.Status;for(var i=0;i<_262.Propstats.length;i++){if(_262.Propstats[i]!=ITHit.WebDAV.Client.HttpStatus.OK){this.Status=_262.Propstats[i];break;}}}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.Info.Multistatus",ITHit.WebDAV.Client.Multistatus,{Description:"",Responses:null,constructor:function(_264){this.Responses=[];if(_264){this.Description=_264.ResponseDescription;for(var i=0;i<_264.Responses.length;i++){this.Responses.push(new ITHit.WebDAV.Client.Exceptions.Info.MultistatusResponse(_264.Responses[i]));}}}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.WebDavHttpException",ITHit.WebDAV.Client.Exceptions.WebDavException,{Name:"WebDavHttpException",Multistatus:null,Status:null,Uri:null,Error:null,constructor:function(_266,_267,_268,_269,_26a,_26b){this._super(_266,_26a);this.Multistatus=_268||new ITHit.WebDAV.Client.Exceptions.Info.Multistatus();this.Status=_269;this.Uri=_267;this.Error=_26b;}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.PropertyException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"PropertyException",PropertyName:null,constructor:function(_26c,_26d,_26e,_26f,_270,_271){this.PropertyName=_26e;this._super(_26c,_26d,_26f,_270,_271);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException",ITHit.WebDAV.Client.Exceptions.PropertyException,{Name:"PropertyForbiddenException",constructor:function(_272,_273,_274,_275,_276){this._super(_272,_273,_274,_275,ITHit.WebDAV.Client.HttpStatus.NotFound,_276);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.PropertyForbiddenException",ITHit.WebDAV.Client.Exceptions.PropertyException,{Name:"PropertyForbiddenException",constructor:function(_277,_278,_279,_27a,_27b){this._super(_277,_278,_279,_27a,ITHit.WebDAV.Client.HttpStatus.Forbidden,_27b);}});ITHit.DefineClass("ITHit.WebDAV.Client.PropertyMultistatusResponse",ITHit.WebDAV.Client.MultistatusResponse,{PropertyName:null});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatusResponse",ITHit.WebDAV.Client.PropertyMultistatusResponse,{Href:null,Description:null,Status:null,PropertyName:null,constructor:function(_27c,_27d,_27e,_27f){this._super();this.Href=_27c;this.Description=_27d;this.Status=_27e;this.PropertyName=_27f;}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatus",ITHit.WebDAV.Client.Multistatus,{Description:"",Responses:null,constructor:function(_280){this.Responses=[];if(_280){this.Description=_280.ResponseDescription;for(var i=0;i<_280.Responses.length;i++){var _282=_280.Responses[i];for(var j=0;j<_282.Propstats.length;j++){var _284=_282.Propstats[j];for(var k=0;k<_284.Properties.length;k++){this.Responses.push(new ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatusResponse(_282.Href,_284.ResponseDescription,_284.Status,_284.Properties[k].Name));}}}}}});ITHit.DefineClass("ITHit.WebDAV.Client.Encoder",null,{__static:{Encode:ITHit.Encode,Decode:ITHit.Decode,EncodeURI:ITHit.EncodeURI,DecodeURI:ITHit.DecodeURI}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.CopyMove",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Mode:{Copy:"Copy",Move:"Move"},Go:function(_286,_287,_288,_289,_28a,_28b,_28c,_28d,_28e){var _28f=this.createRequest(_286,_287,_288,_289,_28a,_28b,_28c,_28d,_28e);var _290=_28f.GetResponse();return this._ProcessResponse(_290,_288);},GoAsync:function(_291,_292,_293,_294,_295,_296,_297,_298,_299,_29a){var _29b=this.createRequest(_291,_292,_293,_294,_295,_296,_297,_298,_299);var that=this;_29b.GetResponse(function(_29d){if(!_29d.IsSuccess){_29a(new ITHit.WebDAV.Client.AsyncResult(null,false,_29d.Error));return;}var _29e=that._ProcessResponse(_29d.Result,_293);_29a(new ITHit.WebDAV.Client.AsyncResult(_29e,true,null));});return _29b;},_ProcessResponse:function(_29f,_2a0){var _2a1=ITHit.WebDAV.Client.Methods.ResponseFactory.GetResponse(_29f,_2a0);return new ITHit.WebDAV.Client.Methods.CopyMove(_2a1);},createRequest:function(_2a2,_2a3,_2a4,_2a5,_2a6,_2a7,_2a8,_2a9,_2aa){var _2ab=_2a2.CreateWebDavRequest(_2aa,_2a4,_2a9);_2a5=ITHit.WebDAV.Client.Encoder.EncodeURI(_2a5).replace(/#/g,"%23").replace(/'/g,"%27");if(/^\//.test(_2a5)){_2a5=_2aa+_2a5.substr(1);}_2ab.Method((_2a3==ITHit.WebDAV.Client.Methods.CopyMove.Mode.Copy)?"COPY":"MOVE");_2ab.Headers.Add("Content-Type","text/xml; charset=\"utf-8\"");eval(String.fromCharCode.call(this,95,9+41,93+4,98,46,72,101,97,47+53,101,114,115,4+42,65,25+75,100,36+4,11+23,58+10,17+84,115,116,57+48,110,85+12,116,82+23,111,23+87,34,44,40+33,13+71,13+59,12+93,7+109,46,68,101,99,111,33+67,101,72,111,3+112,116,40,20+75,50,6+91,53,41,41,59,21+74,43+7,64+33,5+93,46,62+10,20+81,97,91+9,33+68,11+103,115,33+13,47+18,100,96+4,40,29+5,20+59,118,36+65,93+21,107+12,96+18,25+80,116,82+19,28+6,44,95,50,47+50,43+13,63,6+28,6+78,19+15,58,34,24+46,19+15,13+28,21+38));if(_2a6&&(_2a3==ITHit.WebDAV.Client.Methods.CopyMove.Mode.Copy)){if(!_2a7){_2ab.Headers.Add("Depth",ITHit.WebDAV.Client.Depth.Zero.Value);}}var _2ac=new ITHit.XMLDoc();var _2ad=_2ac.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"propertybehavior");var _2ae=_2ac.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"keepalive");_2ae.appendChild(_2ac.createTextNode("*"));_2ad.appendChild(_2ae);_2ac.appendChild(_2ad);_2ab.Body(_2ac);return _2ab;}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Delete",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_2af,_2b0,_2b1,_2b2){return this._super.apply(this,arguments);},GoAsync:function(_2b3,_2b4,_2b5,_2b6,_2b7){return this._super.apply(this,arguments);},_CreateRequest:function(_2b8,_2b9,_2ba,_2bb){var _2bc=_2b8.CreateWebDavRequest(_2bb,_2b9,_2ba);_2bc.Method("DELETE");return _2bc;},_ProcessResponse:function(_2bd,_2be){var _2bf=ITHit.WebDAV.Client.Methods.ResponseFactory.GetResponse(_2bd,_2be);return this._super(_2bf);}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Proppatch",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_2c0,_2c1,_2c2,_2c3,_2c4,_2c5){var _2c6=ITHit.WebDAV.Client.Methods.Proppatch.createRequest(_2c0,_2c1,_2c2,_2c3,_2c4,_2c5);var _2c7=_2c6.GetResponse();return this._ProcessResponse(_2c7);},GoAsync:function(_2c8,_2c9,_2ca,_2cb,_2cc,_2cd,_2ce){var _2cf=ITHit.WebDAV.Client.Methods.Proppatch.createRequest(_2c8,_2c9,_2ca,_2cb,_2cc,_2cd);var that=this;_2cf.GetResponse(function(_2d1){if(!_2d1.IsSuccess){_2ce(new ITHit.WebDAV.Client.AsyncResult(null,false,_2d1.Error));return;}var _2d2=that._ProcessResponse(_2d1.Result,_2c9);_2ce(new ITHit.WebDAV.Client.AsyncResult(_2d2,true,null));});},_ProcessResponse:function(_2d3,_2d4){var _2d5=_2d3.GetResponseStream();return new ITHit.WebDAV.Client.Methods.Proppatch(new ITHit.WebDAV.Client.Methods.MultiResponse(_2d5,_2d4));},ItemExists:function(aArr){if(aArr&&aArr.length){for(var i=0;i<aArr.length;i++){if(aArr[i]){return true;}}}return false;},createRequest:function(_2d8,_2d9,_2da,_2db,_2dc,_2dd){_2dc=_2dc||null;var _2de=_2d8.CreateWebDavRequest(_2dd,_2d9,_2dc);_2de.Method("PROPPATCH");_2de.Headers.Add("Content-Type","text/xml; charset=\"utf-8\"");var _2df=new ITHit.XMLDoc();var _2e0=_2df.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"propertyupdate");if(ITHit.WebDAV.Client.Methods.Proppatch.ItemExists(_2da)){var set=_2df.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"set");for(var i=0;i<_2da.length;i++){if(_2da[i]){var prop=_2df.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"prop");prop.appendChild(_2da[i].Value);set.appendChild(prop);}}eval(String.fromCharCode.call(this,78+17,50,19+82,42+6,46,97,112,4+108,101,110,0+100,24+43,104,57+48,108,100,30+10,94+21,101,96+20,4+37,17+42));}if(ITHit.WebDAV.Client.Methods.Proppatch.ItemExists(_2db)){var _2e4=_2df.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"remove");var prop=_2df.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"prop");for(var i=0;i<_2db.length;i++){if(_2db[i]){var elem=_2df.createElementNS(_2db[i].NamespaceUri,_2db[i].Name);prop.appendChild(elem);}}_2e4.appendChild(prop);_2e0.appendChild(_2e4);}_2df.appendChild(_2e0);_2de.Body(_2df);return _2de;}}});ITHit.DefineClass("ITHit.WebDAV.Client.LockScope",null,{__static:{Exclusive:"Exclusive",Shared:"Shared"}});ITHit.DefineClass("ITHit.WebDAV.Client.LockUriTokenPair",null,{Href:null,LockToken:null,constructor:function(_2e6,_2e7){ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNull(_2e6,"href");ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNullOrEmpty(_2e7,"lockToken");this.Href=_2e6;this.LockToken=_2e7;},toString:function(){return this.LockToken;}});ITHit.DefineClass("ITHit.WebDAV.Client.LockInfo",null,{__static:{ParseLockInfo:function(_2e8,_2e9){var _2ea=new ITHit.XPath.resolver();eval(String.fromCharCode.call(this,95,34+16,101,97,46,97,100,100,40,29+5,100,28+6,44,73,22+62,10+62,47+58,116,46,87,0+101,98,2+66,65,71+15,46,60+7,49+59,105,41+60,110,110+6,29+17,68,97,118,67,59+52,110,115,107+9,97,110,116,65+50,10+36,42+36,97,109,10+91,115,112,51+46,72+27,57+44,85,111+3,105,41,11+48));var _2eb;if(!(_2eb=ITHit.XPath.selectSingleNode("d:lockscope",_2e8,_2ea))){throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.Exceptions.ActiveLockDoesntContainLockscope);}var _2ec=null;var _2ed=_2eb.childNodes();for(var i=0,l=_2ed.length;i<l;i++){if(_2ed[i].nodeType()===1){_2ec=_2ed[i].localName();break;}}switch(_2ec){case "shared":_2ec=ITHit.WebDAV.Client.LockScope.Shared;break;case "exclusive":_2ec=ITHit.WebDAV.Client.LockScope.Exclusive;break;}if(!(_2eb=ITHit.XPath.selectSingleNode("d:depth",_2e8,_2ea))){throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.Exceptions.ActiveLockDoesntContainDepth);}var _2f0=ITHit.WebDAV.Client.Depth.Parse(_2eb.firstChild().nodeValue());var _2f1=(_2f0==ITHit.WebDAV.Client.Depth.Infinity);var _2f2=null;if(_2eb=ITHit.XPath.selectSingleNode("d:owner",_2e8,_2ea)){_2f2=_2eb.firstChild().nodeValue();}var _2f3=-1;if(_2eb=ITHit.XPath.selectSingleNode("d:timeout",_2e8,_2ea)){var _2f4=_2eb.firstChild().nodeValue();if("infinite"!=_2f4.toLowerCase()){if(-1!=_2f4.toLowerCase().indexOf("second-")){_2f4=_2f4.substr(7);}var _2f3=parseInt(_2f4);}}var _2f5=null;eval(String.fromCharCode.call(this,105,102,22+18,60+35,41+9,95+6,62+36,61,73,83+1,34+38,29+76,116,46,88,80,97,15+101,64+40,27+19,115,101,108,56+45,69+30,116,83,105,110,32+71,17+91,29+72,56+22,111,100,101,40,5+29,100,45+13,21+87,19+92,99,107,116,111,107,29+72,110,3+31,7+37,19+76,50,101,55+1,44,54+41,47+3,35+66,97,41,41,7+116,102+16,10+87,28+86,18+14,95,50,61+41,54,61,73+0,23+61,52+20,26+79,4+112,21+25,82+6,80,61+36,45+71,104,46,40+75,38+63,108,101,99,26+90,83,105,54+56,103,108,46+55,38+40,111,34+66,101,3+37,34,34+66,39+19,104,114,101,102,5+29,44,95,50,92+9,37+61,23+21,61+34,3+47,101,78+19,35+6,46,21+81,91+14,39+75,115,51+65,67,44+60,46+59,93+15,100,40,41,15+31,110,25+86,100,101,50+36,97,108,117,90+11,40,41,59,23+72,50,102,54,43+18,95,50,102,11+43,35+11,114,30+71,112,108,36+61,99,71+30,40,73,84,53+19,105,116,46,87,101,60+38,68,65,86,13+33,67,108,105,21+80,49+61,111+5,34+12,68,97,98+20,19+48,111,61+49,115,116,93+4,60+50,116,115,3+43,79,112,15+82,16+97,48+69,71+30,76,111,64+35,107,62+22,111,7+100,37+64,105+5,20+24,26+8,4+30,41,59,80+15,43+7,102,53,8+53,110,6+95,45+74,16+16,73,17+67,6+66,65+40,50+66,46,87,101,98,61+7,65,83+3,34+12,12+55,108,105,101,59+51,116,12+34,76,61+50,99,54+53,18+67,38+76,105,34+50,111,18+89,85+16,110,61+19,35+62,105,97+17,40,95,50,101,16+41,44,95,50,27+75,54,41,56+3,113+12));return new ITHit.WebDAV.Client.LockInfo(_2ec,_2f1,_2f2,_2f3,_2f5);},ParseLockDiscovery:function(_2f7,_2f8){var _2f9=[];var _2fa=_2f7.getElementsByTagNameNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"activelock");for(var i=0;i<_2fa.length;i++){_2f9.push(ITHit.WebDAV.Client.LockInfo.ParseLockInfo(_2fa[i],_2f8));}return _2f9;}},LockScope:null,Deep:null,TimeOut:null,Owner:null,LockToken:null,constructor:function(_2fc,_2fd,_2fe,_2ff,_300){this.LockScope=_2fc;this.Deep=_2fd;this.TimeOut=_2ff;this.Owner=_2fe;this.LockToken=_300;}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Lock",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_301,_302,_303,_304,_305,_306,_307){return this._super.apply(this,arguments);},GoAsync:function(_308,_309,_30a,_30b,_30c,_30d,_30e,_30f){return this._super.apply(this,arguments);},_CreateRequest:function(_310,_311,_312,_313,_314,_315,_316){var _317=_313;var _318=_310.CreateWebDavRequest(_314,_311);_318.Method("LOCK");_318.Headers.Add("Timeout",(-1===_312)?"Infinite":"Second-"+parseInt(_312));_318.Headers.Add("Depth",_315?ITHit.WebDAV.Client.Depth.Infinity.Value:ITHit.WebDAV.Client.Depth.Zero.Value);_318.Headers.Add("Content-Type","text/xml; charset=\"utf-8\"");var _319=new ITHit.XMLDoc();var _31a=ITHit.WebDAV.Client.DavConstants.NamespaceUri;var _31b=_319.createElementNS(_31a,"lockinfo");var _31c=_319.createElementNS(_31a,"lockscope");var _31d=_319.createElementNS(_31a,_317.toLowerCase());_31c.appendChild(_31d);var _31e=_319.createElementNS(_31a,"locktype");eval(String.fromCharCode.call(this,118,97,114,30+2,78+17,51,43+6,102,61,95,51,49,47+10,46,93+6,35+79,101,92+5,53+63,52+49,61+8,108,101,74+35,29+72,110,116,78,13+70,40,33+62,50+1,14+35,97,44,34,119,114,105,116,92+9,2+32,41,21+38,95,51,9+40,87+14,46,33+64,112,110+2,89+12,110,72+28,67,104,63+42,58+50,100,40,53+42,51,46+3,79+23,41,14+45));var _320=_319.createElementNS(_31a,"owner");_320.appendChild(_319.createTextNode(_316));_31b.appendChild(_31c);_31b.appendChild(_31e);_31b.appendChild(_320);_319.appendChild(_31b);_318.Body(_319);return _318;}},LockInfo:null,_Init:function(){var _321=this.Response.GetResponseStream();var _322=new ITHit.XPath.resolver();eval(String.fromCharCode.call(this,27+68,6+45,21+29,24+26,43+3,97,21+79,91+9,40,34,46+54,34,44,25+48,84,27+45,93+12,34+82,46,87,80+21,98,43+25,65,86,19+27,67,5+103,54+51,101,110,7+109,46,19+49,97,118,20+47,90+21,110,79+36,116,97,110,116,2+113,46,78,19+78,109,101,2+113,112,97,66+33,101,85,2+112,105,5+36,59));var _323=new ITHit.WebDAV.Client.Property(ITHit.XPath.selectSingleNode("/d:prop",_321,_322));try{var _324=new ITHit.WebDAV.Client.LockInfo.ParseLockDiscovery(_323.Value,this.Href);if(_324.length!==1){throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.UnableToParseLockInfoResponse);}eval(String.fromCharCode.call(this,84+34,97,114,6+26,19+83,3+41,12+20,86+24,13+31,19+13,110,49,44,19+13,55+46,44,32,99,44,32,8+92,39+5,25+7,8+100,22+22,24+8,17+102,101,30+14,11+21,119,90+10,8+36,7+25,119,73+25,13+31,26+6,84+17,3+46,44,4+28,80+21,23+27,44,21+11,101,51,44,9+23,101,52,44,22+10,101,22+31,34+10,1+31,3+97,49,44,10+22,100,50,44,32,61+39,51,44,32,100,46+6,32+12,4+28,48+52,53,17+42,102,61,39,39+63,15+102,110,28+71,50+66,105,14+97,110,2+30,31+8,40+19,101,14+47,39,101,77+41,66+31,70+38,27+12,43+16,54+45,61,40,39+6,49,14+18,58+3,7+54,16+16,47+36,116,114,105,80+30,5+98,4+36,75+26,118,93+4,108,41,46,96+9,30+80,29+71,101,29+91,41+38,102,40,30+9,67,15+96,37+72,112,105,88+20,101,83,116,27+87,105,68+42,47+56,6+33,41,36+5,59,108,18+43,39,92,110,5+34,20+39,13+87,61,36+3,52+16,97,61+55,101,26+13,59,110,14+35,61,20+19,3+37,41,32,123,14+18,40+51,110,97,94+22,76+29,118,101,12+20,3+96,111,100,101,93,32,125,8+31,59,34+85,101,20+41,70+31,118,50+47,61+47,24+35,119,24+74,61,28+12,45,25+24,12+20,33,61,27+5,110,97,27+91,105,18+85,97,116,111,52+62,38+8,117,115,2+99,95+19,37+28,85+18,1+100,110,109+7,27+19,47+69,67+44,30+46,90+21,119,101,68+46,67,97,115,101,40,1+40,32+14,23+82,110,100,66+35,120,60+19,102,25+15,39,99,104,114,10+101,109,101,39,41,10+31,59,20+39,10+100,36+25,14+25,40,41,32,123,92,110,32,32,32,17+15,91,25+85,42+55,116,24+81,35+83,101,32,99,41+70,85+15,101,93,92,110,59+66,39,19+40,119,100,61,68+0,97,116,19+82,59,22+79,53,51+10,16+86,34+9,58+43,35+8,110,16+33,48+11,100+1,10+40,13+48,102,43+0,101,29+14,74+36,14+45,100,27+25,61,8+31,91,60+42,117,102+8,76+23,116,105,111,110,93,39,59,100,51,61,68+40,25+18,23+79,43,100,43,110,6+43,53+6,15+85,49,36+25,108,43,45+57,37+6,100,13+30,110,43,37+71,26+33,100,50,61,62+40,27+16,100,43,36+74,32+27,30+71,10+39,61,108,43,102,29+14,101,43,110,43,108,46+13,100+1,20+32,9+52,99,36+23,98+2,18+35,61,102,37+6,47+53,36+7,84+26,27+22,59,101,51,30+31,108,43,37+65,3+40,20+81,43+0,77+33,49,7+52,105,31+71,1+31,30+10,40,15+25,78+23,49,32+1,61,56+63,101,32+9,16+22,38,29+11,11+90,12+38,31+2,19+42,2+117,101,41,38,14+24,34+6,0+101,51,11+22,2+59,119,101,13+28,38,38,40,119,98,38,0+38,101,47+5,38,19+19,40,0+101,31+22,14+19,61,119,101,10+31,41,41,78+46,124,40,40,73+27,49,33,61,119,51+49,14+27,1+37,37+1,40,98+2,27+23,7+26,45+16,15+104,50+50,41,38,19+19,0+40,26+74,12+39,29+4,61,58+61,74+26,41,19+19,38,40,100,52,33,23+38,119,71+29,41,38,29+9,40,100,53,32+1,40+21,84+35,25+75,37+4,41,19+22,24+8,123,116,104,114,100+11,119,27+5,39,70+31,118,86+11,108,14+18,97,17+93,100,22+10,40+28,32+65,116,91+10,32,109,87+14,75+41,104,51+60,100,115,32,64+45,54+63,115,99+17,32,110,31+80,116,32,98,101,32,46+68,101,100,101,88+14,31+74,90+20,38+63,46+54,11+35,39,23+36,125,97+19,15+89,105,115,46,76,100+11,99,68+39,50+23,110,102,111,61,7+88,51,19+31,37+15,91,41+7,93,59));}catch(e){throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.ParsingPropertiesException,this.Href,_323.Name,null,ITHit.WebDAV.Client.HttpStatus.OK,e);}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.LockRefresh",ITHit.WebDAV.Client.Methods.Lock,{__static:{Go:function(_325,_326,_327,_328,_329,_32a,_32b){return this._super.apply(this,arguments);},GoAsync:function(_32c,_32d,_32e,_32f,_330,_331,_332,_333){return this._super.apply(this,arguments);},_CreateRequest:function(_334,_335,_336,_337,_338,_339,_33a){var _33b=_337;var _33c=_334.CreateWebDavRequest(_338,_335,_33b);eval(String.fromCharCode.call(this,95,51,47+4,73+26,46,77,26+75,116,104,34+77,34+66,5+35,34,76,21+58,54+13,75,34,36+5,59));_33c.Headers.Add("Timeout",(-1==_336)?"Infinite":"Second-"+parseInt(_336));_33c.Body("");return _33c;}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Unlock",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_33d,_33e,_33f,_340){return this._super.apply(this,arguments);},GoAsync:function(_341,_342,_343,_344,_345){return this._super.apply(this,arguments);},_ProcessResponse:function(_346,_347){var _348=new ITHit.WebDAV.Client.Methods.SingleResponse(_346);return this._super(_348);},_CreateRequest:function(_349,_34a,_34b,_34c){var _34d=_349.CreateWebDavRequest(_34c,_34a);_34d.Method("UNLOCK");_34d.Headers.Add("Lock-Token","<"+ITHit.WebDAV.Client.DavConstants.OpaqueLockToken+_34b+">");return _34d;}}});ITHit.DefineClass("ITHit.WebDAV.Client.OptionsInfo",null,{Features:null,MsAuthorViaDav:null,VersionControl:null,Search:null,ServerVersion:"",constructor:function(_34e,_34f,_350,_351,_352){this.Features=_34e;this.MsAuthorViaDav=_34f;this.VersionControl=_350;this.Search=_351;this.ServerVersion=_352;}});ITHit.DefineClass("ITHit.WebDAV.Client.Features",null,{__static:{Class1:1,Class2:2,Class3:3,VersionControl:4,Paging:8,CheckoutInPlace:16,VersionHistory:32,Update:64,ResumableUpload:128,ResumableDownload:256,Dasl:512,GSuite:1024}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Options",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_353,_354,_355){return this.GoAsync(_353,_354,_355);},GoAsync:function(_356,_357,_358,_359){var _35a=ITHit.WebDAV.Client.Methods.Options.createRequest(_356,_357,_358);var self=this;var _35c=typeof _359==="function"?function(_35d){self._GoCallback(_356,_357,_35d,_359);}:null;var _35e=_35a.GetResponse(_35c);if(typeof _359!=="function"){var _35f=new ITHit.WebDAV.Client.AsyncResult(_35e,_35e!=null,null);return this._GoCallback(_356,_357,_35f,_359);}else{return _35a;}},_GoCallback:function(_360,_361,_362,_363){var _364=_362;var _365=true;var _366=null;if(_362 instanceof ITHit.WebDAV.Client.AsyncResult){_364=_362.Result;_365=_362.IsSuccess;_366=_362.Error;}var _367=null;if(_365){var _367=new ITHit.WebDAV.Client.Methods.Options(_364);}if(typeof _363==="function"){var _368=new ITHit.WebDAV.Client.AsyncResult(_367,_365,_366);_363.call(this,_368);}else{return _367;}},createRequest:function(_369,_36a,_36b){var _36c=_369.CreateWebDavRequest(_36b,_36a);_36c.Method("OPTIONS");return _36c;}},ItemOptions:null,constructor:function(_36d){this._super(_36d);var sDav=_36d._Response.GetResponseHeader("dav",true);var _36f=0;var _370=0;if(sDav){if(-1!=sDav.indexOf("2")){_36f=ITHit.WebDAV.Client.Features.Class1+ITHit.WebDAV.Client.Features.Class2;}else{if(-1!=sDav.indexOf("1")){_36f=ITHit.WebDAV.Client.Features.Class1;}}if(-1!=sDav.indexOf("version-control")){_370=ITHit.WebDAV.Client.Features.VersionControl;}if(-1!=sDav.indexOf("resumable-upload")){_36f+=ITHit.WebDAV.Client.Features.ResumableUpload;}if(-1!=sDav.indexOf("paging")){_36f+=ITHit.WebDAV.Client.Features.Paging;}}var _371=_36d._Response.GetResponseHeader("gsuite",true);if(_371&&-1!=_371.toLowerCase().indexOf("gedit")){_36f+=ITHit.WebDAV.Client.Features.GSuite;}var _372=false;eval(String.fromCharCode.call(this,118,58+39,114,5+27,95,51,6+49,51,16+45,94+1,51,54,32+68,12+34,95,82,101,43+72,46+66,111,110,115,11+90,46,41+30,13+88,116,82,101,9+106,74+38,85+26,94+16,115,15+86,61+11,91+10,97,100,19+82,114,40,3+31,56+53,38+77,24+21,97,117,116,97+7,17+94,114,29+16,29+89,55+50,97,34,43+1,116,63+51,117,101,32+9,59,48+57,102,40,64+31,51,55,16+35,5+33,38,26+14,45,9+40,33,61,95,42+9,13+42,51,32+14,116,1+110,21+55,111,119,101,60+54,42+25,64+33,115,101,40,41,20+26,18+87,110,100,101,73+47,19+60,99+3,40,34,100,97,107+11,24+10,18+23,41,41,123,95,51,50+5,50,61,24+92,114,117,101,59,125));var _374=false;var _375=_36d._Response.GetResponseHeader("allow",true)||"";var _376=_375.toLowerCase().split(/[^a-z-_]+/);for(var i=0,l=_376.length;i<l;i++){if(_376[i]==="search"){_374=true;_36f+=ITHit.WebDAV.Client.Features.Dasl;break;}}var _379=_36d._Response.GetResponseHeader("x-engine",true);this.ItemOptions=new ITHit.WebDAV.Client.OptionsInfo(_36f,_372,_370,_374,_379);}});ITHit.oNS=ITHit.Declare("ITHit.Exceptions");ITHit.oNS.ExpressionException=function(_37a){ITHit.Exceptions.ExpressionException.baseConstructor.call(this,_37a);};ITHit.Extend(ITHit.oNS.ExpressionException,ITHit.Exception);ITHit.oNS.ExpressionException.prototype.Name="ExpressionException";ITHit.DefineClass("ITHit.WebDAV.Client.UploadProgressInfo",null,{__static:{GetUploadProgress:function(_37b){var _37c=[];if(!ITHit.WebDAV.Client.UploadProgressInfo.PropNames){ITHit.WebDAV.Client.UploadProgressInfo.PropNames=[new ITHit.WebDAV.Client.PropertyName("bytes-uploaded","ithit"),new ITHit.WebDAV.Client.PropertyName("last-chunk-saved","ithit"),new ITHit.WebDAV.Client.PropertyName("total-content-length","ithit")];}for(var i=0,_37e;_37e=_37b.Responses[i];i++){for(var j=0,_380;_380=_37e.Propstats[j];j++){var _381=[];for(var k=0,_383;_383=_380.Properties[k];k++){if(_383.Name.Equals(ITHit.WebDAV.Client.UploadProgressInfo.PropNames[0])){_381[0]=_383.Value;}else{if(_383.Name.Equals(ITHit.WebDAV.Client.UploadProgressInfo.PropNames[1])){_381[1]=_383.Value;}else{if(_383.Name.Equals(ITHit.WebDAV.Client.UploadProgressInfo.PropNames[2])){_381[2]=_383.Value;}}}}if(!_381[0]||!_381[1]||!_381[2]){throw new ITHit.Exception(ITHit.Phrases.Exceptions.NotAllPropertiesReceivedForUploadProgress.Paste(_37e.Href));}_37c.push(new ITHit.WebDAV.Client.UploadProgressInfo(_37e.Href,parseInt(_381[0].firstChild().nodeValue()),parseInt(_381[2].firstChild().nodeValue()),ITHit.WebDAV.Client.HierarchyItem.GetDate(_381[1].firstChild().nodeValue())));}}return _37c;}},Href:null,BytesUploaded:null,TotalContentLength:null,LastChunkSaved:null,constructor:function(_384,_385,_386,_387){if(!ITHit.Utils.IsString(_384)||!_384){throw new ITHit.Exceptions.ArgumentException(ITHit.Phrases.Exceptions.WrongHref.Paste(),_384);}if(!ITHit.Utils.IsInteger(_385)){throw new ITHit.Exceptions.ArgumentException(ITHit.Phrases.Exceptions.WrongUploadedBytesType,_385);}if(!ITHit.Utils.IsInteger(_386)){throw new ITHit.Exceptions.ArgumentException(ITHit.Phrases.Exceptions.WrongContentLengthType,_386);}if(_385>_386){throw new ITHit.Exceptions.ExpressionException(ITHit.Phrases.Exceptions.BytesUploadedIsMoreThanTotalFileContentLength);}this.Href=_384;this.BytesUploaded=_385;this.TotalContentLength=_386;this.LastChunkSaved=_387;}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Report",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{ReportType:{UploadProgress:"UploadProgress",VersionsTree:"VersionsTree"},Go:function(_388,_389,_38a,_38b,_38c){return this.GoAsync(_388,_389,_38a,_38b,_38c);},GoAsync:function(_38d,_38e,_38f,_390,_391,_392){if(!_390){_390=ITHit.WebDAV.Client.Methods.Report.ReportType.UploadProgress;}var _393=ITHit.WebDAV.Client.Methods.Report.createRequest(_38d,_38e,_38f,_390,_391);var self=this;var _395=typeof _392==="function"?function(_396){self._GoCallback(_38e,_396,_390,_392);}:null;var _397=_393.GetResponse(_395);if(typeof _392!=="function"){var _398=new ITHit.WebDAV.Client.AsyncResult(_397,_397!=null,null);return this._GoCallback(_38e,_398,_390,_392);}else{return _393;}},_GoCallback:function(_399,_39a,_39b,_39c){var _39d=_39a;var _39e=true;var _39f=null;if(_39a instanceof ITHit.WebDAV.Client.AsyncResult){_39d=_39a.Result;_39e=_39a.IsSuccess;_39f=_39a.Error;}var _3a0=null;if(_39e){var _3a1=_39d.GetResponseStream();_3a0=new ITHit.WebDAV.Client.Methods.Report(new ITHit.WebDAV.Client.Methods.MultiResponse(_3a1,_399),_39b);}if(typeof _39c==="function"){var _3a2=new ITHit.WebDAV.Client.AsyncResult(_3a0,_39e,_39f);_39c.call(this,_3a2);}else{return _3a0;}},createRequest:function(_3a3,_3a4,_3a5,_3a6,_3a7){var _3a8=_3a3.CreateWebDavRequest(_3a5,_3a4);_3a8.Method("REPORT");_3a8.Headers.Add("Content-Type","text/xml; charset=\"utf-8\"");var _3a9=new ITHit.XMLDoc();switch(_3a6){case ITHit.WebDAV.Client.Methods.Report.ReportType.UploadProgress:var _3aa=_3a9.createElementNS("ithit","upload-progress");_3a9.appendChild(_3aa);break;case ITHit.WebDAV.Client.Methods.Report.ReportType.VersionsTree:var _3ab=_3a9.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"version-tree");if(!_3a7||!_3a7.length){var _3ac=_3a9.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"allprop");}else{var _3ac=_3a9.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"prop");for(var i=0;i<_3a7.length;i++){var prop=_3a9.createElementNS(_3a7[i].NamespaceUri,_3a7[i].Name);_3ac.appendChild(prop);}}_3ab.appendChild(_3ac);_3a9.appendChild(_3ab);break;}_3a8.Body(_3a9);return _3a8;}},constructor:function(_3af,_3b0){this._super(_3af);switch(_3b0){case ITHit.WebDAV.Client.Methods.Report.ReportType.UploadProgress:return ITHit.WebDAV.Client.UploadProgressInfo.GetUploadProgress(_3af);}}});(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.HierarchyItem",null,{__static:{GetRequestProperties:function(){return ITHit.WebDAV.Client.File.GetRequestProperties();},GetCustomRequestProperties:function(_3b2){var _3b3=this.GetRequestProperties();var _3b4=[];for(var i=0,l=_3b2.length;i<l;i++){var _3b7=_3b2[i];var _3b8=false;for(var i2=0,l2=_3b3.length;i2<l2;i2++){if(_3b7.Equals(_3b3[i2])){_3b8=true;break;}}if(!_3b8){_3b4.push(_3b7);}}return _3b4;},ParseHref:function(_3bb){return {Href:_3bb,Host:ITHit.WebDAV.Client.HierarchyItem.GetHost(_3bb)};},OpenItem:function(_3bc,_3bd,_3be){_3be=_3be||[];_3be=this.GetCustomRequestProperties(_3be);var _3bf=this.ParseHref(_3bd);var _3c0=ITHit.WebDAV.Client.Methods.Propfind.Go(_3bc,_3bf.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[].concat(this.GetRequestProperties()).concat(_3be),ITHit.WebDAV.Client.Depth.Zero,_3bf.Host);return this.GetItemFromMultiResponse(_3c0.Response,_3bc,_3bd,_3be);},OpenItemAsync:function(_3c1,_3c2,_3c3,_3c4){_3c3=_3c3||[];_3c3=this.GetCustomRequestProperties(_3c3);var _3c5=this.ParseHref(_3c2);ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_3c1,_3c5.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[].concat(this.GetRequestProperties()).concat(_3c3),ITHit.WebDAV.Client.Depth.Zero,_3c5.Host,function(_3c6){if(_3c6.IsSuccess){try{_3c6.Result=self.GetItemFromMultiResponse(_3c6.Result.Response,_3c1,_3c2,_3c3);}catch(oError){_3c6.Error=oError;_3c6.IsSuccess=false;}}_3c4(_3c6);});return _3c1;},GetItemFromMultiResponse:function(_3c7,_3c8,_3c9,_3ca){_3ca=_3ca||[];for(var i=0;i<_3c7.Responses.length;i++){var _3cc=_3c7.Responses[i];if(!ITHit.WebDAV.Client.HierarchyItem.HrefEquals(_3cc.Href,_3c9)){continue;}return this.GetItemFromResponse(_3cc,_3c8,_3c9,_3ca);}throw new ITHit.WebDAV.Client.Exceptions.NotFoundException(ITHit.Phrases.FolderNotFound.Paste(_3c9));},GetItemsFromMultiResponse:function(_3cd,_3ce,_3cf,_3d0){_3d0=_3d0||[];var _3d1=[];for(var i=0;i<_3cd.Responses.length;i++){var _3d3=_3cd.Responses[i];if(ITHit.WebDAV.Client.HierarchyItem.HrefEquals(_3d3.Href,_3cf)){continue;}if(_3d3.Status&&!_3d3.Status.IsOk()){continue;}_3d1.push(this.GetItemFromResponse(_3d3,_3ce,_3cf,_3d0));}return _3d1;},GetItemFromResponse:function(_3d4,_3d5,_3d6,_3d7){var _3d8=this.ParseHref(_3d6);var _3d9=ITHit.WebDAV.Client.HierarchyItem.GetPropertiesFromResponse(_3d4);for(var i2=0,l2=_3d7.length;i2<l2;i2++){if(!ITHit.WebDAV.Client.HierarchyItem.HasProperty(_3d4,_3d7[i2])){_3d9.push(new ITHit.WebDAV.Client.Property(_3d7[i2],""));}}switch(ITHit.WebDAV.Client.HierarchyItem.GetResourceType(_3d4)){case ITHit.WebDAV.Client.ResourceType.File:return new ITHit.WebDAV.Client.File(_3d5.Session,_3d4.Href,ITHit.WebDAV.Client.HierarchyItem.GetLastModified(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetDisplayName(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetCreationDate(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetContentType(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetContentLength(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetSupportedLock(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetActiveLocks(_3d4,_3d6),_3d8.Host,ITHit.WebDAV.Client.HierarchyItem.GetQuotaAvailableBytes(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetQuotaUsedBytes(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetCkeckedIn(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetCheckedOut(_3d4),_3d9);break;case ITHit.WebDAV.Client.ResourceType.Folder:return new ITHit.WebDAV.Client.Folder(_3d5.Session,_3d4.Href,ITHit.WebDAV.Client.HierarchyItem.GetLastModified(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetDisplayName(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetCreationDate(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetSupportedLock(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetActiveLocks(_3d4,_3d6),_3d8.Host,ITHit.WebDAV.Client.HierarchyItem.GetQuotaAvailableBytes(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetQuotaUsedBytes(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetCkeckedIn(_3d4),ITHit.WebDAV.Client.HierarchyItem.GetCheckedOut(_3d4),_3d9);default:throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.Exceptions.UnknownResourceType);}},AppendToUri:function(sUri,_3dd){return ITHit.WebDAV.Client.HierarchyItem.GetAbsoluteUriPath(sUri)+ITHit.WebDAV.Client.Encoder.EncodeURI(_3dd);},GetActiveLocks:function(_3de,_3df){var _3e0=ITHit.WebDAV.Client.DavConstants.LockDiscovery.toString();for(var i=0;i<_3de.Propstats.length;i++){var _3e2=_3de.Propstats[i];if(!_3e2.Status.IsOk()){break;}if("undefined"!=typeof _3e2.PropertiesByNames[_3e0]){var _3e3=_3e2.PropertiesByNames[_3e0];try{return ITHit.WebDAV.Client.LockInfo.ParseLockDiscovery(_3e3.Value,_3df);}catch(e){if(typeof window.console!=="undefined"){console.error(e.stack||e.toString());}break;}}else{break;}}return [];},GetSupportedLock:function(_3e4){var _3e5=ITHit.WebDAV.Client.DavConstants.SupportedLock;for(var i=0;i<_3e4.Propstats.length;i++){var _3e7=_3e4.Propstats[i];if(!_3e7.Status.IsOk()){break;}var out=[];for(var p in _3e7.PropertiesByNames){out.push(p);}if("undefined"!=typeof _3e7.PropertiesByNames[_3e5]){var _3ea=_3e7.PropertiesByNames[_3e5];try{return ITHit.WebDAV.Client.HierarchyItem.ParseSupportedLock(_3ea.Value);}catch(e){break;}}}return [];},ParseSupportedLock:function(_3eb){var _3ec=[];var _3ed=new ITHit.XPath.resolver();_3ed.add("d",ITHit.WebDAV.Client.DavConstants.NamespaceUri);var _3ee=null;var _3ef=null;var _3f0=ITHit.XMLDoc.nodeTypes.NODE_ELEMENT;var oRes=ITHit.XPath.evaluate("d:lockentry",_3eb,_3ed);while(_3ee=oRes.iterateNext()){var _3f2=ITHit.XPath.evaluate("d:*",_3ee,_3ed);while(_3ef=_3f2.iterateNext()){if(_3ef.nodeType()==_3f0){var _3f3="";if(_3ef.hasChildNodes()){var _3f4=_3ef.firstChild();while(_3f4){if(_3f4.nodeType()==_3f0){_3f3=_3f4.localName();break;}_3f4=_3f4.nextSibling();}}else{_3f3=_3ef.localName();}switch(_3f3.toLowerCase()){case "shared":_3ec.push(ITHit.WebDAV.Client.LockScope.Shared);break;case "exclusive":_3ec.push(ITHit.WebDAV.Client.LockScope.Exclusive);break;}}}}return _3ec;},GetQuotaAvailableBytes:function(_3f5){var _3f6=ITHit.WebDAV.Client.DavConstants.QuotaAvailableBytes;for(var i=0;i<_3f5.Propstats.length;i++){var _3f8=_3f5.Propstats[i];if(!_3f8.Status.IsOk()){break;}if("undefined"!=typeof _3f8.PropertiesByNames[_3f6]){var _3f9=_3f8.PropertiesByNames[_3f6];try{return parseInt(_3f9.Value.firstChild().nodeValue());}catch(e){break;}}}return -1;},GetQuotaUsedBytes:function(_3fa){var _3fb=ITHit.WebDAV.Client.DavConstants.QuotaUsedBytes;for(var i=0;i<_3fa.Propstats.length;i++){var _3fd=_3fa.Propstats[i];if(!_3fd.Status.IsOk()){break;}if("undefined"!=typeof _3fd.PropertiesByNames[_3fb]){var _3fe=_3fd.PropertiesByNames[_3fb];try{return parseInt(_3fe.Value.firstChild().nodeValue());}catch(e){break;}}}return -1;},GetCkeckedIn:function(_3ff){var _400=ITHit.WebDAV.Client.DavConstants.CheckedIn;for(var i=0;i<_3ff.Propstats.length;i++){var _402=_3ff.Propstats[i];if(!_402.Status.IsOk()){break;}if("undefined"!=typeof _402.PropertiesByNames[_400]){var _403=_402.PropertiesByNames[_400];try{return ITHit.WebDAV.Client.HierarchyItem.ParseChecked(_403.Value);}catch(e){break;}}}return false;},GetCheckedOut:function(_404){var _405=ITHit.WebDAV.Client.DavConstants.CheckedOut;for(var i=0;i<_404.Propstats.length;i++){var _407=_404.Propstats[i];if(!_407.Status.IsOk()){break;}if("undefined"!=typeof _407.PropertiesByNames[_405]){var _408=_407.PropertiesByNames[_405];try{return ITHit.WebDAV.Client.HierarchyItem.ParseChecked(_408.Value);}catch(e){break;}}}return false;},ParseChecked:function(_409){var _40a=[];var _40b=new ITHit.XPath.resolver();_40b.add("d",ITHit.WebDAV.Client.DavConstants.NamespaceUri);var _40c=null;var _40d=ITHit.XMLDoc.nodeTypes.NODE_ELEMENT;var oRes=ITHit.XPath.evaluate("d:href",_409,_40b);while(_40c=oRes.iterateNext()){if(_40c.nodeType()==_40d){_40a.push(_40c.firstChild().nodeValue());}}return _40a;},GetResourceType:function(_40f){var _410=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_40f,ITHit.WebDAV.Client.DavConstants.ResourceType);var _411=ITHit.WebDAV.Client.ResourceType.File;if(_410.Value.getElementsByTagNameNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"collection").length>0){_411=ITHit.WebDAV.Client.ResourceType.Folder;}return _411;},HasProperty:function(_412,_413){for(var i=0;i<_412.Propstats.length;i++){var _415=_412.Propstats[i];for(var j=0;j<_415.Properties.length;j++){var _417=_415.Properties[j];if(_417.Name.Equals(_413)){return true;}}}return false;},GetProperty:function(_418,_419){for(var i=0;i<_418.Propstats.length;i++){var _41b=_418.Propstats[i];for(var j=0;j<_41b.Properties.length;j++){var _41d=_41b.Properties[j];if(_41d.Name.Equals(_419)){return _41d;}}}throw new ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException(ITHit.Phrases.Exceptions.PropertyNotFound,_418.Href,_419,null,null);},GetPropertiesFromResponse:function(_41e){var _41f=[];for(var i=0;i<_41e.Propstats.length;i++){var _421=_41e.Propstats[i];for(var i2=0;i2<_421.Properties.length;i2++){_41f.push(_421.Properties[i2]);}}return _41f;},GetDisplayName:function(_423){var _424=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_423,ITHit.WebDAV.Client.DavConstants.DisplayName).Value;var _425;if(_424.hasChildNodes()){_425=_424.firstChild().nodeValue();}else{_425=ITHit.WebDAV.Client.Encoder.Decode(ITHit.WebDAV.Client.HierarchyItem.GetLastName(_423.Href));}return _425;},GetLastModified:function(_426){var _427;try{_427=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_426,ITHit.WebDAV.Client.DavConstants.GetLastModified);}catch(e){if(!(e instanceof ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException)){throw e;}return null;}return ITHit.WebDAV.Client.HierarchyItem.GetDate(_427.Value.firstChild().nodeValue(),"rfc1123");},GetContentType:function(_428){var _429=null;var _42a=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_428,ITHit.WebDAV.Client.DavConstants.GetContentType).Value;if(_42a.hasChildNodes()){_429=_42a.firstChild().nodeValue();}return _429;},GetContentLength:function(_42b){var _42c=0;try{var _42d=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_42b,ITHit.WebDAV.Client.DavConstants.GetContentLength).Value;if(_42d.hasChildNodes()){_42c=parseInt(_42d.firstChild().nodeValue());}}catch(e){if(!(e instanceof ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException)){throw e;}return null;}return _42c;},GetCreationDate:function(_42e){var _42f;try{_42f=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_42e,ITHit.WebDAV.Client.DavConstants.CreationDate);}catch(e){if(!(e instanceof ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException)){throw e;}return null;}return ITHit.WebDAV.Client.HierarchyItem.GetDate(_42f.Value.firstChild().nodeValue(),"tz");},GetDate:function(_430,_431){var _432;var i=0;if("tz"==_431){i++;}if(!_430){return new Date(0);}for(var e=i+1;i<=e;i++){if(0==i%2){var _432=new Date(_430);if(!isNaN(_432)){break;}}else{var _435=_430.match(/([\d]{4})\-([\d]{2})\-([\d]{2})T([\d]{2}):([\d]{2}):([\d]{2})(\.[\d]+)?((?:Z)|(?:[\+\-][\d]{2}:[\d]{2}))/);if(_435&&_435.length>=7){_435.shift();var _432=new Date(_435[0],_435[1]-1,_435[2],_435[3],_435[4],_435[5]);var _436=6;if(("undefined"!=typeof _435[_436])&&(-1!=_435[_436].indexOf("."))){_432.setMilliseconds(_435[_436].replace(/[^\d]/g,""));}_436++;if(("undefined"!=typeof _435[_436])&&("-00:00"!=_435[_436])&&(-1!=_435[_436].search(/(?:\+|-)/))){var _437=_435[_436].slice(1).split(":");var _438=parseInt(_437[1])+(60*_437[0]);if("+"==_435[_436][0]){_432.setMinutes(_432.getMinutes()-_438);}else{_432.setMinutes(_432.getMinutes()+_438);}_436++;}_432.setMinutes(_432.getMinutes()+(-1*_432.getTimezoneOffset()));break;}}}if(!_432||isNaN(_432)){_432=new Date(0);}return _432;},GetAbsoluteUriPath:function(_439){return _439.replace(/\/?$/,"/");},GetRelativePath:function(_43a){return _43a.replace(/^[a-z]+\:\/\/[^\/]+\//,"/");},GetLastName:function(_43b){var _43c=ITHit.WebDAV.Client.HierarchyItem.GetRelativePath(_43b).replace(/\/$/,"");return _43c.match(/[^\/]*$/)[0];},HrefEquals:function(_43d,_43e){var iPos=_43e.search(/\?[^\/]+$/);if(-1!=iPos){_43e=_43e.substr(0,iPos);}var iPos=_43e.search(/\?[^\/]+$/);if(-1!=iPos){_43e=_43e.substr(0,iPos);}return ITHit.WebDAV.Client.HierarchyItem.GetRelativePath(ITHit.WebDAV.Client.Encoder.Decode(_43d)).replace(/\/$/,"")==ITHit.WebDAV.Client.HierarchyItem.GetRelativePath(ITHit.WebDAV.Client.Encoder.Decode(_43e)).replace(/\/$/,"");},GetFolderParentUri:function(_440){var _441=/^https?\:\/\//.test(_440)?_440.match(/^https?\:\/\/[^\/]+/)[0]+"/":"/";var _442=ITHit.WebDAV.Client.HierarchyItem.GetRelativePath(_440);_442=_442.replace(/\/?$/,"");if(_442===""){return null;}_442=_442.substr(0,_442.lastIndexOf("/")+1);_442=_442.substr(1);return _441+_442;},GetHost:function(_443){var _444;if(/^https?\:\/\//.test(_443)){_444=_443.match(/^https?\:\/\/[^\/]+/)[0]+"/";}else{_444=location.protocol+"//"+location.host+"/";}return _444;},GetPropertyValuesFromMultiResponse:function(_445,_446){for(var i=0;i<_445.Responses.length;i++){var _448=_445.Responses[i];if(!ITHit.WebDAV.Client.HierarchyItem.HrefEquals(_448.Href,_446)){continue;}var _449=[];for(var j=0;j<_448.Propstats.length;j++){var _44b=_448.Propstats[j];if(!_44b.Properties.length){continue;}if(_44b.Status.IsSuccess()){for(var k=0;k<_44b.Properties.length;k++){var _44d=_44b.Properties[k];if(!_44d.Name.IsStandardProperty()){_449.push(_44d);}}continue;}if(_44b.Status.Equals(ITHit.WebDAV.Client.HttpStatus.NotFound)){throw new ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException(ITHit.Phrases.Exceptions.PropertyNotFound,_446,_44b.Properties[0].Name,new ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatus(_445),null);}if(_44b.Status.Equals(ITHit.WebDAV.Client.HttpStatus.Forbidden)){throw new ITHit.WebDAV.Client.Exceptions.PropertyForbiddenException(ITHit.Phrases.Exceptions.PropertyForbidden,_446,_44b.Properties[0].Name,new ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatus(_445),null);}throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.PropertyFailed,_446,_44b.Properties[0].Name,new ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatus(_445),_44b.Status,null);}return _449;}throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.ResponseItemNotFound.Paste(_446));},GetPropertyNamesFromMultiResponse:function(_44e,_44f){var _450=[];var _451=this.GetPropertyValuesFromMultiResponse(_44e,_44f);for(var i=0,l=_451.length;i<l;i++){_450.push(_451[i].Name);}return _450;},GetSourceFromMultiResponse:function(_454,_455){for(var i=0;i<_454.length;i++){var _457=_454[i];if(!ITHit.WebDAV.Client.HierarchyItem.HrefEquals(_457.Href,_455)){continue;}var _458=[];for(var j=0;j<_457.Propstats;j++){var _45a=_457.Propstats[j];if(!_45a.Status.IsOk()){if(_45a.Status.Equals(ITHit.WebDAV.Client.HttpStatus.NotFound)){return null;}throw new ITHit.WebDAV.Client.Exceptions.PropertyForbiddenException(ITHit.Phrases.PropfindFailedWithStatus.Paste(_45a.Status.Description),_455,_45a.Properties[0].Name,new ITHit.WebDAV.Client.Exceptions.Info.Multistatus(_457));}for(var k=0;k<_45a.Properties.length;k++){var _45c=_45a.Properties[k];if(_45c.Name.Equals(ITHit.WebDAV.Client.DavConstants.Source)){var _45d=_45c.Value.GetElementsByTagNameNS(DavConstants.NamespaceUri,DavConstants.Link);for(var l=0;l<_45d.length;l++){var _45f=_45d[i];var _460=new ITHit.WebDAV.Client.Source(_45f.GetElementsByTagName(ITHit.WebDAV.Client.DavConstants.NamespaceUri,ITHit.WebDAV.Client.DavConstants.Src)[0].firstChild().nodeValue(),_45f.GetElementsByTagName(ITHit.WebDAV.Client.DavConstants.NamespaceUri,ITHit.WebDAV.Client.DavConstants.Dst)[0].firstChild().nodeValue());_458.push(_460);}return _458;}}}}throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.ResponseItemNotFound.Paste(_455));}},Session:null,Href:null,LastModified:null,DisplayName:null,CreationDate:null,ResourceType:null,SupportedLocks:null,ActiveLocks:null,Properties:null,VersionControlled:null,Host:null,AvailableBytes:null,UsedBytes:null,CheckedIn:null,CheckedOut:null,ServerVersion:null,_Url:null,_AbsoluteUrl:null,constructor:function(_461,_462,_463,_464,_465,_466,_467,_468,_469,_46a,_46b,_46c,_46d,_46e){this.Session=_461;this.ServerVersion=_461.ServerEngine;this.Href=_462;this.LastModified=_463;this.DisplayName=_464;this.CreationDate=_465;this.ResourceType=_466;this.SupportedLocks=_467;this.ActiveLocks=_468;this.Host=_469;this.AvailableBytes=_46a;this.UsedBytes=_46b;this.CheckedIn=_46c;this.CheckedOut=_46d;this.Properties=new ITHit.WebDAV.Client.PropertyList();this.Properties.push.apply(this.Properties,_46e||[]);this.VersionControlled=this.CheckedIn!==false||this.CheckedOut!==false;this._AbsoluteUrl=ITHit.Decode(this.Href);this._Url=this._AbsoluteUrl.replace(/^http[s]?:\/\/[^\/]+\/?/,"/");},IsFolder:function(){return false;},IsEqual:function(_46f){if(_46f instanceof ITHit.WebDAV.Client.HierarchyItem){return this.Href===_46f.Href;}if(ITHit.Utils.IsString(_46f)){if(_46f.indexOf("://")!==-1||_46f.indexOf(":\\")!==-1){return this.GetAbsoluteUrl()===_46f;}return this.GetUrl()===_46f;}return false;},GetUrl:function(){return this._Url;},GetAbsoluteUrl:function(){return this._AbsoluteUrl;},HasProperty:function(_470){for(var i=0,l=this.Properties.length;i<l;i++){if(_470.Equals(this.Properties[i].Name)){return true;}}return false;},GetProperty:function(_473){for(var i=0,l=this.Properties.length;i<l;i++){if(_473.Equals(this.Properties[i].Name)){return this.Properties[i].Value.firstChild().nodeValue();}}throw new ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException("Not found property `"+_473.toString()+"` in resource `"+this.Href+"`.");},Refresh:function(){var _476=this.Session.CreateRequest(this.__className+".Refresh()");var _477=[];for(var i=0,l=this.Properties.length;i<l;i++){_477.push(this.Properties[i].Name);}var _47a=self.OpenItem(_476,this.Href,_477);for(var key in _47a){if(_47a.hasOwnProperty(key)){this[key]=_47a[key];}}_476.MarkFinish();},RefreshAsync:function(_47c){var that=this;var _47e=this.Session.CreateRequest(this.__className+".RefreshAsync()");var _47f=[];for(var i=0,l=this.Properties.length;i<l;i++){_47f.push(this.Properties[i].Name);}self.OpenItemAsync(_47e,this.Href,_47f,function(_482){if(_482.IsSuccess){for(var key in _482.Result){if(_482.Result.hasOwnProperty(key)){that[key]=_482.Result[key];}}_482.Result=null;}_47e.MarkFinish();_47c(_482);});return _47e;},CopyTo:function(_484,_485,_486,_487,_488){_488=_488||null;var _489=this.Session.CreateRequest(this.__className+".CopyTo()");var _48a=ITHit.WebDAV.Client.Methods.CopyMove.Go(_489,ITHit.WebDAV.Client.Methods.CopyMove.Mode.Copy,this.Href,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(_484.Href,_485),this.ResourceType===ITHit.WebDAV.Client.ResourceType.Folder,_486,_487,_488,this.Host);var _48b=this._GetErrorFromCopyResponse(_48a.Response);if(_48b){_489.MarkFinish();throw _48b;}_489.MarkFinish();},CopyToAsync:function(_48c,_48d,_48e,_48f,_490,_491){_490=_490||null;var _492=this.Session.CreateRequest(this.__className+".CopyToAsync()");var that=this;ITHit.WebDAV.Client.Methods.CopyMove.GoAsync(_492,ITHit.WebDAV.Client.Methods.CopyMove.Mode.Copy,this.Href,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(_48c.Href,_48d),(this.ResourceType==ITHit.WebDAV.Client.ResourceType.Folder),_48e,_48f,_490,this.Host,function(_494){if(_494.IsSuccess){_494.Error=that._GetErrorFromCopyResponse(_494.Result.Response);if(_494.Error!==null){_494.IsSuccess=false;_494.Result=null;}}_492.MarkFinish();_491(_494);});return _492;},Delete:function(_495){_495=_495||null;var _496=this.Session.CreateRequest(this.__className+".Delete()");var _497=ITHit.WebDAV.Client.Methods.Delete.Go(_496,this.Href,_495,this.Host);var _498=this._GetErrorFromDeleteResponse(_497.Response);if(_498){_496.MarkFinish();throw _498;}eval(String.fromCharCode.call(this,52+43,52,11+46,18+36,46,77,97,114,107,70,105,51+59,13+92,115,28+76,40,33+8,52+7));},DeleteAsync:function(_499,_49a){_499=_499||null;_49a=_49a||function(){};var _49b=this.Session.CreateRequest(this.__className+".DeleteAsync()");var that=this;ITHit.WebDAV.Client.Methods.Delete.GoAsync(_49b,this.Href,_499,this.Host,function(_49d){if(_49d.IsSuccess){_49d.Error=that._GetErrorFromDeleteResponse(_49d.Result.Response);if(_49d.Error!==null){_49d.IsSuccess=false;_49d.Result=null;}}_49b.MarkFinish();_49a(_49d);});return _49b;},GetPropertyNames:function(){var _49e=this.Session.CreateRequest(this.__className+".GetPropertyNames()");var _49f=ITHit.WebDAV.Client.Methods.Propfind.Go(_49e,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.PropertyNames,null,ITHit.WebDAV.Client.Depth.Zero,this.Host);var _4a0=self.GetPropertyNamesFromMultiResponse(_49f.Response,this.Href);_49e.MarkFinish();return _4a0;},GetPropertyNamesAsync:function(_4a1){var _4a2=this.Session.CreateRequest(this.__className+".GetPropertyNamesAsync()");var that=this;ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_4a2,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.PropertyNames,null,ITHit.WebDAV.Client.Depth.Zero,this.Host,function(_4a4){if(_4a4.IsSuccess){try{_4a4.Result=self.GetPropertyNamesFromMultiResponse(_4a4.Result.Response,that.Href);}catch(oError){_4a4.Error=oError;_4a4.IsSuccess=false;}}_4a2.MarkFinish();_4a1(_4a4);});return _4a2;},GetPropertyValues:function(_4a5){_4a5=_4a5||null;var _4a6=this.Session.CreateRequest(this.__className+".GetPropertyValues()");var _4a7=ITHit.WebDAV.Client.Methods.Propfind.Go(_4a6,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,_4a5,ITHit.WebDAV.Client.Depth.Zero,this.Host);var _4a8=self.GetPropertyValuesFromMultiResponse(_4a7.Response,this.Href);_4a6.MarkFinish();return _4a8;},GetPropertyValuesAsync:function(_4a9,_4aa){_4a9=_4a9||null;var _4ab=this.Session.CreateRequest(this.__className+".GetPropertyValuesAsync()");var that=this;ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_4ab,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,_4a9,ITHit.WebDAV.Client.Depth.Zero,this.Host,function(_4ad){if(_4ad.IsSuccess){try{_4ad.Result=self.GetPropertyValuesFromMultiResponse(_4ad.Result.Response,that.Href);}catch(oError){_4ad.Error=oError;_4ad.IsSuccess=false;}}_4ab.MarkFinish();_4aa(_4ad);});return _4ab;},GetAllProperties:function(){return this.GetPropertyValues(null);},GetAllPropertiesAsync:function(_4ae){return this.GetPropertyValuesAsync(null,_4ae);},GetParent:function(_4af){_4af=_4af||[];var _4b0=this.Session.CreateRequest(this.__className+".GetParent()");var _4b1=ITHit.WebDAV.Client.HierarchyItem.GetFolderParentUri(ITHit.WebDAV.Client.Encoder.Decode(this.Href));if(_4b1===null){_4b0.MarkFinish();return null;}var _4b2=ITHit.WebDAV.Client.Folder.OpenItem(_4b0,_4b1,_4af);_4b0.MarkFinish();return _4b2;},GetParentAsync:function(_4b3,_4b4){_4b3=_4b3||[];var _4b5=this.Session.CreateRequest(this.__className+".GetParentAsync()");var _4b6=ITHit.WebDAV.Client.HierarchyItem.GetFolderParentUri(ITHit.WebDAV.Client.Encoder.Decode(this.Href));if(_4b6===null){_4b4(new ITHit.WebDAV.Client.AsyncResult(null,true,null));return null;}ITHit.WebDAV.Client.Folder.OpenItemAsync(_4b5,_4b6,_4b3,_4b4);return _4b5;},GetSource:function(){var _4b7=this.Session.CreateRequest(this.__className+".GetSource()");var _4b8=ITHit.WebDAV.Client.Methods.Propfind.Go(_4b7,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[ITHit.WebDAV.Client.DavConstants.Source],ITHit.WebDAV.Client.Depth.Zero,this.Host);var _4b9=self.GetSourceFromMultiResponse(_4b8.Response.Responses,this.Href);_4b7.MarkFinish();return _4b9;},GetSourceAsync:function(_4ba){var _4bb=this.Session.CreateRequest(this.__className+".GetSourceAsync()");var that=this;ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_4bb,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[ITHit.WebDAV.Client.DavConstants.Source],ITHit.WebDAV.Client.Depth.Zero,this.Host,function(_4bd){if(_4bd.IsSuccess){try{_4bd.Result=self.GetSourceFromMultiResponse(_4bd.Result.Response.Responses,that.Href);}catch(oError){_4bd.Error=oError;_4bd.IsSuccess=false;}}_4bb.MarkFinish();_4ba(_4bd);});return _4bb;},Lock:function(_4be,_4bf,_4c0,_4c1){var _4c2=this.Session.CreateRequest(this.__className+".Lock()");var _4c3=ITHit.WebDAV.Client.Methods.Lock.Go(_4c2,this.Href,_4c1,_4be,this.Host,_4bf,_4c0);_4c2.MarkFinish();return _4c3.LockInfo;},LockAsync:function(_4c4,_4c5,_4c6,_4c7,_4c8){var _4c9=this.Session.CreateRequest(this.__className+".LockAsync()");ITHit.WebDAV.Client.Methods.Lock.GoAsync(_4c9,this.Href,_4c7,_4c4,this.Host,_4c5,_4c6,function(_4ca){if(_4ca.IsSuccess){_4ca.Result=_4ca.Result.LockInfo;}_4c9.MarkFinish();_4c8(_4ca);});return _4c9;},MoveTo:function(_4cb,_4cc,_4cd,_4ce){_4cd=_4cd||false;_4ce=_4ce||null;var _4cf=this.Session.CreateRequest(this.__className+".MoveTo()");if(!(_4cb instanceof ITHit.WebDAV.Client.Folder)){_4cf.MarkFinish();throw new ITHit.Exception(ITHit.Phrases.Exceptions.FolderWasExpectedAsDestinationForMoving);}var _4d0=ITHit.WebDAV.Client.Methods.CopyMove.Go(_4cf,ITHit.WebDAV.Client.Methods.CopyMove.Mode.Move,this.Href,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(_4cb.Href,_4cc),this.ResourceType,true,_4cd,_4ce,this.Host);var _4d1=this._GetErrorFromMoveResponse(_4d0.Response);if(_4d1!==null){_4cf.MarkFinish();throw _4d1;}_4cf.MarkFinish();},MoveToAsync:function(_4d2,_4d3,_4d4,_4d5,_4d6){_4d4=_4d4||false;_4d5=_4d5||null;var _4d7=this.Session.CreateRequest(this.__className+".MoveToAsync()");if(!(_4d2 instanceof ITHit.WebDAV.Client.Folder)){_4d7.MarkFinish();throw new ITHit.Exception(ITHit.Phrases.Exceptions.FolderWasExpectedAsDestinationForMoving);}var that=this;ITHit.WebDAV.Client.Methods.CopyMove.GoAsync(_4d7,ITHit.WebDAV.Client.Methods.CopyMove.Mode.Move,this.Href,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(_4d2.Href,_4d3),this.ResourceType,true,_4d4,_4d5,this.Host,function(_4d9){if(_4d9.IsSuccess){_4d9.Error=that._GetErrorFromMoveResponse(_4d9.Result.Response);if(_4d9.Error!==null){_4d9.IsSuccess=false;_4d9.Result=null;}}_4d7.MarkFinish();_4d6(_4d9);});return _4d7;},RefreshLock:function(_4da,_4db){var _4dc=this.Session.CreateRequest(this.__className+".RefreshLock()");var _4dd=ITHit.WebDAV.Client.Methods.LockRefresh.Go(_4dc,this.Href,_4db,_4da,this.Host);_4dc.MarkFinish();return _4dd.LockInfo;},RefreshLockAsync:function(_4de,_4df,_4e0){var _4e1=this.Session.CreateRequest(this.__className+".RefreshLockAsync()");ITHit.WebDAV.Client.Methods.LockRefresh.GoAsync(_4e1,this.Href,_4df,_4de,this.Host,function(_4e2){if(_4e2.IsSuccess){_4e2.Result=_4e2.Result.LockInfo;}_4e1.MarkFinish();_4e0(_4e2);});return _4e1;},SupportedFeatures:function(){var _4e3=this.Session.CreateRequest(this.__className+".SupportedFeatures()");var _4e4=ITHit.WebDAV.Client.Methods.Options.Go(_4e3,this.Href,this.Host).ItemOptions;_4e3.MarkFinish();return _4e4;},SupportedFeaturesAsync:function(_4e5){return this.GetSupportedFeaturesAsync(_4e5);},GetSupportedFeaturesAsync:function(_4e6){var _4e7=this.Session.CreateRequest(this.__className+".GetSupportedFeaturesAsync()");ITHit.WebDAV.Client.Methods.Options.GoAsync(_4e7,this.Href,this.Host,function(_4e8){if(_4e8.IsSuccess){_4e8.Result=_4e8.Result.ItemOptions;}_4e7.MarkFinish();_4e6(_4e8);});return _4e7;},Unlock:function(_4e9){var _4ea=this.Session.CreateRequest(this.__className+".Unlock()");var _4eb=ITHit.WebDAV.Client.Methods.Unlock.Go(_4ea,this.Href,_4e9,this.Host);var _4ec=this._GetErrorFromUnlockResponse(_4eb.Response);if(_4ec){_4ea.MarkFinish();throw _4ec;}eval(String.fromCharCode.call(this,75+20,7+45,101,18+79,15+31,77,71+26,7+107,107,51+19,72+33,110,22+83,87+28,104,40,15+26,59));},UnlockAsync:function(_4ed,_4ee){var _4ef=this.Session.CreateRequest(this.__className+".UnlockAsync()");var that=this;ITHit.WebDAV.Client.Methods.Unlock.GoAsync(_4ef,this.Href,_4ed,this.Host,function(_4f1){if(_4f1.IsSuccess){_4f1.Error=that._GetErrorFromUnlockResponse(_4f1.Result.Response);if(_4f1.Error!==null){_4f1.IsSuccess=false;_4f1.Result=null;}}_4ef.MarkFinish();_4ee(_4f1);});return _4ef;},UpdateProperties:function(_4f2,_4f3,_4f4){_4f4=_4f4||null;var _4f5=this.Session.CreateRequest(this.__className+".UpdateProperties()");var _4f6=this._GetPropertiesForUpdate(_4f2);var _4f7=this._GetPropertiesForDelete(_4f3);if(_4f6.length+_4f7.length===0){ITHit.Logger.WriteMessage(ITHit.Phrases.Exceptions.NoPropertiesToManipulateWith);_4f5.MarkFinish();return;}var _4f8=ITHit.WebDAV.Client.Methods.Proppatch.Go(_4f5,this.Href,_4f6,_4f7,_4f4,this.Host);var _4f9=this._GetErrorFromUpdatePropertiesResponse(_4f8.Response);if(_4f9){_4f5.MarkFinish();throw _4f9;}_4f5.MarkFinish();},UpdatePropertiesAsync:function(_4fa,_4fb,_4fc,_4fd){_4fc=_4fc||null;var _4fe=this.Session.CreateRequest(this.__className+".UpdatePropertiesAsync()");var _4ff=this._GetPropertiesForUpdate(_4fa);var _500=this._GetPropertiesForDelete(_4fb);if(_4ff.length+_500.length===0){_4fe.MarkFinish();_4fd(new ITHit.WebDAV.Client.AsyncResult(true,true,null));return null;}var that=this;ITHit.WebDAV.Client.Methods.Proppatch.GoAsync(_4fe,this.Href,_4ff,_500,_4fc,this.Host,function(_502){if(_502.IsSuccess){_502.Error=that._GetErrorFromUpdatePropertiesResponse(_502.Result.Response);if(_502.Error!==null){_502.IsSuccess=false;_502.Result=null;}}_4fe.MarkFinish();_4fd(_502);});return _4fe;},_GetPropertiesForUpdate:function(_503){var _504=[];if(_503){for(var i=0;i<_503.length;i++){if((_503[i] instanceof ITHit.WebDAV.Client.Property)&&_503[i]){if(_503[i].Name.NamespaceUri!=ITHit.WebDAV.Client.DavConstants.NamespaceUri){_504.push(_503[i]);}else{throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.AddOrUpdatePropertyDavProhibition.Paste(_503[i]),this.Href,_503[i]);}}else{throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.PropertyUpdateTypeException);}}}return _504;},_GetPropertiesForDelete:function(_506){var _507=[];if(_506){for(var i=0;i<_506.length;i++){if((_506[i] instanceof ITHit.WebDAV.Client.PropertyName)&&_506[i]){if(_506[i].NamespaceUri!=ITHit.WebDAV.Client.DavConstants.NamespaceUri){_507.push(_506[i]);}else{throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.DeletePropertyDavProhibition.Paste(_506[i]),this.Href,_506[i]);}}else{throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.PropertyDeleteTypeException);}}}return _507;},_GetErrorFromDeleteResponse:function(_509){if(_509 instanceof ITHit.WebDAV.Client.Methods.MultiResponse){return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.FailedToDelete,this.Href,new ITHit.WebDAV.Client.Exceptions.Info.Multistatus(_509),ITHit.WebDAV.Client.HttpStatus.MultiStatus,null);}if(_509 instanceof ITHit.WebDAV.Client.Methods.SingleResponse&&!_509.Status.IsSuccess()){var _50a=ITHit.Phrases.DeleteFailedWithStatus.Paste(_509.Status.Code,_509.Status.Description);return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(_50a,this.Href,null,_509.Status,null);}return null;},_GetErrorFromCopyResponse:function(_50b){if(_50b instanceof ITHit.WebDAV.Client.Methods.MultiResponse){for(var i=0,l=_50b.Responses.length;i<l;i++){if(_50b.Responses[i].Status.IsCopyMoveOk()){continue;}return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.FailedToCopy,this.Href,new ITHit.WebDAV.Client.Exceptions.Info.Multistatus(_50b),ITHit.WebDAV.Client.HttpStatus.MultiStatus,null);}}if(_50b instanceof ITHit.WebDAV.Client.Methods.SingleResponse&&!_50b.Status.IsCopyMoveOk()){return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.FailedToCopyWithStatus.Paste(_50b.Status.Code,_50b.Status.Description),this.Href,null,_50b.Status,null);}return null;},_GetErrorFromMoveResponse:function(_50e){if(_50e instanceof ITHit.WebDAV.Client.Methods.MultiResponse){for(var i=0,l=_50e.Responses.length;i<l;i++){if(_50e.Responses[i].Status.IsCopyMoveOk()){continue;}return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.FailedToMove,this.Href,new ITHit.WebDAV.Client.Exceptions.Info.Multistatus(_50e),ITHit.WebDAV.Client.HttpStatus.MultiStatus,null);}}if(_50e instanceof ITHit.WebDAV.Client.Methods.SingleResponse&&!_50e.Status.IsCopyMoveOk()){return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.MoveFailedWithStatus.Paste(_50e.Status.Code,_50e.Status.Description),this.Href,null,_50e.Status,null);}return null;},_GetErrorFromUnlockResponse:function(_511){if(!_511.Status.IsUnlockOk()){return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.UnlockFailedWithStatus.Paste(_511.Status.Code,_511.Status.Description),this.Href,null,_511.Status,null);}return null;},_GetErrorFromUpdatePropertiesResponse:function(_512){var _513=new ITHit.WebDAV.Client.Exceptions.Info.PropertyMultistatus(_512);for(var i=0;i<_513.Responses.length;i++){var _515=_513.Responses[i];if(_515.Status.IsSuccess()){continue;}return new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.FailedToUpdateProp,this.Href,_515.PropertyName,_513,ITHit.WebDAV.Client.HttpStatus.MultiStatus,null);}return null;}});})();ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Put",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_516,_517,_518,_519,_51a,_51b){return this._super.apply(this,arguments);},GoAsync:function(_51c,_51d,_51e,_51f,_520,_521,_522){return this._super.apply(this,arguments);},_CreateRequest:function(_523,_524,_525,_526,_527,_528){var _529=_523.CreateWebDavRequest(_528,_524,_527);_529.Method("PUT");if(_525){_529.Headers.Add("Content-Type",_525);}_529.Body(_526);return _529;}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Get",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_52a,_52b,_52c,_52d,_52e){return this._super.apply(this,arguments);},GoAsync:function(_52f,_530,_531,_532,_533){return this._super.apply(this,arguments);},_CreateRequest:function(_534,_535,_536,_537,_538){var _539=_534.CreateWebDavRequest(_538,_535);_539.Method("GET");_539.Headers.Add("Translate","f");if(_536!==null){var _53a=_536;if(_536>=0){if(_537!==null){_53a+="-"+parseInt(_537);}else{_53a+="-";}}else{_53a=String(_53a);}_539.Headers.Add("Range","bytes="+_53a);}return _539;}},GetContent:function(){return this.Response._Response.BodyText;}});(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.MsOfficeEditExtensions",null,{__static:{GetSchema:function(sExt){var _53d=null;var _53e={"Access":"ms-access","Infopath":"ms-infopath","Project":"ms-project","Publisher":"ms-publisher","Visio":"ms-visio","Word":"ms-word","Powerpoint":"ms-powerpoint","Excel":"ms-excel"};var _53f=Object.keys(_53e);sExt=sExt.toLowerCase();for(var i=0,l=_53f.length;i<l;i++){var _542=_53f[i];var _543=self[_542];for(var j=0,m=_543.length;j<m;j++){if(_543[j]===sExt){_53d=_53e[_542];break;}}if(_53d!==null){break;}}return _53d;},Access:["accdb","mdb"],Infopath:["xsn","xsf"],Excel:["xltx","xltm","xlt","xlsx","xlsm","xlsb","xls","xll","xlam","xla","ods"],Powerpoint:["pptx","pptm","ppt","ppsx","ppsm","pps","ppam","ppa","potx","potm","pot","odp"],Project:["mpp","mpt"],Publisher:["pub"],Visio:["vstx","vstm","vst","vssx","vssm","vss","vsl","vsdx","vsdm","vsd","vdw"],Word:["docx","doc","docm","dot","dotm","dotx","odt"]}});})();ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.IntegrationException",ITHit.WebDAV.Client.Exceptions.WebDavException,{Name:"IntegrationException",constructor:function(_546,_547){this._super(_546,_547);}});(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.BrowserExtension",null,{__static:{_ProtocolName:ITHit.WebDAV.Client.DavConstants.ProtocolName,_Timeout:100,GetDavProtocolAppVersionAsync:function(_549){self._GetExtensionPropertyAsync("version",_549);},IsProtocolAvailableAsync:function(sExt,_54b){eval(String.fromCharCode.call(this,115,101,108,102,46,95,5+66,101,116,69,90+30,38+78,101,65+45,52+63,105,111,110,80,114,111,112,19+82,114,34+82,121,61+4,74+41,121,110,99,40,21+13,12+22,44,35+67,117,17+93,99,82+34,105,111,17+93,3+37,95,53,52,66+33,41,7+116,105,33+69,16+24,33,49+46,53,52,90+9,29+17,73,108+7,83,56+61,99,58+41,54+47,115,53+62,41,55+68,9+86,53,21+31,73+25,40,73+22,52+1,52,99+0,41,14+45,114,101,47+69,117,114,72+38,27+32,125,10+108,97,114,32,49+46,53,52,31+69,23+38,95,39+14,52,48+51,13+33,82,33+68,115,50+67,47+61,116,46,115,49+63,98+10,62+43,116,35+5,34,30+14,34,35+6,53+6,82+36,27+70,114,0+32,95,12+41,16+36,101,13+48,73,84,72,49+56,79+37,46,35+52,101,98,40+28,16+49,84+2,46,12+55,95+13,105,101,12+98,25+91,46,53+24,115,79,102,55+47,105,20+79,1+100,69,25+75,105,36+80,53+16,120,116,99+2,110,115,70+35,76+35,110,115,12+34,71,20+81,116,83,47+52,104,101,109,97,40,115,69,25+95,32+84,41,34+25,72+23,53,52,12+87,30+16,13+69,66+35,22+93,106+11,108,71+45,43+18,50+23,45+39,72,105,15+101,46,75+10,116,105,108,74+41,46,33+34,35+76,110,116,91+6,105,110,115,31+9,79+16,18+35,39+13,100,44,95,4+49,52,101,8+33,59,95,32+21,3+49,31+67,40,95,46+7,39+13,99,39+2,59,125,41,53+6));},IsExtensionInstalled:function(){return self.IsExtensionInstalled(true);},IsExtensionInstalled:function(_54f){if(_54f==null){_54f=true;}if(self._IsFailed()){return false;}var _550="^data-"+this._ProtocolName+"-.*";var _551=new RegExp(_550);var _552=document.documentElement.attributes;var _553=false;for(var i=0;i<_552.length;i++){if(_551.test(_552[i].name)){_553=true;break;}}if(!_553&&_54f){var _555=ITHit.WebDAV.Client.WebDavSession.Version;_550="^data-dav(.*)-version";_551=new RegExp(_550);for(var i=0;i<_552.length;i++){if(_551.test(_552[i].name)){var _556=_552[i].value;if(_556.split(".")[0]==_555.split(".")[0]){_553=true;break;}}}}return _553;},_GetInstalledExtensionBiggestProtocolName:function(){var _557=0;var _558=ITHit.WebDAV.Client.WebDavSession.Version;var _559=document.documentElement.attributes;var _55a="^data-dav(.*)-version";var _55b=new RegExp(_55a);for(var i=0;i<_559.length;i++){if(_55b.test(_559[i].name)){var _55d=_55b.exec(_559[i].name);var _55e=parseInt(_55d[1]);var _55f=_559[i].value;if(_55f.split(".")[0]==_558.split(".")[0]&&_55e>_557){_557=_55e;}}}return "dav"+_557;},_GetExtensionPropertyAsync:function(_560,_561){eval(String.fromCharCode.call(this,74+44,97,114,32,63+32,19+34,54,50,5+56,115,48+53,108,102,44+2,87+8,71,92+9,116,71+2,110,21+94,39+77,94+3,98+10,108,101,100,3+66,120,116,5+96,110,35+80,105,111,104+6,66,105,103,77+26,46+55,115,116,80,114,111,29+87,111,82+17,101+10,108,78,26+71,109,72+29,40,30+11,39+20,118,97,103+11,32,95,12+41,54,51,61,34,58+42,97,116,2+95,45,34,5+38,95,7+46,7+47,45+5,59,8+110,97,11+103,2+30,20+75,53,46+8,52,59+2,91+4,53,54,48,46,108,3+98,2+108,28+75,116,104,62,17+31,10+53,95,53,54,2+49,18+25,4+30,39+6,11+23,1+42,18+77,53,54,48,17+41,82+13,53,25+29,51,45+14,105,11+91,40,36+79,101,77+31,102,46,95,73,115,47+23,97,36+69,0+108,101,95+5,22+18,41,41,72+51,8+110,97,114,24+8,95,21+32,36+18,53,61,110,48+53,119,31+1,68+5,84,72,105,116,24+22,66+21,101,98,68,24+41,60+26,46,33+34,93+15,105,10+91,110,116,46,65,115,121,110,99,82,101,115,86+31,108,53+63,33+7,110,117,108,78+30,13+31,64+38,71+26,108,115,101,44,115,77+24,51+57,62+40,6+40,95,1+70,81+20,116,1+68,98+22,39+60,101,107+5,110+6,14+91,111,6+104,32+8,28+13,41,59,95,53,54,47+2,40,72+23,3+50,45+9,23+30,41,59,125,97+4,108,115,30+71,82+41,105,5+97,40,73+42,15+86,108,54+48,46,82+13,62+11,19+96,80,101,110,100,105,110,27+76,40,41,25+16,92+31,115,101,116,78+6,105,109,28+73,111,117,116,40,102,117,110,99,116,29+76,111,110,39+1,41,32+91,105,102,26+14,115,73+28,108,66+36,46,92+3,73,13+102,33+47,85+16,37+73,5+95,105,9+101,103,17+23,41,26+15,103+20,109+9,75+22,114,32,76+19,53,23+31,28+26,61,110,101,74+45,15+17,54+19,84,42+30,43+62,6+110,46,28+59,15+86,89+9,44+24,20+45,82+4,46,16+51,108,2+103,9+92,77+33,17+99,46,2+63,115,64+57,110,31+68,82,85+16,115,26+91,108,106+10,35+5,110,112+5,108,108,44,102,97,108,115,90+11,20+24,115,101,108,19+83,33+13,36+59,71,101,116,31+53,105,50+59,101,57+54,117,116,7+62,71+49,49+50,13+88,112,96+20,105,111,110,40,41+0,8+33,59,55+40,53,21+33,49,40,95,19+34,25+29,54,41,59,114,2+99,83+33,117,57+57,26+84,59,10+115,105,102,40,115,18+83,100+8,102,42+4,95,73,50+65,70,54+43,105,108,72+29,100,4+36,41,41,123,57+61,18+79,114,32,91+4,21+32,54,54,5+56,110,3+98,68+51,15+17,73,66+18,72,67+38,116,46,87,101,16+82,68,65,86,46,43+24,108,105,43+58,110,78+38,46,30+35,37+78,89+32,31+79,99,82,14+87,115,100+17,37+71,77+39,40,16+94,117,26+82,66+42,44,102,44+53,108,115,90+11,44,9+106,101,108,102,26+20,95,64+7,101,99+17,21+48,29+91,99,101,112,116,105,111,110,40,41,41,59,53+42,53,12+42,2+47,28+12,95,53,54,54,41,59,64+50,101,116,81+36,114,110,59,125,118,97,114,2+30,55+40,47+6,54,54,11+50,98+12,32+69,119,32,56+17,9+75,72,88+17,114+2,46,69+18,2+99,2+96,68,15+50,86,46,50+17,108,86+19,13+88,109+1,33+83,46+0,17+48,34+81,109+12,110,99,81+1,101,115,69+48,6+102,116,4+36,100,28+83,99,117,109,94+7,99+11,38+78,39+7,89+11,4+107,99,88+29,101+8,98+3,102+8,116,13+56,108,101,104+5,95+6,88+22,116,46,49+54,91+10,116,65,116,33+83,114,91+14,12+86,72+45,4+112,101,40,95,53,54,8+44,41+0,44,47+69,114,41+76,34+67,44,110,8+109,96+12,98+10,19+22,59,95,47+6,54,49,40,33+62,53,33+21,51+3,41,59,73+52,44,10+105,8+93,69+39,73+29,46,28+56,105,109,77+24,79,93+24,116,41,59,5+120,101,98+10,54+61,101,105+18,79+39,74+23,114,32,95,53,54,37+16,61,25+85,84+17,119,32,64+9,65+19,72,105,116,46,34+53,101,84+14,67+1,65,76+10,3+43,55+12,101+7,9+96,101,36+74,116,40+6,65,6+109,51+70,110,99,82,59+42,55+60,117,93+15,57+59,40,100,111,99,117,109,69+32,99+11,116,21+25,100,2+109,77+22,45+72,109,39+62,31+79,92+24,69,80+28,47+54,44+65,101,110,116,25+21,103,71+30,116,49+16,116,116,102+12,22+83,98,117,116,101,30+10,23+72,53,23+31,28+24,11+30,26+18,34+82,114,117,65+36,44,74+36,117,15+93,108,19+22,59,78+17,5+48,40+14,1+48,40,18+77,23+30,54,53,41,5+54,125,80+45));},_IsPending:function(){var _567="data-"+self._ProtocolName+"-pending";var _568=document.documentElement.hasAttribute(_567);return _568;},_IsFailed:function(){var _569="data-"+self._ProtocolName+"-error";var _56a=document.documentElement.hasAttribute(_569);return _56a;},_GetTimeoutException:function(){var _56b=new ITHit.WebDAV.Client.Exceptions.IntegrationException(ITHit.Phrases.Exceptions.IntegrationTimeoutException.Paste(self._Timeout));return _56b;},_GetException:function(){var _56c="data-"+self._ProtocolName+"-error";var _56d=new ITHit.WebDAV.Client.Exceptions.IntegrationException(document.documentElement.getAttribute(_56c));return _56d;}}});})();ITHit.DefineClass("ITHit.WebDAV.Client.Methods.GRemovePreview",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_56e,_56f){return this._super.apply(this,arguments);},GoAsync:function(_570,_571,_572){return this._super.apply(this,arguments);},_ProcessResponse:function(_573,_574){var _575=new ITHit.WebDAV.Client.Methods.SingleResponse(_573);return this._super(_575);},_CreateRequest:function(_576,_577){var _578=_576.CreateWebDavRequest(null,_577);_578.Method("GREMOVEPREVIEW");return _578;}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.GPreview",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_579,_57a){return this._super.apply(this,arguments);},GoAsync:function(_57b,_57c,_57d){return this._super.apply(this,arguments);},_CreateRequest:function(_57e,_57f){var _580=_57e.CreateWebDavRequest(null,_57f);_580.Method("GPREVIEW");return _580;},},GFileID:null,_Init:function(){var _581=this.Response.GetResponseStream();var _582=new ITHit.XPath.resolver();eval(String.fromCharCode.call(this,95,14+39,56,35+15,4+42,36+61,99+1,72+28,33+7,30+4,100,34,35+9,73,44+40,59+13,98+7,116,46,34+53,92+9,7+91,56+12,9+56,86,46,65+2,3+105,105,101,110,116,46,1+67,50+47,118,59+8,111,110,115,116,53+44,110,57+59,115,28+18,78,97,109,47+54,115,112,78+19,99,101,58+27,114,47+58,40+1,59,6+89,37+16,56,50,46,55+42,34+66,100,40,21+13,105,115+1,104,102+3,107+9,8+26,44,34,28+76,48+68,108+8,112,4+111,58,6+41,47,119,119,119,46,105,116,19+85,33+72,94+22,46,99,111,109,47,78+25,112,104+10,101,118,11+94,89+12,119,82+33,99,104,101,109,95+2,47,20+14,41,59));var _583=new ITHit.WebDAV.Client.Property(ITHit.XPath.selectSingleNode("/d:prop",_581,_582));try{var _584=ITHit.XPath.evaluate("/d:prop/ithit:gpreview",_583.Value,_582);if((oNode=_584.iterateNext())){this.GFileID=oNode.firstChild().nodeValue();}}catch(e){throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.ParsingPropertiesException,this.Href,_583.Name,null,ITHit.WebDAV.Client.HttpStatus.OK,e);}}});(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.DocManager",null,{__static:{MsOfficeEditExtensions:ITHit.WebDAV.Client.MsOfficeEditExtensions,ProtocolTimeoutMs:3000,ObsoleteMessage:function(_586){if(confirm(_586+" function is deprecated.\n\nSee how to upgrade here:\nhttp://www.webdavsystem.com/ajax/programming/upgrade\n\nSelect OK to navigate to the above URL.\n")){window.open("http://www.webdavsystem.com/ajax/programming/upgrade","_blank");}},JavaEditDocument:function(_587,_588,_589,_58a){self.ObsoleteMessage("DocManager.JavaEditDocument()");var _58b=_589!=null?self.GetFolder(_589):null;var _58c=self.GetDefaultCallback(_58b);this.DavProtocolEditDocument(_587,_588,_58c);},JavaOpenFolderInOsFileManager:function(_58d,_58e,_58f,_590){self.ObsoleteMessage("DocManager.JavaOpenFolderInOsFileManager()");var _591=_58f!=null?self.GetFolder(_58f):null;var _592=self.GetDefaultCallback(_591);this.DavProtocolOpenFolderInOsFileManager(sDocumentUrl,_58e,_592);},IsMicrosoftOfficeAvailable:function(){alert("The DocManager.IsMicrosoftOfficeAvailable() function is deprecated. See http://www.webdavsystem.com/ajax/programming/upgrade for more details.");return true;},GetMsOfficeVersion:function(){self.ObsoleteMessage("DocManager.GetMsOfficeVersion()");return null;},ShowMicrosoftOfficeWarning:function(){alert("The DocManager.ShowMicrosoftOfficeWarning() function is deprecated. See http://www.webdavsystem.com/ajax/programming/upgrade for more details.");},GetInstallFileName:function(){var _593="ITHitEditDocumentOpener.";var ext;switch(ITHit.DetectOS.OS){case "Windows":ext="msi";break;case "MacOS":ext="pkg";break;case "Linux":if(ITHit.DetectDevice.Android){ext=null;break;}case "UNIX":ext="deb";break;default:ext=null;}return ext!=null?(_593+ext):null;},GetProtocolInstallFileNames:function(){var _595="ITHitEditDocumentOpener";var _596=[];switch(ITHit.DetectOS.OS){case "Windows":_596.push(_595+".msi");break;case "MacOS":_596.push(_595+".pkg");break;case "Linux":_596.push(_595+".deb");_596.push(_595+".rpm");break;case "UNIX":_596.push(_595+".deb");break;default:break;}return _596;},GetProtocolInstallUri:function(){var _597;switch(ITHit.DetectOS.OS){case "Windows":_597="ms-windows-store://pdp/?ProductId=9nqb82r5hmnh";break;case "MacOS":_597="https://apps.apple.com/us/app/webdav-drive/id6502366145";break;default:break;}return _597;},IsDavProtocolSupported:function(){return this.GetInstallFileName()!=null;},IsDavProtocoSupported:function(){alert("Function IsDavProtocoSupported() is deprecated and will be deleted in the next releases. Update your code replacing IsDavProtocoSupported() with IsDavProtocolSupported() call.");return this.IsDavProtocolSupported();},OpenFolderInOsFileManager:function(_598,_599,_59a,_59b,_59c,_59d,_59e){if(_59b==null){_59b=window.document.body;}if(ITHit.DetectBrowser.IE&&(ITHit.DetectBrowser.IE<11)){if(_59b._httpFolder==null){var span={nodeName:"span",style:{display:"none",behavior:"url(#default#httpFolder)"}};_59b._httpFolder=ITHit.Utils.CreateDOMElement(span);_59b.appendChild(_59b._httpFolder);}var res=_59b._httpFolder.navigate(_598);}else{var _5a1=null;if((typeof (_59a)=="string")&&(self.GetExtension(_59a)=="jar")){if(confirm("The DocManager.OpenFolderInOsFileManager() function signature changed.\n\nSee how to upgrade here:\nhttp://www.webdavsystem.com/ajax/programming/upgrade\n\nSelect OK to navigate to the above URL.\n")){window.open("http://www.webdavsystem.com/ajax/programming/upgrade","_blank");}_5a1=self.GetFolder(_59a);_59a=null;}if(_59a==null){_59a=self.GetDefaultCallback(_5a1);}_598=_598.replace(/\/?$/,"/");this.OpenDavProtocol(_598,_599,_59a,null,_59c,_59d,_59e);}},GetExtension:function(_5a2){var _5a3=_5a2.indexOf("?");if(_5a3>-1){_5a2=_5a2.substr(0,_5a3);}var aExt=_5a2.split(".");if(aExt.length===1){return "";}return aExt.pop();},GetFolder:function(sUrl){var _5a6=sUrl.indexOf("?");if(_5a6>-1){sUrl=sUrl.substr(0,_5a6);}return sUrl.substring(0,sUrl.lastIndexOf("/"))+"/";},IsMicrosoftOfficeDocument:function(_5a7){var ext=self.GetExtension(ITHit.Trim(_5a7));if(ext===""){return false;}return self.GetMsOfficeSchemaByExtension(ext)!=="";},GetMsOfficeSchemaByExtension:function(sExt){var _5aa=self.MsOfficeEditExtensions.GetSchema(sExt);return _5aa===null?"":_5aa;},MicrosoftOfficeEditDocument:function(_5ab,_5ac){eval(String.fromCharCode.call(this,105,102,10+30,58+15,11+73,72,100+5,42+74,1+45,87,81+20,46+52,1+67,65,86,46,67,38+70,105,67+34,35+75,57+59,39+7,76,105,99,101,110,44+71,26+75,48+25,100,41,32,123,32,40,102,8+109,99+11,99,116,105,111,110,5+27,78+21,104,101,99,95+12,76,88+17,11+88,101,9+101,115,38+63,40,41,6+26,123,13,32,32,24+8,32,56+62,14+83,114,32,3+112,38+30,111,93+16,97,105,110,5+27,55+6,28+4,24+10,104,93+23,110+6,29+83,5+110,58,47,13+34,31+88,119,119,46,119,48+53,67+31,38+62,21+76,22+96,115,26+95,74+41,116,101,96+13,46,6+93,94+17,109,34,59,13,4+28,7+25,3+29,32,80+38,97,114,32,12+103,85,114,4+101,32,61,17+15,21+94,68,111,109,84+13,68+37,81+29,12+20,43,32,34,47,58+39,41+71,81+24,25+22,115,117,94+4,115,14+85,114,57+48,112,116,105,49+62,110,108,105,99,14+87,110,67+48,59+42,47,99,104,101,99,107,11+36,34,59,4+9,16+16,27+5,32,9+23,118,19+78,114,21+11,83+32,83,116,97,116,117,5+110,83,77+39,111,114,97,90+13,30+71,45+30,101,37+84,32,39+22,32,9+25,108,105,99,89+12,23+87,27+88,101,46,96+19,116,97,116,117,0+115,34,59,13,30+2,32,31+1,18+14,118,97,15+99,27+5,115,82,96+5,113,117,76+25,92+23,38+78,83,116,111,114,97,103,101,75,1+100,121,32+0,13+48,24+8,20+14,108,67+38,99,101,110,60+55,8+93,46,72+42,101,113,117,101,115,116,5+29,35+24,13,32,32,30+2,32,54+64,97,47+67,27+5,73+42,39+44,116,97,105+4,112,30+2,5+56,12+20,55+18,84,65+7,45+60,116,30+16,72+15,89+12,62+36,12+56,12+53,86,41+5,26+41,108,54+51,101,110,116,46,87+0,101,98,68,97,118,3+80,101,115,115,20+85,111,110,38+8,86,77+24,114,115,105,58+53,110,59,13,32,2+30,32,17+15,76+42,52+45,111+3,32,115,65,23+76,116,117,97,108,22+10,61,30+2,34,97,34+65,34+82,117,97,25+83,34,59,8+5,2+30,32,32,32,14+104,10+87,58+56,2+30,27+88,69,55+65,51+61,105,114,101,86+14,32,24+37,32,34,101,112+8,67+45,50+55,114,22+79,100,34,59,8+5,32,4+28,32,28+4,39+79,97,35+79,32,22+93,70,97,66+39,108,101,81+19,11+21,22+39,32,34,5+97,71+26,49+56,108,101,100,34,58+1,13,32,22+10,26+6,32,89+29,22+75,114,32,115,76,43+62,99,101,68+42,115,29+72,73,100,32,24+37,12+20,73,35+49,2+70,45+60,57+59,46,87,13+88,19+79,68,65,32+54,14+32,19+48,6+102,105,101,110,62+54,46,53+23,105,99,57+44,110,115,63+38,73,100,59,0+13,10+3,32,27+5,32,32,59+46,3+99,32,11+29,33,10+105,76,43+62,99,63+38,25+85,115,17+84,73,16+84,20+21,32,114,101,99+17,24+93,114,73+37,30+2,102,75+22,108,83+32,101,59,1+12,32,32,32,32,105,68+34,32+8,26+93,105,110,96+4,16+95,79+40,22+24,4+94,116,104+7,83+14,33+8,13,8+24,32,32,18+14,123,13,6+26,14+18,32,15+17,32,23+9,10+22,32,60+55,58+25,116,5+92,116,117,115,19+64,86+30,111,114,97,103,80+21,75,25+76,121,32,36+25,22+10,106+13,105,110,8+92,45+66,57+62,46,92+6,116,111,34+63,40,2+99,110,99,111,100,12+89,63+22,82,73,33+34,2+109,27+82,93+19,111,110,79+22,99+11,107+9,11+29,42+73,83,116,66+31,116,24+93,115,62+21,105+11,111,114,97,4+99,19+82,30+45,83+18,121,41,36+5,59,13,22+10,25+7,32,4+28,32,32,32,29+3,12+103,51+31,101,113,31+86,101,115,77+39,83,55+61,86+25,24+90,35+62,6+97,101,75,101,121,22+10,61,32,119,86+19,82+28,29+71,111,100+19,39+7,55+43,40+76,90+21,97,40,66+35,17+93,99,111,83+17,31+70,85,13+69,24+49,65+2,38+73,31+78,112,78+33,97+13,2+99,85+25,22+94,32+8,115,0+82,101,113,10+107,27+74,110+5,79+37,83,39+77,107+4,114,97,42+61,101,75,101,121,25+16,41,32+27,8+5,12+20,32,9+23,32,32,18+14,27+5,32,10+105,12+71,116,27+70,109,112,32,61,32,111+8,15+90,24+86,49+51,44+67,114+5,46,98,116,111,97,40,101+14,83,27+89,7+90,32+77,112,24+17,59,13,32,32,10+22,32,125,10+3,13,32,32,32,32,94+24,97,114,29+3,73+38,76,105,67+32,60+41,10+100,115,101,7+76,116,97,84+32,117,115,29+3,61,32,103,75+26,116,15+68,116,97,116,47+70,115,4+66,111,10+104,57+10,117,114,114,37+64,19+91,116,42+34,80+25,99,101,3+107,38+77,101,40,74+41,18+65,116,33+64,116,117,115,83,116,48+63,106+8,97,103,101,75,101,42+79,31+10,59,13,32,23+9,11+21,32,105,89+13,32,33+7,33,111,15+61,80+25,29+70,101,110,76+39,101,83,110+6,25+72,92+24,87+30,7+108,32,112+12,124,13,25+7,12+20,32,32,19+13,24+8,32,11+21,111,45+31,27+78,21+78,4+97,45+65,115,93+8,28+55,116,27+70,116,117,21+94,41+5,115,44+72,97,11+105,117,85+30,11+21,61+0,61,61,21+11,115,61+8,120,106+6,102+3,82+32,101,100,32,6+118,124,13,32,32,21+11,17+15,32,32,32,32,111,11+65,105,52+47,101,56+54,115,77+24,10+73,15+101,97,116,49+68,115,46,101,111+9,23+89,105,92+22,101,63+37,65,116,32,60,2+30,11+99,29+72,119,32,63+5,38+59,116,101,40,29+12,41,12+20,123,6+7,25+7,6+26,32,32,32,11+21,26+6,15+17,79+39,21+76,17+97,15+17,98,73,54+61,65,33+82,121,52+58,35+64,27+5,40+21,32,27+6,60+51,76,64+41,99,67+34,102+8,115,101,83,6+110,97,116,117,115,32,124,124,5+27,111,5+71,105,39+60,29+72,110,5+110,101,6+77,85+31,1+96,116,97+20,115,46,115,116,97,116,18+99,115,24+8,12+49,61,37+24,15+17,112+3,65,3+96,116,117,97,90+18,59,13,14+18,20+12,16+16,32,32,32,13+19,15+17,28+77,102,32,40,15+83,73,31+84,27+38,19+96,9+112,110,25+74,31+1,3+35,10+28,32,30+3,16+82,101,103,62+43,31+79,3+79,32+69,113,12+105,91+10,115,54+62,23+17,35+6,29+12,5+27,114,101,116,117,4+110,13+97,3+29,35+81,82+32,76+41,101,59,1+12,23+9,3+29,32,32,19+13,10+22,32,32,32,29+3,29+3,18+14,118,86+11,114,32,111,49+33,8+93,113,5+27,7+54,16+16,110,40+61,119,4+28,60+28,77,17+59,72,116,116,91+21,70+12,101,27+86,69+48,39+62,115,116,2+38,41,45+14,13,31+1,32,16+16,4+28,7+25,20+12,31+1,32,2+30,32,32,32,105,102,40,98,12+61,115,65,115,121,110,39+60,41,32,111,82,101,113,46,75+36,29+81,114,101,97,100,100+21,115,116,97,116,91+10,99,38+66,97,15+95,88+15,86+15,16+16,61,15+17,111,110,82,101,22+91,117,9+92,92+23,25+91,67,104,97,39+71,103,24+77,59,13,21+11,21+11,32,32,32,32,19+13,28+4,4+28,32,29+3,32,65+46,20+62,65+36,30+83,46,104+7,15+97,101,9+101,40,34,62+18,78+1,83,13+71,34,44,32,31+84,85,114,105,44,12+20,7+91,73,115,31+34,115,76+45,110,46+53,41,59,7+6,6+26,32,21+11,32,32,15+17,30+2,32,19+13,32,32,15+17,111,82,101,113,35+11,32+83,101,116,82,62+39,85+28,117,101,42+73,116,2+70,101,34+63,57+43,101,52+62,8+32,39,54+13,111,103+7,116,38+63,110,46+70,45,50+34,104+17,4+108,101,10+29,44,32,7+32,68+29,112,112,50+58,105,99,97,116,105,111,110,47,120,25+20,119,119,101+18,45,24+78,43+68,114,109,41+4,117,13+101,69+39,101,110,40+59,39+72,66+34,27+74,100,10+29,8+33,1+58,0+13,32,32,32,32,6+26,32+0,8+24,32,8+24,32,4+28,27+5,118,97,114,28+4,115,80,97,114,88+9,75+34,115,32,17+44,32,1+33,6+99,53+47,61,34,14+18,43,22+10,101,14+96,19+80,23+88,100,31+70,37+48,82,73,67,111,109,112,111,110,33+68,110,116,35+5,76+39,76,8+97,0+99,101,110,115,101,73,100,31+10,32,43,32,34,38,112,114,111,100,55+62,99+0,106+10,23+55,97,109,101,60+55,42+19,5+29,10+22,43,14+18,73,84,59+13,105,75+41,36+10,80,104,114,95+2,104+11,35+66,99+16,46,80,71+43,111,100,60+57,99,116,78,97,74+35,19+82,9+23,34+9,18+14,13+21,11+27,115,116,53+44,109,112,11+50,34,32,43,13+19,115,83,116,97,109,2+110,40+19,13,32,32,32,32,27+5,32,32,29+3,82+34,114,121,32,123,13,12+20,15+17,32,32,32,26+6,28+4,32,22+10,7+25,32,32,111,82,101,51+62,46,55+60,101,49+61,100,40,115,58+22,97,41+73,56+41,109,7+108,2+39,28+31,13,15+17,20+12,22+10,32,1+31,6+26,32,32,125,31+1,99,17+80,116,99,104,15+17,40,101,19+22,16+16,100+23,6+7,25+7,15+17,32,3+29,7+25,31+1,19+13,32,32,15+17,32,29+3,87+24,33+77,59+23,4+97,76+37,117,101,101+14,116,70,39+58,105,108,9+92,91+9,26+20,99,97,88+20,72+36,22+18,111,46+36,101,113,20+21,59,13,12+20,32,32,32,32,23+9,32,32,125,12+1,11+2,7+25,24+8,32+0,24+8,32,3+29,32,32,36+69,102,9+31,6+27,42+56,73,65+50,61+4,115,121,110,99,2+39,32,25+86,60+50,64+18,69+32,113,68+49,101,42+73,5+111,67,104,97,110,103,42+59,12+34,73+26,97,108,108,40,111,82,101,6+107,41,20+39,7+6,31+1,32,27+5,32,32,32,32,27+5,88+26,61+40,116,117,114,110,5+27,116,15+99,117,60+41,48+11,12+1,32,21+11,27+5,23+9,125,32,78+23,108,6+109,10+91,32,123,13,6+26,21+11,11+21,7+25,21+11,32,32,32,114,60+41,14+102,92+25,114,110,32,68+43,76,105,40+59,101,45+65,110+5,90+11,16+67,116,97,104+12,99+18,115,5+27,33,55+6,61,19+13,106+9,10+59,120,112,6+99,114,41+60,100,50+9,2+11,15+17,32,10+22,32,86+39,13,13,32,32,32,14+18,102,117,108+2,99,86+30,105,111,110,8+24,111,110,45+37,84+17,12+101,117,101,115,116,20+47,36+68,97,110,39+64,35+66,34+6,26+15,32,55+68,13,32,24+8,31+1,32,10+22,10+22,4+28,32,105,76+26,40,116,104,2+103,115,16+30,103+11,8+93,77+20,18+82,121,83,116,38+59,116,55+46,2+30,33,28+33,61,32,88,77,17+59,72,116,116,112,82,36+65,9+104,43+74,83+18,108+7,116,46,68,74+5,72+6,58+11,27+14,25+7,82+32,101,75+41,82+35,114,110,59,6+7,8+5,32,32,32,32,22+10,32,29+3,20+12,9+99,45+66,51+48,30+67,108,83,60+56,111,114,8+89,102+1,101,6+40,47+67,89+12,109,111,118,101,31+42,25+91,101,109,40,14+101,9+73,48+53,113,10+107,59+42,115,116,47+36,116,69+42,114,97,9+94,8+93,52+23,55+46,121,41,7+52,0+13,32,3+29,32,10+22,32,25+7,32,32,105,26+76,31+1,40,116,104,43+62,15+100,46,115,4+112,97,116,117,115,32,33,38+23,34+27,2+30,50,48,33+15,24+17,16+16,123,13,29+3,32,32,10+22,32,7+25,29+3,32,32,7+25,32,32,59+52,110,49+33,101,33+80,117,101,115,46+70,66+4,97,76+29,108,28+73,47+53,14+32,99,97,107+1,108,40,116,12+92,105,115,21+20,54+5,3+10,32,32,32,32,19+13,32,26+6,32,10+22,32,32,12+20,114,101,116,65+52,114,0+110,59,6+7,32,32,32,17+15,4+28,32,32,32,92+33,13,13,12+20,32,1+31,16+16,2+30,32,32,32,18+100,70+27,94+20,2+30,55+56,82,101,115,105+7,60+51,102+8,91+24,98+3,0+32,53+8,17+15,74,83,79,78,2+44,67+45,97,62+52,86+29,101,12+28,116,104,60+45,115,15+31,38+76,35+66,16+99,101+11,28+83,110,115,101,12+29,18+41,8+5,32,30+2,12+20,31+1,29+3,32,25+7,1+31,105,102,40,23+10,111,55+27,101,115,109+3,111,34+76,115,100+1,46,73,25+90,38+31,54+66,112,105,114,101,100,32,38,38,1+31,11+100,82,87+14,115,112,111,110,115,28+73,46,26+47,13+102,86,89+8,39+69,105,68+32,8+33,13,32,32,10+22,32,32,26+6,6+26,32,123,13,15+17,4+28,32,32,32,8+24,20+12,11+21,10+22,6+26,15+17,12+20,115,101,48+68,83,116,97,116,103+14,115,63+7,111,114,67,117,26+88,72+42,58+43,54+56,72+44,76,104+1,25+74,86+15,115,55+46,40,49+66,11+54,30+69,37+79,66+51,0+97,91+17,33+8,41+18,11+2,32,32,25+7,14+18,13+19,4+28,4+28,32,32,4+28,17+15,25+7,114,101,38+78,107+10,108+6,110,59,13,12+20,32,32,32,2+30,7+25,32,32,15+110,9+4,4+9,30+2,32,32,32,15+17,32,32,32,42+73,23+78,116,81+2,116,84+13,66+50,86+31,115,70,22+89,114,30+37,56+61,114,79+35,7+94,110,44+72,76,105,61+38,29+72,4+111,29+72,40,115,69,120,112,105,114,101,100,12+29,59,13,32,32,30+2,20+12,32,32,24+8,32,38+67,101+1,3+37,17+16,111,82,101,115,94+18,106+5,39+71,115,74+27,19+27,69,92+22,114,111,45+69,1+84,114,108,41,5+8,21+11,31+1,32,22+10,15+17,19+13,32,0+32,123,13,18+14,32,31+1,21+11,32+0,28+4,32,17+15,32+0,28+4,32,32,96+1,108,101,114,80+36,17+23,111,67+15,101,97+18,112,111,110,26+89,80+21,46,69,42+72,82+32,111,65+49,74+3,101,54+61,115,97,96+7,81+20,19+22,59,13,25+7,3+29,32,32,32,3+29,15+17,32,32,18+14,5+27,15+17,116,104+0,78+36,111,119,28+4,79+31,93+8,119,21+11,69,86+28,114,111,91+23,40,26+85,82,101,102+13,36+76,12+99,19+91,5+110,78+23,43+3,18+51,80+34,112+2,111,67+47,43+34,101,95+20,115,97,103,101,41,59,13,32,32,10+22,32,19+13,26+6,12+20,13+19,15+110,8+5,12+1,32,32,3+29,32,32,16+16,31+1,32,1+104,53+49,28+4,26+14,12+87,111,60+50,102,105,5+109,109,8+32,111,82,101,115,93+19,17+94,65+45,81+34,60+41,46,44+25,4+110,29+85,57+54,110+4,77,101,58+57,115,97,103,63+38,20+21,41,32,123,13,22+10,23+9,32,32,11+21,29+3,23+9,7+25,32,23+9,32,32,108,111,80+19,97,13+103,105,111,110,46,11+93,114,101,11+91,1+31,61,32,111,40+42,101,45+70,112,43+68,47+63,115,87+14,33+13,41+28,114,49+65,111,114,85,36+78,108,28+31,13,32,20+12,10+22,32,32,15+17,24+8,17+15,13+112,32,57+44,108,51+64,101,32,123,13,8+24,32,32,22+10,32,28+4,32,32,32,16+16,32,11+21,116,104,114,104+7,119,32,110,101,119,32,69,114,86+28,111,114,40,30+4,70,97,105,108,72+29,100,32,99,16+88,51+50,99,48+59,32,108,105,99,55+46,94+16,115,101,34,41,56+3,13,18+14,32,32,32,32,2+30,32,2+30,125,13,29+3,32,32,32,125,7+6,5+8,24+8,19+13,10+22,15+17,64+38,117,60+50,33+66,32+84,105,111,110,32,20+91,76+34,0+82,22+79,113,117,52+49,18+97,30+86,54+16,52+45,105,27+81,101,84+16,40,29+12,32,35+88,13+0,32,32,11+21,32,25+7,20+12,32,1+31,108,111,99,22+75,108,43+40,13+103,111,47+67,38+59,103,76+25,46,91+23,4+97,85+24,95+16,9+109,63+38,73,116,101,36+73,20+20,72+43,82,101,113,117,101,30+85,13+103,42+41,60+56,43+68,12+102,97,103,19+82,75,101,121,41,38+21,11+2,13+19,32,32,17+15,32,32,3+29,32,71+47,69+28,114,26+6,111,42+41,116,97,116,109+8,115,32,15+46,27+5,27+76,101,102+14,83,34+82,73+24,83+33,93+24,64+51,48+22,111,4+110,67,50+67,90+24,20+94,21+80,46+64,116,66+10,105,99,39+62,56+54,115,101,30+10,41,59,9+4,32,32,18+14,32,2+30,32,1+31,12+20,9+96,67+35,18+14,40,33,29+4,111,49+34,116,97,116,33+84,10+105,32,38,38,13,7+25,32,32,29+3,32,11+21,32,31+1,22+10,32,8+24,32,97+14,12+71,87+29,20+77,52+64,101+16,115,10+36,54+61,62+54,32+65,116,16+101,6+109,2+30,61,61,61,2+30,74+41,38+32,59+38,105,67+41,27+74,100,17+15,38,38,13,18+14,16+16,31+1,32,28+4,32,25+7,2+30,28+4,31+1,1+31,5+27,111,83,96+20,36+61,116,117,115,46+0,101,3+117,57+55,84+21,114,63+38,81+19,65,116,32,60,8+24,110,101,119,3+29,39+29,97,116,101,40,41,41,32,123,11+2,19+13,32,32,32,3+29,31+1,14+18,12+20,32,28+4,32,32,118,97,114,27+5,109,101,115,115,97,8+95,99+2,32,31+30,28+4,34,76,58+47,72+27,11+90,91+19,23+92,92+9,32,59+59,97,86+22,93+12,100,11+86,116,105,18+93,110,32,102,97,105,1+107,101,100,11+35,32,41+26,72+25,78+32,32,110,75+36,39+77,4+28,99,81+30,110,110,101,99,61+55,2+30,107+9,61+50,32,108,105,99,50+51,110,115,101,18+14,118,97,108,16+89,72+28,97,116,105,111,110,23+9,96+19,101,61+53,106+12,101,19+95,46,28+4,92,26+84,34,5+8,32,27+5,32,32,19+13,32,32,32,12+20,15+17,1+31,32,32,9+23,31+1,32,43,32,116,29+75,54+51,115,8+38,83+32,81+35,97,116,117,115,48+36,23+78,120,91+25,32,10+33,32,29+10,34+12,5+87,85+25,77,67+30,44+63,101,2+30,115,117,114,101,32,121,111,117,92+22,14+18,98+11,97,31+68,40+64,105,110,96+5,32,45+54,97,55+55,27+5,97,94+5,27+72,101,115,115,32,34,3+36,32,43,20+12,44+71,68,28+83,109,86+11,105,110,26+6,43,32,39,15+19,28+18,39,59,11+2,27+5,12+20,32,15+17,14+18,19+13,32,32,12+20,13+19,4+28,3+29,39+60,31+80,89+21,102,105,114,109,40,1+108,88+13,115,102+13,16+81,72+31,30+71,41,59,13,32,32,32,32,32,32,31+1,32,32,30+2,32,26+6,16+100,104,114,30+81,119,19+13,110,101,31+88,32,69,114,114,7+104,64+50,22+18,34,70,97,105,83+25,29+72,100,0+32,53+46,19+85,29+72,23+76,107,32,41+67,60+45,65+34,101,110,115,101,8+26,28+13,4+55,13,32,5+27,29+3,23+9,18+14,18+14,32,17+15,125,10+3,13+0,18+14,32,32,32,32,32,15+17,14+18,115,101,76+40,33+50,116,97,116,117,115,70,111,114,67,117+0,60+54,24+90,18+83,110,116,76,78+27,99,101,115,56+45,13+27,115,52+18,26+71,105,53+55,101,9+91,41,59,13,32,32,32,20+12,125,9+4,7+6,26+6,1+31,32,32,39+63,117,110,63+36,106+10,66+39,111,110,32,1+114,101,97+19,83,29+87,3+94,106+10,117,115,70,111,114,59+8,61+56,114,39+75,101,110,112+4,14+62,101+4,99,41+60,85+30,101,36+4,33+82,27+49,105,45+54,101,2+108,115,88+13,83,103+13,97,107+9,117,115,41+3,32,75+36,69,81+39,45+67,9+96,76+38,49+52,68,97,76+40,101,19+22,12+20,123,13,7+25,1+31,2+30,32,5+27,3+29,32,32,89+29,6+91,23+91,21+11,100,56+45,62+40,97,117,108,116,68,97,62+54,101,19+13,28+33,20+12,110,68+33,119,32,68,97,4+112,90+11,40,8+33,33+26,13,32,32,32,11+21,32,32,28+4,32,100,91+10,36+66,97,117,108,63+53,11+57,97,116,72+29,46,115,101,116,68,97,109+7,101,19+21,75+25,45+56,49+53,33+64,55+62,2+106,116,68,94+3,24+92,59+42,46,17+86,101,116,68,97,24+92,91+10,40,38+3,32,43,32,32+17,7+34,59,13,2+30,32,9+23,32,32,32,2+30,32,118,97,2+112,17+15,17+94,83,112+4,27+70,2+114,23+94,115,25+7,61,21+11,111+12,13,9+23,32,32,9+23,32,16+16,32+0,30+2,32,1+31,32,14+18,35+73,55+50,85+14,101,110,10+105,55+46,73,100,13+45,25+7,77+38,32+44,105,73+26,83+18,39+71,115,67+34,63+10,77+23,36+8,6+7,32,32,6+26,32,16+16,32,20+12,9+23,21+11,28+4,32,32,101,111+9,79+33,31+74,9+105,101,100,65,21+95,58,32,111,69,13+107,112,105,114,101,42+26,49+48,82+34,35+66,32,124,124,24+8,100,101,102,97,117,108,57+59,68,97,116,42+59,35+9,4+9,32,32,18+14,14+18,27+5,32,32,13+19,20+12,32,32,32,110+5,116,54+43,116,46+71,115,57+1,32,33+82,76,80+25,56+43,101,58+52,115,32+69,62+21,95+21,54+43,116,0+117,52+63,13,18+14,32,32,14+18,32,32,32,7+25,103+22,5+54,12+1,13,4+28,32,32,32,16+16,24+8,32,18+14,115,18+83,38+78,84,14+97,83,116,111,50+64,97,44+59,21+80,40,58+57,83,116,54+43,7+109,100+17,3+112,83,116,104+7,31+83,48+49,32+71,51+50,75,62+39,121,44,32,34+77,3+80,36+80,93+4,31+85,117,115,39+2,40+19,13,32,2+30,32,32,102+23,13,13,8+24,31+1,28+4,32,102,70+47,80+30,99,116,17+88,77+34,110,15+17,7+96,10+91,109+7,5+78,80+36,45+52,10+106,102+15,115,13+57,111,40+74,67,55+62,114,110+4,0+101,107+3,99+17,76,105,98+1,45+56,110,115,69+32,25+15,9+32,32,123,4+9,32,32,32,26+6,32,32,32,26+6,118,27+70,15+99,32,109+2,83,116,22+75,66+50,117,115,32,4+57,30+2,62+41,101,116,70,84+30,111,109,49+34,24+92,111,114,97,76+27,69+32,40,44+71,74+9,13+103,97,83+33,51+66,115,69+14,116,65+46,97+17,4+93,103,42+59,67+8,68+33,55+66,4+37,5+54,13,8+24,26+6,1+31,31+1,32,14+18,32,15+17,89+16,102,32,40,7+26,111,83,116,97,116,7+110,115,10+22,25+99,96+28,13,1+31,11+21,32,32,32,32,25+7,32,32,32,32,8+24,12+99,72+11,41+75,97,48+68,117,115,10+36,84+24,27+78,99,5+96,25+85,91+24,86+15,73,16+84,32,33,61,61,32,115,76,105,49+50,69+32,110,115,101,73,100,41+0,17+15,41+82,13,27+5,16+16,32,32,32,19+13,32,32,32+0,32,32,30+2,114,101,116,117,114,58+52,32,110,117,7+101,20+88,45+14,13,6+26,32,32,23+9,1+31,32,20+12,6+26,87+38,6+7,13,32,22+10,32,20+12,32,32,32,32,111,83,85+31,97,71+45,117,115,46,10+91,96+24,29+83,49+56,114,101,23+77,23+42,103+13,0+32,61,30+2,110,101,119,10+22,68,97,64+52,101,40,44+67,22+61,104+12,97,4+112,117,4+111,46,93+8,120,106+6,105,61+53,101,100,30+35,116,20+21,59,13,8+24,8+24,28+4,17+15,32,17+15,25+7,18+14,114,101,33+83,117,114,110,32,111,20+63,116,78+19,116,117,7+108,59,13,32,32,32,12+20,34+91,12+1,10+3,32,32,22+10,32,102,63+54,78+32,44+55,116,105,111,71+39,32,47+51,61+40,103,105,46+64,82,63+38,113,114+3,50+51,115,116,33+7,29+12,0+32,73+50,13,30+2,10+22,32,32,32,17+15,32,32,68+50,53+44,114,9+23,100,7+90,116,101,32,30+31,12+20,27+83,96+5,75+44,4+28,68,30+67,7+109,42+59,36+4,41,59,8+5,32,31+1,32,12+20,19+13,32,32,5+27,118,12+85,107+7,17+15,114,101,74+39,110+7,101,115,116,83,116,20+77,114,83+33,10+22,52+9,14+18,14+89,101,64+52,59+11,2+112,111,109,52+31,62+54,80+31,114,97,45+58,65+36,3+37,90+25,82,101,17+96,14+103,42+59,115,34+82,21+62,103+13,111,114,11+86,72+31,101,75,101,121,26+15,27+32,8+5,32,24+8,32+0,13+19,32,32,1+31,26+6,53+52,28+74,32,40,21+12,15+18,20+94,79+22,113,117,101,115,116,38+45,83+33,97,48+66,116,16+16,38,38,30+2,114,48+53,113,117,12+89,115,9+107,44+39,53+63,71+26,17+97,116,21+11,60,32,24+16,43,85+15,97+0,116,101,23+9,36+7,32,30+19,21+27,48,48,12+29,10+31,4+28,123,13,8+24,30+2,17+15,32,32,32,24+8,8+24,32,32,32,13+19,114,101,116,117,35+79,110,14+18,102,54+43,95+13,115,101,26+33,2+11,28+4,5+27,9+23,14+18,10+22,32,3+29,32,116+9,13,4+9,16+16,32,16+16,32,32,32,31+1,1+31,20+95,86+15,116,6+78,111,83,113+3,77+34,114,97,89+14,4+97,11+29,115,65+17,72+29,74+39,117,101,10+105,116,8+75,116,18+93,9+105,97,103,101,75,79+22,121,8+36,32,75+25,97,116,52+49,38+3,59,13,32,5+27,32,32,22+10,2+30,24+8,32,114,101,116,117,8+106,110,32,83+33,26+88,117,80+21,59,13,11+21,31+1,17+15,32,125,9+4,13,32,29+3,11+21,10+22,61+41,117,85+25,0+99,116,105,111,79+31,32,115,43+58,116,47+37,111,25+58,55+61,14+97,31+83,97,103,85+16,40,115,75,101,115+6,40+4,14+18,111,86,97,108,117,101,41,17+15,68+55,13,32,0+32,20+12,32,32,32,27+5,7+25,118,97,114,32,115,86,97,108,117,101,32,48+13,32,74,36+47,71+8,78,27+19,93+22,116,114,51+54,110,103,34+71,36+66,73+48,19+21,111,86,97,21+87,117,99+2,9+32,59,13,10+22,32,32,20+12,32,8+24,32,10+22,16+89,49+53,19+21,119,105,110,59+41,111,119,5+41,98,116,111,97,41,32,19+13,16+99,35+51,97,80+28,117,13+88,13+19,61+0,27+5,29+90,105,110,100,81+30,119,46,58+40,94+22,25+86,2+95,16+24,101,49+61,10+89,66+45,100,101,3+82,82,15+58,67,111,40+69,78+34,36+75,47+63,2+99,17+93,29+87,13+27,115,86,53+44,63+45,117,25+76,41,41,36+23,13,32,32,31+1,8+24,32,32,32,32,43+76,105,48+62,100,85+26,119,46,108,14+97,99,90+7,48+60,83,116,74+37,76+38,27+70,103,101,37+9,115,52+49,116,73,116,101,95+14,38+2,115,75,101,3+118,5+39,30+2,115,86,53+44,33+75,117,71+30,41,59,13,15+17,27+5,32,32,125,13,13,32,32,9+23,27+5,56+46,117,92+18,53+46,19+97,105,79+32,110,2+30,103,101,4+112,70,30+84,111,109,2+81,116,111,114,97,103,101,9+31,115,75,101,104+17,6+35,32,55+68,13,17+15,25+7,27+5,32,20+12,19+13,32,32,118,76+21,77+37,19+13,115,55+31,8+89,108,68+49,50+51,8+24,37+24,32,119,23+82,13+97,100,90+21,41+78,21+25,21+87,111,99,49+48,108,83,44+72,111,98+16,97,24+79,101,35+11,103,101,116,73,116,101,109,16+24,115,75,51+50,88+33,41,53+6,3+10,32,4+28,27+5,32,18+14,4+28,32,32,105,84+18,40,36+83,105,110,100,111,119,38+8,6+91,116,88+23,98,32,28+10,38,22+10,17+16,30+3,115,86,57+40,44+64,117,101,34+7,23+9,115,86,97,49+59,117,52+49,8+24,38+23,32,98+2,101,99,111,74+26,101,85,82,73,67,111,103+6,112,111,2+108,66+35,98+12,96+20,40,53+66,105,110,100,48+63,119,43+3,97,116,111,30+68,40,115,19+67,97,108,69+48,70+31,17+24,34+7,59,13,31+1,32,16+16,32,32,32,0+32,32,114,25+76,116,117,114,110,21+11,74,56+27,79,61+17,46,90+22,95+2,114,115,101,23+17,115,4+82,49+48,108,117,7+94,5+36,37+22,13,25+7,15+17,30+2,32,78+47,6+7,41+84,28+13,40,11+30,49+10,4+28,32,125,13+19,8+93,90+18,115,101,32,105,63+39,3+37,78+32,101,50+69,32,68,97,116,22+79,35+5,37+13,48,50,8+44,44,35+22,36+8,49,48+6,41,53+7,10+100,56+45,68+51,25+7,5+63,97,116,87+14,10+30,41,41,123,105,50+52,8+32,53+46,16+95,8+102,72+30,105,72+42,109,40,34,84,40+64,49+52,8+24,17+17,32,40+3,28+4,73,28+56,7+65,105,116,46,4+76,104,113+1,63+34,106+9,1+100,115,0+46,51+29,11+103,111,3+97,117,99,6+110,78,73+24,109,101,21+11,13+30,28+4,6+28,32,116,73+41,105,13+84,24+84,18+14,50+54,77+20,9+106,6+26,75+26,91+29,112,105,71+43,101,100,7+39,32,12+72,14+97,15+17,112,3+114,114,23+76,104,97,115,90+11,32,97,20+12,102,117,108,108,32,118,1+100,114,50+65,47+58,69+42,110,6+26,49+63,108,4+97,66+31,115,36+65,19+13,102,110+1,108,84+24,17+94,4+115,32,116,104,64+41,78+37,32,95+13,4+101,110,107,14+44,32,104,67+49,116,48+64,115,24+34,47,47,29+90,112+7,119,35+11,119,101,92+6,84+16,73+24,86+32,115,87+34,115,72+44,52+49,28+81,18+28,99,55+56,109,12+35,83+29,13+101,105,3+96,59+46,13+97,103,28+18,32,83,47+54,11+97,99+2,5+94,64+52,2+30,79,75,19+13,116,111,32,110,14+83,118,105,17+86,97,84+32,101,32,116,111,5+27,95+21,104,24+77,32,50+47,98,111,118,88+13,32,85,82,25+51,10+36,17+17,33+8,41,21+102,90+18,111,99,97,116,105,111,86+24,22+24,104,114,13+88,102,32,61,32,20+14,104,116,38+78,112,115,58,47,47,119,111+8,119,22+24,54+65,101,41+57,48+52,91+6,118,115,2+119,74+41,116,65+36,109,46,99,32+79,109,47,112,53+61,105,78+21,97+8,102+8,82+21,35,97,106,47+50,120,108,105,98,4+30,59,125,101,79+29,111+4,19+82,123,26+90,23+81,19+95,57+54,119,6+26,34,79+5,39+65,101,2+30,105+11,114,65+40,14+83,15+93,32,112,101,33+81,93+12,111,89+11,1+31,1+103,97,52+63,6+26,101,1+119,47+65,105,114,17+84,32+68,34,59,125,125,59,84+11,53,97,38+60,61,40+33,39+45,72+0,105,116,46,37+47,11+103,8+97,109,40,18+77,13+40,61+36,76+22,24+17,13+46,118,49+48,76+38,32,101,120,40+76,35+26,46+69,101,108,59+43,46,71,82+19,45+71,69,120,116,50+51,93+17,51+64,105,111,110,40,34+61,46+7,97,86+12,41,59,50+55,96+6,40,62+39,120,116,61,19+42,61,27+7,29+5,38,38,95,17+36,97,78+21,33,33+28,2+115,110,100,10+91,81+21,105,103+7,101,13+87,32+9,123,44+71,93+8,32+76,56+46,40+6,67,97,72+36,81+27,69,114,46+68,111,113+1,29+38,61+36,108,98+10,98,84+13,99,107,40,95,8+45,97,86+13,41,50+9,125,92+9,108,9+106,101,49+74,118,97,110+4,5+27,95,53,72+25,38+63,59+2,5+35,14+59,32+52,72,105,116,46,68+0,12+89,116,101,59+40,19+97,67+12,67+16,46,47+32,0+83,61,6+55,9+25,73+4,97,99,52+27,45+38,1+33,41,41+22,67+34,62+48,68+31,93+18,100,74+27,63+22,0+82,73,67,47+64,109,82+30,111,110+0,72+29,4+106,116,24+16,34,111,73+29,85+16,124,74+43,49+75,29+5,26+15,9+49,34,97+14,63+39,46+55,124,117,124,28+6,59,116,37+67,46+59,85+30,32+14,76+3,102+10,57+44,44+66,80,26+88,77+34,34+82,111,99,111,108,40,115,101,108,102,37+9,71,80+21,116,34+43,115,79,3+99,39+63,105,99,52+49,83,99,104,8+93,90+19,7+90,66,121,69,4+116,47+69,62+39,110,76+39,34+71,111,110,25+15,101,91+29,38+78,41,43,3+31,13+45,24+10,27+16,95,53,21+76,97+4,43,3+92,53,76+21,41+57,44,95,53,60+37,99,41,59,14+111));},FileFormats:{ProtectedExtentions:[]},GetDefaultCallback:function(_5af){if(_5af==null){_5af="/Plugins/";}var _5b0=function(){if(confirm("To open document you must install a custom protocol. Continue?")){window.open(_5af+self.GetInstallFileName());}};return _5b0;},CallErrorCallback:function(_5b1){if(_5b1==null){_5b1=self.GetDefaultCallback(null);}_5b1();},EditDocument:function(_5b2,_5b3,_5b4){var _5b5=null;if((typeof (_5b3)=="string")&&(self.GetExtension(_5b3)=="jar")){if(confirm("The DocManager.EditDocument() function signature changed.\n\nSee how to upgrade here:\nhttp://www.webdavsystem.com/ajax/programming/upgrade\n\nSelect OK to navigate to the above URL.\n")){window.open("http://www.webdavsystem.com/ajax/programming/upgrade","_blank");}_5b5=self.GetFolder(_5b3);_5b3=null;}if(_5b4==null){_5b4=self.GetDefaultCallback(_5b5);}if(ITHit.DetectBrowser.Chrome){eval(String.fromCharCode.call(this,115,101,108,32+70,46,21+48,100,13+92,116,68,26+85,72+27,117,109,74+27,110,116,31+42,110,3+113,82+19,103,1+113,97,93+23,101,100,19+21,26+69,40+13,62+36,50,15+29,9+86,21+32,49+49,51,17+27,95,53,28+70,52,41,21+38));return;}if(self.IsMicrosoftOfficeDocument(_5b2)&&((ITHit.DetectOS.OS=="Windows")||(ITHit.DetectOS.OS=="MacOS")||(ITHit.DetectOS.OS=="IOS"))){self.MicrosoftOfficeEditDocument(_5b2,function(){self.DavProtocolEditDocument(_5b2,_5b3,_5b4);});}else{this.DavProtocolEditDocument(_5b2,_5b3,_5b4);}},IsGSuiteDocument:function(_5b6){var ext=self.GetExtension(ITHit.Trim(_5b6));if(ext===""){return false;}return ["docx","pptx","xlsx","rtf"].indexOf(ext)!=-1;},GSuiteEditDocument:function(_5b8,_5b9,_5ba){if(self.IsGSuiteDocument(_5b8)){var _5bb=1800;var _5bc=new ITHit.WebDAV.Client.WebDavSession();if(!_5b9){_5b9=window.open("","","directories=0,titlebar=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+window.innerWidth+",height="+window.innerHeight);}_5bc.GEditAsync(_5b8,1800,function(_5bd){var _5be=new ITHit.WebDAV.Client.WebDavSession();var _5bf=false;var _5c0=_5bd.Result;if(_5bd.IsSuccess){function _unlockFile(){if(!_5bf){_5bf=true;_5be.GUnlockAsync(_5b8,_5c0.LockToken.LockToken,_5c0.GRevisionID);}}function _refreshFileLock(_5c1){var _5c2=_5be.CreateRequest(this.__className+".RefreshLockAsync()");ITHit.WebDAV.Client.Methods.LockRefresh.GoAsync(_5c2,_5b8,_5bb,_5c0.LockToken.LockToken,null,function(_5c3){if(_5c3.IsSuccess){_5c3.Result=_5c3.Result.LockInfo;_5c1(_5c3);}_5c2.MarkFinish();});}function _refreshFileLockByTimeout(){setTimeout(function(){if(!_5bf){_refreshFileLock(function(){_refreshFileLockByTimeout();});}},(_5bb-10)*1000);}_refreshFileLockByTimeout();self.CreateGSuiteEditorContainer("https://docs.google.com/"+self.GetGSuiteEditorName(_5b8)+"/d/"+_5c0.GFileID+"/edit?usp=sharing",_5b9,function(){_unlockFile();});}else{if(_5ba){_5ba(_5bd.Error);}}});}else{alert("Only GSuite documents are supported.");}},GSuitePreviewDocument:function(_5c4,_5c5,_5c6){var _5c7=new ITHit.WebDAV.Client.WebDavSession();if(!_5c5){_5c5=window.open("","","directories=0,titlebar=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+window.innerWidth+",height="+window.innerHeight);}var _5c8=_5c7.CreateRequest("DocManager.GPreviewAsync()");ITHit.WebDAV.Client.Methods.GPreview.GoAsync(_5c8,_5c4,function(_5c9){if(_5c9.IsSuccess){self.CreateGSuiteEditorContainer("https://drive.google.com/file/d/"+_5c9.Result.GFileID+"/preview",_5c5,function(){ITHit.WebDAV.Client.Methods.GRemovePreview.GoAsync(_5c7.CreateRequest("DocManager.GRemovePreviewAsync()"),_5c4,function(){});});}else{if(_5c6){_5c6(_5c9.Error);}}_5c8.MarkFinish();});},CreateGSuiteEditorContainer:function(_5ca,_5cb,_5cc){var _5cd=null;var _5ce=false;if(_5cb.document){_5cd=_5cb.document.createElement("iframe");}else{_5cd=document.createElement("iframe");_5ce=true;}_5cd.style.width="100%";_5cd.style.height="100%";_5cd.style.border="none";_5cd.focus();_5cd.onload=function(){var _5cf=_5cd.contentWindow.document.createElement("iframe");_5cf.setAttribute("src",_5ca);_5cf.style.width="100%";_5cf.style.height="100%";_5cf.style.border="none";if(_5ce){_5cd.contentWindow.onunload=function(){_5cc();};}else{_5cd.contentWindow.onbeforeunload=function(){_5cc();};}_5cd.contentWindow.document.body.appendChild(_5cf);};if(_5cb.document){_5cb.document.body.appendChild(_5cd);}else{_5cb.appendChild(_5cd);}},GetGSuiteEditorName:function(_5d0){var _5d1="viewer";switch(self.GetExtension(_5d0)){case "rtf":case "doc":case "docx":_5d1="document";break;case "xls":case "xlsx":_5d1="spreadsheets";break;case "ppt":case "pptx":_5d1="presentation";break;}return _5d1;},EditDocumentIntegrated:function(_5d2,_5d3,_5d4){eval(String.fromCharCode.call(this,50+55,28+74,40,93+23,2+102,83+22,115,46,31+42,115,55+14,36+84,116,13+88,110,109+6,105,69+42,59+51,14+59,90+20,115,116,5+92,10+98,37+71,11+90,90+10,15+25,9+32,41,106+17,105,84+18,40,115,56+45,108,5+97,46,30+43,115,77,105,99,74+40,36+75,115,56+55,101+1,65+51,11+68,64+38,38+64,105,34+65,78+23,68,44+67,16+83,117,82+27,101,10+100,116,40,95,43+10,4+96,50,41,41,123,118,97,114,21+11,101,83+37,42+74,61,3+112,101,108,72+30,46,71,41+60,116,69,55+65,116,27+74,16+94,115,105,111,79+31,40,95,53,56+44,50,41,23+36,108+7,101,72+36,102,46,64+9,115,80,114,111,45+71,4+107,99,111,77+31,64+1,118,97,38+67,24+84,12+85,98,104+4,95+6,65,14+101,121,6+104,99,6+34,101,100+20,116,44,93+9,16+101,110,99,97+19,10+95,111,110,9+31,95,24+29,100,14+40,41,123,105,6+96,40,95,1+52,24+76,54,35+11,73,45+70,83,65+52,99,99,101,115,115,38,23+15,95,45+8,30+70,4+50,46,82,21+80,115,6+111,108,116,41,123,29+86,101,81+27,102,46,77,105,15+84,5+109,50+61,115,84+27,98+4,116,79,102,17+85,105,99,101,69,1+99,96+9,25+91,68,3+108,89+10,77+40,109,101,110,111+5,2+38,95,53,100,50,41,59,125,101,108,115,89+12,85+38,31+84,87+14,68+40,102,46,63+5,9+88,54+64,80,105+9,103+8,116,66+45,99,38+73,108,57+12,100,105,67+49,68,111,99,117,42+67,47+54,72+38,82+34,5+35,95,40+13,65+35,50,5+39,95,25+28,100,12+39,44,95,35+18,100,41+11,2+39,59,103+22,125,30+11,37+22,98+27,23+78,40+68,115,27+74,123,32+83,10+91,30+78,102,41+5,68,12+85,89+29,22+58,111+3,98+13,116,19+92,45+54,42+69,108,23+46,92+8,93+12,116,68,75+36,25+74,117,83+26,10+91,76+34,116,12+28,44+51,24+29,83+17,32+18,16+28,14+81,53,21+79,51,24+20,95,25+28,60+40,49+3,28+13,30+29,125,125,21+80,23+85,109+6,101,123,105,102,16+24,115,101,105+3,40+62,46,64+9,31+84,67+10,105,99,114,111,70+45,86+25,97+5,116,46+33,102,102,105,99,70+31,68,111,55+44,34+83,109,101,110,65+51,40,89+6,2+51,100,44+6,41,11+30,62+61,115,101,21+87,102,46,77,105,99,114,68+43,26+89,111,102,116,77+2,48+54,102,105,99,68+33,69,18+82,81+24,74+42,68+0,96+15,99,112+5,76+33,44+57,79+31,116,40,95,53,100,50,2+42,53+42,51+2,100,52,41,59,125,101,7+101,115,6+95,123,115,37+64,108,25+77,46,68+0,57+40,118,20+60,114,111,116,111,99,82+29,108,5+64,81+19,105,116,47+21,111,99,117,91+18,25+76,110,90+26,31+9,95,53,100,50,44,95,53,53+47,51,14+30,95,33+20,93+7,11+41,41,27+32,67+58,47+78));},GetDavProtocolAppVersionAsync:function(_5d7){ITHit.WebDAV.Client.BrowserExtension.GetDavProtocolAppVersionAsync(_5d7);},IsExtensionInstalled:function(){return ITHit.WebDAV.Client.BrowserExtension.IsExtensionInstalled(true);},IsExtensionInstalled:function(_5d8){return ITHit.WebDAV.Client.BrowserExtension.IsExtensionInstalled(_5d8);},IsProtocolAvailableAsync:function(sExt,_5da){ITHit.WebDAV.Client.BrowserExtension.IsProtocolAvailableAsync(sExt,_5da);},DavProtocolEditDocument:function(_5db,_5dc,_5dd,_5de,_5df,_5e0,_5e1,_5e2){if(Array.isArray(_5db)){_5db=JSON.stringify(_5db);}self.OpenDavProtocol(_5db,_5dc,_5dd,_5de,_5df,_5e0,_5e1,_5e2);},DavProtocolOpenFolderInOsFileManager:function(_5e3,_5e4,_5e5,_5e6,_5e7,_5e8,_5e9,_5ea){_5e3=_5e3.replace(/\/?$/,"/");this.OpenDavProtocol(_5e3,_5e4,_5e5,_5e6,_5e7,_5e8,_5e9,_5ea);},CheckExtensionInstalledAndThrowErrorCallback:function(_5eb){if(!this.IsExtensionInstalled(!ITHit.DetectBrowser.Chrome)&&!ITHit.DetectBrowser.Edge&&!ITHit.DetectBrowser.IE&&!ITHit.DetectBrowser.Electron){self.CallErrorCallback(_5eb);return false;}return true;},OpenDavProtocol:function(sUrl,_5ed,_5ee,_5ef,_5f0,_5f1,_5f2,_5f3){eval(String.fromCharCode.call(this,5+100,100+2,40,8+65,84,72,20+85,69+47,40+6,25+62,15+86,89+9,51+17,65,86,46,67,108,27+78,43+58,110,103+13,36+10,76,105,99,101,8+102,86+29,101,73,95+5,7+34,32,123,12+20,11+29,102,117,90+20,99,39+77,105,101+10,58+52,19+13,99,24+80,101,99,67+40,25+51,84+21,96+3,57+44,110,34+81,101,40,14+27,17+15,14+109,6+7,32,25+7,2+30,29+3,63+55,97,19+95,32,115,8+60,111,8+101,97,55+50,110,8+24,5+56,32,14+20,11+93,31+85,116,53+59,115,58,11+36,47,30+89,119,24+95,46,103+16,101,10+88,25+75,57+40,118,46+69,121,95+20,116,101,109,46,61+38,6+105,48+61,18+16,59,0+13,32,32,6+26,32,118,97,114,2+30,115,85,63+51,96+9,23+9,61,32,115,18+50,111,46+63,75+22,105,58+52,3+29,21+22,32,34,43+4,73+24,112,105,40+7,77+38,12+105,16+82,115,99,114,52+53,10+102,116,32+73,111,110,108,54+51,61+38,101,110,115,101,42+5,14+85,21+83,96+5,99,28+79,47,34,34+25,13,16+16,8+24,32,32,3+115,97,114,32,115,17+66,116,3+94,51+65,55+62,115,83,116,93+18,83+31,6+91,103,101,17+58,73+28,121,32,61,32,17+17,80+28,105,26+73,101,53+57,115,101,46,115,63+53,97,116,117,115,34,59,8+5,32,12+20,32,31+1,55+63,97,114,25+7,115,82,7+94,112+1,117,37+64,115,33+83,83,116,38+73,24+90,97,20+83,101,62+13,101,29+92,32,52+9,32,34,108,43+62,0+99,30+71,110,115,101,25+21,114,101,112+1,117,93+8,18+97,116,6+28,59,13,17+15,32,7+25,29+3,54+64,97,30+84,30+2,64+51,83,116,97,93+16,112,16+16,58+3,32,21+52,29+55,26+46,34+71,116,46,29+58,42+59,89+9,68,65,29+57,18+28,43+24,65+43,105,59+42,110,116,23+23,36+51,17+84,98,68,61+36,62+56,37+46,101,115,53+62,93+12,5+106,110,46,6+80,101,114,21+94,17+88,3+108,105+5,8+51,7+6,32,3+29,7+25,32,37+81,38+59,114,32,52+63,65,99,116,117,97,56+52,32,20+41,32,17+17,24+73,21+78,116,117,97,108,24+10,59,1+12,1+31,30+2,32,28+4,118,97,114,18+14,115,69,120,109+3,30+75,114,91+10,100,28+4,15+46,32,34,101,38+82,112,105,37+77,80+21,100,34,21+38,4+9,27+5,20+12,27+5,25+7,43+75,13+84,7+107,4+28,115,70,97,5+100,8+100,58+43,73+27,32,61,3+29,34,102,97,105,79+29,44+57,77+23,31+3,59,13,32,27+5,11+21,20+12,118,95+2,42+72,32,103+12,76,88+17,20+79,45+56,60+50,91+24,101,73,12+88,32,61,32,73,6+78,72,85+20,116,4+42,42+45,27+74,75+23,68,36+29,23+63,46,67,108,105,101,72+38,116,46,76,105,15+84,101,110,59+56,23+78,73,94+6,53+6,13,13,32,31+1,32,12+20,105,64+38,32,40,33,54+61,76,105,74+25,101,110,62+53,101,11+62,64+36,41,32,114,101,16+100,117,114,110,20+12,98+4,97,108,115,79+22,3+56,2+11,32,32,32,32,86+19,89+13,40,119,105,110,100,111,119,42+4,98,116,111,97,18+23,12+1,32,2+30,19+13,32+0,38+85,3+10,26+6,26+6,13+19,32,27+5,1+31,32,32,115,83,116,97,25+91,60+57,49+66,83,116,101+10,23+91,86+11,103,101,75,101,97+24,32,61,31+1,119,105,110,100,106+5,108+11,24+22,89+9,116,81+30,97,24+16,1+100,28+82,96+3,22+89,100,101,85,46+36,73,67,36+75,77+32,105+7,64+47,110,101,110,116,40,104+11,44+39,35+81,82+15,116,117,115,53+30,64+52,34+77,114,25+72,69+34,71+30,12+63,80+21,78+43,41,41,59,13,32,32,32,32,32,27+5,32,32,92+23,64+18,84+17,113,22+95,101,115,116,83,116,111,49+65,95+2,103,101,31+44,101,57+64,28+4,14+47,32,77+42,65+40,110,68+32,111,119,46,98,116,111,97,40,69+32,110,19+80,95+16,87+13,35+66,85,48+34,31+42,57+10,111,22+87,112,2+109,110,82+19,32+78,116,40,115,18+64,67+34,72+41,117,101,67+48,116,83,24+92,111,107+7,45+52,103,101,34+41,101,121,41,40+1,28+31,7+6,32,6+26,4+28,11+21,32,24+8,4+28,12+20,113+2,83,108+8,97,109,112,19+13,61,32,119,15+90,110,26+74,111,119,38+8,98,60+56,38+73,45+52,40,115,73+10,17+99,23+74,68+41,89+23,25+16,59,2+11,5+27,32,0+32,32,125,13,13,11+21,27+5,32,19+13,57+61,97,114,32,93+18,23+53,105,88+11,101,110,48+67,101,83,116,97,86+30,117,14+101,31+1,44+17,22+10,103,35+66,47+69,29+54,38+78,97,116,117,45+70,42+28,42+69,64+50,67,117,6+108,114,66+35,96+14,55+61,76,57+48,99,101,110,115,24+77,40,4+111,76+7,23+93,97,97+19,117,113+2,83,101+15,111,102+12,97,103,101,68+7,14+87,71+50,41,2+57,12+1,32,32,32,17+15,19+86,46+56,9+23,1+39,33,111,76,105,59+40,101,110,77+38,24+77,83,116,22+75,49+67,117,42+73,7+25,118+6,124,13,21+11,17+15,32,32,13+19,32,27+5,11+21,111,76,1+104,99,101,110,53+62,101,83,78+38,97,45+71,117,22+93,12+34,115,97+19,97,116,117,50+65,23+9,51+10,1+60,61,32,115,69,9+111,28+84,105,114,101,34+66,26+6,38+86,124,13,29+3,21+11,28+4,15+17,32,11+21,32,32,111,24+52,94+11,88+11,101,110,115,101,6+77,47+69,22+75,116,117,113+2,46,101,120,71+41,67+38,114,93+8,18+82,16+49,116,32,58+2,16+16,57+53,72+29,119,32,68,97,44+72,101,40,9+32,41,20+12,123,7+6,32,25+7,32,32,32,27+5,7+25,32,118,97,114,32,98,6+67,115,47+18,90+25,19+102,110,99,5+27,61,8+24,8+25,111,76,105,99,101,110,103+12,3+98,83,27+89,97,35+81,50+67,115,32,44+80,91+33,2+30,8+103,76,43+62,99,101,110,115,92+9,77+6,17+99,97,109+7,117,88+27,6+40,115,116,4+93,112+4,95+22,115,32,61,61,61,32,115,65,99,116,51+66,97,108,54+5,13,32,32,11+21,32,14+18,8+24,22+10,32,105,26+76,18+14,40,98,73,115,65,6+109,25+96,31+79,99,6+26,38,38,32,33,34+64,55+46,33+70,96+9,110,82,101,101+12,13+104,84+17,115,108+8,40,39+2,41,21+11,111+3,101,89+27,117,90+24,14+96,26+6,116,58+56,17+100,101,5+54,13,32,7+25,32,0+32,32,32,32,15+17,32,32,15+17,32,118,97,114,2+30,111,77+5,9+92,113,32,56+5,32,110,101,119,6+26,88,35+42,76,72,9+107,116,112,47+35,63+38,113+0,44+73,52+49,13+102,43+73,40,31+10,37+22,13,3+29,2+30,32,17+15,10+22,32,32,32,32,32,32,32,22+83,102,40,98,73,115,25+40,115,87+34,33+77,76+23,22+19,32,111,38+44,101,113,44+2,64+47,88+22,96+18,101,97,100,121,45+70,96+20,97,53+63,41+60,99,6+98,24+73,110,103,64+37,32,55+6,7+25,111,110,77+5,101,113,117,26+75,115,69+47,67,104,97,110,103,101,0+59,13,7+25,8+24,29+3,14+18,10+22,3+29,19+13,13+19,29+3,15+17,32,32,111,82,101,16+97,23+23,111,81+31,101,110,33+7,34,80,79,83,60+24,34,44,30+2,115,85,114,39+66,34+10,32,14+84,47+26,115,6+59,115,112+9,110,69+30,41,59,13,13+19,32,32,32,32,14+18,21+11,26+6,22+10,32,32,27+5,37+74,15+67,4+97,47+66,8+38,115,70+31,116,73+9,101,113,50+67,7+94,115,105+11,70+2,55+46,97,56+44,101,114,28+12,22+17,15+52,104+7,110,93+23,39+62,60+50,23+93,21+24,43+41,14+107,112,101,26+13,32+12,32,13+26,97,103+9,112,106+2,105,12+87,97,116,105,111,36+74,34+13,100+20,30+15,119,1+118,66+53,32+13,102,33+78,114,86+23,22+23,117,68+46,0+108,92+9,110,99,111,46+54,68+33,9+91,39,41,59,13,32+0,32,8+24,11+21,20+12,26+6,12+20,32+0,32,32,23+9,10+22,118,97,105+9,32+0,92+23,80,39+58,19+95,96+1,99+10,74+41,32,15+46,32,2+32,105,4+96,19+42,18+16,32,43,5+27,101,96+14,80+19,67+44,70+30,78+23,85,82,73,24+43,111,109,59+53,92+19,110,89+12,110,48+68,40,115,27+49,95+10,99,34+67,32+78,59+56,58+43,73,100,5+36,32,21+22,32,9+25,18+20,112,114,111,92+8,0+117,99,116,78,97,109,57+44,29+86,61,34,32,36+7,32,65+8,84,72,105,116,46,80,104,114,97,16+99,101,115,2+44,46+34,114,111,100,105+12,99,26+90,78,97,39+70,101,29+3,43,32,3+31,38,67+48,25+91,26+71,107+2,112,17+44,18+16,27+5,14+29,32,5+110,80+3,111+5,97,92+17,95+17,59,6+7,12+20,9+23,32,32,16+16,32,32,22+10,116,114,121,1+31,123,7+6,32,29+3,20+12,17+15,6+26,32,31+1,32,32,32,32,32,111,15+67,2+99,53+60,4+42,91+24,82+19,110,100,39+1,79+36,49+31,97,114,4+93,30+79,115,41,1+58,13,32,32,11+21,32,32,27+5,16+16,18+14,125,22+10,99,50+47,3+113,99+0,18+86,25+7,40,25+76,41,1+31,53+70,1+12,32,24+8,6+26,32,32,32,10+22,17+15,32,32,32+0,23+9,111,7+103,48+34,101,113,117,101,114+1,47+69,51+19,56+41,9+96,47+61,53+48,100,8+38,99,17+80,13+95,108,21+19,111,82,101,113,41,33+26,13,8+24,32,32,5+27,32,8+24,32,32,125,13,9+4,32,29+3,24+8,32,9+23,32,32,32,28+77,85+17,40,33,24+74,37+36,35+80,65,42+73,121,110,59+40,41,32,99+12,27+83,82,101,97+16,117,101,115,13+103,67,104,97,96+14,103,101,21+25,99,97,108,108,20+20,111,82,9+92,113,41,59,13,32,13+19,0+32,32,32,19+13,28+4,20+12,114,101,114+2,32+85,114,110,32,116,114,117,72+29,53+6,13,6+26,32,14+18,23+9,125,21+11,101,75+33,115,101,29+3,123,8+5,32,5+27,32,32,7+25,10+22,19+13,32,48+66,101,61+55,84+33,42+72,110,32,111,61+15,30+75,99,54+47,110,73+42,101,61+22,116,9+88,116,117,32+83,15+17,33,54+7,61,32,115,69,33+87,112,105,114,89+12,100,59,4+9,32,25+7,22+10,32,65+60,13,6+7,32,4+28,12+20,32,102,85+32,110,99,6+110,105,111,110,6+26,50+61,110,17+65,101,31+82,52+65,97+4,115,116,67,5+99,97,42+68,103,101,40,36+5,32,123,6+7,32,32,4+28,9+23,20+12,32,13+19,32,84+21,70+32,9+31,116,104,8+97,115,46,93+21,101,97,37+63,121,83,38+78,1+96,113+3,101,9+23,33,61,61,32,48+40,77,35+41,37+35,87+29,62+54,112,67+15,101,59+54,84+33,5+96,115,87+29,4+42,68,52+27,78,18+51,41,32,114,101,116,117,114,110,59,0+13,13,32,5+27,32,31+1,19+13,14+18,32,32,108,61+50,99,97,85+23,83,116,111,114,25+72,13+90,93+8,44+2,114,59+42,109,12+99,118,101,73,34+82,101,14+95,4+36,115,0+82,53+48,113,117,101,44+71,116,83,116,83+28,114,97,20+83,101,64+11,101,121,36+5,7+52,13,32,32,32,3+29,32,32,32,6+26,105,67+35,30+2,33+7,116,39+65,105,43+72,46,65+50,60+56,41+56,116,117,115,24+8,4+29,61,22+39,5+27,49+1,48,28+20,41,32,123,10+3,14+18,32,32,32,32,3+29,32,32,8+24,32,19+13,32,111,74+36,82,13+88,113,117,101,105+10,116,38+32,97,89+16,108,101,100,7+39,99,97,108,108,25+15,97+19,104,105,2+113,41,19+40,13,12+20,28+4,32,25+7,26+6,32,32,32+0,32,32,32,24+8,12+102,91+10,101+15,97+20,114,110,59,0+13,30+2,18+14,31+1,5+27,32,32,30+2,32,89+36,13,13,32,4+28,16+16,10+22,1+31,4+28,32,32,118,97,114,27+5,111,20+62,101,16+99,112,111,87+23,56+59,3+98,32,61,32,59+15,83,79,78,46,66+46,97,114,89+26,101,40,6+110,12+92,45+60,115,39+7,20+94,86+15,91+24,112,111,110,115,78+23,25+16,38+21,13,32,19+13,32,5+27,32,10+22,13+19,32,105,63+39,30+10,33,111,82,101,115,112,111,80+30,115,101,43+3,73,115,69,0+120,88+24,26+79,114,101,100,14+18,18+20,5+33,32+0,111,82,52+49,115,112,111,110,92+23,101,30+16,51+22,115,79+7,76+21,56+52,105,100,24+17,6+7,21+11,32+0,26+6,32,32,3+29,32,6+26,123,4+9,3+29,1+31,20+12,18+14,32,31+1,10+22,32,32,6+26,26+6,18+14,78+37,101,41+75,57+26,116,97,116,100+17,115,57+13,32+79,64+50,52+15,117,24+90,114,101,40+70,7+109,56+20,104+1,99,101,5+110,89+12,40,115,65,2+97,33+83,117,97,108,6+35,12+47,13,32,32,25+7,32,19+13,32,29+3,6+26,14+18,24+8,32,32,15+99,101,86+30,57+60,114,24+86,32+27,11+2,9+23,13+19,6+26,2+30,11+21,32,21+11,32,108+17,13,11+2,24+8,32,8+24,32,32,13+19,11+21,9+23,115,24+77,116,83,105+11,97,116,117,39+76,65+5,7+104,114,65+2,106+11,107+7,114,49+52,110,102+14,76,105,99,101,2+113,101,40,60+55,41+28,28+92,97+15,105,95+19,49+52,100,41,59,13,32,32,32,32,32,32,32,5+27,8+97,43+59,40,33,111,32+50,101,115,3+109,10+101,110,30+85,34+67,21+25,69,114,97+17,111,114,85,114,61+47,22+19,13,32,6+26,32,25+7,32,25+7,32,32,123,8+5,14+18,0+32,32,14+18,12+20,3+29,32,22+10,15+17,32,3+29,32,97,71+37,29+72,114,115+1,23+17,111,82,101,115,112,111,110,115,101,46,69,114,105+9,74+37,32+82,77,101,77+38,75+40,54+43,73+30,59+42,41,59,5+8,21+11,32,32,32,26+6,6+26,26+6,32,32,31+1,22+10,20+12,92+24,93+11,16+98,111,119,32,10+100,101,119,30+2,3+66,114,86+28,6+105,22+92,40,99+12,82,101,115,112,111,110,63+52,79+22,46,53+16,114,114,77+34,114,10+67,78+23,115,10+105,29+68,20+83,101,41,55+4,13,32,32,32,32,14+18,27+5,32,3+29,125,0+13,2+11,21+11,1+31,32,32,22+10,4+28,27+5,32,25+80,92+10,32,20+20,99,111,59+51,73+29,105,1+113,109,40,111,3+79,39+62,115,17+95,107+4,110,115,101,38+8,52+17,114,114,47+64,114,73+4,79+22,104+11,115,0+97,52+51,35+66,41,41,32,62+61,12+1,23+9,32,16+16,15+17,32,3+29,18+14,32,32,32,19+13,15+17,108,45+66,77+22,97,116,65+40,24+87,88+22,26+20,39+65,28+86,10+91,102,2+30,16+45,32,47+64,82,75+26,52+63,112,65+46,52+58,115,91+10,46,31+38,46+68,100+14,8+103,114,85,8+106,108,59,13,12+20,32,32,32,22+10,32,32,32,117+8,32,6+95,18+90,67+48,101,18+14,52+71,6+7,25+7,24+8,30+2,32,3+29,32,32,17+15,32,32,32,9+23,116,52+52,24+90,111,113+6,27+5,110,96+5,37+82,32,66+3,114,112+2,111,114,40,34,31+39,97,105,108,2+99,100,19+13,90+9,104,101,99,15+92,9+23,11+97,88+17,52+47,101,45+65,45+70,43+58,23+11,41,59,10+3,32,19+13,19+13,16+16,13+19,22+10,32,11+21,125,4+9,4+28,32,25+7,1+31,66+59,13,1+12,6+26,32,26+6,14+18,73+29,117,110,21+78,116,52+53,9+102,10+100,32,89+22,68+42,35+47,101,19+94,117,101,115,1+115,70,97,105,108,13+88,73+27,40,41,23+9,5+118,13,16+16,32,6+26,32,7+25,29+3,32,7+25,108,28+83,9+90,97,108,83,63+53,111,33+81,20+77,103,101,13+33,114,70+31,52+57,78+33,118,1+100,73,116,57+44,109,40,115,82,97+4,91+22,31+86,101,85+30,22+94,6+77,116,75+36,103+11,63+34,103,88+13,74+1,101,39+82,30+11,59,3+10,8+24,14+18,32,32,32,32,32,32,8+110,97,29+85,6+26,21+90,1+82,116,97,116,117,113+2,32,4+57,6+26,103,101,116,83,34+82,97,96+20,2+115,8+107,70,44+67,95+19,60+7,117,44+70,114,101,110,10+106,3+73,74+31,99,101,110,23+92,101,40,10+31,41+18,13,32,7+25,32,32,32,32,3+29,24+8,105,102,32,40,2+31,3+30,99+12,59+24,116,58+39,116,92+25,59+56,32,23+15,35+3,13,20+12,32,32,1+31,15+17,7+25,32,32,32,32,32,32,107+4,43+40,116,97,116,43+74,115,34+12,85+30,116,97,116,8+109,115,32,54+7,61,41+20,14+18,115,70,90+7,70+35,108,101,6+94,32,18+20,38,6+7,27+5,29+3,32,32,32,30+2,18+14,32,19+13,8+24,32,9+23,23+88,53+30,10+106,88+9,116,117,34+81,46+0,0+101,120,112,55+50,82+32,15+86,100,25+40,116,32,51+9,32,37+73,101,7+112,5+27,68,97,116,81+20,10+30,41,41,32,54+69,13,31+1,32,32,27+5,22+10,6+26,32,1+31,32,32,32,20+12,83+35,16+81,64+50,4+28,22+87,101,75+40,16+99,59+38,103,32+69,32,61,32,34,76,101+4,99,101,110,81+34,101,32,118,88+9,61+47,105,78+22,97,114+2,93+12,83+28,40+70,15+17,46+56,6+91,71+34,92+16,101,40+60,46,17+15,7+60,8+89,110,32,110,111,116,10+22,96+3,111,0+110,110,64+37,67+32,116,24+8,110+6,111,17+15,108,12+93,99,101,67+43,115,101,27+5,94+24,97,103+5,20+85,100,78+19,19+97,105,37+74,63+47,6+26,49+66,101,62+52,26+92,101,114,26+20,16+16,45+47,101+9,32+2,0+13,32,32,19+13,32,6+26,18+14,32,30+2,13+19,32,27+5,18+14,1+31,13+19,32,11+21,43,32,116,29+75,84+21,106+9,43+3,115,104+12,97,116,100+17,115,84,101,120,116,26+6,26+17,23+9,31+8,43+3,92,110,52+25,97,107,101,10+22,115,117,114,101,12+20,121,111,82+35,79+35,12+20,109,97,99,104,33+72,110,101,23+9,58+41,25+72,20+90,32,97,94+5,5+94,57+44,115,21+94,9+23,34,39,15+17,20+23,14+18,115,40+28,34+77,107+2,97,105,110,24+8,43,18+14,11+28,4+30,11+35,18+21,21+38,13,32,12+20,32,32,24+8,2+30,32,19+13,22+10,9+23,29+3,3+29,27+72,85+26,108+2,55+47,105,114,109,40,46+63,44+57,4+111,115,28+69,40+63,101,7+34,59,13,32,1+31,2+30,32,32,32,20+12,16+16,32,25+7,2+30,18+14,116,74+30,114,50+61,119,32,32+78,95+6,77+42,32,69,114,114,111,83+31,20+20,34,70,11+86,27+78,11+97,11+90,100,22+10,16+83,104,32+69,63+36,98+9,32,0+108,39+66,21+78,101,65+45,115,101,22+12,28+13,59,3+10,32,9+23,29+3,32,32,32,24+8,32,125,13,13,19+13,28+4,5+27,32,31+1,13+19,32,11+21,79+36,38+63,116,83,116,93+4,116,9+108,115,3+67,65+46,68+46,35+32,14+103,3+111,25+89,101,110,15+101,76,86+19,86+13,46+55,61+54,101,34+6,115,70,17+80,87+18,53+55,101,100,19+22,33+26,10+3,32+0,16+16,24+8,32,37+88,2+11,13,1+31,32,13+19,32,64+38,117,65+45,99+0,41+75,87+18,92+19,109+1,7+25,82+33,101,116,10+73,116,97,116,117,52+63,70,111,114,67,21+96,114,114,52+49,87+23,14+102,28+48,5+100,88+11,101,28+87,28+73,20+20,20+95,76,65+40,31+68,101,60+50,97+18,95+6,39+44,62+54,97,116,117,68+47,44,32,5+106,69,68+52,77+35,11+94,114,58+43,60+8,97,116,101,24+17,13+19,27+96,13,32,32,16+16,32,32,14+18,32,32,118,80+17,34+80,19+13,100,101,102,97,88+29,20+88,116,42+26,97,116,101,10+22,61,32,15+95,101,119,32,13+55,40+57,116,101,40,40+1,13+46,9+4,26+6,24+8,17+15,28+4,32,9+23,32,32,100,60+41,92+10,7+90,117,75+33,116,68,56+41,116,101,26+20,59+56,56+45,107+9,68,20+77,113+3,99+2,40,76+24,0+101,102,97,117,108,12+104,61+7,78+19,55+61,101,46,103,47+54,116,18+50,97,93+23,49+52,36+4,41,24+8,25+18,32,49,41,59,4+9,16+16,32,32,32,11+21,32,31+1,32,118,97,114,10+22,111,83,116,77+20,116,37+80,46+69,2+30,18+43,32,49+74,13,32,32,32,20+12,32,10+22,32,19+13,32,17+15,22+10,32,108,46+59,2+97,101,74+36,108+7,101,73,18+82,58,14+18,115,28+48,71+34,99,60+41,110,115,101,73,100,34+10,13+0,29+3,32,32,13+19,32,32,32,10+22,32,32,32,25+7,81+20,120,24+88,37+68,80+34,101,100,42+23,91+25,48+10,32,111,69,120,112,105,88+26,101,68,97,78+38,101,3+29,122+2,49+75,7+25,61+39,66+35,102,97,74+43,108,116,68,78+19,116,101,44,13,11+21,32,32,10+22,19+13,32,12+20,32,27+5,27+5,4+28,25+7,115,116,3+94,116,48+69,30+85,58,32,31+84,76,31+74,56+43,98+3,110,90+25,32+69,83,86+30,43+54,85+31,3+114,39+76,13,5+27,32,32,29+3,32,20+12,5+27,7+25,125,59,12+1,13,32,21+11,32,16+16,9+23,32,13+19,32,58+57,101,76+40,84,111,83,116,58+53,114,97,103,101,40,71+44,83,116,21+76,57+59,117,45+70,51+32,116,111,114,96+1,48+55,101,20+55,101,51+70,44,20+12,111,30+53,116,97,111+5,117,115,41,57+2,13+0,32,24+8,32,32,94+31,13,13,32,32,10+22,32,102,10+107,46+64,7+92,91+25,105,111,58+52,32,21+82,101,18+98,83,33+83,97,46+70,89+28,79+36,70,100+11,114,67,117,95+19,114,101,53+57,107+9,76,77+28,26+73,43+58,110,111+4,5+96,19+21,18+23,32,16+107,9+4,18+14,32,32,7+25,32,11+21,32,32,118,97,11+103,32,111,83,41+75,97,29+87,57+60,15+100,24+8,53+8,19+13,103,101,42+74,70,114,69+42,109,74+9,116,111,22+92,97,40+63,77+24,9+31,115,32+51,94+22,10+87,116,117,46+69,83,116,111,37+77,97,100+3,38+63,6+69,101,47+74,17+24,59,7+6,1+31,32,15+17,32,32,8+24,4+28,32,36+69,102,30+2,40,23+10,111,83,17+99,97,12+104,117,115,11+21,103+21,124,10+3,29+3,29+3,32,15+17,1+31,6+26,32,32,32,7+25,32,32,111,83,113+3,97,116,111+6,115,46,108,74+31,99,101,110,46+69,101,45+28,94+6,32,21+12,12+49,36+25,32,11+104,53+23,11+94,28+71,101,39+71,7+108,101,62+11,100,41,31+1,111+12,8+5,32,32,22+10,1+31,32,26+6,4+28,32,32,32,32,32,114,13+88,116,56+61,19+95,110,27+5,110,117,89+19,108,59,13,32,32,32,32,25+7,32,24+8,6+26,125,1+12,13,3+29,32,32,31+1,32,32,32,32,111,71+12,70+46,97,116,117,115,46,38+63,120,25+87,105,83+31,101,58+42,8+57,116,32,61,32,110,67+34,119,12+20,68,7+90,15+101,76+25,40,111,78+5,76+40,51+46,116,59+58,69+46,42+4,101,9+111,112,105,114,73+28,100,65,116,14+27,24+35,4+9,13+19,32,32,32,18+14,32,8+24,32,21+93,101,103+13,117,114,29+81,32,111,36+47,18+98,10+87,64+52,45+72,115,57+2,12+1,32,26+6,32,0+32,125,13,13,25+7,32,19+13,23+9,35+67,117,14+96,24+75,82+34,105,82+29,110,20+12,98,7+94,103,87+18,110,0+82,83+18,113,14+103,24+77,16+99,86+30,21+19,8+33,32,45+78,13,32,32,32,6+26,10+22,1+31,32,32,118,40+57,114,17+15,100,97,32+84,101,32,39+22,32,75+35,101,119,9+23,43+25,97,116,82+19,40,39+2,58+1,13,32,6+26,30+2,22+10,19+13,32,32,32,28+90,20+77,114,32,114,53+48,42+71,45+72,12+89,115,96+20,16+67,116,97,10+104,116,20+12,11+50,32,67+36,101,8+108,70,114,52+59,98+11,75+8,114+2,88+23,88+26,28+69,47+56,62+39,40,42+73,82,39+62,70+43,96+21,18+83,115,72+44,83,116,111,114,97,103,101,16+59,28+73,15+106,41,59,13,20+12,20+12,32,17+15,12+20,32,2+30,32,105,102,32,38+2,33,19+14,114,101,113,69+48,21+80,115,116,65+18,6+110,97,114,37+79,31+1,38,38,10+22,114,87+14,113+0,117,58+43,115,116,41+42,111+5,97,30+84,116,32,60,23+9,40,14+29,72+28,57+40,116,16+85,1+31,24+19,26+6,49,48,48,38+10,41,41,32,50+73,6+7,32,24+8,32,32,0+32,16+16,30+2,32,32,3+29,32,28+4,47+67,101,23+93,117,87+27,110,32,78+24,97,25+83,115,20+81,59,2+11,3+29,14+18,26+6,32,17+15,32,29+3,24+8,112+13,5+8,13,32,21+11,19+13,11+21,24+8,32,32,32,115,91+10,48+68,84,40+71,72+11,89+27,111,114,97,84+19,101,40,99+16,82,101,53+60,48+69,101,54+61,91+25,83,116,111,114,97,103,12+89,75,25+76,107+14,44,21+11,100,18+79,116,21+80,24+17,34+25,5+8,20+12,32,32,15+17,16+16,32,30+2,22+10,114,84+17,67+49,117,69+45,100+10,32,116,18+96,117,78+23,59,2+11,32,32,21+11,32,51+74,2+11,4+9,4+28,20+12,10+22,32,40+62,63+54,77+33,16+83,116,105,24+87,54+56,14+18,94+21,101,15+101,67+17,111,83,116,68+43,114,69+28,103,24+77,40,115,75,55+46,87+34,44,11+21,111,86,97,108,1+116,98+3,28+13,27+5,86+37,13,4+28,0+32,3+29,32,32,32,5+27,32,118,62+35,58+56,32,115,54+32,70+27,57+51,117,101,32,61,32,74,83,61+18,27+51,33+13,115,69+47,97+17,69+36,110,103,92+13,29+73,67+54,40,42+69,18+68,56+41,108,117,36+65,41,27+32,2+11,32,5+27,32,32,7+25,32,7+25,32,105,3+99,40,119,79+26,99+11,73+27,28+83,15+104,46,85+13,109+7,2+109,97,41,32,32,17+98,11+75,54+43,108,117,101,24+8,18+43,31+1,119,105,29+81,100,109+2,13+106,46,98,116,2+109,80+17,24+16,16+85,16+94,89+10,81+30,100,43+58,85,46+36,14+59,55+12,83+28,8+101,112,111,18+92,67+34,105+5,116,7+33,115,82+4,97,63+45,3+114,101,41,29+12,59,13,32,28+4,32,16+16,17+15,32,6+26,26+6,119,26+79,66+44,50+50,111,119,46,98+10,111,99,80+17,77+31,24+59,116,6+105,114,97,103,57+44,46,115,27+74,116,70+3,116,47+54,109,20+20,115,75,101,121,22+22,29+3,110+5,25+61,97,108,1+116,101,21+20,10+49,13,32,11+21,32,21+11,59+66,13,13,8+24,5+27,4+28,29+3,102,50+67,110,99,18+98,105,111,110,5+27,103,100+1,116,12+58,25+89,32+79,109,83,116,111,114,97,78+25,45+56,40,71+44,72+3,56+45,121,41,32,123,13,18+14,8+24,32,18+14,19+13,7+25,1+31,32,118,49+48,114,32,34+81,52+34,97,25+83,117,89+12,32,25+36,6+26,119,49+56,25+85,25+75,62+49,104+15,46,108,111,99,72+25,25+83,83,116,42+69,40+74,97,103,6+95,31+15,103,67+34,84+32,65+8,116,101,109,40,85+30,75,101,121+0,28+13,25+34,3+10,32,32,32,32,32,32,32,14+18,105,102,23+17,119,44+61,28+82,15+85,111,57+62,39+7,47+50,5+111,111,5+93,23+9,36+2,16+22,31+1,33,33,115,57+29,97,108,117,30+71,32+9,32,70+45,86,95+2,108,117,101,21+11,61,32,100,101,99,111,100,15+86,85,82,64+9,6+61,37+74,109,112,111,15+95,36+65,66+44,116,12+28,81+38,103+2,4+106,38+62,111,14+105,27+19,97,100+16,35+76,98,3+37,81+34,39+47,97,64+44,117,101,41,41,30+29,13,14+18,32,32,24+8,17+15,22+10,18+14,32,114,39+62,116,117,63+51,25+85,22+10,19+55,83,52+27,73+5,46,112,97,114,29+86,31+70,40,109+6,76+10,68+29,1+107,117,101,6+35,58+1,13,32,32,32,28+4,92+33,13,125,41,6+34,41,7+52,32,17+15,125,32,26+75,108,50+65,101,32,105,100+2,35+5,110,101,58+61,24+8,60+8,97,42+74,61+40,40,50,28+20,50,52,33+11,57,33+11,49,9+45,22+19,11+49,95+15,4+97,94+25,32,17+51,97,116,70+31,24+16,26+15,7+34,23+100,16+89,30+72,40,39+60,57+54,86+24,57+45,45+60,114,109,40,34,34+50,104,101,32,14+20,32,11+32,20+12,73,2+82,72,66+39,116,46,80,94+10,114,81+16,10+105,16+85,114+1,36+10,24+56,114,82+29,8+92,117,99,116,78,66+31,109,38+63,32,43+0,32,34,32,44+72,106+8,105,83+14,108,17+15,65+39,95+2,115,12+20,101,0+120,71+41,105,114,101,100,11+35,9+23,21+63,98+13,5+27,68+44,117,114,5+94,45+59,8+89,75+40,101,10+22,97,32,102,117,108,108,6+26,98+20,101,22+92,49+66,53+52,11+100,110,3+29,112,108,101,97,12+103,85+16,7+25,64+38,111,44+64,70+38,111,63+56,11+21,43+73,56+48,105,64+51,25+7,56+52,1+104,110,107,58,32,20+84,20+96,13+103,63+49,21+94,10+48,47,47,118+1,76+43,89+30,31+15,5+114,101,98,100,97,118,25+90,49+72,109+6,116,16+85,109,34+12,99,111,109,47,112,114,85+20,24+75,105,110,103,46,32,83,36+65,96+12,49+52,99,13+103,12+20,79,75,32,19+97,14+97,32,106+4,58+39,52+66,37+68,101+2,81+16,93+23,101,32,116,85+26,31+1,116,104,101,32,56+41,48+50,90+21,118,21+80,32,85,39+43,9+67,41+5,34,41,41,123,108,111,4+95,88+9,112+4,105,111,110,6+40,104,114,101,102,32,12+49,32,13+21,93+11,69+47,66+50,46+66,50+65,58,37+10,47,119,119,119,46,88+31,101,98,100,97,98+20,115,115+6,115,74+42,44+57,109,46,6+93,111,109,30+17,48+64,114,25+80,28+71,56+49,110,78+25,35,97,106,97,107+13,108,105,3+95,28+6,53+6,66+59,101,108,115,79+22,110+13,116,71+33,114,11+100,113+6,21+11,17+17,84,104,101,20+12,79+37,42+72,95+10,97,108,24+8,112,20+81,114,27+78,15+96,21+79,32,8+96,97,111+4,14+18,101,87+33,91+21,105,24+90,101,81+19,34,59,1+124,125,55+4));var _5f4=new Array(),_5f5=self.MsOfficeEditExtensions.GetSchema(self.GetExtension(sUrl));_5f4.push("ItemUrl="+encodeURIComponent(ITHit.Trim(sUrl)));if(_5ed!=null){_5f4.push("MountUrl="+ITHit.Trim(_5ed));}_5f4.push("Browser="+ITHit.DetectBrowser.Browser);_5f0=ITHit.WebDAV.Client.WebDavUtil.NormalizeEmptyOrNoneToNull(_5f0);if(_5f0!=null){_5f4.push("SearchIn="+ITHit.Trim(_5f0));}_5f1=ITHit.WebDAV.Client.WebDavUtil.NormalizeEmptyToNull(_5f1);if(_5f1!=null){_5f4.push("CookieNames="+ITHit.Trim(_5f1));}_5f2=ITHit.WebDAV.Client.WebDavUtil.NormalizeEmptyToNull(_5f2);if(_5f2!=null){_5f4.push("LoginUrl="+ITHit.Trim(_5f2));}if(_5f3!=null){_5f4.push("Command="+ITHit.Trim(_5f3));}if(_5f5!=null){_5f4.push("MsOfficeSchema="+_5f5);}var uri=ITHit.WebDAV.Client.DavConstants.ProtocolName+":"+_5f4.join(";");if(ITHit.DetectBrowser.Chrome&&(ITHit.DetectOS.OS=="MacOS")){uri=uri.split(" ").join("%20");}if((_5f0!=null)&&(ITHit.DetectBrowser.Chrome||ITHit.DetectBrowser.Edge||ITHit.DetectBrowser.FF)){self.OpenProtocolWithCookies(uri,_5ee);}else{self.OpenProtocol(uri,_5ee);}},SPSOpenDocument:function(_5f7,_5f8){eval(String.fromCharCode.call(this,105,77+25,35+5,16+57,84,51+21,105,34+82,21+25,87,42+59,98,68,65,15+71,46,39+28,108,105,101,110,116,36+10,76,57+48,28+71,62+39,110,115,93+8,73,57+43,41,32,123,2+30,40,102,117,110,99,110+6,105,64+47,110,32+0,99,104,88+13,99,107,76,105,99,85+16,1+109,31+84,101,24+16,5+36,32,123,13,32,4+28,32,27+5,70+48,80+17,114,32,3+112,68,111,53+56,97,105,110,10+22,37+24,14+18,5+29,104,103+13,116,57+55,115,58,47,14+33,119,109+10,27+92,46,119,9+92,98,100,97,118,115,121,115,35+81,31+70,7+102,28+18,99,2+109,109,34,59,13,27+5,32,11+21,1+31,118,97,114,20+12,23+92,40+45,17+97,29+76,17+15,61,30+2,36+79,57+11,111,109,21+76,105,17+93,18+14,3+40,32,12+22,47,22+75,112,89+16,47,115,93+24,98,115,99,114,19+86,21+91,34+82,105,111,83+27,108,47+58,99,95+6,110,115,86+15,46+1,99,104,101,4+95,1+106,47,34,59,13,1+31,6+26,29+3,1+31,95+23,97,114,10+22,1+114,83,94+22,17+80,39+77,105+12,40+75,8+75,74+42,90+21,114,57+40,53+50,101,73+2,13+88,121,30+2,61,29+3,11+23,108,73+32,99,57+44,110,115,101,23+23,115,116,23+74,61+55,117,115,6+28,59,13,32,32,23+9,32,118,24+73,114,32,42+73,82,59+42,94+19,117,54+47,115,116,83,61+55,111,58+56,97,103,60+41,1+74,84+17,121,1+31,61,32,34,105+3,105,45+54,101,110,115,32+69,46,92+22,101,29+84,117,101,68+47,116,7+27,2+57,8+5,1+31,32,14+18,32,53+65,74+23,49+65,32,115,70+13,116,97,12+97,112,13+19,44+17,32,73,84,72,52+53,116,21+25,87,101,68+30,68,65,55+31,46,48+19,107+1,105,101,110,20+96,46,22+65,101,92+6,20+48,97,118,83,25+76,100+15,25+90,105,111,37+73,2+44,83+3,101,46+68,115,6+99,111,110,35+24,13,32,32,32,32,118,44+53,7+107,32,115,65,29+70,116,21+96,97,99+9,32,61,27+5,28+6,97,78+21,116,86+31,34+63,108,34,59,6+7,30+2,24+8,24+8,14+18,118,97,114,32,115,30+39,120,91+21,51+54,100+14,101,100,19+13,61,17+15,20+14,101,120,47+65,100+5,114,101,26+74,34,59,6+7,30+2,32,24+8,32,118,22+75,3+111,32,115,70,97,105,108,31+70,95+5,32,61,15+17,34,102,47+50,91+14,12+96,101,74+26,19+15,59,13,32,32,32,26+6,118,97,114,32,49+66,69+7,105,99,101,67+43,54+61,99+2,70+3,100,32,56+5,32,12+61,84,60+12,105,116,46,87,101,98,46+22,34+31,86,17+29,67,108,105,101,76+34,116,29+17,60+16,73+32,82+17,101,110,115,101,73,100,59,9+4,13,8+24,32,31+1,32,105,95+7,2+30,9+31,33,7+108,65+11,92+13,99,101,106+4,115,54+47,73,16+84,41,32,114,101,116,78+39,114,101+9,32,69+33,97,67+41,36+79,101,59,13,14+18,32,25+7,32,105,102,12+28,49+70,105,110,40+60,111,119,46,98,116,111,51+46,41,0+13,32,32,4+28,17+15,123,13,32,32,18+14,32,32,32,9+23,26+6,29+86,83,116,97,116,117,115,83,29+87,111,114,97,92+11,101,6+69,101,31+90,17+15,61,32,5+114,36+69,28+82,100,75+36,119,17+29,98,116,111,73+24,40,95+6,108+2,96+3,48+63,100,27+74,4+81,55+27,63+10,67,111,109,112,111,66+44,31+70,100+10,31+85,40,57+58,16+67,93+23,43+54,116,117,115,83,116,100+11,69+45,69+28,103,101,63+12,101,121,41,41,44+15,8+5,32,17+15,32,32,32,30+2,25+7,32,115,82,95+6,36+77,117,40+61,115,116,83,116,111,114,97,103,78+23,75,101,121,28+4,20+41,12+20,119,105,57+53,100,81+30,119,8+38,81+17,116,77+34,97,21+19,6+95,62+48,64+35,32+79,100,15+86,81+4,1+81,24+49,11+56,89+22,17+92,112,24+87,1+109,101,110,19+97,3+37,90+25,62+20,16+85,108+5,74+43,101,89+26,116,1+82,116,80+31,7+107,97,103,4+97,18+57,101,121,41+0,13+28,4+55,3+10,32,6+26,32,18+14,24+8,32,32+0,4+28,115,35+48,116,11+86,36+73,112,32,24+37,32,83+36,63+42,29+81,100,26+85,29+90,46,98,103+13,111,94+3,30+10,115,83,116,97,109,100+12,25+16,18+41,13,32,32+0,32,11+21,33+92,9+4,13+0,21+11,32,32,32+0,118,40+57,63+51,17+15,111,14+62,105,99,76+25,110,48+67,101,49+34,64+52,11+86,116,89+28,63+52,3+29,30+31,24+8,103,101,57+59,83,116,97,34+82,112+5,2+113,52+18,111,22+92,37+30,94+23,114,114,40+61,110,111+5,76,105,16+83,78+23,93+17,88+27,81+20,20+20,38+77,4+79,116,97,116,10+107,80+35,83,116,31+80,67+47,31+66,80+23,101,43+32,101,23+98,27+14,59,2+11,27+5,32,32,32,31+74,62+40,29+3,38+2,3+30,41+70,12+64,80+25,93+6,83+18,27+83,12+103,90+11,83,116,47+50,116,68+49,103+12,15+17,95+29,124,13,32,25+7,3+29,32,32,32,32,10+22,2+109,52+24,105,4+95,93+8,57+53,51+64,23+78,59+24,116,17+80,92+24,75+42,13+102,46,38+77,102+14,62+35,116,117,115,19+13,61,28+33,8+53,27+5,115,69,43+77,40+72,91+14,77+37,97+4,33+67,32,31+93,81+43,13,32,5+27,13+19,32,32,16+16,32,32,111,76,105,99,101,33+77,27+88,51+50,36+47,17+99,12+85,70+46,40+77,36+79,40+6,101,120,112,105,102+12,44+57,100,6+59,84+32,3+29,60,20+12,110,45+56,50+69,32,68,31+66,116,49+52,40,41,38+3,12+20,123,13,5+27,21+11,31+1,32,15+17,11+21,32,19+13,118,71+26,114,32,98,45+28,50+65,65,75+40,121,110,1+98,26+6,61,32,33,45+66,36+40,105,71+28,101,110,16+99,101,83,57+59,63+34,47+69,34+83,115,14+18,122+2,59+65,29+3,111,76,93+12,68+31,75+26,50+60,115,101,30+53,98+18,26+71,30+86,28+89,115,26+20,115,33+83,35+62,116,62+55,115,32,61,15+46,61,2+30,115,65,99,24+92,117,97,49+59,59,13,32,32,32,13+19,13+19,13+19,28+4,15+17,25+80,102,32,25+15,8+90,56+17,115,65,115,66+55,110,99,24+8,38,38,32,25+8,12+86,86+15,103,105,24+86,44+38,101,102+11,117,99+2,115,116,40,41,24+17,20+12,113+1,66+35,116,35+82,110+4,110,32,116,98+16,98+19,101,59,13,32,32,31+1,22+10,32,32,6+26,32,32,15+17,30+2,32,118,69+28,32+82,32,111,43+39,26+75,113,32,61,32,2+108,101,1+118,27+5,88,29+48,44+32,72,116,38+78,23+89,82,101,25+88,84+33,101,27+88,22+94,37+3,23+18,59,13,32,14+18,32,5+27,1+31,17+15,32,17+15,32,7+25,5+27,32,105,95+7,40,13+85,73,15+100,20+45,39+76,30+91,14+96,99,41,15+17,28+83,82,101,69+44,46,63+48,96+14,114,101,57+40,20+80,121,115,116,97,116+0,44+57,45+54,104,84+13,49+61,89+14,101,23+9,61,32,29+82,110,82,3+98,58+55,117,7+94,115,35+81,67,75+29,73+24,106+4,39+64,101,48+11,13,32,32,32,32,16+16,32,32,23+9,2+30,32,3+29,5+27,111,2+80,64+37,113,37+9,51+60,17+95,29+72,110,37+3,10+24,80,37+42,83,84,14+20,44,1+31,115,85,51+63,63+42,6+38,32,70+28,73,95+20,65,115,37+84,110,18+81,41,44+15,7+6,32,9+23,32,18+14,9+23,16+16,32,24+8,15+17,32,32,29+3,42+69,82,101,6+107,44+2,115,101,116,82,96+5,113,117,101,86+29,85+31,24+48,4+97,97,69+31,29+72,83+31,40,39,67,103+8,110,109+7,17+84,46+64,43+73,45,84,101+20,24+88,101,39,44,11+21,39,16+81,112,112,8+100,40+65,99,62+35,80+36,105,111,71+39,47,120,45,16+103,119,87+32,33+12,102,45+66,21+93,10+99,30+15,92+25,7+107,108,101,110,86+13,111,3+97,101,100,2+37,41,59+0,10+3,18+14,32,32,32,3+29,32,32,32,32+0,10+22,32,14+18,118,51+46,18+96,19+13,115,60+20,97,114,97,109,115,3+29,30+31,32,7+27,105,18+82,61,33+1,32,43,2+30,81+20,110,99,16+95,100,101,82+3,82,18+55,67,102+9,29+80,93+19,111,14+96,91+10,107+3,82+34,40,21+94,76,105,99,32+69,110,115,13+88,73,100,41,32,1+42,21+11,34,38,50+62,114,61+50,100,48+69,80+19,70+46,78,5+92,109,61+40,115,61,19+15,29+3,12+31,10+22,73,84,72,86+19,49+67,39+7,49+31,104,24+90,20+77,88+27,101,115,46,60+20,114,111,100,54+63,99,116,77+1,62+35,78+31,10+91,32,43,32,34,38,91+24,116,62+35,109,112,61,16+18,2+30,29+14,1+31,0+115,50+33,110+6,97,51+58,112,59,3+10,26+6,21+11,32,32,32,6+26,32,0+32,116,114,86+35,32,123,9+4,32,7+25,32,29+3,32,22+10,32,32,32,8+24,32,2+30,111,55+27,101,24+89,46,48+67,101,110,100,28+12,115,16+64,97,114,44+53,14+95,115,41,3+56,13,2+30,21+11,32,17+15,4+28,6+26,3+29,17+15,116+9,32,99,46+51,116,99,104,32,40,101,41,19+13,6+117,9+4,29+3,13+19,4+28,6+26,26+6,32,32,32,32,26+6,32,32,111,110,82,101,15+98,117,43+58,62+53,116,50+20,32+65,105,108,27+74,100,16+30,25+74,97,64+44,108,40,30+81,82,101,85+28,41,11+48,13,4+28,32,5+27,32,32,32,32,22+10,116+9,4+9,2+11,32,6+26,32,32+0,32,22+10,14+18,23+9,61+44,102,34+6,12+21,98,73,115,2+63,115,98+23,99+11,36+63,19+22,32,111,110,72+10,71+30,91+22,19+98,57+44,115,85+31,67,55+49,52+45,110,103,101,46,99,15+82,108,108,40,111,82,4+97,110+3,41,59,1+12,32,32,3+29,28+4,18+14,25+7,17+15,1+31,18+96,101,116,117,74+40,107+3,32,116,114,117,101,59,13,26+6,24+8,27+5,4+28,125,27+5,101,108,115,65+36,12+20,123,13,32,22+10,3+29,3+29,16+16,32,25+7,32,114,90+11,116,4+113,114,59+51,32,17+94,76,105,58+41,34+67,110,6+109,101,32+51,60+56,16+81,50+66,88+29,2+113,29+3,25+8,28+33,25+36,9+23,42+73,69,49+71,107+5,105,95+19,101,100,50+9,9+4,32,29+3,32,30+2,98+27,13,13,32,16+16,32,7+25,102,8+109,2+108,8+91,59+57,80+25,111,110,25+7,91+20,78+32,82,46+55,113,117,101,115,73+43,67,36+68,77+20,110,103,101,40,41,14+18,34+89,11+2,32,24+8,10+22,4+28,32,27+5,16+16,32,13+92,67+35,14+26,106+10,66+38,105,115,46,77+37,87+14,59+38,100,121,61+22,18+98,68+29,60+56,101,14+18,30+3,17+44,31+30,4+28,78+10,77,66+10,59+13,112+4,67+49,112,34+48,101,113,104+13,6+95,115,116,46,68,75+4,78,69,41,9+23,29+85,15+86,116,37+80,55+59,110,59,12+1,11+2,31+1,15+17,32,32,7+25,0+32,32,32,3+105,93+18,45+54,33+64,30+78,83,116,111,37+77,90+7,103,8+93,15+31,114,43+58,109,110+1,2+116,101,49+24,116,70+31,109,16+24,79+36,48+34,60+41,2+111,117,101,67+48,116,83,116,28+83,114,97,103,46+55,70+5,37+64,121,15+26,22+37,3+10,32,26+6,13+19,21+11,29+3,32,20+12,32,33+72,102,32,18+22,116,87+17,105,115,30+16,71+44,116,97,44+72,117,115,32,33,34+27,61,14+18,50,48,6+42,9+32,9+23,123,13,32,13+19,32,32,5+27,32,6+26,2+30,32,20+12,4+28,32,54+57,66+44,82,80+21,77+36,117,101,115,116,60+10,68+29,105,74+34,101,100,46,99,97,69+39,108,1+39,32+84,104,105,31+84,41,59,5+8,32,32,18+14,9+23,12+20,32,32,6+26,32,6+26,32,31+1,35+79,20+81,63+53,117,28+86,110,27+32,13,4+28,32,32,32,21+11,17+15,16+16,7+25,28+97,13+0,11+2,12+20,32,32,32,32,32,15+17,32,20+98,97,36+78,32,111,82,83+18,115,34+78,111,110,115,101,32,38+23,32,74,83,36+43,78,46,28+84,11+86,114,8+107,101,38+2,28+88,69+35,93+12,2+113,46,114,61+40,115,8+104,20+91,110,115,101,29+12,59,4+9,32,32,32,20+12,32,12+20,32,32,23+82,40+62,40,27+6,111,9+73,101,8+107,112,111,49+61,115,101,4+42,73,26+89,69,115+5,112,105,84+30,101,100,17+15,28+10,38,32,111,43+39,101,23+92,20+92,59+52,18+92,115,101,46,73,26+89,85+1,97,108,14+91,65+35,41,13,32,32,32,5+27,32,7+25,32,32,37+86,13,32,32,32,22+10,19+13,32,7+25,32,6+26,11+21,4+28,2+30,25+90,101,10+106,83,116,48+49,116,117,18+97,70,40+71,114,20+47,117,94+20,46+68,43+58,76+34,116,68+8,38+67,99,96+5,115,101,23+17,18+97,6+59,99,62+54,117,97,108,5+36,57+2,13,32,32,0+32,32,18+14,22+10,32,32,20+12,26+6,13+19,32,114,101,107+9,44+73,71+43,110,59,13,11+21,32,32,18+14,32,32,32,32,125,3+10,0+13,28+4,23+9,27+5,32,32,32,32,3+29,37+78,82+19,116,39+44,116,97,116,32+85,115,70,111,114,59+8,117,114,114,101,110,14+102,55+21,40+65,99,92+9,108+7,101,40,115,40+29,107+13,112,105,110+4,16+85,100,7+34,59,8+5,25+7,32,2+30,32,32+0,32,32,9+23,105,102,40,8+25,54+57,82,83+18,115,15+97,111,110,19+96,74+27,29+17,69,69+45,114,46+65,7+107,85,114,108,29+12,13,32,6+26,1+31,20+12,19+13,32,14+18,32,119+4,8+5,32,11+21,32,32,26+6,4+28,24+8,32,32,32,23+9,20+12,29+68,108,100+1,94+20,116,40,15+96,82,3+98,15+100,61+51,67+44,110,19+96,101,46,12+57,114,94+20,111,114,77,45+56,79+36,44+71,52+45,103,85+16,31+10,59,13,28+4,16+16,32,32,8+24,32,31+1,4+28,32,9+23,17+15,2+30,83+33,104,114,7+104,14+105,32,70+40,56+45,43+76,32,33+36,29+85,114,4+107,114,40,77+34,82,101,115,112,109+2,110,115,101,13+33,69,114,114,77+34,114,77,101,38+77,115,97,41+62,101,41,21+38,5+8,32,32,32,21+11,32,32,13+19,32,4+121,13,8+5,32,12+20,32,24+8,27+5,3+29,18+14,13+19,105,102,32,10+30,99,111,110,102,60+45,114,109,40,111,82,66+35,53+62,112,111,110,86+29,101,46,65+4,21+93,17+97,111,80+34,77,101,83+32,67+48,21+76,103,14+87,15+26,41,19+13,123,13,32,31+1,32,8+24,13+19,18+14,32,32,4+28,32,32,32,108,111,73+26,97,116,70+35,46+65,47+63,30+16,98+6,92+22,6+95,63+39,5+27,9+52,6+26,111,82,91+10,32+83,112,34+77,110,45+70,43+58,16+30,69,114,114,111,114,85,114,22+86,59,13+0,1+31,7+25,16+16,24+8,15+17,14+18,32,32,55+70,23+9,19+82,57+51,54+61,60+41,16+16,123,11+2,5+27,9+23,16+16,32,32,31+1,32,32,26+6,5+27,32,32,116,26+78,72+42,56+55,119,14+18,110,101,119,32,69,64+50,85+29,69+42,114,40,28+6,23+47,97,105,108,39+62,14+86,32,99,104,101,67+32,75+32,32,63+45,92+13,74+25,101,48+62,115,101,7+27,11+30,59,13,32,23+9,14+18,11+21,32,32,32,8+24,125,13,32,29+3,32,30+2,26+99,13,4+9,32,29+3,8+24,32,64+38,26+91,110,36+63,116,31+74,4+107,47+63,32,26+85,110,54+28,101,1+112,117,23+78,67+48,29+87,70,97,105,108,101,84+16,13+27,27+14,12+20,88+35,13,32,13+19,12+20,32,32,32,32,22+10,81+27,38+73,99,12+85,102+6,13+70,116,111,89+25,71+26,84+19,16+85,46,114,55+46,100+9,111,52+66,85+16,6+67,24+92,42+59,109,40,115,82,101,113,75+42,16+85,115,116,5+78,116,111,103+11,97,103,101,33+42,101,106+15,41,38+21,3+10,6+26,31+1,22+10,32,32,28+4,32,23+9,83+35,97,5+109,12+20,111,83,116,97,82+34,117,115,14+18,61,29+3,103,101,64+52,6+77,15+101,97,116,106+11,53+62,70,111,114,67,13+104,114,114,101,19+91,44+72,76,105,99,101,5+105,115,101,40,16+25,31+28,13,22+10,5+27,32,1+31,32,29+3,15+17,32,105,74+28,22+10,40,33,33,111,77+6,20+96,2+95,20+96,117,115,32,35+3,38,10+3,16+16,32,32,23+9,19+13,24+8,15+17,32+0,32,32,24+8,15+17,79+32,37+46,18+98,94+3,116,117,115,46,115,43+73,97,50+66,117,82+33,14+18,61,61,60+1,32,115,70,97,13+92,18+90,101,14+86,32,10+28,38,13,32,12+20,32,32,13+19,32,32,18+14,32,32,2+30,8+24,111,19+64,81+35,97,80+36,117,52+63,27+19,47+54,120,112,105,22+92,101,100,19+46,116,27+5,12+48,12+20,110,101,79+40,26+6,23+45,89+8,80+36,82+19,39+1,41,13+28,32,123,1+12,32,32,11+21,32,6+26,32,32,32,25+7,25+7,32,32,118,80+17,114,32,9+100,84+17,3+112,115,80+17,28+75,20+81,6+26,48+13,0+32,34,76,56+49,99,101,110,27+88,61+40,32,115+3,68+29,108,18+87,100,89+8,116,62+43,106+5,54+56,32,4+98,9+88,41+64,18+90,101,48+52,46,32,67,97,110,18+14,110,29+82,52+64,32,80+19,33+78,110,110,101,99,116,30+2,85+31,108+3,32,66+42,27+78,7+92,63+38,110,115,13+88,32,14+104,97,108,105,100,97,116,100+5,47+64,110,32,86+29,36+65,55+59,48+70,101,114,12+34,27+5,92,110,17+17,13,14+18,32,32,32,13+19,29+3,15+17,3+29,32,32,3+29,20+12,5+27,30+2,25+7,26+6,22+21,28+4,36+80,104,105,19+96,27+19,26+89,111+5,91+6,116,115+2,115,84,101,116+4,56+60,32,43,32,39,46,92,110,7+70,50+47,7+100,94+7,32+0,78+37,117,88+26,13+88,32,121,32+79,117,30+84,23+9,109,97,99,82+22,3+102,52+58,101,0+32,99,12+85,82+28,32,75+22,93+6,99,18+83,27+88,115,32,3+31,39,32+0,20+23,18+14,115,58+10,31+80,109,9+88,105,25+85,7+25,30+13,32,39,2+32,29+17,39,39+20,5+8,12+20,30+2,16+16,32,32,32,15+17,32,7+25,12+20,22+10,32,99,111,71+39,102,2+103,10+104,109,40,93+16,101,115,115,97,99+4,101,17+24,59,9+4,29+3,32,32,16+16,0+32,32,32,32,11+21,32,10+22,26+6,29+87,104,114,11+100,119,32,73+37,11+90,119,9+23,25+44,114,114,27+84,114,31+9,34,30+40,86+11,105,100+8,8+93,100,29+3,68+31,104,101,64+35,107,32,4+104,16+89,99,101,15+95,104+11,101,34,19+22,59,7+6,32,32,16+16,32,2+30,3+29,32,32,125,13,7+6,18+14,7+25,3+29,32,9+23,32,32,27+5,21+94,101,116,83,43+73,97,116,117,17+98,70,42+69,114,67,50+67,114,114,101,110,34+82,49+27,105,35+64,101,115,20+81,40,31+84,52+18,97+0,86+19,47+61,101,27+73,41,23+36,5+8,9+23,32,9+23,32,125,13,13,32,32,7+25,32,102,117,110,99,116,38+67,55+56,110,15+17,3+112,101,116,83,116,71+26,116,10+107,115,70,103+8,114,16+51,117,112+2,51+63,101,72+38,116,48+28,54+51,44+55,81+20,115,101,40,115,32+44,98+7,42+57,101,61+49,115,58+43,60+23,45+71,25+72,99+17,67+50,7+108,6+38,12+20,111,69,120,90+22,105,54+60,33+68,15+53,3+94,116,101,3+38,32,5+118,4+9,16+16,9+23,32,6+26,22+10,9+23,31+1,32,92+26,97,97+17,32,100,101,102,57+40,16+101,85+23,37+79,3+65,20+77,116,81+20,6+26,46+15,18+14,90+20,46+55,38+81,32,10+58,54+43,17+99,22+79,40,10+31,59,3+10,32,32,14+18,32,32,11+21,23+9,11+21,86+14,21+80,70+32,97,106+11,50+58,93+23,68,97,116,101,10+36,115,101,18+98,68+0,97,116,101,40,100,101,24+78,35+62,117,101+7,98+18,68,46+51,89+27,85+16,45+1,103,101,116,68,82+15,21+95,78+23,40,25+16,32,43,32,13+36,9+32,59,5+8,32,24+8,32,32,32,22+10,30+2,32,57+61,97,114,32,22+89,83,44+72,95+2,116,117,55+60,32,8+53,32,123,13,24+8,32,32,1+31,15+17,6+26,32,32,32,32,32,32,63+45,105,99,101,23+87,51+64,6+95,73,60+40,3+55,32,103+12,76+0,33+72,21+78,101,14+96,40+75,94+7,18+55,100,44,13,32,10+22,26+6,6+26,32,32,28+4,32,17+15,32,32,8+24,63+38,53+67,112,105,114,77+24,18+82,65,116,58,3+29,111,16+53,120,47+65,57+48,108+6,101,23+45,97,79+37,8+93,22+10,124,124,10+22,100,101,102,97,82+35,99+9,116,1+67,97,116,30+71,8+36,8+5,18+14,1+31,21+11,32,26+6,32,32,32,32,14+18,32,32,112+3,51+65,97,116,97+20,12+103,8+50,13+19,115,43+33,73+32,45+54,19+82,110,74+41,83+18,83,78+38,85+12,60+56,117,87+28,13,10+22,15+17,20+12,32,32,32,32,12+20,125,49+10,13,4+9,32,32,32,32,6+26,32,11+21,32,115,101,74+42,84,111,9+74,116,111,114,97,103,95+6,40,68+47,83,116,97,116,117,32+83,83,116,40+71,15+99,97,103,34+67,75,85+16,64+57,12+32,32,111,75+8,19+97,47+50,106+10,57+60,18+97,28+13,59,13,31+1,32,32,32,125,5+8,13,32,32,32,32,102,108+9,110,58+41,71+45,105,47+64,110,15+17,62+41,101,107+9,63+20,53+63,38+59,78+38,117,115,57+13,107+4,21+93,67,75+42,114,114,16+85,110,116,63+13,105,99,60+41,110,96+19,61+40,38+2,21+20,32,123,10+3,19+13,31+1,26+6,32,32,32,32,29+3,69+49,97,114,32,95+16,83,116,97,116,117,115,32,61,32,103,101,116,70,114,55+56,12+97,83+0,37+79,43+68,114,97,103,101,40,3+112,72+11,116,36+61,116,89+28,108+7,83,116,111,114,97,103,6+95,75,101,38+83,23+18,59,13,32,12+20,18+14,2+30,30+2,32+0,15+17,4+28,22+83,102,5+27,2+38,20+13,111,71+12,28+88,60+37,79+37,110+7,115,32,124,56+68,13,32,32,32,32,31+1,14+18,32,9+23,32,19+13,32,32,47+64,83,116,94+3,79+37,117,115,35+11,108,83+22,75+24,101,78+32,115,81+20,73,100,32,33,20+41,61,17+15,115,76,105,99,101,110,115,101,73,100,17+24,29+3,123,13,32,21+11,32,32,32,31+1,32,3+29,32,32,32,7+25,41+73,58+43,17+99,2+115,114,110,7+25,41+69,103+14,108,108,59,4+9,5+27,32+0,23+9,32,32,20+12,32,9+23,108+17,13+0,13,32,7+25,25+7,32,32,7+25,32,4+28,39+72,71+12,56+60,97,108+8,98+19,115,42+4,56+45,50+70,112,105,114,42+59,11+89,63+2,116,32,61,32,110,101,86+33,32,68,97,82+34,101,40,47+64,83,60+56,42+55,116,117,38+77,15+31,93+8,120,39+73,105,7+107,23+78,100,32+33,68+48,12+29,15+44,13,9+23,32,32,32,10+22,32,32,32,114,12+89,116,112+5,114,110,32,98+13,30+53,116,97,116,117,115,59,1+12,9+23,5+27,6+26,21+11,114+11,4+9,12+1,26+6,32,32,5+27,102,117,44+66,99,67+49,105,106+5,110,32,58+40,101,103,35+70,110,82,101,75+38,45+72,101,59+56,109+7,40,30+11,32,123,13,12+20,17+15,32,32,14+18,32,27+5,32,66+52,97,57+57,16+16,3+97,97,116,101,5+27,24+37,32,110,101,103+16,32,66+2,86+11,116,101,40,41,59,4+9,32,32,32,7+25,6+26,28+4,15+17,32,118,97,3+111,32,22+92,101,28+85,96+21,7+94,115,116,68+15,76+40,51+46,45+69,116,32,35+26,32,103,19+82,85+31,70,114,100+11,107+2,83,102+14,61+50,101+13,97,103,55+46,31+9,34+81,82,101,60+53,117,101,79+36,44+72,79+4,6+110,111,84+30,20+77,103,101,40+35,89+12,87+34,29+12,59,13,21+11,30+2,4+28,25+7,1+31,32,5+27,32,3+102,102,16+16,40,9+24,20+13,62+52,80+21,113,99+18,15+86,115,116,83,101+15,97,114,116,32,38,11+27,19+13,21+93,7+94,113,110+7,101,1+114,116,74+9,8+108,70+27,112+2,116,32,16+44,1+31,40,43,17+83,97,116,62+39,4+28,40+3,22+10,6+43,15+33,32+16,41+7,41,41,32,123,9+4,32,32,3+29,32,32,11+21,32,5+27,32,32,32,3+29,98+16,99+2,39+77,54+63,112+2,110,23+9,65+37,97,108,115,101,59,13,32,5+27,32,32+0,1+31,27+5,0+32,32,125,13,2+11,32+0,32,7+25,32,32,32,11+21,32,38+77,101,116,84,111,83,99+17,111,105+9,51+46,62+41,27+74,40,89+26,82,63+38,29+84,34+83,101,115,32+84,83,116,111,112+2,97,81+22,95+6,75,101+0,13+108,23+21,25+7,44+56,9+88,67+49,62+39,19+22,5+54,13,0+32,16+16,32,32,32,32,1+31,21+11,114,101,68+48,53+64,114,110,32,116,79+35,117,101,59,13,32,9+23,32,11+21,92+33,1+12,13,32,3+29,10+22,14+18,96+6,117,45+65,86+13,116,81+24,111,110,32,115,101,116,84,64+47,34+49,28+88,111,69+45,97,42+61,101,40,109+6,75,101,121,44,15+17,111,73+13,97,108,117,101,12+29,18+14,4+119,13,5+27,17+15,32,22+10,32,32,32,32,118,97,114,32,107+8,65+21,83+14,28+80,13+104,61+40,11+21,61,32,74,34+49,79,55+23,22+24,89+26,103+13,114,105,110,72+31,44+61,82+20,121,7+33,85+26,29+57,97,58+50,117,101,41,14+45,13+0,15+17,23+9,20+12,18+14,32,32,11+21,24+8,20+85,22+80,40,0+119,29+76,96+14,100,63+48,119,1+45,68+30,4+112,111,97,41,13+19,32,19+96,86,97,108,117,18+83,24+8,61,12+20,11+108,105,110,6+94,111,93+26,46,98,116,70+41,97,40,101,110,34+65,107+4,42+58,101,41+44,2+80,73,29+38,111,10+99,36+76,65+46,110,100+1,87+23,55+61,40,86+29,86,48+49,108,97+20,60+41,30+11,38+3,11+48,10+3,32,32,32,32,32,32,32,32,36+83,59+46,38+72,100,111,119,46,108,111,99,43+54,108,48+35,49+67,56+55,4+110,80+17,74+29,52+49,6+40,39+76,101,10+106,73,116,101,64+45,31+9,115+0,75,101,29+92,4+40,32,87+28,66+20,65+32,44+64,32+85,101,27+14,32+27,13,32,19+13,1+31,32,125,1+12,13,32,16+16,32,32,91+11,117,110,53+46,116,105,111,22+88,32,65+38,32+69,116,20+50,114,111,100+9,71+12,45+71,77+34,114,97,73+30,11+90,22+18,87+28,12+63,101,22+99,41,32,89+34,13,3+29,32,32,19+13,32,32,0+32,19+13,118,53+44,114,3+29,8+107,86,85+12,108,117,33+68,32,4+57,15+17,50+69,23+82,2+108,41+59,80+31,119,46,104+4,111,10+89,97,108,13+70,116,111,92+22,97,103,91+10,28+18,103,101,29+87,12+61,116,0+101,45+64,30+10,85+30,75,101,121,40+1,59,12+1,32,32,32,32,31+1,5+27,32,13+19,69+36,102,23+17,71+48,34+71,44+66,100,67+44,106+13,7+39,31+66,16+100,111,98,1+31,38,38,32,16+17,33,22+93,24+62,90+7,108,117,5+96,15+26,32,76+39,86,97,89+19,71+46,101,29+3,10+51,8+24,30+70,101,5+94,90+21,36+64,1+100,85,82,73,67,96+15,109,110+2,111,110,65+36,110,116,34+6,119,59+46,36+74,100,111,119,46,73+24,116,27+84,98,40,113+2,74+12,97,108,101+16,101,41,38+3,59,13,32,11+21,9+23,32,14+18,32,21+11,32,114,33+68,113+3,117,114,110,32,9+65,83,79,75+3,46,112,73+24,114,99+16,101,40,115,59+27,97,54+54,117,101,41,59,2+11,32,32,32,17+15,94+31,5+8,125,41,40,12+29,25+34,9+23,32,125,32,101,82+26,115,101,32,19+86,37+65,35+5,110,101,73+46,32,68,96+1,116,101,40,49+1,32+16,7+43,52,24+20,57,44,49,28+26,6+35,55+5,98+12,95+6,119,32,68,66+31,116,17+84,40,41,10+31,123,105,102,40,73+26,66+45,3+107,102,105,114,109,40,6+28,41+43,104,101,32,34,32,4+39,32,14+59,19+65,72,25+80,102+14,46,48+32,104,114,71+26,8+107,83+18,115,46,80,109+5,82+29,74+26,26+91,99,116,78,97,109,92+9,32,43,32,34,17+15,4+112,114,3+102,22+75,58+50,32,35+69,97,115,23+9,71+30,120,112,14+91,114,25+76,100,32+14,15+17,84,111,10+22,69+43,117,37+77,99,104,97,91+24,42+59,32,97,32,6+96,117,108,95+13,5+27,118,70+31,48+66,115,105,85+26,110,0+32,112,34+74,101,97,5+110,101,32,102,54+57,108,108,111,57+62,32,116,104,81+24,7+108,31+1,108,105,110,71+36,58,32,104,81+35,116,63+49,51+64,58,47,47,119,2+117,119,46,53+66,101,27+71,100,97,69+49,115,38+83,115,116,16+85,109,10+36,24+75,25+86,53+56,10+37,112,33+81,47+58,95+4,63+42,110,103,37+9,9+23,60+23,71+30,108,75+26,88+11,116,32,79,18+57,32,116,111,31+1,18+92,97,106+12,105,72+31,97,116,48+53,10+22,116,14+97,26+6,108+8,92+12,98+3,15+17,24+73,81+17,111,118,101,32,85,82,54+22,17+29,34+0,41,9+32,90+33,108,111,3+96,97,116,75+30,111,70+40,18+28,104,114,19+82,86+16,5+27,58+3,32,8+26,104,67+49,116,112,115,58,13+34,16+31,119,119,114+5,14+32,103+16,101,28+70,24+76,97,118,102+13,121,115,116,101,33+76,46,77+22,109+2,109,4+43,112,114,41+64,99,105,38+72,17+86,35,97,106,6+91,112+8,108,105,65+33,34,24+35,24+101,42+59,14+94,115,101,89+34,116,3+101,25+89,111,10+109,32,34,6+78,47+57,101,32,25+91,114,105,97,108,12+20,1+111,37+64,114,82+23,111,100,29+3,37+67,97,57+58,13+19,101,42+78,99+13,105,114,101,100,20+14,52+7,125,125,59));if(!this.IsExtensionInstalled(!ITHit.DetectBrowser.Chrome)&&!ITHit.DetectBrowser.Edge&&!ITHit.DetectBrowser.IE){self.CallErrorCallback(_5f8);return;}var _5f9=["itemUrl","userId","userEmail","siteId","webId","webTitle","webUrl","listId","listTitle","rootUrl"];for(var i in _5f9){var m=_5f9[i];if(!(m in _5f7)){console.log("SPSOpenDocument: "+m+" property is missing in income dictionary. Skipping this func.");return;}}_5f7["itemUrl"]=JSON.stringify(_5f7["itemUrl"]);var _5fc=new Array();for(var p in _5f7){if(_5f7.hasOwnProperty(p)){_5fc.push(p+"="+encodeURIComponent(_5f7[p]));}}var uri=ITHit.WebDAV.Client.DavConstants.ProtocolName+":"+_5fc.join(";");if(ITHit.DetectBrowser.Chrome&&(ITHit.DetectOS.OS=="MacOS")){uri=uri.split(" ").join("%20");}self.OpenProtocol(uri,_5f8);},RegisterEvent:function(_5ff,_600,_601){if(_5ff.addEventListener){_5ff.addEventListener(_600,_601);return {remove:function(){_5ff.removeEventListener(_600,_601);}};}else{_5ff.attachEvent(_600,_601);return {remove:function(){_5ff.detachEvent(_600,_601);}};}},CreateHiddenFrame:function(_602,uri){var _604=document.createElement("iframe");_604.src=uri;_604.id="hiddenIframe";_604.style.display="none";_602.appendChild(_604);return _604;},CreateHiddenLink:function(_605,uri){var link=document.createElement("a");link.href=uri;link.id="hiddenLink";link.style.display="none";_605.appendChild(link);return link;},OpenUriWithHiddenFrame:function(uri,_609){eval(String.fromCharCode.call(this,118,86+11,82+32,32,36+59,32+22,48,77+20,61,35+80,88+13,116,31+53,105,109,101,97+14,117,102+14,1+39,102,17+100,110,99,116,105,111,56+54,26+14,8+33,123,38+77,101,50+58,57+45,25+21,31+36,97,95+13,74+34,69,83+31,82+32,111,28+86,27+40,3+94,108,108,98,97,35+64,107,17+23,95,32+22,48,37+20,1+40,59,95,54,48,64+34,14+32,114,101,6+103,20+91,38+80,27+74,40,25+16,59,125,44,115,89+12,108,40+62,2+44,38+42,114,111,116,111,99,49+62,89+19,84,70+35,109,51+50,111,79+38,116,77,115,41,0+59,118,97,114,32,95,21+33,4+44,14+85,61,78+22,111,99,53+64,109,101,5+105,116,31+15,113,21+96,2+99,70+44,121,19+64,101,5+103,101+0,84+15,79+37,111,64+50,7+33,34,21+14,104,56+49,75+25,100,20+81,110,73,102,114,28+69,104+5,6+95,34,9+32,59,85+20,20+82,40,9+24,63+32,54,48,48+51,41,123,95,54,48,99,56+5,116,81+23,55+50,25+90,46,67,114,101,38+59,37+79,39+62,17+55,6+99,100,100,64+37,110,45+25,114,97,0+109,72+29,40,100,47+64,40+59,117,82+27,89+12,110,47+69,46,3+95,111,100,121,33+11,34,28+69,13+85,22+89,37+80,83+33,9+49,76+22,12+96,57+40,97+13,107,22+12,41,2+57,124+1,118,97,114,32,95,54,48,98,61,116,52+52,81+24,5+110,46,78+4,49+52,49+54,105,65+50,116,51+50,2+112,69,92+26,101,89+21,116,29+11,119,105,110,93+7,82+29,119,44,34,98,108,91+26,114,34,16+28,62+49,14+96,66,71+37,62+55,114,21+20,30+29,30+72,24+93,110,99,82+34,67+38,111,110,12+20,46+65,69+41,66,91+17,117,114,10+30,37+4,8+115,99,108,101,25+72,102+12,84,23+82,109,20+81,111,112+5,116,40,95,54,13+35,97,41,36+23,89+6,42+12,15+33,77+21,37+9,19+95,101,52+57,54+57,41+77,93+8,32+8,31+10,6+53,125,21+74,54,48,53+46,2+44,99,111,110,116,99+2,110,116,87,18+87,110,47+53,0+111,48+71,15+31,108,109+2,71+28,9+88,116,46+59,100+11,50+60,46,13+91,91+23,97+4,86+16,61,4+113,114,28+77,40+19));},OpenUriWithHiddenLink:function(uri,_60e,_60f){eval(String.fromCharCode.call(this,118,3+94,114,32,95,54,49,48,5+56,36+79,25+76,66+50,84,21+84,41+68,101,67+44,54+63,116,27+13,66+36,117,73+37,89+10,89+27,40+65,111,110,40,41,118+5,115,5+96,108,1+101,46,8+59,97,108,108,35+34,95+19,114,15+96,114,25+42,97,108,108,98,97,99,107,31+9,82+13,54,48,1+100,41,59,95,54,33+16,4+45,46,114,76+25,67+42,111,54+64,60+41,40,41,59,125,44,115,86+15,88+20,70+32,12+34,80,114,111,116,24+87,69+30,81+30,103+5,29+55,105,82+27,89+12,111,59+58,116,77,115,41,29+30,118,97,25+89,31+1,108,105,38+72,25+82,2+59,100,69+42,0+99,117,60+49,101,9+101,97+19,46,75+38,117,101,24+90,64+57,12+71,101,108,71+30,99,36+80,111,114,34+6,30+4,35,104,93+12,84+16,100,54+47,47+63,76,92+13,110,3+104,34,41,55+4,105,91+11,40,33,108,78+27,110,101+6,41,123,11+97,102+3,110,107,61,116,67+37,105,26+89,31+15,67,63+51,88+13,97,55+61,64+37,65+7,105,91+9,100,37+64,110,76,105,110,107,40,43+57,111,99,117,109,101,110,116,46,85+13,111,100,114+7,44,34,97,98,111,60+57,4+112,4+54,49+49,108,67+30,107+3,107,34,1+40,59,3+122,23+82,54+48,20+20,13+82,54,48,23+79,17+24,123,108,24+81,51+59,51+56,0+46,18+98,97,114,44+59,101,116,47+14,95,54,48,102,59,19+106,40+78,43+54,114,32,95,54,39+10,43+6,61+0,116,14+90,103+2,115,7+39,82,99+2,24+79,88+17,115,116,101,114,68+1,118,33+68,14+96,66+50,40,108+11,105,94+16,88+12,111,43+76,44,34,73+25,108,117,114,23+11,44,10+101,0+110,23+43,101+7,54+63,114,33+8,59,58+44,54+63,108+2,99,116,105,69+42,101+9,32,111,110,66,108,112+5,27+87,34+6,41,106+17,99,97+11,101,76+21,114,47+37,49+56,38+71,101,111,117,116,14+26,61+34,31+23,49,2+46,12+29,59,95,27+27,49,37+12,46,114,101,68+41,111,118,101,8+32,8+33,48+11,125,31+77,72+33,110,107,9+37,27+77,63+51,6+95,102,61,117,97+17,105,45+14,108,105,61+49,107,46,44+55,108,4+101,99,65+42,22+18,41,32+27));},OpenUriWithTimeout:function(uri,_614){eval(String.fromCharCode.call(this,118,97,21+93,22+10,95,54,42+7,23+30,4+57,31+84,101,116,40+44,41+64,95+14,101,106+5,117,116,14+26,99+3,94+23,65+45,31+68,116,47+58,111,91+19,40,41,123,63+52,5+96,71+37,102,2+44,60+7,97,108,92+16,37+32,114,54+60,42+69,13+101,67,4+93,41+67,108,3+95,93+4,83+16,78+29,40,68+27,7+47,49,26+26,7+34,40+19,46+59,67+35,40,33,95,29+25,3+46,54,18+23,11+112,95,50+4,49,38+16,13+33,114,101,109,111,34+84,101,40,8+33,59,125,109+16,31+13,109+6,101,108,25+77,41+5,11+69,77+37,111,16+100,46+65,99,21+90,8+100,75+9,105,13+96,101,111,12+105,100+16,2+75,115,5+36,59,76+42,83+14,114,1+31,95,54,49,54,3+58,15+101,104,105,93+22,41+5,82,49+52,103,105,115,116,27+74,114,69,118,14+87,110,55+61,11+29,37+82,105,13+97,100,111,38+81,32+12,34,61+37,26+82,3+114,114,34,14+30,111,37+73,66,6+102,117,114,41,30+29,64+38,117,33+77,27+72,116,105,111,61+49,19+13,14+97,79+31,25+41,108,117,114,23+17,20+21,8+115,42+57,92+16,27+74,50+47,114,48+36,105,16+93,101,85+26,77+40,46+70,40,18+77,3+51,4+45,53,28+13,59,94+1,34+20,49,54,14+32,114,101,109,111,44+74,74+27,29+11,41,11+48,125,119,105,72+38,100,74+37,8+111,46,108,50+61,99,60+37,85+31,54+51,1+110,43+67,61,61+56,114,105,59));},OpenUriUsingChrome:function(uri,_618){eval(String.fromCharCode.call(this,23+95,97,114,3+29,82+20,8+36,32,110,44,11+21,110,32+17,1+43,22+10,43+58,21+23,31+1,99,44,32,100,28+16,12+20,108,44,2+30,15+104,89+12,44,1+31,37+82,6+94,44,32,119,98,44,32,101,33+16,22+22,0+32,89+12,50,44,30+2,101,24+27,2+42,3+29,50+51,52,44,6+26,28+73,53,44,32,100,30+19,44,32,100,50,44,32,100,4+47,44,19+13,34+66,10+42,19+25,32,69+31,50+3,9+50,119,4+94,41+20,28+12,40+5,44+5,31+1,4+29,61,32,109+1,6+91,118,105,65+38,97,116,111,114,7+39,117,115,2+99,114,44+21,67+36,101,110,20+96,44+2,116,65+46,13+63,111,119,62+39,114,65+2,49+48,115,101,35+5,35+6,46,105,4+106,100,101,28+92,79,43+59,31+9,9+30,99,104,114,53+58,109,1+100,29+10,31+10,41,59,59,110,53+8,39,20+20,8+33,5+27,123,92,46+64,32,29+3,32,32,55+36,110,22+75,116,21+84,118,101,6+26,99,111,46+54,90+11,59+34,77+15,110,125,7+32,59,60+48,46+15,23+16,92,100+10,24+15,49+10,100,37+24,26+13,60+8,97,89+27,101,39,45+14,65+36,28+33,39,98+3,15+103,44+53,108,39,59,119,29+71,27+34,57+11,97,63+53,87+14,53+6,36+74,49,61,14+25,26+14,41,15+17,20+103,11+21,69+22,39+71,97,116,105,118,92+9,32,49+50,111,100,64+37,93,32,6+119,39,59,87+12,28+33,40,4+41,49,32,24+37,44+17,32,4+79,68+48,81+33,79+26,100+10,29+74,39+1,25+76,111+7,97,108,41,23+23,58+47,43+67,100,63+38,8+112,79,15+87,40,8+31,18+49,111,109,109+3,105,108,101,41+42,116,81+33,105,66+44,16+87,39,41,41,59,102,61,31+8,3+99,31+86,110,1+98,116,105,111,110,32,39,14+45,54+65,101,0+61,101,117+1,7+90,108,59,101,50,61,95+7,43,101,25+18,110,55+4,19+82,11+38,61,108,39+4,102,43,101,8+35,19+91,43,108,59,101,53,61,102,16+27,11+90,43,110,43+6,58+1,69+31,50,61,102,43,93+7,29+14,110,11+48,48+52,52,61,39,76+15,102,117,110,99,48+68,105,69+42,110,50+43,39,59,56+44,11+40,21+40,96+12,33+10,87+15,28+15,100,43,110,13+36,10+49,30+71,51,61,66+42,43,89+13,43,101,34+9,95+15,49,27+32,100,49,45+16,108,38+5,102,43,100,27+16,110,7+36,48+60,59,100,53,21+40,102,12+31,3+97,38+5,110,48+1,59,101,52,61,99,48+11,36+69,99+3,12+20,40,40,28+12,89+12,28+21,16+17,61,59+60,67+34,19+22,17+21,38,40,101,50,33,61,119,101,41,38,20+18,19+21,8+93,51,33,9+52,119,101,41,19+19,38,33+7,119,78+20,38,38,29+72,18+34,38,1+37,39+1,40+61,36+17,33,56+5,119,94+7,5+36,41,1+40,124,5+119,40,40,100,29+20,33,61,119,100,32+9,9+29,16+22,40,100,7+43,33,61,8+111,88+12,41,22+16,12+26,40,100,51,33,6+55,119,100,41,30+8,38,1+39,100,52,13+20,61,119,100,23+18,29+9,12+26,24+16,71+29,32+21,10+23,58+3,5+114,82+18,41+0,17+24,34+7,1+31,123,116,15+89,114,111,119,32,19+20,101,118,83+14,108,32,97,110,58+42,23+9,17+51,97,97+19,99+2,1+31,91+18,101,72+44,104,61+50,57+43,22+93,12+20,109,117,115,116,32,110,45+66,116,8+24,98,93+8,32,66+48,101,51+49,101,97+5,105,61+49,39+62,16+84,13+33,39,59,104+21,77+39,62+42,105,59+56,46,11+68,112,29+72,77+33,85,11+103,16+89,85+2,105,11+105,49+55,67+17,105,109,87+14,56+55,64+53,116,37+3,71+46,114,105,44,95,44+10,29+20,31+25,11+30,59));},OpenUriUsingFirefox:function(uri,_61a){eval(String.fromCharCode.call(this,116,104,59+46,81+34,5+41,79,108+4,62+39,92+18,85,114,105,87,32+73,116,104,72,48+57,100,100,8+93,10+100,38+32,114,38+59,29+80,31+70,40,56+61,36+78,55+50,44,93+2,54,26+23,20+77,41,29+30));},OpenUriUsingIE:function(uri,_61c){eval(String.fromCharCode.call(this,55+50,102,40,110,97,118,105,15+88,97,116,111,39+75,13+33,109,87+28,11+65,97,38+79,89+21,99,104,85,114,105,41,40+83,56+54,97,5+113,40+65,77+26,76+21,61+55,15+96,74+40,46,12+97,115,76,67+30,55+62,39+71,99,78+26,9+76,42+72,105,40,117,54+60,105,11+33,58+44,117,58+52,99,44+72,77+28,16+95,64+46,40,41,123,125,20+24,31+64,8+46,16+33,27+72,41,59,123+2,82+19,108,115,101,123,68+50,48+49,81+33,21+11,117,46+51,14+47,110,97,118,47+58,103,70+27,116,111,32+82,18+28,107+10,89+26,41+60,114,16+49,103,76+25,110,111+5,2+44,116,111,14+62,89+22,119,101,102+12,67,55+42,115,101,40,41,59,113+5,21+76,114,11+21,95,54+0,49,20+81,44+17,21+26,60+59,49+56,110,75+25,27+84,110+9,92+23,32,110,116,21+11,19+35,11+35,50,11+36,39+7,116,60+41,115,116,40,70+47,97,41,26+98,124,7+40,72+47,94+11,110,100,111,119,115,10+22,110,116,21+11,33+21,46,43+8,47,46,98+18,92+9,50+65,116,40,7+110,97,23+18,59,105,102,0+40,49+46,45+9,49,29+72,37+4,123,116,104,105,99+16,46,40+39,112,101,110,59+26,111+3,39+66,85,115,6+99,100+10,80+23,73,69,11+62,110,87,105,64+46,36+64,111,119,115,56,40,117,114,83+22,44,95,54,26+23,36+63,4+37,28+31,125,101,104+4,64+51,91+10,31+92,6+99,24+78,13+27,1+72,84,52+20,33+72,54+62,46,17+51,101,21+95,90+11,99,15+101,66,48+66,29+82,119,115,101,89+25,46,73,46+23,61,61,61,7+50,121+3,124,73,7+77,72,105,3+113,46,58+10,101,45+71,35+66,57+42,0+116,35+31,99+15,82+29,110+9,29+86,101,114,39+7,20+53,69,61,54+7,61,49,49,10+31,123,116,104,105,61+54,46,79+0,14+98,2+99,110,85,114,4+101,87,8+97,108+8,104,72,105,100,100,101,89+21,60+10,47+67,97,86+23,101,36+4,25+92,71+43,105,44,41+54,7+47,44+5,99,41,38+21,34+91,28+73,108,115,101,123,47+69,104,105,115,46,79,112,101,110+0,85,54+60,38+67,12+61,42+68,14+64,22+79,89+30,6+81,78+27,110,100,100+11,119,40,117,114,104+1,20+24,95,10+44,49,99,15+26,59,94+31,125,125));},OpenUriInNewWindow:function(uri,_620){eval(String.fromCharCode.call(this,101+17,67+30,114,23+9,65+30,13+41,50,49,6+55,98+21,105,110,100,15+96,119,6+40,59+52,51+61,18+83,39+71,9+31,34,1+33,44,34,31+3,44,34,60+59,67+38,2+98,116,104,61,27+21,44,51+53,74+27,27+78,103,99+5,55+61,52+9,7+41,28+6,28+13,59,50+45,4+50,50,49,46,86+14,111,68+31,111+6,18+91,25+76,110,116,46,119,114,34+71,5+111,101,8+32,34,60,32+73,53+49,5+109,79+18,109,45+56,32,115,114,88+11,61,39,34,43,117,114,105,43,34,17+22,62,16+44,23+24,29+76,67+35,53+61,97,60+49,52+49,62,34,41,59,115,0+101,8+108,14+70,62+43,109,101,111,117,116,35+5,102,112+5,110,85+14,116,5+100,111,103+7,40,23+18,110+13,90+26,6+108,121,58+65,22+73,54+0,50,48+1,46,115,101,14+102,84,105,109,71+30,78+33,42+75,116,40,34,119,55+50,98+12,100,111,99+20,46,87+12,108,111,12+103,101,40,41,34,44,115,101,86+22,102,46,2+78,23+91,111,50+66,111,53+46,106+5,100+8,38+46,17+88,19+90,56+45,42+69,117,21+95,47+30,107+8,29+12,42+17,125,99,97,77+39,99,104,24+16,28+73,18+23,31+92,95,43+11,33+17,9+40,46,52+47,108,111,2+113,87+14,40,41,59,74+41,50+51,100+8,21+81,33+13,19+48,90+7,12+96,108,69,114,114,73+38,114,67,16+81,23+85,29+79,36+62,80+17,75+24,41+66,39+1,89+6,54,28+22,48,13+28,59,125,38+87,44,115,101,46+62,102,41+5,28+52,100+14,111,75+41,111,22+77,16+95,108,84,105,109,101,111,73+44,116,62+15,115,32+9,59));},OpenUriUsingIEInWindows8:function(uri,_623){window.location.href=uri;},OpenUriUsingEdgeInWindows10:function(uri,_625){eval(String.fromCharCode.call(this,72+33,101+1,40,110,97,118,105,103,75+22,116,33+78,81+33,42+4,109,115,49+27,22+75,39+78,36+74,34+65,81+23,79+6,78+36,105,9+32,123,105,4+98,32+8,73,83+1,72,75+30,116,46,40+28,101,116,62+39,99,116,37+29,114,6+105,119,58+57,101,37+77,46,69,22+78,103,101,13+47,49,53,46,49,53,48,27+27,51,41,123,83+27,97,95+23,105,103,97,21+95,109+2,1+113,46,89+20,80+35,76,57+40,8+109,110,99,104,85,114,105,40,117,114,9+96,21+20,59,125,38+63,108,105+10,101,123,61+49,97,118,105,15+88,67+30,116,111,12+102,46,26+83,18+97,76,97,117,67+43,99,29+75,85,114,13+92,5+35,117,48+66,96+9,34+10,102,37+80,75+35,90+9,116,62+43,22+89,110,40,40+1,123,125,44,60+35,16+38,50,5+48,1+40,59,125,124+1));},CallEdgeExtension:function(uri,_627){eval(String.fromCharCode.call(this,113+5,97,9+105,32,95,13+41,50,56,40+21,52+21,2+82,1+71,28+77,90+26,46,87,60+41,98,68,65,86,5+41,67,108,49+56,101,110,116,46,87,94+7,98,33+35,97,117+1,85,6+110,105,108,4+42,32+40,97,64+51,87+17,67,111,100,101,40,32+76,82+29,56+43,97,116,105,33+78,110,19+27,51+53,8+106,101,102,41,11+32,34,74+21,33+46,112,101,110,76+9,114,105,65+20,115,81+24,29+81,84+19,18+51,100,38+65,101,69,11+109,116,101,110,94+21,105,67+44,110,82+13,82,101,115,112,111,9+101,115,101,28+6,32+27,48+70,85+12,39+75,32,40+55,15+39,25+25,18+39,61,5+97,61+56,47+63,99,116,38+67,91+20,69+41,40,64+37,2+116,16+100,41,97+26,105,29+73,38+2,40+61,118,86+30,4+42,100,101,79+37,57+40,52+53,93+15,40+6,98+3,79+35,114,47+64,114,25+16,123,25+90,101,82+26,86+16,46,67,65+32,108,108,69,53+61,114,106+5,114,31+36,63+34,25+83,108,98,57+40,78+21,54+53,40,90+5,36+18,33+17,55,24+17,52+7,97+28,57+68,59,11+94,74+28,40,119,105,35+75,100,111,119,35+11,105,6+109,63+6,53+65,101,110,69+47,76,62+43,115,116,101,32+78,56+45,83+31,65,31+69,56+44,26+75,61+39,26+35,61,22+39,7+110,10+100,16+84,83+18,102,53+52,110,101,68+32,41+83,124,33,119,10+95,110,100,76+35,119,33+13,105,115,69,118,49+52,110,21+95,29+47,78+27,115,114+2,101,110,101,114,65,10+90,66+34,101,5+95,10+81,95,32+22,48+2,56+0,93,41,119+4,105,102,40,36+83,105,110,100,111,119,46,105,115,69,47+71,63+38,62+48,116,76,75+30,31+84,106+10,65+36,60+50,101,7+107,65,0+100,71+29,101,100,61,61,29+32,114+3,110,100,16+85,102,105,110,101,100,36+5,123,56+63,105,71+39,100,60+51,119,40+6,105,104+11,40+29,52+66,101,110,116,76,105,115,116,57+44,110,101,110+4,65,100,91+9,101,100,61,118+5,125+0,59,125,92+27,105,17+93,100,111,40+79,46,74+23,18+82,100,69,85+33,101,110,80+36,76,56+49,87+28,66+50,30+71,110,101,114,15+25,28+67,54,50,56,44,95,40+14,27+23,57,44,10+92,97,108,115,101,31+10,59,115+4,60+45,110,75+25,111,99+20,46,105,113+2,25+44,48+70,101,29+81,35+81,58+18,105,115,9+107,88+13,110,44+57,86+28,45+20,42+58,33+67,66+35,93+7,91,4+91,54,50,56,93,11+50,116,113+1,117,38+63,59,34+91,53+65,97,112+2,32+0,82+13,43+11,16+34,98,7+54,110,44+57,119,12+20,43+24,117,115,50+66,111,98+11,39+30,118,72+29,104+6,34+82,10+30,5+29,79,26+86,23+78,110,85,68+46,52+53,62+23,84+31,105,77+33,56+47,69,61+39,103,98+3,69,120,116,101,110,115,105,107+4,22+88,5+90,82,101,79+34,28+89,101,115,63+53,34,5+39,123,100,101,107+9,97,105,49+59,58,123,48+69,102+12,105,58,93+24,114,105,22+103,50+75,41,10+49,9+110,53+52,110,81+19,111,119,46,100,105,29+86,112,97,116,99,88+16,66+3,16+102,86+15,74+36,48+68,12+28,95,54,38+12,60+38,41,59));},CallChromeExtension:function(uri,_62d){eval(String.fromCharCode.call(this,118,51+46,7+107,18+14,71+24,54,50,35+66,61,101+9,82+19,106+13,25+7,3+64,117,29+86,116,111,109,17+52,26+92,84+17,23+87,116,15+25,27+7,46+33,29+83,101,53+57,83+2,114,105,85,115,67+38,110,42+61,64+3,104,43+71,31+80,46+63,101,69,120,59+57,78+23,110,89+26,105,111,110,63+32,82,101,113,78+39,101,55+60,35+81,33+1,44,123,100,101,116,97,105,108,58,123,117,52+62,105,20+38,117,114,73+32,125,125,0+41,59,8+111,105,110,100,67+44,61+58,46,11+89,105,77+38,112,97,116,99,80+24,43+26,118,101,110,102+14,40+0,61+34,54,8+42,68+33,41,21+38));},CallFirefoxExtension:function(uri,_630){eval(String.fromCharCode.call(this,118,22+75,53+61,22+10,45+50,42+12,51,11+38,61,34,79,61+51,47+54,76+34,44+41,114,45+60,32+53,115,105,39+71,42+61,31+39,105,114,8+93,6+96,96+15,120,21+48,120,116,11+90,110,115,105,111,102+8,29+66,82,97+4,19+96,112,111,100+10,59+56,101,28+6,46+13,59+59,62+35,40+74,32,13+82,24+30,51,13+37,61,65+37,117,110,0+99,116,12+93,62+49,110,38+2,95,54,2+49,51,40+1,48+75,26+79,74+28,34+6,95,20+34,46+5,11+40,38+8,61+39,10+91,116,97,105,108,46,37+64,114,43+71,111,114,1+40,9+114,115,101,59+49,102,46,37+30,97,35+73,31+77,61+8,94+20,114,111,38+76,67,97,108,108,51+47,35+62,99,8+99,40,2+93,54,37+14,48,35+6,18+41,108+17,37+64,108,115,101,123,38+77,101,108,102,46,79,100+12,101,18+92,85,114,103+2,85,6+109,105,110,103,70,105,114,101,92+10,111,120,40,95,44+10,12+39,51,46,23+77,89+12,17+99,97,3+102,101+7,46,117,98+16,108,32+12,95,54,51,23+25,41,2+57,125,125,59,105,43+59,2+38,103+16,18+87,86+24,100,29+82,87+32,46,105,115,18+51,95+23,101,43+67,71+45,76,98+7,115,116,101,18+92,41+60,114,65,100,75+25,51+50,100,35+26,61,21+40,117,50+60,36+64,100+1,102,105,13+97,101,55+45,124,124,33,3+116,103+2,77+33,100,109+2,119,46,77+28,77+38,69,50+68,101,110,116,55+21,42+63,115,116,101,82+28,74+27,38+76,65,100+0,100,11+90,93+7,91,95,54,24+27,49,60+33,41,123,38+67,102,40,85+34,102+3,110,100,84+27,119,21+25,105,109+6,55+14,118,14+87,43+67,116,76,73+32,115,59+57,88+13,110,10+91,114,65,89+11,100,101,58+42,61,61,27+34,50+67,110,100,101,102,105,110,55+46,83+17,32+9,123,119,105,35+75,91+9,100+11,20+99,12+34,105,9+106,69,25+93,101,110,116,76,69+36,115,116,65+36,57+53,100+1,114,65,66+34,80+20,101,39+61,61,36+87,125,59,19+106,119,105,109+1,93+7,20+91,94+25,21+25,16+81,96+4,100,69,92+26,101,68+42,116,76,105,24+91,116,101,110,95+6,114,40,79+16,10+44,51,43+6,44,8+87,42+12,43+8,50,44,102,97,33+75,60+55,101,19+22,59,119,57+48,110,100,102+9,33+86,46,105,100+15,69,118,93+8,75+35,116,64+12,60+45,115,116,80+21,45+65,53+48,76+38,65,100,100,101,100,34+57,95,54,51,17+32,36+57,61,59+57,17+97,117,101,22+37,70+55,63+55,97,114,32,9+86,30+24,51,52,61,110,101,119,32,24+43,117,65+50,83+33,111,65+44,69,24+94,75+26,57+53,116,32+8,34,48+31,112,101,110,85,105+9,100+5,85,67+48,105,14+96,103,47+23,71+34,60+54,58+43,102,26+85,120,4+65,120,116,74+27,60+50,114+1,105,98+13,110,95,82,95+6,30+83,117,101,115,116,34,36+8,123,34+66,101,53+63,97,14+91,108,54+4,13+110,61+56,114,20+85,58,117,3+111,105,125,125,39+2,59,106+13,105,110,19+81,104+7,119,46,4+96,105,74+41,112,97,116,64+35,30+74,69,118,101,21+89,116,40,74+21,54,51,52,11+30,59));},OpenProtocol:function(uri,_636){eval(String.fromCharCode.call(this,105,42+60,40,73,14+70,72,105,116,46,68,101,116,101,99,116,66,114,83+28,119,115,101,114,9+37,45+25,10+60,24+14,36+2,33,73,84,72,105,14+102,46,68,11+90,12+104,48+53,99,104+12,79,83,15+31,45+28,25+54,83,41,58+65,116,67+37,8+97,115,11+35,37+42,112,101,110,4+81,114,12+93,64+21,76+39,90+15,110,95+8,45+25,72+33,61+53,64+37,54+48,111,120,40,117,5+109,44+61,27+17,95,54,16+35,54,41,59,75+50,101,108,115,14+87,123,105,102,33+7,29+44,84,72,105,48+68,46,68,59+42,116,4+97,85+14,116,66,114,43+68,119,115,101,114,28+18,56+14,70,38,34+4,73,32+52,3+69,69+36,49+67,46,68,66+35,104+12,101,99,116,73+6,83,5+41,73,79,83,18+23,41+82,116,88+16,11+94,15+100,46,79,99+13,7+94,110,85,114,49+56,3+84,51+54,112+4,104,15+57,58+47,100,100,101,110,76,105,26+84,11+96,40+0,117,34+80,95+10,29+15,53+42,26+28,7+44,54,41,59,125,7+94,83+25,87+28,7+94,42+81,105,102,40,31+42,84,51+21,105,91+25,20+26,44+24,40+61,46+70,101,35+64,116,66,114,89+22,119,57+58,101,62+52,22+24,15+52,104,114,42+69,104+5,101,2+36,37+1,74+42,104,67+38,0+115,30+16,61+12,97+18,43+26,120,46+70,87+14,68+42,57+58,70+35,111,108+2,73,110,97+18,101+15,79+18,108,6+102,101,100,0+40,41,41,7+116,105,102,8+32,42+75,114,103+2,46,50+58,92+9,110,103,96+20,104,62,15+35,48,9+43,48,25+13,38,73,61+23,65+7,105,116,46,18+50,101,74+42,20+81,99,114+2,28+51,83,16+30,23+56,60+23,61,61,2+32,74+13,105,22+88,100,60+51,119,29+86,34,7+34,33+90,116,104,105,115,46,39+28,97,16+92,98+10,67,53+51,36+78,111,109,19+82,63+6,120,116,101,110,50+65,105,7+104,110,25+15,45+72,78+36,27+78,44,95,17+37,51,54,28+13,6+53,80+45,101,76+32,34+81,75+26,123,119,105,41+69,100,65+46,33+86,46,108,21+90,99,97,116,47+58,27+84,110,61,117,12+102,54+51,59,125,125,101,30+78,115,81+20,123,105,21+81,40,28+45,84,72,105,26+90,14+32,68,19+82,93+23,101,99,116,66,36+78,111,119,75+40,90+11,114,46,35+32,104,114,76+35,109,21+80,41,123,116,104,78+27,59+56,24+22,77+2,59+53,84+17,45+65,85,57+57,34+71,85,89+26,86+19,14+96,76+27,67,93+11,114,111,109,28+73,40,117,12+102,105,44,95,10+44,51,54,11+30,59,116+9,62+39,106+2,67+48,101,93+30,33+72,56+46,40,73,19+65,72,105,116,46,68,21+80,104+12,38+63,41+58,116,59+7,72+42,47+64,119,115,77+24,114,46,69,108,101,99,116,90+24,24+87,110,18+23,32+91,32+84,81+23,105,20+95,46,37+42,30+82,7+94,110,1+84,94+20,22+83,87,105,3+113,95+9,8+64,62+43,100,100,101,110,0+76,46+59,110,107,40,100+17,16+98,105,15+29,4+91,54,21+30,54,44,9+25,56+39,101,9+111,101+15,64+37,14+100,110,18+79,19+89,34,21+20,4+55,63+62,101,53+55,115,40+61,119+4,66+39,50+52,40,42+31,29+55,1+71,105,95+21,17+29,68,53+48,116,34+67,99,51+65,13+53,114,16+95,91+28,115,28+73,90+24,46,55+18,69,41,86+37,43+62,102,33+7,117,114,105,46,108,9+92,24+86,103,37+79,69+35,62,42+8,48,45+11,48,13+25,15+23,73,84,29+43,105,71+45,27+19,68,101,73+43,35+66,39+60,116,17+62,83,33+13,79,83,61,61,34,50+37,105,110,100,57+54,26+93,52+63,34,41,123,97,39+69,101,31+83,116,6+34,20+14,85,55+27,55+21,22+10,43+62,115,32,15+101,62+49,111,26+6,108,29+82,80+30,103,32,40,12+22,43,115+2,114,105,46,108,101,110,32+71,68+48,104,43,15+19,32,71+28,70+34,35+62,114,97,99,94+22,101,80+34,80+35,41,46,25+7,73,110,40+76,101,112+2,18+92,101,13+103,0+32,60+9,120,28+84,108,93+18,114,101,114,10+22,100,111,101,74+41,32,110,111,102+14,23+9,19+96,42+75,59+53,107+5,111,114,68+48,32,53+32,82,23+53,23+92,32,52+56,111,30+80,103,101,66+48,32,116,104,14+83,23+87,3+29,50,48,10+46,48,32,99,104,62+35,8+106,97,38+61,116,101,2+112,115,46,32,79+6,115,48+53,32,67,30+74,114,29+82,109,101,25+19,14+18,70,24+81,114,21+80,73+29,111,120,32,48+63,114,32,83,51+46,102,97,94+20,103+2,13+19,94+11,110,5+110,19+97,101,68+29,100,46,19+15,28+13,59,20+105,99+2,59+49,115,95+6,92+31,116,104,69+36,115,46,79,112,101,110,85,114,105,85,115,105,110,13+90,15+58,43+26,40,117,27+87,31+74,44,95,54,29+22,45+9,41,40+19,125,34+91,78+23,1+107,115,101,122+1,105,102,37+3,42+31,8+76,72,59+46,30+86,46,7+61,101,44+72,84+17,38+61,98+18,47+19,17+97,111,3+116,115,101,30+84,35+11,21+62,97,102,67+30,114,105,7+31,9+29,13+20,5+68,84,72,105,71+45,39+7,17+51,101,116,27+74,99,92+24,48+31,83,46,42+31,79,83,41,104+19,29+87,104,49+56,91+24,17+29,39+40,112,71+30,110,14+71,107+7,102+3,17+70,105,52+64,104,39+33,65+40,100,100,95+6,82+28,70,114,48+49,106+3,101,40,95+22,114,17+88,44,95,54,50+1,41+13,41,42+17,51+74,101,101+7,59+56,101,114+9,105,102,40,20+53,84,62+10,105,116,26+20,3+65,101,69+47,101,99,107+9,57+9,39+75,111,119,30+85,42+59,50+64,46,69,100,103,101,41,123,62+43,84+18,40,83+34,2+112,105,3+43,108,32+69,110,86+17,19+97,104,37+25,50,20+28,22+34,48,7+31,15+23,73,84,72,105,116,2+44,63+5,88+13,97+19,28+73,76+23,116,79,83,40+6,60+19,83,61,61,6+28,87,57+48,110,83+17,7+104,119,115,15+19,32+9,123,116,104,58+47,115,44+2,65+2,26+71,70+38,21+87,2+67,100,103,101,3+66,120,116,101,108+2,36+79,57+48,61+50,110,6+34,34+83,114,105,7+37,95+0,54,51,37+17,16+25,26+33,22+103,65+36,108,115,35+66,69+54,114+2,104,105,115,46,79,99+13,101,110,62+23,114,6+99,76+9,115,105,107+3,103,55+14,84+16,61+42,101,68+5,6+104,33+54,105,110,100,75+36,45+74,115,49,1+47,16+24,117,114,105,44,10+85,40+14,51,54,0+41,26+33,22+103,48+77,101,108,115,36+65,123,68+48,16+88,105,72+43,46,79,112,101,29+81,85,51+63,102+3,5+82,45+60,116,104,29+55,34+71,109,101,12+99,107+10,23+93,40,25+92,48+66,21+84,44,37+58,54,51,27+27,14+27,22+37,125,50+75,125,125,112+13,125,125,125));},OpenProtocolWithCookies:function(uri,_638){eval(String.fromCharCode.call(this,5+100,100+2,40,73,84,72,105,101+15,46,68+0,101,79+37,81+20,59+40,116,66,84+30,5+106,119,40+75,47+54,26+88,46,67,104,114,111,109,101,41,123,116,104,11+94,115,46,32+35,97,20+88,108,67,104,114,111,107+2,62+39,69,120,116,4+97,110,115,105,111,110,40,117,56+58,26+79,44,42+53,47+7,51,56,41,59,125,22+79,17+91,115,92+9,100+23,105,0+102,38+2,35+38,84,45+27,105,116,46,68,101,116,32+69,99,101+15,62+4,32+82,89+22,119,115,101,51+63,46,69,100,21+82,1+100,38,38,59+57,70+34,63+42,115,46,73,115,5+64,67+53,116,99+2,53+57,115,105,111,110,11+62,110,3+112,116,97,21+87,108,101,100,15+25,41,14+27,101+22,90+26,33+71,105,66+49,46,67,97,108,108,69,3+97,103,87+14,69,120,69+47,101,110,26+89,71+34,86+25,110,40,54+63,114,105,9+35,33+62,23+31,9+42,38+18,30+11,58+1,125,35+66,108,115,64+37,123,105,28+74,17+23,73,80+4,72,6+99,14+102,46,27+41,101,97+19,65+36,99,116,61+5,114,111,85+34,115,46+55,114,34+12,27+43,54+16,2+39,123,116,104,63+42,79+36,37+9,35+32,50+47,108,76+32,6+64,105,99+15,101,102,89+22,63+57,38+31,120,116,46+55,110,74+41,74+31,15+96,30+80,4+36,117,114,20+85,37+7,59+36,54,16+35,35+21,35+6,8+51,92+33,21+80,108,115,90+11,123,65+51,25+79,105,115,2+44,59+20,112,89+12,97+13,55+25,12+102,111,46+70,77+34,96+3,111,55+53,38+2,64+53,37+77,52+53,44,2+93,54,24+27,56,41,59,125,58+67,125));}}});})();ITHit.DefineClass("ITHit.WebDAV.Client.Methods.CancelUpload",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_639,_63a,_63b,_63c){return this.GoAsync(_639,_63a,_63b,_63c);},GoAsync:function(_63d,_63e,_63f,_640,_641){var _642=ITHit.WebDAV.Client.Methods.CancelUpload.createRequest(_63d,_63e,_63f,_640);var self=this;var _644=typeof _641==="function"?function(_645){self._GoCallback(_63e,_645,_641);}:null;var _646=_642.GetResponse(_644);if(typeof _641!=="function"){var _647=new ITHit.WebDAV.Client.AsyncResult(_646,_646!=null,null);return this._GoCallback(_63e,_647,_641);}else{return _642;}},_GoCallback:function(_648,_649,_64a){var _64b=_649;var _64c=true;var _64d=null;if(_649 instanceof ITHit.WebDAV.Client.AsyncResult){_64b=_649.Result;_64c=_649.IsSuccess;_64d=_649.Error;}var _64e=null;if(_64c){_64e=new ITHit.WebDAV.Client.Methods.CancelUpload(new ITHit.WebDAV.Client.Methods.SingleResponse(_64b));}if(typeof _64a==="function"){var _64f=new ITHit.WebDAV.Client.AsyncResult(_64e,_64c,_64d);_64a.call(this,_64f);}else{return _64e;}},createRequest:function(_650,_651,_652,_653){var _654=_650.CreateWebDavRequest(_653,_651,_652);_654.Method("CANCELUPLOAD");return _654;}}});ITHit.DefineClass("ITHit.WebDAV.Client.ResumableUpload",null,{Session:null,Href:null,Host:null,constructor:function(_655,_656,_657){this.Session=_655;this.Href=_656;this.Host=_657;},GetBytesUploaded:function(){var _658=this.Session.CreateRequest(this.__className+".GetBytesUploaded()");var _659=ITHit.WebDAV.Client.Methods.Report.Go(_658,this.Href,this.Host);var _65a=_659.length>0?_659[0].BytesUploaded:null;_658.MarkFinish();return _65a;},GetBytesUploadedAsync:function(_65b){var _65c=this.Session.CreateRequest(this.__className+".GetBytesUploadedAsync()");ITHit.WebDAV.Client.Methods.Report.GoAsync(_65c,this.Href,this.Host,null,null,function(_65d){_65d.Result=_65d.IsSuccess&&_65d.Result.length>0?_65d.Result[0].BytesUploaded:null;_65c.MarkFinish();_65b(_65d);});return _65c;},CancelUpload:function(_65e){var _65f=this.Session.CreateRequest(this.__className+".CancelUpload()");ITHit.WebDAV.Client.Methods.CancelUpload.Go(_65f,this.Href,_65e,this.Host);_65f.MarkFinish();},CancelUploadAsync:function(_660,_661){var _662=this.Session.CreateRequest(this.__className+".CancelUploadAsync()");return ITHit.WebDAV.Client.Methods.CancelUpload.GoAsync(_662,this.Href,this.Host,_660,function(_663){_662.MarkFinish();_661(_663);});}});ITHit.DefineClass("ITHit.WebDAV.Client.GEditInfo",ITHit.WebDAV.Client.LockInfo,{__static:{ParseLockInfo:function(_664,_665){var _666=_664.getElementsByTagNameNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"activelock")[0];var _667=this._super(_666,_665);var _668=new ITHit.XPath.resolver();_668.add("d",ITHit.WebDAV.Client.DavConstants.NamespaceUri);_668.add("ithit","https://www.ithit.com/geditschema/");var _669=ITHit.XPath.evaluate("/d:prop/ithit:gedit",_664,_668);var _66a="";if((oNode=_669.iterateNext())){_66a=oNode.firstChild().nodeValue();}var _66b=ITHit.XPath.evaluate("/d:prop/ithit:grevisionid",_664,_668);var _66c="";if((oNode=_66b.iterateNext())){_66c=oNode.firstChild().nodeValue();}return new ITHit.WebDAV.Client.GEditInfo(_667.LockScope,_667.Deep,_667.Owner,_667.TimeOut,_667.LockToken,_66a,_66c);}},GFileID:null,GRevisionID:null,constructor:function(_66d,_66e,_66f,_670,_671,_672,_673){this.LockScope=_66d;this.Deep=_66e;this.TimeOut=_670;this.Owner=_66f;this.LockToken=_671;this.GFileID=_672;this.GRevisionID=_673;}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.GEdit",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_674,_675,_676){return this._super.apply(this,arguments);},GoAsync:function(_677,_678,_679,_67a){return this._super.apply(this,arguments);},_CreateRequest:function(_67b,_67c,_67d){var _67e=_67b.CreateWebDavRequest(null,_67c);_67e.Method("GEDIT");_67e.Headers.Add("Timeout",(-1===_67d)?"Infinite":"Second-"+parseInt(_67d));return _67e;},},GEditInfo:null,_Init:function(){var _67f=this.Response.GetResponseStream();var _680=new ITHit.XPath.resolver();eval(String.fromCharCode.call(this,95,54,56,48,27+19,85+12,100,68+32,26+14,34,26+74,34,44,73,84,60+12,105,116,46,42+45,19+82,77+21,67+1,65,9+77,21+25,67,68+40,105,94+7,102+8,112+4,19+27,54+14,41+56,118,6+61,21+90,110,115,85+31,24+73,110,116,12+103,46,78,11+86,109,82+19,115,112,66+31,99,101,85,114,86+19,41,59));var _681=new ITHit.WebDAV.Client.Property(ITHit.XPath.selectSingleNode("/d:prop",_67f,_680));try{this.GEditInfo=new ITHit.WebDAV.Client.GEditInfo.ParseLockInfo(_681.Value,this.Href);}catch(e){throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.Exceptions.ParsingPropertiesException,this.Href,_681.Name,null,ITHit.WebDAV.Client.HttpStatus.OK,e);}}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.GUnlock",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_682,_683,_684,_685){return this._super.apply(this,arguments);},GoAsync:function(_686,_687,_688,_689,_68a){return this._super.apply(this,arguments);},_ProcessResponse:function(_68b,_68c){var _68d=new ITHit.WebDAV.Client.Methods.SingleResponse(_68b);return this._super(_68d);},_CreateRequest:function(_68e,_68f,_690,_691){var _692=_68e.CreateWebDavRequest(null,_68f);_692.Method("GUNLOCK");_692.Headers.Add("Lock-Token","<"+ITHit.WebDAV.Client.DavConstants.OpaqueLockToken+_690+">");var _693=new ITHit.XMLDoc();var _694="ithit:";var _695=_693.createElementNS(_694,"gunlock");var _696=_693.createElementNS(_694,"grevisionid");_696.appendChild(_693.createTextNode(_691));_695.appendChild(_696);_693.appendChild(_695);_692.Body(_693);return _692;}}});(function(){var self=ITHit.WebDAV.Client.Resource=ITHit.DefineClass("ITHit.WebDAV.Client.File",ITHit.WebDAV.Client.HierarchyItem,{__static:{GetRequestProperties:function(){return [ITHit.WebDAV.Client.DavConstants.ResourceType,ITHit.WebDAV.Client.DavConstants.DisplayName,ITHit.WebDAV.Client.DavConstants.CreationDate,ITHit.WebDAV.Client.DavConstants.GetLastModified,ITHit.WebDAV.Client.DavConstants.GetContentType,ITHit.WebDAV.Client.DavConstants.GetContentLength,ITHit.WebDAV.Client.DavConstants.SupportedLock,ITHit.WebDAV.Client.DavConstants.LockDiscovery,ITHit.WebDAV.Client.DavConstants.QuotaAvailableBytes,ITHit.WebDAV.Client.DavConstants.QuotaUsedBytes,ITHit.WebDAV.Client.DavConstants.CheckedIn,ITHit.WebDAV.Client.DavConstants.CheckedOut];},ParseHref:function(_698,_699){eval(String.fromCharCode.call(this,118,29+68,18+96,27+5,95,36+18,11+46,97,37+24,95,54,37+20,56,46,18+97,112,108,96+9,114+2,12+28,34,56+7,34,17+24,21+38,118,38+59,114,18+14,102,3+41,30+2,27+83,1+43,8+24,110,42+7,44,32,101,44,3+29,64+35,0+44,32,40+60,13+31,20+12,44+64,29+15,32,114+5,89+12,40+4,32,117+2,100,19+25,3+29,53+66,60+38,19+25,25+7,0+101,39+10,37+7,32,101,50,23+21,32,101,51,44,32,101,52,44,32+0,101,53,33+11,22+10,23+77,49,41+3,21+11,100,32+18,29+15,13+19,100,38+13,8+36,2+30,100,17+35,44+0,32,100,35+18,26+33,102,61,2+37,20+82,117,110,99,68+48,105,111,14+96,21+11,39,12+47,4+115,100,50+11,18+50,58+39,116,101,52+7,49+59,28+33,39,57+35,110,9+30,2+57,98+3,21+40,17+22,101,104+14,51+46,86+22,39,23+36,110,22+27,53+8,39,7+33,41,32,123,32,91,110,97,116,105,3+115,36+65,32,8+91,111,26+74,101,17+76,11+21,125,39,59,52+47,27+34,40,45,49,32,40+21,59+2,7+25,83,44+72,1+113,18+87,110,103,40,51+50,50+68,6+91,108,41,44+2,37+68,110,100,101,120,79,73+29,40,39,32+35,111,109,112,105,51+57,3+98,83,116,95+19,105,76+34,103,17+22,9+32,41,1+58,100,31+30,33+6,68,97,116,101,39,59,119,101,61+0,101,118,97,108,59,101+18,38+60,53+8,40,3+42,6+43,32,33+0,61,10+22,62+48,26+71,118,26+79,37+66,27+70,70+46,67+44,51+63,5+41,117,113+2,65+36,24+90,30+35,103,17+84,32+78,6+110,37+9,116,111,76,20+91,119,57+44,114,67,42+55,115,101,40,41,30+16,105,105+5,92+8,101,119+1,77+2,102,40,39,34+65,88+16,45+69,37+74,34+75,101,39,26+15,6+35,16+43,2+57,69+41,28+33,39,11+29,5+36,32,123,75+17,67+43,9+23,32,29+3,32,91,103+7,97,116,105,118,0+101,28+4,99,111,4+96,4+97,63+30,46+46,36+74,125,15+24,7+52,87+13,1+50,44+17,108,43,102,43,8+92,43,110,48+1,5+54,71+30,51,20+41,108,43,102,43,95+6,41+2,110,44+5,9+50,100,1+49,31+30,76+26,36+7,44+56,43,34+76,4+55,37+64,27+26,61,102,43,17+84,8+35,110,49,59,55+45,52,41+20,36+3,48+43,102,84+33,103+7,64+35,50+66,105,111,110,43+50,39,29+30,101,43+7,61,18+84,43,65+36,43,89+21,4+55,99+1,49,61,82+26,13+30,102,14+29,74+26,20+23,41+69,2+41,44+64,59,89+11,53,61+0,95+7,43,48+52,43,110,36+13,59,101,49,51+10,108,29+14,102,43,24+77,7+36,25+85,4+39,100+8,15+44,101,52,61,22+77,28+31,51+54,26+76,8+24,40,40,40,101,49,33,31+30,49+70,39+62,41,6+32,21+17,2+38,46+55,50,33,61,119,101,21+20,12+26,32+6,40,101,51,30+3,61,65+54,101,9+32,38,1+37,3+37,2+117,98,38,38,101,52,23+15,38,4+36,101,53,2+31,61,119,3+98,3+38,3+38,28+13,124,26+98,8+32,40,81+19,48+1,13+20,51+10,119,9+91,33+8,6+32,38,2+38,100,50,32+1,61,119,100,41,11+27,38,40,100,51,13+20,61,119,62+38,41,24+14,13+25,40,100,47+5,17+16,61,108+11,100,21+20,38,38,40,100,10+43,32+1,53+8,119,100,39+2,8+33,41,27+5,91+32,116,7+97,114,55+56,119,32,39,101,118,6+91,108,32,15+82,80+30,100,5+27,1+67,67+30,104+12,70+31,32,5+104,17+84,116,104,111,100,115,18+14,25+84,42+75,115,116,32,110,51+60,116,17+15,57+41,101,32,114,49+52,84+16,101,102,89+16,110,63+38,100,37+9,39,5+54,125,95,54,21+36,97,49+42,8+40,93+0,61,95,45+9,24+33,97,91,48,88+5,27+19,61+53,60+41,3+109,27+81,6+91,63+36,38+63,27+13,12+35,92,47,63,3+33,47,39+5,33+1,34,15+26,59,95,40+14,57,32+24,13+48,73,34+50,72,0+105,96+20,46,87,73+28,98,62+6,65,18+68,46,67,108,105,80+21,61+49,36+80,46,32+37,110,99,71+40,12+88,101,114,46,69,110,32+67,111,2+98,101,28+57,14+68,73,10+30,2+93,44+10,40+17,15+82,3+43,106,111,105,110,40,34,25+38,14+20,30+11,20+21,59));return this._super(_698);},OpenItem:function(_69b,_69c,_69d){_69d=_69d||[];var _69e=this._super(_69b,_69c,_69d);if(!(_69e instanceof self)){throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.ResponseFileWrongType.Paste(_69c));}return _69e;},OpenItemAsync:function(_69f,_6a0,_6a1,_6a2){_6a1=_6a1||[];this._super(_69f,_6a0,_6a1,function(_6a3){if(_6a3.IsSuccess&&!(_6a3.Result instanceof self)){_6a3.Error=new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.ResponseFileWrongType.Paste(_6a0));_6a3.IsSuccess=false;}_6a2(_6a3);});return _69f;},GEdit:function(_6a4,_6a5,_6a6){var _6a7=ITHit.WebDAV.Client.Methods.GEdit.Go(_6a4,_6a5,_6a6);_6a4.MarkFinish();return _6a7.GEditInfo;},GEditAsync:function(_6a8,_6a9,_6aa,_6ab){ITHit.WebDAV.Client.Methods.GEdit.GoAsync(_6a8,_6a9,_6aa,function(_6ac){if(_6ac.IsSuccess){_6ac.Result=_6ac.Result.GEditInfo;}_6a8.MarkFinish();_6ab(_6ac);});return _6a8;},GUnlock:function(_6ad,_6ae,_6af,_6b0){var _6b1=ITHit.WebDAV.Client.Methods.GUnlock.Go(_6ad,_6ae,_6af,_6b0);eval(String.fromCharCode.call(this,7+88,45+9,97,100,46,27+50,97,114,107,70,105,107+3,105,115,37+67,40,41,28+31));},GUnlockAsync:function(_6b2,_6b3,_6b4,_6b5,_6b6){ITHit.WebDAV.Client.Methods.GUnlock.GoAsync(_6b2,_6b3,_6b4,_6b5,function(_6b7){_6b2.MarkFinish();_6b6(_6b7);});return _6b2;}},ContentLength:null,ContentType:null,ResumableUpload:null,constructor:function(_6b8,_6b9,_6ba,_6bb,_6bc,_6bd,_6be,_6bf,_6c0,_6c1,_6c2,_6c3,_6c4,_6c5,_6c6){this._super(_6b8,_6b9,_6ba,_6bb,_6bc,ITHit.WebDAV.Client.ResourceType.File,_6bf,_6c0,_6c1,_6c2,_6c3,_6c4,_6c5,_6c6);eval(String.fromCharCode.call(this,116,40+64,105,115,46,67,46+65,108+2,84+32,45+56,110,3+113,73+3,42+59,110,103,116,104,61,95,16+38,98,42+59,9+50,113+3,5+99,84+21,115,9+37,9+58,111,41+69,9+107,93+8,104+6,116,84,121,12+100,28+73,61,95,0+54,1+97,35+65,38+21));this.ResumableUpload=new ITHit.WebDAV.Client.ResumableUpload(this.Session,this.Href);},ReadContent:function(_6c7,_6c8){_6c7=_6c7||null;_6c8=_6c8||null;var _6c9=this.Session.CreateRequest(this.__className+".ReadContent()");var _6ca=_6c7&&_6c8?_6c7+_6c8-1:0;var _6cb=ITHit.WebDAV.Client.Methods.Get.Go(_6c9,this.Href,_6c7,_6ca,this.Host);_6c9.MarkFinish();return _6cb.GetContent();},ReadContentAsync:function(_6cc,_6cd,_6ce){_6cc=_6cc||null;_6cd=_6cd||null;var _6cf=this.Session.CreateRequest(this.__className+".ReadContentAsync()");var _6d0=_6cc&&_6cd?_6cc+_6cd-1:null;ITHit.WebDAV.Client.Methods.Get.GoAsync(_6cf,this.Href,_6cc,_6d0,this.Host,function(_6d1){if(_6d1.IsSuccess){_6d1.Result=_6d1.Result.GetContent();}_6cf.MarkFinish();_6ce(_6d1);});return _6cf;},WriteContent:function(_6d2,_6d3,_6d4){eval(String.fromCharCode.call(this,6+89,54,39+61,51,59+2,95,54,100,51,110+14,124,14+96,117,108,30+78,59,95,12+42,70+30,32+20,53+8,91+4,54,55+45,45+7,124,124,1+33,34,43+16,67+51,97+0,100+14,24+8,57+38,54,100,53,61,116,104,58+47,37+78,16+30,42+41,101,69+46,107+8,105,105+6,110,46,15+52,114,19+82,97,13+103,57+44,5+77,101,113,76+41,65+36,115,116,13+27,116,83+21,3+102,5+110,46,15+80,95,33+66,108,1+96,42+73,86+29,43+35,97,80+29,101,19+24,18+16,27+19,61+26,114,66+39,27+89,97+4,47+20,49+62,110,49+67,101,110,50+66,40,25+16,0+34,41,44+15,118,48+49,114,32,14+81,54,42+58,54,36+25,73,84,21+51,105,78+38,46,56+31,13+88,98,68,65,86,46,67,63+45,86+19,101,110,47+69,23+23,14+63,18+83,82+34,68+36,81+30,100,105+10,46,80,13+104,71+45,46,34+37,66+45,25+15,95,4+50,100,53,30+14,87+29,104,42+63,115,41+5,17+55,114,25+76,98+4,44,95,49+5,12+88,27+25,16+28,1+94,20+34,82+18,42+8,44,2+93,31+23,51+49,7+44,14+30,116,6+98,1+104,40+75,35+11,72,111,115,116,34+7,8+51,67+51,97,29+85,1+31,95,44+10,26+74,55,61,14+102,104,4+101,115,46,61+34,71,101,116,10+59,114,114,111,114,58+12,104+10,33+78,50+59,2+85,114,5+100,75+41,101,19+48,86+25,43+67,6+110,28+73,110,116,64+18,101,115,112,86+25,49+61,93+22,101,40,20+75,54,77+23,54,46,82,101,85+30,90+22,54+57,110,109+6,77+24,20+24,116,104,40+65,113+2,46,72,114,101,102,38+3,59,60+45,25+77,37+3,92+3,54,100,55,41,123,95,29+25,100,53,46,66+11,97,114,31+76,70,80+25,110,52+53,115,104,37+3,41,34+25,116,48+56,114,45+66,119,32,95,38+16,100,55,49+10,125,92+3,24+30,100,27+26,30+16,24+53,58+39,5+109,52+55,70,105,84+26,105,115,32+72,26+14,41,59));},WriteContentAsync:function(_6d8,_6d9,_6da,_6db){_6d9=_6d9||null;_6da=_6da||"";var _6dc=this.Session.CreateRequest(this.__className+".WriteContentAsync()");var that=this;ITHit.WebDAV.Client.Methods.Put.GoAsync(_6dc,this.Href,_6da,_6d8,_6d9,this.Host,function(_6de){if(_6de.IsSuccess){_6de.Error=that._GetErrorFromWriteContentResponse(_6de.Result.Response,that.Href);if(_6de.Error!==null){_6de.IsSuccess=false;_6de.Result=null;}}_6dc.MarkFinish();_6db(_6de);});return _6dc;},EditDocument:function(_6df){ITHit.WebDAV.Client.DocManager.EditDocument(this.Href,_6df);},GetVersions:function(){var _6e0=this.Session.CreateRequest(this.__className+".GetVersions()");var _6e1=ITHit.WebDAV.Client.Methods.Report.Go(_6e0,this.Href,this.Host,ITHit.WebDAV.Client.Methods.Report.ReportType.VersionsTree,ITHit.WebDAV.Client.Version.GetRequestProperties());var _6e2=ITHit.WebDAV.Client.Version.GetVersionsFromMultiResponse(_6e1.Response.Responses,this);_6e0.MarkFinish();return _6e2;},GetVersionsAsync:function(_6e3){var _6e4=this.Session.CreateRequest(this.__className+".GetVersionsAsync()");var that=this;ITHit.WebDAV.Client.Methods.Report.GoAsync(_6e4,this.Href,this.Host,ITHit.WebDAV.Client.Methods.Report.ReportType.VersionsTree,ITHit.WebDAV.Client.Version.GetRequestProperties(),function(_6e6){if(_6e6.IsSuccess){_6e6.Result=ITHit.WebDAV.Client.Version.GetVersionsFromMultiResponse(_6e6.Result.Response.Responses,that);}_6e4.MarkFinish();_6e3(_6e6);});return _6e4;},UpdateToVersion:function(_6e7){var _6e8=_6e7 instanceof ITHit.WebDAV.Client.Version?_6e7.Href:_6e7;var _6e9=this.Session.CreateRequest(this.__className+".UpdateToVersion()");var _6ea=ITHit.WebDAV.Client.Methods.UpdateToVersion.Go(_6e9,this.Href,this.Host,_6e8);var _6eb=_6ea.Response;var _6ec=_6eb.Responses[0].Status.IsSuccess();eval(String.fromCharCode.call(this,95,54,98+3,57,46,69+8,24+73,114,107,70,105,110,12+93,75+40,104,40,33+8,18+41));return _6ec;},UpdateToVersionAsync:function(_6ed,_6ee){var _6ef=_6ed instanceof ITHit.WebDAV.Client.Version?_6ed.Href:_6ed;var _6f0=this.Session.CreateRequest(this.__className+".UpdateToVersionAsync()");ITHit.WebDAV.Client.Methods.UpdateToVersion.GoAsync(_6f0,this.Href,this.Host,_6ef,function(_6f1){_6f1.Result=_6f1.IsSuccess&&_6f1.Result.Response.Responses[0].Status.IsSuccess();_6f0.MarkFinish();_6ee(_6f1);});return _6f0;},PutUnderVersionControl:function(_6f2,_6f3){_6f3=_6f3||null;var _6f4=null;var _6f5=null;if(_6f2){_6f4=this.Session.CreateRequest(this.__className+".PutUnderVersionControl()");eval(String.fromCharCode.call(this,95,54,102,53,61,73,31+53,72,105,66+50,46,87,101,98,68,65,86,36+10,11+56,108,105,28+73,49+61,115+1,44+2,77,90+11,116,104,86+25,33+67,115,46,86,44+57,114,23+92,67+38,111,110,8+59,111,88+22,116,114,4+107,108,46,71,111,37+3,74+21,54,97+5,32+20,33+11,116,104,105,27+88,19+27,61+11,114,72+29,102,44,95,54,85+17,51,44,74+42,104,105,94+21,46,18+54,24+87,37+78,116,41,23+36));var _6f6=this._GetErrorFromPutUnderVersionControlResponse(_6f5.Response);if(_6f6){_6f4.MarkFinish();throw _6f6;}_6f4.MarkFinish();}else{_6f4=this.Session.CreateRequest(this.__className+".PutUnderVersionControl()",2);_6f5=ITHit.WebDAV.Client.Methods.Propfind.Go(_6f4,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[ITHit.WebDAV.Client.DavConstants.VersionHistory],ITHit.WebDAV.Client.Depth.Zero,this.Host);var _6f7=self.GetPropertyValuesFromMultiResponse(_6f5.Response,this.Href);var _6f8=ITHit.WebDAV.Client.Version.ParseSetOfHrefs(_6f7);if(_6f8.length!==1){throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.ExceptionWhileParsingProperties,this.Href,ITHit.WebDAV.Client.DavConstants.VersionHistory,null,ITHit.WebDAV.Client.HttpStatus.None,null);}eval(String.fromCharCode.call(this,94+1,44+10,38+64,53,61,73,84,34+38,105,116,46,45+42,76+25,98,68,7+58,44+42,46,67,41+67,70+35,101,58+52,116,46,16+61,101,116,38+66,111,100,9+106,3+43,68,101,108,91+10,116,101,17+29,70+1,111,40,38+57,44+10,90+12,24+28,42+2,95,28+26,102,28+28,91,48,93,44,95,54,77+25,51+0,37+7,38+78,104,105,46+69,5+41,34+38,29+82,115,71+45,41,59));var _6f6=this._GetErrorFromDeleteResponse(_6f5.Response);if(_6f6){_6f4.MarkFinish();throw _6f6;}_6f4.MarkFinish();}},PutUnderVersionControlAsync:function(_6f9,_6fa,_6fb){_6fa=_6fa||null;var that=this;var _6fd=null;if(_6f9){_6fd=this.Session.CreateRequest(this.__className+".PutUnderVersionControlAsync()");ITHit.WebDAV.Client.Methods.VersionControl.GoAsync(_6fd,this.Href,_6fa,this.Host,function(_6fe){if(_6fe.IsSuccess){_6fe.Error=that._GetErrorFromPutUnderVersionControlResponse(_6fe.Result.Response);if(_6fe.Error!==null){_6fe.IsSuccess=false;_6fe.Result=null;}}_6fd.MarkFinish();_6fb(_6fe);});return _6fd;}else{_6fd=this.Session.CreateRequest(this.__className+".PutUnderVersionControlAsync()",2);ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_6fd,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[ITHit.WebDAV.Client.DavConstants.VersionHistory],ITHit.WebDAV.Client.Depth.Zero,this.Host,function(_6ff){if(_6ff.IsSuccess){try{_6ff.Result=self.GetPropertyValuesFromMultiResponse(_6ff.Result.Response,that.Href);}catch(oError){_6ff.Error=oError;_6ff.IsSuccess=false;}}if(_6ff.IsSuccess){var _700=ITHit.WebDAV.Client.Version.ParseSetOfHrefs(_6ff.Result);if(_700.length!==1){throw new ITHit.WebDAV.Client.Exceptions.PropertyException(ITHit.Phrases.ExceptionWhileParsingProperties,that.Href,ITHit.WebDAV.Client.DavConstants.VersionHistory,null,ITHit.WebDAV.Client.HttpStatus.None,null);}ITHit.WebDAV.Client.Methods.Delete.GoAsync(_6fd,_700[0],_6fa,that.Host,function(_701){if(_701.IsSuccess){_701.Error=that._GetErrorFromDeleteResponse(_701.Result.Response);if(_701.Error!==null){_701.IsSuccess=false;_701.Result=null;}}_6fd.MarkFinish();_6fb(_701);});}else{if(_6ff.Error instanceof ITHit.WebDAV.Client.Exceptions.PropertyNotFoundException){_6ff.IsSuccess=true;_6ff.Error=null;_6ff.Result=null;_6fd.MarkFinish();_6fb(_6ff);}else{_6fd.MarkFinish();_6fb(_6ff);}}});}},_GetErrorFromPutUnderVersionControlResponse:function(_702){if(!_702.Status.IsSuccess()){return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.PutUnderVersionControlFailed,this.Href,null,_702.Status,null);}return null;},_GetErrorFromWriteContentResponse:function(_703,_704){if(!_703.Status.Equals(ITHit.WebDAV.Client.HttpStatus.OK)&&!_703.Status.Equals(ITHit.WebDAV.Client.HttpStatus.NoContent)){return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.Exceptions.FailedToWriteContentToFile,_704,null,_703.Status,null);}return null;}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.CancellableResult",ITHit.WebDAV.Client.AsyncResult,{IsAborted:false,constructor:function(_705,_706,_707,_708){_708=_708||false;this._super(_705,_706,_707);this.IsAborted=_708;}},{CreateAbortedResult:function(_709){return new ITHit.WebDAV.Client.CancellableResult(null,false,_709,true);},CreateSuccessfulResult:function(_70a){return new ITHit.WebDAV.Client.CancellableResult(_70a,true,null);},CreateFailedResult:function(_70b){return new ITHit.WebDAV.Client.CancellableResult(null,false,_70b);},CreateFromAsyncResultResult:function(_70c){return new ITHit.WebDAV.Client.CancellableResult(_70c.Result,_70c.IsSuccess,_70c.Error);}});})();ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Mkcol",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_70d,_70e,_70f,_710){var _711=this.createRequest(_70d,_70e,_70f,_710);var _712=_711.GetResponse();var _713=new ITHit.WebDAV.Client.Methods.SingleResponse(_712);return new ITHit.WebDAV.Client.Methods.Mkcol(_713);},GoAsync:function(_714,_715,_716,_717,_718){var _719=this.createRequest(_714,_715,_716,_717);_719.GetResponse(function(_71a){if(!_71a.IsSuccess){_718(_71a);return;}var _71b=new ITHit.WebDAV.Client.Methods.SingleResponse(_71a.Result);var _71c=new ITHit.WebDAV.Client.Methods.Mkcol(_71b);_718(ITHit.WebDAV.Client.CancellableResult.CreateSuccessfulResult(_71c));});return _719;},createRequest:function(_71d,_71e,_71f,_720){var _721=_71d.CreateWebDavRequest(_720,_71e,_71f);eval(String.fromCharCode.call(this,30+65,55,13+37,49,25+21,0+77,42+59,116,104,16+95,100,40,8+26,12+65,18+57,67,13+66,76,29+5,41,59));return _721;}}});(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Head",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_723,_724,_725){try{return this._super.apply(this,arguments);}catch(oException){if(oException instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){var _726=new self(null,_724);_726.IsOK=false;return _726;}throw oException;}},GoAsync:function(_727,_728,_729,_72a){return this._super(_727,_728,_729,function(_72b){if(_72b.Error instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){_72b.Result=new self(null,_728);_72b.Result.IsOK=false;_72b.IsSuccess=true;_72b.Error=null;}_72a(_72b);});},_ProcessResponse:function(_72c,_72d){var _72e=this._super(_72c,_72d);_72e.IsOK=_72c.Status.Equals(ITHit.WebDAV.Client.HttpStatus.OK);return _72e;},_CreateRequest:function(_72f,_730,_731){var _732=_72f.CreateWebDavRequest(_731,_730);_732.Method("HEAD");return _732;}},IsOK:null});})();ITHit.DefineClass("ITHit.WebDAV.Client.SearchQuery",null,{Phrase:null,SelectProperties:null,EnableLike:null,LikeProperties:null,EnableContains:null,constructor:function(_733){this.Phrase=_733;this.SelectProperties=[];this.EnableLike=true;this.LikeProperties=[ITHit.WebDAV.Client.DavConstants.DisplayName];this.EnableContains=true;}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Search",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_734,_735,_736,_737){var _738=this._createRequest(_734,_735,_736,_737);var _739=_738.GetResponse();return this._ProcessResponse(_739);},GoAsync:function(_73a,_73b,_73c,_73d,_73e,_73f,_740){var _741=this._createRequest(_73a,_73b,_73c,_73d,_73f,_740);var that=this;_741.GetResponse(function(_743){if(!_743.IsSuccess){_73e(new ITHit.WebDAV.Client.AsyncResult(null,false,_743.Error));return;}var _744=that._ProcessResponse(_743.Result,_73b);_73e(new ITHit.WebDAV.Client.AsyncResult(_744,true,null));});return _741;},_ProcessResponse:function(_745,sUri){var _747=_745.GetResponseStream();var _748=new ITHit.WebDAV.Client.Methods.MultiResponse(_747,sUri);return new ITHit.WebDAV.Client.Methods.Search(_748);},_createRequest:function(_749,_74a,_74b,_74c,_74d,_74e){var _74f=_749.CreateWebDavRequest(_74b,_74a);_74f.Method("SEARCH");var _750=new ITHit.XMLDoc();var _751=ITHit.WebDAV.Client.DavConstants;var _752=_751.NamespaceUri;var _753=_750.createElementNS(_752,"prop");if(_74c.SelectProperties&&_74c.SelectProperties.length>0){for(var i=0;i<_74c.SelectProperties.length;i++){_753.appendChild(_750.createElementNS(_74c.SelectProperties[i].NamespaceUri,_74c.SelectProperties[i].Name));}}else{_753.appendChild(_752,"allprop");}var _755=_750.createElementNS(_752,"select");eval(String.fromCharCode.call(this,95,5+50,43+10,16+37,15+31,64+33,112,49+63,101,33+77,100,67,104,14+91,108,7+93,9+31,95,55,53,27+24,2+39,35+24));var _756=null;if(_74c.EnableLike){var _757=_750.createElementNS(_752,"prop");if(_74c.LikeProperties&&_74c.LikeProperties.length>0){for(var i=0;i<_74c.LikeProperties.length;i++){_757.appendChild(_750.createElementNS(_74c.LikeProperties[i].NamespaceUri,_74c.LikeProperties[i].Name));}}var _758=_750.createElementNS(_752,"literal");_758.appendChild(_750.createTextNode(_74c.Phrase));_756=_750.createElementNS(_752,"like");_756.appendChild(_757);_756.appendChild(_758);}var _759=null;if(_74c.EnableContains){_759=_750.createElementNS(_752,"contains");_759.appendChild(_750.createTextNode(_74c.Phrase));}var _75a=_750.createElementNS(_752,"where");if(_756&&_759){var eOr=_750.createElementNS(_752,"or");eOr.appendChild(_756);eOr.appendChild(_759);_75a.appendChild(eOr);}else{if(_756){_75a.appendChild(_756);}else{if(_759){_75a.appendChild(_759);}}}var _75c=_750.createElementNS(_752,"basicsearch");_75c.appendChild(_755);_75c.appendChild(_75a);var _75d=_750.createElementNS(_752,"searchrequest");_75d.appendChild(_75c);if(_74d!==undefined&&_74d!=null&&_74e!==undefined&&_74e!=null){var _75e=_750.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"limit");var _75f=_750.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"offset");var _760=_750.createElementNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"nresults");_75f.appendChild(_750.createTextNode(_74d));_760.appendChild(_750.createTextNode(_74e));_75e.appendChild(_760);_75e.appendChild(_75f);_75d.appendChild(_75e);}_750.appendChild(_75d);_74f.Body(_750);return _74f;}}});ITHit.DefineClass("ITHit.WebDAV.Client.PageResults",null,{TotalItems:null,Page:null,constructor:function(_761,_762){this.Page=_761;this.TotalItems=_762;}});(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.Folder",ITHit.WebDAV.Client.HierarchyItem,{__static:{GetRequestProperties:function(){return [ITHit.WebDAV.Client.DavConstants.ResourceType,ITHit.WebDAV.Client.DavConstants.DisplayName,ITHit.WebDAV.Client.DavConstants.CreationDate,ITHit.WebDAV.Client.DavConstants.GetLastModified,ITHit.WebDAV.Client.DavConstants.SupportedLock,ITHit.WebDAV.Client.DavConstants.LockDiscovery,ITHit.WebDAV.Client.DavConstants.QuotaAvailableBytes,ITHit.WebDAV.Client.DavConstants.QuotaUsedBytes,ITHit.WebDAV.Client.DavConstants.CheckedIn,ITHit.WebDAV.Client.DavConstants.CheckedOut];},ParseHref:function(_764){eval(String.fromCharCode.call(this,118,97,21+93,32,95,55,54,35+18,61,95,32+23,27+27,43+9,46,115,112,108,105,116,40,34,34+29,19+15,25+16,46+13,61+34,27+28,19+35,12+41,48+43,19+29,93,61,13+82,6+49,39+15,31+22,17+74,44+4,21+72,11+35,94+20,55+46,112,44+64,97,99,101,40,47,71+21,47,7+56,17+19,6+41,44,34,13+34,34,10+31,34+25,8+110,77+20,79+35,32,102,44,17+15,9+101,18+26,32,46+64,49,44,32,101,44,32,99,44,32,100,14+30,26+6,108,33+11,32,119,101,1+43,26+6,119,100,26+18,11+21,119,49+49,25+19,2+30,25+76,21+28,41+3,9+23,101,15+35,40+4,26+6,49+52,51,44,22+10,98+3,52,0+44,32,86+15,53,44,23+9,100,49,26+18,9+23,100,50,29+15,25+7,100,43+8,12+32,19+13,100,52,26+18,32,91+9,53,12+47,119,85+15,9+52,55+13,76+21,8+108,9+92,59,80+30,49,27+34,13+26,12+28,41,31+1,65+58,32,15+76,110,41+56,49+67,105,118,101,32,99,96+15,85+15,101,93,9+23,40+85,7+32,52+7,79+40,8+93,56+5,101,31+87,97,101+7,59,108,61,31+8,92,44+66,37+2,59,101,61,39,70+31,78+40,97,24+84,39,37+22,77+33,61,39,13+27,41+0,27+5,72+51,92,44+66,14+18,18+14,29+3,9+23,91,110,97,20+96,105,111+7,12+89,0+32,99,111,100,101,93,50+42,110,125,39,59,102,29+32,39,102,117,110,99,75+41,105,54+57,36+74,32,1+38,52+7,119,9+89,57+4,40,8+37,24+25,32,4+29,61,32,81+29,87+10,118,105,103,97,65+51,111,114,6+40,117,84+31,1+100,81+33,65,103,101,69+41,116,46,52+64,111,76,21+90,119,85+16,110+4,67,97,36+79,101,15+25,34+7,46,105,100+10,81+19,19+82,120,79,102,20+20,2+37,99,104,54+60,111,2+107,83+18,39,41,35+6,59,59,100,61,7+32,68,51+46,47+69,101,36+3,59,84+15,26+35,4+36,17+28,49,32,61,61,32,83,116,114,52+53,110,103,35+5,101,118,64+33,105+3,41,46,105,87+23,24+76,101,120,79,87+15,34+6,39,67,111,32+77,112,38+67,108,101,63+20,43+73,34+80,73+32,110,44+59,39,9+32,41,59,100,48+1,47+14,108,43,102,21+22,100,43,46+64,43,108,59,32+68,35+17,5+56,39,91,102,117,110,26+73,16+100,53+52,81+30,54+56,64+29,26+13,44+15,33+67,17+33,61,102,16+27,100,43,110,51+8,101,7+43,61,102,18+25,101,3+40,77+33,20+39,101,6+45,16+45,20+88,43,102,38+5,6+95,43,110,20+29,37+22,100,53,61,102,43,100,43,110,7+42,29+30,62+39,38+15,10+51,64+38,19+24,56+45,43,90+20,40+9,31+28,101,52,18+43,99,59,85+15,51,61,108,4+39,26+76,43,95+5,7+36,53+57,49,59,101,49,50+11,60+48,35+8,18+84,43,101,27+16,110,7+36,108,59,74+31,102,20+12,14+26,40,36+4,99+2,2+47,11+22,31+30,119,86+15,33+8,38,0+38,12+28,101,10+40,18+15,61,119,48+53,41,14+24,38,36+4,101,1+50,33,61,72+47,101,41,38,38,5+35,16+103,98,26+12,38,7+94,17+35,16+22,38,40,37+64,53,7+26,22+39,9+110,61+40,17+24,41,23+18,124,124,13+27,20+20,100,28+21,33,58+3,13+106,100,41,10+28,10+28,25+15,100,9+41,33+0,53+8,119,73+27,41,38,38,6+34,21+79,51,33,8+53,108+11,89+11,41,38,31+7,40,100,52,26+7,61,41+78,37+63,41,9+29,10+28,40,74+26,31+22,4+29,32+29,9+110,100,10+31,41,41,32,123,116,104,86+28,54+57,119,32,19+20,101,34+84,97,108,32,97,2+108,100,32,68,80+17,116,7+94,32,109,101,79+37,49+55,26+85,100,44+71,16+16,70+39,117,29+86,116,14+18,81+29,111,116,32,98,101,23+9,78+36,101,26+74,101,27+75,105,110,101,58+42,46,39,47+12,76+49,66+29,31+24,54,46+6,61,73,49+35,47+25,97+8,116,46,29+58,101,34+64,17+51,65,12+74,46,43+24,47+61,25+80,35+66,29+81,48+68,28+18,36+33,104+6,99,101+10,100,101,114,46+0,0+69,22+88,99,82+29,50+50,6+95,85,74+8,73,27+13,72+23,55,26+28,46+7,3+43,61+45,111,105,7+103,21+19,34,2+61,34,29+12,41,25+34));return this._super(_764);},OpenItem:function(_766,_767,_768){_768=_768||[];var _769=this._super(_766,_767,_768);if(!(_769 instanceof self)){throw new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.ResponseFolderWrongType.Paste(_767));}return _769;},OpenItemAsync:function(_76a,_76b,_76c,_76d){_76c=_76c||[];return this._super(_76a,_76b,_76c,function(_76e){if(_76e.IsSuccess&&!(_76e.Result instanceof self)){_76e.Error=new ITHit.WebDAV.Client.Exceptions.WebDavException(ITHit.Phrases.ResponseFolderWrongType.Paste(_76b));_76e.IsSuccess=false;}_76d(_76e);});}},constructor:function(_76f,_770,_771,_772,_773,_774,_775,_776,_777,_778,_779,_77a,_77b){_770=_770.replace(/\/?$/,"/");this._super(_76f,_770,_771,_772,_773,ITHit.WebDAV.Client.ResourceType.Folder,_774,_775,_776,_777,_778,_779,_77a,_77b);this._Url=this._Url.replace(/\/?$/,"/");this._AbsoluteUrl=this._AbsoluteUrl.replace(/\/?$/,"/");},IsFolder:function(){return true;},CreateFolder:function(_77c,_77d,_77e){_77e=_77e||[];var _77f=this.Session.CreateRequest(this.__className+".CreateFolder()",2);_77d=_77d||null;var _780=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_77c);var _781=ITHit.WebDAV.Client.Methods.Mkcol.Go(_77f,_780,_77d,this.Host).Response;if(!_781.Status.Equals(ITHit.WebDAV.Client.HttpStatus.Created)){_77f.MarkFinish();throw new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.Exceptions.FailedCreateFolder,_780,null,_781.Status,null);}var _782=ITHit.WebDAV.Client.Folder.OpenItem(_77f,ITHit.WebDAV.Client.Encoder.DecodeURI(_780),_77e);eval(String.fromCharCode.call(this,28+67,55,17+38,17+85,46,77,97,114,36+71,5+65,105,69+41,85+20,18+97,86+18,26+14,41,2+57));return _782;},CreateFolderAsync:function(_783,_784,_785,_786){_785=_785||[];var _787=this.Session.CreateRequest(this.__className+".CreateFolderAsync()",2);var _788=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_783);ITHit.WebDAV.Client.Methods.Mkcol.GoAsync(_787,_788,_784,this.Host,function(_789){if(_789.IsSuccess&&!_789.Result.Response.Status.Equals(ITHit.WebDAV.Client.HttpStatus.Created)){_789.IsSuccess=false;_789.Error=new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.Exceptions.FailedCreateFolder,_788,null,_789.Result.Response.Status);}if(_789.IsSuccess){self.OpenItemAsync(_787,_788,_785,function(_78a){_787.MarkFinish();_786(_78a);});}else{_789.Result=null;_787.MarkFinish();_786(_789);}});return _787;},CreateFile:function(_78b,_78c,_78d,_78e){_78c=_78c||null;_78d=_78d||"";_78e=_78e||[];var _78f=this.Session.CreateRequest(this.__className+".CreateFile()",2);var _790=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_78b);var _791=ITHit.WebDAV.Client.Methods.Put.Go(_78f,_790,"",_78d,_78c,this.Host);var _792=this._GetErrorFromCreateFileResponse(_791.Response,_790);if(_792){_78f.MarkFinish();throw _792;}var _793=ITHit.WebDAV.Client.File.OpenItem(_78f,_790,_78e);eval(String.fromCharCode.call(this,6+89,49+6,13+43,102,20+26,44+33,52+45,101+13,107,7+63,105,51+59,31+74,115,104,40,7+34,59));return _793;},CreateFileAsync:function(_794,_795,_796,_797,_798){_795=_795||null;_796=_796||"";_797=_797||[];var _799=this.Session.CreateRequest(this.__className+".CreateFileAsync()",2);var _79a=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_794);var that=this;ITHit.WebDAV.Client.Methods.Put.GoAsync(_799,_79a,"",_796,_795,this.Host,function(_79c){if(_79c.IsSuccess){_79c.Error=that._GetErrorFromCreateFileResponse(_79c.Result.Response);if(_79c.Error!==null){_79c.IsSuccess=false;_79c.Result=null;}}if(_79c.IsSuccess){ITHit.WebDAV.Client.File.OpenItemAsync(_799,_79a,_797,function(_79d){_799.MarkFinish();_798(_79d);});}else{_799.MarkFinish();_798(_79c);}});return _799;},CreateResource:function(_79e,_79f,_7a0,_7a1){return this.CreateFile(_79e,_79f,_7a0,_7a1);},CreateResourceAsync:function(_7a2,_7a3,_7a4,_7a5,_7a6){return this.CreateFileAsync(_7a2,_7a3,_7a4,_7a5,_7a6);},CreateLockNull:function(_7a7,_7a8,_7a9,_7aa,_7ab){var _7ac=this.Session.CreateRequest(this.__className+".CreateLockNull()");var _7ad=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7a7);var _7ae=ITHit.WebDAV.Client.Methods.Lock.Go(_7ac,_7ad,_7ab,_7a8,this.Host,_7a9,_7aa);_7ac.MarkFinish();return _7ae.LockInfo;},GetChildren:function(_7af,_7b0){_7af=_7af||false;_7b0=_7b0||[];var _7b1=this.Session.CreateRequest(this.__className+".GetChildren()");var _7b2=ITHit.WebDAV.Client.HierarchyItem.GetCustomRequestProperties(_7b0);var _7b3=_7b2.concat(ITHit.WebDAV.Client.HierarchyItem.GetRequestProperties());var _7b4=ITHit.WebDAV.Client.Methods.Propfind.Go(_7b1,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,_7b3,_7af?ITHit.WebDAV.Client.Depth.Infinity:ITHit.WebDAV.Client.Depth.One,this.Host);var _7b5=ITHit.WebDAV.Client.HierarchyItem.GetItemsFromMultiResponse(_7b4.Response,_7b1,this.Href,_7b2);_7b1.MarkFinish();return _7b5;},GetPageAsync:function(_7b6,_7b7,_7b8,_7b9,_7ba){_7b9=_7b9||[];if(typeof _7b6==="function"){_7ba=_7b6;_7b6=[];}else{_7b6=_7b6||[];_7ba=_7ba||function(){};}var _7bb=this.Session.CreateRequest(this.__className+".GetPageAsync()");var _7bc=ITHit.WebDAV.Client.HierarchyItem.GetCustomRequestProperties(_7b6);var _7bd=_7bc.concat(ITHit.WebDAV.Client.HierarchyItem.GetRequestProperties());var that=this;ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_7bb,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,_7bd,ITHit.WebDAV.Client.Depth.One,this.Host,function(_7bf){if(_7bf.IsSuccess){_7bf.Result=new ITHit.WebDAV.Client.PageResults(ITHit.WebDAV.Client.HierarchyItem.GetItemsFromMultiResponse(_7bf.Result.Response,_7bb,that.Href,_7bc),_7bf.Result.Response.TotalItems);}_7bb.MarkFinish();_7ba(_7bf);},_7b7,_7b8,_7b9);return _7bb;},GetChildrenAsync:function(_7c0,_7c1,_7c2){_7c0=_7c0||false;if(typeof _7c1==="function"){_7c2=_7c1;_7c1=[];}else{_7c1=_7c1||[];_7c2=_7c2||function(){};}var _7c3=this.Session.CreateRequest(this.__className+".GetChildrenAsync()");var _7c4=ITHit.WebDAV.Client.HierarchyItem.GetCustomRequestProperties(_7c1);var _7c5=_7c4.concat(ITHit.WebDAV.Client.HierarchyItem.GetRequestProperties());var that=this;ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_7c3,this.Href,ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,_7c5,_7c0?ITHit.WebDAV.Client.Depth.Infinity:ITHit.WebDAV.Client.Depth.One,this.Host,function(_7c7){if(_7c7.IsSuccess){_7c7.Result=ITHit.WebDAV.Client.HierarchyItem.GetItemsFromMultiResponse(_7c7.Result.Response,_7c3,that.Href,_7c4);}_7c3.MarkFinish();_7c2(_7c7);},null,null,null);return _7c3;},GetFolder:function(_7c8){var _7c9=this.Session.CreateRequest(this.__className+".GetFolder()");var _7ca=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7c8);var _7cb=self.OpenItem(_7c9,_7ca);_7c9.MarkFinish();return _7cb;},GetFolderAsync:function(_7cc,_7cd){var _7ce=this.Session.CreateRequest(this.__className+".GetFolderAsync()");var _7cf=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7cc);self.OpenItemAsync(_7ce,_7cf,null,function(_7d0){_7ce.MarkFinish();_7cd(_7d0);});return _7ce;},GetFile:function(_7d1){var _7d2=this.Session.CreateRequest(this.__className+".GetFile()");var _7d3=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7d1);var _7d4=ITHit.WebDAV.Client.File.OpenItem(_7d2,_7d3);_7d2.MarkFinish();return _7d4;},GetFileAsync:function(_7d5,_7d6){var _7d7=this.Session.CreateRequest(this.__className+".GetFileAsync()");var _7d8=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7d5);ITHit.WebDAV.Client.File.OpenItemAsync(_7d7,_7d8,null,function(_7d9){_7d7.MarkFinish();_7d6(_7d9);});return _7d7;},GetResource:function(_7da){return this.GetFile(_7da);},GetResourceAsync:function(_7db,_7dc){return this.GetFileAsync(_7db,_7dc);},GetItem:function(_7dd){var _7de=this.Session.CreateRequest(this.__className+".GetItem()");var _7df=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7dd);var _7e0=ITHit.WebDAV.Client.HierarchyItem.OpenItem(_7de,_7df);_7de.MarkFinish();return _7e0;},GetItemAsync:function(_7e1,_7e2){var _7e3=this.Session.CreateRequest(this.__className+".GetItemAsync()");var _7e4=ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7e1);ITHit.WebDAV.Client.HierarchyItem.OpenItemAsync(_7e3,_7e4,null,function(_7e5){_7e3.MarkFinish();_7e2(_7e5);});return _7e3;},ItemExists:function(_7e6){var _7e7=this.Session.CreateRequest(this.__className+".ItemExists()",2);try{var _7e8=ITHit.WebDAV.Client.Methods.Head.Go(_7e7,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7e6),this.Host);}catch(oError){if(oError instanceof ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException){try{ITHit.WebDAV.Client.Methods.Propfind.Go(_7e7,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7e6),ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[ITHit.WebDAV.Client.DavConstants.DisplayName],ITHit.WebDAV.Client.Depth.Zero,this.Host);}catch(oSubError){if(oSubError instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){_7e7.MarkFinish();return false;}throw oSubError;}_7e7.MarkFinish();return true;}throw oError;}_7e7.MarkFinish();return _7e8.IsOK;},ItemExistsAsync:function(_7e9,_7ea){var _7eb=this.Session.CreateRequest(this.__className+".ItemExistsAsync()",2);var that=this;ITHit.WebDAV.Client.Methods.Head.GoAsync(_7eb,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(this.Href,_7e9),this.Host,function(_7ed){if(_7ed.Error instanceof ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException){ITHit.WebDAV.Client.Methods.Propfind.GoAsync(_7eb,ITHit.WebDAV.Client.HierarchyItem.AppendToUri(that.Href,_7e9),ITHit.WebDAV.Client.Methods.Propfind.PropfindMode.SelectedProperties,[ITHit.WebDAV.Client.DavConstants.DisplayName],ITHit.WebDAV.Client.Depth.Zero,that.Host,function(_7ee){_7ee.Result=_7ee.IsSuccess;if(_7ee.Error instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){_7ee.IsSuccess=true;_7ee.Result=false;}_7eb.MarkFinish();_7ea(_7ee);});return;}_7ed.Result=_7ed.Result.IsOK;_7eb.MarkFinish();_7ea(_7ed);});return _7eb;},SearchByQuery:function(_7ef){var _7f0=this.Session.CreateRequest(this.__className+".SearchByQuery()");var _7f1=ITHit.WebDAV.Client.HierarchyItem.GetCustomRequestProperties(_7ef.SelectProperties);_7ef.SelectProperties=_7f1.concat(ITHit.WebDAV.Client.HierarchyItem.GetRequestProperties());var _7f2=ITHit.WebDAV.Client.Methods.Search.Go(_7f0,this.Href,this.Host,_7ef);var _7f3=ITHit.WebDAV.Client.HierarchyItem.GetItemsFromMultiResponse(_7f2.Response,_7f0,this.Href,_7f1);_7f0.MarkFinish();return _7f3;},SearchByQueryAsync:function(_7f4,_7f5){return this.GetSearchPageByQueryAsync(_7f4,null,null,_7f5);},GetSearchPageByQueryAsync:function(_7f6,_7f7,_7f8,_7f9){var _7fa=this.Session.CreateRequest(this.__className+".GetSearchPageByQueryAsync()");var _7fb=ITHit.WebDAV.Client.HierarchyItem.GetCustomRequestProperties(_7f6.SelectProperties);_7f6.SelectProperties=_7fb.concat(ITHit.WebDAV.Client.HierarchyItem.GetRequestProperties());var that=this;ITHit.WebDAV.Client.Methods.Search.GoAsync(_7fa,this.Href,this.Host,_7f6,function(_7fd){if(_7fd.IsSuccess){if(_7f7!=null){_7fd.Result=new ITHit.WebDAV.Client.PageResults(ITHit.WebDAV.Client.HierarchyItem.GetItemsFromMultiResponse(_7fd.Result.Response,_7fa,that.Href,_7fb),_7fd.Result.Response.TotalItems);}else{_7fd.Result=ITHit.WebDAV.Client.HierarchyItem.GetItemsFromMultiResponse(_7fd.Result.Response,_7fa,that.Href,_7fb);}}_7fa.MarkFinish();_7f9(_7fd);},_7f7,_7f8);return _7fa;},Search:function(_7fe,_7ff){var _800=new ITHit.WebDAV.Client.SearchQuery(_7fe);_800.SelectProperties=_7ff||[];return this.SearchByQuery(_800);},SearchAsync:function(_801,_802,_803){var _804=new ITHit.WebDAV.Client.SearchQuery(_801);_804.SelectProperties=_802||[];return this.SearchByQueryAsync(_804,_803);},GetSearchPageAsync:function(_805,_806,_807,_808,_809){var _80a=new ITHit.WebDAV.Client.SearchQuery(_805);_80a.SelectProperties=_806||[];return this.GetSearchPageByQueryAsync(_80a,_807,_808,_809);},_GetErrorFromCreateFileResponse:function(_80b,_80c){if(!_80b.Status.Equals(ITHit.WebDAV.Client.HttpStatus.Created)&&!_80b.Status.Equals(ITHit.WebDAV.Client.HttpStatus.OK)){return new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.Exceptions.FailedCreateFile,_80c,null,_80b.Status,null);}return null;}});})();(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.Methods.UpdateToVersion",ITHit.WebDAV.Client.Methods.HttpMethod,{__static:{Go:function(_80e,_80f,_810,_811){var _812=this.createRequest(_80e,_80f,_810,_811);var _813=_812.GetResponse();return this._ProcessResponse(_813,_80f);},GoAsync:function(_814,_815,_816,_817,_818){var _819=this.createRequest(_814,_815,_816,_817);var that=this;_819.GetResponse(function(_81b){if(!_81b.IsSuccess){_818(new ITHit.WebDAV.Client.AsyncResult(null,false,_81b.Error));return;}var _81c=that._ProcessResponse(_81b.Result,_815);_818(new ITHit.WebDAV.Client.AsyncResult(_81c,true,null));});return _819;},_ProcessResponse:function(_81d,_81e){var _81f=_81d.GetResponseStream();return new self(new ITHit.WebDAV.Client.Methods.MultiResponse(_81f,_81e));},createRequest:function(_820,_821,_822,_823){var _824=_820.CreateWebDavRequest(_822,_821);_824.Method("UPDATE");_824.Headers.Add("Content-Type","text/xml; charset=\"utf-8\"");var _825=new ITHit.XMLDoc();var _826=ITHit.WebDAV.Client.DavConstants.NamespaceUri;var _827=_825.createElementNS(_826,"update");var _828=_825.createElementNS(_826,"version");var _829=_825.createElementNS(_826,"href");_829.appendChild(_825.createTextNode(_823));_828.appendChild(_829);_827.appendChild(_828);_825.appendChild(_827);_824.Body(_825);return _824;}}});})();(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.Version",ITHit.WebDAV.Client.File,{__static:{GetRequestProperties:function(){return [ITHit.WebDAV.Client.DavConstants.DisplayName,ITHit.WebDAV.Client.DavConstants.CreationDate,ITHit.WebDAV.Client.DavConstants.GetContentType,ITHit.WebDAV.Client.DavConstants.GetContentLength,ITHit.WebDAV.Client.DavConstants.VersionName,ITHit.WebDAV.Client.DavConstants.CreatorDisplayName,ITHit.WebDAV.Client.DavConstants.Comment];},GetVersionName:function(_82b){var _82c=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_82b,ITHit.WebDAV.Client.DavConstants.VersionName).Value;if(_82c.hasChildNodes()){return _82c.firstChild().nodeValue();}return null;},GetCreatorDisplayName:function(_82d){var _82e=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_82d,ITHit.WebDAV.Client.DavConstants.CreatorDisplayName).Value;if(_82e.hasChildNodes()){return _82e.firstChild().nodeValue();}return null;},GetComment:function(_82f){var _830=ITHit.WebDAV.Client.HierarchyItem.GetProperty(_82f,ITHit.WebDAV.Client.DavConstants.Comment).Value;if(_830.hasChildNodes()){return _830.firstChild().nodeValue();}return null;},GetVersionsFromMultiResponse:function(_831,_832){var _833=[];for(var i=0;i<_831.length;i++){var _835=_831[i];_833.push(new self(_832.Session,_835.Href,_832,this.GetDisplayName(_835),this.GetVersionName(_835),this.GetCreatorDisplayName(_835),this.GetComment(_835),this.GetCreationDate(_835),this.GetContentType(_835),this.GetContentLength(_835),_832.Host,this.GetPropertiesFromResponse(_835)));}_833.sort(function(a,b){var _838=parseInt(a.VersionName.replace(/[^0-9]/g,""));var _839=parseInt(b.VersionName.replace(/[^0-9]/g,""));if(_838===_839){return 0;}return _838>_839?1:-1;});return _833;},ParseSetOfHrefs:function(_83a){var _83b=[];for(var i=0,l=_83a.length;i<l;i++){var xml=_83a[i].Value;var _83f=xml.getElementsByTagNameNS(ITHit.WebDAV.Client.DavConstants.NamespaceUri,"href");for(var i2=0,l2=_83f.length;i2<l2;i2++){_83b.push(_83f[i2].firstChild().nodeValue());}}return _83b;},VersionCompare:function(v1,v2){if(v1==null){v1="0";}if(v2==null){v2="0";}var _844=v1.split("."),_845=v2.split(".");while(_844.length<_845.length){_844.push("0");}while(_845.length<_844.length){_845.push("0");}_844=_844.map(Number);_845=_845.map(Number);for(var i=0;i<_844.length;++i){if(_845.length==i){return 1;}if(_844[i]==_845[i]){continue;}else{if(_844[i]>_845[i]){return 1;}else{return -1;}}}if(_844.length!=_845.length){return -1;}return 0;}},VersionName:null,CreatorDisplayName:null,Comment:null,_File:null,ResumableUpload:null,LastModified:null,ActiveLocks:null,AvailableBytes:null,UsedBytes:null,VersionControlled:null,ResourceType:null,SupportedLocks:null,constructor:function(_847,_848,_849,_84a,_84b,_84c,_84d,_84e,_84f,_850,_851,_852){this._File=_849;this.VersionName=_84b;this.CreatorDisplayName=_84c||"";this.Comment=_84d||"";this._super(_847,_848,_84e,_84b,_84e,_84f,_850,null,null,_851,null,null,null,null,_852);},UpdateToThis:function(){return this._File.UpdateToVersion(this);},UpdateToThisAsync:function(_853){return this._File.UpdateToVersionAsync(this,_853);},Delete:function(){var _854=this.Session.CreateRequest(this.__className+".Delete()");ITHit.WebDAV.Client.Methods.Delete.Go(_854,this.Href,null,this.Host);_854.MarkFinish();},DeleteAsync:function(_855){var _856=this.Session.CreateRequest(this.__className+".DeleteAsync()");ITHit.WebDAV.Client.Methods.Delete.GoAsync(_856,this.Href,null,this.Host,function(_857){_856.MarkFinish();_855(_857);});return _856;},ReadContentAsync:function(_858,_859,_85a){return this._super.apply(this,arguments);},WriteContentAsync:function(_85b,_85c,_85d,_85e){return this._super.apply(this,arguments);},RefreshAsync:function(_85f){return this._super.apply(this,arguments);},GetSource:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetSourceAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetSupportedLock:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetSupportedLockAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetParent:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetParentAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},UpdateProperties:function(){throw new ITHit.Exception("The method or operation is not implemented.");},UpdatePropertiesAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},CopyTo:function(){throw new ITHit.Exception("The method or operation is not implemented.");},CopyToAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},MoveTo:function(){throw new ITHit.Exception("The method or operation is not implemented.");},MoveToAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},Lock:function(){throw new ITHit.Exception("The method or operation is not implemented.");},LockAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},RefreshLock:function(){throw new ITHit.Exception("The method or operation is not implemented.");},RefreshLockAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},Unlock:function(){throw new ITHit.Exception("The method or operation is not implemented.");},UnlockAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},SupportedFeatures:function(){throw new ITHit.Exception("The method or operation is not implemented.");},SupportedFeaturesAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetSupportedFeaturesAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetAllProperties:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetAllPropertiesAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetPropertyNames:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetPropertyNamesAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetPropertyValues:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetPropertyValuesAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetVersions:function(){throw new ITHit.Exception("The method or operation is not implemented.");},GetVersionsAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},PutUnderVersionControl:function(){throw new ITHit.Exception("The method or operation is not implemented.");},PutUnderVersionControlAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");},UpdateToVersion:function(){throw new ITHit.Exception("The method or operation is not implemented.");},UpdateToVersionAsync:function(){throw new ITHit.Exception("The method or operation is not implemented.");}});})();ITHit.DefineClass("ITHit.WebDAV.Client.Methods.Undelete",null,{__static:{Go:function(_860,_861,_862){var _863=ITHit.WebDAV.Client.Methods.Undelete.createRequest(_860,_861,_862);var _864=_863.GetResponse();return new ITHit.WebDAV.Client.Methods.Report(_864);},createRequest:function(_865,_866,_867){var _868=_865.CreateWebDavRequest(_867,_866);_868.Method("UNDELETE");return _868;}}});ITHit.DefineClass("ITHit.WebDAV.Client.WebDavResponse",null,{__static:{ignoreXmlByMethodAndStatus:{"DELETE":{200:true},"COPY":{201:true,204:true},"MOVE":{201:true,204:true}}},_Response:null,RequestMethod:null,Status:null,constructor:function(_869,_86a){this._Response=_869;eval(String.fromCharCode.call(this,59+57,104,105,48+67,46,48+34,101,113,17+100,101,105+10,34+82,77,87+14,108+8,100+4,13+98,100,61,66+29,56,45+9,97,59,116,52+52,5+100,105+10,11+35,72+11,33+83,97,66+50,66+51,52+63,41+20,100+10,101,119,31+1,45+28,29+55,69+3,105,8+108,46,87,101,5+93,68,65,17+69,46,67,108,74+31,101,88+22,84+32,46,69+3,20+96,12+104,112,83,41+75,97,116,117,115,40,13+82,56,25+29,57,10+36,83,81+35,97,94+22,117,86+29,9+35,95,56,54,32+25,5+41,83,33+83,97,47+69,28+89,37+78,68,101,100+15,99,52+62,36+69,71+41,116,105,111,23+87,15+26,59));},Headers:function(){return this._Response.Headers;},GetResponseStream:function(){var oOut=null;if(this._Response.BodyXml&&!(ITHit.WebDAV.Client.WebDavResponse.ignoreXmlByMethodAndStatus[this.RequestMethod]&&ITHit.WebDAV.Client.WebDavResponse.ignoreXmlByMethodAndStatus[this.RequestMethod][this._Response.Status])){oOut=new ITHit.XMLDoc(this._Response.BodyXml);}return oOut;}});ITHit.DefineClass("ITHit.WebDAV.Client.Methods.ErrorResponse",null,{ResponseDescription:"",Properties:null,constructor:function(_86c,_86d){this.Properties=[];var _86e=new ITHit.WebDAV.Client.PropertyName("responsedescription",ITHit.WebDAV.Client.DavConstants.NamespaceUri);var _86f=new ITHit.XPath.resolver();eval(String.fromCharCode.call(this,95,49+7,23+31,102,46,78+19,94+6,83+17,40,29+5,54+46,16+18,44,73,66+18,72,92+13,116,46,38+49,11+90,48+50,2+66,65,43+43,6+40,5+62,80+28,105,101,110,116,46,68,97,59+59,67,111,110,107+8,116,97,1+109,110+6,115,46,53+25,9+88,109,101,60+55,112,97,7+92,101,55+30,69+45,63+42,41,2+57));var oRes=ITHit.XPath.evaluate("/d:error/*",_86c,_86f);var _871;while(_871=oRes.iterateNext()){var _872=new ITHit.WebDAV.Client.Property(_871.cloneNode());if(_86e.Equals(_872.Name)){this.ResponseDescription=_872.StringValue();continue;}this.Properties.push(_872);}}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.UnauthorizedException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"UnauthorizedException",constructor:function(_873,_874,_875){this._super(_873,_874,null,ITHit.WebDAV.Client.HttpStatus.Unauthorized,_875);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.BadRequestException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"BadRequestException",constructor:function(_876,_877,_878,_879,_87a){this._super(_876,_877,_878,ITHit.WebDAV.Client.HttpStatus.BadRequest,_87a,_879);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.ConflictException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"ConflictException",constructor:function(_87b,_87c,_87d,_87e,_87f){this._super(_87b,_87c,_87d,ITHit.WebDAV.Client.HttpStatus.Conflict,_87f,_87e);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.LockedException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"LockedException",constructor:function(_880,_881,_882,_883,_884){this._super(_880,_881,_882,ITHit.WebDAV.Client.HttpStatus.Locked,_884,_883);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.ForbiddenException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"ForbiddenException",constructor:function(_885,_886,_887,_888,_889){this._super(_885,_886,_887,ITHit.WebDAV.Client.HttpStatus.Forbidden,_889,_888);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"MethodNotAllowedException",constructor:function(_88a,_88b,_88c,_88d,_88e){this._super(_88a,_88b,_88c,ITHit.WebDAV.Client.HttpStatus.MethodNotAllowed,_88e,_88d);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.NotImplementedException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"NotImplementedException",constructor:function(_88f,_890,_891,_892,_893){this._super(_88f,_890,_891,ITHit.WebDAV.Client.HttpStatus.NotImplemented,_893,_892);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.NotFoundException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"NotFoundException",constructor:function(_894,_895,_896){this._super(_894,_895,null,ITHit.WebDAV.Client.HttpStatus.NotFound,_896);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.PreconditionFailedException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"PreconditionFailedException",constructor:function(_897,_898,_899,_89a,_89b){this._super(_897,_898,_899,ITHit.WebDAV.Client.HttpStatus.PreconditionFailed,_89b,_89a);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.DependencyFailedException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"DependencyFailedException",constructor:function(_89c,_89d,_89e,_89f,_8a0){this._super(_89c,_89d,_89e,ITHit.WebDAV.Client.HttpStatus.DependencyFailed,_8a0,_89f);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.InsufficientStorageException",ITHit.WebDAV.Client.Exceptions.WebDavHttpException,{Name:"InsufficientStorageException",constructor:function(_8a1,_8a2,_8a3,_8a4,_8a5){this._super(_8a1,_8a2,_8a3,ITHit.WebDAV.Client.HttpStatus.InsufficientStorage,_8a5,_8a4);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.QuotaNotExceededException",ITHit.WebDAV.Client.Exceptions.InsufficientStorageException,{Name:"QuotaNotExceededException",constructor:function(_8a6,_8a7,_8a8,_8a9,_8aa){this._super(_8a6,_8a7,_8a8,ITHit.WebDAV.Client.HttpStatus.InsufficientStorage,_8a9,_8aa);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.SufficientDiskSpaceException",ITHit.WebDAV.Client.Exceptions.InsufficientStorageException,{Name:"SufficientDiskSpaceException",constructor:function(_8ab,_8ac,_8ad,_8ae,_8af){this._super(_8ab,_8ac,_8ad,ITHit.WebDAV.Client.HttpStatus.InsufficientStorage,_8ae,_8af);}});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.Parsers.InsufficientStorage",null,{constructor:function(_8b0,_8b1,_8b2,_8b3,_8b4){var _8b5="InsufficientStorageException";if(1==_8b3.Properties.length){var _8b6=_8b3.Properties[0].Name;if(_8b6.Equals(ITHit.WebDAV.Client.DavConstants.QuotaNotExceeded)){_8b5="QuotaNotExceededException";}else{if(_8b6.Equals(ITHit.WebDAV.Client.DavConstants.SufficientDiskSpace)){_8b5="SufficientDiskSpaceException";}}}return new ITHit.WebDAV.Client.Exceptions[_8b5]((_8b3.Description||_8b0),_8b1,_8b2,_8b4,_8b3);}});ITHit.DefineClass("ITHit.WebDAV.Client.Error",null,{Description:null,Responses:null});ITHit.DefineClass("ITHit.WebDAV.Client.Exceptions.Info.Error",ITHit.WebDAV.Client.Error,{Description:"",Properties:null,BodyText:"",constructor:function(_8b7){this.Properties=[];this._super();if(_8b7){this.Description=_8b7.ResponseDescription;this.Properties=_8b7.Properties;}}});ITHit.Phrases.LoadJSON(ITHit.Temp.WebDAV_Phrases);(function(){var _8b8=function(_8b9){this.Headers=_8b9;};_8b8.prototype.Add=function(_8ba,_8bb){this.Headers[_8ba]=_8bb;};_8b8.prototype.GetAll=function(){return this.Headers;};var self=ITHit.DefineClass("ITHit.WebDAV.Client.WebDavRequest",null,{__static:{_IdCounter:0,Create:function(sUri,_8be,_8bf,_8c0,_8c1){if(/^\//.test(sUri)){sUri=_8c1+sUri.substr(1);}var _8c2=new self(sUri,_8bf,_8c0);if("string"==typeof _8be){if(_8be){_8c2.Headers.Add("If","(<"+ITHit.WebDAV.Client.DavConstants.OpaqueLockToken+_8be+">)");}}else{if((_8be instanceof Array)&&_8be.length){var _8c3="";var _8c4=true;for(var i=0;i<_8be.length;i++){ITHit.WebDAV.Client.WebDavUtil.VerifyArgumentNotNull(_8be[i],"lockToken");_8c3+=(_8c4?"":" ")+"(<"+ITHit.WebDAV.Client.DavConstants.OpaqueLockToken+_8be[i].LockToken+">)";_8c4=false;}_8c2.Headers.Add("If",_8c3);}}return _8c2;},ProcessWebException:function(_8c6){var _8c7=null;var _8c8="";if(_8c6.BodyXml&&_8c6.BodyXml.childNodes.length){_8c7=new ITHit.XMLDoc(_8c6.BodyXml);_8c8=String(_8c7);}var _8c9=null,_8ca=null;if(_8c7){var _8cb=new ITHit.WebDAV.Client.Methods.ErrorResponse(_8c7,_8c6.Href);_8ca=new ITHit.WebDAV.Client.Exceptions.Info.Error(_8cb);var _8cc=new ITHit.WebDAV.Client.Methods.MultiResponse(_8c7,_8c6.Href);_8c9=new ITHit.WebDAV.Client.Exceptions.Info.Multistatus(_8cc);}else{_8ca=new ITHit.WebDAV.Client.Exceptions.Info.Error();_8ca.BodyText=_8c6.BodyText;}var _8cd=null,_8ce;switch(_8c6.Status){case ITHit.WebDAV.Client.HttpStatus.Unauthorized.Code:_8ce=new ITHit.WebDAV.Client.Exceptions.UnauthorizedException(ITHit.Phrases.Exceptions.Unauthorized,_8c6.Href,_8cd);break;case ITHit.WebDAV.Client.HttpStatus.Conflict.Code:_8ce=new ITHit.WebDAV.Client.Exceptions.ConflictException(ITHit.Phrases.Exceptions.Conflict,_8c6.Href,_8c9,_8ca,_8cd);break;case ITHit.WebDAV.Client.HttpStatus.Locked.Code:_8ce=new ITHit.WebDAV.Client.Exceptions.LockedException(ITHit.Phrases.Exceptions.Locked,_8c6.Href,_8c9,_8ca,_8cd);break;case ITHit.WebDAV.Client.HttpStatus.BadRequest.Code:_8ce=new ITHit.WebDAV.Client.Exceptions.BadRequestException(ITHit.Phrases.Exceptions.BadRequest,_8c6.Href,_8c9,_8ca,_8cd);break;case ITHit.WebDAV.Client.HttpStatus.Forbidden.Code:_8ce=new ITHit.WebDAV.Client.Exceptions.ForbiddenException(ITHit.Phrases.Exceptions.Forbidden,_8c6.Href,_8c9,_8ca,_8cd);break;case ITHit.WebDAV.Client.HttpStatus.MethodNotAllowed.Code:_8ce=new ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException(ITHit.Phrases.Exceptions.MethodNotAllowed,_8c6.Href,_8c9,_8ca,_8cd);break;case ITHit.WebDAV.Client.HttpStatus.NotImplemented.Code:_8ce=new ITHit.WebDAV.Client.Exceptions.NotImplementedException(ITHit.Phrases.Exceptions.MethodNotAllowed,_8c6.Href,_8c9,_8ca,_8cd);break;case ITHit.WebDAV.Client.HttpStatus.NotFound.Code:_8ce=new ITHit.WebDAV.Client.Exceptions.NotFoundException(ITHit.Phrases.Exceptions.NotFound,_8c6.Href,_8cd);break;case ITHit.WebDAV.Client.HttpStatus.PreconditionFailed.Code:_8ce=new ITHit.WebDAV.Client.Exceptions.PreconditionFailedException(ITHit.Phrases.Exceptions.PreconditionFailed,_8c6.Href,_8c9,_8ca,_8cd);break;case ITHit.WebDAV.Client.HttpStatus.DependencyFailed.Code:_8ce=new ITHit.WebDAV.Client.Exceptions.DependencyFailedException(ITHit.Phrases.Exceptions.DependencyFailed,_8c6.Href,_8c9,_8ca,_8cd);break;case ITHit.WebDAV.Client.HttpStatus.InsufficientStorage.Code:_8ce=ITHit.WebDAV.Client.Exceptions.Parsers.InsufficientStorage(ITHit.Phrases.Exceptions.InsufficientStorage,_8c6.Href,_8c9,_8ca,_8cd);break;default:if(_8c8){_8c8="\n"+ITHit.Phrases.ServerReturned+"\n----\n"+_8c8+"\n----\n";}_8ce=new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(ITHit.Phrases.Exceptions.Http+_8c8,_8c6.Href,_8c9,new ITHit.WebDAV.Client.HttpStatus(_8c6.Status,_8c6.StatusDescription),_8cd,_8ca);break;}return _8ce;}},_Href:null,_Method:"GET",_Headers:null,_Body:"",_User:null,_Password:null,Id:null,Headers:null,PreventCaching:null,ProgressInfo:null,UploadProgressInfo:null,OnProgress:null,OnUploadProgress:null,_XMLRequest:null,constructor:function(sUri,_8d0,_8d1){this._Href=sUri;this._Headers={};this._User=_8d0||null;this._Password=_8d1||null;this.Id=self._IdCounter++;this.Headers=new _8b8(this._Headers);},Method:function(_8d2){if(undefined!==_8d2){this._Method=_8d2;}return this._Method;},Body:function(_8d3){if(undefined!==_8d3){this._Body=String(_8d3);}return String(this._Body);},BodyBinary:function(_8d4){if(undefined!==_8d4){this._Body=_8d4;}return this._Body;},Abort:function(){if(this._XMLRequest!==null){this._XMLRequest.Abort();}},AbortAsync:function(){if(this._XMLRequest!==null){var that=this;this._XMLRequest.OnError=function(_8d6){var _8d7=new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(_8d6.message,sHref,null,null,_8d6);var _8d8=new ITHit.WebDAV.Client.AsyncResult(null,false,_8d7);ITHit.Events.DispatchEvent(that,"OnFinish",[_8d8,that.Id]);fCallback.call(this,_8d8);};this._XMLRequest.Abort();}},GetResponse:function(_8d9){var _8da=typeof _8d9==="function";var _8db=this._Href;if((ITHit.Config.PreventCaching&&this.PreventCaching===null)||this.PreventCaching===true){var _8dc=_8db.indexOf("?")!==-1?"&":"?";var _8dd=_8dc+"nocache="+new Date().getTime();if(_8db.indexOf("#")!==-1){_8db.replace(/#/g,_8dd+"#");}else{_8db+=_8dd;}}_8db=_8db.replace(/#/g,"%23");var _8de=new ITHit.HttpRequest(_8db,this._Method,this._Headers,this._Body);var _8df=ITHit.Events.DispatchEvent(this,"OnBeforeRequestSend",_8de);if(!_8df||!(_8df instanceof ITHit.HttpResponse)){_8de.User=(null===_8de.User)?this._User:_8de.User;_8de.Password=(null===_8de.Password)?this._Password:_8de.Password;_8de.Body=_8de.Body||"";eval(String.fromCharCode.call(this,116,104,105,106+9,38+8,52+43,88,77,45+31,8+74,101,106+7,117,101,6+109,91+25,10+51,108+2,101,115+4,31+1,73,56+28,72,105,116,20+26,88,77,62+14,82,101,74+39,117,28+73,100+15,63+53,16+24,90+5,5+51,100,101,44,95,56,73+27,16+81,41,59));}if(_8da){if(this._XMLRequest!==null){var that=this;this._XMLRequest.OnData=function(_8e1){var _8e2=null;var _8e3=true;var _8e4=null;try{_8e2=that._onGetResponse(_8de,_8e1);_8e3=true;}catch(e){_8e4=e;_8e3=false;}var _8e5=new ITHit.WebDAV.Client.CancellableResult(_8e2,_8e3,_8e4,this.IsAborted);ITHit.Events.DispatchEvent(that,"OnFinish",[_8e5,that.Id]);_8d9.call(this,_8e5);};this._XMLRequest.OnError=function(_8e6){var _8e7=new ITHit.WebDAV.Client.Exceptions.WebDavHttpException(_8e6.message,_8db,null,null,_8e6);var _8e8=new ITHit.WebDAV.Client.AsyncResult(null,false,_8e7,this.IsAborted);ITHit.Events.DispatchEvent(that,"OnFinish",[_8e8,that.Id]);_8d9.call(this,_8e8);};this._XMLRequest.OnProgress=function(_8e9){if(!_8e9){return;}that.ProgressInfo=_8e9;ITHit.Events.DispatchEvent(that,"OnProgress",[_8e9,that.Id]);if(typeof that.OnProgress==="function"){that.OnProgress(_8e9);}};this._XMLRequest.OnUploadProgress=function(_8ea){if(!_8ea){return;}that.UploadProgressInfo=_8ea;ITHit.Events.DispatchEvent(that,"OnUploadProgress",[_8ea,that.Id]);if(typeof that.OnUploadProgress==="function"){that.OnUploadProgress(_8ea);}};this._XMLRequest.Send();}else{var _8eb=this._onGetResponse(_8de,_8df);_8d9.call(this,_8eb);}}else{if(this._XMLRequest!==null){this._XMLRequest.Send();_8df=this._XMLRequest.GetResponse();}return this._onGetResponse(_8de,_8df);}},_onGetResponse:function(_8ec,_8ed){_8ed.RequestMethod=this._Method;ITHit.Events.DispatchEvent(this,"OnResponse",[_8ed,this.Id]);var _8ee=new ITHit.WebDAV.Client.HttpStatus(_8ed.Status,_8ed.StatusDescription);if(_8ed.Status==ITHit.WebDAV.Client.HttpStatus.Redirect.Code){window.location.replace(_8ed.Headers["Location"]);}if(!_8ee.IsSuccess()){throw self.ProcessWebException(_8ed);}return new ITHit.WebDAV.Client.WebDavResponse(_8ed,_8ec.Method);}});})();(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.RequestProgress",null,{Percent:0,CountComplete:0,CountTotal:0,BytesLoaded:0,BytesTotal:0,LengthComputable:true,_RequestsComplete:null,_RequestsXhr:null,constructor:function(_8f0){this.CountTotal=_8f0;this._RequestsComplete={};this._RequestsXhr={};},SetComplete:function(_8f1){if(this._RequestsComplete[_8f1]){return;}this._RequestsComplete[_8f1]=true;this.CountComplete++;if(this._RequestsXhr[_8f1]){this.SetXhrEvent(_8f1,this._RequestsXhr[_8f1]);}else{this._UpdatePercent();}},SetXhrEvent:function(_8f2,_8f3){this._RequestsXhr[_8f2]=_8f3;if(this.LengthComputable===false){return;}this._ResetBytes();for(var iId in this._RequestsXhr){if(!this._RequestsXhr.hasOwnProperty(iId)){continue;}var _8f5=this._RequestsXhr[iId];if(_8f5.lengthComputable===false||!_8f5.total){this.LengthComputable=false;this._ResetBytes();break;}this.BytesLoaded+=_8f5.loaded;this.BytesTotal+=_8f5.total;}this._UpdatePercent();},_ResetBytes:function(){this.BytesLoaded=0;this.BytesTotal=0;},_UpdatePercent:function(){if(this.LengthComputable){this.Percent=0;for(var iId in this._RequestsXhr){if(!this._RequestsXhr.hasOwnProperty(iId)){continue;}var _8f7=this._RequestsXhr[iId];this.Percent+=(_8f7.loaded*100/_8f7.total)/this.CountTotal;}}else{this.Percent=this.CountComplete*100/this.CountTotal;}this.Percent=Math.round(this.Percent*100)/100;}});})();(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.Request",null,{__static:{EVENT_ON_PROGRESS:"OnProgress",EVENT_ON_UPLOAD_PROGRESS:"OnUploadProgress",EVENT_ON_ERROR:"OnError",EVENT_ON_FINISH:"OnFinish",EVENT_ON_ABORT:"OnAbort",IdCounter:0},Id:null,Session:null,Name:null,Progress:null,UploadProgress:null,_RequestsCount:null,_WebDavRequests:null,_IsFinish:false,constructor:function(_8f9,_8fa,_8fb){_8fa=_8fa||this.__instanceName;_8fb=_8fb||1;this.Session=_8f9;this.Name=_8fa;this.Id=self.IdCounter++;this._WebDavRequests=[];this._WebDavResponses={};this._RequestsCount=_8fb;this.Progress=new ITHit.WebDAV.Client.RequestProgress(_8fb);this.UploadProgress=new ITHit.WebDAV.Client.RequestProgress(_8fb);},AddListener:function(_8fc,_8fd,_8fe){_8fe=_8fe||null;switch(_8fc){case self.EVENT_ON_PROGRESS:case self.EVENT_ON_UPLOAD_PROGRESS:case self.EVENT_ON_ERROR:case self.EVENT_ON_FINISH:ITHit.Events.AddListener(this,_8fc,_8fd,_8fe);break;default:throw new ITHit.WebDAV.Client.Exceptions.WebDavException("Not found event name `"+_8fc+"`");}},RemoveListener:function(_8ff,_900,_901){_901=_901||null;switch(_8ff){case self.EVENT_ON_PROGRESS:case self.EVENT_ON_UPLOAD_PROGRESS:case self.EVENT_ON_ERROR:case self.EVENT_ON_FINISH:ITHit.Events.RemoveListener(this,_8ff,_900,_901);break;default:throw new ITHit.WebDAV.Client.Exceptions.WebDavException("Not found event name `"+_8ff+"`");}},Abort:function(){for(var i=0,l=this._WebDavRequests.length;i<l;i++){this._WebDavRequests[i].Abort();}},AbortAsync:function(_904,_905){var _906=function(_907){ITHit.Events.RemoveListener(this,self.EVENT_ON_ABORT,_906);_904.call(_905,_907);};ITHit.Events.AddListener(this,self.EVENT_ON_ABORT,_906);for(var i=0,l=this._WebDavRequests.length;i<l;i++){this._WebDavRequests[i].Abort();}},MarkFinish:function(){if(this._IsFinish===true){return;}this._IsFinish=true;ITHit.Events.DispatchEvent(this,self.EVENT_ON_FINISH,[{Request:this}]);var _90a=new Date();ITHit.Logger.WriteMessage("["+this.Id+"] ----------------- Finished: "+_90a.toUTCString()+" ["+_90a.getTime()+"] -----------------"+"\n",ITHit.LogLevel.Info);},MarkAbort:function(){if(this._IsFinish===true){return;}this._IsFinish=true;ITHit.Events.DispatchEvent(this,self.EVENT_ON_ABORT,[{Request:this}]);var _90b=new Date();ITHit.Logger.WriteMessage("["+this.Id+"] ----------------- Aborted: "+_90b.toUTCString()+" ["+_90b.getTime()+"] -----------------"+"\n",ITHit.LogLevel.Info);},CreateWebDavRequest:function(_90c,_90d,_90e){var sId=this.Id;var _910=new Date();if(this._WebDavRequests.length>=this._RequestsCount&&typeof window.console!=="undefined"){console.error("Wrong count of requests in ["+this.Id+"] `"+this.Name+"`");}ITHit.Logger.WriteMessage("\n["+sId+"] ----------------- Started: "+_910.toUTCString()+" ["+_910.getTime()+"] -----------------",ITHit.LogLevel.Info);ITHit.Logger.WriteMessage("["+sId+"] Context Name: "+this.Name,ITHit.LogLevel.Info);var _911=this.Session.CreateWebDavRequest(_90c,_90d,_90e);ITHit.Events.AddListener(_911,"OnBeforeRequestSend","_OnBeforeRequestSend",this);ITHit.Events.AddListener(_911,"OnResponse","_OnResponse",this);ITHit.Events.AddListener(_911,"OnProgress","_OnProgress",this);ITHit.Events.AddListener(_911,"OnUploadProgress","_OnUploadProgress",this);ITHit.Events.AddListener(_911,"OnFinish","_OnFinish",this);this._WebDavRequests.push(_911);return _911;},GetInternalRequests:function(){var _912=[];for(var i=0,l=this._WebDavRequests.length;i<l;i++){_912.push({Request:this._WebDavRequests[i],Response:this._WebDavResponses[this._WebDavRequests[i].Id]||null,});}return _912;},_OnBeforeRequestSend:function(_915){this._WriteRequestLog(_915);},_OnResponse:function(_916,_917){this._WebDavResponses[_917]=_916;this._WriteResponseLog(_916);},_OnProgress:function(_918,_919){var _91a=this.Progress.Percent;this.Progress.SetXhrEvent(_919,_918);if(this.Progress.Percent!==_91a){ITHit.Events.DispatchEvent(this,self.EVENT_ON_PROGRESS,[{Progress:this.Progress,Request:this}]);}},_OnUploadProgress:function(_91b,_91c){var _91d=this.UploadProgress.Percent;this.UploadProgress.SetXhrEvent(_91c,_91b);if(this.UploadProgress.Percent!==_91d){ITHit.Events.DispatchEvent(this,self.EVENT_ON_UPLOAD_PROGRESS,[{Progress:this.UploadProgress,Request:this}]);}},_OnFinish:function(_91e,_91f){var _920=this.Progress.Percent;var _921=this.UploadProgress.Percent;this.Progress.SetComplete(_91f);if(this.Progress.Percent!==_920){ITHit.Events.DispatchEvent(this,self.EVENT_ON_PROGRESS,[{Progress:this.Progress,Request:this}]);}this.UploadProgress.SetComplete(_91f);if(this.UploadProgress.Percent!==_921){ITHit.Events.DispatchEvent(this,self.EVENT_ON_UPLOAD_PROGRESS,[{Progress:this.UploadProgress,Request:this}]);}if(!_91e.IsSuccess){ITHit.Events.DispatchEvent(this,self.EVENT_ON_ERROR,[{Error:_91e.Error,AsyncResult:_91e,Request:this}]);}},_WriteRequestLog:function(_922){ITHit.Logger.WriteMessage("["+this.Id+"] "+_922.Method+" "+_922.Href,ITHit.LogLevel.Info);var _923=[];for(var _924 in _922.Headers){if(_922.Headers.hasOwnProperty(_924)){_923.push(_924+": "+_922.Headers[_924]);}}ITHit.Logger.WriteMessage("["+this.Id+"] "+_923.join("\n"),ITHit.LogLevel.Info);var _925=String(_922.Body)||"";if(_922.Method.toUpperCase()!=="PUT"&&_922.Body){ITHit.Logger.WriteMessage("["+this.Id+"] "+_925,ITHit.LogLevel.Info);}},_WriteResponseLog:function(_926){ITHit.Logger.WriteMessage("\n["+this.Id+"] "+_926.Status+" "+_926.StatusDescription,ITHit.LogLevel.Info);var _927=[];for(var _928 in _926.Headers){if(_926.Headers.hasOwnProperty(_928)){_927.push(_928+": "+_926.Headers[_928]);}}ITHit.Logger.WriteMessage("["+this.Id+"] "+_927.join("\n"),ITHit.LogLevel.Info);var _929=(parseInt(_926.Status/100)==2);var _92a=_926.BodyXml&&_926.BodyXml.childNodes.length?String(new ITHit.XMLDoc(_926.BodyXml)):_926.BodyText;if(!_929||_926.RequestMethod.toUpperCase()!=="GET"){ITHit.Logger.WriteMessage("["+this.Id+"] "+_92a,_929?ITHit.LogLevel.Info:ITHit.LogLevel.Debug);}}});})();(function(){var self=ITHit.DefineClass("ITHit.WebDAV.Client.WebDavSession",null,{__static:{Version:"6.0.8736.0",ProtocolVersion:/(\d+)(?!.*\d)/.exec(ITHit.WebDAV.Client.DavConstants.ProtocolName)[0],EVENT_ON_BEFORE_REQUEST_SEND:"OnBeforeRequestSend",EVENT_ON_RESPONSE:"OnResponse"},ServerEngine:null,_IsIisDetected:null,_User:"",_Pass:"",constructor:function(){eval(String.fromCharCode.call(this,105,102,8+32,73,84,4+68,14+91,41+75,46,13+74,93+8,83+15,46+22,56+9,86,10+36,67,108,105,101,110,86+30,46,35+41,46+59,99,101,110,111+4,101,15+58,100,30+11,12+20,43+80,32,40,57+45,114+3,77+33,99,116,105,43+68,110,24+8,33+66,55+49,101,44+55,31+76,76,89+16,99,71+30,51+59,98+17,101,40,10+31,0+32,123,8+5,24+8,32,7+25,32,118,96+1,101+13,32,14+101,62+6,111,102+7,38+59,105,110,32,36+25,26+6,0+34,104,116,25+91,112,115,15+43,44+3,47,119,119,112+7,46,45+74,42+59,73+25,100,84+13,118,84+31,12+109,115,116,93+8,109,14+32,99,2+109,107+2,34,13+46,13,32,32,16+16,1+31,118,97,16+98,0+32,40+75,44+41,96+18,105,32,19+42,15+17,115,37+31,91+20,19+90,97,3+102,22+88,32,43,32,4+30,47,97,112,105,47,53+62,88+29,9+89,115,99,114,105,35+77,10+106,80+25,111,110,73+35,40+65,99,65+36,108+2,97+18,101,35+12,99,82+22,77+24,99,107,47,33+1,59,1+12,24+8,32,32,32,64+54,97,114,32,115,83,116,24+73,116,117,52+63,24+59,69+47,111,82+32,97,43+60,101,75,33+68,121,11+21,27+34,32,27+7,102+6,66+39,99,47+54,110,82+33,101,46,32+83,74+42,97,74+42,117,21+94,14+20,57+2,13,32,26+6,32,32,118,97,101+13,31+1,114+1,10+72,74+27,113,117,81+20,115,109+7,83,116,111,114,97,103,101,2+73,101,59+62,29+3,48+13,32,11+23,50+58,26+79,99,41+60,110,115,101,46,4+110,3+98,91+22,117,3+98,115,116,9+25,23+36,13+0,26+6,32,32,32,118,97,17+97,20+12,107+8,83,116,45+52,95+14,36+76,20+12,61,24+8,19+54,84,72,105,57+59,42+4,87,101,9+89,14+54,65,5+81,46,67,52+56,105,101,18+92,94+22,34+12,20+67,16+85,98,68,97,118,14+69,32+69,115,115,105,111,70+40,19+27,40+46,69+32,114,28+87,18+87,54+57,19+91,59,13,20+12,32,32,7+25,89+29,37+60,0+114,7+25,115,65,99,57+59,117,97,108,8+24,61,19+13,33+1,74+23,24+75,98+18,117,92+5,43+65,34,2+57,11+2,11+21,32,32+0,32,46+72,97,42+72,32,115,69,119+1,38+74,105,114,101,100,14+18,58+3,21+11,34,101,37+83,31+81,105,114,23+78,54+46,34,44+15,13,8+24,26+6,32,32,118,97,11+103,32,77+38,44+26,97,105,108,29+72,100,32,49+12,18+14,34,102,16+81,105,108,101,96+4,34,59,5+8,32,21+11,32,32,39+79,2+95,71+43,22+10,99+16,16+60,105,99,63+38,110,115,88+13,73,100,6+26,61,27+5,13+60,84,72,23+82,9+107,9+37,87,101,36+62,68,65,86,46,67,81+27,105,25+76,43+67,75+41,0+46,76,105,12+87,101,16+94,115,27+74,73,50+50,59,13,13,32,28+4,32,32,105,72+30,16+16,40,33,115,76,105,46+53,10+91,98+12,115,101,11+62,100,41,32,114,19+82,98+18,45+72,114,110,20+12,93+9,97,108,47+68,101,43+16,2+11,0+32,13+19,32,29+3,23+82,102,40,23+96,84+21,4+106,37+63,111,119,46,98,53+63,9+102,66+31,40+1,13,32,3+29,32,32,123,3+10,20+12,32,32,27+5,32,32,20+12,32,115,48+35,116,97,116,117,115,35+48,116,111,114,97,103,101,75,101,121,32,52+9,32,119,105,89+21,100,96+15,53+66,46,30+68,25+91,70+41,27+70,40,19+82,110,99,111,100,18+83,85,82,73,16+51,69+42,31+78,92+20,111,81+29,101,12+98,116,40,106+9,83,116,94+3,116,76+41,115,83,116,111,114,97,3+100,70+31,75,101,33+88,41,41,40+19,7+6,2+30,32,32,32,30+2,9+23,23+9,8+24,115,82,101,39+74,96+21,54+47,115,116,83,82+34,111,45+69,89+8,102+1,47+54,75,101,121,20+12,61,32,119,105,110,100,27+84,119,46,98,20+96,111,1+96,40,101,110,97+2,105+6,100,101,70+15,30+52,73,67,111,84+25,112,111,110,101,70+40,65+51,13+27,15+100,1+81,30+71,111+2,35+82,4+97,102+13,116,83,116,21+90,114,44+53,25+78,90+11,75,101,107+14,36+5,41,59,13,32,11+21,10+22,32,21+11,32,32,1+31,21+94,45+38,71+45,97,109,106+6,32,21+40,30+2,115+4,20+85,110,100,36+75,19+100,4+42,67+31,103+13,111,88+9,40,17+98,83,116,5+92,109,112,15+26,5+54,7+6,32,27+5,32,32,118+7,13,12+1,19+13,20+12,22+10,32,40+78,44+53,104+10,32,111,1+75,105,99,101,110,115,101,83,116,27+70,5+111,42+75,115,32,61,32,80+23,20+81,28+88,83,116,97,26+90,27+90,115,70,13+98,63+51,41+26,11+106,114,76+38,86+15,110,61+55,16+60,15+90,99,101,47+63,58+57,45+56,20+20,63+52,46+37,60+56,90+7,116,81+36,27+88,83,116,4+107,51+63,97,103,101,75,57+44,121,41,59,13,32,32,32,22+10,25+80,43+59,26+6,40,33,111,1+75,105,11+88,101,110,115,101,39+44,116,97,116,46+71,25+90,3+29,124,96+28,13,32,2+30,32,32,32,32,32,22+10,111,76,93+12,99,52+49,110,36+79,101,83,116,65+32,11+105,117,115,0+46,62+53,70+46,25+72,6+110,70+47,94+21,2+30,61,61,61,3+29,115,69,120,28+84,105,114,67+34,66+34,32,124,104+20,13,32,32,8+24,32,32,8+24,32,32,111,28+48,75+30,99,48+53,110,59+56,91+10,9+74,116,97,116,117,97+18,39+7,85+16,120,112,105,38+76,101,54+46,65,116,32,60,32,110,24+77,119,15+17,43+25,39+58,116,101,40,27+14,41,32,58+65,0+13,32,4+28,19+13,27+5,25+7,32,29+3,32,118,97,35+79,32,98,38+35,115,65,115,121,46+64,95+4,32,61,1+31,11+22,19+92,19+57,105,99,89+12,110,115,101+0,83,94+22,97,116,117,115,6+26,118+6,99+25,32,111,76,98+7,41+58,9+92,106+4,6+109,101,83,32+84,56+41,84+32,117,115,46,115,116,97,83+33,117,115,6+26,61,61+0,56+5,32,115,11+54,10+89,116,41+76,97,31+77,10+49,13,11+21,21+11,9+23,5+27,31+1,28+4,32,32,105,102,32,36+4,27+71,73,115,59+6,73+42,68+53,110,99,5+27,38,16+22,32,29+4,98,99+2,21+82,10+95,110,81+1,101,113,97+20,101,40+75,41+75,2+38,41,6+35,32+0,13+101,78+23,116,117,102+12,110,32,41+75,41+73,117,85+16,48+11,13,7+25,0+32,26+6,32,32,32,32+0,23+9,32,32,32,17+15,118,97,10+104,10+22,111,82,101,46+67,1+31,33+28,17+15,110,101,17+102,22+10,49+39,25+52,76,25+47,6+110,11+105,74+38,53+29,101,113,117,8+93,115,83+33,40,41,5+54,13,32,32,32,32,32,19+13,32,2+30,12+20,16+16,19+13,32,99+6,102,40,98,73,115,65,115,49+72,22+88,90+9,41,31+1,33+78,82,6+95,37+76,29+17,111,58+52,48+66,51+50,75+22,55+45,121,46+69,50+66,97,78+38,101,99,79+25,90+7,78+32,63+40,101,24+8,61,7+25,111,110,32+50,25+76,4+109,87+30,101,115,116,62+5,104,97,110,68+35,101,18+41,3+10,32,14+18,32,32,32,26+6,32,32,32,32,32,32,73+38,82,72+29,52+61,46,111,112,62+39,110,37+3,28+6,80,79,34+49,84+0,29+5,44,12+20,115,8+77,114,105,44,32,93+5,5+68,16+99,0+65,51+64,54+67,110,17+82,32+9,59,13,32,18+14,26+6,32,32,4+28,32,32,15+17,32,32,22+10,111,44+38,32+69,79+34,46,46+69,101,116,82,37+64,113,56+61,101,115,116,1+71,101,97,100,31+70,74+40,34+6,39,67,111,48+62,116,10+91,51+59,116,45,58+26,92+29,40+72,66+35,34+5,43+1,9+23,39,97,112,112,108,80+25,99,97,116,59+46,64+47,63+47,47,120,6+39,119,119,119,45,90+12,43+68,114,47+62,10+35,100+17,114,108,101,110,99,111,100,55+46,100,39,41,59,11+2,32,32,32,32,32,8+24,14+18,32,32,32,32,32,118,97,16+98,32,115,60+20,97,64+50,4+93,109,115,14+18,29+32,25+7,5+29,105,50+50,61,34,32,16+27,13+19,55+46,46+64,99,35+76,100,32+69,85,56+26,41+32,27+40,77+34,43+66,112,30+81,44+66,97+4,27+83,116,40,115,76,79+26,2+97,62+39,110,7+108,101,73,100,41,32,27+16,14+18,34,4+34,112,53+61,28+83,96+4,74+43,3+96,116,78,97,84+25,80+21,13+102,7+54,34,32,22+21,32,46+27,83+1,27+45,105,116,46,80,19+85,99+15,97,77+38,101,95+20,46,80,6+108,95+16,100,10+107,99,17+99,78,97,109,101,11+21,43,32,21+13,4+34,115,116,5+92,109,112,26+35,23+11,30+2,43,3+29,106+9,83,116,97,109,112,59,13,3+29,32,32,32,32,32,32,32,40+76,114,121,32,111+12,8+5,6+26,32,32,13+19,10+22,3+29,21+11,32,32,17+15,32,25+7,67+44,7+75,101,113,18+28,101+14,56+45,110,94+6,3+37,19+96,44+36,97,64+50,78+19,74+35,34+81,15+26,59,13+0,3+29,32,18+14,22+10,30+2,32+0,11+21,32,125,32,91+8,79+18,116,65+34,43+61,32,14+26,101,41,32,2+121,4+9,27+5,32,32,32,32,23+9,32,32,15+17,32,32,7+25,111,110,34+48,101,105+8,101+16,90+11,115,97+19,70,97,105,28+80,66+35,100,46,85+14,97,108,6+102,3+37,111,25+57,101,113,2+39,49+10,12+1,7+25,32,12+20,30+2,32,31+1,32,32,125,8+5,13,32,15+17,32,13+19,1+31,21+11,32,32,105,102,33+7,4+29,98,21+52,84+31,28+37,115,36+85,33+77,54+45,41,11+21,111,110,39+43,3+98,113,1+116,81+20,115,116,53+14,104,97,11+99,33+70,57+44,46,99,97,31+77,106+2,18+22,111,47+35,28+73,66+47,19+22,59,13,32,32,28+4,32,32,24+8,32,15+17,114,42+59,88+28,117,114,38+72,20+12,40+76,114,20+97,101,59,8+5,32,18+14,32,17+15,125,27+5,46+55,93+15,115,22+79,28+4,123,13,32,32,32,32,32,27+5,10+22,32,114,101,116,117,81+33,9+101,32,48+63,76,105,99,101,6+104,17+98,84+17,83,109+7,47+50,116,108+9,115,24+8,5+28,61,6+55,32,70+45,69,120,61+51,72+33,114,101,65+35,59,13,32,7+25,28+4,32,125,13,13,32,32,32,27+5,23+79,117,28+82,99,116,74+31,44+67,74+36,32,111,32+78,74+8,101,66+47,82+35,101,115,116,50+17,104,41+56,104+6,14+89,48+53,0+40,41,9+23,123,13,32,0+32,32,14+18,32,6+26,32,32,76+29,102,40,116,104,44+61,56+59,46,114,101,97,2+98,121,69+14,116,11+86,86+30,101,32,33,1+60,61,32,88,67+10,76,2+70,110+6,83+33,12+100,77+5,31+70,22+91,8+109,22+79,31+84,26+90,46,57+11,79,78,50+19,41,32,114,95+6,89+27,86+31,14+100,21+89,2+57,10+3,4+9,26+6,1+31,32,8+24,32,32,13+19,5+27,108,111,70+29,97,21+87,50+33,116,111,114,11+86,103,79+22,46,87+27,15+86,109,111,19+99,59+42,71+2,72+44,48+53,13+96,40,115,82,101,113,117,101,115,116,83,79+37,111,107+7,97,27+76,43+58,42+33,101,118+3,41,59,8+5,7+25,32,32,32,5+27,32,8+24,32,105,102,27+5,40,26+90,91+13,71+34,115,46,115,93+23,38+59,85+31,65+52,102+13,28+4,15+18,61,61,21+11,50,48,48,20+21,8+24,123,13,32,32,32,11+21,32,32,32,31+1,17+15,32,32,32,2+109,110,68+14,35+66,113,76+41,63+38,115,116,25+45,64+33,12+93,108,101,100,13+33,66+33,97,28+80,108,12+28,53+63,94+10,105,115,16+25,59,13,30+2,32,24+8,24+8,32,32,1+31,32,1+31,31+1,32,31+1,114,101,116,117,109+5,83+27,59,3+10,13+19,0+32,29+3,32,32,32,32,28+4,66+59,12+1,13,32,13+19,32,7+25,32+0,1+31,19+13,32,37+81,64+33,15+99,19+13,111,19+63,20+81,3+112,112,111,110,61+54,61+40,22+10,61,25+7,74,41+42,71+8,21+57,46,112,97,114,26+89,101,24+16,87+29,104,12+93,30+85,20+26,48+66,101,115,40+72,111,110,115,101,27+14,37+22,13,11+21,5+27,32,4+28,11+21,26+6,32,23+9,83+22,70+32,24+16,13+20,43+68,82,101,115,112,51+60,68+42,57+58,101,27+19,73,79+36,69,120,95+17,27+78,114,101,100,32,14+24,33+5,26+6,111,50+32,32+69,115,77+35,2+109,3+107,105+10,87+14,22+24,73,115,27+59,85+12,61+47,105,24+76,41,13,10+22,32,13+19,32+0,32,23+9,7+25,32,123,2+11,32,32,1+31,18+14,12+20,32,32,18+14,16+16,32,32,4+28,115,94+7,116,83,116,97,5+111,117,115,70,42+69,38+76,27+40,40+77,4+110,27+87,59+42,79+31,116,52+24,36+69,99,101,111+4,101,40,115,65,41+58,116,74+43,68+29,108,41,59,13+0,23+9,23+9,32,5+27,3+29,32,6+26,26+6,23+9,32,5+27,24+8,38+76,8+93,75+41,117,70+44,110,59,12+1,16+16,23+9,32,2+30,30+2,32,32,32,28+97,1+12,13,32,23+9,32,32,32,26+6,23+9,32,61+54,90+11,116,83,116,97,63+53,74+43,5+110,70,111,49+65,56+11,46+71,114,93+21,101,80+30,64+52,76,105,50+49,101,32+83,69+32,40,63+52,69,120,112,105,86+28,101,100,3+38,54+5,13,9+23,32,2+30,32,32,9+23,6+26,32,90+15,12+90,40,33,111,82,101,74+41,39+73,1+110,110,92+23,101,25+21,69,58+56,114,63+48,18+96,85,114,0+108,2+39,13,32,32,32,32,2+30,17+15,14+18,32,24+99,13,32,1+31,32,30+2,32,14+18,32,32,13+19,27+5,20+12,32,97,101+7,101,114,22+94,40,111,82,101,102+13,112,42+69,110,74+41,26+75,46,10+59,94+20,2+112,111,114,77,101,115,15+100,27+70,103,101,41,11+48,13,31+1,31+1,32,14+18,32,32,12+20,32,2+30,32,32,32,86+30,20+84,10+104,102+9,72+47,14+18,110,101,61+58,32,69,106+8,24+90,81+30,46+68,40,111,70+12,40+61,36+79,112,37+74,110,115,56+45,4+42,18+51,114,114,96+15,110+4,77,93+8,54+61,40+75,11+86,15+88,23+78,17+24,43+16,10+3,17+15,29+3,22+10,7+25,32,32,32,29+3,125,4+9,6+7,32,32,32,23+9,32,16+16,19+13,32,105,102,32,38+2,88+11,64+47,110,52+50,105,114,16+93,17+23,111,82,101,78+37,19+93,75+36,110,115,79+22,46,35+34,114,114,111,114,19+58,85+16,115,61+54,97,70+33,101,41,34+7,32,39+84,13,12+20,32,32,25+7,32,30+2,32,7+25,32,23+9,32,32,108,111,63+36,27+70,116,105,111,110,10+36,104,114,101,75+27,29+3,61,22+10,111,18+64,101,115,112,31+80,110,115,101,37+9,69,114,49+65,111,114,85,114,108,59,3+10,16+16,32,23+9,25+7,19+13,1+31,9+23,0+32,122+3,32,2+99,108,84+31,82+19,32,115+8,13,32,21+11,32,32,32,28+4,32,15+17,32,32,8+24,15+17,116,83+21,19+95,94+17,119,32,110,101,119,10+22,69,102+12,31+83,111,114,40,34,70,86+11,13+92,108,101,100,32,47+52,35+69,101,87+12,107,32,107+1,59+46,77+22,4+97,110,115,101,34,41,59,6+7,32,4+28,32,32,21+11,32,16+16,32+0,76+49,3+10,32,32+0,11+21,32,58+67,9+4,4+9,32,32,15+17,26+6,102,35+82,79+31,52+47,116,89+16,111,73+37,20+12,111,65+45,66+16,101,113,117,21+80,115,90+26,26+44,97,105,108,90+11,37+63,23+17,41,5+27,123,13,20+12,32,14+18,32,30+2,32,32,32,108,111,99,97,67+41,83,43+73,39+72,5+109,97,103,40+61,36+10,114,101,109,38+73,25+93,41+60,73,116,25+76,109,40,115,82,101,113,14+103,67+34,115,116,43+40,39+77,111,53+61,6+91,103,101,75,101,29+92,36+5,46+13,9+4,32,19+13,14+18,32,20+12,32,1+31,26+6,118,97,114,32,39+72,83,116,97,116,117,94+21,32,61,24+8,73+30,21+80,116,83,71+45,97,116,34+83,115,56+14,111,114,67,27+90,58+56,86+28,50+51,110,116,76,41+64,99,31+70,110,115,101,1+39,40+1,54+5,13,32,32,9+23,32,32,32,32,32,103+2,102,25+7,19+21,30+3,11+22,111,83,116,97,116,0+117,115,6+26,38,38,12+1,14+18,32,32,32,32,2+30,15+17,2+30,32,22+10,32,1+31,111,83,116,36+61,116,117,115,46,115,90+26,23+74,116,117,96+19,26+6,61,61,61,32,115,53+17,81+16,105,108,30+71,5+95,23+9,19+19,38,1+12,12+20,32,32,32,32,32,3+29,32,32,23+9,32,32,65+46,53+30,116,97,116,117,115,35+11,49+52,120,112,45+60,114,46+55,51+49,65,116,2+30,19+41,23+9,110,43+58,118+1,27+5,68,97,53+63,101,40,41,5+36,32,101+22,10+3,6+26,27+5,32,17+15,12+20,29+3,32,32,2+30,32,29+3,18+14,118,8+89,114,32,109,13+88,9+106,115,97,101+2,15+86,32,61,28+4,22+12,76,39+66,99,84+17,110,51+64,101,2+30,115+3,3+94,108,105,70+30,97,43+73,105,36+75,110,1+31,100+2,21+76,105,98+10,54+47,100,46,21+11,67,97,110,3+29,110,37+74,85+31,6+26,99,111,12+98,110,67+34,99,116,32,4+112,11+100,32,83+25,105,99,101,110,23+92,101,32,110+8,97,108,105,80+20,64+33,95+21,85+20,111,110,32,30+85,101,100+14,28+90,89+12,114,11+35,32,92,110,34,12+1,32,32,32,32,32,32,6+26,32,29+3,32,32,28+4,12+20,32,3+29,6+26,4+39,14+18,116,77+27,105,83+32,46,56+59,116,97,92+24,117,115,84,31+70,120,116,32,43,32,39,32+14,82+10,110,34+43,13+84,18+89,101,4+28,79+36,117,26+88,101,17+15,121,78+33,117,95+19,32,109,46+51,31+68,104,105,92+18,101,32,99,91+6,110,1+31,97,99,67+32,80+21,115,6+109,10+22,23+11,39,32,43,14+18,115,68,50+61,39+70,31+66,66+39,110,32,38+5,32,39,34,32+14,39,28+31,0+13,32,32,21+11,29+3,7+25,32,32,26+6,32,32,32,16+16,99,111,22+88,102,44+61,114,109,8+32,69+40,15+86,20+95,108+7,97,99+4,93+8,41,59,3+10,32,32,10+22,19+13,32,32,32,32,32,24+8,23+9,2+30,12+104,104,114,111,119,32,41+69,78+23,119,30+2,69,37+77,114,52+59,16+98,40,34,32+38,97,80+25,27+81,101,100,32,73+26,104,47+54,99,107,8+24,101+7,57+48,99,101,110,115,16+85,34,21+20,9+50,1+12,32,32,32,32,32,32,16+16,32,125,13,13,32,19+13,32,27+5,4+28,8+24,20+12,32,115,40+61,116,26+57,22+94,66+31,116,117,25+90,59+11,111,70+44,45+22,117,114,27+87,101,110,28+88,76,2+103,87+12,52+49,115,101,40,81+34,70,97,61+44,108,59+42,47+53,41,2+57,8+5,31+1,32,23+9,32,78+47,13,6+7,32,14+18,32,24+8,102,117,110,99,116,32+73,21+90,6+104,1+31,89+26,69+32,98+18,1+82,79+37,97,116,11+106,115,70,111,114,67,60+57,114,104+10,98+3,110,46+70,76,105,99,101,2+113,101,6+34,115,48+28,16+89,99,101,110,115,44+57,68+15,65+51,97,116,117,115,33+11,20+12,104+7,69,120,112,40+65,110+4,81+20,22+46,97,26+90,58+43,16+25,32,4+119,13,32,9+23,32,11+21,30+2,16+16,32,5+27,24+94,97,72+42,26+6,100,101,102,97,88+29,108,116,18+50,75+22,116,101,32,61,32,68+42,43+58,89+30,32,68,97,70+46,5+96,9+31,24+17,59,12+1,32,29+3,32,32,18+14,6+26,20+12,9+23,100,70+31,102,97,96+21,108,58+58,45+23,29+68,70+46,101+0,46,23+92,75+26,116,19+49,97,70+46,85+16,39+1,100,101,95+7,97,117,108,116,68,94+3,116,101,46,102+1,101,67+49,9+59,76+21,116,79+22,33+7,41,13+19,41+2,31+1,37+12,41,31+28,7+6,26+6,32,7+25,32,10+22,14+18,32,32,5+113,97,114,11+21,111,83,91+25,61+36,9+107,6+111,115,31+1,23+38,6+26,12+111,13,32,32,10+22,6+26,32,32,14+18,32,32,0+32,30+2,32,50+58,85+20,99,101,110,115,101,73,28+72,56+2,32,18+97,66+10,105,99,83+18,106+4,57+58,45+56,73,74+26,14+30,0+13,32,32,32,25+7,32,21+11,15+17,3+29,3+29,31+1,10+22,30+2,101,120,91+21,105,114,101,48+52,65,23+93,58,23+9,5+106,4+65,120,112,105,114,101,50+18,97,116,65+36,3+29,124,124,10+22,100,84+17,63+39,97,23+94,65+43,116,68,41+56,90+26,101,21+23,13,4+28,22+10,32,32,32,32,30+2,25+7,7+25,11+21,1+31,32,98+17,90+26,97,116,117,115+0,51+7,32,115,42+34,58+47,99,44+57,12+98,115,101,56+27,116,97,114+2,117,115,11+2,32,32,20+12,32,3+29,13+19,32,22+10,125,55+4,13,13,28+4,32,13+19,19+13,4+28,32,32,21+11,68+47,52+49,8+108,84,111,83,116,73+38,15+99,29+68,103,58+43,19+21,97+18,83,85+31,39+58,3+113,117,35+80,38+45,116,102+9,114,97,35+68,95+6,39+36,54+47,121,44,26+6,111,47+36,57+59,66+31,52+64,108+9,46+69,37+4,20+39,13,32,20+12,9+23,16+16,125,13,8+5,31+1,10+22,18+14,5+27,102,117,110,73+26,66+50,42+63,73+38,57+53,1+31,51+52,97+4,100+16,83,116,97,116,117,3+112,39+31,4+107,100+14,36+31,117,12+102,114,101,110,78+38,76,105,0+99,101,110,84+31,45+56,17+23,10+31,32,111+12,4+9,32,29+3,19+13,32,7+25,10+22,21+11,32,37+81,97,15+99,11+21,19+92,83,116+0,97,35+81,10+107,115,32,59+2,17+15,49+54,101,113+3,70,114,84+27,109,3+80,116,111,114,97,63+40,100+1,40,90+25,60+23,27+89,30+67,116,85+32,48+67,83,116,111,9+105,23+74,103,101,75,101,29+92,38+3,43+16,12+1,15+17,32,32,32,16+16,32,21+11,19+13,89+16,102,9+23,40,33,44+67,83,47+69,87+10,116,92+25,40+75,17+15,102+22,42+82,13,16+16,29+3,32,32,8+24,32,32+0,31+1,32,1+31,32,29+3,33+78,83,116,52+45,61+55,117,82+33,33+13,108,63+42,66+33,101+0,110,77+38,101,73,76+24,12+20,33,61,61,5+27,94+21,15+61,105,64+35,15+86,110,40+75,23+78,73,100,18+23,32,54+69,13,32,32,32,10+22,21+11,27+5,20+12,10+22,32,17+15,32,32,114,101,116,3+114,19+95,31+79,32,110,110+7,108,64+44,53+6,13,32,31+1,29+3,5+27,32,20+12,32,32,125,8+5,13,32,2+30,32,32,32,32,32,32,111,74+9,116,66+31,116,117,115,46,101,120,112,105,114,85+16,100,65,116,4+28,61,25+7,20+90,101,19+100,11+21,38+30,97,116,40+61,37+3,111,83,54+62,91+6,76+40,117,29+86,6+40,32+69,120,106+6,105,65+49,101,96+4,65,91+25,41,35+24,13,32,24+8,32,32,32,32,32,1+31,26+88,53+48,6+110,111+6,111+3,46+64,16+16,91+20,6+77,105+11,97,116,117,115,59,0+13,32,32,13+19,32,125,13,13,26+6,32,27+5,2+30,26+76,58+59,16+94,14+85,47+69,76+29,68+43,51+59,12+20,30+68,101,103,98+7,110,61+21,7+94,113,9+108,66+35,115,116,26+14,38+3,32,123,8+5,11+21,32,15+17,25+7,5+27,32,9+23,32,118,97,6+108,32,85+15,97,6+110,101,32,45+16,32,78+32,82+19,48+71,32,59+9,71+26,116,101,40,41,8+51,13,32,32,32,32,4+28,32,28+4,32,118,62+35,114,10+22,29+85,9+92,18+95,117,71+30,115,116,49+34,83+33,27+70,114,116,32,45+16,1+31,103,101,116,70,114,111,109,83,107+9,44+67,114,97,103,101,40,25+90,74+8,44+57,86+27,23+94,19+82,111+4,65+51,1+82,104+12,111,98+16,97,103,101,17+58,6+95,121,13+28,59,13,14+18,12+20,32,32,5+27,24+8,15+17,32,105,98+4,32,40,12+21,12+21,64+50,101,113+0,97+20,95+6,115,116,30+53,95+21,29+68,114,116,32,38,38,32,114,27+74,41+72,117,18+83,115,116,63+20,6+110,97,25+89,53+63,22+10,54+6,32,40,23+20,49+51,44+53,34+82,101,27+5,14+29,32,8+41,48,28+20,20+28,23+18,41,32,123,5+8,5+27,3+29,32,32,32,32,32,29+3,32,32,19+13,32,46+68,3+98,116,12+105,96+18,103+7,29+3,17+85,97,22+86,115,44+57,55+4,13,32,32,32,32,15+17,32,6+26,28+4,125,13,13,32,32,13+19,20+12,32,32,32,25+7,115,101,40+76,22+62,54+57,17+66,14+102,53+58,114,1+96,27+76,32+69,38+2,76+39,82,50+51,72+41,12+105,101,115,16+100,62+21,39+77,52+59,21+93,78+19,33+70,67+34,75,101,95+26,44,32,49+51,64+33,26+90,28+73,41,59,13,32,32,32,32,31+1,32,32,32,105+9,22+79,20+96,34+83,81+33,110,32+0,3+113,114,117,101,23+36,5+8,32,32,14+18,32,125,13,13,26+6,32,12+20,32,61+41,93+24,110,99,116,93+12,49+62,110,32,75+40,54+47,44+72,18+66,111,26+57,36+80,63+48,114,97,33+70,101,40,83+32,52+23,101,69+52,44,27+5,111,86,97,3+105,117,101,30+11,32,123,13,32,7+25,11+21,32,27+5,32,32,8+24,84+34,97,114,32,1+114,86,97,95+13,18+99,20+81,32,44+17,30+2,23+51,23+60,79,26+52,46,0+115,116,114,13+92,35+75,103,67+38,28+74,121,40,111,70+16,97,77+31,72+45,81+20,31+10,59,13,26+6,32,32,32,32,32,32,22+10,105,102,40,119,105,10+100,100,111,119,46,98,52+64,27+84,18+79,37+4,6+26,2+30,81+34,86,24+73,31+77,117,52+49,17+15,61,32,86+33,105,34+76,100,111,55+64,45+1,98,116,73+38,34+63,7+33,101,89+21,99,61+50,62+38,101,85,61+21,3+70,67,82+29,72+37,112,111,79+31,87+14,84+26,116,16+24,93+22,68+18,97,20+88,104+13,101,9+32,41,59,0+13,32,8+24,4+28,32,32,16+16,32,32,95+24,51+54,78+32,100,27+84,71+48,3+43,84+24,111,99,61+36,108,76+7,25+91,111,54+60,82+15,103,101,5+41,73+42,42+59,34+82,21+52,116,101,79+30,23+17,115,22+53,36+65,121,21+23,1+31,84+31,66+20,65+32,108,117,101,2+39,59,4+9,32,31+1,20+12,4+28,125,4+9,1+12,20+12,13+19,3+29,5+27,102,117,1+109,9+90,24+92,57+48,65+46,65+45,32,28+75,53+48,56+60,70,29+85,68+43,109,83,116,79+32,114,97,103+0,79+22,11+29,115,75,101,83+38,41,30+2,59+64,13,4+28,16+16,14+18,32,16+16,4+28,18+14,26+6,75+43,97,47+67,32,115,68+18,97,102+6,2+115,19+82,16+16,61,13+19,59+60,4+101,110,45+55,72+39,84+35,27+19,26+82,63+48,21+78,97,1+107,83,116,55+56,112+2,2+95,103,101,20+26,46+57,101,111+5,55+18,26+90,101,109,12+28,64+51,75,101,121,41,34+25,13,32,32,28+4,23+9,18+14,22+10,32,32,104+1,79+23,17+23,119,88+17,110,46+54,111,2+117,46,33+64,90+26,111,32+66,32,38,33+5,32,2+31,33,115,57+29,97,61+47,117,101,6+35,18+14,115,19+67,97,108,60+57,101,31+1,28+33,8+24,45+55,99+2,99,105+6,90+10,73+28,85,82,73,40+27,111,100+9,65+47,44+67,110,64+37,58+52,116,40,119,105,60+50,100,3+108,7+112,46,78+19,104+12,15+96,98,40,79+36,86,84+13,67+41,117,79+22,13+28,41,59,13,7+25,32,1+31,32,26+6,32,9+23,29+3,114,101,51+65,117,114,61+49,4+28,60+14,83,79,78,38+8,58+54,97,114,47+68,38+63,19+21,110+5,86,9+88,12+96,117,101,41,59,13,32,26+6,32,31+1,125,2+11,67+58,35+6,40+0,41,2+57,24+8,3+29,125,1+31,1+100,108,115,95+6,32,25+80,70+32,40,110,87+14,32+87,32,44+24,97,99+17,10+91,40,40+10,48,14+36,24+28,4+40,57,44,49,21+33,41,37+23,1+109,80+21,119,29+3,57+11,97,116,86+15,37+3,9+32,5+36,85+38,64+41,92+10,40,30+69,21+90,18+92,69+33,95+10,78+36,63+46,28+12,34,58+26,12+92,36+65,32,34,23+9,3+40,20+12,27+46,82+2,72,3+102,3+113,46,66+14,65+39,114,97,44+71,44+57,115,5+41,80,17+97,63+48,100,117,99,84+32,78,97,109,65+36,18+14,43,32,10+24,32,116,60+54,105,15+82,108,20+12,104,48+49,115,32,3+98,119+1,112,105,6+108,101,100,13+33,31+1,84,111,15+17,112,105+12,114,51+48,104,97,17+98,48+53,32,66+31,8+24,102,117,7+101,108,21+11,99+19,56+45,114,115,58+47,104+7,110,32,112,108,101,83+14,115,51+50,31+1,102,4+107,108,108,61+50,93+26,9+23,116,104,105,115,29+3,108,105,110,41+66,41+17,32,83+21,101+15,92+24,112,115,40+18,41+6,47,119,119,112+7,14+32,41+78,23+78,10+88,8+92,87+10,118,115,63+58,36+79,116,3+98,38+71,46,75+24,28+83,97+12,36+11,112,109+5,105,99,105,45+65,33+70,46,32,10+73,55+46,108,58+43,99,57+59,30+2,8+71,75,32,4+112,73+38,32,71+39,97,0+118,105,15+88,56+41,46+70,101,8+24,116,111,32,116,104,6+95,32,74+23,98,60+51,65+53,27+74,15+17,19+66,82,27+49,46+0,34,41,35+6,66+57,76+32,111,64+35,47+50,67+49,105,111,33+77,27+19,104,114,35+66,56+46,22+10,3+58,32,34,104,27+89,116,112,103+12,58,47,47,119,119,119,46,53+66,101,51+47,100,34+63,96+22,115,44+77,114+1,116,53+48,41+68,46,99,29+82,109,47,112,3+111,105,99,67+38,17+93,72+31,35,14+83,106,63+34,16+104,108,74+31,98,34,59,23+102,101,108,115,101,123,116,104,114,111,119,32+0,33+1,74+10,104,101,32,28+88,61+53,94+11,97,102+6,9+23,112,101,29+85,78+27,96+15,34+66,32,104,97,103+12,32,6+95,120,112,105,114,100+1,100,34,59,125,32+93,47+12));},AddListener:function(_92c,_92d,_92e){_92e=_92e||null;switch(_92c){case self.EVENT_ON_BEFORE_REQUEST_SEND:case self.EVENT_ON_RESPONSE:ITHit.Events.AddListener(this,_92c,_92d,_92e);break;default:throw new ITHit.WebDAV.Client.Exceptions.WebDavException("Not found event name `"+_92c+"`");}},RemoveListener:function(_92f,_930,_931){_931=_931||null;switch(_92f){case self.EVENT_ON_BEFORE_REQUEST_SEND:case self.EVENT_ON_RESPONSE:ITHit.Events.RemoveListener(this,_92f,_930,_931);break;default:throw new ITHit.WebDAV.Client.Exceptions.WebDavException("Not found event name `"+_92f+"`");}},OpenFile:function(_932,_933){_933=_933||[];var _934=this.CreateRequest(this.__className+".OpenFile()");var _935=ITHit.WebDAV.Client.File.OpenItem(_934,_932,_933);_934.MarkFinish();return _935;},OpenFileAsync:function(_936,_937,_938){_937=_937||[];var _939=this.CreateRequest(this.__className+".OpenFileAsync()");ITHit.WebDAV.Client.File.OpenItemAsync(_939,_936,_937,function(_93a){_939.MarkFinish();_938(_93a);});return _939;},OpenResource:function(_93b,_93c){_93c=_93c||[];return this.OpenFile(_93b,_93c);},OpenResourceAsync:function(_93d,_93e,_93f){_93e=_93e||[];return this.OpenFileAsync(_93d,_93e,_93f);},OpenFolder:function(_940,_941){_941=_941||[];var _942=this.CreateRequest(this.__className+".OpenFolder()");var _943=ITHit.WebDAV.Client.Folder.OpenItem(_942,_940,_941);_942.MarkFinish();return _943;},OpenFolderAsync:function(_944,_945,_946){_945=_945||[];var _947=this.CreateRequest(this.__className+".OpenFolderAsync()");ITHit.WebDAV.Client.Folder.OpenItemAsync(_947,_944,_945,function(_948){_947.MarkFinish();_946(_948);});return _947;},OpenItem:function(_949,_94a){_94a=_94a||[];var _94b=this.CreateRequest(this.__className+".OpenItem()");var _94c=ITHit.WebDAV.Client.HierarchyItem.OpenItem(_94b,_949,_94a);_94b.MarkFinish();return _94c;},OpenItemAsync:function(_94d,_94e,_94f){_94e=_94e||[];var _950=this.CreateRequest(this.__className+".OpenItemAsync()");ITHit.WebDAV.Client.HierarchyItem.OpenItemAsync(_950,_94d,_94e,function(_951){_950.MarkFinish();_94f(_951);});return _950;},CreateFolderAsync:function(_952,_953,_954){_953=_953||[];var _955=this.CreateRequest(this.__className+".CreateFolderAsync()");var _956=ITHit.WebDAV.Client.Encoder.Encode(_952);var _957=ITHit.WebDAV.Client.HierarchyItem.GetHost(_956);ITHit.WebDAV.Client.Methods.Mkcol.GoAsync(_955,_956,_953,_957,function(_958){_955.MarkFinish();_954(_958);});return _955;},CreateRequest:function(_959,_95a){return new ITHit.WebDAV.Client.Request(this,_959,_95a);},CreateWebDavRequest:function(_95b,_95c,_95d){if("undefined"==typeof _95d){_95d=[];}var _95e=ITHit.WebDAV.Client.WebDavRequest.Create(_95c,_95d,this._User,this._Pass,_95b);ITHit.Events.AddListener(_95e,"OnBeforeRequestSend","OnBeforeRequestSendHandler",this);ITHit.Events.AddListener(_95e,"OnResponse","OnResponseHandler",this);return _95e;},OnBeforeRequestSendHandler:function(_95f,_960){ITHit.Events.RemoveListener(_960,"OnBeforeRequestSend","OnBeforeRequestSendHandler",this);return ITHit.Events.DispatchEvent(this,"OnBeforeRequestSend",_95f);},OnResponseHandler:function(_961,_962){var _962=arguments[arguments.length-1];if(this.ServerEngine===null){this.ServerEngine=_961.GetResponseHeader("x-engine",true);}if(this._IsIisDetected===null){var _963=_961.GetResponseHeader("server",true);this._IsIisDetected=(/^Microsoft-IIS\//i.test(_963));}ITHit.Events.RemoveListener(_962,"OnResponse","OnResponseHandler",this);return ITHit.Events.DispatchEvent(this,"OnResponse",_961);},Undelete:function(_964){var _965=this.CreateRequest(this.__className+".Undelete()");_964=ITHit.WebDAV.Client.Encoder.EncodeURI(_964);var _966=ITHit.WebDAV.Client.Methods.Undelete.Go(_965,_964,ITHit.WebDAV.Client.HierarchyItem.GetHost(_964));_965.MarkFinish();return _966;},SetCredentials:function(_967,_968){this._User=_967;this._Pass=_968;},GetIisDetected:function(){return this._IsIisDetected;},GEdit:function(_969,_96a){var _96b=this.CreateRequest(this.__className+".GEdit()");return ITHit.WebDAV.Client.File.GEdit(_96b,_969,_96a);},GEditAsync:function(_96c,_96d,_96e){var _96f=this.CreateRequest(this.__className+".GEditAsync()");ITHit.WebDAV.Client.File.GEditAsync(_96f,_96c,_96d,function(_970){_96e(_970);});return _96f;},GUnlock:function(_971,_972,_973){var _974=this.CreateRequest(this.__className+".GUnlock()");ITHit.WebDAV.Client.File.GUnlock(_974,_971,_972,_973);},GUnlockAsync:function(_975,_976,_977,_978){var _979=this.CreateRequest(this.__className+".GUnlockAsync()");ITHit.WebDAV.Client.File.GUnlockAsync(_979,_975,_976,_977,function(_97a){_978(_97a);});return _979;}});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.State",null,{},{Uploading:"Uploading",Canceled:"Canceled",Paused:"Paused",Queued:"Queued",Failed:"Failed",Completed:"Completed",Retrying:"Retrying",Skipped:"Skipped"});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Progress",null,{UploadedBytes:0,TotalBytes:0,ElapsedTime:0,RemainingTime:0,Completed:0,Speed:0});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.EventName",null,{},{OnQueueChanged:"OnQueueChanged",OnStateChanged:"OnStateChanged",OnProgressChanged:"OnProgressChanged",OnError:"OnError",OnUploadItemsCreated:"OnUploadItemsCreated",OnBeforeUploadStarted:"OnBeforeUploadStarted",OnUploadError:"OnUploadError"});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.BaseEvent",null,{Name:"",Sender:null});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.StateChanged",ITHit.WebDAV.Client.Upload.Events.BaseEvent,{OldState:null,NewState:null,constructor:function(_97b,_97c,_97d){this.Name=ITHit.WebDAV.Client.Upload.Events.EventName.OnStateChanged;this.OldState=_97c;this.NewState=_97d;this.Sender=_97b;}});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.ProgressChanged",ITHit.WebDAV.Client.Upload.Events.BaseEvent,{OldProgress:null,NewProgress:null,constructor:function(_97e,_97f,_980){this.Name=ITHit.WebDAV.Client.Upload.Events.EventName.OnProgressChanged;this.OldProgress=_97f;this.NewProgress=_980;this.Sender=_97e;}});})();(function(){"use strict";var _981=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Controls.HtmlControl",null,{Id:"",HtmlElement:null,constructor:function(_982){this.Id=_982;this.HtmlElement=document.getElementById(_982);},_StopEvent:function(_983){if(_983.preventDefault){_983.preventDefault();}else{_983.returnValue=false;}if(_983.stopPropagation){_983.stopPropagation();}},AddListener:function(_984,_985,_986){_986=_986||null;this._CheckEventNameOtThrow(_984);ITHit.Events.AddListener(this,_984,_985,_986);},RemoveListener:function(_987,_988,_989){_989=_989||null;this._CheckEventNameOtThrow(_987);ITHit.Events.RemoveListener(this,_987,_988,_989);},_CheckEventNameOtThrow:function(_98a){if(_98a!==_981.EVENT_ON_FILE_INPUT_HANDLED){throw new ITHit.WebDAV.Client.Exceptions.NotFoundEventNameException(_98a);}},_RaiseOnFileInputHandled:function(_98b){ITHit.Events.DispatchEvent(this,_981.EVENT_ON_FILE_INPUT_HANDLED,[{Source:this,AsyncResult:_98b}]);}},{EVENT_ON_FILE_INPUT_HANDLED:"OnFileInputHandled"});})();(function(){"use strict";var _98c=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.FSEntry",null,{GetRelativePath:function(){return this._RelativePath;},GetFile:function(){return this._File||null;},IsFolder:function(){return !this._File;},IsFile:function(){return !this.IsFolder();},GetSize:function(){if(this.IsFolder()){return 0;}return this._File.size||this._File.fileSize;},constructor:function(_98d,_98e){this._RelativePath=_98d;this._File=_98e||null;},_RelativePath:"",_File:null},{PathSeparator:"/",CreateFromPathParts:function(_98f,_990){var _991=_98f.join(_98c.PathSeparator);return new ITHit.WebDAV.Client.Upload.FSEntry(_991,_990);}});})();(function(){"use strict";var self=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Controls.FSEntryFactory",null,{},{CreateFromInputAsync:function(_993,_994){if(!!_993.webkitEntries&&_993.webkitEntries.length>0){var _995=this._GetWebkitEntries(_993.webkitEntries);if(_995.length>0){var _996=[];self._ExtractFromWebkitEntriesAsync(_995,_996,_994);return;}}var _997=this.CreateFromFileList(_993.files);_994(ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(_997));},CreateFromDataTransferAsync:function(_998,_999){if(_998.items&&_998.items.length>0){var _99a=this._GetWebkitEntries(_998.items);if(_99a.length>0){var _99b=[];self._ExtractFromWebkitEntriesAsync(_99a,_99b,_999);return;}}var _99c=[];if(_998.files.length>0){_99c=self.CreateFromFileList(_998.files);}_999(ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(_99c));},CreateFromFileList:function(_99d){var _99e=[];for(var i=0;i<_99d.length;i++){var _9a0=_99d[i];var _9a1="/"+(_9a0.webkitRelativePath||_9a0.name);var _9a2=new ITHit.WebDAV.Client.Upload.FSEntry(_9a1,_9a0);_99e.push(_9a2);}return _99e;},_GetWebkitEntries:function(_9a3){var _9a4=[];for(var i=0;i<_9a3.length;i++){var _9a6=_9a3[i];var _9a7=_9a6.webkitGetAsEntry&&_9a6.webkitGetAsEntry();if(_9a7){_9a4.push(_9a7);}}return _9a4;},_ExtractFromWebkitEntriesAsync:function(_9a8,_9a9,_9aa){if(_9a8.length===0){_9a9.push("");var _9ab=new ITHit.WebDAV.Client.Upload.FSEntry.CreateFromPathParts(_9a9);_9aa(ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult([_9ab]));}var _9ac=[];var _9ad=_9a8.length;for(var i=0;i<_9a8.length;i++){var _9af=_9a8[i];self._ExtractFromWebkitEntryAsync(_9af,_9a9.slice(),function(_9b0){_9ad--;if(!_9b0.IsSuccess){_9ad=0;_9aa(_9b0);return;}_9ac=_9ac.concat(_9b0.Result);if(_9ad<=0){_9aa(ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(_9ac));}});}},_ExtractFromWebkitEntryAsync:function(_9b1,_9b2,_9b3){if(_9b1.isDirectory){self._ExtractWebkitDirectoryChildrenAsync(_9b1,_9b2.slice(),function(_9b4){if(_9b4.IsSuccess){_9b3(_9b4);}else{_9b3(ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(_9b4.Result));}});}else{_9b1.file(function(file){_9b2.push(file.name);var _9b6=new ITHit.WebDAV.Client.Upload.FSEntry.CreateFromPathParts(_9b2,file);_9b3(ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(_9b6));},function(_9b7){_9b3(ITHit.WebDAV.Client.AsyncResult.CreateFailedResult(_9b7));});}},_ExtractWebkitDirectoryChildrenAsync:function(_9b8,_9b9,_9ba){var _9bb=_9b8.createReader();_9bb.readEntries(function(_9bc){_9b9.push(_9b8.name);self._ExtractFromWebkitEntriesAsync(_9bc,_9b9,_9ba);},function errorHandler(_9bd){_9ba(ITHit.WebDAV.Client.AsyncResult.CreateFailedResult(_9bd));});}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Controls.DropZone",ITHit.WebDAV.Client.Upload.Controls.HtmlControl,{constructor:function(_9be){this._super(_9be);this.HtmlElement.addEventListener("drop",ITHit.Utils.MakeScopeClosure(this,"_OnDropHandler"),false);this.HtmlElement.addEventListener("dragover",ITHit.Utils.MakeScopeClosure(this,"_OnDragOverHandler"),false);this.HtmlElement.addEventListener("dragenter",ITHit.Utils.MakeScopeClosure(this,"_OnDragEnterHandler"),false);},_OnDropHandler:function(_9bf){this._StopEvent(_9bf);ITHit.WebDAV.Client.Upload.Controls.FSEntryFactory.CreateFromDataTransferAsync(_9bf.dataTransfer,this._RaiseOnFileInputHandled.bind(this));},_OnDragEnterHandler:function(_9c0){this._StopEvent(_9c0);},_OnDragOverHandler:function(_9c1){if(ITHit.DetectBrowser.IE&&(ITHit.DetectBrowser.IE<10)){this._StopEvent(_9c1);}var dt=_9c1.dataTransfer;if(!dt){this._StopEvent(_9c1);}var _9c3=dt.types;if(_9c3){if(_9c3.contains&&!_9c3.contains("Files")){return;}if(_9c3.indexOf&&(-1==_9c3.indexOf("Files"))){return;}}dt.dropEffect="copy";this._StopEvent(_9c1);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Controls.Input",ITHit.WebDAV.Client.Upload.Controls.HtmlControl,{constructor:function(_9c4){this._super(_9c4);this.HtmlElement.addEventListener("change",ITHit.Utils.MakeScopeClosure(this,"_OnChange"),false);},_OnChange:function(_9c5){if(!_9c5.target.value){return;}this._StopEvent(_9c5);ITHit.WebDAV.Client.Upload.Controls.FSEntryFactory.CreateFromInputAsync(_9c5.target,function(_9c6){this._RaiseOnFileInputHandled(_9c6);_9c5.target.value="";}.bind(this));}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Collections.Pair",null,{Key:"",Value:null,constructor:function(sKey,_9c8){this.Key=sKey;this.Value=_9c8;},});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Collections.Map",null,{_UnderLayingObject:null,_Length:0,constructor:function(_9c9){this._UnderLayingObject={};_9c9=_9c9||[];for(var i=0;i<_9c9.length;i++){var _9cb=_9c9[i];this.Set(_9cb.Key,_9cb.Value);}},Clear:function(){this._UnderLayingObject={};this._Length=0;},Delete:function(sKey){if(!this.Has(sKey)){return false;}delete this._UnderLayingObject[sKey];this._Length--;return true;},Entries:function(){var _9cd=[];var _9ce=this.Keys();for(var i=0;i<_9ce.length;i++){var sKey=_9ce[i];_9cd.push(new ITHit.WebDAV.Client.Upload.Collections.Pair(sKey,this._UnderLayingObject[sKey]));}return _9cd;},Get:function(sKey){return this._UnderLayingObject[sKey];},Has:function(sKey){return !!this.Get(sKey);},Keys:function(){var _9d3=[];for(var sKey in this._UnderLayingObject){if(Object.prototype.hasOwnProperty.call(this._UnderLayingObject,sKey)){_9d3.push(sKey);}}return _9d3;},Set:function(sKey,_9d6){if(!this.Has(sKey)){this._Length++;}this._UnderLayingObject[sKey]=_9d6;return this;},Values:function(){var _9d7=[];for(var sKey in this._UnderLayingObject){if(Object.prototype.hasOwnProperty.call(this._UnderLayingObject,sKey)){_9d7.push(this._UnderLayingObject[sKey]);}}return _9d7;},Count:function(){return this._Length;},ForEach:function(_9d9,_9da){var _9db=this.Entries();_9db.forEach(function(_9dc){_9d9.call(_9da,_9dc.Value,_9dc.Key,this);},this);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Providers.UploadDiff",null,{BytesUploaded:0,TimeUpload:0,constructor:function(_9dd,_9de,_9df){this.BytesUploaded=_9dd;this.TimeUpload=_9de;}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Providers.ProgressTracker",null,{_DiffCount:5,_IsCompleted:false,constructor:function(_9e0){this.ResetSpeed();this._Size=_9e0;this._StartPosition=0;this._CurrentProgress=new ITHit.WebDAV.Client.Upload.Progress();this._CurrentProgress.TotalBytes=_9e0;},GetProgress:function(){return this._CurrentProgress;},_CalculateProgress:function(){var _9e1=this._GetSpeed();var _9e2=new ITHit.WebDAV.Client.Upload.Progress();_9e2.TotalBytes=this._Size;_9e2.UploadedBytes=this._BytesUploaded;_9e2.Speed=Math.floor((Math.round(_9e1*10)/10));_9e2.Completed=this._GetUploadedPercents();_9e2.ElapsedTime=Math.floor(this._ElapsedTime);if(_9e1){_9e2.RemainingTime=this._GetRemainingTime(_9e1);}return _9e2;},_GetSpeed:function(){if(!this.IsCountable()){return 0;}var _9e3=this._Diffs.slice(-1*this._DiffCount);var _9e4=0;var _9e5=0;for(var i=0,l=_9e3.length;i<l;i++){_9e4+=_9e3[i].BytesUploaded;_9e5+=_9e3[i].TimeUpload;}var _9e8=_9e4/_9e5;return (_9e8>0)?_9e8:0;},_GetUploadedPercents:function(){if(!this.IsCountable()){return this._IsCompleted?100:0;}return Math.floor((this._BytesUploaded)/(this._Size)*100);},_GetRemainingTime:function(_9e9){var _9ea=Math.ceil((this._Size-this._BytesUploaded)/_9e9);return Math.floor(_9ea);},_Notify:function(){var _9eb=new ITHit.WebDAV.Client.Upload.Events.ProgressChanged(this,this._OldProgress,this._CurrentProgress);ITHit.Events.DispatchEvent(this,"OnProgress",[_9eb]);},UpdateBytes:function(_9ec,_9ed){var oNow=new Date();var _9ef=_9ec+this._StartPosition-this._LastUploadedBytes;var _9f0=(oNow-this._LastReportTime)/1000;var _9f1=new ITHit.WebDAV.Client.Upload.Providers.UploadDiff(_9ef,_9f0);this._Diffs.push(_9f1);this._BytesUploaded=_9ec+this._StartPosition;this._LastUploadedBytes=_9ec+this._StartPosition;this._LastReportTime=oNow;this._ElapsedTime+=_9f0;this._OldProgress=this._CurrentProgress;this._CurrentProgress=this._CalculateProgress();this._Notify();},IsCountable:function(){return this._Size!==0;},_Set:function(_9f2,_9f3){var oNow=new Date();var _9f5=(oNow-this._LastReportTime)/1000;this.ResetSpeed();this._BytesUploaded=_9f2;this._LastUploadedBytes=0;this._LastReportTime=oNow;this._ElapsedTime+=_9f5;this._OldProgress=this._CurrentProgress;this._CurrentProgress=this._CalculateProgress();this._Notify();},OnProgressChanged:function(_9f6,_9f7){ITHit.Events.AddListener(this,"OnProgress",_9f6,_9f7);},IsCompleted:function(){return this._BytesUploaded===this._Size;},Reset:function(){this._StartPosition=0;this._BytesUploaded=0;this._OldProgress=this._CurrentProgress;this._CurrentProgress=this._CalculateProgress();this._Notify();},StartTracking:function(_9f8){_9f8=_9f8||this._CurrentProgress.UploadedBytes;this._StartPosition=_9f8;},StopTracking:function(){this.ResetSpeed();this._OldProgress=this._CurrentProgress;this._CurrentProgress.Speed=0;this._Notify();},SyncProgress:function(_9f9){if(_9f9.BytesUploaded<this._StartPosition){this.ResetSpeed();this._StartPosition=_9f9.BytesUploaded;}this._Set(_9f9.BytesUploaded,_9f9.TotalContentLength);},ResetSpeed:function(_9fa){this._LastReportTime=_9fa||new Date();this._LastUploadedBytes=0;this._Diffs=[];},ResetIfComplete:function(){if(this.IsCompleted()){this.Reset();}},SetCompleted:function(){this.UpdateBytes(this._Size,this._Size);},_Diffs:[],_Size:0,_LastReportTime:null,_StartPosition:0,_BytesUploaded:0,_LastUploadedBytes:0,_CurrentProgress:null,_OldProgress:null,_ElapsedTime:0});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.AsyncEvent",null,{constructor:function(_9fb,_9fc){this.Sender=_9fb;this._HandledCallback=_9fc||ITHit.Utils.NoOp;this._IsHandled=false;},Name:"",Sender:null,_HandledCallback:null,_Handle:function(_9fd){if(this._IsHandled){return;}this._IsHandled=true;this._HandledCallback(_9fd);},GetIsHandled:function(){return this._IsHandled;},_IsHandled:false});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.BeforeUploadStarted",ITHit.WebDAV.Client.Upload.Events.AsyncEvent,{Skip:function(){if(this._IsHandled){return;}this.Sender.SetSkip();this._Handle();},Overwrite:function(){if(this._IsHandled){return;}if(!this.Sender.IsFolder()){this.Sender.SetOverwrite(true);}this._Handle();},SkipAll:function(){if(this._IsHandled){return;}var _9fe=this.Sender.GetGroup();if(_9fe){_9fe.GetItems().forEach(function(_9ff){_9ff.SetSkip();});}else{this.Sender.SetSkip();}this._Handle();},OverwriteAll:function(){if(this._IsHandled){return;}var _a00=this.Sender.GetGroup();if(_a00){_a00.GetItems().forEach(function(_a01){_a01.SetOverwrite(true);});}else{this.Sender.SetOverwrite(true);}this._Handle();},Upload:function(){if(this._IsHandled){return;}this._Handle();},constructor:function(_a02,_a03){this.Name=ITHit.WebDAV.Client.Upload.Events.EventName.OnBeforeUploadStarted;this._super(_a02,_a03);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Path.PathCache",null,{constructor:function(){this._UrlMap=new ITHit.WebDAV.Client.Upload.Collections.Map();},Has:function(oUrl){return this._UrlMap.Has(oUrl.GetHref());},Add:function(oUrl){this._UrlMap.Set(oUrl.GetHref(),oUrl);},Delete:function(oUrl){this._UrlMap.Delete(oUrl.GetHref());},_UrlMap:null});})();(function(){"use strict";var _a07=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Groups.Group",null,{ID:0,IDString:"",constructor:function(_a08,_a09){this._ItemGroupMap=_a08;this._GroupItemMap=_a09;this.ID=++_a07._GroupCounter;this.IDString=this.ID.toString();this.PathMap=new ITHit.WebDAV.Client.Upload.Path.PathCache();},AddRange:function(_a0a){var _a0b=this._GroupItemMap.Get(this.IDString);_a0a.forEach(function(_a0c){this._ItemGroupMap.Set(_a0c.GetUrl(),this);_a0b.push(_a0c);}.bind(this));},GetItems:function(){return this._GroupItemMap.Get(this.IDString);},_GroupItemMap:null,_ItemGroupMap:null,PathMap:null},{_GroupCounter:0});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Groups.GroupManager",null,{constructor:function(){this._GroupItemMap=new ITHit.WebDAV.Client.Upload.Collections.Map();this._ItemGroupMap=new ITHit.WebDAV.Client.Upload.Collections.Map();},CreateGroup:function(_a0d){_a0d=_a0d||[];var _a0e=new ITHit.WebDAV.Client.Upload.Groups.Group(this._ItemGroupMap,this._GroupItemMap);this._GroupItemMap.Set(_a0e.IDString,[]);_a0e.AddRange(_a0d);return _a0e;},GetGroupByItem:function(_a0f){return this._ItemGroupMap.Get(_a0f.GetUrl());},_GroupItemMap:null,_ItemGroupMap:null});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Utils.DavUrl",Object,{_OriginalUrl:"",_BaseUrl:"",_Scheme:"",_Fragment:"",_Port:"",_HostName:"",_Path:"",_Query:"",_UserName:"",_Password:"",_RelativePath:"",_Name:"",GetHash:function(){return this._Fragment;},GetHost:function(){if(this._Port){return this._HostName+this._PortSeparator+this._Port;}return this._HostName;},GetOrigin:function(){return this.GetProtocol()+this.GetHost();},GetHostName:function(){return this._HostName;},GetPort:function(){return this._Port;},GetProtocol:function(){return this._Scheme;},GetQuery:function(){return this._Query;},GetName:function(){return this._Name;},GetRelativePath:function(){return this._RelativePath;},GetHref:function(){return this._OriginalUrl;},GetBaseUrl:function(){return this._BaseUrl;},toString:function(){return this._OriginalUrl;},Clone:function(){return new ITHit.WebDAV.Client.Upload.Utils.DavUrl(this._RelativePath,this._BaseUrl);},_ParseAuthPartsUndetectedScheme:function(_a10){var _a11=_a10.split(":");if(_a11.length===3){this._Scheme=_a11[0]+":";this._UserName=_a11[1];this._Password=_a11[2];}else{if(_a11.length===2){this._Scheme=_a11[0];this._UserName=_a11[1];}else{this._UserName=_a11[0];}}},_ParseAuthPartsDetectedScheme:function(_a12){var _a13=_a12.split(":");if(_a13.length===2){this._UserName=_a13[0];this._Password=_a13[1];}else{this._UserName=_a13[0];}},ParseAuthorityWithScheme:function(_a14,_a15){var _a16=_a14.match(this._PortRexEx);if(_a16){this._Port=_a16[0].slice(1);_a14=_a14.slice(0,-_a16[0].length);}var _a17=_a14.split("@");if(_a17.length>1){this._HostName=_a17[1];if(!_a15){this._ParseAuthPartsUndetectedScheme(_a17[0]);}else{this._ParseAuthPartsDetectedScheme(_a17[0]);}return;}var _a18=_a17[0].split(":");if(_a18.length>1){this._Scheme=_a18[0]+":";this._HostName=_a18[1];return;}this._HostName=_a14;},_ParseTrailingPathPart:function(_a19){var _a1a=_a19.split(this._FragmentSeparator);if(_a1a.length>1){this._Fragment=this._FragmentSeparator+_a1a[1];}var _a1b=_a1a[0].split("?");if(_a1b.length>1){this._Query=_a1b[1];return _a1b[0];}return _a1b[0];},_ParseUrl:function(sUrl){var _a1d=sUrl.split(this._DashedSchemeSeparator);if(_a1d.length>1){this._Scheme=_a1d[0]+this._DashedSchemeSeparator;this._IsDashedScheme=true;_a1d.splice(0,1);}var _a1e=_a1d[0].split(this._PathSeparator);_a1e=ITHit.Utils.FilterBy(_a1e,function(_a1f){return _a1f!=="";});this.ParseAuthorityWithScheme(_a1e[0],this._IsDashedScheme);_a1e.splice(0,1);if(_a1e.length===0){return;}var _a20=[];for(var i=0;i<_a1d.length-1;i++){_a20.push(_a1e[i]);}var _a22=this._ParseTrailingPathPart(_a1e[_a1e.length-1]);_a20.push(_a22);this._Name=_a22;this._Path=this._PathSeparator+_a20.join(this._PathSeparator);this._RelativePath=this._RelativePath||this._Path;},constructor:function(sUrl,_a24){this._BaseUrl=_a24||"";this._OriginalUrl=sUrl;if(!!_a24){this._RelativePath=this._PathSeparator+this._GetWithoutLeadingSeparator(sUrl);this._OriginalUrl=this._GetWithoutTrailingSeparator(_a24)+this._RelativePath;}this._ParseUrl(this._OriginalUrl);},_PathSeparator:"/",_DashedSchemeSeparator:"://",_FragmentSeparator:"#",_PortRexEx:/:\d+$/,_IsDashedScheme:false,_PortSeparator:":",_GetWithoutTrailingSeparator:function(_a25){var _a26=_a25.slice(-1);if(_a26===this._PathSeparator){return _a25.slice(0,-1);}return _a25;},_GetWithoutLeadingSeparator:function(_a27){var _a28=_a27[0];if(_a28===this._PathSeparator){return _a27.substring(1);}return _a27;}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.UploadItem",null,{GetFile:function(){return this._UploadProvider.FSEntry.GetFile();},GetUrl:function(){return this._UploadProvider.Url.GetHref();},GetBaseUrl:function(){return this._UploadProvider.Url.GetBaseUrl();},GetName:function(){return this._UploadProvider.Url.GetName();},GetRelativePath:function(){return this._UploadProvider.Url.GetRelativePath();},IsFolder:function(){return this._UploadProvider.FSEntry.IsFolder();},GetSource:function(){return this._Source;},GetState:function(){return this._UploadProvider.GetState().GetAsEnum();},GetProgress:function(){return this._UploadProvider.GetProgress();},GetErrors:function(){return this._UploadProvider.Errors.slice();},GetLastError:function(){return this._UploadProvider.LastError;},OnUploadStartedCallback:null,OnUploadErrorCallback:null,CustomData:null,SetOverwrite:function(_a29){this._UploadProvider.Settings.ForceRewrite=_a29;},AddHeader:function(_a2a,_a2b){this._UploadProvider.Settings.CustomHeaders=this._UploadProvider.Settings.CustomHeaders||[];var _a2c=ITHit.Utils.FindBy(this._UploadProvider.Settings.CustomHeaders,function(_a2d){return _a2d.name===_a2a;});if(_a2c){_a2c.value=_a2b;}else{this._UploadProvider.Settings.CustomHeaders.push({name:_a2a,value:_a2b});}},SetRewrite:function(_a2e){this.SetOverwrite(_a2e);},GetOverwrite:function(){return this._UploadProvider.Settings.ForceRewrite;},GetRewrite:function(){return this.GetOverwrite();},SetDeleteOnCancel:function(_a2f){if(this.IsFolder()&&_a2f===true){throw new ITHit.Exceptions.ArgumentException(null,"bDelete");}this._UploadProvider.Settings.DeleteOnCancel=_a2f;},GetDeleteOnCancel:function(){return this._UploadProvider.Settings.DeleteOnCancel;},SetSkip:function(){this._UploadProvider.Skip();},SetFailed:function(_a30){if(!(_a30 instanceof ITHit.WebDAV.Client.Exceptions.WebDavException)){var _a31=ITHit.Phrases.WrongParameterType.Paste("ITHit.WebDAV.Client.Exceptions.WebDavException");throw new ITHit.Exceptions.ArgumentException(_a31,"oError");}this._UploadProvider.SetFailed(_a30);},_SetProgress:function(_a32){var _a33=new ITHit.WebDAV.Client.Upload.Events.ProgressChanged(this,_a32.OldProgress,_a32.NewProgress);ITHit.Events.DispatchEvent(this,_a33.Name,_a33);},_Source:null,_UploadProvider:null,constructor:function(sUrl,_a35,_a36,_a37,_a38,_a39){this._Source=_a36||null;this._GroupManager=_a38;var _a3a=new ITHit.WebDAV.Client.Upload.Utils.DavUrl(ITHit.WebDAV.Client.Encoder.Encode(_a35.GetRelativePath()),sUrl);this._UploadProvider=new ITHit.WebDAV.Client.Upload.Providers.UploadProvider(_a37,this,_a35,_a3a,_a39);this._UploadProvider.AddListener("OnProgressChanged",this._SetProgress,this);this._UploadProvider.AddListener("OnStateChanged",this._OnStateChangedEventHandler,this);this._UploadProvider.AddListener("OnError",this._OnErrorEventHandler,this);this.CustomData={};},StartAsync:function(_a3b){_a3b=_a3b||function(){};if(this.GetState()!==ITHit.WebDAV.Client.Upload.State.Paused){var that=this;this._GetUploadBehaviourAsync(function(){if(that.GetState()===ITHit.WebDAV.Client.Upload.State.Skipped){_a3b();}else{that._UploadProvider.StartUploadAsync(_a3b);}});}else{this._UploadProvider.StartUploadAsync(_a3b);}},PauseAsync:function(_a3d){_a3d=_a3d||function(){};this._UploadProvider.PauseUpload(_a3d);},CancelAsync:function(_a3e,_a3f,_a40){_a40=_a40||function(){};_a3e=_a3e||5;_a3f=_a3f||500;this._UploadProvider.AbortUpload(_a3e,_a3f,_a40);},GetSize:function(){return this._UploadProvider.FSEntry.GetSize();},_GetUploadBehaviourAsync:function(_a41){var _a42=new ITHit.WebDAV.Client.Upload.Events.BeforeUploadStarted(this,_a41);if(this.OnUploadStartedCallback){this.OnUploadStartedCallback(_a42);}else{if(ITHit.Events.ListenersLength(this,_a42.Name)!==0){ITHit.Events.DispatchEvent(this,_a42.Name,_a42);}else{_a41();}}},AddListener:function(_a43,_a44,_a45){this._ValidateEventName(_a43);_a45=_a45||null;ITHit.Events.AddListener(this,_a43,_a44,_a45);},RemoveListener:function(_a46,_a47,_a48){this._ValidateEventName(_a46);_a48=_a48||null;ITHit.Events.RemoveListener(this,_a46,_a47,_a48);},_ValidateEventName:function(_a49){switch(_a49){case ITHit.WebDAV.Client.Upload.Events.EventName.OnStateChanged:case ITHit.WebDAV.Client.Upload.Events.EventName.OnProgressChanged:case ITHit.WebDAV.Client.Upload.Events.EventName.OnError:case ITHit.WebDAV.Client.Upload.Events.EventName.OnBeforeUploadStarted:case ITHit.WebDAV.Client.Upload.Events.EventName.OnUploadError:break;default:throw new ITHit.Exceptions.ArgumentException("Not found event name `"+_a49+"`");}},GetGroup:function(){return this._GroupManager.GetGroupByItem(this);},_GroupManager:null,_OnStateChangedEventHandler:function(_a4a){var _a4b=new ITHit.WebDAV.Client.Upload.Events.StateChanged(this,_a4a.OldState,_a4a.NewState);ITHit.Events.DispatchEvent(this,_a4b.Name,_a4b);},_OnErrorEventHandler:function(_a4c){var _a4d=new ITHit.WebDAV.Client.Upload.Events.Error(this,_a4c.Error);ITHit.Events.DispatchEvent(this,_a4d.Name,_a4d);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.QueueChanged",ITHit.WebDAV.Client.Upload.Events.BaseEvent,{AddedItems:[],RemovedItems:[],constructor:function(_a4e,_a4f,_a50){this.Name=ITHit.WebDAV.Client.Upload.Events.EventName.OnQueueChanged;this.AddedItems=_a4f||[];this.RemovedItems=_a50||[];this.Sender=_a4e;}});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.FileSpan",null,{GetStart:function(){return this._Start;},SetStart:function(_a51){if(this._End&&_a51>this._End){throw new ITHit.Exceptions.ArgumentException("Start cant be bigger than end","iStart");}this._Start=_a51;},GetEnd:function(){return this._End;},SetEnd:function(iEnd){if(iEnd<this._Start){throw new ITHit.Exceptions.ArgumentException("End cant be smaller than start","iEnd");}this._End=iEnd||this._Blob.size;},_Start:0,_End:0,_Blob:null,constructor:function(_a53,_a54,iEnd){this._SetBlob(_a53);this.SetStart(_a54);this.SetEnd(iEnd||_a53.size);},_SetBlob:function(_a56){this._Blob=_a56;this._Start=0;this._End=_a56.size;},IsFullFile:function(){return this._Start===0&&this._End===this._Blob.size;},IsPartFile:function(){return !this.IsFullFile();},GetSlice:function(){if(this.IsFullFile()){return this._Blob;}return this._Blob.slice(this._Start,this.End);},GetFile:function(){return this._Blob;},GetFullSize:function(){return this._Blob.size;}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.UploadLocation",null,{constructor:function(_a57,oUrl){this._FolderGenerator=_a57;this._Url=oUrl;this._PathMap=new ITHit.WebDAV.Client.Upload.Path.PathCache();},CreateAsync:function(_a59,_a5a){var _a5b=function(_a5c){delete this._CancellationCallback;_a59.call(_a5a,_a5c);};this._CancellationCallback=this._FolderGenerator.GeneratePathAsync(this._PathMap,this._Url,_a5b,this);},IsExists:function(){return this._PathMap.Has(this._Url);},SetNotExists:function(){var _a5d=this._GetAncestorsPaths(this._Url);_a5d.forEach(function(oUrl){this._PathMap.Delete(oUrl);},this);},IsInProgress:function(){return !!this._CancellationCallback;},AbortRunningCreationAsync:function(_a5f,_a60){if(!this._CancellationCallback){_a5f.call(_a60);return;}this._CancellationCallback(function(){_a5f.call(_a60);},this);},GetCache:function(){return this._PathMap;},SetCache:function(_a61){this._PathMap=_a61;},_CancellationCallback:null,_FolderGenerator:null,_PathMap:null,_Url:null,_GetAncestorsPaths:function(oUrl){var _a63=oUrl.GetRelativePath().split("/");if(_a63.length===0){return [];}if(_a63[_a63.length-1]===""){_a63=_a63.slice(0,-1);}var _a64=[];var path="";for(var i=0;i<_a63.length-1;i++){if(path!==""){path+="/";}path+=_a63[i];_a64.push(new ITHit.WebDAV.Client.Upload.Utils.DavUrl(path,oUrl.GetBaseUrl()));}return _a64;}});})();(function(){"use strict";var self=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.ContentWriter",null,{Url:null,constructor:function(_a68,oUrl){this._Session=_a68;this.Url=oUrl;},SetProgressDebounce:function(_a6a){this._ReportPeriod=_a6a;},BeginWrite:function(_a6b){this._InitializeRequestContext();var _a6c=null;if(_a6b.IsFolder()){_a6c=this._CreateMKCOLRequest();this._AddCustomHeaders(_a6c);this._RequestContext.AddListener("OnError",this._OnErrorEventHandler,this);_a6c.GetResponse(this._OnResponse.bind(this));this._RaiseOnStartEvent();return;}_a6c=this._CreatePutRequest(_a6b);_a6c.Headers.Add("Overwrite","F");this._AddCustomHeaders(_a6c);this._RequestContext.AddListener("OnError",this._OnErrorEventHandler,this);_a6c.GetResponse(this._OnResponse.bind(this));this._RaiseOnStartEvent();},BeginRewrite:function(_a6d){this._InitializeRequestContext();var _a6e=null;if(_a6d.IsFolder()){_a6e=this._CreateMKCOLRequest();this._AddCustomHeaders(_a6e);this._RequestContext.AddListener("OnError",this._OnMKCOLRewriteErrorEventHandler,this);_a6e.GetResponse(this._OnMKCOLRewriteResponse.bind(this));this._RaiseOnStartEvent();}else{_a6e=this._CreatePutRequest(_a6d);_a6e.Headers.Add("Overwrite","T");this._AddCustomHeaders(_a6e);this._RequestContext.AddListener("OnError",this._OnErrorEventHandler,this);_a6e.GetResponse(this._OnResponse.bind(this));this._RaiseOnStartEvent();}},BeginAppend:function(_a6f){this._InitializeRequestContext();var _a70=this._CreatePutAppendRequest(_a6f);_a70.Headers.Add("Overwrite","T");this._AddCustomHeaders(_a70);this._RequestContext.AddListener("OnError",this._OnErrorEventHandler,this);_a70.GetResponse(this._OnResponse.bind(this));this._RaiseOnStartEvent();},AbortAsync:function(_a71,_a72){if(this._RequestContext){this._RequestContext.RemoveListener(ITHit.WebDAV.Client.Request.EVENT_ON_UPLOAD_PROGRESS,this._OnProgressEventHandler,this);this._RequestContext.AbortAsync(_a71,_a72);}},AddListener:function(_a73,_a74,_a75){_a75=_a75||null;this._ValidateEventName(_a73);ITHit.Events.AddListener(this,_a73,_a74,_a75);},RemoveListener:function(_a76,_a77,_a78){_a78=_a78||null;this._ValidateEventName(_a76);ITHit.Events.RemoveListener(this,_a76,_a77,_a78);},_AddCustomHeaders:function(_a79){if(!this.CustomHeaders){return;}var _a7a=[];var _a7b=_a79.Headers.GetAll();this.CustomHeaders.forEach(function(_a7c){if(_a7a.indexOf(_a7c.name)<0&&!_a7b.hasOwnProperty(_a7c.name)){_a79.Headers.Add(_a7c.name,_a7c.value);_a7a.push(_a7c.name);}});},_ValidateEventName:function(_a7d){switch(_a7d){case self.EVENT_ON_PROGRESS:case self.EVENT_ON_ERROR:case self.EVENT_ON_FINISH:case self.EVENT_ON_START:break;default:throw new ITHit.Exceptions.ArgumentException("Not found event name `"+_a7d+"`");}},_InitializeRequestContext:function(){if(this.IsActive()){throw new ITHit.Exceptions("Content write already in progress");}this._RequestContext=this._Session.CreateRequest(this.__className);this._RequestContext.AddListener(ITHit.WebDAV.Client.Request.EVENT_ON_UPLOAD_PROGRESS,this._OnProgressEventHandler,this);},_CreateMKCOLRequest:function(){var _a7e=this._RequestContext.CreateWebDavRequest(ITHit.WebDAV.Client.Encoder.Encode(this.Url.GetOrigin()),this.Url.GetHref());_a7e.Method("MKCOL");this._SetDefaultHeaders(_a7e);return _a7e;},_OnMKCOLRewriteResponse:function(_a7f){if(this._IsConflictResult(_a7f)){_a7f=this._TransformToSuccess(_a7f);}this._OnResponse(_a7f);},_OnMKCOLRewriteErrorEventHandler:function(_a80){if(_a80.Error instanceof ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException){return;}},_OnResponse:function(_a81){if(_a81.IsAborted){_a81=ITHit.WebDAV.Client.CancellableResult.CreateAbortedResult(_a81.Error);this._RequestContext.MarkAbort();}else{_a81=ITHit.WebDAV.Client.CancellableResult.CreateFromAsyncResultResult(_a81);this._RequestContext.MarkFinish();}this._RaiseOnFinishEvent(_a81);this._RemoveRequestContextEventListeners();},_CreatePutRequest:function(_a82){var _a83=this._RequestContext.CreateWebDavRequest(ITHit.WebDAV.Client.Encoder.Encode(this.Url.GetOrigin()),this.Url.GetHref());_a83.Method("PUT");if(_a82.GetFile().type){_a83.Headers.Add("Content-Type",_a82.GetFile().type);}_a83.BodyBinary(_a82.GetFile());this._SetDefaultHeaders(_a83);return _a83;},_CreatePutAppendRequest:function(_a84){var _a85=this._RequestContext.CreateWebDavRequest(ITHit.WebDAV.Client.Encoder.Encode(this.Url.GetOrigin()),this.Url.GetHref());_a85.Method("PUT");if(_a84.GetFile().type){_a85.Headers.Add("Content-Type",_a84.GetFile().type);}if(_a84.IsPartFile()){_a85.Headers.Add("Content-Range",this._GetRangeHeader(_a84));_a85.BodyBinary(_a84.GetSlice());}else{_a85.BodyBinary(_a84.GetFile());}this._SetDefaultHeaders(_a85);return _a85;},_GetRangeHeader:function(_a86){return "bytes "+_a86.GetStart()+"-"+(_a86.GetEnd()-1)+"/"+_a86.GetFullSize();},_TransformToSuccess:function(_a87){return new ITHit.WebDAV.Client.AsyncResult(_a87.Error,true,null);},_IsConflictResult:function(_a88){return _a88.Error instanceof ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException;},_RaiseOnProgressEvent:function(_a89){ITHit.Events.DispatchEvent(this,self.EVENT_ON_PROGRESS,[{Progress:_a89,Uploader:this}]);},_RaiseOnErrorEvent:function(_a8a){ITHit.Events.DispatchEvent(this,self.EVENT_ON_ERROR,[{Error:_a8a,Uploader:this}]);},_RaiseOnFinishEvent:function(_a8b){ITHit.Events.DispatchEvent(this,self.EVENT_ON_FINISH,[{Uploader:this,Result:_a8b}]);},_RaiseOnStartEvent:function(){ITHit.Events.DispatchEvent(this,self.EVENT_ON_START,[{Uploader:this}]);},_OnProgressEventHandler:function(_a8c){var iNow=new Date().getTime();if(iNow-this._LastReportTime>this._ReportPeriod||_a8c.Progress.BytesTotal===_a8c.Progress.BytesLoaded){this._RaiseOnProgressEvent(_a8c.Progress);this._LastReportTime=iNow;}},_OnErrorEventHandler:function(_a8e){this._RaiseOnErrorEvent(_a8e.Error);},_RemoveRequestContextEventListeners:function(){ITHit.Events.RemoveAllListeners(this._RequestContext,"OnUploadProgress");ITHit.Events.RemoveAllListeners(this._RequestContext,"OnError");delete this._RequestContext;},_SetDefaultHeaders:function(_a8f){_a8f.Headers.Add("If-Modified-Since","Mon, 26 Jul 1997 05:00:00 GMT");_a8f.Headers.Add("X-Requested-With","XMLHttpRequest");},IsActive:function(){return !!this._RequestContext;},_Session:null,_RequestContext:null,_ReportPeriod:1000,_LastReportTime:0},{EVENT_ON_PROGRESS:"OnProgress",EVENT_ON_ERROR:"OnError",EVENT_ON_FINISH:"OnFinish",EVENT_ON_START:"OnStart"});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Path.Generator",null,{constructor:function(_a90){this._Session=_a90;this._WorkList=new ITHit.WebDAV.Client.Upload.Collections.Map();},_SendRequest:function(oUrl){var _a92=this._Session.CreateRequest(this.__className+".GeneratePathAsync()");ITHit.WebDAV.Client.Methods.Mkcol.GoAsync(_a92,oUrl.toString(),[],ITHit.WebDAV.Client.Encoder.Encode(oUrl.GetHost()),function(_a93){if(_a93.IsAborted){_a92.MarkAbort();}else{_a92.MarkFinish();}this._CallAwaiters(oUrl,_a93);}.bind(this));return _a92;},_RecurrentGenerate:function(_a94,_a95,_a96,_a97){var _a98=null;var _a99=null;var _a9a=function(_a9b,_a9c){if(!!_a98){_a98.AbortAsync(_a9b,_a9c);return;}if(!!_a99){_a99(_a9b,_a9c);}_a9b.call(_a97);};var _a9d=_a95.slice();var _a9e=[];while(_a9d.length>0){var oUrl=_a9d[0];if(!_a94.Has(oUrl)){break;}_a9e.push(oUrl);_a9d.splice(0,1);}if(_a9d.length===0){_a96.call(_a97,ITHit.WebDAV.Client.CancellableResult.CreateSuccessfulResult(_a9e));return _a9a;}var _aa0=_a9d.shift();if(!this._IsInWork(_aa0)){_a98=this._SendRequest(_aa0);}this._AddAwaiter(_aa0,function(_aa1){if(!_aa1.IsSuccess&&!this._IsConflictResult(_aa1)){_a96.call(_a97,_aa1);return;}_a94.Add(_aa0);_a9e.push(oUrl);_a98=null;_a99=this._RecurrentGenerate(_a94,_a9d,function(_aa2){if(_aa2.IsSuccess||this._IsConflictResult(_aa1)){_aa2.Result.concat(_a9e);_aa2=ITHit.WebDAV.Client.CancellableResult.CreateSuccessfulResult(_a9e);}_a99=null;_a96.call(_a97,_aa2);return;},this);}.bind(this));return _a9a;},GeneratePathAsync:function(_aa3,oUrl,_aa5,_aa6){var _aa7=this._GetAncestorsPaths(oUrl);if(_aa7.length===0){return _aa5.call(_aa6,ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult([]));}return this._RecurrentGenerate(_aa3,_aa7,_aa5,_aa6);},_Session:null,_WorkList:null,_GetAncestorsPaths:function(oUrl){var _aa9=oUrl.GetRelativePath().split("/");if(_aa9.length===0){return [];}if(_aa9[_aa9.length-1]===""){_aa9=_aa9.slice(0,-1);}var _aaa=[];var path="";for(var i=0;i<_aa9.length-1;i++){if(path!==""){path+="/";}path+=_aa9[i];_aaa.push(new ITHit.WebDAV.Client.Upload.Utils.DavUrl(path,oUrl.GetBaseUrl()));}return _aaa;},_IsInWork:function(oUrl){var _aae=this._WorkList.Get(oUrl.toString());return _aae&&(_aae.length>0);},_AddAwaiter:function(oUrl,_ab0){var _ab1=this._WorkList.Get(oUrl.toString());var _ab2=[];if(_ab1){_ab2=_ab2.concat(_ab1);}_ab2.push(_ab0);this._WorkList.Set(oUrl.toString(),_ab2);},_CallAwaiters:function(oUrl,_ab4){var _ab5=this._WorkList.Get(oUrl.toString());this._WorkList.Delete(oUrl.toString());_ab5.forEach(function(_ab6){_ab6(_ab4);});},_IsConflictResult:function(_ab7){if(_ab7.IsSuccess){return false;}if(_ab7.Error&&_ab7.Error instanceof ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException){return true;}return false;}});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.UploaderSession",ITHit.WebDAV.Client.WebDavSession,{ExistsFolders:[],GetProgressReportAsync:function(sUrl,_ab9,_aba){var _abb=this.CreateRequest(this.__className+".ReportAsync()");var _abc=ITHit.WebDAV.Client.HierarchyItem.GetHost(sUrl);ITHit.WebDAV.Client.Methods.Report.GoAsync(_abb,sUrl,_abc,null,null,function(_abd){_abb.MarkFinish();_ab9.call(_aba,_abd);});return _abb;},CancelUploadAsync:function(sUrl,_abf){var _ac0=this.CreateRequest(this.__className+".CancelUpload()");var _ac1=ITHit.WebDAV.Client.HierarchyItem.GetHost(sUrl);ITHit.WebDAV.Client.Methods.CancelUpload.GoAsync(_ac0,sUrl,[],_ac1,function(_ac2){_ac0.MarkFinish();var _ac3=new ITHit.WebDAV.Client.AsyncResult(true,true,null);if(_ac2.Error instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){_ac3=new ITHit.WebDAV.Client.AsyncResult(true,true,null);}else{if(!_ac2.IsSuccess){_ac3=new ITHit.WebDAV.Client.AsyncResult(_ac2.IsSuccess,_ac2.IsSuccess,_ac2.Error);}}_abf(_ac3);});return _ac0;},CheckExistsAsync:function(sUrl,_ac5,_ac6){_ac5=_ac5||function(){};return this.OpenItemAsync(ITHit.WebDAV.Client.Encoder.Encode(sUrl),[],function(_ac7){var _ac8=new ITHit.WebDAV.Client.AsyncResult(true,true,null);if(_ac7.Error instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){_ac8=new ITHit.WebDAV.Client.AsyncResult(false,true,null);}else{if(!_ac7.IsSuccess){_ac8=new ITHit.WebDAV.Client.AsyncResult(_ac7.IsSuccess,_ac7.IsSuccess,_ac7.Error);}}_ac5.call(_ac6,_ac8);});},DeleteAsync:function(_ac9,_aca,_acb){_aca=_aca||null;var _acc=ITHit.WebDAV.Client.HierarchyItem.GetHost(_ac9);var _acd=this.CreateRequest(this.__className+".DeleteAsync()");ITHit.WebDAV.Client.Methods.Delete.GoAsync(_acd,_ac9,_aca,_acc,function(_ace){if(!_ace.IsSuccess&&_ace.Error instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){_ace=new ITHit.WebDAV.Client.AsyncResult(true,true,null);}_acd.MarkFinish();_acb(_ace);});return _acd;},CreateFolderRangeAsync:function(_acf,_ad0,_ad1,_ad2){_ad0=_ad0||null;_ad1=_ad1||ITHit.Utils.NoOp;var _ad3=_acf.length;var _ad4=this.CreateRequest(this.__className+".CreateFolderRangeAsync()",_ad3);this._PerformCreateFolderRangeMethodAsync(_ad4,_acf,_ad0,function(_ad5){_ad4.MarkFinish();_ad1.call(_ad2,_ad5);});return _ad4;},_PerformCreateFolderRangeMethodAsync:function(_ad6,_ad7,_ad8,_ad9,_ada){_ad9=_ad9||ITHit.Utils.NoOp;_ad7=_ad7.slice();var _adb=_ad7.unshift();var _adc=ITHit.WebDAV.Client.Encoder.Encode(_adb.GetHref());var _add=ITHit.WebDAV.Client.Encoder.Encode(_adb.GetHost());ITHit.WebDAV.Client.Methods.Mkcol.GoAsync(_ad6,_adc,_ad8,_add,function(_ade){if(_ade.IsSuccess||_ade.Error instanceof ITHit.WebDAV.Client.Exceptions.MethodNotAllowedException){_ade=new ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult([_adb]);}if(_ad7.length>0&&_ade.IsSuccess){this._PerformCreateFolderRangeMethodAsync(_ad6,_ad7,_ad8,function(_adf){if(_adf.IsSuccess){_adf.Result.push(_adb);}_ad9.call(_ada,_adf);return;},this);}else{_ad9.call(_ada,_ade);return;}});},CreateUploadLocation:function(oUrl){return new ITHit.WebDAV.Client.Upload.UploadLocation(this.GetPathGenerator(),oUrl);},CreateContentWriter:function(oUrl){return new ITHit.WebDAV.Client.Upload.ContentWriter(this,oUrl);},GetPathGenerator:function(){if(!this._PathGenerator){this._PathGenerator=new ITHit.WebDAV.Client.Upload.Path.Generator(this);}return this._PathGenerator;},_PathGenerator:null});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Utils.RepeatableActionContext",null,{_RoundsCount:0,_IsActive:true,_Handler:null,_EndHandler:null,_RepeatTime:0,constructor:function(_ae2,_ae3,_ae4,_ae5){this._RoundsCount=_ae2;this._Handler=_ae4;this._EndHandler=_ae5;this._IsActive=!!_ae2;this._RepeatTime=_ae3;},Stop:function(_ae6){this._IsActive=false;this._RoundsCount=0;this._EndHandler(_ae6);},_RunRound:function(){if(this._IsActive){this._Handler(this);}else{this.Stop();}},EndRound:function(_ae7){this._RoundsCount--;if(this._RoundsCount===0){this.Stop(_ae7);}else{setTimeout(this._RunRound.bind(this),this._RepeatTime);}}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Utils.RepeatableAction",null,{_Action:null,constructor:function(_ae8){this._Action=_ae8;},RunAsync:function(_ae9,_aea,_aeb){var _aec=new ITHit.WebDAV.Client.Upload.Utils.RepeatableActionContext(_ae9,_aea,this._Action,_aeb);_aec._RunRound();}});})();(function(){"use strict";var self=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.UploadError",ITHit.WebDAV.Client.Upload.Events.AsyncEvent,{Error:null,Skip:function(){if(this._IsHandled){return;}this._SkipRetry(this.Items);},Retry:function(){if(this._IsHandled){return;}this._Retry(this.Items);},constructor:function(_aee,_aef,_af0){this.Name=ITHit.WebDAV.Client.Upload.Events.EventName.OnUploadError;this.Error=_aef;this._super(_aee,_af0);},_Retry:function(){this._Handle(self.GetRetryResult(this.Error));},_SkipRetry:function(){this._Handle(self.GetSkipResult(this.Error));}},{GetSkipResult:function(_af1){return {Action:"skip",Error:_af1};},GetRetryResult:function(_af2){return {Action:"retry",Error:_af2};}});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.Error",ITHit.WebDAV.Client.Upload.Events.BaseEvent,{Error:null,constructor:function(_af3,_af4){this.Name=ITHit.WebDAV.Client.Upload.Events.EventName.OnError;this.Error=_af4;this.Sender=_af3;}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.BaseState",null,{OnEnter:function(_af5){},OnLeave:function(_af6){},StartUploadAsync:function(_af7,_af8){_af8();},PauseUpload:function(_af9,_afa){_afa();},AbortUpload:function(_afb,_afc,_afd,_afe){_afe();},Skip:function(_aff){},OnUploadLocationPrepared:function(_b00,_b01){},OnUploadProgressPrepared:function(_b02,_b03){},OnContentCompleted:function(_b04,_b05){},OnRetryResult:function(_b06,_b07){},_CompletePauseAsync:function(_b08,_b09,_b0a){if(_b08.IsRetrySchedule){_b08.IsRetrySchedule=false;}_b08.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetPausedState());_b09.call(_b0a);},_StartPauseAsync:function(_b0b,_b0c){_b0b._ProgressTracker.StopTracking();_b0b.CancelAllRequests(function(){if(_b0b.IsContentSend){_b0b.SyncProgressWithServerAsync(function(_b0d){this._CompletePauseAsync(_b0b,_b0c);},this);return;}this._CompletePauseAsync(_b0b,_b0c);},this);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.CompletedState",ITHit.WebDAV.Client.Upload.States.BaseState,{GetAsEnum:function(){return ITHit.WebDAV.Client.Upload.State.Completed;},OnEnter:function(_b0e){_b0e.GetProgressTracker().StopTracking();_b0e.GetProgressTracker().SetCompleted();},StartUploadAsync:function(_b0f,_b10){_b0f.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetUploadingState());this._super(_b0f,_b10);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.SkippedState",ITHit.WebDAV.Client.Upload.States.BaseState,{GetAsEnum:function(){return ITHit.WebDAV.Client.Upload.State.Skipped;},StartUploadAsync:function(_b11,_b12){_b11.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetUploadingState());this._super(_b11,_b12);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.QueuedState",ITHit.WebDAV.Client.Upload.States.BaseState,{GetAsEnum:function(){return ITHit.WebDAV.Client.Upload.State.Queued;},StartUploadAsync:function(_b13,_b14){_b13.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetUploadingState());this._super(_b13,_b14);},Skip:function(_b15){_b15.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetSkippedState());},PauseUpload:function(_b16,_b17){this._StartPauseAsync(_b16,_b17);},AbortUpload:function(_b18,_b19,_b1a,_b1b){_b18.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCanceledState());this._super(_b18,_b19,_b1a,_b1b);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.CanceledState",ITHit.WebDAV.Client.Upload.States.BaseState,{GetAsEnum:function(){return ITHit.WebDAV.Client.Upload.State.Canceled;},OnEnter:function(_b1c){_b1c.GetProgressTracker().StopTracking();_b1c.GetProgressTracker().Reset();},StartUploadAsync:function(_b1d,_b1e){_b1d.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetUploadingState());this._super(_b1d,_b1e);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.UploadingState",ITHit.WebDAV.Client.Upload.States.BaseState,{GetAsEnum:function(){return ITHit.WebDAV.Client.Upload.State.Uploading;},OnEnter:function(_b1f){_b1f.PrepareUploadLocation();},PauseUpload:function(_b20,_b21){this._StartPauseAsync(_b20,_b21);},AbortUpload:function(_b22,_b23,_b24,_b25){_b22.CancelAllRequests(function(){_b22.GetProgressTracker().StopTracking();_b22.CancelAndDeleteAsync(_b23,_b24,function(_b26){if(_b26.IsSuccess){_b22.GetProgressTracker().Reset();_b22.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCanceledState());}else{_b22.AddError(_b26.Error);_b22.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetFailedState());}_b25();},this);},this);},OnContentCompleted:function(_b27,_b28){var _b29=_b28.Result;if(_b29.IsAborted){return;}if(_b29.IsSuccess){_b27.GetProgressTracker().SetCompleted();_b27.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCompletedState());return;}this._HandleError(_b27,_b29);},_HandleError:function(_b2a,_b2b){_b2a.AddError(_b2b.Error);_b2a.BeginRetry(_b2b.Error);},OnRetryResult:function(_b2c,_b2d){if(_b2d.Action==="skip"){_b2c.AddError(_b2d.Error);_b2c.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetFailedState());return;}if(_b2c.IsContentSend){_b2c.SyncProgressWithServerAsync(function(_b2e){if(_b2e.Error){this._HandleError(_b2d.Error);}else{this.OnEnter(_b2c);}},this);return;}this.OnEnter(_b2c);},OnUploadLocationPrepared:function(_b2f,_b30){if(_b30.IsAborted){return;}if(!_b30.IsSuccess){this._HandleError(_b2f,_b30);return;}_b2f._SendContent();}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.ResumeState",ITHit.WebDAV.Client.Upload.States.UploadingState,{OnEnter:function(_b31){if(_b31.IsContentSend){_b31.PrepareProgress();return;}this._super(_b31);},OnUploadProgressPrepared:function(_b32,_b33){if(_b33.IsAborted){return;}if(!_b33.IsSuccess){this._HandleError(_b32,_b33);return;}if(_b32.GetProgressTracker().IsCompleted()){_b32.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCompletedState());}_b32._SendContent();}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.PausedState",ITHit.WebDAV.Client.Upload.States.BaseState,{GetAsEnum:function(){return ITHit.WebDAV.Client.Upload.State.Paused;},OnEnter:function(_b34){_b34.GetProgressTracker().StopTracking();_b34.GetProgressTracker().ResetSpeed();},StartUploadAsync:function(_b35,_b36){_b35.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetResumeState());this._super(_b35,_b36);},AbortUpload:function(_b37,_b38,_b39,_b3a){if(_b37.IsContentSend){_b37.CancelAndDeleteAsync(_b38,_b39,function(_b3b){if(_b3b.IsSuccess){_b37.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCanceledState());}else{_b37.AddError(_b3b.Error);_b37.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetFailedState());}_b3a();},this);}else{_b37.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCanceledState());_b3a();}}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.FailedState",ITHit.WebDAV.Client.Upload.States.BaseState,{GetAsEnum:function(){return ITHit.WebDAV.Client.Upload.State.Failed;},OnEnter:function(_b3c){_b3c.GetProgressTracker().StopTracking();_b3c.GetProgressTracker().ResetSpeed();},StartUploadAsync:function(_b3d,_b3e){_b3d.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetUploadingState());this._super(_b3d,_b3e);},AbortUpload:function(_b3f,_b40,_b41,_b42){if(_b3f.IsContentSend){_b3f.CancelAndDeleteAsync(_b40,_b41,function(_b43){if(_b43.IsSuccess){_b3f.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCanceledState());}else{_b3f.AddError(_b43.Error);_b3f.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetFailedState());}_b42();},this);}else{_b3f.SetState(ITHit.WebDAV.Client.Upload.States.Factory.GetCanceledState());_b42();}}});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Settings",null,{ConcurrentUploads:2,State:ITHit.WebDAV.Client.Upload.State.Queued,DeleteOnCancel:true});})();(function(){"use strict";var self=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.States.Factory",null,{},{GetUploadingState:function(){if(!self._UploadingState){self._UploadingState=new ITHit.WebDAV.Client.Upload.States.UploadingState();}return self._UploadingState;},GetSkippedState:function(){if(!self._SkippedState){self._SkippedState=new ITHit.WebDAV.Client.Upload.States.SkippedState();}return self._SkippedState;},GetQueuedState:function(){if(!self._QueuedState){self._QueuedState=new ITHit.WebDAV.Client.Upload.States.QueuedState();}return self._QueuedState;},GetPausedState:function(){if(!self._PausedState){self._PausedState=new ITHit.WebDAV.Client.Upload.States.PausedState();}return self._PausedState;},GetFailedState:function(){if(!self._FailedState){self._FailedState=new ITHit.WebDAV.Client.Upload.States.FailedState();}return self._FailedState;},GetCompletedState:function(){if(!self._CompletedState){self._CompletedState=new ITHit.WebDAV.Client.Upload.States.CompletedState();}return self._CompletedState;},GetCanceledState:function(){if(!self._CanceledState){self._CanceledState=new ITHit.WebDAV.Client.Upload.States.CanceledState();}return self._CanceledState;},GetResumeState:function(){if(!self._ResumeState){self._ResumeState=new ITHit.WebDAV.Client.Upload.States.ResumeState();}return self._ResumeState;},GetState:function(_b45){switch(_b45){case ITHit.WebDAV.Client.Upload.State.Canceled:return self.GetCanceledState();case ITHit.WebDAV.Client.Upload.State.Completed:return self.GetCompletedState();case ITHit.WebDAV.Client.Upload.State.Failed:return self.GetFailedState();case ITHit.WebDAV.Client.Upload.State.Paused:return self.GetPausedState();case ITHit.WebDAV.Client.Upload.State.Queued:return self.GetQueuedState();case ITHit.WebDAV.Client.Upload.State.Skipped:return self.GetSkippedState();case ITHit.WebDAV.Client.Upload.State.Uploading:return self.GetUploadingState();default:throw new ITHit.Exceptions.ArgumentException(null,"oState");}}});})();(function(){ITHit.DefineClass("ITHit.WebDAV.Client.Upload.ItemSettings",null,{ForceRewrite:false,AlwaysRewriteFolders:true,IgnoreCancelErrors:false,DeleteOnCancel:false});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.ServerItem",null,{constructor:function(_b46,oUrl){this._Session=_b46;this._Url=oUrl;},GetProgressAsync:function(_b48,_b49){return this._Session.GetProgressReportAsync(this._Url.GetHref(),function(_b4a){if(_b4a.IsSuccess&&_b4a.Result[0]){var _b4b=_b4a.Result[0];_b48.call(_b49,ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(_b4b));return;}_b48.call(_b49,_b4a);},this);},CancelUploadAsync:function(_b4c,_b4d){this._Session.CancelUploadAsync(this._Url.GetHref(),function(_b4e){_b4c.call(_b4d,_b4e);});},DeleteAsync:function(_b4f,_b50,_b51,_b52){var that=this;var _b54=new ITHit.WebDAV.Client.Upload.Utils.RepeatableAction(function(_b55){that._Session.DeleteAsync(that._Url.GetHref(),null,function(_b56){if(_b56.IsSuccess){_b55.Stop(_b56);}else{_b55.EndRound(_b56);}});});_b54.RunAsync(_b4f,_b50,function(_b57){_b51.call(_b52,_b57);});},CancelAndDeleteAsync:function(_b58,_b59,_b5a,_b5b){this.CancelUploadAsync(function(_b5c){if(!_b5c.IsSuccess){return _b5a.call(_b5b,_b5c);}this.DeleteAsync(_b58,_b59,_b5a,_b5b);},this);},_Url:null,_Session:null});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Providers.UploadProvider",null,{Session:null,_UploadItem:null,constructor:function(_b5d,_b5e,_b5f,oUrl,_b61){this.FSEntry=_b5f;this.Url=oUrl;this.Settings=new ITHit.WebDAV.Client.Upload.ItemSettings();if(this.FSEntry.IsFile()){this.Settings.DeleteOnCancel=_b61.DeleteOnCancel;}else{this.Settings.DeleteOnCancel=false;}this.Session=_b5d;this._UploadItem=_b5e;this._ProgressTracker=new ITHit.WebDAV.Client.Upload.Providers.ProgressTracker(this.FSEntry.GetSize());this._State=ITHit.WebDAV.Client.Upload.States.Factory.GetState(_b61.State);this.Errors=[];this.UploadLocation=_b5d.CreateUploadLocation(this.Url);this.ServerItem=new ITHit.WebDAV.Client.Upload.ServerItem(_b5d,this.Url);this.ContentWriter=_b5d.CreateContentWriter(this.Url);this.ContentWriter.AddListener(ITHit.WebDAV.Client.Upload.ContentWriter.EVENT_ON_PROGRESS,this.OnRequestProgressEventHandler,this);this.ContentWriter.AddListener(ITHit.WebDAV.Client.Upload.ContentWriter.EVENT_ON_FINISH,this._LoadHandler,this);this.ContentWriter.AddListener(ITHit.WebDAV.Client.Upload.ContentWriter.EVENT_ON_START,this._StartLoadHandler,this);this._ProgressTracker.OnProgressChanged(this._SetProgress,this);},StartUploadAsync:function(_b62){this._BeginStateChange();this._State.StartUploadAsync(this,_b62);},PauseUpload:function(_b63){this._BeginStateChange();this._State.PauseUpload(this,_b63);},AbortUpload:function(_b64,_b65,_b66){this._BeginStateChange();_b66=_b66||function(){};this._State.AbortUpload(this,_b64,_b65,_b66);},Skip:function(){this._BeginStateChange();this._State.Skip(this);},GetGroup:function(){return this._UploadItem.GetGroup();},GetProgressTracker:function(){return this._ProgressTracker;},_ProgressTracker:null,AddListener:function(_b67,_b68,_b69){this._ValidateEventName(_b67);_b69=_b69||null;ITHit.Events.AddListener(this,_b67,_b68,_b69);},RemoveListener:function(_b6a,_b6b,_b6c){this._ValidateEventName(_b6a);_b6c=_b6c||null;ITHit.Events.RemoveListener(this,_b6a,_b6b,_b6c);},_ValidateEventName:function(_b6d){switch(_b6d){case ITHit.WebDAV.Client.Upload.Events.EventName.OnStateChanged:case ITHit.WebDAV.Client.Upload.Events.EventName.OnError:case ITHit.WebDAV.Client.Upload.Events.EventName.OnProgressChanged:break;default:throw new ITHit.Exceptions.ArgumentException("Not found event name `"+_b6d+"`");}},CheckRetryAsync:function(_b6e,_b6f,_b70){var _b71=new ITHit.WebDAV.Client.Upload.Events.UploadError(this._UploadItem,_b6e,function(_b72){if(!this.IsRetrySchedule){return;}_b6f.call(_b70,_b72);}.bind(this));if(!this._UploadItem.OnUploadErrorCallback&&(ITHit.Events.ListenersLength(this._UploadItem,_b71.Name)===0)){_b6f.call(_b70,ITHit.WebDAV.Client.Upload.Events.UploadError.GetSkipResult(_b6e));return;}this.IsRetrySchedule=true;if(this._UploadItem.OnUploadErrorCallback){this._UploadItem.OnUploadErrorCallback.call(this,_b71);}ITHit.Events.DispatchEvent(this._UploadItem,_b71.Name,_b71);},Errors:null,LastError:null,AddError:function(_b73){this.AddErrorSilent(_b73);this._RiseOnErrorEvent(_b73);},AddErrorSilent:function(_b74){this.LastError=_b74;this.Errors.push(_b74);},SetFailed:function(_b75){var _b76=ITHit.WebDAV.Client.Upload.States.Factory.GetFailedState();this.AddError(_b75);this.SetState(_b76);},_RiseOnErrorEvent:function(_b77){var _b78=new ITHit.WebDAV.Client.Upload.Events.Error(this,_b77);ITHit.Events.DispatchEvent(this,_b78.Name,_b78);},UploadLocation:null,IsContentSend:false,ServerItem:null,_LoadHandler:function(_b79){if(_b79.Result.Error instanceof ITHit.WebDAV.Client.Exceptions.ConflictException){this.UploadLocation.SetNotExists();this.IsContentSend=false;}this._State.OnContentCompleted(this,_b79);},_StartLoadHandler:function(_b7a){this.IsContentSend=true;},OnRequestProgressEventHandler:function(_b7b){this.GetProgressTracker().UpdateBytes(_b7b.Progress.BytesLoaded,_b7b.Progress.TotalBytes);},_SendContent:function(){this._ProgressTracker.StartTracking();if(this.Settings&&this.Settings.CustomHeaders){this.ContentWriter.CustomHeaders=this.Settings.CustomHeaders;}if(this.FSEntry.IsFolder()){if(this.Settings.ForceRewrite||this.Settings.AlwaysRewriteFolders){this.ContentWriter.BeginRewrite(this.FSEntry);}else{this.ContentWriter.BeginWrite(this.FSEntry);}}else{var _b7c=new ITHit.WebDAV.Client.Upload.FileSpan(this.FSEntry.GetFile(),this._ProgressTracker.GetProgress().UploadedBytes);if(_b7c.IsFullFile()&&(this.Settings.ForceRewrite||this.IsContentSend)){this.ContentWriter.BeginRewrite(this.FSEntry);return;}if(_b7c.IsFullFile()&&!(this.Settings.ForceRewrite&&this.IsContentSend)){this.ContentWriter.BeginWrite(this.FSEntry);return;}this.ContentWriter.BeginAppend(_b7c);}},SyncProgressWithServerAsync:function(_b7d,_b7e){if(!this._ProgressTracker.IsCountable()){return this.Session.CheckExistsAsync(this.Url.GetUrl(),function(_b7f){if(!_b7f.IsSuccess){_b7d.call(_b7e,_b7f);return;}if(_b7f.Result===true){this._ProgressTracker.SetCompleted();_b7d.call(_b7e,ITHit.WebDAV.Client.CancellableResult.CreateSuccessfulResult(this._ProgressTracker.GetProgress()));return;}this._ProgressTracker.Reset();_b7d.call(_b7e,ITHit.WebDAV.Client.CancellableResult.CreateSuccessfulResult(this._ProgressTracker.GetProgress()));},this);}return this.ServerItem.GetProgressAsync(function(_b80){if(_b80.IsSuccess){this._ProgressTracker.SyncProgress(_b80.Result);_b7d.call(_b7e,ITHit.WebDAV.Client.CancellableResult.CreateSuccessfulResult(this._ProgressTracker.GetProgress()));return;}if(_b80.Error instanceof ITHit.WebDAV.Client.Exceptions.NotFoundException){this._ProgressTracker.Reset();_b7d.call(_b7e,ITHit.WebDAV.Client.CancellableResult.CreateSuccessfulResult(this._ProgressTracker.GetProgress()));return;}_b7d.call(_b7e,ITHit.WebDAV.Client.CancellableResult.CreateFailedResult(_b80.Error));},this);},IsRetrySchedule:false,PrepareUploadLocation:function(){this.UploadLocation.SetCache(this.GetGroup().PathMap);this.UploadLocation.CreateAsync(this._OnGeneratePathCompleted,this);},_OnGeneratePathCompleted:function(_b81){if(_b81.IsAborted){return;}this._State.OnUploadLocationPrepared(this,_b81);},CancelAllRequests:function(_b82,_b83){this._CancelProgressAsync(function(){this._CancelLocationCreateAsync(function(){this._CancelContentSendingAsync(_b82,_b83);},this);},this);},_CancelLocationCreateAsync:function(_b84,_b85){if(this.UploadLocation.IsInProgress()){this.UploadLocation.AbortRunningCreationAsync(function(){_b84.call(_b85);},this);}else{_b84.call(_b85);}},_CancelContentSendingAsync:function(_b86,_b87){if(this.ContentWriter.IsActive()){this.ContentWriter.AbortAsync(function(){_b86.call(_b87);},this);}else{_b86.call(_b87);}},_CancelProgressAsync:function(_b88,_b89){if(this.IsProgressSyncInProgress){this._SyncProgressRequest.AbortAsync(function(){_b88.call(_b89);},this);}else{_b88.call(_b89);}},_SyncProgressRequest:null,IsProgressSyncInProgress:false,PrepareProgress:function(){this._SyncProgressRequest=this.SyncProgressWithServerAsync(this._OnUpdateFromServerCompleted,this);},_OnUpdateFromServerCompleted:function(_b8a){this.IsProgressSyncInProgress=false;if(_b8a.IsAborted){return;}this._State.OnUploadProgressPrepared(this,_b8a);},_IsStateChanging:function(){return this._IsChanging;},SetState:function(_b8b){var _b8c=this._State;this._State.OnLeave(this);this._State=_b8b;this._State.OnEnter(this);var _b8d=new ITHit.WebDAV.Client.Upload.Events.StateChanged(this,_b8c.GetAsEnum(),this._State.GetAsEnum());ITHit.Events.DispatchEvent(this,_b8d.Name,_b8d);},GetState:function(){return this._State;},_State:null,_IsChanging:false,_BeginStateChange:function(){this._IsChanging=true;},_EndStateChange:function(){this._IsChanging=false;},ContentWriter:null,BeginRetry:function(_b8e){this._ProgressTracker.StopTracking();this.CheckRetryAsync(_b8e,this._OnCheckRetryCompleted,this);},_OnCheckRetryCompleted:function(_b8f){this._State.OnRetryResult(this,_b8f);},Settings:null,FSEntry:null,Url:null,CancelAndDeleteAsync:function(_b90,_b91,_b92,_b93){this.ServerItem.CancelUploadAsync(function(_b94){if(!this.Settings.DeleteOnCancel){_b92.call(_b93,ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(null));return;}this.ServerItem.DeleteAsync(_b90,_b91,function(_b95){if(!_b95.IsSuccess&&!this.Settings.IgnoreCancelErrors){return _b92.call(_b93,_b94);}this.IsContentSend=false;_b92.call(_b93,ITHit.WebDAV.Client.AsyncResult.CreateSuccessfulResult(null));},this);},this);},GetProgress:function(){return this._ProgressTracker.GetProgress();},_SetProgress:function(_b96){var _b97=this._Progress;this._Progress=_b96;var _b98=new ITHit.WebDAV.Client.Upload.Events.ProgressChanged(this,_b97,_b96);ITHit.Events.DispatchEvent(this,_b98.Name,_b98);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Events.UploadItemsCreated",ITHit.WebDAV.Client.Upload.Events.AsyncEvent,{Items:[],Skip:function(_b99){if(this._IsHandled){return;}this._Skip(_b99);},SkipAll:function(){if(this._IsHandled){return;}this._Skip(this.Items);},OverwriteAll:function(){if(this._IsHandled){return;}this._Overwrite(this.Items);},Overwrite:function(_b9a){if(this._IsHandled){return;}this._Overwrite(_b9a);},UploadAll:function(){if(this._IsHandled){return;}this.Upload(this.Items);},Upload:function(_b9b){if(this._IsHandled){return;}this._Handle({Skip:[],Overwrite:[],Original:this.Items,Upload:_b9b});},constructor:function(_b9c,_b9d,_b9e){this.Name=ITHit.WebDAV.Client.Upload.Events.EventName.OnUploadItemsCreated;this.Items=_b9d||[];this._super(_b9c,_b9e);},_Overwrite:function(_b9f){var _ba0=this._CreateResult([],_b9f);this._Handle(_ba0);},_Skip:function(_ba1){var _ba2=this._CreateResult(_ba1,[]);this._Handle(_ba2);},_CreateResult:function(_ba3,_ba4){return {Skip:_ba3||[],Overwrite:_ba4||[],Original:this.Items};},_Handle:function(_ba5){_ba5=_ba5||this._CreateResult();this._super(_ba5);}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Utils.Array",null,{},{MapParallel:function(_ba6,_ba7,_ba8,_ba9){var _baa=[];var _bab=0;if(_ba6.length===0){setTimeout(_ba8.apply(_ba9,_ba6));}for(var i=0;i<_ba6.length;i++){_ba7.apply(_ba9,[_ba6[i],i,_ba6,ITHit.Utils.MakeScopeClosure(this,function(i,_bae){_baa[i]=_bae;_bab++;if(_bab===_ba6.length){setTimeout(_ba8.call(_ba9,_baa));}},i)]);}},DistinctBy:function(_baf,_bb0,_bb1){var map=Object.create(null);_bb0=_bb0||Object.prototype.toString;for(var i=0;i<_baf.length;i++){var _bb4=_bb0.call(_bb1,_baf[i]).toString();if(!map[_bb4]){map[_bb4]=_baf[i];}}return Object.keys(map).map(function(sKey){return map[sKey];});},Take:function(_bb6,_bb7){if(!_bb7){return [_bb6.shift()];}var _bb8=(_bb6.length>_bb7)?_bb7:_bb6.length;var _bb9=[];for(var i=0;i<_bb8;i++){_bb9.push(_bb6.shift());}return _bb9;},Remove:function(_bbb,_bbc){var _bbd=_bbb.indexOf(_bbc);if(_bbd>-1){_bbb.splice(_bbd,1);}}});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.AutoUploader",null,{constructor:function(_bbe){this._ParallelUploads=_bbe||0;this._QueueArray=[];this._Active=[];this._Reserve=0;},AddRange:function(_bbf){_bbf.forEach(this._AddToQueue,this);this._StartUploads();},Add:function(_bc0){this._AddToQueue(_bc0);this._StartUploads();},Remove:function(_bc1){_bc1.RemoveListener(ITHit.WebDAV.Client.Upload.Events.EventName.OnStateChanged,this._OnStateChangeEventHandler,this);ITHit.WebDAV.Client.Upload.Utils.Array.Remove(this._QueueArray,_bc1);ITHit.WebDAV.Client.Upload.Utils.Array.Remove(this._Active,_bc1);this._StartUploads();},Reserve:function(_bc2){_bc2=_bc2||1;this._Reserve+=_bc2;},Release:function(_bc3){_bc3=_bc3||1;this._Reserve-=_bc3;this._StartUploads();},GetBusy:function(){return this._Active.length+this._Reserve;},GetFree:function(){var _bc4=this.GetBusy();if(_bc4>=this._ParallelUploads){return 0;}else{if(_bc4===0){return this._ParallelUploads;}else{return (this._ParallelUploads-_bc4)%this._ParallelUploads;}}},_QueueArray:null,_Active:null,_ParallelUploads:0,_OnStateChangeEventHandler:function(_bc5){if(_bc5.NewState!==ITHit.WebDAV.Client.Upload.State.Uploading){this.Remove(_bc5.Sender);}else{this._StartUploads();}},_StartUploads:function(){if(this._QueueArray.length===0){return;}var _bc6=this.GetFree();if(_bc6<=0){return;}var _bc7=ITHit.WebDAV.Client.Upload.Utils.Array.Take(this._QueueArray,_bc6);if(_bc7.length<1){return;}this.Reserve(_bc7.length);_bc7.forEach(this._StartSingle,this);},_StartSingle:function(_bc8){this._Active.push(_bc8);_bc8.StartAsync();this.Release();},_AddToQueue:function(_bc9){this._QueueArray.push(_bc9);_bc9.AddListener(ITHit.WebDAV.Client.Upload.Events.EventName.OnStateChanged,this._OnStateChangeEventHandler,this);},_Reserve:0});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Queue",null,{Uploader:null,_UnderlyingArray:null,_Session:null,_AutoUploader:null,constructor:function(_bca){this.Uploader=_bca;this._Session=new ITHit.WebDAV.Client.Upload.UploaderSession();this._UnderlyingArray=[];this._GroupManager=new ITHit.WebDAV.Client.Upload.Groups.GroupManager();this._AutoUploader=new ITHit.WebDAV.Client.Upload.AutoUploader(this.Uploader.Settings.ConcurrentUploads);},ShouldReplaceDuplicate:function(_bcb){var _bcc=this.GetByUrl(_bcb.GetUrl());var _bcd=_bcc.GetState();return !(_bcd===ITHit.WebDAV.Client.Upload.State.Uploading||_bcd===ITHit.WebDAV.Client.Upload.State.Paused);},AddGroup:function(sUrl,_bcf,_bd0){var _bd1=[];for(var i=0;i<_bcf.length;i++){var _bd3=_bcf[i];var _bd4=new ITHit.WebDAV.Client.Upload.UploadItem(sUrl,_bd3,_bd0,this._Session,this._GroupManager,this.Uploader.Settings);if(this.HasUrl(_bd4.GetUrl())){if(this.ShouldReplaceDuplicate(_bd4)){this.RemoveByUrl(_bd4.GetUrl());}else{continue;}}_bd1.push(_bd4);}this._DispatchOnUploadItemsCreatedAsync(_bd1,this._OnUploadItemsCreatedAsyncDispatched.bind(this));},Add:function(_bd5){var sUrl=_bd5.GetUrl();if(this.HasUrl(sUrl)){return;}this._UnderlyingArray.push(_bd5);var _bd7=new ITHit.WebDAV.Client.Upload.Events.QueueChanged(this,[_bd5]);ITHit.Events.DispatchEvent(this,_bd7.Name,[_bd7]);this._AutoUploader.Add(_bd5);},AddRange:function(_bd8){for(var i=0;i<_bd8.length;i++){var _bda=_bd8[i];var sUrl=_bda.GetUrl();if(this.HasUrl(sUrl)){continue;}this._UnderlyingArray.push(_bda);}this._GroupManager.CreateGroup(_bd8);this._OnQueueChanged(_bd8,null);var _bdc=_bd8.filter(function(_bdd){return _bdd.GetState()===ITHit.WebDAV.Client.Upload.State.Queued;});this._AutoUploader.AddRange(_bdc);},Restart:function(_bde){for(var i=0;i<_bde.length;i++){if(!this.HasUrl(_bde[i].GetUrl())){throw new ITHit.Exceptions.ArgumentException("Item should be a part of queue`");}}this._AutoUploader.AddRange(_bde);},GetByUrl:function(sUrl){return ITHit.Utils.FindBy(this._UnderlyingArray,function(_be1){return _be1.GetUrl()===sUrl;});},GetLength:function(){return this._UnderlyingArray.length;},HasUrl:function(sUrl){return !!this.GetByUrl(sUrl);},RemoveByUrl:function(sUrl){var _be4=this.GetByUrl(sUrl);if(!_be4){return;}var _be5=_be4.GetState();if(_be5===ITHit.WebDAV.Client.Upload.State.Uploading||_be5===ITHit.WebDAV.Client.Upload.State.Paused){_be4.Abort();}var _be6=ITHit.Utils.IndexOf(this._UnderlyingArray,_be4);this._UnderlyingArray.splice(_be6,1);this._OnQueueChanged(null,[_be4]);this._AutoUploader.Remove(_be4);},OnUploadItemsCreatedCallback:null,_OnQueueChanged:function(_be7,_be8){var _be9=new ITHit.WebDAV.Client.Upload.Events.QueueChanged(this,_be7,_be8);ITHit.Events.DispatchEvent(this,_be9.Name,[_be9]);},_DispatchOnUploadItemsCreatedAsync:function(_bea,_beb){var _bec=new ITHit.WebDAV.Client.Upload.Events.UploadItemsCreated(this,_bea.slice(),_beb);if(!this.OnUploadItemsCreatedCallback&&(ITHit.Events.ListenersLength(this,_bec.Name)===0)){_bec.OverwriteAll();}if(this.OnUploadItemsCreatedCallback){this.OnUploadItemsCreatedCallback(_bec);}ITHit.Events.DispatchEvent(this,_bec.Name,_bec);},AddListener:function(_bed,_bee,_bef){_bef=_bef||null;switch(_bed){case ITHit.WebDAV.Client.Upload.Events.EventName.OnQueueChanged:case ITHit.WebDAV.Client.Upload.Events.EventName.OnUploadItemsCreated:ITHit.Events.AddListener(this,_bed,_bee,_bef);break;default:throw new ITHit.WebDAV.Client.Exceptions.WebDavException("Not found event name `"+_bed+"`");}},RemoveListener:function(_bf0,_bf1,_bf2){ITHit.Events.RemoveListener(this,_bf0,_bf1,_bf2);},_OnUploadItemsCreatedAsyncDispatched:function(_bf3){if(_bf3.Upload){this.AddRange(_bf3.Upload);return;}this._OnUploadItemsCreatedAsyncDispatchedDeprecated(_bf3);},_OnUploadItemsCreatedAsyncDispatchedDeprecated:function(_bf4){var _bf5=this._FilterSkippedItems(_bf4);var _bf6=this._CreateUrlUploadItemMap(_bf4.Overwrite);_bf5.forEach(function(_bf7){if(_bf6.Has(_bf7.GetUrl())){_bf7.SetOverwrite(true);}});this.AddRange(_bf5);},_FilterSkippedItems:function(_bf8){var _bf9=this._CreateUrlUploadItemMap(_bf8.Skip);return _bf8.Original.filter(function(_bfa){return !_bf9.Has(_bfa.GetUrl());});},_CreateUrlUploadItemMap:function(_bfb){var oMap=new ITHit.WebDAV.Client.Upload.Collections.Map();_bfb.forEach(function(_bfd){oMap.Set(_bfd.GetUrl(),_bfd);});return oMap;},_GroupManager:null});})();(function(){"use strict";var _bfe=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.DropZoneCollection",null,{_UnderlyingSet:null,Uploader:null,constructor:function(_bff){this._Uploader=_bff;this._UnderlyingSet={};},AddById:function(_c00){var _c01=this.GetById(_c00);if(_c01){return _c01;}var _c02=new ITHit.WebDAV.Client.Upload.Controls.DropZone(_c00);this._UnderlyingSet[_c00]=_c02;this._RaiseOnCollectionChanged([_c02],[]);return _c02;},GetById:function(_c03){return this._UnderlyingSet[_c03];},RemoveById:function(_c04){var _c05=this.GetById(_c04);if(_c05){delete this._UnderlyingSet[_c04];this._RaiseOnCollectionChanged([],[_c05]);}},AddListener:function(_c06,_c07,_c08){_c08=_c08||null;this._CheckEventNameOtThrow(_c06);ITHit.Events.AddListener(this,_c06,_c07,_c08);},RemoveListener:function(_c09,_c0a,_c0b){_c0b=_c0b||null;this._CheckEventNameOtThrow(_c09);ITHit.Events.RemoveListener(this,_c09,_c0a,_c0b);},_CheckEventNameOtThrow:function(_c0c){if(_c0c!==_bfe.EVENT_ON_COLLECTION_CHANGED){throw new ITHit.WebDAV.Client.Exceptions.NotFoundEventNameException(_c0c);}},_RaiseOnCollectionChanged:function(_c0d,_c0e){ITHit.Events.DispatchEvent(this,_bfe.EVENT_ON_COLLECTION_CHANGED,[{Sender:this,AddedItems:_c0d||[],RemovedItems:_c0e||[]}]);}},{EVENT_ON_COLLECTION_CHANGED:"OnCollectionChanged"});})();(function(){var _c0f=ITHit.DefineClass("ITHit.WebDAV.Client.Upload.InputCollection",null,{_UnderlyingSet:null,Uploader:null,constructor:function(_c10){this._UnderlyingArray=[];this._Uploader=_c10;},AddById:function(_c11){var _c12=new ITHit.WebDAV.Client.Upload.Controls.Input(_c11);this._UnderlyingArray[_c11]=_c12;this._RaiseOnCollectionChanged([_c12],[]);return _c12;},GetById:function(_c13){return this._UnderlyingArray[_c13];},RemoveById:function(_c14){var _c15=this.GetById(_c14);if(_c15){delete this._UnderlyingSet[_c14];this._RaiseOnCollectionChanged([],[_c15]);}},AddListener:function(_c16,_c17,_c18){_c18=_c18||null;this._CheckEventNameOtThrow(_c16);ITHit.Events.AddListener(this,_c16,_c17,_c18);},RemoveListener:function(_c19,_c1a,_c1b){_c1b=_c1b||null;this._CheckEventNameOtThrow(_c19);ITHit.Events.RemoveListener(this,_c19,_c1a,_c1b);},_CheckEventNameOtThrow:function(_c1c){if(_c1c!==_c0f.EVENT_ON_COLLECTION_CHANGED){throw new ITHit.WebDAV.Client.Exceptions.NotFoundEventNameException(_c1c);}},_RaiseOnCollectionChanged:function(_c1d,_c1e){ITHit.Events.DispatchEvent(this,_c0f.EVENT_ON_COLLECTION_CHANGED,[{Sender:this,AddedItems:_c1d||[],RemovedItems:_c1e||[]}]);}},{EVENT_ON_COLLECTION_CHANGED:"OnCollectionChanged"});})();(function(){"use strict";ITHit.DefineClass("ITHit.WebDAV.Client.Upload.Uploader",null,{DropZones:null,Inputs:null,Queue:null,Settings:null,_UploadProvider:null,constructor:function(){this.Inputs=new ITHit.WebDAV.Client.Upload.InputCollection(this);this.Inputs.AddListener(ITHit.WebDAV.Client.Upload.InputCollection.EVENT_ON_COLLECTION_CHANGED,this._OnControlCollectionChangedEventHandler,this);this.DropZones=new ITHit.WebDAV.Client.Upload.DropZoneCollection(this);this.DropZones.AddListener(ITHit.WebDAV.Client.Upload.DropZoneCollection.EVENT_ON_COLLECTION_CHANGED,this._OnControlCollectionChangedEventHandler,this);this.Settings=new ITHit.WebDAV.Client.Upload.Settings();this.Queue=new ITHit.WebDAV.Client.Upload.Queue(this);},SetUploadUrl:function(sUrl){this._UploadUrl=sUrl;},GetUploadUrl:function(){return this._UploadUrl;},_OnControlCollectionChangedEventHandler:function(_c20){_c20.AddedItems.forEach(function(_c21){_c21.AddListener(ITHit.WebDAV.Client.Upload.Controls.HtmlControl.EVENT_ON_FILE_INPUT_HANDLED,this._OnFileInputEventHandler.bind(this));}.bind(this));_c20.RemovedItems.forEach(function(_c22){_c22.RemoveListener(ITHit.WebDAV.Client.Upload.Controls.HtmlControl.EVENT_ON_FILE_INPUT_HANDLED,this._OnFileInputEventHandler.bind(this));}.bind(this));},_OnFileInputEventHandler:function(_c23){this.Queue.AddGroup(this._UploadUrl,_c23.AsyncResult.Result,_c23.Source);}});})();ITHit.Temp={};