"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[75548],{75548:(o,s,e)=>{e.r(s),e.d(s,{AddonModQuizAccessPasswordComponent:()=>p});var n=e(91416),a=e(86654),d=e(54438),r=e(89417),t=e(2910),i=e(73955);let p=(()=>{var o;class AddonModQuizAccessPasswordComponent{constructor(o){this.fb=o,this.prefetch=!1}ngOnInit(){var o;null===(o=this.form)||void 0===o||o.addControl("quizpassword",this.fb.control(""))}}return(o=AddonModQuizAccessPasswordComponent).ɵfac=function AddonModQuizAccessPasswordComponent_Factory(s){return new(s||o)(d.rXU(r.ok))},o.ɵcmp=d.VBU({type:o,selectors:[["addon-mod-quiz-access-password"]],inputs:{rule:"rule",quiz:"quiz",attempt:"attempt",prefetch:[d.Mj6.HasDecoratorInputTransform,"prefetch","prefetch",n.G],siteId:"siteId",form:"form"},standalone:!0,features:[d.GFd,d.aNF],decls:13,vars:15,consts:[[1,"ion-text-wrap"],[1,"item-heading"],[3,"formGroup"],["id","addon-mod_quiz-accessrule-password-input","name","quizpassword","type","password",3,"placeholder","formControlName","clearOnEdit"],["slot","end","showIcon","fas-eye","hideIcon","fas-eye-slash"]],template:function AddonModQuizAccessPasswordComponent_Template(o,s){1&o&&(d.j41(0,"ion-item",0)(1,"ion-label")(2,"p",1),d.EFF(3),d.nI1(4,"translate"),d.k0s(),d.j41(5,"p"),d.EFF(6),d.nI1(7,"translate"),d.k0s()()(),d.j41(8,"ion-item",2)(9,"ion-input",3),d.nI1(10,"translate"),d.nI1(11,"translate"),d.nrm(12,"ion-input-password-toggle",4),d.k0s()()),2&o&&(d.R7$(3),d.JRh(d.bMT(4,7,"addon.mod_quiz.quizpassword")),d.R7$(3),d.JRh(d.bMT(7,9,"addon.mod_quiz.requirepasswordmessage")),d.R7$(2),d.Y8G("formGroup",s.form),d.R7$(),d.FS9("placeholder",d.bMT(10,11,"addon.mod_quiz.quizpassword")),d.Y8G("formControlName","quizpassword")("clearOnEdit",!1),d.BMQ("aria-label",d.bMT(11,13,"addon.mod_quiz.quizpassword")))},dependencies:[a.n,r.BC,r.cb,t.$w,t.Wv,t.uz,t.he,t.Gw,r.j4,r.JD,i.D9],encapsulation:2}),AddonModQuizAccessPasswordComponent})()}}]);