"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[84726],{84726:(e,t,o)=>{o.r(t),o.d(t,{default:()=>p});var n=o(2138),a=o(15324),d=o(79080),r=o(86654),i=o(54438),s=o(2910),l=o(58197),c=o(68273),u=o(88246),m=o(73955);let p=(()=>{var e;class AddonModScormIndexPage extends n._{ngOnInit(){super.ngOnInit(),a.CoreNavigator.getRouteBooleanParam("autoPlay")&&(this.autoPlayData={mode:a.CoreNavigator.getRouteParam("mode"),newAttempt:a.CoreNavigator.getRouteBooleanParam("newAttempt"),organizationId:a.CoreNavigator.getRouteParam("organizationId"),scoId:a.CoreNavigator.getRouteNumberParam("scoId")})}}return(e=AddonModScormIndexPage).ɵfac=(()=>{let t;return function AddonModScormIndexPage_Factory(o){return(t||(t=i.xGo(e)))(o||e)}})(),e.ɵcmp=i.VBU({type:e,selectors:[["page-addon-mod-scorm-index"]],viewQuery:function AddonModScormIndexPage_Query(e,t){if(1&e&&i.GBs(d.AddonModScormIndexComponent,5),2&e){let e;i.mGM(e=i.lsd())&&(t.activityComponent=e.first)}},standalone:!0,features:[i.Vt3,i.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","autoPlayData"]],template:function AddonModScormIndexPage_Template(e,t){1&e&&(i.j41(0,"ion-header",0)(1,"ion-toolbar")(2,"ion-buttons",1),i.nrm(3,"ion-back-button",2),i.nI1(4,"translate"),i.k0s(),i.j41(5,"ion-title")(6,"h1"),i.nrm(7,"core-format-text",3),i.k0s()(),i.nrm(8,"ion-buttons",4),i.k0s()(),i.j41(9,"ion-content",5)(10,"ion-refresher",6),i.bIt("ionRefresh",(function AddonModScormIndexPage_Template_ion_refresher_ionRefresh_10_listener(e){return null==t.activityComponent?null:t.activityComponent.doRefresh(e.target)})),i.nrm(11,"ion-refresher-content",7),i.nI1(12,"translate"),i.k0s(),i.j41(13,"addon-mod-scorm-index",8),i.bIt("dataRetrieved",(function AddonModScormIndexPage_Template_addon_mod_scorm_index_dataRetrieved_13_listener(e){return t.updateData(e)})),i.k0s()()),2&e&&(i.R7$(3),i.Y8G("text",i.bMT(4,9,"core.back")),i.R7$(4),i.Y8G("text",t.title)("contextInstanceId",t.module.id)("courseId",t.courseId),i.R7$(3),i.Y8G("disabled",null==t.activityComponent?null:t.activityComponent.showLoading),i.R7$(),i.FS9("pullingText",i.bMT(12,11,"core.pulltorefresh")),i.R7$(2),i.Y8G("module",t.module)("courseId",t.courseId)("autoPlayData",t.autoPlayData))},dependencies:[r.n,s.QW,s.W9,s.eU,s.To,s.Ki,s.BC,s.ai,s.el,l.B,c.M,u.i,m.D9,d.AddonModScormIndexComponent],encapsulation:2}),AddonModScormIndexPage})()}}]);