You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nextcloud/core/js/dist/files_iedavclient.js

24 lines
33 KiB
JavaScript

!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=713)}({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,"t",(function(){return d})),r.d(t,"i",(function(){return l})),r.d(t,"r",(function(){return s})),r.d(t,"s",(function(){return p})),r.d(t,"k",(function(){return h})),r.d(t,"m",(function(){return v})),r.d(t,"j",(function(){return y})),r.d(t,"l",(function(){return g})),r.d(t,"g",(function(){return m})),r.d(t,"f",(function(){return b})),r.d(t,"h",(function(){return j})),r.d(t,"n",(function(){return x})),r.d(t,"b",(function(){return w}));var e="1.12.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="undefined"!=typeof DataView,h=Array.isArray,v=Object.keys,y=Object.create,g=s&&ArrayBuffer.isView,m=isNaN,b=isFinite,j=!{toString:null}.propertyIsEnumerable("toString"),x=["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},7:function(n,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return xr})),r.d(t,"VERSION",(function(){return u.e})),r.d(t,"restArguments",(function(){return i})),r.d(t,"isObject",(function(){return o})),r.d(t,"isNull",(function(){return c})),r.d(t,"isUndefined",(function(){return f})),r.d(t,"isBoolean",(function(){return a})),r.d(t,"isElement",(function(){return d})),r.d(t,"isString",(function(){return s})),r.d(t,"isNumber",(function(){return p})),r.d(t,"isDate",(function(){return h})),r.d(t,"isRegExp",(function(){return v})),r.d(t,"isError",(function(){return y})),r.d(t,"isSymbol",(function(){return g})),r.d(t,"isArrayBuffer",(function(){return m})),r.d(t,"isDataView",(function(){return A})),r.d(t,"isArray",(function(){return N})),r.d(t,"isFunction",(function(){return x})),r.d(t,"isArguments",(function(){return M})),r.d(t,"isFinite",(function(){return T})),r.d(t,"isNaN",(function(){return k})),r.d(t,"isTypedArray",(function(){return V})),r.d(t,"isEmpty",(function(){return C})),r.d(t,"isMatch",(function(){return L})),r.d(t,"isEqual",(function(){return X})),r.d(t,"isMap",(function(){return en})),r.d(t,"isWeakMap",(function(){return un})),r.d(t,"isSet",(function(){return on})),r.d(t,"isWeakSet",(function(){return cn})),r.d(t,"keys",(function(){return W})),r.d(t,"allKeys",(function(){return $})),r.d(t,"values",(function(){return fn})),r.d(t,"pairs",(function(){return an})),r.d(t,"invert",(function(){return dn})),r.d(t,"functions",(function(){return ln})),r.d(t,"methods",(function(){return ln})),r.d(t,"extend",(function(){return pn})),r.d(t,"extendOwn",(function(){return hn})),r.d(t,"assign",(function(){return hn})),r.d(t,"defaults",(function(){return vn})),r.d(t,"cr
/**
* Copyright (c) 2015
*
* @author Roeland Jago Douma <roeland@famdouma.nl>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
!function(n){n.Client.prototype=t.extend({},n.Client.prototype,{request:function(n,t,r,e){const u=this,i=this.xhrProvider();let o;for(o in r=r||{},this.userName&&(r.Authorization="Basic "+btoa(this.userName+":"+this.password)),i.open(n,this.resolveUrl(t),!0),r)i.setRequestHeader(o,r[o]);return void 0===e?i.send():i.send(e),new Promise((function(n,t){i.onreadystatechange=function(){if(4!==i.readyState)return;let t=i.response;207===i.status&&(t=u.parseMultiStatus(i.responseXML)),n({body:t,status:i.status,xhr:i})},i.ontimeout=function(){t(new Error("Timeout exceeded"))}}))},_getElementsByTagName:function(n,t,r){const e=t.split(":"),u=e[1],i=r(e[0]);if("string"==typeof n){n=(new DOMParser).parseFromString(n,"text/xml")}return n.getElementsByTagNameNS?n.getElementsByTagNameNS(i,u):n.getElementsByTagName(t)},parseMultiStatus:function(n){const t=[],r=function(n){let t;for(t in this.xmlNamespaces)if(this.xmlNamespaces[t]===n)return t}.bind(this),e=this._getElementsByTagName(n,"d:response",r);let u;for(u=0;u<e.length;u++){const n=e[u],i={href:null,propStat:[]},o=this._getElementsByTagName(n,"d:href",r)[0];i.href=o.textContent||o.text;const c=this._getElementsByTagName(n,"d:propstat",r);let f=0;for(f=0;f<c.length;f++){const n=c[f],t=this._getElementsByTagName(n,"d:status",r)[0],e={status:t.textContent||t.text,properties:[]},u=this._getElementsByTagName(n,"d:prop",r)[0];if(!u)continue;let o=0;for(o=0;o<u.childNodes.length;o++){const n=u.childNodes[o],t=this._parsePropNode(n);e.properties["{"+n.namespaceURI+"}"+(n.localName||n.baseName)]=t}i.propStat.push(e)}t.push(i)}return t}})}(dav),n.exports={dav:dav}}).call(this,r(7))}});
//# sourceMappingURL=files_iedavclient.js.map