import { CommonModule } from '@angular/common';
import { ErrorHandler, NgModule } from '@angular/core';

import { RemissionShippingDocumentScannerScanditComponent } from './remission-shipping-document-scanner-scandit.component';
import { NativeContainerService } from './native-container.service';
import { CameraErrorHandler } from './utils/camera-error.handler';
import { WindowRef } from './utils/window-ref.service';
import { ButtonModule } from '@libs/ui';

const licenseKey =
  // tslint:disable-next-line: max-line-length
  'AcwsxifsOx+fAw/oXRAh/7w/zNFaMBqI+U7n6hARS/yzdGQvqFgeiFtKjjjUDuCIO3qscw0HMjb5fy0X7kRJWktFvP/sPi5eADMDiOhyhroJKFJKEUrwzXNjTQxvXUTXKhZTFs4svtghBoEi988sXll2KuaDOPDwfpNZX5FVLUKyf/1T8XvRhhYFS4UqoM+X+L1RcW7uUxaRgZ7xAQBGAHGO39laedxcmSQSZK1+fFnYRNlFKFmSLuvxGdxEnX3Aq3tZO9hlNcmN+FUSilXdQoxDwc1ryZrJxR7jMPfT1o3ShIn8MSL9wc6iN9KAXjQgEGkmksPRvwGoraUGm6+1SFYHmwHy5HwRZP604Ctzscd754LW86cfgWNVFY0TXmE5z0hWC759bqOcZPMCVK1D7FbHDpfoU2SAdhQPqr87MGVgYSZ56FIvRUJeshMDRFYR53oPmHbZNerfd/J3kMk9AL5dH74TmCOjTqrj5jvZQDkPgcRjlqcn9AW3kQ6RJgajQMg9R4p0KDZd9r1Wqm2vwowCvphl5LIX2kH7rssemeQHZf2yTariSclWQdntudSD8YdMcCzURn0jQpJj6UJ2PAXgFYLJSVDW++SVrPKokQr2F0odavyXCZCjd7L1248kLKVdJp1qEXiIuhrz8XduS65KOscXR3KePZMeb7gzM9Oh14Ai7sxwBOnMXBoul/LrVaBrbFvN/iXsaVewFQhuW19mI90+runCKiLOqMb0LcuO68a1r0pxYUK5hGIc5Pgj20ZS/xPvQBJhyIPmc1/tCVLfWLwwKYmM4FI9BOU4p4i5MAJcb/c5JA1LJQ==';
const engineLocation = 'assets/vendor/scandit/';
@NgModule({
  imports: [CommonModule, ButtonModule],
  exports: [RemissionShippingDocumentScannerScanditComponent],
  declarations: [RemissionShippingDocumentScannerScanditComponent],
  providers: [WindowRef, NativeContainerService, CameraErrorHandler, { provide: ErrorHandler, useExisting: CameraErrorHandler }],
})
export class RemissionShippingDocumentScannerModule {}
