nextcloud/core/js/dist/files_iedavclient.js

1 line
30 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=1008)}({1008: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(4))},23: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},26:function(n,t,r){"use strict";r.r(t),function(n){r.d(t,"default",(function(){return m})),r.d(t,"VERSION",(function(){return g})),r.d(t,"iteratee",(function(){return j})),r.d(t,"restArguments",(function(){return w})),r.d(t,"each",(function(){return k})),r.d(t,"forEach",(function(){return k})),r.d(t,"map",(function(){return I})),r.d(t,"collect",(function(){return I})),r.d(t,"reduce",(function(){return R})),r.d(t,"foldl",(function(){return R})),r.d(t,"inject",(function(){return R})),r.d(t,"reduceRight",(function(){return q})),r.d(t,"foldr",(function(){return q})),r.d(t,"find",(function(){return z})),r.d(t,"detect",(function(){return z})),r.d(t,"filter",(function(){return F})),r.d(t,"select",(function(){return F})),r.d(t,"reject",(function(){return P})),r.d(t,"every",(function(){return W})),r.d(t,"all",(function(){return W})),r.d(t,"some",(function(){return D})),r.d(t,"any",(function(){return D})),r.d(t,"contains",(function(){return K})),r.d(t,"includes",(function(){return K})),r.d(t,"include",(function(){return K})),r.d(t,"invoke",(function(){return L})),r.d(t,"pluck",(function(){return U})),r.d(t,"where",(function(){return C})),r.d(t,"findWhere",(function(){return V})),r.d(t,"max",(function(){return H})),r.d(t,"min",(function(){return J})),r.d(t,"shuffle",(function(){return X})),r.d(t,"sample",(function(){return $})),r.d(t,"sortBy",(function(){return G})),r.d(t,"groupBy",(fun