import { CryptoService } from "../abstractions/crypto.service" ; export class ContainerService { constructor ( private cryptoService ) { } attachToWindow ( win ) { this . attachToGlobal ( win ) ; } attachToGlobal ( global ) { if ( ! global . bitwardenContainerService ) { global . bitwardenContainerService = this ; } } getCryptoService ( ) { return this . cryptoService ; } }