You can not 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-server/dist/files-main.js

3 lines
604 KiB

/*! For license information please see files-main.js.LICENSE.txt */
(()=>{var e,n,s,i={13928:(e,n,s)=>{"use strict";var i={};s.r(i),s.d(i,{exclude:()=>kr,extract:()=>vr,parse:()=>br,parseUrl:()=>xr,pick:()=>Tr,stringify:()=>Cr,stringifyUrl:()=>_r});var r=s(20144),a=!0;function o(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:void 0!==s.g?s.g:{}}r.default.util.warn;const l="function"==typeof Proxy,c="devtools-plugin:setup";let u,d;class m{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const e in t.settings){const s=t.settings[e];n[e]=s.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},n);try{const t=localStorage.getItem(i),e=JSON.parse(t);Object.assign(r,e)}catch(t){}this.fallbacks={getSettings:()=>r,setSettings(t){try{localStorage.setItem(i,JSON.stringify(t))}catch(t){}r=t},now:()=>{return void 0!==u||("undefined"!=typeof window&&window.performance?(u=!0,d=window.performance):void 0!==s.g&&(null===(t=s.g.perf_hooks)||void 0===t?void 0:t.performance)?(u=!0,d=s.g.perf_hooks.performance):u=!1),u?d.now():Date.now();var t}},e&&e.on("plugin:settings:set",((t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)})),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise((n=>{this.targetQueue.push({method:e,args:t,resolve:n})}))})}async setRealTarget(t){this.target=t;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function p(t,e){const n=t,s=o(),i=o().__VUE_DEVTOOLS_GLOBAL_HOOK__,r=l&&n.enableEarlyProxy;if(!i||!s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&r){const t=r?new m(n,i):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else i.emit(c,t,e)}var f=s(25108);let g;const h=t=>g=t,A=Symbol();function w(t){return t&&"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!=typeof t.toJSON}var y;!function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"}(y||(y={}));const v="undefined"!=typeof window,b="undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&v,C=(()=>"object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:"object"==typeof globalThis?globalThis:{HTMLElement:null})();function x(t,e,n){const s=new XMLHttpRequest;s.open("GET",t),s.responseType="blob",s.onload=function(){S(s.response,e,n)},s.onerror=function(){f.error("could not download file")},s.send()}function _(t){const e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return e.status>=200&&e.status<=299}function T(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}const k="object"==typeof navigator?navigator:{userAgent:""},E=(()=>/Macintosh/.test(k.userAgent)&&/AppleWebKit/.test(k.userAgent)&&!/Safari/.test(k.userAgent))(),S=v?"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!E?function(t,e="download",n){const s=document.createElement("a");s.download=e,s.rel="noopener","string"==typeof t?(s.href=t,s.origin!==location.origin?_(s.href)?x(t,e,n):(s.target="_blank",T(s)):T(s)):(s.href=URL.createObjectURL(t),setTimeout((function(){URL.revokeObjectURL(s.href)}),4e4),setTimeout((function(){T(s)}),0))}:"msSaveOrOpenBlob"in k?function(t,e="download",n){if("string"==typeof t)if(_(t))x(t,e,n);else{const e=document.createElement("a");e.href=t,e.target="_blank",setTimeout((function(){T(e)}))}else navigator.msSaveOrOpenBlob(function(t,{autoBom:e=!1}={}){return e&&/^\s*(?:text\/\S
//# sourceMappingURL=files-main.js.map?v=e9b7ae9670a2fbf886dc