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/dist/files-main.js

3 lines
618 KiB
JavaScript

/*! For license information please see files-main.js.LICENSE.txt */
(()=>{var e,n,s,i={9052:t=>{"use strict";var e=Object.prototype.hasOwnProperty,n="~";function s(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function r(t,e,s,r,a){if("function"!=typeof s)throw new TypeError("The listener must be a function");var o=new i(s,r||t,a),l=n?n+e:e;return t._events[l]?t._events[l].fn?t._events[l]=[t._events[l],o]:t._events[l].push(o):(t._events[l]=o,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new s:delete t._events[e]}function o(){this._events=new s,this._eventsCount=0}Object.create&&(s.prototype=Object.create(null),(new s).__proto__||(n=!1)),o.prototype.eventNames=function(){var t,s,i=[];if(0===this._eventsCount)return i;for(s in t=this._events)e.call(t,s)&&i.push(n?s.slice(1):s);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},o.prototype.listeners=function(t){var e=n?n+t:t,s=this._events[e];if(!s)return[];if(s.fn)return[s.fn];for(var i=0,r=s.length,a=new Array(r);i<r;i++)a[i]=s[i].fn;return a},o.prototype.listenerCount=function(t){var e=n?n+t:t,s=this._events[e];return s?s.fn?1:s.length:0},o.prototype.emit=function(t,e,s,i,r,a){var o=n?n+t:t;if(!this._events[o])return!1;var l,c,u=this._events[o],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(t,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,s),!0;case 4:return u.fn.call(u.context,e,s,i),!0;case 5:return u.fn.call(u.context,e,s,i,r),!0;case 6:return u.fn.call(u.context,e,s,i,r,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var m,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(t,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,e);break;case 3:u[c].fn.call(u[c].context,e,s);break;case 4:u[c].fn.call(u[c].context,e,s,i);break;default:if(!l)for(m=1,l=new Array(d-1);m<d;m++)l[m-1]=arguments[m];u[c].fn.apply(u[c].context,l)}}return!0},o.prototype.on=function(t,e,n){return r(this,t,e,n,!1)},o.prototype.once=function(t,e,n){return r(this,t,e,n,!0)},o.prototype.removeListener=function(t,e,s,i){var r=n?n+t:t;if(!this._events[r])return this;if(!e)return a(this,r),this;var o=this._events[r];if(o.fn)o.fn!==e||i&&!o.once||s&&o.context!==s||a(this,r);else{for(var l=0,c=[],u=o.length;l<u;l++)(o[l].fn!==e||i&&!o[l].once||s&&o[l].context!==s)&&c.push(o[l]);c.length?this._events[r]=1===c.length?c[0]:c:a(this,r)}return this},o.prototype.removeAllListeners=function(t){var e;return t?(e=n?n+t:t,this._events[e]&&a(this,e)):(this._events=new s,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prefixed=n,o.EventEmitter=o,t.exports=o},70312:(e,n,s)=>{"use strict";var i={};s.r(i),s.d(i,{exclude:()=>I,extract:()=>k,parse:()=>E,parseUrl:()=>N,pick:()=>P,stringify:()=>L,stringifyUrl:()=>F});var r=s(65899),a=s(35810),o=s(92457),l=s(85471);const c=(0,r.Ey)();var u=s(63814);const d="%[a-f0-9]{2}",m=new RegExp("("+d+")|([^%]+?)","gi"),p=new RegExp("("+d+")+","gi");function f(t,e){try{return[decodeURIComponent(t.join(""))]}catch{}if(1===t.length)return t;e=e||1;const n=t.slice(0,e),s=t.slice(e);return Array.prototype.concat.call([],f(n),f(s))}function g(t){try{return decodeURIComponent(t)}catch{let e=t.match(m)||[];for(let n=1;n<e.length;n++)e=(t=f(e,n).join("")).match(m)||[];return t}}function h(t,e){if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===t||""===e)return[];const n=t.indexOf(e);return-1===n?[]:[t.slice(0,n),t.slice(n+e.length)]}function v(t,e){const n={};if(Array.isArray(e))for(const s of e){const e=Object.getOwnPropertyDescriptor(t,s);e?.enumerable&&Object.defineProperty(n,s,e)}else for(const s of Reflect.ownKeys(t)){const i=Object.getOwnPropertyDescriptor(t,s);i.enumerable&&e(s,t[s],t)&&Object.defineProperty(n,s,i)}return n}const w=t=>null==t,y=t=>encodeURIComponent(t).replaceAll(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),A=Symbol("encodeFragm
//# sourceMappingURL=files-main.js.map?v=214a8aceb97531ae6834