(()=>{"use strict";var e,t,s,n={9165:(e,t,s)=>{s.d(t,{DvY:()=>a,NZC:()=>i,O1W:()=>n,ZL5:()=>r,fEr:()=>o});var n="M9,10H7V12H9V10M13,10H11V12H13V10M17,10H15V12H17V10M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V8H19V19Z",i="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M16.2,16.2L11,13V7H12.5V12.2L17,14.9L16.2,16.2Z",a="M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z",o="M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z",r="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"},10493:(e,t,s)=>{var n=s(35810),i=s(85168),a=s(53334),o=s(49264),r=s(9558),l=s(61338),m=s(87485),d=s(65043);const c=()=>!0===(0,m.F)()?.files?.undelete,g=e=>e.every((e=>!0===e.attributes["is-mount-root"]&&"shared"===e.attributes["mount-type"])),u=e=>e.every((e=>!0===e.attributes["is-mount-root"]&&"external"===e.attributes["mount-type"])),f=(e,t)=>g(e)?1===e.length?(0,a.t)("files","Leave this share"):(0,a.t)("files","Leave these shares"):u(e)?1===e.length?(0,a.t)("files","Disconnect storage"):(0,a.t)("files","Disconnect storages"):"trashbin"!==t.id&&c()?(e=>{if(1===e.length)return!1;const t=e.some((e=>g([e]))),s=e.some((e=>!g([e])));return t&&s})(e)?(0,a.t)("files","Delete and unshare"):(e=>!e.some((e=>e.type!==n.pt.File)))(e)?1===e.length?(0,a.t)("files","Delete file"):(0,a.t)("files","Delete files"):(e=>!e.some((e=>e.type!==n.pt.Folder)))(e)?1===e.length?(0,a.t)("files","Delete folder"):(0,a.t)("files","Delete folders"):(0,a.t)("files","Delete"):(0,a.t)("files","Delete permanently"),p=async(e,t)=>{const s="trashbin"!==t.id&&c()?(0,a.n)("files","You are about to delete {count} item","You are about to delete {count} items",e.length,{count:e.length}):(0,a.n)("files","You are about to permanently delete {count} item","You are about to permanently delete {count} items",e.length,{count:e.length});return new Promise((n=>{window.OC.dialogs.confirmDestructive(s,(0,a.t)("files","Confirm deletion"),{type:window.OC.dialogs.YES_NO_BUTTONS,confirm:f(e,t),confirmClasses:"error",cancel:(0,a.t)("files","Cancel")},(e=>{n(e)}))}))},h=async e=>{await d.Ay.delete(e.encodedSource),(0,l.Ic)("files:node:deleted",e)},w=new o.A({concurrency:5}),v=new n.hY({id:"delete",displayName:f,iconSvgInline:e=>g(e)?'':u(e)?'':'',enabled:e=>e.length>0&&e.map((e=>e.permissions)).every((e=>!!(e&n.aX.DELETE))),async exec(e,t){try{let s=!0;return c()||(s=await p([e],t)),!1===s?((0,i.cf)((0,a.Tl)("files","Deletion cancelled")),null):(await h(e),!0)}catch(t){return r.A.error("Error while deleting a file",{error:t,source:e.source,node:e}),!1}},async execBatch(e,t){let s=!0;if(c()?e.length>=5&&!g(e)&&!u(e)&&(s=await p(e,t)):s=await p(e,t),!1===s)return(0,i.cf)((0,a.Tl)("files","Deletion cancelled")),Promise.all(e.map((()=>null)));const n=e.map((e=>new Promise((t=>{w.add((async()=>{try{await h(e),t(!0)}catch(s){r.A.error("Error while deleting a file",{error:s,source:e.source,node:e}),t(!1)}}))}))));return Promise.all(n)},order:100});function T(e){if(!(e.permissions&n.aX.READ))return!1;if(e.attributes["share-attributes"]){const t=JSON.parse(e.attributes["share-attributes"]||"[]").find((e=>{let{scope:t,key:s}=e;return"permissions"===t&&"download"===s}));if(void 0!==t)return!0===t.value}return!0}const x=function(e){const t=document.createElement("a");t.download="",t.href=e,t.click()};function b(e,t){const s=e.split("/").filter(Boolean),n=t.split("/").filter(Boolean);let i="";for(const[e,a]of s.entries()){if(e>=t.length)break;if(a!==n[e])break;i=`${i}${""===i?"":"/"}${a}`}return i}const y=function(e){let t;if(1===e.length){if(e[0].type===n.pt.File)return x(e[0].encodedSource);t=new URL(e[0].encodedSource),t.searchParams.append("accept","zip")}else{t=new URL(e[0].source);let s=t.pathname;for(const t of e.slice(1))s=b(s,new URL(t.source).pathname);t.pathname=s;const n=e.map((e=>decodeURI(e.encodedSource.slice(t.href.length+1))));t.searchParams.append("accept","zip"),t.searchParams.append("files",JSON.stringify(n))}return"/"!==t.pathname.at(-1)&&(t.pathname=`${t.pathname}/`),x(t.href)},k=new n.hY({id:"download",default:n.m9.DEFAULT,displayName:()=>(0,a.t)("files","Download"),iconSvgInline:()=>'',enabled:e=>0!==e.length&&!e.some((e=>!e.isDavRessource))&&e.every(T),exec:async e=>(y([e]),null),execBatch:async e=>(y(e),new Array(e.length).fill(null)),order:30});var C=s(71225),L=s(63814),S=s(21777),U=s(82680);const N=async function(e){const t=(0,L.KT)("apps/files/api/v1")+"/openlocaleditor?format=json";try{const s=await d.Ay.post(t,{path:e}),n=(0,S.HW)()?.uid;let i=`nc://open/${n}@`+window.location.host+(0,C.O0)(e);i+="?token="+s.data.ocs.data.token,window.open(i,"_self")}catch(e){(0,i.Qg)((0,a.Tl)("files","Failed to redirect to client"))}},A=new n.hY({id:"edit-locally",displayName:()=>(0,a.Tl)("files","Edit locally"),iconSvgInline:()=>'',enabled:e=>1===e.length&&!(0,U.f)()&&!!(e[0].permissions&n.aX.UPDATE),exec:async e=>((async e=>{N(e),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{},t=!1;(new i.ik).setName((0,a.Tl)("files","Edit file locally")).setText((0,a.Tl)("files","The file should now open on your device. If it doesn't, please check that you have the desktop app installed.")).setButtons([{label:(0,a.Tl)("files","Retry and close"),type:"secondary",callback:()=>{t=!0,e(!0)}},{label:(0,a.Tl)("files","Edit online"),icon:'',type:"primary",callback:()=>{t=!0,e(!1)}}]).build().show().then((()=>{t||e(!1)}))}((t=>{t?N(e):window.OCA.Viewer.open({path:e})}))})(e.path),null),order:25});var F=s(85471),E=s(11459);const _=new o.A({concurrency:5}),P=e=>e.some((e=>1!==e.attributes.favorite)),I=async(e,t,s)=>{try{const n=(0,L.Jv)("/apps/files/api/v1/files")+(0,C.O0)(e.path);return await d.Ay.post(n,{tags:s?[window.OC.TAG_FAVORITE]:[]}),"favorites"!==t.id||s||"/"!==e.dirname||(0,l.Ic)("files:node:deleted",e),F.Ay.set(e.attributes,"favorite",s?1:0),s?(0,l.Ic)("files:favorites:added",e):(0,l.Ic)("files:favorites:removed",e),!0}catch(t){const n=s?"adding a file to favourites":"removing a file from favourites";return r.A.error("Error while "+n,{error:t,source:e.source,node:e}),!1}},O=new n.hY({id:"favorite",displayName:e=>P(e)?(0,a.Tl)("files","Add to favorites"):(0,a.Tl)("files","Remove from favorites"),iconSvgInline:e=>P(e)?'':E,enabled:e=>!(0,U.f)()&&e.every((e=>e.root?.startsWith?.("/files")))&&e.every((e=>e.permissions!==n.aX.NONE)),async exec(e,t){const s=P([e]);return await I(e,t,s)},async execBatch(e,t){const s=P(e),n=e.map((e=>new Promise((n=>{_.add((async()=>{try{await I(e,t,s),n(!0)}catch(t){r.A.error("Error while adding file to favorite",{error:t,source:e.source,node:e}),n(!1)}}))}))));return Promise.all(n)},order:-50});var j=s(24351),z=s(43627),R=s(36882),B=s(39285),D=s(32981);const M=(0,D.C)("files_sharing","sharePermissions",n.aX.NONE);let V;var H;!function(e){e.MOVE="Move",e.COPY="Copy",e.MOVE_OR_COPY="move-or-copy"}(H||(H={}));const $=e=>{const t=e.reduce(((e,t)=>Math.min(e,t.permissions)),n.aX.ALL);return Boolean(t&n.aX.DELETE)},W=e=>!!(e=>e.every((e=>!JSON.parse(e.attributes?.["share-attributes"]??"[]").some((e=>"permissions"===e.scope&&!1===e.value&&"download"===e.key)))))(e)&&!e.some((e=>e.permissions===n.aX.NONE))&&(!(0,U.f)()||Boolean(M&n.aX.CREATE));var Y=s(36117);const G=(0,n.H4)(),q=e=>(0,n.Al)(e),K=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/";e=(0,z.join)(n.lJ,e);const t=new AbortController,s=(0,n.VL)();return new Y.CancelablePromise((async(n,i,a)=>{a((()=>t.abort()));try{const i=await G.getDirectoryContents(e,{details:!0,data:s,includeSelf:!0,signal:t.signal}),a=i.data[0],o=i.data.slice(1);if(a.filename!==e&&`${a.filename}/`!==e)throw r.A.debug(`Exepected "${e}" but got filename "${a.filename}" instead.`),new Error("Root node does not match requested path");n({folder:q(a),contents:o.map((e=>{try{return q(e)}catch(t){return r.A.error(`Invalid node detected '${e.basename}'`,{error:t}),null}})).filter(Boolean)})}catch(e){i(e)}}))},X=e=>$(e)?W(e)?H.MOVE_OR_COPY:H.MOVE:H.COPY,J=async function(e,t,s){let m=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!t)return;if(t.type!==n.pt.Folder)throw new Error((0,a.Tl)("files","Destination is not a folder"));if(s===H.MOVE&&e.dirname===t.path)throw new Error((0,a.Tl)("files","This file/folder is already in that directory"));if(`${t.path}/`.startsWith(`${e.path}/`))throw new Error((0,a.Tl)("files","You cannot move a file/folder onto itself or into a subfolder of itself"));F.Ay.set(e,"status",n.zI.LOADING);const c=function(e,t,s){const n=e===H.MOVE?(0,a.Tl)("files",'Moving "{source}" to "{destination}" …',{source:t,destination:s}):(0,a.Tl)("files",'Copying "{source}" to "{destination}" …',{source:t,destination:s});let o;return o=(0,i.cf)(` ${n}`,{isHTML:!0,timeout:i.DH,onRemove:()=>{o?.hideToast(),o=void 0}}),()=>o&&o.hideToast()}(s,e.basename,t.path),g=(V||(V=new o.A({concurrency:5})),V);return await g.add((async()=>{const o=e=>1===e?(0,a.Tl)("files","(copy)"):(0,a.Tl)("files","(copy %n)",void 0,e);try{const r=(0,n.H4)(),d=(0,z.join)(n.lJ,e.path),c=(0,z.join)(n.lJ,t.path);if(s===H.COPY){let s=e.basename;if(!m){const t=await r.getDirectoryContents(c);s=(0,n.E6)(e.basename,t.map((e=>e.basename)),{suffix:o,ignoreFileExtension:e.type===n.pt.Folder})}if(await r.copyFile(d,(0,z.join)(c,s)),e.dirname===t.path){const{data:e}=await r.stat((0,z.join)(c,s),{details:!0,data:(0,n.VL)()});(0,l.Ic)("files:node:created",(0,n.Al)(e))}}else{if(!m){const s=await K(t.path);if((0,j.h)([e],s.contents))try{const{selected:n,renamed:i}=await(0,j.o)(t.path,[e],s.contents);if(!n.length&&!i.length)return}catch(e){return void(0,i.Qg)((0,a.Tl)("files","Move cancelled"))}}await r.moveFile(d,(0,z.join)(c,e.basename)),(0,l.Ic)("files:node:deleted",e)}}catch(e){if((0,d.F0)(e)){if(412===e.response?.status)throw new Error((0,a.Tl)("files","A file or folder with that name already exists in this folder"));if(423===e.response?.status)throw new Error((0,a.Tl)("files","The files are locked"));if(404===e.response?.status)throw new Error((0,a.Tl)("files","The file does not exist anymore"));if(e.message)throw new Error(e.message)}throw r.A.debug(e),new Error}finally{F.Ay.set(e,"status",""),c()}}))};async function Z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",s=arguments.length>2?arguments[2]:void 0;const{resolve:o,reject:l,promise:m}=Promise.withResolvers(),d=s.map((e=>e.fileid)).filter(Boolean);return(0,i.a1)((0,a.Tl)("files","Choose destination")).allowDirectories(!0).setFilter((e=>!d.includes(e.fileid))).setMimeTypeFilter([]).setMultiSelect(!1).startAt(t).setButtonFactory(((t,i)=>{const r=[],l=(0,z.basename)(i),m=s.map((e=>e.dirname)),d=s.map((e=>e.path));return e!==H.COPY&&e!==H.MOVE_OR_COPY||r.push({label:l?(0,a.Tl)("files","Copy to {target}",{target:l},void 0,{escape:!1,sanitize:!1}):(0,a.Tl)("files","Copy"),type:"primary",icon:R,disabled:t.some((e=>!(e.permissions&n.aX.CREATE))),async callback(e){o({destination:e[0],action:H.COPY})}}),m.includes(i)||d.includes(i)||e!==H.MOVE&&e!==H.MOVE_OR_COPY||r.push({label:l?(0,a.Tl)("files","Move to {target}",{target:l},void 0,{escape:!1,sanitize:!1}):(0,a.Tl)("files","Move"),type:e===H.MOVE?"primary":"secondary",icon:B,async callback(e){o({destination:e[0],action:H.MOVE})}}),r})).build().pick().catch((e=>{r.A.debug(e),e instanceof i.vT?o(!1):l(new Error((0,a.Tl)("files","Move or copy operation failed")))})),m}const Q=new n.hY({id:"move-copy",displayName(e){switch(X(e)){case H.MOVE:return(0,a.Tl)("files","Move");case H.COPY:return(0,a.Tl)("files","Copy");case H.MOVE_OR_COPY:return(0,a.Tl)("files","Move or copy")}},iconSvgInline:()=>B,enabled:(e,t)=>"public-file-share"!==t.id&&!!e.every((e=>e.root?.startsWith("/files/")))&&e.length>0&&($(e)||W(e)),async exec(e,t,s){const n=X([e]);let o;try{o=await Z(n,s,[e])}catch(e){return r.A.error(e),!1}if(!1===o)return(0,i.cf)((0,a.Tl)("files",'Cancelled move or copy of "{filename}".',{filename:e.displayname})),null;try{return await J(e,o.destination,o.action),!0}catch(e){return!!(e instanceof Error&&e.message)&&((0,i.Qg)(e.message),null)}},async execBatch(e,t,s){const n=X(e),o=await Z(n,s,e);if(!1===o)return(0,i.cf)(1===e.length?(0,a.Tl)("files",'Cancelled move or copy of "{filename}".',{filename:e[0].displayname}):(0,a.Tl)("files","Cancelled move or copy operation")),e.map((()=>null));const l=e.map((async e=>{try{return await J(e,o.destination,o.action),!0}catch(t){return r.A.error(`Failed to ${o.action} node`,{node:e,error:t}),!1}}));return await Promise.all(l)},order:15}),ee='',te=new n.hY({id:"open-folder",displayName(e){const t=e[0].displayname;return(0,a.Tl)("files","Open folder {displayName}",{displayName:t})},iconSvgInline:()=>ee,enabled(e){if(1!==e.length)return!1;const t=e[0];return!!t.isDavRessource&&t.type===n.pt.Folder&&!!(t.permissions&n.aX.READ)},exec:async(e,t)=>!(!e||e.type!==n.pt.Folder)&&(window.OCP.Files.Router.goToRoute(null,{view:t.id,fileid:String(e.fileid)},{dir:e.path}),null),default:n.m9.HIDDEN,order:-100}),se=new n.hY({id:"open-in-files-recent",displayName:()=>(0,a.Tl)("files","Open in Files"),iconSvgInline:()=>"",enabled:(e,t)=>"recent"===t.id,async exec(e){let t=e.dirname;return e.type===n.pt.Folder&&(t=t+"/"+e.basename),window.OCP.Files.Router.goToRoute(null,{view:"files",fileid:String(e.fileid)},{dir:t,openfile:"true"}),null},order:-1e3,default:n.m9.HIDDEN}),ne=new n.hY({id:"rename",displayName:()=>(0,a.Tl)("files","Rename"),iconSvgInline:()=>'',enabled:(e,t)=>0!==e.length&&"public-file-share"!==t.id&&e.every((e=>Boolean(e.permissions&n.aX.DELETE))),exec:async e=>((0,l.Ic)("files:node:rename",e),null),order:10});var ie=s(49981);const ae=new n.hY({id:"details",displayName:()=>(0,a.Tl)("files","Open details"),iconSvgInline:()=>ie,enabled:e=>!(0,U.f)()&&1===e.length&&!!e[0]&&!!window?.OCA?.Files?.Sidebar&&((e[0].root?.startsWith("/files/")&&e[0].permissions!==n.aX.NONE)??!1),async exec(e,t,s){try{return window.OCA.Files.Sidebar.setActiveTab("sharing"),await window.OCA.Files.Sidebar.open(e.path),window.OCP.Files.Router.goToRoute(null,{view:t.id,fileid:String(e.fileid)},{...window.OCP.Files.Router.query,dir:s},!0),null}catch(e){return r.A.error("Error while opening sidebar",{error:e}),!1}},order:-50}),oe=new n.hY({id:"view-in-folder",displayName:()=>(0,a.Tl)("files","View in folder"),iconSvgInline:()=>B,enabled(e,t){if((0,U.f)())return!1;if("files"===t.id)return!1;if(1!==e.length)return!1;const s=e[0];return!!s.isDavRessource&&!!s.root?.startsWith("/files")&&s.permissions!==n.aX.NONE&&s.type===n.pt.File},exec:async e=>!(!e||e.type!==n.pt.File)&&(window.OCP.Files.Router.goToRoute(null,{view:"files",fileid:String(e.fileid)},{dir:e.dirname}),null),order:80});class re extends n.L3{constructor(){var e,t,s;super("files:hidden",0),e=this,s=void 0,(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var s=t.call(e,"string");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t="showHidden"))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,this.showHidden=(0,D.C)("files","config",{show_hidden:!1}).show_hidden,(0,l.B1)("files:config:updated",(e=>{let{key:t,value:s}=e;"show_hidden"===t&&(this.showHidden=Boolean(s),this.filterUpdated())}))}filter(e){return this.showHidden?e:e.filter((e=>!0!==e.attributes.hidden&&!e.basename.startsWith(".")))}}var le=s(9165),me=s(18503),de=s(6695),ce=s(24764),ge=s(15502);const ue=(0,F.pM)({__name:"FileListFilter",props:{isActive:{type:Boolean},filterName:null},emits:["reset-filter"],setup:e=>({__sfc:!0,t:a.t,NcActions:ce.A,NcActionButton:me.A,NcActionSeparator:ge.A})});var fe=s(85072),pe=s.n(fe),he=s(97825),we=s.n(he),ve=s(77659),Te=s.n(ve),xe=s(55056),be=s.n(xe),ye=s(10540),ke=s.n(ye),Ce=s(41113),Le=s.n(Ce),Se=s(69409),Ue={};Ue.styleTagTransform=Le(),Ue.setAttributes=be(),Ue.insert=Te().bind(null,"head"),Ue.domAPI=we(),Ue.insertStyleElement=ke(),pe()(Se.A,Ue),Se.A&&Se.A.locals&&Se.A.locals;var Ne=s(14486);const Ae=(0,Ne.A)(ue,(function(){var e=this,t=e._self._c,s=e._self._setupProxy;return t(s.NcActions,{attrs:{"force-menu":"",type:e.isActive?"secondary":"tertiary","menu-name":e.filterName},scopedSlots:e._u([{key:"icon",fn:function(){return[e._t("icon")]},proxy:!0}],null,!0)},[e._v(" "),e._t("default"),e._v(" "),e.isActive?[t(s.NcActionSeparator),e._v(" "),t(s.NcActionButton,{staticClass:"files-list-filter__clear-button",attrs:{"close-after-click":""},on:{click:function(t){return e.$emit("reset-filter")}}},[e._v("\n\t\t\t"+e._s(s.t("files","Clear filter"))+"\n\t\t")])]:e._e()],2)}),[],!1,null,"5c37f334",null).exports,Fe=(0,F.pM)({name:"FileListFilterType",components:{FileListFilter:Ae,NcActionButton:me.A,NcIconSvgWrapper:de.A},props:{typePresets:{type:Array,required:!0}},setup:()=>({mdiFile:le.DvY,t:a.Tl}),data:()=>({selectedOptions:[]}),computed:{isActive(){return this.selectedOptions.length>0}},watch:{selectedOptions(e,t){0===this.selectedOptions.length?0!==t.length&&this.$emit("update:preset"):this.$emit("update:preset",this.selectedOptions)}},methods:{resetFilter(){this.selectedOptions=[]},toggleOption(e){const t=this.selectedOptions.indexOf(e);-1!==t?this.selectedOptions.splice(t,1):this.selectedOptions.push(e)}}});var Ee=s(44989),_e={};_e.styleTagTransform=Le(),_e.setAttributes=be(),_e.insert=Te().bind(null,"head"),_e.domAPI=we(),_e.insertStyleElement=ke(),pe()(Ee.A,_e),Ee.A&&Ee.A.locals&&Ee.A.locals;const Pe=(0,Ne.A)(Fe,(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("FileListFilter",{staticClass:"file-list-filter-type",attrs:{"is-active":e.isActive,"filter-name":e.t("files","Type")},on:{"reset-filter":e.resetFilter},scopedSlots:e._u([{key:"icon",fn:function(){return[t("NcIconSvgWrapper",{attrs:{path:e.mdiFile}})]},proxy:!0}])},[e._v(" "),e._l(e.typePresets,(function(s){return t("NcActionButton",{key:s.id,attrs:{type:"checkbox","model-value":e.selectedOptions.includes(s)},on:{click:function(t){return e.toggleOption(s)}},scopedSlots:e._u([{key:"icon",fn:function(){return[t("NcIconSvgWrapper",{attrs:{svg:s.icon}})]},proxy:!0}],null,!0)},[e._v("\n\t\t"+e._s(s.label)+"\n\t")])}))],2)}),[],!1,null,null,null).exports;function Ie(e,t,s){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var s=t.call(e,"string");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}const Oe=(e,t)=>e.replace("this.setPreset()))}async mount(e){void 0===this.allPresets&&(this.allPresets=await(async()=>[{id:"document",label:(0,a.t)("files","Documents"),icon:Oe('',"#49abea"),mime:["x-office/document"]},{id:"spreadsheet",label:(0,a.t)("files","Spreadsheets"),icon:Oe('',"#9abd4e"),mime:["x-office/spreadsheet"]},{id:"presentation",label:(0,a.t)("files","Presentations"),icon:Oe('',"#f0965f"),mime:["x-office/presentation"]},{id:"pdf",label:(0,a.t)("files","PDFs"),icon:Oe('',"#dc5047"),mime:["application/pdf"]},{id:"folder",label:(0,a.t)("files","Folders"),icon:Oe(ee,window.getComputedStyle(document.body).getPropertyValue("--color-primary-element")),mime:["httpd/unix-directory"]},{id:"audio",label:(0,a.t)("files","Audio"),icon:'',mime:["audio"]},{id:"image",label:(0,a.t)("files","Photos and images"),icon:'',mime:["image"]},{id:"video",label:(0,a.t)("files","Videos"),icon:'',mime:["video"]}])()),this.currentInstance&&this.currentInstance.$destroy();const t=F.Ay.extend(Pe);this.currentInstance=new t({propsData:{typePresets:this.allPresets},el:e}).$on("update:preset",this.setPreset.bind(this)).$mount()}filter(e){if(!this.currentPresets||0===this.currentPresets.length)return e;const t=this.currentPresets.reduce(((e,t)=>[...e,...t.mime]),[]);return e.filter((e=>{if(!e.mime)return!1;const s=e.mime.toLowerCase();return!!t.includes(s)||!!t.includes(window.OC.MimeTypeList.aliases[s])||!!t.includes(s.split("/")[0])}))}setPreset(e){this.currentPresets=e,this.filterUpdated();const t=[];if(e&&e.length>0)for(const s of e)t.push({icon:s.icon,text:s.label,onclick:()=>this.setPreset(e.filter((e=>{let{id:t}=e;return t!==s.id})))});else this.currentInstance?.resetFilter();this.updateChips(t)}}const ze=(0,F.pM)({components:{FileListFilter:Ae,NcActionButton:me.A,NcIconSvgWrapper:de.A},props:{timePresets:{type:Array,required:!0}},setup:()=>({mdiCalendarRange:le.O1W}),data:()=>({selectedOption:null,timeRangeEnd:null,timeRangeStart:null}),computed:{isActive(){return null!==this.selectedOption},currentPreset(){return this.timePresets.find((e=>{let{id:t}=e;return t===this.selectedOption}))??null}},watch:{selectedOption(){if(null===this.selectedOption)this.$emit("update:preset");else{const e=this.currentPreset;this.$emit("update:preset",e)}}},methods:{t:a.Tl,resetFilter(){this.selectedOption=null,this.timeRangeEnd=null,this.timeRangeStart=null}}});var Re=s(27107),Be={};Be.styleTagTransform=Le(),Be.setAttributes=be(),Be.insert=Te().bind(null,"head"),Be.domAPI=we(),Be.insertStyleElement=ke(),pe()(Re.A,Be),Re.A&&Re.A.locals&&Re.A.locals;const De=(0,Ne.A)(ze,(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("FileListFilter",{attrs:{"is-active":e.isActive,"filter-name":e.t("files","Modified")},on:{"reset-filter":e.resetFilter},scopedSlots:e._u([{key:"icon",fn:function(){return[t("NcIconSvgWrapper",{attrs:{path:e.mdiCalendarRange}})]},proxy:!0}])},[e._v(" "),e._l(e.timePresets,(function(s){return t("NcActionButton",{key:s.id,attrs:{type:"radio","close-after-click":"","model-value":e.selectedOption,value:s.id},on:{"update:modelValue":function(t){e.selectedOption=t},"update:model-value":function(t){e.selectedOption=t}}},[e._v("\n\t\t"+e._s(s.label)+"\n\t")])}))],2)}),[],!1,null,"cfb7f0ce",null).exports;function Me(e,t,s){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var s=t.call(e,"string");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}const Ve=()=>(new Date).setHours(0,0,0,0),He=[{id:"today",label:(0,a.t)("files","Today"),filter:e=>e>Ve()},{id:"last-7",label:(0,a.t)("files","Last 7 days"),filter:e=>e>Ve()-6048e5},{id:"last-30",label:(0,a.t)("files","Last 30 days"),filter:e=>e>Ve()-2592e6},{id:"this-year",label:(0,a.t)("files","This year ({year})",{year:(new Date).getFullYear()}),filter:e=>e>new Date(Ve()).setMonth(0,1)},{id:"last-year",label:(0,a.t)("files","Last year ({year})",{year:(new Date).getFullYear()-1}),filter:e=>e>new Date(Ve()).setFullYear((new Date).getFullYear()-1,0,1)&&ethis.setPreset()))}mount(e){this.currentInstance&&this.currentInstance.$destroy();const t=F.Ay.extend(De);this.currentInstance=new t({propsData:{timePresets:He},el:e}).$on("update:preset",this.setPreset.bind(this)).$mount()}filter(e){return this.currentPreset?e.filter((e=>void 0===e.mtime||this.currentPreset.filter(e.mtime.getTime()))):e}setPreset(e){this.currentPreset=e,this.filterUpdated();const t=[];e?t.push({icon:'',text:e.label,onclick:()=>this.setPreset()}):this.currentInstance?.resetFilter(),this.updateChips(t)}}var We=s(70995),Ye=s(94219),Ge=s(82182);const qe=(0,F.pM)({__name:"NewNodeDialog",props:{defaultName:{type:String,default:(0,a.t)("files","New folder")},otherNames:{type:Array,default:()=>[]},open:{type:Boolean,default:!0},name:{type:String,default:(0,a.t)("files","Create new folder")},label:{type:String,default:(0,a.t)("files","Folder name")}},emits:["close"],setup(e,t){let{emit:s}=t;const i=e,o=(0,F.KR)(i.defaultName),r=(0,F.KR)(),l=(0,F.KR)(),m=(0,F.KR)("");function d(){(0,F.dY)((()=>{const e=r.value?.$el.querySelector("input");if(!i.open||!e)return;const t=o.value.length-(0,z.extname)(o.value).length;e.focus(),e.setSelectionRange(0,t)}))}return(0,F.wB)((()=>[i.defaultName,i.otherNames]),(()=>{o.value=(0,n.E6)(i.defaultName,i.otherNames).trim()})),(0,F.nT)((()=>{i.otherNames.includes(o.value.trim())?m.value=(0,a.t)("files","This name is already in use."):m.value=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(""===e.trim())return(0,a.t)("files","Filename must not be empty.");try{return(0,n.KT)(e),""}catch(e){if(!(e instanceof n.di))throw e;switch(e.reason){case n.nF.Character:return(0,a.t)("files",'"{char}" is not allowed inside a filename.',{char:e.segment},void 0,{escape:t});case n.nF.ReservedName:return(0,a.t)("files",'"{segment}" is a reserved name and not allowed for filenames.',{segment:e.segment},void 0,{escape:!1});case n.nF.Extension:return e.segment.match(/\.[a-z]/i)?(0,a.t)("files",'"{extension}" is not an allowed filetype.',{extension:e.segment},void 0,{escape:!1}):(0,a.t)("files",'Filenames must not end with "{extension}".',{extension:e.segment},void 0,{escape:!1});default:return(0,a.t)("files","Invalid filename.")}}}(o.value.trim());const e=r.value?.$el.querySelector("input");e&&(e.setCustomValidity(m.value),e.reportValidity())})),(0,F.wB)((()=>i.open),(()=>{(0,F.dY)((()=>{d()}))})),(0,F.sV)((()=>{o.value=(0,n.E6)(o.value,i.otherNames).trim(),(0,F.dY)((()=>d()))})),{__sfc:!0,props:i,emit:s,localDefaultName:o,nameInput:r,formElement:l,validity:m,focusInput:d,submit:function(){l.value?.requestSubmit()},t:a.t,NcButton:We.A,NcDialog:Ye.A,NcTextField:Ge.A}}});var Ke=s(17104),Xe={};Xe.styleTagTransform=Le(),Xe.setAttributes=be(),Xe.insert=Te().bind(null,"head"),Xe.domAPI=we(),Xe.insertStyleElement=ke(),pe()(Ke.A,Xe),Ke.A&&Ke.A.locals&&Ke.A.locals;const Je=(0,Ne.A)(qe,(function(){var e=this,t=e._self._c,s=e._self._setupProxy;return t(s.NcDialog,{attrs:{"data-cy-files-new-node-dialog":"",name:e.name,open:e.open,"close-on-click-outside":"","out-transition":""},on:{"update:open":function(e){return s.emit("close",null)}},scopedSlots:e._u([{key:"actions",fn:function(){return[t(s.NcButton,{attrs:{"data-cy-files-new-node-dialog-submit":"",type:"primary",disabled:""!==s.validity},on:{click:s.submit}},[e._v("\n\t\t\t"+e._s(s.t("files","Create"))+"\n\t\t")])]},proxy:!0}])},[e._v(" "),t("form",{ref:"formElement",staticClass:"new-node-dialog__form",on:{submit:function(e){return e.preventDefault(),s.emit("close",s.localDefaultName)}}},[t(s.NcTextField,{ref:"nameInput",attrs:{"data-cy-files-new-node-dialog-input":"",error:""!==s.validity,"helper-text":s.validity,label:e.label,value:s.localDefaultName},on:{"update:value":function(e){s.localDefaultName=e}}})],1)])}),[],!1,null,"42dcb609",null).exports;function Ze(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=t.map((e=>e.basename));return new Promise((t=>{(0,i.Ss)(Je,{...s,defaultName:e,otherNames:n},(e=>{t(e)}))}))}const Qe={id:"newFolder",displayName:(0,a.Tl)("files","New folder"),enabled:e=>Boolean(e.permissions&n.aX.CREATE)&&Boolean(e.permissions&n.aX.READ),iconSvgInline:'',order:0,async handler(e,t){const s=await Ze((0,a.Tl)("files","New folder"),t);if(null!==s)try{const{fileid:t,source:o}=await(async(e,t)=>{const s=e.source+"/"+t,n=e.encodedSource+"/"+encodeURIComponent(t),i=await(0,d.Ay)({method:"MKCOL",url:n,headers:{Overwrite:"F"}});return{fileid:parseInt(i.headers["oc-fileid"]),source:s}})(e,s.trim()),m=new n.vd({source:o,id:t,mtime:new Date,owner:e.owner,permissions:n.aX.ALL,root:e?.root||"/files/"+(0,S.HW)()?.uid,attributes:{"mount-type":e.attributes?.["mount-type"],"owner-id":e.attributes?.["owner-id"],"owner-display-name":e.attributes?.["owner-display-name"]}});(0,l.Ic)("files:node:created",m),(0,i.Te)((0,a.Tl)("files",'Created new folder "{name}"',{name:(0,z.basename)(o)})),r.A.debug("Created new folder",{folder:m,source:o}),window.OCP.Files.Router.goToRoute(null,{view:"files",fileid:String(t)},{dir:e.path})}catch(e){r.A.error("Creating new folder failed",{error:e}),(0,i.Qg)("Creating new folder failed")}else(0,i.cf)((0,a.Tl)("files","New folder creation cancelled"))}};let et=(0,D.C)("files","templates_path",!1);r.A.debug("Initial templates folder",{templatesPath:et});const tt={id:"template-picker",displayName:(0,a.Tl)("files","Create templates folder"),iconSvgInline:'',order:30,enabled:e=>!et&&e.owner===(0,S.HW)()?.uid&&!!(e.permissions&n.aX.CREATE),async handler(e,t){const s=await Ze((0,a.Tl)("files","Templates"),t,{name:(0,a.Tl)("files","New template folder")});null!==s&&(async function(e,t){const s=(0,z.join)(e.path,t);try{r.A.debug("Initializing the templates directory",{templatePath:s});const{data:e}=await d.Ay.post((0,L.KT)("apps/files/api/v1/templates/path"),{templatePath:s,copySystemTemplates:!0});window.OCP.Files.Router.goToRoute(null,{view:"files",fileid:void 0},{dir:s}),r.A.info("Created new templates folder",{...e.ocs.data}),et=e.ocs.data.templates_path}catch(e){r.A.error("Unable to initialize the templates directory"),(0,i.Qg)((0,a.Tl)("files","Unable to initialize the templates directory"))}}(e,s),(0,n.gj)("template-picker"))}},st=(0,F.$V)((()=>Promise.all([s.e(4208),s.e(5421)]).then(s.bind(s,78835))));let nt=null;const it=async e=>{if(null===nt){const t=document.createElement("div");t.id="template-picker",document.body.appendChild(t),nt=new F.Ay({render:t=>t(st,{ref:"picker",props:{parent:e}}),methods:{open(){this.$refs.picker.open(...arguments)}},el:t})}return nt},at=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/";return"/"!==e?K(e):new Y.CancelablePromise(((e,t,s)=>{const i=(0,n.Q$)(G).catch(t).then((s=>{s?e({contents:s,folder:new n.vd({id:0,source:`${n.PY}${n.lJ}`,root:n.lJ,owner:(0,S.HW)()?.uid||null,permissions:n.aX.READ})}):t()}));s((()=>i.cancel()))}))},ot=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return new n.Ss({id:rt(e.path),name:e.displayname,icon:ee,order:t,params:{dir:e.path,fileid:String(e.fileid),view:"favorites"},parent:"favorites",columns:[],getContents:at})},rt=function(e){return`favorite-${function(e){let t=0;for(let s=0;s>>0}(e)}`};var lt=s(65899);const mt=(0,D.C)("files","config",{show_hidden:!1,crop_image_previews:!0,sort_favorites_first:!0,sort_folders_first:!0,grid_view:!1}),dt=(0,lt.Ey)(),ct=Math.round(Date.now()/1e3-1209600),gt=e=>(0,n.Al)(e,n.lJ,(0,L.$_)()),ut=(0,S.HW)()?.uid,ft=function(e){const t=e.attributes["mount-type"];return ut===e.owner&&!["group","shared"].includes(t)},pt="folders",ht=`${n.PY}/files/${(0,S.HW)()?.uid}`,wt=Intl.Collator([(0,a.Z0)(),(0,a.lO)()],{numeric:!0,usage:"sort"}),vt=(e,t)=>wt.compare(e.displayName??e.basename,t.displayName??t.basename),Tt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=e.toSorted(vt);for(const{id:e,basename:i,displayName:a,children:o}of n){const n=(0,C.HS)(t,i),r=`${ht}${n}`,l={source:r,encodedSource:bt(r),path:n,fileid:e,basename:i};a&&(l.displayName=a),s.push(l),o.length>0&&Tt(o,n,s)}return s},xt=e=>K(e),bt=e=>{const{origin:t}=new URL(e);return t+(0,C.O0)(e.slice(t.length))},yt=e=>{const t=(0,C.pD)(e);return t===ht?pt:bt(t)},kt=(0,D.C)("files","config",{folder_tree:!0}).folder_tree;let Ct=(0,D.C)("files","config",{show_hidden:!1}).show_hidden;const Lt=(0,n.bh)(),St=new o.A({concurrency:5,intervalCap:5,interval:200}),Ut=new o.A({concurrency:5,intervalCap:5,interval:200}),Nt=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/";await St.add((async()=>{const t=await async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const{data:s}=await d.Ay.get((0,L.KT)("/apps/files/api/v1/folder-tree"),{params:new URLSearchParams({path:e,depth:String(t)})});return Tt(s,e)}(e),s=t.map((e=>Ut.add((()=>Ft(e)))));await Promise.allSettled(s)}))},At=e=>async t=>{t.loading||t.loaded||(t.loading=!0,await Nt(e.path),t.loading=!1,t.loaded=!0,(0,l.Ic)("files:navigation:updated"),(0,l.Ic)("files:folder-tree:expanded"))},Ft=e=>{const t=Lt.views.find((t=>t.id===e.encodedSource));t&&Lt.remove(t.id),!Ct&&e.basename.startsWith(".")||Lt.register(new n.Ss({id:e.encodedSource,parent:yt(e.source),name:e.displayName??e.displayname??e.basename,icon:ee,getContents:xt,loadChildViews:At(e),params:{view:pt,fileid:String(e.fileid),dir:e.path}}))},Et=e=>{e instanceof n.vd&&Ft(e)},_t=e=>{e instanceof n.vd&&(e=>{const t=e.encodedSource;Lt.remove(t)})(e)},Pt=e=>{let{node:t,oldSource:s}=e;if(!(t instanceof n.vd))return;var i;i=s,Lt.remove(i),Ft(t);const a=t.source.replace(ht,""),o=s.replace(ht,""),r=Lt.views.filter((e=>!!e.params?.dir&&!(0,C.ys)(e.params.dir,o)&&e.params.dir.startsWith(o)));for(const e of r)e.parent=yt(t.source),e.params.dir=e.params.dir.replace(o,a)},It=async e=>{let{key:t,value:s}=e;"show_hidden"===t&&(Ct=s,await Nt(),(0,l.Ic)("files:folder-tree:initialized"))};(0,n.Gg)(v),(0,n.Gg)(k),(0,n.Gg)(A),(0,n.Gg)(O),(0,n.Gg)(Q),(0,n.Gg)(te),(0,n.Gg)(se),(0,n.Gg)(ne),(0,n.Gg)(ae),(0,n.Gg)(oe),(0,n.zj)(Qe),(0,n.zj)(tt),(0,D.C)("files","templates",[]).forEach(((e,t)=>{(0,n.zj)({id:`template-new-${e.app}-${t}`,displayName:e.label,iconClass:e.iconClass||"icon-file",iconSvgInline:e.iconSvgInline,enabled:e=>!!(e.permissions&n.aX.CREATE),order:11,async handler(t,s){const n=it(t),i=await Ze(`${e.label}${e.extension}`,s,{label:(0,a.Tl)("files","Filename"),name:e.label});null!==i&&(await n).open(i.trim(),e)}})})),!1===(0,U.f)()&&((async()=>{const e=(0,n.bh)();e.register(new n.Ss({id:"favorites",name:(0,a.Tl)("files","Favorites"),caption:(0,a.Tl)("files","List of favorite files and folders."),emptyTitle:(0,a.Tl)("files","No favorites yet"),emptyCaption:(0,a.Tl)("files","Files and folders you mark as favorite will show up here"),icon:E,order:15,columns:[],getContents:at}));const t=(await(0,n.Q$)(G)).filter((e=>e.type===n.pt.Folder)),s=t.map(((e,t)=>ot(e,t)));r.A.debug("Generating favorites view",{favoriteFolders:t}),s.forEach((t=>e.register(t))),(0,l.B1)("files:favorites:added",(e=>{e.type===n.pt.Folder&&(null!==e.path&&e.root?.startsWith("/files")?o(e):r.A.error("Favorite folder is not within user files root",{node:e}))})),(0,l.B1)("files:favorites:removed",(e=>{e.type===n.pt.Folder&&(null!==e.path&&e.root?.startsWith("/files")?m(e.path):r.A.error("Favorite folder is not within user files root",{node:e}))})),(0,l.B1)("files:node:renamed",(e=>{e.type===n.pt.Folder&&1===e.attributes.favorite&&d(e)}));const i=function(){t.sort(((e,t)=>e.path.localeCompare(t.path,(0,a.Z0)(),{ignorePunctuation:!0}))),t.forEach(((e,t)=>{const n=s.find((t=>t.id===rt(e.path)));n&&(n.order=t)}))},o=function(n){const a=ot(n);t.find((e=>e.path===n.path))||(t.push(n),s.push(a),i(),e.register(a))},m=function(n){const a=rt(n),o=t.findIndex((e=>e.path===n));-1!==o&&(t.splice(o,1),s.splice(o,1),e.remove(a),i())},d=function(e){const s=t.find((t=>t.fileid===e.fileid));void 0!==s&&(m(s.path),o(e))}})(),(0,n.bh)().register(new n.Ss({id:"files",name:(0,a.Tl)("files","All files"),caption:(0,a.Tl)("files","List of your files and folders."),icon:ee,order:0,getContents:K})),(0,n.bh)().register(new n.Ss({id:"recent",name:(0,a.Tl)("files","Recent"),caption:(0,a.Tl)("files","List of recently modified files and folders."),emptyTitle:(0,a.Tl)("files","No recently modified files"),emptyCaption:(0,a.Tl)("files","Files and folders you recently modified will show up here."),icon:'',order:10,defaultSortKey:"mtime",getContents:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/";const t=function(){const e=(0,lt.nY)("userconfig",{state:()=>({userConfig:mt}),actions:{onUpdate(e,t){F.Ay.set(this.userConfig,e,t)},async update(e,t){await d.Ay.put((0,L.Jv)("/apps/files/api/v1/config/"+e),{value:t}),(0,l.Ic)("files:config:updated",{key:e,value:t})}}})(...arguments);return e._initialized||((0,l.B1)("files:config:updated",(function(t){let{key:s,value:n}=t;e.onUpdate(s,n)})),e._initialized=!0),e}(dt),s=s=>"/"!==e||t.userConfig.show_hidden||!s.dirname.split("/").some((e=>e.startsWith("."))),i=new AbortController;return new Y.CancelablePromise((async(e,t,a)=>{a((()=>i.abort())),e((async()=>{const e=(await G.search("/",{signal:i.signal,details:!0,data:(0,n.R3)(ct)})).data.results.map(gt).filter(s);return{folder:new n.vd({id:0,source:`${n.PY}${n.lJ}`,root:n.lJ,owner:(0,S.HW)()?.uid||null,permissions:n.aX.READ}),contents:e}})())}))}})),(0,n.bh)().register(new n.Ss({id:"personal",name:(0,a.Tl)("files","Personal Files"),caption:(0,a.Tl)("files","List of your files and folders that are not shared."),emptyTitle:(0,a.Tl)("files","No personal files found"),emptyCaption:(0,a.Tl)("files","Files that are not shared will show up here."),icon:'',order:5,getContents:function(){return K(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/").then((e=>(e.contents=e.contents.filter(ft),e)))}})),(async()=>{kt&&(Lt.register(new n.Ss({id:pt,name:(0,a.Tl)("files","All folders"),caption:(0,a.Tl)("files","List of your files and folders."),icon:R,order:50,getContents:xt})),await Nt(),(0,l.B1)("files:node:created",Et),(0,l.B1)("files:node:deleted",_t),(0,l.B1)("files:node:moved",Pt),(0,l.B1)("files:config:updated",It),(0,l.Ic)("files:folder-tree:initialized"))})()),(0,n.cZ)(new re),(0,n.cZ)(new je),(0,n.cZ)(new $e),"serviceWorker"in navigator?window.addEventListener("load",(async()=>{try{const e=(0,L.Jv)("/apps/files/preview-service-worker.js",{},{noRewrite:!0}),t=(0,L.aU)(),s=await navigator.serviceWorker.register(e,{scope:t});r.A.debug("SW registered: ",{registration:s})}catch(e){r.A.error("SW registration failed: ",{error:e})}})):r.A.debug("Service Worker is not enabled on this browser."),(0,n.Yc)("nc:hidden",{nc:"http://nextcloud.org/ns"}),(0,n.Yc)("nc:is-mount-root",{nc:"http://nextcloud.org/ns"}),(0,n.Yc)("nc:metadata-blurhash",{nc:"http://nextcloud.org/ns"}),(0,n.Yc)("nc:metadata-files-live-photo",{nc:"http://nextcloud.org/ns"})},9558:(e,t,s)=>{s.d(t,{A:()=>n});const n=(0,s(35947).YK)().setApp("files").detectUser().build()},27107:(e,t,s)=>{s.d(t,{A:()=>r});var n=s(71354),i=s.n(n),a=s(76314),o=s.n(a)()(i());o.push([e.id,".files-list-filter-time__clear-button[data-v-cfb7f0ce] .action-button__text{color:var(--color-error-text)}","",{version:3,sources:["webpack://./apps/files/src/components/FileListFilter/FileListFilterModified.vue"],names:[],mappings:"AAEC,4EACC,6BAAA",sourceRoot:""}]);const r=o},69409:(e,t,s)=>{s.d(t,{A:()=>r});var n=s(71354),i=s.n(n),a=s(76314),o=s.n(a)()(i());o.push([e.id,"\n.files-list-filter__clear-button[data-v-5c37f334] .action-button__text {\n\tcolor: var(--color-error-text);\n}\n[data-v-5c37f334] .button-vue {\n\tfont-weight: normal !important;\n*[data-v-5c37f334] {\n\t\tfont-weight: normal !important;\n}\n}\n","",{version:3,sources:["webpack://./apps/files/src/components/FileListFilter/FileListFilter.vue"],names:[],mappings:";AAyCA;CACA,8BAAA;AACA;AAEA;CACA,8BAAA;AAEA;EACA,8BAAA;AACA;AACA",sourcesContent:["\x3c!--\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\n\n\n