diff --git a/.gitignore b/.gitignore index bb3a16f..fa5a5a5 100644 --- a/.gitignore +++ b/.gitignore @@ -61,3 +61,6 @@ typings/ # next.js build output .next + + +.angular \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/0.pack b/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/0.pack deleted file mode 100644 index c132a16..0000000 Binary files a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/0.pack and /dev/null differ diff --git a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/1.pack b/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/1.pack deleted file mode 100644 index 727671e..0000000 Binary files a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/1.pack and /dev/null differ diff --git a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/10.pack b/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/10.pack deleted file mode 100644 index 2ec5ba1..0000000 Binary files a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/10.pack and /dev/null differ diff --git a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/2.pack b/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/2.pack deleted file mode 100644 index ad0f8ba..0000000 Binary files a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/2.pack and /dev/null differ diff --git a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/3.pack b/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/3.pack deleted file mode 100644 index 52ddfc1..0000000 Binary files a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/3.pack and /dev/null differ diff --git a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/4.pack b/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/4.pack deleted file mode 100644 index f6504be..0000000 Binary files a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/4.pack and /dev/null differ diff --git a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/5.pack b/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/5.pack deleted file mode 100644 index e6470ea..0000000 Binary files a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/5.pack and /dev/null differ diff --git a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/6.pack b/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/6.pack deleted file mode 100644 index d247080..0000000 Binary files a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/6.pack and /dev/null differ diff --git a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/7.pack b/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/7.pack deleted file mode 100644 index 6f3ac40..0000000 Binary files a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/7.pack and /dev/null differ diff --git a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/8.pack b/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/8.pack deleted file mode 100644 index fb62b0a..0000000 Binary files a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/8.pack and /dev/null differ diff --git a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/9.pack b/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/9.pack deleted file mode 100644 index 2fd5eb7..0000000 Binary files a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/9.pack and /dev/null differ diff --git a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/index.pack b/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/index.pack deleted file mode 100644 index 9cdbc20..0000000 Binary files a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/index.pack and /dev/null differ diff --git a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/index.pack.old b/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/index.pack.old deleted file mode 100644 index f1292c5..0000000 Binary files a/israeliTacticalUi/.angular/cache/15.2.11/angular-webpack/fb4d0dff0b03c224aae476502aba504c86ded20d/index.pack.old and /dev/null differ diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/00832dd1d0f7e256cce320c42b50187343246e9469a3f205c59a45ae1a8b6c56.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/00832dd1d0f7e256cce320c42b50187343246e9469a3f205c59a45ae1a8b6c56.json deleted file mode 100644 index 98a149e..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/00832dd1d0f7e256cce320c42b50187343246e9469a3f205c59a45ae1a8b6c56.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { Subject } from '../Subject';\nimport { Observable } from '../Observable';\nimport { defer } from './defer';\nconst DEFAULT_CONFIG = {\n connector: () => new Subject(),\n resetOnDisconnect: true\n};\nexport function connectable(source, config = DEFAULT_CONFIG) {\n let connection = null;\n const {\n connector,\n resetOnDisconnect = true\n } = config;\n let subject = connector();\n const result = new Observable(subscriber => {\n return subject.subscribe(subscriber);\n });\n result.connect = () => {\n if (!connection || connection.closed) {\n connection = defer(() => source).subscribe(subject);\n if (resetOnDisconnect) {\n connection.add(() => subject = connector());\n }\n }\n return connection;\n };\n return result;\n}\n//# sourceMappingURL=connectable.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/0226e3190f57a97d80c7284900375118d2dd44b3b9a6b1306e39753a6e6c2dfb.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/0226e3190f57a97d80c7284900375118d2dd44b3b9a6b1306e39753a6e6c2dfb.json deleted file mode 100644 index b58b6b6..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/0226e3190f57a97d80c7284900375118d2dd44b3b9a6b1306e39753a6e6c2dfb.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function every(predicate, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n if (!predicate.call(thisArg, value, index++, source)) {\n subscriber.next(false);\n subscriber.complete();\n }\n }, () => {\n subscriber.next(true);\n subscriber.complete();\n }));\n });\n}\n//# sourceMappingURL=every.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/07575eb78415bbdd72b08288aa27693b9b9ce897f267cd30f1b1b8ec6d003a3e.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/07575eb78415bbdd72b08288aa27693b9b9ce897f267cd30f1b1b8ec6d003a3e.json deleted file mode 100644 index cc0f6b6..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/07575eb78415bbdd72b08288aa27693b9b9ce897f267cd30f1b1b8ec6d003a3e.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import * as i0 from \"@angular/core\";\nvar FAQButtonComponent = /** @class */function () {\n function FAQButtonComponent() {}\n FAQButtonComponent.prototype.ngOnInit = function () {};\n FAQButtonComponent.ɵfac = function FAQButtonComponent_Factory(t) {\n return new (t || FAQButtonComponent)();\n };\n FAQButtonComponent.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: FAQButtonComponent,\n selectors: [[\"app-faq-button\"]],\n decls: 3,\n vars: 0,\n consts: [[\"id\", \"btn-padding\", 1, \"w3-container\", \"w3-center\", \"w3-opacity\", \"w3-light-grey\", \"w3-xlarge\"], [\"type\", \"button\", \"onclick\", \"document.getElementById('FaqModal').style.display='block'\", 1, \"btn\", \"btn-default\"]],\n template: function FAQButtonComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"button\", 1);\n i0.ɵɵtext(2, \"\\u00BFPreguntas Frecuentes?\");\n i0.ɵɵelementEnd()();\n }\n },\n styles: [\"#btn-padding[_ngcontent-%COMP%]{padding-top:14px}\"]\n });\n return FAQButtonComponent;\n}();\nexport { FAQButtonComponent };","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/09069f45781578be7c51b4920ca50f8ecaf59216f7724d19a0450feb076c1525.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/09069f45781578be7c51b4920ca50f8ecaf59216f7724d19a0450feb076c1525.json deleted file mode 100644 index 3e487fd..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/09069f45781578be7c51b4920ca50f8ecaf59216f7724d19a0450feb076c1525.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { mergeMap } from './mergeMap';\nimport { isFunction } from '../util/isFunction';\nexport function concatMap(project, resultSelector) {\n return isFunction(resultSelector) ? mergeMap(project, resultSelector, 1) : mergeMap(project, 1);\n}\n//# sourceMappingURL=concatMap.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/0ea0a367a85ec46afbd85e2465b460f8fd8bc2c8f9618ffcdb47b93f7e54c8e6.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/0ea0a367a85ec46afbd85e2465b460f8fd8bc2c8f9618ffcdb47b93f7e54c8e6.json deleted file mode 100644 index 94b949f..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/0ea0a367a85ec46afbd85e2465b460f8fd8bc2c8f9618ffcdb47b93f7e54c8e6.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { operate } from '../util/lift';\nimport { noop } from '../util/noop';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function buffer(closingNotifier) {\n return operate((source, subscriber) => {\n let currentBuffer = [];\n source.subscribe(createOperatorSubscriber(subscriber, value => currentBuffer.push(value), () => {\n subscriber.next(currentBuffer);\n subscriber.complete();\n }));\n closingNotifier.subscribe(createOperatorSubscriber(subscriber, () => {\n const b = currentBuffer;\n currentBuffer = [];\n subscriber.next(b);\n }, noop));\n return () => {\n currentBuffer = null;\n };\n });\n}\n//# sourceMappingURL=buffer.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/0fc2b6e4f913b51281d7d81f9ba90181669a87b4e7ad5ec3d11ee55a4259802f.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/0fc2b6e4f913b51281d7d81f9ba90181669a87b4e7ad5ec3d11ee55a4259802f.json deleted file mode 100644 index 1f04330..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/0fc2b6e4f913b51281d7d81f9ba90181669a87b4e7ad5ec3d11ee55a4259802f.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable(subscriber => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({\n value,\n done\n } = iterator.next());\n } catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n } else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n//# sourceMappingURL=scheduleIterable.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1173af52b2208f8214c064d10131d2d2fd85e47aeb19f603035e54d55e349f1c.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1173af52b2208f8214c064d10131d2d2fd85e47aeb19f603035e54d55e349f1c.json deleted file mode 100644 index 760cd08..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1173af52b2208f8214c064d10131d2d2fd85e47aeb19f603035e54d55e349f1c.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { asyncScheduler } from '../scheduler/async';\nimport { defaultThrottleConfig, throttle } from './throttle';\nimport { timer } from '../observable/timer';\nexport function throttleTime(duration, scheduler = asyncScheduler, config = defaultThrottleConfig) {\n const duration$ = timer(duration, scheduler);\n return throttle(() => duration$, config);\n}\n//# sourceMappingURL=throttleTime.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/11ac5df7dfe843570487a9b877a29bf5798003bd2e63db6564510e06f3c5bd27.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/11ac5df7dfe843570487a9b877a29bf5798003bd2e63db6564510e06f3c5bd27.json deleted file mode 100644 index 47ec0b0..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/11ac5df7dfe843570487a9b877a29bf5798003bd2e63db6564510e06f3c5bd27.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { createErrorClass } from './createErrorClass';\nexport const EmptyError = createErrorClass(_super => function EmptyErrorImpl() {\n _super(this);\n this.name = 'EmptyError';\n this.message = 'no elements in sequence';\n});\n//# sourceMappingURL=EmptyError.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/12299a9cedae8cf1f5defd9fa2451e05023c140ab85187fa9b10d0bba834edb2.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/12299a9cedae8cf1f5defd9fa2451e05023c140ab85187fa9b10d0bba834edb2.json deleted file mode 100644 index a8fdc9b..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/12299a9cedae8cf1f5defd9fa2451e05023c140ab85187fa9b10d0bba834edb2.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { innerFrom } from '../observable/innerFrom';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { operate } from '../util/lift';\nexport function catchError(selector) {\n return operate((source, subscriber) => {\n let innerSub = null;\n let syncUnsub = false;\n let handledResult;\n innerSub = source.subscribe(createOperatorSubscriber(subscriber, undefined, undefined, err => {\n handledResult = innerFrom(selector(err, catchError(selector)(source)));\n if (innerSub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n } else {\n syncUnsub = true;\n }\n }));\n if (syncUnsub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n }\n });\n}\n//# sourceMappingURL=catchError.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/14764eaf86e2a6d57050562b409a647c9dd879dd6ae71047b0d436f88f91718f.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/14764eaf86e2a6d57050562b409a647c9dd879dd6ae71047b0d436f88f91718f.json deleted file mode 100644 index f76efed..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/14764eaf86e2a6d57050562b409a647c9dd879dd6ae71047b0d436f88f91718f.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { zip as zipStatic } from '../observable/zip';\nimport { operate } from '../util/lift';\nexport function zip(...sources) {\n return operate((source, subscriber) => {\n zipStatic(source, ...sources).subscribe(subscriber);\n });\n}\n//# sourceMappingURL=zip.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/153f8a180c0318e7a53dadf7286c786ff4d03fb6aeac3e062a5b5594a3e737d4.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/153f8a180c0318e7a53dadf7286c786ff4d03fb6aeac3e062a5b5594a3e737d4.json deleted file mode 100644 index a417325..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/153f8a180c0318e7a53dadf7286c786ff4d03fb6aeac3e062a5b5594a3e737d4.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { EmptyError } from './util/EmptyError';\nimport { SafeSubscriber } from './Subscriber';\nexport function firstValueFrom(source, config) {\n const hasConfig = typeof config === 'object';\n return new Promise((resolve, reject) => {\n const subscriber = new SafeSubscriber({\n next: value => {\n resolve(value);\n subscriber.unsubscribe();\n },\n error: reject,\n complete: () => {\n if (hasConfig) {\n resolve(config.defaultValue);\n } else {\n reject(new EmptyError());\n }\n }\n });\n source.subscribe(subscriber);\n });\n}\n//# sourceMappingURL=firstValueFrom.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/15d356f1bb80870ac698b3a4ddb6a25ccef26048f91909a62395f01fb9b666d9.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/15d356f1bb80870ac698b3a4ddb6a25ccef26048f91909a62395f01fb9b666d9.json deleted file mode 100644 index 3d77caf..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/15d356f1bb80870ac698b3a4ddb6a25ccef26048f91909a62395f01fb9b666d9.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import * as i0 from \"@angular/core\";\nvar GalleryComponent = /** @class */function () {\n function GalleryComponent() {}\n GalleryComponent.prototype.ngOnInit = function () {};\n GalleryComponent.ɵfac = function GalleryComponent_Factory(t) {\n return new (t || GalleryComponent)();\n };\n GalleryComponent.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: GalleryComponent,\n selectors: [[\"app-gallery\"]],\n decls: 43,\n vars: 0,\n consts: [[\"id\", \"gallery-banner\", 1, \"w3-container\", \"w3-content\", \"w3-padding-64\"], [1, \"w3-wide\", \"w3-center\", \"galeria-title\"], [\"id\", \"container\"], [1, \"photobanner\"], [\"srcset\", \"\", \"type\", \"image/webp\"], [\"srcset\", \"\", \"type\", \"image/jpeg\"], [\"srcset\", \"https://i.imgur.com/9PbdbKv.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/9PbdbKv.jpeg\", \"alt\", \"\", \"rel\", \"noopener\", 1, \"first\", \"gallery-img\"], [\"srcset\", \"https://i.imgur.com/O0Z7IwT.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/O0Z7IwT.jpeg\", \"alt\", \"\", \"rel\", \"noopener\", 1, \"gallery-img\"], [\"srcset\", \"https://i.imgur.com/PxUOprm.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/PxUOprm.jpeg\", \"alt\", \"\", \"rel\", \"noopener\", 1, \"gallery-img\"], [\"srcset\", \"https://i.imgur.com/JyioDpp.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/JyioDpp.jpeg\", \"alt\", \"\", \"rel\", \"noopener\", 1, \"gallery-img\"], [\"srcset\", \"https://i.imgur.com/27TzEsc.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/27TzEsc.jpeg\", \"alt\", \"\", \"rel\", \"noopener\", 1, \"gallery-img\"], [\"srcset\", \"https://drive.google.com/uc?export=view&id=138CY6my7zdL2fDrQ_NfzEj82TYJgjM2E\", \"type\", \"image/webp\"], [\"srcset\", \"https://i.imgur.com/MGXfKL4.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/MGXfKL4.jpeg\", \"alt\", \"\", \"rel\", \"noopener\", 1, \"gallery-img\"], [\"srcset\", \"https://drive.google.com/uc?export=view&id=14P01zltDbCWXlORPN1NbsPP5JlWJajPW\", \"type\", \"image/webp\"], [\"srcset\", \"https://i.imgur.com/LSEVMGu.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/LSEVMGu.jpeg\", \"alt\", \"\", \"rel\", \"noopener\", 1, \"gallery-img\"], [\"srcset\", \"https://drive.google.com/uc?export=view&id=1F2THjnQusnTN_UNNovBK2imxdgroIG7d\", \"type\", \"image/webp\"], [\"srcset\", \"https://i.imgur.com/aUl4oan.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/aUl4oan.jpeg\", \"alt\", \"\", \"rel\", \"noopener\", 1, \"gallery-img\"], [\"srcset\", \"https://drive.google.com/uc?export=view&id=1h7X6BMs5mkJVocwykcBidUOlw9cJz6CJ\", \"type\", \"image/webp\"], [\"srcset\", \"https://i.imgur.com/66HYs4x.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/66HYs4x.jpeg\", \"alt\", \"\", \"rel\", \"noopener\", 1, \"gallery-img\"], [\"srcset\", \"https://drive.google.com/uc?export=view&id=1rENYtjopyhKQ2fZqKRLzmM9xUqI5Gjai\", \"type\", \"image/webp\"], [\"srcset\", \"https://i.imgur.com/6jkrwIo.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/6jkrwIo.jpeg\", \"alt\", \"\", \"rel\", \"noopener\", 1, \"gallery-img\"]],\n template: function GalleryComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"h2\", 1);\n i0.ɵɵtext(2, \"GALERIA\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(3, \"div\", 2)(4, \"div\", 3);\n i0.ɵɵelement(5, \"source\", 4)(6, \"source\", 5);\n i0.ɵɵelementStart(7, \"picture\");\n i0.ɵɵelement(8, \"source\", 6)(9, \"img\", 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(10, \"picture\");\n i0.ɵɵelement(11, \"source\", 8)(12, \"img\", 9);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(13, \"picture\");\n i0.ɵɵelement(14, \"source\", 10)(15, \"img\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(16, \"picture\");\n i0.ɵɵelement(17, \"source\", 12)(18, \"img\", 13);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"picture\");\n i0.ɵɵelement(20, \"source\", 14)(21, \"img\", 15);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"picture\");\n i0.ɵɵelement(23, \"source\", 16)(24, \"source\", 17)(25, \"img\", 18);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(26, \"picture\");\n i0.ɵɵelement(27, \"source\", 19)(28, \"source\", 20)(29, \"img\", 21);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(30, \"picture\");\n i0.ɵɵelement(31, \"source\", 22)(32, \"source\", 23)(33, \"img\", 24);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(34, \"picture\");\n i0.ɵɵelement(35, \"source\", 25)(36, \"source\", 26)(37, \"img\", 27);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(38, \"picture\");\n i0.ɵɵelement(39, \"source\", 28)(40, \"source\", 29)(41, \"img\", 30);\n i0.ɵɵelementEnd()()();\n i0.ɵɵelement(42, \"hr\");\n }\n },\n styles: [\"#gallery-banner[_ngcontent-%COMP%]{height:20vh;width:100%;text-align:center;background-image:url(https://i.imgur.com/8gWCfzU.jpeg);background-attachment:fixed;background-position:center;background-repeat:no-repeat;background-size:cover}.galeria-title[_ngcontent-%COMP%]{font-weight:700;color:#fff}#scroll[_ngcontent-%COMP%]{width:98vw;height:400px;margin:80px auto;overflow:auto;white-space:nowrap}.gallery-img[_ngcontent-%COMP%]{height:400px;width:400px;margin:0 1px}@media only screen and (max-device-width: 700px){#gallery-banner[_ngcontent-%COMP%]{background-attachment:scroll}}#container[_ngcontent-%COMP%]{width:80vw;height:400px;overflow:hidden;margin:50px auto;background:white}.photobanner[_ngcontent-%COMP%]{overflow:hidden;height:45vh;width:3550px;margin-bottom:0}.photobanner[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{transition:all .1s ease}.first[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_bannermove 30s linear infinite}@keyframes _ngcontent-%COMP%_bannermove{0%{margin-left:0}to{margin-left:-2125px}}\"]\n });\n return GalleryComponent;\n}();\nexport { GalleryComponent };","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/15d648807a249f3898b062ba211f454ff7eaf7fb398bc4b023d84cb4bf87fa3a.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/15d648807a249f3898b062ba211f454ff7eaf7fb398bc4b023d84cb4bf87fa3a.json deleted file mode 100644 index 97a4dc4..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/15d648807a249f3898b062ba211f454ff7eaf7fb398bc4b023d84cb4bf87fa3a.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { noop } from '../util/noop';\nexport function distinct(keySelector, flushes) {\n return operate((source, subscriber) => {\n const distinctKeys = new Set();\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n const key = keySelector ? keySelector(value) : value;\n if (!distinctKeys.has(key)) {\n distinctKeys.add(key);\n subscriber.next(value);\n }\n }));\n flushes === null || flushes === void 0 ? void 0 : flushes.subscribe(createOperatorSubscriber(subscriber, () => distinctKeys.clear(), noop));\n });\n}\n//# sourceMappingURL=distinct.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1607eba9cbd7e3a0d0ed57e6124afef7baa83346e88ad2bc028dbf5540ef386c.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1607eba9cbd7e3a0d0ed57e6124afef7baa83346e88ad2bc028dbf5540ef386c.json deleted file mode 100644 index 2f19c2c..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1607eba9cbd7e3a0d0ed57e6124afef7baa83346e88ad2bc028dbf5540ef386c.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { combineLatestInit } from '../observable/combineLatest';\nimport { operate } from '../util/lift';\nimport { argsOrArgArray } from '../util/argsOrArgArray';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { pipe } from '../util/pipe';\nimport { popResultSelector } from '../util/args';\nexport function combineLatest(...args) {\n const resultSelector = popResultSelector(args);\n return resultSelector ? pipe(combineLatest(...args), mapOneOrManyArgs(resultSelector)) : operate((source, subscriber) => {\n combineLatestInit([source, ...argsOrArgArray(args)])(subscriber);\n });\n}\n//# sourceMappingURL=combineLatest.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/18af669195a08bd57ac660102d7e84bd0d8e7b8f0d7ccff019500399c90152cc.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/18af669195a08bd57ac660102d7e84bd0d8e7b8f0d7ccff019500399c90152cc.json deleted file mode 100644 index ba29b33..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/18af669195a08bd57ac660102d7e84bd0d8e7b8f0d7ccff019500399c90152cc.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import * as i0 from \"@angular/core\";\nvar ScheduleComponent = /** @class */function () {\n function ScheduleComponent() {}\n ScheduleComponent.prototype.ngOnInit = function () {};\n ScheduleComponent.ɵfac = function ScheduleComponent_Factory(t) {\n return new (t || ScheduleComponent)();\n };\n ScheduleComponent.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: ScheduleComponent,\n selectors: [[\"app-schedule\"]],\n decls: 228,\n vars: 0,\n consts: [[\"id\", \"tour\", 1, \"w3-black\"], [1, \"w3-container\", \"w3-content\", \"w3-padding-64\", 2, \"max-width\", \"99vw\", \"margin-top\", \"-45px\"], [1, \"w3-wide\", \"w3-center\"], [1, \"w3-opacity\", \"w3-center\"], [1, \"w3-row-padding\", \"w3-padding-32\"], [1, \"w3-col\", \"s12\", \"m6\", \"l3\", \"w3-margin-bottom\"], [\"srcset\", \"https://i.imgur.com/fMaNjfx.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/fMaNjfx.jpeg\", \"alt\", \"Instructor aiding student in aiming\", \"rel\", \"noopener\", 2, \"width\", \"100%\"], [1, \"product\", \"w3-container\", \"w3-white\", \"w3-center\"], [\"onclick\", \"document.getElementById('prod1Modal').style.display='block'\", 1, \"w3-button\", \"w3-black\", \"w3-margin-bottom\"], [\"srcset\", \"https://i.imgur.com/lQTeehy.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/lQTeehy.jpeg\", \"alt\", \"Instructor firing from window of truck\", \"rel\", \"noopener\", 2, \"width\", \"100%\"], [\"onclick\", \"document.getElementById('prod2Modal').style.display='block'\", 1, \"w3-button\", \"w3-black\", \"w3-margin-bottom\"], [\"srcset\", \"https://i.imgur.com/sn804ij.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/sn804ij.jpeg\", \"alt\", \"Teaching Krav Maga\", \"rel\", \"noopener\", 2, \"width\", \"100%\"], [1, \"product-2\", \"w3-container\", \"w3-white\", \"w3-center\"], [\"onclick\", \"document.getElementById('prod3Modal').style.display='block'\", 1, \"w3-button\", \"w3-black\", \"w3-margin-bottom\"], [\"srcset\", \"https://i.imgur.com/IWqzdt0.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/IWqzdt0.jpeg\", \"alt\", \"Picture of a military sniper\", \"rel\", \"noopener\", 2, \"width\", \"100%\"], [\"onclick\", \"document.getElementById('prod4Modal').style.display='block'\", 1, \"w3-button\", \"w3-black\", \"w3-margin-bottom\"], [\"id\", \"prod1Modal\", 1, \"w3-modal\"], [1, \"w3-modal-content\", \"w3-animate-top\", \"w3-card-4\"], [1, \"w3-container\", \"its-blue\", \"w3-center\", \"w3-padding-32\"], [\"onclick\", \"document.getElementById('prod1Modal').style.display='none'\", 1, \"w3-button\", \"its-blue\", \"w3-hover-red\", \"w3-xlarge\", \"w3-display-topright\"], [1, \"w3-wide\"], [1, \"w3-row\", \"w3-margin\"], [1, \"w3-col\", \"s12\", \"m6\", \"l4\", \"w3-margin-bottom\"], [1, \"w3-col\", \"s12\", \"m6\", \"l4\"], [1, \"w3-container\"], [\"onclick\", \"document.getElementById('prod1Modal').style.display='none'\", 1, \"w3-button\", \"w3-red\", \"w3-section\"], [1, \"fa\", \"fa-remove\"], [\"id\", \"prod2Modal\", 1, \"w3-modal\"], [\"onclick\", \"document.getElementById('prod2Modal').style.display='none'\", 1, \"w3-button\", \"w3-hover-red\", \"its-blue\", \"w3-xlarge\", \"w3-display-topright\"], [1, \"w3-col\", \"s12\", \"m6\", \"l6\", \"w3-margin-bottom\"], [\"onclick\", \"document.getElementById('prod2Modal').style.display='none'\", 1, \"w3-button\", \"w3-red\", \"w3-section\"], [\"id\", \"prod3Modal\", 1, \"w3-modal\"], [\"onclick\", \"document.getElementById('prod3Modal').style.display='none'\", 1, \"w3-button\", \"its-blue\", \"w3-hover-red\", \"w3-xlarge\", \"w3-display-topright\"], [\"onclick\", \"document.getElementById('prod3Modal').style.display='none'\", 1, \"w3-button\", \"w3-red\", \"w3-section\"], [\"id\", \"prod4Modal\", 1, \"w3-modal\"], [\"onclick\", \"document.getElementById('prod4Modal').style.display='none'\", 1, \"w3-button\", \"its-blue\", \"w3-hover-red\", \"w3-xlarge\", \"w3-display-topright\"], [\"onclick\", \"document.getElementById('prod4Modal').style.display='none'\", 1, \"w3-button\", \"w3-red\", \"w3-section\"]],\n template: function ScheduleComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"h2\", 2);\n i0.ɵɵtext(3, \"PRODUCTOS\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(4, \"p\", 3)(5, \"i\");\n i0.ɵɵtext(6, \"Para todas sus necesidades!\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelement(7, \"br\");\n i0.ɵɵelementStart(8, \"div\", 4)(9, \"div\", 5)(10, \"picture\");\n i0.ɵɵelement(11, \"source\", 6)(12, \"img\", 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(13, \"div\", 8)(14, \"h5\")(15, \"b\");\n i0.ɵɵtext(16, \"TACTICAL SHOOTING\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"p\");\n i0.ɵɵtext(18, \"El programa \");\n i0.ɵɵelementStart(19, \"b\");\n i0.ɵɵtext(20, \"TAC\");\n i0.ɵɵelementEnd();\n i0.ɵɵtext(21, \" es reconocido a nivel mundial como uno de los sistemas m\\u00E1s efectivo en combate. Las diferentes. etapas del programa est\\u00E1n basadas en la doctrina del guerrero individual (IWD) del SERVICIO SECRETO DE ISRAEL (SHINBET) Esta doctrina especial a sido probada por d\\u00E9cadas en numerosos ataques terroristas, tiradores activos y atentados a VIP.\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 9);\n i0.ɵɵtext(23, \"Mas informaci\\u00F3n...\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(24, \"div\", 5)(25, \"picture\");\n i0.ɵɵelement(26, \"source\", 10)(27, \"img\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(28, \"div\", 8)(29, \"h5\")(30, \"b\");\n i0.ɵɵtext(31, \"PROTECTION PROGRAM\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(32, \"p\");\n i0.ɵɵtext(33, \"El objetivo principal de este curso es proveer a los alumnos con los conocimientos te\\u00F3ricos y habilidades pr\\u00E1cticas para trabajar como un agente de protecci\\u00F3n cercana. Enfatizamos en entrenamiento con ejercicios de campo realistas y pr\\u00E1cticos para proveer un completo entendimiento de las operaciones de protecci\\u00F3n. Basado en la metodolog\\u00EDa del SHIN-BET Y MOSSAD.\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(34, \"button\", 12);\n i0.ɵɵtext(35, \"Mas informaci\\u00F3n...\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(36, \"div\", 5)(37, \"picture\");\n i0.ɵɵelement(38, \"source\", 13)(39, \"img\", 14);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(40, \"div\", 15)(41, \"h5\")(42, \"b\");\n i0.ɵɵtext(43, \"SELF DEFENSE\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(44, \"p\");\n i0.ɵɵtext(45, \"Programa de f\\u00E1cil aprendizaje con t\\u00E9cnicas probadas en combate. Dirigido a nivel global por instructores del servicio secreto de Israel. Sin rituales, uniformes o terminolog\\u00EDa directo y preciso aprender\\u00E1 habilidades que pueden salvar su vida. \");\n i0.ɵɵelement(46, \"br\")(47, \"br\")(48, \"br\")(49, \"br\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(50, \"button\", 16);\n i0.ɵɵtext(51, \"Mas informaci\\u00F3n...\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(52, \"div\", 5)(53, \"picture\");\n i0.ɵɵelement(54, \"source\", 17)(55, \"img\", 18);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(56, \"div\", 8)(57, \"h5\")(58, \"b\");\n i0.ɵɵtext(59, \"SPECIAL UNITS\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(60, \"p\");\n i0.ɵɵtext(61, \"Solo accesible a entidades gubernamentales previo autorizaci\\u00F3n de ente regulador.\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(62, \"button\", 19);\n i0.ɵɵtext(63, \"Mas informaci\\u00F3n...\");\n i0.ɵɵelementEnd()()()()()();\n i0.ɵɵelementStart(64, \"div\", 20)(65, \"div\", 21)(66, \"header\", 22)(67, \"span\", 23);\n i0.ɵɵtext(68, \"\\u00D7\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(69, \"h2\", 24);\n i0.ɵɵtext(70, \"TACTICAL SHOOTING\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(71, \"div\", 25)(72, \"div\", 26)(73, \"h5\")(74, \"b\");\n i0.ɵɵtext(75, \"TAC 1- BASICO\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(76, \"ul\")(77, \"li\");\n i0.ɵɵtext(78, \" Seguridad, funcionamiento y mecanismos del arma, posici\\u00F3n, miras, control de gatillo, los primeros disparos. Etc. \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(79, \"div\", 26)(80, \"h5\")(81, \"b\");\n i0.ɵɵtext(82, \"TAC 2- AUTO PROTECCION\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(83, \"ul\")(84, \"li\");\n i0.ɵɵtext(85, \" Tiro instintivo, velocidad y volumen de fuego, posici\\u00F3n de rodilla, desenfunde, cambios de alimentadora, fallas del arma, entre otros \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(86, \"div\", 26)(87, \"h5\")(88, \"b\");\n i0.ɵɵtext(89, \"TAC 3- PROTECCI\\u00D3N DEL HOGAR\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(90, \"ul\")(91, \"li\");\n i0.ɵɵtext(92, \" Movimiento din\\u00E1mico con el arma, usos de coberturas y encubrimientos, t\\u00E9cnica de penetraci\\u00F3n limitada, y m\\u00E1s \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(93, \"div\", 25)(94, \"div\", 26)(95, \"h5\")(96, \"b\");\n i0.ɵɵtext(97, \"TAC 4- COMBATE URBANOS\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(98, \"ul\")(99, \"li\");\n i0.ɵɵtext(100, \" Escenarios urbanos complejos, cuartos, corredores, escane\\u00F3 en movimiento, prioridades al escanear, etc. \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(101, \"div\", 27)(102, \"h5\")(103, \"b\");\n i0.ɵɵtext(104, \"TAC 5- EL VEH\\u00CDCULO\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(105, \"ul\")(106, \"li\");\n i0.ɵɵtext(107, \" Tiro desde y alrededor de un veh\\u00EDculo, en movimiento y estacionado, paso del veh\\u00EDculo a escenario urbano \");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(108, \"div\", 28)(109, \"button\", 29);\n i0.ɵɵtext(110, \"Cerrar \");\n i0.ɵɵelement(111, \"i\", 30);\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(112, \"div\", 31)(113, \"div\", 21)(114, \"header\", 22)(115, \"span\", 32);\n i0.ɵɵtext(116, \"\\u00D7\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(117, \"h2\", 24);\n i0.ɵɵtext(118, \"PROTECTION PROGRAM\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(119, \"div\", 25)(120, \"div\", 33)(121, \"h5\")(122, \"b\");\n i0.ɵɵtext(123, \"EVASIVE DRIVING\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(124, \"ul\")(125, \"li\");\n i0.ɵɵtext(126, \" Curso te\\u00F3rico pr\\u00E1ctico para prevenir, detectar, y reaccionar en tiempo real ante la amenaza \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(127, \"li\");\n i0.ɵɵtext(128, \" Medidas preventivas al conducir, preparaci\\u00F3n mental, planificaci\\u00F3n de rutas, inteligencia pre recorrido, maniobras evasivas, entre otros \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(129, \"div\", 33)(130, \"h5\")(131, \"b\");\n i0.ɵɵtext(132, \"COUNTER SURVEILLANCE\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(133, \"ul\")(134, \"li\");\n i0.ɵɵtext(135, \" Prevenci\\u00F3n desde el punto de vista de atacante, como act\\u00FAan los factores hostiles, an\\u00E1lisis de atentados reales \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(136, \"li\");\n i0.ɵɵtext(137, \" Ejercicios de campo reales de manipulaci\\u00F3n y fuga de informaci\\u00F3n \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(138, \"li\");\n i0.ɵɵtext(139, \" Planificaci\\u00F3n total de la rutina diaria de protecci\\u00F3n \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(140, \"div\", 25)(141, \"div\", 33)(142, \"h5\")(143, \"b\");\n i0.ɵɵtext(144, \"ESPECIALISTA- PROTECCION VIP\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(145, \"ul\")(146, \"li\");\n i0.ɵɵtext(147, \" Tiro t\\u00E1ctico: TAC 1,2,3,4,5 \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(148, \"li\");\n i0.ɵɵtext(149, \" Krav Maga \\u2013 Enfocado en protecci\\u00F3n VIP \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(150, \"li\");\n i0.ɵɵtext(151, \" Prevenci\\u00F3n y contra inteligencia \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(152, \"li\");\n i0.ɵɵtext(153, \" T\\u00E1cticas de protecci\\u00F3n cercana \");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(154, \"div\", 28)(155, \"button\", 34);\n i0.ɵɵtext(156, \"Cerrar \");\n i0.ɵɵelement(157, \"i\", 30);\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(158, \"div\", 35)(159, \"div\", 21)(160, \"header\", 22)(161, \"span\", 36);\n i0.ɵɵtext(162, \"\\u00D7\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(163, \"h2\", 24);\n i0.ɵɵtext(164, \"SELF DEFENSE\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(165, \"div\", 25)(166, \"div\", 33)(167, \"h5\")(168, \"b\");\n i0.ɵɵtext(169, \"KRAV MAGA\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(170, \"ul\")(171, \"li\");\n i0.ɵɵtext(172, \" M\\u00E9todo de defensa sin armas de las IDF (Israeli Defense Forces) \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(173, \"li\");\n i0.ɵɵtext(174, \" El Krav Maga de Israeli Tactical School es espec\\u00EDficamente desarrollado para los agentes encubiertos del servicio secreto. Cuenta con un m\\u00E9todo agresivo, pr\\u00E1ctico y extremadamente eficiente con \\u00E9nfasis en las t\\u00E9cnicas contra amenazas con armas de fuego y ataques de armas blancas. \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(175, \"div\", 33)(176, \"h5\")(177, \"b\");\n i0.ɵɵtext(178, \"POLICE BATON\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(179, \"ul\")(180, \"li\");\n i0.ɵɵtext(181, \" Trabajo con bast\\u00F3n policial \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(182, \"li\");\n i0.ɵɵtext(183, \" Porte, posturas, defensas y ataques, reducciones y arrestos \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(184, \"li\");\n i0.ɵɵtext(185, \" Simulacros de situaciones reales bajo stress \");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(186, \"div\", 28)(187, \"button\", 37);\n i0.ɵɵtext(188, \"Cerrar \");\n i0.ɵɵelement(189, \"i\", 30);\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(190, \"div\", 38)(191, \"div\", 21)(192, \"header\", 22)(193, \"span\", 39);\n i0.ɵɵtext(194, \"\\u00D7\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(195, \"h2\", 24);\n i0.ɵɵtext(196, \"SPECIAL UNITS\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(197, \"div\", 25)(198, \"div\", 33)(199, \"h5\")(200, \"b\");\n i0.ɵɵtext(201, \"TAC 6- DOS AGENTES\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(202, \"ul\")(203, \"li\");\n i0.ɵɵtext(204, \" Dos operativos combatiendo simult\\u00E1neamente \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(205, \"li\");\n i0.ɵɵtext(206, \" Ejercicios en pareja con fuego real desde un veh\\u00EDculo y pasando a escenario urbano \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(207, \"li\");\n i0.ɵɵtext(208, \" Discriminaci\\u00F3n de blancos \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(209, \"li\");\n i0.ɵɵtext(210, \" Posicionamiento t\\u00E1ctico \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(211, \"div\", 33)(212, \"h5\")(213, \"b\");\n i0.ɵɵtext(214, \"TAC 7- UNIDADES ESPECIALES\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(215, \"ul\")(216, \"li\");\n i0.ɵɵtext(217, \" Programa de entrenamiento para unidades especiales dise\\u00F1ados a la medida, de acuerdo a las necesidades y perfil de la misi\\u00F3n espec\\u00EDfica de la unidad \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(218, \"li\");\n i0.ɵɵtext(219, \" Escenarios como buses, aviones, instalaciones sensitivas, operaciones aerotransportadas o anfibias* \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(220, \"li\");\n i0.ɵɵtext(221, \" Preparaci\\u00F3n de equipos t\\u00E1cticos, policiales y militares con instructores internacionales \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(222, \"li\");\n i0.ɵɵtext(223, \" Cursos del tipo SWAT, navy seals, Recon, Sniper, breacher, rapel \");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(224, \"div\", 28)(225, \"button\", 40);\n i0.ɵɵtext(226, \"Cerrar \");\n i0.ɵɵelement(227, \"i\", 30);\n i0.ɵɵelementEnd()()()();\n }\n },\n styles: [\"li[_ngcontent-%COMP%]{list-style-type:square}p[_ngcontent-%COMP%], li[_ngcontent-%COMP%]{text-align:justify;-webkit-hyphens:auto;hyphens:auto}ul[_ngcontent-%COMP%]{margin-left:-20px;margin-right:5px;padding-left:-20px}.product[_ngcontent-%COMP%], .product-2[_ngcontent-%COMP%]{max-height:28vh;min-height:28vh}@media only screen and (max-width: 993px){.product[_ngcontent-%COMP%], .product-2[_ngcontent-%COMP%]{min-height:41vh}}@media only screen and (max-width: 671px){.product[_ngcontent-%COMP%]{min-height:45vh}.product-2[_ngcontent-%COMP%]{min-height:0vh}}@media only screen and (max-width: 637px){.product[_ngcontent-%COMP%]{min-height:47vh}.product-2[_ngcontent-%COMP%]{min-height:0vh}}@media only screen and (max-width: 620px){.product[_ngcontent-%COMP%]{min-height:50vh}.product-2[_ngcontent-%COMP%]{min-height:0vh}}@media only screen and (max-width: 600px){.product[_ngcontent-%COMP%], .product-2[_ngcontent-%COMP%]{min-height:0vh}}\"]\n });\n return ScheduleComponent;\n}();\nexport { ScheduleComponent };","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1922a5505be7b5cbab5cf6272627d4267a28b392228d77b42b0249c4656bf4cf.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1922a5505be7b5cbab5cf6272627d4267a28b392228d77b42b0249c4656bf4cf.json deleted file mode 100644 index 3ed8b7d..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1922a5505be7b5cbab5cf6272627d4267a28b392228d77b42b0249c4656bf4cf.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from './isFunction';\nexport function isIterable(input) {\n return isFunction(input === null || input === void 0 ? void 0 : input[Symbol_iterator]);\n}\n//# sourceMappingURL=isIterable.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/192ad4cea68cc286ba8810071fef22ea69cd20aa87efce6053a45f3906b724df.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/192ad4cea68cc286ba8810071fef22ea69cd20aa87efce6053a45f3906b724df.json deleted file mode 100644 index 95999e6..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/192ad4cea68cc286ba8810071fef22ea69cd20aa87efce6053a45f3906b724df.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { QueueAction } from './QueueAction';\nimport { QueueScheduler } from './QueueScheduler';\nexport const queueScheduler = new QueueScheduler(QueueAction);\nexport const queue = queueScheduler;\n//# sourceMappingURL=queue.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/19949e503f36ad72bccdae023f4d4f811616d2b240157d5aa4c242dab89cab15.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/19949e503f36ad72bccdae023f4d4f811616d2b240157d5aa4c242dab89cab15.json deleted file mode 100644 index 9c18728..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/19949e503f36ad72bccdae023f4d4f811616d2b240157d5aa4c242dab89cab15.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { __asyncGenerator, __await } from \"tslib\";\nimport { isFunction } from './isFunction';\nexport function readableStreamLikeToAsyncGenerator(readableStream) {\n return __asyncGenerator(this, arguments, function* readableStreamLikeToAsyncGenerator_1() {\n const reader = readableStream.getReader();\n try {\n while (true) {\n const {\n value,\n done\n } = yield __await(reader.read());\n if (done) {\n return yield __await(void 0);\n }\n yield yield __await(value);\n }\n } finally {\n reader.releaseLock();\n }\n });\n}\nexport function isReadableStreamLike(obj) {\n return isFunction(obj === null || obj === void 0 ? void 0 : obj.getReader);\n}\n//# sourceMappingURL=isReadableStreamLike.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/19f7291856c4c5762cd4aca398310cd45ca1dc95108405fd9135a14cfdcc7fda.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/19f7291856c4c5762cd4aca398310cd45ca1dc95108405fd9135a14cfdcc7fda.json deleted file mode 100644 index 487adce..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/19f7291856c4c5762cd4aca398310cd45ca1dc95108405fd9135a14cfdcc7fda.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nexport const defaultThrottleConfig = {\n leading: true,\n trailing: false\n};\nexport function throttle(durationSelector, config = defaultThrottleConfig) {\n return operate((source, subscriber) => {\n const {\n leading,\n trailing\n } = config;\n let hasValue = false;\n let sendValue = null;\n let throttled = null;\n let isComplete = false;\n const endThrottling = () => {\n throttled === null || throttled === void 0 ? void 0 : throttled.unsubscribe();\n throttled = null;\n if (trailing) {\n send();\n isComplete && subscriber.complete();\n }\n };\n const cleanupThrottling = () => {\n throttled = null;\n isComplete && subscriber.complete();\n };\n const startThrottle = value => throttled = innerFrom(durationSelector(value)).subscribe(createOperatorSubscriber(subscriber, endThrottling, cleanupThrottling));\n const send = () => {\n if (hasValue) {\n hasValue = false;\n const value = sendValue;\n sendValue = null;\n subscriber.next(value);\n !isComplete && startThrottle(value);\n }\n };\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n hasValue = true;\n sendValue = value;\n !(throttled && !throttled.closed) && (leading ? send() : startThrottle(value));\n }, () => {\n isComplete = true;\n !(trailing && hasValue && throttled && !throttled.closed) && subscriber.complete();\n }));\n });\n}\n//# sourceMappingURL=throttle.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1b50874fb14d7a785f76e052ef91724b7ab6e4fb1900651776a8193cd96c09d7.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1b50874fb14d7a785f76e052ef91724b7ab6e4fb1900651776a8193cd96c09d7.json deleted file mode 100644 index c32375c..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1b50874fb14d7a785f76e052ef91724b7ab6e4fb1900651776a8193cd96c09d7.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import * as i0 from \"@angular/core\";\nvar ScheduleComponent = /** @class */function () {\n function ScheduleComponent() {}\n ScheduleComponent.prototype.ngOnInit = function () {};\n ScheduleComponent.ɵfac = function ScheduleComponent_Factory(t) {\n return new (t || ScheduleComponent)();\n };\n ScheduleComponent.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: ScheduleComponent,\n selectors: [[\"app-schedule\"]],\n decls: 229,\n vars: 0,\n consts: [[\"id\", \"tour\", 1, \"w3-black\"], [1, \"w3-container\", \"w3-content\", \"w3-padding-64\", 2, \"max-width\", \"99vw\", \"margin-top\", \"-45px\"], [1, \"w3-wide\", \"w3-center\"], [1, \"w3-opacity\", \"w3-center\"], [1, \"w3-row-padding\", \"w3-padding-32\"], [1, \"w3-col\", \"s12\", \"m6\", \"l3\", \"w3-margin-bottom\"], [\"srcset\", \"https://drive.google.com/uc?export=view&id=1AHN-hWiW9k3vzVgmNOLr-bJOjl3cw9Dh\", \"type\", \"image/webp\"], [\"srcset\", \"https://i.imgur.com/fMaNjfx.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/fMaNjfx.jpeg\", \"alt\", \"Instructor aiding student in aiming\", \"rel\", \"noopener\", 2, \"width\", \"100%\"], [1, \"product\", \"w3-container\", \"w3-white\", \"w3-center\"], [\"onclick\", \"document.getElementById('prod1Modal').style.display='block'\", 1, \"w3-button\", \"w3-black\", \"w3-margin-bottom\"], [\"srcset\", \"https://i.imgur.com/lQTeehy.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/lQTeehy.jpeg\", \"alt\", \"Instructor firing from window of truck\", \"rel\", \"noopener\", 2, \"width\", \"100%\"], [\"onclick\", \"document.getElementById('prod2Modal').style.display='block'\", 1, \"w3-button\", \"w3-black\", \"w3-margin-bottom\"], [\"srcset\", \"https://i.imgur.com/sn804ij.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/sn804ij.jpeg\", \"alt\", \"Teaching Krav Maga\", \"rel\", \"noopener\", 2, \"width\", \"100%\"], [1, \"product-2\", \"w3-container\", \"w3-white\", \"w3-center\"], [\"onclick\", \"document.getElementById('prod3Modal').style.display='block'\", 1, \"w3-button\", \"w3-black\", \"w3-margin-bottom\"], [\"srcset\", \"https://i.imgur.com/IWqzdt0.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/IWqzdt0.jpeg\", \"alt\", \"Picture of a military sniper\", \"rel\", \"noopener\", 2, \"width\", \"100%\"], [\"onclick\", \"document.getElementById('prod4Modal').style.display='block'\", 1, \"w3-button\", \"w3-black\", \"w3-margin-bottom\"], [\"id\", \"prod1Modal\", 1, \"w3-modal\"], [1, \"w3-modal-content\", \"w3-animate-top\", \"w3-card-4\"], [1, \"w3-container\", \"its-blue\", \"w3-center\", \"w3-padding-32\"], [\"onclick\", \"document.getElementById('prod1Modal').style.display='none'\", 1, \"w3-button\", \"its-blue\", \"w3-hover-red\", \"w3-xlarge\", \"w3-display-topright\"], [1, \"w3-wide\"], [1, \"w3-row\", \"w3-margin\"], [1, \"w3-col\", \"s12\", \"m6\", \"l4\", \"w3-margin-bottom\"], [1, \"w3-col\", \"s12\", \"m6\", \"l4\"], [1, \"w3-container\"], [\"onclick\", \"document.getElementById('prod1Modal').style.display='none'\", 1, \"w3-button\", \"w3-red\", \"w3-section\"], [1, \"fa\", \"fa-remove\"], [\"id\", \"prod2Modal\", 1, \"w3-modal\"], [\"onclick\", \"document.getElementById('prod2Modal').style.display='none'\", 1, \"w3-button\", \"w3-hover-red\", \"its-blue\", \"w3-xlarge\", \"w3-display-topright\"], [1, \"w3-col\", \"s12\", \"m6\", \"l6\", \"w3-margin-bottom\"], [\"onclick\", \"document.getElementById('prod2Modal').style.display='none'\", 1, \"w3-button\", \"w3-red\", \"w3-section\"], [\"id\", \"prod3Modal\", 1, \"w3-modal\"], [\"onclick\", \"document.getElementById('prod3Modal').style.display='none'\", 1, \"w3-button\", \"its-blue\", \"w3-hover-red\", \"w3-xlarge\", \"w3-display-topright\"], [\"onclick\", \"document.getElementById('prod3Modal').style.display='none'\", 1, \"w3-button\", \"w3-red\", \"w3-section\"], [\"id\", \"prod4Modal\", 1, \"w3-modal\"], [\"onclick\", \"document.getElementById('prod4Modal').style.display='none'\", 1, \"w3-button\", \"its-blue\", \"w3-hover-red\", \"w3-xlarge\", \"w3-display-topright\"], [\"onclick\", \"document.getElementById('prod4Modal').style.display='none'\", 1, \"w3-button\", \"w3-red\", \"w3-section\"]],\n template: function ScheduleComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"h2\", 2);\n i0.ɵɵtext(3, \"PRODUCTOS\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(4, \"p\", 3)(5, \"i\");\n i0.ɵɵtext(6, \"Para todas sus necesidades!\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelement(7, \"br\");\n i0.ɵɵelementStart(8, \"div\", 4)(9, \"div\", 5)(10, \"picture\");\n i0.ɵɵelement(11, \"source\", 6)(12, \"source\", 7)(13, \"img\", 8);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(14, \"div\", 9)(15, \"h5\")(16, \"b\");\n i0.ɵɵtext(17, \"TACTICAL SHOOTING\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(18, \"p\");\n i0.ɵɵtext(19, \"El programa \");\n i0.ɵɵelementStart(20, \"b\");\n i0.ɵɵtext(21, \"TAC\");\n i0.ɵɵelementEnd();\n i0.ɵɵtext(22, \" es reconocido a nivel mundial como uno de los sistemas m\\u00E1s efectivo en combate. Las diferentes. etapas del programa est\\u00E1n basadas en la doctrina del guerrero individual (IWD) del SERVICIO SECRETO DE ISRAEL (SHINBET) Esta doctrina especial a sido probada por d\\u00E9cadas en numerosos ataques terroristas, tiradores activos y atentados a VIP.\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(23, \"button\", 10);\n i0.ɵɵtext(24, \"Mas informaci\\u00F3n...\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(25, \"div\", 5)(26, \"picture\");\n i0.ɵɵelement(27, \"source\", 11)(28, \"img\", 12);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(29, \"div\", 9)(30, \"h5\")(31, \"b\");\n i0.ɵɵtext(32, \"PROTECTION PROGRAM\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(33, \"p\");\n i0.ɵɵtext(34, \"El objetivo principal de este curso es proveer a los alumnos con los conocimientos te\\u00F3ricos y habilidades pr\\u00E1cticas para trabajar como un agente de protecci\\u00F3n cercana. Enfatizamos en entrenamiento con ejercicios de campo realistas y pr\\u00E1cticos para proveer un completo entendimiento de las operaciones de protecci\\u00F3n. Basado en la metodolog\\u00EDa del SHIN-BET Y MOSSAD.\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(35, \"button\", 13);\n i0.ɵɵtext(36, \"Mas informaci\\u00F3n...\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(37, \"div\", 5)(38, \"picture\");\n i0.ɵɵelement(39, \"source\", 14)(40, \"img\", 15);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(41, \"div\", 16)(42, \"h5\")(43, \"b\");\n i0.ɵɵtext(44, \"SELF DEFENSE\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(45, \"p\");\n i0.ɵɵtext(46, \"Programa de f\\u00E1cil aprendizaje con t\\u00E9cnicas probadas en combate. Dirigido a nivel global por instructores del servicio secreto de Israel. Sin rituales, uniformes o terminolog\\u00EDa directo y preciso aprender\\u00E1 habilidades que pueden salvar su vida. \");\n i0.ɵɵelement(47, \"br\")(48, \"br\")(49, \"br\")(50, \"br\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(51, \"button\", 17);\n i0.ɵɵtext(52, \"Mas informaci\\u00F3n...\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(53, \"div\", 5)(54, \"picture\");\n i0.ɵɵelement(55, \"source\", 18)(56, \"img\", 19);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(57, \"div\", 9)(58, \"h5\")(59, \"b\");\n i0.ɵɵtext(60, \"SPECIAL UNITS\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(61, \"p\");\n i0.ɵɵtext(62, \"Solo accesible a entidades gubernamentales previo autorizaci\\u00F3n de ente regulador.\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(63, \"button\", 20);\n i0.ɵɵtext(64, \"Mas informaci\\u00F3n...\");\n i0.ɵɵelementEnd()()()()()();\n i0.ɵɵelementStart(65, \"div\", 21)(66, \"div\", 22)(67, \"header\", 23)(68, \"span\", 24);\n i0.ɵɵtext(69, \"\\u00D7\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(70, \"h2\", 25);\n i0.ɵɵtext(71, \"TACTICAL SHOOTING\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(72, \"div\", 26)(73, \"div\", 27)(74, \"h5\")(75, \"b\");\n i0.ɵɵtext(76, \"TAC 1- BASICO\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(77, \"ul\")(78, \"li\");\n i0.ɵɵtext(79, \" Seguridad, funcionamiento y mecanismos del arma, posici\\u00F3n, miras, control de gatillo, los primeros disparos. Etc. \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(80, \"div\", 27)(81, \"h5\")(82, \"b\");\n i0.ɵɵtext(83, \"TAC 2- AUTO PROTECCION\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(84, \"ul\")(85, \"li\");\n i0.ɵɵtext(86, \" Tiro instintivo, velocidad y volumen de fuego, posici\\u00F3n de rodilla, desenfunde, cambios de alimentadora, fallas del arma, entre otros \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(87, \"div\", 27)(88, \"h5\")(89, \"b\");\n i0.ɵɵtext(90, \"TAC 3- PROTECCI\\u00D3N DEL HOGAR\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(91, \"ul\")(92, \"li\");\n i0.ɵɵtext(93, \" Movimiento din\\u00E1mico con el arma, usos de coberturas y encubrimientos, t\\u00E9cnica de penetraci\\u00F3n limitada, y m\\u00E1s \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(94, \"div\", 26)(95, \"div\", 27)(96, \"h5\")(97, \"b\");\n i0.ɵɵtext(98, \"TAC 4- COMBATE URBANOS\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(99, \"ul\")(100, \"li\");\n i0.ɵɵtext(101, \" Escenarios urbanos complejos, cuartos, corredores, escane\\u00F3 en movimiento, prioridades al escanear, etc. \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(102, \"div\", 28)(103, \"h5\")(104, \"b\");\n i0.ɵɵtext(105, \"TAC 5- EL VEH\\u00CDCULO\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(106, \"ul\")(107, \"li\");\n i0.ɵɵtext(108, \" Tiro desde y alrededor de un veh\\u00EDculo, en movimiento y estacionado, paso del veh\\u00EDculo a escenario urbano \");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(109, \"div\", 29)(110, \"button\", 30);\n i0.ɵɵtext(111, \"Cerrar \");\n i0.ɵɵelement(112, \"i\", 31);\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(113, \"div\", 32)(114, \"div\", 22)(115, \"header\", 23)(116, \"span\", 33);\n i0.ɵɵtext(117, \"\\u00D7\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(118, \"h2\", 25);\n i0.ɵɵtext(119, \"PROTECTION PROGRAM\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(120, \"div\", 26)(121, \"div\", 34)(122, \"h5\")(123, \"b\");\n i0.ɵɵtext(124, \"EVASIVE DRIVING\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(125, \"ul\")(126, \"li\");\n i0.ɵɵtext(127, \" Curso te\\u00F3rico pr\\u00E1ctico para prevenir, detectar, y reaccionar en tiempo real ante la amenaza \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(128, \"li\");\n i0.ɵɵtext(129, \" Medidas preventivas al conducir, preparaci\\u00F3n mental, planificaci\\u00F3n de rutas, inteligencia pre recorrido, maniobras evasivas, entre otros \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(130, \"div\", 34)(131, \"h5\")(132, \"b\");\n i0.ɵɵtext(133, \"COUNTER SURVEILLANCE\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(134, \"ul\")(135, \"li\");\n i0.ɵɵtext(136, \" Prevenci\\u00F3n desde el punto de vista de atacante, como act\\u00FAan los factores hostiles, an\\u00E1lisis de atentados reales \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(137, \"li\");\n i0.ɵɵtext(138, \" Ejercicios de campo reales de manipulaci\\u00F3n y fuga de informaci\\u00F3n \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(139, \"li\");\n i0.ɵɵtext(140, \" Planificaci\\u00F3n total de la rutina diaria de protecci\\u00F3n \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(141, \"div\", 26)(142, \"div\", 34)(143, \"h5\")(144, \"b\");\n i0.ɵɵtext(145, \"ESPECIALISTA- PROTECCION VIP\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(146, \"ul\")(147, \"li\");\n i0.ɵɵtext(148, \" Tiro t\\u00E1ctico: TAC 1,2,3,4,5 \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(149, \"li\");\n i0.ɵɵtext(150, \" Krav Maga \\u2013 Enfocado en protecci\\u00F3n VIP \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(151, \"li\");\n i0.ɵɵtext(152, \" Prevenci\\u00F3n y contra inteligencia \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(153, \"li\");\n i0.ɵɵtext(154, \" T\\u00E1cticas de protecci\\u00F3n cercana \");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(155, \"div\", 29)(156, \"button\", 35);\n i0.ɵɵtext(157, \"Cerrar \");\n i0.ɵɵelement(158, \"i\", 31);\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(159, \"div\", 36)(160, \"div\", 22)(161, \"header\", 23)(162, \"span\", 37);\n i0.ɵɵtext(163, \"\\u00D7\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(164, \"h2\", 25);\n i0.ɵɵtext(165, \"SELF DEFENSE\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(166, \"div\", 26)(167, \"div\", 34)(168, \"h5\")(169, \"b\");\n i0.ɵɵtext(170, \"KRAV MAGA\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(171, \"ul\")(172, \"li\");\n i0.ɵɵtext(173, \" M\\u00E9todo de defensa sin armas de las IDF (Israeli Defense Forces) \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(174, \"li\");\n i0.ɵɵtext(175, \" El Krav Maga de Israeli Tactical School es espec\\u00EDficamente desarrollado para los agentes encubiertos del servicio secreto. Cuenta con un m\\u00E9todo agresivo, pr\\u00E1ctico y extremadamente eficiente con \\u00E9nfasis en las t\\u00E9cnicas contra amenazas con armas de fuego y ataques de armas blancas. \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(176, \"div\", 34)(177, \"h5\")(178, \"b\");\n i0.ɵɵtext(179, \"POLICE BATON\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(180, \"ul\")(181, \"li\");\n i0.ɵɵtext(182, \" Trabajo con bast\\u00F3n policial \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(183, \"li\");\n i0.ɵɵtext(184, \" Porte, posturas, defensas y ataques, reducciones y arrestos \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(185, \"li\");\n i0.ɵɵtext(186, \" Simulacros de situaciones reales bajo stress \");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(187, \"div\", 29)(188, \"button\", 38);\n i0.ɵɵtext(189, \"Cerrar \");\n i0.ɵɵelement(190, \"i\", 31);\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(191, \"div\", 39)(192, \"div\", 22)(193, \"header\", 23)(194, \"span\", 40);\n i0.ɵɵtext(195, \"\\u00D7\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(196, \"h2\", 25);\n i0.ɵɵtext(197, \"SPECIAL UNITS\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(198, \"div\", 26)(199, \"div\", 34)(200, \"h5\")(201, \"b\");\n i0.ɵɵtext(202, \"TAC 6- DOS AGENTES\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(203, \"ul\")(204, \"li\");\n i0.ɵɵtext(205, \" Dos operativos combatiendo simult\\u00E1neamente \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(206, \"li\");\n i0.ɵɵtext(207, \" Ejercicios en pareja con fuego real desde un veh\\u00EDculo y pasando a escenario urbano \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(208, \"li\");\n i0.ɵɵtext(209, \" Discriminaci\\u00F3n de blancos \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(210, \"li\");\n i0.ɵɵtext(211, \" Posicionamiento t\\u00E1ctico \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(212, \"div\", 34)(213, \"h5\")(214, \"b\");\n i0.ɵɵtext(215, \"TAC 7- UNIDADES ESPECIALES\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(216, \"ul\")(217, \"li\");\n i0.ɵɵtext(218, \" Programa de entrenamiento para unidades especiales dise\\u00F1ados a la medida, de acuerdo a las necesidades y perfil de la misi\\u00F3n espec\\u00EDfica de la unidad \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(219, \"li\");\n i0.ɵɵtext(220, \" Escenarios como buses, aviones, instalaciones sensitivas, operaciones aerotransportadas o anfibias* \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(221, \"li\");\n i0.ɵɵtext(222, \" Preparaci\\u00F3n de equipos t\\u00E1cticos, policiales y militares con instructores internacionales \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(223, \"li\");\n i0.ɵɵtext(224, \" Cursos del tipo SWAT, navy seals, Recon, Sniper, breacher, rapel \");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(225, \"div\", 29)(226, \"button\", 41);\n i0.ɵɵtext(227, \"Cerrar \");\n i0.ɵɵelement(228, \"i\", 31);\n i0.ɵɵelementEnd()()()();\n }\n },\n styles: [\"li[_ngcontent-%COMP%]{list-style-type:square}p[_ngcontent-%COMP%], li[_ngcontent-%COMP%]{text-align:justify;-webkit-hyphens:auto;hyphens:auto}ul[_ngcontent-%COMP%]{margin-left:-20px;margin-right:5px;padding-left:-20px}.product[_ngcontent-%COMP%], .product-2[_ngcontent-%COMP%]{min-height:28vh}@media only screen and (max-width: 993px){.product[_ngcontent-%COMP%], .product-2[_ngcontent-%COMP%]{min-height:41vh}}@media only screen and (max-width: 671px){.product[_ngcontent-%COMP%]{min-height:45vh}.product-2[_ngcontent-%COMP%]{min-height:0vh}}@media only screen and (max-width: 637px){.product[_ngcontent-%COMP%]{min-height:47vh}.product-2[_ngcontent-%COMP%]{min-height:0vh}}@media only screen and (max-width: 620px){.product[_ngcontent-%COMP%]{min-height:50vh}.product-2[_ngcontent-%COMP%]{min-height:0vh}}@media only screen and (max-width: 600px){.product[_ngcontent-%COMP%], .product-2[_ngcontent-%COMP%]{min-height:0vh}}\"]\n });\n return ScheduleComponent;\n}();\nexport { ScheduleComponent };","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1bf51d874696fbb5692da1430050262dca6845e8cc545301b03e71b733c99c7b.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1bf51d874696fbb5692da1430050262dca6845e8cc545301b03e71b733c99c7b.json deleted file mode 100644 index bf37c41..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1bf51d874696fbb5692da1430050262dca6845e8cc545301b03e71b733c99c7b.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import * as i0 from \"@angular/core\";\nvar ScheduleComponent = /** @class */function () {\n function ScheduleComponent() {}\n ScheduleComponent.prototype.ngOnInit = function () {};\n ScheduleComponent.ɵfac = function ScheduleComponent_Factory(t) {\n return new (t || ScheduleComponent)();\n };\n ScheduleComponent.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: ScheduleComponent,\n selectors: [[\"app-schedule\"]],\n decls: 228,\n vars: 0,\n consts: [[\"id\", \"tour\", 1, \"w3-black\"], [1, \"w3-container\", \"w3-content\", \"w3-padding-64\", 2, \"max-width\", \"99vw\", \"margin-top\", \"-45px\"], [1, \"w3-wide\", \"w3-center\"], [1, \"w3-opacity\", \"w3-center\"], [1, \"w3-row-padding\", \"w3-padding-32\"], [1, \"w3-col\", \"s12\", \"m6\", \"l3\", \"w3-margin-bottom\"], [\"srcset\", \"https://i.imgur.com/fMaNjfx.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/fMaNjfx.jpeg\", \"alt\", \"Instructor aiding student in aiming\", \"rel\", \"noopener\", 2, \"width\", \"100%\"], [1, \"product\", \"w3-container\", \"w3-white\", \"w3-center\"], [\"onclick\", \"document.getElementById('prod1Modal').style.display='block'\", 1, \"w3-button\", \"w3-black\", \"w3-margin-bottom\"], [\"srcset\", \"https://i.imgur.com/lQTeehy.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/lQTeehy.jpeg\", \"alt\", \"Instructor firing from window of truck\", \"rel\", \"noopener\", 2, \"width\", \"100%\"], [\"onclick\", \"document.getElementById('prod2Modal').style.display='block'\", 1, \"w3-button\", \"w3-black\", \"w3-margin-bottom\"], [\"srcset\", \"https://i.imgur.com/sn804ij.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/sn804ij.jpeg\", \"alt\", \"Teaching Krav Maga\", \"rel\", \"noopener\", 2, \"width\", \"100%\"], [1, \"product-2\", \"w3-container\", \"w3-white\", \"w3-center\"], [\"onclick\", \"document.getElementById('prod3Modal').style.display='block'\", 1, \"w3-button\", \"w3-black\", \"w3-margin-bottom\"], [\"srcset\", \"https://i.imgur.com/IWqzdt0.jpeg\", \"type\", \"image/jpeg\"], [\"src\", \"https://i.imgur.com/IWqzdt0.jpeg\", \"alt\", \"Picture of a military sniper\", \"rel\", \"noopener\", 2, \"width\", \"100%\"], [\"onclick\", \"document.getElementById('prod4Modal').style.display='block'\", 1, \"w3-button\", \"w3-black\", \"w3-margin-bottom\"], [\"id\", \"prod1Modal\", 1, \"w3-modal\"], [1, \"w3-modal-content\", \"w3-animate-top\", \"w3-card-4\"], [1, \"w3-container\", \"its-blue\", \"w3-center\", \"w3-padding-32\"], [\"onclick\", \"document.getElementById('prod1Modal').style.display='none'\", 1, \"w3-button\", \"its-blue\", \"w3-hover-red\", \"w3-xlarge\", \"w3-display-topright\"], [1, \"w3-wide\"], [1, \"w3-row\", \"w3-margin\"], [1, \"w3-col\", \"s12\", \"m6\", \"l4\", \"w3-margin-bottom\"], [1, \"w3-col\", \"s12\", \"m6\", \"l4\"], [1, \"w3-container\"], [\"onclick\", \"document.getElementById('prod1Modal').style.display='none'\", 1, \"w3-button\", \"w3-red\", \"w3-section\"], [1, \"fa\", \"fa-remove\"], [\"id\", \"prod2Modal\", 1, \"w3-modal\"], [\"onclick\", \"document.getElementById('prod2Modal').style.display='none'\", 1, \"w3-button\", \"w3-hover-red\", \"its-blue\", \"w3-xlarge\", \"w3-display-topright\"], [1, \"w3-col\", \"s12\", \"m6\", \"l6\", \"w3-margin-bottom\"], [\"onclick\", \"document.getElementById('prod2Modal').style.display='none'\", 1, \"w3-button\", \"w3-red\", \"w3-section\"], [\"id\", \"prod3Modal\", 1, \"w3-modal\"], [\"onclick\", \"document.getElementById('prod3Modal').style.display='none'\", 1, \"w3-button\", \"its-blue\", \"w3-hover-red\", \"w3-xlarge\", \"w3-display-topright\"], [\"onclick\", \"document.getElementById('prod3Modal').style.display='none'\", 1, \"w3-button\", \"w3-red\", \"w3-section\"], [\"id\", \"prod4Modal\", 1, \"w3-modal\"], [\"onclick\", \"document.getElementById('prod4Modal').style.display='none'\", 1, \"w3-button\", \"its-blue\", \"w3-hover-red\", \"w3-xlarge\", \"w3-display-topright\"], [\"onclick\", \"document.getElementById('prod4Modal').style.display='none'\", 1, \"w3-button\", \"w3-red\", \"w3-section\"]],\n template: function ScheduleComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"h2\", 2);\n i0.ɵɵtext(3, \"PRODUCTOS\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(4, \"p\", 3)(5, \"i\");\n i0.ɵɵtext(6, \"Para todas sus necesidades!\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelement(7, \"br\");\n i0.ɵɵelementStart(8, \"div\", 4)(9, \"div\", 5)(10, \"picture\");\n i0.ɵɵelement(11, \"source\", 6)(12, \"img\", 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(13, \"div\", 8)(14, \"h5\")(15, \"b\");\n i0.ɵɵtext(16, \"TACTICAL SHOOTING\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(17, \"p\");\n i0.ɵɵtext(18, \"El programa \");\n i0.ɵɵelementStart(19, \"b\");\n i0.ɵɵtext(20, \"TAC\");\n i0.ɵɵelementEnd();\n i0.ɵɵtext(21, \" es reconocido a nivel mundial como uno de los sistemas m\\u00E1s efectivo en combate. Las diferentes. etapas del programa est\\u00E1n basadas en la doctrina del guerrero individual (IWD) del SERVICIO SECRETO DE ISRAEL (SHINBET) Esta doctrina especial a sido probada por d\\u00E9cadas en numerosos ataques terroristas, tiradores activos y atentados a VIP.\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(22, \"button\", 9);\n i0.ɵɵtext(23, \"Mas informaci\\u00F3n...\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(24, \"div\", 5)(25, \"picture\");\n i0.ɵɵelement(26, \"source\", 10)(27, \"img\", 11);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(28, \"div\", 8)(29, \"h5\")(30, \"b\");\n i0.ɵɵtext(31, \"PROTECTION PROGRAM\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(32, \"p\");\n i0.ɵɵtext(33, \"El objetivo principal de este curso es proveer a los alumnos con los conocimientos te\\u00F3ricos y habilidades pr\\u00E1cticas para trabajar como un agente de protecci\\u00F3n cercana. Enfatizamos en entrenamiento con ejercicios de campo realistas y pr\\u00E1cticos para proveer un completo entendimiento de las operaciones de protecci\\u00F3n. Basado en la metodolog\\u00EDa del SHIN-BET Y MOSSAD.\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(34, \"button\", 12);\n i0.ɵɵtext(35, \"Mas informaci\\u00F3n...\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(36, \"div\", 5)(37, \"picture\");\n i0.ɵɵelement(38, \"source\", 13)(39, \"img\", 14);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(40, \"div\", 15)(41, \"h5\")(42, \"b\");\n i0.ɵɵtext(43, \"SELF DEFENSE\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(44, \"p\");\n i0.ɵɵtext(45, \"Programa de f\\u00E1cil aprendizaje con t\\u00E9cnicas probadas en combate. Dirigido a nivel global por instructores del servicio secreto de Israel. Sin rituales, uniformes o terminolog\\u00EDa directo y preciso aprender\\u00E1 habilidades que pueden salvar su vida. \");\n i0.ɵɵelement(46, \"br\")(47, \"br\")(48, \"br\")(49, \"br\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(50, \"button\", 16);\n i0.ɵɵtext(51, \"Mas informaci\\u00F3n...\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(52, \"div\", 5)(53, \"picture\");\n i0.ɵɵelement(54, \"source\", 17)(55, \"img\", 18);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(56, \"div\", 8)(57, \"h5\")(58, \"b\");\n i0.ɵɵtext(59, \"SPECIAL UNITS\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(60, \"p\");\n i0.ɵɵtext(61, \"Solo accesible a entidades gubernamentales previo autorizaci\\u00F3n de ente regulador.\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(62, \"button\", 19);\n i0.ɵɵtext(63, \"Mas informaci\\u00F3n...\");\n i0.ɵɵelementEnd()()()()()();\n i0.ɵɵelementStart(64, \"div\", 20)(65, \"div\", 21)(66, \"header\", 22)(67, \"span\", 23);\n i0.ɵɵtext(68, \"\\u00D7\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(69, \"h2\", 24);\n i0.ɵɵtext(70, \"TACTICAL SHOOTING\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(71, \"div\", 25)(72, \"div\", 26)(73, \"h5\")(74, \"b\");\n i0.ɵɵtext(75, \"TAC 1- BASICO\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(76, \"ul\")(77, \"li\");\n i0.ɵɵtext(78, \" Seguridad, funcionamiento y mecanismos del arma, posici\\u00F3n, miras, control de gatillo, los primeros disparos. Etc. \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(79, \"div\", 26)(80, \"h5\")(81, \"b\");\n i0.ɵɵtext(82, \"TAC 2- AUTO PROTECCION\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(83, \"ul\")(84, \"li\");\n i0.ɵɵtext(85, \" Tiro instintivo, velocidad y volumen de fuego, posici\\u00F3n de rodilla, desenfunde, cambios de alimentadora, fallas del arma, entre otros \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(86, \"div\", 26)(87, \"h5\")(88, \"b\");\n i0.ɵɵtext(89, \"TAC 3- PROTECCI\\u00D3N DEL HOGAR\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(90, \"ul\")(91, \"li\");\n i0.ɵɵtext(92, \" Movimiento din\\u00E1mico con el arma, usos de coberturas y encubrimientos, t\\u00E9cnica de penetraci\\u00F3n limitada, y m\\u00E1s \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(93, \"div\", 25)(94, \"div\", 26)(95, \"h5\")(96, \"b\");\n i0.ɵɵtext(97, \"TAC 4- COMBATE URBANOS\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(98, \"ul\")(99, \"li\");\n i0.ɵɵtext(100, \" Escenarios urbanos complejos, cuartos, corredores, escane\\u00F3 en movimiento, prioridades al escanear, etc. \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(101, \"div\", 27)(102, \"h5\")(103, \"b\");\n i0.ɵɵtext(104, \"TAC 5- EL VEH\\u00CDCULO\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(105, \"ul\")(106, \"li\");\n i0.ɵɵtext(107, \" Tiro desde y alrededor de un veh\\u00EDculo, en movimiento y estacionado, paso del veh\\u00EDculo a escenario urbano \");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(108, \"div\", 28)(109, \"button\", 29);\n i0.ɵɵtext(110, \"Cerrar \");\n i0.ɵɵelement(111, \"i\", 30);\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(112, \"div\", 31)(113, \"div\", 21)(114, \"header\", 22)(115, \"span\", 32);\n i0.ɵɵtext(116, \"\\u00D7\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(117, \"h2\", 24);\n i0.ɵɵtext(118, \"PROTECTION PROGRAM\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(119, \"div\", 25)(120, \"div\", 33)(121, \"h5\")(122, \"b\");\n i0.ɵɵtext(123, \"EVASIVE DRIVING\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(124, \"ul\")(125, \"li\");\n i0.ɵɵtext(126, \" Curso te\\u00F3rico pr\\u00E1ctico para prevenir, detectar, y reaccionar en tiempo real ante la amenaza \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(127, \"li\");\n i0.ɵɵtext(128, \" Medidas preventivas al conducir, preparaci\\u00F3n mental, planificaci\\u00F3n de rutas, inteligencia pre recorrido, maniobras evasivas, entre otros \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(129, \"div\", 33)(130, \"h5\")(131, \"b\");\n i0.ɵɵtext(132, \"COUNTER SURVEILLANCE\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(133, \"ul\")(134, \"li\");\n i0.ɵɵtext(135, \" Prevenci\\u00F3n desde el punto de vista de atacante, como act\\u00FAan los factores hostiles, an\\u00E1lisis de atentados reales \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(136, \"li\");\n i0.ɵɵtext(137, \" Ejercicios de campo reales de manipulaci\\u00F3n y fuga de informaci\\u00F3n \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(138, \"li\");\n i0.ɵɵtext(139, \" Planificaci\\u00F3n total de la rutina diaria de protecci\\u00F3n \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(140, \"div\", 25)(141, \"div\", 33)(142, \"h5\")(143, \"b\");\n i0.ɵɵtext(144, \"ESPECIALISTA- PROTECCION VIP\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(145, \"ul\")(146, \"li\");\n i0.ɵɵtext(147, \" Tiro t\\u00E1ctico: TAC 1,2,3,4,5 \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(148, \"li\");\n i0.ɵɵtext(149, \" Krav Maga \\u2013 Enfocado en protecci\\u00F3n VIP \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(150, \"li\");\n i0.ɵɵtext(151, \" Prevenci\\u00F3n y contra inteligencia \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(152, \"li\");\n i0.ɵɵtext(153, \" T\\u00E1cticas de protecci\\u00F3n cercana \");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(154, \"div\", 28)(155, \"button\", 34);\n i0.ɵɵtext(156, \"Cerrar \");\n i0.ɵɵelement(157, \"i\", 30);\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(158, \"div\", 35)(159, \"div\", 21)(160, \"header\", 22)(161, \"span\", 36);\n i0.ɵɵtext(162, \"\\u00D7\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(163, \"h2\", 24);\n i0.ɵɵtext(164, \"SELF DEFENSE\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(165, \"div\", 25)(166, \"div\", 33)(167, \"h5\")(168, \"b\");\n i0.ɵɵtext(169, \"KRAV MAGA\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(170, \"ul\")(171, \"li\");\n i0.ɵɵtext(172, \" M\\u00E9todo de defensa sin armas de las IDF (Israeli Defense Forces) \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(173, \"li\");\n i0.ɵɵtext(174, \" El Krav Maga de Israeli Tactical School es espec\\u00EDficamente desarrollado para los agentes encubiertos del servicio secreto. Cuenta con un m\\u00E9todo agresivo, pr\\u00E1ctico y extremadamente eficiente con \\u00E9nfasis en las t\\u00E9cnicas contra amenazas con armas de fuego y ataques de armas blancas. \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(175, \"div\", 33)(176, \"h5\")(177, \"b\");\n i0.ɵɵtext(178, \"POLICE BATON\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(179, \"ul\")(180, \"li\");\n i0.ɵɵtext(181, \" Trabajo con bast\\u00F3n policial \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(182, \"li\");\n i0.ɵɵtext(183, \" Porte, posturas, defensas y ataques, reducciones y arrestos \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(184, \"li\");\n i0.ɵɵtext(185, \" Simulacros de situaciones reales bajo stress \");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(186, \"div\", 28)(187, \"button\", 37);\n i0.ɵɵtext(188, \"Cerrar \");\n i0.ɵɵelement(189, \"i\", 30);\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(190, \"div\", 38)(191, \"div\", 21)(192, \"header\", 22)(193, \"span\", 39);\n i0.ɵɵtext(194, \"\\u00D7\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(195, \"h2\", 24);\n i0.ɵɵtext(196, \"SPECIAL UNITS\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(197, \"div\", 25)(198, \"div\", 33)(199, \"h5\")(200, \"b\");\n i0.ɵɵtext(201, \"TAC 6- DOS AGENTES\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(202, \"ul\")(203, \"li\");\n i0.ɵɵtext(204, \" Dos operativos combatiendo simult\\u00E1neamente \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(205, \"li\");\n i0.ɵɵtext(206, \" Ejercicios en pareja con fuego real desde un veh\\u00EDculo y pasando a escenario urbano \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(207, \"li\");\n i0.ɵɵtext(208, \" Discriminaci\\u00F3n de blancos \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(209, \"li\");\n i0.ɵɵtext(210, \" Posicionamiento t\\u00E1ctico \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(211, \"div\", 33)(212, \"h5\")(213, \"b\");\n i0.ɵɵtext(214, \"TAC 7- UNIDADES ESPECIALES\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(215, \"ul\")(216, \"li\");\n i0.ɵɵtext(217, \" Programa de entrenamiento para unidades especiales dise\\u00F1ados a la medida, de acuerdo a las necesidades y perfil de la misi\\u00F3n espec\\u00EDfica de la unidad \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(218, \"li\");\n i0.ɵɵtext(219, \" Escenarios como buses, aviones, instalaciones sensitivas, operaciones aerotransportadas o anfibias* \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(220, \"li\");\n i0.ɵɵtext(221, \" Preparaci\\u00F3n de equipos t\\u00E1cticos, policiales y militares con instructores internacionales \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(222, \"li\");\n i0.ɵɵtext(223, \" Cursos del tipo SWAT, navy seals, Recon, Sniper, breacher, rapel \");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(224, \"div\", 28)(225, \"button\", 40);\n i0.ɵɵtext(226, \"Cerrar \");\n i0.ɵɵelement(227, \"i\", 30);\n i0.ɵɵelementEnd()()()();\n }\n },\n styles: [\"li[_ngcontent-%COMP%]{list-style-type:square}p[_ngcontent-%COMP%], li[_ngcontent-%COMP%]{text-align:justify;-webkit-hyphens:auto;hyphens:auto}ul[_ngcontent-%COMP%]{margin-left:-20px;margin-right:5px;padding-left:-20px}.product[_ngcontent-%COMP%]{max-height:30vh;min-height:28vh}.product-2[_ngcontent-%COMP%]{max-height:30vh;min-height:30vh}@media only screen and (max-width: 993px){.product[_ngcontent-%COMP%], .product-2[_ngcontent-%COMP%]{min-height:41vh}}@media only screen and (max-width: 671px){.product[_ngcontent-%COMP%]{min-height:45vh}.product-2[_ngcontent-%COMP%]{min-height:0vh}}@media only screen and (max-width: 637px){.product[_ngcontent-%COMP%]{min-height:47vh}.product-2[_ngcontent-%COMP%]{min-height:0vh}}@media only screen and (max-width: 620px){.product[_ngcontent-%COMP%]{min-height:50vh}.product-2[_ngcontent-%COMP%]{min-height:0vh}}@media only screen and (max-width: 600px){.product[_ngcontent-%COMP%], .product-2[_ngcontent-%COMP%]{min-height:0vh}}\"]\n });\n return ScheduleComponent;\n}();\nexport { ScheduleComponent };","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1bf998e9cbd5360d5712cc57b198c62a92a78e41c132d51b3dfe398df56dc362.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1bf998e9cbd5360d5712cc57b198c62a92a78e41c132d51b3dfe398df56dc362.json deleted file mode 100644 index 8698f2b..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1bf998e9cbd5360d5712cc57b198c62a92a78e41c132d51b3dfe398df56dc362.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import * as i0 from \"@angular/core\";\nvar NavbarComponent = /** @class */function () {\n function NavbarComponent() {}\n NavbarComponent.prototype.ngOnInit = function () {};\n NavbarComponent.ɵfac = function NavbarComponent_Factory(t) {\n return new (t || NavbarComponent)();\n };\n NavbarComponent.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: NavbarComponent,\n selectors: [[\"app-navbar\"]],\n decls: 29,\n vars: 0,\n consts: [[1, \"w3-top\"], [1, \"w3-bar\", \"w3-card\"], [\"onclick\", \"myFunction()\", \"title\", \"Toggle Navigation Menu\", 1, \"w3-bar-item\", \"w3-padding-large\", \"w3-hide-large\", \"w3-right\"], [1, \"fa\", \"fa-bars\", 2, \"margin-top\", \"12px\"], [\"href\", \"#\", 1, \"w3-bar-item\", \"w3-button\", \"w3-padding-large\", \"w3-hide-small\"], [\"src\", \"../../assets/logo israeli tactical school white with blue star 2019-05.png\", \"rel\", \"noopener\", 1, \"mobile-logo\", 2, \"height\", \"80px\"], [\"href\", \"#carousel-home\", 1, \"w3-bar-item\", \"w3-padding-large\", \"w3-hide-medium\", \"w3-hide-large\", \"mobile-bars\"], [\"src\", \"../../assets/mobile logo new.png\", \"rel\", \"noopener\", 1, \"mobile-logo\", 2, \"height\", \"50px\"], [\"href\", \"#\", \"onclick\", \"document.getElementById('FaqModal').style.display='block'\", 1, \"desk-item\", \"w3-bar-item\", \"w3-button\", \"w3-padding-large\", \"w3-hide-small\", \"w3-hide-medium\", \"w3-right\"], [\"href\", \"#contact\", 1, \"desk-item\", \"w3-bar-item\", \"w3-button\", \"w3-padding-large\", \"w3-hide-small\", \"w3-hide-medium\", \"w3-right\"], [\"href\", \"#gallery-banner\", 1, \"desk-item\", \"w3-bar-item\", \"w3-button\", \"w3-padding-large\", \"w3-hide-small\", \"w3-hide-medium\", \"w3-right\"], [\"href\", \"#tour\", 1, \"desk-item\", \"w3-bar-item\", \"w3-button\", \"w3-padding-large\", \"w3-hide-small\", \"w3-hide-medium\", \"w3-right\"], [\"href\", \"#band\", 1, \"desk-item\", \"w3-bar-item\", \"w3-button\", \"w3-padding-large\", \"w3-hide-small\", \"w3-hide-medium\", \"w3-right\"], [\"id\", \"navDemo\", 1, \"w3-bar-block\", \"w3-hide\", \"w3-hide-large\", \"w3-top\", 2, \"margin-top\", \"63px\"], [\"href\", \"#band\", \"onclick\", \"myFunction()\", 1, \"w3-bar-item\", \"w3-button\", \"w3-padding-large\"], [\"href\", \"#tour\", \"onclick\", \"myFunction()\", 1, \"w3-bar-item\", \"w3-button\", \"w3-padding-large\"], [\"href\", \"#gallery-banner\", \"onclick\", \"myFunction()\", 1, \"w3-bar-item\", \"w3-button\", \"w3-padding-large\"], [\"href\", \"#contact\", \"onclick\", \"myFunction()\", 1, \"w3-bar-item\", \"w3-button\", \"w3-padding-large\"], [\"href\", \"#\", \"onclick\", \"document.getElementById('FaqModal').style.display='block'; myFunction()\", 1, \"w3-bar-item\", \"w3-button\", \"w3-padding-large\"]],\n template: function NavbarComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"a\", 2);\n i0.ɵɵelement(3, \"i\", 3);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(4, \"a\", 4);\n i0.ɵɵelement(5, \"img\", 5);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(6, \"a\", 6);\n i0.ɵɵelement(7, \"img\", 7);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(8, \"a\", 8);\n i0.ɵɵtext(9, \"PREGUNTAS FRECUENTES\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(10, \"a\", 9);\n i0.ɵɵtext(11, \"CONTACTANOS\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(12, \"a\", 10);\n i0.ɵɵtext(13, \"GALERIA\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(14, \"a\", 11);\n i0.ɵɵtext(15, \"PRODUCTOS\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(16, \"a\", 12);\n i0.ɵɵtext(17, \"SOBRE NOSOTROS\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(18, \"div\", 13)(19, \"a\", 14);\n i0.ɵɵtext(20, \"SOBRE NOSOTROS\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(21, \"a\", 15);\n i0.ɵɵtext(22, \"PRODUCTOS\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(23, \"a\", 16);\n i0.ɵɵtext(24, \"GALERIA\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(25, \"a\", 17);\n i0.ɵɵtext(26, \"CONTACTANOS\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(27, \"a\", 18);\n i0.ɵɵtext(28, \"PREGUNTAS FRECUENTES\");\n i0.ɵɵelementEnd()();\n }\n },\n styles: [\".w3-bar[_ngcontent-%COMP%], .w3-bar-block[_ngcontent-%COMP%]{background-color:#1e6eb8;color:#fff}.mobile-logo[_ngcontent-%COMP%]{height:40px}.fa-bars[_ngcontent-%COMP%]{font-size:25px;margin-top:8px}a[_ngcontent-%COMP%]:active{text-decoration:none;background-color:none;background:none}a[_ngcontent-%COMP%]{background-color:none}a[_ngcontent-%COMP%]:focus{background-color:none;background:none}a[_ngcontent-%COMP%]:active{background-color:none;background:none}.desk-item[_ngcontent-%COMP%]{margin-top:30px;font-weight:500;font-size:1em}\"]\n });\n return NavbarComponent;\n}();\nexport { NavbarComponent };","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1c2043422feed2a57ada46a58af36e970bb6a55fe64e99f60d879253ae540335.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1c2043422feed2a57ada46a58af36e970bb6a55fe64e99f60d879253ae540335.json deleted file mode 100644 index 385eac4..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1c2043422feed2a57ada46a58af36e970bb6a55fe64e99f60d879253ae540335.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import * as i0 from \"@angular/core\";\nvar ContactComponent = /** @class */function () {\n function ContactComponent() {}\n ContactComponent.prototype.ngOnInit = function () {};\n ContactComponent.ɵfac = function ContactComponent_Factory(t) {\n return new (t || ContactComponent)();\n };\n ContactComponent.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: ContactComponent,\n selectors: [[\"app-contact\"]],\n decls: 14,\n vars: 0,\n consts: [[\"id\", \"contact\", 1, \"w3-container\", \"w3-content\", \"w3-padding-64\", 2, \"max-width\", \"800px\", \"display\", \"block\"], [1, \"w3-wide\", \"w3-center\"], [1, \"w3-opacity\", \"w3-center\"], [1, \"w3-row\", \"w3-padding-32\"], [1, \"w3-col\", \"m6\", \"w3-large\", \"w3-margin-bottom\"], [1, \"fa\", \"fa-map-marker\", 2, \"width\", \"30px\"], [1, \"fa\", \"fa-envelope\", 2, \"width\", \"30px\"]],\n template: function ContactComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"h2\", 1);\n i0.ɵɵtext(2, \"CONTACTANOS\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(3, \"p\", 2)(4, \"i\");\n i0.ɵɵtext(5, \"Tienes preguntas? Env\\u00EDanos un mensaje!\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(6, \"div\", 3)(7, \"div\", 4);\n i0.ɵɵelement(8, \"i\", 5);\n i0.ɵɵtext(9, \" Guayaquil, EC\");\n i0.ɵɵelement(10, \"br\")(11, \"i\", 6);\n i0.ɵɵtext(12, \" Email: tacticaldefense@gmail.com\");\n i0.ɵɵelement(13, \"br\");\n i0.ɵɵelementEnd()()();\n }\n }\n });\n return ContactComponent;\n}();\nexport { ContactComponent };","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1dc82b8926e9fe25ca766f8ba504389682ee617ec252e1b2e218de4af016bc6e.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1dc82b8926e9fe25ca766f8ba504389682ee617ec252e1b2e218de4af016bc6e.json deleted file mode 100644 index e331e49..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1dc82b8926e9fe25ca766f8ba504389682ee617ec252e1b2e218de4af016bc6e.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { map } from './map';\nexport function pluck(...properties) {\n const length = properties.length;\n if (length === 0) {\n throw new Error('list of properties cannot be empty.');\n }\n return map(x => {\n let currentProp = x;\n for (let i = 0; i < length; i++) {\n const p = currentProp === null || currentProp === void 0 ? void 0 : currentProp[properties[i]];\n if (typeof p !== 'undefined') {\n currentProp = p;\n } else {\n return undefined;\n }\n }\n return currentProp;\n });\n}\n//# sourceMappingURL=pluck.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1e68a39d7a21f0ead807a3e1c7321a692b4ff0e031bb4b4a17b3ec64bcd5db8c.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1e68a39d7a21f0ead807a3e1c7321a692b4ff0e031bb4b4a17b3ec64bcd5db8c.json deleted file mode 100644 index 78a1446..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1e68a39d7a21f0ead807a3e1c7321a692b4ff0e031bb4b4a17b3ec64bcd5db8c.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function skipWhile(predicate) {\n return operate((source, subscriber) => {\n let taking = false;\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, value => (taking || (taking = !predicate(value, index++))) && subscriber.next(value)));\n });\n}\n//# sourceMappingURL=skipWhile.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1f252a976f97db2b830ca66bc3bf1da0230cec1c05206104236a7872f4064a7f.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1f252a976f97db2b830ca66bc3bf1da0230cec1c05206104236a7872f4064a7f.json deleted file mode 100644 index 58a6fba..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1f252a976f97db2b830ca66bc3bf1da0230cec1c05206104236a7872f4064a7f.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"import { reduce } from './reduce';\nimport { operate } from '../util/lift';\nconst arrReducer = (arr, value) => (arr.push(value), arr);\nexport function toArray() {\n return operate((source, subscriber) => {\n reduce(arrReducer, [])(source).subscribe(subscriber);\n });\n}\n//# sourceMappingURL=toArray.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} \ No newline at end of file diff --git a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1fbda38730cac14fb13efa58962f71d3edd928ad1bac3eafb5884b6b610e8295.json b/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1fbda38730cac14fb13efa58962f71d3edd928ad1bac3eafb5884b6b610e8295.json deleted file mode 100644 index 1263d47..0000000 --- a/israeliTacticalUi/.angular/cache/15.2.11/babel-webpack/1fbda38730cac14fb13efa58962f71d3edd928ad1bac3eafb5884b6b610e8295.json +++ /dev/null @@ -1 +0,0 @@ -{"ast":null,"code":"/**\n * @license Angular v15.2.10\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { Subject, Subscription, Observable, merge as merge$1 } from 'rxjs';\nimport { share } from 'rxjs/operators';\nfunction getClosureSafeProperty(objWithPropertyToExtract) {\n for (let key in objWithPropertyToExtract) {\n if (objWithPropertyToExtract[key] === getClosureSafeProperty) {\n return key;\n }\n }\n throw Error('Could not find renamed property on target object.');\n}\n/**\n * Sets properties on a target object from a source object, but only if\n * the property doesn't already exist on the target object.\n * @param target The target to set properties on\n * @param source The source of the property keys and values to set\n */\nfunction fillProperties(target, source) {\n for (const key in source) {\n if (source.hasOwnProperty(key) && !target.hasOwnProperty(key)) {\n target[key] = source[key];\n }\n }\n}\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (Array.isArray(token)) {\n return '[' + token.map(stringify).join(', ') + ']';\n }\n if (token == null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return `${token.overriddenName}`;\n }\n if (token.name) {\n return `${token.name}`;\n }\n const res = token.toString();\n if (res == null) {\n return '' + res;\n }\n const newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n}\n/**\n * Concatenates two strings with separator, allocating new strings only when necessary.\n *\n * @param before before string.\n * @param separator separator string.\n * @param after after string.\n * @returns concatenated string.\n */\nfunction concatStringsWithSpace(before, after) {\n return before == null || before === '' ? after === null ? '' : after : after == null || after === '' ? before : before + ' ' + after;\n}\nconst __forward_ref__ = /*#__PURE__*/getClosureSafeProperty({\n __forward_ref__: getClosureSafeProperty\n});\n/**\n * Allows to refer to references which are not yet defined.\n *\n * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of\n * DI is declared, but not yet defined. It is also used when the `token` which we use when creating\n * a query is not yet defined.\n *\n * @usageNotes\n * ### Example\n * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'}\n * @publicApi\n */\nfunction forwardRef(forwardRefFn) {\n forwardRefFn.__forward_ref__ = forwardRef;\n forwardRefFn.toString = function () {\n return stringify(this());\n };\n return forwardRefFn;\n}\n/**\n * Lazily retrieves the reference value from a forwardRef.\n *\n * Acts as the identity function when given a non-forward-ref value.\n *\n * @usageNotes\n * ### Example\n *\n * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'}\n *\n * @see `forwardRef`\n * @publicApi\n */\nfunction resolveForwardRef(type) {\n return isForwardRef(type) ? type() : type;\n}\n/** Checks whether a function is wrapped by a `forwardRef`. */\nfunction isForwardRef(fn) {\n return typeof fn === 'function' && fn.hasOwnProperty(__forward_ref__) && fn.__forward_ref__ === forwardRef;\n}\nfunction isEnvironmentProviders(value) {\n return value && !!value.ɵproviders;\n}\n\n/**\n * Base URL for the error details page.\n *\n * Keep this constant in sync across:\n * - packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.ts\n * - packages/core/src/error_details_base_url.ts\n */\nconst ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';\n/**\n * URL for the XSS security documentation.\n */\nconst XSS_SECURITY_URL = 'https://g.co/ng/security#xss';\n\n/**\n * Class that represents a runtime error.\n * Formats and outputs the error message in a consistent way.\n *\n * Example:\n * ```\n * throw new RuntimeError(\n * RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED,\n * ngDevMode && 'Injector has already been destroyed.');\n * ```\n *\n * Note: the `message` argument contains a descriptive error message as a string in development\n * mode (when the `ngDevMode` is defined). In production mode (after tree-shaking pass), the\n * `message` argument becomes `false`, thus we account for it in the typings and the runtime logic.\n */\nclass RuntimeError extends Error {\n constructor(code, message) {\n super(formatRuntimeError(code, message));\n this.code = code;\n }\n}\n/**\n * Called to format a runtime error.\n * See additional info on the `message` argument type in the `RuntimeError` class description.\n */\nfunction formatRuntimeError(code, message) {\n // Error code might be a negative number, which is a special marker that instructs the logic to\n // generate a link to the error details page on angular.io.\n // We also prepend `0` to non-compile-time errors.\n const fullCode = `NG0${Math.abs(code)}`;\n let errorMessage = `${fullCode}${message ? ': ' + message.trim() : ''}`;\n if (ngDevMode && code < 0) {\n const addPeriodSeparator = !errorMessage.match(/[.,;!?]$/);\n const separator = addPeriodSeparator ? '.' : '';\n errorMessage = `${errorMessage}${separator} Find more at ${ERROR_DETAILS_PAGE_BASE_URL}/${fullCode}`;\n }\n return errorMessage;\n}\n\n/**\n * Used for stringify render output in Ivy.\n * Important! This function is very performance-sensitive and we should\n * be extra careful not to introduce megamorphic reads in it.\n * Check `core/test/render3/perf/render_stringify` for benchmarks and alternate implementations.\n */\nfunction renderStringify(value) {\n if (typeof value === 'string') return value;\n if (value == null) return '';\n // Use `String` so that it invokes the `toString` method of the value. Note that this\n // appears to be faster than calling `value.toString` (see `render_stringify` benchmark).\n return String(value);\n}\n/**\n * Used to stringify a value so that it can be displayed in an error message.\n * Important! This function contains a megamorphic read and should only be\n * used for error messages.\n */\nfunction stringifyForError(value) {\n if (typeof value === 'function') return value.name || value.toString();\n if (typeof value === 'object' && value != null && typeof value.type === 'function') {\n return value.type.name || value.type.toString();\n }\n return renderStringify(value);\n}\n\n/** Called when directives inject each other (creating a circular dependency) */\nfunction throwCyclicDependencyError(token, path) {\n const depPath = path ? `. Dependency path: ${path.join(' > ')} > ${token}` : '';\n throw new RuntimeError(-200 /* RuntimeErrorCode.CYCLIC_DI_DEPENDENCY */, `Circular dependency in DI detected for ${token}${depPath}`);\n}\nfunction throwMixedMultiProviderError() {\n throw new Error(`Cannot mix multi providers and regular providers`);\n}\nfunction throwInvalidProviderError(ngModuleType, providers, provider) {\n if (ngModuleType && providers) {\n const providerDetail = providers.map(v => v == provider ? '?' + provider + '?' : '...');\n throw new Error(`Invalid provider for the NgModule '${stringify(ngModuleType)}' - only instances of Provider and Type are allowed, got: [${providerDetail.join(', ')}]`);\n } else if (isEnvironmentProviders(provider)) {\n if (provider.ɵfromNgModule) {\n throw new RuntimeError(207 /* RuntimeErrorCode.PROVIDER_IN_WRONG_CONTEXT */, `Invalid providers from 'importProvidersFrom' present in a non-environment injector. 'importProvidersFrom' can't be used for component providers.`);\n } else {\n throw new RuntimeError(207 /* RuntimeErrorCode.PROVIDER_IN_WRONG_CONTEXT */, `Invalid providers present in a non-environment injector. 'EnvironmentProviders' can't be used for component providers.`);\n }\n } else {\n throw new Error('Invalid provider');\n }\n}\n/** Throws an error when a token is not found in DI. */\nfunction throwProviderNotFoundError(token, injectorName) {\n const injectorDetails = injectorName ? ` in ${injectorName}` : '';\n throw new RuntimeError(-201 /* RuntimeErrorCode.PROVIDER_NOT_FOUND */, ngDevMode && `No provider for ${stringifyForError(token)} found${injectorDetails}`);\n}\n\n// The functions in this file verify that the assumptions we are making\nfunction assertNumber(actual, msg) {\n if (!(typeof actual === 'number')) {\n throwError(msg, typeof actual, 'number', '===');\n }\n}\nfunction assertNumberInRange(actual, minInclusive, maxInclusive) {\n assertNumber(actual, 'Expected a number');\n assertLessThanOrEqual(actual, maxInclusive, 'Expected number to be less than or equal to');\n assertGreaterThanOrEqual(actual, minInclusive, 'Expected number to be greater than or equal to');\n}\nfunction assertString(actual, msg) {\n if (!(typeof actual === 'string')) {\n throwError(msg, actual === null ? 'null' : typeof actual, 'string', '===');\n }\n}\nfunction assertFunction(actual, msg) {\n if (!(typeof actual === 'function')) {\n throwError(msg, actual === null ? 'null' : typeof actual, 'function', '===');\n }\n}\nfunction assertEqual(actual, expected, msg) {\n if (!(actual == expected)) {\n throwError(msg, actual, expected, '==');\n }\n}\nfunction assertNotEqual(actual, expected, msg) {\n if (!(actual != expected)) {\n throwError(msg, actual, expected, '!=');\n }\n}\nfunction assertSame(actual, expected, msg) {\n if (!(actual === expected)) {\n throwError(msg, actual, expected, '===');\n }\n}\nfunction assertNotSame(actual, expected, msg) {\n if (!(actual !== expected)) {\n throwError(msg, actual, expected, '!==');\n }\n}\nfunction assertLessThan(actual, expected, msg) {\n if (!(actual < expected)) {\n throwError(msg, actual, expected, '<');\n }\n}\nfunction assertLessThanOrEqual(actual, expected, msg) {\n if (!(actual <= expected)) {\n throwError(msg, actual, expected, '<=');\n }\n}\nfunction assertGreaterThan(actual, expected, msg) {\n if (!(actual > expected)) {\n throwError(msg, actual, expected, '>');\n }\n}\nfunction assertGreaterThanOrEqual(actual, expected, msg) {\n if (!(actual >= expected)) {\n throwError(msg, actual, expected, '>=');\n }\n}\nfunction assertNotDefined(actual, msg) {\n if (actual != null) {\n throwError(msg, actual, null, '==');\n }\n}\nfunction assertDefined(actual, msg) {\n if (actual == null) {\n throwError(msg, actual, null, '!=');\n }\n}\nfunction throwError(msg, actual, expected, comparison) {\n throw new Error(`ASSERTION ERROR: ${msg}` + (comparison == null ? '' : ` [Expected=> ${expected} ${comparison} ${actual} <=Actual]`));\n}\nfunction assertDomNode(node) {\n // If we're in a worker, `Node` will not be defined.\n if (!(typeof Node !== 'undefined' && node instanceof Node) && !(typeof node === 'object' && node != null && node.constructor.name === 'WebWorkerRenderNode')) {\n throwError(`The provided value must be an instance of a DOM Node but got ${stringify(node)}`);\n }\n}\nfunction assertIndexInRange(arr, index) {\n assertDefined(arr, 'Array must be defined.');\n const maxLen = arr.length;\n if (index < 0 || index >= maxLen) {\n throwError(`Index expected to be less than ${maxLen} but got ${index}`);\n }\n}\nfunction assertOneOf(value, ...validValues) {\n if (validValues.indexOf(value) !== -1) return true;\n throwError(`Expected value to be one of ${JSON.stringify(validValues)} but was ${JSON.stringify(value)}.`);\n}\n\n/**\n * Construct an injectable definition which defines how a token will be constructed by the DI\n * system, and in which injectors (if any) it will be available.\n *\n * This should be assigned to a static `ɵprov` field on a type, which will then be an\n * `InjectableType`.\n *\n * Options:\n * * `providedIn` determines which injectors will include the injectable, by either associating it\n * with an `@NgModule` or other `InjectorType`, or by specifying that this injectable should be\n * provided in the `'root'` injector, which will be the application-level injector in most apps.\n * * `factory` gives the zero argument function which will create an instance of the injectable.\n * The factory can call `inject` to access the `Injector` and request injection of dependencies.\n *\n * @codeGenApi\n * @publicApi This instruction has been emitted by ViewEngine for some time and is deployed to npm.\n */\nfunction ɵɵdefineInjectable(opts) {\n return {\n token: opts.token,\n providedIn: opts.providedIn || null,\n factory: opts.factory,\n value: undefined\n };\n}\n/**\n * @deprecated in v8, delete after v10. This API should be used only by generated code, and that\n * code should now use ɵɵdefineInjectable instead.\n * @publicApi\n */\nconst defineInjectable = ɵɵdefineInjectable;\n/**\n * Construct an `InjectorDef` which configures an injector.\n *\n * This should be assigned to a static injector def (`ɵinj`) field on a type, which will then be an\n * `InjectorType`.\n *\n * Options:\n *\n * * `providers`: an optional array of providers to add to the injector. Each provider must\n * either have a factory or point to a type which has a `ɵprov` static property (the\n * type must be an `InjectableType`).\n * * `imports`: an optional array of imports of other `InjectorType`s or `InjectorTypeWithModule`s\n * whose providers will also be added to the injector. Locally provided types will override\n * providers from imports.\n *\n * @codeGenApi\n */\nfunction ɵɵdefineInjector(options) {\n return {\n providers: options.providers || [],\n imports: options.imports || []\n };\n}\n/**\n * Read the injectable def (`ɵprov`) for `type` in a way which is immune to accidentally reading\n * inherited value.\n *\n * @param type A type which may have its own (non-inherited) `ɵprov`.\n */\nfunction getInjectableDef(type) {\n return getOwnDefinition(type, NG_PROV_DEF) || getOwnDefinition(type, NG_INJECTABLE_DEF);\n}\nfunction isInjectable(type) {\n return getInjectableDef(type) !== null;\n}\n/**\n * Return definition only if it is defined directly on `type` and is not inherited from a base\n * class of `type`.\n */\nfunction getOwnDefinition(type, field) {\n return type.hasOwnProperty(field) ? type[field] : null;\n}\n/**\n * Read the injectable def (`ɵprov`) for `type` or read the `ɵprov` from one of its ancestors.\n *\n * @param type A type which may have `ɵprov`, via inheritance.\n *\n * @deprecated Will be removed in a future version of Angular, where an error will occur in the\n * scenario if we find the `ɵprov` on an ancestor only.\n */\nfunction getInheritedInjectableDef(type) {\n const def = type && (type[NG_PROV_DEF] || type[NG_INJECTABLE_DEF]);\n if (def) {\n ngDevMode && console.warn(`DEPRECATED: DI is instantiating a token \"${type.name}\" that inherits its @Injectable decorator but does not provide one itself.\\n` + `This will become an error in a future version of Angular. Please add @Injectable() to the \"${type.name}\" class.`);\n return def;\n } else {\n return null;\n }\n}\n/**\n * Read the injector def type in a way which is immune to accidentally reading inherited value.\n *\n * @param type type which may have an injector def (`ɵinj`)\n */\nfunction getInjectorDef(type) {\n return type && (type.hasOwnProperty(NG_INJ_DEF) || type.hasOwnProperty(NG_INJECTOR_DEF)) ? type[NG_INJ_DEF] : null;\n}\nconst NG_PROV_DEF = /*#__PURE__*/getClosureSafeProperty({\n ɵprov: getClosureSafeProperty\n});\nconst NG_INJ_DEF = /*#__PURE__*/getClosureSafeProperty({\n ɵinj: getClosureSafeProperty\n});\n// We need to keep these around so we can read off old defs if new defs are unavailable\nconst NG_INJECTABLE_DEF = /*#__PURE__*/getClosureSafeProperty({\n ngInjectableDef: getClosureSafeProperty\n});\nconst NG_INJECTOR_DEF = /*#__PURE__*/getClosureSafeProperty({\n ngInjectorDef: getClosureSafeProperty\n});\n\n/**\n * Injection flags for DI.\n *\n * @publicApi\n * @deprecated use an options object for `inject` instead.\n */\nvar InjectFlags = /*#__PURE__*/(() => {\n InjectFlags = InjectFlags || {};\n // TODO(alxhub): make this 'const' (and remove `InternalInjectFlags` enum) when ngc no longer\n // writes exports of it into ngfactory files.\n /** Check self and check parent injector if needed */\n InjectFlags[InjectFlags[\"Default\"] = 0] = \"Default\";\n /**\n * Specifies that an injector should retrieve a dependency from any injector until reaching the\n * host element of the current component. (Only used with Element Injector)\n */\n InjectFlags[InjectFlags[\"Host\"] = 1] = \"Host\";\n /** Don't ascend to ancestors of the node requesting injection. */\n InjectFlags[InjectFlags[\"Self\"] = 2] = \"Self\";\n /** Skip the node that is requesting injection. */\n InjectFlags[InjectFlags[\"SkipSelf\"] = 4] = \"SkipSelf\";\n /** Inject `defaultValue` instead if token not found. */\n InjectFlags[InjectFlags[\"Optional\"] = 8] = \"Optional\";\n return InjectFlags;\n})();\n/**\n * Current implementation of inject.\n *\n * By default, it is `injectInjectorOnly`, which makes it `Injector`-only aware. It can be changed\n * to `directiveInject`, which brings in the `NodeInjector` system of ivy. It is designed this\n * way for two reasons:\n * 1. `Injector` should not depend on ivy logic.\n * 2. To maintain tree shake-ability we don't want to bring in unnecessary code.\n */\nlet _injectImplementation;\nfunction getInjectImplementation() {\n return _injectImplementation;\n}\n/**\n * Sets the current inject implementation.\n */\nfunction setInjectImplementation(impl) {\n const previous = _injectImplementation;\n _injectImplementation = impl;\n return previous;\n}\n/**\n * Injects `root` tokens in limp mode.\n *\n * If no injector exists, we can still inject tree-shakable providers which have `providedIn` set to\n * `\"root\"`. This is known as the limp mode injection. In such case the value is stored in the\n * injectable definition.\n */\nfunction injectRootLimpMode(token, notFoundValue, flags) {\n const injectableDef = getInjectableDef(token);\n if (injectableDef && injectableDef.providedIn == 'root') {\n return injectableDef.value === undefined ? injectableDef.value = injectableDef.factory() : injectableDef.value;\n }\n if (flags & InjectFlags.Optional) return null;\n if (notFoundValue !== undefined) return notFoundValue;\n throwProviderNotFoundError(stringify(token), 'Injector');\n}\n/**\n * Assert that `_injectImplementation` is not `fn`.\n *\n * This is useful, to prevent infinite recursion.\n *\n * @param fn Function which it should not equal to\n */\nfunction assertInjectImplementationNotEqual(fn) {\n ngDevMode && assertNotEqual(_injectImplementation, fn, 'Calling ɵɵinject would cause infinite recursion');\n}\n\n// Always use __globalThis if available, which is the spec-defined global variable across all\n// environments, then fallback to __global first, because in Node tests both __global and\n// __window may be defined and _global should be __global in that case. Note: Typeof/Instanceof\n// checks are considered side-effects in Terser. We explicitly mark this as side-effect free:\n// https://github.com/terser/terser/issues/250.\nconst _global = /* @__PURE__ */(() => typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window || typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope && self)();\nfunction ngDevModeResetPerfCounters() {\n const locationString = typeof location !== 'undefined' ? location.toString() : '';\n const newCounters = {\n namedConstructors: locationString.indexOf('ngDevMode=namedConstructors') != -1,\n firstCreatePass: 0,\n tNode: 0,\n tView: 0,\n rendererCreateTextNode: 0,\n rendererSetText: 0,\n rendererCreateElement: 0,\n rendererAddEventListener: 0,\n rendererSetAttribute: 0,\n rendererRemoveAttribute: 0,\n rendererSetProperty: 0,\n rendererSetClassName: 0,\n rendererAddClass: 0,\n rendererRemoveClass: 0,\n rendererSetStyle: 0,\n rendererRemoveStyle: 0,\n rendererDestroy: 0,\n rendererDestroyNode: 0,\n rendererMoveNode: 0,\n rendererRemoveNode: 0,\n rendererAppendChild: 0,\n rendererInsertBefore: 0,\n rendererCreateComment: 0\n };\n // Make sure to refer to ngDevMode as ['ngDevMode'] for closure.\n const allowNgDevModeTrue = locationString.indexOf('ngDevMode=false') === -1;\n _global['ngDevMode'] = allowNgDevModeTrue && newCounters;\n return newCounters;\n}\n/**\n * This function checks to see if the `ngDevMode` has been set. If yes,\n * then we honor it, otherwise we default to dev mode with additional checks.\n *\n * The idea is that unless we are doing production build where we explicitly\n * set `ngDevMode == false` we should be helping the developer by providing\n * as much early warning and errors as possible.\n *\n * `ɵɵdefineComponent` is guaranteed to have been called before any component template functions\n * (and thus Ivy instructions), so a single initialization there is sufficient to ensure ngDevMode\n * is defined for the entire instruction set.\n *\n * When checking `ngDevMode` on toplevel, always init it before referencing it\n * (e.g. `((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode())`), otherwise you can\n * get a `ReferenceError` like in https://github.com/angular/angular/issues/31595.\n *\n * Details on possible values for `ngDevMode` can be found on its docstring.\n *\n * NOTE:\n * - changes to the `ngDevMode` name must be synced with `compiler-cli/src/tooling.ts`.\n */\nfunction initNgDevMode() {\n // The below checks are to ensure that calling `initNgDevMode` multiple times does not\n // reset the counters.\n // If the `ngDevMode` is not an object, then it means we have not created the perf counters\n // yet.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (typeof ngDevMode !== 'object') {\n ngDevModeResetPerfCounters();\n }\n return typeof ngDevMode !== 'undefined' && !!ngDevMode;\n }\n return false;\n}\nconst _THROW_IF_NOT_FOUND = {};\nconst THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\n/*\n * Name of a property (that we patch onto DI decorator), which is used as an annotation of which\n * InjectFlag this decorator represents. This allows to avoid direct references to the DI decorators\n * in the code, thus making them tree-shakable.\n */\nconst DI_DECORATOR_FLAG = '__NG_DI_FLAG__';\nconst NG_TEMP_TOKEN_PATH = 'ngTempTokenPath';\nconst NG_TOKEN_PATH = 'ngTokenPath';\nconst NEW_LINE = /\\n/gm;\nconst NO_NEW_LINE = 'ɵ';\nconst SOURCE = '__source';\n/**\n * Current injector value used by `inject`.\n * - `undefined`: it is an error to call `inject`\n * - `null`: `inject` can be called but there is no injector (limp-mode).\n * - Injector instance: Use the injector for resolution.\n */\nlet _currentInjector = undefined;\nfunction setCurrentInjector(injector) {\n const former = _currentInjector;\n _currentInjector = injector;\n return former;\n}\nfunction injectInjectorOnly(token, flags = InjectFlags.Default) {\n if (_currentInjector === undefined) {\n throw new RuntimeError(-203 /* RuntimeErrorCode.MISSING_INJECTION_CONTEXT */, ngDevMode && `inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with \\`EnvironmentInjector#runInContext\\`.`);\n } else if (_currentInjector === null) {\n return injectRootLimpMode(token, undefined, flags);\n } else {\n return _currentInjector.get(token, flags & InjectFlags.Optional ? null : undefined, flags);\n }\n}\nfunction ɵɵinject(token, flags = InjectFlags.Default) {\n return (getInjectImplementation() || injectInjectorOnly)(resolveForwardRef(token), flags);\n}\n/**\n * Throws an error indicating that a factory function could not be generated by the compiler for a\n * particular class.\n *\n * The name of the class is not mentioned here, but will be in the generated factory function name\n * and thus in the stack trace.\n *\n * @codeGenApi\n */\nfunction ɵɵinvalidFactoryDep(index) {\n throw new RuntimeError(202 /* RuntimeErrorCode.INVALID_FACTORY_DEPENDENCY */, ngDevMode && `This constructor is not compatible with Angular Dependency Injection because its dependency at index ${index} of the parameter list is invalid.\nThis can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.\n\nPlease check that 1) the type for the parameter at index ${index} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.`);\n}\n/**\n * Injects a token from the currently active injector.\n * `inject` is only supported during instantiation of a dependency by the DI system. It can be used\n * during:\n * - Construction (via the `constructor`) of a class being instantiated by the DI system, such\n * as an `@Injectable` or `@Component`.\n * - In the initializer for fields of such classes.\n * - In the factory function specified for `useFactory` of a `Provider` or an `@Injectable`.\n * - In the `factory` function specified for an `InjectionToken`.\n *\n * @param token A token that represents a dependency that should be injected.\n * @param flags Optional flags that control how injection is executed.\n * The flags correspond to injection strategies that can be specified with\n * parameter decorators `@Host`, `@Self`, `@SkipSelf`, and `@Optional`.\n * @returns the injected value if operation is successful, `null` otherwise.\n * @throws if called outside of a supported context.\n *\n * @usageNotes\n * In practice the `inject()` calls are allowed in a constructor, a constructor parameter and a\n * field initializer:\n *\n * ```typescript\n * @Injectable({providedIn: 'root'})\n * export class Car {\n * radio: Radio|undefined;\n * // OK: field initializer\n * spareTyre = inject(Tyre);\n *\n * constructor() {\n * // OK: constructor body\n * this.radio = inject(Radio);\n * }\n * }\n * ```\n *\n * It is also legal to call `inject` from a provider's factory:\n *\n * ```typescript\n * providers: [\n * {provide: Car, useFactory: () => {\n * // OK: a class factory\n * const engine = inject(Engine);\n * return new Car(engine);\n * }}\n * ]\n * ```\n *\n * Calls to the `inject()` function outside of the class creation context will result in error. Most\n * notably, calls to `inject()` are disallowed after a class instance was created, in methods\n * (including lifecycle hooks):\n *\n * ```typescript\n * @Component({ ... })\n * export class CarComponent {\n * ngOnInit() {\n * // ERROR: too late, the component instance was already created\n * const engine = inject(Engine);\n * engine.start();\n * }\n * }\n * ```\n *\n * @publicApi\n */\nfunction inject(token, flags = InjectFlags.Default) {\n return ɵɵinject(token, convertToBitFlags(flags));\n}\n// Converts object-based DI flags (`InjectOptions`) to bit flags (`InjectFlags`).\nfunction convertToBitFlags(flags) {\n if (typeof flags === 'undefined' || typeof flags === 'number') {\n return flags;\n }\n // While TypeScript doesn't accept it without a cast, bitwise OR with false-y values in\n // JavaScript is a no-op. We can use that for a very codesize-efficient conversion from\n // `InjectOptions` to `InjectFlags`.\n return 0 /* InternalInjectFlags.Default */ | (\n // comment to force a line break in the formatter\n flags.optional && 8 /* InternalInjectFlags.Optional */) | (flags.host && 1 /* InternalInjectFlags.Host */) | (flags.self && 2 /* InternalInjectFlags.Self */) | (flags.skipSelf && 4 /* InternalInjectFlags.SkipSelf */);\n}\n\nfunction injectArgs(types) {\n const args = [];\n for (let i = 0; i < types.length; i++) {\n const arg = resolveForwardRef(types[i]);\n if (Array.isArray(arg)) {\n if (arg.length === 0) {\n throw new RuntimeError(900 /* RuntimeErrorCode.INVALID_DIFFER_INPUT */, ngDevMode && 'Arguments array must have arguments.');\n }\n let type = undefined;\n let flags = InjectFlags.Default;\n for (let j = 0; j < arg.length; j++) {\n const meta = arg[j];\n const flag = getInjectFlag(meta);\n if (typeof flag === 'number') {\n // Special case when we handle @Inject decorator.\n if (flag === -1 /* DecoratorFlags.Inject */) {\n type = meta.token;\n } else {\n flags |= flag;\n }\n } else {\n type = meta;\n }\n }\n args.push(ɵɵinject(type, flags));\n } else {\n args.push(ɵɵinject(arg));\n }\n }\n return args;\n}\n/**\n * Attaches a given InjectFlag to a given decorator using monkey-patching.\n * Since DI decorators can be used in providers `deps` array (when provider is configured using\n * `useFactory`) without initialization (e.g. `Host`) and as an instance (e.g. `new Host()`), we\n * attach the flag to make it available both as a static property and as a field on decorator\n * instance.\n *\n * @param decorator Provided DI decorator.\n * @param flag InjectFlag that should be applied.\n */\nfunction attachInjectFlag(decorator, flag) {\n decorator[DI_DECORATOR_FLAG] = flag;\n decorator.prototype[DI_DECORATOR_FLAG] = flag;\n return decorator;\n}\n/**\n * Reads monkey-patched property that contains InjectFlag attached to a decorator.\n *\n * @param token Token that may contain monkey-patched DI flags property.\n */\nfunction getInjectFlag(token) {\n return token[DI_DECORATOR_FLAG];\n}\nfunction catchInjectorError(e, token, injectorErrorName, source) {\n const tokenPath = e[NG_TEMP_TOKEN_PATH];\n if (token[SOURCE]) {\n tokenPath.unshift(token[SOURCE]);\n }\n e.message = formatError('\\n' + e.message, tokenPath, injectorErrorName, source);\n e[NG_TOKEN_PATH] = tokenPath;\n e[NG_TEMP_TOKEN_PATH] = null;\n throw e;\n}\nfunction formatError(text, obj, injectorErrorName, source = null) {\n text = text && text.charAt(0) === '\\n' && text.charAt(1) == NO_NEW_LINE ? text.slice(2) : text;\n let context = stringify(obj);\n if (Array.isArray(obj)) {\n context = obj.map(stringify).join(' -> ');\n } else if (typeof obj === 'object') {\n let parts = [];\n for (let key in obj) {\n if (obj.hasOwnProperty(key)) {\n let value = obj[key];\n parts.push(key + ':' + (typeof value === 'string' ? JSON.stringify(value) : stringify(value)));\n }\n }\n context = `{${parts.join(', ')}}`;\n }\n return `${injectorErrorName}${source ? '(' + source + ')' : ''}[${context}]: ${text.replace(NEW_LINE, '\\n ')}`;\n}\n\n/**\n * Convince closure compiler that the wrapped function has no side-effects.\n *\n * Closure compiler always assumes that `toString` has no side-effects. We use this quirk to\n * allow us to execute a function but have closure compiler mark the call as no-side-effects.\n * It is important that the return value for the `noSideEffects` function be assigned\n * to something which is retained otherwise the call to `noSideEffects` will be removed by closure\n * compiler.\n */\nfunction noSideEffects(fn) {\n return {\n toString: fn\n }.toString();\n}\n\n/**\n * The strategy that the default change detector uses to detect changes.\n * When set, takes effect the next time change detection is triggered.\n *\n * @see {@link ChangeDetectorRef#usage-notes Change detection usage}\n *\n * @publicApi\n */\nvar ChangeDetectionStrategy = /*#__PURE__*/(() => {\n ChangeDetectionStrategy = ChangeDetectionStrategy || {};\n /**\n * Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated\n * until reactivated by setting the strategy to `Default` (`CheckAlways`).\n * Change detection can still be explicitly invoked.\n * This strategy applies to all child directives and cannot be overridden.\n */\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"OnPush\"] = 0] = \"OnPush\";\n /**\n * Use the default `CheckAlways` strategy, in which change detection is automatic until\n * explicitly deactivated.\n */\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"Default\"] = 1] = \"Default\";\n return ChangeDetectionStrategy;\n})();\n/**\n * Defines the CSS styles encapsulation policies for the {@link Component} decorator's\n * `encapsulation` option.\n *\n * See {@link Component#encapsulation encapsulation}.\n *\n * @usageNotes\n * ### Example\n *\n * {@example core/ts/metadata/encapsulation.ts region='longform'}\n *\n * @publicApi\n */\nvar ViewEncapsulation$1 = /*#__PURE__*/(() => {\n (function (ViewEncapsulation) {\n // TODO: consider making `ViewEncapsulation` a `const enum` instead. See\n // https://github.com/angular/angular/issues/44119 for additional information.\n /**\n * Emulates a native Shadow DOM encapsulation behavior by adding a specific attribute to the\n * component's host element and applying the same attribute to all the CSS selectors provided\n * via {@link Component#styles styles} or {@link Component#styleUrls styleUrls}.\n *\n * This is the default option.\n */\n ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\n // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.\n /**\n * Doesn't provide any sort of CSS style encapsulation, meaning that all the styles provided\n * via {@link Component#styles styles} or {@link Component#styleUrls styleUrls} are applicable\n * to any HTML element of the application regardless of their host Component.\n */\n ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\n /**\n * Uses the browser's native Shadow DOM API to encapsulate CSS styles, meaning that it creates\n * a ShadowRoot for the component's host element which is then used to encapsulate\n * all the Component's styling.\n */\n ViewEncapsulation[ViewEncapsulation[\"ShadowDom\"] = 3] = \"ShadowDom\";\n })(ViewEncapsulation$1 || (ViewEncapsulation$1 = {}));\n return ViewEncapsulation$1;\n})();\n/**\n * This file contains reuseable \"empty\" symbols that can be used as default return values\n * in different parts of the rendering code. Because the same symbols are returned, this\n * allows for identity checks against these values to be consistently used by the framework\n * code.\n */\nconst EMPTY_OBJ = {};\nconst EMPTY_ARRAY = [];\n// freezing the values prevents any code from accidentally inserting new values in\nif ((typeof ngDevMode === 'undefined' || ngDevMode) && /*#__PURE__*/initNgDevMode()) {\n // These property accesses can be ignored because ngDevMode will be set to false\n // when optimizing code and the whole if statement will be dropped.\n // tslint:disable-next-line:no-toplevel-property-access\n /*#__PURE__*/Object.freeze(EMPTY_OBJ);\n // tslint:disable-next-line:no-toplevel-property-access\n /*#__PURE__*/Object.freeze(EMPTY_ARRAY);\n}\nconst NG_COMP_DEF = /*#__PURE__*/getClosureSafeProperty({\n ɵcmp: getClosureSafeProperty\n});\nconst NG_DIR_DEF = /*#__PURE__*/getClosureSafeProperty({\n ɵdir: getClosureSafeProperty\n});\nconst NG_PIPE_DEF = /*#__PURE__*/getClosureSafeProperty({\n ɵpipe: getClosureSafeProperty\n});\nconst NG_MOD_DEF = /*#__PURE__*/getClosureSafeProperty({\n ɵmod: getClosureSafeProperty\n});\nconst NG_FACTORY_DEF = /*#__PURE__*/getClosureSafeProperty({\n ɵfac: getClosureSafeProperty\n});\n/**\n * If a directive is diPublic, bloomAdd sets a property on the type with this constant as\n * the key and the directive's unique ID as the value. This allows us to map directives to their\n * bloom filter bit for DI.\n */\n// TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified.\nconst NG_ELEMENT_ID = /*#__PURE__*/getClosureSafeProperty({\n __NG_ELEMENT_ID__: getClosureSafeProperty\n});\n\n/** Counter used to generate unique IDs for component definitions. */\nlet componentDefCount = 0;\n/**\n * Create a component definition object.\n *\n *\n * # Example\n * ```\n * class MyComponent {\n * // Generated by Angular Template Compiler\n * // [Symbol] syntax will not be supported by TypeScript until v2.7\n * static ɵcmp = defineComponent({\n * ...\n * });\n * }\n * ```\n * @codeGenApi\n */\nfunction ɵɵdefineComponent(componentDefinition) {\n return noSideEffects(() => {\n // Initialize ngDevMode. This must be the first statement in ɵɵdefineComponent.\n // See the `initNgDevMode` docstring for more information.\n (typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode();\n const baseDef = getNgDirectiveDef(componentDefinition);\n const def = {\n ...baseDef,\n decls: componentDefinition.decls,\n vars: componentDefinition.vars,\n template: componentDefinition.template,\n consts: componentDefinition.consts || null,\n ngContentSelectors: componentDefinition.ngContentSelectors,\n onPush: componentDefinition.changeDetection === ChangeDetectionStrategy.OnPush,\n directiveDefs: null,\n pipeDefs: null,\n dependencies: baseDef.standalone && componentDefinition.dependencies || null,\n getStandaloneInjector: null,\n data: componentDefinition.data || {},\n encapsulation: componentDefinition.encapsulation || ViewEncapsulation$1.Emulated,\n id: `c${componentDefCount++}`,\n styles: componentDefinition.styles || EMPTY_ARRAY,\n _: null,\n schemas: componentDefinition.schemas || null,\n tView: null\n };\n initFeatures(def);\n const dependencies = componentDefinition.dependencies;\n def.directiveDefs = extractDefListOrFactory(dependencies, /* pipeDef */false);\n def.pipeDefs = extractDefListOrFactory(dependencies, /* pipeDef */true);\n return def;\n });\n}\n/**\n * Generated next to NgModules to monkey-patch directive and pipe references onto a component's\n * definition, when generating a direct reference in the component file would otherwise create an\n * import cycle.\n *\n * See [this explanation](https://hackmd.io/Odw80D0pR6yfsOjg_7XCJg?view) for more details.\n *\n * @codeGenApi\n */\nfunction ɵɵsetComponentScope(type, directives, pipes) {\n const def = type.ɵcmp;\n def.directiveDefs = extractDefListOrFactory(directives, /* pipeDef */false);\n def.pipeDefs = extractDefListOrFactory(pipes, /* pipeDef */true);\n}\nfunction extractDirectiveDef(type) {\n return getComponentDef(type) || getDirectiveDef(type);\n}\nfunction nonNull(value) {\n return value !== null;\n}\n/**\n * @codeGenApi\n */\nfunction ɵɵdefineNgModule(def) {\n return noSideEffects(() => {\n const res = {\n type: def.type,\n bootstrap: def.bootstrap || EMPTY_ARRAY,\n declarations: def.declarations || EMPTY_ARRAY,\n imports: def.imports || EMPTY_ARRAY,\n exports: def.exports || EMPTY_ARRAY,\n transitiveCompileScopes: null,\n schemas: def.schemas || null,\n id: def.id || null\n };\n return res;\n });\n}\n/**\n * Adds the module metadata that is necessary to compute the module's transitive scope to an\n * existing module definition.\n *\n * Scope metadata of modules is not used in production builds, so calls to this function can be\n * marked pure to tree-shake it from the bundle, allowing for all referenced declarations\n * to become eligible for tree-shaking as well.\n *\n * @codeGenApi\n */\nfunction ɵɵsetNgModuleScope(type, scope) {\n return noSideEffects(() => {\n const ngModuleDef = getNgModuleDef(type, true);\n ngModuleDef.declarations = scope.declarations || EMPTY_ARRAY;\n ngModuleDef.imports = scope.imports || EMPTY_ARRAY;\n ngModuleDef.exports = scope.exports || EMPTY_ARRAY;\n });\n}\n/**\n * Inverts an inputs or outputs lookup such that the keys, which were the\n * minified keys, are part of the values, and the values are parsed so that\n * the publicName of the property is the new key\n *\n * e.g. for\n *\n * ```\n * class Comp {\n * @Input()\n * propName1: string;\n *\n * @Input('publicName2')\n * declaredPropName2: number;\n * }\n * ```\n *\n * will be serialized as\n *\n * ```\n * {\n * propName1: 'propName1',\n * declaredPropName2: ['publicName2', 'declaredPropName2'],\n * }\n * ```\n *\n * which is than translated by the minifier as:\n *\n * ```\n * {\n * minifiedPropName1: 'propName1',\n * minifiedPropName2: ['publicName2', 'declaredPropName2'],\n * }\n * ```\n *\n * becomes: (public name => minifiedName)\n *\n * ```\n * {\n * 'propName1': 'minifiedPropName1',\n * 'publicName2': 'minifiedPropName2',\n * }\n * ```\n *\n * Optionally the function can take `secondary` which will result in: (public name => declared name)\n *\n * ```\n * {\n * 'propName1': 'propName1',\n * 'publicName2': 'declaredPropName2',\n * }\n * ```\n *\n\n */\nfunction invertObject(obj, secondary) {\n if (obj == null) return EMPTY_OBJ;\n const newLookup = {};\n for (const minifiedKey in obj) {\n if (obj.hasOwnProperty(minifiedKey)) {\n let publicName = obj[minifiedKey];\n let declaredName = publicName;\n if (Array.isArray(publicName)) {\n declaredName = publicName[1];\n publicName = publicName[0];\n }\n newLookup[publicName] = minifiedKey;\n if (secondary) {\n secondary[publicName] = declaredName;\n }\n }\n }\n return newLookup;\n}\n/**\n * Create a directive definition object.\n *\n * # Example\n * ```ts\n * class MyDirective {\n * // Generated by Angular Template Compiler\n * // [Symbol] syntax will not be supported by TypeScript until v2.7\n * static ɵdir = ɵɵdefineDirective({\n * ...\n * });\n * }\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵdefineDirective(directiveDefinition) {\n return noSideEffects(() => {\n const def = getNgDirectiveDef(directiveDefinition);\n initFeatures(def);\n return def;\n });\n}\n/**\n * Create a pipe definition object.\n *\n * # Example\n * ```\n * class MyPipe implements PipeTransform {\n * // Generated by Angular Template Compiler\n * static ɵpipe = definePipe({\n * ...\n * });\n * }\n * ```\n * @param pipeDef Pipe definition generated by the compiler\n *\n * @codeGenApi\n */\nfunction ɵɵdefinePipe(pipeDef) {\n return {\n type: pipeDef.type,\n name: pipeDef.name,\n factory: null,\n pure: pipeDef.pure !== false,\n standalone: pipeDef.standalone === true,\n onDestroy: pipeDef.type.prototype.ngOnDestroy || null\n };\n}\n/**\n * The following getter methods retrieve the definition from the type. Currently the retrieval\n * honors inheritance, but in the future we may change the rule to require that definitions are\n * explicit. This would require some sort of migration strategy.\n */\nfunction getComponentDef(type) {\n return type[NG_COMP_DEF] || null;\n}\nfunction getDirectiveDef(type) {\n return type[NG_DIR_DEF] || null;\n}\nfunction getPipeDef$1(type) {\n return type[NG_PIPE_DEF] || null;\n}\n/**\n * Checks whether a given Component, Directive or Pipe is marked as standalone.\n * This will return false if passed anything other than a Component, Directive, or Pipe class\n * See this guide for additional information: https://angular.io/guide/standalone-components\n *\n * @param type A reference to a Component, Directive or Pipe.\n * @publicApi\n */\nfunction isStandalone(type) {\n const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);\n return def !== null ? def.standalone : false;\n}\nfunction getNgModuleDef(type, throwNotFound) {\n const ngModuleDef = type[NG_MOD_DEF] || null;\n if (!ngModuleDef && throwNotFound === true) {\n throw new Error(`Type ${stringify(type)} does not have 'ɵmod' property.`);\n }\n return ngModuleDef;\n}\nfunction getNgDirectiveDef(directiveDefinition) {\n const declaredInputs = {};\n return {\n type: directiveDefinition.type,\n providersResolver: null,\n factory: null,\n hostBindings: directiveDefinition.hostBindings || null,\n hostVars: directiveDefinition.hostVars || 0,\n hostAttrs: directiveDefinition.hostAttrs || null,\n contentQueries: directiveDefinition.contentQueries || null,\n declaredInputs,\n exportAs: directiveDefinition.exportAs || null,\n standalone: directiveDefinition.standalone === true,\n selectors: directiveDefinition.selectors || EMPTY_ARRAY,\n viewQuery: directiveDefinition.viewQuery || null,\n features: directiveDefinition.features || null,\n setInput: null,\n findHostDirectiveDefs: null,\n hostDirectives: null,\n inputs: invertObject(directiveDefinition.inputs, declaredInputs),\n outputs: invertObject(directiveDefinition.outputs)\n };\n}\nfunction initFeatures(definition) {\n definition.features?.forEach(fn => fn(definition));\n}\nfunction extractDefListOrFactory(dependencies, pipeDef) {\n if (!dependencies) {\n return null;\n }\n const defExtractor = pipeDef ? getPipeDef$1 : extractDirectiveDef;\n return () => (typeof dependencies === 'function' ? dependencies() : dependencies).map(dep => defExtractor(dep)).filter(nonNull);\n}\n\n// Below are constants for LView indices to help us look up LView members\n// without having to remember the specific indices.\n// Uglify will inline these when minifying so there shouldn't be a cost.\nconst HOST = 0;\nconst TVIEW = 1;\nconst FLAGS = 2;\nconst PARENT = 3;\nconst NEXT = 4;\nconst TRANSPLANTED_VIEWS_TO_REFRESH = 5;\nconst T_HOST = 6;\nconst CLEANUP = 7;\nconst CONTEXT = 8;\nconst INJECTOR$1 = 9;\nconst RENDERER_FACTORY = 10;\nconst RENDERER = 11;\nconst SANITIZER = 12;\nconst CHILD_HEAD = 13;\nconst CHILD_TAIL = 14;\n// FIXME(misko): Investigate if the three declarations aren't all same thing.\nconst DECLARATION_VIEW = 15;\nconst DECLARATION_COMPONENT_VIEW = 16;\nconst DECLARATION_LCONTAINER = 17;\nconst PREORDER_HOOK_FLAGS = 18;\nconst QUERIES = 19;\nconst ID = 20;\nconst EMBEDDED_VIEW_INJECTOR = 21;\n/**\n * Size of LView's header. Necessary to adjust for it when setting slots.\n *\n * IMPORTANT: `HEADER_OFFSET` should only be referred to the in the `ɵɵ*` instructions to translate\n * instruction index into `LView` index. All other indexes should be in the `LView` index space and\n * there should be no need to refer to `HEADER_OFFSET` anywhere else.\n */\nconst HEADER_OFFSET = 22;\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\nconst unusedValueExportToPlacateAjd$4 = 1;\n\n/**\n * Special location which allows easy identification of type. If we have an array which was\n * retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is\n * `LContainer`.\n */\nconst TYPE = 1;\n/**\n * Below are constants for LContainer indices to help us look up LContainer members\n * without having to remember the specific indices.\n * Uglify will inline these when minifying so there shouldn't be a cost.\n */\n/**\n * Flag to signify that this `LContainer` may have transplanted views which need to be change\n * detected. (see: `LView[DECLARATION_COMPONENT_VIEW])`.\n *\n * This flag, once set, is never unset for the `LContainer`. This means that when unset we can skip\n * a lot of work in `refreshEmbeddedViews`. But when set we still need to verify\n * that the `MOVED_VIEWS` are transplanted and on-push.\n */\nconst HAS_TRANSPLANTED_VIEWS = 2;\n// PARENT, NEXT, TRANSPLANTED_VIEWS_TO_REFRESH are indices 3, 4, and 5\n// As we already have these constants in LView, we don't need to re-create them.\n// T_HOST is index 6\n// We already have this constants in LView, we don't need to re-create it.\nconst NATIVE = 7;\nconst VIEW_REFS = 8;\nconst MOVED_VIEWS = 9;\n/**\n * Size of LContainer's header. Represents the index after which all views in the\n * container will be inserted. We need to keep a record of current views so we know\n * which views are already in the DOM (and don't need to be re-added) and so we can\n * remove views from the DOM when they are no longer required.\n */\nconst CONTAINER_HEADER_OFFSET = 10;\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\nconst unusedValueExportToPlacateAjd$3 = 1;\n\n/**\n * True if `value` is `LView`.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction isLView(value) {\n return Array.isArray(value) && typeof value[TYPE] === 'object';\n}\n/**\n * True if `value` is `LContainer`.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction isLContainer(value) {\n return Array.isArray(value) && value[TYPE] === true;\n}\nfunction isContentQueryHost(tNode) {\n return (tNode.flags & 4 /* TNodeFlags.hasContentQuery */) !== 0;\n}\nfunction isComponentHost(tNode) {\n return tNode.componentOffset > -1;\n}\nfunction isDirectiveHost(tNode) {\n return (tNode.flags & 1 /* TNodeFlags.isDirectiveHost */) === 1 /* TNodeFlags.isDirectiveHost */;\n}\n\nfunction isComponentDef(def) {\n return !!def.template;\n}\nfunction isRootView(target) {\n return (target[FLAGS] & 256 /* LViewFlags.IsRoot */) !== 0;\n}\n\n// [Assert functions do not constraint type when they are guarded by a truthy\n// expression.](https://github.com/microsoft/TypeScript/issues/37295)\nfunction assertTNodeForLView(tNode, lView) {\n assertTNodeForTView(tNode, lView[TVIEW]);\n}\nfunction assertTNodeForTView(tNode, tView) {\n assertTNode(tNode);\n tNode.hasOwnProperty('tView_') && assertEqual(tNode.tView_, tView, 'This TNode does not belong to this TView.');\n}\nfunction assertTNode(tNode) {\n assertDefined(tNode, 'TNode must be defined');\n if (!(tNode && typeof tNode === 'object' && tNode.hasOwnProperty('directiveStylingLast'))) {\n throwError('Not of type TNode, got: ' + tNode);\n }\n}\nfunction assertTIcu(tIcu) {\n assertDefined(tIcu, 'Expected TIcu to be defined');\n if (!(typeof tIcu.currentCaseLViewIndex === 'number')) {\n throwError('Object is not of TIcu type.');\n }\n}\nfunction assertComponentType(actual, msg = 'Type passed in is not ComponentType, it does not have \\'ɵcmp\\' property.') {\n if (!getComponentDef(actual)) {\n throwError(msg);\n }\n}\nfunction assertNgModuleType(actual, msg = 'Type passed in is not NgModuleType, it does not have \\'ɵmod\\' property.') {\n if (!getNgModuleDef(actual)) {\n throwError(msg);\n }\n}\nfunction assertCurrentTNodeIsParent(isParent) {\n assertEqual(isParent, true, 'currentTNode should be a parent');\n}\nfunction assertHasParent(tNode) {\n assertDefined(tNode, 'currentTNode should exist!');\n assertDefined(tNode.parent, 'currentTNode should have a parent');\n}\nfunction assertLContainer(value) {\n assertDefined(value, 'LContainer must be defined');\n assertEqual(isLContainer(value), true, 'Expecting LContainer');\n}\nfunction assertLViewOrUndefined(value) {\n value && assertEqual(isLView(value), true, 'Expecting LView or undefined or null');\n}\nfunction assertLView(value) {\n assertDefined(value, 'LView must be defined');\n assertEqual(isLView(value), true, 'Expecting LView');\n}\nfunction assertFirstCreatePass(tView, errMessage) {\n assertEqual(tView.firstCreatePass, true, errMessage || 'Should only be called in first create pass.');\n}\nfunction assertFirstUpdatePass(tView, errMessage) {\n assertEqual(tView.firstUpdatePass, true, errMessage || 'Should only be called in first update pass.');\n}\n/**\n * This is a basic sanity check that an object is probably a directive def. DirectiveDef is\n * an interface, so we can't do a direct instanceof check.\n */\nfunction assertDirectiveDef(obj) {\n if (obj.type === undefined || obj.selectors == undefined || obj.inputs === undefined) {\n throwError(`Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.`);\n }\n}\nfunction assertIndexInDeclRange(lView, index) {\n const tView = lView[1];\n assertBetween(HEADER_OFFSET, tView.bindingStartIndex, index);\n}\nfunction assertIndexInExpandoRange(lView, index) {\n const tView = lView[1];\n assertBetween(tView.expandoStartIndex, lView.length, index);\n}\nfunction assertBetween(lower, upper, index) {\n if (!(lower <= index && index < upper)) {\n throwError(`Index out of range (expecting ${lower} <= ${index} < ${upper})`);\n }\n}\nfunction assertProjectionSlots(lView, errMessage) {\n assertDefined(lView[DECLARATION_COMPONENT_VIEW], 'Component views should exist.');\n assertDefined(lView[DECLARATION_COMPONENT_VIEW][T_HOST].projection, errMessage || 'Components with projection nodes () must have projection slots defined.');\n}\nfunction assertParentView(lView, errMessage) {\n assertDefined(lView, errMessage || 'Component views should always have a parent view (component\\'s host view)');\n}\n/**\n * This is a basic sanity check that the `injectorIndex` seems to point to what looks like a\n * NodeInjector data structure.\n *\n * @param lView `LView` which should be checked.\n * @param injectorIndex index into the `LView` where the `NodeInjector` is expected.\n */\nfunction assertNodeInjector(lView, injectorIndex) {\n assertIndexInExpandoRange(lView, injectorIndex);\n assertIndexInExpandoRange(lView, injectorIndex + 8 /* NodeInjectorOffset.PARENT */);\n assertNumber(lView[injectorIndex + 0], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 1], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 2], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 3], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 4], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 5], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 6], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 7], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */], 'injectorIndex should point to parent injector');\n}\nfunction getFactoryDef(type, throwNotFound) {\n const hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF);\n if (!hasFactoryDef && throwNotFound === true && ngDevMode) {\n throw new Error(`Type ${stringify(type)} does not have 'ɵfac' property.`);\n }\n return hasFactoryDef ? type[NG_FACTORY_DEF] : null;\n}\n\n/**\n * Represents a basic change from a previous to a new value for a single\n * property on a directive instance. Passed as a value in a\n * {@link SimpleChanges} object to the `ngOnChanges` hook.\n *\n * @see `OnChanges`\n *\n * @publicApi\n */\nclass SimpleChange {\n constructor(previousValue, currentValue, firstChange) {\n this.previousValue = previousValue;\n this.currentValue = currentValue;\n this.firstChange = firstChange;\n }\n /**\n * Check whether the new value is the first value assigned.\n */\n isFirstChange() {\n return this.firstChange;\n }\n}\n\n/**\n * The NgOnChangesFeature decorates a component with support for the ngOnChanges\n * lifecycle hook, so it should be included in any component that implements\n * that hook.\n *\n * If the component or directive uses inheritance, the NgOnChangesFeature MUST\n * be included as a feature AFTER {@link InheritDefinitionFeature}, otherwise\n * inherited properties will not be propagated to the ngOnChanges lifecycle\n * hook.\n *\n * Example usage:\n *\n * ```\n * static ɵcmp = defineComponent({\n * ...\n * inputs: {name: 'publicName'},\n * features: [NgOnChangesFeature]\n * });\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵNgOnChangesFeature() {\n return NgOnChangesFeatureImpl;\n}\nfunction NgOnChangesFeatureImpl(definition) {\n if (definition.type.prototype.ngOnChanges) {\n definition.setInput = ngOnChangesSetInput;\n }\n return rememberChangeHistoryAndInvokeOnChangesHook;\n}\n// This option ensures that the ngOnChanges lifecycle hook will be inherited\n// from superclasses (in InheritDefinitionFeature).\n/** @nocollapse */\n// tslint:disable-next-line:no-toplevel-property-access\nɵɵNgOnChangesFeature.ngInherit = true;\n/**\n * This is a synthetic lifecycle hook which gets inserted into `TView.preOrderHooks` to simulate\n * `ngOnChanges`.\n *\n * The hook reads the `NgSimpleChangesStore` data from the component instance and if changes are\n * found it invokes `ngOnChanges` on the component instance.\n *\n * @param this Component instance. Because this function gets inserted into `TView.preOrderHooks`,\n * it is guaranteed to be called with component instance.\n */\nfunction rememberChangeHistoryAndInvokeOnChangesHook() {\n const simpleChangesStore = getSimpleChangesStore(this);\n const current = simpleChangesStore?.current;\n if (current) {\n const previous = simpleChangesStore.previous;\n if (previous === EMPTY_OBJ) {\n simpleChangesStore.previous = current;\n } else {\n // New changes are copied to the previous store, so that we don't lose history for inputs\n // which were not changed this time\n for (let key in current) {\n previous[key] = current[key];\n }\n }\n simpleChangesStore.current = null;\n this.ngOnChanges(current);\n }\n}\nfunction ngOnChangesSetInput(instance, value, publicName, privateName) {\n const declaredName = this.declaredInputs[publicName];\n ngDevMode && assertString(declaredName, 'Name of input in ngOnChanges has to be a string');\n const simpleChangesStore = getSimpleChangesStore(instance) || setSimpleChangesStore(instance, {\n previous: EMPTY_OBJ,\n current: null\n });\n const current = simpleChangesStore.current || (simpleChangesStore.current = {});\n const previous = simpleChangesStore.previous;\n const previousChange = previous[declaredName];\n current[declaredName] = new SimpleChange(previousChange && previousChange.currentValue, value, previous === EMPTY_OBJ);\n instance[privateName] = value;\n}\nconst SIMPLE_CHANGES_STORE = '__ngSimpleChanges__';\nfunction getSimpleChangesStore(instance) {\n return instance[SIMPLE_CHANGES_STORE] || null;\n}\nfunction setSimpleChangesStore(instance, store) {\n return instance[SIMPLE_CHANGES_STORE] = store;\n}\nlet profilerCallback = null;\n/**\n * Sets the callback function which will be invoked before and after performing certain actions at\n * runtime (for example, before and after running change detection).\n *\n * Warning: this function is *INTERNAL* and should not be relied upon in application's code.\n * The contract of the function might be changed in any release and/or the function can be removed\n * completely.\n *\n * @param profiler function provided by the caller or null value to disable profiling.\n */\nconst setProfiler = profiler => {\n profilerCallback = profiler;\n};\n/**\n * Profiler function which wraps user code executed by the runtime.\n *\n * @param event ProfilerEvent corresponding to the execution context\n * @param instance component instance\n * @param hookOrListener lifecycle hook function or output listener. The value depends on the\n * execution context\n * @returns\n */\nconst profiler = function (event, instance, hookOrListener) {\n if (profilerCallback != null /* both `null` and `undefined` */) {\n profilerCallback(event, instance, hookOrListener);\n }\n};\nconst SVG_NAMESPACE = 'svg';\nconst MATH_ML_NAMESPACE = 'math';\n\n/**\n * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)\n * in same location in `LView`. This is because we don't want to pre-allocate space for it\n * because the storage is sparse. This file contains utilities for dealing with such data types.\n *\n * How do we know what is stored at a given location in `LView`.\n * - `Array.isArray(value) === false` => `RNode` (The normal storage value)\n * - `Array.isArray(value) === true` => then the `value[0]` represents the wrapped value.\n * - `typeof value[TYPE] === 'object'` => `LView`\n * - This happens when we have a component at a given location\n * - `typeof value[TYPE] === true` => `LContainer`\n * - This happens when we have `LContainer` binding at a given location.\n *\n *\n * NOTE: it is assumed that `Array.isArray` and `typeof` operations are very efficient.\n */\n/**\n * Returns `RNode`.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction unwrapRNode(value) {\n while (Array.isArray(value)) {\n value = value[HOST];\n }\n return value;\n}\n/**\n * Returns `LView` or `null` if not found.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction unwrapLView(value) {\n while (Array.isArray(value)) {\n // This check is same as `isLView()` but we don't call at as we don't want to call\n // `Array.isArray()` twice and give JITer more work for inlining.\n if (typeof value[TYPE] === 'object') return value;\n value = value[HOST];\n }\n return null;\n}\n/**\n * Retrieves an element value from the provided `viewData`, by unwrapping\n * from any containers, component views, or style contexts.\n */\nfunction getNativeByIndex(index, lView) {\n ngDevMode && assertIndexInRange(lView, index);\n ngDevMode && assertGreaterThanOrEqual(index, HEADER_OFFSET, 'Expected to be past HEADER_OFFSET');\n return unwrapRNode(lView[index]);\n}\n/**\n * Retrieve an `RNode` for a given `TNode` and `LView`.\n *\n * This function guarantees in dev mode to retrieve a non-null `RNode`.\n *\n * @param tNode\n * @param lView\n */\nfunction getNativeByTNode(tNode, lView) {\n ngDevMode && assertTNodeForLView(tNode, lView);\n ngDevMode && assertIndexInRange(lView, tNode.index);\n const node = unwrapRNode(lView[tNode.index]);\n return node;\n}\n/**\n * Retrieve an `RNode` or `null` for a given `TNode` and `LView`.\n *\n * Some `TNode`s don't have associated `RNode`s. For example `Projection`\n *\n * @param tNode\n * @param lView\n */\nfunction getNativeByTNodeOrNull(tNode, lView) {\n const index = tNode === null ? -1 : tNode.index;\n if (index !== -1) {\n ngDevMode && assertTNodeForLView(tNode, lView);\n const node = unwrapRNode(lView[index]);\n return node;\n }\n return null;\n}\n// fixme(misko): The return Type should be `TNode|null`\nfunction getTNode(tView, index) {\n ngDevMode && assertGreaterThan(index, -1, 'wrong index for TNode');\n ngDevMode && assertLessThan(index, tView.data.length, 'wrong index for TNode');\n const tNode = tView.data[index];\n ngDevMode && tNode !== null && assertTNode(tNode);\n return tNode;\n}\n/** Retrieves a value from any `LView` or `TData`. */\nfunction load(view, index) {\n ngDevMode && assertIndexInRange(view, index);\n return view[index];\n}\nfunction getComponentLViewByIndex(nodeIndex, hostView) {\n // Could be an LView or an LContainer. If LContainer, unwrap to find LView.\n ngDevMode && assertIndexInRange(hostView, nodeIndex);\n const slotValue = hostView[nodeIndex];\n const lView = isLView(slotValue) ? slotValue : slotValue[HOST];\n return lView;\n}\n/** Checks whether a given view is in creation mode */\nfunction isCreationMode(view) {\n return (view[FLAGS] & 4 /* LViewFlags.CreationMode */) === 4 /* LViewFlags.CreationMode */;\n}\n/**\n * Returns a boolean for whether the view is attached to the change detection tree.\n *\n * Note: This determines whether a view should be checked, not whether it's inserted\n * into a container. For that, you'll want `viewAttachedToContainer` below.\n */\nfunction viewAttachedToChangeDetector(view) {\n return (view[FLAGS] & 64 /* LViewFlags.Attached */) === 64 /* LViewFlags.Attached */;\n}\n/** Returns a boolean for whether the view is attached to a container. */\nfunction viewAttachedToContainer(view) {\n return isLContainer(view[PARENT]);\n}\nfunction getConstant(consts, index) {\n if (index === null || index === undefined) return null;\n ngDevMode && assertIndexInRange(consts, index);\n return consts[index];\n}\n/**\n * Resets the pre-order hook flags of the view.\n * @param lView the LView on which the flags are reset\n */\nfunction resetPreOrderHookFlags(lView) {\n lView[PREORDER_HOOK_FLAGS] = 0;\n}\n/**\n * Updates the `TRANSPLANTED_VIEWS_TO_REFRESH` counter on the `LContainer` as well as the parents\n * whose\n * 1. counter goes from 0 to 1, indicating that there is a new child that has a view to refresh\n * or\n * 2. counter goes from 1 to 0, indicating there are no more descendant views to refresh\n */\nfunction updateTransplantedViewCount(lContainer, amount) {\n lContainer[TRANSPLANTED_VIEWS_TO_REFRESH] += amount;\n let viewOrContainer = lContainer;\n let parent = lContainer[PARENT];\n while (parent !== null && (amount === 1 && viewOrContainer[TRANSPLANTED_VIEWS_TO_REFRESH] === 1 || amount === -1 && viewOrContainer[TRANSPLANTED_VIEWS_TO_REFRESH] === 0)) {\n parent[TRANSPLANTED_VIEWS_TO_REFRESH] += amount;\n viewOrContainer = parent;\n parent = parent[PARENT];\n }\n}\nconst instructionState = {\n lFrame: /*#__PURE__*/createLFrame(null),\n bindingsEnabled: true\n};\n/**\n * In this mode, any changes in bindings will throw an ExpressionChangedAfterChecked error.\n *\n * Necessary to support ChangeDetectorRef.checkNoChanges().\n *\n * The `checkNoChanges` function is invoked only in ngDevMode=true and verifies that no unintended\n * changes exist in the change detector or its children.\n */\nlet _isInCheckNoChangesMode = false;\n/**\n * Returns true if the instruction state stack is empty.\n *\n * Intended to be called from tests only (tree shaken otherwise).\n */\nfunction specOnlyIsInstructionStateEmpty() {\n return instructionState.lFrame.parent === null;\n}\nfunction getElementDepthCount() {\n return instructionState.lFrame.elementDepthCount;\n}\nfunction increaseElementDepthCount() {\n instructionState.lFrame.elementDepthCount++;\n}\nfunction decreaseElementDepthCount() {\n instructionState.lFrame.elementDepthCount--;\n}\nfunction getBindingsEnabled() {\n return instructionState.bindingsEnabled;\n}\n/**\n * Enables directive matching on elements.\n *\n * * Example:\n * ```\n * \n * Should match component / directive.\n * \n *
\n * \n * \n * Should not match component / directive because we are in ngNonBindable.\n * \n * \n *
\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵenableBindings() {\n instructionState.bindingsEnabled = true;\n}\n/**\n * Disables directive matching on element.\n *\n * * Example:\n * ```\n * \n * Should match component / directive.\n * \n *
\n * \n * \n * Should not match component / directive because we are in ngNonBindable.\n * \n * \n *
\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵdisableBindings() {\n instructionState.bindingsEnabled = false;\n}\n/**\n * Return the current `LView`.\n */\nfunction getLView() {\n return instructionState.lFrame.lView;\n}\n/**\n * Return the current `TView`.\n */\nfunction getTView() {\n return instructionState.lFrame.tView;\n}\n/**\n * Restores `contextViewData` to the given OpaqueViewState instance.\n *\n * Used in conjunction with the getCurrentView() instruction to save a snapshot\n * of the current view and restore it when listeners are invoked. This allows\n * walking the declaration view tree in listeners to get vars from parent views.\n *\n * @param viewToRestore The OpaqueViewState instance to restore.\n * @returns Context of the restored OpaqueViewState instance.\n *\n * @codeGenApi\n */\nfunction ɵɵrestoreView(viewToRestore) {\n instructionState.lFrame.contextLView = viewToRestore;\n return viewToRestore[CONTEXT];\n}\n/**\n * Clears the view set in `ɵɵrestoreView` from memory. Returns the passed in\n * value so that it can be used as a return value of an instruction.\n *\n * @codeGenApi\n */\nfunction ɵɵresetView(value) {\n instructionState.lFrame.contextLView = null;\n return value;\n}\nfunction getCurrentTNode() {\n let currentTNode = getCurrentTNodePlaceholderOk();\n while (currentTNode !== null && currentTNode.type === 64 /* TNodeType.Placeholder */) {\n currentTNode = currentTNode.parent;\n }\n return currentTNode;\n}\nfunction getCurrentTNodePlaceholderOk() {\n return instructionState.lFrame.currentTNode;\n}\nfunction getCurrentParentTNode() {\n const lFrame = instructionState.lFrame;\n const currentTNode = lFrame.currentTNode;\n return lFrame.isParent ? currentTNode : currentTNode.parent;\n}\nfunction setCurrentTNode(tNode, isParent) {\n ngDevMode && tNode && assertTNodeForTView(tNode, instructionState.lFrame.tView);\n const lFrame = instructionState.lFrame;\n lFrame.currentTNode = tNode;\n lFrame.isParent = isParent;\n}\nfunction isCurrentTNodeParent() {\n return instructionState.lFrame.isParent;\n}\nfunction setCurrentTNodeAsNotParent() {\n instructionState.lFrame.isParent = false;\n}\nfunction getContextLView() {\n const contextLView = instructionState.lFrame.contextLView;\n ngDevMode && assertDefined(contextLView, 'contextLView must be defined.');\n return contextLView;\n}\nfunction isInCheckNoChangesMode() {\n !ngDevMode && throwError('Must never be called in production mode');\n return _isInCheckNoChangesMode;\n}\nfunction setIsInCheckNoChangesMode(mode) {\n !ngDevMode && throwError('Must never be called in production mode');\n _isInCheckNoChangesMode = mode;\n}\n// top level variables should not be exported for performance reasons (PERF_NOTES.md)\nfunction getBindingRoot() {\n const lFrame = instructionState.lFrame;\n let index = lFrame.bindingRootIndex;\n if (index === -1) {\n index = lFrame.bindingRootIndex = lFrame.tView.bindingStartIndex;\n }\n return index;\n}\nfunction getBindingIndex() {\n return instructionState.lFrame.bindingIndex;\n}\nfunction setBindingIndex(value) {\n return instructionState.lFrame.bindingIndex = value;\n}\nfunction nextBindingIndex() {\n return instructionState.lFrame.bindingIndex++;\n}\nfunction incrementBindingIndex(count) {\n const lFrame = instructionState.lFrame;\n const index = lFrame.bindingIndex;\n lFrame.bindingIndex = lFrame.bindingIndex + count;\n return index;\n}\nfunction isInI18nBlock() {\n return instructionState.lFrame.inI18n;\n}\nfunction setInI18nBlock(isInI18nBlock) {\n instructionState.lFrame.inI18n = isInI18nBlock;\n}\n/**\n * Set a new binding root index so that host template functions can execute.\n *\n * Bindings inside the host template are 0 index. But because we don't know ahead of time\n * how many host bindings we have we can't pre-compute them. For this reason they are all\n * 0 index and we just shift the root so that they match next available location in the LView.\n *\n * @param bindingRootIndex Root index for `hostBindings`\n * @param currentDirectiveIndex `TData[currentDirectiveIndex]` will point to the current directive\n * whose `hostBindings` are being processed.\n */\nfunction setBindingRootForHostBindings(bindingRootIndex, currentDirectiveIndex) {\n const lFrame = instructionState.lFrame;\n lFrame.bindingIndex = lFrame.bindingRootIndex = bindingRootIndex;\n setCurrentDirectiveIndex(currentDirectiveIndex);\n}\n/**\n * When host binding is executing this points to the directive index.\n * `TView.data[getCurrentDirectiveIndex()]` is `DirectiveDef`\n * `LView[getCurrentDirectiveIndex()]` is directive instance.\n */\nfunction getCurrentDirectiveIndex() {\n return instructionState.lFrame.currentDirectiveIndex;\n}\n/**\n * Sets an index of a directive whose `hostBindings` are being processed.\n *\n * @param currentDirectiveIndex `TData` index where current directive instance can be found.\n */\nfunction setCurrentDirectiveIndex(currentDirectiveIndex) {\n instructionState.lFrame.currentDirectiveIndex = currentDirectiveIndex;\n}\n/**\n * Retrieve the current `DirectiveDef` which is active when `hostBindings` instruction is being\n * executed.\n *\n * @param tData Current `TData` where the `DirectiveDef` will be looked up at.\n */\nfunction getCurrentDirectiveDef(tData) {\n const currentDirectiveIndex = instructionState.lFrame.currentDirectiveIndex;\n return currentDirectiveIndex === -1 ? null : tData[currentDirectiveIndex];\n}\nfunction getCurrentQueryIndex() {\n return instructionState.lFrame.currentQueryIndex;\n}\nfunction setCurrentQueryIndex(value) {\n instructionState.lFrame.currentQueryIndex = value;\n}\n/**\n * Returns a `TNode` of the location where the current `LView` is declared at.\n *\n * @param lView an `LView` that we want to find parent `TNode` for.\n */\nfunction getDeclarationTNode(lView) {\n const tView = lView[TVIEW];\n // Return the declaration parent for embedded views\n if (tView.type === 2 /* TViewType.Embedded */) {\n ngDevMode && assertDefined(tView.declTNode, 'Embedded TNodes should have declaration parents.');\n return tView.declTNode;\n }\n // Components don't have `TView.declTNode` because each instance of component could be\n // inserted in different location, hence `TView.declTNode` is meaningless.\n // Falling back to `T_HOST` in case we cross component boundary.\n if (tView.type === 1 /* TViewType.Component */) {\n return lView[T_HOST];\n }\n // Remaining TNode type is `TViewType.Root` which doesn't have a parent TNode.\n return null;\n}\n/**\n * This is a light weight version of the `enterView` which is needed by the DI system.\n *\n * @param lView `LView` location of the DI context.\n * @param tNode `TNode` for DI context\n * @param flags DI context flags. if `SkipSelf` flag is set than we walk up the declaration\n * tree from `tNode` until we find parent declared `TElementNode`.\n * @returns `true` if we have successfully entered DI associated with `tNode` (or with declared\n * `TNode` if `flags` has `SkipSelf`). Failing to enter DI implies that no associated\n * `NodeInjector` can be found and we should instead use `ModuleInjector`.\n * - If `true` than this call must be fallowed by `leaveDI`\n * - If `false` than this call failed and we should NOT call `leaveDI`\n */\nfunction enterDI(lView, tNode, flags) {\n ngDevMode && assertLViewOrUndefined(lView);\n if (flags & InjectFlags.SkipSelf) {\n ngDevMode && assertTNodeForTView(tNode, lView[TVIEW]);\n let parentTNode = tNode;\n let parentLView = lView;\n while (true) {\n ngDevMode && assertDefined(parentTNode, 'Parent TNode should be defined');\n parentTNode = parentTNode.parent;\n if (parentTNode === null && !(flags & InjectFlags.Host)) {\n parentTNode = getDeclarationTNode(parentLView);\n if (parentTNode === null) break;\n // In this case, a parent exists and is definitely an element. So it will definitely\n // have an existing lView as the declaration view, which is why we can assume it's defined.\n ngDevMode && assertDefined(parentLView, 'Parent LView should be defined');\n parentLView = parentLView[DECLARATION_VIEW];\n // In Ivy there are Comment nodes that correspond to ngIf and NgFor embedded directives\n // We want to skip those and look only at Elements and ElementContainers to ensure\n // we're looking at true parent nodes, and not content or other types.\n if (parentTNode.type & (2 /* TNodeType.Element */ | 8 /* TNodeType.ElementContainer */)) {\n break;\n }\n } else {\n break;\n }\n }\n if (parentTNode === null) {\n // If we failed to find a parent TNode this means that we should use module injector.\n return false;\n } else {\n tNode = parentTNode;\n lView = parentLView;\n }\n }\n ngDevMode && assertTNodeForLView(tNode, lView);\n const lFrame = instructionState.lFrame = allocLFrame();\n lFrame.currentTNode = tNode;\n lFrame.lView = lView;\n return true;\n}\n/**\n * Swap the current lView with a new lView.\n *\n * For performance reasons we store the lView in the top level of the module.\n * This way we minimize the number of properties to read. Whenever a new view\n * is entered we have to store the lView for later, and when the view is\n * exited the state has to be restored\n *\n * @param newView New lView to become active\n * @returns the previously active lView;\n */\nfunction enterView(newView) {\n ngDevMode && assertNotEqual(newView[0], newView[1], '????');\n ngDevMode && assertLViewOrUndefined(newView);\n const newLFrame = allocLFrame();\n if (ngDevMode) {\n assertEqual(newLFrame.isParent, true, 'Expected clean LFrame');\n assertEqual(newLFrame.lView, null, 'Expected clean LFrame');\n assertEqual(newLFrame.tView, null, 'Expected clean LFrame');\n assertEqual(newLFrame.selectedIndex, -1, 'Expected clean LFrame');\n assertEqual(newLFrame.elementDepthCount, 0, 'Expected clean LFrame');\n assertEqual(newLFrame.currentDirectiveIndex, -1, 'Expected clean LFrame');\n assertEqual(newLFrame.currentNamespace, null, 'Expected clean LFrame');\n assertEqual(newLFrame.bindingRootIndex, -1, 'Expected clean LFrame');\n assertEqual(newLFrame.currentQueryIndex, 0, 'Expected clean LFrame');\n }\n const tView = newView[TVIEW];\n instructionState.lFrame = newLFrame;\n ngDevMode && tView.firstChild && assertTNodeForTView(tView.firstChild, tView);\n newLFrame.currentTNode = tView.firstChild;\n newLFrame.lView = newView;\n newLFrame.tView = tView;\n newLFrame.contextLView = newView;\n newLFrame.bindingIndex = tView.bindingStartIndex;\n newLFrame.inI18n = false;\n}\n/**\n * Allocates next free LFrame. This function tries to reuse the `LFrame`s to lower memory pressure.\n */\nfunction allocLFrame() {\n const currentLFrame = instructionState.lFrame;\n const childLFrame = currentLFrame === null ? null : currentLFrame.child;\n const newLFrame = childLFrame === null ? createLFrame(currentLFrame) : childLFrame;\n return newLFrame;\n}\nfunction createLFrame(parent) {\n const lFrame = {\n currentTNode: null,\n isParent: true,\n lView: null,\n tView: null,\n selectedIndex: -1,\n contextLView: null,\n elementDepthCount: 0,\n currentNamespace: null,\n currentDirectiveIndex: -1,\n bindingRootIndex: -1,\n bindingIndex: -1,\n currentQueryIndex: 0,\n parent: parent,\n child: null,\n inI18n: false\n };\n parent !== null && (parent.child = lFrame); // link the new LFrame for reuse.\n return lFrame;\n}\n/**\n * A lightweight version of leave which is used with DI.\n *\n * This function only resets `currentTNode` and `LView` as those are the only properties\n * used with DI (`enterDI()`).\n *\n * NOTE: This function is reexported as `leaveDI`. However `leaveDI` has return type of `void` where\n * as `leaveViewLight` has `LFrame`. This is so that `leaveViewLight` can be used in `leaveView`.\n */\nfunction leaveViewLight() {\n const oldLFrame = instructionState.lFrame;\n instructionState.lFrame = oldLFrame.parent;\n oldLFrame.currentTNode = null;\n oldLFrame.lView = null;\n return oldLFrame;\n}\n/**\n * This is a lightweight version of the `leaveView` which is needed by the DI system.\n *\n * NOTE: this function is an alias so that we can change the type of the function to have `void`\n * return type.\n */\nconst leaveDI = leaveViewLight;\n/**\n * Leave the current `LView`\n *\n * This pops the `LFrame` with the associated `LView` from the stack.\n *\n * IMPORTANT: We must zero out the `LFrame` values here otherwise they will be retained. This is\n * because for performance reasons we don't release `LFrame` but rather keep it for next use.\n */\nfunction leaveView() {\n const oldLFrame = leaveViewLight();\n oldLFrame.isParent = true;\n oldLFrame.tView = null;\n oldLFrame.selectedIndex = -1;\n oldLFrame.contextLView = null;\n oldLFrame.elementDepthCount = 0;\n oldLFrame.currentDirectiveIndex = -1;\n oldLFrame.currentNamespace = null;\n oldLFrame.bindingRootIndex = -1;\n oldLFrame.bindingIndex = -1;\n oldLFrame.currentQueryIndex = 0;\n}\nfunction nextContextImpl(level) {\n const contextLView = instructionState.lFrame.contextLView = walkUpViews(level, instructionState.lFrame.contextLView);\n return contextLView[CONTEXT];\n}\nfunction walkUpViews(nestingLevel, currentView) {\n while (nestingLevel > 0) {\n ngDevMode && assertDefined(currentView[DECLARATION_VIEW], 'Declaration view should be defined if nesting level is greater than 0.');\n currentView = currentView[DECLARATION_VIEW];\n nestingLevel--;\n }\n return currentView;\n}\n/**\n * Gets the currently selected element index.\n *\n * Used with {@link property} instruction (and more in the future) to identify the index in the\n * current `LView` to act on.\n */\nfunction getSelectedIndex() {\n return instructionState.lFrame.selectedIndex;\n}\n/**\n * Sets the most recent index passed to {@link select}\n *\n * Used with {@link property} instruction (and more in the future) to identify the index in the\n * current `LView` to act on.\n *\n * (Note that if an \"exit function\" was set earlier (via `setElementExitFn()`) then that will be\n * run if and when the provided `index` value is different from the current selected index value.)\n */\nfunction setSelectedIndex(index) {\n ngDevMode && index !== -1 && assertGreaterThanOrEqual(index, HEADER_OFFSET, 'Index must be past HEADER_OFFSET (or -1).');\n ngDevMode && assertLessThan(index, instructionState.lFrame.lView.length, 'Can\\'t set index passed end of LView');\n instructionState.lFrame.selectedIndex = index;\n}\n/**\n * Gets the `tNode` that represents currently selected element.\n */\nfunction getSelectedTNode() {\n const lFrame = instructionState.lFrame;\n return getTNode(lFrame.tView, lFrame.selectedIndex);\n}\n/**\n * Sets the namespace used to create elements to `'http://www.w3.org/2000/svg'` in global state.\n *\n * @codeGenApi\n */\nfunction ɵɵnamespaceSVG() {\n instructionState.lFrame.currentNamespace = SVG_NAMESPACE;\n}\n/**\n * Sets the namespace used to create elements to `'http://www.w3.org/1998/MathML/'` in global state.\n *\n * @codeGenApi\n */\nfunction ɵɵnamespaceMathML() {\n instructionState.lFrame.currentNamespace = MATH_ML_NAMESPACE;\n}\n/**\n * Sets the namespace used to create elements to `null`, which forces element creation to use\n * `createElement` rather than `createElementNS`.\n *\n * @codeGenApi\n */\nfunction ɵɵnamespaceHTML() {\n namespaceHTMLInternal();\n}\n/**\n * Sets the namespace used to create elements to `null`, which forces element creation to use\n * `createElement` rather than `createElementNS`.\n */\nfunction namespaceHTMLInternal() {\n instructionState.lFrame.currentNamespace = null;\n}\nfunction getNamespace$1() {\n return instructionState.lFrame.currentNamespace;\n}\n\n/**\n * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`.\n *\n * Must be run *only* on the first template pass.\n *\n * Sets up the pre-order hooks on the provided `tView`,\n * see {@link HookData} for details about the data structure.\n *\n * @param directiveIndex The index of the directive in LView\n * @param directiveDef The definition containing the hooks to setup in tView\n * @param tView The current TView\n */\nfunction registerPreOrderHooks(directiveIndex, directiveDef, tView) {\n ngDevMode && assertFirstCreatePass(tView);\n const {\n ngOnChanges,\n ngOnInit,\n ngDoCheck\n } = directiveDef.type.prototype;\n if (ngOnChanges) {\n const wrappedOnChanges = NgOnChangesFeatureImpl(directiveDef);\n (tView.preOrderHooks ?? (tView.preOrderHooks = [])).push(directiveIndex, wrappedOnChanges);\n (tView.preOrderCheckHooks ?? (tView.preOrderCheckHooks = [])).push(directiveIndex, wrappedOnChanges);\n }\n if (ngOnInit) {\n (tView.preOrderHooks ?? (tView.preOrderHooks = [])).push(0 - directiveIndex, ngOnInit);\n }\n if (ngDoCheck) {\n (tView.preOrderHooks ?? (tView.preOrderHooks = [])).push(directiveIndex, ngDoCheck);\n (tView.preOrderCheckHooks ?? (tView.preOrderCheckHooks = [])).push(directiveIndex, ngDoCheck);\n }\n}\n/**\n *\n * Loops through the directives on the provided `tNode` and queues hooks to be\n * run that are not initialization hooks.\n *\n * Should be executed during `elementEnd()` and similar to\n * preserve hook execution order. Content, view, and destroy hooks for projected\n * components and directives must be called *before* their hosts.\n *\n * Sets up the content, view, and destroy hooks on the provided `tView`,\n * see {@link HookData} for details about the data structure.\n *\n * NOTE: This does not set up `onChanges`, `onInit` or `doCheck`, those are set up\n * separately at `elementStart`.\n *\n * @param tView The current TView\n * @param tNode The TNode whose directives are to be searched for hooks to queue\n */\nfunction registerPostOrderHooks(tView, tNode) {\n ngDevMode && assertFirstCreatePass(tView);\n // It's necessary to loop through the directives at elementEnd() (rather than processing in\n // directiveCreate) so we can preserve the current hook order. Content, view, and destroy\n // hooks for projected components and directives must be called *before* their hosts.\n for (let i = tNode.directiveStart, end = tNode.directiveEnd; i < end; i++) {\n const directiveDef = tView.data[i];\n ngDevMode && assertDefined(directiveDef, 'Expecting DirectiveDef');\n const lifecycleHooks = directiveDef.type.prototype;\n const {\n ngAfterContentInit,\n ngAfterContentChecked,\n ngAfterViewInit,\n ngAfterViewChecked,\n ngOnDestroy\n } = lifecycleHooks;\n if (ngAfterContentInit) {\n (tView.contentHooks ?? (tView.contentHooks = [])).push(-i, ngAfterContentInit);\n }\n if (ngAfterContentChecked) {\n (tView.contentHooks ?? (tView.contentHooks = [])).push(i, ngAfterContentChecked);\n (tView.contentCheckHooks ?? (tView.contentCheckHooks = [])).push(i, ngAfterContentChecked);\n }\n if (ngAfterViewInit) {\n (tView.viewHooks ?? (tView.viewHooks = [])).push(-i, ngAfterViewInit);\n }\n if (ngAfterViewChecked) {\n (tView.viewHooks ?? (tView.viewHooks = [])).push(i, ngAfterViewChecked);\n (tView.viewCheckHooks ?? (tView.viewCheckHooks = [])).push(i, ngAfterViewChecked);\n }\n if (ngOnDestroy != null) {\n (tView.destroyHooks ?? (tView.destroyHooks = [])).push(i, ngOnDestroy);\n }\n }\n}\n/**\n * Executing hooks requires complex logic as we need to deal with 2 constraints.\n *\n * 1. Init hooks (ngOnInit, ngAfterContentInit, ngAfterViewInit) must all be executed once and only\n * once, across many change detection cycles. This must be true even if some hooks throw, or if\n * some recursively trigger a change detection cycle.\n * To solve that, it is required to track the state of the execution of these init hooks.\n * This is done by storing and maintaining flags in the view: the {@link InitPhaseState},\n * and the index within that phase. They can be seen as a cursor in the following structure:\n * [[onInit1, onInit2], [afterContentInit1], [afterViewInit1, afterViewInit2, afterViewInit3]]\n * They are are stored as flags in LView[FLAGS].\n *\n * 2. Pre-order hooks can be executed in batches, because of the select instruction.\n * To be able to pause and resume their execution, we also need some state about the hook's array\n * that is being processed:\n * - the index of the next hook to be executed\n * - the number of init hooks already found in the processed part of the array\n * They are are stored as flags in LView[PREORDER_HOOK_FLAGS].\n */\n/**\n * Executes pre-order check hooks ( OnChanges, DoChanges) given a view where all the init hooks were\n * executed once. This is a light version of executeInitAndCheckPreOrderHooks where we can skip read\n * / write of the init-hooks related flags.\n * @param lView The LView where hooks are defined\n * @param hooks Hooks to be run\n * @param nodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n */\nfunction executeCheckHooks(lView, hooks, nodeIndex) {\n callHooks(lView, hooks, 3 /* InitPhaseState.InitPhaseCompleted */, nodeIndex);\n}\n/**\n * Executes post-order init and check hooks (one of AfterContentInit, AfterContentChecked,\n * AfterViewInit, AfterViewChecked) given a view where there are pending init hooks to be executed.\n * @param lView The LView where hooks are defined\n * @param hooks Hooks to be run\n * @param initPhase A phase for which hooks should be run\n * @param nodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n */\nfunction executeInitAndCheckHooks(lView, hooks, initPhase, nodeIndex) {\n ngDevMode && assertNotEqual(initPhase, 3 /* InitPhaseState.InitPhaseCompleted */, 'Init pre-order hooks should not be called more than once');\n if ((lView[FLAGS] & 3 /* LViewFlags.InitPhaseStateMask */) === initPhase) {\n callHooks(lView, hooks, initPhase, nodeIndex);\n }\n}\nfunction incrementInitPhaseFlags(lView, initPhase) {\n ngDevMode && assertNotEqual(initPhase, 3 /* InitPhaseState.InitPhaseCompleted */, 'Init hooks phase should not be incremented after all init hooks have been run.');\n let flags = lView[FLAGS];\n if ((flags & 3 /* LViewFlags.InitPhaseStateMask */) === initPhase) {\n flags &= 2047 /* LViewFlags.IndexWithinInitPhaseReset */;\n flags += 1 /* LViewFlags.InitPhaseStateIncrementer */;\n lView[FLAGS] = flags;\n }\n}\n/**\n * Calls lifecycle hooks with their contexts, skipping init hooks if it's not\n * the first LView pass\n *\n * @param currentView The current view\n * @param arr The array in which the hooks are found\n * @param initPhaseState the current state of the init phase\n * @param currentNodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n */\nfunction callHooks(currentView, arr, initPhase, currentNodeIndex) {\n ngDevMode && assertEqual(isInCheckNoChangesMode(), false, 'Hooks should never be run when in check no changes mode.');\n const startIndex = currentNodeIndex !== undefined ? currentView[PREORDER_HOOK_FLAGS] & 65535 /* PreOrderHookFlags.IndexOfTheNextPreOrderHookMaskMask */ : 0;\n const nodeIndexLimit = currentNodeIndex != null ? currentNodeIndex : -1;\n const max = arr.length - 1; // Stop the loop at length - 1, because we look for the hook at i + 1\n let lastNodeIndexFound = 0;\n for (let i = startIndex; i < max; i++) {\n const hook = arr[i + 1];\n if (typeof hook === 'number') {\n lastNodeIndexFound = arr[i];\n if (currentNodeIndex != null && lastNodeIndexFound >= currentNodeIndex) {\n break;\n }\n } else {\n const isInitHook = arr[i] < 0;\n if (isInitHook) currentView[PREORDER_HOOK_FLAGS] += 65536 /* PreOrderHookFlags.NumberOfInitHooksCalledIncrementer */;\n if (lastNodeIndexFound < nodeIndexLimit || nodeIndexLimit == -1) {\n callHook(currentView, initPhase, arr, i);\n currentView[PREORDER_HOOK_FLAGS] = (currentView[PREORDER_HOOK_FLAGS] & 4294901760 /* PreOrderHookFlags.NumberOfInitHooksCalledMask */) + i + 2;\n }\n i++;\n }\n }\n}\n/**\n * Execute one hook against the current `LView`.\n *\n * @param currentView The current view\n * @param initPhaseState the current state of the init phase\n * @param arr The array in which the hooks are found\n * @param i The current index within the hook data array\n */\nfunction callHook(currentView, initPhase, arr, i) {\n const isInitHook = arr[i] < 0;\n const hook = arr[i + 1];\n const directiveIndex = isInitHook ? -arr[i] : arr[i];\n const directive = currentView[directiveIndex];\n if (isInitHook) {\n const indexWithintInitPhase = currentView[FLAGS] >> 11 /* LViewFlags.IndexWithinInitPhaseShift */;\n // The init phase state must be always checked here as it may have been recursively updated.\n if (indexWithintInitPhase < currentView[PREORDER_HOOK_FLAGS] >> 16 /* PreOrderHookFlags.NumberOfInitHooksCalledShift */ && (currentView[FLAGS] & 3 /* LViewFlags.InitPhaseStateMask */) === initPhase) {\n currentView[FLAGS] += 2048 /* LViewFlags.IndexWithinInitPhaseIncrementer */;\n profiler(4 /* ProfilerEvent.LifecycleHookStart */, directive, hook);\n try {\n hook.call(directive);\n } finally {\n profiler(5 /* ProfilerEvent.LifecycleHookEnd */, directive, hook);\n }\n }\n } else {\n profiler(4 /* ProfilerEvent.LifecycleHookStart */, directive, hook);\n try {\n hook.call(directive);\n } finally {\n profiler(5 /* ProfilerEvent.LifecycleHookEnd */, directive, hook);\n }\n }\n}\nconst NO_PARENT_INJECTOR = -1;\n/**\n * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in\n * `TView.data`. This allows us to store information about the current node's tokens (which\n * can be shared in `TView`) as well as the tokens of its ancestor nodes (which cannot be\n * shared, so they live in `LView`).\n *\n * Each of these slots (aside from the last slot) contains a bloom filter. This bloom filter\n * determines whether a directive is available on the associated node or not. This prevents us\n * from searching the directives array at this level unless it's probable the directive is in it.\n *\n * See: https://en.wikipedia.org/wiki/Bloom_filter for more about bloom filters.\n *\n * Because all injectors have been flattened into `LView` and `TViewData`, they cannot typed\n * using interfaces as they were previously. The start index of each `LInjector` and `TInjector`\n * will differ based on where it is flattened into the main array, so it's not possible to know\n * the indices ahead of time and save their types here. The interfaces are still included here\n * for documentation purposes.\n *\n * export interface LInjector extends Array {\n *\n * // Cumulative bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE)\n * [0]: number;\n *\n * // Cumulative bloom for directive IDs 32-63\n * [1]: number;\n *\n * // Cumulative bloom for directive IDs 64-95\n * [2]: number;\n *\n * // Cumulative bloom for directive IDs 96-127\n * [3]: number;\n *\n * // Cumulative bloom for directive IDs 128-159\n * [4]: number;\n *\n * // Cumulative bloom for directive IDs 160 - 191\n * [5]: number;\n *\n * // Cumulative bloom for directive IDs 192 - 223\n * [6]: number;\n *\n * // Cumulative bloom for directive IDs 224 - 255\n * [7]: number;\n *\n * // We need to store a reference to the injector's parent so DI can keep looking up\n * // the injector tree until it finds the dependency it's looking for.\n * [PARENT_INJECTOR]: number;\n * }\n *\n * export interface TInjector extends Array {\n *\n * // Shared node bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE)\n * [0]: number;\n *\n * // Shared node bloom for directive IDs 32-63\n * [1]: number;\n *\n * // Shared node bloom for directive IDs 64-95\n * [2]: number;\n *\n * // Shared node bloom for directive IDs 96-127\n * [3]: number;\n *\n * // Shared node bloom for directive IDs 128-159\n * [4]: number;\n *\n * // Shared node bloom for directive IDs 160 - 191\n * [5]: number;\n *\n * // Shared node bloom for directive IDs 192 - 223\n * [6]: number;\n *\n * // Shared node bloom for directive IDs 224 - 255\n * [7]: number;\n *\n * // Necessary to find directive indices for a particular node.\n * [TNODE]: TElementNode|TElementContainerNode|TContainerNode;\n * }\n */\n/**\n * Factory for creating instances of injectors in the NodeInjector.\n *\n * This factory is complicated by the fact that it can resolve `multi` factories as well.\n *\n * NOTE: Some of the fields are optional which means that this class has two hidden classes.\n * - One without `multi` support (most common)\n * - One with `multi` values, (rare).\n *\n * Since VMs can cache up to 4 inline hidden classes this is OK.\n *\n * - Single factory: Only `resolving` and `factory` is defined.\n * - `providers` factory: `componentProviders` is a number and `index = -1`.\n * - `viewProviders` factory: `componentProviders` is a number and `index` points to `providers`.\n */\nclass NodeInjectorFactory {\n constructor(\n /**\n * Factory to invoke in order to create a new instance.\n */\n factory,\n /**\n * Set to `true` if the token is declared in `viewProviders` (or if it is component).\n */\n isViewProvider, injectImplementation) {\n this.factory = factory;\n /**\n * Marker set to true during factory invocation to see if we get into recursive loop.\n * Recursive loop causes an error to be displayed.\n */\n this.resolving = false;\n ngDevMode && assertDefined(factory, 'Factory not specified');\n ngDevMode && assertEqual(typeof factory, 'function', 'Expected factory function.');\n this.canSeeViewProviders = isViewProvider;\n this.injectImpl = injectImplementation;\n }\n}\nfunction isFactory(obj) {\n return obj instanceof NodeInjectorFactory;\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\nconst unusedValueExportToPlacateAjd$2 = 1;\n\n/**\n * Converts `TNodeType` into human readable text.\n * Make sure this matches with `TNodeType`\n */\nfunction toTNodeTypeAsString(tNodeType) {\n let text = '';\n tNodeType & 1 /* TNodeType.Text */ && (text += '|Text');\n tNodeType & 2 /* TNodeType.Element */ && (text += '|Element');\n tNodeType & 4 /* TNodeType.Container */ && (text += '|Container');\n tNodeType & 8 /* TNodeType.ElementContainer */ && (text += '|ElementContainer');\n tNodeType & 16 /* TNodeType.Projection */ && (text += '|Projection');\n tNodeType & 32 /* TNodeType.Icu */ && (text += '|IcuContainer');\n tNodeType & 64 /* TNodeType.Placeholder */ && (text += '|Placeholder');\n return text.length > 0 ? text.substring(1) : text;\n}\n// Note: This hack is necessary so we don't erroneously get a circular dependency\n// failure based on types.\nconst unusedValueExportToPlacateAjd$1 = 1;\n/**\n * Returns `true` if the `TNode` has a directive which has `@Input()` for `class` binding.\n *\n * ```\n *
\n * ```\n * and\n * ```\n * @Directive({\n * })\n * class MyDirective {\n * @Input()\n * class: string;\n * }\n * ```\n *\n * In the above case it is necessary to write the reconciled styling information into the\n * directive's input.\n *\n * @param tNode\n */\nfunction hasClassInput(tNode) {\n return (tNode.flags & 8 /* TNodeFlags.hasClassInput */) !== 0;\n}\n/**\n * Returns `true` if the `TNode` has a directive which has `@Input()` for `style` binding.\n *\n * ```\n *
\n * ```\n * and\n * ```\n * @Directive({\n * })\n * class MyDirective {\n * @Input()\n * class: string;\n * }\n * ```\n *\n * In the above case it is necessary to write the reconciled styling information into the\n * directive's input.\n *\n * @param tNode\n */\nfunction hasStyleInput(tNode) {\n return (tNode.flags & 16 /* TNodeFlags.hasStyleInput */) !== 0;\n}\nfunction assertTNodeType(tNode, expectedTypes, message) {\n assertDefined(tNode, 'should be called with a TNode');\n if ((tNode.type & expectedTypes) === 0) {\n throwError(message || `Expected [${toTNodeTypeAsString(expectedTypes)}] but got ${toTNodeTypeAsString(tNode.type)}.`);\n }\n}\nfunction assertPureTNodeType(type) {\n if (!(type === 2 /* TNodeType.Element */ ||\n //\n type === 1 /* TNodeType.Text */ ||\n //\n type === 4 /* TNodeType.Container */ ||\n //\n type === 8 /* TNodeType.ElementContainer */ ||\n //\n type === 32 /* TNodeType.Icu */ ||\n //\n type === 16 /* TNodeType.Projection */ ||\n //\n type === 64 /* TNodeType.Placeholder */)) {\n throwError(`Expected TNodeType to have only a single type selected, but got ${toTNodeTypeAsString(type)}.`);\n }\n}\n\n/**\n * Assigns all attribute values to the provided element via the inferred renderer.\n *\n * This function accepts two forms of attribute entries:\n *\n * default: (key, value):\n * attrs = [key1, value1, key2, value2]\n *\n * namespaced: (NAMESPACE_MARKER, uri, name, value)\n * attrs = [NAMESPACE_MARKER, uri, name, value, NAMESPACE_MARKER, uri, name, value]\n *\n * The `attrs` array can contain a mix of both the default and namespaced entries.\n * The \"default\" values are set without a marker, but if the function comes across\n * a marker value then it will attempt to set a namespaced value. If the marker is\n * not of a namespaced value then the function will quit and return the index value\n * where it stopped during the iteration of the attrs array.\n *\n * See [AttributeMarker] to understand what the namespace marker value is.\n *\n * Note that this instruction does not support assigning style and class values to\n * an element. See `elementStart` and `elementHostAttrs` to learn how styling values\n * are applied to an element.\n * @param renderer The renderer to be used\n * @param native The element that the attributes will be assigned to\n * @param attrs The attribute array of values that will be assigned to the element\n * @returns the index value that was last accessed in the attributes array\n */\nfunction setUpAttributes(renderer, native, attrs) {\n let i = 0;\n while (i < attrs.length) {\n const value = attrs[i];\n if (typeof value === 'number') {\n // only namespaces are supported. Other value types (such as style/class\n // entries) are not supported in this function.\n if (value !== 0 /* AttributeMarker.NamespaceURI */) {\n break;\n }\n // we just landed on the marker value ... therefore\n // we should skip to the next entry\n i++;\n const namespaceURI = attrs[i++];\n const attrName = attrs[i++];\n const attrVal = attrs[i++];\n ngDevMode && ngDevMode.rendererSetAttribute++;\n renderer.setAttribute(native, attrName, attrVal, namespaceURI);\n } else {\n // attrName is string;\n const attrName = value;\n const attrVal = attrs[++i];\n // Standard attributes\n ngDevMode && ngDevMode.rendererSetAttribute++;\n if (isAnimationProp(attrName)) {\n renderer.setProperty(native, attrName, attrVal);\n } else {\n renderer.setAttribute(native, attrName, attrVal);\n }\n i++;\n }\n }\n // another piece of code may iterate over the same attributes array. Therefore\n // it may be helpful to return the exact spot where the attributes array exited\n // whether by running into an unsupported marker or if all the static values were\n // iterated over.\n return i;\n}\n/**\n * Test whether the given value is a marker that indicates that the following\n * attribute values in a `TAttributes` array are only the names of attributes,\n * and not name-value pairs.\n * @param marker The attribute marker to test.\n * @returns true if the marker is a \"name-only\" marker (e.g. `Bindings`, `Template` or `I18n`).\n */\nfunction isNameOnlyAttributeMarker(marker) {\n return marker === 3 /* AttributeMarker.Bindings */ || marker === 4 /* AttributeMarker.Template */ || marker === 6 /* AttributeMarker.I18n */;\n}\n\nfunction isAnimationProp(name) {\n // Perf note: accessing charCodeAt to check for the first character of a string is faster as\n // compared to accessing a character at index 0 (ex. name[0]). The main reason for this is that\n // charCodeAt doesn't allocate memory to return a substring.\n return name.charCodeAt(0) === 64 /* CharCode.AT_SIGN */;\n}\n/**\n * Merges `src` `TAttributes` into `dst` `TAttributes` removing any duplicates in the process.\n *\n * This merge function keeps the order of attrs same.\n *\n * @param dst Location of where the merged `TAttributes` should end up.\n * @param src `TAttributes` which should be appended to `dst`\n */\nfunction mergeHostAttrs(dst, src) {\n if (src === null || src.length === 0) {\n // do nothing\n } else if (dst === null || dst.length === 0) {\n // We have source, but dst is empty, just make a copy.\n dst = src.slice();\n } else {\n let srcMarker = -1 /* AttributeMarker.ImplicitAttributes */;\n for (let i = 0; i < src.length; i++) {\n const item = src[i];\n if (typeof item === 'number') {\n srcMarker = item;\n } else {\n if (srcMarker === 0 /* AttributeMarker.NamespaceURI */) {\n // Case where we need to consume `key1`, `key2`, `value` items.\n } else if (srcMarker === -1 /* AttributeMarker.ImplicitAttributes */ || srcMarker === 2 /* AttributeMarker.Styles */) {\n // Case where we have to consume `key1` and `value` only.\n mergeHostAttribute(dst, srcMarker, item, null, src[++i]);\n } else {\n // Case where we have to consume `key1` only.\n mergeHostAttribute(dst, srcMarker, item, null, null);\n }\n }\n }\n }\n return dst;\n}\n/**\n * Append `key`/`value` to existing `TAttributes` taking region marker and duplicates into account.\n *\n * @param dst `TAttributes` to append to.\n * @param marker Region where the `key`/`value` should be added.\n * @param key1 Key to add to `TAttributes`\n * @param key2 Key to add to `TAttributes` (in case of `AttributeMarker.NamespaceURI`)\n * @param value Value to add or to overwrite to `TAttributes` Only used if `marker` is not Class.\n */\nfunction mergeHostAttribute(dst, marker, key1, key2, value) {\n let i = 0;\n // Assume that new markers will be inserted at the end.\n let markerInsertPosition = dst.length;\n // scan until correct type.\n if (marker === -1 /* AttributeMarker.ImplicitAttributes */) {\n markerInsertPosition = -1;\n } else {\n while (i < dst.length) {\n const dstValue = dst[i++];\n if (typeof dstValue === 'number') {\n if (dstValue === marker) {\n markerInsertPosition = -1;\n break;\n } else if (dstValue > marker) {\n // We need to save this as we want the markers to be inserted in specific order.\n markerInsertPosition = i - 1;\n break;\n }\n }\n }\n }\n // search until you find place of insertion\n while (i < dst.length) {\n const item = dst[i];\n if (typeof item === 'number') {\n // since `i` started as the index after the marker, we did not find it if we are at the next\n // marker\n break;\n } else if (item === key1) {\n // We already have same token\n if (key2 === null) {\n if (value !== null) {\n dst[i + 1] = value;\n }\n return;\n } else if (key2 === dst[i + 1]) {\n dst[i + 2] = value;\n return;\n }\n }\n // Increment counter.\n i++;\n if (key2 !== null) i++;\n if (value !== null) i++;\n }\n // insert at location.\n if (markerInsertPosition !== -1) {\n dst.splice(markerInsertPosition, 0, marker);\n i = markerInsertPosition + 1;\n }\n dst.splice(i++, 0, key1);\n if (key2 !== null) {\n dst.splice(i++, 0, key2);\n }\n if (value !== null) {\n dst.splice(i++, 0, value);\n }\n}\n\n/// Parent Injector Utils ///////////////////////////////////////////////////////////////\nfunction hasParentInjector(parentLocation) {\n return parentLocation !== NO_PARENT_INJECTOR;\n}\nfunction getParentInjectorIndex(parentLocation) {\n ngDevMode && assertNumber(parentLocation, 'Number expected');\n ngDevMode && assertNotEqual(parentLocation, -1, 'Not a valid state.');\n const parentInjectorIndex = parentLocation & 32767 /* RelativeInjectorLocationFlags.InjectorIndexMask */;\n ngDevMode && assertGreaterThan(parentInjectorIndex, HEADER_OFFSET, 'Parent injector must be pointing past HEADER_OFFSET.');\n return parentLocation & 32767 /* RelativeInjectorLocationFlags.InjectorIndexMask */;\n}\n\nfunction getParentInjectorViewOffset(parentLocation) {\n return parentLocation >> 16 /* RelativeInjectorLocationFlags.ViewOffsetShift */;\n}\n/**\n * Unwraps a parent injector location number to find the view offset from the current injector,\n * then walks up the declaration view tree until the view is found that contains the parent\n * injector.\n *\n * @param location The location of the parent injector, which contains the view offset\n * @param startView The LView instance from which to start walking up the view tree\n * @returns The LView instance that contains the parent injector\n */\nfunction getParentInjectorView(location, startView) {\n let viewOffset = getParentInjectorViewOffset(location);\n let parentView = startView;\n // For most cases, the parent injector can be found on the host node (e.g. for component\n // or container), but we must keep the loop here to support the rarer case of deeply nested\n // tags or inline views, where the parent injector might live many views\n // above the child injector.\n while (viewOffset > 0) {\n parentView = parentView[DECLARATION_VIEW];\n viewOffset--;\n }\n return parentView;\n}\n\n/**\n * Defines if the call to `inject` should include `viewProviders` in its resolution.\n *\n * This is set to true when we try to instantiate a component. This value is reset in\n * `getNodeInjectable` to a value which matches the declaration location of the token about to be\n * instantiated. This is done so that if we are injecting a token which was declared outside of\n * `viewProviders` we don't accidentally pull `viewProviders` in.\n *\n * Example:\n *\n * ```\n * @Injectable()\n * class MyService {\n * constructor(public value: String) {}\n * }\n *\n * @Component({\n * providers: [\n * MyService,\n * {provide: String, value: 'providers' }\n * ]\n * viewProviders: [\n * {provide: String, value: 'viewProviders'}\n * ]\n * })\n * class MyComponent {\n * constructor(myService: MyService, value: String) {\n * // We expect that Component can see into `viewProviders`.\n * expect(value).toEqual('viewProviders');\n * // `MyService` was not declared in `viewProviders` hence it can't see it.\n * expect(myService.value).toEqual('providers');\n * }\n * }\n *\n * ```\n */\nlet includeViewProviders = true;\nfunction setIncludeViewProviders(v) {\n const oldValue = includeViewProviders;\n includeViewProviders = v;\n return oldValue;\n}\n/**\n * The number of slots in each bloom filter (used by DI). The larger this number, the fewer\n * directives that will share slots, and thus, the fewer false positives when checking for\n * the existence of a directive.\n */\nconst BLOOM_SIZE = 256;\nconst BLOOM_MASK = BLOOM_SIZE - 1;\n/**\n * The number of bits that is represented by a single bloom bucket. JS bit operations are 32 bits,\n * so each bucket represents 32 distinct tokens which accounts for log2(32) = 5 bits of a bloom hash\n * number.\n */\nconst BLOOM_BUCKET_BITS = 5;\n/** Counter used to generate unique IDs for directives. */\nlet nextNgElementId = 0;\n/** Value used when something wasn't found by an injector. */\nconst NOT_FOUND = {};\n/**\n * Registers this directive as present in its node's injector by flipping the directive's\n * corresponding bit in the injector's bloom filter.\n *\n * @param injectorIndex The index of the node injector where this token should be registered\n * @param tView The TView for the injector's bloom filters\n * @param type The directive token to register\n */\nfunction bloomAdd(injectorIndex, tView, type) {\n ngDevMode && assertEqual(tView.firstCreatePass, true, 'expected firstCreatePass to be true');\n let id;\n if (typeof type === 'string') {\n id = type.charCodeAt(0) || 0;\n } else if (type.hasOwnProperty(NG_ELEMENT_ID)) {\n id = type[NG_ELEMENT_ID];\n }\n // Set a unique ID on the directive type, so if something tries to inject the directive,\n // we can easily retrieve the ID and hash it into the bloom bit that should be checked.\n if (id == null) {\n id = type[NG_ELEMENT_ID] = nextNgElementId++;\n }\n // We only have BLOOM_SIZE (256) slots in our bloom filter (8 buckets * 32 bits each),\n // so all unique IDs must be modulo-ed into a number from 0 - 255 to fit into the filter.\n const bloomHash = id & BLOOM_MASK;\n // Create a mask that targets the specific bit associated with the directive.\n // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n // to bit positions 0 - 31 in a 32 bit integer.\n const mask = 1 << bloomHash;\n // Each bloom bucket in `tData` represents `BLOOM_BUCKET_BITS` number of bits of `bloomHash`.\n // Any bits in `bloomHash` beyond `BLOOM_BUCKET_BITS` indicate the bucket offset that the mask\n // should be written to.\n tView.data[injectorIndex + (bloomHash >> BLOOM_BUCKET_BITS)] |= mask;\n}\n/**\n * Creates (or gets an existing) injector for a given element or container.\n *\n * @param tNode for which an injector should be retrieved / created.\n * @param lView View where the node is stored\n * @returns Node injector\n */\nfunction getOrCreateNodeInjectorForNode(tNode, lView) {\n const existingInjectorIndex = getInjectorIndex(tNode, lView);\n if (existingInjectorIndex !== -1) {\n return existingInjectorIndex;\n }\n const tView = lView[TVIEW];\n if (tView.firstCreatePass) {\n tNode.injectorIndex = lView.length;\n insertBloom(tView.data, tNode); // foundation for node bloom\n insertBloom(lView, null); // foundation for cumulative bloom\n insertBloom(tView.blueprint, null);\n }\n const parentLoc = getParentInjectorLocation(tNode, lView);\n const injectorIndex = tNode.injectorIndex;\n // If a parent injector can't be found, its location is set to -1.\n // In that case, we don't need to set up a cumulative bloom\n if (hasParentInjector(parentLoc)) {\n const parentIndex = getParentInjectorIndex(parentLoc);\n const parentLView = getParentInjectorView(parentLoc, lView);\n const parentData = parentLView[TVIEW].data;\n // Creates a cumulative bloom filter that merges the parent's bloom filter\n // and its own cumulative bloom (which contains tokens for all ancestors)\n for (let i = 0; i < 8 /* NodeInjectorOffset.BLOOM_SIZE */; i++) {\n lView[injectorIndex + i] = parentLView[parentIndex + i] | parentData[parentIndex + i];\n }\n }\n lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */] = parentLoc;\n return injectorIndex;\n}\nfunction insertBloom(arr, footer) {\n arr.push(0, 0, 0, 0, 0, 0, 0, 0, footer);\n}\nfunction getInjectorIndex(tNode, lView) {\n if (tNode.injectorIndex === -1 ||\n // If the injector index is the same as its parent's injector index, then the index has been\n // copied down from the parent node. No injector has been created yet on this node.\n tNode.parent && tNode.parent.injectorIndex === tNode.injectorIndex ||\n // After the first template pass, the injector index might exist but the parent values\n // might not have been calculated yet for this instance\n lView[tNode.injectorIndex + 8 /* NodeInjectorOffset.PARENT */] === null) {\n return -1;\n } else {\n ngDevMode && assertIndexInRange(lView, tNode.injectorIndex);\n return tNode.injectorIndex;\n }\n}\n/**\n * Finds the index of the parent injector, with a view offset if applicable. Used to set the\n * parent injector initially.\n *\n * @returns Returns a number that is the combination of the number of LViews that we have to go up\n * to find the LView containing the parent inject AND the index of the injector within that LView.\n */\nfunction getParentInjectorLocation(tNode, lView) {\n if (tNode.parent && tNode.parent.injectorIndex !== -1) {\n // If we have a parent `TNode` and there is an injector associated with it we are done, because\n // the parent injector is within the current `LView`.\n return tNode.parent.injectorIndex; // ViewOffset is 0\n }\n // When parent injector location is computed it may be outside of the current view. (ie it could\n // be pointing to a declared parent location). This variable stores number of declaration parents\n // we need to walk up in order to find the parent injector location.\n let declarationViewOffset = 0;\n let parentTNode = null;\n let lViewCursor = lView;\n // The parent injector is not in the current `LView`. We will have to walk the declared parent\n // `LView` hierarchy and look for it. If we walk of the top, that means that there is no parent\n // `NodeInjector`.\n while (lViewCursor !== null) {\n parentTNode = getTNodeFromLView(lViewCursor);\n if (parentTNode === null) {\n // If we have no parent, than we are done.\n return NO_PARENT_INJECTOR;\n }\n ngDevMode && parentTNode && assertTNodeForLView(parentTNode, lViewCursor[DECLARATION_VIEW]);\n // Every iteration of the loop requires that we go to the declared parent.\n declarationViewOffset++;\n lViewCursor = lViewCursor[DECLARATION_VIEW];\n if (parentTNode.injectorIndex !== -1) {\n // We found a NodeInjector which points to something.\n return parentTNode.injectorIndex | declarationViewOffset << 16 /* RelativeInjectorLocationFlags.ViewOffsetShift */;\n }\n }\n\n return NO_PARENT_INJECTOR;\n}\n/**\n * Makes a type or an injection token public to the DI system by adding it to an\n * injector's bloom filter.\n *\n * @param di The node injector in which a directive will be added\n * @param token The type or the injection token to be made public\n */\nfunction diPublicInInjector(injectorIndex, tView, token) {\n bloomAdd(injectorIndex, tView, token);\n}\n/**\n * Inject static attribute value into directive constructor.\n *\n * This method is used with `factory` functions which are generated as part of\n * `defineDirective` or `defineComponent`. The method retrieves the static value\n * of an attribute. (Dynamic attributes are not supported since they are not resolved\n * at the time of injection and can change over time.)\n *\n * # Example\n * Given:\n * ```\n * @Component(...)\n * class MyComponent {\n * constructor(@Attribute('title') title: string) { ... }\n * }\n * ```\n * When instantiated with\n * ```\n * \n * ```\n *\n * Then factory method generated is:\n * ```\n * MyComponent.ɵcmp = defineComponent({\n * factory: () => new MyComponent(injectAttribute('title'))\n * ...\n * })\n * ```\n *\n * @publicApi\n */\nfunction injectAttributeImpl(tNode, attrNameToInject) {\n ngDevMode && assertTNodeType(tNode, 12 /* TNodeType.AnyContainer */ | 3 /* TNodeType.AnyRNode */);\n ngDevMode && assertDefined(tNode, 'expecting tNode');\n if (attrNameToInject === 'class') {\n return tNode.classes;\n }\n if (attrNameToInject === 'style') {\n return tNode.styles;\n }\n const attrs = tNode.attrs;\n if (attrs) {\n const attrsLength = attrs.length;\n let i = 0;\n while (i < attrsLength) {\n const value = attrs[i];\n // If we hit a `Bindings` or `Template` marker then we are done.\n if (isNameOnlyAttributeMarker(value)) break;\n // Skip namespaced attributes\n if (value === 0 /* AttributeMarker.NamespaceURI */) {\n // we skip the next two values\n // as namespaced attributes looks like\n // [..., AttributeMarker.NamespaceURI, 'http://someuri.com/test', 'test:exist',\n // 'existValue', ...]\n i = i + 2;\n } else if (typeof value === 'number') {\n // Skip to the first value of the marked attribute.\n i++;\n while (i < attrsLength && typeof attrs[i] === 'string') {\n i++;\n }\n } else if (value === attrNameToInject) {\n return attrs[i + 1];\n } else {\n i = i + 2;\n }\n }\n }\n return null;\n}\nfunction notFoundValueOrThrow(notFoundValue, token, flags) {\n if (flags & InjectFlags.Optional || notFoundValue !== undefined) {\n return notFoundValue;\n } else {\n throwProviderNotFoundError(token, 'NodeInjector');\n }\n}\n/**\n * Returns the value associated to the given token from the ModuleInjector or throws exception\n *\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector or throws an exception\n */\nfunction lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue) {\n if (flags & InjectFlags.Optional && notFoundValue === undefined) {\n // This must be set or the NullInjector will throw for optional deps\n notFoundValue = null;\n }\n if ((flags & (InjectFlags.Self | InjectFlags.Host)) === 0) {\n const moduleInjector = lView[INJECTOR$1];\n // switch to `injectInjectorOnly` implementation for module injector, since module injector\n // should not have access to Component/Directive DI scope (that may happen through\n // `directiveInject` implementation)\n const previousInjectImplementation = setInjectImplementation(undefined);\n try {\n if (moduleInjector) {\n return moduleInjector.get(token, notFoundValue, flags & InjectFlags.Optional);\n } else {\n return injectRootLimpMode(token, notFoundValue, flags & InjectFlags.Optional);\n }\n } finally {\n setInjectImplementation(previousInjectImplementation);\n }\n }\n return notFoundValueOrThrow(notFoundValue, token, flags);\n}\n/**\n * Returns the value associated to the given token from the NodeInjectors => ModuleInjector.\n *\n * Look for the injector providing the token by walking up the node injector tree and then\n * the module injector tree.\n *\n * This function patches `token` with `__NG_ELEMENT_ID__` which contains the id for the bloom\n * filter. `-1` is reserved for injecting `Injector` (implemented by `NodeInjector`)\n *\n * @param tNode The Node where the search for the injector should start\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction getOrCreateInjectable(tNode, lView, token, flags = InjectFlags.Default, notFoundValue) {\n if (tNode !== null) {\n // If the view or any of its ancestors have an embedded\n // view injector, we have to look it up there first.\n if (lView[FLAGS] & 1024 /* LViewFlags.HasEmbeddedViewInjector */) {\n const embeddedInjectorValue = lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, NOT_FOUND);\n if (embeddedInjectorValue !== NOT_FOUND) {\n return embeddedInjectorValue;\n }\n }\n // Otherwise try the node injector.\n const value = lookupTokenUsingNodeInjector(tNode, lView, token, flags, NOT_FOUND);\n if (value !== NOT_FOUND) {\n return value;\n }\n }\n // Finally, fall back to the module injector.\n return lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue);\n}\n/**\n * Returns the value associated to the given token from the node injector.\n *\n * @param tNode The Node where the search for the injector should start\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction lookupTokenUsingNodeInjector(tNode, lView, token, flags, notFoundValue) {\n const bloomHash = bloomHashBitOrFactory(token);\n // If the ID stored here is a function, this is a special object like ElementRef or TemplateRef\n // so just call the factory function to create it.\n if (typeof bloomHash === 'function') {\n if (!enterDI(lView, tNode, flags)) {\n // Failed to enter DI, try module injector instead. If a token is injected with the @Host\n // flag, the module injector is not searched for that token in Ivy.\n return flags & InjectFlags.Host ? notFoundValueOrThrow(notFoundValue, token, flags) : lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue);\n }\n try {\n const value = bloomHash(flags);\n if (value == null && !(flags & InjectFlags.Optional)) {\n throwProviderNotFoundError(token);\n } else {\n return value;\n }\n } finally {\n leaveDI();\n }\n } else if (typeof bloomHash === 'number') {\n // A reference to the previous injector TView that was found while climbing the element\n // injector tree. This is used to know if viewProviders can be accessed on the current\n // injector.\n let previousTView = null;\n let injectorIndex = getInjectorIndex(tNode, lView);\n let parentLocation = NO_PARENT_INJECTOR;\n let hostTElementNode = flags & InjectFlags.Host ? lView[DECLARATION_COMPONENT_VIEW][T_HOST] : null;\n // If we should skip this injector, or if there is no injector on this node, start by\n // searching the parent injector.\n if (injectorIndex === -1 || flags & InjectFlags.SkipSelf) {\n parentLocation = injectorIndex === -1 ? getParentInjectorLocation(tNode, lView) : lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */];\n if (parentLocation === NO_PARENT_INJECTOR || !shouldSearchParent(flags, false)) {\n injectorIndex = -1;\n } else {\n previousTView = lView[TVIEW];\n injectorIndex = getParentInjectorIndex(parentLocation);\n lView = getParentInjectorView(parentLocation, lView);\n }\n }\n // Traverse up the injector tree until we find a potential match or until we know there\n // *isn't* a match.\n while (injectorIndex !== -1) {\n ngDevMode && assertNodeInjector(lView, injectorIndex);\n // Check the current injector. If it matches, see if it contains token.\n const tView = lView[TVIEW];\n ngDevMode && assertTNodeForLView(tView.data[injectorIndex + 8 /* NodeInjectorOffset.TNODE */], lView);\n if (bloomHasToken(bloomHash, injectorIndex, tView.data)) {\n // At this point, we have an injector which *may* contain the token, so we step through\n // the providers and directives associated with the injector's corresponding node to get\n // the instance.\n const instance = searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode);\n if (instance !== NOT_FOUND) {\n return instance;\n }\n }\n parentLocation = lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */];\n if (parentLocation !== NO_PARENT_INJECTOR && shouldSearchParent(flags, lView[TVIEW].data[injectorIndex + 8 /* NodeInjectorOffset.TNODE */] === hostTElementNode) && bloomHasToken(bloomHash, injectorIndex, lView)) {\n // The def wasn't found anywhere on this node, so it was a false positive.\n // Traverse up the tree and continue searching.\n previousTView = tView;\n injectorIndex = getParentInjectorIndex(parentLocation);\n lView = getParentInjectorView(parentLocation, lView);\n } else {\n // If we should not search parent OR If the ancestor bloom filter value does not have the\n // bit corresponding to the directive we can give up on traversing up to find the specific\n // injector.\n injectorIndex = -1;\n }\n }\n }\n return notFoundValue;\n}\nfunction searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode) {\n const currentTView = lView[TVIEW];\n const tNode = currentTView.data[injectorIndex + 8 /* NodeInjectorOffset.TNODE */];\n // First, we need to determine if view providers can be accessed by the starting element.\n // There are two possibilities\n const canAccessViewProviders = previousTView == null ?\n // 1) This is the first invocation `previousTView == null` which means that we are at the\n // `TNode` of where injector is starting to look. In such a case the only time we are allowed\n // to look into the ViewProviders is if:\n // - we are on a component\n // - AND the injector set `includeViewProviders` to true (implying that the token can see\n // ViewProviders because it is the Component or a Service which itself was declared in\n // ViewProviders)\n isComponentHost(tNode) && includeViewProviders :\n // 2) `previousTView != null` which means that we are now walking across the parent nodes.\n // In such a case we are only allowed to look into the ViewProviders if:\n // - We just crossed from child View to Parent View `previousTView != currentTView`\n // - AND the parent TNode is an Element.\n // This means that we just came from the Component's View and therefore are allowed to see\n // into the ViewProviders.\n previousTView != currentTView && (tNode.type & 3 /* TNodeType.AnyRNode */) !== 0;\n // This special case happens when there is a @host on the inject and when we are searching\n // on the host element node.\n const isHostSpecialCase = flags & InjectFlags.Host && hostTElementNode === tNode;\n const injectableIdx = locateDirectiveOrProvider(tNode, currentTView, token, canAccessViewProviders, isHostSpecialCase);\n if (injectableIdx !== null) {\n return getNodeInjectable(lView, currentTView, injectableIdx, tNode);\n } else {\n return NOT_FOUND;\n }\n}\n/**\n * Searches for the given token among the node's directives and providers.\n *\n * @param tNode TNode on which directives are present.\n * @param tView The tView we are currently processing\n * @param token Provider token or type of a directive to look for.\n * @param canAccessViewProviders Whether view providers should be considered.\n * @param isHostSpecialCase Whether the host special case applies.\n * @returns Index of a found directive or provider, or null when none found.\n */\nfunction locateDirectiveOrProvider(tNode, tView, token, canAccessViewProviders, isHostSpecialCase) {\n const nodeProviderIndexes = tNode.providerIndexes;\n const tInjectables = tView.data;\n const injectablesStart = nodeProviderIndexes & 1048575 /* TNodeProviderIndexes.ProvidersStartIndexMask */;\n const directivesStart = tNode.directiveStart;\n const directiveEnd = tNode.directiveEnd;\n const cptViewProvidersCount = nodeProviderIndexes >> 20 /* TNodeProviderIndexes.CptViewProvidersCountShift */;\n const startingIndex = canAccessViewProviders ? injectablesStart : injectablesStart + cptViewProvidersCount;\n // When the host special case applies, only the viewProviders and the component are visible\n const endIndex = isHostSpecialCase ? injectablesStart + cptViewProvidersCount : directiveEnd;\n for (let i = startingIndex; i < endIndex; i++) {\n const providerTokenOrDef = tInjectables[i];\n if (i < directivesStart && token === providerTokenOrDef || i >= directivesStart && providerTokenOrDef.type === token) {\n return i;\n }\n }\n if (isHostSpecialCase) {\n const dirDef = tInjectables[directivesStart];\n if (dirDef && isComponentDef(dirDef) && dirDef.type === token) {\n return directivesStart;\n }\n }\n return null;\n}\n/**\n * Retrieve or instantiate the injectable from the `LView` at particular `index`.\n *\n * This function checks to see if the value has already been instantiated and if so returns the\n * cached `injectable`. Otherwise if it detects that the value is still a factory it\n * instantiates the `injectable` and caches the value.\n */\nfunction getNodeInjectable(lView, tView, index, tNode) {\n let value = lView[index];\n const tData = tView.data;\n if (isFactory(value)) {\n const factory = value;\n if (factory.resolving) {\n throwCyclicDependencyError(stringifyForError(tData[index]));\n }\n const previousIncludeViewProviders = setIncludeViewProviders(factory.canSeeViewProviders);\n factory.resolving = true;\n const previousInjectImplementation = factory.injectImpl ? setInjectImplementation(factory.injectImpl) : null;\n const success = enterDI(lView, tNode, InjectFlags.Default);\n ngDevMode && assertEqual(success, true, 'Because flags do not contain \\`SkipSelf\\' we expect this to always succeed.');\n try {\n value = lView[index] = factory.factory(undefined, tData, lView, tNode);\n // This code path is hit for both directives and providers.\n // For perf reasons, we want to avoid searching for hooks on providers.\n // It does no harm to try (the hooks just won't exist), but the extra\n // checks are unnecessary and this is a hot path. So we check to see\n // if the index of the dependency is in the directive range for this\n // tNode. If it's not, we know it's a provider and skip hook registration.\n if (tView.firstCreatePass && index >= tNode.directiveStart) {\n ngDevMode && assertDirectiveDef(tData[index]);\n registerPreOrderHooks(index, tData[index], tView);\n }\n } finally {\n previousInjectImplementation !== null && setInjectImplementation(previousInjectImplementation);\n setIncludeViewProviders(previousIncludeViewProviders);\n factory.resolving = false;\n leaveDI();\n }\n }\n return value;\n}\n/**\n * Returns the bit in an injector's bloom filter that should be used to determine whether or not\n * the directive might be provided by the injector.\n *\n * When a directive is public, it is added to the bloom filter and given a unique ID that can be\n * retrieved on the Type. When the directive isn't public or the token is not a directive `null`\n * is returned as the node injector can not possibly provide that token.\n *\n * @param token the injection token\n * @returns the matching bit to check in the bloom filter or `null` if the token is not known.\n * When the returned value is negative then it represents special values such as `Injector`.\n */\nfunction bloomHashBitOrFactory(token) {\n ngDevMode && assertDefined(token, 'token must be defined');\n if (typeof token === 'string') {\n return token.charCodeAt(0) || 0;\n }\n const tokenId =\n // First check with `hasOwnProperty` so we don't get an inherited ID.\n token.hasOwnProperty(NG_ELEMENT_ID) ? token[NG_ELEMENT_ID] : undefined;\n // Negative token IDs are used for special objects such as `Injector`\n if (typeof tokenId === 'number') {\n if (tokenId >= 0) {\n return tokenId & BLOOM_MASK;\n } else {\n ngDevMode && assertEqual(tokenId, -1 /* InjectorMarkers.Injector */, 'Expecting to get Special Injector Id');\n return createNodeInjector;\n }\n } else {\n return tokenId;\n }\n}\nfunction bloomHasToken(bloomHash, injectorIndex, injectorView) {\n // Create a mask that targets the specific bit associated with the directive we're looking for.\n // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n // to bit positions 0 - 31 in a 32 bit integer.\n const mask = 1 << bloomHash;\n // Each bloom bucket in `injectorView` represents `BLOOM_BUCKET_BITS` number of bits of\n // `bloomHash`. Any bits in `bloomHash` beyond `BLOOM_BUCKET_BITS` indicate the bucket offset\n // that should be used.\n const value = injectorView[injectorIndex + (bloomHash >> BLOOM_BUCKET_BITS)];\n // If the bloom filter value has the bit corresponding to the directive's bloomBit flipped on,\n // this injector is a potential match.\n return !!(value & mask);\n}\n/** Returns true if flags prevent parent injector from being searched for tokens */\nfunction shouldSearchParent(flags, isFirstHostTNode) {\n return !(flags & InjectFlags.Self) && !(flags & InjectFlags.Host && isFirstHostTNode);\n}\nclass NodeInjector {\n constructor(_tNode, _lView) {\n this._tNode = _tNode;\n this._lView = _lView;\n }\n get(token, notFoundValue, flags) {\n return getOrCreateInjectable(this._tNode, this._lView, token, convertToBitFlags(flags), notFoundValue);\n }\n}\n/** Creates a `NodeInjector` for the current node. */\nfunction createNodeInjector() {\n return new NodeInjector(getCurrentTNode(), getLView());\n}\n/**\n * @codeGenApi\n */\nfunction ɵɵgetInheritedFactory(type) {\n return noSideEffects(() => {\n const ownConstructor = type.prototype.constructor;\n const ownFactory = ownConstructor[NG_FACTORY_DEF] || getFactoryOf(ownConstructor);\n const objectPrototype = Object.prototype;\n let parent = Object.getPrototypeOf(type.prototype).constructor;\n // Go up the prototype until we hit `Object`.\n while (parent && parent !== objectPrototype) {\n const factory = parent[NG_FACTORY_DEF] || getFactoryOf(parent);\n // If we hit something that has a factory and the factory isn't the same as the type,\n // we've found the inherited factory. Note the check that the factory isn't the type's\n // own factory is redundant in most cases, but if the user has custom decorators on the\n // class, this lookup will start one level down in the prototype chain, causing us to\n // find the own factory first and potentially triggering an infinite loop downstream.\n if (factory && factory !== ownFactory) {\n return factory;\n }\n parent = Object.getPrototypeOf(parent);\n }\n // There is no factory defined. Either this was improper usage of inheritance\n // (no Angular decorator on the superclass) or there is no constructor at all\n // in the inheritance chain. Since the two cases cannot be distinguished, the\n // latter has to be assumed.\n return t => new t();\n });\n}\nfunction getFactoryOf(type) {\n if (isForwardRef(type)) {\n return () => {\n const factory = getFactoryOf(resolveForwardRef(type));\n return factory && factory();\n };\n }\n return getFactoryDef(type);\n}\n/**\n * Returns a value from the closest embedded or node injector.\n *\n * @param tNode The Node where the search for the injector should start\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, notFoundValue) {\n let currentTNode = tNode;\n let currentLView = lView;\n // When an LView with an embedded view injector is inserted, it'll likely be interlaced with\n // nodes who may have injectors (e.g. node injector -> embedded view injector -> node injector).\n // Since the bloom filters for the node injectors have already been constructed and we don't\n // have a way of extracting the records from an injector, the only way to maintain the correct\n // hierarchy when resolving the value is to walk it node-by-node while attempting to resolve\n // the token at each level.\n while (currentTNode !== null && currentLView !== null && currentLView[FLAGS] & 1024 /* LViewFlags.HasEmbeddedViewInjector */ && !(currentLView[FLAGS] & 256 /* LViewFlags.IsRoot */)) {\n ngDevMode && assertTNodeForLView(currentTNode, currentLView);\n // Note that this lookup on the node injector is using the `Self` flag, because\n // we don't want the node injector to look at any parent injectors since we\n // may hit the embedded view injector first.\n const nodeInjectorValue = lookupTokenUsingNodeInjector(currentTNode, currentLView, token, flags | InjectFlags.Self, NOT_FOUND);\n if (nodeInjectorValue !== NOT_FOUND) {\n return nodeInjectorValue;\n }\n // Has an explicit type due to a TS bug: https://github.com/microsoft/TypeScript/issues/33191\n let parentTNode = currentTNode.parent;\n // `TNode.parent` includes the parent within the current view only. If it doesn't exist,\n // it means that we've hit the view boundary and we need to go up to the next view.\n if (!parentTNode) {\n // Before we go to the next LView, check if the token exists on the current embedded injector.\n const embeddedViewInjector = currentLView[EMBEDDED_VIEW_INJECTOR];\n if (embeddedViewInjector) {\n const embeddedViewInjectorValue = embeddedViewInjector.get(token, NOT_FOUND, flags);\n if (embeddedViewInjectorValue !== NOT_FOUND) {\n return embeddedViewInjectorValue;\n }\n }\n // Otherwise keep going up the tree.\n parentTNode = getTNodeFromLView(currentLView);\n currentLView = currentLView[DECLARATION_VIEW];\n }\n currentTNode = parentTNode;\n }\n return notFoundValue;\n}\n/** Gets the TNode associated with an LView inside of the declaration view. */\nfunction getTNodeFromLView(lView) {\n const tView = lView[TVIEW];\n const tViewType = tView.type;\n // The parent pointer differs based on `TView.type`.\n if (tViewType === 2 /* TViewType.Embedded */) {\n ngDevMode && assertDefined(tView.declTNode, 'Embedded TNodes should have declaration parents.');\n return tView.declTNode;\n } else if (tViewType === 1 /* TViewType.Component */) {\n // Components don't have `TView.declTNode` because each instance of component could be\n // inserted in different location, hence `TView.declTNode` is meaningless.\n return lView[T_HOST];\n }\n return null;\n}\n\n/**\n * Facade for the attribute injection from DI.\n *\n * @codeGenApi\n */\nfunction ɵɵinjectAttribute(attrNameToInject) {\n return injectAttributeImpl(getCurrentTNode(), attrNameToInject);\n}\nconst ANNOTATIONS = '__annotations__';\nconst PARAMETERS = '__parameters__';\nconst PROP_METADATA = '__prop__metadata__';\n/**\n * @suppress {globalThis}\n */\nfunction makeDecorator(name, props, parentClass, additionalProcessing, typeFn) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function DecoratorFactory(...args) {\n if (this instanceof DecoratorFactory) {\n metaCtor.call(this, ...args);\n return this;\n }\n const annotationInstance = new DecoratorFactory(...args);\n return function TypeDecorator(cls) {\n if (typeFn) typeFn(cls, ...args);\n // Use of Object.defineProperty is important since it creates non-enumerable property which\n // prevents the property is copied during subclassing.\n const annotations = cls.hasOwnProperty(ANNOTATIONS) ? cls[ANNOTATIONS] : Object.defineProperty(cls, ANNOTATIONS, {\n value: []\n })[ANNOTATIONS];\n annotations.push(annotationInstance);\n if (additionalProcessing) additionalProcessing(cls);\n return cls;\n };\n }\n if (parentClass) {\n DecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n DecoratorFactory.prototype.ngMetadataName = name;\n DecoratorFactory.annotationCls = DecoratorFactory;\n return DecoratorFactory;\n });\n}\nfunction makeMetadataCtor(props) {\n return function ctor(...args) {\n if (props) {\n const values = props(...args);\n for (const propName in values) {\n this[propName] = values[propName];\n }\n }\n };\n}\nfunction makeParamDecorator(name, props, parentClass) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function ParamDecoratorFactory(...args) {\n if (this instanceof ParamDecoratorFactory) {\n metaCtor.apply(this, args);\n return this;\n }\n const annotationInstance = new ParamDecoratorFactory(...args);\n ParamDecorator.annotation = annotationInstance;\n return ParamDecorator;\n function ParamDecorator(cls, unusedKey, index) {\n // Use of Object.defineProperty is important since it creates non-enumerable property which\n // prevents the property is copied during subclassing.\n const parameters = cls.hasOwnProperty(PARAMETERS) ? cls[PARAMETERS] : Object.defineProperty(cls, PARAMETERS, {\n value: []\n })[PARAMETERS];\n // there might be gaps if some in between parameters do not have annotations.\n // we pad with nulls.\n while (parameters.length <= index) {\n parameters.push(null);\n }\n (parameters[index] = parameters[index] || []).push(annotationInstance);\n return cls;\n }\n }\n if (parentClass) {\n ParamDecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n ParamDecoratorFactory.prototype.ngMetadataName = name;\n ParamDecoratorFactory.annotationCls = ParamDecoratorFactory;\n return ParamDecoratorFactory;\n });\n}\nfunction makePropDecorator(name, props, parentClass, additionalProcessing) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function PropDecoratorFactory(...args) {\n if (this instanceof PropDecoratorFactory) {\n metaCtor.apply(this, args);\n return this;\n }\n const decoratorInstance = new PropDecoratorFactory(...args);\n function PropDecorator(target, name) {\n const constructor = target.constructor;\n // Use of Object.defineProperty is important because it creates a non-enumerable property\n // which prevents the property from being copied during subclassing.\n const meta = constructor.hasOwnProperty(PROP_METADATA) ? constructor[PROP_METADATA] : Object.defineProperty(constructor, PROP_METADATA, {\n value: {}\n })[PROP_METADATA];\n meta[name] = meta.hasOwnProperty(name) && meta[name] || [];\n meta[name].unshift(decoratorInstance);\n if (additionalProcessing) additionalProcessing(target, name, ...args);\n }\n return PropDecorator;\n }\n if (parentClass) {\n PropDecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n PropDecoratorFactory.prototype.ngMetadataName = name;\n PropDecoratorFactory.annotationCls = PropDecoratorFactory;\n return PropDecoratorFactory;\n });\n}\n\n/**\n * Attribute decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Attribute = /*#__PURE__*/makeParamDecorator('Attribute', attributeName => ({\n attributeName,\n __NG_ELEMENT_ID__: () => ɵɵinjectAttribute(attributeName)\n}));\n\n/**\n * Creates a token that can be used in a DI Provider.\n *\n * Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a\n * runtime representation) such as when injecting an interface, callable type, array or\n * parameterized type.\n *\n * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by\n * the `Injector`. This provides an additional level of type safety.\n *\n * ```\n * interface MyInterface {...}\n * const myInterface = injector.get(new InjectionToken('SomeToken'));\n * // myInterface is inferred to be MyInterface.\n * ```\n *\n * When creating an `InjectionToken`, you can optionally specify a factory function which returns\n * (possibly by creating) a default value of the parameterized type `T`. This sets up the\n * `InjectionToken` using this factory as a provider as if it was defined explicitly in the\n * application's root injector. If the factory function, which takes zero arguments, needs to inject\n * dependencies, it can do so using the `inject` function.\n * As you can see in the Tree-shakable InjectionToken example below.\n *\n * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which\n * overrides the above behavior and marks the token as belonging to a particular `@NgModule` (note:\n * this option is now deprecated). As mentioned above, `'root'` is the default value for\n * `providedIn`.\n *\n * The `providedIn: NgModule` and `providedIn: 'any'` options are deprecated.\n *\n * @usageNotes\n * ### Basic Examples\n *\n * ### Plain InjectionToken\n *\n * {@example core/di/ts/injector_spec.ts region='InjectionToken'}\n *\n * ### Tree-shakable InjectionToken\n *\n * {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}\n *\n *\n * @publicApi\n */\nclass InjectionToken {\n /**\n * @param _desc Description for the token,\n * used only for debugging purposes,\n * it should but does not need to be unique\n * @param options Options for the token's usage, as described above\n */\n constructor(_desc, options) {\n this._desc = _desc;\n /** @internal */\n this.ngMetadataName = 'InjectionToken';\n this.ɵprov = undefined;\n if (typeof options == 'number') {\n (typeof ngDevMode === 'undefined' || ngDevMode) && assertLessThan(options, 0, 'Only negative numbers are supported here');\n // This is a special hack to assign __NG_ELEMENT_ID__ to this instance.\n // See `InjectorMarkers`\n this.__NG_ELEMENT_ID__ = options;\n } else if (options !== undefined) {\n this.ɵprov = ɵɵdefineInjectable({\n token: this,\n providedIn: options.providedIn || 'root',\n factory: options.factory\n });\n }\n }\n /**\n * @internal\n */\n get multi() {\n return this;\n }\n toString() {\n return `InjectionToken ${this._desc}`;\n }\n}\n\n/**\n * A DI token that you can use to create a virtual [provider](guide/glossary#provider)\n * that will populate the `entryComponents` field of components and NgModules\n * based on its `useValue` property value.\n * All components that are referenced in the `useValue` value (either directly\n * or in a nested array or map) are added to the `entryComponents` property.\n *\n * @usageNotes\n *\n * The following example shows how the router can populate the `entryComponents`\n * field of an NgModule based on a router configuration that refers\n * to components.\n *\n * ```typescript\n * // helper function inside the router\n * function provideRoutes(routes) {\n * return [\n * {provide: ROUTES, useValue: routes},\n * {provide: ANALYZE_FOR_ENTRY_COMPONENTS, useValue: routes, multi: true}\n * ];\n * }\n *\n * // user code\n * let routes = [\n * {path: '/root', component: RootComp},\n * {path: '/teams', component: TeamsComp}\n * ];\n *\n * @NgModule({\n * providers: [provideRoutes(routes)]\n * })\n * class ModuleWithRoutes {}\n * ```\n *\n * @publicApi\n * @deprecated Since 9.0.0. With Ivy, this property is no longer necessary.\n */\nconst ANALYZE_FOR_ENTRY_COMPONENTS = /*#__PURE__*/new InjectionToken('AnalyzeForEntryComponents');\n// Stores the default value of `emitDistinctChangesOnly` when the `emitDistinctChangesOnly` is not\n// explicitly set.\nconst emitDistinctChangesOnlyDefaultValue = true;\n/**\n * Base class for query metadata.\n *\n * @see `ContentChildren`.\n * @see `ContentChild`.\n * @see `ViewChildren`.\n * @see `ViewChild`.\n *\n * @publicApi\n */\nclass Query {}\n/**\n * ContentChildren decorator and metadata.\n *\n *\n * @Annotation\n * @publicApi\n */\nconst ContentChildren = /*#__PURE__*/makePropDecorator('ContentChildren', (selector, data = {}) => ({\n selector,\n first: false,\n isViewQuery: false,\n descendants: false,\n emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue,\n ...data\n}), Query);\n/**\n * ContentChild decorator and metadata.\n *\n *\n * @Annotation\n *\n * @publicApi\n */\nconst ContentChild = /*#__PURE__*/makePropDecorator('ContentChild', (selector, data = {}) => ({\n selector,\n first: true,\n isViewQuery: false,\n descendants: true,\n ...data\n}), Query);\n/**\n * ViewChildren decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst ViewChildren = /*#__PURE__*/makePropDecorator('ViewChildren', (selector, data = {}) => ({\n selector,\n first: false,\n isViewQuery: true,\n descendants: true,\n emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue,\n ...data\n}), Query);\n/**\n * ViewChild decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst ViewChild = /*#__PURE__*/makePropDecorator('ViewChild', (selector, data) => ({\n selector,\n first: true,\n isViewQuery: true,\n descendants: true,\n ...data\n}), Query);\nvar FactoryTarget = /*#__PURE__*/(() => {\n FactoryTarget = FactoryTarget || {};\n FactoryTarget[FactoryTarget[\"Directive\"] = 0] = \"Directive\";\n FactoryTarget[FactoryTarget[\"Component\"] = 1] = \"Component\";\n FactoryTarget[FactoryTarget[\"Injectable\"] = 2] = \"Injectable\";\n FactoryTarget[FactoryTarget[\"Pipe\"] = 3] = \"Pipe\";\n FactoryTarget[FactoryTarget[\"NgModule\"] = 4] = \"NgModule\";\n return FactoryTarget;\n})();\nvar R3TemplateDependencyKind = /*#__PURE__*/(() => {\n R3TemplateDependencyKind = R3TemplateDependencyKind || {};\n R3TemplateDependencyKind[R3TemplateDependencyKind[\"Directive\"] = 0] = \"Directive\";\n R3TemplateDependencyKind[R3TemplateDependencyKind[\"Pipe\"] = 1] = \"Pipe\";\n R3TemplateDependencyKind[R3TemplateDependencyKind[\"NgModule\"] = 2] = \"NgModule\";\n return R3TemplateDependencyKind;\n})();\nvar ViewEncapsulation = /*#__PURE__*/(() => {\n ViewEncapsulation = ViewEncapsulation || {};\n ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\n // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.\n ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\n ViewEncapsulation[ViewEncapsulation[\"ShadowDom\"] = 3] = \"ShadowDom\";\n return ViewEncapsulation;\n})();\nfunction getCompilerFacade(request) {\n const globalNg = _global['ng'];\n if (globalNg && globalNg.ɵcompilerFacade) {\n return globalNg.ɵcompilerFacade;\n }\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n // Log the type as an error so that a developer can easily navigate to the type from the\n // console.\n console.error(`JIT compilation failed for ${request.kind}`, request.type);\n let message = `The ${request.kind} '${request.type.name}' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.\\n\\n`;\n if (request.usage === 1 /* JitCompilerUsage.PartialDeclaration */) {\n message += `The ${request.kind} is part of a library that has been partially compiled.\\n`;\n message += `However, the Angular Linker has not processed the library such that JIT compilation is used as fallback.\\n`;\n message += '\\n';\n message += `Ideally, the library is processed using the Angular Linker to become fully AOT compiled.\\n`;\n } else {\n message += `JIT compilation is discouraged for production use-cases! Consider using AOT mode instead.\\n`;\n }\n message += `Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',\\n`;\n message += `or manually provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.`;\n throw new Error(message);\n } else {\n throw new Error('JIT compiler unavailable');\n }\n}\n\n/**\n * @description\n *\n * Represents a type that a Component or other object is instances of.\n *\n * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is represented by\n * the `MyCustomComponent` constructor function.\n *\n * @publicApi\n */\nconst Type = Function;\nfunction isType(v) {\n return typeof v === 'function';\n}\n\n/**\n * Determines if the contents of two arrays is identical\n *\n * @param a first array\n * @param b second array\n * @param identityAccessor Optional function for extracting stable object identity from a value in\n * the array.\n */\nfunction arrayEquals(a, b, identityAccessor) {\n if (a.length !== b.length) return false;\n for (let i = 0; i < a.length; i++) {\n let valueA = a[i];\n let valueB = b[i];\n if (identityAccessor) {\n valueA = identityAccessor(valueA);\n valueB = identityAccessor(valueB);\n }\n if (valueB !== valueA) {\n return false;\n }\n }\n return true;\n}\n/**\n * Flattens an array.\n */\nfunction flatten(list) {\n return list.flat(Number.POSITIVE_INFINITY);\n}\nfunction deepForEach(input, fn) {\n input.forEach(value => Array.isArray(value) ? deepForEach(value, fn) : fn(value));\n}\nfunction addToArray(arr, index, value) {\n // perf: array.push is faster than array.splice!\n if (index >= arr.length) {\n arr.push(value);\n } else {\n arr.splice(index, 0, value);\n }\n}\nfunction removeFromArray(arr, index) {\n // perf: array.pop is faster than array.splice!\n if (index >= arr.length - 1) {\n return arr.pop();\n } else {\n return arr.splice(index, 1)[0];\n }\n}\nfunction newArray(size, value) {\n const list = [];\n for (let i = 0; i < size; i++) {\n list.push(value);\n }\n return list;\n}\n/**\n * Remove item from array (Same as `Array.splice()` but faster.)\n *\n * `Array.splice()` is not as fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * https://jsperf.com/fast-array-splice (About 20x faster)\n *\n * @param array Array to splice\n * @param index Index of element in array to remove.\n * @param count Number of items to remove.\n */\nfunction arraySplice(array, index, count) {\n const length = array.length - count;\n while (index < length) {\n array[index] = array[index + count];\n index++;\n }\n while (count--) {\n array.pop(); // shrink the array\n }\n}\n/**\n * Same as `Array.splice(index, 0, value)` but faster.\n *\n * `Array.splice()` is not fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * @param array Array to splice.\n * @param index Index in array where the `value` should be added.\n * @param value Value to add to array.\n */\nfunction arrayInsert(array, index, value) {\n ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\\'t insert past array end.');\n let end = array.length;\n while (end > index) {\n const previousEnd = end - 1;\n array[end] = array[previousEnd];\n end = previousEnd;\n }\n array[index] = value;\n}\n/**\n * Same as `Array.splice2(index, 0, value1, value2)` but faster.\n *\n * `Array.splice()` is not fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * @param array Array to splice.\n * @param index Index in array where the `value` should be added.\n * @param value1 Value to add to array.\n * @param value2 Value to add to array.\n */\nfunction arrayInsert2(array, index, value1, value2) {\n ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\\'t insert past array end.');\n let end = array.length;\n if (end == index) {\n // inserting at the end.\n array.push(value1, value2);\n } else if (end === 1) {\n // corner case when we have less items in array than we have items to insert.\n array.push(value2, array[0]);\n array[0] = value1;\n } else {\n end--;\n array.push(array[end - 1], array[end]);\n while (end > index) {\n const previousEnd = end - 2;\n array[end] = array[previousEnd];\n end--;\n }\n array[index] = value1;\n array[index + 1] = value2;\n }\n}\n/**\n * Get an index of an `value` in a sorted `array`.\n *\n * NOTE:\n * - This uses binary search algorithm for fast removals.\n *\n * @param array A sorted array to binary search.\n * @param value The value to look for.\n * @returns index of the value.\n * - positive index if value found.\n * - negative index if value not found. (`~index` to get the value where it should have been\n * located)\n */\nfunction arrayIndexOfSorted(array, value) {\n return _arrayIndexOfSorted(array, value, 0);\n}\n/**\n * Set a `value` for a `key`.\n *\n * @param keyValueArray to modify.\n * @param key The key to locate or create.\n * @param value The value to set for a `key`.\n * @returns index (always even) of where the value vas set.\n */\nfunction keyValueArraySet(keyValueArray, key, value) {\n let index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it set it.\n keyValueArray[index | 1] = value;\n } else {\n index = ~index;\n arrayInsert2(keyValueArray, index, key, value);\n }\n return index;\n}\n/**\n * Retrieve a `value` for a `key` (on `undefined` if not found.)\n *\n * @param keyValueArray to search.\n * @param key The key to locate.\n * @return The `value` stored at the `key` location or `undefined if not found.\n */\nfunction keyValueArrayGet(keyValueArray, key) {\n const index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it retrieve it.\n return keyValueArray[index | 1];\n }\n return undefined;\n}\n/**\n * Retrieve a `key` index value in the array or `-1` if not found.\n *\n * @param keyValueArray to search.\n * @param key The key to locate.\n * @returns index of where the key is (or should have been.)\n * - positive (even) index if key found.\n * - negative index if key not found. (`~index` (even) to get the index where it should have\n * been inserted.)\n */\nfunction keyValueArrayIndexOf(keyValueArray, key) {\n return _arrayIndexOfSorted(keyValueArray, key, 1);\n}\n/**\n * Delete a `key` (and `value`) from the `KeyValueArray`.\n *\n * @param keyValueArray to modify.\n * @param key The key to locate or delete (if exist).\n * @returns index of where the key was (or should have been.)\n * - positive (even) index if key found and deleted.\n * - negative index if key not found. (`~index` (even) to get the index where it should have\n * been.)\n */\nfunction keyValueArrayDelete(keyValueArray, key) {\n const index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it remove it.\n arraySplice(keyValueArray, index, 2);\n }\n return index;\n}\n/**\n * INTERNAL: Get an index of an `value` in a sorted `array` by grouping search by `shift`.\n *\n * NOTE:\n * - This uses binary search algorithm for fast removals.\n *\n * @param array A sorted array to binary search.\n * @param value The value to look for.\n * @param shift grouping shift.\n * - `0` means look at every location\n * - `1` means only look at every other (even) location (the odd locations are to be ignored as\n * they are values.)\n * @returns index of the value.\n * - positive index if value found.\n * - negative index if value not found. (`~index` to get the value where it should have been\n * inserted)\n */\nfunction _arrayIndexOfSorted(array, value, shift) {\n ngDevMode && assertEqual(Array.isArray(array), true, 'Expecting an array');\n let start = 0;\n let end = array.length >> shift;\n while (end !== start) {\n const middle = start + (end - start >> 1); // find the middle.\n const current = array[middle << shift];\n if (value === current) {\n return middle << shift;\n } else if (current > value) {\n end = middle;\n } else {\n start = middle + 1; // We already searched middle so make it non-inclusive by adding 1\n }\n }\n\n return ~(end << shift);\n}\n\n/*\n * #########################\n * Attention: These Regular expressions have to hold even if the code is minified!\n * ##########################\n */\n/**\n * Regular expression that detects pass-through constructors for ES5 output. This Regex\n * intends to capture the common delegation pattern emitted by TypeScript and Babel. Also\n * it intends to capture the pattern where existing constructors have been downleveled from\n * ES2015 to ES5 using TypeScript w/ downlevel iteration. e.g.\n *\n * ```\n * function MyClass() {\n * var _this = _super.apply(this, arguments) || this;\n * ```\n *\n * downleveled to ES5 with `downlevelIteration` for TypeScript < 4.2:\n * ```\n * function MyClass() {\n * var _this = _super.apply(this, __spread(arguments)) || this;\n * ```\n *\n * or downleveled to ES5 with `downlevelIteration` for TypeScript >= 4.2:\n * ```\n * function MyClass() {\n * var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this;\n * ```\n *\n * More details can be found in: https://github.com/angular/angular/issues/38453.\n */\nconst ES5_DELEGATE_CTOR = /^function\\s+\\S+\\(\\)\\s*{[\\s\\S]+\\.apply\\(this,\\s*(arguments|(?:[^()]+\\(\\[\\],)?[^()]+\\(arguments\\).*)\\)/;\n/** Regular expression that detects ES2015 classes which extend from other classes. */\nconst ES2015_INHERITED_CLASS = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{/;\n/**\n * Regular expression that detects ES2015 classes which extend from other classes and\n * have an explicit constructor defined.\n */\nconst ES2015_INHERITED_CLASS_WITH_CTOR = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{[\\s\\S]*constructor\\s*\\(/;\n/**\n * Regular expression that detects ES2015 classes which extend from other classes\n * and inherit a constructor.\n */\nconst ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{[\\s\\S]*constructor\\s*\\(\\)\\s*{[^}]*super\\(\\.\\.\\.arguments\\)/;\n/**\n * Determine whether a stringified type is a class which delegates its constructor\n * to its parent.\n *\n * This is not trivial since compiled code can actually contain a constructor function\n * even if the original source code did not. For instance, when the child class contains\n * an initialized instance property.\n */\nfunction isDelegateCtor(typeStr) {\n return ES5_DELEGATE_CTOR.test(typeStr) || ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR.test(typeStr) || ES2015_INHERITED_CLASS.test(typeStr) && !ES2015_INHERITED_CLASS_WITH_CTOR.test(typeStr);\n}\nclass ReflectionCapabilities {\n constructor(reflect) {\n this._reflect = reflect || _global['Reflect'];\n }\n factory(t) {\n return (...args) => new t(...args);\n }\n /** @internal */\n _zipTypesAndAnnotations(paramTypes, paramAnnotations) {\n let result;\n if (typeof paramTypes === 'undefined') {\n result = newArray(paramAnnotations.length);\n } else {\n result = newArray(paramTypes.length);\n }\n for (let i = 0; i < result.length; i++) {\n // TS outputs Object for parameters without types, while Traceur omits\n // the annotations. For now we preserve the Traceur behavior to aid\n // migration, but this can be revisited.\n if (typeof paramTypes === 'undefined') {\n result[i] = [];\n } else if (paramTypes[i] && paramTypes[i] != Object) {\n result[i] = [paramTypes[i]];\n } else {\n result[i] = [];\n }\n if (paramAnnotations && paramAnnotations[i] != null) {\n result[i] = result[i].concat(paramAnnotations[i]);\n }\n }\n return result;\n }\n _ownParameters(type, parentCtor) {\n const typeStr = type.toString();\n // If we have no decorators, we only have function.length as metadata.\n // In that case, to detect whether a child class declared an own constructor or not,\n // we need to look inside of that constructor to check whether it is\n // just calling the parent.\n // This also helps to work around for https://github.com/Microsoft/TypeScript/issues/12439\n // that sets 'design:paramtypes' to []\n // if a class inherits from another class but has no ctor declared itself.\n if (isDelegateCtor(typeStr)) {\n return null;\n }\n // Prefer the direct API.\n if (type.parameters && type.parameters !== parentCtor.parameters) {\n return type.parameters;\n }\n // API of tsickle for lowering decorators to properties on the class.\n const tsickleCtorParams = type.ctorParameters;\n if (tsickleCtorParams && tsickleCtorParams !== parentCtor.ctorParameters) {\n // Newer tsickle uses a function closure\n // Retain the non-function case for compatibility with older tsickle\n const ctorParameters = typeof tsickleCtorParams === 'function' ? tsickleCtorParams() : tsickleCtorParams;\n const paramTypes = ctorParameters.map(ctorParam => ctorParam && ctorParam.type);\n const paramAnnotations = ctorParameters.map(ctorParam => ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators));\n return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n }\n // API for metadata created by invoking the decorators.\n const paramAnnotations = type.hasOwnProperty(PARAMETERS) && type[PARAMETERS];\n const paramTypes = this._reflect && this._reflect.getOwnMetadata && this._reflect.getOwnMetadata('design:paramtypes', type);\n if (paramTypes || paramAnnotations) {\n return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n }\n // If a class has no decorators, at least create metadata\n // based on function.length.\n // Note: We know that this is a real constructor as we checked\n // the content of the constructor above.\n return newArray(type.length);\n }\n parameters(type) {\n // Note: only report metadata if we have at least one class decorator\n // to stay in sync with the static reflector.\n if (!isType(type)) {\n return [];\n }\n const parentCtor = getParentCtor(type);\n let parameters = this._ownParameters(type, parentCtor);\n if (!parameters && parentCtor !== Object) {\n parameters = this.parameters(parentCtor);\n }\n return parameters || [];\n }\n _ownAnnotations(typeOrFunc, parentCtor) {\n // Prefer the direct API.\n if (typeOrFunc.annotations && typeOrFunc.annotations !== parentCtor.annotations) {\n let annotations = typeOrFunc.annotations;\n if (typeof annotations === 'function' && annotations.annotations) {\n annotations = annotations.annotations;\n }\n return annotations;\n }\n // API of tsickle for lowering decorators to properties on the class.\n if (typeOrFunc.decorators && typeOrFunc.decorators !== parentCtor.decorators) {\n return convertTsickleDecoratorIntoMetadata(typeOrFunc.decorators);\n }\n // API for metadata created by invoking the decorators.\n if (typeOrFunc.hasOwnProperty(ANNOTATIONS)) {\n return typeOrFunc[ANNOTATIONS];\n }\n return null;\n }\n annotations(typeOrFunc) {\n if (!isType(typeOrFunc)) {\n return [];\n }\n const parentCtor = getParentCtor(typeOrFunc);\n const ownAnnotations = this._ownAnnotations(typeOrFunc, parentCtor) || [];\n const parentAnnotations = parentCtor !== Object ? this.annotations(parentCtor) : [];\n return parentAnnotations.concat(ownAnnotations);\n }\n _ownPropMetadata(typeOrFunc, parentCtor) {\n // Prefer the direct API.\n if (typeOrFunc.propMetadata && typeOrFunc.propMetadata !== parentCtor.propMetadata) {\n let propMetadata = typeOrFunc.propMetadata;\n if (typeof propMetadata === 'function' && propMetadata.propMetadata) {\n propMetadata = propMetadata.propMetadata;\n }\n return propMetadata;\n }\n // API of tsickle for lowering decorators to properties on the class.\n if (typeOrFunc.propDecorators && typeOrFunc.propDecorators !== parentCtor.propDecorators) {\n const propDecorators = typeOrFunc.propDecorators;\n const propMetadata = {};\n Object.keys(propDecorators).forEach(prop => {\n propMetadata[prop] = convertTsickleDecoratorIntoMetadata(propDecorators[prop]);\n });\n return propMetadata;\n }\n // API for metadata created by invoking the decorators.\n if (typeOrFunc.hasOwnProperty(PROP_METADATA)) {\n return typeOrFunc[PROP_METADATA];\n }\n return null;\n }\n propMetadata(typeOrFunc) {\n if (!isType(typeOrFunc)) {\n return {};\n }\n const parentCtor = getParentCtor(typeOrFunc);\n const propMetadata = {};\n if (parentCtor !== Object) {\n const parentPropMetadata = this.propMetadata(parentCtor);\n Object.keys(parentPropMetadata).forEach(propName => {\n propMetadata[propName] = parentPropMetadata[propName];\n });\n }\n const ownPropMetadata = this._ownPropMetadata(typeOrFunc, parentCtor);\n if (ownPropMetadata) {\n Object.keys(ownPropMetadata).forEach(propName => {\n const decorators = [];\n if (propMetadata.hasOwnProperty(propName)) {\n decorators.push(...propMetadata[propName]);\n }\n decorators.push(...ownPropMetadata[propName]);\n propMetadata[propName] = decorators;\n });\n }\n return propMetadata;\n }\n ownPropMetadata(typeOrFunc) {\n if (!isType(typeOrFunc)) {\n return {};\n }\n return this._ownPropMetadata(typeOrFunc, getParentCtor(typeOrFunc)) || {};\n }\n hasLifecycleHook(type, lcProperty) {\n return type instanceof Type && lcProperty in type.prototype;\n }\n}\nfunction convertTsickleDecoratorIntoMetadata(decoratorInvocations) {\n if (!decoratorInvocations) {\n return [];\n }\n return decoratorInvocations.map(decoratorInvocation => {\n const decoratorType = decoratorInvocation.type;\n const annotationCls = decoratorType.annotationCls;\n const annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : [];\n return new annotationCls(...annotationArgs);\n });\n}\nfunction getParentCtor(ctor) {\n const parentProto = ctor.prototype ? Object.getPrototypeOf(ctor.prototype) : null;\n const parentCtor = parentProto ? parentProto.constructor : null;\n // Note: We always use `Object` as the null value\n // to simplify checking later on.\n return parentCtor || Object;\n}\n\n/**\n * Inject decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Inject = /*#__PURE__*/attachInjectFlag(\n/*#__PURE__*/\n// Disable tslint because `DecoratorFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nmakeParamDecorator('Inject', token => ({\n token\n})), -1 /* DecoratorFlags.Inject */);\n/**\n * Optional decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Optional =\n/*#__PURE__*/\n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag( /*#__PURE__*/makeParamDecorator('Optional'), 8 /* InternalInjectFlags.Optional */);\n/**\n * Self decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Self =\n/*#__PURE__*/\n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag( /*#__PURE__*/makeParamDecorator('Self'), 2 /* InternalInjectFlags.Self */);\n/**\n * `SkipSelf` decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst SkipSelf =\n/*#__PURE__*/\n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag( /*#__PURE__*/makeParamDecorator('SkipSelf'), 4 /* InternalInjectFlags.SkipSelf */);\n/**\n * Host decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Host =\n/*#__PURE__*/\n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag( /*#__PURE__*/makeParamDecorator('Host'), 1 /* InternalInjectFlags.Host */);\n\nlet _reflect = null;\nfunction getReflect() {\n return _reflect = _reflect || new ReflectionCapabilities();\n}\nfunction reflectDependencies(type) {\n return convertDependencies(getReflect().parameters(type));\n}\nfunction convertDependencies(deps) {\n return deps.map(dep => reflectDependency(dep));\n}\nfunction reflectDependency(dep) {\n const meta = {\n token: null,\n attribute: null,\n host: false,\n optional: false,\n self: false,\n skipSelf: false\n };\n if (Array.isArray(dep) && dep.length > 0) {\n for (let j = 0; j < dep.length; j++) {\n const param = dep[j];\n if (param === undefined) {\n // param may be undefined if type of dep is not set by ngtsc\n continue;\n }\n const proto = Object.getPrototypeOf(param);\n if (param instanceof Optional || proto.ngMetadataName === 'Optional') {\n meta.optional = true;\n } else if (param instanceof SkipSelf || proto.ngMetadataName === 'SkipSelf') {\n meta.skipSelf = true;\n } else if (param instanceof Self || proto.ngMetadataName === 'Self') {\n meta.self = true;\n } else if (param instanceof Host || proto.ngMetadataName === 'Host') {\n meta.host = true;\n } else if (param instanceof Inject) {\n meta.token = param.token;\n } else if (param instanceof Attribute) {\n if (param.attributeName === undefined) {\n throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && `Attribute name must be defined.`);\n }\n meta.attribute = param.attributeName;\n } else {\n meta.token = param;\n }\n }\n } else if (dep === undefined || Array.isArray(dep) && dep.length === 0) {\n meta.token = null;\n } else {\n meta.token = dep;\n }\n return meta;\n}\n\n/**\n * Used to resolve resource URLs on `@Component` when used with JIT compilation.\n *\n * Example:\n * ```\n * @Component({\n * selector: 'my-comp',\n * templateUrl: 'my-comp.html', // This requires asynchronous resolution\n * })\n * class MyComponent{\n * }\n *\n * // Calling `renderComponent` will fail because `renderComponent` is a synchronous process\n * // and `MyComponent`'s `@Component.templateUrl` needs to be resolved asynchronously.\n *\n * // Calling `resolveComponentResources()` will resolve `@Component.templateUrl` into\n * // `@Component.template`, which allows `renderComponent` to proceed in a synchronous manner.\n *\n * // Use browser's `fetch()` function as the default resource resolution strategy.\n * resolveComponentResources(fetch).then(() => {\n * // After resolution all URLs have been converted into `template` strings.\n * renderComponent(MyComponent);\n * });\n *\n * ```\n *\n * NOTE: In AOT the resolution happens during compilation, and so there should be no need\n * to call this method outside JIT mode.\n *\n * @param resourceResolver a function which is responsible for returning a `Promise` to the\n * contents of the resolved URL. Browser's `fetch()` method is a good default implementation.\n */\nfunction resolveComponentResources(resourceResolver) {\n // Store all promises which are fetching the resources.\n const componentResolved = [];\n // Cache so that we don't fetch the same resource more than once.\n const urlMap = new Map();\n function cachedResourceResolve(url) {\n let promise = urlMap.get(url);\n if (!promise) {\n const resp = resourceResolver(url);\n urlMap.set(url, promise = resp.then(unwrapResponse));\n }\n return promise;\n }\n componentResourceResolutionQueue.forEach((component, type) => {\n const promises = [];\n if (component.templateUrl) {\n promises.push(cachedResourceResolve(component.templateUrl).then(template => {\n component.template = template;\n }));\n }\n const styleUrls = component.styleUrls;\n const styles = component.styles || (component.styles = []);\n const styleOffset = component.styles.length;\n styleUrls && styleUrls.forEach((styleUrl, index) => {\n styles.push(''); // pre-allocate array.\n promises.push(cachedResourceResolve(styleUrl).then(style => {\n styles[styleOffset + index] = style;\n styleUrls.splice(styleUrls.indexOf(styleUrl), 1);\n if (styleUrls.length == 0) {\n component.styleUrls = undefined;\n }\n }));\n });\n const fullyResolved = Promise.all(promises).then(() => componentDefResolved(type));\n componentResolved.push(fullyResolved);\n });\n clearResolutionOfComponentResourcesQueue();\n return Promise.all(componentResolved).then(() => undefined);\n}\nlet componentResourceResolutionQueue = /*#__PURE__*/new Map();\n// Track when existing ɵcmp for a Type is waiting on resources.\nconst componentDefPendingResolution = /*#__PURE__*/new Set();\nfunction maybeQueueResolutionOfComponentResources(type, metadata) {\n if (componentNeedsResolution(metadata)) {\n componentResourceResolutionQueue.set(type, metadata);\n componentDefPendingResolution.add(type);\n }\n}\nfunction isComponentDefPendingResolution(type) {\n return componentDefPendingResolution.has(type);\n}\nfunction componentNeedsResolution(component) {\n return !!(component.templateUrl && !component.hasOwnProperty('template') || component.styleUrls && component.styleUrls.length);\n}\nfunction clearResolutionOfComponentResourcesQueue() {\n const old = componentResourceResolutionQueue;\n componentResourceResolutionQueue = new Map();\n return old;\n}\nfunction restoreComponentResolutionQueue(queue) {\n componentDefPendingResolution.clear();\n queue.forEach((_, type) => componentDefPendingResolution.add(type));\n componentResourceResolutionQueue = queue;\n}\nfunction isComponentResourceResolutionQueueEmpty() {\n return componentResourceResolutionQueue.size === 0;\n}\nfunction unwrapResponse(response) {\n return typeof response == 'string' ? response : response.text();\n}\nfunction componentDefResolved(type) {\n componentDefPendingResolution.delete(type);\n}\n\n/**\n * Map of module-id to the corresponding NgModule.\n */\nconst modules = /*#__PURE__*/new Map();\n/**\n * Whether to check for duplicate NgModule registrations.\n *\n * This can be disabled for testing.\n */\nlet checkForDuplicateNgModules = true;\nfunction assertSameOrNotExisting(id, type, incoming) {\n if (type && type !== incoming && checkForDuplicateNgModules) {\n throw new Error(`Duplicate module registered for ${id} - ${stringify(type)} vs ${stringify(type.name)}`);\n }\n}\n/**\n * Adds the given NgModule type to Angular's NgModule registry.\n *\n * This is generated as a side-effect of NgModule compilation. Note that the `id` is passed in\n * explicitly and not read from the NgModule definition. This is for two reasons: it avoids a\n * megamorphic read, and in JIT there's a chicken-and-egg problem where the NgModule may not be\n * fully resolved when it's registered.\n *\n * @codeGenApi\n */\nfunction registerNgModuleType(ngModuleType, id) {\n const existing = modules.get(id) || null;\n assertSameOrNotExisting(id, existing, ngModuleType);\n modules.set(id, ngModuleType);\n}\nfunction clearModulesForTest() {\n modules.clear();\n}\nfunction getRegisteredNgModuleType(id) {\n return modules.get(id);\n}\n/**\n * Control whether the NgModule registration system enforces that each NgModule type registered has\n * a unique id.\n *\n * This is useful for testing as the NgModule registry cannot be properly reset between tests with\n * Angular's current API.\n */\nfunction setAllowDuplicateNgModuleIdsForTest(allowDuplicates) {\n checkForDuplicateNgModules = !allowDuplicates;\n}\n\n/**\n * Defines a schema that allows an NgModule to contain the following:\n * - Non-Angular elements named with dash case (`-`).\n * - Element properties named with dash case (`-`).\n * Dash case is the naming convention for custom elements.\n *\n * @publicApi\n */\nconst CUSTOM_ELEMENTS_SCHEMA = {\n name: 'custom-elements'\n};\n/**\n * Defines a schema that allows any property on any element.\n *\n * This schema allows you to ignore the errors related to any unknown elements or properties in a\n * template. The usage of this schema is generally discouraged because it prevents useful validation\n * and may hide real errors in your template. Consider using the `CUSTOM_ELEMENTS_SCHEMA` instead.\n *\n * @publicApi\n */\nconst NO_ERRORS_SCHEMA = {\n name: 'no-errors-schema'\n};\nlet shouldThrowErrorOnUnknownElement = false;\n/**\n * Sets a strict mode for JIT-compiled components to throw an error on unknown elements,\n * instead of just logging the error.\n * (for AOT-compiled ones this check happens at build time).\n */\nfunction ɵsetUnknownElementStrictMode(shouldThrow) {\n shouldThrowErrorOnUnknownElement = shouldThrow;\n}\n/**\n * Gets the current value of the strict mode.\n */\nfunction ɵgetUnknownElementStrictMode() {\n return shouldThrowErrorOnUnknownElement;\n}\nlet shouldThrowErrorOnUnknownProperty = false;\n/**\n * Sets a strict mode for JIT-compiled components to throw an error on unknown properties,\n * instead of just logging the error.\n * (for AOT-compiled ones this check happens at build time).\n */\nfunction ɵsetUnknownPropertyStrictMode(shouldThrow) {\n shouldThrowErrorOnUnknownProperty = shouldThrow;\n}\n/**\n * Gets the current value of the strict mode.\n */\nfunction ɵgetUnknownPropertyStrictMode() {\n return shouldThrowErrorOnUnknownProperty;\n}\n/**\n * Validates that the element is known at runtime and produces\n * an error if it's not the case.\n * This check is relevant for JIT-compiled components (for AOT-compiled\n * ones this check happens at build time).\n *\n * The element is considered known if either:\n * - it's a known HTML element\n * - it's a known custom element\n * - the element matches any directive\n * - the element is allowed by one of the schemas\n *\n * @param element Element to validate\n * @param lView An `LView` that represents a current component that is being rendered\n * @param tagName Name of the tag to check\n * @param schemas Array of schemas\n * @param hasDirectives Boolean indicating that the element matches any directive\n */\nfunction validateElementIsKnown(element, lView, tagName, schemas, hasDirectives) {\n // If `schemas` is set to `null`, that's an indication that this Component was compiled in AOT\n // mode where this check happens at compile time. In JIT mode, `schemas` is always present and\n // defined as an array (as an empty array in case `schemas` field is not defined) and we should\n // execute the check below.\n if (schemas === null) return;\n // If the element matches any directive, it's considered as valid.\n if (!hasDirectives && tagName !== null) {\n // The element is unknown if it's an instance of HTMLUnknownElement, or it isn't registered\n // as a custom element. Note that unknown elements with a dash in their name won't be instances\n // of HTMLUnknownElement in browsers that support web components.\n const isUnknown =\n // Note that we can't check for `typeof HTMLUnknownElement === 'function'` because\n // Domino doesn't expose HTMLUnknownElement globally.\n typeof HTMLUnknownElement !== 'undefined' && HTMLUnknownElement && element instanceof HTMLUnknownElement || typeof customElements !== 'undefined' && tagName.indexOf('-') > -1 && !customElements.get(tagName);\n if (isUnknown && !matchingSchemas(schemas, tagName)) {\n const isHostStandalone = isHostComponentStandalone(lView);\n const templateLocation = getTemplateLocationDetails(lView);\n const schemas = `'${isHostStandalone ? '@Component' : '@NgModule'}.schemas'`;\n let message = `'${tagName}' is not a known element${templateLocation}:\\n`;\n message += `1. If '${tagName}' is an Angular component, then verify that it is ${isHostStandalone ? 'included in the \\'@Component.imports\\' of this component' : 'a part of an @NgModule where this component is declared'}.\\n`;\n if (tagName && tagName.indexOf('-') > -1) {\n message += `2. If '${tagName}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${schemas} of this component to suppress this message.`;\n } else {\n message += `2. To allow any element add 'NO_ERRORS_SCHEMA' to the ${schemas} of this component.`;\n }\n if (shouldThrowErrorOnUnknownElement) {\n throw new RuntimeError(304 /* RuntimeErrorCode.UNKNOWN_ELEMENT */, message);\n } else {\n console.error(formatRuntimeError(304 /* RuntimeErrorCode.UNKNOWN_ELEMENT */, message));\n }\n }\n }\n}\n/**\n * Validates that the property of the element is known at runtime and returns\n * false if it's not the case.\n * This check is relevant for JIT-compiled components (for AOT-compiled\n * ones this check happens at build time).\n *\n * The property is considered known if either:\n * - it's a known property of the element\n * - the element is allowed by one of the schemas\n * - the property is used for animations\n *\n * @param element Element to validate\n * @param propName Name of the property to check\n * @param tagName Name of the tag hosting the property\n * @param schemas Array of schemas\n */\nfunction isPropertyValid(element, propName, tagName, schemas) {\n // If `schemas` is set to `null`, that's an indication that this Component was compiled in AOT\n // mode where this check happens at compile time. In JIT mode, `schemas` is always present and\n // defined as an array (as an empty array in case `schemas` field is not defined) and we should\n // execute the check below.\n if (schemas === null) return true;\n // The property is considered valid if the element matches the schema, it exists on the element,\n // or it is synthetic, and we are in a browser context (web worker nodes should be skipped).\n if (matchingSchemas(schemas, tagName) || propName in element || isAnimationProp(propName)) {\n return true;\n }\n // Note: `typeof Node` returns 'function' in most browsers, but is undefined with domino.\n return typeof Node === 'undefined' || Node === null || !(element instanceof Node);\n}\n/**\n * Logs or throws an error that a property is not supported on an element.\n *\n * @param propName Name of the invalid property\n * @param tagName Name of the tag hosting the property\n * @param nodeType Type of the node hosting the property\n * @param lView An `LView` that represents a current component\n */\nfunction handleUnknownPropertyError(propName, tagName, nodeType, lView) {\n // Special-case a situation when a structural directive is applied to\n // an `` element, for example: ``.\n // In this case the compiler generates the `ɵɵtemplate` instruction with\n // the `null` as the tagName. The directive matching logic at runtime relies\n // on this effect (see `isInlineTemplate`), thus using the 'ng-template' as\n // a default value of the `tNode.value` is not feasible at this moment.\n if (!tagName && nodeType === 4 /* TNodeType.Container */) {\n tagName = 'ng-template';\n }\n const isHostStandalone = isHostComponentStandalone(lView);\n const templateLocation = getTemplateLocationDetails(lView);\n let message = `Can't bind to '${propName}' since it isn't a known property of '${tagName}'${templateLocation}.`;\n const schemas = `'${isHostStandalone ? '@Component' : '@NgModule'}.schemas'`;\n const importLocation = isHostStandalone ? 'included in the \\'@Component.imports\\' of this component' : 'a part of an @NgModule where this component is declared';\n if (KNOWN_CONTROL_FLOW_DIRECTIVES.has(propName)) {\n // Most likely this is a control flow directive (such as `*ngIf`) used in\n // a template, but the directive or the `CommonModule` is not imported.\n const correspondingImport = KNOWN_CONTROL_FLOW_DIRECTIVES.get(propName);\n message += `\\nIf the '${propName}' is an Angular control flow directive, ` + `please make sure that either the '${correspondingImport}' directive or the 'CommonModule' is ${importLocation}.`;\n } else {\n // May be an Angular component, which is not imported/declared?\n message += `\\n1. If '${tagName}' is an Angular component and it has the ` + `'${propName}' input, then verify that it is ${importLocation}.`;\n // May be a Web Component?\n if (tagName && tagName.indexOf('-') > -1) {\n message += `\\n2. If '${tagName}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' ` + `to the ${schemas} of this component to suppress this message.`;\n message += `\\n3. To allow any property add 'NO_ERRORS_SCHEMA' to ` + `the ${schemas} of this component.`;\n } else {\n // If it's expected, the error can be suppressed by the `NO_ERRORS_SCHEMA` schema.\n message += `\\n2. To allow any property add 'NO_ERRORS_SCHEMA' to ` + `the ${schemas} of this component.`;\n }\n }\n reportUnknownPropertyError(message);\n}\nfunction reportUnknownPropertyError(message) {\n if (shouldThrowErrorOnUnknownProperty) {\n throw new RuntimeError(303 /* RuntimeErrorCode.UNKNOWN_BINDING */, message);\n } else {\n console.error(formatRuntimeError(303 /* RuntimeErrorCode.UNKNOWN_BINDING */, message));\n }\n}\n/**\n * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)\n * and must **not** be used in production bundles. The function makes megamorphic reads, which might\n * be too slow for production mode and also it relies on the constructor function being available.\n *\n * Gets a reference to the host component def (where a current component is declared).\n *\n * @param lView An `LView` that represents a current component that is being rendered.\n */\nfunction getDeclarationComponentDef(lView) {\n !ngDevMode && throwError('Must never be called in production mode');\n const declarationLView = lView[DECLARATION_COMPONENT_VIEW];\n const context = declarationLView[CONTEXT];\n // Unable to obtain a context.\n if (!context) return null;\n return context.constructor ? getComponentDef(context.constructor) : null;\n}\n/**\n * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)\n * and must **not** be used in production bundles. The function makes megamorphic reads, which might\n * be too slow for production mode.\n *\n * Checks if the current component is declared inside of a standalone component template.\n *\n * @param lView An `LView` that represents a current component that is being rendered.\n */\nfunction isHostComponentStandalone(lView) {\n !ngDevMode && throwError('Must never be called in production mode');\n const componentDef = getDeclarationComponentDef(lView);\n // Treat host component as non-standalone if we can't obtain the def.\n return !!componentDef?.standalone;\n}\n/**\n * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)\n * and must **not** be used in production bundles. The function makes megamorphic reads, which might\n * be too slow for production mode.\n *\n * Constructs a string describing the location of the host component template. The function is used\n * in dev mode to produce error messages.\n *\n * @param lView An `LView` that represents a current component that is being rendered.\n */\nfunction getTemplateLocationDetails(lView) {\n !ngDevMode && throwError('Must never be called in production mode');\n const hostComponentDef = getDeclarationComponentDef(lView);\n const componentClassName = hostComponentDef?.type?.name;\n return componentClassName ? ` (used in the '${componentClassName}' component template)` : '';\n}\n/**\n * The set of known control flow directives and their corresponding imports.\n * We use this set to produce a more precises error message with a note\n * that the `CommonModule` should also be included.\n */\nconst KNOWN_CONTROL_FLOW_DIRECTIVES = /*#__PURE__*/new Map([['ngIf', 'NgIf'], ['ngFor', 'NgFor'], ['ngSwitchCase', 'NgSwitchCase'], ['ngSwitchDefault', 'NgSwitchDefault']]);\n/**\n * Returns true if the tag name is allowed by specified schemas.\n * @param schemas Array of schemas\n * @param tagName Name of the tag\n */\nfunction matchingSchemas(schemas, tagName) {\n if (schemas !== null) {\n for (let i = 0; i < schemas.length; i++) {\n const schema = schemas[i];\n if (schema === NO_ERRORS_SCHEMA || schema === CUSTOM_ELEMENTS_SCHEMA && tagName && tagName.indexOf('-') > -1) {\n return true;\n }\n }\n }\n return false;\n}\n\n/**\n * Flags for renderer-specific style modifiers.\n * @publicApi\n */\nvar RendererStyleFlags2 = /*#__PURE__*/(() => {\n RendererStyleFlags2 = RendererStyleFlags2 || {};\n // TODO(misko): This needs to be refactored into a separate file so that it can be imported from\n // `node_manipulation.ts` Currently doing the import cause resolution order to change and fails\n // the tests. The work around is to have hard coded value in `node_manipulation.ts` for now.\n /**\n * Marks a style as important.\n */\n RendererStyleFlags2[RendererStyleFlags2[\"Important\"] = 1] = \"Important\";\n /**\n * Marks a style as using dash case naming (this-is-dash-case).\n */\n RendererStyleFlags2[RendererStyleFlags2[\"DashCase\"] = 2] = \"DashCase\";\n return RendererStyleFlags2;\n})();\n/**\n * Disallowed strings in the comment.\n *\n * see: https://html.spec.whatwg.org/multipage/syntax.html#comments\n */\nconst COMMENT_DISALLOWED = /^>|^->||--!>|)/;\nconst COMMENT_DELIMITER_ESCAPED = '\\u200B$1\\u200B';\n/**\n * Escape the content of comment strings so that it can be safely inserted into a comment node.\n *\n * The issue is that HTML does not specify any way to escape comment end text inside the comment.\n * Consider: `\" or\n * \"--!>\" at the end. -->`. Above the `\"-->\"` is meant to be text not an end to the comment. This\n * can be created programmatically through DOM APIs. (`` or `--!>`) the\n * text it will render normally but it will not cause the HTML parser to close/open the comment.\n *\n * @param value text to make safe for comment node by escaping the comment open/close character\n * sequence.\n */\nfunction escapeCommentText(value) {\n return value.replace(COMMENT_DISALLOWED, text => text.replace(COMMENT_DELIMITER, COMMENT_DELIMITER_ESCAPED));\n}\n\n// Keeps track of the currently-active LViews.\nconst TRACKED_LVIEWS = /*#__PURE__*/new Map();\n// Used for generating unique IDs for LViews.\nlet uniqueIdCounter = 0;\n/** Gets a unique ID that can be assigned to an LView. */\nfunction getUniqueLViewId() {\n return uniqueIdCounter++;\n}\n/** Starts tracking an LView. */\nfunction registerLView(lView) {\n ngDevMode && assertNumber(lView[ID], 'LView must have an ID in order to be registered');\n TRACKED_LVIEWS.set(lView[ID], lView);\n}\n/** Gets an LView by its unique ID. */\nfunction getLViewById(id) {\n ngDevMode && assertNumber(id, 'ID used for LView lookup must be a number');\n return TRACKED_LVIEWS.get(id) || null;\n}\n/** Stops tracking an LView. */\nfunction unregisterLView(lView) {\n ngDevMode && assertNumber(lView[ID], 'Cannot stop tracking an LView that does not have an ID');\n TRACKED_LVIEWS.delete(lView[ID]);\n}\n\n/**\n * The internal view context which is specific to a given DOM element, directive or\n * component instance. Each value in here (besides the LView and element node details)\n * can be present, null or undefined. If undefined then it implies the value has not been\n * looked up yet, otherwise, if null, then a lookup was executed and nothing was found.\n *\n * Each value will get filled when the respective value is examined within the getContext\n * function. The component, element and each directive instance will share the same instance\n * of the context.\n */\nclass LContext {\n /** Component's parent view data. */\n get lView() {\n return getLViewById(this.lViewId);\n }\n constructor(\n /**\n * ID of the component's parent view data.\n */\n lViewId,\n /**\n * The index instance of the node.\n */\n nodeIndex,\n /**\n * The instance of the DOM node that is attached to the lNode.\n */\n native) {\n this.lViewId = lViewId;\n this.nodeIndex = nodeIndex;\n this.native = native;\n }\n}\n\n/**\n * Returns the matching `LContext` data for a given DOM node, directive or component instance.\n *\n * This function will examine the provided DOM element, component, or directive instance\\'s\n * monkey-patched property to derive the `LContext` data. Once called then the monkey-patched\n * value will be that of the newly created `LContext`.\n *\n * If the monkey-patched value is the `LView` instance then the context value for that\n * target will be created and the monkey-patch reference will be updated. Therefore when this\n * function is called it may mutate the provided element\\'s, component\\'s or any of the associated\n * directive\\'s monkey-patch values.\n *\n * If the monkey-patch value is not detected then the code will walk up the DOM until an element\n * is found which contains a monkey-patch reference. When that occurs then the provided element\n * will be updated with a new context (which is then returned). If the monkey-patch value is not\n * detected for a component/directive instance then it will throw an error (all components and\n * directives should be automatically monkey-patched by ivy).\n *\n * @param target Component, Directive or DOM Node.\n */\nfunction getLContext(target) {\n let mpValue = readPatchedData(target);\n if (mpValue) {\n // only when it's an array is it considered an LView instance\n // ... otherwise it's an already constructed LContext instance\n if (isLView(mpValue)) {\n const lView = mpValue;\n let nodeIndex;\n let component = undefined;\n let directives = undefined;\n if (isComponentInstance(target)) {\n nodeIndex = findViaComponent(lView, target);\n if (nodeIndex == -1) {\n throw new Error('The provided component was not found in the application');\n }\n component = target;\n } else if (isDirectiveInstance(target)) {\n nodeIndex = findViaDirective(lView, target);\n if (nodeIndex == -1) {\n throw new Error('The provided directive was not found in the application');\n }\n directives = getDirectivesAtNodeIndex(nodeIndex, lView);\n } else {\n nodeIndex = findViaNativeElement(lView, target);\n if (nodeIndex == -1) {\n return null;\n }\n }\n // the goal is not to fill the entire context full of data because the lookups\n // are expensive. Instead, only the target data (the element, component, container, ICU\n // expression or directive details) are filled into the context. If called multiple times\n // with different target values then the missing target data will be filled in.\n const native = unwrapRNode(lView[nodeIndex]);\n const existingCtx = readPatchedData(native);\n const context = existingCtx && !Array.isArray(existingCtx) ? existingCtx : createLContext(lView, nodeIndex, native);\n // only when the component has been discovered then update the monkey-patch\n if (component && context.component === undefined) {\n context.component = component;\n attachPatchData(context.component, context);\n }\n // only when the directives have been discovered then update the monkey-patch\n if (directives && context.directives === undefined) {\n context.directives = directives;\n for (let i = 0; i < directives.length; i++) {\n attachPatchData(directives[i], context);\n }\n }\n attachPatchData(context.native, context);\n mpValue = context;\n }\n } else {\n const rElement = target;\n ngDevMode && assertDomNode(rElement);\n // if the context is not found then we need to traverse upwards up the DOM\n // to find the nearest element that has already been monkey patched with data\n let parent = rElement;\n while (parent = parent.parentNode) {\n const parentContext = readPatchedData(parent);\n if (parentContext) {\n const lView = Array.isArray(parentContext) ? parentContext : parentContext.lView;\n // the edge of the app was also reached here through another means\n // (maybe because the DOM was changed manually).\n if (!lView) {\n return null;\n }\n const index = findViaNativeElement(lView, rElement);\n if (index >= 0) {\n const native = unwrapRNode(lView[index]);\n const context = createLContext(lView, index, native);\n attachPatchData(native, context);\n mpValue = context;\n break;\n }\n }\n }\n }\n return mpValue || null;\n}\n/**\n * Creates an empty instance of a `LContext` context\n */\nfunction createLContext(lView, nodeIndex, native) {\n return new LContext(lView[ID], nodeIndex, native);\n}\n/**\n * Takes a component instance and returns the view for that component.\n *\n * @param componentInstance\n * @returns The component's view\n */\nfunction getComponentViewByInstance(componentInstance) {\n let patchedData = readPatchedData(componentInstance);\n let lView;\n if (isLView(patchedData)) {\n const contextLView = patchedData;\n const nodeIndex = findViaComponent(contextLView, componentInstance);\n lView = getComponentLViewByIndex(nodeIndex, contextLView);\n const context = createLContext(contextLView, nodeIndex, lView[HOST]);\n context.component = componentInstance;\n attachPatchData(componentInstance, context);\n attachPatchData(context.native, context);\n } else {\n const context = patchedData;\n const contextLView = context.lView;\n ngDevMode && assertLView(contextLView);\n lView = getComponentLViewByIndex(context.nodeIndex, contextLView);\n }\n return lView;\n}\n/**\n * This property will be monkey-patched on elements, components and directives.\n */\nconst MONKEY_PATCH_KEY_NAME = '__ngContext__';\n/**\n * Assigns the given data to the given target (which could be a component,\n * directive or DOM node instance) using monkey-patching.\n */\nfunction attachPatchData(target, data) {\n ngDevMode && assertDefined(target, 'Target expected');\n // Only attach the ID of the view in order to avoid memory leaks (see #41047). We only do this\n // for `LView`, because we have control over when an `LView` is created and destroyed, whereas\n // we can't know when to remove an `LContext`.\n if (isLView(data)) {\n target[MONKEY_PATCH_KEY_NAME] = data[ID];\n registerLView(data);\n } else {\n target[MONKEY_PATCH_KEY_NAME] = data;\n }\n}\n/**\n * Returns the monkey-patch value data present on the target (which could be\n * a component, directive or a DOM node).\n */\nfunction readPatchedData(target) {\n ngDevMode && assertDefined(target, 'Target expected');\n const data = target[MONKEY_PATCH_KEY_NAME];\n return typeof data === 'number' ? getLViewById(data) : data || null;\n}\nfunction readPatchedLView(target) {\n const value = readPatchedData(target);\n if (value) {\n return isLView(value) ? value : value.lView;\n }\n return null;\n}\nfunction isComponentInstance(instance) {\n return instance && instance.constructor && instance.constructor.ɵcmp;\n}\nfunction isDirectiveInstance(instance) {\n return instance && instance.constructor && instance.constructor.ɵdir;\n}\n/**\n * Locates the element within the given LView and returns the matching index\n */\nfunction findViaNativeElement(lView, target) {\n const tView = lView[TVIEW];\n for (let i = HEADER_OFFSET; i < tView.bindingStartIndex; i++) {\n if (unwrapRNode(lView[i]) === target) {\n return i;\n }\n }\n return -1;\n}\n/**\n * Locates the next tNode (child, sibling or parent).\n */\nfunction traverseNextElement(tNode) {\n if (tNode.child) {\n return tNode.child;\n } else if (tNode.next) {\n return tNode.next;\n } else {\n // Let's take the following template:
text
\n // After checking the text node, we need to find the next parent that has a \"next\" TNode,\n // in this case the parent `div`, so that we can find the component.\n while (tNode.parent && !tNode.parent.next) {\n tNode = tNode.parent;\n }\n return tNode.parent && tNode.parent.next;\n }\n}\n/**\n * Locates the component within the given LView and returns the matching index\n */\nfunction findViaComponent(lView, componentInstance) {\n const componentIndices = lView[TVIEW].components;\n if (componentIndices) {\n for (let i = 0; i < componentIndices.length; i++) {\n const elementComponentIndex = componentIndices[i];\n const componentView = getComponentLViewByIndex(elementComponentIndex, lView);\n if (componentView[CONTEXT] === componentInstance) {\n return elementComponentIndex;\n }\n }\n } else {\n const rootComponentView = getComponentLViewByIndex(HEADER_OFFSET, lView);\n const rootComponent = rootComponentView[CONTEXT];\n if (rootComponent === componentInstance) {\n // we are dealing with the root element here therefore we know that the\n // element is the very first element after the HEADER data in the lView\n return HEADER_OFFSET;\n }\n }\n return -1;\n}\n/**\n * Locates the directive within the given LView and returns the matching index\n */\nfunction findViaDirective(lView, directiveInstance) {\n // if a directive is monkey patched then it will (by default)\n // have a reference to the LView of the current view. The\n // element bound to the directive being search lives somewhere\n // in the view data. We loop through the nodes and check their\n // list of directives for the instance.\n let tNode = lView[TVIEW].firstChild;\n while (tNode) {\n const directiveIndexStart = tNode.directiveStart;\n const directiveIndexEnd = tNode.directiveEnd;\n for (let i = directiveIndexStart; i < directiveIndexEnd; i++) {\n if (lView[i] === directiveInstance) {\n return tNode.index;\n }\n }\n tNode = traverseNextElement(tNode);\n }\n return -1;\n}\n/**\n * Returns a list of directives applied to a node at a specific index. The list includes\n * directives matched by selector and any host directives, but it excludes components.\n * Use `getComponentAtNodeIndex` to find the component applied to a node.\n *\n * @param nodeIndex The node index\n * @param lView The target view data\n */\nfunction getDirectivesAtNodeIndex(nodeIndex, lView) {\n const tNode = lView[TVIEW].data[nodeIndex];\n if (tNode.directiveStart === 0) return EMPTY_ARRAY;\n const results = [];\n for (let i = tNode.directiveStart; i < tNode.directiveEnd; i++) {\n const directiveInstance = lView[i];\n if (!isComponentInstance(directiveInstance)) {\n results.push(directiveInstance);\n }\n }\n return results;\n}\nfunction getComponentAtNodeIndex(nodeIndex, lView) {\n const tNode = lView[TVIEW].data[nodeIndex];\n const {\n directiveStart,\n componentOffset\n } = tNode;\n return componentOffset > -1 ? lView[directiveStart + componentOffset] : null;\n}\n/**\n * Returns a map of local references (local reference name => element or directive instance) that\n * exist on a given element.\n */\nfunction discoverLocalRefs(lView, nodeIndex) {\n const tNode = lView[TVIEW].data[nodeIndex];\n if (tNode && tNode.localNames) {\n const result = {};\n let localIndex = tNode.index + 1;\n for (let i = 0; i < tNode.localNames.length; i += 2) {\n result[tNode.localNames[i]] = lView[localIndex];\n localIndex++;\n }\n return result;\n }\n return null;\n}\nlet _icuContainerIterate;\n/**\n * Iterator which provides ability to visit all of the `TIcuContainerNode` root `RNode`s.\n */\nfunction icuContainerIterate(tIcuContainerNode, lView) {\n return _icuContainerIterate(tIcuContainerNode, lView);\n}\n/**\n * Ensures that `IcuContainerVisitor`'s implementation is present.\n *\n * This function is invoked when i18n instruction comes across an ICU. The purpose is to allow the\n * bundler to tree shake ICU logic and only load it if ICU instruction is executed.\n */\nfunction ensureIcuContainerVisitorLoaded(loader) {\n if (_icuContainerIterate === undefined) {\n // Do not inline this function. We want to keep `ensureIcuContainerVisitorLoaded` light, so it\n // can be inlined into call-site.\n _icuContainerIterate = loader();\n }\n}\n\n/**\n * Gets the parent LView of the passed LView, if the PARENT is an LContainer, will get the parent of\n * that LContainer, which is an LView\n * @param lView the lView whose parent to get\n */\nfunction getLViewParent(lView) {\n ngDevMode && assertLView(lView);\n const parent = lView[PARENT];\n return isLContainer(parent) ? parent[PARENT] : parent;\n}\n/**\n * Retrieve the root view from any component or `LView` by walking the parent `LView` until\n * reaching the root `LView`.\n *\n * @param componentOrLView any component or `LView`\n */\nfunction getRootView(componentOrLView) {\n ngDevMode && assertDefined(componentOrLView, 'component');\n let lView = isLView(componentOrLView) ? componentOrLView : readPatchedLView(componentOrLView);\n while (lView && !(lView[FLAGS] & 256 /* LViewFlags.IsRoot */)) {\n lView = getLViewParent(lView);\n }\n ngDevMode && assertLView(lView);\n return lView;\n}\n/**\n * Returns the context information associated with the application where the target is situated. It\n * does this by walking the parent views until it gets to the root view, then getting the context\n * off of that.\n *\n * @param viewOrComponent the `LView` or component to get the root context for.\n */\nfunction getRootContext(viewOrComponent) {\n const rootView = getRootView(viewOrComponent);\n ngDevMode && assertDefined(rootView[CONTEXT], 'Root view has no context. Perhaps it is disconnected?');\n return rootView[CONTEXT];\n}\n/**\n * Gets the first `LContainer` in the LView or `null` if none exists.\n */\nfunction getFirstLContainer(lView) {\n return getNearestLContainer(lView[CHILD_HEAD]);\n}\n/**\n * Gets the next `LContainer` that is a sibling of the given container.\n */\nfunction getNextLContainer(container) {\n return getNearestLContainer(container[NEXT]);\n}\nfunction getNearestLContainer(viewOrContainer) {\n while (viewOrContainer !== null && !isLContainer(viewOrContainer)) {\n viewOrContainer = viewOrContainer[NEXT];\n }\n return viewOrContainer;\n}\n\n/**\n * NOTE: for performance reasons, the possible actions are inlined within the function instead of\n * being passed as an argument.\n */\nfunction applyToElementOrContainer(action, renderer, parent, lNodeToHandle, beforeNode) {\n // If this slot was allocated for a text node dynamically created by i18n, the text node itself\n // won't be created until i18nApply() in the update block, so this node should be skipped.\n // For more info, see \"ICU expressions should work inside an ngTemplateOutlet inside an ngFor\"\n // in `i18n_spec.ts`.\n if (lNodeToHandle != null) {\n let lContainer;\n let isComponent = false;\n // We are expecting an RNode, but in the case of a component or LContainer the `RNode` is\n // wrapped in an array which needs to be unwrapped. We need to know if it is a component and if\n // it has LContainer so that we can process all of those cases appropriately.\n if (isLContainer(lNodeToHandle)) {\n lContainer = lNodeToHandle;\n } else if (isLView(lNodeToHandle)) {\n isComponent = true;\n ngDevMode && assertDefined(lNodeToHandle[HOST], 'HOST must be defined for a component LView');\n lNodeToHandle = lNodeToHandle[HOST];\n }\n const rNode = unwrapRNode(lNodeToHandle);\n if (action === 0 /* WalkTNodeTreeAction.Create */ && parent !== null) {\n if (beforeNode == null) {\n nativeAppendChild(renderer, parent, rNode);\n } else {\n nativeInsertBefore(renderer, parent, rNode, beforeNode || null, true);\n }\n } else if (action === 1 /* WalkTNodeTreeAction.Insert */ && parent !== null) {\n nativeInsertBefore(renderer, parent, rNode, beforeNode || null, true);\n } else if (action === 2 /* WalkTNodeTreeAction.Detach */) {\n nativeRemoveNode(renderer, rNode, isComponent);\n } else if (action === 3 /* WalkTNodeTreeAction.Destroy */) {\n ngDevMode && ngDevMode.rendererDestroyNode++;\n renderer.destroyNode(rNode);\n }\n if (lContainer != null) {\n applyContainer(renderer, action, lContainer, parent, beforeNode);\n }\n }\n}\nfunction createTextNode(renderer, value) {\n ngDevMode && ngDevMode.rendererCreateTextNode++;\n ngDevMode && ngDevMode.rendererSetText++;\n return renderer.createText(value);\n}\nfunction updateTextNode(renderer, rNode, value) {\n ngDevMode && ngDevMode.rendererSetText++;\n renderer.setValue(rNode, value);\n}\nfunction createCommentNode(renderer, value) {\n ngDevMode && ngDevMode.rendererCreateComment++;\n return renderer.createComment(escapeCommentText(value));\n}\n/**\n * Creates a native element from a tag name, using a renderer.\n * @param renderer A renderer to use\n * @param name the tag name\n * @param namespace Optional namespace for element.\n * @returns the element created\n */\nfunction createElementNode(renderer, name, namespace) {\n ngDevMode && ngDevMode.rendererCreateElement++;\n return renderer.createElement(name, namespace);\n}\n/**\n * Removes all DOM elements associated with a view.\n *\n * Because some root nodes of the view may be containers, we sometimes need\n * to propagate deeply into the nested containers to remove all elements in the\n * views beneath it.\n *\n * @param tView The `TView' of the `LView` from which elements should be added or removed\n * @param lView The view from which elements should be added or removed\n */\nfunction removeViewFromContainer(tView, lView) {\n const renderer = lView[RENDERER];\n applyView(tView, lView, renderer, 2 /* WalkTNodeTreeAction.Detach */, null, null);\n lView[HOST] = null;\n lView[T_HOST] = null;\n}\n/**\n * Adds all DOM elements associated with a view.\n *\n * Because some root nodes of the view may be containers, we sometimes need\n * to propagate deeply into the nested containers to add all elements in the\n * views beneath it.\n *\n * @param tView The `TView' of the `LView` from which elements should be added or removed\n * @param parentTNode The `TNode` where the `LView` should be attached to.\n * @param renderer Current renderer to use for DOM manipulations.\n * @param lView The view from which elements should be added or removed\n * @param parentNativeNode The parent `RElement` where it should be inserted into.\n * @param beforeNode The node before which elements should be added, if insert mode\n */\nfunction addViewToContainer(tView, parentTNode, renderer, lView, parentNativeNode, beforeNode) {\n lView[HOST] = parentNativeNode;\n lView[T_HOST] = parentTNode;\n applyView(tView, lView, renderer, 1 /* WalkTNodeTreeAction.Insert */, parentNativeNode, beforeNode);\n}\n/**\n * Detach a `LView` from the DOM by detaching its nodes.\n *\n * @param tView The `TView' of the `LView` to be detached\n * @param lView the `LView` to be detached.\n */\nfunction renderDetachView(tView, lView) {\n applyView(tView, lView, lView[RENDERER], 2 /* WalkTNodeTreeAction.Detach */, null, null);\n}\n/**\n * Traverses down and up the tree of views and containers to remove listeners and\n * call onDestroy callbacks.\n *\n * Notes:\n * - Because it's used for onDestroy calls, it needs to be bottom-up.\n * - Must process containers instead of their views to avoid splicing\n * when views are destroyed and re-added.\n * - Using a while loop because it's faster than recursion\n * - Destroy only called on movement to sibling or movement to parent (laterally or up)\n *\n * @param rootView The view to destroy\n */\nfunction destroyViewTree(rootView) {\n // If the view has no children, we can clean it up and return early.\n let lViewOrLContainer = rootView[CHILD_HEAD];\n if (!lViewOrLContainer) {\n return cleanUpView(rootView[TVIEW], rootView);\n }\n while (lViewOrLContainer) {\n let next = null;\n if (isLView(lViewOrLContainer)) {\n // If LView, traverse down to child.\n next = lViewOrLContainer[CHILD_HEAD];\n } else {\n ngDevMode && assertLContainer(lViewOrLContainer);\n // If container, traverse down to its first LView.\n const firstView = lViewOrLContainer[CONTAINER_HEADER_OFFSET];\n if (firstView) next = firstView;\n }\n if (!next) {\n // Only clean up view when moving to the side or up, as destroy hooks\n // should be called in order from the bottom up.\n while (lViewOrLContainer && !lViewOrLContainer[NEXT] && lViewOrLContainer !== rootView) {\n if (isLView(lViewOrLContainer)) {\n cleanUpView(lViewOrLContainer[TVIEW], lViewOrLContainer);\n }\n lViewOrLContainer = lViewOrLContainer[PARENT];\n }\n if (lViewOrLContainer === null) lViewOrLContainer = rootView;\n if (isLView(lViewOrLContainer)) {\n cleanUpView(lViewOrLContainer[TVIEW], lViewOrLContainer);\n }\n next = lViewOrLContainer && lViewOrLContainer[NEXT];\n }\n lViewOrLContainer = next;\n }\n}\n/**\n * Inserts a view into a container.\n *\n * This adds the view to the container's array of active views in the correct\n * position. It also adds the view's elements to the DOM if the container isn't a\n * root node of another view (in that case, the view's elements will be added when\n * the container's parent view is added later).\n *\n * @param tView The `TView' of the `LView` to insert\n * @param lView The view to insert\n * @param lContainer The container into which the view should be inserted\n * @param index Which index in the container to insert the child view into\n */\nfunction insertView(tView, lView, lContainer, index) {\n ngDevMode && assertLView(lView);\n ngDevMode && assertLContainer(lContainer);\n const indexInContainer = CONTAINER_HEADER_OFFSET + index;\n const containerLength = lContainer.length;\n if (index > 0) {\n // This is a new view, we need to add it to the children.\n lContainer[indexInContainer - 1][NEXT] = lView;\n }\n if (index < containerLength - CONTAINER_HEADER_OFFSET) {\n lView[NEXT] = lContainer[indexInContainer];\n addToArray(lContainer, CONTAINER_HEADER_OFFSET + index, lView);\n } else {\n lContainer.push(lView);\n lView[NEXT] = null;\n }\n lView[PARENT] = lContainer;\n // track views where declaration and insertion points are different\n const declarationLContainer = lView[DECLARATION_LCONTAINER];\n if (declarationLContainer !== null && lContainer !== declarationLContainer) {\n trackMovedView(declarationLContainer, lView);\n }\n // notify query that a new view has been added\n const lQueries = lView[QUERIES];\n if (lQueries !== null) {\n lQueries.insertView(tView);\n }\n // Sets the attached flag\n lView[FLAGS] |= 64 /* LViewFlags.Attached */;\n}\n/**\n * Track views created from the declaration container (TemplateRef) and inserted into a\n * different LContainer.\n */\nfunction trackMovedView(declarationContainer, lView) {\n ngDevMode && assertDefined(lView, 'LView required');\n ngDevMode && assertLContainer(declarationContainer);\n const movedViews = declarationContainer[MOVED_VIEWS];\n const insertedLContainer = lView[PARENT];\n ngDevMode && assertLContainer(insertedLContainer);\n const insertedComponentLView = insertedLContainer[PARENT][DECLARATION_COMPONENT_VIEW];\n ngDevMode && assertDefined(insertedComponentLView, 'Missing insertedComponentLView');\n const declaredComponentLView = lView[DECLARATION_COMPONENT_VIEW];\n ngDevMode && assertDefined(declaredComponentLView, 'Missing declaredComponentLView');\n if (declaredComponentLView !== insertedComponentLView) {\n // At this point the declaration-component is not same as insertion-component; this means that\n // this is a transplanted view. Mark the declared lView as having transplanted views so that\n // those views can participate in CD.\n declarationContainer[HAS_TRANSPLANTED_VIEWS] = true;\n }\n if (movedViews === null) {\n declarationContainer[MOVED_VIEWS] = [lView];\n } else {\n movedViews.push(lView);\n }\n}\nfunction detachMovedView(declarationContainer, lView) {\n ngDevMode && assertLContainer(declarationContainer);\n ngDevMode && assertDefined(declarationContainer[MOVED_VIEWS], 'A projected view should belong to a non-empty projected views collection');\n const movedViews = declarationContainer[MOVED_VIEWS];\n const declarationViewIndex = movedViews.indexOf(lView);\n const insertionLContainer = lView[PARENT];\n ngDevMode && assertLContainer(insertionLContainer);\n // If the view was marked for refresh but then detached before it was checked (where the flag\n // would be cleared and the counter decremented), we need to decrement the view counter here\n // instead.\n if (lView[FLAGS] & 512 /* LViewFlags.RefreshTransplantedView */) {\n lView[FLAGS] &= ~512 /* LViewFlags.RefreshTransplantedView */;\n updateTransplantedViewCount(insertionLContainer, -1);\n }\n movedViews.splice(declarationViewIndex, 1);\n}\n/**\n * Detaches a view from a container.\n *\n * This method removes the view from the container's array of active views. It also\n * removes the view's elements from the DOM.\n *\n * @param lContainer The container from which to detach a view\n * @param removeIndex The index of the view to detach\n * @returns Detached LView instance.\n */\nfunction detachView(lContainer, removeIndex) {\n if (lContainer.length <= CONTAINER_HEADER_OFFSET) return;\n const indexInContainer = CONTAINER_HEADER_OFFSET + removeIndex;\n const viewToDetach = lContainer[indexInContainer];\n if (viewToDetach) {\n const declarationLContainer = viewToDetach[DECLARATION_LCONTAINER];\n if (declarationLContainer !== null && declarationLContainer !== lContainer) {\n detachMovedView(declarationLContainer, viewToDetach);\n }\n if (removeIndex > 0) {\n lContainer[indexInContainer - 1][NEXT] = viewToDetach[NEXT];\n }\n const removedLView = removeFromArray(lContainer, CONTAINER_HEADER_OFFSET + removeIndex);\n removeViewFromContainer(viewToDetach[TVIEW], viewToDetach);\n // notify query that a view has been removed\n const lQueries = removedLView[QUERIES];\n if (lQueries !== null) {\n lQueries.detachView(removedLView[TVIEW]);\n }\n viewToDetach[PARENT] = null;\n viewToDetach[NEXT] = null;\n // Unsets the attached flag\n viewToDetach[FLAGS] &= ~64 /* LViewFlags.Attached */;\n }\n\n return viewToDetach;\n}\n/**\n * A standalone function which destroys an LView,\n * conducting clean up (e.g. removing listeners, calling onDestroys).\n *\n * @param tView The `TView' of the `LView` to be destroyed\n * @param lView The view to be destroyed.\n */\nfunction destroyLView(tView, lView) {\n if (!(lView[FLAGS] & 128 /* LViewFlags.Destroyed */)) {\n const renderer = lView[RENDERER];\n if (renderer.destroyNode) {\n applyView(tView, lView, renderer, 3 /* WalkTNodeTreeAction.Destroy */, null, null);\n }\n destroyViewTree(lView);\n }\n}\n/**\n * Calls onDestroys hooks for all directives and pipes in a given view and then removes all\n * listeners. Listeners are removed as the last step so events delivered in the onDestroys hooks\n * can be propagated to @Output listeners.\n *\n * @param tView `TView` for the `LView` to clean up.\n * @param lView The LView to clean up\n */\nfunction cleanUpView(tView, lView) {\n if (!(lView[FLAGS] & 128 /* LViewFlags.Destroyed */)) {\n // Usually the Attached flag is removed when the view is detached from its parent, however\n // if it's a root view, the flag won't be unset hence why we're also removing on destroy.\n lView[FLAGS] &= ~64 /* LViewFlags.Attached */;\n // Mark the LView as destroyed *before* executing the onDestroy hooks. An onDestroy hook\n // runs arbitrary user code, which could include its own `viewRef.destroy()` (or similar). If\n // We don't flag the view as destroyed before the hooks, this could lead to an infinite loop.\n // This also aligns with the ViewEngine behavior. It also means that the onDestroy hook is\n // really more of an \"afterDestroy\" hook if you think about it.\n lView[FLAGS] |= 128 /* LViewFlags.Destroyed */;\n executeOnDestroys(tView, lView);\n processCleanups(tView, lView);\n // For component views only, the local renderer is destroyed at clean up time.\n if (lView[TVIEW].type === 1 /* TViewType.Component */) {\n ngDevMode && ngDevMode.rendererDestroy++;\n lView[RENDERER].destroy();\n }\n const declarationContainer = lView[DECLARATION_LCONTAINER];\n // we are dealing with an embedded view that is still inserted into a container\n if (declarationContainer !== null && isLContainer(lView[PARENT])) {\n // and this is a projected view\n if (declarationContainer !== lView[PARENT]) {\n detachMovedView(declarationContainer, lView);\n }\n // For embedded views still attached to a container: remove query result from this view.\n const lQueries = lView[QUERIES];\n if (lQueries !== null) {\n lQueries.detachView(tView);\n }\n }\n // Unregister the view once everything else has been cleaned up.\n unregisterLView(lView);\n }\n}\n/** Removes listeners and unsubscribes from output subscriptions */\nfunction processCleanups(tView, lView) {\n const tCleanup = tView.cleanup;\n const lCleanup = lView[CLEANUP];\n // `LCleanup` contains both share information with `TCleanup` as well as instance specific\n // information appended at the end. We need to know where the end of the `TCleanup` information\n // is, and we track this with `lastLCleanupIndex`.\n let lastLCleanupIndex = -1;\n if (tCleanup !== null) {\n for (let i = 0; i < tCleanup.length - 1; i += 2) {\n if (typeof tCleanup[i] === 'string') {\n // This is a native DOM listener. It will occupy 4 entries in the TCleanup array (hence i +=\n // 2 at the end of this block).\n const targetIdx = tCleanup[i + 3];\n ngDevMode && assertNumber(targetIdx, 'cleanup target must be a number');\n if (targetIdx >= 0) {\n // unregister\n lCleanup[lastLCleanupIndex = targetIdx]();\n } else {\n // Subscription\n lCleanup[lastLCleanupIndex = -targetIdx].unsubscribe();\n }\n i += 2;\n } else {\n // This is a cleanup function that is grouped with the index of its context\n const context = lCleanup[lastLCleanupIndex = tCleanup[i + 1]];\n tCleanup[i].call(context);\n }\n }\n }\n if (lCleanup !== null) {\n for (let i = lastLCleanupIndex + 1; i < lCleanup.length; i++) {\n const instanceCleanupFn = lCleanup[i];\n ngDevMode && assertFunction(instanceCleanupFn, 'Expecting instance cleanup function.');\n instanceCleanupFn();\n }\n lView[CLEANUP] = null;\n }\n}\n/** Calls onDestroy hooks for this view */\nfunction executeOnDestroys(tView, lView) {\n let destroyHooks;\n if (tView != null && (destroyHooks = tView.destroyHooks) != null) {\n for (let i = 0; i < destroyHooks.length; i += 2) {\n const context = lView[destroyHooks[i]];\n // Only call the destroy hook if the context has been requested.\n if (!(context instanceof NodeInjectorFactory)) {\n const toCall = destroyHooks[i + 1];\n if (Array.isArray(toCall)) {\n for (let j = 0; j < toCall.length; j += 2) {\n const callContext = context[toCall[j]];\n const hook = toCall[j + 1];\n profiler(4 /* ProfilerEvent.LifecycleHookStart */, callContext, hook);\n try {\n hook.call(callContext);\n } finally {\n profiler(5 /* ProfilerEvent.LifecycleHookEnd */, callContext, hook);\n }\n }\n } else {\n profiler(4 /* ProfilerEvent.LifecycleHookStart */, context, toCall);\n try {\n toCall.call(context);\n } finally {\n profiler(5 /* ProfilerEvent.LifecycleHookEnd */, context, toCall);\n }\n }\n }\n }\n }\n}\n/**\n * Returns a native element if a node can be inserted into the given parent.\n *\n * There are two reasons why we may not be able to insert a element immediately.\n * - Projection: When creating a child content element of a component, we have to skip the\n * insertion because the content of a component will be projected.\n * `delayed due to projection`\n * - Parent container is disconnected: This can happen when we are inserting a view into\n * parent container, which itself is disconnected. For example the parent container is part\n * of a View which has not be inserted or is made for projection but has not been inserted\n * into destination.\n *\n * @param tView: Current `TView`.\n * @param tNode: `TNode` for which we wish to retrieve render parent.\n * @param lView: Current `LView`.\n */\nfunction getParentRElement(tView, tNode, lView) {\n return getClosestRElement(tView, tNode.parent, lView);\n}\n/**\n * Get closest `RElement` or `null` if it can't be found.\n *\n * If `TNode` is `TNodeType.Element` => return `RElement` at `LView[tNode.index]` location.\n * If `TNode` is `TNodeType.ElementContainer|IcuContain` => return the parent (recursively).\n * If `TNode` is `null` then return host `RElement`:\n * - return `null` if projection\n * - return `null` if parent container is disconnected (we have no parent.)\n *\n * @param tView: Current `TView`.\n * @param tNode: `TNode` for which we wish to retrieve `RElement` (or `null` if host element is\n * needed).\n * @param lView: Current `LView`.\n * @returns `null` if the `RElement` can't be determined at this time (no parent / projection)\n */\nfunction getClosestRElement(tView, tNode, lView) {\n let parentTNode = tNode;\n // Skip over element and ICU containers as those are represented by a comment node and\n // can't be used as a render parent.\n while (parentTNode !== null && parentTNode.type & (8 /* TNodeType.ElementContainer */ | 32 /* TNodeType.Icu */)) {\n tNode = parentTNode;\n parentTNode = tNode.parent;\n }\n // If the parent tNode is null, then we are inserting across views: either into an embedded view\n // or a component view.\n if (parentTNode === null) {\n // We are inserting a root element of the component view into the component host element and\n // it should always be eager.\n return lView[HOST];\n } else {\n ngDevMode && assertTNodeType(parentTNode, 3 /* TNodeType.AnyRNode */ | 4 /* TNodeType.Container */);\n const {\n componentOffset\n } = parentTNode;\n if (componentOffset > -1) {\n ngDevMode && assertTNodeForLView(parentTNode, lView);\n const {\n encapsulation\n } = tView.data[parentTNode.directiveStart + componentOffset];\n // We've got a parent which is an element in the current view. We just need to verify if the\n // parent element is not a component. Component's content nodes are not inserted immediately\n // because they will be projected, and so doing insert at this point would be wasteful.\n // Since the projection would then move it to its final destination. Note that we can't\n // make this assumption when using the Shadow DOM, because the native projection placeholders\n // ( or ) have to be in place as elements are being inserted.\n if (encapsulation === ViewEncapsulation$1.None || encapsulation === ViewEncapsulation$1.Emulated) {\n return null;\n }\n }\n return getNativeByTNode(parentTNode, lView);\n }\n}\n/**\n * Inserts a native node before another native node for a given parent.\n * This is a utility function that can be used when native nodes were determined.\n */\nfunction nativeInsertBefore(renderer, parent, child, beforeNode, isMove) {\n ngDevMode && ngDevMode.rendererInsertBefore++;\n renderer.insertBefore(parent, child, beforeNode, isMove);\n}\nfunction nativeAppendChild(renderer, parent, child) {\n ngDevMode && ngDevMode.rendererAppendChild++;\n ngDevMode && assertDefined(parent, 'parent node must be defined');\n renderer.appendChild(parent, child);\n}\nfunction nativeAppendOrInsertBefore(renderer, parent, child, beforeNode, isMove) {\n if (beforeNode !== null) {\n nativeInsertBefore(renderer, parent, child, beforeNode, isMove);\n } else {\n nativeAppendChild(renderer, parent, child);\n }\n}\n/** Removes a node from the DOM given its native parent. */\nfunction nativeRemoveChild(renderer, parent, child, isHostElement) {\n renderer.removeChild(parent, child, isHostElement);\n}\n/** Checks if an element is a `