diff --git a/.angular/cache/14.2.11/angular-webpack/01a951adaf8b559123d01ce3488ab69c6e8c013b/0.pack b/.angular/cache/14.2.11/angular-webpack/01a951adaf8b559123d01ce3488ab69c6e8c013b/0.pack new file mode 100644 index 0000000000..9e605ad679 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/01a951adaf8b559123d01ce3488ab69c6e8c013b/0.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/01a951adaf8b559123d01ce3488ab69c6e8c013b/1.pack b/.angular/cache/14.2.11/angular-webpack/01a951adaf8b559123d01ce3488ab69c6e8c013b/1.pack new file mode 100644 index 0000000000..534254ec45 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/01a951adaf8b559123d01ce3488ab69c6e8c013b/1.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/01a951adaf8b559123d01ce3488ab69c6e8c013b/index.pack b/.angular/cache/14.2.11/angular-webpack/01a951adaf8b559123d01ce3488ab69c6e8c013b/index.pack new file mode 100644 index 0000000000..60a503cee6 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/01a951adaf8b559123d01ce3488ab69c6e8c013b/index.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/0.pack b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/0.pack new file mode 100644 index 0000000000..5394447472 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/0.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/1.pack b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/1.pack new file mode 100644 index 0000000000..b90005adda Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/1.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/2.pack b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/2.pack new file mode 100644 index 0000000000..df628f0fb7 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/2.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/3.pack b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/3.pack new file mode 100644 index 0000000000..91faee57f0 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/3.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/4.pack b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/4.pack new file mode 100644 index 0000000000..fbfef5dc79 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/4.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/5.pack b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/5.pack new file mode 100644 index 0000000000..b46835879b Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/5.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/index.pack b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/index.pack new file mode 100644 index 0000000000..98c3d42765 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/index.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/index.pack.old b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/index.pack.old new file mode 100644 index 0000000000..39bfcdb6e8 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/1d575ef699e95eff1d1aeb8ef0203d47a3a5c097/index.pack.old differ diff --git a/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/0.pack b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/0.pack new file mode 100644 index 0000000000..fe89745f69 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/0.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/1.pack b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/1.pack new file mode 100644 index 0000000000..ee34959adf Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/1.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/2.pack b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/2.pack new file mode 100644 index 0000000000..7e9e355bee Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/2.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/3.pack b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/3.pack new file mode 100644 index 0000000000..9c0df54a2b Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/3.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/4.pack b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/4.pack new file mode 100644 index 0000000000..5d2aeea0b1 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/4.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/5.pack b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/5.pack new file mode 100644 index 0000000000..069853917d Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/5.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/6.pack b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/6.pack new file mode 100644 index 0000000000..ed697d818e Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/6.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/index.pack b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/index.pack new file mode 100644 index 0000000000..f18ada6404 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/index.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/index.pack.old b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/index.pack.old new file mode 100644 index 0000000000..1565c236f3 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/27b4700025bcec91abbef47386b5c59a1d2093e9/index.pack.old differ diff --git a/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/0.pack b/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/0.pack new file mode 100644 index 0000000000..0797ff9ffc Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/0.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/1.pack b/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/1.pack new file mode 100644 index 0000000000..acf41163dd Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/1.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/2.pack b/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/2.pack new file mode 100644 index 0000000000..9e72e6d94a Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/2.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/3.pack b/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/3.pack new file mode 100644 index 0000000000..d1d734ab1b Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/3.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/index.pack b/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/index.pack new file mode 100644 index 0000000000..5871c11b62 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/index.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/index.pack.old b/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/index.pack.old new file mode 100644 index 0000000000..b654258c85 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/3187b6cbf8416fc9f478b625d0d844ac5fd558ef/index.pack.old differ diff --git a/.angular/cache/14.2.11/angular-webpack/6b16413e8863323ecd7bf5cf838764921bedc1a1/0.pack b/.angular/cache/14.2.11/angular-webpack/6b16413e8863323ecd7bf5cf838764921bedc1a1/0.pack new file mode 100644 index 0000000000..df6dc43c16 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/6b16413e8863323ecd7bf5cf838764921bedc1a1/0.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/6b16413e8863323ecd7bf5cf838764921bedc1a1/index.pack b/.angular/cache/14.2.11/angular-webpack/6b16413e8863323ecd7bf5cf838764921bedc1a1/index.pack new file mode 100644 index 0000000000..3ebf0726fd Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/6b16413e8863323ecd7bf5cf838764921bedc1a1/index.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/0.pack b/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/0.pack new file mode 100644 index 0000000000..448af536b2 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/0.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/1.pack b/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/1.pack new file mode 100644 index 0000000000..df628f0fb7 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/1.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/2.pack b/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/2.pack new file mode 100644 index 0000000000..af5c611212 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/2.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/index.pack b/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/index.pack new file mode 100644 index 0000000000..6d0ad08096 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/index.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/index.pack.old b/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/index.pack.old new file mode 100644 index 0000000000..6a446d6f34 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/9e8a500ff08da30dc918ca369c068f9a99c7ec53/index.pack.old differ diff --git a/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/0.pack b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/0.pack new file mode 100644 index 0000000000..2304d96968 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/0.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/1.pack b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/1.pack new file mode 100644 index 0000000000..f45cc9a7e3 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/1.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/2.pack b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/2.pack new file mode 100644 index 0000000000..13d670018a Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/2.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/3.pack b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/3.pack new file mode 100644 index 0000000000..753d4944f4 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/3.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/4.pack b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/4.pack new file mode 100644 index 0000000000..87e2dbb7c7 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/4.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/5.pack b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/5.pack new file mode 100644 index 0000000000..559ac014c9 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/5.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/index.pack b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/index.pack new file mode 100644 index 0000000000..ea8a810eff Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/index.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/index.pack.old b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/index.pack.old new file mode 100644 index 0000000000..15bc92c5ff Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/c489feeeabb76fe9702aaaa2c8640c593bb09c44/index.pack.old differ diff --git a/.angular/cache/14.2.11/angular-webpack/d34b3a74606d4ecb88eaa54a8503bb80c2428aa3/0.pack b/.angular/cache/14.2.11/angular-webpack/d34b3a74606d4ecb88eaa54a8503bb80c2428aa3/0.pack new file mode 100644 index 0000000000..922b4906c9 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/d34b3a74606d4ecb88eaa54a8503bb80c2428aa3/0.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/d34b3a74606d4ecb88eaa54a8503bb80c2428aa3/1.pack b/.angular/cache/14.2.11/angular-webpack/d34b3a74606d4ecb88eaa54a8503bb80c2428aa3/1.pack new file mode 100644 index 0000000000..6f82f2850d Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/d34b3a74606d4ecb88eaa54a8503bb80c2428aa3/1.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/d34b3a74606d4ecb88eaa54a8503bb80c2428aa3/index.pack b/.angular/cache/14.2.11/angular-webpack/d34b3a74606d4ecb88eaa54a8503bb80c2428aa3/index.pack new file mode 100644 index 0000000000..e5137d220b Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/d34b3a74606d4ecb88eaa54a8503bb80c2428aa3/index.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/d34b3a74606d4ecb88eaa54a8503bb80c2428aa3/index.pack.old b/.angular/cache/14.2.11/angular-webpack/d34b3a74606d4ecb88eaa54a8503bb80c2428aa3/index.pack.old new file mode 100644 index 0000000000..b00287faa2 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/d34b3a74606d4ecb88eaa54a8503bb80c2428aa3/index.pack.old differ diff --git a/.angular/cache/14.2.11/angular-webpack/d977e476171d76233ff0375ef93105dda1a37424/0.pack b/.angular/cache/14.2.11/angular-webpack/d977e476171d76233ff0375ef93105dda1a37424/0.pack new file mode 100644 index 0000000000..f95eee2037 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/d977e476171d76233ff0375ef93105dda1a37424/0.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/d977e476171d76233ff0375ef93105dda1a37424/1.pack b/.angular/cache/14.2.11/angular-webpack/d977e476171d76233ff0375ef93105dda1a37424/1.pack new file mode 100644 index 0000000000..de274be250 Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/d977e476171d76233ff0375ef93105dda1a37424/1.pack differ diff --git a/.angular/cache/14.2.11/angular-webpack/d977e476171d76233ff0375ef93105dda1a37424/index.pack b/.angular/cache/14.2.11/angular-webpack/d977e476171d76233ff0375ef93105dda1a37424/index.pack new file mode 100644 index 0000000000..ca13459e2c Binary files /dev/null and b/.angular/cache/14.2.11/angular-webpack/d977e476171d76233ff0375ef93105dda1a37424/index.pack differ diff --git a/.angular/cache/14.2.11/babel-webpack/014c9f312e63dfd3e28d16684d990510.json b/.angular/cache/14.2.11/babel-webpack/014c9f312e63dfd3e28d16684d990510.json new file mode 100644 index 0000000000..39f1c48b8c --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/014c9f312e63dfd3e28d16684d990510.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { AsyncAction } from './AsyncAction';\nimport { animationFrameProvider } from './animationFrameProvider';\nexport class AnimationFrameAction extends AsyncAction {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n }\n\n requestAsyncId(scheduler, id, delay = 0) {\n if (delay !== null && delay > 0) {\n return super.requestAsyncId(scheduler, id, delay);\n }\n\n scheduler.actions.push(this);\n return scheduler._scheduled || (scheduler._scheduled = animationFrameProvider.requestAnimationFrame(() => scheduler.flush(undefined)));\n }\n\n recycleAsyncId(scheduler, id, delay = 0) {\n var _a;\n\n if (delay != null ? delay > 0 : this.delay > 0) {\n return super.recycleAsyncId(scheduler, id, delay);\n }\n\n const {\n actions\n } = scheduler;\n\n if (id != null && ((_a = actions[actions.length - 1]) === null || _a === void 0 ? void 0 : _a.id) !== id) {\n animationFrameProvider.cancelAnimationFrame(id);\n scheduler._scheduled = undefined;\n }\n\n return undefined;\n }\n\n} //# sourceMappingURL=AnimationFrameAction.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0194720e42d32cd1f808cdef9caa5928.json b/.angular/cache/14.2.11/babel-webpack/0194720e42d32cd1f808cdef9caa5928.json new file mode 100644 index 0000000000..5fc315e481 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0194720e42d32cd1f808cdef9caa5928.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GraphQLError } from '../../error/GraphQLError.mjs';\n/**\n * No fragment cycles\n *\n * The graph of fragment spreads must not form any cycles including spreading itself.\n * Otherwise an operation could infinitely spread or infinitely execute on cycles in the underlying data.\n *\n * See https://spec.graphql.org/draft/#sec-Fragment-spreads-must-not-form-cycles\n */\n\nexport function NoFragmentCyclesRule(context) {\n // Tracks already visited fragments to maintain O(N) and to ensure that cycles\n // are not redundantly reported.\n const visitedFrags = Object.create(null); // Array of AST nodes used to produce meaningful errors\n\n const spreadPath = []; // Position in the spread path\n\n const spreadPathIndexByName = Object.create(null);\n return {\n OperationDefinition: () => false,\n\n FragmentDefinition(node) {\n detectCycleRecursive(node);\n return false;\n }\n\n }; // This does a straight-forward DFS to find cycles.\n // It does not terminate when a cycle was found but continues to explore\n // the graph to find all possible cycles.\n\n function detectCycleRecursive(fragment) {\n if (visitedFrags[fragment.name.value]) {\n return;\n }\n\n const fragmentName = fragment.name.value;\n visitedFrags[fragmentName] = true;\n const spreadNodes = context.getFragmentSpreads(fragment.selectionSet);\n\n if (spreadNodes.length === 0) {\n return;\n }\n\n spreadPathIndexByName[fragmentName] = spreadPath.length;\n\n for (const spreadNode of spreadNodes) {\n const spreadName = spreadNode.name.value;\n const cycleIndex = spreadPathIndexByName[spreadName];\n spreadPath.push(spreadNode);\n\n if (cycleIndex === undefined) {\n const spreadFragment = context.getFragment(spreadName);\n\n if (spreadFragment) {\n detectCycleRecursive(spreadFragment);\n }\n } else {\n const cyclePath = spreadPath.slice(cycleIndex);\n const viaPath = cyclePath.slice(0, -1).map(s => '\"' + s.name.value + '\"').join(', ');\n context.reportError(new GraphQLError(`Cannot spread fragment \"${spreadName}\" within itself` + (viaPath !== '' ? ` via ${viaPath}.` : '.'), {\n nodes: cyclePath\n }));\n }\n\n spreadPath.pop();\n }\n\n spreadPathIndexByName[fragmentName] = undefined;\n }\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/01e78a813e53fbec1a290263cd660b0c.json b/.angular/cache/14.2.11/babel-webpack/01e78a813e53fbec1a290263cd660b0c.json new file mode 100644 index 0000000000..13eee89675 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/01e78a813e53fbec1a290263cd660b0c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { invariant, InvariantError } from \"../globals/index.js\";\nimport { valueToObjectRepresentation } from \"./storeUtils.js\";\nexport function checkDocument(doc) {\n __DEV__ ? invariant(doc && doc.kind === 'Document', \"Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a \\\"gql\\\" tag? http://docs.apollostack.com/apollo-client/core.html#gql\") : invariant(doc && doc.kind === 'Document', 47);\n var operations = doc.definitions.filter(function (d) {\n return d.kind !== 'FragmentDefinition';\n }).map(function (definition) {\n if (definition.kind !== 'OperationDefinition') {\n throw __DEV__ ? new InvariantError(\"Schema type definitions not allowed in queries. Found: \\\"\".concat(definition.kind, \"\\\"\")) : new InvariantError(48);\n }\n\n return definition;\n });\n __DEV__ ? invariant(operations.length <= 1, \"Ambiguous GraphQL document: contains \".concat(operations.length, \" operations\")) : invariant(operations.length <= 1, 49);\n return doc;\n}\nexport function getOperationDefinition(doc) {\n checkDocument(doc);\n return doc.definitions.filter(function (definition) {\n return definition.kind === 'OperationDefinition';\n })[0];\n}\nexport function getOperationName(doc) {\n return doc.definitions.filter(function (definition) {\n return definition.kind === 'OperationDefinition' && !!definition.name;\n }).map(function (x) {\n return x.name.value;\n })[0] || null;\n}\nexport function getFragmentDefinitions(doc) {\n return doc.definitions.filter(function (definition) {\n return definition.kind === 'FragmentDefinition';\n });\n}\nexport function getQueryDefinition(doc) {\n var queryDef = getOperationDefinition(doc);\n __DEV__ ? invariant(queryDef && queryDef.operation === 'query', 'Must contain a query definition.') : invariant(queryDef && queryDef.operation === 'query', 50);\n return queryDef;\n}\nexport function getFragmentDefinition(doc) {\n __DEV__ ? invariant(doc.kind === 'Document', \"Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a \\\"gql\\\" tag? http://docs.apollostack.com/apollo-client/core.html#gql\") : invariant(doc.kind === 'Document', 51);\n __DEV__ ? invariant(doc.definitions.length <= 1, 'Fragment must have exactly one definition.') : invariant(doc.definitions.length <= 1, 52);\n var fragmentDef = doc.definitions[0];\n __DEV__ ? invariant(fragmentDef.kind === 'FragmentDefinition', 'Must be a fragment definition.') : invariant(fragmentDef.kind === 'FragmentDefinition', 53);\n return fragmentDef;\n}\nexport function getMainDefinition(queryDoc) {\n checkDocument(queryDoc);\n var fragmentDefinition;\n\n for (var _i = 0, _a = queryDoc.definitions; _i < _a.length; _i++) {\n var definition = _a[_i];\n\n if (definition.kind === 'OperationDefinition') {\n var operation = definition.operation;\n\n if (operation === 'query' || operation === 'mutation' || operation === 'subscription') {\n return definition;\n }\n }\n\n if (definition.kind === 'FragmentDefinition' && !fragmentDefinition) {\n fragmentDefinition = definition;\n }\n }\n\n if (fragmentDefinition) {\n return fragmentDefinition;\n }\n\n throw __DEV__ ? new InvariantError('Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment.') : new InvariantError(54);\n}\nexport function getDefaultValues(definition) {\n var defaultValues = Object.create(null);\n var defs = definition && definition.variableDefinitions;\n\n if (defs && defs.length) {\n defs.forEach(function (def) {\n if (def.defaultValue) {\n valueToObjectRepresentation(defaultValues, def.variable.name, def.defaultValue);\n }\n });\n }\n\n return defaultValues;\n} //# sourceMappingURL=getFromAST.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/02313bfd0d31fb7cfe0878bff7be72a9.json b/.angular/cache/14.2.11/babel-webpack/02313bfd0d31fb7cfe0878bff7be72a9.json new file mode 100644 index 0000000000..857e9524f9 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/02313bfd0d31fb7cfe0878bff7be72a9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { __assign } from \"tslib\";\nimport { invariant, InvariantError } from \"../../utilities/globals/index.js\";\nimport { Kind } from 'graphql';\nimport { wrap } from 'optimism';\nimport { isField, resultKeyNameFromField, isReference, makeReference, shouldInclude, addTypenameToDocument, getDefaultValues, getMainDefinition, getQueryDefinition, getFragmentFromSelection, maybeDeepFreeze, mergeDeepArray, DeepMerger, isNonNullObject, canUseWeakMap, compact } from \"../../utilities/index.js\";\nimport { maybeDependOnExistenceOfEntity, supportsResultCaching } from \"./entityStore.js\";\nimport { isArray, extractFragmentContext, getTypenameFromStoreObject, shouldCanonizeResults } from \"./helpers.js\";\nimport { MissingFieldError } from \"../core/types/common.js\";\nimport { canonicalStringify, ObjectCanon } from \"./object-canon.js\";\n;\n\nfunction execSelectionSetKeyArgs(options) {\n return [options.selectionSet, options.objectOrReference, options.context, options.context.canonizeResults];\n}\n\nvar StoreReader = function () {\n function StoreReader(config) {\n var _this = this;\n\n this.knownResults = new (canUseWeakMap ? WeakMap : Map)();\n this.config = compact(config, {\n addTypename: config.addTypename !== false,\n canonizeResults: shouldCanonizeResults(config)\n });\n this.canon = config.canon || new ObjectCanon();\n this.executeSelectionSet = wrap(function (options) {\n var _a;\n\n var canonizeResults = options.context.canonizeResults;\n var peekArgs = execSelectionSetKeyArgs(options);\n peekArgs[3] = !canonizeResults;\n\n var other = (_a = _this.executeSelectionSet).peek.apply(_a, peekArgs);\n\n if (other) {\n if (canonizeResults) {\n return __assign(__assign({}, other), {\n result: _this.canon.admit(other.result)\n });\n }\n\n return other;\n }\n\n maybeDependOnExistenceOfEntity(options.context.store, options.enclosingRef.__ref);\n return _this.execSelectionSetImpl(options);\n }, {\n max: this.config.resultCacheMaxSize,\n keyArgs: execSelectionSetKeyArgs,\n makeCacheKey: function (selectionSet, parent, context, canonizeResults) {\n if (supportsResultCaching(context.store)) {\n return context.store.makeCacheKey(selectionSet, isReference(parent) ? parent.__ref : parent, context.varString, canonizeResults);\n }\n }\n });\n this.executeSubSelectedArray = wrap(function (options) {\n maybeDependOnExistenceOfEntity(options.context.store, options.enclosingRef.__ref);\n return _this.execSubSelectedArrayImpl(options);\n }, {\n max: this.config.resultCacheMaxSize,\n makeCacheKey: function (_a) {\n var field = _a.field,\n array = _a.array,\n context = _a.context;\n\n if (supportsResultCaching(context.store)) {\n return context.store.makeCacheKey(field, array, context.varString);\n }\n }\n });\n }\n\n StoreReader.prototype.resetCanon = function () {\n this.canon = new ObjectCanon();\n };\n\n StoreReader.prototype.diffQueryAgainstStore = function (_a) {\n var store = _a.store,\n query = _a.query,\n _b = _a.rootId,\n rootId = _b === void 0 ? 'ROOT_QUERY' : _b,\n variables = _a.variables,\n _c = _a.returnPartialData,\n returnPartialData = _c === void 0 ? true : _c,\n _d = _a.canonizeResults,\n canonizeResults = _d === void 0 ? this.config.canonizeResults : _d;\n var policies = this.config.cache.policies;\n variables = __assign(__assign({}, getDefaultValues(getQueryDefinition(query))), variables);\n var rootRef = makeReference(rootId);\n var execResult = this.executeSelectionSet({\n selectionSet: getMainDefinition(query).selectionSet,\n objectOrReference: rootRef,\n enclosingRef: rootRef,\n context: __assign({\n store: store,\n query: query,\n policies: policies,\n variables: variables,\n varString: canonicalStringify(variables),\n canonizeResults: canonizeResults\n }, extractFragmentContext(query, this.config.fragments))\n });\n var missing;\n\n if (execResult.missing) {\n missing = [new MissingFieldError(firstMissing(execResult.missing), execResult.missing, query, variables)];\n\n if (!returnPartialData) {\n throw missing[0];\n }\n }\n\n return {\n result: execResult.result,\n complete: !missing,\n missing: missing\n };\n };\n\n StoreReader.prototype.isFresh = function (result, parent, selectionSet, context) {\n if (supportsResultCaching(context.store) && this.knownResults.get(result) === selectionSet) {\n var latest = this.executeSelectionSet.peek(selectionSet, parent, context, this.canon.isKnown(result));\n\n if (latest && result === latest.result) {\n return true;\n }\n }\n\n return false;\n };\n\n StoreReader.prototype.execSelectionSetImpl = function (_a) {\n var _this = this;\n\n var selectionSet = _a.selectionSet,\n objectOrReference = _a.objectOrReference,\n enclosingRef = _a.enclosingRef,\n context = _a.context;\n\n if (isReference(objectOrReference) && !context.policies.rootTypenamesById[objectOrReference.__ref] && !context.store.has(objectOrReference.__ref)) {\n return {\n result: this.canon.empty,\n missing: \"Dangling reference to missing \".concat(objectOrReference.__ref, \" object\")\n };\n }\n\n var variables = context.variables,\n policies = context.policies,\n store = context.store;\n var typename = store.getFieldValue(objectOrReference, \"__typename\");\n var objectsToMerge = [];\n var missing;\n var missingMerger = new DeepMerger();\n\n if (this.config.addTypename && typeof typename === \"string\" && !policies.rootIdsByTypename[typename]) {\n objectsToMerge.push({\n __typename: typename\n });\n }\n\n function handleMissing(result, resultName) {\n var _a;\n\n if (result.missing) {\n missing = missingMerger.merge(missing, (_a = {}, _a[resultName] = result.missing, _a));\n }\n\n return result.result;\n }\n\n var workSet = new Set(selectionSet.selections);\n workSet.forEach(function (selection) {\n var _a, _b;\n\n if (!shouldInclude(selection, variables)) return;\n\n if (isField(selection)) {\n var fieldValue = policies.readField({\n fieldName: selection.name.value,\n field: selection,\n variables: context.variables,\n from: objectOrReference\n }, context);\n var resultName = resultKeyNameFromField(selection);\n\n if (fieldValue === void 0) {\n if (!addTypenameToDocument.added(selection)) {\n missing = missingMerger.merge(missing, (_a = {}, _a[resultName] = \"Can't find field '\".concat(selection.name.value, \"' on \").concat(isReference(objectOrReference) ? objectOrReference.__ref + \" object\" : \"object \" + JSON.stringify(objectOrReference, null, 2)), _a));\n }\n } else if (isArray(fieldValue)) {\n fieldValue = handleMissing(_this.executeSubSelectedArray({\n field: selection,\n array: fieldValue,\n enclosingRef: enclosingRef,\n context: context\n }), resultName);\n } else if (!selection.selectionSet) {\n if (context.canonizeResults) {\n fieldValue = _this.canon.pass(fieldValue);\n }\n } else if (fieldValue != null) {\n fieldValue = handleMissing(_this.executeSelectionSet({\n selectionSet: selection.selectionSet,\n objectOrReference: fieldValue,\n enclosingRef: isReference(fieldValue) ? fieldValue : enclosingRef,\n context: context\n }), resultName);\n }\n\n if (fieldValue !== void 0) {\n objectsToMerge.push((_b = {}, _b[resultName] = fieldValue, _b));\n }\n } else {\n var fragment = getFragmentFromSelection(selection, context.lookupFragment);\n\n if (!fragment && selection.kind === Kind.FRAGMENT_SPREAD) {\n throw __DEV__ ? new InvariantError(\"No fragment named \".concat(selection.name.value)) : new InvariantError(5);\n }\n\n if (fragment && policies.fragmentMatches(fragment, typename)) {\n fragment.selectionSet.selections.forEach(workSet.add, workSet);\n }\n }\n });\n var result = mergeDeepArray(objectsToMerge);\n var finalResult = {\n result: result,\n missing: missing\n };\n var frozen = context.canonizeResults ? this.canon.admit(finalResult) : maybeDeepFreeze(finalResult);\n\n if (frozen.result) {\n this.knownResults.set(frozen.result, selectionSet);\n }\n\n return frozen;\n };\n\n StoreReader.prototype.execSubSelectedArrayImpl = function (_a) {\n var _this = this;\n\n var field = _a.field,\n array = _a.array,\n enclosingRef = _a.enclosingRef,\n context = _a.context;\n var missing;\n var missingMerger = new DeepMerger();\n\n function handleMissing(childResult, i) {\n var _a;\n\n if (childResult.missing) {\n missing = missingMerger.merge(missing, (_a = {}, _a[i] = childResult.missing, _a));\n }\n\n return childResult.result;\n }\n\n if (field.selectionSet) {\n array = array.filter(context.store.canRead);\n }\n\n array = array.map(function (item, i) {\n if (item === null) {\n return null;\n }\n\n if (isArray(item)) {\n return handleMissing(_this.executeSubSelectedArray({\n field: field,\n array: item,\n enclosingRef: enclosingRef,\n context: context\n }), i);\n }\n\n if (field.selectionSet) {\n return handleMissing(_this.executeSelectionSet({\n selectionSet: field.selectionSet,\n objectOrReference: item,\n enclosingRef: isReference(item) ? item : enclosingRef,\n context: context\n }), i);\n }\n\n if (__DEV__) {\n assertSelectionSetForIdValue(context.store, field, item);\n }\n\n return item;\n });\n return {\n result: context.canonizeResults ? this.canon.admit(array) : array,\n missing: missing\n };\n };\n\n return StoreReader;\n}();\n\nexport { StoreReader };\n\nfunction firstMissing(tree) {\n try {\n JSON.stringify(tree, function (_, value) {\n if (typeof value === \"string\") throw value;\n return value;\n });\n } catch (result) {\n return result;\n }\n}\n\nfunction assertSelectionSetForIdValue(store, field, fieldValue) {\n if (!field.selectionSet) {\n var workSet_1 = new Set([fieldValue]);\n workSet_1.forEach(function (value) {\n if (isNonNullObject(value)) {\n __DEV__ ? invariant(!isReference(value), \"Missing selection set for object of type \".concat(getTypenameFromStoreObject(store, value), \" returned for query field \").concat(field.name.value)) : invariant(!isReference(value), 6);\n Object.values(value).forEach(workSet_1.add, workSet_1);\n }\n });\n }\n} //# sourceMappingURL=readFromStore.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/02bc6c4263899ac208753ce4c1effb3e.json b/.angular/cache/14.2.11/babel-webpack/02bc6c4263899ac208753ce4c1effb3e.json new file mode 100644 index 0000000000..71f8e02058 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/02bc6c4263899ac208753ce4c1effb3e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GraphQLError } from '../../error/GraphQLError.mjs';\nimport { Kind } from '../../language/kinds.mjs';\nimport { isTypeDefinitionNode, isTypeExtensionNode } from '../../language/predicates.mjs';\nimport { specifiedDirectives } from '../../type/directives.mjs';\n/**\n * Unique directive names per location\n *\n * A GraphQL document is only valid if all non-repeatable directives at\n * a given location are uniquely named.\n *\n * See https://spec.graphql.org/draft/#sec-Directives-Are-Unique-Per-Location\n */\n\nexport function UniqueDirectivesPerLocationRule(context) {\n const uniqueDirectiveMap = Object.create(null);\n const schema = context.getSchema();\n const definedDirectives = schema ? schema.getDirectives() : specifiedDirectives;\n\n for (const directive of definedDirectives) {\n uniqueDirectiveMap[directive.name] = !directive.isRepeatable;\n }\n\n const astDefinitions = context.getDocument().definitions;\n\n for (const def of astDefinitions) {\n if (def.kind === Kind.DIRECTIVE_DEFINITION) {\n uniqueDirectiveMap[def.name.value] = !def.repeatable;\n }\n }\n\n const schemaDirectives = Object.create(null);\n const typeDirectivesMap = Object.create(null);\n return {\n // Many different AST nodes may contain directives. Rather than listing\n // them all, just listen for entering any node, and check to see if it\n // defines any directives.\n enter(node) {\n if (!('directives' in node) || !node.directives) {\n return;\n }\n\n let seenDirectives;\n\n if (node.kind === Kind.SCHEMA_DEFINITION || node.kind === Kind.SCHEMA_EXTENSION) {\n seenDirectives = schemaDirectives;\n } else if (isTypeDefinitionNode(node) || isTypeExtensionNode(node)) {\n const typeName = node.name.value;\n seenDirectives = typeDirectivesMap[typeName];\n\n if (seenDirectives === undefined) {\n typeDirectivesMap[typeName] = seenDirectives = Object.create(null);\n }\n } else {\n seenDirectives = Object.create(null);\n }\n\n for (const directive of node.directives) {\n const directiveName = directive.name.value;\n\n if (uniqueDirectiveMap[directiveName]) {\n if (seenDirectives[directiveName]) {\n context.reportError(new GraphQLError(`The directive \"@${directiveName}\" can only be used once at this location.`, {\n nodes: [seenDirectives[directiveName], directive]\n }));\n } else {\n seenDirectives[directiveName] = directive;\n }\n }\n }\n }\n\n };\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/02f2f812217455fe3561677786e17f49.json b/.angular/cache/14.2.11/babel-webpack/02f2f812217455fe3561677786e17f49.json new file mode 100644 index 0000000000..6e0ca3c183 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/02f2f812217455fe3561677786e17f49.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { toError } from '../jsutils/toError.mjs';\nimport { GraphQLError } from './GraphQLError.mjs';\n/**\n * Given an arbitrary value, presumably thrown while attempting to execute a\n * GraphQL operation, produce a new GraphQLError aware of the location in the\n * document responsible for the original Error.\n */\n\nexport function locatedError(rawOriginalError, nodes, path) {\n var _nodes;\n\n const originalError = toError(rawOriginalError); // Note: this uses a brand-check to support GraphQL errors originating from other contexts.\n\n if (isLocatedGraphQLError(originalError)) {\n return originalError;\n }\n\n return new GraphQLError(originalError.message, {\n nodes: (_nodes = originalError.nodes) !== null && _nodes !== void 0 ? _nodes : nodes,\n source: originalError.source,\n positions: originalError.positions,\n path,\n originalError\n });\n}\n\nfunction isLocatedGraphQLError(error) {\n return Array.isArray(error.path);\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/03264275e3b0f98890c66ca2e5ad6822.json b/.angular/cache/14.2.11/babel-webpack/03264275e3b0f98890c66ca2e5ad6822.json new file mode 100644 index 0000000000..634ea14718 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/03264275e3b0f98890c66ca2e5ad6822.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _20 = {\n \"elem\": \"svg\",\n \"attrs\": {\n \"xmlns\": \"http://www.w3.org/2000/svg\",\n \"viewBox\": \"0 0 32 32\",\n \"fill\": \"currentColor\",\n \"width\": 20,\n \"height\": 20\n },\n \"content\": [{\n \"elem\": \"path\",\n \"attrs\": {\n \"d\": \"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z\"\n }\n }, {\n \"elem\": \"path\",\n \"attrs\": {\n \"d\": \"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z\"\n }\n }],\n \"name\": \"copy\",\n \"size\": 20\n};\nexport default _20;","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/03624486d9480514b87822929e976fa0.json b/.angular/cache/14.2.11/babel-webpack/03624486d9480514b87822929e976fa0.json new file mode 100644 index 0000000000..c41312c941 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/03624486d9480514b87822929e976fa0.json @@ -0,0 +1 @@ +{"ast":null,"code":"export function identity(x) {\n return x;\n} //# sourceMappingURL=identity.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/03d1b99aa6dae9f90d9c716becdb7d58.json b/.angular/cache/14.2.11/babel-webpack/03d1b99aa6dae9f90d9c716becdb7d58.json new file mode 100644 index 0000000000..a77028bc99 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/03d1b99aa6dae9f90d9c716becdb7d58.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { concatAll } from '../operators/concatAll';\nimport { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function concat(...args) {\n return concatAll()(from(args, popScheduler(args)));\n} //# sourceMappingURL=concat.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/03d3ed38a70ebde8c9bb346efe021516.json b/.angular/cache/14.2.11/babel-webpack/03d3ed38a70ebde8c9bb346efe021516.json new file mode 100644 index 0000000000..b6aa7f8d4c --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/03d3ed38a70ebde8c9bb346efe021516.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { ApolloLink } from \"./ApolloLink.js\";\nexport var empty = ApolloLink.empty; //# sourceMappingURL=empty.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/040c6492d08d68cefe5ed1f044e8cb67.json b/.angular/cache/14.2.11/babel-webpack/040c6492d08d68cefe5ed1f044e8cb67.json new file mode 100644 index 0000000000..bb13546a85 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/040c6492d08d68cefe5ed1f044e8cb67.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { __assign, __spreadArray } from \"tslib\";\nimport { isNonNullObject } from \"./objects.js\";\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nexport function mergeDeep() {\n var sources = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n\n return mergeDeepArray(sources);\n}\nexport function mergeDeepArray(sources) {\n var target = sources[0] || {};\n var count = sources.length;\n\n if (count > 1) {\n var merger = new DeepMerger();\n\n for (var i = 1; i < count; ++i) {\n target = merger.merge(target, sources[i]);\n }\n }\n\n return target;\n}\n\nvar defaultReconciler = function (target, source, property) {\n return this.merge(target[property], source[property]);\n};\n\nvar DeepMerger = function () {\n function DeepMerger(reconciler) {\n if (reconciler === void 0) {\n reconciler = defaultReconciler;\n }\n\n this.reconciler = reconciler;\n this.isObject = isNonNullObject;\n this.pastCopies = new Set();\n }\n\n DeepMerger.prototype.merge = function (target, source) {\n var _this = this;\n\n var context = [];\n\n for (var _i = 2; _i < arguments.length; _i++) {\n context[_i - 2] = arguments[_i];\n }\n\n if (isNonNullObject(source) && isNonNullObject(target)) {\n Object.keys(source).forEach(function (sourceKey) {\n if (hasOwnProperty.call(target, sourceKey)) {\n var targetValue = target[sourceKey];\n\n if (source[sourceKey] !== targetValue) {\n var result = _this.reconciler.apply(_this, __spreadArray([target, source, sourceKey], context, false));\n\n if (result !== targetValue) {\n target = _this.shallowCopyForMerge(target);\n target[sourceKey] = result;\n }\n }\n } else {\n target = _this.shallowCopyForMerge(target);\n target[sourceKey] = source[sourceKey];\n }\n });\n return target;\n }\n\n return source;\n };\n\n DeepMerger.prototype.shallowCopyForMerge = function (value) {\n if (isNonNullObject(value)) {\n if (!this.pastCopies.has(value)) {\n if (Array.isArray(value)) {\n value = value.slice(0);\n } else {\n value = __assign({\n __proto__: Object.getPrototypeOf(value)\n }, value);\n }\n\n this.pastCopies.add(value);\n }\n }\n\n return value;\n };\n\n return DeepMerger;\n}();\n\nexport { DeepMerger }; //# sourceMappingURL=mergeDeep.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/044a2b06e0d577b22015f5f1c6561ea8.json b/.angular/cache/14.2.11/babel-webpack/044a2b06e0d577b22015f5f1c6561ea8.json new file mode 100644 index 0000000000..f73ab9e1ba --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/044a2b06e0d577b22015f5f1c6561ea8.json @@ -0,0 +1 @@ +{"ast":null,"code":"/******/\n(function () {\n // webpackBootstrap\n\n /******/\n \"use strict\";\n /******/\n\n var __webpack_modules__ = {\n /***/\n \"./client-src/modules/logger/SyncBailHookFake.js\":\n /*!*******************************************************!*\\\n !*** ./client-src/modules/logger/SyncBailHookFake.js ***!\n \\*******************************************************/\n\n /***/\n function (module) {\n /**\n * Client stub for tapable SyncBailHook\n */\n module.exports = function clientTapableSyncBailHook() {\n return {\n call: function call() {}\n };\n };\n /***/\n\n },\n\n /***/\n \"./node_modules/webpack/lib/logging/Logger.js\":\n /*!****************************************************!*\\\n !*** ./node_modules/webpack/lib/logging/Logger.js ***!\n \\****************************************************/\n\n /***/\n function (__unused_webpack_module, exports) {\n /*\n \tMIT License http://www.opensource.org/licenses/mit-license.php\n \tAuthor Tobias Koppers @sokra\n */\n function _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n }\n\n function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n }\n\n function _iterableToArray(iter) {\n if (typeof (typeof Symbol !== \"undefined\" ? Symbol : function (i) {\n return i;\n }) !== \"undefined\" && iter[(typeof Symbol !== \"undefined\" ? Symbol : function (i) {\n return i;\n }).iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n }\n\n function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n }\n\n function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n }\n\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n }\n\n var LogType = Object.freeze({\n error:\n /** @type {\"error\"} */\n \"error\",\n // message, c style arguments\n warn:\n /** @type {\"warn\"} */\n \"warn\",\n // message, c style arguments\n info:\n /** @type {\"info\"} */\n \"info\",\n // message, c style arguments\n log:\n /** @type {\"log\"} */\n \"log\",\n // message, c style arguments\n debug:\n /** @type {\"debug\"} */\n \"debug\",\n // message, c style arguments\n trace:\n /** @type {\"trace\"} */\n \"trace\",\n // no arguments\n group:\n /** @type {\"group\"} */\n \"group\",\n // [label]\n groupCollapsed:\n /** @type {\"groupCollapsed\"} */\n \"groupCollapsed\",\n // [label]\n groupEnd:\n /** @type {\"groupEnd\"} */\n \"groupEnd\",\n // [label]\n profile:\n /** @type {\"profile\"} */\n \"profile\",\n // [profileName]\n profileEnd:\n /** @type {\"profileEnd\"} */\n \"profileEnd\",\n // [profileName]\n time:\n /** @type {\"time\"} */\n \"time\",\n // name, time as [seconds, nanoseconds]\n clear:\n /** @type {\"clear\"} */\n \"clear\",\n // no arguments\n status:\n /** @type {\"status\"} */\n \"status\" // message, arguments\n\n });\n exports.LogType = LogType;\n /** @typedef {typeof LogType[keyof typeof LogType]} LogTypeEnum */\n\n var LOG_SYMBOL = (typeof Symbol !== \"undefined\" ? Symbol : function (i) {\n return i;\n })(\"webpack logger raw log method\");\n var TIMERS_SYMBOL = (typeof Symbol !== \"undefined\" ? Symbol : function (i) {\n return i;\n })(\"webpack logger times\");\n var TIMERS_AGGREGATES_SYMBOL = (typeof Symbol !== \"undefined\" ? Symbol : function (i) {\n return i;\n })(\"webpack logger aggregated times\");\n\n var WebpackLogger = /*#__PURE__*/function () {\n /**\n * @param {function(LogTypeEnum, any[]=): void} log log function\n * @param {function(string | function(): string): WebpackLogger} getChildLogger function to create child logger\n */\n function WebpackLogger(log, getChildLogger) {\n _classCallCheck(this, WebpackLogger);\n\n this[LOG_SYMBOL] = log;\n this.getChildLogger = getChildLogger;\n }\n\n _createClass(WebpackLogger, [{\n key: \"error\",\n value: function error() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n this[LOG_SYMBOL](LogType.error, args);\n }\n }, {\n key: \"warn\",\n value: function warn() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n this[LOG_SYMBOL](LogType.warn, args);\n }\n }, {\n key: \"info\",\n value: function info() {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n this[LOG_SYMBOL](LogType.info, args);\n }\n }, {\n key: \"log\",\n value: function log() {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n\n this[LOG_SYMBOL](LogType.log, args);\n }\n }, {\n key: \"debug\",\n value: function debug() {\n for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n\n this[LOG_SYMBOL](LogType.debug, args);\n }\n }, {\n key: \"assert\",\n value: function assert(assertion) {\n if (!assertion) {\n for (var _len6 = arguments.length, args = new Array(_len6 > 1 ? _len6 - 1 : 0), _key6 = 1; _key6 < _len6; _key6++) {\n args[_key6 - 1] = arguments[_key6];\n }\n\n this[LOG_SYMBOL](LogType.error, args);\n }\n }\n }, {\n key: \"trace\",\n value: function trace() {\n this[LOG_SYMBOL](LogType.trace, [\"Trace\"]);\n }\n }, {\n key: \"clear\",\n value: function clear() {\n this[LOG_SYMBOL](LogType.clear);\n }\n }, {\n key: \"status\",\n value: function status() {\n for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {\n args[_key7] = arguments[_key7];\n }\n\n this[LOG_SYMBOL](LogType.status, args);\n }\n }, {\n key: \"group\",\n value: function group() {\n for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {\n args[_key8] = arguments[_key8];\n }\n\n this[LOG_SYMBOL](LogType.group, args);\n }\n }, {\n key: \"groupCollapsed\",\n value: function groupCollapsed() {\n for (var _len9 = arguments.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {\n args[_key9] = arguments[_key9];\n }\n\n this[LOG_SYMBOL](LogType.groupCollapsed, args);\n }\n }, {\n key: \"groupEnd\",\n value: function groupEnd() {\n for (var _len10 = arguments.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) {\n args[_key10] = arguments[_key10];\n }\n\n this[LOG_SYMBOL](LogType.groupEnd, args);\n }\n }, {\n key: \"profile\",\n value: function profile(label) {\n this[LOG_SYMBOL](LogType.profile, [label]);\n }\n }, {\n key: \"profileEnd\",\n value: function profileEnd(label) {\n this[LOG_SYMBOL](LogType.profileEnd, [label]);\n }\n }, {\n key: \"time\",\n value: function time(label) {\n this[TIMERS_SYMBOL] = this[TIMERS_SYMBOL] || new Map();\n this[TIMERS_SYMBOL].set(label, process.hrtime());\n }\n }, {\n key: \"timeLog\",\n value: function timeLog(label) {\n var prev = this[TIMERS_SYMBOL] && this[TIMERS_SYMBOL].get(label);\n\n if (!prev) {\n throw new Error(\"No such label '\".concat(label, \"' for WebpackLogger.timeLog()\"));\n }\n\n var time = process.hrtime(prev);\n this[LOG_SYMBOL](LogType.time, [label].concat(_toConsumableArray(time)));\n }\n }, {\n key: \"timeEnd\",\n value: function timeEnd(label) {\n var prev = this[TIMERS_SYMBOL] && this[TIMERS_SYMBOL].get(label);\n\n if (!prev) {\n throw new Error(\"No such label '\".concat(label, \"' for WebpackLogger.timeEnd()\"));\n }\n\n var time = process.hrtime(prev);\n this[TIMERS_SYMBOL].delete(label);\n this[LOG_SYMBOL](LogType.time, [label].concat(_toConsumableArray(time)));\n }\n }, {\n key: \"timeAggregate\",\n value: function timeAggregate(label) {\n var prev = this[TIMERS_SYMBOL] && this[TIMERS_SYMBOL].get(label);\n\n if (!prev) {\n throw new Error(\"No such label '\".concat(label, \"' for WebpackLogger.timeAggregate()\"));\n }\n\n var time = process.hrtime(prev);\n this[TIMERS_SYMBOL].delete(label);\n this[TIMERS_AGGREGATES_SYMBOL] = this[TIMERS_AGGREGATES_SYMBOL] || new Map();\n var current = this[TIMERS_AGGREGATES_SYMBOL].get(label);\n\n if (current !== undefined) {\n if (time[1] + current[1] > 1e9) {\n time[0] += current[0] + 1;\n time[1] = time[1] - 1e9 + current[1];\n } else {\n time[0] += current[0];\n time[1] += current[1];\n }\n }\n\n this[TIMERS_AGGREGATES_SYMBOL].set(label, time);\n }\n }, {\n key: \"timeAggregateEnd\",\n value: function timeAggregateEnd(label) {\n if (this[TIMERS_AGGREGATES_SYMBOL] === undefined) return;\n var time = this[TIMERS_AGGREGATES_SYMBOL].get(label);\n if (time === undefined) return;\n this[TIMERS_AGGREGATES_SYMBOL].delete(label);\n this[LOG_SYMBOL](LogType.time, [label].concat(_toConsumableArray(time)));\n }\n }]);\n\n return WebpackLogger;\n }();\n\n exports.Logger = WebpackLogger;\n /***/\n },\n\n /***/\n \"./node_modules/webpack/lib/logging/createConsoleLogger.js\":\n /*!*****************************************************************!*\\\n !*** ./node_modules/webpack/lib/logging/createConsoleLogger.js ***!\n \\*****************************************************************/\n\n /***/\n function (module, __unused_webpack_exports, __webpack_require__) {\n /*\n \tMIT License http://www.opensource.org/licenses/mit-license.php\n \tAuthor Tobias Koppers @sokra\n */\n function _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n }\n\n function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n }\n\n function _iterableToArray(iter) {\n if (typeof (typeof Symbol !== \"undefined\" ? Symbol : function (i) {\n return i;\n }) !== \"undefined\" && iter[(typeof Symbol !== \"undefined\" ? Symbol : function (i) {\n return i;\n }).iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n }\n\n function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n }\n\n function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n }\n\n var _require = __webpack_require__(\n /*! ./Logger */\n \"./node_modules/webpack/lib/logging/Logger.js\"),\n LogType = _require.LogType;\n /** @typedef {import(\"../../declarations/WebpackOptions\").FilterItemTypes} FilterItemTypes */\n\n /** @typedef {import(\"../../declarations/WebpackOptions\").FilterTypes} FilterTypes */\n\n /** @typedef {import(\"./Logger\").LogTypeEnum} LogTypeEnum */\n\n /** @typedef {function(string): boolean} FilterFunction */\n\n /**\n * @typedef {Object} LoggerConsole\n * @property {function(): void} clear\n * @property {function(): void} trace\n * @property {(...args: any[]) => void} info\n * @property {(...args: any[]) => void} log\n * @property {(...args: any[]) => void} warn\n * @property {(...args: any[]) => void} error\n * @property {(...args: any[]) => void=} debug\n * @property {(...args: any[]) => void=} group\n * @property {(...args: any[]) => void=} groupCollapsed\n * @property {(...args: any[]) => void=} groupEnd\n * @property {(...args: any[]) => void=} status\n * @property {(...args: any[]) => void=} profile\n * @property {(...args: any[]) => void=} profileEnd\n * @property {(...args: any[]) => void=} logTime\n */\n\n /**\n * @typedef {Object} LoggerOptions\n * @property {false|true|\"none\"|\"error\"|\"warn\"|\"info\"|\"log\"|\"verbose\"} level loglevel\n * @property {FilterTypes|boolean} debug filter for debug logging\n * @property {LoggerConsole} console the console to log to\n */\n\n /**\n * @param {FilterItemTypes} item an input item\n * @returns {FilterFunction} filter function\n */\n\n\n var filterToFunction = function filterToFunction(item) {\n if (typeof item === \"string\") {\n var regExp = new RegExp(\"[\\\\\\\\/]\".concat(item.replace( // eslint-disable-next-line no-useless-escape\n /[-[\\]{}()*+?.\\\\^$|]/g, \"\\\\$&\"), \"([\\\\\\\\/]|$|!|\\\\?)\"));\n return function (ident) {\n return regExp.test(ident);\n };\n }\n\n if (item && typeof item === \"object\" && typeof item.test === \"function\") {\n return function (ident) {\n return item.test(ident);\n };\n }\n\n if (typeof item === \"function\") {\n return item;\n }\n\n if (typeof item === \"boolean\") {\n return function () {\n return item;\n };\n }\n };\n /**\n * @enum {number}\n */\n\n\n var LogLevel = {\n none: 6,\n false: 6,\n error: 5,\n warn: 4,\n info: 3,\n log: 2,\n true: 2,\n verbose: 1\n };\n /**\n * @param {LoggerOptions} options options object\n * @returns {function(string, LogTypeEnum, any[]): void} logging function\n */\n\n module.exports = function (_ref) {\n var _ref$level = _ref.level,\n level = _ref$level === void 0 ? \"info\" : _ref$level,\n _ref$debug = _ref.debug,\n debug = _ref$debug === void 0 ? false : _ref$debug,\n console = _ref.console;\n var debugFilters = typeof debug === \"boolean\" ? [function () {\n return debug;\n }] :\n /** @type {FilterItemTypes[]} */\n [].concat(debug).map(filterToFunction);\n /** @type {number} */\n\n var loglevel = LogLevel[\"\".concat(level)] || 0;\n /**\n * @param {string} name name of the logger\n * @param {LogTypeEnum} type type of the log entry\n * @param {any[]} args arguments of the log entry\n * @returns {void}\n */\n\n var logger = function logger(name, type, args) {\n var labeledArgs = function labeledArgs() {\n if (Array.isArray(args)) {\n if (args.length > 0 && typeof args[0] === \"string\") {\n return [\"[\".concat(name, \"] \").concat(args[0])].concat(_toConsumableArray(args.slice(1)));\n } else {\n return [\"[\".concat(name, \"]\")].concat(_toConsumableArray(args));\n }\n } else {\n return [];\n }\n };\n\n var debug = debugFilters.some(function (f) {\n return f(name);\n });\n\n switch (type) {\n case LogType.debug:\n if (!debug) return; // eslint-disable-next-line node/no-unsupported-features/node-builtins\n\n if (typeof console.debug === \"function\") {\n // eslint-disable-next-line node/no-unsupported-features/node-builtins\n console.debug.apply(console, _toConsumableArray(labeledArgs()));\n } else {\n console.log.apply(console, _toConsumableArray(labeledArgs()));\n }\n\n break;\n\n case LogType.log:\n if (!debug && loglevel > LogLevel.log) return;\n console.log.apply(console, _toConsumableArray(labeledArgs()));\n break;\n\n case LogType.info:\n if (!debug && loglevel > LogLevel.info) return;\n console.info.apply(console, _toConsumableArray(labeledArgs()));\n break;\n\n case LogType.warn:\n if (!debug && loglevel > LogLevel.warn) return;\n console.warn.apply(console, _toConsumableArray(labeledArgs()));\n break;\n\n case LogType.error:\n if (!debug && loglevel > LogLevel.error) return;\n console.error.apply(console, _toConsumableArray(labeledArgs()));\n break;\n\n case LogType.trace:\n if (!debug) return;\n console.trace();\n break;\n\n case LogType.groupCollapsed:\n if (!debug && loglevel > LogLevel.log) return;\n\n if (!debug && loglevel > LogLevel.verbose) {\n // eslint-disable-next-line node/no-unsupported-features/node-builtins\n if (typeof console.groupCollapsed === \"function\") {\n // eslint-disable-next-line node/no-unsupported-features/node-builtins\n console.groupCollapsed.apply(console, _toConsumableArray(labeledArgs()));\n } else {\n console.log.apply(console, _toConsumableArray(labeledArgs()));\n }\n\n break;\n }\n\n // falls through\n\n case LogType.group:\n if (!debug && loglevel > LogLevel.log) return; // eslint-disable-next-line node/no-unsupported-features/node-builtins\n\n if (typeof console.group === \"function\") {\n // eslint-disable-next-line node/no-unsupported-features/node-builtins\n console.group.apply(console, _toConsumableArray(labeledArgs()));\n } else {\n console.log.apply(console, _toConsumableArray(labeledArgs()));\n }\n\n break;\n\n case LogType.groupEnd:\n if (!debug && loglevel > LogLevel.log) return; // eslint-disable-next-line node/no-unsupported-features/node-builtins\n\n if (typeof console.groupEnd === \"function\") {\n // eslint-disable-next-line node/no-unsupported-features/node-builtins\n console.groupEnd();\n }\n\n break;\n\n case LogType.time:\n {\n if (!debug && loglevel > LogLevel.log) return;\n var ms = args[1] * 1000 + args[2] / 1000000;\n var msg = \"[\".concat(name, \"] \").concat(args[0], \": \").concat(ms, \" ms\");\n\n if (typeof console.logTime === \"function\") {\n console.logTime(msg);\n } else {\n console.log(msg);\n }\n\n break;\n }\n\n case LogType.profile:\n // eslint-disable-next-line node/no-unsupported-features/node-builtins\n if (typeof console.profile === \"function\") {\n // eslint-disable-next-line node/no-unsupported-features/node-builtins\n console.profile.apply(console, _toConsumableArray(labeledArgs()));\n }\n\n break;\n\n case LogType.profileEnd:\n // eslint-disable-next-line node/no-unsupported-features/node-builtins\n if (typeof console.profileEnd === \"function\") {\n // eslint-disable-next-line node/no-unsupported-features/node-builtins\n console.profileEnd.apply(console, _toConsumableArray(labeledArgs()));\n }\n\n break;\n\n case LogType.clear:\n if (!debug && loglevel > LogLevel.log) return; // eslint-disable-next-line node/no-unsupported-features/node-builtins\n\n if (typeof console.clear === \"function\") {\n // eslint-disable-next-line node/no-unsupported-features/node-builtins\n console.clear();\n }\n\n break;\n\n case LogType.status:\n if (!debug && loglevel > LogLevel.info) return;\n\n if (typeof console.status === \"function\") {\n if (args.length === 0) {\n console.status();\n } else {\n console.status.apply(console, _toConsumableArray(labeledArgs()));\n }\n } else {\n if (args.length !== 0) {\n console.info.apply(console, _toConsumableArray(labeledArgs()));\n }\n }\n\n break;\n\n default:\n throw new Error(\"Unexpected LogType \".concat(type));\n }\n };\n\n return logger;\n };\n /***/\n\n },\n\n /***/\n \"./node_modules/webpack/lib/logging/runtime.js\":\n /*!*****************************************************!*\\\n !*** ./node_modules/webpack/lib/logging/runtime.js ***!\n \\*****************************************************/\n\n /***/\n function (__unused_webpack_module, exports, __webpack_require__) {\n /*\n \tMIT License http://www.opensource.org/licenses/mit-license.php\n \tAuthor Tobias Koppers @sokra\n */\n function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n }\n\n var SyncBailHook = __webpack_require__(\n /*! tapable/lib/SyncBailHook */\n \"./client-src/modules/logger/SyncBailHookFake.js\");\n\n var _require = __webpack_require__(\n /*! ./Logger */\n \"./node_modules/webpack/lib/logging/Logger.js\"),\n Logger = _require.Logger;\n\n var createConsoleLogger = __webpack_require__(\n /*! ./createConsoleLogger */\n \"./node_modules/webpack/lib/logging/createConsoleLogger.js\");\n /** @type {createConsoleLogger.LoggerOptions} */\n\n\n var currentDefaultLoggerOptions = {\n level: \"info\",\n debug: false,\n console: console\n };\n var currentDefaultLogger = createConsoleLogger(currentDefaultLoggerOptions);\n /**\n * @param {string} name name of the logger\n * @returns {Logger} a logger\n */\n\n exports.getLogger = function (name) {\n return new Logger(function (type, args) {\n if (exports.hooks.log.call(name, type, args) === undefined) {\n currentDefaultLogger(name, type, args);\n }\n }, function (childName) {\n return exports.getLogger(\"\".concat(name, \"/\").concat(childName));\n });\n };\n /**\n * @param {createConsoleLogger.LoggerOptions} options new options, merge with old options\n * @returns {void}\n */\n\n\n exports.configureDefaultLogger = function (options) {\n _extends(currentDefaultLoggerOptions, options);\n\n currentDefaultLogger = createConsoleLogger(currentDefaultLoggerOptions);\n };\n\n exports.hooks = {\n log: new SyncBailHook([\"origin\", \"type\", \"args\"])\n };\n /***/\n }\n /******/\n\n };\n /************************************************************************/\n\n /******/\n // The module cache\n\n /******/\n\n var __webpack_module_cache__ = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n // Check if module is in cache\n\n /******/\n var cachedModule = __webpack_module_cache__[moduleId];\n /******/\n\n if (cachedModule !== undefined) {\n /******/\n return cachedModule.exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = __webpack_module_cache__[moduleId] = {\n /******/\n // no module.id needed\n\n /******/\n // no module.loaded needed\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n __webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n\n return module.exports;\n /******/\n }\n /******/\n\n /************************************************************************/\n\n /******/\n\n /* webpack/runtime/define property getters */\n\n /******/\n\n\n !function () {\n /******/\n // define getter functions for harmony exports\n\n /******/\n __webpack_require__.d = function (exports, definition) {\n /******/\n for (var key in definition) {\n /******/\n if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n /******/\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: definition[key]\n });\n /******/\n }\n /******/\n\n }\n /******/\n\n };\n /******/\n\n }();\n /******/\n\n /******/\n\n /* webpack/runtime/hasOwnProperty shorthand */\n\n /******/\n\n !function () {\n /******/\n __webpack_require__.o = function (obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n };\n /******/\n\n }();\n /******/\n\n /******/\n\n /* webpack/runtime/make namespace object */\n\n /******/\n\n !function () {\n /******/\n // define __esModule on exports\n\n /******/\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n }();\n /******/\n\n /************************************************************************/\n\n var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.\n\n !function () {\n /*!********************************************!*\\\n !*** ./client-src/modules/logger/index.js ***!\n \\********************************************/\n __webpack_require__.r(__webpack_exports__);\n /* harmony export */\n\n\n __webpack_require__.d(__webpack_exports__, {\n /* harmony export */\n \"default\": function () {\n return (\n /* reexport default export from named module */\n webpack_lib_logging_runtime_js__WEBPACK_IMPORTED_MODULE_0__\n );\n }\n /* harmony export */\n\n });\n /* harmony import */\n\n\n var webpack_lib_logging_runtime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\n /*! webpack/lib/logging/runtime.js */\n \"./node_modules/webpack/lib/logging/runtime.js\");\n }();\n var __webpack_export_target__ = exports;\n\n for (var i in __webpack_exports__) __webpack_export_target__[i] = __webpack_exports__[i];\n\n if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, \"__esModule\", {\n value: true\n });\n /******/\n})();","map":null,"metadata":{},"sourceType":"script"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/04ef7c41782e78adbc907c628255c17a.json b/.angular/cache/14.2.11/babel-webpack/04ef7c41782e78adbc907c628255c17a.json new file mode 100644 index 0000000000..8de3a5fdfb --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/04ef7c41782e78adbc907c628255c17a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { AsapAction } from './AsapAction';\nimport { AsapScheduler } from './AsapScheduler';\nexport const asapScheduler = new AsapScheduler(AsapAction);\nexport const asap = asapScheduler; //# sourceMappingURL=asap.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/05ce549629bc57e87bef944efece38a4.json b/.angular/cache/14.2.11/babel-webpack/05ce549629bc57e87bef944efece38a4.json new file mode 100644 index 0000000000..f03545bc21 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/05ce549629bc57e87bef944efece38a4.json @@ -0,0 +1 @@ +{"ast":null,"code":"import * as i0 from \"@angular/core\";\nimport * as i1 from \"carbon-components-angular\";\n\nconst _c0 = function () {\n return {\n \"lg\": 16\n };\n};\n\nconst _c1 = function () {\n return {\n \"md\": 4,\n \"lg\": 7\n };\n};\n\nconst _c2 = function () {\n return {\n \"md\": 4,\n \"lg\": 8\n };\n};\n\nconst _c3 = function () {\n return {\n \"md\": 4,\n \"lg\": 4\n };\n};\n\nexport let LandingPageComponent = /*#__PURE__*/(() => {\n class LandingPageComponent {\n constructor() {}\n\n ngOnInit() {}\n\n }\n\n LandingPageComponent.ɵfac = function LandingPageComponent_Factory(t) {\n return new (t || LandingPageComponent)();\n };\n\n LandingPageComponent.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: LandingPageComponent,\n selectors: [[\"app-landing-page\"]],\n decls: 43,\n vars: 18,\n consts: [[\"ibmGrid\", \"\", 1, \"bx--grid--full-width\", \"landing-page\"], [\"ibmRow\", \"\", 1, \"landing-page__banner\"], [\"ibmCol\", \"\", 3, \"columnNumbers\"], [\"noTrailingSlash\", \"true\", \"ariaLabel\", \"Page navigation\"], [\"href\", \"/\"], [1, \"landing-page__heading\"], [\"ibmRow\", \"\", 1, \"landing-page__r2\"], [\"ibmCol\", \"\", 1, \"bx--no-gutter\"], [\"ariaLabel\", \"Tab navigation\"], [\"heading\", \"About\"], [\"ibmGrid\", \"\", 1, \"bx--grid--no-gutter\", \"bx--grid--full-width\"], [\"ibmRow\", \"\", 1, \"landing-page__tab-content\"], [1, \"landing-page__subheading\"], [1, \"landing-page__p\"], [\"ibmButton\", \"\"], [\"ibmCol\", \"\", 1, \"bx--offset-lg-1\", 3, \"columnNumbers\"], [\"src\", \"../../../assets/tab-illo.png\", \"alt\", \"Carbon illustration\", 1, \"landing-page__illo\"], [\"heading\", \"Design\"], [\"heading\", \"Develop\"], [\"ibmRow\", \"\", 1, \"landing-page__r3\"], [1, \"landing-page__label\"]],\n template: function LandingPageComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"div\", 2)(3, \"ibm-breadcrumb\", 3)(4, \"ibm-breadcrumb-item\", 4);\n i0.ɵɵtext(5, \" Getting started \");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(6, \"h1\", 5);\n i0.ɵɵtext(7, \" Design & build with Carbon \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(8, \"div\", 6)(9, \"div\", 7)(10, \"ibm-tabs\", 8)(11, \"ibm-tab\", 9)(12, \"div\", 10)(13, \"div\", 11)(14, \"div\", 2)(15, \"h2\", 12);\n i0.ɵɵtext(16, \" What is Carbon? \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(17, \"p\", 13);\n i0.ɵɵtext(18, \" Carbon is IBM\\u2019s open-source design system for digital products and experiences. With the IBM Design Language as its foundation, the system consists of working code, design tools and resources, human interface guidelines, and a vibrant community of contributors. \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(19, \"button\", 14);\n i0.ɵɵtext(20, \"Learn more\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(21, \"div\", 15);\n i0.ɵɵelement(22, \"img\", 16);\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(23, \"ibm-tab\", 17)(24, \"div\", 10)(25, \"div\", 11)(26, \"div\", 2);\n i0.ɵɵtext(27, \" Rapidly build beautiful and accessible experiences. The Carbon kit contains all resources you need to get started. \");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(28, \"ibm-tab\", 18)(29, \"div\", 10)(30, \"div\", 11)(31, \"div\", 2);\n i0.ɵɵtext(32, \" Carbon provides styles and components in Vanilla, React, Angular, and Vue for anyone building on the web. \");\n i0.ɵɵelementEnd()()()()()()();\n i0.ɵɵelementStart(33, \"div\", 19)(34, \"div\", 2)(35, \"h3\", 20);\n i0.ɵɵtext(36, \"The Principles\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(37, \"div\", 2);\n i0.ɵɵtext(38, \"Carbon is Open\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(39, \"div\", 2);\n i0.ɵɵtext(40, \"Carbon is Modular\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(41, \"div\", 2);\n i0.ɵɵtext(42, \"Carbon is Consistent\");\n i0.ɵɵelementEnd()()();\n }\n\n if (rf & 2) {\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"columnNumbers\", i0.ɵɵpureFunction0(9, _c0));\n i0.ɵɵadvance(12);\n i0.ɵɵproperty(\"columnNumbers\", i0.ɵɵpureFunction0(10, _c1));\n i0.ɵɵadvance(7);\n i0.ɵɵproperty(\"columnNumbers\", i0.ɵɵpureFunction0(11, _c2));\n i0.ɵɵadvance(5);\n i0.ɵɵproperty(\"columnNumbers\", i0.ɵɵpureFunction0(12, _c0));\n i0.ɵɵadvance(5);\n i0.ɵɵproperty(\"columnNumbers\", i0.ɵɵpureFunction0(13, _c0));\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"columnNumbers\", i0.ɵɵpureFunction0(14, _c3));\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"columnNumbers\", i0.ɵɵpureFunction0(15, _c3));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"columnNumbers\", i0.ɵɵpureFunction0(16, _c3));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"columnNumbers\", i0.ɵɵpureFunction0(17, _c3));\n }\n },\n dependencies: [i1.Breadcrumb, i1.BreadcrumbItemComponent, i1.Button, i1.ColumnDirective, i1.GridDirective, i1.RowDirective, i1.Tabs, i1.Tab],\n styles: [\".landing-page__illo[_ngcontent-%COMP%]{max-width:100%}.landing-page__banner[_ngcontent-%COMP%]{padding-top:1rem;padding-bottom:8rem}.landing-page__banner[_ngcontent-%COMP%]{padding-top:1rem;padding-bottom:8rem;background-color:#f4f4f4;position:relative}.landing-page__banner[_ngcontent-%COMP%]:before{content:\\\"\\\";position:absolute;left:-1rem;top:0;right:-1rem;bottom:0;background:#f4f4f4;z-index:-1}.landing-page__heading[_ngcontent-%COMP%]{font-size:2rem;font-weight:300;line-height:1.25;letter-spacing:0}.landing-page__r2[_ngcontent-%COMP%]{margin-top:-2.5rem}.landing-page__tab-content[_ngcontent-%COMP%]{padding-top:4rem;padding-bottom:4rem}.landing-page__subheading[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0;font-weight:600}.landing-page__p[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0;margin-top:1.5rem;margin-bottom:2.5rem}@media (min-width: 321px) and (max-width: 41.98rem){.landing-page__p[_ngcontent-%COMP%]{max-width:75%}}.landing-page__r3[_ngcontent-%COMP%]{padding-top:3rem;padding-bottom:3rem;background-color:#f4f4f4;position:relative}.landing-page__r3[_ngcontent-%COMP%]:before{content:\\\"\\\";position:absolute;left:-1rem;top:0;right:-1rem;bottom:0;background:#f4f4f4;z-index:-1}.landing-page__label[_ngcontent-%COMP%]{font-size:.875rem;font-weight:600;line-height:1.42857;letter-spacing:.16px}\"]\n });\n return LandingPageComponent;\n})();","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0697e7dc11f569a7b053745ee0537660.json b/.angular/cache/14.2.11/babel-webpack/0697e7dc11f569a7b053745ee0537660.json new file mode 100644 index 0000000000..1f3aa8e2f7 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0697e7dc11f569a7b053745ee0537660.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { __extends } from \"tslib\";\nimport { ApolloLink } from \"../core/index.js\";\nimport { createHttpLink } from \"./createHttpLink.js\";\n\nvar HttpLink = function (_super) {\n __extends(HttpLink, _super);\n\n function HttpLink(options) {\n if (options === void 0) {\n options = {};\n }\n\n var _this = _super.call(this, createHttpLink(options).request) || this;\n\n _this.options = options;\n return _this;\n }\n\n return HttpLink;\n}(ApolloLink);\n\nexport { HttpLink }; //# sourceMappingURL=HttpLink.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/06d868868afa9de6959d45aad8b285f2.json b/.angular/cache/14.2.11/babel-webpack/06d868868afa9de6959d45aad8b285f2.json new file mode 100644 index 0000000000..17e8ce78ed --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/06d868868afa9de6959d45aad8b285f2.json @@ -0,0 +1 @@ +{"ast":null,"code":"import logger from \"../modules/logger/index.js\";\nvar name = \"webpack-dev-server\"; // default level is set on the client side, so it does not need\n// to be set by the CLI or API\n\nvar defaultLevel = \"info\"; // options new options, merge with old options\n\n/**\n * @param {false | true | \"none\" | \"error\" | \"warn\" | \"info\" | \"log\" | \"verbose\"} level\n * @returns {void}\n */\n\nfunction setLogLevel(level) {\n logger.configureDefaultLogger({\n level: level\n });\n}\n\nsetLogLevel(defaultLevel);\nvar log = logger.getLogger(name);\n\nvar logEnabledFeatures = function logEnabledFeatures(features) {\n var enabledFeatures = Object.keys(features);\n\n if (!features || enabledFeatures.length === 0) {\n return;\n }\n\n var logString = \"Server started:\"; // Server started: Hot Module Replacement enabled, Live Reloading enabled, Overlay disabled.\n\n for (var i = 0; i < enabledFeatures.length; i++) {\n var key = enabledFeatures[i];\n logString += \" \".concat(key, \" \").concat(features[key] ? \"enabled\" : \"disabled\", \",\");\n } // replace last comma with a period\n\n\n logString = logString.slice(0, -1).concat(\".\");\n log.info(logString);\n};\n\nexport { log, logEnabledFeatures, setLogLevel };","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/074dea2ccc19e766b25ee5da036d44fa.json b/.angular/cache/14.2.11/babel-webpack/074dea2ccc19e766b25ee5da036d44fa.json new file mode 100644 index 0000000000..3bdb35f098 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/074dea2ccc19e766b25ee5da036d44fa.json @@ -0,0 +1 @@ +{"ast":null,"code":";\n;\nexport {}; //# sourceMappingURL=types.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/078e1e6817d69a1265f959a7d38e42ba.json b/.angular/cache/14.2.11/babel-webpack/078e1e6817d69a1265f959a7d38e42ba.json new file mode 100644 index 0000000000..af4879c914 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/078e1e6817d69a1265f959a7d38e42ba.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { operate } from '../util/lift';\nimport { concatAll } from './concatAll';\nimport { popScheduler } from '../util/args';\nimport { from } from '../observable/from';\nexport function concat(...args) {\n const scheduler = popScheduler(args);\n return operate((source, subscriber) => {\n concatAll()(from([source, ...args], scheduler)).subscribe(subscriber);\n });\n} //# sourceMappingURL=concat.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/07a42049dc4550f749e9bc5fd222eb76.json b/.angular/cache/14.2.11/babel-webpack/07a42049dc4550f749e9bc5fd222eb76.json new file mode 100644 index 0000000000..7297551439 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/07a42049dc4550f749e9bc5fd222eb76.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-loading.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, Input, HostBinding, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\n/**\n * [See demo](../../?path=/story/components-loading--basic)\n *\n * ../../iframe.html?id=components-loading--basic\n */\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/i18n';\nimport * as ɵngcc2 from '@angular/common';\n\nconst _c0 = function (a0, a1, a2) {\n return {\n \"bx--loading--small\": a0,\n \"bx--loading--stop\": a1,\n \"bx--loading-overlay--stop\": a2\n };\n};\n\nlet Loading = /*#__PURE__*/(() => {\n class Loading {\n constructor(i18n) {\n this.i18n = i18n;\n /**\n * Accessible title for the loading circle.\n * Defaults to the `LOADING.TITLE` value from the i18n service.\n */\n\n this.title = this.i18n.get().LOADING.TITLE;\n /**\n * set to `false` to stop the loading animation\n */\n\n this.isActive = true;\n /**\n * Specify the size of the button\n */\n\n this.size = \"normal\";\n /**\n * Set to `true` to make loader with an overlay.\n */\n\n this.overlay = false;\n }\n\n }\n\n Loading.ɵfac = function Loading_Factory(t) {\n return new (t || Loading)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n));\n };\n\n Loading.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: Loading,\n selectors: [[\"ibm-loading\"]],\n hostVars: 2,\n hostBindings: function Loading_HostBindings(rf, ctx) {\n if (rf & 2) {\n ɵngcc0.ɵɵclassProp(\"bx--loading-overlay\", ctx.overlay);\n }\n },\n inputs: {\n title: \"title\",\n isActive: \"isActive\",\n size: \"size\",\n overlay: \"overlay\"\n },\n decls: 5,\n vars: 6,\n consts: [[1, \"bx--loading\", 3, \"ngClass\"], [\"viewBox\", \"0 0 100 100\", 1, \"bx--loading__svg\"], [\"cx\", \"50%\", \"cy\", \"50%\", \"r\", \"44\", 1, \"bx--loading__stroke\"]],\n template: function Loading_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelementStart(1, \"svg\", 1)(2, \"title\");\n ɵngcc0.ɵɵtext(3);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵelement(4, \"circle\", 2);\n ɵngcc0.ɵɵelementEnd()();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction3(2, _c0, ctx.size === \"sm\", !ctx.isActive && !ctx.overlay, !ctx.isActive && ctx.overlay));\n ɵngcc0.ɵɵadvance(3);\n ɵngcc0.ɵɵtextInterpolate(ctx.title);\n }\n },\n dependencies: [ɵngcc2.NgClass],\n encapsulation: 2\n });\n /** @nocollapse */\n\n return Loading;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet LoadingModule = /*#__PURE__*/(() => {\n class LoadingModule {}\n\n LoadingModule.ɵfac = function LoadingModule_Factory(t) {\n return new (t || LoadingModule)();\n };\n\n LoadingModule.ɵmod = /*@__PURE__*/ɵngcc0.ɵɵdefineNgModule({\n type: LoadingModule\n });\n LoadingModule.ɵinj = /*@__PURE__*/ɵngcc0.ɵɵdefineInjector({\n imports: [CommonModule, I18nModule]\n });\n return LoadingModule;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(LoadingModule, {\n declarations: function () {\n return [Loading];\n },\n imports: function () {\n return [CommonModule, I18nModule];\n },\n exports: function () {\n return [Loading];\n }\n });\n})();\n/**\n * Generated bundle index. Do not edit.\n */\n\n\nexport { Loading, LoadingModule }; //# sourceMappingURL=carbon-components-angular-loading.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/07d2681d54c7c91318963107e8193b55.json b/.angular/cache/14.2.11/babel-webpack/07d2681d54c7c91318963107e8193b55.json new file mode 100644 index 0000000000..6f7bd59da3 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/07d2681d54c7c91318963107e8193b55.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { __extends } from \"tslib\";\nimport { Observable } from \"./Observable.js\";\nimport { iterateObserversSafely } from \"./iteration.js\";\nimport { fixObservableSubclass } from \"./subclassing.js\";\n\nfunction isPromiseLike(value) {\n return value && typeof value.then === \"function\";\n}\n\nvar Concast = function (_super) {\n __extends(Concast, _super);\n\n function Concast(sources) {\n var _this = _super.call(this, function (observer) {\n _this.addObserver(observer);\n\n return function () {\n return _this.removeObserver(observer);\n };\n }) || this;\n\n _this.observers = new Set();\n _this.promise = new Promise(function (resolve, reject) {\n _this.resolve = resolve;\n _this.reject = reject;\n });\n _this.handlers = {\n next: function (result) {\n if (_this.sub !== null) {\n _this.latest = [\"next\", result];\n\n _this.notify(\"next\", result);\n\n iterateObserversSafely(_this.observers, \"next\", result);\n }\n },\n error: function (error) {\n var sub = _this.sub;\n\n if (sub !== null) {\n if (sub) setTimeout(function () {\n return sub.unsubscribe();\n });\n _this.sub = null;\n _this.latest = [\"error\", error];\n\n _this.reject(error);\n\n _this.notify(\"error\", error);\n\n iterateObserversSafely(_this.observers, \"error\", error);\n }\n },\n complete: function () {\n var _a = _this,\n sub = _a.sub,\n _b = _a.sources,\n sources = _b === void 0 ? [] : _b;\n\n if (sub !== null) {\n var value = sources.shift();\n\n if (!value) {\n if (sub) setTimeout(function () {\n return sub.unsubscribe();\n });\n _this.sub = null;\n\n if (_this.latest && _this.latest[0] === \"next\") {\n _this.resolve(_this.latest[1]);\n } else {\n _this.resolve();\n }\n\n _this.notify(\"complete\");\n\n iterateObserversSafely(_this.observers, \"complete\");\n } else if (isPromiseLike(value)) {\n value.then(function (obs) {\n return _this.sub = obs.subscribe(_this.handlers);\n });\n } else {\n _this.sub = value.subscribe(_this.handlers);\n }\n }\n }\n };\n _this.nextResultListeners = new Set();\n\n _this.cancel = function (reason) {\n _this.reject(reason);\n\n _this.sources = [];\n\n _this.handlers.complete();\n };\n\n _this.promise.catch(function (_) {});\n\n if (typeof sources === \"function\") {\n sources = [new Observable(sources)];\n }\n\n if (isPromiseLike(sources)) {\n sources.then(function (iterable) {\n return _this.start(iterable);\n }, _this.handlers.error);\n } else {\n _this.start(sources);\n }\n\n return _this;\n }\n\n Concast.prototype.start = function (sources) {\n if (this.sub !== void 0) return;\n this.sources = Array.from(sources);\n this.handlers.complete();\n };\n\n Concast.prototype.deliverLastMessage = function (observer) {\n if (this.latest) {\n var nextOrError = this.latest[0];\n var method = observer[nextOrError];\n\n if (method) {\n method.call(observer, this.latest[1]);\n }\n\n if (this.sub === null && nextOrError === \"next\" && observer.complete) {\n observer.complete();\n }\n }\n };\n\n Concast.prototype.addObserver = function (observer) {\n if (!this.observers.has(observer)) {\n this.deliverLastMessage(observer);\n this.observers.add(observer);\n }\n };\n\n Concast.prototype.removeObserver = function (observer) {\n if (this.observers.delete(observer) && this.observers.size < 1) {\n this.handlers.complete();\n }\n };\n\n Concast.prototype.notify = function (method, arg) {\n var nextResultListeners = this.nextResultListeners;\n\n if (nextResultListeners.size) {\n this.nextResultListeners = new Set();\n nextResultListeners.forEach(function (listener) {\n return listener(method, arg);\n });\n }\n };\n\n Concast.prototype.beforeNext = function (callback) {\n var called = false;\n this.nextResultListeners.add(function (method, arg) {\n if (!called) {\n called = true;\n callback(method, arg);\n }\n });\n };\n\n return Concast;\n}(Observable);\n\nexport { Concast };\nfixObservableSubclass(Concast); //# sourceMappingURL=Concast.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/08fc5f091159b5ec4e0052f9e6fbe75a.json b/.angular/cache/14.2.11/babel-webpack/08fc5f091159b5ec4e0052f9e6fbe75a.json new file mode 100644 index 0000000000..16bc089af3 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/08fc5f091159b5ec4e0052f9e6fbe75a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GraphQLError } from '../../error/GraphQLError.mjs';\n/**\n * Unique type names\n *\n * A GraphQL document is only valid if all defined types have unique names.\n */\n\nexport function UniqueTypeNamesRule(context) {\n const knownTypeNames = Object.create(null);\n const schema = context.getSchema();\n return {\n ScalarTypeDefinition: checkTypeName,\n ObjectTypeDefinition: checkTypeName,\n InterfaceTypeDefinition: checkTypeName,\n UnionTypeDefinition: checkTypeName,\n EnumTypeDefinition: checkTypeName,\n InputObjectTypeDefinition: checkTypeName\n };\n\n function checkTypeName(node) {\n const typeName = node.name.value;\n\n if (schema !== null && schema !== void 0 && schema.getType(typeName)) {\n context.reportError(new GraphQLError(`Type \"${typeName}\" already exists in the schema. It cannot also be defined in this type definition.`, {\n nodes: node.name\n }));\n return;\n }\n\n if (knownTypeNames[typeName]) {\n context.reportError(new GraphQLError(`There can be only one type named \"${typeName}\".`, {\n nodes: [knownTypeNames[typeName], node.name]\n }));\n } else {\n knownTypeNames[typeName] = node.name;\n }\n\n return false;\n }\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0912281529b7873a3498726f9d97b501.json b/.angular/cache/14.2.11/babel-webpack/0912281529b7873a3498726f9d97b501.json new file mode 100644 index 0000000000..8f67ae94d8 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0912281529b7873a3498726f9d97b501.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { Observable } from \"../../utilities/index.js\";\nexport function fromPromise(promise) {\n return new Observable(function (observer) {\n promise.then(function (value) {\n observer.next(value);\n observer.complete();\n }).catch(observer.error.bind(observer));\n });\n} //# sourceMappingURL=fromPromise.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0915defc6fe5110374951eb4a0bc1b3c.json b/.angular/cache/14.2.11/babel-webpack/0915defc6fe5110374951eb4a0bc1b3c.json new file mode 100644 index 0000000000..316eb59d1c --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0915defc6fe5110374951eb4a0bc1b3c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { asyncScheduler } from '../scheduler/async';\nimport { delayWhen } from './delayWhen';\nimport { timer } from '../observable/timer';\nexport function delay(due, scheduler = asyncScheduler) {\n const duration = timer(due, scheduler);\n return delayWhen(() => duration);\n} //# sourceMappingURL=delay.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0986e65d2a365e71ff73e71c0094174d.json b/.angular/cache/14.2.11/babel-webpack/0986e65d2a365e71ff73e71c0094174d.json new file mode 100644 index 0000000000..2fe7d799a8 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0986e65d2a365e71ff73e71c0094174d.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { AsyncScheduler } from './AsyncScheduler';\nexport class AnimationFrameScheduler extends AsyncScheduler {\n flush(action) {\n this._active = true;\n const flushId = this._scheduled;\n this._scheduled = undefined;\n const {\n actions\n } = this;\n let error;\n action = action || actions.shift();\n\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while ((action = actions[0]) && action.id === flushId && actions.shift());\n\n this._active = false;\n\n if (error) {\n while ((action = actions[0]) && action.id === flushId && actions.shift()) {\n action.unsubscribe();\n }\n\n throw error;\n }\n }\n\n} //# sourceMappingURL=AnimationFrameScheduler.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0a6314c71630c724847b759e1c2e0e19.json b/.angular/cache/14.2.11/babel-webpack/0a6314c71630c724847b759e1c2e0e19.json new file mode 100644 index 0000000000..b7c61e4e6f --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0a6314c71630c724847b759e1c2e0e19.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function isEmpty() {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, () => {\n subscriber.next(false);\n subscriber.complete();\n }, () => {\n subscriber.next(true);\n subscriber.complete();\n }));\n });\n} //# sourceMappingURL=isEmpty.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0a9081dba3f458accff511a814e2fb15.json b/.angular/cache/14.2.11/babel-webpack/0a9081dba3f458accff511a814e2fb15.json new file mode 100644 index 0000000000..b641de3037 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0a9081dba3f458accff511a814e2fb15.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n * Contains a range of UTF-8 character offsets and token references that\n * identify the region of the source from which the AST derived.\n */\nexport class Location {\n /**\n * The character offset at which this Node begins.\n */\n\n /**\n * The character offset at which this Node ends.\n */\n\n /**\n * The Token at which this Node begins.\n */\n\n /**\n * The Token at which this Node ends.\n */\n\n /**\n * The Source document the AST represents.\n */\n constructor(startToken, endToken, source) {\n this.start = startToken.start;\n this.end = endToken.end;\n this.startToken = startToken;\n this.endToken = endToken;\n this.source = source;\n }\n\n get [Symbol.toStringTag]() {\n return 'Location';\n }\n\n toJSON() {\n return {\n start: this.start,\n end: this.end\n };\n }\n\n}\n/**\n * Represents a range of characters represented by a lexical token\n * within a Source.\n */\n\nexport class Token {\n /**\n * The kind of Token.\n */\n\n /**\n * The character offset at which this Node begins.\n */\n\n /**\n * The character offset at which this Node ends.\n */\n\n /**\n * The 1-indexed line number on which this Token appears.\n */\n\n /**\n * The 1-indexed column number at which this Token begins.\n */\n\n /**\n * For non-punctuation tokens, represents the interpreted value of the token.\n *\n * Note: is undefined for punctuation tokens, but typed as string for\n * convenience in the parser.\n */\n\n /**\n * Tokens exist as nodes in a double-linked-list amongst all tokens\n * including ignored tokens. is always the first node and \n * the last.\n */\n constructor(kind, start, end, line, column, value) {\n this.kind = kind;\n this.start = start;\n this.end = end;\n this.line = line;\n this.column = column; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n\n this.value = value;\n this.prev = null;\n this.next = null;\n }\n\n get [Symbol.toStringTag]() {\n return 'Token';\n }\n\n toJSON() {\n return {\n kind: this.kind,\n value: this.value,\n line: this.line,\n column: this.column\n };\n }\n\n}\n/**\n * The list of all possible AST node types.\n */\n\n/**\n * @internal\n */\n\nexport const QueryDocumentKeys = {\n Name: [],\n Document: ['definitions'],\n OperationDefinition: ['name', 'variableDefinitions', 'directives', 'selectionSet'],\n VariableDefinition: ['variable', 'type', 'defaultValue', 'directives'],\n Variable: ['name'],\n SelectionSet: ['selections'],\n Field: ['alias', 'name', 'arguments', 'directives', 'selectionSet'],\n Argument: ['name', 'value'],\n FragmentSpread: ['name', 'directives'],\n InlineFragment: ['typeCondition', 'directives', 'selectionSet'],\n FragmentDefinition: ['name', // Note: fragment variable definitions are deprecated and will removed in v17.0.0\n 'variableDefinitions', 'typeCondition', 'directives', 'selectionSet'],\n IntValue: [],\n FloatValue: [],\n StringValue: [],\n BooleanValue: [],\n NullValue: [],\n EnumValue: [],\n ListValue: ['values'],\n ObjectValue: ['fields'],\n ObjectField: ['name', 'value'],\n Directive: ['name', 'arguments'],\n NamedType: ['name'],\n ListType: ['type'],\n NonNullType: ['type'],\n SchemaDefinition: ['description', 'directives', 'operationTypes'],\n OperationTypeDefinition: ['type'],\n ScalarTypeDefinition: ['description', 'name', 'directives'],\n ObjectTypeDefinition: ['description', 'name', 'interfaces', 'directives', 'fields'],\n FieldDefinition: ['description', 'name', 'arguments', 'type', 'directives'],\n InputValueDefinition: ['description', 'name', 'type', 'defaultValue', 'directives'],\n InterfaceTypeDefinition: ['description', 'name', 'interfaces', 'directives', 'fields'],\n UnionTypeDefinition: ['description', 'name', 'directives', 'types'],\n EnumTypeDefinition: ['description', 'name', 'directives', 'values'],\n EnumValueDefinition: ['description', 'name', 'directives'],\n InputObjectTypeDefinition: ['description', 'name', 'directives', 'fields'],\n DirectiveDefinition: ['description', 'name', 'arguments', 'locations'],\n SchemaExtension: ['directives', 'operationTypes'],\n ScalarTypeExtension: ['name', 'directives'],\n ObjectTypeExtension: ['name', 'interfaces', 'directives', 'fields'],\n InterfaceTypeExtension: ['name', 'interfaces', 'directives', 'fields'],\n UnionTypeExtension: ['name', 'directives', 'types'],\n EnumTypeExtension: ['name', 'directives', 'values'],\n InputObjectTypeExtension: ['name', 'directives', 'fields']\n};\nconst kindValues = new Set(Object.keys(QueryDocumentKeys));\n/**\n * @internal\n */\n\nexport function isNode(maybeNode) {\n const maybeKind = maybeNode === null || maybeNode === void 0 ? void 0 : maybeNode.kind;\n return typeof maybeKind === 'string' && kindValues.has(maybeKind);\n}\n/** Name */\n\nvar OperationTypeNode = /*#__PURE__*/(() => {\n (function (OperationTypeNode) {\n OperationTypeNode['QUERY'] = 'query';\n OperationTypeNode['MUTATION'] = 'mutation';\n OperationTypeNode['SUBSCRIPTION'] = 'subscription';\n })(OperationTypeNode || (OperationTypeNode = {}));\n\n return OperationTypeNode;\n})();\nexport { OperationTypeNode };","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0aa067f36767028b530ccc67bf39b118.json b/.angular/cache/14.2.11/babel-webpack/0aa067f36767028b530ccc67bf39b118.json new file mode 100644 index 0000000000..b60faa0a42 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0aa067f36767028b530ccc67bf39b118.json @@ -0,0 +1 @@ +{"ast":null,"code":"export const COMPLETE_NOTIFICATION = (() => createNotification('C', undefined, undefined))();\nexport function errorNotification(error) {\n return createNotification('E', undefined, error);\n}\nexport function nextNotification(value) {\n return createNotification('N', value, undefined);\n}\nexport function createNotification(kind, value, error) {\n return {\n kind,\n value,\n error\n };\n} //# sourceMappingURL=NotificationFactories.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0acd555d52384f8438bef5ba1543e830.json b/.angular/cache/14.2.11/babel-webpack/0acd555d52384f8438bef5ba1543e830.json new file mode 100644 index 0000000000..c5a111797c --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0acd555d52384f8438bef5ba1543e830.json @@ -0,0 +1 @@ +{"ast":null,"code":"export function createErrorClass(createImpl) {\n const _super = instance => {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n\n const ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n} //# sourceMappingURL=createErrorClass.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0b05cd94ea3371f96a4577ffd2f7a859.json b/.angular/cache/14.2.11/babel-webpack/0b05cd94ea3371f96a4577ffd2f7a859.json new file mode 100644 index 0000000000..1859afc943 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0b05cd94ea3371f96a4577ffd2f7a859.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { Subject } from '../Subject';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { noop } from '../util/noop';\nexport function window(windowBoundaries) {\n return operate((source, subscriber) => {\n let windowSubject = new Subject();\n subscriber.next(windowSubject.asObservable());\n\n const errorHandler = err => {\n windowSubject.error(err);\n subscriber.error(err);\n };\n\n source.subscribe(createOperatorSubscriber(subscriber, value => windowSubject === null || windowSubject === void 0 ? void 0 : windowSubject.next(value), () => {\n windowSubject.complete();\n subscriber.complete();\n }, errorHandler));\n windowBoundaries.subscribe(createOperatorSubscriber(subscriber, () => {\n windowSubject.complete();\n subscriber.next(windowSubject = new Subject());\n }, noop, errorHandler));\n return () => {\n windowSubject === null || windowSubject === void 0 ? void 0 : windowSubject.unsubscribe();\n windowSubject = null;\n };\n });\n} //# sourceMappingURL=window.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0c03bc4031185a70e04cc150595576c1.json b/.angular/cache/14.2.11/babel-webpack/0c03bc4031185a70e04cc150595576c1.json new file mode 100644 index 0000000000..1aaf737785 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0c03bc4031185a70e04cc150595576c1.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { CommonModule } from '@angular/common';\nimport { RepositoriesRoutingModule } from './repositories-routing.module';\nimport * as i0 from \"@angular/core\";\nexport let RepositoriesModule = /*#__PURE__*/(() => {\n class RepositoriesModule {}\n\n RepositoriesModule.ɵfac = function RepositoriesModule_Factory(t) {\n return new (t || RepositoriesModule)();\n };\n\n RepositoriesModule.ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n type: RepositoriesModule\n });\n RepositoriesModule.ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n imports: [CommonModule, RepositoriesRoutingModule]\n });\n return RepositoriesModule;\n})();","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0c1dbf975b2f23c09527822e877f89c1.json b/.angular/cache/14.2.11/babel-webpack/0c1dbf975b2f23c09527822e877f89c1.json new file mode 100644 index 0000000000..23e9bd394b --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0c1dbf975b2f23c09527822e877f89c1.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-grid.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { CommonModule } from '@angular/common';\nimport { Directive, HostBinding, Input, NgModule } from '@angular/core';\n/**\n * [See demo](../../?path=/story/components-grid--basic)\n *\n * ../../iframe.html?id=components-grid--basic\n */\n\nimport * as ɵngcc0 from '@angular/core';\nlet GridDirective = /*#__PURE__*/(() => {\n class GridDirective {\n constructor() {\n this.baseClass = true;\n this.condensed = false;\n }\n\n }\n\n GridDirective.ɵfac = function GridDirective_Factory(t) {\n return new (t || GridDirective)();\n };\n\n GridDirective.ɵdir = /*@__PURE__*/ɵngcc0.ɵɵdefineDirective({\n type: GridDirective,\n selectors: [[\"\", \"ibmGrid\", \"\"]],\n hostVars: 4,\n hostBindings: function GridDirective_HostBindings(rf, ctx) {\n if (rf & 2) {\n ɵngcc0.ɵɵclassProp(\"bx--grid\", ctx.baseClass)(\"bx--grid--condensed\", ctx.condensed);\n }\n },\n inputs: {\n condensed: \"condensed\"\n }\n });\n return GridDirective;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet RowDirective = /*#__PURE__*/(() => {\n class RowDirective {\n constructor() {\n this.gutter = true;\n this.leftGutter = true;\n this.rightGutter = true;\n this.baseClass = true;\n this.condensed = false;\n }\n\n get showGutter() {\n return !this.gutter;\n }\n\n get showLeftGutter() {\n return !this.leftGutter;\n }\n\n get showRightGutter() {\n return !this.rightGutter;\n }\n\n }\n\n RowDirective.ɵfac = function RowDirective_Factory(t) {\n return new (t || RowDirective)();\n };\n\n RowDirective.ɵdir = /*@__PURE__*/ɵngcc0.ɵɵdefineDirective({\n type: RowDirective,\n selectors: [[\"\", \"ibmRow\", \"\"]],\n hostVars: 10,\n hostBindings: function RowDirective_HostBindings(rf, ctx) {\n if (rf & 2) {\n ɵngcc0.ɵɵclassProp(\"bx--row\", ctx.baseClass)(\"bx--row--condensed\", ctx.condensed)(\"bx--no-gutter\", ctx.showGutter)(\"bx--no-gutter--left\", ctx.showLeftGutter)(\"bx--no-gutter--right\", ctx.showRightGutter);\n }\n },\n inputs: {\n gutter: \"gutter\",\n leftGutter: \"leftGutter\",\n rightGutter: \"rightGutter\",\n condensed: \"condensed\"\n }\n });\n return RowDirective;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet ColumnDirective = /*#__PURE__*/(() => {\n class ColumnDirective {\n constructor() {\n this.class = \"\";\n this.columnNumbers = {};\n this.offsets = {}; // initial value if no inputs are provided (if no inputs ngOnChanges won't be executed)\n\n this._columnClasses = [\"bx--col\"];\n }\n\n get columnClasses() {\n return this._columnClasses.join(\" \");\n }\n\n set columnClasses(classes) {\n this._columnClasses = classes.split(\" \");\n }\n\n ngOnChanges() {\n try {\n // Reset classes so we don't apply classes for the same breakpoint multiple times\n this._columnClasses = [];\n const columnKeys = Object.keys(this.columnNumbers);\n\n if (columnKeys.length <= 0) {\n this._columnClasses.push(\"bx--col\");\n }\n\n columnKeys.forEach(key => {\n if (this.columnNumbers[key] === \"nobreak\") {\n this._columnClasses.push(`bx--col-${key}`);\n } else {\n this._columnClasses.push(`bx--col-${key}-${this.columnNumbers[key]}`);\n }\n });\n Object.keys(this.offsets).forEach(key => {\n this._columnClasses.push(`bx--offset-${key}-${this.offsets[key]}`);\n });\n } catch (err) {\n console.error(`Malformed \\`offsets\\` or \\`columnNumbers\\`: ${err}`);\n }\n\n if (this.class) {\n this._columnClasses = [...new Set([...this._columnClasses, ...this.class.split(\" \")])];\n }\n }\n\n }\n\n ColumnDirective.ɵfac = function ColumnDirective_Factory(t) {\n return new (t || ColumnDirective)();\n };\n\n ColumnDirective.ɵdir = /*@__PURE__*/ɵngcc0.ɵɵdefineDirective({\n type: ColumnDirective,\n selectors: [[\"\", \"ibmCol\", \"\"]],\n hostVars: 2,\n hostBindings: function ColumnDirective_HostBindings(rf, ctx) {\n if (rf & 2) {\n ɵngcc0.ɵɵclassMap(ctx.columnClasses);\n }\n },\n inputs: {\n class: \"class\",\n columnNumbers: \"columnNumbers\",\n offsets: \"offsets\"\n },\n features: [ɵngcc0.ɵɵNgOnChangesFeature]\n });\n return ColumnDirective;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet GridModule = /*#__PURE__*/(() => {\n class GridModule {}\n\n GridModule.ɵfac = function GridModule_Factory(t) {\n return new (t || GridModule)();\n };\n\n GridModule.ɵmod = /*@__PURE__*/ɵngcc0.ɵɵdefineNgModule({\n type: GridModule\n });\n GridModule.ɵinj = /*@__PURE__*/ɵngcc0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n return GridModule;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(GridModule, {\n declarations: function () {\n return [ColumnDirective, GridDirective, RowDirective];\n },\n imports: function () {\n return [CommonModule];\n },\n exports: function () {\n return [ColumnDirective, GridDirective, RowDirective];\n }\n });\n})();\n/**\n * Generated bundle index. Do not edit.\n */\n\n\nexport { GridModule, GridDirective, RowDirective, ColumnDirective }; //# sourceMappingURL=carbon-components-angular-grid.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0d02642b2b732c027ab1c5cb5ebf088b.json b/.angular/cache/14.2.11/babel-webpack/0d02642b2b732c027ab1c5cb5ebf088b.json new file mode 100644 index 0000000000..063ec5b7cf --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0d02642b2b732c027ab1c5cb5ebf088b.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-tabs.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Subscription } from 'rxjs';\nimport { Component, Input, Output, EventEmitter, TemplateRef, HostBinding, ViewChild, ElementRef, HostListener, ContentChildren, ChangeDetectorRef, ViewChildren, ContentChild, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EventService, UtilsModule } from 'carbon-components-angular/utils';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\nimport * as ɵngcc2 from 'carbon-components-angular/utils';\nimport * as ɵngcc3 from 'carbon-components-angular/i18n';\n\nconst _c0 = function (a0) {\n return {\n \"display\": a0\n };\n};\n\nfunction Tab_div_0_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"div\", 1);\n ɵngcc0.ɵɵprojection(1);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r0 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵproperty(\"ngStyle\", ɵngcc0.ɵɵpureFunction1(3, _c0, ctx_r0.active ? null : \"none\"));\n ɵngcc0.ɵɵattribute(\"tabindex\", ctx_r0.tabIndex)(\"aria-labelledby\", ctx_r0.id + \"-header\");\n }\n}\n\nconst _c1 = [\"*\"];\nconst _c2 = [\"tabItem\"];\n\nconst _c3 = function (a0, a1) {\n return {\n \"bx--tabs__nav-item--selected bx--tabs--scrollable__nav-item--selected\": a0,\n \"bx--tabs__nav-item--disabled bx--tabs--scrollable__nav-item--disabled\": a1\n };\n};\n\nconst _c4 = [\"tabList\"];\nconst _c5 = [\"rightOverflowNavButton\"];\nconst _c6 = [\"leftOverflowNavButton\"];\n\nfunction TabHeaderGroup_div_5_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵnamespaceHTML();\n ɵngcc0.ɵɵelement(0, \"div\", 13);\n }\n}\n\nfunction TabHeaderGroup_ng_container_9_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementContainer(0, 14);\n }\n\n if (rf & 2) {\n const ctx_r3 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r3.contentBefore);\n }\n}\n\nfunction TabHeaderGroup_ng_container_12_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementContainer(0, 14);\n }\n\n if (rf & 2) {\n const ctx_r4 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r4.contentAfter);\n }\n}\n\nfunction TabHeaderGroup_div_13_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelement(0, \"div\", 15);\n }\n}\n\nconst _c7 = function (a0, a1) {\n return {\n \"bx--skeleton\": a0,\n \"bx--tabs--container bx--tabs--scrollable--container\": a1\n };\n};\n\nconst _c8 = function (a0, a1) {\n return {\n \"bx--tab--overflow-nav-button\": a0,\n \"bx--tab--overflow-nav-button--hidden\": a1\n };\n};\n\nconst _c9 = [\"tabsScrollable\"];\n\nfunction TabHeaders_div_6_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵnamespaceHTML();\n ɵngcc0.ɵɵelement(0, \"div\", 15);\n }\n}\n\nfunction TabHeaders_ng_container_10_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementContainer(0, 16);\n }\n\n if (rf & 2) {\n const ctx_r4 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r4.contentBefore);\n }\n}\n\nfunction TabHeaders_li_11_ng_container_3_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementContainerStart(0);\n ɵngcc0.ɵɵtext(1);\n ɵngcc0.ɵɵelementContainerEnd();\n }\n\n if (rf & 2) {\n const tab_r9 = ɵngcc0.ɵɵnextContext().$implicit;\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate1(\" \", tab_r9.heading, \" \");\n }\n}\n\nfunction TabHeaders_li_11_4_ng_template_0_Template(rf, ctx) {}\n\nconst _c10 = function (a0) {\n return {\n $implicit: a0\n };\n};\n\nfunction TabHeaders_li_11_4_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵtemplate(0, TabHeaders_li_11_4_ng_template_0_Template, 0, 0, \"ng-template\", 21);\n }\n\n if (rf & 2) {\n const tab_r9 = ɵngcc0.ɵɵnextContext().$implicit;\n ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", tab_r9.heading)(\"ngTemplateOutletContext\", ɵngcc0.ɵɵpureFunction1(2, _c10, tab_r9.context));\n }\n}\n\nfunction TabHeaders_li_11_Template(rf, ctx) {\n if (rf & 1) {\n const _r18 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵelementStart(0, \"li\", 17);\n ɵngcc0.ɵɵlistener(\"click\", function TabHeaders_li_11_Template_li_click_0_listener() {\n const restoredCtx = ɵngcc0.ɵɵrestoreView(_r18);\n const tab_r9 = restoredCtx.$implicit;\n const i_r10 = restoredCtx.index;\n\n const _r11 = ɵngcc0.ɵɵreference(2);\n\n const ctx_r17 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r17.selectTab(_r11, tab_r9, i_r10));\n });\n ɵngcc0.ɵɵelementStart(1, \"button\", 18, 19);\n ɵngcc0.ɵɵlistener(\"focus\", function TabHeaders_li_11_Template_button_focus_1_listener() {\n const restoredCtx = ɵngcc0.ɵɵrestoreView(_r18);\n const i_r10 = restoredCtx.index;\n\n const _r11 = ɵngcc0.ɵɵreference(2);\n\n const ctx_r19 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r19.onTabFocus(_r11, i_r10));\n })(\"click\", function TabHeaders_li_11_Template_button_click_1_listener($event) {\n return $event.preventDefault();\n });\n ɵngcc0.ɵɵtemplate(3, TabHeaders_li_11_ng_container_3_Template, 2, 1, \"ng-container\", 20);\n ɵngcc0.ɵɵtemplate(4, TabHeaders_li_11_4_Template, 1, 4, null, 20);\n ɵngcc0.ɵɵelementEnd()();\n }\n\n if (rf & 2) {\n const tab_r9 = ctx.$implicit;\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(9, _c3, tab_r9.active, tab_r9.disabled));\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵpropertyInterpolate1(\"id\", \"\", tab_r9.id, \"-header\");\n ɵngcc0.ɵɵproperty(\"title\", tab_r9.title ? tab_r9.title : tab_r9.heading);\n ɵngcc0.ɵɵattribute(\"aria-selected\", tab_r9.active)(\"tabindex\", tab_r9.active ? 0 : -1)(\"aria-controls\", tab_r9.id)(\"aria-disabled\", tab_r9.disabled);\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵproperty(\"ngIf\", !tab_r9.headingIsTemplate);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", tab_r9.headingIsTemplate);\n }\n}\n\nfunction TabHeaders_ng_container_13_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementContainer(0, 16);\n }\n\n if (rf & 2) {\n const ctx_r6 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r6.contentAfter);\n }\n}\n\nfunction TabHeaders_div_14_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelement(0, \"div\", 22);\n }\n}\n\nfunction Tabs_ibm_tab_headers_0_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelement(0, \"ibm-tab-headers\", 4);\n }\n\n if (rf & 2) {\n const ctx_r0 = ɵngcc0.ɵɵnextContext();\n\n const _r1 = ɵngcc0.ɵɵreference(3);\n\n const _r3 = ɵngcc0.ɵɵreference(5);\n\n ɵngcc0.ɵɵproperty(\"skeleton\", ctx_r0.skeleton)(\"tabs\", ctx_r0.tabs)(\"followFocus\", ctx_r0.followFocus)(\"cacheActive\", ctx_r0.cacheActive)(\"contentBefore\", _r1)(\"contentAfter\", _r3)(\"ariaLabel\", ctx_r0.ariaLabel)(\"ariaLabelledby\", ctx_r0.ariaLabelledby)(\"type\", ctx_r0.type);\n }\n}\n\nfunction Tabs_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojection(0, 1);\n }\n}\n\nfunction Tabs_ng_template_4_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojection(0, 2);\n }\n}\n\nfunction Tabs_ibm_tab_headers_6_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelement(0, \"ibm-tab-headers\", 5);\n }\n\n if (rf & 2) {\n const ctx_r5 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵproperty(\"skeleton\", ctx_r5.skeleton)(\"tabs\", ctx_r5.tabs)(\"cacheActive\", ctx_r5.cacheActive)(\"type\", ctx_r5.type);\n }\n}\n\nconst _c11 = [\"*\", [[\"\", \"before\", \"\"]], [[\"\", \"after\", \"\"]]];\nconst _c12 = [\"*\", \"[before]\", \"[after]\"];\nlet nextId = 0;\n/**\n* The `Tab` component is a child of the `Tabs` component.\n* It represents one `Tab` item and its content within a panel of other `Tab` items.\n*\n*\n* `Tab` takes a string or `TemplateRef` for the header, and any content for the body of the tab.\n* Disabled states should be handled by the application (ie. switch to the tab, but display some\n* indication as to _why_ the tab is disabled).\n*\n* When the tab is selected the `select` output will be triggered.\n* The `select` output will also be triggered for the active tab when the tabs are loaded or updated.\n*\n*\n* Tab with string header:\n*\n* ```html\n* \n* \ttab 1 content\n* \n* ```\n*\n* Tab with custom header:\n*\n* ```html\n* \n* \t\n* \t\n* \tHello Tab 1\n* \n* \n* \t\n* \t\tTab 1 content \n* \t\n* \t\n* \t\tTab 2 content\n* \t\n* \t\n* \t\tTab 3 content\n* \t\n* \n* ```\n*/\n\nlet Tab = /*#__PURE__*/(() => {\n class Tab {\n constructor() {\n /**\n * Boolean value reflects if the `Tab` is using a custom template for the heading.\n * Default value is false.\n */\n this.headingIsTemplate = false;\n /**\n * Indicates whether the `Tab` is active/selected.\n * Determines whether it's `TabPanel` is rendered.\n */\n\n this.active = false;\n /**\n * Indicates whether or not the `Tab` item is disabled.\n */\n\n this.disabled = false;\n this.tabIndex = 0; // do we need id's?\n\n /**\n * Sets the id of the `Tab`. Will be uniquely generated if not provided.\n */\n\n this.id = `n-tab-${nextId++}`;\n /**\n * Value 'selected' to be emitted after a new `Tab` is selected.\n */\n\n this.selected = new EventEmitter();\n /**\n * Used to set the id property on the element.\n */\n\n this.attrClass = this.id;\n this._cacheActive = false;\n }\n /**\n * Set to true to have Tab items cached and not reloaded on tab switching.\n */\n\n\n set cacheActive(shouldCache) {\n this._cacheActive = shouldCache;\n }\n\n get cacheActive() {\n return this._cacheActive;\n }\n /**\n * Checks for custom heading template on initialization and updates the value\n * of the boolean 'headingIsTemplate'.\n */\n\n\n ngOnInit() {\n if (this.heading instanceof TemplateRef) {\n this.headingIsTemplate = true;\n }\n }\n /**\n * Emit the status of the `Tab`, specifically 'select' and 'selected' properties.\n */\n\n\n doSelect() {\n this.selected.emit();\n }\n /**\n * Returns value indicating whether this `Tab` should be rendered in a `TabPanel`.\n */\n\n\n shouldRender() {\n return this.active || this.cacheActive;\n }\n\n }\n\n Tab.ɵfac = function Tab_Factory(t) {\n return new (t || Tab)();\n };\n\n Tab.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: Tab,\n selectors: [[\"ibm-tab\"]],\n hostVars: 1,\n hostBindings: function Tab_HostBindings(rf, ctx) {\n if (rf & 2) {\n ɵngcc0.ɵɵattribute(\"id\", ctx.attrClass);\n }\n },\n inputs: {\n active: \"active\",\n disabled: \"disabled\",\n tabIndex: \"tabIndex\",\n id: \"id\",\n cacheActive: \"cacheActive\",\n heading: \"heading\",\n title: \"title\",\n context: \"context\"\n },\n outputs: {\n selected: \"selected\"\n },\n ngContentSelectors: _c1,\n decls: 1,\n vars: 1,\n consts: [[\"role\", \"tabpanel\", \"class\", \"bx--tab-content\", \"aria-live\", \"polite\", 3, \"ngStyle\", 4, \"ngIf\"], [\"role\", \"tabpanel\", \"aria-live\", \"polite\", 1, \"bx--tab-content\", 3, \"ngStyle\"]],\n template: function Tab_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef();\n ɵngcc0.ɵɵtemplate(0, Tab_div_0_Template, 2, 5, \"div\", 0);\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.shouldRender());\n }\n },\n dependencies: [ɵngcc1.NgIf, ɵngcc1.NgStyle],\n encapsulation: 2\n });\n return Tab;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet TabHeader = /*#__PURE__*/(() => {\n class TabHeader {\n constructor() {\n /**\n * Indicates whether the `Tab` is active/selected.\n * Determines whether it's `TabPanel` is rendered.\n */\n this.active = false;\n /**\n * Indicates whether or not the `Tab` item is disabled.\n */\n\n this.disabled = false;\n /**\n * Value 'selected' to be emitted after a new `Tab` is selected.\n */\n\n this.selected = new EventEmitter();\n this._cacheActive = false;\n }\n /**\n * Set to 'true' to have pane reference cached and not reloaded on tab switching.\n */\n\n\n set cacheActive(shouldCache) {\n this._cacheActive = shouldCache; // Updates the pane references associated with the tab header when cache active is changed.\n\n if (this.paneReference) {\n this.paneReference.cacheActive = this.cacheActive;\n }\n }\n\n set paneTabIndex(tabIndex) {\n if (this.paneReference) {\n this.paneReference.tabIndex = tabIndex;\n }\n }\n\n get cacheActive() {\n return this._cacheActive;\n }\n\n ngAfterViewInit() {\n setTimeout(() => {\n this.title = this.title ? this.title : this.tabItem.nativeElement.textContent;\n });\n }\n\n selectTab() {\n this.tabItem.nativeElement.focus();\n\n if (!this.disabled) {\n this.selected.emit();\n this.active = true;\n\n if (this.paneReference) {\n this.paneReference.active = true;\n }\n }\n }\n\n }\n\n TabHeader.ɵfac = function TabHeader_Factory(t) {\n return new (t || TabHeader)();\n };\n\n TabHeader.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: TabHeader,\n selectors: [[\"ibm-tab-header\"]],\n viewQuery: function TabHeader_Query(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵviewQuery(_c2, 7);\n }\n\n if (rf & 2) {\n let _t;\n\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.tabItem = _t.first);\n }\n },\n inputs: {\n active: \"active\",\n disabled: \"disabled\",\n cacheActive: \"cacheActive\",\n paneTabIndex: \"paneTabIndex\",\n title: \"title\",\n paneReference: \"paneReference\"\n },\n outputs: {\n selected: \"selected\"\n },\n ngContentSelectors: _c1,\n decls: 4,\n vars: 7,\n consts: [[\"role\", \"presentation\", 1, \"bx--tabs--scrollable__nav-item\", 3, \"ngClass\", \"click\"], [\"draggable\", \"false\", \"href\", \"javascript:void(0)\", \"role\", \"tab\", 1, \"bx--tabs--scrollable__nav-link\", 3, \"title\"], [\"tabItem\", \"\"]],\n template: function TabHeader_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef();\n ɵngcc0.ɵɵelementStart(0, \"li\", 0);\n ɵngcc0.ɵɵlistener(\"click\", function TabHeader_Template_li_click_0_listener() {\n return ctx.selectTab();\n });\n ɵngcc0.ɵɵelementStart(1, \"button\", 1, 2);\n ɵngcc0.ɵɵprojection(3);\n ɵngcc0.ɵɵelementEnd()();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(4, _c3, ctx.active, ctx.disabled));\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"title\", ctx.title);\n ɵngcc0.ɵɵattribute(\"aria-selected\", ctx.active)(\"tabindex\", ctx.active ? 0 : -1);\n }\n },\n dependencies: [ɵngcc1.NgClass],\n encapsulation: 2\n });\n return TabHeader;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet TabHeaderGroup = /*#__PURE__*/(() => {\n class TabHeaderGroup {\n constructor(elementRef, changeDetectorRef, eventService) {\n this.elementRef = elementRef;\n this.changeDetectorRef = changeDetectorRef;\n this.eventService = eventService;\n /**\n * Set to `true` to put tabs in a loading state.\n */\n\n this.skeleton = false;\n /**\n * Set to 'true' to have all pane references associated with each tab header\n * in the tab header group cached and not reloaded on tab switching.\n */\n\n this.cacheActive = false;\n this.isNavigation = false;\n this.type = \"default\";\n /**\n * Keeps track of all the subscriptions to the tab header selection events.\n */\n\n this.selectedSubscriptionTracker = new Subscription();\n /**\n * Controls the manual focusing done by tabbing through headings.\n */\n\n this.currentSelectedIndex = 0; // width of the overflow buttons\n\n this.OVERFLOW_BUTTON_OFFSET = 40;\n this._cacheActive = false;\n }\n\n get hasHorizontalOverflow() {\n const tabList = this.headerContainer.nativeElement;\n return tabList.scrollWidth > tabList.clientWidth;\n }\n\n get leftOverflowNavButtonHidden() {\n const tabList = this.headerContainer.nativeElement;\n return !this.hasHorizontalOverflow || !tabList.scrollLeft;\n }\n\n get rightOverflowNavButtonHidden() {\n const tabList = this.headerContainer.nativeElement;\n return !this.hasHorizontalOverflow || tabList.scrollLeft + tabList.clientWidth === tabList.scrollWidth;\n } // keyboard accessibility\n\n /**\n * Controls the keydown events used for tabbing through the headings.\n */\n\n\n keyboardInput(event) {\n let tabHeadersArray = Array.from(this.tabHeaderQuery);\n\n if (event.key === \"Right\" || event.key === \"ArrowRight\") {\n if (this.currentSelectedIndex < tabHeadersArray.length - 1) {\n event.preventDefault();\n\n if (this.followFocus && !tabHeadersArray[this.currentSelectedIndex + 1].disabled) {\n tabHeadersArray[this.currentSelectedIndex + 1].selectTab();\n } else {\n tabHeadersArray[this.currentSelectedIndex + 1].tabItem.nativeElement.focus();\n this.currentSelectedIndex++;\n }\n } else {\n event.preventDefault();\n\n if (this.followFocus && !tabHeadersArray[0].disabled) {\n tabHeadersArray[0].selectTab();\n } else {\n tabHeadersArray[0].tabItem.nativeElement.focus();\n this.currentSelectedIndex = 0;\n }\n }\n }\n\n if (event.key === \"Left\" || event.key === \"ArrowLeft\") {\n if (this.currentSelectedIndex > 0) {\n event.preventDefault();\n\n if (this.followFocus && !tabHeadersArray[this.currentSelectedIndex - 1].disabled) {\n tabHeadersArray[this.currentSelectedIndex - 1].selectTab();\n } else {\n tabHeadersArray[this.currentSelectedIndex - 1].tabItem.nativeElement.focus();\n this.currentSelectedIndex--;\n }\n } else {\n event.preventDefault();\n\n if (this.followFocus && !tabHeadersArray[tabHeadersArray.length - 1].disabled) {\n tabHeadersArray[tabHeadersArray.length - 1].selectTab();\n } else {\n tabHeadersArray[tabHeadersArray.length - 1].tabItem.nativeElement.focus();\n this.currentSelectedIndex = tabHeadersArray.length - 1;\n }\n }\n }\n\n if (event.key === \"Home\") {\n event.preventDefault();\n\n if (this.followFocus && !tabHeadersArray[0].disabled) {\n tabHeadersArray[0].selectTab();\n } else {\n tabHeadersArray[0].tabItem.nativeElement.focus();\n this.currentSelectedIndex = 0;\n }\n }\n\n if (event.key === \"End\") {\n event.preventDefault();\n\n if (this.followFocus && !tabHeadersArray[tabHeadersArray.length - 1].disabled) {\n tabHeadersArray[tabHeadersArray.length - 1].selectTab();\n } else {\n tabHeadersArray[tabHeadersArray.length - 1].tabItem.nativeElement.focus();\n this.currentSelectedIndex = tabHeadersArray.length - 1;\n }\n } // `\"Spacebar\"` is IE11 specific value\n\n\n if ((event.key === \" \" || event.key === \"Spacebar\") && !this.followFocus) {\n tabHeadersArray[this.currentSelectedIndex].selectTab();\n }\n }\n\n ngOnInit() {\n this.eventService.on(window, \"resize\", () => this.handleScroll());\n }\n\n ngAfterContentInit() {\n this.selectedSubscriptionTracker.unsubscribe();\n\n if (this.tabHeaderQuery) {\n this.tabHeaderQuery.toArray().forEach(tabHeader => {\n tabHeader.cacheActive = this.cacheActive;\n tabHeader.paneTabIndex = this.isNavigation ? null : 0;\n });\n }\n\n const selectedSubscriptions = this.tabHeaderQuery.toArray().forEach(tabHeader => {\n tabHeader.selected.subscribe(() => {\n this.currentSelectedIndex = this.tabHeaderQuery.toArray().indexOf(tabHeader); // The Filter takes the current selected tab out, then all other headers are\n // deactivated and their associated pane references are also deactivated.\n\n this.tabHeaderQuery.toArray().filter(header => header !== tabHeader).forEach(filteredHeader => {\n filteredHeader.active = false;\n\n if (filteredHeader.paneReference) {\n filteredHeader.paneReference.active = false;\n }\n });\n });\n });\n this.selectedSubscriptionTracker.add(selectedSubscriptions);\n setTimeout(() => this.tabHeaderQuery.toArray()[this.currentSelectedIndex].selectTab());\n }\n\n ngOnChanges(changes) {\n if (this.tabHeaderQuery) {\n if (changes.cacheActive) {\n this.tabHeaderQuery.toArray().forEach(tabHeader => tabHeader.cacheActive = this.cacheActive);\n }\n\n if (changes.isNavigation) {\n this.tabHeaderQuery.toArray().forEach(tabHeader => tabHeader.paneTabIndex = this.isNavigation ? null : 0);\n }\n }\n }\n\n getSelectedTab() {\n const selected = this.tabHeaderQuery.toArray()[this.currentSelectedIndex];\n\n if (selected) {\n return selected;\n }\n\n return {\n headingIsTemplate: false,\n heading: \"\"\n };\n }\n\n handleScroll() {\n this.changeDetectorRef.markForCheck();\n }\n\n handleOverflowNavClick(direction, multiplier = 15) {\n const tabList = this.headerContainer.nativeElement;\n const {\n clientWidth,\n scrollLeft,\n scrollWidth\n } = tabList;\n\n if (direction === 1 && !scrollLeft) {\n tabList.scrollLeft += this.OVERFLOW_BUTTON_OFFSET;\n }\n\n tabList.scrollLeft += direction * multiplier;\n const leftEdgeReached = direction === -1 && scrollLeft < this.OVERFLOW_BUTTON_OFFSET;\n const rightEdgeReached = direction === 1 && scrollLeft + clientWidth >= scrollWidth - this.OVERFLOW_BUTTON_OFFSET;\n\n if (leftEdgeReached) {\n this.rightOverflowNavButton.nativeElement.focus();\n }\n\n if (rightEdgeReached) {\n this.leftOverflowNavButton.nativeElement.focus();\n }\n }\n\n handleOverflowNavMouseDown(direction) {\n const tabList = this.headerContainer.nativeElement;\n this.overflowNavInterval = setInterval(() => {\n const {\n clientWidth,\n scrollLeft,\n scrollWidth\n } = tabList; // clear interval if scroll reaches left or right edge\n\n const leftEdgeReached = direction === -1 && scrollLeft < this.OVERFLOW_BUTTON_OFFSET;\n const rightEdgeReached = direction === 1 && scrollLeft + clientWidth >= scrollWidth - this.OVERFLOW_BUTTON_OFFSET;\n\n if (leftEdgeReached || rightEdgeReached) {\n clearInterval(this.overflowNavInterval);\n } // account for overflow button appearing and causing tablist width change\n\n\n this.handleOverflowNavClick(direction);\n });\n }\n\n handleOverflowNavMouseUp() {\n clearInterval(this.overflowNavInterval);\n }\n\n }\n\n TabHeaderGroup.ɵfac = function TabHeaderGroup_Factory(t) {\n return new (t || TabHeaderGroup)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ChangeDetectorRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.EventService));\n };\n\n TabHeaderGroup.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: TabHeaderGroup,\n selectors: [[\"ibm-tab-header-group\"]],\n contentQueries: function TabHeaderGroup_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n ɵngcc0.ɵɵcontentQuery(dirIndex, TabHeader, 4);\n }\n\n if (rf & 2) {\n let _t;\n\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.tabHeaderQuery = _t);\n }\n },\n viewQuery: function TabHeaderGroup_Query(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵviewQuery(_c4, 7);\n ɵngcc0.ɵɵviewQuery(_c5, 7);\n ɵngcc0.ɵɵviewQuery(_c6, 7);\n }\n\n if (rf & 2) {\n let _t;\n\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.headerContainer = _t.first);\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.rightOverflowNavButton = _t.first);\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.leftOverflowNavButton = _t.first);\n }\n },\n hostBindings: function TabHeaderGroup_HostBindings(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵlistener(\"keydown\", function TabHeaderGroup_keydown_HostBindingHandler($event) {\n return ctx.keyboardInput($event);\n });\n }\n },\n inputs: {\n skeleton: \"skeleton\",\n cacheActive: \"cacheActive\",\n isNavigation: \"isNavigation\",\n type: \"type\",\n followFocus: \"followFocus\",\n ariaLabel: \"ariaLabel\",\n ariaLabelledby: \"ariaLabelledby\",\n contentAfter: \"contentAfter\",\n contentBefore: \"contentBefore\"\n },\n features: [ɵngcc0.ɵɵNgOnChangesFeature],\n ngContentSelectors: _c1,\n decls: 18,\n vars: 18,\n consts: [[\"role\", \"navigation\", 1, \"bx--tabs\", \"bx--tabs--scrollable\", 3, \"ngClass\"], [\"type\", \"button\", 3, \"ngClass\", \"click\", \"mousedown\", \"mouseup\"], [\"leftOverflowNavButton\", \"\"], [\"focusable\", \"false\", \"preserveAspectRatio\", \"xMidYMid meet\", \"xmlns\", \"http://www.w3.org/2000/svg\", \"fill\", \"currentColor\", \"width\", \"16\", \"height\", \"16\", \"viewBox\", \"0 0 16 16\", \"aria-hidden\", \"true\"], [\"d\", \"M5 8L10 3 10.7 3.7 6.4 8 10.7 12.3 10 13z\"], [\"class\", \"bx--tabs__overflow-indicator--left\", 4, \"ngIf\"], [\"role\", \"tablist\", 1, \"bx--tabs--scrollable__nav\", 3, \"scroll\"], [\"tabList\", \"\"], [\"role\", \"presentation\"], [3, \"ngTemplateOutlet\", 4, \"ngIf\"], [\"class\", \"bx--tabs__overflow-indicator--right\", 4, \"ngIf\"], [\"rightOverflowNavButton\", \"\"], [\"d\", \"M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z\"], [1, \"bx--tabs__overflow-indicator--left\"], [3, \"ngTemplateOutlet\"], [1, \"bx--tabs__overflow-indicator--right\"]],\n template: function TabHeaderGroup_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef();\n ɵngcc0.ɵɵelementStart(0, \"nav\", 0)(1, \"button\", 1, 2);\n ɵngcc0.ɵɵlistener(\"click\", function TabHeaderGroup_Template_button_click_1_listener() {\n return ctx.handleOverflowNavClick(-1);\n })(\"mousedown\", function TabHeaderGroup_Template_button_mousedown_1_listener() {\n return ctx.handleOverflowNavMouseDown(-1);\n })(\"mouseup\", function TabHeaderGroup_Template_button_mouseup_1_listener() {\n return ctx.handleOverflowNavMouseUp();\n });\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelementStart(3, \"svg\", 3);\n ɵngcc0.ɵɵelement(4, \"path\", 4);\n ɵngcc0.ɵɵelementEnd()();\n ɵngcc0.ɵɵtemplate(5, TabHeaderGroup_div_5_Template, 1, 0, \"div\", 5);\n ɵngcc0.ɵɵnamespaceHTML();\n ɵngcc0.ɵɵelementStart(6, \"ul\", 6, 7);\n ɵngcc0.ɵɵlistener(\"scroll\", function TabHeaderGroup_Template_ul_scroll_6_listener() {\n return ctx.handleScroll();\n });\n ɵngcc0.ɵɵelementStart(8, \"li\", 8);\n ɵngcc0.ɵɵtemplate(9, TabHeaderGroup_ng_container_9_Template, 1, 1, \"ng-container\", 9);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵprojection(10);\n ɵngcc0.ɵɵelementStart(11, \"li\", 8);\n ɵngcc0.ɵɵtemplate(12, TabHeaderGroup_ng_container_12_Template, 1, 1, \"ng-container\", 9);\n ɵngcc0.ɵɵelementEnd()();\n ɵngcc0.ɵɵtemplate(13, TabHeaderGroup_div_13_Template, 1, 0, \"div\", 10);\n ɵngcc0.ɵɵelementStart(14, \"button\", 1, 11);\n ɵngcc0.ɵɵlistener(\"click\", function TabHeaderGroup_Template_button_click_14_listener() {\n return ctx.handleOverflowNavClick(1);\n })(\"mousedown\", function TabHeaderGroup_Template_button_mousedown_14_listener() {\n return ctx.handleOverflowNavMouseDown(1);\n })(\"mouseup\", function TabHeaderGroup_Template_button_mouseup_14_listener() {\n return ctx.handleOverflowNavMouseUp();\n });\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelementStart(16, \"svg\", 3);\n ɵngcc0.ɵɵelement(17, \"path\", 12);\n ɵngcc0.ɵɵelementEnd()()();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(9, _c7, ctx.skeleton, ctx.type === \"container\"));\n ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-labelledby\", ctx.ariaLabelledby);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(12, _c8, ctx.hasHorizontalOverflow, ctx.leftOverflowNavButtonHidden));\n ɵngcc0.ɵɵadvance(4);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.leftOverflowNavButtonHidden);\n ɵngcc0.ɵɵadvance(4);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.contentBefore);\n ɵngcc0.ɵɵadvance(3);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.contentAfter);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.rightOverflowNavButtonHidden);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(15, _c8, ctx.hasHorizontalOverflow, ctx.rightOverflowNavButtonHidden));\n }\n },\n dependencies: [ɵngcc1.NgClass, ɵngcc1.NgIf, ɵngcc1.NgTemplateOutlet],\n encapsulation: 2\n });\n /** @nocollapse */\n\n return TabHeaderGroup;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * The `TabHeaders` component contains the `Tab` items and controls scroll functionality\n * if content has overflow.\n */\n\n\nlet TabHeaders = /*#__PURE__*/(() => {\n class TabHeaders {\n constructor(elementRef, changeDetectorRef, i18n) {\n this.elementRef = elementRef;\n this.changeDetectorRef = changeDetectorRef;\n this.i18n = i18n;\n /**\n * Set to 'true' to have `Tab` items cached and not reloaded on tab switching.\n * Duplicate from `n-tabs` to support standalone headers\n */\n\n this.cacheActive = false;\n /**\n * Set to `true` to put tabs in a loading state.\n */\n\n this.skeleton = false;\n this.type = \"default\";\n this.translations = this.i18n.get().PAGINATION;\n /**\n * The index of the first visible tab.\n */\n\n this.firstVisibleTab = 0; // width of the overflow buttons\n\n this.OVERFLOW_BUTTON_OFFSET = 40;\n }\n\n get hasHorizontalOverflow() {\n const scrollWidth = this.headerContainer.nativeElement.scrollWidth;\n const availableWidth = this.tabsScrollable.nativeElement.clientWidth;\n return scrollWidth > availableWidth;\n }\n\n get leftOverflowNavButtonHidden() {\n const tabList = this.headerContainer.nativeElement;\n return !this.hasHorizontalOverflow || !tabList.scrollLeft;\n }\n\n get rightOverflowNavButtonHidden() {\n const tabList = this.headerContainer.nativeElement;\n return !this.hasHorizontalOverflow || tabList.scrollLeft + tabList.clientWidth === tabList.scrollWidth;\n } // keyboard accessibility\n\n /**\n * Controls the keydown events used for tabbing through the headings.\n */\n\n\n keyboardInput(event) {\n let tabsArray = Array.from(this.tabs); // \"Right\" is an ie11 specific value\n\n if (event.key === \"Right\" || event.key === \"ArrowRight\") {\n if (this.currentSelectedTab < this.allTabHeaders.length - 1) {\n event.preventDefault();\n\n if (this.followFocus) {\n this.selectTab(event.target, tabsArray[this.currentSelectedTab + 1], this.currentSelectedTab);\n }\n\n this.allTabHeaders.toArray()[this.currentSelectedTab + 1].nativeElement.focus();\n } else {\n event.preventDefault();\n\n if (this.followFocus) {\n this.selectTab(event.target, tabsArray[0], 0);\n }\n\n this.allTabHeaders.first.nativeElement.focus();\n }\n } // \"Left\" is an ie11 specific value\n\n\n if (event.key === \"Left\" || event.key === \"ArrowLeft\") {\n if (this.currentSelectedTab > 0) {\n event.preventDefault();\n\n if (this.followFocus) {\n this.selectTab(event.target, tabsArray[this.currentSelectedTab - 1], this.currentSelectedTab);\n }\n\n this.allTabHeaders.toArray()[this.currentSelectedTab - 1].nativeElement.focus();\n } else {\n event.preventDefault();\n\n if (this.followFocus) {\n this.selectTab(event.target, tabsArray[this.allTabHeaders.length - 1], this.allTabHeaders.length);\n }\n\n this.allTabHeaders.toArray()[this.allTabHeaders.length - 1].nativeElement.focus();\n }\n }\n\n if (event.key === \"Home\") {\n event.preventDefault();\n\n if (this.followFocus) {\n this.selectTab(event.target, tabsArray[0], 0);\n }\n\n this.allTabHeaders.toArray()[0].nativeElement.focus();\n }\n\n if (event.key === \"End\") {\n event.preventDefault();\n\n if (this.followFocus) {\n this.selectTab(event.target, tabsArray[this.allTabHeaders.length - 1], this.allTabHeaders.length);\n }\n\n this.allTabHeaders.toArray()[this.allTabHeaders.length - 1].nativeElement.focus();\n } // `\"Spacebar\"` is IE11 specific value\n\n\n if ((event.key === \" \" || event.key === \"Spacebar\") && !this.followFocus) {\n this.selectTab(event.target, tabsArray[this.currentSelectedTab], this.currentSelectedTab);\n }\n }\n\n ngOnInit() {\n // Update scroll on resize\n this.resizeObserver = new ResizeObserver(() => {\n // Need to explicitly trigger change detection since this runs outside Angular zone\n this.changeDetectorRef.detectChanges();\n });\n this.resizeObserver.observe(this.tabsScrollable.nativeElement);\n }\n\n ngOnDestroy() {\n this.resizeObserver.unobserve(this.tabsScrollable.nativeElement);\n }\n\n ngAfterContentInit() {\n if (!this.tabInput) {\n this.tabs = this.tabQuery;\n } else {\n this.tabs = this.tabInput;\n }\n\n this.tabs.forEach(tab => tab.cacheActive = this.cacheActive);\n this.tabs.changes.subscribe(() => {\n this.setFirstTab();\n });\n this.setFirstTab();\n }\n\n ngOnChanges(changes) {\n if (this.tabs && changes.cacheActive) {\n this.tabs.forEach(tab => tab.cacheActive = this.cacheActive);\n }\n }\n /**\n * Controls manually focusing tabs.\n */\n\n\n onTabFocus(ref, index) {\n this.currentSelectedTab = index; // reset scroll left because we're already handling it\n\n this.headerContainer.nativeElement.parentElement.scrollLeft = 0;\n }\n\n getSelectedTab() {\n const selected = this.tabs.find(tab => tab.active);\n\n if (selected) {\n return selected;\n }\n\n return {\n headingIsTemplate: false,\n heading: \"\"\n };\n }\n /**\n * Selects `Tab` 'tab' and moves it into view on the view DOM if it is not already.\n */\n\n\n selectTab(ref, tab, tabIndex) {\n if (tab.disabled) {\n return;\n }\n\n this.currentSelectedTab = tabIndex;\n this.tabs.forEach(_tab => _tab.active = false);\n tab.active = true;\n tab.doSelect();\n }\n\n handleScroll() {\n this.changeDetectorRef.markForCheck();\n }\n\n handleOverflowNavClick(direction, multiplier = 15) {\n const tabList = this.headerContainer.nativeElement;\n const {\n clientWidth,\n scrollLeft,\n scrollWidth\n } = tabList;\n\n if (direction === 1 && !scrollLeft) {\n tabList.scrollLeft += this.OVERFLOW_BUTTON_OFFSET;\n }\n\n tabList.scrollLeft += direction * multiplier;\n const leftEdgeReached = direction === -1 && scrollLeft < this.OVERFLOW_BUTTON_OFFSET;\n const rightEdgeReached = direction === 1 && scrollLeft + clientWidth >= scrollWidth - this.OVERFLOW_BUTTON_OFFSET;\n\n if (leftEdgeReached) {\n this.rightOverflowNavButton.nativeElement.focus();\n }\n\n if (rightEdgeReached) {\n this.leftOverflowNavButton.nativeElement.focus();\n }\n }\n\n handleOverflowNavMouseDown(direction) {\n const tabList = this.headerContainer.nativeElement;\n this.overflowNavInterval = setInterval(() => {\n const {\n clientWidth,\n scrollLeft,\n scrollWidth\n } = tabList; // clear interval if scroll reaches left or right edge\n\n const leftEdgeReached = direction === -1 && scrollLeft < this.OVERFLOW_BUTTON_OFFSET;\n const rightEdgeReached = direction === 1 && scrollLeft + clientWidth >= scrollWidth - this.OVERFLOW_BUTTON_OFFSET;\n\n if (leftEdgeReached || rightEdgeReached) {\n clearInterval(this.overflowNavInterval);\n } // account for overflow button appearing and causing tablist width change\n\n\n this.handleOverflowNavClick(direction);\n });\n }\n\n handleOverflowNavMouseUp() {\n clearInterval(this.overflowNavInterval);\n }\n /**\n * Determines which `Tab` is initially selected.\n */\n\n\n setFirstTab() {\n setTimeout(() => {\n let firstTab = this.tabs.find(tab => tab.active);\n\n if (!firstTab && this.tabs.first) {\n firstTab = this.tabs.first;\n firstTab.active = true;\n }\n\n if (firstTab) {\n firstTab.doSelect();\n }\n });\n }\n\n }\n\n TabHeaders.ɵfac = function TabHeaders_Factory(t) {\n return new (t || TabHeaders)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ChangeDetectorRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc3.I18n));\n };\n\n TabHeaders.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: TabHeaders,\n selectors: [[\"ibm-tab-headers\"]],\n contentQueries: function TabHeaders_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n ɵngcc0.ɵɵcontentQuery(dirIndex, Tab, 4);\n }\n\n if (rf & 2) {\n let _t;\n\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.tabQuery = _t);\n }\n },\n viewQuery: function TabHeaders_Query(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵviewQuery(_c9, 7);\n ɵngcc0.ɵɵviewQuery(_c4, 7);\n ɵngcc0.ɵɵviewQuery(_c5, 7);\n ɵngcc0.ɵɵviewQuery(_c6, 7);\n ɵngcc0.ɵɵviewQuery(_c2, 5);\n }\n\n if (rf & 2) {\n let _t;\n\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.tabsScrollable = _t.first);\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.headerContainer = _t.first);\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.rightOverflowNavButton = _t.first);\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.leftOverflowNavButton = _t.first);\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.allTabHeaders = _t);\n }\n },\n hostBindings: function TabHeaders_HostBindings(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵlistener(\"keydown\", function TabHeaders_keydown_HostBindingHandler($event) {\n return ctx.keyboardInput($event);\n });\n }\n },\n inputs: {\n cacheActive: \"cacheActive\",\n skeleton: \"skeleton\",\n type: \"type\",\n translations: \"translations\",\n tabInput: [\"tabs\", \"tabInput\"],\n followFocus: \"followFocus\",\n ariaLabel: \"ariaLabel\",\n ariaLabelledby: \"ariaLabelledby\",\n contentBefore: \"contentBefore\",\n contentAfter: \"contentAfter\"\n },\n features: [ɵngcc0.ɵɵNgOnChangesFeature],\n decls: 19,\n vars: 21,\n consts: [[\"role\", \"navigation\", 1, \"bx--tabs--scrollable\", 3, \"ngClass\"], [\"tabsScrollable\", \"\"], [\"type\", \"button\", 3, \"title\", \"ngClass\", \"click\", \"mousedown\", \"mouseup\"], [\"leftOverflowNavButton\", \"\"], [\"focusable\", \"false\", \"preserveAspectRatio\", \"xMidYMid meet\", \"xmlns\", \"http://www.w3.org/2000/svg\", \"fill\", \"currentColor\", \"width\", \"16\", \"height\", \"16\", \"viewBox\", \"0 0 16 16\", \"aria-hidden\", \"true\"], [\"d\", \"M5 8L10 3 10.7 3.7 6.4 8 10.7 12.3 10 13z\"], [\"class\", \"bx--tabs__overflow-indicator--left\", 4, \"ngIf\"], [\"role\", \"tablist\", 1, \"bx--tabs--scrollable__nav\", 3, \"scroll\"], [\"tabList\", \"\"], [\"role\", \"presentation\"], [3, \"ngTemplateOutlet\", 4, \"ngIf\"], [\"class\", \"bx--tabs--scrollable__nav-item\", \"role\", \"presentation\", 3, \"ngClass\", \"click\", 4, \"ngFor\", \"ngForOf\"], [\"class\", \"bx--tabs__overflow-indicator--right\", 4, \"ngIf\"], [\"rightOverflowNavButton\", \"\"], [\"d\", \"M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z\"], [1, \"bx--tabs__overflow-indicator--left\"], [3, \"ngTemplateOutlet\"], [\"role\", \"presentation\", 1, \"bx--tabs--scrollable__nav-item\", 3, \"ngClass\", \"click\"], [\"type\", \"button\", \"draggable\", \"false\", \"href\", \"#\", \"role\", \"tab\", 1, \"bx--tabs--scrollable__nav-link\", 3, \"id\", \"title\", \"focus\", \"click\"], [\"tabItem\", \"\"], [4, \"ngIf\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [1, \"bx--tabs__overflow-indicator--right\"]],\n template: function TabHeaders_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"nav\", 0, 1)(2, \"button\", 2, 3);\n ɵngcc0.ɵɵlistener(\"click\", function TabHeaders_Template_button_click_2_listener() {\n return ctx.handleOverflowNavClick(-1);\n })(\"mousedown\", function TabHeaders_Template_button_mousedown_2_listener() {\n return ctx.handleOverflowNavMouseDown(-1);\n })(\"mouseup\", function TabHeaders_Template_button_mouseup_2_listener() {\n return ctx.handleOverflowNavMouseUp();\n });\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelementStart(4, \"svg\", 4);\n ɵngcc0.ɵɵelement(5, \"path\", 5);\n ɵngcc0.ɵɵelementEnd()();\n ɵngcc0.ɵɵtemplate(6, TabHeaders_div_6_Template, 1, 0, \"div\", 6);\n ɵngcc0.ɵɵnamespaceHTML();\n ɵngcc0.ɵɵelementStart(7, \"ul\", 7, 8);\n ɵngcc0.ɵɵlistener(\"scroll\", function TabHeaders_Template_ul_scroll_7_listener() {\n return ctx.handleScroll();\n });\n ɵngcc0.ɵɵelementStart(9, \"li\", 9);\n ɵngcc0.ɵɵtemplate(10, TabHeaders_ng_container_10_Template, 1, 1, \"ng-container\", 10);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵtemplate(11, TabHeaders_li_11_Template, 5, 12, \"li\", 11);\n ɵngcc0.ɵɵelementStart(12, \"li\", 9);\n ɵngcc0.ɵɵtemplate(13, TabHeaders_ng_container_13_Template, 1, 1, \"ng-container\", 10);\n ɵngcc0.ɵɵelementEnd()();\n ɵngcc0.ɵɵtemplate(14, TabHeaders_div_14_Template, 1, 0, \"div\", 12);\n ɵngcc0.ɵɵelementStart(15, \"button\", 2, 13);\n ɵngcc0.ɵɵlistener(\"click\", function TabHeaders_Template_button_click_15_listener() {\n return ctx.handleOverflowNavClick(1);\n })(\"mousedown\", function TabHeaders_Template_button_mousedown_15_listener() {\n return ctx.handleOverflowNavMouseDown(1);\n })(\"mouseup\", function TabHeaders_Template_button_mouseup_15_listener() {\n return ctx.handleOverflowNavMouseUp();\n });\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelementStart(17, \"svg\", 4);\n ɵngcc0.ɵɵelement(18, \"path\", 14);\n ɵngcc0.ɵɵelementEnd()()();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(12, _c7, ctx.skeleton, ctx.type === \"container\"));\n ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-labelledby\", ctx.ariaLabelledby);\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵproperty(\"title\", ctx.translations.PREVIOUS)(\"ngClass\", ɵngcc0.ɵɵpureFunction2(15, _c8, ctx.hasHorizontalOverflow, ctx.leftOverflowNavButtonHidden));\n ɵngcc0.ɵɵadvance(4);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.leftOverflowNavButtonHidden);\n ɵngcc0.ɵɵadvance(4);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.contentBefore);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngForOf\", ctx.tabs);\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.contentAfter);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.rightOverflowNavButtonHidden);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"title\", ctx.translations.NEXT)(\"ngClass\", ɵngcc0.ɵɵpureFunction2(18, _c8, ctx.hasHorizontalOverflow, ctx.rightOverflowNavButtonHidden));\n }\n },\n dependencies: [ɵngcc1.NgClass, ɵngcc1.NgForOf, ɵngcc1.NgIf, ɵngcc1.NgTemplateOutlet],\n encapsulation: 2\n });\n /** @nocollapse */\n\n return TabHeaders;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Build out your application's tabs using this component.\n * This is the parent of the `Tab` and `TabHeader` components.\n *\n * [See demo](../../?path=/story/components-tabs--basic)\n *\n * `Tabs` expects a set of `n-tab` elements\n *\n * ```html\n * \n * \t\n * \t\ttab 1 content\n * \t\n * \t\n * \t\ttab 2 content\n * \t\n * \t\n * \t\n * \t\ttab n content\n * \t\n * \n * ```\n *\n * ../../iframe.html?id=components-tabs--basic\n */\n\n\nlet Tabs = /*#__PURE__*/(() => {\n class Tabs {\n constructor() {\n /**\n * Takes either the string value 'top' or 'bottom' to place TabHeader\n * relative to the `TabPanel`s.\n */\n this.position = \"top\";\n /**\n * Set to 'true' to have `Tab` items cached and not reloaded on tab switching.\n */\n\n this.cacheActive = false;\n /**\n * Set to 'true' to have tabs automatically activated and have their content displayed when they receive focus.\n */\n\n this.followFocus = true;\n /**\n * Set to `true` to put tabs in a loading state.\n */\n\n this.skeleton = false;\n /**\n * Set to `true` to have the tabIndex of the all tabpanels be -1.\n */\n\n this.isNavigation = false;\n /**\n * Sets the type of the `TabHeader`s\n */\n\n this.type = \"default\";\n }\n /**\n * After content is initialized update `Tab`s to cache (if turned on) and set the initial\n * selected Tab item.\n */\n\n\n ngAfterContentInit() {\n if (this.tabHeaders) {\n this.tabHeaders.cacheActive = this.cacheActive;\n }\n\n this.tabs.forEach(tab => {\n tab.tabIndex = this.isNavigation ? null : 0;\n });\n }\n\n ngOnChanges(changes) {\n if (this.tabHeaders && changes.cacheActive) {\n this.tabHeaders.cacheActive = this.cacheActive;\n }\n\n if (this.tabs && changes.isNavigation) {\n this.tabs.forEach(tab => {\n tab.tabIndex = this.isNavigation ? null : 0;\n });\n }\n }\n /**\n * true if the n-tab's are passed directly to the component as children\n */\n\n\n hasTabHeaders() {\n return this.tabs.length > 0;\n }\n\n }\n\n Tabs.ɵfac = function Tabs_Factory(t) {\n return new (t || Tabs)();\n };\n\n Tabs.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: Tabs,\n selectors: [[\"ibm-tabs\"]],\n contentQueries: function Tabs_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n ɵngcc0.ɵɵcontentQuery(dirIndex, TabHeaders, 5);\n ɵngcc0.ɵɵcontentQuery(dirIndex, Tab, 4);\n }\n\n if (rf & 2) {\n let _t;\n\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.tabHeaders = _t.first);\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.tabs = _t);\n }\n },\n inputs: {\n position: \"position\",\n cacheActive: \"cacheActive\",\n followFocus: \"followFocus\",\n skeleton: \"skeleton\",\n isNavigation: \"isNavigation\",\n type: \"type\",\n ariaLabel: \"ariaLabel\",\n ariaLabelledby: \"ariaLabelledby\"\n },\n features: [ɵngcc0.ɵɵNgOnChangesFeature],\n ngContentSelectors: _c12,\n decls: 7,\n vars: 2,\n consts: [[3, \"skeleton\", \"tabs\", \"followFocus\", \"cacheActive\", \"contentBefore\", \"contentAfter\", \"ariaLabel\", \"ariaLabelledby\", \"type\", 4, \"ngIf\"], [\"before\", \"\"], [\"after\", \"\"], [3, \"skeleton\", \"tabs\", \"cacheActive\", \"type\", 4, \"ngIf\"], [3, \"skeleton\", \"tabs\", \"followFocus\", \"cacheActive\", \"contentBefore\", \"contentAfter\", \"ariaLabel\", \"ariaLabelledby\", \"type\"], [3, \"skeleton\", \"tabs\", \"cacheActive\", \"type\"]],\n template: function Tabs_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef(_c11);\n ɵngcc0.ɵɵtemplate(0, Tabs_ibm_tab_headers_0_Template, 1, 9, \"ibm-tab-headers\", 0);\n ɵngcc0.ɵɵprojection(1);\n ɵngcc0.ɵɵtemplate(2, Tabs_ng_template_2_Template, 1, 0, \"ng-template\", null, 1, ɵngcc0.ɵɵtemplateRefExtractor);\n ɵngcc0.ɵɵtemplate(4, Tabs_ng_template_4_Template, 1, 0, \"ng-template\", null, 2, ɵngcc0.ɵɵtemplateRefExtractor);\n ɵngcc0.ɵɵtemplate(6, Tabs_ibm_tab_headers_6_Template, 1, 4, \"ibm-tab-headers\", 3);\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.hasTabHeaders() && ctx.position === \"top\");\n ɵngcc0.ɵɵadvance(6);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.hasTabHeaders() && ctx.position === \"bottom\");\n }\n },\n dependencies: [ɵngcc1.NgIf, TabHeaders],\n encapsulation: 2\n });\n return Tabs;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet TabsModule = /*#__PURE__*/(() => {\n class TabsModule {}\n\n TabsModule.ɵfac = function TabsModule_Factory(t) {\n return new (t || TabsModule)();\n };\n\n TabsModule.ɵmod = /*@__PURE__*/ɵngcc0.ɵɵdefineNgModule({\n type: TabsModule\n });\n TabsModule.ɵinj = /*@__PURE__*/ɵngcc0.ɵɵdefineInjector({\n imports: [CommonModule, UtilsModule, I18nModule]\n });\n return TabsModule;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(TabsModule, {\n declarations: function () {\n return [Tabs, Tab, TabHeaders, TabHeader, TabHeaderGroup];\n },\n imports: function () {\n return [CommonModule, UtilsModule, I18nModule];\n },\n exports: function () {\n return [Tabs, Tab, TabHeaders, TabHeader, TabHeaderGroup];\n }\n });\n})();\n/**\n * Generated bundle index. Do not edit.\n */\n\n\nexport { TabHeaderGroup, TabHeader, TabHeaders, Tab, Tabs, TabsModule }; //# sourceMappingURL=carbon-components-angular-tabs.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0d298b978169d72b89d75ecbc707281b.json b/.angular/cache/14.2.11/babel-webpack/0d298b978169d72b89d75ecbc707281b.json new file mode 100644 index 0000000000..21ccfcf511 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0d298b978169d72b89d75ecbc707281b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { defer } from './defer';\nexport function iif(condition, trueResult, falseResult) {\n return defer(() => condition() ? trueResult : falseResult);\n} //# sourceMappingURL=iif.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0d4e482a44e1f21b05c943b6a358061c.json b/.angular/cache/14.2.11/babel-webpack/0d4e482a44e1f21b05c943b6a358061c.json new file mode 100644 index 0000000000..f1c2f4249e --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0d4e482a44e1f21b05c943b6a358061c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { TableModel, TableItem, TableHeaderItem } from 'carbon-components-angular';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"carbon-components-angular\";\nexport let RepoTableComponent = /*#__PURE__*/(() => {\n class RepoTableComponent {\n constructor() {\n this.model = new TableModel();\n }\n\n ngOnInit() {\n this.model.data = [[new TableItem({\n data: 'Repo 1',\n expandedData: 'Row description'\n }), new TableItem({\n data: 'Date'\n }), new TableItem({\n data: 'Date'\n }), new TableItem({\n data: '123'\n }), new TableItem({\n data: '456'\n }), new TableItem({\n data: 'Links'\n })], [new TableItem({\n data: 'Repo 2',\n expandedData: 'Row description'\n }), new TableItem({\n data: 'Date'\n }), new TableItem({\n data: 'Date'\n }), new TableItem({\n data: '123'\n }), new TableItem({\n data: '456'\n }), new TableItem({\n data: 'Links'\n })], [new TableItem({\n data: 'Repo 3',\n expandedData: 'Row description'\n }), new TableItem({\n data: 'Date'\n }), new TableItem({\n data: 'Date'\n }), new TableItem({\n data: '123'\n }), new TableItem({\n data: '456'\n }), new TableItem({\n data: 'Links'\n })]];\n this.model.header = [new TableHeaderItem({\n data: 'Name'\n }), new TableHeaderItem({\n data: 'Created'\n }), new TableHeaderItem({\n data: 'Updated'\n }), new TableHeaderItem({\n data: 'Open Issues'\n }), new TableHeaderItem({\n data: 'Stars'\n }), new TableHeaderItem({\n data: 'Links'\n })];\n }\n\n }\n\n RepoTableComponent.ɵfac = function RepoTableComponent_Factory(t) {\n return new (t || RepoTableComponent)();\n };\n\n RepoTableComponent.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: RepoTableComponent,\n selectors: [[\"app-repo-table\"]],\n decls: 7,\n vars: 3,\n consts: [[\"ibmTableHeaderTitle\", \"\"], [\"ibmTableHeaderDescription\", \"\"], [3, \"model\", \"showSelectionColumn\", \"striped\"]],\n template: function RepoTableComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"ibm-table-container\")(1, \"ibm-table-header\")(2, \"h4\", 0);\n i0.ɵɵtext(3, \"Carbon Repositories\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(4, \"p\", 1);\n i0.ɵɵtext(5, \"A collection of public Carbon repositories.\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelement(6, \"ibm-table\", 2);\n i0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n i0.ɵɵadvance(6);\n i0.ɵɵproperty(\"model\", ctx.model)(\"showSelectionColumn\", false)(\"striped\", false);\n }\n },\n dependencies: [i1.TableContainer, i1.TableHeader, i1.TableHeaderTitle, i1.TableHeaderDescription, i1.Table]\n });\n return RepoTableComponent;\n})();","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0dd56f66c29643ba221e710509e77d93.json b/.angular/cache/14.2.11/babel-webpack/0dd56f66c29643ba221e710509e77d93.json new file mode 100644 index 0000000000..877f6978f1 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0dd56f66c29643ba221e710509e77d93.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { BehaviorSubject } from '../BehaviorSubject';\nimport { ConnectableObservable } from '../observable/ConnectableObservable';\nexport function publishBehavior(initialValue) {\n return source => {\n const subject = new BehaviorSubject(initialValue);\n return new ConnectableObservable(source, () => subject);\n };\n} //# sourceMappingURL=publishBehavior.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0dd65eab655258ff047daeb6bb8cd585.json b/.angular/cache/14.2.11/babel-webpack/0dd65eab655258ff047daeb6bb8cd585.json new file mode 100644 index 0000000000..8782d007d6 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0dd65eab655258ff047daeb6bb8cd585.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { zip } from '../observable/zip';\nimport { joinAllInternals } from './joinAllInternals';\nexport function zipAll(project) {\n return joinAllInternals(zip, project);\n} //# sourceMappingURL=zipAll.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0f6918d2738f0bc12ec57f819a3cf181.json b/.angular/cache/14.2.11/babel-webpack/0f6918d2738f0bc12ec57f819a3cf181.json new file mode 100644 index 0000000000..cc25aff086 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0f6918d2738f0bc12ec57f819a3cf181.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GraphQLError } from '../../../error/GraphQLError.mjs';\nimport { getNamedType } from '../../../type/definition.mjs';\nimport { isIntrospectionType } from '../../../type/introspection.mjs';\n/**\n * Prohibit introspection queries\n *\n * A GraphQL document is only valid if all fields selected are not fields that\n * return an introspection type.\n *\n * Note: This rule is optional and is not part of the Validation section of the\n * GraphQL Specification. This rule effectively disables introspection, which\n * does not reflect best practices and should only be done if absolutely necessary.\n */\n\nexport function NoSchemaIntrospectionCustomRule(context) {\n return {\n Field(node) {\n const type = getNamedType(context.getType());\n\n if (type && isIntrospectionType(type)) {\n context.reportError(new GraphQLError(`GraphQL introspection has been disabled, but the requested query contained the field \"${node.name.value}\".`, {\n nodes: node\n }));\n }\n }\n\n };\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0f79ec1b48b65306d38869416ebdc371.json b/.angular/cache/14.2.11/babel-webpack/0f79ec1b48b65306d38869416ebdc371.json new file mode 100644 index 0000000000..438c91b383 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0f79ec1b48b65306d38869416ebdc371.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n * Returns true if the provided object implements the AsyncIterator protocol via\n * implementing a `Symbol.asyncIterator` method.\n */\nexport function isAsyncIterable(maybeAsyncIterable) {\n return typeof (maybeAsyncIterable === null || maybeAsyncIterable === void 0 ? void 0 : maybeAsyncIterable[Symbol.asyncIterator]) === 'function';\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0f7f6ebd2605f4761125ed221cf83ab5.json b/.angular/cache/14.2.11/babel-webpack/0f7f6ebd2605f4761125ed221cf83ab5.json new file mode 100644 index 0000000000..8f3e6c73ec --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0f7f6ebd2605f4761125ed221cf83ab5.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GraphQLError } from '../../error/GraphQLError.mjs';\n/**\n * Unique directive names\n *\n * A GraphQL document is only valid if all defined directives have unique names.\n */\n\nexport function UniqueDirectiveNamesRule(context) {\n const knownDirectiveNames = Object.create(null);\n const schema = context.getSchema();\n return {\n DirectiveDefinition(node) {\n const directiveName = node.name.value;\n\n if (schema !== null && schema !== void 0 && schema.getDirective(directiveName)) {\n context.reportError(new GraphQLError(`Directive \"@${directiveName}\" already exists in the schema. It cannot be redefined.`, {\n nodes: node.name\n }));\n return;\n }\n\n if (knownDirectiveNames[directiveName]) {\n context.reportError(new GraphQLError(`There can be only one directive named \"@${directiveName}\".`, {\n nodes: [knownDirectiveNames[directiveName], node.name]\n }));\n } else {\n knownDirectiveNames[directiveName] = node.name;\n }\n\n return false;\n }\n\n };\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/0ffe285db29ffc453eebb0c6a7c36c56.json b/.angular/cache/14.2.11/babel-webpack/0ffe285db29ffc453eebb0c6a7c36c56.json new file mode 100644 index 0000000000..72d456d935 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/0ffe285db29ffc453eebb0c6a7c36c56.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { invariant } from \"../../utilities/globals/index.js\";\nimport { argumentsObjectFromField, DeepMerger, isNonEmptyArray, isNonNullObject } from \"../../utilities/index.js\";\nimport { hasOwn, isArray } from \"./helpers.js\";\nvar specifierInfoCache = Object.create(null);\n\nfunction lookupSpecifierInfo(spec) {\n var cacheKey = JSON.stringify(spec);\n return specifierInfoCache[cacheKey] || (specifierInfoCache[cacheKey] = Object.create(null));\n}\n\nexport function keyFieldsFnFromSpecifier(specifier) {\n var info = lookupSpecifierInfo(specifier);\n return info.keyFieldsFn || (info.keyFieldsFn = function (object, context) {\n var extract = function (from, key) {\n return context.readField(key, from);\n };\n\n var keyObject = context.keyObject = collectSpecifierPaths(specifier, function (schemaKeyPath) {\n var extracted = extractKeyPath(context.storeObject, schemaKeyPath, extract);\n\n if (extracted === void 0 && object !== context.storeObject && hasOwn.call(object, schemaKeyPath[0])) {\n extracted = extractKeyPath(object, schemaKeyPath, extractKey);\n }\n\n __DEV__ ? invariant(extracted !== void 0, \"Missing field '\".concat(schemaKeyPath.join('.'), \"' while extracting keyFields from \").concat(JSON.stringify(object))) : invariant(extracted !== void 0, 2);\n return extracted;\n });\n return \"\".concat(context.typename, \":\").concat(JSON.stringify(keyObject));\n });\n}\nexport function keyArgsFnFromSpecifier(specifier) {\n var info = lookupSpecifierInfo(specifier);\n return info.keyArgsFn || (info.keyArgsFn = function (args, _a) {\n var field = _a.field,\n variables = _a.variables,\n fieldName = _a.fieldName;\n var collected = collectSpecifierPaths(specifier, function (keyPath) {\n var firstKey = keyPath[0];\n var firstChar = firstKey.charAt(0);\n\n if (firstChar === \"@\") {\n if (field && isNonEmptyArray(field.directives)) {\n var directiveName_1 = firstKey.slice(1);\n var d = field.directives.find(function (d) {\n return d.name.value === directiveName_1;\n });\n var directiveArgs = d && argumentsObjectFromField(d, variables);\n return directiveArgs && extractKeyPath(directiveArgs, keyPath.slice(1));\n }\n\n return;\n }\n\n if (firstChar === \"$\") {\n var variableName = firstKey.slice(1);\n\n if (variables && hasOwn.call(variables, variableName)) {\n var varKeyPath = keyPath.slice(0);\n varKeyPath[0] = variableName;\n return extractKeyPath(variables, varKeyPath);\n }\n\n return;\n }\n\n if (args) {\n return extractKeyPath(args, keyPath);\n }\n });\n var suffix = JSON.stringify(collected);\n\n if (args || suffix !== \"{}\") {\n fieldName += \":\" + suffix;\n }\n\n return fieldName;\n });\n}\nexport function collectSpecifierPaths(specifier, extractor) {\n var merger = new DeepMerger();\n return getSpecifierPaths(specifier).reduce(function (collected, path) {\n var _a;\n\n var toMerge = extractor(path);\n\n if (toMerge !== void 0) {\n for (var i = path.length - 1; i >= 0; --i) {\n toMerge = (_a = {}, _a[path[i]] = toMerge, _a);\n }\n\n collected = merger.merge(collected, toMerge);\n }\n\n return collected;\n }, Object.create(null));\n}\nexport function getSpecifierPaths(spec) {\n var info = lookupSpecifierInfo(spec);\n\n if (!info.paths) {\n var paths_1 = info.paths = [];\n var currentPath_1 = [];\n spec.forEach(function (s, i) {\n if (isArray(s)) {\n getSpecifierPaths(s).forEach(function (p) {\n return paths_1.push(currentPath_1.concat(p));\n });\n currentPath_1.length = 0;\n } else {\n currentPath_1.push(s);\n\n if (!isArray(spec[i + 1])) {\n paths_1.push(currentPath_1.slice(0));\n currentPath_1.length = 0;\n }\n }\n });\n }\n\n return info.paths;\n}\n\nfunction extractKey(object, key) {\n return object[key];\n}\n\nexport function extractKeyPath(object, path, extract) {\n extract = extract || extractKey;\n return normalize(path.reduce(function reducer(obj, key) {\n return isArray(obj) ? obj.map(function (child) {\n return reducer(child, key);\n }) : obj && extract(obj, key);\n }, object));\n}\n\nfunction normalize(value) {\n if (isNonNullObject(value)) {\n if (isArray(value)) {\n return value.map(normalize);\n }\n\n return collectSpecifierPaths(Object.keys(value).sort(), function (path) {\n return extractKeyPath(value, path);\n });\n }\n\n return value;\n} //# sourceMappingURL=key-extractor.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1025f75c54d6c70f569bf06308d6a23f.json b/.angular/cache/14.2.11/babel-webpack/1025f75c54d6c70f569bf06308d6a23f.json new file mode 100644 index 0000000000..8d720c525e --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1025f75c54d6c70f569bf06308d6a23f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { identity } from '../util/identity';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function distinctUntilChanged(comparator, keySelector = identity) {\n comparator = comparator !== null && comparator !== void 0 ? comparator : defaultCompare;\n return operate((source, subscriber) => {\n let previousKey;\n let first = true;\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n const currentKey = keySelector(value);\n\n if (first || !comparator(previousKey, currentKey)) {\n first = false;\n previousKey = currentKey;\n subscriber.next(value);\n }\n }));\n });\n}\n\nfunction defaultCompare(a, b) {\n return a === b;\n} //# sourceMappingURL=distinctUntilChanged.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1117f5b04d6078d94f2de1d114932113.json b/.angular/cache/14.2.11/babel-webpack/1117f5b04d6078d94f2de1d114932113.json new file mode 100644 index 0000000000..904860a8fb --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1117f5b04d6078d94f2de1d114932113.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-tiles.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Router } from '@angular/router';\nimport { merge } from 'carbon-components-angular/utils';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { Component, Input, Output, EventEmitter, Optional, ElementRef, ViewChild, HostListener, HostBinding, ContentChildren, TemplateRef, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport { LinkModule } from 'carbon-components-angular/link';\n/**\n * Build application's clickable tiles using this component.\n *\n * ## Basic usage\n *\n * ```html\n * \n * \t\ttile content\n * \n * ```\n */\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/router';\nimport * as ɵngcc2 from '@angular/common';\nimport * as ɵngcc3 from 'carbon-components-angular/link';\nimport * as ɵngcc4 from 'carbon-components-angular/i18n';\n\nconst _c0 = function (a0, a1) {\n return {\n \"bx--tile--light\": a0,\n \"bx--tile--disabled bx--link--disabled\": a1\n };\n};\n\nconst _c1 = [\"*\"];\n\nfunction ExpandableTile__svg_svg_2_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelementStart(0, \"svg\", 4);\n ɵngcc0.ɵɵpipe(1, \"async\");\n ɵngcc0.ɵɵelementStart(2, \"title\");\n ɵngcc0.ɵɵtext(3);\n ɵngcc0.ɵɵpipe(4, \"async\");\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵelement(5, \"path\", 5);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r0 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵattribute(\"title\", ɵngcc0.ɵɵpipeBind1(1, 2, ctx_r0.expand.subject));\n ɵngcc0.ɵɵadvance(3);\n ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(4, 4, ctx_r0.expand.subject));\n }\n}\n\nfunction ExpandableTile__svg_svg_3_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelementStart(0, \"svg\", 4);\n ɵngcc0.ɵɵpipe(1, \"async\");\n ɵngcc0.ɵɵelementStart(2, \"title\");\n ɵngcc0.ɵɵtext(3);\n ɵngcc0.ɵɵpipe(4, \"async\");\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵelement(5, \"path\", 5);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r1 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵattribute(\"title\", ɵngcc0.ɵɵpipeBind1(1, 2, ctx_r1.collapse.subject));\n ɵngcc0.ɵɵadvance(3);\n ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(4, 4, ctx_r1.collapse.subject));\n }\n}\n\nconst _c2 = [[[\"\", 8, \"bx--tile-content__above-the-fold\"]], [[\"\", 8, \"bx--tile-content__below-the-fold\"]]];\n\nconst _c3 = function (a0, a1) {\n return {\n \"bx--tile--is-expanded\": a0,\n \"bx--tile--light\": a1\n };\n};\n\nconst _c4 = function (a0) {\n return {\n \"max-height\": a0\n };\n};\n\nconst _c5 = [\".bx--tile-content__above-the-fold\", \".bx--tile-content__below-the-fold\"];\nconst _c6 = [\"input\"];\n\nconst _c7 = function (a0, a1, a2) {\n return {\n \"bx--tile--is-selected\": a0,\n \"bx--tile--light\": a1,\n \"bx--tile--disabled\": a2\n };\n};\n\nfunction TileGroup_legend_1_1_ng_template_0_Template(rf, ctx) {}\n\nfunction TileGroup_legend_1_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵtemplate(0, TileGroup_legend_1_1_ng_template_0_Template, 0, 0, \"ng-template\", 4);\n }\n\n if (rf & 2) {\n const ctx_r1 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r1.legend);\n }\n}\n\nfunction TileGroup_legend_1_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵtext(0);\n }\n\n if (rf & 2) {\n const ctx_r3 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵtextInterpolate(ctx_r3.legend);\n }\n}\n\nfunction TileGroup_legend_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"legend\", 1);\n ɵngcc0.ɵɵtemplate(1, TileGroup_legend_1_1_Template, 1, 1, null, 2);\n ɵngcc0.ɵɵtemplate(2, TileGroup_legend_1_ng_template_2_Template, 1, 1, \"ng-template\", null, 3, ɵngcc0.ɵɵtemplateRefExtractor);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const _r2 = ɵngcc0.ɵɵreference(3);\n\n const ctx_r0 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r0.isTemplate(ctx_r0.legend))(\"ngIfElse\", _r2);\n }\n}\n\nconst _c8 = [[[\"ibm-selection-tile\"]]];\nconst _c9 = [\"ibm-selection-tile\"];\nlet ClickableTile = /*#__PURE__*/(() => {\n class ClickableTile {\n constructor(router) {\n this.router = router;\n this.theme = \"dark\";\n /**\n * Sets the `href` attribute on the `ibm-clickable-tile` element.\n */\n\n this.href = \"#\";\n /**\n * Set to `true` to disable the clickable tile.\n */\n\n this.disabled = false;\n /**\n * Emits the navigation status promise when the link is activated\n */\n\n this.navigation = new EventEmitter();\n }\n\n navigate(event) {\n if (this.router && this.route && !this.disabled) {\n event.preventDefault();\n const status = this.router.navigate(this.route, this.routeExtras);\n this.navigation.emit(status);\n }\n }\n\n }\n\n ClickableTile.ɵfac = function ClickableTile_Factory(t) {\n return new (t || ClickableTile)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.Router, 8));\n };\n\n ClickableTile.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: ClickableTile,\n selectors: [[\"ibm-clickable-tile\"]],\n inputs: {\n theme: \"theme\",\n href: \"href\",\n disabled: \"disabled\",\n target: \"target\",\n route: \"route\",\n routeExtras: \"routeExtras\"\n },\n outputs: {\n navigation: \"navigation\"\n },\n ngContentSelectors: _c1,\n decls: 2,\n vars: 7,\n consts: [[\"ibmLink\", \"\", \"tabindex\", \"0\", 1, \"bx--tile\", \"bx--tile--clickable\", 3, \"ngClass\", \"click\"]],\n template: function ClickableTile_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef();\n ɵngcc0.ɵɵelementStart(0, \"a\", 0);\n ɵngcc0.ɵɵlistener(\"click\", function ClickableTile_Template_a_click_0_listener($event) {\n return ctx.navigate($event);\n });\n ɵngcc0.ɵɵprojection(1);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(4, _c0, ctx.theme === \"light\", ctx.disabled));\n ɵngcc0.ɵɵattribute(\"href\", ctx.disabled ? null : ctx.href, ɵngcc0.ɵɵsanitizeUrl)(\"target\", ctx.target)(\"aria-disabled\", ctx.disabled);\n }\n },\n dependencies: [ɵngcc2.NgClass, ɵngcc3.Link],\n encapsulation: 2\n });\n /** @nocollapse */\n\n return ClickableTile;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet ExpandableTile = /*#__PURE__*/(() => {\n class ExpandableTile {\n constructor(i18n, elementRef) {\n this.i18n = i18n;\n this.elementRef = elementRef;\n this.theme = \"dark\";\n this.expanded = false;\n this.tileMaxHeight = 0;\n this.currentExpandedHeight = 0;\n this.element = this.elementRef.nativeElement;\n this.expand = this.i18n.getOverridable(\"TILES.EXPAND\");\n this.collapse = this.i18n.getOverridable(\"TILES.COLLAPSE\");\n }\n /**\n * Expects an object that contains some or all of:\n * ```\n * {\n *\t\t\"EXPAND\": \"Expand\",\n *\t\t\"COLLAPSE\": \"Collapse\",\n * }\n * ```\n */\n\n\n set translations(value) {\n const valueWithDefaults = merge(this.i18n.getMultiple(\"TILES\"), value);\n this.expand.override(valueWithDefaults.EXPAND);\n this.collapse.override(valueWithDefaults.COLLAPSE);\n }\n\n ngAfterContentInit() {\n this.updateMaxHeight();\n }\n\n get expandedHeight() {\n const tile = this.element.querySelector(\".bx--tile\");\n const tilePadding = parseInt(getComputedStyle(tile).paddingBottom, 10) + parseInt(getComputedStyle(tile).paddingTop, 10);\n const expandedHeight = this.tileMaxHeight + tilePadding;\n\n if (!isNaN(expandedHeight)) {\n this.currentExpandedHeight = expandedHeight;\n }\n\n return this.currentExpandedHeight;\n }\n\n updateMaxHeight() {\n if (this.expanded) {\n this.tileMaxHeight = this.element.querySelector(\".bx--tile-content\").getBoundingClientRect().height;\n } else {\n this.tileMaxHeight = this.element.querySelector(\".bx--tile-content__above-the-fold\").getBoundingClientRect().height;\n }\n }\n\n onClick() {\n this.expanded = !this.expanded;\n this.updateMaxHeight();\n }\n\n }\n\n ExpandableTile.ɵfac = function ExpandableTile_Factory(t) {\n return new (t || ExpandableTile)(ɵngcc0.ɵɵdirectiveInject(ɵngcc4.I18n), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef));\n };\n\n ExpandableTile.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: ExpandableTile,\n selectors: [[\"ibm-expandable-tile\"]],\n inputs: {\n theme: \"theme\",\n expanded: \"expanded\",\n translations: \"translations\"\n },\n ngContentSelectors: _c5,\n decls: 7,\n vars: 9,\n consts: [[\"type\", \"button\", 1, \"bx--tile\", \"bx--tile--expandable\", 3, \"ngClass\", \"ngStyle\", \"click\"], [1, \"bx--tile__chevron\"], [\"width\", \"12\", \"height\", \"7\", \"viewBox\", \"0 0 12 7\", \"role\", \"img\", 4, \"ngIf\"], [1, \"bx--tile-content\"], [\"width\", \"12\", \"height\", \"7\", \"viewBox\", \"0 0 12 7\", \"role\", \"img\"], [\"fill-rule\", \"nonzero\", \"d\", \"M6.002 5.55L11.27 0l.726.685L6.003 7 0 .685.726 0z\"]],\n template: function ExpandableTile_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef(_c2);\n ɵngcc0.ɵɵelementStart(0, \"button\", 0);\n ɵngcc0.ɵɵlistener(\"click\", function ExpandableTile_Template_button_click_0_listener() {\n return ctx.onClick();\n });\n ɵngcc0.ɵɵelementStart(1, \"div\", 1);\n ɵngcc0.ɵɵtemplate(2, ExpandableTile__svg_svg_2_Template, 6, 6, \"svg\", 2);\n ɵngcc0.ɵɵtemplate(3, ExpandableTile__svg_svg_3_Template, 6, 6, \"svg\", 2);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵelementStart(4, \"div\", 3);\n ɵngcc0.ɵɵprojection(5);\n ɵngcc0.ɵɵprojection(6, 1);\n ɵngcc0.ɵɵelementEnd()();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(4, _c3, ctx.expanded, ctx.theme === \"light\"))(\"ngStyle\", ɵngcc0.ɵɵpureFunction1(7, _c4, ctx.expandedHeight + \"px\"));\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.expanded);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.expanded);\n }\n },\n dependencies: [ɵngcc2.NgClass, ɵngcc2.NgIf, ɵngcc2.NgStyle, ɵngcc2.AsyncPipe],\n encapsulation: 2\n });\n /** @nocollapse */\n\n return ExpandableTile;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet SelectionTile = /*#__PURE__*/(() => {\n class SelectionTile {\n constructor(i18n) {\n this.i18n = i18n;\n this.theme = \"dark\";\n /**\n * The unique id for the input.\n */\n\n this.id = `tile-${SelectionTile.tileCount}`;\n /**\n * Internal event used to notify the containing `TileGroup` of changes.\n */\n\n this.change = new EventEmitter();\n /**\n * Set to `true` to disable the selection tile.\n */\n\n this.disabled = false;\n /**\n * Set by the containing `TileGroup`. Used for the `name` property on the input.\n */\n\n this.name = \"tile-group-unbound\";\n /**\n * Defines whether or not the `SelectionTile` supports selecting multiple tiles as opposed to single\n * tile selection.\n */\n\n this.multiple = true; // Set to true because of the way tile group sets it up.\n // If an initial selected value is set before input exists, we save\n // the value and check again when input exists in `AfterViewInit`.\n\n this._selected = null;\n SelectionTile.tileCount++;\n }\n /**\n * Updating the state of the input to match the state of the parameter passed in.\n * Set to `true` if this tile should be selected.\n */\n\n\n set selected(value) {\n // If an initial selected value is set before input exists, we save\n // the value and check again when input exists in `AfterViewInit`.\n this._selected = value ? true : null;\n\n if (this.input) {\n this.input.nativeElement.checked = this._selected;\n }\n }\n\n get selected() {\n return this.input ? this.input.nativeElement.checked : false;\n }\n\n ngAfterViewInit() {\n if (this.input) {\n setTimeout(() => {\n this.input.nativeElement.checked = this._selected;\n });\n }\n }\n\n keyboardInput(event) {\n if (event.key === \"Enter\" || event.key === \"Spacebar\" || event.key === \" \") {\n this.selected = !this.selected;\n this.change.emit(event);\n }\n }\n\n onChange(event) {\n this.change.emit(event);\n }\n\n }\n\n SelectionTile.ɵfac = function SelectionTile_Factory(t) {\n return new (t || SelectionTile)(ɵngcc0.ɵɵdirectiveInject(ɵngcc4.I18n));\n };\n\n SelectionTile.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: SelectionTile,\n selectors: [[\"ibm-selection-tile\"]],\n viewQuery: function SelectionTile_Query(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵviewQuery(_c6, 7);\n }\n\n if (rf & 2) {\n let _t;\n\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.input = _t.first);\n }\n },\n hostBindings: function SelectionTile_HostBindings(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵlistener(\"keydown\", function SelectionTile_keydown_HostBindingHandler($event) {\n return ctx.keyboardInput($event);\n });\n }\n },\n inputs: {\n theme: \"theme\",\n id: \"id\",\n disabled: \"disabled\",\n selected: \"selected\",\n value: \"value\"\n },\n outputs: {\n change: \"change\"\n },\n ngContentSelectors: _c1,\n decls: 9,\n vars: 15,\n consts: [[1, \"bx--tile-input\", 3, \"tabindex\", \"id\", \"disabled\", \"type\", \"value\", \"name\", \"change\"], [\"input\", \"\"], [1, \"bx--tile\", \"bx--tile--selectable\", 3, \"for\", \"ngClass\"], [1, \"bx--tile__checkmark\"], [\"width\", \"16\", \"height\", \"16\", \"viewBox\", \"0 0 16 16\"], [\"d\", \"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm3.646-10.854L6.75 10.043 4.354 7.646l-.708.708 3.104 3.103 5.604-5.603-.708-.708z\", \"fill-rule\", \"evenodd\"], [1, \"bx--tile-content\"]],\n template: function SelectionTile_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef();\n ɵngcc0.ɵɵelementStart(0, \"input\", 0, 1);\n ɵngcc0.ɵɵlistener(\"change\", function SelectionTile_Template_input_change_0_listener($event) {\n return ctx.onChange($event);\n });\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵelementStart(2, \"label\", 2);\n ɵngcc0.ɵɵpipe(3, \"async\");\n ɵngcc0.ɵɵelementStart(4, \"div\", 3);\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelementStart(5, \"svg\", 4);\n ɵngcc0.ɵɵelement(6, \"path\", 5);\n ɵngcc0.ɵɵelementEnd()();\n ɵngcc0.ɵɵnamespaceHTML();\n ɵngcc0.ɵɵelementStart(7, \"div\", 6);\n ɵngcc0.ɵɵprojection(8);\n ɵngcc0.ɵɵelementEnd()();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"tabindex\", ctx.disabled ? null : 0)(\"id\", ctx.id)(\"disabled\", ctx.disabled)(\"type\", ctx.multiple ? \"checkbox\" : \"radio\")(\"value\", ctx.value)(\"name\", ctx.name);\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵproperty(\"for\", ctx.id)(\"ngClass\", ɵngcc0.ɵɵpureFunction3(11, _c7, ctx.selected, ctx.theme === \"light\", ctx.disabled));\n ɵngcc0.ɵɵattribute(\"aria-label\", ɵngcc0.ɵɵpipeBind1(3, 9, ctx.i18n.get(\"TILES.TILE\")));\n }\n },\n dependencies: [ɵngcc2.NgClass, ɵngcc2.AsyncPipe],\n encapsulation: 2\n });\n SelectionTile.tileCount = 0;\n /** @nocollapse */\n\n return SelectionTile;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet TileGroup = /*#__PURE__*/(() => {\n class TileGroup {\n constructor() {\n /**\n * The tile group `name`\n */\n this.name = `tile-group-${TileGroup.tileGroupCount}`;\n /**\n * Set to `true` to support multiple tile selection\n */\n\n this.multiple = false;\n /**\n * Emits an event when the tile selection changes.\n *\n * Emits an object that looks like:\n * ```javascript\n * {\n * \tvalue: \"something\",\n * \tselected: true,\n * \tname: \"tile-group-1\"\n * }\n * ```\n */\n\n this.selected = new EventEmitter();\n this.tileGroupClass = true;\n this.unsubscribe$ = new Subject();\n this.unsubscribeTiles$ = new Subject();\n\n this.onChange = _ => {};\n\n this.onTouched = () => {};\n\n TileGroup.tileGroupCount++;\n }\n\n ngAfterContentInit() {\n const updateTiles = () => {\n // remove old subscriptions\n this.unsubscribeTiles$.next(); // react to changes\n // setTimeout to avoid ExpressionChangedAfterItHasBeenCheckedError\n\n setTimeout(() => {\n this.selectionTiles.forEach(tile => {\n tile.name = this.name;\n tile.change.pipe(takeUntil(this.unsubscribeTiles$)).subscribe(() => {\n this.selected.emit({\n value: tile.value,\n selected: tile.selected,\n name: this.name\n });\n this.onChange(tile.value);\n });\n tile.multiple = this.multiple;\n });\n });\n };\n\n updateTiles();\n this.selectionTiles.changes.pipe(takeUntil(this.unsubscribe$)).subscribe(_ => updateTiles());\n }\n\n ngOnDestroy() {\n this.unsubscribe$.next();\n this.unsubscribe$.complete(); // takes care of tile subscriptions when tile-group dies\n\n this.unsubscribeTiles$.next();\n this.unsubscribeTiles$.complete();\n }\n\n writeValue(value) {\n if (!this.selectionTiles) {\n return;\n }\n\n this.selectionTiles.forEach(tile => {\n if (tile.value === value) {\n tile.selected = true;\n } else {\n tile.selected = false;\n }\n });\n }\n\n registerOnChange(fn) {\n this.onChange = fn;\n }\n\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n\n isTemplate(value) {\n return value instanceof TemplateRef;\n }\n\n }\n\n TileGroup.ɵfac = function TileGroup_Factory(t) {\n return new (t || TileGroup)();\n };\n\n TileGroup.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: TileGroup,\n selectors: [[\"ibm-tile-group\"]],\n contentQueries: function TileGroup_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n ɵngcc0.ɵɵcontentQuery(dirIndex, SelectionTile, 4);\n }\n\n if (rf & 2) {\n let _t;\n\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.selectionTiles = _t);\n }\n },\n hostVars: 2,\n hostBindings: function TileGroup_HostBindings(rf, ctx) {\n if (rf & 2) {\n ɵngcc0.ɵɵclassProp(\"bx--tile-group\", ctx.tileGroupClass);\n }\n },\n inputs: {\n name: \"name\",\n multiple: \"multiple\",\n legend: \"legend\"\n },\n outputs: {\n selected: \"selected\"\n },\n features: [ɵngcc0.ɵɵProvidersFeature([{\n provide: NG_VALUE_ACCESSOR,\n useExisting: TileGroup,\n multi: true\n }])],\n ngContentSelectors: _c9,\n decls: 3,\n vars: 1,\n consts: [[\"class\", \"bx--label\", 4, \"ngIf\"], [1, \"bx--label\"], [4, \"ngIf\", \"ngIfElse\"], [\"legendLabel\", \"\"], [3, \"ngTemplateOutlet\"]],\n template: function TileGroup_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef(_c8);\n ɵngcc0.ɵɵelementStart(0, \"fieldset\");\n ɵngcc0.ɵɵtemplate(1, TileGroup_legend_1_Template, 4, 2, \"legend\", 0);\n ɵngcc0.ɵɵprojection(2);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.legend);\n }\n },\n dependencies: [ɵngcc2.NgIf, ɵngcc2.NgTemplateOutlet],\n encapsulation: 2\n });\n TileGroup.tileGroupCount = 0;\n /** @nocollapse */\n\n return TileGroup;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Build application's tiles using this component.\n *\n * [See demo](../../?path=/story/components-tiles--basic)\n *\n * ## Basic usage\n *\n * ```html\n * \n * \t\ttile content\n * \n * ```\n *\n * ../../iframe.html?id=components-tiles--basic\n */\n\n\nlet Tile = /*#__PURE__*/(() => {\n class Tile {\n constructor() {\n this.tileClass = true;\n this.theme = \"dark\";\n }\n\n get lightThemeEnabled() {\n return this.theme === \"light\";\n }\n\n }\n\n Tile.ɵfac = function Tile_Factory(t) {\n return new (t || Tile)();\n };\n\n Tile.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: Tile,\n selectors: [[\"ibm-tile\"]],\n hostVars: 4,\n hostBindings: function Tile_HostBindings(rf, ctx) {\n if (rf & 2) {\n ɵngcc0.ɵɵclassProp(\"bx--tile\", ctx.tileClass)(\"bx--tile--light\", ctx.lightThemeEnabled);\n }\n },\n inputs: {\n theme: \"theme\"\n },\n ngContentSelectors: _c1,\n decls: 1,\n vars: 0,\n template: function Tile_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef();\n ɵngcc0.ɵɵprojection(0);\n }\n },\n encapsulation: 2\n });\n return Tile;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet TilesModule = /*#__PURE__*/(() => {\n class TilesModule {}\n\n TilesModule.ɵfac = function TilesModule_Factory(t) {\n return new (t || TilesModule)();\n };\n\n TilesModule.ɵmod = /*@__PURE__*/ɵngcc0.ɵɵdefineNgModule({\n type: TilesModule\n });\n TilesModule.ɵinj = /*@__PURE__*/ɵngcc0.ɵɵdefineInjector({\n imports: [CommonModule, I18nModule, LinkModule]\n });\n return TilesModule;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(TilesModule, {\n declarations: function () {\n return [Tile, ClickableTile, ExpandableTile, SelectionTile, TileGroup];\n },\n imports: function () {\n return [CommonModule, I18nModule, LinkModule];\n },\n exports: function () {\n return [Tile, ClickableTile, ExpandableTile, SelectionTile, TileGroup];\n }\n });\n})();\n/**\n * Generated bundle index. Do not edit.\n */\n\n\nexport { ClickableTile, ExpandableTile, SelectionTile, TileGroup, Tile, TilesModule }; //# sourceMappingURL=carbon-components-angular-tiles.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/118ef95208ebad146ce49dbc43311e5a.json b/.angular/cache/14.2.11/babel-webpack/118ef95208ebad146ce49dbc43311e5a.json new file mode 100644 index 0000000000..14f5a7f046 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/118ef95208ebad146ce49dbc43311e5a.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-modal.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { tap, delay } from 'rxjs/operators';\nimport { cycleTabs, getFocusElementList } from 'carbon-components-angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport { ButtonModule } from 'carbon-components-angular/forms';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport { PlaceholderService, PlaceholderModule } from 'carbon-components-angular/placeholder';\nimport { ExperimentalModule } from 'carbon-components-angular/experimental';\nimport { Output, EventEmitter, Input, Directive, Component, Inject, ViewChild, Optional, ComponentFactoryResolver, Injector, Injectable, HostListener, Renderer2, HostBinding, NgModule } from '@angular/core';\nimport { IconModule } from 'carbon-components-angular/icon';\n/**\n * Extend `BaseModal` in your custom modal implementations to ensure consistent close behavior.\n *\n * `ModalService` depends on the `close` event to correctly clean up the component.\n */\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\nimport * as ɵngcc2 from 'carbon-components-angular/forms';\nimport * as ɵngcc3 from 'carbon-components-angular/i18n';\nimport * as ɵngcc4 from 'carbon-components-angular/icon';\nimport * as ɵngcc5 from 'carbon-components-angular/placeholder';\nconst _c0 = [\"modalContent\"];\n\nfunction AlertModal_ibm_modal_footer_9_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r6 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵelementContainerStart(0);\n ɵngcc0.ɵɵelementStart(1, \"button\", 9);\n ɵngcc0.ɵɵlistener(\"click\", function AlertModal_ibm_modal_footer_9_ng_container_1_Template_button_click_1_listener() {\n const restoredCtx = ɵngcc0.ɵɵrestoreView(_r6);\n const i_r4 = restoredCtx.index;\n const ctx_r5 = ɵngcc0.ɵɵnextContext(2);\n return ɵngcc0.ɵɵresetView(ctx_r5.buttonClicked(i_r4));\n });\n ɵngcc0.ɵɵtext(2);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵelementContainerEnd();\n }\n\n if (rf & 2) {\n const button_r3 = ctx.$implicit;\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ibmButton\", button_r3.type)(\"id\", button_r3.id);\n ɵngcc0.ɵɵattribute(\"modal-primary-focus\", button_r3.type.indexOf(\"primary\") !== -1 ? \"\" : null);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate1(\" \", button_r3.text, \" \");\n }\n}\n\nfunction AlertModal_ibm_modal_footer_9_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"ibm-modal-footer\");\n ɵngcc0.ɵɵtemplate(1, AlertModal_ibm_modal_footer_9_ng_container_1_Template, 3, 4, \"ng-container\", 8);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r1 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r1.buttons);\n }\n}\n\nconst _c1 = [\"*\"];\n\nfunction ModalHeader_button_2_Template(rf, ctx) {\n if (rf & 1) {\n const _r2 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵelementStart(0, \"button\", 1);\n ɵngcc0.ɵɵlistener(\"click\", function ModalHeader_button_2_Template_button_click_0_listener() {\n ɵngcc0.ɵɵrestoreView(_r2);\n const ctx_r1 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r1.onClose());\n });\n ɵngcc0.ɵɵelementStart(1, \"span\", 2);\n ɵngcc0.ɵɵtext(2);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelement(3, \"svg\", 3);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r0 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵtextInterpolate(ctx_r0.closeLabel);\n }\n}\n\nconst _c2 = [\"modal\"];\n\nfunction Modal_div_4_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelement(0, \"div\", 4);\n }\n}\n\nconst _c3 = function (a0, a1, a2, a3) {\n return {\n \"bx--modal-container--xs\": a0,\n \"bx--modal-container--sm\": a1,\n \"bx--modal-container--md\": a2,\n \"bx--modal-container--lg\": a3\n };\n};\n\nconst _c4 = [\"overlay\"];\n\nconst _c5 = function (a0, a1) {\n return {\n \"bx--modal--danger\": a0,\n \"is-visible\": a1\n };\n};\n\nlet BaseModal = /*#__PURE__*/(() => {\n class BaseModal {\n constructor() {\n /**\n * Base event emitter to propagate close events\n */\n this.close = new EventEmitter();\n /**\n * Controls the open state of the modal\n */\n\n this.open = false;\n }\n /**\n * Default method to handle closing the modal\n */\n\n\n closeModal() {\n this.close.emit();\n }\n\n }\n\n BaseModal.ɵfac = function BaseModal_Factory(t) {\n return new (t || BaseModal)();\n };\n\n BaseModal.ɵdir = /*@__PURE__*/ɵngcc0.ɵɵdefineDirective({\n type: BaseModal,\n selectors: [[\"\", \"ibmBaseModal\", \"\"]],\n inputs: {\n open: \"open\"\n },\n outputs: {\n close: \"close\"\n }\n });\n return BaseModal;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Component to create standard modals for presenting content or asking for user's input.\n * It can show as a passive modal showing only text or show as a transactional modal with\n * multiple buttons for different actions for the user to choose from.\n *\n * Using a modal in your application requires `ibm-placeholder` which would generally be\n * placed near the end of your app component template (app.component.ts or app.component.html) as:\n *\n * ```html\n * \n * ```\n *\n * Example of opening the modal:\n *\n * ```typescript\n * \\@Component({\n * selector: \"app-modal-demo\",\n * template: `\n * \n * `\n * })\n * export class ModalDemo {\n * \topenModal() {\n * \t\tthis.modalService.show({\n *\t\t\tmodalType: \"default\",\n *\t\t\tlabel: \"optional header text\",\n *\t\t\ttitle: \"Modal title\",\n *\t\t\ttext: \"Modal text\",\n *\t\t\tbuttons: [{\n *\t\t\t\ttext: \"Button text\",\n *\t\t\t\ttype: \"primary\",\n *\t\t\t\tclick: clickFunction\n *\t\t\t}]\n *\t\t});\n * \t}\n * }\n * ```\n */\n\n\nlet AlertModal = /*#__PURE__*/(() => {\n class AlertModal extends BaseModal {\n /**\n * Creates an instance of `AlertModal`.\n */\n constructor(type = \"default\", label, title, content, size, hasScrollingContent = null, buttons = [], onClose, showCloseButton = true) {\n super();\n this.type = type;\n this.label = label;\n this.title = title;\n this.content = content;\n this.size = size;\n this.hasScrollingContent = hasScrollingContent;\n this.buttons = buttons;\n this.onClose = onClose;\n this.showCloseButton = showCloseButton;\n\n for (let i = 0; i < this.buttons.length; i++) {\n const button = this.buttons[i];\n\n if (!button.id) {\n button.id = `alert-modal-button-${i}`;\n }\n\n if (!button.type) {\n button.type = \"secondary\";\n }\n }\n }\n\n ngAfterViewInit() {\n if (!this.modalContent) {\n return false;\n }\n\n const element = this.modalContent.nativeElement;\n\n if (element.scrollHeight > element.clientHeight) {\n element.tabIndex = 0;\n } else {\n element.tabIndex = -1;\n }\n }\n\n buttonClicked(buttonIndex) {\n const button = this.buttons[buttonIndex];\n\n if (button.click) {\n button.click();\n }\n\n this.closeModal();\n }\n\n dismissModal(trigger) {\n if (this.onClose && this.onClose(trigger) === false) {\n return;\n }\n\n this.closeModal();\n }\n\n }\n\n AlertModal.ɵfac = function AlertModal_Factory(t) {\n return new (t || AlertModal)(ɵngcc0.ɵɵdirectiveInject(\"type\", 8), ɵngcc0.ɵɵdirectiveInject(\"label\", 8), ɵngcc0.ɵɵdirectiveInject(\"title\", 8), ɵngcc0.ɵɵdirectiveInject(\"content\", 8), ɵngcc0.ɵɵdirectiveInject(\"size\", 8), ɵngcc0.ɵɵdirectiveInject(\"hasScrollingContent\", 8), ɵngcc0.ɵɵdirectiveInject(\"buttons\", 8), ɵngcc0.ɵɵdirectiveInject(\"close\", 8), ɵngcc0.ɵɵdirectiveInject(\"showCloseButton\", 8));\n };\n\n AlertModal.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: AlertModal,\n selectors: [[\"ibm-alert-modal\"]],\n viewQuery: function AlertModal_Query(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵviewQuery(_c0, 7);\n }\n\n if (rf & 2) {\n let _t;\n\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.modalContent = _t.first);\n }\n },\n features: [ɵngcc0.ɵɵInheritDefinitionFeature],\n decls: 10,\n vars: 10,\n consts: [[3, \"size\", \"theme\", \"ariaLabel\", \"hasScrollingContent\", \"open\", \"overlaySelected\"], [3, \"showCloseButton\", \"closeSelect\"], [\"ibmModalHeaderLabel\", \"\", 1, \"bx--type-delta\"], [\"ibmModalHeaderHeading\", \"\", 1, \"bx--type-beta\"], [\"ibmModalContent\", \"\"], [\"modalContent\", \"\"], [3, \"innerHTML\"], [4, \"ngIf\"], [4, \"ngFor\", \"ngForOf\"], [3, \"ibmButton\", \"id\", \"click\"]],\n template: function AlertModal_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"ibm-modal\", 0);\n ɵngcc0.ɵɵlistener(\"overlaySelected\", function AlertModal_Template_ibm_modal_overlaySelected_0_listener() {\n return ctx.dismissModal(\"overlay\");\n });\n ɵngcc0.ɵɵelementStart(1, \"ibm-modal-header\", 1);\n ɵngcc0.ɵɵlistener(\"closeSelect\", function AlertModal_Template_ibm_modal_header_closeSelect_1_listener() {\n return ctx.dismissModal(\"close\");\n });\n ɵngcc0.ɵɵelementStart(2, \"p\", 2);\n ɵngcc0.ɵɵtext(3);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵelementStart(4, \"p\", 3);\n ɵngcc0.ɵɵtext(5);\n ɵngcc0.ɵɵelementEnd()();\n ɵngcc0.ɵɵelementStart(6, \"div\", 4, 5);\n ɵngcc0.ɵɵelement(8, \"p\", 6);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵtemplate(9, AlertModal_ibm_modal_footer_9_Template, 2, 1, \"ibm-modal-footer\", 7);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"size\", ctx.size)(\"theme\", ctx.type)(\"ariaLabel\", ctx.title)(\"hasScrollingContent\", ctx.hasScrollingContent)(\"open\", ctx.open);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"showCloseButton\", ctx.showCloseButton);\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵtextInterpolate(ctx.label);\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵtextInterpolate(ctx.title);\n ɵngcc0.ɵɵadvance(3);\n ɵngcc0.ɵɵproperty(\"innerHTML\", ctx.content, ɵngcc0.ɵɵsanitizeHtml);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.buttons.length > 0);\n }\n },\n dependencies: function () {\n return [ɵngcc1.NgForOf, ɵngcc1.NgIf, ɵngcc2.Button, Modal, ModalHeader, ModalFooter, ModalContent, ModalHeaderHeading, ModalHeaderLabel];\n },\n encapsulation: 2\n });\n /** @nocollapse */\n\n return AlertModal;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nvar AlertModalType = /*#__PURE__*/(() => {\n (function (AlertModalType) {\n AlertModalType[\"default\"] = \"default\";\n AlertModalType[\"danger\"] = \"danger\";\n })(AlertModalType || (AlertModalType = {}));\n\n return AlertModalType;\n})();\nvar ModalButtonType = /*#__PURE__*/(() => {\n (function (ModalButtonType) {\n ModalButtonType[\"primary\"] = \"primary\";\n ModalButtonType[\"secondary\"] = \"secondary\";\n ModalButtonType[\"tertiary\"] = \"tertiary\";\n ModalButtonType[\"ghost\"] = \"ghost\";\n ModalButtonType[\"danger\"] = \"danger\";\n ModalButtonType[\"danger_primary\"] = \"danger--primary\";\n })(ModalButtonType || (ModalButtonType = {}));\n\n return ModalButtonType;\n})();\nlet ModalFooter = /*#__PURE__*/(() => {\n class ModalFooter {}\n\n ModalFooter.ɵfac = function ModalFooter_Factory(t) {\n return new (t || ModalFooter)();\n };\n\n ModalFooter.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: ModalFooter,\n selectors: [[\"ibm-modal-footer\"]],\n ngContentSelectors: _c1,\n decls: 2,\n vars: 0,\n consts: [[1, \"bx--modal-footer\"]],\n template: function ModalFooter_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef();\n ɵngcc0.ɵɵelementStart(0, \"footer\", 0);\n ɵngcc0.ɵɵprojection(1);\n ɵngcc0.ɵɵelementEnd();\n }\n },\n encapsulation: 2\n });\n return ModalFooter;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * ***Inputs***\n * ```html\n * Header text\n * ```\n *\n * ***Outputs***\n * ```html\n * Header text\n * ```\n */\n\n\nlet ModalHeader = /*#__PURE__*/(() => {\n class ModalHeader {\n constructor(i18n) {\n this.i18n = i18n;\n /**\n * Sets the style on the modal heading based on its category.\n */\n\n this.theme = \"default\";\n /**\n * Accessible label for the header close button.\n * Defaults to the `MODAL.CLOSE` value from the i18n service.\n */\n\n this.closeLabel = this.i18n.get().MODAL.CLOSE;\n /**\n * Set to `false` to hide the close button.\n */\n\n this.showCloseButton = true;\n /**\n * To emit the event of clicking on the close icon within the modal.\n */\n\n this.closeSelect = new EventEmitter();\n }\n /**\n * Handles click for the close icon button within the `Modal`.\n */\n\n\n onClose() {\n this.closeSelect.emit();\n }\n\n }\n\n ModalHeader.ɵfac = function ModalHeader_Factory(t) {\n return new (t || ModalHeader)(ɵngcc0.ɵɵdirectiveInject(ɵngcc3.I18n));\n };\n\n ModalHeader.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: ModalHeader,\n selectors: [[\"ibm-modal-header\"]],\n inputs: {\n theme: \"theme\",\n closeLabel: \"closeLabel\",\n showCloseButton: \"showCloseButton\"\n },\n outputs: {\n closeSelect: \"closeSelect\"\n },\n ngContentSelectors: _c1,\n decls: 3,\n vars: 4,\n consts: [[\"type\", \"button\", \"class\", \"bx--modal-close\", 3, \"click\", 4, \"ngIf\"], [\"type\", \"button\", 1, \"bx--modal-close\", 3, \"click\"], [1, \"bx--assistive-text\"], [\"ibmIcon\", \"close\", \"size\", \"20\", 1, \"bx--modal-close__icon\"]],\n template: function ModalHeader_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef();\n ɵngcc0.ɵɵelementStart(0, \"header\");\n ɵngcc0.ɵɵprojection(1);\n ɵngcc0.ɵɵtemplate(2, ModalHeader_button_2_Template, 4, 1, \"button\", 0);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵclassMapInterpolate1(\"\", ctx.theme, \" bx--modal-header\");\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.showCloseButton);\n }\n },\n dependencies: [ɵngcc1.NgIf, ɵngcc4.IconDirective],\n encapsulation: 2\n });\n /** @nocollapse */\n\n return ModalHeader;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Modal service handles instantiating and destroying modal instances.\n * Uses PlaceholderService to track open instances, and for it's placeholder view reference.\n */\n\n\nlet ModalService = /*#__PURE__*/(() => {\n class ModalService {\n /**\n * Creates an instance of `ModalService`.\n */\n constructor(resolver, placeholderService) {\n this.resolver = resolver;\n this.placeholderService = placeholderService;\n }\n /**\n * Creates and renders the modal component that is passed in.\n * `inputs` is an optional parameter of `data` that can be passed to the `Modal` component.\n */\n\n\n create(data) {\n let defaults = {\n inputs: {}\n };\n data = Object.assign({}, defaults, data);\n const inputProviders = Object.keys(data.inputs).map(inputName => ({\n provide: inputName,\n useValue: data.inputs[inputName]\n }));\n const injector = Injector.create(inputProviders);\n const factory = this.resolver.resolveComponentFactory(data.component);\n let focusedElement = document.activeElement;\n let component = this.placeholderService.createComponent(factory, injector);\n setTimeout(() => {\n component.instance.open = true;\n });\n component[\"previouslyFocusedElement\"] = focusedElement; // used to return focus to previously focused element\n\n component.instance.close.pipe( // trigger the close animation\n tap(() => {\n component.instance.open = false;\n }), // delay closing by an arbitrary amount to allow the animation to finish\n delay(150)).subscribe(() => {\n this.placeholderService.destroyComponent(component); // filter out our component\n\n ModalService.modalList = ModalService.modalList.filter(c => c !== component);\n });\n component.onDestroy(() => {\n focusedElement.focus();\n });\n ModalService.modalList.push(component);\n return component;\n }\n /**\n * Creates and renders a new alert modal component.\n * @param data You can pass in:\n * `type` - \"default\" | \"danger\" = \"default\",\n * `label` - a label shown over the title,\n * `title` - modal's title,\n * `content` - modal's content, could include HTML tags.\n * `buttons` is an array of objects\n * `close` custom close function\n * ```\n * {\n * \t\ttext: \"Button text\",\n * \t\ttype: \"primary\" | \"secondary\" | \"tertiary\" | \"ghost\" | \"danger\" | \"danger--primary\" = \"primary\",\n * \t\tclick: clickFunction,\n * }\n * ```\n */\n\n\n show(data) {\n return this.create({\n component: AlertModal,\n inputs: {\n type: data.type,\n label: data.label,\n title: data.title,\n content: data.content,\n hasScrollingContent: data.hasScrollingContent || null,\n size: data.size,\n buttons: data.buttons || [],\n close: data.close || (() => {}),\n showCloseButton: data.showCloseButton\n }\n });\n }\n /**\n * Destroys the modal on the supplied index.\n * When called without parameters it destroys the most recently created/top most modal.\n */\n\n\n destroy(index = -1) {\n // return if nothing to destroy because it's already destroyed\n if (index >= ModalService.modalList.length || ModalService.modalList.length === 0) {\n return;\n } // on negative index destroy the last on the list (top modal)\n\n\n if (index < 0) {\n index = ModalService.modalList.length - 1;\n }\n\n this.placeholderService.destroyComponent(ModalService.modalList[index]);\n ModalService.modalList.splice(index, 1);\n }\n\n }\n\n ModalService.ɵfac = function ModalService_Factory(t) {\n return new (t || ModalService)(ɵngcc0.ɵɵinject(ɵngcc0.ComponentFactoryResolver), ɵngcc0.ɵɵinject(ɵngcc5.PlaceholderService));\n };\n\n ModalService.ɵprov = /*@__PURE__*/ɵngcc0.ɵɵdefineInjectable({\n token: ModalService,\n factory: ModalService.ɵfac\n }); // track all our open modals\n\n ModalService.modalList = [];\n /** @nocollapse */\n\n return ModalService;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Component to create modals for presenting content.\n *\n * [See demo](../../?path=/story/components-modal--basic)\n *\n * Using a modal in your application requires `ibm-placeholder` which would generally be\n * placed near the end of your app component template (app.component.ts or app.component.html) as:\n *\n```html\n\n```\n *\n * A more complete example for `Modal` is given as follows:\n *\n * Example modal definition:\n *\n```typescript\n@Component({\n selector: \"app-sample-modal\",\n template: `\n \n Header text\n
\n

Sample modal works.

\n \n {{modalText}}\n
\n \n
`,\n styleUrls: [\"./sample-modal.component.scss\"]\n})\nexport class SampleModal extends BaseModal {\n modalText: string;\n constructor(protected injector: Injector) {\n super();\n this.modalText = this.injector.get(\"modalText\");\n }\n}\n```\n *\n * Example of opening the modal:\n *\n```typescript\n@Component({\n selector: \"app-modal-demo\",\n template: `\n \n `\n})\nexport class ModalDemo {\n openModal() {\n this.modalService.create({component: SampleModal, inputs: {modalText: \"Hello universe.\"}});\n }\n}\n```\n *\n * ../../iframe.html?id=components-modal--basic\n */\n\n\nlet Modal = /*#__PURE__*/(() => {\n class Modal {\n /**\n * Creates an instance of `Modal`.\n */\n constructor(modalService, document, renderer) {\n this.modalService = modalService;\n this.document = document;\n this.renderer = renderer;\n /**\n * Size of the modal to display.\n */\n\n this.size = \"md\";\n /**\n * Classification of the modal.\n */\n\n this.theme = \"default\";\n this.ariaLabel = \"default\";\n /**\n * Controls the visibility of the modal when used directly in a template\n */\n\n this.open = false;\n /**\n * Specify whether the modal contains scrolling content. This property overrides the automatic\n * detection of the existence of scrolling content. Set this property to `true` to force\n * overflow indicator to show up or to `false` to force overflow indicator to disappear.\n * It is set to `null` by default which indicates not to override automatic detection.\n */\n\n this.hasScrollingContent = null;\n /**\n * Emits event when click occurs within `n-overlay` element. This is to track click events occurring outside bounds of the `Modal` object.\n */\n\n this.overlaySelected = new EventEmitter();\n /**\n * To emit the closing event of the modal window.\n */\n\n this.close = new EventEmitter();\n /**\n * An element should have 'modal-primary-focus' as an attribute to receive initial focus within the `Modal` component.\n */\n\n this.selectorPrimaryFocus = \"[modal-primary-focus]\";\n }\n /**\n * Label for the modal.\n *\n * @deprecated since v4\n */\n\n\n set modalLabel(value) {\n this.ariaLabel = value;\n }\n\n get modalLabel() {\n return this.ariaLabel;\n }\n /**\n * This detects whether or not the modal contains scrolling content.\n *\n * To force trigger a detection (ie. on window resize), change or reset the value of the modal content.\n *\n * Use the `hasScrollingContent` input to manually override the overflow indicator.\n */\n\n\n get shouldShowScrollbar() {\n const modalContent = this.modal ? this.modal.nativeElement.querySelector(\".bx--modal-content\") : null;\n\n if (!modalContent) {\n return false;\n } // get rounded value from height to match integer returned from scrollHeight\n\n\n const modalContentHeight = Math.ceil(modalContent.getBoundingClientRect().height);\n const modalContentScrollHeight = modalContent.scrollHeight;\n return modalContentScrollHeight > modalContentHeight;\n }\n\n ngOnChanges({\n open\n }) {\n if (open) {\n if (open.currentValue) {\n // `100` is just enough time to allow the modal\n // to become visible, so that we can set focus\n setTimeout(() => this.focusInitialElement(), 100); // Prevent scrolling on open\n\n this.renderer.addClass(this.document.body, \"bx--body--with-modal-open\");\n } else if (!open.currentValue) {\n // Enable scrolling on close\n this.renderer.removeClass(this.document.body, \"bx--body--with-modal-open\");\n } else if (this.trigger) {\n this.trigger.focus();\n }\n }\n }\n /**\n * Set document focus to be on the modal component after it is initialized.\n */\n\n\n ngAfterViewInit() {\n this.focusInitialElement();\n }\n /**\n * Handle keyboard events to close modal and tab through the content within the modal.\n */\n\n\n handleKeyboardEvent(event) {\n switch (event.key) {\n case \"Escape\":\n {\n event.stopImmediatePropagation(); // prevents events being fired for multiple modals if more than 2 open\n\n this.modalService.destroy(); // destroy top (latest) modal\n\n this.close.emit();\n break;\n }\n\n case \"Tab\":\n {\n cycleTabs(event, this.modal.nativeElement);\n break;\n }\n }\n } // Remove class preventing scrolling\n\n\n ngOnDestroy() {\n this.renderer.removeClass(this.document.body, \"bx--body--with-modal-open\");\n }\n\n focusInitialElement() {\n const primaryFocusElement = this.modal.nativeElement.querySelector(this.selectorPrimaryFocus);\n\n if (primaryFocusElement && primaryFocusElement.focus) {\n setTimeout(() => primaryFocusElement.focus());\n } else if (getFocusElementList(this.modal.nativeElement).length > 0) {\n setTimeout(() => getFocusElementList(this.modal.nativeElement)[0].focus());\n } else {\n setTimeout(() => this.modal.nativeElement.focus());\n }\n }\n\n }\n\n Modal.ɵfac = function Modal_Factory(t) {\n return new (t || Modal)(ɵngcc0.ɵɵdirectiveInject(ModalService), ɵngcc0.ɵɵdirectiveInject(DOCUMENT), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.Renderer2));\n };\n\n Modal.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: Modal,\n selectors: [[\"ibm-modal\"]],\n viewQuery: function Modal_Query(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵviewQuery(_c2, 7);\n }\n\n if (rf & 2) {\n let _t;\n\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.modal = _t.first);\n }\n },\n hostBindings: function Modal_HostBindings(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵlistener(\"keydown\", function Modal_keydown_HostBindingHandler($event) {\n return ctx.handleKeyboardEvent($event);\n });\n }\n },\n inputs: {\n size: \"size\",\n theme: \"theme\",\n ariaLabel: \"ariaLabel\",\n open: \"open\",\n hasScrollingContent: \"hasScrollingContent\",\n modalLabel: \"modalLabel\",\n trigger: \"trigger\"\n },\n outputs: {\n overlaySelected: \"overlaySelected\",\n close: \"close\"\n },\n features: [ɵngcc0.ɵɵNgOnChangesFeature],\n ngContentSelectors: _c1,\n decls: 5,\n vars: 10,\n consts: [[3, \"theme\", \"open\", \"overlaySelect\"], [\"role\", \"dialog\", \"aria-modal\", \"true\", 1, \"bx--modal-container\", 2, \"z-index\", \"1\", 3, \"ngClass\"], [\"modal\", \"\"], [\"class\", \"bx--modal-content--overflow-indicator\", 4, \"ngIf\"], [1, \"bx--modal-content--overflow-indicator\"]],\n template: function Modal_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef();\n ɵngcc0.ɵɵelementStart(0, \"ibm-overlay\", 0);\n ɵngcc0.ɵɵlistener(\"overlaySelect\", function Modal_Template_ibm_overlay_overlaySelect_0_listener() {\n return ctx.overlaySelected.emit();\n });\n ɵngcc0.ɵɵelementStart(1, \"div\", 1, 2);\n ɵngcc0.ɵɵprojection(3);\n ɵngcc0.ɵɵtemplate(4, Modal_div_4_Template, 1, 0, \"div\", 3);\n ɵngcc0.ɵɵelementEnd()();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"theme\", ctx.theme)(\"open\", ctx.open);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction4(5, _c3, ctx.size === \"xs\", ctx.size === \"sm\", ctx.size === \"md\", ctx.size === \"lg\"));\n ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n ɵngcc0.ɵɵadvance(3);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.hasScrollingContent !== null ? ctx.hasScrollingContent : ctx.shouldShowScrollbar);\n }\n },\n dependencies: function () {\n return [ɵngcc1.NgClass, ɵngcc1.NgIf, Overlay];\n },\n encapsulation: 2\n });\n /** @nocollapse */\n\n return Modal;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Component for the overlay object that acts as a backdrop to the `Modal` component.\n *\n * The main purpose for this component is to be able to handle click events that fall outside\n * the bounds of the `Modal` component.\n */\n\n\nlet Overlay = /*#__PURE__*/(() => {\n class Overlay {\n constructor() {\n /**\n * Classification of the modal.\n */\n this.theme = \"default\";\n this.open = false;\n /**\n * To emit the event where the user selects the overlay behind the `Modal`.\n */\n\n this.overlaySelect = new EventEmitter();\n }\n /**\n * Handles the user clicking on the `Overlay` which resides outside the `Modal` object.\n */\n\n\n overlayClick(event) {\n if (event.target !== this.overlay.nativeElement) {\n return;\n }\n\n event.stopPropagation();\n this.overlaySelect.emit(event);\n }\n\n }\n\n Overlay.ɵfac = function Overlay_Factory(t) {\n return new (t || Overlay)();\n };\n\n Overlay.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: Overlay,\n selectors: [[\"ibm-overlay\"]],\n viewQuery: function Overlay_Query(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵviewQuery(_c4, 7);\n }\n\n if (rf & 2) {\n let _t;\n\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.overlay = _t.first);\n }\n },\n inputs: {\n theme: \"theme\",\n open: \"open\"\n },\n outputs: {\n overlaySelect: \"overlaySelect\"\n },\n ngContentSelectors: _c1,\n decls: 3,\n vars: 4,\n consts: [[1, \"bx--modal\", \"bx--modal-tall\", 3, \"ngClass\", \"click\"], [\"overlay\", \"\"]],\n template: function Overlay_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef();\n ɵngcc0.ɵɵelementStart(0, \"section\", 0, 1);\n ɵngcc0.ɵɵlistener(\"click\", function Overlay_Template_section_click_0_listener($event) {\n return ctx.overlayClick($event);\n });\n ɵngcc0.ɵɵprojection(2);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(1, _c5, ctx.theme === \"danger\", ctx.open));\n }\n },\n dependencies: [ɵngcc1.NgClass],\n encapsulation: 2\n });\n return Overlay;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet ModalContent = /*#__PURE__*/(() => {\n class ModalContent {\n constructor() {\n this.modalContentClass = true;\n /**\n * Provide whether the modal content has a form element.\n * If `true` is used here, non-form child content should have `bx--modal-content__regular-content` class.\n */\n\n this.hasForm = false;\n }\n\n }\n\n ModalContent.ɵfac = function ModalContent_Factory(t) {\n return new (t || ModalContent)();\n };\n\n ModalContent.ɵdir = /*@__PURE__*/ɵngcc0.ɵɵdefineDirective({\n type: ModalContent,\n selectors: [[\"\", \"ibmModalContent\", \"\"]],\n hostVars: 4,\n hostBindings: function ModalContent_HostBindings(rf, ctx) {\n if (rf & 2) {\n ɵngcc0.ɵɵclassProp(\"bx--modal-content\", ctx.modalContentClass)(\"bx--modal-content--with-form\", ctx.hasForm);\n }\n },\n inputs: {\n hasForm: \"hasForm\"\n }\n });\n return ModalContent;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet ModalContentText = /*#__PURE__*/(() => {\n class ModalContentText {\n constructor() {\n this.modalContentTextClass = true;\n }\n\n }\n\n ModalContentText.ɵfac = function ModalContentText_Factory(t) {\n return new (t || ModalContentText)();\n };\n\n ModalContentText.ɵdir = /*@__PURE__*/ɵngcc0.ɵɵdefineDirective({\n type: ModalContentText,\n selectors: [[\"\", \"ibmModalContentText\", \"\"]],\n hostVars: 2,\n hostBindings: function ModalContentText_HostBindings(rf, ctx) {\n if (rf & 2) {\n ɵngcc0.ɵɵclassProp(\"bx--modal-content__text\", ctx.modalContentTextClass);\n }\n }\n });\n return ModalContentText;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet ModalHeaderHeading = /*#__PURE__*/(() => {\n class ModalHeaderHeading {\n constructor() {\n this.modalHeaderHeadingClass = true;\n }\n\n }\n\n ModalHeaderHeading.ɵfac = function ModalHeaderHeading_Factory(t) {\n return new (t || ModalHeaderHeading)();\n };\n\n ModalHeaderHeading.ɵdir = /*@__PURE__*/ɵngcc0.ɵɵdefineDirective({\n type: ModalHeaderHeading,\n selectors: [[\"\", \"ibmModalHeaderHeading\", \"\"]],\n hostVars: 2,\n hostBindings: function ModalHeaderHeading_HostBindings(rf, ctx) {\n if (rf & 2) {\n ɵngcc0.ɵɵclassProp(\"bx--modal-header__heading\", ctx.modalHeaderHeadingClass);\n }\n }\n });\n return ModalHeaderHeading;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet ModalHeaderLabel = /*#__PURE__*/(() => {\n class ModalHeaderLabel {\n constructor() {\n this.modalHeaderLabelClass = true;\n }\n\n }\n\n ModalHeaderLabel.ɵfac = function ModalHeaderLabel_Factory(t) {\n return new (t || ModalHeaderLabel)();\n };\n\n ModalHeaderLabel.ɵdir = /*@__PURE__*/ɵngcc0.ɵɵdefineDirective({\n type: ModalHeaderLabel,\n selectors: [[\"\", \"ibmModalHeaderLabel\", \"\"]],\n hostVars: 2,\n hostBindings: function ModalHeaderLabel_HostBindings(rf, ctx) {\n if (rf & 2) {\n ɵngcc0.ɵɵclassProp(\"bx--modal-header__label\", ctx.modalHeaderLabelClass);\n }\n }\n });\n return ModalHeaderLabel;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})(); // modules\n\n\nlet ModalModule = /*#__PURE__*/(() => {\n class ModalModule {}\n\n ModalModule.ɵfac = function ModalModule_Factory(t) {\n return new (t || ModalModule)();\n };\n\n ModalModule.ɵmod = /*@__PURE__*/ɵngcc0.ɵɵdefineNgModule({\n type: ModalModule\n });\n ModalModule.ɵinj = /*@__PURE__*/ɵngcc0.ɵɵdefineInjector({\n providers: [ModalService],\n imports: [CommonModule, ButtonModule, I18nModule, PlaceholderModule, ExperimentalModule, IconModule]\n });\n return ModalModule;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ModalModule, {\n declarations: function () {\n return [AlertModal, Modal, ModalHeader, ModalFooter, Overlay, ModalContent, ModalContentText, ModalHeaderHeading, ModalHeaderLabel, BaseModal];\n },\n imports: function () {\n return [CommonModule, ButtonModule, I18nModule, PlaceholderModule, ExperimentalModule, IconModule];\n },\n exports: function () {\n return [AlertModal, Modal, ModalHeader, ModalFooter, ModalContent, ModalContentText, ModalHeaderHeading, ModalHeaderLabel, BaseModal];\n }\n });\n})();\n/**\n * Generated bundle index. Do not edit.\n */\n\n\nexport { AlertModal, AlertModalType, ModalButtonType, BaseModal, ModalFooter, ModalHeader, Modal, ModalModule, ModalService, Overlay, ModalContent, ModalContentText, ModalHeaderHeading, ModalHeaderLabel }; //# sourceMappingURL=carbon-components-angular-modal.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/11e24f4b6a6585fc58b00f61e6f2702b.json b/.angular/cache/14.2.11/babel-webpack/11e24f4b6a6585fc58b00f61e6f2702b.json new file mode 100644 index 0000000000..9e3e45d3b6 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/11e24f4b6a6585fc58b00f61e6f2702b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { __assign, __spreadArray } from \"tslib\";\nimport { visit } from \"graphql\";\nimport { wrap } from \"optimism\";\nimport { getFragmentDefinitions } from \"../../utilities/index.js\";\nexport function createFragmentRegistry() {\n var fragments = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n fragments[_i] = arguments[_i];\n }\n\n return new (FragmentRegistry.bind.apply(FragmentRegistry, __spreadArray([void 0], fragments, false)))();\n}\nvar arrayLikeForEach = Array.prototype.forEach;\n\nvar FragmentRegistry = function () {\n function FragmentRegistry() {\n var fragments = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n fragments[_i] = arguments[_i];\n }\n\n this.registry = Object.create(null);\n this.resetCaches();\n\n if (fragments.length) {\n this.register.apply(this, fragments);\n }\n }\n\n FragmentRegistry.prototype.register = function () {\n var _this = this;\n\n var definitions = new Map();\n arrayLikeForEach.call(arguments, function (doc) {\n getFragmentDefinitions(doc).forEach(function (node) {\n definitions.set(node.name.value, node);\n });\n });\n definitions.forEach(function (node, name) {\n if (node !== _this.registry[name]) {\n _this.registry[name] = node;\n\n _this.invalidate(name);\n }\n });\n return this;\n };\n\n FragmentRegistry.prototype.invalidate = function (name) {};\n\n FragmentRegistry.prototype.resetCaches = function () {\n this.invalidate = (this.lookup = this.cacheUnaryMethod(\"lookup\")).dirty;\n this.transform = this.cacheUnaryMethod(\"transform\");\n this.findFragmentSpreads = this.cacheUnaryMethod(\"findFragmentSpreads\");\n };\n\n FragmentRegistry.prototype.cacheUnaryMethod = function (name) {\n var registry = this;\n var originalMethod = FragmentRegistry.prototype[name];\n return wrap(function () {\n return originalMethod.apply(registry, arguments);\n }, {\n makeCacheKey: function (arg) {\n return arg;\n }\n });\n };\n\n FragmentRegistry.prototype.lookup = function (fragmentName) {\n return this.registry[fragmentName] || null;\n };\n\n FragmentRegistry.prototype.transform = function (document) {\n var _this = this;\n\n var defined = new Map();\n getFragmentDefinitions(document).forEach(function (def) {\n defined.set(def.name.value, def);\n });\n var unbound = new Set();\n\n var enqueue = function (spreadName) {\n if (!defined.has(spreadName)) {\n unbound.add(spreadName);\n }\n };\n\n var enqueueChildSpreads = function (node) {\n return Object.keys(_this.findFragmentSpreads(node)).forEach(enqueue);\n };\n\n enqueueChildSpreads(document);\n var missing = [];\n var map = Object.create(null);\n unbound.forEach(function (fragmentName) {\n var knownFragmentDef = defined.get(fragmentName);\n\n if (knownFragmentDef) {\n enqueueChildSpreads(map[fragmentName] = knownFragmentDef);\n } else {\n missing.push(fragmentName);\n\n var def = _this.lookup(fragmentName);\n\n if (def) {\n enqueueChildSpreads(map[fragmentName] = def);\n }\n }\n });\n\n if (missing.length) {\n var defsToAppend_1 = [];\n missing.forEach(function (name) {\n var def = map[name];\n\n if (def) {\n defsToAppend_1.push(def);\n }\n });\n\n if (defsToAppend_1.length) {\n document = __assign(__assign({}, document), {\n definitions: document.definitions.concat(defsToAppend_1)\n });\n }\n }\n\n return document;\n };\n\n FragmentRegistry.prototype.findFragmentSpreads = function (root) {\n var spreads = Object.create(null);\n visit(root, {\n FragmentSpread: function (node) {\n spreads[node.name.value] = node;\n }\n });\n return spreads;\n };\n\n return FragmentRegistry;\n}(); //# sourceMappingURL=fragmentRegistry.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/13dd69aeef32ecc4013ca266e910e953.json b/.angular/cache/14.2.11/babel-webpack/13dd69aeef32ecc4013ca266e910e953.json new file mode 100644 index 0000000000..ba9c634e58 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/13dd69aeef32ecc4013ca266e910e953.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { inspect } from '../../jsutils/inspect.mjs';\nimport { GraphQLError } from '../../error/GraphQLError.mjs';\nimport { isCompositeType } from '../../type/definition.mjs';\nimport { doTypesOverlap } from '../../utilities/typeComparators.mjs';\nimport { typeFromAST } from '../../utilities/typeFromAST.mjs';\n/**\n * Possible fragment spread\n *\n * A fragment spread is only valid if the type condition could ever possibly\n * be true: if there is a non-empty intersection of the possible parent types,\n * and possible types which pass the type condition.\n */\n\nexport function PossibleFragmentSpreadsRule(context) {\n return {\n InlineFragment(node) {\n const fragType = context.getType();\n const parentType = context.getParentType();\n\n if (isCompositeType(fragType) && isCompositeType(parentType) && !doTypesOverlap(context.getSchema(), fragType, parentType)) {\n const parentTypeStr = inspect(parentType);\n const fragTypeStr = inspect(fragType);\n context.reportError(new GraphQLError(`Fragment cannot be spread here as objects of type \"${parentTypeStr}\" can never be of type \"${fragTypeStr}\".`, {\n nodes: node\n }));\n }\n },\n\n FragmentSpread(node) {\n const fragName = node.name.value;\n const fragType = getFragmentType(context, fragName);\n const parentType = context.getParentType();\n\n if (fragType && parentType && !doTypesOverlap(context.getSchema(), fragType, parentType)) {\n const parentTypeStr = inspect(parentType);\n const fragTypeStr = inspect(fragType);\n context.reportError(new GraphQLError(`Fragment \"${fragName}\" cannot be spread here as objects of type \"${parentTypeStr}\" can never be of type \"${fragTypeStr}\".`, {\n nodes: node\n }));\n }\n }\n\n };\n}\n\nfunction getFragmentType(context, name) {\n const frag = context.getFragment(name);\n\n if (frag) {\n const type = typeFromAST(context.getSchema(), frag.typeCondition);\n\n if (isCompositeType(type)) {\n return type;\n }\n }\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/144219b575115be1ae59d01d91df8447.json b/.angular/cache/14.2.11/babel-webpack/144219b575115be1ae59d01d91df8447.json new file mode 100644 index 0000000000..4d180b9523 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/144219b575115be1ae59d01d91df8447.json @@ -0,0 +1 @@ +{"ast":null,"code":"export { Observable } from './internal/Observable';\nexport { ConnectableObservable } from './internal/observable/ConnectableObservable';\nexport { observable } from './internal/symbol/observable';\nexport { animationFrames } from './internal/observable/dom/animationFrames';\nexport { Subject } from './internal/Subject';\nexport { BehaviorSubject } from './internal/BehaviorSubject';\nexport { ReplaySubject } from './internal/ReplaySubject';\nexport { AsyncSubject } from './internal/AsyncSubject';\nexport { asap, asapScheduler } from './internal/scheduler/asap';\nexport { async, asyncScheduler } from './internal/scheduler/async';\nexport { queue, queueScheduler } from './internal/scheduler/queue';\nexport { animationFrame, animationFrameScheduler } from './internal/scheduler/animationFrame';\nexport { VirtualTimeScheduler, VirtualAction } from './internal/scheduler/VirtualTimeScheduler';\nexport { Scheduler } from './internal/Scheduler';\nexport { Subscription } from './internal/Subscription';\nexport { Subscriber } from './internal/Subscriber';\nexport { Notification, NotificationKind } from './internal/Notification';\nexport { pipe } from './internal/util/pipe';\nexport { noop } from './internal/util/noop';\nexport { identity } from './internal/util/identity';\nexport { isObservable } from './internal/util/isObservable';\nexport { lastValueFrom } from './internal/lastValueFrom';\nexport { firstValueFrom } from './internal/firstValueFrom';\nexport { ArgumentOutOfRangeError } from './internal/util/ArgumentOutOfRangeError';\nexport { EmptyError } from './internal/util/EmptyError';\nexport { NotFoundError } from './internal/util/NotFoundError';\nexport { ObjectUnsubscribedError } from './internal/util/ObjectUnsubscribedError';\nexport { SequenceError } from './internal/util/SequenceError';\nexport { TimeoutError } from './internal/operators/timeout';\nexport { UnsubscriptionError } from './internal/util/UnsubscriptionError';\nexport { bindCallback } from './internal/observable/bindCallback';\nexport { bindNodeCallback } from './internal/observable/bindNodeCallback';\nexport { combineLatest } from './internal/observable/combineLatest';\nexport { concat } from './internal/observable/concat';\nexport { connectable } from './internal/observable/connectable';\nexport { defer } from './internal/observable/defer';\nexport { empty } from './internal/observable/empty';\nexport { forkJoin } from './internal/observable/forkJoin';\nexport { from } from './internal/observable/from';\nexport { fromEvent } from './internal/observable/fromEvent';\nexport { fromEventPattern } from './internal/observable/fromEventPattern';\nexport { generate } from './internal/observable/generate';\nexport { iif } from './internal/observable/iif';\nexport { interval } from './internal/observable/interval';\nexport { merge } from './internal/observable/merge';\nexport { never } from './internal/observable/never';\nexport { of } from './internal/observable/of';\nexport { onErrorResumeNext } from './internal/observable/onErrorResumeNext';\nexport { pairs } from './internal/observable/pairs';\nexport { partition } from './internal/observable/partition';\nexport { race } from './internal/observable/race';\nexport { range } from './internal/observable/range';\nexport { throwError } from './internal/observable/throwError';\nexport { timer } from './internal/observable/timer';\nexport { using } from './internal/observable/using';\nexport { zip } from './internal/observable/zip';\nexport { scheduled } from './internal/scheduled/scheduled';\nexport { EMPTY } from './internal/observable/empty';\nexport { NEVER } from './internal/observable/never';\nexport * from './internal/types';\nexport { config } from './internal/config';\nexport { audit } from './internal/operators/audit';\nexport { auditTime } from './internal/operators/auditTime';\nexport { buffer } from './internal/operators/buffer';\nexport { bufferCount } from './internal/operators/bufferCount';\nexport { bufferTime } from './internal/operators/bufferTime';\nexport { bufferToggle } from './internal/operators/bufferToggle';\nexport { bufferWhen } from './internal/operators/bufferWhen';\nexport { catchError } from './internal/operators/catchError';\nexport { combineAll } from './internal/operators/combineAll';\nexport { combineLatestAll } from './internal/operators/combineLatestAll';\nexport { combineLatestWith } from './internal/operators/combineLatestWith';\nexport { concatAll } from './internal/operators/concatAll';\nexport { concatMap } from './internal/operators/concatMap';\nexport { concatMapTo } from './internal/operators/concatMapTo';\nexport { concatWith } from './internal/operators/concatWith';\nexport { connect } from './internal/operators/connect';\nexport { count } from './internal/operators/count';\nexport { debounce } from './internal/operators/debounce';\nexport { debounceTime } from './internal/operators/debounceTime';\nexport { defaultIfEmpty } from './internal/operators/defaultIfEmpty';\nexport { delay } from './internal/operators/delay';\nexport { delayWhen } from './internal/operators/delayWhen';\nexport { dematerialize } from './internal/operators/dematerialize';\nexport { distinct } from './internal/operators/distinct';\nexport { distinctUntilChanged } from './internal/operators/distinctUntilChanged';\nexport { distinctUntilKeyChanged } from './internal/operators/distinctUntilKeyChanged';\nexport { elementAt } from './internal/operators/elementAt';\nexport { endWith } from './internal/operators/endWith';\nexport { every } from './internal/operators/every';\nexport { exhaust } from './internal/operators/exhaust';\nexport { exhaustAll } from './internal/operators/exhaustAll';\nexport { exhaustMap } from './internal/operators/exhaustMap';\nexport { expand } from './internal/operators/expand';\nexport { filter } from './internal/operators/filter';\nexport { finalize } from './internal/operators/finalize';\nexport { find } from './internal/operators/find';\nexport { findIndex } from './internal/operators/findIndex';\nexport { first } from './internal/operators/first';\nexport { groupBy } from './internal/operators/groupBy';\nexport { ignoreElements } from './internal/operators/ignoreElements';\nexport { isEmpty } from './internal/operators/isEmpty';\nexport { last } from './internal/operators/last';\nexport { map } from './internal/operators/map';\nexport { mapTo } from './internal/operators/mapTo';\nexport { materialize } from './internal/operators/materialize';\nexport { max } from './internal/operators/max';\nexport { mergeAll } from './internal/operators/mergeAll';\nexport { flatMap } from './internal/operators/flatMap';\nexport { mergeMap } from './internal/operators/mergeMap';\nexport { mergeMapTo } from './internal/operators/mergeMapTo';\nexport { mergeScan } from './internal/operators/mergeScan';\nexport { mergeWith } from './internal/operators/mergeWith';\nexport { min } from './internal/operators/min';\nexport { multicast } from './internal/operators/multicast';\nexport { observeOn } from './internal/operators/observeOn';\nexport { pairwise } from './internal/operators/pairwise';\nexport { pluck } from './internal/operators/pluck';\nexport { publish } from './internal/operators/publish';\nexport { publishBehavior } from './internal/operators/publishBehavior';\nexport { publishLast } from './internal/operators/publishLast';\nexport { publishReplay } from './internal/operators/publishReplay';\nexport { raceWith } from './internal/operators/raceWith';\nexport { reduce } from './internal/operators/reduce';\nexport { repeat } from './internal/operators/repeat';\nexport { repeatWhen } from './internal/operators/repeatWhen';\nexport { retry } from './internal/operators/retry';\nexport { retryWhen } from './internal/operators/retryWhen';\nexport { refCount } from './internal/operators/refCount';\nexport { sample } from './internal/operators/sample';\nexport { sampleTime } from './internal/operators/sampleTime';\nexport { scan } from './internal/operators/scan';\nexport { sequenceEqual } from './internal/operators/sequenceEqual';\nexport { share } from './internal/operators/share';\nexport { shareReplay } from './internal/operators/shareReplay';\nexport { single } from './internal/operators/single';\nexport { skip } from './internal/operators/skip';\nexport { skipLast } from './internal/operators/skipLast';\nexport { skipUntil } from './internal/operators/skipUntil';\nexport { skipWhile } from './internal/operators/skipWhile';\nexport { startWith } from './internal/operators/startWith';\nexport { subscribeOn } from './internal/operators/subscribeOn';\nexport { switchAll } from './internal/operators/switchAll';\nexport { switchMap } from './internal/operators/switchMap';\nexport { switchMapTo } from './internal/operators/switchMapTo';\nexport { switchScan } from './internal/operators/switchScan';\nexport { take } from './internal/operators/take';\nexport { takeLast } from './internal/operators/takeLast';\nexport { takeUntil } from './internal/operators/takeUntil';\nexport { takeWhile } from './internal/operators/takeWhile';\nexport { tap } from './internal/operators/tap';\nexport { throttle } from './internal/operators/throttle';\nexport { throttleTime } from './internal/operators/throttleTime';\nexport { throwIfEmpty } from './internal/operators/throwIfEmpty';\nexport { timeInterval } from './internal/operators/timeInterval';\nexport { timeout } from './internal/operators/timeout';\nexport { timeoutWith } from './internal/operators/timeoutWith';\nexport { timestamp } from './internal/operators/timestamp';\nexport { toArray } from './internal/operators/toArray';\nexport { window } from './internal/operators/window';\nexport { windowCount } from './internal/operators/windowCount';\nexport { windowTime } from './internal/operators/windowTime';\nexport { windowToggle } from './internal/operators/windowToggle';\nexport { windowWhen } from './internal/operators/windowWhen';\nexport { withLatestFrom } from './internal/operators/withLatestFrom';\nexport { zipAll } from './internal/operators/zipAll';\nexport { zipWith } from './internal/operators/zipWith'; //# sourceMappingURL=index.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/14ab955d8473dbf52495509ff37af2ee.json b/.angular/cache/14.2.11/babel-webpack/14ab955d8473dbf52495509ff37af2ee.json new file mode 100644 index 0000000000..741506915a --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/14ab955d8473dbf52495509ff37af2ee.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n * @license Angular v14.2.0\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\nimport * as i0 from '@angular/core';\nimport { ɵisObservable, ɵisPromise, Injectable, ɵRuntimeError, EventEmitter, Directive, Attribute, Output, Component, createEnvironmentInjector, ɵisStandalone, ComponentFactoryResolver, ɵisInjectable, inject, InjectionToken, InjectFlags, NgModuleFactory, Injector, Compiler, NgModuleRef, ɵConsole, NgZone, ɵcoerceToBoolean, Input, HostListener, HostBinding, Optional, ContentChildren, APP_BOOTSTRAP_LISTENER, ApplicationRef, APP_INITIALIZER, ENVIRONMENT_INITIALIZER, NgProbeToken, SkipSelf, NgModule, Inject, Version } from '@angular/core';\nimport { from, of, BehaviorSubject, EmptyError, combineLatest, concat, defer, pipe, throwError, Observable, EMPTY, ConnectableObservable, Subject } from 'rxjs';\nimport * as i3 from '@angular/common';\nimport { Location, ViewportScroller, LOCATION_INITIALIZED, LocationStrategy, HashLocationStrategy, PathLocationStrategy } from '@angular/common';\nimport { map, switchMap, take, startWith, filter, mergeMap, first, concatMap, tap, catchError, scan, last as last$1, takeWhile, defaultIfEmpty, takeLast, mapTo, finalize, refCount, mergeAll } from 'rxjs/operators';\nimport * as i1 from '@angular/platform-browser';\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * The primary routing outlet.\n *\n * @publicApi\n */\n\nconst PRIMARY_OUTLET = 'primary';\n/**\n * A private symbol used to store the value of `Route.title` inside the `Route.data` if it is a\n * static string or `Route.resolve` if anything else. This allows us to reuse the existing route\n * data/resolvers to support the title feature without new instrumentation in the `Router` pipeline.\n */\n\nconst RouteTitleKey = /*#__PURE__*/Symbol('RouteTitle');\n\nclass ParamsAsMap {\n constructor(params) {\n this.params = params || {};\n }\n\n has(name) {\n return Object.prototype.hasOwnProperty.call(this.params, name);\n }\n\n get(name) {\n if (this.has(name)) {\n const v = this.params[name];\n return Array.isArray(v) ? v[0] : v;\n }\n\n return null;\n }\n\n getAll(name) {\n if (this.has(name)) {\n const v = this.params[name];\n return Array.isArray(v) ? v : [v];\n }\n\n return [];\n }\n\n get keys() {\n return Object.keys(this.params);\n }\n\n}\n/**\n * Converts a `Params` instance to a `ParamMap`.\n * @param params The instance to convert.\n * @returns The new map instance.\n *\n * @publicApi\n */\n\n\nfunction convertToParamMap(params) {\n return new ParamsAsMap(params);\n}\n/**\n * Matches the route configuration (`route`) against the actual URL (`segments`).\n *\n * When no matcher is defined on a `Route`, this is the matcher used by the Router by default.\n *\n * @param segments The remaining unmatched segments in the current navigation\n * @param segmentGroup The current segment group being matched\n * @param route The `Route` to match against.\n *\n * @see UrlMatchResult\n * @see Route\n *\n * @returns The resulting match information or `null` if the `route` should not match.\n * @publicApi\n */\n\n\nfunction defaultUrlMatcher(segments, segmentGroup, route) {\n const parts = route.path.split('/');\n\n if (parts.length > segments.length) {\n // The actual URL is shorter than the config, no match\n return null;\n }\n\n if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || parts.length < segments.length)) {\n // The config is longer than the actual URL but we are looking for a full match, return null\n return null;\n }\n\n const posParams = {}; // Check each config part against the actual URL\n\n for (let index = 0; index < parts.length; index++) {\n const part = parts[index];\n const segment = segments[index];\n const isParameter = part.startsWith(':');\n\n if (isParameter) {\n posParams[part.substring(1)] = segment;\n } else if (part !== segment.path) {\n // The actual URL part does not match the config, no match\n return null;\n }\n }\n\n return {\n consumed: segments.slice(0, parts.length),\n posParams\n };\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nfunction shallowEqualArrays(a, b) {\n if (a.length !== b.length) return false;\n\n for (let i = 0; i < a.length; ++i) {\n if (!shallowEqual(a[i], b[i])) return false;\n }\n\n return true;\n}\n\nfunction shallowEqual(a, b) {\n // While `undefined` should never be possible, it would sometimes be the case in IE 11\n // and pre-chromium Edge. The check below accounts for this edge case.\n const k1 = a ? Object.keys(a) : undefined;\n const k2 = b ? Object.keys(b) : undefined;\n\n if (!k1 || !k2 || k1.length != k2.length) {\n return false;\n }\n\n let key;\n\n for (let i = 0; i < k1.length; i++) {\n key = k1[i];\n\n if (!equalArraysOrString(a[key], b[key])) {\n return false;\n }\n }\n\n return true;\n}\n/**\n * Test equality for arrays of strings or a string.\n */\n\n\nfunction equalArraysOrString(a, b) {\n if (Array.isArray(a) && Array.isArray(b)) {\n if (a.length !== b.length) return false;\n const aSorted = [...a].sort();\n const bSorted = [...b].sort();\n return aSorted.every((val, index) => bSorted[index] === val);\n } else {\n return a === b;\n }\n}\n/**\n * Flattens single-level nested arrays.\n */\n\n\nfunction flatten(arr) {\n return Array.prototype.concat.apply([], arr);\n}\n/**\n * Return the last element of an array.\n */\n\n\nfunction last(a) {\n return a.length > 0 ? a[a.length - 1] : null;\n}\n/**\n * Verifys all booleans in an array are `true`.\n */\n\n\nfunction and(bools) {\n return !bools.some(v => !v);\n}\n\nfunction forEach(map, callback) {\n for (const prop in map) {\n if (map.hasOwnProperty(prop)) {\n callback(map[prop], prop);\n }\n }\n}\n\nfunction wrapIntoObservable(value) {\n if (ɵisObservable(value)) {\n return value;\n }\n\n if (ɵisPromise(value)) {\n // Use `Promise.resolve()` to wrap promise-like instances.\n // Required ie when a Resolver returns a AngularJS `$q` promise to correctly trigger the\n // change detection.\n return from(Promise.resolve(value));\n }\n\n return of(value);\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nconst NG_DEV_MODE$9 = typeof ngDevMode === 'undefined' || ngDevMode;\n\nfunction createEmptyUrlTree() {\n return new UrlTree(new UrlSegmentGroup([], {}), {}, null);\n}\n\nconst pathCompareMap = {\n 'exact': equalSegmentGroups,\n 'subset': containsSegmentGroup\n};\nconst paramCompareMap = {\n 'exact': equalParams,\n 'subset': containsParams,\n 'ignored': () => true\n};\n\nfunction containsTree(container, containee, options) {\n return pathCompareMap[options.paths](container.root, containee.root, options.matrixParams) && paramCompareMap[options.queryParams](container.queryParams, containee.queryParams) && !(options.fragment === 'exact' && container.fragment !== containee.fragment);\n}\n\nfunction equalParams(container, containee) {\n // TODO: This does not handle array params correctly.\n return shallowEqual(container, containee);\n}\n\nfunction equalSegmentGroups(container, containee, matrixParams) {\n if (!equalPath(container.segments, containee.segments)) return false;\n\n if (!matrixParamsMatch(container.segments, containee.segments, matrixParams)) {\n return false;\n }\n\n if (container.numberOfChildren !== containee.numberOfChildren) return false;\n\n for (const c in containee.children) {\n if (!container.children[c]) return false;\n if (!equalSegmentGroups(container.children[c], containee.children[c], matrixParams)) return false;\n }\n\n return true;\n}\n\nfunction containsParams(container, containee) {\n return Object.keys(containee).length <= Object.keys(container).length && Object.keys(containee).every(key => equalArraysOrString(container[key], containee[key]));\n}\n\nfunction containsSegmentGroup(container, containee, matrixParams) {\n return containsSegmentGroupHelper(container, containee, containee.segments, matrixParams);\n}\n\nfunction containsSegmentGroupHelper(container, containee, containeePaths, matrixParams) {\n if (container.segments.length > containeePaths.length) {\n const current = container.segments.slice(0, containeePaths.length);\n if (!equalPath(current, containeePaths)) return false;\n if (containee.hasChildren()) return false;\n if (!matrixParamsMatch(current, containeePaths, matrixParams)) return false;\n return true;\n } else if (container.segments.length === containeePaths.length) {\n if (!equalPath(container.segments, containeePaths)) return false;\n if (!matrixParamsMatch(container.segments, containeePaths, matrixParams)) return false;\n\n for (const c in containee.children) {\n if (!container.children[c]) return false;\n\n if (!containsSegmentGroup(container.children[c], containee.children[c], matrixParams)) {\n return false;\n }\n }\n\n return true;\n } else {\n const current = containeePaths.slice(0, container.segments.length);\n const next = containeePaths.slice(container.segments.length);\n if (!equalPath(container.segments, current)) return false;\n if (!matrixParamsMatch(container.segments, current, matrixParams)) return false;\n if (!container.children[PRIMARY_OUTLET]) return false;\n return containsSegmentGroupHelper(container.children[PRIMARY_OUTLET], containee, next, matrixParams);\n }\n}\n\nfunction matrixParamsMatch(containerPaths, containeePaths, options) {\n return containeePaths.every((containeeSegment, i) => {\n return paramCompareMap[options](containerPaths[i].parameters, containeeSegment.parameters);\n });\n}\n/**\n * @description\n *\n * Represents the parsed URL.\n *\n * Since a router state is a tree, and the URL is nothing but a serialized state, the URL is a\n * serialized tree.\n * UrlTree is a data structure that provides a lot of affordances in dealing with URLs\n *\n * @usageNotes\n * ### Example\n *\n * ```\n * @Component({templateUrl:'template.html'})\n * class MyComponent {\n * constructor(router: Router) {\n * const tree: UrlTree =\n * router.parseUrl('/team/33/(user/victor//support:help)?debug=true#fragment');\n * const f = tree.fragment; // return 'fragment'\n * const q = tree.queryParams; // returns {debug: 'true'}\n * const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];\n * const s: UrlSegment[] = g.segments; // returns 2 segments 'team' and '33'\n * g.children[PRIMARY_OUTLET].segments; // returns 2 segments 'user' and 'victor'\n * g.children['support'].segments; // return 1 segment 'help'\n * }\n * }\n * ```\n *\n * @publicApi\n */\n\n\nclass UrlTree {\n /** @internal */\n constructor(\n /** The root segment group of the URL tree */\n root,\n /** The query params of the URL */\n queryParams,\n /** The fragment of the URL */\n fragment) {\n this.root = root;\n this.queryParams = queryParams;\n this.fragment = fragment;\n }\n\n get queryParamMap() {\n if (!this._queryParamMap) {\n this._queryParamMap = convertToParamMap(this.queryParams);\n }\n\n return this._queryParamMap;\n }\n /** @docsNotRequired */\n\n\n toString() {\n return DEFAULT_SERIALIZER.serialize(this);\n }\n\n}\n/**\n * @description\n *\n * Represents the parsed URL segment group.\n *\n * See `UrlTree` for more information.\n *\n * @publicApi\n */\n\n\nclass UrlSegmentGroup {\n constructor(\n /** The URL segments of this group. See `UrlSegment` for more information */\n segments,\n /** The list of children of this group */\n children) {\n this.segments = segments;\n this.children = children;\n /** The parent node in the url tree */\n\n this.parent = null;\n forEach(children, (v, k) => v.parent = this);\n }\n /** Whether the segment has child segments */\n\n\n hasChildren() {\n return this.numberOfChildren > 0;\n }\n /** Number of child segments */\n\n\n get numberOfChildren() {\n return Object.keys(this.children).length;\n }\n /** @docsNotRequired */\n\n\n toString() {\n return serializePaths(this);\n }\n\n}\n/**\n * @description\n *\n * Represents a single URL segment.\n *\n * A UrlSegment is a part of a URL between the two slashes. It contains a path and the matrix\n * parameters associated with the segment.\n *\n * @usageNotes\n * ### Example\n *\n * ```\n * @Component({templateUrl:'template.html'})\n * class MyComponent {\n * constructor(router: Router) {\n * const tree: UrlTree = router.parseUrl('/team;id=33');\n * const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];\n * const s: UrlSegment[] = g.segments;\n * s[0].path; // returns 'team'\n * s[0].parameters; // returns {id: 33}\n * }\n * }\n * ```\n *\n * @publicApi\n */\n\n\nclass UrlSegment {\n constructor(\n /** The path part of a URL segment */\n path,\n /** The matrix parameters associated with a segment */\n parameters) {\n this.path = path;\n this.parameters = parameters;\n }\n\n get parameterMap() {\n if (!this._parameterMap) {\n this._parameterMap = convertToParamMap(this.parameters);\n }\n\n return this._parameterMap;\n }\n /** @docsNotRequired */\n\n\n toString() {\n return serializePath(this);\n }\n\n}\n\nfunction equalSegments(as, bs) {\n return equalPath(as, bs) && as.every((a, i) => shallowEqual(a.parameters, bs[i].parameters));\n}\n\nfunction equalPath(as, bs) {\n if (as.length !== bs.length) return false;\n return as.every((a, i) => a.path === bs[i].path);\n}\n\nfunction mapChildrenIntoArray(segment, fn) {\n let res = [];\n forEach(segment.children, (child, childOutlet) => {\n if (childOutlet === PRIMARY_OUTLET) {\n res = res.concat(fn(child, childOutlet));\n }\n });\n forEach(segment.children, (child, childOutlet) => {\n if (childOutlet !== PRIMARY_OUTLET) {\n res = res.concat(fn(child, childOutlet));\n }\n });\n return res;\n}\n/**\n * @description\n *\n * Serializes and deserializes a URL string into a URL tree.\n *\n * The url serialization strategy is customizable. You can\n * make all URLs case insensitive by providing a custom UrlSerializer.\n *\n * See `DefaultUrlSerializer` for an example of a URL serializer.\n *\n * @publicApi\n */\n\n\nlet UrlSerializer = /*#__PURE__*/(() => {\n class UrlSerializer {}\n\n UrlSerializer.ɵfac = function UrlSerializer_Factory(t) {\n return new (t || UrlSerializer)();\n };\n\n UrlSerializer.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: UrlSerializer,\n factory: function () {\n return (() => new DefaultUrlSerializer())();\n },\n providedIn: 'root'\n });\n return UrlSerializer;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * @description\n *\n * A default implementation of the `UrlSerializer`.\n *\n * Example URLs:\n *\n * ```\n * /inbox/33(popup:compose)\n * /inbox/33;open=true/messages/44\n * ```\n *\n * DefaultUrlSerializer uses parentheses to serialize secondary segments (e.g., popup:compose), the\n * colon syntax to specify the outlet, and the ';parameter=value' syntax (e.g., open=true) to\n * specify route specific parameters.\n *\n * @publicApi\n */\n\n\nclass DefaultUrlSerializer {\n /** Parses a url into a `UrlTree` */\n parse(url) {\n const p = new UrlParser(url);\n return new UrlTree(p.parseRootSegment(), p.parseQueryParams(), p.parseFragment());\n }\n /** Converts a `UrlTree` into a url */\n\n\n serialize(tree) {\n const segment = `/${serializeSegment(tree.root, true)}`;\n const query = serializeQueryParams(tree.queryParams);\n const fragment = typeof tree.fragment === `string` ? `#${encodeUriFragment(tree.fragment)}` : '';\n return `${segment}${query}${fragment}`;\n }\n\n}\n\nconst DEFAULT_SERIALIZER = /*#__PURE__*/new DefaultUrlSerializer();\n\nfunction serializePaths(segment) {\n return segment.segments.map(p => serializePath(p)).join('/');\n}\n\nfunction serializeSegment(segment, root) {\n if (!segment.hasChildren()) {\n return serializePaths(segment);\n }\n\n if (root) {\n const primary = segment.children[PRIMARY_OUTLET] ? serializeSegment(segment.children[PRIMARY_OUTLET], false) : '';\n const children = [];\n forEach(segment.children, (v, k) => {\n if (k !== PRIMARY_OUTLET) {\n children.push(`${k}:${serializeSegment(v, false)}`);\n }\n });\n return children.length > 0 ? `${primary}(${children.join('//')})` : primary;\n } else {\n const children = mapChildrenIntoArray(segment, (v, k) => {\n if (k === PRIMARY_OUTLET) {\n return [serializeSegment(segment.children[PRIMARY_OUTLET], false)];\n }\n\n return [`${k}:${serializeSegment(v, false)}`];\n }); // use no parenthesis if the only child is a primary outlet route\n\n if (Object.keys(segment.children).length === 1 && segment.children[PRIMARY_OUTLET] != null) {\n return `${serializePaths(segment)}/${children[0]}`;\n }\n\n return `${serializePaths(segment)}/(${children.join('//')})`;\n }\n}\n/**\n * Encodes a URI string with the default encoding. This function will only ever be called from\n * `encodeUriQuery` or `encodeUriSegment` as it's the base set of encodings to be used. We need\n * a custom encoding because encodeURIComponent is too aggressive and encodes stuff that doesn't\n * have to be encoded per https://url.spec.whatwg.org.\n */\n\n\nfunction encodeUriString(s) {\n return encodeURIComponent(s).replace(/%40/g, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',');\n}\n/**\n * This function should be used to encode both keys and values in a query string key/value. In\n * the following URL, you need to call encodeUriQuery on \"k\" and \"v\":\n *\n * http://www.site.org/html;mk=mv?k=v#f\n */\n\n\nfunction encodeUriQuery(s) {\n return encodeUriString(s).replace(/%3B/gi, ';');\n}\n/**\n * This function should be used to encode a URL fragment. In the following URL, you need to call\n * encodeUriFragment on \"f\":\n *\n * http://www.site.org/html;mk=mv?k=v#f\n */\n\n\nfunction encodeUriFragment(s) {\n return encodeURI(s);\n}\n/**\n * This function should be run on any URI segment as well as the key and value in a key/value\n * pair for matrix params. In the following URL, you need to call encodeUriSegment on \"html\",\n * \"mk\", and \"mv\":\n *\n * http://www.site.org/html;mk=mv?k=v#f\n */\n\n\nfunction encodeUriSegment(s) {\n return encodeUriString(s).replace(/\\(/g, '%28').replace(/\\)/g, '%29').replace(/%26/gi, '&');\n}\n\nfunction decode(s) {\n return decodeURIComponent(s);\n} // Query keys/values should have the \"+\" replaced first, as \"+\" in a query string is \" \".\n// decodeURIComponent function will not decode \"+\" as a space.\n\n\nfunction decodeQuery(s) {\n return decode(s.replace(/\\+/g, '%20'));\n}\n\nfunction serializePath(path) {\n return `${encodeUriSegment(path.path)}${serializeMatrixParams(path.parameters)}`;\n}\n\nfunction serializeMatrixParams(params) {\n return Object.keys(params).map(key => `;${encodeUriSegment(key)}=${encodeUriSegment(params[key])}`).join('');\n}\n\nfunction serializeQueryParams(params) {\n const strParams = Object.keys(params).map(name => {\n const value = params[name];\n return Array.isArray(value) ? value.map(v => `${encodeUriQuery(name)}=${encodeUriQuery(v)}`).join('&') : `${encodeUriQuery(name)}=${encodeUriQuery(value)}`;\n }).filter(s => !!s);\n return strParams.length ? `?${strParams.join('&')}` : '';\n}\n\nconst SEGMENT_RE = /^[^\\/()?;=#]+/;\n\nfunction matchSegments(str) {\n const match = str.match(SEGMENT_RE);\n return match ? match[0] : '';\n}\n\nconst QUERY_PARAM_RE = /^[^=?&#]+/; // Return the name of the query param at the start of the string or an empty string\n\nfunction matchQueryParams(str) {\n const match = str.match(QUERY_PARAM_RE);\n return match ? match[0] : '';\n}\n\nconst QUERY_PARAM_VALUE_RE = /^[^&#]+/; // Return the value of the query param at the start of the string or an empty string\n\nfunction matchUrlQueryParamValue(str) {\n const match = str.match(QUERY_PARAM_VALUE_RE);\n return match ? match[0] : '';\n}\n\nclass UrlParser {\n constructor(url) {\n this.url = url;\n this.remaining = url;\n }\n\n parseRootSegment() {\n this.consumeOptional('/');\n\n if (this.remaining === '' || this.peekStartsWith('?') || this.peekStartsWith('#')) {\n return new UrlSegmentGroup([], {});\n } // The root segment group never has segments\n\n\n return new UrlSegmentGroup([], this.parseChildren());\n }\n\n parseQueryParams() {\n const params = {};\n\n if (this.consumeOptional('?')) {\n do {\n this.parseQueryParam(params);\n } while (this.consumeOptional('&'));\n }\n\n return params;\n }\n\n parseFragment() {\n return this.consumeOptional('#') ? decodeURIComponent(this.remaining) : null;\n }\n\n parseChildren() {\n if (this.remaining === '') {\n return {};\n }\n\n this.consumeOptional('/');\n const segments = [];\n\n if (!this.peekStartsWith('(')) {\n segments.push(this.parseSegment());\n }\n\n while (this.peekStartsWith('/') && !this.peekStartsWith('//') && !this.peekStartsWith('/(')) {\n this.capture('/');\n segments.push(this.parseSegment());\n }\n\n let children = {};\n\n if (this.peekStartsWith('/(')) {\n this.capture('/');\n children = this.parseParens(true);\n }\n\n let res = {};\n\n if (this.peekStartsWith('(')) {\n res = this.parseParens(false);\n }\n\n if (segments.length > 0 || Object.keys(children).length > 0) {\n res[PRIMARY_OUTLET] = new UrlSegmentGroup(segments, children);\n }\n\n return res;\n } // parse a segment with its matrix parameters\n // ie `name;k1=v1;k2`\n\n\n parseSegment() {\n const path = matchSegments(this.remaining);\n\n if (path === '' && this.peekStartsWith(';')) {\n throw new ɵRuntimeError(4009\n /* RuntimeErrorCode.EMPTY_PATH_WITH_PARAMS */\n , NG_DEV_MODE$9 && `Empty path url segment cannot have parameters: '${this.remaining}'.`);\n }\n\n this.capture(path);\n return new UrlSegment(decode(path), this.parseMatrixParams());\n }\n\n parseMatrixParams() {\n const params = {};\n\n while (this.consumeOptional(';')) {\n this.parseParam(params);\n }\n\n return params;\n }\n\n parseParam(params) {\n const key = matchSegments(this.remaining);\n\n if (!key) {\n return;\n }\n\n this.capture(key);\n let value = '';\n\n if (this.consumeOptional('=')) {\n const valueMatch = matchSegments(this.remaining);\n\n if (valueMatch) {\n value = valueMatch;\n this.capture(value);\n }\n }\n\n params[decode(key)] = decode(value);\n } // Parse a single query parameter `name[=value]`\n\n\n parseQueryParam(params) {\n const key = matchQueryParams(this.remaining);\n\n if (!key) {\n return;\n }\n\n this.capture(key);\n let value = '';\n\n if (this.consumeOptional('=')) {\n const valueMatch = matchUrlQueryParamValue(this.remaining);\n\n if (valueMatch) {\n value = valueMatch;\n this.capture(value);\n }\n }\n\n const decodedKey = decodeQuery(key);\n const decodedVal = decodeQuery(value);\n\n if (params.hasOwnProperty(decodedKey)) {\n // Append to existing values\n let currentVal = params[decodedKey];\n\n if (!Array.isArray(currentVal)) {\n currentVal = [currentVal];\n params[decodedKey] = currentVal;\n }\n\n currentVal.push(decodedVal);\n } else {\n // Create a new value\n params[decodedKey] = decodedVal;\n }\n } // parse `(a/b//outlet_name:c/d)`\n\n\n parseParens(allowPrimary) {\n const segments = {};\n this.capture('(');\n\n while (!this.consumeOptional(')') && this.remaining.length > 0) {\n const path = matchSegments(this.remaining);\n const next = this.remaining[path.length]; // if is is not one of these characters, then the segment was unescaped\n // or the group was not closed\n\n if (next !== '/' && next !== ')' && next !== ';') {\n throw new ɵRuntimeError(4010\n /* RuntimeErrorCode.UNPARSABLE_URL */\n , NG_DEV_MODE$9 && `Cannot parse url '${this.url}'`);\n }\n\n let outletName = undefined;\n\n if (path.indexOf(':') > -1) {\n outletName = path.slice(0, path.indexOf(':'));\n this.capture(outletName);\n this.capture(':');\n } else if (allowPrimary) {\n outletName = PRIMARY_OUTLET;\n }\n\n const children = this.parseChildren();\n segments[outletName] = Object.keys(children).length === 1 ? children[PRIMARY_OUTLET] : new UrlSegmentGroup([], children);\n this.consumeOptional('//');\n }\n\n return segments;\n }\n\n peekStartsWith(str) {\n return this.remaining.startsWith(str);\n } // Consumes the prefix when it is present and returns whether it has been consumed\n\n\n consumeOptional(str) {\n if (this.peekStartsWith(str)) {\n this.remaining = this.remaining.substring(str.length);\n return true;\n }\n\n return false;\n }\n\n capture(str) {\n if (!this.consumeOptional(str)) {\n throw new ɵRuntimeError(4011\n /* RuntimeErrorCode.UNEXPECTED_VALUE_IN_URL */\n , NG_DEV_MODE$9 && `Expected \"${str}\".`);\n }\n }\n\n}\n\nfunction createRoot(rootCandidate) {\n return rootCandidate.segments.length > 0 ? new UrlSegmentGroup([], {\n [PRIMARY_OUTLET]: rootCandidate\n }) : rootCandidate;\n}\n/**\n * Recursively merges primary segment children into their parents and also drops empty children\n * (those which have no segments and no children themselves). The latter prevents serializing a\n * group into something like `/a(aux:)`, where `aux` is an empty child segment.\n */\n\n\nfunction squashSegmentGroup(segmentGroup) {\n const newChildren = {};\n\n for (const childOutlet of Object.keys(segmentGroup.children)) {\n const child = segmentGroup.children[childOutlet];\n const childCandidate = squashSegmentGroup(child); // don't add empty children\n\n if (childCandidate.segments.length > 0 || childCandidate.hasChildren()) {\n newChildren[childOutlet] = childCandidate;\n }\n }\n\n const s = new UrlSegmentGroup(segmentGroup.segments, newChildren);\n return mergeTrivialChildren(s);\n}\n/**\n * When possible, merges the primary outlet child into the parent `UrlSegmentGroup`.\n *\n * When a segment group has only one child which is a primary outlet, merges that child into the\n * parent. That is, the child segment group's segments are merged into the `s` and the child's\n * children become the children of `s`. Think of this like a 'squash', merging the child segment\n * group into the parent.\n */\n\n\nfunction mergeTrivialChildren(s) {\n if (s.numberOfChildren === 1 && s.children[PRIMARY_OUTLET]) {\n const c = s.children[PRIMARY_OUTLET];\n return new UrlSegmentGroup(s.segments.concat(c.segments), c.children);\n }\n\n return s;\n}\n\nfunction isUrlTree(v) {\n return v instanceof UrlTree;\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nconst NG_DEV_MODE$8 = typeof ngDevMode === 'undefined' || ngDevMode;\n/**\n * Creates a `UrlTree` relative to an `ActivatedRouteSnapshot`.\n *\n * @publicApi\n *\n *\n * @param relativeTo The `ActivatedRouteSnapshot` to apply the commands to\n * @param commands An array of URL fragments with which to construct the new URL tree.\n * If the path is static, can be the literal URL string. For a dynamic path, pass an array of path\n * segments, followed by the parameters for each segment.\n * The fragments are applied to the one provided in the `relativeTo` parameter.\n * @param queryParams The query parameters for the `UrlTree`. `null` if the `UrlTree` does not have\n * any query parameters.\n * @param fragment The fragment for the `UrlTree`. `null` if the `UrlTree` does not have a fragment.\n *\n * @usageNotes\n *\n * ```\n * // create /team/33/user/11\n * createUrlTreeFromSnapshot(snapshot, ['/team', 33, 'user', 11]);\n *\n * // create /team/33;expand=true/user/11\n * createUrlTreeFromSnapshot(snapshot, ['/team', 33, {expand: true}, 'user', 11]);\n *\n * // you can collapse static segments like this (this works only with the first passed-in value):\n * createUrlTreeFromSnapshot(snapshot, ['/team/33/user', userId]);\n *\n * // If the first segment can contain slashes, and you do not want the router to split it,\n * // you can do the following:\n * createUrlTreeFromSnapshot(snapshot, [{segmentPath: '/one/two'}]);\n *\n * // create /team/33/(user/11//right:chat)\n * createUrlTreeFromSnapshot(snapshot, ['/team', 33, {outlets: {primary: 'user/11', right:\n * 'chat'}}], null, null);\n *\n * // remove the right secondary node\n * createUrlTreeFromSnapshot(snapshot, ['/team', 33, {outlets: {primary: 'user/11', right: null}}]);\n *\n * // For the examples below, assume the current URL is for the `/team/33/user/11` and the\n * `ActivatedRouteSnapshot` points to `user/11`:\n *\n * // navigate to /team/33/user/11/details\n * createUrlTreeFromSnapshot(snapshot, ['details']);\n *\n * // navigate to /team/33/user/22\n * createUrlTreeFromSnapshot(snapshot, ['../22']);\n *\n * // navigate to /team/44/user/22\n * createUrlTreeFromSnapshot(snapshot, ['../../team/44/user/22']);\n * ```\n */\n\nfunction createUrlTreeFromSnapshot(relativeTo, commands, queryParams = null, fragment = null) {\n const relativeToUrlSegmentGroup = createSegmentGroupFromRoute(relativeTo);\n return createUrlTreeFromSegmentGroup(relativeToUrlSegmentGroup, commands, queryParams, fragment);\n}\n\nfunction createSegmentGroupFromRoute(route) {\n let targetGroup;\n\n function createSegmentGroupFromRouteRecursive(currentRoute) {\n const childOutlets = {};\n\n for (const childSnapshot of currentRoute.children) {\n const root = createSegmentGroupFromRouteRecursive(childSnapshot);\n childOutlets[childSnapshot.outlet] = root;\n }\n\n const segmentGroup = new UrlSegmentGroup(currentRoute.url, childOutlets);\n\n if (currentRoute === route) {\n targetGroup = segmentGroup;\n }\n\n return segmentGroup;\n }\n\n const rootCandidate = createSegmentGroupFromRouteRecursive(route.root);\n const rootSegmentGroup = createRoot(rootCandidate);\n return targetGroup !== null && targetGroup !== void 0 ? targetGroup : rootSegmentGroup;\n}\n\nfunction createUrlTreeFromSegmentGroup(relativeTo, commands, queryParams, fragment) {\n let root = relativeTo;\n\n while (root.parent) {\n root = root.parent;\n } // There are no commands so the `UrlTree` goes to the same path as the one created from the\n // `UrlSegmentGroup`. All we need to do is update the `queryParams` and `fragment` without\n // applying any other logic.\n\n\n if (commands.length === 0) {\n return tree(root, root, root, queryParams, fragment);\n }\n\n const nav = computeNavigation(commands);\n\n if (nav.toRoot()) {\n return tree(root, root, new UrlSegmentGroup([], {}), queryParams, fragment);\n }\n\n const position = findStartingPositionForTargetGroup(nav, root, relativeTo);\n const newSegmentGroup = position.processChildren ? updateSegmentGroupChildren(position.segmentGroup, position.index, nav.commands) : updateSegmentGroup(position.segmentGroup, position.index, nav.commands);\n return tree(root, position.segmentGroup, newSegmentGroup, queryParams, fragment);\n}\n\nfunction createUrlTree(route, urlTree, commands, queryParams, fragment) {\n var _a, _b;\n\n if (commands.length === 0) {\n return tree(urlTree.root, urlTree.root, urlTree.root, queryParams, fragment);\n }\n\n const nav = computeNavigation(commands);\n\n if (nav.toRoot()) {\n return tree(urlTree.root, urlTree.root, new UrlSegmentGroup([], {}), queryParams, fragment);\n }\n\n function createTreeUsingPathIndex(lastPathIndex) {\n var _a;\n\n const startingPosition = findStartingPosition(nav, urlTree, (_a = route.snapshot) === null || _a === void 0 ? void 0 : _a._urlSegment, lastPathIndex);\n const segmentGroup = startingPosition.processChildren ? updateSegmentGroupChildren(startingPosition.segmentGroup, startingPosition.index, nav.commands) : updateSegmentGroup(startingPosition.segmentGroup, startingPosition.index, nav.commands);\n return tree(urlTree.root, startingPosition.segmentGroup, segmentGroup, queryParams, fragment);\n } // Note: The types should disallow `snapshot` from being `undefined` but due to test mocks, this\n // may be the case. Since we try to access it at an earlier point before the refactor to add the\n // warning for `relativeLinkResolution: 'legacy'`, this may cause failures in tests where it\n // didn't before.\n\n\n const result = createTreeUsingPathIndex((_a = route.snapshot) === null || _a === void 0 ? void 0 : _a._lastPathIndex); // Check if application is relying on `relativeLinkResolution: 'legacy'`\n\n if (typeof ngDevMode === 'undefined' || !!ngDevMode) {\n const correctedResult = createTreeUsingPathIndex((_b = route.snapshot) === null || _b === void 0 ? void 0 : _b._correctedLastPathIndex);\n\n if (correctedResult.toString() !== result.toString()) {\n console.warn(`relativeLinkResolution: 'legacy' is deprecated and will be removed in a future version of Angular. The link to ${result.toString()} will change to ${correctedResult.toString()} if the code is not updated before then.`);\n }\n }\n\n return result;\n}\n\nfunction isMatrixParams(command) {\n return typeof command === 'object' && command != null && !command.outlets && !command.segmentPath;\n}\n/**\n * Determines if a given command has an `outlets` map. When we encounter a command\n * with an outlets k/v map, we need to apply each outlet individually to the existing segment.\n */\n\n\nfunction isCommandWithOutlets(command) {\n return typeof command === 'object' && command != null && command.outlets;\n}\n\nfunction tree(oldRoot, oldSegmentGroup, newSegmentGroup, queryParams, fragment) {\n let qp = {};\n\n if (queryParams) {\n forEach(queryParams, (value, name) => {\n qp[name] = Array.isArray(value) ? value.map(v => `${v}`) : `${value}`;\n });\n }\n\n let rootCandidate;\n\n if (oldRoot === oldSegmentGroup) {\n rootCandidate = newSegmentGroup;\n } else {\n rootCandidate = replaceSegment(oldRoot, oldSegmentGroup, newSegmentGroup);\n }\n\n const newRoot = createRoot(squashSegmentGroup(rootCandidate));\n return new UrlTree(newRoot, qp, fragment);\n}\n/**\n * Replaces the `oldSegment` which is located in some child of the `current` with the `newSegment`.\n * This also has the effect of creating new `UrlSegmentGroup` copies to update references. This\n * shouldn't be necessary but the fallback logic for an invalid ActivatedRoute in the creation uses\n * the Router's current url tree. If we don't create new segment groups, we end up modifying that\n * value.\n */\n\n\nfunction replaceSegment(current, oldSegment, newSegment) {\n const children = {};\n forEach(current.children, (c, outletName) => {\n if (c === oldSegment) {\n children[outletName] = newSegment;\n } else {\n children[outletName] = replaceSegment(c, oldSegment, newSegment);\n }\n });\n return new UrlSegmentGroup(current.segments, children);\n}\n\nclass Navigation {\n constructor(isAbsolute, numberOfDoubleDots, commands) {\n this.isAbsolute = isAbsolute;\n this.numberOfDoubleDots = numberOfDoubleDots;\n this.commands = commands;\n\n if (isAbsolute && commands.length > 0 && isMatrixParams(commands[0])) {\n throw new ɵRuntimeError(4003\n /* RuntimeErrorCode.ROOT_SEGMENT_MATRIX_PARAMS */\n , NG_DEV_MODE$8 && 'Root segment cannot have matrix parameters');\n }\n\n const cmdWithOutlet = commands.find(isCommandWithOutlets);\n\n if (cmdWithOutlet && cmdWithOutlet !== last(commands)) {\n throw new ɵRuntimeError(4004\n /* RuntimeErrorCode.MISPLACED_OUTLETS_COMMAND */\n , NG_DEV_MODE$8 && '{outlets:{}} has to be the last command');\n }\n }\n\n toRoot() {\n return this.isAbsolute && this.commands.length === 1 && this.commands[0] == '/';\n }\n\n}\n/** Transforms commands to a normalized `Navigation` */\n\n\nfunction computeNavigation(commands) {\n if (typeof commands[0] === 'string' && commands.length === 1 && commands[0] === '/') {\n return new Navigation(true, 0, commands);\n }\n\n let numberOfDoubleDots = 0;\n let isAbsolute = false;\n const res = commands.reduce((res, cmd, cmdIdx) => {\n if (typeof cmd === 'object' && cmd != null) {\n if (cmd.outlets) {\n const outlets = {};\n forEach(cmd.outlets, (commands, name) => {\n outlets[name] = typeof commands === 'string' ? commands.split('/') : commands;\n });\n return [...res, {\n outlets\n }];\n }\n\n if (cmd.segmentPath) {\n return [...res, cmd.segmentPath];\n }\n }\n\n if (!(typeof cmd === 'string')) {\n return [...res, cmd];\n }\n\n if (cmdIdx === 0) {\n cmd.split('/').forEach((urlPart, partIndex) => {\n if (partIndex == 0 && urlPart === '.') {// skip './a'\n } else if (partIndex == 0 && urlPart === '') {\n // '/a'\n isAbsolute = true;\n } else if (urlPart === '..') {\n // '../a'\n numberOfDoubleDots++;\n } else if (urlPart != '') {\n res.push(urlPart);\n }\n });\n return res;\n }\n\n return [...res, cmd];\n }, []);\n return new Navigation(isAbsolute, numberOfDoubleDots, res);\n}\n\nclass Position {\n constructor(segmentGroup, processChildren, index) {\n this.segmentGroup = segmentGroup;\n this.processChildren = processChildren;\n this.index = index;\n }\n\n}\n\nfunction findStartingPositionForTargetGroup(nav, root, target) {\n if (nav.isAbsolute) {\n return new Position(root, true, 0);\n }\n\n if (!target) {\n // `NaN` is used only to maintain backwards compatibility with incorrectly mocked\n // `ActivatedRouteSnapshot` in tests. In prior versions of this code, the position here was\n // determined based on an internal property that was rarely mocked, resulting in `NaN`. In\n // reality, this code path should _never_ be touched since `target` is not allowed to be falsey.\n return new Position(root, false, NaN);\n }\n\n if (target.parent === null) {\n return new Position(target, true, 0);\n }\n\n const modifier = isMatrixParams(nav.commands[0]) ? 0 : 1;\n const index = target.segments.length - 1 + modifier;\n return createPositionApplyingDoubleDots(target, index, nav.numberOfDoubleDots);\n}\n\nfunction findStartingPosition(nav, tree, segmentGroup, lastPathIndex) {\n if (nav.isAbsolute) {\n return new Position(tree.root, true, 0);\n }\n\n if (lastPathIndex === -1) {\n // Pathless ActivatedRoute has _lastPathIndex === -1 but should not process children\n // see issue #26224, #13011, #35687\n // However, if the ActivatedRoute is the root we should process children like above.\n const processChildren = segmentGroup === tree.root;\n return new Position(segmentGroup, processChildren, 0);\n }\n\n const modifier = isMatrixParams(nav.commands[0]) ? 0 : 1;\n const index = lastPathIndex + modifier;\n return createPositionApplyingDoubleDots(segmentGroup, index, nav.numberOfDoubleDots);\n}\n\nfunction createPositionApplyingDoubleDots(group, index, numberOfDoubleDots) {\n let g = group;\n let ci = index;\n let dd = numberOfDoubleDots;\n\n while (dd > ci) {\n dd -= ci;\n g = g.parent;\n\n if (!g) {\n throw new ɵRuntimeError(4005\n /* RuntimeErrorCode.INVALID_DOUBLE_DOTS */\n , NG_DEV_MODE$8 && 'Invalid number of \\'../\\'');\n }\n\n ci = g.segments.length;\n }\n\n return new Position(g, false, ci - dd);\n}\n\nfunction getOutlets(commands) {\n if (isCommandWithOutlets(commands[0])) {\n return commands[0].outlets;\n }\n\n return {\n [PRIMARY_OUTLET]: commands\n };\n}\n\nfunction updateSegmentGroup(segmentGroup, startIndex, commands) {\n if (!segmentGroup) {\n segmentGroup = new UrlSegmentGroup([], {});\n }\n\n if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n return updateSegmentGroupChildren(segmentGroup, startIndex, commands);\n }\n\n const m = prefixedWith(segmentGroup, startIndex, commands);\n const slicedCommands = commands.slice(m.commandIndex);\n\n if (m.match && m.pathIndex < segmentGroup.segments.length) {\n const g = new UrlSegmentGroup(segmentGroup.segments.slice(0, m.pathIndex), {});\n g.children[PRIMARY_OUTLET] = new UrlSegmentGroup(segmentGroup.segments.slice(m.pathIndex), segmentGroup.children);\n return updateSegmentGroupChildren(g, 0, slicedCommands);\n } else if (m.match && slicedCommands.length === 0) {\n return new UrlSegmentGroup(segmentGroup.segments, {});\n } else if (m.match && !segmentGroup.hasChildren()) {\n return createNewSegmentGroup(segmentGroup, startIndex, commands);\n } else if (m.match) {\n return updateSegmentGroupChildren(segmentGroup, 0, slicedCommands);\n } else {\n return createNewSegmentGroup(segmentGroup, startIndex, commands);\n }\n}\n\nfunction updateSegmentGroupChildren(segmentGroup, startIndex, commands) {\n if (commands.length === 0) {\n return new UrlSegmentGroup(segmentGroup.segments, {});\n } else {\n const outlets = getOutlets(commands);\n const children = {};\n forEach(outlets, (commands, outlet) => {\n if (typeof commands === 'string') {\n commands = [commands];\n }\n\n if (commands !== null) {\n children[outlet] = updateSegmentGroup(segmentGroup.children[outlet], startIndex, commands);\n }\n });\n forEach(segmentGroup.children, (child, childOutlet) => {\n if (outlets[childOutlet] === undefined) {\n children[childOutlet] = child;\n }\n });\n return new UrlSegmentGroup(segmentGroup.segments, children);\n }\n}\n\nfunction prefixedWith(segmentGroup, startIndex, commands) {\n let currentCommandIndex = 0;\n let currentPathIndex = startIndex;\n const noMatch = {\n match: false,\n pathIndex: 0,\n commandIndex: 0\n };\n\n while (currentPathIndex < segmentGroup.segments.length) {\n if (currentCommandIndex >= commands.length) return noMatch;\n const path = segmentGroup.segments[currentPathIndex];\n const command = commands[currentCommandIndex]; // Do not try to consume command as part of the prefixing if it has outlets because it can\n // contain outlets other than the one being processed. Consuming the outlets command would\n // result in other outlets being ignored.\n\n if (isCommandWithOutlets(command)) {\n break;\n }\n\n const curr = `${command}`;\n const next = currentCommandIndex < commands.length - 1 ? commands[currentCommandIndex + 1] : null;\n if (currentPathIndex > 0 && curr === undefined) break;\n\n if (curr && next && typeof next === 'object' && next.outlets === undefined) {\n if (!compare(curr, next, path)) return noMatch;\n currentCommandIndex += 2;\n } else {\n if (!compare(curr, {}, path)) return noMatch;\n currentCommandIndex++;\n }\n\n currentPathIndex++;\n }\n\n return {\n match: true,\n pathIndex: currentPathIndex,\n commandIndex: currentCommandIndex\n };\n}\n\nfunction createNewSegmentGroup(segmentGroup, startIndex, commands) {\n const paths = segmentGroup.segments.slice(0, startIndex);\n let i = 0;\n\n while (i < commands.length) {\n const command = commands[i];\n\n if (isCommandWithOutlets(command)) {\n const children = createNewSegmentChildren(command.outlets);\n return new UrlSegmentGroup(paths, children);\n } // if we start with an object literal, we need to reuse the path part from the segment\n\n\n if (i === 0 && isMatrixParams(commands[0])) {\n const p = segmentGroup.segments[startIndex];\n paths.push(new UrlSegment(p.path, stringify(commands[0])));\n i++;\n continue;\n }\n\n const curr = isCommandWithOutlets(command) ? command.outlets[PRIMARY_OUTLET] : `${command}`;\n const next = i < commands.length - 1 ? commands[i + 1] : null;\n\n if (curr && next && isMatrixParams(next)) {\n paths.push(new UrlSegment(curr, stringify(next)));\n i += 2;\n } else {\n paths.push(new UrlSegment(curr, {}));\n i++;\n }\n }\n\n return new UrlSegmentGroup(paths, {});\n}\n\nfunction createNewSegmentChildren(outlets) {\n const children = {};\n forEach(outlets, (commands, outlet) => {\n if (typeof commands === 'string') {\n commands = [commands];\n }\n\n if (commands !== null) {\n children[outlet] = createNewSegmentGroup(new UrlSegmentGroup([], {}), 0, commands);\n }\n });\n return children;\n}\n\nfunction stringify(params) {\n const res = {};\n forEach(params, (v, k) => res[k] = `${v}`);\n return res;\n}\n\nfunction compare(path, params, segment) {\n return path == segment.path && shallowEqual(params, segment.parameters);\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Base for events the router goes through, as opposed to events tied to a specific\n * route. Fired one time for any given navigation.\n *\n * The following code shows how a class subscribes to router events.\n *\n * ```ts\n * import {Event, RouterEvent, Router} from '@angular/router';\n *\n * class MyService {\n * constructor(public router: Router) {\n * router.events.pipe(\n * filter((e: Event): e is RouterEvent => e instanceof RouterEvent)\n * ).subscribe((e: RouterEvent) => {\n * // Do something\n * });\n * }\n * }\n * ```\n *\n * @see `Event`\n * @see [Router events summary](guide/router-reference#router-events)\n * @publicApi\n */\n\n\nclass RouterEvent {\n constructor(\n /** A unique ID that the router assigns to every router navigation. */\n id,\n /** The URL that is the destination for this navigation. */\n url) {\n this.id = id;\n this.url = url;\n }\n\n}\n/**\n * An event triggered when a navigation starts.\n *\n * @publicApi\n */\n\n\nclass NavigationStart extends RouterEvent {\n constructor(\n /** @docsNotRequired */\n id,\n /** @docsNotRequired */\n url,\n /** @docsNotRequired */\n navigationTrigger = 'imperative',\n /** @docsNotRequired */\n restoredState = null) {\n super(id, url);\n this.type = 0\n /* EventType.NavigationStart */\n ;\n this.navigationTrigger = navigationTrigger;\n this.restoredState = restoredState;\n }\n /** @docsNotRequired */\n\n\n toString() {\n return `NavigationStart(id: ${this.id}, url: '${this.url}')`;\n }\n\n}\n/**\n * An event triggered when a navigation ends successfully.\n *\n * @see `NavigationStart`\n * @see `NavigationCancel`\n * @see `NavigationError`\n *\n * @publicApi\n */\n\n\nclass NavigationEnd extends RouterEvent {\n constructor(\n /** @docsNotRequired */\n id,\n /** @docsNotRequired */\n url,\n /** @docsNotRequired */\n urlAfterRedirects) {\n super(id, url);\n this.urlAfterRedirects = urlAfterRedirects;\n this.type = 1\n /* EventType.NavigationEnd */\n ;\n }\n /** @docsNotRequired */\n\n\n toString() {\n return `NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`;\n }\n\n}\n/**\n * An event triggered when a navigation is canceled, directly or indirectly.\n * This can happen for several reasons including when a route guard\n * returns `false` or initiates a redirect by returning a `UrlTree`.\n *\n * @see `NavigationStart`\n * @see `NavigationEnd`\n * @see `NavigationError`\n *\n * @publicApi\n */\n\n\nclass NavigationCancel extends RouterEvent {\n constructor(\n /** @docsNotRequired */\n id,\n /** @docsNotRequired */\n url,\n /**\n * A description of why the navigation was cancelled. For debug purposes only. Use `code`\n * instead for a stable cancellation reason that can be used in production.\n */\n reason,\n /**\n * A code to indicate why the navigation was canceled. This cancellation code is stable for\n * the reason and can be relied on whereas the `reason` string could change and should not be\n * used in production.\n */\n code) {\n super(id, url);\n this.reason = reason;\n this.code = code;\n this.type = 2\n /* EventType.NavigationCancel */\n ;\n }\n /** @docsNotRequired */\n\n\n toString() {\n return `NavigationCancel(id: ${this.id}, url: '${this.url}')`;\n }\n\n}\n/**\n * An event triggered when a navigation fails due to an unexpected error.\n *\n * @see `NavigationStart`\n * @see `NavigationEnd`\n * @see `NavigationCancel`\n *\n * @publicApi\n */\n\n\nclass NavigationError extends RouterEvent {\n constructor(\n /** @docsNotRequired */\n id,\n /** @docsNotRequired */\n url,\n /** @docsNotRequired */\n error,\n /**\n * The target of the navigation when the error occurred.\n *\n * Note that this can be `undefined` because an error could have occurred before the\n * `RouterStateSnapshot` was created for the navigation.\n */\n target) {\n super(id, url);\n this.error = error;\n this.target = target;\n this.type = 3\n /* EventType.NavigationError */\n ;\n }\n /** @docsNotRequired */\n\n\n toString() {\n return `NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`;\n }\n\n}\n/**\n * An event triggered when routes are recognized.\n *\n * @publicApi\n */\n\n\nclass RoutesRecognized extends RouterEvent {\n constructor(\n /** @docsNotRequired */\n id,\n /** @docsNotRequired */\n url,\n /** @docsNotRequired */\n urlAfterRedirects,\n /** @docsNotRequired */\n state) {\n super(id, url);\n this.urlAfterRedirects = urlAfterRedirects;\n this.state = state;\n this.type = 4\n /* EventType.RoutesRecognized */\n ;\n }\n /** @docsNotRequired */\n\n\n toString() {\n return `RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n }\n\n}\n/**\n * An event triggered at the start of the Guard phase of routing.\n *\n * @see `GuardsCheckEnd`\n *\n * @publicApi\n */\n\n\nclass GuardsCheckStart extends RouterEvent {\n constructor(\n /** @docsNotRequired */\n id,\n /** @docsNotRequired */\n url,\n /** @docsNotRequired */\n urlAfterRedirects,\n /** @docsNotRequired */\n state) {\n super(id, url);\n this.urlAfterRedirects = urlAfterRedirects;\n this.state = state;\n this.type = 7\n /* EventType.GuardsCheckStart */\n ;\n }\n\n toString() {\n return `GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n }\n\n}\n/**\n * An event triggered at the end of the Guard phase of routing.\n *\n * @see `GuardsCheckStart`\n *\n * @publicApi\n */\n\n\nclass GuardsCheckEnd extends RouterEvent {\n constructor(\n /** @docsNotRequired */\n id,\n /** @docsNotRequired */\n url,\n /** @docsNotRequired */\n urlAfterRedirects,\n /** @docsNotRequired */\n state,\n /** @docsNotRequired */\n shouldActivate) {\n super(id, url);\n this.urlAfterRedirects = urlAfterRedirects;\n this.state = state;\n this.shouldActivate = shouldActivate;\n this.type = 8\n /* EventType.GuardsCheckEnd */\n ;\n }\n\n toString() {\n return `GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`;\n }\n\n}\n/**\n * An event triggered at the start of the Resolve phase of routing.\n *\n * Runs in the \"resolve\" phase whether or not there is anything to resolve.\n * In future, may change to only run when there are things to be resolved.\n *\n * @see `ResolveEnd`\n *\n * @publicApi\n */\n\n\nclass ResolveStart extends RouterEvent {\n constructor(\n /** @docsNotRequired */\n id,\n /** @docsNotRequired */\n url,\n /** @docsNotRequired */\n urlAfterRedirects,\n /** @docsNotRequired */\n state) {\n super(id, url);\n this.urlAfterRedirects = urlAfterRedirects;\n this.state = state;\n this.type = 5\n /* EventType.ResolveStart */\n ;\n }\n\n toString() {\n return `ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n }\n\n}\n/**\n * An event triggered at the end of the Resolve phase of routing.\n * @see `ResolveStart`.\n *\n * @publicApi\n */\n\n\nclass ResolveEnd extends RouterEvent {\n constructor(\n /** @docsNotRequired */\n id,\n /** @docsNotRequired */\n url,\n /** @docsNotRequired */\n urlAfterRedirects,\n /** @docsNotRequired */\n state) {\n super(id, url);\n this.urlAfterRedirects = urlAfterRedirects;\n this.state = state;\n this.type = 6\n /* EventType.ResolveEnd */\n ;\n }\n\n toString() {\n return `ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;\n }\n\n}\n/**\n * An event triggered before lazy loading a route configuration.\n *\n * @see `RouteConfigLoadEnd`\n *\n * @publicApi\n */\n\n\nclass RouteConfigLoadStart {\n constructor(\n /** @docsNotRequired */\n route) {\n this.route = route;\n this.type = 9\n /* EventType.RouteConfigLoadStart */\n ;\n }\n\n toString() {\n return `RouteConfigLoadStart(path: ${this.route.path})`;\n }\n\n}\n/**\n * An event triggered when a route has been lazy loaded.\n *\n * @see `RouteConfigLoadStart`\n *\n * @publicApi\n */\n\n\nclass RouteConfigLoadEnd {\n constructor(\n /** @docsNotRequired */\n route) {\n this.route = route;\n this.type = 10\n /* EventType.RouteConfigLoadEnd */\n ;\n }\n\n toString() {\n return `RouteConfigLoadEnd(path: ${this.route.path})`;\n }\n\n}\n/**\n * An event triggered at the start of the child-activation\n * part of the Resolve phase of routing.\n * @see `ChildActivationEnd`\n * @see `ResolveStart`\n *\n * @publicApi\n */\n\n\nclass ChildActivationStart {\n constructor(\n /** @docsNotRequired */\n snapshot) {\n this.snapshot = snapshot;\n this.type = 11\n /* EventType.ChildActivationStart */\n ;\n }\n\n toString() {\n const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n return `ChildActivationStart(path: '${path}')`;\n }\n\n}\n/**\n * An event triggered at the end of the child-activation part\n * of the Resolve phase of routing.\n * @see `ChildActivationStart`\n * @see `ResolveStart`\n * @publicApi\n */\n\n\nclass ChildActivationEnd {\n constructor(\n /** @docsNotRequired */\n snapshot) {\n this.snapshot = snapshot;\n this.type = 12\n /* EventType.ChildActivationEnd */\n ;\n }\n\n toString() {\n const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n return `ChildActivationEnd(path: '${path}')`;\n }\n\n}\n/**\n * An event triggered at the start of the activation part\n * of the Resolve phase of routing.\n * @see `ActivationEnd`\n * @see `ResolveStart`\n *\n * @publicApi\n */\n\n\nclass ActivationStart {\n constructor(\n /** @docsNotRequired */\n snapshot) {\n this.snapshot = snapshot;\n this.type = 13\n /* EventType.ActivationStart */\n ;\n }\n\n toString() {\n const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n return `ActivationStart(path: '${path}')`;\n }\n\n}\n/**\n * An event triggered at the end of the activation part\n * of the Resolve phase of routing.\n * @see `ActivationStart`\n * @see `ResolveStart`\n *\n * @publicApi\n */\n\n\nclass ActivationEnd {\n constructor(\n /** @docsNotRequired */\n snapshot) {\n this.snapshot = snapshot;\n this.type = 14\n /* EventType.ActivationEnd */\n ;\n }\n\n toString() {\n const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';\n return `ActivationEnd(path: '${path}')`;\n }\n\n}\n/**\n * An event triggered by scrolling.\n *\n * @publicApi\n */\n\n\nclass Scroll {\n constructor(\n /** @docsNotRequired */\n routerEvent,\n /** @docsNotRequired */\n position,\n /** @docsNotRequired */\n anchor) {\n this.routerEvent = routerEvent;\n this.position = position;\n this.anchor = anchor;\n this.type = 15\n /* EventType.Scroll */\n ;\n }\n\n toString() {\n const pos = this.position ? `${this.position[0]}, ${this.position[1]}` : null;\n return `Scroll(anchor: '${this.anchor}', position: '${pos}')`;\n }\n\n}\n\nfunction stringifyEvent(routerEvent) {\n var _a, _b, _c, _d;\n\n if (!('type' in routerEvent)) {\n return `Unknown Router Event: ${routerEvent.constructor.name}`;\n }\n\n switch (routerEvent.type) {\n case 14\n /* EventType.ActivationEnd */\n :\n return `ActivationEnd(path: '${((_a = routerEvent.snapshot.routeConfig) === null || _a === void 0 ? void 0 : _a.path) || ''}')`;\n\n case 13\n /* EventType.ActivationStart */\n :\n return `ActivationStart(path: '${((_b = routerEvent.snapshot.routeConfig) === null || _b === void 0 ? void 0 : _b.path) || ''}')`;\n\n case 12\n /* EventType.ChildActivationEnd */\n :\n return `ChildActivationEnd(path: '${((_c = routerEvent.snapshot.routeConfig) === null || _c === void 0 ? void 0 : _c.path) || ''}')`;\n\n case 11\n /* EventType.ChildActivationStart */\n :\n return `ChildActivationStart(path: '${((_d = routerEvent.snapshot.routeConfig) === null || _d === void 0 ? void 0 : _d.path) || ''}')`;\n\n case 8\n /* EventType.GuardsCheckEnd */\n :\n return `GuardsCheckEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state}, shouldActivate: ${routerEvent.shouldActivate})`;\n\n case 7\n /* EventType.GuardsCheckStart */\n :\n return `GuardsCheckStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;\n\n case 2\n /* EventType.NavigationCancel */\n :\n return `NavigationCancel(id: ${routerEvent.id}, url: '${routerEvent.url}')`;\n\n case 1\n /* EventType.NavigationEnd */\n :\n return `NavigationEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}')`;\n\n case 3\n /* EventType.NavigationError */\n :\n return `NavigationError(id: ${routerEvent.id}, url: '${routerEvent.url}', error: ${routerEvent.error})`;\n\n case 0\n /* EventType.NavigationStart */\n :\n return `NavigationStart(id: ${routerEvent.id}, url: '${routerEvent.url}')`;\n\n case 6\n /* EventType.ResolveEnd */\n :\n return `ResolveEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;\n\n case 5\n /* EventType.ResolveStart */\n :\n return `ResolveStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;\n\n case 10\n /* EventType.RouteConfigLoadEnd */\n :\n return `RouteConfigLoadEnd(path: ${routerEvent.route.path})`;\n\n case 9\n /* EventType.RouteConfigLoadStart */\n :\n return `RouteConfigLoadStart(path: ${routerEvent.route.path})`;\n\n case 4\n /* EventType.RoutesRecognized */\n :\n return `RoutesRecognized(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;\n\n case 15\n /* EventType.Scroll */\n :\n const pos = routerEvent.position ? `${routerEvent.position[0]}, ${routerEvent.position[1]}` : null;\n return `Scroll(anchor: '${routerEvent.anchor}', position: '${pos}')`;\n }\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nclass Tree {\n constructor(root) {\n this._root = root;\n }\n\n get root() {\n return this._root.value;\n }\n /**\n * @internal\n */\n\n\n parent(t) {\n const p = this.pathFromRoot(t);\n return p.length > 1 ? p[p.length - 2] : null;\n }\n /**\n * @internal\n */\n\n\n children(t) {\n const n = findNode(t, this._root);\n return n ? n.children.map(t => t.value) : [];\n }\n /**\n * @internal\n */\n\n\n firstChild(t) {\n const n = findNode(t, this._root);\n return n && n.children.length > 0 ? n.children[0].value : null;\n }\n /**\n * @internal\n */\n\n\n siblings(t) {\n const p = findPath(t, this._root);\n if (p.length < 2) return [];\n const c = p[p.length - 2].children.map(c => c.value);\n return c.filter(cc => cc !== t);\n }\n /**\n * @internal\n */\n\n\n pathFromRoot(t) {\n return findPath(t, this._root).map(s => s.value);\n }\n\n} // DFS for the node matching the value\n\n\nfunction findNode(value, node) {\n if (value === node.value) return node;\n\n for (const child of node.children) {\n const node = findNode(value, child);\n if (node) return node;\n }\n\n return null;\n} // Return the path to the node with the given value using DFS\n\n\nfunction findPath(value, node) {\n if (value === node.value) return [node];\n\n for (const child of node.children) {\n const path = findPath(value, child);\n\n if (path.length) {\n path.unshift(node);\n return path;\n }\n }\n\n return [];\n}\n\nclass TreeNode {\n constructor(value, children) {\n this.value = value;\n this.children = children;\n }\n\n toString() {\n return `TreeNode(${this.value})`;\n }\n\n} // Return the list of T indexed by outlet name\n\n\nfunction nodeChildrenAsMap(node) {\n const map = {};\n\n if (node) {\n node.children.forEach(child => map[child.value.outlet] = child);\n }\n\n return map;\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Represents the state of the router as a tree of activated routes.\n *\n * @usageNotes\n *\n * Every node in the route tree is an `ActivatedRoute` instance\n * that knows about the \"consumed\" URL segments, the extracted parameters,\n * and the resolved data.\n * Use the `ActivatedRoute` properties to traverse the tree from any node.\n *\n * The following fragment shows how a component gets the root node\n * of the current state to establish its own route tree:\n *\n * ```\n * @Component({templateUrl:'template.html'})\n * class MyComponent {\n * constructor(router: Router) {\n * const state: RouterState = router.routerState;\n * const root: ActivatedRoute = state.root;\n * const child = root.firstChild;\n * const id: Observable = child.params.map(p => p.id);\n * //...\n * }\n * }\n * ```\n *\n * @see `ActivatedRoute`\n * @see [Getting route information](guide/router#getting-route-information)\n *\n * @publicApi\n */\n\n\nclass RouterState extends Tree {\n /** @internal */\n constructor(root,\n /** The current snapshot of the router state */\n snapshot) {\n super(root);\n this.snapshot = snapshot;\n setRouterState(this, root);\n }\n\n toString() {\n return this.snapshot.toString();\n }\n\n}\n\nfunction createEmptyState(urlTree, rootComponent) {\n const snapshot = createEmptyStateSnapshot(urlTree, rootComponent);\n const emptyUrl = new BehaviorSubject([new UrlSegment('', {})]);\n const emptyParams = new BehaviorSubject({});\n const emptyData = new BehaviorSubject({});\n const emptyQueryParams = new BehaviorSubject({});\n const fragment = new BehaviorSubject('');\n const activated = new ActivatedRoute(emptyUrl, emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, snapshot.root);\n activated.snapshot = snapshot.root;\n return new RouterState(new TreeNode(activated, []), snapshot);\n}\n\nfunction createEmptyStateSnapshot(urlTree, rootComponent) {\n const emptyParams = {};\n const emptyData = {};\n const emptyQueryParams = {};\n const fragment = '';\n const activated = new ActivatedRouteSnapshot([], emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, null, urlTree.root, -1, {});\n return new RouterStateSnapshot('', new TreeNode(activated, []));\n}\n/**\n * Provides access to information about a route associated with a component\n * that is loaded in an outlet.\n * Use to traverse the `RouterState` tree and extract information from nodes.\n *\n * The following example shows how to construct a component using information from a\n * currently activated route.\n *\n * Note: the observables in this class only emit when the current and previous values differ based\n * on shallow equality. For example, changing deeply nested properties in resolved `data` will not\n * cause the `ActivatedRoute.data` `Observable` to emit a new value.\n *\n * {@example router/activated-route/module.ts region=\"activated-route\"\n * header=\"activated-route.component.ts\"}\n *\n * @see [Getting route information](guide/router#getting-route-information)\n *\n * @publicApi\n */\n\n\nclass ActivatedRoute {\n /** @internal */\n constructor(\n /** An observable of the URL segments matched by this route. */\n url,\n /** An observable of the matrix parameters scoped to this route. */\n params,\n /** An observable of the query parameters shared by all the routes. */\n queryParams,\n /** An observable of the URL fragment shared by all the routes. */\n fragment,\n /** An observable of the static and resolved data of this route. */\n data,\n /** The outlet name of the route, a constant. */\n outlet,\n /** The component of the route, a constant. */\n component, futureSnapshot) {\n var _a, _b;\n\n this.url = url;\n this.params = params;\n this.queryParams = queryParams;\n this.fragment = fragment;\n this.data = data;\n this.outlet = outlet;\n this.component = component;\n /** An Observable of the resolved route title */\n\n this.title = (_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.pipe(map(d => d[RouteTitleKey]))) !== null && _b !== void 0 ? _b : of(undefined);\n this._futureSnapshot = futureSnapshot;\n }\n /** The configuration used to match this route. */\n\n\n get routeConfig() {\n return this._futureSnapshot.routeConfig;\n }\n /** The root of the router state. */\n\n\n get root() {\n return this._routerState.root;\n }\n /** The parent of this route in the router state tree. */\n\n\n get parent() {\n return this._routerState.parent(this);\n }\n /** The first child of this route in the router state tree. */\n\n\n get firstChild() {\n return this._routerState.firstChild(this);\n }\n /** The children of this route in the router state tree. */\n\n\n get children() {\n return this._routerState.children(this);\n }\n /** The path from the root of the router state tree to this route. */\n\n\n get pathFromRoot() {\n return this._routerState.pathFromRoot(this);\n }\n /**\n * An Observable that contains a map of the required and optional parameters\n * specific to the route.\n * The map supports retrieving single and multiple values from the same parameter.\n */\n\n\n get paramMap() {\n if (!this._paramMap) {\n this._paramMap = this.params.pipe(map(p => convertToParamMap(p)));\n }\n\n return this._paramMap;\n }\n /**\n * An Observable that contains a map of the query parameters available to all routes.\n * The map supports retrieving single and multiple values from the query parameter.\n */\n\n\n get queryParamMap() {\n if (!this._queryParamMap) {\n this._queryParamMap = this.queryParams.pipe(map(p => convertToParamMap(p)));\n }\n\n return this._queryParamMap;\n }\n\n toString() {\n return this.snapshot ? this.snapshot.toString() : `Future(${this._futureSnapshot})`;\n }\n\n}\n/**\n * Returns the inherited params, data, and resolve for a given route.\n * By default, this only inherits values up to the nearest path-less or component-less route.\n * @internal\n */\n\n\nfunction inheritedParamsDataResolve(route, paramsInheritanceStrategy = 'emptyOnly') {\n const pathFromRoot = route.pathFromRoot;\n let inheritingStartingFrom = 0;\n\n if (paramsInheritanceStrategy !== 'always') {\n inheritingStartingFrom = pathFromRoot.length - 1;\n\n while (inheritingStartingFrom >= 1) {\n const current = pathFromRoot[inheritingStartingFrom];\n const parent = pathFromRoot[inheritingStartingFrom - 1]; // current route is an empty path => inherits its parent's params and data\n\n if (current.routeConfig && current.routeConfig.path === '') {\n inheritingStartingFrom--; // parent is componentless => current route should inherit its params and data\n } else if (!parent.component) {\n inheritingStartingFrom--;\n } else {\n break;\n }\n }\n }\n\n return flattenInherited(pathFromRoot.slice(inheritingStartingFrom));\n}\n/** @internal */\n\n\nfunction flattenInherited(pathFromRoot) {\n return pathFromRoot.reduce((res, curr) => {\n var _a;\n\n const params = Object.assign(Object.assign({}, res.params), curr.params);\n const data = Object.assign(Object.assign({}, res.data), curr.data);\n const resolve = Object.assign(Object.assign(Object.assign(Object.assign({}, curr.data), res.resolve), (_a = curr.routeConfig) === null || _a === void 0 ? void 0 : _a.data), curr._resolvedData);\n return {\n params,\n data,\n resolve\n };\n }, {\n params: {},\n data: {},\n resolve: {}\n });\n}\n/**\n * @description\n *\n * Contains the information about a route associated with a component loaded in an\n * outlet at a particular moment in time. ActivatedRouteSnapshot can also be used to\n * traverse the router state tree.\n *\n * The following example initializes a component with route information extracted\n * from the snapshot of the root node at the time of creation.\n *\n * ```\n * @Component({templateUrl:'./my-component.html'})\n * class MyComponent {\n * constructor(route: ActivatedRoute) {\n * const id: string = route.snapshot.params.id;\n * const url: string = route.snapshot.url.join('');\n * const user = route.snapshot.data.user;\n * }\n * }\n * ```\n *\n * @publicApi\n */\n\n\nclass ActivatedRouteSnapshot {\n /** @internal */\n constructor(\n /** The URL segments matched by this route */\n url,\n /**\n * The matrix parameters scoped to this route.\n *\n * You can compute all params (or data) in the router state or to get params outside\n * of an activated component by traversing the `RouterState` tree as in the following\n * example:\n * ```\n * collectRouteParams(router: Router) {\n * let params = {};\n * let stack: ActivatedRouteSnapshot[] = [router.routerState.snapshot.root];\n * while (stack.length > 0) {\n * const route = stack.pop()!;\n * params = {...params, ...route.params};\n * stack.push(...route.children);\n * }\n * return params;\n * }\n * ```\n */\n params,\n /** The query parameters shared by all the routes */\n queryParams,\n /** The URL fragment shared by all the routes */\n fragment,\n /** The static and resolved data of this route */\n data,\n /** The outlet name of the route */\n outlet,\n /** The component of the route */\n component, routeConfig, urlSegment, lastPathIndex, resolve, correctedLastPathIndex) {\n var _a;\n\n this.url = url;\n this.params = params;\n this.queryParams = queryParams;\n this.fragment = fragment;\n this.data = data;\n this.outlet = outlet;\n this.component = component;\n /** The resolved route title */\n\n this.title = (_a = this.data) === null || _a === void 0 ? void 0 : _a[RouteTitleKey];\n this.routeConfig = routeConfig;\n this._urlSegment = urlSegment;\n this._lastPathIndex = lastPathIndex;\n this._correctedLastPathIndex = correctedLastPathIndex !== null && correctedLastPathIndex !== void 0 ? correctedLastPathIndex : lastPathIndex;\n this._resolve = resolve;\n }\n /** The root of the router state */\n\n\n get root() {\n return this._routerState.root;\n }\n /** The parent of this route in the router state tree */\n\n\n get parent() {\n return this._routerState.parent(this);\n }\n /** The first child of this route in the router state tree */\n\n\n get firstChild() {\n return this._routerState.firstChild(this);\n }\n /** The children of this route in the router state tree */\n\n\n get children() {\n return this._routerState.children(this);\n }\n /** The path from the root of the router state tree to this route */\n\n\n get pathFromRoot() {\n return this._routerState.pathFromRoot(this);\n }\n\n get paramMap() {\n if (!this._paramMap) {\n this._paramMap = convertToParamMap(this.params);\n }\n\n return this._paramMap;\n }\n\n get queryParamMap() {\n if (!this._queryParamMap) {\n this._queryParamMap = convertToParamMap(this.queryParams);\n }\n\n return this._queryParamMap;\n }\n\n toString() {\n const url = this.url.map(segment => segment.toString()).join('/');\n const matched = this.routeConfig ? this.routeConfig.path : '';\n return `Route(url:'${url}', path:'${matched}')`;\n }\n\n}\n/**\n * @description\n *\n * Represents the state of the router at a moment in time.\n *\n * This is a tree of activated route snapshots. Every node in this tree knows about\n * the \"consumed\" URL segments, the extracted parameters, and the resolved data.\n *\n * The following example shows how a component is initialized with information\n * from the snapshot of the root node's state at the time of creation.\n *\n * ```\n * @Component({templateUrl:'template.html'})\n * class MyComponent {\n * constructor(router: Router) {\n * const state: RouterState = router.routerState;\n * const snapshot: RouterStateSnapshot = state.snapshot;\n * const root: ActivatedRouteSnapshot = snapshot.root;\n * const child = root.firstChild;\n * const id: Observable = child.params.map(p => p.id);\n * //...\n * }\n * }\n * ```\n *\n * @publicApi\n */\n\n\nclass RouterStateSnapshot extends Tree {\n /** @internal */\n constructor(\n /** The url from which this snapshot was created */\n url, root) {\n super(root);\n this.url = url;\n setRouterState(this, root);\n }\n\n toString() {\n return serializeNode(this._root);\n }\n\n}\n\nfunction setRouterState(state, node) {\n node.value._routerState = state;\n node.children.forEach(c => setRouterState(state, c));\n}\n\nfunction serializeNode(node) {\n const c = node.children.length > 0 ? ` { ${node.children.map(serializeNode).join(', ')} } ` : '';\n return `${node.value}${c}`;\n}\n/**\n * The expectation is that the activate route is created with the right set of parameters.\n * So we push new values into the observables only when they are not the initial values.\n * And we detect that by checking if the snapshot field is set.\n */\n\n\nfunction advanceActivatedRoute(route) {\n if (route.snapshot) {\n const currentSnapshot = route.snapshot;\n const nextSnapshot = route._futureSnapshot;\n route.snapshot = nextSnapshot;\n\n if (!shallowEqual(currentSnapshot.queryParams, nextSnapshot.queryParams)) {\n route.queryParams.next(nextSnapshot.queryParams);\n }\n\n if (currentSnapshot.fragment !== nextSnapshot.fragment) {\n route.fragment.next(nextSnapshot.fragment);\n }\n\n if (!shallowEqual(currentSnapshot.params, nextSnapshot.params)) {\n route.params.next(nextSnapshot.params);\n }\n\n if (!shallowEqualArrays(currentSnapshot.url, nextSnapshot.url)) {\n route.url.next(nextSnapshot.url);\n }\n\n if (!shallowEqual(currentSnapshot.data, nextSnapshot.data)) {\n route.data.next(nextSnapshot.data);\n }\n } else {\n route.snapshot = route._futureSnapshot; // this is for resolved data\n\n route.data.next(route._futureSnapshot.data);\n }\n}\n\nfunction equalParamsAndUrlSegments(a, b) {\n const equalUrlParams = shallowEqual(a.params, b.params) && equalSegments(a.url, b.url);\n const parentsMismatch = !a.parent !== !b.parent;\n return equalUrlParams && !parentsMismatch && (!a.parent || equalParamsAndUrlSegments(a.parent, b.parent));\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nfunction createRouterState(routeReuseStrategy, curr, prevState) {\n const root = createNode(routeReuseStrategy, curr._root, prevState ? prevState._root : undefined);\n return new RouterState(root, curr);\n}\n\nfunction createNode(routeReuseStrategy, curr, prevState) {\n // reuse an activated route that is currently displayed on the screen\n if (prevState && routeReuseStrategy.shouldReuseRoute(curr.value, prevState.value.snapshot)) {\n const value = prevState.value;\n value._futureSnapshot = curr.value;\n const children = createOrReuseChildren(routeReuseStrategy, curr, prevState);\n return new TreeNode(value, children);\n } else {\n if (routeReuseStrategy.shouldAttach(curr.value)) {\n // retrieve an activated route that is used to be displayed, but is not currently displayed\n const detachedRouteHandle = routeReuseStrategy.retrieve(curr.value);\n\n if (detachedRouteHandle !== null) {\n const tree = detachedRouteHandle.route;\n tree.value._futureSnapshot = curr.value;\n tree.children = curr.children.map(c => createNode(routeReuseStrategy, c));\n return tree;\n }\n }\n\n const value = createActivatedRoute(curr.value);\n const children = curr.children.map(c => createNode(routeReuseStrategy, c));\n return new TreeNode(value, children);\n }\n}\n\nfunction createOrReuseChildren(routeReuseStrategy, curr, prevState) {\n return curr.children.map(child => {\n for (const p of prevState.children) {\n if (routeReuseStrategy.shouldReuseRoute(child.value, p.value.snapshot)) {\n return createNode(routeReuseStrategy, child, p);\n }\n }\n\n return createNode(routeReuseStrategy, child);\n });\n}\n\nfunction createActivatedRoute(c) {\n return new ActivatedRoute(new BehaviorSubject(c.url), new BehaviorSubject(c.params), new BehaviorSubject(c.queryParams), new BehaviorSubject(c.fragment), new BehaviorSubject(c.data), c.outlet, c.component, c);\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nconst NAVIGATION_CANCELING_ERROR = 'ngNavigationCancelingError';\n\nfunction redirectingNavigationError(urlSerializer, redirect) {\n const {\n redirectTo,\n navigationBehaviorOptions\n } = isUrlTree(redirect) ? {\n redirectTo: redirect,\n navigationBehaviorOptions: undefined\n } : redirect;\n const error = navigationCancelingError(ngDevMode && `Redirecting to \"${urlSerializer.serialize(redirectTo)}\"`, 0\n /* NavigationCancellationCode.Redirect */\n , redirect);\n error.url = redirectTo;\n error.navigationBehaviorOptions = navigationBehaviorOptions;\n return error;\n}\n\nfunction navigationCancelingError(message, code, redirectUrl) {\n const error = new Error('NavigationCancelingError: ' + (message || ''));\n error[NAVIGATION_CANCELING_ERROR] = true;\n error.cancellationCode = code;\n\n if (redirectUrl) {\n error.url = redirectUrl;\n }\n\n return error;\n}\n\nfunction isRedirectingNavigationCancelingError$1(error) {\n return isNavigationCancelingError$1(error) && isUrlTree(error.url);\n}\n\nfunction isNavigationCancelingError$1(error) {\n return error && error[NAVIGATION_CANCELING_ERROR];\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Store contextual information about a `RouterOutlet`\n *\n * @publicApi\n */\n\n\nclass OutletContext {\n constructor() {\n this.outlet = null;\n this.route = null;\n /**\n * @deprecated Passing a resolver to retrieve a component factory is not required and is\n * deprecated since v14.\n */\n\n this.resolver = null;\n this.injector = null;\n this.children = new ChildrenOutletContexts();\n this.attachRef = null;\n }\n\n}\n/**\n * Store contextual information about the children (= nested) `RouterOutlet`\n *\n * @publicApi\n */\n\n\nlet ChildrenOutletContexts = /*#__PURE__*/(() => {\n class ChildrenOutletContexts {\n constructor() {\n // contexts for child outlets, by name.\n this.contexts = new Map();\n }\n /** Called when a `RouterOutlet` directive is instantiated */\n\n\n onChildOutletCreated(childName, outlet) {\n const context = this.getOrCreateContext(childName);\n context.outlet = outlet;\n this.contexts.set(childName, context);\n }\n /**\n * Called when a `RouterOutlet` directive is destroyed.\n * We need to keep the context as the outlet could be destroyed inside a NgIf and might be\n * re-created later.\n */\n\n\n onChildOutletDestroyed(childName) {\n const context = this.getContext(childName);\n\n if (context) {\n context.outlet = null;\n context.attachRef = null;\n }\n }\n /**\n * Called when the corresponding route is deactivated during navigation.\n * Because the component get destroyed, all children outlet are destroyed.\n */\n\n\n onOutletDeactivated() {\n const contexts = this.contexts;\n this.contexts = new Map();\n return contexts;\n }\n\n onOutletReAttached(contexts) {\n this.contexts = contexts;\n }\n\n getOrCreateContext(childName) {\n let context = this.getContext(childName);\n\n if (!context) {\n context = new OutletContext();\n this.contexts.set(childName, context);\n }\n\n return context;\n }\n\n getContext(childName) {\n return this.contexts.get(childName) || null;\n }\n\n }\n\n ChildrenOutletContexts.ɵfac = function ChildrenOutletContexts_Factory(t) {\n return new (t || ChildrenOutletContexts)();\n };\n\n ChildrenOutletContexts.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ChildrenOutletContexts,\n factory: ChildrenOutletContexts.ɵfac,\n providedIn: 'root'\n });\n return ChildrenOutletContexts;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nconst NG_DEV_MODE$7 = typeof ngDevMode === 'undefined' || ngDevMode;\n/**\n * @description\n *\n * Acts as a placeholder that Angular dynamically fills based on the current router state.\n *\n * Each outlet can have a unique name, determined by the optional `name` attribute.\n * The name cannot be set or changed dynamically. If not set, default value is \"primary\".\n *\n * ```\n * \n * \n * \n * ```\n *\n * Named outlets can be the targets of secondary routes.\n * The `Route` object for a secondary route has an `outlet` property to identify the target outlet:\n *\n * `{path: , component: , outlet: }`\n *\n * Using named outlets and secondary routes, you can target multiple outlets in\n * the same `RouterLink` directive.\n *\n * The router keeps track of separate branches in a navigation tree for each named outlet and\n * generates a representation of that tree in the URL.\n * The URL for a secondary route uses the following syntax to specify both the primary and secondary\n * routes at the same time:\n *\n * `http://base-path/primary-route-path(outlet-name:route-path)`\n *\n * A router outlet emits an activate event when a new component is instantiated,\n * deactivate event when a component is destroyed.\n * An attached event emits when the `RouteReuseStrategy` instructs the outlet to reattach the\n * subtree, and the detached event emits when the `RouteReuseStrategy` instructs the outlet to\n * detach the subtree.\n *\n * ```\n * \n * ```\n *\n * @see [Routing tutorial](guide/router-tutorial-toh#named-outlets \"Example of a named\n * outlet and secondary route configuration\").\n * @see `RouterLink`\n * @see `Route`\n * @ngModule RouterModule\n *\n * @publicApi\n */\n\nlet RouterOutlet = /*#__PURE__*/(() => {\n class RouterOutlet {\n constructor(parentContexts, location, name, changeDetector, environmentInjector) {\n this.parentContexts = parentContexts;\n this.location = location;\n this.changeDetector = changeDetector;\n this.environmentInjector = environmentInjector;\n this.activated = null;\n this._activatedRoute = null;\n this.activateEvents = new EventEmitter();\n this.deactivateEvents = new EventEmitter();\n /**\n * Emits an attached component instance when the `RouteReuseStrategy` instructs to re-attach a\n * previously detached subtree.\n **/\n\n this.attachEvents = new EventEmitter();\n /**\n * Emits a detached component instance when the `RouteReuseStrategy` instructs to detach the\n * subtree.\n */\n\n this.detachEvents = new EventEmitter();\n this.name = name || PRIMARY_OUTLET;\n parentContexts.onChildOutletCreated(this.name, this);\n }\n /** @nodoc */\n\n\n ngOnDestroy() {\n var _a; // Ensure that the registered outlet is this one before removing it on the context.\n\n\n if (((_a = this.parentContexts.getContext(this.name)) === null || _a === void 0 ? void 0 : _a.outlet) === this) {\n this.parentContexts.onChildOutletDestroyed(this.name);\n }\n }\n /** @nodoc */\n\n\n ngOnInit() {\n if (!this.activated) {\n // If the outlet was not instantiated at the time the route got activated we need to populate\n // the outlet when it is initialized (ie inside a NgIf)\n const context = this.parentContexts.getContext(this.name);\n\n if (context && context.route) {\n if (context.attachRef) {\n // `attachRef` is populated when there is an existing component to mount\n this.attach(context.attachRef, context.route);\n } else {\n // otherwise the component defined in the configuration is created\n this.activateWith(context.route, context.injector);\n }\n }\n }\n }\n\n get isActivated() {\n return !!this.activated;\n }\n /**\n * @returns The currently activated component instance.\n * @throws An error if the outlet is not activated.\n */\n\n\n get component() {\n if (!this.activated) throw new ɵRuntimeError(4012\n /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */\n , NG_DEV_MODE$7 && 'Outlet is not activated');\n return this.activated.instance;\n }\n\n get activatedRoute() {\n if (!this.activated) throw new ɵRuntimeError(4012\n /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */\n , NG_DEV_MODE$7 && 'Outlet is not activated');\n return this._activatedRoute;\n }\n\n get activatedRouteData() {\n if (this._activatedRoute) {\n return this._activatedRoute.snapshot.data;\n }\n\n return {};\n }\n /**\n * Called when the `RouteReuseStrategy` instructs to detach the subtree\n */\n\n\n detach() {\n if (!this.activated) throw new ɵRuntimeError(4012\n /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */\n , NG_DEV_MODE$7 && 'Outlet is not activated');\n this.location.detach();\n const cmp = this.activated;\n this.activated = null;\n this._activatedRoute = null;\n this.detachEvents.emit(cmp.instance);\n return cmp;\n }\n /**\n * Called when the `RouteReuseStrategy` instructs to re-attach a previously detached subtree\n */\n\n\n attach(ref, activatedRoute) {\n this.activated = ref;\n this._activatedRoute = activatedRoute;\n this.location.insert(ref.hostView);\n this.attachEvents.emit(ref.instance);\n }\n\n deactivate() {\n if (this.activated) {\n const c = this.component;\n this.activated.destroy();\n this.activated = null;\n this._activatedRoute = null;\n this.deactivateEvents.emit(c);\n }\n }\n\n activateWith(activatedRoute, resolverOrInjector) {\n if (this.isActivated) {\n throw new ɵRuntimeError(4013\n /* RuntimeErrorCode.OUTLET_ALREADY_ACTIVATED */\n , NG_DEV_MODE$7 && 'Cannot activate an already activated outlet');\n }\n\n this._activatedRoute = activatedRoute;\n const location = this.location;\n const snapshot = activatedRoute._futureSnapshot;\n const component = snapshot.component;\n const childContexts = this.parentContexts.getOrCreateContext(this.name).children;\n const injector = new OutletInjector(activatedRoute, childContexts, location.injector);\n\n if (resolverOrInjector && isComponentFactoryResolver(resolverOrInjector)) {\n const factory = resolverOrInjector.resolveComponentFactory(component);\n this.activated = location.createComponent(factory, location.length, injector);\n } else {\n const environmentInjector = resolverOrInjector !== null && resolverOrInjector !== void 0 ? resolverOrInjector : this.environmentInjector;\n this.activated = location.createComponent(component, {\n index: location.length,\n injector,\n environmentInjector\n });\n } // Calling `markForCheck` to make sure we will run the change detection when the\n // `RouterOutlet` is inside a `ChangeDetectionStrategy.OnPush` component.\n\n\n this.changeDetector.markForCheck();\n this.activateEvents.emit(this.activated.instance);\n }\n\n }\n\n RouterOutlet.ɵfac = function RouterOutlet_Factory(t) {\n return new (t || RouterOutlet)(i0.ɵɵdirectiveInject(ChildrenOutletContexts), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵinjectAttribute('name'), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.EnvironmentInjector));\n };\n\n RouterOutlet.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: RouterOutlet,\n selectors: [[\"router-outlet\"]],\n outputs: {\n activateEvents: \"activate\",\n deactivateEvents: \"deactivate\",\n attachEvents: \"attach\",\n detachEvents: \"detach\"\n },\n exportAs: [\"outlet\"],\n standalone: true\n });\n return RouterOutlet;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nclass OutletInjector {\n constructor(route, childContexts, parent) {\n this.route = route;\n this.childContexts = childContexts;\n this.parent = parent;\n }\n\n get(token, notFoundValue) {\n if (token === ActivatedRoute) {\n return this.route;\n }\n\n if (token === ChildrenOutletContexts) {\n return this.childContexts;\n }\n\n return this.parent.get(token, notFoundValue);\n }\n\n}\n\nfunction isComponentFactoryResolver(item) {\n return !!item.resolveComponentFactory;\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * This component is used internally within the router to be a placeholder when an empty\n * router-outlet is needed. For example, with a config such as:\n *\n * `{path: 'parent', outlet: 'nav', children: [...]}`\n *\n * In order to render, there needs to be a component on this config, which will default\n * to this `EmptyOutletComponent`.\n */\n\n\nlet ɵEmptyOutletComponent = /*#__PURE__*/(() => {\n class ɵEmptyOutletComponent {}\n\n ɵEmptyOutletComponent.ɵfac = function ɵEmptyOutletComponent_Factory(t) {\n return new (t || ɵEmptyOutletComponent)();\n };\n\n ɵEmptyOutletComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: ɵEmptyOutletComponent,\n selectors: [[\"ng-component\"]],\n standalone: true,\n features: [i0.ɵɵStandaloneFeature],\n decls: 1,\n vars: 0,\n template: function ɵEmptyOutletComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"router-outlet\");\n }\n },\n dependencies: [RouterOutlet],\n encapsulation: 2\n });\n return ɵEmptyOutletComponent;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Creates an `EnvironmentInjector` if the `Route` has providers and one does not already exist\n * and returns the injector. Otherwise, if the `Route` does not have `providers`, returns the\n * `currentInjector`.\n *\n * @param route The route that might have providers\n * @param currentInjector The parent injector of the `Route`\n */\n\n\nfunction getOrCreateRouteInjectorIfNeeded(route, currentInjector) {\n var _a;\n\n if (route.providers && !route._injector) {\n route._injector = createEnvironmentInjector(route.providers, currentInjector, `Route: ${route.path}`);\n }\n\n return (_a = route._injector) !== null && _a !== void 0 ? _a : currentInjector;\n}\n\nfunction getLoadedRoutes(route) {\n return route._loadedRoutes;\n}\n\nfunction getLoadedInjector(route) {\n return route._loadedInjector;\n}\n\nfunction getLoadedComponent(route) {\n return route._loadedComponent;\n}\n\nfunction getProvidersInjector(route) {\n return route._injector;\n}\n\nfunction validateConfig(config, parentPath = '', requireStandaloneComponents = false) {\n // forEach doesn't iterate undefined values\n for (let i = 0; i < config.length; i++) {\n const route = config[i];\n const fullPath = getFullPath(parentPath, route);\n validateNode(route, fullPath, requireStandaloneComponents);\n }\n}\n\nfunction assertStandalone(fullPath, component) {\n if (component && !ɵisStandalone(component)) {\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `Invalid configuration of route '${fullPath}'. The component must be standalone.`);\n }\n}\n\nfunction validateNode(route, fullPath, requireStandaloneComponents) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!route) {\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `\n Invalid configuration of route '${fullPath}': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n `);\n }\n\n if (Array.isArray(route)) {\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `Invalid configuration of route '${fullPath}': Array cannot be specified`);\n }\n\n if (!route.redirectTo && !route.component && !route.loadComponent && !route.children && !route.loadChildren && route.outlet && route.outlet !== PRIMARY_OUTLET) {\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `Invalid configuration of route '${fullPath}': a componentless route without children or loadChildren cannot have a named outlet set`);\n }\n\n if (route.redirectTo && route.children) {\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `Invalid configuration of route '${fullPath}': redirectTo and children cannot be used together`);\n }\n\n if (route.redirectTo && route.loadChildren) {\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `Invalid configuration of route '${fullPath}': redirectTo and loadChildren cannot be used together`);\n }\n\n if (route.children && route.loadChildren) {\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `Invalid configuration of route '${fullPath}': children and loadChildren cannot be used together`);\n }\n\n if (route.redirectTo && (route.component || route.loadComponent)) {\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `Invalid configuration of route '${fullPath}': redirectTo and component/loadComponent cannot be used together`);\n }\n\n if (route.component && route.loadComponent) {\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `Invalid configuration of route '${fullPath}': component and loadComponent cannot be used together`);\n }\n\n if (route.redirectTo && route.canActivate) {\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `Invalid configuration of route '${fullPath}': redirectTo and canActivate cannot be used together. Redirects happen before activation ` + `so canActivate will never be executed.`);\n }\n\n if (route.path && route.matcher) {\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `Invalid configuration of route '${fullPath}': path and matcher cannot be used together`);\n }\n\n if (route.redirectTo === void 0 && !route.component && !route.loadComponent && !route.children && !route.loadChildren) {\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `Invalid configuration of route '${fullPath}'. One of the following must be provided: component, loadComponent, redirectTo, children or loadChildren`);\n }\n\n if (route.path === void 0 && route.matcher === void 0) {\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `Invalid configuration of route '${fullPath}': routes must have either a path or a matcher specified`);\n }\n\n if (typeof route.path === 'string' && route.path.charAt(0) === '/') {\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `Invalid configuration of route '${fullPath}': path cannot start with a slash`);\n }\n\n if (route.path === '' && route.redirectTo !== void 0 && route.pathMatch === void 0) {\n const exp = `The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`;\n throw new ɵRuntimeError(4014\n /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */\n , `Invalid configuration of route '{path: \"${fullPath}\", redirectTo: \"${route.redirectTo}\"}': please provide 'pathMatch'. ${exp}`);\n }\n\n if (requireStandaloneComponents) {\n assertStandalone(fullPath, route.component);\n }\n }\n\n if (route.children) {\n validateConfig(route.children, fullPath, requireStandaloneComponents);\n }\n}\n\nfunction getFullPath(parentPath, currentRoute) {\n if (!currentRoute) {\n return parentPath;\n }\n\n if (!parentPath && !currentRoute.path) {\n return '';\n } else if (parentPath && !currentRoute.path) {\n return `${parentPath}/`;\n } else if (!parentPath && currentRoute.path) {\n return currentRoute.path;\n } else {\n return `${parentPath}/${currentRoute.path}`;\n }\n}\n/**\n * Makes a copy of the config and adds any default required properties.\n */\n\n\nfunction standardizeConfig(r) {\n const children = r.children && r.children.map(standardizeConfig);\n const c = children ? Object.assign(Object.assign({}, r), {\n children\n }) : Object.assign({}, r);\n\n if (!c.component && !c.loadComponent && (children || c.loadChildren) && c.outlet && c.outlet !== PRIMARY_OUTLET) {\n c.component = ɵEmptyOutletComponent;\n }\n\n return c;\n}\n/** Returns the `route.outlet` or PRIMARY_OUTLET if none exists. */\n\n\nfunction getOutlet(route) {\n return route.outlet || PRIMARY_OUTLET;\n}\n/**\n * Sorts the `routes` such that the ones with an outlet matching `outletName` come first.\n * The order of the configs is otherwise preserved.\n */\n\n\nfunction sortByMatchingOutlets(routes, outletName) {\n const sortedConfig = routes.filter(r => getOutlet(r) === outletName);\n sortedConfig.push(...routes.filter(r => getOutlet(r) !== outletName));\n return sortedConfig;\n}\n/**\n * Gets the first injector in the snapshot's parent tree.\n *\n * If the `Route` has a static list of providers, the returned injector will be the one created from\n * those. If it does not exist, the returned injector may come from the parents, which may be from a\n * loaded config or their static providers.\n *\n * Returns `null` if there is neither this nor any parents have a stored injector.\n *\n * Generally used for retrieving the injector to use for getting tokens for guards/resolvers and\n * also used for getting the correct injector to use for creating components.\n */\n\n\nfunction getClosestRouteInjector(snapshot) {\n var _a;\n\n if (!snapshot) return null; // If the current route has its own injector, which is created from the static providers on the\n // route itself, we should use that. Otherwise, we start at the parent since we do not want to\n // include the lazy loaded injector from this route.\n\n if ((_a = snapshot.routeConfig) === null || _a === void 0 ? void 0 : _a._injector) {\n return snapshot.routeConfig._injector;\n }\n\n for (let s = snapshot.parent; s; s = s.parent) {\n const route = s.routeConfig; // Note that the order here is important. `_loadedInjector` stored on the route with\n // `loadChildren: () => NgModule` so it applies to child routes with priority. The `_injector`\n // is created from the static providers on that parent route, so it applies to the children as\n // well, but only if there is no lazy loaded NgModuleRef injector.\n\n if (route === null || route === void 0 ? void 0 : route._loadedInjector) return route._loadedInjector;\n if (route === null || route === void 0 ? void 0 : route._injector) return route._injector;\n }\n\n return null;\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nconst activateRoutes = (rootContexts, routeReuseStrategy, forwardEvent) => map(t => {\n new ActivateRoutes(routeReuseStrategy, t.targetRouterState, t.currentRouterState, forwardEvent).activate(rootContexts);\n return t;\n});\n\nclass ActivateRoutes {\n constructor(routeReuseStrategy, futureState, currState, forwardEvent) {\n this.routeReuseStrategy = routeReuseStrategy;\n this.futureState = futureState;\n this.currState = currState;\n this.forwardEvent = forwardEvent;\n }\n\n activate(parentContexts) {\n const futureRoot = this.futureState._root;\n const currRoot = this.currState ? this.currState._root : null;\n this.deactivateChildRoutes(futureRoot, currRoot, parentContexts);\n advanceActivatedRoute(this.futureState.root);\n this.activateChildRoutes(futureRoot, currRoot, parentContexts);\n } // De-activate the child route that are not re-used for the future state\n\n\n deactivateChildRoutes(futureNode, currNode, contexts) {\n const children = nodeChildrenAsMap(currNode); // Recurse on the routes active in the future state to de-activate deeper children\n\n futureNode.children.forEach(futureChild => {\n const childOutletName = futureChild.value.outlet;\n this.deactivateRoutes(futureChild, children[childOutletName], contexts);\n delete children[childOutletName];\n }); // De-activate the routes that will not be re-used\n\n forEach(children, (v, childName) => {\n this.deactivateRouteAndItsChildren(v, contexts);\n });\n }\n\n deactivateRoutes(futureNode, currNode, parentContext) {\n const future = futureNode.value;\n const curr = currNode ? currNode.value : null;\n\n if (future === curr) {\n // Reusing the node, check to see if the children need to be de-activated\n if (future.component) {\n // If we have a normal route, we need to go through an outlet.\n const context = parentContext.getContext(future.outlet);\n\n if (context) {\n this.deactivateChildRoutes(futureNode, currNode, context.children);\n }\n } else {\n // if we have a componentless route, we recurse but keep the same outlet map.\n this.deactivateChildRoutes(futureNode, currNode, parentContext);\n }\n } else {\n if (curr) {\n // Deactivate the current route which will not be re-used\n this.deactivateRouteAndItsChildren(currNode, parentContext);\n }\n }\n }\n\n deactivateRouteAndItsChildren(route, parentContexts) {\n // If there is no component, the Route is never attached to an outlet (because there is no\n // component to attach).\n if (route.value.component && this.routeReuseStrategy.shouldDetach(route.value.snapshot)) {\n this.detachAndStoreRouteSubtree(route, parentContexts);\n } else {\n this.deactivateRouteAndOutlet(route, parentContexts);\n }\n }\n\n detachAndStoreRouteSubtree(route, parentContexts) {\n const context = parentContexts.getContext(route.value.outlet);\n const contexts = context && route.value.component ? context.children : parentContexts;\n const children = nodeChildrenAsMap(route);\n\n for (const childOutlet of Object.keys(children)) {\n this.deactivateRouteAndItsChildren(children[childOutlet], contexts);\n }\n\n if (context && context.outlet) {\n const componentRef = context.outlet.detach();\n const contexts = context.children.onOutletDeactivated();\n this.routeReuseStrategy.store(route.value.snapshot, {\n componentRef,\n route,\n contexts\n });\n }\n }\n\n deactivateRouteAndOutlet(route, parentContexts) {\n const context = parentContexts.getContext(route.value.outlet); // The context could be `null` if we are on a componentless route but there may still be\n // children that need deactivating.\n\n const contexts = context && route.value.component ? context.children : parentContexts;\n const children = nodeChildrenAsMap(route);\n\n for (const childOutlet of Object.keys(children)) {\n this.deactivateRouteAndItsChildren(children[childOutlet], contexts);\n }\n\n if (context && context.outlet) {\n // Destroy the component\n context.outlet.deactivate(); // Destroy the contexts for all the outlets that were in the component\n\n context.children.onOutletDeactivated(); // Clear the information about the attached component on the context but keep the reference to\n // the outlet.\n\n context.attachRef = null;\n context.resolver = null;\n context.route = null;\n }\n }\n\n activateChildRoutes(futureNode, currNode, contexts) {\n const children = nodeChildrenAsMap(currNode);\n futureNode.children.forEach(c => {\n this.activateRoutes(c, children[c.value.outlet], contexts);\n this.forwardEvent(new ActivationEnd(c.value.snapshot));\n });\n\n if (futureNode.children.length) {\n this.forwardEvent(new ChildActivationEnd(futureNode.value.snapshot));\n }\n }\n\n activateRoutes(futureNode, currNode, parentContexts) {\n var _a;\n\n const future = futureNode.value;\n const curr = currNode ? currNode.value : null;\n advanceActivatedRoute(future); // reusing the node\n\n if (future === curr) {\n if (future.component) {\n // If we have a normal route, we need to go through an outlet.\n const context = parentContexts.getOrCreateContext(future.outlet);\n this.activateChildRoutes(futureNode, currNode, context.children);\n } else {\n // if we have a componentless route, we recurse but keep the same outlet map.\n this.activateChildRoutes(futureNode, currNode, parentContexts);\n }\n } else {\n if (future.component) {\n // if we have a normal route, we need to place the component into the outlet and recurse.\n const context = parentContexts.getOrCreateContext(future.outlet);\n\n if (this.routeReuseStrategy.shouldAttach(future.snapshot)) {\n const stored = this.routeReuseStrategy.retrieve(future.snapshot);\n this.routeReuseStrategy.store(future.snapshot, null);\n context.children.onOutletReAttached(stored.contexts);\n context.attachRef = stored.componentRef;\n context.route = stored.route.value;\n\n if (context.outlet) {\n // Attach right away when the outlet has already been instantiated\n // Otherwise attach from `RouterOutlet.ngOnInit` when it is instantiated\n context.outlet.attach(stored.componentRef, stored.route.value);\n }\n\n advanceActivatedRoute(stored.route.value);\n this.activateChildRoutes(futureNode, null, context.children);\n } else {\n const injector = getClosestRouteInjector(future.snapshot);\n const cmpFactoryResolver = (_a = injector === null || injector === void 0 ? void 0 : injector.get(ComponentFactoryResolver)) !== null && _a !== void 0 ? _a : null;\n context.attachRef = null;\n context.route = future;\n context.resolver = cmpFactoryResolver;\n context.injector = injector;\n\n if (context.outlet) {\n // Activate the outlet when it has already been instantiated\n // Otherwise it will get activated from its `ngOnInit` when instantiated\n context.outlet.activateWith(future, context.injector);\n }\n\n this.activateChildRoutes(futureNode, null, context.children);\n }\n } else {\n // if we have a componentless route, we recurse but keep the same outlet map.\n this.activateChildRoutes(futureNode, null, parentContexts);\n }\n }\n }\n\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nclass CanActivate {\n constructor(path) {\n this.path = path;\n this.route = this.path[this.path.length - 1];\n }\n\n}\n\nclass CanDeactivate {\n constructor(component, route) {\n this.component = component;\n this.route = route;\n }\n\n}\n\nfunction getAllRouteGuards(future, curr, parentContexts) {\n const futureRoot = future._root;\n const currRoot = curr ? curr._root : null;\n return getChildRouteGuards(futureRoot, currRoot, parentContexts, [futureRoot.value]);\n}\n\nfunction getCanActivateChild(p) {\n const canActivateChild = p.routeConfig ? p.routeConfig.canActivateChild : null;\n if (!canActivateChild || canActivateChild.length === 0) return null;\n return {\n node: p,\n guards: canActivateChild\n };\n}\n\nfunction getTokenOrFunctionIdentity(tokenOrFunction, injector) {\n const NOT_FOUND = Symbol();\n const result = injector.get(tokenOrFunction, NOT_FOUND);\n\n if (result === NOT_FOUND) {\n if (typeof tokenOrFunction === 'function' && !ɵisInjectable(tokenOrFunction)) {\n // We think the token is just a function so return it as-is\n return tokenOrFunction;\n } else {\n // This will throw the not found error\n return injector.get(tokenOrFunction);\n }\n }\n\n return result;\n}\n\nfunction getChildRouteGuards(futureNode, currNode, contexts, futurePath, checks = {\n canDeactivateChecks: [],\n canActivateChecks: []\n}) {\n const prevChildren = nodeChildrenAsMap(currNode); // Process the children of the future route\n\n futureNode.children.forEach(c => {\n getRouteGuards(c, prevChildren[c.value.outlet], contexts, futurePath.concat([c.value]), checks);\n delete prevChildren[c.value.outlet];\n }); // Process any children left from the current route (not active for the future route)\n\n forEach(prevChildren, (v, k) => deactivateRouteAndItsChildren(v, contexts.getContext(k), checks));\n return checks;\n}\n\nfunction getRouteGuards(futureNode, currNode, parentContexts, futurePath, checks = {\n canDeactivateChecks: [],\n canActivateChecks: []\n}) {\n const future = futureNode.value;\n const curr = currNode ? currNode.value : null;\n const context = parentContexts ? parentContexts.getContext(futureNode.value.outlet) : null; // reusing the node\n\n if (curr && future.routeConfig === curr.routeConfig) {\n const shouldRun = shouldRunGuardsAndResolvers(curr, future, future.routeConfig.runGuardsAndResolvers);\n\n if (shouldRun) {\n checks.canActivateChecks.push(new CanActivate(futurePath));\n } else {\n // we need to set the data\n future.data = curr.data;\n future._resolvedData = curr._resolvedData;\n } // If we have a component, we need to go through an outlet.\n\n\n if (future.component) {\n getChildRouteGuards(futureNode, currNode, context ? context.children : null, futurePath, checks); // if we have a componentless route, we recurse but keep the same outlet map.\n } else {\n getChildRouteGuards(futureNode, currNode, parentContexts, futurePath, checks);\n }\n\n if (shouldRun && context && context.outlet && context.outlet.isActivated) {\n checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component, curr));\n }\n } else {\n if (curr) {\n deactivateRouteAndItsChildren(currNode, context, checks);\n }\n\n checks.canActivateChecks.push(new CanActivate(futurePath)); // If we have a component, we need to go through an outlet.\n\n if (future.component) {\n getChildRouteGuards(futureNode, null, context ? context.children : null, futurePath, checks); // if we have a componentless route, we recurse but keep the same outlet map.\n } else {\n getChildRouteGuards(futureNode, null, parentContexts, futurePath, checks);\n }\n }\n\n return checks;\n}\n\nfunction shouldRunGuardsAndResolvers(curr, future, mode) {\n if (typeof mode === 'function') {\n return mode(curr, future);\n }\n\n switch (mode) {\n case 'pathParamsChange':\n return !equalPath(curr.url, future.url);\n\n case 'pathParamsOrQueryParamsChange':\n return !equalPath(curr.url, future.url) || !shallowEqual(curr.queryParams, future.queryParams);\n\n case 'always':\n return true;\n\n case 'paramsOrQueryParamsChange':\n return !equalParamsAndUrlSegments(curr, future) || !shallowEqual(curr.queryParams, future.queryParams);\n\n case 'paramsChange':\n default:\n return !equalParamsAndUrlSegments(curr, future);\n }\n}\n\nfunction deactivateRouteAndItsChildren(route, context, checks) {\n const children = nodeChildrenAsMap(route);\n const r = route.value;\n forEach(children, (node, childName) => {\n if (!r.component) {\n deactivateRouteAndItsChildren(node, context, checks);\n } else if (context) {\n deactivateRouteAndItsChildren(node, context.children.getContext(childName), checks);\n } else {\n deactivateRouteAndItsChildren(node, null, checks);\n }\n });\n\n if (!r.component) {\n checks.canDeactivateChecks.push(new CanDeactivate(null, r));\n } else if (context && context.outlet && context.outlet.isActivated) {\n checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component, r));\n } else {\n checks.canDeactivateChecks.push(new CanDeactivate(null, r));\n }\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Simple function check, but generic so type inference will flow. Example:\n *\n * function product(a: number, b: number) {\n * return a * b;\n * }\n *\n * if (isFunction(fn)) {\n * return fn(1, 2);\n * } else {\n * throw \"Must provide the `product` function\";\n * }\n */\n\n\nfunction isFunction(v) {\n return typeof v === 'function';\n}\n\nfunction isBoolean(v) {\n return typeof v === 'boolean';\n}\n\nfunction isCanLoad(guard) {\n return guard && isFunction(guard.canLoad);\n}\n\nfunction isCanActivate(guard) {\n return guard && isFunction(guard.canActivate);\n}\n\nfunction isCanActivateChild(guard) {\n return guard && isFunction(guard.canActivateChild);\n}\n\nfunction isCanDeactivate(guard) {\n return guard && isFunction(guard.canDeactivate);\n}\n\nfunction isCanMatch(guard) {\n return guard && isFunction(guard.canMatch);\n}\n\nfunction isRedirectingNavigationCancelingError(error) {\n return isNavigationCancelingError(error) && isUrlTree(error.url);\n}\n\nfunction isNavigationCancelingError(error) {\n return error && error[NAVIGATION_CANCELING_ERROR];\n}\n\nfunction isEmptyError(e) {\n return e instanceof EmptyError || (e === null || e === void 0 ? void 0 : e.name) === 'EmptyError';\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nconst INITIAL_VALUE = /*#__PURE__*/Symbol('INITIAL_VALUE');\n\nfunction prioritizedGuardValue() {\n return switchMap(obs => {\n return combineLatest(obs.map(o => o.pipe(take(1), startWith(INITIAL_VALUE)))).pipe(map(results => {\n for (const result of results) {\n if (result === true) {\n // If result is true, check the next one\n continue;\n } else if (result === INITIAL_VALUE) {\n // If guard has not finished, we need to stop processing.\n return INITIAL_VALUE;\n } else if (result === false || result instanceof UrlTree) {\n // Result finished and was not true. Return the result.\n // Note that we only allow false/UrlTree. Other values are considered invalid and\n // ignored.\n return result;\n }\n } // Everything resolved to true. Return true.\n\n\n return true;\n }), filter(item => item !== INITIAL_VALUE), take(1));\n });\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nfunction checkGuards(injector, forwardEvent) {\n return mergeMap(t => {\n const {\n targetSnapshot,\n currentSnapshot,\n guards: {\n canActivateChecks,\n canDeactivateChecks\n }\n } = t;\n\n if (canDeactivateChecks.length === 0 && canActivateChecks.length === 0) {\n return of(Object.assign(Object.assign({}, t), {\n guardsResult: true\n }));\n }\n\n return runCanDeactivateChecks(canDeactivateChecks, targetSnapshot, currentSnapshot, injector).pipe(mergeMap(canDeactivate => {\n return canDeactivate && isBoolean(canDeactivate) ? runCanActivateChecks(targetSnapshot, canActivateChecks, injector, forwardEvent) : of(canDeactivate);\n }), map(guardsResult => Object.assign(Object.assign({}, t), {\n guardsResult\n })));\n });\n}\n\nfunction runCanDeactivateChecks(checks, futureRSS, currRSS, injector) {\n return from(checks).pipe(mergeMap(check => runCanDeactivate(check.component, check.route, currRSS, futureRSS, injector)), first(result => {\n return result !== true;\n }, true));\n}\n\nfunction runCanActivateChecks(futureSnapshot, checks, injector, forwardEvent) {\n return from(checks).pipe(concatMap(check => {\n return concat(fireChildActivationStart(check.route.parent, forwardEvent), fireActivationStart(check.route, forwardEvent), runCanActivateChild(futureSnapshot, check.path, injector), runCanActivate(futureSnapshot, check.route, injector));\n }), first(result => {\n return result !== true;\n }, true));\n}\n/**\n * This should fire off `ActivationStart` events for each route being activated at this\n * level.\n * In other words, if you're activating `a` and `b` below, `path` will contain the\n * `ActivatedRouteSnapshot`s for both and we will fire `ActivationStart` for both. Always\n * return\n * `true` so checks continue to run.\n */\n\n\nfunction fireActivationStart(snapshot, forwardEvent) {\n if (snapshot !== null && forwardEvent) {\n forwardEvent(new ActivationStart(snapshot));\n }\n\n return of(true);\n}\n/**\n * This should fire off `ChildActivationStart` events for each route being activated at this\n * level.\n * In other words, if you're activating `a` and `b` below, `path` will contain the\n * `ActivatedRouteSnapshot`s for both and we will fire `ChildActivationStart` for both. Always\n * return\n * `true` so checks continue to run.\n */\n\n\nfunction fireChildActivationStart(snapshot, forwardEvent) {\n if (snapshot !== null && forwardEvent) {\n forwardEvent(new ChildActivationStart(snapshot));\n }\n\n return of(true);\n}\n\nfunction runCanActivate(futureRSS, futureARS, injector) {\n const canActivate = futureARS.routeConfig ? futureARS.routeConfig.canActivate : null;\n if (!canActivate || canActivate.length === 0) return of(true);\n const canActivateObservables = canActivate.map(canActivate => {\n return defer(() => {\n var _a;\n\n const closestInjector = (_a = getClosestRouteInjector(futureARS)) !== null && _a !== void 0 ? _a : injector;\n const guard = getTokenOrFunctionIdentity(canActivate, closestInjector);\n const guardVal = isCanActivate(guard) ? guard.canActivate(futureARS, futureRSS) : closestInjector.runInContext(() => guard(futureARS, futureRSS));\n return wrapIntoObservable(guardVal).pipe(first());\n });\n });\n return of(canActivateObservables).pipe(prioritizedGuardValue());\n}\n\nfunction runCanActivateChild(futureRSS, path, injector) {\n const futureARS = path[path.length - 1];\n const canActivateChildGuards = path.slice(0, path.length - 1).reverse().map(p => getCanActivateChild(p)).filter(_ => _ !== null);\n const canActivateChildGuardsMapped = canActivateChildGuards.map(d => {\n return defer(() => {\n const guardsMapped = d.guards.map(canActivateChild => {\n var _a;\n\n const closestInjector = (_a = getClosestRouteInjector(d.node)) !== null && _a !== void 0 ? _a : injector;\n const guard = getTokenOrFunctionIdentity(canActivateChild, closestInjector);\n const guardVal = isCanActivateChild(guard) ? guard.canActivateChild(futureARS, futureRSS) : closestInjector.runInContext(() => guard(futureARS, futureRSS));\n return wrapIntoObservable(guardVal).pipe(first());\n });\n return of(guardsMapped).pipe(prioritizedGuardValue());\n });\n });\n return of(canActivateChildGuardsMapped).pipe(prioritizedGuardValue());\n}\n\nfunction runCanDeactivate(component, currARS, currRSS, futureRSS, injector) {\n const canDeactivate = currARS && currARS.routeConfig ? currARS.routeConfig.canDeactivate : null;\n if (!canDeactivate || canDeactivate.length === 0) return of(true);\n const canDeactivateObservables = canDeactivate.map(c => {\n var _a;\n\n const closestInjector = (_a = getClosestRouteInjector(currARS)) !== null && _a !== void 0 ? _a : injector;\n const guard = getTokenOrFunctionIdentity(c, closestInjector);\n const guardVal = isCanDeactivate(guard) ? guard.canDeactivate(component, currARS, currRSS, futureRSS) : closestInjector.runInContext(() => guard(component, currARS, currRSS, futureRSS));\n return wrapIntoObservable(guardVal).pipe(first());\n });\n return of(canDeactivateObservables).pipe(prioritizedGuardValue());\n}\n\nfunction runCanLoadGuards(injector, route, segments, urlSerializer) {\n const canLoad = route.canLoad;\n\n if (canLoad === undefined || canLoad.length === 0) {\n return of(true);\n }\n\n const canLoadObservables = canLoad.map(injectionToken => {\n const guard = getTokenOrFunctionIdentity(injectionToken, injector);\n const guardVal = isCanLoad(guard) ? guard.canLoad(route, segments) : injector.runInContext(() => guard(route, segments));\n return wrapIntoObservable(guardVal);\n });\n return of(canLoadObservables).pipe(prioritizedGuardValue(), redirectIfUrlTree(urlSerializer));\n}\n\nfunction redirectIfUrlTree(urlSerializer) {\n return pipe(tap(result => {\n if (!isUrlTree(result)) return;\n throw redirectingNavigationError(urlSerializer, result);\n }), map(result => result === true));\n}\n\nfunction runCanMatchGuards(injector, route, segments, urlSerializer) {\n const canMatch = route.canMatch;\n if (!canMatch || canMatch.length === 0) return of(true);\n const canMatchObservables = canMatch.map(injectionToken => {\n const guard = getTokenOrFunctionIdentity(injectionToken, injector);\n const guardVal = isCanMatch(guard) ? guard.canMatch(route, segments) : injector.runInContext(() => guard(route, segments));\n return wrapIntoObservable(guardVal);\n });\n return of(canMatchObservables).pipe(prioritizedGuardValue(), redirectIfUrlTree(urlSerializer));\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nconst noMatch$1 = {\n matched: false,\n consumedSegments: [],\n remainingSegments: [],\n parameters: {},\n positionalParamSegments: {}\n};\n\nfunction matchWithChecks(segmentGroup, route, segments, injector, urlSerializer) {\n const result = match(segmentGroup, route, segments);\n\n if (!result.matched) {\n return of(result);\n } // Only create the Route's `EnvironmentInjector` if it matches the attempted\n // navigation\n\n\n injector = getOrCreateRouteInjectorIfNeeded(route, injector);\n return runCanMatchGuards(injector, route, segments, urlSerializer).pipe(map(v => v === true ? result : Object.assign({}, noMatch$1)));\n}\n\nfunction match(segmentGroup, route, segments) {\n var _a;\n\n if (route.path === '') {\n if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || segments.length > 0)) {\n return Object.assign({}, noMatch$1);\n }\n\n return {\n matched: true,\n consumedSegments: [],\n remainingSegments: segments,\n parameters: {},\n positionalParamSegments: {}\n };\n }\n\n const matcher = route.matcher || defaultUrlMatcher;\n const res = matcher(segments, segmentGroup, route);\n if (!res) return Object.assign({}, noMatch$1);\n const posParams = {};\n forEach(res.posParams, (v, k) => {\n posParams[k] = v.path;\n });\n const parameters = res.consumed.length > 0 ? Object.assign(Object.assign({}, posParams), res.consumed[res.consumed.length - 1].parameters) : posParams;\n return {\n matched: true,\n consumedSegments: res.consumed,\n remainingSegments: segments.slice(res.consumed.length),\n // TODO(atscott): investigate combining parameters and positionalParamSegments\n parameters,\n positionalParamSegments: (_a = res.posParams) !== null && _a !== void 0 ? _a : {}\n };\n}\n\nfunction split(segmentGroup, consumedSegments, slicedSegments, config, relativeLinkResolution = 'corrected') {\n if (slicedSegments.length > 0 && containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, config)) {\n const s = new UrlSegmentGroup(consumedSegments, createChildrenForEmptyPaths(segmentGroup, consumedSegments, config, new UrlSegmentGroup(slicedSegments, segmentGroup.children)));\n s._sourceSegment = segmentGroup;\n s._segmentIndexShift = consumedSegments.length;\n return {\n segmentGroup: s,\n slicedSegments: []\n };\n }\n\n if (slicedSegments.length === 0 && containsEmptyPathMatches(segmentGroup, slicedSegments, config)) {\n const s = new UrlSegmentGroup(segmentGroup.segments, addEmptyPathsToChildrenIfNeeded(segmentGroup, consumedSegments, slicedSegments, config, segmentGroup.children, relativeLinkResolution));\n s._sourceSegment = segmentGroup;\n s._segmentIndexShift = consumedSegments.length;\n return {\n segmentGroup: s,\n slicedSegments\n };\n }\n\n const s = new UrlSegmentGroup(segmentGroup.segments, segmentGroup.children);\n s._sourceSegment = segmentGroup;\n s._segmentIndexShift = consumedSegments.length;\n return {\n segmentGroup: s,\n slicedSegments\n };\n}\n\nfunction addEmptyPathsToChildrenIfNeeded(segmentGroup, consumedSegments, slicedSegments, routes, children, relativeLinkResolution) {\n const res = {};\n\n for (const r of routes) {\n if (emptyPathMatch(segmentGroup, slicedSegments, r) && !children[getOutlet(r)]) {\n const s = new UrlSegmentGroup([], {});\n s._sourceSegment = segmentGroup;\n\n if (relativeLinkResolution === 'legacy') {\n s._segmentIndexShift = segmentGroup.segments.length;\n\n if (typeof ngDevMode === 'undefined' || !!ngDevMode) {\n s._segmentIndexShiftCorrected = consumedSegments.length;\n }\n } else {\n s._segmentIndexShift = consumedSegments.length;\n }\n\n res[getOutlet(r)] = s;\n }\n }\n\n return Object.assign(Object.assign({}, children), res);\n}\n\nfunction createChildrenForEmptyPaths(segmentGroup, consumedSegments, routes, primarySegment) {\n const res = {};\n res[PRIMARY_OUTLET] = primarySegment;\n primarySegment._sourceSegment = segmentGroup;\n primarySegment._segmentIndexShift = consumedSegments.length;\n\n for (const r of routes) {\n if (r.path === '' && getOutlet(r) !== PRIMARY_OUTLET) {\n const s = new UrlSegmentGroup([], {});\n s._sourceSegment = segmentGroup;\n s._segmentIndexShift = consumedSegments.length;\n res[getOutlet(r)] = s;\n }\n }\n\n return res;\n}\n\nfunction containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, routes) {\n return routes.some(r => emptyPathMatch(segmentGroup, slicedSegments, r) && getOutlet(r) !== PRIMARY_OUTLET);\n}\n\nfunction containsEmptyPathMatches(segmentGroup, slicedSegments, routes) {\n return routes.some(r => emptyPathMatch(segmentGroup, slicedSegments, r));\n}\n\nfunction emptyPathMatch(segmentGroup, slicedSegments, r) {\n if ((segmentGroup.hasChildren() || slicedSegments.length > 0) && r.pathMatch === 'full') {\n return false;\n }\n\n return r.path === '';\n}\n/**\n * Determines if `route` is a path match for the `rawSegment`, `segments`, and `outlet` without\n * verifying that its children are a full match for the remainder of the `rawSegment` children as\n * well.\n */\n\n\nfunction isImmediateMatch(route, rawSegment, segments, outlet) {\n // We allow matches to empty paths when the outlets differ so we can match a url like `/(b:b)` to\n // a config like\n // * `{path: '', children: [{path: 'b', outlet: 'b'}]}`\n // or even\n // * `{path: '', outlet: 'a', children: [{path: 'b', outlet: 'b'}]`\n //\n // The exception here is when the segment outlet is for the primary outlet. This would\n // result in a match inside the named outlet because all children there are written as primary\n // outlets. So we need to prevent child named outlet matches in a url like `/b` in a config like\n // * `{path: '', outlet: 'x' children: [{path: 'b'}]}`\n // This should only match if the url is `/(x:b)`.\n if (getOutlet(route) !== outlet && (outlet === PRIMARY_OUTLET || !emptyPathMatch(rawSegment, segments, route))) {\n return false;\n }\n\n if (route.path === '**') {\n return true;\n }\n\n return match(rawSegment, route, segments).matched;\n}\n\nfunction noLeftoversInUrl(segmentGroup, segments, outlet) {\n return segments.length === 0 && !segmentGroup.children[outlet];\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nconst NG_DEV_MODE$6 = typeof ngDevMode === 'undefined' || ngDevMode;\n\nclass NoMatch$1 {\n constructor(segmentGroup) {\n this.segmentGroup = segmentGroup || null;\n }\n\n}\n\nclass AbsoluteRedirect {\n constructor(urlTree) {\n this.urlTree = urlTree;\n }\n\n}\n\nfunction noMatch(segmentGroup) {\n return throwError(new NoMatch$1(segmentGroup));\n}\n\nfunction absoluteRedirect(newTree) {\n return throwError(new AbsoluteRedirect(newTree));\n}\n\nfunction namedOutletsRedirect(redirectTo) {\n return throwError(new ɵRuntimeError(4000\n /* RuntimeErrorCode.NAMED_OUTLET_REDIRECT */\n , NG_DEV_MODE$6 && `Only absolute redirects can have named outlets. redirectTo: '${redirectTo}'`));\n}\n\nfunction canLoadFails(route) {\n return throwError(navigationCancelingError(NG_DEV_MODE$6 && `Cannot load children because the guard of the route \"path: '${route.path}'\" returned false`, 3\n /* NavigationCancellationCode.GuardRejected */\n ));\n}\n/**\n * Returns the `UrlTree` with the redirection applied.\n *\n * Lazy modules are loaded along the way.\n */\n\n\nfunction applyRedirects$1(injector, configLoader, urlSerializer, urlTree, config) {\n return new ApplyRedirects(injector, configLoader, urlSerializer, urlTree, config).apply();\n}\n\nclass ApplyRedirects {\n constructor(injector, configLoader, urlSerializer, urlTree, config) {\n this.injector = injector;\n this.configLoader = configLoader;\n this.urlSerializer = urlSerializer;\n this.urlTree = urlTree;\n this.config = config;\n this.allowRedirects = true;\n }\n\n apply() {\n const splitGroup = split(this.urlTree.root, [], [], this.config).segmentGroup; // TODO(atscott): creating a new segment removes the _sourceSegment _segmentIndexShift, which is\n // only necessary to prevent failures in tests which assert exact object matches. The `split` is\n // now shared between `applyRedirects` and `recognize` but only the `recognize` step needs these\n // properties. Before the implementations were merged, the `applyRedirects` would not assign\n // them. We should be able to remove this logic as a \"breaking change\" but should do some more\n // investigation into the failures first.\n\n const rootSegmentGroup = new UrlSegmentGroup(splitGroup.segments, splitGroup.children);\n const expanded$ = this.expandSegmentGroup(this.injector, this.config, rootSegmentGroup, PRIMARY_OUTLET);\n const urlTrees$ = expanded$.pipe(map(rootSegmentGroup => {\n return this.createUrlTree(squashSegmentGroup(rootSegmentGroup), this.urlTree.queryParams, this.urlTree.fragment);\n }));\n return urlTrees$.pipe(catchError(e => {\n if (e instanceof AbsoluteRedirect) {\n // After an absolute redirect we do not apply any more redirects!\n // If this implementation changes, update the documentation note in `redirectTo`.\n this.allowRedirects = false; // we need to run matching, so we can fetch all lazy-loaded modules\n\n return this.match(e.urlTree);\n }\n\n if (e instanceof NoMatch$1) {\n throw this.noMatchError(e);\n }\n\n throw e;\n }));\n }\n\n match(tree) {\n const expanded$ = this.expandSegmentGroup(this.injector, this.config, tree.root, PRIMARY_OUTLET);\n const mapped$ = expanded$.pipe(map(rootSegmentGroup => {\n return this.createUrlTree(squashSegmentGroup(rootSegmentGroup), tree.queryParams, tree.fragment);\n }));\n return mapped$.pipe(catchError(e => {\n if (e instanceof NoMatch$1) {\n throw this.noMatchError(e);\n }\n\n throw e;\n }));\n }\n\n noMatchError(e) {\n return new ɵRuntimeError(4002\n /* RuntimeErrorCode.NO_MATCH */\n , NG_DEV_MODE$6 && `Cannot match any routes. URL Segment: '${e.segmentGroup}'`);\n }\n\n createUrlTree(rootCandidate, queryParams, fragment) {\n const root = createRoot(rootCandidate);\n return new UrlTree(root, queryParams, fragment);\n }\n\n expandSegmentGroup(injector, routes, segmentGroup, outlet) {\n if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n return this.expandChildren(injector, routes, segmentGroup).pipe(map(children => new UrlSegmentGroup([], children)));\n }\n\n return this.expandSegment(injector, segmentGroup, routes, segmentGroup.segments, outlet, true);\n } // Recursively expand segment groups for all the child outlets\n\n\n expandChildren(injector, routes, segmentGroup) {\n // Expand outlets one at a time, starting with the primary outlet. We need to do it this way\n // because an absolute redirect from the primary outlet takes precedence.\n const childOutlets = [];\n\n for (const child of Object.keys(segmentGroup.children)) {\n if (child === 'primary') {\n childOutlets.unshift(child);\n } else {\n childOutlets.push(child);\n }\n }\n\n return from(childOutlets).pipe(concatMap(childOutlet => {\n const child = segmentGroup.children[childOutlet]; // Sort the routes so routes with outlets that match the segment appear\n // first, followed by routes for other outlets, which might match if they have an\n // empty path.\n\n const sortedRoutes = sortByMatchingOutlets(routes, childOutlet);\n return this.expandSegmentGroup(injector, sortedRoutes, child, childOutlet).pipe(map(s => ({\n segment: s,\n outlet: childOutlet\n })));\n }), scan((children, expandedChild) => {\n children[expandedChild.outlet] = expandedChild.segment;\n return children;\n }, {}), last$1());\n }\n\n expandSegment(injector, segmentGroup, routes, segments, outlet, allowRedirects) {\n return from(routes).pipe(concatMap(r => {\n const expanded$ = this.expandSegmentAgainstRoute(injector, segmentGroup, routes, r, segments, outlet, allowRedirects);\n return expanded$.pipe(catchError(e => {\n if (e instanceof NoMatch$1) {\n return of(null);\n }\n\n throw e;\n }));\n }), first(s => !!s), catchError((e, _) => {\n if (isEmptyError(e)) {\n if (noLeftoversInUrl(segmentGroup, segments, outlet)) {\n return of(new UrlSegmentGroup([], {}));\n }\n\n return noMatch(segmentGroup);\n }\n\n throw e;\n }));\n }\n\n expandSegmentAgainstRoute(injector, segmentGroup, routes, route, paths, outlet, allowRedirects) {\n if (!isImmediateMatch(route, segmentGroup, paths, outlet)) {\n return noMatch(segmentGroup);\n }\n\n if (route.redirectTo === undefined) {\n return this.matchSegmentAgainstRoute(injector, segmentGroup, route, paths, outlet);\n }\n\n if (allowRedirects && this.allowRedirects) {\n return this.expandSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, paths, outlet);\n }\n\n return noMatch(segmentGroup);\n }\n\n expandSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet) {\n if (route.path === '**') {\n return this.expandWildCardWithParamsAgainstRouteUsingRedirect(injector, routes, route, outlet);\n }\n\n return this.expandRegularSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet);\n }\n\n expandWildCardWithParamsAgainstRouteUsingRedirect(injector, routes, route, outlet) {\n const newTree = this.applyRedirectCommands([], route.redirectTo, {});\n\n if (route.redirectTo.startsWith('/')) {\n return absoluteRedirect(newTree);\n }\n\n return this.lineralizeSegments(route, newTree).pipe(mergeMap(newSegments => {\n const group = new UrlSegmentGroup(newSegments, {});\n return this.expandSegment(injector, group, routes, newSegments, outlet, false);\n }));\n }\n\n expandRegularSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet) {\n const {\n matched,\n consumedSegments,\n remainingSegments,\n positionalParamSegments\n } = match(segmentGroup, route, segments);\n if (!matched) return noMatch(segmentGroup);\n const newTree = this.applyRedirectCommands(consumedSegments, route.redirectTo, positionalParamSegments);\n\n if (route.redirectTo.startsWith('/')) {\n return absoluteRedirect(newTree);\n }\n\n return this.lineralizeSegments(route, newTree).pipe(mergeMap(newSegments => {\n return this.expandSegment(injector, segmentGroup, routes, newSegments.concat(remainingSegments), outlet, false);\n }));\n }\n\n matchSegmentAgainstRoute(injector, rawSegmentGroup, route, segments, outlet) {\n if (route.path === '**') {\n // Only create the Route's `EnvironmentInjector` if it matches the attempted navigation\n injector = getOrCreateRouteInjectorIfNeeded(route, injector);\n\n if (route.loadChildren) {\n const loaded$ = route._loadedRoutes ? of({\n routes: route._loadedRoutes,\n injector: route._loadedInjector\n }) : this.configLoader.loadChildren(injector, route);\n return loaded$.pipe(map(cfg => {\n route._loadedRoutes = cfg.routes;\n route._loadedInjector = cfg.injector;\n return new UrlSegmentGroup(segments, {});\n }));\n }\n\n return of(new UrlSegmentGroup(segments, {}));\n }\n\n return matchWithChecks(rawSegmentGroup, route, segments, injector, this.urlSerializer).pipe(switchMap(({\n matched,\n consumedSegments,\n remainingSegments\n }) => {\n var _a;\n\n if (!matched) return noMatch(rawSegmentGroup); // If the route has an injector created from providers, we should start using that.\n\n injector = (_a = route._injector) !== null && _a !== void 0 ? _a : injector;\n const childConfig$ = this.getChildConfig(injector, route, segments);\n return childConfig$.pipe(mergeMap(routerConfig => {\n var _a;\n\n const childInjector = (_a = routerConfig.injector) !== null && _a !== void 0 ? _a : injector;\n const childConfig = routerConfig.routes;\n const {\n segmentGroup: splitSegmentGroup,\n slicedSegments\n } = split(rawSegmentGroup, consumedSegments, remainingSegments, childConfig); // See comment on the other call to `split` about why this is necessary.\n\n const segmentGroup = new UrlSegmentGroup(splitSegmentGroup.segments, splitSegmentGroup.children);\n\n if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {\n const expanded$ = this.expandChildren(childInjector, childConfig, segmentGroup);\n return expanded$.pipe(map(children => new UrlSegmentGroup(consumedSegments, children)));\n }\n\n if (childConfig.length === 0 && slicedSegments.length === 0) {\n return of(new UrlSegmentGroup(consumedSegments, {}));\n }\n\n const matchedOnOutlet = getOutlet(route) === outlet;\n const expanded$ = this.expandSegment(childInjector, segmentGroup, childConfig, slicedSegments, matchedOnOutlet ? PRIMARY_OUTLET : outlet, true);\n return expanded$.pipe(map(cs => new UrlSegmentGroup(consumedSegments.concat(cs.segments), cs.children)));\n }));\n }));\n }\n\n getChildConfig(injector, route, segments) {\n if (route.children) {\n // The children belong to the same module\n return of({\n routes: route.children,\n injector\n });\n }\n\n if (route.loadChildren) {\n // lazy children belong to the loaded module\n if (route._loadedRoutes !== undefined) {\n return of({\n routes: route._loadedRoutes,\n injector: route._loadedInjector\n });\n }\n\n return runCanLoadGuards(injector, route, segments, this.urlSerializer).pipe(mergeMap(shouldLoadResult => {\n if (shouldLoadResult) {\n return this.configLoader.loadChildren(injector, route).pipe(tap(cfg => {\n route._loadedRoutes = cfg.routes;\n route._loadedInjector = cfg.injector;\n }));\n }\n\n return canLoadFails(route);\n }));\n }\n\n return of({\n routes: [],\n injector\n });\n }\n\n lineralizeSegments(route, urlTree) {\n let res = [];\n let c = urlTree.root;\n\n while (true) {\n res = res.concat(c.segments);\n\n if (c.numberOfChildren === 0) {\n return of(res);\n }\n\n if (c.numberOfChildren > 1 || !c.children[PRIMARY_OUTLET]) {\n return namedOutletsRedirect(route.redirectTo);\n }\n\n c = c.children[PRIMARY_OUTLET];\n }\n }\n\n applyRedirectCommands(segments, redirectTo, posParams) {\n return this.applyRedirectCreateUrlTree(redirectTo, this.urlSerializer.parse(redirectTo), segments, posParams);\n }\n\n applyRedirectCreateUrlTree(redirectTo, urlTree, segments, posParams) {\n const newRoot = this.createSegmentGroup(redirectTo, urlTree.root, segments, posParams);\n return new UrlTree(newRoot, this.createQueryParams(urlTree.queryParams, this.urlTree.queryParams), urlTree.fragment);\n }\n\n createQueryParams(redirectToParams, actualParams) {\n const res = {};\n forEach(redirectToParams, (v, k) => {\n const copySourceValue = typeof v === 'string' && v.startsWith(':');\n\n if (copySourceValue) {\n const sourceName = v.substring(1);\n res[k] = actualParams[sourceName];\n } else {\n res[k] = v;\n }\n });\n return res;\n }\n\n createSegmentGroup(redirectTo, group, segments, posParams) {\n const updatedSegments = this.createSegments(redirectTo, group.segments, segments, posParams);\n let children = {};\n forEach(group.children, (child, name) => {\n children[name] = this.createSegmentGroup(redirectTo, child, segments, posParams);\n });\n return new UrlSegmentGroup(updatedSegments, children);\n }\n\n createSegments(redirectTo, redirectToSegments, actualSegments, posParams) {\n return redirectToSegments.map(s => s.path.startsWith(':') ? this.findPosParam(redirectTo, s, posParams) : this.findOrReturn(s, actualSegments));\n }\n\n findPosParam(redirectTo, redirectToUrlSegment, posParams) {\n const pos = posParams[redirectToUrlSegment.path.substring(1)];\n if (!pos) throw new ɵRuntimeError(4001\n /* RuntimeErrorCode.MISSING_REDIRECT */\n , NG_DEV_MODE$6 && `Cannot redirect to '${redirectTo}'. Cannot find '${redirectToUrlSegment.path}'.`);\n return pos;\n }\n\n findOrReturn(redirectToUrlSegment, actualSegments) {\n let idx = 0;\n\n for (const s of actualSegments) {\n if (s.path === redirectToUrlSegment.path) {\n actualSegments.splice(idx);\n return s;\n }\n\n idx++;\n }\n\n return redirectToUrlSegment;\n }\n\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nfunction applyRedirects(environmentInjector, configLoader, urlSerializer, config) {\n return switchMap(t => applyRedirects$1(environmentInjector, configLoader, urlSerializer, t.extractedUrl, config).pipe(map(urlAfterRedirects => Object.assign(Object.assign({}, t), {\n urlAfterRedirects\n }))));\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nconst NG_DEV_MODE$5 = typeof ngDevMode === 'undefined' || !!ngDevMode;\n\nclass NoMatch {}\n\nfunction newObservableError(e) {\n // TODO(atscott): This pattern is used throughout the router code and can be `throwError` instead.\n return new Observable(obs => obs.error(e));\n}\n\nfunction recognize$1(injector, rootComponentType, config, urlTree, url, urlSerializer, paramsInheritanceStrategy = 'emptyOnly', relativeLinkResolution = 'legacy') {\n return new Recognizer(injector, rootComponentType, config, urlTree, url, paramsInheritanceStrategy, relativeLinkResolution, urlSerializer).recognize().pipe(switchMap(result => {\n if (result === null) {\n return newObservableError(new NoMatch());\n } else {\n return of(result);\n }\n }));\n}\n\nclass Recognizer {\n constructor(injector, rootComponentType, config, urlTree, url, paramsInheritanceStrategy, relativeLinkResolution, urlSerializer) {\n this.injector = injector;\n this.rootComponentType = rootComponentType;\n this.config = config;\n this.urlTree = urlTree;\n this.url = url;\n this.paramsInheritanceStrategy = paramsInheritanceStrategy;\n this.relativeLinkResolution = relativeLinkResolution;\n this.urlSerializer = urlSerializer;\n }\n\n recognize() {\n const rootSegmentGroup = split(this.urlTree.root, [], [], this.config.filter(c => c.redirectTo === undefined), this.relativeLinkResolution).segmentGroup;\n return this.processSegmentGroup(this.injector, this.config, rootSegmentGroup, PRIMARY_OUTLET).pipe(map(children => {\n if (children === null) {\n return null;\n } // Use Object.freeze to prevent readers of the Router state from modifying it outside of a\n // navigation, resulting in the router being out of sync with the browser.\n\n\n const root = new ActivatedRouteSnapshot([], Object.freeze({}), Object.freeze(Object.assign({}, this.urlTree.queryParams)), this.urlTree.fragment, {}, PRIMARY_OUTLET, this.rootComponentType, null, this.urlTree.root, -1, {});\n const rootNode = new TreeNode(root, children);\n const routeState = new RouterStateSnapshot(this.url, rootNode);\n this.inheritParamsAndData(routeState._root);\n return routeState;\n }));\n }\n\n inheritParamsAndData(routeNode) {\n const route = routeNode.value;\n const i = inheritedParamsDataResolve(route, this.paramsInheritanceStrategy);\n route.params = Object.freeze(i.params);\n route.data = Object.freeze(i.data);\n routeNode.children.forEach(n => this.inheritParamsAndData(n));\n }\n\n processSegmentGroup(injector, config, segmentGroup, outlet) {\n if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n return this.processChildren(injector, config, segmentGroup);\n }\n\n return this.processSegment(injector, config, segmentGroup, segmentGroup.segments, outlet);\n }\n /**\n * Matches every child outlet in the `segmentGroup` to a `Route` in the config. Returns `null` if\n * we cannot find a match for _any_ of the children.\n *\n * @param config - The `Routes` to match against\n * @param segmentGroup - The `UrlSegmentGroup` whose children need to be matched against the\n * config.\n */\n\n\n processChildren(injector, config, segmentGroup) {\n return from(Object.keys(segmentGroup.children)).pipe(concatMap(childOutlet => {\n const child = segmentGroup.children[childOutlet]; // Sort the config so that routes with outlets that match the one being activated\n // appear first, followed by routes for other outlets, which might match if they have\n // an empty path.\n\n const sortedConfig = sortByMatchingOutlets(config, childOutlet);\n return this.processSegmentGroup(injector, sortedConfig, child, childOutlet);\n }), scan((children, outletChildren) => {\n if (!children || !outletChildren) return null;\n children.push(...outletChildren);\n return children;\n }), takeWhile(children => children !== null), defaultIfEmpty(null), last$1(), map(children => {\n if (children === null) return null; // Because we may have matched two outlets to the same empty path segment, we can have\n // multiple activated results for the same outlet. We should merge the children of\n // these results so the final return value is only one `TreeNode` per outlet.\n\n const mergedChildren = mergeEmptyPathMatches(children);\n\n if (NG_DEV_MODE$5) {\n // This should really never happen - we are only taking the first match for each\n // outlet and merge the empty path matches.\n checkOutletNameUniqueness(mergedChildren);\n }\n\n sortActivatedRouteSnapshots(mergedChildren);\n return mergedChildren;\n }));\n }\n\n processSegment(injector, routes, segmentGroup, segments, outlet) {\n return from(routes).pipe(concatMap(r => {\n var _a;\n\n return this.processSegmentAgainstRoute((_a = r._injector) !== null && _a !== void 0 ? _a : injector, r, segmentGroup, segments, outlet);\n }), first(x => !!x), catchError(e => {\n if (isEmptyError(e)) {\n if (noLeftoversInUrl(segmentGroup, segments, outlet)) {\n return of([]);\n }\n\n return of(null);\n }\n\n throw e;\n }));\n }\n\n processSegmentAgainstRoute(injector, route, rawSegment, segments, outlet) {\n var _a, _b;\n\n if (route.redirectTo || !isImmediateMatch(route, rawSegment, segments, outlet)) return of(null);\n let matchResult;\n\n if (route.path === '**') {\n const params = segments.length > 0 ? last(segments).parameters : {};\n const pathIndexShift = getPathIndexShift(rawSegment) + segments.length;\n const snapshot = new ActivatedRouteSnapshot(segments, params, Object.freeze(Object.assign({}, this.urlTree.queryParams)), this.urlTree.fragment, getData(route), getOutlet(route), (_b = (_a = route.component) !== null && _a !== void 0 ? _a : route._loadedComponent) !== null && _b !== void 0 ? _b : null, route, getSourceSegmentGroup(rawSegment), pathIndexShift, getResolve(route), // NG_DEV_MODE is used to prevent the getCorrectedPathIndexShift function from affecting\n // production bundle size. This value is intended only to surface a warning to users\n // depending on `relativeLinkResolution: 'legacy'` in dev mode.\n NG_DEV_MODE$5 ? getCorrectedPathIndexShift(rawSegment) + segments.length : pathIndexShift);\n matchResult = of({\n snapshot,\n consumedSegments: [],\n remainingSegments: []\n });\n } else {\n matchResult = matchWithChecks(rawSegment, route, segments, injector, this.urlSerializer).pipe(map(({\n matched,\n consumedSegments,\n remainingSegments,\n parameters\n }) => {\n var _a, _b;\n\n if (!matched) {\n return null;\n }\n\n const pathIndexShift = getPathIndexShift(rawSegment) + consumedSegments.length;\n const snapshot = new ActivatedRouteSnapshot(consumedSegments, parameters, Object.freeze(Object.assign({}, this.urlTree.queryParams)), this.urlTree.fragment, getData(route), getOutlet(route), (_b = (_a = route.component) !== null && _a !== void 0 ? _a : route._loadedComponent) !== null && _b !== void 0 ? _b : null, route, getSourceSegmentGroup(rawSegment), pathIndexShift, getResolve(route), NG_DEV_MODE$5 ? getCorrectedPathIndexShift(rawSegment) + consumedSegments.length : pathIndexShift);\n return {\n snapshot,\n consumedSegments,\n remainingSegments\n };\n }));\n }\n\n return matchResult.pipe(switchMap(result => {\n var _a, _b;\n\n if (result === null) {\n return of(null);\n }\n\n const {\n snapshot,\n consumedSegments,\n remainingSegments\n } = result; // If the route has an injector created from providers, we should start using that.\n\n injector = (_a = route._injector) !== null && _a !== void 0 ? _a : injector;\n const childInjector = (_b = route._loadedInjector) !== null && _b !== void 0 ? _b : injector;\n const childConfig = getChildConfig(route);\n const {\n segmentGroup,\n slicedSegments\n } = split(rawSegment, consumedSegments, remainingSegments, // Filter out routes with redirectTo because we are trying to create activated route\n // snapshots and don't handle redirects here. That should have been done in\n // `applyRedirects`.\n childConfig.filter(c => c.redirectTo === undefined), this.relativeLinkResolution);\n\n if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {\n return this.processChildren(childInjector, childConfig, segmentGroup).pipe(map(children => {\n if (children === null) {\n return null;\n }\n\n return [new TreeNode(snapshot, children)];\n }));\n }\n\n if (childConfig.length === 0 && slicedSegments.length === 0) {\n return of([new TreeNode(snapshot, [])]);\n }\n\n const matchedOnOutlet = getOutlet(route) === outlet; // If we matched a config due to empty path match on a different outlet, we need to\n // continue passing the current outlet for the segment rather than switch to PRIMARY.\n // Note that we switch to primary when we have a match because outlet configs look like\n // this: {path: 'a', outlet: 'a', children: [\n // {path: 'b', component: B},\n // {path: 'c', component: C},\n // ]}\n // Notice that the children of the named outlet are configured with the primary outlet\n\n return this.processSegment(childInjector, childConfig, segmentGroup, slicedSegments, matchedOnOutlet ? PRIMARY_OUTLET : outlet).pipe(map(children => {\n if (children === null) {\n return null;\n }\n\n return [new TreeNode(snapshot, children)];\n }));\n }));\n }\n\n}\n\nfunction sortActivatedRouteSnapshots(nodes) {\n nodes.sort((a, b) => {\n if (a.value.outlet === PRIMARY_OUTLET) return -1;\n if (b.value.outlet === PRIMARY_OUTLET) return 1;\n return a.value.outlet.localeCompare(b.value.outlet);\n });\n}\n\nfunction getChildConfig(route) {\n if (route.children) {\n return route.children;\n }\n\n if (route.loadChildren) {\n return route._loadedRoutes;\n }\n\n return [];\n}\n\nfunction hasEmptyPathConfig(node) {\n const config = node.value.routeConfig;\n return config && config.path === '' && config.redirectTo === undefined;\n}\n/**\n * Finds `TreeNode`s with matching empty path route configs and merges them into `TreeNode` with\n * the children from each duplicate. This is necessary because different outlets can match a\n * single empty path route config and the results need to then be merged.\n */\n\n\nfunction mergeEmptyPathMatches(nodes) {\n const result = []; // The set of nodes which contain children that were merged from two duplicate empty path nodes.\n\n const mergedNodes = new Set();\n\n for (const node of nodes) {\n if (!hasEmptyPathConfig(node)) {\n result.push(node);\n continue;\n }\n\n const duplicateEmptyPathNode = result.find(resultNode => node.value.routeConfig === resultNode.value.routeConfig);\n\n if (duplicateEmptyPathNode !== undefined) {\n duplicateEmptyPathNode.children.push(...node.children);\n mergedNodes.add(duplicateEmptyPathNode);\n } else {\n result.push(node);\n }\n } // For each node which has children from multiple sources, we need to recompute a new `TreeNode`\n // by also merging those children. This is necessary when there are multiple empty path configs\n // in a row. Put another way: whenever we combine children of two nodes, we need to also check\n // if any of those children can be combined into a single node as well.\n\n\n for (const mergedNode of mergedNodes) {\n const mergedChildren = mergeEmptyPathMatches(mergedNode.children);\n result.push(new TreeNode(mergedNode.value, mergedChildren));\n }\n\n return result.filter(n => !mergedNodes.has(n));\n}\n\nfunction checkOutletNameUniqueness(nodes) {\n const names = {};\n nodes.forEach(n => {\n const routeWithSameOutletName = names[n.value.outlet];\n\n if (routeWithSameOutletName) {\n const p = routeWithSameOutletName.url.map(s => s.toString()).join('/');\n const c = n.value.url.map(s => s.toString()).join('/');\n throw new ɵRuntimeError(4006\n /* RuntimeErrorCode.TWO_SEGMENTS_WITH_SAME_OUTLET */\n , NG_DEV_MODE$5 && `Two segments cannot have the same outlet name: '${p}' and '${c}'.`);\n }\n\n names[n.value.outlet] = n.value;\n });\n}\n\nfunction getSourceSegmentGroup(segmentGroup) {\n let s = segmentGroup;\n\n while (s._sourceSegment) {\n s = s._sourceSegment;\n }\n\n return s;\n}\n\nfunction getPathIndexShift(segmentGroup) {\n var _a, _b;\n\n let s = segmentGroup;\n let res = (_a = s._segmentIndexShift) !== null && _a !== void 0 ? _a : 0;\n\n while (s._sourceSegment) {\n s = s._sourceSegment;\n res += (_b = s._segmentIndexShift) !== null && _b !== void 0 ? _b : 0;\n }\n\n return res - 1;\n}\n\nfunction getCorrectedPathIndexShift(segmentGroup) {\n var _a, _b, _c, _d;\n\n let s = segmentGroup;\n let res = (_b = (_a = s._segmentIndexShiftCorrected) !== null && _a !== void 0 ? _a : s._segmentIndexShift) !== null && _b !== void 0 ? _b : 0;\n\n while (s._sourceSegment) {\n s = s._sourceSegment;\n res += (_d = (_c = s._segmentIndexShiftCorrected) !== null && _c !== void 0 ? _c : s._segmentIndexShift) !== null && _d !== void 0 ? _d : 0;\n }\n\n return res - 1;\n}\n\nfunction getData(route) {\n return route.data || {};\n}\n\nfunction getResolve(route) {\n return route.resolve || {};\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nfunction recognize(injector, rootComponentType, config, serializer, paramsInheritanceStrategy, relativeLinkResolution) {\n return mergeMap(t => recognize$1(injector, rootComponentType, config, t.urlAfterRedirects, serializer.serialize(t.urlAfterRedirects), serializer, paramsInheritanceStrategy, relativeLinkResolution).pipe(map(targetSnapshot => Object.assign(Object.assign({}, t), {\n targetSnapshot\n }))));\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nfunction resolveData(paramsInheritanceStrategy, injector) {\n return mergeMap(t => {\n const {\n targetSnapshot,\n guards: {\n canActivateChecks\n }\n } = t;\n\n if (!canActivateChecks.length) {\n return of(t);\n }\n\n let canActivateChecksResolved = 0;\n return from(canActivateChecks).pipe(concatMap(check => runResolve(check.route, targetSnapshot, paramsInheritanceStrategy, injector)), tap(() => canActivateChecksResolved++), takeLast(1), mergeMap(_ => canActivateChecksResolved === canActivateChecks.length ? of(t) : EMPTY));\n });\n}\n\nfunction runResolve(futureARS, futureRSS, paramsInheritanceStrategy, injector) {\n const config = futureARS.routeConfig;\n const resolve = futureARS._resolve;\n\n if ((config === null || config === void 0 ? void 0 : config.title) !== undefined && !hasStaticTitle(config)) {\n resolve[RouteTitleKey] = config.title;\n }\n\n return resolveNode(resolve, futureARS, futureRSS, injector).pipe(map(resolvedData => {\n futureARS._resolvedData = resolvedData;\n futureARS.data = inheritedParamsDataResolve(futureARS, paramsInheritanceStrategy).resolve;\n\n if (config && hasStaticTitle(config)) {\n futureARS.data[RouteTitleKey] = config.title;\n }\n\n return null;\n }));\n}\n\nfunction resolveNode(resolve, futureARS, futureRSS, injector) {\n const keys = getDataKeys(resolve);\n\n if (keys.length === 0) {\n return of({});\n }\n\n const data = {};\n return from(keys).pipe(mergeMap(key => getResolver(resolve[key], futureARS, futureRSS, injector).pipe(first(), tap(value => {\n data[key] = value;\n }))), takeLast(1), mapTo(data), catchError(e => isEmptyError(e) ? EMPTY : throwError(e)));\n}\n\nfunction getDataKeys(obj) {\n return [...Object.keys(obj), ...Object.getOwnPropertySymbols(obj)];\n}\n\nfunction getResolver(injectionToken, futureARS, futureRSS, injector) {\n var _a;\n\n const closestInjector = (_a = getClosestRouteInjector(futureARS)) !== null && _a !== void 0 ? _a : injector;\n const resolver = getTokenOrFunctionIdentity(injectionToken, closestInjector);\n const resolverValue = resolver.resolve ? resolver.resolve(futureARS, futureRSS) : closestInjector.runInContext(() => resolver(futureARS, futureRSS));\n return wrapIntoObservable(resolverValue);\n}\n\nfunction hasStaticTitle(config) {\n return typeof config.title === 'string' || config.title === null;\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Perform a side effect through a switchMap for every emission on the source Observable,\n * but return an Observable that is identical to the source. It's essentially the same as\n * the `tap` operator, but if the side effectful `next` function returns an ObservableInput,\n * it will wait before continuing with the original value.\n */\n\n\nfunction switchTap(next) {\n return switchMap(v => {\n const nextResult = next(v);\n\n if (nextResult) {\n return from(nextResult).pipe(map(() => v));\n }\n\n return of(v);\n });\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Provides a strategy for setting the page title after a router navigation.\n *\n * The built-in implementation traverses the router state snapshot and finds the deepest primary\n * outlet with `title` property. Given the `Routes` below, navigating to\n * `/base/child(popup:aux)` would result in the document title being set to \"child\".\n * ```\n * [\n * {path: 'base', title: 'base', children: [\n * {path: 'child', title: 'child'},\n * ],\n * {path: 'aux', outlet: 'popup', title: 'popupTitle'}\n * ]\n * ```\n *\n * This class can be used as a base class for custom title strategies. That is, you can create your\n * own class that extends the `TitleStrategy`. Note that in the above example, the `title`\n * from the named outlet is never used. However, a custom strategy might be implemented to\n * incorporate titles in named outlets.\n *\n * @publicApi\n * @see [Page title guide](guide/router#setting-the-page-title)\n */\n\n\nlet TitleStrategy = /*#__PURE__*/(() => {\n class TitleStrategy {\n /**\n * @returns The `title` of the deepest primary route.\n */\n buildTitle(snapshot) {\n var _a;\n\n let pageTitle;\n let route = snapshot.root;\n\n while (route !== undefined) {\n pageTitle = (_a = this.getResolvedTitleForRoute(route)) !== null && _a !== void 0 ? _a : pageTitle;\n route = route.children.find(child => child.outlet === PRIMARY_OUTLET);\n }\n\n return pageTitle;\n }\n /**\n * Given an `ActivatedRouteSnapshot`, returns the final value of the\n * `Route.title` property, which can either be a static string or a resolved value.\n */\n\n\n getResolvedTitleForRoute(snapshot) {\n return snapshot.data[RouteTitleKey];\n }\n\n }\n\n TitleStrategy.ɵfac = function TitleStrategy_Factory(t) {\n return new (t || TitleStrategy)();\n };\n\n TitleStrategy.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: TitleStrategy,\n factory: function () {\n return (() => inject(DefaultTitleStrategy))();\n },\n providedIn: 'root'\n });\n return TitleStrategy;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * The default `TitleStrategy` used by the router that updates the title using the `Title` service.\n */\n\n\nlet DefaultTitleStrategy = /*#__PURE__*/(() => {\n class DefaultTitleStrategy extends TitleStrategy {\n constructor(title) {\n super();\n this.title = title;\n }\n /**\n * Sets the title of the browser to the given value.\n *\n * @param title The `pageTitle` from the deepest primary route.\n */\n\n\n updateTitle(snapshot) {\n const title = this.buildTitle(snapshot);\n\n if (title !== undefined) {\n this.title.setTitle(title);\n }\n }\n\n }\n\n DefaultTitleStrategy.ɵfac = function DefaultTitleStrategy_Factory(t) {\n return new (t || DefaultTitleStrategy)(i0.ɵɵinject(i1.Title));\n };\n\n DefaultTitleStrategy.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: DefaultTitleStrategy,\n factory: DefaultTitleStrategy.ɵfac,\n providedIn: 'root'\n });\n return DefaultTitleStrategy;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Exists to aid internal migration off of the deprecated relativeLinkResolution option.\n */\n\n\nfunction assignRelativeLinkResolution(router) {}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @description\n *\n * Provides a way to customize when activated routes get reused.\n *\n * @publicApi\n */\n\n\nclass RouteReuseStrategy {}\n/**\n * @description\n *\n * This base route reuse strategy only reuses routes when the matched router configs are\n * identical. This prevents components from being destroyed and recreated\n * when just the route parameters, query parameters or fragment change\n * (that is, the existing component is _reused_).\n *\n * This strategy does not store any routes for later reuse.\n *\n * Angular uses this strategy by default.\n *\n *\n * It can be used as a base class for custom route reuse strategies, i.e. you can create your own\n * class that extends the `BaseRouteReuseStrategy` one.\n * @publicApi\n */\n\n\nclass BaseRouteReuseStrategy {\n /**\n * Whether the given route should detach for later reuse.\n * Always returns false for `BaseRouteReuseStrategy`.\n * */\n shouldDetach(route) {\n return false;\n }\n /**\n * A no-op; the route is never stored since this strategy never detaches routes for later re-use.\n */\n\n\n store(route, detachedTree) {}\n /** Returns `false`, meaning the route (and its subtree) is never reattached */\n\n\n shouldAttach(route) {\n return false;\n }\n /** Returns `null` because this strategy does not store routes for later re-use. */\n\n\n retrieve(route) {\n return null;\n }\n /**\n * Determines if a route should be reused.\n * This strategy returns `true` when the future route config and current route config are\n * identical.\n */\n\n\n shouldReuseRoute(future, curr) {\n return future.routeConfig === curr.routeConfig;\n }\n\n}\n\nclass DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nconst NG_DEV_MODE$4 = typeof ngDevMode === 'undefined' || !!ngDevMode;\n/**\n * A [DI token](guide/glossary/#di-token) for the router service.\n *\n * @publicApi\n */\n\nconst ROUTER_CONFIGURATION = /*#__PURE__*/new InjectionToken(NG_DEV_MODE$4 ? 'router config' : '', {\n providedIn: 'root',\n factory: () => ({})\n});\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nconst NG_DEV_MODE$3 = typeof ngDevMode === 'undefined' || !!ngDevMode;\n/**\n * The [DI token](guide/glossary/#di-token) for a router configuration.\n *\n * `ROUTES` is a low level API for router configuration via dependency injection.\n *\n * We recommend that in almost all cases to use higher level APIs such as `RouterModule.forRoot()`,\n * `RouterModule.forChild()`, `provideRoutes`, or `Router.resetConfig()`.\n *\n * @publicApi\n */\n\nconst ROUTES = /*#__PURE__*/new InjectionToken('ROUTES');\nlet RouterConfigLoader = /*#__PURE__*/(() => {\n class RouterConfigLoader {\n constructor(injector, compiler) {\n this.injector = injector;\n this.compiler = compiler;\n this.componentLoaders = new WeakMap();\n this.childrenLoaders = new WeakMap();\n }\n\n loadComponent(route) {\n if (this.componentLoaders.get(route)) {\n return this.componentLoaders.get(route);\n } else if (route._loadedComponent) {\n return of(route._loadedComponent);\n }\n\n if (this.onLoadStartListener) {\n this.onLoadStartListener(route);\n }\n\n const loadRunner = wrapIntoObservable(route.loadComponent()).pipe(tap(component => {\n var _a;\n\n if (this.onLoadEndListener) {\n this.onLoadEndListener(route);\n }\n\n NG_DEV_MODE$3 && assertStandalone((_a = route.path) !== null && _a !== void 0 ? _a : '', component);\n route._loadedComponent = component;\n }), finalize(() => {\n this.componentLoaders.delete(route);\n })); // Use custom ConnectableObservable as share in runners pipe increasing the bundle size too much\n\n const loader = new ConnectableObservable(loadRunner, () => new Subject()).pipe(refCount());\n this.componentLoaders.set(route, loader);\n return loader;\n }\n\n loadChildren(parentInjector, route) {\n if (this.childrenLoaders.get(route)) {\n return this.childrenLoaders.get(route);\n } else if (route._loadedRoutes) {\n return of({\n routes: route._loadedRoutes,\n injector: route._loadedInjector\n });\n }\n\n if (this.onLoadStartListener) {\n this.onLoadStartListener(route);\n }\n\n const moduleFactoryOrRoutes$ = this.loadModuleFactoryOrRoutes(route.loadChildren);\n const loadRunner = moduleFactoryOrRoutes$.pipe(map(factoryOrRoutes => {\n if (this.onLoadEndListener) {\n this.onLoadEndListener(route);\n } // This injector comes from the `NgModuleRef` when lazy loading an `NgModule`. There is no\n // injector associated with lazy loading a `Route` array.\n\n\n let injector;\n let rawRoutes;\n let requireStandaloneComponents = false;\n\n if (Array.isArray(factoryOrRoutes)) {\n rawRoutes = factoryOrRoutes;\n requireStandaloneComponents = true;\n } else {\n injector = factoryOrRoutes.create(parentInjector).injector; // When loading a module that doesn't provide `RouterModule.forChild()` preloader\n // will get stuck in an infinite loop. The child module's Injector will look to\n // its parent `Injector` when it doesn't find any ROUTES so it will return routes\n // for it's parent module instead.\n\n rawRoutes = flatten(injector.get(ROUTES, [], InjectFlags.Self | InjectFlags.Optional));\n }\n\n const routes = rawRoutes.map(standardizeConfig);\n NG_DEV_MODE$3 && validateConfig(routes, route.path, requireStandaloneComponents);\n return {\n routes,\n injector\n };\n }), finalize(() => {\n this.childrenLoaders.delete(route);\n })); // Use custom ConnectableObservable as share in runners pipe increasing the bundle size too much\n\n const loader = new ConnectableObservable(loadRunner, () => new Subject()).pipe(refCount());\n this.childrenLoaders.set(route, loader);\n return loader;\n }\n\n loadModuleFactoryOrRoutes(loadChildren) {\n return wrapIntoObservable(loadChildren()).pipe(mergeMap(t => {\n if (t instanceof NgModuleFactory || Array.isArray(t)) {\n return of(t);\n } else {\n return from(this.compiler.compileModuleAsync(t));\n }\n }));\n }\n\n }\n\n RouterConfigLoader.ɵfac = function RouterConfigLoader_Factory(t) {\n return new (t || RouterConfigLoader)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(i0.Compiler));\n };\n\n RouterConfigLoader.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: RouterConfigLoader,\n factory: RouterConfigLoader.ɵfac,\n providedIn: 'root'\n });\n return RouterConfigLoader;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @description\n *\n * Provides a way to migrate AngularJS applications to Angular.\n *\n * @publicApi\n */\n\n\nclass UrlHandlingStrategy {}\n/**\n * @publicApi\n */\n\n\nclass DefaultUrlHandlingStrategy {\n shouldProcessUrl(url) {\n return true;\n }\n\n extract(url) {\n return url;\n }\n\n merge(newUrlPart, wholeUrl) {\n return newUrlPart;\n }\n\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nconst NG_DEV_MODE$2 = typeof ngDevMode === 'undefined' || !!ngDevMode;\n\nfunction defaultErrorHandler(error) {\n throw error;\n}\n\nfunction defaultMalformedUriErrorHandler(error, urlSerializer, url) {\n return urlSerializer.parse('/');\n}\n/**\n * The equivalent `IsActiveMatchOptions` options for `Router.isActive` is called with `true`\n * (exact = true).\n */\n\n\nconst exactMatchOptions = {\n paths: 'exact',\n fragment: 'ignored',\n matrixParams: 'ignored',\n queryParams: 'exact'\n};\n/**\n * The equivalent `IsActiveMatchOptions` options for `Router.isActive` is called with `false`\n * (exact = false).\n */\n\nconst subsetMatchOptions = {\n paths: 'subset',\n fragment: 'ignored',\n matrixParams: 'ignored',\n queryParams: 'subset'\n};\n\nfunction assignExtraOptionsToRouter(opts, router) {\n if (opts.errorHandler) {\n router.errorHandler = opts.errorHandler;\n }\n\n if (opts.malformedUriErrorHandler) {\n router.malformedUriErrorHandler = opts.malformedUriErrorHandler;\n }\n\n if (opts.onSameUrlNavigation) {\n router.onSameUrlNavigation = opts.onSameUrlNavigation;\n }\n\n if (opts.paramsInheritanceStrategy) {\n router.paramsInheritanceStrategy = opts.paramsInheritanceStrategy;\n }\n\n if (opts.relativeLinkResolution) {\n router.relativeLinkResolution = opts.relativeLinkResolution;\n }\n\n if (opts.urlUpdateStrategy) {\n router.urlUpdateStrategy = opts.urlUpdateStrategy;\n }\n\n if (opts.canceledNavigationResolution) {\n router.canceledNavigationResolution = opts.canceledNavigationResolution;\n }\n}\n\nfunction setupRouter() {\n var _a, _b;\n\n const urlSerializer = inject(UrlSerializer);\n const contexts = inject(ChildrenOutletContexts);\n const location = inject(Location);\n const injector = inject(Injector);\n const compiler = inject(Compiler);\n const config = (_a = inject(ROUTES, {\n optional: true\n })) !== null && _a !== void 0 ? _a : [];\n const opts = (_b = inject(ROUTER_CONFIGURATION, {\n optional: true\n })) !== null && _b !== void 0 ? _b : {};\n const defaultTitleStrategy = inject(DefaultTitleStrategy);\n const titleStrategy = inject(TitleStrategy, {\n optional: true\n });\n const urlHandlingStrategy = inject(UrlHandlingStrategy, {\n optional: true\n });\n const routeReuseStrategy = inject(RouteReuseStrategy, {\n optional: true\n });\n const router = new Router(null, urlSerializer, contexts, location, injector, compiler, flatten(config));\n\n if (urlHandlingStrategy) {\n router.urlHandlingStrategy = urlHandlingStrategy;\n }\n\n if (routeReuseStrategy) {\n router.routeReuseStrategy = routeReuseStrategy;\n }\n\n router.titleStrategy = titleStrategy !== null && titleStrategy !== void 0 ? titleStrategy : defaultTitleStrategy;\n assignExtraOptionsToRouter(opts, router);\n assignRelativeLinkResolution(router);\n return router;\n}\n/**\n * @description\n *\n * A service that provides navigation among views and URL manipulation capabilities.\n *\n * @see `Route`.\n * @see [Routing and Navigation Guide](guide/router).\n *\n * @ngModule RouterModule\n *\n * @publicApi\n */\n\n\nlet Router = /*#__PURE__*/(() => {\n class Router {\n /**\n * Creates the router service.\n */\n // TODO: vsavkin make internal after the final is out.\n constructor(rootComponentType, urlSerializer, rootContexts, location, injector, compiler, config) {\n this.rootComponentType = rootComponentType;\n this.urlSerializer = urlSerializer;\n this.rootContexts = rootContexts;\n this.location = location;\n this.config = config;\n this.lastSuccessfulNavigation = null;\n this.currentNavigation = null;\n this.disposed = false;\n this.navigationId = 0;\n /**\n * The id of the currently active page in the router.\n * Updated to the transition's target id on a successful navigation.\n *\n * This is used to track what page the router last activated. When an attempted navigation fails,\n * the router can then use this to compute how to restore the state back to the previously active\n * page.\n */\n\n this.currentPageId = 0;\n this.isNgZoneEnabled = false;\n /**\n * An event stream for routing events in this NgModule.\n */\n\n this.events = new Subject();\n /**\n * A handler for navigation errors in this NgModule.\n */\n\n this.errorHandler = defaultErrorHandler;\n /**\n * A handler for errors thrown by `Router.parseUrl(url)`\n * when `url` contains an invalid character.\n * The most common case is a `%` sign\n * that's not encoded and is not part of a percent encoded sequence.\n */\n\n this.malformedUriErrorHandler = defaultMalformedUriErrorHandler;\n /**\n * True if at least one navigation event has occurred,\n * false otherwise.\n */\n\n this.navigated = false;\n this.lastSuccessfulId = -1;\n /**\n * Hook that enables you to pause navigation after the preactivation phase.\n * Used by `RouterModule`.\n *\n * @internal\n */\n\n this.afterPreactivation = () => of(void 0);\n /**\n * A strategy for extracting and merging URLs.\n * Used for AngularJS to Angular migrations.\n */\n\n\n this.urlHandlingStrategy = new DefaultUrlHandlingStrategy();\n /**\n * A strategy for re-using routes.\n */\n\n this.routeReuseStrategy = new DefaultRouteReuseStrategy();\n /**\n * How to handle a navigation request to the current URL. One of:\n *\n * - `'ignore'` : The router ignores the request.\n * - `'reload'` : The router reloads the URL. Use to implement a \"refresh\" feature.\n *\n * Note that this only configures whether the Route reprocesses the URL and triggers related\n * action and events like redirects, guards, and resolvers. By default, the router re-uses a\n * component instance when it re-navigates to the same component type without visiting a different\n * component first. This behavior is configured by the `RouteReuseStrategy`. In order to reload\n * routed components on same url navigation, you need to set `onSameUrlNavigation` to `'reload'`\n * _and_ provide a `RouteReuseStrategy` which returns `false` for `shouldReuseRoute`.\n */\n\n this.onSameUrlNavigation = 'ignore';\n /**\n * How to merge parameters, data, resolved data, and title from parent to child\n * routes. One of:\n *\n * - `'emptyOnly'` : Inherit parent parameters, data, and resolved data\n * for path-less or component-less routes.\n * - `'always'` : Inherit parent parameters, data, and resolved data\n * for all child routes.\n */\n\n this.paramsInheritanceStrategy = 'emptyOnly';\n /**\n * Determines when the router updates the browser URL.\n * By default (`\"deferred\"`), updates the browser URL after navigation has finished.\n * Set to `'eager'` to update the browser URL at the beginning of navigation.\n * You can choose to update early so that, if navigation fails,\n * you can show an error message with the URL that failed.\n */\n\n this.urlUpdateStrategy = 'deferred';\n /**\n * Enables a bug fix that corrects relative link resolution in components with empty paths.\n * @see `RouterModule`\n *\n * @deprecated\n */\n\n this.relativeLinkResolution = 'corrected';\n /**\n * Configures how the Router attempts to restore state when a navigation is cancelled.\n *\n * 'replace' - Always uses `location.replaceState` to set the browser state to the state of the\n * router before the navigation started. This means that if the URL of the browser is updated\n * _before_ the navigation is canceled, the Router will simply replace the item in history rather\n * than trying to restore to the previous location in the session history. This happens most\n * frequently with `urlUpdateStrategy: 'eager'` and navigations with the browser back/forward\n * buttons.\n *\n * 'computed' - Will attempt to return to the same index in the session history that corresponds\n * to the Angular route when the navigation gets cancelled. For example, if the browser back\n * button is clicked and the navigation is cancelled, the Router will trigger a forward navigation\n * and vice versa.\n *\n * Note: the 'computed' option is incompatible with any `UrlHandlingStrategy` which only\n * handles a portion of the URL because the history restoration navigates to the previous place in\n * the browser history rather than simply resetting a portion of the URL.\n *\n * The default value is `replace`.\n *\n */\n\n this.canceledNavigationResolution = 'replace';\n\n const onLoadStart = r => this.triggerEvent(new RouteConfigLoadStart(r));\n\n const onLoadEnd = r => this.triggerEvent(new RouteConfigLoadEnd(r));\n\n this.configLoader = injector.get(RouterConfigLoader);\n this.configLoader.onLoadEndListener = onLoadEnd;\n this.configLoader.onLoadStartListener = onLoadStart;\n this.ngModule = injector.get(NgModuleRef);\n this.console = injector.get(ɵConsole);\n const ngZone = injector.get(NgZone);\n this.isNgZoneEnabled = ngZone instanceof NgZone && NgZone.isInAngularZone();\n this.resetConfig(config);\n this.currentUrlTree = createEmptyUrlTree();\n this.rawUrlTree = this.currentUrlTree;\n this.browserUrlTree = this.currentUrlTree;\n this.routerState = createEmptyState(this.currentUrlTree, this.rootComponentType);\n this.transitions = new BehaviorSubject({\n id: 0,\n targetPageId: 0,\n currentUrlTree: this.currentUrlTree,\n currentRawUrl: this.currentUrlTree,\n extractedUrl: this.urlHandlingStrategy.extract(this.currentUrlTree),\n urlAfterRedirects: this.urlHandlingStrategy.extract(this.currentUrlTree),\n rawUrl: this.currentUrlTree,\n extras: {},\n resolve: null,\n reject: null,\n promise: Promise.resolve(true),\n source: 'imperative',\n restoredState: null,\n currentSnapshot: this.routerState.snapshot,\n targetSnapshot: null,\n currentRouterState: this.routerState,\n targetRouterState: null,\n guards: {\n canActivateChecks: [],\n canDeactivateChecks: []\n },\n guardsResult: null\n });\n this.navigations = this.setupNavigations(this.transitions);\n this.processNavigations();\n }\n /**\n * The ɵrouterPageId of whatever page is currently active in the browser history. This is\n * important for computing the target page id for new navigations because we need to ensure each\n * page id in the browser history is 1 more than the previous entry.\n */\n\n\n get browserPageId() {\n var _a;\n\n return (_a = this.location.getState()) === null || _a === void 0 ? void 0 : _a.ɵrouterPageId;\n }\n\n setupNavigations(transitions) {\n const eventsSubject = this.events;\n return transitions.pipe(filter(t => t.id !== 0), // Extract URL\n map(t => Object.assign(Object.assign({}, t), {\n extractedUrl: this.urlHandlingStrategy.extract(t.rawUrl)\n })), // Using switchMap so we cancel executing navigations when a new one comes in\n switchMap(overallTransitionState => {\n let completed = false;\n let errored = false;\n return of(overallTransitionState).pipe( // Store the Navigation object\n tap(t => {\n this.currentNavigation = {\n id: t.id,\n initialUrl: t.rawUrl,\n extractedUrl: t.extractedUrl,\n trigger: t.source,\n extras: t.extras,\n previousNavigation: this.lastSuccessfulNavigation ? Object.assign(Object.assign({}, this.lastSuccessfulNavigation), {\n previousNavigation: null\n }) : null\n };\n }), switchMap(t => {\n const browserUrlTree = this.browserUrlTree.toString();\n const urlTransition = !this.navigated || t.extractedUrl.toString() !== browserUrlTree || // Navigations which succeed or ones which fail and are cleaned up\n // correctly should result in `browserUrlTree` and `currentUrlTree`\n // matching. If this is not the case, assume something went wrong and\n // try processing the URL again.\n browserUrlTree !== this.currentUrlTree.toString();\n const processCurrentUrl = (this.onSameUrlNavigation === 'reload' ? true : urlTransition) && this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl);\n\n if (processCurrentUrl) {\n // If the source of the navigation is from a browser event, the URL is\n // already updated. We already need to sync the internal state.\n if (isBrowserTriggeredNavigation(t.source)) {\n this.browserUrlTree = t.extractedUrl;\n }\n\n return of(t).pipe( // Fire NavigationStart event\n switchMap(t => {\n const transition = this.transitions.getValue();\n eventsSubject.next(new NavigationStart(t.id, this.serializeUrl(t.extractedUrl), t.source, t.restoredState));\n\n if (transition !== this.transitions.getValue()) {\n return EMPTY;\n } // This delay is required to match old behavior that forced\n // navigation to always be async\n\n\n return Promise.resolve(t);\n }), // ApplyRedirects\n applyRedirects(this.ngModule.injector, this.configLoader, this.urlSerializer, this.config), // Update the currentNavigation\n // `urlAfterRedirects` is guaranteed to be set after this point\n tap(t => {\n this.currentNavigation = Object.assign(Object.assign({}, this.currentNavigation), {\n finalUrl: t.urlAfterRedirects\n });\n overallTransitionState.urlAfterRedirects = t.urlAfterRedirects;\n }), // Recognize\n recognize(this.ngModule.injector, this.rootComponentType, this.config, this.urlSerializer, this.paramsInheritanceStrategy, this.relativeLinkResolution), // Update URL if in `eager` update mode\n tap(t => {\n overallTransitionState.targetSnapshot = t.targetSnapshot;\n\n if (this.urlUpdateStrategy === 'eager') {\n if (!t.extras.skipLocationChange) {\n const rawUrl = this.urlHandlingStrategy.merge(t.urlAfterRedirects, t.rawUrl);\n this.setBrowserUrl(rawUrl, t);\n }\n\n this.browserUrlTree = t.urlAfterRedirects;\n } // Fire RoutesRecognized\n\n\n const routesRecognized = new RoutesRecognized(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot);\n eventsSubject.next(routesRecognized);\n }));\n } else {\n const processPreviousUrl = urlTransition && this.rawUrlTree && this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree);\n /* When the current URL shouldn't be processed, but the previous one\n * was, we handle this \"error condition\" by navigating to the\n * previously successful URL, but leaving the URL intact.*/\n\n if (processPreviousUrl) {\n const {\n id,\n extractedUrl,\n source,\n restoredState,\n extras\n } = t;\n const navStart = new NavigationStart(id, this.serializeUrl(extractedUrl), source, restoredState);\n eventsSubject.next(navStart);\n const targetSnapshot = createEmptyState(extractedUrl, this.rootComponentType).snapshot;\n overallTransitionState = Object.assign(Object.assign({}, t), {\n targetSnapshot,\n urlAfterRedirects: extractedUrl,\n extras: Object.assign(Object.assign({}, extras), {\n skipLocationChange: false,\n replaceUrl: false\n })\n });\n return of(overallTransitionState);\n } else {\n /* When neither the current or previous URL can be processed, do\n * nothing other than update router's internal reference to the\n * current \"settled\" URL. This way the next navigation will be coming\n * from the current URL in the browser.\n */\n this.rawUrlTree = t.rawUrl;\n t.resolve(null);\n return EMPTY;\n }\n }\n }), // --- GUARDS ---\n tap(t => {\n const guardsStart = new GuardsCheckStart(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot);\n this.triggerEvent(guardsStart);\n }), map(t => {\n overallTransitionState = Object.assign(Object.assign({}, t), {\n guards: getAllRouteGuards(t.targetSnapshot, t.currentSnapshot, this.rootContexts)\n });\n return overallTransitionState;\n }), checkGuards(this.ngModule.injector, evt => this.triggerEvent(evt)), tap(t => {\n overallTransitionState.guardsResult = t.guardsResult;\n\n if (isUrlTree(t.guardsResult)) {\n throw redirectingNavigationError(this.urlSerializer, t.guardsResult);\n }\n\n const guardsEnd = new GuardsCheckEnd(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot, !!t.guardsResult);\n this.triggerEvent(guardsEnd);\n }), filter(t => {\n if (!t.guardsResult) {\n this.restoreHistory(t);\n this.cancelNavigationTransition(t, '', 3\n /* NavigationCancellationCode.GuardRejected */\n );\n return false;\n }\n\n return true;\n }), // --- RESOLVE ---\n switchTap(t => {\n if (t.guards.canActivateChecks.length) {\n return of(t).pipe(tap(t => {\n const resolveStart = new ResolveStart(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot);\n this.triggerEvent(resolveStart);\n }), switchMap(t => {\n let dataResolved = false;\n return of(t).pipe(resolveData(this.paramsInheritanceStrategy, this.ngModule.injector), tap({\n next: () => dataResolved = true,\n complete: () => {\n if (!dataResolved) {\n this.restoreHistory(t);\n this.cancelNavigationTransition(t, NG_DEV_MODE$2 ? `At least one route resolver didn't emit any value.` : '', 2\n /* NavigationCancellationCode.NoDataFromResolver */\n );\n }\n }\n }));\n }), tap(t => {\n const resolveEnd = new ResolveEnd(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot);\n this.triggerEvent(resolveEnd);\n }));\n }\n\n return undefined;\n }), // --- LOAD COMPONENTS ---\n switchTap(t => {\n const loadComponents = route => {\n var _a;\n\n const loaders = [];\n\n if (((_a = route.routeConfig) === null || _a === void 0 ? void 0 : _a.loadComponent) && !route.routeConfig._loadedComponent) {\n loaders.push(this.configLoader.loadComponent(route.routeConfig).pipe(tap(loadedComponent => {\n route.component = loadedComponent;\n }), map(() => void 0)));\n }\n\n for (const child of route.children) {\n loaders.push(...loadComponents(child));\n }\n\n return loaders;\n };\n\n return combineLatest(loadComponents(t.targetSnapshot.root)).pipe(defaultIfEmpty(), take(1));\n }), switchTap(() => this.afterPreactivation()), map(t => {\n const targetRouterState = createRouterState(this.routeReuseStrategy, t.targetSnapshot, t.currentRouterState);\n overallTransitionState = Object.assign(Object.assign({}, t), {\n targetRouterState\n });\n return overallTransitionState;\n }),\n /* Once here, we are about to activate synchronously. The assumption is\n this will succeed, and user code may read from the Router service.\n Therefore before activation, we need to update router properties storing\n the current URL and the RouterState, as well as updated the browser URL.\n All this should happen *before* activating. */\n tap(t => {\n this.currentUrlTree = t.urlAfterRedirects;\n this.rawUrlTree = this.urlHandlingStrategy.merge(t.urlAfterRedirects, t.rawUrl);\n this.routerState = t.targetRouterState;\n\n if (this.urlUpdateStrategy === 'deferred') {\n if (!t.extras.skipLocationChange) {\n this.setBrowserUrl(this.rawUrlTree, t);\n }\n\n this.browserUrlTree = t.urlAfterRedirects;\n }\n }), activateRoutes(this.rootContexts, this.routeReuseStrategy, evt => this.triggerEvent(evt)), tap({\n next() {\n completed = true;\n },\n\n complete() {\n completed = true;\n }\n\n }), finalize(() => {\n var _a;\n /* When the navigation stream finishes either through error or success,\n * we set the `completed` or `errored` flag. However, there are some\n * situations where we could get here without either of those being set.\n * For instance, a redirect during NavigationStart. Therefore, this is a\n * catch-all to make sure the NavigationCancel event is fired when a\n * navigation gets cancelled but not caught by other means. */\n\n\n if (!completed && !errored) {\n const cancelationReason = NG_DEV_MODE$2 ? `Navigation ID ${overallTransitionState.id} is not equal to the current navigation id ${this.navigationId}` : '';\n this.cancelNavigationTransition(overallTransitionState, cancelationReason, 1\n /* NavigationCancellationCode.SupersededByNewNavigation */\n );\n } // Only clear current navigation if it is still set to the one that\n // finalized.\n\n\n if (((_a = this.currentNavigation) === null || _a === void 0 ? void 0 : _a.id) === overallTransitionState.id) {\n this.currentNavigation = null;\n }\n }), catchError(e => {\n var _a;\n\n errored = true;\n /* This error type is issued during Redirect, and is handled as a\n * cancellation rather than an error. */\n\n if (isNavigationCancelingError$1(e)) {\n if (!isRedirectingNavigationCancelingError$1(e)) {\n // Set property only if we're not redirecting. If we landed on a page\n // and redirect to `/` route, the new navigation is going to see the\n // `/` isn't a change from the default currentUrlTree and won't\n // navigate. This is only applicable with initial navigation, so\n // setting `navigated` only when not redirecting resolves this\n // scenario.\n this.navigated = true;\n this.restoreHistory(overallTransitionState, true);\n }\n\n const navCancel = new NavigationCancel(overallTransitionState.id, this.serializeUrl(overallTransitionState.extractedUrl), e.message, e.cancellationCode);\n eventsSubject.next(navCancel); // When redirecting, we need to delay resolving the navigation\n // promise and push it to the redirect navigation\n\n if (!isRedirectingNavigationCancelingError$1(e)) {\n overallTransitionState.resolve(false);\n } else {\n const mergedTree = this.urlHandlingStrategy.merge(e.url, this.rawUrlTree);\n const extras = {\n skipLocationChange: overallTransitionState.extras.skipLocationChange,\n // The URL is already updated at this point if we have 'eager' URL\n // updates or if the navigation was triggered by the browser (back\n // button, URL bar, etc). We want to replace that item in history\n // if the navigation is rejected.\n replaceUrl: this.urlUpdateStrategy === 'eager' || isBrowserTriggeredNavigation(overallTransitionState.source)\n };\n this.scheduleNavigation(mergedTree, 'imperative', null, extras, {\n resolve: overallTransitionState.resolve,\n reject: overallTransitionState.reject,\n promise: overallTransitionState.promise\n });\n }\n /* All other errors should reset to the router's internal URL reference\n * to the pre-error state. */\n\n } else {\n this.restoreHistory(overallTransitionState, true);\n const navError = new NavigationError(overallTransitionState.id, this.serializeUrl(overallTransitionState.extractedUrl), e, (_a = overallTransitionState.targetSnapshot) !== null && _a !== void 0 ? _a : undefined);\n eventsSubject.next(navError);\n\n try {\n overallTransitionState.resolve(this.errorHandler(e));\n } catch (ee) {\n overallTransitionState.reject(ee);\n }\n }\n\n return EMPTY;\n })); // TODO(jasonaden): remove cast once g3 is on updated TypeScript\n }));\n }\n /**\n * @internal\n * TODO: this should be removed once the constructor of the router made internal\n */\n\n\n resetRootComponentType(rootComponentType) {\n this.rootComponentType = rootComponentType; // TODO: vsavkin router 4.0 should make the root component set to null\n // this will simplify the lifecycle of the router.\n\n this.routerState.root.component = this.rootComponentType;\n }\n\n setTransition(t) {\n this.transitions.next(Object.assign(Object.assign({}, this.transitions.value), t));\n }\n /**\n * Sets up the location change listener and performs the initial navigation.\n */\n\n\n initialNavigation() {\n this.setUpLocationChangeListener();\n\n if (this.navigationId === 0) {\n this.navigateByUrl(this.location.path(true), {\n replaceUrl: true\n });\n }\n }\n /**\n * Sets up the location change listener. This listener detects navigations triggered from outside\n * the Router (the browser back/forward buttons, for example) and schedules a corresponding Router\n * navigation so that the correct events, guards, etc. are triggered.\n */\n\n\n setUpLocationChangeListener() {\n // Don't need to use Zone.wrap any more, because zone.js\n // already patch onPopState, so location change callback will\n // run into ngZone\n if (!this.locationSubscription) {\n this.locationSubscription = this.location.subscribe(event => {\n const source = event['type'] === 'popstate' ? 'popstate' : 'hashchange';\n\n if (source === 'popstate') {\n // The `setTimeout` was added in #12160 and is likely to support Angular/AngularJS\n // hybrid apps.\n setTimeout(() => {\n var _a;\n\n const extras = {\n replaceUrl: true\n }; // Navigations coming from Angular router have a navigationId state\n // property. When this exists, restore the state.\n\n const state = ((_a = event.state) === null || _a === void 0 ? void 0 : _a.navigationId) ? event.state : null;\n\n if (state) {\n const stateCopy = Object.assign({}, state);\n delete stateCopy.navigationId;\n delete stateCopy.ɵrouterPageId;\n\n if (Object.keys(stateCopy).length !== 0) {\n extras.state = stateCopy;\n }\n }\n\n const urlTree = this.parseUrl(event['url']);\n this.scheduleNavigation(urlTree, source, state, extras);\n }, 0);\n }\n });\n }\n }\n /** The current URL. */\n\n\n get url() {\n return this.serializeUrl(this.currentUrlTree);\n }\n /**\n * Returns the current `Navigation` object when the router is navigating,\n * and `null` when idle.\n */\n\n\n getCurrentNavigation() {\n return this.currentNavigation;\n }\n /** @internal */\n\n\n triggerEvent(event) {\n this.events.next(event);\n }\n /**\n * Resets the route configuration used for navigation and generating links.\n *\n * @param config The route array for the new configuration.\n *\n * @usageNotes\n *\n * ```\n * router.resetConfig([\n * { path: 'team/:id', component: TeamCmp, children: [\n * { path: 'simple', component: SimpleCmp },\n * { path: 'user/:name', component: UserCmp }\n * ]}\n * ]);\n * ```\n */\n\n\n resetConfig(config) {\n NG_DEV_MODE$2 && validateConfig(config);\n this.config = config.map(standardizeConfig);\n this.navigated = false;\n this.lastSuccessfulId = -1;\n }\n /** @nodoc */\n\n\n ngOnDestroy() {\n this.dispose();\n }\n /** Disposes of the router. */\n\n\n dispose() {\n this.transitions.complete();\n\n if (this.locationSubscription) {\n this.locationSubscription.unsubscribe();\n this.locationSubscription = undefined;\n }\n\n this.disposed = true;\n }\n /**\n * Appends URL segments to the current URL tree to create a new URL tree.\n *\n * @param commands An array of URL fragments with which to construct the new URL tree.\n * If the path is static, can be the literal URL string. For a dynamic path, pass an array of path\n * segments, followed by the parameters for each segment.\n * The fragments are applied to the current URL tree or the one provided in the `relativeTo`\n * property of the options object, if supplied.\n * @param navigationExtras Options that control the navigation strategy.\n * @returns The new URL tree.\n *\n * @usageNotes\n *\n * ```\n * // create /team/33/user/11\n * router.createUrlTree(['/team', 33, 'user', 11]);\n *\n * // create /team/33;expand=true/user/11\n * router.createUrlTree(['/team', 33, {expand: true}, 'user', 11]);\n *\n * // you can collapse static segments like this (this works only with the first passed-in value):\n * router.createUrlTree(['/team/33/user', userId]);\n *\n * // If the first segment can contain slashes, and you do not want the router to split it,\n * // you can do the following:\n * router.createUrlTree([{segmentPath: '/one/two'}]);\n *\n * // create /team/33/(user/11//right:chat)\n * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: 'chat'}}]);\n *\n * // remove the right secondary node\n * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: null}}]);\n *\n * // assuming the current url is `/team/33/user/11` and the route points to `user/11`\n *\n * // navigate to /team/33/user/11/details\n * router.createUrlTree(['details'], {relativeTo: route});\n *\n * // navigate to /team/33/user/22\n * router.createUrlTree(['../22'], {relativeTo: route});\n *\n * // navigate to /team/44/user/22\n * router.createUrlTree(['../../team/44/user/22'], {relativeTo: route});\n *\n * Note that a value of `null` or `undefined` for `relativeTo` indicates that the\n * tree should be created relative to the root.\n * ```\n */\n\n\n createUrlTree(commands, navigationExtras = {}) {\n const {\n relativeTo,\n queryParams,\n fragment,\n queryParamsHandling,\n preserveFragment\n } = navigationExtras;\n const a = relativeTo || this.routerState.root;\n const f = preserveFragment ? this.currentUrlTree.fragment : fragment;\n let q = null;\n\n switch (queryParamsHandling) {\n case 'merge':\n q = Object.assign(Object.assign({}, this.currentUrlTree.queryParams), queryParams);\n break;\n\n case 'preserve':\n q = this.currentUrlTree.queryParams;\n break;\n\n default:\n q = queryParams || null;\n }\n\n if (q !== null) {\n q = this.removeEmptyProps(q);\n }\n\n return createUrlTree(a, this.currentUrlTree, commands, q, f !== null && f !== void 0 ? f : null);\n }\n /**\n * Navigates to a view using an absolute route path.\n *\n * @param url An absolute path for a defined route. The function does not apply any delta to the\n * current URL.\n * @param extras An object containing properties that modify the navigation strategy.\n *\n * @returns A Promise that resolves to 'true' when navigation succeeds,\n * to 'false' when navigation fails, or is rejected on error.\n *\n * @usageNotes\n *\n * The following calls request navigation to an absolute path.\n *\n * ```\n * router.navigateByUrl(\"/team/33/user/11\");\n *\n * // Navigate without updating the URL\n * router.navigateByUrl(\"/team/33/user/11\", { skipLocationChange: true });\n * ```\n *\n * @see [Routing and Navigation guide](guide/router)\n *\n */\n\n\n navigateByUrl(url, extras = {\n skipLocationChange: false\n }) {\n if (typeof ngDevMode === 'undefined' || ngDevMode && this.isNgZoneEnabled && !NgZone.isInAngularZone()) {\n this.console.warn(`Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?`);\n }\n\n const urlTree = isUrlTree(url) ? url : this.parseUrl(url);\n const mergedTree = this.urlHandlingStrategy.merge(urlTree, this.rawUrlTree);\n return this.scheduleNavigation(mergedTree, 'imperative', null, extras);\n }\n /**\n * Navigate based on the provided array of commands and a starting point.\n * If no starting route is provided, the navigation is absolute.\n *\n * @param commands An array of URL fragments with which to construct the target URL.\n * If the path is static, can be the literal URL string. For a dynamic path, pass an array of path\n * segments, followed by the parameters for each segment.\n * The fragments are applied to the current URL or the one provided in the `relativeTo` property\n * of the options object, if supplied.\n * @param extras An options object that determines how the URL should be constructed or\n * interpreted.\n *\n * @returns A Promise that resolves to `true` when navigation succeeds, to `false` when navigation\n * fails,\n * or is rejected on error.\n *\n * @usageNotes\n *\n * The following calls request navigation to a dynamic route path relative to the current URL.\n *\n * ```\n * router.navigate(['team', 33, 'user', 11], {relativeTo: route});\n *\n * // Navigate without updating the URL, overriding the default behavior\n * router.navigate(['team', 33, 'user', 11], {relativeTo: route, skipLocationChange: true});\n * ```\n *\n * @see [Routing and Navigation guide](guide/router)\n *\n */\n\n\n navigate(commands, extras = {\n skipLocationChange: false\n }) {\n validateCommands(commands);\n return this.navigateByUrl(this.createUrlTree(commands, extras), extras);\n }\n /** Serializes a `UrlTree` into a string */\n\n\n serializeUrl(url) {\n return this.urlSerializer.serialize(url);\n }\n /** Parses a string into a `UrlTree` */\n\n\n parseUrl(url) {\n let urlTree;\n\n try {\n urlTree = this.urlSerializer.parse(url);\n } catch (e) {\n urlTree = this.malformedUriErrorHandler(e, this.urlSerializer, url);\n }\n\n return urlTree;\n }\n\n isActive(url, matchOptions) {\n let options;\n\n if (matchOptions === true) {\n options = Object.assign({}, exactMatchOptions);\n } else if (matchOptions === false) {\n options = Object.assign({}, subsetMatchOptions);\n } else {\n options = matchOptions;\n }\n\n if (isUrlTree(url)) {\n return containsTree(this.currentUrlTree, url, options);\n }\n\n const urlTree = this.parseUrl(url);\n return containsTree(this.currentUrlTree, urlTree, options);\n }\n\n removeEmptyProps(params) {\n return Object.keys(params).reduce((result, key) => {\n const value = params[key];\n\n if (value !== null && value !== undefined) {\n result[key] = value;\n }\n\n return result;\n }, {});\n }\n\n processNavigations() {\n this.navigations.subscribe(t => {\n var _a;\n\n this.navigated = true;\n this.lastSuccessfulId = t.id;\n this.currentPageId = t.targetPageId;\n this.events.next(new NavigationEnd(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(this.currentUrlTree)));\n this.lastSuccessfulNavigation = this.currentNavigation;\n (_a = this.titleStrategy) === null || _a === void 0 ? void 0 : _a.updateTitle(this.routerState.snapshot);\n t.resolve(true);\n }, e => {\n this.console.warn(`Unhandled Navigation Error: ${e}`);\n });\n }\n\n scheduleNavigation(rawUrl, source, restoredState, extras, priorPromise) {\n var _a, _b;\n\n if (this.disposed) {\n return Promise.resolve(false);\n }\n\n let resolve;\n let reject;\n let promise;\n\n if (priorPromise) {\n resolve = priorPromise.resolve;\n reject = priorPromise.reject;\n promise = priorPromise.promise;\n } else {\n promise = new Promise((res, rej) => {\n resolve = res;\n reject = rej;\n });\n }\n\n const id = ++this.navigationId;\n let targetPageId;\n\n if (this.canceledNavigationResolution === 'computed') {\n const isInitialPage = this.currentPageId === 0;\n\n if (isInitialPage) {\n restoredState = this.location.getState();\n } // If the `ɵrouterPageId` exist in the state then `targetpageId` should have the value of\n // `ɵrouterPageId`. This is the case for something like a page refresh where we assign the\n // target id to the previously set value for that page.\n\n\n if (restoredState && restoredState.ɵrouterPageId) {\n targetPageId = restoredState.ɵrouterPageId;\n } else {\n // If we're replacing the URL or doing a silent navigation, we do not want to increment the\n // page id because we aren't pushing a new entry to history.\n if (extras.replaceUrl || extras.skipLocationChange) {\n targetPageId = (_a = this.browserPageId) !== null && _a !== void 0 ? _a : 0;\n } else {\n targetPageId = ((_b = this.browserPageId) !== null && _b !== void 0 ? _b : 0) + 1;\n }\n }\n } else {\n // This is unused when `canceledNavigationResolution` is not computed.\n targetPageId = 0;\n }\n\n this.setTransition({\n id,\n targetPageId,\n source,\n restoredState,\n currentUrlTree: this.currentUrlTree,\n currentRawUrl: this.rawUrlTree,\n rawUrl,\n extras,\n resolve,\n reject,\n promise,\n currentSnapshot: this.routerState.snapshot,\n currentRouterState: this.routerState\n }); // Make sure that the error is propagated even though `processNavigations` catch\n // handler does not rethrow\n\n return promise.catch(e => {\n return Promise.reject(e);\n });\n }\n\n setBrowserUrl(url, t) {\n const path = this.urlSerializer.serialize(url);\n const state = Object.assign(Object.assign({}, t.extras.state), this.generateNgRouterState(t.id, t.targetPageId));\n\n if (this.location.isCurrentPathEqualTo(path) || !!t.extras.replaceUrl) {\n this.location.replaceState(path, '', state);\n } else {\n this.location.go(path, '', state);\n }\n }\n /**\n * Performs the necessary rollback action to restore the browser URL to the\n * state before the transition.\n */\n\n\n restoreHistory(t, restoringFromCaughtError = false) {\n var _a, _b;\n\n if (this.canceledNavigationResolution === 'computed') {\n const targetPagePosition = this.currentPageId - t.targetPageId; // The navigator change the location before triggered the browser event,\n // so we need to go back to the current url if the navigation is canceled.\n // Also, when navigation gets cancelled while using url update strategy eager, then we need to\n // go back. Because, when `urlUpdateStrategy` is `eager`; `setBrowserUrl` method is called\n // before any verification.\n\n const browserUrlUpdateOccurred = t.source === 'popstate' || this.urlUpdateStrategy === 'eager' || this.currentUrlTree === ((_a = this.currentNavigation) === null || _a === void 0 ? void 0 : _a.finalUrl);\n\n if (browserUrlUpdateOccurred && targetPagePosition !== 0) {\n this.location.historyGo(targetPagePosition);\n } else if (this.currentUrlTree === ((_b = this.currentNavigation) === null || _b === void 0 ? void 0 : _b.finalUrl) && targetPagePosition === 0) {\n // We got to the activation stage (where currentUrlTree is set to the navigation's\n // finalUrl), but we weren't moving anywhere in history (skipLocationChange or replaceUrl).\n // We still need to reset the router state back to what it was when the navigation started.\n this.resetState(t); // TODO(atscott): resetting the `browserUrlTree` should really be done in `resetState`.\n // Investigate if this can be done by running TGP.\n\n this.browserUrlTree = t.currentUrlTree;\n this.resetUrlToCurrentUrlTree();\n } else {// The browser URL and router state was not updated before the navigation cancelled so\n // there's no restoration needed.\n }\n } else if (this.canceledNavigationResolution === 'replace') {\n // TODO(atscott): It seems like we should _always_ reset the state here. It would be a no-op\n // for `deferred` navigations that haven't change the internal state yet because guards\n // reject. For 'eager' navigations, it seems like we also really should reset the state\n // because the navigation was cancelled. Investigate if this can be done by running TGP.\n if (restoringFromCaughtError) {\n this.resetState(t);\n }\n\n this.resetUrlToCurrentUrlTree();\n }\n }\n\n resetState(t) {\n this.routerState = t.currentRouterState;\n this.currentUrlTree = t.currentUrlTree; // Note here that we use the urlHandlingStrategy to get the reset `rawUrlTree` because it may be\n // configured to handle only part of the navigation URL. This means we would only want to reset\n // the part of the navigation handled by the Angular router rather than the whole URL. In\n // addition, the URLHandlingStrategy may be configured to specifically preserve parts of the URL\n // when merging, such as the query params so they are not lost on a refresh.\n\n this.rawUrlTree = this.urlHandlingStrategy.merge(this.currentUrlTree, t.rawUrl);\n }\n\n resetUrlToCurrentUrlTree() {\n this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree), '', this.generateNgRouterState(this.lastSuccessfulId, this.currentPageId));\n }\n\n cancelNavigationTransition(t, reason, code) {\n const navCancel = new NavigationCancel(t.id, this.serializeUrl(t.extractedUrl), reason, code);\n this.triggerEvent(navCancel);\n t.resolve(false);\n }\n\n generateNgRouterState(navigationId, routerPageId) {\n if (this.canceledNavigationResolution === 'computed') {\n return {\n navigationId,\n ɵrouterPageId: routerPageId\n };\n }\n\n return {\n navigationId\n };\n }\n\n }\n\n Router.ɵfac = function Router_Factory(t) {\n i0.ɵɵinvalidFactory();\n };\n\n Router.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: Router,\n factory: function () {\n return setupRouter();\n },\n providedIn: 'root'\n });\n return Router;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nfunction validateCommands(commands) {\n for (let i = 0; i < commands.length; i++) {\n const cmd = commands[i];\n\n if (cmd == null) {\n throw new ɵRuntimeError(4008\n /* RuntimeErrorCode.NULLISH_COMMAND */\n , NG_DEV_MODE$2 && `The requested path contains ${cmd} segment at index ${i}`);\n }\n }\n}\n\nfunction isBrowserTriggeredNavigation(source) {\n return source !== 'imperative';\n}\n/**\n * @description\n *\n * When applied to an element in a template, makes that element a link\n * that initiates navigation to a route. Navigation opens one or more routed components\n * in one or more `` locations on the page.\n *\n * Given a route configuration `[{ path: 'user/:name', component: UserCmp }]`,\n * the following creates a static link to the route:\n * `link to user component`\n *\n * You can use dynamic values to generate the link.\n * For a dynamic link, pass an array of path segments,\n * followed by the params for each segment.\n * For example, `['/team', teamId, 'user', userName, {details: true}]`\n * generates a link to `/team/11/user/bob;details=true`.\n *\n * Multiple static segments can be merged into one term and combined with dynamic segments.\n * For example, `['/team/11/user', userName, {details: true}]`\n *\n * The input that you provide to the link is treated as a delta to the current URL.\n * For instance, suppose the current URL is `/user/(box//aux:team)`.\n * The link `Jim` creates the URL\n * `/user/(jim//aux:team)`.\n * See {@link Router#createUrlTree createUrlTree} for more information.\n *\n * @usageNotes\n *\n * You can use absolute or relative paths in a link, set query parameters,\n * control how parameters are handled, and keep a history of navigation states.\n *\n * ### Relative link paths\n *\n * The first segment name can be prepended with `/`, `./`, or `../`.\n * * If the first segment begins with `/`, the router looks up the route from the root of the\n * app.\n * * If the first segment begins with `./`, or doesn't begin with a slash, the router\n * looks in the children of the current activated route.\n * * If the first segment begins with `../`, the router goes up one level in the route tree.\n *\n * ### Setting and handling query params and fragments\n *\n * The following link adds a query parameter and a fragment to the generated URL:\n *\n * ```\n * \n * link to user component\n * \n * ```\n * By default, the directive constructs the new URL using the given query parameters.\n * The example generates the link: `/user/bob?debug=true#education`.\n *\n * You can instruct the directive to handle query parameters differently\n * by specifying the `queryParamsHandling` option in the link.\n * Allowed values are:\n *\n * - `'merge'`: Merge the given `queryParams` into the current query params.\n * - `'preserve'`: Preserve the current query params.\n *\n * For example:\n *\n * ```\n * \n * link to user component\n * \n * ```\n *\n * See {@link UrlCreationOptions.queryParamsHandling UrlCreationOptions#queryParamsHandling}.\n *\n * ### Preserving navigation history\n *\n * You can provide a `state` value to be persisted to the browser's\n * [`History.state` property](https://developer.mozilla.org/en-US/docs/Web/API/History#Properties).\n * For example:\n *\n * ```\n * \n * link to user component\n * \n * ```\n *\n * Use {@link Router.getCurrentNavigation() Router#getCurrentNavigation} to retrieve a saved\n * navigation-state value. For example, to capture the `tracingId` during the `NavigationStart`\n * event:\n *\n * ```\n * // Get NavigationStart events\n * router.events.pipe(filter(e => e instanceof NavigationStart)).subscribe(e => {\n * const navigation = router.getCurrentNavigation();\n * tracingService.trace({id: navigation.extras.state.tracingId});\n * });\n * ```\n *\n * @ngModule RouterModule\n *\n * @publicApi\n */\n\n\nlet RouterLink = /*#__PURE__*/(() => {\n class RouterLink {\n constructor(router, route, tabIndexAttribute, renderer, el) {\n this.router = router;\n this.route = route;\n this.tabIndexAttribute = tabIndexAttribute;\n this.renderer = renderer;\n this.el = el;\n this._preserveFragment = false;\n this._skipLocationChange = false;\n this._replaceUrl = false;\n this.commands = null;\n /** @internal */\n\n this.onChanges = new Subject();\n this.setTabIndexIfNotOnNativeEl('0');\n }\n /**\n * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the\n * `UrlCreationOptions`.\n * @see {@link UrlCreationOptions#preserveFragment UrlCreationOptions#preserveFragment}\n * @see {@link Router#createUrlTree Router#createUrlTree}\n */\n\n\n set preserveFragment(preserveFragment) {\n this._preserveFragment = ɵcoerceToBoolean(preserveFragment);\n }\n\n get preserveFragment() {\n return this._preserveFragment;\n }\n /**\n * Passed to {@link Router#navigateByUrl Router#navigateByUrl} as part of the\n * `NavigationBehaviorOptions`.\n * @see {@link NavigationBehaviorOptions#skipLocationChange NavigationBehaviorOptions#skipLocationChange}\n * @see {@link Router#navigateByUrl Router#navigateByUrl}\n */\n\n\n set skipLocationChange(skipLocationChange) {\n this._skipLocationChange = ɵcoerceToBoolean(skipLocationChange);\n }\n\n get skipLocationChange() {\n return this._skipLocationChange;\n }\n /**\n * Passed to {@link Router#navigateByUrl Router#navigateByUrl} as part of the\n * `NavigationBehaviorOptions`.\n * @see {@link NavigationBehaviorOptions#replaceUrl NavigationBehaviorOptions#replaceUrl}\n * @see {@link Router#navigateByUrl Router#navigateByUrl}\n */\n\n\n set replaceUrl(replaceUrl) {\n this._replaceUrl = ɵcoerceToBoolean(replaceUrl);\n }\n\n get replaceUrl() {\n return this._replaceUrl;\n }\n /**\n * Modifies the tab index if there was not a tabindex attribute on the element during\n * instantiation.\n */\n\n\n setTabIndexIfNotOnNativeEl(newTabIndex) {\n if (this.tabIndexAttribute != null\n /* both `null` and `undefined` */\n ) {\n return;\n }\n\n const renderer = this.renderer;\n const nativeElement = this.el.nativeElement;\n\n if (newTabIndex !== null) {\n renderer.setAttribute(nativeElement, 'tabindex', newTabIndex);\n } else {\n renderer.removeAttribute(nativeElement, 'tabindex');\n }\n }\n /** @nodoc */\n\n\n ngOnChanges(changes) {\n // This is subscribed to by `RouterLinkActive` so that it knows to update when there are changes\n // to the RouterLinks it's tracking.\n this.onChanges.next(this);\n }\n /**\n * Commands to pass to {@link Router#createUrlTree Router#createUrlTree}.\n * - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}.\n * - **string**: shorthand for array of commands with just the string, i.e. `['/route']`\n * - **null|undefined**: effectively disables the `routerLink`\n * @see {@link Router#createUrlTree Router#createUrlTree}\n */\n\n\n set routerLink(commands) {\n if (commands != null) {\n this.commands = Array.isArray(commands) ? commands : [commands];\n this.setTabIndexIfNotOnNativeEl('0');\n } else {\n this.commands = null;\n this.setTabIndexIfNotOnNativeEl(null);\n }\n }\n /** @nodoc */\n\n\n onClick() {\n if (this.urlTree === null) {\n return true;\n }\n\n const extras = {\n skipLocationChange: this.skipLocationChange,\n replaceUrl: this.replaceUrl,\n state: this.state\n };\n this.router.navigateByUrl(this.urlTree, extras);\n return true;\n }\n\n get urlTree() {\n if (this.commands === null) {\n return null;\n }\n\n return this.router.createUrlTree(this.commands, {\n // If the `relativeTo` input is not defined, we want to use `this.route` by default.\n // Otherwise, we should use the value provided by the user in the input.\n relativeTo: this.relativeTo !== undefined ? this.relativeTo : this.route,\n queryParams: this.queryParams,\n fragment: this.fragment,\n queryParamsHandling: this.queryParamsHandling,\n preserveFragment: this.preserveFragment\n });\n }\n\n }\n\n RouterLink.ɵfac = function RouterLink_Factory(t) {\n return new (t || RouterLink)(i0.ɵɵdirectiveInject(Router), i0.ɵɵdirectiveInject(ActivatedRoute), i0.ɵɵinjectAttribute('tabindex'), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef));\n };\n\n RouterLink.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: RouterLink,\n selectors: [[\"\", \"routerLink\", \"\", 5, \"a\", 5, \"area\"]],\n hostBindings: function RouterLink_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"click\", function RouterLink_click_HostBindingHandler() {\n return ctx.onClick();\n });\n }\n },\n inputs: {\n queryParams: \"queryParams\",\n fragment: \"fragment\",\n queryParamsHandling: \"queryParamsHandling\",\n state: \"state\",\n relativeTo: \"relativeTo\",\n preserveFragment: \"preserveFragment\",\n skipLocationChange: \"skipLocationChange\",\n replaceUrl: \"replaceUrl\",\n routerLink: \"routerLink\"\n },\n standalone: true,\n features: [i0.ɵɵNgOnChangesFeature]\n });\n return RouterLink;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * @description\n *\n * Lets you link to specific routes in your app.\n *\n * See `RouterLink` for more information.\n *\n * @ngModule RouterModule\n *\n * @publicApi\n */\n\n\nlet RouterLinkWithHref = /*#__PURE__*/(() => {\n class RouterLinkWithHref {\n constructor(router, route, locationStrategy) {\n this.router = router;\n this.route = route;\n this.locationStrategy = locationStrategy;\n this._preserveFragment = false;\n this._skipLocationChange = false;\n this._replaceUrl = false;\n this.commands = null; // the url displayed on the anchor element.\n // @HostBinding('attr.href') is used rather than @HostBinding() because it removes the\n // href attribute when it becomes `null`.\n\n this.href = null;\n /** @internal */\n\n this.onChanges = new Subject();\n this.subscription = router.events.subscribe(s => {\n if (s instanceof NavigationEnd) {\n this.updateTargetUrlAndHref();\n }\n });\n }\n /**\n * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the\n * `UrlCreationOptions`.\n * @see {@link UrlCreationOptions#preserveFragment UrlCreationOptions#preserveFragment}\n * @see {@link Router#createUrlTree Router#createUrlTree}\n */\n\n\n set preserveFragment(preserveFragment) {\n this._preserveFragment = ɵcoerceToBoolean(preserveFragment);\n }\n\n get preserveFragment() {\n return this._preserveFragment;\n }\n /**\n * Passed to {@link Router#navigateByUrl Router#navigateByUrl} as part of the\n * `NavigationBehaviorOptions`.\n * @see {@link NavigationBehaviorOptions#skipLocationChange NavigationBehaviorOptions#skipLocationChange}\n * @see {@link Router#navigateByUrl Router#navigateByUrl}\n */\n\n\n set skipLocationChange(skipLocationChange) {\n this._skipLocationChange = ɵcoerceToBoolean(skipLocationChange);\n }\n\n get skipLocationChange() {\n return this._skipLocationChange;\n }\n /**\n * Passed to {@link Router#navigateByUrl Router#navigateByUrl} as part of the\n * `NavigationBehaviorOptions`.\n * @see {@link NavigationBehaviorOptions#replaceUrl NavigationBehaviorOptions#replaceUrl}\n * @see {@link Router#navigateByUrl Router#navigateByUrl}\n */\n\n\n set replaceUrl(replaceUrl) {\n this._replaceUrl = ɵcoerceToBoolean(replaceUrl);\n }\n\n get replaceUrl() {\n return this._replaceUrl;\n }\n /**\n * Commands to pass to {@link Router#createUrlTree Router#createUrlTree}.\n * - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}.\n * - **string**: shorthand for array of commands with just the string, i.e. `['/route']`\n * - **null|undefined**: Disables the link by removing the `href`\n * @see {@link Router#createUrlTree Router#createUrlTree}\n */\n\n\n set routerLink(commands) {\n if (commands != null) {\n this.commands = Array.isArray(commands) ? commands : [commands];\n } else {\n this.commands = null;\n }\n }\n /** @nodoc */\n\n\n ngOnChanges(changes) {\n this.updateTargetUrlAndHref();\n this.onChanges.next(this);\n }\n /** @nodoc */\n\n\n ngOnDestroy() {\n this.subscription.unsubscribe();\n }\n /** @nodoc */\n\n\n onClick(button, ctrlKey, shiftKey, altKey, metaKey) {\n if (button !== 0 || ctrlKey || shiftKey || altKey || metaKey) {\n return true;\n }\n\n if (typeof this.target === 'string' && this.target != '_self' || this.urlTree === null) {\n return true;\n }\n\n const extras = {\n skipLocationChange: this.skipLocationChange,\n replaceUrl: this.replaceUrl,\n state: this.state\n };\n this.router.navigateByUrl(this.urlTree, extras);\n return false;\n }\n\n updateTargetUrlAndHref() {\n this.href = this.urlTree !== null ? this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)) : null;\n }\n\n get urlTree() {\n if (this.commands === null) {\n return null;\n }\n\n return this.router.createUrlTree(this.commands, {\n // If the `relativeTo` input is not defined, we want to use `this.route` by default.\n // Otherwise, we should use the value provided by the user in the input.\n relativeTo: this.relativeTo !== undefined ? this.relativeTo : this.route,\n queryParams: this.queryParams,\n fragment: this.fragment,\n queryParamsHandling: this.queryParamsHandling,\n preserveFragment: this.preserveFragment\n });\n }\n\n }\n\n RouterLinkWithHref.ɵfac = function RouterLinkWithHref_Factory(t) {\n return new (t || RouterLinkWithHref)(i0.ɵɵdirectiveInject(Router), i0.ɵɵdirectiveInject(ActivatedRoute), i0.ɵɵdirectiveInject(i3.LocationStrategy));\n };\n\n RouterLinkWithHref.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: RouterLinkWithHref,\n selectors: [[\"a\", \"routerLink\", \"\"], [\"area\", \"routerLink\", \"\"]],\n hostVars: 2,\n hostBindings: function RouterLinkWithHref_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"click\", function RouterLinkWithHref_click_HostBindingHandler($event) {\n return ctx.onClick($event.button, $event.ctrlKey, $event.shiftKey, $event.altKey, $event.metaKey);\n });\n }\n\n if (rf & 2) {\n i0.ɵɵattribute(\"target\", ctx.target)(\"href\", ctx.href, i0.ɵɵsanitizeUrl);\n }\n },\n inputs: {\n target: \"target\",\n queryParams: \"queryParams\",\n fragment: \"fragment\",\n queryParamsHandling: \"queryParamsHandling\",\n state: \"state\",\n relativeTo: \"relativeTo\",\n preserveFragment: \"preserveFragment\",\n skipLocationChange: \"skipLocationChange\",\n replaceUrl: \"replaceUrl\",\n routerLink: \"routerLink\"\n },\n standalone: true,\n features: [i0.ɵɵNgOnChangesFeature]\n });\n return RouterLinkWithHref;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n *\n * @description\n *\n * Tracks whether the linked route of an element is currently active, and allows you\n * to specify one or more CSS classes to add to the element when the linked route\n * is active.\n *\n * Use this directive to create a visual distinction for elements associated with an active route.\n * For example, the following code highlights the word \"Bob\" when the router\n * activates the associated route:\n *\n * ```\n * Bob\n * ```\n *\n * Whenever the URL is either '/user' or '/user/bob', the \"active-link\" class is\n * added to the anchor tag. If the URL changes, the class is removed.\n *\n * You can set more than one class using a space-separated string or an array.\n * For example:\n *\n * ```\n * Bob\n * Bob\n * ```\n *\n * To add the classes only when the URL matches the link exactly, add the option `exact: true`:\n *\n * ```\n * Bob\n * ```\n *\n * To directly check the `isActive` status of the link, assign the `RouterLinkActive`\n * instance to a template variable.\n * For example, the following checks the status without assigning any CSS classes:\n *\n * ```\n * \n * Bob {{ rla.isActive ? '(already open)' : ''}}\n * \n * ```\n *\n * You can apply the `RouterLinkActive` directive to an ancestor of linked elements.\n * For example, the following sets the active-link class on the `
` parent tag\n * when the URL is either '/user/jim' or '/user/bob'.\n *\n * ```\n *
\n * Jim\n * Bob\n *
\n * ```\n *\n * The `RouterLinkActive` directive can also be used to set the aria-current attribute\n * to provide an alternative distinction for active elements to visually impaired users.\n *\n * For example, the following code adds the 'active' class to the Home Page link when it is\n * indeed active and in such case also sets its aria-current attribute to 'page':\n *\n * ```\n * Home Page\n * ```\n *\n * @ngModule RouterModule\n *\n * @publicApi\n */\n\n\nlet RouterLinkActive = /*#__PURE__*/(() => {\n class RouterLinkActive {\n constructor(router, element, renderer, cdr, link, linkWithHref) {\n this.router = router;\n this.element = element;\n this.renderer = renderer;\n this.cdr = cdr;\n this.link = link;\n this.linkWithHref = linkWithHref;\n this.classes = [];\n this.isActive = false;\n /**\n * Options to configure how to determine if the router link is active.\n *\n * These options are passed to the `Router.isActive()` function.\n *\n * @see Router.isActive\n */\n\n this.routerLinkActiveOptions = {\n exact: false\n };\n /**\n *\n * You can use the output `isActiveChange` to get notified each time the link becomes\n * active or inactive.\n *\n * Emits:\n * true -> Route is active\n * false -> Route is inactive\n *\n * ```\n * Bob\n * ```\n */\n\n this.isActiveChange = new EventEmitter();\n this.routerEventsSubscription = router.events.subscribe(s => {\n if (s instanceof NavigationEnd) {\n this.update();\n }\n });\n }\n /** @nodoc */\n\n\n ngAfterContentInit() {\n // `of(null)` is used to force subscribe body to execute once immediately (like `startWith`).\n of(this.links.changes, this.linksWithHrefs.changes, of(null)).pipe(mergeAll()).subscribe(_ => {\n this.update();\n this.subscribeToEachLinkOnChanges();\n });\n }\n\n subscribeToEachLinkOnChanges() {\n var _a;\n\n (_a = this.linkInputChangesSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();\n const allLinkChanges = [...this.links.toArray(), ...this.linksWithHrefs.toArray(), this.link, this.linkWithHref].filter(link => !!link).map(link => link.onChanges);\n this.linkInputChangesSubscription = from(allLinkChanges).pipe(mergeAll()).subscribe(link => {\n if (this.isActive !== this.isLinkActive(this.router)(link)) {\n this.update();\n }\n });\n }\n\n set routerLinkActive(data) {\n const classes = Array.isArray(data) ? data : data.split(' ');\n this.classes = classes.filter(c => !!c);\n }\n /** @nodoc */\n\n\n ngOnChanges(changes) {\n this.update();\n }\n /** @nodoc */\n\n\n ngOnDestroy() {\n var _a;\n\n this.routerEventsSubscription.unsubscribe();\n (_a = this.linkInputChangesSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();\n }\n\n update() {\n if (!this.links || !this.linksWithHrefs || !this.router.navigated) return;\n Promise.resolve().then(() => {\n const hasActiveLinks = this.hasActiveLinks();\n\n if (this.isActive !== hasActiveLinks) {\n this.isActive = hasActiveLinks;\n this.cdr.markForCheck();\n this.classes.forEach(c => {\n if (hasActiveLinks) {\n this.renderer.addClass(this.element.nativeElement, c);\n } else {\n this.renderer.removeClass(this.element.nativeElement, c);\n }\n });\n\n if (hasActiveLinks && this.ariaCurrentWhenActive !== undefined) {\n this.renderer.setAttribute(this.element.nativeElement, 'aria-current', this.ariaCurrentWhenActive.toString());\n } else {\n this.renderer.removeAttribute(this.element.nativeElement, 'aria-current');\n } // Emit on isActiveChange after classes are updated\n\n\n this.isActiveChange.emit(hasActiveLinks);\n }\n });\n }\n\n isLinkActive(router) {\n const options = isActiveMatchOptions(this.routerLinkActiveOptions) ? this.routerLinkActiveOptions : // While the types should disallow `undefined` here, it's possible without strict inputs\n this.routerLinkActiveOptions.exact || false;\n return link => link.urlTree ? router.isActive(link.urlTree, options) : false;\n }\n\n hasActiveLinks() {\n const isActiveCheckFn = this.isLinkActive(this.router);\n return this.link && isActiveCheckFn(this.link) || this.linkWithHref && isActiveCheckFn(this.linkWithHref) || this.links.some(isActiveCheckFn) || this.linksWithHrefs.some(isActiveCheckFn);\n }\n\n }\n\n RouterLinkActive.ɵfac = function RouterLinkActive_Factory(t) {\n return new (t || RouterLinkActive)(i0.ɵɵdirectiveInject(Router), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(RouterLink, 8), i0.ɵɵdirectiveInject(RouterLinkWithHref, 8));\n };\n\n RouterLinkActive.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: RouterLinkActive,\n selectors: [[\"\", \"routerLinkActive\", \"\"]],\n contentQueries: function RouterLinkActive_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n i0.ɵɵcontentQuery(dirIndex, RouterLink, 5);\n i0.ɵɵcontentQuery(dirIndex, RouterLinkWithHref, 5);\n }\n\n if (rf & 2) {\n let _t;\n\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.links = _t);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.linksWithHrefs = _t);\n }\n },\n inputs: {\n routerLinkActiveOptions: \"routerLinkActiveOptions\",\n ariaCurrentWhenActive: \"ariaCurrentWhenActive\",\n routerLinkActive: \"routerLinkActive\"\n },\n outputs: {\n isActiveChange: \"isActiveChange\"\n },\n exportAs: [\"routerLinkActive\"],\n standalone: true,\n features: [i0.ɵɵNgOnChangesFeature]\n });\n return RouterLinkActive;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Use instead of `'paths' in options` to be compatible with property renaming\n */\n\n\nfunction isActiveMatchOptions(options) {\n return !!options.paths;\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @description\n *\n * Provides a preloading strategy.\n *\n * @publicApi\n */\n\n\nclass PreloadingStrategy {}\n/**\n * @description\n *\n * Provides a preloading strategy that preloads all modules as quickly as possible.\n *\n * ```\n * RouterModule.forRoot(ROUTES, {preloadingStrategy: PreloadAllModules})\n * ```\n *\n * @publicApi\n */\n\n\nlet PreloadAllModules = /*#__PURE__*/(() => {\n class PreloadAllModules {\n preload(route, fn) {\n return fn().pipe(catchError(() => of(null)));\n }\n\n }\n\n PreloadAllModules.ɵfac = function PreloadAllModules_Factory(t) {\n return new (t || PreloadAllModules)();\n };\n\n PreloadAllModules.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PreloadAllModules,\n factory: PreloadAllModules.ɵfac,\n providedIn: 'root'\n });\n return PreloadAllModules;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * @description\n *\n * Provides a preloading strategy that does not preload any modules.\n *\n * This strategy is enabled by default.\n *\n * @publicApi\n */\n\n\nlet NoPreloading = /*#__PURE__*/(() => {\n class NoPreloading {\n preload(route, fn) {\n return of(null);\n }\n\n }\n\n NoPreloading.ɵfac = function NoPreloading_Factory(t) {\n return new (t || NoPreloading)();\n };\n\n NoPreloading.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: NoPreloading,\n factory: NoPreloading.ɵfac,\n providedIn: 'root'\n });\n return NoPreloading;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * The preloader optimistically loads all router configurations to\n * make navigations into lazily-loaded sections of the application faster.\n *\n * The preloader runs in the background. When the router bootstraps, the preloader\n * starts listening to all navigation events. After every such event, the preloader\n * will check if any configurations can be loaded lazily.\n *\n * If a route is protected by `canLoad` guards, the preloaded will not load it.\n *\n * @publicApi\n */\n\n\nlet RouterPreloader = /*#__PURE__*/(() => {\n class RouterPreloader {\n constructor(router, compiler, injector, preloadingStrategy, loader) {\n this.router = router;\n this.injector = injector;\n this.preloadingStrategy = preloadingStrategy;\n this.loader = loader;\n }\n\n setUpPreloading() {\n this.subscription = this.router.events.pipe(filter(e => e instanceof NavigationEnd), concatMap(() => this.preload())).subscribe(() => {});\n }\n\n preload() {\n return this.processRoutes(this.injector, this.router.config);\n }\n /** @nodoc */\n\n\n ngOnDestroy() {\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n }\n\n processRoutes(injector, routes) {\n var _a, _b, _c;\n\n const res = [];\n\n for (const route of routes) {\n if (route.providers && !route._injector) {\n route._injector = createEnvironmentInjector(route.providers, injector, `Route: ${route.path}`);\n }\n\n const injectorForCurrentRoute = (_a = route._injector) !== null && _a !== void 0 ? _a : injector;\n const injectorForChildren = (_b = route._loadedInjector) !== null && _b !== void 0 ? _b : injectorForCurrentRoute; // Note that `canLoad` is only checked as a condition that prevents `loadChildren` and not\n // `loadComponent`. `canLoad` guards only block loading of child routes by design. This\n // happens as a consequence of needing to descend into children for route matching immediately\n // while component loading is deferred until route activation. Because `canLoad` guards can\n // have side effects, we cannot execute them here so we instead skip preloading altogether\n // when present. Lastly, it remains to be decided whether `canLoad` should behave this way\n // at all. Code splitting and lazy loading is separate from client-side authorization checks\n // and should not be used as a security measure to prevent loading of code.\n\n if (route.loadChildren && !route._loadedRoutes && route.canLoad === undefined || route.loadComponent && !route._loadedComponent) {\n res.push(this.preloadConfig(injectorForCurrentRoute, route));\n } else if (route.children || route._loadedRoutes) {\n res.push(this.processRoutes(injectorForChildren, (_c = route.children) !== null && _c !== void 0 ? _c : route._loadedRoutes));\n }\n }\n\n return from(res).pipe(mergeAll());\n }\n\n preloadConfig(injector, route) {\n return this.preloadingStrategy.preload(route, () => {\n let loadedChildren$;\n\n if (route.loadChildren && route.canLoad === undefined) {\n loadedChildren$ = this.loader.loadChildren(injector, route);\n } else {\n loadedChildren$ = of(null);\n }\n\n const recursiveLoadChildren$ = loadedChildren$.pipe(mergeMap(config => {\n var _a;\n\n if (config === null) {\n return of(void 0);\n }\n\n route._loadedRoutes = config.routes;\n route._loadedInjector = config.injector; // If the loaded config was a module, use that as the module/module injector going\n // forward. Otherwise, continue using the current module/module injector.\n\n return this.processRoutes((_a = config.injector) !== null && _a !== void 0 ? _a : injector, config.routes);\n }));\n\n if (route.loadComponent && !route._loadedComponent) {\n const loadComponent$ = this.loader.loadComponent(route);\n return from([recursiveLoadChildren$, loadComponent$]).pipe(mergeAll());\n } else {\n return recursiveLoadChildren$;\n }\n });\n }\n\n }\n\n RouterPreloader.ɵfac = function RouterPreloader_Factory(t) {\n return new (t || RouterPreloader)(i0.ɵɵinject(Router), i0.ɵɵinject(i0.Compiler), i0.ɵɵinject(i0.EnvironmentInjector), i0.ɵɵinject(PreloadingStrategy), i0.ɵɵinject(RouterConfigLoader));\n };\n\n RouterPreloader.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: RouterPreloader,\n factory: RouterPreloader.ɵfac,\n providedIn: 'root'\n });\n return RouterPreloader;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nconst ROUTER_SCROLLER = /*#__PURE__*/new InjectionToken('');\nlet RouterScroller = /*#__PURE__*/(() => {\n class RouterScroller {\n constructor(router,\n /** @docsNotRequired */\n viewportScroller, options = {}) {\n this.router = router;\n this.viewportScroller = viewportScroller;\n this.options = options;\n this.lastId = 0;\n this.lastSource = 'imperative';\n this.restoredId = 0;\n this.store = {}; // Default both options to 'disabled'\n\n options.scrollPositionRestoration = options.scrollPositionRestoration || 'disabled';\n options.anchorScrolling = options.anchorScrolling || 'disabled';\n }\n\n init() {\n // we want to disable the automatic scrolling because having two places\n // responsible for scrolling results race conditions, especially given\n // that browser don't implement this behavior consistently\n if (this.options.scrollPositionRestoration !== 'disabled') {\n this.viewportScroller.setHistoryScrollRestoration('manual');\n }\n\n this.routerEventsSubscription = this.createScrollEvents();\n this.scrollEventsSubscription = this.consumeScrollEvents();\n }\n\n createScrollEvents() {\n return this.router.events.subscribe(e => {\n if (e instanceof NavigationStart) {\n // store the scroll position of the current stable navigations.\n this.store[this.lastId] = this.viewportScroller.getScrollPosition();\n this.lastSource = e.navigationTrigger;\n this.restoredId = e.restoredState ? e.restoredState.navigationId : 0;\n } else if (e instanceof NavigationEnd) {\n this.lastId = e.id;\n this.scheduleScrollEvent(e, this.router.parseUrl(e.urlAfterRedirects).fragment);\n }\n });\n }\n\n consumeScrollEvents() {\n return this.router.events.subscribe(e => {\n if (!(e instanceof Scroll)) return; // a popstate event. The pop state event will always ignore anchor scrolling.\n\n if (e.position) {\n if (this.options.scrollPositionRestoration === 'top') {\n this.viewportScroller.scrollToPosition([0, 0]);\n } else if (this.options.scrollPositionRestoration === 'enabled') {\n this.viewportScroller.scrollToPosition(e.position);\n } // imperative navigation \"forward\"\n\n } else {\n if (e.anchor && this.options.anchorScrolling === 'enabled') {\n this.viewportScroller.scrollToAnchor(e.anchor);\n } else if (this.options.scrollPositionRestoration !== 'disabled') {\n this.viewportScroller.scrollToPosition([0, 0]);\n }\n }\n });\n }\n\n scheduleScrollEvent(routerEvent, anchor) {\n this.router.triggerEvent(new Scroll(routerEvent, this.lastSource === 'popstate' ? this.store[this.restoredId] : null, anchor));\n }\n /** @nodoc */\n\n\n ngOnDestroy() {\n if (this.routerEventsSubscription) {\n this.routerEventsSubscription.unsubscribe();\n }\n\n if (this.scrollEventsSubscription) {\n this.scrollEventsSubscription.unsubscribe();\n }\n }\n\n }\n\n RouterScroller.ɵfac = function RouterScroller_Factory(t) {\n i0.ɵɵinvalidFactory();\n };\n\n RouterScroller.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: RouterScroller,\n factory: RouterScroller.ɵfac\n });\n return RouterScroller;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nconst NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || ngDevMode;\n/**\n * Sets up providers necessary to enable `Router` functionality for the application.\n * Allows to configure a set of routes as well as extra features that should be enabled.\n *\n * @usageNotes\n *\n * Basic example of how you can add a Router to your application:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent, {\n * providers: [provideRouter(appRoutes)]\n * });\n * ```\n *\n * You can also enable optional features in the Router by adding functions from the `RouterFeatures`\n * type:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes,\n * withDebugTracing(),\n * withRouterConfig({paramsInheritanceStrategy: 'always'}))\n * ]\n * }\n * );\n * ```\n *\n * @see `RouterFeatures`\n *\n * @publicApi\n * @developerPreview\n * @param routes A set of `Route`s to use for the application routing table.\n * @param features Optional features to configure additional router behaviors.\n * @returns A set of providers to setup a Router.\n */\n\nfunction provideRouter(routes, ...features) {\n return [provideRoutes(routes), {\n provide: ActivatedRoute,\n useFactory: rootRoute,\n deps: [Router]\n }, {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useFactory: getBootstrapListener\n }, features.map(feature => feature.ɵproviders) // TODO: All options used by the `assignExtraOptionsToRouter` factory need to be reviewed for\n // how we want them to be configured. This API doesn't currently have a way to configure them\n // and we should decide what the _best_ way to do that is rather than just sticking with the\n // status quo of how it's done today.\n ];\n}\n\nfunction rootRoute(router) {\n return router.routerState.root;\n}\n/**\n * Helper function to create an object that represents a Router feature.\n */\n\n\nfunction routerFeature(kind, providers) {\n return {\n ɵkind: kind,\n ɵproviders: providers\n };\n}\n/**\n * Registers a [DI provider](guide/glossary#provider) for a set of routes.\n * @param routes The route configuration to provide.\n *\n * @usageNotes\n *\n * ```\n * @NgModule({\n * providers: [provideRoutes(ROUTES)]\n * })\n * class LazyLoadedChildModule {}\n * ```\n *\n * @publicApi\n */\n\n\nfunction provideRoutes(routes) {\n return [{\n provide: ROUTES,\n multi: true,\n useValue: routes\n }];\n}\n/**\n * Enables customizable scrolling behavior for router navigations.\n *\n * @usageNotes\n *\n * Basic example of how you can enable scrolling feature:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withInMemoryScrolling())\n * ]\n * }\n * );\n * ```\n *\n * @see `provideRouter`\n * @see `ViewportScroller`\n *\n * @publicApi\n * @developerPreview\n * @param options Set of configuration parameters to customize scrolling behavior, see\n * `InMemoryScrollingOptions` for additional information.\n * @returns A set of providers for use with `provideRouter`.\n */\n\n\nfunction withInMemoryScrolling(options = {}) {\n const providers = [{\n provide: ROUTER_SCROLLER,\n useFactory: () => {\n const router = inject(Router);\n const viewportScroller = inject(ViewportScroller);\n return new RouterScroller(router, viewportScroller, options);\n }\n }];\n return routerFeature(4\n /* RouterFeatureKind.InMemoryScrollingFeature */\n , providers);\n}\n\nfunction getBootstrapListener() {\n const injector = inject(Injector);\n return bootstrappedComponentRef => {\n var _a, _b;\n\n const ref = injector.get(ApplicationRef);\n\n if (bootstrappedComponentRef !== ref.components[0]) {\n return;\n }\n\n const router = injector.get(Router);\n const bootstrapDone = injector.get(BOOTSTRAP_DONE);\n\n if (injector.get(INITIAL_NAVIGATION) === 1\n /* InitialNavigation.EnabledNonBlocking */\n ) {\n router.initialNavigation();\n }\n\n (_a = injector.get(ROUTER_PRELOADER, null, InjectFlags.Optional)) === null || _a === void 0 ? void 0 : _a.setUpPreloading();\n (_b = injector.get(ROUTER_SCROLLER, null, InjectFlags.Optional)) === null || _b === void 0 ? void 0 : _b.init();\n router.resetRootComponentType(ref.componentTypes[0]);\n\n if (!bootstrapDone.closed) {\n bootstrapDone.next();\n bootstrapDone.unsubscribe();\n }\n };\n}\n/**\n * A subject used to indicate that the bootstrapping phase is done. When initial navigation is\n * `enabledBlocking`, the first navigation waits until bootstrapping is finished before continuing\n * to the activation phase.\n */\n\n\nconst BOOTSTRAP_DONE = /*#__PURE__*/new InjectionToken(NG_DEV_MODE$1 ? 'bootstrap done indicator' : '', {\n factory: () => {\n return new Subject();\n }\n});\nconst INITIAL_NAVIGATION = /*#__PURE__*/new InjectionToken(NG_DEV_MODE$1 ? 'initial navigation' : '', {\n providedIn: 'root',\n factory: () => 1\n /* InitialNavigation.EnabledNonBlocking */\n\n});\n/**\n * Configures initial navigation to start before the root component is created.\n *\n * The bootstrap is blocked until the initial navigation is complete. This value is required for\n * [server-side rendering](guide/universal) to work.\n *\n * @usageNotes\n *\n * Basic example of how you can enable this navigation behavior:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withEnabledBlockingInitialNavigation())\n * ]\n * }\n * );\n * ```\n *\n * @see `provideRouter`\n *\n * @publicApi\n * @developerPreview\n * @returns A set of providers for use with `provideRouter`.\n */\n\nfunction withEnabledBlockingInitialNavigation() {\n const providers = [{\n provide: INITIAL_NAVIGATION,\n useValue: 0\n /* InitialNavigation.EnabledBlocking */\n\n }, {\n provide: APP_INITIALIZER,\n multi: true,\n deps: [Injector],\n useFactory: injector => {\n const locationInitialized = injector.get(LOCATION_INITIALIZED, Promise.resolve());\n let initNavigation = false;\n /**\n * Performs the given action once the router finishes its next/current navigation.\n *\n * If the navigation is canceled or errors without a redirect, the navigation is considered\n * complete. If the `NavigationEnd` event emits, the navigation is also considered complete.\n */\n\n function afterNextNavigation(action) {\n const router = injector.get(Router);\n router.events.pipe(filter(e => e instanceof NavigationEnd || e instanceof NavigationCancel || e instanceof NavigationError), map(e => {\n if (e instanceof NavigationEnd) {\n // Navigation assumed to succeed if we get `ActivationStart`\n return true;\n }\n\n const redirecting = e instanceof NavigationCancel ? e.code === 0\n /* NavigationCancellationCode.Redirect */\n || e.code === 1\n /* NavigationCancellationCode.SupersededByNewNavigation */\n : false;\n return redirecting ? null : false;\n }), filter(result => result !== null), take(1)).subscribe(() => {\n action();\n });\n }\n\n return () => {\n return locationInitialized.then(() => {\n return new Promise(resolve => {\n const router = injector.get(Router);\n const bootstrapDone = injector.get(BOOTSTRAP_DONE);\n afterNextNavigation(() => {\n // Unblock APP_INITIALIZER in case the initial navigation was canceled or errored\n // without a redirect.\n resolve(true);\n initNavigation = true;\n });\n\n router.afterPreactivation = () => {\n // Unblock APP_INITIALIZER once we get to `afterPreactivation`. At this point, we\n // assume activation will complete successfully (even though this is not\n // guaranteed).\n resolve(true); // only the initial navigation should be delayed until bootstrapping is done.\n\n if (!initNavigation) {\n return bootstrapDone.closed ? of(void 0) : bootstrapDone; // subsequent navigations should not be delayed\n } else {\n return of(void 0);\n }\n };\n\n router.initialNavigation();\n });\n });\n };\n }\n }];\n return routerFeature(2\n /* RouterFeatureKind.EnabledBlockingInitialNavigationFeature */\n , providers);\n}\n/**\n * Disables initial navigation.\n *\n * Use if there is a reason to have more control over when the router starts its initial navigation\n * due to some complex initialization logic.\n *\n * @usageNotes\n *\n * Basic example of how you can disable initial navigation:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withDisabledInitialNavigation())\n * ]\n * }\n * );\n * ```\n *\n * @see `provideRouter`\n *\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n * @developerPreview\n */\n\n\nfunction withDisabledInitialNavigation() {\n const providers = [{\n provide: APP_INITIALIZER,\n multi: true,\n useFactory: () => {\n const router = inject(Router);\n return () => {\n router.setUpLocationChangeListener();\n };\n }\n }, {\n provide: INITIAL_NAVIGATION,\n useValue: 2\n /* InitialNavigation.Disabled */\n\n }];\n return routerFeature(3\n /* RouterFeatureKind.DisabledInitialNavigationFeature */\n , providers);\n}\n/**\n * Enables logging of all internal navigation events to the console.\n * Extra logging might be useful for debugging purposes to inspect Router event sequence.\n *\n * @usageNotes\n *\n * Basic example of how you can enable debug tracing:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withDebugTracing())\n * ]\n * }\n * );\n * ```\n *\n * @see `provideRouter`\n *\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n * @developerPreview\n */\n\n\nfunction withDebugTracing() {\n let providers = [];\n\n if (NG_DEV_MODE$1) {\n providers = [{\n provide: ENVIRONMENT_INITIALIZER,\n multi: true,\n useFactory: () => {\n const router = inject(Router);\n return () => router.events.subscribe(e => {\n var _a, _b; // tslint:disable:no-console\n\n\n (_a = console.group) === null || _a === void 0 ? void 0 : _a.call(console, `Router Event: ${e.constructor.name}`);\n console.log(stringifyEvent(e));\n console.log(e);\n (_b = console.groupEnd) === null || _b === void 0 ? void 0 : _b.call(console); // tslint:enable:no-console\n });\n }\n }];\n } else {\n providers = [];\n }\n\n return routerFeature(1\n /* RouterFeatureKind.DebugTracingFeature */\n , providers);\n}\n\nconst ROUTER_PRELOADER = /*#__PURE__*/new InjectionToken(NG_DEV_MODE$1 ? 'router preloader' : '');\n/**\n * Allows to configure a preloading strategy to use. The strategy is configured by providing a\n * reference to a class that implements a `PreloadingStrategy`.\n *\n * @usageNotes\n *\n * Basic example of how you can configure preloading:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withPreloading(PreloadAllModules))\n * ]\n * }\n * );\n * ```\n *\n * @see `provideRouter`\n *\n * @param preloadingStrategy A reference to a class that implements a `PreloadingStrategy` that\n * should be used.\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n * @developerPreview\n */\n\nfunction withPreloading(preloadingStrategy) {\n const providers = [{\n provide: ROUTER_PRELOADER,\n useExisting: RouterPreloader\n }, {\n provide: PreloadingStrategy,\n useExisting: preloadingStrategy\n }];\n return routerFeature(0\n /* RouterFeatureKind.PreloadingFeature */\n , providers);\n}\n/**\n * Allows to provide extra parameters to configure Router.\n *\n * @usageNotes\n *\n * Basic example of how you can provide extra configuration options:\n * ```\n * const appRoutes: Routes = [];\n * bootstrapApplication(AppComponent,\n * {\n * providers: [\n * provideRouter(appRoutes, withRouterConfig({\n * onSameUrlNavigation: 'reload'\n * }))\n * ]\n * }\n * );\n * ```\n *\n * @see `provideRouter`\n *\n * @param options A set of parameters to configure Router, see `RouterConfigOptions` for\n * additional information.\n * @returns A set of providers for use with `provideRouter`.\n *\n * @publicApi\n * @developerPreview\n */\n\n\nfunction withRouterConfig(options) {\n const providers = [{\n provide: ROUTER_CONFIGURATION,\n useValue: options\n }];\n return routerFeature(5\n /* RouterFeatureKind.RouterConfigurationFeature */\n , providers);\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nconst NG_DEV_MODE = typeof ngDevMode === 'undefined' || ngDevMode;\n/**\n * The directives defined in the `RouterModule`.\n */\n\nconst ROUTER_DIRECTIVES = [RouterOutlet, RouterLink, RouterLinkWithHref, RouterLinkActive, ɵEmptyOutletComponent];\n/**\n * @docsNotRequired\n */\n\nconst ROUTER_FORROOT_GUARD = /*#__PURE__*/new InjectionToken(NG_DEV_MODE ? 'router duplicate forRoot guard' : 'ROUTER_FORROOT_GUARD'); // TODO(atscott): All of these except `ActivatedRoute` are `providedIn: 'root'`. They are only kept\n// here to avoid a breaking change whereby the provider order matters based on where the\n// `RouterModule`/`RouterTestingModule` is imported. These can/should be removed as a \"breaking\"\n// change in a major version.\n\nconst ROUTER_PROVIDERS = [Location, {\n provide: UrlSerializer,\n useClass: DefaultUrlSerializer\n}, {\n provide: Router,\n useFactory: setupRouter\n}, ChildrenOutletContexts, {\n provide: ActivatedRoute,\n useFactory: rootRoute,\n deps: [Router]\n}, RouterConfigLoader];\n\nfunction routerNgProbeToken() {\n return new NgProbeToken('Router', Router);\n}\n/**\n * @description\n *\n * Adds directives and providers for in-app navigation among views defined in an application.\n * Use the Angular `Router` service to declaratively specify application states and manage state\n * transitions.\n *\n * You can import this NgModule multiple times, once for each lazy-loaded bundle.\n * However, only one `Router` service can be active.\n * To ensure this, there are two ways to register routes when importing this module:\n *\n * * The `forRoot()` method creates an `NgModule` that contains all the directives, the given\n * routes, and the `Router` service itself.\n * * The `forChild()` method creates an `NgModule` that contains all the directives and the given\n * routes, but does not include the `Router` service.\n *\n * @see [Routing and Navigation guide](guide/router) for an\n * overview of how the `Router` service should be used.\n *\n * @publicApi\n */\n\n\nlet RouterModule = /*#__PURE__*/(() => {\n class RouterModule {\n constructor(guard) {}\n /**\n * Creates and configures a module with all the router providers and directives.\n * Optionally sets up an application listener to perform an initial navigation.\n *\n * When registering the NgModule at the root, import as follows:\n *\n * ```\n * @NgModule({\n * imports: [RouterModule.forRoot(ROUTES)]\n * })\n * class MyNgModule {}\n * ```\n *\n * @param routes An array of `Route` objects that define the navigation paths for the application.\n * @param config An `ExtraOptions` configuration object that controls how navigation is performed.\n * @return The new `NgModule`.\n *\n */\n\n\n static forRoot(routes, config) {\n return {\n ngModule: RouterModule,\n providers: [ROUTER_PROVIDERS, NG_DEV_MODE ? (config === null || config === void 0 ? void 0 : config.enableTracing) ? withDebugTracing().ɵproviders : [] : [], provideRoutes(routes), {\n provide: ROUTER_FORROOT_GUARD,\n useFactory: provideForRootGuard,\n deps: [[Router, new Optional(), new SkipSelf()]]\n }, {\n provide: ROUTER_CONFIGURATION,\n useValue: config ? config : {}\n }, (config === null || config === void 0 ? void 0 : config.useHash) ? provideHashLocationStrategy() : providePathLocationStrategy(), provideRouterScroller(), (config === null || config === void 0 ? void 0 : config.preloadingStrategy) ? withPreloading(config.preloadingStrategy).ɵproviders : [], {\n provide: NgProbeToken,\n multi: true,\n useFactory: routerNgProbeToken\n }, (config === null || config === void 0 ? void 0 : config.initialNavigation) ? provideInitialNavigation(config) : [], provideRouterInitializer()]\n };\n }\n /**\n * Creates a module with all the router directives and a provider registering routes,\n * without creating a new Router service.\n * When registering for submodules and lazy-loaded submodules, create the NgModule as follows:\n *\n * ```\n * @NgModule({\n * imports: [RouterModule.forChild(ROUTES)]\n * })\n * class MyNgModule {}\n * ```\n *\n * @param routes An array of `Route` objects that define the navigation paths for the submodule.\n * @return The new NgModule.\n *\n */\n\n\n static forChild(routes) {\n return {\n ngModule: RouterModule,\n providers: [provideRoutes(routes)]\n };\n }\n\n }\n\n RouterModule.ɵfac = function RouterModule_Factory(t) {\n return new (t || RouterModule)(i0.ɵɵinject(ROUTER_FORROOT_GUARD, 8));\n };\n\n RouterModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: RouterModule\n });\n RouterModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [ɵEmptyOutletComponent]\n });\n return RouterModule;\n})();\n\n/*#__PURE__*/\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * For internal use by `RouterModule` only. Note that this differs from `withInMemoryRouterScroller`\n * because it reads from the `ExtraOptions` which should not be used in the standalone world.\n */\n\n\nfunction provideRouterScroller() {\n return {\n provide: ROUTER_SCROLLER,\n useFactory: () => {\n const router = inject(Router);\n const viewportScroller = inject(ViewportScroller);\n const config = inject(ROUTER_CONFIGURATION);\n\n if (config.scrollOffset) {\n viewportScroller.setOffset(config.scrollOffset);\n }\n\n return new RouterScroller(router, viewportScroller, config);\n }\n };\n} // Note: For internal use only with `RouterModule`. Standalone setup via `provideRouter` should\n// provide hash location directly via `{provide: LocationStrategy, useClass: HashLocationStrategy}`.\n\n\nfunction provideHashLocationStrategy() {\n return {\n provide: LocationStrategy,\n useClass: HashLocationStrategy\n };\n} // Note: For internal use only with `RouterModule`. Standalone setup via `provideRouter` does not\n// need this at all because `PathLocationStrategy` is the default factory for `LocationStrategy`.\n\n\nfunction providePathLocationStrategy() {\n return {\n provide: LocationStrategy,\n useClass: PathLocationStrategy\n };\n}\n\nfunction provideForRootGuard(router) {\n if (NG_DEV_MODE && router) {\n throw new ɵRuntimeError(4007\n /* RuntimeErrorCode.FOR_ROOT_CALLED_TWICE */\n , `The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector.` + ` Lazy loaded modules should use RouterModule.forChild() instead.`);\n }\n\n return 'guarded';\n} // Note: For internal use only with `RouterModule`. Standalone router setup with `provideRouter`\n// users call `withXInitialNavigation` directly.\n\n\nfunction provideInitialNavigation(config) {\n return [config.initialNavigation === 'disabled' ? withDisabledInitialNavigation().ɵproviders : [], config.initialNavigation === 'enabledBlocking' ? withEnabledBlockingInitialNavigation().ɵproviders : []];\n} // TODO(atscott): This should not be in the public API\n\n/**\n * A [DI token](guide/glossary/#di-token) for the router initializer that\n * is called after the app is bootstrapped.\n *\n * @publicApi\n */\n\n\nconst ROUTER_INITIALIZER = /*#__PURE__*/new InjectionToken(NG_DEV_MODE ? 'Router Initializer' : '');\n\nfunction provideRouterInitializer() {\n return [// ROUTER_INITIALIZER token should be removed. It's public API but shouldn't be. We can just\n // have `getBootstrapListener` directly attached to APP_BOOTSTRAP_LISTENER.\n {\n provide: ROUTER_INITIALIZER,\n useFactory: getBootstrapListener\n }, {\n provide: APP_BOOTSTRAP_LISTENER,\n multi: true,\n useExisting: ROUTER_INITIALIZER\n }];\n}\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @publicApi\n */\n\n\nconst VERSION = /*#__PURE__*/new Version('14.2.0');\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ActivatedRoute, ActivatedRouteSnapshot, ActivationEnd, ActivationStart, BaseRouteReuseStrategy, ChildActivationEnd, ChildActivationStart, ChildrenOutletContexts, DefaultTitleStrategy, DefaultUrlSerializer, GuardsCheckEnd, GuardsCheckStart, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, NoPreloading, OutletContext, PRIMARY_OUTLET, PreloadAllModules, PreloadingStrategy, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, ROUTES, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouteReuseStrategy, Router, RouterEvent, RouterLink, RouterLinkActive, RouterLinkWithHref, RouterModule, RouterOutlet, RouterPreloader, RouterState, RouterStateSnapshot, RoutesRecognized, Scroll, TitleStrategy, UrlHandlingStrategy, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree, VERSION, convertToParamMap, createUrlTreeFromSnapshot, defaultUrlMatcher, provideRouter, provideRoutes, withDebugTracing, withDisabledInitialNavigation, withEnabledBlockingInitialNavigation, withInMemoryScrolling, withPreloading, withRouterConfig, ɵEmptyOutletComponent, ROUTER_PROVIDERS as ɵROUTER_PROVIDERS, assignExtraOptionsToRouter as ɵassignExtraOptionsToRouter, flatten as ɵflatten, withPreloading as ɵwithPreloading }; //# sourceMappingURL=router.mjs.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/150e027c53077f51bbc56d0f1f102bc6.json b/.angular/cache/14.2.11/babel-webpack/150e027c53077f51bbc56d0f1f102bc6.json new file mode 100644 index 0000000000..22d3176086 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/150e027c53077f51bbc56d0f1f102bc6.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-number-input.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, Input, HostBinding, EventEmitter, Output, TemplateRef, HostListener, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport { IconModule } from 'carbon-components-angular/icon';\n/**\n * Used to emit changes performed on number input components.\n */\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/i18n';\nimport * as ɵngcc2 from '@angular/common';\nimport * as ɵngcc3 from 'carbon-components-angular/icon';\n\nfunction NumberComponent_label_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelement(0, \"label\", 10);\n }\n}\n\nfunction NumberComponent_label_2_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementContainerStart(0);\n ɵngcc0.ɵɵtext(1);\n ɵngcc0.ɵɵelementContainerEnd();\n }\n\n if (rf & 2) {\n const ctx_r8 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate(ctx_r8.label);\n }\n}\n\nfunction NumberComponent_label_2_2_ng_template_0_Template(rf, ctx) {}\n\nfunction NumberComponent_label_2_2_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵtemplate(0, NumberComponent_label_2_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n }\n\n if (rf & 2) {\n const ctx_r9 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r9.label);\n }\n}\n\nfunction NumberComponent_label_2_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"label\", 11);\n ɵngcc0.ɵɵtemplate(1, NumberComponent_label_2_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n ɵngcc0.ɵɵtemplate(2, NumberComponent_label_2_2_Template, 1, 1, null, 12);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r1 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵproperty(\"for\", ctx_r1.id);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r1.isTemplate(ctx_r1.label));\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r1.isTemplate(ctx_r1.label));\n }\n}\n\nfunction NumberComponent__svg_svg_5_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelement(0, \"svg\", 14);\n }\n}\n\nfunction NumberComponent__svg_svg_6_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelement(0, \"svg\", 15);\n }\n}\n\nfunction NumberComponent_div_7_Template(rf, ctx) {\n if (rf & 1) {\n const _r12 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵelementStart(0, \"div\", 16)(1, \"button\", 17);\n ɵngcc0.ɵɵlistener(\"click\", function NumberComponent_div_7_Template_button_click_1_listener() {\n ɵngcc0.ɵɵrestoreView(_r12);\n const ctx_r11 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r11.onDecrement());\n });\n ɵngcc0.ɵɵpipe(2, \"async\");\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelement(3, \"svg\", 18);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵnamespaceHTML();\n ɵngcc0.ɵɵelement(4, \"div\", 19);\n ɵngcc0.ɵɵelementStart(5, \"button\", 20);\n ɵngcc0.ɵɵlistener(\"click\", function NumberComponent_div_7_Template_button_click_5_listener() {\n ɵngcc0.ɵɵrestoreView(_r12);\n const ctx_r13 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r13.onIncrement());\n });\n ɵngcc0.ɵɵpipe(6, \"async\");\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelement(7, \"svg\", 21);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵnamespaceHTML();\n ɵngcc0.ɵɵelement(8, \"div\", 19);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r4 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵattribute(\"disabled\", ctx_r4.disabled ? true : null)(\"aria-label\", ɵngcc0.ɵɵpipeBind1(2, 4, ctx_r4.getDecrementLabel()));\n ɵngcc0.ɵɵadvance(4);\n ɵngcc0.ɵɵattribute(\"disabled\", ctx_r4.disabled ? true : null)(\"aria-label\", ɵngcc0.ɵɵpipeBind1(6, 6, ctx_r4.getIncrementLabel()));\n }\n}\n\nfunction NumberComponent_div_8_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementContainerStart(0);\n ɵngcc0.ɵɵtext(1);\n ɵngcc0.ɵɵelementContainerEnd();\n }\n\n if (rf & 2) {\n const ctx_r14 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate(ctx_r14.helperText);\n }\n}\n\nfunction NumberComponent_div_8_2_ng_template_0_Template(rf, ctx) {}\n\nfunction NumberComponent_div_8_2_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵtemplate(0, NumberComponent_div_8_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n }\n\n if (rf & 2) {\n const ctx_r15 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r15.helperText);\n }\n}\n\nfunction NumberComponent_div_8_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"div\", 22);\n ɵngcc0.ɵɵtemplate(1, NumberComponent_div_8_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n ɵngcc0.ɵɵtemplate(2, NumberComponent_div_8_2_Template, 1, 1, null, 12);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r5 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r5.isTemplate(ctx_r5.helperText));\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r5.isTemplate(ctx_r5.helperText));\n }\n}\n\nfunction NumberComponent_div_9_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementContainerStart(0);\n ɵngcc0.ɵɵtext(1);\n ɵngcc0.ɵɵelementContainerEnd();\n }\n\n if (rf & 2) {\n const ctx_r17 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate(ctx_r17.invalidText);\n }\n}\n\nfunction NumberComponent_div_9_2_ng_template_0_Template(rf, ctx) {}\n\nfunction NumberComponent_div_9_2_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵtemplate(0, NumberComponent_div_9_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n }\n\n if (rf & 2) {\n const ctx_r18 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r18.invalidText);\n }\n}\n\nfunction NumberComponent_div_9_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"div\", 23);\n ɵngcc0.ɵɵtemplate(1, NumberComponent_div_9_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n ɵngcc0.ɵɵtemplate(2, NumberComponent_div_9_2_Template, 1, 1, null, 12);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r6 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r6.isTemplate(ctx_r6.invalidText));\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r6.isTemplate(ctx_r6.invalidText));\n }\n}\n\nfunction NumberComponent_div_10_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementContainerStart(0);\n ɵngcc0.ɵɵtext(1);\n ɵngcc0.ɵɵelementContainerEnd();\n }\n\n if (rf & 2) {\n const ctx_r20 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate(ctx_r20.warnText);\n }\n}\n\nfunction NumberComponent_div_10_2_ng_template_0_Template(rf, ctx) {}\n\nfunction NumberComponent_div_10_2_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵtemplate(0, NumberComponent_div_10_2_ng_template_0_Template, 0, 0, \"ng-template\", 13);\n }\n\n if (rf & 2) {\n const ctx_r21 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r21.warnText);\n }\n}\n\nfunction NumberComponent_div_10_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"div\", 23);\n ɵngcc0.ɵɵtemplate(1, NumberComponent_div_10_ng_container_1_Template, 2, 1, \"ng-container\", 12);\n ɵngcc0.ɵɵtemplate(2, NumberComponent_div_10_2_Template, 1, 1, null, 12);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r7 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r7.isTemplate(ctx_r7.warnText));\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r7.isTemplate(ctx_r7.warnText));\n }\n}\n\nconst _c0 = function (a0, a1, a2, a3, a4, a5) {\n return {\n \"bx--number--light\": a0,\n \"bx--number--nolabel\": a1,\n \"bx--number--helpertext\": a2,\n \"bx--skeleton\": a3,\n \"bx--number--sm\": a4,\n \"bx--number--xl\": a5\n };\n};\n\nconst _c1 = function (a0) {\n return {\n \"bx--number__input-wrapper--warning\": a0\n };\n};\n\nclass NumberChange {}\n/**\n * [See demo](../../?path=/story/components-number--basic)\n *\n * ../../iframe.html?id=components-number--basic\n */\n\n\nlet NumberComponent = /*#__PURE__*/(() => {\n class NumberComponent {\n /**\n * Creates an instance of `Number`.\n */\n constructor(i18n) {\n this.i18n = i18n;\n this.containerClass = true;\n /**\n * `light` or `dark` number input theme.\n */\n\n this.theme = \"dark\";\n /**\n * Set to `true` for a disabled number input.\n */\n\n this.disabled = false;\n /**\n * Set to `true` for a loading number component.\n */\n\n this.skeleton = false;\n /**\n * Set to `true` for an invalid number component.\n */\n\n this.invalid = false;\n /**\n * The unique id for the number component.\n */\n\n this.id = `number-${NumberComponent.numberCount}`;\n /**\n * Sets the placeholder attribute on the `input` element.\n */\n\n this.placeholder = \"\";\n /**\n * Number input field render size\n */\n\n this.size = \"md\";\n /**\n * Sets the min attribute on the `input` element.\n */\n\n this.min = null;\n /**\n * Sets the max attribute on the `input` element.\n */\n\n this.max = null;\n /**\n * Sets the amount the number controls increment and decrement by.\n */\n\n this.step = 1;\n /**\n * Set to `true` to show a warning (contents set by warningText)\n */\n\n this.warn = false;\n /**\n * Emits event notifying other classes when a change in state occurs in the input.\n */\n\n this.change = new EventEmitter();\n this._value = 0;\n this._decrementLabel = this.i18n.getOverridable(\"NUMBER.DECREMENT\");\n this._incrementLabel = this.i18n.getOverridable(\"NUMBER.INCREMENT\");\n /**\n * Called when number input is blurred. Needed to properly implement `ControlValueAccessor`.\n */\n\n this.onTouched = () => {};\n /**\n * Method set in `registerOnChange` to propagate changes back to the form.\n */\n\n\n this.propagateChange = _ => {};\n\n NumberComponent.numberCount++;\n }\n /**\n * Sets the value attribute on the `input` element.\n */\n\n\n set value(v) {\n if (v === \"\" || v === null) {\n this._value = null;\n return;\n }\n\n this._value = Number(v);\n }\n\n get value() {\n return this._value;\n }\n\n set decrementLabel(value) {\n this._decrementLabel.override(value);\n }\n\n get decrementLabel() {\n return this._decrementLabel.value;\n }\n\n set incrementLabel(value) {\n this._incrementLabel.override(value);\n }\n\n get incrementLabel() {\n return this._incrementLabel.value;\n }\n /**\n * This is the initial value set to the component\n * @param value The input value.\n */\n\n\n writeValue(value) {\n this.value = value;\n }\n /**\n * Sets a method in order to propagate changes back to the form.\n */\n\n\n registerOnChange(fn) {\n this.propagateChange = fn;\n }\n /**\n * Registers a callback to be triggered when the control has been touched.\n * @param fn Callback to be triggered when the number input is touched.\n */\n\n\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n\n focusOut() {\n this.onTouched();\n }\n /**\n * Sets the disabled state through the model\n */\n\n\n setDisabledState(isDisabled) {\n this.disabled = isDisabled;\n }\n /**\n * Adds `step` to the current `value`.\n */\n\n\n onIncrement() {\n if (this.max === null || this.value + this.step <= this.max) {\n this.value += this.step;\n this.value = parseFloat(this.value.toPrecision(this.precision));\n this.emitChangeEvent();\n }\n }\n /**\n * Subtracts `step` to the current `value`.\n */\n\n\n onDecrement() {\n if (this.min === null || this.value - this.step >= this.min) {\n this.value -= this.step;\n this.value = parseFloat(this.value.toPrecision(this.precision));\n this.emitChangeEvent();\n }\n }\n\n getDecrementLabel() {\n return this._decrementLabel.subject;\n }\n\n getIncrementLabel() {\n return this._incrementLabel.subject;\n }\n /**\n * Creates a class of `NumberChange` to emit the change in the `Number`.\n */\n\n\n emitChangeEvent() {\n let event = new NumberChange();\n event.source = this;\n event.value = this.value;\n this.change.emit(event);\n this.propagateChange(this.value);\n }\n\n onNumberInputChange(event) {\n this.value = event.target.value;\n this.emitChangeEvent();\n }\n\n isTemplate(value) {\n return value instanceof TemplateRef;\n }\n\n }\n\n NumberComponent.ɵfac = function NumberComponent_Factory(t) {\n return new (t || NumberComponent)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n));\n };\n\n NumberComponent.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: NumberComponent,\n selectors: [[\"ibm-number\"]],\n hostVars: 2,\n hostBindings: function NumberComponent_HostBindings(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵlistener(\"focusout\", function NumberComponent_focusout_HostBindingHandler() {\n return ctx.focusOut();\n });\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵclassProp(\"bx--form-item\", ctx.containerClass);\n }\n },\n inputs: {\n theme: \"theme\",\n disabled: \"disabled\",\n skeleton: \"skeleton\",\n invalid: \"invalid\",\n id: \"id\",\n placeholder: \"placeholder\",\n size: \"size\",\n min: \"min\",\n max: \"max\",\n step: \"step\",\n warn: \"warn\",\n value: \"value\",\n decrementLabel: \"decrementLabel\",\n incrementLabel: \"incrementLabel\",\n required: \"required\",\n label: \"label\",\n helperText: \"helperText\",\n invalidText: \"invalidText\",\n precision: \"precision\",\n warnText: \"warnText\",\n ariaLabel: \"ariaLabel\"\n },\n outputs: {\n change: \"change\"\n },\n features: [ɵngcc0.ɵɵProvidersFeature([{\n provide: NG_VALUE_ACCESSOR,\n useExisting: NumberComponent,\n multi: true\n }])],\n decls: 11,\n vars: 30,\n consts: [[\"data-numberinput\", \"\", 1, \"bx--number\", 3, \"ngClass\"], [\"class\", \"bx--label bx--skeleton\", 4, \"ngIf\"], [\"class\", \"bx--label\", 3, \"for\", 4, \"ngIf\"], [1, \"bx--number__input-wrapper\", 3, \"ngClass\"], [\"type\", \"number\", 3, \"id\", \"value\", \"disabled\", \"required\", \"placeholder\", \"input\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", \"class\", \"bx--number__invalid\", 4, \"ngIf\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", \"class\", \"bx--number__invalid bx--number__invalid--warning\", 4, \"ngIf\"], [\"class\", \"bx--number__controls\", 4, \"ngIf\"], [\"class\", \"bx--form__helper-text\", 4, \"ngIf\"], [\"class\", \"bx--form-requirement\", 4, \"ngIf\"], [1, \"bx--label\", \"bx--skeleton\"], [1, \"bx--label\", 3, \"for\"], [4, \"ngIf\"], [3, \"ngTemplateOutlet\"], [\"ibmIcon\", \"warning--filled\", \"size\", \"16\", 1, \"bx--number__invalid\"], [\"ibmIcon\", \"warning--alt--filled\", \"size\", \"16\", 1, \"bx--number__invalid\", \"bx--number__invalid--warning\"], [1, \"bx--number__controls\"], [\"type\", \"button\", \"aria-live\", \"polite\", \"aria-atomic\", \"true\", 1, \"bx--number__control-btn\", \"down-icon\", 3, \"click\"], [\"ibmIcon\", \"subtract\", \"size\", \"16\"], [1, \"bx--number__rule-divider\"], [\"type\", \"button\", \"aria-live\", \"polite\", \"aria-atomic\", \"true\", 1, \"bx--number__control-btn\", \"up-icon\", 3, \"click\"], [\"ibmIcon\", \"add\", \"size\", \"16\"], [1, \"bx--form__helper-text\"], [1, \"bx--form-requirement\"]],\n template: function NumberComponent_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n ɵngcc0.ɵɵtemplate(1, NumberComponent_label_1_Template, 1, 0, \"label\", 1);\n ɵngcc0.ɵɵtemplate(2, NumberComponent_label_2_Template, 3, 3, \"label\", 2);\n ɵngcc0.ɵɵelementStart(3, \"div\", 3)(4, \"input\", 4);\n ɵngcc0.ɵɵlistener(\"input\", function NumberComponent_Template_input_input_4_listener($event) {\n return ctx.onNumberInputChange($event);\n });\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵtemplate(5, NumberComponent__svg_svg_5_Template, 1, 0, \"svg\", 5);\n ɵngcc0.ɵɵtemplate(6, NumberComponent__svg_svg_6_Template, 1, 0, \"svg\", 6);\n ɵngcc0.ɵɵtemplate(7, NumberComponent_div_7_Template, 9, 8, \"div\", 7);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵtemplate(8, NumberComponent_div_8_Template, 3, 2, \"div\", 8);\n ɵngcc0.ɵɵtemplate(9, NumberComponent_div_9_Template, 3, 2, \"div\", 9);\n ɵngcc0.ɵɵtemplate(10, NumberComponent_div_10_Template, 3, 2, \"div\", 9);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction6(21, _c0, ctx.theme === \"light\", !ctx.label, ctx.helperText, ctx.skeleton, ctx.size === \"sm\", ctx.size === \"xl\"));\n ɵngcc0.ɵɵattribute(\"data-invalid\", ctx.invalid ? true : null);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.skeleton && ctx.label);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton && ctx.label);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(28, _c1, ctx.warn));\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"id\", ctx.id)(\"value\", ctx.value)(\"disabled\", ctx.disabled)(\"required\", ctx.required)(\"placeholder\", ctx.placeholder);\n ɵngcc0.ɵɵattribute(\"min\", ctx.min)(\"max\", ctx.max)(\"step\", ctx.step)(\"aria-label\", ctx.ariaLabel)(\"data-invalid\", ctx.invalid ? ctx.invalid : null);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton && !ctx.warn && ctx.invalid);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton && !ctx.invalid && ctx.warn);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.helperText && !ctx.invalid && !ctx.warn);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.warn && ctx.invalid);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.invalid && ctx.warn);\n }\n },\n dependencies: [ɵngcc2.NgClass, ɵngcc2.NgIf, ɵngcc2.NgTemplateOutlet, ɵngcc3.IconDirective, ɵngcc2.AsyncPipe],\n encapsulation: 2\n });\n /**\n * Variable used for creating unique ids for number input components.\n */\n\n NumberComponent.numberCount = 0;\n /** @nocollapse */\n\n return NumberComponent;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})(); // modules\n\n\nlet NumberModule = /*#__PURE__*/(() => {\n class NumberModule {}\n\n NumberModule.ɵfac = function NumberModule_Factory(t) {\n return new (t || NumberModule)();\n };\n\n NumberModule.ɵmod = /*@__PURE__*/ɵngcc0.ɵɵdefineNgModule({\n type: NumberModule\n });\n NumberModule.ɵinj = /*@__PURE__*/ɵngcc0.ɵɵdefineInjector({\n imports: [FormsModule, CommonModule, I18nModule, IconModule]\n });\n return NumberModule;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(NumberModule, {\n declarations: function () {\n return [NumberComponent];\n },\n imports: function () {\n return [FormsModule, CommonModule, I18nModule, IconModule];\n },\n exports: function () {\n return [NumberComponent];\n }\n });\n})();\n/**\n * Generated bundle index. Do not edit.\n */\n\n\nexport { NumberComponent as Number, NumberChange, NumberComponent, NumberModule }; //# sourceMappingURL=carbon-components-angular-number-input.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/150e3574b5069b39ff5f862b9a49c305.json b/.angular/cache/14.2.11/babel-webpack/150e3574b5069b39ff5f862b9a49c305.json new file mode 100644 index 0000000000..c459b7b49f --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/150e3574b5069b39ff5f862b9a49c305.json @@ -0,0 +1 @@ +{"ast":null,"code":"// The file contents for the current environment will overwrite these during build.\n// The build system defaults to the dev environment which uses `environment.ts`, but if you do\n// `ng build --env=prod` then `environment.prod.ts` will be used instead.\n// The list of which env maps to which file can be found in `.angular-cli.json`.\n//import { environment } from '../environments/environment';\nexport const environment = {\n production: false,\n githubPersonalAccessToken: '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'\n};","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/15aed5dc1576ad9309fe7a2b7e28639d.json b/.angular/cache/14.2.11/babel-webpack/15aed5dc1576ad9309fe7a2b7e28639d.json new file mode 100644 index 0000000000..435ddb77c0 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/15aed5dc1576ad9309fe7a2b7e28639d.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n * Creates a keyed JS object from an array, given a function to produce the keys\n * and a function to produce the values from each item in the array.\n * ```ts\n * const phoneBook = [\n * { name: 'Jon', num: '555-1234' },\n * { name: 'Jenny', num: '867-5309' }\n * ]\n *\n * // { Jon: '555-1234', Jenny: '867-5309' }\n * const phonesByName = keyValMap(\n * phoneBook,\n * entry => entry.name,\n * entry => entry.num\n * )\n * ```\n */\nexport function keyValMap(list, keyFn, valFn) {\n const result = Object.create(null);\n\n for (const item of list) {\n result[keyFn(item)] = valFn(item);\n }\n\n return result;\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/15bf441c9499dc358c5b166646f87282.json b/.angular/cache/14.2.11/babel-webpack/15bf441c9499dc358c5b166646f87282.json new file mode 100644 index 0000000000..53607bdc1a --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/15bf441c9499dc358c5b166646f87282.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { devAssert } from '../jsutils/devAssert.mjs';\nimport { Kind } from '../language/kinds.mjs';\nimport { parse } from '../language/parser.mjs';\nimport { specifiedDirectives } from '../type/directives.mjs';\nimport { GraphQLSchema } from '../type/schema.mjs';\nimport { assertValidSDL } from '../validation/validate.mjs';\nimport { extendSchemaImpl } from './extendSchema.mjs';\n/**\n * This takes the ast of a schema document produced by the parse function in\n * src/language/parser.js.\n *\n * If no schema definition is provided, then it will look for types named Query,\n * Mutation and Subscription.\n *\n * Given that AST it constructs a GraphQLSchema. The resulting schema\n * has no resolve methods, so execution will use default resolvers.\n */\n\nexport function buildASTSchema(documentAST, options) {\n documentAST != null && documentAST.kind === Kind.DOCUMENT || devAssert(false, 'Must provide valid Document AST.');\n\n if ((options === null || options === void 0 ? void 0 : options.assumeValid) !== true && (options === null || options === void 0 ? void 0 : options.assumeValidSDL) !== true) {\n assertValidSDL(documentAST);\n }\n\n const emptySchemaConfig = {\n description: undefined,\n types: [],\n directives: [],\n extensions: Object.create(null),\n extensionASTNodes: [],\n assumeValid: false\n };\n const config = extendSchemaImpl(emptySchemaConfig, documentAST, options);\n\n if (config.astNode == null) {\n for (const type of config.types) {\n switch (type.name) {\n // Note: While this could make early assertions to get the correctly\n // typed values below, that would throw immediately while type system\n // validation with validateSchema() will produce more actionable results.\n case 'Query':\n // @ts-expect-error validated in `validateSchema`\n config.query = type;\n break;\n\n case 'Mutation':\n // @ts-expect-error validated in `validateSchema`\n config.mutation = type;\n break;\n\n case 'Subscription':\n // @ts-expect-error validated in `validateSchema`\n config.subscription = type;\n break;\n }\n }\n }\n\n const directives = [...config.directives, // If specified directives were not explicitly declared, add them.\n ...specifiedDirectives.filter(stdDirective => config.directives.every(directive => directive.name !== stdDirective.name))];\n return new GraphQLSchema({ ...config,\n directives\n });\n}\n/**\n * A helper function to build a GraphQLSchema directly from a source\n * document.\n */\n\nexport function buildSchema(source, options) {\n const document = parse(source, {\n noLocation: options === null || options === void 0 ? void 0 : options.noLocation,\n allowLegacyFragmentVariables: options === null || options === void 0 ? void 0 : options.allowLegacyFragmentVariables\n });\n return buildASTSchema(document, {\n assumeValidSDL: options === null || options === void 0 ? void 0 : options.assumeValidSDL,\n assumeValid: options === null || options === void 0 ? void 0 : options.assumeValid\n });\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/15f8c012f65c52d644482fbcc78690c7.json b/.angular/cache/14.2.11/babel-webpack/15f8c012f65c52d644482fbcc78690c7.json new file mode 100644 index 0000000000..5fc7050533 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/15f8c012f65c52d644482fbcc78690c7.json @@ -0,0 +1 @@ +{"ast":null,"code":"export const observable = (() => typeof Symbol === 'function' && Symbol.observable || '@@observable')(); //# sourceMappingURL=observable.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/160fabd2c162dc4d311342a79ea92444.json b/.angular/cache/14.2.11/babel-webpack/160fabd2c162dc4d311342a79ea92444.json new file mode 100644 index 0000000000..ed51a2ec40 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/160fabd2c162dc4d311342a79ea92444.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { devAssert } from '../jsutils/devAssert.mjs';\nimport { GraphQLError } from '../error/GraphQLError.mjs';\nimport { visit, visitInParallel } from '../language/visitor.mjs';\nimport { assertValidSchema } from '../type/validate.mjs';\nimport { TypeInfo, visitWithTypeInfo } from '../utilities/TypeInfo.mjs';\nimport { specifiedRules, specifiedSDLRules } from './specifiedRules.mjs';\nimport { SDLValidationContext, ValidationContext } from './ValidationContext.mjs';\n/**\n * Implements the \"Validation\" section of the spec.\n *\n * Validation runs synchronously, returning an array of encountered errors, or\n * an empty array if no errors were encountered and the document is valid.\n *\n * A list of specific validation rules may be provided. If not provided, the\n * default list of rules defined by the GraphQL specification will be used.\n *\n * Each validation rules is a function which returns a visitor\n * (see the language/visitor API). Visitor methods are expected to return\n * GraphQLErrors, or Arrays of GraphQLErrors when invalid.\n *\n * Validate will stop validation after a `maxErrors` limit has been reached.\n * Attackers can send pathologically invalid queries to induce a DoS attack,\n * so by default `maxErrors` set to 100 errors.\n *\n * Optionally a custom TypeInfo instance may be provided. If not provided, one\n * will be created from the provided schema.\n */\n\nexport function validate(schema, documentAST, rules = specifiedRules, options,\n/** @deprecated will be removed in 17.0.0 */\ntypeInfo = new TypeInfo(schema)) {\n var _options$maxErrors;\n\n const maxErrors = (_options$maxErrors = options === null || options === void 0 ? void 0 : options.maxErrors) !== null && _options$maxErrors !== void 0 ? _options$maxErrors : 100;\n documentAST || devAssert(false, 'Must provide document.'); // If the schema used for validation is invalid, throw an error.\n\n assertValidSchema(schema);\n const abortObj = Object.freeze({});\n const errors = [];\n const context = new ValidationContext(schema, documentAST, typeInfo, error => {\n if (errors.length >= maxErrors) {\n errors.push(new GraphQLError('Too many validation errors, error limit reached. Validation aborted.')); // eslint-disable-next-line @typescript-eslint/no-throw-literal\n\n throw abortObj;\n }\n\n errors.push(error);\n }); // This uses a specialized visitor which runs multiple visitors in parallel,\n // while maintaining the visitor skip and break API.\n\n const visitor = visitInParallel(rules.map(rule => rule(context))); // Visit the whole document with each instance of all provided rules.\n\n try {\n visit(documentAST, visitWithTypeInfo(typeInfo, visitor));\n } catch (e) {\n if (e !== abortObj) {\n throw e;\n }\n }\n\n return errors;\n}\n/**\n * @internal\n */\n\nexport function validateSDL(documentAST, schemaToExtend, rules = specifiedSDLRules) {\n const errors = [];\n const context = new SDLValidationContext(documentAST, schemaToExtend, error => {\n errors.push(error);\n });\n const visitors = rules.map(rule => rule(context));\n visit(documentAST, visitInParallel(visitors));\n return errors;\n}\n/**\n * Utility function which asserts a SDL document is valid by throwing an error\n * if it is invalid.\n *\n * @internal\n */\n\nexport function assertValidSDL(documentAST) {\n const errors = validateSDL(documentAST);\n\n if (errors.length !== 0) {\n throw new Error(errors.map(error => error.message).join('\\n\\n'));\n }\n}\n/**\n * Utility function which asserts a SDL document is valid by throwing an error\n * if it is invalid.\n *\n * @internal\n */\n\nexport function assertValidSDLExtension(documentAST, schema) {\n const errors = validateSDL(documentAST, schema);\n\n if (errors.length !== 0) {\n throw new Error(errors.map(error => error.message).join('\\n\\n'));\n }\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1711379adc15c5c9ef6330b7c58c795a.json b/.angular/cache/14.2.11/babel-webpack/1711379adc15c5c9ef6330b7c58c795a.json new file mode 100644 index 0000000000..f3c6d79c78 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1711379adc15c5c9ef6330b7c58c795a.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-forms.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { CheckboxModule } from 'carbon-components-angular/checkbox';\nimport * as ɵngcc0 from '@angular/core';\nexport { CheckboxModule, Checkbox, CheckboxChange, CheckboxState } from 'carbon-components-angular/checkbox';\nimport { ToggleModule } from 'carbon-components-angular/toggle';\nexport { ToggleModule, Toggle, ToggleChange, ToggleState } from 'carbon-components-angular/toggle';\nimport { RadioModule } from 'carbon-components-angular/radio';\nexport { RadioModule, Radio, RadioChange, RadioGroup } from 'carbon-components-angular/radio';\nimport { InputModule } from 'carbon-components-angular/input';\nexport { InputModule, Label, TextArea, TextInput, TextInputLabelComponent, TextareaLabelComponent } from 'carbon-components-angular/input';\nimport { ButtonModule } from 'carbon-components-angular/button';\nexport { ButtonModule, Button, ButtonSet } from 'carbon-components-angular/button'; // modules\n\nlet NFormsModule = /*#__PURE__*/(() => {\n class NFormsModule {}\n\n NFormsModule.ɵfac = function NFormsModule_Factory(t) {\n return new (t || NFormsModule)();\n };\n\n NFormsModule.ɵmod = /*@__PURE__*/ɵngcc0.ɵɵdefineNgModule({\n type: NFormsModule\n });\n NFormsModule.ɵinj = /*@__PURE__*/ɵngcc0.ɵɵdefineInjector({\n imports: [CommonModule, FormsModule, CheckboxModule, ToggleModule, RadioModule, InputModule, ButtonModule, CheckboxModule, ToggleModule, RadioModule, InputModule, ButtonModule, InputModule]\n });\n return NFormsModule;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(NFormsModule, {\n imports: function () {\n return [CommonModule, FormsModule, CheckboxModule, ToggleModule, RadioModule, InputModule, ButtonModule];\n },\n exports: function () {\n return [CheckboxModule, ToggleModule, RadioModule, InputModule, ButtonModule, InputModule];\n }\n });\n})(); // export the forms module\n\n/**\n * Generated bundle index. Do not edit.\n */\n\n\nexport { NFormsModule }; //# sourceMappingURL=carbon-components-angular-forms.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/17365a18b6747a1ce75aa484a2877cc2.json b/.angular/cache/14.2.11/babel-webpack/17365a18b6747a1ce75aa484a2877cc2.json new file mode 100644 index 0000000000..78c80ecd33 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/17365a18b6747a1ce75aa484a2877cc2.json @@ -0,0 +1 @@ +{"ast":null,"code":"// This currentContext variable will only be used if the makeSlotClass\n// function is called, which happens only if this is the first copy of the\n// @wry/context package to be imported.\nlet currentContext = null; // This unique internal object is used to denote the absence of a value\n// for a given Slot, and is never exposed to outside code.\n\nconst MISSING_VALUE = {};\nlet idCounter = 1; // Although we can't do anything about the cost of duplicated code from\n// accidentally bundling multiple copies of the @wry/context package, we can\n// avoid creating the Slot class more than once using makeSlotClass.\n\nconst makeSlotClass = () => class Slot {\n constructor() {\n // If you have a Slot object, you can find out its slot.id, but you cannot\n // guess the slot.id of a Slot you don't have access to, thanks to the\n // randomized suffix.\n this.id = [\"slot\", idCounter++, Date.now(), Math.random().toString(36).slice(2)].join(\":\");\n }\n\n hasValue() {\n for (let context = currentContext; context; context = context.parent) {\n // We use the Slot object iself as a key to its value, which means the\n // value cannot be obtained without a reference to the Slot object.\n if (this.id in context.slots) {\n const value = context.slots[this.id];\n if (value === MISSING_VALUE) break;\n\n if (context !== currentContext) {\n // Cache the value in currentContext.slots so the next lookup will\n // be faster. This caching is safe because the tree of contexts and\n // the values of the slots are logically immutable.\n currentContext.slots[this.id] = value;\n }\n\n return true;\n }\n }\n\n if (currentContext) {\n // If a value was not found for this Slot, it's never going to be found\n // no matter how many times we look it up, so we might as well cache\n // the absence of the value, too.\n currentContext.slots[this.id] = MISSING_VALUE;\n }\n\n return false;\n }\n\n getValue() {\n if (this.hasValue()) {\n return currentContext.slots[this.id];\n }\n }\n\n withValue(value, callback, // Given the prevalence of arrow functions, specifying arguments is likely\n // to be much more common than specifying `this`, hence this ordering:\n args, thisArg) {\n const slots = {\n __proto__: null,\n [this.id]: value\n };\n const parent = currentContext;\n currentContext = {\n parent,\n slots\n };\n\n try {\n // Function.prototype.apply allows the arguments array argument to be\n // omitted or undefined, so args! is fine here.\n return callback.apply(thisArg, args);\n } finally {\n currentContext = parent;\n }\n } // Capture the current context and wrap a callback function so that it\n // reestablishes the captured context when called.\n\n\n static bind(callback) {\n const context = currentContext;\n return function () {\n const saved = currentContext;\n\n try {\n currentContext = context;\n return callback.apply(this, arguments);\n } finally {\n currentContext = saved;\n }\n };\n } // Immediately run a callback function without any captured context.\n\n\n static noContext(callback, // Given the prevalence of arrow functions, specifying arguments is likely\n // to be much more common than specifying `this`, hence this ordering:\n args, thisArg) {\n if (currentContext) {\n const saved = currentContext;\n\n try {\n currentContext = null; // Function.prototype.apply allows the arguments array argument to be\n // omitted or undefined, so args! is fine here.\n\n return callback.apply(thisArg, args);\n } finally {\n currentContext = saved;\n }\n } else {\n return callback.apply(thisArg, args);\n }\n }\n\n};\n\nfunction maybe(fn) {\n try {\n return fn();\n } catch (ignored) {}\n} // We store a single global implementation of the Slot class as a permanent\n// non-enumerable property of the globalThis object. This obfuscation does\n// nothing to prevent access to the Slot class, but at least it ensures the\n// implementation (i.e. currentContext) cannot be tampered with, and all copies\n// of the @wry/context package (hopefully just one) will share the same Slot\n// implementation. Since the first copy of the @wry/context package to be\n// imported wins, this technique imposes a steep cost for any future breaking\n// changes to the Slot class.\n\n\nconst globalKey = \"@wry/context:Slot\";\nconst host = // Prefer globalThis when available.\n// https://github.com/benjamn/wryware/issues/347\nmaybe(() => globalThis) || // Fall back to global, which works in Node.js and may be converted by some\n// bundlers to the appropriate identifier (window, self, ...) depending on the\n// bundling target. https://github.com/endojs/endo/issues/576#issuecomment-1178515224\nmaybe(() => global) || // Otherwise, use a dummy host that's local to this module. We used to fall\n// back to using the Array constructor as a namespace, but that was flagged in\n// https://github.com/benjamn/wryware/issues/347, and can be avoided.\nObject.create(null); // Whichever globalHost we're using, make TypeScript happy about the additional\n// globalKey property.\n\nconst globalHost = host;\nexport const Slot = globalHost[globalKey] || // Earlier versions of this package stored the globalKey property on the Array\n// constructor, so we check there as well, to prevent Slot class duplication.\nArray[globalKey] || function (Slot) {\n try {\n Object.defineProperty(globalHost, globalKey, {\n value: Slot,\n enumerable: false,\n writable: false,\n // When it was possible for globalHost to be the Array constructor (a\n // legacy Slot dedup strategy), it was important for the property to be\n // configurable:true so it could be deleted. That does not seem to be as\n // important when globalHost is the global object, but I don't want to\n // cause similar problems again, and configurable:true seems safest.\n // https://github.com/endojs/endo/issues/576#issuecomment-1178274008\n configurable: true\n });\n } finally {\n return Slot;\n }\n}(makeSlotClass()); //# sourceMappingURL=slot.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1756f999e9d7ac3320ff225e20bc85a0.json b/.angular/cache/14.2.11/babel-webpack/1756f999e9d7ac3320ff225e20bc85a0.json new file mode 100644 index 0000000000..070bb89622 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1756f999e9d7ac3320ff225e20bc85a0.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { distinctUntilChanged } from './distinctUntilChanged';\nexport function distinctUntilKeyChanged(key, compare) {\n return distinctUntilChanged((x, y) => compare ? compare(x[key], y[key]) : x[key] === y[key]);\n} //# sourceMappingURL=distinctUntilKeyChanged.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/177a1f453edf6702d80c3ea42e8c1b63.json b/.angular/cache/14.2.11/babel-webpack/177a1f453edf6702d80c3ea42e8c1b63.json new file mode 100644 index 0000000000..65a5247ffa --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/177a1f453edf6702d80c3ea42e8c1b63.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { asyncScheduler } from '../scheduler/async';\nimport { isValidDate } from '../util/isDate';\nimport { operate } from '../util/lift';\nimport { innerFrom } from '../observable/innerFrom';\nimport { createErrorClass } from '../util/createErrorClass';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { executeSchedule } from '../util/executeSchedule';\nexport const TimeoutError = createErrorClass(_super => function TimeoutErrorImpl(info = null) {\n _super(this);\n\n this.message = 'Timeout has occurred';\n this.name = 'TimeoutError';\n this.info = info;\n});\nexport function timeout(config, schedulerArg) {\n const {\n first,\n each,\n with: _with = timeoutErrorFactory,\n scheduler = schedulerArg !== null && schedulerArg !== void 0 ? schedulerArg : asyncScheduler,\n meta = null\n } = isValidDate(config) ? {\n first: config\n } : typeof config === 'number' ? {\n each: config\n } : config;\n\n if (first == null && each == null) {\n throw new TypeError('No timeout provided.');\n }\n\n return operate((source, subscriber) => {\n let originalSourceSubscription;\n let timerSubscription;\n let lastValue = null;\n let seen = 0;\n\n const startTimer = delay => {\n timerSubscription = executeSchedule(subscriber, scheduler, () => {\n try {\n originalSourceSubscription.unsubscribe();\n innerFrom(_with({\n meta,\n lastValue,\n seen\n })).subscribe(subscriber);\n } catch (err) {\n subscriber.error(err);\n }\n }, delay);\n };\n\n originalSourceSubscription = source.subscribe(createOperatorSubscriber(subscriber, value => {\n timerSubscription === null || timerSubscription === void 0 ? void 0 : timerSubscription.unsubscribe();\n seen++;\n subscriber.next(lastValue = value);\n each > 0 && startTimer(each);\n }, undefined, undefined, () => {\n if (!(timerSubscription === null || timerSubscription === void 0 ? void 0 : timerSubscription.closed)) {\n timerSubscription === null || timerSubscription === void 0 ? void 0 : timerSubscription.unsubscribe();\n }\n\n lastValue = null;\n }));\n !seen && startTimer(first != null ? typeof first === 'number' ? first : +first - scheduler.now() : each);\n });\n}\n\nfunction timeoutErrorFactory(info) {\n throw new TimeoutError(info);\n} //# sourceMappingURL=timeout.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/17d71fe8801f1a6247d41ca67e2d3571.json b/.angular/cache/14.2.11/babel-webpack/17d71fe8801f1a6247d41ca67e2d3571.json new file mode 100644 index 0000000000..c7c70ff7c0 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/17d71fe8801f1a6247d41ca67e2d3571.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { Subscription } from '../Subscription';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { arrRemove } from '../util/arrRemove';\nimport { asyncScheduler } from '../scheduler/async';\nimport { popScheduler } from '../util/args';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function bufferTime(bufferTimeSpan, ...otherArgs) {\n var _a, _b;\n\n const scheduler = (_a = popScheduler(otherArgs)) !== null && _a !== void 0 ? _a : asyncScheduler;\n const bufferCreationInterval = (_b = otherArgs[0]) !== null && _b !== void 0 ? _b : null;\n const maxBufferSize = otherArgs[1] || Infinity;\n return operate((source, subscriber) => {\n let bufferRecords = [];\n let restartOnEmit = false;\n\n const emit = record => {\n const {\n buffer,\n subs\n } = record;\n subs.unsubscribe();\n arrRemove(bufferRecords, record);\n subscriber.next(buffer);\n restartOnEmit && startBuffer();\n };\n\n const startBuffer = () => {\n if (bufferRecords) {\n const subs = new Subscription();\n subscriber.add(subs);\n const buffer = [];\n const record = {\n buffer,\n subs\n };\n bufferRecords.push(record);\n executeSchedule(subs, scheduler, () => emit(record), bufferTimeSpan);\n }\n };\n\n if (bufferCreationInterval !== null && bufferCreationInterval >= 0) {\n executeSchedule(subscriber, scheduler, startBuffer, bufferCreationInterval, true);\n } else {\n restartOnEmit = true;\n }\n\n startBuffer();\n const bufferTimeSubscriber = createOperatorSubscriber(subscriber, value => {\n const recordsCopy = bufferRecords.slice();\n\n for (const record of recordsCopy) {\n const {\n buffer\n } = record;\n buffer.push(value);\n maxBufferSize <= buffer.length && emit(record);\n }\n }, () => {\n while (bufferRecords === null || bufferRecords === void 0 ? void 0 : bufferRecords.length) {\n subscriber.next(bufferRecords.shift().buffer);\n }\n\n bufferTimeSubscriber === null || bufferTimeSubscriber === void 0 ? void 0 : bufferTimeSubscriber.unsubscribe();\n subscriber.complete();\n subscriber.unsubscribe();\n }, undefined, () => bufferRecords = null);\n source.subscribe(bufferTimeSubscriber);\n });\n} //# sourceMappingURL=bufferTime.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/18183f08003d6d7bdc3d3029f63aabd7.json b/.angular/cache/14.2.11/babel-webpack/18183f08003d6d7bdc3d3029f63aabd7.json new file mode 100644 index 0000000000..074fdf6e2f --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/18183f08003d6d7bdc3d3029f63aabd7.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n \"elem\": \"svg\",\n \"attrs\": {\n \"xmlns\": \"http://www.w3.org/2000/svg\",\n \"viewBox\": \"0 0 16 16\",\n \"fill\": \"currentColor\",\n \"width\": 16,\n \"height\": 16\n },\n \"content\": [{\n \"elem\": \"path\",\n \"attrs\": {\n \"d\": \"M4.1 12.6l-.6.8c.6.5 1.3.9 2.1 1.2l.3-.9C5.3 13.4 4.7 13 4.1 12.6zM2.1 9l-1 .2c.1.8.4 1.6.8 2.3L2.8 11C2.4 10.4 2.2 9.7 2.1 9zM5.9 2.4L5.6 1.4C4.8 1.7 4.1 2.1 3.5 2.7l.6.8C4.7 3 5.3 2.6 5.9 2.4zM2.8 5L1.9 4.5C1.5 5.2 1.3 6 1.1 6.8l1 .2C2.2 6.3 2.5 5.6 2.8 5zM8 1v1c3.3 0 6 2.7 6 6s-2.7 6-6 6v1c3.9 0 7-3.1 7-7S11.9 1 8 1z\"\n }\n }],\n \"name\": \"fade\",\n \"size\": 16\n};\nexport default _16;","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1864987146ce934cc3fb1db4ea3c106c.json b/.angular/cache/14.2.11/babel-webpack/1864987146ce934cc3fb1db4ea3c106c.json new file mode 100644 index 0000000000..3a328b3e1e --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1864987146ce934cc3fb1db4ea3c106c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { EmptyError } from '../util/EmptyError';\nimport { SequenceError } from '../util/SequenceError';\nimport { NotFoundError } from '../util/NotFoundError';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function single(predicate) {\n return operate((source, subscriber) => {\n let hasValue = false;\n let singleValue;\n let seenValue = false;\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n seenValue = true;\n\n if (!predicate || predicate(value, index++, source)) {\n hasValue && subscriber.error(new SequenceError('Too many matching values'));\n hasValue = true;\n singleValue = value;\n }\n }, () => {\n if (hasValue) {\n subscriber.next(singleValue);\n subscriber.complete();\n } else {\n subscriber.error(seenValue ? new NotFoundError('No matching values') : new EmptyError());\n }\n }));\n });\n} //# sourceMappingURL=single.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/19bf0a4ae4c54933d728f20fddcb10b8.json b/.angular/cache/14.2.11/babel-webpack/19bf0a4ae4c54933d728f20fddcb10b8.json new file mode 100644 index 0000000000..587b31d24a --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/19bf0a4ae4c54933d728f20fddcb10b8.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { devAssert } from './jsutils/devAssert.mjs';\nimport { isPromise } from './jsutils/isPromise.mjs';\nimport { parse } from './language/parser.mjs';\nimport { validateSchema } from './type/validate.mjs';\nimport { validate } from './validation/validate.mjs';\nimport { execute } from './execution/execute.mjs';\n/**\n * This is the primary entry point function for fulfilling GraphQL operations\n * by parsing, validating, and executing a GraphQL document along side a\n * GraphQL schema.\n *\n * More sophisticated GraphQL servers, such as those which persist queries,\n * may wish to separate the validation and execution phases to a static time\n * tooling step, and a server runtime step.\n *\n * Accepts either an object with named arguments, or individual arguments:\n *\n * schema:\n * The GraphQL type system to use when validating and executing a query.\n * source:\n * A GraphQL language formatted string representing the requested operation.\n * rootValue:\n * The value provided as the first argument to resolver functions on the top\n * level type (e.g. the query object type).\n * contextValue:\n * The context value is provided as an argument to resolver functions after\n * field arguments. It is used to pass shared information useful at any point\n * during executing this query, for example the currently logged in user and\n * connections to databases or other services.\n * variableValues:\n * A mapping of variable name to runtime value to use for all variables\n * defined in the requestString.\n * operationName:\n * The name of the operation to use if requestString contains multiple\n * possible operations. Can be omitted if requestString contains only\n * one operation.\n * fieldResolver:\n * A resolver function to use when one is not provided by the schema.\n * If not provided, the default field resolver is used (which looks for a\n * value or method on the source value with the field's name).\n * typeResolver:\n * A type resolver function to use when none is provided by the schema.\n * If not provided, the default type resolver is used (which looks for a\n * `__typename` field or alternatively calls the `isTypeOf` method).\n */\n\nexport function graphql(args) {\n // Always return a Promise for a consistent API.\n return new Promise(resolve => resolve(graphqlImpl(args)));\n}\n/**\n * The graphqlSync function also fulfills GraphQL operations by parsing,\n * validating, and executing a GraphQL document along side a GraphQL schema.\n * However, it guarantees to complete synchronously (or throw an error) assuming\n * that all field resolvers are also synchronous.\n */\n\nexport function graphqlSync(args) {\n const result = graphqlImpl(args); // Assert that the execution was synchronous.\n\n if (isPromise(result)) {\n throw new Error('GraphQL execution failed to complete synchronously.');\n }\n\n return result;\n}\n\nfunction graphqlImpl(args) {\n // Temporary for v15 to v16 migration. Remove in v17\n arguments.length < 2 || devAssert(false, 'graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.');\n const {\n schema,\n source,\n rootValue,\n contextValue,\n variableValues,\n operationName,\n fieldResolver,\n typeResolver\n } = args; // Validate Schema\n\n const schemaValidationErrors = validateSchema(schema);\n\n if (schemaValidationErrors.length > 0) {\n return {\n errors: schemaValidationErrors\n };\n } // Parse\n\n\n let document;\n\n try {\n document = parse(source);\n } catch (syntaxError) {\n return {\n errors: [syntaxError]\n };\n } // Validate\n\n\n const validationErrors = validate(schema, document);\n\n if (validationErrors.length > 0) {\n return {\n errors: validationErrors\n };\n } // Execute\n\n\n return execute({\n schema,\n document,\n rootValue,\n contextValue,\n variableValues,\n operationName,\n fieldResolver,\n typeResolver\n });\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1a18fd2d110d5c1e51d93b73848c056a.json b/.angular/cache/14.2.11/babel-webpack/1a18fd2d110d5c1e51d93b73848c056a.json new file mode 100644 index 0000000000..bf64c770d4 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1a18fd2d110d5c1e51d93b73848c056a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function filter(predicate, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, value => predicate.call(thisArg, value, index++) && subscriber.next(value)));\n });\n} //# sourceMappingURL=filter.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1a3e05153dbe070c3d47f91bf3813c94.json b/.angular/cache/14.2.11/babel-webpack/1a3e05153dbe070c3d47f91bf3813c94.json new file mode 100644 index 0000000000..3202fbb9ea --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1a3e05153dbe070c3d47f91bf3813c94.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { groupBy } from '../../jsutils/groupBy.mjs';\nimport { GraphQLError } from '../../error/GraphQLError.mjs';\n/**\n * Unique argument definition names\n *\n * A GraphQL Object or Interface type is only valid if all its fields have uniquely named arguments.\n * A GraphQL Directive is only valid if all its arguments are uniquely named.\n */\n\nexport function UniqueArgumentDefinitionNamesRule(context) {\n return {\n DirectiveDefinition(directiveNode) {\n var _directiveNode$argume; // FIXME: https://github.com/graphql/graphql-js/issues/2203\n\n /* c8 ignore next */\n\n\n const argumentNodes = (_directiveNode$argume = directiveNode.arguments) !== null && _directiveNode$argume !== void 0 ? _directiveNode$argume : [];\n return checkArgUniqueness(`@${directiveNode.name.value}`, argumentNodes);\n },\n\n InterfaceTypeDefinition: checkArgUniquenessPerField,\n InterfaceTypeExtension: checkArgUniquenessPerField,\n ObjectTypeDefinition: checkArgUniquenessPerField,\n ObjectTypeExtension: checkArgUniquenessPerField\n };\n\n function checkArgUniquenessPerField(typeNode) {\n var _typeNode$fields;\n\n const typeName = typeNode.name.value; // FIXME: https://github.com/graphql/graphql-js/issues/2203\n\n /* c8 ignore next */\n\n const fieldNodes = (_typeNode$fields = typeNode.fields) !== null && _typeNode$fields !== void 0 ? _typeNode$fields : [];\n\n for (const fieldDef of fieldNodes) {\n var _fieldDef$arguments;\n\n const fieldName = fieldDef.name.value; // FIXME: https://github.com/graphql/graphql-js/issues/2203\n\n /* c8 ignore next */\n\n const argumentNodes = (_fieldDef$arguments = fieldDef.arguments) !== null && _fieldDef$arguments !== void 0 ? _fieldDef$arguments : [];\n checkArgUniqueness(`${typeName}.${fieldName}`, argumentNodes);\n }\n\n return false;\n }\n\n function checkArgUniqueness(parentName, argumentNodes) {\n const seenArgs = groupBy(argumentNodes, arg => arg.name.value);\n\n for (const [argName, argNodes] of seenArgs) {\n if (argNodes.length > 1) {\n context.reportError(new GraphQLError(`Argument \"${parentName}(${argName}:)\" can only be defined once.`, {\n nodes: argNodes.map(node => node.name)\n }));\n }\n }\n\n return false;\n }\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1a5166c3447374f8aea08a550a115ae9.json b/.angular/cache/14.2.11/babel-webpack/1a5166c3447374f8aea08a550a115ae9.json new file mode 100644 index 0000000000..f4475e4016 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1a5166c3447374f8aea08a550a115ae9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { getOperationName } from \"../../utilities/index.js\";\nexport function transformOperation(operation) {\n var transformedOperation = {\n variables: operation.variables || {},\n extensions: operation.extensions || {},\n operationName: operation.operationName,\n query: operation.query\n };\n\n if (!transformedOperation.operationName) {\n transformedOperation.operationName = typeof transformedOperation.query !== 'string' ? getOperationName(transformedOperation.query) || undefined : '';\n }\n\n return transformedOperation;\n} //# sourceMappingURL=transformOperation.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1a89d01fa499b81613901d5f653d0496.json b/.angular/cache/14.2.11/babel-webpack/1a89d01fa499b81613901d5f653d0496.json new file mode 100644 index 0000000000..629fd1223f --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1a89d01fa499b81613901d5f653d0496.json @@ -0,0 +1 @@ +{"ast":null,"code":"(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.index = {}));\n})(this, function (exports) {\n 'use strict';\n /*! *****************************************************************************\r\n Copyright (c) Microsoft Corporation. All rights reserved.\r\n Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\n this file except in compliance with the License. You may obtain a copy of the\r\n License at http://www.apache.org/licenses/LICENSE-2.0\r\n THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\n WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\n MERCHANTABLITY OR NON-INFRINGEMENT.\r\n See the Apache Version 2.0 License for specific language governing permissions\r\n and limitations under the License.\r\n ***************************************************************************** */\n\n var __assign = function () {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n\n return t;\n };\n\n return __assign.apply(this, arguments);\n };\n\n var fp = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Arabic = {\n weekdays: {\n shorthand: [\"أحد\", \"اثنين\", \"ثلاثاء\", \"أربعاء\", \"خميس\", \"جمعة\", \"سبت\"],\n longhand: [\"الأحد\", \"الاثنين\", \"الثلاثاء\", \"الأربعاء\", \"الخميس\", \"الجمعة\", \"السبت\"]\n },\n months: {\n shorthand: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\"],\n longhand: [\"يناير\", \"فبراير\", \"مارس\", \"أبريل\", \"مايو\", \"يونيو\", \"يوليو\", \"أغسطس\", \"سبتمبر\", \"أكتوبر\", \"نوفمبر\", \"ديسمبر\"]\n },\n rangeSeparator: ' - '\n };\n fp.l10ns.ar = Arabic;\n fp.l10ns;\n var fp$1 = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Austria = {\n weekdays: {\n shorthand: [\"So\", \"Mo\", \"Di\", \"Mi\", \"Do\", \"Fr\", \"Sa\"],\n longhand: [\"Sonntag\", \"Montag\", \"Dienstag\", \"Mittwoch\", \"Donnerstag\", \"Freitag\", \"Samstag\"]\n },\n months: {\n shorthand: [\"Jän\", \"Feb\", \"Mär\", \"Apr\", \"Mai\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Dez\"],\n longhand: [\"Jänner\", \"Februar\", \"März\", \"April\", \"Mai\", \"Juni\", \"Juli\", \"August\", \"September\", \"Oktober\", \"November\", \"Dezember\"]\n },\n firstDayOfWeek: 1,\n weekAbbreviation: \"KW\",\n rangeSeparator: \" bis \",\n scrollTitle: \"Zum Ändern scrollen\",\n toggleTitle: \"Zum Umschalten klicken\"\n };\n fp$1.l10ns.at = Austria;\n fp$1.l10ns;\n var fp$2 = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Azerbaijan = {\n weekdays: {\n shorthand: [\"Baz\", \"BzE\", \"ÇAx\", \"Çər\", \"CAx\", \"Cüm\", \"Şən\"],\n longhand: [\"Bazar\", \"Bazar ertəsi\", \"Çərşənbə axşamı\", \"Çərşənbə\", \"Cümə axşamı\", \"Cümə\", \"Şənbə\"]\n },\n months: {\n shorthand: [\"Yan\", \"Fev\", \"Mar\", \"Apr\", \"May\", \"İyn\", \"İyl\", \"Avq\", \"Sen\", \"Okt\", \"Noy\", \"Dek\"],\n longhand: [\"Yanvar\", \"Fevral\", \"Mart\", \"Aprel\", \"May\", \"İyun\", \"İyul\", \"Avqust\", \"Sentyabr\", \"Oktyabr\", \"Noyabr\", \"Dekabr\"]\n },\n firstDayOfWeek: 1,\n ordinal: function () {\n return \".\";\n },\n rangeSeparator: \" - \",\n weekAbbreviation: \"Hf\",\n scrollTitle: \"Artırmaq üçün sürüşdürün\",\n toggleTitle: \"Aç / Bağla\",\n amPM: [\"GƏ\", \"GS\"],\n time_24hr: true\n };\n fp$2.l10ns.az = Azerbaijan;\n fp$2.l10ns;\n var fp$3 = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Belarusian = {\n weekdays: {\n shorthand: [\"Нд\", \"Пн\", \"Аў\", \"Ср\", \"Чц\", \"Пт\", \"Сб\"],\n longhand: [\"Нядзеля\", \"Панядзелак\", \"Аўторак\", \"Серада\", \"Чацвер\", \"Пятніца\", \"Субота\"]\n },\n months: {\n shorthand: [\"Сту\", \"Лют\", \"Сак\", \"Кра\", \"Тра\", \"Чэр\", \"Ліп\", \"Жні\", \"Вер\", \"Кас\", \"Ліс\", \"Сне\"],\n longhand: [\"Студзень\", \"Люты\", \"Сакавік\", \"Красавік\", \"Травень\", \"Чэрвень\", \"Ліпень\", \"Жнівень\", \"Верасень\", \"Кастрычнік\", \"Лістапад\", \"Снежань\"]\n },\n firstDayOfWeek: 1,\n ordinal: function () {\n return \"\";\n },\n rangeSeparator: \" — \",\n weekAbbreviation: \"Тыд.\",\n scrollTitle: \"Пракруціце для павелічэння\",\n toggleTitle: \"Націсніце для пераключэння\",\n amPM: [\"ДП\", \"ПП\"],\n yearAriaLabel: \"Год\",\n time_24hr: true\n };\n fp$3.l10ns.be = Belarusian;\n fp$3.l10ns;\n var fp$4 = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Bosnian = {\n firstDayOfWeek: 1,\n weekdays: {\n shorthand: [\"Ned\", \"Pon\", \"Uto\", \"Sri\", \"Čet\", \"Pet\", \"Sub\"],\n longhand: [\"Nedjelja\", \"Ponedjeljak\", \"Utorak\", \"Srijeda\", \"Četvrtak\", \"Petak\", \"Subota\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Maj\", \"Jun\", \"Jul\", \"Avg\", \"Sep\", \"Okt\", \"Nov\", \"Dec\"],\n longhand: [\"Januar\", \"Februar\", \"Mart\", \"April\", \"Maj\", \"Juni\", \"Juli\", \"August\", \"Septembar\", \"Oktobar\", \"Novembar\", \"Decembar\"]\n },\n time_24hr: true\n };\n fp$4.l10ns.bs = Bosnian;\n fp$4.l10ns;\n var fp$5 = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Bulgarian = {\n weekdays: {\n shorthand: [\"Нд\", \"Пн\", \"Вт\", \"Ср\", \"Чт\", \"Пт\", \"Сб\"],\n longhand: [\"Неделя\", \"Понеделник\", \"Вторник\", \"Сряда\", \"Четвъртък\", \"Петък\", \"Събота\"]\n },\n months: {\n shorthand: [\"Яну\", \"Фев\", \"Март\", \"Апр\", \"Май\", \"Юни\", \"Юли\", \"Авг\", \"Сеп\", \"Окт\", \"Ное\", \"Дек\"],\n longhand: [\"Януари\", \"Февруари\", \"Март\", \"Април\", \"Май\", \"Юни\", \"Юли\", \"Август\", \"Септември\", \"Октомври\", \"Ноември\", \"Декември\"]\n },\n time_24hr: true,\n firstDayOfWeek: 1\n };\n fp$5.l10ns.bg = Bulgarian;\n fp$5.l10ns;\n var fp$6 = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Bangla = {\n weekdays: {\n shorthand: [\"রবি\", \"সোম\", \"মঙ্গল\", \"বুধ\", \"বৃহস্পতি\", \"শুক্র\", \"শনি\"],\n longhand: [\"রবিবার\", \"সোমবার\", \"মঙ্গলবার\", \"বুধবার\", \"বৃহস্পতিবার\", \"শুক্রবার\", \"শনিবার\"]\n },\n months: {\n shorthand: [\"জানু\", \"ফেব্রু\", \"মার্চ\", \"এপ্রিল\", \"মে\", \"জুন\", \"জুলাই\", \"আগ\", \"সেপ্টে\", \"অক্টো\", \"নভে\", \"ডিসে\"],\n longhand: [\"জানুয়ারী\", \"ফেব্রুয়ারী\", \"মার্চ\", \"এপ্রিল\", \"মে\", \"জুন\", \"জুলাই\", \"আগস্ট\", \"সেপ্টেম্বর\", \"অক্টোবর\", \"নভেম্বর\", \"ডিসেম্বর\"]\n }\n };\n fp$6.l10ns.bn = Bangla;\n fp$6.l10ns;\n var fp$7 = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Catalan = {\n weekdays: {\n shorthand: [\"Dg\", \"Dl\", \"Dt\", \"Dc\", \"Dj\", \"Dv\", \"Ds\"],\n longhand: [\"Diumenge\", \"Dilluns\", \"Dimarts\", \"Dimecres\", \"Dijous\", \"Divendres\", \"Dissabte\"]\n },\n months: {\n shorthand: [\"Gen\", \"Febr\", \"Març\", \"Abr\", \"Maig\", \"Juny\", \"Jul\", \"Ag\", \"Set\", \"Oct\", \"Nov\", \"Des\"],\n longhand: [\"Gener\", \"Febrer\", \"Març\", \"Abril\", \"Maig\", \"Juny\", \"Juliol\", \"Agost\", \"Setembre\", \"Octubre\", \"Novembre\", \"Desembre\"]\n },\n ordinal: function (nth) {\n var s = nth % 100;\n if (s > 3 && s < 21) return \"è\";\n\n switch (s % 10) {\n case 1:\n return \"r\";\n\n case 2:\n return \"n\";\n\n case 3:\n return \"r\";\n\n case 4:\n return \"t\";\n\n default:\n return \"è\";\n }\n },\n firstDayOfWeek: 1,\n time_24hr: true\n };\n fp$7.l10ns.cat = Catalan;\n fp$7.l10ns;\n var fp$8 = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Czech = {\n weekdays: {\n shorthand: [\"Ne\", \"Po\", \"Út\", \"St\", \"Čt\", \"Pá\", \"So\"],\n longhand: [\"Neděle\", \"Pondělí\", \"Úterý\", \"Středa\", \"Čtvrtek\", \"Pátek\", \"Sobota\"]\n },\n months: {\n shorthand: [\"Led\", \"Ún\", \"Bře\", \"Dub\", \"Kvě\", \"Čer\", \"Čvc\", \"Srp\", \"Zář\", \"Říj\", \"Lis\", \"Pro\"],\n longhand: [\"Leden\", \"Únor\", \"Březen\", \"Duben\", \"Květen\", \"Červen\", \"Červenec\", \"Srpen\", \"Září\", \"Říjen\", \"Listopad\", \"Prosinec\"]\n },\n firstDayOfWeek: 1,\n ordinal: function () {\n return \".\";\n },\n rangeSeparator: \" do \",\n weekAbbreviation: \"Týd.\",\n scrollTitle: \"Rolujte pro změnu\",\n toggleTitle: \"Přepnout dopoledne/odpoledne\",\n amPM: [\"dop.\", \"odp.\"],\n yearAriaLabel: \"Rok\",\n time_24hr: true\n };\n fp$8.l10ns.cs = Czech;\n fp$8.l10ns;\n var fp$9 = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Welsh = {\n weekdays: {\n shorthand: [\"Sul\", \"Llun\", \"Maw\", \"Mer\", \"Iau\", \"Gwe\", \"Sad\"],\n longhand: [\"Dydd Sul\", \"Dydd Llun\", \"Dydd Mawrth\", \"Dydd Mercher\", \"Dydd Iau\", \"Dydd Gwener\", \"Dydd Sadwrn\"]\n },\n months: {\n shorthand: [\"Ion\", \"Chwef\", \"Maw\", \"Ebr\", \"Mai\", \"Meh\", \"Gorff\", \"Awst\", \"Medi\", \"Hyd\", \"Tach\", \"Rhag\"],\n longhand: [\"Ionawr\", \"Chwefror\", \"Mawrth\", \"Ebrill\", \"Mai\", \"Mehefin\", \"Gorffennaf\", \"Awst\", \"Medi\", \"Hydref\", \"Tachwedd\", \"Rhagfyr\"]\n },\n firstDayOfWeek: 1,\n ordinal: function (nth) {\n if (nth === 1) return \"af\";\n if (nth === 2) return \"ail\";\n if (nth === 3 || nth === 4) return \"ydd\";\n if (nth === 5 || nth === 6) return \"ed\";\n if (nth >= 7 && nth <= 10 || nth == 12 || nth == 15 || nth == 18 || nth == 20) return \"fed\";\n if (nth == 11 || nth == 13 || nth == 14 || nth == 16 || nth == 17 || nth == 19) return \"eg\";\n if (nth >= 21 && nth <= 39) return \"ain\"; // Inconclusive.\n\n return \"\";\n },\n time_24hr: true\n };\n fp$9.l10ns.cy = Welsh;\n fp$9.l10ns;\n var fp$a = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Danish = {\n weekdays: {\n shorthand: [\"søn\", \"man\", \"tir\", \"ons\", \"tors\", \"fre\", \"lør\"],\n longhand: [\"søndag\", \"mandag\", \"tirsdag\", \"onsdag\", \"torsdag\", \"fredag\", \"lørdag\"]\n },\n months: {\n shorthand: [\"jan\", \"feb\", \"mar\", \"apr\", \"maj\", \"jun\", \"jul\", \"aug\", \"sep\", \"okt\", \"nov\", \"dec\"],\n longhand: [\"januar\", \"februar\", \"marts\", \"april\", \"maj\", \"juni\", \"juli\", \"august\", \"september\", \"oktober\", \"november\", \"december\"]\n },\n ordinal: function () {\n return \".\";\n },\n firstDayOfWeek: 1,\n rangeSeparator: \" til \",\n weekAbbreviation: \"uge\",\n time_24hr: true\n };\n fp$a.l10ns.da = Danish;\n fp$a.l10ns;\n var fp$b = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var German = {\n weekdays: {\n shorthand: [\"So\", \"Mo\", \"Di\", \"Mi\", \"Do\", \"Fr\", \"Sa\"],\n longhand: [\"Sonntag\", \"Montag\", \"Dienstag\", \"Mittwoch\", \"Donnerstag\", \"Freitag\", \"Samstag\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mär\", \"Apr\", \"Mai\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Dez\"],\n longhand: [\"Januar\", \"Februar\", \"März\", \"April\", \"Mai\", \"Juni\", \"Juli\", \"August\", \"September\", \"Oktober\", \"November\", \"Dezember\"]\n },\n firstDayOfWeek: 1,\n weekAbbreviation: \"KW\",\n rangeSeparator: \" bis \",\n scrollTitle: \"Zum Ändern scrollen\",\n toggleTitle: \"Zum Umschalten klicken\",\n time_24hr: true\n };\n fp$b.l10ns.de = German;\n fp$b.l10ns;\n var english = {\n weekdays: {\n shorthand: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n longhand: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n longhand: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"]\n },\n daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],\n firstDayOfWeek: 0,\n ordinal: function (nth) {\n var s = nth % 100;\n if (s > 3 && s < 21) return \"th\";\n\n switch (s % 10) {\n case 1:\n return \"st\";\n\n case 2:\n return \"nd\";\n\n case 3:\n return \"rd\";\n\n default:\n return \"th\";\n }\n },\n rangeSeparator: \" to \",\n weekAbbreviation: \"Wk\",\n scrollTitle: \"Scroll to increment\",\n toggleTitle: \"Click to toggle\",\n amPM: [\"AM\", \"PM\"],\n yearAriaLabel: \"Year\",\n time_24hr: false\n };\n var fp$c = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Esperanto = {\n firstDayOfWeek: 1,\n rangeSeparator: \" ĝis \",\n weekAbbreviation: \"Sem\",\n scrollTitle: \"Rulumu por pligrandigi la valoron\",\n toggleTitle: \"Klaku por ŝalti\",\n weekdays: {\n shorthand: [\"Dim\", \"Lun\", \"Mar\", \"Mer\", \"Ĵaŭ\", \"Ven\", \"Sab\"],\n longhand: [\"dimanĉo\", \"lundo\", \"mardo\", \"merkredo\", \"ĵaŭdo\", \"vendredo\", \"sabato\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Maj\", \"Jun\", \"Jul\", \"Aŭg\", \"Sep\", \"Okt\", \"Nov\", \"Dec\"],\n longhand: [\"januaro\", \"februaro\", \"marto\", \"aprilo\", \"majo\", \"junio\", \"julio\", \"aŭgusto\", \"septembro\", \"oktobro\", \"novembro\", \"decembro\"]\n },\n ordinal: function () {\n return \"-a\";\n },\n time_24hr: true\n };\n fp$c.l10ns.eo = Esperanto;\n fp$c.l10ns;\n var fp$d = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Spanish = {\n weekdays: {\n shorthand: [\"Dom\", \"Lun\", \"Mar\", \"Mié\", \"Jue\", \"Vie\", \"Sáb\"],\n longhand: [\"Domingo\", \"Lunes\", \"Martes\", \"Miércoles\", \"Jueves\", \"Viernes\", \"Sábado\"]\n },\n months: {\n shorthand: [\"Ene\", \"Feb\", \"Mar\", \"Abr\", \"May\", \"Jun\", \"Jul\", \"Ago\", \"Sep\", \"Oct\", \"Nov\", \"Dic\"],\n longhand: [\"Enero\", \"Febrero\", \"Marzo\", \"Abril\", \"Mayo\", \"Junio\", \"Julio\", \"Agosto\", \"Septiembre\", \"Octubre\", \"Noviembre\", \"Diciembre\"]\n },\n ordinal: function () {\n return \"º\";\n },\n firstDayOfWeek: 1,\n rangeSeparator: \" a \",\n time_24hr: true\n };\n fp$d.l10ns.es = Spanish;\n fp$d.l10ns;\n var fp$e = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Estonian = {\n weekdays: {\n shorthand: [\"P\", \"E\", \"T\", \"K\", \"N\", \"R\", \"L\"],\n longhand: [\"Pühapäev\", \"Esmaspäev\", \"Teisipäev\", \"Kolmapäev\", \"Neljapäev\", \"Reede\", \"Laupäev\"]\n },\n months: {\n shorthand: [\"Jaan\", \"Veebr\", \"Märts\", \"Apr\", \"Mai\", \"Juuni\", \"Juuli\", \"Aug\", \"Sept\", \"Okt\", \"Nov\", \"Dets\"],\n longhand: [\"Jaanuar\", \"Veebruar\", \"Märts\", \"Aprill\", \"Mai\", \"Juuni\", \"Juuli\", \"August\", \"September\", \"Oktoober\", \"November\", \"Detsember\"]\n },\n firstDayOfWeek: 1,\n ordinal: function () {\n return \".\";\n },\n weekAbbreviation: \"Näd\",\n rangeSeparator: \" kuni \",\n scrollTitle: \"Keri, et suurendada\",\n toggleTitle: \"Klõpsa, et vahetada\",\n time_24hr: true\n };\n fp$e.l10ns.et = Estonian;\n fp$e.l10ns;\n var fp$f = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Persian = {\n weekdays: {\n shorthand: [\"یک\", \"دو\", \"سه\", \"چهار\", \"پنج\", \"جمعه\", \"شنبه\"],\n longhand: [\"یک‌شنبه\", \"دوشنبه\", \"سه‌شنبه\", \"چهارشنبه\", \"پنچ‌شنبه\", \"جمعه\", \"شنبه\"]\n },\n months: {\n shorthand: [\"ژانویه\", \"فوریه\", \"مارس\", \"آوریل\", \"مه\", \"ژوئن\", \"ژوئیه\", \"اوت\", \"سپتامبر\", \"اکتبر\", \"نوامبر\", \"دسامبر\"],\n longhand: [\"ژانویه\", \"فوریه\", \"مارس\", \"آوریل\", \"مه\", \"ژوئن\", \"ژوئیه\", \"اوت\", \"سپتامبر\", \"اکتبر\", \"نوامبر\", \"دسامبر\"]\n },\n firstDayOfWeek: 6,\n ordinal: function () {\n return \"\";\n }\n };\n fp$f.l10ns.fa = Persian;\n fp$f.l10ns;\n var fp$g = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Finnish = {\n firstDayOfWeek: 1,\n weekdays: {\n shorthand: [\"Su\", \"Ma\", \"Ti\", \"Ke\", \"To\", \"Pe\", \"La\"],\n longhand: [\"Sunnuntai\", \"Maanantai\", \"Tiistai\", \"Keskiviikko\", \"Torstai\", \"Perjantai\", \"Lauantai\"]\n },\n months: {\n shorthand: [\"Tammi\", \"Helmi\", \"Maalis\", \"Huhti\", \"Touko\", \"Kesä\", \"Heinä\", \"Elo\", \"Syys\", \"Loka\", \"Marras\", \"Joulu\"],\n longhand: [\"Tammikuu\", \"Helmikuu\", \"Maaliskuu\", \"Huhtikuu\", \"Toukokuu\", \"Kesäkuu\", \"Heinäkuu\", \"Elokuu\", \"Syyskuu\", \"Lokakuu\", \"Marraskuu\", \"Joulukuu\"]\n },\n ordinal: function () {\n return \".\";\n },\n time_24hr: true\n };\n fp$g.l10ns.fi = Finnish;\n fp$g.l10ns;\n var fp$h = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Faroese = {\n weekdays: {\n shorthand: [\"Sun\", \"Mán\", \"Týs\", \"Mik\", \"Hós\", \"Frí\", \"Ley\"],\n longhand: [\"Sunnudagur\", \"Mánadagur\", \"Týsdagur\", \"Mikudagur\", \"Hósdagur\", \"Fríggjadagur\", \"Leygardagur\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Mai\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Des\"],\n longhand: [\"Januar\", \"Februar\", \"Mars\", \"Apríl\", \"Mai\", \"Juni\", \"Juli\", \"August\", \"Septembur\", \"Oktobur\", \"Novembur\", \"Desembur\"]\n },\n ordinal: function () {\n return \".\";\n },\n firstDayOfWeek: 1,\n rangeSeparator: \" til \",\n weekAbbreviation: \"vika\",\n scrollTitle: \"Rulla fyri at broyta\",\n toggleTitle: \"Trýst fyri at skifta\",\n yearAriaLabel: \"Ár\",\n time_24hr: true\n };\n fp$h.l10ns.fo = Faroese;\n fp$h.l10ns;\n var fp$i = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var French = {\n firstDayOfWeek: 1,\n weekdays: {\n shorthand: [\"dim\", \"lun\", \"mar\", \"mer\", \"jeu\", \"ven\", \"sam\"],\n longhand: [\"dimanche\", \"lundi\", \"mardi\", \"mercredi\", \"jeudi\", \"vendredi\", \"samedi\"]\n },\n months: {\n shorthand: [\"janv\", \"févr\", \"mars\", \"avr\", \"mai\", \"juin\", \"juil\", \"août\", \"sept\", \"oct\", \"nov\", \"déc\"],\n longhand: [\"janvier\", \"février\", \"mars\", \"avril\", \"mai\", \"juin\", \"juillet\", \"août\", \"septembre\", \"octobre\", \"novembre\", \"décembre\"]\n },\n ordinal: function (nth) {\n if (nth > 1) return \"\";\n return \"er\";\n },\n rangeSeparator: \" au \",\n weekAbbreviation: \"Sem\",\n scrollTitle: \"Défiler pour augmenter la valeur\",\n toggleTitle: \"Cliquer pour basculer\",\n time_24hr: true\n };\n fp$i.l10ns.fr = French;\n fp$i.l10ns;\n var fp$j = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Greek = {\n weekdays: {\n shorthand: [\"Κυ\", \"Δε\", \"Τρ\", \"Τε\", \"Πέ\", \"Πα\", \"Σά\"],\n longhand: [\"Κυριακή\", \"Δευτέρα\", \"Τρίτη\", \"Τετάρτη\", \"Πέμπτη\", \"Παρασκευή\", \"Σάββατο\"]\n },\n months: {\n shorthand: [\"Ιαν\", \"Φεβ\", \"Μάρ\", \"Απρ\", \"Μάι\", \"Ιού\", \"Ιού\", \"Αύγ\", \"Σεπ\", \"Οκτ\", \"Νοέ\", \"Δεκ\"],\n longhand: [\"Ιανουάριος\", \"Φεβρουάριος\", \"Μάρτιος\", \"Απρίλιος\", \"Μάιος\", \"Ιούνιος\", \"Ιούλιος\", \"Αύγουστος\", \"Σεπτέμβριος\", \"Οκτώβριος\", \"Νοέμβριος\", \"Δεκέμβριος\"]\n },\n firstDayOfWeek: 1,\n ordinal: function () {\n return \"\";\n },\n weekAbbreviation: \"Εβδ\",\n rangeSeparator: \" έως \",\n scrollTitle: \"Μετακυλήστε για προσαύξηση\",\n toggleTitle: \"Κάντε κλικ για αλλαγή\",\n amPM: [\"ΠΜ\", \"ΜΜ\"]\n };\n fp$j.l10ns.gr = Greek;\n fp$j.l10ns;\n var fp$k = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Hebrew = {\n weekdays: {\n shorthand: [\"א\", \"ב\", \"ג\", \"ד\", \"ה\", \"ו\", \"ש\"],\n longhand: [\"ראשון\", \"שני\", \"שלישי\", \"רביעי\", \"חמישי\", \"שישי\", \"שבת\"]\n },\n months: {\n shorthand: [\"ינו׳\", \"פבר׳\", \"מרץ\", \"אפר׳\", \"מאי\", \"יוני\", \"יולי\", \"אוג׳\", \"ספט׳\", \"אוק׳\", \"נוב׳\", \"דצמ׳\"],\n longhand: [\"ינואר\", \"פברואר\", \"מרץ\", \"אפריל\", \"מאי\", \"יוני\", \"יולי\", \"אוגוסט\", \"ספטמבר\", \"אוקטובר\", \"נובמבר\", \"דצמבר\"]\n },\n rangeSeparator: \" אל \",\n time_24hr: true\n };\n fp$k.l10ns.he = Hebrew;\n fp$k.l10ns;\n var fp$l = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Hindi = {\n weekdays: {\n shorthand: [\"रवि\", \"सोम\", \"मंगल\", \"बुध\", \"गुरु\", \"शुक्र\", \"शनि\"],\n longhand: [\"रविवार\", \"सोमवार\", \"मंगलवार\", \"बुधवार\", \"गुरुवार\", \"शुक्रवार\", \"शनिवार\"]\n },\n months: {\n shorthand: [\"जन\", \"फर\", \"मार्च\", \"अप्रेल\", \"मई\", \"जून\", \"जूलाई\", \"अग\", \"सित\", \"अक्ट\", \"नव\", \"दि\"],\n longhand: [\"जनवरी \", \"फरवरी\", \"मार्च\", \"अप्रेल\", \"मई\", \"जून\", \"जूलाई\", \"अगस्त \", \"सितम्बर\", \"अक्टूबर\", \"नवम्बर\", \"दिसम्बर\"]\n }\n };\n fp$l.l10ns.hi = Hindi;\n fp$l.l10ns;\n var fp$m = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Croatian = {\n firstDayOfWeek: 1,\n weekdays: {\n shorthand: [\"Ned\", \"Pon\", \"Uto\", \"Sri\", \"Čet\", \"Pet\", \"Sub\"],\n longhand: [\"Nedjelja\", \"Ponedjeljak\", \"Utorak\", \"Srijeda\", \"Četvrtak\", \"Petak\", \"Subota\"]\n },\n months: {\n shorthand: [\"Sij\", \"Velj\", \"Ožu\", \"Tra\", \"Svi\", \"Lip\", \"Srp\", \"Kol\", \"Ruj\", \"Lis\", \"Stu\", \"Pro\"],\n longhand: [\"Siječanj\", \"Veljača\", \"Ožujak\", \"Travanj\", \"Svibanj\", \"Lipanj\", \"Srpanj\", \"Kolovoz\", \"Rujan\", \"Listopad\", \"Studeni\", \"Prosinac\"]\n },\n time_24hr: true\n };\n fp$m.l10ns.hr = Croatian;\n fp$m.l10ns;\n var fp$n = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Hungarian = {\n firstDayOfWeek: 1,\n weekdays: {\n shorthand: [\"V\", \"H\", \"K\", \"Sz\", \"Cs\", \"P\", \"Szo\"],\n longhand: [\"Vasárnap\", \"Hétfő\", \"Kedd\", \"Szerda\", \"Csütörtök\", \"Péntek\", \"Szombat\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Már\", \"Ápr\", \"Máj\", \"Jún\", \"Júl\", \"Aug\", \"Szep\", \"Okt\", \"Nov\", \"Dec\"],\n longhand: [\"Január\", \"Február\", \"Március\", \"Április\", \"Május\", \"Június\", \"Július\", \"Augusztus\", \"Szeptember\", \"Október\", \"November\", \"December\"]\n },\n ordinal: function () {\n return \".\";\n },\n weekAbbreviation: \"Hét\",\n scrollTitle: \"Görgessen\",\n toggleTitle: \"Kattintson a váltáshoz\",\n rangeSeparator: \" - \",\n time_24hr: true\n };\n fp$n.l10ns.hu = Hungarian;\n fp$n.l10ns;\n var fp$o = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Indonesian = {\n weekdays: {\n shorthand: [\"Min\", \"Sen\", \"Sel\", \"Rab\", \"Kam\", \"Jum\", \"Sab\"],\n longhand: [\"Minggu\", \"Senin\", \"Selasa\", \"Rabu\", \"Kamis\", \"Jumat\", \"Sabtu\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Mei\", \"Jun\", \"Jul\", \"Agu\", \"Sep\", \"Okt\", \"Nov\", \"Des\"],\n longhand: [\"Januari\", \"Februari\", \"Maret\", \"April\", \"Mei\", \"Juni\", \"Juli\", \"Agustus\", \"September\", \"Oktober\", \"November\", \"Desember\"]\n },\n firstDayOfWeek: 1,\n ordinal: function () {\n return \"\";\n },\n time_24hr: true,\n rangeSeparator: ' - '\n };\n fp$o.l10ns.id = Indonesian;\n fp$o.l10ns;\n var fp$p = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Icelandic = {\n weekdays: {\n shorthand: [\"Sun\", \"Mán\", \"Þri\", \"Mið\", \"Fim\", \"Fös\", \"Lau\"],\n longhand: [\"Sunnudagur\", \"Mánudagur\", \"Þriðjudagur\", \"Miðvikudagur\", \"Fimmtudagur\", \"Föstudagur\", \"Laugardagur\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Maí\", \"Jún\", \"Júl\", \"Ágú\", \"Sep\", \"Okt\", \"Nóv\", \"Des\"],\n longhand: [\"Janúar\", \"Febrúar\", \"Mars\", \"Apríl\", \"Maí\", \"Júní\", \"Júlí\", \"Ágúst\", \"September\", \"Október\", \"Nóvember\", \"Desember\"]\n },\n ordinal: function () {\n return \".\";\n },\n firstDayOfWeek: 1,\n rangeSeparator: \" til \",\n weekAbbreviation: \"vika\",\n yearAriaLabel: \"Ár\",\n time_24hr: true\n };\n fp$p.l10ns.is = Icelandic;\n fp$p.l10ns;\n var fp$q = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Italian = {\n weekdays: {\n shorthand: [\"Dom\", \"Lun\", \"Mar\", \"Mer\", \"Gio\", \"Ven\", \"Sab\"],\n longhand: [\"Domenica\", \"Lunedì\", \"Martedì\", \"Mercoledì\", \"Giovedì\", \"Venerdì\", \"Sabato\"]\n },\n months: {\n shorthand: [\"Gen\", \"Feb\", \"Mar\", \"Apr\", \"Mag\", \"Giu\", \"Lug\", \"Ago\", \"Set\", \"Ott\", \"Nov\", \"Dic\"],\n longhand: [\"Gennaio\", \"Febbraio\", \"Marzo\", \"Aprile\", \"Maggio\", \"Giugno\", \"Luglio\", \"Agosto\", \"Settembre\", \"Ottobre\", \"Novembre\", \"Dicembre\"]\n },\n firstDayOfWeek: 1,\n ordinal: function () {\n return \"°\";\n },\n rangeSeparator: \" al \",\n weekAbbreviation: \"Se\",\n scrollTitle: \"Scrolla per aumentare\",\n toggleTitle: \"Clicca per cambiare\",\n time_24hr: true\n };\n fp$q.l10ns.it = Italian;\n fp$q.l10ns;\n var fp$r = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Japanese = {\n weekdays: {\n shorthand: [\"日\", \"月\", \"火\", \"水\", \"木\", \"金\", \"土\"],\n longhand: [\"日曜日\", \"月曜日\", \"火曜日\", \"水曜日\", \"木曜日\", \"金曜日\", \"土曜日\"]\n },\n months: {\n shorthand: [\"1月\", \"2月\", \"3月\", \"4月\", \"5月\", \"6月\", \"7月\", \"8月\", \"9月\", \"10月\", \"11月\", \"12月\"],\n longhand: [\"1月\", \"2月\", \"3月\", \"4月\", \"5月\", \"6月\", \"7月\", \"8月\", \"9月\", \"10月\", \"11月\", \"12月\"]\n },\n time_24hr: true,\n rangeSeparator: ' から '\n };\n fp$r.l10ns.ja = Japanese;\n fp$r.l10ns;\n var fp$s = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Korean = {\n weekdays: {\n shorthand: [\"일\", \"월\", \"화\", \"수\", \"목\", \"금\", \"토\"],\n longhand: [\"일요일\", \"월요일\", \"화요일\", \"수요일\", \"목요일\", \"금요일\", \"토요일\"]\n },\n months: {\n shorthand: [\"1월\", \"2월\", \"3월\", \"4월\", \"5월\", \"6월\", \"7월\", \"8월\", \"9월\", \"10월\", \"11월\", \"12월\"],\n longhand: [\"1월\", \"2월\", \"3월\", \"4월\", \"5월\", \"6월\", \"7월\", \"8월\", \"9월\", \"10월\", \"11월\", \"12월\"]\n },\n ordinal: function () {\n return \"일\";\n },\n rangeSeparator: ' ~ '\n };\n fp$s.l10ns.ko = Korean;\n fp$s.l10ns;\n var fp$t = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Khmer = {\n weekdays: {\n shorthand: [\"អាទិត្យ\", \"ចន្ទ\", \"អង្គារ\", \"ពុធ\", \"ព្រហស.\", \"សុក្រ\", \"សៅរ៍\"],\n longhand: [\"អាទិត្យ\", \"ចន្ទ\", \"អង្គារ\", \"ពុធ\", \"ព្រហស្បតិ៍\", \"សុក្រ\", \"សៅរ៍\"]\n },\n months: {\n shorthand: [\"មករា\", \"កុម្ភះ\", \"មីនា\", \"មេសា\", \"ឧសភា\", \"មិថុនា\", \"កក្កដា\", \"សីហា\", \"កញ្ញា\", \"តុលា\", \"វិច្ឆិកា\", \"ធ្នូ\"],\n longhand: [\"មករា\", \"កុម្ភះ\", \"មីនា\", \"មេសា\", \"ឧសភា\", \"មិថុនា\", \"កក្កដា\", \"សីហា\", \"កញ្ញា\", \"តុលា\", \"វិច្ឆិកា\", \"ធ្នូ\"]\n },\n ordinal: function () {\n return \"\";\n },\n firstDayOfWeek: 1,\n rangeSeparator: \" ដល់ \",\n weekAbbreviation: \"សប្តាហ៍\",\n scrollTitle: \"រំកិលដើម្បីបង្កើន\",\n toggleTitle: \"ចុចដើម្បីផ្លាស់ប្ដូរ\",\n yearAriaLabel: \"ឆ្នាំ\",\n time_24hr: true\n };\n fp$t.l10ns.km = Khmer;\n fp$t.l10ns;\n var fp$u = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Kazakh = {\n weekdays: {\n shorthand: [\"Жс\", \"Дс\", \"Сc\", \"Ср\", \"Бс\", \"Жм\", \"Сб\"],\n longhand: [\"Жексенбi\", \"Дүйсенбi\", \"Сейсенбi\", \"Сәрсенбi\", \"Бейсенбi\", \"Жұма\", \"Сенбi\"]\n },\n months: {\n shorthand: [\"Қаң\", \"Ақп\", \"Нау\", \"Сәу\", \"Мам\", \"Мау\", \"Шiл\", \"Там\", \"Қыр\", \"Қаз\", \"Қар\", \"Жел\"],\n longhand: [\"Қаңтар\", \"Ақпан\", \"Наурыз\", \"Сәуiр\", \"Мамыр\", \"Маусым\", \"Шiлде\", \"Тамыз\", \"Қыркүйек\", \"Қазан\", \"Қараша\", \"Желтоқсан\"]\n },\n firstDayOfWeek: 1,\n ordinal: function () {\n return \"\";\n },\n rangeSeparator: \" — \",\n weekAbbreviation: \"Апта\",\n scrollTitle: \"Үлкейту үшін айналдырыңыз\",\n toggleTitle: \"Ауыстыру үшін басыңыз\",\n amPM: [\"ТД\", \"ТК\"],\n yearAriaLabel: \"Жыл\"\n };\n fp$u.l10ns.kz = Kazakh;\n fp$u.l10ns;\n var fp$v = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Lithuanian = {\n weekdays: {\n shorthand: [\"S\", \"Pr\", \"A\", \"T\", \"K\", \"Pn\", \"Š\"],\n longhand: [\"Sekmadienis\", \"Pirmadienis\", \"Antradienis\", \"Trečiadienis\", \"Ketvirtadienis\", \"Penktadienis\", \"Šeštadienis\"]\n },\n months: {\n shorthand: [\"Sau\", \"Vas\", \"Kov\", \"Bal\", \"Geg\", \"Bir\", \"Lie\", \"Rgp\", \"Rgs\", \"Spl\", \"Lap\", \"Grd\"],\n longhand: [\"Sausis\", \"Vasaris\", \"Kovas\", \"Balandis\", \"Gegužė\", \"Birželis\", \"Liepa\", \"Rugpjūtis\", \"Rugsėjis\", \"Spalis\", \"Lapkritis\", \"Gruodis\"]\n },\n firstDayOfWeek: 1,\n ordinal: function () {\n return \"-a\";\n },\n weekAbbreviation: \"Sav\",\n scrollTitle: \"Keisti laiką pelės rateliu\",\n toggleTitle: \"Perjungti laiko formatą\",\n time_24hr: true\n };\n fp$v.l10ns.lt = Lithuanian;\n fp$v.l10ns;\n var fp$w = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Latvian = {\n firstDayOfWeek: 1,\n weekdays: {\n shorthand: [\"Sv\", \"Pr\", \"Ot\", \"Tr\", \"Ce\", \"Pk\", \"Se\"],\n longhand: [\"Svētdiena\", \"Pirmdiena\", \"Otrdiena\", \"Trešdiena\", \"Ceturtdiena\", \"Piektdiena\", \"Sestdiena\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Mai\", \"Jūn\", \"Jūl\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Dec\"],\n longhand: [\"Janvāris\", \"Februāris\", \"Marts\", \"Aprīlis\", \"Maijs\", \"Jūnijs\", \"Jūlijs\", \"Augusts\", \"Septembris\", \"Oktobris\", \"Novembris\", \"Decembris\"]\n },\n rangeSeparator: \" līdz \",\n time_24hr: true\n };\n fp$w.l10ns.lv = Latvian;\n fp$w.l10ns;\n var fp$x = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Macedonian = {\n weekdays: {\n shorthand: [\"Не\", \"По\", \"Вт\", \"Ср\", \"Че\", \"Пе\", \"Са\"],\n longhand: [\"Недела\", \"Понеделник\", \"Вторник\", \"Среда\", \"Четврток\", \"Петок\", \"Сабота\"]\n },\n months: {\n shorthand: [\"Јан\", \"Фев\", \"Мар\", \"Апр\", \"Мај\", \"Јун\", \"Јул\", \"Авг\", \"Сеп\", \"Окт\", \"Ное\", \"Дек\"],\n longhand: [\"Јануари\", \"Февруари\", \"Март\", \"Април\", \"Мај\", \"Јуни\", \"Јули\", \"Август\", \"Септември\", \"Октомври\", \"Ноември\", \"Декември\"]\n },\n firstDayOfWeek: 1,\n weekAbbreviation: \"Нед.\",\n rangeSeparator: \" до \",\n time_24hr: true\n };\n fp$x.l10ns.mk = Macedonian;\n fp$x.l10ns;\n var fp$y = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Mongolian = {\n firstDayOfWeek: 1,\n weekdays: {\n shorthand: [\"Да\", \"Мя\", \"Лх\", \"Пү\", \"Ба\", \"Бя\", \"Ня\"],\n longhand: [\"Даваа\", \"Мягмар\", \"Лхагва\", \"Пүрэв\", \"Баасан\", \"Бямба\", \"Ням\"]\n },\n months: {\n shorthand: [\"1-р сар\", \"2-р сар\", \"3-р сар\", \"4-р сар\", \"5-р сар\", \"6-р сар\", \"7-р сар\", \"8-р сар\", \"9-р сар\", \"10-р сар\", \"11-р сар\", \"12-р сар\"],\n longhand: [\"Нэгдүгээр сар\", \"Хоёрдугаар сар\", \"Гуравдугаар сар\", \"Дөрөвдүгээр сар\", \"Тавдугаар сар\", \"Зургаадугаар сар\", \"Долдугаар сар\", \"Наймдугаар сар\", \"Есдүгээр сар\", \"Аравдугаар сар\", \"Арваннэгдүгээр сар\", \"Арванхоёрдугаар сар\"]\n },\n rangeSeparator: \"-с \",\n time_24hr: true\n };\n fp$y.l10ns.mn = Mongolian;\n fp$y.l10ns;\n var fp$z = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Malaysian = {\n weekdays: {\n shorthand: [\"Min\", \"Isn\", \"Sel\", \"Rab\", \"Kha\", \"Jum\", \"Sab\"],\n longhand: [\"Minggu\", \"Isnin\", \"Selasa\", \"Rabu\", \"Khamis\", \"Jumaat\", \"Sabtu\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mac\", \"Apr\", \"Mei\", \"Jun\", \"Jul\", \"Ogo\", \"Sep\", \"Okt\", \"Nov\", \"Dis\"],\n longhand: [\"Januari\", \"Februari\", \"Mac\", \"April\", \"Mei\", \"Jun\", \"Julai\", \"Ogos\", \"September\", \"Oktober\", \"November\", \"Disember\"]\n },\n firstDayOfWeek: 1,\n ordinal: function () {\n return \"\";\n }\n };\n fp$z.l10ns;\n var fp$A = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Burmese = {\n weekdays: {\n shorthand: [\"နွေ\", \"လာ\", \"ဂါ\", \"ဟူး\", \"ကြာ\", \"သော\", \"နေ\"],\n longhand: [\"တနင်္ဂနွေ\", \"တနင်္လာ\", \"အင်္ဂါ\", \"ဗုဒ္ဓဟူး\", \"ကြာသပတေး\", \"သောကြာ\", \"စနေ\"]\n },\n months: {\n shorthand: [\"ဇန်\", \"ဖေ\", \"မတ်\", \"ပြီ\", \"မေ\", \"ဇွန်\", \"လိုင်\", \"သြ\", \"စက်\", \"အောက်\", \"နို\", \"ဒီ\"],\n longhand: [\"ဇန်နဝါရီ\", \"ဖေဖော်ဝါရီ\", \"မတ်\", \"ဧပြီ\", \"မေ\", \"ဇွန်\", \"ဇူလိုင်\", \"သြဂုတ်\", \"စက်တင်ဘာ\", \"အောက်တိုဘာ\", \"နိုဝင်ဘာ\", \"ဒီဇင်ဘာ\"]\n },\n firstDayOfWeek: 1,\n ordinal: function () {\n return \"\";\n },\n time_24hr: true\n };\n fp$A.l10ns.my = Burmese;\n fp$A.l10ns;\n var fp$B = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Dutch = {\n weekdays: {\n shorthand: [\"zo\", \"ma\", \"di\", \"wo\", \"do\", \"vr\", \"za\"],\n longhand: [\"zondag\", \"maandag\", \"dinsdag\", \"woensdag\", \"donderdag\", \"vrijdag\", \"zaterdag\"]\n },\n months: {\n shorthand: [\"jan\", \"feb\", \"mrt\", \"apr\", \"mei\", \"jun\", \"jul\", \"aug\", \"sept\", \"okt\", \"nov\", \"dec\"],\n longhand: [\"januari\", \"februari\", \"maart\", \"april\", \"mei\", \"juni\", \"juli\", \"augustus\", \"september\", \"oktober\", \"november\", \"december\"]\n },\n firstDayOfWeek: 1,\n weekAbbreviation: \"wk\",\n rangeSeparator: \" tot \",\n scrollTitle: \"Scroll voor volgende / vorige\",\n toggleTitle: \"Klik om te wisselen\",\n time_24hr: true,\n ordinal: function (nth) {\n if (nth === 1 || nth === 8 || nth >= 20) return \"ste\";\n return \"de\";\n }\n };\n fp$B.l10ns.nl = Dutch;\n fp$B.l10ns;\n var fp$C = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Norwegian = {\n weekdays: {\n shorthand: [\"Søn\", \"Man\", \"Tir\", \"Ons\", \"Tor\", \"Fre\", \"Lør\"],\n longhand: [\"Søndag\", \"Mandag\", \"Tirsdag\", \"Onsdag\", \"Torsdag\", \"Fredag\", \"Lørdag\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Mai\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Des\"],\n longhand: [\"Januar\", \"Februar\", \"Mars\", \"April\", \"Mai\", \"Juni\", \"Juli\", \"August\", \"September\", \"Oktober\", \"November\", \"Desember\"]\n },\n firstDayOfWeek: 1,\n rangeSeparator: \" til \",\n weekAbbreviation: \"Uke\",\n scrollTitle: \"Scroll for å endre\",\n toggleTitle: \"Klikk for å veksle\",\n time_24hr: true,\n ordinal: function () {\n return \".\";\n }\n };\n fp$C.l10ns.no = Norwegian;\n fp$C.l10ns;\n var fp$D = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Punjabi = {\n weekdays: {\n shorthand: [\"ਐਤ\", \"ਸੋਮ\", \"ਮੰਗਲ\", \"ਬੁੱਧ\", \"ਵੀਰ\", \"ਸ਼ੁੱਕਰ\", \"ਸ਼ਨਿੱਚਰ\"],\n longhand: [\"ਐਤਵਾਰ\", \"ਸੋਮਵਾਰ\", \"ਮੰਗਲਵਾਰ\", \"ਬੁੱਧਵਾਰ\", \"ਵੀਰਵਾਰ\", \"ਸ਼ੁੱਕਰਵਾਰ\", \"ਸ਼ਨਿੱਚਰਵਾਰ\"]\n },\n months: {\n shorthand: [\"ਜਨ\", \"ਫ਼ਰ\", \"ਮਾਰ\", \"ਅਪ੍ਰੈ\", \"ਮਈ\", \"ਜੂਨ\", \"ਜੁਲਾ\", \"ਅਗ\", \"ਸਤੰ\", \"ਅਕ\", \"ਨਵੰ\", \"ਦਸੰ\"],\n longhand: [\"ਜਨਵਰੀ\", \"ਫ਼ਰਵਰੀ\", \"ਮਾਰਚ\", \"ਅਪ੍ਰੈਲ\", \"ਮਈ\", \"ਜੂਨ\", \"ਜੁਲਾਈ\", \"ਅਗਸਤ\", \"ਸਤੰਬਰ\", \"ਅਕਤੂਬਰ\", \"ਨਵੰਬਰ\", \"ਦਸੰਬਰ\"]\n },\n time_24hr: true\n };\n fp$D.l10ns.pa = Punjabi;\n fp$D.l10ns;\n var fp$E = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Polish = {\n weekdays: {\n shorthand: [\"Nd\", \"Pn\", \"Wt\", \"Śr\", \"Cz\", \"Pt\", \"So\"],\n longhand: [\"Niedziela\", \"Poniedziałek\", \"Wtorek\", \"Środa\", \"Czwartek\", \"Piątek\", \"Sobota\"]\n },\n months: {\n shorthand: [\"Sty\", \"Lut\", \"Mar\", \"Kwi\", \"Maj\", \"Cze\", \"Lip\", \"Sie\", \"Wrz\", \"Paź\", \"Lis\", \"Gru\"],\n longhand: [\"Styczeń\", \"Luty\", \"Marzec\", \"Kwiecień\", \"Maj\", \"Czerwiec\", \"Lipiec\", \"Sierpień\", \"Wrzesień\", \"Październik\", \"Listopad\", \"Grudzień\"]\n },\n rangeSeparator: \" do \",\n weekAbbreviation: \"tydz.\",\n scrollTitle: \"Przewiń, aby zwiększyć\",\n toggleTitle: \"Kliknij, aby przełączyć\",\n firstDayOfWeek: 1,\n time_24hr: true,\n ordinal: function () {\n return \".\";\n }\n };\n fp$E.l10ns.pl = Polish;\n fp$E.l10ns;\n var fp$F = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Portuguese = {\n weekdays: {\n shorthand: [\"Dom\", \"Seg\", \"Ter\", \"Qua\", \"Qui\", \"Sex\", \"Sáb\"],\n longhand: [\"Domingo\", \"Segunda-feira\", \"Terça-feira\", \"Quarta-feira\", \"Quinta-feira\", \"Sexta-feira\", \"Sábado\"]\n },\n months: {\n shorthand: [\"Jan\", \"Fev\", \"Mar\", \"Abr\", \"Mai\", \"Jun\", \"Jul\", \"Ago\", \"Set\", \"Out\", \"Nov\", \"Dez\"],\n longhand: [\"Janeiro\", \"Fevereiro\", \"Março\", \"Abril\", \"Maio\", \"Junho\", \"Julho\", \"Agosto\", \"Setembro\", \"Outubro\", \"Novembro\", \"Dezembro\"]\n },\n rangeSeparator: \" até \",\n time_24hr: true\n };\n fp$F.l10ns.pt = Portuguese;\n fp$F.l10ns;\n var fp$G = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Romanian = {\n weekdays: {\n shorthand: [\"Dum\", \"Lun\", \"Mar\", \"Mie\", \"Joi\", \"Vin\", \"Sâm\"],\n longhand: [\"Duminică\", \"Luni\", \"Marți\", \"Miercuri\", \"Joi\", \"Vineri\", \"Sâmbătă\"]\n },\n months: {\n shorthand: [\"Ian\", \"Feb\", \"Mar\", \"Apr\", \"Mai\", \"Iun\", \"Iul\", \"Aug\", \"Sep\", \"Oct\", \"Noi\", \"Dec\"],\n longhand: [\"Ianuarie\", \"Februarie\", \"Martie\", \"Aprilie\", \"Mai\", \"Iunie\", \"Iulie\", \"August\", \"Septembrie\", \"Octombrie\", \"Noiembrie\", \"Decembrie\"]\n },\n firstDayOfWeek: 1,\n time_24hr: true,\n ordinal: function () {\n return \"\";\n }\n };\n fp$G.l10ns.ro = Romanian;\n fp$G.l10ns;\n var fp$H = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Russian = {\n weekdays: {\n shorthand: [\"Вс\", \"Пн\", \"Вт\", \"Ср\", \"Чт\", \"Пт\", \"Сб\"],\n longhand: [\"Воскресенье\", \"Понедельник\", \"Вторник\", \"Среда\", \"Четверг\", \"Пятница\", \"Суббота\"]\n },\n months: {\n shorthand: [\"Янв\", \"Фев\", \"Март\", \"Апр\", \"Май\", \"Июнь\", \"Июль\", \"Авг\", \"Сен\", \"Окт\", \"Ноя\", \"Дек\"],\n longhand: [\"Январь\", \"Февраль\", \"Март\", \"Апрель\", \"Май\", \"Июнь\", \"Июль\", \"Август\", \"Сентябрь\", \"Октябрь\", \"Ноябрь\", \"Декабрь\"]\n },\n firstDayOfWeek: 1,\n ordinal: function () {\n return \"\";\n },\n rangeSeparator: \" — \",\n weekAbbreviation: \"Нед.\",\n scrollTitle: \"Прокрутите для увеличения\",\n toggleTitle: \"Нажмите для переключения\",\n amPM: [\"ДП\", \"ПП\"],\n yearAriaLabel: \"Год\",\n time_24hr: true\n };\n fp$H.l10ns.ru = Russian;\n fp$H.l10ns;\n var fp$I = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Sinhala = {\n weekdays: {\n shorthand: [\"ඉ\", \"ස\", \"අ\", \"බ\", \"බ්‍ර\", \"සි\", \"සෙ\"],\n longhand: [\"ඉරිදා\", \"සඳුදා\", \"අඟහරුවාදා\", \"බදාදා\", \"බ්‍රහස්පතින්දා\", \"සිකුරාදා\", \"සෙනසුරාදා\"]\n },\n months: {\n shorthand: [\"ජන\", \"පෙබ\", \"මාර්\", \"අප්‍රේ\", \"මැයි\", \"ජුනි\", \"ජූලි\", \"අගෝ\", \"සැප්\", \"ඔක්\", \"නොවැ\", \"දෙසැ\"],\n longhand: [\"ජනවාරි\", \"පෙබරවාරි\", \"මාර්තු\", \"අප්‍රේල්\", \"මැයි\", \"ජුනි\", \"ජූලි\", \"අගෝස්තු\", \"සැප්තැම්බර්\", \"ඔක්තෝබර්\", \"නොවැම්බර්\", \"දෙසැම්බර්\"]\n },\n time_24hr: true\n };\n fp$I.l10ns.si = Sinhala;\n fp$I.l10ns;\n var fp$J = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Slovak = {\n weekdays: {\n shorthand: [\"Ned\", \"Pon\", \"Ut\", \"Str\", \"Štv\", \"Pia\", \"Sob\"],\n longhand: [\"Nedeľa\", \"Pondelok\", \"Utorok\", \"Streda\", \"Štvrtok\", \"Piatok\", \"Sobota\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Máj\", \"Jún\", \"Júl\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Dec\"],\n longhand: [\"Január\", \"Február\", \"Marec\", \"Apríl\", \"Máj\", \"Jún\", \"Júl\", \"August\", \"September\", \"Október\", \"November\", \"December\"]\n },\n firstDayOfWeek: 1,\n rangeSeparator: \" do \",\n time_24hr: true,\n ordinal: function () {\n return \".\";\n }\n };\n fp$J.l10ns.sk = Slovak;\n fp$J.l10ns;\n var fp$K = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Slovenian = {\n weekdays: {\n shorthand: [\"Ned\", \"Pon\", \"Tor\", \"Sre\", \"Čet\", \"Pet\", \"Sob\"],\n longhand: [\"Nedelja\", \"Ponedeljek\", \"Torek\", \"Sreda\", \"Četrtek\", \"Petek\", \"Sobota\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Maj\", \"Jun\", \"Jul\", \"Avg\", \"Sep\", \"Okt\", \"Nov\", \"Dec\"],\n longhand: [\"Januar\", \"Februar\", \"Marec\", \"April\", \"Maj\", \"Junij\", \"Julij\", \"Avgust\", \"September\", \"Oktober\", \"November\", \"December\"]\n },\n firstDayOfWeek: 1,\n rangeSeparator: \" do \",\n time_24hr: true,\n ordinal: function () {\n return \".\";\n }\n };\n fp$K.l10ns.sl = Slovenian;\n fp$K.l10ns;\n var fp$L = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Albanian = {\n weekdays: {\n shorthand: [\"Di\", \"Hë\", \"Ma\", \"Më\", \"En\", \"Pr\", \"Sh\"],\n longhand: [\"E Diel\", \"E Hënë\", \"E Martë\", \"E Mërkurë\", \"E Enjte\", \"E Premte\", \"E Shtunë\"]\n },\n months: {\n shorthand: [\"Jan\", \"Shk\", \"Mar\", \"Pri\", \"Maj\", \"Qer\", \"Kor\", \"Gus\", \"Sht\", \"Tet\", \"Nën\", \"Dhj\"],\n longhand: [\"Janar\", \"Shkurt\", \"Mars\", \"Prill\", \"Maj\", \"Qershor\", \"Korrik\", \"Gusht\", \"Shtator\", \"Tetor\", \"Nëntor\", \"Dhjetor\"]\n },\n time_24hr: true\n };\n fp$L.l10ns.sq = Albanian;\n fp$L.l10ns;\n var fp$M = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Serbian = {\n weekdays: {\n shorthand: [\"Ned\", \"Pon\", \"Uto\", \"Sre\", \"Čet\", \"Pet\", \"Sub\"],\n longhand: [\"Nedelja\", \"Ponedeljak\", \"Utorak\", \"Sreda\", \"Četvrtak\", \"Petak\", \"Subota\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Maj\", \"Jun\", \"Jul\", \"Avg\", \"Sep\", \"Okt\", \"Nov\", \"Dec\"],\n longhand: [\"Januar\", \"Februar\", \"Mart\", \"April\", \"Maj\", \"Jun\", \"Jul\", \"Avgust\", \"Septembar\", \"Oktobar\", \"Novembar\", \"Decembar\"]\n },\n firstDayOfWeek: 1,\n weekAbbreviation: \"Ned.\",\n rangeSeparator: \" do \",\n time_24hr: true\n };\n fp$M.l10ns.sr = Serbian;\n fp$M.l10ns;\n var fp$N = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Swedish = {\n firstDayOfWeek: 1,\n weekAbbreviation: \"v\",\n weekdays: {\n shorthand: [\"Sön\", \"Mån\", \"Tis\", \"Ons\", \"Tor\", \"Fre\", \"Lör\"],\n longhand: [\"Söndag\", \"Måndag\", \"Tisdag\", \"Onsdag\", \"Torsdag\", \"Fredag\", \"Lördag\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"Maj\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Okt\", \"Nov\", \"Dec\"],\n longhand: [\"Januari\", \"Februari\", \"Mars\", \"April\", \"Maj\", \"Juni\", \"Juli\", \"Augusti\", \"September\", \"Oktober\", \"November\", \"December\"]\n },\n time_24hr: true,\n ordinal: function () {\n return \".\";\n }\n };\n fp$N.l10ns.sv = Swedish;\n fp$N.l10ns;\n var fp$O = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Thai = {\n weekdays: {\n shorthand: [\"อา\", \"จ\", \"อ\", \"พ\", \"พฤ\", \"ศ\", \"ส\"],\n longhand: [\"อาทิตย์\", \"จันทร์\", \"อังคาร\", \"พุธ\", \"พฤหัสบดี\", \"ศุกร์\", \"เสาร์\"]\n },\n months: {\n shorthand: [\"ม.ค.\", \"ก.พ.\", \"มี.ค.\", \"เม.ย.\", \"พ.ค.\", \"มิ.ย.\", \"ก.ค.\", \"ส.ค.\", \"ก.ย.\", \"ต.ค.\", \"พ.ย.\", \"ธ.ค.\"],\n longhand: [\"มกราคม\", \"กุมภาพันธ์\", \"มีนาคม\", \"เมษายน\", \"พฤษภาคม\", \"มิถุนายน\", \"กรกฎาคม\", \"สิงหาคม\", \"กันยายน\", \"ตุลาคม\", \"พฤศจิกายน\", \"ธันวาคม\"]\n },\n firstDayOfWeek: 1,\n rangeSeparator: \" ถึง \",\n scrollTitle: \"เลื่อนเพื่อเพิ่มหรือลด\",\n toggleTitle: \"คลิกเพื่อเปลี่ยน\",\n time_24hr: true,\n ordinal: function () {\n return \"\";\n }\n };\n fp$O.l10ns.th = Thai;\n fp$O.l10ns;\n var fp$P = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Turkish = {\n weekdays: {\n shorthand: [\"Paz\", \"Pzt\", \"Sal\", \"Çar\", \"Per\", \"Cum\", \"Cmt\"],\n longhand: [\"Pazar\", \"Pazartesi\", \"Salı\", \"Çarşamba\", \"Perşembe\", \"Cuma\", \"Cumartesi\"]\n },\n months: {\n shorthand: [\"Oca\", \"Şub\", \"Mar\", \"Nis\", \"May\", \"Haz\", \"Tem\", \"Ağu\", \"Eyl\", \"Eki\", \"Kas\", \"Ara\"],\n longhand: [\"Ocak\", \"Şubat\", \"Mart\", \"Nisan\", \"Mayıs\", \"Haziran\", \"Temmuz\", \"Ağustos\", \"Eylül\", \"Ekim\", \"Kasım\", \"Aralık\"]\n },\n firstDayOfWeek: 1,\n ordinal: function () {\n return \".\";\n },\n rangeSeparator: \" - \",\n weekAbbreviation: \"Hf\",\n scrollTitle: \"Artırmak için kaydırın\",\n toggleTitle: \"Aç/Kapa\",\n amPM: [\"ÖÖ\", \"ÖS\"],\n time_24hr: true\n };\n fp$P.l10ns.tr = Turkish;\n fp$P.l10ns;\n var fp$Q = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Ukrainian = {\n firstDayOfWeek: 1,\n weekdays: {\n shorthand: [\"Нд\", \"Пн\", \"Вт\", \"Ср\", \"Чт\", \"Пт\", \"Сб\"],\n longhand: [\"Неділя\", \"Понеділок\", \"Вівторок\", \"Середа\", \"Четвер\", \"П'ятниця\", \"Субота\"]\n },\n months: {\n shorthand: [\"Січ\", \"Лют\", \"Бер\", \"Кві\", \"Тра\", \"Чер\", \"Лип\", \"Сер\", \"Вер\", \"Жов\", \"Лис\", \"Гру\"],\n longhand: [\"Січень\", \"Лютий\", \"Березень\", \"Квітень\", \"Травень\", \"Червень\", \"Липень\", \"Серпень\", \"Вересень\", \"Жовтень\", \"Листопад\", \"Грудень\"]\n },\n time_24hr: true\n };\n fp$Q.l10ns.uk = Ukrainian;\n fp$Q.l10ns;\n var fp$R = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Vietnamese = {\n weekdays: {\n shorthand: [\"CN\", \"T2\", \"T3\", \"T4\", \"T5\", \"T6\", \"T7\"],\n longhand: [\"Chủ nhật\", \"Thứ hai\", \"Thứ ba\", \"Thứ tư\", \"Thứ năm\", \"Thứ sáu\", \"Thứ bảy\"]\n },\n months: {\n shorthand: [\"Th1\", \"Th2\", \"Th3\", \"Th4\", \"Th5\", \"Th6\", \"Th7\", \"Th8\", \"Th9\", \"Th10\", \"Th11\", \"Th12\"],\n longhand: [\"Tháng một\", \"Tháng hai\", \"Tháng ba\", \"Tháng tư\", \"Tháng năm\", \"Tháng sáu\", \"Tháng bảy\", \"Tháng tám\", \"Tháng chín\", \"Tháng mười\", \"Tháng 11\", \"Tháng 12\"]\n },\n firstDayOfWeek: 1,\n rangeSeparator: ' đến '\n };\n fp$R.l10ns.vn = Vietnamese;\n fp$R.l10ns;\n var fp$S = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Mandarin = {\n weekdays: {\n shorthand: [\"周日\", \"周一\", \"周二\", \"周三\", \"周四\", \"周五\", \"周六\"],\n longhand: [\"星期日\", \"星期一\", \"星期二\", \"星期三\", \"星期四\", \"星期五\", \"星期六\"]\n },\n months: {\n shorthand: [\"一月\", \"二月\", \"三月\", \"四月\", \"五月\", \"六月\", \"七月\", \"八月\", \"九月\", \"十月\", \"十一月\", \"十二月\"],\n longhand: [\"一月\", \"二月\", \"三月\", \"四月\", \"五月\", \"六月\", \"七月\", \"八月\", \"九月\", \"十月\", \"十一月\", \"十二月\"]\n },\n rangeSeparator: \" 至 \",\n weekAbbreviation: \"周\",\n scrollTitle: \"滚动切换\",\n toggleTitle: \"点击切换 12/24 小时时制\"\n };\n fp$S.l10ns.zh = Mandarin;\n fp$S.l10ns;\n var fp$T = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var MandarinTraditional = {\n weekdays: {\n shorthand: [\"週日\", \"週一\", \"週二\", \"週三\", \"週四\", \"週五\", \"週六\"],\n longhand: [\"星期日\", \"星期一\", \"星期二\", \"星期三\", \"星期四\", \"星期五\", \"星期六\"]\n },\n months: {\n shorthand: [\"一月\", \"二月\", \"三月\", \"四月\", \"五月\", \"六月\", \"七月\", \"八月\", \"九月\", \"十月\", \"十一月\", \"十二月\"],\n longhand: [\"一月\", \"二月\", \"三月\", \"四月\", \"五月\", \"六月\", \"七月\", \"八月\", \"九月\", \"十月\", \"十一月\", \"十二月\"]\n },\n rangeSeparator: \" 至 \",\n weekAbbreviation: \"週\",\n scrollTitle: \"滾動切換\",\n toggleTitle: \"點擊切換 12/24 小時時制\"\n };\n fp$T.l10ns.zh_tw = MandarinTraditional;\n fp$T.l10ns;\n var l10n = {\n ar: Arabic,\n at: Austria,\n az: Azerbaijan,\n be: Belarusian,\n bg: Bulgarian,\n bn: Bangla,\n bs: Bosnian,\n cat: Catalan,\n cs: Czech,\n cy: Welsh,\n da: Danish,\n de: German,\n \"default\": __assign({}, english),\n en: english,\n eo: Esperanto,\n es: Spanish,\n et: Estonian,\n fa: Persian,\n fi: Finnish,\n fo: Faroese,\n fr: French,\n gr: Greek,\n he: Hebrew,\n hi: Hindi,\n hr: Croatian,\n hu: Hungarian,\n id: Indonesian,\n is: Icelandic,\n it: Italian,\n ja: Japanese,\n ko: Korean,\n km: Khmer,\n kz: Kazakh,\n lt: Lithuanian,\n lv: Latvian,\n mk: Macedonian,\n mn: Mongolian,\n ms: Malaysian,\n my: Burmese,\n nl: Dutch,\n no: Norwegian,\n pa: Punjabi,\n pl: Polish,\n pt: Portuguese,\n ro: Romanian,\n ru: Russian,\n si: Sinhala,\n sk: Slovak,\n sl: Slovenian,\n sq: Albanian,\n sr: Serbian,\n sv: Swedish,\n th: Thai,\n tr: Turkish,\n uk: Ukrainian,\n vn: Vietnamese,\n zh: Mandarin,\n zh_tw: MandarinTraditional\n };\n exports.default = l10n;\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n});","map":null,"metadata":{},"sourceType":"script"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1a9ad4df2461d62bc42ed4e26789d681.json b/.angular/cache/14.2.11/babel-webpack/1a9ad4df2461d62bc42ed4e26789d681.json new file mode 100644 index 0000000000..eddd119efa --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1a9ad4df2461d62bc42ed4e26789d681.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { __asyncValues, __awaiter } from \"tslib\";\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isPromise } from '../util/isPromise';\nimport { Observable } from '../Observable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isIterable } from '../util/isIterable';\nimport { isReadableStreamLike, readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nimport { isFunction } from '../util/isFunction';\nimport { reportUnhandledError } from '../util/reportUnhandledError';\nimport { observable as Symbol_observable } from '../symbol/observable';\nexport function innerFrom(input) {\n if (input instanceof Observable) {\n return input;\n }\n\n if (input != null) {\n if (isInteropObservable(input)) {\n return fromInteropObservable(input);\n }\n\n if (isArrayLike(input)) {\n return fromArrayLike(input);\n }\n\n if (isPromise(input)) {\n return fromPromise(input);\n }\n\n if (isAsyncIterable(input)) {\n return fromAsyncIterable(input);\n }\n\n if (isIterable(input)) {\n return fromIterable(input);\n }\n\n if (isReadableStreamLike(input)) {\n return fromReadableStreamLike(input);\n }\n }\n\n throw createInvalidObservableTypeError(input);\n}\nexport function fromInteropObservable(obj) {\n return new Observable(subscriber => {\n const obs = obj[Symbol_observable]();\n\n if (isFunction(obs.subscribe)) {\n return obs.subscribe(subscriber);\n }\n\n throw new TypeError('Provided object does not correctly implement Symbol.observable');\n });\n}\nexport function fromArrayLike(array) {\n return new Observable(subscriber => {\n for (let i = 0; i < array.length && !subscriber.closed; i++) {\n subscriber.next(array[i]);\n }\n\n subscriber.complete();\n });\n}\nexport function fromPromise(promise) {\n return new Observable(subscriber => {\n promise.then(value => {\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, err => subscriber.error(err)).then(null, reportUnhandledError);\n });\n}\nexport function fromIterable(iterable) {\n return new Observable(subscriber => {\n for (const value of iterable) {\n subscriber.next(value);\n\n if (subscriber.closed) {\n return;\n }\n }\n\n subscriber.complete();\n });\n}\nexport function fromAsyncIterable(asyncIterable) {\n return new Observable(subscriber => {\n process(asyncIterable, subscriber).catch(err => subscriber.error(err));\n });\n}\nexport function fromReadableStreamLike(readableStream) {\n return fromAsyncIterable(readableStreamLikeToAsyncGenerator(readableStream));\n}\n\nfunction process(asyncIterable, subscriber) {\n var asyncIterable_1, asyncIterable_1_1;\n\n var e_1, _a;\n\n return __awaiter(this, void 0, void 0, function* () {\n try {\n for (asyncIterable_1 = __asyncValues(asyncIterable); asyncIterable_1_1 = yield asyncIterable_1.next(), !asyncIterable_1_1.done;) {\n const value = asyncIterable_1_1.value;\n subscriber.next(value);\n\n if (subscriber.closed) {\n return;\n }\n }\n } catch (e_1_1) {\n e_1 = {\n error: e_1_1\n };\n } finally {\n try {\n if (asyncIterable_1_1 && !asyncIterable_1_1.done && (_a = asyncIterable_1.return)) yield _a.call(asyncIterable_1);\n } finally {\n if (e_1) throw e_1.error;\n }\n }\n\n subscriber.complete();\n });\n} //# sourceMappingURL=innerFrom.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1b0441aab14ff1d52050ca277e361fe2.json b/.angular/cache/14.2.11/babel-webpack/1b0441aab14ff1d52050ca277e361fe2.json new file mode 100644 index 0000000000..f5cff0665d --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1b0441aab14ff1d52050ca277e361fe2.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-radio.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, Input, HostBinding, Output, EventEmitter, ContentChildren, forwardRef, HostListener, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\n/**\n * Used to emit changes performed on a `Radio`.\n */\n\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\n\nfunction Radio_input_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵelementStart(0, \"input\", 4);\n ɵngcc0.ɵɵlistener(\"change\", function Radio_input_0_Template_input_change_0_listener($event) {\n ɵngcc0.ɵɵrestoreView(_r3);\n const ctx_r2 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r2.onChange($event));\n })(\"click\", function Radio_input_0_Template_input_click_0_listener($event) {\n ɵngcc0.ɵɵrestoreView(_r3);\n const ctx_r4 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r4.onClick($event));\n });\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r0 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵproperty(\"checked\", ctx_r0.checked)(\"disabled\", ctx_r0.disabled || ctx_r0.disabledFromGroup)(\"name\", ctx_r0.name)(\"id\", ctx_r0.id)(\"required\", ctx_r0.required)(\"value\", ctx_r0.value);\n ɵngcc0.ɵɵattribute(\"aria-labelledby\", ctx_r0.ariaLabelledby);\n }\n}\n\nfunction Radio_div_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelement(0, \"div\", 5);\n }\n}\n\nconst _c0 = function (a0) {\n return {\n \"bx--skeleton\": a0\n };\n};\n\nconst _c1 = [\"*\"];\n\nconst _c2 = function (a0, a1) {\n return {\n \"bx--radio-button-group--vertical\": a0,\n \"bx--radio-button-group--label-left\": a1\n };\n};\n\nclass RadioChange {\n constructor(source, value) {\n this.source = source;\n this.value = value;\n }\n\n}\n/**\n * class: Radio (extends Checkbox)\n *\n * selector: `n-radio`\n *\n * source: `src/forms/radio.component.ts`\n *\n * ```html\n * Radio\n * ```\n *\n * Also see: [`RadioGroup`](#ibm-radio-group)\n */\n\n\nlet Radio = /*#__PURE__*/(() => {\n class Radio {\n constructor() {\n this.checked = false;\n this.name = \"\";\n this.disabled = false;\n this.labelPlacement = \"right\";\n /**\n * Used to set the `aria-label` attribute on the input label.\n */\n\n this.ariaLabel = \"\";\n /**\n * Sets the HTML required attribute\n */\n\n this.required = false;\n /**\n * The value of the `Radio`.\n */\n\n this.value = \"\";\n /**\n * Set to `true` for a loading table.\n */\n\n this.skeleton = false;\n /**\n * The id for the `Radio`.\n */\n\n this.id = `radio-${Radio.radioCount++}`;\n /**\n * emits when the state of the radio changes\n */\n\n this.change = new EventEmitter();\n this.hostClass = true;\n /**\n * Reflects whether or not the input is disabled at `RadioGroup` level.\n */\n\n this.disabledFromGroup = false;\n this._labelledby = \"\";\n /**\n * Handler provided by the `RadioGroup` to bubble events up\n */\n\n this.radioChangeHandler = event => {};\n }\n\n set ariaLabelledby(value) {\n this._labelledby = value;\n }\n\n get ariaLabelledby() {\n if (this._labelledby) {\n return this._labelledby;\n }\n\n return `label-${this.id}`;\n }\n\n get labelLeft() {\n return this.labelPlacement === \"left\";\n }\n /**\n * Synchronizes with the `RadioGroup` in the event of a changed `Radio`.\n * Emits the changes of both the `RadioGroup` and `Radio`.\n */\n\n\n onChange(event) {\n event.stopPropagation();\n }\n\n onClick(event) {\n this.checked = event.target.checked;\n const radioEvent = new RadioChange(this, this.value);\n this.change.emit(radioEvent);\n this.radioChangeHandler(radioEvent);\n }\n /**\n * Method called by `RadioGroup` with a callback function to bubble `RadioChange` events\n * @param fn callback that expects a `RadioChange` as an argument\n */\n\n\n registerRadioChangeHandler(fn) {\n this.radioChangeHandler = fn;\n }\n\n setDisabledFromGroup(disabled) {\n this.disabledFromGroup = disabled;\n }\n\n }\n\n Radio.ɵfac = function Radio_Factory(t) {\n return new (t || Radio)();\n };\n\n Radio.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: Radio,\n selectors: [[\"ibm-radio\"]],\n hostVars: 4,\n hostBindings: function Radio_HostBindings(rf, ctx) {\n if (rf & 2) {\n ɵngcc0.ɵɵclassProp(\"bx--radio-button-wrapper\", ctx.hostClass)(\"bx--radio-button-wrapper--label-left\", ctx.labelLeft);\n }\n },\n inputs: {\n checked: \"checked\",\n name: \"name\",\n disabled: \"disabled\",\n labelPlacement: \"labelPlacement\",\n ariaLabel: \"ariaLabel\",\n required: \"required\",\n value: \"value\",\n skeleton: \"skeleton\",\n id: \"id\",\n ariaLabelledby: \"ariaLabelledby\"\n },\n outputs: {\n change: \"change\"\n },\n features: [ɵngcc0.ɵɵProvidersFeature([{\n provide: NG_VALUE_ACCESSOR,\n useExisting: Radio,\n multi: true\n }])],\n ngContentSelectors: _c1,\n decls: 5,\n vars: 8,\n consts: [[\"class\", \"bx--radio-button\", \"type\", \"radio\", 3, \"checked\", \"disabled\", \"name\", \"id\", \"required\", \"value\", \"change\", \"click\", 4, \"ngIf\"], [\"class\", \"bx--radio-button bx--skeleton\", 4, \"ngIf\"], [1, \"bx--radio-button__label\", 3, \"ngClass\", \"for\", \"id\"], [1, \"bx--radio-button__appearance\"], [\"type\", \"radio\", 1, \"bx--radio-button\", 3, \"checked\", \"disabled\", \"name\", \"id\", \"required\", \"value\", \"change\", \"click\"], [1, \"bx--radio-button\", \"bx--skeleton\"]],\n template: function Radio_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef();\n ɵngcc0.ɵɵtemplate(0, Radio_input_0_Template, 1, 7, \"input\", 0);\n ɵngcc0.ɵɵtemplate(1, Radio_div_1_Template, 1, 0, \"div\", 1);\n ɵngcc0.ɵɵelementStart(2, \"label\", 2);\n ɵngcc0.ɵɵelement(3, \"span\", 3);\n ɵngcc0.ɵɵprojection(4);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.skeleton);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵpropertyInterpolate1(\"id\", \"label-\", ctx.id, \"\");\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(6, _c0, ctx.skeleton))(\"for\", ctx.id);\n ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n }\n },\n dependencies: [ɵngcc1.NgClass, ɵngcc1.NgIf],\n encapsulation: 2\n });\n /**\n * Used to dynamically create unique ids for the `Radio`.\n */\n\n Radio.radioCount = 0;\n return Radio;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * [See demo](../../?path=/story/components-radio--basic)\n *\n * class: RadioGroup\n *\n * selector: `ibm-radio-group`\n *\n * source: `src/forms/radio.component.ts`\n *\n *\n * Ex:\n * ```html\n * \n * \t\n *\t\tRadio {{one}}\n * \t\n * \n *\n * Radio selected: {{radio}}\n * ```\n *\n * ```typescript\n * manyRadios = [\"one\", \"two\", \"three\", \"four\", \"five\", \"six\"];\n * ```\n *\n * Also see: [`Radio`](#ibm-radio)\n *\n * ../../iframe.html?id=components-radio--basic\n */\n\n\nlet RadioGroup = /*#__PURE__*/(() => {\n class RadioGroup {\n constructor() {\n this.orientation = \"horizontal\";\n this.labelPlacement = \"right\";\n /**\n * Emits event notifying other classes of a change using a `RadioChange` class.\n */\n\n this.change = new EventEmitter();\n /**\n * Binds 'bx--form-item' value to the class for `RadioGroup`.\n */\n\n this.radioButtonGroupClass = true;\n /**\n * To track whether the `RadioGroup` has been initialized.\n */\n\n this.isInitialized = false;\n /**\n * Reflects whether or not the input is disabled and cannot be selected.\n */\n\n this._disabled = false;\n /**\n * Reflects whether or not the dropdown is loading.\n */\n\n this._skeleton = false;\n /**\n * The value of the selected option within the `RadioGroup`.\n */\n\n this._value = null;\n /**\n * The `Radio` within the `RadioGroup` that is selected.\n */\n\n this._selected = null;\n /**\n * The name attribute associated with the `RadioGroup`.\n */\n\n this._name = `radio-group-${RadioGroup.radioGroupCount++}`;\n /**\n * Needed to properly implement ControlValueAccessor.\n */\n\n this.onTouched = () => {};\n /**\n * Method set in registerOnChange to propagate changes back to the form.\n */\n\n\n this.propagateChange = _ => {};\n }\n /**\n * Sets the passed in `Radio` item as the selected input within the `RadioGroup`.\n */\n\n\n set selected(selected) {\n const alreadySelected = (this._selected && this._selected.value) === (selected && selected.value);\n\n if (alreadySelected) {\n // no need to redo\n return;\n }\n\n if (this._selected) {\n this._selected.checked = false;\n }\n\n this._selected = selected;\n this.value = selected ? selected.value : null;\n this.checkSelectedRadio();\n }\n /**\n * Returns the `Radio` that is selected within the `RadioGroup`.\n */\n\n\n get selected() {\n return this._selected;\n }\n /**\n * Sets the value/state of the selected `Radio` within the `RadioGroup` to the passed in value.\n */\n\n\n set value(newValue) {\n if (this._value !== newValue) {\n this._value = newValue;\n this.updateSelectedRadioFromValue();\n this.checkSelectedRadio();\n }\n }\n /**\n * Returns the value/state of the selected `Radio` within the `RadioGroup`.\n */\n\n\n get value() {\n return this._value;\n }\n /**\n * Replaces the name associated with the `RadioGroup` with the provided parameter.\n */\n\n\n set name(name) {\n this._name = name;\n this.updateRadios();\n }\n /**\n * Returns the associated name of the `RadioGroup`.\n */\n\n\n get name() {\n return this._name;\n }\n /**\n * Set to true to disable the whole radio group\n */\n\n\n set disabled(disabled) {\n this._disabled = disabled;\n this.updateRadios();\n }\n /**\n * Returns the disabled value for the `RadioGroup`.\n */\n\n\n get disabled() {\n return this._disabled;\n }\n /**\n * Returns the skeleton value in the `RadioGroup` if there is one.\n */\n\n\n get skeleton() {\n return this._skeleton;\n }\n /**\n * Sets the skeleton value for all `Radio` to the skeleton value of `RadioGroup`.\n */\n\n\n set skeleton(value) {\n this._skeleton = value;\n this.updateChildren();\n }\n /**\n * Updates the selected `Radio` to be checked (selected).\n */\n\n\n checkSelectedRadio() {\n if (this.selected && !this._selected.checked) {\n this.selected.checked = true;\n }\n }\n /**\n * Use the value of the `RadioGroup` to update the selected radio to the right state (selected state).\n */\n\n\n updateSelectedRadioFromValue() {\n let alreadySelected = this._selected != null && this._selected.value === this._value;\n\n if (this.radios && !alreadySelected) {\n if (this.selected && this.value) {\n this.selected.checked = false;\n }\n\n this._selected = null;\n this.radios.forEach(radio => {\n if (radio.checked || radio.value === this._value) {\n this._selected = radio;\n }\n });\n\n if (this.selected && !this.value) {\n this._value = this.selected.value;\n }\n }\n }\n /**\n * `ControlValueAccessor` method to programmatically disable the `RadioGroup`.\n *\n * ex: `this.formGroup.get(\"myRadioGroup\").disable();`\n *\n * @param isDisabled `true` to disable the inputs\n */\n\n\n setDisabledState(isDisabled) {\n this.disabled = isDisabled;\n }\n /**\n * Creates a class of `RadioChange` to emit the change in the `RadioGroup`.\n */\n\n\n emitChangeEvent(event) {\n this.change.emit(event);\n this.propagateChange(event.value);\n this.onTouched();\n }\n /**\n * Synchronizes radio properties.\n */\n\n\n updateRadios() {\n if (this.radios) {\n setTimeout(() => {\n this.radios.forEach(radio => {\n radio.name = this.name;\n radio.setDisabledFromGroup(this.disabled);\n\n if (this.labelPlacement === \"left\") {\n radio.labelPlacement = \"left\";\n }\n });\n });\n }\n }\n /**\n * Updates the value of the `RadioGroup` using the provided parameter.\n */\n\n\n writeValue(value) {\n this.value = value;\n setTimeout(() => {\n this.updateSelectedRadioFromValue();\n this.checkSelectedRadio();\n });\n }\n\n ngAfterContentInit() {\n this.radios.changes.subscribe(() => {\n this.updateRadios();\n this.updateRadioChangeHandler();\n });\n this.updateChildren();\n this.updateRadioChangeHandler();\n }\n\n ngAfterViewInit() {\n this.updateRadios();\n }\n /**\n * Used to set method to propagate changes back to the form.\n */\n\n\n registerOnChange(fn) {\n this.propagateChange = fn;\n }\n /**\n * Registers a callback to be triggered when the control has been touched.\n * @param fn Callback to be triggered when the checkbox is touched.\n */\n\n\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n\n focusOut() {\n this.onTouched();\n }\n\n updateChildren() {\n if (this.radios) {\n this.radios.forEach(child => child.skeleton = this.skeleton);\n }\n }\n\n updateRadioChangeHandler() {\n this.radios.forEach(radio => {\n radio.registerRadioChangeHandler(event => {\n if ((this.selected && this.selected.value) === event.value) {\n // no need to redo\n return;\n } // deselect previous radio\n\n\n if (this.selected) {\n this.selected.checked = false;\n } // update selected and value from the event\n\n\n this._selected = event.source;\n this._value = event.value; // bubble the event\n\n this.emitChangeEvent(event);\n });\n });\n }\n\n }\n\n RadioGroup.ɵfac = function RadioGroup_Factory(t) {\n return new (t || RadioGroup)();\n };\n\n RadioGroup.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: RadioGroup,\n selectors: [[\"ibm-radio-group\"]],\n contentQueries: function RadioGroup_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n ɵngcc0.ɵɵcontentQuery(dirIndex, Radio, 4);\n }\n\n if (rf & 2) {\n let _t;\n\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.radios = _t);\n }\n },\n hostVars: 2,\n hostBindings: function RadioGroup_HostBindings(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵlistener(\"focusout\", function RadioGroup_focusout_HostBindingHandler() {\n return ctx.focusOut();\n });\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵclassProp(\"bx--form-item\", ctx.radioButtonGroupClass);\n }\n },\n inputs: {\n orientation: \"orientation\",\n labelPlacement: \"labelPlacement\",\n selected: \"selected\",\n value: \"value\",\n name: \"name\",\n disabled: \"disabled\",\n skeleton: \"skeleton\",\n ariaLabel: \"ariaLabel\",\n ariaLabelledby: \"ariaLabelledby\"\n },\n outputs: {\n change: \"change\"\n },\n features: [ɵngcc0.ɵɵProvidersFeature([{\n provide: NG_VALUE_ACCESSOR,\n useExisting: RadioGroup,\n multi: true\n }])],\n ngContentSelectors: _c1,\n decls: 2,\n vars: 6,\n consts: [[1, \"bx--radio-button-group\", 3, \"ngClass\"]],\n template: function RadioGroup_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef();\n ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n ɵngcc0.ɵɵprojection(1);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction2(3, _c2, ctx.orientation === \"vertical\", ctx.orientation === \"vertical\" && ctx.labelPlacement === \"left\"));\n ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel)(\"aria-labelledby\", ctx.ariaLabelledby);\n }\n },\n dependencies: [ɵngcc1.NgClass],\n encapsulation: 2\n });\n /**\n * Used for creating the `RadioGroup` 'name' property dynamically.\n */\n\n RadioGroup.radioGroupCount = 0;\n return RadioGroup;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})(); // modules\n\n\nlet RadioModule = /*#__PURE__*/(() => {\n class RadioModule {}\n\n RadioModule.ɵfac = function RadioModule_Factory(t) {\n return new (t || RadioModule)();\n };\n\n RadioModule.ɵmod = /*@__PURE__*/ɵngcc0.ɵɵdefineNgModule({\n type: RadioModule\n });\n RadioModule.ɵinj = /*@__PURE__*/ɵngcc0.ɵɵdefineInjector({\n imports: [CommonModule, FormsModule]\n });\n return RadioModule;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(RadioModule, {\n declarations: function () {\n return [Radio, RadioGroup];\n },\n imports: function () {\n return [CommonModule, FormsModule];\n },\n exports: function () {\n return [Radio, RadioGroup];\n }\n });\n})();\n/**\n * Generated bundle index. Do not edit.\n */\n\n\nexport { RadioChange, RadioGroup, Radio, RadioModule }; //# sourceMappingURL=carbon-components-angular-radio.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1b11e25c9699dea2605d02fb7e2ba577.json b/.angular/cache/14.2.11/babel-webpack/1b11e25c9699dea2605d02fb7e2ba577.json new file mode 100644 index 0000000000..511ea77883 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1b11e25c9699dea2605d02fb7e2ba577.json @@ -0,0 +1 @@ +{"ast":null,"code":"var ansiRegex = new RegExp([\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\", \"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-nq-uy=><~]))\"].join(\"|\"), \"g\");\n/**\n *\n * Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) from a string.\n * Adapted from code originally released by Sindre Sorhus\n * Licensed the MIT License\n *\n * @param {string} string\n * @return {string}\n */\n\nfunction stripAnsi(string) {\n if (typeof string !== \"string\") {\n throw new TypeError(\"Expected a `string`, got `\".concat(typeof string, \"`\"));\n }\n\n return string.replace(ansiRegex, \"\");\n}\n\nexport default stripAnsi;","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1b37639bb1adb6e49d872e28623395d2.json b/.angular/cache/14.2.11/babel-webpack/1b37639bb1adb6e49d872e28623395d2.json new file mode 100644 index 0000000000..2f24681eb4 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1b37639bb1adb6e49d872e28623395d2.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { isReference, isField, DeepMerger, resultKeyNameFromField, shouldInclude, isNonNullObject, compact, createFragmentMap, getFragmentDefinitions, isArray } from \"../../utilities/index.js\";\nexport var hasOwn = Object.prototype.hasOwnProperty;\nexport function isNullish(value) {\n return value === null || value === void 0;\n}\nexport { isArray };\nexport function defaultDataIdFromObject(_a, context) {\n var __typename = _a.__typename,\n id = _a.id,\n _id = _a._id;\n\n if (typeof __typename === \"string\") {\n if (context) {\n context.keyObject = !isNullish(id) ? {\n id: id\n } : !isNullish(_id) ? {\n _id: _id\n } : void 0;\n }\n\n if (isNullish(id) && !isNullish(_id)) {\n id = _id;\n }\n\n if (!isNullish(id)) {\n return \"\".concat(__typename, \":\").concat(typeof id === \"number\" || typeof id === \"string\" ? id : JSON.stringify(id));\n }\n }\n}\nvar defaultConfig = {\n dataIdFromObject: defaultDataIdFromObject,\n addTypename: true,\n resultCaching: true,\n canonizeResults: false\n};\nexport function normalizeConfig(config) {\n return compact(defaultConfig, config);\n}\nexport function shouldCanonizeResults(config) {\n var value = config.canonizeResults;\n return value === void 0 ? defaultConfig.canonizeResults : value;\n}\nexport function getTypenameFromStoreObject(store, objectOrReference) {\n return isReference(objectOrReference) ? store.get(objectOrReference.__ref, \"__typename\") : objectOrReference && objectOrReference.__typename;\n}\nexport var TypeOrFieldNameRegExp = /^[_a-z][_0-9a-z]*/i;\nexport function fieldNameFromStoreName(storeFieldName) {\n var match = storeFieldName.match(TypeOrFieldNameRegExp);\n return match ? match[0] : storeFieldName;\n}\nexport function selectionSetMatchesResult(selectionSet, result, variables) {\n if (isNonNullObject(result)) {\n return isArray(result) ? result.every(function (item) {\n return selectionSetMatchesResult(selectionSet, item, variables);\n }) : selectionSet.selections.every(function (field) {\n if (isField(field) && shouldInclude(field, variables)) {\n var key = resultKeyNameFromField(field);\n return hasOwn.call(result, key) && (!field.selectionSet || selectionSetMatchesResult(field.selectionSet, result[key], variables));\n }\n\n return true;\n });\n }\n\n return false;\n}\nexport function storeValueIsStoreObject(value) {\n return isNonNullObject(value) && !isReference(value) && !isArray(value);\n}\nexport function makeProcessedFieldsMerger() {\n return new DeepMerger();\n}\nexport function extractFragmentContext(document, fragments) {\n var fragmentMap = createFragmentMap(getFragmentDefinitions(document));\n return {\n fragmentMap: fragmentMap,\n lookupFragment: function (name) {\n var def = fragmentMap[name];\n\n if (!def && fragments) {\n def = fragments.lookup(name);\n }\n\n return def || null;\n }\n };\n} //# sourceMappingURL=helpers.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1c3013904f974950888839894277b2e5.json b/.angular/cache/14.2.11/babel-webpack/1c3013904f974950888839894277b2e5.json new file mode 100644 index 0000000000..eefef4026f --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1c3013904f974950888839894277b2e5.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { __assign } from \"tslib\";\nimport { equal } from \"@wry/equality\";\nimport { DeepMerger } from \"../utilities/index.js\";\nimport { mergeIncrementalData } from \"../utilities/common/incrementalResult.js\";\nimport { reobserveCacheFirst } from \"./ObservableQuery.js\";\nimport { isNonEmptyArray, graphQLResultHasError, canUseWeakMap } from \"../utilities/index.js\";\nimport { NetworkStatus, isNetworkRequestInFlight } from \"./networkStatus.js\";\n;\nvar destructiveMethodCounts = new (canUseWeakMap ? WeakMap : Map)();\n\nfunction wrapDestructiveCacheMethod(cache, methodName) {\n var original = cache[methodName];\n\n if (typeof original === \"function\") {\n cache[methodName] = function () {\n destructiveMethodCounts.set(cache, (destructiveMethodCounts.get(cache) + 1) % 1e15);\n return original.apply(this, arguments);\n };\n }\n}\n\nfunction cancelNotifyTimeout(info) {\n if (info[\"notifyTimeout\"]) {\n clearTimeout(info[\"notifyTimeout\"]);\n info[\"notifyTimeout\"] = void 0;\n }\n}\n\nvar QueryInfo = function () {\n function QueryInfo(queryManager, queryId) {\n if (queryId === void 0) {\n queryId = queryManager.generateQueryId();\n }\n\n this.queryId = queryId;\n this.listeners = new Set();\n this.document = null;\n this.lastRequestId = 1;\n this.subscriptions = new Set();\n this.stopped = false;\n this.dirty = false;\n this.observableQuery = null;\n var cache = this.cache = queryManager.cache;\n\n if (!destructiveMethodCounts.has(cache)) {\n destructiveMethodCounts.set(cache, 0);\n wrapDestructiveCacheMethod(cache, \"evict\");\n wrapDestructiveCacheMethod(cache, \"modify\");\n wrapDestructiveCacheMethod(cache, \"reset\");\n }\n }\n\n QueryInfo.prototype.init = function (query) {\n var networkStatus = query.networkStatus || NetworkStatus.loading;\n\n if (this.variables && this.networkStatus !== NetworkStatus.loading && !equal(this.variables, query.variables)) {\n networkStatus = NetworkStatus.setVariables;\n }\n\n if (!equal(query.variables, this.variables)) {\n this.lastDiff = void 0;\n }\n\n Object.assign(this, {\n document: query.document,\n variables: query.variables,\n networkError: null,\n graphQLErrors: this.graphQLErrors || [],\n networkStatus: networkStatus\n });\n\n if (query.observableQuery) {\n this.setObservableQuery(query.observableQuery);\n }\n\n if (query.lastRequestId) {\n this.lastRequestId = query.lastRequestId;\n }\n\n return this;\n };\n\n QueryInfo.prototype.reset = function () {\n cancelNotifyTimeout(this);\n this.dirty = false;\n };\n\n QueryInfo.prototype.getDiff = function (variables) {\n if (variables === void 0) {\n variables = this.variables;\n }\n\n var options = this.getDiffOptions(variables);\n\n if (this.lastDiff && equal(options, this.lastDiff.options)) {\n return this.lastDiff.diff;\n }\n\n this.updateWatch(this.variables = variables);\n var oq = this.observableQuery;\n\n if (oq && oq.options.fetchPolicy === \"no-cache\") {\n return {\n complete: false\n };\n }\n\n var diff = this.cache.diff(options);\n this.updateLastDiff(diff, options);\n return diff;\n };\n\n QueryInfo.prototype.updateLastDiff = function (diff, options) {\n this.lastDiff = diff ? {\n diff: diff,\n options: options || this.getDiffOptions()\n } : void 0;\n };\n\n QueryInfo.prototype.getDiffOptions = function (variables) {\n var _a;\n\n if (variables === void 0) {\n variables = this.variables;\n }\n\n return {\n query: this.document,\n variables: variables,\n returnPartialData: true,\n optimistic: true,\n canonizeResults: (_a = this.observableQuery) === null || _a === void 0 ? void 0 : _a.options.canonizeResults\n };\n };\n\n QueryInfo.prototype.setDiff = function (diff) {\n var _this = this;\n\n var oldDiff = this.lastDiff && this.lastDiff.diff;\n this.updateLastDiff(diff);\n\n if (!this.dirty && !equal(oldDiff && oldDiff.result, diff && diff.result)) {\n this.dirty = true;\n\n if (!this.notifyTimeout) {\n this.notifyTimeout = setTimeout(function () {\n return _this.notify();\n }, 0);\n }\n }\n };\n\n QueryInfo.prototype.setObservableQuery = function (oq) {\n var _this = this;\n\n if (oq === this.observableQuery) return;\n\n if (this.oqListener) {\n this.listeners.delete(this.oqListener);\n }\n\n this.observableQuery = oq;\n\n if (oq) {\n oq[\"queryInfo\"] = this;\n this.listeners.add(this.oqListener = function () {\n var diff = _this.getDiff();\n\n if (diff.fromOptimisticTransaction) {\n oq[\"observe\"]();\n } else {\n reobserveCacheFirst(oq);\n }\n });\n } else {\n delete this.oqListener;\n }\n };\n\n QueryInfo.prototype.notify = function () {\n var _this = this;\n\n cancelNotifyTimeout(this);\n\n if (this.shouldNotify()) {\n this.listeners.forEach(function (listener) {\n return listener(_this);\n });\n }\n\n this.dirty = false;\n };\n\n QueryInfo.prototype.shouldNotify = function () {\n if (!this.dirty || !this.listeners.size) {\n return false;\n }\n\n if (isNetworkRequestInFlight(this.networkStatus) && this.observableQuery) {\n var fetchPolicy = this.observableQuery.options.fetchPolicy;\n\n if (fetchPolicy !== \"cache-only\" && fetchPolicy !== \"cache-and-network\") {\n return false;\n }\n }\n\n return true;\n };\n\n QueryInfo.prototype.stop = function () {\n if (!this.stopped) {\n this.stopped = true;\n this.reset();\n this.cancel();\n this.cancel = QueryInfo.prototype.cancel;\n this.subscriptions.forEach(function (sub) {\n return sub.unsubscribe();\n });\n var oq = this.observableQuery;\n if (oq) oq.stopPolling();\n }\n };\n\n QueryInfo.prototype.cancel = function () {};\n\n QueryInfo.prototype.updateWatch = function (variables) {\n var _this = this;\n\n if (variables === void 0) {\n variables = this.variables;\n }\n\n var oq = this.observableQuery;\n\n if (oq && oq.options.fetchPolicy === \"no-cache\") {\n return;\n }\n\n var watchOptions = __assign(__assign({}, this.getDiffOptions(variables)), {\n watcher: this,\n callback: function (diff) {\n return _this.setDiff(diff);\n }\n });\n\n if (!this.lastWatch || !equal(watchOptions, this.lastWatch)) {\n this.cancel();\n this.cancel = this.cache.watch(this.lastWatch = watchOptions);\n }\n };\n\n QueryInfo.prototype.resetLastWrite = function () {\n this.lastWrite = void 0;\n };\n\n QueryInfo.prototype.shouldWrite = function (result, variables) {\n var lastWrite = this.lastWrite;\n return !(lastWrite && lastWrite.dmCount === destructiveMethodCounts.get(this.cache) && equal(variables, lastWrite.variables) && equal(result.data, lastWrite.result.data));\n };\n\n QueryInfo.prototype.markResult = function (result, document, options, cacheWriteBehavior) {\n var _this = this;\n\n var merger = new DeepMerger();\n var graphQLErrors = isNonEmptyArray(result.errors) ? result.errors.slice(0) : [];\n this.reset();\n\n if ('incremental' in result && isNonEmptyArray(result.incremental)) {\n var mergedData = mergeIncrementalData(this.getDiff().result, result);\n result.data = mergedData;\n } else if ('hasNext' in result && result.hasNext) {\n var diff = this.getDiff();\n result.data = merger.merge(diff.result, result.data);\n }\n\n this.graphQLErrors = graphQLErrors;\n\n if (options.fetchPolicy === 'no-cache') {\n this.updateLastDiff({\n result: result.data,\n complete: true\n }, this.getDiffOptions(options.variables));\n } else if (cacheWriteBehavior !== 0) {\n if (shouldWriteResult(result, options.errorPolicy)) {\n this.cache.performTransaction(function (cache) {\n if (_this.shouldWrite(result, options.variables)) {\n cache.writeQuery({\n query: document,\n data: result.data,\n variables: options.variables,\n overwrite: cacheWriteBehavior === 1\n });\n _this.lastWrite = {\n result: result,\n variables: options.variables,\n dmCount: destructiveMethodCounts.get(_this.cache)\n };\n } else {\n if (_this.lastDiff && _this.lastDiff.diff.complete) {\n result.data = _this.lastDiff.diff.result;\n return;\n }\n }\n\n var diffOptions = _this.getDiffOptions(options.variables);\n\n var diff = cache.diff(diffOptions);\n\n if (!_this.stopped) {\n _this.updateWatch(options.variables);\n }\n\n _this.updateLastDiff(diff, diffOptions);\n\n if (diff.complete) {\n result.data = diff.result;\n }\n });\n } else {\n this.lastWrite = void 0;\n }\n }\n };\n\n QueryInfo.prototype.markReady = function () {\n this.networkError = null;\n return this.networkStatus = NetworkStatus.ready;\n };\n\n QueryInfo.prototype.markError = function (error) {\n this.networkStatus = NetworkStatus.error;\n this.lastWrite = void 0;\n this.reset();\n\n if (error.graphQLErrors) {\n this.graphQLErrors = error.graphQLErrors;\n }\n\n if (error.networkError) {\n this.networkError = error.networkError;\n }\n\n return error;\n };\n\n return QueryInfo;\n}();\n\nexport { QueryInfo };\nexport function shouldWriteResult(result, errorPolicy) {\n if (errorPolicy === void 0) {\n errorPolicy = \"none\";\n }\n\n var ignoreErrors = errorPolicy === \"ignore\" || errorPolicy === \"all\";\n var writeWithErrors = !graphQLResultHasError(result);\n\n if (!writeWithErrors && ignoreErrors && result.data) {\n writeWithErrors = true;\n }\n\n return writeWithErrors;\n} //# sourceMappingURL=QueryInfo.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1c5180ecbd046bf3328325fcfc28d60e.json b/.angular/cache/14.2.11/babel-webpack/1c5180ecbd046bf3328325fcfc28d60e.json new file mode 100644 index 0000000000..2be0ebf5e5 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1c5180ecbd046bf3328325fcfc28d60e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { Observable } from '../Observable';\nimport { isFunction } from '../util/isFunction';\nexport function throwError(errorOrErrorFactory, scheduler) {\n const errorFactory = isFunction(errorOrErrorFactory) ? errorOrErrorFactory : () => errorOrErrorFactory;\n\n const init = subscriber => subscriber.error(errorFactory());\n\n return new Observable(scheduler ? subscriber => scheduler.schedule(init, 0, subscriber) : init);\n} //# sourceMappingURL=throwError.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1cbaf815e3586add5027a1cef6d69052.json b/.angular/cache/14.2.11/babel-webpack/1cbaf815e3586add5027a1cef6d69052.json new file mode 100644 index 0000000000..220b78078b --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1cbaf815e3586add5027a1cef6d69052.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { scanInternals } from './scanInternals';\nimport { operate } from '../util/lift';\nexport function reduce(accumulator, seed) {\n return operate(scanInternals(accumulator, seed, arguments.length >= 2, false, true));\n} //# sourceMappingURL=reduce.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1d062e6dcc30ddc59a11283381aa03c5.json b/.angular/cache/14.2.11/babel-webpack/1d062e6dcc30ddc59a11283381aa03c5.json new file mode 100644 index 0000000000..e6ca4f6869 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1d062e6dcc30ddc59a11283381aa03c5.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function skipUntil(notifier) {\n return operate((source, subscriber) => {\n let taking = false;\n const skipSubscriber = createOperatorSubscriber(subscriber, () => {\n skipSubscriber === null || skipSubscriber === void 0 ? void 0 : skipSubscriber.unsubscribe();\n taking = true;\n }, noop);\n innerFrom(notifier).subscribe(skipSubscriber);\n source.subscribe(createOperatorSubscriber(subscriber, value => taking && subscriber.next(value)));\n });\n} //# sourceMappingURL=skipUntil.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1d274d6957bfee837b0a9c7e5a98679c.json b/.angular/cache/14.2.11/babel-webpack/1d274d6957bfee837b0a9c7e5a98679c.json new file mode 100644 index 0000000000..c4c166d616 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1d274d6957bfee837b0a9c7e5a98679c.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-content-switcher.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { isFocusInLastItem, isFocusInFirstItem } from 'carbon-components-angular/common';\nimport { Directive, HostBinding, Input, HostListener, Output, EventEmitter, ElementRef, Renderer2, Component, ContentChildren, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\n\nconst _c0 = function (a0, a1, a2, a3) {\n return {\n \"bx--content-switcher--light\": a0,\n \"bx--content-switcher--sm\": a1,\n \"bx--content-switcher--md\": a2,\n \"bx--content-switcher--lg\": a3\n };\n};\n\nconst _c1 = [\"*\"];\nlet ContentSwitcherOption = /*#__PURE__*/(() => {\n class ContentSwitcherOption {\n constructor(renderer, hostElement) {\n this.renderer = renderer;\n this.hostElement = hostElement;\n /**\n * Internal name for the option.\n * Should be something that identifies the option to the application.\n * Accessible from the `ContentSwitcher` `selected` emitter\n */\n\n this.name = \"option\";\n /**\n * Emits when the option is selected.\n */\n\n this.selected = new EventEmitter();\n this.onClick = new EventEmitter();\n this.onFocus = new EventEmitter();\n this.switcherClass = \"bx--content-switcher-btn\";\n this.selectedClass = false;\n this.role = \"tab\";\n this.ariaSelected = false;\n this.tabindex = \"-1\";\n this._active = false;\n }\n /**\n * Used to activate the option. Only one option may be `active` at a time\n */\n\n\n set active(value) {\n this._active = value;\n this.selectedClass = value;\n this.ariaSelected = value;\n this.tabindex = value ? \"0\" : \"-1\";\n }\n\n get active() {\n return this._active;\n }\n\n hostClick(event) {\n this.onClick.emit(event); // skip setting and emitting if the option is already active\n\n if (this.active) {\n return;\n }\n\n this.active = true;\n this.selected.emit(true);\n }\n\n doFocus(event) {\n this.onFocus.emit(event); // skip setting and emitting if the option is already active\n\n if (this.active) {\n return;\n }\n\n this.active = true;\n this.selected.emit(true);\n }\n /*\n * encapsulating the content in a span with bx--content-switcher__label class\n * to mimic what is done in the react version\n */\n\n\n ngOnInit() {\n const hostNativeElement = this.hostElement.nativeElement;\n const spanWrapper = this.renderer.createElement(\"span\");\n this.renderer.addClass(spanWrapper, \"bx--content-switcher__label\");\n const hostChildren = [];\n hostNativeElement.childNodes.forEach(node => hostChildren.push(node));\n hostChildren.forEach(node => {\n this.renderer.removeChild(hostNativeElement, node);\n this.renderer.appendChild(spanWrapper, node);\n });\n this.renderer.appendChild(hostNativeElement, spanWrapper);\n }\n\n }\n\n ContentSwitcherOption.ɵfac = function ContentSwitcherOption_Factory(t) {\n return new (t || ContentSwitcherOption)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.Renderer2), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef));\n };\n\n ContentSwitcherOption.ɵdir = /*@__PURE__*/ɵngcc0.ɵɵdefineDirective({\n type: ContentSwitcherOption,\n selectors: [[\"\", \"ibmContentOption\", \"\"]],\n hostVars: 7,\n hostBindings: function ContentSwitcherOption_HostBindings(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵlistener(\"click\", function ContentSwitcherOption_click_HostBindingHandler($event) {\n return ctx.hostClick($event);\n })(\"focus\", function ContentSwitcherOption_focus_HostBindingHandler($event) {\n return ctx.doFocus($event);\n });\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵattribute(\"role\", ctx.role)(\"aria-selected\", ctx.ariaSelected)(\"tabIndex\", ctx.tabindex);\n ɵngcc0.ɵɵclassMap(ctx.switcherClass);\n ɵngcc0.ɵɵclassProp(\"bx--content-switcher--selected\", ctx.selectedClass);\n }\n },\n inputs: {\n name: \"name\",\n active: \"active\"\n },\n outputs: {\n selected: \"selected\",\n onClick: \"onClick\",\n onFocus: \"onFocus\"\n }\n });\n /** @nocollapse */\n\n return ContentSwitcherOption;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * The content switcher can be used for toggling between distinct options.\n * Similar to tabs, but without an associated content panel\n *\n * [See demo](../../?path=/story/components-content-switcher--basic)\n *\n * ```html\n * \n *\t\t\n *\t\t\n *\t\t\n *\t\n *\t```\n *\n * ../../iframe.html?id=components-content-switcher--basic\n */\n\n\nlet ContentSwitcher = /*#__PURE__*/(() => {\n class ContentSwitcher {\n constructor(elementRef) {\n this.elementRef = elementRef;\n this.ariaLabel = \"content switcher\";\n /**\n * `light` or `dark` content switcher theme\n */\n\n this.theme = \"dark\";\n /**\n * Set content switcher size\n */\n\n this.size = \"md\";\n /**\n * Emits the activated `ContentSwitcherOption`\n */\n\n this.selected = new EventEmitter();\n }\n\n ngAfterViewInit() {\n const firstActive = this.options.find(option => option.active); // delay setting active until the DOM has settled\n\n if (!firstActive) {\n setTimeout(() => this.options.first.active = true);\n } // subscribe to each item, emit when one is selected, and reset the active states\n\n\n this.options.forEach(option => {\n option.selected.subscribe(_ => {\n const active = option;\n this.options.forEach(option => {\n if (option !== active) {\n option.active = false;\n }\n });\n this.selected.emit(active);\n });\n });\n }\n\n hostkeys(event) {\n const buttonList = Array.from(this.elementRef.nativeElement.querySelectorAll(\"[ibmContentOption]\"));\n\n switch (event.key) {\n case \"Right\": // IE specific value\n\n case \"ArrowRight\":\n event.preventDefault();\n\n if (!isFocusInLastItem(event, buttonList)) {\n const index = buttonList.findIndex(item => item === event.target);\n buttonList[index + 1].focus();\n } else {\n buttonList[0].focus();\n }\n\n break;\n\n case \"Left\": // IE specific value\n\n case \"ArrowLeft\":\n event.preventDefault();\n\n if (!isFocusInFirstItem(event, buttonList)) {\n const index = buttonList.findIndex(item => item === event.target);\n buttonList[index - 1].focus();\n } else {\n buttonList[buttonList.length - 1].focus();\n }\n\n break;\n\n case \"Home\":\n event.preventDefault();\n buttonList[0].focus();\n break;\n\n case \"End\":\n event.preventDefault();\n buttonList[buttonList.length - 1].focus();\n break;\n }\n }\n\n }\n\n ContentSwitcher.ɵfac = function ContentSwitcher_Factory(t) {\n return new (t || ContentSwitcher)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef));\n };\n\n ContentSwitcher.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: ContentSwitcher,\n selectors: [[\"ibm-content-switcher\"]],\n contentQueries: function ContentSwitcher_ContentQueries(rf, ctx, dirIndex) {\n if (rf & 1) {\n ɵngcc0.ɵɵcontentQuery(dirIndex, ContentSwitcherOption, 4);\n }\n\n if (rf & 2) {\n let _t;\n\n ɵngcc0.ɵɵqueryRefresh(_t = ɵngcc0.ɵɵloadQuery()) && (ctx.options = _t);\n }\n },\n hostBindings: function ContentSwitcher_HostBindings(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵlistener(\"keydown\", function ContentSwitcher_keydown_HostBindingHandler($event) {\n return ctx.hostkeys($event);\n });\n }\n },\n inputs: {\n ariaLabel: \"ariaLabel\",\n theme: \"theme\",\n size: \"size\"\n },\n outputs: {\n selected: \"selected\"\n },\n ngContentSelectors: _c1,\n decls: 2,\n vars: 7,\n consts: [[\"role\", \"tablist\", 1, \"bx--content-switcher\", 3, \"ngClass\"]],\n template: function ContentSwitcher_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵprojectionDef();\n ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n ɵngcc0.ɵɵprojection(1);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction4(2, _c0, ctx.theme === \"light\", ctx.size === \"sm\", ctx.size === \"md\", ctx.size === \"lg\"));\n ɵngcc0.ɵɵattribute(\"aria-label\", ctx.ariaLabel);\n }\n },\n dependencies: [ɵngcc1.NgClass],\n encapsulation: 2\n });\n /** @nocollapse */\n\n return ContentSwitcher;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet ContentSwitcherModule = /*#__PURE__*/(() => {\n class ContentSwitcherModule {}\n\n ContentSwitcherModule.ɵfac = function ContentSwitcherModule_Factory(t) {\n return new (t || ContentSwitcherModule)();\n };\n\n ContentSwitcherModule.ɵmod = /*@__PURE__*/ɵngcc0.ɵɵdefineNgModule({\n type: ContentSwitcherModule\n });\n ContentSwitcherModule.ɵinj = /*@__PURE__*/ɵngcc0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n return ContentSwitcherModule;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(ContentSwitcherModule, {\n declarations: function () {\n return [ContentSwitcher, ContentSwitcherOption];\n },\n imports: function () {\n return [CommonModule];\n },\n exports: function () {\n return [ContentSwitcher, ContentSwitcherOption];\n }\n });\n})();\n/**\n * Generated bundle index. Do not edit.\n */\n\n\nexport { ContentSwitcher, ContentSwitcherOption, ContentSwitcherModule }; //# sourceMappingURL=carbon-components-angular-content-switcher.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1df3ec7c522936a5b8884ba6541b6c6a.json b/.angular/cache/14.2.11/babel-webpack/1df3ec7c522936a5b8884ba6541b6c6a.json new file mode 100644 index 0000000000..03fb902cf7 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1df3ec7c522936a5b8884ba6541b6c6a.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-skeleton.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, Input, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/common';\n\nfunction SkeletonText_p_0_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelement(0, \"p\", 1);\n }\n\n if (rf & 2) {\n const width_r1 = ctx.$implicit;\n ɵngcc0.ɵɵstyleProp(\"width\", width_r1);\n }\n}\n\nlet SkeletonPlaceholder = /*#__PURE__*/(() => {\n class SkeletonPlaceholder {}\n\n SkeletonPlaceholder.ɵfac = function SkeletonPlaceholder_Factory(t) {\n return new (t || SkeletonPlaceholder)();\n };\n\n SkeletonPlaceholder.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: SkeletonPlaceholder,\n selectors: [[\"ibm-skeleton-placeholder\"]],\n decls: 1,\n vars: 0,\n consts: [[1, \"bx--skeleton__placeholder\"]],\n template: function SkeletonPlaceholder_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelement(0, \"div\", 0);\n }\n },\n encapsulation: 2\n });\n return SkeletonPlaceholder;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet SkeletonText = /*#__PURE__*/(() => {\n class SkeletonText {\n constructor() {\n this.lines = 5;\n this.minLineWidth = 100;\n this.maxLineWidth = 300;\n }\n /**\n * Returns a random width in pixels based off a min width, and a max width.\n */\n\n\n getRandomInt(min, max) {\n return `${Math.floor(Math.random() * (max - min + 1) + min) + \"px\"}`;\n }\n\n ngOnChanges() {\n // Creates an array of length defined by input lines with content from\n // 0 to lines - 1, maps each value to a random width in pixels.\n this.lineWidths = Array.from(Array(this.lines).keys()).map(num => this.getRandomInt(this.minLineWidth, this.maxLineWidth));\n }\n\n }\n\n SkeletonText.ɵfac = function SkeletonText_Factory(t) {\n return new (t || SkeletonText)();\n };\n\n SkeletonText.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: SkeletonText,\n selectors: [[\"ibm-skeleton-text\"]],\n inputs: {\n lines: \"lines\",\n minLineWidth: \"minLineWidth\",\n maxLineWidth: \"maxLineWidth\"\n },\n features: [ɵngcc0.ɵɵNgOnChangesFeature],\n decls: 1,\n vars: 1,\n consts: [[\"class\", \"bx--skeleton__text\", 3, \"width\", 4, \"ngFor\", \"ngForOf\"], [1, \"bx--skeleton__text\"]],\n template: function SkeletonText_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵtemplate(0, SkeletonText_p_0_Template, 1, 2, \"p\", 0);\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngForOf\", ctx.lineWidths);\n }\n },\n dependencies: [ɵngcc1.NgForOf],\n encapsulation: 2\n });\n return SkeletonText;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet SkeletonModule = /*#__PURE__*/(() => {\n class SkeletonModule {}\n\n SkeletonModule.ɵfac = function SkeletonModule_Factory(t) {\n return new (t || SkeletonModule)();\n };\n\n SkeletonModule.ɵmod = /*@__PURE__*/ɵngcc0.ɵɵdefineNgModule({\n type: SkeletonModule\n });\n SkeletonModule.ɵinj = /*@__PURE__*/ɵngcc0.ɵɵdefineInjector({\n imports: [CommonModule]\n });\n return SkeletonModule;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(SkeletonModule, {\n declarations: function () {\n return [SkeletonPlaceholder, SkeletonText];\n },\n imports: function () {\n return [CommonModule];\n },\n exports: function () {\n return [SkeletonPlaceholder, SkeletonText];\n }\n });\n})();\n/**\n * Generated bundle index. Do not edit.\n */\n\n\nexport { SkeletonPlaceholder, SkeletonText, SkeletonModule }; //# sourceMappingURL=carbon-components-angular-skeleton.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1df7b6259d209841a415979ccb2e80f6.json b/.angular/cache/14.2.11/babel-webpack/1df7b6259d209841a415979ccb2e80f6.json new file mode 100644 index 0000000000..2f9af612bd --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1df7b6259d209841a415979ccb2e80f6.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { isFunction } from '../util/isFunction';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { identity } from '../util/identity';\nexport function tap(observerOrNext, error, complete) {\n const tapObserver = isFunction(observerOrNext) || error || complete ? {\n next: observerOrNext,\n error,\n complete\n } : observerOrNext;\n return tapObserver ? operate((source, subscriber) => {\n var _a;\n\n (_a = tapObserver.subscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n let isUnsub = true;\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n var _a;\n\n (_a = tapObserver.next) === null || _a === void 0 ? void 0 : _a.call(tapObserver, value);\n subscriber.next(value);\n }, () => {\n var _a;\n\n isUnsub = false;\n (_a = tapObserver.complete) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n subscriber.complete();\n }, err => {\n var _a;\n\n isUnsub = false;\n (_a = tapObserver.error) === null || _a === void 0 ? void 0 : _a.call(tapObserver, err);\n subscriber.error(err);\n }, () => {\n var _a, _b;\n\n if (isUnsub) {\n (_a = tapObserver.unsubscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n }\n\n (_b = tapObserver.finalize) === null || _b === void 0 ? void 0 : _b.call(tapObserver);\n }));\n }) : identity;\n} //# sourceMappingURL=tap.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1e04ac7c90a53ccaebbc52a2477f77d3.json b/.angular/cache/14.2.11/babel-webpack/1e04ac7c90a53ccaebbc52a2477f77d3.json new file mode 100644 index 0000000000..e9abccc0c5 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1e04ac7c90a53ccaebbc52a2477f77d3.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GraphQLError } from '../../error/GraphQLError.mjs';\nimport { isEnumType } from '../../type/definition.mjs';\n/**\n * Unique enum value names\n *\n * A GraphQL enum type is only valid if all its values are uniquely named.\n */\n\nexport function UniqueEnumValueNamesRule(context) {\n const schema = context.getSchema();\n const existingTypeMap = schema ? schema.getTypeMap() : Object.create(null);\n const knownValueNames = Object.create(null);\n return {\n EnumTypeDefinition: checkValueUniqueness,\n EnumTypeExtension: checkValueUniqueness\n };\n\n function checkValueUniqueness(node) {\n var _node$values;\n\n const typeName = node.name.value;\n\n if (!knownValueNames[typeName]) {\n knownValueNames[typeName] = Object.create(null);\n } // FIXME: https://github.com/graphql/graphql-js/issues/2203\n\n /* c8 ignore next */\n\n\n const valueNodes = (_node$values = node.values) !== null && _node$values !== void 0 ? _node$values : [];\n const valueNames = knownValueNames[typeName];\n\n for (const valueDef of valueNodes) {\n const valueName = valueDef.name.value;\n const existingType = existingTypeMap[typeName];\n\n if (isEnumType(existingType) && existingType.getValue(valueName)) {\n context.reportError(new GraphQLError(`Enum value \"${typeName}.${valueName}\" already exists in the schema. It cannot also be defined in this type extension.`, {\n nodes: valueDef.name\n }));\n } else if (valueNames[valueName]) {\n context.reportError(new GraphQLError(`Enum value \"${typeName}.${valueName}\" can only be defined once.`, {\n nodes: [valueNames[valueName], valueDef.name]\n }));\n } else {\n valueNames[valueName] = valueDef.name;\n }\n }\n\n return false;\n }\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1e4238f64f2c6e4d48e56d8cb6e5dc61.json b/.angular/cache/14.2.11/babel-webpack/1e4238f64f2c6e4d48e56d8cb6e5dc61.json new file mode 100644 index 0000000000..a4a104857f --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1e4238f64f2c6e4d48e56d8cb6e5dc61.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { inspect } from '../jsutils/inspect.mjs';\nimport { GraphQLError } from '../error/GraphQLError.mjs';\nimport { OperationTypeNode } from '../language/ast.mjs';\nimport { isEqualType, isTypeSubTypeOf } from '../utilities/typeComparators.mjs';\nimport { isEnumType, isInputObjectType, isInputType, isInterfaceType, isNamedType, isNonNullType, isObjectType, isOutputType, isRequiredArgument, isRequiredInputField, isUnionType } from './definition.mjs';\nimport { GraphQLDeprecatedDirective, isDirective } from './directives.mjs';\nimport { isIntrospectionType } from './introspection.mjs';\nimport { assertSchema } from './schema.mjs';\n/**\n * Implements the \"Type Validation\" sub-sections of the specification's\n * \"Type System\" section.\n *\n * Validation runs synchronously, returning an array of encountered errors, or\n * an empty array if no errors were encountered and the Schema is valid.\n */\n\nexport function validateSchema(schema) {\n // First check to ensure the provided value is in fact a GraphQLSchema.\n assertSchema(schema); // If this Schema has already been validated, return the previous results.\n\n if (schema.__validationErrors) {\n return schema.__validationErrors;\n } // Validate the schema, producing a list of errors.\n\n\n const context = new SchemaValidationContext(schema);\n validateRootTypes(context);\n validateDirectives(context);\n validateTypes(context); // Persist the results of validation before returning to ensure validation\n // does not run multiple times for this schema.\n\n const errors = context.getErrors();\n schema.__validationErrors = errors;\n return errors;\n}\n/**\n * Utility function which asserts a schema is valid by throwing an error if\n * it is invalid.\n */\n\nexport function assertValidSchema(schema) {\n const errors = validateSchema(schema);\n\n if (errors.length !== 0) {\n throw new Error(errors.map(error => error.message).join('\\n\\n'));\n }\n}\n\nclass SchemaValidationContext {\n constructor(schema) {\n this._errors = [];\n this.schema = schema;\n }\n\n reportError(message, nodes) {\n const _nodes = Array.isArray(nodes) ? nodes.filter(Boolean) : nodes;\n\n this._errors.push(new GraphQLError(message, {\n nodes: _nodes\n }));\n }\n\n getErrors() {\n return this._errors;\n }\n\n}\n\nfunction validateRootTypes(context) {\n const schema = context.schema;\n const queryType = schema.getQueryType();\n\n if (!queryType) {\n context.reportError('Query root type must be provided.', schema.astNode);\n } else if (!isObjectType(queryType)) {\n var _getOperationTypeNode;\n\n context.reportError(`Query root type must be Object type, it cannot be ${inspect(queryType)}.`, (_getOperationTypeNode = getOperationTypeNode(schema, OperationTypeNode.QUERY)) !== null && _getOperationTypeNode !== void 0 ? _getOperationTypeNode : queryType.astNode);\n }\n\n const mutationType = schema.getMutationType();\n\n if (mutationType && !isObjectType(mutationType)) {\n var _getOperationTypeNode2;\n\n context.reportError('Mutation root type must be Object type if provided, it cannot be ' + `${inspect(mutationType)}.`, (_getOperationTypeNode2 = getOperationTypeNode(schema, OperationTypeNode.MUTATION)) !== null && _getOperationTypeNode2 !== void 0 ? _getOperationTypeNode2 : mutationType.astNode);\n }\n\n const subscriptionType = schema.getSubscriptionType();\n\n if (subscriptionType && !isObjectType(subscriptionType)) {\n var _getOperationTypeNode3;\n\n context.reportError('Subscription root type must be Object type if provided, it cannot be ' + `${inspect(subscriptionType)}.`, (_getOperationTypeNode3 = getOperationTypeNode(schema, OperationTypeNode.SUBSCRIPTION)) !== null && _getOperationTypeNode3 !== void 0 ? _getOperationTypeNode3 : subscriptionType.astNode);\n }\n}\n\nfunction getOperationTypeNode(schema, operation) {\n var _flatMap$find;\n\n return (_flatMap$find = [schema.astNode, ...schema.extensionASTNodes].flatMap( // FIXME: https://github.com/graphql/graphql-js/issues/2203\n schemaNode => {\n var _schemaNode$operation;\n\n return (\n /* c8 ignore next */\n (_schemaNode$operation = schemaNode === null || schemaNode === void 0 ? void 0 : schemaNode.operationTypes) !== null && _schemaNode$operation !== void 0 ? _schemaNode$operation : []\n );\n }).find(operationNode => operationNode.operation === operation)) === null || _flatMap$find === void 0 ? void 0 : _flatMap$find.type;\n}\n\nfunction validateDirectives(context) {\n for (const directive of context.schema.getDirectives()) {\n // Ensure all directives are in fact GraphQL directives.\n if (!isDirective(directive)) {\n context.reportError(`Expected directive but got: ${inspect(directive)}.`, directive === null || directive === void 0 ? void 0 : directive.astNode);\n continue;\n } // Ensure they are named correctly.\n\n\n validateName(context, directive); // TODO: Ensure proper locations.\n // Ensure the arguments are valid.\n\n for (const arg of directive.args) {\n // Ensure they are named correctly.\n validateName(context, arg); // Ensure the type is an input type.\n\n if (!isInputType(arg.type)) {\n context.reportError(`The type of @${directive.name}(${arg.name}:) must be Input Type ` + `but got: ${inspect(arg.type)}.`, arg.astNode);\n }\n\n if (isRequiredArgument(arg) && arg.deprecationReason != null) {\n var _arg$astNode;\n\n context.reportError(`Required argument @${directive.name}(${arg.name}:) cannot be deprecated.`, [getDeprecatedDirectiveNode(arg.astNode), (_arg$astNode = arg.astNode) === null || _arg$astNode === void 0 ? void 0 : _arg$astNode.type]);\n }\n }\n }\n}\n\nfunction validateName(context, node) {\n // Ensure names are valid, however introspection types opt out.\n if (node.name.startsWith('__')) {\n context.reportError(`Name \"${node.name}\" must not begin with \"__\", which is reserved by GraphQL introspection.`, node.astNode);\n }\n}\n\nfunction validateTypes(context) {\n const validateInputObjectCircularRefs = createInputObjectCircularRefsValidator(context);\n const typeMap = context.schema.getTypeMap();\n\n for (const type of Object.values(typeMap)) {\n // Ensure all provided types are in fact GraphQL type.\n if (!isNamedType(type)) {\n context.reportError(`Expected GraphQL named type but got: ${inspect(type)}.`, type.astNode);\n continue;\n } // Ensure it is named correctly (excluding introspection types).\n\n\n if (!isIntrospectionType(type)) {\n validateName(context, type);\n }\n\n if (isObjectType(type)) {\n // Ensure fields are valid\n validateFields(context, type); // Ensure objects implement the interfaces they claim to.\n\n validateInterfaces(context, type);\n } else if (isInterfaceType(type)) {\n // Ensure fields are valid.\n validateFields(context, type); // Ensure interfaces implement the interfaces they claim to.\n\n validateInterfaces(context, type);\n } else if (isUnionType(type)) {\n // Ensure Unions include valid member types.\n validateUnionMembers(context, type);\n } else if (isEnumType(type)) {\n // Ensure Enums have valid values.\n validateEnumValues(context, type);\n } else if (isInputObjectType(type)) {\n // Ensure Input Object fields are valid.\n validateInputFields(context, type); // Ensure Input Objects do not contain non-nullable circular references\n\n validateInputObjectCircularRefs(type);\n }\n }\n}\n\nfunction validateFields(context, type) {\n const fields = Object.values(type.getFields()); // Objects and Interfaces both must define one or more fields.\n\n if (fields.length === 0) {\n context.reportError(`Type ${type.name} must define one or more fields.`, [type.astNode, ...type.extensionASTNodes]);\n }\n\n for (const field of fields) {\n // Ensure they are named correctly.\n validateName(context, field); // Ensure the type is an output type\n\n if (!isOutputType(field.type)) {\n var _field$astNode;\n\n context.reportError(`The type of ${type.name}.${field.name} must be Output Type ` + `but got: ${inspect(field.type)}.`, (_field$astNode = field.astNode) === null || _field$astNode === void 0 ? void 0 : _field$astNode.type);\n } // Ensure the arguments are valid\n\n\n for (const arg of field.args) {\n const argName = arg.name; // Ensure they are named correctly.\n\n validateName(context, arg); // Ensure the type is an input type\n\n if (!isInputType(arg.type)) {\n var _arg$astNode2;\n\n context.reportError(`The type of ${type.name}.${field.name}(${argName}:) must be Input ` + `Type but got: ${inspect(arg.type)}.`, (_arg$astNode2 = arg.astNode) === null || _arg$astNode2 === void 0 ? void 0 : _arg$astNode2.type);\n }\n\n if (isRequiredArgument(arg) && arg.deprecationReason != null) {\n var _arg$astNode3;\n\n context.reportError(`Required argument ${type.name}.${field.name}(${argName}:) cannot be deprecated.`, [getDeprecatedDirectiveNode(arg.astNode), (_arg$astNode3 = arg.astNode) === null || _arg$astNode3 === void 0 ? void 0 : _arg$astNode3.type]);\n }\n }\n }\n}\n\nfunction validateInterfaces(context, type) {\n const ifaceTypeNames = Object.create(null);\n\n for (const iface of type.getInterfaces()) {\n if (!isInterfaceType(iface)) {\n context.reportError(`Type ${inspect(type)} must only implement Interface types, ` + `it cannot implement ${inspect(iface)}.`, getAllImplementsInterfaceNodes(type, iface));\n continue;\n }\n\n if (type === iface) {\n context.reportError(`Type ${type.name} cannot implement itself because it would create a circular reference.`, getAllImplementsInterfaceNodes(type, iface));\n continue;\n }\n\n if (ifaceTypeNames[iface.name]) {\n context.reportError(`Type ${type.name} can only implement ${iface.name} once.`, getAllImplementsInterfaceNodes(type, iface));\n continue;\n }\n\n ifaceTypeNames[iface.name] = true;\n validateTypeImplementsAncestors(context, type, iface);\n validateTypeImplementsInterface(context, type, iface);\n }\n}\n\nfunction validateTypeImplementsInterface(context, type, iface) {\n const typeFieldMap = type.getFields(); // Assert each interface field is implemented.\n\n for (const ifaceField of Object.values(iface.getFields())) {\n const fieldName = ifaceField.name;\n const typeField = typeFieldMap[fieldName]; // Assert interface field exists on type.\n\n if (!typeField) {\n context.reportError(`Interface field ${iface.name}.${fieldName} expected but ${type.name} does not provide it.`, [ifaceField.astNode, type.astNode, ...type.extensionASTNodes]);\n continue;\n } // Assert interface field type is satisfied by type field type, by being\n // a valid subtype. (covariant)\n\n\n if (!isTypeSubTypeOf(context.schema, typeField.type, ifaceField.type)) {\n var _ifaceField$astNode, _typeField$astNode;\n\n context.reportError(`Interface field ${iface.name}.${fieldName} expects type ` + `${inspect(ifaceField.type)} but ${type.name}.${fieldName} ` + `is type ${inspect(typeField.type)}.`, [(_ifaceField$astNode = ifaceField.astNode) === null || _ifaceField$astNode === void 0 ? void 0 : _ifaceField$astNode.type, (_typeField$astNode = typeField.astNode) === null || _typeField$astNode === void 0 ? void 0 : _typeField$astNode.type]);\n } // Assert each interface field arg is implemented.\n\n\n for (const ifaceArg of ifaceField.args) {\n const argName = ifaceArg.name;\n const typeArg = typeField.args.find(arg => arg.name === argName); // Assert interface field arg exists on object field.\n\n if (!typeArg) {\n context.reportError(`Interface field argument ${iface.name}.${fieldName}(${argName}:) expected but ${type.name}.${fieldName} does not provide it.`, [ifaceArg.astNode, typeField.astNode]);\n continue;\n } // Assert interface field arg type matches object field arg type.\n // (invariant)\n // TODO: change to contravariant?\n\n\n if (!isEqualType(ifaceArg.type, typeArg.type)) {\n var _ifaceArg$astNode, _typeArg$astNode;\n\n context.reportError(`Interface field argument ${iface.name}.${fieldName}(${argName}:) ` + `expects type ${inspect(ifaceArg.type)} but ` + `${type.name}.${fieldName}(${argName}:) is type ` + `${inspect(typeArg.type)}.`, [(_ifaceArg$astNode = ifaceArg.astNode) === null || _ifaceArg$astNode === void 0 ? void 0 : _ifaceArg$astNode.type, (_typeArg$astNode = typeArg.astNode) === null || _typeArg$astNode === void 0 ? void 0 : _typeArg$astNode.type]);\n } // TODO: validate default values?\n\n } // Assert additional arguments must not be required.\n\n\n for (const typeArg of typeField.args) {\n const argName = typeArg.name;\n const ifaceArg = ifaceField.args.find(arg => arg.name === argName);\n\n if (!ifaceArg && isRequiredArgument(typeArg)) {\n context.reportError(`Object field ${type.name}.${fieldName} includes required argument ${argName} that is missing from the Interface field ${iface.name}.${fieldName}.`, [typeArg.astNode, ifaceField.astNode]);\n }\n }\n }\n}\n\nfunction validateTypeImplementsAncestors(context, type, iface) {\n const ifaceInterfaces = type.getInterfaces();\n\n for (const transitive of iface.getInterfaces()) {\n if (!ifaceInterfaces.includes(transitive)) {\n context.reportError(transitive === type ? `Type ${type.name} cannot implement ${iface.name} because it would create a circular reference.` : `Type ${type.name} must implement ${transitive.name} because it is implemented by ${iface.name}.`, [...getAllImplementsInterfaceNodes(iface, transitive), ...getAllImplementsInterfaceNodes(type, iface)]);\n }\n }\n}\n\nfunction validateUnionMembers(context, union) {\n const memberTypes = union.getTypes();\n\n if (memberTypes.length === 0) {\n context.reportError(`Union type ${union.name} must define one or more member types.`, [union.astNode, ...union.extensionASTNodes]);\n }\n\n const includedTypeNames = Object.create(null);\n\n for (const memberType of memberTypes) {\n if (includedTypeNames[memberType.name]) {\n context.reportError(`Union type ${union.name} can only include type ${memberType.name} once.`, getUnionMemberTypeNodes(union, memberType.name));\n continue;\n }\n\n includedTypeNames[memberType.name] = true;\n\n if (!isObjectType(memberType)) {\n context.reportError(`Union type ${union.name} can only include Object types, ` + `it cannot include ${inspect(memberType)}.`, getUnionMemberTypeNodes(union, String(memberType)));\n }\n }\n}\n\nfunction validateEnumValues(context, enumType) {\n const enumValues = enumType.getValues();\n\n if (enumValues.length === 0) {\n context.reportError(`Enum type ${enumType.name} must define one or more values.`, [enumType.astNode, ...enumType.extensionASTNodes]);\n }\n\n for (const enumValue of enumValues) {\n // Ensure valid name.\n validateName(context, enumValue);\n }\n}\n\nfunction validateInputFields(context, inputObj) {\n const fields = Object.values(inputObj.getFields());\n\n if (fields.length === 0) {\n context.reportError(`Input Object type ${inputObj.name} must define one or more fields.`, [inputObj.astNode, ...inputObj.extensionASTNodes]);\n } // Ensure the arguments are valid\n\n\n for (const field of fields) {\n // Ensure they are named correctly.\n validateName(context, field); // Ensure the type is an input type\n\n if (!isInputType(field.type)) {\n var _field$astNode2;\n\n context.reportError(`The type of ${inputObj.name}.${field.name} must be Input Type ` + `but got: ${inspect(field.type)}.`, (_field$astNode2 = field.astNode) === null || _field$astNode2 === void 0 ? void 0 : _field$astNode2.type);\n }\n\n if (isRequiredInputField(field) && field.deprecationReason != null) {\n var _field$astNode3;\n\n context.reportError(`Required input field ${inputObj.name}.${field.name} cannot be deprecated.`, [getDeprecatedDirectiveNode(field.astNode), (_field$astNode3 = field.astNode) === null || _field$astNode3 === void 0 ? void 0 : _field$astNode3.type]);\n }\n }\n}\n\nfunction createInputObjectCircularRefsValidator(context) {\n // Modified copy of algorithm from 'src/validation/rules/NoFragmentCycles.js'.\n // Tracks already visited types to maintain O(N) and to ensure that cycles\n // are not redundantly reported.\n const visitedTypes = Object.create(null); // Array of types nodes used to produce meaningful errors\n\n const fieldPath = []; // Position in the type path\n\n const fieldPathIndexByTypeName = Object.create(null);\n return detectCycleRecursive; // This does a straight-forward DFS to find cycles.\n // It does not terminate when a cycle was found but continues to explore\n // the graph to find all possible cycles.\n\n function detectCycleRecursive(inputObj) {\n if (visitedTypes[inputObj.name]) {\n return;\n }\n\n visitedTypes[inputObj.name] = true;\n fieldPathIndexByTypeName[inputObj.name] = fieldPath.length;\n const fields = Object.values(inputObj.getFields());\n\n for (const field of fields) {\n if (isNonNullType(field.type) && isInputObjectType(field.type.ofType)) {\n const fieldType = field.type.ofType;\n const cycleIndex = fieldPathIndexByTypeName[fieldType.name];\n fieldPath.push(field);\n\n if (cycleIndex === undefined) {\n detectCycleRecursive(fieldType);\n } else {\n const cyclePath = fieldPath.slice(cycleIndex);\n const pathStr = cyclePath.map(fieldObj => fieldObj.name).join('.');\n context.reportError(`Cannot reference Input Object \"${fieldType.name}\" within itself through a series of non-null fields: \"${pathStr}\".`, cyclePath.map(fieldObj => fieldObj.astNode));\n }\n\n fieldPath.pop();\n }\n }\n\n fieldPathIndexByTypeName[inputObj.name] = undefined;\n }\n}\n\nfunction getAllImplementsInterfaceNodes(type, iface) {\n const {\n astNode,\n extensionASTNodes\n } = type;\n const nodes = astNode != null ? [astNode, ...extensionASTNodes] : extensionASTNodes; // FIXME: https://github.com/graphql/graphql-js/issues/2203\n\n return nodes.flatMap(typeNode => {\n var _typeNode$interfaces;\n\n return (\n /* c8 ignore next */\n (_typeNode$interfaces = typeNode.interfaces) !== null && _typeNode$interfaces !== void 0 ? _typeNode$interfaces : []\n );\n }).filter(ifaceNode => ifaceNode.name.value === iface.name);\n}\n\nfunction getUnionMemberTypeNodes(union, typeName) {\n const {\n astNode,\n extensionASTNodes\n } = union;\n const nodes = astNode != null ? [astNode, ...extensionASTNodes] : extensionASTNodes; // FIXME: https://github.com/graphql/graphql-js/issues/2203\n\n return nodes.flatMap(unionNode => {\n var _unionNode$types;\n\n return (\n /* c8 ignore next */\n (_unionNode$types = unionNode.types) !== null && _unionNode$types !== void 0 ? _unionNode$types : []\n );\n }).filter(typeNode => typeNode.name.value === typeName);\n}\n\nfunction getDeprecatedDirectiveNode(definitionNode) {\n var _definitionNode$direc;\n\n return definitionNode === null || definitionNode === void 0 ? void 0 : (_definitionNode$direc = definitionNode.directives) === null || _definitionNode$direc === void 0 ? void 0 : _definitionNode$direc.find(node => node.name.value === GraphQLDeprecatedDirective.name);\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1ec770c873c0be6c9c1ecb44404a9323.json b/.angular/cache/14.2.11/babel-webpack/1ec770c873c0be6c9c1ecb44404a9323.json new file mode 100644 index 0000000000..736ae47d51 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1ec770c873c0be6c9c1ecb44404a9323.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { createErrorClass } from './createErrorClass';\nexport const ArgumentOutOfRangeError = createErrorClass(_super => function ArgumentOutOfRangeErrorImpl() {\n _super(this);\n\n this.name = 'ArgumentOutOfRangeError';\n this.message = 'argument out of range';\n}); //# sourceMappingURL=ArgumentOutOfRangeError.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1f66d8f4a988681f71971c80020e3de9.json b/.angular/cache/14.2.11/babel-webpack/1f66d8f4a988681f71971c80020e3de9.json new file mode 100644 index 0000000000..8c1286ce99 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1f66d8f4a988681f71971c80020e3de9.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { mergeMap } from './mergeMap';\nexport const flatMap = mergeMap; //# sourceMappingURL=flatMap.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1ff1e774ecf1aadc132ffeb37beb1ef8.json b/.angular/cache/14.2.11/babel-webpack/1ff1e774ecf1aadc132ffeb37beb1ef8.json new file mode 100644 index 0000000000..5bf9a7a5c8 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1ff1e774ecf1aadc132ffeb37beb1ef8.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _asyncToGenerator from \"/Users/alecenteno/Projects/carbon-tutorial-angular/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\";\nimport { devAssert } from '../jsutils/devAssert.mjs';\nimport { inspect } from '../jsutils/inspect.mjs';\nimport { isAsyncIterable } from '../jsutils/isAsyncIterable.mjs';\nimport { addPath, pathToArray } from '../jsutils/Path.mjs';\nimport { GraphQLError } from '../error/GraphQLError.mjs';\nimport { locatedError } from '../error/locatedError.mjs';\nimport { collectFields } from './collectFields.mjs';\nimport { assertValidExecutionArguments, buildExecutionContext, buildResolveInfo, execute, getFieldDef } from './execute.mjs';\nimport { mapAsyncIterator } from './mapAsyncIterator.mjs';\nimport { getArgumentValues } from './values.mjs';\n/**\n * Implements the \"Subscribe\" algorithm described in the GraphQL specification.\n *\n * Returns a Promise which resolves to either an AsyncIterator (if successful)\n * or an ExecutionResult (error). The promise will be rejected if the schema or\n * other arguments to this function are invalid, or if the resolved event stream\n * is not an async iterable.\n *\n * If the client-provided arguments to this function do not result in a\n * compliant subscription, a GraphQL Response (ExecutionResult) with\n * descriptive errors and no data will be returned.\n *\n * If the source stream could not be created due to faulty subscription\n * resolver logic or underlying systems, the promise will resolve to a single\n * ExecutionResult containing `errors` and no `data`.\n *\n * If the operation succeeded, the promise resolves to an AsyncIterator, which\n * yields a stream of ExecutionResults representing the response stream.\n *\n * Accepts either an object with named arguments, or individual arguments.\n */\n\nexport function subscribe(_x) {\n return _subscribe.apply(this, arguments);\n}\n\nfunction _subscribe() {\n _subscribe = _asyncToGenerator(function* (args) {\n // Temporary for v15 to v16 migration. Remove in v17\n arguments.length < 2 || devAssert(false, 'graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.');\n const resultOrStream = yield createSourceEventStream(args);\n\n if (!isAsyncIterable(resultOrStream)) {\n return resultOrStream;\n } // For each payload yielded from a subscription, map it over the normal\n // GraphQL `execute` function, with `payload` as the rootValue.\n // This implements the \"MapSourceToResponseEvent\" algorithm described in\n // the GraphQL specification. The `execute` function provides the\n // \"ExecuteSubscriptionEvent\" algorithm, as it is nearly identical to the\n // \"ExecuteQuery\" algorithm, for which `execute` is also used.\n\n\n const mapSourceToResponse = payload => execute({ ...args,\n rootValue: payload\n }); // Map every source value to a ExecutionResult value as described above.\n\n\n return mapAsyncIterator(resultOrStream, mapSourceToResponse);\n });\n return _subscribe.apply(this, arguments);\n}\n\nfunction toNormalizedArgs(args) {\n const firstArg = args[0];\n\n if (firstArg && 'document' in firstArg) {\n return firstArg;\n }\n\n return {\n schema: firstArg,\n // FIXME: when underlying TS bug fixed, see https://github.com/microsoft/TypeScript/issues/31613\n document: args[1],\n rootValue: args[2],\n contextValue: args[3],\n variableValues: args[4],\n operationName: args[5],\n subscribeFieldResolver: args[6]\n };\n}\n/**\n * Implements the \"CreateSourceEventStream\" algorithm described in the\n * GraphQL specification, resolving the subscription source event stream.\n *\n * Returns a Promise which resolves to either an AsyncIterable (if successful)\n * or an ExecutionResult (error). The promise will be rejected if the schema or\n * other arguments to this function are invalid, or if the resolved event stream\n * is not an async iterable.\n *\n * If the client-provided arguments to this function do not result in a\n * compliant subscription, a GraphQL Response (ExecutionResult) with\n * descriptive errors and no data will be returned.\n *\n * If the the source stream could not be created due to faulty subscription\n * resolver logic or underlying systems, the promise will resolve to a single\n * ExecutionResult containing `errors` and no `data`.\n *\n * If the operation succeeded, the promise resolves to the AsyncIterable for the\n * event stream returned by the resolver.\n *\n * A Source Event Stream represents a sequence of events, each of which triggers\n * a GraphQL execution for that event.\n *\n * This may be useful when hosting the stateful subscription service in a\n * different process or machine than the stateless GraphQL execution engine,\n * or otherwise separating these two steps. For more on this, see the\n * \"Supporting Subscriptions at Scale\" information in the GraphQL specification.\n */\n\n\nexport function createSourceEventStream() {\n return _createSourceEventStream.apply(this, arguments);\n}\n\nfunction _createSourceEventStream() {\n _createSourceEventStream = _asyncToGenerator(function* (...rawArgs) {\n const args = toNormalizedArgs(rawArgs);\n const {\n schema,\n document,\n variableValues\n } = args; // If arguments are missing or incorrectly typed, this is an internal\n // developer mistake which should throw an early error.\n\n assertValidExecutionArguments(schema, document, variableValues); // If a valid execution context cannot be created due to incorrect arguments,\n // a \"Response\" with only errors is returned.\n\n const exeContext = buildExecutionContext(args); // Return early errors if execution context failed.\n\n if (!('schema' in exeContext)) {\n return {\n errors: exeContext\n };\n }\n\n try {\n const eventStream = yield executeSubscription(exeContext); // Assert field returned an event stream, otherwise yield an error.\n\n if (!isAsyncIterable(eventStream)) {\n throw new Error('Subscription field must return Async Iterable. ' + `Received: ${inspect(eventStream)}.`);\n }\n\n return eventStream;\n } catch (error) {\n // If it GraphQLError, report it as an ExecutionResult, containing only errors and no data.\n // Otherwise treat the error as a system-class error and re-throw it.\n if (error instanceof GraphQLError) {\n return {\n errors: [error]\n };\n }\n\n throw error;\n }\n });\n return _createSourceEventStream.apply(this, arguments);\n}\n\nfunction executeSubscription(_x2) {\n return _executeSubscription.apply(this, arguments);\n}\n\nfunction _executeSubscription() {\n _executeSubscription = _asyncToGenerator(function* (exeContext) {\n const {\n schema,\n fragments,\n operation,\n variableValues,\n rootValue\n } = exeContext;\n const rootType = schema.getSubscriptionType();\n\n if (rootType == null) {\n throw new GraphQLError('Schema is not configured to execute subscription operation.', {\n nodes: operation\n });\n }\n\n const rootFields = collectFields(schema, fragments, variableValues, rootType, operation.selectionSet);\n const [responseName, fieldNodes] = [...rootFields.entries()][0];\n const fieldDef = getFieldDef(schema, rootType, fieldNodes[0]);\n\n if (!fieldDef) {\n const fieldName = fieldNodes[0].name.value;\n throw new GraphQLError(`The subscription field \"${fieldName}\" is not defined.`, {\n nodes: fieldNodes\n });\n }\n\n const path = addPath(undefined, responseName, rootType.name);\n const info = buildResolveInfo(exeContext, fieldDef, fieldNodes, rootType, path);\n\n try {\n var _fieldDef$subscribe; // Implements the \"ResolveFieldEventStream\" algorithm from GraphQL specification.\n // It differs from \"ResolveFieldValue\" due to providing a different `resolveFn`.\n // Build a JS object of arguments from the field.arguments AST, using the\n // variables scope to fulfill any variable references.\n\n\n const args = getArgumentValues(fieldDef, fieldNodes[0], variableValues); // The resolve function's optional third argument is a context value that\n // is provided to every resolve function within an execution. It is commonly\n // used to represent an authenticated user, or request-specific caches.\n\n const contextValue = exeContext.contextValue; // Call the `subscribe()` resolver or the default resolver to produce an\n // AsyncIterable yielding raw payloads.\n\n const resolveFn = (_fieldDef$subscribe = fieldDef.subscribe) !== null && _fieldDef$subscribe !== void 0 ? _fieldDef$subscribe : exeContext.subscribeFieldResolver;\n const eventStream = yield resolveFn(rootValue, args, contextValue, info);\n\n if (eventStream instanceof Error) {\n throw eventStream;\n }\n\n return eventStream;\n } catch (error) {\n throw locatedError(error, fieldNodes, pathToArray(path));\n }\n });\n return _executeSubscription.apply(this, arguments);\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/1ffbcec416724468a2c3729356d3ba66.json b/.angular/cache/14.2.11/babel-webpack/1ffbcec416724468a2c3729356d3ba66.json new file mode 100644 index 0000000000..3d627a40a7 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/1ffbcec416724468a2c3729356d3ba66.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { GraphQLError } from '../../error/GraphQLError.mjs';\n/**\n * Unique fragment names\n *\n * A GraphQL document is only valid if all defined fragments have unique names.\n *\n * See https://spec.graphql.org/draft/#sec-Fragment-Name-Uniqueness\n */\n\nexport function UniqueFragmentNamesRule(context) {\n const knownFragmentNames = Object.create(null);\n return {\n OperationDefinition: () => false,\n\n FragmentDefinition(node) {\n const fragmentName = node.name.value;\n\n if (knownFragmentNames[fragmentName]) {\n context.reportError(new GraphQLError(`There can be only one fragment named \"${fragmentName}\".`, {\n nodes: [knownFragmentNames[fragmentName], node.name]\n }));\n } else {\n knownFragmentNames[fragmentName] = node.name;\n }\n\n return false;\n }\n\n };\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/202a6c938e54b6150ea145b008731f4f.json b/.angular/cache/14.2.11/babel-webpack/202a6c938e54b6150ea145b008731f4f.json new file mode 100644 index 0000000000..ce86f9c636 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/202a6c938e54b6150ea145b008731f4f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { InvariantError } from \"../../utilities/globals/index.js\";\nexport var checkFetcher = function (fetcher) {\n if (!fetcher && typeof fetch === 'undefined') {\n throw __DEV__ ? new InvariantError(\"\\n\\\"fetch\\\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\\n\\nimport fetch from 'cross-fetch';\\nimport { ApolloClient, HttpLink } from '@apollo/client';\\nconst client = new ApolloClient({\\n link: new HttpLink({ uri: '/graphql', fetch })\\n});\\n \") : new InvariantError(23);\n }\n}; //# sourceMappingURL=checkFetcher.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/20ab9be42fe1e430cdaed5e3727a6141.json b/.angular/cache/14.2.11/babel-webpack/20ab9be42fe1e430cdaed5e3727a6141.json new file mode 100644 index 0000000000..8ba7b79685 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/20ab9be42fe1e430cdaed5e3727a6141.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function sequenceEqual(compareTo, comparator = (a, b) => a === b) {\n return operate((source, subscriber) => {\n const aState = createState();\n const bState = createState();\n\n const emit = isEqual => {\n subscriber.next(isEqual);\n subscriber.complete();\n };\n\n const createSubscriber = (selfState, otherState) => {\n const sequenceEqualSubscriber = createOperatorSubscriber(subscriber, a => {\n const {\n buffer,\n complete\n } = otherState;\n\n if (buffer.length === 0) {\n complete ? emit(false) : selfState.buffer.push(a);\n } else {\n !comparator(a, buffer.shift()) && emit(false);\n }\n }, () => {\n selfState.complete = true;\n const {\n complete,\n buffer\n } = otherState;\n complete && emit(buffer.length === 0);\n sequenceEqualSubscriber === null || sequenceEqualSubscriber === void 0 ? void 0 : sequenceEqualSubscriber.unsubscribe();\n });\n return sequenceEqualSubscriber;\n };\n\n source.subscribe(createSubscriber(aState, bState));\n compareTo.subscribe(createSubscriber(bState, aState));\n });\n}\n\nfunction createState() {\n return {\n buffer: [],\n complete: false\n };\n} //# sourceMappingURL=sequenceEqual.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/20e54eb647311e86f48be6309910a90d.json b/.angular/cache/14.2.11/babel-webpack/20e54eb647311e86f48be6309910a90d.json new file mode 100644 index 0000000000..0a0c37d3fb --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/20e54eb647311e86f48be6309910a90d.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { createErrorClass } from './createErrorClass';\nexport const SequenceError = createErrorClass(_super => function SequenceErrorImpl(message) {\n _super(this);\n\n this.name = 'SequenceError';\n this.message = message;\n}); //# sourceMappingURL=SequenceError.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/21ade0ab307ca73f52976d3c2a82f243.json b/.angular/cache/14.2.11/babel-webpack/21ade0ab307ca73f52976d3c2a82f243.json new file mode 100644 index 0000000000..155d5429b7 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/21ade0ab307ca73f52976d3c2a82f243.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { from } from './from';\nexport function pairs(obj, scheduler) {\n return from(Object.entries(obj), scheduler);\n} //# sourceMappingURL=pairs.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/21e46927bddae2c69dcd691e8ab9030c.json b/.angular/cache/14.2.11/babel-webpack/21e46927bddae2c69dcd691e8ab9030c.json new file mode 100644 index 0000000000..b0e6563359 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/21e46927bddae2c69dcd691e8ab9030c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { innerFrom } from '../observable/innerFrom';\nimport { Subject } from '../Subject';\nimport { SafeSubscriber } from '../Subscriber';\nimport { operate } from '../util/lift';\nexport function share(options = {}) {\n const {\n connector = () => new Subject(),\n resetOnError = true,\n resetOnComplete = true,\n resetOnRefCountZero = true\n } = options;\n return wrapperSource => {\n let connection;\n let resetConnection;\n let subject;\n let refCount = 0;\n let hasCompleted = false;\n let hasErrored = false;\n\n const cancelReset = () => {\n resetConnection === null || resetConnection === void 0 ? void 0 : resetConnection.unsubscribe();\n resetConnection = undefined;\n };\n\n const reset = () => {\n cancelReset();\n connection = subject = undefined;\n hasCompleted = hasErrored = false;\n };\n\n const resetAndUnsubscribe = () => {\n const conn = connection;\n reset();\n conn === null || conn === void 0 ? void 0 : conn.unsubscribe();\n };\n\n return operate((source, subscriber) => {\n refCount++;\n\n if (!hasErrored && !hasCompleted) {\n cancelReset();\n }\n\n const dest = subject = subject !== null && subject !== void 0 ? subject : connector();\n subscriber.add(() => {\n refCount--;\n\n if (refCount === 0 && !hasErrored && !hasCompleted) {\n resetConnection = handleReset(resetAndUnsubscribe, resetOnRefCountZero);\n }\n });\n dest.subscribe(subscriber);\n\n if (!connection && refCount > 0) {\n connection = new SafeSubscriber({\n next: value => dest.next(value),\n error: err => {\n hasErrored = true;\n cancelReset();\n resetConnection = handleReset(reset, resetOnError, err);\n dest.error(err);\n },\n complete: () => {\n hasCompleted = true;\n cancelReset();\n resetConnection = handleReset(reset, resetOnComplete);\n dest.complete();\n }\n });\n innerFrom(source).subscribe(connection);\n }\n })(wrapperSource);\n };\n}\n\nfunction handleReset(reset, on, ...args) {\n if (on === true) {\n reset();\n return;\n }\n\n if (on === false) {\n return;\n }\n\n const onSubscriber = new SafeSubscriber({\n next: () => {\n onSubscriber.unsubscribe();\n reset();\n }\n });\n return on(...args).subscribe(onSubscriber);\n} //# sourceMappingURL=share.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/21e4e58119d93fa6219b55d0a158468e.json b/.angular/cache/14.2.11/babel-webpack/21e4e58119d93fa6219b55d0a158468e.json new file mode 100644 index 0000000000..46684e27c2 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/21e4e58119d93fa6219b55d0a158468e.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { Slot } from \"./slot.js\";\nexport { Slot };\nexport const {\n bind,\n noContext\n} = Slot; // Like global.setTimeout, except the callback runs with captured context.\n\nexport { setTimeoutWithContext as setTimeout };\n\nfunction setTimeoutWithContext(callback, delay) {\n return setTimeout(bind(callback), delay);\n} // Turn any generator function into an async function (using yield instead\n// of await), with context automatically preserved across yields.\n\n\nexport function asyncFromGen(genFn) {\n return function () {\n const gen = genFn.apply(this, arguments);\n const boundNext = bind(gen.next);\n const boundThrow = bind(gen.throw);\n return new Promise((resolve, reject) => {\n function invoke(method, argument) {\n try {\n var result = method.call(gen, argument);\n } catch (error) {\n return reject(error);\n }\n\n const next = result.done ? resolve : invokeNext;\n\n if (isPromiseLike(result.value)) {\n result.value.then(next, result.done ? reject : invokeThrow);\n } else {\n next(result.value);\n }\n }\n\n const invokeNext = value => invoke(boundNext, value);\n\n const invokeThrow = error => invoke(boundThrow, error);\n\n invokeNext();\n });\n };\n}\n\nfunction isPromiseLike(value) {\n return value && typeof value.then === \"function\";\n} // If you use the fibers npm package to implement coroutines in Node.js,\n// you should call this function at least once to ensure context management\n// remains coherent across any yields.\n\n\nconst wrappedFibers = [];\nexport function wrapYieldingFiberMethods(Fiber) {\n // There can be only one implementation of Fiber per process, so this array\n // should never grow longer than one element.\n if (wrappedFibers.indexOf(Fiber) < 0) {\n const wrap = (obj, method) => {\n const fn = obj[method];\n\n obj[method] = function () {\n return noContext(fn, arguments, this);\n };\n }; // These methods can yield, according to\n // https://github.com/laverdet/node-fibers/blob/ddebed9b8ae3883e57f822e2108e6943e5c8d2a8/fibers.js#L97-L100\n\n\n wrap(Fiber, \"yield\");\n wrap(Fiber.prototype, \"run\");\n wrap(Fiber.prototype, \"throwInto\");\n wrappedFibers.push(Fiber);\n }\n\n return Fiber;\n} //# sourceMappingURL=index.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/2269cf842b869befb7f62299006511d5.json b/.angular/cache/14.2.11/babel-webpack/2269cf842b869befb7f62299006511d5.json new file mode 100644 index 0000000000..c99106b398 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/2269cf842b869befb7f62299006511d5.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { observable as Symbol_observable } from '../symbol/observable';\nimport { isFunction } from './isFunction';\nexport function isInteropObservable(input) {\n return isFunction(input[Symbol_observable]);\n} //# sourceMappingURL=isInteropObservable.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/227239cd0e4de624bf62e33fbd4e8c77.json b/.angular/cache/14.2.11/babel-webpack/227239cd0e4de624bf62e33fbd4e8c77.json new file mode 100644 index 0000000000..d99f2413fb --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/227239cd0e4de624bf62e33fbd4e8c77.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n * Creates an object map with the same keys as `map` and values generated by\n * running each value of `map` thru `fn`.\n */\nexport function mapValue(map, fn) {\n const result = Object.create(null);\n\n for (const key of Object.keys(map)) {\n result[key] = fn(map[key], key);\n }\n\n return result;\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/23253a28c116f20432836354cf88156c.json b/.angular/cache/14.2.11/babel-webpack/23253a28c116f20432836354cf88156c.json new file mode 100644 index 0000000000..a901513b01 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/23253a28c116f20432836354cf88156c.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { map } from './map';\nexport function mapTo(value) {\n return map(() => value);\n} //# sourceMappingURL=mapTo.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/2342e6869f12b34a3abb1ae8961aa392.json b/.angular/cache/14.2.11/babel-webpack/2342e6869f12b34a3abb1ae8961aa392.json new file mode 100644 index 0000000000..c944128ce0 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/2342e6869f12b34a3abb1ae8961aa392.json @@ -0,0 +1 @@ +{"ast":null,"code":"import \"../../utilities/globals/index.js\";\nexport { fromError } from \"./fromError.js\";\nexport { toPromise } from \"./toPromise.js\";\nexport { fromPromise } from \"./fromPromise.js\";\nexport { throwServerError } from \"./throwServerError.js\";\nexport { validateOperation } from \"./validateOperation.js\";\nexport { createOperation } from \"./createOperation.js\";\nexport { transformOperation } from \"./transformOperation.js\"; //# sourceMappingURL=index.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/235df36258e0062557b3d1850fe83e34.json b/.angular/cache/14.2.11/babel-webpack/235df36258e0062557b3d1850fe83e34.json new file mode 100644 index 0000000000..0ec2114ecd --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/235df36258e0062557b3d1850fe83e34.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { map } from './map';\nimport { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { mergeInternals } from './mergeInternals';\nimport { isFunction } from '../util/isFunction';\nexport function mergeMap(project, resultSelector, concurrent = Infinity) {\n if (isFunction(resultSelector)) {\n return mergeMap((a, i) => map((b, ii) => resultSelector(a, b, i, ii))(innerFrom(project(a, i))), concurrent);\n } else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n} //# sourceMappingURL=mergeMap.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/23656bf2e616b7762f28cfbc0e6fc8a8.json b/.angular/cache/14.2.11/babel-webpack/23656bf2e616b7762f28cfbc0e6fc8a8.json new file mode 100644 index 0000000000..15d370a06f --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/23656bf2e616b7762f28cfbc0e6fc8a8.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n * An exported enum describing the different kinds of tokens that the\n * lexer emits.\n */\nvar TokenKind = /*#__PURE__*/(() => {\n (function (TokenKind) {\n TokenKind['SOF'] = '';\n TokenKind['EOF'] = '';\n TokenKind['BANG'] = '!';\n TokenKind['DOLLAR'] = '$';\n TokenKind['AMP'] = '&';\n TokenKind['PAREN_L'] = '(';\n TokenKind['PAREN_R'] = ')';\n TokenKind['SPREAD'] = '...';\n TokenKind['COLON'] = ':';\n TokenKind['EQUALS'] = '=';\n TokenKind['AT'] = '@';\n TokenKind['BRACKET_L'] = '[';\n TokenKind['BRACKET_R'] = ']';\n TokenKind['BRACE_L'] = '{';\n TokenKind['PIPE'] = '|';\n TokenKind['BRACE_R'] = '}';\n TokenKind['NAME'] = 'Name';\n TokenKind['INT'] = 'Int';\n TokenKind['FLOAT'] = 'Float';\n TokenKind['STRING'] = 'String';\n TokenKind['BLOCK_STRING'] = 'BlockString';\n TokenKind['COMMENT'] = 'Comment';\n })(TokenKind || (TokenKind = {}));\n\n return TokenKind;\n})();\nexport { TokenKind };\n/**\n * The enum type representing the token kinds values.\n *\n * @deprecated Please use `TokenKind`. Will be remove in v17.\n */","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/23670449c260861e3e428dc9eec6bf38.json b/.angular/cache/14.2.11/babel-webpack/23670449c260861e3e428dc9eec6bf38.json new file mode 100644 index 0000000000..f22d09aeb2 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/23670449c260861e3e428dc9eec6bf38.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-icon.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { toString, getAttributes } from '@carbon/icon-helpers';\nimport { Injectable, Directive, ElementRef, Input, NgModule, Optional, SkipSelf } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport Add16 from '@carbon/icons/es/add/16';\nimport Add20 from '@carbon/icons/es/add/20';\nimport Bee16 from '@carbon/icons/es/bee/16';\nimport Bee20 from '@carbon/icons/es/bee/20';\nimport Calendar16 from '@carbon/icons/es/calendar/16';\nimport Carbon16 from '@carbon/icons/es/carbon/16';\nimport Carbon20 from '@carbon/icons/es/carbon/20';\nimport CaretDown16 from '@carbon/icons/es/caret--down/16';\nimport CaretLeft16 from '@carbon/icons/es/caret--left/16';\nimport CaretRight16 from '@carbon/icons/es/caret--right/16';\nimport CaretUp16 from '@carbon/icons/es/caret--up/16';\nimport Checkmark16 from '@carbon/icons/es/checkmark/16';\nimport CheckmarkFilled16 from '@carbon/icons/es/checkmark--filled/16';\nimport CheckmarkFilled20 from '@carbon/icons/es/checkmark--filled/20';\nimport CheckmarkOutline16 from '@carbon/icons/es/checkmark--outline/16';\nimport ChevronDown16 from '@carbon/icons/es/chevron--down/16';\nimport ChevronRight16 from '@carbon/icons/es/chevron--right/16';\nimport CircleDash16 from '@carbon/icons/es/circle-dash/16';\nimport Close16 from '@carbon/icons/es/close/16';\nimport Close20 from '@carbon/icons/es/close/20';\nimport Copy16 from '@carbon/icons/es/copy/16';\nimport Copy20 from '@carbon/icons/es/copy/20';\nimport Data216 from '@carbon/icons/es/data--2/16';\nimport Data220 from '@carbon/icons/es/data--2/20';\nimport Delete16 from '@carbon/icons/es/delete/16';\nimport Document16 from '@carbon/icons/es/document/16';\nimport Document20 from '@carbon/icons/es/document/20';\nimport Download16 from '@carbon/icons/es/download/16';\nimport ErrorFilled16 from '@carbon/icons/es/error--filled/16';\nimport ErrorFilled20 from '@carbon/icons/es/error--filled/20';\nimport Fade16 from '@carbon/icons/es/fade/16';\nimport Fade20 from '@carbon/icons/es/fade/20';\nimport Incomplete16 from '@carbon/icons/es/incomplete/16';\nimport InformationFilled16 from '@carbon/icons/es/information--filled/16';\nimport InformationFilled20 from '@carbon/icons/es/information--filled/20';\nimport Menu16 from '@carbon/icons/es/menu/16';\nimport Menu20 from '@carbon/icons/es/menu/20';\nimport OverflowMenuVertical16 from '@carbon/icons/es/overflow-menu--vertical/16';\nimport OverflowMenuHorizontal16 from '@carbon/icons/es/overflow-menu--horizontal/16';\nimport Save16 from '@carbon/icons/es/save/16';\nimport Search16 from '@carbon/icons/es/search/16';\nimport Settings16 from '@carbon/icons/es/settings/16';\nimport SettingsAdjust16 from '@carbon/icons/es/settings--adjust/16';\nimport Subtract16 from '@carbon/icons/es/subtract/16';\nimport Warning16 from '@carbon/icons/es/warning/16';\nimport WarningFilled16 from '@carbon/icons/es/warning--filled/16';\nimport WarningFilled20 from '@carbon/icons/es/warning--filled/20';\nimport WarningAltFilled16 from '@carbon/icons/es/warning--alt--filled/16';\n/**\n * Abstract class that represent a cache of icons.\n *\n * The actual caching mechanism will be implementation specific,\n * but it's likely a good idea to key by the icons name and/or size.\n * Icon name and size will always be strings, and they will be the two consistent\n * identifiers of an icon. For the purposes of storage additonal descriptor properties may\n * be used, but the name and size are the only ones guarenteed to be passed for lookup purposes.\n */\n\nimport * as ɵngcc0 from '@angular/core';\n\nclass IconCache {}\n/**\n * Custom error for when a name can't be found\n */\n\n\nclass IconNameNotFoundError extends Error {\n constructor(name) {\n super(`Icon ${name} not found`);\n }\n\n}\n/**\n * Custom error for when a specific size can't be found\n */\n\n\nclass IconSizeNotFoundError extends Error {\n constructor(size, name) {\n super(\"Size ${size} for ${name} not found\");\n }\n\n}\n/**\n * Concrete implementation of `IconCache` as a simple in memory cache\n */\n\n\nclass IconMemoryCache extends IconCache {\n constructor() {\n super(...arguments);\n this.iconMap = new Map();\n }\n\n get(name, size) {\n if (!this.iconMap.has(name)) {\n throw new IconNameNotFoundError(name);\n }\n\n const sizeMap = this.iconMap.get(name);\n\n if (!sizeMap.has(size)) {\n throw new IconSizeNotFoundError(size, name);\n }\n\n return sizeMap.get(size);\n }\n\n set(name, size, descriptor) {\n if (!this.iconMap.has(name)) {\n this.iconMap.set(name, new Map());\n }\n\n const sizeMap = this.iconMap.get(name);\n sizeMap.set(size, descriptor);\n }\n\n}\n/**\n * The icon service is a singleton service responsible for registering and retriving icons from `@carbon/icons`.\n *\n * It's important to register icons before use. It's reccommended to register your icons early, likely in your app.component.\n *\n * To allow for improved tree shaking _do not_ import all the icons from `@carbon/icons` and register them.\n * Instead register only the icons in use by your application. If your application makes use of lazy loaded\n * modules you may also lazy load the icons used in that module by registering them early on in that module.\n *\n * `ngOnInit` should be sufficiantly early to register icons.\n *\n * Example:\n * ```\n * import { Accessibility16 } from \"@carbon/icons\";\n *\n * // ...\n *\n * class MyComponent implements OnInit {\n * \tconstructor(protected iconService: IconService) {}\n *\n * \t// ...\n *\n * \tngOnInit() {\n * \t\tthis.iconService.register(Accessibility16);\n * \t}\n *\n * \t// ...\n * }\n * ```\n *\n * If needed it is possible to register an icon under a different name, via `registerAs`.\n */\n\n\nlet IconService = /*#__PURE__*/(() => {\n class IconService {\n constructor() {\n this.iconCache = new IconMemoryCache();\n }\n /**\n * Registers an array of icons based on the metadata provided by `@carbon/icons`\n */\n\n\n registerAll(descriptors) {\n descriptors.forEach(icon => this.register(icon));\n }\n /**\n * Registers an icon based on the metadata provided by `@carbon/icons`\n */\n\n\n register(descriptor) {\n const {\n name\n } = descriptor;\n this.registerAs(name, descriptor);\n }\n /**\n * Registers an icon based on a uniqe name and metadata provided by `@carbon/icons`\n */\n\n\n registerAs(name, descriptor) {\n const {\n size\n } = descriptor;\n this.iconCache.set(name, size.toString(), descriptor);\n }\n /**\n * Gets an icon, converts it to a string, and caches the result\n */\n\n\n get(name, size) {\n try {\n const icon = this.iconCache.get(name, size.toString());\n\n if (!icon.svg) {\n icon.svg = toString(icon);\n }\n\n return icon;\n } catch (e) {\n throw e;\n }\n }\n /**\n * Configure various service settings (caching strategy ...)\n */\n\n\n configure(options) {\n this.iconCache = options.cache;\n }\n\n }\n\n IconService.ɵfac = function IconService_Factory(t) {\n return new (t || IconService)();\n };\n\n IconService.ɵprov = /*@__PURE__*/ɵngcc0.ɵɵdefineInjectable({\n token: IconService,\n factory: IconService.ɵfac\n });\n return IconService;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * A directive for applying styling to an input element.\n *\n * Example:\n *\n * ```html\n * \n * ```\n *\n * See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.\n */\n\n\nlet IconDirective = /*#__PURE__*/(() => {\n class IconDirective {\n constructor(elementRef, iconService) {\n this.elementRef = elementRef;\n this.iconService = iconService;\n this.ibmIcon = \"\";\n this.size = \"16\";\n this.title = \"\";\n this.ariaLabel = \"\";\n this.ariaLabelledBy = \"\";\n this.ariaHidden = \"\";\n this.isFocusable = false;\n }\n\n ngAfterViewInit() {\n const root = this.elementRef.nativeElement;\n let icon;\n\n try {\n icon = this.iconService.get(this.ibmIcon, this.size.toString());\n } catch (error) {\n console.warn(error); // bail out\n\n return;\n }\n\n const domParser = new DOMParser();\n const rawSVG = icon.svg;\n const svgElement = domParser.parseFromString(rawSVG, \"image/svg+xml\").documentElement;\n let node = root.tagName.toUpperCase() !== \"SVG\" ? svgElement : svgElement.firstChild;\n\n while (node) {\n // importNode makes a clone of the node\n // this ensures we keep looping over the nodes in the parsed document\n root.appendChild(root.ownerDocument.importNode(node, true)); // type the node because the angular compiler freaks out if it\n // ends up thinking it's a `Node` instead of a `ChildNode`\n\n node = node.nextSibling;\n }\n\n const svg = root.tagName.toUpperCase() !== \"SVG\" ? svgElement : root;\n svg.setAttribute(\"xmlns\", \"http://www.w3.org/2000/svg\");\n const attributes = getAttributes({\n width: icon.attrs.width,\n height: icon.attrs.height,\n viewBox: icon.attrs.viewBox,\n title: this.title,\n \"aria-label\": this.ariaLabel,\n \"aria-labelledby\": this.ariaLabelledBy,\n \"aria-hidden\": this.ariaHidden,\n focusable: this.isFocusable.toString()\n });\n const attrKeys = Object.keys(attributes);\n\n for (let i = 0; i < attrKeys.length; i++) {\n const key = attrKeys[i];\n const value = attributes[key];\n\n if (key === \"title\") {\n continue;\n }\n\n if (value) {\n svg.setAttribute(key, value);\n }\n }\n\n if (attributes[\"title\"]) {\n const title = document.createElement(\"title\");\n title.textContent = attributes.title;\n IconDirective.titleIdCounter++;\n title.setAttribute(\"id\", `${icon.name}-title-${IconDirective.titleIdCounter}`); // title must be first for screen readers\n\n svg.insertBefore(title, svg.firstElementChild);\n svg.setAttribute(\"aria-labelledby\", `${icon.name}-title-${IconDirective.titleIdCounter}`);\n }\n }\n\n }\n\n IconDirective.ɵfac = function IconDirective_Factory(t) {\n return new (t || IconDirective)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(IconService));\n };\n\n IconDirective.ɵdir = /*@__PURE__*/ɵngcc0.ɵɵdefineDirective({\n type: IconDirective,\n selectors: [[\"\", \"ibmIcon\", \"\"]],\n inputs: {\n ibmIcon: \"ibmIcon\",\n size: \"size\",\n title: \"title\",\n ariaLabel: \"ariaLabel\",\n ariaLabelledBy: \"ariaLabelledBy\",\n ariaHidden: \"ariaHidden\",\n isFocusable: \"isFocusable\"\n }\n });\n IconDirective.titleIdCounter = 0;\n /** @nocollapse */\n\n return IconDirective;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})(); // modules\n// either provides a new instance of IconService, or returns the parent\n\n\nfunction ICON_SERVICE_PROVIDER_FACTORY(parentService) {\n return parentService || new IconService();\n} // icon service *must* be a singleton to ensure that icons are accessible globally and not duplicated\n\n\nconst ICON_SERVICE_PROVIDER = {\n provide: IconService,\n deps: [[new Optional(), new SkipSelf(), IconService]],\n useFactory: ICON_SERVICE_PROVIDER_FACTORY\n};\nlet IconModule = /*#__PURE__*/(() => {\n class IconModule {\n constructor(iconService) {\n this.iconService = iconService;\n iconService.registerAll([Add16, Add20, Bee16, Bee20, Calendar16, Carbon16, Carbon20, CaretDown16, CaretLeft16, CaretRight16, CaretUp16, Checkmark16, CheckmarkFilled16, CheckmarkFilled20, CheckmarkOutline16, ChevronDown16, ChevronRight16, CircleDash16, Close16, Close20, Copy16, Copy20, Data216, Data220, Delete16, Document16, Document20, Download16, ErrorFilled16, ErrorFilled20, Fade16, Fade20, Incomplete16, InformationFilled16, InformationFilled20, Menu16, Menu20, OverflowMenuVertical16, OverflowMenuHorizontal16, Save16, Search16, Settings16, SettingsAdjust16, Subtract16, Warning16, WarningFilled16, WarningFilled20, WarningAltFilled16]);\n }\n\n }\n\n IconModule.ɵfac = function IconModule_Factory(t) {\n return new (t || IconModule)(ɵngcc0.ɵɵinject(IconService));\n };\n\n IconModule.ɵmod = /*@__PURE__*/ɵngcc0.ɵɵdefineNgModule({\n type: IconModule\n });\n IconModule.ɵinj = /*@__PURE__*/ɵngcc0.ɵɵdefineInjector({\n providers: [ICON_SERVICE_PROVIDER],\n imports: [CommonModule]\n });\n /** @nocollapse */\n\n return IconModule;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(IconModule, {\n declarations: function () {\n return [IconDirective];\n },\n imports: function () {\n return [CommonModule];\n },\n exports: function () {\n return [IconDirective];\n }\n });\n})();\n/**\n * Generated bundle index. Do not edit.\n */\n\n\nexport { IconDirective, ICON_SERVICE_PROVIDER, ICON_SERVICE_PROVIDER_FACTORY, IconModule, IconCache, IconMemoryCache, IconNameNotFoundError, IconService, IconSizeNotFoundError }; //# sourceMappingURL=carbon-components-angular-icon.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/23e1a172459a942579e766251c574823.json b/.angular/cache/14.2.11/babel-webpack/23e1a172459a942579e766251c574823.json new file mode 100644 index 0000000000..64da38a0f8 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/23e1a172459a942579e766251c574823.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { async } from '../scheduler/async';\nimport { isValidDate } from '../util/isDate';\nimport { timeout } from './timeout';\nexport function timeoutWith(due, withObservable, scheduler) {\n let first;\n let each;\n\n let _with;\n\n scheduler = scheduler !== null && scheduler !== void 0 ? scheduler : async;\n\n if (isValidDate(due)) {\n first = due;\n } else if (typeof due === 'number') {\n each = due;\n }\n\n if (withObservable) {\n _with = () => withObservable;\n } else {\n throw new TypeError('No observable provided to switch to');\n }\n\n if (first == null && each == null) {\n throw new TypeError('No timeout provided.');\n }\n\n return timeout({\n first,\n each,\n scheduler,\n with: _with\n });\n} //# sourceMappingURL=timeoutWith.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/23e84d0ad2aa922614e1bab2ba90b96a.json b/.angular/cache/14.2.11/babel-webpack/23e84d0ad2aa922614e1bab2ba90b96a.json new file mode 100644 index 0000000000..e76832576c --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/23e84d0ad2aa922614e1bab2ba90b96a.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { devAssert } from '../jsutils/devAssert.mjs';\nimport { didYouMean } from '../jsutils/didYouMean.mjs';\nimport { identityFunc } from '../jsutils/identityFunc.mjs';\nimport { inspect } from '../jsutils/inspect.mjs';\nimport { instanceOf } from '../jsutils/instanceOf.mjs';\nimport { isObjectLike } from '../jsutils/isObjectLike.mjs';\nimport { keyMap } from '../jsutils/keyMap.mjs';\nimport { keyValMap } from '../jsutils/keyValMap.mjs';\nimport { mapValue } from '../jsutils/mapValue.mjs';\nimport { suggestionList } from '../jsutils/suggestionList.mjs';\nimport { toObjMap } from '../jsutils/toObjMap.mjs';\nimport { GraphQLError } from '../error/GraphQLError.mjs';\nimport { Kind } from '../language/kinds.mjs';\nimport { print } from '../language/printer.mjs';\nimport { valueFromASTUntyped } from '../utilities/valueFromASTUntyped.mjs';\nimport { assertEnumValueName, assertName } from './assertName.mjs';\nexport function isType(type) {\n return isScalarType(type) || isObjectType(type) || isInterfaceType(type) || isUnionType(type) || isEnumType(type) || isInputObjectType(type) || isListType(type) || isNonNullType(type);\n}\nexport function assertType(type) {\n if (!isType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL type.`);\n }\n\n return type;\n}\n/**\n * There are predicates for each kind of GraphQL type.\n */\n\nexport function isScalarType(type) {\n return instanceOf(type, GraphQLScalarType);\n}\nexport function assertScalarType(type) {\n if (!isScalarType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL Scalar type.`);\n }\n\n return type;\n}\nexport function isObjectType(type) {\n return instanceOf(type, GraphQLObjectType);\n}\nexport function assertObjectType(type) {\n if (!isObjectType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL Object type.`);\n }\n\n return type;\n}\nexport function isInterfaceType(type) {\n return instanceOf(type, GraphQLInterfaceType);\n}\nexport function assertInterfaceType(type) {\n if (!isInterfaceType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL Interface type.`);\n }\n\n return type;\n}\nexport function isUnionType(type) {\n return instanceOf(type, GraphQLUnionType);\n}\nexport function assertUnionType(type) {\n if (!isUnionType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL Union type.`);\n }\n\n return type;\n}\nexport function isEnumType(type) {\n return instanceOf(type, GraphQLEnumType);\n}\nexport function assertEnumType(type) {\n if (!isEnumType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL Enum type.`);\n }\n\n return type;\n}\nexport function isInputObjectType(type) {\n return instanceOf(type, GraphQLInputObjectType);\n}\nexport function assertInputObjectType(type) {\n if (!isInputObjectType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL Input Object type.`);\n }\n\n return type;\n}\nexport function isListType(type) {\n return instanceOf(type, GraphQLList);\n}\nexport function assertListType(type) {\n if (!isListType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL List type.`);\n }\n\n return type;\n}\nexport function isNonNullType(type) {\n return instanceOf(type, GraphQLNonNull);\n}\nexport function assertNonNullType(type) {\n if (!isNonNullType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL Non-Null type.`);\n }\n\n return type;\n}\n/**\n * These types may be used as input types for arguments and directives.\n */\n\nexport function isInputType(type) {\n return isScalarType(type) || isEnumType(type) || isInputObjectType(type) || isWrappingType(type) && isInputType(type.ofType);\n}\nexport function assertInputType(type) {\n if (!isInputType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL input type.`);\n }\n\n return type;\n}\n/**\n * These types may be used as output types as the result of fields.\n */\n\nexport function isOutputType(type) {\n return isScalarType(type) || isObjectType(type) || isInterfaceType(type) || isUnionType(type) || isEnumType(type) || isWrappingType(type) && isOutputType(type.ofType);\n}\nexport function assertOutputType(type) {\n if (!isOutputType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL output type.`);\n }\n\n return type;\n}\n/**\n * These types may describe types which may be leaf values.\n */\n\nexport function isLeafType(type) {\n return isScalarType(type) || isEnumType(type);\n}\nexport function assertLeafType(type) {\n if (!isLeafType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL leaf type.`);\n }\n\n return type;\n}\n/**\n * These types may describe the parent context of a selection set.\n */\n\nexport function isCompositeType(type) {\n return isObjectType(type) || isInterfaceType(type) || isUnionType(type);\n}\nexport function assertCompositeType(type) {\n if (!isCompositeType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL composite type.`);\n }\n\n return type;\n}\n/**\n * These types may describe the parent context of a selection set.\n */\n\nexport function isAbstractType(type) {\n return isInterfaceType(type) || isUnionType(type);\n}\nexport function assertAbstractType(type) {\n if (!isAbstractType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL abstract type.`);\n }\n\n return type;\n}\n/**\n * List Type Wrapper\n *\n * A list is a wrapping type which points to another type.\n * Lists are often created within the context of defining the fields of\n * an object type.\n *\n * Example:\n *\n * ```ts\n * const PersonType = new GraphQLObjectType({\n * name: 'Person',\n * fields: () => ({\n * parents: { type: new GraphQLList(PersonType) },\n * children: { type: new GraphQLList(PersonType) },\n * })\n * })\n * ```\n */\n\nexport class GraphQLList {\n constructor(ofType) {\n isType(ofType) || devAssert(false, `Expected ${inspect(ofType)} to be a GraphQL type.`);\n this.ofType = ofType;\n }\n\n get [Symbol.toStringTag]() {\n return 'GraphQLList';\n }\n\n toString() {\n return '[' + String(this.ofType) + ']';\n }\n\n toJSON() {\n return this.toString();\n }\n\n}\n/**\n * Non-Null Type Wrapper\n *\n * A non-null is a wrapping type which points to another type.\n * Non-null types enforce that their values are never null and can ensure\n * an error is raised if this ever occurs during a request. It is useful for\n * fields which you can make a strong guarantee on non-nullability, for example\n * usually the id field of a database row will never be null.\n *\n * Example:\n *\n * ```ts\n * const RowType = new GraphQLObjectType({\n * name: 'Row',\n * fields: () => ({\n * id: { type: new GraphQLNonNull(GraphQLString) },\n * })\n * })\n * ```\n * Note: the enforcement of non-nullability occurs within the executor.\n */\n\nexport class GraphQLNonNull {\n constructor(ofType) {\n isNullableType(ofType) || devAssert(false, `Expected ${inspect(ofType)} to be a GraphQL nullable type.`);\n this.ofType = ofType;\n }\n\n get [Symbol.toStringTag]() {\n return 'GraphQLNonNull';\n }\n\n toString() {\n return String(this.ofType) + '!';\n }\n\n toJSON() {\n return this.toString();\n }\n\n}\n/**\n * These types wrap and modify other types\n */\n\nexport function isWrappingType(type) {\n return isListType(type) || isNonNullType(type);\n}\nexport function assertWrappingType(type) {\n if (!isWrappingType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL wrapping type.`);\n }\n\n return type;\n}\n/**\n * These types can all accept null as a value.\n */\n\nexport function isNullableType(type) {\n return isType(type) && !isNonNullType(type);\n}\nexport function assertNullableType(type) {\n if (!isNullableType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL nullable type.`);\n }\n\n return type;\n}\nexport function getNullableType(type) {\n if (type) {\n return isNonNullType(type) ? type.ofType : type;\n }\n}\n/**\n * These named types do not include modifiers like List or NonNull.\n */\n\nexport function isNamedType(type) {\n return isScalarType(type) || isObjectType(type) || isInterfaceType(type) || isUnionType(type) || isEnumType(type) || isInputObjectType(type);\n}\nexport function assertNamedType(type) {\n if (!isNamedType(type)) {\n throw new Error(`Expected ${inspect(type)} to be a GraphQL named type.`);\n }\n\n return type;\n}\nexport function getNamedType(type) {\n if (type) {\n let unwrappedType = type;\n\n while (isWrappingType(unwrappedType)) {\n unwrappedType = unwrappedType.ofType;\n }\n\n return unwrappedType;\n }\n}\n/**\n * Used while defining GraphQL types to allow for circular references in\n * otherwise immutable type definitions.\n */\n\nexport function resolveReadonlyArrayThunk(thunk) {\n return typeof thunk === 'function' ? thunk() : thunk;\n}\nexport function resolveObjMapThunk(thunk) {\n return typeof thunk === 'function' ? thunk() : thunk;\n}\n/**\n * Custom extensions\n *\n * @remarks\n * Use a unique identifier name for your extension, for example the name of\n * your library or project. Do not use a shortened identifier as this increases\n * the risk of conflicts. We recommend you add at most one extension field,\n * an object which can contain all the values you need.\n */\n\n/**\n * Scalar Type Definition\n *\n * The leaf values of any request and input values to arguments are\n * Scalars (or Enums) and are defined with a name and a series of functions\n * used to parse input from ast or variables and to ensure validity.\n *\n * If a type's serialize function returns `null` or does not return a value\n * (i.e. it returns `undefined`) then an error will be raised and a `null`\n * value will be returned in the response. It is always better to validate\n *\n * Example:\n *\n * ```ts\n * const OddType = new GraphQLScalarType({\n * name: 'Odd',\n * serialize(value) {\n * if (!Number.isFinite(value)) {\n * throw new Error(\n * `Scalar \"Odd\" cannot represent \"${value}\" since it is not a finite number.`,\n * );\n * }\n *\n * if (value % 2 === 0) {\n * throw new Error(`Scalar \"Odd\" cannot represent \"${value}\" since it is even.`);\n * }\n * return value;\n * }\n * });\n * ```\n */\n\nexport class GraphQLScalarType {\n constructor(config) {\n var _config$parseValue, _config$serialize, _config$parseLiteral, _config$extensionASTN;\n\n const parseValue = (_config$parseValue = config.parseValue) !== null && _config$parseValue !== void 0 ? _config$parseValue : identityFunc;\n this.name = assertName(config.name);\n this.description = config.description;\n this.specifiedByURL = config.specifiedByURL;\n this.serialize = (_config$serialize = config.serialize) !== null && _config$serialize !== void 0 ? _config$serialize : identityFunc;\n this.parseValue = parseValue;\n this.parseLiteral = (_config$parseLiteral = config.parseLiteral) !== null && _config$parseLiteral !== void 0 ? _config$parseLiteral : (node, variables) => parseValue(valueFromASTUntyped(node, variables));\n this.extensions = toObjMap(config.extensions);\n this.astNode = config.astNode;\n this.extensionASTNodes = (_config$extensionASTN = config.extensionASTNodes) !== null && _config$extensionASTN !== void 0 ? _config$extensionASTN : [];\n config.specifiedByURL == null || typeof config.specifiedByURL === 'string' || devAssert(false, `${this.name} must provide \"specifiedByURL\" as a string, ` + `but got: ${inspect(config.specifiedByURL)}.`);\n config.serialize == null || typeof config.serialize === 'function' || devAssert(false, `${this.name} must provide \"serialize\" function. If this custom Scalar is also used as an input type, ensure \"parseValue\" and \"parseLiteral\" functions are also provided.`);\n\n if (config.parseLiteral) {\n typeof config.parseValue === 'function' && typeof config.parseLiteral === 'function' || devAssert(false, `${this.name} must provide both \"parseValue\" and \"parseLiteral\" functions.`);\n }\n }\n\n get [Symbol.toStringTag]() {\n return 'GraphQLScalarType';\n }\n\n toConfig() {\n return {\n name: this.name,\n description: this.description,\n specifiedByURL: this.specifiedByURL,\n serialize: this.serialize,\n parseValue: this.parseValue,\n parseLiteral: this.parseLiteral,\n extensions: this.extensions,\n astNode: this.astNode,\n extensionASTNodes: this.extensionASTNodes\n };\n }\n\n toString() {\n return this.name;\n }\n\n toJSON() {\n return this.toString();\n }\n\n}\n/**\n * Object Type Definition\n *\n * Almost all of the GraphQL types you define will be object types. Object types\n * have a name, but most importantly describe their fields.\n *\n * Example:\n *\n * ```ts\n * const AddressType = new GraphQLObjectType({\n * name: 'Address',\n * fields: {\n * street: { type: GraphQLString },\n * number: { type: GraphQLInt },\n * formatted: {\n * type: GraphQLString,\n * resolve(obj) {\n * return obj.number + ' ' + obj.street\n * }\n * }\n * }\n * });\n * ```\n *\n * When two types need to refer to each other, or a type needs to refer to\n * itself in a field, you can use a function expression (aka a closure or a\n * thunk) to supply the fields lazily.\n *\n * Example:\n *\n * ```ts\n * const PersonType = new GraphQLObjectType({\n * name: 'Person',\n * fields: () => ({\n * name: { type: GraphQLString },\n * bestFriend: { type: PersonType },\n * })\n * });\n * ```\n */\n\nexport class GraphQLObjectType {\n constructor(config) {\n var _config$extensionASTN2;\n\n this.name = assertName(config.name);\n this.description = config.description;\n this.isTypeOf = config.isTypeOf;\n this.extensions = toObjMap(config.extensions);\n this.astNode = config.astNode;\n this.extensionASTNodes = (_config$extensionASTN2 = config.extensionASTNodes) !== null && _config$extensionASTN2 !== void 0 ? _config$extensionASTN2 : [];\n\n this._fields = () => defineFieldMap(config);\n\n this._interfaces = () => defineInterfaces(config);\n\n config.isTypeOf == null || typeof config.isTypeOf === 'function' || devAssert(false, `${this.name} must provide \"isTypeOf\" as a function, ` + `but got: ${inspect(config.isTypeOf)}.`);\n }\n\n get [Symbol.toStringTag]() {\n return 'GraphQLObjectType';\n }\n\n getFields() {\n if (typeof this._fields === 'function') {\n this._fields = this._fields();\n }\n\n return this._fields;\n }\n\n getInterfaces() {\n if (typeof this._interfaces === 'function') {\n this._interfaces = this._interfaces();\n }\n\n return this._interfaces;\n }\n\n toConfig() {\n return {\n name: this.name,\n description: this.description,\n interfaces: this.getInterfaces(),\n fields: fieldsToFieldsConfig(this.getFields()),\n isTypeOf: this.isTypeOf,\n extensions: this.extensions,\n astNode: this.astNode,\n extensionASTNodes: this.extensionASTNodes\n };\n }\n\n toString() {\n return this.name;\n }\n\n toJSON() {\n return this.toString();\n }\n\n}\n\nfunction defineInterfaces(config) {\n var _config$interfaces;\n\n const interfaces = resolveReadonlyArrayThunk((_config$interfaces = config.interfaces) !== null && _config$interfaces !== void 0 ? _config$interfaces : []);\n Array.isArray(interfaces) || devAssert(false, `${config.name} interfaces must be an Array or a function which returns an Array.`);\n return interfaces;\n}\n\nfunction defineFieldMap(config) {\n const fieldMap = resolveObjMapThunk(config.fields);\n isPlainObj(fieldMap) || devAssert(false, `${config.name} fields must be an object with field names as keys or a function which returns such an object.`);\n return mapValue(fieldMap, (fieldConfig, fieldName) => {\n var _fieldConfig$args;\n\n isPlainObj(fieldConfig) || devAssert(false, `${config.name}.${fieldName} field config must be an object.`);\n fieldConfig.resolve == null || typeof fieldConfig.resolve === 'function' || devAssert(false, `${config.name}.${fieldName} field resolver must be a function if ` + `provided, but got: ${inspect(fieldConfig.resolve)}.`);\n const argsConfig = (_fieldConfig$args = fieldConfig.args) !== null && _fieldConfig$args !== void 0 ? _fieldConfig$args : {};\n isPlainObj(argsConfig) || devAssert(false, `${config.name}.${fieldName} args must be an object with argument names as keys.`);\n return {\n name: assertName(fieldName),\n description: fieldConfig.description,\n type: fieldConfig.type,\n args: defineArguments(argsConfig),\n resolve: fieldConfig.resolve,\n subscribe: fieldConfig.subscribe,\n deprecationReason: fieldConfig.deprecationReason,\n extensions: toObjMap(fieldConfig.extensions),\n astNode: fieldConfig.astNode\n };\n });\n}\n\nexport function defineArguments(config) {\n return Object.entries(config).map(([argName, argConfig]) => ({\n name: assertName(argName),\n description: argConfig.description,\n type: argConfig.type,\n defaultValue: argConfig.defaultValue,\n deprecationReason: argConfig.deprecationReason,\n extensions: toObjMap(argConfig.extensions),\n astNode: argConfig.astNode\n }));\n}\n\nfunction isPlainObj(obj) {\n return isObjectLike(obj) && !Array.isArray(obj);\n}\n\nfunction fieldsToFieldsConfig(fields) {\n return mapValue(fields, field => ({\n description: field.description,\n type: field.type,\n args: argsToArgsConfig(field.args),\n resolve: field.resolve,\n subscribe: field.subscribe,\n deprecationReason: field.deprecationReason,\n extensions: field.extensions,\n astNode: field.astNode\n }));\n}\n/**\n * @internal\n */\n\n\nexport function argsToArgsConfig(args) {\n return keyValMap(args, arg => arg.name, arg => ({\n description: arg.description,\n type: arg.type,\n defaultValue: arg.defaultValue,\n deprecationReason: arg.deprecationReason,\n extensions: arg.extensions,\n astNode: arg.astNode\n }));\n}\nexport function isRequiredArgument(arg) {\n return isNonNullType(arg.type) && arg.defaultValue === undefined;\n}\n/**\n * Interface Type Definition\n *\n * When a field can return one of a heterogeneous set of types, a Interface type\n * is used to describe what types are possible, what fields are in common across\n * all types, as well as a function to determine which type is actually used\n * when the field is resolved.\n *\n * Example:\n *\n * ```ts\n * const EntityType = new GraphQLInterfaceType({\n * name: 'Entity',\n * fields: {\n * name: { type: GraphQLString }\n * }\n * });\n * ```\n */\n\nexport class GraphQLInterfaceType {\n constructor(config) {\n var _config$extensionASTN3;\n\n this.name = assertName(config.name);\n this.description = config.description;\n this.resolveType = config.resolveType;\n this.extensions = toObjMap(config.extensions);\n this.astNode = config.astNode;\n this.extensionASTNodes = (_config$extensionASTN3 = config.extensionASTNodes) !== null && _config$extensionASTN3 !== void 0 ? _config$extensionASTN3 : [];\n this._fields = defineFieldMap.bind(undefined, config);\n this._interfaces = defineInterfaces.bind(undefined, config);\n config.resolveType == null || typeof config.resolveType === 'function' || devAssert(false, `${this.name} must provide \"resolveType\" as a function, ` + `but got: ${inspect(config.resolveType)}.`);\n }\n\n get [Symbol.toStringTag]() {\n return 'GraphQLInterfaceType';\n }\n\n getFields() {\n if (typeof this._fields === 'function') {\n this._fields = this._fields();\n }\n\n return this._fields;\n }\n\n getInterfaces() {\n if (typeof this._interfaces === 'function') {\n this._interfaces = this._interfaces();\n }\n\n return this._interfaces;\n }\n\n toConfig() {\n return {\n name: this.name,\n description: this.description,\n interfaces: this.getInterfaces(),\n fields: fieldsToFieldsConfig(this.getFields()),\n resolveType: this.resolveType,\n extensions: this.extensions,\n astNode: this.astNode,\n extensionASTNodes: this.extensionASTNodes\n };\n }\n\n toString() {\n return this.name;\n }\n\n toJSON() {\n return this.toString();\n }\n\n}\n/**\n * Union Type Definition\n *\n * When a field can return one of a heterogeneous set of types, a Union type\n * is used to describe what types are possible as well as providing a function\n * to determine which type is actually used when the field is resolved.\n *\n * Example:\n *\n * ```ts\n * const PetType = new GraphQLUnionType({\n * name: 'Pet',\n * types: [ DogType, CatType ],\n * resolveType(value) {\n * if (value instanceof Dog) {\n * return DogType;\n * }\n * if (value instanceof Cat) {\n * return CatType;\n * }\n * }\n * });\n * ```\n */\n\nexport class GraphQLUnionType {\n constructor(config) {\n var _config$extensionASTN4;\n\n this.name = assertName(config.name);\n this.description = config.description;\n this.resolveType = config.resolveType;\n this.extensions = toObjMap(config.extensions);\n this.astNode = config.astNode;\n this.extensionASTNodes = (_config$extensionASTN4 = config.extensionASTNodes) !== null && _config$extensionASTN4 !== void 0 ? _config$extensionASTN4 : [];\n this._types = defineTypes.bind(undefined, config);\n config.resolveType == null || typeof config.resolveType === 'function' || devAssert(false, `${this.name} must provide \"resolveType\" as a function, ` + `but got: ${inspect(config.resolveType)}.`);\n }\n\n get [Symbol.toStringTag]() {\n return 'GraphQLUnionType';\n }\n\n getTypes() {\n if (typeof this._types === 'function') {\n this._types = this._types();\n }\n\n return this._types;\n }\n\n toConfig() {\n return {\n name: this.name,\n description: this.description,\n types: this.getTypes(),\n resolveType: this.resolveType,\n extensions: this.extensions,\n astNode: this.astNode,\n extensionASTNodes: this.extensionASTNodes\n };\n }\n\n toString() {\n return this.name;\n }\n\n toJSON() {\n return this.toString();\n }\n\n}\n\nfunction defineTypes(config) {\n const types = resolveReadonlyArrayThunk(config.types);\n Array.isArray(types) || devAssert(false, `Must provide Array of types or a function which returns such an array for Union ${config.name}.`);\n return types;\n}\n/**\n * Enum Type Definition\n *\n * Some leaf values of requests and input values are Enums. GraphQL serializes\n * Enum values as strings, however internally Enums can be represented by any\n * kind of type, often integers.\n *\n * Example:\n *\n * ```ts\n * const RGBType = new GraphQLEnumType({\n * name: 'RGB',\n * values: {\n * RED: { value: 0 },\n * GREEN: { value: 1 },\n * BLUE: { value: 2 }\n * }\n * });\n * ```\n *\n * Note: If a value is not provided in a definition, the name of the enum value\n * will be used as its internal value.\n */\n\n\nexport class GraphQLEnumType {\n /* */\n constructor(config) {\n var _config$extensionASTN5;\n\n this.name = assertName(config.name);\n this.description = config.description;\n this.extensions = toObjMap(config.extensions);\n this.astNode = config.astNode;\n this.extensionASTNodes = (_config$extensionASTN5 = config.extensionASTNodes) !== null && _config$extensionASTN5 !== void 0 ? _config$extensionASTN5 : [];\n this._values = defineEnumValues(this.name, config.values);\n this._valueLookup = new Map(this._values.map(enumValue => [enumValue.value, enumValue]));\n this._nameLookup = keyMap(this._values, value => value.name);\n }\n\n get [Symbol.toStringTag]() {\n return 'GraphQLEnumType';\n }\n\n getValues() {\n return this._values;\n }\n\n getValue(name) {\n return this._nameLookup[name];\n }\n\n serialize(outputValue) {\n const enumValue = this._valueLookup.get(outputValue);\n\n if (enumValue === undefined) {\n throw new GraphQLError(`Enum \"${this.name}\" cannot represent value: ${inspect(outputValue)}`);\n }\n\n return enumValue.name;\n }\n\n parseValue(inputValue)\n /* T */\n {\n if (typeof inputValue !== 'string') {\n const valueStr = inspect(inputValue);\n throw new GraphQLError(`Enum \"${this.name}\" cannot represent non-string value: ${valueStr}.` + didYouMeanEnumValue(this, valueStr));\n }\n\n const enumValue = this.getValue(inputValue);\n\n if (enumValue == null) {\n throw new GraphQLError(`Value \"${inputValue}\" does not exist in \"${this.name}\" enum.` + didYouMeanEnumValue(this, inputValue));\n }\n\n return enumValue.value;\n }\n\n parseLiteral(valueNode, _variables)\n /* T */\n {\n // Note: variables will be resolved to a value before calling this function.\n if (valueNode.kind !== Kind.ENUM) {\n const valueStr = print(valueNode);\n throw new GraphQLError(`Enum \"${this.name}\" cannot represent non-enum value: ${valueStr}.` + didYouMeanEnumValue(this, valueStr), {\n nodes: valueNode\n });\n }\n\n const enumValue = this.getValue(valueNode.value);\n\n if (enumValue == null) {\n const valueStr = print(valueNode);\n throw new GraphQLError(`Value \"${valueStr}\" does not exist in \"${this.name}\" enum.` + didYouMeanEnumValue(this, valueStr), {\n nodes: valueNode\n });\n }\n\n return enumValue.value;\n }\n\n toConfig() {\n const values = keyValMap(this.getValues(), value => value.name, value => ({\n description: value.description,\n value: value.value,\n deprecationReason: value.deprecationReason,\n extensions: value.extensions,\n astNode: value.astNode\n }));\n return {\n name: this.name,\n description: this.description,\n values,\n extensions: this.extensions,\n astNode: this.astNode,\n extensionASTNodes: this.extensionASTNodes\n };\n }\n\n toString() {\n return this.name;\n }\n\n toJSON() {\n return this.toString();\n }\n\n}\n\nfunction didYouMeanEnumValue(enumType, unknownValueStr) {\n const allNames = enumType.getValues().map(value => value.name);\n const suggestedValues = suggestionList(unknownValueStr, allNames);\n return didYouMean('the enum value', suggestedValues);\n}\n\nfunction defineEnumValues(typeName, valueMap) {\n isPlainObj(valueMap) || devAssert(false, `${typeName} values must be an object with value names as keys.`);\n return Object.entries(valueMap).map(([valueName, valueConfig]) => {\n isPlainObj(valueConfig) || devAssert(false, `${typeName}.${valueName} must refer to an object with a \"value\" key ` + `representing an internal value but got: ${inspect(valueConfig)}.`);\n return {\n name: assertEnumValueName(valueName),\n description: valueConfig.description,\n value: valueConfig.value !== undefined ? valueConfig.value : valueName,\n deprecationReason: valueConfig.deprecationReason,\n extensions: toObjMap(valueConfig.extensions),\n astNode: valueConfig.astNode\n };\n });\n}\n/**\n * Input Object Type Definition\n *\n * An input object defines a structured collection of fields which may be\n * supplied to a field argument.\n *\n * Using `NonNull` will ensure that a value must be provided by the query\n *\n * Example:\n *\n * ```ts\n * const GeoPoint = new GraphQLInputObjectType({\n * name: 'GeoPoint',\n * fields: {\n * lat: { type: new GraphQLNonNull(GraphQLFloat) },\n * lon: { type: new GraphQLNonNull(GraphQLFloat) },\n * alt: { type: GraphQLFloat, defaultValue: 0 },\n * }\n * });\n * ```\n */\n\n\nexport class GraphQLInputObjectType {\n constructor(config) {\n var _config$extensionASTN6;\n\n this.name = assertName(config.name);\n this.description = config.description;\n this.extensions = toObjMap(config.extensions);\n this.astNode = config.astNode;\n this.extensionASTNodes = (_config$extensionASTN6 = config.extensionASTNodes) !== null && _config$extensionASTN6 !== void 0 ? _config$extensionASTN6 : [];\n this._fields = defineInputFieldMap.bind(undefined, config);\n }\n\n get [Symbol.toStringTag]() {\n return 'GraphQLInputObjectType';\n }\n\n getFields() {\n if (typeof this._fields === 'function') {\n this._fields = this._fields();\n }\n\n return this._fields;\n }\n\n toConfig() {\n const fields = mapValue(this.getFields(), field => ({\n description: field.description,\n type: field.type,\n defaultValue: field.defaultValue,\n deprecationReason: field.deprecationReason,\n extensions: field.extensions,\n astNode: field.astNode\n }));\n return {\n name: this.name,\n description: this.description,\n fields,\n extensions: this.extensions,\n astNode: this.astNode,\n extensionASTNodes: this.extensionASTNodes\n };\n }\n\n toString() {\n return this.name;\n }\n\n toJSON() {\n return this.toString();\n }\n\n}\n\nfunction defineInputFieldMap(config) {\n const fieldMap = resolveObjMapThunk(config.fields);\n isPlainObj(fieldMap) || devAssert(false, `${config.name} fields must be an object with field names as keys or a function which returns such an object.`);\n return mapValue(fieldMap, (fieldConfig, fieldName) => {\n !('resolve' in fieldConfig) || devAssert(false, `${config.name}.${fieldName} field has a resolve property, but Input Types cannot define resolvers.`);\n return {\n name: assertName(fieldName),\n description: fieldConfig.description,\n type: fieldConfig.type,\n defaultValue: fieldConfig.defaultValue,\n deprecationReason: fieldConfig.deprecationReason,\n extensions: toObjMap(fieldConfig.extensions),\n astNode: fieldConfig.astNode\n };\n });\n}\n\nexport function isRequiredInputField(field) {\n return isNonNullType(field.type) && field.defaultValue === undefined;\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/25e88d8bc55132a9ba95868de62ea5b1.json b/.angular/cache/14.2.11/babel-webpack/25e88d8bc55132a9ba95868de62ea5b1.json new file mode 100644 index 0000000000..dc3719a3f3 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/25e88d8bc55132a9ba95868de62ea5b1.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { inspect } from './inspect.mjs';\n/**\n * A replacement for instanceof which includes an error warning when multi-realm\n * constructors are detected.\n * See: https://expressjs.com/en/advanced/best-practice-performance.html#set-node_env-to-production\n * See: https://webpack.js.org/guides/production/\n */\n\nexport const instanceOf =\n/* c8 ignore next 6 */\n// FIXME: https://github.com/graphql/graphql-js/issues/2317\nglobalThis.process && globalThis.process.env.NODE_ENV === 'production' ? function instanceOf(value, constructor) {\n return value instanceof constructor;\n} : function instanceOf(value, constructor) {\n if (value instanceof constructor) {\n return true;\n }\n\n if (typeof value === 'object' && value !== null) {\n var _value$constructor; // Prefer Symbol.toStringTag since it is immune to minification.\n\n\n const className = constructor.prototype[Symbol.toStringTag];\n const valueClassName = // We still need to support constructor's name to detect conflicts with older versions of this library.\n Symbol.toStringTag in value // @ts-expect-error TS bug see, https://github.com/microsoft/TypeScript/issues/38009\n ? value[Symbol.toStringTag] : (_value$constructor = value.constructor) === null || _value$constructor === void 0 ? void 0 : _value$constructor.name;\n\n if (className === valueClassName) {\n const stringifiedValue = inspect(value);\n throw new Error(`Cannot use ${className} \"${stringifiedValue}\" from another module or realm.\n\nEnsure that there is only one instance of \"graphql\" in the node_modules\ndirectory. If different versions of \"graphql\" are the dependencies of other\nrelied on modules, use \"resolutions\" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate \"graphql\" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`);\n }\n }\n\n return false;\n};","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/26f21624df5e85ab680797c448d11094.json b/.angular/cache/14.2.11/babel-webpack/26f21624df5e85ab680797c448d11094.json new file mode 100644 index 0000000000..d7a35660a2 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/26f21624df5e85ab680797c448d11094.json @@ -0,0 +1 @@ +{"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\n if (innerSub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n } else {\n syncUnsub = true;\n }\n }));\n\n if (syncUnsub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n }\n });\n} //# sourceMappingURL=catchError.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/2760a3a13a406e7584c45668f65ea766.json b/.angular/cache/14.2.11/babel-webpack/2760a3a13a406e7584c45668f65ea766.json new file mode 100644 index 0000000000..7365112bae --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/2760a3a13a406e7584c45668f65ea766.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { ApolloLink } from \"./ApolloLink.js\";\nexport var concat = ApolloLink.concat; //# sourceMappingURL=concat.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/27acddd58e58844aea7303c991c1720f.json b/.angular/cache/14.2.11/babel-webpack/27acddd58e58844aea7303c991c1720f.json new file mode 100644 index 0000000000..59adf40b04 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/27acddd58e58844aea7303c991c1720f.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { operate } from '../util/lift';\nimport { scanInternals } from './scanInternals';\nexport function scan(accumulator, seed) {\n return operate(scanInternals(accumulator, seed, arguments.length >= 2, true));\n} //# sourceMappingURL=scan.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/27fec1790a2dee78ab4603237df30355.json b/.angular/cache/14.2.11/babel-webpack/27fec1790a2dee78ab4603237df30355.json new file mode 100644 index 0000000000..069396ca03 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/27fec1790a2dee78ab4603237df30355.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n *\n * carbon-angular v0.0.0 | carbon-components-angular-pagination.js\n *\n * Copyright 2014, 2023 IBM\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { ExperimentalService, ExperimentalModule } from 'carbon-components-angular/experimental';\nimport { merge } from 'carbon-components-angular/utils';\nimport { range } from 'carbon-components-angular/common';\nimport { Component, Input, Output, EventEmitter, NgModule } from '@angular/core';\nimport { I18n, I18nModule } from 'carbon-components-angular/i18n';\nimport { IconModule } from 'carbon-components-angular/icon';\nimport { ButtonModule } from 'carbon-components-angular/forms';\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from 'carbon-components-angular/i18n';\nimport * as ɵngcc2 from 'carbon-components-angular/experimental';\nimport * as ɵngcc3 from '@angular/common';\nimport * as ɵngcc4 from '@angular/forms';\nimport * as ɵngcc5 from 'carbon-components-angular/icon';\nimport * as ɵngcc6 from 'carbon-components-angular/forms';\n\nfunction Pagination_div_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"div\", 3);\n ɵngcc0.ɵɵelement(1, \"p\", 4)(2, \"p\", 5)(3, \"p\", 6);\n ɵngcc0.ɵɵelementEnd();\n }\n}\n\nfunction Pagination_div_2_ng_container_1_option_6_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"option\", 14);\n ɵngcc0.ɵɵtext(1);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const option_r9 = ctx.$implicit;\n ɵngcc0.ɵɵproperty(\"value\", option_r9);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate1(\" \", option_r9, \" \");\n }\n}\n\nfunction Pagination_div_2_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r11 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵelementContainerStart(0);\n ɵngcc0.ɵɵelementStart(1, \"label\", 9);\n ɵngcc0.ɵɵtext(2);\n ɵngcc0.ɵɵpipe(3, \"async\");\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵelementStart(4, \"div\", 10)(5, \"select\", 11);\n ɵngcc0.ɵɵlistener(\"ngModelChange\", function Pagination_div_2_ng_container_1_Template_select_ngModelChange_5_listener($event) {\n ɵngcc0.ɵɵrestoreView(_r11);\n const ctx_r10 = ɵngcc0.ɵɵnextContext(2);\n return ɵngcc0.ɵɵresetView(ctx_r10.itemsPerPage = $event);\n });\n ɵngcc0.ɵɵtemplate(6, Pagination_div_2_ng_container_1_option_6_Template, 2, 2, \"option\", 12);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelement(7, \"svg\", 13);\n ɵngcc0.ɵɵpipe(8, \"async\");\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵelementContainerEnd();\n }\n\n if (rf & 2) {\n const ctx_r4 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"for\", ctx_r4.itemsPerPageSelectId);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(3, 9, ctx_r4.itemsPerPageText.subject), \" \");\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵclassProp(\"bx--select--disabled\", ctx_r4.pageInputDisabled);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"id\", ctx_r4.itemsPerPageSelectId)(\"ngModel\", ctx_r4.itemsPerPage)(\"disabled\", ctx_r4.pageInputDisabled);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r4.itemsPerPageOptions);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵattribute(\"ariaLabel\", ɵngcc0.ɵɵpipeBind1(8, 11, ctx_r4.optionsListText.subject));\n }\n}\n\nconst _c0 = function (a0) {\n return {\n \"margin-left\": a0\n };\n};\n\nconst _c1 = function (a0, a1, a2) {\n return {\n start: a0,\n end: a1,\n total: a2\n };\n};\n\nfunction Pagination_div_2_span_2_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"span\", 15);\n ɵngcc0.ɵɵtext(1);\n ɵngcc0.ɵɵpipe(2, \"async\");\n ɵngcc0.ɵɵpipe(3, \"i18nReplace\");\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r5 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵproperty(\"ngStyle\", ɵngcc0.ɵɵpureFunction1(7, _c0, ctx_r5.showPageInput ? null : 0));\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(2, 2, ɵngcc0.ɵɵpipeBind2(3, 4, ctx_r5.totalItemText.subject, ɵngcc0.ɵɵpureFunction3(9, _c1, ctx_r5.startItemIndex, ctx_r5.endItemIndex, ctx_r5.totalDataLength))), \" \");\n }\n}\n\nfunction Pagination_div_2_span_3_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"span\", 15);\n ɵngcc0.ɵɵtext(1);\n ɵngcc0.ɵɵpipe(2, \"async\");\n ɵngcc0.ɵɵpipe(3, \"i18nReplace\");\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r6 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵproperty(\"ngStyle\", ɵngcc0.ɵɵpureFunction1(7, _c0, ctx_r6.showPageInput ? null : 0));\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(2, 2, ɵngcc0.ɵɵpipeBind2(3, 4, ctx_r6.totalItemsText.subject, ɵngcc0.ɵɵpureFunction3(9, _c1, ctx_r6.startItemIndex, ctx_r6.endItemIndex, ctx_r6.totalDataLength))), \" \");\n }\n}\n\nconst _c2 = function (a0, a1) {\n return {\n start: a0,\n end: a1\n };\n};\n\nfunction Pagination_div_2_span_4_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"span\", 15);\n ɵngcc0.ɵɵtext(1);\n ɵngcc0.ɵɵpipe(2, \"async\");\n ɵngcc0.ɵɵpipe(3, \"i18nReplace\");\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r7 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵproperty(\"ngStyle\", ɵngcc0.ɵɵpureFunction1(7, _c0, ctx_r7.showPageInput ? null : 0));\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(2, 2, ɵngcc0.ɵɵpipeBind2(3, 4, ctx_r7.totalItemsUnknownText.subject, ɵngcc0.ɵɵpureFunction2(9, _c2, ctx_r7.startItemIndex, ctx_r7.endItemIndex))), \" \");\n }\n}\n\nfunction Pagination_div_2_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"div\", 3);\n ɵngcc0.ɵɵtemplate(1, Pagination_div_2_ng_container_1_Template, 9, 13, \"ng-container\", 7);\n ɵngcc0.ɵɵtemplate(2, Pagination_div_2_span_2_Template, 4, 13, \"span\", 8);\n ɵngcc0.ɵɵtemplate(3, Pagination_div_2_span_3_Template, 4, 13, \"span\", 8);\n ɵngcc0.ɵɵtemplate(4, Pagination_div_2_span_4_Template, 4, 12, \"span\", 8);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r1 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r1.showPageInput);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r1.pagesUnknown && ctx_r1.totalDataLength <= 1);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r1.pagesUnknown && ctx_r1.totalDataLength > 1);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r1.pagesUnknown);\n }\n}\n\nfunction Pagination_div_3_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"div\", 16);\n ɵngcc0.ɵɵelement(1, \"p\", 4);\n ɵngcc0.ɵɵelementEnd();\n }\n}\n\nfunction Pagination_div_4_ng_container_1_input_5_Template(rf, ctx) {\n if (rf & 1) {\n const _r20 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵelementStart(0, \"input\", 28);\n ɵngcc0.ɵɵlistener(\"ngModelChange\", function Pagination_div_4_ng_container_1_input_5_Template_input_ngModelChange_0_listener($event) {\n ɵngcc0.ɵɵrestoreView(_r20);\n const ctx_r19 = ɵngcc0.ɵɵnextContext(3);\n return ɵngcc0.ɵɵresetView(ctx_r19.currentPage = $event);\n });\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r16 = ɵngcc0.ɵɵnextContext(3);\n ɵngcc0.ɵɵproperty(\"id\", ctx_r16.currentPageSelectId)(\"max\", ctx_r16.pageOptions.length)(\"ngModel\", ctx_r16.currentPage);\n }\n}\n\nfunction Pagination_div_4_ng_container_1_select_6_option_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"option\", 14);\n ɵngcc0.ɵɵtext(1);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const i_r23 = ctx.index;\n ɵngcc0.ɵɵproperty(\"value\", i_r23 + 1);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate(i_r23 + 1);\n }\n}\n\nfunction Pagination_div_4_ng_container_1_select_6_Template(rf, ctx) {\n if (rf & 1) {\n const _r25 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵelementStart(0, \"select\", 29);\n ɵngcc0.ɵɵlistener(\"ngModelChange\", function Pagination_div_4_ng_container_1_select_6_Template_select_ngModelChange_0_listener($event) {\n ɵngcc0.ɵɵrestoreView(_r25);\n const ctx_r24 = ɵngcc0.ɵɵnextContext(3);\n return ɵngcc0.ɵɵresetView(ctx_r24.currentPage = $event);\n });\n ɵngcc0.ɵɵtemplate(1, Pagination_div_4_ng_container_1_select_6_option_1_Template, 2, 2, \"option\", 12);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r17 = ɵngcc0.ɵɵnextContext(3);\n ɵngcc0.ɵɵproperty(\"id\", ctx_r17.currentPageSelectId)(\"disabled\", ctx_r17.pageInputDisabled)(\"ngModel\", ctx_r17.currentPage);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r17.pageOptions);\n }\n}\n\nfunction Pagination_div_4_ng_container_1__svg_svg_7_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelement(0, \"svg\", 30);\n ɵngcc0.ɵɵpipe(1, \"async\");\n }\n\n if (rf & 2) {\n const ctx_r18 = ɵngcc0.ɵɵnextContext(3);\n ɵngcc0.ɵɵattribute(\"ariaLabel\", ɵngcc0.ɵɵpipeBind1(1, 1, ctx_r18.optionsListText.subject));\n }\n}\n\nfunction Pagination_div_4_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementContainerStart(0);\n ɵngcc0.ɵɵelementStart(1, \"div\", 23)(2, \"label\", 24);\n ɵngcc0.ɵɵtext(3);\n ɵngcc0.ɵɵpipe(4, \"async\");\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵtemplate(5, Pagination_div_4_ng_container_1_input_5_Template, 1, 3, \"input\", 25);\n ɵngcc0.ɵɵtemplate(6, Pagination_div_4_ng_container_1_select_6_Template, 2, 4, \"select\", 26);\n ɵngcc0.ɵɵtemplate(7, Pagination_div_4_ng_container_1__svg_svg_7_Template, 2, 3, \"svg\", 27);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵelementContainerEnd();\n }\n\n if (rf & 2) {\n const ctx_r12 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵclassProp(\"bx--select--disabled\", ctx_r12.pageInputDisabled);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"for\", ctx_r12.currentPageSelectId);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(4, 7, ctx_r12.pageText.subject));\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r12.pageOptions.length > ctx_r12.pageSelectThreshold);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r12.pageOptions.length <= ctx_r12.pageSelectThreshold);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r12.pageOptions.length <= 1000);\n }\n}\n\nfunction Pagination_div_4_span_2_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementContainerStart(0);\n ɵngcc0.ɵɵtext(1);\n ɵngcc0.ɵɵelementContainerEnd();\n }\n\n if (rf & 2) {\n const ctx_r26 = ɵngcc0.ɵɵnextContext(3);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate(ctx_r26.currentPage);\n }\n}\n\nconst _c3 = function (a0) {\n return {\n last: a0\n };\n};\n\nfunction Pagination_div_4_span_2_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"span\", 31);\n ɵngcc0.ɵɵtemplate(1, Pagination_div_4_span_2_ng_container_1_Template, 2, 1, \"ng-container\", 7);\n ɵngcc0.ɵɵtext(2);\n ɵngcc0.ɵɵpipe(3, \"async\");\n ɵngcc0.ɵɵpipe(4, \"i18nReplace\");\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r13 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r13.showPageInput);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(3, 2, ɵngcc0.ɵɵpipeBind2(4, 4, ctx_r13.ofLastPageText.subject, ɵngcc0.ɵɵpureFunction1(7, _c3, ctx_r13.lastPage))), \" \");\n }\n}\n\nfunction Pagination_div_4_span_3_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementContainerStart(0);\n ɵngcc0.ɵɵtext(1);\n ɵngcc0.ɵɵelementContainerEnd();\n }\n\n if (rf & 2) {\n const ctx_r27 = ɵngcc0.ɵɵnextContext(3);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate(ctx_r27.currentPage);\n }\n}\n\nfunction Pagination_div_4_span_3_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"span\", 31);\n ɵngcc0.ɵɵtemplate(1, Pagination_div_4_span_3_ng_container_1_Template, 2, 1, \"ng-container\", 7);\n ɵngcc0.ɵɵtext(2);\n ɵngcc0.ɵɵpipe(3, \"async\");\n ɵngcc0.ɵɵpipe(4, \"i18nReplace\");\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r14 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r14.showPageInput);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate1(\" \", ɵngcc0.ɵɵpipeBind1(3, 2, ɵngcc0.ɵɵpipeBind2(4, 4, ctx_r14.ofLastPagesText.subject, ɵngcc0.ɵɵpureFunction1(7, _c3, ctx_r14.lastPage))), \" \");\n }\n}\n\nfunction Pagination_div_4_span_4_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementContainerStart(0);\n ɵngcc0.ɵɵtext(1);\n ɵngcc0.ɵɵelementContainerEnd();\n }\n\n if (rf & 2) {\n const ctx_r28 = ɵngcc0.ɵɵnextContext(3);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate(ctx_r28.currentPage);\n }\n}\n\nfunction Pagination_div_4_span_4_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"span\", 31);\n ɵngcc0.ɵɵtemplate(1, Pagination_div_4_span_4_ng_container_1_Template, 2, 1, \"ng-container\", 7);\n ɵngcc0.ɵɵtext(2);\n ɵngcc0.ɵɵpipe(3, \"async\");\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r15 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r15.showPageInput);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate2(\" \", ɵngcc0.ɵɵpipeBind1(3, 3, ctx_r15.pageText.subject), \" \", ctx_r15.currentPage, \" \");\n }\n}\n\nconst _c4 = function (a0) {\n return {\n \"bx--pagination__button--no-index\": a0\n };\n};\n\nfunction Pagination_div_4_Template(rf, ctx) {\n if (rf & 1) {\n const _r30 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵelementStart(0, \"div\", 16);\n ɵngcc0.ɵɵtemplate(1, Pagination_div_4_ng_container_1_Template, 8, 9, \"ng-container\", 7);\n ɵngcc0.ɵɵtemplate(2, Pagination_div_4_span_2_Template, 5, 9, \"span\", 17);\n ɵngcc0.ɵɵtemplate(3, Pagination_div_4_span_3_Template, 5, 9, \"span\", 17);\n ɵngcc0.ɵɵtemplate(4, Pagination_div_4_span_4_Template, 4, 5, \"span\", 17);\n ɵngcc0.ɵɵelementStart(5, \"div\", 18)(6, \"button\", 19);\n ɵngcc0.ɵɵlistener(\"click\", function Pagination_div_4_Template_button_click_6_listener() {\n ɵngcc0.ɵɵrestoreView(_r30);\n const ctx_r29 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r29.selectPage.emit(ctx_r29.previousPage));\n });\n ɵngcc0.ɵɵpipe(7, \"async\");\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelement(8, \"svg\", 20);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵnamespaceHTML();\n ɵngcc0.ɵɵelementStart(9, \"button\", 21);\n ɵngcc0.ɵɵlistener(\"click\", function Pagination_div_4_Template_button_click_9_listener() {\n ɵngcc0.ɵɵrestoreView(_r30);\n const ctx_r31 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r31.selectPage.emit(ctx_r31.nextPage));\n });\n ɵngcc0.ɵɵpipe(10, \"async\");\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelement(11, \"svg\", 22);\n ɵngcc0.ɵɵelementEnd()()();\n }\n\n if (rf & 2) {\n const ctx_r3 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r3.showPageInput);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r3.pagesUnknown && ctx_r3.lastPage <= 1);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx_r3.pagesUnknown && ctx_r3.lastPage > 1);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx_r3.pagesUnknown);\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(14, _c4, ctx_r3.currentPage <= 1 || ctx_r3.disabled))(\"disabled\", ctx_r3.currentPage <= 1 || ctx_r3.disabled ? true : null);\n ɵngcc0.ɵɵattribute(\"aria-label\", ɵngcc0.ɵɵpipeBind1(7, 10, ctx_r3.backwardText.subject));\n ɵngcc0.ɵɵadvance(3);\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(16, _c4, ctx_r3.currentPage >= ctx_r3.lastPage || ctx_r3.disabled))(\"disabled\", ctx_r3.currentPage >= ctx_r3.lastPage || ctx_r3.disabled ? true : null);\n ɵngcc0.ɵɵattribute(\"aria-label\", ɵngcc0.ɵɵpipeBind1(10, 12, ctx_r3.forwardText.subject));\n }\n}\n\nconst _c5 = function (a0) {\n return {\n \"bx--skeleton\": a0\n };\n};\n\nfunction PaginationNav_ibm_pagination_nav_item_9_Template(rf, ctx) {\n if (rf & 1) {\n const _r6 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵnamespaceHTML();\n ɵngcc0.ɵɵelementStart(0, \"ibm-pagination-nav-item\", 12);\n ɵngcc0.ɵɵlistener(\"click\", function PaginationNav_ibm_pagination_nav_item_9_Template_ibm_pagination_nav_item_click_0_listener() {\n ɵngcc0.ɵɵrestoreView(_r6);\n const ctx_r5 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r5.currentPage = 1);\n });\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r0 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵproperty(\"isActive\", ctx_r0.currentPage == 1);\n }\n}\n\nfunction PaginationNav_ibm_pagination_overflow_10_Template(rf, ctx) {\n if (rf & 1) {\n const _r8 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵnamespaceHTML();\n ɵngcc0.ɵɵelementStart(0, \"ibm-pagination-overflow\", 13);\n ɵngcc0.ɵɵlistener(\"change\", function PaginationNav_ibm_pagination_overflow_10_Template_ibm_pagination_overflow_change_0_listener($event) {\n ɵngcc0.ɵɵrestoreView(_r8);\n const ctx_r7 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r7.handleOverflowSelection($event));\n });\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r1 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵproperty(\"count\", ctx_r1.frontCuts)(\"fromIndex\", ctx_r1.startOffset);\n }\n}\n\nfunction PaginationNav_ibm_pagination_nav_item_11_Template(rf, ctx) {\n if (rf & 1) {\n const _r11 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵnamespaceHTML();\n ɵngcc0.ɵɵelementStart(0, \"ibm-pagination-nav-item\", 14);\n ɵngcc0.ɵɵlistener(\"click\", function PaginationNav_ibm_pagination_nav_item_11_Template_ibm_pagination_nav_item_click_0_listener() {\n const restoredCtx = ɵngcc0.ɵɵrestoreView(_r11);\n const page_r9 = restoredCtx.$implicit;\n const ctx_r10 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r10.currentPage = page_r9);\n });\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const page_r9 = ctx.$implicit;\n const ctx_r2 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵproperty(\"page\", page_r9)(\"isActive\", ctx_r2.currentPage == page_r9);\n }\n}\n\nfunction PaginationNav_ibm_pagination_overflow_12_Template(rf, ctx) {\n if (rf & 1) {\n const _r13 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵnamespaceHTML();\n ɵngcc0.ɵɵelementStart(0, \"ibm-pagination-overflow\", 13);\n ɵngcc0.ɵɵlistener(\"change\", function PaginationNav_ibm_pagination_overflow_12_Template_ibm_pagination_overflow_change_0_listener($event) {\n ɵngcc0.ɵɵrestoreView(_r13);\n const ctx_r12 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r12.handleOverflowSelection($event));\n });\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r3 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵproperty(\"count\", ctx_r3.backCuts)(\"fromIndex\", ctx_r3.totalNumbersArray.length - ctx_r3.backCuts - 1);\n }\n}\n\nfunction PaginationNav_ibm_pagination_nav_item_13_Template(rf, ctx) {\n if (rf & 1) {\n const _r15 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵnamespaceHTML();\n ɵngcc0.ɵɵelementStart(0, \"ibm-pagination-nav-item\", 14);\n ɵngcc0.ɵɵlistener(\"click\", function PaginationNav_ibm_pagination_nav_item_13_Template_ibm_pagination_nav_item_click_0_listener() {\n ɵngcc0.ɵɵrestoreView(_r15);\n const ctx_r14 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r14.currentPage = ctx_r14.totalNumbersArray.length);\n });\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const ctx_r4 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵproperty(\"page\", ctx_r4.totalNumbersArray.length)(\"isActive\", ctx_r4.currentPage == ctx_r4.totalNumbersArray.length);\n }\n}\n\nconst _c6 = function (a0) {\n return {\n \"bx--pagination-nav__page--active\": a0\n };\n};\n\nfunction PaginationOverflow_li_0_option_4_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"option\");\n ɵngcc0.ɵɵtext(1);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n const i_r4 = ctx.index;\n const ctx_r2 = ɵngcc0.ɵɵnextContext(2);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate1(\" \", ctx_r2.fromIndex + i_r4 + 1, \" \");\n }\n}\n\nfunction PaginationOverflow_li_0_Template(rf, ctx) {\n if (rf & 1) {\n const _r6 = ɵngcc0.ɵɵgetCurrentView();\n\n ɵngcc0.ɵɵelementStart(0, \"li\", 2)(1, \"div\", 3)(2, \"select\", 4);\n ɵngcc0.ɵɵlistener(\"change\", function PaginationOverflow_li_0_Template_select_change_2_listener($event) {\n ɵngcc0.ɵɵrestoreView(_r6);\n const ctx_r5 = ɵngcc0.ɵɵnextContext();\n return ɵngcc0.ɵɵresetView(ctx_r5.handleChange($event));\n });\n ɵngcc0.ɵɵelement(3, \"option\", 5);\n ɵngcc0.ɵɵtemplate(4, PaginationOverflow_li_0_option_4_Template, 2, 1, \"option\", 6);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵelementStart(5, \"div\", 7);\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelement(6, \"svg\", 8);\n ɵngcc0.ɵɵelementEnd()()();\n }\n\n if (rf & 2) {\n const ctx_r0 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵattribute(\"aria-label\", ctx_r0.ariaLabel);\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵproperty(\"ngForOf\", ctx_r0.countAsArray);\n }\n}\n\nfunction PaginationOverflow_ibm_pagination_nav_item_1_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelement(0, \"ibm-pagination-nav-item\", 9);\n }\n\n if (rf & 2) {\n const ctx_r1 = ɵngcc0.ɵɵnextContext();\n ɵngcc0.ɵɵproperty(\"page\", ctx_r1.fromIndex + 1);\n }\n}\n\nclass PaginationModel {\n constructor() {\n /**\n * Tracks the current page.\n */\n this.currentPage = 1;\n /**\n * Length of page.\n */\n\n /* tslint:disable-next-line*/\n\n this.pageLength = 10;\n /**\n * Absolute total number of items needed to paginate.\n */\n\n this.totalDataLength = 0;\n }\n\n}\n/**\n * Use pagination when you have multiple pages of data to handle.\n *\n * [See demo](../../?path=/story/components-pagination--basic)\n *\n * ```html\n * \n * ```\n *\n * In your `selectPage()` method set the `model.currentPage` to selected page, _after_\n * you load the page.\n *\n * ```typescript\n * selectPage(page) {\n * \t// ... your code to load the page goes here\n *\n * \tthis.model.currentPage = page;\n *\n * \t// ... anything you want to do after page selection changes goes here\n * }\n * ```\n *\n * ../../iframe.html?id=components-pagination--basic\n */\n\n\nlet Pagination = /*#__PURE__*/(() => {\n class Pagination {\n constructor(i18n, experimental) {\n this.i18n = i18n;\n this.experimental = experimental;\n /**\n * Set to `true` for a loading pagination component.\n */\n\n this.skeleton = false;\n /**\n * Set to `true` to disable the backward/forward buttons.\n */\n\n this.disabled = false;\n /**\n * Set to `true` to disable the select box that changes the page.\n */\n\n this.pageInputDisabled = false;\n /**\n * Controls wether or not to show the page selects\n */\n\n this.showPageInput = true;\n /**\n * Set to `true` if the total number of items is unknown.\n */\n\n this.pagesUnknown = false;\n this.pageSelectThreshold = 1000;\n /**\n * Options for items per page select\n *\n * A default array of options will be defined: [10, 20, 30, 40, 50]\n */\n\n this.itemsPerPageOptions = [10, 20, 30, 40, 50];\n /**\n * Emits the new page number.\n *\n * You should tie into this and update `model.currentPage` once the fresh\n * data is finally loaded.\n */\n\n this.selectPage = new EventEmitter();\n this.itemsPerPageSelectId = `pagination-select-items-per-page-${Pagination.paginationCounter}`;\n this.currentPageSelectId = `pagination-select-current-page-${Pagination.paginationCounter}`;\n this.itemsPerPageText = this.i18n.getOverridable(\"PAGINATION.ITEMS_PER_PAGE\");\n this.optionsListText = this.i18n.getOverridable(\"PAGINATION.OPEN_LIST_OF_OPTIONS\");\n this.backwardText = this.i18n.getOverridable(\"PAGINATION.BACKWARD\");\n this.forwardText = this.i18n.getOverridable(\"PAGINATION.FORWARD\");\n this.totalItemsText = this.i18n.getOverridable(\"PAGINATION.TOTAL_ITEMS\");\n this.totalItemText = this.i18n.getOverridable(\"PAGINATION.TOTAL_ITEM\");\n this.totalItemsUnknownText = this.i18n.getOverridable(\"PAGINATION.TOTAL_ITEMS_UNKNOWN\");\n this.pageText = this.i18n.getOverridable(\"PAGINATION.PAGE\");\n this.ofLastPagesText = this.i18n.getOverridable(\"PAGINATION.OF_LAST_PAGES\");\n this.ofLastPageText = this.i18n.getOverridable(\"PAGINATION.OF_LAST_PAGE\");\n this._pageOptions = [];\n Pagination.paginationCounter++;\n }\n /**\n * Expects an object that contains some or all of:\n * ```\n * {\n *\t\t\"ITEMS_PER_PAGE\": \"Items per page:\",\n *\t\t\"OPEN_LIST_OF_OPTIONS\": \"Open list of options\",\n *\t\t\"BACKWARD\": \"Backward\",\n *\t\t\"FORWARD\": \"Forward\",\n *\t\t\"TOTAL_ITEMS_UNKNOWN\": \"{{start}}-{{end}} items\",\n *\t\t\"TOTAL_ITEMS\": \"{{start}}-{{end}} of {{total}} items\",\n *\t\t\"TOTAL_ITEM\": \"{{start}}-{{end}} of {{total}} item\",\n *\t\t\"OF_LAST_PAGES\": \"of {{last}} pages\",\n *\t\t\"OF_LAST_PAGE\": \"of {{last}} page\"\n * }\n * ```\n */\n\n\n set translations(value) {\n const valueWithDefaults = merge(this.i18n.getMultiple(\"PAGINATION\"), value);\n this.itemsPerPageText.override(valueWithDefaults.ITEMS_PER_PAGE);\n this.optionsListText.override(valueWithDefaults.OPEN_LIST_OF_OPTIONS);\n this.backwardText.override(valueWithDefaults.BACKWARD);\n this.forwardText.override(valueWithDefaults.FORWARD);\n this.totalItemsText.override(valueWithDefaults.TOTAL_ITEMS);\n this.totalItemText.override(valueWithDefaults.TOTAL_ITEM);\n this.totalItemsUnknownText.override(valueWithDefaults.TOTAL_ITEMS_UNKNOWN);\n this.pageText.override(valueWithDefaults.PAGE);\n this.ofLastPagesText.override(valueWithDefaults.OF_LAST_PAGES);\n this.ofLastPageText.override(valueWithDefaults.OF_LAST_PAGE);\n }\n\n get itemsPerPage() {\n return this.model.pageLength;\n }\n\n set itemsPerPage(value) {\n this.model.pageLength = Number(value);\n this.currentPage = 1; // reset page\n }\n\n get currentPage() {\n return this.model.currentPage;\n }\n\n set currentPage(value) {\n value = Number(value); // emits the value to allow the user to update current page\n // in the model once the page is loaded\n\n this.selectPage.emit(value);\n }\n\n get totalDataLength() {\n return this.model.totalDataLength;\n }\n /**\n * The last page number to display in the pagination view.\n */\n\n\n get lastPage() {\n const last = Math.ceil(this.totalDataLength / this.itemsPerPage);\n return last > 0 ? last : 1;\n }\n\n get startItemIndex() {\n return this.endItemIndex > 0 ? (this.currentPage - 1) * this.itemsPerPage + 1 : 0;\n }\n\n get endItemIndex() {\n const projectedEndItemIndex = this.currentPage * this.itemsPerPage;\n return projectedEndItemIndex < this.totalDataLength ? projectedEndItemIndex : this.totalDataLength;\n }\n /**\n * The previous page number to navigate to, from the current page.\n */\n\n\n get previousPage() {\n return this.currentPage <= 1 ? 1 : this.currentPage - 1;\n }\n /**\n * The next page number to navigate to, from the current page.\n */\n\n\n get nextPage() {\n const lastPage = this.lastPage;\n return this.currentPage >= lastPage ? lastPage : this.currentPage + 1;\n }\n\n get pageOptions() {\n if (this.totalDataLength && this._pageOptions.length !== this.totalDataLength) {\n this._pageOptions = Array(Math.ceil(this.totalDataLength / this.itemsPerPage));\n }\n\n return this._pageOptions;\n }\n\n }\n\n Pagination.ɵfac = function Pagination_Factory(t) {\n return new (t || Pagination)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.ExperimentalService));\n };\n\n Pagination.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: Pagination,\n selectors: [[\"ibm-pagination\"]],\n inputs: {\n skeleton: \"skeleton\",\n disabled: \"disabled\",\n pageInputDisabled: \"pageInputDisabled\",\n showPageInput: \"showPageInput\",\n pagesUnknown: \"pagesUnknown\",\n pageSelectThreshold: \"pageSelectThreshold\",\n itemsPerPageOptions: \"itemsPerPageOptions\",\n translations: \"translations\",\n model: \"model\"\n },\n outputs: {\n selectPage: \"selectPage\"\n },\n decls: 5,\n vars: 7,\n consts: [[1, \"bx--pagination\", 3, \"ngClass\"], [\"class\", \"bx--pagination__left\", 4, \"ngIf\"], [\"class\", \"bx--pagination__right\", 4, \"ngIf\"], [1, \"bx--pagination__left\"], [1, \"bx--skeleton__text\", 2, \"width\", \"70px\"], [1, \"bx--skeleton__text\", 2, \"width\", \"35px\"], [1, \"bx--skeleton__text\", 2, \"width\", \"105px\"], [4, \"ngIf\"], [\"class\", \"bx--pagination__text\", 3, \"ngStyle\", 4, \"ngIf\"], [1, \"bx--pagination__text\", 3, \"for\"], [1, \"bx--select\", \"bx--select--inline\", \"bx--select__item-count\"], [1, \"bx--select-input\", 3, \"id\", \"ngModel\", \"disabled\", \"ngModelChange\"], [\"class\", \"bx--select-option\", 3, \"value\", 4, \"ngFor\", \"ngForOf\"], [\"ibmIcon\", \"chevron--down\", \"size\", \"16\", \"aria-hidden\", \"true\", 1, \"bx--select__arrow\", 2, \"display\", \"inherit\"], [1, \"bx--select-option\", 3, \"value\"], [1, \"bx--pagination__text\", 3, \"ngStyle\"], [1, \"bx--pagination__right\"], [\"class\", \"bx--pagination__text\", 4, \"ngIf\"], [1, \"bx--pagination__control-buttons\"], [\"ibmButton\", \"ghost\", \"iconOnly\", \"true\", \"tabindex\", \"0\", 1, \"bx--pagination__button\", \"bx--pagination__button--backward\", 3, \"ngClass\", \"disabled\", \"click\"], [\"ibmIcon\", \"caret--left\", \"size\", \"16\", 1, \"bx--btn__icon\"], [\"ibmButton\", \"ghost\", \"iconOnly\", \"true\", \"tabindex\", \"0\", 1, \"bx--pagination__button\", \"bx--pagination__button--forward\", 3, \"ngClass\", \"disabled\", \"click\"], [\"ibmIcon\", \"caret--right\", \"size\", \"16\", 1, \"bx--btn__icon\"], [1, \"bx--select\", \"bx--select--inline\", \"bx--select__page-number\"], [1, \"bx--label\", \"bx--visually-hidden\", 3, \"for\"], [\"style\", \"padding-right: 1rem; margin-right: 1rem;\", \"type\", \"number\", \"min\", \"1\", \"class\", \"bx--select-input\", 3, \"id\", \"max\", \"ngModel\", \"ngModelChange\", 4, \"ngIf\"], [\"class\", \"bx--select-input\", 3, \"id\", \"disabled\", \"ngModel\", \"ngModelChange\", 4, \"ngIf\"], [\"ibmIcon\", \"chevron--down\", \"size\", \"16\", \"style\", \"display: inherit;\", \"class\", \"bx--select__arrow\", 4, \"ngIf\"], [\"type\", \"number\", \"min\", \"1\", 1, \"bx--select-input\", 2, \"padding-right\", \"1rem\", \"margin-right\", \"1rem\", 3, \"id\", \"max\", \"ngModel\", \"ngModelChange\"], [1, \"bx--select-input\", 3, \"id\", \"disabled\", \"ngModel\", \"ngModelChange\"], [\"ibmIcon\", \"chevron--down\", \"size\", \"16\", 1, \"bx--select__arrow\", 2, \"display\", \"inherit\"], [1, \"bx--pagination__text\"]],\n template: function Pagination_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n ɵngcc0.ɵɵtemplate(1, Pagination_div_1_Template, 4, 0, \"div\", 1);\n ɵngcc0.ɵɵtemplate(2, Pagination_div_2_Template, 5, 4, \"div\", 1);\n ɵngcc0.ɵɵtemplate(3, Pagination_div_3_Template, 2, 0, \"div\", 2);\n ɵngcc0.ɵɵtemplate(4, Pagination_div_4_Template, 12, 18, \"div\", 2);\n ɵngcc0.ɵɵelementEnd();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(5, _c5, ctx.skeleton));\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.skeleton);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.skeleton);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", !ctx.skeleton);\n }\n },\n dependencies: [ɵngcc3.NgClass, ɵngcc3.NgForOf, ɵngcc3.NgIf, ɵngcc3.NgStyle, ɵngcc4.NgSelectOption, ɵngcc4.ɵNgSelectMultipleOption, ɵngcc4.DefaultValueAccessor, ɵngcc4.NumberValueAccessor, ɵngcc4.SelectControlValueAccessor, ɵngcc4.NgControlStatus, ɵngcc4.MinValidator, ɵngcc4.MaxValidator, ɵngcc4.NgModel, ɵngcc5.IconDirective, ɵngcc6.Button, ɵngcc3.AsyncPipe, ɵngcc1.ReplacePipe],\n encapsulation: 2\n });\n Pagination.paginationCounter = 0;\n /** @nocollapse */\n\n return Pagination;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Use pagination when you have multiple pages of data to handle.\n *\n * [See demo](../../?path=/story/components-pagination-nav--basic)\n *\n * ```html\n * \n * ```\n *\n * In your `selectPage()` method set the `model.currentPage` to selected page, _after_\n * you load the page.\n *\n * ```typescript\n * selectPage(page) {\n * \t// ... your code to load the page goes here\n *\n * \tthis.model.currentPage = page;\n *\n * \t// ... anything you want to do after page selection changes goes here\n * }\n * ```\n *\n * ../../iframe.html?id=components-pagination-nav--basic\n */\n\n\nlet PaginationNav = /*#__PURE__*/(() => {\n class PaginationNav {\n constructor(i18n, experimental) {\n this.i18n = i18n;\n this.experimental = experimental;\n /**\n * Set to `true` to disable the backward/forward buttons.\n */\n\n this.disabled = false;\n /**\n * Number of items to show in pagination. Minimum is 4.\n */\n\n this.numOfItemsToShow = 4;\n /**\n * Emits the new page number.\n *\n * You should tie into this and update `model.currentPage` once the fresh\n * data is finally loaded.\n */\n\n this.selectPage = new EventEmitter();\n this.nextItemText = this.i18n.getOverridable(\"PAGINATION.NEXT\");\n this.previousItemText = this.i18n.getOverridable(\"PAGINATION.PREVIOUS\");\n PaginationNav.paginationCounter++;\n }\n /**\n * Expects an object that contains some or all of:\n * ```\n * {\n *\t\t\"NEXT\": \"Next\",\n *\t\t\"PREVIOUS\": \"Previous\",\n * }\n * ```\n */\n\n\n set translations(value) {\n const valueWithDefaults = merge(this.i18n.getMultiple(\"PAGINATION\"), value);\n this.nextItemText.override(valueWithDefaults.NEXT);\n this.previousItemText.override(valueWithDefaults.PREVIOUS);\n }\n\n get totalNumbersArray() {\n return range(this.totalDataLength + 1, 1);\n }\n\n get currentPage() {\n return this.model.currentPage;\n }\n\n set currentPage(value) {\n value = Number(value); // emits the value to allow the user to update current page\n // in the model once the page is loaded\n\n this.selectPage.emit(value);\n }\n\n get totalDataLength() {\n return this.model.totalDataLength;\n }\n\n get startOffset() {\n return this.numOfItemsToShow <= 4 && this.currentPage > 1 ? 0 : 1;\n }\n\n get frontCuts() {\n const cuts = this.getCuts();\n return cuts.front;\n }\n\n get backCuts() {\n const cuts = this.getCuts();\n return cuts.back;\n }\n\n get leftArrowDisabled() {\n return this.disabled || this.currentPage === 1;\n }\n\n get rightArrowDisabled() {\n return this.disabled || this.currentPage === this.totalDataLength;\n }\n\n handleOverflowSelection(page) {\n if (typeof page === \"number\") {\n this.currentPage = page;\n }\n }\n\n jumpToNext() {\n this.currentPage = this.currentPage < this.totalDataLength ? this.currentPage + 1 : this.totalDataLength;\n }\n\n jumpToPrevious() {\n this.currentPage = this.currentPage > 1 ? this.currentPage - 1 : 1;\n }\n\n getPages() {\n if (this.totalDataLength <= 1) {\n return null;\n }\n\n const cuts = this.getCuts();\n return this.totalNumbersArray.slice(this.startOffset + cuts.front, (1 + cuts.back) * -1);\n }\n\n getCuts(splitPoint = null) {\n const page = this.currentPage - 1;\n const totalItems = this.totalDataLength;\n const itemsThatFit = this.numOfItemsToShow;\n\n if (itemsThatFit >= totalItems) {\n return {\n front: 0,\n back: 0\n };\n }\n\n const split = splitPoint || Math.ceil(itemsThatFit / 2) - 1;\n let frontHidden = page + 1 - split;\n let backHidden = totalItems - page - (itemsThatFit - split) + 1;\n\n if (frontHidden <= 1) {\n backHidden -= frontHidden <= 0 ? Math.abs(frontHidden) + 1 : 0;\n frontHidden = 0;\n }\n\n if (backHidden <= 1) {\n frontHidden -= backHidden <= 0 ? Math.abs(backHidden) + 1 : 0;\n backHidden = 0;\n }\n\n return {\n front: frontHidden,\n back: backHidden\n };\n }\n\n }\n\n PaginationNav.ɵfac = function PaginationNav_Factory(t) {\n return new (t || PaginationNav)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.ExperimentalService));\n };\n\n PaginationNav.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: PaginationNav,\n selectors: [[\"ibm-pagination-nav\"]],\n inputs: {\n disabled: \"disabled\",\n numOfItemsToShow: \"numOfItemsToShow\",\n translations: \"translations\",\n model: \"model\"\n },\n outputs: {\n selectPage: \"selectPage\"\n },\n decls: 20,\n vars: 13,\n consts: [[1, \"bx--pagination-nav\"], [1, \"bx--pagination-nav__list\"], [1, \"bx--pagination-nav__list-item\"], [1, \"bx--btn\", \"bx--btn--ghost\", \"bx--pagination-nav-previous\", \"bx--btn--icon-only\", \"bx--tooltip__trigger\", \"bx--tooltip--a11y\", \"bx--tooltip--bottom\", \"bx--tooltip--align-center\", 3, \"disabled\", \"click\"], [1, \"bx--assistive-text\"], [\"ibmIcon\", \"caret--left\", \"size\", \"16\", 1, \"bx--btn__icon\", 2, \"display\", \"inherit\"], [\"page\", \"1\", 3, \"isActive\", \"click\", 4, \"ngIf\"], [3, \"count\", \"fromIndex\", \"change\", 4, \"ngIf\"], [3, \"page\", \"isActive\", \"click\", 4, \"ngFor\", \"ngForOf\"], [3, \"page\", \"isActive\", \"click\", 4, \"ngIf\"], [1, \"bx--btn\", \"bx--btn--ghost\", \"bx--pagination-nav-next\", \"bx--btn--icon-only\", \"bx--tooltip__trigger\", \"bx--tooltip--a11y\", \"bx--tooltip--bottom\", \"bx--tooltip--align-center\", 3, \"disabled\", \"click\"], [\"ibmIcon\", \"caret--right\", \"size\", \"16\", 1, \"bx--btn__icon\", 2, \"display\", \"inherit\"], [\"page\", \"1\", 3, \"isActive\", \"click\"], [3, \"count\", \"fromIndex\", \"change\"], [3, \"page\", \"isActive\", \"click\"]],\n template: function PaginationNav_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"div\")(1, \"div\", 0)(2, \"ul\", 1)(3, \"li\", 2)(4, \"button\", 3);\n ɵngcc0.ɵɵlistener(\"click\", function PaginationNav_Template_button_click_4_listener() {\n return ctx.jumpToPrevious();\n });\n ɵngcc0.ɵɵelementStart(5, \"span\", 4);\n ɵngcc0.ɵɵtext(6);\n ɵngcc0.ɵɵpipe(7, \"async\");\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelement(8, \"svg\", 5);\n ɵngcc0.ɵɵelementEnd()();\n ɵngcc0.ɵɵtemplate(9, PaginationNav_ibm_pagination_nav_item_9_Template, 1, 1, \"ibm-pagination-nav-item\", 6);\n ɵngcc0.ɵɵtemplate(10, PaginationNav_ibm_pagination_overflow_10_Template, 1, 2, \"ibm-pagination-overflow\", 7);\n ɵngcc0.ɵɵtemplate(11, PaginationNav_ibm_pagination_nav_item_11_Template, 1, 2, \"ibm-pagination-nav-item\", 8);\n ɵngcc0.ɵɵtemplate(12, PaginationNav_ibm_pagination_overflow_12_Template, 1, 2, \"ibm-pagination-overflow\", 7);\n ɵngcc0.ɵɵtemplate(13, PaginationNav_ibm_pagination_nav_item_13_Template, 1, 2, \"ibm-pagination-nav-item\", 9);\n ɵngcc0.ɵɵnamespaceHTML();\n ɵngcc0.ɵɵelementStart(14, \"li\", 2)(15, \"button\", 10);\n ɵngcc0.ɵɵlistener(\"click\", function PaginationNav_Template_button_click_15_listener() {\n return ctx.jumpToNext();\n });\n ɵngcc0.ɵɵelementStart(16, \"span\", 4);\n ɵngcc0.ɵɵtext(17);\n ɵngcc0.ɵɵpipe(18, \"async\");\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵnamespaceSVG();\n ɵngcc0.ɵɵelement(19, \"svg\", 11);\n ɵngcc0.ɵɵelementEnd()()()()();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵadvance(4);\n ɵngcc0.ɵɵproperty(\"disabled\", ctx.leftArrowDisabled);\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(7, 9, ctx.previousItemText.subject));\n ɵngcc0.ɵɵadvance(3);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.numOfItemsToShow >= 5 || ctx.numOfItemsToShow <= 4 && ctx.currentPage <= 1);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.frontCuts);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngForOf\", ctx.getPages());\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.backCuts);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.totalDataLength > 1);\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵproperty(\"disabled\", ctx.rightArrowDisabled);\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵtextInterpolate(ɵngcc0.ɵɵpipeBind1(18, 11, ctx.nextItemText.subject));\n }\n },\n dependencies: function () {\n return [ɵngcc3.NgForOf, ɵngcc3.NgIf, ɵngcc5.IconDirective, PaginationNavItem, PaginationOverflow, ɵngcc3.AsyncPipe];\n },\n encapsulation: 2\n });\n PaginationNav.paginationCounter = 0;\n /** @nocollapse */\n\n return PaginationNav;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Used to present a single navigation item in a pagination list\n *\n * * ```html\n * \n * ```\n */\n\n\nlet PaginationNavItem = /*#__PURE__*/(() => {\n class PaginationNavItem {\n constructor() {\n /**\n * The page for this component to dipslay\n */\n this.page = 0;\n /**\n * The state for this component to dipslay\n */\n\n this.isActive = false;\n /**\n * Emits click event\n */\n\n this.click = new EventEmitter();\n }\n\n }\n\n PaginationNavItem.ɵfac = function PaginationNavItem_Factory(t) {\n return new (t || PaginationNavItem)();\n };\n\n PaginationNavItem.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: PaginationNavItem,\n selectors: [[\"ibm-pagination-nav-item\"]],\n inputs: {\n page: \"page\",\n isActive: \"isActive\"\n },\n outputs: {\n click: \"click\"\n },\n decls: 5,\n vars: 5,\n consts: [[1, \"bx--pagination-nav__list-item\"], [\"type\", \"button\", 1, \"bx--pagination-nav__page\", 3, \"ngClass\", \"click\"], [1, \"bx--pagination-nav__accessibility-label\"]],\n template: function PaginationNavItem_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"li\", 0)(1, \"button\", 1);\n ɵngcc0.ɵɵlistener(\"click\", function PaginationNavItem_Template_button_click_1_listener() {\n return ctx.click.emit(ctx.page);\n });\n ɵngcc0.ɵɵelementStart(2, \"span\", 2);\n ɵngcc0.ɵɵtext(3);\n ɵngcc0.ɵɵelementEnd();\n ɵngcc0.ɵɵtext(4);\n ɵngcc0.ɵɵelementEnd()();\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngClass\", ɵngcc0.ɵɵpureFunction1(3, _c6, ctx.isActive));\n ɵngcc0.ɵɵadvance(2);\n ɵngcc0.ɵɵtextInterpolate1(\" \", ctx.page, \" \");\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵtextInterpolate1(\" \", ctx.page, \" \");\n }\n },\n dependencies: [ɵngcc3.NgClass],\n encapsulation: 2\n });\n /** @nocollapse */\n\n return PaginationNavItem;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Used to present a selection of pages when there is an overflow\n * in the pagination list\n *\n * * ```html\n * \n * ```\n */\n\n\nlet PaginationOverflow = /*#__PURE__*/(() => {\n class PaginationOverflow {\n constructor(i18n) {\n this.i18n = i18n;\n this.ariaLabel = this.i18n.get().PAGINATION.SELECT_ARIA;\n /**\n * Emits click event\n */\n\n this.change = new EventEmitter();\n }\n\n get countAsArray() {\n return [...Array(this.count)];\n }\n\n handleChange(event) {\n this.change.emit(+event.target.value);\n event.target.value = \"\";\n }\n\n }\n\n PaginationOverflow.ɵfac = function PaginationOverflow_Factory(t) {\n return new (t || PaginationOverflow)(ɵngcc0.ɵɵdirectiveInject(ɵngcc1.I18n));\n };\n\n PaginationOverflow.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: PaginationOverflow,\n selectors: [[\"ibm-pagination-overflow\"]],\n inputs: {\n ariaLabel: \"ariaLabel\",\n fromIndex: \"fromIndex\",\n count: \"count\"\n },\n outputs: {\n change: \"change\"\n },\n decls: 2,\n vars: 2,\n consts: [[\"class\", \"bx--pagination-nav__list-item\", 4, \"ngIf\"], [3, \"page\", 4, \"ngIf\"], [1, \"bx--pagination-nav__list-item\"], [1, \"bx--pagination-nav__select\"], [1, \"bx--pagination-nav__page\", \"bx--pagination-nav__page--select\", 3, \"change\"], [\"value\", \"\", \"hidden\", \"\"], [4, \"ngFor\", \"ngForOf\"], [1, \"bx--pagination-nav__select-icon-wrapper\"], [\"ibmIcon\", \"overflow-menu--horizontal\", \"size\", \"16\", 1, \"bx--pagination-nav__select-icon\", 2, \"display\", \"inherit\"], [3, \"page\"]],\n template: function PaginationOverflow_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵtemplate(0, PaginationOverflow_li_0_Template, 7, 2, \"li\", 0);\n ɵngcc0.ɵɵtemplate(1, PaginationOverflow_ibm_pagination_nav_item_1_Template, 1, 1, \"ibm-pagination-nav-item\", 1);\n }\n\n if (rf & 2) {\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.count > 1);\n ɵngcc0.ɵɵadvance(1);\n ɵngcc0.ɵɵproperty(\"ngIf\", ctx.count === 1);\n }\n },\n dependencies: [ɵngcc3.NgForOf, ɵngcc3.NgIf, ɵngcc4.NgSelectOption, ɵngcc4.ɵNgSelectMultipleOption, ɵngcc5.IconDirective, PaginationNavItem],\n encapsulation: 2\n });\n /** @nocollapse */\n\n return PaginationOverflow;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\nlet PaginationModule = /*#__PURE__*/(() => {\n class PaginationModule {}\n\n PaginationModule.ɵfac = function PaginationModule_Factory(t) {\n return new (t || PaginationModule)();\n };\n\n PaginationModule.ɵmod = /*@__PURE__*/ɵngcc0.ɵɵdefineNgModule({\n type: PaginationModule\n });\n PaginationModule.ɵinj = /*@__PURE__*/ɵngcc0.ɵɵdefineInjector({\n imports: [CommonModule, FormsModule, I18nModule, ExperimentalModule, IconModule, ButtonModule]\n });\n return PaginationModule;\n})();\n\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n(function () {\n (typeof ngJitMode === \"undefined\" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(PaginationModule, {\n declarations: function () {\n return [Pagination, PaginationNav, PaginationNavItem, PaginationOverflow];\n },\n imports: function () {\n return [CommonModule, FormsModule, I18nModule, ExperimentalModule, IconModule, ButtonModule];\n },\n exports: function () {\n return [Pagination, PaginationNav, PaginationNavItem, PaginationOverflow];\n }\n });\n})();\n/**\n * Generated bundle index. Do not edit.\n */\n\n\nexport { PaginationModel, Pagination, PaginationModule, PaginationNav, PaginationNavItem, PaginationOverflow }; //# sourceMappingURL=carbon-components-angular-pagination.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/286fbd1b41d5c48bf1bb8b72ac174de6.json b/.angular/cache/14.2.11/babel-webpack/286fbd1b41d5c48bf1bb8b72ac174de6.json new file mode 100644 index 0000000000..a644953e95 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/286fbd1b41d5c48bf1bb8b72ac174de6.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n * ```\n * WhiteSpace ::\n * - \"Horizontal Tab (U+0009)\"\n * - \"Space (U+0020)\"\n * ```\n * @internal\n */\nexport function isWhiteSpace(code) {\n return code === 0x0009 || code === 0x0020;\n}\n/**\n * ```\n * Digit :: one of\n * - `0` `1` `2` `3` `4` `5` `6` `7` `8` `9`\n * ```\n * @internal\n */\n\nexport function isDigit(code) {\n return code >= 0x0030 && code <= 0x0039;\n}\n/**\n * ```\n * Letter :: one of\n * - `A` `B` `C` `D` `E` `F` `G` `H` `I` `J` `K` `L` `M`\n * - `N` `O` `P` `Q` `R` `S` `T` `U` `V` `W` `X` `Y` `Z`\n * - `a` `b` `c` `d` `e` `f` `g` `h` `i` `j` `k` `l` `m`\n * - `n` `o` `p` `q` `r` `s` `t` `u` `v` `w` `x` `y` `z`\n * ```\n * @internal\n */\n\nexport function isLetter(code) {\n return code >= 0x0061 && code <= 0x007a || // A-Z\n code >= 0x0041 && code <= 0x005a // a-z\n ;\n}\n/**\n * ```\n * NameStart ::\n * - Letter\n * - `_`\n * ```\n * @internal\n */\n\nexport function isNameStart(code) {\n return isLetter(code) || code === 0x005f;\n}\n/**\n * ```\n * NameContinue ::\n * - Letter\n * - Digit\n * - `_`\n * ```\n * @internal\n */\n\nexport function isNameContinue(code) {\n return isLetter(code) || isDigit(code) || code === 0x005f;\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/288ce2da0fbe37c105a32499b67205e5.json b/.angular/cache/14.2.11/babel-webpack/288ce2da0fbe37c105a32499b67205e5.json new file mode 100644 index 0000000000..10173922b1 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/288ce2da0fbe37c105a32499b67205e5.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n \"elem\": \"svg\",\n \"attrs\": {\n \"xmlns\": \"http://www.w3.org/2000/svg\",\n \"viewBox\": \"0 0 16 16\",\n \"fill\": \"currentColor\",\n \"width\": 16,\n \"height\": 16\n },\n \"content\": [{\n \"elem\": \"path\",\n \"attrs\": {\n \"d\": \"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z\"\n }\n }, {\n \"elem\": \"path\",\n \"attrs\": {\n \"fill\": \"none\",\n \"d\": \"M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z\",\n \"data-icon-path\": \"inner-path\",\n \"opacity\": \"0\"\n }\n }],\n \"name\": \"error--filled\",\n \"size\": 16\n};\nexport default _16;","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/28f0ce4e004f2b228eb0323b55810fbf.json b/.angular/cache/14.2.11/babel-webpack/28f0ce4e004f2b228eb0323b55810fbf.json new file mode 100644 index 0000000000..2939bbd8c9 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/28f0ce4e004f2b228eb0323b55810fbf.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n \"elem\": \"svg\",\n \"attrs\": {\n \"xmlns\": \"http://www.w3.org/2000/svg\",\n \"viewBox\": \"0 0 32 32\",\n \"fill\": \"currentColor\",\n \"width\": 16,\n \"height\": 16\n },\n \"content\": [{\n \"elem\": \"path\",\n \"attrs\": {\n \"d\": \"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z\"\n }\n }],\n \"name\": \"close\",\n \"size\": 16\n};\nexport default _16;","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/2a2ae770d3a474119e875a588509b1fd.json b/.angular/cache/14.2.11/babel-webpack/2a2ae770d3a474119e875a588509b1fd.json new file mode 100644 index 0000000000..5a2a5d92ec --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/2a2ae770d3a474119e875a588509b1fd.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { __assign, __extends, __rest } from \"tslib\";\nimport { invariant } from \"../../utilities/globals/index.js\";\nimport { dep } from 'optimism';\nimport { equal } from '@wry/equality';\nimport { Trie } from '@wry/trie';\nimport { isReference, makeReference, DeepMerger, maybeDeepFreeze, canUseWeakMap, isNonNullObject } from \"../../utilities/index.js\";\nimport { hasOwn, fieldNameFromStoreName } from \"./helpers.js\";\nvar DELETE = Object.create(null);\n\nvar delModifier = function () {\n return DELETE;\n};\n\nvar INVALIDATE = Object.create(null);\n\nvar EntityStore = function () {\n function EntityStore(policies, group) {\n var _this = this;\n\n this.policies = policies;\n this.group = group;\n this.data = Object.create(null);\n this.rootIds = Object.create(null);\n this.refs = Object.create(null);\n\n this.getFieldValue = function (objectOrReference, storeFieldName) {\n return maybeDeepFreeze(isReference(objectOrReference) ? _this.get(objectOrReference.__ref, storeFieldName) : objectOrReference && objectOrReference[storeFieldName]);\n };\n\n this.canRead = function (objOrRef) {\n return isReference(objOrRef) ? _this.has(objOrRef.__ref) : typeof objOrRef === \"object\";\n };\n\n this.toReference = function (objOrIdOrRef, mergeIntoStore) {\n if (typeof objOrIdOrRef === \"string\") {\n return makeReference(objOrIdOrRef);\n }\n\n if (isReference(objOrIdOrRef)) {\n return objOrIdOrRef;\n }\n\n var id = _this.policies.identify(objOrIdOrRef)[0];\n\n if (id) {\n var ref = makeReference(id);\n\n if (mergeIntoStore) {\n _this.merge(id, objOrIdOrRef);\n }\n\n return ref;\n }\n };\n }\n\n EntityStore.prototype.toObject = function () {\n return __assign({}, this.data);\n };\n\n EntityStore.prototype.has = function (dataId) {\n return this.lookup(dataId, true) !== void 0;\n };\n\n EntityStore.prototype.get = function (dataId, fieldName) {\n this.group.depend(dataId, fieldName);\n\n if (hasOwn.call(this.data, dataId)) {\n var storeObject = this.data[dataId];\n\n if (storeObject && hasOwn.call(storeObject, fieldName)) {\n return storeObject[fieldName];\n }\n }\n\n if (fieldName === \"__typename\" && hasOwn.call(this.policies.rootTypenamesById, dataId)) {\n return this.policies.rootTypenamesById[dataId];\n }\n\n if (this instanceof Layer) {\n return this.parent.get(dataId, fieldName);\n }\n };\n\n EntityStore.prototype.lookup = function (dataId, dependOnExistence) {\n if (dependOnExistence) this.group.depend(dataId, \"__exists\");\n\n if (hasOwn.call(this.data, dataId)) {\n return this.data[dataId];\n }\n\n if (this instanceof Layer) {\n return this.parent.lookup(dataId, dependOnExistence);\n }\n\n if (this.policies.rootTypenamesById[dataId]) {\n return Object.create(null);\n }\n };\n\n EntityStore.prototype.merge = function (older, newer) {\n var _this = this;\n\n var dataId;\n if (isReference(older)) older = older.__ref;\n if (isReference(newer)) newer = newer.__ref;\n var existing = typeof older === \"string\" ? this.lookup(dataId = older) : older;\n var incoming = typeof newer === \"string\" ? this.lookup(dataId = newer) : newer;\n if (!incoming) return;\n __DEV__ ? invariant(typeof dataId === \"string\", \"store.merge expects a string ID\") : invariant(typeof dataId === \"string\", 1);\n var merged = new DeepMerger(storeObjectReconciler).merge(existing, incoming);\n this.data[dataId] = merged;\n\n if (merged !== existing) {\n delete this.refs[dataId];\n\n if (this.group.caching) {\n var fieldsToDirty_1 = Object.create(null);\n if (!existing) fieldsToDirty_1.__exists = 1;\n Object.keys(incoming).forEach(function (storeFieldName) {\n if (!existing || existing[storeFieldName] !== merged[storeFieldName]) {\n fieldsToDirty_1[storeFieldName] = 1;\n var fieldName = fieldNameFromStoreName(storeFieldName);\n\n if (fieldName !== storeFieldName && !_this.policies.hasKeyArgs(merged.__typename, fieldName)) {\n fieldsToDirty_1[fieldName] = 1;\n }\n\n if (merged[storeFieldName] === void 0 && !(_this instanceof Layer)) {\n delete merged[storeFieldName];\n }\n }\n });\n\n if (fieldsToDirty_1.__typename && !(existing && existing.__typename) && this.policies.rootTypenamesById[dataId] === merged.__typename) {\n delete fieldsToDirty_1.__typename;\n }\n\n Object.keys(fieldsToDirty_1).forEach(function (fieldName) {\n return _this.group.dirty(dataId, fieldName);\n });\n }\n }\n };\n\n EntityStore.prototype.modify = function (dataId, fields) {\n var _this = this;\n\n var storeObject = this.lookup(dataId);\n\n if (storeObject) {\n var changedFields_1 = Object.create(null);\n var needToMerge_1 = false;\n var allDeleted_1 = true;\n var sharedDetails_1 = {\n DELETE: DELETE,\n INVALIDATE: INVALIDATE,\n isReference: isReference,\n toReference: this.toReference,\n canRead: this.canRead,\n readField: function (fieldNameOrOptions, from) {\n return _this.policies.readField(typeof fieldNameOrOptions === \"string\" ? {\n fieldName: fieldNameOrOptions,\n from: from || makeReference(dataId)\n } : fieldNameOrOptions, {\n store: _this\n });\n }\n };\n Object.keys(storeObject).forEach(function (storeFieldName) {\n var fieldName = fieldNameFromStoreName(storeFieldName);\n var fieldValue = storeObject[storeFieldName];\n if (fieldValue === void 0) return;\n var modify = typeof fields === \"function\" ? fields : fields[storeFieldName] || fields[fieldName];\n\n if (modify) {\n var newValue = modify === delModifier ? DELETE : modify(maybeDeepFreeze(fieldValue), __assign(__assign({}, sharedDetails_1), {\n fieldName: fieldName,\n storeFieldName: storeFieldName,\n storage: _this.getStorage(dataId, storeFieldName)\n }));\n\n if (newValue === INVALIDATE) {\n _this.group.dirty(dataId, storeFieldName);\n } else {\n if (newValue === DELETE) newValue = void 0;\n\n if (newValue !== fieldValue) {\n changedFields_1[storeFieldName] = newValue;\n needToMerge_1 = true;\n fieldValue = newValue;\n }\n }\n }\n\n if (fieldValue !== void 0) {\n allDeleted_1 = false;\n }\n });\n\n if (needToMerge_1) {\n this.merge(dataId, changedFields_1);\n\n if (allDeleted_1) {\n if (this instanceof Layer) {\n this.data[dataId] = void 0;\n } else {\n delete this.data[dataId];\n }\n\n this.group.dirty(dataId, \"__exists\");\n }\n\n return true;\n }\n }\n\n return false;\n };\n\n EntityStore.prototype.delete = function (dataId, fieldName, args) {\n var _a;\n\n var storeObject = this.lookup(dataId);\n\n if (storeObject) {\n var typename = this.getFieldValue(storeObject, \"__typename\");\n var storeFieldName = fieldName && args ? this.policies.getStoreFieldName({\n typename: typename,\n fieldName: fieldName,\n args: args\n }) : fieldName;\n return this.modify(dataId, storeFieldName ? (_a = {}, _a[storeFieldName] = delModifier, _a) : delModifier);\n }\n\n return false;\n };\n\n EntityStore.prototype.evict = function (options, limit) {\n var evicted = false;\n\n if (options.id) {\n if (hasOwn.call(this.data, options.id)) {\n evicted = this.delete(options.id, options.fieldName, options.args);\n }\n\n if (this instanceof Layer && this !== limit) {\n evicted = this.parent.evict(options, limit) || evicted;\n }\n\n if (options.fieldName || evicted) {\n this.group.dirty(options.id, options.fieldName || \"__exists\");\n }\n }\n\n return evicted;\n };\n\n EntityStore.prototype.clear = function () {\n this.replace(null);\n };\n\n EntityStore.prototype.extract = function () {\n var _this = this;\n\n var obj = this.toObject();\n var extraRootIds = [];\n this.getRootIdSet().forEach(function (id) {\n if (!hasOwn.call(_this.policies.rootTypenamesById, id)) {\n extraRootIds.push(id);\n }\n });\n\n if (extraRootIds.length) {\n obj.__META = {\n extraRootIds: extraRootIds.sort()\n };\n }\n\n return obj;\n };\n\n EntityStore.prototype.replace = function (newData) {\n var _this = this;\n\n Object.keys(this.data).forEach(function (dataId) {\n if (!(newData && hasOwn.call(newData, dataId))) {\n _this.delete(dataId);\n }\n });\n\n if (newData) {\n var __META = newData.__META,\n rest_1 = __rest(newData, [\"__META\"]);\n\n Object.keys(rest_1).forEach(function (dataId) {\n _this.merge(dataId, rest_1[dataId]);\n });\n\n if (__META) {\n __META.extraRootIds.forEach(this.retain, this);\n }\n }\n };\n\n EntityStore.prototype.retain = function (rootId) {\n return this.rootIds[rootId] = (this.rootIds[rootId] || 0) + 1;\n };\n\n EntityStore.prototype.release = function (rootId) {\n if (this.rootIds[rootId] > 0) {\n var count = --this.rootIds[rootId];\n if (!count) delete this.rootIds[rootId];\n return count;\n }\n\n return 0;\n };\n\n EntityStore.prototype.getRootIdSet = function (ids) {\n if (ids === void 0) {\n ids = new Set();\n }\n\n Object.keys(this.rootIds).forEach(ids.add, ids);\n\n if (this instanceof Layer) {\n this.parent.getRootIdSet(ids);\n } else {\n Object.keys(this.policies.rootTypenamesById).forEach(ids.add, ids);\n }\n\n return ids;\n };\n\n EntityStore.prototype.gc = function () {\n var _this = this;\n\n var ids = this.getRootIdSet();\n var snapshot = this.toObject();\n ids.forEach(function (id) {\n if (hasOwn.call(snapshot, id)) {\n Object.keys(_this.findChildRefIds(id)).forEach(ids.add, ids);\n delete snapshot[id];\n }\n });\n var idsToRemove = Object.keys(snapshot);\n\n if (idsToRemove.length) {\n var root_1 = this;\n\n while (root_1 instanceof Layer) root_1 = root_1.parent;\n\n idsToRemove.forEach(function (id) {\n return root_1.delete(id);\n });\n }\n\n return idsToRemove;\n };\n\n EntityStore.prototype.findChildRefIds = function (dataId) {\n if (!hasOwn.call(this.refs, dataId)) {\n var found_1 = this.refs[dataId] = Object.create(null);\n var root = this.data[dataId];\n if (!root) return found_1;\n var workSet_1 = new Set([root]);\n workSet_1.forEach(function (obj) {\n if (isReference(obj)) {\n found_1[obj.__ref] = true;\n }\n\n if (isNonNullObject(obj)) {\n Object.keys(obj).forEach(function (key) {\n var child = obj[key];\n\n if (isNonNullObject(child)) {\n workSet_1.add(child);\n }\n });\n }\n });\n }\n\n return this.refs[dataId];\n };\n\n EntityStore.prototype.makeCacheKey = function () {\n return this.group.keyMaker.lookupArray(arguments);\n };\n\n return EntityStore;\n}();\n\nexport { EntityStore };\n\nvar CacheGroup = function () {\n function CacheGroup(caching, parent) {\n if (parent === void 0) {\n parent = null;\n }\n\n this.caching = caching;\n this.parent = parent;\n this.d = null;\n this.resetCaching();\n }\n\n CacheGroup.prototype.resetCaching = function () {\n this.d = this.caching ? dep() : null;\n this.keyMaker = new Trie(canUseWeakMap);\n };\n\n CacheGroup.prototype.depend = function (dataId, storeFieldName) {\n if (this.d) {\n this.d(makeDepKey(dataId, storeFieldName));\n var fieldName = fieldNameFromStoreName(storeFieldName);\n\n if (fieldName !== storeFieldName) {\n this.d(makeDepKey(dataId, fieldName));\n }\n\n if (this.parent) {\n this.parent.depend(dataId, storeFieldName);\n }\n }\n };\n\n CacheGroup.prototype.dirty = function (dataId, storeFieldName) {\n if (this.d) {\n this.d.dirty(makeDepKey(dataId, storeFieldName), storeFieldName === \"__exists\" ? \"forget\" : \"setDirty\");\n }\n };\n\n return CacheGroup;\n}();\n\nfunction makeDepKey(dataId, storeFieldName) {\n return storeFieldName + '#' + dataId;\n}\n\nexport function maybeDependOnExistenceOfEntity(store, entityId) {\n if (supportsResultCaching(store)) {\n store.group.depend(entityId, \"__exists\");\n }\n}\n\n(function (EntityStore) {\n var Root = function (_super) {\n __extends(Root, _super);\n\n function Root(_a) {\n var policies = _a.policies,\n _b = _a.resultCaching,\n resultCaching = _b === void 0 ? true : _b,\n seed = _a.seed;\n\n var _this = _super.call(this, policies, new CacheGroup(resultCaching)) || this;\n\n _this.stump = new Stump(_this);\n _this.storageTrie = new Trie(canUseWeakMap);\n if (seed) _this.replace(seed);\n return _this;\n }\n\n Root.prototype.addLayer = function (layerId, replay) {\n return this.stump.addLayer(layerId, replay);\n };\n\n Root.prototype.removeLayer = function () {\n return this;\n };\n\n Root.prototype.getStorage = function () {\n return this.storageTrie.lookupArray(arguments);\n };\n\n return Root;\n }(EntityStore);\n\n EntityStore.Root = Root;\n})(EntityStore || (EntityStore = {}));\n\nvar Layer = function (_super) {\n __extends(Layer, _super);\n\n function Layer(id, parent, replay, group) {\n var _this = _super.call(this, parent.policies, group) || this;\n\n _this.id = id;\n _this.parent = parent;\n _this.replay = replay;\n _this.group = group;\n replay(_this);\n return _this;\n }\n\n Layer.prototype.addLayer = function (layerId, replay) {\n return new Layer(layerId, this, replay, this.group);\n };\n\n Layer.prototype.removeLayer = function (layerId) {\n var _this = this;\n\n var parent = this.parent.removeLayer(layerId);\n\n if (layerId === this.id) {\n if (this.group.caching) {\n Object.keys(this.data).forEach(function (dataId) {\n var ownStoreObject = _this.data[dataId];\n var parentStoreObject = parent[\"lookup\"](dataId);\n\n if (!parentStoreObject) {\n _this.delete(dataId);\n } else if (!ownStoreObject) {\n _this.group.dirty(dataId, \"__exists\");\n\n Object.keys(parentStoreObject).forEach(function (storeFieldName) {\n _this.group.dirty(dataId, storeFieldName);\n });\n } else if (ownStoreObject !== parentStoreObject) {\n Object.keys(ownStoreObject).forEach(function (storeFieldName) {\n if (!equal(ownStoreObject[storeFieldName], parentStoreObject[storeFieldName])) {\n _this.group.dirty(dataId, storeFieldName);\n }\n });\n }\n });\n }\n\n return parent;\n }\n\n if (parent === this.parent) return this;\n return parent.addLayer(this.id, this.replay);\n };\n\n Layer.prototype.toObject = function () {\n return __assign(__assign({}, this.parent.toObject()), this.data);\n };\n\n Layer.prototype.findChildRefIds = function (dataId) {\n var fromParent = this.parent.findChildRefIds(dataId);\n return hasOwn.call(this.data, dataId) ? __assign(__assign({}, fromParent), _super.prototype.findChildRefIds.call(this, dataId)) : fromParent;\n };\n\n Layer.prototype.getStorage = function () {\n var p = this.parent;\n\n while (p.parent) p = p.parent;\n\n return p.getStorage.apply(p, arguments);\n };\n\n return Layer;\n}(EntityStore);\n\nvar Stump = function (_super) {\n __extends(Stump, _super);\n\n function Stump(root) {\n return _super.call(this, \"EntityStore.Stump\", root, function () {}, new CacheGroup(root.group.caching, root.group)) || this;\n }\n\n Stump.prototype.removeLayer = function () {\n return this;\n };\n\n Stump.prototype.merge = function () {\n return this.parent.merge.apply(this.parent, arguments);\n };\n\n return Stump;\n}(Layer);\n\nfunction storeObjectReconciler(existingObject, incomingObject, property) {\n var existingValue = existingObject[property];\n var incomingValue = incomingObject[property];\n return equal(existingValue, incomingValue) ? existingValue : incomingValue;\n}\n\nexport function supportsResultCaching(store) {\n return !!(store instanceof EntityStore && store.group.caching);\n} //# sourceMappingURL=entityStore.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/2a8d572c405be3312bbdfdbe8f4ac18b.json b/.angular/cache/14.2.11/babel-webpack/2a8d572c405be3312bbdfdbe8f4ac18b.json new file mode 100644 index 0000000000..de614d6631 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/2a8d572c405be3312bbdfdbe8f4ac18b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { AsyncSubject } from '../AsyncSubject';\nimport { ConnectableObservable } from '../observable/ConnectableObservable';\nexport function publishLast() {\n return source => {\n const subject = new AsyncSubject();\n return new ConnectableObservable(source, () => subject);\n };\n} //# sourceMappingURL=publishLast.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/2aaef534c44de290118dd364933f3a69.json b/.angular/cache/14.2.11/babel-webpack/2aaef534c44de290118dd364933f3a69.json new file mode 100644 index 0000000000..09bff487b5 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/2aaef534c44de290118dd364933f3a69.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { naturalCompare } from '../jsutils/naturalCompare.mjs';\nimport { Kind } from '../language/kinds.mjs';\n/**\n * Sort ValueNode.\n *\n * This function returns a sorted copy of the given ValueNode.\n *\n * @internal\n */\n\nexport function sortValueNode(valueNode) {\n switch (valueNode.kind) {\n case Kind.OBJECT:\n return { ...valueNode,\n fields: sortFields(valueNode.fields)\n };\n\n case Kind.LIST:\n return { ...valueNode,\n values: valueNode.values.map(sortValueNode)\n };\n\n case Kind.INT:\n case Kind.FLOAT:\n case Kind.STRING:\n case Kind.BOOLEAN:\n case Kind.NULL:\n case Kind.ENUM:\n case Kind.VARIABLE:\n return valueNode;\n }\n}\n\nfunction sortFields(fields) {\n return fields.map(fieldNode => ({ ...fieldNode,\n value: sortValueNode(fieldNode.value)\n })).sort((fieldA, fieldB) => naturalCompare(fieldA.name.value, fieldB.name.value));\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/2b4bafa4eacf799e24b9d01e88bdfe05.json b/.angular/cache/14.2.11/babel-webpack/2b4bafa4eacf799e24b9d01e88bdfe05.json new file mode 100644 index 0000000000..ddceb86ee0 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/2b4bafa4eacf799e24b9d01e88bdfe05.json @@ -0,0 +1 @@ +{"ast":null,"code":"export var selectURI = function (operation, fallbackURI) {\n var context = operation.getContext();\n var contextURI = context.uri;\n\n if (contextURI) {\n return contextURI;\n } else if (typeof fallbackURI === 'function') {\n return fallbackURI(operation);\n } else {\n return fallbackURI || '/graphql';\n }\n}; //# sourceMappingURL=selectURI.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/2b551e74cceec83943ab3d700bfdd8f8.json b/.angular/cache/14.2.11/babel-webpack/2b551e74cceec83943ab3d700bfdd8f8.json new file mode 100644 index 0000000000..816d5358ff --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/2b551e74cceec83943ab3d700bfdd8f8.json @@ -0,0 +1 @@ +{"ast":null,"code":"/**\n * Copyright IBM Corp. 2016, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Code generated by @carbon/icon-build-helpers. DO NOT EDIT.\n */\nvar _16 = {\n \"elem\": \"svg\",\n \"attrs\": {\n \"xmlns\": \"http://www.w3.org/2000/svg\",\n \"viewBox\": \"0 0 32 32\",\n \"fill\": \"currentColor\",\n \"width\": 16,\n \"height\": 16\n },\n \"content\": [{\n \"elem\": \"path\",\n \"attrs\": {\n \"d\": \"M8 15H24V17H8z\"\n }\n }],\n \"name\": \"subtract\",\n \"size\": 16\n};\nexport default _16;","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/2d3b40e596b79da3b325d1f3c5a04b29.json b/.angular/cache/14.2.11/babel-webpack/2d3b40e596b79da3b325d1f3c5a04b29.json new file mode 100644 index 0000000000..1ee8454af7 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/2d3b40e596b79da3b325d1f3c5a04b29.json @@ -0,0 +1 @@ +{"ast":null,"code":"export default function asyncIterator(source) {\n var _a;\n\n var iterator = source[Symbol.asyncIterator]();\n return _a = {\n next: function () {\n return iterator.next();\n }\n }, _a[Symbol.asyncIterator] = function () {\n return this;\n }, _a;\n} //# sourceMappingURL=async.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/2d970a4fe8aada9b77048abfe30917b8.json b/.angular/cache/14.2.11/babel-webpack/2d970a4fe8aada9b77048abfe30917b8.json new file mode 100644 index 0000000000..23d8be8724 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/2d970a4fe8aada9b77048abfe30917b8.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { invariant, InvariantError } from \"ts-invariant\";\nimport DEV from \"./DEV.js\";\nexport { DEV };\nexport function checkDEV() {\n __DEV__ ? invariant(\"boolean\" === typeof DEV, DEV) : invariant(\"boolean\" === typeof DEV, 39);\n}\nimport { removeTemporaryGlobals } from \"./fix-graphql.js\";\nremoveTemporaryGlobals();\nexport { maybe } from \"./maybe.js\";\nexport { default as global } from \"./global.js\";\nexport { invariant, InvariantError };\ncheckDEV(); //# sourceMappingURL=index.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/2da56cd8e47c4ca23626484f4917ede1.json b/.angular/cache/14.2.11/babel-webpack/2da56cd8e47c4ca23626484f4917ede1.json new file mode 100644 index 0000000000..9b3f534a22 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/2da56cd8e47c4ca23626484f4917ede1.json @@ -0,0 +1 @@ +{"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\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} //# sourceMappingURL=distinct.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/2dd8aa2962bdc8ac1ec8abf8e6a6649b.json b/.angular/cache/14.2.11/babel-webpack/2dd8aa2962bdc8ac1ec8abf8e6a6649b.json new file mode 100644 index 0000000000..6916a88a96 --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/2dd8aa2962bdc8ac1ec8abf8e6a6649b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { Observable } from \"./Observable.js\";\nexport function asyncMap(observable, mapFn, catchFn) {\n return new Observable(function (observer) {\n var next = observer.next,\n error = observer.error,\n complete = observer.complete;\n var activeCallbackCount = 0;\n var completed = false;\n var promiseQueue = {\n then: function (callback) {\n return new Promise(function (resolve) {\n return resolve(callback());\n });\n }\n };\n\n function makeCallback(examiner, delegate) {\n if (examiner) {\n return function (arg) {\n ++activeCallbackCount;\n\n var both = function () {\n return examiner(arg);\n };\n\n promiseQueue = promiseQueue.then(both, both).then(function (result) {\n --activeCallbackCount;\n next && next.call(observer, result);\n\n if (completed) {\n handler.complete();\n }\n }, function (error) {\n --activeCallbackCount;\n throw error;\n }).catch(function (caught) {\n error && error.call(observer, caught);\n });\n };\n } else {\n return function (arg) {\n return delegate && delegate.call(observer, arg);\n };\n }\n }\n\n var handler = {\n next: makeCallback(mapFn, next),\n error: makeCallback(catchFn, error),\n complete: function () {\n completed = true;\n\n if (!activeCallbackCount) {\n complete && complete.call(observer);\n }\n }\n };\n var sub = observable.subscribe(handler);\n return function () {\n return sub.unsubscribe();\n };\n });\n} //# sourceMappingURL=asyncMap.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/2e318b01f004c6bf30bb063c6ac9f824.json b/.angular/cache/14.2.11/babel-webpack/2e318b01f004c6bf30bb063c6ac9f824.json new file mode 100644 index 0000000000..4d71655d5c --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/2e318b01f004c6bf30bb063c6ac9f824.json @@ -0,0 +1 @@ +{"ast":null,"code":"import { __extends } from \"tslib\";\nimport { InvariantError, invariant } from \"../../utilities/globals/index.js\";\nimport { Observable } from \"../../utilities/index.js\";\nimport { validateOperation, createOperation, transformOperation } from \"../utils/index.js\";\n\nfunction passthrough(op, forward) {\n return forward ? forward(op) : Observable.of();\n}\n\nfunction toLink(handler) {\n return typeof handler === 'function' ? new ApolloLink(handler) : handler;\n}\n\nfunction isTerminating(link) {\n return link.request.length <= 1;\n}\n\nvar LinkError = function (_super) {\n __extends(LinkError, _super);\n\n function LinkError(message, link) {\n var _this = _super.call(this, message) || this;\n\n _this.link = link;\n return _this;\n }\n\n return LinkError;\n}(Error);\n\nvar ApolloLink = function () {\n function ApolloLink(request) {\n if (request) this.request = request;\n }\n\n ApolloLink.empty = function () {\n return new ApolloLink(function () {\n return Observable.of();\n });\n };\n\n ApolloLink.from = function (links) {\n if (links.length === 0) return ApolloLink.empty();\n return links.map(toLink).reduce(function (x, y) {\n return x.concat(y);\n });\n };\n\n ApolloLink.split = function (test, left, right) {\n var leftLink = toLink(left);\n var rightLink = toLink(right || new ApolloLink(passthrough));\n\n if (isTerminating(leftLink) && isTerminating(rightLink)) {\n return new ApolloLink(function (operation) {\n return test(operation) ? leftLink.request(operation) || Observable.of() : rightLink.request(operation) || Observable.of();\n });\n } else {\n return new ApolloLink(function (operation, forward) {\n return test(operation) ? leftLink.request(operation, forward) || Observable.of() : rightLink.request(operation, forward) || Observable.of();\n });\n }\n };\n\n ApolloLink.execute = function (link, operation) {\n return link.request(createOperation(operation.context, transformOperation(validateOperation(operation)))) || Observable.of();\n };\n\n ApolloLink.concat = function (first, second) {\n var firstLink = toLink(first);\n\n if (isTerminating(firstLink)) {\n __DEV__ && invariant.warn(new LinkError(\"You are calling concat on a terminating link, which will have no effect\", firstLink));\n return firstLink;\n }\n\n var nextLink = toLink(second);\n\n if (isTerminating(nextLink)) {\n return new ApolloLink(function (operation) {\n return firstLink.request(operation, function (op) {\n return nextLink.request(op) || Observable.of();\n }) || Observable.of();\n });\n } else {\n return new ApolloLink(function (operation, forward) {\n return firstLink.request(operation, function (op) {\n return nextLink.request(op, forward) || Observable.of();\n }) || Observable.of();\n });\n }\n };\n\n ApolloLink.prototype.split = function (test, left, right) {\n return this.concat(ApolloLink.split(test, left, right || new ApolloLink(passthrough)));\n };\n\n ApolloLink.prototype.concat = function (next) {\n return ApolloLink.concat(this, next);\n };\n\n ApolloLink.prototype.request = function (operation, forward) {\n throw __DEV__ ? new InvariantError('request is not implemented') : new InvariantError(22);\n };\n\n ApolloLink.prototype.onError = function (error, observer) {\n if (observer && observer.error) {\n observer.error(error);\n return false;\n }\n\n throw error;\n };\n\n ApolloLink.prototype.setOnError = function (fn) {\n this.onError = fn;\n return this;\n };\n\n return ApolloLink;\n}();\n\nexport { ApolloLink }; //# sourceMappingURL=ApolloLink.js.map","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/.angular/cache/14.2.11/babel-webpack/2f2392ed832dc5792953b73401dcd248.json b/.angular/cache/14.2.11/babel-webpack/2f2392ed832dc5792953b73401dcd248.json new file mode 100644 index 0000000000..5aa548781a --- /dev/null +++ b/.angular/cache/14.2.11/babel-webpack/2f2392ed832dc5792953b73401dcd248.json @@ -0,0 +1 @@ +{"ast":null,"code":"import getCurrentScriptSource from \"./getCurrentScriptSource.js\";\n/**\n * @param {string} resourceQuery\n * @returns {{ [key: string]: string | boolean }}\n */\n\nfunction parseURL(resourceQuery) {\n /** @type {{ [key: string]: string }} */\n var options = {};\n\n if (typeof resourceQuery === \"string\" && resourceQuery !== \"\") {\n var searchParams = resourceQuery.slice(1).split(\"&\");\n\n for (var i = 0; i < searchParams.length; i++) {\n var pair = searchParams[i].split(\"=\");\n options[pair[0]] = decodeURIComponent(pair[1]);\n }\n } else {\n // Else, get the url from the