(()=>{vare,s,t,n={9052:e=>{"use strict";vars=Object.prototype.hasOwnProperty,t="~";functionn(){}functiona(e,s,t){this.fn=e,this.context=s,this.once=t||!1}functioni(e,s,n,i,l){if("function"!=typeofn)thrownewTypeError("The listener must be a function");varr=newa(n,i||e,l),o=t?t+s:s;returne._events[o]?e._events[o].fn?e._events[o]=[e._events[o],r]:e._events[o].push(r):(e._events[o]=r,e._eventsCount++),e}functionl(e,s){0==--e._eventsCount?e._events=newn:deletee._events[s]}functionr(){this._events=newn,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(newn).__proto__||(t=!1)),r.prototype.eventNames=function(){vare,n,a=[];if(0===this._eventsCount)returna;for(nine=this._events)s.call(e,n)&&a.push(t?n.slice(1):n);returnObject.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},r.prototype.listeners=function(e){vars=t?t+e:e,n=this._events[s];if(!n)return[];if(n.fn)return[n.fn];for(vara=0,i=n.length,l=newArray(i);a<i;a++)l[a]=n[a].fn;returnl},r.prototype.listenerCount=function(e){vars=t?t+e:e,n=this._events[s];returnn?n.fn?1:n.length:0},r.prototype.emit=function(e,s,n,a,i,l){varr=t?t+e:e;if(!this._events[r])return!1;varo,m,d=this._events[r],c=arguments.length;if(d.fn){switch(d.once&&this.removeListener(e,d.fn,void0,!0),c){case1:returnd.fn.call(d.context),!0;case2:returnd.fn.call(d.context,s),!0;case3:returnd.fn.call(d.context,s,n),!0;case4:returnd.fn.call(d.context,s,n,a),!0;case5:returnd.fn.call(d.context,s,n,a,i),!0;case6:returnd.fn.call(d.context,s,n,a,i,l),!0}for(m=1,o=newArray(c-1);m<c;m++)o[m-1]=arguments[m];d.fn.apply(d.context,o)}else{varg,u=d.length;for(m=0;m<u;m++)switch(d[m].once&&this.removeListener(e,d[m].fn,void0,!0),c){case1:d[m].fn.call(d[m].context);break;case2:d[m].fn.call(d[m].context,s);break;case3:d[m].fn.call(d[m].context,s,n);break;case4:d[m].fn.call(d[m].context,s,n,a);break;default:if(!o)for(g=1,o=newArray(c-1);g<c;g++)o[g-1]=arguments[g];d[m].fn.apply(d[m].context,o)}}return!0},r.prototype.on=function(e,s,t){returni(this,e,s,t,!1)},r.prototype.once=function(e,s,t){returni(this,e,s,t,!0)},r.prototype.removeListener=function(e,s,n,a){vari=t?t+e:e;if(!this._events[i])returnthis;if(!s)returnl(this,i),this;varr=this._events[i];if(r.fn)r.fn!==s||a&&!r.once||n&&r.context!==n||l(this,i);else{for(varo=0,m=[],d=r.length;o<d;o++)(r[o].fn!==s||a&&!r[o].once||n&&r[o].context!==n)&&m.push(r[o]);m.length?this._events[i]=1===m.length?m[0]:m:l(this,i)}returnthis},r.prototype.removeAllListeners=function(e){vars;returne?(s=t?t+e:e,this._events[s]&&l(this,s)):(this._events=newn,this._eventsCount=0),this},r.prototype.off=r.prototype.removeListener,r.prototype.addListener=r.prototype.on,r.prefixed=t,r.EventEmitter=r,e.exports=r},76150:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});constn=(0,t(35947).YK)().setApp("files").detectUser().build()},15076:(e,s,t)=>{"use strict";varn=t(49584),a=t(61338),i=t(85168),l=t(53334),r=t(65043),o=t(76150),m=t(49264);constd=e=>e.every((e=>!0===e.attributes["is-mount-root"]&&"shared"===e.attributes["mount-type"])),c=e=>e.every((e=>!0===e.attributes["is-mount-root"]&&"external"===e.attributes["mount-type"])),g=(e,s)=>"trashbin"===s.id?(0,l.Tl)("files","Delete permanently"):(e=>{if(1===e.length)return!1;consts=e.some((e=>d([e]))),t=e.some((e=>!d([e])));returns&&t})(e)?(0,l.Tl)("files","Delete and unshare"):d(e)?1===e.length?(0,l.Tl)("files","Leave this share"):(0,l.Tl)("files","Leave these shares"):c(e)?1===e.length?(0,l.Tl)("files","Disconnect storage"):(0,l.Tl)("files","Disconnect storages"):(e=>!e.some((e=>e.type!==n.pt.File)))(e)?1===e.length?(0,l.Tl)("files","Delete file"):(0,l.Tl)("files","Delete files"):(e=>!e.some((e=>e.type!==n.pt.Folder)))(e)?1===e.length?(0,l.Tl)("files","Delete folder"):(0,l.Tl)("files","Delete folders"):(0,l.Tl)("files","Delete"),u=newm.A({concurrency:5}),f=newn.hY({id:"delete",displayName:g,iconSvgInline:e=>d(e)?'<svgxmlns="http://www.w3.org/2000/svg"id="mdi-close"viewBox="0 0 24 24"><pathd="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.5