"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[56874],{56874:(t,e,n)=>{n.r(e),n.d(e,{AddonBlockActivityResultsComponent:()=>m});var o=n(86654),c=n(2638),l=n(54438),i=n(60177),s=n(2910),d=n(64422),r=n(58197),a=n(73955);function AddonBlockActivityResultsComponent_ion_item_divider_0_Template(t,e){if(1&t&&(l.j41(0,"ion-item-divider",4)(1,"ion-label")(2,"h2"),l.nrm(3,"core-format-text",5),l.nI1(4,"translate"),l.k0s()()()),2&t){const t=l.XpG();l.Y8G("sticky",!0),l.R7$(3),l.Y8G("text",l.bMT(4,4,t.title))("contextInstanceId",t.block.instanceid)("courseId",t.courseId)}}function AddonBlockActivityResultsComponent_ion_item_2_Template(t,e){if(1&t&&(l.j41(0,"ion-item",6)(1,"ion-label"),l.nrm(2,"core-format-text",5),l.k0s()()),2&t){const t=l.XpG();l.R7$(2),l.Y8G("text",null==t.block.contents?null:t.block.contents.content)("contextInstanceId",t.block.instanceid)("courseId",t.courseId)}}function AddonBlockActivityResultsComponent_ion_item_3_Template(t,e){if(1&t&&(l.j41(0,"ion-item",7)(1,"ion-label"),l.nrm(2,"core-format-text",5),l.k0s()()),2&t){const t=l.XpG();l.R7$(2),l.Y8G("text",null==t.block.contents?null:t.block.contents.footer)("contextInstanceId",t.block.instanceid)("courseId",t.courseId)}}let m=(()=>{var t;class AddonBlockActivityResultsComponent extends c.CoreBlockPreRenderedComponent{}return(t=AddonBlockActivityResultsComponent).ɵfac=(()=>{let e;return function AddonBlockActivityResultsComponent_Factory(n){return(e||(e=l.xGo(t)))(n||t)}})(),t.ɵcmp=l.VBU({type:t,selectors:[["addon-block-activity-results"]],standalone:!0,features:[l.Vt3,l.aNF],decls:4,vars:6,consts:[["class","ion-text-wrap",3,"sticky",4,"ngIf"],["placeholderType","column","placeholderHeight","120px",3,"hideUntil","fullscreen","placeholderLimit"],["class","ion-text-wrap core-block-content",4,"ngIf"],["class","ion-text-wrap core-block-footer",4,"ngIf"],[1,"ion-text-wrap",3,"sticky"],["contextLevel","block",3,"text","contextInstanceId","courseId"],[1,"ion-text-wrap","core-block-content"],[1,"ion-text-wrap","core-block-footer"]],template:function AddonBlockActivityResultsComponent_Template(t,e){1&t&&(l.DNE(0,AddonBlockActivityResultsComponent_ion_item_divider_0_Template,5,6,"ion-item-divider",0),l.j41(1,"core-loading",1),l.DNE(2,AddonBlockActivityResultsComponent_ion_item_2_Template,3,3,"ion-item",2)(3,AddonBlockActivityResultsComponent_ion_item_3_Template,3,3,"ion-item",3),l.k0s()),2&t&&(l.Y8G("ngIf",e.title),l.R7$(),l.Y8G("hideUntil",e.loaded)("fullscreen",!1)("placeholderLimit",1),l.R7$(),l.Y8G("ngIf",null==e.block.contents?null:e.block.contents.content),l.R7$(),l.Y8G("ngIf",null==e.block.contents?null:e.block.contents.footer))},dependencies:[o.n,i.bT,s.uz,s.Dg,s.he,d.R,r.B,a.D9],styles:["[_nghost-%COMP%]   .core-block-content[_ngcontent-%COMP%]     table.grades{text-align:start;width:100%}[_nghost-%COMP%]   .core-block-content[_ngcontent-%COMP%]     table.grades .number{text-align:start;width:10%}[_nghost-%COMP%]   .core-block-content[_ngcontent-%COMP%]     table.grades .name{text-align:start;width:77%}[_nghost-%COMP%]   .core-block-content[_ngcontent-%COMP%]     table.grades .grade{text-align:end}[_nghost-%COMP%]   .core-block-content[_ngcontent-%COMP%]     table.grades caption{text-align:start;padding-top:.75rem;padding-bottom:.75rem;color:var(--medium);font:var(--mdl-typography-subtitle-font-md)}"]}),AddonBlockActivityResultsComponent})()}}]);