"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[74739],{74739:(e,t,n)=>{n.r(t),n.d(t,{AddonQtypeGapSelectComponent:()=>i});var o=n(1762),p=n(69319),c=n(86654),s=n(54438),a=n(2910),d=n(58197);function AddonQtypeGapSelectComponent_Conditional_0_Template(e,t){if(1&e){const e=s.RV6();s.j41(0,"ion-list",0)(1,"ion-item",1)(2,"ion-label")(3,"core-format-text",2),s.bIt("afterRender",(function AddonQtypeGapSelectComponent_Conditional_0_Template_core_format_text_afterRender_3_listener(){s.eBV(e);const t=s.XpG();return s.Njj(t.questionRendered())})),s.k0s()()()()}if(2&e){const e=s.XpG();s.R7$(3),s.Y8G("component",e.component)("componentId",e.componentId)("text",e.question.text)("contextLevel",e.contextLevel)("contextInstanceId",e.contextInstanceId)("courseId",e.courseId)}}let i=(()=>{var e;class AddonQtypeGapSelectComponent extends o.g{constructor(e){super("AddonQtypeGapSelectComponent",e)}init(){this.initOriginalTextComponent(".qtext"),this.onReadyPromise.resolve()}questionRendered(){p.CoreQuestionHelper.treatCorrectnessIconsClicks(this.hostElement,this.component,this.componentId,this.contextLevel,this.contextInstanceId,this.courseId)}}return(e=AddonQtypeGapSelectComponent).ɵfac=function AddonQtypeGapSelectComponent_Factory(t){return new(t||e)(s.rXU(s.aKT))},e.ɵcmp=s.VBU({type:e,selectors:[["addon-qtype-gapselect"]],standalone:!0,features:[s.Vt3,s.aNF],decls:1,vars:1,consts:[[1,"addon-qtype-gapselect-container"],[1,"ion-text-wrap"],[3,"afterRender","component","componentId","text","contextLevel","contextInstanceId","courseId"]],template:function AddonQtypeGapSelectComponent_Template(e,t){1&e&&s.DNE(0,AddonQtypeGapSelectComponent_Conditional_0_Template,4,6,"ion-list",0),2&e&&s.vxM(0,t.question&&(t.question.text||""===t.question.text)?0:-1)},dependencies:[c.n,a.uz,a.he,a.nf,d.B],styles:["[_nghost-%COMP%]     p{margin:0 0 .5em}"]}),AddonQtypeGapSelectComponent})()}}]);