"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[33192],{33192:(e,n,o)=>{o.r(n),o.d(n,{AddonModAssignFeedbackFileComponent:()=>r});var i=o(10467),t=o(95867),s=o(66016),d=o(5505),a=o(86654),l=o(54438),c=o(60177),p=o(2910),m=o(6128);function AddonModAssignFeedbackFileComponent_ion_item_0_core_file_4_Template(e,n){if(1&e&&l.nrm(0,"core-file",4),2&e){const e=n.$implicit,o=l.XpG(2);l.Y8G("file",e)("component",o.component)("componentId",o.assign.cmid)("alwaysDownload",!0)}}function AddonModAssignFeedbackFileComponent_ion_item_0_Template(e,n){if(1&e&&(l.j41(0,"ion-item",1)(1,"ion-label")(2,"p",2),l.EFF(3),l.k0s(),l.DNE(4,AddonModAssignFeedbackFileComponent_ion_item_0_core_file_4_Template,1,4,"core-file",3),l.k0s()()),2&e){const e=l.XpG();l.R7$(3),l.JRh(e.plugin.name),l.R7$(),l.Y8G("ngForOf",e.files)}}let r=(()=>{var e;class AddonModAssignFeedbackFileComponent extends t.S{constructor(){super(...arguments),this.component=s.It,this.files=[]}ngOnInit(){var e=this;return(0,i.A)((function*(){e.plugin&&(e.files=d.AddonModAssign.getSubmissionPluginAttachments(e.plugin))}))()}}return(e=AddonModAssignFeedbackFileComponent).ɵfac=(()=>{let n;return function AddonModAssignFeedbackFileComponent_Factory(o){return(n||(n=l.xGo(e)))(o||e)}})(),e.ɵcmp=l.VBU({type:e,selectors:[["addon-mod-assign-feedback-file"]],standalone:!0,features:[l.Vt3,l.aNF],decls:1,vars:1,consts:[["class","ion-text-wrap",4,"ngIf"],[1,"ion-text-wrap"],[1,"item-heading"],[3,"file","component","componentId","alwaysDownload",4,"ngFor","ngForOf"],[3,"file","component","componentId","alwaysDownload"]],template:function AddonModAssignFeedbackFileComponent_Template(e,n){1&e&&l.DNE(0,AddonModAssignFeedbackFileComponent_ion_item_0_Template,5,2,"ion-item",0),2&e&&l.Y8G("ngIf",n.files&&n.files.length)},dependencies:[a.n,c.Sq,c.bT,p.uz,p.he,m.t],encapsulation:2}),AddonModAssignFeedbackFileComponent})()}}]);