"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[69660],{69660:(e,o,n)=>{n.r(o),n.d(o,{default:()=>m});var t=n(2138),d=n(15324),r=n(23835),l=n(86654),a=n(54438),s=n(2910),i=n(58197),u=n(68273),c=n(88246),f=n(73955);let m=(()=>{var e;class AddonModFolderIndexPage extends t._{ngOnInit(){var e;super.ngOnInit(),this.folderInstance=d.CoreNavigator.getRouteParam("folderInstance"),this.subfolder=d.CoreNavigator.getRouteParam("subfolder"),this.title=(null===(e=this.subfolder)||void 0===e?void 0:e.filename)||this.module.name}}return(e=AddonModFolderIndexPage).ɵfac=(()=>{let o;return function AddonModFolderIndexPage_Factory(n){return(o||(o=a.xGo(e)))(n||e)}})(),e.ɵcmp=a.VBU({type:e,selectors:[["page-addon-mod-folder-index"]],viewQuery:function AddonModFolderIndexPage_Query(e,o){if(1&e&&a.GBs(r.AddonModFolderIndexComponent,5),2&e){let e;a.mGM(e=a.lsd())&&(o.activityComponent=e.first)}},standalone:!0,features:[a.Vt3,a.aNF],decls:14,vars:15,consts:[[3,"collapsible"],["slot","start"],[3,"text"],["contextLevel","module",3,"text","contextInstanceId","courseId"],["slot","end"],[1,"limited-width"],["slot","fixed",3,"ionRefresh","disabled"],[3,"pullingText"],[3,"dataRetrieved","module","courseId","folderInstance","subfolder"]],template:function AddonModFolderIndexPage_Template(e,o){1&e&&(a.j41(0,"ion-header",0)(1,"ion-toolbar")(2,"ion-buttons",1),a.nrm(3,"ion-back-button",2),a.nI1(4,"translate"),a.k0s(),a.j41(5,"ion-title")(6,"h1"),a.nrm(7,"core-format-text",3),a.k0s()(),a.nrm(8,"ion-buttons",4),a.k0s()(),a.j41(9,"ion-content",5)(10,"ion-refresher",6),a.bIt("ionRefresh",(function AddonModFolderIndexPage_Template_ion_refresher_ionRefresh_10_listener(e){return null==o.activityComponent?null:o.activityComponent.doRefresh(e.target)})),a.nrm(11,"ion-refresher-content",7),a.nI1(12,"translate"),a.k0s(),a.j41(13,"addon-mod-folder-index",8),a.bIt("dataRetrieved",(function AddonModFolderIndexPage_Template_addon_mod_folder_index_dataRetrieved_13_listener(e){return o.updateData(e)})),a.k0s()()),2&e&&(a.Y8G("collapsible",!o.subfolder),a.R7$(3),a.Y8G("text",a.bMT(4,11,"core.back")),a.R7$(4),a.Y8G("text",o.title)("contextInstanceId",o.module.id)("courseId",o.courseId),a.R7$(3),a.Y8G("disabled",o.subfolder||(null==o.activityComponent?null:o.activityComponent.showLoading)),a.R7$(),a.FS9("pullingText",a.bMT(12,13,"core.pulltorefresh")),a.R7$(2),a.Y8G("module",o.module)("courseId",o.courseId)("folderInstance",o.folderInstance)("subfolder",o.subfolder))},dependencies:[l.n,s.QW,s.W9,s.eU,s.To,s.Ki,s.BC,s.ai,s.el,i.B,u.M,c.i,f.D9,r.AddonModFolderIndexComponent],encapsulation:2}),AddonModFolderIndexPage})()}}]);