import{T as l}from"./chunk-OKJYL2E7.js";import{G as e,J as a,ba as t,bc as r,kc as n}from"./chunk-OXQYUXXW.js";var p=class i{api=a(l);sanitizer=a(r);promotionalVideo=this.api.resource(()=>({key:"promotionalVideo",endpoint:"plugins/ics_kiosk/video-promocional",updateAtStart:n().kiosk_allow_promotional_video==="Y",initialValue:null,transform:o=>o.data?this.sanitizer.sanitize(t.URL,`data:video/mp4;base64,${o.data}`):null}));languages=this.api.resource(()=>({key:"languages",endpoint:"ElementoGestion/Idioma/all",initialValue:[],params:{active_only:!0}}));terminalInfo=this.api.resource(o=>({key:"terminalInfo",endpoint:`Perifericos/Datafono/${o.cod_empresa}/${o.cod_restaurante}/${o.cod_datafono}`}));static \u0275fac=function(s){return new(s||i)};static \u0275prov=e({token:i,factory:i.\u0275fac,providedIn:"root"})};export{p as a};
