"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[89674],{89674:(n,o,e)=>{e.r(o),e.d(o,{AddonBlockBlogMenuComponent:()=>p});var t=e(86654),l=e(2638),c=e(54438),i=e(60177),d=e(2910),s=e(64422),r=e(58197),a=e(73955);function AddonBlockBlogMenuComponent_ion_item_divider_0_Template(n,o){if(1&n&&(c.j41(0,"ion-item-divider",4)(1,"ion-label")(2,"h2"),c.nrm(3,"core-format-text",5),c.nI1(4,"translate"),c.k0s()()()),2&n){const n=c.XpG();c.Y8G("sticky",!0),c.R7$(3),c.Y8G("text",c.bMT(4,4,n.title))("contextInstanceId",n.block.instanceid)("courseId",n.courseId)}}function AddonBlockBlogMenuComponent_ion_item_2_Template(n,o){if(1&n&&(c.j41(0,"ion-item",6)(1,"ion-label"),c.nrm(2,"core-format-text",5),c.k0s()()),2&n){const n=c.XpG();c.R7$(2),c.Y8G("text",null==n.block.contents?null:n.block.contents.content)("contextInstanceId",n.block.instanceid)("courseId",n.courseId)}}function AddonBlockBlogMenuComponent_ion_item_3_Template(n,o){if(1&n&&(c.j41(0,"ion-item",7)(1,"ion-label"),c.nrm(2,"core-format-text",5),c.k0s()()),2&n){const n=c.XpG();c.R7$(2),c.Y8G("text",null==n.block.contents?null:n.block.contents.footer)("contextInstanceId",n.block.instanceid)("courseId",n.courseId)}}let p=(()=>{var n;class AddonBlockBlogMenuComponent extends l.CoreBlockPreRenderedComponent{}return(n=AddonBlockBlogMenuComponent).ɵfac=(()=>{let o;return function AddonBlockBlogMenuComponent_Factory(e){return(o||(o=c.xGo(n)))(e||n)}})(),n.ɵcmp=c.VBU({type:n,selectors:[["addon-block-blog-menu"]],standalone:!0,features:[c.Vt3,c.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 AddonBlockBlogMenuComponent_Template(n,o){1&n&&(c.DNE(0,AddonBlockBlogMenuComponent_ion_item_divider_0_Template,5,6,"ion-item-divider",0),c.j41(1,"core-loading",1),c.DNE(2,AddonBlockBlogMenuComponent_ion_item_2_Template,3,3,"ion-item",2)(3,AddonBlockBlogMenuComponent_ion_item_3_Template,3,3,"ion-item",3),c.k0s()),2&n&&(c.Y8G("ngIf",o.title),c.R7$(),c.Y8G("hideUntil",o.loaded)("fullscreen",!1)("placeholderLimit",1),c.R7$(),c.Y8G("ngIf",null==o.block.contents?null:o.block.contents.content),c.R7$(),c.Y8G("ngIf",null==o.block.contents?null:o.block.contents.footer))},dependencies:[t.n,i.bT,d.uz,d.Dg,d.he,s.R,r.B,a.D9],styles:["[_nghost-%COMP%]   .core-block-content[_ngcontent-%COMP%]     ul.list{list-style:none;margin-left:0;margin-right:0;-webkit-padding-start:0}[_nghost-%COMP%]   .core-block-content[_ngcontent-%COMP%]     ul.list li{padding-bottom:8px}[_nghost-%COMP%]   .core-block-footer[_ngcontent-%COMP%]    {display:none}"]}),AddonBlockBlogMenuComponent})()}}]);