"use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[523],{3523(d,o,t){t.d(o,{TextViewer:()=>u});var r=t(467),l=t(7705),i=t(5802),c=t(2245),e=t(5547);let u=(()=>{class a{fileURL=l.hFB.required();html=(0,i.vPA)("");onFile=(0,i.QZP)((()=>{var _=this;return(0,r.A)(function*(){const s=yield(yield fetch(_.fileURL())).text();_.html.set(`<div class="page">\n  <pre style="font-family: inherit; margin: 0;">${s}</pre>\n</div>`)})})());static \u0275fac=function(n){return new(n||a)};static \u0275cmp=e.VBU({type:a,selectors:[["cue-text-viewer"]],inputs:{fileURL:[1,"fileURL"]},decls:2,vars:1,consts:[[1,"page"],[3,"innerHTML"]],template:function(n,s){1&n&&(e.j41(0,"div",0),e.nrm(1,"cue-typography",1),e.k0s()),2&n&&(e.R7$(),e.Y8G("innerHTML",s.html(),e.npT))},dependencies:[c.Typography],styles:[".page[_ngcontent-%COMP%]{overflow-y:auto;height:100%}"],changeDetection:0})}return a})()}}]);