nextcloud/core/js/dist/files_iedavclient.js

2 lines
31 KiB
JavaScript
Raw Normal View History

!function(n){var t={};function r(e){if(t[e])return t[e].exports;var u=t[e]={i:e,l:!1,exports:{}};return n[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var u in n)r.d(e,u,function(t){return n[t]}.bind(null,u));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=673)}({1:function(n,t,r){"use strict";(function(n){r.d(t,"e",(function(){return e})),r.d(t,"p",(function(){return u})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return c})),r.d(t,"o",(function(){return f})),r.d(t,"q",(function(){return a})),r.d(t,"s",(function(){return d})),r.d(t,"i",(function(){return l})),r.d(t,"r",(function(){return s})),r.d(t,"k",(function(){return p})),r.d(t,"m",(function(){return h})),r.d(t,"j",(function(){return v})),r.d(t,"l",(function(){return y})),r.d(t,"g",(function(){return g})),r.d(t,"f",(function(){return m})),r.d(t,"h",(function(){return b})),r.d(t,"n",(function(){return j})),r.d(t,"b",(function(){return w}));var e="1.11.0",u="object"==typeof self&&self.self===self&&self||"object"==typeof n&&n.global===n&&n||Function("return this")()||{},i=Array.prototype,o=Object.prototype,c="undefined"!=typeof Symbol?Symbol.prototype:null,f=i.push,a=i.slice,d=o.toString,l=o.hasOwnProperty,s="undefined"!=typeof ArrayBuffer,p=Array.isArray,h=Object.keys,v=Object.create,y=s&&ArrayBuffer.isView,g=isNaN,m=isFinite,b=!{toString:null}.propertyIsEnumerable("toString"),j=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],w=Math.pow(2,53)-1}).call(this,r(20))},20:function(n,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"==typeof window&&(r=window)}n.exports=r},673:function(n,t,r){(function(t){!function(n){n.Client.prototype=t.extend({},n.Client.prototype,{request:function(n,t,r,e){var u,i=this,o=this.xhrProvider();for(u in r=r||{},this.userName&&(r.Authorization="Basic "+btoa(this.userName+":"+this.password)),o.open(n,this.resolveUrl(t),!0),r)o.setRequestHeader(u,r[u]);return void 0===e?o.send():o.send(e),new Promise((function(n,t){o.onreadystatechange=function(){if(4===o.readyState){var t=o.response;207===o.status&&(t=i.parseMultiStatus(o.responseXML)),n({body:t,status:o.status,xhr:o})}},o.ontimeout=function(){t(new Error("Timeout exceeded"))}}))},_getElementsByTagName:function(n,t,r){var e=t.split(":"),u=e[1],i=r(e[0]);"string"==typeof n&&(n=(new DOMParser).parseFromString(n,"text/xml"));return n.getElementsByTagNameNS?n.getElementsByTagNameNS(i,u):n.getElementsByTagName(t)},parseMultiStatus:function(n){var t,r=[],e=function(n){var t;for(t in this.xmlNamespaces)if(this.xmlNamespaces[t]===n)return t}.bind(this),u=this._getElementsByTagName(n,"d:response",e);for(t=0;t<u.length;t++){var i=u[t],o={href:null,propStat:[]},c=this._getElementsByTagName(i,"d:href",e)[0];o.href=c.textContent||c.text;var f=this._getElementsByTagName(i,"d:propstat",e),a=0;for(a=0;a<f.length;a++){var d=f[a],l=this._getElementsByTagName(d,"d:status",e)[0],s={status:l.textContent||l.text,properties:[]},p=this._getElementsByTagName(d,"d:prop",e)[0];if(p){var h=0;for(h=0;h<p.childNodes.length;h++){var v=p.childNodes[h],y=this._parsePropNode(v);s.properties["{"+v.namespaceURI+"}"+(v.localName||v.baseName)]=y}o.propStat.push(s)}}r.push(o)}return r}})}(dav),n.exports={dav:dav}}).call(this,r(7))},7:function(n,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return or})),r.d(t,"VERSION",(function(){return u.e})),r.d(t,"
//# sourceMappingURL=files_iedavclient.js.map