{"version":3,"file":"index.mjs","sources":["../../../../projects/runtime-dynamic/src/app/components/page-wrapper.component.ts","../../../../projects/runtime-dynamic/src/app/app.routes.ts","../../../../projects/runtime-dynamic/src/app/services/customwidget-config-provider.service.ts","../../../../projects/runtime-dynamic/src/app/services/app-js-provider.service.ts","../../../../projects/runtime-dynamic/src/app/services/app-resource-manager.service.ts","../../../../projects/runtime-dynamic/src/app/services/app-variables-provider.service.ts","../../../../projects/runtime-dynamic/src/app/services/app-extension.service.ts","../../../../projects/runtime-dynamic/src/app/services/component-ref-provider.service.ts","../../../../projects/runtime-dynamic/src/app/services/prefab-config-provider.service.ts","../../../../projects/runtime-dynamic/src/app/app.config.ts","../../../../projects/runtime-dynamic/src/main.ts","../../../../projects/runtime-dynamic/src/app/app.module.ts","../../../../projects/runtime-dynamic/src/index.ts"],"sourcesContent":["import {\n    ApplicationRef,\n    Component,\n    ElementRef,\n    Injector,\n    NgZone,\n    OnDestroy,\n    OnInit,\n    ViewContainerRef} from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\n\nimport { Subscription } from 'rxjs';\n\nimport { AbstractSpinnerService, App} from '@wm/core';\nimport { MetadataService } from '@wm/variables';\nimport { SecurityService } from '@wm/security';\nimport { AppManagerService, BasePageComponent, ComponentRefProvider, ComponentType } from '@wm/runtime/base';\n\n@Component({\n    standalone: true, \n    selector: 'app-page-outlet',\n    template: '<div></div>'\n})\nexport class PageWrapperComponent implements OnInit, OnDestroy {\n\n    subscription: Subscription;\n    instance: any;\n\n    constructor(\n        private injector: Injector,\n        private route: ActivatedRoute,\n        private vcRef: ViewContainerRef,\n        private appRef: ApplicationRef,\n        private metadataService: MetadataService,\n        private securityService: SecurityService,\n        private appManager: AppManagerService,\n        private app: App,\n        private ngZone: NgZone,\n        private elRef: ElementRef,\n        private spinnerService: AbstractSpinnerService,\n        private componentRefProvider: ComponentRefProvider,\n        private router: Router\n    ) {}\n\n    getTargetNode() {\n        return this.elRef.nativeElement;\n    }\n\n    resetViewContainer() {\n        this.vcRef.clear();\n        const $target = this.getTargetNode();\n        $target.innerHTML = '';\n    }\n\n    renderPage(pageName) {\n        const $target = this.getTargetNode();\n\n        this.appManager.loadAppVariables()\n            .then(async () => {\n                const pageComponentFactoryRef = await this.componentRefProvider.getComponentFactoryRef(pageName, ComponentType.PAGE);\n                if (pageComponentFactoryRef) {\n                    const componentRef = this.vcRef.createComponent(pageComponentFactoryRef, 0, this.injector);\n                    this.instance = componentRef.instance;\n                    $target.appendChild(componentRef.location.nativeElement);\n                } else {\n                    BasePageComponent.clear();\n                }\n                if (this.vcRef.length > 1) {\n                    this.vcRef.remove(1);\n                }\n            });\n    }\n\n    renderPrefabPreviewPage() {\n        this.router.navigate(['prefab-preview']);\n    }\n\n    loadPage(pageName) {\n        this.ngZone.run(() => {\n            if (pageName) {\n                this.renderPage(pageName);\n            }\n        });\n    }\n\n    ngOnInit() {\n        if (this.app.isPrefabType) {\n            // there is only one route\n            this.renderPrefabPreviewPage();\n        } else {\n            $(this.getTargetNode()).find('>div').first().remove();\n            this.subscription = this.route.params.subscribe(({pageName}: any) => {\n               this.loadPage(pageName);\n            });\n        }\n    }\n\n    ngOnDestroy() {\n        // MEMORY LEAK FIX: Clear ViewContainerRef to destroy dynamically created components\n        this.vcRef.clear();\n        \n        // MEMORY LEAK FIX: Unsubscribe from route params subscription\n        if (this.subscription) {\n            this.subscription.unsubscribe();\n            this.subscription = null;\n        }\n\n        // MEMORY LEAK FIX: Clear instance reference\n        this.instance = null;\n    }\n\n    ngOnAttach() {\n        this.getTargetNode().appendChild(this.instance.$page[0]);\n        this.instance.ngOnAttach();\n    }\n\n    ngOnDetach() {\n        this.instance.ngOnDetach();\n    }\n}\n","import { PrefabPreviewComponent, CanDeactivatePageGuard, EmptyPageComponent } from '@wm/runtime/base';\n\nimport { PageWrapperComponent } from './components/page-wrapper.component';\nimport {Routes} from '@angular/router';\n\nexport const routes: Routes = [\n    {\n        path: '',\n        pathMatch: 'full',\n        component: EmptyPageComponent\n    },\n    {\n        path: 'prefab-preview',\n        pathMatch: 'full',\n        component: PrefabPreviewComponent\n    },\n    {\n        path: ':pageName',\n        pathMatch: 'full',\n        component: PageWrapperComponent,\n        canDeactivate: [CanDeactivatePageGuard]\n    }\n];\n","import { Injectable } from '@angular/core';\n\nimport { CustomwidgetConfigProvider } from '@wm/runtime/base';\n\nconst cache = new Map<string, any>();\n@Injectable()\nexport class CustomwidgetConfigProviderService extends CustomwidgetConfigProvider {\n\n    constructor() {\n        super();\n    }\n\n    public getConfig(widgetname: string): Promise<any> {\n        return new Promise((res, rej) => {\n            Promise.resolve(window['resourceCache'].get(`./custom-widgets/${widgetname}/page.min.json`)).then((pageInfo) => {\n                res(pageInfo.config);\n            });\n        })\n    }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\n\nimport { AppJSProvider } from '@wm/runtime/base';\n\n@Injectable({\n    providedIn: 'root'\n})\nexport class AppJSProviderService extends AppJSProvider {\n    constructor(private $http: HttpClient) {\n        super();\n    }\n\n    public getAppScriptFn(): Promise<Function> {\n        return this.$http.get('./app.js', {responseType: 'text'})\n            .toPromise()\n            .then(script => new Function('App', 'Utils', 'Injector', script));\n    }\n}\n","import { Injectable } from '@angular/core';\n\nimport { AbstractHttpService, App } from '@wm/core';\n\nconst cache = new Map<string, string>();\n\n@Injectable()\nexport class AppResourceManagerService {\n\n    get(url: string, useCache?: boolean): string | any {\n        const cachedResponse = cache.get(url);\n\n        if (cachedResponse) {\n            return Promise.resolve(cachedResponse);\n        }\n\n        return this.$http.get(url).then(response => {\n            if (useCache) {\n                cache.set(url, response);\n            }\n            return response;\n        });\n    }\n\n    public clearCache() {\n        cache.clear();\n    }\n\n    constructor(private $http: AbstractHttpService) {}\n}\n","import { Injectable } from '@angular/core';\nimport { AppVariablesProvider } from '@wm/runtime/base';\nimport { AppResourceManagerService } from './app-resource-manager.service';\nimport { App } from '@wm/core';\n\n@Injectable({\n    providedIn: 'root'\n})\nexport class AppVariablesProviderService extends AppVariablesProvider {\n    constructor(private resourceManager: AppResourceManagerService, private app: App) {\n        super();\n    }\n\n    public async getAppVariables(): Promise<any> {\n        // if prefab return {} - app variables will be empty for prefabs\n        return this.app.isPrefabType ? {} : this.resourceManager.get('./app.variables.json');\n    }\n}\n","import { Injectable } from '@angular/core';\nimport { AppExtensionProvider } from '@wm/runtime/base';\nimport { appendScriptToHead } from '@wm/core';\n@Injectable({\n    providedIn: 'root'\n})\nexport class AppExtensionProviderService extends AppExtensionProvider {\n\n    // With renderer create element, added onloaded callback the append to the body\n    public loadFormatterConfigScript(callback:Function):void {\n       try{\n        appendScriptToHead(callback);\n       }catch(e){\n           console.warn('Error while loading the formatters.js file');\n       }\n    }\n}\n","import {\n    Compiler,\n    Component,\n    CUSTOM_ELEMENTS_SCHEMA, Inject,\n    Injectable,\n    Injector,\n    NgModule,\n    NO_ERRORS_SCHEMA,\n    ViewEncapsulation\n} from '@angular/core';\n\nimport { App, getValidJSON, UserDefinedExecutionContext } from '@wm/core';\nimport { transpile, scopeComponentStyles } from '@wm/transpiler';\nimport {\n    AppManagerService,\n    BasePageComponent,\n    BasePartialComponent,\n    BaseCustomWidgetComponent,\n    BasePrefabComponent,\n    ComponentRefProvider,\n    ComponentType,\n    getPrefabMinJsonUrl,\n    getPrefabPartialJsonUrl,\n    I18nResolve,\n    AppExtensionJSResolve,\n    CanDeactivatePageGuard,\n    AppJSResolve,\n    PageNotFoundGuard,\n    RoleGuard,\n    AuthGuard,\n    PrefabManagerService,\n    PipeService,\n    AccessrolesDirective,\n    AppSpinnerComponent,\n    CustomToasterComponent,\n    AppComponent,\n    PrefabPreviewComponent,\n    EmptyPageComponent,\n    PrefabDirective as PrefabLoader,\n    REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS,\n} from '@wm/runtime/base';\nimport { AppResourceManagerService } from './app-resource-manager.service';\nimport { isString, isUndefined } from \"lodash-es\";\nimport * as customWidgets from '@wavemaker/custom-widgets-m3';\nimport { ContentComponent, LayoutDirective, PageContentComponent, PageDirective, RouterOutletDirective, SpaPageDirective } from '@wm/components/page';\nimport { MetadataService, VariablesService } from '@wm/variables';\nimport { OAuthService } from '@wm/oAuth';\nimport { SecurityService } from '@wm/security';\nimport { CommonModule, DatePipe, DecimalPipe } from '@angular/common';\nimport { PartialDirective } from '@wm/components/base';\nimport { ProgressBarComponent } from '@wm/components/basic/progress/progress-bar';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { PrefabContainerDirective } from '@wm/components/prefab';\n\ninterface IPageMinJSON {\n    markup: string;\n    script: string;\n    styles: string;\n    variables: string;\n    config?: string;\n}\n\ndeclare const window: any;\n\nconst fragmentCache = new Map<string, any>();\n\nwindow.resourceCache = fragmentCache;\n\nconst componentFactoryRefCache = new Map<ComponentType, Map<string, any>>();\n\ncomponentFactoryRefCache.set(ComponentType.PAGE, new Map<string, any>());\ncomponentFactoryRefCache.set(ComponentType.PARTIAL, new Map<string, any>());\ncomponentFactoryRefCache.set(ComponentType.PREFAB, new Map<string, any>());\ncomponentFactoryRefCache.set(ComponentType.WIDGET, new Map<string, any>());\n\nconst _decodeURIComponent = (str: string) => decodeURIComponent(str.replace(/\\+/g, ' '));\n\nconst getFragmentUrl = (fragmentName: string, type: ComponentType, options?) => {\n    if (type === ComponentType.PAGE || type === ComponentType.PARTIAL) {\n        return options && options.prefab ? getPrefabPartialJsonUrl(options.prefab, fragmentName) : `./pages/${fragmentName}/page.min.json`;\n    } else if (type === ComponentType.PREFAB) {\n        return getPrefabMinJsonUrl(fragmentName);\n    } else if (type === ComponentType.WIDGET) {\n        return `./custom-widgets/${fragmentName}/page.min.json`\n    }\n};\n\nconst scriptCache = new Map<string, Function>();\nconst execScript = (\n    script: string,\n    identifier: string,\n    ctx: string,\n    instance: any,\n    app: any,\n    utils: any\n) => {\n    let fn = scriptCache.get(identifier);\n    // Fix for [WMS-21196]: Incorrect script is being assigned,  when 2 prefabs have same partial name (i.e. same identifier).\n    if ((ctx === 'Partial' && !isUndefined(instance.Prefab)) || !fn) {\n        fn = new Function(ctx, 'App', 'Utils', script);\n        scriptCache.set(identifier, fn);\n    }\n    fn(instance, app, utils);\n};\n\nclass BaseDynamicComponent {\n    init() { }\n}\n\nconst imports = [\n    PartialDirective,\n    PageDirective,\n    AccessrolesDirective,\n    AppSpinnerComponent,\n    CustomToasterComponent,\n    AppComponent,\n    PrefabLoader,\n    PrefabPreviewComponent,\n    EmptyPageComponent,\n    LayoutDirective,\n    ContentComponent,\n    PageContentComponent,\n    SpaPageDirective,\n    RouterOutletDirective,\n    ProgressBarComponent,\n    PrefabContainerDirective,\n]\n\nconst getDynamicModule = (componentRef: any) => {\n    return NgModule({\n        declarations: [componentRef],\n        imports: [\n            ...REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS,\n            CommonModule,\n            FormsModule,\n            ReactiveFormsModule,\n            ...imports\n        ],\n        providers: [\n            PipeService,\n            DecimalPipe,\n            DatePipe,\n            AppManagerService,\n            PrefabManagerService,\n            AuthGuard,\n            RoleGuard,\n            PageNotFoundGuard,\n            CanDeactivatePageGuard,\n            AppJSResolve,\n            AppExtensionJSResolve,\n            I18nResolve,\n            SecurityService,\n            OAuthService,\n            VariablesService,\n            MetadataService,\n        ],\n        schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA]\n    })(class DynamicModule { });\n};\n\nconst getDynamicComponent = (\n    componentName,\n    type: ComponentType,\n    template: string,\n    css: string,\n    script: any,\n    variables: string,\n) => {\n\n    const componentDef = {\n        template,\n        styles: [css],\n        encapsulation: ViewEncapsulation.None\n    };\n\n    let BaseClass: any = BaseDynamicComponent;\n    let selector = '';\n    let context = '';\n\n    switch (type) {\n        case ComponentType.PAGE:\n            BaseClass = BasePageComponent;\n            selector = `app-page-${componentName}`;\n            context = 'Page';\n            break;\n        case ComponentType.PARTIAL:\n            BaseClass = BasePartialComponent;\n            selector = `app-partial-${componentName}`;\n            context = 'Partial';\n            break;\n        case ComponentType.PREFAB:\n            BaseClass = BasePrefabComponent;\n            selector = `app-prefab-${componentName}`;\n            context = 'Prefab';\n            break;\n        case ComponentType.WIDGET:\n            BaseClass = BaseCustomWidgetComponent;\n            selector = `app-custom-${componentName}`;\n            context = 'Widget';\n            break;\n    }\n\n    class DynamicComponent extends BaseClass {\n        isDynamicComponent: boolean = true;\n        pageName;\n        partialName;\n        prefabName;\n        customWidgetName;\n        constructor(@Inject(Injector) public injector: Injector) {\n            super();\n            this.injector = injector;\n            switch (type) {\n                case ComponentType.PAGE:\n                    this.pageName = componentName;\n                    break;\n                case ComponentType.PARTIAL:\n                    this.partialName = componentName;\n                    break;\n                case ComponentType.PREFAB:\n                    this.prefabName = componentName;\n                    break;\n                case ComponentType.WIDGET:\n                    this.customWidgetName = componentName;\n                    break;\n            }\n\n            super.init();\n        }\n\n        evalUserScript(instance: any, appContext: any, utils: any) {\n            execScript(script, selector, context, instance, appContext, utils);\n        }\n\n        getVariables() {\n            return JSON.parse(variables);\n        }\n\n        // in preview mode, there will be no function registered. functions will be generated dynamically through $parseEvent and $parseExpr\n        getExpressions() {\n            return {};\n        }\n    }\n\n    const component = Component({\n        ...componentDef,\n        selector,\n        providers: [\n            {\n                provide: UserDefinedExecutionContext,\n                useExisting: DynamicComponent\n            }\n        ]\n    })(DynamicComponent)\n    return component;\n};\n\n@Injectable()\nexport class ComponentRefProviderService extends ComponentRefProvider {\n\n    private loadResourcesOfFragment(componentName, componentType, options?): Promise<IPageMinJSON> {\n        const url = getFragmentUrl(componentName, componentType, options);\n\n        const resource = fragmentCache.get(url);\n\n        if (resource) {\n            return resource;\n        }\n        const promise = (((componentType === ComponentType.WIDGET && !customWidgets[componentName]) || componentType !== ComponentType.WIDGET) ? this.resouceMngr.get(url, true) : Promise.resolve(customWidgets[componentName]))\n            .then(({ markup, script, styles, variables, config }: IPageMinJSON) => {\n                const response = {\n                    markup: transpile(_decodeURIComponent(markup)).markup,\n                    script: _decodeURIComponent(script),\n                    styles: scopeComponentStyles(componentName, componentType, _decodeURIComponent(styles)),\n                    variables: getValidJSON(_decodeURIComponent(variables)),\n                    ...(config ? { config: getValidJSON(_decodeURIComponent(config)) } : {})\n                };\n                fragmentCache.set(url, Promise.resolve(response));\n\n                return response;\n            }, e => {\n                const status = e.details.status;\n                const errorMsgMap = {\n                    404: this.app.appLocale.MESSAGE_PAGE_NOT_FOUND || 'The page you are trying to reach is not available',\n                    403: this.app.appLocale.LABEL_ACCESS_DENIED || 'Access Denied'\n                };\n                return Promise.reject(errorMsgMap[status]);\n            });\n        fragmentCache.set(url, promise);\n        return promise;\n    }\n\n    constructor(\n        private resouceMngr: AppResourceManagerService,\n        private app: App,\n        private appManager: AppManagerService,\n        private compiler: Compiler\n    ) {\n        super();\n    }\n\n    public async getComponentFactoryRef(componentName: string, componentType: ComponentType, options?: {}): Promise<any> {\n        // check in the cache.\n        const componentFactoryMap = componentFactoryRefCache.get(componentType);\n        let componentFactoryRef;\n        if (componentFactoryMap) {\n            const updatedComponentName = (options && options['prefab']) ? options['prefab'] + componentName : componentName;\n            componentFactoryRef = componentFactoryMap.get(updatedComponentName);\n\n            if (componentFactoryRef) {\n                return componentFactoryRef;\n            }\n        }\n\n        return this.loadResourcesOfFragment(componentName, componentType, options)\n            .then(({ markup, script, styles, variables }) => {\n                const componentDef = getDynamicComponent(componentName, componentType, markup, styles, script, JSON.stringify(variables));\n                const moduleDef = getDynamicModule(componentDef);\n\n                componentFactoryRef = this.compiler\n                    .compileModuleAndAllComponentsSync(moduleDef)\n                    .componentFactories\n                    .filter(factory => // @ts-ignore\n                        factory.componentType === componentDef)[0];\n                const updatedComponentName = (options && options['prefab']) ? options['prefab'] + componentName : componentName;\n                componentFactoryRefCache.get(componentType).set(updatedComponentName, componentFactoryRef);\n\n                return componentFactoryRef;\n            }, (err) => {\n                if (err) {\n                    const msg = \"Error while loading page\";\n                    // console the error for easy debugging\n                    console.log(msg, err);\n                    this.appManager.notifyApp(\n                        isString(err) ? err : msg + ', check browser console for error details',\n                        'error'\n                    );\n                }\n            });\n    }\n\n    // clears the cache map\n    public clearComponentFactoryRefCache() {\n        this.resouceMngr.clearCache();\n        fragmentCache.clear();\n        componentFactoryRefCache.forEach(map => {\n            map.clear();\n        });\n    }\n}\n","import { Injectable } from '@angular/core';\n\nimport { getPrefabConfigUrl, PrefabConfigProvider } from '@wm/runtime/base';\n\nimport { AppResourceManagerService } from './app-resource-manager.service';\n\nconst cache = new Map<string, any>();\n@Injectable()\nexport class PrefabConfigProviderService extends PrefabConfigProvider {\n\n    constructor(private resourceMngr: AppResourceManagerService) {\n        super();\n    }\n\n    public getConfig(prefabName: string): Promise<any> {\n        const config = cache.get(prefabName);\n        if (config) {\n            return Promise.resolve(config);\n        }\n\n        return this.resourceMngr.get(getPrefabConfigUrl(prefabName))\n            .then(_config => {\n                cache.set(prefabName, _config);\n                return _config;\n            });\n    }\n}\n","import {APP_INITIALIZER, ApplicationConfig, importProvidersFrom, LOCALE_ID, provideZoneChangeDetection} from \"@angular/core\";\nimport {provideRouter, RouteReuseStrategy, withComponentInputBinding, withHashLocation} from \"@angular/router\";\nimport {\n    HTTP_INTERCEPTORS,\n    provideHttpClient,\n    withInterceptorsFromDi,\n    withXsrfConfiguration\n} from \"@angular/common/http\";\nimport {provideAnimations} from \"@angular/platform-browser/animations\";\nimport {routes} from \"./app.routes\";\nimport {HttpServiceImpl} from \"@wm/http\";\nimport {SecurityService} from \"@wm/security\";\nimport {MetadataService, VariablesService} from \"@wm/variables\";\nimport {OAuthService} from \"@wm/oAuth\";\nimport {\n    AppBeforeLoadResolve,\n    AppDefaultsService,\n    AppExtensionJSResolve,\n    AppExtensionProvider,\n    AppJSProvider,\n    AppJSResolve,\n    AppManagerService,\n    AppRef,\n    AppVariablesProvider,\n    AppVariablesResolve,\n    AuthGuard,\n    CanDeactivatePageGuard,\n    ComponentRefProvider,\n    CustomwidgetConfigProvider,\n    DynamicComponentRefProviderService,\n    HttpCallInterceptor,\n    I18nResolve,\n    I18nServiceImpl,\n    NavigationServiceImpl,\n    PageNotFoundGuard,\n    PipeService,\n    PrefabConfigProvider,\n    PrefabManagerService,\n    RoleGuard,\n    SpinnerServiceImpl,\n    ToasterServiceImpl,\n    WmRouteReuseStrategy\n} from \"@wm/runtime/base\";\nimport {\n    _WM_APP_PROJECT,\n    AbstractDialogService,\n    AbstractHttpService,\n    AbstractI18nService,\n    AbstractNavigationService,\n    AbstractSpinnerService,\n    AbstractToasterService,\n    App,\n    AppDefaults,\n    CustomWidgetRefProvider,\n    DynamicComponentRefProvider,\n    getWmProjectProperties,\n    PartialRefProvider,\n} from \"@wm/core\";\nimport {ModalModule} from \"ngx-bootstrap/modal\";\nimport {ToastNoAnimationModule} from \"ngx-toastr\";\nimport {BsDatepickerModule} from \"ngx-bootstrap/datepicker\";\nimport {NgCircleProgressModule} from \"ng-circle-progress\";\nimport {DatePipe, DecimalPipe} from \"@angular/common\";\nimport {CustomwidgetConfigProviderService} from \"./services/customwidget-config-provider.service\";\nimport {AppJSProviderService} from \"./services/app-js-provider.service\";\nimport {AppVariablesProviderService} from \"./services/app-variables-provider.service\";\nimport {AppExtensionProviderService} from \"./services/app-extension.service\";\nimport {ComponentRefProviderService} from \"./services/component-ref-provider.service\";\nimport {PrefabConfigProviderService} from \"./services/prefab-config-provider.service\";\nimport {AppResourceManagerService} from \"./services/app-resource-manager.service\";\nimport {\n    CustomPipe,\n    DialogServiceImpl,\n    FilterPipe,\n    ImagePipe,\n    SanitizePipe,\n    ToDatePipe,\n    TrailingZeroDecimalPipe,\n    TrustAsPipe\n} from \"@wm/components/base\";\nimport {PageDirective} from \"@wm/components/page\";\n\n\nconst wmModules = [\n    importProvidersFrom(\n        ModalModule.forRoot(),\n        ToastNoAnimationModule.forRoot({ maxOpened: 1, autoDismiss: true }),\n        BsDatepickerModule.forRoot(),\n        NgCircleProgressModule.forRoot(),\n    )\n];\nexport const xsrfHeaderName = getWmProjectProperties().xsrf_header_name || \"X-WM-XSRF-TOKEN\";\n\n\n\n\nconst initializeProjectDetails = () => {\n    let cdnUrl = document.querySelector('[name=\"deployUrl\"]') && document.querySelector('[name=\"deployUrl\"]').getAttribute('content');\n    _WM_APP_PROJECT.isPreview = cdnUrl ? false : true;\n    const apiUrl = document.querySelector('[name=\"apiUrl\"]') && document.querySelector('[name=\"apiUrl\"]').getAttribute('content');\n    //for preview\n    if (!cdnUrl) {\n        cdnUrl = document.querySelector('[name=\"cdnUrl\"]') && document.querySelector('[name=\"cdnUrl\"]').getAttribute('content');\n    }\n    _WM_APP_PROJECT.id = location.href.split('/')[3];\n    // Integration with third party apps like in SSPA/WebComponents, this meta tag with cdnUrl will not be there then default it to ng-bundle/\n    _WM_APP_PROJECT.apiUrl = apiUrl || './';\n    _WM_APP_PROJECT.cdnUrl = cdnUrl || 'ng-bundle/';\n    _WM_APP_PROJECT.ngDest = 'ng-bundle/';\n    try {\n        // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n        //@ts-ignore\n        __webpack_require__.p = __webpack_public_path__ = cdnUrl;\n    } catch (e) {\n        //for app preview there is no webpack. Don't do anything.\n    }\n};\n\nexport function InitializeApp(I18nService, AppJSResolve, AppBeforeLoadResolve, AppVariablesResolve, AppExtensionJSResolve) {\n    return async () => {\n        initializeProjectDetails();\n        await AppJSResolve.resolve();\n        await AppVariablesResolve.resolve();\n        await AppExtensionJSResolve.resolve();\n        await I18nService.loadDefaultLocale();\n        return AppBeforeLoadResolve.resolve();\n    };\n}\n\nexport function setAngularLocale(I18nService) {\n    initializeProjectDetails();\n    return I18nService.deduceAppLocale();\n}\n\nexport const appConfig: ApplicationConfig = {\n    providers: [\n        provideZoneChangeDetection({\n            eventCoalescing: true,\n            runCoalescing: true\n        }),\n        { provide: HTTP_INTERCEPTORS, useClass: HttpCallInterceptor, multi: true },\n        // Provide Angular core services\n        provideRouter(routes, withHashLocation(), withComponentInputBinding()),\n        provideHttpClient(\n            withInterceptorsFromDi(),\n            withXsrfConfiguration({\n                cookieName: \"wm_xsrf_token\",\n                headerName: xsrfHeaderName\n            })\n        ),\n        provideAnimations(),\n        // Provide application-specific services\n        {\n            provide: APP_INITIALIZER,\n            useFactory: InitializeApp,\n            deps: [AbstractI18nService, AppJSResolve, AppBeforeLoadResolve, AppVariablesResolve, AppExtensionJSResolve, PipeService],\n            multi: true\n        },\n        {\n            provide: LOCALE_ID,\n            useFactory: setAngularLocale,\n            deps: [AbstractI18nService]\n        },\n        { provide: App, useClass: AppRef },\n        { provide: AbstractToasterService, useClass: ToasterServiceImpl },\n        { provide: AbstractI18nService, useClass: I18nServiceImpl },\n        { provide: AbstractSpinnerService, useClass: SpinnerServiceImpl },\n        { provide: AbstractNavigationService, useClass: NavigationServiceImpl },\n        { provide: AbstractDialogService, useClass: DialogServiceImpl },\n        { provide: AppDefaults, useClass: AppDefaultsService },\n        { provide: DynamicComponentRefProvider, useClass: DynamicComponentRefProviderService },\n        { provide: AppJSProvider, useClass: AppJSProviderService },\n        { provide: AppVariablesProvider, useClass: AppVariablesProviderService },\n        { provide: AppExtensionProvider, useClass: AppExtensionProviderService },\n        { provide: ComponentRefProvider, useClass: ComponentRefProviderService },\n        { provide: PartialRefProvider, useClass: ComponentRefProviderService },\n        { provide: CustomWidgetRefProvider, useClass: ComponentRefProviderService },\n        { provide: CustomwidgetConfigProvider, useClass: CustomwidgetConfigProviderService },\n        { provide: PrefabConfigProvider, useClass: PrefabConfigProviderService },\n        { provide: RouteReuseStrategy, useClass: WmRouteReuseStrategy },\n        { provide: AbstractHttpService, useClass: HttpServiceImpl },\n        AppResourceManagerService,\n        PipeService,\n        DecimalPipe,\n        SanitizePipe,\n        ToDatePipe,\n        FilterPipe,\n        TrailingZeroDecimalPipe,\n        TrustAsPipe,\n        ImagePipe,\n        CustomPipe,\n        Location,\n        DatePipe,\n        AppManagerService,\n        PrefabManagerService,\n        AuthGuard,\n        RoleGuard,\n        PageNotFoundGuard,\n        CanDeactivatePageGuard,\n        AppJSResolve,\n        AppVariablesResolve,\n        AppExtensionJSResolve,\n        I18nResolve,\n        AppBeforeLoadResolve,\n        SecurityService,\n        OAuthService,\n        VariablesService,\n        MetadataService,\n        ...wmModules,\n        PageDirective\n    ]\n};\n","import { ApplicationRef, enableProdMode } from '@angular/core';\n\nimport { isEmpty } from \"lodash-es\";\nimport { bootstrapApplication } from '@angular/platform-browser';\nimport {setPreviewProperties} from '@wm/core';\nimport { AppComponent } from '@wm/runtime/base';\nimport { appConfig } from './app/app.config';\nimport {CustomIconsLoaderService} from '@wm/core'\n\nconst DEBUG_MODE = 'debugMode';\n\nif (sessionStorage.getItem(DEBUG_MODE) !== 'true') {\n    enableProdMode();\n}\nfetch('./font.config.js')\n    .then(response => response.text())\n    .then((fontConfig) => {\n        setPreviewProperties({ fontConfig });\n        const iconLoader = new CustomIconsLoaderService();\n        iconLoader.load();\n    })\nconsole.time('bootstrap');\n\n\ndocument.addEventListener('DOMContentLoaded', () => {\n  new Promise<Event | void>(resolve => {\n      resolve();\n  }).then(() => bootstrapApplication(AppComponent, appConfig))\n    .then((appRef: ApplicationRef) => { \n      window.addEventListener('unload', () => {\n        appRef.components.map(c => c?.destroy());\n      });\n    })\n    .catch(err => console.error('Error bootstrapping app:', err));\n});\n\n(window as any).debugMode = function (on) {\n    if (isEmpty(on)) {\n        on = true;\n    }\n    const value = on ? 'true' : 'false';\n    if (sessionStorage.getItem(DEBUG_MODE) !== value) {\n        sessionStorage.setItem(DEBUG_MODE, value);\n        window.location.reload();\n    }\n};\n\nexport default () => { };\n","import { Injector, ModuleWithProviders, NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { CommonModule } from '@angular/common';\nimport { RouteReuseStrategy, RouterModule } from '@angular/router';\nimport { HttpClientModule, HttpClientXsrfModule } from '@angular/common/http';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { TypeaheadModule } from 'ngx-bootstrap/typeahead';\nimport { TimepickerModule as ngxTimepickerModule } from 'ngx-bootstrap/timepicker';\nimport { ProgressbarModule } from 'ngx-bootstrap/progressbar';\nimport { PaginationModule as ngxPaginationModule } from 'ngx-bootstrap/pagination';\nimport { ModalModule } from 'ngx-bootstrap/modal';\nimport { TooltipModule } from 'ngx-bootstrap/tooltip';\nimport { BsDatepickerModule } from 'ngx-bootstrap/datepicker';\nimport { BsDropdownModule } from 'ngx-bootstrap/dropdown';\nimport { PopoverModule as ngxPopoverModule } from 'ngx-bootstrap/popover';\n\nimport { NgCircleProgressModule } from 'ng-circle-progress';\nimport { ToastNoAnimationModule } from 'ngx-toastr';\nimport { CarouselModule as ngxCarouselModule, } from 'ngx-bootstrap/carousel';\n\nimport { App, getWmProjectProperties, PartialRefProvider, CustomWidgetRefProvider, AbstractHttpService } from '@wm/core';\n// Basic widgets\n\nimport { AnchorComponent } from '@wm/components/basic/anchor';\nimport { AudioComponent } from '@wm/components/basic/audio';\nimport { HtmlDirective } from '@wm/components/basic/html';\nimport { IconComponent } from '@wm/components/basic/icon';\nimport { IframeComponent } from '@wm/components/basic/iframe';\nimport { LabelDirective } from '@wm/components/basic/label';\nimport { PictureDirective } from '@wm/components/basic/picture';\nimport { SpinnerComponent } from '@wm/components/basic/spinner';\nimport { VideoComponent } from '@wm/components/basic/video';\n\nimport { ProgressBarComponent } from '@wm/components/basic/progress/progress-bar';\nimport { ProgressCircleComponent } from '@wm/components/basic/progress/progress-circle';\nimport { RichTextEditorComponent } from '@wm/components/basic/rich-text-editor';\nimport { SearchComponent, ScrollableDirective } from '@wm/components/basic/search';\nimport { TreeComponent } from '@wm/components/basic/tree';\n\n// input\nimport { ButtonComponent } from \"@wm/components/input/button\";\nimport { ButtonGroupDirective } from \"@wm/components/input/button-group\";\nimport { CaptionPositionDirective } from \"@wm/components/input/caption-position\";\nimport { CheckboxComponent } from \"@wm/components/input/checkbox\";\nimport { CheckboxsetComponent } from \"@wm/components/input/checkboxset\";\nimport { CompositeDirective } from \"@wm/components/input/composite\";\nimport { NumberComponent } from \"@wm/components/input/number\";\nimport { RadiosetComponent } from \"@wm/components/input/radioset\";\nimport { SelectComponent } from \"@wm/components/input/select\";\nimport { SwitchComponent } from \"@wm/components/input/switch\";\nimport { InputCalendarComponent } from \"@wm/components/input/text\";\nimport { InputColorComponent } from \"@wm/components/input/text\";\nimport { InputEmailComponent } from \"@wm/components/input/text\";\nimport { InputNumberComponent } from \"@wm/components/input/text\";\nimport { InputTextComponent } from \"@wm/components/input/text\";\nimport { TextareaComponent } from \"@wm/components/input/textarea\";\n\nimport { CalendarComponent } from '@wm/components/input/calendar';\nimport { ChipsComponent } from '@wm/components/input/chips';\nimport { ColorPickerComponent } from '@wm/components/input/color-picker';\nimport { CurrencyComponent } from '@wm/components/input/currency';\n\nimport { DateComponent } from '@wm/components/input/epoch/date';\nimport { DatetimeComponent } from '@wm/components/input/epoch/date-time';\nimport { TimeComponent } from '@wm/components/input/epoch/time';\nimport { DateTimePickerComponent } from '@wm/components/input/epoch/date-time-picker';\nimport { TimePickerComponent } from '@wm/components/input/epoch/date-time-picker';\nimport { PickerComponent } from '@wm/components/input/epoch/picker';\nimport { PickerGroupComponent } from '@wm/components/input/epoch/picker';\n\nimport { FileUploadComponent } from '@wm/components/input/file-upload';\nimport { RatingComponent } from '@wm/components/input/rating';\nimport { SliderComponent } from '@wm/components/input/slider';\n// Data\nimport {\n    CardComponent,\n    CardActionsDirective,\n    CardContentComponent,\n    CardFooterDirective\n} from '@wm/components/data/card';\nimport {\n    FormComponent,\n    FormWidgetDirective,\n    FormActionDirective,\n    FormFieldDirective,\n    LiveActionsDirective,\n    DependsonDirective,\n    LiveFilterDirective,\n    LiveFormDirective\n} from '@wm/components/data/form';\nimport { ListComponent, ListItemDirective } from '@wm/components/data/list';\nimport { LiveTableComponent } from '@wm/components/data/live-table';\nimport { PaginationComponent } from '@wm/components/data/pagination';\nimport {\n    TableComponent,\n    TableCUDDirective,\n    TableFilterSortDirective,\n    TableActionDirective,\n    TableColumnDirective,\n    TableColumnGroupDirective,\n    TableRowDirective,\n    TableRowActionDirective\n} from '@wm/components/data/table';\n\n// Chart\nimport { ChartComponent } from '@wm/components/chart';\n\n// Containers\nimport { AccordionPaneComponent, AccordionDirective } from '@wm/components/containers/accordion';\nimport { LinearLayoutDirective, LinearLayoutItemDirective } from '@wm/components/containers/linear-layout';\nimport { LayoutgridDirective, LayoutGridRowDirective, LayoutGridColumnDirective } from '@wm/components/containers/layout-grid';\nimport { PanelComponent } from '@wm/components/containers/panel';\nimport { TabPaneComponent, TabsComponent } from '@wm/components/containers/tabs';\nimport { TileDirective } from '@wm/components/containers/tile';\nimport { WizardActionDirective, WizardStepComponent, WizardComponent } from '@wm/components/containers/wizard';\n\n// Dialogs\nimport { AlertDialogComponent } from '@wm/components/dialogs/alert-dialog';\nimport { IframeDialogComponent } from '@wm/components/dialogs/iframe-dialog';\nimport { LoginDialogDirective } from '@wm/components/dialogs/login-dialog';\nimport { PartialDialogComponent } from '@wm/components/dialogs/partial-dialog';\n\n// Navigation\nimport { BreadcrumbComponent } from '@wm/components/navigation/breadcrumb';\nimport { MenuComponent, MenuDropdownComponent, MenuDropdownItemComponent, NavigationControlDirective, NavComponent, NavItemDirective } from '@wm/components/navigation/menu';\nimport { NavbarComponent } from '@wm/components/navigation/navbar';\nimport { PopoverComponent } from '@wm/components/navigation/popover';\n\n// Advanced\nimport { CarouselDirective, CarouselTemplateDirective } from '@wm/components/advanced/carousel';\nimport { LoginComponent } from '@wm/components/advanced/login';\nimport { MarqueeDirective } from '@wm/components/advanced/marquee';\nimport { CustomWidgetDirective, CustomWidgetContainerDirective } from '@wm/components/advanced/custom';\n\nimport {\n    PageDirective,\n    LayoutDirective,\n    ContentComponent,\n    PageContentComponent,\n    SpaPageDirective,\n    RouterOutletDirective\n} from '@wm/components/page';\nimport { FooterDirective } from '@wm/components/page/footer';\nimport { HeaderComponent } from '@wm/components/page/header';\nimport { LeftPanelDirective } from '@wm/components/page/left-panel';\nimport { RightPanelDirective } from '@wm/components/page/right-panel';\nimport { TopNavDirective } from '@wm/components/page/top-nav';\n\nimport { PrefabDirective, PrefabContainerDirective } from '@wm/components/prefab';\n\nimport {\n    AppComponent,\n    AppJSProvider,\n    AppVariablesProvider,\n    ComponentRefProvider,\n    PrefabConfigProvider,\n    WmRouteReuseStrategy,\n    WM_MODULES_FOR_ROOT,\n    CustomwidgetConfigProvider,\n    REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS,\n    AppExtensionProvider\n} from '@wm/runtime/base';\n\nimport { routes } from './app.routes';\nimport { PageWrapperComponent } from './components/page-wrapper.component';\nimport { AppJSProviderService } from './services/app-js-provider.service';\nimport { AppVariablesProviderService } from './services/app-variables-provider.service';\nimport { AppExtensionProviderService } from './services/app-extension.service';\nimport { ComponentRefProviderService } from './services/component-ref-provider.service';\nimport { CustomwidgetConfigProviderService } from './services/customwidget-config-provider.service';\nimport { PrefabConfigProviderService } from './services/prefab-config-provider.service';\nimport { AppResourceManagerService } from './services/app-resource-manager.service';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { HttpServiceImpl } from '@wm/http';\n\nexport const routerModule = RouterModule.forRoot(routes, { useHash: true, scrollPositionRestoration: 'top' });\nexport const toastrModule = ToastNoAnimationModule.forRoot({ maxOpened: 1, autoDismiss: true });\n\n// In angular 15, xsrf headerName should not be null. Angular 15 is not using default header value like it used to send in calls\n// for angular 12 if the headerName is null . The user has to take care of not sending null values. Then ng 15 uses default value for headerName\nconst xsrfHeaderName = getWmProjectProperties().xsrf_header_name;\nconst xsrfOptions = {\n    cookieName: 'wm_xsrf_token'\n}\nif (xsrfHeaderName) {\n    xsrfOptions['headerName'] = xsrfHeaderName;\n}\nexport const httpClientXsrfModule = HttpClientXsrfModule.withOptions(xsrfOptions);\n\nexport const modalModule: ModuleWithProviders<ModalModule> = ModalModule.forRoot();\nexport const bsDatePickerModule: ModuleWithProviders<BsDatepickerModule> = BsDatepickerModule.forRoot();\nexport const timepickerModule: ModuleWithProviders<ngxTimepickerModule> = ngxTimepickerModule.forRoot();\nexport const bsDropdownModule: ModuleWithProviders<BsDropdownModule> = BsDropdownModule.forRoot();\nexport const paginationModule: ModuleWithProviders<ngxPaginationModule> = ngxPaginationModule.forRoot();\nexport const typeaheadModule: ModuleWithProviders<TypeaheadModule> = TypeaheadModule.forRoot();\nexport const progressbarModule: ModuleWithProviders<ProgressbarModule> = ProgressbarModule.forRoot();\nexport const carouselModule: ModuleWithProviders<ngxCarouselModule> = ngxCarouselModule.forRoot();\nexport const popoverModule: ModuleWithProviders<ngxPopoverModule> = ngxPopoverModule.forRoot();\nexport const ngCircleProgressModule: ModuleWithProviders<NgCircleProgressModule> = NgCircleProgressModule.forRoot({});\nexport const tooltipModule: ModuleWithProviders<TooltipModule> = TooltipModule.forRoot();\n\nconst componentsModule = [\n    // NGX Bootstrap\n    BsDatepickerModule,\n    ngxTimepickerModule,\n    BsDropdownModule,\n    ngxPaginationModule,\n    TypeaheadModule,\n    ProgressbarModule,\n    ngxCarouselModule,\n    ngxPopoverModule,\n    NgCircleProgressModule,\n    TooltipModule,\n\n    // Basic widgets\n    AnchorComponent,\n    AudioComponent,\n    HtmlDirective,\n    IconComponent,\n    IframeComponent,\n    LabelDirective,\n    PictureDirective,\n    SpinnerComponent,\n    VideoComponent,\n    ProgressBarComponent, ProgressCircleComponent,\n    RichTextEditorComponent,\n    SearchComponent, ScrollableDirective,\n    TreeComponent,\n\n    // Input\n    CalendarComponent,\n    ChipsComponent,\n    ColorPickerComponent,\n    CurrencyComponent,\n    DateComponent,\n    DatetimeComponent,\n    TimeComponent,\n    DateTimePickerComponent,\n    TimePickerComponent,\n    PickerComponent,\n    PickerGroupComponent,\n    FileUploadComponent,\n    ButtonComponent,\n    ButtonGroupDirective,\n    CaptionPositionDirective,\n    CheckboxComponent,\n    CheckboxsetComponent,\n    CompositeDirective,\n    NumberComponent,\n    RadiosetComponent,\n    SelectComponent,\n    SwitchComponent,\n    InputCalendarComponent,\n    InputColorComponent,\n    InputEmailComponent,\n    InputNumberComponent,\n    InputTextComponent,\n    TextareaComponent,\n    RatingComponent,\n    SliderComponent,\n\n    // Data\n    CardComponent,\n    CardActionsDirective,\n    CardContentComponent,\n    CardFooterDirective,\n    FormComponent,\n    FormWidgetDirective,\n    FormActionDirective,\n    FormFieldDirective,\n    LiveActionsDirective,\n    DependsonDirective,\n    LiveFilterDirective,\n    LiveFormDirective,\n    ListComponent, ListItemDirective,\n    LiveTableComponent,\n    PaginationComponent,\n    TableComponent,\n    TableCUDDirective,\n    TableFilterSortDirective,\n    TableActionDirective,\n    TableColumnDirective,\n    TableColumnGroupDirective,\n    TableRowDirective,\n    TableRowActionDirective,\n\n    // chart\n    ChartComponent,\n\n    // container modules\n    AccordionPaneComponent, AccordionDirective,\n    LinearLayoutDirective, LinearLayoutItemDirective,\n    LayoutgridDirective, LayoutGridRowDirective, LayoutGridColumnDirective,\n    PanelComponent,\n    TabPaneComponent, TabsComponent,\n    TileDirective,\n    WizardActionDirective, WizardStepComponent, WizardComponent,\n\n    // dialogs\n    AlertDialogComponent,\n    IframeDialogComponent,\n    LoginDialogDirective,\n    PartialDialogComponent,\n\n    // navigation\n    BreadcrumbComponent,\n    MenuComponent, MenuDropdownComponent, MenuDropdownItemComponent, NavigationControlDirective, NavComponent, NavItemDirective,\n    NavbarComponent,\n    PopoverComponent,\n\n    // Advanced\n    CarouselDirective, CarouselTemplateDirective,\n    LoginComponent,\n    MarqueeDirective,\n    CustomWidgetDirective, CustomWidgetContainerDirective,\n\n    PageDirective,\n    LayoutDirective,\n    ContentComponent,\n    PageContentComponent,\n    SpaPageDirective,\n    RouterOutletDirective,\n    FooterDirective,\n    HeaderComponent,\n    LeftPanelDirective,\n    RightPanelDirective,\n    TopNavDirective,\n\n    PrefabDirective, PrefabContainerDirective\n];\n\nREQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS.push(...componentsModule as any);\nREQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS.push(FormsModule as any, ReactiveFormsModule as any);\n\n@NgModule({\n    declarations: [\n        PageWrapperComponent\n    ],\n    imports: [\n        BrowserModule,\n        BrowserAnimationsModule,\n        CommonModule,\n        RouterModule,\n        HttpClientModule,\n\n        modalModule,\n        bsDatePickerModule,\n        timepickerModule,\n        bsDropdownModule,\n        paginationModule,\n        typeaheadModule,\n        tooltipModule,\n        progressbarModule,\n        carouselModule,\n        popoverModule,\n        ngCircleProgressModule,\n\n        routerModule,\n        toastrModule,\n        httpClientXsrfModule,\n        WM_MODULES_FOR_ROOT\n    ],\n    providers: [\n        AppResourceManagerService,\n        { provide: AppJSProvider, useClass: AppJSProviderService },\n        { provide: AppVariablesProvider, useClass: AppVariablesProviderService },\n        { provide: AppExtensionProvider, useClass: AppExtensionProviderService },\n        { provide: ComponentRefProvider, useClass: ComponentRefProviderService },\n        { provide: PartialRefProvider, useClass: ComponentRefProviderService },\n        { provide: CustomWidgetRefProvider, useClass: ComponentRefProviderService },\n        { provide: CustomwidgetConfigProvider, useClass: CustomwidgetConfigProviderService },\n        { provide: PrefabConfigProvider, useClass: PrefabConfigProviderService },\n        { provide: RouteReuseStrategy, useClass: WmRouteReuseStrategy },\n        { provide: AbstractHttpService, useClass: HttpServiceImpl }\n    ],\n    bootstrap: [AppComponent]\n})\nexport class AppModule {\n    constructor(private app: App, private inj: Injector, private componentRefProvider: ComponentRefProvider) {\n    }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["cache","i1","i1.AppResourceManagerService","i2","PrefabLoader","i3","xsrfHeaderName","ngxTimepickerModule","ngxPaginationModule","ngxCarouselModule","ngxPopoverModule","PrefabDirective"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuBa,oBAAoB,CAAA;IAK7B,WAAA,CACY,QAAkB,EAClB,KAAqB,EACrB,KAAuB,EACvB,MAAsB,EACtB,eAAgC,EAChC,eAAgC,EAChC,UAA6B,EAC7B,GAAQ,EACR,MAAc,EACd,KAAiB,EACjB,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