"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[88341],{88341:(e,o,t)=>{t.r(o),t.d(o,{default:()=>h});var n=t(2138),d=t(15324),r=t(48049),s=t(86654),a=t(54438),i=t(2910),l=t(58197),u=t(68273),p=t(88246),c=t(73955);let h=(()=>{var e;class AddonModWorkshopIndexPage extends n._{constructor(){super(...arguments),this.selectedGroup=0}ngOnInit(){super.ngOnInit(),this.selectedGroup=d.CoreNavigator.getRouteNumberParam("group")||0}}return(e=AddonModWorkshopIndexPage).ɵfac=(()=>{let o;return function AddonModWorkshopIndexPage_Factory(t){return(o||(o=a.xGo(e)))(t||e)}})(),e.ɵcmp=a.VBU({type:e,selectors:[["page-addon-mod-workshop-index"]],viewQuery:function AddonModWorkshopIndexPage_Query(e,o){if(1&e&&a.GBs(r.AddonModWorkshopIndexComponent,5),2&e){let e;a.mGM(e=a.lsd())&&(o.activityComponent=e.first)}},standalone:!0,features:[a.Vt3,a.aNF],decls:14,vars:13,consts:[["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","group"]],template:function AddonModWorkshopIndexPage_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 AddonModWorkshopIndexPage_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-workshop-index",8),a.bIt("dataRetrieved",(function AddonModWorkshopIndexPage_Template_addon_mod_workshop_index_dataRetrieved_13_listener(e){return o.updateData(e)})),a.k0s()()),2&e&&(a.R7$(3),a.Y8G("text",a.bMT(4,9,"core.back")),a.R7$(4),a.Y8G("text",o.title)("contextInstanceId",o.module.id)("courseId",o.courseId),a.R7$(3),a.Y8G("disabled",null==o.activityComponent?null:o.activityComponent.showLoading),a.R7$(),a.FS9("pullingText",a.bMT(12,11,"core.pulltorefresh")),a.R7$(2),a.Y8G("module",o.module)("courseId",o.courseId)("group",o.selectedGroup))},dependencies:[s.n,i.QW,i.W9,i.eU,i.To,i.Ki,i.BC,i.ai,i.el,l.B,u.M,p.i,c.D9,r.AddonModWorkshopIndexComponent],encapsulation:2}),AddonModWorkshopIndexPage})()}}]);