"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[35131],{35131:(e,t,a)=>{a.r(t),a.d(t,{default:()=>p});var i=a(87809),s=a(15324),r=a(79555),o=a(86654),n=a(87207),h=a(54438),l=a(2910),c=a(88246),d=a(73955);let p=(()=>{var e;class CoreSharedFilesListPage{constructor(){this.manage=!1,this.showSitePicker=!1,this.path=""}ngOnInit(){this.siteId=s.CoreNavigator.getRouteParam("siteId"),this.mimetypes=s.CoreNavigator.getRouteParam("mimetypes"),this.manage=!!s.CoreNavigator.getRouteBooleanParam("manage"),this.path=s.CoreNavigator.getRouteParam("path")||"",this.showSitePicker=!s.CoreNavigator.getRouteParam("hideSitePicker"),this.calculateTitle(this.path)}calculateTitle(e){this.title=e?i.H.getFileAndDirectoryFromPath(e).name:r.HT.instant("core.sharedfiles.sharedfiles")}}return(e=CoreSharedFilesListPage).ɵfac=function CoreSharedFilesListPage_Factory(t){return new(t||e)},e.ɵcmp=h.VBU({type:e,selectors:[["page-core-shared-files-list"]],standalone:!0,features:[h.aNF],decls:10,vars:11,consts:[["slot","start"],[3,"text"],[3,"onPathChanged","siteId","mimetypes","isModal","manage","pick","path","showSitePicker"]],template:function CoreSharedFilesListPage_Template(e,t){1&e&&(h.j41(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),h.nrm(3,"ion-back-button",1),h.nI1(4,"translate"),h.k0s(),h.j41(5,"ion-title")(6,"h1"),h.EFF(7),h.k0s()()()(),h.j41(8,"ion-content")(9,"core-shared-files-list",2),h.bIt("onPathChanged",(function CoreSharedFilesListPage_Template_core_shared_files_list_onPathChanged_9_listener(e){return t.calculateTitle(e)})),h.k0s()()),2&e&&(h.R7$(3),h.Y8G("text",h.bMT(4,9,"core.back")),h.R7$(4),h.JRh(t.title),h.R7$(2),h.Y8G("siteId",t.siteId)("mimetypes",t.mimetypes)("isModal",!1)("manage",t.manage)("pick",!1)("path",t.path)("showSitePicker",t.showSitePicker))},dependencies:[o.n,l.QW,l.W9,l.eU,l.BC,l.ai,l.el,c.i,d.D9,n.$],encapsulation:2}),CoreSharedFilesListPage})()}}]);