"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[98678],{98678:(n,e,o)=>{o.r(e),o.d(e,{AddonModAssignFeedbackEditPdfComponent:()=>m});var d=o(10467),t=o(95867),i=o(66016),s=o(5505),a=o(86654),l=o(54438),c=o(60177),p=o(2910),f=o(6128);function AddonModAssignFeedbackEditPdfComponent_ion_item_0_core_file_4_Template(n,e){if(1&n&&l.nrm(0,"core-file",4),2&n){const n=e.$implicit,o=l.XpG(2);l.Y8G("file",n)("component",o.component)("componentId",o.assign.cmid)("alwaysDownload",!0)}}function AddonModAssignFeedbackEditPdfComponent_ion_item_0_Template(n,e){if(1&n&&(l.j41(0,"ion-item",1)(1,"ion-label")(2,"p",2),l.EFF(3),l.k0s(),l.DNE(4,AddonModAssignFeedbackEditPdfComponent_ion_item_0_core_file_4_Template,1,4,"core-file",3),l.k0s()()),2&n){const n=l.XpG();l.R7$(3),l.JRh(n.plugin.name),l.R7$(),l.Y8G("ngForOf",n.files)}}let m=(()=>{var n;class AddonModAssignFeedbackEditPdfComponent extends t.S{constructor(){super(...arguments),this.component=i.It,this.files=[]}ngOnInit(){var n=this;return(0,d.A)((function*(){var e;n.plugin&&(n.plugin.fileareas=null===(e=n.plugin.fileareas)||void 0===e?void 0:e.filter((n=>"download"===n.area)),n.files=s.AddonModAssign.getSubmissionPluginAttachments(n.plugin))}))()}}return(n=AddonModAssignFeedbackEditPdfComponent).ɵfac=(()=>{let e;return function AddonModAssignFeedbackEditPdfComponent_Factory(o){return(e||(e=l.xGo(n)))(o||n)}})(),n.ɵcmp=l.VBU({type:n,selectors:[["addon-mod-assign-feedback-edit-pdf"]],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 AddonModAssignFeedbackEditPdfComponent_Template(n,e){1&n&&l.DNE(0,AddonModAssignFeedbackEditPdfComponent_ion_item_0_Template,5,2,"ion-item",0),2&n&&l.Y8G("ngIf",e.files&&e.files.length)},dependencies:[a.n,c.Sq,c.bT,p.uz,p.he,f.t],encapsulation:2}),AddonModAssignFeedbackEditPdfComponent})()}}]);