{"version":3,"file":"chunk-bp10ojf8.js","sources":["packages/vanilla/lib/features/recaptcha-init/src/recaptcha-enterprise-init-bootstrap.service.ts","packages/vanilla/lib/features/recaptcha-init/src/recaptcha-init.feature.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\nimport { OnFeatureInit } from '@frontend/vanilla/core';\nimport { ReCaptchaConfig, RecaptchaEnterpriseService } from '@frontend/vanilla/features/recaptcha';\nimport { firstValueFrom } from 'rxjs';\n\n@Injectable()\nexport class RecaptchaEnterpriseInitBootstrapService implements OnFeatureInit {\n constructor(\n private recaptchaConfig: ReCaptchaConfig,\n private recaptchaEnterpriseService: RecaptchaEnterpriseService,\n ) {}\n\n async onFeatureInit() {\n await firstValueFrom(this.recaptchaConfig.whenReady);\n this.recaptchaEnterpriseService.initReCaptchaAPI();\n }\n}\n","import { runOnFeatureInit } from '@frontend/vanilla/core';\n\nimport { RecaptchaEnterpriseInitBootstrapService } from './recaptcha-enterprise-init-bootstrap.service';\n\nexport function provide() {\n return [runOnFeatureInit(RecaptchaEnterpriseInitBootstrapService)];\n}\n"],"names":["RecaptchaEnterpriseInitBootstrapService","constructor","recaptchaConfig","recaptchaEnterpriseService","onFeatureInit","__async","firstValueFrom","whenReady","initReCaptchaAPI","ɵɵinject","ReCaptchaConfig","RecaptchaEnterpriseService","n","factory","ɵfac","_RecaptchaEnterpriseInitBootstrapService","provide","runOnFeatureInit"],"mappings":"kIAOA,IAAaA,CAAuC,CAAA,CAAA,IAAA,CAA9C,IAAOA,CAAP,CAAA,MAAOA,CAAuC,CAChDC,WACYC,CAAAA,CAAAA,CACAC,CAAsD,CAAA,CADtD,IAAAD,CAAAA,eAAAA,CAAAA,CACA,CAAA,IAAA,CAAAC,0BAAAA,CAAAA,EACT,CAEGC,aAAAA,EAAa,CAAAC,OAAAA,CAAAA,CAAA,IACf,CAAA,IAAA,CAAA,WAAA,CAAA,MAAMC,EAAe,CAAA,IAAA,CAAKJ,eAAgBK,CAAAA,SAAS,EACnD,IAAKJ,CAAAA,0BAAAA,CAA2BK,gBAAgB,GACpD,CATSR,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,SAAAA,CAAAA,SAAAA,CAAAA,CAAAA,CAAAA,OAAAA,IAAAA,CAAAA,EAAAA,CAAAA,EAAuCS,CAAAC,CAAAA,CAAA,CAAAD,CAAAA,CAAAA,CAAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,UAAA,CAAAC,CAAA,CAAA,CAAA,KAAA,CAAvCZ,CAAuCa,CAAAA,OAAAA,CAAvCb,EAAuCc,SAAA,CAAA,CAA9C,CAAA,IAAOd,CAAPe,CAAAA,CAAAA,CAAAA,OAAOf,CAAuC,CAAA,GCH9C,CAAA,SAAUgB,CAAO,EAAA,CACnB,OAAO,CAACC,EAAiBjB,CAAAA,CAAuC,CAAC,CACrE"}